Introduction to stray light analysis - Part 1

In optical design, even if the optical performance is well designed, there may be some unwanted light on the image plane. How to find out the path of these unwanted light and set the absorption or block this light in the path is the most critical part of stray light analysis. This article is part 1 of 3 articles, which is introducing how to observe the stray light in non-sequential mode from a sequential mode system by using NSC group converter. 

Authored By Michael Cheng, Yihua Hsiao

Introduction

It is often essential, prior to physical prototyping, to investigate the effects of stray light on the performance. In general, stray light means light that does not enter the system through a designed path, before reaching the image plane and degrading the intended image. 

In the field of photography, a common source of stray light is a strong light source (such as the Sun) outside the field of view. Light from such sources can reach the image plane via scattering from the mechanical or optical components for the system. Alternatively, light from a source inside the field of view can undergo multiple secondary reflections at lens surfaces before focused on the image surface. 

Preparation works for an example 

At first, we introduce how to prepare an example system for stray light analysis. Open the built-in sample file Samples\Sequential\Objectives\Double Gauss 28 degree field.zmx 

We'll use several OpticStudio tools to prepare the file for stray light analysis. First, use the Coat Surfaces tool to remove the coatings from all surface. We will find which coating works better later. 

 

  

 

Design Lockdown tool

Next execute the Design Lockdown tool. This will adjust the system settings so that the lens meets the real conditions and the analysis results are more correct. For a more detailed explanation, refer to the description of the Help file.

 

  

 

Critical Rayset Generator

Before converting to Non-Sequential Mode, let's export the key rays in the Sequential Mode, which consists of the chief ray and a series of marginal rays. This allows us to directly examine the critical rayset in the Non-Sequential Mode, otherwise the rayset could only be calculated in the Sequential Mode. The method is as follows:

 

  

 

Convert to Non-Sequential

The most convenient way to analyze stray light in OpticStudio is in Non-Sequential Mode, and the Convert to NSC Group tool enables conversion from sequential mode in just one step. 

Converting from Sequential Mode to Non-Sequential Mode is described in detail the knowledgebase article ‘Converting Sequential Surfaces to Non-Sequential Objects’. 

Click File…Convert to NSC Group, leave all settings at their default values and click OK

 

  

 

The system has been changed to pure Non-Sequential Mode. All the lenses have been converted from surfaces to object. We can also see that several light sources and detectors have been included to represent the field points and image locations from the Sequential system. This system is the same as the original Sequential Mode except that it is built in Non-Sequential Mode. 

 

 

One of useful feature of Non-Sequential Mode, for stray light analysis, is that the rays can split. Open Analyze...NSC 3D Layout window and check Split NSC Rays. We can observe partial reflection partial transmission and multiple reflections of the rays on each lens surfaces. This is what we can't see in the Sequential Mode.

 

  

 

We can also see with the NSC Shaded Model: 

 

  

 

Check the status of the critical rayset 

Open the Analyze…Critical Ray Tracer tool and you will see that the chief and marginal rays of each field can pass normally through the Non-Sequential system. When mechanical components are designed and added to the system, as imported the CAD files or native OpticStudio objects, it will be necessary to use the tool again to ensure that they do not block the critical rayset.

 

 

 

Required settings for stray light analysis

Now we've successfully prepared our system, and we can move onto the main stray light analysis. Before starting the stray light analysis, it is necessary to adjust some necessary settings. 

The first is to adjust the Maximum Intersections Per Rays and Maximum Segments Per Rays to the maximum number (4000 and 2000000 respectively). In the stray light analysis, sometimes the light we want to analyze will reflect and scatter many times. If the settings for the maximum number of segments or intersections are insufficient, it may not be possible to analyze all conditions.  

We have reduced the number of Analysis Rays to 5000. When analyzing stray light, usually each ray splits into many child rays. Ray tracing speed may be ten or more times slower than without splitting. For the purpose of this demonstration, so we control the number of rays to 5000 per source, to keep ray trace times down.

 

 

The final step is to set the number of pixels on the detector to 150x150. The fewer pixels also means the fewer essential # Analysis Rays is needed. 

 

 

Preliminary ray trace results

We can now look at the preliminary ray trace results. Click Ray Trace, set the operation as shown below. Note that as shown in the figure below, check “Use Polarization” and “Split NSC Rays” when tracing.

 

  

 

After the ray trace is completed, open Analyze…Detector Viewer. The location of this tool is as follows.

 

  

 

Set as in the following figure. 

 

  

 

You can see the stray light, which are sky-blue points like snowflakes shown as below picture, in this system due to multiple reflections. This result agrees with what we saw earlier in 3D layout when Split NSC Rays enabled. We can observe multiple reflections only in the Non-Sequential Mode since Split NSC Rays can be performed.

 

  

Next Article: Introduction to stray light analysis - Part 2

KA-01844

Was this article helpful?
2 out of 2 found this helpful

Comments

0 comments

Article is closed for comments.