March 24, 2023
The current augmented reality and virtual reality (AR/VR) market encompasses a wide range of trends. Designers and companies strive to find nontraditional solutions to meet the ever-evolving demands of mainstream consumers.
For wearable solutions like AR headsets, these ambitions are driven by a need for systems that are compact and lightweight so they can be comfortable to wear — even stylish. There's also a need to accommodate various lighting conditions, such as wearing a headset in sunny weather, while ensuring AR images are still visible and crisp. VR has some of the same considerations, with an extra emphasis on achieving high resolution and depth of field, as well as exceeding the current limit of a single image position for each eye.
As these technologies continue to mature, designers need powerful, nimble software solutions for fully simulating all components of an optical system so they can bring new products and capabilities to market. As discussed in the previous blog post, Ansys Zemax OpticStudio provides ray tracing for simulating the paths light takes through complex systems, and Ansys Lumerical provides full simulations of novel photonic elements, such as the diffractive components used in AR/VR devices.
Recently, we've enhanced these two products to help them work even better together than in the past. Using the Dynamic Link plug-in for OpticStudio, users can include all data about Lumerical simulations directly in an OpticStudio system design, enabling a powerful workflow for teams that can help them create better AR/VR products and get products to market faster.
First, a little history. When designing nanoscale devices in Lumerical that fit into larger systems designed in OpticStudio, it's helpful to port the analysis data from one software to the other. For some time, Ansys Zemax has enabled interoperability between Lumerical and OpticStudio for this purpose using the following high-level workflow:
In the end-to-end system design, OpticStudio uses the grating parameters from Lumerical to render the optical properties of the diffractive grating directly into the OpticStudio UI. These parameters include the detailed electromagnetic field response. Using this data, users can perform detailed ray tracing with the element in OpticStudio. You can repeat this process for each iteration of the Lumerical design by passing updated .JSON files to OpticStudio containing the latest nanoscale design parameters.
So, .JSON files work well for getting data into OpticStudio based on Lumerical analysis. But what if you don't want the added step of manually transferring files from one application to the other?
As long as Lumerical and OpticStudio are on the same computer, you can now perform these data exchanges automatically using an OpticStudio plug-in called Dynamic Link. Based on the Dynamic Link Library (DLL) API, this plug-in tells OpticStudio to call Lumerical when it's ready to calculate the required grating data for its design, then perform ray tracing based on the parameters it retrieves from Lumerical. If at any point you update the parameters on the OpticStudio side, OpticStudio will automatically send the new settings to Lumerical, retrieve the new data, and update the system design accordingly using Dynamic Link.
This workflow also saves time by only calculating for the data it needs from the Lumerical data set without calculating the same data more than once. For example, if Lumerical shows that a ray is incident on a grating with an angle of 30 degrees, OpticStudio only calculates for the 30-degree angle and its wavelength. The calculations are then stored in memory with the original data set. This means that the next time a ray is shown to hit the grating at the same angle, OpticStudio can speed up ray tracing by interpolating the existing calculations.
The efficiencies enabled by the automated two-way exchange of data with the Dynamic Link plug-in can yield considerable benefits for design workflows that include both OpticStudio and Lumerical:
For more information about Dynamic Link, check out this knowledge base article.
The next blog post in this series will discuss flash lidar, a subset of lidar technology that is gaining traction in optical design for its flexibility and precision in certain consumer electronics applications.
We’re here to answer your questions and look forward to speaking with you. A member of our Ansys sales team will contact you shortly.