---
title: Steady-state converter analysis
heading: Inductor volt-second balance, capacitor charge balance and the small-ripple approximation, used to find the conversion ratios and inductor currents of the buck, boost and buck-boost converters
eyebrow: S11 · Lesson 2 · Steady-state converter analysis
xp: 50
---

::: hook
Analyzing a switching converter exactly means solving a different linear circuit in each switch state and stitching the pieces together, which gets messy fast. Two facts make it easy. In steady state an inductor's current returns to the same value every period, so the average voltage across it is zero; and a capacitor's voltage returns too, so its average current is zero. With the ripple treated as small, those two balances give every converter's output voltage and currents in a few lines.
:::

::: play
- The conversion ratio $M = V/V_g$ against duty cycle for the three basic converters: buck (D), boost $1/(1 - D)$ and buck-boost $-D/(1 - D)$, shown as a magnitude.
- The buck can only step down; the boost only up, and steeply near D = 1; the buck-boost does either, with inverted polarity.
- The readouts give each converter's output at the slider's duty cycle from a 12 V input.
:::

```sim plot
view: graph
x: D = 0..0.95
y: M = 0..8
slider: d = 0.05..0.9 = 0.75
plot: D | samples: 400 | label: buck
plot: 1/(1 - D) | samples: 400 | color: ch3 | label: boost
plot: D/(1 - D) | samples: 400 | color: ch4 | label: buck-boost (magnitude)
marker: x = d | label: D
readout: buck from 12 V, V = 12*d | digits: 4
readout: boost from 12 V, V = 12/(1 - d) | digits: 4
readout: buck-boost from 12 V, V = -12*d/(1 - d) | digits: 4
```

::: predict
## A boost converter raises 12 V to 48 V for a 2 A load. What current flows in its inductor?

- [ ] 2 A, the load current
- [ ] 0.5 A
- [x] 8 A
- [ ] 24 A

::: reveal
The duty cycle is 1 − 12/48 = 0.75, and the inductor's current reaches the output only during the off-time, a fraction 1 − D = 0.25 of the period. To deliver 2 A on average it must carry 2/0.25 = 8 A, which is also what power balance says: 96 W at 12 V is 8 A.
:::
:::

::: nameit
## The principles

- **Inductor volt-second balance:** in steady state $\langle v_L\rangle = 0$ over a period, since $L\,di/dt$ integrates to zero.
- **Capacitor charge balance:** $\langle i_C\rangle = 0$.
- **Small-ripple approximation:** in a well-designed converter the switching ripple on capacitor voltages and inductor currents is small, so inside the balance equations each is replaced by its DC value.

## The buck

On: $v_L = V_g - V$. Off: $v_L = -V$. Balance: $D(V_g - V) + (1 - D)(-V) = 0$, so

$$V = DV_g, \qquad I_L = I_\text{load}$$

## The boost

On: $v_L = V_g$ (switch to ground). Off: $v_L = V_g - V$ (inductor feeds the output). Balance: $DV_g + (1 - D)(V_g - V) = 0$:

$$V = \frac{V_g}{1 - D}, \qquad I_L = \frac{I_\text{load}}{1 - D}$$

## The buck-boost

On: $v_L = V_g$. Off: $v_L = V$ (output negative). Balance: $DV_g + (1 - D)V = 0$:

$$V = -\frac{D}{1 - D}V_g, \qquad I_L = \frac{|I_\text{load}|}{1 - D}$$

The inductor current always comes from charge balance on the output capacitor: the load's average must equal the inductor's current averaged over the fraction of the period it feeds the output.
:::

::: example
## Find the boost's duty cycle and inductor current for 12 V to 48 V at 2 A.

::: solution
1. **Duty cycle.**
   $$\begin{aligned} 48 &= \frac{12}{1 - D} \\ D &= 0.75 \end{aligned}$$
2. **Inductor current.** The capacitor receives the inductor current only during the off-time, so
   $$\begin{aligned} (1 - D)I_L &= 2\ \text{A} \\ I_L &= 8\ \text{A} \end{aligned}$$
3. **Check by power balance.**
   $$\begin{aligned} 12\ \text{V} \times 8\ \text{A} &= 96\ \text{W} \\ &= 48\ \text{V} \times 2\ \text{A} \end{aligned}$$

**Answer:** D = 0.75, and the inductor carries 8 A.
:::
:::

::: example
## A buck-boost runs at D = 0.6 from 12 V and delivers 1.5 A. What are its output and inductor current?

::: solution
1. **Output voltage.**
   $$\begin{aligned} V &= -\frac{0.6}{0.4} \times 12\ \text{V} \\ &= -18\ \text{V} \end{aligned}$$
2. **Inductor current.**
   $$\begin{aligned} I_L &= \frac{1.5\ \text{A}}{1 - 0.6} \\ &= 3.75\ \text{A} \end{aligned}$$
3. **Compare with D = 0.5.** At D = 0.5 the output would be −12 V: equal in magnitude to the input.

**Answer:** the output is −18 V, and the inductor carries 3.75 A.
:::
:::

::: example
## A buck converts 48 V to 12 V at 10 A. Find D and the average currents in the transistor, the diode and the input.

::: solution
1. **Duty cycle.**
   $$\begin{aligned} D &= \frac{12}{48} \\ &= 0.25 \end{aligned}$$
2. **Transistor and diode currents.** The inductor carries the 10 A load; the transistor conducts it for D of the time and the diode for the rest:
   $$\begin{aligned} I_Q &= 0.25 \times 10\ \text{A} \\ &= 2.5\ \text{A} \\ I_D &= 0.75 \times 10\ \text{A} \\ &= 7.5\ \text{A} \end{aligned}$$
3. **Input current and power.** The input current is the transistor's, 2.5 A, so
   $$\begin{aligned} P_\text{in} &= 48\ \text{V} \times 2.5\ \text{A} \\ &= 120\ \text{W} \end{aligned}$$
   the same as the output.
4. **What it means.** The ideal buck is a DC transformer, stepping voltage down and current up.

**Answer:** D = 0.25; the transistor averages 2.5 A, the diode 7.5 A and the input 2.5 A.
:::
:::

::: check
given: V = 5 | 12 | 48; D = 0.25 | 0.4 | 0.65
answer: D*V
unit: V
tolerance: 0.5%

## A buck converter runs from {V} V at D = {D}. What's its output?

::: right
Right. $DV_g$ = {answer} V.
:::

::: misses
- [V/(1 - D)] That's the boost.
- [any] Not yet. Volt-second balance on the inductor.
:::
:::

::: check
given: V = 5 | 12 | 24; D = 0.3 | 0.5 | 0.8
answer: V/(1 - D)
unit: V
tolerance: 0.5%

## A boost converter runs from {V} V at D = {D}. What's its output?

::: right
Right. $V_g/(1 - D)$ = {answer} V.
:::

::: misses
- [V*(1 + D)] The gain goes as $1/(1 - D)$, not $1 + D$.
- [any] Not yet. $DV_g + (1 - D)(V_g - V) = 0$.
:::
:::

::: check
given: g = 3.3 | 12 | 48; k = 1.5 | 3 | 8
answer: 1 - 1/k
tolerance: 0.5%

## A boost must raise {g} V to {k} times that. What duty cycle?

::: right
Right. $1 - V_g/V$ = {answer}.
:::

::: misses
- [1/k] That's $1 - D$.
- [any] Not yet. Solve $V/V_g = 1/(1 - D)$.
:::
:::

::: check
given: I = 0.5 | 2 | 6; D = 0.4 | 0.6 | 0.8
answer: I/(1 - D)
unit: A
tolerance: 0.5%

## A boost at D = {D} delivers {I} A. What's its inductor's average current?

::: right
Right. $I_\text{load}/(1 - D)$ = {answer} A.
:::

::: misses
- [I] The inductor feeds the output only during the off-time.
- [I*(1 - D)] Divide by $1 - D$.
- [any] Not yet. Charge balance on the output capacitor.
:::
:::

::: check
given: V = 5 | 12 | 24; D = 0.3 | 0.55 | 0.75
answer: D/(1 - D)*V
unit: V
tolerance: 0.5%

## A buck-boost runs from {V} V at D = {D}. What's the magnitude of its output?

::: right
Right. $\frac{D}{1 - D}V_g$ = {answer} V (negative polarity).
:::

::: misses
- [V/(1 - D)] That's the boost; the buck-boost has D in the numerator.
- [any] Not yet. $DV_g + (1 - D)V = 0$.
:::
:::

::: check
given: g = 5 | 12; V = 15 | 24 | 60
answer: g - V
unit: V
tolerance: 0.5%

## A boost raises {g} V to {V} V. What's the voltage across its inductor while the switch is off?

::: right
Right. $V_g - V$ = {answer} V: the inductor's voltage reverses to push current up to the output.
:::

::: misses
- [V - g] Measured in the direction of the inductor current, the voltage is $V_g - V$, negative.
- [any] Not yet. The inductor connects input to output during the off-time.
:::
:::

::: check
kind: parts
given: g = 24 | 48 | 60; V = 5 | 12; I = 4 | 10 | 20

## A buck converts {g} V to {V} V at {I} A.

::: part
answer: V/g
tolerance: 0.5%

### What is its duty cycle?

::: misses
- [any] V/V_g.
:::
:::

::: part
answer: V/g*I
unit: A
tolerance: 0.5%

### What average current does its transistor carry?

::: misses
- [I] It conducts only for D of the period.
- [any] DI.
:::
:::

::: part
answer: (1 - V/g)*I
unit: A
tolerance: 0.5%

### And its diode?

::: misses
- [any] (1 − D)I.
:::
:::
:::

::: check
kind: derivation
vars: g = 1..100, D = 0.05..0.9, R = 1..100

## A boost runs from g volts at duty cycle D into R ohms.

::: step
answer: g/(1 - D)

### What is its output voltage?
:::

::: step
answer: g/(1 - D)/(R*(1 - D))

### What is its inductor current?
:::

::: right
Right. The inductor carries the input current, $1/(1 - D)$ times the load current.
:::
:::

::: explain
## Why must the average voltage across an inductor be zero in steady state?

::: model
The voltage across an inductor sets how fast its current changes, $di/dt = v_L/L$. Over one switching period the current changes by the integral of $v_L/L$. In steady state the current at the end of each period must equal the current at the start, or it would keep drifting from one period to the next. So the integral of the voltage over a period, and therefore its average, must be zero: the volt-seconds applied while the current rises must be cancelled by the volt-seconds while it falls. That one condition is what fixes each converter's output voltage as a function of duty cycle.
:::
:::

::: practice

::: check
given: V = 9 | 36; D = 0.2 | 0.7
answer: V/(1 - D)
unit: V
tolerance: 0.5%

## Boost output: {V} V at D = {D}?

::: misses
- [any] $V_g/(1 - D)$.
:::
:::

::: check
given: V = 5 | 48; D = 0.35 | 0.65
answer: D/(1 - D)*V
unit: V
tolerance: 0.5%

## Buck-boost output magnitude: {V} V at D = {D}?

::: misses
- [any] $\frac{D}{1 - D}V_g$.
:::
:::

::: check
given: I = 1 | 10; D = 0.25 | 0.75
answer: I/(1 - D)
unit: A
tolerance: 0.5%

## Boost inductor current: {I} A at D = {D}?

::: misses
- [any] $I/(1 - D)$.
:::
:::
:::
