CN116412865A - Noise shielding window adjusting method and device of ultrasonic flowmeter - Google Patents

Noise shielding window adjusting method and device of ultrasonic flowmeter Download PDF

Info

Publication number
CN116412865A
CN116412865A CN202111661985.9A CN202111661985A CN116412865A CN 116412865 A CN116412865 A CN 116412865A CN 202111661985 A CN202111661985 A CN 202111661985A CN 116412865 A CN116412865 A CN 116412865A
Authority
CN
China
Prior art keywords
shielding window
measurement
current measurement
noise shielding
distance
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
Application number
CN202111661985.9A
Other languages
Chinese (zh)
Inventor
呼刘晨
戴敏达
张良岳
肖金凤
陈榕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinka Water Technology Co ltd
Original Assignee
Jinka Water Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jinka Water Technology Co ltd filed Critical Jinka Water Technology Co ltd
Priority to CN202111661985.9A priority Critical patent/CN116412865A/en
Publication of CN116412865A publication Critical patent/CN116412865A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/66Measuring 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/66Measuring 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/667Arrangements of transducers for ultrasonic flowmeters; Circuits for operating ultrasonic flowmeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/001Means for regulating or setting the meter for a predetermined quantity
    • G01F15/003Means for regulating or setting the meter for a predetermined quantity using electromagnetic, electric or electronic means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The application provides a noise shielding window adjusting method and device of an ultrasonic flowmeter, wherein the method comprises the following steps: acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal; if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement; and executing the ultrasonic flow measurement according to the noise shielding window of the measurement. The time period of the effective signal is limited by the real-time adjustment of the noise shielding window, so that the false wave generated by noise interference at the front end of the effective signal is avoided, and the error caused by noise to the fluid flow detection is reduced.

Description

Noise shielding window adjusting method and device of ultrasonic flowmeter
Technical Field
The present disclosure relates to detection technology, and in particular, to a method and an apparatus for adjusting a noise shielding window of an ultrasonic flowmeter.
Background
Ultrasonic flow meters typically detect flow according to the time difference method, which is a detection principle of zero-crossing comparison, and accuracy of propagation time detection directly affects measurement accuracy of flow. The influence of random interference is introduced by external factors such as electromagnetic interference, vibration and the like, so that the threshold level is triggered by mistake, the time point of actual threshold detection is further moved forwards or backwards, the problem of wave staggering occurs, and finally, the flow metering precision is caused to deviate.
At present, most of metering chips used in markets, laboratories and the like provide a noise shielding window setting function, and the noise shielding window can adjust the opening time of an echo signal measuring window and eliminate the influence of noise interference at the front end of an echo signal on metering. The value of the noise masking window is typically set to a fixed value during programming. However, changes in operating conditions, such as changes in temperature, can result in changes in the time of flight of the ultrasound waves. When the propagation flight time is increased, the distance between the echo signal and the excitation signal is increased, and if noise interference occurs at the moment, false waves occur, so that errors occur in measurement; when the propagation flight time becomes smaller, the distance between the echo signal and the excitation signal becomes smaller, and if the numerical value of the noise shielding window is set too large, the effective echo signal cannot be received, and the metering error is also caused.
Therefore, the value of the noise mask window needs to be adjusted in real time to avoid metering errors caused by the influence of noise on the front end of the echo signal.
Disclosure of Invention
The application provides a noise shielding window adjusting method and device of an ultrasonic flowmeter, which are used for reducing the false wave error caused by noise to fluid flow detection.
In a first aspect, the present application provides a method for adjusting a noise shielding window of an ultrasonic flowmeter, including:
acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
and executing the ultrasonic flow measurement according to the noise shielding window of the measurement.
Optionally, if there is a difference between the distance measured at the current time and the distance measured at the previous time, the noise shielding window measured at the current time is obtained by adjusting the noise shielding window measured at the previous time based on the difference, including:
if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
Optionally, the obtaining the distance under the current measurement based on the echo signal of the current measurement includes:
sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
determining the characteristic position of a sampling signal in the echo signal measured at the time;
and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
Optionally, the sampling signal characteristic position includes an echo signal peak position or an echo signal zero crossing position; the method further comprises the steps of:
exciting a transmitting transducer arranged in the fluid channel to emit ultrasonic signals by an excitation signal;
and receiving an echo signal corresponding to the ultrasonic signal through a receiving transducer arranged in the fluid channel, and taking the echo signal as the echo signal of the current measurement.
In a second aspect, the present application provides a noise shielding window adjustment device of an ultrasonic flowmeter, including:
the interval acquisition module is used for acquiring the interval under the current measurement based on the echo signal of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
the shielding window adjusting module is used for obtaining the noise shielding window of the current measurement by adjusting the noise shielding window of the previous measurement based on the difference if the distance of the current measurement is different from the distance of the previous measurement; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
and the flow measurement module is used for executing the ultrasonic flow measurement according to the noise shielding window of the measurement.
Optionally, the shielding window adjusting module is specifically configured to:
if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
Optionally, the interval obtaining module is specifically configured to:
sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
determining the characteristic position of a sampling signal in the echo signal measured at the time;
and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
Optionally, the sampling signal characteristic position includes an echo signal peak position or an echo signal zero crossing position; the apparatus further comprises:
the signal generation module is used for exciting a transmitting transducer arranged in the fluid channel to emit ultrasonic signals through an excitation signal;
and the echo receiving module is used for receiving the echo signal corresponding to the ultrasonic signal through a receiving transducer arranged in the fluid channel and taking the echo signal as the echo signal of the current measurement.
In a third aspect, the present application provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
The application provides a noise shielding window adjusting method and device of an ultrasonic flowmeter, wherein the method comprises the following steps: acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal; if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement; and executing the ultrasonic flow measurement according to the noise shielding window of the measurement. The time period of the effective signal is limited by the real-time adjustment of the noise shielding window, so that the false wave generated by noise interference at the front end of the effective signal is avoided, and the error caused by noise to the fluid flow detection is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic view of an application scenario provided in an example of the present application;
fig. 2 is a schematic view of still another application scenario provided in the example of the present application;
fig. 3 is a schematic flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a first embodiment of the present application;
FIG. 4 is a flowchart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a first embodiment of the present disclosure;
fig. 5 is a flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a second embodiment of the present application;
fig. 6 is a flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of a noise shielding window adjusting device of an ultrasonic flowmeter according to a fourth embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
Fig. 1 is a schematic diagram of an application scenario provided by an example of the application, and fig. 1 shows a principle of time difference measurement of an ultrasonic flowmeter, where two ultrasonic transducers are disposed on a fluid channel, and by detecting forward flow time and backward flow time of an echo, a fluid flow velocity can be obtained, so that an instantaneous flow can be calculated. The detection of the forward and reverse flow times is typically performed by zero crossing comparison, and the propagation time of the fluid is obtained by detecting the time that the echo first exceeds a threshold level. Therefore, the accuracy of the zero-crossing comparison method with respect to time detection will directly affect the flow calculation.
Fig. 2 is a schematic diagram of still another application scenario provided by the example of the present application, as shown in fig. 2, in application of the zero-cross comparison method, noise interference will cause serious spurious waves. When no noise interference exists, the set threshold level is intersected with the echo of the first arrival amplitude in the echo signal, the intersection point is 2, and the obtained flight time is t 2 The method comprises the steps of carrying out a first treatment on the surface of the However, when noise interference occurs at the front end of the echo signal, the noise signal will cross the threshold level, and the crossing point is 1, and the obtained flight time is t 1 And has t 1 <t 2 . It can be seen that a very serious false wave occurs at this time, which causes a large error in flow detection.
In some embodiments, the metering chip provides a function of setting a noise shielding window, and the noise shielding window can adjust the opening time of the echo signal measurement window to eliminate the influence of noise interference of the front end of the echo signal on metering. The value of the noise masking window is typically set to a fixed value during programming. However, changes in operating conditions, such as changes in temperature, can result in changes in the time of flight of the ultrasound waves. When the propagation flight time is increased, the distance between the echo signal and the excitation signal is increased, and if noise interference occurs at the moment, false waves occur, so that errors occur in measurement; when the propagation flight time becomes smaller, the distance between the echo signal and the excitation signal becomes smaller, and if the numerical value of the noise shielding window is set too large, the effective echo signal cannot be received, and the metering error is also caused. Therefore, the value of the noise shielding window needs to be adjusted in real time to avoid metering errors during detection of the ultrasonic flowmeter, wherein the value of the ultrasonic shielding window generally refers to the opening time of the ultrasonic shielding window, and before the opening time point, the amplitude of the signal received by the chip is set to be 0, and all inputs are shielded, so that the problem of false waves possibly caused by noise of the front end of the echo is restrained.
The technical scheme of the present application and the technical scheme of the present application are described in detail below with specific examples. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. In the description of the present application, the terms are to be construed broadly in the art, unless explicitly stated or defined otherwise. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example 1
Fig. 3 is a schematic flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to an embodiment of the present application, as shown in fig. 3, the method includes:
s101: acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
s110: if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference;
s111: if the interval under the current measurement is not different from the interval under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
s102: and executing the ultrasonic flow measurement according to the noise shielding window of the measurement.
The present embodiment is exemplarily described with reference to a specific application scenario: firstly, acquiring a distance under the current measurement based on a section of echo signals between a sampling starting point and a sampling ending point during the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal, and the distance is calculated through some special characteristic positions of the sampling signal in the echo signal.
If the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is identical to the distance under the previous measurement or the difference is within an acceptable error range, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement; and then, according to the noise shielding window of the current measurement, executing the current ultrasonic flow measurement.
For example, the characteristic position of the sampled signal includes the peak position of the echo signal or the zero crossing position of the echo signal, and the characteristic position of the sampled signal is usually selected according to the characteristics of the waveform, wherein some characteristic moments with universality are selected as references, and compared with the moments of the sampling starting points, not limited to the two types.
The echo signal peak value position can be obtained by detecting the moment corresponding to the maximum point of the signal amplitude in the sampling signal, the echo signal zero crossing position can be obtained by a zero crossing comparison method or detection of a slope, the moment corresponding to the time derivative of the slope to 0 in the sampling signal is taken as the echo signal zero crossing position, and at the moment, the moment of the first slope to 0 in the time derivative is defined as the echo signal zero crossing position used in the detection interval.
Fig. 4 is a schematic flow chart of a noise shielding window adjustment method of another ultrasonic flowmeter according to the first embodiment of the present application, as shown in fig. 4, before S101, the method further includes:
s10: exciting a transmitting transducer arranged in the fluid channel to emit ultrasonic signals by an excitation signal;
s11: and receiving an echo signal corresponding to the ultrasonic signal through a receiving transducer arranged in the fluid channel, and taking the echo signal as the echo signal of the current measurement.
Specifically, the method provided by this example is directly related to the principle of flow detection of an ultrasonic flowmeter, and firstly, an excitation signal is required to excite a transmitting transducer arranged in a fluid channel to send out an ultrasonic signal, then, an echo signal corresponding to the ultrasonic signal is received through a receiving transducer arranged in the fluid channel and is used as an echo signal of the current measurement, and finally, the echo signal is processed and calculated.
The embodiment provides a noise shielding window adjusting method of an ultrasonic flowmeter, which comprises the following steps: acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal; if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement; and executing the ultrasonic flow measurement according to the noise shielding window of the measurement. The time period of the effective signal is limited by the real-time adjustment of the noise shielding window, so that the false wave generated by noise interference at the front end of the effective signal is avoided, and the error caused by noise to the fluid flow detection is reduced.
Example two
Fig. 5 is a flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a second embodiment of the present application, as shown in fig. 5, on the basis of any other embodiment, S101 specifically includes:
s201: sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
s202: determining the characteristic position of a sampling signal in the echo signal measured at the time;
s203: and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
The present embodiment is exemplarily described with reference to a specific application scenario: the sampling process described herein is performed by an ADC, where the sampling start point and the sampling end point are typically fixed. However, the position of the echo signal in the sampling region is variable. When the temperature is reduced, the sound velocity becomes small, the propagation time becomes long, and the echo signals in the sampling interval are represented as backward movements; when the temperature increases, the sound velocity increases, and the propagation time becomes shorter, which is manifested as an echo signal advancing. Along with the movement of the acoustic wave signal, the characteristic position of the acoustic wave signal correspondingly moves forwards or backwards, the distance between the sampling starting point and the characteristic position of the sampling signal can be calculated according to the moment corresponding to the characteristic position of the sampling signal, the distance under the measurement is obtained, and a basis is provided for the adjustment of a noise shielding window.
The embodiment provides a noise shielding window adjusting method of an ultrasonic flowmeter, which is used for sampling echo signals measured at this time based on an ADC sampling technology from a sampling starting point; determining the characteristic position of a sampling signal in the echo signal measured at the time; and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement. And (3) finishing sampling of the echo signals through the ADC, fixing a sampling starting point of the echo signals, finishing calculation of the distance through characteristic positions of the sampling signals, and adjusting a noise shielding window according to the distance.
Example III
Fig. 6 is a schematic flow chart of a method for adjusting a noise shielding window of an ultrasonic flowmeter according to a third embodiment of the present application, as shown in fig. 6, on the basis of any other embodiment, S110 may specifically be:
s301: if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
s302: and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
The present embodiment is exemplarily described with reference to a specific application scenario: if the current measurement time interval is consistent with the previous interval or the difference is within the error range, not adjusting the noise shielding window; however, if there is an obvious difference between the current measurement interval and the previous interval, the noise shielding window needs to be adjusted according to the difference. Specifically, if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained; and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
Taking the influence of temperature change on echo signals as an example, calculating the distance t between an initial peak point and a sampling starting point when the temperature is normal temperature normal The method comprises the steps of carrying out a first treatment on the surface of the When the temperature is reduced, the echo signal moves backwards, and the distance t between the peak point and the sampling starting point at the moment is calculated low The method comprises the steps of carrying out a first treatment on the surface of the When the temperature rises, the echo signal moves forward, and the distance thigh between the peak point and the sampling starting point at the moment is calculated; calculating the distance change value delta t between the peak point and the sampling starting point before and after the temperature change, if delta t>0, the value of the last noise shielding window is added with |Deltat|, i.e. the noise shielding window used in the previous measurement is moved backwards, if Deltat<0, subtracting |Δt| from the value of the last noise mask window, i.e., advancing the noise mask window used in the previous measurement, and if Δt=0, directly continuing the noise mask window used in the previous measurement.
The embodiment provides a method for adjusting a noise shielding window of an ultrasonic flowmeter, if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained; and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement. The adjustment of the noise shielding window acting time is carried out through the difference between the interval under the current measurement and the interval under the previous measurement, so that the false wave generated by noise interference at the front end of an effective signal is avoided, and the error caused by noise on the detection of the fluid flow is reduced.
Example IV
A fourth embodiment of the present application further provides a device for adjusting a noise shielding window of an ultrasonic flowmeter to implement the foregoing method, and fig. 7 is a schematic structural diagram of the device for adjusting a noise shielding window of an ultrasonic flowmeter provided in the fourth embodiment of the present application, as shown in fig. 7, and on the basis of any other embodiment, the device includes:
a space obtaining module 41, configured to obtain a space under the current measurement based on the echo signal of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
the shielding window adjusting module 42 is configured to obtain a noise shielding window of the current measurement by adjusting the noise shielding window of the previous measurement based on a difference between a distance of the current measurement and a distance of the previous measurement; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
the flow measurement module 43 is configured to perform the current ultrasonic flow measurement according to the noise shielding window of the current measurement.
The illustrated structure combines all the implementations of the present embodiment, and should be applied as appropriate, but at least the pitch acquisition module 41, the shielding window adjustment module 42, and the flow measurement module 43 should be reserved.
For example, the characteristic position of the sampled signal includes the peak position of the echo signal or the zero crossing position of the echo signal, and the characteristic position of the sampled signal is usually selected according to the characteristics of the waveform, wherein some characteristic moments with universality are selected as references, and compared with the moments of the sampling starting points, not limited to the two types.
An example, the apparatus further comprises:
a signal generation module 44 for exciting a transmitting transducer disposed in the fluid channel to emit an ultrasonic signal by an excitation signal;
the echo receiving module 45 is configured to receive, through a receiving transducer disposed in the fluid channel, an echo signal corresponding to the ultrasonic signal, as an echo signal of the current measurement.
The present example is directly related to the principle of flow detection of an ultrasonic flowmeter, and first, an excitation signal needs to be generated by the signal generating module 44, so that an emission transducer arranged in a fluid channel is excited to emit an ultrasonic signal, and then, an echo receiving module 45 is used to enable a receiving transducer arranged in the fluid channel to receive an echo signal corresponding to the ultrasonic signal, and the echo signal is used as an echo signal of the present measurement, and finally, the echo signal is processed and calculated.
An example, the pitch acquisition module 41 is specifically configured to:
sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
determining the characteristic position of a sampling signal in the echo signal measured at the time;
and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
And (3) finishing sampling of the echo signals through the ADC, fixing a sampling starting point of the echo signals, finishing calculation of the distance through characteristic positions of the sampling signals, and adjusting a noise shielding window according to the distance.
An example, the mask window adjustment module 42 is specifically configured to:
if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
The adjustment of the noise shielding window acting time is carried out through the difference between the interval under the current measurement and the interval under the previous measurement, so that the false wave generated by noise interference at the front end of an effective signal is avoided, and the error caused by noise on the detection of the fluid flow is reduced.
The embodiment provides a noise shielding window adjusting device of an ultrasonic flowmeter, which comprises: the interval acquisition module is used for acquiring the interval under the current measurement based on the echo signal of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal; the shielding window adjusting module is used for obtaining the noise shielding window of the current measurement by adjusting the noise shielding window of the previous measurement based on the difference if the distance of the current measurement is different from the distance of the previous measurement; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement; and the flow measurement module is used for executing the ultrasonic flow measurement according to the noise shielding window of the measurement. The parameters such as the highest open-circuit voltage of the storage battery, the lowest open-circuit voltage of the storage battery, the battery capacity, the sensor error and the like are used for setting the threshold value, so that the identification of the state of the storage battery is completed, and the accuracy of the identification of the working state of the storage battery is improved. The time period of the effective signal is limited by the real-time adjustment of the noise shielding window, so that the false wave generated by noise interference at the front end of the effective signal is avoided, and the error caused by noise to the fluid flow detection is reduced.
Example five
Fig. 8 is a schematic structural diagram of an electronic device provided in a fifth embodiment of the present application, as shown in fig. 8, where the electronic device includes:
a processor 291, the electronic device further comprising a memory 292; a communication interface (Communication Interface) 293 and bus 294 may also be included. The processor 291, the memory 292, and the communication interface 293 may communicate with each other via the bus 294. Communication interface 293 may be used for information transfer. The processor 291 may call logic instructions in the memory 294 to perform the methods of the above embodiments.
Further, the logic instructions in memory 292 described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product.
The memory 292 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running software programs, instructions and modules stored in the memory 292, i.e., implements the methods of the method embodiments described above.
Memory 292 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the terminal device, etc. Further, memory 292 may include high-speed random access memory, and may also include non-volatile memory.
Embodiments of the present application also provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement the method described in any of the embodiments.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the method provided by the above embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (11)

1. A noise shielding window adjustment method of an ultrasonic flowmeter, comprising:
acquiring the distance under the current measurement based on the echo signals of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
if the distance under the current measurement is different from the distance under the previous measurement, the noise shielding window of the current measurement is obtained by adjusting the noise shielding window of the previous measurement based on the difference; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
and executing the ultrasonic flow measurement according to the noise shielding window of the measurement.
2. The method according to claim 1, wherein if there is a difference between the distance under the current measurement and the distance under the previous measurement, obtaining the noise shielding window of the current measurement by adjusting the noise shielding window of the previous measurement based on the difference, includes:
if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
3. The method according to claim 1, wherein obtaining the distance under the current measurement based on the echo signal of the current measurement comprises:
sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
determining the characteristic position of a sampling signal in the echo signal measured at the time;
and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
4. A method according to any of claims 1-3, wherein the sampled signal characteristic locations comprise echo signal peak locations or echo signal zero crossing locations; the method further comprises the steps of:
exciting a transmitting transducer arranged in the fluid channel to emit ultrasonic signals by an excitation signal;
and receiving an echo signal corresponding to the ultrasonic signal through a receiving transducer arranged in the fluid channel, and taking the echo signal as the echo signal of the current measurement.
5. A noise shielding window adjustment device of an ultrasonic flowmeter, comprising:
the interval acquisition module is used for acquiring the interval under the current measurement based on the echo signal of the current measurement; the distance is the distance between the sampling starting point and the characteristic position of the sampling signal;
the shielding window adjusting module is used for obtaining the noise shielding window of the current measurement by adjusting the noise shielding window of the previous measurement based on the difference if the distance of the current measurement is different from the distance of the previous measurement; if the distance under the current measurement is not different from the distance under the previous measurement, taking the noise shielding window of the previous measurement as the noise shielding window of the current measurement;
and the flow measurement module is used for executing the ultrasonic flow measurement according to the noise shielding window of the measurement.
6. The apparatus of claim 5, wherein the mask window adjustment module is specifically configured to:
if the interval under the current measurement is larger than the interval under the previous measurement, the noise shielding window of the previous measurement is translated backwards by the absolute value of the difference, so that the noise shielding window of the current measurement is obtained;
and if the distance under the current measurement is smaller than the distance under the previous measurement, shifting the noise shielding window of the previous measurement forward by the absolute value of the difference to obtain the noise shielding window of the current measurement.
7. The apparatus of claim 5, wherein the pitch acquisition module is specifically configured to:
sampling the echo signals measured at this time based on an ADC sampling technology from a sampling starting point;
determining the characteristic position of a sampling signal in the echo signal measured at the time;
and calculating the distance between the sampling starting point and the characteristic position of the sampling signal to obtain the distance under the current measurement.
8. The apparatus of any of claims 5-7, wherein the sampled signal characteristic locations comprise echo signal peak locations or echo signal zero crossing locations; the apparatus further comprises:
the signal generation module is used for exciting a transmitting transducer arranged in the fluid channel to emit ultrasonic signals through an excitation signal;
and the echo receiving module is used for receiving the echo signal corresponding to the ultrasonic signal through a receiving transducer arranged in the fluid channel and taking the echo signal as the echo signal of the current measurement.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-4.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-4.
CN202111661985.9A 2021-12-30 2021-12-30 Noise shielding window adjusting method and device of ultrasonic flowmeter Pending CN116412865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111661985.9A CN116412865A (en) 2021-12-30 2021-12-30 Noise shielding window adjusting method and device of ultrasonic flowmeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111661985.9A CN116412865A (en) 2021-12-30 2021-12-30 Noise shielding window adjusting method and device of ultrasonic flowmeter

Publications (1)

Publication Number Publication Date
CN116412865A true CN116412865A (en) 2023-07-11

Family

ID=87058333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111661985.9A Pending CN116412865A (en) 2021-12-30 2021-12-30 Noise shielding window adjusting method and device of ultrasonic flowmeter

Country Status (1)

Country Link
CN (1) CN116412865A (en)

Similar Documents

Publication Publication Date Title
CN101573596B (en) Method for determining and monitoring the filling level of a medium in a container according to a propagation time measurement method
KR101244605B1 (en) Method and Apparatus for Recognizing Parking Area
US9032801B2 (en) Ultrasonic measurement apparatus and method
CN109642949A (en) Method and apparatus for narrowband ranging system
CN102042860B (en) Segment-based signal processing
CN105300508A (en) Double-threshold detection circuit of ultrasonic wave signal propagation time, and detection method
CN100520310C (en) Ultrasonic wave flow and liquid level measuring method based on multi-pulsion automatic gaining control
JP2002065675A (en) Ultrasonic diagnostic device and its use
CN115047464B (en) Double-probe multi-beam sounding method and device
CN103075981B (en) A kind of ultrasonic thickness test method
US6621763B2 (en) Power saving technique for pulse-echo acoustic ranging systems
RU2389981C1 (en) Method of compensating for errors in ultrasonic level gauge measurements
CN107576964B (en) Echo time measuring method of linear frequency conversion signal
CN116412865A (en) Noise shielding window adjusting method and device of ultrasonic flowmeter
EP3244170B1 (en) Measuring device, measuring method and measuring program
EP2668475A1 (en) Phase-based tracking
Hayward et al. A digital hardware correlation system for fast ultrasonic data acquisition in peak power limited applications
CN111473840B (en) Waveform identification type ultrasonic liquid level meter and measuring method thereof
CN111879368B (en) Phase shift detection method, device and equipment in flow measurement
CN114323211A (en) System, method, electronic device and storage medium for reliable acquisition of time of flight
RU2310174C1 (en) Ultrasonic level meter
CN117782271B (en) Wave jump phenomenon correction method, system, equipment and medium for gas ultrasonic flowmeter
CN111189513A (en) Ultrasonic liquid level measurement method and device and ultrasonic liquid level meter
CN116412864A (en) Ultrasonic flow detection method and device, electronic equipment and storage medium
CN116295719A (en) Method, device and storage medium for measuring anti-interference by ultrasonic liquid level meter

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