Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new

Every half bridge needs dead time: a short interval when both switches are off, so that one switch never turns on before the other has turned off. Dead time prevents shoot-through, but it is not free. During it the load current flows through a diode, and the bridge stops following its command. This article quantifies three consequences: the voltage error and distortion in an inverter, the extra loss in a synchronous buck, and the dead time that soft switching needs.

What happens during dead time

Consider one inverter leg with a DC link VdcV_{dc}, an upper switch, a lower switch and their antiparallel diodes. The output current ii is positive when it flows out of the leg into the load.

  • Upper switch turning on, i>0i > 0. The lower switch turns off first. During the dead time tdt_d, the current keeps flowing out through the lower diode, so the output stays at 0 V. The upper switch then turns on and the output rises. The leg loses tdVdct_d V_{dc} of volt-seconds compared with the command.
  • Upper switch turning off, i>0i > 0. The current moves to the lower diode at once, which is what the command wanted. No error.

For negative current the roles swap: the upper diode holds the output at VdcV_{dc} during the dead time after the upper switch turns off, and the leg gains volt-seconds.

The average voltage error

Over one switching period Ts=1/fswT_s = 1/f_{sw}, the average leg voltage is off by

ΔV=− sign(i)  td fsw Vdc\Delta V = -\,\mathrm{sign}(i)\; t_d\, f_{sw}\, V_{dc}

It does not depend on the duty cycle or on the size of the current, only on its sign. Switching delays add to it: a fuller expression is ΔV≈−sign(i) (td+ton−toff) fswVdc\Delta V \approx -\mathrm{sign}(i)\,(t_d + t_{on} - t_{off})\,f_{sw} V_{dc}, plus the conduction drops of the switch and diode. In a full bridge with bipolar PWM, the errors of both legs add, so the output error is 2tdfswVdc2 t_d f_{sw} V_{dc}.

A worked example

A three-phase inverter has Vdc=400V_{dc} = 400 V, fsw=20f_{sw} = 20 kHz and td=1t_d = 1 µs:

∣ΔV∣=1 μs×20 kHz×400 V=8 V|\Delta V| = 1\,\mu\text{s} \times 20\,\text{kHz} \times 400\ \text{V} = 8\ \text{V}

The buckSync example in Voltecx used as one leg: Q1 and Q2 at 400 V, 20 kHz with 1 µs dead time, the PI held at a duty of 0.5, L1 10 mH and a 19.2 Ω load.

One rising edge of the leg simulated in Voltecx: the switch node v(sw) and the gate signals g1 (upper) and g2 (lower). For 1 µs after g2 falls both switches are off and the node stays at 0 V.

Simulated in Voltecx, a leg at 400 V, 20 kHz and 1 µs of dead time, commanded to a duty of 0.5 while it carries a steady positive 10 A, averages 191.9 V instead of 200 V: the 8 V of the formula plus 0.1 V of switch drops.

With sine-triangle PWM at a modulation index of 0.9, the phase fundamental is 0.9×200=1800.9 \times 200 = 180 V peak. The error is a square wave of ±8 V in phase with the current. Its Fourier series is

Δv(t)=4×8π(sin⁡θ+13sin⁡3θ+15sin⁡5θ+17sin⁡7θ+… )\Delta v(t) = \frac{4 \times 8}{\pi} \left(\sin\theta + \frac{1}{3}\sin 3\theta + \frac{1}{5}\sin 5\theta + \frac{1}{7}\sin 7\theta + \dots\right)
  • The fundamental is 32/π=10.232/\pi = 10.2 V, about 5.7 % of the output, lost at unity power factor.
  • The third harmonic cancels between phases in a three-wire system.
  • The fifth and seventh, 2.0 V and 1.5 V, remain in the line-to-line voltage and drive harmonic currents in a low-impedance load such as a motor.

At low speed in a motor drive, where the commanded voltage is small, the same 8 V becomes a large fraction of the output. It shows up as current distortion near each zero crossing and as torque ripple at six times the electrical frequency.

Compensation

The usual fix is to add sign(i) tdfswVdc\mathrm{sign}(i)\, t_d f_{sw} V_{dc} to each phase reference. The difficulty is the sign near the zero crossing, where the measured current is noisy and the switch-node capacitance makes the error smaller than the formula says. Practical schemes use the sign of the current reference, a ramp instead of a step around zero, or a measured-voltage feedback.

Dead time in a synchronous buck

In a synchronous buck the inductor current is normally positive at both edges, so the body diode of the low-side MOSFET conducts in both dead-time intervals. That adds two losses.

Body-diode conduction. With output current IoI_o and diode drop VfV_f:

Pbd=Vf Io⋅2td fswP_{bd} = V_f\, I_o \cdot 2 t_d\, f_{sw}

For Io=20I_o = 20 A, Vf=0.8V_f = 0.8 V, td=30t_d = 30 ns and fsw=500f_{sw} = 500 kHz:

Pbd=0.8×20×2×30 n×500 k=0.48 WP_{bd} = 0.8 \times 20 \times 2 \times 30\,\text{n} \times 500\,\text{k} = 0.48\ \text{W}

The synchronous buck around one switching edge in Voltecx: the node v(sw) sits at −0.8 V while the body diode of Q2 carries the current i(Q2) during each 30 ns dead time.

In a Voltecx simulation of this buck (12 V in, 30 ns of dead time, a 0.8 V body diode, 19.4 A of load current), the body diode conducts for 2.9 % of each period and loses 0.46 W, within 3 % of the formula at the simulated current; at 20 A the formula gives the 0.48 W above.

Reverse recovery. When the high side turns on, it must sweep out the body diode's stored charge QrrQ_{rr}:

Prr≈Qrr Vin fsw=50 nC×12 V×500 kHz=0.30 WP_{rr} \approx Q_{rr}\, V_{in}\, f_{sw} = 50\,\text{nC} \times 12\ \text{V} \times 500\,\text{kHz} = 0.30\ \text{W}

At a high switching frequency these two can be a large share of the total loss, which is why adaptive dead-time drivers and MOSFETs with a Schottky in parallel exist.

The dead time that soft switching needs

Dead time can also do useful work. If the current at the end of a switch's on-time flows in the right direction, it charges the output capacitance of the switch that turned off and discharges the one about to turn on. When the switch-node voltage reaches the opposite rail before the dead time ends, the next switch turns on at zero voltage (ZVS).

Treating the two output capacitances as a linear Coss,trC_{oss,tr} each, charged by a constant current II, the swing takes

tswing≈2 Coss,tr VdcIt_{swing} \approx \frac{2\, C_{oss,tr}\, V_{dc}}{I}

For Vdc=400V_{dc} = 400 V, Coss,tr=100C_{oss,tr} = 100 pF and I=5I = 5 A, the swing takes 16 ns. Choosing the dead time is then a balance:

  • Too short (below tswingt_{swing}): the switch turns on while voltage remains across it, and the remaining charge is dissipated in it. At 0.5 A of light-load current, the same swing would take 160 ns.
  • Too long (well above tswingt_{swing}): the node reaches the rail and the body diode conducts for the rest of the dead time, adding diode loss and, in some topologies, reverse recovery.

Since tswingt_{swing} scales with 1/I1/I, a fixed dead time is usually right at one load only. Converters such as the phase-shifted full bridge and the LLC are designed around this effect.

The analysis follows the half-bridge treatment found in standard texts such as Mohan, Undeland and Robbins, Power Electronics, and R. W. Erickson and D. Maksimović, Fundamentals of Power Electronics, 3rd ed. Capacitance values come from the MOSFET data sheet (Co(tr)C_{o(tr)} and Co(er)C_{o(er)}).

Try it in Voltecx

  • The buckSync example is a synchronous buck with a MOSFET and dead time in place of the diode. The inverter3 example is a three-phase inverter with sine-triangle PWM.
  • analysis.softSwitching reads every gate edge of every switch and classifies each turn-on as ZVS, partial or hard. For each leg it measures how long the switch node took to swing, compares that with the dead time, and says whether the dead time is too short or too long, with a value to use. Its sweep option finds where ZVS is lost over load.
  • analysis.losses returns the conduction and switching loss of each switch and diode, and analysis.fft gives the harmonics and THD of the output current.

Set coss on the switches and use the variable-step solver to see the transitions. With no capacitance, the switch node swings within one step.