Tag: optical design

  • Design of a cemented doublet lens using AI

    How well can modern AI agents produce engineering designs for optics? Well – I wanted to find out.

    To test this, I’ll walk through my goal. I need to get a lens made and I need it fast. I also need it to work properly. Lastly, I need it to be manufacturable at scale which means using glass substitutes often found in China.

    So – using Claude Chat, I took performance specs from several existing lenses, handed them over and added:

    “Make me a lens design that meets these general performance criteria.”

    I also asked :

    • Use Chinese available glass (e.g. K series)
    • Validate the design using a raytrace
    • produce estimated performance data
    • produce design drawings
    • produce a prescription
    • produce a ZMX file

    Here is the design it produced, it sure doesn’t look bad so far!

    After a while it decided to build it’s own python analysis tool using multiple metrics, it did the job and generally things look ok. However – is this actually OK? Let’s drop the lens design into Zemax.

    Using a COTS 200mm doublet as a comparison, I pulled a image, plot, ray fan and Huygens spot to inspect. All look quite similar, the spot size can be realized a bit better, but consider the aperture on the reference file was slightly larger, so that means difference in NA.

    AI Doublet Left — COTS Design at right

    Ray Fan Diagram

    Note there is a difference here, this design is not optimized – with an optimized second surface, it’s obvious a lot of improvement can be made. Yet for a commercial type lens, I think this is a good example of a sufficient result – it’s less than the diffraction limit, which is a suitable bar for pass failure.

    Huygens spot size is below, again note the difference in the psf due to optimization missed.

    Finally, we can compare the simulated image formation – here I don’t think there is a clear winner, which is what we are shooting for in a commercially produced result. Very cool.

  • Optical Design comes to the iPad!

    Over the past 5 years, almost every project I’ve worked on has required some level of optic design. In many cases, simple designs suffice. For example, projecting an LED can be accomplished at a basic level with an aspheric condenser. But when designs require flat fields, especially corrective elements, or apochromatic performance, it’s time to leverage commercial tools like Zemax. Luckily, I have one of the best Zemax gurus on the planet on hand for such work. But there is a middle ground where I want to work on designs I’d call basic+. This is where there has never been a clear solution. In such cases, the best compromise is to buy experimental grade lenses, and test them empirically.

    Obviously this presents 3 problems:

    • shipping time + setup time = a long iterative design process.
    • when issues are found, the only solution is to snag a few more lenses and test, vs.  modeling a solution.
    • The end result is “good enough” , but it’s unknown as to where other improvements may be found.

    So imagine my surprise when I found an app for ray tracing and modeling, in the App store! Too good to be true – has to be a joke, right? Nope – Check out this short example, showing the Nikon 105mm SLR lens.

    [youtube width=”600″ height=”365″ video_id=”KPwETNTQfFI”]

    You can read more about RayLab here – http://www.raymak.com/wp/  or can download it on the app store here.

    The basic app is ~ $2.00. Adding all of the features will run just under $30. Considering that the cheapest alternative runs ~ $1500, this is an amazing deal. Anyway – I hope others find this as useful as I have!

    Oh one more example – here’s the optical design for a Zeiss 40x objective! Cool huh?!?!

    Zeiss_40_Raylab

    -Austin

Social Media Auto Publish Powered By : XYZScripts.com