[go: up one dir, main page]

CN119828111A - Measuring device, measuring method and measuring equipment for sonic wave flight time - Google Patents

Measuring device, measuring method and measuring equipment for sonic wave flight time Download PDF

Info

Publication number
CN119828111A
CN119828111A CN202510065014.XA CN202510065014A CN119828111A CN 119828111 A CN119828111 A CN 119828111A CN 202510065014 A CN202510065014 A CN 202510065014A CN 119828111 A CN119828111 A CN 119828111A
Authority
CN
China
Prior art keywords
transducer
time
pulse
zero
span time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510065014.XA
Other languages
Chinese (zh)
Inventor
金传恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huichuan Lixing Technology Co ltd
Original Assignee
Beijing Huichuan Lixing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huichuan Lixing Technology Co ltd filed Critical Beijing Huichuan Lixing Technology Co ltd
Priority to CN202510065014.XA priority Critical patent/CN119828111A/en
Publication of CN119828111A publication Critical patent/CN119828111A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The application discloses a measuring device, a measuring method and measuring equipment for sonic wave flight time, and belongs to the field of sonic wave flight time measurement. The measuring device for the sonic flight time comprises a control module, a pulse generating unit, a transducer assembly, a first span time measuring unit, a second span time measuring unit, a first comparator and a second comparator, wherein the first span time measuring unit, the second span time measuring unit and the pulse generating unit are electrically connected with the control module, the pulse generating unit is electrically connected with the transducer assembly, the first span time measuring unit and the second span time measuring unit respectively, the transducer assembly is electrically connected with the first comparator and the second comparator respectively, the first comparator is electrically connected with the first span time measuring unit, the second comparator is electrically connected with the second span time measuring unit, the pulse generating unit is used for generating and outputting periodic initial pulse groups, and the transducer assembly is used for generating and transmitting sonic groups when receiving the initial pulse groups.

Description

Measuring device, measuring method and measuring equipment for sonic wave flight time
Technical Field
The application belongs to the field of measurement of acoustic wave flight time, and particularly relates to a measurement device, a measurement method and equipment of acoustic wave flight time.
Background
Along with the development of technology, the application of measuring by sound waves (including infrasonic waves, sound waves with audible frequencies of human ears and ultrasonic waves) is becoming wider and wider, taking ultrasonic wave flight time measurement as an example, specifically, ultrasonic waves are transmitted in a measuring tube, the transmission time is influenced by the type of fluid in the measuring tube, the flow rate and the like of the fluid, so that parameter values of parameters such as the flow rate and the flow rate of the fluid in the measuring tube can be determined by measuring the flight time of the ultrasonic waves in the measuring tube and combining parameters such as the propagation speed of the ultrasonic waves in the fluid. One or more groups of transducers are arranged at two ends of the measuring tube, one end of the measuring tube is used as an excitation transducer, the other end of the measuring tube is used as a response transducer, ultrasonic waves are generated after the excitation transducer is excited, the ultrasonic waves propagate in fluid in the measuring tube and then propagate to the response transducer, the time of the ultrasonic waves propagating in the fluid in the measuring tube is regarded as the time interval from the excitation transducer to the time of the response transducer receiving the ultrasonic waves, and the time of the ultrasonic waves propagating in the fluid in the measuring tube is also called the flying time of ultrasonic waves. By setting the position and orientation of the transducer assembly, sonic fly-time measurement techniques may also be used for ultrasonic ranging. However, in the related art, the measuring device and the measuring method for measuring the sonic flight time aiming at the flight time of ultrasonic flight are complex, which is not beneficial to engineering realization and practical application of the measuring device.
Disclosure of Invention
The embodiment of the application aims to provide a measuring device, a measuring method and equipment for sonic flying time, at least solving the problem that the measuring device and the measuring method for sonic flying time for measuring the flying time of ultrasonic flying are complex, thereby being more beneficial to engineering realization and practical application of the measuring device.
In a first aspect, an embodiment of the present application provides an apparatus for measuring acoustic wave flight time, where the apparatus includes a control module, a pulse generating unit, a transducer assembly, a first span time measuring unit, a second span time measuring unit, a first comparator, and a second comparator;
The pulse generation unit is respectively and electrically connected with the transducer assembly, the first span time measurement unit and the second span time measurement unit, the transducer assembly is respectively and electrically connected with the first comparator and the second comparator, the first comparator is electrically connected with the first span time measurement unit, and the second comparator is electrically connected with the second span time measurement unit;
The pulse generating unit is used for generating and outputting periodic initial pulse groups, the transducer assembly is used for generating and transmitting acoustic wave groups when receiving the initial pulse groups, and the transducer assembly is also used for generating response voltage wave groups when receiving the acoustic wave groups, and the response voltage wave groups can be transmitted to the first comparator and the second comparator;
The first comparator is used for performing non-zero comparison and outputting a non-zero comparison pulse signal to the first span time measuring unit, the second comparator is used for performing zero-crossing comparison or performing non-zero comparison firstly and then performing zero-crossing comparison and outputting a zero-crossing comparison pulse signal to the second span time measuring unit, the first span time measuring unit is used for measuring the reference span time of the non-zero comparison pulse to obtain a measured value thereof and sending the measured value to the control module, and the second span time measuring unit is used for measuring the reference span time of the zero-crossing comparison pulse to obtain the measured value thereof and sending the measured value thereof to the control module;
The control module is used for determining the reference span time of the non-zero comparison pulse according to the measured value of the reference span time of the non-zero comparison pulse, determining the reference span time of the zero-crossing comparison pulse according to the measured value of the reference span time of the zero-crossing comparison pulse, determining whether attenuation of a response voltage wave occurs according to the reference span time of the non-zero comparison pulse, stopping measuring the sound wave flying time of the sound wave group when the attenuation of the response voltage wave is greater than or equal to a preset attenuation threshold value, and determining the sound wave flying time of the sound wave group based on the reference span time of the zero-crossing comparison pulse.
Optionally, the measuring device of the sonic wave flight time further comprises a pulse counting unit;
The pulse counting unit is respectively and electrically connected with the control module and the first comparator, and is used for counting the number of non-zero comparison pulse signals transmitted to the pulse counting unit and transmitting the counted number of the non-zero comparison pulse signals to the control module.
Optionally, the measuring device of the acoustic wave flying time further comprises an analog gating device;
The analog gate is electrically connected with the pulse generating unit and the transducer assembly, and the analog gate is electrically connected with the first comparator and the second comparator, and the analog gate is switched on so as to enable an excitation voltage wave group corresponding to an initial pulse group sent by the pulse generating unit to be transmitted to the first comparator and the second comparator, or enable a response voltage wave group generated by the transducer assembly to be transmitted to the first comparator and the second comparator.
Optionally, the measuring device of the sonic wave flying time further comprises a first output buffer and a second output buffer, and the transducer assembly comprises a first transducer and a second transducer;
the first output buffer is respectively and electrically connected with the pulse generating unit and the first transducer, and the second output buffer is respectively and electrically connected with the pulse generating unit and the second transducer;
One of the first transducer and the second transducer is used as an excitation transducer, the other is used as a response transducer, when the first output buffer is configured in an output state, the second output buffer is configured in an off state, the first output buffer provides excitation voltage and current for the first transducer so that the first transducer is used as the excitation transducer, the second transducer is used as the response transducer, the first transducer generates and emits a sound wave group, the second transducer receives the sound wave group and generates a response voltage wave group, the response transducer is electrically connected with the comparator, and when the second output buffer is configured in the output state, the second output buffer provides excitation voltage and current for the second transducer so that the second transducer is used as the excitation transducer, the first transducer is used as the response transducer, the second transducer generates and emits the sound wave group, and the first transducer receives the sound wave group and generates the response voltage wave group, and the second output buffer is electrically connected with the comparator.
Optionally, the measuring device of the sonic wave flight time further comprises a measuring tube;
One of the first transducer and the second transducer is arranged at the first end of the measuring tube, and the other transducer is arranged at the second end of the measuring tube.
Optionally, the measuring device of the sonic wave flight time further comprises a third output buffer, and the transducer assembly comprises a third transducer;
The third output buffer is electrically connected with the pulse generating unit and the third transducer, respectively.
Optionally, the measuring device of the sonic wave transition time further comprises a reference voltage generating component, wherein the reference voltage generating component is electrically connected with the first comparator and the second comparator respectively, and the reference voltage generating component is used for transmitting reference voltages to the first comparator and the second comparator.
Optionally, the measuring device of the sound wave flying time further comprises a first coupling capacitor and a second coupling capacitor, and the transducer assembly comprises a first transducer and a second transducer;
the first coupling capacitor is electrically connected with the first transducer, and the second coupling capacitor is electrically connected with the second transducer;
The first coupling capacitor is used for coupling the response voltage of the first transducer to the first comparator and the second comparator when the first transducer is used as a response transducer, and the second coupling capacitor is used for coupling the response voltage of the second transducer to the first comparator and the second comparator when the second transducer is used as a response transducer.
Optionally, the measuring device of the sonic wave flying time further comprises a third coupling capacitor, and the transducer assembly comprises a third transducer;
the third coupling capacitor is electrically connected with the third transducer;
wherein the third coupling capacitance is for coupling a response voltage of a third transducer to the first comparator and the second comparator when the third transducer is acting as a response transducer.
In a second aspect, an embodiment of the present application provides a method for measuring acoustic wave flight time, which is applied to the apparatus for measuring acoustic wave flight time in any one of the first aspect, where the method includes:
Acquiring a first measured value of the first span time measuring unit and a second measured value of the second span time measuring unit, wherein the first measured value comprises a measured value of a reference span time of a non-zero comparison pulse, and the second measured value comprises a measured value of a reference span time of a zero-crossing comparison pulse;
determining a reference span time of the non-zero comparison pulse based on the first measurement value and serving as a first reference span time, and determining a reference span time of the zero-crossing comparison pulse based on the second measurement value and serving as a second reference span time;
Determining whether a decay occurs in the response voltage wave based on the first reference span time;
And stopping measuring the sound wave flying time of the sound wave group when the attenuation amount of the response voltage wave is larger than or equal to a preset attenuation threshold value, and determining the sound wave flying time of the sound wave group based on the second reference span time.
Optionally, the determining whether the attenuation of the response voltage wave occurs based on the first reference span time includes:
Determining the reference span time of three continuous non-zero comparison pulses, wherein the reference span time of the three non-zero comparison pulses are sequentially ordered according to a time sequence;
Determining a difference between the reference span time of the third non-zero comparison pulse and the reference span time of the second non-zero comparison pulse, and determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a first difference, and as a second difference;
determining a difference between the first difference and the second difference and taking the difference as a first target difference;
If the first target difference value is greater than or equal to a first preset difference value threshold value, determining that the response voltage wave is attenuated; and if the first target difference value is smaller than the first preset difference value threshold value, determining that the response voltage wave is not attenuated.
Optionally, before determining the reference span time of the three consecutive non-zero comparison pulses, the method for measuring the sonic transition time further comprises:
Determining the reference span time of two continuous non-zero comparison pulses, wherein the reference span time of the two non-zero comparison pulses are sequentially ordered according to a time sequence;
determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse, and taking the difference as a third difference;
determining a difference between the third difference and the pulse period of the initial pulse group and taking the difference as a second target difference;
If the second target difference is smaller than a second preset difference threshold, determining the reference span time of three continuous non-zero comparison pulses from the reference span time of the first non-zero comparison pulse.
Optionally, the determining whether the attenuation of the response voltage wave occurs based on the first reference span time includes:
determining whether the response voltage wave is attenuated based on the first reference span time and the second reference span time.
Optionally, the determining whether the response voltage wave attenuates based on the first reference span time and the second reference span time includes:
Determining a difference between the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse, and taking the difference as a fourth difference;
Acquiring two continuous fourth difference values, and determining a difference value between a second fourth difference value and a first fourth difference value as a third target difference value;
If the third target difference value is greater than or equal to a third preset difference value threshold value, determining that the response voltage wave is attenuated; and if the third target difference value is smaller than the third preset difference value threshold value, determining that the response voltage wave is not attenuated.
Optionally, the determining whether the response voltage wave attenuates based on the first reference span time and the second reference span time includes:
Determining a pulse span time of the non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse;
Determining pulse span times of two continuous non-zero comparison pulses, and determining a difference between the pulse span time of the second non-zero comparison pulse and the pulse span time of the first non-zero comparison pulse as a fourth target difference;
And if the fourth target difference value is greater than or equal to the fourth preset difference value threshold value, determining that the response voltage wave is not attenuated.
Optionally, the determining the pulse span time of the non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse includes:
Determining a difference value between the reference span time of the non-zero comparison pulse corresponding to the response voltage wave and the reference span time of the zero-crossing comparison pulse, and taking the difference value as a fourth difference value;
based on the fourth difference, a pulse span time of the non-zero comparison pulse is determined.
Optionally, the determining the pulse span time of the non-zero comparison pulse based on the fourth difference value includes:
And (3) carrying out difference between one half of the pulse period of the initial pulse group and the fourth difference value which is doubled to obtain the pulse span time of the non-zero comparison pulse.
In a third aspect, an embodiment of the present application provides an apparatus, including a device for measuring sonic flight time according to any one of the first aspects above.
In the embodiment of the application, whether the response voltage wave attenuates or not is determined by the control module based on the reference span time of the non-zero comparison pulse, and when the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold value, the measurement of the sound wave flying time of the sound wave group is stopped, the control module can take a time point of the target response wave before the time when the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold value as the sound wave flying stopping time, then the control module determines the sound wave flying stopping time of the sound wave group based on the measured value of the reference span time of the zero crossing comparison pulse, the stopping time is accurate time, and the starting time of the sound wave flying is determined and accurate, so that the sound wave flying time can be accurately determined based on the accurate starting time and the accurate stopping time, and corresponding other parameters can be accurately determined according to the accurate sound wave flying time. In addition, the measuring device for the sound wave flying time has a simpler structure, and the principle and the method for measuring the sound wave flying time are simpler. In the embodiment of the application, the sound wave flying time can be accurately determined, the structure of the measuring device for the sound wave flying time is simpler, and the method for measuring the sound wave flying time is simpler, so that the engineering realization and the practical application are facilitated.
Drawings
FIG. 1 shows a schematic diagram of an apparatus for measuring sonic flight time according to an embodiment of the present application;
FIG. 2 is a schematic diagram showing a flow measurement performed by a device for measuring sonic flight time according to an embodiment of the present application
FIG. 3 is a schematic diagram showing a measuring device for measuring sonic flight time according to an embodiment of the present application;
FIG. 4 is a schematic diagram showing a second embodiment of a device for measuring sonic flight time for ranging;
FIG. 5 shows a schematic diagram of a measuring device for measuring flying time of sound wave according to an embodiment of the present application;
FIG. 6 is a schematic diagram showing the measurement of attenuation of response voltage waves by a measuring device for acoustic wave flight time according to an embodiment of the present application;
Fig. 7 shows a flowchart of a method for measuring sonic flight time according to an embodiment of the present application.
Reference numerals:
10, control module, 20, pulse generating unit, 30, transducer assembly, 31, 32, 33, third transducer, 41, first span time measuring unit, 42, second span time measuring unit, 51, first comparator, 52, second comparator, 60, pulse counting unit, 70, analog gate, 81, first output buffer, 82, second output buffer, 83, third output buffer, 90, measuring tube, 100, reference voltage generating component, 110, first reference voltage generating unit, 120, second reference voltage generating unit, 111, first coupling capacitor, 112, second coupling capacitor, 113, third coupling capacitor.
Detailed Description
The features of the application "first", "second" and the like in the description and in the claims may be used for the explicit or implicit inclusion of one or more such features. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present application and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present application.
In the description of the present application, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected via an intervening medium, or in communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
As shown in fig. 1 to 6, the measuring apparatus of the sonic flight time includes a control module 10, a pulse generating unit 20, a transducer assembly 30, a first span time measuring unit 41, a second span time measuring unit 42, a first comparator 51, and a second comparator 52.
The first span time measuring unit 41, the second span time measuring unit 42 and the pulse generating unit 20 are all electrically connected with the control module 10; the pulse generating unit 20 is electrically connected with the transducer assembly 30, the first span time measuring unit 41 and the second span time measuring unit 42 respectively, the transducer assembly 30 is electrically connected with the first comparator 51 and the second comparator 52 respectively, the first comparator 51 is electrically connected with the first span time measuring unit 41, and the second comparator 52 is electrically connected with the second span time measuring unit 42; the pulse generating unit 20 is configured to generate and output a periodic initial pulse burst, the transducer assembly 30 is configured to generate and transmit a sound burst when the initial pulse burst is received, and the transducer assembly 30 is further configured to generate a response voltage burst when the sound burst is received, the response voltage burst being transferable to the first comparator 51 and the second comparator 52, the first comparator 51 being configured to perform a non-zero comparison and output a non-zero comparison pulse signal, the second comparator 52 being configured to perform a zero-crossing comparison, or an advanced non-zero comparison, and further performing a zero-crossing comparison and output a zero-crossing comparison pulse signal, the first comparator 51 being configured to transfer the non-zero comparison pulse signal to the first span time measuring unit 41, the second comparator 52 being configured to transfer the zero-crossing comparison pulse signal to the second span time measuring unit 42, the first span time measuring unit 41 being configured to measure a reference span time of the non-zero comparison pulse to obtain a measurement value thereof, and to send the measurement value of the reference span time of the non-zero comparison pulse to the control module 10, the second span time measuring unit 42 being configured to measure the reference span time of the zero-crossing comparison pulse to obtain the measurement value thereof, and to send the measurement value of the zero-crossing comparison pulse to the control module 10, the control module 10 may determine the reference span time of the non-zero comparison pulse according to the measured value of the reference span time of the non-zero comparison pulse, and may determine the reference span time of the zero-crossing comparison pulse according to the measured value of the reference span time of the zero-crossing comparison pulse, the control module 10 determines whether the response voltage wave is attenuated according to the reference span time of the non-zero comparison pulse, and stops measuring the sonic flying time of the sonic group when the attenuation amount of the response voltage wave is greater than or equal to a preset attenuation threshold, and determines the sonic flying time of the sonic group based on the measured value of the reference span time of the zero-crossing comparison pulse.
In the embodiment of the present application, since the first span time measuring unit 41, the second span time measuring unit 42, and the pulse generating unit 20 are all electrically connected to the control module 10, the first span time measuring unit 41, the second span time measuring unit 42, and the pulse generating unit 20 may be controlled by the control module 10, or send signals to the control module 10, or the control module 10 may obtain required data from the first span time measuring unit 41, the second span time measuring unit 42, and the pulse generating unit 20. Since the pulse generating unit 20 is electrically connected to the transducer assembly 30, the first span time measuring unit 41 and the second span time measuring unit 42, respectively, once the pulse generating unit 20 generates the initial pulse group, the initial pulse group can be transferred to the first span time measuring unit 41, the second span time measuring unit 42 and the transducer assembly 30, and the first span time measuring unit 41 and the second span time measuring unit 42 can receive the initial pulse group and take the time of receiving the initial pulse group as the starting time of the sonic flight. After the initial burst is received by the transducer assembly 30, the transducer assembly 30 may be excited such that the transducer assembly 30 generates a burst of sound waves, and the transducer assembly 30 generates a burst of response voltage waves upon receipt of the burst of sound waves. Since the transducer assembly 30 is electrically connected to the first comparator 51 and the second comparator 52, respectively, once the transducer assembly 30 generates the response voltage wave packet, the response voltage wave packet can be transferred to the first comparator 51 and the second comparator 52, the first comparator 51 can perform a non-zero comparison and output a non-zero comparison pulse signal, and the second comparator 52 can perform a zero-crossing comparison and/or a non-zero comparison and output a zero-crossing comparison pulse signal and/or a non-zero comparison pulse signal. Since the first comparator 51 is electrically connected to the first span time measuring unit 41, the second comparator 52 is electrically connected to the second span time measuring unit 42, and therefore, the first comparator 51 may transmit the non-zero comparison pulse signal to the first span time measuring unit 41, the second comparator 52 may transmit the zero-crossing comparison pulse signal and/or the non-zero comparison pulse signal to the second span time measuring unit 42, the first span time measuring unit 41 may measure the reference span time of the non-zero comparison pulse to obtain a measured value thereof, and transmit the measured value of the reference span time of the non-zero comparison pulse to the control module 10, the second span time measuring unit 42 may measure the reference span time of the zero-crossing comparison pulse to obtain a measured value thereof, and transmit the measured value of the reference span time of the zero-crossing comparison pulse to the control module 10, the control module 10 may determine the reference span time of the non-zero comparison pulse according to the measured value of the reference span time of the non-zero comparison pulse, the control module 10 may determine whether the reference span time of the comparison pulse is the zero-crossing comparison pulse, the voltage group is equal to the measured value of the zero-crossing comparison pulse, and the attenuation of the sound wave is equal to the threshold value of the zero-crossing pulse, and the sound wave of the sound wave is attenuated when the zero-crossing time of the sound wave occurs, and the zero-crossing time of the sound wave is attenuated by the threshold value is equal to the threshold value of the zero-crossing time of the measured. The control module 10 may use a time point of the target response wave before a time when the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold as a stop time of the acoustic wave flight, and after determining a start time and an end time of the acoustic wave flight time measurement, determine an acoustic wave flight time of the corresponding acoustic wave group.
That is, in the embodiment of the present application, the control module 10 determines whether the response voltage wave attenuates based on the reference span time of the non-zero comparison pulse, and stops measuring the sonic flight time of the sonic group when the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold, the control module 10 may take a time point of the target response wave before the time when the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold as the stopping time of the sonic flight, and then the control module 10 determines the stopping time of the sonic flight of the sonic group based on the measured value of the reference span time of the zero-crossing comparison pulse, the stopping time is the accurate time, and the starting time of the sonic flight is the determined and accurate, so that the sonic flight time can be accurately determined based on the accurate starting time and the accurate stopping time, and further corresponding other parameters can be accurately determined according to the accurate sonic flight time. In addition, the measuring device for the sound wave flying time has a simpler structure, and the principle and the method for measuring the sound wave flying time are simpler. In the embodiment of the application, the sound wave flying time can be accurately determined, the structure of the measuring device for the sound wave flying time is simpler, and the method for measuring the sound wave flying time is simpler, so that the engineering realization and the practical application are facilitated.
It should be noted that, after the pulse generating unit 20 generates the initial pulse group, the initial pulse group is transmitted to the transducer assembly 30, so that the transducer assembly 30 can be excited to generate the acoustic wave group, and the transducer assembly 30 not driven by the pulse generating unit 20 generates the response voltage wave group after receiving the acoustic wave group, wherein the response voltage wave in the response voltage wave group is generally a sine-like wave. In this process, that is, the initial pulse group is transferred to the transducer assembly 30, the transducer assembly 30 generates and emits an acoustic wave group, and the acoustic wave group is transferred to the transducer assembly 30, so that the transducer assembly 30 not driven by the pulse generating unit 20 generates a response voltage wave group, which is equivalent to that the initial pulse group continuously excites the transducer assembly 30, the transducer assembly 30 continuously generates and emits an acoustic wave group, and the transducer assembly 30 not excited by the initial pulse group is continuously excited to generate a response voltage wave group when receiving the continuous acoustic wave group, the peak amplitude of the response voltage wave in the generated response voltage wave group is necessarily gradually increased until the transducer assembly 30 reaches the resonance state same as the initial pulse frequency, at this time, the peak amplitude of the response voltage wave in the response voltage wave group is kept unchanged, and the peak amplitude reaches the maximum value. And once the pulse generating unit 20 stops generating the initial pulse group, which corresponds to stopping the energy output to the transducer assembly 30, the transducer assembly 30 serving as an excitation transducer immediately stops generating and transmitting the sound wave, so that the transducer assembly 30 serving as a response transducer no longer receives the sound wave and loses excitation kinetic energy, the transducer stops resonating and starts to attenuate immediately, so that the response voltage wave in the response voltage wave group inevitably starts to attenuate, that is, the peak amplitude of the response voltage wave inevitably starts to attenuate, the pulse span time of the non-zero comparison pulse of the response voltage wave inevitably attenuates under the condition that the non-zero comparison reference voltage is unchanged, and the control module 10 can determine whether the attenuation of the response voltage wave occurs based on the reference span time of the non-zero comparison pulse, and when the attenuation amount of the response voltage wave is greater than or equal to a preset attenuation threshold, the measurement of the sound wave flight time of the sound wave group is stopped, and the stop time is determined, and the start time of the sound wave flight is controlled by the control module 10, so that the sound wave flight time can be determined.
It should also be noted that in embodiments of the present application, the transducer assembly 30 is an energy conversion device that can operate bi-directionally, either by being excited by an initial pulse train to emit sound waves or by receiving sound waves to be excited to produce a response voltage wave. That is, after the initial burst is received by the transducer assembly 30 driven by the pulse generating unit 20, the transducer assembly 30 may be excited so that the transducer assembly 30 generates a burst of sound, while the transducer assembly 30 not driven by the pulse generating unit 20 generates a burst of response voltage when receiving the burst of sound.
In addition, in the embodiment of the present application, the second comparator 52 may only perform zero-crossing comparison and output the zero-crossing comparison pulse signal, and of course, the second comparator 52 may perform zero-crossing comparison after performing non-zero comparison, so that the second comparator 52 outputs the non-zero comparison pulse signal first and then outputs the zero-crossing comparison pulse signal. When the second comparator 52 performs only zero-crossing comparison, at this time, when the first comparator 51 outputs the first non-zero comparison pulse signal, the first comparator 51 may send a signal to the second comparator 52 such that the second comparator 52 outputs a valid zero-crossing comparison pulse signal, and before the first comparator 51 does not output the non-zero comparison signal, the second comparator 52 may perform zero-crossing comparison, but the zero-crossing comparison pulse signal that the second comparator 52 does not output or the zero-crossing comparison pulse signal that the second comparator 52 outputs is marked as invalid. For example, as shown in fig. 4, the non-zero-comparison pulse signal in fig. 4 is output by the first comparator 51, the zero-crossing-comparison pulse signal in fig. 4 is output by the second comparator 52, that is, the second comparator 52 only performs zero-crossing comparison, the reference-switched pulse signal in fig. 4 is output by the second comparator 52, that is, the second comparator 52 performs non-zero comparison first and then performs zero-crossing comparison, and the output signal is output as shown in the reference-switched comparison pulse signal in fig. 4, and then outputs the non-zero-comparison pulse signal.
In addition, in the embodiment of the present application, the control module 10 is further configured to determine reference span times of three consecutive non-zero comparison pulses, where the reference span times of the three non-zero comparison pulses are sequentially ordered in time sequence, determine a difference between the reference span time of the third non-zero comparison pulse and the reference span time of the second non-zero comparison pulse as a first difference, determine a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a second difference, determine a difference between the first difference and the second difference as a first target difference, determine that the response voltage wave attenuates if the first target difference is greater than or equal to a first preset difference threshold, and determine that the response voltage wave does not attenuate if the first target difference is less than the first preset difference threshold.
In addition, in the embodiment of the present application, the control module 10 is further configured to determine reference span times of two consecutive non-zero comparison pulses, where the reference span times of the two non-zero comparison pulses are sequentially ordered according to a time sequence, determine a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a third difference, determine a difference between the third difference and a pulse period of the initial pulse group as a second target difference, and determine the reference span times of three consecutive non-zero comparison pulses from the reference span time of the first non-zero comparison pulse if the second target difference is smaller than a second preset difference threshold.
In addition, in an embodiment of the present application, the control module 10 is further configured to determine whether the response voltage wave is attenuated based on the first reference span time and the second reference span time. The first reference span time is the reference span time of the non-zero comparison pulse determined based on the first measured value, and the second reference span time is the reference span time of the zero-crossing comparison pulse determined based on the second measured value.
The reference span time is a span time of the target edge of the target response pulse signal relative to the target edge of the target initial pulse signal, and as in the example of fig. 5, the reference span time may be selected as a span time of the leading edge of the target response pulse signal relative to the leading edge of the target initial pulse signal, and of course, the reference span time may be selected as a span time of any edge of the target response pulse signal relative to any edge of the target initial pulse signal.
In addition, in the embodiment of the present application, the control module 10 is further configured to determine a difference between the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse, and obtain two consecutive fourth differences, and determine a difference between the second fourth difference and the first fourth difference as a third target difference, determine that the response voltage wave attenuates if the third target difference is greater than or equal to a third preset difference threshold, and determine that the response voltage wave does not attenuate if the third target difference is less than the third preset difference threshold.
In addition, in the embodiment of the present application, the control module 10 is further configured to determine a pulse span time of the non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse, determine pulse span times of two consecutive non-zero comparison pulses, determine a difference between the pulse span time of the second non-zero comparison pulse and the pulse span time of the first non-zero comparison pulse, and serve as a fourth target difference, determine that the response voltage wave is attenuated if the fourth target difference is smaller than a fourth preset difference threshold, and determine that the response voltage wave is not attenuated if the fourth target difference is greater than or equal to the fourth preset difference threshold.
In the embodiment of the application, the pulse span time of the non-zero comparison pulse refers to the time spanned from the front edge to the back edge of the non-zero comparison pulse.
In addition, in the embodiment of the application, the control module 10 is further used for determining a difference value between the reference span time of the non-zero comparison pulse corresponding to the response voltage wave and the reference span time of the zero-crossing comparison pulse as a fourth difference value, and determining the pulse span time of the non-zero comparison pulse based on the fourth difference value.
In addition, in the embodiment of the present application, the control module 10 is further configured to obtain the pulse span time of the non-zero comparison pulse by differentiating the fourth difference value of the half and the double of the pulse period of the initial pulse group.
In addition, in some embodiments, as shown in fig. 1, the measuring device for the sonic flight time further includes an analog gate 70, wherein the analog gate 70 is electrically connected to the pulse generating unit 20 and the transducer assembly 30, and the analog gate 70 is electrically connected to the first comparator 51 and the second comparator 52, and the analog gate 70 is switched on to transmit the excitation voltage wave group corresponding to the initial pulse group sent by the pulse generating unit 20 to the first comparator 51 and the second comparator 52, or transmit the response voltage wave group generated by the transducer assembly 30 to the first comparator 51 and the second comparator 52.
The analog gate 70 may be configured to switch the turned-on input signal source, so that when the excitation voltage wave group corresponding to the initial pulse group sent by the pulse generating unit 20 is transferred to the analog gate 70, the analog gate 70 may be configured to turn on the excitation voltage wave group, and then the excitation voltage wave group is transferred to the first comparator 51 and the second comparator 52, so that the initial pulse group may trigger the first span time measuring unit 41 and the second span time measuring unit 42 to start the measurement count of the span time, and once the initial pulse group is partially or completely transferred, the analog gate 70 may be configured to disconnect the path for transferring the initial pulse group, so that the excitation voltage wave group cannot pass through the analog gate 70 and cannot be continuously transferred to the first comparator 51 and the second comparator 52. And the analog gate 70 may be configured to conduct the path of the response voltage wave packet generated by the transducer assembly 30, so that the response voltage wave packet may be continuously transferred to the first comparator 51 and the second comparator 52, and further, the response voltage wave packet may trigger the first span time measuring unit 41 and the second span time measuring unit 42 to perform measurement count sampling, so as to obtain the count value of the corresponding span time.
The analog gate 70 may be electrically connected to the response transducer or to the excitation transducer.
It should be further noted that, based on the functional role of the analog gate 70 in the embodiment of the present application, a circuit that implements the same function of the analog gate 70 by using a basic circuit such as an analog switch may be derived, and those skilled in the art may flexibly set according to the needs of the actual device and the realizability of various basic circuits. The present application is not limited thereto.
In addition, in some embodiments, as shown in fig. 1, the measuring device for the sound wave flying time further comprises a first output buffer 81 and a second output buffer 82, wherein the transducer assembly 30 comprises a first transducer 31 and a second transducer 32, the first output buffer 81 is respectively electrically connected with the pulse generating unit 20 and the first transducer 31, the second output buffer 82 is respectively electrically connected with the pulse generating unit 20 and the second transducer 32, one of the first transducer 31 and the second transducer 32 is used as an excitation transducer, the other is used as a response transducer, when the first output buffer 81 is configured in an output state, the second output buffer 82 is configured in an off state, the first output buffer 81 provides excitation voltage and current for the first transducer 31 so that the first transducer 31 is used as an excitation transducer, the second transducer 32 is used as a response transducer, the first transducer 31 generates and emits sound wave groups, the second transducer 32 receives the sound wave groups and generates response voltage groups, and the response transducer is electrically connected with the comparator transducer when the second output buffer 82 is configured in an output state, and the second output buffer 82 is configured in an off state, the second output buffer 82 is used as a response transducer 32, and the second transducer is used as a response transducer 32, and the second excitation transducer is used as a response transducer 32.
Since the first output buffer 81 is electrically connected to the pulse generating unit 20 and the first transducer 31, respectively, and the second output buffer 82 is electrically connected to the pulse generating unit 20 and the second transducer 32, respectively, the functions of the first transducer 31 and the second transducer 32 can be switched by configuring the states of the first output buffer 81 and the second output buffer 82. Specifically, when the first output buffer 81 is configured to be in an output state and the second output buffer 82 is configured to be in an off state, the first output buffer 81 can provide an excitation voltage and a current to the first transducer 31, the second output buffer 82 does not provide an excitation voltage and a current to the second transducer 32, so that the first transducer 31 is excited to act as an excitation transducer, the second transducer 32 acts as a response transducer, the first transducer 31 generates and emits a sound wave packet, after the sound wave packet is transmitted, the second transducer 32 can receive the sound wave packet and generate a response voltage wave packet, and the response transducer is electrically connected with the first comparator 51 and the second comparator 52, so that the response voltage packet can be transmitted to the first comparator 51 and the second comparator 52, and when the second output buffer 82 is configured to be in an off state, the second output buffer 82 can provide an excitation voltage and a current to the second transducer 32, so that the first output buffer 81 does not provide an excitation voltage and a current to the first transducer 31, so that the second transducer 31 receives the second transducer 32 as a sound wave packet and generates and transmits a response voltage packet to the first comparator 51 and the second comparator 52, so that the response voltage packet is transmitted to the first transducer 31 and the second comparator 52 can respond to the first comparator 51 and the second comparator 52.
It should be noted that, in the embodiment of the present application, the distance measurement may be performed by using the measuring device of the sound wave flight time, where the first output buffer 81 may provide the excitation voltage and current to the first transducer 31, the second output buffer 82 is in the cut-off state, the first transducer 31 is used as the excitation transducer, the second transducer 32 is used as the response transducer, after the excitation transducer emits the sound wave, the sound wave is transmitted to the obstacle, and the sound wave is blocked by the obstacle and reflected, so that the sound wave is transmitted to the response transducer, and the response transducer may generate the response voltage wave when receiving the sound wave. For example, the measuring device of the acoustic wave flying time in the embodiment of the application is arranged on a vehicle, a ship and a submarine, so that the distance between the measuring device of the acoustic wave flying time and an obstacle can be accurately determined.
In addition, in some embodiments, the measuring device for the sonic flight time further comprises a measuring tube 90, wherein one of the first transducer 31 and the second transducer 32 is disposed at a first end of the measuring tube 90, and the other is disposed at a second end of the measuring tube 90.
Through the arrangement, after the transducer is excited to emit sound waves, the sound waves are transmitted in the fluid in the measuring tube 90 in a flying way, then the response transducer can receive the sound waves, so that the response transducer generates response voltage wave groups.
It should be noted that, when the measuring device for the sonic flight time includes the measuring tube 90, at this time, the flow rate of the fluid in the measuring tube 90 can be accurately determined, so that parameters such as the flow rate and the flow rate of the water flowing through the measuring tube 90 can be accurately determined.
In addition, in some embodiments, as shown in fig. 4, the measuring device of the sonic flight time further comprises a third output buffer 83, the transducer assembly 30 comprises a third transducer 33, and the third output buffer 83 is electrically connected with the pulse generating unit 20 and the third transducer 33, respectively.
The third output buffer 83 is electrically connected to the pulse generating unit 20 and the third transducer 33, respectively, the third transducer 33 is electrically connected to the first comparator 51 and the second comparator 52, the third output buffer 83 provides the third transducer 33 with an excitation voltage and current when the third output buffer 83 is configured in an output state, the third transducer 33 generates and emits a sound wave packet, and the third output buffer 83 ceases to provide the third transducer 33 with an excitation voltage and current when the third output buffer 83 is configured in an off state, when the third transducer 33 is used as a response transducer, the third transducer 33 generates a response voltage wave packet when it receives the sound wave packet.
In addition, by providing the third output buffer 83, the state of the third output buffer 83 can be adjusted to enable the third transducer 33 to switch between different working conditions, thereby realizing different functions. Specifically, the third output buffer 83 may provide the excitation voltage and current to the third transducer 33 when the third transducer 33 is used as an excitation transducer, and the third transducer 33 generates and emits a sound wave packet, and the third output buffer 83 may cease providing the excitation voltage and current to the third transducer 33 when the third output buffer 83 is configured in the off state, and the third transducer 33 is used as a response transducer, and the third transducer 33 generates a response voltage wave packet when receiving the sound wave packet. That is, by setting the state of the third output buffer 83, the third transducer 33 can emit the sound wave group, and the third transducer 33 can also receive the sound wave group, so that the emission and the reception of the sound wave group can be realized by a single transducer, which is beneficial to reducing the cost.
In the specific application, the third output buffer 83 may be configured to be in a driving state, that is, the third output buffer 83 provides excitation voltage and current to the third transducer 33, the third transducer 33 emits a sound wave group, and then the third output buffer 83 is configured to be in a cut-off state, after the sound wave group collides with an obstacle, the sound wave group is blocked, so that the sound wave group is reflected to the third transducer 33, the third transducer 33 can receive the sound wave group and generate a response voltage wave group, and the application can determine the sound wave flight time more accurately, thereby determining the distance between the measuring device of the sound wave flight time and the obstacle more accurately.
In addition, in some embodiments, as shown in fig. 1, the measuring device for the acoustic wave flight time further includes a reference voltage generating component 100, where the reference voltage generating component 100 is electrically connected to the first comparator 51 and the second comparator 52, and the reference voltage generating component 100 is used for transmitting the reference voltage to the first comparator 51 and the second comparator 52.
By providing the reference voltage generating component 100, the control module 10 can control the reference voltage generating component 100 to provide the comparison reference voltage to the first comparator 51 and the second comparator 52, wherein the first comparator 51 and the second comparator 52 each have a comparison reference terminal, and the reference voltage generating component 100 can be electrically connected with the comparison reference terminal, once the reference voltage generating component 100 generates the comparison reference voltage, the comparison reference voltage can be transmitted to the comparison reference terminal, and when the signal voltage of the input signal terminal input to the first comparator 51 and the second comparator 52 changes from the voltage smaller than the comparison reference terminal to the voltage larger than the comparison reference terminal, and then changes from the voltage larger than the comparison reference terminal to the voltage smaller than the comparison reference terminal, the first comparator 51 and the second comparator 52 output the comparison pulse. That is, by providing the reference voltage generating unit 100, the first comparator 51 and the second comparator 52 can easily compare the voltage of the input signal terminal thereof with the voltage of the comparison reference terminal to determine whether to output the comparison pulse.
The reference voltage generating assembly 100 may include a first reference voltage generating unit 110 and a second reference voltage generating unit 120, where the first reference voltage generating unit 110 is electrically connected to the first comparator 51, the second reference voltage generating unit 120 is electrically connected to the second comparator 52, the first reference voltage generating unit 110 transmits one reference voltage to the first comparator 51, and the second reference voltage generating unit 120 transmits another reference voltage to the second comparator 52. Of course, the reference voltage generating assembly 100 may include only the first reference voltage generating unit 110, and in this case, the first reference voltage unit is electrically connected to the first comparator 51 and the second comparator 52, so that the first reference voltage generating unit 110 transmits the required reference voltages to the first comparator 51 and the second comparator 52, respectively.
In addition, in some embodiments, as shown in fig. 1, the measuring device of the sonic flight time further comprises a pulse counting unit 60, wherein the pulse counting unit 60 is electrically connected with the control module 10 and the first comparator 51, and the pulse counting unit 60 is used for counting the number of non-zero comparison pulse signals transmitted to the pulse counting unit 60 and transmitting the counted number of non-zero comparison pulse signals to the control module 10.
By providing the pulse counting unit 60, the pulse counting unit 60 may transmit the counted number of non-zero comparison pulses to the control module 10, so that the control module 10 may determine whether the reference comparison voltage provided to the comparator by the reference voltage generating assembly 100 is suitable, whether the current excitation response burst measurement overflows, and whether the span time measuring module should stop the measurement based on the number of non-zero comparison pulses transmitted by the pulse counting unit 60 and the initial number of pulses transmitted by the pulse generating unit 20.
In addition, in some embodiments, as shown in fig. 1, the measuring device of the sound wave flying time further comprises a first coupling capacitor 111 and a second coupling capacitor 112, wherein the transducer assembly 30 comprises a first transducer 31 and a second transducer 32, the first coupling capacitor 111 is electrically connected with the first transducer 31, the second coupling capacitor 112 is electrically connected with the second transducer 32, wherein the first coupling capacitor 111 is used for coupling the response voltage of the first transducer 31 to the first comparator 51 and the second comparator 52 when the first transducer 31 is used as a response transducer, and the second coupling capacitor 112 is used for coupling the response voltage of the second transducer 32 to the first comparator 51 and the second comparator 52 when the second transducer 32 is used as a response transducer.
By providing the first coupling capacitor 111 and the second coupling capacitor 112, the first coupling capacitor 111 can be enabled to function when the first transducer 31 is used as a response transducer, and the second coupling capacitor 112 can be enabled to function when the second transducer 32 is used as a response transducer, so that the internal circuit design of the measuring device for the sound wave flying time is simpler. In addition, by providing the first transducer 31 and the second transducer 32, distance measurement can be performed by the acoustic wave time of flight measuring device, and when the acoustic wave time of flight measuring device includes the measuring pipe 90, parameters such as the flow rate, and the like of the fluid in the measuring pipe 90 can also be measured.
In addition, in some embodiments, the measuring device of the sonic flight time may further comprise a third coupling capacitor 113, the transducer assembly 30 comprising a third transducer 33, the third coupling capacitor 113 being electrically connected to the third transducer 33, wherein the third coupling capacitor 113 is configured to couple the response voltage of the third transducer 33 to the first comparator 51 and the second comparator 52 when the third transducer 33 is acting as a response transducer. By providing the third transducer 33, distance measurements can be made by means of the acoustic fly-over time measurement device.
In addition, in the embodiment of the present application, the control module 10 may include, but is not limited to, a central processing unit, an upper computer, and a local control unit inside the first span time measuring unit 41 and/or the second span time measuring unit 42, where any component having control and operation functions may be used as the control module 10, for example, the control module 10 may be a chip having control functions, for example, the control module 10 may be a circuit board having control functions, for example, the control module 10 may be a local control unit inside the first span time measuring unit 41 and/or the second span time measuring unit 42, or a combination of the central processing unit/the upper computer and the local control unit. The embodiments of the present application are not limited in this regard.
When the local control unit is provided inside the first span time measuring unit 41, the local control unit of the first span time measuring unit 41 may determine the reference span time of the non-zero comparison pulse according to the first measurement value.
When the second span time measuring unit 42 is internally provided with a local control unit, the local control unit of the second span time measuring unit 42 may determine the reference span time of the non-zero comparison pulse based on the second measurement value.
It should be noted that, in the embodiment of the present application,
The embodiment of the application provides a method for measuring sonic flight time, which is applied to a device for measuring sonic flight time in any one of the above embodiments, as shown in fig. 7, and comprises the following steps:
step 701 is to obtain a first measurement value of a first span time measurement unit and a second measurement value of a second span time measurement unit, the first measurement value comprising a measurement value of a reference span time of a non-zero comparison pulse, the second measurement value comprising a measurement value of a reference span time of a zero crossing comparison pulse.
The control module is electrically connected with the first span time measuring unit and the second span time measuring unit respectively, so that the control module can acquire a first measured value of the first span time measuring unit and a second measured value of the second span time measuring unit.
Step 702 is determining a reference span time of the non-zero comparison pulse based on the first measurement and as a first reference span time and determining a reference span time of the zero crossing comparison pulse based on the second measurement and as a second reference span time.
Once the control module obtains the first measured value, the reference span time of the non-zero comparison pulse can be determined according to the first measured value, specifically, the control module can multiply the first measured value with the counting time resolution of the first span time measuring unit to obtain the reference span time of the non-zero comparison pulse. In addition, the control module obtains the second measured value, so that the reference span time of the zero-crossing comparison pulse can be determined according to the second measured value, and specifically, the control module can multiply the second measured value with the counting time resolution of the second span time measuring unit to obtain the reference span time of the zero-crossing comparison pulse.
Step 703, determining whether the response voltage wave is attenuated based on the first reference span time.
Once the control module determines the first reference span time, the control module may determine whether the decay occurs in the response voltage wave based on the first reference span time.
In some implementations, the step 602 may be implemented by determining reference span times of three consecutive non-zero comparison pulses, the reference span time values of the three non-zero comparison pulses being ordered sequentially in time order, determining a difference between the reference span time of a third non-zero comparison pulse and the reference span time of a second non-zero comparison pulse as a first difference, determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a second difference, determining a difference between the first difference and the second difference as a first target difference, determining that the response voltage wave decays if the first target difference is greater than or equal to a first preset difference threshold, and determining that the response voltage wave does not decay if the first target difference is less than the first preset difference threshold.
For example, the reference span time of three consecutive non-zero comparison pulses is 27050,28050,29067, the three values are sequentially ordered according to time sequence, the first difference value is 29067-28050=1017, the second difference value is 28050-27050=1000, the difference between the first difference value and the second difference value is 1017-1000=17, the first preset difference value threshold is 15 and 17 is set to be larger than 15, the response voltage wave is determined to be attenuated, and if the first preset difference value threshold is set to be 20 and 17 is smaller than 20, the response voltage wave is determined to be not attenuated.
It should be noted that, the first preset difference threshold is set according to actual needs, and the specific value of the first preset difference threshold is not limited herein.
In some implementations, the method of measuring sonic transition time further includes, prior to determining the reference span times of the consecutive three non-zero comparison pulses, determining the reference span times of the consecutive two non-zero comparison pulses, the reference span times of the two non-zero comparison pulses being ordered in time order, determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a third difference, determining a difference between the third difference and the pulse period of the initial pulse train as a second target difference, and determining the reference span times of the consecutive three non-zero comparison pulses from the measurement of the reference span time of the first non-zero comparison pulse if the second target difference is less than a second preset difference threshold.
For example, the measured values of the reference span times of the two consecutive non-zero comparison pulses are 27050,28050, and the two values are sequentially sequenced according to the time sequence, so that it is determined that the third difference value is 28050-27050=1000, and the pulse period of the initial pulse group is 1000, then the difference value between the third difference value and the pulse period of the initial pulse group is 0, that is, the second target difference value is 0, the second preset difference value threshold is set to be 3, and 0 is smaller than 3, so that it is indicated that the response voltage waves corresponding to the two consecutive non-zero comparison pulses are in the resonance state, and then the reference span times of the three consecutive non-zero comparison pulses are determined from the reference span time of the first non-zero comparison pulse, so that it can be determined more accurately whether the response voltage waves attenuate. The second target difference value is smaller than a second preset difference value threshold value, which indicates that response voltage waves corresponding to two continuous non-zero comparison pulses are in a resonance state, so that after the initial pulse group stops transmitting, the excitation transducer stops generating and transmitting generated waves due to the loss of excitation energy, the receiving transducer inevitably attenuates due to the loss of excitation momentum of the acoustic wave group, and the resonance state is not excited by the continuous momentum, thereby more accurately determining whether the response voltage waves attenuate.
It should be noted that, the second preset difference threshold is set according to actual needs, and the specific value of the second preset difference threshold is not limited herein.
In some implementations, determining whether the response voltage wave is attenuated based on the first reference span time may be implemented by determining whether the response voltage wave is attenuated based on the first reference span time and the second reference span time.
In some implementations, determining whether the response voltage wave attenuates based on the first reference span time and the second reference span time may be performed by determining a difference between the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse as a fourth difference, obtaining two consecutive fourth differences, and determining a difference between the second fourth difference and the first fourth difference as a third target difference, determining that the response voltage wave attenuates if the third target difference is greater than or equal to a third preset difference threshold, and determining that the response voltage wave does not attenuate if the third target difference is less than the third preset difference threshold.
Wherein a difference between the reference span time of each non-zero comparison pulse and the reference span time of the corresponding zero-crossing comparison pulse may be determined as a fourth difference, i.e. the number of fourth differences is a plurality. And determining two continuous fourth differences, wherein the two fourth differences are sequenced according to time sequence, determining the difference between the second fourth difference and the first fourth difference in the two continuous fourth differences as a third target difference, determining that the response voltage wave is attenuated once the third target difference is greater than or equal to a third preset difference threshold, and determining that the response voltage wave is not attenuated if the third target difference is smaller than the third preset difference threshold.
For example, td_nz_pz [ N ] =ts_nz [ N ] -ts_pz [ N ], where ts_nz [ N ] represents the reference span time of the nth non-zero comparison pulse, ts_pz [ N ] represents the reference span time of the nth zero crossing comparison pulse, and td_nz_pz [ N ] represents the fourth difference;
td_b1[ N ] =td_nz_pz [ N ] -td_nz_pz [ N-1], wherein td_b1[ N ] represents the third target difference.
It should be noted that, the third preset difference threshold is set according to actual needs, and the specific value of the third preset difference threshold is not limited herein.
In addition, in the embodiment of the present application, it may also be determined that the response voltage wave attenuates when the third target difference is greater than the third preset difference threshold, and that the response voltage wave does not attenuate when the third target difference is less than or equal to the third preset difference threshold.
In some implementations, determining whether the response voltage wave decays based on the first reference span time and the second reference span time may be implemented by determining a pulse span time of a non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse, determining pulse span times of two consecutive non-zero comparison pulses, and determining a difference between the pulse span time of the second non-zero comparison pulse and the pulse span time of the first non-zero comparison pulse as a fourth target difference value, determining that the response voltage wave decays if the fourth target difference value is less than a fourth preset difference threshold value, and determining that the response voltage wave does not decay if the fourth target difference value is greater than or equal to the fourth preset difference threshold value.
For example, td_b2[ N ] =ts_nzp [ N ] -ts_nzp [ N-1], where ts_nzp [ N ] represents the pulse span time of the nth non-zero comparison pulse, ts_nzp [ N-1] represents the pulse span time of the nth-1 non-zero comparison pulse, and td_b2[ N ] represents the fourth target difference value.
It should be noted that, the fourth preset difference threshold is set according to actual needs, and the specific value of the fourth preset difference threshold is not limited herein.
In addition, in the embodiment of the application, the response voltage wave is determined to be attenuated when the fourth target difference value is smaller than or equal to the fourth preset difference value threshold value, and the response voltage wave is determined to be not attenuated when the fourth target difference value is larger than the fourth preset difference value threshold value.
In some implementations, determining the pulse span time of the non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse may be implemented by determining a difference between the reference span time of the non-zero comparison pulse corresponding to the response voltage wave and the reference span time of the zero-crossing comparison pulse as a fourth difference, and determining the pulse span time of the non-zero comparison pulse based on the fourth difference.
For example, td_nz_pz [ N ] =ts_nz [ N ] -ts_pz [ N ], where ts_nz [ N ] represents the reference span time of the nth non-zero comparison pulse, ts_pz [ N ] represents the reference span time of the nth zero crossing comparison pulse, and td_nz_pz [ N ] represents the fourth difference.
In some implementations, determining the pulse span time of the non-zero comparison pulse based on the fourth difference value includes differencing one-half of the initial period of the initial pulse train with the second difference value to obtain the pulse span time of the non-zero comparison pulse.
For example, ts_nzp [ N ] =tip/2-td_nz_pz [ N ]. 2, where Tip represents the pulse period of the initial pulse group, nz_pz [ N ] represents the nth fourth difference, and ts_nzp [ N ] represents the pulse span time of the nth non-zero comparison pulse.
Step 704, stopping measurement of the sonic flight time of the acoustic wave group when the attenuation amount of the response voltage wave is larger than or equal to the preset attenuation threshold value, and determining the sonic flight time of the acoustic wave group based on the second reference span time.
Wherein once the attenuation amount of the response voltage wave is greater than or equal to the preset attenuation threshold value, the initial pulse group is stopped to emit, the last sound wave of the sound wave group emitted by the excitation transducer reaches the receiving transducer, and the receiving transducer completes the response to start attenuation, so that the sound wave flying time measurement of the sound wave group is stopped, and then the sound wave flying time of the sound wave group can be determined based on the reference span time of the zero crossing comparison pulse, namely, the sound wave flying time of the sound wave group is determined based on the second reference span time. The determining the sound wave flight time of the sound wave group based on the second reference span time may be determined by referring to a manner in the related art, which is not described herein.
In the embodiment of the present application, the comparison with the threshold value is performed by using the comparison with the threshold value, which is greater than or equal to the threshold value and less than the threshold value, to illustrate the principle of the present application, however, the comparison with the threshold value may be performed by using the comparison with the threshold value, which is greater than the threshold value and less than the threshold value, and the comparison with the threshold value may be performed by using the comparison with the threshold value, which is greater than the threshold value and less than the threshold value. The embodiment of the present application is not limited in this regard. Wherein, for example, when the third target difference value is greater than the third preset difference value threshold, it is determined that the response voltage wave is attenuated, when the third target difference value is less than or equal to the third preset difference value threshold, it is determined that the response voltage wave is not attenuated, by comparing in this way, when the third target difference value is greater than or equal to the third preset difference value threshold, it is determined that the response voltage wave is attenuated, when the third target difference value is less than the third preset difference value threshold, it is determined that the response voltage wave is not attenuated, and when the third target difference value is greater than the third preset difference value threshold, it is determined that the response voltage wave is not attenuated.
The embodiment of the application provides equipment, which comprises the device for measuring the sonic wave flight time in any of the above embodiments.
It should be noted that, the apparatus in the embodiment of the present application includes, but is not limited to, a vehicle, a ship, a submarine, a water meter, a heat meter, a gas meter, an oil meter, a flow meter, and the like.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the application as defined by the appended claims and their equivalents.

Claims (18)

1. The measuring device for the sound wave flying time is characterized by comprising a control module, a pulse generation unit, a transducer assembly, a first span time measuring unit, a second span time measuring unit, a first comparator and a second comparator;
The pulse generation unit is respectively and electrically connected with the transducer assembly, the first span time measurement unit and the second span time measurement unit, the transducer assembly is respectively and electrically connected with the first comparator and the second comparator, the first comparator is electrically connected with the first span time measurement unit, and the second comparator is electrically connected with the second span time measurement unit;
The pulse generating unit is used for generating and outputting periodic initial pulse groups, the transducer assembly is used for generating and transmitting acoustic wave groups when receiving the initial pulse groups, and the transducer assembly is also used for generating response voltage wave groups when receiving the acoustic wave groups, and the response voltage wave groups can be transmitted to the first comparator and the second comparator;
The first comparator is used for performing non-zero comparison and outputting a non-zero comparison pulse signal to the first span time measuring unit, the second comparator is used for performing zero-crossing comparison or performing non-zero comparison firstly and then performing zero-crossing comparison and outputting a zero-crossing comparison pulse signal to the second span time measuring unit, the first span time measuring unit is used for measuring the reference span time of the non-zero comparison pulse to obtain a measured value thereof and sending the measured value to the control module, and the second span time measuring unit is used for measuring the reference span time of the zero-crossing comparison pulse to obtain the measured value thereof and sending the measured value thereof to the control module;
The control module is used for determining the reference span time of the non-zero comparison pulse according to the measured value of the reference span time of the non-zero comparison pulse, determining the reference span time of the zero-crossing comparison pulse according to the measured value of the reference span time of the zero-crossing comparison pulse, determining whether attenuation of a response voltage wave occurs according to the reference span time of the non-zero comparison pulse, stopping measuring the sound wave flying time of the sound wave group when the attenuation of the response voltage wave is greater than or equal to a preset attenuation threshold value, and determining the sound wave flying time of the sound wave group based on the reference span time of the zero-crossing comparison pulse.
2. The acoustic wave flight time measurement device according to claim 1, wherein the acoustic wave flight time measurement device further comprises a pulse counting unit;
The pulse counting unit is respectively and electrically connected with the control module and the first comparator, and is used for counting the number of non-zero comparison pulse signals transmitted to the pulse counting unit and transmitting the counted number of the non-zero comparison pulse signals to the control module.
3. The acoustic wave flight time measurement device of claim 1, further comprising an analog gate;
The analog gate is electrically connected with the pulse generating unit and the transducer assembly, and the analog gate is electrically connected with the first comparator and the second comparator, and the analog gate is switched on so as to enable an excitation voltage wave group corresponding to an initial pulse group sent by the pulse generating unit to be transmitted to the first comparator and the second comparator, or enable a response voltage wave group generated by the transducer assembly to be transmitted to the first comparator and the second comparator.
4. The acoustic wave transition time measurement device of claim 1, further comprising a first output buffer, a second output buffer, the transducer assembly comprising a first transducer and a second transducer;
the first output buffer is respectively and electrically connected with the pulse generating unit and the first transducer, and the second output buffer is respectively and electrically connected with the pulse generating unit and the second transducer;
One of the first transducer and the second transducer is used as an excitation transducer, the other is used as a response transducer, when the first output buffer is configured in an output state, the second output buffer is configured in an off state, the first output buffer provides excitation voltage and current for the first transducer so that the first transducer is used as the excitation transducer, the second transducer is used as the response transducer, the first transducer generates and emits a sound wave group, the second transducer receives the sound wave group and generates a response voltage wave group, the response transducer is electrically connected with the comparator, and when the second output buffer is configured in the output state, the second output buffer provides excitation voltage and current for the second transducer so that the second transducer is used as the excitation transducer, the first transducer is used as the response transducer, the second transducer generates and emits the sound wave group, and the first transducer receives the sound wave group and generates the response voltage wave group, and the second output buffer is electrically connected with the comparator.
5. The acoustic wave transition time measurement device of claim 4, further comprising a measurement tube;
One of the first transducer and the second transducer is arranged at the first end of the measuring tube, and the other transducer is arranged at the second end of the measuring tube.
6. The acoustic wave transition time measurement device of claim 1, further comprising a third output buffer, the transducer assembly comprising a third transducer;
The third output buffer is electrically connected with the pulse generating unit and the third transducer, respectively.
7. The acoustic wave transition time measurement device of claim 1, further comprising a reference voltage generating component electrically connected to the first comparator and the second comparator, respectively, the reference voltage generating component configured to transmit a reference voltage to the first comparator and the second comparator.
8. The device for measuring the acoustic wave flight time according to claim 1, wherein the device for measuring the acoustic wave flight time further comprises a first coupling capacitor and a second coupling capacitor, and the transducer assembly comprises a first transducer and a second transducer;
the first coupling capacitor is electrically connected with the first transducer, and the second coupling capacitor is electrically connected with the second transducer;
The first coupling capacitor is used for coupling the response voltage of the first transducer to the first comparator and the second comparator when the first transducer is used as a response transducer, and the second coupling capacitor is used for coupling the response voltage of the second transducer to the first comparator and the second comparator when the second transducer is used as a response transducer.
9. The acoustic wave transition time measurement device of claim 1, further comprising a third coupling capacitance, the transducer assembly comprising a third transducer;
the third coupling capacitor is electrically connected with the third transducer;
wherein the third coupling capacitance is for coupling a response voltage of a third transducer to the first comparator and the second comparator when the third transducer is acting as a response transducer.
10. A method for measuring sonic flight time, characterized in that it is applied to the measuring device of sonic flight time according to any one of claims 1 to 9, and the measuring method comprises:
Acquiring a first measured value of the first span time measuring unit and a second measured value of the second span time measuring unit, wherein the first measured value comprises a measured value of a reference span time of a non-zero comparison pulse, and the second measured value comprises a measured value of a reference span time of a zero-crossing comparison pulse;
determining a reference span time of the non-zero comparison pulse based on the first measurement value and serving as a first reference span time, and determining a reference span time of the zero-crossing comparison pulse based on the second measurement value and serving as a second reference span time;
Determining whether a decay occurs in the response voltage wave based on the first reference span time;
And stopping measuring the sound wave flying time of the sound wave group when the attenuation amount of the response voltage wave is larger than or equal to a preset attenuation threshold value, and determining the sound wave flying time of the sound wave group based on the second reference span time.
11. The method of measuring sonic transition time of claim 10, wherein said determining whether attenuation of a response voltage wave occurs based on said first reference span time comprises:
Determining the reference span time of three continuous non-zero comparison pulses, wherein the reference span time of the three non-zero comparison pulses are sequentially ordered according to a time sequence;
Determining a difference between the reference span time of the third non-zero comparison pulse and the reference span time of the second non-zero comparison pulse, and determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse as a first difference, and as a second difference;
determining a difference between the first difference and the second difference and taking the difference as a first target difference;
If the first target difference value is greater than or equal to a first preset difference value threshold value, determining that the response voltage wave is attenuated; and if the first target difference value is smaller than the first preset difference value threshold value, determining that the response voltage wave is not attenuated.
12. The method of measuring sonic transition time of claim 11, wherein prior to determining the reference span time of three consecutive non-zero comparison pulses, the method of measuring sonic transition time further comprises:
Determining the reference span time of two continuous non-zero comparison pulses, wherein the reference span time of the two non-zero comparison pulses are sequentially ordered according to a time sequence;
determining a difference between the reference span time of the second non-zero comparison pulse and the reference span time of the first non-zero comparison pulse, and taking the difference as a third difference;
determining a difference between the third difference and the pulse period of the initial pulse group and taking the difference as a second target difference;
If the second target difference is smaller than a second preset difference threshold, determining the reference span time of three continuous non-zero comparison pulses from the reference span time of the first non-zero comparison pulse.
13. The method of measuring sonic transition time of claim 10, wherein said determining whether attenuation of a response voltage wave occurs based on said first reference span time comprises:
determining whether the response voltage wave is attenuated based on the first reference span time and the second reference span time.
14. The method of measuring acoustic wave transition time according to claim 13, characterized in that the determining whether the response voltage wave is attenuated based on the first reference span time and the second reference span time comprises:
Determining a difference between the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse, and taking the difference as a fourth difference;
Acquiring two continuous fourth difference values, and determining a difference value between a second fourth difference value and a first fourth difference value as a third target difference value;
If the third target difference value is greater than or equal to a third preset difference value threshold value, determining that the response voltage wave is attenuated; and if the third target difference value is smaller than the third preset difference value threshold value, determining that the response voltage wave is not attenuated.
15. The method of measuring acoustic wave transition time according to claim 13, characterized in that the determining whether the response voltage wave is attenuated based on the first reference span time and the second reference span time comprises:
Determining a pulse span time of the non-zero comparison pulse based on the reference span time of the non-zero comparison pulse and the reference span time of the zero-crossing comparison pulse;
Determining pulse span times of two continuous non-zero comparison pulses, and determining a difference between the pulse span time of the second non-zero comparison pulse and the pulse span time of the first non-zero comparison pulse as a fourth target difference;
And if the fourth target difference value is greater than or equal to the fourth preset difference value threshold value, determining that the response voltage wave is not attenuated.
16. The method of measuring sonic transition time of claim 14, wherein the determining the pulse-span time of the non-zero comparison pulse based on the reference-span time of the non-zero comparison pulse and the reference-span time of the zero-crossing comparison pulse comprises:
Determining a difference value between the reference span time of the non-zero comparison pulse corresponding to the response voltage wave and the reference span time of the zero-crossing comparison pulse, and taking the difference value as a fourth difference value;
based on the fourth difference, a pulse span time of the non-zero comparison pulse is determined.
17. The method of measuring sonic transition time of claim 16, wherein said determining a pulse span time of the non-zero comparison pulse based on the fourth difference value comprises:
And (3) carrying out difference between one half of the pulse period of the initial pulse group and the fourth difference value which is doubled to obtain the pulse span time of the non-zero comparison pulse.
18. An apparatus, characterized in that it comprises a device for measuring the sonic flight time according to any one of claims 1-9.
CN202510065014.XA 2025-01-15 2025-01-15 Measuring device, measuring method and measuring equipment for sonic wave flight time Pending CN119828111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510065014.XA CN119828111A (en) 2025-01-15 2025-01-15 Measuring device, measuring method and measuring equipment for sonic wave flight time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510065014.XA CN119828111A (en) 2025-01-15 2025-01-15 Measuring device, measuring method and measuring equipment for sonic wave flight time

Publications (1)

Publication Number Publication Date
CN119828111A true CN119828111A (en) 2025-04-15

Family

ID=95293959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510065014.XA Pending CN119828111A (en) 2025-01-15 2025-01-15 Measuring device, measuring method and measuring equipment for sonic wave flight time

Country Status (1)

Country Link
CN (1) CN119828111A (en)

Similar Documents

Publication Publication Date Title
CN101458332B (en) Ultrasonic ranging method and system thereof
JPH0516529B2 (en)
CN112964319B (en) Multi-frequency array ultrasonic flowmeter
CN209299249U (en) Extend Local Interconnect Network bus and from Local Interconnect Network bus transceiver
CN104536003A (en) Ultrasonic distance measuring method and device based on multiple emission frequencies
US20150323359A1 (en) Ultrasonic, Flow Measuring Device
US6865137B2 (en) Method for pulse offset calibration in time of flight ranging systems
US4397193A (en) Transducer drive circuit for ultrasonic flowmeter
WO2025228185A1 (en) Sound wave time-of-flight measurement apparatus and measurement method, and device
CN119828111A (en) Measuring device, measuring method and measuring equipment for sonic wave flight time
CN100451573C (en) Measuring circuit for measuring supersonic wave level meter transit time
CN114877959A (en) An Ultrasonic Flowmeter Using Dual Frequency Transducers
CN120065177A (en) Measuring device, measuring method and measuring equipment for sonic wave flight time
CN120468813A (en) Device, method and equipment for measuring acoustic wave transit time
US20150143910A1 (en) Ultrasonic transmitter circuit with matched impedance
CN223842130U (en) Devices and equipment for measuring the time of flight of sound waves
JP3849394B2 (en) Ultrasonic level meter
SU1465715A2 (en) Hydraulic meter of sound velocity
CN119355696A (en) Measuring device, method and equipment for acoustic wave transit time
CN222231766U (en) Measuring device and equipment for sonic wave flying time
JP4774618B2 (en) Flow measuring device
JPS6042405B2 (en) Pulsed ultrasonic Doppler current meter
RU2085858C1 (en) Ultrasound method for detection of product volume which runs through pipe and device which implements said method
CN222850109U (en) Transmit-receive system of gas ultrasonic flowmeter transducer
CN120871098A (en) Measuring device for sound wave flying time

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