The grating equation answers one question: when a beam of light strikes a periodic structure, into which directions is it diffracted? It relates the diffraction angle to the grating period, the wavelength and the angle of incidence, and it is the starting point for designing gratings for beam deflection, spectral dispersion and waveguide in-coupling.

A grating is an optical structure that repeats periodically in one direction. It can be a row of ruled lines, a surface relief layer, a material whose refractive index varies periodically, or a liquid crystal film whose orientation rotates periodically. These structures differ greatly in material and fabrication, but they share one rule: after a plane wave passes through a grating, it exits only in a number of discrete directions, and these directions are determined solely by the period, the wavelength and the direction of incidence.

The rule can be summed up in one sentence: the period sets the direction; the structure within the period sets the energy. The grating equation tells us where light can go; the amplitude and phase distribution within each period determines how much light each of these directions receives. This article first derives the grating equation from the path difference between adjacent periods and explains why light appears only in discrete directions. It then rewrites the equation in a more general form using transverse wave vector matching and discusses evanescent orders and subwavelength gratings. Next, it examines one by one the four parameters that control the direction: period, wavelength, angle of incidence and the orientation of the grating vector. Finally, it uses Fourier analysis of thin gratings to explain how energy is distributed, and briefly describes how these rules apply to liquid crystal grating devices.

Conventions. The grating lies in the plane z=0z=0, and the structure varies periodically along xx with period Λ\Lambda; light is incident from the z<0z<0 side. Angles are measured from the grating normal and are positive when the propagation direction tilts toward +x+x. The vacuum wavelength is written λ0\lambda_0, abbreviated to λ\lambda in air when no distinction is needed; the vacuum wavenumber is k0=2π/λ0k_0=2\pi/\lambda_0 and the magnitude of the grating vector is K=2π/ΛK=2\pi/\Lambda. The time factor is e−iωte^{-i\omega t}, and a factor eiϕe^{i\phi} in a transmittance means a phase lag of ϕ\phi.

Periodic structures and diffraction orders

The most direct way to describe a thin grating is by its complex amplitude transmittance t(x)t(x): the field just behind the exit face of the grating equals the incident field multiplied by t(x)t(x). t(x)t(x) repeats with period Λ\Lambda. Depending on what it changes, gratings fall into two classes:

  • Amplitude gratings. The modulus of t(x)t(x) varies with position, as in alternating transparent and opaque lines. Light that is blocked or absorbed is simply lost.
  • Phase gratings. t(x)=eiϕ(x)t(x)=e^{i\phi(x)}, with modulus 1 everywhere; only the phase varies with position. Surface relief, refractive index modulation and liquid crystal orientation patterns all belong to this class. A phase grating does not absorb light; it only changes where the light goes.

In either case, a periodic function can be expanded in a Fourier series containing only components whose spatial frequencies are integer multiples of KK. Each component, multiplied by the incident plane wave, is still a plane wave, only with a different direction of propagation. These plane waves are called diffraction orders and are labeled by an integer mm: m=0m=0 is the zero order, with the same direction as the incident light (or the specularly reflected light), m=±1m=\pm1 are the first orders, and so on.

We first determine the directions of the orders using periodicity alone, without reference to the specific shape of t(x)t(x).

Path difference between adjacent periods: the grating equation

Take two corresponding points A and B in adjacent periods, separated by Λ\Lambda (Figure 1). "Corresponding" means that they occupy the same position within their respective periods, where the structure is exactly the same. For an amplitude grating, think of them as two slits; for a phase grating, they are the same position in the relief or index profile.

Path difference between adjacent periods
Figure 1. Path difference between adjacent periods (transmission grating, schematic). A and B are corresponding points in adjacent periods, separated by Λ\Lambda; grey dashed lines are normals, and dotted lines are the incident and diffracted wavefronts. A plane wave incident at θi\theta_i reaches A first, and the light reaching B travels an extra Λsin⁡θi\Lambda\sin\theta_i; for light leaving in the direction θm\theta_m, the light from A must travel an extra Λsin⁡θm\Lambda\sin\theta_m to reach the diffracted wavefront through B. When the difference between the two red segments equals mλm\lambda, the light leaving all periods adds up in phase.

The wavefront of the incident plane wave reaches A first. The ray reaching B travels an extra Λsin⁡θi\Lambda\sin\theta_i on the incident side. After the grating, consider light leaving in the direction θm\theta_m: on the diffracted wavefront through B, the ray from A must travel an extra Λsin⁡θm\Lambda\sin\theta_m. The light through B therefore travels a total of

Δ=Λsin⁡θi−Λsin⁡θm\Delta=\Lambda\sin\theta_i-\Lambda\sin\theta_m

more than the light through A. A and B have the same structure, so the light passing through them acquires the same additional amplitude and phase, and the only difference comes from Δ\Delta. If Δ\Delta is an integer multiple of the wavelength, the light leaving every period is in phase in this direction and the intensities reinforce one another. Calling this integer −m-m, so that m>0m>0 corresponds to deflection toward +x+x, gives the transmission grating equation [1]:

sin⁡θm=sin⁡θi+mλΛ\sin\theta_m=\sin\theta_i+m\frac{\lambda}{\Lambda}

This derivation uses only the fact that adjacent periods have the same structure, not the shape within a period, so the grating equation holds for periodic structures of any shape. It gives the directions in which light can appear; how much light actually goes in a given direction depends on the energy distribution discussed later.

Example. For a wavelength of 532 nm, a period of 1 μm and normal incidence, λ/Λ=0.532\lambda/\Lambda=0.532. The m=±1m=\pm1 orders exit at ±32.14∘\pm32.14^\circ; m=±2m=\pm2 would require sin⁡θ=±1.064\sin\theta=\pm1.064, which has no real solution, so these two orders cannot propagate. This grating can therefore produce only the 00 and ±1\pm1 orders in air.

Why light appears only in discrete directions

The grating equation says that interference is constructive in these directions, but it does not say that there is no light in other directions. Answering the latter question requires adding up the contributions of all periods.

Suppose the illuminated part of the grating contains NN periods. In any direction θ\theta, the phase difference between the light leaving adjacent periods is

δ=2πΛλ(sin⁡θ−sin⁡θi)\delta=\frac{2\pi\Lambda}{\lambda}\left(\sin\theta-\sin\theta_i\right)

Adding NN wavelets of equal amplitude whose phases differ successively by δ\delta is a geometric series. Summing it and taking the squared modulus gives the far-field intensity [2]:

I(θ)=I1(θ) sin⁡2(Nδ/2)sin⁡2(δ/2)I(\theta)=I_1(\theta)\,\frac{\sin^2(N\delta/2)}{\sin^2(\delta/2)}

Here I1(θ)I_1(\theta) is the diffracted intensity of a single period on its own, determined by the structure within the period and varying slowly with angle; the second factor depends only on the periodicity and is called the multiple-beam interference factor.

The behavior of this factor explains everything:

  • When δ=2πm\delta=2\pi m, numerator and denominator both vanish and the limit is N2N^2. These are the principal maxima given by the grating equation. The intensity is proportional to N2N^2 because NN amplitudes add in phase.
  • When δ\delta deviates from 2πm2\pi m, the phases of the NN wavelets are successively offset and, in the complex plane, the wavelets wind around head to tail. When the deviation reaches 2π/N2\pi/N, the phases complete exactly one full turn and the resultant amplitude is zero. This is the first zero next to the principal maximum.
  • Between two principal maxima there are N−1N-1 zeros and N−2N-2 secondary maxima. For large NN, the strongest secondary maximum is only about 4.7% of the principal maximum.

The width of a principal maximum from its peak to the first zero is

Δ(sin⁡θ)=λNΛ\Delta(\sin\theta)=\frac{\lambda}{N\Lambda}

Converted to angle, this is about Δθ≈λ/(NΛcos⁡θm)\Delta\theta\approx\lambda/(N\Lambda\cos\theta_m). NΛN\Lambda is simply the illuminated width WW, so this width is the diffraction limit of an aperture WW: the more periods, the narrower the principal maxima and the more the energy is concentrated in the directions given by the grating equation (Figure 2). As N→∞N\to\infty, the principal maxima shrink to strictly discrete directions.

Multi-period interference factor for N = 4 and N = 16
Figure 2. The multiple-beam interference factor versus sin⁡θ\sin\theta (normal incidence, λ/Λ=0.532\lambda/\Lambda=0.532, vertical axis normalized to the principal maximum). (a) N=4N=4; (b) N=16N=16. The positions of the principal maxima are set by the grating equation and do not change with NN; the width from peak to first zero is λ/(NΛ)\lambda/(N\Lambda) and narrows as NN increases, and there are N−2N-2 secondary maxima between two principal maxima. Only the interference factor is plotted; it has not been multiplied by the single-period diffracted intensity I1I_1.

Example. Again take 532 nm, a 1 μm period and normal incidence, with the first order at 32.14∘32.14^\circ. With a 1 mm wide illuminated area (N=1000N=1000), the half-width of the principal maximum is about 6.3×10−46.3\times10^{-4} rad, i.e. 0.036∘0.036^\circ; with N=16N=16 it is about 2.2∘2.2^\circ.

The light in other directions has not disappeared; rather, the contributions of the periods cancel one another there, so no energy goes in those directions. Energy conservation is balanced by the N2N^2 of the principal maxima: their height grows as N2N^2 and their width shrinks as 1/N1/N, so the power carried by each order is proportional to NN, i.e. to the illuminated area.

Transverse wave vector matching and k-space

The path-difference derivation is intuitive but not very convenient to use: different media on the two sides of the grating, reflected orders and obliquely oriented lines each require a new diagram. A description in terms of wave vectors is more concise, and its conclusions are more general.

Periodicity requires transverse wave vector matching

An incident plane wave can be written as ei(kx,ix+kz,iz)e^{i(k_{x,i}x+k_{z,i}z)}, where kx,i=nik0sin⁡θik_{x,i}=n_ik_0\sin\theta_i is the transverse wave vector and nin_i is the refractive index of the incident medium. The grating is unchanged by a translation of one period along xx, so the total field outside the grating must also satisfy the condition that a translation by Λ\Lambda adds only the phase eikx,iΛe^{ik_{x,i}\Lambda} carried by the incident wave itself. A field satisfying this condition can be written as eikx,ixe^{ik_{x,i}x} multiplied by a function of period Λ\Lambda. Expanding this periodic function in a Fourier series, the transverse wave vector of each term is

kx,m=kx,i+mKk_{x,m}=k_{x,i}+mK

This is transverse wave vector matching: a grating can only add integer multiples of the grating vector to the transverse wave vector of light. This result depends only on the periodicity of the structure along xx and is independent of the grating's thickness, profile shape and whether the material is anisotropic, so the directions of the orders are exactly the same whether a simple scalar model or a rigorous electromagnetic calculation is used.

In a homogeneous medium of refractive index nn, kx=nk0sin⁡θk_x=nk_0\sin\theta. Substituting this on the incident and exit sides gives the grating equation in media:

ndsin⁡θm=nisin⁡θi+mλ0Λn_d\sin\theta_m=n_i\sin\theta_i+m\frac{\lambda_0}{\Lambda}

where ndn_d is the refractive index of the medium containing the diffracted light. For ni=nd=1n_i=n_d=1 it reduces to the air form above. For m=0m=0 it is the law of refraction, so refraction can be regarded as the zero order of a grating.

Reflected orders. The orders reflected back into the incident medium satisfy the same transverse wave vector matching, only with kzk_z reversed in sign. In the convention used here (angles signed by the xx component of the propagation direction), reflected orders also satisfy nisin⁡θm=nisin⁡θi+mλ0/Λn_i\sin\theta_m=n_i\sin\theta_i+m\lambda_0/\Lambda, with specular reflection corresponding to θ0=θi\theta_0=\theta_i. Conventions in the literature are not uniform: Palmer's grating handbook signs angles according to which side of the normal the ray lies on and writes the reflection grating equation as mλ=Λ(sin⁡α+sin⁡β)m\lambda=\Lambda(\sin\alpha+\sin\beta), with specular reflection corresponding to β=−α\beta=-\alpha, and the sign of the orders may also be chosen differently from this article [3]. When comparing formulas and data from different sources, first check their sign conventions for angles and orders.

Propagating and evanescent orders

The longitudinal wave vector of each order is determined by the dispersion relation:

kz,m=n2k02−kx,m2k_{z,m}=\sqrt{n^2k_0^2-k_{x,m}^2}

When ∣kx,m∣<nk0|k_{x,m}|<nk_0, kz,mk_{z,m} is real and the order propagates away. When ∣kx,m∣>nk0|k_{x,m}|>nk_0, kz,mk_{z,m} is imaginary, written kz,m=iκmk_{z,m}=i\kappa_m with κm=kx,m2−n2k02\kappa_m=\sqrt{k_{x,m}^2-n^2k_0^2}. The field of this order travels along xx and decays along zz as e−κm∣z∣e^{-\kappa_m|z|}, existing only near the grating surface; it is called an evanescent order. Without loss and with no other interface behind it, an evanescent order carries no energy away, but it is still part of the total field near the grating surface.

The critical point at which an order changes from propagating to evanescent is when its exit angle reaches 90∘90^\circ. Near this point, the energy previously assigned to that order must be redistributed among the other orders, and the diffraction efficiency can change abruptly with wavelength or angle. This phenomenon is called a Rayleigh anomaly, a type of Wood anomaly [3].

The k-space diagram

Dividing the transverse wave vector by k0k_0 gives u=kx/k0=nsin⁡θu=k_x/k_0=n\sin\theta. On the uu axis, the action of the grating is simply to shift the incident uiu_i by mλ0/Λm\lambda_0/\Lambda; the propagating waves that each medium can support correspond to a semicircle of radius nn. Drawing a vertical line up or down from each umu_m, its intersection with the semicircle gives the propagation direction of that order; if there is no intersection, the order is evanescent (Figure 3).

k-space construction for oblique incidence
Figure 3. k-space construction for oblique incidence (θi=20∘\theta_i=20^\circ, λ0=532 nm\lambda_0=532\ \mathrm{nm}, Λ=1 μm\Lambda=1\ \mu\mathrm{m}, light incident from air on a grating on a glass surface). The horizontal axis is u=kx/k0u=k_x/k_0, with adjacent orders spaced by λ0/Λ\lambda_0/\Lambda. The upper semicircle (orange, radius 1) holds the reflected orders on the air side and the lower semicircle (blue, radius 1.5) the transmitted orders on the glass side; the black arrow is the incident wave vector ki\mathbf k_i, and the numbers at the arrow tips are the orders mm. The dashed blue semicircle is ∣u∣=1|u|=1; orders falling between it and the solid semicircle can propagate in the glass but cannot exit into air through a parallel back surface. Open circles are orders that are evanescent on both sides.

Example. With the parameters of Figure 3, ui=sin⁡20∘=0.342u_i=\sin20^\circ=0.342 and the orders are at um=0.342+0.532mu_m=0.342+0.532m:

Order mm umu_m Reflection angle in air Transmission angle in glass
−3-3 −1.254-1.254 Evanescent −56.7∘-56.7^\circ
−2-2 −0.722-0.722 −46.2∘-46.2^\circ −28.8∘-28.8^\circ
−1-1 −0.190-0.190 −11.0∘-11.0^\circ −7.3∘-7.3^\circ
00 0.3420.342 20.0∘20.0^\circ 13.2∘13.2^\circ
+1+1 0.8740.874 60.9∘60.9^\circ 35.6∘35.6^\circ
+2+2 1.4061.406 Evanescent 69.6∘69.6^\circ
+3+3 1.9381.938 Evanescent Evanescent

The +3+3 order is evanescent on both sides; in the glass its field amplitude decays to 1/e1/e over about 69 nm. The +2+2 and −3-3 orders have ∣u∣|u| greater than 1 and less than 1.5, so they can propagate in the glass. If the back surface of the glass is parallel to the front, uu is conserved at the back surface, and since no propagating wave with ∣u∣>1|u|>1 exists in air, these two orders are totally reflected at the back surface and trapped in the glass. This is exactly the principle by which diffractive waveguides use gratings to couple light into the waveguide; see PVG Waveguides for AR Glasses: In-Coupling, Pupil Expansion and Field-of-View Design.

Conservation of uu at parallel interfaces has another consequence: after passing through a plane-parallel plate, the exit direction of light in air is determined solely by uu in air, regardless of the refractive indices of the intermediate layers. The media only change the angle of the light inside them.

Subwavelength gratings

When the period is small enough, all orders except the zero order become evanescent and the grating no longer sends light into other directions. At normal incidence, this requires λ0/Λ\lambda_0/\Lambda to exceed the larger of the two refractive indices, nmax⁡n_{\max}; if only the zero order is to exist for any angle of incidence, the contribution of nisin⁡θin_i\sin\theta_i at grazing incidence must also be considered, and the condition becomes

Λ<λ0ni+nmax⁡\Lambda<\frac{\lambda_0}{n_i+n_{\max}}

Example. 532 nm light is incident from air on a grating on a glass (n=1.5n=1.5) surface. At normal incidence, Λ<355 nm\Lambda<355\ \mathrm{nm} suffices to leave only the zero order; for this to hold at all angles of incidence, Λ<213 nm\Lambda<213\ \mathrm{nm} is needed.

Such a structure is called a subwavelength grating. It does not deflect light and is macroscopically equivalent to a homogeneous effective medium. Because the periodic structure is not symmetric between the xx and yy directions, the two polarization directions can experience different effective refractive indices; this is called form birefringence [2]. Subwavelength gratings are often used as antireflection structures or polarization elements; their properties must be calculated with rigorous electromagnetic methods and are beyond the scope of this article.

Four parameters that control the diffraction direction

In the grating equation in media, ndsin⁡θm=nisin⁡θi+mλ0/Λn_d\sin\theta_m=n_i\sin\theta_i+m\lambda_0/\Lambda, the only quantities related to the grating and the source are the period, the wavelength and the angle of incidence; in two dimensions, the in-plane orientation of the grating vector is added. Below we look at how each of them changes the diffraction direction. For simplicity, the examples all use the first order in air; conversion to a medium is straightforward when needed.

Period

At normal incidence, sin⁡θ1=λ/Λ\sin\theta_1=\lambda/\Lambda. The smaller the period, the larger the first-order deflection; when the period equals the wavelength, the first order reaches 90∘90^\circ, and any smaller period cuts it off (Figure 4).

First-order diffraction angle versus grating period
Figure 4. First-order diffraction angle θ+1\theta_{+1} versus period Λ\Lambda at normal incidence (in air, at 450, 532 and 635 nm). Dashed lines mark the cutoff period Λ=λ\Lambda=\lambda for each wavelength. Green dots are the diffraction angles at 532 nm for periods of 0.6, 1.0 and 2.0 μm.

The curve is nonlinear. Only at small deflection angles is θ1≈λ/Λ\theta_1\approx\lambda/\Lambda approximately proportional to the spatial frequency 1/Λ1/\Lambda; near cutoff, the curve steepens rapidly. Differentiating the grating equation:

dθ1dΛ=−λΛ2cos⁡θ1=−tan⁡θ1Λ\frac{d\theta_1}{d\Lambda}=-\frac{\lambda}{\Lambda^2\cos\theta_1}=-\frac{\tan\theta_1}{\Lambda}

As cos⁡θ1→0\cos\theta_1\to0, this derivative tends to infinity.

Example. At 532 nm and normal incidence:

Period Λ\Lambda First-order diffraction angle Angle change per 1 nm change in period
5 μm 6.11∘6.11^\circ 0.0012∘0.0012^\circ
2 μm 15.43∘15.43^\circ 0.0079∘0.0079^\circ
1 μm 32.14∘32.14^\circ 0.036∘0.036^\circ
0.6 μm 62.46∘62.46^\circ 0.18∘0.18^\circ
0.55 μm 75.30∘75.30^\circ 0.40∘0.40^\circ

Large-angle diffraction therefore demands much higher period accuracy. The periods 0.6 μm and 0.55 μm differ by only 8%, yet the sensitivity of the deflection to period errors more than doubles.

Local period and diffractive lenses. The period need not be the same everywhere. As long as the period varies slowly over a span of several periods, the direction from each small region can be calculated with the grating equation using the local period Λ(x)\Lambda(x). In terms of a phase distribution ϕ(x)\phi(x), the local spatial frequency is the phase gradient, 2π/Λ(x)=dϕ/dx2\pi/\Lambda(x)=d\phi/dx. Making the local deflection direction vary with position allows all kinds of wavefronts to be constructed. For example, to focus normally incident collimated light to a point at distance ff, the light at radius rr must be deflected to sin⁡θ=r/r2+f2\sin\theta=r/\sqrt{r^2+f^2}, so the local period is

Λ(r)=λr2+f2r≈λfr\Lambda(r)=\frac{\lambda\sqrt{r^2+f^2}}{r}\approx\frac{\lambda f}{r}

In the paraxial regime the period is inversely proportional to the radius, becoming denser toward the edge.

Example. At 532 nm with f=50 mmf=50\ \mathrm{mm}, the local periods at radii of 1 mm, 5 mm and 12.5 mm are about 26.6 μm, 5.35 μm and 2.19 μm; the paraxial value at 5 mm is 5.32 μm.

Realizing such a graded-period structure with the geometric phase gives a PB lens; see PB Lens Principles: How Geometric Phase Liquid Crystal Lenses Switch Focal Length Electrically.

Wavelength

For a fixed period, the diffraction angle varies with wavelength; this is the dispersion of a grating. Differentiating the grating equation at a fixed angle of incidence gives the angular dispersion [3]:

dθmdλ=mΛcos⁡θm\frac{d\theta_m}{d\lambda}=\frac{m}{\Lambda\cos\theta_m}

Longer wavelengths are deflected more, the opposite of a prism, in which shorter wavelengths have a higher refractive index and are deviated more. The dispersion of a grating comes from periodicity itself, independent of material, so it cannot be eliminated by changing materials.

Example. For a 1 μm period at normal incidence, the first-order angular dispersion is about 0.068∘/nm0.068^\circ/\mathrm{nm} at 532 nm, increasing to about 0.075∘/nm0.075^\circ/\mathrm{nm} at 650 nm. The first orders at 450 nm and 650 nm lie at 26.74∘26.74^\circ and 40.54∘40.54^\circ, nearly 14∘14^\circ apart.

Resolving power. Dispersion determines how far apart two spectral lines are in angle; the width of the principal maxima determines whether they can be distinguished. By the Rayleigh criterion, two wavelengths are just resolved when the principal maximum of wavelength λ+Δλ\lambda+\Delta\lambda falls exactly on the first zero next to the principal maximum of wavelength λ\lambda. The angular shift of the former is mΔλ/(Λcos⁡θm)m\Delta\lambda/(\Lambda\cos\theta_m) and the half-width of the latter is λ/(NΛcos⁡θm)\lambda/(N\Lambda\cos\theta_m); setting them equal gives

R=λΔλ=mNR=\frac{\lambda}{\Delta\lambda}=mN

The resolving power depends only on the order and the number of illuminated periods [2][3].

Example. A grating with a 1 μm period illuminated over a width of 1 mm has N=1000N=1000 and a first-order resolving power of 1000, so at 532 nm it can resolve a wavelength difference of about 0.53 nm.

Order overlap. Wavelength and order appear in the grating equation only as the product mλm\lambda, so order mm at wavelength λ\lambda and order 2m2m at wavelength λ/2\lambda/2 exit in exactly the same direction [3].

Example. For a 2 μm period at normal incidence, the first order at 800 nm and the second order at 400 nm both lie at 23.58∘23.58^\circ. If the source contains both wavelengths, a detector in this direction cannot tell them apart.

Gratings used over a broad spectrum either block unwanted wavelengths with filters or choose a period at which the unwanted orders are cut off.

Example. For only the ±1\pm1 orders to propagate over the whole 400–700 nm band at normal incidence, the period must satisfy 700 nm<Λ<800 nm700\ \mathrm{nm}<\Lambda<800\ \mathrm{nm}: the lower limit ensures that the first order at 700 nm exists, and the upper limit ensures that the second order at 400 nm is cut off. With Λ=0.75 μm\Lambda=0.75\ \mu\mathrm{m}, the first orders at 400 nm and 700 nm lie at 32.2∘32.2^\circ and 69.0∘69.0^\circ.

Wavelength changes not only the direction but also the energy each order receives; this is explained below in the discussion of energy distribution.

Angle of incidence

Changing the angle of incidence shifts the transverse wave vector uiu_i of the incident light. In k-space, all orders shift by the same amount; but angle and uu are related by a sine, so the same shift corresponds to different angular changes at different angles. Differentiating the grating equation in air gives

dθmdθi=cos⁡θicos⁡θm\frac{d\theta_m}{d\theta_i}=\frac{\cos\theta_i}{\cos\theta_m}

The larger the diffraction angle, the more sensitive it is to the angle of incidence.

Example. 532 nm, 1 μm period. At normal incidence, the ±1\pm1 orders lie symmetrically at ±32.14∘\pm32.14^\circ. With the angle of incidence changed to 20∘20^\circ (Figure 3), the +1+1 order moves to 60.93∘60.93^\circ and the −1-1 order to −10.95∘-10.95^\circ; their deflections relative to the zero order are 40.93∘40.93^\circ and −30.95∘-30.95^\circ, no longer symmetric. Here dθ+1/dθi≈1.93d\theta_{+1}/d\theta_i\approx1.93 and dθ−1/dθi≈0.96d\theta_{-1}/d\theta_i\approx0.96. Oblique incidence also changes which orders can propagate: at normal incidence both ±2\pm2 orders in air are cut off, but at 20∘20^\circ incidence the −2-2 order appears at −46.2∘-46.2^\circ.

Symmetric incidence and the Littrow configuration. In a transmission grating, if the −1-1 order is made symmetric to the incident light about the normal, i.e. θ−1=−θi\theta_{-1}=-\theta_i, substituting into the grating equation gives

2Λsin⁡θi=λ2\Lambda\sin\theta_i=\lambda

At this angle of incidence, the deflection of the −1-1 order relative to the incident direction is a minimum.

Example. At 532 nm with a 1 μm period, the symmetric angle of incidence is 15.43∘15.43^\circ and the deflection is 30.85∘30.85^\circ, slightly less than the 32.14∘32.14^\circ at normal incidence.

The same condition is also the Bragg angle condition for an unslanted transmission volume grating; see Volume Holographic Gratings: Bragg Condition, Diffraction Efficiency and Bandwidth.

For a reflection grating satisfying the same relation, the −1-1 order returns along the incident direction; this is called the Littrow configuration. Palmer's handbook writes it as mλ=2Λsin⁡αm\lambda=2\Lambda\sin\alpha, where its first order m=1m=1 corresponds to m=−1m=-1 in this article [3]. Placing a reflection grating in the Littrow configuration at one end of a laser cavity allows the wavelength returned to the gain medium to be selected by rotating the grating; this is a common tuning method for external-cavity diode lasers [3].

Orientation of the grating vector

So far we have assumed that the plane of incidence is perpendicular to the grating lines, i.e. that the transverse wave vector of the incident light is parallel to the grating vector. In general, both the transverse wave vector and the grating vector are two-dimensional vectors in the grating plane, and transverse wave vector matching takes the vector form:

k∥,m=k∥,i+mK\mathbf k_{\parallel,m}=\mathbf k_{\parallel,i}+m\mathbf K

where K\mathbf K is perpendicular to the grating lines and has magnitude 2π/Λ2\pi/\Lambda. Once the in-plane wave vector of each order is determined, kzk_z is still given by the dispersion relation.

In-plane rotation. At normal incidence, rotating the grating about its normal by an angle ψ\psi leaves the polar angles of the orders unchanged and rotates their azimuths by ψ\psi. The orientation of the grating vector therefore determines in which azimuth the light is deflected, and its magnitude determines by how much.

Conical diffraction. If the plane of incidence is not perpendicular to the grating lines, none of the orders lie in the plane of incidence. The reason is that the grating changes only the wave vector component perpendicular to the lines; the component along the lines is the same for all orders. The propagation directions of all orders therefore make the same angle with the line direction and lie on a cone whose axis is the line direction; this situation is called conical diffraction [3].

Example. 532 nm, 1 μm period, lines along xx (K\mathbf K along yy), light incident at 20∘20^\circ in the xzxz plane. The normalized in-plane wave vectors of the ±1\pm1 orders are (0.342, ±0.532)(0.342,\ \pm0.532), with a polar angle of 39.23∘39.23^\circ and azimuths of ±57.26∘\pm57.26^\circ. All orders have a direction cosine of 0.3420.342 along xx, i.e. they all lie on a cone at 70∘70^\circ to the xx axis.

Multiple grating vectors. A two-dimensional periodic structure (crossed grating) has two independent grating vectors; its orders are labeled by two integers, k∥=k∥,i+m1K1+m2K2\mathbf k_{\parallel}=\mathbf k_{\parallel,i}+m_1\mathbf K_1+m_2\mathbf K_2, and form a lattice in k-space.

Stacked gratings. Light passes through several gratings in sequence, separated by plane-parallel plates or air gaps. Parallel interfaces do not change the in-plane wave vector, and each grating adds its own mjKjm_j\mathbf K_j, so the final exit direction in air satisfies

uout=uin+λ02π∑jmjKj\mathbf u_{\mathrm{out}}=\mathbf u_{\mathrm{in}}+\frac{\lambda_0}{2\pi}\sum_j m_j\mathbf K_j

where u=k∥/k0\mathbf u=\mathbf k_\parallel/k_0. In one dimension this is sin⁡θout=sin⁡θin+∑jmjλ0/Λj\sin\theta_{\mathrm{out}}=\sin\theta_{\mathrm{in}}+\sum_j m_j\lambda_0/\Lambda_j. The precondition is that the order at every intermediate step can propagate in the corresponding medium; the direction is determined by the sum, while which order is selected at each step, and with what efficiency, is determined by each grating itself.

Example. 532 nm light at normal incidence passes first through a grating with a 2 μm period and then through one with a 1 μm period. Taking the +1+1 order both times gives sin⁡θout=0.266+0.532=0.798\sin\theta_{\mathrm{out}}=0.266+0.532=0.798 and an exit angle of 52.94∘52.94^\circ; taking the −1-1 order at the second grating gives sin⁡θout=−0.266\sin\theta_{\mathrm{out}}=-0.266 and an exit angle of −15.43∘-15.43^\circ.

The summation rule has an important special case: if ∑jmjKj=0\sum_j m_j\mathbf K_j=0, for example two gratings with the same period taking first the +1+1 order and then the −1-1 order, the exit direction is the same as the incident direction, and this holds for all wavelengths, because the wavelength appears only as a coefficient multiplying the zero vector. The in-coupling and out-coupling gratings of diffractive waveguides are paired in exactly this way; see PVG Waveguides for AR Glasses: In-Coupling, Pupil Expansion and Field-of-View Design. Conversely, making the mjm_j of each stage switchable allows many discrete directions to be produced by combining just a few gratings; this is the principle of cascaded beam steering; see Non-Mechanical LiDAR Beam Steering with Liquid Crystal Polarization Gratings (LCPG).

The period sets the direction; the structure within the period sets the energy

Up to this point, every result has used only periodicity. We now return to the specific shape of t(x)t(x) to see how energy is distributed among the orders.

Fourier analysis of thin gratings

In the thin-grating approximation, light passes straight through the grating layer, and the field just behind the exit face is the incident field multiplied by t(x)t(x). Expanding t(x)t(x) in a Fourier series:

t(x)=∑mcm eimKx,cm=1Λ∫0Λt(x) e−imKx dxt(x)=\sum_m c_m\,e^{imKx},\qquad c_m=\frac{1}{\Lambda}\int_0^\Lambda t(x)\,e^{-imKx}\,dx

The mm-th term adds mKmK to the transverse wave vector and is exactly the mm-th order. In the phase convention used here, if the phase ϕ(x)\phi(x) increases along +x+x, the corresponding term deflects light toward +x+x. The diffraction efficiency of each order, i.e. the fraction of the incident power that goes into that order, is approximately

ηm=∣cm∣2\eta_m=\left|c_m\right|^2

By Parseval's theorem, the sum of the efficiencies of all orders equals the average of ∣t∣2\left|t\right|^2 over one period. For a phase grating this average is 1, and no energy is lost [4]. Interface reflections and the obliquity factor at large exit angles are neglected here; the result applies when the period is much larger than the wavelength and the deflection angles are not large.

The Fourier coefficients cmc_m depend only on the shape of t(x)t(x) within one period, not on Λ\Lambda itself. So in this approximation, changing the period only moves the directions of the orders without changing their efficiencies, and changing the profile within a period only redistributes the efficiencies without moving the directions. Each class of parameter governs one thing, which is what the title of this section means.

Four typical profiles

Figure 5 shows the calculated results for four profiles.

Grating profiles and diffraction efficiencies of the orders
Figure 5. Four thin-grating profiles (left, two periods shown) and the diffraction efficiencies of orders −3-3 to +3+3 (right, scalar approximation). (a) Binary amplitude grating with 50% duty cycle, with the transmittance tt alternating between 0 and 1; (b) binary phase grating alternating between 0 and π\pi; (c) sinusoidal phase grating, ϕ=asin⁡(Kx)\phi=a\sin(Kx) with a=1.84 rada=1.84\ \mathrm{rad}; (d) blazed grating whose phase increases linearly from 0 to 2π2\pi within one period, with blue for the design wavelength of 532 nm and orange for a phase depth designed for 532 nm but used at 450 nm (material dispersion neglected).

Binary amplitude grating. With equal transparent and opaque parts, c0=1/2c_0=1/2 and the zero-order efficiency is 25%; c±1=1/πc_{\pm1}=1/\pi, so each first order gets about 10.1%; the even orders are zero, and each ±3\pm3 order gets about 1.1%. All orders together receive only 50%; the other half is blocked by the opaque parts. Even with a sinusoidal amplitude transmittance t=12+12cos⁡Kxt=\tfrac12+\tfrac12\cos Kx, which produces only the 00 and ±1\pm1 orders, the first-order efficiency is at most 6.25% [4]. Amplitude gratings inherently lose light, and the zero order takes a large share as well, so high-efficiency devices all use phase gratings.

Binary phase grating. The phase alternates between 0 and π\pi. The transmittances of the two half-periods are +1+1 and −1-1, whose average is zero, so the zero order disappears completely. Each first order gets (2/π)2≈40.5%(2/\pi)^2\approx40.5\%, each ±3\pm3 order about 4.5%, and the even orders are still zero. It is well suited to splitting one beam into two equal beams, but it cannot concentrate light on one side.

Sinusoidal phase grating. By the Jacobi–Anger expansion eiasin⁡Kx=∑mJm(a)eimKxe^{ia\sin Kx}=\sum_m J_m(a)e^{imKx}, the efficiency of order mm is

ηm=Jm2(a)\eta_m=J_m^2(a)

where JmJ_m is the Bessel function of the first kind and aa is the amplitude of the phase modulation (peak-to-valley 2a2a) [4]. J12J_1^2 reaches its maximum of about 33.9% at a≈1.84 rada\approx1.84\ \mathrm{rad}, where the zero and ±2\pm2 orders each get about 10.0% and the ±3\pm3 orders about 1.1% each. Increasing aa to 2.405 makes the zero order vanish, but the first order then drops to about 27.0% and the second order rises to about 18.6%. Palmer's handbook gives a theoretical peak efficiency of about 34% for shallow sinusoidal-groove reflection gratings, consistent with this result [3]. The sinusoidal phase grating is the typical profile of a thin holographic grating recorded by interference.

Blazed grating. The phase increases linearly from 0 to 2πα2\pi\alpha within one period and then jumps back to 0, like a row of sawteeth. Calculating the Fourier coefficients gives

ηm=sinc2(m−α),sinc(x)=sin⁡πxπx\eta_m=\mathrm{sinc}^2(m-\alpha),\qquad \mathrm{sinc}(x)=\frac{\sin\pi x}{\pi x}

For α=1\alpha=1, η1=100%\eta_1=100\% and all other orders are zero. The physical picture is straightforward: a linear phase is a tilted wavefront, tilted by exactly one wavelength over one period, which corresponds exactly to the direction of the +1+1 order; the 2π2\pi jump at the end of each period is invisible to monochromatic light, so the output is a complete tilted plane wave. Each sawtooth can also be viewed as a tiny prism whose refraction direction coincides with the +1+1 order.

Light can be concentrated on one side only if the profile within a period is asymmetric. If the profile is mirror-symmetric about some point, the +m+m and −m-m orders necessarily have equal efficiencies; the binary and sinusoidal gratings are both of this kind.

Wavelength dependence of blazed gratings. The phase depth of a surface relief blazed grating is 2π(n−1)h/λ2\pi(n-1)h/\lambda, where hh is the groove depth, so it equals 2π2\pi only at the design wavelength. Neglecting material dispersion, α=λd/λ\alpha=\lambda_{\mathrm{d}}/\lambda, where λd\lambda_{\mathrm{d}} is the design wavelength.

Example. For a design wavelength of 532 nm and n=1.5n=1.5, the required groove depth is 1.064 μm. Used at 450 nm, α≈1.18\alpha\approx1.18; the first-order efficiency drops to about 89.5%, with about 4.4% in the +2+2 order and about 2.1% in the zero order (orange in Figure 5d). At 650 nm, α≈0.82\alpha\approx0.82, with about 89.6% in the first order, 4.4% in the zero order and 2.1% in the +2+2 order. When the wavelength is too short, the excess light goes mainly into the +2+2 order; when it is too long, mainly into the zero order.

Multilevel approximation. When a continuous sawtooth is difficult to fabricate, it is often approximated by LL equal steps, each with a phase difference of 2π/L2\pi/L. Calculating in the same way, the first-order efficiency is sinc2(1/L)\mathrm{sinc}^2(1/L).

Example. For LL = 2, 4, 8 and 16, the first-order efficiencies are about 40.5%, 81.1%, 95.0% and 98.7%. L=2L=2 is the binary phase grating above.

Comparing these profiles shows that for a set of orders with the same directions, profile design can shift the energy from "evenly distributed" to "almost entirely in the first order". The table below summarizes the results calculated above.

Profile Zero order +1+1 order −1-1 order Characteristics
Binary amplitude (50%) 25% 10.1% 10.1% Half the light is blocked
Binary phase (0/π) 0 40.5% 40.5% Symmetric splitting, odd orders only
Sinusoidal phase (a=1.84a=1.84) 10.0% 33.9% 33.9% Upper limit of first-order efficiency for a thin sinusoidal grating
Blazed (2π2\pi) 0 100% 0 Energy concentrated in one order

Range of validity of the scalar approximation

The efficiencies above all come from the scalar thin-grating model. It assumes that light passes straight through the grating layer with no lateral coupling and no distinction between polarizations. The model has two main conditions of validity.

The grating must be thin enough. As light passes through a thickness dd, the diffracted light walks off laterally, and phase mismatch also arises between contributions from different depths. This effect is commonly measured by the Klein–Cook parameter:

Q=2πλ0dnΛ2Q=\frac{2\pi\lambda_0d}{n\Lambda^2}

where nn is the average refractive index. By convention, Q≲1Q\lesssim1 is regarded as a thin grating, whose multi-order diffraction is close to the analysis above; Q≳10Q\gtrsim10 or so is regarded as a thick grating, in which only the one order satisfying the Bragg condition is effectively excited. Moharam and Young pointed out that QQ alone is not a reliable criterion: with strong index modulation, multi-order diffraction can occur even when QQ is large, and they proposed instead the modulation-dependent parameter ρ=λ02/(Λ2n0n1)\rho=\lambda_0^2/(\Lambda^2n_0n_1) [5].

Example. For a grating at 532 nm with a thickness of 2 μm and an average refractive index of 1.6: with a 5 μm period, Q≈0.17Q\approx0.17, a thin grating; with a 1 μm period, Q≈4.2Q\approx4.2, already in the intermediate regime, and the efficiencies given by the scalar model are only indicative.

Thick gratings behave fundamentally differently from thin ones. In Kogelnik's two-wave coupled-wave theory, a lossless sinusoidal transmission volume grating satisfying the Bragg condition can reach 100% first-order efficiency [6], rather than the 33.9% of a thin grating. Bragg selectivity, Kogelnik's theory and the ρ\rho criterion are covered in Volume Holographic Gratings: Bragg Condition, Diffraction Efficiency and Bandwidth.

The period must be much larger than the wavelength. Palmer's handbook notes that scalar theory is reasonably accurate only when the wavelength is much smaller than the period, and that it cannot account for polarization effects [3]. When the period is only a few wavelengths or less, the grooves are deep or the deflection angles are large, the efficiency depends markedly on polarization, and shadowing effects and various anomalies appear; rigorous methods that solve Maxwell's equations directly, such as rigorous coupled-wave analysis (RCWA), are then required [7]. For the systematic behavior of real grating efficiency with groove shape, material and polarization, see the monograph by Loewen and Popov [8]. The trade-offs between diffraction efficiency, spectral bandwidth and angular bandwidth are discussed in Diffraction Efficiency, Angular Bandwidth and Spectral Bandwidth: Understanding Diffractive Optics Specifications.

It should be emphasized that these limitations affect only the efficiency. The directions of the orders come from transverse wave vector matching and are given exactly by the grating equation in any model.

Direction control in liquid crystal grating devices

Liquid crystal grating devices follow the same rules of direction; they differ in how they realize the phase distribution within a period and how they distribute energy among the orders. Only the correspondence is outlined here; details are given in the dedicated articles.

Geometric phase gratings: blazed gratings without jumps. In a liquid crystal polarization grating (LCPG), the director rotates at a constant rate in the plane, turning by 180∘180^\circ over each period Λ\Lambda. For circularly polarized light, the geometric phase produced by a local half-wave plate is twice the orientation angle, so the phase increases continuously and linearly along xx, by exactly 2π2\pi per period. This is equivalent to an ideal blazed grating, but without a physical phase reset and hence without losses at the sawtooth jumps. The handedness of the incident circular polarization determines the sign of the phase gradient and hence whether the light goes into the +1+1 or −1-1 order. The deflection direction is still given by sin⁡θ=sin⁡θi±λ/Λ\sin\theta=\sin\theta_i\pm\lambda/\Lambda, while the efficiency is determined by the phase retardation of the liquid crystal layer. Using multilayer twisted structures, Oh and Escuti made polarization gratings that maintain close to 100% first-order efficiency over a broad band [9]. The principle of the geometric phase is explained in Geometric Phase (PB Phase): How Liquid Crystals Shape Phase in a Flat Layer, the device structure and deflection characteristics in Liquid Crystal Polarization Gratings (LCPG): How Electrical Beam Steering Works, and the related device is the liquid crystal polarization grating (LCPG).

Polarization volume gratings: Bragg selection decides the order. In a polarization volume grating (PVG), the liquid crystal layer is thicker and the periodic planes are slanted. It operates in the Bragg regime: only the one order satisfying the Bragg condition is strongly diffracted, and only for one circular handedness. The diffraction direction is still determined solely by the in-plane period; the slant angle and thickness affect the efficiency and bandwidth. Weng et al. reported a PVG with high efficiency and a large diffraction angle [10]. The principle is explained in Polarization Volume Gratings (PVG): Liquid Crystal Volume Holographic Gratings for AR Waveguides, and the related device is the polarization volume grating (PVG).

Cascading: transverse wave vectors add stage by stage. When several switchable polarization gratings are stacked and each selects a different order mjm_j, the exit directions combine according to the summation rule above. This is the basis of non-mechanical beam steering; see Non-Mechanical LiDAR Beam Steering with Liquid Crystal Polarization Gratings (LCPG).

What these devices have in common is that the direction is determined by the period (and its spatial distribution) and is fixed when the pattern is designed; the role of the liquid crystal is to send energy efficiently into the desired order and to switch between orders by polarization or voltage.

References

[1] E. Hecht. Optics, 5th ed. Pearson, 2017. ISBN 978-0-13-397722-6

[2] M. Born, E. Wolf. Principles of Optics, 7th ed. Cambridge University Press, 1999. DOI: 10.1017/CBO9781139644181

[3] C. Palmer. Diffraction Grating Handbook, 8th ed. MKS Instruments, 2020. https://api.p1.mks.com/medias/sys_master/npresources/h30/h1b/9954522529822/MKS%20Diffraction%20Grating%20Handbook/MKS-Diffraction-Grating-Handbook.pdf

[4] J. W. Goodman. Introduction to Fourier Optics, 3rd ed. Roberts & Company, 2005. ISBN 978-0-9747077-2-3

[5] M. G. Moharam, L. Young. Criterion for Bragg and Raman-Nath diffraction regimes. Applied Optics, 17(11): 1757, 1978. DOI: 10.1364/AO.17.001757

[6] H. Kogelnik. Coupled wave theory for thick hologram gratings. Bell System Technical Journal, 48(9): 2909–2947, 1969. DOI: 10.1002/j.1538-7305.1969.tb01198.x

[7] M. G. Moharam, T. K. Gaylord. Rigorous coupled-wave analysis of planar-grating diffraction. Journal of the Optical Society of America, 71(7): 811, 1981. DOI: 10.1364/JOSA.71.000811

[8] E. G. Loewen, E. Popov. Diffraction Gratings and Applications. Marcel Dekker, 1997. ISBN 0-8247-9923-2

[9] C. Oh, M. J. Escuti. Achromatic diffraction from polarization gratings with high efficiency. Optics Letters, 33(20): 2287, 2008. DOI: 10.1364/OL.33.002287

[10] Y. Weng, D. Xu, Y. Zhang, X. Li, S.-T. Wu. Polarization volume grating with high efficiency and large diffraction angle. Optics Express, 24(16): 17746, 2016. DOI: 10.1364/OE.24.017746