Set 18 — Buck Converter Design and Ripple
Set 17's chopper had a motor for a load: the armature inductance did the filtering, the inertia smoothed the rest, and a few per cent of ripple was harmless. Take the machine away and the same switching cell has to hold a few tens of millivolts across a digital load, from an input that may vary two to one.
Every component now has to be chosen rather than inherited. The inductor comes from a ripple target at the worst-case input, not the nominal one; the capacitor comes from two independent mechanisms of which the smaller one usually dominates; and the whole design has to hold together from full load down to a tenth of it, where the converter falls out of continuous conduction entirely.
Duty ratio and its range, which every other choice depends on:
\[ D = \frac{V_o}{V_{in}}, \qquad D_{min} = \frac{V_o}{V_{in,max}}, \qquad D_{max} = \frac{V_o}{V_{in,min}} \]The inductor from the ripple target, evaluated at the worst case:
\[ L = \frac{\left(V_{in}-V_o\right)D}{\Delta I\,f_s}, \qquad \Delta I \text{ is largest at } V_{in,max} \]The capacitor has two ripple mechanisms and they add:
\[ \Delta V_C = \frac{\Delta I}{8f_sC}, \qquad \Delta V_{ESR} = \Delta I\cdot ESR \]The \(1/8\) comes from integrating a triangular current over half a period — Problem 2.
Component stresses follow directly from the conduction intervals:
\[ I_{S,rms} = I_o\sqrt{D}, \qquad I_{D,avg} = I_o(1-D), \qquad I_{C,rms} = \frac{\Delta I}{\sqrt{12}}, \qquad I_{Cin,rms} = I_o\sqrt{D(1-D)} \]Interleaving \(N\) phases divides the current and cancels ripple, completely when \(D = k/N\):
\[ N = 2,\ D = 0.5 \;\Longrightarrow\; \Delta I_{out} = 0 \]At light load the converter enters DCM and the duty ratio must fall:
\[ K = \frac{2Lf_s}{R}, \qquad K_{crit} = 1-D, \qquad M = \frac{2}{1+\sqrt{1+4K/D^2}} \]
A buck converter delivers 12 V at 5 A from an input that varies between 18 and 30 V, switching at 200 kHz. The inductor ripple is to be 30% of the output current at nominal input (24 V). Find the duty ratio range, the inductance, and the worst-case ripple across the input range.
The duty ratio range. The output is regulated, so the duty ratio must move to track the input:
A 1.67:1 input range maps onto a 1.67:1 duty range. Worth checking against the controller's limits — and note that a converter needing \(D > 0.9\) or \(D < 0.05\) is usually asking for trouble with minimum on-times.
The ripple specification at nominal input:
Thirty per cent is the usual starting point, and the reason is a compromise: less ripple means a bigger inductor, more ripple means larger RMS currents and a worse critical current. Anything from 20% to 40% is defensible.
The inductance, from the volt-seconds applied during the on-time:
Now check the extremes. The ripple is \(\left(V_{in}-V_o\right)D/Lf_s\), and substituting \(D = V_o/V_{in}\) gives:
| \(V_{in}\) | \(D\) | \(\Delta I\) | % of \(I_o\) |
|---|---|---|---|
| 18 V | 0.667 | 1.00 A | 20% |
| 24 V | 0.500 | 1.50 A | 30% |
| 30 V | 0.400 | 1.80 A | 36% |
The worst case is at high input, which is the opposite of the intuition that a lower input is harder. A higher input means a shorter on-time but a larger voltage across the inductor, and the voltage wins.
Why the ripple rises with input voltage. Written as \(V_o(1-D)/Lf_s\), the output voltage is fixed and only \((1-D)\) varies:
The ripple is set entirely by the off-interval, during which the inductor sees a fixed \(-V_o\). A longer off-interval means more volt-seconds and more ripple. This is also why the buck's ripple approaches a maximum of \(V_o/Lf_s\) as \(V_{in}\to\infty\).
What the choice costs and buys:
The inductor must not saturate at 5.9 A — and preferably not at the current limit either, which will be set well above that. The peak, not the average, sizes the core; the RMS (essentially 5 A) sizes the winding.
The same converter must hold the output ripple below 50 mV peak-to-peak. Find the capacitance required if the capacitor were ideal, the maximum permissible ESR, and the capacitance actually needed with a real capacitor of 20 mΩ ESR. Also find the capacitor's RMS current.
The capacitive ripple. The capacitor receives the inductor's ripple current — the DC component all goes to the load — and integrating that triangle over the half period when it is positive gives:
The factor of eight is worth deriving once: half the ripple amplitude, over half the period, times the half for the triangle's area. It is specific to the buck, whose capacitor current is triangular.
Size an ideal capacitor at the worst-case ripple of 1.8 A:
Which looks easy — a 22 µF ceramic would do. But the ideal capacitor does not exist.
The ESR ripple is entirely separate. The ripple current flowing through the equivalent series resistance produces a voltage directly:
For the whole 50 mV budget to be ESR alone:
Note what this does not depend on: the capacitance, or the frequency. A large electrolytic with 200 mΩ of ESR would give 360 mV of ripple no matter how many microfarads it had.
With a real 20 mΩ capacitor, the two contributions share the budget:
Nearly four times the ideal figure, and the capacitance is doing the easy part. Adding the two contributions arithmetically is conservative — they peak at slightly different instants, so the true total is a little lower — but the margin is worth having.
Which mechanism dominates? Compare the two as the frequency changes:
| Frequency | \(\Delta V_C\) (22.5 µF) | \(\Delta V_{ESR}\) (20 mΩ) | Dominant |
|---|---|---|---|
| 20 kHz | 500 mV | 36 mV | capacitance |
| 200 kHz | 50 mV | 36 mV | comparable |
| 2 MHz | 5 mV | 36 mV | ESR |
The capacitive term falls as \(1/f_s\) while the ESR term does not fall at all. So in any modern converter switching above a few hundred kilohertz, ESR is the whole problem — which is why ceramic capacitors, with milliohms of ESR, displaced electrolytics in that role.
The capacitor's own current rating. It carries the inductor's ripple, which is triangular with zero mean:
Modest — and a striking contrast with the capacitor-input rectifier of Set 10, whose reservoir capacitor carried 9.6 A for a 2 A load. A buck's output capacitor sees only the ripple, never the load current, because the inductor supplies the DC.
For the same converter at nominal input, find every component stress, then compute the loss budget with \(R_{DS(on)} = 10\ \text{m}\Omega\), a Schottky diode of \(V_F = 0.4\) V, inductor DCR of \(15\ \text{m}\Omega\) and a combined transition time of 30 ns. Then repeat with a synchronous rectifier.
The stresses, from the conduction intervals:
| Component | Voltage | Current |
|---|---|---|
| Switch | \(V_{in,max} = 30\) V | \(I_{rms} = I_o\sqrt{D} = 3.54\) A |
| Diode | \(V_{in,max} = 30\) V | \(I_{avg} = I_o(1-D) = 2.5\) A |
| Inductor | — | \(I_{rms} \approx I_o = 5\) A, peak 5.9 A |
| Output cap | 12 V | \(\Delta I/\sqrt{12} = 0.52\) A |
| Input cap | 30 V | \(I_o\sqrt{D(1-D)} = 2.5\) A |
Note the last row. The input capacitor carries far more RMS current than the output one — 2.5 A against 0.52 A — because the input current is a square pulse while the output current is smooth. This is the reverse of most people's expectation and it is why input capacitors on a buck are often the larger part.
The loss budget, term by term:
Total and efficiency:
| Term | Loss | Share |
|---|---|---|
| Diode conduction | 1.000 W | 54% |
| Inductor DCR | 0.375 W | 20% |
| Switching | 0.360 W | 19% |
| MOSFET conduction | 0.125 W | 7% |
| Total | 1.86 W | 100% |
The diode alone is more than half the loss, and it is the one component that was chosen for being cheap. A 0.4 V Schottky carrying 2.5 A average simply cannot do better than one watt.
Replace it with a synchronous rectifier — a second MOSFET of the same \(10\ \text{m}\Omega\), turned on during the off-interval:
The loss nearly halves and 0.875 W of heat disappears, for the cost of one MOSFET and the dead-time logic of Set 7. Compare Set 2, Problem 2: with 0.4 V and 10 mΩ the crossover current is 40 A, so at 5 A the MOSFET wins comfortably.
Where the loss now sits:
With the diode gone, the inductor's DCR becomes the largest single term. Improving the converter further means a better core and thicker wire — or a lower frequency, which trades against the inductor's size. This is the point at which further optimisation stops being about semiconductors.
The same 12 V, 5 A output is produced by two interleaved buck converters, each switching at 200 kHz with the same \(20\ \mu\text{H}\) inductor, driven 180° apart. Find the per-phase currents, the conduction loss, the output ripple at \(D = 0.5\), and the input capacitor current.
Each phase carries half the load:
The per-phase ripple is unchanged, because the inductor and the voltages are unchanged — but it is now a larger fraction of the phase current, 60% instead of 30%.
Conduction loss halves. Two MOSFETs each carry half the current:
Against 0.125 W for the single phase — exactly half. The reason is \(2\times(I/2)^2R = I^2R/2\): splitting a current between two devices halves the total \(I^2R\) loss even though the total silicon area is only doubled.
Now the striking part — the output ripple. The two phase currents are triangles 180° apart. At \(D = 0.5\), one is rising at exactly the rate the other is falling:
Complete cancellation. The output capacitor sees no ripple current at all at \(D = 0.5\) — not reduced, eliminated. This happens whenever \(D = k/N\) for integer \(k\), so a two-phase converter cancels perfectly at 0.5 and an \(N\)-phase one at every \(k/N\).
Away from the sweet spot the cancellation is partial but still substantial:
| \(V_{in}\) | \(D\) | Per phase | Output (2 phases) |
|---|---|---|---|
| 24 V | 0.500 | 1.50 A | 0 A |
| 30 V | 0.400 | 1.80 A | ~0.6 A |
| 18 V | 0.667 | 1.00 A | ~0.5 A |
And the ripple that remains is at \(2f_s = 400\) kHz, so the capacitor filters it twice as easily. Both effects compound.
The input capacitor benefits too, and this is often the bigger prize:
The input current becomes continuous rather than a square pulse, because the two phases draw alternately. Since Problem 3 found the input capacitor carrying five times the output capacitor's current, removing that is worth more than the output ripple cancellation.
What interleaving costs:
| Cost | Benefit |
|---|---|
| Two inductors, two switch pairs | conduction loss halved |
| Two gate drivers, phase-shifted PWM | output ripple cancelled at \(D = k/N\) |
| Current-sharing control needed | ripple frequency \(\times N\) |
| Switching loss doubles | input capacitor current collapses |
| — | heat spread over two packages |
The last benefit matters more than it sounds. Two devices each dissipating half as much have a far easier thermal path than one dissipating everything — and Set 8 showed that the heatsink is three-quarters of the temperature rise.
The single-phase converter is loaded to only 0.5 A with the input at 30 V. Determine the conduction mode, find the duty ratio the controller must produce, and verify the result. Compare with the duty ratio the continuous-conduction formula would demand.
Test the mode first. With the output still regulated at 12 V, the equivalent load resistance is:
Consistent with the critical current found in Problem 1: at 30 V the ripple is 1.8 A, so \(I_{crit} = 0.9\) A and a 0.5 A load is well below it.
In DCM the output ratio is load-dependent, so the duty ratio is no longer \(V_o/V_{in}\):
Here \(M = 12/30 = 0.4\) is fixed by the regulator, and \(D\) is the unknown. Rearranging:
Compare with what CCM would demand:
The controller must reduce the duty ratio by 25% to hold the same output. If it did not — if it were an open-loop converter set to 0.400 — the output would rise well above 12 V, exactly as the DCM buck of Set 1 rose from 6 to 14.3 V.
Verify by reconstructing the waveform. The peak inductor current:
Exact agreement with the 0.5 A demanded. Note also that the third interval is \(1-0.298-0.447 = 0.255\) — a quarter of every cycle with no current at all.
What this does to the control loop. The two modes have completely different transfer functions:
| Property | CCM | DCM |
|---|---|---|
| \(V_o\) depends on | \(D\) only | \(D\), \(L\), \(f_s\) and the load |
| Order | second (\(LC\)) | effectively first |
| DC gain \(\partial V_o/\partial D\) | constant | varies with load |
| Response | slower, resonant | faster, damped |
A compensator designed for the CCM double pole is over-damped and slow in DCM; one designed for DCM is unstable in CCM. A converter that crosses the boundary in normal service must be compensated for the worst of both — which is why many controllers force a minimum load or use synchronous rectification to stay in CCM at all times.
How synchronous rectification changes this. A MOSFET conducts in both directions, so the inductor current can go negative:
The converter simply circulates current backwards during part of each cycle. That keeps the transfer function fixed at all loads — at the cost of conducting current that does no work, which is why efficient designs switch to a diode-emulation mode at light load and accept the DCM behaviour.
Using the loss model of Problem 3 with an added 0.1 W of gate-drive and controller quiescent power, compute the efficiency at 5 A, 2.5 A and 0.5 A, identify which term dominates at each, and explain the shape of the curve.
Sort the terms by how they scale, which is the whole method — the Set 2 discipline applied to a complete design:
| Term | Scales as | At 5 A |
|---|---|---|
| MOSFET conduction | \(I_o^2\) | 0.125 W |
| Inductor DCR | \(I_o^2\) | 0.375 W |
| Diode conduction | \(I_o\) | 1.000 W |
| Switching | \(I_o\) | 0.360 W |
| Gate drive + quiescent | constant | 0.100 W |
Three different scalings, so three different regimes. The diode is linear rather than quadratic because it holds a roughly fixed voltage — Set 2's distinction between junction and channel devices.
Full load, 5 A:
Half load, 2.5 A. Quadratic terms fall by four, linear terms by two, the constant does not move:
Efficiency has risen. The quadratic terms collapsed faster than the output did, so the loss fraction improved. That is the mechanism behind the peak that every efficiency curve has.
Ten per cent load, 0.5 A:
Falling again — because at 0.5 A the fixed 0.1 W is 42% of the total loss, and it does not shrink at all. Below this the curve collapses steeply toward zero.
The curve, and where each regime lies:
| \(I_o\) | Loss | \(\eta\) | Dominated by |
|---|---|---|---|
| 5.0 A | 1.96 W | 96.8% | diode + \(I^2R\) |
| 2.5 A | 0.905 W | 97.1% | diode (peak of curve) |
| 0.5 A | 0.241 W | 96.1% | fixed losses |
The peak sits near half load, which is typical and is why supplies are often specified for best efficiency at 50% rather than 100%. It is also why a converter oversized for its actual load runs worse, not better — it operates permanently in the fixed-loss regime.
Where the peak sits, in general. The efficiency is maximised when the load-dependent quadratic losses equal the fixed losses:
Here \(k_2 = 0.020\) W/A² from the two quadratic terms, giving \(I_{o,opt} = \sqrt{0.1/0.02} = 2.24\) A — close to the 2.5 A observed. The same condition appeared in Set 2, Problem 6 for the optimum frequency: an optimum occurs where a rising cost meets a falling one.
How to improve each regime:
| Regime | Remedy |
|---|---|
| Full load | synchronous rectifier (Problem 3), lower DCR, interleave (Problem 4) |
| Mid load | already near the peak — little to gain |
| Light load | pulse skipping or burst mode — reduce effective \(f_s\) |
| No load | shut down the controller between bursts |
The light-load remedy is the same as Set 2, Problem 4: fixed losses are proportional to switching frequency, so the way to reduce them is to switch less often. A burst-mode controller delivers a few full-current cycles and then sleeps, cutting the average \(f_s\) by orders of magnitude.
Key Formulas
| Quantity | Relation | Notes |
|---|---|---|
| Conversion ratio | \(D = V_o/V_{in}\) | CCM only |
| Inductor | \(L = \dfrac{\left(V_{in}-V_o\right)D}{\Delta I f_s}\) | Size at \(V_{in,max}\) |
| Ripple, alternate form | \(\Delta I = \dfrac{V_o(1-D)}{Lf_s}\) | Shows why high \(V_{in}\) is worst |
| Capacitive ripple | \(\Delta V_C = \dfrac{\Delta I}{8f_sC}\) | Falls as \(1/f_s\) |
| ESR ripple | \(\Delta V_{ESR} = \Delta I\cdot ESR\) | Independent of \(f_s\) |
| Switch RMS | \(I_o\sqrt{D}\) | — |
| Diode average | \(I_o(1-D)\) | — |
| Output cap RMS | \(\Delta I/\sqrt{12}\) | Ripple only |
| Input cap RMS | \(I_o\sqrt{D(1-D)}\) | Much larger — Problem 3 |
| Interleaved conduction | \(P = I^2R/N\) | Halved for \(N = 2\) |
| Ripple cancellation | complete at \(D = k/N\) | Problem 4 |
| Mode test | \(K = 2Lf_s/R,\ K_{crit} = 1-D\) | DCM if \(K < K_{crit}\) |
| DCM ratio | \(M = \dfrac{2}{1+\sqrt{1+4K/D^2}}\) | Solve for \(D\) — Problem 5 |
| Critical current | \(I_{crit} = \Delta I/2\) | At the worst-case input |
| Efficiency peak | \(I_{o,opt} = \sqrt{P_{fixed}/k_2}\) | Problem 6 |
Common Mistakes
Sizing the inductor at nominal input. A buck's ripple is worst at maximum input, 20% higher here than at nominal — Problem 1.
Sizing the output capacitor from capacitance alone. ESR contributed 36 of the 50 mV budget and does not improve with frequency — Problem 2.
Assuming the output capacitor is the hard one. The input capacitor carried 2.5 A RMS against the output's 0.52 A — Problem 3.
Choosing a Schottky to save money. It was 54% of the total loss; a synchronous MOSFET cut the total by 47% — Problem 3.
Using \(I_{avg}\) for the MOSFET and \(I_{rms}\) for the diode. It is the other way round — Set 2's rule, still costing marks — Problem 3.
Expecting interleaving to merely reduce ripple. At \(D = k/N\) it cancels it completely — Problem 4.
Forgetting that interleaving halves conduction loss. \(2\times(I/2)^2R = I^2R/2\) — Problem 4.
Using \(D = V_o/V_{in}\) at light load. In DCM the controller must reduce it by 25% here — Problem 5.
Designing one compensator for both modes. DCM is effectively first-order with a load-dependent gain; CCM is second-order with a fixed one — Problem 5.
Quoting a single efficiency figure. The curve peaked at half load and fell at both ends; an oversized converter permanently sits in the fixed-loss regime — Problem 6.
Six problems and a complete converter. Every component came from a specification rather than a textbook: the inductor from a ripple target at the worst-case input, the capacitor from two mechanisms of which ESR was the binding one, the devices from the conduction intervals, and the frequency from a compromise between filter size and switching loss. The synchronous rectifier halved the loss, interleaving cancelled the ripple exactly, and light load turned the converter into a different circuit with a different transfer function.
Everything here assumed \(V_o < V_{in}\), and the buck cannot do anything else. Reverse the positions of the switch and the inductor and the same three components deliver an output above the input — which is what a battery-powered device needs, and what every power-factor correction stage in the world does. It also introduces two problems the buck does not have: a discontinuous input current, and a control loop with a zero in the right half-plane.
Next: Set 19 — Boost Converter Design and Ripple, where the inductor current is the input current, the capacitor carries the full load current in pulses, the parasitic resistance imposes a hard ceiling on the achievable gain, and the right-half-plane zero limits the control bandwidth to a fraction of the buck's.