The Buck Converter
Chop the input with PWM, smooth the chop with L and C, keep only the average — 95% efficiency from parts you already own.
Builds on: 8.1 Build the PWM Dimmer2.4 Inductors & Electromagnetism5.3 Impedance & RC Filters10.1 Linear Regulators
Don't burn the difference — refuse to take it
The linear regulator wastes power because its transistor stands half-open, dropping voltage while current flows — the exact situation Lesson 3.2 warned about. The switching insight: a transistor that is only ever fully on (no voltage across it) or fully off (no current through it) dissipates almost nothing in either state. So: switch hard, tens of thousands of times per second, and let PWM set the ratio.
The buck converter
Chop 12 V with PWM at, say, 42% duty and the switch node averages 5 V — but as a violent square wave. Now the reunion tour: an inductor (2.4) resists the current changes and a capacitor (2.3) resists the voltage changes — together a low-pass filter (5.3) whose cutoff sits far below the switching frequency. The chop is filtered away; the average sails through:
(One more familiar face: when the switch turns off, the inductor’s current must keep flowing — a diode gives it the path, precisely your flyback diode from 2.4. In modern converters a second transistor plays that role.)
Efficiency lands at 85–96%, nearly independent of how big the voltage step is. That is why every phone charger, laptop brick, LED driver, car ECU and server farm runs on switching conversion — the electricity saved worldwide by this one circuit is measured in power stations.
The engineer's trades
- Ripple vs size: bigger L and C smooth better but cost space and money. ΔI ∝ 1/(L·f_sw).
- Frequency: switching faster shrinks L and C — but each switching edge wastes a crumb of energy, so efficiency dips. Modern designs run 0.5–2 MHz.
- Noise: all that chopping radiates. Switchers need careful layout, and sensitive analog stages often get a quiet linear regulator fed from a switcher — both lessons in one supply.
Your PWM dimmer (Unit 8) plus the low-pass filter experiment was literally a buck converter without the feedback loop. The expert course keeps promoting circuits you own to bigger jobs.
⚡ Lab — Chop, Smooth, Profit
A buck converter with the switch node and output side by side, plus a live efficiency face-off against a linear regulator doing the same job.
- Set 12 V in, 42% duty: 5 V out. Sweep the duty — the output follows D·Vin.
- Shrink L to 10 µH: the ripple balloons. Fix it by raising f_sw — then check what happened to efficiency.
- Ask for 12 V → 3.3 V and compare the two efficiency bars. This is why phones don't cook.