# Boost converter design: duty cycle, inductor and the right-half-plane zero

Design a boost from its lowest input voltage: there the duty cycle $D = 1 - V_{in}/V_{out}$ is largest, the input current $I_o/(1-D)$ is highest and the right-half-plane (RHP) zero $f_{RHP} = R(1-D)^2/(2\pi L)$ is lowest. The RHP zero limits a voltage-mode loop's crossover to roughly a fifth of $f_{RHP}$ or less. For 10–14 V to 24 V at 2 A and 200 kHz, a 25 µH inductor gives a 5.4 A peak current at 10 V and puts the RHP zero at 13 kHz, so the loop must cross below about 2.6 kHz.

## What are the steady-state equations of a boost?

In continuous conduction (Erickson and Maksimović, *Fundamentals of Power Electronics*, steady-state analysis):

$$\frac{V_{out}}{V_{in}} = \frac{1}{1 - D}, \qquad I_{in} = I_L = \frac{I_o}{1 - D}$$

$$\Delta I_L = \frac{V_{in}\, D}{f_{sw}\, L}, \qquad \Delta V_{out} = \frac{I_o\, D}{f_{sw}\, C}$$

The switch and the diode each carry the full inductor current, the switch during $D$ and the diode during $(1-D)$. The output capacitor supplies the whole load current while the switch is on, so its ripple current is large, unlike a buck's.

In plain words, a boost works in two beats. While the switch is on, the inductor is shorted across the input and charges up; the output gets nothing and lives on its capacitor. While the switch is off, the inductor's current is pushed through the diode on top of the input voltage, which is how the output ends up higher than the input. The longer the charging beat ($D$), the higher the output, and the more current the input must supply for the same output power.

![The boost of this article in Voltecx: inductor L1 = 25 µH from the input to the switch node, switch S1 to ground, diode D1 to the output, C1 = 47 µF and a 12 Ω load (24 V at 2 A), driven open loop at the duty D.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/boost-converter-design-rhp-zero/boost.svg)

## Worked example: 10–14 V to 24 V, 2 A, 200 kHz

### Duty cycle and inductor current

| $V_{in}$ | $D$ | $I_{in}$ | $\Delta I_L$ (25 µH) | $I_{pk}$ |
|---|---|---|---|---|
| 10 V | 0.583 | 4.80 A | 1.17 A | 5.38 A |
| 12 V | 0.500 | 4.00 A | 1.20 A | 4.60 A |
| 14 V | 0.417 | 3.43 A | 1.17 A | 4.01 A |

![The inductor current simulated in Voltecx at 10, 12 and 14 V input. The ripple stays near 1.2 A at every input, but the whole triangle moves up as the input falls: the peak is 5.38 A at 10 V against 4.01 A at 14 V.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/boost-converter-design-rhp-zero/inductor-current-vs-vin.svg)

The inductor was sized for a 30 % ripple at the nominal 12 V: $L = 12 \times 0.5 / (200\,\text{kHz} \times 1.2\,\text{A}) = 25$ µH. The ripple $V_{out}D(1-D)/(f_{sw}L)$ is largest at $D = 0.5$, so it barely changes over this range, while the peak current is set by low line. Choose the inductor's saturation current and the switch's current limit from the 5.38 A at 10 V plus margin.

### Output capacitor

For 120 mV of ripple (0.5 %) at $D = 0.5$:

$$C \ge \frac{2 \times 0.5}{200\,\text{kHz} \times 0.12\,\text{V}} = 41.7\ \mu\text{F}$$

so 47 µF effective (106 mV ripple). At $D = 0.583$ the ripple grows to about 124 mV; recompute at your worst duty.

## What is the right-half-plane zero?

Imagine you want more output voltage, so you raise the duty cycle. The switch now stays on longer, and the inductor charges for longer. But the diode, the only path to the output, now conducts for a shorter part of each period. For the first few periods the inductor current has not yet grown, so the output gets *less* current than before, and the output voltage dips. Only once the inductor current has built up does the output start to rise. The converter first moves the wrong way.

![A duty step from 0.5 to 0.6 at 12 V input, simulated in Voltecx and averaged over each 5 µs switching period. The diode current drops at once from 2.0 A to 1.76 A and the output dips 37 mV over the next three periods, while the inductor current climbs. Only about 20 µs after the step is the output back above its old level.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/boost-converter-design-rhp-zero/duty-step-rhp-zero.svg)

A control loop that reacts quickly to that dip makes things worse: it sees the output fall, raises the duty cycle further, and the output falls more. That is why the loop has to be slow compared with this effect.

In the frequency domain, the effect shows up as a zero in the right half plane. The control-to-output transfer function has a zero in the right half plane (Erickson and Maksimović, converter transfer functions):

$$f_{RHP} = \frac{R\,(1 - D)^2}{2\pi L}$$

It adds gain like a zero but phase lag like a pole, and no compensator can cancel it. The loop must cross over well below it.

![The control-to-output transfer function Gvd of the boost at 10 V and 14 V input, from the plant model in Voltecx's design.voltageLoop. The LC resonance peaks near 2 kHz; above it, the right-half-plane zeros (vertical lines at 13.3 and 26 kHz) flatten the gain while the phase keeps falling, past −180° and on toward −360°.](https://voltecx-web.nguyenvanqui291.workers.dev/media/blog/boost-converter-design-rhp-zero/plant-bode.svg)

With $R = 24/2 = 12$ Ω and 25 µH:

| $V_{in}$ | $f_{RHP}$ | LC resonance $f_0 = \frac{1-D}{2\pi\sqrt{LC}}$ (47 µF) |
|---|---|---|
| 10 V | 13.3 kHz | 1.9 kHz |
| 12 V | 19.1 kHz | 2.3 kHz |
| 14 V | 26.0 kHz | 2.7 kHz |

The worst case is low line at full load: $f_{RHP} = 13.3$ kHz. A crossover at a fifth of it, 2.6 kHz, sits right on the LC double pole, which makes a voltage-mode design hard.

How hard? Asked for a Type III crossing at 2.6 kHz at 10 V, Voltecx's `design.voltageLoop` refuses even with only 30° of phase margin: with this lightly damped LC filter, the highest crossover it can place is about 265 Hz, below the resonance. So in practice, voltage mode leaves this boost with a loop of a few hundred hertz, and the output capacitor has to carry every load step on its own for that long.

## How do you get around it?

- **Peak current mode.** The inner current loop removes the LC double pole from the outer loop, which leaves a single pole and the RHP zero. The crossover can then go to about $f_{RHP}/5$ with a simple Type II compensator.
- **A smaller inductor.** $f_{RHP} \propto 1/L$; halving $L$ doubles $f_{RHP}$ but doubles the ripple.
- **Lower bandwidth.** If the load is slow, accept a crossover of a few hundred hertz and size the output capacitor for the load step.

## What limits the boost ratio?

The ideal gain $1/(1-D)$ goes to infinity as $D \to 1$, but the inductor's resistance, the switch and diode drops limit the real gain. Erickson and Maksimović show the output peaking and then falling at high duty when losses are included. Beyond a step-up of about 4 to 5, a coupled-inductor, tapped or isolated topology is often a better choice.

## Common mistakes

- **Designing at nominal input.** The peak current, the input current and the lowest RHP zero all come at the lowest input voltage. Check that corner first.
- **Using the buck's capacitor rule.** In a boost the output capacitor carries the full load current every time the switch is on. Its ripple current, and the ripple voltage, are far larger than in a buck of the same power.
- **Pushing the crossover up with more phase boost.** No compensator cancels a right-half-plane zero. Phase you add is taken back by the zero's lag.
- **Forgetting light load and high line.** The RHP zero moves with load and input. A loop tuned at one corner can be unstable at another; check them all.
- **Expecting high boost ratios.** Above a step-up of about 4 to 5, losses eat the gain and the RHP zero moves very low. Look at other topologies.

## How to do it in Voltecx

1. Open **File › Open Example › boostClosedLoop** (24 V from 12 V with a slow PI) or draw a boost with `circuit.template`.
2. The Design panel's **Converter** task (`design.converter`) sizes L and C for the boost. The **Voltage loop** task (`design.voltageLoop`) picks a PI, Type II or Type III for your crossover and phase margin and checks it three ways: on the model, by measuring the loop gain on the circuit, and with a 50 % load step.
3. In automatic design, a converter with an RHP zero gets its loop from `design.robustLoop`, which designs over every corner of the input and load range, including light-load discontinuous conduction.
4. `design.compare` (**Design › Automate › Compare Topologies and Control**) designs voltage mode, peak current mode, average current mode and a digital PI for the same phase margin on a boost and simulates each through a load step.
5. `analysis.loopGain` measures the loop gain on the switching circuit, so you can see the RHP zero's phase lag at low line.

See the [loop gain article](https://voltecx-web.nguyenvanqui291.workers.dev/blog/loop-gain-phase-margin-simulation) for reading margins, and the [design tools overview](https://voltecx-web.nguyenvanqui291.workers.dev/features/design-tools).

## Frequently asked questions

### Why is the boost RHP zero worst at low input voltage?

$f_{RHP} = R(1-D)^2/(2\pi L)$ falls as $D$ rises, and $D$ is largest at the lowest input voltage. Full load (smallest $R$) lowers it further.

### Can a compensator cancel the right-half-plane zero?

No. A compensator zero cannot cancel a right-half-plane zero without creating an unstable pole. Keep the crossover well below it, typically under a fifth of its lowest value.

### Does current-mode control remove the RHP zero?

No. It removes the LC double pole from the voltage loop, which makes compensation easier, but the RHP zero stays in the control-to-output transfer function.

### Where is the boost's inductor ripple largest?

At $D = 0.5$, that is when the input is half the output: $\Delta I = V_{out}D(1-D)/(f_{sw}L)$ peaks there.
