TOLR is an MF operand that returns statistical results for tolerancing sensitivity analysis, and adds these results to the optimization process. In the background, the tolerancing analysis with the compensation consideration is another optimization process under different perturbation conditions. Therefore, TOLR can also be used as an optimization operand for the parameters that require optimization beforehand.
-
Concept of using TOLR
This section discusses the use of TOLR, which is unrelated to tolerancing. Instead, it utilizes the optimization process behind what we see. To use TOLR, you need to use a tolerancing user script. This is because the merit function used in the previous optimization and the main optimization process are different. By using a tolerancing user script, you can control which merit criteria to use
tolerancing user script defines how to compensate and optimize. The following commands are the ones we used:
CLEARCOMP (remove variables),
COMP (set variables),
LOADMERIT (choose merit function),
and OPTIMIZE.
- Example and Comparison
- The back focus length reported in Analyze> Prescription Data> General Dataz is paraxial data, we don’t have native operand for it. Now I show how to use TOLR to return this data.
-
Preparation:
The evaluation function used in the previous optimization was very simple - just set and save the .MF file. The first operand, PARY, is used to evaluate the BFL calculation, with the goal of achieving a paraxial ray of on aixs field of view with an image plane height of 0. This is saved as merit1.mf. The second operand is used to calculate the thickness value and is saved as merit2.mf.
-
Open Tolerance> Tolerancing
Set-up> Mode: Sensitivity
Criterion> Criterion: User Script/ Script: New. Create a new TSC file and save it.Click on the "SAVE" button in the selected Tolerancing user interface and save it as TOLR006.TOP. The file name format must follow TOLRXXX convention.
-
The setup is complete and can be used immediately. The returned values are consistent across various analyses.