Difference between revisions of "Electronics Workstation"
|Line 37:||Line 37:|
==DC Power Supply==
==DC Power Supply==
Revision as of 18:33, 14 January 2022
Make: BK Precision, Teletronix
Model: 2831 4 1/2 Digital Multimeter, 4017A Function Generator, TDS 2024 Oscilloscope, 1651A DC Power Supply
Ace: Needed ().
DC Power Supply
The most basic function of a DC power supply is to provide a constant voltage to a device. “DC” stands for direct current; “AC” stands for alternating current. A 9V battery is an example of a DC voltage, and it will hold a constant 9 volts (at least until the battery starts to die). A 120V wall outlet is an example of an AC voltage, and it will fluctuate up and down from 120V to -120V and back to 120V over a set period of time. A DC power supply converts the alternating current from a wall outlet to a steady direct current through a system of transformers and filtering circuitry. We have a couple different models of DC power supplies in the Maker Hub—all of which will be able to supply 12 VDC for this electronics workbench certification.
Setting Up a DC Power Supply
Do not start by simply turning the power supply on. You don’t know how the last person who used the power supply left the settings. You could damage the circuitry of your device if you provide a voltage that is above the voltage rating of any of your components. It’s best to start with the power supply off and all the knobs turned to the minimum position. Only turn the power supply on once you’ve selected your output(s) and connected wire leads to your device.
DC power supplies typically have multiple outputs. Based on the needs of your device, you will need to choose an appropriate output that supplies enough voltage and current. It is ok if the output is rated for a higher voltage/current than your device needs, but you will run into problems if the output voltage/current is less than the demands of your device. Once you have selected your output, connect wire leads to your breadboard or device using the banana plugs or alligator clips. You can also connect 22 AWG wire directly to the terminal if you unscrew the banana plug terminal, insert a section of bare wire, and screw the terminal back down to create a solid connection. However, use banana plugs or alligator clips first to avoid wasting wire. If you are using additional instruments on the workbench such as the oscilloscope, signal generator, multimeter, or another power supply, you should create a common ground between all instruments to ensure that you get accurate measurements, don’t have weird floating ground points, and don’t have other strange circuit operation. After you’ve checked all of your connections, it would be a good time to discuss a few safety notes before turning everything on.
It’s good practice to minimize the amount of bare, exposed wire in your circuit because this reduces the risk of shock or short circuits. Most projects that would use the DC power supplies would be considered low voltage, but that does not sanction careless “rat’s nest” wiring with exposed live wires. Design neat circuits that maintain a proper separation of line voltages and neutral/ground connections to reduce the chance of free-moving wires touching and creating a short circuit. A short circuit occurs when an electrical circuit of significantly lower resistance is completed (unintentionally); this is usually a result of accidental contact between electrical components or an internal component failure. Short circuits are dangerous high-current events and can cause fires, component damage, blown fuses, and tripped circuit breakers. We would like to avoid that. If you are going to make a physical adjustment to a circuit, unplug or turn off the power to the circuit first. Certain electrical components (such as capacitors) can retain a voltage/charge even after the power to a circuit has been cut. You can test voltages with a multimeter to ensure that the circuit is discharged, or ask the Maker Hub staff for assistance if you are unsure. It is also good practice to work on circuitry with one hand. Using two hands increases the risk of completing a circuit across your heart from one arm to the other, which can be fatal. It only takes about 100mA across the heart to kill a human. However, this risk is extremely small when working with low voltages because low voltages are unable to drive that much current through a human body. Seek guidance from the Maker Hub staff before working with voltages above 50 V (AC or DC).
Using a DC Power Supply
With all voltage and current knobs set to minimum, turn on the power supply. If you need a very specific voltage, you may also connect the digital multimeter to the output of the DC power supply to give you a more accurate reading of the voltage. If your current knob is at the minimum, you may notice that nothing happens when you increase the voltage knob and a red LED turns on. This is because the current knob on a DC power supply operates as a current limiting function. At the minimum, the current knob will allow zero amps to flow, which means that the DC power supply will not provide any voltage. The purpose of the current limiter is to protect your circuit from damage. For example, if you know that your 100 Ω resistor is rated at 0.25 W, you might set your current limiter such that not more than 50 mA will flow through that particular resistor to avoid burning it out (letting out the magic smoke). If you’ve done your calculations, you may not need to be as cautious with the current limiter, but it’s always a good idea to start low with the current limiter every time you are powering an untested circuit. Rarely will an insufficient current or voltage ever cause damage to analog or digital circuits. Granted, the circuit probably won’t function as expected with insufficient current/voltage, but it should be fine to slowly increase the current/voltage to the desired amount when you are first setting your DC power.
Set the current limiter above it’s minimum, and slowly increase the voltage to the desired amount. After you have set your voltage and current correctly, you don’t need to change the settings at this point. Simply turn on/off the DC power supply as needed with the power switch or the voltage knob. Do not disconnect the leads from your circuit while the power supply is still on; free-floating leads are a short-circuit risk. Disconnecting live wires is a bad habit that becomes extremely dangerous if you work with higher voltages due to arcing hazards.
In case you were curious, the DC power supply’s primary love language is acts of service.
A signal generator creates periodic waveforms; it allows the user to manipulate an electrical signal’s amplitude, duty cycle, offset, and frequency over a wide range of values. This signal generator can produce sine, square, triangle, ramp, and digital pulse waveforms. The manual for this signal generator is fairly well-written, so I will only highlight a few excerpts here. I would encourage you to read the manual for complete operating instructions. Waveform picture
There are eight range switches that select output frequencies from <1 Hz to 10 MHz. The coarse frequency knob adjusts the frequency within a range from 10% of the maximum to the maximum. For example, if the 100 kHz range is selected, the output frequency can be adjusted from 10 kHz to 100 kHz. The duty cycle, CMOS level, DC offset, and -20 dB functions are only active if their corresponding switches are pressed in. The duty cycle knob alters the symmetry of the waveform through skewing or changing the ratio of “on” time versus “off” time. The DC offset changes the mean amplitude of the waveform. Reference the manual for information on more advanced capabilities such as the sweep functions, TTL/CMOS, and voltage-controlled generation. The best way to “see” the output of a function generator is to use an oscilloscope. An oscilloscope will show you a graphical representation of the signal, and allow you to understand the effects of the waveform shape, frequency range switches, coarse/fine adjustment, duty cycle, DC offset, etc. A signal generator is designed as a precision device that can produce very specific waveforms; it is not designed as a powering device capable of generating large voltages or currents from its output. This is one of the reasons why a signal generator is commonly used alongside a DC power supply. A common benchtop DC power supply excels at providing a precise DC voltage at a moderate current (usually less than 10 A), but it cannot produce waveforms on its own. If you want to produce a waveform with moderate voltage/current, one great method is to design an amplifier circuit. An amplifier circuit commonly uses a transistor (or series of transistors) to turn small low-power signals into larger moderate-power signals. The signal generator provides the small signal to the input of the transistor, which modulates the DC voltage at the output of the transistor to create a larger moderate-power signal. This is the type of circuit you will be testing to complete this certification.
Next to the output terminal on the signal generator, it says “50 Ω.” This means that the output impedance of the signal generator is 50 Ω, which is considered a low output impedance. Impedance is similar in concept to resistance, but it includes additional complex elements that describe frequency-dependent resistance in AC circuits. A low impedance output offers a couple of options: you can design the input of your circuit for impedance matching (maximum power transfer to the load) or impedance bridging (maximum voltage signal to the load). In this case, impedance matching would mean that the input impedance of your circuit is also at 50 Ω. For impedance bridging, the input impedance of your circuit would be much much greater than 50 Ω (on the order of kΩ or MΩ). The circuit you’ll be testing in this certification is designed for impedance bridging with the signal generator. Why mention all this business about impedance? This will help you know what to expect from the signal generator and how to design circuits better. In the manual, it states, “Remember that the output signal swing of the generator is limited to ±10 volts open circuited or ±5 volts into 50 Ω, and applies to the combined peak-to-peak signal and DC offset. Clipping occurs slightly above these levels.” This means that if the signal generator is impedance bridged with your circuit, don’t expect to generate signals outside of a ±10 V range. If the signal generator is impedance matched with your circuit, don’t expect to generate signals outside of a ±5 V range. This includes the DC offset in both cases. If your input impedance falls anywhere between 50 Ω and an open circuit (∞ Ω), the maximum signal you can get from the signal generator will fall between ±5 V and ±10 V, respectively. Unless you really know what you are doing, do not use the signal generator on circuits that have an input impedance of less than 50 Ω. Similarly, do not choose an injection point in your circuit for the signal generator that has a DC voltage higher than what can be achieved with the DC offset knob. Only choose injection points where the DC voltage can be matched with the DC offset knob; otherwise, this can cause internal damage to the signal generator.
Using a Function Generator
You can test the function generator by connecting it directly to the leads of an oscilloscope. Just remember that the function generator will be impedance bridged with the oscilloscope, so you may observe a slight reduction in your signal’s amplitude after connecting the function generator to your circuit. After checking your circuit, connect the leads from the function generator to the circuit before turning on the power. On our particular model of function generator, the output is always on, so keep that in mind as you use it.
Don’t be afraid to spend time with your function generator; its primary love language is definitely quality time.
An oscilloscope is an instrument that graphically displays electrical signals and shows how those signals change over time. These electrical signals are measured with a probe that reads voltages (not current). Oscilloscopes allow you to measure things like frequency, amplitude, averages, peaks, and rise/fall times.
Using an Oscilloscope
The first lesson of oscilloscopes is: do not press the AUTOSET button. It is actually a mislabeled self-destruct button. This reprehensible act invokes several other abominable events… interdimensional denizens tear a gash in reality, evil spirits are summoned, and you’ll have bad luck for seven years. Few have survived long enough to pass on this wisdom. Consider yourself warned.
Seriously though, you won’t learn how to properly set triggers, display signals, or troubleshoot problems if you rely heavily on the AUTOSET button. Though the oscilloscope may look complicated, it’s not hard to understand once you get to know it. For the purposes of this certification, the AUTOSET button is off-limits, so you can save yourself the seven years’ bad luck.
One of the first things we need to understand about the oscilloscope is what it’s actually showing on the display screen. The display is set up like a standard Cartesian coordinate system. (you know, a graph...)
The units of the graph tell us a lot about what we are looking at. The y-axis is voltage, and the x-axis is time. So, an oscilloscope will show—in real time—how a voltage signal is changing over time. One key skill we need to learn when using the oscilloscope is to manipulate the scales of the x-axis and y-axis so that you can see the voltage signal clearly and meaningfully on the oscilloscope’s display. There are 4 BNC jacks are on the bottom row of the oscilloscope’s control panel. Each one corresponds to channels 1, 2, 3, and 4. This is where you will plug in the probes that will measure various voltage signals in your circuit. Let’s discuss the knobs and buttons under the VERTICAL section of the control panel. For CH 1, the POSITION knob will move the signal on the display screen of the oscilloscope up and down the y-axis. This is handy when there is a DC voltage offset applied to the AC signal. The VOLTS/DIVISION knob will stretch or shrink the y-axis so that you can see the waveform’s amplitude properly. If the peaks or troughs of the waveform are hitting the top and/or bottom of the display screen, use the VOLTS/DIVISION knob to shrink the y-axis so that the full waveform can be seen. The CH 1 MENU button allows you to set up the probe properties and measurement displays for channel 1. The MATH MENU button allows you to perform operations between channels such as subtracting CH 2 from CH 1.
The HORIZONTAL section of the control panel let’s you manipulate the x-axis of the display screen. The POSITION knob acts as time offset. In most cases, this can be set to zero, but you’ll notice that you can shift the waveform left and right by turning this knob. The SECONDS/DIVISION knob will stretch or shrink the x-axis so that you can see the waveform’s frequency/period properly. If you’re ever wondering why your 100kHz sine wave looks like a solid fuzzy block on the display screen, you need to zoom way in with the SECONDS/DIVISION knob to see the individual peaks and troughs. You might do some basic math to know where you need to set the knob (sounds crazy, right???). 100kHz is the frequency… that means the period of the waveform is 10uS (microseconds). If I set the SECONDS/DIVISION knob to 10uS per division, then I should see roughly 5 peaks and 5 troughs of the waveform on the display screen because there are 5 dashed grid lines (4 plus the y-axis) across the screen that mark the divisions.
The trigger on an oscilloscope is an important part of properly displaying a waveform. The trigger determines when the oscilloscope starts to acquire data. When a trigger is set up properly, the oscilloscope converts unstable displays or blank screens into meaningful waveforms. Of the types of triggers available on this oscilloscope, most waveforms can be captured using the edge mode. In the TRIGGER section on the control panel of the oscilloscope, you’ll see a LEVEL knob. When you turn the LEVEL knob, you should see a little pointer moving up and down the side of the display screen (in the direction of the y-axis). Generally, the trigger level can be set to approximately the middle of the waveform for good results.
For this certification, select DC coupling from the 5 vertical buttons next to the display screen. The DC coupling option will show time-varying signals on a DC bias. The AC coupling mode will ignore any DC biases. Set both the probe and the channel to 10X attenuation.
Finally, the MEASURE and CURSOR buttons are useful for viewing the peak-to-peak voltage, period/frequency, rise/fall times, and several other measurements. The CURSOR button is used to setup the two cursors which can be used to measure and display two distinct points on the horizontal or vertical axis. The location of the cursors can be changed using the knob in the upper-left most corner of the control panel. The cursors can display useful time and amplitude values. The 5 vertical buttons can be used to alter settings for both the MEASURE and CURSOR buttons.
Practice sweet-talking your benchtop equipment; the oscilloscope’s primary love language is most certainly words of affirmation.