A Shack-Hartmann sensor is one of the most important and popular wavefront sensors used in an adaptive optics system to measure the aberrations caused by either atmospheric turbulence, laser transmission, or the living eye [1-7]. Its design was based on an aperture array that was developed in 1900 by Johannes Franz Hartmann as a means to trace individual rays of light through the optical system of a large telescope, thereby testing the quality of the image. In the late 1960s Roland Shack and Platt modified the Hartmann screen by replacing the apertures in an opaque screen by an array of lenslets [9-10]. The terminology as proposed by Shack and Platt was “Hartmann-screen”. The fundamental principle seems to be documented even before Huygens by the Jesuit philosopher, Christopher Scheiner .
The schematic of a Shack-Hartman wavefront sensor is shown in Figure 1. It consists of an array of lenses (called lenslets, see Figure 1) of the same focal length. Each is focused onto a photon sensor (typically a CCD array or quad-cell). The local tilt of the wavefront across each lens can then be calculated from the position of the focal spot on the sensor. Any phase aberration can be approximated to a set of discrete tilts. By sampling an array of lenslets, all of these tilts can be measured and the whole wavefront can be approximated. Since only tilts are measured, the Shack-Hartmann can not measure the discontinuous steps of wavefront.
Tyler and Fried have obtained the theory expression, which evaluates the angular position error when a quadrant detector is used in the SHWFS . The formula they obtained, based on circular aperture diffraction, is shown in Eq. (1)
Hardy has described formulas that can be used to evaluate the angular position error , under the conditions that the photon shot noise of signal is dominant. Although his formulas discussed the size of the diffraction-limited spot on the discrete detector arrays, it is reliable only under the approximation condition that or is satisfied, where
In this chapter, the wavefront error of a Shack-Hartmann wavefront sensor was analyzed in detail based on the research results of angular position error and wavefront error [16-17]. and the formula used to evaluate the wavefront error was derived, it concerns with the signal to noise ratio, number of photons and reconstruction matrix also.
2. The angular position error caused by random noise
The wavefront to be measured is segmented into many subwavefronts by lenslet arrays, and the light spots at the focal plane of the subapertures are detected by the CCD. Particularly, the analysis is based on the notion that the wavefront is essentially flat over each subaperture and (is the coherent length of incoming wavefront). The centroid position can be calculated by Eq. (3) . The detection area of the subaperture is pixels, and and are the (n,m)th pixel’s
The formulas which evaluate the centroid error associated with the signal’s photon shot noise and the readout noise of the detector, respectively, have been derived by Cao
where η is the positive constant. η is 0.353 when the diffraction aperture is square and 0.431 when the diffraction aperture is circular.
Based on Eq. (3), the centroid position in the
where is the calculated centroid position of the signal in the
Based on the error transition principles, the rms error of centroid measurement induced by random noise in the
where is the rms error of centroid measurement in the
If there were no heterogeneous light and readout noise in the detection area, the signal’s photon shot noise should be the unique noise resource which affects centroid measurement. Based on Eq. (4) and Eq. (6), when the discrete sampling error of the detector is ignored, the rms error of angular position in the
When the photon shot noise of the signal is small compared with the readout noise and the heterogeneous light noise, the heterogeneous light noise and the readout noise become the primary noise, which affects centroid calculation. When the heterogeneous light noise can be considered as a uniform noise, like the readout noise of the detector, it exists in each pixel and it has the same fluctuation characteristics among the pixels in the detection area. So, the noise in one pixel (including the heterogeneous light noise and the readout noise of the CCD) can be summed and described by. is defined as the rms error of the heterogeneous light noise and the readout noise photoelectron count in one pixel, and it has the same fluctuation characteristics as the readout noise of the detector. has units of ADU. Subsequently, the rms error of centroid measurement in the
where, , and is the signal’s peak intensity.
The intensity distribution of the signal’s light spot at the focal plane of the subaperture can be calculated by circular or square aperture diffraction approximations. On the other hand, the Gauss distribution can also be used to approximately describe the intensity distribution of the light spot. The analytic expressions of are described in Eq. (11) with different approximation conditions. The detailed derivation process is shown in appendix 2.1~2.3. The value of can be calculated by Eq. (11).
When the direct current part of the noise (including the heterogeneous light noise and the readout noise of the CCD) is subtracted, it can be considered as white noise, and. Then, the standard deviation of the angular position error in the
Substituting Eq. (13) and Eq. (9) into Eq. (8), with the assumed condition that there are no correlations among the photon shot noise of the signal, the heterogeneous light noise, and the readout noise of CCD, then the total rms error of angular position in the
Eq. (15) is the desired result which can be used to precisely describe the angular position error of a Shack-Hartmann wavefront sensor caused by random noise, and therefore, the centroid algorithm is used to calculate the spot position of the incoming light. Generally, when the ideal detector with very small readout noise is used and there is no background light noise (), the photon shot noise of the signal becomes the theoretical limits imposed on the angular position measurement. Eq. (9) showed this expression. In practice, the theoretical limits may not be achieved for the hardware and environment limitations. When the photon shot noise is small enough compared with the heterogeneous light noise and readout noise, it could be ignored in Eq. (15), and Eq. (13) could be used to describe the angular position error caused by the random noise approximately. Commonly, it has enough accuracy. The position-error constant ω described in Eq. (14) is concerned with the scale of the discrete detector arrays in the detection area, the noise characteristics of the detector, and the system parameters. Clearly, the formula based on a quadrant detector obtained by Tyler and Fried is only a special case in this article. On the other hand, the formula obtained in Eq. (13) is suitable to evaluate the angular position error for both a circular and square aperture.
3. Wavefront measurement error caused by centroid position random error
In this chapter, Zernike modes are used as the basis for wavefront reconstruction. The wavefront measurement error can be written as [13, 19]
where is the wavefront measurement error induced by centroid position random error, is the wavefront to be measured, is the wavefront detected, P is the total number of Zernike modals, aj is the jth Zernike coefficient, and Z expresses the Zernike polynomial. Then, the mean-square of wavefront measurement error can be written as shown in Eq. (17) . The angle brackets denote a collective average.
Based on the principles of the Zernike modal wavefront reconstruction algorithm , the Zernike-coefficients vector of a wavefront can be obtained:
where E is the modal reconstruction matrix and H is the wavefront slope vector.
Therefore, the variance of the modal Zernike coefficients that describe the wavefront measurement error can be written as:
where Q is the total number of subapertures, is the element of E, and is the error of the kth slope element.
In order to simplify analysis, we assume that there are no correlations among the different slope vectors in the corresponding subapertures and the intensity of the signals are uniform and isotropic among the different subapertures Subsequently, the following expression can be obtained:
where is the variance of centroid position random error induced by random noise, f is the focal length of lenslets, is the Kronecker delta function , and j and k are the subapertures which are connected with the slope hk and hl. Substituting Eq. (20) and Eq. (19) into Eq. (17), the mean-square of wavefront measurement error can be written as:
where is the wavefront average slope of the corresponding subaperture in the unit circle,. It is concerned with the subaperture segmentation number and the distribution of subapertures. describes the normalized relationship between the real wavefront slope vector and the normalized wavefront slope vector in the unit circle, and is defined by the expression:
where D is the diameter of the aperture and λ is the measuring wavelength.
Then, the root mean square value of wavefront measurement error caused by centroid position random error is obtained:
Eq. (23) is the desired expression used to evaluate the wavefront measurement error associated with the centroid position random error. is the standard deviation in pixels of centroid position random error caused by random noise. The formula described in Eq. (23) can help us to decide what the wavefront measurement error will be when the centroid position randomly fluctuates due to random noise, and it may be a factor that must be considered during the design of the SHWFS.
4. Wavefront measurement error analysis based on Zernike modal reconstruction
In a Shack-Hartmann wavefront sensor, the angular position can be calculated from the centroid position in each subaperture and is proportional to the centroid position. The relationship between centroid and angular position can be described by
In Eq. (15), the angular position error caused by random noise was obtained. In Eq. (23), the wavefront error caused by random centroid error was obtained. Therefore, the total wavefront measurement error can be described by Eq. (25):
In this formula, we can determine the wavefront measurement error concerned with SNR (see the definition in Eq. (1)), aperture of lenslets (see the definition in Eq. (6)), counts of effective signal, and the reconstruction matrix parameters (see the definition in Eq. (19)).
In this chapter, the exact formula (Eq. (25)), which evaluates the Shack-Hartmann wavefront sensor’s measurement error associated with the signal to noise ratio of effective signal, was derived in detail. This study was performed based on a modal wavefront reconstruction with Zernike polynomials, and provided an exact and universal formula to describe the wavefront measurement error of a Shack-Hartmann wavefront sensor with discrete detector arrays. It is critical to an adaptive optics system when the Shack-Hartmann sensor is used as the wavefront sensor, and it provides a reference when designing a Shack-Hartmann wavefront sensor and calculating its reconstruction matrix.
We would like to give our thanks to Shanqiu Chen, Li Shao, Daoai Dong, and Xuejun Zhang for their great discussion and assistance. We will also give our special thanks to Kevin M. Ivers for his great help in writing this chapter.
Opt. Soc. 11m. A 11, Liang J. Grimm B. Goelz S. Bille J. F. Objective “. measurement of. the wave. aberrations of. the human. eye with. the use. of a. Hartmann-Shack wave-front. sensor,” J. 1949-1957(1994).
S. Panagopoulou, “Correction of high order aberrations using WASCA in LASIK for myopia,” Fall World Refractive Surgery Symposium, Dallas, TX (October 19-21, 2000).
Liang J. Williams D. R. Miller D. T. Supernormal vision and high-resolution retinal imaging through adaptive optics.J. Opt. Soc. 14m. A 14, 2884 EOF 92 EOF( 1997).
Roorda A. Williams D. R. The arrangement of the three cone classes in the living human eye.397 520 EOF 2 EOF0-522 ( 1999).
Andre Fleck and Vasudevan Lakshminarayanan, "Statistical error of a compact high-resolution Shack-Hartmann wavefront sensor with a discrete detector array," Appl. Opt. 49, G136-G139 ( 2010).
2993 Neal D. R. Armstrong D. J. Turner W. T. Wavefront “. sensors for. control process monitoring. in optics. manufacture,” S. P. I. E. 211 220( 1997).
477927 ( Rammage R. R. Neal D. R. Copland R. J. Application “. of-Hartmann Shack. wavefront sensing. technology to. transmissive optic. metrology,” S. P. I. E. 2002).
Hartmann "Bemerkungen über den Bau und die Justirung von Spektrographen." Z. Instrumentenkd 20:47 ( 1900).
Platt, Ben C.; Ronald Shack, "History and Principles of Shack-Hartmann Wavefront Sensing". Journal of Refractive Surgery 17 2001
Shack and Platt "Production and use of a lenticular Hartmann screen," JOSA 61656 ( 1971).
Innspruk Scheiner . Oculus sive. fundamentum opticum. 1619
Tyler and David L. Fried, “ Glenn A. Image-position error associated with a quadrant detector”. J. Opt. Soc. Am. 726 804 EOF-808 ( 1982).
Oxford University Press, John W. Hardy Adaptive. Optics for. Astronomical Telescopes. . New York. 1998
Genrui Cao, and Xin Yu, “Accuracy analysis of a Hartmann-Shack wave-front sensor operated with a faint object”, Optical Engineering, 332331-2335 ( 1994).
Wenhan Jiang, Hao Xian, and Feng Sheng, “Detecting error of Shack-Hartmann wave-front sensor”. Proc. SPIE, 3126 534-544 ( 1997).
Jiang “ Li C. Xian H. Rao C. W. Measuring statistical error of Shack-Hartmann wavefront sensor with discrete detector arrays” J. Mod. Opt., 5514 2243 EOF 2255 EOF( 2008).
Jiang “wavefront error caused by random noise” J. Mod. Opt., 551 127-133 ( Li C. Xian H. Rao C. W. 2007).
Renzhong Zhou, Adaptive Optics (National Defense
663 207 ( Robert J. Noll J. Opt Soc. Am A. 1976).
Xinyang Li, and Wenhan Jiang, Proc. SPIE. 4825121 (2002).
2910 1174 ( Roddier N. Optical Engineering. 1990).