Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND DEVICES USED IN FLOW MEASUREMENT
Document Type and Number:
WIPO Patent Application WO/1996/037758
Kind Code:
A1
Abstract:
In flow measurement, a measurement signal essentially representing the instantaneous flow rate is determined with the aid of a flow transducer (2) in a flowmeter (1). In order to check whether the flowmeter measures correctly or not, the noise in the measurement signal from the transducer (2) is analysed. To be more specific, one or more distribution values for the measurement signal are determined and compared with predetermined reference values that have been determined for the operating conditions for which the flow transducer is intended. If this comparison reveals that the existing operating conditions differ from those for which the flowmeter is intended, a frequency spectrum for the measurement signal may be determined and compared with reference spectra that have been determined for various known operating conditions, thereby to identify the existing operating conditions. If these are identified, the function of the flowmeter may be corrected on line with the aid of predetermined correction data.

Inventors:
DELSING JERKER (SE)
Application Number:
PCT/SE1996/000661
Publication Date:
November 28, 1996
Filing Date:
May 22, 1996
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DELSING JERKER (SE)
International Classes:
G01F1/66; G01F1/00; G01F25/00; (IPC1-7): G01F25/00
Domestic Patent References:
WO1991010882A11991-07-25
Foreign References:
US3992680A1976-11-16
EP0521448A21993-01-07
DE2410407A11975-09-18
DE3030851A11982-03-11
EP0219725A11987-04-29
DE4205635A11993-08-26
Other References:
DERWENT'S ABSTRACT, No. 94-143344/17, Week 9417; & SU,A,1 797 695 (ARZAMAS IMPULS EXPER CONSTR BUR), 23 February 1993.
Download PDF:
Claims:
CLAIMS
1. A method used in the measurement of a fluid flow, wherein a measurement signal essentially representing the instantaneous fluid flow is determined with the aid of a flow transducer (2) in a flowmeter (1), ch a r a c ¬ t e r i s e d in that the amplitude variations of the measurement signal are determined for at least one pre determined period of time, and that the thusdetermined amplitude variations are compared with predetermined reference amplitude variations in order to detect whether the existing flow conditions for the flow transducer (2) differ from those for which the flow transducer is intended, thereby to decide whether the flowmeter (1) measures correctly or not.
2. A method as claimed in claim 1, c h a r a c ¬ t e r i s e d in that, when it has been detected that the existing flow conditions differ from those for which the flowmeter is intended, the thusdetermined amplitude variations are compared with a plurality of other pre¬ determined reference amplitude variations, each of which has been determined for specific flow conditions, thereby to identify the existing flow conditions.
3. A method as claimed in claim 1 or 2, c h a r ¬ a c t e r i s e d in that the determination of the ampli¬ tude variations of the measurement signal comprises the determination of a distribution value for the amplitude of the measurement signal.
4. A method as claimed in claim 1, c h a r a c ¬ t e r i s e d in that, when it has been detected that the existing flow conditions differ from those for which the flowmeter is intended, the frequency components of the measurement signal are determined for a predetermined period of time and compared with a plurality of sets of reference frequency components, each of which has been determined for specific flow conditions, thereby to iden¬ tify the existing flow conditions.
5. A method used in the measurement of a fluid flow, wherein a measurement signal essentially representing the instantaneous fluid flow is determined with the aid of a flow transducer (2) in a flowmeter (1), c h a r a c ¬ t e r i s e d in that the frequency components of the measurement signal are determined for at least one pre¬ determined period of time, and that the thusdetermined frequency components are compared with at least a first set of predetermined reference frequency components in order to detect whether the existing flow conditions for the flow transducer (2) differ from those for which the flow transducer is intended, thereby to decide whether the flowmeter (1) measures correctly or not.
6. A method as claimed in claim 1, c h a r a c ¬ t e r i s e d in that, when it has been detected that the existing flow conditions differ from those for which the flowmeter is intended, the thusdetermined frequency com ponents are compared with a plurality of other sets of predetermined reference frequency components, each of which has been determined for specific flow conditions, thereby to identify the existing flow conditions.
7. A method as claimed in any one of claims 46, c h a r a c t e r i s e d in that the determination of the frequency components of the measurement signal comprises the determination of a frequency spectrum for the mea¬ surement signal.
8. A method as claimed in any one of claims 46, c h a r a c t e r i s e d in that the determination of the frequency components of the measurement signal comprises the determination of a power spectrum for the measurement signal.
9. A method as claimed in any one of the preceding claims, ch a r a c t e r i s e d in that, when it has been detected that the existing flow conditions differ from those for which the flowmeter is intended, the flow meter is corrected with the aid of predetermined correc¬ tion information.
10. A device (1) for measuring fluid flows, compris¬ ing a flow transducer (2) which is adapted to emit a mea surement signal essentially representing the instantaneous flow, c h a r a c t e r i s e d by means (4) for determining the amplitude variations of the mea¬ surement signal; a memory (5) in which is stored at least one set of reference amplitude variations that have been determined for the flow conditions for which the flow transducer (2) is intended; and means (4) for comparing the amplitude variations of the measurement signal with said at least one set of reference amplitude variations in order to detect whether the existing flow conditions for the flow transducer (2) differ from those for which the flow transducer is intended, thereby to decide whether the device measures correctly or not.
11. A device as claimed in claim 10, c h a r a c ¬ t e r i s e d in that the means (4) for determining the amplitude variations of the measurement signal comprise means for determining a distribution value for the ampli¬ tude of the measurement signal from the flow transducer.
12. A device (1) for measuring fluid flows, compris¬ ing a flow transducer (2) which is adapted to emit a mea surement signal essentially representing the instanta¬ neous flow, c h a r a c t e r i s e d by means (4) for determining the frequency components of the measurement signal; a memory (5) in which is stored at least one set of reference frequency components that have been deter mined for the flow conditions for which the flow trans¬ ducer (2) is intended; and means (4) for comparing the frequency components of the measurement signal with said at least one set of reference frequency components in order to detect whether the existing flow conditions for the flow transducer (2) differ from those for which the flow transducer is intended, thereby to decide whether the device measures correctly or not.
13. A device as claimed in claim 12, c h a r a c ¬ t e r i s e d in that the means (4) for determining the frequency components of the measurement signal comprise means for determining a frequency spectrum for the mea surement signal.
14. A device as claimed in any one of claims 1013, c h a r a c t e r i s e d in that there are stored in the memory (5) a plurality of sets of reference values which have been measured for different specific flow condi tions, as well as correction data for correcting the device upon detection of specific operating conditions differing from those for which the flow transducer is intended.
Description:
Method and devices used in flow measurement

Field of the Invention

This invention relates to methods used in the mea¬ surement of a fluid flow, wherein a measurement signal essentially representing the instantaneous fluid flow is determined with the aid of a flowmeter. The invention further concerns devices for flow measurement. Background of the Invention

The prior art encompasses various sorts of flow- meters which are built on different physical principles. Fluid flows may, for instance, be determined by measuring the pressure drop with the aid of an obstruction meter, measuring the vertical position of a suspended body with the aid of a rotameter, or measuring the transit time of an ultrasonic pulse through the fluid flow with the aid of an ultrasonic meter.

As a rule, a flowmeter contains a transducer emit¬ ting a measurement signal which essentially, in view of the method of measurement employed, represents the in¬ stantaneous flow rate affecting the transducer, as well as electronics for filtering the measurement signal and converting it to a flow output signal, which is adapted to a receiving unit, for instance a control system, and which often consists of an average value of the instantaneous flow rate for a certain period of time. A common feature of most flowmeters is their sen¬ sitivity to the character of the fluid flow whose flow rate is to be measured, such that the output signal from the flowmeter is altered if the character of the fluid flow is altered, in spite of the fact that the flow rate remains the same. This phenomenon is often labelled "in¬ stallation effects".

One distinguishes between static and dynamic instal¬ lation effects. Thus, static installation effects are due to time-independent alterations of the flow profile, for

instance caused by T-pipes, step-like diameter changes, tube bends or valves.

Dynamic installation effects, on the other hand, are due to time-dependent alterations of the fluid flow whose flow rate is to be measured. These time-dependent altera¬ tions, which for instance may consist of flow pulsations, are created by active components, such as pumps, compres¬ sors and rapid control valves. If, in a pulsating flow, the flowmeter averages the instantaneous flow rate during a period of time much exceeding the pulsation period, in¬ correct measurement results may be obtained.

Flowmeters are calibrated for a given flow profile, namely the fully developed flow profile obtained when an incompressible fluid has flown through a straight, cir- cular conduit of a certain length. However, a real-life installation often differs from the calibration instal¬ lation. As a result, the flowmeter may measure a flow having a flow profile other than the one for which it is intended or calibrated, which thus may result in an in- correct output signal from the flowmeter.

Furthermore, the flowmeter is calibrated for a cer¬ tain flow-rate range, and it goes without saying that the flowmeter may emit an incorrect output signal if the mea¬ sured flow rate is outside the calibrated range. Moreover, certain types of flowmeters normally sample at a fixed sampling frequency. If the fluid flow pulsates, an unsuitable sampling frequency may lead to aliasing effects, such that an incorrect output signal is obtained. Unless it is detected that the flowmeter measures incorrectly, the incorrect flow-rate values may lead to, for example, incorrect debiting in district heating sys¬ tems, incorrect regulations in the process industry or incorrect dosages when mixing medicine or food. It is thus of the utmost importance that a flowmeter measures correctly or that one at the very least is able to find out whether it does so or not.

The installation effect problem being well known since long back, considerable efforts have been made to solve this problem.

One way of solving this problem, or at least reduc- ing it, is to condition the flow such that a fully deve¬ loped flow profile is obtained at the flowmeter. This may, for instance, be done by arranging a straight tube of constant diameter in front of the flowmeter, which however is not always possible from considerations of space, or by arranging a so-called "flow straightener" in front of the flowmeter. However, such a device intro¬ duces a pressure drop into the system, which is not always acceptable. If there are pulsations in the flow, these may further be reduced by the introduction of a damper.

Another way of solving the installation effect prob¬ lem is by calibrating the flowmeter in situ or simulating the existing flow conditions. Should, however, the flow conditions be altered after the calibration, for instance as a result of changes in the system or changes in the function of a component, there is nevertheless a risk that the flowmeter will yield incorrect measurement values. In addition, it is not always possible to perform in-situ calibration, and this is at all events a time- consuming and expensive operation. Summary of the Invention

One object of this invention thus is to provide a method and a device making it possible to solve the in¬ stallation effect problem, or at least reduce it. Another object of the invention is to provide a method and a device making it possible to obtain, in operation, an indication of when the flowmeter measures incorrectly.

Yet another object of the invention is to provide a method and a device making it possible to identify the causes of incorrect flowmeter measurements, when such are detected.

A further object of the invention is to provide a method and a device making it possible, upon detection of incorrect flowmeter measurements, to correct the error without putting the flowmeter out of operation. According to the invention, these objects are achieved by methods and devices having the distinctive features recited in the appended claims.

To be more specific, the invention is based on the insight that the noise in the measurement signal from a flowmeter contains information that may be used in order to decide whether the meter measures correctly or not and, should the occasion arise, identify the cause of in¬ correct measurement.

The instantaneous flow rate measured by the flow- meter may be written as: v(t) = v + v', wherein v is the average flow rate constituting the output signal from the flowmeter, and v' is the noise normally simply filtered off in the flowmeter, the noise being thus defined as the deviation of the measurement signal v(t) from the average flow rate. By analysing the frequency components of the measurement signal and/or its amplitude variations, one may, however, in accordance with the invention obtain an indication of whether the meter measures correctly or not. Thus, it has been found that an alteration of the flow conditions for the flowmeter, for instance an alter¬ ed installation leading to an altered flow profile, in relation to the flow conditions for which the flowmeter is calibrated, results in an alteration of the level and/ or the spectral composition of the noise in the measure¬ ment signal from the transducer in the flowmeter. By com¬ paring the current noise with a reference noise that has been determined for the flow conditions for which the flowmeter is calibrated or intended, one may thus obtain an indication of whether the meter measures correctly or not.

Accordingly, one way of analysing the noise is to determine the amplitude variations of the measurement signal for at least one predetermined period of time and to compare these amplitude variations with reference amplitude variations that have been determined in a simi¬ lar manner. Suitably, the amplitude variations can be determined by the determination of a distribution value, for instance the standard deviation, of the amplitude of the measurement signal. If this distribution value dif- fers from a reference distribution value which has been determined in similar fashion when the flowmeter ope¬ rates under the conditions for which it is calibrated, for instance with a fully developed flow profile, or by simulation, this is an indication that the existing flow conditions differ from the reference flow conditions and that the flowmeter may thus yield an incorrect flow out¬ put signal. An increase, as well as a decrease, in the noise may be an indication of altered flow conditions. The current distribution value is therefore preferably compared with both an upper and a lower limit for what may be regarded as "normal" distribution under the flow conditions under which the flowmeter is intended to ope¬ rate. Alternatively, the amplitude variations of the mea¬ surement signal may be determined by studying the time derivative of the amplitude of the measurement signal. Other values reflecting the amplitude variations of the measurement signal may, of course, also be used.

Another way of analysing the noise is to determine the frequency components of the measurement signal for at least one predetermined period of time. One suitable way of doing this is to determine a frequency spectrum, which advantageously can be done with the aid of Fast Fourier Transform (FFT) technique. Alternatively, a power spec¬ trum may be determined. A simpler alternative would be to determine the standard deviation for a plurality of time periods of different length. Naturally, one may also resort to other methods yielding an indication of the

frequency content of the noise. It goes without saying that the reference frequency components are determined in a manner similar to that of the frequency components of the measurement signal. By analysing the noise, in particular its frequency spectrum, one may further identify different causes that there has been an error. If the cause of any incorrect measurement of the flowmeter can be identified, it will also be possible to automatically correct the errors, for instance with the aid of predetermined correction data stored in the flowmeter. The correction may, for example, be a correction of the measurement signal from the flow transducer, a correction of the output signal from the flowmeter or a correction of the function of the flowmeter, for instance an alteration of the sampling rate. Brief Description of the Figures

In the following, an embodiment of the invention will be described in more detail with reference to the accompanying drawings in which

Fig. 1 is a block diagram illustrating a flowmeter for implementing the method according to the invention;

Fig. 2 is a flow chart illustrating a first mode of implementation of the method according to the invention; Fig. 3 is a flow chart illustrating a second mode of implementation of the method according to the invention; and

Figs 4-9 are diagrams illustrating the standard deviation for the measurement signal from a flow trans- ducer as a function of Reynolds' number for various flow conditions for the flow transducer. Description of Preferred Embodiments

The method according to the invention may be imple¬ mented with all sorts of flowmeters. Thus, Fig. 1 sche- matically illustrates how a flowmeter for implementing the inventive method may be constructed. The flowmeter, which is generally designated 1, chiefly comprises a

transducer 2, a signal-processing unit 3 and a control unit 4 with an associated memory 5. The transducer 2 and the signal-processing unit 3 can be made up of a conven¬ tional flowmeter, while the control unit 4 with its asso- ciated memory 5 constitutes a supplementary device which is used for implementing the inventive method.

As is schematically indicated with the aid of the arrows F, the transducer 2 is affected by the flow rate to be measured. The transducer may be in physical contact with the fluid flow, but need not be so.

The transducer 2 may be any type of transducer cap¬ able of emitting an output signal which essentially and in real time represents the instantaneous flow rate that affects the transducer in a way determined by the method of measurement employed. The output signal, which may be analog or digital, must have a time resolution that is relevant to the fluid-mechanic phenomena to which the transducer is exposed.

Many flowmeters that are available on today's market have a pulse output or an analog output, on which is available the above-mentioned transducer signal. A speci¬ fic example is the turbine flowmeter FT8-8AEEI-GAE-I from Flow Technology Inc. This meter, which is intended for gas, has a pulse output on which is obtained a pulse sig- nal, in which each pulse corresponds to the detection of a passing turbine blade. Another specific example is the one-jet fan wheel meter SVMV 444 S, which is intended for liquid and is manufactured by AB Svensk Varmematning, Sweden. The signal-processing unit 3, which is connected to the transducer 2, preferably contains a microcomputer with software for processing the signals from the trans¬ ducer in a suitable fashion. The software should, for instance, filter and/or calculate the average of the measurement signal from the transducer in order to achieve a flow output signal representing the measured flow rate in the form of a voltage or a current, or in

some other suitable fashion represents the flow rate, on an output 6 from the flowmeter. The signal-processing unit 3 is encompassed by the prior art and will therefore not be described in any more detail here. For more information on the construction of prior-art flowmeters, reference is instead had to reference literature in this field, such as Flow Measurement, O.W. Spitzer, Ed. ISBN 1-55617-334-2, ISA 1991 or Flow Measurement Engineering Handbook, Miller R.W., 2nd Ed., McGraw-Hill Publ. 1989. The control unit 4, which has an input from the transducer 2, an output to the signal-processing unit 3 and an alarm output 7, is preferably made up of a com¬ puter having software for determining the amplitude variations and frequency components of the measurement signal from the transducer 2. The software may consist of commercially-available programs, such as Matlab from Matworks Inc., the US or NAG, Fortran Library from Numerical Algorithms Group LTD, Great Britain.

In the memory 5 associated with the control unit 4, there is stored reference noise in the form of reference amplitude variations and reference frequency components, which have been measured for specific flow conditions, as well as correction data used for deciding whether the meter measures correctly and to carry out any corrections needed. The memory 5 may, for example, be of read-memory type. Instead of storing reference noise in advance, one may store reference noise when installing the flowmeter, such that the reference noise is the noise occurring under the flow conditions prevailing during the installa- tion.

In a simpler mode of implementation of the inven¬ tion, which is exemplified in Fig. 2, the noise is ana¬ lysed with a view to detecting whether the meter measures incorrectly, in which case an alarm is given. In a more advanced mode of implementation, which is exemplified in Fig. 3, the error is, in addition, identified and cor¬ rected.

In a first step 21 of the mode of implementation illustrated in Fig. 2, the transducer 2 measures the instantaneous flow rate continuously or samples it a great many times during a period of time T, resulting in a high time resolution. How high the sampling frequency needs to be is determined by the application at issue. In general, the sampling frequency should be twice as high as the frequency for major changes in the flow amplitude. As expressed in figures, the sampling frequency should normally be in the range of 0.01 Hz-10 kHz.

The transducer 2 need not determine the instanta¬ neous flow rate with an equally high time resolution all the time, but it is sufficient that a high time resolu¬ tion is used when the meter is to be checked, which may be done intermittently. In normal operation with no con¬ trol of the function of the flowmeter, the measurement signal from the transducer 2 is transmitted directly to the signal-processing unit 3, whereas during the control procedure, the measurement signal from the transducer 2 passes the control unit 4 before arriving at the signal- processing unit 3.

In order to simplify the processing in the control unit 4, the period of time T is advantageously at least 30 times the sampling period. The duration of the period of time T may be adaptive. Preferably, a comparatively long period is used at the beginning of the control pro¬ cedure, and this period may be gradually shortened if the long period does not prove to provide more information than a shorter part thereof. In a second step 22, the control unit 4 calculates the standard deviation σ or some other function which reflects the distribution of the amplitude of the mea¬ surement signal during the period of time T. Preferably, the standard deviation for several different periods of time may be determined, resulting in a certain indication of the frequency content of the noise.

Then, the control unit 4 compares, in a third step 23, the calculated standard deviation σ measured with one or more reference values stored in the memory 5. The reference values are also made up of standard deviations that have been determined for the same period of time T with the aid of the flowmeter and under the operating conditions for which the meter is intended or calibrated. Alternatively, the reference values may be determined by simulation and may, for instance, consist of a lower and/or an upper limit value for the noise σ m i n ref an£ ^ σ maxref' respectively. If the standard deviation has been determined for several periods of time of different length, the comparison naturally involves the correspond¬ ing reference values. If the comparison in step 23 indicates that the noise is outside the reference range, an alarm is given on the output 7, whereupon the measurement proceeds according to step 21. Otherwise, the measurement proceeds immediately according to step 21. In some cases, the size of the standard deviation may give an indication of the reason why the meter measures incorrectly, in which case the output signal or the function of the flowmeter can be corrected on line in a manner that will be described below. Preferably, the control unit 4 registers during which periods of time an alarm is given, so that the function of the flowmeter can be checked afterwards.

In the slightly more advanced mode of implementation illustrated in Fig. 3, the instantaneous flow rate is measured or sampled with the aid of the transducer 2 in a first step 31. In a second step 32, a frequency spectrum for the measurement signal from the transducer 2 is determined for the period of time T, the latter being chosen in the manner indicated above. In order to obtain an indication of whether the flowmeter measures correctly or not, the control unit 4 controls, in a third step 33 that may be dispensed with, whether the frequencies f x and amplitudes A x of the measurement signal are within a

predetermined frequency range ( f_,, fi) and a predeter¬ mined amplitude range (AQ, A^), respectively. If this is so, the meter is considered to measure correctly, and the flow reverts to step 31. If this is not so, the existing frequency spectrum is, in step 34, compared with diffe¬ rent reference spectra which are stored in the memory 5 and which have been measured for various known operating conditions, for instance for pulsating flows of varying amplitudes and frequencies, for different installations with different tube bends, and for the case with deposits on the flow transducer. If the control unit 4 is able to identify the existing operating conditions with the aid of the reference spectra, the measurement signal is, in step 35, corrected on line with the aid of correction data for the identified operating conditions, before the thus-corrected measurement signal is transmitted to the signal-processing unit 3. Alternatively, the mode of operation of the flow transducer can be corrected. If, say, it has been detected that the measurement signal contains pulsations, a jitter may be applied on the sampling frequency of the flow transducer in order to avoid aliasing effects. The correction data stored in the memory 5 may be stored as functions of Reynolds' number, in tabular form or in some other suitable fashion. If the existing operating conditions cannot be identified, an alarm is given and the processing proceeds according to step 31. The correction depending on the identified ope¬ rating conditions may alternatively be carried out in the signal-processing unit 3 and alternatively be carried out on the output signal instead of the measurement signal. The modes of implementation illustrated in Figs 2 and 3 may further be combined in various ways. For instance, the standard deviation may be used to decide whether the flowmeter measures correctly or not, and the frequency spectrum may be used to decide which are the existing operating conditions and make corrections in view thereof.

Figs 4-6 are three different diagrams for the stan¬ dard deviation of the amplitude of a flow as a function of Reynolds' number. All the flows have been measured with an ultrasonic flowmeter having a sampling period of about 50 ms. The standard deviation 1 has been determined for a period of time of 0.7 s, and the standard deviation 2 has been determined for a period of time of 7 s. In all the cases, the flow has been generated with the aid of a fall container. In the measurement corresponding to Fig. 4, there is a straight stretch of 100 times the tube dia¬ meter before the meter, in the measurement corresponding to Fig. 5, there is simple tube bend 12 tube diameters before the meter, and in the measurement corresponding to Fig. 6, there is a double tube bend in different planes 12 tube diameters before the meter. In each of the dia¬ grams, three measurements are accounted for.

In Fig. 4, which corresponds to an ideal installa¬ tion, both standard deviations 1 and 2 are approximately 0.5%. In Fig. 5, especially the standard deviation 1 increases even at low Reynolds' numbers, whereas in

Fig. 6, both standard deviations 1 and 2 are on a higher level than in Fig. 4 even at low Reynolds' numbers.

As is evident from Figs 4-6, the size of the stan¬ dard deviation thus increases, as measured over different periods of time, when there is a transition from the ideal installation conditions in Fig. 4 to the non-ideal installation conditions with one or two tube bends in Figs 5 and 6.

Also Figs 7-9 are three diagrams illustrating the standard deviation of the amplitude of a fluid flow as a function of Reynolds' number. The flows are measured in the same way as in Figs 4-6 and with the same installa¬ tions as in Figs 4, 5 and 6, respectively, i.e. with a 100-tube-diameter straight stretch, with a simple tube bend and with a double tube bend in different planes, respectively. The flow has, however, been generated by a

pump in these cases. Furthermore, an error curve has been drawn in the diagrams.

It appears from Fig. 7 that both the error and the standard deviations 1 and 2 are on a fairly low level for Reynolds' numbers in the range of 40,000-100,000, while both the error and the standard deviations increase con¬ siderably for lower Reynolds' numbers.

In Fig. 8, the error and the standard deviations only increase at Reynolds' numbers below 20,000, but on the other hand rise more steeply.

In Fig. 9, both the error and the standard devia¬ tions are generally on a higher level than in Figs 7 and 8.

There are thus clear differences as to the level of the standard deviations, at least for certain values of Reynolds' number, between different tube configurations, also when the flow is generated by a pump and thus con¬ tains pulsations. Likewise, there are clear differences between the same tube configurations, for instance Fig. 6 and Fig. 9, when the flow has been generated in different ways. Thus, this information may be used in order to detect whether the flowmeter measures correctly or not, to identify the cause or the operating conditions result¬ ing in incorrect measurement, and if possible to correct the measurement signal from the transducer or the output signal from the flowmeter or some intermediate signal as a function of the identified operating conditions.