Cloud native EDA tools & pre-optimized hardware platforms
In photonics/optical engineering software, ray tracing is a technique used to represent the propagation of electromagnetic (optical) wavefronts through a system. Rays are lines constructed using discrete points on surfaces representing the local wavefront position as it propagates through an optical system.
These rays, which are perpendicular to the local wavefront, travel in straight lines through homogenous media. The rays will change direction at refractive boundaries per Snell's Law and reflect at boundaries per the Law of Reflection. They will change direction at diffractive interfaces according to the vector grating diffraction equation and within inhomogeneous media via equations that govern gradient index materials.
When rays interact with scattering surfaces, they will be modified according to equations that govern scatter. Additional properties can be associated with rays, such as intensity, polarization properties, and "optical path" (the physical path multiplied by the refractive index of the medium), and these can be appropriately modified at interfaces as well.
Examples of tracing rays through an optical system
With ray tracing, it is possible to simulate the behavior of optical wavefronts through various mediums. Ray tracing makes it possible to determine the quality of the rendered image for image-forming systems, the distribution of light for illuminations systems, and much more. Ray tracing, combined with optimization of the optical system parameters, can automatically improve the imaging or illumination performance, to achieve desired goals.
Ray tracing results can be used for many diagnostic and analysis purposes. For example, the size of the image quality for a microscope objective can be estimated by tracing rays through it in reverse, to see how well the light focuses.
Cutaway view of a microscope objective, focusing rays at points under a cover glass.
Light on axis comes to a tight focus for rays traced through the microscope objective
The diffraction limited spot size is denoted by the circle in the drawing. The points show intersections of rays traced to focus for different wavelengths (colors) of light, in this case red, green and blue. This type of intercept plot, (commonly called a spot diagrams), is a common diagnostic tool used in optical design.
The behavior of traced rays can also be optimized to achieve a desired light distribution or spot size. A benefit of ray tracing within software is that the process can be heavily parallelized (and sped up via other methods), allowing much faster simulations than would otherwise be possible.
In imaging software, a relatively small number of rays are needed for an accurate simulation (10 ¨C 1000 rays). The goal of designing imaging systems is to get the best image possible. Typical performance metrics are modulation transfer function (MTF), point spread function, and spot size.
For illumination software, you are trying to control the distribution of light and are typically not concerned with forming an image. In this case, you¡¯ll need many more rays, which are typically traced (1000 to millions) with a process called a Monte Carlo simulation. You define a light source, trace millions of rays, and optimize the system to make a desired illumination pattern.
Ray tracing is an important simulation technique based on its relative accuracy (for many situations) combined with its general computational efficiency, compared to more rigorous methods of propagating electromagnetic waves. Ray tracing can be combined with other computational algorithms to more accurately simulate physical phenomenon. For example, a grid of rays can be traced to the exit pupil of an optical system with the intensity (amplitude**2) and phase (optical path) for each ray tracked. A Fourier Transform of the complex field (amplitude and phase) will simulate the intensity of the image structure, including diffraction.
When designing optical systems, engineers need powerful and robust software to achieve fast and accurate results. Reliable optical designs optimized in less time is a wise investment that saves time, money, and sustains your company¡¯s bottom line. Synopsys¡¯ portfolio of ray tracing software is developed with this in mind and addresses the need for superior optical designs. Choosing the right software depends on your application.
3D View of a wide angle receiver, simulated in CODE V
LiDAR optical system, simulated in LightTools
Deep FFD Reflector, simulated in LucidShape
The basic workflow is as follows:
Additional modules, features, and tools allow for all aspects of ray tracing for even the most challenging of designs. Synopsys software has the flexibility and additional features that engineers need to optimize designs: