---
title: Boost and buck-boost converters
heading: How rearranging the same switch, diode and inductor steps voltage up or inverts it, the conversion ratios from volt-second balance, input current and inductor ripple in a boost, and why a real boost converter can't reach an arbitrarily high voltage
eyebrow: D2 · Lesson 3 · Boost and buck-boost converters
xp: 40
---

::: hook
An LED flashlight running from one AA cell needs about 3 V from a 1.5 V battery, and a laptop charger must make 20 V from a phone's 5 V USB port. A buck converter can't do either: it can only step down. Rearrange the same three parts, a switch, a diode and an inductor, and you get a boost converter, which steps up, or a buck-boost, which can do either but inverts the polarity. The same principle sets all their ratios: the inductor's average voltage must be zero.
:::

::: play
- Conversion ratio $M = V_\text{out}/V_\text{in}$ against duty cycle D for the buck (D), the boost (1/(1 − D)) and the buck-boost (magnitude D/(1 − D)).
- The dashed curve is a boost with its inductor's resistance $R_L$ included, as a fraction r of the load resistance: $M = (1 - D)/((1 - D)^2 + r)$.
- The ideal boost heads to infinity as D → 1; the real one peaks and then collapses, because the inductor current grows and its resistance eats the output.
:::

```sim plot
view: graph
x: D = 0..0.98
y: M = 0..12
slider: r = 0.001..0.1 = 0.01 log
plot: D | color: ch5 | label: buck
plot: 1/(1 - D) | samples: 400 | color: ch3 | label: boost (ideal)
plot: D/(1 - D) | samples: 400 | color: ch4 | label: buck-boost (magnitude)
plot: (1 - D)/((1 - D)^2 + r) | samples: 400 | dashed | label: boost with inductor resistance
readout: highest real boost ratio = 1/(2*sqrt(r)) | digits: 3
readout: reached at duty = 1 - sqrt(r) | digits: 3
```

::: predict
## A boost converter must make 12 V from a 5 V input. What duty cycle does it need, ignoring losses?

- [ ] 0.42
- [x] About 0.58
- [ ] 2.4
- [ ] 0.29

::: reveal
$V_\text{out} = V_\text{in}/(1 - D)$, so 1 − D = 5/12 and D = 0.583. The inductor charges from the 5 V input for 58% of the cycle and discharges into the 12 V output, through 12 − 5 = 7 V, for the other 42%: 5 × 0.583 = 7 × 0.417, so its volt-seconds balance.
:::
:::

::: nameit
## The boost converter

The inductor connects to the input. With the switch on, the inductor is across the input and its current ramps up; with the switch off, the inductor's current flows through the diode into the output. Volt-second balance, $V_\text{in}D = (V_\text{out} - V_\text{in})(1 - D)$, gives

$$V_\text{out} = \frac{V_\text{in}}{1 - D}$$

Because power is conserved, the input current is the output current divided by 1 − D, and the inductor carries the whole input current, with ripple $\Delta I = V_\text{in}D/(Lf_s)$.

## The buck-boost converter

The inductor sits between the switch and the diode: on, it charges from the input; off, it discharges into the output in reverse. So

$$V_\text{out} = -V_\text{in}\frac{D}{1 - D}$$

which steps down for D < 0.5 and up for D > 0.5, with inverted polarity. The SEPIC and Ćuk converters (S11) do the same job with extra parts, without inverting or with continuous input current.

## Real limits

The boost's inductor carries $I_\text{out}/(1 - D)$, so its resistance loses more and more as D grows. With inductor resistance $R_L$ and load R, the ratio is $(1 - D)/((1 - D)^2 + R_L/R)$, which peaks at $1/(2\sqrt{R_L/R})$. Practical boosts stop at ratios around 5 to 10.
:::

::: example
## A boost converter makes 12 V at 0.5 A from 5 V at 500 kHz with a 10 µH inductor. Find the duty cycle, input current and inductor ripple.

::: solution
1. **Duty cycle.**
   $$\begin{aligned} D &= 1 - 5/12 \\ &= 0.583 \end{aligned}$$
2. **Input current.**
   $$\begin{aligned} I_\text{in} &= 0.5 \times 12/5 \\ &= 1.2\ \text{A} \end{aligned}$$
3. **Inductor ripple.**
   $$\begin{aligned} \Delta I &= \frac{5 \times 0.583}{10\ \text{µH} \times 500\ \text{kHz}} \\ &= 0.58\ \text{A} \end{aligned}$$
   peak to peak.

**Answer:** D = 0.583, the input current is 1.2 A, and the inductor ripple is 0.58 A peak to peak.
:::
:::

::: example
## What duty cycle makes a buck-boost give −5 V from 12 V? If a boost's inductor resistance is 1% of the load resistance, what's its highest ratio?

::: solution
1. **Buck-boost duty cycle.**
   $$\frac{D}{1 - D} = \frac{5}{12}$$
   gives
   $$\begin{aligned} D &= 5/17 \\ &= 0.294 \end{aligned}$$
2. **Boost's highest ratio.** It peaks at
   $$\frac{1}{2\sqrt{0.01}} = 5$$
   at $D = 1 - 0.1 = 0.9$.
3. **Past the peak.** Pushing D higher lowers the output.

**Answer:** a duty cycle of 0.294 gives −5 V, and the boost's highest ratio is 5, at D = 0.9.
:::
:::

::: example
## The boost in the first example has a diode that drops 0.5 V. What duty cycle does it really need for 12 V out?

::: solution
1. **What the inductor must lift.** The output plus the diode:
   $$V_\text{out} + V_D = \frac{V_\text{in}}{1 - D}$$
2. **Duty cycle.**
   $$\begin{aligned} D &= 1 - 5/12.5 \\ &= 0.6 \end{aligned}$$
   against 0.583 ideally.
3. **Removing the drop.** A synchronous MOSFET in place of the diode removes most of that drop.

**Answer:** it needs a duty cycle of 0.6.
:::
:::

::: check
given: a = 3.3 | 5 | 12; D = 0.3 | 0.6 | 0.75
answer: a/(1 - D)
unit: V
tolerance: 0.5%

## An ideal boost converter runs from {a} V at duty cycle {D}. What's its output?

::: right
Right. $V_\text{in}/(1 - D)$ = {answer} V.
:::

::: misses
- [a/D] It's 1 − D, the off-time fraction, in the denominator.
- [any] Not yet. Volt-second balance on the inductor.
:::
:::

::: check
given: a = 5 | 12; D = 0.25 | 0.4 | 0.7
answer: -a*D/(1 - D)
unit: V
tolerance: 0.5%

## An ideal buck-boost converter runs from {a} V at duty cycle {D}. What's its output voltage?

::: right
Right. $-V_\text{in}D/(1 - D)$ = {answer} V.
:::

::: misses
- [a*D/(1 - D)] A buck-boost inverts.
- [any] Not yet. The inductor charges from the input and discharges into the output.
:::
:::

::: check
given: a = 3.3 | 5; b = 12 | 24; I = 0.2 | 0.5 | 1
answer: I*b/a
unit: A
tolerance: 0.5%

## A lossless boost converter makes {b} V at {I} A from {a} V. What current does it draw?

::: right
Right. $I_\text{out}V_\text{out}/V_\text{in}$ = {answer} A.
:::

::: misses
- [I] Power in equals power out, so the input current is larger.
- [any] Not yet. Power balance.
:::
:::

::: check
given: r = 0.002 | 0.01 | 0.04
answer: 1/(2*sqrt(r))
tolerance: 0.5%

## A boost converter's inductor resistance is {r} times its load resistance. What's the highest voltage ratio it can reach?

::: right
Right. $1/(2\sqrt{R_L/R})$ = {answer}.
:::

::: misses
- [any] Not yet. Maximize $(1 - D)/((1 - D)^2 + r)$.
:::
:::

::: check
kind: parts
given: Vi = 3.3 | 5 | 12; Vo = 15 | 24; I = 0.2 | 1; d = 0 | 0.5

## A boost makes {Vo} V at {I} A from {Vi} V; its diode drops {d} V.

::: part
answer: 1 - Vi/(Vo + d)
tolerance: 0.5%

### What duty cycle does it need?

::: misses
- [any] $1 - V_i/(V_o + V_D)$.
:::
:::

::: part
answer: Vo*I/Vi
unit: A
tolerance: 0.5%

### Ignoring losses, what input current does it draw?

::: misses
- [any] $V_oI_o/V_i$.
:::
:::
:::

::: check
kind: parts
given: Vi = 5 | 12 | 24; Vo = 3 | 5 | 15

## An ideal buck-boost makes −{Vo} V from {Vi} V.

::: part
answer: Vo/(Vi + Vo)
tolerance: 0.5%

### What duty cycle?

::: misses
- [any] Solve $D/(1 - D) = V_o/V_i$.
:::
:::

::: part
answer: Vi + Vo
unit: V
tolerance: 0.5%

### What voltage does the switch block when off?

::: misses
- [any] Input plus output magnitude.
:::
:::
:::

::: explain
## Why can't a real boost converter reach a very high voltage just by pushing its duty cycle toward 1?

::: model
In an ideal boost the output is the input divided by the off-time fraction, so it rises without limit as the off time shrinks. But the inductor must carry the input current, which is the output current divided by that same off-time fraction, so it grows rapidly as the duty cycle approaches 1. The inductor's resistance, and the switch's, dissipate power in proportion to the square of that current, and eventually those losses grow faster than the ideal gain, so the output reaches a maximum and then falls. Practical boost converters therefore stop at ratios of five to ten and use transformers or cascades for more.
:::
:::

::: practice

::: check
given: a = 1 | 48; D = 0.1 | 0.85
answer: a/(1 - D)
unit: V
tolerance: 0.5%

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

::: misses
- [any] $V_\text{in}/(1 - D)$.
:::
:::

::: check
given: a = 1 | 48; D = 0.1 | 0.85
answer: -a*D/(1 - D)
unit: V
tolerance: 0.5%

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

::: misses
- [any] $-V_\text{in}D/(1 - D)$.
:::
:::

::: check
given: a = 1 | 48; b = 50 | 400
answer: 1 - a/b
tolerance: 0.5%

## Boost duty for {a} V to {b} V?

::: misses
- [any] $1 - V_\text{in}/V_\text{out}$.
:::
:::
:::
