Asymmetric Aspheric Surfaces, Export to CAD Features in reTORT v2.6

Even Order Biconic Asphere Example Properties (Asymmetric)
Even Order Biconic Asphere Example Properties (Asymmetric)

Asymmetric aspheric surface capability has been enhanced in v2.6. Aspheric lenses are essential design objects in lens design. reTORT v2.6 provides for asymmetric (xy) and symmetric (r) aspheric surfaces. They can be modeled with only even terms, only odd, full terms, and any kappa constant. The example used in this post is a biconic surface.

The example properties page above is a typical example of the specification of one type of asymmetric aspheric surface. This one is biconic meaning that there are two distinct curvatures. The two Kappa values are elliptical as both Kappa values are greater than -1.

Look more closely at an example

That biconic surface is part of an actual design for an E x H Customer. In contrast, the example shown below is an exercise only and not meant to be a useful lens. It does provide a useful exercise in the basics of an asymmetric asphere. This example is part of an internal E x H training course for new engineers. It also shows how versatile aspheric surfaces can be.

The CAD export below also uses this surface as an example.

This exercise example is a biconic dual focus lens. It focuses on one image plane when the y axis is at 90 and 270 degrees. It focuses on a farther image plane when the x axis on at that same position.

Who could not wait two minutes to watch the video? Here is the aspheric lens when the y-axis of the biconic are aligned along the East-West axis.

Asymmetric biconic y-axis alignment
Asymmetric biconic y-axis alignment

And, below is the same dual foci biconic aspheric lens with the x-axis surface aligned East to West.

Asymmetric biconic x-axis alignment
Asymmetric biconic x-axis alignment

But, what about CAD, you need to build around your aspheric lens system design. More than likely, you’ll do that in a CAD program.

Exporting to CAD

You can export your model view to CAD from a number of locations with a single click.

Export-To-CAD
Export-To-CAD

Clicking, you will be prompted to save your file in either IGES, STEP or STL CAD format.

Here is your dual foci lens rendered in Dassault’s eDrawings viewer from an IGES file. Dassault is the provider of popular CAD package Solidworks.

Dual Foci Asymmetric Asphere in eDrawings
Dual Foci Asymmetric Asphere in eDrawings

Get Your Copy of v2.6.0 of the reTORT Ray Tracer

Current licensees – please use this link to update!

New Users – this download comes with a free trial license you can activate!

Please visit the site to download the most current version of reTORT at any time and update the version you are currently running.

For those who are not yet using our reTORT Ray Tracer, the same download link will provide you with a free two-week trial. Our license pricing and ordering list is the place to go to order.

You will be committing to the most technologically advanced ray tracer available today.

And as a bonus, reTORT is now packaged with a free copy of our PFSS full wave solver. PFSS is ideal for the design of metasurfaces when you can assume a periodic surface.

While you’re on-site, don’t forget to review some of these past relevant posts

Tolerance Analysis in reTORT

Global Optimization in reTORT – Can quicker global optimization improve your workflow and your ROI?

Global Optimization in reTORT, Try It, You’ll Like It

Design for Manufacturability with reTORT Optimization Wizards

SWaP Reduction Use Case Video Tutorial

reTORT and its Global Optimizer – a quick review

It’s a slightly different workflow but, it works well.

Recently, we ran a focus group about optimizers with a group of our Customers. Through this, we found that many did not use global optimization, at least not until the very end of their design project.

But why? These designers told us that some of the ray tracers they have used took hours or days to run Global Optimization. And then, they returned one hundred or more possible solutions. After that, the designer needed to sift through the solutions to find one or more they wanted to further refine.

That’s a huge time commitment. After all, your time is money. And, it can significantly stall progress on a lens design. But, that’s the way some ray tracers implement Global Optimization.

reTORT is an exception to this rule. In fact, Global Optimization in reTORT is extremely useful and will speed up your workflow.

reTORT‘s global optimizer returns one optimum result within your design constraints. On average, for a typical complex lens, it does this within a few minutes.

This feature allows comparison of alternative designs more quickly.

How reTORT and its optimizer work

In reTORT, optimization wizards allow easy  setup and running of global or local optimization. You can run a global or a local optimization from this one window.

Global Optimizer Wizard Goals Settings and Workflow Example
Global Optimization Wizard Goals Settings and Workflow Example

reTORT employs evolutionary algorithms for its global optimizers. Specifically, they are based on a modified version of CMAES, or Covariance Matrix Adaptation Evolution Strategy. The E x H modifications to CMAES provide for speedy and accurate results.

Note the wizard provides easy access to the lens system parameters. This example is a gradient index lens employing binary mixtures to achieve the design objectives.

Optimization Wizard Example Parameters Screen including Binary Mixtures - global optimizer
Optimization Wizard Example Parameters Screen including Binary Mixtures

Make the most of global optimization

The CMAES global optimizer is capable of optimizing over a very large search space with many variables. CMAES can easily generate new candidate lens designs from scratch with minimal oversight.

E x H found through its research that CMAES is much more efficient if you apply bounds. This may defy logic for some. For us, it has proven to work very well in our own designs.

You might ask, do bounds mean over-constraint? Not at all. All designs have some over-riding design objectives. These provide the basis for applying realistic bounds.

We hope to start bragging about our very useful status bar. You can see it below in an illustration of a global optimization. The status bar shows that 12,000 simulations were run and two can be seen taking from 65 to 85 milliseconds each.

Optimization Status and Messaging Window Example - global optimizer in progress
Global Optimization Status and Messaging Window Example

The entire optimization took a total of 3.37 minutes.

Bounded versus Unbounded Optimizer

Please remember, reTORT also offers a very efficient local optimizer based on the Damped Least-Squares (DLS) algorithm. DLS is run unbounded by default. This is in contrast to its global sister.

In our research, we found that bounded DLS algorithms tended to more easily fall into near optimums. In other words, they often take one of the first valleys they find. This is even though a better solution was available in the search space. It acted like one of our favorite little guys searching for an optimum below:

Optimizer - getting stuck in a local minima - CMAES ray tracer- optical lens design
Optimizers – getting stuck in a local minima

And so, reTORT’s DLS is unbounded based on our preferred workflow of first using bounded global optimization. Global optimization with CMAES is used to find a candidate design within mere minutes. Then, we use local optimization to test variations of that design and tune it even further. In that way, we can hone the design in less time. And with reTORT each iteration is faster than other tools.

But that is just our preferred workflow here at E x H. reTORT allows you to employ the workflow that you prefer. It does not lock you into one workflow or another. Instead, reTORT is extremely flexible.

The choice is always yours. A variety of Workflows are feasible due to the way global and local optimizers are deployed in reTORT. Even our optimization wizard allows quick and easy control of both from the same window.

But There’s More

You can easily have global and local optimizers configured at the same time. But they don’t necessarily run at the same time. You can switch from one to the other as you prefer. You can see this in the Optimizer Settings image above. Both methods are enabled at the same time.

If one of the three workflows above does not suit you, reTORT’s optimization wizard allow you to easily design your own workflow.

Even better, the wizard allows you to follow your creative instincts.

The reTORT wizards also give you immediate control over optimization settings, goals, and parameters. As you proceed with your design, your optimizer controls are right at hand for making quick tweaks.

You can also save multiple optimization configurations. The optimization wizard creates optimizations under the names “AutoCMAES” and “AutoDLS”. Save your optimizations by simply renaming them before running the wizard again. If you wish, come back later to revisit a prior configuration.

And the same power of our optimizers is equally available to you for including  gradient index lenses and metasurfaces in your optical lens system design. You are able to use the full power of reTORT using the most powerful and advanced lens features available to any designer today.

The reTORT Ray Tracer is truly a unique state-of-the-art tool for today’s optical lens designer.

About E x H, Inc.

E x H’s mission is to provide you with advanced optical system simulation tools. The result is tools that allow you to design optical systems that are smaller, lighter and faster. Watch our SWaP reduction use case tutorial for a taste of this.

Some of our solvers are licensed from Penn State University. PSU is one of the leading research institutions in the USA.

We have participated on multiple programs funded by DARPA that have allowed us to develop software on the leading edge of technology.

Outside of the optical space, this same reTORT Ray Tracer was used to fast prototype the transformational optics that proved the concept for Isotropic Systems’ high throughput, multi-beam satellite terminals (https://www.isotropicsystems.com/). 

On the business side, we have been backed by Gran Sasso Ventures, the same venture capitalists that funded collaboration software firm Compoze Software, now a part of Oracle [ORCL:NYSE], and multitouch technology inventor FingerWorks, the driver of touch screen technology and now a part of Apple [AAPL:NASDAQ]. E x H is at the forefront of transformation optics.For

Share: