# Diffraction grating

A very large reflecting diffraction grating
An incandescent light bulb viewed through a transmissive diffraction grating.

In optics, a diffraction grating is an optical component with a periodic structure, which splits and diffracts light into several beams travelling in different directions. The emerging coloration is a form of structural coloration.[1][2] The directions of these beams depend on the spacing of the grating and the wavelength of the light so that the grating acts as the dispersive element. Because of this, gratings are commonly used in monochromators and spectrometers.

For practical applications, gratings generally have ridges or rulings on their surface rather than dark lines. Such gratings can be either transmissive or reflective. Gratings which modulate the phase rather than the amplitude of the incident light are also produced, frequently using holography.[3]

The principles of diffraction gratings were discovered by James Gregory, about a year after Newton's prism experiments, initially with items such as bird feathers.[4] The first man-made diffraction grating was made around 1785 by Philadelphia inventor David Rittenhouse, who strung hairs between two finely threaded screws.[5] This was similar to notable German physicist Joseph von Fraunhofer's wire diffraction grating in 1821.[6]

Diffraction can create "rainbow" colors when illuminated by a wide spectrum (e.g., continuous) light source. The sparkling effects from the closely spaced narrow tracks on optical storage disks such as CDs or DVDs are an example, while the similar rainbow effects caused by thin layers of oil (or gasoline, etc.) on water are not caused by a grating, but rather by interference effects in reflections from the closely spaced transmissive layers (see Examples, below). A grating has parallel lines, while a CD has a spiral of finely-spaced data tracks. Diffraction colors also appear when one looks at a bright point source through a translucent fine-pitch umbrella-fabric covering. Decorative patterned plastic films based on reflective grating patches are very inexpensive, and are commonplace.

## Theory of operationEdit

A diffraction grating reflecting only the green portion of the spectrum from a room's fluorescent lighting

The relationship between the grating spacing and the angles of the incident and diffracted beams of light is known as the grating equation.

According to the Huygens–Fresnel principle, each point on the wavefront of a propagating wave can be considered to act as a point source, and the wavefront at any subsequent point can be found by adding together the contributions from each of these individual point sources.

Gratings may be of the 'reflective' or 'transmissive' type, analogous to a mirror or lens, respectively. A grating has a 'zero-order mode' (where m = 0), in which there is no diffraction and a ray of light behaves according to the laws of reflection and refraction the same as with a mirror or lens, respectively.

Diagram showing path difference between rays scattered from adjacent rulings of reflective diffraction grating

An idealised grating is considered here which is made up of a set of slits of spacing d, that must be wider than the wavelength of interest to cause diffraction. Assuming a plane wave of monochromatic light of wavelength λ with normal incidence (perpendicular to the grating), each slit in the grating acts as a quasi point-source from which light propagates in all directions (although this is typically limited to a hemisphere). After light interacts with the grating, the diffracted light is composed of the sum of interfering wave components emanating from each slit in the grating. At any given point in space through which diffracted light may pass, the path length to each slit in the grating will vary. Since the path length varies, generally, so will the phases of the waves at that point from each of the slits, and thus will add or subtract from one another to create peaks and valleys, through the phenomenon of additive and destructive interference. When the path difference between the light from adjacent slits is equal to half the wavelength, λ/2, the waves will all be out of phase, and thus will cancel each other to create points of minimum intensity. Similarly, when the path difference is λ, the phases will add together and maxima will occur. The maxima occur at angles θm, which satisfy the relationship d sinθm/λ = | m |, where θm is the angle between the diffracted ray and the grating's normal vector, and d is the distance from the center of one slit to the center of the adjacent slit, and m is an integer representing the propagation-mode of interest.

Comparison of the spectra obtained from a diffraction grating by diffraction (1), and a prism by refraction (2). Longer wavelengths (red) are diffracted more, but refracted less than shorter wavelengths (violet).

Intensity as heatmap for monochromatic light behind a grating

Thus, when light is normally incident on the grating, the diffracted light will have maxima at angles θm given by:

${\displaystyle d\sin \theta _{m}=m\lambda .}$

It is straightforward to show that if a plane wave is incident at any arbitrary angle θi, the grating equation becomes:

${\displaystyle d(\sin \theta _{i}+\sin \theta _{m})=m\lambda .}$

When solved for the diffracted angle maxima, the equation is:

${\displaystyle \theta _{m}=\arcsin \!\left({\frac {m\lambda }{d}}-\sin \theta _{i}\right)\!.}$

Please note that these equations assume that both sides of the grating are in contact with the same medium (e.g. air). The light that corresponds to direct transmission (or specular reflection in the case of a reflection grating) is called the zero order, and is denoted m = 0. The other maxima occur at angles which are represented by non-zero integers m. Note that m can be positive or negative, resulting in diffracted orders on both sides of the zero order beam.

This derivation of the grating equation is based on an idealised grating. However, the relationship between the angles of the diffracted beams, the grating spacing and the wavelength of the light apply to any regular structure of the same spacing, because the phase relationship between light scattered from adjacent elements of the grating remains the same. The detailed distribution of the diffracted light depends on the detailed structure of the grating elements as well as on the number of elements in the grating, but it will always give maxima in the directions given by the grating equation.

Gratings can be made in which various properties of the incident light are modulated in a periodic pattern; these include

The grating equation applies in all these cases.

### Quantum electrodynamicsEdit

A helical fluorescent lamp photographed in a reflection diffraction-grating, showing the various spectral lines produced by the lamp.

Quantum electrodynamics (QED) offers another derivation of the properties of a diffraction grating in terms of photons as particles (at some level). QED can be described intuitively with the path integral formulation of quantum mechanics. As such it can model photons as potentially following all paths from a source to a final point, each path with a certain probability amplitude. These probability amplitudes can be represented as a complex number or equivalent vector—or, as Richard Feynman simply calls them in his book on QED, "arrows".

For the probability that a certain event will happen, one sums the probability amplitudes for all of the possible ways in which the event can occur, and then takes the square of the length of the result. The probability amplitude for a photon from a monochromatic source to arrive at a certain final point at a given time, in this case, can be modeled as an arrow that spins rapidly until it is evaluated when the photon reaches its final point. For example, for the probability that a photon will reflect off of a mirror and be observed at a given point a given amount of time later, one sets the photon's probability amplitude spinning as it leaves the source, follows it to the mirror, and then to its final point, even for paths that do not involve bouncing off of the mirror at equal angles. One can then evaluate the probability amplitude at the photon's final point; next, one can integrate over all of these arrows (see vector sum), and square the length of the result to obtain the probability that this photon will reflect off of the mirror in the pertinent fashion. The times these paths take are what determine the angle of the probability amplitude arrow, as they can be said to "spin" at a constant rate (which is related to the frequency of the photon).

The times of the paths near the classical reflection site of the mirror will be nearly the same, so as a result the probability amplitudes will point in nearly the same direction—thus, they will have a sizable sum. Examining the paths towards the edges of the mirror reveals that the times of nearby paths are quite different from each other, and thus we wind up summing vectors that cancel out quickly. So, there is a higher probability that light will follow a near-classical reflection path than a path further out. However, a diffraction grating can be made out of this mirror, by scraping away areas near the edge of the mirror that usually cancel nearby amplitudes out—but now, since the photons would not reflect from the scraped-off portions, the probability amplitudes which would all wind up pointing, for instance, at forty-five degrees can have a sizable sum. Thus, this would let light of the right frequency to make this happen sum to a larger probability amplitude, and as such possess a larger probability of reaching the appropriate final point.

This particular description involves many simplifications: a point source, a "surface" that light can reflect off of (thus neglecting the interactions with electrons) and so forth. The biggest simplification is perhaps in the fact that the "spinning" of the probability amplitude arrows is actually more accurately explained as a "spinning" of the source, as the probability amplitudes of photons do not "spin" while they are in transit. We obtain the same variation in probability amplitudes by allowing the time at which the photon left the source to be indeterminate, and the time of the path now tells us when the photon would have left the source, and thus what the angle of its "arrow" would be. However, this model and approximation is a reasonable one to illustrate a diffraction grating conceptually. Light of a different frequency may also reflect off of the same diffraction grating, but with a different final point.[7]

## Gratings as dispersive elementsEdit

The wavelength dependence in the grating equation shows that the grating separates an incident polychromatic beam into its constituent wavelength components, i.e., it is dispersive. Each wavelength of input beam spectrum is sent into a different direction, producing a rainbow of colors under white light illumination. This is visually similar to the operation of a prism, although the mechanism is very different.

A light bulb of a flashlight seen through a transmissive grating, showing two diffracted orders. The order m = 0 corresponds to a direct transmission of light through the grating. In the first positive order (m = +1), colors with increasing wavelengths (from blue to red) are diffracted at increasing angles.

The diffracted beams corresponding to consecutive orders may overlap, depending on the spectral content of the incident beam and the grating density. The higher the spectral order, the greater the overlap into the next order.

An argon laser beam consisting of multiple colors (wavelengths) strikes a silicon diffraction mirror grating and is separated into several beams, one for each wavelength. The wavelengths are (left to right) 458 nm, 476 nm, 488 nm, 497 nm, 502 nm, and 515 nm.

The grating equation shows that the angles of the diffracted orders only depend on the grooves' period, and not on their shape. By controlling the cross-sectional profile of the grooves, it is possible to concentrate most of the diffracted energy in a particular order for a given wavelength. A triangular profile is commonly used. This technique is called blazing. The incident angle and wavelength for which the diffraction is most efficient are often called blazing angle and blazing wavelength. The efficiency of a grating may also depend on the polarization of the incident light. Gratings are usually designated by their groove density, the number of grooves per unit length, usually expressed in grooves per millimeter (g/mm), also equal to the inverse of the groove period. The groove period must be on the order of the wavelength of interest; the spectral range covered by a grating is dependent on groove spacing and is the same for ruled and holographic gratings with the same grating constant. The maximum wavelength that a grating can diffract is equal to twice the grating period, in which case the incident and diffracted light will be at ninety degrees to the grating normal. To obtain frequency dispersion over a wider frequency one must use a prism. In the optical regime, in which the use of gratings is most common, this corresponds to wavelengths between 100 nm and 10 µm. In that case, the groove density can vary from a few tens of grooves per millimeter, as in echelle gratings, to a few thousands of grooves per millimeter.

When groove spacing is less than half the wavelength of light, the only present order is the m = 0 order. Gratings with such small periodicity are called subwavelength gratings and exhibit special optical properties. Made on an isotropic material the subwavelength gratings give rise to form birefringence, in which the material behaves as if it were birefringent.

## FabricationEdit

Originally, high-resolution gratings were ruled using high-quality ruling engines whose construction was a large undertaking. Henry Joseph Grayson designed a machine to make diffraction gratings, succeeding with one of 120,000 lines to the inch (approx. 4,724 lines per mm) in 1899. Later, photolithographic techniques allowed gratings to be created from a holographic interference pattern. Holographic gratings have sinusoidal grooves and may not be as efficient as ruled gratings, but are often preferred in monochromators because they lead to much less stray light. A copying technique allows high quality replicas to be made from master gratings of either type, thereby lowering fabrication costs.

Another method for manufacturing diffraction gratings uses a photosensitive gel sandwiched between two substrates. A holographic interference pattern exposes the gel which is later developed. These gratings, called volume phase holography diffraction gratings (or VPH diffraction gratings) have no physical grooves, but instead a periodic modulation of the refractive index within the gel. This removes much of the surface scattering effects typically seen in other types of gratings. These gratings also tend to have higher efficiencies, and allow for the inclusion of complicated patterns into a single grating. In older versions of such gratings, environmental susceptibility was a trade-off, as the gel had to be contained at low temperature and humidity. Typically, the photosensitive substances are sealed between two substrates which make them resistant to humidity, thermal and mechanical stresses. VPH diffraction gratings are not destroyed by accidental touches and are more scratch resistant than typical relief gratings.

Semiconductor technology today is also utilized to etch holographically patterned gratings into robust materials such as fused silica. In this way, low stray-light holography is combined with the high efficiency of deep, etched transmission gratings, and can be incorporated into high volume, low cost semiconductor manufacturing technology.

A new technology for grating insertion into integrated photonic lightwave circuits is digital planar holography (DPH). DPH gratings are generated in computer and fabricated on one or several interfaces of an optical waveguide planar with standard micro-lithography or nano-imprinting methods, compatible with mass-production. Light propagates inside the DPH gratings, confined by the refractive index gradient, which provides longer interaction path and greater flexibility in light steering.

## ExamplesEdit

The grooves of a compact disc can act as a grating and produce iridescent reflections.

Diffraction gratings are often used in monochromators, spectrometers, lasers, wavelength division multiplexing devices, optical pulse compressing devices, and many other optical instruments.

Ordinary pressed CD and DVD media are every-day examples of diffraction gratings and can be used to demonstrate the effect by reflecting sunlight off them onto a white wall. This is a side effect of their manufacture, as one surface of a CD has many small pits in the plastic, arranged in a spiral; that surface has a thin layer of metal applied to make the pits more visible. The structure of a DVD is optically similar, although it may have more than one pitted surface, and all pitted surfaces are inside the disc.[8][9]

Due to the sensitivity to the refractive index of the media, diffraction grating can be used as sensor of fluid properties.[10]

In a standard pressed vinyl record when viewed from a low angle perpendicular to the grooves, a similar but less defined effect to that in a CD/DVD is seen. This is due to viewing angle (less than the critical angle of reflection of the black vinyl) and the path of the light being reflected due to this being changed by the grooves, leaving a rainbow relief pattern behind.

Diffraction gratings are also used to distribute evenly the frontlight of e-readers such as the Nook Simple Touch with GlowLight.[11]

### Gratings from electronic componentsEdit

Diffraction of a spotlight over a mobile phone

Some everyday electronic components contain fine and regular patterns, and as a result readily serve as diffraction gratings. For example, CCD sensors from discarded mobile phones and cameras can be removed from the device. With a laser pointer, diffraction can reveal the spatial structure of the CCD sensors.[12] This can be done for LCD or LED displays of smart phones as well. Because such displays are usually protected just by transparent casing, experiments can be done without damaging the phones. If accurate measurements are not intended, a spotlight can reveal the diffraction patterns.

### Natural gratingsEdit

A biofilm on the surface of a fishtank produces diffraction grating effects when the bacteria are all evenly sized and spaced.

Striated muscle is the most commonly found natural diffraction grating[13] and, this has helped physiologists in determining the structure of such muscle. Aside from this, the chemical structure of crystals can be thought of as diffraction gratings for types of electromagnetic radiation other than visible light, this is the basis for techniques such as X-ray crystallography.

Most commonly confused with diffraction gratings are the iridescent colors of peacock feathers, mother-of-pearl, and butterfly wings. Iridescence in birds,[14] fish[15] and insects[14][16] is often caused by thin-film interference rather than a diffraction grating. Diffraction will produce the entire spectrum of colors as the viewing angle changes, whereas thin-film interference usually produces a much narrower range. The surfaces of flowers can also create a diffraction, but the cell structures in plants are usually too irregular to produce the fine slit geometry necessary for a diffraction grating.[17] The iridescence signal of flowers is thus only appreciable very locally and hence not visible to man and flower visiting insects.[18][19] However, natural gratings do occur in some invertebrate marine animals, like the antennae of seed shrimp, and have even been discovered in Burgess Shale fossils.[20][21]

Diffraction grating effects are sometimes seen in meteorology. Diffraction coronas are colorful rings surrounding a source of light, such as the sun. These are usually observed much closer to the light source than halos, and are caused by very fine particles, like water droplets, ice crystals, or smoke particles in a hazy sky. When the particles are all nearly the same size they diffract the incoming light at very specific angles. The exact angle depends on the size of the particles. Diffraction coronas are commonly observed around light sources, like candle flames or street lights, in the fog. Cloud iridescence is caused by diffraction, occurring along coronal rings when the particles in the clouds are all uniform in size.[22]

## ReferencesEdit

1. ^ Srinivasarao, M. (1999). "Nano-Optics in the Biological World: Beetles, Butterflies, Birds, and Moths". Chemical Reviews. 99 (7): 1935–1962. doi:10.1021/cr970080y.
2. ^ Kinoshita, S.; Yoshioka, S.; Miyazaki, J. (2008). "Physics of structural colors". Reports on Progress in Physics. 71 (7): 076401. Bibcode:2008RPPh...71g6401K. doi:10.1088/0034-4885/71/7/076401.
3. ^ AK Yetisen; H Butt; F da Cruz Vasconcellos; Y Montelongo; CAB Davidson; J Blyth; JB Carmody; S Vignolini; U Steiner; JJ Baumberg; TD Wilkinson; CR Lowe (2013). "Light-Directed Writing of Chemically Tunable Narrow-Band Holographic Sensors". Advanced Optical Materials. 2 (3): 250–254. doi:10.1002/adom.201300375.
4. ^ Letter from James Gregory to John Collins, dated 13 May 1673. Reprinted in: Rigaud, Stephen Jordan, ed. (1841). Correspondence of Scientific Men of the Seventeenth Century …. 2. Oxford University Press. pp. 251–5. especially p. 254
5. ^ See:
6. ^ See:
7. ^ Feynman, Richard (1985). QED: The Strange Theory of Light and Matter. Princeton University Press. ISBN 0691083886.
8. ^ Ambient Diagnostics by Yang Cai -- CRC Press 2014 Page 267
9. ^ http://www.nnin.org/sites/default/files/files/Karen_Rama_USING_CDs_AND_DVDs_AS_DIFFRACTION_GRATINGS_0.pdf
10. ^ Xu, Zhida; Han, Kevin; Khan, Ibrahim; Wang, Xinhao; Liu, Logan (2014). "Liquid refractive index sensing independent of opacity using an optofluidic diffraction sensor". Optics Letters. 39 (20): 6082–6085. Bibcode:2014OptL...39.6082X. arXiv:. doi:10.1364/OL.39.006082.
11. ^ "Step 17". Nook Simple Touch with GlowLight Teardown. iFixit. 2012.
12. ^ Barreiro, Jesús J.; Pons, Amparo; Barreiro, Juan C.; Castro-Palacio, Juan C.; Monsoriu, Juan A. (March 2014). "Diffraction by electronic components of everyday use" (PDF). American Journal of Physics. 82 (3): 257–261. Bibcode:2014AmJPh..82..257B. doi:10.1119/1.4830043.
13. ^ Baskin, R.J.; Roos, K.P.; Yeh, Y. (October 1979). "Light diffraction study of single skeletal muscle fibers". Biophys. J. 28 (1): 45–64. Bibcode:1979BpJ....28...45B. PMC . PMID 318066. doi:10.1016/S0006-3495(79)85158-9.
14. ^ a b Stavenga, D. G. (2014). "Thin Film and Multilayer Optics Cause Structural Colors of Many Insects and Birds" (PDF). Materials Today: Proceedings. 1: 109–121. doi:10.1016/j.matpr.2014.09.007.
15. ^ Roberts, N. W.; Marshall, N. J.; Cronin, T. W. (2012). "High levels of reflectivity and pointillist structural color in fish, cephalopods, and beetles" (PDF). Proceedings of the National Academy of Sciences. 109 (50): E3387. Bibcode:2012PNAS..109E3387R. PMC . PMID 23132935. doi:10.1073/pnas.1216282109.
16. ^ Stavenga, D. G.; Leertouwer, H. L.; Wilts, B. D. (2014). "Coloration principles of nymphaline butterflies - thin films, melanin, ommochromes and wing scale stacking". Journal of Experimental Biology. 217 (12): 2171–2180. PMID 24675561. doi:10.1242/jeb.098673.
17. ^ Van Der Kooi, C. J.; Wilts, B. D.; Leertouwer, H. L.; Staal, M.; Elzenga, J. T. M.; Stavenga, D. G. (2014). "Iridescent flowers? Contribution of surface structures to optical signaling" (PDF). New Phytologist. 203 (2): 667–73. PMID 24713039. doi:10.1111/nph.12808.
18. ^ Lee, David W. (2007). Nature's Palette: The Science of Plant Color. University of Chicago Press. pp. 255–6. ISBN 978-0-226-47105-1.
19. ^ Van Der Kooi, C. J.; Dyer, A. G.; Stavenga, D. G. (2015). "Is floral iridescence a biologically relevant cue in plant-pollinator signaling?" (PDF). New Phytologist. 205 (1): 18–20. PMID 25243861. doi:10.1111/nph.13066.
20. ^ Lee 2007, p. 41
21. ^ "Colouring in the fossil past". News. Natural History Museum. 15 March 2006.
22. ^ Können, G. P. (1985). Polarized Light in Nature. Cambridge University Press. pp. 72–73. ISBN 978-0-521-25862-3.