Professional Documents
Culture Documents
High Accuracy Time of Flight Measurement For Ultrasonic Anemometer Applications
High Accuracy Time of Flight Measurement For Ultrasonic Anemometer Applications
High Accuracy Time of Flight Measurement For Ultrasonic Anemometer Applications
I. INTRODUCTION
Sensors are piezoelectric transducers which can be used as
U LTRASONIC SENSORS are ideal candidates for modern
anemometer applications due to its low cost and simple
construction, they show great accuracy especially at low
either transmitters or receivers. One whole measuring cycle
combines two time of flight measurement. Sensor A sends a
short train of pluses, sensor B captures and the time of flight is
wind speed situation, can operate with very short measurement
denoted by , next sensor B sends and sensor A captures, the
intervals while still provide inertia free results, and they are
time of flight is denoted by , they are given by:
robust to be used in variety environments where other sensors
may fail [1].
Ultrasonic anemometers mainly operate based on the pulse =
(1)
detection technique, which requires a pair of ultrasonic +
transducers: a transmitter and a receiver. When the measuring
operation cycle starts, the transmitter send a short train of waves, =
(2)
which will propagated to the receiver through air flow. After
the receiver capture the wave signal, The time of flight (T.o.F)
of the transmitted signal waveform is determined, the time of
flight is used for wind speed calculation. Where:
C = Sound speed in still air (m/s)
II. MEASUREMENT PRINCIPLE V = Wind velocity (m/s)
L = Propagation path length (m).
The speed of sound propagation in flowing air is composed X = Distance between the sensors (m)
by the velocity of the air-flow in wind direction and the velocity
of sound in still air. Therefore different wind velocities and Write (1) and (2) as below:
directions over a fixed measurement path lead to different
propagation times [2].
To get the angle information of the wind, usually + = (3)
measurements on several vertical direction are carried out and
the results are composed into a wind speed vector, the angle of = (4)
the vector can be calculated with arctangent function.
The
in equation (7) is the average time of flight in still air:
= (8)
= (10) flow, After the pluses are captured, the signal is selected by
2 multiplexer and get amplified, finally the microcontroller’s
high speed analog-digital-converter sampling the signal and
Repeat this measurement on vertical direction can give us process the samples.
vector result, two dimensional anemometer’s structure is given Fig.4 show the data sampled by microcontroller, the
by Fig.2: sampling window starts after the first fire pluses are sent with a
The wind speed of north-south is denoted by , While Fig. 4: data sampled by microcontroller
62
constant delay to skip the unnecessary samples. Note that we Where:
adjust the amplifier circuit characteristic to emphasize positive &[] is the area of n-th forward wave half cycle
half cycle of signal. &" [] is the area of n-th reversed wave half cycle
As discussed before, the difference of two time of flight 7 is the half cycles matching limit
( ) is the key to solve wind speed, in order to calculate
the difference precisely, a software process is carried out to Calculate #($) for each $ from 0 to 7 , and find m
compare forward and reversed signal samples and find the correspond to the smallest #($), the m is the matched cycles’
precise delay between them, Fig.4 show the software procedure. interval between two waves, the smallest value of #($) is also
The first step is similar to threshold crossing process, a used to verify matching result, if #($)- is larger than a given
threshold is set to eliminate small noises and wipe all the threshold, the matching is failed and the correspond samples are
negative half-cycle: discarded.
After each cycle is matched, Centers of each cycle are
[], [] < determined by equation (16):
[] = (13)
[] , [] !
8*-/9( ['] ')
" [], " [] < ($) = (15)
" [] = (14) 8*-/9 [']
" [] , " [] !
Where: Where:
[] is the n-th sample of forward signal ['] is the n-th value of wave half cycle
" [] is the n-th sample of reversed signal : is the start number of m-th cycle
is the threshold value 7 is the end number of m-th cycle
[] and " [] are the correspond n-th value after ($) is the precise center of m-th cycle.
threshold processing
n = 0, 1, 2……max sample number Repeat above method on " [] , Centers of each cycle in
reversed wave " ($) can be determined.
After threshold processing, several waves’ positive cycles The last step of time of flight difference calculation is
average all the cycles’ center difference:
can be isolated from [] and " [], positive cycles at the
beginning of two signals are possible not correspond to each
other due to noise [5], Fig.5 show the situation: 8*-/;(" (') ('))
= (15)
8*-/; '
Where:
7 is the limit of m, the max matched cycles number.
63
V. RESULTS AND PERFORMANCE ANALYSIS The ideal resolution is 0.7588 m/s for no weighting algorithm
processing.
A. Test Results
Under situation where signal-to-noise ratio is higher than
New processing method is proven to be more accurate and 20dB. Every half cycle of measuring wave contain no less than
stable, Fig.7 is the test result in comparison to threshold 20 samples, Weighting algorithm can easily increase time
crossing method. resolution to higher than 0.05u/s, An ideal resolution of
0.076m/s can be achieved.
B. Accuracy
From equation (6) we can see the sound speed (C) is cancelled
already. Since C is the only factor affected by temperature, now
the result should be immune to temperature changes. But in
practical situation equation (10) would be a much better choice
because and are not easily measured precisely,
Received wave gradually increased because the mechanical
characteristics of the piezoelectric material in the sensors. Since
the beginning of received wave crest can’t be decide, by
matching crest by area we can measure TOF difference reliably.
Because C is a temperature sensitive variable, The linear
evaluation algorithm brings error into result.
Thus the accuracy is closely related to the environment
temperature and can’t be cancelled.
Other inaccuracy including machining error, sensor
mechanical characteristic differences, etc.
In experiment condition, after calibration, system’s overall
accuracy can reach a level with error less than ± 2%.
VI. CONCLUSION
Ultrasonic wind anemometer show its unique advantages in
wide range of industrial applications. This article describes the
Fig. 6: experiment results comparing to threshold process (512 samples)
basic principle of the ultrasonic air flow velocity measurement.
By combine hardware circuit control and improving signal
Both results are based on collections of single measured and propagation time measurement method, the stability and
no filtered result, all conditions (temperature, circuit SNR and accuracy of the ultrasonic anemometer are improved, The
wind tunnel system) are equal. Actual wind speed are measure experimental data also prove new processing method compared
with hot-wire anemometry [6]. to the traditional threshold crossing method, the accuracy and
Resolution stability of single measurement are greatly improved. In lab
condition the resolution of single measurement can reach
When calculating the center position of each of the peaks, 0.05m/s with error less than ± 2%, if clustering and filtering are
weighting algorithm was used. This greatly improve the added, the accuracy can higher.
resolution.
If we don’t use weighting algorithm, the difference between REFERENCES
TOF is counted using sampling point delay as unit. So we can
[1] D. G. Tucker and B. K. Gazy, “Applied Underwater Acoustics,”
easily get an analysis of resolution based on that: Pergmon Press Ltd., Oxford, 1966.
Sampling rate equals 2MSa/s, each sampling point delay [2] M.P. del Valle, J.A.U Castelan, Y. Matsumoto, R.C. Mateos, “Low
0.5us, if no weighting algorithm, the ideal time resolution of Cost Ultrasonic Anemometer”, Electrical and Electronics Engineering,
TOF difference is 0.5us. 2007. ICEEE 2007. 4th International Conference
[3] Kousuke Kudo, Koichi Mizutani and Kazuya Itoga, “A Simple
From equation (2-3) we can get: Technique for Realizing an Ultrasonic Anemometer Using a
Loudspeaker”, Japanese Journal of Applied Physics, Vol. 44, No. 6B,
> (331.5 + 0.6)
2005, pp. 4407-4410
> = (13) [4] V.P. Yushkov, M.A. Kallistratova, P.D. Kuznetsov, G A.Kurbatov, V.F.
2 Kramar, "Experience in measuring the windvelocity profile in an urban
environment with a Doppler sodar",published in Izvestiya AN. Fizika
Atmosfery i Okeana, Vol. 43, No. 2, 2007, pp. 193-205.
Take X = 80mm, T = 20°C, substitution > with 0.5us, we can [5] Muhammad Ashraf, Hamza Qayyum1, High Accuracy Time of Flight
get: Measurement Using Digital Signal Processing Techniques for Subsea
Applications, Journal of Signal and Information Processing, 2011, 2,
330-335
> = 0.7588 (m/s) (14) [6] G. Comte-Bellot, Hot-Wire Anemometry, Annual Review of Fluid
Mechanics, Vol. 8: 209-231, 1976
64