You are on page 1of 41

ECEN 4616/5616

Optoelectronic Design

Class website with past lectures, various files, and assignments:


http://ecee.colorado.edu/ecen4616/Spring2014/
(The first assignment will be posted here on 1/22)

To view video recordings of past lectures, go to:


http://cuengineeringonline.colorado.edu
and select “course login” from the upper right corner of the page.
Right Side Rear-View Mirror

In a previous lecture, the question was asked: What are convex (negative)
mirrors used for?
One very common use is for the right-side rear-view mirror on an automobile.

W
θ θ’ R
L2
L1

Driver

The engineering design task is: Given the size constraints of the
mirrors, W, and the geometry of the car layout, L1 , L2 ; Find R
such that θ = θ’. (i.e., make the driver’s field of view equal
on both sides.)
Other Issues with Convex Mirrors
Observer

l f’ C
l’ Or, in other words:

Note that, for a convex mirror, l > l’, but


also M < 1 (i.e., things appear both
nearer and smaller).

Whether objects actually appear closer


or farther depends on if the user
depends mostly on size or binocular
vision (or focus) cues for distance.
Shape Factor and Aberration
“Bending Lenses”
  c1  c2
The shape of a lens is defined by the shape factor, X: X
c1  c2

The following lenses all have the same focal length, but different shape factors:
X<-1 X=-1 X=0 X=1 X>1

c1 c2

For the lens above with shape


factor, X=-1, the Zemax LDE is:
LDE for shape factor X=1

The “Solve” on surface 2, Radius, is:

This dialog box is accessed by right-


clicking on the Radius box in the LDE.
The Solve chosen, “Element Power”
causes the radius to be automatically
calculated so as to maintain a lens
power of 0.05mm-1 or a focal length
of 20 mm.

The first surface of the lens can then be made variable without changing the power of the lens.
Shape Factor and Aberration
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):

Click on the ‘Help’ menu item in the MFE to bring up the 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 (Merit
Function Editor) 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:
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 !Get starting curvatures (should already be at one extreme)


! c1 = CURV(frontsurf)
!Print out 3rd order aberrations vs. shape factor c2 = CURV(backsurf)
!
!Run on Shape.zmx
Inc = -(c2+c1)/N
!Editors LDE and MFE must be open for macro to work correctly
!
!
!Number of points to print: !Loop through shape factors:
N = 50 FOR S1, c1, -c2, Inc
! !Set curvature of frontsurf:
!Surfaces in Shape.zmx SetSurfaceProperty frontsurf, 2, S1
frontsurf = 3 UPDATE all
!Get back surface curvature:
backsurf = 4
S2 = CURV(backsurf)
!Rows in MFE:
Spha = 1 !Calculate the shape value:
Coma = 2 Shape = (S1+S2)/(S1-S2)
Asti = 3 !Extract the aberrations from the MFE:
Fcur = 4 SA = OPER(Spha,10)
! CO = OPER(Coma,10)
AS = OPER(Asti,10)
FC = OPER(Fcur,10)
!
Note that there are only 20 active PRINT Shape, " ",SA," ",CO," ",AS," ",FC
statements in this macro – 20 NEXT
statements are only comments.
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 our “ThirdOrd” macro is a text window:

Where the columns are determined


by our PRINT statement:
PRINT Shape, " ",SA," ",CO," ",AS," ",FC
To be Shape factor, Spherical
Aberration, Coma, Astigmatism, and
Field Curvature.
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):

Spherical & Coma vs. Shapefactor


100
Sph Abb
Coma
80

60

40
Aberration in
Waves
20

-20

-40
-1.5 -1 -0.5 0 0.5 1 1.5
Shape Factor
Shape Factor
Expanded View:
Spherical & Coma vs. Shapefactor

Sph Abb
20 Coma

15

10

-5

-10

-0.4 -0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4


Shape Factor

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):

This is known as a “Best Form” Singlet.


Example of Aberration Correction
We’ve seen that Spherical Aberration (S.A.) cannot be eliminated with
a singlet lens – but that, for a given power, the shape of the lens
controls to a great degree how much S.A. the singlet creates.

Running our macro on a


negative singlet, we also note
that a negative lens also has a

Aberration in Waves
‘best form’, but the S.A. is
negative whereas the S.A. for
a positive lens is positive.

Let’s try adding a negative lens to


the best form positive lens so as
to maintain positive power, but
with the form(s) adjusted to
(hopefully) elminate S.A.
Spherical Aberration Corrected Doublet
Let’s start with a pair of symmetrical lenses:
•A positive lens with K = 0.02 (f=50 mm)
•A negative lens with K = -0.01 (f = -100mm)
The result will be a combination with f ~ 100 mm. (We can scale the
lens after optimization to get an exact focal length.)

Close up view:
Here is the LDE for the starting system:

And here are the curvature solves on the second surface of each
element:
Here is the 3rd order aberrations plot.
Note that the negative lens (surfaces 4&5) has aberrations of the opposite sign
from the positive lens (surfaces 2&3), and that some aberration correction is
already taking place, even though we haven’t optimized it.

A second off-axis field has been added to allow Zemax to calculate the off-axis aberrations.
No chromatic aberrations are reported, as only one wavelength has been defined.
Here are the TRA plot and the Wavefront Map for the on-
axis field:
Here is the Merit Function Editor (MFE)

Notes:
• Only lines 1 & 2 (spherical and coma) are weighted. We are not trying to do
everything at once.
• Lines 10 & 16 give the shape factors of lens 1 and 2 respectively. Many calculations
are possible (with some awkwardness) in the MFE.
• The operand “DMFS” (Default Merit Function Start) at the end makes sure that, if I
add the default merit function (“Design – Sequential Merit Function”), it won’t
overwrite my own operands.
Optimize the doublet shapes by opening the “Local Optimization” dialog box
(“Tools-Design-Local Optimization”, or just the “Opt” tab at the top of the Zemax
window).

Before Optimization After Optimization

Lens shapes before Lens shapes after


optimization: optimization:
The MFE: Spherical and Coma
are now essentially zero:

As also reported by
the Seidel Plot:
While the TRA plot still shows some S.A., note the scale on the
diagram --- 0.1 µm. The wavelength for this system was set at
0.55 µm. A report of 1/5 wave TRA is completely meaningless, as
the ray trace assumptions are not valid at that scale.

This is verified by the MTF plot, which


shows no difference between the
system (on-axis) and a perfect lens:
Alternate Combination of Powers Formula
(How to add negative lenses and still have positive power)

u1 =0 u’1=u2
Assume K1, K2 are thin lenses: h1 h2
u’2
let n1  n1  n2  n2  1.0 d1
n1 n’2
n’1 = n2
f
K1 K2

By following a ray entering the system of two lenses parallel to


the axis, we were able to find the standard combination of
powers formula by eliminating all references to ray variables:
K  K1  K 2  K1K 2d1

We would like to develop an equivalent combination of


powers expression that is given in terms of the parallel input
ray, as this will be useful in designing systems for aberration
correction.
u1 =0 u’1=u2
h1 h2
u’2
Refract through first element: d1
u1  u1  h1 K1  u2  h1 K1 f
K1 K2
Since: u1  u2 , and u 1  0
Refract through second element:
h1
u2  u2  h2 K 2 but also u2     h1 K
f
Substituting for u2 , u2 : We could replace the two lenses with their
h1 K  h1 K1  h2 K 2 equivalent lens, then add a third lens and do
the same analysis getting:
h2 K total  K 
h3 h h
K 3  K1  2 K 2  3 K 3
 K  K1  K 2 h1 h1 h1
h1

And, by induction, h2 h3 hn
K  K1  K 2  K 3    K n
for n lenses: h1 h1 h1
h2 h3 hn
K  K1  K 2  K 3    K n
h1 h1 h1

This combination of powers formula gives us some insight into optical


design principles.
For example, in the Cooke Triplet design, the negative element is
positioned such that it subtracts less power from the combination than
it’s intrinsic power:
This allows the negative lens to cancel some of
the aberrations of the positive lenses, without
having too great an effect on the total power.

h1 h2

Remember that the ray heights referred to are those of a ray traced
into the system parallel to the axis – the ray that is used to define the
power of a combination of lenses.
Returning to our corrected doublet:
Suppose we select a range of wavelengths covering the
visible and see how the system behaves:
Looking at a stretched and zoomed section of the layout, we
see that the red, green, and blue wavelengths don’t focus at
the same distance:
This aberration is also shown in the “Chromatic focal Shift” analysis window
(“Analysis – Miscellaneous – Chromatic Focal Shift”), which shows ~ 1.5 mm
change in focal length over the visible.
Here is the Seidel (3rd order) aberration plot. Note that “Axial
Color” (another term for ‘chromatic focal shift’) is the largest
remaining aberration. There are both positive and negative
contributions, however – perhaps to correct for axial color we
need another degree of freedom.
Dispersion and Achromats

Zemax’s “Glass Map” (‘Analysis – Glass and Gradient Index – Glass Map’):
Dispersion

The index of refraction of glasses is traditionally taken at three


wavelengths (for use in the visible). These are the Fraunhofer lines for
hydrogen and helium ( a nearby line from mercury was used before
helium became widely available). These were convenient, because they
spanned the visible spectrum and could be duplicated with great
precision in any well-equipped laboratory.

1. F (hydrogen) ≈ 486nm The corresponding indices of refraction


2. d (helium) ≈ 588 nm (for a given glass type) at these
3. C (hydrogen)≈656 nm wavelengths are tradionally labeled:

1. nF = n(0.486µm) (blue)
2. nd = n(0.588µm) (green)
3. nC = n((0.656µm) (red)
Dispersion
In the “glass map”, the index of refraction is the index at the d line
(nd), and the ‘Abbe Number’ (often called the “V-number” by those
who aren’t sure how to pronounce “Abbe”) is:
nd  1
Vd 
nF  nC
The significance of this value follows from the calculation of the
chromatic variation of power for a thin lens.

Power at d: K d   nd  1  c1  c2    nd  1 C
Power at F:  nF  1 C
Power at C:  nC  1 C
K F  KC  nF  1 C   nC  1 C nF  nC 1
Consider:   
Kd  nd  1 C nd  1 Vd

Kd
Hence: K F  KC 
Vd
Dispersion
From the image equation, we have: .
Given that the
1 1 1 1 Object distances
  K F , and   KC are all the same:
l F lF lC lC
1 1 Kd
l F  lC  l d
   K F  KC 
l F lC Vd

So, the change in power is proportional to the power divided by the


Abbe number.
(It can also be shown that change in magnification with wavelength Kd
– transverse chromatic aberration – is also proportional to
Vd
Hence, chromatic aberration (longitudinal and transverse) will be
corrected (paraxially) if we use two lenses whos ratios sum to zero:

K1 K 2
 0 where the K’s are implicitly
V1 V2 calculated at the d wavelength.
Achromats

For two thin lenses in contact: K  K1  K 2

K1 K The lenses
The condition that the combination have zero
 2 chromatic focal
focal shift between the F and C wavelengths is: V1 V2 shifts cancel each
other.

Solving these two equations simultaneously, we


get the construction equations for an Achromat:

V1K V2K
K1  and K2  
V1  V2 V1  V2

Obviously, this only works if the lenses are made of


glasses with significantly different Abbe Numbers.

You might also like