Gate drivers, dead-time and layout

Fast switching needs amps of gate current. This chapter covers who supplies it, how to stop both MOSFETs of a half-bridge conducting at once, and why layout creates volts.

Fast switchingChapter 10

Why a separate driver?

A GPIO pin cannot switch a MOSFET fast. It lacks both voltage and current.

Qg30 nCtsw20 nsGPIO3.3 V, 10–40 mA
  1. Gate current neededI = 30 nC / 20 ns1.5 A
  2. What the GPIO gives≤ 40 mA≈ 40× too little
The pin alone is not enough. A driver supplies 10–12 V and amp-level peaks.

A driver also adds:

  • a low-impedance turn-off path,
  • under-voltage lockout (UVLO),
  • a floating supply for the high side of a half-bridge.

Discrete option: the totem-pole (push-pull) buffer

The simplest driver is two emitter followers: an NPN on top, a PNP below. Bases and emitters are tied.

  • Input rises: the NPN conducts and sources current into the gate.
  • Input falls: the PNP conducts and sinks current out of the gate.
  • The input supplies β times less current.

The price is the VBE drop. The output stays between 0.7 V and VCC − 0.7 V.

Animation

Totem-pole: NPN sources on the rising edge, PNP sinks on the falling edge

Blue dots are gate current. Input is 0/12 V, with a level shifter in front. RG = 4.7 Ω, Ciss ≈ 3 nF. The transistors take turns, so the buffer has no shoot-through.
Limits of the discrete buffer
  • The input must swing 0/12 V. A 3.3 V GPIO only lifts the output to 2.6 V.
  • Base current is IG/β: a 2 A peak with β = 50 needs 40 mA.
  • No UVLO, no matched delay, no protection.
A driver IC costing a euro or two is usually smaller, faster and safer.

Driver ICs

There are three main families:

  • Low-side: for a MOSFET with a grounded source.
  • Half-bridge: a bootstrap lifts the high-side gate above the switch node.
  • Isolated: galvanic isolation for high voltage and noisy environments.
PartTypePeak currentSupplyProp. delayFeatures
TC4420 / TC4429low-side6 A4.5–18 V~55 nsClassic, rugged, no UVLO; TC4429 inverting
MCP1407low-side6 A4.5–18 V~45 nsTTL/CMOS input, straight from 3.3 V logic
UCC27517low-side4 A / 4 A4.5–18 V~13 nsUVLO (~4.2 V), SOT-23-5, tolerates negative input
UCC27511low-side4 A / 8 A4.5–18 V~13 nsSplit source/sink outputs: no diode needed for Ron/Roff
IR2104half-bridge0.13 / 0.27 A10–20 V~680 ns600 V bootstrap, fixed ~520 ns dead-time, UVLO; slow but simple
IR2110high + low2 A / 2 A10–20 V~120 ns500 V bootstrap, independent inputs (dead-time from the MCU), UVLO
UCC27211half-bridge4 A / 4 A8–17 V~18 ns120 V, integrated bootstrap diode, ~2 ns delay matching, UVLO
Si8271isolated1.8 / 4 Aoutput up to 30 V~60 ns2.5 kVrms, high CMTI (≥ 200 kV/µs), UVLO options
UCC5350isolated±5 Aoutput up to 33 V~70 ns3–5 kVrms, Miller-clamp or split-output variants, UVLO

Typical datasheet figures; they vary by variant. Design from the current datasheet.

Bootstrap: how do we turn on a high-side N-MOSFET?

With the upper MOSFET on, its source sits at VDD. Its gate must reach VDD + 10 V.

  • While the low side conducts, the switch node is at ground. Cboot charges to 12 V through a diode.
  • When the high side turns on, Cboot rides up with the switch node. It powers the driver’s high side.
Cboot ≥ (Qg + Iq·ton,max) / ΔVallowed   → in practice Cboot ≈ 10–20 × Ciss ΔV: the droop you accept, e.g. 0.5 V. 100 % duty is impossible: limit duty to 95–98 % or use a charge pump.

UVLO: why stay off when the supply is low?

A half-on MOSFET is far more dangerous than an off one. UVLO holds the output low while the supply is below a threshold.

  • At power-on, or with a drooping bootstrap, the gate may get only 4–6 V.
  • A standard (10 V) MOSFET does not fully turn on; RDS(on) grows tens of times.
  • The MOSFET sits in the linear region and burns while carrying load current.
Lab

Driver supply, RDS(on) and UVLO

Model: RDS(on) ∝ 1/(VGS − Vth), saturation current Isat = K·(VGS − Vth)2 (200 A at full drive). Standard: 8 mΩ at 10 V, Vth ≈ 3 V. Logic-level: 8 mΩ at 4.5 V, Vth ≈ 1.5 V. Resistive load from 24 V; UVLO threshold 8 V.

Separate turn-on and turn-off resistors

Make turn-on a bit slow and turn-off fast. A single RG slows both equally.

  • Slow turn-on: less EMI, gentler diode recovery.
  • Fast, stiff turn-off: resists dV/dt-induced turn-on.

The fix: a diode + small Roff in parallel with Ron. Drivers with split source/sink pins, like the UCC27511, need no diode.

Animation

Ron = 10 Ω, Roff = 2.2 Ω + diode

At turn-on current flows only through Ron. At turn-off most goes through the diode + Roff. Below ~0.7 V the diode stops and Ron drains the rest. RC model, Ciss = 3 nF.

Dead-time: the two switches must never conduct together

If the commands in a half-bridge change together, both MOSFETs conduct for a moment. This is shoot-through.

  • Turn-off always takes longer than turn-on: td(off) + tf > td(on) + tr.
  • The two driver channels never have exactly equal delay.
  • Result: VDD is shorted, and only loop inductance limits the current.

Each event is a pulse of tens to hundreds of amps: heat, EMI and finally a dead MOSFET.

The fix is dead-time: a deliberate gap between one turn-off and the other turn-on. Meanwhile the inductive load current flows through a body diode.

The body diode drops 0.7–1.2 V and recovers slowly. So dead-time should not be longer than needed.

tdead > (td(off) + tf)max − td(on),min + |Δtprop|max     Pdead ≈ VF · I · tdead · 2 · fsw Δtprop: delay mismatch between channels (“delay matching”). The loss counts two dead-times per period.
Lab

Half-bridge timing diagram: dead-time, delay mismatch, shoot-through

Load current flows out of the switch node; during dead-time the low-side body diode conducts. Turn-on is fixed at 20 ns. Solid traces are real conduction, dashed are commands. Peak ≈ VDD·toverlap/Lloop (48 V, 20 nH). Reverse recovery not shown.
Practical dead-time values
  • ≤ 100 V MOSFET bridge, good driver: 50–200 ns
  • Large or slowly driven MOSFET: 300 ns–1 µs
  • IGBT: 1–3 µs
STM32/ESP32 timers insert dead-time in hardware. The IR2104 has a fixed one built in.

Layout: nanohenries become volts

Every copper trace is an inductor. Fast current changes create voltage across it.

  • Thin PCB trace: ~1 nH/mm
  • TO-220 lead: 5–10 nH
I10 Atf10 nsL20 nH
  1. di/dt10 A / 10 ns1 A/ns
  2. Inductive voltageV = 20 nH · 1 A/ns20 V
20 V adds on top of VDD at the drain. It shows up as overshoot and ringing.
V = L · di/dt     fring = 1 / (2π·√(L·Coss))     Vpeak ≈ VDD + I·√(L/Coss) The last formula is the bound for an instant cut. For a slow cut (tf ≫ ring period) overshoot ≈ L·I/tf. √(L/C) is the loop’s characteristic impedance.
Lab

VDS overshoot and ringing at turn-off

Model: loop inductance L, Coss and damping R; channel current is cut linearly, the freewheel diode is ideal. Snubber: Cs = 3·Coss, Rs = √(L/Coss). The red area is above V(BR)DSS: avalanche.

Good and bad placement

Animation

Power-loop area = inductance

Copper: the power loop (cap → high side → low side → ground). Blue: the gate loop. The shaded area scales with inductance. On the right the cap sits next to the MOSFETs and the return runs directly beneath. Values are illustrative.

Put decoupling close

A 100 nF–1 µF ceramic a few mm from the MOSFETs. Fast current comes from it; the bulk cap can sit further away.

Return path under the trace

HF current returns directly under the outgoing trace. A solid ground plane shrinks the loop; do not slot it.

Driver close to the gate

Keep the gate loop small. A long trace resonates with Ciss; 10–22 Ω at the gate damps it.

Kelvin source

Run driver GND on its own trace straight to the source pin. Packages like TO-247-4 have a dedicated Kelvin pin.

Common-source inductance

If the source lead is shared by the power and gate loops, LS·di/dt across it subtracts from the drive. Switching slows and losses rise.

VGS,eff = Vdrv − IG·RG − LS · diD/dt
LS5 nH (TO-220)di/dt2 A/nsVdrv12 V
  1. Drop on the source leadV = 5 nH · 2 A/ns10 V
Almost all of the driver’s 12 V is lost. A Kelvin source takes LS out of the gate loop.

Worked example

48 V, 20 A, 50 kHz half-bridge: what dead-time and overshoot?

An 80 V MOSFET driven by a UCC27211. First dead-time, then layout overshoot.

td(off)+tf60 ns maxtd(on)15 ns minMismatch7 nsVF0.9 VI20 Afsw50 kHz
  1. Minimum dead-time60 − 15 + 752 ns
  2. Choice with margin100 nsfor temperature and part spread
  3. Dead-time loss0.9 · 20 · 100 ns · 2 · 50 kHz0.18 W
  4. If 500 ns were chosen0.9 W5× more: do not overdo dead-time
100 ns dead-time is enough and costs only 0.18 W.
L30 nH (30 mm trace)Coss1 nFtf20 nsV(BR)DSS80 V
  1. Characteristic impedance√(30 nH / 1 nF)5.5 Ω
  2. Instant cut, upper bound48 + 20 · 5.5158 Vthe 80 V MOSFET avalanches
  3. Overshoot with real tf30 nH · 20 A / 20 ns30 V
  4. Peak voltage48 + 30≈ 78 Vmarginal
  5. With a 5 nH loop48 + 5 nH · 20 A / 20 ns53 Vcomfortable
A 30 nH loop pushes the 80 V MOSFET to its limit. Shrink the loop to 5 nH; try it in the lab.