Learn / Power / Buck and boost converters

Buck and Boost Converters

ReviewedIntermediate MakerAbout 6 min
LM2596
In short

Buck and Boost Converters: the short answer

A switching converter turns its input on and off very fast and smooths the result with an inductor and capacitors. Because the switch is either fully on or fully off, little energy is lost: efficiency of 80 to 95 % is normal, compared with Vout ÷ Vin for a linear regulator.

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

Pick between a linear regulator, a buck and a boost converter, and set one up safely.

Before this: Linear Regulators and Heat

A switching converter turns its input on and off very fast and smooths the result with an inductor and capacitors. Because the switch is either fully on or fully off, little energy is lost: efficiency of 80 to 95 % is normal, compared with Vout ÷ Vin for a linear regulator.

A buck converter steps voltage down (12 V to 5 V, for example with an LM2596 module). A boost converter steps it up (3.7 V from a Li-ion cell to 5 V, for example with an MT3608). Power in is roughly power out divided by efficiency, so a boost converter draws more current from its input than it gives at its output: 5 V at 0.5 A from a 3.7 V cell needs about 0.8 A from the cell at 85 % efficiency.

Adjustable modules have a small multi-turn potentiometer. Always set the output voltage with a multimeter before connecting your board: many arrive set far higher than 5 V. Switching converters also add a little ripple (small fast wobbles) to their output, which can disturb sensitive analog readings. Extra capacitors at the load, and keeping the wiring short, help.

Why switching beats linear for a big drop

A linear regulator turns the voltage difference into heat. Dropping 12 V to 5 V at 1 A wastes about 7 W. A buck converter switches the input on and off quickly into an inductor and capacitor, and the average output is set by the duty cycle, so efficiency is often 85 to 95 percent.

A boost converter does the opposite and raises a voltage, such as 3.7 V from a Li-ion cell to 5 V. The ideal boost output is the input divided by one minus the duty cycle, so it needs a higher duty cycle for a bigger step-up.

Reading a module's limits

A cheap module lists an input range, an output setting and a current rating, often in the best case. Efficiency falls at light loads and near the limits. A boost converter pulling 5 V at 1 A from a 3.7 V cell draws well over 1.4 A from the battery, which matters for the cell's rating and for battery life.

Switching converters make noise at their switching frequency. For a sensitive analog or radio circuit, add an LC filter or a small linear regulator after the converter.

Layout and heat

Keep the high-current loop through the switch, inductor and input capacitor small. Use an inductor rated for the peak current, because a saturated inductor makes the converter run hot or fail. Check the module on a real load while measuring temperature, not only with a multimeter at no load.

Common mistakes
  • Using a linear regulator for a large voltage drop and a heavy load, and overheating it.
  • Trusting the rated current of a cheap module without testing under load.
  • Powering a noise-sensitive sensor directly from a switching converter.
Key formulas
D = Vout ÷ Vin
buck duty cycle
D = 1 − Vin ÷ Vout
boost duty cycle
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

Intermediate lesson · Maker plan

Practise this lesson with Maker

The explanation above is free for everyone. The practice for Intermediate lessons in every domain are part of the Maker plan at ₹499 a month, and Pro includes them too.

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

Common questions

What will I learn in "Buck and Boost Converters"?

Pick between a linear regulator, a buck and a boost converter, and set one up safely.