Learn / Power / Buck and boost converters

Designing a Buck Converter Stage

ReviewedAdvanced ProAbout 6 min
LM2596
In short

Designing a Buck Converter Stage: the short answer

A buck converter switches the input on and off quickly and filters the pulses with an inductor and capacitor. In steady state the duty cycle is D = Vout ÷ Vin (a little higher in practice because of losses).

Level
Advanced
Time
About 6 min
Topic
Power
You will learn to

Choose the inductor, capacitors and layout for a buck regulator IC so it meets ripple, efficiency and stability targets.

Before this: Buck and Boost Converters, Inductors, LC Filters and Noise, Real Components: Parasitics, ESR and Derating

A buck converter switches the input on and off quickly and filters the pulses with an inductor and capacitor. In steady state the duty cycle is D = Vout ÷ Vin (a little higher in practice because of losses). The inductor's current ramps up while the switch is on and down while it is off; this ripple current ΔI = (Vin − Vout) × D ÷ (f × L). A common target is 20 to 40 % of the maximum load current. Too small an inductor gives large ripple and high peak current; too large a one is bulky and responds slowly.

Pick the inductor's saturation current above the peak current, which is the load current plus half the ripple, with margin. Pick its heating (RMS) rating above the load current. The output capacitor sets the output ripple: roughly ΔV ≈ ΔI ÷ (8 × f × C) + ΔI × ESR, so low-ESR capacitors matter. The input capacitor supplies the pulsed input current and must handle a large ripple current; place a ceramic of several microfarads right at the IC's input pins.

Layout decides whether a buck converter works. The loop formed by the input capacitor, the switch and the diode (or low-side switch) carries fast-changing current, and it must be as small as possible. Keep the feedback trace away from the switching node and the inductor, connect the feedback divider close to the IC, and use a solid ground plane. Many modules on the market (LM2596, MP1584, XL4015) include these parts, but their stated maximum currents often assume good cooling: derate them by 30 to 50 % for continuous use.

From duty cycle to inductor

An ideal buck output is the input times the duty cycle, so 12 V to 5 V needs about 42 percent. The inductor sets the ripple current: a common target is a ripple of 20 to 40 percent of the maximum load current. A larger inductor lowers the ripple but is bigger and slower to respond.

The inductor's current rating must exceed the peak, which is the load current plus half the ripple. Check the saturation current, not only the heating current, because a saturated inductor stops limiting current and the switch can fail.

Output capacitor and loss

The output capacitor smooths the ripple, and its ESR sets much of the ripple voltage, so choose a low-ESR type and check the ripple under load. Losses come from the switch resistance, the diode or synchronous switch, the inductor winding and the switching itself. A synchronous design replaces the diode with a MOSFET and gains efficiency at low output voltages.

Use the manufacturer's reference design for the controller or module where possible, since layout and component choices are tested there.

Layout counts

Keep the switching loop of input capacitor, switch and diode small, because it carries fast current edges. Put the feedback track away from the inductor and the switching node. A bad layout makes noise and wrong output voltage that no component choice can cure.

Common mistakes
  • Choosing the inductor by its heating current and ignoring saturation.
  • Using a high-ESR capacitor and getting large output ripple.
  • Running the feedback track near the switching node.
Key formulas
ΔI = (Vin − Vout) × D ÷ (L × f)
inductor ripple current
Ipeak = Iout + ΔI ÷ 2
inductor must not saturate below this
Try it: Inductor ripple in a buck converter

Inductor current over three cycles

0 A500 mA1 A0 s2 µs4 µs6 µsTime

A bigger inductor or a faster switching frequency makes the current ramp less each cycle.

Duty cycle 42 %

Inductor current against time. It ramps up while the switch is on and down while it is off, swinging 265 mA around 1 A.

Work it with your own numbers: Buck converter

Advanced lesson · Pro plan

Practise this lesson with Pro

The explanation above is free for everyone. The practice for Advanced lessons in every domain are part of the Pro plan at ₹999 a month.

With Pro you also get: a worked example, a hands-on task, a 3-question check.

Common questions

What will I learn in "Designing a Buck Converter Stage"?

Choose the inductor, capacitors and layout for a buck regulator IC so it meets ripple, efficiency and stability targets.