A planar stack conserves the in-plane wave vector exactly, because it is invariant under every translation along the surface. A grating of period is invariant only under translations by , so Bloch's theorem (the same one that gives the Bragg mirror its band structure, now applied along the surface) says the field is a sum of plane waves whose in-plane wavenumbers differ from the incident one by multiples of . These are the diffraction orders , each leaving at the angle given by the grating equation
in the medium of index on either side. The equation says where the orders go; it says nothing about how much light each carries, which is the whole difficulty of grating theory.
Propagating and evanescent orders
Order propagates in a medium of index only while ; beyond that its normal wavenumber is imaginary, it is evanescent, bound to the surface, and carries no power away. As the period shrinks, or the wavelength grows, the orders cut off one by one, the last of them ( into the denser medium) at
where is the larger of the two media's indices. A 300 nm grating on glass at normal incidence diffracts into the glass below 456 nm and into air below 300 nm. Exactly at a cutoff an order grazes the surface, and the redistribution of its power among the others produces a sharp feature in every efficiency curve: the Rayleigh–Wood anomaly, which Wood saw in 1902 as dark bands in a grating's spectrum and Rayleigh explained in 1907. Near a cutoff a grating is also most sensitive to its profile, which is where the simple models fail first.
Above cutoff: an effective film
Past only the zeroth order survives, and to it the grating is a homogeneous but anisotropic layer: the field averages over the period, but it averages differently for the component along the lines and the component across them, because the boundary conditions preserve along the lines and across them. For a line grating of fill fraction the lowest-order effective indices (Rytov 1956) are
the arithmetic mean of the permittivities for light polarized along the lines and the harmonic mean for light polarized across them, the same two averages as capacitors in parallel and in series. Rytov's second-order correction adds the first effect of the finite period,
and a corresponding term for TM, which is how far one can trust the zeroth-order picture: a few percent in index at for a glass/air grating, more for silicon. The birefringence is a design tool in its own right, the form birefringence of wave plates and polarizers etched into a single material (Raguin and Morris 1993), and for TE light the grating reflects exactly like the film below.
- R at 550 nm:
Code
import numpy as np
from pystratify import planar
n = lambda wl: [1.0, 1.686013, 1.52] # incident medium, layers, substrate
d = [np.inf, 0.12, np.inf] # thicknesses, µm
lam = (380 + 5 * np.arange(125)) * 1e-3 # wavelength, µm
th = np.radians(0)
R, T = {}, {}
for pol in ('s', 'p'):
rows = [planar.coh_tmm(pol, n(wl), d, th, wl) for wl in lam]
R[pol], T[pol] = np.array([r['R'] for r in rows]), np.array([r['T'] for r in rows])
R_avg, T_avg = (R['s'] + R['p']) / 2, (T['s'] + T['p']) / 2 # unpolarized
- agrees at the half-wave wavelength 2 n_TE d = 404.6 nm the film is absent, bare glass ((n − 1)/(n + 1))²: 0.0425804 against 0.04258 ± 3×10⁻⁴ (closed form)
Below the cutoff the effective film is wrong: energy leaves along the diffracted orders, which no planar calculation produces, and the anomaly at the cutoff itself is invisible to it.
Below cutoff: rigorous coupled-wave analysis
Gratings are solved exactly, for any period and profile, by rigorous coupled-wave analysis (Moharam and Gaylord 1981). The permittivity in the grating layer is expanded in its Fourier series, the field in a finite number of Bloch harmonics (the orders, propagating and evanescent alike, of them), and Maxwell's equations in the layer become a matrix eigenvalue problem whose eigenvectors are the layer's modes and whose eigenvalues their propagation constants. Each mode is then an ordinary plane-wave-like solution, and the boundary conditions at the top and bottom of the layer are a transfer-matrix problem of size rather than : the Foundations construction, with the single channel replaced by a block of coupled ones. A profile that is not a rectangle is staircased into slices, each with its own eigenproblem, and the slices are joined as layers are.
Two refinements made the method practical. The products of the transfer matrices through a thick or absorbing grating overflow exactly as they do for films, and the scattering-matrix formulation with Redheffer's star product (the enhanced transmittance matrix of Moharam et al. 1995, and Li's stable algorithms) cured it. And the TM polarization converged painfully slowly for metallic gratings until Li (1996) showed why: the product of two discontinuous functions ( and , whose product is continuous) must be Fourier factorised by the inverse rule, of the Toeplitz matrix of , not by Laurent's rule. With both, RCWA converges with a few tens of harmonics for dielectric gratings and a hundred or so for metals, and it is what the calculator runs for its grating layers, outside PyStratify. The zero-patterning limit of that solver reproduces the transfer matrix to , which is one of the Verification rows.
What a grating is for
Below cutoff a grating is a spectrometer's dispersing element, a coupler into a waveguide (the order matched to a guided mode's wavenumber, the standard way light enters a photonic chip), a light-trapping structure on a solar cell (the orders diffracted beyond the critical angle of the substrate stay inside it, as the textured surface does geometrically), and an anomaly-based sensor. Above cutoff it is a film with a designable index and birefringence, the effective-medium route to the moth-eye antireflection and to artificial wave plates. The same equation and the same solver cover both, and the cutoff is the line between them.
References
- M. G. Moharam and T. K. Gaylord, J. Opt. Soc. Am. 71, 811 (1981), doi:10.1364/JOSA.71.000811
- M. G. Moharam, E. B. Grann, D. A. Pommet and T. K. Gaylord, J. Opt. Soc. Am. A 12, 1068 (1995), doi:10.1364/JOSAA.12.001068
- L. Li, J. Opt. Soc. Am. A 13, 1870 (1996), doi:10.1364/JOSAA.13.001870
- S. M. Rytov, Sov. Phys. JETP 2, 466 (1956)
- D. H. Raguin and G. M. Morris, Appl. Opt. 32, 1154 (1993), doi:10.1364/AO.32.001154
- E. Popov (ed.), Gratings: Theory and Numeric Applications, 2nd ed. (Institut Fresnel, 2014)