91³Ô¹ÏÍø

Exploring Applications of Physical Optics Using CODE V Beam Synthesis Propagation

Adrien Tozzoli

Feb 24, 2025 / 7 min read

Precision and accuracy are essential in the design of modern optical systems. These systems often require advanced modeling techniques to account for complex phenomena such as diffraction, interference, and wavefront evolution. CODE V, a powerful optical design software, offers a feature called Beam Synthesis Propagation (BSP) that excels in simulating physical optics with unmatched accuracy. This blog post will explore why physical optics simulation is essential, provide an overview of BSP, and highlight its versatile applications in various optical systems.


Why Physical Optics Simulation?

The Importance of Physical Optics

Many optical systems, such as laser systems, imaging devices, and fiber optics, require an in-depth understanding of physical optics effects. These effects are critical for applications with small f-numbers or significant diffraction phenomena. Physical optics simulations help designers predict how light interacts with various optical components, ensuring that the final system performs as intended.

Methods for Physical Optics Simulation in CODE V

CODE V offers several methods for beam propagation and physical optics analysis, including Gaussian Beam Trace (BEA), FFT-based Beam Propagation (BPR), and Beam Synthesis Propagation (BSP). Each method is suited to particular tasks for design and analysis. Among these methods, BSP stands out for its ability to handle complex optical systems with high accuracy and flexibility.

Overview of Beam Synthesis Propagation

What is BSP?

BSP is a beamlet-based method for general beam propagation. It decomposes the optical field into a collection of beamlets. A beamlet consists of a base ray and a field that is initially localized about this base ray. Those beamlets are propagated independently and recombined downstream to obtain the optical field at the desired surfaces. This approach allows BSP to handle complex systems where ray-based analysis cannot achieve the required accuracy. It can propagate beams through anything that can be ray-traced including gradient-index materials, birefringent components, and non-sequential optical paths.

BSP is a beamlet-based method for general beam propagation

BSP is a beamlet-based method for general beam propagation 

Key Features and Capabilities

BSP offers several advanced features:

  • Accurate Physical Modelling: Ensures precise simulations of wavefronts and diffraction effects.
  • Robust Handling of Clipping Apertures: Accurately models systems with clipping apertures and aperture diffraction.
  • Applicability to Complex Systems: Supports GRIN, birefringent materials, non-sequential surfaces (NSS), and polarization.
  • Pre-Analysis Feature: Automatically recommends analysis settings based on the lens system, reducing setup time and ensuring optimal simulation parameters.
  • Versatility of Inputs and Outputs: Supports a wide range of input configurations and provides detailed output options.
BSP¡¯s Pre-Analysis feature recommends analysis parameters that are customized for your lens system

BSP¡¯s Pre-Analysis feature recommends analysis parameters that are customized for your lens system 

Applications of BSP

Scanning Optics in Various Applications

Laser scanning systems are widely used in devices such as laser levelers, barcode scanners, laser printers, and LiDAR. These systems rely on coherent light and often include edges, apertures, and power optics that interact with the beam. Due to their complexity, precise physical optics modeling is essential. BSP can analyze the beam¡¯s behavior at various points, including edges of mirror facets and different scan angles, providing detailed insights into system performance.

CODE V BSP has the capability to simulate complex optical systems,
such as telescopes with mechanical structures

Laser Modes Propagation

BSP can handle complex field inputs, such as Hermite-Gaussian modes, which are often applied in systems like asymmetric resonators. Using BSP with complex field inputs allows designers to simulate and analyze intricate mode patterns in optical systems. 

Hermite Gauss complex field propagation through a GRIN coupler

Hermite Gauss complex field propagation through a GRIN coupler

Interferometry

For some systems, such as interferometers, you may need to combine the results from several BSP runs, which is easy to do using Macro-PLUS. For example, you can write a macro that models the results of a metrology interferometer by running BSP separately on the reference arm and the test arm to collect the complex amplitude. That data can be used to compute the coherent summation and obtain the complex field representing the interference fringes that the interferometer would produce. By modeling diffraction effects and surface imperfections with high precision, BSP validates theoretical models and provides insights into the impact of defects on optical performance.

CODE V can simulate a bump on a surface using an INT file and see the effect on the interference pattern.

CODE V can simulate a bump on a surface using an INT file and see the effect on the interference pattern

Speckled Beam Effect

Speckle is a common phenomenon in systems involving coherent light, such as LiDAR, optical communication systems, and interferometers. Speckle arises due to random phase variations introduced by reflections or scattering from surface topography. These variations affect both the amplitude and phase of the optical field, influencing the final intensity pattern observed.

Using BSP in CODE V, speckled beam irradiance can be modeled for propagation in an optical system simulation

Using BSP in CODE V, speckled beam irradiance can be modeled for propagation in an optical system simulation

BSP provides an effective way to model these effects in CODE V. One approach is to generate random phase variations using interferogram (INT) files. These files assign random phase values to a surface, simulating the scattering or reflection effects that create speckle. For example, you can apply a random phase pattern with values ranging from 0 to 1 wave as a function of pupil position, and then propagate the field using BSP to analyze the resulting speckled intensity pattern at the focus.

This method is particularly useful for studying how speckle impacts optical systems. In a Lidar system, for instance, BSP allows you to model how a random phase introduced by the target surface affects the signal returned to the receiver. This enables you to evaluate signal-to-noise ratios and assess the system¡¯s ability to recognize objects at various distances, providing a more realistic understanding of system performance.

Modeling Mid-Spatial Frequency Surface Errors

Manufacturing processes introduce surface errors that affect optical performance. Mid-spatial frequency surface errors are those with spatial frequencies between high-frequency micro-roughness and low-frequency figure errors. These errors can significantly impact the Point Spread Function (PSF) and Modulation Transfer Function (MTF).

BSP has a unique feature to model the impact of mid-spatial frequency surface errors on elements of the system. It uses a power-law form of the Power Spectral Density (PSD) function to describe the spatial frequency properties of the surface that allows designers to adjust the power exponent to generate more or less scattering from lower spatial frequencies.

For example, in a Cassegrain telescope with a field lens, BSP can simulate the total intensity as well as its scattered and unscattered components. By providing access to PSF data, BSP makes it easy to compute the impact of mid-spatial frequency errors on encircled or ensquared energy, or MTF. This helps designers understand how these errors affect optical performance and make informed decisions to mitigate their impact.

Cassegrain Ritchey-Chretien telescope with a refractive field lens. BSP can simulate Point Spread Function total, scattered and unscattered intensity components.

Diffractive Optic Zonal Modeling

Diffractive optical elements (DOEs) are used in various applications to manipulate light. Traditional PSF computations might not capture the spreading of light into diffraction orders near the main +1 or -1 order. BSP can model this diffraction effect by coherently summing the contributions from each zone of the diffractive optic, providing an accurate prediction of the resulting PSF.

For instance, in a diffractive optic with multiple zones, BSP can simulate how each zone contributes to the overall light distribution. This capability ensures that designers can accurately predict the performance of systems using DOEs, accounting for the true nature of clipping and diffractive apertures.

Diffractive Optic Zonal Modeling
PSF Standard Treatment of Diffractives and PSF Physically Modeling Each Zone Individually in CODE V

Ghost Peak Irradiance Analysis Using BSP

In systems with stringent requirements on peak irradiance of ghost reflections, BSP provides an accurate method to determine peak irradiance by accounting for diffraction effects. BSP can zoom in on the area of interest and compute the peak irradiance with high accuracy, ensuring that the system meets tight performance specifications.

Ghost Peak Irradiance Analysis Using BSP

CODE V BSP calculates the peak ghost irradiance. Using both CODE V and LightTools provides a complementary set of tools when trying to make stray light predictions.

Longitudinal PSFs with BSP

In addition to transverse image analysis, BSP can generate longitudinal Point Spread Functions (PSFs) to evaluate how a spot spreads in the longitudinal plane (X-Z or Y-Z). This is particularly useful for analyzing axial caustics and through-focus performance. By rotating the image plane by 90 degrees, BSP can provide a detailed view of the spread along the propagation axis, offering valuable insights into the system. 

In CODE V, there are numerous ways to evaluate the transverse image of a point (i.e., X-Y plane) performance.

In CODE V, there are numerous ways to evaluate the transverse image of a point (i.e., X-Y plane) performance

Conclusion

Beam Synthesis Propagation (BSP) in CODE V is a powerful tool for physical optics simulations, offering unmatched accuracy, flexibility, and efficiency. Its advanced features and capabilities make it an essential asset for designers working on diffraction-critical optical systems. Whether you are designing laser systems, telescopes, or fiber optics, BSP empowers you to push the boundaries of optical engineering and achieve unprecedented precision in your designs.

Continue Reading