Skip to content

Power & Energy

How does a buck converter work?

A buck converter steps a DC voltage down by switching the input on and off very fast and smoothing the result with a coil and a capacitor. The output is about the input times the duty cycle, the fraction of time the switch is on: Vout ≈ D × Vin. Because the switch is always fully on or fully off, almost nothing is burnt as heat.

Chop, then smooth

Switch 12 V on and off, on for half of every cycle, and you get a square wave from 0 to 12 V whose average is 6 V. A coil between the switch and the load smooths it towards that average, and a capacitor across the load holds it steady.

Vout ≈ Vin × D

On a quarter of the time, about 3 V; three quarters, about 9 V. Real converters lose a little in the diode and the coil's wire, so 12 V at half duty gives about 5.8 V.

Live experiment

Chop and smooth

12 V is switched on and off at 1 kHz by M1, then smoothed by a 0.1 H coil and 100 µF into a 60 Ω load. Keep M1 on a quarter, half or three quarters of each cycle, and the load settles near 2.8, 5.8 or 8.8 V, with 92 to 97% of the power arriving.

Try it yourself: free lesson

“Chop it down” is lesson 3 of 6 in Buck Bay, Power & Energy World 2. Free with an account. Lessons unlock in order, so you’ll do the 9 before it first.

Two halves of each cycle

  1. Switch on: the input pushes current through the coil to the load, and the coil's current climbs.
  2. Switch off: the coil's current can't stop at once, so it keeps flowing round through the freewheel diode, from ground, into the load. The current falls.

The coil's current rises and falls a little each cycle around the load's current, and the capacitor absorbs that wobble.

Gears for electricity

A buck converter trades volts for amps, like a low gear on a bicycle. Power in is nearly power out, so half the voltage out means nearly twice the current out, and the input supplies only about half the load's current. That's why phone chargers, laptop bricks and the supplies beside every processor are switchers, typically 85–95% efficient, where a linear regulator would burn the difference.

Ripple

The output still wobbles a little at the switching frequency:

ΔV ≈ ΔI over 8 × f × C

ΔI is how far the coil's current swings each cycle. Example: 12 V at half duty, 1 kHz, a 0.1 H coil and 100 µF. The coil's current swings by about 30 mA, so the ripple is about 0.03 ÷ (8 × 1000 × 0.0001) ≈ 0.04 V.

Pick the coil first, big enough that its current never runs dry; then a capacitor for the ripple you can accept. Make the coil too small and its current falls to zero each cycle, and the output drifts above D × Vin. Real converters switch at hundreds of kilohertz or more, so their coils are microhenries and their capacitors tens of microfarads.

Free lesson

Now build it yourself

Each lesson comes in three short parts: see the idea, try it on a live board, then build it yourself, with quick checks as you go.

Try it yourself: free lesson

“Chop it down” is lesson 3 of 6 in Buck Bay, Power & Energy World 2. Free with an account. Lessons unlock in order, so you’ll do the 9 before it first.

Or start from the very first lesson, no account needed

Work it out

Practice questions

Three quick questions from the lessons. Pick an answer to check it.

  1. Question 1 of 3When M1 turns off, the coil's current flows through…
    Show the answer

    Answer: D1, from ground. A coil's current can't stop at once. D1 gives it a path from ground round through the load.

    • Why not “The battery”? The battery is cut off while M1 is off. The coil's current has to find another path, through the diode.
    • Why not “Nowhere: it stops”? A coil's current can't stop at once. Without a path it would make a damaging spike; the diode gives it one.
    • Why not “M1”? M1 is off, so it can't carry anything. That's exactly when the diode takes over.
  2. Question 2 of 3A buck converter on half the time from 12 V gives about…
    Show the answer

    Answer: 6 V. Output ≈ input × on-fraction.

    • Why not “3 V”? 3 V would be on a quarter of the time. Output ≈ input × on-fraction.
    • Why not “12 V”? 12 V would mean the switch was on all the time. Half the time gives about half the input.
    • Why not “24 V”? A buck converter only steps down. It can't make more than its input.
  3. Question 3 of 3A hundred times more capacitance gives…
    Show the answer

    Answer: About a hundredth of the ripple. Ripple ≈ ΔI ÷ (8 f C). C goes up a hundredfold; ripple goes down a hundredfold.

    • Why not “The same ripple”? The capacitor is what absorbs the wobble, so making it bigger always reduces the ripple.
    • Why not “No output”? The output voltage is set by the duty cycle. A bigger capacitor just makes it steadier.
    • Why not “A hundred times the ripple”? A bigger capacitor smooths more, not less. Ripple ≈ ΔI ÷ (8 × f × C), with C on the bottom.
Keep practising: free lesson

“Chop it down” is lesson 3 of 6 in Buck Bay, Power & Energy World 2. Free with an account. Lessons unlock in order, so you’ll do the 9 before it first.

Questions people ask

What is the output voltage of a buck converter?

About the input times the duty cycle, the fraction of each cycle the switch is on: V_out ≈ D × V_in. Half the time on from 12 V gives about 6 V, a little less after the losses in the diode and the coil.

Why does a buck converter need a diode?

When the switch turns off, the coil's current can't stop at once. The diode, from ground to the switch side of the coil, gives it a path to keep flowing into the load. Many converters use a second MOSFET instead, a synchronous buck, which wastes less.

Why is a buck converter so efficient?

Its switch is always either fully on, with almost no voltage across it, or fully off, with no current through it, so it barely heats. The coil and capacitor store energy and hand it on rather than burning it. Typical efficiency is 85–95%.

How do I reduce buck converter ripple?

Use a bigger output capacitor or switch faster: ripple ≈ ΔI ÷ (8 × f × C). A bigger coil shrinks the current's wobble, ΔI, too. That's why converters switching at a megahertz or more can use tiny parts.

Every topic