---
title: Soft switching
heading: The capacitive turn-on loss that hard switching can't avoid, zero-voltage switching by letting current swing the node during the dead time, the energy and time it takes, zero-current switching for IGBTs, the phase-shifted full bridge and its duty-cycle loss
eyebrow: S11 · Lesson 41 · Soft switching
xp: 50
---

::: hook
Lesson 8 found two kinds of switching loss: the overlap of voltage and current during a transition, and the energy stored in the transistor's output capacitance, which a hard turn-on dumps into the channel as heat. Faster transistors shrink the first but not the second; at 400 V and a few hundred kilohertz, the capacitive part alone can cost watts per device. Soft switching removes it by arranging for some current to swing the switch node during the dead time, so each transistor turns on with no voltage across it.
:::

::: play
- The voltage across a MOSFET during the dead time before it turns on, in a leg with 200 pF of output capacitance per switch on a 400 V bus. An inductor carrying current I at the start of the dead time rings with the two capacitances, pulling the node down.
- If the inductor's energy is enough ($\frac{1}{2}LI^2 \ge C_{oss}V^2$), the voltage reaches zero and the body diode clamps it there: zero-voltage switching. If not, the switch turns on with voltage left and dumps the rest.
- With L = 16 µH, 2 A is exactly enough.
:::

```sim plot
view: graph
x: t = 0..300 ns
y: v = -20..420 V
slider: I = 0.5..5 = 2.5 A
slider: L = 2..40 = 16 µH
plot: (400 - I*sqrt(L*1e-6/400e-12)*(sin(t*1e-9/sqrt(L*1e-6*400e-12))*step(pi/2 - t*1e-9/sqrt(L*1e-6*400e-12)) + step(t*1e-9/sqrt(L*1e-6*400e-12) - pi/2)) + abs(400 - I*sqrt(L*1e-6/400e-12)*(sin(t*1e-9/sqrt(L*1e-6*400e-12))*step(pi/2 - t*1e-9/sqrt(L*1e-6*400e-12)) + step(t*1e-9/sqrt(L*1e-6*400e-12) - pi/2))))/2 | samples: 600 | label: switch voltage
readout: voltage left at turn-on, V = (400 - I*sqrt(L*1e-6/400e-12) + abs(400 - I*sqrt(L*1e-6/400e-12)))/2 | digits: 3
readout: inductor energy over what ZVS needs = 0.5*L*1e-6*I^2/(200e-12*400^2) | digits: 3
```

::: predict
## A half-bridge leg switches 400 V at 200 kHz, and each MOSFET has 200 pF of output capacitance. How much power does hard turn-on waste in the capacitances alone?

- [ ] 16 mW
- [ ] 0.8 W
- [x] 3.2 W per switch
- [ ] 32 W per switch

::: reveal
Each hard turn-on discharges that switch's own $C_{oss}$ through its channel, dissipating $\frac{1}{2}CV^2$ = 16 µJ, and the turn-on also charges the opposite switch's capacitance through it. At 200 kHz the first part alone is 16 µJ × 200 kHz = 3.2 W per switch, regardless of how fast the gate is driven.
:::
:::

::: nameit
## Hard switching

At hard turn-on, the energy $\frac{1}{2}C_{oss}V^2$ stored in the switch's output capacitance is dissipated in its channel, costing $\frac{1}{2}C_{oss}V^2f_s$ per switch. (For superjunction MOSFETs $C_{oss}$ is strongly nonlinear; use the datasheet's $E_{oss}$ in place of $\frac{1}{2}C_{oss}V^2$.)

## Zero-voltage switching (ZVS)

During the dead time, a current I flowing out of the switch node charges the upper switch's capacitance and discharges the lower one's (or the reverse). If the node reaches the opposite rail, the incoming switch's body diode conducts and the switch turns on at zero voltage: no capacitive loss and no overlap loss.

- With a large inductor whose current stays nearly constant, the transition takes $t = 2C_{oss}V/I$, which must fit in the dead time.
- With the inductor as the only energy source, its energy must cover both capacitances: $\frac{1}{2}LI^2 \ge C_{oss}V^2$, so $L \ge 2C_{oss}V^2/I^2$ or $I \ge V\sqrt{2C_{oss}/L}$. The resonant swing takes at most a quarter period, $\frac{\pi}{2}\sqrt{2LC_{oss}}$.

Converters get the needed current from a resonant tank (lesson 40), from a deliberately large ripple that makes the inductor current go negative each cycle (triangular current mode), or from transformer leakage.

## Zero-current switching (ZCS)

A resonant circuit brings the switch's current to zero before turn-off. It suits IGBTs and thyristors, whose turn-off tail current makes turn-off their dominant loss, but it doesn't remove the capacitive turn-on loss, so MOSFET designs prefer ZVS.

## The phase-shifted full bridge

Two legs at fixed 50% duty cycle, shifted in phase to set the effective duty cycle; transformer leakage $L_{lk}$ swings the switch nodes for ZVS. While the primary current reverses from $+I_p$ to $-I_p$ through $L_{lk}$, no power transfers, losing a duty cycle of

$$\Delta D = \frac{4L_{lk}I_pf_s}{V_g}$$
:::

::: example
## Can a synchronous buck reach ZVS at 400 V with 200 pF switches and a 10 µH inductor?

::: solution
1. **Current needed for ZVS.**
   $$\begin{aligned} I &\ge V\sqrt{2C_{oss}/L} \\ &= 400\sqrt{400\text{ pF}/10\ \mu\text{H}} \\ &= 2.53\ \text{A} \end{aligned}$$
   flowing backward through the inductor at the moment the low-side switch turns off.
2. **How to get it.** A triangular-current-mode design sizes the ripple so the current swings at least that far negative every cycle.
3. **Transition time.** Once the current flows, the transition with a steady 2 A (taking the inductor as a current source) lasts
   $$\begin{aligned} t &= 2C_{oss}V/I \\ &= 80\ \text{ns} \end{aligned}$$
   so the dead time must be at least that.

**Answer:** yes, if at least 2.53 A flows backward through the inductor when the low-side switch turns off.
:::
:::

::: example
## A phase-shifted full bridge on 400 V at 100 kHz has 5 µH of leakage and 5 A of primary current. What duty cycle does it lose?

::: solution
1. **Reversal time.**
   $$\begin{aligned} t &= \frac{2I_pL_{lk}}{V_g} \\ &= \frac{2 \times 5 \times 5\ \mu\text{H}}{400} \\ &= 125\ \text{ns} \end{aligned}$$
   during which the secondary sees no voltage.
2. **Duty cycle lost.** Over each 5 µs half period that's
   $$\begin{aligned} \Delta D &= \frac{4L_{lk}I_pf_s}{V_g} \\ &= 0.025 \end{aligned}$$
3. **The trade-off.** More leakage helps ZVS at light load but costs duty cycle at full load, so designers often add a separate resonant inductor and size it for the lightest load that must stay soft.

**Answer:** it loses 0.025 of duty cycle, 125 ns in each half period.
:::
:::

::: example
## An LLC half bridge on 400 V reflects 200 V across a 200 µH magnetizing inductance at 100 kHz. Its switches have 300 pF each. Can the magnetizing current alone give ZVS, and how long a dead time is needed?

::: solution
1. **Magnetizing current.**
   $$\begin{aligned} I_m &= \frac{nV_o}{4L_mf_s} \\ &= \frac{200}{4 \times 200\ \mu\text{H} \times 100\text{ kHz}} \\ &= 2.5\ \text{A} \end{aligned}$$
   at each transition, independent of load.
2. **Transition time.** Swinging the node across 400 V with 2 × 300 pF takes
   $$\begin{aligned} t &= \frac{2C_{oss}V}{I} \\ &= \frac{2 \times 300\text{ pF} \times 400}{2.5} \\ &= 96\ \text{ns} \end{aligned}$$
3. **Dead time.** A dead time of about 100 ns or more gives ZVS from no load to full load, one of the LLC's main attractions.

**Answer:** yes: the 2.5 A of magnetizing current swings the node in 96 ns, so a dead time of about 100 ns or more gives ZVS at every load.
:::
:::

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

## A MOSFET with {C} pF of output capacitance switches {V} V at {f} kHz, hard. What does its capacitance cost at turn-on?

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

::: misses
- [C*1e-12*V^2*f*1e3] The stored energy is $\frac{1}{2}CV^2$.
- [any] Not yet. Energy per turn-on times frequency.
:::
:::

::: check
given: C = 100 | 250 | 500; V = 200 | 400; I = 1 | 3 | 6
answer: 2*C*1e-12*V^2/I^2*1e6
unit: µH
tolerance: 0.5%

## A leg has {C} pF per switch on {V} V. If an inductor alone must swing the node with {I} A, how much inductance does ZVS need?

::: right
Right. $\frac{1}{2}LI^2 \ge C_{oss}V^2$ gives $L \ge 2C_{oss}V^2/I^2$ = {answer} µH.
:::

::: misses
- [C*1e-12*V^2/I^2*1e6] Both capacitances must swing: the energy needed is $C_{oss}V^2$, not $\frac{1}{2}C_{oss}V^2$.
- [any] Not yet. Inductor energy against the two capacitors' energy.
:::
:::

::: check
given: C = 100 | 300; V = 100 | 400 | 800; I = 2 | 5 | 10
answer: 2*C*1e-12*V/I*1e9
unit: ns
tolerance: 0.5%

## A steady {I} A swings a switch node across {V} V, with {C} pF on each switch. How long does the transition take?

::: right
Right. $2C_{oss}V/I$ = {answer} ns.
:::

::: misses
- [C*1e-12*V/I*1e9] Two capacitances charge and discharge together.
- [any] Not yet. $Q = CV$ for each, delivered at current I.
:::
:::

::: check
given: V = 48 | 400; C = 100 | 400; L = 2 | 10 | 50
answer: V*sqrt(2*C*1e-12/(L*1e-6))
unit: A
tolerance: 0.5%

## A synchronous buck on {V} V with {C} pF switches and a {L} µH inductor wants ZVS. How much reverse current must flow when the low-side switch turns off?

::: right
Right. $V\sqrt{2C_{oss}/L}$ = {answer} A.
:::

::: misses
- [V*sqrt(C*1e-12/(L*1e-6))] The energy must cover both capacitances, $C_{oss}V^2$.
- [any] Not yet. $\frac{1}{2}LI^2 = C_{oss}V^2$.
:::
:::

::: check
given: L = 2 | 5 | 10; I = 3 | 8 | 15; f = 50 | 100; V = 380 | 400
answer: 4*L*1e-6*I*f*1e3/V
tolerance: 0.5%

## A phase-shifted full bridge on {V} V at {f} kHz has {L} µH of leakage carrying {I} A on the primary. What duty cycle is lost to current reversal?

::: right
Right. $4L_{lk}I_pf_s/V_g$ = {answer}.
:::

::: misses
- [2*L*1e-6*I*f*1e3/V] The current swings from $+I_p$ to $-I_p$, and it happens every half period.
- [any] Not yet. Reversal time over half the period.
:::
:::

::: check
given: L = 5 | 20 | 60; C = 100 | 400
answer: pi/2*sqrt(L*1e-6*2*C*1e-12)*1e9
unit: ns
tolerance: 0.5%

## An inductor of {L} µH rings with a leg's two {C} pF capacitances. What's the longest a resonant transition can take?

::: right
Right. A quarter of the resonant period with $2C_{oss}$: {answer} ns.
:::

::: misses
- [pi/2*sqrt(L*1e-6*C*1e-12)*1e9] The inductor sees both capacitances in parallel.
- [any] Not yet. $\frac{\pi}{2}\sqrt{L \cdot 2C_{oss}}$.
:::
:::

::: check
kind: parts
given: V = 100 | 200 | 400; L = 100 | 300 | 600; f = 100 | 250; C = 100 | 400

## An LLC reflects {V} V onto a magnetizing inductance of {L} µH at {f} kHz; its switches have {C} pF each and the bus is 2 × {V} V.

::: part
answer: V/(4*L*1e-6*f*1e3)
unit: A
tolerance: 0.5%

### What magnetizing current is available at each transition?

::: misses
- [any] $nV_o/(4L_mf_s)$.
:::
:::

::: part
answer: 2*C*1e-12*2*V/(V/(4*L*1e-6*f*1e3))*1e9
unit: ns
tolerance: 0.5%

### How long does it take to swing the node?

::: misses
- [any] $2C_{oss}V_\text{bus}/I$.
:::
:::
:::

::: check
kind: derivation
vars: C = 0.00000000001..0.000000002, V = 10..1000, I = 0.1..50, f = 10000..1000000

## A leg has output capacitance C per switch on a bus of V, switched at f; a current I swings the node.

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

### What would hard switching lose to one capacitance?
:::

::: step
answer: 2*C*V/I

### How long does the soft transition take?
:::

::: right
Right. Soft switching trades that loss for dead time and the circulating current that drives the transition.
:::
:::

::: explain
## Why is zero-voltage switching preferred for MOSFETs and zero-current switching for IGBTs?

::: model
A MOSFET turns off quickly and cleanly, since it has no stored minority charge, so its turn-off loss is small; its main switching loss is at turn-on, where the energy in its output capacitance is dumped into its own channel and the overlap of rising current and falling voltage adds more. ZVS removes exactly that, by swinging the voltage to zero before the gate is driven. An IGBT's problem is at turn-off: stored charge in its drift region keeps a tail current flowing while the voltage rises, and that tail can't be hurried. ZCS brings the current to zero before turn-off so the tail has nothing to dissipate against, which addresses the IGBT's dominant loss even though it leaves the capacitive turn-on loss in place.
:::
:::

::: practice

::: check
given: C = 150 | 800; V = 100 | 650; f = 100 | 500
answer: 0.5*C*1e-12*V^2*f*1e3
unit: W
tolerance: 0.5%

## Capacitive loss: {C} pF, {V} V, {f} kHz?

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

::: check
given: V = 200 | 600; C = 150 | 300; L = 4 | 30
answer: V*sqrt(2*C*1e-12/(L*1e-6))
unit: A
tolerance: 0.5%

## ZVS current: {V} V, {C} pF, {L} µH?

::: misses
- [any] $V\sqrt{2C/L}$.
:::
:::

::: check
given: L = 3 | 8; I = 4 | 12; f = 80 | 150; V = 360 | 400
answer: 4*L*1e-6*I*f*1e3/V
tolerance: 0.5%

## Duty-cycle loss: {L} µH, {I} A, {f} kHz, {V} V?

::: misses
- [any] $4L_{lk}I_pf_s/V_g$.
:::
:::
:::
