# Lesson 3: Boost and buck-boost

Rearrange the buck's parts and the same two balance rules give a converter that steps the voltage up, or one that turns it negative. This lesson works both, shows why a boost's input current grows faster than its output voltage, why it settles slowly, and why the switch of a buck-boost must block more than either the input or the output.

**Time:** about 35 minutes. **You need:** [Lesson 2](https://voltecx-web.nguyenvanqui291.workers.dev/course/buck-converter).

## Open it in Voltecx

In **Guided Lessons**, choose **Course 3 · Boost and buck-boost**. The boost is also **File › Open Example › DC-DC › Boost converter**; the lesson builds the buck-boost for you from a template.

![The boost converter: 12 V source, L1 = 200 µH, switch S1, diode D1, C1 = 220 µF and a 24 Ω load, 50 kHz PWM at a duty of 0.5](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/boost-and-buck-boost/boost.svg)

## The boost converter

The inductor sits at the input. While the switch is on it sees $V_{in}$; while the diode conducts it sees $V_{in} - V_{out}$, which is negative. Volt-second balance:

$$V_{in}\,D + (V_{in} - V_{out})(1 - D) = 0 \quad\Rightarrow\quad V_{out} = \frac{V_{in}}{1 - D} = 24\ \text{V}.$$

Every watt delivered comes through the inductor, so with no losses $V_{in}\,\bar I_L = V_{out}\,I_{out}$ and

$$\bar I_L = \frac{I_{out}}{1 - D} = 2\ \text{A}, \qquad \Delta I_L = \frac{V_{in}\,D}{L\,f_{sw}} = 0.6\ \text{A}.$$

The capacitor alone feeds the load while the switch is on, so the output ripple is $I_{out}\,D/(C\,f_{sw}) = 45.5$ mV. The run gives 23.99 V, 2.00 A, 0.60 A and 45.6 mV.

### Why the boost settles slowly

Read the output at the default 10 ms and it is 23.89 V, not 24. Seen from its output, a boost behaves like an LC filter whose inductance is $L/(1 - D)^2 = 800$ µH. With C1 it resonates at

$$f_0 = \frac{1}{2\pi\sqrt{800\ \mu\text{H} \times 220\ \mu\text{F}}} = 379\ \text{Hz},$$

and the 24 Ω load damps it lightly, so it rings for tens of milliseconds. Run 60 ms before you read a steady state.

![The boost output over 60 ms: a slow, lightly damped ring around 24 V](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/boost-and-buck-boost/boost-settling.svg)

Raise the duty to 0.6 and the output should be $12/0.4 = 30$ V. The load now takes $30^2/24 = 37.5$ W, so the inductor must carry $37.5/12 = 3.125$ A: the output voltage went up by a quarter, the input current by more than half. The run gives 29.98 V and 3.13 A. That is why a boost at high gain is limited by its inductor and switch currents, not by its duty cycle.

## The inverting buck-boost

![The inverting buck-boost the template builds: switch S1 from the input to the switch node, L1 from the switch node to ground, D1 pointing into the switch node, C1 and the load on the negative output](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/boost-and-buck-boost/buck-boost.svg)

Now the switch connects the input to the inductor, and the diode connects the inductor to the output in the reverse direction. While the switch is on the inductor sees $V_{in}$; while the diode conducts it sees $V_{out}$, which is negative. Balance gives

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

so 24 V out of 12 V needs $D = 2/3$. The template sizes the inductor at 133.3 µH for a 20 % ripple. Its inductor carries $I_{out}/(1 - D) = 3$ A.

The switch node swings from $+V_{in}$ while the switch is on to $V_{out}$ while the diode conducts. So both the switch and the diode must block

$$V_{in} + |V_{out}| = 36\ \text{V},$$

more than either side of the converter. The run gives −23.72 V (the template's source has a 1 % resistive drop at full load), 2.96 A in the inductor, and a 35.8 V swing at the switch node.

![Switch node and inductor current of the buck-boost over three periods](https://voltecx-web.nguyenvanqui291.workers.dev/media/course/boost-and-buck-boost/buck-boost-waveforms.svg)

The same circuit is also worked in full, from the hand calculation to the run, in the [worked example](https://voltecx-web.nguyenvanqui291.workers.dev/worked-examples/boost-converter-12v-to-24v).

## Exercises

1. **Boost output.** Predict $V_{out}$, $\bar I_L$ and $\Delta I_L$. Set the End time to 60 ms and run. *(Checked: 23.8 to 24.2 V, 1.95 to 2.05 A, ripple 0.55 to 0.65 A.)*
2. **Raise the duty.** Set the Duty block to 0.6. Predict the output and, from the power balance, the inductor current. *(Checked: 29.7 to 30.2 V, 3.05 to 3.2 A.)*
3. **Buck-boost.** Build it with the lesson's button. What duty does it need for −24 V from 12 V?
4. **Switch stress.** Predict the swing of the switch node, then run. *(Checked: −24.2 to −23.4 V out, at least 35 V of swing.)*

## Answers

1. 24 V, 2 A, 0.6 A; the run gives 23.99 V, 2.00 A and 0.60 A. At 10 ms it is still 23.89 V.
2. 30 V and 3.125 A; the run gives 29.98 V and 3.13 A.
3. $D = 2/3$; the template sets D = 0.667 and L1 = 133.3 µH.
4. $V_{in} + |V_{out}|$ = 36 V; the run gives −23.72 V and a 35.8 V swing.

## Lab handout

**Objective.** Derive the boost and buck-boost conversion ratios from volt-second balance, check the input current from the power balance, and find the voltage the switch must block.

**Before the lab.** Compute the "Predicted" column. For the boost, also compute the resonant frequency of $L/(1-D)^2$ with C1 and estimate how many milliseconds the output needs to settle.

**Procedure.**

1. Open **Course 3 · Boost and buck-boost** in Guided Lessons and complete its steps.
2. For each run, read the values from the scope over the last periods.
3. Export the boost's 60 ms start-up as an SVG for your report.

| Quantity | Predicted | Simulated | Difference |
|---|---|---|---|
| Boost output, D = 0.5, V | | | |
| Boost inductor current, A | | | |
| Boost inductor ripple, A | | | |
| Boost output, D = 0.6, V | | | |
| Boost inductor current, D = 0.6, A | | | |
| Buck-boost duty for −24 V | | | |
| Buck-boost switch-node swing, V | | | |

**Report questions.**

1. Why does a boost's inductor current grow faster than its output voltage as the duty rises?
2. Why does the boost settle more slowly than the buck of lesson 2?
3. Choose a switch for the buck-boost: what voltage rating and what derating would you use, and why?

## References

The boost and buck-boost, their conversion ratios and their steady-state waveforms are derived in R. W. Erickson and D. Maksimović, *Fundamentals of Power Electronics*, 3rd ed., Springer, 2020 (chapters 2 and 6), and in D. W. Hart, *Power Electronics*, McGraw-Hill, 2011. The exercises and numbers here are Voltecx's own.

**Next:** [Lesson 4: The flyback converter](https://voltecx-web.nguyenvanqui291.workers.dev/course/flyback-converter).
