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 buck and the clean square wave of the textbook has a tail: at every turn-on edge the node overshoots to or more and rings at to 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 and 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
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 is the loop of the input capacitor and the two switches: the hot loop. Its inductance (each millimetre of trace is roughly , a TO-220 lead to ) has two effects:
When the high side turns on, the switch node charges the off device's output capacitance ( or a diode's junction capacitance) through : a series driven by a step, which overshoots towards twice the input and rings at , 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 damps the tank critically, but placed directly across it would burn continuously. In series with a capacitor larger than , it only conducts during the edges. The standard recipe:
- Measure , the ring frequency. Add a known capacitor (two or three times the expected ) across the node and measure . Then and .
- Choose and to .
- Check the loss: each edge charges and discharges , so , independent of , 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 ; with soldered across the low-side switch it rings at . , .
Find: , , the snubber and its loss.
Solve:
Check: is of the output: a real cost, and a reason to shrink first. A resistor is rated about , so use a or two in parallel.
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 to edges cuts the common-mode current through a tab-to-heatsink capacitance from to and moves the spectrum's second corner from to , less at , at the price of switching loss. Cutting the loop from to shrinks the spike from to and costs nothing but layout care.
Cross-check in ngspice
The edge is a step with rise into , and ; a second copy adds the snubber.
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 , nearly twice the input, and rings at , still peak-to-peak after (the gives a of about 45). With the snubber the peak falls to and the ring is gone within one cycle: left after . A switch that was overstressed now has margin.
Interactive: tuning the snubber
The netlist lab solves the same snubbed circuit. At and the switch node peaks at at about . Move to its ends: at the snubber capacitor simply joins the tank (peak , slower ring); at it is nearly disconnected (peak ). Damping is best near . Raising to lowers the peak to but more than triples the loss.
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 falls to to . Several small capacitors in parallel beat one large one.
- Keep the switch node small. It is the main 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 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 ; spread-spectrum modulation of by a few percent lowers peak readings by smearing the harmonics.
Conducted emissions are measured from to through a line impedance stabilisation network (LISN), radiated emissions from 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 and .
Simulation. Enter and in the deck and the netlist lab; pick and .
What you would measure. Board from a bench supply at to 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 ( probe and scope; a ground lead adds its own and, with the probe's to , a fake ring near , see Probes). Read , solder , read , then fit the snubber. Expect in the to range, the computed within of the datasheet's at that voltage, an overshoot reduction of to , 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 input can show 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 .
- Forgetting the snubber resistor's pulse rating. It sees the peak current at every edge.
Practice
- A node rings at , and at with added. Find , and the snubber.
- What does the snubber of the worked example dissipate at ?
- Why does a slower edge reduce emissions at but hardly at ?
Answer
- , so ; ; , to .
- .
- The trapezoid's spectrum falls an extra only above ; for that corner is , far above .
Test yourself
What sets the frequency of the switch-node ringing in a hard-switched buck?
- the output LC filter
- the hot-loop inductance with the off device's output capacitance
- the switching frequency
- the gate resistor
An RC snubber's power loss is about…
- , independent of
- zero
Which loop of a buck converter must be kept smallest?
- the output capacitor and load
- the input capacitor, high-side and low-side switches
- the feedback divider
- 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 mA
- 96 mA
- 4.8 A
- zero, the heatsink is metal