---
title: Averaged small-signal models
heading: Averaging away the switching ripple, perturbing and linearizing about the operating point, the control-to-output transfer functions of the buck and boost, and the boost's right-half-plane zero and duty-dependent resonance
eyebrow: S11 · Lesson 16 · Averaged small-signal models
xp: 50
---

::: hook
To regulate a converter with feedback (S9's tools), we need a transfer function from the duty cycle to the output. But a converter is a switched, nonlinear circuit. Averaging over a switching period removes the switching, leaving a smooth nonlinear model; perturbing it slightly about the steady state and dropping the products of small quantities leaves a linear one. The result for a buck is a plain LC filter driven by $V_g\hat{d}$. For a boost it's stranger: a resonance that moves with the operating point and a right-half-plane zero that limits how fast any controller can be.
:::

::: play
- The Bode plot of a boost converter's control-to-output transfer function (12 V in, L = 47 µH, C = 10 µF, a 24 Ω load) at the slider's duty cycle.
- The resonance sits at $(1 - D)/2\pi\sqrt{LC}$, falling as D rises. The phase keeps falling past −180° after the resonance because of the right-half-plane zero at $(1 - D)^2R/2\pi L$.
- Raise D and the zero moves down fast, toward the resonance: high-ratio boosts are hard to control.
:::

```sim plot
view: bode
x: f = 100..200k Hz log
slider: D = 0.2..0.85 = 0.75
H: 12/(1 - D)^2*(1 - j*2*pi*f*47e-6/((1 - D)^2*24))/(1 + j*2*pi*f*47e-6/((1 - D)^2*24) + (j*2*pi*f)^2*47e-6*10e-6/(1 - D)^2)
marker: x = (1 - D)/(2*pi*sqrt(47e-6*10e-6)) | label: resonance
marker: x = (1 - D)^2*24/(2*pi*47e-6) | label: RHP zero
readout: resonance, Hz = (1 - D)/(2*pi*sqrt(47e-6*10e-6)) | digits: 4
readout: RHP zero, Hz = (1 - D)^2*24/(2*pi*47e-6) | digits: 4
```

::: predict
## A buck converter's duty cycle is perturbed by a small amount $\hat{d}$. What drives the output's small-signal response?

- [ ] Nothing: the buck is linear and duty doesn't enter
- [x] A source $V_g\hat{d}$ feeding the same LC filter
- [ ] A source $\hat{d}/(1 - D)^2$
- [ ] The switching ripple

::: reveal
The averaged switch-node voltage is $dV_g$, so a perturbation $\hat{d}$ adds $V_g\hat{d}$ at the input of the LC filter, and the output responds as $G_{vd} = V_g/(1 + sL/R + s^2LC)$: a second-order low-pass, resonating at $1/2\pi\sqrt{LC}$ with Q = $R\sqrt{C/L}$.
:::
:::

::: nameit
## Averaging

Replace each waveform by its average over one switching period, $\langle x\rangle_{T_s}$. The ripple disappears and the circuit equations become, for example for the boost:

$$L\frac{d\langle i\rangle}{dt} = \langle v_g\rangle - d'\langle v\rangle, \qquad C\frac{d\langle v\rangle}{dt} = d'\langle i\rangle - \frac{\langle v\rangle}{R}$$

with $d' = 1 - d$. This model is valid for frequencies well below $f_s$.

## Linearizing

Write each quantity as a DC value plus a small perturbation ($d = D + \hat{d}$, $\langle v\rangle = V + \hat{v}$, ...) and keep only first-order terms. Products like $d'\langle v\rangle$ become $D'\hat{v} - V\hat{d}$.

## Control-to-output transfer functions

$$\text{Buck: } G_{vd} = \frac{V_g}{1 + s\frac{L}{R} + s^2LC}$$

$$\text{Boost: } G_{vd} = \frac{V}{D'}\cdot\frac{1 - s\frac{L}{D'^2R}}{1 + s\frac{L}{D'^2R} + s^2\frac{LC}{D'^2}}$$

The boost's resonance is at $D'/2\pi\sqrt{LC}$ and its **right-half-plane zero** at $D'^2R/2\pi L$: increasing the duty cycle first takes energy away from the output (the inductor is disconnected longer) before the extra inductor current arrives. The buck-boost has the same structure. A canonical circuit model (an ideal transformer, effective L and C, and duty-dependent sources) covers all three.
:::

::: example
## Find the boost's transfer-function features at D = 0.75: 12 V in, L = 47 µH, C = 10 µF, R = 24 Ω.

::: solution
1. **DC gain.** With D′ = 0.25:
   $$\begin{aligned} \frac{V}{D'} &= \frac{48}{0.25} \\ &= 192\ \text{V} \end{aligned}$$
   per unit duty, so 0.01 more duty raises the output 1.92 V.
2. **Resonance.**
   $$\begin{aligned} f_0 &= \frac{0.25}{2\pi\sqrt{47\ \mu\text{H} \times 10\ \mu\text{F}}} \\ &= 1.84\ \text{kHz} \end{aligned}$$
3. **Q.**
   $$\begin{aligned} Q &= D'R\sqrt{C/L} \\ &= 2.77 \end{aligned}$$
4. **Right-half-plane zero.**
   $$\begin{aligned} f_z &= \frac{0.0625 \times 24}{2\pi \times 47\ \mu\text{H}} \\ &= 5.08\ \text{kHz} \end{aligned}$$
5. **Crossover.** A safe crossover sits well below both.

**Answer:** a DC gain of 192 V per unit duty, a resonance at 1.84 kHz with Q = 2.77, and a right-half-plane zero at 5.08 kHz.
:::
:::

::: example
## Find the buck's features: 12 V in, L = 10 µH, C = 22 µF, a 1.65 Ω load (2 A at 3.3 V).

::: solution
1. **DC gain.** It's $V_g$, 12 V per unit duty.
2. **Resonance.**
   $$\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{220 \times 10^{-12}}} \\ &= 10.7\ \text{kHz} \end{aligned}$$
3. **Q.**
   $$\begin{aligned} Q &= 1.65\sqrt{22/10} \\ &= 2.45 \end{aligned}$$
   a peak of 7.8 dB.
4. **Phase.** The phase falls from 0° to −180° through the resonance; there's no right-half-plane zero.

**Answer:** a DC gain of 12 V per unit duty and a resonance at 10.7 kHz with Q = 2.45 (a 7.8 dB peak), with no right-half-plane zero.
:::
:::

::: example
## A buck has L = 10 µH and C = 22 µF. Find its resonance and how its Q changes from a 1.65 Ω full load to a 33 Ω light load.

::: solution
1. **Resonance.**
   $$\begin{aligned} f_0 &= \frac{1}{2\pi\sqrt{LC}} \\ &= 10.7\ \text{kHz} \end{aligned}$$
2. **Characteristic impedance.**
   $$\begin{aligned} Z_0 &= \sqrt{L/C} \\ &= 0.674\ \Omega \end{aligned}$$
3. **Q at each load.** With the load across the capacitor, $Q = R/Z_0$:
   $$\begin{aligned} Q_\text{full} &= 1.65/0.674 \\ &= 2.45 \\ Q_\text{light} &= 33/0.674 \\ &= 49 \end{aligned}$$
   At light load that's a peak of 34 dB.
4. **What it means for the loop.** A voltage-mode loop designed at full load must keep its margins at light load too, where the resonance is sharp and its phase drops abruptly.

**Answer:** the resonance is at 10.7 kHz, and Q rises from 2.45 at full load to 49 (a 34 dB peak) at light load.
:::
:::

::: check
given: L = 4.7 | 10 | 33; C = 10 | 47 | 220
answer: 1/(2*pi*sqrt(L*1e-6*C*1e-6))/1000
unit: kHz
tolerance: 0.5%

## A buck has L = {L} µH and C = {C} µF. Where's the resonance of its control-to-output transfer function?

::: right
Right. $1/2\pi\sqrt{LC}$ = {answer} kHz.
:::

::: misses
- [1/sqrt(L*1e-6*C*1e-6)/1000] That's in rad/s (in thousands); divide by 2π.
- [any] Not yet. The LC filter's corner.
:::
:::

::: check
given: L = 4.7 | 15 | 33; C = 10 | 47; R = 0.5 | 2 | 10
answer: R*sqrt(C/L)
tolerance: 0.5%

## A buck with L = {L} µH and C = {C} µF feeds {R} Ω. What's the Q of its resonance?

::: right
Right. $R\sqrt{C/L}$ = {answer}.
:::

::: misses
- [R*sqrt(L/C)] Q = $R/Z_0$ with $Z_0 = \sqrt{L/C}$.
- [any] Not yet. Compare $1 + sL/R + s^2LC$ with $1 + s/(Q\omega_0) + s^2/\omega_0^2$.
:::
:::

::: check
given: D = 0.3 | 0.5 | 0.75; L = 22 | 100; C = 10 | 47
answer: (1 - D)/(2*pi*sqrt(L*1e-6*C*1e-6))/1000
unit: kHz
tolerance: 0.5%

## A boost at D = {D} has L = {L} µH and C = {C} µF. Where's its resonance?

::: right
Right. $D'/2\pi\sqrt{LC}$ = {answer} kHz.
:::

::: misses
- [1/(2*pi*sqrt(L*1e-6*C*1e-6))/1000] The boost's effective inductance is $L/D'^2$, which moves the resonance down by D′.
- [any] Not yet. $\omega_0 = D'/\sqrt{LC}$.
:::
:::

::: check
given: D = 0.3 | 0.5 | 0.75; L = 22 | 100; R = 10 | 50
answer: (1 - D)^2*R/(2*pi*L*1e-6)/1000
unit: kHz
tolerance: 0.5%

## A boost at D = {D} with L = {L} µH feeds {R} Ω. Where's its right-half-plane zero?

::: right
Right. $D'^2R/2\pi L$ = {answer} kHz.
:::

::: misses
- [(1 - D)*R/(2*pi*L*1e-6)/1000] D′ is squared.
- [any] Not yet. The numerator of $G_{vd}$: $1 - sL/(D'^2R)$.
:::
:::

::: check
given: g = 5 | 12 | 24; D = 0.4 | 0.6 | 0.75
answer: g/(1 - D)^2
unit: V
tolerance: 0.5%

## What's the DC gain of a boost's control-to-output transfer function, from {g} V at D = {D}, in volts per unit duty cycle?

::: right
Right. $V/D' = V_g/D'^2$ = {answer} V.
:::

::: misses
- [g/(1 - D)] That's the output voltage; the gain is $dV/dD = V_g/D'^2$.
- [any] Not yet. Differentiate $V_g/(1 - D)$ with respect to D.
:::
:::

::: check
given: R = 2 | 5 | 12; L = 4.7 | 15; C = 22 | 100
answer: 20*log(R*sqrt(C/L))
unit: dB
tolerance: 0.05

## How high above its DC gain does a buck's control-to-output transfer function peak at resonance (L = {L} µH, C = {C} µF, R = {R} Ω)?

::: right
Right. $20\log Q$ = {answer} dB.
:::

::: misses
- [R*sqrt(C/L)] In decibels, take $20\log Q$.
- [any] Not yet. At resonance the magnitude is Q times the DC gain.
:::
:::

::: check
kind: parts
given: L = 4.7 | 10 | 22; C = 22 | 100; R = 1 | 10 | 50

## A buck has L = {L} µH and C = {C} µF and feeds {R} Ω.

::: part
answer: 1/(2*pi*sqrt(L*1e-6*C*1e-6))/1e3
unit: kHz
tolerance: 0.5%

### Where is its resonance?

::: misses
- [any] $1/(2\pi\sqrt{LC})$.
:::
:::

::: part
answer: 20*log(R/sqrt(L/C))
unit: dB
tolerance: 1%

### How high is the resonant peak, given by Q = R/Z₀?

::: misses
- [any] $20\log_{10}(R/\sqrt{L/C})$.
:::
:::
:::

::: check
kind: derivation
vars: D = 0.1..0.85, L = 0.000005..0.0005, C = 0.000005..0.001, R = 1..200, g = 5..50

## A boost from g volts at duty D has L, C and load R.

::: step
answer: (1 - D)/(2*pi*sqrt(L*C))

### Where is its resonance, in hertz?
:::

::: step
answer: R*(1 - D)^2/(2*pi*L)

### Where is its right-half-plane zero, in hertz?
:::

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

### What is its control-to-output DC gain, in volts per unit duty?
:::

::: right
Right. Heavy load and high duty cycle both pull the zero down, which is why the boost's worst case is full load at low line.
:::
:::

::: explain
## Why does a boost converter's control-to-output transfer function have a right-half-plane zero?

::: model
Raising the duty cycle keeps the switch on longer, which ultimately builds more inductor current and raises the output. But in the very next switching period, a longer on-time also means a shorter off-time, the only interval in which the inductor delivers current to the output. So the immediate effect of more duty is less charge reaching the output capacitor and a dip in the output voltage, before the larger inductor current catches up. A response that starts in the wrong direction is the signature of a right-half-plane zero, and since no controller can undo it, the loop's crossover must stay well below the zero's frequency.
:::
:::

::: practice

::: check
given: L = 2.2 | 22; C = 22 | 330
answer: 1/(2*pi*sqrt(L*1e-6*C*1e-6))/1000
unit: kHz
tolerance: 0.5%

## Buck resonance: L = {L} µH, C = {C} µF?

::: misses
- [any] $1/2\pi\sqrt{LC}$.
:::
:::

::: check
given: D = 0.4 | 0.8; L = 15 | 68; R = 5 | 40
answer: (1 - D)^2*R/(2*pi*L*1e-6)/1000
unit: kHz
tolerance: 0.5%

## Boost RHP zero: D = {D}, L = {L} µH, R = {R} Ω?

::: misses
- [any] $D'^2R/2\pi L$.
:::
:::

::: check
given: g = 3.3 | 24; D = 0.35 | 0.7
answer: g/(1 - D)^2
unit: V
tolerance: 0.5%

## Boost DC duty gain: {g} V, D = {D}?

::: misses
- [any] $V_g/D'^2$.
:::
:::
:::
