White Paper – Apples to Apples: Which Camera Technologies Work Best for Beam Profiling Applications, Part 2: Baseline Methods and Mode Effects

Part 2 of this paper examines the effects of baseline caused errors in beam width measurements using the four most common methods for calculating a beam width:

  • D4σ, second moment
  • 13.5% of Peak, using the moving slit method
  • 86.5% encircled power smallest aperture (Power in a Bucket)
  • Knife edge 16/84
  • Knife edge 10/90

Author:

G.E. Slobodzian, Director of Engineering, Retired, Ophir-Spiricon

A, B, C & D are all ISO recommended methods. Method E is one that we at Spiricon recommend over D as it tends to be more accurate for beams of higher modes, including Donut TEM01*.

In order to simplify a bit and reduce the quantity of results, we assume a square camera imager and model use a symmetrically round beam. Results are normalized and indicate the percent of error for most models. All results are compared to the real second moment beam width. Each data point is computed on 16 average results. We leave those who prefer their own unique measurement definitions to perform their own analyses.

When beams of different modes are compared we employ simple single mode models such that we can easily compute the correct answer to compare against. In all cases, the camera model is perfect in that it has no bad pixels and does not suffer from shading or other type of distortion. Camera noise is modeled as dBrms of full camera dynamic range.

Baselines and Modes

In this section, we model a perfectly round 1mm Gaussian TEM00 laser beam with 60dBrms camera noise. We see how baseline variations impact the results and the effect that modes play in accuracy. The imager is 7.5x7.5mm², 1500x1500, 2.25 mega-pixels, that are 5um square. The output of the model is in 12 bits per pixel data format. Later, we employ the 1mm beam width as the embedded Gaussian for higher modes. We start with a camera that has a perfectly zeroed black level, meaning that zero counts represents a dark imager, and positive noise and input light produces an increasing positive output.

Figure 2-1. Five computed beam widths vs beam intensity for a TEM00 beam and a camera with a perfect black level setup.

Note that under the above conditions only the Moving Slit % of Peak method makes accurate beam width measurements as the beam brightness diminishes. At 95%, all other methods are high by ≥7% and get worse as the beam dims. Thus, camera data, even with a perfect black zero level, needs some modification in order to tame the effects of noise.

Note: The technique of lowering the beam brightness and observing how well the beam width tracks is a quick and easy way to assess a beam analyzer's ability to make consistent beam width measurements. In a perfect world, the measurement would not deviate since the beam size is not changing. In the real world, the beam measurement will succumb to the effects of the dominating noise. The longer the measurement remains consistent, the better the likelihood that the employed algorithms are doing a proper job of making an accurate measurement.

Figure 2-2. Five computed beam widths vs beam intensity for a Laguerre TEM10 of 1.732mm beam width.

The above beam is poorly measured by all five methods. The Moving Slit method is still doing the best, but now reads 3.3% low at 95%. The Encircled Power Smallest Aperture (power in a bucket) method starts out well but quickly loses accuracy as the beam dims. All of the other methods are >14% at 95% peak intensity and only get worse as the beam dims.

The third model in this series will look at a beam of higher Laguerre modes, TEM5,6. The beam width for this beam is now √17 or 4.123mm. Note that as the modes increase, the beam begins to fill more of the imager window. This physical boundary helps to improve all of the above methods and will be the subject of Part 3.

Figure 2-3. Five computed beam widths vs beam intensity for a Laguerre TEM56 of 4.123 mm beam width.

With the beam filling more of the imager, the beam width measurements begin to flatten since noise in the wings becomes dominated by actual beam signal. As the beam dims, the noise once again takes over and the beam widths increase. However, now the inability of the various methods to replicate the second moment beam width at higher modes begins to dominate the errors. Note that the second moment D4σ measurements are about as good as the Moving Slit when the beam is bright. Both are within ~±2.5% of the actual beam width. All of the other measurement methods are off by >±5.5%.

Let's look at the above results plus other higher mode beam widths if we take away all of the noise and just see only the error contributed by the various measurements methods. There will not be a reason to modify the beam brightness because in the absence of noise the only variable is the beam measurement method plus small rounding errors due to the quantization effects.

Figure 2-4. Intrinsic beam width calculation errors for higher mode beams.

Note that for the TEM00 beam all of the methods yield highly accurate results, so accurate that they do not indicate on this type of bar chart graph. Only the ISO Knife Edge 16/84 method shows as reading slightly below 0%. For all higher modes this ISO method measures significantly high beam width errors. We provide this method in our BeamGage products only because it is ISO recommended. The Spiricon recommended 10/90 Knife Edge method also performs poorly for Laguerre modes, but is good for all Hermite and Donut modes. The Knife Edge methods are a good backup when operating in a high noise environment with Hermite modes as it is less effected by noise than is the D4σ calculation.

Observe that the Moving Slit method performs well with the Laguerre modes and very well with the Donut mode, but poorly with the Hermite modes. The moving slit method is a good backup when operating in a high noise environment for Laguerre modes.

The Encircled Power (Power in a Bucket) method is marginal with the Laguerre modes and poor with the Hermite and Donut modes.

Adding positive noise will, of course, shift the entire graph in the positive direction. A clip level could be employed to then shift the results back down. However, as is implied in the above graphs, a clip level that brings one mode under control may not be as good for other modes. Thus the dilemma of needing to know more about the beam than can be known in order to always employ just the correct clip level. And of course, for methods that under measure, even in the presence of noise, adding a clip level will only make things worse. Also most laser beams contain a mixture of higher modes, making the perfect clip level even more difficult to find.

Based on the above observations, what is needed is a method to cancel out the effects of the noise, and then apply the second moment D4σ method, as it will lead to the most fundamentally consistent beam width results. We will also retain the other methods to see if they too can be improved upon.

Most modern monochrome cameras come with a number of user configurable options, such as:

  • Adjustable Gain
  • Adjustable Black Level
  • Electronic Shutter (Exposure) control
  • Auto Gain
  • Auto Black Level
  • Auto Exposure control
  • Region of Interest
  • Auto Iris
  • External Trigger Input
  • Frame Sync Output
  • Gamma
  • Etc

None of the automatic features are useful for laser beam measurement. Gamma correction should also be turned off, i.e. set to one. External trigger is useful when capturing a pulsed laser. The top three items are important controls and must be setup correctly in order to achieve good operation. Gain should be set high enough to keep the camera operating in its linear response region, but not so high as to needlessly boost noise. Exposure control is set to prevent video saturation for CW lasers and to split out a single pulse when measuring a pulsed laser.

The key to noise cancelling lies with the Black Level control. In the first models, we assumed the camera had a perfectly adjusted black level. In the days of analog cameras this black level was referred to as the Pedestal. It typically contained positive noise but clipped off the negative noise. With a modern digital camera, the Black Level can be adjusted to raise the noise floor, or lowered to clip the noise to zero. Lowering it is essentially the same as adding a positive clip level to the input beam data. Raising it can bring the noise floor up. Raising it high enough can eliminate all zero counts. This raised noise floor will contain a temporal footprint of not only the camera noise, but also any inherent shading, along with any high and low offset pixels. By blocking the camera from light, and then averaging this signal, an accurate black level baseline can be computed for each pixel and then subtracted from the real time images obtained by the camera. The result is a new zero baseline that contains both positive and negative noise. In addition, the averaging process also computes the baseline to sub-pixel count precision. By retaining these fractional counts, the overall zero compensates for sub pixel quantization error. This error can be significant when millions of pixels are shifted up or down by a fraction of a count.

Baseline Correction

Figure 2-5 illustrates the computed beam widths for a TEM00 beam but with a properly corrected baseline that retains the negative noise. This is essentially graph 2-1 recomputed using Spiricon's Ultracal process. The actual errors will now become quite small (standard deviation <0.5% for most data points) except for the D4σ method. The noise in the outlying regions will seriously impact the second moment results. This is indicated by the standard deviation error bars plotted for the D4σ results.

Like all of the data, the D4σ data points are based on the averaged results of 16 frames. The second moment error bars indicate that the value calculated for any one frame is undergoing a wild ride both above and below the modeled beam width. Thus it is clear that to directly compute an accurate second moment beam width requires more assistance than just preserving the negative noise.

For all of the other computational methods, preserving the negative noise now yields an accurately computed beam width for a TEM00 beam. Except for the Knife Edge 16/84 method, all of the plots lie on top of each other at the 100% mark. The KE 16/84 method has a small 0.5% negative bias as indicated in the 2-4 graph.

Figure 2-3 hinted that as the beam filled more of the imager area, the beam width results became more accurate. In Part 3 we will investigate how proper use of an aperture to isolate the beam will give us the next step in finding an accurate second moment method. Then in the final part of this paper we will leave the world of models and look more closely at the real world of cameras and scanning slit technologies.

Figure 2-5. Five computed beam widths vs beam intensity for a TEM00 beam with a subtracted baseline that preserves the negative noise.
Contact Us illustration

Have questions? Require assistance?

Click below to to contact Ophir Photonics and we'll get back with you shortly.

Contact Ophir Photonics