---
title: Shielding and electromagnetic compatibility
heading: Absorption and reflection by metal sheets, apertures and slots, and waveguide-below-cutoff vents
eyebrow: S5 · Lesson 45 · Shielding and electromagnetic compatibility
xp: 50
---

::: hook
Every electronic product must keep its own radiation in and outside interference out, and a metal enclosure is the first defense. A solid sheet of copper foil stops a plane wave by well over a hundred decibels, partly by reflecting it at the surface (the sheet's impedance is far below free space's) and partly by absorbing what enters (skin depth again). Real enclosures leak through their seams, vents and cable holes, and those apertures, not the metal, set the shielding a product actually gets. This lesson computes both.
:::

::: play
- The curves are the shielding effectiveness of a solid copper sheet against a plane wave, absorption plus reflection, and of a slot of length L in it, $20\log_{10}(\lambda/2L)$, against frequency.
- The sheet's shielding rises with frequency (absorption grows as the skin depth shrinks); the slot's falls, reaching zero where the slot is half a wavelength long.
- The enclosure is only as good as its worst opening.
:::

```sim plot
view: graph
x: f = 1..10000 MHz log
y: S = 0..300 dB
slider: t = 10..200 = 35 µm
slider: L = 0.5..30 = 5 cm
plot: 8.686*t*1e-6*sqrt(pi*f*1e6*4e-7*pi*5.8e7) + 20*log(376.73/(4*sqrt(2*pi*f*1e6*4e-7*pi/5.8e7))) | label: solid copper
plot: 20*log(299792458/(f*1e6)/(2*L*0.01)) | dashed | label: slot
```

::: predict
## A 35 µm copper foil faces a 100 MHz plane wave. Where does most of its shielding come from, and roughly how much is it?

- [ ] Almost all absorption, about 46 dB
- [x] About 88 dB of reflection plus 46 dB of absorption, about 134 dB
- [ ] Almost all reflection, about 20 dB
- [ ] None: 35 µm is too thin to shield at 100 MHz

::: reveal
The skin depth at 100 MHz is 6.6 µm, so the foil is 5.3 skin depths thick: $8.686 \times 5.3 = 46$ dB of absorption. Copper's surface impedance, 3.7 mΩ, is so far below free space's 377 Ω that the surface reflects almost everything: $20\log_{10}(377/(4 \times 0.0037)) = 88$ dB. A seam or a hole will leak far more than that.
:::
:::

::: nameit
## A solid sheet

For a plane wave (far from the source) on a sheet of thickness t, conductivity σ and permeability µ:
- **Absorption:** $A = 8.686\,t/\delta$ dB, with $\delta = 1/\sqrt{\pi f\mu\sigma}$.
- **Reflection:** $R = 20\log_{10}\dfrac{\eta_0}{4|\eta_s|}$ dB, with the sheet's intrinsic impedance $|\eta_s| = \sqrt{2\pi f\mu/\sigma}$.
- The shielding effectiveness is $SE = A + R$ (plus a correction for multiple internal reflections when $t \lesssim \delta$).

Near a low-impedance magnetic source, such as a transformer or a loop at low frequency, reflection is far weaker, and thick or magnetic (high-µ) material is needed to absorb the field.

## Apertures

A slot of length L leaks like a slot antenna: its shielding is about
$$SE \approx 20\log_{10}\frac{\lambda}{2L}$$
falling to zero at $L = \lambda/2$. N similar apertures close together reduce it by about $10\log_{10}N$. Long seams therefore need many fasteners or conductive gaskets, and the longest dimension of an opening, not its area, is what matters.

## Waveguide below cutoff

A vent shaped as a tube of width w and depth d, used well below its cutoff $c/2w$, attenuates by about
$$27.3\,\frac dw\ \text{dB}$$
so honeycomb vents pass air but not signals.
:::

::: example
## A ventilation slot is 10 cm long. How much does it shield at 1 GHz, and how much would a 1 cm slot?

::: solution
1. **The 10 cm slot.** λ = 30 cm, so
   $$\begin{aligned} SE &= 20\log_{10}\frac{0.3}{0.2} \\ &= 3.5\ \text{dB} \end{aligned}$$
   almost nothing.
2. **A 1 cm slot.**
   $$\begin{aligned} SE &= 20\log_{10}\frac{0.3}{0.02} \\ &= 23.5\ \text{dB} \end{aligned}$$
3. **What it means.** Splitting long openings into short ones is the cheapest shielding improvement there is.

**Answer:** the 10 cm slot shields 3.5 dB at 1 GHz, and a 1 cm slot 23.5 dB.
:::
:::

::: example
## A panel has twenty 1 cm holes close together. What shielding does it give at 1 GHz?

::: solution
1. **One hole.** A single 1 cm hole gives 23.5 dB.
2. **Twenty holes.** Twenty reduce it by
   $$10\log_{10}20 = 13\ \text{dB}$$
3. **Result.**
   $$23.5 - 13 = 10.5\ \text{dB}$$
   Perforated panels are only good shields when the holes are tiny compared with the wavelength.

**Answer:** about 10.5 dB.
:::
:::

::: example
## A honeycomb vent has cells 5 mm wide and 15 mm deep. Up to what frequency does it work, and how much does it attenuate well below that?

::: solution
1. **Cutoff.** Each cell cuts off at
   $$\begin{aligned} f_c &= \frac{c}{2w} \\ &= 30\ \text{GHz} \end{aligned}$$
2. **Attenuation well below cutoff.** Below a few gigahertz it attenuates about
   $$27.3 \times \frac{15}{5} = 82\ \text{dB}$$
   while air passes freely.
3. **Trade-offs.** Deeper cells give more; wider cells raise the airflow but lower the cutoff.

**Answer:** the vent works up to its 30 GHz cutoff and attenuates about 82 dB well below it.
:::
:::

::: check
kind: parts
given: t = 10 | 35 | 100; f = 1 | 10 | 100; s = 58 | 35

## A metal sheet {t} µm thick with σ = {s} MS/m faces a {f} MHz plane wave.

::: part
answer: 1/sqrt(pi*f*1e6*4e-7*pi*s*1e6)*1e6
unit: µm
tolerance: 0.5%

### What is the skin depth?

::: misses
- [any] $1/\sqrt{\pi f\mu\sigma}$.
:::
:::

::: part
answer: 8.686*t*sqrt(pi*f*1e6*4e-7*pi*s*1e6)*1e-6
unit: dB
tolerance: 0.5%

### What absorption loss does the sheet give?

::: misses
- [any] $8.686t/\delta$.
:::
:::

::: part
answer: 20*log(376.73/(4*sqrt(2*pi*f*1e6*4e-7*pi/(s*1e6))))
unit: dB
tolerance: 0.5%

### What reflection loss?

::: misses
- [any] $20\log_{10}(\eta_0/4|\eta_s|)$.
:::
:::
:::

::: check
kind: parts
given: L = 1 | 5 | 10; f = 0.1 | 1 | 2.4; N = 1 | 10 | 50

## An enclosure has {N} slot(s), each {L} cm long, close together; the frequency is {f} GHz.

::: part
answer: 20*log(299792458/(f*1e9)/(2*L*0.01))
unit: dB
tolerance: 0.5%

### What does one slot shield?

::: misses
- [any] $20\log_{10}(\lambda/2L)$.
:::
:::

::: part
answer: 20*log(299792458/(f*1e9)/(2*L*0.01)) - 10*log(N)
unit: dB
tolerance: 0.5%

### And all of them together?

::: misses
- [any] Subtract $10\log_{10}N$.
:::
:::
:::

::: check
kind: parts
given: w = 3 | 5 | 10; d = 10 | 15 | 25

## A honeycomb vent has cells {w} mm wide and {d} mm deep.

::: part
answer: 299792458/(2*w*1e-3)/1e9
unit: GHz
tolerance: 0.5%

### What is its cutoff frequency?

::: misses
- [any] $c/2w$.
:::
:::

::: part
answer: 27.3*d/w
unit: dB
tolerance: 0.5%

### How much does it attenuate well below cutoff?

::: misses
- [any] $27.3\,d/w$.
:::
:::
:::

::: check
kind: choice

## A product's enclosure is 1 mm steel, good for over 100 dB on paper, yet it fails its emissions test at 900 MHz. What is the likeliest leak?

- [ ] The steel is too thin at 900 MHz
- [x] A seam or slot several centimeters long, such as an unscrewed lid edge or a cable opening, which radiates efficiently when its length approaches a sizable fraction of the 33 cm wavelength
- [ ] Steel reflects poorly at high frequencies
- [ ] The paint absorbs the shielding

::: misses
- [1] At 900 MHz the skin depth in steel is a few micrometers: the metal itself is ample.
- [3] Reflection loss is still huge; openings, not the metal, limit it.
- [4] Paint matters only if it insulates seams that should be bonded.
:::
:::

::: check
kind: derivation
vars: t = 1e-6..1e-3, f = 1e5..1e10, s = 1e6..6e7, L = 0.001..0.2

## A sheet of thickness t and conductivity s faces a plane wave at frequency f; a slot of length L is cut in it.

::: step
answer: 8.686*t*sqrt(pi*f*4e-7*pi*s)

### What is the absorption loss?
:::

::: step
answer: 20*log(376.73/(4*sqrt(2*pi*f*4e-7*pi/s)))

### What is the reflection loss?
:::

::: step
answer: 20*log(299792458/f/(2*L))

### What does the slot shield?
:::

::: right
Right. The sheet's two terms grow and shrink slowly with frequency; the slot's shielding falls 20 dB per decade and decides the result.
:::
:::

::: check
kind: python

## Write `sheet_se(t, f, sigma, mu_r=1)`: a solid sheet's plane-wave shielding (absorption plus reflection) in dB, and `enclosure_se(t, f, sigma, slots)`: the enclosure's shielding, the smaller of the sheet's value and the slots' combined value, where slots is a list of slot lengths in meters (combine N slots of the longest length by subtracting $10\log_{10}N$ from that length's value).

```python starter
def sheet_se(t, f, sigma, mu_r=1):
    return 0.0

def enclosure_se(t, f, sigma, slots):
    return 0.0
```

```python solution
import math

def sheet_se(t, f, sigma, mu_r=1):
    mu = 4e-7 * math.pi * mu_r
    delta = 1 / math.sqrt(math.pi * f * mu * sigma)
    eta_s = math.sqrt(2 * math.pi * f * mu / sigma)
    return 8.686 * t / delta + 20 * math.log10(376.73 / (4 * eta_s))

def enclosure_se(t, f, sigma, slots):
    lam = 299792458 / f
    L = max(slots)
    slot_se = 20 * math.log10(lam / (2 * L)) - 10 * math.log10(len(slots))
    return min(sheet_se(t, f, sigma), slot_se)
```

```python tests
assert abs(sheet_se(35e-6, 1e8, 5.8e7) - 134.14) < 0.05, "The predict: 134 dB for copper foil at 100 MHz."
assert abs(enclosure_se(35e-6, 1e9, 5.8e7, [0.01] * 20) - 10.51) < 0.01, "Twenty 1 cm holes at 1 GHz: 10.5 dB."
assert abs(enclosure_se(1e-3, 1e6, 5.8e7, [0.01]) - 83.5) < 0.1, "At 1 MHz even a 1 cm hole, not the 1 mm copper, sets the shielding: 83.5 dB."
```

::: right
Right. The calculation that matters for a real enclosure is almost always the apertures'.
:::
:::

::: explain
## Why does a thin metal sheet shield a radio wave so well, and why do small openings matter so much more than the metal's thickness?

::: model
A good conductor has an intrinsic impedance of milliohms, while a plane wave in air has 377 Ω, so at the sheet's surface almost all of the wave is reflected; what does enter decays by a factor of e every skin depth, which at radio frequencies is micrometers. Together these give well over a hundred decibels even for foil. An opening, however, is a hole in that barrier where the field passes without either effect, and a slot behaves like a slot antenna that radiates efficiently once its length becomes a sizable fraction of a wavelength. So the leakage through seams and holes is usually many orders of magnitude larger than through the metal, and controlling the longest opening is what sets the real shielding.
:::
:::

::: practice
::: check
given: t = 20 | 50; f = 5 | 50
answer: 8.686*t*sqrt(pi*f*1e6*4e-7*pi*5.8e7)*1e-6
unit: dB
tolerance: 0.5%

## Absorption of {t} µm copper at {f} MHz?

::: misses
- [any] $8.686t/\delta$.
:::
:::

::: check
given: L = 2 | 8; f = 0.3 | 1.8
answer: 20*log(299792458/(f*1e9)/(2*L*0.01))
unit: dB
tolerance: 0.5%

## Shielding of a {L} cm slot at {f} GHz?

::: misses
- [any] $20\log_{10}(\lambda/2L)$.
:::
:::

::: check
given: w = 4 | 8; d = 12 | 30
answer: 27.3*d/w
unit: dB
tolerance: 0.5%

## Honeycomb attenuation, {w} mm cells {d} mm deep?

::: misses
- [any] $27.3d/w$.
:::
:::
:::
