# How diffractive surfaces are modeled in OpticStudio

Many surfaces in OpticStudio can have diffractive power in addition to refractive power. This article discusses how these surfaces are modeled for ray tracing purposes.

Authored By Nam-Hyong Kim

## Introduction

Zemax Development Corporation thanks Mr. Robert E. Fischer of Optics 1 for the permission to use the graphics from his book Optical System Design, and also for providing us the original graphic files as well.

When working with diffractive elements in OpticStudio, it is important to understand how OpticStudio handles diffraction in ray tracing. This article explains how diffractive surfaces are modeled, and the differences between kinoform and binary optics.

## Diffractive modeling in OpticStudio

OpticStudio models diffractive power independent to the substrate index and the surface sag; diffractive power introduces phase change to rays. All diffractive surfaces in OpticStudio bends rays according to the following equation:

$$n_{2}sin(\theta_{2})-n_{1}sin(\theta_{1})=\frac{M\lambda}{d}=M\lambda T$$

where

• M is the diffraction order
• λ is the wavelength
• T is the grating period (inverse of the line spacing, d).

The equation above is Snell's law for refraction, plus an additional ray bending term representing diffraction. The diagram below shows the diffraction for a ray incident normally (sin(theta1) =0) for a diffractive surface with no refractive power.

A surface such as the Diffraction Grating surface has constant period of grating lines along one axis, and is commonly used in spectrometers. The real power of computer-generated diffractive surfaces is that the grating period can be made to vary spatially across the surface, so that diffractive power can be added exactly where it is needed.

For example:

• The Variable Line-Spacing Grating surface allows the grating period to vary to model chirped gratings
• The Binary 1 surface allows the grating period to vary as an x-y polynomial expansion
• The Binary 2 surface allows the grating period to vary as a rotationally symmetric polynomial (this is very commonly used for aberration correction)
• A range of polynomial surfaces exist that use almost any polynomial expansion to describe the variation of grating spacing
• A Grid Phase surface allows an arbitrary set of {x,y} points to be used to define the phase added at any point
• A User-Defined surface can be written to describe any profile that is required, if a suitable surface type is not already available in OpticStudio

In all these cases, OpticStudio models the diffractive power as a phase profile on the surface. Rays are bent by the gradient of the phase profile introduced by the diffractive.

• The phase φ in radians adds to the optical path length of the ray.
$$OpticalPath = OpticalPath +\frac{\lambda}{2\pi}\varphi$$
where λ is the wavelength.

• The gradient of the phase profile (phase slope) change the direction of rays.
$$l'=l+\frac{\lambda}{2\pi}\frac{\partial \varphi}{\partial x}$$
$$m'=m+\frac{\lambda}{2\pi}\frac{\partial \varphi}{\partial y}$$

where l is the x-direction cosine of the ray and m is the y-direction cosine of the ray.

The design process is therefore to compute the required phase profile, and then to compute the grating structure required to produce the phase profile.

A diffraction order has to be specified to each diffractive surfaces in the Lens Data Editor. Multiple diffraction orders can be modeled simultaneously via multiple configurations, as shown in the diagram below.

According to the equation above, the diffraction angle depends only on the period (T) of the repetitive structure where the incident light hits, and not on the shape of the structure within that particular period. The surface structure does affect the diffraction efficiency, which is not modeled by geometrical rays. The efficiency to the specified diffraction order is assumed to be 100%, meaning all rays incident on the diffractive surface will exit at the diffraction angle of the specified order.

The sign of the diffractive order determines the sign of the diffraction angle with respect to the optical axis. The sign convention for the diffraction order is purely arbitrary. The convention used by OpticStudio is positive diffraction angles (with respect to the optical axis) for positive diffraction orders.

Diffractive surfaces in OpticStudio can have refractive as well as diffractive powers. The diffractive power introduces a continuous phase across the surface, according to their formula described in the manual. Since the phase is continuous, they represent ideal diffractive optical elements (DOE), where the period of the diffractive structure is infinitesimally small or at least very small compared to the wavelength.

## Kinoform and binary diffractive surfaces

To maximize the diffraction efficiency in a DOE, the sag of the surface within the diffraction zones can be made such that the phase of the wavefront is parallel to the diffracted waves (of the desired diffraction order) everywhere. Figure 13.3 (b) shows a "blazed" transmission grating in which the blaze angle is optimized to maximize efficiency to a particular order [1].

A DOE with continuous surface profile shown in figure (b) above is often referred as kinoform. If the sag is approximated by discrete steps, as it is often the case when photolithography is used, it is commonly referred as a Binary Optic (see diagram below) [1]. Diffractive surfaces in OpticStudio are closer approximation to kinoforms than true binary optics, since the phase is continuous everywhere. It is up to the user to decide what surface structure to use to approximate the phase modeled by a diffractive surface.

The following diagram shows the theoretical efficiency of binary surface as a function of number of steps [1].

## References

KA-01665

Was this article helpful?
1 out of 1 found this helpful

### Comments

0 comments

Please sign in to leave a comment.