We designed an AR-VR display prism that is six times sharper at the center than the published design, while being far more robust to fabrication and half the size. None of 6,400 simulated builds failed, where the published method failed 41% of them.

We also refined a high-contrast version. It raises the worst-field MTF at 20 lp/mm (9.5 cycles per degree) from 0.014 to 0.32 and the center to 0.80 and 0.66 at 37 lp/mm, and halves the worst-field spot, from 99 to 47 µm on the paper's test. Color fringing and distortion in both designs are removed by a fixed per-channel warp of the display image. Every result comes from rays traced through the prism, with the tracer cross-checked against Optiland.

The whole study took about a day. For comparison, Cheng, Wang, Hua and Talha published a freeform-prism head-mounted display design in 20091, and the same group's design, tolerance and fabrication paper followed four years later, in 20132.

The designs

The freeform prism seen from the side, with the eye above it and rays from three viewing angles passing through the prism onto the display
The prism, with rays from three viewing angles focusing onto the display.
Test chart seen through the prism, without correction on the left and with per-color correction on the right
A test chart seen through the high-contrast design, first straight from the optics, then with the display's per-color correction. This render uses a simplified blur model. A fully ray-traced render of the robust design is in the MTF and distortion section.

Comparison with prior work

RMS spot radiusPublished1ReproductionOur robust designHigh-contrast design
Center field40 µm71 µm6.4 µm22.5 µm
Worst field190 µm134 µm99 µm47 µm

All four were tested on the paper's own evaluation: 81 rays (nine fields, 3 × 3 points over the 5 mm eye-box) at one wavelength. The high-contrast design was tuned for contrast rather than spot size, so its center spot is larger than the robust design's while its worst field is better.

Design

Both prisms have the same light path. Light from the display enters through face C, reflects off face A and off mirror B, and leaves through face A towards the eye. Drawn at the same scale, our design is shorter, its face C is nearly flat and its display sits closer to the prism.

Side view of the GA design and our design at the same scale, with the eye, the display and rays from three viewing angles
The GA (genetic algorithm) design and our design at the same scale, with the eye, the display and rays from three viewing angles.

Method

We rebuilt the prism from the paper. It has three surfaces (A, B and C) and 26 design variables within the paper's bounds, and image quality is measured with the paper's 81 rays at one wavelength. We chose N-BK7 as the glass, 587.6 nm as the wavelength and an eye pupil 13 mm in front of face A. We then ran five steps.

  1. We refined four of the GA designs with CMA-ES, 32 runs in all.
  2. We traced the sharpest result again in Optiland, an independent ray tracer. The two agree to within 1.2 × 10⁻⁸ %.
  3. We ran CMA-ES again, this time requiring every ray to hit face A well past the angle where total internal reflection begins. We tried 0.25° to 2° and kept 1°.
  4. We tested every design against build errors. Each of 6,400 simulated builds changes every parameter at random by up to ±1%, and a build fails if light is lost.
  5. We traced the chosen design again with 21 × 21 rays per field at three wavelengths.

Findings

The sharpest CMA-ES design (7.05 µm at the center) failed in half of the simulated builds. Some of its rays hit face A only just past the angle where total internal reflection begins, so small build errors let light leak out. Once every ray had to hit face A at least 1° past that angle, the sharpness stayed about the same and none of the 6,400 simulated builds failed.

A smaller prism

Our design uses a smaller prism than the GA design, as the side-by-side view in the Design section shows. Light crosses 31 mm of glass instead of 50 mm, and the region of glass the rays use is less than half the size (5.4 cm³ against 11.6 cm³). The finished glass block is about 1.5 cm³. Face C is nearly flat, and face A tilts the opposite way to the GA design's.

Color was not part of the paper's test or of our optimization. Traced at F, d and C, the selected design puts its red and blue images 16 µm apart at the center and 62 µm apart in the corners. A display can cancel that shift by pre-warping each color channel. It cannot remove the blur within each color, which is about 9 µm at the center.

The spot diagrams trace 15 × 15 rays per field over the 5 mm eye-box at F, d and C, on one ±200 µm scale. The center spot is 11 µm. The largest are the two corners on the +12.5° side of the fold plane, at 79 µm, and there the blue and red spots sit visibly apart.

Spot diagrams for the nine fields at F, d and C, 15 by 15 rays, on a common plus or minus 200 micrometer scale
Spot diagrams for the nine fields at F, d and C, 15 × 15 rays, on a common ±200 µm scale.

The image simulation puts a test chart on the display at 6.7 µm per pixel and traces it back to a 4 mm eye pupil, one color channel at a time. At the center the 1-pixel bars are resolved, with color fringes that a per-channel pre-warp removes. In the corner at (−11.7°, +11.7°) even the 4-pixel bars run together, and pre-warping removes the color but not the blur. Distortion against the best affine fit of the image reaches 2.19% of the half-diagonal, 167 µm at the +12.5°/+12.5° corner.

Image simulation: the ideal chart, the chart seen through the prism with affine placement, and with per-channel pre-warp, each with center and corner crops
Image simulation: the ideal chart, the chart seen through the prism with affine placement, and with per-channel pre-warp, each with center and corner crops.

The 12 mm image over ±12.5° and the 5 mm eye-box set the F-number at about F/5.4 for any design that meets the specs. The selected design focuses faster in the fold plane (F/4.6) than across it (F/5.3), and its tilted display stretches the image back to 12 mm. The faster cone leaves less room for placing the display, about ±25 µm of focus against ±35 µm, estimated as ±2λF#² at 588 nm.

MTF and distortion

The MTF comes from the wavefront. The optical path is traced through the prism over a 4 mm eye pupil, then transformed to the PSF and on to the MTF. On the display, 1 lp/mm is 0.4725 cycles per degree at the eye, so the 74.6 lp/mm limit of a 6.7 µm-pixel display is 35 cycles per degree.

MTF, 4 mm pupil37 lp/mm (17 cycles/deg)74.6 lp/mm (35 cycles/deg)
Center, d, along u / v0.64 / 0.0850.29 / 0.085
Center, F–C, along u / v0.66 / 0.200.34 / 0.05
Worst field (+12.5°, +12.5°), d0.0050.0007

The center is good along u and weak along v, which matches the center spot, narrow one way and stretched the other. In seven of the eight edge fields, contrast in at least one direction is near zero by 10 to 20 lp/mm (5 to 9 cycles per degree). Only the field at (0°, −12.5°) holds up. The design was optimized for RMS spot radius at nine points, as the paper's was, and that target does not control contrast in each direction. The geometric MTF from the spot differs from the wavefront MTF by up to 0.17 at 74.6 lp/mm, which we have not yet explained. Optiland's FFT MTF agreed with ours at the center to within 20%.

MTF for nine fields with a 4 mm pupil, along u and v, at d and over F to C, with the diffraction limit and the 74.6 lp/mm display limit
MTF for nine fields, 4 mm pupil, along u and v, at d and over F to C, with the diffraction limit and the 74.6 lp/mm display limit.

Distortion against the best affine fit is at most 2.13% of the half-diagonal (162 µm), with an RMS of 0.75% (57 µm). On top of that, the image is 15.6% wider in one direction than the other (0.459 against 0.397 mm per degree), which the display absorbs by scaling its content.

Distortion grid: the ideal affine grid against traced centroids, at true size and with the error magnified ten times
Distortion: the ideal affine grid against traced centroids, at true size and with the error magnified ten times.

Lateral color is removed by a fixed polynomial warp of each color channel of the displayed image, the same kind of correction headset software applies for distortion. A cubic warp (20 coefficients per channel) leaves at most 2.0 µm of fit error and 0.03 µm of red-to-blue misregistration, against 61 µm uncorrected. A quintic warp (42 per channel) leaves 0.01 µm. The same warp removes the distortion. It cannot remove the blur within each color, so the corrected corner of the render is still soft. The moiré in the corrected crops comes from the nearest-pixel pre-warp used in the render, not from the optics.

Chart rendered raw, with cubic per-channel correction and with quintic correction, each with center and corner crops
The chart rendered raw, with cubic per-channel correction and with quintic correction, each with center and corner crops.

Contrast re-optimization (i2)

The MTF result led to a second idea, i2, which optimizes for MTF at 20 lp/mm in both display directions over all nine fields. The targets were a worst-field MTF of at least 0.3 and a center MTF at 37 lp/mm of at least 0.5 in the weaker direction. The field, eye-box and image width had to hold, and every ray still had to hit face A at least 1° past the critical angle. The work was planned in three stages, each to run only if the one before missed.

StageFreedomWorst-field MTF at 20 lp/mmCenter MTF at 37 lp/mm, u / v
Start (i1 robust design)paper's 26 variables0.0140.64 / 0.085
1paper's 26 variables and Table 1 ranges0.0420.52 / 0.57
2wider ranges, free B vertex, second display tilt0.3200.80 / 0.66
3higher-order freeform termsnot runnot run

Within the paper's ranges, the edge fields keep 0.5 to 1.5 waves RMS of 45° astigmatism at a 4 mm pupil, and that caps their contrast. At a 1 mm pupil every field is above 0.42.

Stage 2 moved mirror B's vertex from (−5.0, 10.0) to (−4.5, 18.4) mm, tilted A by 14.8° (the paper allows 10°) and flattened C to a 200 mm radius (the paper allows 150 mm). No parameter ended on its new limit. Scaling the design by 1.0024 brings the image width from 11.971 to 12.000 mm with the MTF unchanged. The spots are smaller as well, 9.9 µm at the center and 31.7 µm in the worst field over F, d and C, against 11.0 and 79 µm for i1. Distortion rises to 5.0%, and the per-channel warp leaves 0.029° of it.

MTF of the i2 design for nine fields along u and v, d-line, 4 mm pupil, with the diffraction limit
MTF of the i2 design for nine fields along u and v, d-line, 4 mm pupil, with the diffraction limit.

Optiland traces the stage-2 design to within 1e-10 mm of our tracer, and the MTF built from its rays agrees with ours to 0.04% at 20 lp/mm. That checks the tracer, not the MTF code, because Optiland could not aim rays through this folded system by itself. The extended tracer, with the new freedoms set to their old values, reproduces the original tracer exactly.

Spot diagrams of the i2 design at F, d and C for nine fields, 4 mm pupil, about the d-line centroid
Spot diagrams of the i2 design at F, d and C for nine fields, 4 mm pupil, about the d-line centroid.

The design holds as drawn but is sensitive to build errors. Each row below is 1,000 trials.

PerturbationMedian worst-field MTF at 20 lp/mm10th percentileTrials with rays within 1° of the critical angleBuilds that lose light
None (nominal)0.320.32nonenone
Tolerance set (±0.02 mm, ±0.05°, ±0.2% radii, ±0.01 conics, ±2% freeform terms)0.200.0436%0
Paper's ±1% on every parameter0.050.0136%0

Two freeform terms account for most of the loss under the tolerance set: B's z² coefficient, which alone moves the worst-field MTF by 0.27, and A's y² coefficient, which moves it by 0.12. As our estimate, ±2% of a z² coefficient near 0.003 /mm over ±8 mm of surface is a sag error of about 4 µm, and precision-molded freeform surfaces are often held to around 1 µm. The tolerance set may therefore be pessimistic for these two terms. A re-run with all ten freeform terms tightened tested that.

Freeform tolerance (other parameters as the tolerance set)Median worst-field MTF at 20 lp/mm10th percentileBuilds at or above 0.3Builds with rays within 1° of the critical angle
±0.5%0.3040.24359%17%
±1%0.2850.15229%26%
±2%0.1990.043not reported36%

The freeform terms need holding to about ±0.5% for the median build to reach 0.3, and even then 41% of builds fall short. With perfect freeform surfaces the other tolerances still leave 10% of builds with rays within 1° of the critical angle, because the design as drawn clears it by only 1.10°. The surface-accuracy budget in micrometers is not finished yet. A's y² term tolerates about ±3%, or 2.55 µm of peak sag, before the median drops below 0.25, but the B terms, which matter most, were not tested in this run.

The run also kept an alternative whose rays clear the critical angle by 1.4°. It reaches 0.29 nominally and 0.15 at the median under the tolerance set, and almost none of its trials bring rays within 1° of it.

Caveats

  • The geometry is a reconstruction. The paper gives no prescription, glass or wavelength, so a different reading of it could move every number in this report.
  • The i2 design leaves the paper's Table 1 ranges and its fixed B vertex, so it is not a like-for-like comparison with the paper. The i1 design is.
  • Optiland matched our tracer on the sharpest CMA-ES design and on the i2 design. The i1 robust design itself was traced only by our tracer.
  • We did not assess longitudinal color or eye relief. The pupil sits 13 mm from A, and AR headsets usually allow 18 to 20 mm.

Frequently asked questions

Can AI design a freeform prism for an AR headset? Yes. In this study, Opdo rebuilt a published freeform-prism display, refined it with CMA-ES and checked the results in an independent ray tracer, Optiland. The whole study took about a day.

How do you make a freeform prism robust to manufacturing errors? Keep every ray well past the critical angle for total internal reflection. Once every ray had to hit face A at least 1° past that angle, none of 6,400 simulated builds with errors of up to ±1% on every parameter lost light, and the sharpness stayed about the same.

Can Opdo design the display optics for our headset? Yes. Bring us your use case, and Opdo's AI agents and optical engineers deliver a production-ready design, working in the tools you already use, such as Zemax, CODE V and FRED.

How to start

Want to design your next display optics with AI? Bring us your use case. We'll deliver a production-ready design. Talk to us.

Related: How to design a curved waveguide for AR glasses.

What would you design with AI agents?

Sources

  1. Cheng, Wang, Hua and Talha. Freeform-prism head-mounted display design. Applied Optics 48(14), 2655, 2009. Optica
  2. The same group. Design, tolerance and fabrication of the freeform prism. Applied Optics 52(7), C88, 2013. Optica
  3. Optiland, an open-source optical design and ray-tracing library. github.com/HarrisonKramer/optiland