SlideShare ist ein Scribd-Unternehmen logo
1 von 70
Man vs. Machine: a
Lens Design Challenge
A friendly competition

David Shafer

vs.

Don Dilworth
The John Henry Lens
Design Challenge
A friendly competition

David Shafer

vs.

Don Dilworth
2
Man vs. Machine
John Henry
(MAN)
Steam Drill

(MACHINE)
3
Can a very good lens
designer beat a very
good program?
This competition
aims
to find out.

Who will
win?

4
Part 1: The Human Designer
David Shafer
(Human)

5
We now wanted a lens design contest to pit man against
machine on a particular problem – one based on human
developed design principles and theories, to give our team
(that’s you, people) an edge.
I came up with a
design contest
problem from the
early days of optical
lithography that uses
for its (human)
solution a distinction
between intrinsic
and induced optical
aberrations

Early computer chip
Intrinsic and induced optical aberrations – how can you tell the difference?
• Intrinsic aberrations of a surface depend on pupil
position and conjugates. Are independent of incoming
aberrations from previous surfaces.
• Induced aberrations are due to aberrations from previous
surfaces coming into a surface and then interacting with
the surface
• Induced aberrations are often more important than
intrinsic ones, in a highly corrected design
Mirror has Spherochromatism

Intrinsic
spherochromatism
of mirror = 0

There is induced
spherochromatism
due to color coming
into mirror

Incoming ray angle and conjugate
change with wavelength, due to
color from lens.
unachromatized

achromatized

My US patent
#4,770,477
• Correcting axial and lateral color in the right
place reduces induced aberrations on strong
power lenses elsewhere.
• Chromatic variation of spherical
aberration, coma, and astigmatism can be
corrected, almost without effort, by this method.
• Result is broad spectral band correction
Contest problem specs
100 mm focal length
.35 NA
10X10 mm square field
Back focus >10 mm
Length<250 mm, including stop (if external)
Telecentric image
No vignetting
No cemented lenses
Only BK7 and LF5 glasses
Distortion to be zero at edge of field
Diffraction-limited over field at both .351u and .4461u laser lines
at same focus position (= the hard part)
11 lens design that is
diffraction-limited
over the field for both
wavelengths.
It is interesting that the 2nd lens is a negative BK7 lens. This design
depends on a certain placement of the LF5 power in the design in order
to get the chromatic variation of aberrations well corrected.

11 lens design
10 lens design
9 lens design
8 lens design
Designs can be stuck
in a local minimum of
the merit function.
Hard to escape from.
Various optimization
“tricks” can be useful.
7 lens design
= end of the road
11 lenses

10 lenses

8 lenses

7 lenses

Design progression to simpler form
9 lenses
Part 2: The Steam Drill
Don Dilworth
Steam Drill

22
• Get a hard problem…
– Break the program

• … from a human expert (Dave Shafer).
• See what a very fast idiot can do (the PC).
• Compare results.

23
• Requirements set by customer
• Designer adjusts them
– Must be possible; customer beware.

• Designer – or computer – selects
configuration
• Designer optimizes that configuration.
This contest involves
only the portion in
RED
24
• Can any algorithm find the absolute best lens
design?
– Yes, if you try an infinite number of designs.
– But …”I want to still be young when we get there.”

• So we have to cut corners.
– Need a way to generate trial designs.
– Must be fast, thorough.
• Inevitable tradeoff.

– Have to find a trick; need some insight.
25
A complex lens has many minima
Imagine this
in 30 dimensions!

Like a mountain range. You want the lowest valley
26
Instead of trying 200,000 designs,
Insight

•
•
•
•
•
•

Start at the top of a hill.
You can see many valleys.
Slide downhill until you reach a minimum.
Different directions will go to different minima.
Does it work?
What is an “optical hill”?

27
• Curves can go either direction.
• Any design might be reached (we hope).
• How to implement?
– Generate a binary number, each bit is an element.
– Each value of that number creates a unique lens
prescription.
– Try them all, optimize.

• Feature is called DSEARCH, part of the
SYNOPSYS™ program.
28
DSEARCH is a fast idiot
• It knows nothing about aberration theory
– A human expert uses that knowledge
– Knowledge is tailored to each lens
– A commercial program has to work for every lens
you throw at it

• DSEARCH has to be completely general
– No specialized knowledge
– Everything (almost) is based on raytracing
29
Many Fast-Slow tradeoffs

• Random selection of curvatures, thicknesses, spacings
(Very slow if number is large)
– or

R/B

• Binary search (2n cases to analyze)
– 11-elements needs 2048 cases (tiny subspace)

• Full optimization of each case
– or

F/Q

• Quick screening pass, pick winners and optimize only
those

• Simulated annealing pass afterwards, optional
– or

A/O

• Pure optimization only
30
DSEARCH™ input specifies the goals
DSEARCH 1 QUIET
SYSTEM
ID DSEARCH SAMPLE
OBB 0 4 35
WA1 .446 .351
WT1 1 1
CORD 2 1
UNITS MM
END
GOALS
ELEMENTS 8
FNUM 1.43
BACK 0 0
TOTL 0 0
RSTAR 300
THSTART 5
ASTART 5
STOP FIRST
STOP FREE
GLASS POSITIVE
S UBK7
GLASS NEG
S LF5
RT 0.75
FOV 0.0 .5 .75 1
FWT 1 1 1 1
NPASS 60
ANNEAL 10 10
RANDOM 5000
END

System specs

SPECIAL
LLL 10 1 1 A BACK
LUL 240 1 1 A TOTL
LUL 240 1 1 A TOTL
S ENP
M 0 2 A P HH 1
M 0 5 A P YA 1
S GIHT
END
GO

Special requirements:
Back focus more than 10
Total length more than 240
Total length plus pupil
distance more than 240
Telecentric at image
Distortion corrected at
edge of field.

Design goals
The best results are then further optimized
by a human, first with transverse ray
targets, then OPDs, then MTF.

Options selected
(fast/slow)

DSEARCH finds the construction, not the
final design.

31
DSEARCH works well for easy jobs
What about
hard ones?
Dave suggested an
11-element lens

So I gave that
a try

32
Specifications:
•
•
•
•
•
•
•
•

0.35 NA (F/1.428)
That’s
10x10 mm square field.
hard to
do!
100 mm focal length.
System length less than 250 mm.
Back focus at least 10 mm.
…And…
No vignetting.
Two separated
wavelengths, only
Telecentric at image.
two glass types
permitted.
Distortion near zero.
33
DSEARCH results for 11-element lens:

(Drum roll, please)

34
DSEARCH results for 11-element lens:

Settings::
Binary search method
Quick screening pass
Anneal best 10
Time: 25 minutes.
B+Q+A = 25

35
DSEARCH returns the best
10 configurations.
The top three here are all
pretty good.

11 elements gives 2048
binary possibilities.

Too easy!

36
• 10-elements?
– Too easy

• 9-elements?
– Too easy

37
How do you solve a hard problem?
• Pull out all the stops
– Random search
• 5000 cases

– Full optimization of each case
• 60 passes

– Simulated annealing on every lens

• … And it is slow
– But of course it works!
38
First try, 8-element design:
8 hours!

39
8-elements, slowest options
The slow, bruteforce approach
works.

R 5000, F, A = 8 hours!

That’s not
surprising.

Try enough cases
and the computer
always wins
40
Okay, it works. But it was slow.
To be
practical, the
process has to
run in just a
few minutes.

Otherwise nobody
will use it.

If we stopped here, I would declare Shafer the
winner. (I am not willing to spend 8 hours!)

How to
make it
practical?
41
How can we speed things up?
Reduce the number
of cases to try.

Systematic
search, not
random (BINARY)

Quick screening
pass

Make each case
run faster.

Bypass cases that
are obviously no
good

Multicore!

Fewer
cycles
Annealing?

(All of the
timings are for a
single-core PC)

42
Quick mode for faster results
Screening pass, merit
function has only 3rd and
5th order aberrations (plus
3 real rays)

Maybe the best quick
design is not best when
higher orders are
considered

43
Randomness plays a role
Our mountain metaphor
may not be accurate

Binary search
might miss good
solutions

44
Can we go faster? What did we learn?

Local minima
Many
local
minima!

A good
one

45
Let’s use our heads, not
our hammer.
• Try the binary search method (faster).
– Results not as good as Dave’s lens! Why?

• Binary number determines the direction you
head down from the top of the hill.
– Initial radii set by user input.
– All radii equal +/- that value. (Bending = 0).

• How far from the top should you start?
– Does it matter?
46
Plane-parallel plates

Start here…
and you go
here

Start here…
and you go
here

47
Lesson
learned:
Start near top
Start downslope

Sweet spot!

This is a plot of the merit function
when Dave’s geometry was
selected (P N N P P P N P) and only
the initial radius was varied.
A longer radius starts closer to the
top of the mountain.
Too short or too long, results are
not as good. (Ray failure correction
alters the construction.)
Sweet spot at about 600 mm.
Looks like a rule: about 6 x FOCL
(applies to binary mode).
48
Okay, we have several options:

FAST

Thorough

49
Let’s try some combinations
Random mode makes
random jump
downhill
Can quick mode find
any good lenses?
R 1000, Q, A = 11 minutes

Very nice results!
Let’s see what else
we can find.

Can Binary mode
get there?
50
Binary, full optimization:

60 optimization
passes

B, F, A = 50 minutes

Slower, but
slightly better.

51
Here’s more:
Fewer cycles =
faster.

B, F, A = 16 minutes
Only 10 cycles of
optimization + 5 cycles of
annealing.

One can trade off
several fast/slow
options.
52
…and here’s a surprise:
20 quick cycles, 20 cycles
of optimization, 5 cycles
of annealing…

B, Q, A = 4.8 minutes

… but most of the very fast
runs were not this good.

Why?
53
Predicting optimization results is not easy.
Well-behaved
optimization

Erratic
optimization

Acceleration methods do not always work!
54
Acceleration techniques:
• Binary search
– Might miss good configurations.

• Quick mode = screening pass
– No guarantee that best 3rd and 5th order design is really
best. Some are not.

• Fewer optimization cycles
– Can be misleading.

• Filter out obvious lemons
– All flints, for example: not likely to correct color.
– Can use optics knowledge:
• Best 8-element lenses will probably have 2 or 3 flint elements.
• Try only those cases.
55
This is a good combination
Binary
Full optimization (not quick)
Anneal
3 flint
4.8 minutes

Is this cheating? (Using
optics knowledge)

Well, we assume
the user has
some knowledge!

56
The most varied results:
• Used either random search
– or -• simulated annealing.
• Neither one is purely deterministic.

What does that tell us?

If not a
mountain, wh
at is it?

Perhaps our
metaphor is not
quite right!
57
Here’s a new metaphor: a WWI battlefield.
Trench

Crater

58
That would explain our results
• Sliding down from a mountain cannot always get
you into a deep crater.
• Random search can do it.
• Simulated annealing can do it.
• So what’s the most efficient way to search?
–
–
–
–

Binary search
Quick mode is worth a try
Filter out lemons
Annealing at the end.

• Random search as last resort.
• Multicore, of course, if you can.
59
Human

Contest
summary

R5000, F, A, 8 hours

B, F, A, 50 minutes

B, F, A, 16 minutes

R1000, Q, A, 11 minutes

60
Faster runs sometimes work too, but not always

B, Q, A, 4.8 minutes

B, Q, A, 2.9 minutes

B, Q, A, 1.75 mins.

61
62
… and two more.

A human would probably stop when he
found the first design that met specs.
DSEARCH gives you many possibilities.

Each of these 23 designs is as good or
better than the human-designed lens

63
7 elements!
The goal was to break the
algorithm.

Success!

It broke.

Many attempts failed...

… but then we got smart.
64
Adjusting the aperture weight works!
2.9 minutes.
Construction identical to
Shafer’s version!

Binary
Quick
Anneal

65
So here’s a lesson:
Some knowledge
of optics comes
in handy!
But if we didn’t know Shafer’s
solution exists, we probably would
have given up.
Score this
round for the
human.

66
And here’s the score:

Steam Drill wins, 23 to 1

Human wins, 1 to 0
67
• Well, it seems to be a draw.
– David Shafer is impressed that a mere PC can
sometimes do as well or better than a human
expert.
– The steam drill is impressed that a mere human
(Shafer) can come up with a design that is a
challenge for even the best algorithms
(SYNOPSYS™).

• But one thing seems certain …
68
If John Henry had used his head
instead of his hammer …
He would have
applied for a job
running the steam
drill…

… and would have
enjoyed a comfortable
retirement.

69
Thank you

David Shafer Optical Design
shaferlens@sbcglobal.net

Don Dilworth
Optical Systems Design, Inc.
dilworth@osdoptics.com

70

Weitere ähnliche Inhalte

Was ist angesagt?

Some unusual telescope designs
Some unusual telescope designsSome unusual telescope designs
Some unusual telescope designsDave Shafer
 
A new theory of cell phone lenses
A new theory of cell phone lensesA new theory of cell phone lenses
A new theory of cell phone lensesDave Shafer
 
The power of negative thinking in optical design
The power of negative thinking in optical designThe power of negative thinking in optical design
The power of negative thinking in optical designDave Shafer
 
Practical refractive/diffractive hybrid lens designs
Practical refractive/diffractive hybrid lens designsPractical refractive/diffractive hybrid lens designs
Practical refractive/diffractive hybrid lens designsDave Shafer
 
Optical Design using stop shift theory
Optical Design using stop shift theoryOptical Design using stop shift theory
Optical Design using stop shift theoryDave Shafer
 
A remarkable new telescope objective design
A remarkable new telescope objective designA remarkable new telescope objective design
A remarkable new telescope objective designDave Shafer
 
Freeform Dyson design
Freeform Dyson designFreeform Dyson design
Freeform Dyson designDave Shafer
 
Highlights of my 48 years in optical design
Highlights of my 48 years in optical designHighlights of my 48 years in optical design
Highlights of my 48 years in optical designDave Shafer
 
Zeiss talk in summer 2022.pptx
Zeiss talk in summer 2022.pptxZeiss talk in summer 2022.pptx
Zeiss talk in summer 2022.pptxDave Shafer
 
Diffraction-limited pixels versus number of lens elements
Diffraction-limited pixels versus number of lens elementsDiffraction-limited pixels versus number of lens elements
Diffraction-limited pixels versus number of lens elementsDave Shafer
 
The consequences of Petzval correction in lithographic system design
The consequences of Petzval correction in lithographic system designThe consequences of Petzval correction in lithographic system design
The consequences of Petzval correction in lithographic system designDave Shafer
 
Aspheric and diffractive optics extend monochromatic imaging limits 1999
Aspheric and diffractive optics extend monochromatic imaging limits   1999Aspheric and diffractive optics extend monochromatic imaging limits   1999
Aspheric and diffractive optics extend monochromatic imaging limits 1999Dave Shafer
 
Multiple solutions in very simple optical designs
Multiple solutions in very simple optical designsMultiple solutions in very simple optical designs
Multiple solutions in very simple optical designsDave Shafer
 
Apo triplet design
Apo triplet designApo triplet design
Apo triplet designDave Shafer
 
New catadioptric design type fast speed and wide field
New catadioptric design type   fast speed and wide fieldNew catadioptric design type   fast speed and wide field
New catadioptric design type fast speed and wide fieldDave Shafer
 
Freeform aspheric version of the 1.0 x offner relay, june 08, 2019
Freeform aspheric version of the  1.0 x offner relay, june 08, 2019Freeform aspheric version of the  1.0 x offner relay, june 08, 2019
Freeform aspheric version of the 1.0 x offner relay, june 08, 2019Dave Shafer
 
Wide angle fast speed lens with only 4 elements
Wide angle fast speed lens with only 4 elementsWide angle fast speed lens with only 4 elements
Wide angle fast speed lens with only 4 elementsDave Shafer
 
The evolution of a new high na broad spectrum catadioptric design
The evolution of a new high na broad spectrum catadioptric designThe evolution of a new high na broad spectrum catadioptric design
The evolution of a new high na broad spectrum catadioptric designDave Shafer
 
Unusual mirror systems
Unusual mirror systemsUnusual mirror systems
Unusual mirror systemsDave Shafer
 
How to optimize complex lens designs - 1993.pdf
How to optimize complex lens designs - 1993.pdfHow to optimize complex lens designs - 1993.pdf
How to optimize complex lens designs - 1993.pdfDave Shafer
 

Was ist angesagt? (20)

Some unusual telescope designs
Some unusual telescope designsSome unusual telescope designs
Some unusual telescope designs
 
A new theory of cell phone lenses
A new theory of cell phone lensesA new theory of cell phone lenses
A new theory of cell phone lenses
 
The power of negative thinking in optical design
The power of negative thinking in optical designThe power of negative thinking in optical design
The power of negative thinking in optical design
 
Practical refractive/diffractive hybrid lens designs
Practical refractive/diffractive hybrid lens designsPractical refractive/diffractive hybrid lens designs
Practical refractive/diffractive hybrid lens designs
 
Optical Design using stop shift theory
Optical Design using stop shift theoryOptical Design using stop shift theory
Optical Design using stop shift theory
 
A remarkable new telescope objective design
A remarkable new telescope objective designA remarkable new telescope objective design
A remarkable new telescope objective design
 
Freeform Dyson design
Freeform Dyson designFreeform Dyson design
Freeform Dyson design
 
Highlights of my 48 years in optical design
Highlights of my 48 years in optical designHighlights of my 48 years in optical design
Highlights of my 48 years in optical design
 
Zeiss talk in summer 2022.pptx
Zeiss talk in summer 2022.pptxZeiss talk in summer 2022.pptx
Zeiss talk in summer 2022.pptx
 
Diffraction-limited pixels versus number of lens elements
Diffraction-limited pixels versus number of lens elementsDiffraction-limited pixels versus number of lens elements
Diffraction-limited pixels versus number of lens elements
 
The consequences of Petzval correction in lithographic system design
The consequences of Petzval correction in lithographic system designThe consequences of Petzval correction in lithographic system design
The consequences of Petzval correction in lithographic system design
 
Aspheric and diffractive optics extend monochromatic imaging limits 1999
Aspheric and diffractive optics extend monochromatic imaging limits   1999Aspheric and diffractive optics extend monochromatic imaging limits   1999
Aspheric and diffractive optics extend monochromatic imaging limits 1999
 
Multiple solutions in very simple optical designs
Multiple solutions in very simple optical designsMultiple solutions in very simple optical designs
Multiple solutions in very simple optical designs
 
Apo triplet design
Apo triplet designApo triplet design
Apo triplet design
 
New catadioptric design type fast speed and wide field
New catadioptric design type   fast speed and wide fieldNew catadioptric design type   fast speed and wide field
New catadioptric design type fast speed and wide field
 
Freeform aspheric version of the 1.0 x offner relay, june 08, 2019
Freeform aspheric version of the  1.0 x offner relay, june 08, 2019Freeform aspheric version of the  1.0 x offner relay, june 08, 2019
Freeform aspheric version of the 1.0 x offner relay, june 08, 2019
 
Wide angle fast speed lens with only 4 elements
Wide angle fast speed lens with only 4 elementsWide angle fast speed lens with only 4 elements
Wide angle fast speed lens with only 4 elements
 
The evolution of a new high na broad spectrum catadioptric design
The evolution of a new high na broad spectrum catadioptric designThe evolution of a new high na broad spectrum catadioptric design
The evolution of a new high na broad spectrum catadioptric design
 
Unusual mirror systems
Unusual mirror systemsUnusual mirror systems
Unusual mirror systems
 
How to optimize complex lens designs - 1993.pdf
How to optimize complex lens designs - 1993.pdfHow to optimize complex lens designs - 1993.pdf
How to optimize complex lens designs - 1993.pdf
 

Andere mochten auch

Some odd and interesting monocentric designs 2005
Some odd and interesting monocentric designs   2005Some odd and interesting monocentric designs   2005
Some odd and interesting monocentric designs 2005Dave Shafer
 
Small catadioptric microscope optics 2003
Small catadioptric microscope optics   2003Small catadioptric microscope optics   2003
Small catadioptric microscope optics 2003Dave Shafer
 
Tight fit, cramming a lot of information through a small volume 1993
Tight fit,  cramming a lot of information through a small volume   1993Tight fit,  cramming a lot of information through a small volume   1993
Tight fit, cramming a lot of information through a small volume 1993Dave Shafer
 
Lens designs with extreme image quality features
Lens designs with extreme image quality featuresLens designs with extreme image quality features
Lens designs with extreme image quality featuresDave Shafer
 
Highlights of my 51 years in optical design
Highlights of my 51 years in optical designHighlights of my 51 years in optical design
Highlights of my 51 years in optical designDave Shafer
 

Andere mochten auch (6)

Husserl talk
Husserl talkHusserl talk
Husserl talk
 
Some odd and interesting monocentric designs 2005
Some odd and interesting monocentric designs   2005Some odd and interesting monocentric designs   2005
Some odd and interesting monocentric designs 2005
 
Small catadioptric microscope optics 2003
Small catadioptric microscope optics   2003Small catadioptric microscope optics   2003
Small catadioptric microscope optics 2003
 
Tight fit, cramming a lot of information through a small volume 1993
Tight fit,  cramming a lot of information through a small volume   1993Tight fit,  cramming a lot of information through a small volume   1993
Tight fit, cramming a lot of information through a small volume 1993
 
Lens designs with extreme image quality features
Lens designs with extreme image quality featuresLens designs with extreme image quality features
Lens designs with extreme image quality features
 
Highlights of my 51 years in optical design
Highlights of my 51 years in optical designHighlights of my 51 years in optical design
Highlights of my 51 years in optical design
 

Ähnlich wie The John Henry lens design challenge

Computer Vision descriptors
Computer Vision descriptorsComputer Vision descriptors
Computer Vision descriptorsWael Badawy
 
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep LearningTroubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep LearningSergey Karayev
 
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8Hakky St
 
Final_Talk_Tool_Team
Final_Talk_Tool_TeamFinal_Talk_Tool_Team
Final_Talk_Tool_TeamMehdi Lamee
 
Ladder for mixed signal test engineers
Ladder for mixed signal test engineersLadder for mixed signal test engineers
Ladder for mixed signal test engineersFangXuIEEE
 
Tessellation on any_budget-gdc2011
Tessellation on any_budget-gdc2011Tessellation on any_budget-gdc2011
Tessellation on any_budget-gdc2011basisspace
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine LearningPranav Ainavolu
 
Applying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksApplying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksDatabricks
 
Hill Stephen Rendering Tools Splinter Cell Conviction
Hill Stephen Rendering Tools Splinter Cell ConvictionHill Stephen Rendering Tools Splinter Cell Conviction
Hill Stephen Rendering Tools Splinter Cell Convictionozlael ozlael
 
How we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters AdventureHow we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters AdventureFelipe Lira
 
Sayyad slides ase13_v4
Sayyad slides ase13_v4Sayyad slides ase13_v4
Sayyad slides ase13_v4CS, NcState
 
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])Masaya Kaneko
 
Pitfalls of Object Oriented Programming
Pitfalls of Object Oriented ProgrammingPitfalls of Object Oriented Programming
Pitfalls of Object Oriented ProgrammingSlide_N
 
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...Abdel Salam Sayyad
 

Ähnlich wie The John Henry lens design challenge (20)

Computer Vision descriptors
Computer Vision descriptorsComputer Vision descriptors
Computer Vision descriptors
 
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep LearningTroubleshooting Deep Neural Networks - Full Stack Deep Learning
Troubleshooting Deep Neural Networks - Full Stack Deep Learning
 
LP.ppt
LP.pptLP.ppt
LP.ppt
 
PPT s11-machine vision-s2
PPT s11-machine vision-s2PPT s11-machine vision-s2
PPT s11-machine vision-s2
 
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
Hands-On Machine Learning with Scikit-Learn and TensorFlow - Chapter8
 
Final_Talk_Tool_Team
Final_Talk_Tool_TeamFinal_Talk_Tool_Team
Final_Talk_Tool_Team
 
Ladder for mixed signal test engineers
Ladder for mixed signal test engineersLadder for mixed signal test engineers
Ladder for mixed signal test engineers
 
Tessellation on any_budget-gdc2011
Tessellation on any_budget-gdc2011Tessellation on any_budget-gdc2011
Tessellation on any_budget-gdc2011
 
Understanding Basics of Machine Learning
Understanding Basics of Machine LearningUnderstanding Basics of Machine Learning
Understanding Basics of Machine Learning
 
Applying your Convolutional Neural Networks
Applying your Convolutional Neural NetworksApplying your Convolutional Neural Networks
Applying your Convolutional Neural Networks
 
Hill Stephen Rendering Tools Splinter Cell Conviction
Hill Stephen Rendering Tools Splinter Cell ConvictionHill Stephen Rendering Tools Splinter Cell Conviction
Hill Stephen Rendering Tools Splinter Cell Conviction
 
How we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters AdventureHow we optimized our Game - Jake & Tess' Finding Monsters Adventure
How we optimized our Game - Jake & Tess' Finding Monsters Adventure
 
Btp viewmorph
Btp viewmorphBtp viewmorph
Btp viewmorph
 
IMAGE PROCESSING
IMAGE PROCESSINGIMAGE PROCESSING
IMAGE PROCESSING
 
Sayyad slides ase13_v4
Sayyad slides ase13_v4Sayyad slides ase13_v4
Sayyad slides ase13_v4
 
lec6a.ppt
lec6a.pptlec6a.ppt
lec6a.ppt
 
Internship Presentation
Internship Presentation Internship Presentation
Internship Presentation
 
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
 
Pitfalls of Object Oriented Programming
Pitfalls of Object Oriented ProgrammingPitfalls of Object Oriented Programming
Pitfalls of Object Oriented Programming
 
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...
On Parameter Tuning in Search-Based Software Engineering: A Replicated Empiri...
 

Mehr von Dave Shafer

Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdf
Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdfAberration theory - A spectrum of design techniques for the perplexed - 1986.pdf
Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdfDave Shafer
 
My interview.pptx
My interview.pptxMy interview.pptx
My interview.pptxDave Shafer
 
Snakes in the Bible, updated.pdf
Snakes in the Bible, updated.pdfSnakes in the Bible, updated.pdf
Snakes in the Bible, updated.pdfDave Shafer
 
interview with Dave Shafer.pdf
interview with Dave Shafer.pdfinterview with Dave Shafer.pdf
interview with Dave Shafer.pdfDave Shafer
 
Georgia senor center
Georgia senor centerGeorgia senor center
Georgia senor centerDave Shafer
 
Cooke triplet lens with freeform surfaces
Cooke triplet lens with freeform surfacesCooke triplet lens with freeform surfaces
Cooke triplet lens with freeform surfacesDave Shafer
 
Modified freeform offner, august 11, 2021
Modified freeform offner, august 11, 2021Modified freeform offner, august 11, 2021
Modified freeform offner, august 11, 2021Dave Shafer
 
Well corrected two element telescope with a flat image 1981
Well corrected two element telescope with a flat image   1981Well corrected two element telescope with a flat image   1981
Well corrected two element telescope with a flat image 1981Dave Shafer
 
Doing more with less 1995
Doing more with less   1995Doing more with less   1995
Doing more with less 1995Dave Shafer
 
Godzilla versus Bambi
Godzilla versus BambiGodzilla versus Bambi
Godzilla versus BambiDave Shafer
 
Schiefspiegler telescope with corrector lenses
Schiefspiegler telescope with corrector lensesSchiefspiegler telescope with corrector lenses
Schiefspiegler telescope with corrector lensesDave Shafer
 
Mirror corrector for a 10 meter fast speed parabola
Mirror corrector for a 10 meter fast speed parabolaMirror corrector for a 10 meter fast speed parabola
Mirror corrector for a 10 meter fast speed parabolaDave Shafer
 
Gregorian telescope designs
Gregorian telescope designsGregorian telescope designs
Gregorian telescope designsDave Shafer
 
Equivalent refracting surface and metasurfaces, april 2020
Equivalent refracting surface and metasurfaces, april 2020Equivalent refracting surface and metasurfaces, april 2020
Equivalent refracting surface and metasurfaces, april 2020Dave Shafer
 
A source of spiral fringes 1964
A source of spiral fringes  1964A source of spiral fringes  1964
A source of spiral fringes 1964Dave Shafer
 
New optical system corrected for all third order aberrations for all conjugat...
New optical system corrected for all third order aberrations for all conjugat...New optical system corrected for all third order aberrations for all conjugat...
New optical system corrected for all third order aberrations for all conjugat...Dave Shafer
 
The invention of the achromatic lens
The invention  of the achromatic lensThe invention  of the achromatic lens
The invention of the achromatic lensDave Shafer
 
Telephoto catadioptric design with broad spectral band correction
Telephoto catadioptric design with broad spectral  band correctionTelephoto catadioptric design with broad spectral  band correction
Telephoto catadioptric design with broad spectral band correctionDave Shafer
 
Social distancing
Social distancingSocial distancing
Social distancingDave Shafer
 

Mehr von Dave Shafer (20)

Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdf
Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdfAberration theory - A spectrum of design techniques for the perplexed - 1986.pdf
Aberration theory - A spectrum of design techniques for the perplexed - 1986.pdf
 
My interview.pptx
My interview.pptxMy interview.pptx
My interview.pptx
 
Snakes in the Bible, updated.pdf
Snakes in the Bible, updated.pdfSnakes in the Bible, updated.pdf
Snakes in the Bible, updated.pdf
 
interview with Dave Shafer.pdf
interview with Dave Shafer.pdfinterview with Dave Shafer.pdf
interview with Dave Shafer.pdf
 
Georgia senor center
Georgia senor centerGeorgia senor center
Georgia senor center
 
Mireille email
Mireille emailMireille email
Mireille email
 
Cooke triplet lens with freeform surfaces
Cooke triplet lens with freeform surfacesCooke triplet lens with freeform surfaces
Cooke triplet lens with freeform surfaces
 
Modified freeform offner, august 11, 2021
Modified freeform offner, august 11, 2021Modified freeform offner, august 11, 2021
Modified freeform offner, august 11, 2021
 
Well corrected two element telescope with a flat image 1981
Well corrected two element telescope with a flat image   1981Well corrected two element telescope with a flat image   1981
Well corrected two element telescope with a flat image 1981
 
Doing more with less 1995
Doing more with less   1995Doing more with less   1995
Doing more with less 1995
 
Godzilla versus Bambi
Godzilla versus BambiGodzilla versus Bambi
Godzilla versus Bambi
 
Schiefspiegler telescope with corrector lenses
Schiefspiegler telescope with corrector lensesSchiefspiegler telescope with corrector lenses
Schiefspiegler telescope with corrector lenses
 
Mirror corrector for a 10 meter fast speed parabola
Mirror corrector for a 10 meter fast speed parabolaMirror corrector for a 10 meter fast speed parabola
Mirror corrector for a 10 meter fast speed parabola
 
Gregorian telescope designs
Gregorian telescope designsGregorian telescope designs
Gregorian telescope designs
 
Equivalent refracting surface and metasurfaces, april 2020
Equivalent refracting surface and metasurfaces, april 2020Equivalent refracting surface and metasurfaces, april 2020
Equivalent refracting surface and metasurfaces, april 2020
 
A source of spiral fringes 1964
A source of spiral fringes  1964A source of spiral fringes  1964
A source of spiral fringes 1964
 
New optical system corrected for all third order aberrations for all conjugat...
New optical system corrected for all third order aberrations for all conjugat...New optical system corrected for all third order aberrations for all conjugat...
New optical system corrected for all third order aberrations for all conjugat...
 
The invention of the achromatic lens
The invention  of the achromatic lensThe invention  of the achromatic lens
The invention of the achromatic lens
 
Telephoto catadioptric design with broad spectral band correction
Telephoto catadioptric design with broad spectral  band correctionTelephoto catadioptric design with broad spectral  band correction
Telephoto catadioptric design with broad spectral band correction
 
Social distancing
Social distancingSocial distancing
Social distancing
 

Kürzlich hochgeladen

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

The John Henry lens design challenge

  • 1. Man vs. Machine: a Lens Design Challenge A friendly competition David Shafer vs. Don Dilworth
  • 2. The John Henry Lens Design Challenge A friendly competition David Shafer vs. Don Dilworth 2
  • 3. Man vs. Machine John Henry (MAN) Steam Drill (MACHINE) 3
  • 4. Can a very good lens designer beat a very good program? This competition aims to find out. Who will win? 4
  • 5. Part 1: The Human Designer David Shafer (Human) 5
  • 6. We now wanted a lens design contest to pit man against machine on a particular problem – one based on human developed design principles and theories, to give our team (that’s you, people) an edge.
  • 7. I came up with a design contest problem from the early days of optical lithography that uses for its (human) solution a distinction between intrinsic and induced optical aberrations Early computer chip
  • 8. Intrinsic and induced optical aberrations – how can you tell the difference?
  • 9. • Intrinsic aberrations of a surface depend on pupil position and conjugates. Are independent of incoming aberrations from previous surfaces. • Induced aberrations are due to aberrations from previous surfaces coming into a surface and then interacting with the surface • Induced aberrations are often more important than intrinsic ones, in a highly corrected design
  • 10. Mirror has Spherochromatism Intrinsic spherochromatism of mirror = 0 There is induced spherochromatism due to color coming into mirror Incoming ray angle and conjugate change with wavelength, due to color from lens.
  • 12. • Correcting axial and lateral color in the right place reduces induced aberrations on strong power lenses elsewhere. • Chromatic variation of spherical aberration, coma, and astigmatism can be corrected, almost without effort, by this method. • Result is broad spectral band correction
  • 13. Contest problem specs 100 mm focal length .35 NA 10X10 mm square field Back focus >10 mm Length<250 mm, including stop (if external) Telecentric image No vignetting No cemented lenses Only BK7 and LF5 glasses Distortion to be zero at edge of field Diffraction-limited over field at both .351u and .4461u laser lines at same focus position (= the hard part)
  • 14. 11 lens design that is diffraction-limited over the field for both wavelengths.
  • 15. It is interesting that the 2nd lens is a negative BK7 lens. This design depends on a certain placement of the LF5 power in the design in order to get the chromatic variation of aberrations well corrected. 11 lens design
  • 19. Designs can be stuck in a local minimum of the merit function. Hard to escape from. Various optimization “tricks” can be useful.
  • 20. 7 lens design = end of the road
  • 21. 11 lenses 10 lenses 8 lenses 7 lenses Design progression to simpler form 9 lenses
  • 22. Part 2: The Steam Drill Don Dilworth Steam Drill 22
  • 23. • Get a hard problem… – Break the program • … from a human expert (Dave Shafer). • See what a very fast idiot can do (the PC). • Compare results. 23
  • 24. • Requirements set by customer • Designer adjusts them – Must be possible; customer beware. • Designer – or computer – selects configuration • Designer optimizes that configuration. This contest involves only the portion in RED 24
  • 25. • Can any algorithm find the absolute best lens design? – Yes, if you try an infinite number of designs. – But …”I want to still be young when we get there.” • So we have to cut corners. – Need a way to generate trial designs. – Must be fast, thorough. • Inevitable tradeoff. – Have to find a trick; need some insight. 25
  • 26. A complex lens has many minima Imagine this in 30 dimensions! Like a mountain range. You want the lowest valley 26
  • 27. Instead of trying 200,000 designs, Insight • • • • • • Start at the top of a hill. You can see many valleys. Slide downhill until you reach a minimum. Different directions will go to different minima. Does it work? What is an “optical hill”? 27
  • 28. • Curves can go either direction. • Any design might be reached (we hope). • How to implement? – Generate a binary number, each bit is an element. – Each value of that number creates a unique lens prescription. – Try them all, optimize. • Feature is called DSEARCH, part of the SYNOPSYS™ program. 28
  • 29. DSEARCH is a fast idiot • It knows nothing about aberration theory – A human expert uses that knowledge – Knowledge is tailored to each lens – A commercial program has to work for every lens you throw at it • DSEARCH has to be completely general – No specialized knowledge – Everything (almost) is based on raytracing 29
  • 30. Many Fast-Slow tradeoffs • Random selection of curvatures, thicknesses, spacings (Very slow if number is large) – or R/B • Binary search (2n cases to analyze) – 11-elements needs 2048 cases (tiny subspace) • Full optimization of each case – or F/Q • Quick screening pass, pick winners and optimize only those • Simulated annealing pass afterwards, optional – or A/O • Pure optimization only 30
  • 31. DSEARCH™ input specifies the goals DSEARCH 1 QUIET SYSTEM ID DSEARCH SAMPLE OBB 0 4 35 WA1 .446 .351 WT1 1 1 CORD 2 1 UNITS MM END GOALS ELEMENTS 8 FNUM 1.43 BACK 0 0 TOTL 0 0 RSTAR 300 THSTART 5 ASTART 5 STOP FIRST STOP FREE GLASS POSITIVE S UBK7 GLASS NEG S LF5 RT 0.75 FOV 0.0 .5 .75 1 FWT 1 1 1 1 NPASS 60 ANNEAL 10 10 RANDOM 5000 END System specs SPECIAL LLL 10 1 1 A BACK LUL 240 1 1 A TOTL LUL 240 1 1 A TOTL S ENP M 0 2 A P HH 1 M 0 5 A P YA 1 S GIHT END GO Special requirements: Back focus more than 10 Total length more than 240 Total length plus pupil distance more than 240 Telecentric at image Distortion corrected at edge of field. Design goals The best results are then further optimized by a human, first with transverse ray targets, then OPDs, then MTF. Options selected (fast/slow) DSEARCH finds the construction, not the final design. 31
  • 32. DSEARCH works well for easy jobs What about hard ones? Dave suggested an 11-element lens So I gave that a try 32
  • 33. Specifications: • • • • • • • • 0.35 NA (F/1.428) That’s 10x10 mm square field. hard to do! 100 mm focal length. System length less than 250 mm. Back focus at least 10 mm. …And… No vignetting. Two separated wavelengths, only Telecentric at image. two glass types permitted. Distortion near zero. 33
  • 34. DSEARCH results for 11-element lens: (Drum roll, please) 34
  • 35. DSEARCH results for 11-element lens: Settings:: Binary search method Quick screening pass Anneal best 10 Time: 25 minutes. B+Q+A = 25 35
  • 36. DSEARCH returns the best 10 configurations. The top three here are all pretty good. 11 elements gives 2048 binary possibilities. Too easy! 36
  • 37. • 10-elements? – Too easy • 9-elements? – Too easy 37
  • 38. How do you solve a hard problem? • Pull out all the stops – Random search • 5000 cases – Full optimization of each case • 60 passes – Simulated annealing on every lens • … And it is slow – But of course it works! 38
  • 39. First try, 8-element design: 8 hours! 39
  • 40. 8-elements, slowest options The slow, bruteforce approach works. R 5000, F, A = 8 hours! That’s not surprising. Try enough cases and the computer always wins 40
  • 41. Okay, it works. But it was slow. To be practical, the process has to run in just a few minutes. Otherwise nobody will use it. If we stopped here, I would declare Shafer the winner. (I am not willing to spend 8 hours!) How to make it practical? 41
  • 42. How can we speed things up? Reduce the number of cases to try. Systematic search, not random (BINARY) Quick screening pass Make each case run faster. Bypass cases that are obviously no good Multicore! Fewer cycles Annealing? (All of the timings are for a single-core PC) 42
  • 43. Quick mode for faster results Screening pass, merit function has only 3rd and 5th order aberrations (plus 3 real rays) Maybe the best quick design is not best when higher orders are considered 43
  • 44. Randomness plays a role Our mountain metaphor may not be accurate Binary search might miss good solutions 44
  • 45. Can we go faster? What did we learn? Local minima Many local minima! A good one 45
  • 46. Let’s use our heads, not our hammer. • Try the binary search method (faster). – Results not as good as Dave’s lens! Why? • Binary number determines the direction you head down from the top of the hill. – Initial radii set by user input. – All radii equal +/- that value. (Bending = 0). • How far from the top should you start? – Does it matter? 46
  • 47. Plane-parallel plates Start here… and you go here Start here… and you go here 47
  • 48. Lesson learned: Start near top Start downslope Sweet spot! This is a plot of the merit function when Dave’s geometry was selected (P N N P P P N P) and only the initial radius was varied. A longer radius starts closer to the top of the mountain. Too short or too long, results are not as good. (Ray failure correction alters the construction.) Sweet spot at about 600 mm. Looks like a rule: about 6 x FOCL (applies to binary mode). 48
  • 49. Okay, we have several options: FAST Thorough 49
  • 50. Let’s try some combinations Random mode makes random jump downhill Can quick mode find any good lenses? R 1000, Q, A = 11 minutes Very nice results! Let’s see what else we can find. Can Binary mode get there? 50
  • 51. Binary, full optimization: 60 optimization passes B, F, A = 50 minutes Slower, but slightly better. 51
  • 52. Here’s more: Fewer cycles = faster. B, F, A = 16 minutes Only 10 cycles of optimization + 5 cycles of annealing. One can trade off several fast/slow options. 52
  • 53. …and here’s a surprise: 20 quick cycles, 20 cycles of optimization, 5 cycles of annealing… B, Q, A = 4.8 minutes … but most of the very fast runs were not this good. Why? 53
  • 54. Predicting optimization results is not easy. Well-behaved optimization Erratic optimization Acceleration methods do not always work! 54
  • 55. Acceleration techniques: • Binary search – Might miss good configurations. • Quick mode = screening pass – No guarantee that best 3rd and 5th order design is really best. Some are not. • Fewer optimization cycles – Can be misleading. • Filter out obvious lemons – All flints, for example: not likely to correct color. – Can use optics knowledge: • Best 8-element lenses will probably have 2 or 3 flint elements. • Try only those cases. 55
  • 56. This is a good combination Binary Full optimization (not quick) Anneal 3 flint 4.8 minutes Is this cheating? (Using optics knowledge) Well, we assume the user has some knowledge! 56
  • 57. The most varied results: • Used either random search – or -• simulated annealing. • Neither one is purely deterministic. What does that tell us? If not a mountain, wh at is it? Perhaps our metaphor is not quite right! 57
  • 58. Here’s a new metaphor: a WWI battlefield. Trench Crater 58
  • 59. That would explain our results • Sliding down from a mountain cannot always get you into a deep crater. • Random search can do it. • Simulated annealing can do it. • So what’s the most efficient way to search? – – – – Binary search Quick mode is worth a try Filter out lemons Annealing at the end. • Random search as last resort. • Multicore, of course, if you can. 59
  • 60. Human Contest summary R5000, F, A, 8 hours B, F, A, 50 minutes B, F, A, 16 minutes R1000, Q, A, 11 minutes 60
  • 61. Faster runs sometimes work too, but not always B, Q, A, 4.8 minutes B, Q, A, 2.9 minutes B, Q, A, 1.75 mins. 61
  • 62. 62
  • 63. … and two more. A human would probably stop when he found the first design that met specs. DSEARCH gives you many possibilities. Each of these 23 designs is as good or better than the human-designed lens 63
  • 64. 7 elements! The goal was to break the algorithm. Success! It broke. Many attempts failed... … but then we got smart. 64
  • 65. Adjusting the aperture weight works! 2.9 minutes. Construction identical to Shafer’s version! Binary Quick Anneal 65
  • 66. So here’s a lesson: Some knowledge of optics comes in handy! But if we didn’t know Shafer’s solution exists, we probably would have given up. Score this round for the human. 66
  • 67. And here’s the score: Steam Drill wins, 23 to 1 Human wins, 1 to 0 67
  • 68. • Well, it seems to be a draw. – David Shafer is impressed that a mere PC can sometimes do as well or better than a human expert. – The steam drill is impressed that a mere human (Shafer) can come up with a design that is a challenge for even the best algorithms (SYNOPSYS™). • But one thing seems certain … 68
  • 69. If John Henry had used his head instead of his hammer … He would have applied for a job running the steam drill… … and would have enjoyed a comfortable retirement. 69
  • 70. Thank you David Shafer Optical Design shaferlens@sbcglobal.net Don Dilworth Optical Systems Design, Inc. dilworth@osdoptics.com 70