The present application relates to a time-of-flight generating circuit and chip, flow meter, and method of the same.
Ultrasonic flow meters are commonly used flow meters. Flow meters are widely applied in detecting the flow speed of a fluid; compared with other types of flow meters, ultrasonic flow meters have greater advantages in aspects like pressure loss, lowest detectable flow speed and installation cost; however, due to the complexity of the calculation, the accuracy thereof still needs to be improved, and therefore, further improvement and innovation thereto are necessary.
One purpose of the present application is to disclose a time-of-flight (TOF) generating circuit and related chip, flow meter, and method of the same to address the above-mentioned issues.
One embodiment of the present application discloses a TOF generating circuit, coupled to a first transducer and the second transducer, wherein there is a distance greater than zero between the first transducer and the second transducer, and the first transducer and the second transducer are arranged in a pipeline filled with fluid. The TOF generating circuit includes a first transmitter and a first receiver coupled to the first transducer, a second transmitter and a second receiver coupled to the second transducer, a signal generating circuit, a correlation circuit, and a processing circuit. The signal generating circuit is configured to, under a first ambient factor, generate a first signal to the first transmitter to cause the first transducer to transmit a first transducer signal, wherein the first transducer signal is received by the second transducer, and the second receiver generates a first receiving signal to the signal generating circuit; and, under a second ambient factor, generate a second signal to the first transmitter to cause the first transducer to transmit a second transducer signal, wherein the second transducer signal is received by the second transducer, and the second receiver generates a second receiving signal to the signal generating circuit. The correlation circuit is configured to perform a correlation operation on the first receiving signal and the second receiving signal to generate a first correlation signal. The processing circuit is configured to generate a TOF variation between the first transducer and the second transducer according to at least the first correlation signal.
One embodiment of the present application discloses a chip, which includes the above-mentioned TOF generating circuit.
One embodiment of the present application discloses a flow meter, which includes the above-mentioned TOF generating circuit; the first transducer; and the second transducer; wherein the TOF generating circuit is coupled to the first transducer and the second transducer.
One embodiment of the present application discloses a TOF generation method for controlling a first transmitter, a first receiver, a second transmitter, and a second receiver, wherein the first transmitter and the first receiver are coupled to a first transducer, and the second transmitter and the second receiver are coupled to a second transducer, wherein there is a distance greater than zero between the first transducer and the second transducer, and the first transducer and the second transducer are arranged in a pipeline filled with fluid. The method includes: under a first ambient factor, generating a first signal to the first transmitter to cause the first transducer to transmit a first transducer signal; after the first transducer signal is received by the second transducer, generating a first receiving signal by using the second receiver; under a second ambient factor, generating a second signal to the first transmitter to cause the first transducer to transmit a second transducer signal; after the second transducer signal is received by the second transducer, generating a second receiving signal by using the second receiver; performing a correlation operation on the first receiving signal and the second receiving signal to generate a first correlation signal; and generating a TOF variation between the first transducer and the second transducer according to at least the first correlation signal.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. Specific examples of components and arrangements are described below to simplify the present disclosure. As could be appreciated, these are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and the second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and the second features, such that the first and the second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
Further, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper,” and the like, may be used herein for the ease of the description to describe one element or feature's relationship with respect to another element(s) or feature(s) as illustrated in the drawings. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (e.g., rotated by 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the invention are approximations, the numerical values set forth in the specific examples are reported as precisely as possible. Any numerical value, however, inherently contains certain errors necessarily resulting from the standard deviation found in the respective testing measurements. Also, as used herein, the term “about” generally means within 10%, 5%, 1%, or 0.5% of a given value or range. Alternatively, the term “about” means within an acceptable standard error of the mean when considered by one of ordinary skill in the art. As could be appreciated, other than in the operating/working examples, or unless otherwise expressly specified, all of the numerical ranges, amounts, values and percentages such as those for quantities of materials, durations of times, temperatures, operating conditions, ratios of amounts, and the likes thereof disclosed herein should be understood as modified in all instances by the term “about.” Accordingly, unless indicated to the contrary, the numerical parameters set forth in the present disclosure and attached claims are approximations that can vary as desired. At the very least, each numerical parameter should at least be construed considering the number of reported significant digits and by applying ordinary rounding techniques. Ranges can be expressed herein as from one endpoint to another endpoint or between two endpoints. All ranges disclosed herein are inclusive of the endpoints unless specified otherwise.
When calculating the volumetric flux, it is an important issue to determine whether the data detected is reasonable, and then to determine whether the system needs to be calibrated. In some embodiments, the speed of sound can be used as the basis for the determination. For example, the temperature measured by the temperature sensor is applied to the theoretical speed of sound, and compared with the current speed of sound estimated based on the actual measurement result, so as to monitor whether the ultrasonic flowmeter and temperature sensor in the system are operating normally.
In many existing ultrasonic time-of-transmission measurement systems, the signal analysis and calculations in both the upstream and downstream directions are used to obtain information about the information of time-of-flight. However, this approach has several drawbacks, as the two transducers, which are usually placed in the environment where the measurement is performed, are not perfect and usually have a certain degree of offset, and this offset can cause a delay between the upstream signal and the downstream signal. In addition to the delay, there may even be cases where the waveform of the upstream signal differs significantly from that of the downstream signal due to differences between the transfer functions in two directions.
However, if there is a difference between the upstream signal and the downstream signal waveforms, it becomes very complicated to calculate the correlation. Further, the existing measurement systems have a large amount of error, so the correlation is often used to deal with the offset between the two transducers so as to make the upstream signal waveform be substantially identical to the downstream signal waveform. This approach involves adjusting the frequency of the driving transducer or the technical means of impedance matching by using acoustic-electric or electro-acoustic transformation.
The present application proposes a novel approach to eliminate the transducer offset by establishing a reference signal in both of the upstream and downstream directions first, and due to the establishment of the reference signal, the present application can obtain a perfect reference signal by averaging over a long period of time, so that the influence of noise and ambient changes can be greatly reduced, and the resolution of the final measurement can be improved.
The present application provides a TOF generating circuit 100, configured to calculate the signal TOF and the current flow speed of the fluid. The present application further provides a chip, which includes the TOF generating circuit 100. In some embodiments, the TOF generating circuit 100 can be applied in a transducer device; for example, the present application further provides a flow meter, which includes the TOF generating circuit 100, a first transducer 102, and a second transducer 104. For example, the above-mentioned flow meter can be configured to detect the flow speed and/or the volumetric flux of gas and liquid; however, the present application is not limited thereto.
The first transducer 102 and second transducer 104 are installed in a pipeline 120 filled with fluid (e.g., liquid or gas). The transmission direction of the first transducer 102 faces the second transducer 104; and the transmission direction of the second transducer 104 faces the first transducer 102. There is a distance L between the first transducer 102 and the second transducer 104, and L is greater than zero.
The TOF generating circuit 100 includes a first transmitter 106 and a first receiver 108, both of which are coupled to the first transducer 102; and a second transmitter 110 and a second receiver 112, both of which are coupled to the second transducer 104. The TOF generating circuit 100 further includes a signal generating circuit 114, a correlation circuit 116, and a processing circuit 118, configured to generate the TOF of the signal in the fluid by signal processing, and further estimate the flow speed of the fluid. Specifically, the correlation circuit 116 is configured to perform a correlation operation on the signals, whereas the processing circuit 118 is configured to calculate the TOF of the signal in the fluid and the flow speed of the fluid according to the signal that has been subject to the correlation operation. In some embodiments, the processing circuit 118 is further configured to calculate the volumetric flux of the fluid according to the flow speed of the fluid.
It should be noted that the arrangement and position of the first transducer 102 and the second transducer 104 in the pipeline 120 are not limited to those shown in
Following the embodiment in
Following the embodiment in
More specifically, in the embodiment of
TOF1=L/C,
in which L is the distance of the path traveled by the first transducer signal TS1, C is the speed of the signal transmission, and the flow speed V1 of the fluid is assumed to be zero, whereas the process offset parameter of the first transmitter 106 is ε1, and the process offset parameter of the second receiver 112 is ε2. Hence, the TOF1, generate measured by the processing circuit 118 will be:
TOF1,generate=ε1+ε2+TOF1;
in the embodiment of
TOF2=L/(C+V2),
in which L is the distance of the path traveled by the first transducer signal TS2, C is the speed of the signal transmission, and V2 is the flow speed of the fluid, whereas the process offset parameter of the first transmitter 106 is ε1, and the process offset parameter of the second receiver 112 is ε2. Hence, the TOF2, generate measured by the processing circuit 118 will be:
TOF2,generate=ε1+ε2+TOF2,
therefore, the following equation can be obtained:
TOF2,generate−TOF1,generate=TOF2−TOF1=[L/(C+V2)]−L/C,
under the condition that the TOF2, generate and the TOF1, generate generated by the processing circuit 118, the distance L, and the speed C of signal transmission are known, the flow speed V2 of the fluid can be obtained easily, and the effect of the process offset parameters of the first transmitter 106 and the second receiver 112 can be removed. Thereby, the accuracy of the measurement is improved. In the present embodiment, the first transducer signal TS1 and the second transducer signal TS2 are acoustic signals, and hence the speed C of signal transmission is the speed of sound.
Following the embodiment in
Following the embodiment in
Next, the signal generating circuit 114 transmits the first receiving signal RS1, the second receiving signal RS2, the third receiving signal RS3, and the fourth receiving signal RS4 to the correlation circuit 116. The correlation circuit 116 performs the correlation operation on the first receiving signal RS1 and the second receiving signal RS2 in the time domain to generate the first correlation signal CS1 and performs the correlation operation on the third receiving signal RS3 and the fourth receiving signal RS4 in the time domain to generate the second correlation signal CS2. The processing circuit 118 calculates the TOF according to the first correlation signal CS1 and the second correlation signal CS2. Similarly, the correlation circuit 116 may first perform fast Fourier transform on the first receiving signal RS1, the second receiving signal RS2, the third receiving signal RS3 and the fourth receiving signal RS4 to respectively obtain the first transformation signal, the second transformation signal, the third transformation signal, and the fourth transformation signal, and perform the correlation operation on the first transformation signal and the second transformation signal and perform the correlation operation on the third transformation signal and the fourth transformation signal to respectively obtain the first correlation signal and the second correlation signal. Optionally, the processing circuit 118 may further calculate the volumetric flux of the fluid according to the TOF.
It should be noted that signal generating circuit 114 further includes an storage device (not shown in the drawing), configured to store the first receiving signal RS1, the second receiving signal RS2, the third receiving signal RS3, and the fourth receiving signal RS4. In some embodiments, the storage device may be arranged independently from the signal generating circuit 114. Further, the present application is not particularly limited to generating only one first receiving signal RS1 and only one third receiving signal RS3. In other embodiments, the signal generating circuit 114 may, under the first ambient factor, generate a plurality of first receiving signals RS and a plurality of third receiving signals RS3, which are stored in the storage device. Next, the signal generating circuit 114 performs equivalent averaging on the plurality of first receiving signal RS1, and similarly, performs equivalent averaging on the plurality of third receiving signal RS3. In this way, the noise of the system can be eliminated effectively.
More specifically, in the embodiment of
TOF1=L/C,
in which L is the distance of the path traveled by the first transducer signal TS1, C is the speed of the signal transmission, and the flow speed V1 of the fluid is assumed to be zero, whereas the process offset parameter of the first transmitter 106 is ε1, and the process offset parameter of the second receiver 112 is ε2. Hence, the TOF1, generate measured by the processing circuit 118 will be:
TOF1,generate=ε1+ε2+TOF1;
further, the actual TOF of the third transducer signal TS3 (from the second transducer 104 to the first transducer 102) is TOF3, and the TOF3 may also be expressed as TOF3=L/C, whereas the process offset parameter of the second transmitter 110 is E3 and the process offset parameter of the first receiver 108 is ε4. Hence, the TOF3, generate measured by the processing circuit 118 will be:
TOF3,generate=ε3+ε4+TOF3.
Next, in the embodiment of
TOF2,generate=ε1+ε2+TOF2,
wherein the TOF2 may be further expressed as:
TOF2=L/(C+V2),
in which L is the distance of the path traveled by the second transducer signal TS2, C is the speed of the signal transmission, and V2 is the flow speed of the fluid; further, the actual TOF of the fourth transducer signal TS4 (from the second transducer 104 to the first transducer 102) is TOF4, wherein the TOF4 may also be expressed as:
TOF4=L/(C−V2),
whereas the process offset parameter of the second transmitter 110 is ε3, and the process offset parameter of the first receiver 108 is ε4; hence the TOF4, generate measured by the processing circuit 118 will be:
TOF4,generate=ε3+ε4+TOF4.
Therefore, the following equations can be obtained:
TOF2,generate−TOF1,generate=TOF2−TOF1=[L/(C+V2)]−L/C,
TOF4,generate−TOF3,generate=TOF4−TOF3=[L/(C−V2)]−L/C.
Under the condition that the TOF1, generate, the TOF2, generate, the TOF3, generate and the TOF4, generate generated by the processing circuit 118, the distance L, and the speed C of signal transmission are known, the flow speed V2 of the fluid can be obtained easily, and the effect of the process offset parameters of the first transmitter 106, the first receiver 108, the second transmitter 110, and the second receiver 112 can be removed. Thereby, the accuracy of the measurement is improved. In the present embodiment, the first transducer signal TS1, the second transducer signal TS2, the third transducer signal TS3, and the second transducer signal TS4 are acoustic signals, and hence the speed C of signal transmission is the speed of sound.
It should be noted that, in the above-mentioned embodiments, the first ambient factor and the second ambient factor respectively represent the fluid having a different flow speed (such as V1 and V2, wherein V1 is 0); however, the present application is not limited thereto. In other embodiments, the first ambient factor and the second ambient factor may respectively represent different ambient temperatures.
More specifically, in the embodiment of
TOF1=L/C1,
in which L is the distance of the path traveled by the first transducer signal TS1, C1 is the speed of the signal transmission under the ambient temperature T1, and the flow speed V1 of the fluid is assumed to be zero, whereas the process offset parameter of the first transmitter 106 under the ambient temperature T1 is ε1, and the process offset parameter of the second receiver 112 under the ambient temperature T1 is ε2; and hence, the TOF1, generate measured by the processing circuit 118 will be:
TOF1,generate=ε1+ε2+TOF1;
further, the actual TOF of the third transducer signal TS3 (from the second transducer 104 to the first transducer 102) is TOF3, and the TOF3 may also be expressed as TOF3=L/C,
TOF3=L/C1,
whereas the process offset parameter of the second transmitter 110 under the ambient temperature T1 is ε3 and the process offset parameter of the first receiver 108 under the ambient temperature T1 is ε4, and hence, the TOF3, generate measured by the processing circuit 118 will be:
TOF3,generate=ε3+ε4+TOF3.
Next, in the embodiment of
TOF2=L/(C2+V2),
in which C2 is the speed of the signal transmission under the ambient temperature T2, whereas the process offset parameter of the first transmitter 106 under the ambient temperature T2 is ε1′, and the process offset parameter of the second receiver 112 under the ambient temperature T2 is ε2′, and hence, the TOF2, generate measured by the processing circuit 118 will be:
TOF2,generate=ε1′+ε2′+TOF2;
further, the actual TOF of the fourth transducer signal TS4 (from the second transducer 104 to the first transducer 102) is TOF4, and the TOF4 can also be expressed as:
TOF4=L/(C2−V2),
whereas the process offset parameter of the second transmitter 110 is ε3, and the process offset parameter of the first receiver 108 is ε4′, and hence the TOF4, generate measured by the processing circuit 118 will be
TOF4,generate=ε3′+ε4′+TOF4.
Therefore, the following equations can be obtained:
TOF2,generate−TOF1,generate=TOF2−TOF1+Δε1,2=[L/(C2+V2)]−L/C1,
TOF4,generate−TOF3,generate=TOF4−TOF3+Δε3,4=[L/(C2−V2)]−L/C1.
Under the condition that the TOF1, generate, the TOF2, generate, the TOF3, generate and the TOF4, generate generated by the processing circuit 118, the distance L, and the speed of signal transmission C2 are known, although there might still be a certain process offset parameters such as Δε1,2 and Δε3,4, but the Δε1,2 and Δε3,4 are results obtained by subtraction, therefore, the error of the flow speed V2 of the fluid obtained is smaller than the one obtained without using the techniques proposed by the present application. Hence, the accuracy of the measurement is improved. In the present embodiment, the first transducer signal TS1, the second transducer signal TS2, the third transducer signal TS3, and the second transducer signal TS4 are acoustic signals, and hence the speed C of signal transmission is the speed of sound.
Persons having ordinary skill in the art can readily understand the details of the TOF generation method 1000, upon reading embodiments of
Persons having ordinary skill in the art can readily understand the details of the TOF generation method 1100, upon reading embodiments of
The foregoing outlines the features of several embodiments so that those skilled in the art may better understand various aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of embodiments introduced herein. Those skilled in the art should also realize that such equivalent embodiments still fall within the spirit and scope of the present disclosure, and they may make various changes, substitutions, and alterations thereto without departing from the spirit and scope of the present disclosure.
This application is a continuation of International Application No. PCT/CN2019/078812, filed on Mar. 20, 2019, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/078812 | Mar 2019 | US |
Child | 17028931 | US |