The problem: the wall swings both ways
The mains socket gives you alternating current: a sine wave that rises positive, falls back through zero, swings negative, and repeats sixty times a second. That is wonderful for shipping power over long distances, but almost every chip, LED, and microcontroller wants steady DC — a voltage that sits on one side of zero and stays there. Turning that endless up-and-down into a one-sided supply is the job of a rectifier.
You already met the only tool you need: the diode, a one-way valve. Forward-biased it conducts; reverse-biased it blocks. So if AC tries to push current one way then the other, a diode simply refuses the unwanted direction and lets the rest through. Everything below is just clever arrangements of that single trick — how many valves you use, and which way you point them.
Half-wave: one diode, half the wave
The simplest half-wave rectifier is one diode in series with the load. On the positive half of the cycle the diode is forward-biased and conducts, so the load sees the sine wave's positive hump (minus the forward drop, the ~0.7 V the diode keeps for itself). On the negative half the diode is reverse-biased and shuts the door: zero reaches the load. The output is a string of positive humps with flat dead gaps between them — DC in the loose sense that it never goes negative, but very lumpy DC.
Two honest costs come with this simplicity. First, you throw away half the cycle, so the average delivered power is low and the gaps are wide and hard to fill in later. Second, during the blocked half-cycle the full reverse swing of the supply appears across the diode — its reverse voltage stress, the peak inverse voltage (PIV), reaches roughly the peak of the input. Pick a diode whose PIV rating clears that with margin, or it punches through.
Full-wave and the bridge: catch both halves
A full-wave rectifier wastes nothing: it flips the negative half up so both humps point the same way, doubling how often power arrives. The classic way uses a transformer with a center tap and two diodes — each diode handles one half-cycle, taking turns. The catch is the center-tapped transformer (more copper, more cost) and that each diode now sees about twice the peak in reverse.
The more popular answer is the bridge rectifier: four diodes in a diamond, no center tap needed. On each half-cycle two of them conduct in series and steer the current through the load in the same direction; on the other half-cycle the other two take over. You get full-wave output from an ordinary two-wire winding. The price is that the current always passes through two diodes, so you lose two forward drops (about 1.4 V), which stings when the supply is already low. A bridge is what hides inside most plug-in adapters.
Rectifier Diodes Uses both Drops in Ripple Reverse stress
needed halves? the path frequency per diode (PIV)
------------------------------------------------------------------------
Half-wave 1 no 1 drop 1x line ~ Vpeak
Full-wave (CT) 2 yes 1 drop 2x line ~ 2 x Vpeak
Bridge 4 yes 2 drops 2x line ~ Vpeak
(CT = center-tapped transformer. "line" = the mains frequency, 60 Hz.)A worked example: from the wall to pulsating DC
Say a transformer gives a 12 V secondary. That "12 V" is the RMS value — the heating-equivalent number, which is neither the average nor the peak. The peaks the rectifier actually sees are higher. Let us follow a bridge through, step by step.
- Find the peak: a sine's peak is RMS times 1.414, so 12 times 1.414 ≈ 17 V.
- Subtract the bridge's two drops: 17 - 1.4 ≈ 15.6 V is the peak that reaches the load.
- Find the ripple frequency: a bridge is full-wave, so the humps come at 2 times 60 = 120 Hz, twice the mains rate.
- Check the diode stress: each diode's PIV is only about the 17 V peak (a bridge's advantage), so a 1N4007 rated 1000 V is wildly safe.
Two practical notes. When the supply voltage is small (say a 5 V rail), losing 1.4 V in a bridge is painful, and that is exactly where a Schottky diode earns its keep: its forward drop is only ~0.3 V instead of ~0.7 V, and it switches faster, so it wastes less and runs cooler. And notice the higher ripple frequency from full-wave rectification is a gift — faster humps are far easier to smooth than the slow ones from half-wave, which is the very next step.
What rectified is not: still lumpy, and honest limits
Be clear about what you have so far: rectified, but not smooth. The output is pulsating DC — it never goes negative, but it still drops to near zero between humps. Feed that straight to a chip and it would brown out on every dip. The fix is to park a big reservoir capacitor across the output: a bucket that charges up at each peak and hands out current through the gaps, with the leftover wobble called ripple. That bucket — how big it must be and how much ripple it leaves — is the whole of the next guide.
Two more cautions before you build. First, mind the PIV: the diamond table above tells you the worst-case reverse stress, and a real supply must be rated well above it (derating). Second, do not confuse the three voltages floating around a rectifier — the RMS printed on the transformer, the peak the diodes pass, and the average DC the load feels are three different numbers. Mixing them up is the most common rectifier mistake, and it is also why simulating one is so useful: a quick transient run shows you all three at once, though it cannot warn you about a sloppy layout or a transformer model that lies.