Week 11

Diodes

Diodes are the first nonlinear part in the course. You model each diode as a 0.7 V drop (2 V for an LED, VZ for a zener in breakdown) when it conducts and an open when it doesn't, guess the states, solve the linear circuit, and check the guess. The same models then let you draw output waveforms when the input is AC, which leads to rectifiers, filter capacitors and power supplies. The lab builds rectifiers, zener clippers, LED circuits, a transistor switch and a transistor amplifier, and looks at the diodes and transistors inside the servo.

Objectives

  • Replace a diode with the constant-voltage-drop model: a 0.7 V source (2 V for an LED) when conducting and an open circuit when not, and for a zener a VZ source when in reverse breakdown.
  • Analyze a DC circuit with one or more diodes by assuming each diode's state, solving, and checking that conducting diodes carry forward current and nonconducting diodes have less than 0.7 V (and more than −VZ) across them; redo the analysis when a check fails.
  • Choose the series resistor that sets an LED, or a string of LEDs, to a given current such as 10 to 20 mA.
  • Find the currents and power in a zener shunt regulator and the minimum load resistance or minimum supply voltage that keeps it in regulation.
  • Draw the output waveform of a diode, zener or LED circuit driven by a triangle or sawtooth input, labeling the times where diodes turn on and off and the voltage levels.
  • Explain half-wave, center-tap full-wave and bridge rectifiers and how a filter capacitor reduces ripple, and measure ripple on a half-wave rectifier.
  • Identify what a diode does in limiter and input-protection, crowbar, flyback, battery-isolator, battery-backup, AM-detector and diode-logic circuits.
  • Build an NPN transistor switch that lights an LED and a common-emitter amplifier, and measure the amplifier's voltage gain with and without an emitter bypass capacitor.

Reading

4.2Diodes: how a pn junction works, the water analogy, kinds of diodes, practical ratings, and many applications (rectifiers, clamps, flyback diodes, diode logic, battery backup), then zener diodes and regulators, varactors and PIN diodes. Focus on 4.2.1, 4.2.5 and 4.2.6; the rest is reference.

Lectures

1
DC 1Open original recording
10:51
2
DC 2Open original recording
14:27
3
DC 3Open original recording
15:43
4
DC 4Open original recording
19:11
5
DC 5Open original recording
9:25
6
PhysicsOpen original recording
9:34
7
AC 1Open original recording
5:45
8
AC 2Open original recording
15:31
9
AC 3Open original recording
8:45
10
MiscOpen original recording
9:30
1:58:42

Notes

From the notes pack:

  1. Diodes Notes: the diode as a check valve, anode and cathode, the band marking, rectifier versus signal diodes
  2. Diodes as nonlinear parts and the constant-voltage-drop model (0.7 V for silicon, 2 V for LEDs); the guess, analyze, check, repeat procedure and the 2ⁿ possible states for n diodes
  3. The actual diode curve: forward drop, reverse leakage and reverse breakdown; zener diodes
  4. Basic diode DC circuit analysis, Ex. 1 to Ex. 6: single diodes with 4 V and 12 V sources, a diode across R2 that does or doesn't conduct as R2 changes, and a three-diode circuit
  5. LEDs: about 2 V drop, 10 to 20 mA for good light, choosing the series resistor (a 12 V car example), LEDs in series and why not to use six on 12 V, an LED version of the earlier DC example
  6. Zener diodes: symbol, analysis with three states, shunt regulator examples with VS = 10 V, R1 = 250 Ω, VZ = 4.5 V; dropping out of regulation as RL or VS shrinks, minimum RL and minimum VS
  7. Rectifier circuits and power supplies: half-wave rectifier, transformer plus filter capacitor and ripple, center-tap full-wave rectifier, ± supplies, bridge rectifier, three-terminal regulator
  8. Diode AC circuit analysis procedure and triangular input waveforms; Ex. 1 series diode and resistor, Ex. 2 diode across R1 of a 20 Ω / 30 Ω divider
  9. Other useful diode circuits: input protection and limiters, crowbar protection with a fuse and 16 V zener, AM detector, battery isolator, battery backup, diode OR and AND gates, flyback diode
  10. Diode Physics, the simple version: silicon crystal, electrons and holes, p-type and n-type doping, pn junction, depletion region, forward and reverse bias
  11. Exam-type diode circuit examples: assumed diode states, compute the requested values, and check each assumption with a value and range; a two-diode circuit and a three-diode circuit with a 2 V source and 30 mA current source
  12. Waveform examples with a ±10 V sawtooth input: a 4 V zener in series with 10 Ω and 20 Ω, and an LED shunt with 60 Ω and 40 Ω

Homework

DO1: Diodes in DC circuits

  1. 1. 4 V source, R = 330 Ω and a forward-biased diode in series: find VR, VD and ID
  2. 2. The same circuit with the diode reversed: find VR, VD and ID
  3. 3. A diode and R = 510 Ω in series between a 12 V source and an opposing 4 V source: find VD, VR and I
  4. 4. Problem 3 with a second diode D2 in the return path pointing the other way: find VD1, VD2, VR and I
  5. 5. A 10 V source through D1 and an 8 V source through a reversed D2 meet at a node with R = 220 Ω to ground: find VD1, VD2, I1 and I2 by trying diode states
  6. 6. From a 12 V rail, D1 feeds node A and a reversed D2 connects to node B; R1 = 150 Ω joins A and B, R2 = 820 Ω and R3 = 1 kΩ go from A and B to ground: find IT, VD1, VD2, ID2, IR1, IR2 and IR3
  7. 7. Problem 6 with D2 forward-biased: find the same quantities
  8. 8. 6 V source, R and an LED at 15 mA: find VR and R
  9. 9. 14 V source, R and two LEDs in series at 20 mA: find R
  10. 10. 12 V source through R1 (30 mA) into two branches: R2 = 300 Ω plus an LED, and R3 plus an LED carrying 20 mA: find R1 and R3
  11. 11. 18 V source, R and a 12 V zener at 50 mA: find VR, R, PR and PD
  12. 12. Zener shunt regulator: 18 V, R = 120 Ω, 12 V zener in parallel with RL = 300 Ω: find IR, IL, ID, PR and PD
  13. 13. Problem 12 with RL = 200 Ω; if ID comes out negative, set it to 0 and recalculate everything
  14. 14. 4 V source driving D1 in parallel with R1 = 50 Ω, in series with D2 in parallel with R2 = 150 Ω, in series with R3 = 400 Ω: assuming D1 conducts and D2 doesn't, find VR1, IR1, IR3, ID1 and VR2, then check each assumption
  15. 15. A 5 V network with an LED D1, diodes D2 and D3, and resistors R1 = 54 Ω, R2 = 100 Ω, R3 = 30 Ω, R4 = 20 Ω: assuming D1 and D2 conduct and D3 doesn't, find IR2, ID2, ID1 and VD3, check each assumption, and say whether the real IR2 is less than, equal to, or more than the calculated one

DO2: Diodes with AC waveforms

  1. 1. A series diode feeds a resistor; the input is a ±2 V triangle wave with an 8 ms period: draw vo across the resistor, labeling times and voltages
  2. 2. R1 = 10 Ω, a series diode, and R2 = 20 Ω to ground, driven by a sawtooth that ramps 0 to 7 V in 10 ms, drops to −7 V and ramps up again: draw the voltage across R2
  3. 3. R1 = 25 Ω feeding a shunt branch of a 3 V zener in series with R2 = 15 Ω, driven by a waveform that ramps 0 to +8 V over 16 ms, drops to 0, ramps to −8 V over the next 16 ms and repeats: draw vo across the branch using the given zener curve
  4. 4. R1 = 40 Ω feeding two shunt branches, an LED to ground and a reversed diode in series with R2 = 23 Ω, driven by a ±7 V sawtooth: draw vo
  5. 5. A 2 V DC source and a sawtooth source (0 to 4 V in 0.4 ms, then from −4 V upward) each feed a diode into a shared 100 Ω resistor: draw vo

Lab: Diodes and transistors (Lab 10)

Build and observe: a half-wave rectifier with and without a filter capacitor, zener circuits, LED circuits, an NPN transistor switch and a common-emitter amplifier. Then find the diodes, LEDs and power transistors on the servo board and work out what they do. The notebook is a record of observations and quick sketches.

Before the lab

  • Keep the servo schematic (Servo_Schematic_F12.pdf) at hand; this lab and the next one use it
  • Review the constant-voltage-drop diode model and the LED current calculation from the notes

Equipment

  • Function generator
  • Oscilloscope (two channels, DC coupling)
  • Triple-output DC power supply (12 V, and ±6 V for the servo)
  • Digital multimeter
  • Servo (from the stockroom)
  • Breadboard and jumper wires

Parts

156 Ω resistorgreen blue black, new this lab
1510 Ω resistorgreen brown brown, new this lab
1100 Ω resistorbrown black brown
11 kΩ resistorbrown black red
122 kΩ resistorred red orange
1100 kΩ resistorbrown black yellow
10.22 µF capacitormarked 224
247 to 220 µF electrolytic capacitorkit has two 47 µF; the second is only for the ripple comparison; use one wherever the schematic says 100 µF
11N4002 or 1N4004 diodeblack plastic power diode, new this lab
1Red LEDnew this lab
1Green LEDnew this lab
1Yellow LEDnew this lab
11N4734 5.6 V zener diodegray; a 1N4730 also works; new this lab
12N3904 NPN transistornew this lab

Procedure

  1. Experiment 1: Half-wave rectifier
    • Build: function generator output to the anode of the 1N4002, cathode to a node, RL = 1 kΩ from that node to ground. CH1 on the generator output (vS), CH2 on the node (vL). Line up the bevel on the thick leads with the breadboard holes, or wiggle them in.
    • Set both scope inputs to DC coupling. Set the generator to a sine wave at about 60 or 100 Hz with the amplitude set to 4 Vpp (gives 8 Vpp unloaded).
    • Sketch vS and vL and note the half-wave rectification.
  2. Experiment 1: Filter capacitor
    • Put a 47 to 220 µF electrolytic capacitor in parallel with RL, + lead on the diode side (backwards will blow it up).
    • Sketch the filtered vL and measure the peak-to-peak ripple.
    • Add a second capacitor in parallel with the first and comment on how the ripple changes.
    • Notice that vS is distorted while the capacitor charges: the large charging current drops voltage across the generator's 50 Ω output resistance.
    • Remove the capacitors, change the input to a triangle wave, and observe.
  3. Experiment 2: Zener diode in series
    • Set the generator amplitude to 8 Vpp (gives 16 Vpp).
    • Replace the 1N4002 with the 1N4734 zener in the same position, still in series with RL = 1 kΩ.
    • Sketch vS and vL. The zener conducts forward like a normal diode, and also conducts in reverse once the input goes more than 5.6 V negative.
  4. Experiment 2: Zener clipper
    • Build: generator output through 100 Ω to a node, zener from the node to ground with its cathode on the node.
    • Sketch vS and vD. The output is clipped at about +5.6 V and −0.7 V.
    • Look at (don't build) the shunt regulator in the handout: diode rectifier, filter capacitor, 220 Ω, then the zener in parallel with RL = 1 kΩ, which holds about 5.6 V as long as reverse current always flows in the zener.
    • Turn off the function generator.
  5. Experiment 2: LEDs
    • Build: 12 V from the DC supply through 1 kΩ to the LED anode, LED cathode to ground (the flat side and shorter lead are the cathode).
    • Calculate the LED current assuming a 2 V drop. Never connect an LED straight across a voltage source.
    • Measure the actual LED and resistor voltages and compute the actual current; compare.
    • Swap in the other two colors and measure each LED's voltage drop.
  6. Experiment 3: Transistor switch
    • Identify the 2N3904 leads: with the flat, labeled face toward you and leads down, they are E, B, C from left to right.
    • Expand the LED circuit: 12 V through 1 kΩ to the LED anode, LED cathode to the collector, emitter to ground, and 100 kΩ from 12 V to the base.
    • The LED should light (transistor on). Disconnect the 100 kΩ and it goes off; reconnect and it lights. Repeat until you're convinced the base current controls the collector current.
    • Note that the base current through 100 kΩ is roughly 1% of the collector current through 1 kΩ.
  7. Experiment 3: Transistor amplifier
    • Build from a 12 V supply: 100 kΩ from 12 V to the base, 22 kΩ from the base to ground, 1 kΩ from 12 V to the collector, 100 Ω from the emitter to ground. Leave out the 100 µF emitter capacitor for now.
    • Input attenuator (not part of the amplifier; the generator can't go low enough): generator through 510 Ω to a node, 56 Ω from that node to ground. That node is vin (CH1). Couple it to the base through the 0.22 µF capacitor.
    • Put CH2 on the collector (vo). Set the generator to about 5 kHz.
    • Raise or lower the generator amplitude until vo just starts to clip, then back off until it looks clean. Use CH2 AC coupling or the position knob to see the signal on its DC bias.
    • Measure vin and vo peak-to-peak and compute the gain vo/vin. It should be about 10, inverted (−10).
    • Add the 100 µF capacitor (47 or 220 µF is fine) across the 100 Ω emitter resistor, + side on the emitter, and repeat. The gain should be much larger (about 200 when the author measured it) and the output more distorted (rounded top, sharper bottom).
  8. Diodes and transistors in the servo
    • Find LED0 and LED1 on the servo and the schematic: each is two LEDs in one package, wired in opposite directions, green when the supply polarity is right and red when it is backwards. Calculate the current they should draw.
    • Turn off the servo, connect it to the supply set to ±6 V (Recall twice may restore it), and turn it on.
    • Find the 390 Ω resistors R19 and R20. Measure the voltage across R20 and compute the LED1 current. Measure the LED1 voltage (meter from the Positive input terminal to the end of R20 nearest LED1) and compare to 2 V.
    • Find D1 and D2 (1N4004) near the motor disable jumper, between the big electrolytic capacitors and the transistors. Explain why they are there.
    • Find the bi-color LED3. It is red for one current direction, green for the other and yellow for AC; explain why AC gives yellow and what R22 is for. Turn the input position pot quickly back and forth to see red and green.
    • Find Q1 (TIP122) and Q2 (TIP127). Explain their purpose, why there are two, and why they are mounted on aluminum heat sinks.
    • Set the input position pot near the middle. Touch both heat sinks, then turn the red gear by hand until the motor pushes back hard, and hold it until one transistor warms (raise the gain if needed). Release, turn the gear the other way, and check whether the other transistor heats. Explain why they heat and why it depends on direction.
  9. Conclusion
    • Get the notebook checked off and write a conclusion. Keep the servo schematic for the next lab.

Record

  • Sketches of vS and vL for the half-wave rectifier, with sine and triangle inputs
  • Sketch of the filtered output, measured ripple with one capacitor and with two, and a comment on the effect of more capacitance and on the input distortion
  • Sketch of vS and vL with the zener in series, and of vS and vD for the zener clipper
  • Calculated LED current (2 V assumption) versus measured LED voltage, resistor voltage and current; measured drops for the red, green and yellow LEDs
  • Observation that the LED switches with the base resistor connected and disconnected
  • Amplifier vin, vo (peak-to-peak) and gain without the emitter capacitor (about −10) and with it (much larger), with notes on distortion
  • Servo: calculated and measured LED1 current, measured LED1 voltage versus 2 V, and answers on D1 and D2, LED3 and R22, Q1 and Q2, heat sinks, and why the transistors heat
  • Conclusion

Files

  • Servo schematic: Full schematic of the lab servo board: ±6 V binding posts and power switch with an AOP605 MOSFET pair and LED0/LED1 polarity indicators (390 Ω R19, R20), input and motor position pots, LM324 op amp stages with the gain pot, a TIP122/TIP127 push-pull output stage with 1.6 Ω emitter resistors, 1N4004 flyback diodes D1 and D2, the bi-color motor LED3 with R22 = 390 Ω, and 330 µF supply capacitors.
  • Simulation files: Simulation version of the lab (from the 2020 remote semester). Contains Lab10_Students/Lab10_Help_scored.pdf (help for this lab) and Lab10_Students/lab10_Ex1_Rectifier.asc (LTspice schematic of the Experiment 1 rectifier), plus __MACOSX/ metadata you can ignore.