Advanced Optical Design Using Zemax
Advanced Optical Design Using Zemax
Course Instructors:
Neil Barrett
Leo Chen
e-mail: neil.barrett@optima-research.com
leo.chen@optima-research.com
support@optima-research.com
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
optiiro^^
research
COURSE OVERVIEW
Many of the more advanced features and analysis are only available in the EE
edition of ZEMAX.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlmaY-*
research
SUMMARY OF SLIDES
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optima %_ research
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д* research
SUMMARY OF SLIDES (continued)
7- 33 TOLERANCiNG WITH ZEMAX
8- 1TOLERANCE OPERANDS
8- 49 COMPENSATORS
9- 1TOLERANCING A SINGLET 9-19
USER DEFINED TOLERANCES 9-29
TOLERANCiNG A COOKE TRIPLET 9-51
SCRIPTED TOLERANCING
10-1 TOLERANCING IN DOUBLE PASS 10-16
TOLERANCING ZOOM SYSTEMS 10-24 SPEEDING UP
TOLERANCING 10-42 OPTIMIZING FOR
MANUFACTURABILITY 10-47 ALIGNMENT ANALYSIS
10-60 ALIGNMENT ANALYSIS AND ZERNIKE SURFACES
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
optima'4*^
research
COURSE PACE
This is an advanced course. As such, the pace of this course is rather rapid in
order to allow us to cover a wealth of material over the five days that this course
comprises.
As we proceed through the ZEMAX examples throughout this week, you may find
that you are falling behind at certain points. If this occurs, feel free to stop me so I
can help you get caught up.
Alternately, you will find that there are “catch up” tiles at various points in most of
the exercises. Whenever you see a comment like the following:
Need to catch up? Open sc_singiet1
at the bottom of a page in the notes, you can open the file listed to get caught up.
All of the files are stored in the \ZEMAX\Samples\Short course directory.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 8 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima т research
GOOD BOOKS
optima”™
research
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
The ideal arrangement for this course is for two people to share a
computer
Because we’re too mean to buy more PCs?
• No!
The exercises will work best if two people work together
• one doing data entry
• the other following Instructions from the tutor, and doing error-checking
We know from prior experience that users working alone find the
exercises more difficult than those working in pairs
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
\y
optima " *"■
research
www.optima-research.com/forum
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ •*e
research
ADMINISTRATION
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optica! Design Using ZEMAX
optima X research
COURSE NOTES
This book of notes contains material for about 5 days of lecture. Material will be
skipped or expanded upon as time allows.
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X researc^
7
WHAT IS ZEMAX?
ZEMAX is a ions design program that uses ray tracing to mode! refractive,
reflective, and diffractive sequential and non-sequentiai optical systems.
ZEMAX uses a "surface" model for sequentia! ray tracing, and a "component” or
solid object model for non-sequentia! ray tracing. The non-sequentiai
component (NSC) capability is only available in ZEMAX-EE.
Sequential and non-sequentia! ray tracing are fundamentally different, and there
are advantages and disadvantages to each. ZEMAX may be used in any of three
ways:
# Purely sequential
о For classical lens design, and most imaging systems.
# Hybrid sequentiai/non-sequentiai (aka NSC with ports)
о For systems with significant sequential portions, and some non-sequentia!
components (like prisms or pipes), о This mode uses
"ports" to get in and out of NSC groups.
# Purely non-sequentiai (aka NSC without ports)
о For illumination, scattering, and stray light analysis. Launch the rays and see
where they go!
о This mode does not use ports.
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optima xresearch
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optica! Design Using ZEMAX
Advanced
\/
Optical Design Using ZEMAX
optima^ ™
research
Most optical systems, and virtually all imaging systems, are well described by the
sequential surface mode!, it is fast, efficient, and lends itself to optimization and
detailed analysis.
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Liang ZEMAX
optimaVresearch
/''X
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^"*"®
research
Non-sequentiai optical systems include objects such as light pipes, roofed prisms,
Sens arrays, beams that overfill optics, optics that rely on TiR for proper operation,
beamsplitters, and many more. These systems are generally non-imaging; although
some non-sequential prism systems are imaging.
• Open the file: Samples > Non-sequentiat > Miscellaneous > Demo 1,zmx
optima Xresearch
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirra^search
ZEMAX considers:
• Exact ray paths
• Refraction & reflection
• OPD, phase
• Aberrations, image formation
• Polarization
• Transmission and absorption of coatings
• Scattering
• Statistical ray splitting
ZEMAX ignores:
• In sequential ray tracing only, whether or not a ray path is physically realizable
о Examples: negative edge thicknesses, virtual propagation
* Diffraction from tens edges {except when using Physical Optics Propagation)
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced
optima TYesearch
Optical Design Using ZEMAX
x
WHAT CONSTITUTES A LENS?
The following data must be provided by the user for ZEMAX to have a
complete sequential lens description:
* The number of surfaces
• The relevant data for each surface
• The system aperture
• The wavelengths
* The field points
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optica! Design Using ZEMAX
optimV?esearch
SURFACE DATA
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced
т глПЙ
Optical Design Using ZEMAX
optima X1research
optin A,
«» л .
esear SYSTEM APERTURE TYPES
ch
Entrance Pupil Diameter:
* Direct specification of the size of the entrance pupil.
Image Space F/#
* This is the paraxial image space F/# at infinite conjugates. Only useful for systems
with an infinite object distance.
Object Space N. A.
* Useful for keeping the N. A. constant, no matter where the entrance pupil is.
Float by stop size
* EPD is determined by the magnification between the stop surface and the entrance
pupil.
Paraxial working F/#
# The F/# at the given conjugates, ignoring aberrations
Object Cone Angle
• The half-angle of the marginal ray, may exceed 90 degrees
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*™
research
FIELD POINTS
ZEMAX always uses point sources for defining field or object size:
♦ Extended sources can also be modeled once the point sources
are defined.
* ZEMAX allows definition of up to 12 field points per configuration.
.......~. . . ......
№
Copyright© 200? ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optimaVfl
researc
h
FIELD POINTS
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimal-»
research
WAVELENGTHS
■re.».::
055 DUMB -r :"
V1
J- ■! jasssooSjo
::
JasisSoaob
|аб5шж»
■Сл..1
}0_'07
:
' г. . .
ЙЙ1МШ5111 штат 'г ж'
mmmtm
gfftlllllllB. 'Г '21'
■
■ :ГГ:;а2
шттташшштмтм0шм 'рЙШга
т т........................................- ..........................
......... !1; tffijiiills...... Л
_ _
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optica! Design Using ZEMAX
optirmV*researc
h
/" X
WAVELENGTHS
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opt I
ma^research
SURFACE DATA
Most surface data is entered in the Lens Data Editor (LDE) and the Extra Data
Editor (EDE).
' -.i" 'f-sid L M'I
ОеыЗБСиэсюоесоГ
&___^
-.•! .J.x. HI
I
.• • к&т-.ййьиа • • ••\.Сййн££, .on p-z ■ | . .c««££. uttpA« .kot:-Us ай. 6 . .. J iM
■ад
iSISIT' ■ :: .-2.553,832
;■
:: *'1Э.£ L. ОДДО8 S4.7P ~$3. .3 £*05434300
si i '
ЕНЬ .•.•Sf.imrtBjrrf ■ :V ::
Copyright @ 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
optima ^research
GLASS CATALOGS
Glass data can be input into ZEMAX using a variety of dispersion models.
A comprehensive thermal mode! is also supported.
Copyright© 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
■.
optima X research
GLASS CATALOGS
Tr-iinimibsion D-jt.j
i n;.v.'.- ПГ.Г-!7ГЛРП
optima ^research
GLASS CATALOGS
1
L.:,--UuzJ лГДСД
< :.иЛ:."" ".Vj:. . . . . . -■
■' : !.'i ■■ ..................
1
вшт. )ГгйшГ''' AT
: Г Май ЩШжж . i::-
j.foTtJOODGQ
. 5. jaooDora™
jaodoKffi ■
i: :■■■■ .v .......""..........:
!
" :■■■■.i
............ ..... ........ V 7Г
..... ..............................."3"
:
' \ "7....=«;?_•.
JV : ....^■*=.= i ..
- ■■ ' -■«.№«_ •■-..У- :!■■■ ;
| ; "П : *i -■*
Copyright© 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlm»y«Mareh
GLASS CATALOGS
You can use any of the glasses in the glass catalogs when modeling your optical
systems in ZEMAX. You must tell ZEMAX which catalogs you want to use for each
lens file.
This done via the System menu > General dialog > Glass Catalogs tab.
Copyright© 200? ZEMAX Development Corporation 23 Advanced Optica! Design Using ZEMAX
optima Г research
J* \
VARIABLE PARAMETERS
MERIT FUNCTIONS
Merit functions define for ZEMAX how good a system is. The term "merit function”
applies to both the collection of design goals and boundary constraints and the
numerical summary of those calculations.
ZEMAX uses the merit function value to decide which of two systems is superior
during optimization.
We wii! devote a great deal of the rest of this course to this subject.
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima-f ^
research
ZEMAX INTERFACE
The user interface is the result of many years of effort to make optical design
straightforward, easy, fast, and even fun I
These notes will provide just a brief overview of the interface,
A little more detail will be provided on getting data out of ZEMAX, since this seems
to be more puzzling to most users than using ZEMAX itself.
The best way to Seam the interface is just to use the program, as we will in the
remainder of the course!
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
optima X research
The default display shows the main menu bar, the button bar, the lens data editor
(LDE) and the status bar. A modified interface is available for NSC systems.
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ **«
research
TYPES OF WINDOWS
Copyright ©2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima д research
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advancer) Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
ZEMAX EDITORS
optima X research
When a certain analysis is requested, such as selecting “2D Layout" from the main
menu bar, the output will be sent to a window.
Some features (such as a layout) support only graphs, some support only text (such
as a listing of the Seidel aberration coefficients) and some support both (such as the
ray fan piot).
Sf a feature supports both text and graphical output, ZEMAX always gives you the
graphic first, and then the text will be displayed if you click on “Text” in the menu
bar.
When a feature is selected, ZEMAX actually makes a temporary copy of the lens
first This allows you to make other selections or edits while the computation is
running. Note ZEMAX displays an hour glass when the cursor is placed on "active”
windows.
Copyright © 2007 ZEMAX Development Corporation 32 Advancer) Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced
rirnsN'*'**
Optical Design Using ZEMAX
optima Д research
Most, but not ali graphics plots can also provide text information.
'.j-i-sLc ^sL:s;* fc-rA
1.ЬWч Ч-к!i'I:K !■■ !■ 'V'dr V ■■ f-i cor■■
. . ............. .... •....... .
^ *'*
■. я азеtg THIBET. :'••'• ft cmi COCKE- ТВДЧЛгТ. ... ■ ■
: TiyTflL LSWiOTHJ ' ЫИ. i76V% Ш **■
5ш»те4"'5идзЕ:- ■ ■ ■ ■ ■ ■
Copyright © 200? ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
opt s se arc h
To view the text (numericai) information, simply click on the “Text" menu item.
■ |и {y’m: ■# ;
i
.•' г.,-а
i' ‘ ‘ -
•••••;?
,е *...
п'
i....... ......................................•• -,4
I •■•
Jtor. G, 4000 . O-.OSOO irai,' •
.Tw*g« : ...
S^afciai ггйфяа&егу «hit-# • jfc*«t «.yel** • ;
t -6 HBdulatr'icw ' iK.. tr«ls£lve -to' 1:0-''
t.--S 4j l. :■ ■ ■ ^
ш'-Ч i
• Fields ••••8<0Q ••£*£•••......... ....................... ...................
i В$н8А14.лД.. .. ■ ttangft&fclaX. - £д$±ЗД-&1
; ^ .3 : ! 1 i
i 0.000000 . .:•• I s OOOOOO 1.000000
■;*■ •:• '5:000006 :•:■ : o.mtzi
10,05000$ • '' 0.93*354 • •• ••• б'.9Ш$4'
iS.CBOOOO О.ОШ96 •:•• • '• :0,00989$
в.ш ••.••••••20g-*24. ...........................49:: Z0.000000 0,03136? 0.&3I3S?
: '. .SPftHfiL PR60U6NC*-' IK'.CVCLSS ВДЦДОГЗД . •.•• .. 25.000000:: <з,?б$о$4- :•'. : O.mCrM
:эо;оооооо": •."'•'•0:- .:-'0.'$030$0
; •• ••• •• • • •■ • . : • :PDLYEMBOHHT--EC-ПТРРИМТЕО» HTF S9'30SO'•'•:•
Я SIMPLE CdC3Ke. lSIPi^v.-. a.meia O.S17SIO
ШТД РОа ^гЧ1И№. ТО-&<6БВв-&/*■■■■■ ; 40.000008 . .• •.O. S41604-..-. Q „*4*604
syra=RCE! *№&£. 45.000.000:': 0.466T06 .••••0-.4.eS7OS
: SO.000030 :••••': .0сЭ9$00$--'- . 0i,395G»5'
••
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2QG7 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X re search
ZEMAX uses numerous dialog boxes to prompt the user for more information, for
defining additional data such as the system aperture data, and for providing a
consistent interface to the various tools and features of the program.
If you are familiar with Windows programs in general, the dialog boxes will feel very
natural and easy to use.
Copyright © 2007 ZEMAX Devsiopment Corporation 37 Advanced Optical Design Using ZEMAX
optima X research
DIALOG BOXES
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^
research
Most graphic and text windows in ZEMAX have “settings” which define the
custom options for that window. Each of these settings boxes typicaiiy have 6
buttons:
• OK: Accept these settings, Exit, and update the window,
• Cancei: Go back to my last settings; Exit, and do not update the window
• Save: Accept these settings as the default for this lens, Exit, and update the window
о The new settings also become the new default for any lenses that have no settings
of their own yet,
• Load: Reload my last previously saved settings, Exit, and update file window.
• Reset: Go back to the "factory default” settings, and return to this dialog box.
• Help: Show the page in the help that corresponds to this feature.
N 1 м1Г Swivim Sfilinv>
■сяшйа-- V.Vf.Wi-;--.
M£. i J _ JUU. _ ■> r.;
■" r ij ■ ■. ■: lleiii! ■ inrl .'-- ....T
:-.w’■?:■ ior i
...-i
i. .4r.. 1 Ч':-:.-. ■■ .. .! ..I*.*:____
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
optima X research
уX
THE MENU CONCEPT
The main ZEMAX menu bar is divided up into general categories of operations:
(шшшштшЕ
j ; л»! вд.-ВШ.Ша!
File
• The usual save, save as, new, etc...
Editors
• Activates the various ZEMAX editors.
System
• Access to the dialog boxes that control data for the system as a whole, like fields,
wavelengths, etc. ..anything not associate with a particular surface.
Analysis
• Graphic and text computations that are computed based upon the lens data, but
don’t change the Sens data
Continued....
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
Tools
# Features that might change the Sens data, tike optimization,
tolerancing... Reports
* Summaries of the system
Macros
* Runs ZPL macros
Extensions
• Runs ZEMAX Extensions
Window
• A list of alt open windows for quick access
Help
• Access to the online help system
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
optima'^"’
research
By far the easiest way to get data out of ZEMAX and into another application is via
the clipboard.
ZEMAX supports easy cutting and pasting of single cells, or entire rows of editor
data, using the normal Ctrl-C and Ctri-V commands.
Graphics and text windows are copied to the clipboard using the Window, copy
clipboard menu option. The notes for this course were made using PowerPoint with
graphics cut and paste from ZEMAX and other programs.
Copyright © 2007 ZEMAX Development Corporation 43 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
One common application is to take diffraction image data out of ZEMAX and
perform post processing in another application. This is easier than ever with the
clipboard. Here is diffraction image analysis data copied to the clipboard and pasted
into Excel, and then plotted in Excel.
opti
ma^research
ZEMAX supports DXF, IGES, STEP, SAT and STL formats for exporting lens
mechanical data (see Tools > Export Data menu)
• Shape, size, position of tens elements
DXF:
• The support for DXF is fairly “weak" because DXF is a file format, not a
standard.
• Aspheric surface shapes approximated, sometimes crudely
• DXF export now considered obsolete given otter options now available
IGES, STEP, SAT, STL:
• Genuine standards
• True 3D solids with edges
• Exported as NURBS entities
• Rays can exported as a separate layer
• Apertures also exported
• Can optionally be exported as lines
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optiima^research
SHORTCUTS
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
optima ^research
ZEMAX has a concept of a “session*. A session consists of a lens file, ait the
various graphics and text windows, editors, and their positions and sizes on the
screen, and ail the settings for each and every window.
All this data can be saved at once in a session file, and if reopened, the entire
ZEMAX “session" is restored so work may resume where it was last stopped.
Try a simple session save/open now.
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima researc
] h
ZEMAX DIAGNOSTICS
optima***®^
research
TANGENTIAL FANS
The tangential fan shows a series of rays starting at each field point incident on the
Y axis of the pupil.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
SAGITTAL FANS
The sagittal fan shows a series of rays coming from each object or field point which
fall along the X axis of the pupil.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
optir jsearch
OPD is an abbreviation for Optical Path Difference, The ’’Difference 1' implies that
the wavefront aberration is referenced to the Chief ray. The OPD is the difference
between the real wavefront phase and the chief ray centered reference sphere
wavefront.
An extremely useful and widely used diagnostic tool is the "OPD Plot".
The OPD Plot is simply a graph of the OPD as a function of the normalized pupil
coordinate.
Since the pupil is two dimensional, usually two "fans” are presented; the "tangential"
fan and the "sagittal” fan. The word fan comes from the shape the rays form as they
fill the entrance pupil.
Copyright© 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
О PD FAN PLOTS
The OPD fans can be opened via the Analysis menu or the “Opd“ button on the
button bar.
i Tocfe/Reports Macros Ыйедот» v
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
\x
optima^™
research
This is an OPD fan generated by ZEMAX. Notice that there are two fans, one
tangential and one sagittal for each field point Additionally, each plot contains
separate fans for each design wavelength.
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'*»*1
research
Using the settings box, you can look at each field and/or wavelength individually.
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima “ ™
research
/*‘4,
SAMPLE WAVEFRONT MAP
A Wavefront Map is a 3D hidden line piot showing the entire pupil. Wavefront phase
error is shown as an increasing Z coordinate.__________________
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Deveiopment Corporation 56 Advanced Optica! Design Using ZEMAX
Advanced
optima research
Optical Design Using ZEMAX
WAVEFRONT MAP
The wavefront map can be opened using the Analysis menu or a Wavefront Map
(Wfm) button can be put on the button bar,
4* ■' mi \ i%:Oi'l^.'A?rVS(MN;rli-4^v*{&iviitiii№?
iij
[ . bJefK»№ ..-
*3 Layout Wi'ite -Ш!р
ЗрсШадгда*
fit ИГР'
Eixtrcted
ErtEigy
Sltarrtinattei
Snags Analysts v m
ESenjIar Analysis 1 ■ ■ж.гз&ьшягщ v\
MfcteSlanerws ; -3.«M«SB4S4
CaioiatiGns 1 Infinity
Glass and-Sradsent Irite
L№»rsd PlM felareston
Coabrsgs’:
Physical Optics
55
Copyright ©2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
optimaV^
research
WAVEFRONT MAP
The wavefront map describes the wavefront at the exit pupil for a selected wavelength and
field position, which is selected on the settings dialog. Additional display options are also
available.
-
■hi« m . ..т: 4
F Щ
1
T~ ||
--
Ztt
llfe^ FsteSt
i J
■j?* ■■■(■■ ■■■
ф, ■.* . !l.. ly
■. ?■ . ..
; 1-.»: ■" >■ Ima
e" A i
i
ge::
i ■................I
Ilf
Copyright ©2007 ZEMAX Deveiopment Corporation 56 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim^Vresearc
h
Ray Fan Plots are very similar to OPD plots. However, unlike OPD plots, they are
not a complete description of the aberration.
• This is because ray aberrations are vectors, while OPD is a scalar,
о The tangential fan is a plot of ey vs. Py, о The sagittal fan is a
plot of sx vs. Px.
Note that it is not always a complete description, because there is no data shown
for sY as a function of Px, and no data for ex as a function of Py. This is only
important for some non-symmetric systems.
ZEMAX does optionally plot the "other" vector component.
Copyright© 2007 ZEMAX Development Corporation 57 Advanced Optical Design Using ZEMAX
optima X research
The ray fan plot can be opened using the Analysis menu or the "Ray" button on the
button bar. 3? 't CfsProgr.af-rt ЕРмШМХШт
AtMpsi:. _
Taafe- ftspotts: .наш- -\
Wrawlathis
layout
SpotDiagrams: Shift+Ctr
WTt=- . Ptpl АЬЙГС'ЙЗРИ
> :
riSFo
VJavsfrert
Surfaca >? "Tctflrdtiy Гf
ВД5 ^£ ■■ Vri!
gwScletS Energy >I sa
Image
ftnatysis :
psjcufa?-
Ап.#/5В
Aberration Coaffetwfe
CakuSatioris
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
°ptima/4esearch
The ray fan plof is similar to the OPD plot, but the ray fan shows the aberration
derivative, rather than the direct aberration. Ray aberrations are measured at the
image surface or any other surface.
optimaVresearch
pU-' ■I.:.*
.'-7
■T
iryw;i4dist
■-*» хуаюа.-:
—£j.....................................
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Spot diagrams are plots of ray intercepts at a specified surface. For each ray, a dot
or cross is made to indicate where the ray landed.
The spot diagram is the most intuitive indicator of the actual appearance of the
images formed. There are limitations to how realistic the spot diagram images are,
primarily because of the effects of diffraction. The effects of diffraction will be
covered later.
The view of the spot diagram is looking towards the object, with the x-axis positive
to the right and у positive up.
A spot diagram is usually drawn for each field position, with a separate reference
point for each field independently.
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
optimaV/esearch
SPOT DIAGRAMS
Spot diagrams are opened using the Analysis menu. Optionally, button bar entries
are available for each of the types of spot diagrams.
Standard i
MTF Through Foots, i Fii
■PSF Field l Matte
Wavefront
S'Jrfate
RMS
EfrcocSaO £ б.шт-su
Ermqy ■ :
; V?:
lifuratratJon: ...: •
'■IffiSiae'ArdyS ► ШЯЯЯША я МЙПН1
S-'
Bsotiiartftnafjr зге 0304 я
ss-
Gtess erci Огж$иЙгйех
Copyright © 2007 ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV'C
research
SPOT DIAGRAMS
The appearance of spot diagrams is influenced by the selection of rays which are
traced. Unlike fan plots, which only trace rays along a one dimensional line in the
pupil, spot diagrams trace a full pupil of rays.
Dithered ray pattern Hexapolar ray pattern
'ШШШ.................................... тщлт * щлт
* * t om Т ■«.мяв. % 7* *7 *
*R * i* % 2 li
й "л**
• 1% ... ** *
ч
j' * ***/. * I' *, V*
SWJt
FgU). * i
85 иМ 1 ЬШ №Ш!
ШЖ-i_______£___________иш ‘ ашт_____________________________ -itf-j_________a!__________-------------------------------------- --------------
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optica! Design Using ZEMAX
\/
optimaxT
research
SPOT DIAGRAMS
The ray pattern, reference point, and several other options are available on the
Settings dialog box. The options are similar for the different spot diagram types. Ray
distributions can be checked at any surface. Some options can only be used with
ZEMAX-EE.
ш?*яш «»я«вр * **mm
v * «.«ae
Copyright © 2007 ZEMAX Development Corporation 65 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
^V
optima ^ ***research
Copyright © 2007 ZEMAX Development Corporation 65 Advanced Optica! Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 67 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima “ rc
research
LAYOUTS
There are 2 layout plots specifically for NSC systems not using ports:
• NSC 3D Layout: 3D wire frame type, but only shows NSC objects and sources.
• NSC Shaded Model: Fuli color solid shaded model
о There are additional controls for data analysis on these plots.
Copyright© 2007 ZEMAX Development Corporation 67 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 70 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*™
research
The Miscellaneous item on the Analysis menu lists several important analysis tools.
Each of these toots can also be set as a button bar item.
-Help
....
T&a
; JS -V
v:.
Ш
| 2Q1Z5132.41£S2:?3 :v 4.ЭЕ040В
■ MCuHtfDfct:.- "
"AberraHafi Distortion .■FooipfWi Diagram
CoefficiertS; " ■ tarigffiudiiiat-Abenraitipnr
;<jfcufeEfons lateral Color
Glass aid- Gratfcrt Y-¥bar Drawing JChroraaticirocat Shift-
index :.-Шйвгзв1Яа ■Эу&еф SiMitary Gfaprfc Surface -
Магвайда Analysts
Coatings
iPfiys^tGpfe..
Copyright © 2007 ZEMAX Development Corporation 69 Advanced Optical Design Using ZEMAX
\. y
optima^™
research
These plots show the field curvature and distortion of the optical system. Both are
plotted against the normalized field height. The contribution at each wavelength is
calculated separately.
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
GRID DISTORTION
The “grid distortion” plot shows distortion as generalized for non-radialiy symmetric
systems. Conventional "paraxial” distortion is defined by:
The reference ray height at the image surface is determined by tracing a ray from a
very small field height (parabasal ray). The height of this ray is then scaled by the
system magnification to cover all parts of the field of view.
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optical Design Using ZEMAX
optima X research
GRID DISTORTION
Once the ideal and real coordinates are determined, the pairs can be plotted on a
X i& 1- 3L La
Ss X c : » it cE £3
) IT X к ;
П :) X X
i*
•м (X Г r tu. ~~ X
X j_, !“5 rt "
*i З sr*“
")E r* X* *"* f» "X
h
LX h- hH !# 2L
4 X
X <x JL. Ци UJ _» Л 5
r*
** X 1*; SJ i_! X X %
X* t ;) H
IA JT
V
К
s
: si
X 5 Г XJt P* ■
....................................................СКШ DISTORTION................................................................
in mt итак кwe там LENS
якдшыг
SCflLEi UHt. HRmSNBTHt вТБвТЯ Д»
Copyright © 2007 ZEMAX Development Corporation 73 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 74 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
FOOTPRINT DIAGRAMS
optima research
/'■
DISPERSION, GLASS MAPS
Copyright © 2007 ZEMAX Development Corporation 75 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
’V
MTF PLOTS
Copyright © 200T ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
optima^
research
MTF SAMPLES
Here are the various ways to display diffraction based MTF; other plots exist for
Copyright © 2007 ZEMAX Development Corporation 77 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
V/
optima ^research
$j■ .'-.'..VS.-i-i-f!:
Щ
* £7,514
7
5. Physical-oaes* /.r&Swii&y
Copyright © 2007 ZEMAX Development Corporation 77 Advanced Optics! Design Using ZEMAX
optima's*/™
research
PSF SAMPLES
PSFs can be shown as gray scale, false color, contour, or isometric plots.
Copyright © 2007 ZEMAX Development Corporation 79 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opti ma^jresea rch
RMS plots conveniently show RMS wavefront, spot radius, spot x, spot y, or
Strehl ratio as a function of either field, focal shift, or wavelength.
optima^ research
ENERGY CALCULATIONS
РЙЯНГЙЙЕКУ images-
Analysis.- Ш-xutar
Analysis №cel!
anecus:.- Abettstten-
Coeffreignts
CafculaUdns
Copyright © 2007 ZEMAX Development Corporation 81 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 82 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlma^rasearc
h
ENCIRCLED ENERGY
Encircled energy plots are computed via the integration of the PSF
plot; the data is the fraction of energy “encircled” within a given radius
as compared to the entire
optirr^^esearch
IMAGE ANALYSIS
ZEMAX models extended sources and makes both geometric and diffraction based
predictions of the appearance of these sources when imaged through the lens.
V s'".,..: tf- ' .Si w*- ■■ i i ■ l : ■ :■ I .. !.-i
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima jQ-esearch
BITMAP IMAGE ANALYSIS
The Bitmap !A uses standard Windows 24 bit coior BMP Ше$ as sources; then
creates a coior image of the detected scene. This is very useful for simulating the
quality and appearance of the detected image.
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optica! Design Using ZEMAX
optim^esearch
This plot shows a color or contour map of the surface height (sag) or phase (if the
surface is a grating, hologram, or other diffractive optic).
. . .мим* m з.эете-ав!
HiHiiHH
111111
1111 i
1473 _eai
11 ^ Ш^*13йС-аад
Ш 1 еа**мв
Щ ~; , оддоое
IMUIH, LW
са РШОР
Затея^'ккшыов.
§3т*&|'яетв а* п втял еюь яюн«-4*. моим кг*
»ч,г. taaaaafe_______________________ «. * * « юлж&л,
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 86 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^re
researc
h
UNIVERSAL PLOT
The universal plot will show any of the roughly 300 optimization operands as a
function of any parameter in the iens system. Here is a piot of the merit function as
a whole as a function of back focus. Universal plot formats can be saved for reuse.
ШШ
iSfpyt: Lap] Ш|
Fans
Spt^.'iOragr
ams
№.
PSP-
Wavefront:'
Surface ; - ■■■ v
Щ.
Eihsr '-495.7$a43£l$*? V
cfr .у'ЮЙНМШ1»
lljurbir^& » 2Q^.-2?i924^S2?3
n Image Arrays ШшшжЩ
0к)си1? 4
*ia.3$s^ect304
к'АпЫу^
№scelbneous:.
Abakan .CocfftC-ierits
Ч2Л
Cafculabons ткгскмева 2N тлзжттл m SUSFRCS Ь
: Glass and Grarfeent Incfex f? КИМ COOKS ШШ,
Copyright ©2007 ZEMAX Development Corporation 85 Advanced Optical Design Using ZEMAX
resear
ch
INTERNAL TRANSMITTANCE
Plots internal transmittance (ignores Fresnel and coating R&T effects) as a function
Copyright © 2007 ZEMAX Development Corporation 87 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 88 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^
research
POLARIZATION PLOTS
\/
optima ^rc
research
COATING TRANSMISSION
Copyright © 2007 ZEMAX Development Corporation 89 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 90 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\У
optima research
/ ""
REPORT GRAPHICS
The report graphics display will show any 4 or 6 ZEMAX graphics on a single page,
to create archival reports or performance summaries. Defined parameters may be
saved for future use.
Copyright © 2007 ZEMAX Development Corporation 89 Advanced Optical Design Using ZEMAX
optimaN^
research
SLIDER TOOL
The slider tool allows nearly continuous interactive control over almost any design
parameter (radius, thickness, parameter, extra data, etc..) while updating any 1 or
all windows in (nearly) real time.
This is easier to do than describe;
* Open SCmSLIDER.ZMX.
* Open a 3D Layout and Spot Diagram
* Open the slider control (Tools > Miscellaneous > Slider)
о set the data to surface 3, parameter 2 (Decenter Y), range -2,0 to 2,0,
* Select Window; Ali
* Cfick on Animate.
You can also use the slider interactively, and optionally choose to retain the new
settings for the modified parameter.
To modify multiple parameters, use multiple Slider controls.
Copyright © 2007 ZEMAX Development Corporation 91 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 2 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima)^research
SOLVES
Copyright© 2007 ZEMAX Development Corporation 3 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optim researc
a h
/ MARGINAL RAY ANGLE OR F/#
The marginal ray angle determines the F/#, since F/# is by definition
1
F «----------
2NA
where
NA - nsin0m
where 0m is the marginal ray angle to the Z axis. Note that if the lens system is slow
(F is big, say F/10 or slower) then the FI# goes as
20
2nsin8m
optima X
research
/ MARGINAL RAY HEIGHT
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 6 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaVw»
researc
h
CHIEF RAY HEIGHT
The CRH solve is used to locate a pupil plane in much the same way that the MRH
solve locates an image plane.
Applications:
• Fixing a reference plane to be at a pupil.
* Locating the entrance, exit pupiis
PUPIL POSITION
This thickness solve will place the next surface at the pupil position for the optical
space following refraction from the current surface. The pupil position is determined
by tracing real, differential rays about the central field chief ray. The method used to
compute the pupil position is more accurate than using the Chief ray height solve
(which is based on paraxial ray tracing) to locate the pupil.
Copyright ©2007 ZEMAX Development Corporation 5 Advanced Optica! Design Using ZEMAX
optima^™
research
EDGE THICKNESS
The edge thickness solve determines the spacing between two surfaces such that
the distance between the surfaces at some radial aperture is fixed to a specified
value.
ZEMAX allows user to define the radial aperture, or the current semi-diameter may
be used. User specifies the desired edge thickness.
Applications:
• Maintaining a minimum edge thickness to a lens instead of using a useless thickness
variable.
Copyright© 2007 ZEMAX Development Corporation 7 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
timaVra
optima research
PICK UP SOLVES
Pickup solves are extremely useful solves which are often alien to lens designers
who have not thought about their utility.
A pickup "slaves” one value to another value in the iens data editor (there are also
such solves in the extra data editor and multi-configuration editor).
ZEMAX allows scaling by a factor (often +1 or -1, but any number is allowed)
Applications:
• Double pass systems
• Off-axis/folded systems (i.e. systems that utilize coordinate breaks)
• Designing systems which use multiple identical elements
о Endoscopes, relay lenses
• Meeting boundary constraints
Copyright © 200? ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
optima X research
POSITION SOLVES
The position solve fixes the distance between two surfaces by adjusting the last
thickness prior to the second surface.
Example:
• Suppose you want surface 9 to be 120 mm from surface 3. Place a position solve on the
thickness of surface 8, with a reference surface of 3 and a thickness of 120. Surface 8
will dynamically adjust to hold the relative location of surface 9 with respect to surface 3.
ZPL SOLVES
This is a user-defined solve that can be placed on any parameter. The solve is
defined by a ZPL macro, hence the solve can have a complex relationship with any
previous parameter or parameters.
Copyright© 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima x
research
FUNDAMENTALS OF OPTIMIZATION
optima “
research
OPTIMIZATION
Overview:
• Local vs. Global Optimization
• Damped Least Squares
• Orthogonal Descent
• How ZEMAX deals with optimization
• Default Merit Functions
• Operands
• Boundary constraints
• Identifying the degrees of freedom
• Determining the goais
• Examples
Copyright ©2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
IT raa
optima jf research
Local optimization:
* Find the best design that can be reached from a given starting point
о Damped Least Squares (DLS) for almost aii problems о
Orthogonal Descent (OD) for noisy or stagnating systems Global
optimization:
* Find the best design, period.
о Gtobai Search at the start of the design process о Hammer for
exhaustive improvement of a promising design
Copyright Ф 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
optima
^research
MERIT FUNCTION
No matter which algorithm is used, the merit function is defined in the same
way.
2
Copyright ©2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
MERIT FUNCTION
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
DLS: DERIVATIVES
Copyright ©2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optima
^research
ORTHOGONAL DESCENT
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
7
ORTHOGONAL DESCENT
The OD algorithm does not compute numerical derivatives of the merit function. For
systems with inherently noisy merit functions, such as non-sequentiat systems, OD
will usually outperform DIS.
But DLS is ALWAYS the one to start with., .try OD only if DLS gets stuck!
Copyright © 200T ZEMAX Development Corporation 17 Advanced Optica! Design Using ZEMAX
optima “
■’**=
research
OD: METHOD
OD starts with just one variable, all others fixed, and moves along in one-
dimensional parameter space until it finds a minimum.
It then moves along the second variable, with the first one set at its optimum and
the others set at their starting values, until it finds the minimum of the merit function
using that variable.
it then steps along every variable in turn in this manner.
it then looks for relationships between the variables and re-defines them -
orthonormaiization - such that each new variable is independent of the others.
This process continues until the MF shows no further improvement.
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optima ^research
............._EHI.............; IU
Copyright © 2007 ZEMAX Development Corporation 19
optima Д research
DEFAULT MERIT FUNCTIONS
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinraVC
researc
h
DEFAULT MERIT FUNCTIONS
ZEMAX uses "physically significant" merit functions.
Most older codes use IMF's based upon experience Use rules of
thumb, classical approaches Example:
• Correct 0.7 zone to balance spherical and focus
• Correct axial color and lateral color
• Trace edge rays to control coma
These approaches are O.K...
Ultimately we care about RMS spot radius and RMS wavefront error
Copyright© 2007 ZEMAX Development Corporation 21 Advanced Optical Design Using ZEMAX
\y
optima^ ™research
PUPIL SAMPLING
in order to evaluate default merit functions, ZEMAX needs to "sample” the pupil with
a number of rays. To optimize efficiently, the number of rays needs to be as small
as possible. In order for the results to be accurate, however, the rays chosen need
to represent/characterize all rays that go through the pupil.
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
RINGS AND ARMS
Here is what the pupil sampling looks like for 3 rings, 6 arms, which is the default.
ZEMAX traces only half the pupil if LR symmetry exists, and only one arm if circular
symmetry exists.
3 rings generally adequate for most optical designs Use 4 or more rings
for aspheric/diffractive/more highly balanced designs • n rings gives exact
control of aberrations out to order
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
optimaV^search
OPERANDS
Operands are individual ’’targets" within MF Each
operand uses one line in the MF Examples:
* EFFL: Effective Focal Length
• FICL: Rber Coupling Efficiency
• GENC & DENC: Geometric and Diffraction Encircled Energy
* I MAE: Image Analysts Efficiency (for throughput optimization)
• REAX/REAY/REAZ: Real Ray X, Y, Z position on a given surface
* CTGT/CTLT: Center Thickness Greater Than / Center Thickness Less
Than
* PMGT/PMLT: Parameter Greater Than / Parameter Less Than
• POPD: Physical Optics Propagation Data
There are about 300 different operands ZEMAX supports
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
OPERANDS
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
optima X
research
BOUNDARY OPERANDS
Boundary operands are different from other operands
if a boundary is violated:
* The "value" is the actual value
• The difference between target and value is the amount of
violation
if a boundary is not vioiated
• The "value" is the same as the target
* No contribution to MF
Example: Thickness surface 5 is 10 mm
• CTGT syntax: surface# target
* CTGT 5 15 wiM yield a value of 10
# CTGT 5 8 will yield a value of 8
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optm^
i BOUNDARY OPERANDS
esear
ch
Some boundary operands control a range of surfaces/parameters
Most common: MNCT {Minimum Center Thickness), MNET (Minimum Edge
Thickness)
Example: Surfaces 1, 2 and 3 have thickness’ of 5,10,15 respectively
•MNCT syntax: first surface# last surface# target •MNCT 1 3 20 will yield:
o'Value” of the operand: 20 minus (15 + 10 + 5) = -1G
This is the "target" minus each violation ©Contribution to the MF:
Target - Value = 20 - -10 = 30 =>The boundary is violated a total
of 30 •MNCT 1 3 8 wilt yield:
e'Vaiue" of the operand: 8 minus (3 + 0 + 0) = 5
©Contribution to the MF: Target - Value - 8 - 5 = 3 о The
boundary is violated by a total of 3 Values may be confusing,
but rule is simple:
•Difference between value and target = sum of al! of the violations
OPGT and OPLT constraints are very general, apply to any line in MF.
Copyright Ф 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
/
IDENTIFYING DEGREES OF FREEDOM
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima X
research
DETERMINING THE GOALS
Common constraints:
• Lenses must be of finite size, cost, weight
• Edge and center thickness must be positive
• Minimum number of elements desired
• Minimum complexity in fabrication
• Inexpensive materials where possible
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinr jsearch
Usually, RMS spot radius is averaged over the field points and wavelengths. Ali
different wavelengths are referenced to the same primary wave chief ray.
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optica! Design Using ZEMAX
optin
й i
esearc CENTROID REFERENCE
h
Xc and Yc in the preceding equation do not need to be the chief ray
coordinates. The RMS may be referenced to any point.
An alternate, physically significant reference point is the geometric image centroid:
Copyright ©2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Xresearcfr
Usually, RMS wavefront is averaged over the wavelengths for each field. Rays of all
wavelengths are referenced to the primary wave chief ray.
A default merit function for RMS wavefront referenced to the diffraction centroid of
the reference sphere is also available.
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optica! Design Using ZEMAX
optir,.** *
jsearch
j-f' ^4,
GLOBAL OPTIMIZATION
Copyright ©2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
resear
ch
GLOBAL OPTIMIZATION
What is it?
Objective: Given a merit function and a set of variables:
* What is the optimum values for the variables?
* (Which set of values yields the lowest MF)
This problem occurs in many disciplines Optics may be
the toughest
Reasons:
* Ail variables tend to affect ali targets
* Relationship between variables highly non-linear (Snell's iaw)
* Typical problems have dozens of variables, hundreds of targets
Copyright© 2007 ZEMAX Development Corporation 35 Advanced Optical Design Using ZEMAX
researc
h
LOCAL MINIMA
The primary optimizer is the DLS algorithm
it uses gradients to find lower MF’s Primary
problem:
* Starts by assuming we want to go downhill
* Starting point determines solution
* Good starting point required
* Problem: How do we get the good starting point?
Copyright ©2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
BRUTE FORCE METHOD
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
optima research
GLOBAL TECHNIQUES
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaN^
research
GENETIC OPTIMIZATION
Basic concept to global search:
• Find series of candidate solutions by genetic competition
• Optimize: see if design is better than any of the 10 best so far
• Sort and reject worst design
ш Continue until user break
Advantage:
• Global Search works with any user defined MF
• Works without user intervention once search ranges defined
• Best left overnight or longer for most problems
Application:
• Help find alternate design forms
Copyright© 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
4,
optima^***
research
If all this sounds like hocus pocus, the bottom iine is that these algorithms really do
work, sometimes spectacularly weli!
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
™ research
Here is the starting point for the “monochromatic quartet" problem. This is 4
spherical BK7 elements, monochromatic at d-light, with F/3,100 mm EFL, 30 deg
FFOV.
Copyright ©2007 ZEMAX Development Corporation 41 Advanced Optica! Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 43 Advanced Optica! Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^»"*
research
GLASS OPTIMIZATION
Copyright <§ 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
optima j research
/ ч,
SUBSTITUTE METHOD
ZEMAX substitute global optimization method:
• User flags which glasses ZEMAX may substitute
о This is sort of tike a "variable" status for discrete glasses
• ZEMAX makes reasonable guesses based upon
о starting glasses о glass map location о local derivatives,
etc.
• ZEMAX only chooses glasses out of the current catalog(s), which therefore may
limit the choices based upon user preference
о Optionally, a separate substitution catalog may be defined
о A template may be defined which restricts the glass choice
^ These techniques will be covered later
• Reoptimize design with 1 hammer cycle
• Repeat
Glass substitution only works in Hammer and Global Search,
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima T
research
OPTIMIZATION TIPS
optima^j^esearch
Here are some basic tips for effective optimization, which appiy in almost all
optica! designs:
• Use area balanced field points
• Use solves instead of variables+constraints
• Use default merit functions when possible
• Understand and use sensible boundaries
• Exploit symmetry
• Try swapping merit functions
• Watch useless variables
• Know what to change
• Use Hammer optimization often
• Exploit prior art from patent and other date bases
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
FIELD POINTS ARE FOR SAMPLING!
Optical aberrations are (generally) slowly varying with field:
* W13f, W222, W311, W220: linear, quadratic, cubic field dependence!
This means we do not need to characterize an optical system's performance at
1,000,000 field points; only a few sample points are required.
Key: choose the right sample points!
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
optima X
research
USE AREA BALANCED FIELD POINTS
Using "n" field points, we want to select the points so that the field is divided into
annular rings of equal area.
41
1ЧЧ'Ц.ШШ!Ц|!
4l
1ЧЧ'Ц.ШШ! X 5 ^ 0,3.5, 5
ЩЦ Ц|!ЩЦ
V3-1 V3~T
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^research
USE SOLVES
There are two ways to enforce a boundary condition, such as a particular F/#:
• Make everything variable, then add a constraint to the merit function
* Eliminate 1 useless variable, replace with solve
The latter approach is vastly superior and should be used when possible.
Examples:
* Use MRA or F/# solve on back curvature to fix FI# or EFL.
• Use MRH solve on back thickness to fix focal position
* Use Pick-Up solves to Sink values
• Use Position solve to control length constraints
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima***^
resear
ch
USE DEFAULT MERIT FUNCTIONS
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima
research
PICK A SMART MF
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
56Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirna^research
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
optima X
research
EXPLOIT SYMMETRY
ZEMAX recognizes and uses radial and right-left symmetry IF
♦ You do not use X field values
* You only use rotations liy symmetric optics
Therefore:
• Use only Y field values if you can
• Sometimes you can't
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 5S Advanced Optics! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
rc
researc
h
DESIGNERS SECRET
Copyright © 2007 ZEMAX Development Corporation 57 Advanced Optical Design Using ZEMAX
optima X
research
WATCH USELESS VARIABLES
Whenever there are multiple restrictive boundary constraints, it is very iikely that the
optimizer will Siam some of the variables right up to the boundary limit, These are
"useless" variables that just add overhead without providing any aberration control.
If there are many useless variables, the overhead not only slows down optimization,
but may build up round-off error which leads to stagnation.
Solution: Fix useless variables.
Pitfall: Early in a design, some variables may migrate to boundary limits, but later
on, may drift away.
Solution: Always do a final optimization or hammer run to see if these fixed
parameters become useful again.
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 5S Advanced Optics! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
tlmaVp
optima Д research
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optica! Design Using ZEMAX
optimN<
researc
h
USE HAMMER
The Hammer optimizer is fast becoming the most effective too! for doing moderate
to difficult optical design.
it is so good, that ZEMAX now integrates Hammer and the local optimizers (DLS
and OD), in the Hammer dialog.
Hammer works for free overnight, or on unused computers, and is highly effective at
choosing glasses and finding improved designs without intervention by the user.
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
NyV''
r
optima j resear
*
ch
USE GLASS SUBSTITUTION
Use the Glass Template and custom catalogs to assist the glass substitution
algorithm for best results.
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
optimaN^
researc
h
PRIOR ART
Copyright © 200? ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima 7 research
DOUBLET DESIGN
i:irrajfre
optima X
research
EXAMPLE: A CEMENTED DOUBLET
Copyright © 200? ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
SPECIFICATIONS
Copyright © 2007 ZEMAX Development Corporation 65 Advanced Optical Design Using ZEMAX
APPROACH
Copyright © 200? ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 38 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirna^research
FIRST STEPS
Use the “Gen” button to access the System General data diaiog to set the aperture.
fiafftimlngШ'с;.;■.■.|:
, : Арейшг- | tiieAJoresl. ! - -ЧИЕ® j' 'fflassСй#эд$А: U ..'Environment
АрфшХ&к
.pf
ApocfeaBonlype;. -j Uniform АрсЙгйгоп Factor: p;“v“™
Г; T.eteeei*ic; Object Space 1 ■_■
■J:
11
1=
He1-;1-
Copyright © 2007 ZEMAX Development Corporation 67 Advanced Optical Design Using ZEMAX
optima''*’^
researc
h
FIELDS
Use the "Fie” button to open the Field Data diaiog. Specify three
field points to split the field into regions of equal area.
Copyright© 2007 ZEMAX Development Corporation 39 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 20Q7 ZEMAX Development Corporation 70 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima If research
WAVELENGTHS
Use the “Wav” button to open the Wavelength Data dialog. Press “Select” in the
dialog for the visible spectrum.
J.v г i3
y1: jil48S1327S . |1 ...
P 2 {0.5875ЕШ и Г 14 ppi&IpS i 1Ь ’
P3■ .
ЮИщ
Й1Я11ШШ11
§тшж 1 ’ }р1жп
■" - Щ111ШВЭ1ЙЖ 1«1*й ва»
'J
'■Г~ рПЖШо
пштсэ
"' iJ ;.........
:^
Г'.:,'-;
Savsv:■ ..
Copyright ©2007 ZEMAX Development Corporation 69 Advanced Opto! Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 72 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 74 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlmaVresearch
ADDING SURFACES
Use the 'Insert” key on the keyboard to enter the correct number of surfaces:
* Object, Stop, 3 lens surfaces and the image surface
Enter the glasses
• First lens crown, second flint
t.fins Ij.iiii 1. Jilin ■--x
S.. ‘Jifct: :"C!L-
|ж/-:--'--Заг£П?3?ре CoMtent ■■■■■Radius ■■■■■ ■ Thickness Glass Semi-Dianater
■■■■■■:' |
OBJ Standard :.Infinity : .:.:.■■ Infinity Infinity
s?o Standard. Infinity 0.0000 25.0000
- *ж.1атЛ FROST nr LI .................................... -Ш у.::-.' ^
■— ...........................................—; ■ ...............к................... ёГс:тП
Svriftu-iE:!
■■ :■ nr п~о:г.- о7' :,r
'Щ Standard ■■;X.V.;:XBACK. Ьт:,%г Infinity 0,0000 25.0000
ЙМИН 25.0000
:Standard Infinity
:
'' ' ',|Q
Copyright© 2007 ZEMAX Development Corporation 72 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 74 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^researc
h
Add the F/# constraint using a curvature solve on the last powered optical surface:
* Position the cursor in the Radius column of Surface 4 and press the right mouse
button
• Press T” on the keyboard to select the solve type^ofF/#^
• Press the Tab key to enter the required F/#.
* Curvature value adjusted, solve flag set
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optica) Design Using ZEMAX
optimaN^
researc
h
BUILDING A MERIT FUNCTION
Open the Merit Function Editor (MFE)
• Use the F6 function key or Editors/Merit Function
* Open the Default Merit Function dialog
о MFE\Toois\Default Merit Function
* Select the proper MF
* Constrain glass thickness
Copyright© 2007 ZEMAX Development Corporation 72 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 74 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
op4<^reh
APPROACH
What are our variables?
* 2 radii
• 4 thicknesses
optima^”»-!
research
DOUBLET DESIGN
An appropriate merit function has been defined as well as the variables, so we are
ready to optimize!
Copyright© 2007 ZEMAX Development Corporation 72 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirna^^
research
DOUBLET DESIGN
Select Toois > Optimization > Hammer Optimization and press the “Hammer”
button.
Within a few seconds, the Merit Function Vaiue drops to 0.0212. The spot size
has improved by nearly a factor of 2!
Copyright © 2007 ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
V/
optima ~ « research
RESULTS
Here is one possible solution. What aberrations are corrected, and which are not?
What are the dominant aberrations? What about the stop location?
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Ntv-'
optima Xresearch
ANALYSIS
important points:
• No specific chromatic targets required
• Default merit function provides good color correction on axis
• Moving stop away from Sens introduces lateral coior
• Boundaries are alt OK, only siightly violated
• We are bumping up against max thickness boundary, as expected
• Spot radius is correct MF, why?
Try to improve the design:
• Move stop toward lens to reduce iateral color
о Set the Thickness of the STOp surface to 20 and remove the variable status
о Optimize!
Copyright © 200? ZEMAX Development Corporation 7? Advanced Optical Design Using ZEMAX
optima ~ ™
research
REVISED DESIGN
Get much worse design! We correct lateral coior but introduce tremendous astigmatism,
coma, defocus. Spot radius jumps up!
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima jjresearch
ANALYSIS OF REVISED DESIGN
optima^™
researc
h
IMPROVE THE DESIGN
One radii controls EFL, but two are used to control the color! Remember, we need
to control two powers to achromatize!
The stop position does a good job of controlling astigmatism and coma (take a look
and see).
Thicknesses are weak variables, especially if we constrain thicknesses.
The dominant aberrations are spherical and lateral color with some field curvature
and axial color
Possible ways to control the spherical:
♦ Add another radii by making doublet air spaced
* Add a conic constant or radial asphere
* Add another element Possible
ways to control the color:
• Move the stop (but we know this won't help here)
• Try a new glass choice
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 82 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima xYesearch
ADD AN AIR SPACE
Let’s compare the benefit of adding an air-space versus aspherizing our doublet.
Open up sc_doubiet1 and optimize,
MF drops to 0,021.
Make the doublet air-spaced by inserting a surface between surfaces 2 and 3. Set
the Radius and Thickness of the new surface to be variable.
The thickness of air spaces between lenses generally have to be bounded for
the same reasons that lens thicknesses are typically bounded.
Re-build the default merit function and add air thickness constraints (4-500-4).
Optimize.
MF drops to 0.014.
Copyright © 2007 ZEMAX Development Corporation 81 Advanced Optica! Design Using ZEMAX
optima X research
ASPHERIZE
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 86 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim researc
a h
GLASS OPTIMIZATION
optirraV^
rf research
Open up sc_doublet1
Try the following combinations and re-optimize:
BK7&SF1 (MF drops to about 0.017)
BK7&SF2 (MF= 0.016)
BK7&SF5 (MF ~ 0.014) important point:
• So we see that glass choice has a lot to do with performance when chromatic
aberrations are dominant. Usually, we do not need to add more lenses when chromatic
dominates.
is there a better way than guessing at the best combination?
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 86 Advanced Optical Design Using ZEMAX
Advanced
optima д research
Optical Design Using ZEMAX
GLASS OPTIMIZATION
There are several ways to optimize glass choice:
By guessing
* Take your best guess, put the glass in, reoptimize
Optimize the parameters of an equation which simulates the glass
* This is called a “model” glass in ZEMAX
* Sometimes handy, but not recommended in general
By automating the process of substitution and reoptimization
* This is called the “substitute” method in ZEMAX
* Fast, easy, and the recommended method when you don’t know what else to try
Copyright © 2007 ZEMAX Development Corporation 85 Advanced Optical Design Using ZEMAX
optima ^
research
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
GLASS SUBSTITUTION
Giass substitution is a far easier and more reliable method for optimizing glass
selection. Glass substitution works with either of the global optimization algorithms,
usually Hammer, to find better glass choices.
To use, simply set the “Substitute” solve status on each glass, then run hammer.
Start with BK7/SF5 design.
Run Hammer optimization. After a few minutes, you should get a better design. A
different starting point may help (i.e. 8AK1/SF1).
Now check the cost and environmental factors of the chosen glasses. Place cursor
on each glass and then click on the GLA button or press F4
Copyright © 2007 ZEMAX Development Corporation 87 Advanced Optical Design Using ZEMAX
optima ^
*■«
researc
h
RESTRICTING GLASS SUBSTITUTION
Giass substitution is easy, but it’s almost too easy! Without restrictions, it chooses
glasses from ail currently loaded catalogs. There are several ways to restrict the
glasses ZEMAX chooses:
• Choose a specific catalog by typing in the name in the Solve dialog box, and then
only include the glasses you like in this one catalog. This control is surface specific, so
each surface can choose from a separate catalog.
• Use the GCOS operand (for Glass COSt) and put in a limit on tie relative cost of
the glasses chosen.
• Exclude undesirable glasses from substitution by selecting the checkbox on the
glass catalog.
• Add operands that put limits on the weight, index, or Abbe number of the glass,
• Use the Giass Substitution Template
All of these methods may be used together if needed.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 90 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
For the crown glass, choose the Hoya catalog, and for the flint, choose the
Schott catalog. Also add the Hoya catalog in the System menu > General dialog
> Glass Catalogs tab.
Set the starting glasses back to BK7/F2. Note if you type in a glass name, it can be
from any catalog, but if ZEMAX substitutes one in, it will only be from the catalog
listed.
Now Hammer again. ZEMAX chooses from the Hoya and Schott catalogs for the
crown and flint, respectively.
/
USING GCOS OR OTHER OPERANDS
GCOS can be used to restrict the cost of glasses chosen, although there is a better
way using the template, described subsequently.
GCOS can be used to get more sophisticated, for example, you can compute the
total mass of a lens times the GCOS value (GCOS is relative per pound of glass) to
minimize the total cost of a lens.
In practice, this is hardly worth the trouble because you can’t easily account for
finishing costs.
Copyright © 2007 ZEMAX Development Corporation 92 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaVd**
research
Look at the glass catalog for any glass. Each glass has a checkbox labeled
"Exclude Substitution", if checked, this glass will not be selected by ZEMAX for
substitution.
This is especially handy when you need to define a special material, like water, that
must be used in the lens but you cannot practically choose it for an element.
Use exclude if there are only a few glasses you know you’ll never want to pick.
Don’t set too many glasses to exclude; as the setting is catalog (not lens) specific
and you don't want to accidentally restrict your choices for a later design.
Copyright © 2007 ZEMAX Development Corporation 91 Advanced Optical Design Using ZEMAX
opttmaV^
research
The Glass Substitution Template is a very useful feature for defining the basic
characteristic limits on glasses chosen by the substitution algorithm.
The template allows glass restriction based on:
* Maximum relative glass cost factor
* Maximum CR, FR, SR, AR, and PR codes
* Glass Status (Standard, Preferred, Special, Obsolete)
The template is giobai for a lens; the limits apply to all surfaces in the optical
system.
In addition to allowing for restriction for Glass Substitution, the Glass Substitution
Template can be used to restrict which glasses ZEMAX can select when switching
from a Mode! glass to a real glass.
Copyright © 2007 ZEMAX Development Corporation 92 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Jf research
SUMMARY
Copyright © 2007 ZEMAX Development Corporation 93 Advanced Optical Design Using ZEMAX
optima T research
AFOCAL ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 92 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using
ZEMAX
optima if research
AFOCAL IMAGE SPACE
Afocal image Space describes an optical system whose output beam in image
space is nominally collimated. This is often expressed as "afocal mode” in ZEMAX.
When using afocal mode, transverse, longitudinal, and MTF aberrations are
computed in units appropriate to afocal systems;
*Transverse aberrations - computed as a function of angle relative to a reference ray
rather than length.
*Longitudinal aberrations are computed as a function of diopters (inverse meters) rather
than as defocus in units of length.
* MTF is measured in cycles per angle rather than cycles per unit length.
ZEMAX has built-in default merit functions intended to optimize afocal systems such
as beam expanders, collimators, riflescopes.
Copyright © 2007 ZEMAX Development Corporation 95 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 100 Advanced Optica! Design Using ZEMAX
Advanced
\/
Optical Design Using ZEMAX
optima"
researc
h
AFOCAL (MAGE SPACE
Here are a couple of analysis plots for a riflescope, Afocal mode is used to display
an MTF plot in cycles per arc-min and a Ray Fan plot (transverse aberrations) in
units of arc-min.
Copyright © 2007 ZEMAX Development Corporation 98 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 100 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima if research
COLLIMATOR
Copyright © 2007 ZEMAX Development Corporation 97 Advanced Opticai Design Using ZEMAX
optima ^research
COLLIMATOR
Begin by opening sc_coiiimator1 .zmx.
We must indicate to ZEMAX that the design is afocal via the System > General
dialog (check the “Afocal Image Space” box):
- .f ' Л: j ;
шшд<
Copyright © 2007 ZEMAX Development Corporation 98 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 100 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinmV™
researc
h
AFOCAL DEFAULT MERIT FUNCTION
рай. . .—
.. рГ
Make sure to apply the thickness r
boundary constraints!
~Г к'^'.м-г
tpASIm. ■'£ 1Ш =4*-
Max|T lil: Щ4:
•-и-.:
|:Г'.|дг!Ь1йШегй&!от
j Gw% .. Щ ....................“ З Й : , W e i g h t : ' [ Ш ю
:
Copyright © 2007 ZEMAX Development Corporation 99 Advanced Optica! Design Using ZEMAX
optima^ ™
research
RESULTS
We clearly have a coliimated output beam, but is it perfect? How might we analyze
this?
Copyright © 2007 ZEMAX Development Corporation 98 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirra'rd
researc
h
ANALYSIS
From the various anaiysis features, we can see that the beam is weil collimated.
Note the units on the MTF and Ray Fan plots.
Copyright © 200? ZEMAX Development Corporation 101 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim researc
a h
COORDINATE BREAKS
optima ^research
COORDINATE BREAKS
Every surface in ZEMAX has a local coordinate system, each surface defines a new
coordinate system for the surfaces that follow.
• Example; when a thickness of 50 mm is specified on a surface, the following surface has
an origin at that location in space.
Coordinate breaks are used to define a new coordinate system which is not only
shifted down the local Z axis, but may be shifted in X or Y, and rotated in X, Y, and
orZ.
The coordinate break surface has no “optical” properties, but is effectively a plane
surface oriented in the tilted and/or decentered coordinate system.
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^Vesearch
Copyright© 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optima^ re
research
COORDINATE BREAKS
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optin^
^icise COORDINATE BREAKS
arch
The “Add Foid Mirror” toot adds the coordinate breaks and translation changes
required for a foid mirror
• The first C/S tilted the coordinate system used to position the foid mirror
* The mirror was then positioned in this new coordinate system
* The second C/B folded the optical system to follow the reflected ray
о This has no impact on the ray path, simply the coordinate system
The “Tilt/Decenter Eiement" tool implements the coordinate break surfaces
necessary to tilt and/or decenter a surface or range of surfaces.
• To return to the original coordinate system after tilting an element or range of
elements, the point used to “un pivot” must be the same as the point used to “pivot". As
we will see, thickness pickup or position solves can be used to ensure that the two
coordinate breaks are co-!ocated (i.e. “pivot” and “unpivot" occur at the same point in
space).
These tools simplify the process of adding coordinate breaks, but always verify that
the coordinate rotations performed match those desired.
Copyright © 200? ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
optima research
COORDINATE BREAKS
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^**
research
To always enforce this condition, place a minus “Pickup” soSve on the second
C/B!
* Change the Decenter Y on the second C/B to a minus “Pickup"
Now any change in C/B 1 will track in C/B 2, and the following surfaces are fixed
regardless of the value of the decenter. This is useful for tolerancing or when you
want to model element decenter for an element independently.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
optimN^
researc
h
WHAT ABOUT TILTS?
Tilts are only slightly more complicated, because a tiit, then untilt, only restores the
original axis if the tilts are coincident.
To tilt this element, do this:
• Set the decenter to zero for a moment. Note the pickup tracks.
• Set the Tiit About X to +10 (it is in degrees) on surface 3
• Set the Tiit About X on surface 6 to a minus pickup from 3.
• Insert a dummy surface after the second C/B,
• Copy the Thickness value from the stop surface to the dummy surface after the
second C/B (this wili maintain the same distance to the next lens). Make the thickness
variable.
• Race a "Position” solve on the Thickness of surface 5 to locate the second C/B at
the location of the first C/B.
о Set “From Surf' to 3 and “Length" to 0.
• Race a solve on the Thickness of the second C/B to a minus pickup from surface 5
(to return to the location of the back of the unfitted lens).
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Д
research
4
WOW, THAT’S BAD...
Now the second Sens is horribly tilted, but the last lens and image surface
are again unmoved. No matter how the tilt or lens thickness is set, the
coordinate system is restored.
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optimaN^
researc
h
COMPOUND TILTS AND DECENTERS
As long as we use only decenters or just one tilt, we can always “undo” the C/B with
a negative pickup. However, non-orthogonal coordinate transforms are order-
dependent, that is, not commutative. A decenter then a tiit is not the same as a tilt
then a decenter!
To undo a compound decenter/tilt, we could nest the C/Bs or simply reverse the
transform order:
* Set the Y Decenter to 2 mm, set the X Tilt to +10 degrees
* Set the second C/B Order flag to 1
Again, a complex tiit and decenter is automatically undone by the second C/B.
When performing compound tilts/decenters, the tilts/decenters need to be undone in
the reverse order that they were originally introduced. The non-zero Order flag on
the second coordinate break takes care of this.
Copyright© 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
N
v^
rc
optima"researc
h
COMPOUND SAMPLE
research
COORDINATE BREAK
| V. 0.
■J'rm; .L'ece'ife- M ■■ loo
Co!;: j 7'2,1 Cc o: -1
Ce'vei
Copyright© 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
JTresearch
TiLT/DECENTER TOOt
Same results, ZEMAX has added the necessary C/Bs and pick-ups.
Copyright© 2007 ZEMAX Development Corporation 13 Advanced Optica! Design Using ZEMAX
optima^ ™
researc
h
DRAW LOCAL AXIS
Becoming familiar with the operation of Coordinate Breaks and getting used to the
local coordinate transformation takes time and practice.
The Tilt-Decenter Element Tool (as we just saw) is very helpful in automating the
tilt/decenter procedure, but sometimes you cannot avoid setting up the Coordinate
Breaks and coordinate transformations by hand.
Copyright© 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
4
'Vx'^
optima researc
h
DRAW LOCAL AXIS
The “Draw Local Axis" checkbox is located under the Draw tab of Surface
Properties dialog box for each surface.
the orientation indicator displays the ■ "fei&ntff' p"■■’ .’J-*,' ' ' -■ ' '
iocal Z axis afferthe tilts/decenters ' . i.:'' "
are performed. ZEMAX will not draw
CB’s (they have no physical size),
but the local axis indicator can be!
■ r'1 , j -j
Copyright © 200? ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optima^**
*'1 researc
h
DRAW LOCAL AXIS
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*™
researc
h THE COORDINATE RETURN
■■ i■ ; ■■:
! Г: , ■■■
Ш!!Й!8ЩЙ11
~ • The Coordinate Return feature
acts like a solve to automatically
жШШЩШшЩШШ |]Я111||§1|§
determine the tilt/decenters
required to restore the
coordinate system to that of any
Dec X. I. TiSY:
preceding surface.
8«e.V; |7\ ; .
Copyright © 200? ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optima X
research
X '4 THE COORDINATE RETURN
For the Coordinate Return, you simply choose how you would like to restore the
coordinate system, and the surface whose coordinate system you want to return to.
There are 4 options for how to restore the coordinate system:
* Orientation Only: Only the tilt about x, у and z axes are determined to restore the
coordinate system to that of the selected surface. No adjustment is made to the
position offset of the surface vertex.
• Orientation XY: Tilt about x, y, and z axes and the decenters in x and у are used. No
adjustment is made to the z position.
* Orientation XYZ: Identical to Orientation XY, except the z offset is also accounted for.
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*'
research
SETUP
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
optima^™;
research
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 22 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^'•<=
resear
ch
COORDINATE RETURN
Add a Position solve to the Thickness of surface 8 to position the front of the
third Sens 4.7504 mm from surface 6
* NOTE: This maintains the distance from the back of the unperturbed second tens to the front surface of the 3rf lens
element.
Under the Tiit/Decenter tab of surface 7, change the Coordinate Return option to
“Orientation XYZ” and the To Surf to “3”
V 4 \
:
CcardinataRelumm - |Frienfation,XV2
!!'*v
'ii.cldoe
CK -\
Copyright © 2007 ZEMAX Development Corporation 21 Advanced Optica! Design Using ZEMAX
optima X
research
COORDINATE RETURN SOLVE
After applying the Coordinate Return, note the "R” indicator next to the parameters of the
Coordinate Break surface;
&№# Uuhl Ull'Ji
■ e.- ■.
§ ..■ ■■ H Сотше-пх ' p- ■ ■ |- :■: Slas -
. ;~ . \ii' Reference. Infinity i y-
:-.T..V - ..........i и...... . •i Ifts f.. i:
-«Vi шШШшж ___ V v Ж V.v- "
h—
v■.пу.-.- z ,_ В
.■ - i.: ■: 11111Ш 1 j ■
■■ x Infinity : \T 1 346?
. ...
г-................
: . . ..
, ■ 1 ..
5TG* ••••• ы *......s-.:. j j Л..
>......
HI r-nf.iM-.T!.
a
Os ГМЫ £
:-St«d«d| .: ... '."tf :V: TT ■ "
ш; ■*. 1]
”
1
-
т
j
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
26Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima”™
research
SYSTEM LAYOUT
We haven’t applied any tilts or decenters yet, so still, nothing has changed!!!
4
\w/^
optima X research
Now let’s tilt and decenter the negative lens element using the first Coordinate
Break (surface 4):
Decenter Y - 2mm Tilt
About X - 10 degrees
Like all other solves, the parameters of the Coordinate Return will automatically
update to ensure that the following surface vertex is co-located with the Return To
surface, and that their local coordinate systems are the same (orientation).
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
26Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research COORDINATE RETURN SOLVE
Ш
.’■■с» ■■■-'■ "Sf
.. Surf!;Type ..• • Decanter X .'. •. bsc enter. • V.. Tilt About X Ti 1 t About T Tilt About' 2
3 St&ftd&rd
■i . .■■.lir.f' 5 ..
m
ши IJ- 1
i iligtilii ....
STG* Standard
ш i.■: . MI A j f ■■
If* ■ -
••• 8
liF
: i'.VSSiStfdMal
- .w
ЖП
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
optimaVresearc
h
/4
GLOBAL VERTEX
...and observe the Global Vertex data to confirm the position and
rotation matrices of surfaces 3 and 8.
■.с::!!- г-.'. >■ v v,
•OvOOOQGbOGOQ • -O-
i-. OOOOOOODOO • • QDOOPOOOOG• 0: flOOGOOGGOS-fOCO
&c GOOGOGOGOG• . •.GcQOOO&OODO .0.,
bi ooooooooao ±,QGOOQOOGOO
• 0,0000000000': .• G. OOOGQOGOG2+GOO.
1,00000.00000' .9,.2е«$озазои-ооо
Reports > Prescription Data > s
: iClvOOOOCtOOGOXtOO
i.uoaG.ooPOd.o-.- Or:.OOQOOaOGOO: .0,0000000000'. O
в.Ы}ДООДОаДО: :
:9>££4'8p7?538. -Он 1736431777 2i000000000Й4000
: Oi.QOCDCOPOGO: .a,-*73£43A777- : .OP 9848077550. : 9,.265*05930**000.
.
. •'
1чОООО.ООООСО- '0,0000000000 • OiGOOOQOSGGQ- ■О:оеюоооооозг+ооо
.• qicooooaoooo:- •.•В-,»848077ЬЭО-.- “0J17364S177?.- ,L.ei353S$t3SWOOfl'
•GvCpCQ'QOQOG'O • :£fcX73S48X7?7:: 0-93480775313 i,C£S12S964Z*OOi:
.
■Л'.- •0-. •
ОООООООООО:-' OOOGOOOOOO-• O^GOOOOOOOOO' GiOOOOGCG&tmOOO
• ••IvOOEJQOQODC • Ej-.oooooaoqao. £z22G44S049I~0l6
•Q-.OQOEJDODeCC'•
G; 060000000 0- • •Oa,• oooooooeoo. lueOGGOOGOGD- 1 ,G2 512fl 964 £4-001
: O-
fa ■i^QOaOOdOOOG: O-OOODOOOOQO O.OOOOOGOOTJfi: GOOOOOOOOE+OGO
.OiOOGBOGOGGO: •l.OOOOOOdOGQ. . .01:00000:00000: :£v4S377S±58£-GI5
в-,ввовооаадо-' • о;'ойюоооо0оо" 000000 0<Ш-' •*;z55$D59301*000
»••••
•
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2207 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim^^research
COORDINATE RETURN
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optica! Design Using ZEMAX
optima^
researc
h
COORDINATE RETURN
in this example, the Tilt/Decenter Too! is the simplest, most convenient too! for
tilting and decentering the negative element of the Cooke Tripiet by the desired
amount.
However, don’t under-estimate the power of the Coordinate Return! it is very useful
in situations where you need to restore back to a location or coordinate system of a
previous surface, instead of calculating this by hand, let ZEMAX do it for you!
32Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^-
research
C/Bs can be confusing, but they are rigidly predictable in their behavior. A little
planning on the use of C/Bs will greatly simplify many complex design tasks.
Remember, a tilted, decentered system is not the same as a decentered, tilted
system.
Remember:
• Nest most types of C/Bs
• Use pickups to minimize redundant typing and possible errors
о Scale Factor: 1 for folds, -1 for tiits/decenters
• Co-located C/Bs for tiits/decenters
о Use ‘'Position" and "Pickup” solves
• Use the order flag for compound tilts and decenters
о If the Order flags don't properly represent the physical situation, use multiple C/B
at each end instead of Order flags.
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima \
research
IMAGE ANALYSIS
32Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optica! Design Using ZEMAX
optimaVlresearch
32Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
research
Visualizing MTF
Checking image polarity, orientation, etc, (This is very important in some systems)
Checking the “readability” of text Accurately simulating useful resolution
* Really, does MTF or RMS spot radius teil you that you can read text of a given size?
Demonstrating resolution, MTF, etc., to non-technicai customers Impressive to
customers!
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
optimsN^
research
Where do we start?
* The definition of the extended object: The iMA file
* iMA is a misnomer, but OBJ was already taken...
File format:
• 5
• 001
00 •
00100 #
11111 *
0010
0 •
00100
First entry is number of rows and columns (square), n. Next n rows of n numbers
between 0 and 9. Numbers are relative intensity. Pixels with a value of 0 do not
radiate any rays.
An optional binary format is also available which supports up to 256 “gray-scale”
levels of intensity.
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
Most shapes of interest can be at least crudely defined with ASCII IMA format.
ZEMAX also supports “standard” Windows BMP format, but only for 24 bit color
images. BMP or JPG format can be generated from almost any graphical file format
using software such as Adobefs Photoshop.
optim
a........... HOW GEOMETRIC IMAGE ANALYSIS WORKS
esear
ch
What does IA do with the IMA file?
* The IMA file is centered on a specified field point
• The square IMA file fills a square field of width given by "Field Size”
* Each IMA "pixel” corresponds to a region of field
• Rays are traced from a random position within each pixel
* Traced to a random position within pupil
• Ray density, wavelength, etc. has correct statistics
If field coordinates are angles:
• IMA file fills an angular coordinate space
if field coordinates are lens units
* IMA file fills positional coordinate space (either in OBJect or IMAge space
coordinates based on field setting)
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirnaNKl
research
RESOLUTION TEST
Conclusion:
• Useful resolution for a letter (not point) is about 10-20 microns
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
Xy
optima ^
research
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced
\/
Optical Design Using ZEMAX
optima 7^
**«
research
Very simitar to standard image anaiysis using IMA files, but much more visually
interesting.
Select this feature, then look at the settings.
User must provide “detector" properties, including pixel size and number, and the
color scheme to use.
ZEMAX can use actually Red, Green, and Blue {no matter what wavelengths are
actually defined) or the defined wavelengths {then we have possible false color) or
monochromatic.
This feature aiso displays the idea! object as well as the ray traced image.
Copyright© 2007 ZEMAX Development Corporation 39 Advanced Optica! Design Using ZEMAX
optima^ **
research
The diffraction image analysis is better suited to predicting the appearance of very
small images, where the image is less than a few hundred Airy disks in size.
The iMA files are identical, but the method of computing the image is very different.
The diffraction image analysis considers the effects of the wave nature of light, the
finite aperture of the Sens system, the phase and amplitude aberrations of the
optical system, and the spatial frequency structure of the object.
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima resale!h
THE OTF AS A FILTER
Optica! systems can be thought of as a “filter” very much like an eiectronic signal
filter.
For an electronic filter, the input signal can be decomposed into a series of discrete
sine waves, each with a particular amplitude and phase.
The sine waves go through the filter, and are attenuated and possibly phase shifted.
The recomposition of ail the sine waves makes up the transmitted signal.
It’s almost exactly the same in optics:
* The frequencies are spatial rather than temporal (period is measure in length vice time)
* There are two distinct separable directions (x-length and у-length), so the problem is
2D instead of 1D.
* The sine waves also get magnified: that is the system magnification scales the
frequencies.
Copyright© 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
optitnV.
researc
h
SAMPLE DIFFRACTION ANALYSIS
Try some diffraction analysis now. Here is a 20 micron high letter using the same
lens, on-axis. Set file size to 0.02 and set the oversampling to 6X.
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima z
research
с.тиртА I
I I ПС I M LL.MUUU
optim^Tresearcb
4.
F-THETA LENSES
I = f • tane
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlmaV^l
researc
h
CALIBRATED F-THETA
Normally, we do not really care if we meet the f-theta condition exactly:
I=f•0
All we realty want is a linear relationship between the input angle and the image
position. Assume this relationship is given by:
i — f'. 0
The resulting focal length is the “calibrated" focal length, and it is usually close, but
not exactly the same as the usual focal length.
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optica! Design Using ZEMAX
optirrta^research
FIRST ATTEMPT
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinniaVlresearch
optima ^ ™
research
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV*C
research
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
\/
optima” ***
research
HOW TO IMPROVE?
How do we improve the design?
Most of the spherical comes from the iast lens, look at the Seidel coefficients and
see (Analysis menu > Aberration Coefficients > Seidel Coefficients)
Try making the last surface a conic asphere and re~optimize
* Doesn't help much, why?
What limits the design is the f-theta error itself
* Look at MFE and
see Try instead glass
choice
* Why? Glasses only affect color correction, right?
* No, they also affect field curvature!
Set the glass of last element on “Substitute" and run Hammer
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opt i ma^res ea rc h
BETTER DESIGN
Here is a design which has iess f-theta distortion:
Fш a RTION
«VflTURE OISTO У *
T
Y
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optica! Design Using ZEMAX
optima^
research
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ research
Copyright© 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima X
research
GRIN MODELING ISSUES
The polynomial may be trivial or quite complex, depending upon the materia! and
the amount of data (particularly dispersion data).
Because the index changes through the material, rays must be traced in a
"piece- wise” fashion.
The accuracy of the ray trace depends upon the step size, which ZEMAX allows the
user to set. The step size determines how often (spatially) the index is calculated.
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^***
researc
h
NSG SELFOC TYPE
A common GRIN element is the NSG SELFOC lens, it is small, and generally is cut
to a specific length to get the desired power.
The index variation has the form:
A 2
n(r) = w0 —r
1.0-
2
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Opticaf Design Using ZEMAX
optima4^
research
SELFOC RODS
Open sc_seifoc1
The beam focuses, diverges, focuses again, etc.
Note how good the beam focus looks!
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima “
researc
h
SELFOC
Here is a more typical application. SELFOC lenses are often used in 1:1 imaging
systems, like fax machines. Load the file sc qrinl. Open a 3D Layout with 5 rays.
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д
research
DESIGN SETUP DISCUSSION
Note the use of the Float By Stop Size system aperture. The thickness of surface 4
is a pickup from 1. The two dummy surfaces are used to locate the stop, which is
made smaller than the edge of the tens.
The rays are aimed at the top of the aperture stop; but actually don’t get that high
because of the GRIN media curving the ray paths,
• Note the “segmented" look to the ray trace. Decrease the step size (Delta I) to 0.5
on surfaces 1 and 4 to increase accuracy.
• Turn on ray aiming, and then optimize the thickness of the first half using RMS
spot radius.
• Add a field at 0.9 object height to see the off axis beam, rebuild merit and reoptimize.
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Opticai Design Using ZEMAX
optinrtaV1^
research
Here is the final design, with GRIN aperture checking on (System > General > Misc)
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima %
research
LPT GRADIUM TYPE
Recently, a new type of large scale axial (as opposed to radial) gradient materials
have become available called GRAD1UM.
Axial gradients generally can be made much larger, with an index profile of the
form: n
n(z)= £a z* ы
i
where n may be from 4 to 12.
GRADiUM is available in large blanks, up to 200 mm in diameter (most GRIN'S are
only a few mm in diameter)
Copyright© 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
optima*^™
resear
ch
SAMPLE FAST GRIN DOUBLET
To see how the gradient glass works, first design a fast doublet using standard
glass.
Load sample fiie sc_grin2:
• F/1.5
• Stop at surface 1
• BK7 and F2
• EPD ~ 25 mm
• F, d, C
• Field 0 and 4 degrees
• RMS spot radius centroid MF, using 2-12-2 on the glass
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 64 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Xx'
optima/ research
Copyright © 2007 ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
optimXX
research
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
researc
h
GRADIUM DESIGN
Copyright © 200? ZEMAX Development Corporation 65 Advanced Optical Design Using ZEMAX
optima^™
research
GRADIUM OPTIMIZATION
To design with GRADIUM, simply substitute in G41SFN for the glass name of
surface 2 after switching it to the GRADIUM surface type. Guess at the initial delta
z, which is the offset within the blank where the part begins.
Try:
• Make the first glass 8K7
• GRADIUM Step sizes: Delta T = 0.25 mm, Delta Z = 5 mm
• Thickness of surface 2=4 mm
• Rebuild the merit function (Glass constraints: 2,12,2)
Optimize!
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirraVn
research
GREAT DESIGN!
Result is a design with a MF similar to that of the conventional doublet with very
exotic glasses.
pptim^earch
THERMAL ANALYSIS
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 90 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima j •*»
research
THERMAL ISSUES
Copyright © 2007 ZEMAX Development Corporation 69 Advanced Optical Design Using ZEMAX
optima ^ re
research
COMPUTATION ISSUES
Steps involved:
• Compute correct index to use
• Compute correct radius, thickness, etc,..
о See ZEMAX User’s Guide for formulas
ZEMAX aiways uses relative index of refraction
Air index is always 1.00000, even if it is not!
Adjustments are made to the index of the glass
Adjustments are made to account for both
# Material change
* Air change
Copyright © 2007 ZEMAX Development Corporation 91 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'*'^
researc
h
THERMAL ALGORITHM
Basic algorithm:
• Compute relative index of glass at STP {from dispersion data)
• Compute index of air at STP
• Compute absolute index of glass
• Compute change in absolute index due to temp effects
• Compute change in air index due to temp and pressure
effects
• Compute relative index of glass at specified temp,
pressure
Lots of computation, but ZEMAX does all the work!
User specifies:
• Glass name and materia! property in glass catalog
• Temperature in Celsius, pressure in ATM
• Tel! ZEMAX to account for effects
• That's it!
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optical Design Using ZEMAX
research
MECHANICAL EFFECTS
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Deveiopment Corporation 74 Advanced Optical Design Using ZEMAX
optimaV^w
Advanced Optical Design Using ZEMAX
researc
h
THERMAL EXAMPLE
Copyright © 2007 ZEMAX Development Corporation 73 Advanced Optical Design Using ZEMAX
optima Y rc
research
LENS IN VACUUM
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ ***
research
Copyright^) 2007 ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
optiniv^esearch
Re-load sc_temp1
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^search
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design
Using ZEMAX
optima X research
THERMAL PERFORMANCE ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimsNdt"
research
ATHERMAL DESIGN
Copyright © 2007 ZEMAX Development Corporation 79 Advanced Optical Design Using ZEMAX
optima v
research
82Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
s
\y'
optima research
Copyright © 200? ZEMAX Development Corporation 81 Advanced Optica! Design Using ZEMAX
optima4)^*
research
82Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaN^
research
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
research
82Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 86 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
Copyright © 2007 ZEMAX Development Corporation 86 Advanced Optica! Design Using ZEMAX
optima''*^
research
THERMAL PITFALLS
Copyright ©2007 ZEMAX Development Corporation 90 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 88 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ research
DIFFRACTIVE OPTICS
Diffractive optics are opticai elements {or surfaces in ray trace codes) that rely on
diffraction rather than refraction or reflection alone to bend rays.
Diffractive optics bend rays, and therefore can have power and aberrations just like
refractive and reflective surfaces.
Thinking about how diffractive optics work can be very confusing, but the
fundamental mode! is simple to understand. Many users have been confused by
what diffractive optics are and how they work.
Diffractive optics are essentially gratings where the spacing and orientation of the
grating iines varies over the surface.
Copyright ©2007 ZEMAX Development Corporation 90 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 88 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV're
research
Gratings can be modeled by a ray trace program (like ZEMAX) even though they
operate on diffraction principles.
The price paid is that we ignore higher order effects, such as scattering, efficiency,
energy distribution in other orders, etc.
Rays going through gratings follow a simple "refraction-type" law:
Copyright ©2007 ZEMAX Development Corporation 90 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 92 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirr ^search
GRATING Wl IS
CONCEPTIONS
There are many common misconceptions about the grating equation:
• Note the sign of M is arbitrary! Which order we call M - 2 and which we call U = ~2
makes no difference.
• The bending angle only depends upon T, and not the height of the phase step!
The height of the phase step only affects the efficiency of propagation, not the angle
the к vector {or energy) bends.
Some energy wifi ’leak" into orders other than the desired one, which decreases
peak intensity of the image as weii as the MTF response,
• In sequential mode, ZEMAX can only model one diffracted order at a time.
• in NSC mode, rays can spiit, so we can mode! multiple orders simultaneously.
Copyright© 2007 ZEMAX Development Corporation 91 Advanced Optical Design Using ZEMAX
optima Xresearc^
For a “binary" optic, the proftie is approximated by a series of "n" etchings, which
yieids a 2 to the power of n different levels:
Copyright © 2007 ZEMAX Development Corporation 94 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 96 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opti^s-c h
The reai power of computer designed binary optics is that the grating period "d" can
vary over the surface in a complex fashion.
This means diffractive power, or optical path difference, can be added anywhere
it is needed on the surface to perform aberration correction.
The limitations are:
* Diffractive optics are extremely dispersive. This means they generally are not used
to add the bulk of the power in a lens, but are instead used to control aberrations.
• Since they are dispersive, they can be used to make achromats!
# Fabrication technology limits the accuracy with which fine grating structures can be
made, this always needs to be considered.
Copyright © 2007 ZEMAX Development Corporation 93 Advanced Optical Design Using ZEMAX
optima X
research
ZEMAX DIFFRACTIVE OPTICS TYPES
Copyright © 2007 ZEMAX Development Corporation 94 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 96 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
Copyright © 2007 ZEMAX Development Corporation 95 Advanced Optical Design Using ZEMAX
researc
h
ACHROMATIC SINGLET
Copyright © 2007 ZEMAX Development Corporation 94 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 98 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^jresearch
where A is the quadratic phase coefficient Power varies linearly with wavelength! *
Could combine diffractive and refractive power to balance color
Copyright © 2007 ZEMAX Development Corporation 97 Advanced Optical Design Using ZEMAX
resear
ch
DESIGN ACHROMAT
Copyright © 2007 ZEMAX Development Corporation 102 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 100 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
apttmaV^
resear
ch
ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 99 Advanced Optica! Design Using ZEMAX
resear
ch
DETERMINE THE LINE SPACING
We need to determine the line spacing to see if this part can actually be fabricated.
The line spacing is given by T, which is the distance between phase steps.
We need to solve the expressions
r 2 r
ф(г)~ a ф(г- ■F P I
_R * _R
_ 2*гс
И)~ф(г)~± _
ti-ГЫ-Г;
and then determine the maximum or minimum value of T over the clear aperture.
This is not generally possible to do in closed form.
Copyright © 2007 ZEMAX Development Corporation 102 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 100 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^
**«= research
Copyright © 2007 ZEMAX Development Corporation 101 Advanced Optical Design Using ZEMAX
optima X research
Other applications:
• Since the binary surface acts as a phase altering sheet, use it to simulate
certain aberrations
• This is useful for modeling known aberrations from other subsystems.
Example: Adding in 1 wave of coma on axis
Start by loading scjoomal
Change the type of the STOp surface to Zernike Fringe Phase
Copyright © 2007 ZEMAX Development Corporation 102 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 104 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optfrrcN^
research
SIMULATING COMA
This same technique can be used to incorporate data from interferometers, etc.
Copyright © 2007 ZEMAX Development Corporation 103 Advanced Optical Design Using ZEMAX
aptirm^fresearc
h
Copyright© 2007 ZEMAX Development Corporation 106 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 108 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
WEIRD BINARY PROBLEM
Suppose you have a collimated beam incident on axis to a diffractive optic. The goal
is to get a focused beam at a point with the relative coordinates x~ 5, у = 5, z - 80.
How do you do it?
Select File then New, and then set the STOp surface to be a Binary 1 surface type.
See the manual for a definition of the Binary 1 surface.
Use an EPD of 20 mm. Set the thickness of surface 1 to 80,
Define a default merit function, use RMS spot size.
Add 2 constraints to the top of the list:
• REAX Surf 2 Target 5 Weight 1
♦ REAY Surf 2 Target 5 Weight 1
In the EDE, set the number of terms to 18, norm radius to 10.
Optimize all the coefficients!
Get RMS spot size close to zero, and a truly strange spot diagram!
optima^ research
Here are the spot diagram and the required surface phase profile:
Copyright© 2007 ZEMAX Development Corporation 106 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 108 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimjN^=
researc
h
THERMALLY COMPENSATED
niFFRArriVF 1 FN^F^
UIs * I I V Lm LMСШI W
optimaYresearch
Copyright© 2007 ZEMAX Development Corporation 106 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 110 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
T ГР
optima Vresearcfi
Copyright © 2007 ZEMAX Development Corporation 109 Advanced Optical Design Using ZEMAX
optim
a^ .es
earch ADD BINARY POWER TO SURFACE 2
Copyright © 2007 ZEMAX Development Corporation 111 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima T research
\/
optima X research
INTRODUCTION
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optima^ *•*
research
POLARIZED LIGHT
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optimal-
researc
h
JONES VECTORS
The description of the orientation of the electric field is called the polarization of the
ray;
E
J=
where Jx is the complex electric field in the X direction and Jy is in the У direction.
Unless Ez - 0, conversion from E field vector to Jones vector is ambiguous.
• User must specify method: see User’s Guide for more information.
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV'd
researc
f'% h
THE JONES MATRIX
X'~ "A ~F
-^X
C D E
A'
Jones matrices can also be used to describe polarizing elements such as linear
polarizers, quarter wave plates, halfwave plates, etc.
Copyright © 200? ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Develop meet Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^™
research
S AND F POLARIZATION
When a polarized beam strikes a surface, the electric field may be divided into two
components; one parallel to the plane of incidence, and the other perpendicular.
The component parallel to the plane of incidence is the P polarization, while the
perpendicular component is the S polarization.
Think of "S" as "skipping" like a stone thrown across a pool of water, and "P H as
plunging into the water!
At an interface between two media, the electric field may partially reflect, transmit,
or be absorbed.
The amount of reflection, transmission, and absorption is a function of the index of
refraction of both media, the angle of incidence, the polarization state of the
incoming beam, and any thin film coatings on the surface.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optica! Design Using ZEMAX
optima X research
THE ELECTRIC FIELD AT AN INTERFACE
When a beam of light strikes a simple interface between two dielectric {such as
glass) media, the S and P polarizations will partially transmit and partially reflect.
The portion reflected and transmitted differ for the S and P polarization components,
and is a function of the index of refraction of both media, and the angle of incidence.
The transmitted and reflected field can be written in terms of the incident field times
a complex coefficient:
EgTg
EpTp
EgPs
^pPp
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Develop meet Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimay^
researc
h
REFLECTION AND TRANSMISSION
(П1 + П2)2
For example, at an uncoated air glass interface, the reflection coefficient is about
4%.
if there are 8 uncoated surfaces, transmission is down to about 72%!
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optima T research
The reflection and transmission coefficients are a function of both angle and
polarization state, therefore unpolarized light becomes partially polarized when
propagating through an optical system.
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optin
^ ,,4i
^sea DIATTENUATION
rch
Because S and P polarization states have different transmission coefficients, this
leads to a difference in transmission. Each component is attenuated a different
amount; these "two" attenuations is called diattenuation.
Diattenuation leads to a change in shape of the polarization ellipse.
Copyright ©2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
optir.«
y^ i
esearc PHASE AND RETARDANCE
h
We have shown that the transmitted intensity is generally different for S and P
polarizations.
However, the transmittance for S and P is a complex number, which means that
there is also a phase difference between the transmitted S and P electric field
components!
This has important ramifications:
• The polarization ellipse may be rotated or changed in size and shape due to
transmission through an interface. That is polarization state is not preserved when
passing through an optical system.
• Accounting for polarization leads to phase differences in the optical beam, which
are called polarization aberrations.
• The phase differences caused by polarization effects leads to chromatic
aberrations, even for mirror systems which we generally believe have no chromatic
aberrations!
Retardance is defined as the difference in transmitted phase between the S and P
polarizations.
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
™ researc
h
POLARIZATION ABERRATIONS
Polarization aberrations are variations in transmitted phase over the entire pupil of
rays. Even in a system which has geometrically perfect imaging, the differences in
phase between S and P polarization states ieads to different phases in each ray.
Polarizaiion aberrations decrease MTF, Strehl ratio, and otherwise degrade the
image just like other aberrations. They are physically no different!
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optica! Design Using ZEMAX
optirmV^esearch
Copyright© 2007 ZEMAX Development Corporation 14 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ~ ™
research
TYPICAL AR COAT
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optics! Design Using ZEMAX
\/
optimal
research
USING THE COATING FEATURES
Take a moment now to look at all the data ZEMAX provides on coating
properties:
* R, T, A, at any surface, wavelength, angle
* Diattenuation, phase, and retardance
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
18Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima VYesearch
COATING.DAT
ZEMAX stores the definitions of thin film coatings in an ASCII file. The default file
name is COATING.DAT, this can be changed. The file contains two types of data:
* Material Data:
о includes material name
о Real and imaginary parts of the index of refraction
о Dispersion data
• Coating Data:
о The coating name
о The optical or absolute thickness of each layer о The
material used for the layer о Any data about replicated layers To
see the data in the file, look under Tools, Coating Listing.
To add a coating to a surface, just enter the coating name in the LDE.
Copyright 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optimal
resear
ch
MATERIAL DATA SYNTAX
18Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima T research
optima X'«search
Many coatings have groups of layers repeated many times. Consider this coating:
• COAT 3GROUPS
• MATO 0.25 0 0
* MAT1 0.25 0 0
• MAT2Q.50 0 0
* MAT3 0.25 0 0
* MAT1 0,25 0 0
• MAT2 0.50 0 0
* MAT3 0.25 0 0
• MAT1 0,25 0 0
* MAT2 0.50 0 0
• MAT3 0.25 0 0
* MAT4 0.25 0 0
Note the sequence of layers with materials MAT1, MAT2, and MAT3 Is repeated 3
times. This is a perfectly acceptable syntax, however, 11 text lines and 11 layers are
required to define the coating.
Copyright © 2007 ZEMAX Development Corporation 21 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima x research
DEFINING REPLICATED LAYERS
A shorthand syntax that replicates the layers is available using the loopjndex
parameter. The loopjndex integer parameter is set to the number of times a group of
layers is to be repeated. The loopjndex must be set at BOTH the first AND the last
layer (this is to indicate the range of layers, and ZEMAX also reads the coating data
in both directions. The coating can then be written as:
* COAT 1GROUP
* MATO 0.25 0 0
* MAT1 0.25 0 3
* MAT2 0.50 0 0
* MAT3 0.25 0 3
* MAT4 0.25 0 0
Note the "3“ parameter appears on both the first and third layers listed. This syntax
reduces the chance of careless typing errors, eases editing, and conserves the total
number of layers. The coating above only requires 5 "layers" to define, although
there are physically 11 layers modeled.
Copyright © 2007 ZEMAX Development Corporation 21 Advanced Optical Design Using ZEMAX
optima^ rc
research
There are times when the detailed coating data is not known, but the approximate
transmission, refection, and absorption are known.
in these cases it is convenient to use an ideal coating.
The simple syntax for defining an ideal coating is:
COAT [.transmission • For example: 1.75
о Transmits 75%, reflects 25%, no flux is absorbed using the l.xx definition.
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^***
research
IDEAL COATINGS
A more compiex idea! coating may be defined using the IDEAL syntax:
IDEAL name T R
* For example: IDEAL Absorb2 0.95 0.03
о Transmits 95%, refects 3%, 2% of energy is absorbed where T is the
intensity transmission and R is the intensity reflection. ZEMAX Internally
computes the absorption, A = 1.0 - T - R. if T+R > 1, ZEMAX linearly scales the
sum to 1.0 (and the absorption wilt be 0),
Another syntax, the IDEAL2 coating, is available. This allows you to define real and
imaginary amplitude transmission and reflection coefficients, and give separate
definitions for S and P polarized light. See the User's Guide for more details.
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optica! Design Using ZEMAX
research
TABLE COATINGS
Table coatings are similar to IDEAL coatings, except the transmission and reflection
may be a function of incident angle and wavelength and may be specified
separately for the S and P polarizations. Phase angles for transmission and
reflection may also be specified separately for the S and P polarizations.
Table coating syntax:
TABLE name
ANGL anglel (I degrees)
WAVE lambda n
Rs Ts Tp Ars Arp Ats Atp
1
WAVE larabd Rs Rp Ts Tp Ars Arp Ats Atp
a2
WAVE lambda RS Rp Ts Tp Ars Arp Ats Atp
ANGL 3
angle2 {i degrees)
WAVE lambda n
RS Rp Ts Tp Ars Arp Ats Atp
l
WAVE lambda RS Rp Ts Tp Ars Arp Ats Atp
WAVE 2
lambda Rs Rp Ts Tp Ars Arp Ats Atp
3
Data is linearly interpolated between defined angles and wavelengths. Angles and
wavelengths outside the defined region use the data of the closest defined
angle/wavelength (no extrapolation).
Advanced Optical Design Using ZEMAX
Copyright ©20G7 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optiim^research
TABLE COATINGS
Here is the table equivalent form for a quarter wave MgF2 coating; :
TABLE 'pneUyefAfT'......................... :
ANGL ; On
WAVE ' 0.486: 0.01662 0,01662: 0.98338! 0.98338;
WAVE 0.1; 8” 0.01297: 0.01297; 0.98703 0.98703
WAVE M : 0.658 0.01355 0.01355 0.S8S4S5; 0.98645;
At'lGL '"10"
WAVE - 0.-385 0.01715: 0.01555 G_S8285!: 0,98445!
WAVE : 0,587: 0.01365: 0 01231 0 98635 0.98769:
WAVE : 0 55? 0.01437 0.01298: 0.985631 0.98702:
ANGL : 25
WAVE : 0:4-86: 0.02062:- 0.01046: 0.97938! 0,98954:
o w: 0.01811; 0 09894 0.98183 0.S910S
;WAVE i ■' Si:': 0.01961: 0.00989: 0.98038: 0.99011;
ANGL ! 45:
WAVE ! 0.486: 0.03900 0.00112; 0,96100! 0.99888!
WAVE ; C! МГ 42 0.95925 0,99858!
WAVE j 0.658: 0.04507; C.99LG8 0.35493; 0.99737
ANGL 60
WAVE 0486: 0.0925?: 0,00643; 0.90743. 0 9935?
WAVE i 0.587 0.Ю182 j.GCjOS 0,89818:: 0:99405!
WAVE ! : 0.650: 0.11039 0.00551 0:88961! 0.99449!
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
optima^
research
Copyright ©20G7 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
MODIFICATIONS TO COATING.DAT
To modify the data to add your own coatings, just edit the COATING.DAT file. You
can add your own materials and coating definitions.
See the Users Guide for details on syntax.
The default file name is COATING.DAT. However, any name maybe used, and
each Sens file may have ifs own coating file.
If you modify the COATING.DAT file, be sure to save the modified file in a new
name; otherwise, subsequent upgrades to ZEMAX will overwrite your changes with
a new COATING.DAT file.
Select the desired coating file on the System > Genera! > Files tab.
If you make changes to a coating file once you have selected it in the System >
General > Files tab, you will need to reload it for the changes to become active in
your ZEMAX Sens file. You can reload your coating file via the menu option, Tools
> Coatings > Reload Coating File.
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optica! Design Using ZEMAX
optima'Y^
research
APPLICATIONS
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д research
TRANSMISSION LOSS
Load up the sample file Sequential > Objectives > ’’Wide angle lens 100 degree
field.ZMX”. This is one of Milt Laikin's designs.
Use Tools > Coatings > Add Coatings to Ail Surfaces to put coating "None” on all
surfaces (clearing ail existing coatings on all surfaces). Now select Analysis,
Polarization, Transmission.
The transmission for unpoiarized light is terrible, at about 35-36 percent!
A real lens would never be built like this without coatings, the loss is simply too
great.
We can add anti-reflection coatings to each air-glass boundary, then repeat the
computation!
Add AR to surfaces where we go from glass to air:
• Select Tools > Coatings > Add Coatings to Ail Surfaces
* Try AR coat (1/4 wave MgF2)
Recompute transmission: Now it is 82-85%!
Now try with the high-efficiency coating WAR; goes to 90-93%
So....where does all this excess energy go?
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima ^
research
Open sc_bs2
Here is a simple cube beamsplitter, using a tilted surface interface.
Analysis > Coatings > Transmission vs. Angle At surface 3 is
transmission is 100%, reflection is 0%
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*""
research
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimay^
research
POLARIZATION IN NSC
Polarization ray tracing is supported in both the sequential and non-sequential
component modes of ZEMAX.
When using NSC, the same coating file is used, and coatings may be applied to any
object on the object properties dialog box.
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
Polarization ray tracing involves keeping track of the polarization state of a ray as it
propagates through the system.
Interfaces between media cause diattenuation and retardance, and may rotate the
polarization ellipse, interfaces also reduce transmission as a complex function of
incident angle and wavelength.
Optical coatings improve transmission, and generally reduce undesirable
polarization effects.
Poiarization aberrations cause "strange” effects, such as chromatic aberrations in
mirror systems, astigmatism on axis, and variations in amplitude with pupil position.
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima У
research
BIREFRINGENCE
optimaSy^
research
UNIAXIAL CRYSTALS
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^B
research
REFRACTION LAWS
n0 sin0o ^rijSinOj
The extraordinary ray refracts according to Snell’s law as well, but the index is now
a function of the refraction angle and the angle between the refracted ray and the
axis vector a:
ne(ek)*sin0e =П; sirtO;
f- /\2
1 cos 0k ^sinOkY
n
4 o . ne j
flehkl cos
a*k
8k
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
optimaITVesearch
EXTRAORDINARY DISPERSION
To make matters even more complicated, both the ordinary and the
extraordinary indices have dispersion, and it may be as complex as any other
glass.
To enter the ordinary index dispersion, type the glass name in the LDE in the usual
way.
For the extraordinary dispersion, ZEMAX appends “-E” to the glass name.
Example: If you enter
QUARTZ
• (the ordinary dispersion glass entry)
ZEMAX will look for (and must find!)
GUARTZ-E
* (the extraordinary dispersion glass entry)
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima x research
POLARIZATION PROPERTIES
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
optirm^research
The birefringent surface requires the ordinary giass name (the extraordinary glass is
thus implied), the unit vector for the crystal axis, and the mode.
Since birefringence effects both the refraction into the media, as weli as out of the
media, two surfaces are required to mode! a birefringent element, “Birefringent in”
and “Birefringent Out”. Each "in" surface must be followed by an "out" surface. If this
is violated, ZEMAX will issue an error message. The only exception to this rule is
that any number of Coordinate Break surfaces may be placed between the “in” and
“out” surfaces,
ZEMAX can trace either the ordinary or the extraordinary ray through the surface.
it is often handy to use a two configuration lens, and “zoom” between the ordinary
and extraordinary cases, so we can follow both paths.
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima jTresearch
Load “Birefringent cube.ZMX” from the Sequential > Birefringent prisms directory.
Open a 3D Layout with all configurations shown. Set to color rays by config.
The “dashed” line on the layout indicate the crystal axis orientation.
Open a Polarization Pupil Map {Polarization > Polarization Pupil Map) and set Jx -
Jy - 0.707 (linear polarization) and compare the polarization output for the two
configurations (ordinary vs. extraordinary rays).
optimaV'resea
rch
Copyright© 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'**
™5 research
User Defined Surfaces (UDS) are an extremely flexible way to define unique
properties for any surface in ZEMAX.
UDS are good for all of these applications:
• To model a surface shape not described by any of the “built in” surfaces
* To model a gradient index media not described by any of the “built in”
GRINs
* To model a diffractive phase profile not described by any of the "built in” CGHs
• To model a discontinuous, periodic, or other “weird” surface
* To define an arbitrary apodization function (filter) that can be placed anywhere
• To model scattering or diffusion by a surface
With a UDS you can extend the capabilities of ZEMAX by programming the
description of the surface properties yourself!
Copyright © 2007 ZEMAX Development Corporation 43 Advanced Optica! Design Using ZEMAX
optima ^research
User defined surfaces (UDS) are surfaces that are defined externally to the core
ZEMAX program. UDS are for those times when none of the “built-in" surface
types describe the surface shape or property you need.
UDS can be:
• Refractive, reflective, diffractive, or gradient index
• Any shape, size, phase profile, or arbitrary index profile
• Periodic, such as lenslet arrays
• Non-periodic, such as a single aspheric shape
• Discontinuous, such as a non-periodic array of different lenses
• True Fresnel lenses
• Arbitrary transmission values
• Anything at all!
Copyright© 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'*’*-*
research
Al! the code that defines the shape, phase, grin properties, ray intercept algorithms,
paraxiai properties, “safe” values, column heading names, etc., are at! defined in a
single, external user supplied program.
The program is compiled by the user into a “Dynamic Link Library”, or DLL.
The user then tells ZEMAX which surface uses which DLL.
ZEMAX then calls the DLL whenever ray tracing to the surface is required, or when
ZEMAX needs any specific data from the DLL.
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optics! Design Using ZEMAX
optima^™
research
DLL ADVANTAGES
Compiled and linked DLLs are very nearly as fast as internally compiled surface
definitions, and far, far faster than macros or other interpreted schemes.
Another DLL advantage is that you can define a unique optical element or gradient
index profile, then distribute the DLL to your customer without having to reveai the
exact model used. This can be used to protect proprietary optical systems.
ZDC has, in fact, written these types of DLLs for customers who did not want their
special surface type available to all Sens designers.
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optica! Design Using ZEMAX
optima X research
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'^*’
™ research
ZEMAX also needs the DLL to provide other data from time to time:
• The names of ail parameter and extra data columns the DLL uses.
• Information as to whether the surface is axiaity symmetric or GRIN
• The “sag" of the surface at any point
e This is used only for making layout type drawings
• The “safe” data
о This data is the default “starting" data when the user first selects the DLL as
the surface descriptor; example: radius ~ infinity, conic = 0, all parameter data
= 0, etc...
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
optima^™
research
The full source code for a number of UDS are provided with ZEMAX. When installed
they can be found in \ZEMAX\DLL. The programs are aii written in C.
The provided DLLs make excellent templates to learn from!
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ rc
resear
ch
DLL BASICS
researc
h
STANDARD SURFACE DLL
If ZEMAX passes the value “0B for the “type” argument, it means ZEMAX wants to
know some very basic data about the surface.
If the “numb” argument is 0, then ZEMAX wants to know the name of the surface.
* This will be displayed in the “Surface Type" column
If “numb” is 1, then ZEMAX wants to know if it is axial symmetric If “numb” is 2,
then ZEMAX wants to know if it is a gradient index surface The passed arrays,
UD and FD, are:
* User Data: numbers or strings the DLL may alter or provide
* Fixed Data; numbers provided to the DLL by ZEMAX
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyngbt © 2007 ZEMAX Development Corporation 54 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaX-*
research
Here is a code “snippet” from the most basic sample DLL, USJ3TAND, which
emulates a “Standard” surface type in ZEMAX.
swi tch{FD* >numb)
{
case 0:
/* ZEMAX wants to know the name of the surface */
/* do not exceed 12 characters */
Strcpy(UD-sstring,"Standard Dll"); break; case 1:
/+ ZEMAX wants to know if this surface is rotationally symmetric */
/* it is, so return any character in the string,- otherwise, return a null
string*/ strcpy (OD->string, “l") break; case 2;
/* ZEMAX wants to know if this surface is a gradient index media */
/* it is not, so return a null string */
Ш- ^string [C] » 1 \0' ,- break;
}
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima^™
research
If ZEMAX passes type - 1, then ZEMAX wants to know the name of each of the
parameter columns. If the parameter column is not used, as is the case for the
Standard surface, the DLL passes back a null string. The same is true of type= 2,
except it is for the extra data columns. In both cases, the “numb” integer is the
column number.
/* SEMAX is requesting the names of the parameter columns */
/* the value FD~>numb will indicate which value ZEMAX wants. */
/* they are all “unused” for this surface type */
/* returning a null string indicates that the parameter is
unused. */ switch iFD->n.umb)
f
default;
t!D~>string[03 a '\0';
break ,-
break
,-
Copyngbt © 2007 ZEMAX Development Corporation 54 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
i esearch
If ZEMAX passes type = 3, then ZEMAX wants the “Z” sag value given x and y.
This value may have no more than 2 values; the "sag” and the “alternate” sag,
which may be used for hyper-hemispheric surfaces. No other muiti-valued sag
functions are allowed; ZEMAX can’t deal with such surface types.
For this computation, ZEMAX provides the DLL with an array of values called the
“Fixed Data”. These are numbers the DLL is not allowed to change. They include
the radius, conic, parameter, and extra data, as well as the x and у coordinates for
this computation. Here is the sag formula for a standard surface:
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
optima х” research
TYPE = 4, ZEMAX WANTS PARAXIAL RAY TRACE
Paraxial ray tracing for a genera! user surface can only be defined by the user.
Using “small” angle or height rays don’t work, since some effects, such as axis tilt,
may need to be ignored.
DD->ln * 0.0;
tm~>ffitt a 0.0;
UD~>nn a -I.O;
power s (FD~>n2 - FD»>nl}*FD->Cv;
if 0.0)
{
№->1} = (TJD->1) / (Ш->П) ;
(Ш->Я) = (Ш~>п) ;
(UD-^l) * (FD->nl* - (Ш~>х) *powar) / (FD~>n2) ;
(Ш->ш) = (FD~>nl* - <Ш->у) *pOWer)/{FB~>a2> ;
/* normalize * /
(Ш->п) * sqrt(1/ (1 + (Ш5->1)*(Ш-?1) + (Ш~>»>* (Ш~>т) )
},- /* de-paraxialize */
(Ш->1) » (Ш~>1) * ;
break
;
Copyright © 2007 ZEMAX Development Corporation 57 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
Here is the real meat of the DLL. This block of code takes the ray from the
coordinates provided, and traces it to the surface. For most types of surfaces, the
ray intercept equations cannot be solved in closed form, and iteration must be
implemented. For standard surfaces, the closed form solution is available.
This is a bigger block of code; see the source provided in the \DLL directory if you
need it.
Copyright © 2007 ZEMAX Development Corporation 57 Advanced Optical Design Using ZEMAX
optima X research
'4
TYPE * 6, GRIN DATA
For gradient index media only, ZEMAX will call the DLL with type =6.
Given x, y, z, the DLL needs to provide four things:
• The index n
• dn/dx
• dn/dy
• drt/dz
ZEMAX does the rest of the mechanics of tracing the ray through the GRIN media.
You do not have to code the horrible gradient index propagation algorithm yourself!
The UDS architecture has one limitation: a UDS GRIN cannot be foilowed by
another UDS!
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^"*
research
The “safe” data is data ZEMAX can reiy on to trace rays through until the user
provides some new values.
Typically, this would include a modest or no gradient index, infinite radius, no
aspheric power, etc.
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
optima^ ^
research
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
SAMPLE ARRAY
optima X research
CLEAN IT UP
Copyright © 2007 ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
Copyright © 2007 ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirraV’’’***
researc
h
\y
optima X research
Copyright© 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 68 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
V/
optima research
With a UDS, you can define transmission that depends upon ai! of this ray and
parameter data.
The transmission can be described by:
• A function
• A look-up table
• A spline
• A random number generator
• Whatever!
Most importantly, the UDS filter can be placed anywhere in the optical system;
including a pupil position.
Therefore, a UDS can apodize any beam, not just a pupil function.
Copyright © 2007 ZEMAX Development Corporation 67 Advanced Optical Design Using ZEMAX
optima ^ ™
researc
h
EXAMPLE: A SINUSOID
Copyright © 2007 ZEMAX Development Corporation 69 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Devaiopment Corporation 70 Advanced Optical Design Using ZEMAX
Advanced
\y
Optical Design Using ZEMAX
optima^
research
Here is the source code for the transmission part (which goes under case 5):
UD~>rei_surfJran = (1 + sin(6,28318531 *{UD~>x)*(FD~>param[1]))); UD-
>rei_surfJran *= (1 + sin(6.28318531*(UD~>y)*(FD->param[2]))); The spatial
periods are stored in parameters 1 and 2,
Copyright © 2007 ZEMAX Development Corporation 69 Advanced Optical Design Using ZEMAX
optima “ ™
research
SAMPLE FILE
Open up sc_sinefilter
• Note the EPD is 20; so the radial stop height is 10,
• The radial image height is also 10.
• Look at the PSF.
• Place the UDS US_FlLT6 on surface 1; set the X Period to 0.25 (4 mm per period),
• Compare the PSF before and after. ______________________________________
A
ижттшм* tM«« TULE,
m,
Copyright © 2007 ZEMAX Devaiopment Corporation 70 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
JJ[ research
optima X research
ZEMAX PROGRAMMfNG LANGUAGE (ZPL)
ZPL is a high ievel scripting language that allows automation of common task such
as:
• Performing any analysis in ZEMAX, including Physical Optics Propagation and
Nonsequential raytracing,
• Changing parameters in the editors, as well as the addition and deletions of rows to
the editors.
• Reading and writing to a text file.
• Saving analysis windows as image files (JPG, BMP etc.).
• Optimization (including creating custom operands).
• Opening and saving iens files,
• Saving and loading merit function (.MF) files.
• Exporting to CAD files.
Almost any task that can be performed manually can be replicated using the ZPL.
The ZPL capability is constantly being updated and enhanced. User suggestions
are always welcome.
Copyright © 2007 ZEMAX Development Corporation 73 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 74 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Д
research
We wiii create a simple ZPL macro that changes the thickness following the
middle lens in the Cooke triplet sample file,
1. Open the Cooke Triplet sample file (Samples > Sequential > Objectives > Cooke 40
degree field.zmx)
2. Open Notepad in Windows or any other text editor and enter the following lines
(All characters after the symbols are comments and can be omitted.)________________
- ^>This>Siacro-"Jill’-36t;^.the".surface'Ф thicimess- Eioi,-4^ toД-
? 1:, ?:g:
- if - «рейх» - d^6'Cj»eiii’ ai5sl'fsiS' 's;ind:!5¥S' *акй'ргШи"
й«'да£1:да15-#6'К|;и1.гия-.а£ '.nim tos-, ?■;!■■■
Ж
JOR' i,•4,■ S r >0.1- -># = 1 'доеа’-Ско®'-4".ед* 5s Ш- steps’ о£'0,-it- ■■■■■■■■■■■ . .......
Я--;/:: ■
> snap* , :
#3611-ttS£-8!I£faCS‘$4--tMS3meSS- i евЙе’-ЗУ -'ЕЩ-?.4 Я--.--:--::
OPMTE'All»---■■■■■■ ■■i'^Jpdace'«11*epaii'aiiel-Ysi-s'-wiKijpwsf
> x*i/CaKV(6)j-::.:----:.-'#3core‘Sur£a»?e'i(f6i-riattl«s-jl/cpj'nw,attJE0j.*lB"isuaeEi-c-‘«aEisbl-e’S’j
> &$*"*■>’ * -Redlus-’ of' curvature■ = ■" - «Place- die-i afes l - i*x- the'-str-lng-vasiaMef-AS ’
a: ■ . . ....
f'
■*> ■ >: • ffi-шгк? • loop-- to - slow* dowi> the - mac re- exe a cut i ona
■ .
». ...» , : FOR• й, .1ДЕ7, 1V ■ ...................
" -A-: ' :K£XT> . .:-.^..:-/riCiQSe-t-h^
®.:
.- :.»v .-#С1озё‘:£йа'-1':1ойрн5
Copyright © 2007 ZEMAX Development: Corporation 73 Advanced Optica! Design Using ZEMAX
optima X
research
It is that simple!
Copyright © 2007 ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
76Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
• All macro commands fail info 2 main categories; keywords and functions. Typically,
keywords set the parameter values in an editor or system settings where as functions
return values computed by ZEMAX. Keywords can also perform tasks such as opening
and saving files, optimizing, exporting graphics and CAD files, updating windows, etc. In
the sample macro we just created, the commands FOR, SURP, UPDATE, PRINT NEXT
and END are all keywords.
• There is a full list of the available keywords and functions in the ZPL chapter of the ZEMAX manual.
• Functions are subdivided into numeric and string types. Ail functions have parentheses
next to them in which the argument(s) are specified, in the sample macro, CURV{6)
returns the curvature value (t/radius) of surface #8.
* Example of a generic math numeric function is SINE(x) which returns the sine of an angle x.
* Example of a string function is $GLASS(i) which returns the glass name of the 'f surface.
1
• Arguments for keywords are separated by commas. The arguments for the SURP
keyword, which sets the specified surface parameter in the Lens Data Editor, are:
* SURP surface#, code {i.e. which parameter to set), value of the parameter
• Variables can be either numeric or string. String variables have the “$” suffix.
• You can perform mathematical operations, including iogical operations, to numeric and
string variables.
Copyright ©2007 ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
optima Xresearch
• You can save any open analysis window as a graphic file. For example, you can
modify the sample macro to save the analysts windows as image files (JPG,
BMP, etc) at each step,
• You can open lens files. If you want to analyze a large number of files, like saved
Monte Carlo files, macros are the way to go.
• You can read and write ASCII files. For example, instead of printing values to the
text window, you can save them to a text file for later review.
• You can optimize using macros. For instance, you could automate the process of
optimization for different sets of starting parameters,
• You can wife your own optimization operand using a macro.
• You can build the default merit function or load/save merit function files. A macro
could optimize a system several times, each time with different merit function
(i.e, design goal).
• You can post-process saved Physical Optics Propagation resuits, like summing
(coherently or incoherently) two saved POP beams.
The sky is the limit! For more information, see the ZPL chapter of the ZEMAX
manual or the “Programming ZEMAX" tutorials in the Knowledge Base.
76Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
research
ZEMAX EXTENSIONS
Copyright © 2007 ZEMAX Development Corporation 79 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\,y
optima^*'*
research
ZEMAX EXTENSIONS
Copyright @200? ZEMAX Development Corporator! 79 Advanced Optical Design Using ZEMAX
optima^ «=
researc
h
ZEMAX EXTENSIONS
Copyright © 2007 ZEMAX Development Corporation 81 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 82 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
Extensions and ZPL macros can perform many of the same tasks but there are
some differences:
• Macros are interpreted while Extensions are complied.
о Extensions are faster than macros for complex calculations (like FFTs).
• Macros are easier to create than Extensions.
о ZPL syntax is fairly simple, like BASIC (no compiler required), о Extensions
require a stand-alone Windows compiler (C or C++) or a DDE- enabled
program.
in general, Extensions are preferable over macros if:
• The computations required are complex.
• You want to share the capability that you created with others but you do not want
them to see your source code.
• You want the capability that you are creating to look and feel like a built-in ZEMAX
feature.
The ZCL1ENT code that comes with ZEMAX (in the 2EMAX\Extend directory)
contains all of the underlying code that you will need to communicate with ZEMAX if
you are writing your own program!
Copyright © 2007 ZEMAX Development Corporation 81 Advanced Optical Design Using ZEMAX
optima ^research
DATA ITEMS
ZEMAX has a large list of data items that are used to build extensions
• Data Items are similar in form and function to keywords and functions in ZPL macros.
• The Extensions chapter of the ZEMAX manual has a full list of all available data
items.
For example, we demonstrated the GetSeriai data item (which returns the serial
number of your ZEMAX hardware key) earlier.
Data items are case sensitive!
Typically, data items have the following syntax:
• ItemName,argument! .arguments arguments,.,.
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 84 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
To demonstrate the data items, we will use the Command Line Interface extension
• This extension allows you to enter and process any data item, one at a time
• The Command Line interface extension was written in Visual Basic
о Ail of the source code for this extension is in the \ZEMAX\Extend directory!
Unlike ZPL, extensions are always working on a copy of the lens data. This copy is
completely separate from what you see in the editors in ZEMAX.
We need to explicitly teil ZEMAX that it is OK for extensions to change the data
in the active lens file. This is called "pushing" data—the Extension pushes the
data from the copy it is working on into the editors in ZEMAX.
Open the menu option, "File > Preferences” and choose the Editors tab. Check the
box “Allow Extensions To Push Lenses” ............
: ■ Jj? ■ v.
/£'■>?.I /, Cared
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
optima
^research
COMMAND LINE INTERFACE
Try out the Command Line interface right now (Extensions > COMMAND LINE
INTERFACE). In the text box at the top, type the following;
* Load File,C:\Program Files\ZEMAX\Samp!es\Sequential\Objectives\Double Gauss
28 degree field.ZMX
e This loads the Double Gauss sampie file
• Open Window, L3d
о This opens a 3D Layout
• SetFieid, 3,0,25
о This changes the Y-Field coordinate for field 3 to 25 degrees
♦ GetsurfaceData,3,4
о This reports the glass assigned to surface 3
Feel free to experiment with other data items and experience the power
and flexibility that ZEMAX extensions have to offer!
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^
research
V"
optima
дresearch
GAUSSIAN BEAMS ARE PARAXIAL
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opting
research
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
'W
optima”
research
Gaussian beams have an intensity profile that goes as ЕХРНг/ю)л2], where r Is the
radial coordinate and ш is the beam radius at the 1/ел2 point. The beam is
narrowest at the beam waist; and diverges away from the waist. The wavefront
phase is a plane at the waist, and has a spherical radius R away from the waist.
Wavefront, radiu
Waist
f
'Boundary of
beam
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optin
.«* о IMPORTANT RELATIONSHIPS
searc
h
Rayleigh range:
* Distance from beam waist to point of minimum phase radius
Phase radius: 2
R(z)~ z +
z
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
optima X research
MORE RELATIONSHIPS
Beam size:
* Minimum is atz = 0
* Measures distance off axis to 1 / e squared point
0 = tan 1
—
zr
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Xresearc^
11
““““ = Ф + zr~
At index boundary:
• Ail transverse properties are conserved
* Waist and beam size invariant
* Wavelength scales by index
• Rayleigh range and divergence both
change
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optica! Design Using ZEMAX
EXAMPLE
A HeNe laser beam has the following specification, measured at the output port:
• Wavelength: 0.6328 microns
• Diameter: 2.5 mm
• Divergence: 0.175 mrad
о This specification is taken from a Melles-Griot HeNe laser 10 mm after the laser
is a 5mm thick BK7 lens. The image plane is 100 mm beyond
the lens.
Problem:
• Design the lens that gives the smallest Gaussian spot size at the image plane.
Copyright© 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ ™
research
NOTE!
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optima^
research
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^™
research
INTERACTIVE CALCULATOR
Analysis > Physical Optics > Paraxial Gaussian Beam (or Ctrl-B)
The beam waist is 1.15 mm. Check with the calculator that this gives the correct
divergence at surface 2:
S.5G36GE • GO3:
, ■ 1.O0OOOE+QQ2 l
. .i Z--!~ '■ '■ hierti
; -Б'ЗЗЙОРЕ-ОШ; ш :- \л -JAUjt■ cor-:
Copyright © 200? ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
4^
optima^™
research
WAIST LOCATION
Surface 1 is the beam waist, and its radius is 1.15 (sets divergence of 0.175 mrad)
Surface 2 is the laser beam output and should have a beam radius of 1.25 What
should the thickness of surface 1 be to get this output?
Let ZEMAX do the work:
• Make thickness of surface 1 variable
• Optimize using GBPS to make Gaussian beam waist on surface 2 “1.25 (set WO -
1.15)
• Separation is about 2.8 meters!
Surface 2 is now effectively the output face of the laser!
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Deveiopment Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima jT research
X
NOW ADD THE LENS
Add a 5 mm thick BK7 lens 10 mm from surface 2,100 thickness to IMAge surface
FlF ;
” ifi:ii '"v' ■? ' ' ^^
, Sur£:Type :■■■■■■■■■■■ Radius Tfaic&ness Glaaa j |:. Sent!
Standard. Comment. “Diameter ,■: i
Infinity ■:.:: Infinity
г
ова
0.0000
ST0 Standard -..-■■■'■ВЕЖ Infinity 2796,0802 У 3.0000: L
• • •• Standard WAIST
: LASER Infinity ■■ ' З.ЕЮОО: h
■: 3c№;j«d OUTPUTК-Р!” 0УPORT
LILT T.fjin ■ J 10,0000
S.CW5 ® 3K7 .. ;-.o:oo b
:■■ Standard BACK OF LESS ...Infinity : 100,0000 . ■"■■"■'■"■■" J
■■ .- 4 ■"■З.-ОООО
ISA
Standard ■Infinity -
■■ ■■ -з,оооо
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
research
OPTIMIZE!
.... . '■■■1 1 ■ ■■
',FZ 7. I"-'.
' :c- ■ -
Wairt h.- :
Z ■'
) JTV дате j jjagii ■ \ . - .-j.-'.i ■
Copyright© 2007 ZEMAX Deveiopment Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaN^
research
That’s iti
Gaussian beam calculations limited to Gaussian parameters like beam waist, phase
radius, Rayleigh range etc. in spherical or cylindrical systems.
Cannot discuss MTF, PSF etc. of a Gaussian beam (PSF of a Gaussian is just a
Gaussian).
Only real use is incorporating beam divergence.
POP allows more detailed analysis.
Save file as Gaussian beam.zmx for later use.
Note focal plane is not at paraxial focus {99.4 mm), best spot focus (99.3) or best
wavefront (99.35).
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optima^
research
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Д research
Skew Gaussian Beams may enter an optical system at any surface from any field
position, and may travel through the optical system off-axis.
The Skew Gaussian Beam parameters are computed using real rays and account
for astigmatism but not higher order aberrations.
Example:
* The laser beam enters our lens at 5 degrees
* What is the beam waist at the image piane now, and is it still circular?
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optimN<
research
SKEW GAUSSIAN
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
SKEW GAUSSIAN
Analysis > Physical Optics > Skew Gaussian Beam
Can specify waist in x, у Check results for on-axis
• same as
Paraxial
Gaussian Beam StwivCifUiwirtn fiertm Selling;:
1] 1
calcuiation :!."5 V.'L-cZmc'.h- ■i .r.i
■i..............
■имн
:
End Surface ■ *■
I -j
■
:
. ' СавРе!;|'-; Save j t,oad: j- В--* Hep ]
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optica! Design Using ZEMAX
. 1ЧагмЗгШйЛ^й 1: suits:.
Su* Si** :: Position S^diUS- ... .: Eaylsigiv
•• г •i^S4S$X+:000. ..1. is 000*4000 0,OOOflOlfOGO: Davsi^eaice-.-
••: InifXunity. .Л.:?$209Х-й04:-: • tfi-
s7o-- ■X.2$$S1%?№Q. ,i..isocto^oao 2,0067654003 ■ 1,3X^754-004: .:!.: 7 52035^0 SSSSOX+OOS-
€i563£0S+Q03-
■3 i-£SS97E4-.OQO: 421147&E-O02 "3,е?951в+оог »3;3836SS;fGQ2. 04 :
. :3.-232О5Е- I.273O3K+00i-
1.239432*000: .':iv€X7S3X-002 -0;9300€B400i ~С03'.
-3:33i7WKif- :I,.2'45SS5“0Q2 X.S9662B+G0Q-
••Z;'04333 E- 1.002433+000: •• 2 ;• 001':'
634715 ••х,г4«$$*"ваг--- • 4^23062
009" ■ +30$: ‘ B+000--
?undafaenbai Hode ..............
• .-.•••: -
'Зчг- • • •• •••Si»* Waist-. .- -.So-s-xtisn.- • --fcaditts Rayleigh.
• • •ll/iSOOOIfOOO; . -U 150002+OOO' O.GOGOOS+COO . . . Imfi-nity 1.7520SS-004 6,5£3€OS+C03
1:
:- ■ ■LJZS 073540 •lci5000S+000 2,306705+003 ::X-Si.557B+QG4 752035~OQ4 • •.S35S3602+-003
STO:3 1_-2£Х43В*0Щ>::
DO:-. : 4 ;• -3. 6948511+002. .*■£, 399X2B4-Q09 . .3,211563-003: •:
4 .■i .-га вдэдго 14134X^002
:- • L, 237053-002:.
■*9.98й49Я+001 ,1* 3X4842+000
o.&- :-i*627S5S"Q02
IKA . !>• 740398-00 l.,.62765X-:002- S.IS715X-QG1. ::3,e5?9SS*000-' i.237S5E~0Qt ••
'.1^314842*000'
2:-
optimaN^
research
OFF-AXIS
i K\:\ - i s
Start-1®'.-waist: distance.;-.О,0000054-000
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
SYSTEM EFFICIENCY
The system efficiency, S, is the fraction of the energy in the input beam that exits
the opticai system: Г г и , ^ л n2
S = JwyjFsix.yjdxdy
JjFs(x,y)dxdy
Fs is the source fiber function. The integration is done over the entrance pupil of the
system, t(x,y) is the transmission function.
if the source is a fiber, light from the fiber may fill, underfill or overfill the entrance
pupil, if the system aperture is too small, the system efficiency will decrease.
if the source is not a fiber, then the integration is over the pupil.
The system efficiency value is determined by the input NA, entrance pupil size and
position, apodization, transmission of the optics, and vignetting.
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima 7 r<
=
research
ч
RECEIVER EFFICIENCY
The receiver efficiency is the fraction of the transmitted energy that couples from
the exit pupil to the receiving fiber. Mathematically, this is the normalized
overlap Integra! between the fiber and wavefront modes:
||jFr(xIy)W,(xiyjdxdy|2
IlFr,{x)y)Fr(x)y)JjW(x,y)W'(x,y)dxdy
Fr(x,y) describes the mode of the receiver fiber and W(x,y) describes the wavefront
at the exit pupil These are complex valued functions: this represents a coherent
overlap integral
The integral is calculated at the exit pupil A Fourier transform is used to determine
efficiency at the receiver.
The maximum value of T is 1.0 will occur if there is a complete match between the
amplitude and phase of the receiver and wavefront.
Aberrations, or phase errors, will affect the coupling into the fiber as will the NA of
the receiving fiber.
Copyright © 200? ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
optima x research
/X
COUPLING EFFICIENCY
The fiber coupling efficiency is the amount of source energy which gets coupled into
the receiving fiber. The coupling efficiency is the product of the system efficiency
and the receiver efficiency.
The calculation can also model any alignments of the source or receiver fiber.
The source does not need to be a fiber:
•If it is a fiber, the NA defines the sine of the half angle to the 1/e z intensity
•The NA in the x and у directions can differ (as with a diode)
The source and receiver can be adjusted to follow the chief ray Polarization effects
can include reflection loss from the receiver face •Set the image space glass to the core
material •Tilted faces can also be considered •Use aperture on image surface to match core
radius
Copyright© 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opti ma^research
OPTICAL INTERCONNECT
■■■■.■ C-i^C^Scaft'daild
infinity 1.ЫЛ.
■: 1.4093
.
ry::
Ш
i.coo; c
jvfrjfij'hdop tr
3s;
IHA. ' ■ ■ Standard Infinity . "■r" '■■'■'Q, QS31
optima X
research
COUPLING EFFICIENCY
Select Fiber Coupling Efficiency from the Analysis menu > Calculations. Open the
setting box to check the available parameters. We want a circular source N A of
0.1 and a receiver NA of 0.1.
Copyright© 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
COUPLING EFFICIENCY
optima^»**
research
FICL
The location of the minimum spot size may not be the best focus position for
coupling efficiency.
Try using the optimization operand FICL instead:
•insert a new operand position at the top of the MFE
•Enter FiCL as the type, and press enter.
•The available parameters are:
oSampiing: 1 means 32 x 32, 2 is 64 x 64,
etc. oWaveiength number «Field number
oignore source: 0 indicates source is a fiber, 1 it is not
oSource NA oReceiver NA
•Set the sampling to 2, accept the other defaults, set a target of 1,0, with a weight of 1.0,
and reoptimize.
Copyright© 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^search
FICL
jljjj
v.-sftd-:№
Receive* Secernse* X .................. ■■■■;■ О.ШОООб
Receive*. &e.ce8ts*-Y-.-- 0,000000
• •Receiver Decenter Z : O.OOCOOO •
fieq3iver-• ХхХъ. About •: o.oooooe
Receive* ■■ Tile-ibeut Y (deji . o.ooooco
' The system efficiency is the fraction of the energy cii tire-
Ззашл. that esics tha: optical:- systes.. This value - is defemiliei
.the.--input r.a, .entrance pupil site and.position.* apodisation,:-
••tE missis si on o f the. optics,, find vignetting.-.-
optiiraV^
research
Open up the Paraxial Gaussian beam calculation. Open the setting box. Assume a 8 micron
diameter fiber (0,004 mm radius). The initial waist is at file source (surf 1 to waist = -2).
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced
\y'
Optical Design Using ZEMAX
S
optima"^
research
The results indicate that the Gaussian beam waist is slightly offset from the
geometric calculation. The distance from the beam waist to the image surface is
about 72 microns. The fiber position would need to be adjusted by this amount for
maximum efficiency.
Fim&amennal .made
results:
Sur Wad-sis' Position" Padrus 'Divergen ■■■Raylei
OBJ- 4.000008-003" 4.000008-003 ,0.0000084000 Infinity' .76 ce ■' gh- 91139168-
1 - 17114001 ,8 '4.373978-002 002'. 3--
STB' 6v 017984001 1.12782- 003 S35S3S480J; .
. " 8.640922-002
■ 6$0Q£SrO.O&
3*&071SS-G03 1.12782- 003 3vS3SS3E40Sl'
3 sm
■ ■ ■■5-058038- :
3i 807188- 4 :-Е9£192- S. 27931S-
003 ■■ 003 £302 0D2■
4.59S19B-002 3.279318-
032■
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
optima^ research
hhALojj.u.us
'Ш fair !
тгф>тж: “SAb-
¥ yViossi
w 11
-Sawpiine; : 0:
7.'-г; ! Г=,-.ГГ 1*4. : L-ld I I I !d|:
: I-
I ■■■* I I.
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
UNIVERSAL PLOTS
The “universal” plots are a quick way to generate a plot of anything the merit
function can compute as a function of any prescription data parameter (surface,
system or configuration) in ZEMAX. Both ID and 2D Universal Plots are available:
• The Universal Plot 1D displays the value of any optimization operand as a function
of a single parameter.
• The Universal Plot 2D displays the value of any optimization operand as a function
of two parameters.
The parameters), or independent variable(s), can be anything from the radius,
thickness, conic, parameter values, extra data values, wavelengths, fields; etc.
For the dependent variable, choose any of the roughly 300+ optimization operands
(even those calling macros or extensions) or the entire merit function; with any
settings you like.
For this application, we will use the FICL operand to plot the fiber coupling efficiency
as a function of the x and у decenter of the receiving fiber.
Copyright ©200? ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
optimal
research
UNIVERSAL PLOT
insert a surface before the IMAge surface and change the type to Coordinate Break.
Open up a 2D Universal Riot (Analysis > Universal Plot > Universal Plot 2D > New
Universal Plot 2D).
Open up the settings dialog.
For the independent variable X:
9 Surface Parameter 1 On surface: 4
• Start value: -0.01 Stop Value: 0.01 # of Steps: 51
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaдresearch
... .'| г
П- i ;!RCT шшяш
r
Sp'v”" ...... ? 88§§fi§||§§III
0
явш ■■ ■■
&:
:■
■ | F<23? Cota * “ ■ • •■■■
e
:■ ;.Cv
•nem&/:
. ■; ■ ■ i '
;
I -OK I krtp# | . -:
Need to catch up? Open sc_fiber3
Copyright © 200? ZEMAX Development Corporation 35 Advanced Optical Design Using ZEMAX
optima X research
I ДдввЯк д
Ш ма ИИ иШШи1
ШГЯЬ.
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
PHYSICAL OPTICS
PROPAGATION
research
Introduction
Geometrical vs. Physical Optics
Diffraction Propagation
Methods The Pilot Beam
Propagation Through Optical Surfaces
Polarization
Examples
Copyright ©2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optica! Design Using ZEMAX
Advanced
\y
Optical Design Using ZEMAX
optima" «
research
INTRODUCTION
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
research
Copyright ©2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optima ^ »*'
research
GEOMETRICAL OPTICS
Advantages to rays:
• Simple to propagate through any shape surface.
• Gradient index and arbitrary surfaces easily traced.
• Fast.
• Accurate enough for most applications away from diffraction-limited
focus.
Disadvantages to rays;
• Rays do not accurateiy represent the beam;
о Near focus
о Away from focus but near the edges of apertures
о For propagation of nearly collimated ray bundles
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optica! Design Using ZEMAX
optima ^research
Copyright ©2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima/ ™
research
PHYSICAL OPTICS
Copyright© 2007 ZEMAX Development Corporation 43 Advanced Optica! Design Using ZEMAX
optima%\research
Advantages to POP
* Easy to propagate through homogeneous space.
* Accurate representation of amplitude and phase on any plane or spherical reference
surface.
* Accurate all along the beam, near focus or not.
* Accurate modeling of diffraction during propagation.
* Accurate diffraction from edges and apertures.
Disadvantages to POP:
* Siower than ray tracing, not a big dea! for modem computers.
* Difficult to propagate wavefront through non-planar optica! surfaces.
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
46Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^
research
Copyright© 2007 ZEMAX Development Corporation 45 Advanced Optica! Design Using ZEMAX
optimaV^
research
FRESNEL NUMBER
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
46Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima”'^
research
DIFFRACTION PROPAGATION
OBSERVATION
POINT :
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
optima^™
research
NON-COLLIMATED BEAMS
For beams that are not collimated, the concept is the same.
A converging beam has a small Fresnel number if the observation point is near
focus.
A perfectly spherical beam converging to a focus has a Fresnel number of zero.
• There are no zones where the phase goes through к.
As the observation point moves from focus, the Fresnel number increases.
• Some similarities to interferometers.
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical ttesign Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
NEAR AND FAR FIELD
When the Fresnei number is small. <1, the observation point is in the “far
field” relative to the beam.
When the Fresnei number is large. >1, the observation point is in the “near field”
relative to the beam.
Near and far are relative to the propagation from the current beam iocation to the
observation point.
♦ Near and far are not relative to anv beam waist or other reference.
Example: consider a paraxial lens focusing to a point
• Propagating from the exit pupil to focus is the far field.
* Propagating from focus by say 1 mm is the near field.
• Propagating from the exit pupil to say 1mm before focus is the near field.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optical Design Using ZEMAX
optima^™1
researc
h
PROPAGATORS
The angular spectrum propagator works well when propagation distances are small
or the beam is nearly coliimated.
• Use angular spectrum propagator for iarae Fresnei numbers
* Rule of thumb: if beam size does not change significantly, use angular spectrum
propagator
For smalt Fresnei numbers, where the beam size will change significantly, the
Fresnei propagator is the method of choice
Copyright © 200? ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Jjr research
CHOOSING THE CORRECT PROPAGATOR
Copyright © 200? ZEMAX Development Corporation 51 Advanced Optica! Design Using ZEMAX
optirnaV'™
researc
h
FRAUNHOFER DIFFRACTION
Copyright © 200? ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^™
researc
h
DIFFRACTION PROPAGATION CHOICE
In summary:
• Near focus to near focus:
о Propagate using angular spectrum technique.
• Near focus to far from focus:
о Propagate to focus using angular spectrum technique о
Propagate from focus to far field using Fresnel technique
• Far from focus to near focus;
о Propagate to focus using Fresnei technique о Propagate to
near focus using angular spectrum technique
• Far from focus to far from focus:
о Propagate to focus using Fresnel technique о Propagate
from focus to far field using Fresnel technique
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
\y
researc
optim
>Yh"
THE PILOT BEAM
The pilot beam is used to assist the POP algorithm in selecting appropriate
propagation algorithm.
• Pilot beam is ideal Gaussian
• Initial parameters generated by fitting Gaussian parameters to initial distribution
Pilot beam is propagated from surface to surface
• At each surface, the pilot is recomputed: new waist, phase radius, etc.
• Properties of pilot used to determine if actual distribution inside or outside Rayleigh
range, what propagation algorithms appropriate.
о Pilot beam waist locations and divergences determine optima! sampling and
propagation algorithm choice
After passing through an aperture that truncates the beam, it may be required to re -
define the pilot beam.
• More on this later.
Copyright © 200? ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
jQresearch
SAMPLING
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
optima X research
,? 4
f
v
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^rl
researc
h
MORE PROBLEMS,,.
Copyright © 2007 ZEMAX Development Corporation 57 Advanced Optica! Design Using ZEMAX
\X
optima/ ™
researc
h
SOLUTION: PROBING RAYS
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
" :!
i.л:■у.
‘ C (suaRetaraffe ;
j,= : jd i Jggijggl
......
Copyright ©2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
optima"^
research
POLARIZATION
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^; research
RESULTS: A GENERAL, ROBUST PROPAGATOR
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
optima ^research
MEMORY REQUIREMENTS
Geometric ray-tracing generally requires little RAM:
• Each ray can be traced independently.
Physical optics requires the entire beam grid to be stored and propagated at once.
ZEMAX uses 8-byte, double-precision numbers for ail beam data.
• 16 bytes needed for each pixel, field is complex
о 32 if using polarization
Computing the surface transfer probing ray set requires 56 bytes per pixel.
Computing the output display data requires 8 bytes per pixel
Peak requirement is 16+56=72 bytes per pixel for unpoiarized beams, 88 for
polarized.
• Output display data and transfer grid not required simultaneously
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima IT
research
MEMORY REQUIREMENTS
For a 128 x 128 polarized beam, need about 1.6 MB memory
For 2048 x 2048 polarized beam, need 403 MB!
Operating system, ZEMAX itself, other programs also need RAM
• 256 MB is useful ‘'minimum” for POP
To conserve RAM, you can check the option “Use Disk Storage To Save Memory”
in the POP window settings > General tab, if this option is checked, ZEMAX wil!
store the surface transfer array (at 56 bytes per pixel) in a temporary file on disk.
White this does save RAM, the propagation will be slower (generally on the order of
10 to 20).
Beyond this, if ZEMAX needs more RAM than is available, it will page the entire
propagation out to disk and be hundreds of times slower (or worse).
Be care when using Session files for cases where you have many POP windows
open...re-opening your ZEMAX file could take a very long time!
Copyright© 2007 ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
maS***
r*
optima X
research
DEFINING THE INITIAL BEAM
X and Y~Sampling define the number of points used to sample the beam.
• Larger values more accurate, but longer computation time, needs more RAM.
X and Y-Width is measured in lens units.
* Beam width is independent of semi-diameters
• Larger widths have more empty space surrounding beam
e Empty region called guard band
о Aiiows room for beam to expand as aberrations introduced
о Necessary to prevent aliasing
* Auto button is good starting point, may be modified if needed
о The Auto button sets the width to maintain approximately the same number of
pixels across the beam both within and outside the Rayleigh range.
!!C>P
Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\,
optima^-
research
BEAft/l PROFILES
Copyright © 200? ZEMAX Development Corporation 3 Advanced Optica! Design Using ZEMAX
optima ^
research
USER-DEFINED TABLE
The table of values must be placed in either a binary or ASCII format file and read
from disk. File must have ZBF extension. All ZBF Beam Fites must be placed in the
\POP\BEAMFILES subdirectory.
Binary format:
• The binary format is same as files generated using “Save "Save Output
Beam To:" option
• Ail integers are 4 bytes. All doubles are 8 bytes.
Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
BEAM PROFILES
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optima ~
research
USER-DEFINED TABLE
The table of values must be placed in either a binary or ASCII format file and read
from disk. File must have ZBF extension. All ZBF Beam Files must be placed in the
\POP\BEAMFILES subdirectory.
Binary format:
• The binary format is same as files generated using “Save "Save Output
Beam To:" option
• All integers are 4 bytes. Ail doubles are 8 bytes.
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*™
research
USER-DEFINED TABLE
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
optim^Vresrarch
USER-DEFINED TABLE
ASCII format:
A: indicates an ASCII file.
version: The format version number, currently 1. nx: The number of x
samples, ny: The number of у samples.
ispol: The "is polarized” flag; 0 for unpolarized, 1 for polarized.
units: 0 for nun, 1 for cm, 2 for in, 3 for meters.
unused 1: Currently unused, may be any value.
unused 2: Currently unused, may be any value.
unused 3; Currently unused, may be any value.
unused 4: Currently unused, may be any value.
dx; The x direction spacing between points.
dy: The у direction spacing between points.
zx: The z position, relative to the pilot beam waist, x direction.
Rx: The Rayleigh distance for the pilot beam, x direction.
wx: The waist in lens units of the pilot beam, xdirection.
zy: The z position relative to the pilot beam waist, у direction.
Ry: The Rayleigh distance for the pilot beam, у direction.
wy; The waist in lens units of the pilot beam, у direction.
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
USER-DEFINED TABLE
ASCII format (continued):
lambda: The wavelength in lens units of the beam in the current medium.
index: The index of refraction in the current medium.
re: The receiver efficiency. Zero if fiber coupling is not computed.
se: The system efficiency. Zero if fiber coupling is not computed.
unused 1: Currently unused, may be any value.
unused 2: Currently unused, may be any value.
unused. 3: Currently unused, may be any value.
unused 4: Currently unused, may be any value.
unused 5: Currently unused, may be any value.
unused 6: Currently unused, may be any value.
unused 7: Currently unused, may be any value.
unused 8: Currently unused, may be any value.
Ex real value for point 1 Ex
imaginary value for point 1 Ex
real value for point 2 Ex
imaginary value for point 2
etc... for 2*nx*ny Ex values.
If polarised, followed by 2*nx*ny Ey values.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
\/
optima X research
OPTIWAVE
ZEMAX has a conversion utility to read .3df files produced by OptiBPM and
OptiFiber, produced by the Optiwave Corporation, Ottawa, Canada
This allows ZEMAX to read modal field files produced by Beam Propagation
techniques in these codes
These codes also read the ,zbf file format, so data from a ZEMAX simulation can be
read back in
ideal for waveguide and fiber coupling simulations:
• Waveguide mode in OptiBPM
• POP through coupling optics
• Output mode goes back to OptiBPM
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
USER-DEFINED DLL
The algorithm which computes the initial complex electric field must be written and
compiled into a Windows Dynamic Link Library (DLL).
The DLL:
• Allows the beam to be computed from parameter data
• Can access parameter data entered on POP dialog box
• Can label parameter entries on POP dialog box
• DLL computes beam array and passes it back to ZEMAX
Sample DLLs are provided, with source code in C,
All Beam DLL Files must be placed in the \POP\DLL subdirectory.
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optimaV5^
research
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
THE DATA ARRAY
Copyright © 200? ZEMAX Development Corporation 11 Advanced Optica! Design Using ZEMAX
return -1;
Remainderfoltows...
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
V/
optimart ДA research
r
gx =■ (x/wx);
gy = (y/wy);
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optica! Design Using ZEMAX
optima
researc
h BEAM SAMPLE DLL
amp = peak*exp{-(gx*gxtgy*gy)}•
data[10] - amp;
data [11j -
0.0; if
(data[3j > 0.0)
data[12] ■= amp;
data[13] ~ 0.0;
return 0;
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Opticas Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
The names of the variables passed to the DLL can also be set. Up to 8 parameters
are available to the DLL.
infc decispec (dllexport) API:ENTRY UserParamNames (char Mata)
{
/* this function returns the name of the parameter requested. */
int i;
i - (int) data [0]; s t r c p y ( d a t a , ; if (1 1)
strcpy(data,"Wx");
if (i 2 } strcpy (data,"Wy"); return 0;
}
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optics) Design Using ZEMAX
optima'*^™
researc
h
MULTIMODE
A multimode beam sum can be defined in a user defined ASCII text file.
• The file must end in the extension .ZMM and must be stored in the \POP\BEAM FILES
subdirectory
ZMM files are constructed based on a simple command-based syntax which is used
to define the multimode beam. The “master” beam is initially set to zero amplitude
over the entire beam.
Each contributing mode can then be either a top hat beam, arbitrary order Hermite-
Gaussian, or user-defined dll.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optin ^search
MULTIMODE
The syntax for constructing ZMM files consists of the following commands:
! Comment COHERENT
* AH modes following the COHERENT command will be summed in a coherent
fashion.
INCOHERENT
* Ail modes following the INCOHERENT command will be summed incoherently. All
phase information ss lost when summed incoherently.
PHASE angle or PHASE RANDOM
• This command can be used to multiply subsequently defined beam modes by a
complex factor {determined from the specified (or random) phase angle).
GW weight waistx waisty decenterx decentery aperturex aperturey orderx ordery
• Defines a Gaussian Waist which is summed to the master beam.
TH weight waistx waisty decenterx decentery
* Defines a Top Hat beam
DLL weight DLLJsiAME paraml param2 рагатЗ
• Defines a mode based on an external beam DLL
For more information, see the ZEMAX user’s guide.
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optin i« . i
v*search
POP EXAMPLES
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optiira^™
researc
h
FREE-SPACE PROPAGATION
f я \ (и* IU* w И W йм i I 1ч/1 I iVIl
Before we deal with the complexities of adding optical components, consider some
examples of physical optics propagation in free space:
* Fresnel numbers
* Talbot imaging
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
optima^research
FREE-SPACE PROPAGATION
A,Fn
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
SETUP
Set semi-diameters to 100 mm so you can see observation point surfaces. Save
File as Fresnel Zones.zmx
Copyright © 2007 ZEMAX Development Corporation 21 Advanced Optical Design Using ТЕМАХ
optirraN^
research
LAYO
Here is the resulting layout: UT
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima***™
research
INITIAL SETUP
-"i- : ■■
:i
.i :
'T
Copyright © 2007 ZEMAX Development Corporation 23
optimaVfesearch
DISPLAY TAB
Choose to display ■cross-section, save data at all surfaces.
X-
■■■■■ :N',
’
R S!*wA$V r '.jCrassX -wjCaStfSirc ' | Carte
Beam ] iilBiiWI
. P' SaMe.Outpui ■■>>■■ Г: ' f rasnai Eentes.ZB F| 7;..........
Ф Seve-Seara A1A!; Surface*'
. .;i^o Ptwefar ReNaveisradiartt* fetew: ■'' R рШ ........
■---pSttSwfe-.'' '.VR .R.,,.|0
.........................
' EtmlowPoftaal.
Ш111Ш11
Zddrolre ‘ ’’ . -.|Йо2отп) _rj 1
ШЩ
Save'-'■ \ - '.■'-''ioatf! i’ .'-Reset j
:
таят
■У-.. ■
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ ^
research
CALCULATE
optima X research
BEAM FILE VIEWER
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^l
research
SAMPLING MATTERS...
The beam sampling has a clear effect on POP accuracy Change the sampling to 32 X 32
Jу j J К!
■|at x за ммл*| ■tmi* IMS ЯИЧДО1
Ш jj
В «*wm
s IT
t а.вэвч
1 l s
1 7,Bam
x сотеслЗите мияз ТЛв>*
К СООИЕЕНВТЕ WLLK
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
optima X research
T(Xz) = e(~“>'Azp2)
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^»*e
research
TALBOT IMAGING
A single spatial frequency p cycles between pure amplitude and pure phase to pure
amplitude with an axial spatial frequency of
char
Up2
Propagating by the characteristic length (one-quarter of a Talbot cycle) resuits in
conversion of amplitude modulation to phase modulation.
A further propagation by the characteristic length converts the phase modulation
back to amplitude modulation.
Open the sample Hie \Samples\Physical OpticsVTalbot Imaging.ZMX
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima ^research
TALBOT IMAGING
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced
V/
Optical Design Using ZEMAX
optima" research
On Dispiay tab for the POP analysts on surface 3 and setup the "Beam Definition" and
“Display" tabs as shown below;
Copyright© 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
optima^ research
INPUT DISTRIBUTION
Look at the irradiance and phase output at surface 1 using the Beam File Viewer.
The aperture imparts a modulation purely on the amplitude of the wavefront
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
TALBOT IMAGES
This shows the irradiance distribution after the wavefront propagates one-haif
Talbot cycle (surface 2) and one full cycle (surface 3). (2 and 4 times Az char)
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
optima X research
TALBOT IMAGING
Overlaying the beamfiles at the two surfaces clearly shows the reversal.
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
TALBOT IMAGING
Change the thickness of surface 1 to be the characteristic length (10 mm). Update
the POP analysis on surface 3. Open the new beam file for surface 2. At a
propagation distance of Azchar, one-quarter cycle,only the phase is modulated.
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optica! Design Using ZEMAX
optima^"
research
Reload the Gaussian beam.zmx file (work on-axis only), if you don’t have that file
saved, open up sc_jjabm4
Beam waist at surface 1 is 1.15 mm from our earlier work.
Use Gaussian Beam calculation Initial Rayleigh range is 6566 mm.
Add dummy propagation to/back from Rayleigh range (new surfaces 1 and 2).
2 p. \ 3,0000
■■■■'■■ 1 3.0000
: STO Standard ■ БШЕ WIST . ■. Infinity] 2796.0003
■ ■ LASER OUTPUT
4| ■:■■■ Standard PORT ■■■■ Infinity. ю.еоео L j - ■■■■■ 3.0000
StiV! t-Sr’-E-f■-У i- ICi.CCOS 1
•
П
7
p
U. . . :
.ill
Copyright© 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaIf^search
CHECK IT OUT
Use Gaussian beam waist=1.!5, Sampling = 128 and Auto to compute the size of
the starting array.
lings
I.1". ■ . '■
1
|
GatisSnW«sf
' Г'-.'Тйй! Power
. WautX ■ fu'S
v'OsesnteiX .. ■ fo"
; Г '- SO
;O n f e f X ' j o ™
Ш1Й1й j!
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
optima X research
DISPLAY DATA
Select “Save Output Beam To” and “Save Beam At All Surfaces" so we don’t need
to re-calculate to see different data!
The “Zero Phase For Relative irradiance Below” option will ignore !ow energy data
points when calculating the phase.
p .................. .
Sewut ее*. Defritot №*-jrpWiij\
' Bst«
-^ratesC.'.' -
SCCiCZi 3
'^ia^aSjwtSeint
w! :
■r :■ ■■■ ■■L j -
• -i-,
.... ;• ••**
Copyright© 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinmVl-esearch
RAYLEIGH RANGE
•
V
я
>11.8347
x ео«кш*те «мде
1Я.вМЮ
. I
''ицидм-ддд-
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
optin^VC
research
AT LASER PORT
'
!■- :--------УЛ1 &
1 ---------: t *.4233
i
:
S . 1
...
-и.емв *,mm ti.sam X СОСЯИИПТЕ ШЖ
-u,&m iiNN ii'Vm
WMSifeligHUg МД—
Copyright© 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
AT ‘'FOCUS”
■
1.....
I
ЯвЦЕНВВЕК 1РММ
optimaVresearch
Copyright © 2007 ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima 7 ^
researc
h
STARTING POINT
Turn off the search criteria in the lens catalog {if active) and look for lens 45408
from Edmund Optics (a well-corrected laser monochromat)
toad the lens
■' -4V.- :
-y.
optimal
researc
h
STARTING POINT
Change the assigned wavelengths to use He-Ne (0.6328) only
Works well at He-He wavelength, 4 mm EPD
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Opfieai Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV™
research
RECOLLIMATE
optima X research
RECOLLIMATE
m - in
— —— —
Щ.—--==*■ ----------------------UJ_ZJ
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Opfieai Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima I; research
LENS DATA EDITOR
Sr eri
.. ^ -n.SliCn i.:.3co .... CF10 3. rc:.'J L- |Г
3* Standard -75.5900 18.S036 и 2. 5000 U
■£:i ______ !
£| ' ____ ___________________ -’Sy',:;; Т;
Copyright © 200? ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
optirmN^
resear
ch
LENS DATA EDITOR
v-
II
...
Standard 6.-: so? 5Ж10 2.5-C.j
%
1
...
8* ■Vy-:-.7:V.::vStandatd С.; " -45408 -14.1100 5.0000 .......... 2.5000 0
IM I tstandatd. Infinity .....cV'- - 2,0052
>
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
LAYOUT
optima
^research
GAUSSIAN BEAM
We will launch our HeNe Gaussian from the earlier example using Paraxial
Gaussian Beam calculation
• Waist Size: 1.15 mm
• Surf 1 to Waist: -2797 (places output port of laser at surface 1)
Intermediate focal plane is at paraxial focus!
• Beam size, waist size not the same
• intermediate plane thickness is 18.604
• Re-optimize with GBPS for smallest Gaussian waist at surface 4
о WO = 1.15, S1toW - -2797 о
Variable is thickness of surface 3
• Intermediate plane thickness becomes 18.625
• Gaussian beam width approximately 3.2 microns at surface 5
Copyright© 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 200? ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirmN^
research
PHYSICAL OPTICS
{Г™”
.{vV— ' В>вТт>Вада- ШТ
^f'UiefoW^fcrt' ',' ' .',1
!.
;
-r si^gg'- . ^ '
■ 1. ■ is.'l -
till jigШШШш
ШШШ Нф ' ■■
■ Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 51
optima^™
researc
h
PHYSICAL OPTICS
Copyright© 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 200? ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ ^
research
SANITY CHECK
Output beam (surface 9; on right below) looks like input beam (surface 1; on left
below):
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
research
INTERMEDIATE FOCUS
: l\
1
|
В.Ч2Ё+МИ
Copyright© 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ж
research
Insert a surface before the STOp (surface 1) and add a Spider aperture to
it • Width of arms: 1, Number of arms: 3
Open the settings for the POP analysis and change “Start Surface” to 1
(Genera! tab)
Output Is no longer a ‘'dean'* Gaussian
beam
x соииштге чшт
optimaVC
researc
h
CLEAN UP THE BEAM
Тд!» j.tewr 1 At»Ase j.ScitenS;! ' :v: . . v.-: *■■ ■ i'- -iSt-:
r^scEnM]^$HK^Orji»f EtBfog j ...
V" "у" .
Apesttarefte' ibi -. r: :■ . .-.-I- :T ■ ■■ ,T ■.. J и
; .r 't
•j ;ЦРА5са&: ■T.
/’ t rf '>”Г ..
Mhfiai-.jr .....
. -a
fdl-32
■■1 :G
iiiii
: PSHW:
Slifics
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optinna^research
OUTPUT BEAM
X
COOfH
XfflJVT
C гшшгкикияваы
URLUE
Need to catch up? Open sc_spatsa!4
Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
\y
optima “ ™ research
PROPAGATION REPORT
It should now be clear from our previous discussion and examples that
beam sampling is crucial in order to obtain accurate POP results.
One too! that you can use to determine if your beam is sampled sufficiently is the
Propagation Report.
You can access the Propagation Report for a given POP
analysis by first clicking on the “Text” menu option in the
POP window:
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^***
research
PROPAGATION REPORT
The resulting report will include a variety of information including detailed pilot beam
data, transfer function data and more.
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
opti maSfresearch
PROPAGATION REPORT
The Propagation Report will also provide warnings and error messages:
Update'-. Settings -print ■
Starting pilot X, Y pixels: $.34, S.34
Internal btwaittance ■■■ - 1. GО0GC0
■TteiJiignQWis&Se'.-to Outside propagates'.'..
W&lst.:-eirray .-X/: Y sins: 7. 4S40S~00£.,:..
7.4340S-002 Pilot beara size в ,- у:
3.4I06S"083:--3-.-'4I£)i61i~0Q3
Pll0t .X,. .T .pixels.: 5.87, S.87
These messages generally point to beam sampling issues and, thus, can be
corrected by changing the beam sampiing/array width values.
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim^Vresearch
SURFACE SPECIFIC SETTINGS
The surface properties dialog box has a page of settings relevant to POP:
Surface 6
I’lepCTlii!*
Type'; j Aperturej Scattering | TlfeDmente. Pi^sica!Qpfev jcsstmgj
:
■ P-OtjNofR^catefeamSi^y^Ra^&sls 'i'
Г UjeAi-gute; Spectrum Propagate* ' V..'" - - ;
.spah'^tBEMK11 Qn'^led Modef:::
P Re-C«npute
;'I:feY-Sampira:
; pwah: . ' Jv
-.-ReferenceRa>|u-s: ■ -
[BestFd X-Radfes: ~
Copyright © 2007 ZEMAX development Corporation trt Advanced 6ptei Design Using ZEMAX
optima'^researc
h
This setting is used to turn off the diffraction propagation calculation for the
specified surface.
• Rays traced to next surface instead
• Ray transfer function used to update pilot beam
Use with
• Gradient index, non-sequential component and other special surfaces
о ZEMAX will automatically turn this option on for surfaces which require it
• Smali propagation distances where diffraction effects are negligible
Copyright © 2007 ZEMAX Development Corporation 73 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 200? ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optiHi
a<
esear RE-COMPUTE PILOT BEAM PARAMETERS
ch
Some surfaces significantly alter the properties of the beam. A good example of
this is the spatial filter example we looked at earlier. The pinhole in this example
significantly alters the beam even though it has no power.
• This is the fundamental difference between geometric and physical optics.
* After passing a pinhole, the pilot beam must be recomputed to best describe
that portion of the beam passed by the pinhole
Copyright © 200? ZEMAX Development Corporation 63 Advanced Optical Design Using ZEMAX
ZEMAX uses the probing ray grid to determine any distortion, stretching, scaling or
other change in the beam shape
* For example, after a diffraction grating the beam is compressed in the direction of
diffraction.
Sometimes this calculation fails:
• Inside a caustic:
о The rays no longer represent the beam and should not be used to determine the
beam shape.
• Near a diffraction limited spot
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 68 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV)‘£
research
Forces use of Anguiar Spectrum propagator (even when Fresnel propagator would
be otherwise chosen)
• Only use when beam is to stay same size.
Copyright ©2007 ZEMAX Development Corporation 65 Advanced Optica! Design Using ZEMAX
optima research
DRAW “BEAMFtLE NAME” ON SHADED MODEL
The saved *.ZBF data will be displayed on shaded model layout plots at the surface
location rather than the actual surface.
• Works best on dummy surfaces.
* “Beamfile name” is filename with four digits added for surface number.
This shows the irradiance distribution through a full Talbot cycle.
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 68 Advanced Optical Design Using ZEMAX
Advanced
\x
Optical Design Using ZEMAX
optima jr ^search
RESAMPLING OPTIONS
Auto Resample: Changes beam width after propagating through the surface
automatically (like using the "Auto” button in the Beam Definition tab in the POP
settings)
• ZEMAX will first re-compute the pilot beam parameters before calculating the new beam
width
Copyright © 2007 ZEMAX Development Corporation 67 Advanced Optica! Design Using ZEMAX
optimaN^
research
REFERENCE RADIUS
The choice of reference radius determines how the pilot beam is propagated.
* This effects propagation algorithm, array sampling, phase sampling and
other propagation data
Default of "best fit” is usually best choice:
* Selects optimal tradeoff between X and Y radii to minimize phase excursions
Shorter selects shortest of X, Y radii.
Longer selects longest of X, Y radii.
User allows direct specification of the X, Y radii.
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 70 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
FIBER COUPLING
Copyright © 2007 ZEMAX Development Corporation 69 Advanced Optical Design Using ZEMAX
optima^*"*
research
in POP, both the source and receiver modes are defined as built-in functions, DLLs
or beam files (as described earlier).
Very general and arbitrary fiber modes may be defined:
• singie-mode
• multi-mode
• aberrated
• arbitrary ampiitude/phase
The receiver can be tilted and/or decentered
Overlap integral computed at “end surface” in POP dialog
Example: open the sample file \ZEMAX\SampSes\Physical Optics\Fiber Coupling
Copyright © 2007 ZEMAX Development Corporation T4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optsma Y
™ research
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optical Design Using ZEMAX
optima Xresearch
.100
78;:
.40701..
■
■-
60Ч
7--
51Э39
'
4031
••TOTRL'-'tRfiR&IRNCE SURFACE i F^pUj^,,,RT, FIBER’
SZMH.E LSWS FOCUSING TO fi ■
FI9SR'
-
2016
-
1008-
-
Copyright © 2007 ZEMAX Development Corporation T4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 72 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
optima^T’rl
research
BEAM QUALITY
We have discussed how to define the input beam, and how to propagate it through
an arbitrary optical system.
How do we analyze the “quality” of the resulting beam? What are the important
parameters?
Copyright © 2007 ZEMAX Development Corporation T4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 76 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Xy-
optima^'*'
research
BEAM LOCATION
If the beam has some irradiance distribution i(x,y) then the centroid of the beam in x
is defined as:
pr l(x,.y)d\dy
f
C
x~ * ..
llixf yjdxdy
With a simitar definition for cy. This is sometimes catted the "first moment” of
the beam.
Copyright© 2007 ZEMAX Development Corporation 75 Advanced Optical Design Using ZEMAX
optima X research
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using
ZEMAX
BEAM WIDTH
The 'second moment' of the beam is given by:
Where cx is the centroid location. The beam width is then defined as:
Wx = 2ax
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaY^resear
ch
Г
.F'4.
BEAM QUALITY
The beam width will change as the beam propagates, and is thus a function of the
beam z coordinate relative to the waist. The smallest value for the beam size is
Wx(0).
Copyright © 2007 ZEMAX Development Corporation 77 Advanced Optical Design Using ZEMAX
optima Д research
A NOTE ON M2
A beam with an M2 = 1 will change size during propagation at the same rate as a
TEMxy Hermite-Gaussian mode.
Any other beam will have M2>1, and so will diffract 'faster* than a perfect Hermite-
Gaussian mode
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 80 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirnaV*™
research
The Propagation Report (available from the text listing of the POP window) shows
the propagation methods used, sampling and also reports any problems.
The POPD merit function operand returns all beam characteristics, and is the
primary method of accessing beam data for optimizing, tolerancing or getting data
into ZPL macros, Extensions, Universal Plots, etc.
Copyright © 2007 ZEMAX Development Corporation 79 Advanced Optica! Design Using ZEMAX
optima X research
POPD
To use POPD, configure the POP analysis window the way you want it, and click
SAVE in the settings dialog.
These saved settings are then used by POPD. The POP analysis window may be
closed; it is no longer required once the settings have been saved.
Copyright © 2007 ZEMAX Development Corporation 78 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 82 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\x
optima ~ research
DATA RETURNED
The returned data is specified by a specified data number, and optional XTRA1,
XTRA2 items.
See the manual for full details, but some of the returned values include:
* Ali pilot beam data
* Centroid locations
* Effective width, M2 in x and у
* Average, RMS and PTV irradiance variation
* Average, RMS and PTV phase variation
* Encircled Energy
* Fiber coupling
Copyright © 2007 ZEMAX Development Corporation 81 Advanced Optical Design Using ZEMAX
optima/ ***
research
Within the ZPL macro language there are several keywords specifically for
manipulating POP beams and returning data.
For more specific requirements, ZBFREAD wil! read a ZBF into a user-defined array
variable:
• dimensions (nx,ny,2) for unpolarized beams
• dimensions (nx,ny,4) for polarized beams
You can then write whatever code you need, and then write the array back out using
ZBFWRiTE.
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
CONCLUSION
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirna^^c
researc
h
FINISHING A DESIGN
optima X research
FINISHING A DESIGN
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ research
optima'^r*
research
Test piate fitting Is a process where surface curvatures are matched one by one to
the best fitting test piate from the optical fabricator, if the surfaces can be matched
to a vendors available tooling, the manufacturing cost is reduced appreciably.
ZEMAX includes a tool to automate this process.
Test plate lists from several vendors are included.
•If you want to create new test plate lists, see the ZEMAX User’s Guide.
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
Copyright ® 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
researc
h
TEST PLATE FITTING
: . ' . T. ■Ж
.....................................
■
■ Аякг - , [s HI
_|ЫСЧ-! I
V 4 ......
k A i r ' ■ sAnifds V;t!i^it:S'“^kdse|as \
Г\ЪгтСйт&Ся\т' '
|£нйд; рГ”"
' :':i' i Л -'T....ттг..-:. ■ .. :i;/..
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^™5
research
Choose Tools > Test Plates > Test Plate Fitting •Select
any of the vendors for the test plate file •Select one of the
fitting methods {Best to Worst is usual)
• Numbe
r dfBteABs:' £68
i.
Click on OK.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
optima X research
ZEMAX performs the fit in a few seconds (longer for more complex lens files)
ZEMAX generates a fitting report which lists:
•Lens data
•Vendor data
Radii fit data: old radii, new radii, MF change
The report lists the lenses in the order fit, and also lists any lens for which a suitable
test plate was not available.
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Jjresearch
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optica! Design Using ZEMAX
optic jsearch
FIXING THICKNESSES
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
^research
TOLERANCING
optlrmN^
research
TOLERANCING
An optica! design is not complete until a toierance analysis has been completed.
The lens design needs to be manufacturable with some realistic range of parameter
specifications to be useful to the customer.
The best design is not necessarily the design which best matches the
design specification, it is the design which can be buiit to best match the
design specification.
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
TOLERANCING
Copyright ©2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
optiiw , , esearch
Copyright © 200? ZEMAX Development Corporation 16 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optima ^ ™
research
FABRICATION ERRORS
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
MATERIAL ERRORS
The optical materials (lenses, windows, etc.) are also a source of error:
* Index accuracy
* Index homogeneity
* index distribution
* Abbe number (dispersion)
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optima^
research
ASSEMBLY ERRORS
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimV^
research
ENVIRONMENTAL ERRORS
Copyright © 200? ZEMAX Development Corporation 19 Advanced Optics! Design Using ZEMAX
optima^ research
/ 'N
DESIGN ERROR
In general, optical system designs have residual error (MF is not 0).
The error in the design will generally vary across the field of view of the system.
For reasonable tolerance parameter ranges, the system residual error should only
introduce a small portion of the total allowable system error.
!n other words, the design performance must exceed the required performance
level.
Copyright ©2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*"
research
BUDGETING ERRORS
Copyright © 200T ZEMAX Development Corporation 21 Advanced Optical Design Using ZEMAX
optima^™=
research
ERROR BUDGET
The error budget defines the maximum error which can be introduced during each
step of the design, manufacture, assembly and operation. An additional margin
should be maintained as a precaution and to Gover defects not modeled.
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Y
research
TOLERANCE OVERVIEW
optima re search
OVERVIEW OF TOLERANCING
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opts та X research
PERFORMANCE CRITERION
Several different criteria can be used for toleranGing:
• Minimum spot or wavefront error
• MTF at specified frequencies and field locations
• Boresight error
• Minimization of distortion or other aberration
• Vignetting
• Energy concentration
• etc...
In addition to the basic criteria, the toierancing algorithm must also correctly
integrate across the fields, wavelengths, and over the pupil.
ZEMAX also must account for the lack of symmetry when performing perturbational
analysis.
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
optima Tresearch
ZEMAX can use a criteria defined in the merit function editor as the performance
metric.
Pros:
• Anything can be used as a criteria
• Great flexibility for unusual cases
• Easy to use, no additional decisions need be made
Cons:
• Boundary constraints often are not applicable to a final design tolerance analysis, for
example, the exact focal length is usually not important.
» Weird results can occur if the merit function exploited symmetry, but the system being
toieranced does not necessarily possess it! For example, when analyzing tilt
tolerances.
• Very slow to compute the whole merit function, especially for MTF toierancing.
• Tolerance numbers need interpretation and definition, they do not correspond exactly to
MTF or RMS, usually.
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optima jQ'eseareh
SENSITIVITY ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
optimV
resear
ch
INVERSE SENSITIVITY
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima IT
research
MONTE CARLO ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima^^
resear
ch
STATISTICAL TOLERANCES
ZEMAX can use any or ail of four different types of statistics during the Monte Carlo
analysis:
Gaussian (Normal):
* Selects values near the nominal value assuming a Gaussian beli curve centered at
the nominal value. By default, there are 4 sigma (standard deviations) between the min
and max tolerance values. The ‘'width” (i.e. the number of standard deviations between
the min and max tolerance values) may be altered by the user.
Uniform:
• Selects values with equai probability anywhere between the min and max tolerances.
Parabolic:
• Selects values with quadratic probability; favors the ends of the acceptable range.
User Defined:
* Select values using any arbitrary user-defined probability distribution
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
V/researc
optima
h
WHERE DO TOLERANCE SENSITIVITIES COME FROM?
Why do some radii or elements show more sensitivity to perturbations than others?
The simplest way to see this is to consider what happens in two extreme cases:
• A lens with steep angles of incidence
• A lens with shallow angles of incidence
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
optima X
research
TOLERANCE CRITERIA
Copyright ©2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima''''"^
researc
h
TOLERANCE CRITERIA
• Boresight error:
о Angular deviation of the on-axis chief ray, in radians о Uses primary
wavelength о Useful only for rotationaliy symmetric systems
• RMS Angular {Radius, X, Y):
о Best used for afocaf systems
о Angular aberrations are based upon the direction cosines of the output rays
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optical Design Using ZEMAX
-
opttma“ "
researc
h
TOLERANCE CRITERIA
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
'w
optima^*
researc
*”10
h
TOLERANCE MODE
The mode selects between the sensitivity mode and the inverse sensitivity mode.
Sensitivity mode:
• Analyzes performance at defined minimum and maximum parameter values
inverse sensitivity mode:
• Constrain tolerances to a specified departure from nominal
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optica! Design Using ZEMAX
optima research
SENSITIVITY ANALYSIS
Sensitivity analysis is the first step in toierancing. An initial set of tolerance operands
and ranges are established with the goal of determining a reasonable final set of
tolerances.
The sensitivity analysis evaluates each tolerance operand separately, at the
minimum and maximum value for each parameter, and optimizes using the defined
compensator, and calculates:
• The change in the performance
• The required change in the compensator
Notice the effect of the compensator:
• Radius/fringe, thickness, index errors will result in focus compensator adjustment
• Element tilt/decenter errors not affected by a focus compensator
• Surface tilt, irregularity not affected when using "Paraxial Focus” compensation.
“Paraxial Focus" compensation simply readjusts the system to the same amount of
defocus as in the nominal design. No optimization of compensators is performed.
“Optimize А1Г compensation will optimize all defined compensators using either the
DLS or OD optimizer.
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2507 ZEMAX Development Corporation 40 Advanced Opticai Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirm^fr^sear
ch
INVERSE SENSITIVITY
Copyright © 200? ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
optima X
research
FIELD DEFINITION
Copyright © 2507 ZEMAX Development Corporation 40 Advanced Opticai Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
FIELD DEFINITION
Several options for field definition are provided:
* Y-Symmetric:
о ZEMAX calculates the maximum field angle
о Defines new fields at 1.0, 0.7, 0.0, -0.7, and -1.0 times full field in Y direction only
о On-axis field weight is 2.0, all other fields weighted at 1.0 о Default for systems
which are nominally rotationaiiy symmetric
* XY-Symmetric:
о ZEMAX calculates the maximum field angle
о Defines new fields at 1.0, 0.7, 0.0, -0,7, and -1.0 times full field in Y direction, and
1.0, 0.7, -0.7, and -1.0 times full field in the X direction о On-axis field weight is 4.0,
all other fields weighted at 1.0
* User defined:
о Uses current defined fields and weights
о Recommended for designs with complex field weights or vignetting о Required
when using Merit Function or User Script о User needs to make sure to account for
asymmetries
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
______________________________________________________________________
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 43 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
researc
h
MONTE CARLO ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^research
NORMAL STATISTICS
optimaVj'esearc
h
NORMAL STATISTICS
The "width" of the curve can be changed for some or all of the operands.
JOG, 3)
...i.. I \ ...1. J....
t00.1)
96.0 X
m
Copyright© 2007 ZEMAX Development Corporation 44 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
UNIFORM STATISTICS
Uniform statistics;
• Selects values with equal probability within the
range
• Appropriate for truly random distributions
Copyright© 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
optima^
resear
ch
PARABOLIC STATISTICS
Parabolic statistics:
• Favors the extremes of the acceptable range
• Very pessimistic assumption
• May be appropriate for smaS! runs {i.e. prototype modeiing/piiot
runs)
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
STATISTICAL DISTRIBUTIONS
The default statistical distribution is Normal with 4 standard deviations between the
min and max values
• Standard deviation can be changed for aii or some operands
• Different operands can use different statistics
optima X research
Standard statistical distributions may not accurately represent the actual distribution
of errors in the manufacture of an optical or mechanical component.
Given the requirement for a planar glass plate:
* Center thickness 10 mm, pius or minus 0.2 mm
о What is the most iikeiy thickness value?
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y'
optima x research
jr "’V.
06 .. .
йА
.. ..........................>. 7- 4;?; ;r.......]. .
: :
0.2 1. \ 11:
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optica) Design Using ZEMAX
optitra**^
researc
h
USER DEFINED STATISTICS
For more complex components, such as lenses, bi-modal distributions are also
possible, with peaks at either extreme. Polishing for curvature will effect the center
thickness as well.
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\y
optima resear
ch
USER DEFINED STATISTICS
The allowable X values must fail in this range. ZEMAX will stretch the function to fit
the specified range of any of the the parameters using this definition.
ZEMAX integrates the tabulated function and automatically normalizes it. Between 2
and 200 points may be used to define the shape of the probability distribution
function.
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
optimaN*™
3
researc
h
USER DEFINED STATISTICS
The function data are defined in an ASCII file using ordered pairs of numbers.
The "Xй values need not be evenly spaced, and the’T' values need not be
normalized. However, the X values must be monotonicalSy increasing, and begin
at 0.0 and end at 1.0. At least 2 points are required to define the "curve".
For each tolerance operand subsequently defined the defined min and max values
will determine the actual range of the random variable X. For example, if a nominal
value of 100.0 has a tolerance of-0.0 and +2.0, the probability distribution will
extend over the range of 100.0 to 102.0.
The data file must be saved In the \ZEMAX directory with the name ”******.udd".
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opttmaV^
research
This distribution has two peaks. The higher peak is highly skewed to the
maximum side of the distribution.
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima^ rc
research
CHANGING DISTRIBUTIONS
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^
research
TOLERANCE OPERANDS
Vx
optima research
VV<
TOLERANCE OPERANDS
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X re£ear^h
TOLERANCE OPERANDS
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optimaVn:
research
The singlet lens is one of the simplest optica! systems. How difficult can it be to get
the lens asked for?
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
'\yr'
optima s •** research
ERRORS IN A SINGLET
Copyright © 200? ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
\/
optima^***
research
Each of these items that can go wrong, will So the manufactured singlet will have
10 or more defining parameters wrong.
To understand the effects of each of the types of errors, look first at each error
source individually.
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^research
SURFACE POWER
An error In surface power simply defines an error in the foca! length of the surface.
This error results in the sag of the surface not matching the desired surface shape.
The power of a surface is defined as:
1 n-n Ф (n'-n)-c
fR
An error in the surface power can be calculated:
dtp = (n'~~n)-
dc
= -(n'-n).
R‘
dR
2
df = -f -(n'-n)-dc
i ,2 / . .л dR
■ (n'—
n) ■ R‘
Copyright © 2007 ZEMAX Development Corporation Advanced Optica! Design Using ZEMAX
optimaV'rp
research
Each of these operands can be used to set the tolerance range on the surface
power.
Note that the change in power is proportional to Ac, not AR.
In general, when the surface is tested, the result is calculated in fringes, which
corresponds to an error in sag.
The fringe error is usually with respect to a “known” test plate.
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^research
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optima “ r‘
research
For a refractive element, the center thickness remains the same, but the edge
thickness changes:
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima JT research
In the absence of other defects, the effect of a curvature error is largely an error in
the power of the surface.
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
research
Consider two mirrors 10 mm in diameter, one radius of 10 mm, the other 100 mm,
tested at 0.6328 pm.
For a fixed error of AR- 0.01mm for both mirrors:
• Surface 1: Af=0.005 mm, ДС-O.OOOImnrr1, Asag- 0.001545 mm
о This represents an error of about 4 fringes
• Surface 2: Af-0.005 mm, ДО0.000001 rnm*1, Asag" 0.0000125 mm
о This represents an error of about 0.040 fringes
For a ftxed error of AC= 0.001 mm*1 for both
mirrors:
• Surface 1: Af=0.0505 mm, AR=0,101 mm, Asag= 0.01543 mm
e This represents an error of about 40 fringes
• Surface 2: Af=5.556 mm, AR=11.11 mm, Asag= 0.0125 mm
о This represents an error of about 40 fringes
For a fixed error of one fringe for both mirrors:
• Surface 1: Af=0.0013 mm, AR=0.0025 mm, AC=0.0000253 mm*1
• Surface 2: Af-0.127 mm, ДЯ=Ю.254 mm, ДС-0.0000253 mm*1
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^'*'*
Г
research
TRAD, TOUR, TFRN
if a single uniform tolerance is to be set for all the radii in a system, then
this tolerance should be on the curvature, not the radius. In this case, the
radius tolerances would go as the square of the base radius.
Lenses are usually specified by the base radius, so a tolerance based on the radius
is often appropriate and convenient
• (f radius tolerances are specified, they are done on a line-by-line basis rather than
uniformly
if a surface is required to be planar, then the tolerance should be in fringes.
Radius and curvature tolerances are defined in lens units (lens units-1)
REMEMBER: These are options, using all three will lead to erroneous results!
* Specify the surface power tolerance for each surface based on radius, curvature
OR fringes!
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
optirrm'v’^=
research
THICKNESS ERRORS
A thickness error indicates the the center thickness or air spacing departs from the
desired value. The error can be in the thickness of glass elements or in the spacing
between elements.
thickness
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
4/
optima research
THICKNESS ERROR
The major effect from a thickness error is also a change in the power of the optic:
= cp1 + q>2
0.3000
0,7300
seise
ВL48
00
3,3000
0.00
00
В,1000
las Hfis «о
iNTeaFEROsaRM BETWEEN CQKPXSUSHTIDNS t RNQ Z
3.00
пш. 00
C i \2£mifvSfm£S\LSNS, ZMX
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optica! Design Using ZEMAX
optima X research
TTHI
Thickness errors may result in adjustment to the thickness of the next or any
following air spacing. This would allow the remaining optical components to be in
their nominal positions despite any prior thickness errors. The adjustment can be
applied on a surface by surface basis.
Imagine a lens with a thickness tolerance of 1 mm. Where does the extra 1 mm
thickness go?
• Does the whole increase in length by 1 mm?
• Does the next air gap get reduced by 1 mm to keep the total system length the same?
• Does a spacer get put in or taken out elsewhere in the system to keep the total
system length constant?
Copyright © 2007 ZEMAX Development Corporation 18 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optin. ..search
/К
TT
H1
The top figure is the nominal design. The middle design adjusts for the thickness
error. The bottom design does not
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optir...
»
Aii*ese
TT
arch Hi
The effect of thickness and spacing errors is very dependent on the system.
On surfaces where the slope of the marginal ray angle is large, the effects can be
quite large.
In piano-convex type elements, thickness errors usually introduce very little
aberration.
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
Advanced
w" 4
Optical Design Using ZEMAX
optima 7
researc
h
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using
ZEMAX
SURFACE OFFSETS * †
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
*For the singlet lens, the optical axis is a line joining the centers of curvature of the two surfaces, The surface can be polished so
that the mechanical axis of the lens is not coincident with the optical axis.
Surface offsets can be described in terms of any ONE of the following:
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
* Decerttration
* Tilt
† Wedge
These are ail equivalent definitions. Thus, you should only use one to describe each surface offset! Do not use more than one
(i.e. decentration AND tilt) to describe the offset for a given surface!
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
optsmsN^
researc
h
TSDX, TSDY
A surface decenter error occurs when the center of curvature for the surface is not
on the mechanical axis of the element.
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimzN^*'
research
TSDX, TSDY
optima’*v^-esearch
TSTX, TSTY, TiRX, TiRY
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlma^4l
research
r
TIRY\
1
л
TIRX>
Q
tan = tan
v Dia j v Dia j
Again, the choice of tolerance operand may vary, but remember to only tolerance
the effect once.
Most often, optics are polished so that one surface defines the center and the
second surface only is wedged relative to that surface.
* Thus, you generally will only analyze surface decenter tolerances for one surface of a
lens element
For spherical surfaces, the effect of a surface decenter is the same as a surface tilt.
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
optima research
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Д »*«
research
SURFACE IRREGULARITY
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optica! Design Using ZEMAX
optima^™
research
T1RR
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X 1research
TEZI
Copyright © 2007 ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
30Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
30Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^/
research
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima jrs
researc
h
TIND
The layout has significantly increased An for effect: the main result of index error is
a change in power.
30Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^[j*esearch
T1N
D
The toierance value on the index applies the defined tolerance as an offset to the
index at the d-waveiength.
If the materia! is a catalog gSass or a model glass, then over the wavelength
range from 0.3 to 2.5 microns, an offset of the index will be applied at all defined
wavelengths in a non-linear fashion. Otherwise, the offset is constant with
wavelength.
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
research
TIND
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X" research
Copyright © 200? ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
optima/
research
TEDX, TEDY
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
TEDX, TEDY
opti n^^research
n
и
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optim^fre search
j§| 0.9202
"/ 0.2202
i
0.7092
0,4022
2.2022
ИИ 0,0000
TNTERFEROGSflH BETWEEN CflNFIGURRTICNS i tiNB 2
Ш$ HRS ND ште.
Й.ЕЕЕЙ ttlCRWS fit Йт0Ш. ОШ
RINKS mt is t .m. C i 42B1fl)^SflMPl£S\TSfiV000S. Ш
ХШ.Т * B.80. YTILT a
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
optima Xrsseareh
The tilt operands can also be applied to a group of elements as well as the
individual elements.
We will cover this topic in more detail later.
So far we have considered only the effects of errors with regard to a singlet Other
considerations may be necessary to consider with more complex systems.
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
ABBE DISPERSION
This error would not generally impact a singtet design as singlets usually are not
used polychromatically.
The Abbe dispersion tolerance models variations in index across the defined
wavelength band.
If the material is a catalog glass or a model glass, then over the wavelength range
from 0.3 to 2.5 microns, this operand modifies the index at wavelengths other than d
light, In a non-linear fashion by a modified dispersion relation.
nF-nc = r>d-1
Vd
Copyright © 2007 ZEMAX Development Corporation 39 Advanced Optical Design Using ZEMAX
optima^™
researc
h
The effect of an error in the Abbe V-number also introduces a change in focal
ABBE DISPERSION
length, but at wavelengths other than the primary.
1 .0000
О ■ 9ЕИИЭ
S'b
EFtt
ft
0,1
ВШ
й ,mm
C QNFIGU R RTX D NS 1111111Я N D 2
ft S3BPLE CEDS TRtPt£T.
а.етза ft». Bfr
DEC,
PffK TQ VHLLEf = B,722i tfRVfiS. * L .ОТЙв.
SURFRCS* I№£E
ЕЖГГ PiiPXL ШЙЬЕХЕК; 1,Й23££«Ш1 lf3LL3Mst£K&
_______________________________i
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^""
researc
h
CONIC AND SEMI-DIAMETER TOLERANCES
TCON
This is the operand used to tolerance the conic constant of the surface, it is a
dimensionless parameter.
This tolerance is used for surfaces with non-zero nominal conic constants.
TSDI
This Is a tolerance on the Semi-Diameter of the surface, it is in lens units.
Copyright © 2007 ZEMAX Development Corporation 41 Advanced Optica! Design Using ZEMAX
optima^rc
researc
h
TPAR
Copyright © 2007 ZEMAX Development Corporation 43 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
■na'Vr
e X research
optima
TEDV
The tolerance on extra data values are similar to the parameter tolerances. The
meaning of each entry in the EDE can be found in the surface types chapter of the
manual.
The coefficients are used with surfaces such as extended asphere or polynomial or
binary diffractive elements.
Copyright © 200? ZEMAX Development Corporation 43 Advanced Optical Design Using ZEMAX
optima ^ rc
researc
h
TUDX, TUDY, TUTX, TUTY, TUTZ
These operands refer to user-defined decenters and tilts. These tilt and decenter
operands are similar to the ТЕ** operands discussed earlier.
There are two primary differences:
* The user is responsible for inserting ail necessary coordinate breaks and pick-ups
• These operands can be used around existing coordinate breaks
This allows these operands to model very complex pivoting and decentering.
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 46 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima “ rc
research
TOLERANCE OPERANDS
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optica! Design Using ZEMAX
optifra^i™
researc
h
OPERAND RANGES
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ «
research
TOLERANCE RANGES
The previous table gives a reasonable set of starting points. The selected optical
and mechanical fabricators as well as other factors can lead to requirements which
may depart significantly from these values.
Always determine a reasonable range of tolerances based on the best available and
applicable data.
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
optima X, research
The result of the proper tolerancing allows the designer to estimate the likelihood
that system performance will meet the design goal.
For example, if 1000 of these systems are built, 98% will have an average MTF of
greater than 50% at 35 line pairs/mm at the edge of the field.
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima т
research
COMPENSATORS
optima^™
researc
h
COMPENSATORS
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^*"*
research
ч
USING COMPENSATORS
Copyright© 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
optima^"
research
COMPENSATORS
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opting
resear
ch
IF ONE COMPENSATOR IS GOOD,..
A lot is not necessarily better. Try not to start out with too many compensators in the
design.
Compensators often represent mechanical degrees of freedom, adjustments which
must be made during the assembly/alignment process. Because the mechanical
position must be free to move, optical alignment in such systems can be difficult to
accomplish and even more difficult to maintain.
Compensators can also be optical parameters, requiring some optical elements to
be finished and assembled before the compensating component can be finished.
Copyright ©2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima r research
TOLERANCING A SINGLET
о ptima^re search
TOLERANCE EXAMPLE
The best way to start an investigation of toierancing is with a very simple design, a
singlet iens, used on-axis at one wavelength.
First we will use the appropriate tolerance operands with the default tolerance
ranges.
Then we will modify the tolerances to perform error budgeting.
Open up sc_to!_singlet
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 4 Advanced Optica! Design Using ZEMAX
Advanced
optima T
Optical Design Using ZEMAX
J
research
SINGLET
This iens has a 75 mm focal length, operating at F/7.5.
Copyright© 2007 ZEMAX Development Corporation 3 Advanced Optical Design Using ZEMAX
optima'1^™
researc
h
SINGLET
We will only use those parameters which will impact the singlet
For this design there are:
* 2 errors in curvatures
* 1 error in glass thickness
* 2 errors in surface irregularities
* 2 errors of mechanicai tilt/decenter
* 1 error in surface shape: either tilt, wedge, or decentration
* 1 error in index
A total of 9 items that will be wrong.
Copyright © 2007 ZEMAX Development Corporation Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ research
Select a criteria:
• Usually this will be related to the merit function which was used to optimize the
original design
Set the initial tolerance ranges:
• Start with looser tolerances and selectively tighten through several tolerance runs.
• Don’t make things so loose that it can’t be assembled.
• Don’t make things so tight that the cost skyrockets.
Evaluate the results:
• There are many possible solutions, select one that provides good performance
without unwarranted effects on cost or assembly.
Copyright © 2007 ZEMAX Development Corporation 5 Advanced Optical Design Using ZEMAX
optimaV^
research
To tolerance this lens, we start by removing ail variables and solves, if any.
• This is done because we cannot change the design during tolerancing
• Use Ctrl Z to set solves to variables
• Use Tools > Optimization > Remove All Variables to fix the variables
Open the Tolerance Data Editor Select Tools > Default Tolerances
Tolerance the radius in millimeters SsBf-ftptsTrfswflces г"i-.
Ш«ииж - v :.■■■■....... .I-..!.
T
■т'Гд|
;G.2qOO50; ШШШ
йадаооо «II
riSpiFS)Y & "{оЖоГ
V -Г
TZewW ; . ■' -irr.’- IlSISI:
:
2...... i
: ' •■■■: ......................................
Щ
S :
I
Copyright © 2007 ZEMAX Development Corporation Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced
optima ^research
Optical Design Using ZEMAX
PREPARING FOR TOLERANCING
optima
^i /
esearc RUN THE TOLERANCING
h
There is now one tolerance operand for each possible defect. Select Tools >
Tolerancing > Tolerancing Change the tolerancing settings as follows:
Copyright © 2007 ZEMAX Development Corporation Advanced Optica) Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 10 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
ANALYSIS
Copyright © 2007 ZEMAX Development Corporation 9 Advanced Optical Design Using ZEMAX
optima X research
STATISTICAL ANALYSIS
Following the sensitivity analysis is the statistical information:
Nominal RMS Spot Radius:
* Baseline criteria value
Estimated change:
♦ Based on RSS of each operand
о For each operand, the difference between tie nominal criteria and the perturbed
criteria is squared. The average of the two squares {for min and max perturbed
values) is then taken.
о The average squared value for ail of the operands are then added together and
then a square root is taken of this sum.
Estimated RMS Spot Radius:
* Sum of nominal and estimated change
This defines a “worst case”.
Compensator statistics
• Minimum and maximum shifts in the compensator
* Mean shift in compensator (remember several operands had no shift)
• Standard deviation (but those that did, shifted a lot)
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirm'V'™
research
Listed is the criteria value for each trial system, and the performance departure from
nominal.
A discussion of the performance metric:
• Nominal criteria
• The best criteria value of the trials
• The worst criteria value of the trials
• The mean of the criteria values of alt of the trials
• The standard deviation of the criteria values of ali of the trials
A discussion of the compensator:
• The image shift farthest inside the nominal focus
• The image shift farthest outside the nominal focus
• The mean of the focus shifts for alt of the triais
• The standard deviation of the focus shifts for ali of the triais
Copyright © 200? ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
optima/ rc
research
j- ■ ■ dL \йадаГ \ Щщ,
Copyright ■•§ 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^research
Now that we have a reasonably close set of tolerances, what does that tell us about
the overall performance?
This really depends on the type of system being considered.
if we are only going to build one lens, then we really need to closely evaluate the
expected performance of the "worst case" design.
You can get very close by just looking at the "RSS” analysis. This is a conservative
"worst case” method.
The Monte Carlo analysis can be interpreted to indicate the probability that any one
lens built has a certain level of performance.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima v «
research
if we are going to build 10,000 of these Senses, then the Monte Carlo provides
very useful information.
The Monte Carlo analysis generates as many different designs as you want, to get
a feel for what percentage of lenses will meet (or exceed) your performance
specification. This is a reasonable approach for large production runs.
ZEMAX reports the value of each compensator, so a "range" of expected
compensator values can be determined. This is very useful data for manufacturing.
Each compensator implies a mechanical or other adjustment.
Let’s look at one of the Monte Carlo systems.
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optica! Design Using ZEMAX
optima ^research
Copyright © 2007 ZEMAX Development Corporation 16 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaV^
research
Copyright © 2007 ZEMAX Development Corporation 17 Advanced Optica! Design Using ZEMAX
optirna^research
For more information on the ISO 10110 specification, see the OSA book “ISO
10110: Optics and Optical instruments” by Ronald Kimmel
Copyright© 2007 ZEMAX Development Corporation 18 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ research
optima X research
ARBITRARY TILTS AND DECENTERS
In some situations, using ТЕ** to tolerance element tilt and decenter may not allow
for proper system tolerancing.
The user-defined TU** operands may be used instead. These operands have
several additional requirements:
* The user needs to insert the appropriate coordinate break surface/surfaces for
each occurrence in the nominal system before starting tolerancing.
* The user must define the appropriate pickups, if necessary.
User defined tilts and decenters can model complex pivoting about virtually any
surface.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
Consider tolerancing an optica! system which is used in double pass* in this type of
system, the events are not totally independent.
Each pass through a given component must have:
* Same shape - curvature, irregularity, etc
• Same materia! - same index, Abbe offsets
* Same location
• Same orientation
о etc.
The way used to design such a system is usually to use pick-ups to insure these
requirements hold. To tolerance using these pick-ups and coordinate breaks
requires using TUDx and TUTx. We will go through an example of this shortly.
Copyright © 2007 ZEMAX Development Corporation 21 Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 24 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X1research
Copyright ©2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
optim
a,1Дц
TOLERANCE NESTING RULES
^sear
ch
Monte Carlo analysis considers the effects of ai! tolerance errors simultaneously.
Tilt and decenter operations must be applied in a specific manner to prevent any
conflict or ambiguity in the operand definition.
In performing ТЕ** operations, ZEMAX inserts coordinate break surfaces before
and after the surface group.
• The tilts and decenters performed by the first coordinate break must be undone by
the second coordinate break
♦ The two operations must be performed at the same iocation in 3D space
о ZEMAX uses pickup solves to enforce this condition If the surface ranges for
the tolerance operands overlap, the effect of the coordinate break will not be
uniquely defined.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optica! Design Using ZEMAX
Advanced
\/
Optical Design Using ZEMAX
optima
research
By properly "nesting” tolerances, an unambiguous order can be given to the tilts and
decenters.
• For example, arbitrary tilts and decenters of a series of lenses, which in turn are
placed in a housing that is tilted and decentered.
The nesting rules are very simple:
* Alt element tilt and decenier tolerances must be nested,
♦ The outermost pair of surfaces in each nested group must be first.
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
\/
optima^ ™
research
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
, S\X
optima ” * research
The "first" surface is always where the tilting takes place, but it need not be the
vertex of the element. This lens is tilted about 4 different points:
Copyright © 200? ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
optima ^research
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
researc
h
COOKE TRIPLET
Open up the file sc_tol_cooke.
The Cooke triplet or Cooke Anastigmat was one of the first well-
corrected
Copyright © 2007 ZEMAX Development Corporation 30 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^rB
research
COOKE
TRIPLET
Since the Cooke triplet is often used for photographic purposes, we wii! use MTF
specifications for the tolerancing.
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
optimaN^
research
COOKE
TRIPLET
The performance specification is:
* On-axis MTFA (average of tangential and sagittal)
о greater than 0.40 at 100 tp/mm
о greater than 0.64 at 50 ip/mm
# Edge of field MTFA
о greater than 0.47 at 50 ip/mm
This corresponds to about a 10% degradation in MTF on- and off- axis
Tolerancing offers a diffraction MTF average option, but ail fields would be
evaluated at the same frequency, so to use separate frequencies and constraints,
use a user defined merit function.
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using
ZEMAX
COOKE TRIPLET
Open the Field Data dialog. Notice that we have the three normalized +Y fields as
we would expect but there are also two -Y field points (fields 3 and 5).
Since we will be using a user defined merit function, we must specify the fields to
be used during tolerancing in the Field Data dialog, not the Tolerancing dialog.
Since the perturbed lens systems created by the tolerancing algorithm will have
decentered and/or tilted surfaces/eiements, we cannot assume the field symmetry
we normally are able to. Hence, the -Y field points.
Tips' if ; --
"d. : ,-jjC.V.
да : ■да"' да-: ” WN . ■
» i pT la йода !ШГ" IMST" &ю^i<xГ•^ & щр |п,аато '■
,
дашр ■ ■■■ ■■ ■
р£г;;:.. ftm: фили».:.Гфмюв"''|аяШ:''фяа»-ИР»и>-''|
Г y-p-iT-s fr;
Take a look at the defined merit function. The merit function caicuiates/constrains
the average MTF values at the specified field points.
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
/ '"Ч,
SETTiNG UP THE MERIT FUNCTION
Notice that there are two RWCE operands at the bottom of the merit function as
weii. What is purpose of these operands?
In generating lenses for both sensitivity and Monte Carlo analysis, it is possible that
a given perturbed Sens system cannot be optimized. In the case of MTF
optimization, it is very possible that small changes in the solution vector will not
produce a change in the merit function:
• MTF may not be measurable
• insufficient sampling
The RWCE operands calculate the RMS wavefront error relative to the geometric
centroid, for the on-axis and edge of field points:
• Smaii changes in the compensators will change the value of this operand
о Merit function will be driven by this operand until the MTF can be computed, о
After the MTF can be computed, the iow weighting of the RWCE operands
effectively removes them from consideration e Because these operands draw
the MTF in, the MTF sampling can be reduced, significantly reducing the
computation time.
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optical Design Using ZEMAX
optima X research
SYSTEM MTF
1-
^■
ц ,4
3 l3
S .a
.ft
t,M sa.ee lae.m SPnTZNL nSQUMCY IM GTCLBS П31 NXLLXNETER
COOKS TRIPLET
«тощ» Ш1 то ш,ш*а JM».
виКглСв* ДЛЯДс
Copyright © 2007 ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced
rtaVIresearch
Optical Design Using ZEMAX
optima
TOLERANCE OPERANDS
Open up the
TDE,
..
T5P«.: .•••Sutf." •'WojrtttiJL... Win ■
■ -x ;#;еШ ■■ ■: ■■ : 2,0000
ЩЩШШШ l'.*. <5
.....7=:-v- iliilil
шш ■ »■
;. S
■.-. ■
.... “VA_
Г:'V». .
■ ;...■ M. ■■
■It .■.
■■.."
. _i*jj............... '-I-. .■* ■j.
- . *.. ■ъА : Ж w
llilif .... :s
my ..v
.■ .: ■ ■■ .
.........
■ л. ■V.з ". . !■ :■ :■■ Ш-
■.
is isaa» .sit. ;
::v .... ■ .
Щшйй
■i.:: ;.. ■■ ■ . 4:
1. -T: r. . ■. .■ . :■■■?
'.v:: . ■: ■: ' ЩЗШШР ■ ■ =■
. =■-■ * ■
_ ■■■• .■
;
ШШШШ iissa Г.Л
v.:-r llllil#
: -Л-f шшш ■■ -. ..J'
...
§11
wm Й am 1Я»: ШШ i
Copyright © 2007 ZEMAX Development Corporation 37 Advanced Optical Design Using ZEMAX
optima''*^
research
TOLERANCE OPERANDS
Here are the remainder of the operands in the TDE:
f'» . \vw ■■ .
"I.......:
If1 •i
r
■ ■■ v ' .j
темя
ЖV 7^1.......
EC____________
;
Copyright ©2007 ZEMAX Deveiopment Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Devetopmeni Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima x research
TOLERANCE OPERANDS
Copyright© 2007 ZEMAX Deveiopment Corporation 39 Advanced Optical Design Using ZEMAX
optimaN^'
research
■ 1 t -ДК j . С«В?Г |. . ; ( . .. - ■ : - v
Copyright ©2007 ZEMAX Deveiopment Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Devetopmeni Corporation 42 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opttma^researc
h
ANALYSIS
optima^•**
researc
h
ANALYSIS
Copyright ©2007 ZEMAX Deveiopment Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^ ri=
research
ADJUSTING TOLERANCES
optimaV*^
research
ANALYSIS
jpmSfSsa . Сайй-r . ’■
a
’■ „ Savt ~ 1 ioatl . j ■ ■ Fields: F1 ; 2|-' '■ ■ £' ■
3
Run the tolerance analysis.
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 46 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ »**
research
ADJUSTING TOLERANCES
Copyright © 2007 ZEMAX Development Corporation 45 Advanced Optical Design Using ZEMAX
research
Here are the results on-axis (field 1), This is starting to look a bit better, but it still
needs to improve. About half of the Monte Carlo simulations meet our
requirements (>0,40 at 100 Ip/mm for fteid 1)
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 46 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima'''’'"
researc
h
INVERSE SENSITIVITY ANALYSIS
We are seeing even better performance at the edge of the field. Most of the
Monte Carlo simulations meet our requirements (>0.47 at 50 Ip/mm for fields 4
and 5), (Remember, the specification Is for the average MTF performance. The
MTF analysis plots the tangential and sagittal responses individually.)
КШ: - - -____ It TO
Ш *,№S3 № да ™
~
Copyright © 2007 ZEMAX Development Corporation 47 Advanced Optical Design Using ZEMAX
optima^research
WHAT DO WE DO NEXT?
There are several methods which could be used with inverse Sensitivity to bring the
design the rest of the way in:
• Use the User-Defined Merit Function
о Inverse Limit: 0.001 (this is just slightly higher than the nominal MF value)
о Paraxial Focus compensation initially
• Use Diffraction MTF Average Merit Function
о Delete off-axis fields о Inverse Limit: 0.46,
MTF frequency to 100 о Reenter off-axis
fields о Inverse Limit: 0,58, MTF Frequency
to 50
• Use a scripted tolerance to automate process
о Use RMS Wavefront to get close о Use
Merit Function for final analysis о Scripted
tolerancing will be covered next
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ® 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Vx
optima ▼researc
h
INVERSE SENSITIVITY ANALYSIS
Here are the results on-axis after using the defined MF criteria, Inverse Limit of
0.001, Paraxial Focus compensation. Ail of the Monte Carlo systems are now
meeting the on-axis specification.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optica! Design Using ZEMAX
optimaV^resear
ch
EVALUATION
Take a look at how ZEMAX has tightened the tolerances (Tools > Tolerancing >
Toierancing Summary).
The mechanical constraints are getting the tightest, as well as one of the surface
decenters.
it may be necessary to reevaluate some other operands, possibly tightening up
other requirements to loosen up these. Better statistics couid be obtained by using
more MC runs and possibly more optimization cycles, both of which take
significantly more time.
Copyright ® 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optirreN^
researc
h
SCRIPTED TOLERANCING
aptimaVteseareh
TOLERANCE SCRIPTS
Tolerance scripts are command files which define a procedure for tolerancing a
lens. Scripts can be used to simulate a multi-step process for the alignment of a
lens during tolerancing. Each step may use different compensators, constrained by
different merit functions.
Any or ail of these operations may be included in tolerance scripts:
* Add or remove compensators
• Load new merit functions
• Monitor and report any value that ZEMAX can compute in the merit function
о This includes ZPLM or UDOP
* Save Senses at any point in the procedure to a ZMX tile
Tolerance scripts are text files ending with a ,TSC extension. Script files must be
stored in the root ZEMAX directory.
Copyright ® 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright ©2007 ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima jT
research
TOLERANCE SCRIPTS
The tolerance script is run several times during the tolerance analysis:
* First to compute the nominal lens data
о The nominal value reported when running a script is the value of the last merit
function loaded by the script
* Twice for each operand in sensitivity analysis
о Once for the min value, once for the max value
* Several times for each operand during inverse sensitivity analysis
о Min and max range each may be reduced iteratively
* Once for each Monte Carlo lens generated
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optical Design Using ZEMAX
optima Xresearch
SCRIPT COMMANDS
Copyright ® 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opti
ma i SCRIPT COMMANDS
^sea
rch
Script commands:
• OPENFILE “Filename’ mode
о Opens a new data file for REPORT values
* OPTIMIZER
о Executes "n" cycles of the damped least squares optimizer. If "n” is 0 or omitted,
optimization runs in automatic mode.
* PERTURB
о Used to randomly perturb a system parameter
* REPORT "text" operand
о Prints any user defined text as well as the value of any operand in the currently
loaded merit function, if the operand is zero, the entire merit function wiii be
printed, if operand is -1, no operand value is reported (used to enter blank lines
and comments).
* SAVEn
о Saves the current lens file with the name TSAVnnnn.ZMX,
* UPDATE
o Updates the current file, used after PERTURB commands.
Further description of these commands can be found in the manual.
Copyright © 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
optir».
» ,Лу i
eseare SCRIPTED TOLERANCE EXAMPLE
h
/ "X
Consider the process for tolerancing and aligning a rifle scope:
• The basic system is afocal
• A graduated reticle is located at an interna! focus
• The axial ray should be aligned with the mechanical axis
We wifi set up this process using a tolerance script.
Open up the file \Short course\SCJToS JRfIScp
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optlma^h*e
research
SCRIPTED
TOLERANCE EXAMPLE
optima ^research
SCRIPTED
TOLERANCE
The steps we need to consider in aligning this system:
• The reticle will be positioned at an intermediate image, using the thickness from the
preceding piano iens surface {thickness of surface 5) as a compensator
• The thickness after the reticule will be adjusted to coiiimate the output. Afocai mode and
an angular default merit function will be used to optimize coHimation.
• The tilt and decenter of the final elements will be adjusted to maintain the axial ray
position.
• Eye relief needs to be at least 90 millimeters
We will need to create separate merit functions for each of these tasks.
Scripted tolerancing needs user-defined fields. Note that y-symmetric fields have
been defined in the Field Data dialog
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X1research
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
optima X research
INTERMEDIATE IMAGE
OPTIMIZATION
Create the following macro {you can leave the comments out) and save it in the
"Macros” directory.
$ This macro miii':'shaoige.-::aB.Y"opeEand':':3aamed':'.,ERAiR':'ti3--:TB!AI:':'aDad.-set::'.th8'.:
£ixsfc'.':satting::'fiiitlJ § for the operand to 6.
CLOSEtflMBOU #■ This-rmn-ns'-onУ4quiet":-mode -which- hides-■ the■■ macro- output- window ■- A£'
»."TRAR" § This is the operand type that the loop will look for
FOR i, 1, 300, 1
x=GPERfi,l) # Ms.-rtmiKi tfee .operand-code:number for the-idn-xowyin-.-th&yHFEy:
... . y=QC0Dt&fF'-#:.TBis,:i.etU£R3-,the--.operand--code::mimbsr--£Gr th.e.::TRAR--operand-
typeу,,-,---,:-,:; IF x-=y | If the loop finds an operand named TRAR...
SETOPERAHD i, 11, "TRAI" § The operand паже i3 changed to TRAI SETOPERAMD i, 2, б I
The first setting {inti) for the operand is sat to S
ELSE EMU IF
KEXT .. ................... .........................................
After defining the default merit function described on the previous slide, run the
macro.
Now save the modified merit function as "reticle.mf.
Copyright © 2007 ZEMAX Development Corporation 60 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
opti rm^fresearch
BORES1GHT
OPTIMIZATION
For the boresight adjustment, we need coordinate breaks around the eyepiece
assembly. Notice the coordinate breaks set on surfaces 13 and 19. Negative pick-
ups on the second CB surface pickup from the first CB, The order flag on the
second C8 is reversed. There is something missing however. What is it?
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
OptimaV^l
research
BORESIGHT
OPTIMIZATION
We need to ensure that the second CB is coincident with the first!
• insert a dummy surface after the second C8
• Set a Position solve on the thickness of surface 18 (From: 13, Length: 0)
• Copy the thickness of the second CB to the new dummy surface following it
• Set a Pickup solve on the thickness of the second CB (From: 18, Scale: -1)
Delete the existing merit function (in the MF editor, select Edit > Delete Ail)
The merit function simply traces the axial chief ray to the exit pupil:
• REAR surf=21 wave=2 hx=hy=px=py=0.0, target= 0.0 weight =1.0
о This MF operand ensures that file axial ray is aligned with the mechanical axis
The compensators will be the y-decenter and x-tilt of the final lens assembly:
• Parameter 2 and 3 of surface 13
Now save the merit function to the \ZEMAX directory:
• atign.mf
Copyright © 2007 ZEMAX Development Corporation 33 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright O 2007 ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
COLLIMATION OPTIMIZATION
The optimization process will determine the system with the best coliimation as this
will give the minimum angular radius at the exit pupil (coincident with the IMA”
surface in this example).
The compensator will be the separation from the reticle to the three element relay
lens (thickness of surface 6).
For the merit function, delete the existing merit function and then use a default:
* RMS - Angular Radius ~ Centroid
Add a chief ray solve to constrain IMA surface to be at the location of the paraxial
exit pupil and place an additional operand to check the exit pupil location and report
the eye relief:
* Place Chief Ray Height Solve on the Thickness of Surface 20 (Height = 0)
о This solve ensures that the IMA plane (eye) is at the paraxial exit pupil
• Add an operand at the top of the merit function: TTHI surfl =20 surf2=2G weighted.
о This is the eye relief
Now save the merit function to the VZEMAX directory:
• rms.mf
Copyright © 2007 ZEMAX Development Corporation 83 Advanced Optical Design Using ZEMAX
optima X research
CREATING SCRIPTS
Copyright O 2007 ZEMAX Development Corporation 64 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima research
TOLERANCE OPERANDS
чг «-A'
optimaj^research
RUN THE TOLERANCING
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^**
research
SCRIPTED TOLERANCING
Scripted tolerancing is a powerful tool which can help in both tolerancing and
assembly of optical systems. By determining the ranges on al! the
intermediate adjustments, the mechanical assembly can be simplified.
Scripted tolerancing can also be used in cases where the standard tolerancing
process is very time-consuming.
* For example, in the case of the Cooke triplet, the initial tolerancing could have been
done using an RMS spot or wavefront criteria using the back focus compensator.
Then the MTF merit function could have been applied. Since the system was near the
wavefront optimum, only one or two optimization cycles should be required. This can
result in a significant time saving.
Copyright© 200? ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^ research
optimal™
research
Let's consider toierancing an optica! system which is used in double pass, in this
type of system, the events are not totally independent.
Each pass through a given component must have:
• Same shape - curvature, irregularity, etc
• Same materia! - same index, Abbe offsets
• Same location/orientation (tlit/decenter)
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima j^res e&re h
We wii design a simple one lens relay and insert coordinate breaks and pickups as
necessary in the nominal system.
To tolerance these coordinate breaks, we will use the TU** series tolerance
operands for tolerancing. These are the Tolerance User-defined Decenter and Tilt
operands.
Systems used in double-pass configurations can be readily tolerenced in ZEMAX.
Remember to use pick-ups and to manually test to insure all pick-ups are as
required.
We will design a single lens system, EPD about 25 mm, EFL about 100 mm at finite
conjugates (object distance of 96.6312).
Select a stock lens from one of the manufacturer catalogs to save time. (LDX168
from Melles Griot wili work nicely) Remove the MRH solve.
Copyright © 2007 ZEMAX Development Corporation 3 Advanced Opticai Design Using ZEMAX
optima^"
researc
h DOUBLE-PASS DESIGN
Insert a surface before the IIVIAge and make it a MIRROR. Place the mirror 50 mm from
the lens.
To insert the second instance of the lens, insert the lens again at the IMAge surface. Re-label
the surfaces If desired.
Use pick-ups on the radii and glass columns aii along the return path.
Use position solves for the thicknesses for the second instance of the lens and to locate the
IMAge surface.
Set the object thickness to 96.6312.
Copyright © 2007 ZEMAX Development Corporation 2 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 6 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
research
DOUBLE-PASS DESIGN
optirmV^
research
DOUBLE-PASS DESIGN
For toierancing, we want to consider the effects of tilting and decentering of the
lens. We will use the front vertex location along the axis as the pivot point We must
return to this point any time we initiate or complete the movement.
To begin:
• Put coordinate breaks around each occurance of the optic.
• After traveling through the lens, return to the pivot point to return to the original
coordinate system
• Do this for the second pass as well, make sure the pivot is always initiated at the
same location.
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima J research
EXACT INSTRUCTIONS
Copyright © 2007 ZEMAX Development Corporation 7 Advanced Optical Design Using ZEMAX
optima Xresearc^
EXACT INSTRUCTIONS
Copyright © 2007 ZEMAX Development Corporation 8 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
aptimaV^e
research
DOUBLE-PASS DESIGN
Here is a set up for this system:
<4l«j l.iiilor
p'ii viffi Ш& ШШШШ' Й ‘ Hi
1 ... SUE £; Type Coanant | Radius | Thickness [ ' Glass'! v':- | 3£ftLrDi'&to£t££ [
■. OBI Standard Infinity .'36.6312 П o.ootm
Й Щ
itj-aijir.eis 5.. Щ I 1 Й
:r: . O.VOOP
,=r.v в OF U::;SC| ji)4.01 V
■l..'.CV
t pj c:-v .^.L/OVO :.- .
:
3* Standard; Vi BACK OF LDXldaj 7©-103.0200 -4.2000 m 15.0000 U
1 L .i PJ -
1 c.vctji
■ Standard; ...... Binary infinity SO.0000 " 13..734Q;
■;* ■ : ." . Infinity ■"P.OO-Mi [T 1 f
7 ■ Standard: Г вишу. ■ Infinity _ -4.2000 Ы --. 13.7019
... \’i '
Г- ?*аг:;;й:.л :«t"K -in:.::- ■. i.V= r I:K"
<frv>v. — *• l
.10* ::tStandetdi FROST OF ШХ168 : 103.0200 Pi 0.0000 -.5.0000 Hi
■:
i ~ .....
к '
"c-Jt-.: i ■: . il 1 O.Oi^jr-
Copyright© 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
optimaVresearch
DOUBLE-PASS DESIGN
• Tilt the surface about x {10 degrees) and decenter in у (2 mm) to test
Copyright© 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 12 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X1research
DOUBLE-PASS DESIGN
For the tolerances, we can start with the default set, and remove or modify the
operands as appropriate.
* Do not use Tilt X/Y {redundant for spherical surfaces) or Decenter Y {on-axis only)
for surface tolerances
• Do not use Decenter Y/Tiit Y for element tolerances {on-axis only)
• Do not use Abbe tolerancing {monochromatic)
The only ТТИ1 operands we need are for surfaces 2 {the lens thickness) and 5
(mirror position)
• Set Surf=Adjust
Replace the TExx operands for surfaces 2-3 with TUxx operands
* Change ail operands to their TU equivalent (i.e. TEDX becomes TUDX)
• Change the surface to 1 for all TUxx operands
Remove ail operands for the second instance of lens (ail for surfaces 9 and 10)
Use surface decenters on front surfaces only
# Remove TSDX for surface 3
To maintain symmetry, use the object distance as the compensator
# Change the default compensator to surface 0
Fix the Semi-Diameter of the mirror (required for fringe tolerancing)
Copyright © 2007 ZEMAX Development Corporation 11 Advanced Optical Design Using ZEMAX
optima ~ re
research
DOUBLE-PASS DESIGN
.................. '
. .......... ■ ■1
-
:
r=.y:-
W
...... ............................
„J:!?;!':....................... £=. c : -i. г ■. у; у
........... Ш
Tffll . ■
■■■'ГШ1;.
Ш : ~ ■■■■-■ ■ -.\.К i.i ■
-1 ТПЖ
Ш i.- . ■ ■■■
■■ ■: гг-
Ш - ■! il':
:
'16.0ШГ
ь
ЙШЙ 5 1 ■■■ :..:l !!!■ : ■
:: =:v:i.-. v- el _
i.
1
:!~t i
eli
■
..
. i. ■■■ Hi; r..
-о..;.!:--
' : v.
Il i
i ...
тШ$Штж
I ::ri-; *
■r ........ fi
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^?*
research
DOUBLE-PASS DESIGN
We have taken care of modeling the element tilts/decenters for the second pass
through the lens by using the TUxx operand along with the coordinate breaks we
have already setup but what about surface tilts and irregularities?
To tolerance surface tilts and/or irregularities:
* Make both of the second pass surfaces Irregular о
Apply Pickups (positive) to the original surfaces
=> Surface 9 picks up from surface 3 (rear surface of lens)
=> Surface 10 picks up from surface 2 (front surface of tens)
Copyright © 2007 ZEMAX Development Corporation 13 Advanced Optical Design Using ZEMAX
optirnaV^research
DOUBLE-PASS DESIGN
We will do an RMS spot size tolerance and save some Monte Carlo files so that we
can insure the toieranced Sens is positioned as expected.
The compensator is not the image distance so we can’t use Paraxial Focus
compensation
Here are the settings:
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimaVre
research
DOUBLE-PASS DESIGN
Verify that there is only one tens in any of the MC_t**** files
Observe the use of the pickups on the Coordinate Break and Irregular surfaces
Copyright © 2007 ZEMAX Development Corporation 15 Advanced Optical Design Using ZEMAX
optirmN*^^
researc
h
Copyright © 2007 ZEMAX Development Corporation 14 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X researc^
Copyrights 2007 ZEMAX Development Corporation 17 Advanced Optical Design Using ZEMAX
optima4^
research
There are five different mirror rotation positions modeled using multiple
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д research
SETUP TOLERANCES
We wii! start with a default set of tolerances and then modify the default set as
necessary. We will then add the operands needed to accommodate the multiple
configuration nature of this system.
Tools > Optimization > Remove Ail Variables
There is one solve in place which we need to remove. Which one is it?
Build a default set of tolerances. As usual, since we only have spherical lenses,
use Decenter X/Y for surfaces but not Tilt X/Y.
We do not need to do Abbe tolerancing as we are working monochromatically.
The compensator will be back focus.
Remove all TTH! operands except for surfaces 6 and 7. We will not use
intermediate thickness compensators.
Remove the TETX operand for surface 4. We will be tolerancing the X-tlit of the
scanning mirror using the TMCO operand.
Remove TSDX/TSDY for surface 8, We wii! tolerance the surface decenter on the
front of the lens only.
Fix the Semi-Diameter of the mirror (surface 4) to 18.
Copyright © 2007 ZEMAX Development Corporation 19 Advanced Optical Design Using ZEMAX
optima
research
TMCO
The TMCO operand allows us to tolerance a specific operand in the MCE for a
specific configuration. Thus, we will add 5 TMCO operands in the Tolerance Data
Editor, one for each scan tilt position.
Add 5 TMCO operands at the bottom of the TDE.
* Set the Row for each operand equal to 1.
• Each operand will have a different Config# (from 1 to 5).
Set the Min value for each operand to -2 and the Max to 2,
One scan position may be more sensitive to tilt perturbation than another. When we
perform inverse tolerancing across all configurations at once, each configuration’s
tilt range will be adjusted accordingly.
Copyright© 2007 ZEMAX Development Corporation 20 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimM
research
SENSITIVTY ANALYSIS
fisl cs--’-
The nominal RMS spot size averaged across ati of our configurations is about 100
microns. The estimated perturbed spot size is about 133 microns.
Suppose we wanted a maximum perturbed criteria of 105 microns for ail of our
configurations?
0.105-0.100
Increment = V25 0.00
1
After running inverse Increment analysis with an increment of 0.001, the estimated
perturbed spot size is now about 114 microns.
Take a look at the tightened ranges for the TMCO operands. Each scan position
has a different level of sensitivity. The actual system should be assembled with
tolerances equal to the most sensitive of the five positions.
Copyright © 2007 ZEMAX Development Corporation 22 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д research
Copyright © 2007 ZEMAX Development Corporation 23 Advanced Optical Design Using ZEMAX
optiHi s«.
^search
SPEEDING UP TOLERANCING
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
SPEEDING UP TOLERANCING
Tolerancing is, by its very nature, a very detail-oriented and time consuming
process.
There are a number of strategies that can be used to reduce the computational
effort and time taken.
Some are simply sensible engineering choices, others are features we have
specifically added to help reduce the computational complexity.
Copyright © 2007 ZEMAX Development Corporation 25 Advanced Optical Design Using ZEMAX
optima Tiresearch
INTELLIGENT DESIGN
There are a number of ways in which a smart designer goes about tolerancing a
design. These include, but are not limited to, the following:
Don’t use Auto optimization cycles. Remember that the optimization stage simulates
a shop-floor or user adjustment, like focusing a projector onto a screen, its not
important that you reduce the spot to the last picometer! Three or four cycles of
optimization are usually ail that $ needed.
If the nominal design is rotationally symmetric, try aligning all the tilts/decenters so
that the worst-case is along y, and just use Y-symmetric fields instead of XY.
Remove weak tolerances. If TIND or TABS, for example, have little effect, they can
be removed, certainly in the early stages. And if TIND and TABB are weak, why are
you using more than one wavelength? ;-)
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 28 Advanced Optical Design Using ZEMAX
Advanced
\/
Optical Design Using ZEMAX
optima
research
TOLERANC1NG EVOLUTION
Remember that, just as with optimizing, as the design matures, you can change
your strategy.
Early in the process, focus on worst-case scenarios so that your design gets "into
the right ballpark”.
Run final tolerancing runs with ail tolerances, wavelengths, configurations etc...but
only invest the time this will take once you have some reasonable degree of
confidence that the design wil! pass the test!
Copyright © 200? ZEMAX Development Corporation 27 Advanced Optical Design Using ZEMAX
optimaN^
research
SMART TOOLS
That said, ZEMAX does have some tools built into the tolerancer to help improve
speed. The major tools are:
•Tolerance Cache
• Polynomial Sensitivity
Copyright © 2007 ZEMAX Development Corporation 26 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 50 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д research
This works by ignoring aii the compensators you have defined, and, instead,
defining a back-focus compensator
This mode does NOT use rigorous optimization of the back focus, instead, it splits
the last thickness into two surfaces:
• A surface with a paraxial image height soive, which moves you to the paraxial
image plane. This is the bulk of the back focal distance.
* A re-focus surface, that moves you back to the real image piane. This is a small
correction factor.
During toierancing, the paraxial marginal ray solve automatically updates to keep
the design at paraxial focus at the surface-before-last. The constant re-focus
thickness is then applied to the final thickness.
The speed advantage is that no cycles of optimization are required. Only one ray
needs to be traced to update the paraxial height soive.
Copyright © 2007 ZEMAX Development Corporation 29 Advanced Optical Design Using ZEMAX
optima X research
AN EXAMPLE
Open the Cooke triplet sample file {Samples > Sequential > Objectives > Cooke 40
degree fieSd.zmx)
Click on Tools > Miscellaneous > Quick Focus, and adjust for best Spot Size Radial,
relative to the centroid of the spot:
Quick Focus
* Spi.it Shi: Rads! ■XTX^poS Only
Centroid
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
research
i
3
Surf:fYpe—: ■■ Comment ■ Radius 1
OBJ standard a;s:;t::■.■■■
;Tnf Infinity E-
:Xnd:tY
in SU:: V ■■■■
2*- Standard -435.760 V ...
IH i.;.; v
ic .'a 20.292 V 4■ 750 ;Y :: d:
"Standard
:» 73. i-V-W V
N Standard! ■ ■ “18,3- M о-42*20Б-4
jim < 'at--- ___
!<\; '^Standard
,-:7 ' " XC.l infinity iis
Copyright © 2007 ZEMAX Development Corporation 31 Advanced Optical Design Using ZEMAX
optima4^
researc
h
NOW CHANGE IT
Click on the IMAge surface, and press INSERT to enter a new surface
Use Tools > Miscellaneous > Quick Focus to adjust this new surfaced thickness for
best Spot Size Radial.
Copyright © 2007 ZEMAX Development Corporation 32 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 34 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^research
Look at the surfaces now in the LDE, below. The sum of the two thicknesses is the
same as the original single surface thickness
Try perturbing other lens parameters. Note that the solve updates, but the refocus
surface does not. This is what “paraxial compensation" does.
Lens Data Editor
"SpMes' Ыр- ::."л
1 :;:surf :Typ Comment--:- Radius :- Thickness
j -/
eOBJ /:/;::■:■■■
t.. Infinity
. ■■■■■Stand inf ittity
■ V V .
2. ■ -
:
■ ..." V
standard V
...„. Ш 5
■±! . . ................ . 4.750 V
■-- .■■С; 2£>. 292 V
Ill . . . 7 s
standar back focal distance -18,395 42 - 4X5' M
■. d Standar . Infinity -0.207
7 :
IMA d -
j Infinity
Standar
b'zuu,' Z-CIVI/ЛЛ uyvesiplnwti udl'jWSilM “З mvaniWili uptittil мАХ
У иййР'ШЩТЕ:
optima^*-*
research
In exquisitely well balanced systems with very tight tolerances. This is a little
counter-intuitive, but when a system is very well corrected it performs close to its
paraxial performance, and tight tolerances have only a first-order effect.
Paraxial Compensation should NOT be relied upon for final system evaluation! Its
only purpose is to give you a fast "first-cut” in the above two cases.
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200T ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^***
research
TOLERANCING CACHE
imagine you run a Sensitivity (or inverse Sensitivity) analysis, and you need to
tighten some tolerances. You tighten them, and then re-run the Sensitivity analysis.
How should ZEMAX handle the tolerances which you did NOT change?
The Tolerance Cache lets you store the resuits of a previous sensitivity analysis,
and use them again without recalculating the effects of tolerance operands that
have not changed between runs. When used with care, this is a great time saver in
all kinds of tolerancing problems.
Copyright © 2007 ZEMAX Development Corporation 35 Advanced Optical Design Using ZEMAX
optimaV^
research
TOLERANCING CACHE
When “Recompute Changed” is used, only those tolerances which were changed
between runs are recomputed.
ZEMAX will automatically clear the cache if any of the tolerancing settings (i.e.
criterion choice or sampling settings) are changed. ZEMAX will not, however, reset
the cache if changes are made to the lens data in a given file.
The cache should only be used when no changes have been made to the lens
system itself. If changes are made, set the “Cache” setting to “Recompute
All” in the next tolerancing run.
When using the cache, compensator data are not displayed in the tolerancing
summary at the end of each tolerancing run (though the criterion values shown do
consider the effects of compensation).
Separation of data by fields and configurations is not supported when using the
cache feature.
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 200T ZEMAX Development Corporation 36 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima д research
researc
h
POLYNOMIAL SENSITIVITY TOLERANCING
where 5 is the tolerance perturbation value and P is the resulting criterion. For the
3-term fit, a total of 4 equally spaced points are used within the minimum and
maximum tolerance values. A total of 6 points are used for the 5-term fit.
ZEMAX lets you choose the first three terms, or ail five terms, of this polynomial
Copyright © 2007 ZEMAX Development Corporation 38 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 40 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
\/
optima^
research
TERM LIMITS
You need four data points to fit to a third-order polynomial, and six for a fifth-order.
Here are the four data points we choose when fitting to a three-term function:
optimaN^
researc
h
A GOOD FIT
Copyright © 200? ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima 7"
research
FASTER TOLERANCING
The beauty of this is that once we have a mathematical equation for how the
criterion varies as a function of the tolerance perturbation, subsequent calculations
are almost instantaneous!
For example, if we choose to tighten the tolerance on the decenter of our first lens
element, there is no need to recalculate the tolerancing criterion by brute force.
instead, we simply plug the tolerance perturbation into our fitted polynomial
equation and evaluate the new criteria.
Copyright© 2007 ZEMAX Development Corporation 41 Advanced Optical Design Using ZEMAX
optim research
a
OPTIMIZING FOR
MAN U FACTU
RABILITY
Advanced Optical Design Using ZEMAX
Copyright © 200? ZEMAX Development Corporation 44 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X
research
TOLR
Imagine a solution space for a given optimization problem that looked like this:
Copyright© 200? ZEMAX Development Corporation 43 Advanced Optical Design Using ZEMAX
optima X research
TOLR
The problem with solution В is that if you build the system and the actual (as-built)
value for the variable shown is different than the optimized value, the merit function
will likely go up significantly given the steep nature of the valley that the optimized
value lies in.
While solution A has a slightly higher merit function value than solution B, the
valley surrounding solution A is fairly shallow. Thus, if the actual variable value
that you get for solution A is not exactly the optimized value, the merit function will
not likely go up significantly.
This often happens because we optimize the ‘perfect’ system first, and then do the
tolerancing. What if you could do the initial optimization, already accounting for the
size of the tolerances on all the parameters? Well, you can!
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima Xresearc^
TOLR
ZEMAX aiiows you to account for tolerances when optimizing by using the TOLR
optimization operand.
Here is how TOLR works;
• First, you need to design/optimize an optical system with reasonable performance.
* Next, buiid your set of tolerances and compensators in the Tolerance Data Editor.
* in the Toierancing dialog (Tools > Tolerancing > Tolerancing), setup the tolerancing
options that you want and then dick “Save” at the bottom of the window.
о You will need to use one of the built-in toierancing criteria (“Merit Function" is not
a valid choice when using TOLR—this wouid create an infinite ioop).
• Add TOLR to your defined merit function and optimize!
Note; The saved settings file name must be of the format TOLRnnn.TOP, where nnn is the 3
digit integer specified on the TOLR operand file argument. You then reference nnn in the
merit function editor when calling TOLR
Copyright © 200? ZEMAX Development Corporation 45 Advanced Optica! Design Using ZEMAX
optima X research
TOLR
TOLR can be used by itself or in conjunction with other operands. It can be used by
any optimizer, e.g. DLS, OD, Globa! Search, Hammer.
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
ALIGNMENT ANALYSIS
ALIGNMENT ANALYSIS
What do you do after the tolerancing has been performed, and the parts (optical and
mechanical) have been specified, ordered and received?
Assembling an optical system can be a simple task, especially if the only adjustment
or compensation is to the back focal distance of a rotationally symmetric design.
What about situations with several compensators or tilted or decentered
components?
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 48 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^C
research
ALIGNMENT ANALYSIS
ZEMAX can also be used when the system is being put together, if the system
being assembled can be tested using an interferometer, then ZEMAX can use the
information from the interferometer to determine the adjustments necessary to the
components to optimize the system’s performance.
This is done using a "Zernike Phase" surface. The interferometer will measure the
wavefront aberration of the system under test at the exit pupil By placing a phase
mask with the same aberrations at a pupil plane within ZEMAX, and adjusting the
positions of the elements, the sources of the errors can be determined.
Copyright © 2007 ZEMAX Development Corporation 49 Advanced Optica! Design Using ZEMAX
optimaV^research
7PPMIKP rnppPiriPKITQ
Н» Пня 111 I C* CP Г 1 1 Vi# I Iw III I ^3
Advanced Optical Design Using ZEMAX
Copyright© 2007 ZEMAX Development Corporation 52 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima^™5
research
Copyright © 2007 ZEMAX Development Corporation 51 Advanced Optical Design Using ZEMAX
optimN^
researc
h
FRINGE VS. STANDARD
Copyright ©200? ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
4
\x'
optima ™ ™ research
- 1.1 - j
Copyright © 2007 ZEMAX Development Corporation 53 Advanced Optica! Design Using ZEMAX
optiiiyC
resear
ch
FRINGE COEFFICIENTS
Copyright ©200? ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 56 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
NLV-'
optima xresearch
STANDARD COEFFICIENTS
The first few standard coefficients (to third order) are:
*Z1 1
•Z2 4A(1/2) (R) * COS (A)
•Z3 4л{1/2) (R) * SIN (A)
»Z4 Зл(1/2) (2RA2 -1)
•Z5 6л(1/2) (RA2) * SiN (2A)
♦Z6 6A(1/2) (RA2) * COS (2A)
•Z7 8A(1/2) (3RA3 - 2R) * SIN (A)
*Z8 8A(1/2) (3RA3 - 2R) * COS (A)
#Z9 8A(1/2) (RA3) * SIN (ЗА)
• Z 10 8A{1/2) (RA3) * COS (ЗА)
• Z11 5A{1/2) (6RA4~6RA2+ 1)
AH are normalized to yield:
2 1 K
fJZjZjpdpdO-Sjj 0 =0 p =G
Copyright© 2007 ZEMAX Development Corporation 55 Advanced Optical Design Using ZEMAX
optimaV’researcb
/X
HOW ZEMAX COMPUTES THE ZERNIKE
COEFFICIENTS
ZEMAX computes the OPD in the pupil
Assuming entrance pupil coordinates (so that a perfect unit circle is achieved), the
coefficients of the polynomials are fit for minimum RMS deviation between the
polynomial and the actual data.
if any surface apertures are present, ZEMAX does no fitting for these points,
although the functions could be evaluated at the “dark” regions to yield meaningless
data.
The fit coefficients are listed in a table.
Load the Double Gauss 28 degree field lens file and compare the Fringe and
Standard data.
Copyright ©200? ZEMAX Development Corporation 54 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 58 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
research
WHAT THE
ZERNiKES MEAN
The Fringe coefficients tell you how many waves at the edge of the pupil you
have of each aberration type.
Because the Fringe polynomials are all normalized to a value of unity at the edge of
the pupil; they read off in waves at the edge of the pupil directly,
The Standard coefficients are normalized to minimize the RMS wavefront error
to that term.
Therefore, the Standard coefficients read off in units of RMS waves directly.
• Fringe coefficients tell you waves of OPD at the edge.
• Standard coefficients tell you waves of RMS over the pupil.
Copyright © 2007 ZEMAX Development Corporation 57 Advanced Optical Design Using ZEMAX
optima ” ™
research
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optimsN^
research
RMS
OFF-AXIS
Now change the field position to 3; the edge of the field.
Many other terms come into play!
The “RMS to the chief ray” is the RMS including the tilt terms
# The tilt terms are Z2 and Z3.
• These shift the image but do not degrade it
The “RMS to the centroid” is the RMS excluding the tilt terms
The centroid reference is generally more useful, since a tiny shift in an otherwise
good image does not really degrade performance.
Copyright © 2007 ZEMAX Development Corporation 59 Advanced Optical Design Using ZEMAX
resear
ch
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima
V"
hm'jXvresearch
гг!
INTERFEROMETER FEEDBACK
Suppose you have measured the individual components in a iens system and know
them to be good, but the system as a whole performs poorly due to alignment
errors.
We wit! explore a simulation of measuring such a system, and using the Zernike
surface, will simulate the removal of the alignment errors.
Copyright © 2007 ZEMAX Development Corporation 61 Advanced Optical Design Using ZEMAX
optima X1research
GOOD SYSTEM
Start with a good system: Load iens file SC_ZERN1 .ZMX
Note this is two lenses used to expand a beam (i.e. Galilean beam expander). The
lenses are well corrected spheres.
Note the use of Afocal Image Space since we are in collimated space, as well as
the REAY constraint in the merit function to hold the magnification.
Copyright © 2007 ZEMAX Development Corporation 62 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
Copyright © 2007 ZEMAX Development Corporation 64 Advanced Optics! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima %r e s earth
7
MISALIGNMENT SIMULATION
To compute the Zernike aberrations for this lens, choose Analysis > Aberration
Coefficients > Zernike Fringe Coefficients.
The terms are al! near zero, since there is very little О PD error in this iens.
What if we simulate a decenter of the lens?
insert coordinate breaks before and after the second iens.
Set pickup solves on the second coordinate break dx and dy values.
Add a dx of +0.10 mm and a dy of -0.20 mm.
Copyright © 2007 ZEMAX Deve!optnent Corporation 63 Advanced Optical Design Using ZEMAX
optimaV^
research
ABERRATED LENS
Now we get about 2 waves of a strange coma-like aberration. Look at the Zernikes
now, and see that there are contributions up to about Z25.
OBJ J DEG hi ~
OPTICAL PKTH
LENS H8S N0 TITLE,
MftXXMLH SCALE? * 5,00Й KRV5S. 0,550
Copyright 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima X research
ALIGNMENT EXERCISE
Now suppose that you did not know what the misalignments were, but had
measured the aberrations using an interferometer
Can you solve the inverse problem, which computes the alignment errors given the
wavefront aberration?
Here’s how:
* Insert a dummy surface colocated with the stop or any pupil plane
о Why is this a critical step?
* Add the Zernike phase terms to the surface that correspond to the measured
aberrations*
* Now make potential misalignments errors variables, and let the global optimizer
find a potential fit!
Copyright © 2007 ZEMAX Development Corporation 65 Advanced Optical Design Using ZEMAX
optimaV^
research
ALIGNMENT EXERCISE
Load the file SC_Z£RN2,ZMX which has the tedium done for you already.
Note:
• The Zernike Phase surface at the stop
• The phase coefficients are the same as was computed (or "measured" in
our simulation)
• The coordinate breaks with variables and pickups
Now build a default merit function which minimizes the RMS wavefront error.
Optimize, and ZEMAX quickly "reverse engineers" the decenters!
Copyright 2007 ZEMAX Development Corporation 66 Advanced Optical Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima x research
RECAP
Copyright © 2007 ZEMAX Development Corporation 67 Advanced Optical Design Using ZEMAX
optirna^^
research
TOLERANCING
Copyright © 2007 ZEMAX Development Corporation 70 Advanced Optica! Design Using ZEMAX
Advanced Optical Design Using ZEMAX
optima ^
research
CONCLUSION
rra^j4
optima X
research
THANK YOU!
Copyright © 2007 ZEMAX Development Corporation 71 Advanced Optica! Design Using ZEMAX