Buck Converter Working Principle: Duty Cycle Formula and Design Guide

Share:
Electrical Fundamentals
Buck Converter Working Principle: Duty Cycle Formula and Design Guide

A buck converter steps down a DC input voltage to a lower DC output voltage. It switches a transistor on and off at high frequency. The on/off ratio sets the output voltage.

This guide explains the switching cycle, the duty cycle formula, the role of each component, a fully worked design example, and a live duty cycle calculator.

Duty Cycle Formula MOSFET Switching Inductor Selection Output Ripple Efficiency

A linear regulator wastes excess voltage as heat. A buck converter recycles it, achieving efficiencies of 85 to 97 percent.

For any application where a supply must power circuits at a lower voltage, a buck converter is almost always the right choice.

buck converter

How a Buck Converter Works: The 2-Phase Switching Cycle

A buck converter controls output voltage by repeating two phases thousands of times per second. The ratio of the ON phase to the full period is called the duty cycle.

ON
Switch closed duration = D x T
MOSFET conducts. Energy stores in the inductor.
The high-side MOSFET switches on. Current flows from Vin through the MOSFET, through the inductor, and into the output capacitor and load. The inductor current rises linearly. Energy is stored in the inductor's magnetic field. The output capacitor absorbs the extra current above what the load needs.
OFF
Switch open duration = (1-D) x T
MOSFET opens. Inductor releases stored energy.
The MOSFET switches off. The inductor opposes the change in current and forces current to continue flowing in the same direction. The freewheeling diode (or synchronous rectifier MOSFET) provides a path for this inductor current. The inductor current falls linearly. The output capacitor supplies the load during this phase.
Inductor current (IL) Switch state ON OFF ON OFF One switching period T = 1/f D x T (1-D) x T ΔIL
Did You Know? A buck converter in continuous conduction mode (CCM) means the inductor current never falls to zero during the OFF phase. In discontinuous conduction mode (DCM), the inductor current reaches zero before the next ON phase begins. CCM gives lower output ripple and is used at full load. DCM occurs at light loads and changes the gain formula. Most designs target CCM at full load.

The boundary between CCM and DCM occurs at the critical inductance: L critical = (Vout x (1 minus D)) / (2 x f x Iload). Choosing an inductance above this value keeps the converter in CCM at the target load current.
Advertisement

The Duty Cycle Formula Explained

D = Vout / Vin
Duty Cycle = Output Voltage divided by Input Voltage (ideal buck converter, CCM)
D
Duty cycle (0 to 1). Fraction of each switching period that the MOSFET is ON.
Vout
Target output voltage (V). Always lower than Vin in a buck converter.
Vin
Input supply voltage (V). The voltage being stepped down.
f
Switching frequency (Hz). Typically 100 kHz to 2 MHz in modern designs.

The duty cycle formula assumes an ideal converter with zero losses. In a real buck converter, the MOSFET has an on-resistance (RDS(on)), the diode has a forward voltage drop, and the inductor has a DC resistance (DCR). These losses reduce the actual output voltage slightly below D x Vin. The controller compensates by increasing D to maintain the regulated output.

The MOSFET switching characteristics affect the effective duty cycle at high switching frequencies. At 2 MHz, a 10 ns rise time already occupies 2% of the switching period.

Tip: A duty cycle above 90% or below 10% should trigger a redesign.

Most buck converter controllers impose a minimum on-time and a maximum duty cycle. Operating near these limits reduces regulation quality and increases output ripple. If your duty cycle calculation gives D above 0.9 or below 0.1, choose a different input voltage range or use a different topology.

4 Key Components in a Buck Converter

MOSFET Switch
Controls energy flow by switching on and off at the switching frequency. The controller adjusts duty cycle to regulate Vout.
Select for: low RDS(on), low gate charge (Qg), voltage rating above Vin x 1.3
〰️
Inductor (L)
Stores energy during ON phase and releases it during OFF phase. Limits the ripple current. The most critical passive component.
Select for: inductance value, saturation current above Ipeak, low DCR
Output Capacitor (Co)
Filters the ripple current from the inductor and supplies the load between switching cycles. Its ESR (equivalent series resistance) directly sets the output voltage ripple.
Select for: low ESR, capacitance to meet ripple spec, voltage rating
🔁
Freewheeling Diode
Provides the inductor current path during the OFF phase. In synchronous buck converters, a second low-side MOSFET replaces the diode for higher efficiency.
Select for: fast recovery, low Vf (Schottky preferred), current rating
Advertisement

Live Duty Cycle and Inductor Design Calculator

Buck Converter Design Calculator
Adjust inputs to calculate duty cycle, inductor value, and ripple current
12 V
5.0 V
2.0 A
300 kHz
0.30
Duty cycle D = Vout / Vin--
Minimum inductance L (for target ripple)--
Peak inductor current Ipeak--
RMS inductor current (approx.)--
Critical inductance (CCM/DCM boundary)--

Worked Example: 12 V to 5 V at 2 A, 300 kHz

Buck converter design 12 V in, 5 V out, 2 A, 300 kHz
Given:
Vin = 12 V, Vout = 5 V, Iout = 2 A
Switching frequency f = 300 kHz, ripple ratio = 0.30

Step 1: Duty cycle
D = Vout / Vin = 5 / 12 = 0.417 (41.7%)

Step 2: Target ripple current
ΔIL = ripple ratio x Iout = 0.30 x 2 = 0.60 A peak-to-peak

Step 3: Minimum inductance
L = (Vin minus Vout) x D / (f x ΔIL)
L = (12 minus 5) x 0.417 / (300000 x 0.60)
L = 7 x 0.417 / 180000 = 2.917 / 180000 = 16.2 µH
Select standard value: 22 µH (next value above, gives lower ripple than spec)

Step 4: Peak inductor current (for saturation rating)
Ipeak = Iout + ΔIL/2 = 2 + 0.30 = 2.30 A
Select inductor with saturation current above 2.30 A with margin (e.g. 3 A rated)

Step 5: Critical inductance (CCM/DCM boundary at 2 A load)
Lcrit = Vout x (1 minus D) / (2 x f x Iout)
Lcrit = 5 x 0.583 / (2 x 300000 x 2) = 2.917 / 1200000 = 2.43 µH
Selected 22 µH is well above 2.43 µH: converter stays in CCM at full load

Step 6: Efficiency estimate (90% typical for this design)
Pin = Vout x Iout / efficiency = 5 x 2 / 0.90 = 11.1 W
Power dissipated as heat: 11.1 minus 10 = 1.1 W

5-Step Buck Converter Design Checklist

1

Define the specification: Vin range, Vout, Iout max, efficiency target

Use the worst-case Vin (minimum input) to calculate maximum duty cycle D max = Vout / Vin min. This is the critical operating point for inductor and MOSFET selection.

Use the maximum Vin to check that D min is above the controller's minimum on-time limit.

2

Choose switching frequency: higher frequency means smaller L and Co but lower efficiency

Higher switching frequency reduces inductance and capacitance values but increases MOSFET switching losses. A practical range is 100 kHz to 500 kHz for most designs.

Above 1 MHz is used in portable designs where small board area is the priority.

Use the decoupling capacitor guide to understand output capacitor selection.

3

Calculate inductance for target ripple current (20 to 40 percent of Iout)

Use L = (Vin minus Vout) x D / (f x ΔIL). A ripple current ratio of 30 percent of Iout is a good starting point. Lower ripple needs a larger inductor.

Higher ripple reduces inductor size but increases output ripple voltage and the risk of DCM at light loads.

4

Select components: MOSFET for low RDS(on), inductor above Ipeak saturation current

The MOSFET must withstand Vin plus ringing transients (use 1.3x Vin as the minimum voltage rating). The inductor saturation current rating must exceed Ipeak.

An inductor that saturates will lose its inductance and the ripple current will spike. See the MOSFET working principle guide for selection criteria.

5

Verify thermal performance: MOSFET and inductor must stay below their rated temperatures

Calculate MOSFET conduction loss: P = D x Iout squared x RDS(on). Total MOSFET power dissipation must stay below P max = (Tj max minus Tambient) / Rth(ja).

For the inductor, calculate I squared x DCR loss and verify the inductor body temperature does not exceed its rated value at maximum load.

Tip: Always test your buck converter with a load transient, not just a static load.

Steady-state regulation tells you the output voltage at one load point. A load transient test shows how quickly the control loop responds to a sudden load step (for example, from 0 A to full load in 1 microsecond). A slow control loop causes the output voltage to undershoot or overshoot. Test with the fastest expected load step in your system.

Buck Converter vs Linear Regulator: When to Choose Each

ParameterBuck ConverterLinear Regulator (LDO)
Efficiency85 to 97 percent. Loss is almost independent of Vin minus Vout.(Vout / Vin) x 100 percent. Large Vin minus Vout wastes power as heat.
Output ripple10 to 100 mV typical. Depends on switching frequency and capacitor ESR.Essentially zero ripple. Suitable for noise-sensitive analog circuits.
ComplexityController IC, MOSFET, inductor, diode, capacitors. More components and layout care required.Input cap, output cap, feedback resistors. Very simple design.
PCB areaLarger at low frequency. Shrinks to a few mm squared at 2 MHz with integrated solutions.Very small. Often a single IC with two capacitors.
EMIGenerates switching EMI. Requires careful PCB layout and sometimes input filtering.No switching. Very low EMI.
Best forAny design where Vin minus Vout is more than 1 to 2 V and load current exceeds 100 mA.Post-regulation after a buck, noise-sensitive ADC supplies, simple low-current rails.

Watch: Buck Converter Working Principle Explained

Advertisement

Buck Converter Questions Engineers Ask

What is the duty cycle formula for a buck converter?
The duty cycle formula is D = Vout / Vin. For 12 V to 5 V, D = 5/12 = 41.7 percent. The MOSFET is ON for 41.7 percent of each period.
What is continuous conduction mode in a buck converter?
CCM means the inductor current never reaches zero during the OFF phase. The converter stays in CCM when the inductance exceeds the critical value. CCM gives lower output ripple than DCM.
How do I select the inductor for a buck converter?
Calculate minimum inductance using L = (Vin minus Vout) x D / (f x ΔIL). Select an inductor with a saturation current rating above Ipeak = Iout + ΔIL/2 to prevent saturation.
Why is a buck converter more efficient than a linear regulator?
A linear regulator drops excess voltage as heat, giving efficiency equal to Vout/Vin. A buck converter switches energy into an inductor, achieving 85 to 97 percent efficiency regardless of the voltage ratio.
What causes output ripple in a buck converter?
Output ripple is caused by the triangular inductor current flowing through the output capacitor ESR. Reducing ripple requires a larger inductor, a higher switching frequency, or a lower-ESR output capacitor.

Related Articles on This Site

External References

Advertisement

What We Learn Today

  • A buck converter steps down DC voltage by switching a MOSFET on and off. The duty cycle D = Vout/Vin sets the output voltage. A 12 V to 5 V converter runs at D = 41.7 percent.
  • The inductor minimum value is L = (Vin minus Vout) x D / (f x ΔIL). The inductor saturation current rating must exceed Ipeak = Iout plus ΔIL/2. These two checks prevent inductor saturation and DCM at full load.
  • A buck converter achieves 85 to 97 percent efficiency because energy is stored in the inductor, not wasted as heat. A linear regulator's efficiency equals Vout/Vin and drops sharply with large input-to-output voltage differences.
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!

Leave a Reply

Your email address will not be published. Required fields are marked *