• No results found

Detection of pulsating flows in an ultrasonic flow meter

N/A
N/A
Protected

Academic year: 2021

Share "Detection of pulsating flows in an ultrasonic flow meter"

Copied!
9
0
0

Loading.... (view fulltext now)

Full text

(1)

Detection of pulsating flows in an ultrasonic

flow meter

J. Berrebi, J. van Deventer, J. Delsing, EISLAB,

Lule˚ aUniversity of Technology, Lule˚ a, Sweden,

www.eislab.sm.luth.se

Transit-time ultrasonic flowmeters present advantages for district heating ap- plications, since they are accurate, non-intrusive, and cheap. However, such flowmeters are sensitive to velocity profile variations since the flow rate is mea- sured in the volume area between two ultrasonic transducers. Ultrasonic flowme- ters are therefore sensitive to installation effects. Installation effects could be either static or dynamic. A pulsating flow is a dynamic installation effect. In the field, the diagnostic can only be performed with the measured flow rate. Flow measurements with and without pulsating flow have been recorded in a flow me- ter calibration facility. The detection of a pulsating flow can be made by using Hinich’s harmogram. It is possible to detect harmonics that emerge from the noise by using the harmogram.

B.1 Introduction

Inaccurate flow rate measurements represent a loss for the Swedish District Industry, whose turnover is about 17 billions Swedish crowns. A measurement error of 1 % generates an annual loss of 170 millions Swedish crowns [1]. The measurement error is in part due to the flowmeter present in every district heating substation.

77

(2)

Inaccurate flow rate measurements are mainly due to installation effects in the neighbourhood of the meter. It is especially true for ultrasonic flowmeters that are more and more used in district heating applications. Installation effects can be either static or dynamic. A pulsating flow generated by a pump is a dynamic installation effect. H˚ akansson and Delsing [2] have shown that a sampling error occurs when the meter samples the pulsations of the flow rate.

They have also shown that pulsations disturb the velocity profile. These changes have dramatic consequences on the flow rate estimation.

Carlander [3] has analysed the frequency spectrum of some pulsating flows.

The presence of harmonics in the spectrum led to a characterisation of a pul- sating flow. The detection of such harmonics constitutes a difficult problem of spectral analysis. The difficulty is that the frequency of the pulsations is a priori unknown.

When there is no pulsation in the flow, the measured flow rate is gaussian distributed. The power spectral density (P.S.D.) of this background noise follows then a well-known probability density distribution called χ 2 . A pulsating flow generates harmonics in the P.S.D. of the flow rate. If the power of the harmonic is sufficiently high, it emerges from the background noise. A harmonic and its frequency can then be detected as a deviation from the background noise in the spectrum.

B.2 Theory

B.2.1 Description of a pulsating flow

According to [2], a steady flow rate is the superposition of a constant flow u mean

and some variations ˜ u(t) around the mean flow rate:

u(t) = u mean + ˜ u(t). (B.1)

When pulsations are added to u(t) , the instantaneous flow velocity can be written as:

u(t) = u mean (1 + a · sin(2πf puls t)) + ˜ u(t), (B.2) where a is the amplitude of the pulsations of frequency f puls . The object to be detected is then the amplitude of the pulsations drawn in the noise. The constant flow u mean is useless for processing the signal. We can then focus on the signal v(t) that is the dynamic part of u(t):

v(t) = u mean · a · sin(2πf puls t) + ˜ u(t). (B.3)

B.2.2 Detection of the pulsation

The signal ˜ u(t) is supposed to be gaussian distributed. This assumption is

verified by applying a Jarque-B´ era test on ˜ u(t) [4]. Let S p (f ) be the estimation

(3)

of the power spectral density (P.S.D.) of ˜ u(t) via the periodogram on a certain time interval:

S p (f ) = | ˜ U (f )| 2 , (B.4) where ˜ U is the Fourier transform of ˜ u. Let S w (f ) be a previous and more accurate estimation of the P.S.D. via Welch’s method (averaged periodogram):

S w (f ) = 1

W · X

W intervals

| ˜ U (f )| 2 , (B.5)

where W is the length of the moving average used in the P.S.D. estimation via Welch’s method. As described in [5], the gaussian assumption implies that the ratio H(f ) = S S

p

(f )

w

(f ) (Hinich’s harmogram for detecting the presence of one harmonic only) follows a χ 2 distribution with two degrees of freedom. This quantity has then a high probability to vary within the interval [1 − W −1/2 , 1 + W −1/2 ]. An α-test level provides a threshold T α for the quantity H(f ). If max{H(f ), f ∈ [0, f s /2]} > T α (where f s is the sampling frequency), then a harmonic is detected. Pulsating flows not only generate harmonics in the P.S.D., but also increase the noise level. The background noise of a pulsating flow cannot be estimated alone (without harmonics). This constitutes a major problem, since a good estimation of the background noise is required to determine the value of the threshold T α function of the noise level.

B.3 Experimetal set-up

The flow meter calibration facility at Lule˚ aUniversity of Technology is used for recording the flow rate. The ultrasonic flow meter uses sing-around technique developed by D-Flow. It samples the flow rate at frequency f s = 111Hz. The geometry of the flow meter body is described in Fig.B.1. The diameters of the sound path and the pipe are both 10 mm. The flow range of the meter is between q i = 0.0036m 3 /hour ' 0.013m/s and q s = 3.6m3/hour ' 12.7m/s.

The measured flow rate is recorded for 30 different values (0.005m 3 /hour - 2.7m 3 /hour) with and without pulsations. The experimental set-up is described in Fig.B.2. In the first experiment, no pulsation is added. A long straight pipe is connected at the inlet of the flow meter. The diameter of the piping is 25.6 mm and its length is 110 times the diameter. It is then considered as the reference case. In the second experiment, a butterfly valve rotating at 130rpm generated pulsations added to the mean flow.

B.4 Results

The measurement error is plotted on Fig.B.3 and compared to the European

standard EN1434-1 requirements (class 2) [6]. According to the standard, the

ultrasonic flowmeter is suitable for class 2 requirements (maximum relative error

(4)

Figure B.1: The geometry of the D-Flow ultrasonic flow meter body.

Figure B.2: Top view of the experimental set-up.

(5)

Figure B.3: The flow meter accuracy with and without pulsating flow.

between 2% and 5%) in the reference case but not when pulsations appear in the flow. Pulsations generate sampling errors and errors due to velocity profile variations. The sampling error is to be neglected on Fig.B.3 since the error com- puted is not instantaneous, but avereged over 1000 samples. Instantaneously, the sampling error E s (t) is due to the sinusoidal component of the pulsating flow:

E s (t) = u mean · a · sin(2πf puls t). (B.6) Taking the average of E s (t) over time T gives:

1 T ·

Z T 0

E s = u mean · a · (1 − cos(2πf puls T ))

2πf puls T . (B.7)

The limit of the latter quantity is zero when T  1 \ f puls . Therefore, the integration over a long time interval of the flowmeter error cancels the sampling error. It is then mainly the error due to the velocity profile variations that is shown here[2]. The harmogram is first run on a mixed real-synthetic signal v(t) that is the sum of the reference flow rate’s background noise ˜ u REF (t) from the first experiment and a synthetic sinusoid of frequency f puls = 5Hz whose amplitude is 0.1 times the mean flow u REF mean :

v(t) = u REF mean · 0.1 · sin(2πf puls t) + ˜ u REF (t). (B.8)

The result is shown on Fig.B.4. The maximum amplitude of the harmogram is

below the threshold at 5Hz. A pulsating flow is then detected. Secondly, the

(6)

Figure B.4: Detection of a pulsating flow by Hinich’s harmogram (simulation).

harmogram is applied to a real pulsating flow obtained during the experiments.

The background noise level is then considerably increased. As we have seen ear- lier, the estimation of the background noise is required for detecting harmonics in the signal. It is done by replacing extremely large values in a previous P.S.D.

estimation by surrounding values. The results of the harmogram are shown in Fig.B.5. A fundamental and its harmonics are below the threshold T α around 9Hz, 18Hz and 27Hz. A pulsating flow is then detected.

B.5 Discussion

It is possible for a transit-time ultrasonic flowmeter to detect pulsating flows by the way of the harmogram. The detection at lower signal-to-noise ratios can be improved by using the whole harmonic structure of the P.S.D.. A remaining issue is the on-line estimation of the background noise.

B.6 Acknowledgement

This paper is part of a project financed by the Swedish District Heating Asso-

ciation (Fj¨ arrv¨ armef¨ oreningen). All experimental work have been conducted by

Dr. Carl Carlander.

(7)

Figure B.5: Detection of a pulsating flow by Hinich’s harmogram (real signal).

(8)
(9)

[1] Nilsson G., Ekstr¨ om G., Eliasson J., ”F¨ orb¨ attring av m¨ attnogrannhet f¨ or v¨ armem¨ atare”, G¨ oteborg Energi, April, 2001.

[2] H˚ akansson E. , Delsing J. , ”Effects of Pulsating Flow on an Ultrasonic Gas Flowmeter”, Lund Institute of Technology, Lund, Sweden, 1993.

[3] Carlander, Carl. Installation Effect and Self-Diagnostics for Ultrasonic Flow Measurement. Lule˚ a, Sweden: Lule˚ aUniversity of Technology, 2001.

[4] Hill, R.Carter and Griffiths, William E. and Judge, George G., Undergrad- uate Econometrics, Second edition, John Wiley and Sons, Inc, New York, N.Y., 2001, pp 138-139.

[5] Hinich M.J., Detecting a Hidden Periodic Signal When its Period is Un- known. IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-30, NO. 5, October, 1982.

[6] European Committee for Standardisation (CEN) and Swedish Standard Institution (SIS). Heat meters-part 1: General requirements. EN 1434-1, 1997.

85

References

Related documents

The best results were obtained for inferior-superior flow scanned with breath hold sequence and the head coil: all measurements but one fall within the confidence interval of the

- When preparing a pallet with material outside of the production line you’re in the forklift passage and pallets on shelf are not able to pull out at that position - Though

smallest pressure tube that allowed connection between the probe and the house. The last type setup was used to examine how the dimensions of the pressure tubes and how clogging of

The maximum output increase corresponds to the same line as for the minimum increase with an additional buffer after the welding machine of 30 parts and a tool change time set to

The change in standard deviation both with the filtered data, marked with (+) in figure 7, and with the differentiated data, marked with (o), showed up the largest increase in

The pulsating flow generated a large increase in the standard deviation compared to the reference case for flow rates with Reynolds numbers lower than 20 000.. The enlargement of

The sampling of the mean flow velocity is affected by the flow pulsations es- pecially when the time delay T s between the measurement of the upstream transit-time T up and

The adaptive algorithm has higher measurement accu- racy but a shorter battery life than traditional heat meters with flow dependent estimation frequency.... If flow>threshold