Professional Documents
Culture Documents
A PIV Algorithm For Estimating Time-Averaged Veloc
A PIV Algorithm For Estimating Time-Averaged Veloc
A PIV Algorithm For Estimating Time-Averaged Veloc
net/publication/251811883
CITATIONS READS
353 223
3 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Juan G Santiago on 05 March 2014.
ber density of particles that can be used to trace the flow. If the where X is the spatial coordinate in the image plane and s is the
particle density is too high, then background noise from out-of- spatial coordinate in the correlation plane.
focus particles will dominate the image and reduce the visibility R(s) can be decomposed into the following components
of in-focus particles. If the particle density is too low, then stan- R 共 s兲 ⫽R C 共 s兲 ⫹R P 共 s兲 ⫹R F 共 s兲 ⫹R D ⫺ 共 s兲 ⫹R D ⫹ 共 s兲 , (2)
dard cross correlation techniques will fail to provide an adequate
signal, causing the measurements to be noisy and sometimes where R C is the convolution of mean image intensity, R P is the
unreliable. pedestal component resulting from each particle image correlating
Since many of the low Reynolds number flows in microfluidic with itself, and R F is the fluctuating component resulting from the
devices are laminar and either steady or periodic, it is not neces- correlation between fluctuating image intensity with mean image
sary to determine instantaneous velocity information. For many of intensity 共Adrian 关2兴兲. The positive and negative displacement
these flows, it is sufficient to measure only the time-averaged or components are R D ⫹ and R D ⫺ , respectively.
phase-averaged velocity field. In principle, these flow fields can The signal used to measure displacement is contained only in
the R D ⫹ component. Consequently, contributions from all other
be measured using high-resolution pointwise techniques such as
components of the correlation function may bias the measure-
the dual beam laser Doppler anemometer 共LDA兲 system devel-
ments, add random noise to the measurements, or even cause er-
oped by Tieu, Machenzie and Li 关11兴. This LDA system uses low
roneous measurements. Therefore, it is desirable to reduce or
eliminate all the other components. If both exposures of a double-
Contributed by the Fluids Engineering Division for publication in the JOURNAL
OF FLUIDS ENGINEERING. Manuscript received by the Fluids Engineering Division
pulse particle image field are recorded separately as a double-
May 17, 1999; revised manuscript received February 2, 2000. Associate Technical frame image field, then the particle images can be interrogated
Editor: S. Banerjee. using cross correlation 共Keane and Adrian 关5兴兲. In the case of
Journal of Fluids Engineering Copyright © 2000 by ASME JUNE 2000, Vol. 122 Õ 285
Downloaded 27 Jul 2008 to 171.64.11.87. Redistribution subject to ASME license or copyright; see http://www.asme.org/terms/Terms_Use.cfm
double-frame cross correlation, the R P and R D ⫺ components do
not exist. Further improvements in signal quality can be obtained
by image processing. By subtracting the mean image intensity at
each interrogation spot before correlation, the R C and R F (s) com-
ponents are set identically to zero, leaving only the positive dis-
placement component, R D ⫹ , in the correlation function.
While the R D ⫹ component is commonly considered the signal
component, it contains both noise and signal information. In order
to make accurate measurements, the signal-to-noise ratio in the
R D ⫹ component must be sufficiently high. This paper presents a
method in which the signal-to-noise ratio can be increased when
one is interested in measuring average displacement fields.
冤 冥
ducing erroneous measurements when the signal to noise is low in A 1 B 1 ⫹A 1 B 2 ⫹A 1 B 3 ⫹¯⫹A 1 B N ⫹
the instantaneous correlation. In practice, the vector fields must be A 2 B 1 ⫹A 2 B 2 ⫹A 2 B 3 ⫹¯⫹A 2 B N ⫹
validated by identifying and removing erroneous velocity mea-
冕冕
A 3 B 1 ⫹A 3 B 2 ⫹A 3 B 3 ⫹¯⫹A 3 B N ⫹
surements 共Meinhart et al. 关12兴, Westerweel 关13兴兲. Without vector
validation, all the instantaneous measurements must be reliable in R AB 共 s 兲 ⫽ " " " d 2 X.
order to obtain a reliable average velocity measurement. For situ- " " "
ations where the particle image density is low, there may not be " " "
adequate signal to obtain valid measurements from the instanta- A N B 1 ⫹A N B 2 ⫹A N B 3 ⫹¯⫹A N B N
neous correlation functions. In these situations, the alternative (4)
methods described below may be employed.
Following the discussion in the previous section, if A and B
3.2 Average Image Method. In this method, the averaging represent paired single-exposure image fields separated by a
operation is applied directly on image fields A and B, and then known time interval, ⌬t, which are cross correlated, and if the
correlated to obtain R AB . This process is depicted graphically in mean image intensity is subtracted before correlation, then all N
Fig. 1共b兲. In the situation where particle image number density is ⫻N terms in 共4兲 are contained in the R D ⫹ component of R.
low, averaging the image fields together can increase the average Only the N diagonal terms in 共4兲 contribute to signal. The
number of particles per interrogation spot. However, excessive N(N⫺1) off diagonal terms represent random particle correlation
Downloaded 27 Jul 2008 to 171.64.11.87. Redistribution subject to ASME license or copyright; see http://www.asme.org/terms/Terms_Use.cfm
across different realizations, which produce noise in the correla- ing large numbers of realizations in the average. Since the average
tion function that can reduce the accuracy of the measurement and operator is applied to the correlation function before peak detec-
cause erroneous measurements. Since the off diagonal terms are tion, the probability of erroneous measurements is greatly
random and uniformly distributed throughout the correlation reduced.
plane, they may or may not contaminate the signal peak. The
number of noise terms increases as N 2 , while the number of signal 4 Application to Microchannel Flow
terms increases as N.
In demanding situations when particle-number density is low, The three different averaging algorithms were applied to a se-
or when small interrogation regions are chosen to produce high ries of particle image fields taken of steady Stokes’ water flow
spatial resolution, it may be impossible to obtain an adequate through a 30 m⫻300 m glass microchannel. Details of the
signal from instantaneous cross correlation analysis. Clearly, av- same experiment but for a different flow rate are discussed by
eraging the particle-image fields over several realizations and then Meinhart et al. 关10兴. The out of plane measurement resolution is
correlating can increase the signal-to-noise ratio. However, if the related to the depth of field of the microscope optics, and is esti-
number of realizations used in the average is beyond an optimal mated to be approximately 1.8 m. Based on the discussion of
number, the signal-to-noise ratio can be reduced by further in- Santiago et al. 关9兴, the error due to Brownian motion for a single
creases in N. Loss of signal occurs because the number of non- particle is estimated to be less than 3 percent full-scale error. The
diagonal 共noise兲 terms increases faster than the diagonal 共signal兲 interrogation spot size was 16⫻64 pixels and 24⫻72 pixels, for
terms. The optimal number of realizations depends upon many window 1 and window 2, respectively. The relative offset between
factors including, interrogation spot size, particle-image number the windows was adjusted adaptively to approximate the particle
density, and particle-image quality. image displacement at each measurement location. The interroga-
tion windows were chosen to be small and have a high aspect ratio
3.3 Average Correlation Method. A third method for esti- to achieve high spatial resolution in the wall-normal direction.
mating average displacement fields is to calculate instantaneous The signal-to-noise ratio from standard correlation techniques
correlation functions, average the correlation function, and then was relatively low, because there was an average of only 2.5
determine the location of the signal peak location. The Average particle images located in each 16⫻64 pixel interrogation win-
Correlation Method, is shown graphically in Fig. 1共c兲. The aver- dow. The signal-to-noise ratio could be improved by increasing
age of instantaneous correlation functions over N realizations can the size of the correlation windows, but with reduced spatial reso-
be written as lution. Alternatively, the particle concentration in the flow field
冕冕 冕冕
could be increased, but that would increase the number of out of
R̄ AB 共 s 兲 ⫽ A 共 X兲 B 共 X⫹s兲 d 2 X⫽ A 共 X兲 B 共 X⫹s兲 d 2 X. focus particles, and produce more background image noise.
Figure 3共a兲 shows an instantaneous velocity-vector field, calcu-
(5) lated using a standard cross correlation technique without any
Figure 2 shows several instantaneous correlation functions, and type of vector validation or smoothing applied to the field. The
an average correlation function calculated by averaging 20 instan- velocity measurements contained in the row closest to the wall are
taneous correlation functions. The instantaneous correlation func- not considered to be accurate, because part of their interrogation
tions are characteristic of micro-PIV data and were obtained from region lies outside the flow domain. The velocity measurements
an actual micro-PIV experiment. The instantaneous correlation are noisy, and approximately 20 percent appear to be erroneous.
functions contain significant amounts of noise that can lead to An average over 20 instantaneous velocity fields is shown in Fig.
inaccurate or unreliable measurements. This noise is substantially 3共b兲. Averaging reduces small random noise in the instantaneous
less in the average correlation function. fields. However, the large errors associated with the erroneous
Since the operations of averaging and integration commute, the measurements are not averaged out quickly. The application of
average operator can be taken inside of the integral so that vector validation algorithms can usually eliminate errors due to
冕冕
erroneous measurements producing accurate velocity measure-
R̄ AB 共 s兲 ⫽ 关 A 1 B 1 ⫹A 2 B 2 ⫹A 3 B 3 ⫹¯⫹A N B N 兴 d 2 X. (6) ments, however a priori knowledge of the flow field is required.
The same series of double-frame particle image fields were cor-
From 共6兲, the average correlation function contains only the related, the correlation functions were averaged, and then the lo-
diagonal 共i.e., signal兲 terms of 共4兲. Therefore, this type of average cations of the signal peaks in the correlation plane were deter-
produces a much higher signal-to-noise ratio than the alternative mined, following the average correlation method depicted in Fig.
methods that have been discussed previously. The number of sig- 1共c兲. The resulting velocity-vector field is shown in Fig. 3共c兲. No
nal terms increases linearly with the number of realizations, N. vector validation or smoothing has been applied to this field. The
Unlike the average image method, there is no penalty for includ- field contains only 0.5–1 percent erroneous measurements and has
less noise than the vector fields shown in Figs. 3共a兲 and 3共b兲.
The relative performance of the three averaging algorithms was
quantitatively compared by varying the number of realizations
used in the average, from one to twenty. The fraction of valid
measurements for each average was determined by identifying the
number of velocity measurements in which the streamwise com-
ponent of velocity deviated by more than 10 percent from the
known solution at each point. For this comparison, the known
solution was the velocity vector field estimated by applying the
average correlation technique to 20 realizations, and then smooth-
ing the flow field.
Figure 4 shows the fraction of valid measurements for each of
the three algorithms as a function of the number of realizations
used in the average. The average correlation method better than
performs the other two methods, and produces less than 0.5–1
Fig. 2 Instantaneous cross correlation functions that are av- percent erroneous measurements after averaging eight realiza-
eraged together to produce an average correlation function. tions. The average image method produces about 95 percent reli-
The average correlation function has a much higher signal-to- able velocity measurements, and reaches a maximum at four av-
noise ratio than the instantaneous correlation functions. erages. Further increases in the number of realizations used to
Downloaded 27 Jul 2008 to 171.64.11.87. Redistribution subject to ASME license or copyright; see http://www.asme.org/terms/Terms_Use.cfm
Fig. 4 Comparison of the performance of the three averaging
techniques: average velocity 䊉, average image 䊏, and average
correlation 䉲
Conclusions
Three PIV algorithms are compared for estimated time-
averaged velocity fields. The process of obtaining PIV measure-
ments involves three primary steps: 共1兲 particle image acquisition,
共2兲 particle image correlation, and 共3兲 correlation peak detection.
In order to obtain average velocity fields, an averaging operator
must be applied to the data. When signal strength is sufficient, the
average can be applied after steps 1, 2, or 3. However, in demand-
ing situations when signal strength is weak, the order in which the
average operator is applied is important. The correlation and peak
detection operators are nonlinear and do not commute with the
average operator. Optimal signal strength can be achieved by first
calculating instantaneous correlation functions, and then averag-
ing the correlation functions before locating the signal peak.
The theoretical observations were confirmed by applying the
three different algorithms to experimental particle image data
from a 30 m⫻300 m microchannel flow. The results showed
that, by averaging instantaneous correlation functions before sig-
nal peak detection, high quality velocity data can be obtained with
less than 0.5–1 percent erroneous measurements, even when only
an average of 2.5 particle images were contained in a single in-
terrogation spot.
Acknowledgments
This research is supported by AFOSR/DARPA F49620-97-1-
0515, DARPA F33615-98-1-2853, and JPL/NASA 961270.
References
关1兴 Adrian, R. J., and Yao, C. S., 1985, ‘‘Pulsed laser technique application to
liquid and gaseous flows and the scattering power of seed materials,’’ Appl.
Opt., 24, No. 1, pp. 44–52.
关2兴 Adrian, R. J., 1988, ‘‘Double Exposure, Multiple-field particle image veloci-
Fig. 3 Velocity vector fields showing the results from the dif- metry for turbulent probability density,’’ Opt. Lasers Eng., 9, pp. 211–228.
ferent methods of calculation: „a… instantaneous velocity field, 关3兴 Adrian, R. J., 1991, ‘‘Particle-imaging techniques for experimental fluid me-
chanics,’’ Annu. Rev. Fluid Mech., 23, pp. 261–304.
„b… time average of twenty instantaneous velocity fields, „c… ve- 关4兴 Keane, R. D., and Adrian, R. J., 1991, ‘‘Optimization of particle image ve-
locity field calculated from time-averaged correlation functions locimeters. II. Multiple pulsed systems,’’ Meas. Sci. Technol., 2, No. 10, Oct.,
pp. 963–974.
关5兴 Keane, R. D., and Adrian, R. J., 1992, ‘‘Theory of cross-correlation analysis of
average the images decreases the signal to noise of the average PIV images,’’ Appl. Sci. Res., 49, pp. 191–215.
关6兴 Westerweel, J., 1997, ‘‘Fundamentals of digital particle image velocimetry,’’
particle-image field, and produces noise in the correlation plane Meas. Sci. Technol., 8, pp. 1379–1392.
due to random correlation between nonpaired particle images. The 关7兴 Westerweel, J., Draad, A. A., van der Hoeven, J. G. Th., and van Oord, J.,
average velocity method reaches a maximum of 88 percent reli- 1996, ‘‘Measurement of fully developed turbulent pipe flow with digital PIV,’’
able measurements using two velocity averages. Further increases Exp. Fluids, 20, pp. 165–177.
关8兴 Meinhart, C. D., and Adrian, R. J., 1995, ‘‘On the existence of uniform mo-
in the number of averages decreases the number of reliable mea- mentum zones in a turbulent boundary layer,’’ Phys. Fluids, 7, No. 4, pp.
surements, due to an increase in the probability of an encountering 694–696.
an erroneous measurement. 关9兴 Santiago, J. G., Wereley, S. T., Meinhart, C. D., Beebe, D. J., and Adrian, R.
Downloaded 27 Jul 2008 to 171.64.11.87. Redistribution subject to ASME license or copyright; see http://www.asme.org/terms/Terms_Use.cfm
J., 1998, ‘‘A micro particle image velocimetry system,’’ Exp. Fluids, 25, No. 关12兴 Meinhart, C. D., Barnhart, D. H., and Adrian, R. J., 1994, ‘‘Interrogation and
4, pp. 316–319. validation of three-dimensional vector fields,’’ Developments in Laser Tech-
关10兴 Meinhart, C. D., Wereley, S. T., and Santiago, J. G., ‘‘PIV measurements of a niques and Applications to Fluid Mechanics, R. J. Adrian et al., eds.,
microchannel flow,’’ Exp. Fluids, 27, pp. 414–419. Springer-Verlag, Berlin, pp. 379–391.
关11兴 Tieu, A. K., Mackenzie, M. R., and Li, E. B., 1995, ‘‘Measurements in mi- 关13兴 Westerweel, J., 1993, ‘‘Efficient detection of spurious vectors in particle image
croscopic flow with a solid-state LDA,’’ Exp. Fluids, 19, pp. 293–294. velocimetry data,’’ Exp. Fluids, 16, pp. 236–247.
Downloaded 27 Jul 2008 to 171.64.11.87. Redistribution subject to ASME license or copyright; see http://www.asme.org/terms/Terms_Use.cfm
View publication stats