title: Tutorial 201: Buck Converter¶
Tutorial 201: Buck Converter¶
Overview¶
The buck converter is the most fundamental step-down DC-DC topology. It efficiently converts a higher DC voltage to a lower DC voltage using PWM control. This tutorial covers buck converter operation, design equations, and simulation analysis.
Level: Intermediate (⅔)
Duration: 30-40 minutes
Series: DC-DC Converters
Learning Objectives¶
By the end of this tutorial, you will: - [ ] Understand buck converter operation in CCM and DCM - [ ] Apply the volt-second balance principle - [ ] Calculate output voltage, inductor current ripple, and capacitor voltage ripple - [ ] Design a buck converter for given specifications - [ ] Simulate and verify converter operation
Prerequisites¶
- Complete Tutorial 103: PWM Basics
- Understanding of inductor and capacitor behavior
- Basic circuit analysis skills
Materials¶
| File | Description |
|---|---|
buck_simple.ipes | Simple open-loop buck converter |
A_Buck.ipes | Complete buck converter example |
Buck_Exercise.pdf | Exercise problems |
Buck_Solution.pdf | Solutions with detailed explanations |
Circuit Description¶
Buck Converter Topology¶
+Vin ──────┬──[S]──┬──[L]──┬── +Vout
│ │ │
│ [D] [C] [R] Load
│ │ │ │
GND ───────┴───────┴───────┴───────┴── GND
Components: - S: High-side switch (MOSFET/IGBT), controlled by PWM - D: Freewheeling diode (Schottky recommended) - L: Output inductor (energy storage) - C: Output capacitor (voltage smoothing) - R: Load resistance
Operating Modes¶
Switch ON (0 < t < D·Ts): - Current path: Vin → S → L → C/R → GND - Inductor voltage: VL = Vin - Vout (positive, current increases) - Diode: Reverse biased (OFF)
Switch OFF (D·Ts < t < Ts): - Current path: L → C/R → GND → D → L (freewheeling) - Inductor voltage: VL = -Vout (negative, current decreases) - Diode: Forward biased (ON)
Key Equations¶
Output Voltage (Volt-Second Balance)¶
In steady state, the average inductor voltage is zero:
Solving:
Key insight: Output voltage is directly proportional to duty cycle!
Inductor Current Ripple¶
Output Voltage Ripple¶
Assuming ESR = 0:
Including ESR:
Boundary Condition (CCM/DCM)¶
CCM is maintained when average inductor current > ripple/2:
Critical inductance for CCM:
Design Parameters¶
Example Design Specifications¶
| Parameter | Value | Unit |
|---|---|---|
| Input Voltage (Vin) | 48 | V |
| Output Voltage (Vout) | 12 | V |
| Output Current (Iout) | 5 | A |
| Output Power (Pout) | 60 | W |
| Switching Frequency (fs) | 100 | kHz |
| Max Voltage Ripple | 1% | of Vout |
| Max Current Ripple | 30% | of IL,avg |
Step-by-Step Design¶
1. Calculate Duty Cycle:
2. Calculate Load Resistance:
3. Calculate Inductance: For 30% ripple:
ΔIL = 0.3 × Iout = 0.3 × 5 = 1.5 A
L = Vout × (1-D) / (fs × ΔIL)
L = 12 × 0.75 / (100k × 1.5) = 60 μH
4. Calculate Capacitance: For 1% ripple (120 mV):
Choose: C = 22 μF (standard value)Building the Circuit¶
Step 1: Power Stage¶
- Add voltage source (Vin = 48V DC)
- Add ideal switch (or MOSFET) - high-side position
- Add diode - cathode to switch node, anode to ground
- Add inductor (L = 68 μH)
- Add capacitor (C = 22 μF) in parallel with load
- Add resistor (R = 2.4 Ω)
Step 2: PWM Control¶
- Add PWM signal generator:
- Frequency: 100 kHz
- Duty cycle: 0.25
- Connect PWM output to switch gate
Step 3: Measurements¶
- Add SCOPE
- Connect channels to:
- Output voltage (Vout)
- Inductor current (IL)
- Switch voltage (Vds)
Step 4: Simulation Settings¶
- Simulation time: 2 ms (200 switching cycles)
- Time step: 50 ns (or automatic)
- Solver: TRZ
Expected Results¶
Steady-State Waveforms¶
| Signal | Expected Value |
|---|---|
| Vout (average) | 12 V |
| Vout (ripple) | ~100 mV p-p |
| IL (average) | 5 A |
| IL (ripple) | ~1.5 A p-p |
| Switch Vds | 0/48 V |
Waveform Characteristics¶
Output Voltage: - DC level at 12V - Small triangular ripple - Frequency = 2×fs (double switching frequency)
Inductor Current: - Triangular waveform - Average = Iout - Ramps up during ON, down during OFF
Exercises¶
Exercise 1: Vary Duty Cycle¶
- Open
buck_simple.ipes - Change duty cycle from 0.1 to 0.5 in steps of 0.1
- Record Vout for each D
- Verify: Vout = D × Vin
Exercise 2: CCM to DCM Transition¶
- Set D = 0.25, L = 68 μH
- Increase R from 2.4Ω to 24Ω (light load)
- Observe: Does inductor current reach zero?
- Calculate: At what load does DCM begin?
Exercise 3: Ripple Analysis¶
- With L = 68 μH, C = 22 μF, measure ripple
- Double L to 136 μH, measure ripple
- Double C to 44 μF, measure ripple
- Compare: Which has more effect on voltage ripple?
Exercise 4: Component Stress¶
- Measure peak switch current (= IL,max)
- Measure peak diode voltage (= Vin)
- Design: Select components with 2× margin
Exercise 5: Efficiency Estimation¶
- Add realistic component losses:
- Switch: Ron = 10 mΩ
- Diode: Vf = 0.5V
- Inductor: DCR = 20 mΩ
- Calculate: Pin, Pout, efficiency
Common Issues¶
| Issue | Cause | Solution |
|---|---|---|
| Output too low | Wrong duty cycle | Check D = Vout/Vin |
| High ripple | L or C too small | Increase L or C |
| DCM operation | Light load | Increase L or add min load |
| Ringing | Parasitic inductance | Add snubber |
Efficiency Considerations¶
Typical loss breakdown: | Loss Type | Formula | Example | |-----------|---------|---------| | Switch conduction | Irms² × Ron | 25mW | | Switch switching | Vds × Id × (trise + tfall) × fs | 1W | | Diode conduction | Iavg × Vf + Irms² × Rd | 2.5W | | Inductor copper | Irms² × DCR | 0.5W | | Inductor core | From datasheet | 0.2W |
Related Tutorials¶
- 202 - Boost Converter - Step-up topology
- 203 - Buck-Boost - Inverting topologies
- 501 - Loss Calculation - Thermal analysis
References¶
- Erickson, R.W., Maksimovic, D. "Fundamentals of Power Electronics" - Chapter 7
- Mohan, N. "Power Electronics" - DC-DC Converters
- Texas Instruments SLVA477: "Buck Converter Design"
Tutorial Version: 1.0 Last updated: 2026-02 Compatible with GeckoCIRCUITS v1.0+