ECEN 4616/56162/27/2013

Shape Factor and Aberration

“Bending Lenses”

The shape of a lens is defined by the shape factor, X:

The following lenses all have the same focal length, but different shape factors:

Making curvature changes in a lens without changing its power is known as “bending” the lens. A lens can be bent in Zemax by using a solve on the second surface to maintain the element power:

For the lens above with shape factor, the Zemax LDE is:

and the solve on surface 2, Curvature is:

This solve causes the second surface of the lens to take the value that maintains lens power as Z= 0.05 mm^-1, or F=1/Z=20mm. The first surface of the lens can then be made variable without changing the power of the lens.

The lens’s aberrations will change as its shape factor changes, since this changes the real angles of incidence of the rays impinging on it. We can monitor the aberrations using the operands available in the Merit Function Editor (MFE):

Clicking on the ‘Help’ menu item in the MFE,

brings up the following operand list:

The list goes on for several pages. Clicking on an operand brings up the definition and instructions for use. For example, clicking on ‘COMA’ in the above list gives this information box:

The terms “Surf” and “Wave” refer to the columns in the MFE which will be labeled as such when the COMA operand is entered.

Other operands for third-order aberrations of interest are:

  • SPHA: Spherical Aberration
  • FCUR: Field Curvature
  • ASTI: Astigmatism

Install these four operands in the MFE, setting the “Surf” value to “0”, so that the aberration sum for both surfaces is returned:

(Here, the “Hide Column” feature under the “View” menu has been used to shrink unused columns in the editor.)

We set Zemax up with two field points at ∞, one on axis and one at 5 degrees (since only spherical aberration exists on axis – the others require an off-axis field):

Likewise, since these are all monochromatic aberrations, we use only one wavelength:

We can then update the MFE and see what aberrations Zemax reports:

What do these aberrations look like in the analysis windows?

Spherical aberration is present on-axis, and is the change of focal length with ray distance from the axis. In the ray diagram, it looks like this:

Spherical aberration looks like this in a Transverse Ray Aberration (TRA) “ray fan” – Spherical Aberration is characterized by a focus error that changes with distance from the pupil center:

For comparison, here is what pure focus error in a paraxial system looks like:

Coma only affects off-axis fields – it is a change in magnification with ray distance from the center of the entrance pupil:

Coma, in the ray fan plot, manifests as asymmetry in the Tangential TRA (in the Meridonal plane):

(Note: The y-z plane is always the “meridonal” plane in Zemax, even though that is not the optical definition; Optically, the meridonal plane is the plane containing both the ray and the z-axis. The two definitions agree if “meridonal” rays are confined to the y-z axis.)

Ray Pattern with Coma at the Paraxial Focal Plane:

Using our Merit Function which reports 3rd order aberrations, we can write a Zemax macro (see: “Zemax Programming Language”, chapter 25 in the Manual). Here is a macro in the “ZPL” language that loops our system through 50 different Shape Factors and prints out the aberrations:

!ThirdOrd.zpl

!

!Print out 3rd order aberrations vs. shape factor

!Run on Shape.zmx

!Editors LDE and MFE must be open for macro to work correctly

!

!Number of points to print:

N = 50

!

!Surfaces in Shape.zmx

frontsurf = 3

backsurf = 4

!Rows in MFE:

Spha = 1

Coma = 2

Asti = 3

Fcur = 4

!

!Get starting curvatures (should already be at one extreme)

c1 = CURV(frontsurf)

c2 = CURV(backsurf)

!

Inc = -(c2+c1)/N

!

!Loop through shape factors:

FOR S1, c1, -c2, Inc

!Set curvature of frontsurf:

SetSurfaceProperty frontsurf, 2, S1

UPDATE all

!Get back surface curvature:

S2 = CURV(backsurf)

!Calculate the shape value:

Shape = (S1+S2)/(S1-S2)

!Extract the aberrations from the MFE:

SA = OPER(Spha,10)

CO = OPER(Coma,10)

AS = OPER(Asti,10)

FC = OPER(Fcur,10)

!

PRINT Shape, " ",SA," ",CO," ",AS," ",FC

NEXT

ZPL is much like early “Basic”, but contains a number of functions that access Zemax editor values – such as “OPER”, which accesses values in the MFE – and keywords – like “UPDATE” – which drive Zemax operations. Macros are run from the “Macros” menu from the top of the Zemax window, and they must be in the Macro Directory. Not sure where the Macro Directory is, or you would like to change it? Look under “File/Preferences/Folders”.

The output of the “ThirdOrd” macro is a text window:

You can save this text to a file and use it in a plotting program (or you can deal with the primitive plot capabilities of ZPL):

Expanded View:

As can be seen from the close-up, both S.A. and Coma are minimized at a Shape Factor of ~0.7

Adding weights to the spherical aberration and Coma lines of our MFA;

Plus making the radius of the first lens surface variable and optimizing, we get this lens (R1=11.7825, R2=-79.00985, Shape Factor = 0.7405):

pg. 1