The buck converter is the switching converter every other one is measured against. A switch chops the input, an inductor and a capacitor average the chopped voltage, and the duty cycle sets the output. This lesson derives the output and the ripples from two balance rules, shows where they stop holding, and ends with a small design task that the Voltecx Test Bench grades.
Time: about 40 minutes. You need: Lesson 1, and the inductor law .
Open it in Voltecx
In Guided Lessons, choose Course 2 · The buck converter. The circuit is also File › Open Example › DC-DC › Buck converter, textbook.
Volt-second balance
In steady state the inductor current ends each period where it started, so the inductor's average voltage is zero. While the switch is on, for , the inductor sees ; while the diode conducts, for , it sees . Setting the two areas equal:
The capacitor obeys the dual rule, charge balance: its average current is zero, so the inductor's average current equals the load current, 5 A.
Ripple
During the on-time the inductor current rises at , so its peak-to-peak ripple is
The capacitor takes the AC part of that triangle. The charge in one half of the triangle, , sets the output ripple:
The run gives 11.99 V, 0.90 A and 11.7 mV, within a few percent of the hand results.
Discontinuous conduction
The ripple does not depend on the load, but the average current does. Once the load current falls below half the ripple, the inductor current would have to go negative at the end of each period; the diode will not let it, so the current stays at zero for part of the period. The converter is then in discontinuous conduction mode (DCM), and the output is no longer . The boundary is at
Above it, the conversion ratio follows
With 48 Ω, and : 15.34 V instead of 12 V. The run agrees, 15.34 V. A closed loop would hide this by lowering the duty, but the plant it controls changes, which is why loop design (lesson 6) checks both modes.
A design task, graded by the Test Bench
A smaller inductor is cheaper, so take L1 = 22 µH. The ripple current is now A, and the spec allows at most 50 mV of output ripple. The capacitor must be at least
so the smallest E12 value that meets it is 120 µF. The Test Bench checks this the way a lab would: it reads the spec (48 V in, 12 V ± 2 % out at 5 A, ripple at most 50 mV), runs the converter from start-up until the output settles, and compares regulation and ripple with their limits. With 100 µF it reads 51.9 mV and fails; with 120 µF it reads 45.4 mV and passes.
The same circuit is also worked in full, from the hand calculation to the run, in the worked example.
Exercises
- Volt-second balance. Predict the output, the load current and the inductor ripple, then run. (Checked: 11.9 to 12.1 V, ripple 0.85 to 0.95 A.)
- Halve the inductor. Set L1 to 50 µH. Which numbers change? (Checked: ripple 1.7 to 1.9 A, output still 11.9 to 12.1 V.)
- Discontinuous conduction. Put L1 back to 100 µH and R1 to 48 Ω. Find the boundary resistance and the DCM output, set the End time to 30 ms and run. (Checked: 15.1 to 15.6 V, and the inductor current reaches zero.)
- Size the capacitor. With L1 = 22 µH and R1 = 2.4 Ω, find the smallest E12 capacitor that keeps the output ripple at or below 50 mV. (Checked: inductor ripple near 4.1 A and output ripple between 41 and 50 mV, which only the right value gives.)
- Grade it. Press List and run the case in the lesson, or run it yourself with Simulation › Test Bench › Run All and Report. (Checked: the case
corner-48V-5Apasses on the circuit as it is now.)
Answers
- 12 V and 5 A; ΔI = 0.9 A. The run gives 11.99 V and 0.90 A.
- The ripple doubles to 1.80 A; the output stays at 12 V, because it depends only on D and Vin. The output ripple doubles too.
- = 26.7 Ω; = 0.320, so 15.34 V. The run gives 15.34 V.
- 102 µF is the minimum, so 120 µF. With it the run reads 43.4 mV over the last 0.1 ms; 100 µF reads 51.5 mV, and 150 µF passes but is not the smallest.
- The Test Bench reads 45.4 mV of ripple with 120 µF and passes; with 100 µF it reads 51.9 mV and fails.
Lab handout
Objective. Verify volt-second and charge balance on a buck converter, find the edge of discontinuous conduction, and size an output capacitor against a written spec.
Before the lab. Compute every "Predicted" entry below. For task 4, show the capacitor calculation and the E12 value you choose.
Procedure.
- Open Course 2 · The buck converter in Guided Lessons and complete its steps in order.
- Record each value from the scope after its run.
- For the design task, save your circuit (File › Save As) as
buck-<your name>.pcraftand hand it in with this sheet.
| Quantity | Predicted | Simulated | Difference |
|---|---|---|---|
| Output, V | |||
| Inductor ripple, L = 100 µH, A | |||
| Output ripple, mV | |||
| Inductor ripple, L = 50 µH, A | |||
| Boundary resistance, Ω | — | ||
| DCM output at 48 Ω, V | |||
| C for 50 mV with L = 22 µH, µF | — | ||
| Test Bench ripple with your C, mV | — |
Report questions.
- Why does the output ripple follow the inductor ripple, but the output voltage does not?
- A data sheet's capacitor has an ESR of 10 mΩ. Add it (the capacitor's
esrparameter) and explain the new ripple. - Why would a converter designed at full load enter DCM at light load, and what would its controller see?
References
Steady-state analysis by volt-second and charge balance, ripple and discontinuous conduction are treated in R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, 3rd ed., Springer, 2020 (chapters 2 and 5), and in Mohan, Undeland and Robbins, Power Electronics, 3rd ed., Wiley, 2003. The exercises and numbers here are Voltecx's own.