Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group

Design of phase-shifting algorithms by fine-tuning spectral shaping

Open Access Open Access

Abstract

To estimate the modulating wavefront of an interferogram in Phase Shifting Interferometry (PSI) one frequently uses a Phase Shifting Algorithm (PSA). All PSAs take as input N phase-shifted interferometric measures, and give an estimation of their modulating phase. The first and best known PSA designed explicitly to reduce a systematic error source (detuning) was the 5-steps, Schwider-Hariharan (SH-PSA) PSA. Since then, dozens of PSAs have been published, designed to reduce specific data error sources on the demodulated phase. In Electrical Engineering the Frequency Transfer Function (FTF) of their linear filters is their standard design tool. Recently the FTF is also being used to design PSAs. In this paper we propose a technique for designing PSAs by fine-tuning the few spectral zeroes of a PSA to approximate a template FTF spectrum. The PSA’s spectral zeroes are moved (tuned) while gauging the plot changes on the resulting FTF’s magnitude.

©2011 Optical Society of America

1. Introduction

Schwider et al. [1] derived the first (and best known) 5-steps detuning-robust PSI algorithm, and afterwards Hariharan et al. [2] further analyzed its properties. In the book of Malacara et al. [3] an encyclopedic number of PSI algorithms are presented, including the motivation behind many of them; their spectral plots are also shown according to Freischlad and Koliopoulos (F&K) [4]. Spectral analysis of PSAs was popularized only after the F&K paper [4] was published. Nowadays, spectral analysis is the gold-standard reference to compare among several PSAs. Most people uses this spectra to visualize and gauge among several promising PSAs, and choose the best one for their needs [48,11,12].

More recently Surrel proposed an x-polynomial P(x) associated with a PSA named the Characteristic Polynomial (CP) [9]. The x-polynomial closely follows the z-transform, or in Surrel’s words [9]: “This introduction of a polynomial is similar to what is underlying in the z-transform theory”. That is probably why Surrel preferred the use of x instead of z for his P(x) polynomial. Then, Surrel proposed the CP-diagram, to visualize some properties of a PSA based on the (discrete) angular location over the unit circle of these zeroes and their multiplicities [9]. Surrel proposed no continuous spectral plot to gauge his x-polynomials [9], as the F&K spectral plot does provide [4]. He did not follow the standard continuous spectral analysis of z-transformed digital filters [10].

In 2010, Burke [11] efficiently combined both perspectives: the discrete CP-diagram [9], and the continuous F&K spectral analysis [4]. Burke did this to point-out the importance of fine-tuning the zeroes of a x-polynomial of symmetric PSAs. That is, Burke generated a new visualizing-gauging technique, by combining the discrete CP-diagram [9], with the F&K continuous spectrum [4,11], while finely tuning the PSA’ symmetric spectral zeroes.

However, as demonstrated in [12], one drawback of the F&K’s spectral analysis [4] is that it changes when the PSI algorithm’s reference carrier (the local oscillator) is rotated. Another important drawback of the F&K spectrum is that only symmetrical PSAs may be F&K spectrally analyzed. That is because, F&K analysis needs to: “analyze the spectrum without constant or common phase factors [1]”, and in this way obtain two real functions to plot. We repeat, the F&K spectral analysis can only be made if the PSA is symmetric, such as the ones analyzed by Burke [11], and Larkin et al. [5], and others [3]. As a consequence, general (non-symmetric) PSAs simply cannot be spectrally analyzed using F&K. Briefly, the F&K spectral plot limitations are: a) The spectral plot changes when the local oscillator is phase shifted [12], and b) F&K cannot plot the PSA’s spectra of general non-symmetric PSAs. These two drawbacks are serious limitation of the F&K spectral analysis technique.

A different perspective of the PSA’s theory just discussed was proposed by Servin et al. [12]. In this paper a general theory of PSAs based on the Frequency Transfer Function (FTF) H(ω) is given. The FTF is just the Fourier transform of the impulse response of a digital filter h(t), that is H(ω)=F[h(t)] [10]; where F[·] is the Fourier transform. The use of the FTF however new in PSI, has been the standard way of spectral analysis in signal processing engineering for decades [10]. The spectral analysis of PSAs based on the FTF does not have the limitations of the F&K spectral analysis.

The CP and the FTF perspectives are mathematically equivalent. The x-polynomial follows closely the z-transform of h(t), while the FTF is the Fourier transform of h(t); both perspectives are related by x=e [10]. The discrete CP-diagram associated with the x-polynomial only shows the CP’s zeroes and their multiplicities. In other words, the CP-diagram shows the behaviour of H(ω) only at the neighborhood of the level set H(ω)=0. In contrast the plot of |H(ω)| give the continuous, full visualization, of the spectral shape; including the zeroes shown in a CP-diagram. In short, the CP-diagram is a visual subset of H(ω), representing only its behaviour near H(ω)=0. Note that Surrel [9] could have used the continuous FTF spectral plot |P(e)| for gauging his x-polynomials, but he did not. Therefore, a CP-diagram does not provide the full visualizing information provided by |H(ω)|. As a consequence, it is difficult to use the CP-diagram for fine-tuning the few zeroes in a PSA. The detailed (continuous) spectral plot provided by |H(ω)|, is paramount to fine-tuning the spectral-shape, as our examples below show. We need to visualize and gauge the subtle changes in the shape of |H(ω)| (magnitude of the FTF), to finely tune the PSA’ spectral zeroes to approximate a target spectrum. Finally note that, the target spectrum may be estimated by spectral estimation of experimentally obtained fringe patterns. This real-data spectral estimation, and the desired phase noise-rejection are the key to know the size N of the PSA.

In this paper, just to build a conceptual bridge, we have adopted a combined CP-FTF visualization. But given that the CP-diagram is a visual subset of our |H(ω)| plot, we would not need the CP-diagram, all the PSA’s information is within our |H(ω)| continuous plot.

2. Spectral analysis of PSI algorithms based on the FTF

For the reader’s convenience, we briefly review the FTF approach in PSI [12]. Let us show the standard mathematical model of a set of N phase-shifted interferometric data as,

I(x,y,t)=k=0N1{a(x,y)+b(x,y)cos[φ(x,y)+ω0k]}δ(tk).
where the background illumination is a(x,y), the fringe contrast is b(x,y), and the carrier frequency is ω 0 (radians/interferogram). The Fourier transform F[•] of this signal over t is,
I(x,y,ω)=aδ(ω)+b2exp[iφ]δ(ω+ω0)+b2exp[iφ]δ(ωω0).
To know the interesting phase φ(x,y) one needs a filter h(t), to wipe-out the (ω) term and one b/2 term. To this end, the measured signal I(t) is introduced into a general N-steps PSA as,
tan[φ(x,y)]=k=0N1aksin(ω0t)I(k)k=0N1akcos(ω0t)I(k).
This PSA may be seen as the following N-steps, quadrature-filter h(t) tuned at ω 0 rad/sample,
h(t)={k=0N1akδ(tk)}eiω0t,H(ω)=F[h(t)]=k=0N1akeik(ωω0).
The data I(t) in Eq. (1) and the quadrature-filter h(t) may be convolved as,
S=[I(t)h(t)]t=N1=k=0N1akeiω0kI(k).
The complex number S is the value of I(t)*h(t) evaluated at the middle-point t=N-1, in which the filter h(t) and the data I(t) fully overlap. Finally, the searched phase is φ(x,y)=angle[S].

We visualize and gauge the PSA spectrum’s amplitude shape by plotting |H(ω)| as [12],

|H(ω)|=|F[h(t)]|=Re(ω)2+Im(ω)2.
where H(ω)=Re(ω)+i Im(ω), being Re(ω) and Im(ω) real-valued functions. The magnitude of H(ω) has the good properties of being invariant to local oscillator’s (exp[ 0 t]) phase-shifts, and have a well-defined spectral plot for either a symmetric or non-symmetric PSAs.

3. Characteristic polynomial (CP) associated to a PSI algorithms

The CP proposed by Surrel [9] is defined from the right hand side of Eq. (5) as,

P(x)=k=0N1akeiω0kxk=k=0N2(xdk).
P(x) is the CP x-polynomial, the data I(k) in Eq. (5) is formally substituted by xk [9]. As Surrel shows, it is convenient to express P(x) as a product of N-1 monomials (x-dk). M roots at dk means that the PSA is robust to detuning at dk up to order M. Finally, the zeroes dk, and their multiplicities are plotted in a CP-diagram [9]. First-order zeroes are plotted as small solid disks, and their multiplicities with greater circles around them [9].

Note that the FTF and CP analyzing perspectives are related by,

H(ω)=ei(N1)ωP(eiω).
Given that the x-polynomial P(x) is closely related with the z-transform, this mathematical equivalence (Eq. (8)) has been known for decades in digital linear system’s theory [10].

4. Fine-tuning spectral-zeroes for approximating a desired PSA spectrum

A first-order linear system that generates a (first-order) spectral zero at ω 0 is [10],

h(t)=[δ(t)δ(t1)]eiω0t.
This may readily be seen by Fourier transforming h(t) as,
H(ω)=F[h(t)]=1ei(ω+ω0).
This is the basic building-block of our zero-based, spectral-shaping design of PSAs. Note that, the equivalent x-monomial is P(x)=[x-exp(-0)]. We will combine several first-order blocks (Eq. (10)), freely tuning their zeroes, to approximate a desired PSA spectral template.

As a first example, suppose we want a 5-step PSA’s having a flatter rejecting-band around -π/2 than a 5-step Schwider-Hariharan (SH) PSA [1,2]. The SH-PSA has the following FTF,

HSH(ω)=(1eiω)[1ei(ω+π/2)]2[1ei(ω+π)].
The x-polynomial of the SH-PSA is (x-1)(x+i)2(x+1). The CP-diagram and the plot of |HSH(ω)| are shown in Fig. 1 . This PSA has a second-order zero at –π/2, and two first-order zeroes at 0 and π. The second-order zero gives (second-order) detuning robustness at -π/2.

 figure: Fig. 1

Fig. 1 Magnitude of HSH(ω) Eq. (11), and its CP-diagram. The PSA’ spectral plot |HSH(ω)| has two first-order zeroes at 0, and π, and a second-order one at -π/2.

Download Full Size | PDF

We now freely move and fine-tune (by trial and error) one zero at -π/2, and the one at π, to flatten the response around -π/2. This is done while gauging the |H 5(ω)| plot. After some iterations we settle on the following FTF, which corresponds to a non-symmetric PSA,

H5(ω)=(1eiω)[1ei(ω+0.45ω0)][1ei(ω+ω0)][1ei(ω+1.4ω0)].
The equivalent (CP) x-polynomial isP5(x)=(x1)(xei0.225π)(xei0.5π)(xei0.7π). The CP-diagram and the plot of |H 5(ω)| are shown in Fig. 2 . By inverse-Fourier transforming H 5(ω), or expanding P5(x), (both options being equally easy) we find the desired non-symmetric PSA as,

 figure: Fig. 2

Fig. 2 Magnitude of H 5(ω), and its CP-diagram. The PSA spectrum, has been considerably flattened around π/2 with respect to HSH(ω) for the same measured interferograms. From the CP-diagram alone, the spectral shape outside the 4 zeroes shown is absent. In contrast the plot of |H 5(ω)| shows it clearly. One must be aware of the small ripples within the stop-band.

Download Full Size | PDF

tan[ϕ]=2.4I(π/2)+2.9I(π)+0.57I(3π/2)I(2π)I(0)1.2I(π/2)2.3I(π)+2.7I(3π/2)0.23I(2π).

In Fig. 3 we show an application for our modified PSA (Eq. (13)) to simulated speckle-like interferograms. For the sake of visual clarity we only show 3 interferograms (out of 5) along with the wrapped phase obtained from Eq. (13).

 figure: Fig. 3

Fig. 3 Simulated speckle-like interferograms applied to our modified PSA (Eq. (13)). The 5 interferograms used in Eq. (13) may also be used for the SH-PSA. However the PSA detuning robustness is higher in our modified PSA (Eq. (13)) than in the SH-PSA (Eq. (11)).

Download Full Size | PDF

Let us continue with another example, a 9-steps PSA. We want high detuning robustness, (6-zeroes) at ω0=-π/2, and also robustness to bias illumination’s variation; 2-zeroes at ω=0. In Fig. 4 the CP-diagram of P 9(x)=(x-1)2(x+i)6, and the plot of |P 9(e)| are shown,

 figure: Fig. 4

Fig. 4 Magnitude of P 9(e) and its CP-diagram. The resulting spectral rejection band is wide (6th order) around ω 0, and 2nd order around the origin.

Download Full Size | PDF

Let us widen even further P 9(e) around -ω 0. A flatter than P 9(e) spectral response is obtained by spreading-out its 8 available zeroes. This is done while gauging the |H 9(ω)| plot. After some trial-and-error iterations we settle on the following non-symmetric PSA,

H9(ω)=[1ei(ω0.3ω0)][1eiω][1ei(ω+0.3ω0)][1ei(ω+0.6ω0)][1ei(ω+ω0)][1ei(ω+1.4ω0)][1ei(ω+1.7ω0)][1ei(ω+2ω0)].

As Fig. 5 shows, we have further flattened the rejected-band with respect to that of P 9(e). The 8 zeroes have been spread-out around the unit circle. The designer may widen even more the rejection-band at a cost of tolerating bigger ripples; the signal amplitude at ω 0 is 82 times bigger than the highest ripple. This plot clearly shows the detailed spectral amplitude including the small ripples which cannot be seen in the CP-diagram. Fourier-inverse transforming H 9(ω) we find h 9(t) and from it, the searched 9-steps non-symmetric PSA.

 figure: Fig. 5

Fig. 5 CP diagram, and magnitude of H 9(ω). The resulting PSA’ spectral shape has been further flattened, with respect to P 9(e) around ω 0, and around of the origin. . From the CP-diagram alone, one may only wonder the spectral amplitude outside the zeroes shown, making almost impossible the fine-tuning task performed herein.

Download Full Size | PDF

5. Signal-to-Noise power ratio (S/N) in PSA designs

Given that the CP-diagram is blind to the continuous spectral’ amplitude, we cannot see if our PSA would perform better against noise with a slight change of the data carrier ω 0. By looking at Fig. 5 (for example) we see that the desired signal at ω=π/2, do not coincide with the spectra’s peak. Let us compute the S/N power-ratio at ω 0, and at its peak 1.16ω 0 [12],

S/N(ω0)=|H9(ω0)|212πππ|H9(ω)|2dω=5.3,S/N(1.16ω0)=|H9(1.16ω0)|212πππ|H9(ω)|2dω=6.6.
That is, increasing our carrier ω 0 from 0.5π (radians/sample) to 0.58π one obtains a 24.5% gain in the S/N power-ratio, i.e. (6.6/5.3)=1.245. We have suggested this carrier increase because we can seen the continuous plot of |H 9(ω)| in Fig. 5. In contrast, observing the CP-diagram alone, it is impossible to see where the location of the PSA’s spectral maximum is. Also, the F&K’ spectral plot [4] cannot be used, because it does not exist for non-symmetrical PSAs.

6. Conclusions

We have presented a zero-based, fine-tuning, spectrum-shaping technique for designing N-steps PSAs, based on the visualization and gauging of its continuous FTF spectral magnitude |H(ω)|. This technique gives more possibilities to approximate a target spectrum while keeping the size N of the PSA unchanged. This PSA’s design method starts by specifying a desired PSA spectrum’s template. Afterwards, the available (N-1) first-order zeroes are freely moved (fine-tuned), to approximate it. Finally, the inverse transform of the FTF (h(t)) is found, and from it the desired (in general non-symmetric) PSA. We remark, given that we freely move the PSA’s (N-1) zeroes, we end-up (with probability 1) synthesizing non-symmetric PSAs. These non-symmetric PSAs cannot be analyzed using the F&K spectral-plotting technique.

Finally we remark that, the target PSA spectrum may be determined by taking the Fourier transform of actual interferometric measurements of the kind of fringes being analyzed. This real-data spectral estimation and the desired phase noise-rejection are the key to estimate how many samples N a given PSA needs, and also where its (N-1) zeroes may be located.

References and links

1. J. Schwider, R. Burow, K. E. Elssner, J. Grzanna, R. Spolaczyk, and K. Merkel, “Digital wave-front measuring interferometry: some systematic error sources,” Appl. Opt. 22(21), 3421–3432 (1983). [CrossRef]   [PubMed]  

2. P. Hariharan, B. F. Oreb, and T. Eiju, “Digital phase-shifting interferometry: a simple error-compensating phase calculation algorithm,” Appl. Opt. 26(13), 2504–2506 (1987). [CrossRef]   [PubMed]  

3. D. Malacara, M. Servin, and Z. Malacara, Interferogram Analysis for Optical Testing (Taylor & Francis, CRC, 2005).

4. K. Freischlad and C. L. Koliopoulos, “Fourier description of digital phase-measuring interferometry,” J. Opt. Soc. Am. A 7(4), 542–551 (1990). [CrossRef]  

5. K. G. Larkin and B. F. Oreb, “Design and assessment of symmetrical phase-shifting algorithms,” J. Opt. Soc. Am. A 9(10), 1740–1748 (1992). [CrossRef]  

6. J. Schwider, O. Falkenstörfer, H. Schreiber, H. Zöller, and N. Streibl, “New compensating four-phase algorithm for phase-shift interferometry,” Opt. Eng. 32(8), 1883–1885 (1993). [CrossRef]  

7. P. Groot, “Derivation of algorithms for phase-shifting interferometry using the concept of a data-sampling window,” Appl. Opt. 34(22), 4723–4730 (1995). [CrossRef]   [PubMed]  

8. J. Schmit and K. Creath, “Window function influence on phase error in phase-shifting algorithms,” Appl. Opt. 35(28), 5642–5649 (1996). [CrossRef]   [PubMed]  

9. Y. Surrel, “Design of algorithms for phase measurements by the use of phase stepping,” Appl. Opt. 35(1), 51–60 (1996). [CrossRef]   [PubMed]  

10. J. G. Proakis, and D. G. Manolakis, Digital Signal Processing, 4th ed. (Prentice Hall, 2007). [PubMed]  

11. J. Burke, “Extended averaging phase-shifting schemes for Fizeau interferometry on high-numerical aperture spherical surfaces,” Proc. of SPIE 7790, (2010).

12. M. Servin, J. C. Estrada, and J. A. Quiroga, “The general theory of phase shifting algorithms,” Opt. Express 17(24), 21867–21881 (2009). [CrossRef]   [PubMed]  

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (5)

Fig. 1
Fig. 1 Magnitude of HSH (ω) Eq. (11), and its CP-diagram. The PSA’ spectral plot |HSH (ω)| has two first-order zeroes at 0, and π, and a second-order one at -π/2.
Fig. 2
Fig. 2 Magnitude of H 5(ω), and its CP-diagram. The PSA spectrum, has been considerably flattened around π/2 with respect to HSH (ω) for the same measured interferograms. From the CP-diagram alone, the spectral shape outside the 4 zeroes shown is absent. In contrast the plot of |H 5(ω)| shows it clearly. One must be aware of the small ripples within the stop-band.
Fig. 3
Fig. 3 Simulated speckle-like interferograms applied to our modified PSA (Eq. (13)). The 5 interferograms used in Eq. (13) may also be used for the SH-PSA. However the PSA detuning robustness is higher in our modified PSA (Eq. (13)) than in the SH-PSA (Eq. (11)).
Fig. 4
Fig. 4 Magnitude of P 9(e ) and its CP-diagram. The resulting spectral rejection band is wide (6th order) around ω 0, and 2nd order around the origin.
Fig. 5
Fig. 5 CP diagram, and magnitude of H 9(ω). The resulting PSA’ spectral shape has been further flattened, with respect to P 9(e ) around ω 0, and around of the origin. . From the CP-diagram alone, one may only wonder the spectral amplitude outside the zeroes shown, making almost impossible the fine-tuning task performed herein.

Equations (15)

Equations on this page are rendered with MathJax. Learn more.

I ( x , y , t ) = k = 0 N 1 { a ( x , y ) + b ( x , y ) cos [ φ ( x , y ) + ω 0 k ] } δ ( t k ) .
I ( x , y , ω ) = a δ ( ω ) + b 2 exp [ i φ ] δ ( ω + ω 0 ) + b 2 exp [ i φ ] δ ( ω ω 0 ) .
tan [ φ ( x , y ) ] = k = 0 N 1 a k sin ( ω 0 t ) I ( k ) k = 0 N 1 a k cos ( ω 0 t ) I ( k ) .
h ( t ) = { k = 0 N 1 a k δ ( t k ) } e i ω 0 t , H ( ω ) = F [ h ( t ) ] = k = 0 N 1 a k e i k ( ω ω 0 ) .
S = [ I ( t ) h ( t ) ] t = N 1 = k = 0 N 1 a k e i ω 0 k I ( k ) .
| H ( ω ) | = | F [ h ( t ) ] | = R e ( ω ) 2 + I m ( ω ) 2 .
P ( x ) = k = 0 N 1 a k e i ω 0 k x k = k = 0 N 2 ( x d k ) .
H ( ω ) = e i ( N 1 ) ω P ( e i ω ) .
h ( t ) = [ δ ( t ) δ ( t 1 ) ] e i ω 0 t .
H ( ω ) = F [ h ( t ) ] = 1 e i ( ω + ω 0 ) .
H S H ( ω ) = ( 1 e i ω ) [ 1 e i ( ω + π / 2 ) ] 2 [ 1 e i ( ω + π ) ] .
H 5 ( ω ) = ( 1 e i ω ) [ 1 e i ( ω + 0.45 ω 0 ) ] [ 1 e i ( ω + ω 0 ) ] [ 1 e i ( ω + 1.4 ω 0 ) ] .
tan [ ϕ ] = 2.4 I ( π / 2 ) + 2.9 I ( π ) + 0.57 I ( 3 π / 2 ) I ( 2 π ) I ( 0 ) 1.2 I ( π / 2 ) 2.3 I ( π ) + 2.7 I ( 3 π / 2 ) 0.23 I ( 2 π ) .
H 9 ( ω ) = [ 1 e i ( ω 0.3 ω 0 ) ] [ 1 e i ω ] [ 1 e i ( ω + 0.3 ω 0 ) ] [ 1 e i ( ω + 0.6 ω 0 ) ] [ 1 e i ( ω + ω 0 ) ] [ 1 e i ( ω + 1.4 ω 0 ) ] [ 1 e i ( ω + 1.7 ω 0 ) ] [ 1 e i ( ω + 2 ω 0 ) ] .
S / N ( ω 0 ) = | H 9 ( ω 0 ) | 2 1 2 π π π | H 9 ( ω ) | 2 d ω = 5.3 , S / N ( 1.16 ω 0 ) = | H 9 ( 1.16 ω 0 ) | 2 1 2 π π π | H 9 ( ω ) | 2 d ω = 6.6.
Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.