CN106643931B - A kind of ultrasonic flow rate measuring method and device - Google Patents
A kind of ultrasonic flow rate measuring method and device Download PDFInfo
- Publication number
- CN106643931B CN106643931B CN201610846792.3A CN201610846792A CN106643931B CN 106643931 B CN106643931 B CN 106643931B CN 201610846792 A CN201610846792 A CN 201610846792A CN 106643931 B CN106643931 B CN 106643931B
- Authority
- CN
- China
- Prior art keywords
- threshold
- time
- signal
- transducer
- wave
- 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.)
- Active
Links
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
Abstract
The present invention discloses a kind of ultrasonic flow rate measuring method and device.Wherein, which comprises first time and the second time are obtained according to first threshold;If in the first predetermined sampling number, at the first time and the absolute value of the difference of the second time is greater than the number of preset value greater than preset times, first threshold is then switched to second threshold, wherein, second threshold is preset ultrasonic amplitude value, and the sampling wave that second threshold is greater than first threshold and amplitude increases to the sampling wave of the first threshold and amplitude increases to the second threshold is different sampling wave;Third time and the 4th time are obtained according to second threshold, and flow is calculated according to third time and the 4th time.Described device is for executing the above method.Ultrasonic flow rate measuring method and device provided by the invention, since, to obtain normal time difference signal, the error of measuring ultrasonic wave flow can be reduced by judging the abnormal conditions switching threshold of ultrasonic measurement time difference signal.
Description
Technical field
The present invention relates to information technology fields, and in particular to a kind of ultrasonic flow rate measuring method and device.
Background technique
Currently, the water meter and heat energy meter using ultrasonic wave principle are used for various places.
Ultrasonic measurement is to send and receive ultrasonic signal by energy converter, and fluid in pipeline is measured using time difference method
Flow, this requires ultrasonic wave to be not blocked, and can be received normally.Once and having foreign matter in pipeline fluid or due to transducing
The reason of device itself, causes ultrasonic signal unstable, and when having larger clutter, the method for common measuring flow will generate mistake
Difference.
Therefore, a kind of method how is proposed, can reduce measurement error there are signal interference becomes urgently
It solves the problems, such as.
Summary of the invention
For the defects in the prior art, the present invention provides a kind of ultrasonic flow rate measuring method and device.
On the one hand, the present invention proposes a kind of ultrasonic flow rate measuring method, comprising:
First time and the second time are obtained according to first threshold, wherein the first threshold is preset ultrasound
Wave-amplitude value, the first time are that the first signal is issued from first transducer and by second transducer reception and first letter
Number amplitude increases to the time used in the first threshold, and second time is that second signal is issued from the second transducer
And it is received by the first transducer and the second signal amplitude increases to the time used in the first threshold;
If the absolute value of the difference of the first time and second time is greater than pre- in the first predetermined sampling number
If the number of value is greater than preset times, then the first threshold is switched to second threshold, wherein the second threshold is preparatory
The ultrasonic amplitude value of setting, the second threshold is greater than the first threshold and amplitude increases to the sampling of the first threshold
The sampling wave that wave and amplitude increase to the second threshold is different sampling wave;
Obtain third time and the 4th time according to the second threshold, and according to the third time and it is described 4th when
Between calculate flow, wherein the third time be first signal issue from the first transducer and changed by described second
Energy device receives and first signal amplitude increases to the time used in the second threshold, and the 4th time is described second
Signal is issued from the second transducer and is received by the first transducer and the second signal amplitude increases to described
Time used in two threshold values.
On the other hand, the present invention provides a kind of ultrasonic flow rate measurement device, comprising:
Acquiring unit, for obtaining first time and the second time according to first threshold, wherein the first threshold is pre-
The ultrasonic amplitude value first set, the first time are that the first signal is issued from first transducer and received by second transducer
And the first signal amplitude enhancing, to the time used in the first threshold, second time is that second signal is changed from second
Can device issue and received by first transducer and second signal amplitude enhancing is to the time used in the first threshold;
Switch unit, if in the first predetermined sampling number, the difference of the first time and second time
Absolute value be greater than preset value number be greater than preset times, then the first threshold is switched to second threshold, wherein described
Second threshold is preset ultrasonic amplitude value, the second threshold be greater than the first threshold and amplitude increase to it is described
The sampling wave that the sampling wave and amplitude of first threshold increase to the second threshold is different sampling wave;
Computing unit, for obtaining third time and the 4th time according to the second threshold, and when according to the third
Between and the 4th time calculate flow, wherein the third time be first signal issued from the first transducer
And it is received by the second transducer and first signal amplitude increases to the time used in the second threshold, the described 4th
Time be the second signal is issued from the second transducer and by the first transducer receive and the second signal vibration
Width increases to the time used in the second threshold.
Ultrasonic flow rate measuring method and device provided by the invention, due to can by judge the ultrasonic measurement time difference believe
Number abnormal conditions and switching threshold to obtain normal time difference signal reduces the error of measuring ultrasonic wave flow.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of one embodiment of the invention ultrasonic flow rate measuring method;
Fig. 2 is the flow diagram of another embodiment of the present invention ultrasonic flow rate measuring method;
Fig. 3 is the structural schematic diagram of ultrasonic flow rate measurement device of the embodiment of the present invention;
Fig. 4 is ultrasonic flow rate measurement device of embodiment of the present invention entity structure schematic diagram.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, technical solution in the embodiment of the present invention are explicitly described, it is clear that described embodiment is a part of the invention
Embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making wound
Every other embodiment obtained under the premise of the property made labour, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of one embodiment of the invention ultrasonic flow rate measuring method, as shown in Figure 1, the present invention mentions
The ultrasonic flow rate measuring method of confession, comprising:
S101, first time and the second time are obtained according to first threshold, wherein the first threshold is preset
Ultrasonic amplitude value, the first time are that the first signal is issued from first transducer and received and described the by second transducer
One signal amplitude increases to the time used in the first threshold, and second time is second signal from the second transducer
It issues and is received by the first transducer and the second signal amplitude increases to the time used in the first threshold;
Specifically, ultrasonic flow rate measurement device sends the first signal to second transducer by first transducer, described
Second transducer receives first signal and the amplitude of first signal is gradually increased, when first signal
When amplitude increases to first threshold, second transducer acquires first signal and issues from first transducer and by second transducer
It receives and first signal amplitude increases to the time used in the first threshold, i.e., at the first time.Ultrasonic flow rate measuring
Device by second transducer to first transducer send second signal, the first transducer receive the second signal and
The amplitude of the second signal is gradually increased, when the amplitude of the second signal increases to first threshold, the first transducing
Device acquires the second signal and issues and received by first transducer and the second signal amplitude is increased to from second transducer
Time used in the first threshold, i.e. the second time.Wherein, the first threshold is preset ultrasonic amplitude value.
The first threshold, is configured according to the actual situation, is not specifically limited herein.
If S102, in the first predetermined sampling number, the absolute value of the difference of the first time and second time
Number greater than preset value is greater than preset times, then the first threshold is switched to second threshold, wherein the second threshold
For preset ultrasonic amplitude value, the second threshold is greater than the first threshold and amplitude increases to the first threshold
Sampling wave and amplitude increase to the second threshold sampling wave be different sampling waves;
Specifically, ultrasonic flow rate measurement device has carried out the first predetermined sampling number sampling, and it is pre- to obtain described first
The first time and second time for determining sampling number, compare the difference of the first time and second time
Absolute value and preset value, if the absolute value of the difference of the first time and second time is greater than time of the preset value
Number is greater than preset times, then the first threshold is switched to second threshold.Wherein, the second threshold is preset
Ultrasonic amplitude value, and the second threshold is greater than the first threshold.Amplitude increases to the sampling wave of the first threshold
The sampling wave that the second threshold is increased to amplitude is different sampling wave, such as the sampling wave of the first threshold is described
Second wave of the first signal or the second signal, the sampling wave of the second threshold are first signal or described second
4th wave of signal.The second threshold, the first predetermined sampling number, the preset value and the preset times are according to reality
Situation is set, herein without limitation.
S103, third time and the 4th time are obtained according to the second threshold, and according to third time and described
4th time calculated flow, wherein the third time is that first signal issues and described from the first transducer
Second transducer receives and first signal amplitude increases to the time used in the second threshold, and the 4th time is institute
Second signal is stated to issue and received by the first transducer and the second signal amplitude is increased to from the second transducer
Time used in the second threshold.
Specifically, ultrasonic flow rate measurement device sends the first signal to second transducer by first transducer, described
Second transducer receives first signal and the amplitude of first signal is gradually increased, when first signal
When amplitude increases to second threshold, second transducer acquires first signal and issues from first transducer and by second transducer
It receives and first signal amplitude increases to time used in the second threshold, i.e. third time.Ultrasonic flow rate measuring
Device by second transducer to first transducer send second signal, the first transducer receive the second signal and
The amplitude of the second signal is gradually increased, when the amplitude of the second signal increases to second threshold, the first transducing
Device acquires the second signal and issues and received by first transducer and the second signal amplitude is increased to from second transducer
Time used in the second threshold, i.e. the 4th time.Ultrasonic flow rate measurement device is according to the third time and described
Four times obtained the measurand flow velocity corresponding time difference, to calculate the flow of measurand.
For example, carry out the measurement of originally water flow using ultrasonic flow rate measurement device, when have in piped water foreign matter,
Energy converter or signal acquisition chip itself reason, it may appear that the unstable situation of some wave in ultrasonic measuring signal waveform can be led
Sampling wave is caused unusual waveforms occur.Assuming that under normal circumstances, on the 2nd wave of first signal, the amplitude of wave is increased to
The first threshold carries out the acquisition of the first time, but due to the exception of waveform, the amplitude of the 2nd wave, which becomes smaller, to be not achieved
The first threshold, when to the 3rd wave, amplitude just increases to the first threshold, should acquire when the 2nd wave
The first time becomes to acquire the first time when the 3rd wave, and the first time is elongated, if described
The acquisition of two times is normal, then the absolute value of the difference of the first time and second time will become larger, is greater than just
The absolute value of the difference of the first time and second time in normal situation, the absolute value of above-mentioned difference exists under normal circumstances
In 1 microsecond.And ultrasonic wave sample frequency is generally sampling 2 times or 8 times per second, when the Wave anomaly duration is longer or number
When more, the error of very big flow measurement will result in.In order to avoid above-mentioned error can when the 2nd Wave anomaly
In a manner of through transformation threshold value, the first threshold is increased into the second threshold, when making the third time and the 4th
Between acquisition all replace in the 3rd wave and acquire, measurement error caused by due to the exception of the 2nd wave can be reduced.
It is found through experiments that, in continuous 32 measurements of ultrasonic flow rate measurement device, compares the first time and institute
The absolute value of the difference of the second time is stated, if the number that the absolute value of above-mentioned difference is greater than 1 microsecond is greater than 16 times, described
First threshold is switched to the second threshold, acquires the third time and the 4th time according to second threshold, then calculate
Flow can obtain the preferable effect for reducing flow measurement error.
Ultrasonic flow rate measuring method provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.
Fig. 2 is the flow diagram of another embodiment of the present invention ultrasonic flow rate measuring method, in the base of above-described embodiment
On plinth, further, ultrasonic flow rate measuring method provided by the invention further include:
S104, after the predetermined sampling number of continuous sampling second, the second threshold is switched to the first threshold.
Specifically, in measuring ultrasonic wave flow, the abnormal conditions that generally occur within will not last very long, supersonic flow
Metering device is measured after the predetermined sampling number of continuous sampling second, such as 32 times, the second threshold is switched to described first
Threshold value, to cope with the abnormal conditions occurred again.The second predetermined sampling number, can be set according to the actual situation
It is fixed, it is not specifically limited herein.
Ultrasonic flow rate measuring method provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And pass through certain
After obtaining sampling number, second threshold is switched back into first threshold, when being conducive to occur again abnormal conditions, carries out reducing measurement mistake
The reply of difference.
On the basis of the above embodiments, further, the described first predetermined sampling number and the described second predetermined sampling
Number is equal.
Specifically, the first predetermined sampling number and the described second predetermined sampling time is arranged in ultrasonic flow rate measurement device
Number is equal, such as is all 32 times.
On the basis of the various embodiments described above, further, the amplitude increase to the first threshold sampling wave and
It includes: that the amplitude increases to the first threshold that amplitude, which increases to the sampling wave of the second threshold as different sampling waves,
The sampling wave that sampling wave and amplitude increase to the second threshold is adjacent wave.
Specifically, the amplitude increases to the sampling wave of the first threshold and amplitude increases to adopting for the second threshold
Sample wave is adjacent wave, such as the sampling wave of the first threshold is second of first signal or the second signal
Wave, the sampling wave of the second threshold are the third wave of first signal or the second signal.
Ultrasonic flow rate measuring method provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And the second threshold
The sampling wave of value and the sampling wave of first threshold are disposed adjacent, and are conducive to the specific implementation of ultrasonic flow rate measuring method.
On the basis of the various embodiments described above, further, the preset times are equal to the described first predetermined sampling number
Half.
Specifically, one that the preset times are equal to the described first predetermined sampling number is arranged in ultrasonic flow rate measurement device
Partly, such as the first predetermined sampling number is set as 32 times, and the preset times are set as 16 times.It is found through experiments that in institute
When stating half of the preset times equal to the described first predetermined sampling number, the preferable effect for reducing measurement error can be obtained.
Ultrasonic flow rate measuring method provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And default time
Number is set as the half of the first predetermined sampling number, is conducive to the specific implementation of ultrasonic flow rate measuring method.
Fig. 3 is the structural schematic diagram of ultrasonic flow rate measurement device of the embodiment of the present invention, as shown in figure 3, the present invention provides
Ultrasonic flow rate measurement device include acquiring unit 301, switch unit 302 and computing unit 303, in which:
Acquiring unit 301 is used to be obtained according to first threshold at the first time and the second time, wherein the first threshold is
Preset ultrasonic amplitude value, the first time are that the first signal is issued from first transducer and connect by second transducer
It receives and first signal amplitude enhancing is to the time used in the first threshold, second time is second signal from second
Energy converter is issued and is received by first transducer and second signal amplitude enhancing is to the time used in the first threshold;It cuts
If changing unit 302 is used for the absolute value of the difference of the first time and second time in the first predetermined sampling number
Number greater than preset value is greater than preset times, then the first threshold is switched to second threshold, wherein the second threshold
For preset ultrasonic amplitude value, the second threshold is greater than the first threshold and amplitude increases to the first threshold
Sampling wave and amplitude increase to the second threshold sampling wave be different sampling waves;Computing unit 303 is used for according to institute
It states second threshold and obtains third time and the 4th time, and flow is calculated according to the third time and the 4th time,
In, the third time is that first signal is issued from the first transducer and received and described by the second transducer
First signal amplitude increases to the time used in the second threshold, and the 4th time is the second signal from described second
Energy converter is issued and is received by the first transducer and when the second signal amplitude increases to used in the second threshold
Between.
Specifically, acquiring unit 301 sends the first signal, second transducing to second transducer by first transducer
Device receives first signal and the amplitude of first signal is gradually increased, when the amplitude of first signal increases
When to first threshold, second transducer acquires first signal and issues from first transducer and received and institute by second transducer
It states the first signal amplitude and increases to the time used in the first threshold, i.e., at the first time.Acquiring unit 301 passes through the second transducing
Device sends second signal to first transducer, and the first transducer receives the vibration of the second signal and the second signal
Width is gradually increased, when the amplitude of the second signal increases to first threshold, first transducer acquisition second letter
Number from second transducer issue and by first transducer receive and the second signal amplitude increase to used in the first threshold
Time, i.e. the second time.Wherein, the first threshold is preset ultrasonic amplitude value.The first threshold, according to
Actual conditions are configured, and are not specifically limited herein.
Specifically, acquiring unit 301 has carried out the first predetermined sampling number sampling, obtains the described first predetermined sampling time
Several first times and second time, switch unit 302 compare the difference of the first time and second time
The absolute value and preset value of value, if the absolute value of the difference of the first time and second time is greater than the preset value
Number be greater than preset times, then the first threshold is switched to second threshold.Wherein, the second threshold is to set in advance
Fixed ultrasonic amplitude value, and the second threshold is greater than the first threshold.Amplitude increases to adopting for the first threshold
The sampling wave that sample wave and amplitude increase to the second threshold is different sampling wave.The second threshold, the first predetermined sampling
Number, the preset value and the preset times are set according to the actual situation, herein without limitation.
Specifically, computing unit 303 sends the first signal, second transducing to second transducer by first transducer
Device receives first signal and the amplitude of first signal is gradually increased, when the amplitude of first signal increases
When to second threshold, second transducer acquires first signal and issues from first transducer and received and institute by second transducer
It states the first signal amplitude and increases to time used in the second threshold, i.e. third time.Computing unit 303 passes through the second transducing
Device sends second signal to first transducer, and the first transducer receives the vibration of the second signal and the second signal
Width is gradually increased, when the amplitude of the second signal increases to second threshold, first transducer acquisition second letter
Number from second transducer issue and by first transducer receive and the second signal amplitude increase to used in the second threshold
Time, i.e. the 4th time.Computing unit 303 obtains measurand flow velocity pair according to the third time and the 4th time
The time difference answered, to calculate the flow of measurand.
Ultrasonic flow rate measurement device provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.
On the basis of the various embodiments described above, further, the switch unit 302 is also used to: in continuous sampling second
After predetermined sampling number, the second threshold is switched to the first threshold.
Specifically, in measuring ultrasonic wave flow, the abnormal conditions that generally occur within will not last very long, switch unit
302 after the predetermined sampling number of continuous sampling second, such as 32 times, and the second threshold is switched to the first threshold, with
Just the abnormal conditions occurred again are coped with.The second predetermined sampling number, can be set, herein not according to the actual situation
It is specifically limited.
Ultrasonic flow rate measurement device provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And pass through certain
After obtaining sampling number, second threshold is switched back into first threshold, when being conducive to occur again abnormal conditions, carries out reducing measurement mistake
The reply of difference.
On the basis of the various embodiments described above, further, the first predetermined sampling number makes a reservation for adopt with described second
Sample number is equal.
Specifically, it is equal with the described second predetermined sampling number that the described first predetermined sampling number is arranged in switch unit 302,
It such as is all 32 times.
On the basis of the various embodiments described above, further, the amplitude increase to the first threshold sampling wave and
It includes: that the amplitude increases to the first threshold that amplitude, which increases to the sampling wave of the second threshold as different sampling waves,
The sampling wave that sampling wave and amplitude increase to the second threshold is adjacent wave.
Specifically, the amplitude increases to the sampling wave of the first threshold and amplitude increases to adopting for the second threshold
Sample wave is adjacent wave, such as the sampling wave of the first threshold is second of first signal or the second signal
Wave, the sampling wave of the second threshold are the third wave of first signal or the second signal.
Ultrasonic flow rate measurement device provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And the second threshold
The sampling wave of value and the sampling wave of first threshold are disposed adjacent, and are conducive to the specific implementation of ultrasonic flow rate measuring method.
On the basis of the various embodiments described above, further, the preset times are equal to the described first predetermined sampling number
Half.
Specifically, one that the preset times are equal to the described first predetermined sampling number is arranged in ultrasonic flow rate measurement device
Partly, such as the first predetermined sampling number is set as 32 times, and the preset times are set as 16 times.It is found through experiments that in institute
When stating half of the preset times equal to the described first predetermined sampling number, the preferable effect for reducing measurement error can be obtained.
Ultrasonic flow rate measurement device provided by the invention, due to can be by judging the different of ultrasonic measurement time difference signal
Reason condition and switching threshold reduce the error of measuring ultrasonic wave flow to obtain normal time difference signal.And default time
Number is set as the half of the first predetermined sampling number, is conducive to the specific implementation of ultrasonic flow rate measuring method.
The embodiment of ultrasonic flow rate measurement device provided by the invention specifically can be used for executing above-mentioned each method and implement
The process flow of example, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 4 is ultrasonic flow rate measurement device of embodiment of the present invention entity structure schematic diagram, as shown in figure 4, the server
It may include: processor (processor) 410,420, memory communication interface (Communications Interface)
(memory) 430 and communication bus 440, wherein processor 410, communication interface 420, memory 430 pass through communication bus 440
Complete mutual communication.Communication interface 420 can be used for the transmission of the information between device and energy converter.Processor 410 can be with
The logical order in memory 430 is called, to execute following method: first time and the second time are obtained according to first threshold,
Wherein, the first threshold is preset ultrasonic amplitude value, and the first time is the first signal from first transducer
It issues and is received by second transducer and first signal amplitude increases to the time used in the first threshold, described second
Time be second signal is issued from the second transducer and by the first transducer receive and the second signal amplitude increasing
The time used in the first threshold is arrived greatly;If in the first predetermined sampling number, the first time and second time
Difference absolute value be greater than preset value number be greater than preset times, then the first threshold is switched to second threshold,
In, the second threshold is preset ultrasonic amplitude value, and the second threshold is greater than the first threshold and amplitude increases
The sampling wave that the sampling wave and amplitude for arriving the first threshold greatly increase to the second threshold is different sampling wave;According to institute
It states second threshold and obtains third time and the 4th time, and flow is calculated according to the third time and the 4th time,
In, the third time is that first signal is issued from the first transducer and received and described by the second transducer
First signal amplitude increases to the time used in the second threshold, and the 4th time is the second signal from described second
Energy converter is issued and is received by the first transducer and when the second signal amplitude increases to used in the second threshold
Between.
In addition, the logical order in above-mentioned memory 430 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a computer equipment (can be personal computer, device or the network equipment etc.) executes each embodiment of the present invention
The all or part of the steps of the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of ultrasonic flow rate measuring method characterized by comprising
First time and the second time are obtained according to first threshold, wherein the first threshold is the vibration of preset ultrasonic wave
Amplitude, the first time are that the first signal is issued from first transducer and by second transducer reception and first signal vibration
Width increases to the time used in the first threshold, and second time issues for second signal from the second transducer and quilt
The first transducer receives and the second signal amplitude increases to the time used in the first threshold;
If the absolute value of the difference of the first time and second time is greater than preset value in the first predetermined sampling number
Number be greater than preset times, then the first threshold is switched to second threshold, wherein the second threshold be preset
Ultrasonic amplitude value, the second threshold be greater than the first threshold and amplitude increase to the first threshold sampling wave and
The sampling wave that amplitude increases to the second threshold is different sampling wave;
Third time and the 4th time are obtained according to the second threshold, and is counted according to the third time and the 4th time
Calculate flow, wherein the third time is that first signal is issued from the first transducer and by the second transducer
It receives and first signal amplitude increases to the time used in the second threshold, the 4th time is the second signal
It is received from second transducer sending and by the first transducer and the second signal amplitude increases to second threshold
The value time used.
2. the method according to claim 1, wherein further include:
After the predetermined sampling number of continuous sampling second, the second threshold is switched to the first threshold.
3. according to the method described in claim 2, it is characterized in that, the first predetermined sampling number makes a reservation for adopt with described second
Sample number is equal.
4. the method according to claim 1, wherein the amplitude increase to the first threshold sampling wave and
The sampling wave that amplitude increases to the second threshold is that different sampling waves includes:
The sampling wave that the amplitude increases to the sampling wave of the first threshold and amplitude increases to the second threshold is adjacent
Wave.
5. method according to any one of claims 1 to 4, which is characterized in that it is pre- that the preset times are equal to described first
Determine the half of sampling number.
6. a kind of ultrasonic flow rate measurement device characterized by comprising
Acquiring unit, for obtaining first time and the second time according to first threshold, wherein the first threshold is to set in advance
Fixed ultrasonic amplitude value, the first time issue from first transducer for the first signal and by second transducer reception and institutes
The enhancing of the first signal amplitude is stated to the time used in the first threshold, second time is second signal from second transducer
It issues and is received by first transducer and second signal amplitude enhancing is to the time used in the first threshold;
Switch unit, if in the first predetermined sampling number, the difference of the first time and second time it is exhausted
The number for being greater than preset value to value is greater than preset times, then the first threshold is switched to second threshold, wherein described second
Threshold value is preset ultrasonic amplitude value, and the second threshold is greater than the first threshold and amplitude increases to described first
The sampling wave that the sampling wave and amplitude of threshold value increase to the second threshold is different sampling wave;
Computing unit, for obtaining third time and the 4th time according to the second threshold, and according to the third time and
4th time calculates flow, wherein the third time issues for first signal from the first transducer and quilt
The second transducer receives and first signal amplitude increases to time used in the second threshold, the 4th time
Issued for the second signal from the second transducer and by the first transducer receive and the second signal amplitude increase
The time used in the second threshold is arrived greatly.
7. device according to claim 6, which is characterized in that the switch unit is also used to:
After the predetermined sampling number of continuous sampling second, the second threshold is switched to the first threshold.
8. device according to claim 7, which is characterized in that the first predetermined sampling number makes a reservation for adopt with described second
Sample number is equal.
9. device according to claim 6, which is characterized in that the amplitude increase to the first threshold sampling wave and
The sampling wave that amplitude increases to the second threshold is that different sampling waves includes:
The sampling wave that the amplitude increases to the sampling wave of the first threshold and amplitude increases to the second threshold is adjacent
Wave.
10. according to the described in any item devices of claim 6 to 9, which is characterized in that it is pre- that the preset times are equal to described first
Determine the half of sampling number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610846792.3A CN106643931B (en) | 2016-09-23 | 2016-09-23 | A kind of ultrasonic flow rate measuring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610846792.3A CN106643931B (en) | 2016-09-23 | 2016-09-23 | A kind of ultrasonic flow rate measuring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106643931A CN106643931A (en) | 2017-05-10 |
CN106643931B true CN106643931B (en) | 2019-03-01 |
Family
ID=58854571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610846792.3A Active CN106643931B (en) | 2016-09-23 | 2016-09-23 | A kind of ultrasonic flow rate measuring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106643931B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621292B (en) * | 2017-07-25 | 2021-04-09 | 辽宁航宇星物联仪表科技有限公司 | Wave-missing compensation method for household ultrasonic water meter |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10118934A1 (en) * | 2001-04-18 | 2002-10-31 | Hydrometer Gmbh | Monitoring device for adjusting and aging monitoring of flow measuring devices that use ultrasonic transducers, by determining mark-space ratio of comparator output signal |
JP2004184245A (en) * | 2002-12-04 | 2004-07-02 | Mitsubishi Electric Corp | Treated-water flow measuring system for sewerage plant |
CN1816734A (en) * | 2003-06-30 | 2006-08-09 | 恩德斯+豪斯流量技术股份有限公司 | Method for operating a process-measuring device |
CN103344288A (en) * | 2013-06-25 | 2013-10-09 | 国家电网公司 | Time difference type ultrasonic flowmeter measuring method based on zero point analysis |
CN104362993A (en) * | 2014-11-17 | 2015-02-18 | 中环天仪股份有限公司 | Automatic gain adjustment control method of liquid ultrasonic flow meter |
CN105300508A (en) * | 2015-10-30 | 2016-02-03 | 北京控制工程研究所 | Double-threshold detection circuit of ultrasonic wave signal propagation time, and detection method |
-
2016
- 2016-09-23 CN CN201610846792.3A patent/CN106643931B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10118934A1 (en) * | 2001-04-18 | 2002-10-31 | Hydrometer Gmbh | Monitoring device for adjusting and aging monitoring of flow measuring devices that use ultrasonic transducers, by determining mark-space ratio of comparator output signal |
JP2004184245A (en) * | 2002-12-04 | 2004-07-02 | Mitsubishi Electric Corp | Treated-water flow measuring system for sewerage plant |
CN1816734A (en) * | 2003-06-30 | 2006-08-09 | 恩德斯+豪斯流量技术股份有限公司 | Method for operating a process-measuring device |
CN103344288A (en) * | 2013-06-25 | 2013-10-09 | 国家电网公司 | Time difference type ultrasonic flowmeter measuring method based on zero point analysis |
CN104362993A (en) * | 2014-11-17 | 2015-02-18 | 中环天仪股份有限公司 | Automatic gain adjustment control method of liquid ultrasonic flow meter |
CN105300508A (en) * | 2015-10-30 | 2016-02-03 | 北京控制工程研究所 | Double-threshold detection circuit of ultrasonic wave signal propagation time, and detection method |
Also Published As
Publication number | Publication date |
---|---|
CN106643931A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6738135B2 (en) | How to perform electrical cable fault detection on a computer | |
EP2799820B1 (en) | Liquid surface level measurement device, method, and program | |
CN106557389B (en) | A kind of slow disk detection method and device | |
RU2501007C2 (en) | Corrosion monitoring | |
US9575033B1 (en) | Quantification of wrinkles in composite objects | |
EP3777083A1 (en) | Anomaly detection and processing for seasonal data | |
CN106643931B (en) | A kind of ultrasonic flow rate measuring method and device | |
US10028729B2 (en) | System and method for testing operability of a lens and selected transducer elements of an acoustic probe | |
CN115685109A (en) | Method, device and equipment for testing millimeter wave radar and storage medium | |
CN110019386A (en) | A kind of stream data processing method and equipment | |
CA2976812C (en) | Ranging method and apparatus | |
CN103760544A (en) | Scattering center extraction method and system for radar target | |
CN107276779B (en) | Monitoring method, system and equipment | |
CN111307936A (en) | Ultrasonic detection method and device | |
CN113468021B (en) | Method, device, equipment and storage medium for monitoring performance data | |
CN111998735B (en) | Ultrasonic target-reporting method and device with sensors capable of being randomly arrayed | |
CN105468503A (en) | Software test method and device | |
CN115236653B (en) | Radar detection method, device, equipment and medium | |
EP2877820A1 (en) | Method of extracting zero crossing data from full spectrum signals | |
US20160091466A1 (en) | System and method for testing transducer elements of an acoustic probe | |
WO2017195842A1 (en) | Feature quantity measuring device, radio wave environment calculating device, feature quantity measuring method, radio wave environment measuring method, and program | |
CN111399038B (en) | Slope parameter extraction method and device and computer readable storage medium | |
WO2016181549A1 (en) | Performance evaluation apparatus and performance evaluation program | |
JP5933257B2 (en) | Cable length measuring device, communication system, and cable length measuring method | |
CN113197116A (en) | Live pig health monitoring and slaughter time evaluation method, terminal device and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |