Skip to main content
Solved

Position floating element within lens using Merit function

  • 20 June 2024
  • 2 replies
  • 59 views

Hi,

 

I have a file of an exisiting lens with floating elements. The file consists of multiple BlackBox elements. Included are also multiple setups with different object distances and the respective thickness that detmermines the position of the floating element for the given focus position.

I would now like to calculate additional config for which I want to calculate the object position and floating element position for a given magnification.

My idea was to define in the MFE the desired PMAG and set the boundaries for the floating element using TTHI+ABLT and TTGT.

However, when I let Zemax optimize this setup it will generate thicknesses that are wrong (=not focus on the image plane and thus very low MTF). Even when I set the object distance to a fixed value that I know from the other configurations it will not find the best thickness for surface 7.

When I set the thicknesses for surf0 and surf7 by hand the focus is correct.

 

Can someone tell me what I am missing here? What constrains Zemax to calculate the ideal thickness fur Surf7?

 

Below are the MFE and MCE. I added a drawing instead of sharing the lens data in order to not share any protected data.

 

And the unfocused image plane:

 

 

2 replies

Userlevel 3
Badge

Add to merit function operand for performance (you can use default function for it).

Hey Andrey,

Thank you for your answer. I did not really understand it, but I solved my issue.

For anyone having similar problems: I made two mistakes:

  1. Due to the BB file I got most surfaces (including stop) had fixed diameters. As at some point during optimization rays were missing a surface optimation couldn’t get any further.
  2. In the merit editor I chose the wrong configuration in the wizard.

Reply