Jump to content
UltravioletPhotography

Lens simulations (update)


Stefano

Recommended Posts

In a previous topic I asked for some advice on softwares to simulate/design lenses, and I ended up using Winlens 3D by Qioptiq (the free version), which was suggested me by rfcurry. You can watch a tutorial on YouTube to learn how to use it, and it is pretty simple to use. I was able to simulate commercially available lenses as well as designing my own.

 

All lenses shown here were simulated/optimized for infinite conjugate (object at infinity, in my case either at -infinity or - 1 km). Lenses usually perform differently when focuses at infinity or close up.

 

Basics

Here you can see some examples of common lens aberrations (and why a single element, especially if it has spherical surfaces, will make soft images).

 

This is a simple fused silica plano-convex lens (Thorlabs LA4052), with the aperture 1 mm behind the lens and set at f/1.4:

459931680_ThorlabsLA40521.4.PNG.466853086197e34ebb19a27f4221a706.PNG

You can clearly see spherical aberration. The external rays are focused closer than the central ray, which will make the image soft.

 

Stopping down to f/4 greatly reduces the aberration:

353284814_ThorlabsLA40524.PNG.c7938f2bbd0a801b9b97fced9eeb4b3d.PNG

 

Also, longer focal length lenses generally suffer less from this problem because if the lens' diameter is kept constant, the aperture is narrower (higher f-number). Below Thorlabs LA4380 at f/5:

22103867_ThorlabsLA43805.PNG.b5649ae1588e231690450f828d92767d.PNG

Off-axis rays may not be focused to a point, and often they are focused closer to the lens (Petzval field curvature). Also, they may suffer from coma (another type of aberration).

 

The same lens, with off-axis rays:

1513902412_ThorlabsLA438058.PNG.9187e93cd70c96d6d62768185cb543ea.PNG

Magnification:

1065483687_ThorlabsLA438058(2).PNG.31ceb5385b0e5b3993ed52dadbba0bb3.PNG


 

Achromatic lenses

The refractive index of all materials is not constant with wavelength, but changes slightly (it usually increases for decreasing wavelengths). This means that a lens will split colors exactly how a prism would (in fact lenses can be modelled as a stack of prisms), showing chromatic aberration. To partially solve this, two different types of glass are used, a low index low dispersion crown glass and a high index high dispersion flint glass, so that the chromatic aberrations of the two lenses cancel out, focusing two wavelengths (usually blue and red) in the same plane.

 

This can be done in UV, usually using fused silica as "flint" and CaF2 as "crown".

 

Andy is interested in Thorlabs UV achromatic doublets, so I decided to simulate them. The shortest one they offer has a focal length of 100 mm (Thorlabs ACA254-100-UV).

 

Here I simulated it at f/5. I used a diameter of 25.4 mm (one inch) which is more than the clear aperture of this lens (18 mm).

1694045600_ThorlabsACA254-100-UVf5.PNG.45be9bb608b44b9bcb37aee23f05bfe6.PNG

The horizontal beam is nicely focused to a point with very little spherical aberration, while the off-axis beams are not as good.

 

Things improve at f/11:

347854485_ThorlabsACA254-100-UVf11.PNG.252a941aab7009d89f95971999da2298.PNG

 

Since this is an achromatic lens, I tested its chromatic aberration, and for the UV range I got this (blue: 254 nm, green: 313 nm, red: 365 nm):

319041236_ThorlabsACA254-100-UVCA.PNG.325633faba587532fd484e1f582d6c33.PNG

 

Apart from a small area near 200 nm, every UV wavelength is focused to a different spot, which surprised me. This is a wider view (300-1100 nm):

2094928415_ThorlabsACA254-100-UVCAfull.PNG.a51112a8c014f763769d4d2ad061f1de.PNG

 

This lens will focus UV and SWIR in the same spot. The weird UV graph is confirmed by Thorlabs:

ACA254-100-UV_Focal_Shift_G1-780.jpg.e42933d21c6e4d6e3208eb9599eaae6e.jpg

 

The longer versions of this lens behave as expected. This is the focus shift for the 150 mm version, between 300 and 500 nm:

400685613_ThorlabsACA254-150-UVCA.PNG.7043c179ef4bf3f1056dfa8327b81fee.PNG

 

Edmund Optics sells UV-to-NIR corrected triplets. This is the 90 mm version, at f/5, showing some field curvature:

506817490_Tripletf5.PNG.7bdfa59a91e39c30e9d7bfc3bfea95d6.PNG

...and at f/8:

1396878280_Tripletf8.PNG.e084ce353bf7a08e06c6faf592608f92.PNG

Chromatic aberration (200-1100 nm):

1193651338_TripletCA.PNG.fa9d3d3f64aa3c96ad8fc24c8d249156.PNG

 


Custom lenses

 

Using two Thorlabs ACA254-100-UV lenses, I made a 63 mm lens with good performance. The distance between the doublets is 9 mm measured from the centers (middle). The aperture is in the middle.

 

Lens at f/3.5:

1923047124_ThorlabsACA254-100-UVdoubletf3.5.PNG.4a103c3999ac553af4672abf6dfc1a27.PNG

Chromatic aberration (300-1100 nm):

391353376_ThorlabsACA254-100-UVdoubletCA.PNG.8cfd0a369a7efcb7e94287c3434a825a.PNG

 

Next, a 142 mm f/7 lens made only with custom elements:

 

Lens at f/7:

878262659_Customf7.PNG.cf5334a1cf9287d18202fa467da095d7.PNG

 

Chromatic aberration (300-1100 nm):

2031259816_CustomCA.PNG.4a572b7e10f077bd87a3c4bfca945086.PNG

 

And lastly, a 46 mm f/2 Cooke triplet made only with fused silica elements (no chromatic aberration correction).

 

f/2:

473893509_FStripletf2.PNG.5a6ba540adf19145e8d9a301764b4c26.PNG

 

Magnification of the on-axis spot:

2043362710_FStripletf2zoom.PNG.77d72c4dcac690918fe52142a943972c.PNG

f/2.8:

1860125031_FStripletf2.8.PNG.c315841069847b05e13b6617eee54e80.PNG

 

f/4:

1610622964_FStripletf4.PNG.759ad6dc26e9318002acd04387fa013e.PNG

 

Left element: Thorlabs LA4148, middle element: Thorlabs LD4735, right element: Thorlabs LB4096.

Distances (measured between the lens surfaces, in the middle of the lenses):

left-middle: 5 mm

middle-right: 16 mm

aperture 12 mm behind the rightmost surface of the right lens (the exact placing is not strictly important, it could very well be between the middle element and the right element, which it almost is).

Link to comment

This is very nice! Yeah, I think all lenses (even achromatic) have SOME focal shift. As you saw, Thorlabs tells the truth. But just because there is some focal shift does not mean it will be noticeable or a real problem in practice. 

Link to comment

You have a point here. I remember this discussion: 

You said that the more you correct a lens for one portion of the spectrum, the worse it tends to be outside that portion. This is interesting because all modern and vintage lenses are at least achromatic (they bring two wavelengths to the same focus). They have at least two different types of glass. According to what you said, an uncorrected lens (such as my last example here, the fused silica triplet) might have less chromatic aberration in UV and IR than common corrected lenses (corrected for visible light only, that is). I remember seeing less chromatic aberration with my Soligor than with my SvBony lens (which goes against this reasoning), perhaps that's because of the shorter focal length of the Soligor (35 mm vs. 56 mm), or maybe because of other factors. When I take the narrow band photos for TriColour images, I have to refocus everytime by a noticeable amount, but in normal broadband UV photos, chromatic aberration is less visible.

 

I once tried to see how much focus shift there was between 310 nm and full-spectrum light (mainly VIS and NIR), using the SvBony lens.

 

This is a 310 nm image of a glass lens (which is opaque at this wavelength and looks black):

2010568936_somma768IV(3).jpg.c44280e7eb03e24aba6354d97e102799.jpg

 

Then I took another photo with no filters, without refocusing or changing the aperture:

IMG_0446.JPG.d5a9e1f3016ba7fd00753a82d144f33c.JPG

 

Quite a difference! And then after refocusing:

IMG_0447.JPG.d6ddbfab629f15014aa2373ec6458de9.JPG

 

But normal UV photos (with the lens generously stopped down) look much better (this is the same exact lens):

IMG_1053.JPG.d64ba6535625cfb8c0bacc7e2cc7ff38.JPG

 

IMG_1075.JPG.ea926d6c6b77b08d4234e462a595d8fd.JPG

 

IMG_1090.JPG.f258a15251935979f6a8954ca9f868ca.JPG

 

These were taken with very narrow apertures, possibly f/16 and below. If the lens is wide open, chromatic aberration is the least of my concerns:

IMG_1082.JPG.e941968e39a40a496e01c18f1e8cd15c.JPG

 

Any lens has some degree of chromatic aberration. Apochromatic lenses are the next step after achromatic lenses, bringing three wavelengths at the same focus, and the very best are superachromatic lenses, which bring four wavelengths into the same focus, and are very expensive and difficult to make. The amount of chromatic aberration can be negligible as you say, in fact that Thorlabs lens (ACA254-100-UV), although not achromatic in UV, still has a very small focus shift there (between 200 nm and 400 nm, the focal length goes from 102.284 mm to 103.945 mm). I doubt you can notice it.

 

Lastly, designing lenses makes you notice all the flaws of the lenses in our eyes. My eyes (and surely yours) have chromatic aberration. If I look at a red and blue LED in the distance (making magenta), I see the red light in focus surrounded by a blue blob, because I cannot focus blue light at infinity. You can notice the same by looking at a screen with blue and red next to each other, for example a checkerboard pattern made with red and blue. Especially from far away, you will not see it clearly.

Link to comment

Excellent overview! Thanks very much.

I like Winlens a lot. Not many simulation software out there which is so easy to use and is Free. OSLO maybe, but it's definitely not easy to learn.

 

Someone should do the same but with a non-sequential type of simulation. I was looking for so long without luck and ended up buying something.. It was a good investment though :)

 

Here is something from Edmund Optics comparing aspheric, spheric and achromatic doublet lenses. 

https://www.edmundoptics.eu/knowledge-center/application-notes/optics/lens-geometry-performance-comparison/

 

 

Link to comment
  • 1 year later...
Lou Jost

This is a fascinating post. However, I think this is not a valid simulation of the Thorlabs UV achromats. As you can see from Thorlabs'  lens diagrams at https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=6802 , they are not cemented doublets (which would have identical radii of curvatures on the inner surfaces of the two lens elements, as your diagram seems to show) but rather are air-spaced doublets with four independent radii of curvature. These extra degrees of freedom allow much greater correction of aberrations.

Link to comment
Stefano

This was some time ago, but I'm pretty sure I simulated these lenses correcly, as air-spaced doublets. They look close to cemented doublets, if you look at the radii of curvature in your Thorlabs link, you will see that R2 and R3 are nearly identical (plus or minus a minus sign), and also the spacing between the lenses is very narrow.

Link to comment
Lou Jost
17 minutes ago, Stefano said:

This was some time ago, but I'm pretty sure I simulated these lenses correcly, as air-spaced doublets. They look close to cemented doublets, if you look at the radii of curvature in your Thorlabs link, you will see that R2 and R3 are nearly identical (plus or minus a minus sign), and also the spacing between the lenses is very narrow.

Yes, I see you are right; I was going by their lens diagram, but the numbers in their table don't match their diagram and do seem close to your simulation. The one exception is r4, which is positive in the table but which seems to be negative in your simulation. Is that right?

Link to comment
Stefano

I think the sign of the radius of curvature refers to the side (left or right) towards which the curvature is "pointing". It is positive if it points to the left, and negative otherwise. A biconvex lens has a positive first radius and a negative second radius, counting from left to right.

 

If you look here at the pdf drawing of the lens, which seems to be accurate, it looks like it does in my simulation.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...