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

Spectral analysis of phase shifting algorithms

Open Access Open Access

Abstract

Systematic spectral analysis of Phase Shifting Interferometry (PSI) algorithms was first proposed in 1990 by Freischlad and Koliopoulos (F&K). This analysis was proposed with the intention that “in a glance” the main properties of the PSI algorithms would be highlighted. However a major drawback of the F&K spectral analysis is that it changes when the PSI algorithm is rotated or its reference signal is time-shifted. In other words, the F&K spectral plot is different when the PSI algorithm is rotated or its reference is time-shifted. However, it is well known that these simple operations do not alter the basic phase demodulation properties of PSI algorithms, except for an unimportant piston. Here we propose a new way to analyze the spectra of PSI algorithms which is invariant to rotation and/or reference time-shift among other advantages over the nowadays standard PSI spectral analysis by F&K.

©2009 Optical Society of America

1. Introduction

Spectral analysis of PSI algorithms was not systematically addressed before the paper of Freischlad and Koliopoulos (F&K) [1]. F&K have correctly interpreted that PSI algorithms are actually complex quadrature filters in the temporal domain [1] (see also [2,3]) and used the Fourier transform to find the spectra of these filters. In addition to this, they have proposed a spectral analysis in order to graphically interpret the main features of these quadrature filters (PSI algorithms). However the main drawback of this spectral analysis is that it changes when the PSI filter is rotated in the complex plane and/or its reference is time-shifted. This analysis changes so much with rotation that one may have the false impression of dealing with a different PSI algorithm. However it is well known that the estimated phase of a rotated or time-shifted PSI algorithm remains unchanged, except for an unimportant piston phase [4,5].

Here we propose a new way of to analyze the spectra of PSI algorithms based on the frequency transfer function [6] of the complex filter associated with the PSI algorithm. This PSI filter’s spectrum is invariant to rotation and/or reference time-shift. Also this new spectral representation has zero response at frequencies rejected by the PSI quadrature filter.

2. The aim of a quadrature filter in phase shifting interferometry

Let us begin by showing the usual mathematical model of a temporal interferometric signal as,

I(x,y,t)=a(x,y)+b(x,y)cos[φ(x,y)+ω0t].
Where a(x,y), b(x,y), and φ(x,y) are the background, contrast and the searched phase. Finally ω 0 is the temporal carrier (in radians) of the phase shifted interferograms. Rewriting it as,
I(x,y,t)=a+b2exp[i(φ+ω0t)]+b2exp[i(φ+ω0t)].
The spatial dependence of the functions a(x,y), b(x,y) and φ(x,y) were omitted for clarity. The aim of a PSI algorithm is to filter out a(x,y), and one of the two complex exponentials. Therefore the output signal Ic(t) is,
Ic(t)=[b(x,y)/2]exp{i[φ(x,y)+ω0t]}=h(t)*I(x,y,t).
Where the symbol * denotes a one-dimensional convolution, and h(t) is the PSI filter’s complex (quadrature) impulse response,
h(t)=hr(t)+ihi(t).
Denoting by H(ω) = F[h(t)] its Fourier transform. The minimal conditions on the frequency transfer function H(ω) to obtain the complex signal Ic(t) in Eq. (3) from the interferogram are:
H(ω0)0,  and H(ω0)=H(0)=0.
These conditions on H(ω) are not normally used in the field of few-steps PSI interferometry. Instead due to [1], one normally uses the following equivalent set of requirements,

{F[hr(t)]iF[hi(t)]}|ω=ω0=0,  and F[hr(t)]|ω=0=F[hi(t)]|ω=0=0.

3. Rotation and reference time-shift of PSI algorithms

In this section we discuss the rotation and reference time-shift of PSI algorithms. Malacara et. al. [4], page 239, and Schmit et. al. [5] have discussed this before. As it is well known [1], a PSI algorithm (or quadrature filter) may be expressed in terms of the real hr(t) and imaginary hi(t) parts of a complex impulse response filter h(t) = hr(t) + i hi(t) as,

tan[φ(x,y)]=hi(t)*I(x,y,t)hr(t)*I(x,y,t)|t=0.
The rotation (by Δ0) and the reference time-shift (t-t 0) of this complex linear filter are formally represented by,
h(t)exp[iΔ0],  and h(tt0).
The most general impulse response of a linear-quadrature digital-filter (PSI algorithm) is, exp[iω0t]{nanδ(tnT)} where exp[iw 0 t] is the reference signal (local oscillator), T is the sampling rate, and the coefficients an are weighting (possible complex) constants. Time shifting the reference one obtains,
h(tt0)=exp[iω0(tt0)]{nanδ(tnT)}=h(t)exp[iω0t0].
Therefore, time-shifting the reference signal also implies filter’s rotation, with Δ0 = -ω 0 t 0. This was first observed in Malacara et. al. [4], page 239. Rotating h(t) by Δ0 one obtains,
h(t)exp[iΔ0]=hr(t)cos(Δ0)hi(t)sin(Δ0)+i[hr(t)sin(Δ0)+hi(t)cos(Δ0).
As Eq. (10) shows, rotation and/or reference time-shift linearly mix up the real and imaginary parts of the original PSI filter h(t). This give apparently “new” PSI algorithms that looks quite different albeit being the same one [4,5]. The family of PSI algorithms obtained from the rotated (or time shifted Δ0 = -ω 0 t 0) quadrature filter according to Eq. (10) looks now as,

tan[φ(x,y)+Δ0]=[hr(t)sin(Δ0)+hi(t)cos(Δ0)]*I(t)[hr(t)cos(Δ0)hi(t)sin(Δ0)]*I(t)|t=0.

4. The Freischlad and Koliopoulos spectral analysis

The spectral analysis of PSI algorithms published by Freishlad et. al. [1] consist on finding the Fourier transform of the real and imaginary parts of h(t), separately, that is

Hi(ω)=F[hi(t)]Hr(ω)=F[hr(t)].
Having these Fourier transforms, F&K recommend to analyze these spectra without constant or common phase factors [1], and in this way obtain two real functions to plot.

But as we said, if we rotate the PSI algorithm one may easily run into trouble, because now the rotated spectra have the following form,

Hi(ω)=F[hr(t)sin(Δ0)+hi(t)cos(Δ0)]Hr(ω)=F[hr(t)cos(Δ0)hi(t)sin(Δ0)].
The spectral analysis that results from this rotated PSI algorithm is clearly different to the one in Eq. (12), and may give the false impression that they correspond to two different PSI algorithms. In other words, the F&K spectral representation would give different spectral plots for each rotation of the same PSI algorithm. In our herein presented spectral representation, this drawback does not exist.

5. Our proposed spectral analysis

As revised in the previous section, the spectral analysis in [1] take the Fourier transform of the real hr(t) and the imaginary hi(t) components of h(t) separately; Eq. (12). This is followed by a rule to obtain two real functions to plot and analyze. On the other hand, we propose to analyze the spectra of the complex sum h(t) = hr(t) + i hi(t). So we only take the Fourier transform of h(t), i.e. H(ω) = F[h(t)]. This new way of analyzing the spectra of PSI algorithms have (as shown here) interesting and useful consequences.

It is well known that the spectra H(ω) [6] is the ratio of the output’s signal spectra Ic(ω) to the input’s signal spectra I(ω),

H(ω)=|H(ω)|exp[iΔ(ω)]=Ic(ω)I(ω).
Where the function |H(ω)| is the magnitude of H(ω), and Δ(ω) is the phase introduced by the linear filter. Moreover, the filter’s phase Δ(ω) is constant in many popular PSI algorithms [4]. The output of any PSI filter is the complex analytical signal Ic(t) in Eq. (3) associated with the interferogram’s real signal I(t). Therefore, as it is shown in Fig. 1 we may have an infinite number of transfer functions H(ω) that comply with Eq. (5). In Fig. 1 we show two block diagrams of linear quadrature PSI filters that may be used to obtain our searched analytical signal Ic(t) at –ω 0 from the real interferometric signal I(t).

 figure: Fig. 1

Fig. 1 Spectral magnitude |H(ω)| of two PSI algorithms. We show the input interferogram as I(t), and the output complex signal as Ic(t). We can clearly see that these two filters pass only the left side analytical signal at frequency -ω 0, while rejecting the background a(x,y) at ω = 0 and the right side analytical signal at + ω 0.

Download Full Size | PDF

As we said, most PSI algorithms published to date have a constant phase shift Δ(ω) = Δ0 [4], therefore in these cases the plot of |H(ω)| may be used as its spectrum, which is given by

|H(ω)|=|F[h(t)]|=Re(ω)2+Im(ω)2.
Where H(ω) = Re(ω) + i Im(ω), being Re(ω) and Im(ω) real functions of ω. As seen in the next section, using this new way of plotting the PSI spectra, one can easily visualize the main properties of a PSI algorithm. Moreover, it is well known that [6]; the rotated h(t)exp[iΔ0]; the time-shifted h(t-t 0), and the original PSI filter h(t) have all the same magnitude |H(ω)|,

|H(ω)|=|F[h(t)]|=|F{h(t)exp[iΔ0]}|=|F[h(tt0)]|. (16).

6. Examples

In this section, using two examples, we illustrate the rotational/time-shifting ambiguity of the F&K analysis and how our new PSI spectral analysis based on |H(ω)| avoids them.

6.1 Two four-step PSI algorithms

Let us begin with two popular 4-step PSI algorithms [4],

tan[φ1(x,y)]=I1+I2I3I4I1I2I3+I4,  and tan[φ2(x,y)]=I2I4I1I3.
The phase shift among the interferograms used in these PSI algorithms is 90° degrees. In the first case the actual angles may be: −3π/4, -π/4, π/4, and 3π/4 radians; while in the second case: -π/2, 0, π/2, and π radians. Denoting by h1(t) = hr1(t) + i hi1(t) and h2(t) = hr2(t) + i hi2(t), the two impulse responses associated with these PSI algorithms are:
h1(t)=δ(t+3π/4)δ(t+π/4)δ(tπ/4)+δ(t3π/4)+i[δ(t+3π/4)+δ(t+π/4)δ(tπ/4)δ(t3π/4)]h2(t)=δ(tπ/2)δ(t+π/2)+i[δ(t)δ(t+π)].
By looking at these impulse responses, and according to F&K [1], one would need to analyze the following spectra,
Hr1(ω)=2cos(πω/4)2cos(3πω/4),Hi1(ω)=2i[sin(πω/4)+sin(3πω/4)]Hr2(ω)=2isin(πω/2),Hi2(ω)=1exp(iπω).
Because of the remarkable difference between the Fourier transform of the components of these two filters, one may wrongly think that we are dealing with two different 4-step PSI algorithms. However using Eq. (15), one can easily find the magnitude of the Fourier transform of h1(t) and h2(t) and realize that both are proportional,
|H1(ω)|=2|H2(ω)|.
The plot of |H1(ω)| and |H2(ω)| are shown in Fig. 2 . We can see that in this representation both filters have proportional spectra and therefore (except for a piston phase equals to π/4 introduced by H2(ω) [5]) have identical phase demodulating properties.

 figure: Fig. 2

Fig. 2 Spectral magnitude of the two 4-step PSI algorithms in Eq. (17). We see that they are actually proportional and as a consequence, have identical phase demodulation properties. These PSI filters let pass the left side analytical signal at ω = −1.0 while rejecting the background at ω = 0 and the complex signal at ω = 1.0.

Download Full Size | PDF

6.2 Five-step Schwider-Hariharan PSI algorithm

Let us take another popular PSI algorithm; the Schwider-Hariharan [4] 5-step one, which is,

tan[φ(x,y)]=2(I2I4)I12I3+I5.
Where the phase steps are -π, -π/2, 0, π/2, and π. This PSI algorithm has the following associated impulse response h(t),
h(t)=δ(tπ)2δ(t)+δ(t+π)+i[2δ(tπ/2)2δ(t+π/2)].
According to [1] one would need to plot and analyze the following spectra,
Hr(ω)=F[δ(tπ)2δ(t)+δ(t+π)]=2+2cos(πω)Hi(ω)=F[2δ(tπ/2)2δ(t+π/2)]=4isin(πω/2).
However if we rotate h(t) by Δ0 radians we obtain,
h(t)exp[iΔ0]={δ(tπ)2δ(t)+δ(t+π)+i[2δ(tπ/2)2δ(t+π/2)]}exp[iΔ0].
If the rotation angle is (for example) Δ0 = π/4 then the rotated impulse response becomes,
2h(t)exp[iπ/4]=δ(tπ)+2δ(tπ/2)2δ(t)2δ(t+π/2)+δ(t+π)+i[δ(tπ)2δ(tπ/2)2δ(t)+2δ(t+π/2)+δ(t+π)].
Giving the following rotated 5-step PSI algorithm (this equivalence was first observed in [5]),
tan[φ(x,y)+π/4]=I1+2I22I32I4+I5I12I22I3+2I4+I5.
The Fourier transform of the real and imaginary parts of this rotated 5-step algorithm are now,
2Hr(ω)=2+2cos(πω)4isin(πω/2),2Hi(ω)=22cos(πω)4isin(πω/2).
Given the big difference between Eq. (23) and Eq. (27), and according to the analysis proposed in [1] one may easily think that we are dealing with two different PSI algorithms!. However it is easy to see that the magnitude of H(ω) = F[h(t)] of both algorithms are (of course) identical
|H(ω)|=|2+2cos(πω)+4sin(πω/2)|.
This is shown in Fig. 3 , where we can see that this 5-step PSI filter will eliminate the complex exponential at ω = 1.0 and the background of the interferogram I(t) at ω = 0.

 figure: Fig. 3

Fig. 3 Spectral magnitude |H(ω)| of the 5-step Schwider-Hariharan algorithm and its rotated twin. Both are of course identical. Only the left side analytical signal at ω = −1.0 passes through, while rejecting the background and the complex signal at ω = + 1.0.

Download Full Size | PDF

6.3 Discusion

We now list some advantages of our new way of analyzing the spectra of PSI algorithms.

  • 1. The magnitude of the frequency response of the filter is invariant to the PSI filter rotations and/or constant time-shift of the reference signal (local oscillator).
  • 2. The signals at frequencies ω 1,…,ωn that the PSI filter rejects are clearly seen as zeroes over the frequency axis i.e. |H(ω 1)| = … = |H(ωn)| = 0.
  • 3. The properties of the PSI algorithms in the neighborhood of the rejected frequencies are also clearly shown. For example the detuning robustness of the Schwider-Hariharan 5-step algorithm is shown as a zero for the first derivative of H(ω) at ω = 1.0.
  • 4. In [7] we show that the phase noise in a PSI algorithm is proportional to the integral of |H(ω)|2. So at a glance one may estimate the noise rejection of two “competing” PSI algorithms by their area under |H(ω)|2 for the same output signal’s energy.

7. Conclusions

In this paper we have proposed a new way to analyze the spectra of PSI quadrature filters which is invariant to PSI algorithm rotation or reference time-shift. As it is well known [4,5] a simple rotation and/or time-shift of a PSI algorithm do not alter the PSI phase but for an irrelevant piston. However, as simple as these operations are, according to the analysis proposed in [1] it gives different spectral plots, giving the false impression that the PSI algorithm have somehow changed. Additionally our new PSI spectral analysis clearly shows as zeroes in H(ω) the rejected frequencies, and no need for further interpretation is required. On top of this, the spectral analysis based on H(ω) is the most usual (and intuitive) manner to graphically represent the spectra of any optical and/or electrical filter in engineering.

Acknowledgements

We acknowledge the valuable support of the Mexican Science Council, CONACYT.

References and links

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

2. D. W. Phillion, “General methods for generating phase-shifting interferometry algorithms,” Appl. Opt. 36(31), 8098–8115 (1997). [CrossRef]  

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

4. D. Malacara, M. Servin, and Z. Malacara, Interferogram analysis for Optical Testing, 2th ed., (Marcel Deker, 2003).

5. J. Schmit and K. Creath, “Extended averaging technique for derivation of error-compensating algorithms in phase-shifting interferometry,” Appl. Opt. 34(19), 3610–3619 (1995). [CrossRef]   [PubMed]  

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

7. M. Servin, J. C. Estrada, J. A. Quiroga, J. F. Mosiño, and M. Cywiak, “Noise in phase shifting interferometry,” Opt. Express 17(11), 8789–8794 (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 (3)

Fig. 1
Fig. 1 Spectral magnitude |H(ω)| of two PSI algorithms. We show the input interferogram as I(t), and the output complex signal as Ic(t). We can clearly see that these two filters pass only the left side analytical signal at frequency -ω 0, while rejecting the background a(x,y) at ω = 0 and the right side analytical signal at + ω 0.
Fig. 2
Fig. 2 Spectral magnitude of the two 4-step PSI algorithms in Eq. (17). We see that they are actually proportional and as a consequence, have identical phase demodulation properties. These PSI filters let pass the left side analytical signal at ω = −1.0 while rejecting the background at ω = 0 and the complex signal at ω = 1.0.
Fig. 3
Fig. 3 Spectral magnitude |H(ω)| of the 5-step Schwider-Hariharan algorithm and its rotated twin. Both are of course identical. Only the left side analytical signal at ω = −1.0 passes through, while rejecting the background and the complex signal at ω = + 1.0.

Equations (28)

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

I(x,y,t)=a(x,y)+b(x,y)cos[φ(x,y)+ω0t].
I(x,y,t)=a+b2exp[i(φ+ω0t)]+b2exp[i(φ+ω0t)].
Ic(t)=[b(x,y)/2]exp{i[φ(x,y)+ω0t]}=h(t)*I(x,y,t).
h(t)=hr(t)+ihi(t).
H(ω0)0,  and H(ω0)=H(0)=0.
{F[hr(t)]iF[hi(t)]}|ω=ω0=0,  and F[hr(t)]|ω=0=F[hi(t)]|ω=0=0.
tan[φ(x,y)]=hi(t)*I(x,y,t)hr(t)*I(x,y,t)|t=0.
h(t)exp[iΔ0],  and h(tt0).
h(tt0)=exp[iω0(tt0)]{nanδ(tnT)}=h(t)exp[iω0t0].
h(t)exp[iΔ0]=hr(t)cos(Δ0)hi(t)sin(Δ0)+i[hr(t)sin(Δ0)+hi(t)cos(Δ0).
tan[φ(x,y)+Δ0]=[hr(t)sin(Δ0)+hi(t)cos(Δ0)]*I(t)[hr(t)cos(Δ0)hi(t)sin(Δ0)]*I(t)|t=0.
Hi(ω)=F[hi(t)]Hr(ω)=F[hr(t)].
Hi(ω)=F[hr(t)sin(Δ0)+hi(t)cos(Δ0)]Hr(ω)=F[hr(t)cos(Δ0)hi(t)sin(Δ0)].
H(ω)=|H(ω)|exp[iΔ(ω)]=Ic(ω)I(ω).
|H(ω)|=|F[h(t)]|=Re(ω)2+Im(ω)2.
|H(ω)|=|F[h(t)]|=|F{h(t)exp[iΔ0]}|=|F[h(tt0)]|.
tan[φ1(x,y)]=I1+I2I3I4I1I2I3+I4,  and tan[φ2(x,y)]=I2I4I1I3.
h1(t)=δ(t+3π/4)δ(t+π/4)δ(tπ/4)+δ(t3π/4)+i[δ(t+3π/4)+δ(t+π/4)δ(tπ/4)δ(t3π/4)]h2(t)=δ(tπ/2)δ(t+π/2)+i[δ(t)δ(t+π)].
Hr1(ω)=2cos(πω/4)2cos(3πω/4),Hi1(ω)=2i[sin(πω/4)+sin(3πω/4)]Hr2(ω)=2isin(πω/2),Hi2(ω)=1exp(iπω).
|H1(ω)|=2|H2(ω)|.
tan[φ(x,y)]=2(I2I4)I12I3+I5.
h(t)=δ(tπ)2δ(t)+δ(t+π)+i[2δ(tπ/2)2δ(t+π/2)].
Hr(ω)=F[δ(tπ)2δ(t)+δ(t+π)]=2+2cos(πω)Hi(ω)=F[2δ(tπ/2)2δ(t+π/2)]=4isin(πω/2).
h(t)exp[iΔ0]={δ(tπ)2δ(t)+δ(t+π)+i[2δ(tπ/2)2δ(t+π/2)]}exp[iΔ0].
2h(t)exp[iπ/4]=δ(tπ)+2δ(tπ/2)2δ(t)2δ(t+π/2)+δ(t+π)+i[δ(tπ)2δ(tπ/2)2δ(t)+2δ(t+π/2)+δ(t+π)].
tan[φ(x,y)+π/4]=I1+2I22I32I4+I5I12I22I3+2I4+I5.
2Hr(ω)=2+2cos(πω)4isin(πω/2),2Hi(ω)=22cos(πω)4isin(πω/2).
|H(ω)|=|2+2cos(πω)+4sin(πω/2)|.
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.