How a boost converter works
It uses the same parts as a buck converter, rearranged. When the switch is on, it connects the inductor across the input, and current builds up in it, storing energy in its magnetic field. When the switch opens, the inductor keeps its current flowing (just as in the flyback diode lab), and its voltage adds to the input voltage, pushing the current through the diode into the output capacitor and load. The capacitor holds the output steady while the switch is on again.
In steady state, the inductor's voltage must average zero over a cycle. That gives the output voltage:
Vout = Vin ÷ (1 − D)
where D is the duty cycle. At 50% the output is twice the input. At 75%, four times.
Current: what goes up must come down
In an ideal converter, power in equals power out. So if the voltage goes up, the current goes down: stepping 5 V up to 12 V at 0.5 A needs 1.2 A from the input. That input current flows through the inductor, and through the switch while it's on, so the inductor and switch have to be rated for the input current plus half the ripple, not the output current. That's a common mistake when choosing parts.
The inductor current ramps up by ΔI = Vin × D ÷ (L × f) each cycle and back down by the same amount. If the load is light enough that the current falls to zero before the next cycle, the converter enters discontinuous mode, and the controller shortens the on-time to keep the output where it should be.
Limits in real converters
- A boost converter can't go below its input: with the switch off, the diode simply passes the input to the output. That also means it can't disconnect the load or limit a short circuit at the output.
- Efficiency drops at high duty cycles, because the switch, diode and inductor resistances carry large currents. Ratios above about 5 or 6 usually need a different design, such as a flyback converter or a transformer.
- Synchronous converters replace the diode with a second switch to save its voltage drop. That's how small modules turn a single 3.7 V lithium cell into 5 V for USB.
How this simulation works
This is an ideal, lossless boost converter in steady state: no voltage drop in the switch or diode, no inductor resistance, and an output capacitor big enough to hold the output steady. In discontinuous mode it assumes the controller adjusts the duty cycle to keep the output at the set voltage. Real converters have losses that make the duty cycle a little higher than shown, a minimum on-time, and output voltage ripple. The switch animation runs in slow motion. For step-down designs use the buck converter calculator.