⚡ Spark Academy53 lessons

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.

lesson 2 of 2 in this unit

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:

V_out ≈ D × V_induty cycle is the control knob — close the loop with feedback and it self-regulates

(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.
You already built one

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.
12.0 V
42%
50 kHz
220 µH
100 µF
It's all reruns
PWM (Unit 8) chopped, then smoothed by L (2.4) and C (2.3) — the average survives, the chop doesn't
Try this
Halve L: ripple doubles. Double fsw: ripple shrinks but efficiency dips — the designer's eternal trade.

Check your understanding

Q1. A buck converter with Vin = 12 V running at 40% duty outputs about…

Q2. Switching converters are efficient because the transistor…

Q3. The L and C in a buck converter act as…

Q4. Raising the switching frequency lets you…