We designed an AR display prism whose center spot is six times smaller than that of a recently published design1, with an RMS spot radius of 6.4 µm against 40 µm. It is also more robust to fabrication. None of 6,400 simulated builds lost light, against 41% for the best design from our variant of the published method, and the glass that the light passes through is about half the volume.

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 20092, and the same group's paper on its design, tolerancing and fabrication followed four years later, in 20133.

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 as the optics deliver it, then with each color channel pre-warped on the display to cancel the color fringes. 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

The published design is the freeform prism of Su and Romanova, published in Applied Optics in May 20261. It folds light from a small display into the eye with three surfaces, and they designed it with a two-stage genetic algorithm (GA). We rebuilt their prism from the paper, ran a variant of their two-stage GA, and then refined four of its designs with CMA-ES, a different optimizer.

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

All four columns come from the test the paper uses: 81 rays (nine field angles, each with 3 × 3 points over the 5 mm eye-box) at one wavelength. The reproduction column is our variant of the paper's two-stage GA. The high-contrast design was optimized for contrast (MTF), so its center spot is larger than our design's, but its worst-field spot is half the size.

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-based design and our design at the same scale, with faces A, B and C labeled, the eye, the display and rays from three viewing angles
The GA-based design and our design at the same scale, with faces A, B and C labeled, the eye, the display and rays from three viewing angles.

Method

We rebuilt the prism from the paper. It has three surfaces 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-based 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-based 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-based 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 of our design for nine field angles at 486, 588 and 656 nm, 15 by 15 rays over the eye-box, with the RMS radius of each
Spot diagrams of our design for nine field angles at 486, 588 and 656 nm, 15 × 15 rays over the eye-box, with the RMS radius of each.

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.

Test chart seen through our design, as the optics deliver it and pre-warped per color, whole field with center and corner close-ups
The test chart seen through our design, as the optics deliver it and pre-warped per color, with center and corner close-ups.

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. The plot shows, for each of the nine fields, the weaker of the two directions.

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 of our design against spatial frequency for nine fields, weaker direction, with the center and worst fields highlighted and the diffraction limit
MTF of our design for nine fields, in the weaker direction, with the center and worst fields highlighted and the diffraction 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 of our design at true scale, the ideal image grid in gray and the traced grid in blue almost on top of it
Distortion of our design at true scale: the ideal image grid in gray and the traced grid in blue, almost on top of it.

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.

Test chart rendered through our design as the optics deliver it, with cubic and with quintic per-color pre-warp, whole field with center and corner close-ups
The test chart rendered through our design as the optics deliver it, with cubic and with quintic per-color pre-warp, with center and corner close-ups.

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. On the same 15 × 15 eye-box test at three wavelengths, the worst-field spot shrinks from 79 to 41 µm and the center spot grows from 11.0 to 15.5 µm. Distortion rises to 5.0%, and the per-channel warp leaves 0.029° of it.

MTF of the high-contrast design against spatial frequency for nine fields, weaker direction, with the center and worst fields highlighted and the diffraction limit
MTF of the high-contrast design for nine fields, in the weaker direction, with the center and worst fields highlighted and 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 high-contrast design for nine field angles at 486, 588 and 656 nm, 15 by 15 rays over the eye-box, with the RMS radius of each
Spot diagrams of the high-contrast design for nine field angles at 486, 588 and 656 nm, 15 × 15 rays over the eye-box, with the RMS radius of each.

The design holds as drawn but is sensitive to build errors. Each row below is 1,000 simulated builds, and MTF here means the worst-field MTF at 20 lp/mm. The tolerance set is ±0.02 mm on positions, ±0.05° on tilts, ±0.2% on radii, ±0.01 on conics and ±2% on the freeform terms.

PerturbationMedian MTF10th percentileRays within 1° of the critical angleBuilds that lose light
None0.320.32nonenone
Tolerance set0.200.0436%0
Paper's ±1%0.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, and the other tolerances as in the tolerance set, tested that.

Freeform toleranceMedian MTF10th percentileBuilds at 0.3 or aboveRays 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 recently published freeform-prism AR 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. G. Su and G. Romanova, "Two-stage genetic algorithm optimization of a freeform prism AR system design," Applied Optics 65(15), 5158 (2026). doi.org/10.1364/AO.599617
  2. D. Cheng, Y. Wang, H. Hua and M. M. Talha, "Design of an optical see-through head-mounted display with a low f-number and large field of view using a freeform prism," Applied Optics 48(14), 2655 (2009). doi.org/10.1364/AO.48.002655
  3. Q. Wang, D. Cheng, Y. Wang, H. Hua and G. Jin, "Design, tolerance, and fabrication of an optical see-through head-mounted display with free-form surface elements," Applied Optics 52(7), C88 (2013). doi.org/10.1364/AO.52.000C88
  4. Optiland, an open-source optical design and ray-tracing library. github.com/HarrisonKramer/optiland