Background

Recently, new display technologies using holographic approaches have been reported [14]. VHG have several advantages compared to conventional optics: they can be space-saving, lightweight and they offer a high degree of freedom in the optical design process. On the other hand their strong dependency on wavelength and incidence angle can be problematic if a robust and reliable optical design is required. Additionally, holographic optical systems tend to suffer from stray light due to reflections at glass-air boundaries and multiple interactions with the VHG. In order to avoid disturbing stray light paths it is crucial to simulate VHG and their diffraction efficiencies during the design process. Unfortunately, most of the commercially available optic simulation tools like Zemax®; OpticStudio don’t provide this possibility. There have been different approaches to overcome this problem. In Ref [57] the Born approximation is used to estimate the diffraction efficiency. This approximation assumes a weak interaction of the lightfield with the VHG. As in display technologies high diffraction efficiencies are favourable, simulations based on the Born approximation lead to inaccurate results. A suitable description of highly efficient (planar) VHG is given by Kogelnik’s coupled-wave theory [8]. In Ref [9] aperiodic and multiplexed VHG are analyzed based on the coupled-wave theory within Zemax®;. In order to simulate non-planar gratings the hologram plane is split into a large number of sampling zones. For every sampling zone the assumption of a planar grating holds [10] if the grating vector is slowly varying. Finally, the diffraction efficiency is averaged over all sampling zones.

This paper describes a simple method of simulating arbitrarily spherical curved and planar VHG. For every ray traced the grating vector is calculated locally and the diffraction efficiency is calculated based on coupled-wave equations. The new method is integrated into the commercially available optic simulation tool Zemax®; using a DLL for each, the sequential and non-sequantial raytracing mode. Thereby, it enables the use of a manifold of optimization tools included in Zemax®; during the design process of optical systems like hHMD. In Fig. 1 an exemplary hHMD system is shown. A laser unit is used as the light source and a deflector (e.g. mirror) guides the light to an holographic optical element (HOE), which is described in greater detail in the following section. In this example the HOE is used to diffract the light into the direction of the observer. As the HOE is transparent, the observer is able to see the surroundings and the information provided by the hHMD simultaneously.

Fig. 1
figure 1

Example for a HMD system with laser source, beam deflector and HOE. The HOE is used to diffract the light to the observer

Methods

Holographic optical elements

HOE are (V)HG utilized as optical elements like lenses or mirrors. They are space-saving, lightweight, wavelength- and angle-selective, transparent and potentially low-cost. Additionally HOE do have the advantage of adding freedom to the optical design process, as incidence and exit angle can be chosen independently. In the recent past new holographic materials have been introduced to the market [1115]. They allow the recording of color VHG without the need of chemical or thermal processing, which makes them suitable for mass-production. Therefore, HOE could be the key to satisfy the growing demand for compact and lightweight HMD systems.

HOE can work in transmission or reflection, as depicted in Fig. 2a and b. The reference wave used to reconstruct the HOE (red, dashed) is defined by its wave vektor kR and hits the HOE from the left hand side. Inside the HOE the reference wave interacts with the plane VHG, which itself is defined by the grating vector kG. Some part of the reference wave is diffracted into the object wave (kO, green, solid). The not-diffracted part propagates undisturbed (blue, dotted). When kR and kG are known, kO can be calculated using the k-sphere formalism [6]

$$\begin{array}{*{20}l} {\mathbf{k}_{O}} \cdot (\hat{{\mathbf{x}}} + \hat{{\mathbf{y}}}) &= ({\mathbf{k}_{R}} + {\mathbf{k}_{G}}) \cdot (\hat{{\mathbf{x}}} + \hat{{\mathbf{y}}}), \\ |{\mathbf{k}_{O}}| &= \frac{2\pi}{\lambda}, \end{array} $$
(1)
Fig. 2
figure 2

Example for transmission and reflection HOE a HOE that works in transmission. b HOE that works in reflection. kR, kO and kG denote the wave vector of the reference and object beam and the grating vector, respectively. d is the thickness of the HOE. The light hits the HOE from the left hand side (red, dashed), interacting with the VHG. Thereby, some part of the reference wave is diffracted into the first order, which is called the object wave (green, solid). The non-diffracted part propagates in the same direction as kR (blue, dotted)

with \(\hat {{\mathbf {x}}}\) and \(\hat {{\mathbf {y}}}\) denoting the unit base vectors in the hologram plane. Based on these equations the propagation direction of the diffracted light rays is calculated within the DLL.

Kogelnik’s coupled-wave theory

Besides the propagation direction the diffraction efficiency has to be calculated. The diffraction efficiency η is defined as the fraction I1 of the incident reference wave I0 which is diffracted into the object wave

$$\begin{array}{*{20}l} \eta = \frac{I_{1}}{I_{0}}. \end{array} $$
(2)

For plane VHG the rigorous coupled-wave analysis can accurately predict the diffraction efficiency. Unfortunately, solving these equations can be very time consuming. Instead, Kogelnik’s coupled-wave theory is an approximate solution of the coupled-wave theory and is frequently used to predict the diffraction efficiencies of VHG. The approximate solutions accurately predict the diffraction efficiency if the following requirements are fulfilled [8]

  • hologram thickness dλ, the used wavelength,

  • the light field is monochromatic,

  • reconstruction of the hologram near the Bragg angle,

  • only reference and object wave are present,

  • the holographic grating is sinusoidal,

  • the light field is polarized perpendicular to the plane of incidence.

These requirements are fulfilled for the use of VHG as HOE in display technologies like hHMD. In the case of planar reference and object recording waves, the grating vector is constant within the entire hologram volume and is defined by

$$\begin{array}{*{20}l} {\mathbf{k}_{G}} = {\mathbf{k}_{O,rec}} - {\mathbf{k}_{R,rec}}, \end{array} $$
(3)

which is also visualized in the subset of Fig. 3. If one or both waves do have a spherical shape, the grating vector will vary over the hologram volume: kG = kG (x,y,z). But if only a small enough area is investigated, even for strong curvatures the assumption of a planar grating holds and Eq. 3 can be used to locally calculate the grating vector. With the assumptions made above, Kogelnik was able to find analytical solutions for the the coupled-wave equations [8, 9, 16]. As different boundary conditions are used for transmission and reflection holograms, these cases have to be treated seperately. However, to allow for a clear representation of the diffraction efficiency in both cases, the following auxiliary parameters are defined [8, 16]

$$\begin{array}{*{20}l} \boldsymbol{\sigma}& = {\mathbf{k}_{R}} + {\mathbf{k}_{G}}, \qquad c_{O} = \frac{\boldsymbol{\sigma} \cdot{\mathbf{n}}}{|{\mathbf{k}_{R}}|}, \qquad c_{R} = \frac{{\mathbf{k}_{R}} \cdot{\mathbf{n}}}{|{\mathbf{k}_{R}}|},\\ \vartheta& = \frac{{\mathbf{k}^{2}_{\mathrm{R}}} - \boldsymbol{\sigma}^{2}}{2|{\mathbf{k}_{R}}|}, \qquad \xi = \frac{\vartheta \cdot d}{2 |c_{O}|}, \qquad \nu = \frac{\pi \cdot \Delta n \cdot d}{\lambda \cdot \sqrt{c_{O} \cdot c_{R}}}, \end{array} $$
Fig. 3
figure 3

Definition of optical function. View of two point sources which define the optical function of the HOE and the interception point with the hologram surface for a single ray. In the subset in the left upper corner Eq. 3 is visualized

where n is the surface normal of the hologram plane and Δn is the refractive index modulation of the holographic material.

Transmission holograms

According to Kogelnik the diffraction efficiency η T of a lossless transmission-type volume HOE is given by [8]

$$\begin{array}{*{20}l} \eta_{T} = \frac{\sin^{2} \sqrt{\nu^{2}+\xi^{2}}}{1+\frac{\xi^{2}}{\nu^{2}}}. \end{array} $$
(4)

A diffraction efficiency of 1 is possible if ξ = 0 holds, which implies that the detuning parameter 𝜗=0. This is the case if the VHG is reconstructed under perfect Bragg-condition [17]:

$$\begin{array}{*{20}l} 2 \Lambda \sin \Theta = m \cdot \lambda \end{array} $$
(5)

with the reconstruction ray impinging on the VHG with an angle Θ, the grating spacing \(\Lambda = \frac {2\pi }{ |\mathbf {K}_{G}|}\) and integer value m, specifying the diffraction order. In Kogelnik’s coupled wave theory higher diffraction orders are neglected, therefore m equals 1.

Equation 4 will be used to calculate the diffraction efficiency of transmission-type HOE in the C++-code for sequential and non-sequential mode.

Reflection holograms

For lossless reflection-type volume HOEs the diffraction efficiency η R is given by [8]

$$\begin{array}{*{20}l} \eta_{R} = \left(1+ \frac{1-\frac{\xi^{2}}{\nu^{2}}}{\sinh^{2}\sqrt{\nu^{2}-\xi^{2}}}\right)^{-1}. \end{array} $$
(6)

Here, special attention has to be paid as the argument of the square root can be negative. In these cases, the hyperbolic sine has a complex argument and therefore will transfer into a sine-function with a real-valued argument. Similarly to transmission HOE, reflection HOE are most efficient if 𝜗=ξ=0 holds. Equation 6 will be used to calculate the diffraction efficiency of reflection-type HOE in the C++-code for sequential and non-sequential mode.

Implementation of the DLL

The goal of this work is to enhance the commercially available optic simulation tool Zemax®; OpticStudio to allow the fast and easy simulation of optical systems which include arbitrarily spherical curved VHG. Therefore, for the sequential and non-sequential raytracing mode a C++-code has been implemented which is compiled to a DLL and linked into Zemax®;.

When integrating a DLL into Zemax®; this gives access to a manifold of parameters as described in Ref [18]. The following will be used in this work

  • unit vector \(\hat {{\mathbf {k}}}_{\mathrm {R}}\) of the incoming ray,

  • wavelength λ of incoming ray (note that \({\mathbf {k}}_{\mathrm {R}} = \frac {2\pi }{\lambda } \cdot \hat {{\mathbf {k}}}_{\mathrm {R}}\)),

  • interception point (x H ,y H ,z H ) of the incoming ray with the hologram surface (see Fig. 3),

  • refractive index of the materials surrounding the hologram surface.

Additionally, user-defined paramters specify the optical function and the material properties of the hologram. The coordinates (x R,rec ,y R,rec ,z R,rec ) and (x O,rec ,y O,rec ,z O,rec ) define the point sources of spherical reference and object wave used during recording. Note that if a plane wave is preferred, the distance of the point source should be located in great distance to the hologram surface (e.g. \(\sqrt {x_{R,rec}^{2}+y_{R,rec}^{2}+z_{R,rec}^{2}} \gg 10^{6}{mm}\) for a plane reference wave). Furthermore, the wavelength λ rec used during recording, the thickness d of the hologram as well as the average refractive index n and its modulation Δn need to be specified.

When all parameters are set the simulation can be started. Everytime the DLL is called the following steps are performed

  • Based on the geometry depicted in Fig. 3 k R,rec and k O,rec are calculated as follows

    $${}\begin{aligned} {\mathbf{k}}_{\text{i,rec}} \cdot \hat{{\mathbf{x}}} &= (x_{H}-x_{i,rec})/N_{i}, \\ {\mathbf{k}}_{\text{i,rec}} \cdot \hat{{\mathbf{y}}} &= (y_{H}-y_{i,rec})/N_{i}, \\ {\mathbf{k}}_{\text{i,rec}} \cdot \hat{{\mathbf{z}}} &= (z_{H}-z_{i,rec})/N_{i}, \\ N_{i} &= \frac{\lambda_{rec}}{2\pi}\sqrt{\!(x_{H}\,-\,x_{i,rec})^{2}\,+\,(y_{H}\,-\,y_{i,rec})^{2}\,+\,(z_{H}\,-\,z_{i,rec})^{2}}, \end{aligned} $$

    with i=R,O.

  • kR,k R,rec and k O,rec are refracted according to Snell’s law,

  • kG is calculated based on Eq. 3,

  • kO is calculated based on Eq. 1,

  • depending on the position of the given point sources a distinction of cases between transmission and reflection holograms is made,

  • the diffraction efficiency is calculated based on Eq. 4 in case of a transmission and Eq. 6 in case of a reflection hologram,

  • kO is refracted according to Snell’s law,

  • the diffraction efficiency and the unit vector \(\hat {{\mathbf {k}}}_{\mathrm {O}}\) are transferred to Zemax®;.

The data transfer between the DLL and Zemax®; differs for sequential and non-sequential mode, as different data structures are predefined by Zemax®;. The parameters UD → rel_surf_tran and UD → l,m,n serve to transfer the diffraction efficiency and the propagation direction of the diffracted light in sequential mode, respecively. In the non-sequential mode, we made use of the parameters data[30], data[32], data[33] and data [34]. Note that the whole procedure is repeated for every single ray that interacts with the hologram surface. In Zemax®; rays interact with a surface at a single (intercept) point. To model the behaviour of a volume hologram, a single incident ray’s interaction with the VHG is assumed to be limited to a small suface region of the VHG, in which the grating can be assumed to be plane. However, the orientation of the grating vector can vary across the hologram surface. As previously mentioned this enables us to simulate not only plane, but also any spherical curved VHG.

Results and discussion

In this section examples of use of the DLL in the sequential and non-sequential mode of Zemax®; are given. They prove the benefits of the developed DLL when designing holographic optical systems in sequential mode and evaluating their behaviour in terms of parasitic effects in non-sequential mode.

Sequential raytracing mode

The sequential mode is used to design and optimize optical systems, for example hHMD systems. By the use of the DLL the design process is greatly accelerated, as the characteristica of the HOE can be considered instantly.

The DLL is integrated into Zemax®; as a User Defined Surface (UDS). Once loaded the user-defined parameters have to be set.

In Fig. 4 two examples of Zemax®; Shaded Models are depicted: a transmission a) and reflection b) HOE which are defined by the parameters given in Table 1. For example, the reflecion-type HOE could be used in a hHMD system as depicted in Fig. 1. The Zemax®; operand IMAE gives access to the transmission of a surface. Therefore, it allows to read out the overall diffraction efficiency of the hologram. Various analysis and optimization tools integrated into Zemax®; enable the fast and easy investigation of the HOE. Exemplary a selction of Zemax®; Universal Plots is depicted in Fig. 5. In Fig. 5a the diffraction efficiency η T of the transmission-type HOE is plotted against its thickness d when reconstructed under perfect Bragg-condition. The expected sinusoidal behaviour is observed, with maximum efficiency η T =1 for d≈5µm,15µm,25µm,... (compare Eq. 4). Figure 5b shows that the diffraction efficiency decreases if the reconstruction wavelength λ differs from the recording wavelength (λ rec =0.55µm), when all other parameters are fixed. In Fig. 5c and d the same plots are depicted for the reflection hologram. In accordance with the Bragg-reflection the diffraction efficiency of a reflection holograms increases with its the thickness d (see Fig. 5c). Finally, when comparing Fig. 5b and d a much steeper slope can be found for reflection holograms. In fact, that’s the reason why reflection holograms are named to be wavelength-selective. All simulation results are as expected and prove that the DLL enables the reliable simulation of VHG.

Fig. 4
figure 4

Shaded Model of a transmission-type a and reflection-type HOE b simulated in Zemax®;. The parameters that define the HOE are given in Table 1

Fig. 5
figure 5

Analysis of HOE within Zemax®; Simulation of diffraction efficiency of transmission VHG in dependency of hologram thickness d (a) and reconstruction wavelength λ (b). Diffraction efficiency of reflection VHG in dependency of hologram thickness d (c) and reconstruction wavelength λ (d). The parameters that define the HOEs are given in Table 1

Table 1 User-defined hologram parameters

The examples should give the reader an idea how the DLL can be used to optimize HOEs in sequential mode. Integration of the HOE into a more complex optical system is very straightforward. By the use of the user-defined parameters and the operand IMAE merit-functions can be defined. This enables the user to simultaneously optimize the optical system and the HOE.

Non-sequential raytracing mode

In the non-sequential mode of Zemax®; rays don’t hit the optical surfaces in a predefined order, but can intersect the same surface many times and multiple surfaces in any order. Furthermore, an intersecting ray can split up into many rays according to the laws of refraction, reflection and diffraction. This enables us to consider the not-diffracted part, by adding an additional order with efficiency η nd =1−η i , i=T,R. The non-sequential mode can be used to identify possible parasitic effects of the optical system previously developed in the sequential mode. That means we focus on effects like double images and stray light.

To include the DLL into the non-sequential mode it is used as a diffractive property of an existing surface, e.g. the Hologram Lens. As an example, a reflection hologram defined by the same parameters as in the sequential mode is used (see Table 1).

A NSC Shaded Model is shown in Fig. 6a. In addition to the diffracted light the reflected and transmitted part is visible. Furthermore, a possible stray light path is identified in transmission. It occurs due to a reflection at the front air-hologram boundary after the interaction with the HOE. To display rays with less intensity we reduced the Minimum Relative Ray Intensity from 8,0000E-03 to 8,0000E-07. Subsequently, a lot of additional ray paths become visible (see Fig. 6b). Without the non-sequential investigation of an optical system it is nearly impossible to think of all possible stray light paths, even for a simple example like the one presented. With the Detector Rectangle, also shown in Fig. 6b as an orange line, the reflected light is displayed. For a hHMD system this could be the light which is seen by the observer. For the discussed setup the results are shown in Fig. 7. The big red spot on the right hand side is the diffracted light, which is the useful light. It is surrounded by a blurred double image (green). This double image is generated due to multiple reflections of the diffracted light at the hologram-air boundaries. The central spot is the (fresnel) reflected light. On the left hand side a large tail of stray light is observed. It occurs due to light that is reflected from the rear hologram-air boundary and afterwards diffracted by the hologram in reverse geometry. In case of a hHMD systems the stray light, the double image and even the fresnel reflected part could be a potential problem. By changing the parameters or the geometry of the hologram, by using anti reflection coatings or adding apertures into the optical setup, these effects could be suppressed.

Fig. 6
figure 6

NSC Shaded Model of the reflection hologram in Zemax non-sequential mode. a The Minimum Relative Ray Intensity is set to 8,0000E-03. b The Minimum Relative Ray Intensity is set to 8,0000E-07

Fig. 7
figure 7

Detector in non-sequential mode. Detector in non-sequential mode utilized to visualize the diffracted light and possible parasitic effects

It has been shown that the implemented DLL enables the simulation of parasitic effects like double images and stray light in the non-sequential mode. This is a crucial task when evaluating holographic optical system like hHMD.

Conclusions

This paper dealt with an extension written for the optical simulation tool Zemax®; OpticStudio. For both raytracing modes, namely the sequential and the non-sequential mode, a DLL has been implemented which mimics the behaviour of an HOE including its diffraction efficiency. The basic concept of the underlying coupled-wave theory has been introduced. It was shown how to integrate the DLL into Zemax®; and examples of use for both raytracing modes were given. Especially the possibility of simulating HOEs with proper diffraction efficiencies in the non-sequential mode, which enables the simulation of stray light effects or double images, can be of great use for future work. It also should be mentioned that combining the DLL with the useful optimization tools of Zemax®; simplifies the design process of holographic optical systems. The presented DLL is restricted to simulate HOEs defined by diverging waves or plane (TypeI-HOE). For the case of a converging reference or object wave (TypeII-HOE) an additional DLL has been implemented. It can be used exactly in the same manner as the described DLL with the only difference that one point source is now treated as a point sink (compare to TypeI- and TypeII-HOE of Zemax®;, mentioned in ref. [18]).

It is left for the future to adapt the DLL to spherical or cylindrical surfaces as currently the surface of the HOE needs to be plane. Furthermore, defining the optical function of the HOE by the use of Zernike polynomials instead of two spherical waves could lead to more complex optical functions for the simulated HOE. Subsequently, aberrations of the optical system could be simulated and corrected by adjusting the HOE function.