# Advanced method of global phase shift estimation from two linear carrier interferograms

## Abstract

### Background

Phase-shifting interferometry is a kind of important technique used in optical interference metrology. This technique has high precision and good stability, which has been widely used in scientific research and industrial production.

### Methods

This paper proposes a new method to estimate global phase shift from two interferograms. This method performs algebraic calculation of two interferograms with the assistance of Hilbert transform. An iterative approach is used for the attempted phase to ensure that the minimum of assessment function is obtained.

### Results

The simulated result indicate that the maximum calculation error of the global phase-shifting is 1.5%. And then we use experimental data to verify the performance of this method.

### Conclusions

The method proposed in this article is simple but precise, and can cope with interferograms with uneven background and modulation, non-periodic apodization, and random noises. It does not require any specific carrier frequency of the measured interferogram or any adjustment of range of integration in accordance with the carrier frequency.

## Keywords

Global phase-shifting Fringes pattern Hilbert transform Iterative approach## Abbreviations

- EMD
Empirical mode decomposition

- EMFT
Energy-minimum fourier transform algorithm

- HHT
Hilbert-Huang transform

- HT
Hilbert transform

## Background

Phase-shifting interferometry (PSI) is a technique used in optical interference metrology. This technique has high precision and good stability, can be implemented through a variety of hardware, and has been consistently observed by researchers. Many algorithms have been developed to retrieve phase from a group of phase-shifted interferograms. Classical phase-shifting algorithms include fixed steps, variable steps, or random phase-shifting [1]. In recent years, researchers proposed a lot of interesting algorithms, including the two-frame phase shifting algorithms with regularized fringe pattern [2, 3, 4], the unknown or uncalibrated extraction algorithms [5, 6], and the generalized phase shifting method [7], etc. On some occasions, global phase-shifting value is a known value. The estimated value can be provided through existing information from previous measurements. However, many PSI algorithms need to calibrate the influence of phase-shifted errors from environment vibration, nonlinear response or unbalanced piezo-electric effect. In some other cases, global phase-shifting itself is unknown, which needs to be determined from a series of interferograms.

With respect to solutions of global phase-shifting values among interferograms, Farrell and Player proposed a method based on Lissajous figure fitting [8]. Brug proposed a method based on calculation of the correlation between two images [9]. Goldberg and Bokor, et al., proposed a method based on single-point Fourier transform [10], which calculates global phase-shifting by comparing the changes in power of the carrier frequency between two interferograms. However, all interference signals have limited length; carrier frequency is not a single frequency; spectral leakage may occur on the + 1 (or − 1) order signal frequency spectrum. Calculated the power change in a single frequency, alone, cannot comprehensively reflect the change in the global phase-shifting and cause the loss of calculation precision. Guo and Rong, et al., proposed an Energy-minimum Fourier Transform algorithm (EMFT) [11]. This method attempts to locate the best range of + 1 (or − 1) order signal frequency spectrum from the power spectrum, and therefore can increase the calculation precision for global phase-shifting under the same conditions. However, the interferograms from the measurements are affected by a variety of factors such as the effect of interferograms apodization, the uneven background, the signal envelope and the random noise. As a result, spectral aliasing may occur between the sideband of + 1 (or − 1) order spectrum and zero order signal frequency spectrum. This issue significantly reduces the precision of the calculation results, especially when the carrier frequency is low. Therefore, some methods for zero order spectrum elimination or suppression were proposed [12, 13]. In recent years, methods with Hilbert Transform (HT) and Hilbert-Huang Transform (HHT), aided by Empirical Mode Decomposition (EMD) have been used to suppress the unevenness of background [14, 15, 16]. On one hand, this issue reduces the robustness of the algorithms; on the other hand, because the generation of interferograms are constraint by the detector and hardware configuration, the choice of carrier frequency is not unlimited. In order to resolve this problem, Vishnyakov and Levin, et al., proposed a method to first do subtraction between two interferograms and then perform the Fourier Transform. This can effectively avoid the spectral aliasing and preserve relatively high calculation precision even when the carrier frequency is low [17, 18]. However, under this method, three interferograms are required for calculation, which limits its applicability.

In this paper, we propose a global phase shifting extraction method which is simple and direct. This method performs algebraic calculation of two interferograms with the assistance of Hilbert transform, and inserts the attempted global phase shift value into assessment function for calculation. The process is repeated until the value of the global phase shift in determined. The proposed method has better precision and robustness in scenarios of spectral aliasing or non-periodic apodization and potential applicability in various aspects of digital holography, interferometry, surface metrology, etc. [19, 20, 21, 22]. This paper introduces the theory behind the method, analyzes the accuracy and adaptability with numerical simulations and experiment.

## Methods

*x*) is the background,

*b*(

*x*) is amplitude modulation,

*kx*is the carrier frequency, both of which are functions of

*x*.

*φ*(

*x*) represents phase distribution,

*δ*

_{ m }represents the global phase shift at the mth measurement, which is the value to be estimated in this article. The algorithm in this article applies to scenarios with one-dimensional or two-dimensional interference signals. One or more row/column of data needs to be selected to determine the global phase shift of the interferogram. Generally speaking, assuming that the background and the modulation intensities are unchanged in the entire phase shifting process, the intensity before and after the phase shift can be written as:

*I*

_{ m }is generated after uneven background is eliminated and can be seen as a cosine signal with envelope. Perform the Hilbert Transform and take its imaginary part to obtain the cosine expression of Eq. (4). Because the Hilbert Transform of a sine signal takes the negative value of its cosine signal:

*δ*as the variable and incorporate Eqs.(5) and (6) to get:

*I*

_{ p }and

*I*

_{ mc }are functions of

*x*; the range of integral is the length of the entire signal

*l*. For discretely sampled signals, summation instead of integration is used. The value to be determined is

*δ*, the global phase shift corresponding to the minimum value of Eq. (7). The basic steps of the algorithm elaborated in this article include:

- 1.
Capture two linear carrier interferograms,

*I*_{1}and*I*_{2}, that include unknown global phase shift; - 2.
- 3.
Set the initial value of

*δ*and incorporate Eq. (7) to calculate the value of the assessment function; - 4.
Set the range for

*δ*and the step interval ∆*δ*, adjust the value of*δ*, and incorporate*F*(*δ*) for additional calculation; - 5.
Repeat this step until all

*F*(*δ*) are solved; - 6.
Find the minimum value of

*F*(*δ*), which is the global phase shift to be determined.Note that when

*δ*→ 2*πn*(*n*= 0,1,2,---), cot(δ / 2) → ∞. In this situation, this algorithm is invalid as there seems to be no phase shift between the two interferograms. The difference interferograms should be analyzed if this occurs. If only random noise exists and there is no periodic change in intensity, then it should be concluded that no phase shift occurs between the two interferograms.

## Results and discussion

### Numerical simulation

*I*

_{1}is shown in Fig. 1b. The range of the selected + 1 order frequency spectrum is marked in the figure. In the expression of this signal, α = -0.3

*x*

^{2}, b=-0.3(

*x*- 0.02)

^{2}+0.9, the phase distribution

*φ*= 0.1

*x*

^{2}, and the carrier frequency

*k*= 6.6

*π*. 3% random noise is added to this set of signals. The horizontal coordinates for this set of signals

*x*∈[–1.02, 0.90]; the corresponding

*kx*∈[–6.7

*π*,5.94

*π*]. The cutoff point of the signal is not selected to be at the position of a full cycle of the carrier frequency. The envelope is not centrally symmetrical. The phase shift between the two interference signals is δ =

*π*/3. Sampling includes 201 points. The odd number for the sampling is for the easy search for central frequency under the EMFT method. The above described interference signal module is commonly seen in practice. The uneven background intensity is included in this pair of interferograms. The amplitude modulation differs at different positions of the interference fringes. We can see from Fig. 1a that this set of interference signals include about 6 fringes. We call it a “high” carrier frequency signal, in comparison with the signal described later in this article that includes only 0.5 fringes. It is relative in our discussion.

*rad*and 1.045

*rad*. Both are consistent with the set value.

*k*= 0.7

*π*, and include approximately 0.35 fringe in the entire signal, the two interference signal curves are shown as in Fig. 3a. The corresponding power spectrum is shown as in Fig. 3b. In this scenario, the error will be greater than under EMFT if we perform calculation with the single point Fourier Transform method. Meanwhile, the EMFT method is useful to increase the precision of determination as it adjusts the location and the range of the integration based on different carrier frequencies, but its potential impacts on the assessment functions from inappropriately chosen windows are also evident. As the carrier frequency decreases, the + 1 order frequency spectrum is not readily determinable. We carefully select the range of the + 1 order frequency spectrum and mark it with a dotted square in Fig. 3b. Based on the + 1 order frequency spectrum range as shown in the figure, we use the EMFT method to calculate the assessment function and portray it, along with the result from the method from this article, in Fig. 4. As seen from the curves in the figure, the results from the two methods are patently different. The result from the method in this article is δ = 1.025

*rad*, whereas the phase shift calculated from the EMFT assessment function is

*δ*= 1.113

*rad*. As our set phase shift value is

*δ*= 1.047

*rad*, the relative errors for the two methods are 2.1% and 6.3%. The comparison results show that the precision from the two methods are comparable if the fringes are relatively many; but as fringes are significantly fewer, the reported method is superior to the EMFT method in its functionality.

From the perspective of signal shapes, the above described simulated signals include various interfering factors that may impact the calculation of global phase shifts, including, as documented in Literature ([21], 33–34), unevenness in background intensity and modulation envelopes (α ≠ constant, b ≠ constant), low carrier frequency, signal noises, non-periodic apodization, and etc. For a linear carrier interferogram, if the signal is non-periodic, the sideband of the carrier frequency signal will be broader; if the carrier frequency is not high enough, then it will spectrally aliased with the baseband signal. In practice, however, most interference signals are usually not single frequency. The location of apodization is not readily selected for reasons such as background and modulation unevenness.

### Experimental results

*M*

_{1}(Fig. 6a) and

*M*

_{2}(Fig. 6b) with method mentioned in the previous section. The global phase shift range to try into the Eq.7 should be [0, 2

*π*], but in order to avoid infinity, we choose a variable range of [0.03

*π,*1.94

*π*] and search step is 0.0047

*π*. And the corresponding assessment function values of all rows and columns are shown in Fig. 7a and b respectively.

*rad*and 0.028

*rad*, while the average values are 1.597

*rad*and 1.610

*rad*. We use the average of the two averages as the final estimated global phase shift. The running time is 0.32

*s*(mean of 10 independent runs) based on a computer with a 3.3GHz i5 CPU and 8GB RAM using MATLAB®.

*M*

_{1}(Fig. 6a) and M

_{3}(Fig. 6c), and plot the result in Fig. 9. The result indicates the phase step between these two frame is 3.14

*rad*. From those three phase-shift interferograms, the sought phase distribution

*ϕ*(

*x*,

*y*) can be extracted by the equations below.

*i*= 1,2,3,

*δ*

_{1}= 0,

*δ*

_{2}

*=*1.6037

*rad*,

*δ*

_{3}= 3.146

*rad*. The phase demodulation result for the considered experimental data is shown in Fig. 10. The linear carrier frequency pattern has been removed from the unwrapping map.

## Conclusions

This article reports a method to estimation the global phase shift with two interferograms. Compared with existing methods, this method requires no pre-filtering, nor does it have specific requirement for the carrier frequency of the interferograms. During the calculation, this method does not require the selection of a window for integration. It therefore increases the algorithmic adaptability and provides easy automatic processing. The method in this article may resolve the problem of global phase shift calculation when the interference signal faces a variety of factors such as nonperiodic apodization, uneven background and modulation. It also has better precision and robustness than previous methods in scenarios of spectral aliasing between the + 1 order spectrum and the zero order spectrum. The method in this article can calculate the global phase shift with only two interferograms. We believe that this method has broad potential applicability in various aspects of interferogram processing. And it could be extending to process the closed fringe patterns. In practice, this method can be used to screen out one or more sets of interferograms that meet the global phase shift needs from a series of interferograms for further calculation and analysis. This article provides the rationale and process of the calculation under this method, compares it with the existing method that needs Fourier Transform based on simulated interference signals, demonstrates the superiority of the method in this article, and confirms the precision of calculation with this method with data from experimental measurements.

## Notes

### Acknowledgements

The authors are grateful to Jiangsu Key Laboratory of Micro and Nano Heat Fluid Flow Technology and Energy Application and Suzhou Key Laboratory for Precision and Efficient Processing Technology(SZS201712) for their support.

## Funding

The work reported in this article is supported by the National Natural Science Foundation of China (11503017, 61378056); The “Summit of the Six Top Talents” Program of Jiangsu Province (2015-DZXX-026); Suzhou University of Science and Technology (XKQ201513); Suzhou Key Industry Technology Innovation Plan (SYG201646).

## Availability of data and materials

Not applicable.

### Authors’ contributions

All authors read and approved the final manuscript.

## Ethics approval and consent to participate

Not applicable.

## Consent for publication

Not applicable.

## Competing interests

The authors declare that they have no competing interests.

## Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## References

- 1.Malacara, D, Servin, M, Malacara, Z: Interferogram Analysis for Optical Testing. Marcel Dekker Inc., New York (1998)Google Scholar
- 2.Larkin, K: A self-calibrating phase-shifting algorithm based on the natural demodulation of two-dimensional fringe patterns. Opt. Express.
**9**(5), 236 (2001)ADSCrossRefGoogle Scholar - 3.Deng, J, Wang, H, Zhang, D, Zhong, L, Fan, J, Lu, X: Phase shift extraction algorithm based on Euclidean matrix norm. Opt. Lett.
**38**(9), 1506–1508 (2013)ADSCrossRefGoogle Scholar - 4.Tian, C, Liu, S: Demodulation of two-shot fringe patterns with random phase shifts by use of orthogonal polynomials and global optimization. Opt. Express.
**24**(4), 3202–3215 (2016)ADSCrossRefGoogle Scholar - 5.Xu, XF, Cai, LZ, Meng, XF, Dong, GY, Shen, XX: Fast blind extraction of arbitrary unknown phase shifts by an iterative tangent approach in generalized phase-shifting interferometry. Opt. Lett.
**31**(13), 1966 (2006)ADSCrossRefGoogle Scholar - 6.Bai, F, Liu, Z, Bao, X: Two-shot point-diffraction interferometer with an unknown phase shift. J. Opt.
**12**(4), 045702 (2010)ADSCrossRefGoogle Scholar - 7.Xu, XF, Cai, LZ, Wang, YR, Yan, RS: Direct phase shift extraction and wavefront reconstruction in two-step generalized phase-shifting interferometry. J. Opt.
**12**(1), 015301 (2010)ADSCrossRefGoogle Scholar - 8.Farrell, CT, Player, MA: Phase step measurement and variable step algorithms in phase-shifting interferometry. Meas. Sci. Technol.
**3**(10), 953–958 (1992)ADSCrossRefGoogle Scholar - 9.van Brug, H: Phase-step calibration for phase-stepped interferometry. Appl. Opt.
**38**(16), 3549 (1999)ADSCrossRefGoogle Scholar - 10.Goldberg, KA, Bokor, J: Fourier-transform method of phase-shift determination. Appl. Opt.
**40**(17), 2886 (2001)ADSCrossRefGoogle Scholar - 11.Guo, C-S, Rong, Z-Y, He, J-L, Wang, H-T, Cai, L-Z, Wang, Y-R: Determination of global phase shifts between interferograms by use of an energy-minimum algorithm. Appl. Opt.
**42**(32), 6514 (2003)ADSCrossRefGoogle Scholar - 12.Chen, W, Su, X, Cao, Y, Zhang, Q, Xiang, L: Method for eliminating zero spectrum in Fourier transform profilometry. Opt. Lasers Eng.
**43**(11), 1267–1276 (2005)CrossRefGoogle Scholar - 13.Cui, SL, Tian, F, Li, DH: Method to eliminate the zero spectra in Fourier transform profilometry based on a cost function. Appl. Opt.
**51**(16), 3194–3204 (2012)ADSCrossRefGoogle Scholar - 14.Trusiak, M, Patorski, K, Wielgus, M: Adaptive enhancement of optical fringe patterns by selective reconstruction using FABEMD algorithm and Hilbert spiral transform. Opt. Express.
**20**(21), 23463–23479 (2012)ADSCrossRefGoogle Scholar - 15.Trusiak, M, Służewski, Ł, Patorski, K: Single shot fringe pattern phase demodulation using Hilbert-Huang transform aided by the principal component analysis. Opt. Express.
**24**(4), 4221 (2016)ADSCrossRefGoogle Scholar - 16.Wang, C, Kemao, Q, Da, F: Regenerated phase-shifted sinusoids assisted EMD for adaptive analysis of fringe patterns. Opt. Lasers Eng.
**87**, 176–184 (2016)CrossRefGoogle Scholar - 17.Vishnyakov, G, Levin, G, Minaev, V, Nekrasov, N: Advanced method of phase shift measurement from variances of interferogram differences. Appl. Opt.
**54**(15), 4797–4804 (2015)ADSCrossRefGoogle Scholar - 18.Vishnyakov, GN, Levin, GG, Minaev, VL: Measuring technique of a phase shift based on Fourier analysis of differential interferograms. Opt. Spectrosc.
**118**(6), 971–977 (2015)ADSCrossRefGoogle Scholar - 19.Karray, M, Poilane, C, Gargouri, M, Picart, P: Mechanical behavior study of laminate composite by three-color digital holography. J Eur Opt Soc-Rapid Publ.
**13**(1), 26 (2017)CrossRefGoogle Scholar - 20.Yu, G, Walker, D, Li, H, Zheng, X, Beaucamp, A: Research on edge-control methods in CNC polishing. J Eur Opt Soc-Rapid Publ.
**13**(1), (2017)Google Scholar - 21.Wang, W, Wu, B, Liu, P, Huo, D, Tan, J: Absolute surface metrology by shear rotation with position error correction. J Eur Opt Soc-Rapid Publ.
**13**(1), (2017)Google Scholar - 22.An, P, Bai, F-Z, Liu, Z, Gao, X-J, Wang, X-Q: Measurement to radius of Newton’s ring fringes using polar coordinate transform. J. Eur. Opt. Soc-Rapid. Publ.
**12**(17), (2016)Google Scholar

## Copyright information

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.