Ray transfer matrix analysis (also known as ABCD matrix analysis) is a mathematical form for performing ray tracing calculations in sufficiently simple problems which can be solved considering only paraxial rays. Each optical element (surface, interface, mirror, or beam travel) is described by a ray transfer matrix which operates on a vector describing an incoming light ray to calculate the outgoing ray. Multiplication of the successive matrices thus yields a concise ray transfer matrix describing the entire optical system. The same mathematics is also used in accelerator physics to track particles through the magnet installations of a particle accelerator, see electron optics.
This technique, as described below, is derived using the paraxial approximation, which requires that all ray directions (directions normal to the wavefronts) are at small angles relative to the optical axis of the system, such that the approximation remains valid. A small further implies that the transverse extent of the ray bundles (and) is small compared to the length of the optical system (thus "paraxial"). Since a decent imaging system where this is the case for all rays must still focus the paraxial rays correctly, this matrix method will properly describe the positions of focal planes and magnifications, however aberrations still need to be evaluated using full ray-tracing techniques.[1]
The ray tracing technique is based on two reference planes, called the input and output planes, each perpendicular to the optical axis of the system. At any point along the optical train an optical axis is defined corresponding to a central ray; that central ray is propagated to define the optical axis further in the optical train which need not be in the same physical direction (such as when bent by a prism or mirror). The transverse directions and (below we only consider the direction) are then defined to be orthogonal to the optical axes applying. A light ray enters a component crossing its input plane at a distance from the optical axis, traveling in a direction that makes an angle with the optical axis. After propagation to the output plane that ray is found at a distance from the optical axis and at an angle with respect to it. and are the indices of refraction of the media in the input and output plane, respectively.
The ABCD matrix representing a component or system relates the output ray to the input according towhere the values of the 4 matrix elements are thus given byand
This relates the ray vectors at the input and output planes by the ray transfer matrix, which represents the optical component or system present between the two reference planes. A thermodynamics argument based on the blackbody radiation can be used to show that the determinant of a RTM is the ratio of the indices of refraction:
As a result, if the input and output planes are located within the same medium, or within two different media which happen to have identical indices of refraction, then the determinant of is simply equal to 1.
A different convention for the ray vectors can be employed. Instead of using, the second element of the ray vector is, which is proportional not to the ray angle per se but to the transverse component of the wave vector.This alters the ABCD matrices given in the table below where refraction at an interface is involved.
The use of transfer matrices in this manner parallels the matrices describing electronic two-port networks, particularly various so-called ABCD matrices which can similarly be multiplied to solve for cascaded systems.
As one example, if there is free space between the two planes, the ray transfer matrix is given by: where is the separation distance (measured along the optical axis) between the two reference planes. The ray transfer equation thus becomes: and this relates the parameters of the two rays as:
Another simple example is that of a thin lens. Its RTM is given by: where is the focal length of the lens. To describe combinations of optical components, ray transfer matrices may be multiplied together to obtain an overall RTM for the compound optical system. For the example of free space of length followed by a lens of focal length :
Note that, since the multiplication of matrices is non-commutative, this is not the same RTM as that for a lens followed by free space:
Thus the matrices must be ordered appropriately, with the last matrix premultiplying the second last, and so on until the first matrix is premultiplied by the second. Other matrices can be constructed to represent interfaces with media of different refractive indices, reflection from mirrors, etc.
A ray transfer matrix can be regarded as a linear canonical transformation. According to the eigenvalues of the optical system, the system can be classified into several classes. Assume the ABCD matrix representing a system relates the output ray to the input according to
We compute the eigenvalues of the matrix
T
Let
m=
(A+D) | |
2 |
λ1,λ2=m\pm\sqrt{m2-1}
According to the values of
λ1
λ2
r
r-1
r ≠ 1
\begin{bmatrix}r&0\ 0&r-1\end{bmatrix}
λ1=λ2=1
λ1=λ2=-1
\begin{bmatrix}1&0\ 0&1\end{bmatrix}
λ1,λ2=\pm1
ei\theta
e-i\theta
Element | Matrix | Remarks | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Propagation in free space or in a medium of constant refractive index | \begin{pmatrix}1&d\ 0&1\end{pmatrix} | = distance | ||||||||||||
Refraction at a flat interface | \begin{pmatrix}1&0\ 0&
\end{pmatrix} | = initial refractive index = final refractive index. | ||||||||||||
Refraction at a curved interface | \begin{pmatrix}1&0\
&
\end{pmatrix} | = radius of curvature, for convex (center of curvature after interface) = initial refractive index = final refractive index. | ||||||||||||
Reflection from a flat mirror | \begin{pmatrix}1&0\ 0&1\end{pmatrix} | Valid for flat mirrors oriented at any angle to the incoming beam. Both the ray and the optic axis are reflected equally, so there is no net change in slope or position. | ||||||||||||
Reflection from a curved mirror | \begin{pmatrix}1&0\ -
&1\end{pmatrix} | Re=R\cos\theta Re=R/\cos\theta = radius of curvature, for concave, valid in the paraxial approximation is the mirror angle of incidence in the horizontal plane. | ||||||||||||
Thin lens | \begin{pmatrix}1&0\ -
&1\end{pmatrix} | = focal length of lens where for convex/positive (converging) lens. Only valid if the focal length is much greater than the thickness of the lens. | ||||||||||||
Thick lens | \begin{pmatrix}1&0\
&
\end{pmatrix}\begin{pmatrix}1&t\ 0&1\end{pmatrix}\begin{pmatrix}1&0\
&
\end{pmatrix} | = refractive index outside of the lens. = refractive index of the lens itself (inside the lens). = Radius of curvature of First surface. = Radius of curvature of Second surface. = center thickness of lens. | ||||||||||||
Single prism | \begin{pmatrix}k&
\ 0&
\end{pmatrix} | k=(\cos\psi/\cos\phi) | ||||||||||||
Multiple prism beam expander using prisms | \begin{pmatrix}M&B\ 0&
\end{pmatrix} | is the total beam magnification given by, where is defined in the previous entry and is the total optical propagation distance of the multiple prism expander. |
The theory of Linear canonical transformation implies the relation between ray transfer matrix (geometrical optics) and wave optics.
Element | Matrix in geometrical optics | Operator in wave optics | Remarks | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Scaling | \begin{pmatrix}b-1&0\ 0&b\end{pmatrix} | l{V}[b]u(x)=u(bx) | ||||||||
Quadratic phase factor | \begin{pmatrix}1&0\ c&1\end{pmatrix} | Q[c]=\expi
cx2 | k0 wave number | |||||||
Fresnel free-space-propagation operator | \begin{pmatrix}1&d\ 0&1\end{pmatrix} | l{R}[d]\left\{U\left(x1\right)\right\}=
| x1 coordinate of the source x2 coordinate of the goal | |||||||
Normalized Fourier-transform operator | \begin{pmatrix}0&1\ -1&0\end{pmatrix} | l{F}=\left(iλ0\right)-1
dx\left[\exp\left(ik0px\right)\right]\ldots |
There exist infinite ways to decompose a ray transfer matrix
T=\begin{bmatrix}A&B\ C&D\end{bmatrix}
n1=n2
\begin{bmatrix}A&B\ C&D\end{bmatrix} = \left[\begin{array}{ll} 1&0\\ D/B&1 \end{array}\right]\left[\begin{array}{rr} B&0\\ 0&1/B \end{array}\right]\left[\begin{array}{ll} 0&1\\ -1&0 \end{array}\right]\left[\begin{array}{ll} 1&0\\ A/B&1 \end{array}\right]
\begin{bmatrix}A&B\ C&D\end{bmatrix} = \left[\begin{array}{ll} 1&0\\ C/A&1 \end{array}\right]\left[\begin{array}{rr} A&0\\ 0&A-1\end{array}\right]\left[\begin{array}{ll} 1&B/A\\ 0&1 \end{array}\right]
\begin{bmatrix}A&B\ C&D\end{bmatrix} = \left[\begin{array}{ll} 1&A/C\\ 0&1 \end{array}\right]\left[\begin{array}{lr} -C-1&0\\ 0&-C \end{array}\right]\left[\begin{array}{ll} 0&1\\ -1&0 \end{array}\right]\left[\begin{array}{ll} 1&D/C\\ 0&1 \end{array}\right]
\begin{bmatrix}A&B\ C&D\end{bmatrix} = \left[\begin{array}{ll} 1&B/D\\ 0&1 \end{array}\right]\left[\begin{array}{ll} D-1&0\\ 0&D \end{array}\right]\left[\begin{array}{ll} 1&0\\ C/D&1 \end{array}\right]
RTM analysis is particularly useful when modeling the behavior of light in optical resonators, such as those used in lasers. At its simplest, an optical resonator consists of two identical facing mirrors of 100% reflectivity and radius of curvature, separated by some distance . For the purposes of ray tracing, this is equivalent to a series of identical thin lenses of focal length, each separated from the next by length . This construction is known as a lens equivalent duct or lens equivalent waveguide. The of each section of the waveguide is, as above,
analysis can now be used to determine the stability of the waveguide (and equivalently, the resonator). That is, it can be determined under what conditions light traveling down the waveguide will be periodically refocused and stay within the waveguide. To do so, we can find all the "eigenrays" of the system: the input ray vector at each of the mentioned sections of the waveguide times a real or complex factor is equal to the output one. This gives:which is an eigenvalue equation:where is the identity matrix.
We proceed to calculate the eigenvalues of the transfer matrix:leading to the characteristic equationwhereis the trace of the, andis the determinant of the . After one common substitution we have:whereis the stability parameter. The eigenvalues are the solutions of the characteristic equation. From the quadratic formula we find
Now, consider a ray after passes through the system:
If the waveguide is stable, no ray should stray arbitrarily far from the main axis, that is, must not grow without limit. Suppose Then both eigenvalues are real. Since one of them has to be bigger than 1 (in absolute value), which implies that the ray which corresponds to this eigenvector would not converge. Therefore, in a stable waveguide, and the eigenvalues can be represented by complex numbers:with the substitution .
For
g2<1
r+
r-
λ+
λ-
c+
After waveguide sectors, the output readswhich represents a periodic function.
The same matrices can also be used to calculate the evolution of Gaussian beams propagating through optical components described by the same transmission matrices. If we have a Gaussian beam of wavelength radius of curvature (positive for diverging, negative for converging), beam spot size and refractive index, it is possible to define a complex beam parameter by:
(and are functions of position.) If the beam axis is in the direction, with waist at and Rayleigh range, this can be equivalently written as[2]
This beam can be propagated through an optical system with a given ray transfer matrix by using the equation:where is a normalization constant chosen to keep the second component of the ray vector equal to . Using matrix multiplication, this equation expands as
Dividing the first equation by the second eliminates the normalization constant:
It is often convenient to express this last equation in reciprocal form:
Consider a beam traveling a distance through free space, the ray transfer matrix isand so consistent with the expression above for ordinary Gaussian beam propagation, i.e. As the beam propagates, both the radius and waist change.
Consider a beam traveling through a thin lens with focal length . The ray transfer matrix isand so Only the real part of is affected: the wavefront curvature is reduced by the power of the lens, while the lateral beam size remains unchanged upon exiting the thin lens.
Methods using transfer matrices of higher dimensionality, that is,, and, are also used in optical analysis. In particular, propagation matrices are used in the design and analysis of prism sequences for pulse compression in femtosecond lasers.