Electromagnetic Field Simulation of Cavity Resonators

Category: Electromagnetic Field Analysis > High Frequency | Consolidated Edition 2026-04-11
Electromagnetic field distribution inside a rectangular cavity resonator showing TE and TM mode patterns
Electromagnetic field mode distribution inside a rectangular cavity resonator (TE₁₀₁ mode)

Theory and Physics

What is a Cavity Resonator?

🧑‍🎓

Professor, is a cavity resonator the same principle as a microwave oven?

🎓

Exactly. The magnetron in a microwave oven is a cavity resonator at 2.45 GHz. When electromagnetic waves are confined within a space completely surrounded by metal walls, standing waves form only at specific frequencies. This is "resonance," the fundamental principle of cavity resonators.

🧑‍🎓

Are they used for things other than microwave ovens?

🎓

There are many applications. Bandpass filters for communication satellites, accelerating cavities for particle accelerators, oscillators for radar, filters for 5G base stations—all are applications of cavity resonators. In FEM analysis, the main objectives are to find the resonant frequency and Q factor. A higher Q factor results in a sharper, narrower-band resonance. High Q is required for filters, while low Q is desired for wideband antennas. The design philosophy is completely different depending on the application.

🧑‍🎓

I see, so the target Q factor changes depending on the application. Could you teach me the specific method for finding the resonant frequency?

Resonant Frequency Theory

🎓

Let's start with the simplest rectangular cavity. For a rectangular cavity with side lengths $a \times b \times d$, solving Maxwell's equations with boundary conditions (tangential electric field is zero at the walls) yields a neat analytical solution for the resonant frequency.

Resonant Frequency of a Rectangular Cavity (TEₘₙₚ / TMₘₙₚ Modes)
$$ f_{mnp} = \frac{c}{2\pi\sqrt{\mu_r \varepsilon_r}} \sqrt{\left(\frac{m\pi}{a}\right)^2 + \left(\frac{n\pi}{b}\right)^2 + \left(\frac{p\pi}{d}\right)^2} $$

Here $c$ is the speed of light in vacuum, $\mu_r, \varepsilon_r$ are the relative permeability and permittivity of the medium inside the cavity, and $m, n, p$ are mode indices (non-negative integers, but not all zero simultaneously).

🧑‍🎓

Wow, does it become such a clean formula? What about a cylindrical cavity?

🎓

The cylindrical cavity (radius $a$, height $d$) is a bit more complex, involving zeros of Bessel functions.

Resonant Frequency of a Cylindrical Cavity (TMₘₙₚ Mode)
$$ f_{mnp} = \frac{c}{2\pi\sqrt{\mu_r \varepsilon_r}} \sqrt{\left(\frac{\chi_{mn}}{a}\right)^2 + \left(\frac{p\pi}{d}\right)^2} $$

$\chi_{mn}$ is the $n$-th zero of the Bessel function $J_m(x)$ (for TM modes). For TE modes, use $\chi'_{mn}$, the zeros of $J_m'(x)$. For example, for the $\text{TE}_{011}$ mode, $\chi'_{01} = 3.832$.

🧑‍🎓

Do we have to memorize the zeros of Bessel functions...?

🎓

No need to memorize them. Look them up in a table or calculate them numerically. What's important in practice is that different mode indices $(m,n,p)$ result in different resonant frequencies and electromagnetic field patterns. Lower-order modes (like TE₁₀₁ or TM₀₁₀) have simple field distributions and are easy to use, but as frequency increases, higher-order modes become densely packed, making it difficult to distinguish the desired mode. This is "mode crowding," a major challenge in simulation.

Q Factor (Quality Factor) Physics

🧑‍🎓

I often hear the term Q factor, but what does it represent intuitively?

🎓

Roughly speaking, it's "oscillation persistence." When you flick a wine glass, it rings with a long "kiiin" sound. That's a high Q factor. If you tap a cardboard box, it just goes "thud." That's a low Q factor. It's the same for cavity resonators; lower power loss at the walls results in a higher Q factor.

Definition of Q Factor
$$ Q = \omega_0 \frac{W}{P_{\text{loss}}} = 2\pi \frac{\text{Energy stored per cycle}}{\text{Energy lost per cycle}} $$

$W$ is the time-averaged stored energy inside the cavity, $P_{\text{loss}}$ is the time-averaged dissipated power at the walls.

🧑‍🎓

How do you calculate the wall loss?

🎓

Wall loss is calculated from the surface resistance $R_s$ and the tangential magnetic field $\mathbf{H}_t$ at the wall.

Wall Loss Power and Surface Resistance
$$ P_{\text{loss}} = \frac{R_s}{2} \oint_S |\mathbf{H}_t|^2 \, dS, \qquad R_s = \sqrt{\frac{\omega \mu}{2\sigma}} $$

$R_s$ is the surface resistance ($\Omega$), $\sigma$ is the conductivity of the wall conductor. For copper, $\sigma \approx 5.8 \times 10^7$ S/m.

🎓

In practice, we distinguish between "unloaded Q" and "loaded Q." Unloaded Q ($Q_0$) does not consider coupling to external circuits, while loaded Q ($Q_L$) includes coupling. With the coupling coefficient $\beta$, the following relationship holds.

Relationship Between Unloaded Q and Loaded Q
$$ \frac{1}{Q_L} = \frac{1}{Q_0} + \frac{1}{Q_{\text{ext}}}, \qquad Q_L = \frac{Q_0}{1 + \beta} $$

$Q_{\text{ext}}$ is the external Q factor. When $\beta = 1$, it's critical coupling (all incident power is absorbed by the cavity).

🧑‍🎓

Is critical coupling the same concept as impedance matching?

🎓

Exactly. It's the optimal coupling state where reflection is zero. Critical coupling is ideal for particle accelerators, but in filter design, over-coupling ($\beta > 1$) or under-coupling ($\beta < 1$) are intentionally used depending on the purpose. As a reference for typical Q values: copper cavities for communication filters have $Q_0 \sim 5{,}000$ to $20{,}000$, while superconducting cavities (niobium) can reach $Q_0 \sim 10^{10}$. The orders of magnitude are completely different.

Mode Patterns and Electromagnetic Field Distribution

🧑‍🎓

What's the difference between TE and TM modes?

🎓

Relative to the cavity's axial direction (e.g., the $z$ direction), modes with no $z$ component in the electric field are TE (Transverse Electric) modes, and modes with no $z$ component in the magnetic field are TM (Transverse Magnetic) modes. The lowest-order mode in a rectangular cavity is typically TE₁₀₁, which is also the fundamental mode in microwave ovens.

ModeCharacteristics in Rectangular CavityMain Applications
TE₁₀₁Lowest order. Electric field only in $y$ direction. Simple field distribution.Microwave ovens, basic filters
TM₀₁₀ (Cylindrical)Axisymmetric. Maximum axial electric field.Particle accelerator cavities
TE₀₁₁ (Cylindrical)Wall currents are only circumferential. Very high Q factor.Frequency standards, high-precision filters
Higher-order modesComplex field distribution. High mode density.Multimode heating
🧑‍🎓

Why does the TE₀₁₁ mode have a high Q factor?

🎓

In the TE₀₁₁ mode, the wall currents do not cross junctions (boundaries between corners, end faces, and side walls). Therefore, it is less affected by contact resistance. Moreover, it has the rare characteristic that the Q factor increases as frequency rises. That's why this mode is used in frequency standards—cavity resonators are even inside cesium atomic clocks that determine the world's time.

Coffee Break Trivia Corner

Uneven Heating in Microwave Ovens is Pure Cavity Resonator Physics

The interior of a household microwave oven is precisely a cavity resonator. Microwaves at 2.45 GHz create standing waves in modes like TE₁₀₁ and TE₁₀₂, resulting in fixed patterns of electric field "antinodes" and "nodes." Food heats strongly at antinode positions and hardly heats at node positions—this is the physical cause of "uneven heating." The rotating turntable is a trick to distribute these antinodes across the entire food. In industrial microwave heating equipment, mode stirrers (rotating metal blades) are used to excite multiple modes and temporally stir the electromagnetic field distribution to achieve uniform heating. FEM simulation of cavity resonators is absolutely essential for this design.

Derivation from Maxwell's Equations
  • Starting Point: Helmholtz Equation — Under the time-harmonic assumption $\mathbf{E}(\mathbf{r},t) = \mathbf{E}(\mathbf{r})e^{j\omega t}$, Maxwell's equations including the displacement current term are rearranged to yield the vector Helmholtz equation $\nabla \times \nabla \times \mathbf{E} - k^2 \mathbf{E} = 0$ ($k = \omega\sqrt{\mu\varepsilon}$). This is the governing equation for cavity resonators.
  • Boundary Conditions — On perfect electric conductor (PEC) walls, the tangential electric field is zero: $\hat{n} \times \mathbf{E} = 0$. This determines the resonance condition and guarantees that only discrete eigenfrequencies (modes) exist.
  • Mode Orthogonality — Electric and magnetic fields of different modes are mutually orthogonal: $\int_V \mathbf{E}_m \cdot \mathbf{E}_n \, dV = 0$ ($m \neq n$). This property allows individual modes to be analyzed independently.
Relationship Between Surface Resistance and Skin Depth
  • Skin depth $\delta = \sqrt{2/(\omega\mu\sigma)}$ is the depth to which electromagnetic waves penetrate a conductor. For copper at 10 GHz, $\delta \approx 0.66 \,\mu\text{m}$.
  • Surface resistance $R_s = 1/(\sigma\delta) = \sqrt{\omega\mu/(2\sigma)}$ increases proportionally to the square root of frequency.
  • Therefore, the Q factor is $Q_0 \propto V/(S \cdot \delta)$ (volume / surface area × skin depth)—the larger the cavity, the higher the Q factor.
  • For superconducting cavities, surface resistance based on BCS theory applies, and $R_s$ becomes less than $10^{-5}$ of that in normal conduction, allowing $Q_0 \sim 10^{10}$ to be achieved.
Unit System for Key Parameters
VariableSI UnitTypical Value / Note
Resonant Frequency $f$HzX-band cavity: 8–12 GHz, Accelerator cavity: 350 MHz–3 GHz
Q Factor $Q_0$DimensionlessCopper cavity: 5,000–20,000, Superconducting: $10^9$–$10^{10}$
Surface Resistance $R_s$$\Omega$Copper @10GHz: $\approx 0.026\,\Omega$
Skin Depth $\delta$mCopper @10GHz: $\approx 0.66\,\mu$m
関連シミュレーター

この分野のインタラクティブシミュレーターで理論を体感しよう

シミュレーター一覧
この記事の評価
ご回答ありがとうございます!
参考に
なった
もっと
詳しく
誤りを
報告
参考になった
0
もっと詳しく
0
誤りを報告
0
Written by NovaSolver Contributors
Anonymous Engineers & AI — サイトマップ