Skip to main content

Merit function for Fly's eye homogenizer

  • November 8, 2025
  • 3 replies
  • 42 views

oenthus01

Hi Guys, 

Looking for a merit function that was used for the Fly’s eye array for uniformity.

Fly’s eye arrays for uniform illumination in digital projector optics – Ansys Optics

This file also comes in the sample of the zemax file. 

\Documents\Zemax\Samples\Design Applications\Illumination Systems\1- Flys Eye Integrators

If anyone can share the .mf file will be helpful. Thanks, 

3 replies

MichaelH
Ansys Staff
Forum|alt.badge.img+2
  • Ansys Staff
  • 411 replies
  • November 14, 2025

Hi Richard,

If you have the Premium version, you can the Bitmap Wizard to upload a flat-top image with the desired aspect ratio as an optimization target.  The wizard will setup the Merit Function Editor with the correct NSDD operands to ensure the normalized pattern is achieved during optimization.

 

If you only have the Professional version, I would look at manually setting up multiple NSDD operands and target Data values like Spatial Uniformity and Total Flux.  Note that the Bitmap Wizard will place a NSDD operand for every pixel on the detector with the bitmap intensity value corresponding to the total flux the pixel should see.  So, for a 100x100 pixel detector, the Bitmap Wizard will add 10,000 NSDD operands for the pixels.

 


oenthus01
  • Author
  • Monochrome
  • 4 replies
  • November 15, 2025

What will be the variables in that setup. And where to put the mask (CAD or films), Can you please share? Thank you! I didn’t realize Zemax has the bitmap capability. 


oenthus01
  • Author
  • Monochrome
  • 4 replies
  • November 15, 2025

I am guessing the CAD file will be placed after the collimation and the lens will be what we need to set up as a variable. Anyway, I appreciate the feedback.