TExcelTAD
Home › Power Electronics & Motor Drives › Snubbers, dv/dt, di/dt and Layout for Low EMI

Snubbers, dv/dt, di/dt and Layout for Low EMI

Put a scope probe with a short ground spring on the switch node of the 24 V24\ \text{V} buck and the clean square wave of the textbook has a tail: at every turn-on edge the node overshoots to 40 V40\ \text{V} or more and rings at 5050 to 150 MHz150\ \text{MHz} for tens of nanoseconds. The ring stresses the low-side switch (or diode) beyond its rating, radiates from every trace it reaches, and couples into the input cable, where an EMC test receiver measures it. Its cause is the few nanohenries of the hot loop resonating with the switch capacitances. This lesson finds those parasitics from two measurements, damps them with an RC snubber, explains the RCD turn-off snubber, and turns the physics of dv/dtdv/dt and di/dtdi/dt into layout rules. Standards and test methods belong to the EMC course (EMC, Signal Integrity & Advanced Electromagnetics, planned); here the goal is a converter that does not need rescuing.

The hot loop and where the ringing comes from

hot loop: Cin - Q1 - Q2, keep its area tiny Cin 4.7 uF Q1 Q2 Coss sw Rs 4.7 OhmCs 1.5 nF L (steady current) load 24 V di/dt parasiticLloop ~ 10 nH(traces, vias, packages)

At every edge the current from the output inductor moves from one switch to the other, in a few nanoseconds. The only path that sees this di/dtdi/dt is the loop of the input capacitor and the two switches: the hot loop. Its inductance LloopL_\text{loop} (each millimetre of trace is roughly 1 nH1\ \text{nH}, a TO-220 lead 55 to 10 nH10\ \text{nH}) has two effects:

vspike=Lloop didt,fring=12πLloopCp,Z0=LloopCpv_\text{spike} = L_\text{loop}\,\frac{di}{dt}, \qquad f_\text{ring} = \frac{1}{2\pi\sqrt{L_\text{loop} C_p}}, \qquad Z_0 = \sqrt{\frac{L_\text{loop}}{C_p}}

When the high side turns on, the switch node charges the off device's output capacitance CpC_p (CossC_{oss} or a diode's junction capacitance) through LloopL_\text{loop}: a series LCLC driven by a step, which overshoots towards twice the input and rings at fringf_\text{ring}, damped only by milliohms (Hard-Switching Waveforms, Second-Order Step Response). A diode's reverse-recovery current adds energy at the same moment (Power Diodes).

The RC snubber

A resistor equal to Z0Z_0 damps the tank critically, but placed directly across CpC_p it would burn V2/RV^2/R continuously. In series with a capacitor CsC_s larger than CpC_p, it only conducts during the edges. The standard recipe:

  1. Measure f1f_1, the ring frequency. Add a known capacitor CaddC_\text{add} (two or three times the expected CpC_p) across the node and measure f2f_2. Then Cp=Cadd/((f1/f2)2−1)C_p = C_\text{add}/\left((f_1/f_2)^2 - 1\right) and Lloop=1/((2πf1)2Cp)L_\text{loop} = 1/\left((2\pi f_1)^2 C_p\right).
  2. Choose Rs=Z0R_s = Z_0 and Cs=3C_s = 3 to 4 Cp4\,C_p.
  3. Check the loss: each edge charges and discharges CsC_s, so P=CsV2fswP = C_s V^2 f_{sw}, independent of RsR_s, and the resistor must handle it (with a pulse rating).

The RCD snubber (or clamp) is a different tool. At turn-off a capacitor across the switch, charged through a diode and discharged through a resistor, slows the voltage rise so the current falls while the voltage is still low (a turn-off snubber, trading switching loss into the resistor), or holds the peak at a set level (the clamp of The Flyback Converter).

Worked example: snubbing the 24 V buck

Given: the switch node rings at f1=71.2 MHzf_1 = 71.2\ \text{MHz}; with Cadd=1 nFC_\text{add} = 1\ \text{nF} soldered across the low-side switch it rings at f2=41.1 MHzf_2 = 41.1\ \text{MHz}. Vin=24 VV_\text{in} = 24\ \text{V}, fsw=200 kHzf_{sw} = 200\ \text{kHz}.

Find: CpC_p, LloopL_\text{loop}, the snubber and its loss.

Solve:

Cp=1 nF(71.2/41.1)2−1=1 nF2.001=500 pF,Lloop=1(2π⋅71.2 MHz)2⋅500 pF=10.0 nHRs=10 nH500 pF=4.47 Ω⇒4.7 Ω,Cs=3⋅500 pF=1.5 nF,P=1.5 nF⋅(24 V)2⋅200 kHz=173 mW\begin{aligned} C_p &= \frac{1\ \text{nF}}{(71.2/41.1)^2 - 1} = \frac{1\ \text{nF}}{2.001} = 500\ \text{pF}, \qquad L_\text{loop} = \frac{1}{(2\pi \cdot 71.2\ \text{MHz})^2 \cdot 500\ \text{pF}} = 10.0\ \text{nH} \\ R_s &= \sqrt{\frac{10\ \text{nH}}{500\ \text{pF}}} = 4.47\ \Omega \Rightarrow 4.7\ \Omega, \qquad C_s = 3 \cdot 500\ \text{pF} = 1.5\ \text{nF}, \qquad P = 1.5\ \text{nF} \cdot (24\ \text{V})^2 \cdot 200\ \text{kHz} = 173\ \text{mW} \end{aligned}

Check: 173 mW173\ \text{mW} is 0.7 %0.7\ \% of the 24 W24\ \text{W} output: a real cost, and a reason to shrink LloopL_\text{loop} first. A 08050805 resistor is rated about 0.125 W0.125\ \text{W}, so use a 12061206 or two in parallel.

python · try it yourself
import numpy as np

# 1. find the parasitics from two ring frequencies: as measured, then with 1 nF added at the switch node
f1, f2, C_add = 71.2e6, 41.1e6, 1e-9
Cp = C_add / ((f1 / f2)**2 - 1)
Lp = 1 / ((2 * np.pi * f1)**2 * Cp)
Z0 = np.sqrt(Lp / Cp)
print(f"Cp = {Cp*1e12:.0f} pF, Lp = {Lp*1e9:.2f} nH, Z0 = {Z0:.2f} ohm")

# 2. RC snubber: R = Z0, C = 3 Cp; its loss is C V^2 f whatever R is
V, fsw = 24.0, 200e3
Rs, Cs = Z0, 3 * Cp
print(f"snubber R = {Rs:.1f} ohm (use 4.7), C = {Cs*1e9:.2f} nF (use 1.5), loss = {1.5e-9*V**2*fsw*1e3:.0f} mW at {fsw/1e3:.0f} kHz")

# 3. dv/dt into stray capacitance (common mode) and di/dt across loop inductance
for tr in (5e-9, 20e-9):
    dvdt = V / tr
    print(f"edge {tr*1e9:4.0f} ns: dv/dt = {dvdt/1e9:4.1f} V/ns, 20 pF tab-to-heatsink current {20e-12*dvdt*1e3:5.0f} mA, "
          f"spectrum corner 1/(pi tr) = {1/(np.pi*tr)/1e6:5.1f} MHz")
I, ti = 2.0, 5e-9
for L in (2e-9, 10e-9, 30e-9):
    print(f"loop {L*1e9:4.0f} nH: L di/dt = {L*I/ti:5.1f} V spike for {I} A in {ti*1e9:.0f} ns")

# 4. trapezoid spectrum envelope (amplitude of harmonics, dBuV) at 30 MHz for the two edges
T, d = 1 / fsw, 0.5
f = 30e6
for tr in (5e-9, 20e-9):
    env = 2 * V * d * min(1, 1 / (np.pi * f * d * T)) * min(1, 1 / (np.pi * f * tr))
    print(f"edge {tr*1e9:4.0f} ns: envelope at 30 MHz = {20*np.log10(env/1e-6):5.1f} dBuV")
Cp = 500 pF, Lp = 10.00 nH, Z0 = 4.47 ohm
snubber R = 4.5 ohm (use 4.7), C = 1.50 nF (use 1.5), loss = 173 mW at 200 kHz
edge    5 ns: dv/dt =  4.8 V/ns, 20 pF tab-to-heatsink current    96 mA, spectrum corner 1/(pi tr) =  63.7 MHz
edge   20 ns: dv/dt =  1.2 V/ns, 20 pF tab-to-heatsink current    24 mA, spectrum corner 1/(pi tr) =  15.9 MHz
loop    2 nH: L di/dt =   0.8 V spike for 2.0 A in 5 ns
loop   10 nH: L di/dt =   4.0 V spike for 2.0 A in 5 ns
loop   30 nH: L di/dt =  12.0 V spike for 2.0 A in 5 ns
edge    5 ns: envelope at 30 MHz = 100.2 dBuV
edge   20 ns: envelope at 30 MHz =  94.7 dBuV

Slower edges and smaller loops are the two levers. Going from 55 to 20 ns20\ \text{ns} edges cuts the common-mode current through a 20 pF20\ \text{pF} tab-to-heatsink capacitance from 9696 to 24 mA24\ \text{mA} and moves the spectrum's second corner from 6464 to 16 MHz16\ \text{MHz}, 5.5 dB5.5\ \text{dB} less at 30 MHz30\ \text{MHz}, at the price of switching loss. Cutting the loop from 3030 to 2 nH2\ \text{nH} shrinks the L di/dtL\,di/dt spike from 1212 to 0.8 V0.8\ \text{V} and costs nothing but layout care.

Cross-check in ngspice

The edge is a 24 V24\ \text{V} step with 2 ns2\ \text{ns} rise into 10 nH10\ \text{nH}, 0.1 Ω0.1\ \Omega and 500 pF500\ \text{pF}; a second copy adds the snubber.

bash · try it yourself
cat > ring.cir <<'EOF'
* Switch-node ringing at turn-on: 24 V edge (2 ns) through the loop inductance 10 nH (0.1 ohm)
* into the off device's capacitance 500 pF; copy 2 adds an RC snubber 4.7 ohm + 1.5 nF
VE e 0 PULSE(0 24 1n 2n 2n 1 2)
LA e a 10n
RA a sw 0.1
CPA sw 0 500p
LB e b 10n
RB b swb 0.1
CPB swb 0 500p
RS swb s 4.7
CS s 0 1.5n
.control
tran 0.01n 300n 0 0.01n
meas tran peak_bare max v(sw) from=0 to=300n
meas tran t1 when v(sw)=24 rise=2
meas tran t2 when v(sw)=24 rise=3
let f_ring = 1/(t2-t1)
print f_ring
meas tran ring_bare_200n pp v(sw) from=200n to=300n
meas tran peak_rc max v(swb) from=0 to=300n
meas tran ring_rc_50n pp v(swb) from=50n to=300n
.endc
.end
EOF
ngspice -b ring.cir 2>&1 | grep -E '^(peak|ring|f_ring)[a-z_0-9]* +=' | awk '{print $1, $2, $3}'
peak_bare = 4.640686e+01
f_ring = 7.117169e+07
ring_bare_200n = 1.647053e+01
peak_rc = 3.350810e+01
ring_rc_50n = 6.517942e-03

Without the snubber the node peaks at 46.4 V46.4\ \text{V}, nearly twice the input, and rings at 71.2 MHz71.2\ \text{MHz}, still 16.5 V16.5\ \text{V} peak-to-peak after 200 ns200\ \text{ns} (the 0.1 Ω0.1\ \Omega gives a QQ of about 45). With the snubber the peak falls to 33.5 V33.5\ \text{V} and the ring is gone within one cycle: 6.5 mV6.5\ \text{mV} left after 50 ns50\ \text{ns}. A 40 V40\ \text{V} switch that was overstressed now has margin.

Interactive: tuning the snubber

The netlist lab solves the same snubbed circuit. At 4.7 Ω4.7\ \Omega and 1.5 nF1.5\ \text{nF} the switch node peaks at 33.51 V33.51\ \text{V} at about 10.8 ns10.8\ \text{ns}. Move RsR_s to its ends: at 0.5 Ω0.5\ \Omega the snubber capacitor simply joins the tank (peak 42.43 V42.43\ \text{V}, slower ring); at 50 Ω50\ \Omega it is nearly disconnected (peak 43.49 V43.49\ \text{V}). Damping is best near Z0Z_0. Raising CsC_s to 5 nF5\ \text{nF} lowers the peak to 29.57 V29.57\ \text{V} but more than triples the loss.

0102030020406080100t (ns)VV(sw)at t = 100.0 nsV(e)24.0 VV(a)24.0 VV(sw)24.0 VV(s)24.0 VI(VE)350 nAI(LP)-350 nAI(RP)-350 nAI(CP)-186 nAI(RS)-164 nAI(CS)-164 nA

Layout rules for low EMI

  • Minimise the hot-loop area. Input ceramic capacitors right at the switch pins, on the same layer, with the return on a solid ground plane directly beneath: the loop's field then cancels with its image and LloopL_\text{loop} falls to 11 to 3 nH3\ \text{nH}. Several small capacitors in parallel beat one large one.
  • Keep the switch node small. It is the main dv/dtdv/dt antenna; give it just the copper the current needs, keep it away from feedback traces and board edges, and never route sensitive signals under it.
  • Kelvin-connect the gate drive. The gate loop returns to the source pin, not through the power path, so L di/dtL\,di/dt in the source does not fight the gate voltage (Gate Drivers).
  • Watch common-mode paths. Heatsinks and tabs couple the switch node to earth through tens of picofarads; ground the heatsink to the quiet side or use a shield layer under the tab. An input filter (differential-mode capacitors and inductor, common-mode choke and Y-capacitors in mains equipment) takes care of what remains (Grounding and Layout).
  • Control the edges on purpose. A gate resistor or a driver with adjustable slew rate trades a little switching loss for many decibels above 30 MHz30\ \text{MHz}; spread-spectrum modulation of fswf_{sw} by a few percent lowers peak readings by smearing the harmonics.

Conducted emissions are measured from 150 kHz150\ \text{kHz} to 30 MHz30\ \text{MHz} through a line impedance stabilisation network (LISN), radiated emissions from 30 MHz30\ \text{MHz} upwards. Limits come from product standards: CISPR 32 (multimedia equipment, edition 2.0, 2015, with Amendment 1:2019; Class B for residential; edition 3 was at its final vote as of 2026-11), CISPR 11 (industrial, edition 7.0, 2024) and CISPR 25 (vehicle components, edition 5.0, 2021). Check the current editions before a design review.

Guided lab: snubbing a low-voltage buck board

Hand calculation. Use the recipe above with your board's measured f1f_1 and f2f_2.

Simulation. Enter LloopL_\text{loop} and CpC_p in the deck and the netlist lab; pick RsR_s and CsC_s.

What you would measure. Board from a bench supply at 1212 to 24 V24\ \text{V} with its current limit set, loaded with a power resistor. Probe the switch node with the tip and a ground spring of a few millimetres at the low-side switch (≥200 MHz\ge 200\ \text{MHz} probe and scope; a 15 cm15\ \text{cm} ground lead adds its own 150 nH150\ \text{nH} and, with the probe's 1010 to 15 pF15\ \text{pF}, a fake ring near 100 MHz100\ \text{MHz}, see Probes). Read f1f_1, solder CaddC_\text{add}, read f2f_2, then fit the snubber. Expect f1f_1 in the 5050 to 200 MHz200\ \text{MHz} range, the computed CpC_p within ±20 %\pm 20\ \% of the datasheet's CossC_{oss} at that voltage, an overshoot reduction of 3030 to 50 %50\ \%, and the snubber resistor measurably warm.

Hazards and safe setup. Power off and discharge the input capacitors before soldering anything on the switch node. The switch node overshoots the supply: a 24 V24\ \text{V} input can show 45 V45\ \text{V} spikes, so use parts and probes rated for it. The snubber resistor and the switches get hot. Never touch the board while it runs, and keep the current limit set so a solder bridge fails safely.

Pitfalls

  • Measuring the ring with a long ground lead. You measure the probe's own resonance.
  • A snubber far from the switch. Its own trace inductance puts it outside the loop it should damp: place it at the device's pins.
  • Snubbing before shrinking the loop. Layout removes the cause for free; the snubber removes energy at a cost of CsV2fswC_s V^2 f_{sw}.
  • Forgetting the snubber resistor's pulse rating. It sees the peak current V/RsV/R_s at every edge.

Practice

  1. A node rings at 100 MHz100\ \text{MHz}, and at 50 MHz50\ \text{MHz} with 3 nF3\ \text{nF} added. Find CpC_p, LloopL_\text{loop} and the snubber.
  2. What does the snubber of the worked example dissipate at 500 kHz500\ \text{kHz}?
  3. Why does a slower edge reduce emissions at 50 MHz50\ \text{MHz} but hardly at 1 MHz1\ \text{MHz}?
Answer
  1. (100/50)2−1=3(100/50)^2 - 1 = 3, so Cp=1 nFC_p = 1\ \text{nF}; L=1/((2π⋅100 MHz)2⋅1 nF)=2.53 nHL = 1/((2\pi \cdot 100\ \text{MHz})^2 \cdot 1\ \text{nF}) = 2.53\ \text{nH}; Rs=2.53 nH/1 nF=1.6 ΩR_s = \sqrt{2.53\ \text{nH}/1\ \text{nF}} = 1.6\ \Omega, Cs=3C_s = 3 to 4 nF4\ \text{nF}.
  2. 1.5 nF⋅576 V2⋅500 kHz=0.43 W1.5\ \text{nF} \cdot 576\ \text{V}^2 \cdot 500\ \text{kHz} = 0.43\ \text{W}.
  3. The trapezoid's spectrum falls an extra 20 dB/decade20\ \text{dB/decade} only above 1/(πtr)1/(\pi t_r); for tr=20 nst_r = 20\ \text{ns} that corner is 16 MHz16\ \text{MHz}, far above 1 MHz1\ \text{MHz}.

Test yourself

What sets the frequency of the switch-node ringing in a hard-switched buck?

  1. the output LC filter
  2. the hot-loop inductance with the off device's output capacitance
  3. the switching frequency
  4. the gate resistor

An RC snubber's power loss is about…

  1. V2/RsV^2/R_s
  2. CsV2fswC_s V^2 f_{sw}, independent of RsR_s
  3. zero
  4. RsIout2R_s I_\text{out}^2

Which loop of a buck converter must be kept smallest?

  1. the output capacitor and load
  2. the input capacitor, high-side and low-side switches
  3. the feedback divider
  4. the inductor and output capacitor

A heatsink couples 20 pF to earth from a switch node with 4.8 V/ns edges. The common-mode current pulse is about…

  1. 1 mA
  2. 96 mA
  3. 4.8 A
  4. zero, the heatsink is metal