D2 · Lesson 2 · The buck converter
How chopping the input with a switch and averaging it with an inductor and capacitor gives an output of D times the input, the inductor's ripple current, the output's ripple voltage, choosing L and C, and the peak current the switch must carry
The buck converter is the workhorse of electronics: there are dozens in a laptop. Its idea is almost embarrassingly simple. A switch connects the input to a node for a fraction D of each cycle and grounds it for the rest, so that node's average voltage is D times the input. An inductor and capacitor then filter away the switching and leave the average. The inductor is what makes it efficient: it carries the load current continuously, storing energy while the switch is on and delivering it while the switch is off.
- A buck converter at 50% duty: the switch node (a square wave from 0 to the input voltage) drives an inductor into a capacitor and a load resistor.
- The output settles to half the input after a brief LC ringing; the inductor current settles to the load current with a triangular ripple on top.
- A larger inductor or a higher switching frequency shrinks the ripple; a larger capacitor smooths the output further but slows the start-up.
Predict
A buck converter turns its switch on for 27.5% of each cycle from a 12 V input. What's its output voltage?
The switch node is at 12 V for a fraction D = 0.275 of each cycle and 0 V for the rest, so its average is 0.275 × 12 = 3.3 V. The inductor can't hold an average voltage across itself (its current would grow without limit), so the output sits at that average, whatever the load, as long as the inductor current never falls to zero.
Name it
Conversion ratio
In steady state the inductor's average voltage is zero (volt-second balance), so
with D the duty cycle, the fraction of each period the high-side switch is on.
Ripple
While the switch is on, across the inductor ramps its current up; while off, ramps it down. The peak-to-peak ripple is
with the switching frequency. The ripple current flows into the output capacitor, giving an output ripple of about
(plus ΔI times the capacitor's series resistance, often larger in practice). The switch and inductor carry a peak current of .
Design
Designers usually pick L for a ripple of 20 to 40% of the full load current, then C for the allowed output ripple. Higher switching frequencies shrink both components but raise switching losses (lesson 8).
Worked example
A buck converter makes 3.3 V from 12 V at 500 kHz with a 10 µH inductor and a 22 µF capacitor, delivering 2 A. Find D, the ripple current, the output ripple and the peak switch current.
Show the solution
- Duty cycle.
- Ripple current.
- Output ripple.
- Peak switch current. The load current plus half the ripple:
- Inductor for less ripple. For a ripple of only 0.3 A the inductor would need
Answer D = 0.275, the ripple current is 0.479 A, the output ripple is 5.4 mV, and the peak switch current is 2.24 A.
Worked example
In the sim (12 V, 50%, 20 kHz, 470 µH, 47 µF, 5 Ω), what are the ripple current and output ripple?
Show the solution
- Ripple current. around the 1.2 A load current.
- Output ripple.
- Start-up ringing. It's at the LC's natural frequency:
Answer the ripple current is 0.319 A and the output ripple is 42 mV.
Worked example
Below what load does the first example's converter (ripple 0.479 A) enter discontinuous conduction?
Show the solution
- Shape of the inductor current. It's a triangle of height ΔI around the load current.
- Where it touches zero. That happens when the load falls to
- Below that. The current stays at zero for part of each cycle, and the output voltage no longer follows unless the controller adjusts D.
Answer it enters discontinuous conduction below a load of 0.24 A.
Check
A buck converter makes 1.2 V from 12 V. What duty cycle does it need?
Check
A buck converter makes 3.3 V from 12 V with a 22 µH inductor at 1000 kHz. What's the peak-to-peak inductor ripple?
Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.
Check
A buck converter's 0.5 A ripple current flows into a 100 µF capacitor at 200 kHz. What's the output ripple, ignoring its ESR?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
What inductance limits a 12 V to 3.3 V buck converter at 600 kHz to 0.6 A of ripple?
Write units the way you normally would: 1.5 µH, 1500 nH and 0.0015 mH are the same answer.
Check
A buck converter makes 1.2 V from 12 V at 1000 kHz with a 22 µH inductor.
(a)
What is its duty cycle?
(b)
What is the inductor's peak-to-peak ripple?
Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.
(c)
Below what load does it enter discontinuous conduction?
Check
A buck makes 1.8 V from 5 V at 2000 kHz, and its ripple must be 0.4 A peak to peak.
(a)
What inductance does it need?
Write units the way you normally would: 1.5 µH, 1500 nH and 0.0015 mH are the same answer.
(b)
And at twice the frequency?
Explain why
Why is a buck converter's output voltage D times its input, regardless of the load?
The switch makes the node at the inductor's input a square wave that is at the input voltage for a fraction D of each cycle and at ground for the rest, so its average is D times the input. In steady state the inductor's current must return to the same value at the end of each cycle, which means the average voltage across it is zero; otherwise its current would keep growing or shrinking. With zero average across the inductor, the output must equal the switch node's average, D times the input. The load sets the inductor's average current, but as long as that current stays positive throughout the cycle, it doesn't change the voltage.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.