---
title: Switch realization and switching loss
heading: Power MOSFETs, IGBTs and diodes as real switches, conduction loss from on-resistance, switching loss from overlapping voltage and current during transitions, output-capacitance and reverse-recovery losses, and how they set the best switching frequency
eyebrow: S11 · Lesson 8 · Switch realization and switching loss
xp: 50
---

::: hook
The ideal switch of lesson 1 changes state instantly. A real MOSFET takes tens of nanoseconds, and during each transition it carries current and blocks voltage at the same time, dissipating a burst of energy. Do that hundreds of thousands of times a second and switching loss often dominates. Raising the frequency shrinks the inductor and capacitor but raises this loss in proportion, the central trade-off of converter design and the reason wide-bandgap transistors, which switch faster, have changed the field.
:::

::: play
- Losses in a 48 V to 12 V, 10 A buck's high-side MOSFET against switching frequency: conduction loss (flat), transition loss and output-capacitance loss (both rising with frequency).
- At low frequency conduction dominates; above a few tens of kilohertz the transitions do.
- Faster transitions (smaller t) push the crossover up: that's what GaN and SiC buy.
:::

```sim plot
view: graph
x: f = 20..2000 kHz log
y: P = 0.01..30 W log
slider: t = 2..50 = 20 ns log
slider: R = 2..30 = 10 mΩ log
plot: 100*R/1000*0.25 + 0*f | samples: 300 | label: conduction
plot: 0.5*48*10*2*t*1e-9*f*1e3 | samples: 300 | color: ch3 | label: transitions
plot: 0.5*500e-12*48^2*f*1e3 | samples: 300 | color: ch4 | label: output capacitance
readout: total at 200 kHz, W = 100*R/1000*0.25 + 0.5*48*10*2*t*1e-9*2e5 + 0.5*500e-12*48^2*2e5 | digits: 3
```

::: predict
## A MOSFET switches 48 V and 10 A with 20 ns rise and fall times at 200 kHz. Roughly how much does it lose in the transitions?

- [ ] About 0.02 W
- [ ] About 0.2 W
- [x] About 1.9 W
- [ ] About 19 W

::: reveal
During each transition voltage and current overlap; with linear ramps the energy is $\frac{1}{2}VIt$ per transition, so $P = \frac{1}{2}VI(t_r + t_f)f_s = \frac{1}{2}(48)(10)(40\text{ ns})(200\text{ kHz})$ = 1.92 W, nearly eight times the 0.25 W conduction loss of a 10 mΩ device at D = 0.25.
:::
:::

::: nameit
## Devices

- **Power MOSFETs:** majority carrier, fast, with on-resistance $R_\text{on}$ that rises steeply with voltage rating (roughly as $V_{BR}^{2.5}$ in silicon), so they dominate below a few hundred volts.
- **IGBTs:** bipolar conduction with a roughly constant $V_{CE(sat)}$ of 1 to 2 V, good at high voltage and current, but slow to turn off because of stored charge (current tailing).
- **Diodes:** PN diodes store charge and must sweep it out when they turn off (**reverse recovery**, $Q_{rr}$); Schottky diodes don't but are limited to low voltages.
- **Wide bandgap:** SiC MOSFETs (600 V to several kV) and GaN transistors (up to about 650 V) offer far lower resistance per area and capacitance for a given rating, so they switch faster with less loss.

## Conduction loss

$P = I_\text{rms}^2R_\text{on}$; for a buck's high-side switch with small ripple, $I_\text{rms}^2 = DI^2$. An IGBT or diode loses about $V_\text{on}\langle i\rangle$.

## Switching loss

With linear voltage and current ramps the overlap energy per transition is $\frac{1}{2}VI\,t$:

$$P_\text{sw} = \frac{1}{2}VI(t_\text{on} + t_\text{off})f_s$$

plus the energy in the switch's output capacitance discharged at each turn-on, $\frac{1}{2}C_{oss}V^2f_s$, and the diode's reverse-recovery charge, about $Q_{rr}Vf_s$.

## Choosing the frequency

Higher $f_s$ shrinks inductors and capacitors (lesson 3) but switching losses grow in proportion. Soft switching (lesson 41) removes much of the overlap loss.
:::

::: example
## Total the high-side losses of a 48 V to 12 V, 10 A buck at 200 kHz: $R_\text{on}$ = 10 mΩ, 20 ns transitions, $C_{oss}$ = 500 pF, diode $Q_{rr}$ = 50 nC.

::: solution
1. **Conduction.**
   $$\begin{aligned} P_\text{cond} &= 100 \times 0.01 \times 0.25 \\ &= 0.25\ \text{W} \end{aligned}$$
2. **Transitions.**
   $$\begin{aligned} P_\text{sw} &= \tfrac12 \times 48 \times 10 \times 40\text{ ns} \\ &\quad \times 200\text{ kHz} \\ &= 1.92\ \text{W} \end{aligned}$$
3. **Output capacitance and reverse recovery.**
   $$\begin{aligned} P_C &= \tfrac12(500\text{ pF})(48^2) \\ &\quad \times 200\text{ kHz} \\ &= 0.12\ \text{W} \\ P_{rr} &= 50\text{ nC} \times 48 \\ &\quad \times 200\text{ kHz} \\ &= 0.48\ \text{W} \end{aligned}$$
4. **Total.**
   $$\begin{aligned} P &= 0.25 + 1.92 \\ &\quad + 0.12 + 0.48 \\ &= 2.77\ \text{W} \end{aligned}$$
   on 120 W out, 97.7% for this switch pair.
5. **Where switching loss catches up.** The transition loss grows in proportion to frequency, so it equals conduction at only
   $$\begin{aligned} f &= 200\text{ kHz} \times \frac{0.25}{1.92} \\ &= 26\ \text{kHz} \end{aligned}$$

**Answer:** the high side loses 2.77 W in all, 97.7% for this switch pair.
:::
:::

::: example
## Why does a Schottky diode help here, and when can't you use one?

::: solution
1. **What a Schottky removes.** A Schottky has no stored minority charge, so it removes the 0.48 W of reverse recovery and the current spike that comes with it.
2. **Its limit.** Silicon Schottkys are limited to about 200 V.
3. **Above that.** SiC Schottky diodes or synchronous MOSFETs do the job.

**Answer:** a Schottky removes the 0.48 W of reverse-recovery loss and its current spike, but silicon Schottkys stop at about 200 V; above that, SiC Schottkys or synchronous MOSFETs take over.
:::
:::

::: example
## A 48 V, 10 A switch runs at 1 MHz. Compare the transition loss of a silicon MOSFET switching in 20 ns with a GaN transistor switching in 5 ns.

::: solution
1. **Overlap loss.** With equal rise and fall times t:
   $$\begin{aligned} P &\approx \tfrac12VI(t_r + t_f)f_s \\ &= VItf_s \end{aligned}$$
2. **Silicon, 20 ns.**
   $$\begin{aligned} P &= 48 \times 10 \times 20\text{ ns} \times 1\text{ MHz} \\ &= 9.6\ \text{W} \end{aligned}$$
3. **GaN, 5 ns.**
   $$\begin{aligned} P &= 48 \times 10 \times 5\text{ ns} \times 1\text{ MHz} \\ &= 2.4\ \text{W} \end{aligned}$$
4. **What it means.** At 1 MHz the silicon part's transitions alone would cost nearly 2% of a 480 W converter's power; GaN makes megahertz switching, and the smaller magnetics it allows, practical.

**Answer:** the silicon MOSFET loses 9.6 W in its transitions, the GaN transistor 2.4 W.
:::
:::

::: check
given: I = 5 | 15 | 40; R = 3 | 10 | 25; D = 0.2 | 0.5 | 0.8
answer: I^2*R/1000*D
unit: W
tolerance: 0.5%

## A buck's high-side MOSFET ({R} mΩ) carries {I} A at D = {D}. Ignoring ripple, what's its conduction loss?

::: right
Right. $DI^2R_\text{on}$ = {answer} W.
:::

::: misses
- [I^2*R/1000] It only conducts during the on-time.
- [any] Not yet. $I_\text{rms}^2R_\text{on}$ with $I_\text{rms}^2 = DI^2$.
:::
:::

::: check
given: V = 24 | 48 | 400; I = 2 | 10 | 20; t = 10 | 40; f = 100 | 500
answer: 0.5*V*I*2*t*1e-9*f*1e3
unit: W
tolerance: 0.5%

## A switch turns {I} A on and off against {V} V, with rise and fall times of {t} ns each, at {f} kHz. Estimate its transition loss.

::: right
Right. $\frac{1}{2}VI(t_r + t_f)f_s$ = {answer} W.
:::

::: misses
- [V*I*2*t*1e-9*f*1e3] With linear ramps the overlap energy is half of $VIt$.
- [0.5*V*I*t*1e-9*f*1e3] Count both transitions per cycle.
- [any] Not yet. Overlap energy per transition times transitions per second.
:::
:::

::: check
given: C = 100 | 500 | 2000; V = 48 | 400; f = 100 | 1000
answer: 0.5*C*1e-12*V^2*f*1e3
unit: W
tolerance: 0.5%

## A MOSFET with {C} pF of output capacitance turns on from {V} V at {f} kHz. What loss does discharging that capacitance cause?

::: right
Right. $\frac{1}{2}C_{oss}V^2f_s$ = {answer} W.
:::

::: misses
- [C*1e-12*V^2*f*1e3] The stored energy is half of $CV^2$.
- [any] Not yet. Stored energy times frequency.
:::
:::

::: check
given: Q = 20 | 100 | 400; V = 48 | 400; f = 50 | 200
answer: Q*1e-9*V*f*1e3
unit: W
tolerance: 0.5%

## A diode with {Q} nC of reverse-recovery charge is turned off against {V} V at {f} kHz. Estimate the reverse-recovery loss.

::: right
Right. $Q_{rr}Vf_s$ = {answer} W.
:::

::: misses
- [0.5*Q*1e-9*V*f*1e3] The recovery charge is drawn through the switch at the full voltage: $Q_{rr}V$ per cycle.
- [any] Not yet. Charge times voltage times frequency.
:::
:::

::: check
given: P = 50 | 200 | 1000; L = 1 | 4 | 15
answer: 100*P/(P + L)
unit: %
tolerance: 0.1%

## A converter delivers {P} W and its losses total {L} W. What's its efficiency?

::: right
Right. $P/(P + P_\text{loss})$ = {answer}%.
:::

::: misses
- [any] Not yet. Output over output plus loss.
:::
:::

::: check
given: I = 5 | 20; R = 5 | 20; D = 0.25 | 0.5; V = 48 | 100; t = 10 | 30
answer: I^2*R/1000*D/(0.5*V*I*2*t*1e-9)/1000
unit: kHz
tolerance: 0.5%

## At what switching frequency does a MOSFET's transition loss ({V} V, {I} A, {t} ns each way) equal its conduction loss ({R} mΩ at D = {D})?

::: right
Right. $DI^2R_\text{on}/(\frac{1}{2}VI(t_r + t_f))$ = {answer} kHz.
:::

::: misses
- [any] Not yet. Set the two losses equal and solve for $f_s$.
:::
:::

::: check
kind: parts
given: V = 48 | 400; I = 5 | 20; t = 5 | 20 | 50; f = 100 | 500

## A switch commutates {I} A against {V} V with {t} ns rise and fall times at {f} kHz.

::: part
answer: V*I*t*1e-9*f*1e3
unit: W
tolerance: 0.5%

### What is its transition loss?

::: misses
- [V*I*t*1e-9*f*1e3/2] There are two transitions per period.
- [any] $\frac12VI(t_r + t_f)f_s$.
:::
:::
:::

::: check
kind: derivation
vars: V = 10..800, I = 1..100, t = 0.000000001..0.0000001, f = 10000..2000000, C = 0.00000000001..0.000000005

## A hard-switched transistor switches I against V with rise and fall times t at frequency f, and has output capacitance C.

::: step
answer: V*I*t*f

### What is its transition loss?
:::

::: step
answer: C*V^2*f/2

### What does discharging its output capacitance at turn-on cost?
:::

::: right
Right. Both grow with frequency; only faster transitions and soft switching shrink them.
:::
:::

::: explain
## Why does switching loss grow in proportion to frequency while conduction loss doesn't?

::: model
Each switching transition costs a roughly fixed amount of energy: the overlap of voltage and current during the turn-on and turn-off, the charge in the transistor's output capacitance, and the diode's recovery charge, all set by the voltage, current and device, not by how often the switch operates. Switching f times per second spends that energy f times per second, so the power grows linearly with frequency. Conduction loss depends only on the current and how long the switch is on as a fraction of the period, which stays the same at any frequency for a given duty cycle. That's why designers raise the frequency only as far as faster devices or soft switching allow.
:::
:::

::: practice

::: check
given: I = 8 | 30; R = 4 | 15; D = 0.3 | 0.7
answer: I^2*R/1000*D
unit: W
tolerance: 0.5%

## Conduction loss: {I} A, {R} mΩ, D = {D}?

::: misses
- [any] $DI^2R_\text{on}$.
:::
:::

::: check
given: V = 12 | 380; I = 3 | 15; t = 5 | 50; f = 200 | 1000
answer: 0.5*V*I*2*t*1e-9*f*1e3
unit: W
tolerance: 0.5%

## Transition loss: {V} V, {I} A, {t} ns, {f} kHz?

::: misses
- [any] $\frac{1}{2}VI(t_r + t_f)f_s$.
:::
:::

::: check
given: C = 50 | 1000; V = 24 | 400; f = 100 | 2000
answer: 0.5*C*1e-12*V^2*f*1e3
unit: W
tolerance: 0.5%

## $C_{oss}$ loss: {C} pF, {V} V, {f} kHz?

::: misses
- [any] $\frac{1}{2}CV^2f_s$.
:::
:::
:::
