Optical Design with Zemax for PhD - Basics

Similar documents
Optical Design with Zemax

Optical Design with Zemax

Optical Design with Zemax

Optical Design with Zemax for PhD

Optical Design with Zemax for PhD - Advanced

Tutorial Zemax 6: Advanced handling

Lens Design I. Lecture 1: Basics Herbert Gross. Summer term

Lens Design I. Lecture 11: Imaging Herbert Gross. Summer term

Lens Design I. Lecture 3: Properties of optical systems II Herbert Gross. Summer term

Lens Design I. Lecture 4: Properties of optical systems III Herbert Gross. Summer term

Optical Design with Zemax for PhD

Lens Design I. Lecture 9: OptimizationI Herbert Gross. Summer term

Advanced Lens Design

Lens Design I. Lecture 2: Properties of optical systems I Herbert Gross. Summer term

Lens Design I. Lecture 2: Properties of optical systems I Herbert Gross. Summer term

Optical Design with Zemax

Optical Design with Zemax for PhD

Feature Map. Work the way you want, faster, easier... with the same Zemax reliability. RIBBONS / EDITORS

Optical Design with Zemax

Optical Design with Zemax

Lens Design. Craig Olson. Julie Bentley. Field Guide to. John E. Greivenkamp, Series Editor SPIE. SPIE Field Guides. Volume FG27

Ray Tracing. Lens Design OPTI 517. Prof. Jose Sasian

Contrast Optimization: A faster and better technique for optimizing on MTF ABSTRACT Keywords: INTRODUCTION THEORY

Optical Design with Zemax

Advanced Lens Design

18.4 Release Notes May 10th, 2018

Metrology and Sensing

Final Exam. Today s Review of Optics Polarization Reflection and transmission Linear and circular polarization Stokes parameters/jones calculus

Waves & Oscillations

Virtual and Mixed Reality > Near-Eye Displays. Simulation of Waveguide System containing a Complex 2D Exit Pupil Expansion

Waves & Oscillations

Efficient wave-optical calculation of 'bad systems'

INFINITY-CORRECTED TUBE LENSES

Metrology and Sensing

Optical Design with Zemax

Optical Design with Zemax

Ray Optics I. Last time, finished EM theory Looked at complex boundary problems TIR: Snell s law complex Metal mirrors: index complex

Metrology and Sensing

Optical Design with Zemax

18.7 Release Notes August 14th, 2018

Null test for a highly paraboloidal mirror

Advanced Lens Design

Meet Your Augmented and Virtual Reality Challenges Head-On: Design Your Next System with 2D-Q Freeforms in CODE V

AP Physics: Curved Mirrors and Lenses

Imaging and Aberration Theory

Chapter 36. Image Formation

Measurement of Highly Parabolic Mirror using Computer Generated Hologram

Application-Specific Optical Design

CODE V COM Interface COM-1

Geometric Optics. The Law of Reflection. Physics Waves & Oscillations 3/20/2016. Spring 2016 Semester Matthew Jones

Fundamental Optics for DVD Pickups. The theory of the geometrical aberration and diffraction limits are introduced for

Optical design of COrE+

OPTI 513R / Optical Testing

New Features in CODE V Version 10

CODE V Optical Design Software. Design, Optimize and Fabricate Reliable Imaging Optics

Roadmap Presentation. European User Group Symposium - March Zemax

Contrast Optimization A new way to optimize performance Kenneth Moore, Technical Fellow

ntermediafe Optical Design

Refractive Optical Design Systems Any lens system is a tradeoff of many factors Add optical elements (lens/mirrors) to balance these Many different

Introduction. Past Homework solutions Optimization Test Plate fitting Tolerance routine Homework. ECE 4616 Deslis

Lens Design II. Lecture 12: Mirror systems Herbert Gross. Winter term

Preparatory School to the Winter College on Optics in Imaging Science January Selected Topics of Fourier Optics Tutorial

Models of Light The wave model: The ray model: The photon model:

OPTI-521 Graduate Report 2 Matthew Risi Tutorial: Introduction to imaging, and estimate of image quality degradation from optical surfaces

Getting Started Using ZEMAX

Practical Use of Saddle-Point Construction in Lens Design

Graphics and Interaction Transformation geometry and homogeneous coordinates

ratio of the volume under the 2D MTF of a lens to the volume under the 2D MTF of a diffraction limited

1. INTRODUCTION ABSTRACT

Metrology and Sensing

Imaging and Aberration Theory

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

Refractive Optical Design Systems Any lens system is a tradeoff of many factors Add optical elements (lens/mirrors) to balance these Many different

Generalization of the Coddington Equations to Include Hybrid Diffractive Surfaces

Testing spherical surfaces: a fast, quasi-absolute technique

DESIGN AND ANALYSIS OF DIFFRACTIVE ASPHERIC NULLS

Physics 123 Optics Review

Exercise 12 Geometrical and Technical Optics WS 2013/2014

Waves & Oscillations

Nicholas J. Giordano. Chapter 24. Geometrical Optics. Marilyn Akins, PhD Broome Community College

Chapter 7: Geometrical Optics. The branch of physics which studies the properties of light using the ray model of light.

Medical Photonics Lecture Optical Engineering

Optical Design with Zemax for PhD

Paraxial into real surfaces

axis, and wavelength tuning is achieved by translating the grating along a scan direction parallel to the x

EELE 482 Lab #3. Lab #3. Diffraction. 1. Pre-Lab Activity Introduction Diffraction Grating Measure the Width of Your Hair 5

Refraction at a single curved spherical surface

Aberrations in Holography

Phys102 Lecture 21/22 Light: Reflection and Refraction

Optics II. Reflection and Mirrors

Invited Paper. Katherine Creath and James C. Wyant WYKO Corporation 2650 East Elvira Road, Tucson, Arizona ABSTRACT 1. INTRODUCTION.

Medical Photonics Lecture Optical Engineering

Refractive Optical Design Systems Any lens system is a tradeoff of many factors Add optical elements (lens/mirrors) to balance these Many different

Waves & Oscillations

Using Skew Rays to Model Gaussian Beams

Reflection and Refraction of Light

index of refraction-light speed

Geometrical Optics. Chapter General Comments. 1.2 Snell s Law

PHYS 219 General Physics: Electricity, Light and Modern Physics

Optics Vac Work MT 2008

Transcription:

Optical Design with Zemax for PhD - Basics Lecture 8: Advanced handling 2013-06-27 Herbert Gross Summer term 2013 www.iap.uni-jena.de

2 Preliminary Schedule No Date Subject Detailed content 1 02.05. Introduction 2 16.05. Fundamentals 3 23.05. Properties of optical systems I Zemax interface, menus, file handling, system description, editors, preferences, updates, system reports, coordinate systems, aperture, field, wavelength, glass catalogs, layouts, raytrace, system insertion, scaling, component reversal Diameters, stop and pupil,pick ups, solves, variables, ray fans, quick focus, 3D geometry, ideal lenses, vignetting, footprints, afocal systems, Aspheres, gratings and diffractive surfaces, special types of surfaces, telecentricity 4 30.05. Properties of optical systems II Ray aiming, Delano diagram, lens catalogs 5 06.06. Aberrations I Representations, geometrical aberrations, spot, Seidel, transverse aberration curves, Zernike wave aberrations 6 13.06. Aberrations II PSF, MTF, ESF 7 20.06. Imaging Fourier imaging, geometrical images 8 27.06. Advanced handling I Slider, universal plot, I/O of data, multi configurations 9 04.07. Optimization Algorithms, merit function, methodology, correction process, examples 10 11.07. Correction I Principles, simple systems

3 Contents 1. Miscellaneous 2. Index fit 3. Universal plots 4. Multiconfiguration 5. Macro language 6. Coupling of Zemax with Matlab

4 Slider Slider option in menue: Tools / Miscellaneous / Slider Dependence of chosen window output as a function of a varying parameter Automatic scan or manual adjustment possible Example 1: spot for changing the aspherical constant of 4th order of a lens Example 2: Optical compensated zoom system

5 Incidence Angles in the Image Plane Variation of incidence angles in the image plane for all rays as afunction of the image height Distinction between chief ray and coma rays Relevant for detector sensitivity

6 Report Graphic Compact window with 4 or 6 output options can be summarized and defined individually

7 Overlay Option In the menue of output windows the option OVERLAY allows for superposing of two or more variations of the output This gives the opportunity to compare various versions Examples: 1. Layout for x- and y-cross section 2. Universal plot for different parameters 3. Delano diagram for different field sizes

8 Material Index Fit Establishing a special own material Select menue: Tools / Catalogs / Glass catalogs Options: 1. Fit index data 2. Fit melt data Input of data for wavelengths and indices It is possible to establish own material catalogs with additional glasses as an individual library

9 Material Index Fit Melt data: - for small differences of real materials - no advantage for new materials Menue option: Glass Fitting Tool don t works (data input?)

10 Material Index Fit Menue: Fit Index Data Input of data: 2 options: 1. explicite entering wavelengths and indices 2. load file xxx.dat with two columns: wavelength in mm and index Choice of 4 different dispersion formulas After fit: - pv and rms of approximation visible - no individual errors seen - new material can be added to catalog - data input can be saved to file

11 Universal Plot Possibility to generate individual plots for special properties during changing one or two parameters Usually the criteria of the merit function are shown Demonstration: aspherical lens, change of Strehl ratio with values of constants The sensitivity of the correction can be estimated It is seen, that the aspherical constants on one side are enough to correct the system

12 Universal Plot One-dimensional: change of 4th order coefficient at first surface Two-dimensional case: dependence on the coefficients on both sides

13 Universal Plot Universal plot configurations can be saved and called later Useful example: spot diameter as a function of a variable: operator RSCH

Visual optimization Menu Tools / Design / Visual optimization Change of variable quantities by slider and instantaneous change of all windows Optimization under visual control of the consequences

15 Data IO Output of numerical data of results: Text option with save: generation of ASCII file

16 Data IO Export of IGES / STEP files, for CAD data transfer

17 Multi Configuration Multi configuration editor Establishment of different system paths or configurations Toggle between configurations with CNTR A Examples: 1. Zoom systems, lenses moved 2. Scan systems, mirror rotated 3. Switchable optics, components considered / not taken into account 4. Interferometer, test and reference arm 5. Camera with different object distances 6. Microscope tube system for several objective lenses 7.... In the multi configuration editor, the parameters / differences must be defined Many output options and the optimization can take all configurations into account Special option: showallconfiguration in the 3D layout drawing simultaneously 1. shifted, for comparison 2. with same reference, overlayed

18 Multi Configuration Demonstrational example: Twyman-Green interferometer

19 Macro Language There is a macro language for Zemax to allow for individual problem solving Some provided example files are distributed Editing and running can be done from Zemax interface Necessary: xxx.zmx-file Debugging of macro-language errors is cumbersome Not all of the output data is provided by the commands Coding of parameters is in many cases a bit tricky Graphical options rather limited Possibilities: 1. special and individual analysis 2. change of system data and case studies 3. optimization 4. print export of data

20 Macro Language Code Example: Incidence angles at all surfaces for 3 field positions Online output

21 Important Macro Commands comment line follows variables, declarations, simple operations, strings, basic mathematical functions IF THEN ELSE, GOTO, LABEL, FOR NEXT a = AQVAL() numerical aperture ro = CURV(j) surface curvature of surface no. j y = FLDY(j) field size no. j u = RAYL(j) direction cosine of real ray at surface no. j y = RAYY(j) y-value of real ray at surface no. j t = THIC(j) thickness at surface j PRINT text, x,y print text FORMAT 5.3 numerical format of output: 5 places, 3 digits OUTPUT fname.txt declaration of output file for results GETSYSTEMDATA n get special coded (n) data of the system GETZERNIKE maxorder, wave, field, sampling, vector, zerntype, epsilon, reference PWAV n set primary wavelength RAYTRACE hx, hy, px, py, wavelength SURP surface, code, value1, value2 set surface properties SYSP code, value1, value2 set system properties

22 Example - 1 2013-05-12 H.Gross Calculation of the 2nd moments in x-and y-direction of a system spots for all field points A circular pupil shape is assumed number of field positions in the data nfield = nfld() number of pupil sampling points (fix), arbitrary choice, determines accuracy and run time npup = 21 look for main wavelength in the data jwave = pwav() initialization of increments in field and pupil dw = 2/(nfield-1) dp = 2/(npup-1) determine the index of image surface n = nsur() header row in output: nfield npup jwave print " " print "Spot 2nd order moments in my" print " " FORMAT 10.5 PRINT "Fields: ",nfield, " pupil sampling: ",npup," wavelength: ",wavl(jwave) print " "

23 Example - 2 ------------------------------------------------- loop over field points in y-direction: index jy for jy = 1, nfield, 1 hx = 0 hy = sqrt((jy-1)/(nfield-1)) ---------------------------------------------------- first loop to calculate the centroid initialization of centroids and moments xc = 0 yc = 0 Mx2 = 0 My2 = 0 Nray = 0 loop over pupil points: indices kx, ky for ky = 1, npup, 1 for kx = 1, npup, 1 px = -1+(kx-1)*dp py = -1+(ky-1)*dp

24 Example - 3 raytrace raytrace hx, hy, px, py, jwave xp = rayx(n) yp = rayy(n) error case for rays outside circular pupil ierr = raye() pr = sqrt(px*px+py*py) if ( pr > 1) then ierr = 1 summation of 1st order moment to calculate the centroid in x and y if (ierr == 0) Nray = Nray+1 xc = xc + xp yc = yc + yp endif end of pupil loop next next final calculation of centroid coordinates xc,yc xc = xc / Nray yc = yc / Nray second loop over pupil for calculation of moments M2 and M3 indices kx, ky for ky=1, npup, 1 for kx = 1, npup, 1

25 Example - 4 px = -1+(kx-1)*dp py = -1+(ky-1)*dp raytrace raytrace hx, hy, px, py, jwave xp = rayx(n) yp = rayy(n) error case ierr = raye() pr = sqrt(px*px+py*py) if ( pr > 1) then ierr = 1 summation of moments, scaling from mm into my if (ierr == 0) Mx2 = Mx2 + (xp-xc)*(xp-xc)*1.e6 My2 = My2 + (yp-yc)*(yp-yc)*1.e6 endif end of pupil loops next next final calculation of moments for present field location and print of results Mx2 = Mx2 / Nray / 3.14159 My2 = My2 / Nray / 3.14159 determine field size Hy = fldy(jy) FORMAT 8.4 PRINT "Field: ",Hy," Nray = ",Nray," centroid xc = ",xc," Mx2 = ",Mx2 PRINT " "," "," centroid yc = ",yc," My2 = ",My2 print " " end of field loop next

26 Matlab Coupling with MZDDE Calling Zemax as Raytrace-engine from Matlab Freeware MZDDE (Mathworks File Exchange) allows coupling of Matlab with Zemax Zemax DDE server toolbox Zemax must be opened Debugging is complicated Problems with timeout, refreshing and updating of data, especially under 64 bit windows

27 Matlab Coupling with MZDDE Collection of Matlab-routines zset, zget,... Well documented library of routines