Skip to content

Electromagnetic Waves ​

Prerequisites

Before reading this page, check out the Optics Primer and Light Basics.

Why do we need Maxwell's equations? Because they tell us exactly how light behaves when it encounters the tiny structures inside a pixel. When pixel features are smaller than the wavelength of light (~0.5 um), we can't use simple ray tracing -- we need the full wave picture that Maxwell's equations provide. The solvers in COMPASS (RCWA and FDTD) are both methods for solving these equations numerically.

This page introduces Maxwell's equations and the wave formalism that RCWA and FDTD solvers use internally.

Electromagnetic Wave Propagation

Animated EM wave showing perpendicular E and H fields. Adjust absorption to see exponential decay in an absorbing medium.

kλEH

Maxwell's equations ​

All electromagnetic phenomena are governed by four equations. In a linear, isotropic, non-magnetic medium with no free charges:

∇×E=−μ0∂H∂t∇×H=ε0εr∂E∂t∇⋅(εrE)=0∇⋅H=0

Here E is the electric field, H is the magnetic field, εr is the relative permittivity (which may be complex and spatially varying), ε0 is the vacuum permittivity, and μ0 is the vacuum permeability.

Time-harmonic form ​

For monochromatic (single-frequency) light with time dependence e−iωt, the curl equations become:

∇×E=iωμ0H∇×H=−iωε0εrE

This is the starting point for RCWA, which solves the time-harmonic equations in the frequency domain. FDTD instead solves the time-domain equations directly on a grid.

Plane waves ​

The simplest solution to Maxwell's equations in a uniform medium is a plane wave:

E(r,t)=E0ei(k⋅r−ωt)

where the wave vector k satisfies the dispersion relation:

|k|2=k02εr,k0=2πλ

In COMPASS, the incident light is always a plane wave (or a weighted sum of plane waves for cone illumination). The solver computes how this plane wave interacts with the layered pixel structure.

Incidence geometry ​

COMPASS uses a spherical coordinate convention for the incident wave direction:

  • θ: Polar angle measured from the surface normal (z-axis). θ=0 is normal incidence.
  • ϕ: Azimuthal angle in the xy-plane. ϕ=0 is along the x-axis.

The transverse components of the wave vector in the incidence medium (ninc) are:

kx=k0nincsin⁡θcos⁡ϕky=k0nincsin⁡θsin⁡ϕ

These components are conserved at every interface (Snell's law generalized to 3D), which is how both RCWA and FDTD enforce the incidence angle.

Boundary conditions ​

At an interface between two media, the tangential components of E and H must be continuous:

Et,1=Et,2Ht,1=Ht,2

These conditions lead to the Fresnel reflection and transmission coefficients for a single interface:

rTE=n1cos⁡θ1−n2cos⁡θ2n1cos⁡θ1+n2cos⁡θ2rTM=n2cos⁡θ1−n1cos⁡θ2n2cos⁡θ1+n1cos⁡θ2

For a multi-layer stack with lateral patterning, these conditions must be solved numerically -- which is exactly what RCWA and FDTD do.

Energy flow: the Poynting vector ​

The time-averaged power flow per unit area is given by the Poynting vector:

⟨S⟩=12Re(E×H∗)

The z-component Sz tells us how much power flows through a horizontal plane. COMPASS uses the Poynting vector to compute:

  • Reflection (R): power reflected back above the structure.
  • Transmission (T): power transmitted below the structure.
  • Absorption (A): power absorbed within the structure, computed as A=1−R−T.
  • QE per pixel: power absorbed specifically within each photodiode region.

Why two solver approaches? ​

Maxwell's equations can be solved in different ways, each with trade-offs:

ApproachMethodStrengths
Frequency domainRCWAFast for periodic structures, exact periodicity, efficient wavelength sweeps
Time domainFDTDHandles arbitrary geometry, broadband in one run, intuitive field visualization

COMPASS supports both so you can choose the best tool for each problem and cross-validate results. See RCWA Explained and FDTD Explained for details.