Abstract
In many certain optical metrology cases, the pupil is usually divided into multiple connected domains by secondary mirror spiders, thus producing segment piston errors and leaving a false phase unwrapping result. In this paper, a method based on minimization of Zernike gradient polynomial residual (MZGR) is proposed to estimate segment piston errors and correct erroneous phase unwrapping results. Simulations and experiments demonstrated that this method can obtain the segment piston errors precisely under complex aberration forms and varied obscurations, indicating reliable practicality. Comparison to the 4D commercial solution, the RMS (root-mean-square) of the residual decreased from 0.154 λ to 0.020 λ.
© 2022 Optica Publishing Group under the terms of the Optica Open Access Publishing Agreement
1. Introduction
Interferometry is a broadly established method for wavefront testing of optical mirrors and systems [1–3]. The test results supplied by the interferometer are the fringe patterns, like Fig. 1(a), from which the phase can be generated by the arctangent function. The phase is wrapped from -π to π [4], as shown in Fig. 1(b). Therefore, phase unwrapping is an essential stage in wavefront reconstruction process. In principle, phase unwrapping is to add an appropriate multiple of 2π to the wrapped phase [4]. Phase unwrapping has been widely researched, and several methods have been proposed, including path-following methods [5–8], the least square methods [9–12], transport of intensity equation [13–16], etc.
But in practice, noise, high dynamic or discontinuity may cause false results in phase unwrapping. In this article, we focus on the phase discontinuity. Common unwrapping methods are based on the assumption that the phase is continuous as a whole [17], like Fig. 1. But in some cases, the continuity can be broken, such as cut by the supporting structure of the secondary mirror, or so-called spider. The discontinuity will cause segment piston errors among segment phases. Figure 2(a) shows a wavefront test result with segment pistons of 4D PhaseCam 6010 with the software 4Sight version 1.4 (build on 2021). Figure 2(b) shows another wavefront test result of ZYGO Verfire HDX interferometer with the software Mx version 8.0 (build on 2021). Both of them indicate neither software solve this problem thoroughly. Some researchers have explored this problem. Bikkannavar (2008) [18] proposed a method to automatically detect wrapped regions in the phase estimate, then replace those regions using valid information from the surrounding pixels to produce a continuous result. Zecchino (2009) [19] bridged phase data in order to accurately measure the mirror as a single, continuous surface based on the slope data. Zong (2021) [17] attempted to bridge the phase basing on the spatial domain utilizing numerical carrier frequency and fringe extrapolation.
In a word, all of these methods are intended to bridge the phase and reconstruct continuity of the data. In the methods of Bikkannavar and Zong, they need to extrapolate the fringe, which means there must be some residue, and the residual may be larger when the fringe is complex and noisy. Moreover, when the phase has aberration, the method of Zecchino may need to adjust manually to get the results right, such as removing the aberration firstly [19], which means that improper operation may result in a wrong result.
This paper proposes a method based on minimization of Zernike gradient polynomial residual (MZGR) to reconstruct the phase with segment pistons. The segment piston is a constant, and we can calculate the gradient of the wrong wavefront results to avoid the segment pistons and use Zernike gradient polynomial to fit the wavefront gradient, so that we can recover the correct unwrapped wavefront and segment piston errors. The result will have less residuals, because there is no process to extrapolate the fringe in the blank areas, which is completely different from the previous studies. And because the number of Zernike gradient polynomial terms can be adjusted autonomously in the calculation process, manual adjustments are not required, even for the phase with complex aberrations. This paper is organized as follows. In Section 2, we illustrate the definition of the MZGR method. In Section 3, we present the performance of this method with complex aberration and varied obscurations. In Section 4, we conduct an experiment to verify the validity and practicality of this method. Finally, we conclude in Section 5.
2. Method based on the minimization of Zernike gradient polynomial residual
2.1 Overview
Spiders or others obscure the mirrors, which causes the phase in the obscured part to be missing. The missing phase leads to phase unwrapping errors and causes some of the phase segments to have independent piston errors which we called segment piston. Due to the error appearing in the phase unwrapping process, which is the process of adding an integer multiple of 2π, segment piston must be an integer multiple of 2π and a constant for the points in the same segment. Figure 3(a) illustrates a fringe pattern divided into multiple segments by spiders. In Fig. 3(b), after calculating with the conventional phase unwrapping method, the phase of the upper right corner segment is obviously higher than the others because of the segment piston error shown in Fig. 3(c).
The initial idea is to solve the problem by minimizing the Zernike polynomials fitting residuals (MZR), because the Zernike polynomial is a good representation of a wavefront and the segment piston is different from the aberration representation of the Zernike polynomial terms. However, the selection of the number of Zernike polynomial terms in this method has a great impact on the correctness of the results. Underfitting and overfitting are easy to occur, resulting in low accuracy of the results, especially for the phase with complex aberration forms. So we started looking for other methods.
We notice that the difference between the upper right corner segment and its neighbors will be larger than the difference between the other segments, as shown in Fig. 3(b). The gradient of phase is used to express this difference. Combined with the idea of Zernike fitting, we come up with the idea of using minimization of Zernike gradient polynomial residual (MZGR) to calculate segment piston errors.
2.2 Description of the method based on minimization of Zernike gradient polynomial residual
In this paper, we use Noll Zernike polynomials. The polynomials can be written as [2]
Because segment pistons are different among different phase segments, we need to label segments, like Fig. 4. The segment piston Pk(x, y) of the phase segment k can be defined as
The phase with segment piston error φ(x, y) and the real phase φ0(x, y) can be given by
The above mentioned that the gradient of the phase will have no segment piston. The gradient of φ(x, y) can be written as Eq. (4), and the gradient of φ0 (x, y) is the same as it.
Chunyu Zhao and James H. Burge [20] proposed a way to acquire orthonormal vector polynomials S as functions of Zernike gradients. And S can be given by
The solution of Eq. (6) can be regarded as a least squares problem, as shown in Eq. (7).
S and ∇φ are all vectors, which are complex for calculation. To simplify the calculation, Eq. (6) can be split into two pieces,
Rewrite Eq. (8) in a matrix case,
We can directly obtain the coefficients Aj of Zernike polynomials except for the first Zernike polynomial term from Eq. (10). And the coefficients of piston A1 and segment pistons Bk can be calculated by
Therefore, the recovered phase φr(x, y) can be written as,
2.3 Parameter selection and evaluation method
During calculation, the choice of the number of Zernike gradient polynomials fitting terms, N, needs to be considered. If N is too small, the results may be underfitting and the segment piston may not be moved completely. If N is too lager, the calculation time will be prolonged and overfitting may occur. So, we need an evaluation method to verify whether N is suitable and whether the recovered phase is right. To simplify this process, the power of the radial coordinate n is considered instead of N.
For Eq. (7), the aim of MZGR is to minimize the residual. So ε(x, y) can be the criterion for the correctness of the results. Define variable R as Eq. (13),
The threshold of R should be considered. We can simply think that the segment piston is caused by the difference between the edge points of the two segments divided by the spider exceeding π. So, we can simply assume that in the area covered by spiders, the PV (peak to valley) of the phase is π. And it becomes π/2 due to the double-path of the testing optical path. Assuming that the spider is 1/10 the width of the aperture, the PV of the whole aperture should be 5π for the tilt aberration as an example. In that case, the RMS of the whole aperture is 0.647 × 2π. In general, RMS of the residual ε(x, y) is small during the system inspection phase, so we assume it is 0.1 × 2π. According to Eq. (13), R should be 0.15. Because this is a loose calculation, the threshold of R can be smaller. In this paper, we take R = 0.1. In addition, using the phase shown in Fig. 2, we can draw the relationship between R and n to estimate the threshold of R, shown in Fig. 5. We can see that R finally stabilizes below 0.1, which is consistent with the previous calculation. So, 0.1 can be a good choice for the threshold of R.
The flowchart of the algorithm based on Zernike gradient fitting is shown in the Fig. 6.
3. Numerical simulation and analysis
We simulated the phase of an optical system with obscurations using Zernike polynomials to demonstrate the advantage and the validity of this method. Three common forms of obscurations are used to simulate, shown in Fig. 7, and the random first 37 terms of Zernike coefficients of the simulated phase (the coefficients range from −0.5 to 0.5) are shown in Table 1. The results are presented in Fig. 8. From Fig. 8(b)∼(d), the difference of them is hard to see directly, but the residuals are a good way to compare the difference. The residual is the difference between the results calculated by one algorithm and the theoretical phase. According to Fig. 8(f1)-(f3), it can be found that the discontinuous phases only unwrapped by DCT (discrete cosine transform) algorithm [10] have segment piston errors. MZR algorithm does not remove the segment piston error correctly, as shown in Fig. 8(g1)-(g3). And there is bare of residual and that residual comes from the unwrapping rather than the removing segment piston in Fig. 8(h1)-(h3), which demonstrates the availability of the MZGR method to remove segment piston.
Moreover, in order to test the performance of the method under various aberrations, we simulated 100 phases with different random coefficients of the first 37 terms of Zernike polynomials for every obscuration shown in Fig. 7, and the simulation results all performed well. The residuals of all results are close to 0, as shown in Fig. 9. The results of their obscurations are also close to 0. For images of size 2048 × 2048, the algorithm takes 0.36 seconds to run.
Subsequently, we made the obscuration more complex and added Gaussian noise with a standard deviation of 0.08 rad. The result is illustrated in Fig. 10, which proves that the method can still calculate the segment piston error even though the obscuration is complex and the phase has noise.
4. Experiment
To verify the validity and practicality of this method, we made three common forms of obscurations and installed them in the same transmission system. The experiment layout and three obscurations are shown in Fig. 11 and Fig. 12.
We test the system with and without obscuration for each obscuration. The result without the obscuration is the referenced phase since there is no segment piston. Each wavefront is removed the first 9 terms of Zernike polynomials to make segment piston more obvious. Figure 13–15 show the test results and recovered results of three obscurations. From Fig. 13–15(d) (e), we can see the recovered phases have no segment piston and the RMS of the residuals is decreased approximately one order of magnitude (0.154 λ to 0.020 λ, 0.142 λ to 0.017 λ, 0.131 λ to 0.027 λ, λ=632.8 nm), which can prove the effectiveness of the method.
5. Conclusions
When the phase is obstructed by spiders, segment piston errors can appear in the phase unwrapping result. In this paper, we presented a method based on minimization of Zernike gradient polynomial residual to calculate the segment piston errors. Our simulation and experiment results proved the effectiveness of MZGR and demonstrate that this method is applicable to the phase with a variety of common obstructions and complex aberrations.
Funding
National Natural Science Foundation of China (62127901, 61805243, 62075218, 12003034, 62005278); Bureau of International Cooperation, Chinese Academy of Sciences (181722KYSB20180015); Youth Innovation Promotion Association of the Chinese Academy of Sciences (2019221); Key Research Program of Frontier Science, Chinese Academy of Sciences (QYZDJ-SSW-JSC038).
Disclosures
The authors declare no conflicts of interest.
Data availability
Data underlying the results presented in this paper are not publicly available at this time but maybe obtained from the authors upon reasonable request.
References
1. J. H. Bruning, D. R. Herriott, J. E. Gallagher, D. P. Rosenfeld, A. D. White, and D. J. Brangaccio, “Digital Wavefront Measuring Interferometer for Testing Optical Surfaces and Lenses,” Appl. Opt. 13(11), 2693–2703 (1974). [CrossRef]
2. D. Malacara, Optical shop testing (John Wiley & Sons, 2007), Chap. 1, 13.
3. S. Xue, S. Chen, Z. Fan, and D. Zhai, “Adaptive wavefront interferometry for unknown free-form surfaces,” Opt. Express 26(17), 21910–21928 (2018). [CrossRef]
4. D. C. Ghiglia and M. D. Pritt, Two-dimensional phase unwrapping: theory, algorithms, and software (A Wiley Interscience Publication, 1998), Chap. 1.
5. R. M. Goldstein, H. A. Zebker, and C. L. Werner, “Satellite radar interferometry: Two-dimensional phase unwrapping,” Radio Sci. 23(4), 713–720 (1988). [CrossRef]
6. B. Gutmann and H. Weber, “Phase unwrapping with the branch-cut method: role of phase-field direction,” Appl. Opt. 39(26), 4802–4816 (2000). [CrossRef]
7. H. Wang and Q. Kemao, “Quality-guided orientation unwrapping for fringe direction estimation,” Appl. Opt. 51(4), 413–421 (2012). [CrossRef]
8. S. Xiang, Y. Yang, H. Deng, J. Wu, and L. Yu, “Multi-anchor spatial phase unwrapping for fringe projection profilometry,” Opt. Express 27(23), 33488–33503 (2019). [CrossRef]
9. H. Takajo and T. Takahashi, “Least-squares phase estimation from the phase difference,” J. Opt. Soc. Am. A 5(3), 416–425 (1988). [CrossRef]
10. D. Kerr, G. H. Kaufmann, and G. E. Galizzi, “Unwrapping of interferometric phase-fringe maps by the discrete cosine transform,” Appl. Opt. 35(5), 810–816 (1996). [CrossRef]
11. Y. Guo, X. Chen, and T. Zhang, “Robust phase unwrapping algorithm based on least squares,” Opt. Lasers Eng. 63, 25–29 (2014). [CrossRef]
12. C. Wei, J. Ma, X. Miao, N. Wang, Y. Zong, and C. Yuan, “Residue calibrated least-squares unwrapping algorithm for noisy and steep phase maps,” Opt. Express 30(2), 1686–1698 (2022). [CrossRef]
13. C. Zuo, Q. Chen, L. Huang, and A. Asundi, “Phase discrepancy analysis and compensation for fast Fourier transform based solution of the transport of intensity equation,” Opt. Express 22(14), 17172–17186 (2014). [CrossRef]
14. L. Huang, C. Zuo, M. Idir, W. Qu, and A. Asundi, “Phase retrieval with the transport-of-intensity equation in an arbitrarily shaped aperture by iterative discrete cosine transforms,” Opt. Lett. 40(9), 1976–1979 (2015). [CrossRef]
15. N. Pandey, A. Ghosh, and K. Khare, “Two-dimensional phase unwrapping using the transport of intensity equation,” Appl. Opt. 55(9), 2418–2425 (2016). [CrossRef]
16. C. Zuo, J. Li, J. Sun, Y. Fan, J. Zhang, L. Lu, R. Zhang, B. Wang, L. Huang, and Q. Chen, “Transport of intensity equation: a tutorial,” Opt. Lasers Eng. 135, 106187 (2020). [CrossRef]
17. Y. Zong, M. Duan, C. Yu, and J. Li, “Robust phase unwrapping algorithm for noisy and segmented phase measurements,” Opt. Express 29(15), 24466–24485 (2021). [CrossRef]
18. S. Bikkannavar, “Autonomous high dynamic range phase unwrapping,” Proc. SPIE 7017, 70171W (2008). [CrossRef]
19. M. Zecchino, “Metrology of segmented clear apertures,” Optics and Photonics News 20, 10–12 (2009).
20. C. Zhao and J. H. Burge, “Orthonormal vector polynomials in a unit circle, Part I: basis set derived from gradients of Zernike polynomials,” Opt. Express 15(26), 18014–18024 (2007). [CrossRef]