Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new

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 v=L di/dtv = L\,di/dt.

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.

The buck converter: 48 V source, switch S1, diode D1, L1 = 100 µH, C1 = 100 µF and a 2.4 Ω load, driven by a 100 kHz PWM at a duty of 0.25

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 D TD\,T, the inductor sees Vin−VoutV_{in} - V_{out}; while the diode conducts, for (1−D) T(1 - D)\,T, it sees −Vout-V_{out}. Setting the two areas equal:

(Vin−Vout) D=Vout (1−D)⇒Vout=D Vin=12 V.(V_{in} - V_{out})\,D = V_{out}\,(1 - D) \quad\Rightarrow\quad V_{out} = D\,V_{in} = 12\ \text{V}.

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 (Vin−Vout)/L(V_{in} - V_{out})/L, so its peak-to-peak ripple is

ΔIL=(Vin−Vout) DL fsw=36×0.25100 μH×100 kHz=0.9 A.\Delta I_L = \frac{(V_{in} - V_{out})\,D}{L\,f_{sw}} = \frac{36 \times 0.25}{100\ \mu\text{H} \times 100\ \text{kHz}} = 0.9\ \text{A}.

The capacitor takes the AC part of that triangle. The charge in one half of the triangle, ΔIL T/8\Delta I_L\,T/8, sets the output ripple:

ΔVout=ΔIL8 C fsw=11.3 mV.\Delta V_{out} = \frac{\Delta I_L}{8\,C\,f_{sw}} = 11.3\ \text{mV}.

The run gives 11.99 V, 0.90 A and 11.7 mV, within a few percent of the hand results.

Switch node, inductor current and output over three periods in steady state

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 D VinD\,V_{in}. The boundary is at

Rcrit=2LT (1−D)=26.7 Ω.R_{crit} = \frac{2L}{T\,(1 - D)} = 26.7\ \Omega.

Above it, the conversion ratio follows

M=VoutVin=21+1+4K/D2,K=2LR T.M = \frac{V_{out}}{V_{in}} = \frac{2}{1 + \sqrt{1 + 4K/D^2}}, \qquad K = \frac{2L}{R\,T}.

With 48 Ω, K=0.417K = 0.417 and M=0.320M = 0.320: 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.

Inductor current in continuous conduction (2.4 Ω, top) and in discontinuous conduction (48 Ω, bottom)

A design task, graded by the Test Bench

A smaller inductor is cheaper, so take L1 = 22 µH. The ripple current is now 36×0.25/(22 μH×100 kHz)=4.0936 \times 0.25 / (22\ \mu\text{H} \times 100\ \text{kHz}) = 4.09 A, and the spec allows at most 50 mV of output ripple. The capacitor must be at least

C≥ΔIL8 fsw ΔVmax=102 μF,C \ge \frac{\Delta I_L}{8\,f_{sw}\,\Delta V_{max}} = 102\ \mu\text{F},

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

  1. 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.)
  2. 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.)
  3. 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.)
  4. 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.)
  5. 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-5A passes on the circuit as it is now.)

Answers

  1. 12 V and 5 A; ΔI = 0.9 A. The run gives 11.99 V and 0.90 A.
  2. 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.
  3. RcritR_{crit} = 26.7 Ω; MM = 0.320, so 15.34 V. The run gives 15.34 V.
  4. 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.
  5. 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.

  1. Open Course 2 · The buck converter in Guided Lessons and complete its steps in order.
  2. Record each value from the scope after its run.
  3. For the design task, save your circuit (File › Save As) as buck-<your name>.pcraft and 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.

  1. Why does the output ripple follow the inductor ripple, but the output voltage does not?
  2. A data sheet's capacitor has an ESR of 10 mΩ. Add it (the capacitor's esr parameter) and explain the new ripple.
  3. 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.

Next: Lesson 3: Boost and buck-boost.