---
title: Electromagnetic interference in converters
heading: The spectrum of a trapezoidal switching waveform and its two corners, conducted-emission limits and the LISN, differential-mode and common-mode noise paths, sizing an input filter from the attenuation needed, and common-mode chokes
eyebrow: S11 · Lesson 46 · Electromagnetic interference in converters
xp: 50
---

::: hook
A switching converter that works perfectly on the bench can still be illegal to sell. Its switch node swings hundreds of volts in nanoseconds, and the harmonics of that edge leak back onto the power line and radiate from cables. Regulations (CISPR 32 for most electronics) cap the noise a product may put on the line between 150 kHz and 30 MHz, measured through a standard network. This lesson finds where the noise comes from and how much filtering it takes.
:::

::: play
- The envelope of a switch node's spectrum: a trapezoid swinging 400 V at 50% duty, in dB above 1 µV. It's flat up to $1/\pi\tau$, falls 20 dB per decade up to $1/\pi t_r$, then 40 dB per decade.
- Slowing the edges (larger $t_r$) pulls the second corner down and cuts the high-frequency noise, at the cost of switching loss. Raising the switching frequency moves the first corner up.
- The dashed line is CISPR 32's class B quasi-peak limit for 0.5 to 5 MHz, 56 dBµV. The gap between it and the envelope is what the input filter and the layout must make up.
:::

```sim plot
view: graph
x: f = 10000..1000000000 Hz log
y: L = 0..180 dBµV
slider: s = 50..1000 = 100 kHz log
slider: r = 2..100 = 20 ns log
plot: 20*log(400e6) - 10*log(1 + (f*pi*0.5/(s*1e3))^2) - 10*log(1 + (f*pi*r*1e-9)^2) | samples: 400 | label: envelope
plot: 56 + 0*f | dashed | color: ch3 | label: class B limit (0.5 to 5 MHz)
readout: first corner, kHz = s/(0.5*pi) | digits: 3
readout: second corner, MHz = 1000/(pi*r) | digits: 3
readout: envelope at 30 MHz, dBµV = 20*log(400e6) - 10*log(1 + (30e6*pi*0.5/(s*1e3))^2) - 10*log(1 + (30e6*pi*r*1e-9)^2) | digits: 4
```

::: predict
## A converter's switch node swings 400 V in 20 ns and has 50 pF of capacitance to a grounded heat sink. What current does each edge push into the ground?

- [ ] 1 µA
- [ ] 1 mA
- [x] 1 A
- [ ] None, since the heat sink isn't in the circuit

::: reveal
$i = C\,dv/dt$ = 50 pF × 400 V/20 ns = 1 A for the 20 ns of each edge. That current has to return to the converter somehow, and its path runs through the safety ground and the power line: common-mode noise. A thermal pad's capacitance is often the largest noise source in a design.
:::
:::

::: nameit
## The trapezoid's spectrum

A trapezoidal pulse train of amplitude V, pulse width τ and rise time $t_r$ has harmonics bounded by an envelope that starts at $2V\tau/T_s$, breaks down at $f_1 = 1/\pi\tau$ to fall 20 dB per decade, and breaks again at $f_2 = 1/\pi t_r$ to fall 40 dB per decade. For a single harmonic n of a 0-to-V pulse train with duty D, the amplitude is $\frac{2V}{n\pi}|\sin(n\pi D)|$.

## Measuring conducted noise

A **LISN** (line impedance stabilization network) puts a defined 50 Ω between each power line and ground across the band, so measurements are repeatable. Levels are in dBµV, $20\log_{10}(V/1\,\mu\text{V})$. CISPR 32 class B (homes) allows 66 falling to 56 dBµV quasi-peak from 150 to 500 kHz, 56 up to 5 MHz and 60 up to 30 MHz; average limits are 10 dB lower.

## Two noise paths

- **Differential mode (DM):** the converter's pulsing input current flows out on one line and back on the other. An LC filter across the lines removes it.
- **Common mode (CM):** the switch node's $C\,dv/dt$ into a heat sink or chassis returns through ground and both lines together. A common-mode choke (two windings on one core, cancelling the DM current's flux) plus Y capacitors to ground removes it.

## Sizing a filter

A second-order LC filter falls 40 dB per decade beyond its corner. If a harmonic at frequency f needs A dB of attenuation, the corner must be at most

$$f_c = f \cdot 10^{-A/40}$$

and then $L = 1/((2\pi f_c)^2C)$. The filter must also be damped so it doesn't destabilize the converter (lesson 20).
:::

::: example
## Find the spectrum's corners for a 400 V, 100 kHz, 50% switch node with 20 ns edges, and the effect of slowing them to 40 ns.

::: solution
1. **Corner frequencies.** With τ = 5 µs:
   $$\begin{aligned} f_1 &= \frac{1}{\pi \times 5\ \mu\text{s}} \\ &= 63.7\ \text{kHz} \\ f_2 &= \frac{1}{\pi \times 20\text{ ns}} \\ &= 15.9\ \text{MHz} \end{aligned}$$
2. **Envelope at 30 MHz.**
   $$\begin{aligned} E &= 172.04 - 53.47 - 6.58 \\ &= 112.0\ \text{dB}\mu\text{V} \end{aligned}$$
3. **With 40 ns edges.** $f_2$ drops to 7.96 MHz and the envelope at 30 MHz to 106.8 dBµV, 5.2 dB less.
4. **Where slower edges help.** Mostly above 10 MHz, which is where radiated emissions live.

**Answer:** the corners are at 63.7 kHz and 15.9 MHz; slowing the edges to 40 ns moves the upper one to 7.96 MHz and lowers the envelope at 30 MHz by 5.2 dB, to 106.8 dBµV.
:::
:::

::: example
## A converter's 200 kHz harmonic is 60 dB over the limit. Size an LC filter with a 10 µF capacitor.

::: solution
1. **Filter corner.**
   $$\begin{aligned} f_c &= 200\text{ kHz} \times 10^{-60/40} \\ &= 6.32\ \text{kHz} \end{aligned}$$
2. **Inductor.**
   $$\begin{aligned} L &= \frac{1}{(2\pi \times 6.32\text{ kHz})^2 \times 10\ \mu\text{F}} \\ &= 63\ \mu\text{H} \end{aligned}$$
3. **Choosing the switching frequency.** A higher switching frequency would push the first harmonic up and let the corner rise; that's one reason designers often pick a switching frequency just under 150 kHz, so the fundamental stays below the band and the first harmonic measured is the second, near 300 kHz.

**Answer:** the corner must sit at 6.32 kHz, so L = 63 µH.
:::
:::

::: example
## A switch node swings 400 V with 10 ns edges at 100 kHz and 50% duty, and the switch's tab has 50 pF to a grounded heat sink. What common-mode current flows, and what does the LISN see at the 3rd harmonic?

::: solution
1. **Current during each edge.**
   $$\begin{aligned} i &= C\,dv/dt \\ &= 50\text{ pF} \times 400\text{ V}/10\text{ ns} \\ &= 2\ \text{A} \end{aligned}$$
2. **Harmonic by harmonic.** The switch node's odd harmonics have amplitude $2V/n\pi$, and the capacitance passes ωC times that, so at 300 kHz:
   $$\begin{aligned} I_3 &= 84.9\ \text{V} \times 2\pi \times 300\text{ kHz} \\ &\quad \times 50\text{ pF} \\ &= 8.0\ \text{mA} \end{aligned}$$
3. **Every odd harmonic.** Every odd harmonic below the edges' corner gives the same 8.0 mA, because the capacitor's admittance rises as fast as the harmonics fall.
4. **What the LISN sees.** Returning through the LISN's two 50 Ω arms in parallel, the current develops
   $$\begin{aligned} V &= 8.0\ \text{mA} \times 25\ \Omega \\ &= 0.20\ \text{V} \end{aligned}$$
   peak, 0.14 V RMS: 103 dBµV, more than 40 dB above the class B limit near 300 kHz.
5. **The fix.** A common-mode choke and Y capacitors must supply that attenuation, or the heat sink can be tied to the switch's DC return instead of to chassis.

**Answer:** 2 A flows during each edge. At the 3rd harmonic 8.0 mA flows, and the LISN sees 0.14 V RMS (103 dBµV), more than 40 dB over the class B limit.
:::
:::

::: check
given: V = 0.1 | 3 | 50
answer: 20*log(V*1e3)
unit: dBµV
tolerance: 0.5%

## A LISN measures {V} mV at one frequency. What's that in dBµV?

::: right
Right. $20\log_{10}(V/1\,\mu\text{V})$ = {answer} dBµV.
:::

::: misses
- [10*log(V*1e3)] Voltage ratios take 20 log, not 10 log.
- [any] Not yet. Convert to microvolts first.
:::
:::

::: check
given: t = 2 | 10 | 50
answer: 1/(pi*t*1e-9)/1e6
unit: MHz
tolerance: 0.5%

## A switch node's edges take {t} ns. Above what frequency does its spectrum fall 40 dB per decade?

::: right
Right. $1/\pi t_r$ = {answer} MHz.
:::

::: misses
- [1/(2*pi*t*1e-9)/1e6] The trapezoid's corner is $1/\pi t_r$.
- [any] Not yet. The second corner is set by the rise time.
:::
:::

::: check
given: C = 10 | 50 | 200; V = 48 | 400; t = 5 | 20 | 50
answer: C*1e-12*V/(t*1e-9)
unit: A
tolerance: 0.5%

## A switch node with {C} pF to chassis swings {V} V in {t} ns. What common-mode current flows during the edge?

::: right
Right. $C\,dv/dt$ = {answer} A.
:::

::: misses
- [any] Not yet. Capacitor current.
:::
:::

::: check
given: f = 150 | 200 | 300; A = 40 | 60 | 80
answer: f*10^(-A/40)
unit: kHz
tolerance: 0.5%

## A harmonic at {f} kHz needs {A} dB of attenuation from a second-order LC filter. Where must the filter's corner be?

::: right
Right. $f \cdot 10^{-A/40}$ = {answer} kHz.
:::

::: misses
- [f*10^(-A/20)] A second-order filter falls 40 dB per decade.
- [any] Not yet. A dB of attenuation needs A/40 decades.
:::
:::

::: check
given: f = 3 | 10 | 25; C = 2.2 | 10 | 47
answer: 1/((2*pi*f*1e3)^2*C*1e-6)*1e6
unit: µH
tolerance: 0.5%

## An input filter needs a {f} kHz corner with a {C} µF capacitor. What inductance?

::: right
Right. $1/((2\pi f_c)^2C)$ = {answer} µH.
:::

::: misses
- [1/((f*1e3)^2*C*1e-6)*1e6] Use angular frequency, $2\pi f_c$.
- [any] Not yet. $f_c = 1/2\pi\sqrt{LC}$.
:::
:::

::: check
given: V = 12 | 48 | 400; D = 0.3 | 0.45; n = 1 | 2 | 3 | 5
answer: 2*V/(n*pi)*abs(sin(n*pi*D))
unit: V
tolerance: 0.5%

## A switch node swings from 0 to {V} V at duty cycle {D}. What's the amplitude of its harmonic number {n}?

::: right
Right. $\frac{2V}{n\pi}|\sin(n\pi D)|$ = {answer} V.
:::

::: misses
- [any] Not yet. The Fourier series of a rectangular pulse train.
:::
:::

::: check
kind: parts
given: A = 30 | 40 | 60; f = 150 | 300; C = 1 | 4.7 | 10

## An input filter must attenuate {f} kHz by {A} dB, using a {C} µF capacitor.

::: part
answer: f/10^(A/40)
unit: kHz
tolerance: 0.5%

### Where must its corner be?

::: misses
- [f/10^(A/20)] A second-order filter gains 40 dB per decade.
- [any] $f/10^{A/40}$.
:::
:::

::: part
answer: 1/((2*pi*f*1e3/10^(A/40))^2*C*1e-6)*1e6
unit: µH
tolerance: 0.5%

### What inductance does that need?

::: misses
- [any] $L = 1/((2\pi f_0)^2C)$.
:::
:::
:::

::: check
kind: derivation
vars: V = 10..1000, D = 0.05..0.95, n = 1..50, T = 0.000001..0.0001, r = 0.000000001..0.0000002

## A switch node swings from 0 to V at duty D with period T and rise time r.

::: step
answer: 2*V/(n*pi)*abs(sin(n*pi*D))

### What is the amplitude of harmonic n?
:::

::: step
answer: 1/(pi*D*T)

### Where does the envelope's first corner lie (in hertz)?
:::

::: step
answer: 1/(pi*r)

### And the second?
:::

::: right
Right. Above the second corner the envelope falls at 40 dB per decade: slower edges buy high-frequency quiet.
:::
:::

::: explain
## Why does a common-mode choke stop common-mode noise without saturating from the converter's load current?

::: model
A common-mode choke has both power lines wound on the same core in the same sense. The load current flows out on one line and back on the other, so its two ampere-turns cancel and it produces almost no flux in the core; the choke presents only its small leakage inductance to the load current, and the core can be a high-permeability material that would saturate instantly if it carried the DC. Common-mode noise flows in the same direction on both lines, returning through ground, so its ampere-turns add: it sees the full, large inductance of the winding and is blocked, and the Y capacitors give it a short return path back to the converter instead of through the LISN.
:::
:::

::: practice

::: check
given: V = 0.01 | 0.02 | 0.1 | 1 | 3 | 10 | 100
answer: 20*log(V*1e3)
unit: dBµV
tolerance: 0.5%

## {V} mV in dBµV?

::: misses
- [any] $20\log(V/1\,\mu\text{V})$.
:::
:::

::: check
given: f = 150 | 250; A = 50 | 70
answer: f*10^(-A/40)
unit: kHz
tolerance: 0.5%

## Filter corner: {A} dB at {f} kHz?

::: misses
- [any] $f \cdot 10^{-A/40}$.
:::
:::

::: check
given: C = 20 | 100; V = 100 | 800; t = 3 | 30
answer: C*1e-12*V/(t*1e-9)
unit: A
tolerance: 0.5%

## CM current: {C} pF, {V} V in {t} ns?

::: misses
- [any] $C\,dv/dt$.
:::
:::
:::
