A learning project by Huy · AI-assisted content · Updated
Power15 min read
Step-Down Voltage: Buck Converters
See how a switching regulator reduces DC voltage efficiently and why duty cycle alone is only the ideal starting point.
Mental model
Instead of burning excess voltage as heat, a buck converter delivers energy in rapid packets and smooths them with an inductor and capacitor.
When QSW turns off, the inductor current continues through the freewheel diode; L and Cout smooth the switched waveform into lower DC voltage.UNDERSTAND THE BEHAVIOR
01
When the high-side switch turns on, the input supplies the load and increases inductor current. When it turns off, the inductor keeps current flowing through the freewheel path. The output capacitor absorbs the difference between inductor current and load current.
02
In continuous conduction and the ideal steady state, the inductor's average voltage over one cycle is zero. This volt-second balance leads to Vout = DVin. Real switch drops, resistance, dead time, and control behavior make the actual duty cycle different.
03
Switching frequency and allowed ripple determine the starting inductor and capacitor values. Component ratings must cover peak current and voltage. A compact high-current loop and careful grounding are essential because poor PCB layout creates ringing, EMI, and unstable measurements.
Why it matters
Buck converters power processors, sensors, motors, and battery systems efficiently when the required DC voltage is below the available supply.
Core ideas
In the ideal continuous-conduction model, average output voltage is duty cycle times input voltage.
The inductor limits current ripple and the capacitor limits output-voltage ripple.
Switch, diode, inductor, capacitor, control-loop, layout, and thermal losses determine real performance.
Key equationsIdeal: Vout = D × VinDuty cycle: D = Vout/VinEfficiency: η = Pout/Pin
EXAMPLE
Worked example — 12 V to 5 V
1The ideal duty cycle is D = 5/12 = 0.417, or 41.7%.
2A 5 V, 1 A load needs 5 W output power.
3At 90% efficiency, input power is 5/0.90 = 5.56 W and average input current is about 0.463 A.
4Choose parts from ripple and peak-current calculations, not only from average current.
Common mistake
A resistor divider is not a substitute for a regulator when load current changes. Its output voltage depends strongly on the load and wastes power.
RememberIn the ideal continuous-conduction model, average output voltage is duty cycle times input voltage.
DEEPER EXPLANATION
How can switching create a lower DC voltage?
A buck converter rapidly connects and disconnects its input through a switching element. The inductor stores energy while current rises and releases energy while current falls; an output capacitor smooths the resulting voltage. In steady-state continuous conduction, the inductor's average voltage over one switching cycle must be zero.
During the on interval, the ideal inductor sees Vin − Vout. During the off interval, it sees approximately −Vout. If D is the fraction of a cycle spent on, voltage balance gives D(Vin − Vout) + (1 − D)(−Vout) = 0, which simplifies to Vout = D × Vin. Here D = 0.25 means 25% on-time, not the number 25.
This relationship is a first estimate. Semiconductor voltage drops and resistance, controller limits, light-load operating mode and switching loss alter the real output. The inductor and capacitor values also set ripple and transient behavior; the duty-cycle calculator does not size those parts.
Walk through another example
Aim for 3.3 V from 12 V. The ideal duty ratio is D = 3.3/12 = 0.275, or 27.5%.
Check: 0.275 × 12 V = 3.3 V. At 100 kHz the period is 10 μs and ideal on-time would be 2.75 μs.
The regulator then changes its duty ratio as needed to compensate for real losses and changes in load, within the limits of its control design.
Check your intuition
If Vin rises from 12 V to 15 V while desired Vout stays 3.3 V, the ideal D falls from 0.275 to 0.22.
Where this model can mislead you
Do not use Vout = D Vin to infer efficiency, inductor ripple, device temperature or whether a specific controller can meet the requirement.
TEST YOUR UNDERSTANDING
Three quick checks
Choose one answer per question, then check your work. Each answer includes an explanation.
Practice and check your understanding
Try each question before opening the worked answer.
1. For an ideal continuous-conduction buck converter, find the duty cycle for 12 V to 3 V.
Show answer and reasoning
D = Vout/Vin = 3/12 = 0.25 = 25%. Enter 0.25, not 25, in a solver using fractional duty cycle. Losses and operating mode affect the real result.
2. Does the switch alone produce a smooth DC output?
Show answer and reasoning
No. The switch creates a pulsed waveform. The inductor and capacitor exchange and store energy to reduce ripple, while the control loop regulates the average output.