Evaluating AR Waveguides Before Prototyping: Predicting Brightness and Color Uniformity Across the Eyebox
What to investigate before the next AR waveguide prototype, following Ansys's published RGB AR example: what Lumerical RCWA, Zemax OpticStudio and Speos each contribute, which data passes between them, and how to compare one image feature at two eye positions.
Published
A white symbol in an AR display can look bright and neutral when viewed from the center of the eyebox. As the viewer’s eye moves toward the edge, the same symbol may appear dimmer or take on a color cast. How can you predict that change before building a prototype? And which part of the optical design should you investigate first?
Evaluation setup. The proposed simulation compares the luminance and color of the same white symbol at two pupil positions: the center of the eyebox and near its edge. Pupil diameter, viewing direction, and the symbol’s displayed brightness and color stay the same.
Several parts of the system can produce this change: the diffraction efficiency of the gratings, the way the pupil is replicated inside the waveguide, the projection optics, and the conditions of the measurement itself. Changing the grating geometry and building again without separating them can use up a prototype run and still leave the cause unknown.
This article follows Ansys’s published RGB AR optical system example to show what Lumerical RCWA, Zemax OpticStudio and Speos each contribute to an AR waveguide evaluation, and which data passes between them. It then describes how to compare the same image feature at two eye positions and gives a table for deciding what to check next. For the wider design flow, see the design workflow for AR waveguides and near-eye displays.
What to separate before the next prototype
“White gets dimmer or tinted toward the edge” does not say much by itself. At least four questions need to be kept apart.
Does only the brightness change, or the color as well? If the color changes, which of the red, green and blue channels is falling?
Does it happen only when the eye moves, or also from one part of the image to another (field angle)?
Is there already a difference by field angle or color in the light that enters the waveguide from the projection optics?
Are the measurement and display conditions the same for the two results being compared?
The first three can be checked one after another in the design models. The fourth applies equally to simulations and to measurements on the prototype.
The three tools in the Ansys example
Ansys publishes an example called “RGB Augmented Reality Optical System” [1]. It uses three high-index waveguides, each with diffraction gratings tuned to one color channel. Each waveguide has three linear gratings: an in-coupler near the pupil of the projection lens, a pupil expander, and an out-coupler in front of the eye. A color microdisplay sits at the image plane of the projection lens, and the lens pupil is placed at the in-coupler surface.
Ray paths through the projection lens and the RGB waveguides, seen from two directions.
The figure above shows the ray paths of this example from two directions. The left view includes the viewer’s eye at the lower left. In both views, light leaves the projection lens (the green barrel), enters the waveguides at the in-coupler and travels along them by total internal reflection. This is the dense band of red, green and blue rays. The out-coupler sends part of that light toward the eye. Two inputs to this model are prepared outside Speos. The response of each grating is calculated in Lumerical and assigned to the grating surfaces as a surface property. The projection lens is designed in Zemax OpticStudio and imported into Speos as an Optical Design Exchange (.odx) file, which defines the lens geometry, stop aperture and image plane together with the materials and coatings [1].
The example extends the monochrome (520 nm) example “Augmented Reality Optical System” [2] to three colors. The RGB example concentrates on the steps in Zemax OpticStudio and Speos and assumes that the grating data is already available. Calculating and exporting the grating data is covered in the monochrome example [2] and in the surface relief grating example [3]. The description below follows these three sources.
Lumerical RCWA: grating response by wavelength and incidence angle
Light traveling inside the waveguide meets the gratings at angles that depend on the field angle and the wavelength. The grating response is therefore needed over the whole range of wavelengths and incidence angles that occur in the ray trace, not only at the design wavelength and normal incidence.
In the Ansys examples, the gratings, which are periodic structures, are simulated with the RCWA solver in Lumerical. The surface relief grating example [3] first optimizes the slant angle, fill factor and height of a slanted grating to maximize transmission into the minus-first order for S polarization at 550 nm and normal incidence. It then calculates the response of the same structure for incidence angles (theta) from 0 to 85 degrees at 18 points and azimuth angles (phi) from 0 to 360 degrees at 37 points, for both the forward and the backward direction. The optimization uses a single condition. The characterization covers the range that the ray trace will need.
Optimization of the slanted grating in Lumerical RCWA. Horizontal axis: optimization generation. Vertical axis: figure of merit. Best value displayed: 0.946905. Select the image to open it at full resolution.
The graph above shows this optimization as it ran. The horizontal axis is the optimization generation and the vertical axis is the figure of merit, here the fraction of power transmitted into the minus-first order. The best value displayed, 0.946905, corresponds to a diffraction efficiency of about 94.7% into the transmitted minus-first order for normally incident, S-polarized light [3]. This is a monochrome example, and the value applies to one wavelength and one incidence angle. Inside a waveguide, light meets the grating over a range of incidence angles set by the field of view and the wavelength, and the efficiency changes across that range. This is why one optimized value is not enough, and why the engineer still has to evaluate the response over the full range of incidence angles.
The result is exported as Lumerical Sub-Wavelength Model (LSWM) data, which describes how the grating distributes light among its diffraction orders [4]. The wavelengths and angles in the data are the ones selected for the RCWA simulation [4], so check first that they cover the conditions that will occur in the ray trace.
Zemax OpticStudio: the projection optics
Carrying three color channels through one projection lens requires achromatic projection optics. The lens in the RGB example was designed and optimized in Zemax OpticStudio, balancing field of view, f-number and size against image quality, including color correction, relative illumination and distortion [1].
When separating the causes of brightness and color non-uniformity, this stage provides the baseline. Relative illumination and image quality by color show whether a difference across field angle exists before the light enters the waveguide. The monochrome example [2] lists as the main lens requirements that the entrance pupil diameter should match the size of the in-coupling grating and that the field of view follows from the waveguide specification.
Speos: bringing the two inputs together to evaluate the display
In Speos, the lens and the waveguide are combined in one model, and the display is evaluated from the eye position. In the RGB example, the microdisplay is modeled with the Speos Display Source, which sends an input image through the system, and the results are mainly produced by a Radiance Sensor placed at the eye location [1]. The grating surfaces receive the data exported from Lumerical as a surface property, through the LSWM plugin [2][4].
The monochrome example [2] walks through the evaluations on the Speos side: uniformity from the irradiance distribution at the out-coupler, luminance and colorimetry measured from the eye position, contrast with the ambient scene and the display combined, and the view from different observer viewpoints. The RGB example [1] adds display contrast under ambient light at dawn, in the morning and in the afternoon (1 klx, 10 klx and 100 klx on the ground) and an evaluation with the Human Eye Sensor, which includes the optics of the eye.
One caution. The RGB example is not a design in which every grating has been optimized. According to Ansys, it uses an optimized in-coupler grating, while idealized masks define the relative diffraction efficiency across the expander and out-coupler gratings [1]. The same page states that optimization of the pupil expander and out-coupler mainly affects eyebox size and color uniformity, and that the in-coupler design mainly drives overall efficiency. The flow of the example carries over directly to your own waveguide, but predicting non-uniformity across your eyebox requires expander and out-coupler data based on your own structures.
Data passed between the tools
Hand-off
Data
Format
Lumerical RCWA to Speos
How each grating distributes light among its diffraction orders, over the calculated range of wavelengths and incidence angles, for both directions of incidence
LSWM data file (JSON or LSWM format), loaded in Speos as a surface property
Zemax OpticStudio to Speos
Lens geometry, materials and coatings, stop aperture, image plane
Optical Design Exchange (.odx)
Display image to Speos
The input image shown on the microdisplay
Display Source settings
Moving the eye is not the same as looking at another point in the image
The two are hard to tell apart while looking into a prototype, but in the design they are separate variables.
In a waveguide AR display, one point of the image corresponds to collimated light leaving the waveguide in one direction. The Ansys example also treats the projected image as collimated [1]. The out-coupler extracts light of the same direction from many positions across its surface, so the point stays in the same direction as the eye moves within the eyebox.
Moving the eye within the eyebox means keeping the image point (field angle) fixed and changing where the eye pupil collects the light. What changes is which part of the light in that direction is collected. If the amount of light extracted differs from one position to another, the brightness changes. If that difference is not the same for each color, the color changes.
Looking at another point in the image means keeping the eye position fixed and changing the field angle. A different field angle travels at a different angle inside the waveguide, so the incidence angle on the gratings, the spacing between reflections and the number of interactions with the gratings all change. The effects of relative illumination and aberrations in the projection optics also change with field angle.
An exit pupil expander example that Ansys publishes for Zemax OpticStudio [6] shows the difference concretely. A detector is placed at the exit pupil (the eyebox), and the light distribution is checked for the central pixel of the image. When the incident beam is then tilted by 5 degrees about both the X and Y axes, the distribution changes. The same page states that the design goal is a uniform distribution over the exit pupil for every pixel of the image. What has to be evaluated is the distribution across the eyebox for each image point, with eye position and field angle varied separately.
When you look into a real prototype and turn your gaze toward the edge of the image, the eyeball rotates and the pupil moves slightly as well. This is why the two effects mix in observation. In simulation, one can be held fixed while only the other changes.
Comparing the same image feature at two eye positions
To check the opening symptom in a model, compare the same feature of the image at two eye positions: the center of the eyebox and the edge. The comparison means something only if everything except the eye position is the same.
Ansys’s monochrome example [2] shows what a change of viewpoint looks like. The animation below is a 520 nm monochrome example: a green test image seen through the waveguide over an indoor scene while the observer’s viewpoint moves. As the viewpoint moves, the visible part of the image and its appearance change. It is not a comparison at one fixed field point, it is not in RGB, and it gives no luminance or chromaticity values. The comparison described below, one fixed field point in RGB at the center and at the edge of the eyebox, is a test that this article proposes. It is not a verified result.
Observer-viewpoint example at 520 nm (monochrome): the test image seen through the waveguide as the viewpoint moves.
Conditions to hold fixed
Field point: compare the same point of the image, for example a white area at the same position in the input image. Translate the sensor without changing its orientation.
Display input: use the same input image with the same luminance and spectrum settings.
Scene: if ambient light is included, use the same sources and the same background. While separating causes, evaluating the display alone, without ambient light, makes the result easier to read.
Visualization scale: show both results in the same units with the same maximum value. Do not use automatic brightness scaling or automatic eye adaptation during the comparison.
Sensor and calculation settings: keep the sensor definition and the number of rays or passes the same, so that the noise level is comparable. The monochrome example [2] suggests 10 passes to get the correct appearance and 100 passes for a noise-free result.
Procedure
Choose the input image. A full white image, or an image with white areas at the center and toward the edges, is easy to work with.
Place eye position A at the center of the eyebox and eye position B toward the edge. Keep B inside the specified eyebox. If the change has already been seen on a prototype, place B on that side and match the displacement at which it appeared.
Run the same calculation at A and at B. The Ansys examples obtain the radiance map seen from the eye position with an inverse simulation, which traces rays from the eye position toward the sources [1][2].
Select the same area in both results and measure luminance and chromaticity. The monochrome example [2] shows how to define an area on the result map to read luminance and colorimetry, and how to adjust the maximum of the scale.
Repeat the comparison with the red, green and blue channels separated. If white takes on a color cast, this shows which channel loses luminance at B.
Record the luminance ratio of B to A and the chromaticity difference. The acceptance criteria come from your product requirements.
Then fix the eye at position A and compare white areas at the center and at the edge of the image. This is a change with field angle, and its candidate causes are different. Running the two comparisons separately shows whether the symptom depends on eye position, on field angle, or on both.
The exit pupil expander optimization example [5] does not evaluate the irradiance distribution across the eyebox directly. It first convolves the distribution with a pupil function and then calculates its metrics, which reflects the finite size of the eye pupil. When comparing two positions, values evaluated over an area the size of the eye pupil give a comparison closer to what is actually seen.
Published results
This article does not include numerical results for this comparison. We do not have verified results, with stated conditions, that compare the same image feature at two eye positions, and the Ansys pages cited here do not publish numbers in that form either. The following published results are close in content.
The section “Assess the Variation in Distortion and Homogeneity Around the Nominal Position” in the monochrome example [2]: an Observer sensor is used to change the viewpoint and look at the variation in distortion and homogeneity around the nominal position (520 nm). The animation above comes from this example.
The RGB example [1]: display results from the Radiance Sensor at the eye position, and contrast under different ambient conditions.
The exit pupil expander example [6]: the distribution over the exit pupil for the central pixel and for a beam tilted by 5 degrees.
The exit pupil expander optimization example [5]: the distribution across the eyebox optimized for the central field and a single wavelength, with contrast, total power and uniformity as metrics.
From symptom to next check
Observed symptom
What to check next
Which model to inspect
White dims as the eye moves toward the edge. The color hardly changes
How much light of that field angle is extracted at the edge position. Whether the efficiency distribution across the expander and out-coupler leaves enough light to reach the edge
The distribution across the eyebox for that field angle, from the waveguide model (Zemax OpticStudio or Speos)
White takes on a color cast as the eye moves toward the edge
Repeat the comparison for red, green and blue separately and identify the falling channel. How the grating efficiency for that channel changes with incidence angle. Whether there is leakage between color channels
Lumerical RCWA grating data (by wavelength and incidence angle) and per-channel results in Speos
The edge of the image is dim or tinted even from the center of the eyebox
Relative illumination and image quality by color in the projection optics. Vignetting at the in-coupler. How the in-coupler efficiency changes over the range of field angles
The projection optics model in Zemax OpticStudio and the RCWA data for the in-coupler
The model is uniform but the prototype is not
Whether the wavelength and angle ranges of the grating data cover the conditions that occur in the ray trace. How polarization is handled. How far the fabricated profile (height, slant angle, fill factor) is from the design values
A Lumerical RCWA model with the measured profile. Export the data again and re-evaluate in Speos
Fine in a dark room, but white looks washed out or shifted in a bright environment
The ratio of display luminance to ambient light. Contrast under different ambient conditions
The Speos system model with ambient light included
When a Zemax OpticStudio team adds Lumerical or Speos
Consider a team that already designs the projection lens and the pupil expansion of the waveguide in Zemax OpticStudio. In the model, the pupil is replicated across the whole eyebox, and for the central field the distribution is reasonably uniform. On the prototype, white still loses its red toward the edge.
A model that represents the gratings with constant diffraction efficiencies cannot answer the question of how the efficiency changes with incidence angle and wavelength. The light that reaches the edge of the waveguide has met the gratings many times, and its incidence angle depends on field angle and color. A difference in efficiency at each interaction accumulates over the number of interactions. Lumerical RCWA answers this question. It calculates the response by wavelength and incidence angle from the cross-section of the grating, and the result can be used in the waveguide model in OpticStudio. Ansys publishes an example in which an exit pupil expander built in OpticStudio is dynamically linked to Lumerical RCWA, and the expander and out-coupler gratings are tuned zone by zone to optimize uniformity across the eyebox [5].
Speos comes in when the question becomes how it looks to the eye. Suppose the distribution from the waveguide alone meets its target. What are the luminance and chromaticity at the eye position when the real microdisplay image is shown? Is the display readable in outdoor brightness? With the housing and the head included, where does unwanted light enter? Speos takes the lens from OpticStudio as an .odx file and the grating data from Lumerical as a surface property, and handles these questions in one model that includes the display source and ambient light [1][2].
None of the tools replaces another. Optical design in OpticStudio is the base, and electromagnetic analysis of the gratings and evaluation of how the system looks are added according to the question.
Starting an evaluation for your own waveguide
Not every evaluation needs all three tools. The right setup depends on the symptom you want to check and on the models you already have. To find the cause of a color cast, adding Lumerical RCWA to your current optical model may be enough. To confirm what is seen from the eye position, the setup includes Speos.
LightBridge arranges evaluation licenses for Ansys Lumerical, Ansys Zemax OpticStudio and Ansys Speos. In the product field of the evaluation request form, select the one product you want to evaluate first. After your request, an engineer will ask which tools you use now and what you want to check, and will suggest a suitable setup. Your specification does not need to be complete.
We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
Essential Website Cookies
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
Google Analytics Cookies
These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
If you do not want that we track your visit to our site you can disable tracking in your browser here:
Other external services
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
Other cookies
The following cookies are also needed - You can choose if you want to allow them:
Privacy Policy
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.