Skip to main content
Solved

Optimization alternative to RELI for relative illumination.

  • January 28, 2020
  • 2 replies
  • 294 views

I notice that adding RELI to my merit functions significantly slows down the optimization speed. Is there an alternative for relative illumination optimization that is more computationally efficient? My application is general imaging lens design/optimization. 

Other than optimization speed, RELI seems to work fine, this is just a minor gripe that I realize might have a clever solution. 

Thanks!

Best answer by Mark.Nicholson

Hi Sean,

RELI is a fairly big calculation, so I can see why it impacts speed. I'd suggest using it with an OPGT/OPLT operand so that you constrain it to be within a range that is acceptable, rather than targeting a specific number. That way the optimizer won't spend ages trying to achieve a specific RELI value to 64-bit accuracy. Something like:



will ensure the RELI is >90% without specifying an actual target value. It also means that as long as you get the RELI you want, it doesn't affect the rest of the optimization.

Keep the sampling as small as you can, too.

Last, the Effective f/# EFNO is used in this calculation, and it may be faster to use it and just save RELI for a final system check.

HTH,

- Mark
View original
Did this topic help you find an answer to your question?

2 replies

Mark.Nicholson
Luminary
Forum|alt.badge.img+3
Hi Sean,

RELI is a fairly big calculation, so I can see why it impacts speed. I'd suggest using it with an OPGT/OPLT operand so that you constrain it to be within a range that is acceptable, rather than targeting a specific number. That way the optimizer won't spend ages trying to achieve a specific RELI value to 64-bit accuracy. Something like:



will ensure the RELI is >90% without specifying an actual target value. It also means that as long as you get the RELI you want, it doesn't affect the rest of the optimization.

Keep the sampling as small as you can, too.

Last, the Effective f/# EFNO is used in this calculation, and it may be faster to use it and just save RELI for a final system check.

HTH,

- Mark

  • Author
  • Monochrome
  • 2 replies
  • January 29, 2020
Thanks Mark,

OPGT does help significantly, I've been using that as a best practice for a while. It's one of the best tips I've gotten out of the Zemax training courses. 

I will try EFNO as an indirect check. Thank you for the tip!

-Sean
 

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings