CN114459576B - Control method of signal diagnosis device applied to ultrasonic water meter - Google Patents

Control method of signal diagnosis device applied to ultrasonic water meter Download PDF

Info

Publication number
CN114459576B
CN114459576B CN202210168816.XA CN202210168816A CN114459576B CN 114459576 B CN114459576 B CN 114459576B CN 202210168816 A CN202210168816 A CN 202210168816A CN 114459576 B CN114459576 B CN 114459576B
Authority
CN
China
Prior art keywords
transducer
signal
downstream
ultrasonic
upstream
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
Application number
CN202210168816.XA
Other languages
Chinese (zh)
Other versions
CN114459576A (en
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.)
Zhejiang Diyuan Instrument Co ltd
Original Assignee
Zhejiang Diyuan Instrument 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 Zhejiang Diyuan Instrument Co ltd filed Critical Zhejiang Diyuan Instrument Co ltd
Priority to CN202210168816.XA priority Critical patent/CN114459576B/en
Publication of CN114459576A publication Critical patent/CN114459576A/en
Application granted granted Critical
Publication of CN114459576B publication Critical patent/CN114459576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a control method of a signal diagnosis device applied to an ultrasonic water meter. The problems that in the prior art, more extra hardware circuits are adopted, the power consumption is high, and the ultrasonic water meter is not suitable for application are solved; the invention comprises the following steps: the upstream transducer transmits an upstream ultrasonic signal or receives a downstream ultrasonic signal reflected by the auxiliary transducer; the downstream transducer transmits a downstream ultrasonic signal or receives an upstream ultrasonic signal reflected by the auxiliary transducer; the auxiliary transducer reflects the ultrasonic signal sent by the upstream transducer or the downstream transducer; the signal processing circuit controls the upstream transducer and the downstream transducer to transmit or receive ultrasonic signals, respectively obtains the time for the auxiliary transducer and the upstream/downstream transducer to receive the ultrasonic signals, diagnoses whether the received ultrasonic signals have wrong waves and corrects the wrong waves. The characteristic that the mechanical structure is fixed and the sound wave transmission in a uniform medium is stable is utilized only through adding one auxiliary transducer, whether wrong waves exist in the received signals or not is diagnosed and corrected, the structure is simple, and the cost is low.

Description

Control method of signal diagnosis device applied to ultrasonic water meter
Technical Field
The invention relates to the field of ultrasonic signal diagnosis, in particular to a control method of a signal diagnosis device applied to an ultrasonic water meter.
Background
In the application of water flow measurement, an ultrasonic water meter is used as a new intelligent flow meter to replace a mechanical water meter, the working principle of the ultrasonic water meter is a time difference method, and the instantaneous flow and the accumulated flow of water are further calculated by analyzing and calculating the flow speed by detecting the time difference generated when ultrasonic waves propagate in water in a forward flow and a reverse flow. Compared with mechanical water meter, it has the features of high accuracy, low initial flow rate, no pressure loss, wide measuring range, long service life and no moving parts.
In order to realize the specific problem of measuring the flow rate by the time difference method, the conventional solution is to use a threshold comparison method, that is, a fixed voltage is used as a threshold to detect whether a received ultrasonic signal arrives, and if a signal with a corresponding amplitude is detected, the comparison is switched to zero-crossing comparison to perform accurate time conversion calculation.
To implement this measurement method, a common sensor structure is a direct-type sensor. When a medium flows in the pipeline, the ultrasonic transducer at the upstream end transmits an ultrasonic signal, the ultrasonic signal is transmitted along the downstream direction through the medium, and the transmission time of the signal received by the transducer at the downstream end is recorded as
Figure 100002_DEST_PATH_IMAGE002
Conversely, the time of the ultrasonic signal emitted from the downstream end and propagating in reverse to the upstream transducer is recorded as
Figure 100002_DEST_PATH_IMAGE004
And recording the difference between the upstream propagation time and the downstream propagation time as DeltaT, and if the difference is measured, calculating the average velocity V of the fluid in the outlet pipe according to the following relation:
Figure 100002_DEST_PATH_IMAGE006
Figure 100002_DEST_PATH_IMAGE008
in the formula:
m is the number of times the sound wave propagates linearly in the fluid between the two probes, M =1 in the above case;
d is the inner diameter of the pipeline;
Figure 100002_DEST_PATH_IMAGE010
is the angle between the sound beam and the fluid flowing direction.
In the traditional ultrasonic threshold level method, the first peak exceeding the threshold is used as a head wave, and the time of a certain specific zero crossing point after the head wave is measured is used as the propagation time of a signal, so that the anti-interference capability of the head wave is poor, when the amplitude of the signal is changed greatly or is in a critical value, the head wave is identified wrongly, the measured zero crossing points are different, the measured delta T deviation is 1 or more signal cycle times, the measurement accuracy is seriously influenced, and the problem of 'wrong wave' is solved.
The wrong wave problem greatly affects the measurement accuracy, and researchers propose methods such as high-speed AD sampling cross correlation, envelope analysis and the like to avoid the wrong wave, but the methods mostly need high-speed AD conversion or more extra hardware circuits for supporting, so that the power consumption is high, and the methods are not suitable for the application of the ultrasonic water meter. For example, a chinese patent document discloses "a false wave prevention signal processing circuit of a gas ultrasonic flowmeter", which publication No. CN109612541B includes an ultrasonic receiving transducer for receiving an ultrasonic signal; the controllable gain amplifying circuit is connected with the ultrasonic receiving transducer; the analog-to-digital conversion circuit is connected with the controllable gain amplification circuit; the dual-threshold detection circuit is connected with the controllable gain amplification circuit; the peak value holding circuit is connected with the controllable gain amplifying circuit; the program-controlled multi-threshold comparison circuit is connected with the peak holding circuit; the wave selection circuit is respectively connected with the double-threshold detection circuit and the program-controlled multi-threshold comparison circuit; and the timing circuit is connected with the wave selection circuit. This scheme adopts more extra hardware circuit, and the consumption is high, is not suitable for the application of supersound water gauge.
Disclosure of Invention
The invention mainly solves the problems that the prior art adopts more extra hardware circuits, has high power consumption and is not suitable for the application of the ultrasonic water meter; the control method of the signal diagnosis device applied to the ultrasonic water meter solves the problem of wave error by controlling the detection path, gain control and time signal processing of ultrasonic receiving signals.
The technical problem of the invention is mainly solved by the following technical scheme:
a signal diagnosis device applied to an ultrasonic water meter comprises:
the upstream transducer transmits an upstream ultrasonic signal or receives a downstream ultrasonic signal reflected by the auxiliary transducer;
the downstream transducer transmits a downstream ultrasonic signal or receives an upstream ultrasonic signal reflected by the auxiliary transducer;
the auxiliary transducer reflects the ultrasonic signal sent by the upstream transducer or the downstream transducer;
and the signal processing circuit controls the upstream transducer and the downstream transducer to transmit or receive ultrasonic signals, respectively acquires the time for the auxiliary transducer and the upstream/downstream transducers to receive the ultrasonic signals, diagnoses whether the received ultrasonic signals have wrong waves and corrects the wrong waves.
According to the scheme, the auxiliary transducer is added on the ultrasonic transmission path, signals are reflected between the upstream transducer and the downstream transducer to be transmitted, two sections of transmission time are obtained in one measurement, the relation between the two sections of transmission time and the total transmission time are compared, the signal receiving and transmitting conditions of the measurement are diagnosed, whether a wrong wave phenomenon exists or not is judged, and error correction is carried out timely.
According to the scheme, the auxiliary transducer is added, so that the hardware is simple; by utilizing the characteristics of mechanical structure fixation and stable sound wave transmission in a uniform medium, whether the received signal has wrong waves or not can be diagnosed and corrected. The battery power of the ultrasonic water meter is mainly consumed in signal transmission and time measurement, and the system does not increase redundant signal transmission times and is close to the power consumption of a common system. Because the caliber of the water meter is generally smaller than DN300, the V-method structure has the measuring effect of approximate double track while the signal intensity is satisfied. When one of the upstream and downstream transducers has signal failure, the signal transmitting and receiving capability can be lost, and the receiving signal of the auxiliary transducer can be used for judging which transducer has the transmitting and receiving problem.
Preferably, the signal processing circuit includes:
the main control module is configured with a time receiving window of the time-to-digital conversion module, controls the multi-path analog switch to switch channels, and judges whether the received ultrasonic signals have wrong waves or not and corrects the wrong waves;
the multi-channel analog switch switches channels among the upstream transducer, the downstream transducer, the auxiliary transducer, the signal ground, the ultrasonic signal transmitting module and the signal amplifying and filtering module;
the time-to-digital conversion module is used for setting a signal trigger level threshold value and the time for receiving a signal;
the signal amplifying and filtering module is used for amplifying and filtering the ultrasonic signals received by the auxiliary transducer or the upstream/downstream transducers;
the ultrasonic signal transmitting module is communicated with the upstream transducer or the downstream transducer through the multi-path analog switch to transmit an ultrasonic signal;
and the signal amplitude sampling module is used for acquiring the signal amplitude after the ultrasonic signal is amplified and filtered and sending the signal amplitude to the main control module.
In the scheme, the connection between each transducer and other modules is switched by a multi-path analog switch, so that the transmission and the reception of ultrasonic signals are realized, and two sections of time of downstream transmission and two sections of time of countercurrent transmission are respectively recorded; by using the relation between the two sections of transmission time and the comparison with the total transmission time, the signal receiving and transmitting conditions of the measurement can be diagnosed, whether a wave error phenomenon exists or not can be diagnosed, and the error can be corrected in time.
Preferably, the upstream transducer and the downstream transducer are arranged on the same side in the water meter pipe, and the auxiliary transducer is arranged at the intersection point of the perpendicular bisector of the upstream transducer and the downstream transducer and the other side in the water meter pipe.
Because the caliber of the water meter is generally smaller than DN300, the V-method structure has the measuring effect of approximate double track while the signal intensity is satisfied.
A control method of a signal diagnosis device applied to an ultrasonic water meter comprises the following steps:
s1: calibrating the ratio K of the two sections of transmission distances in the process of downstream transmission or upstream transmission, and calculating the deviation percentage K of unit error waves;
s2: measuring downstream transmission time, and sequentially recording ultrasonic transmission time from an upstream transducer to an auxiliary transducer and from the auxiliary transducer to a downstream transducer through a signal processing circuit;
s3: measuring the countercurrent transmission time, and sequentially recording the ultrasonic transmission time from the downstream transducer to the auxiliary transducer and from the auxiliary transducer to the upstream transducer through a signal processing circuit;
s4: and calculating deviation according to the ultrasonic transmission time obtained by measuring the downstream transmission time and the upstream transmission time and the transmission distance ratio K, comparing the deviation with the deviation percentage K of the fault wave to judge whether the fault wave phenomenon exists or not, and adjusting a trigger level threshold.
The auxiliary transducer is added on the ultrasonic transmission path, the signal is reflected and transmitted between the upstream transducer and the downstream transducer, two sections of transmission time can be obtained in one measurement, and the relationship between the two sections of transmission time and the total transmission time are compared, so that the signal receiving and transmitting conditions of the measurement can be diagnosed, whether a wrong wave phenomenon exists or not can be diagnosed, and the error can be corrected in time.
Preferably, the step S1 specifically includes the following steps:
s101: and (3) calibrating under the condition of full pipe, wherein the ratio K of the transmission distances at two ends, which is obtained by calculation under the condition of no error wave, is as follows:
Figure 100002_DEST_PATH_IMAGE012
wherein, the first and the second end of the pipe are connected with each other,
Figure 100002_DEST_PATH_IMAGE014
a first downstream transit time for ultrasound from the upstream transducer to the auxiliary transducer;
Figure 100002_DEST_PATH_IMAGE016
a second downstream transit time for the ultrasound from the auxiliary transducer to the downstream transducer;
Figure 100002_DEST_PATH_IMAGE018
a first upstream transit time for the ultrasound from the auxiliary transducer to the upstream transducer;
Figure 100002_DEST_PATH_IMAGE020
a second upstream transit time of ultrasound from the downstream transducer to the auxiliary transducer;
s102: calculating the deviation percentage k of one wave by one wave of the current water meter according to the caliber of the water pipe;
Figure 100002_DEST_PATH_IMAGE022
Figure 100002_DEST_PATH_IMAGE024
wherein t is the duration of transmission of one wave;
d is the diameter of the water pipe;
c is the speed of sound in water;
Figure 100002_DEST_PATH_IMAGE026
the included angle between the ultrasonic path from the upstream transducer to the auxiliary transducer and the pipe wall of the water pipe is formed;
s103: the multi-path analog switch connects the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to the signal ground.
The data is calculated and used as standard data for judging whether error waves exist later.
Preferably, the step S2 specifically includes the following steps:
s201: the multi-path analog switch connects the channel of the upstream transducer with the ultrasonic signal transmitting module, the main control module configures the time receiving window of the time-to-digital conversion module as the time for the auxiliary transducer to receive signals, and sets the trigger level threshold as the level
Figure 100002_DEST_PATH_IMAGE028
S202: transmitting an ultrasonic signal and starting the timing; the multi-path analog switch switches the channel where the auxiliary transducer is located to a signal amplification filtering module;
s203: the auxiliary transducer receives the signal, and the time-to-digital conversion module obtains the ultrasonic first downstream transmission time after the signal is processed by the signal amplification and filtering module
Figure 333500DEST_PATH_IMAGE014
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a first downstream signal
Figure 100002_DEST_PATH_IMAGE030
S204: the multi-path analog switch switches the auxiliary energy converter channel switch to a signal ground, and the downstream energy converter channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time for receiving signals by the downstream transducer, and the trigger level threshold is the level
Figure 100002_DEST_PATH_IMAGE032
S205: the downstream transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and the time-to-digital conversion module obtains the second ultrasonic downstream transmission time
Figure 945878DEST_PATH_IMAGE016
(ii) a The simultaneous signal amplitude sampling module obtains a second downstream signalNumber strength
Figure 100002_DEST_PATH_IMAGE034
S206: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete downstream transmission time measurement.
Through a multi-path analog switch, the transducer is sequentially conducted with different modules for transmitting and receiving signals, so that the time of two sections of paths of downstream transmission is obtained for calculating whether wave error occurs or not.
Preferably, the step S3 specifically includes the following steps:
s301: the multi-path analog switch connects the channel of the downstream transducer with the ultrasonic signal transmitting module, the main control module configures the time receiving window of the time-to-digital conversion module as the time for the auxiliary transducer to receive the signal, and sets the trigger level threshold as the level
Figure 100002_DEST_PATH_IMAGE036
S302: transmitting an ultrasonic signal and starting the timing; the multi-path analog switch switches the channel where the auxiliary transducer is located to the signal amplification and filtering module;
s303: the auxiliary transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the first ultrasonic countercurrent transmission time
Figure 344629DEST_PATH_IMAGE018
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of the first countercurrent signal
Figure 100002_DEST_PATH_IMAGE038
S304: the multi-channel analog switch switches the auxiliary transducer channel switch to a signal ground, and the upstream transducer channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time for the upstream transducer to receive the signal, and the trigger level threshold is the level
Figure 100002_DEST_PATH_IMAGE040
S305: the upstream transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the second ultrasonic countercurrent transmission time
Figure 643980DEST_PATH_IMAGE020
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a second countercurrent signal
Figure 100002_DEST_PATH_IMAGE042
S306: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete the measurement of the upstream transmission time.
Through a multi-path analog switch, the transducer is sequentially conducted with different modules for transmitting and receiving signals, so that the time of two sections of paths of countercurrent transmission is obtained for calculating whether wave error occurs or not.
Preferably, the step S4 specifically includes the following steps:
s401: calculating the deviation of downstream transmission
Figure DEST_PATH_IMAGE044
Figure DEST_PATH_IMAGE046
S402: comparing the deviations
Figure 495393DEST_PATH_IMAGE044
Determining the deviation percentage k from unit error wave, determining the number of error waves transmitted downstream, and sequentially adjusting the level
Figure 239358DEST_PATH_IMAGE032
Sum level
Figure 492616DEST_PATH_IMAGE028
S403: order to
Figure DEST_PATH_IMAGE048
Calculating the deviation of the counter-current transmission
Figure DEST_PATH_IMAGE050
Figure DEST_PATH_IMAGE052
S404: comparing the deviations
Figure 499886DEST_PATH_IMAGE050
Deviation percentage k from unit error wave, adjustment level
Figure 963229DEST_PATH_IMAGE036
To make
Figure 386251DEST_PATH_IMAGE050
Approximately equal to k.
And diagnosing the signal receiving and transmitting condition of the measurement by using the relation between the two sections of transmission time and the total transmission time, judging whether a wave error phenomenon exists or not, and correcting the error in time.
The beneficial effects of the invention are:
1. only one additional auxiliary transducer is added, and the characteristics of mechanical structure fixation and stable sound wave transmission in a uniform medium are utilized, so that whether the received signal has wrong waves or not is diagnosed and corrected, the structure is simple, and the cost is low.
2. The unnecessary signal emission times are not increased, the power consumption is similar to that of a common system, and the energy consumption is low.
3. The V-method structure has the measurement effect of approximate double sound channels while the signal intensity is satisfied.
4. When one of the upstream and downstream transducers has signal failure, the receiving signal of the auxiliary transducer is used to judge which transducer has the problem of transmitting and receiving.
Drawings
Fig. 1 is a block diagram of a schematic circuit connection configuration of the signal diagnosis device of the present invention.
FIG. 2 is a schematic view of the transducer mounting location of the present invention.
In the figure, 1, an upstream transducer, 2, a downstream transducer, 3, an auxiliary transducer, 4, a signal processing circuit, 41, a main control module, 42, a multi-path analog switch, 43, a time-to-digital conversion module, 44, a signal amplification and filtering module, 45, an ultrasonic signal transmitting module, 46 and a signal amplitude sampling module are arranged.
Detailed Description
The technical scheme of the invention is further specifically described by the following embodiments and the accompanying drawings.
The embodiment is as follows:
in the control method of the signal diagnosis device applied to the ultrasonic water meter of the embodiment, as shown in fig. 2, the device comprises an upstream transducer 1, a downstream transducer 2 and an auxiliary transducer 3.
The upstream transducer 1 and the downstream transducer 2 are arranged on the same side of the water meter pipe, and the auxiliary transducer 3 is arranged on the other side of the water meter pipe. The auxiliary transducer 3 is disposed on the midperpendicular of the upstream transducer 1 and the downstream transducer 2.
Because the caliber of the water meter is generally smaller than DN300, the V-method structure has the measuring effect of approximate double track while the signal intensity is satisfied.
As shown in fig. 1, the apparatus further comprises a signal processing circuit 4. The signal processing circuit 4 specifically includes a main control module 41, a multi-channel analog switch 42, a time-to-digital conversion module 43, a signal amplification and filtering module 44, an ultrasonic signal transmitting module 45, and a signal amplitude sampling module.
The upstream transducer 1, the downstream transducer 2 and the auxiliary transducer 3 are respectively connected with channels of a multi-channel analog switch 42, and the multi-channel analog switch 42 is also respectively connected with an output end of an ultrasonic signal transmitting module 45 and an input end of a signal amplifying and filtering module 44. The control end of the multi-path analog switch 42 is connected with the control output end of the main control module 41.
The multi-channel analog switch 42 is controlled by the main control module 41 to switch the channels between the upstream transducer 1, the downstream transducer 2 and the auxiliary transducer 3 and the signal ground, the ultrasonic signal transmitting module 45 and the signal amplifying and filtering module 44.
The output end of the ultrasonic signal transmitting module 45 is connected with the multi-path analog switch 42, the control end of the ultrasonic signal transmitting module 45 is connected with the time-to-digital conversion module 43, and the ultrasonic signal transmitting module 45 is conducted with the upstream transducer 1 or the downstream transducer 2 through the multi-path analog switch 42 to transmit ultrasonic signals.
The signal amplitude sampling module 46 collects the signal amplitude after the ultrasonic signal amplification and filtering, and sends the signal amplitude to the main control module 41.
The signal amplifying and filtering module 44 amplifies and filters the ultrasonic signals received by the auxiliary transducer 3 or the upstream/downstream transducers.
The time-to-digital conversion module 41 is a TDC module with adjustable threshold, and the time-to-digital conversion module 41 adjusts the threshold and measures the time window parameter through a single chip microcomputer control.
The main control module 41 is configured to configure a time receiving window of the time-to-digital conversion module 43, control the multi-channel analog switch 42 to switch channels, and disconnect whether a wrong wave exists in the received ultrasonic signal and correct the wrong wave. In this embodiment, the main control module 41 is a single chip.
The auxiliary transducer is added on the ultrasonic transmission path, signals are reflected between the upstream transducer and the downstream transducer to be transmitted, two sections of transmission time are obtained in one measurement, the relation between the two sections of transmission time and the total transmission time are compared, the signal receiving and transmitting conditions of the measurement are diagnosed, whether a wrong wave phenomenon exists or not is judged, and error correction is carried out in time.
The control method of the signal diagnosis device applied to the ultrasonic water meter comprises the following steps:
s1: and calibrating the ratio K of the two sections of transmission distances in the forward flow transmission or reverse flow transmission process, and calculating the deviation percentage K of the unit error wave.
S101: and (3) calibrating under the condition of full pipe, wherein the ratio K of the transmission distances at two ends, which is obtained by calculation under the condition of no error wave, is as follows:
Figure DEST_PATH_IMAGE012A
wherein,
Figure 946545DEST_PATH_IMAGE014
An ultrasonic first downstream transit time from the upstream transducer to the auxiliary transducer;
Figure 452613DEST_PATH_IMAGE016
a second downstream transit time for the ultrasound from the auxiliary transducer to the downstream transducer;
Figure 137672DEST_PATH_IMAGE018
a first upstream transit time for the ultrasound from the auxiliary transducer to the upstream transducer;
Figure 364385DEST_PATH_IMAGE020
the ultrasonic second upstream transit time from the downstream transducer to the auxiliary transducer.
Due to production inconsistency, the specific algorithm is implemented by first performing a ratio K of two transmission distances of the factory calibration signal.
S102: calculating the deviation percentage k of the current water meter by one wave according to the caliber of the water pipe;
Figure DEST_PATH_IMAGE022A
Figure DEST_PATH_IMAGE024A
wherein t is the duration of transmission of one wave;
d is the diameter of the water pipe;
c is the speed of sound in water;
Figure 248028DEST_PATH_IMAGE026
the included angle between the ultrasonic path from the upstream transducer to the auxiliary transducer and the wall of the water pipe is formed.
Figure 597100DEST_PATH_IMAGE014
The unit of (b) is us; for example, if the water meter misses 1 wave (1 MHz), the time duration t for transmitting one wave is 1us.
S103: the multi-path analog switch connects the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to the signal ground.
S2: and measuring the downstream transmission time, and sequentially recording the ultrasonic transmission time from the upstream transducer to the auxiliary transducer and from the auxiliary transducer to the downstream transducer through a signal processing circuit.
S201: the multi-path analog switch connects the channel where the upstream transducer is located with the ultrasonic signal transmitting module;
the main control module sends an instruction to the time-to-digital conversion module, a time receiving window (the receiving time window is calculated by mechanical size and the propagation speed of sound waves in a medium) of the time-to-digital conversion module is configured as the time for the auxiliary transducer to receive signals, and a trigger level threshold is set to be a level
Figure DEST_PATH_IMAGE054
(e.g., 400 mV).
S202: the time digital conversion module controls the ultrasonic signal transmitting module to transmit the ultrasonic signal and starts the timing. And after short time delay, the multi-channel analog switch immediately switches the channel where the auxiliary transducer is located to the signal amplification and filtering module by the main control module.
S203: the auxiliary transducer receives the signal, and the time-to-digital conversion module obtains the ultrasonic first downstream transmission time after the signal is processed by the signal amplification and filtering module
Figure 316926DEST_PATH_IMAGE014
(ii) a At the same time, the time-to-digital conversion module interrupts and informs the main control module to start signal intensity sampling, and the signal amplitude sampling module obtains the first downstream signal intensity
Figure 331018DEST_PATH_IMAGE030
S204: the multi-path analog switch switches the auxiliary energy converter channel switch to a signal ground, and the downstream energy converter channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time for the downstream transducer to receive signals, and the trigger level threshold is the level
Figure 538009DEST_PATH_IMAGE032
Due to signal attenuation, level
Figure 120300DEST_PATH_IMAGE032
Need to be lower than electrical level
Figure 407316DEST_PATH_IMAGE028
Depending on the transducer characteristics, for example 300mV.
S205: the downstream transducer receives the signal, and the time-to-digital conversion module obtains the second ultrasonic downstream transmission time after the signal is processed by the signal amplification and filtering module
Figure 366045DEST_PATH_IMAGE016
(ii) a At the same time, the time-to-digital conversion module interrupts to inform the main control module of starting signal intensity sampling, and the signal amplitude value sampling module obtains the second downstream signal intensity
Figure 161963DEST_PATH_IMAGE034
S206: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete downstream transmission time measurement.
S3: and measuring the upstream transmission time, and sequentially recording the ultrasonic transmission time from the downstream transducer to the auxiliary transducer and from the auxiliary transducer to the upstream transducer through a signal processing circuit.
S301: the multi-path analog switch connects the channel where the downstream transducer is located with the ultrasonic signal transmitting module;
the main control module configures a time receiving window of the time-to-digital conversion module as the time for the auxiliary transducer to receive signals, and sets a trigger level threshold as a level
Figure 39789DEST_PATH_IMAGE036
S302: transmitting an ultrasonic signal and starting the timing; and the multi-path analog switch switches the channel where the auxiliary transducer is located to the signal amplification and filtering module.
S303: the auxiliary transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the first ultrasonic countercurrent transmission time
Figure 186736DEST_PATH_IMAGE018
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a first countercurrent signal
Figure 558943DEST_PATH_IMAGE038
S304: the multi-channel analog switch switches the auxiliary transducer channel switch to a signal ground, and the upstream transducer channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time when the upstream transducer receives the signal, and the trigger level threshold is the level
Figure 474946DEST_PATH_IMAGE040
S305: the upstream transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the second ultrasonic countercurrent transmission time
Figure 399040DEST_PATH_IMAGE020
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a second countercurrent signal
Figure 892338DEST_PATH_IMAGE042
S306: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete the measurement of the upstream transmission time.
S4: and calculating deviation according to the ultrasonic transmission time obtained by measuring the downstream transmission time and the upstream transmission time and the transmission distance ratio K, comparing the deviation with the deviation percentage K of the fault wave to judge whether the fault wave phenomenon exists or not, and adjusting a trigger level threshold.
S401: calculating the deviation of downstream transmission
Figure 192870DEST_PATH_IMAGE044
Figure DEST_PATH_IMAGE046A
S402: comparing the deviations
Figure 307587DEST_PATH_IMAGE044
Deviation percentage k from unit error wave, determining error wave number of downstream transmission, and regulating level in turn
Figure 137003DEST_PATH_IMAGE032
Sum level
Figure 383177DEST_PATH_IMAGE028
If it is
Figure 221820DEST_PATH_IMAGE044
Close to k, this indicates
Figure 846836DEST_PATH_IMAGE016
Leak 1 wave if
Figure 988099DEST_PATH_IMAGE044
Multiple of k, then illustrate
Figure 331355DEST_PATH_IMAGE016
By omitting to record a plurality of waves, the threshold level is lowered for the next measurement
Figure 239268DEST_PATH_IMAGE032
Experience in the course of adjustment
Figure 109004DEST_PATH_IMAGE044
Approximately equal to 0 (without error wave)Then to
Figure 545802DEST_PATH_IMAGE044
Approximately equal to-k (1 wave of multiple notes),
Figure 376355DEST_PATH_IMAGE032
taking the intermediate value between the threshold value when no error occurs and the threshold value when 1 wave is recorded more, and keeping
Figure 697746DEST_PATH_IMAGE032
Is not changed and is adjusted
Figure 31775DEST_PATH_IMAGE028
To
Figure 905053DEST_PATH_IMAGE014
The timing has no intermediate value between the error wave threshold and the threshold when the 1 wave is recorded more.
S403: order to
Figure 81956DEST_PATH_IMAGE048
Due to the symmetry of the forward and reverse currents, the flow is not uniform
Figure 66093DEST_PATH_IMAGE040
The same wave can be stably triggered; calculating the deviation of the counter-current transmission
Figure 785787DEST_PATH_IMAGE050
Figure DEST_PATH_IMAGE052A
S404: comparing the deviations
Figure 908595DEST_PATH_IMAGE050
Deviation percentage k from unit error wave, adjustment level
Figure 572795DEST_PATH_IMAGE036
To make
Figure 360622DEST_PATH_IMAGE050
Approximately equal to k.
At this point, the threshold level is basically adjusted, and the threshold value does not need to be adjusted in real time in the subsequent flow measurement process, and is compared with a formula
Figure DEST_PATH_IMAGE056
If it occurs during the measurement
Figure DEST_PATH_IMAGE058
When the signal strength is stable, the reference threshold level of a certain section of time can be flexibly selected according to the fluctuation condition of the receiving time, and then the rest thresholds are calibrated one by one.
According to the scheme, the auxiliary transducer is added on the ultrasonic transmission path, signals are reflected between the upstream transducer and the downstream transducer to be transmitted, two sections of transmission time are obtained in one measurement, the relation between the two sections of transmission time and the total transmission time are compared, the signal receiving and transmitting conditions of the measurement are diagnosed, whether a wrong wave phenomenon exists or not is judged, and error correction is carried out timely.
The scheme of the embodiment has simple hardware by adding one auxiliary transducer; by utilizing the characteristics of mechanical structure fixation and stable sound wave transmission in a uniform medium, whether the received signal has wrong waves or not can be diagnosed and corrected.
The battery power of the ultrasonic water meter is mainly consumed in signal transmission and time measurement, and the system does not increase redundant signal transmission times and is close to the power consumption of a common system.
Because the caliber of the water meter is generally smaller than DN300, the V-method structure has the measuring effect of approximate double sound channels while the signal intensity is satisfied. When one of the upstream and downstream transducers has signal failure, the signal transmitting and receiving capability can be lost, and the receiving signal of the auxiliary transducer can be used for judging which transducer has the transmitting and receiving problem.
It should be understood that the examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.

Claims (5)

1. A control method of a signal diagnosis device applied to an ultrasonic water meter is characterized in that,
the signal diagnosis device applied comprises:
an upstream transducer (1) for transmitting an upstream ultrasonic signal or receiving a downstream ultrasonic signal reflected by the auxiliary transducer (3);
a downstream transducer (2) for transmitting a downstream ultrasonic signal or receiving an upstream ultrasonic signal reflected by the auxiliary transducer (3);
an auxiliary transducer (3) reflecting the ultrasonic signal transmitted by the upstream transducer or the downstream transducer;
the signal processing circuit (4) controls the upstream transducer and the downstream transducer to transmit or receive ultrasonic signals, respectively obtains the time for the auxiliary transducer and the upstream/downstream transducers to receive the ultrasonic signals, diagnoses whether the received ultrasonic signals have wrong waves and corrects the wrong waves;
the control method comprises the following steps:
s1: calibrating the ratio K of the two sections of transmission distances in the process of downstream transmission or upstream transmission, and calculating the deviation percentage K of unit error waves;
s2: measuring downstream transmission time, and sequentially recording ultrasonic transmission time from an upstream transducer to an auxiliary transducer and from the auxiliary transducer to a downstream transducer through a signal processing circuit;
s3: measuring the countercurrent transmission time, and sequentially recording the ultrasonic transmission time from the downstream transducer to the auxiliary transducer and from the auxiliary transducer to the upstream transducer through a signal processing circuit;
s4: calculating deviation according to ultrasonic transmission time obtained by measuring downstream transmission time and upstream transmission time and a transmission distance ratio K, comparing the deviation with a deviation percentage K of a fault wave to judge whether the fault wave phenomenon exists or not, and adjusting a trigger level threshold;
the step S1 specifically includes the following steps:
s101: the calibration is carried out under the condition of full pipe, and the ratio K of the transmission distances at two ends, which is obtained by calculation under the condition of no error wave, is as follows:
Figure DEST_PATH_IMAGE002
wherein, the first and the second end of the pipe are connected with each other,
Figure DEST_PATH_IMAGE004
an ultrasonic first downstream transit time from the upstream transducer to the auxiliary transducer;
Figure DEST_PATH_IMAGE006
a second downstream transit time for the ultrasound from the auxiliary transducer to the downstream transducer;
Figure DEST_PATH_IMAGE008
a first upstream transit time for the ultrasound from the auxiliary transducer to the upstream transducer;
Figure DEST_PATH_IMAGE010
a second upstream transit time of ultrasound from the downstream transducer to the auxiliary transducer;
s102: calculating the deviation percentage k of one wave by one wave of the current water meter according to the caliber of the water pipe;
Figure DEST_PATH_IMAGE012
Figure DEST_PATH_IMAGE014
wherein t is the duration of transmission of one wave;
d is the diameter of the water pipe;
c is the speed of sound in water;
Figure DEST_PATH_IMAGE016
the included angle between the ultrasonic path from the upstream transducer to the auxiliary transducer and the pipe wall of the water pipe is formed;
s103: the multi-path analog switch connects the channels where the upstream transducer, the downstream transducer and the auxiliary transducer are located to a signal ground;
the step S4 specifically includes the following steps:
s401: calculating deviation of downstream transmission
Figure DEST_PATH_IMAGE018
Figure DEST_PATH_IMAGE020
S402: comparing the deviations
Figure 215954DEST_PATH_IMAGE018
Determining the deviation percentage k from unit error wave, determining the number of error waves transmitted downstream, and sequentially adjusting the level
Figure DEST_PATH_IMAGE022
Sum level
Figure DEST_PATH_IMAGE024
S403: order to
Figure DEST_PATH_IMAGE026
Calculating the deviation of the countercurrent transmission
Figure DEST_PATH_IMAGE028
Figure DEST_PATH_IMAGE030
S404: comparing the deviations
Figure 618248DEST_PATH_IMAGE028
Deviation percentage k from unit error wave, adjustment level
Figure DEST_PATH_IMAGE032
To make
Figure 460302DEST_PATH_IMAGE028
Approximately equal to k.
2. The method of controlling a signal diagnosing apparatus applied to an ultrasonic water meter as set forth in claim 1, wherein the signal processing circuit includes:
the main control module (41) is configured with a time receiving window of the time-to-digital conversion module, controls the switching channels of the multi-channel analog switch, and judges whether the received ultrasonic signals have wrong waves or not and corrects the wrong waves;
the multi-channel analog switch (42) switches channels among the upstream transducer, the downstream transducer, the auxiliary transducer, the signal ground, the ultrasonic signal transmitting module and the signal amplifying and filtering module;
a time-to-digital conversion module (43) for setting a signal trigger level threshold and a time for receiving a signal;
the signal amplification and filtering module (44) amplifies and filters the ultrasonic signals received by the auxiliary transducer or the upstream/downstream transducer;
the ultrasonic signal transmitting module (45) is communicated with the upstream transducer or the downstream transducer through a multi-path analog switch to transmit an ultrasonic signal;
and the signal amplitude sampling module (46) is used for acquiring the signal amplitude after the ultrasonic signal amplification and filtration and sending the signal amplitude to the main control module.
3. The method of claim 1, wherein the upstream transducer and the downstream transducer are disposed on the same side of the meter pipe, and the auxiliary transducer is disposed at an intersection of the perpendicular bisector of the upstream transducer and the downstream transducer and the opposite side of the meter pipe.
4. The method as claimed in claim 1, wherein the step S2 includes the following steps:
s201: the multi-channel analog switch connects the channel where the upstream transducer is located with the ultrasonic signal transmitting module, the main control module configures a time receiving window of the time-to-digital conversion module as the time for the auxiliary transducer to receive signals, and sets a trigger level threshold as a level
Figure 199719DEST_PATH_IMAGE024
S202: transmitting an ultrasonic signal and starting the timing; the multi-path analog switch switches the channel where the auxiliary transducer is located to the signal amplification and filtering module;
s203: the auxiliary transducer receives the signal, and the time-to-digital conversion module obtains the ultrasonic first downstream transmission time after the signal is processed by the signal amplification and filtering module
Figure 482933DEST_PATH_IMAGE004
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a first downstream signal
Figure DEST_PATH_IMAGE034
S204: the multi-channel analog switch switches the auxiliary transducer channel switch to a signal ground, and the downstream transducer channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time for the downstream transducer to receive signals, and the trigger level threshold is the level
Figure 711920DEST_PATH_IMAGE022
S205: the downstream transducer receives the signal and amplifies and filters the signalThe time digital conversion module obtains the second ultrasonic downstream transmission time after the wave module processes
Figure 713374DEST_PATH_IMAGE006
(ii) a The signal amplitude sampling module obtains the strength of a second downstream signal
Figure DEST_PATH_IMAGE036
S206: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete downstream transmission time measurement.
5. The method as claimed in claim 1, wherein the step S3 includes the following steps:
s301: the multi-channel analog switch connects the channel where the downstream transducer is located with the ultrasonic signal transmitting module, the main control module configures a time receiving window of the time-to-digital conversion module as the time for the auxiliary transducer to receive signals, and sets a trigger level threshold as a level
Figure 974591DEST_PATH_IMAGE032
S302: transmitting an ultrasonic signal and starting the timing; the multi-path analog switch switches the channel where the auxiliary transducer is located to the signal amplification and filtering module;
s303: the auxiliary transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the ultrasonic first countercurrent transmission time
Figure 112311DEST_PATH_IMAGE008
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a first countercurrent signal
Figure DEST_PATH_IMAGE038
S304: the multi-way analog switch switches the auxiliary transducer channel switch to signal ground,the upstream transducer channel is switched to a signal amplification and filtering module; the time-to-digital conversion module configures a time receiving window as the time when the upstream transducer receives the signal, and the trigger level threshold is the level
Figure DEST_PATH_IMAGE040
S305: the upstream transducer receives the signal, the signal is processed by the signal amplifying and filtering module, and then the time-to-digital conversion module obtains the second ultrasonic countercurrent transmission time
Figure 246620DEST_PATH_IMAGE010
(ii) a Meanwhile, the signal amplitude sampling module obtains the strength of a second countercurrent signal
Figure DEST_PATH_IMAGE042
S306: and connecting the channels of the upstream transducer, the downstream transducer and the auxiliary transducer to a signal ground to complete the measurement of the upstream transmission time.
CN202210168816.XA 2022-02-23 2022-02-23 Control method of signal diagnosis device applied to ultrasonic water meter Active CN114459576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210168816.XA CN114459576B (en) 2022-02-23 2022-02-23 Control method of signal diagnosis device applied to ultrasonic water meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210168816.XA CN114459576B (en) 2022-02-23 2022-02-23 Control method of signal diagnosis device applied to ultrasonic water meter

Publications (2)

Publication Number Publication Date
CN114459576A CN114459576A (en) 2022-05-10
CN114459576B true CN114459576B (en) 2022-11-29

Family

ID=81415583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210168816.XA Active CN114459576B (en) 2022-02-23 2022-02-23 Control method of signal diagnosis device applied to ultrasonic water meter

Country Status (1)

Country Link
CN (1) CN114459576B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115527502B (en) * 2022-08-04 2024-04-05 浙江迪元仪表有限公司 Intelligent water meter backlight control system and method based on infrared induction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10254053A1 (en) * 2002-11-19 2004-06-03 Endress + Hauser Flowtec Ag, Reinach Method and device for determining and / or monitoring a volume and / or mass flow
CN102589627A (en) * 2012-02-23 2012-07-18 北京理工大学 Absolute propagation time measuring method for ultrasonic flow meter
CN104296814A (en) * 2014-11-10 2015-01-21 厦门大学 Flow measuring device for sewage containing solid garbage
CN111473827A (en) * 2020-05-28 2020-07-31 宁波大学 V-shaped sound channel zero drift elimination method
CN113917184A (en) * 2021-09-03 2022-01-11 新开普电子股份有限公司 Ultrasonic speed measurement method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
HUP0700785A2 (en) * 2007-12-05 2009-06-29 Thormed Kft Method and apparatus for determining the flow parameters of a streaming medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10254053A1 (en) * 2002-11-19 2004-06-03 Endress + Hauser Flowtec Ag, Reinach Method and device for determining and / or monitoring a volume and / or mass flow
CN102589627A (en) * 2012-02-23 2012-07-18 北京理工大学 Absolute propagation time measuring method for ultrasonic flow meter
CN104296814A (en) * 2014-11-10 2015-01-21 厦门大学 Flow measuring device for sewage containing solid garbage
CN111473827A (en) * 2020-05-28 2020-07-31 宁波大学 V-shaped sound channel zero drift elimination method
CN113917184A (en) * 2021-09-03 2022-01-11 新开普电子股份有限公司 Ultrasonic speed measurement method and device

Also Published As

Publication number Publication date
CN114459576A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN103630174B (en) A kind of flow-measuring method of ultrasonic flow meter
CN112304375B (en) Ultrasonic flow sensor and flow measurement method thereof
CN109579950B (en) Mistake proofing ripples detection device of gaseous ultrasonic flowmeter
CA2557432A1 (en) Ultrasonic flowmeter and ultrasonic flow rate measurement method
CN107131918B (en) Echo signal processing method and circuit of low-power-consumption ultrasonic flowmeter
JP2002162269A (en) Ultrasonic flowmeter by propagation time difference system
CN114459576B (en) Control method of signal diagnosis device applied to ultrasonic water meter
JP2007187506A (en) Ultrasonic flowmeter
CN113558659B (en) High-precision ultrasonic lung function detector and detection method thereof
JP4561088B2 (en) Ultrasonic flow meter
JP4760115B2 (en) Fluid flow measuring device
JP7343350B2 (en) Ultrasonic flow meter and flow measurement method
CN110515082B (en) Automatic range finding system based on ultrasonic wave
WO2014006881A1 (en) Flow quantity measuring apparatus
CN102023038B (en) Ultrasonic measurement method for pipeline flux
JP4153721B2 (en) Ultrasonic flowmeter and self-diagnosis method of ultrasonic flowmeter
JP4292620B2 (en) Flow measuring device
Ma Ultrasonic Gas Flowmeter Based on Dynamic Reference Waveform Cross-Correlation Algorithm
CN110455360B (en) Ultrasonic water meter
JP3624743B2 (en) Ultrasonic flow meter
JP2000283820A (en) Gas meter
CN114295169B (en) Automatic adjustment system and method for ultrasonic signals of gas ultrasonic flowmeter
CN116338240B (en) Ultrasonic liquid flow velocity measurement method and device based on parabolic fitting
CN115077639B (en) Measuring method for ultrasonic flowmeter
JPH03233395A (en) Sound wavepropagation time measuring method

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