Algorithm Validation

Four-Layer Broadband AR Cross-Validation

Compare Dreapex TMM with Essential Macleod using identical material dispersion, layer structures, boundary conditions, and optimization targets.
AuthorLezhi Sun

This validation uses Essential Macleod, an established professional thin-film design package, as an independent reference for a four-layer MgF₂/ZrO₂ broadband anti-reflection coating. It performs two comparisons: normal-incidence reflectance from 400 to 700 nm for an identical tuned structure, and independent optimization of four physical thicknesses from the same ideal optical-thickness design. The forward spectra overlap across the full band. The optimized thicknesses have a mean relative difference of 0.36% and a maximum difference of 0.782%.

Essential Macleod is provided by Thin Film Center. Its name and interface screenshots identify the independent reference calculation and make the comparison auditable; they do not imply affiliation, partnership, or endorsement.

Validation Target and Acceptance Criteria

QHQ (Quarter-Half-Quarter) is a classical broadband anti-reflection design. A conventional QHQ stack requires an intermediate-index material. The four-layer form replaces that layer with an equivalent pair made from the existing high- and low-index materials, reducing the material set and then using gentle refinement to obtain broadband low reflectance.

ItemControlled conditionsAcceptance criterion
Forward calculation of the tuned designIdentical dispersion, layer order, thicknesses, surrounding media, wavelengths, and incidenceMatching extrema, line shape, and in-band reflectance
Forward calculation of the ideal starting design510 nm reference wavelength; FWOT values of 0.25, 0.5, 0.0625, and 0.0625Overlapping starting spectra
Four-variable thickness optimizationIdentical band, target quantity, incidence, and variable boundsLess than 1% relative difference for every optimized layer

The model is a one-dimensional planar multilayer made of linear isotropic materials, placing it within the standard scope of the transfer-matrix method.

Shared Materials and Boundary Conditions

Light enters from air and passes through MgF₂, ZrO₂, MgF₂, and ZrO₂ before reaching a glass substrate. Both programs import the same wavelength-dependent n, k data, removing material-database revisions and source interpolation as comparison variables.

MaterialValidation data
MgF₂Download MgF2.txt
ZrO₂Download ZrO2.txt
Glass substrateDownload Glass.txt

The shared forward-calculation setup is 400–700 nm with a 5 nm step, 0° incidence, and a polarization ratio of 0.5. Optimization uses the same band with a finer 1 nm step to reduce sampling sensitivity in the band-average objective.

Forward Calculation of the Tuned Design

Dreapex TMM Structure

The four layers follow the MgF₂/ZrO₂/MgF₂/ZrO₂ order. The thicknesses used for this first forward comparison were previously tuned and are not strict quarter-wave or half-wave values.

Four-layer tuned structure table in Dreapex TMM
Four-layer tuned structure table in Dreapex TMM
Three-dimensional view of the same four-layer structure
Three-dimensional view of the same four-layer structure

The Optics page uses Sweep wavelength mode from 400 to 700 nm with a 5 nm step at normal incidence.

Normal-incidence 400–700 nm setup in Dreapex TMM
Normal-incidence 400–700 nm setup in Dreapex TMM

Essential Macleod Structure

The independent reference uses the same materials, order, and physical thicknesses. Its design table also lists fractional-wave optical thickness (FWOT) at the 510 nm reference wavelength, showing that the tuned values differ from the ideal 0.25, 0.5, 0.0625, and 0.0625 sequence.

Identical tuned structure in Essential Macleod
Identical tuned structure in Essential Macleod

Original Outputs and Overlay

Dreapex TMM reports reflectance, transmittance, and phase values for all 61 sampled wavelengths.

Tuned-structure reflectance table from Dreapex TMM
Tuned-structure reflectance table from Dreapex TMM

Essential Macleod reports the corresponding reflectance data for the same structure.

Tuned-structure reflectance table from Essential Macleod
Tuned-structure reflectance table from Essential Macleod

When plotted on the same axes, the two reflectance data sets overlap across 400–700 nm. Both show a rapid short-wavelength decrease, a shallow feature around 430–460 nm, a low-reflectance central region, and a gradual rise beyond approximately 620 nm. No visible shift appears in the extrema or principal turning points.

Overlay of tuned-design reflectance from Dreapex TMM and Essential Macleod
Overlay of tuned-design reflectance from Dreapex TMM and Essential Macleod

Re-optimization from Ideal Optical Thicknesses

The second validation does not reuse the tuned thicknesses. Both programs start at a 510 nm reference wavelength and convert FWOT values of 0.25, 0.5, 0.0625, and 0.0625 into the same four physical thicknesses using the shared material indices.

PositionMaterialStarting thicknessOptimization range
Top layerMgF₂92.03 nm90–100 nm
Second layerZrO₂123.44 nm110–135 nm
Third layerMgF₂23.93 nm20–35 nm
Bottom layerZrO₂16.05 nm10–20 nm

Dreapex TMM Starting Design and Reflectance

Initial four-layer structure converted from ideal FWOT values in Dreapex TMM
Initial four-layer structure converted from ideal FWOT values in Dreapex TMM
Starting-design reflectance from Dreapex TMM
Starting-design reflectance from Dreapex TMM

Essential Macleod Starting Design and Reflectance

Identical starting design in Essential Macleod
Identical starting design in Essential Macleod
Starting-design reflectance from Essential Macleod
Starting-design reflectance from Essential Macleod

The two starting curves overlap, confirming that both optimizations begin from the same optical state.

Overlay of the starting reflectance before optimization
Overlay of the starting reflectance before optimization

Dreapex TMM Optimization

Objective

The objective minimizes average reflectance from 400 to 700 nm. The target is Reflectance (R), the mode is Band, the direction is Minimize, the incidence angle is 0°, the polarization ratio is 0.5, and the weight is 1.

Band-average reflectance objective in Dreapex TMM
Band-average reflectance objective in Dreapex TMM

Variables, Grid Search, and Local Algorithm

All four physical thicknesses are optimization variables. The grid pre-search uses 5 samples per variable, evaluates 625 combinations, and passes 3 candidate points to local refinement.

Four thickness variables, bounds, and grid pre-search settings
Four thickness variables, bounds, and grid pre-search settings

Local refinement uses TRF with a maximum of 50 evaluations per candidate.

TRF local-optimization parameters in Dreapex TMM
TRF local-optimization parameters in Dreapex TMM
SettingValue
ModeBand
TargetReflectance (R)
DirectionMinimize
Wavelength400–700 nm, 1 nm step
Incidence0°, unpolarized
VariablesFour physical layer thicknesses
Grid sampling5 points per variable, 625 combinations
Local candidates3
Local algorithmTRF
Maximum evaluations per candidate50

Report and Structure Check

The optimization report records the best objective value, execution time, evaluation count, algorithm, and grid pre-search summary.

Optimization overview and grid summary in Dreapex TMM
Optimization overview and grid summary in Dreapex TMM

All three candidates complete local refinement, and the best-solution region lists the final four thicknesses.

Candidate results and the best four-layer thicknesses in Dreapex TMM
Candidate results and the best four-layer thicknesses in Dreapex TMM

Applying the best solution preserves the materials and layer order while updating the four thicknesses to the report values.

Dreapex TMM structure after applying the best solution
Dreapex TMM structure after applying the best solution

Optimization lowers reflectance across 400–700 nm, with the largest change on the short-wavelength side and a broader low-reflectance region.

Dreapex TMM reflectance before and after optimization
Dreapex TMM reflectance before and after optimization

Essential Macleod Optimization

Targets and Sampling

The independent reference generates targets from 400 to 700 nm in 1 nm steps at normal incidence and sets the required Reflectance (%) value to zero.

Target wavelength and incidence range in Essential Macleod
Target wavelength and incidence range in Essential Macleod
Generated wavelength-by-wavelength reflectance target table
Generated wavelength-by-wavelength reflectance target table

Thickness refinement is enabled with a maximum of 1000 iterations. Because the two programs use different optimization algorithms and stopping conditions, the acceptance test compares relative thickness differences instead of requiring identical last digits.

Thickness-refinement and iteration settings in Essential Macleod
Thickness-refinement and iteration settings in Essential Macleod

Results

The reference optimization returns physical thicknesses of 92.96, 132.20, 31.23, and 15.57 nm.

Four-layer structure optimized in Essential Macleod
Four-layer structure optimized in Essential Macleod

The independent reference also shows lower reflectance across the full band after optimization.

Essential Macleod reflectance before and after optimization
Essential Macleod reflectance before and after optimization

Optimization Cross-Validation

The optimized reflectance curves retain the same broadband low-reflectance profile. The two optimizers settle at slightly different points without changing the principal spectral features.

Overlay of optimized reflectance from both programs
Overlay of optimized reflectance from both programs

The layer-by-layer comparison places all four variables in the same design neighborhood.

Bar-chart comparison of the four optimized thicknesses
Bar-chart comparison of the four optimized thicknesses
LayerDreapex TMMEssential MacleodAbsolute differenceRelative difference
Top MgF₂92.844567 nm92.96 nm0.115433 nm0.124%
Second ZrO₂132.540985 nm132.20 nm0.340985 nm0.258%
Third MgF₂31.474357 nm31.23 nm0.244357 nm0.782%
Bottom ZrO₂15.526258 nm15.57 nm0.043742 nm0.281%

The mean relative difference is 0.36%, and the maximum is 0.782%; every layer satisfies the predefined 1% criterion. Agreement of the forward spectra and optimized designs together shows that material-dispersion interpolation, medium-boundary handling, wavelength sampling, and multivariable thickness optimization form a stable and reproducible calculation path for this standard one-dimensional stack.

Scope Limits

The result applies only to the stated one-dimensional planar stack of linear isotropic materials. Surface roughness, scattering, lateral patterning, process gradients, and uncertainty in measured optical constants are outside the model. The original validation record also did not capture the reference-software version. Production work should therefore add thickness-tolerance and material-sensitivity sweeps rather than treating one optimum as a fabrication tolerance.

The recommended audit sequence is to download and confirm the shared material data, verify the starting structure and incidence, compare the forward spectra point by point, align the optimization targets and bounds, and finally calculate the absolute and relative difference for every layer. Continue with RTA and Layer-Absorption Analysis and the Optimizer.

Copyright © 2026 Dreapex