Hello there, I am still a new learner to Zemax.
I have an optical system of 7 lenses focusing collected light from a telescope onto an image plane. I need to collimate the incoming light and am having trouble with the merit function. I am using the RANG operand to optimize ray angle with the z axis to be zero.
I am confused to find when I optimize the system and the merit function goes down, the field lines do not appear to cross the focal plane parallel, but rather at worse angles to the z axis. I am not worried about the weirdly shaped lenses - I know how to optimize these away. What am I doing wrong? Thanks for any guidance.
Before optimizing:
After optimizing:
Current merit function:
(Surface 11 is the focal plane in orange.)