Enclosure Cavity Resonance: When a Shield Becomes an Antenna
A plain-language guide to EMC enclosure cavity resonance: why a shielded box has resonant frequencies of its own, how the rectangular-cavity mode formula works, and why shielding effectiveness can collapse at those specific frequencies.
Every metal enclosure that's built to keep fields out is, geometrically, also built to trap fields in — the same conductive walls that block an external field can also support a standing electromagnetic wave bouncing back and forth inside the cavity they enclose. At specific frequencies, set purely by the enclosure's internal dimensions, that standing wave becomes a resonance: energy inside the enclosure builds up rather than dissipating, and the enclosure starts behaving like a tuned antenna rather than a passive barrier.
Where the resonant frequencies come from
For a rectangular box of internal dimensions l, h, w, the resonant frequencies follow directly from solving Maxwell's equations with the boundary condition that the tangential electric field must vanish at every conductive wall — the same kind of standing-wave condition that sets a guitar string's harmonics, just in three dimensions instead of one: f(m,n,p) = (c/2)·√((m/l)² + (n/h)² + (p/w)²), where m, n, p are non-negative integers (with at least two of them nonzero — a mode needs field variation in at least two dimensions to exist). A useful sanity-check number: a 1-metre cubic enclosure has a lowest resonance right around 212MHz, a commonly-cited rule of thumb in EMC references.
Why this matters for shielding
Right at a resonant frequency, the enclosure's shielding effectiveness (see the Shielding Effectiveness calculator) doesn't just weaken — it can collapse toward 0dB or even go negative, independent of how thick or conductive the barrier material is. A perfectly specified 100dB solid-barrier shield is worthless at a frequency where the enclosure itself is resonating, which is why cavity resonance is checked as a separate design step from the barrier material calculation, not folded into it.
What actually happens at resonance, and a design checklist
Why real (loaded, lossy) enclosures aren't as bad as the idealized formula suggests, and how to keep resonances out of your frequency range of concern.