C5 · Lesson 7 · Rectifiers, clippers and LEDs
Diodes at work
A diode's one-way behavior turns AC into DC. Every phone charger and computer supply starts with a rectifier: diodes that let the positive half of each cycle through, and a capacitor that holds the voltage up between peaks. The same diodes, pointed different ways, clip signals to safe levels and protect inputs from static. And if the semiconductor is chosen so that electrons falling across its gap emit visible photons (B9.10), the diode lights up.
Play
- A half-wave rectifier: the diode passes the positive peaks into a capacitor, which feeds the load between them. The scope shows the AC input and the DC output.
- Shrink the capacitor. What happens to the ripple? Lower the load resistance (more current). Same question.
- Where does the output sit compared with the input's peak?
Predict
A half-wave rectifier on a 50 Hz supply feeds a 10 mA load from a 100 µF capacitor. Roughly how much does the output droop between peaks?
About 2 V. Between peaks, 20 ms apart, the capacitor alone supplies the 10 mA, losing V. That's a slight overestimate, since the capacitor is recharged during part of each cycle (the sim above droops about 1.5 V), but it's the standard design figure because it errs on the safe side. A full-wave rectifier recharges every 10 ms and halves the ripple; a bigger capacitor or a regulator (lesson 11) reduces it further.
Name it
Diode circuits
Half-wave rectifier. One diode conducts on positive half cycles only. With a reservoir capacitor C and load current I:
Full-wave bridge. Four diodes route both halves the same way, so the capacitor is topped up twice per cycle:
with two diode drops in the path. The diodes must withstand the full peak in reverse.
Clippers. A resistor feeding a diode to ground stops the output from going more than one diode drop above ground; a second diode the other way limits the negative side. Clamps like these protect chip inputs from overvoltage and static discharge.
LEDs. An LED is a diode whose band gap emits light when electrons and holes recombine: red near 1.8 to 2 V, green and blue around 3 V. Because the current rises exponentially with voltage, an LED is driven at a set current, normally through a series resistor:
where is the LED's forward voltage at the desired current (a few to 20 mA for indicator LEDs).
A clipper: two diodes facing opposite ways hold the output within about ±0.7 V, while the resistor takes the rest.
A red LED (modeled with a forward drop near 1.9 V) driven from 5 V. Slide the resistor and watch the current change a lot while the LED's voltage barely moves.
Worked example
A half-wave rectifier from a 12 V peak, 60 Hz source charges 1000 µF and supplies 100 mA. Find the output peak and ripple.
Show the solution
- Output peak.
- Ripple.
- Output range. The output swings between about 9.6 and 11.3 V.
Answer the output peaks at 11.3 V with 1.67 V of ripple, so it swings between about 9.6 V and 11.3 V.
Worked example
A red LED ( = 2.0 V) runs at 15 mA from 5 V. What resistor, and how is the power shared?
Show the solution
- Resistor.
- Resistor power.
- LED power. Most of the power goes into setting the current.
Answer use 200 Ω; the resistor dissipates 45 mW and the LED 30 mW.
Worked example
A 10 V peak sine drives 1 kΩ into a diode returned to a 2.6 V reference, so the output can't rise above 3.3 V. What current does the diode carry at the peak, and for how much of each cycle does it clip?
Show the solution
- Current at the peak. The resistor drops 10 − 3.3 = 6.7 V, so the diode and the reference carry 6.7 mA.
- Where clipping starts.
- Where it ends. Clipping ends at 180° − 19.3° = 160.7°, so it lasts The rest of the time the diode is off and the output follows the input.
- Where this is used. This is how an ADC input is protected: the series resistor limits the current, and whatever holds the reference has to be able to absorb it.
Answer the diode carries 6.7 mA at the peak, and it clips for 141.5° of every 360°, 39.3% of the cycle.
Check
A half-wave rectifier (diode drop 0.7 V) is fed a sine of 12 V peak. Roughly what DC voltage does its capacitor charge to?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A half-wave rectifier on 50 Hz feeds 50 mA from a 1000 µF capacitor. What's the ripple?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A full-wave bridge on 50 Hz supplies 500 mA from 4700 µF. What's the ripple?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
An LED with a forward voltage of 1.8 V is to run at 20 mA from 5 V. What series resistor?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
Why must an LED have a series resistor (or a current-controlled driver) instead of being connected straight to a voltage supply?
Check
A 10 V peak sine drives 4.7 kΩ into a diode clamp that holds the output at or below 2.5 V.
(a)
What current flows in the clamp at the peak?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
(b)
For what percentage of each cycle does it clip?
Check
An LED with forward voltage F runs at current I from a supply V through a resistor.
Step 1
What resistor?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What does the resistor dissipate?
Step 3
What fraction of the supply's power reaches the LED?
Explain why
How does the reservoir capacitor turn a rectifier's pulses into nearly steady DC?
The diode only conducts near the peaks of the input, when the input rises above the capacitor's voltage, and charges the capacitor up to nearly the peak. For the rest of each cycle the diode is reverse biased and the capacitor alone supplies the load, its voltage falling slowly as it discharges. A large capacitor or a small load current makes that fall small compared with the output, so the result is DC with a small ripple, of size about the load current times the time between recharges divided by the capacitance.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.