CN114739469A - Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter - Google Patents
Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter Download PDFInfo
- Publication number
- CN114739469A CN114739469A CN202011540433.8A CN202011540433A CN114739469A CN 114739469 A CN114739469 A CN 114739469A CN 202011540433 A CN202011540433 A CN 202011540433A CN 114739469 A CN114739469 A CN 114739469A
- Authority
- CN
- China
- Prior art keywords
- wave
- value
- echo signal
- head
- threshold value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
- G01F1/662—Constructional details
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Volume Flow (AREA)
Abstract
The application discloses a method for preventing error waves of an ultrasonic flowmeter and the ultrasonic flowmeter, and the method comprises the following steps: setting an initial threshold value; obtaining from the first echo signal, in accordance with an initial threshold, a steady-state sine wave peak value and amplitudes of a plurality of consecutive waveforms exceeding the initial threshold and preceding the steady-state sine wave, including: a head wave, and an adjacent waveform following the head wave; calculating to obtain a first preset value according to the steady-state sine wave peak value of the first echo signal and the amplitude values of the plurality of waveforms; obtaining a second preset value of a second echo signal according to the initial threshold value; obtaining a second threshold value according to the ratio of the second preset value to the first preset value; and obtaining the head wave of the third echo signal according to the second threshold value. The ratio of the first preset value of the first echo signal to the second preset value of the second echo signal is calculated, the initial threshold value is adjusted according to the ratio to obtain the second threshold value, the logic is simple, real-time calculation is facilitated, wrong wave influence can be avoided, influence of interference on a measuring result is reduced, and the measuring precision is improved.
Description
Technical Field
The application relates to the technical field of ultrasonic meters, in particular to a wrong wave prevention method for an ultrasonic flowmeter and the ultrasonic flowmeter.
Background
In recent years, with the technological progress, intelligent water meters are rapidly developed, and ultrasonic flow meters have the advantages of large measuring range ratio, small initial flow, low pressure loss, bidirectional metering and the like, so that the ultrasonic flow meters are increasingly applied to the field of flow detection. The ultrasonic flowmeter generally adopts a time difference method for measurement, and the time difference method is a measurement method for calculating flow information according to the propagation time difference of ultrasonic waves under the conditions of forward flow and reverse flow in a measured medium. Currently, in the time difference method, a mode of setting a threshold value is generally adopted to obtain accurate forward and backward flow flight time. In the practical application scene of ultrasonic flowmeter, more interference can appear, for example, the transducer surface scale deposit, impurity is more, ambient noise etc. and the emergence of these ubiquitous and unavoidable interference can lead to the change of transducer received signal to lead to setting for the unsatisfied measuring demand of threshold value and appearing the condition of wrong wave.
In a conventional ultrasonic wave metering algorithm, a method is generally adopted to give up a value of a wrong wave in this measurement and use a last measurement value for replacement, but if the wrong wave always occurs, the last value is continuously used as the measurement value, a measurement error is generated, and the accuracy of the measurement is affected. Therefore, this method can compensate only for a short time, cannot ensure the measurement accuracy, and cannot solve the problem of erroneous waves in principle.
In view of the foregoing, it is desirable to provide a method for preventing false waves for an ultrasonic flow meter and an ultrasonic flow meter, which can avoid the influence of false waves, reduce the influence of interference on the measurement result, and improve the measurement accuracy.
Disclosure of Invention
In order to solve the above problems, the present application provides a method for preventing false waves for an ultrasonic flow meter and an ultrasonic flow meter.
In one aspect, the present application provides a method for preventing false waves of an ultrasonic flow meter, including:
setting an initial threshold value;
obtaining, from the first echo signal, a steady-state sine wave peak value and amplitudes of a plurality of consecutive waveforms exceeding the initial threshold and preceding the steady-state sine wave in accordance with the initial threshold, the plurality of consecutive waveforms including: a bow wave and an adjacent waveform after the bow wave;
calculating to obtain a first preset value according to the steady-state sine wave peak value of the first echo signal and the amplitudes of the plurality of waveforms;
obtaining a second preset value of a second echo signal according to the initial threshold value;
obtaining a second threshold value according to the ratio of the second preset value to the first preset value;
and obtaining the head wave of the third echo signal according to the second threshold value.
Preferably, after the obtaining the head wave of the third echo signal according to the second threshold, the method further includes:
acquiring a new echo signal, and updating a second preset value according to the second threshold value;
and updating the second threshold according to the updated ratio of the second preset value to the first preset value.
Preferably, the setting of the initial threshold includes:
acquiring a first echo signal;
determining a maximum amplitude of the first echo signal;
and calculating an initial threshold value according to the maximum amplitude value and the peak value average value of the two sine waves with the maximum peak difference in the first echo signal.
Preferably, the calculating an initial threshold according to the maximum amplitude and the peak value average of the two sine waves with the largest peak difference in the first echo signal includes:
normalizing the acquired first echo signal;
comparing the peak value of each sine wave in the normalized first echo signal to obtain two sine waves with the maximum peak value difference;
calculating the peak value average value of the two sine waves with the maximum peak value difference;
multiplying the peak average value by the maximum amplitude of the first echo signal to obtain an initial threshold value.
Preferably, the obtaining a first preset value by calculation according to the steady-state sine wave peak value of the first echo signal and the amplitudes of the plurality of waveforms includes:
respectively squaring a peak value of a head wave in the first echo signal, a peak value of two adjacent waveforms after the head wave and a peak value of a steady-state sine wave to obtain an energy peak value of the head wave in the first echo signal, an energy peak value of the two adjacent waveforms after the head wave and an energy peak value of the steady-state sine wave;
respectively normalizing the energy peak value of the head wave of the first echo signal and the energy peak values of two adjacent waveforms after the head wave by using the energy peak value of the steady-state sine wave in the first echo signal to obtain a first normalization magnitude value of the head wave of the first echo signal, a first normalization magnitude value of the head wave and a first normalization magnitude value of a head wave;
and calculating a first normalization magnitude of the head wave of the first echo signal, a sum of the first normalization magnitude of the head wave and the first normalization magnitude of the head wave to obtain a first normalization magnitude sum, and taking the first normalization magnitude sum as a first preset value.
Preferably, the obtaining a second preset value of a second echo signal according to the initial threshold includes:
determining a head wave, a first wave and a first second wave from the second echo signal according to the initial threshold;
determining a steady-state sine wave peak at which the second echo signal reaches a steady state;
respectively squaring the peak value of the head wave, the peak value of the first wave and the peak value of the steady sine wave in the second echo signal to obtain the energy peak value of the head wave, the energy peak value of the first wave and the energy peak value of the steady sine wave in the second echo signal;
respectively carrying out normalization processing on the energy peak value of the head wave, the energy peak value of the first wave and the energy peak value of the first second wave of the echo signal to be measured by using the energy peak value of the steady-state sine wave in the echo signal to be measured to obtain a second normalization magnitude value of the head wave, a second normalization magnitude value of the first wave and a second normalization magnitude value of the first second wave of the echo signal to be measured;
and calculating the sum of second normalization magnitude values of the head wave, the first wave and the second wave of the echo signal to be measured as a second preset value.
Preferably, the obtaining a second threshold according to a ratio of the second preset value to the first preset value includes:
dividing the second preset value by the first preset value to obtain the normalized quantity ratio;
if the normalized quantity ratio is smaller than the first limit value, the second threshold value is equal to the initial threshold value plus one;
if the normalized quantity ratio is larger than a second limit value, the second threshold value is equal to the initial threshold value minus one;
and if the normalized quantity ratio is within the range of being larger than or equal to a first limit value and smaller than or equal to a second limit value, adjusting the initial threshold value according to the head wave pulse width of the first echo signal to obtain a second threshold value.
Preferably, the first wave is a sine wave when the amplitude of the echo signal reaches a threshold value for the first time;
the first wave is a first sine wave after the first wave;
the first two waves are second sine waves after the first wave.
In a second aspect, the present application proposes an ultrasonic flow meter that determines a second threshold value using the above-described anti-spurious wave method for an ultrasonic flow meter.
The application has the advantages that: the method comprises the steps of calculating to obtain a first preset value through a steady-state sine wave peak value of a first echo signal and amplitude values of a plurality of waveforms exceeding an initial threshold value, obtaining a second preset value of a second echo signal according to the initial threshold value, determining a second threshold value, obtaining a head wave of a third echo signal according to the second threshold value, preventing wrong waves, being simple in logic, beneficial to real-time calculation, capable of avoiding the influence of wrong waves, reducing the influence of interference on a metering result and improving the metering precision.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to denote like parts throughout the drawings. In the drawings:
FIG. 1 is a schematic illustration of the steps of a method of preventing spurious waves for an ultrasonic flow meter provided herein;
FIG. 2 is a schematic flow diagram of a method of preventing spurious waves for an ultrasonic flow meter provided herein;
fig. 3 is a schematic illustration of a sine wave of a method of preventing spurious waves for an ultrasonic flow meter provided herein.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In a first aspect, according to an embodiment of the present application, there is provided a method for preventing a fault wave of an ultrasonic flow meter, as shown in fig. 1, including:
s101, setting an initial threshold value;
s102, according to an initial threshold, obtaining a steady-state sine wave peak value and amplitudes of a plurality of continuous waveforms which exceed the initial threshold and are ahead of the steady-state sine wave from the first echo signal, wherein the plurality of continuous waveforms comprise: a head wave, and an adjacent waveform following the head wave;
s103, calculating to obtain a first preset value according to the steady-state sine wave peak value of the first echo signal and the amplitude values of the plurality of waveforms;
s104, obtaining a second preset value of a second echo signal according to the initial threshold value;
s105, obtaining a second threshold value according to the ratio of the second preset value to the first preset value;
and S106, acquiring the head wave of the third echo signal according to the second threshold value.
After the head wave of the third echo signal is obtained according to the second threshold, the method further includes: acquiring a new echo signal, and updating a second preset value according to a second threshold value; and updating the second threshold according to the ratio of the updated second preset value to the first preset value.
Setting an initial threshold, comprising:
acquiring a first echo signal; determining the maximum amplitude of the first echo signal; and calculating an initial threshold value according to the maximum amplitude value and the peak value average value of the two sine waves with the maximum peak difference in the first echo signal.
Calculating an initial threshold value according to the maximum amplitude value and the peak value average value of the two sine waves with the maximum peak difference in the first echo signal, wherein the initial threshold value comprises the following steps: normalizing the acquired first echo signal; comparing the peak value of each sine wave in the normalized first echo signal to obtain two sine waves with the maximum peak value difference; calculating the peak value average value of the two sine waves with the maximum peak value difference; the peak average value is multiplied by the maximum amplitude of the first echo signal to obtain an initial threshold value.
Obtaining a steady-state sine wave peak value and amplitudes of a plurality of waveforms exceeding an initial threshold value from the first echo signal according to the initial threshold value, comprising: according to an initial threshold value, determining a head wave, a first wave and a second wave which exceed the initial threshold value and are before the steady-state sine wave from the first echo signal; determining a steady-state sine wave peak value when the first echo signal reaches a steady state. The first wave and the first two waves are adjacent waveforms behind the first wave, namely the first wave, the first wave and the first two waves are three waveforms which are adjacent in sequence. Wherein the number of the plurality of continuous waveforms is preferably 3, i.e., the first wave, and the first two waves. The number of the plurality of continuous waveforms may also exceed 3.
According to the steady-state sine wave peak value of the first echo signal and the amplitudes of the plurality of waveforms, a first preset value is obtained through calculation, and the method comprises the following steps: respectively squaring a peak value of a head wave in the first echo signal, a peak value of two adjacent waveforms after the head wave and a peak value of a steady-state sine wave to obtain an energy peak value of the head wave in the first echo signal and energy peak values of two adjacent waveforms after the head wave (the energy peak value of the head wave, the energy peak value of the head wave and the energy peak value of the steady-state sine wave); respectively normalizing the energy peak value of the head wave of the first echo signal and the energy peak values of two adjacent waveforms after the head wave (the energy peak value of the head wave and the energy peak value of the head wave) by using the energy peak value of the steady-state sine wave in the first echo signal to obtain a first normalization magnitude value of the head wave of the first echo signal, a first normalization magnitude value of the head wave and a first normalization magnitude value of the head wave; and calculating the first normalization magnitude of the head wave of the first echo signal, the sum of the first normalization magnitude of the head wave and the first normalization magnitude of the head wave to obtain a first normalization magnitude sum, and taking the first normalization magnitude sum as a first preset value.
Obtaining a second preset value of the second echo signal according to the initial threshold, including: determining a head wave, a first wave and a first two wave from the second echo signal according to an initial threshold; determining a steady-state sine wave peak value when the second echo signal reaches a steady state; respectively squaring the peak value of the first wave, the peak value of the first wave and the peak value of the steady sine wave in the second echo signal to obtain the energy peak value of the first wave, the energy peak value of the first wave and the energy peak value of the steady sine wave in the echo signal to be measured; respectively normalizing the energy peak value of the head wave, the energy peak value of the first wave and the energy peak value of the second wave of the echo signal to be measured by using the energy peak value of the steady-state sine wave in the echo signal to be measured to obtain a second normalization magnitude value of the head wave, a second normalization magnitude value of the first wave and a second normalization magnitude value of the second wave of the echo signal to be measured; and calculating the sum of second normalization magnitude values of the head wave, the first wave and the second wave of the echo signal to be measured as a second preset value.
Obtaining a second threshold value according to a ratio of the second preset value to the first preset value, including: dividing the second preset value by the first preset value to obtain a normalized quantity ratio; if the normalized quantity ratio is smaller than the first limit value, the second threshold value is equal to the initial threshold value plus one; if the normalized quantity ratio is greater than the second limit value, the second threshold value is equal to the initial threshold value minus one; and if the normalized quantity ratio is within the range of being larger than or equal to the first limit value and smaller than or equal to the second limit value, adjusting the initial threshold value according to the head wave pulse width of the first echo signal to obtain a second threshold value.
The first wave is a sine wave when the amplitude of the echo signal reaches a threshold value for the first time; the first wave is a first sine wave after the first wave; the first two waves are the second sine wave after the first wave.
The ultrasonic flowmeter is generally interfered by scaling on the surface of the transducer, more impurities, noise and the like when being arranged in a pipe section, and the occurrence of the interference can cause the change of the amplitude of a signal of the transducer to cause wrong waves, thereby influencing the accuracy and the stability of the measurement. In order to solve the problems, according to the principle that the waveform energy ratios of the transducers are basically consistent, in practical application, the initial threshold and the first echo signal are both performed in factory debugging. And then after installation, obtaining a second preset value of a second echo signal according to the initial threshold value, then calculating the ratio of the second preset value to the first preset value, determining whether the ultrasonic flowmeter generates wrong waves, carrying out real-time adjustment according to the initial threshold value based on the wrong wave condition to obtain a second threshold value, and obtaining a head wave of a third echo signal according to the second threshold value to solve the wrong wave problem.
After installation, the energy normalized magnitude (normalized magnitude) of each waveform is obtained as a second preset value by squaring the received second echo waveform of the transducer and simultaneously normalizing the waveform. Specifically, a first wave in a second echo signal and an energy normalization magnitude (normalization magnitude) of a second wave (first wave) after the first wave are obtained according to an initial threshold, the energy normalization magnitudes (normalization magnitudes) of the second wave and the third wave (first and second waves) are added, the energy normalization magnitudes are compared with a first preset value which is calculated and set according to a first echo signal during factory debugging, whether the waves are wrong or not can be determined according to the ratio of the first preset value and the second preset value, if the waves are wrong, targeted initial threshold adjustment can be performed by judging the direction of the wrong waves, a second threshold is obtained, and the second threshold can adapt to waveform changes in real time, so that the problem of the wrong waves is solved in principle. The preset energy normalization value (first preset value) can be obtained by a number of transducer tests. When no wave error occurs, the second threshold value can be obtained by adjusting the initial threshold value through the pulse width.
Next, the present embodiment will be further explained by taking the number of continuous waveforms as 3 as an example, as shown in fig. 2.
First, an initial threshold value is set. According to the principle that the energy ratios of the echo signals of the transducers are basically consistent, the first echo signal is normalized, the peak value of each sine wave of the normalized echo signal is obtained, the difference between every two peak values is compared, and the two sine waves with the maximum peak value difference are determined. The peak values of the two sine waves are averaged and then multiplied by the maximum amplitude value of the first echo signal which is not normalized to obtain an initial threshold value. The first echo signal may be a non-interfering echo signal.
After the initial threshold value is determined, a first wave and a first second wave of the first echo signal are determined. When the amplitude of the first echo signal acquired by the transducer reaches an initial threshold value for the first time, the sine wave with the amplitude reaching the initial threshold value is the head wave. The method comprises the steps of obtaining peak values of a first wave and two sine waves (a first wave and a second wave) behind the first wave, obtaining a stable sine wave peak value reaching a stable state in a first echo signal obtained by a transducer, and squaring the peak values of the four sine waves to obtain energy peak values of the four sine waves. As shown in fig. 3, the sine wave in the echo signal has an amplitude on the ordinate and a time on the abscissa, and all the sine waves in the area a1 are steady sine waves. The average value of the plurality of steady-state sine wave peaks in the area a1, or the steady-state sine wave with the largest peak value, or one of the steady-state sine wave peaks, may be used. Respectively carrying out normalization processing on energy peak values of the head wave and the two sine waves behind the head wave, solving a first normalization value of the head wave and the two sine waves behind the head wave, and summing the first normalization values to obtain a first preset value. As shown in the following formula:
Edef=E1+E2+E3
wherein i is the fourth wave, ViFor the peak of each wave, i.e. V1Is the peak of the head wave, V2Peak value of the first two waves, V3Peak of the first three waves, VmaxThe amplitude of the first echo signal acquired for the transducer reaches a steady-state sinusoidal peak value of steady state, EiIs the first normalized magnitude of each wave, i.e. E1Is the first normalized magnitude of the head wave, E2First normalized magnitude of first two waves, E3First normalized magnitude of first three waves, EdefIs a first preset value.
In an actual application scene, acquiring a real-time echo signal as a second echo signal, calculating a second preset value according to the second echo signal by using the method for calculating the first preset value, calculating second normalization values of a head wave, the head wave and a second wave in the second echo signal respectively by using the stable sine wave peak value of which the amplitudes of the head wave, the second wave and the second echo signal in the second echo signal reach a stable state, and summing to obtain the second normalization value and EmeaAnd the energy normalization quantity value ratio (normalization quantity ratio) R is obtained by taking the second preset value as a second preset value and dividing the second preset value by the first preset value:
the initial threshold E1 is adjusted according to the normalized quantity ratio R as the second threshold E2.
The above algorithm E2 for determining the wrong wave condition: if the normalized ratio R is less than the first limit value of 0.625, the measurement is considered to have forward error (E1)-1) The initial threshold value needs to be adjusted up to 1mv, and the time difference of flight needs to be compensated; if R is greater than or equal to the first limit value 0.625 and less than or equal to the second limit value 1.725, the measurement is considered to have no fault wave (E1)0) Simultaneously, judging the pulse width of a head wave in an echo signal to be measured, if the pulse width is greater than 0.7, performing 1mv up-regulation operation on an initial threshold, and if the pulse width is less than 0.5, performing 1mv down-regulation operation on the initial threshold; if R is larger than the second limit value of 1.725, the situation that backward wave fault occurs in the measurement is considered (E1)1) The initial threshold value needs to be adjusted down by 1mv, and the time difference of flight needs to be compensated.
Under the condition of wave error, the problem of wave error can be avoided and solved by adjusting the second threshold value and compensating the flight time difference according to the initial threshold value in real time, and on the basis, the flow value can be obtained through a flow calculation formula by a speed difference method.
And when a new echo signal is acquired according to the second threshold value for calculation, the second threshold value is the second threshold value updated last time, and the second preset value is calculated and updated by using the updated second threshold value and the new echo signal.
When the calculation method of the embodiment of the application is not used, if the problems of scaling of the transducer, bubbles, noise interference and the like occur, the amplitude value is reduced, and if the initial threshold value cannot be adjusted in real time, continuous wrong waves occur and recovery cannot be performed; after the algorithm is used, the system can compensate the flight time difference according to the wave-missing situation, and adjust the second threshold value in real time according to the wave-missing situation and the pulse width, so that the wave-missing problem is solved, and the metering precision is improved.
Alternatives to embodiments of the present application also include: the judgment and compensation of wrong waves can still be carried out by replacing the energy ratio with the amplitude ratio and obtaining the amplitude normalized magnitude ratio, and the judgment and compensation are based on the fact that the energy and the amplitude of the ultrasonic echo signals have a square relation. But since the energy is the square of the amplitude, the tolerance is reduced with amplitude ratios. But by replacing the energy ratio with the amplitude ratio, a certain amount of calculation can be reduced.
In a second aspect, according to an embodiment of the present application, an ultrasonic flow meter is provided, which determines a second threshold value using the above-mentioned false wave prevention method for an ultrasonic flow meter.
According to the method, from the angle of mechanical wave energy, the first preset value of the first echo signal and the second preset value of the second echo signal are calculated, the second threshold value is calculated based on the initial threshold value according to the ratio of the first preset value to the second preset value, the logic is simple, real-time calculation is facilitated, wrong wave influence can be avoided, the influence of interference on a metering result is reduced, the metering precision is improved, and whether wrong wave and the wrong wave in a specific situation can be clearly distinguished. By analyzing the wrong wave condition, the initial threshold value is adjusted in real time, so that the system can be recovered from the wrong wave state, and the condition that the wrong wave state is always kept and the measurement deviation occurs is avoided. The embodiment of the application starts from an energy angle, takes an energy normalization magnitude as a preset value, judges whether a wrong wave occurs or not in a mode of calculating an energy normalization magnitude ratio (normalization magnitude ratio), and determines the wrong wave situation according to the range of the energy normalization magnitude ratio.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A method of preventing spurious waves for an ultrasonic flow meter, comprising:
setting an initial threshold value;
obtaining, from a first echo signal, a steady-state sine wave peak value and amplitudes of a plurality of consecutive waveforms exceeding the initial threshold and preceding the steady-state sine wave in accordance with the initial threshold, the plurality of consecutive waveforms including: a bow wave and an adjacent waveform after the bow wave;
calculating to obtain a first preset value according to the steady-state sine wave peak value of the first echo signal and the amplitudes of the plurality of waveforms;
obtaining a second preset value of a second echo signal according to the initial threshold value;
obtaining a second threshold value according to the ratio of the second preset value to the first preset value;
and obtaining the head wave of the third echo signal according to the second threshold value.
2. The method of claim 1, wherein after the obtaining the head wave of the third echo signal according to the second threshold, the method further comprises:
acquiring a new echo signal, and updating a second preset value according to the second threshold value;
and updating the second threshold according to the updated ratio of the second preset value to the first preset value.
3. The method of claim 1, wherein the setting an initial threshold comprises:
acquiring a first echo signal;
determining a maximum amplitude of the first echo signal;
and calculating an initial threshold value according to the maximum amplitude value and the peak value average value of the two sine waves with the maximum peak difference in the first echo signal.
4. The method of claim 3, wherein the calculating an initial threshold value according to the maximum amplitude and the average of the peak values of the two sine waves with the largest peak difference in the first echo signal comprises:
normalizing the acquired first echo signal;
comparing the peak value of each sine wave in the normalized first echo signal to obtain two sine waves with the maximum peak value difference;
calculating the peak value average value of the two sine waves with the maximum peak value difference;
multiplying the peak average value by the maximum amplitude of the first echo signal to obtain an initial threshold value.
5. The method of claim 1, wherein the calculating a first preset value according to the steady-state sinusoidal peak of the first echo signal and the amplitudes of the plurality of waveforms comprises:
respectively squaring the peak value of the head wave in the first echo signal, the peak values of two adjacent waveforms after the head wave and the peak value of the steady-state sine wave to obtain the energy peak value of the head wave in the first echo signal, the energy peak values of the two adjacent waveforms after the head wave and the energy peak value of the steady-state sine wave;
respectively normalizing the energy peak value of the head wave of the first echo signal and the energy peak values of two adjacent waveforms after the head wave by using the energy peak value of the steady-state sine wave in the first echo signal to obtain a first normalization magnitude value of the head wave of the first echo signal, a first normalization magnitude value of the head wave and a first normalization magnitude value of a head wave;
and calculating a first normalization magnitude of the head wave of the first echo signal, a sum of the first normalization magnitude of the head wave and the first normalization magnitude of the head wave to obtain a first normalization magnitude sum, and taking the first normalization magnitude sum as a first preset value.
6. The method of claim 1, wherein obtaining a second predetermined value of a second echo signal according to the initial threshold comprises:
determining a head wave, a first wave and a first second wave from the second echo signal according to the initial threshold;
determining a steady-state sine wave peak at which the second echo signal reaches steady state;
respectively squaring the peak value of the head wave, the peak value of the first wave and the peak value of the steady sine wave in the second echo signal to obtain the energy peak value of the head wave, the energy peak value of the first wave and the energy peak value of the steady sine wave in the second echo signal;
respectively carrying out normalization processing on the energy peak value of the head wave, the energy peak value of the first wave and the energy peak value of the first second wave of the echo signal to be measured by using the energy peak value of the steady-state sine wave in the echo signal to be measured to obtain a second normalization magnitude value of the head wave, a second normalization magnitude value of the first wave and a second normalization magnitude value of the first second wave of the echo signal to be measured;
and calculating the sum of second normalized quantity values of the head wave, the first wave and the second wave of the echo signal to be measured as a second preset value.
7. The method of claim 1, wherein obtaining the second threshold value according to the ratio of the second preset value to the first preset value comprises:
dividing the second preset value by the first preset value to obtain the normalized quantity ratio;
if the normalized quantity ratio is smaller than the first limit value, the second threshold value is equal to the initial threshold value plus one;
if the normalized quantity ratio is greater than a second limit value, the second threshold value is equal to the initial threshold value minus one;
and if the normalized quantity ratio is within the range of being larger than or equal to a first limit value and smaller than or equal to a second limit value, adjusting the initial threshold value according to the head wave pulse width of the first echo signal to obtain a second threshold value.
8. The method of claim 1 for preventing spurious waves for an ultrasonic flow meter,
the first wave is a sine wave when the amplitude of the echo signal reaches a threshold value for the first time;
the first wave is a first sine wave after the first wave;
the first two waves are second sine waves after the first wave.
9. An ultrasonic flow meter, characterized in that the ultrasonic flow meter determines the second threshold value using the method for preventing false waves for an ultrasonic flow meter according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011540433.8A CN114739469A (en) | 2020-12-23 | 2020-12-23 | Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011540433.8A CN114739469A (en) | 2020-12-23 | 2020-12-23 | Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114739469A true CN114739469A (en) | 2022-07-12 |
Family
ID=82273926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011540433.8A Pending CN114739469A (en) | 2020-12-23 | 2020-12-23 | Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114739469A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115655396A (en) * | 2022-12-26 | 2023-01-31 | 水发航宇星物联科技(辽宁)有限公司 | Ultrasonic wave fault wave prevention method and ultrasonic wave fluid detection device |
CN115993158A (en) * | 2023-02-24 | 2023-04-21 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
CN116608917A (en) * | 2023-07-19 | 2023-08-18 | 成都秦川物联网科技股份有限公司 | Gas ultrasonic metering instrument metering anti-interference method and intelligent gas Internet of things system |
-
2020
- 2020-12-23 CN CN202011540433.8A patent/CN114739469A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115655396A (en) * | 2022-12-26 | 2023-01-31 | 水发航宇星物联科技(辽宁)有限公司 | Ultrasonic wave fault wave prevention method and ultrasonic wave fluid detection device |
CN115993158A (en) * | 2023-02-24 | 2023-04-21 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
CN115993158B (en) * | 2023-02-24 | 2023-08-22 | 北京安超微电子有限公司 | Head wave detection threshold setting method for ultrasonic flow metering device |
CN116608917A (en) * | 2023-07-19 | 2023-08-18 | 成都秦川物联网科技股份有限公司 | Gas ultrasonic metering instrument metering anti-interference method and intelligent gas Internet of things system |
CN116608917B (en) * | 2023-07-19 | 2023-09-22 | 成都秦川物联网科技股份有限公司 | Gas ultrasonic metering instrument metering anti-interference method and intelligent gas Internet of things system |
US12044604B2 (en) | 2023-07-19 | 2024-07-23 | Chengdu Qinchuan Iot Technology Co., Ltd. | Method and smart gas internet of things (IoT) system for metering anti-interference of gas ultrasonic meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114739469A (en) | Fault wave prevention method for ultrasonic flowmeter and ultrasonic flowmeter | |
CN108548578B (en) | Ultrasonic echo signal characteristic peak identification method based on self-adaptive threshold | |
CN109579950B (en) | Mistake proofing ripples detection device of gaseous ultrasonic flowmeter | |
CN106643987A (en) | Fault diagnosis and compensation method for multi-channel ultrasonic gas flow meter | |
CN104913830A (en) | Radar level instrument signal processing method based on curve fitting | |
CN115876288A (en) | Electronic instrument fault analysis method and system based on big data | |
CN111238587A (en) | Ultrasonic transducer transmission time calibration method | |
CN110646041A (en) | Data fusion calculation method of multi-channel ultrasonic flowmeter | |
CN111487616B (en) | Flow metering method | |
CN114777887A (en) | Zero drift elimination method for ultrasonic water meter | |
CN112304376B (en) | Ultrasonic flowmeter flow measuring method based on data fusion | |
CN116952318B (en) | Flow metering method of ultrasonic water meter | |
CN109470320B (en) | Step filtering method for ultrasonic water meter | |
CN115308434B (en) | Ultrasonic speed measurement method and system | |
CN205246150U (en) | Automatic rectify drift's supersound water gauge | |
CN114543949A (en) | Self-adaptive metering method of ultrasonic water meter | |
CN116399414A (en) | Wireless ultrasonic flow measurement method and device | |
CN110608720B (en) | Riverbed elevation detection method and system based on ultrasonic reflection waveform | |
CN111693982B (en) | Radar speed measurement AI algorithm | |
CN113108852A (en) | Anti-shaking processing method for ultrasonic water meter | |
CN112179460A (en) | Intelligent Internet of things water meter backflow inhibition system and method | |
CN112348305A (en) | Method and device for back calculating water head of hydraulic power plant | |
CN111220816B (en) | Time difference type ultrasonic flow velocity measuring method adopting frequency hopping signal | |
CN117782271B (en) | Wave jump phenomenon correction method, system, equipment and medium for gas ultrasonic flowmeter | |
CN109470890A (en) | A kind of dynamic monitoring correction algorithm of ultrasound instrument |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |