---
title: Gate drives and layout
heading: Gate charge and the Miller plateau, gate-drive power and current, bootstrap supplies for the high-side switch, false turn-on from dv/dt, and the power loop's inductance that causes overshoot and ringing
eyebrow: S11 · Lesson 45 · Gate drives and layout
xp: 50
---

::: hook
On a schematic a MOSFET switches when its gate goes high. On a board, the gate is a capacitor that must be charged through a resistor by a driver with limited current, the high-side switch's gate floats hundreds of volts above ground, and every few nanohenries of wiring in the switching loop turns fast current edges into voltage spikes. Fast transistors like GaN make all of this worse. This lesson covers the circuitry and the copper between the controller and the switch.
:::

::: play
- The drain voltage of a MOSFET turning off 20 A from a 400 V bus, when the power loop has inductance L and the switch has output capacitance C. The current trapped in the loop rings with the capacitance, overshooting by up to $I\sqrt{L/C}$.
- Shrinking the loop (smaller L) lowers the overshoot and raises the ringing frequency; the resistance of the loop damps it.
- Ringing at tens of megahertz is a strong source of conducted and radiated interference (lesson 46).
:::

```sim plot
view: graph
x: t = 0..100 ns
y: v = 0..800 V
slider: L = 2..50 = 20 nH
slider: C = 100..1000 = 300 pF
slider: I = 2..40 = 20 A
plot: 400 + I*sqrt(L/(C*1e-3))*exp(-t*0.5/(2*L))*sin(t*1e-9/sqrt(L*1e-9*C*1e-12)) | samples: 800 | label: drain voltage
plot: 400 + 0*t | dashed | color: ch3 | label: bus
readout: peak overshoot bound, V = I*sqrt(L/(C*1e-3)) | digits: 3
readout: ringing frequency, MHz = 1/(2*pi*sqrt(L*1e-9*C*1e-12))/1e6 | digits: 3
```

::: predict
## A MOSFET with 60 nC of total gate charge is driven to 12 V at 100 kHz. How much power does the gate driver supply?

- [ ] 0.72 µW
- [x] 72 mW
- [ ] 7.2 W
- [ ] Nothing, since a gate draws no DC current

::: reveal
Each cycle the driver delivers $Q_g$ = 60 nC from a 12 V supply and then dumps it to ground: $Q_gV_\text{drv}f_s$ = 60 nC × 12 V × 100 kHz = 72 mW, dissipated in the driver and gate resistances regardless of their values. At 1 MHz it would be 0.72 W.
:::
:::

::: nameit
## Gate charge

Datasheets give the charge needed to bring the gate to a given voltage: $Q_{gs}$ to reach the plateau, $Q_{gd}$ (the Miller charge) during which the drain voltage swings while the gate voltage sits at the plateau $V_\text{pl}$, and the total $Q_g$.

- **Drive power:** $P = Q_gV_\text{drv}f_s$.
- **Miller plateau time:** with gate resistance $R_g$, the gate current during the plateau is $(V_\text{drv} - V_\text{pl})/R_g$, so the voltage transition takes $t = Q_{gd}R_g/(V_\text{drv} - V_\text{pl})$. Turn-off uses $V_\text{pl}/R_g$ and is usually slower.

## High-side drive

The upper switch's source moves with the switch node. A **bootstrap** circuit charges a capacitor from the low-side supply through a diode while the low switch conducts; that capacitor then supplies the high-side driver. It must hold the gate charge plus the driver's quiescent current over the longest on-time with a small droop ΔV: $C_\text{boot} \ge (Q_g + I_qt_\text{on})/\Delta V$. Isolated drivers or charge pumps replace it when the duty cycle can be 100%.

## False turn-on

When the opposite switch turns on, the switch node's dv/dt drives a current $C_{gd}\,dv/dt$ through the off switch's gate resistance, raising its gate by about $R_gC_{gd}\,dv/dt$. If that exceeds the threshold, both switches conduct. Remedies are a low off-state resistance, a negative off voltage or a Miller clamp.

## The power loop

The loop from the input capacitor through both switches carries the switched current. Its inductance $L_\text{loop}$ adds $L_\text{loop}\,di/dt$ to the switch voltage at turn-off and rings with the output capacitance at $1/2\pi\sqrt{L_\text{loop}C_{oss}}$. Placing ceramic capacitors right at the switches, with the return directly beneath on an adjacent layer, cuts the loop to a few nanohenries.
:::

::: example
## Size the drive for a MOSFET with $Q_g$ = 60 nC, $Q_{gd}$ = 20 nC and a 5 V plateau, driven from 12 V through 5 Ω at 100 kHz.

::: solution
1. **Drive power.**
   $$\begin{aligned} P &= Q_gV_\text{dr}f_s \\ &= 60\text{ nC} \times 12\ \text{V} \times 100\text{ kHz} \\ &= 72\ \text{mW} \end{aligned}$$
2. **Turn-on through the plateau.** During the plateau the gate current is
   $$\begin{aligned} I_g &= (12 - 5)\ \text{V}/5\ \Omega \\ &= 1.4\ \text{A} \end{aligned}$$
   so the drain swings in 20 nC/1.4 A = 14.3 ns.
3. **Turn-off.** With only 5 V pushing current out through 5 Ω, it takes
   $$\begin{aligned} t &= 20\text{ nC}/1\ \text{A} \\ &= 20\ \text{ns} \end{aligned}$$
4. **Bootstrap capacitor.** With 200 µA of driver current and 20 µs on-times, a 1 V droop needs
   $$\begin{aligned} C &= \frac{60\text{ nC} + 200\ \mu\text{A} \times 20\ \mu\text{s}}{1\ \text{V}} \\ &= 64\ \text{nF} \end{aligned}$$
   so a 220 nF part gives margin.

**Answer:** 72 mW of drive power; the drain swings in 14.3 ns at turn-on and 20 ns at turn-off, and a 220 nF bootstrap capacitor gives margin over the 64 nF needed.
:::
:::

::: example
## A 20 nH power loop switches 20 A in 10 ns. Find the overshoot, and the effect of shrinking the loop to 5 nH.

::: solution
1. **Overshoot.**
   $$\begin{aligned} L\,di/dt &= 20\text{ nH} \times 20\text{ A}/10\text{ ns} \\ &= 40\ \text{V} \end{aligned}$$
2. **Ringing.** With 300 pF of output capacitance the loop rings at
   $$\begin{aligned} f &= \frac{1}{2\pi\sqrt{20\text{ nH} \times 300\text{ pF}}} \\ &= 65\ \text{MHz} \end{aligned}$$
3. **At 5 nH.** The overshoot falls to 10 V and the ringing rises to 130 MHz, with a quarter of the energy ($\frac{1}{2}LI^2$ drops from 4 µJ to 1 µJ).
4. **The cheaper fix.** Reducing loop inductance is usually cheaper than slowing the switch, which would add switching loss.

**Answer:** 40 V of overshoot ringing at 65 MHz; at 5 nH, 10 V ringing at 130 MHz.
:::
:::

::: example
## A power loop of 20 nH rings with a switch's 500 pF output capacitance. Size an RC snubber, and find its loss at 48 V and at 400 V, switching at 100 kHz.

::: solution
1. **The ring.**
   $$\begin{aligned} f &= \frac{1}{2\pi\sqrt{LC}} \\ &= 50.3\ \text{MHz} \\ Z_0 &= \sqrt{L/C} \\ &= 6.3\ \Omega \end{aligned}$$
2. **Snubber values.** A snubber of R ≈ 6.3 Ω and C ≈ 4 × 500 pF = 2 nF damps it.
3. **Snubber loss.** The capacitor is charged and discharged every cycle, losing $CV^2f_s$:
   $$\begin{aligned} P_{48} &= 2\text{ nF} \times 48^2 \times 100\text{ kHz} \\ &= 0.46\ \text{W} \\ P_{400} &= 2\text{ nF} \times 400^2 \times 100\text{ kHz} \\ &= 32\ \text{W} \end{aligned}$$
4. **At high voltage.** A tighter layout that lowers the loop inductance is far cheaper than a snubber.

**Answer:** R ≈ 6.3 Ω and C ≈ 2 nF; the snubber loses 0.46 W at 48 V but 32 W at 400 V.
:::
:::

::: check
given: Q = 10 | 60 | 200; V = 5 | 12 | 15; f = 50 | 300 | 1000
answer: Q*1e-9*V*f*1e3*1000
unit: mW
tolerance: 0.5%

## A MOSFET with {Q} nC of gate charge is driven to {V} V at {f} kHz. How much power does the drive take?

::: right
Right. $Q_gV_\text{drv}f_s$ = {answer} mW.
:::

::: misses
- [0.5*Q*1e-9*V*f*1e3*1000] Gate charge is drawn from a fixed supply and then dumped: the full $QV$ is lost each cycle.
- [any] Not yet. Charge per cycle × supply voltage × frequency.
:::
:::

::: check
given: Q = 5 | 20 | 50; R = 2 | 5 | 10; V = 10 | 12 | 15; p = 3 | 5
answer: Q*1e-9*R/(V - p)*1e9
unit: ns
tolerance: 0.5%

## A MOSFET's Miller charge is {Q} nC and its plateau sits at {p} V. Driven from {V} V through {R} Ω, how long does its drain voltage take to fall?

::: right
Right. $Q_{gd}R_g/(V_\text{drv} - V_\text{pl})$ = {answer} ns.
:::

::: misses
- [Q*1e-9*R/V*1e9] The gate sits at the plateau, so only $V_\text{drv} - V_\text{pl}$ drives current through $R_g$.
- [any] Not yet. Miller charge over plateau gate current.
:::
:::

::: check
given: Q = 20 | 60 | 150; I = 100 | 500; t = 10 | 50; d = 0.5 | 1
answer: (Q*1e-9 + I*1e-6*t*1e-6)/d*1e9
unit: nF
tolerance: 0.5%

## A high-side gate needs {Q} nC and its driver draws {I} µA over on-times up to {t} µs. How much bootstrap capacitance keeps the droop to {d} V?

::: right
Right. $(Q_g + I_qt_\text{on})/\Delta V$ = {answer} nF.
:::

::: misses
- [Q/d] Include the charge the driver's quiescent current draws during the on-time.
- [any] Not yet. Total charge taken over the allowed droop.
:::
:::

::: check
given: L = 5 | 20 | 50; I = 10 | 30; t = 5 | 20
answer: L*1e-9*I/(t*1e-9)
unit: V
tolerance: 0.5%

## A power loop with {L} nH of inductance has its {I} A cut off in {t} ns. How much does the switch voltage overshoot?

::: right
Right. $L\,di/dt$ = {answer} V.
:::

::: misses
- [any] Not yet. $L\,\Delta I/\Delta t$.
:::
:::

::: check
given: L = 2 | 10 | 40; C = 50 | 300 | 1500
answer: 1/(2*pi*sqrt(L*1e-9*C*1e-12))/1e6
unit: MHz
tolerance: 0.5%

## A {L} nH power loop rings with {C} pF of switch capacitance. At what frequency?

::: right
Right. $1/2\pi\sqrt{LC}$ = {answer} MHz.
:::

::: misses
- [1/sqrt(L*1e-9*C*1e-12)/1e6] That's in rad/s; divide by 2π.
- [any] Not yet. LC resonance.
:::
:::

::: check
given: R = 1 | 4 | 10; C = 5 | 20 | 60; v = 10 | 50 | 100
answer: R*C*1e-12*v*1e9
unit: V
tolerance: 0.5%

## An off MOSFET has {C} pF of gate–drain capacitance and {R} Ω from gate to its driver's low output. Its drain rises at {v} V/ns. How much does its gate rise?

::: right
Right. $R_gC_{gd}\,dv/dt$ = {answer} V, which must stay well below the threshold.
:::

::: misses
- [any] Not yet. The Miller current $C_{gd}\,dv/dt$ flows through $R_g$.
:::
:::

::: check
kind: parts
given: L = 5 | 20 | 50; C = 200 | 500 | 1500; V = 48 | 400; f = 100 | 300

## A power loop of {L} nH rings with {C} pF of switch capacitance; an RC snubber with four times that capacitance is added, at {V} V and {f} kHz.

::: part
answer: 1/(2*pi*sqrt(L*1e-9*C*1e-12))/1e6
unit: MHz
tolerance: 0.5%

### At what frequency does it ring?

::: misses
- [any] $1/(2\pi\sqrt{LC})$.
:::
:::

::: part
answer: sqrt(L*1e-9/(C*1e-12))
unit: Ω
tolerance: 0.5%

### What snubber resistance damps it?

::: misses
- [any] The characteristic impedance $\sqrt{L/C}$.
:::
:::

::: part
answer: 4*C*1e-12*V^2*f*1e3
unit: W
tolerance: 0.5%

### What does the snubber dissipate?

::: misses
- [2*C*1e-12*V^2*f*1e3] The snubber capacitance is 4C, and it loses $C_sV^2f$.
- [any] $C_sV^2f_s$.
:::
:::
:::

::: check
kind: derivation
vars: Q = 0.000000001..0.0000003, V = 5..20, f = 10000..2000000, G = 0.000000001..0.0001, R = 0.5..20, p = 2..6

## A MOSFET with total gate charge Q and Miller charge G is driven from V through R at frequency f; its plateau is at p.

::: step
answer: Q*V*f

### What does the drive consume?
:::

::: step
answer: G*R/(V - p)

### How long does the Miller plateau last?
:::

::: right
Right. The plateau time sets the voltage transition and with it most of the switching loss.
:::
:::

::: explain
## Why does placing the input capacitor right next to the switches matter more than any other layout choice in a converter?

::: model
In a buck, the input current pulses on and off at every switching edge, while the current in the inductor and output side flows steadily. The loop that carries the pulsing current runs from the input capacitor through the high-side switch, the low-side switch and back. Every bit of its inductance sees the full di/dt of the switching edge and turns it into voltage overshoot on the switches and ringing at tens or hundreds of megahertz, which stresses the devices and radiates. Putting a ceramic capacitor directly across the two switches, with its return on the layer underneath, makes that loop as small as possible, so the pulsing current sees nanohenries instead of tens of nanohenries. Other paths carry smooth currents and tolerate much longer traces.
:::
:::

::: practice

::: check
given: Q = 15 | 100; V = 6 | 12; f = 100 | 2000
answer: Q*1e-9*V*f*1e3*1000
unit: mW
tolerance: 0.5%

## Drive power: {Q} nC, {V} V, {f} kHz?

::: misses
- [any] $Q_gVf$.
:::
:::

::: check
given: Q = 8 | 40; R = 3 | 8; V = 12 | 15; p = 4 | 6
answer: Q*1e-9*R/(V - p)*1e9
unit: ns
tolerance: 0.5%

## Plateau time: {Q} nC, {R} Ω, {V} V drive, {p} V plateau?

::: misses
- [any] $Q_{gd}R_g/(V - V_\text{pl})$.
:::
:::

::: check
given: L = 3 | 30; I = 15 | 50; t = 3 | 15
answer: L*1e-9*I/(t*1e-9)
unit: V
tolerance: 0.5%

## Overshoot: {L} nH, {I} A in {t} ns?

::: misses
- [any] $L\,di/dt$.
:::
:::
:::
