Solved

Removing spherical aberration from optimization

  • 26 January 2022
  • 3 replies
  • 1269 views

I followed the Zemax tutorial for how to optimize a simple lens in OpticStudio.

What I would like to do is create a lens for collimating a beam but which is optimized to reduce higher order aberrations. I don’t want to worry about spherical aberration, because we can reposition the fiber to different distances at different angles.

I’m not sure how to configure such a thing given the optimization wizard shown in the tutorial. Is there an easy way to specify this is what I want to do so the optimizer knows that?

icon

Best answer by Jeff.Wilde 27 January 2022, 07:07

View original

3 replies

Userlevel 7
Badge +2

Hi xms42,

 

In OpticStudio, the optimization wizard doesn’t typically directly target for specific aberrations. Instead, it uses a criterion such as the spot size or the wavefront error. I think the rationale behind this decision is that those criterion are measurable in the lab and they reflect the performance of the system more tangibly, if that makes sense. If you use the default merit function, you don’t need to worry too much about aberrations in general. The optimizer will come up with the best solution for your criterion and you can always double-check what the aberrations are afterwards.

I don’t know if there’s an easy way to do what you propose. It sounds tricky to me because you’d have to specify all the aberrations you’re interested in for all the fields, etc. Perhaps, if you want to pursue this direction, it might be worth investigating the ZPL macros or the ZOS-API to automatize the creation of the operands.

I hope this helps a bit.

Take care,

 

David

Maybe theres an easier way to specify what I want in the optimization wizard then? 

I want to design a lens that will work well for steering the output beam off axis, but since I can move the fiber arbitrarily the image plane is not strictly going to be at a single distance from the lens. It will be different depending on the angle of the field coming into the lens.

Is there a way to specify that in the wizard? As it stands now, it looks like its evaluating the spot size at the same image plane for all angles I specify in the field section.

Userlevel 7
Badge +3

I can add a few comments in addition to what David has said.  First, I think you may be confusing spherical aberration with defocus.  They are two different aberrations, and often some amount of defocus can be helpful in balancing spherical aberration.  Second, if you are designing the lens in reverse (in other words, collimated beams in object space are being optimally focused at the image plane, which is the standard imaging-at-infinity configuration) then I think you are asking if there is a way to ignore field curvature in the merit function.  I think the answer is yes, if you set up the model so that each field angle corresponds to a separate configuration, and allow each configuration to have its own variable image plane distance.  That way each field angle (i.e., each incoming collimated beam) can be optimally focused, which is a way of taking field curvature out of the problem.

However, with all that being said, I think you may actually be better off designing the lens using point-source fields, and then optimize for best collimation in image space.  I say this because I assume you are using a single-mode fiber as the source, and it sounds like you can adjust its position in three dimensions (x,y,z).  However, I’m also going to assume that you will not actively tip/tilt the fiber, but rather keep its axis parallel to the z-direction.  If that is indeed the case, then you can set up your model to be telecentric in object space and afocal in image space:

 

Here’s an example two-field layout using the sample even asphere lens (flipped around to collimate the point sources):

 

As I mentioned previously, you can use the multi-configuration feature to put a single field point in each configuration (the fields should now be based on *position* in the object plane, not angle).  Each configuration can then have its own object-to-lens distance, set as a variable (along with whatever lens parameters you want to optimize).  Here’s the two-field (i.e., two configurations) example with only the focal position being varied:

 

Lastly, use the merit function wizard with RMS wavefront as the “image quality” target.  Now when you optimize, each field point (at a specific x,y location) can have its z-position vary as well, which mimics your ability to move the fiber along the z-direction.  As you can see above, after optimization, the two fields have slightly different shifts along the z-axis, separated by about 150 um. 

 

Does this make sense?  Hope it helps...

Reply