Methods and systems for configuring a fluid flow meter include a processor obtaining a measurement signal recorded by the fluid flow meter. The processor can determine a whitening frequency band. The processor can then construct a whitening filter based on the measurement signal and the whitening frequency band. The processor can then generate a reference signal based on the whitening filter and the measurement signal. The processor can provide the whitening filter and the reference signal for use by the fluid flow meter to measure a time shift between the reference signal and another measurement signal.
|
20. A non-transitory computer-readable medium including computer code instructions stored thereon, the computer code instructions when executed by a one or more computers cause the one or more computers to:
receive an input signal indicative of a measurement signal recorded by an ultrasonic fluid flow meter mounted on a structure defining a lumen, the measurement signal representing an ultrasonic signal propagating through fluid flowing in the lumen;
determine a whitening frequency band based on the input signal;
construct a whitening filter having a whitening filter Fourier transform, the whitening filter Fourier transform of the whitening filter inversely proportional to a magnitude of an input signal Fourier transform of the input signal, wherein the whitening filter Fourier Transform is within the whitening frequency band;
generate a reference signal by filtering the input signal using the whitening filter; and
provide representations of the whitening filter and the reference signal to the fluid flow meter for use in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter, the fluid flow meter configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
11. A method of configuring ultrasonic fluid flow meters comprising:
receiving, by one or more computers, an input signal indicative of a measurement signal recorded by an ultrasonic fluid flow meter mounted on a structure defining a lumen, the measurement signal representing an ultrasonic signal propagating through fluid flowing in the lumen;
determining, by the one or more computers, a whitening frequency band based on the input signal;
constructing, by the one or more computers, a whitening filter having a whitening filter Fourier transform, the whitening filter Fourier transform of the whitening filter inversely proportional to a magnitude of an input signal Fourier transform of the input signal, wherein the whitening filter Fourier Transform is within the whitening frequency band;
generating, by the one or more computers, a reference signal by filtering the input signal using the whitening filter; and
providing, by the one or more computers, representations of the whitening filter and the reference signal to the fluid flow meter for use in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter, the fluid flow meter configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
1. A system for configuring an ultrasonic fluid flow meter comprising:
one or more computers; and
one or more memories storing computer executable instructions thereon, the computer executable instructions when executed by the one or more computers cause the one or more computers to:
receive an input signal indicative of a measurement signal recorded by the ultrasonic fluid flow meter mounted on a structure defining a lumen, the measurement signal representing an ultrasonic signal propagating through fluid flowing in the lumen;
determine a whitening frequency band based on the input signal;
construct a whitening filter having a whitening filter Fourier transform, the whitening filter Fourier transform of the whitening filter inversely proportional to a magnitude of an input signal Fourier transform of the input signal, wherein the whitening filter Fourier Transform is within the whitening frequency band;
generate a reference signal by filtering the input signal using the whitening filter; and
provide representations of the whitening filter and the reference signal to the fluid flow meter for use in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter, the fluid flow meter configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
2. The system of
3. The system of
for each of a plurality of candidate whitening frequency bands,
determining a candidate whitening filter based on the input signal and the candidate whitening frequency band;
generating a candidate reference signal by filtering the input signal with the candidate whitening filter;
computing a candidate cross correlation signal representing cross correlation between the candidate reference signal and a version of the input signal filtered using the candidate whitening filter; and
computing a candidate peak to sidelobe ratio (PSR) using the candidate cross correlation signal; and
selecting, among the plurality of candidate whitening frequency bands, a candidate whitening frequency band associated with the largest PSR.
4. The system of
computing the input signal Fourier transform of the input signal; and
computing the whitening filter Fourier transform of the whitening filter as a function of the inverse of the magnitude of the input signal Fourier transform of the input signal within the whitening frequency band.
5. The system of
computing an impulse response of the whitening filter by computing an inverse Fourier transform of the whitening filter Fourier transform of the whitening filter; and
truncating the impulse response of the whitening filter.
6. The system of
7. The system of
8. The system of
9. The system of
receive a first value indicative of an amount of fluid flowing through the lumen, the first value measured by the fluid flow meter;
receive as input a second value indicative of the amount of fluid flowing through the lumen measured by a user of the fluid flow meter;
compute a calibration value by dividing the second value by the first value; and
provide the calibration value to the fluid flow meter to calibrate a conversion ratio by multiplying the conversion ratio with the calibration value, the fluid flow meter using the calibrated conversion ratio to map a measured time difference between signal propagation times to a respective fluid flow rate value.
10. The system of
12. The method of
13. The method of
for each of a plurality of candidate whitening frequency bands,
determining a candidate whitening filter based on the input signal and the candidate whitening frequency band;
generating a candidate reference signal by filtering the input signal with the candidate whitening filter;
computing a candidate cross correlation signal representing cross correlation between the candidate reference signal and a version of the input signal filtered using the candidate whitening filter; and
computing a candidate peak to sidelobe ratio (PSR) using the candidate cross correlation signal; and
selecting, among the plurality of candidate whitening frequency bands, a candidate whitening frequency band associated with the largest PSR.
14. The method of
computing the input signal Fourier transform of the input signal; and
computing the whitening filter Fourier transform of the whitening filter as a function of an inverse of the magnitude of the input signal Fourier transform of the input signal within the whitening frequency band.
15. The method of
computing an impulse response of the whitening filter by computing an inverse Fourier transform of the whitening filter Fourier transform of the whitening filter; and
truncating the computed impulse response of the whitening filter.
16. The method of
17. The method of
18. The method of
19. The method of
receiving, by the one or more computers, a first value indicative of an amount of fluid flowing through the lumen, the first value measured by the fluid flow meter;
receiving, by the one or more computers, as input a second value indicative of the amount of fluid flowing through the lumen measured by a user of the fluid flow meter;
computing, by the one or more computers, a calibration value by dividing the second value by the first value; and
providing, by the one or more computers, the calibration value to the fluid flow meter to calibrate a conversion ratio by multiplying the conversion ratio with the calibration value, the fluid flow meter using the calibrated conversion ratio to map a measured time difference between signal propagation times to a respective fluid flow rate value.
|
This application is a U.S. National Phase under 35 U.S.C. § 365(a) of International Application No. PCT/US2016/048944, filed Aug. 26, 2016, which claims priority to U.S. Provisional Application No. 62/211,607, entitled “FLOW METER CONFIGURATION AND CALIBRATION” and filed on Aug. 28, 2015, both of which are incorporated herein by reference in their entirety.
Flow meters are typically employed to measure fluid flow rate and monitor fluid usage in fluid distribution systems, such as water or natural gas distribution systems. Flow meters can also allow for fluid leak detection and remote monitoring of fluid flow in the fluid distribution systems. Flow meters can also be used to collect statistical data with regard to fluid usage by various devices coupled to a fluid distribution system.
According to at least one aspect, a method for configuring a fluid flow meter can include a processor obtaining a measurement signal recorded by the fluid flow meter. The processor can determine a whitening frequency band. The processor can then construct a whitening filter based on the measurement signal and the whitening frequency band. The processor can then generate a reference signal based on the whitening filter and the measurement signal. The processor can provide the whitening filter and the reference signal for use by the fluid flow meter to measure a time shift between the reference signal and another measurement signal.
According to at least one other aspect, a system for configuring an ultrasonic fluid flow meter can include a processor and a memory storing computer executable instructions thereon. The computer executable instructions when executed by the processor cause the processor to receive an input signal associated with a measurement signal recorded by the ultrasonic fluid flow meter mounted on a structure defining a lumen. The measurement signal represents an ultrasonic signal propagating through fluid flowing in the lumen. The processor can also determine a whitening frequency band based on the input signal and construct a whitening filter based on the whitening frequency band and the input signal. The processor can also generate a reference signal by filtering the input signal using the whitening filter, and provide representations of the whitening filter and the reference signal to the fluid flow meter. The fluid flow meter can use the representations of the whitening filter and the reference signal in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter. The fluid flow meter can be configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
According to at least one other aspect, a method of configuring ultrasonic fluid flow meters can include a processor receiving an input signal associated with a measurement signal recorded by an ultrasonic fluid flow meter mounted on a structure defining a lumen. The measurement signal represents an ultrasonic signal propagating through fluid flowing in the lumen. The method can also include the processor determining a whitening frequency band based on the input signal and constructing a whitening filter based on the whitening frequency band and the input signal. The method can also include the processor generating a reference signal by filtering the input signal using the whitening filter, and providing representations of the whitening filter and the reference signal to the fluid flow meter. The fluid flow meter can use the representations of the whitening filter and the reference signal in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter. The fluid flow meter can be configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
According to at least one other aspect, a computer-readable medium can include computer code instructions stored thereon. The computer code instructions when executed by a processor cause the processor to receive an input signal associated with a measurement signal recorded by an ultrasonic fluid flow meter mounted on a structure defining a lumen. The measurement signal represents an ultrasonic signal propagating through fluid flowing in the lumen. The processor can determine a whitening frequency band based on the input signal, and construct a whitening filter based on the whitening frequency band and the input signal. The processor can also generate a reference signal by filtering the input signal using the whitening filter, and provide representations of the whitening filter and the reference signal to the fluid flow meter. The fluid flow meter can use the representations of the whitening filter and the reference signal in estimating fluid flow rates based on ultrasonic signals measured by the fluid flow meter. The fluid flow meter can be configured to filter a measured ultrasonic signal using the whitening filter and cross correlate the filtered ultrasonic signal with the reference signal to estimate a time shift associated with the measured ultrasonic signal.
Ultrasonic fluid flow meters employ ultrasonic waves to measure the flow rate (or flow velocity) of a fluid flowing within a lumen, such as a pipe, tailpiece, conduit or the like, of a fluid distribution system. A lumen as described herein represents a cavity or chamber of a tubular structure such as a pipe or tailpiece for channeling fluid within a fluid distribution system. In particular, an ultrasonic fluid flow meter can include ultrasonic transducers capable of transmitting ultrasonic signals to propagate through the fluid flowing in the lumen and receiving copies of the transmitted signals. The ultrasonic flow meter can estimate the fluid flow rate (or fluid flow velocity) based on measured or estimated propagation characteristics of the ultrasonic signal within the fluid. The ultrasonic signal propagation time can vary depending on the type of fluid, fluid flow velocity with respect to signal propagation direction, fluid temperature, the size of the lumen, the material of the lumen or other fluid parameters that can affect fluid density or fluid compressibility.
The ultrasonic fluid flow meter can determine the fluid flow rate (or fluid flow velocity) based on time difference(s) in signal propagation times for ultrasonic signals propagating under different fluid flow conditions (e.g., upstream and downstream signals, upstream and zero-flow signals, or zero-flow and downstream signals) in the lumen. Such time difference depends on the fluid flow rate (or fluid flow velocity). For example water flow rate (or water flow velocity) can be linearly proportional to the time difference between upstream signal propagation time and downstream signal propagation time. Accordingly, the ultrasonic fluid flow meter can estimate the time difference in signal propagation times and compute the fluid flow rate (or fluid flow velocity) based on the estimated time difference between signal propagation times. In some implementations, such time difference(s) between signal propagation times can be in the range of nano-seconds (ns).
Ultrasonic fluid flow meters (or other types of fluid flow meters) can include internal parameters for use in estimating the time difference(s) between the signal propagation times or for computing fluid flow rate (or fluid flow velocity) based on the estimated time difference(s). For instance, an ultrasonic fluid flow meter (or other type of fluid flow meter) can employ a match filter to estimate signal propagation times or time difference(s) between distinct signal propagation times. In some instances, the ultrasonic fluid flow meter can employ a conversion factor or a conversion lookup table (LUT) for computing fluid flow rate (or flow velocity) based on estimated (or measured) time difference(s) between propagation times of various signals. The accuracy of a flow meter in measuring fluid flow rate (or fluid flow velocity) depends on the respective internal parameters.
The shape and propagation time associated with a receive (RX) signal (e.g., received by a ultrasonic transducer after propagating through the lumen wall and/or the fluid in the lumen) depend on installation parameters, such as lumen size, lumen material, transducers configuration, type of fluid flowing the lumen, etc., of the fluid flow meter. Such parameters can be determined at the time the fluid flow meter is installed, for example, on a pipe. Also, the shape and propagation time associated with a receive (RX) signal can vary with variations in ambient or fluid temperature. Accordingly, configuring and/or calibrating a fluid flow meter during installation allows for adjusting of the internal parameters of the fluid flow meter based on, for example, the specifics of the pipe on which the fluid flow meter is installed. The adjustment of the internal parameters of the fluid flow meter during installation enhances the accuracy of the fluid flow meter. Upon installing the flow meter, for example, on a structure defining the lumen, a system can make use of RX signals or measurements obtained by the fluid flow meter to configure the fluid flow meter or adjust one or more respective internal parameters.
The fluid flow meter configuration/calibration application 95 can be implemented as a software executable instructions that are stored on a memory of the computer device 90 (or a memory of the fluid flow meter 100). The fluid flow meter configuration/calibration application 95 can be executed by a processor of the computer device 90 (or the processor 151). In some implementations where the configuration/calibration application 95 is executed by the fluid flow meter 100 (or the processor 151), the fluid flow meter 100 can include a button to initiate the configuration/calibration application 95.
As shown in
Each of the ultrasonic transducers 110 can be capable of transmitting and receiving ultrasonic signals. For instance, the ultrasonic transducer 110a can transmit the ultrasonic signal 101a, which propagates through the waveguide 120a and the lumen wall 11 into the lumen, reflects back from the lumen wall 11 towards the waveguide 120b and is received at the ultrasonic transducer 110b. The ultrasonic transducer 110b can transmit the ultrasonic signal 101b, which propagates through the waveguide 120b and the lumen wall 11 into the lumen, reflects back from the lumen wall 11 towards the waveguide 120a and is received at the ultrasonic transducer 110a. In the lumen, fluid is flowing according to direction 12. As such, the ultrasonic signal 101a propagates upstream (e.g., having a motion component along the longitudinal axis of the lumen structure 10 that is in opposite direction compared to the fluid flow direction 12) within the lumen and the ultrasonic signal 101b propagates downstream (e.g., having a motion component along the longitudinal axis of the lumen structure 10 that is in the same direction as the fluid flow direction 12). Given the propagation direction of the ultrasonic signals 101a and 101b with respect to the fluid flow direction 12, the respective propagation times are affected differently by the fluid flow. For instance, the propagation time of the downstream ultrasonic signal 101b is shorter than that of the upstream ultrasonic signal 101a. Ultrasonic signals propagating through the fluid are also referred to herein as ultrasonic signal(s) 101. In some implementations, the ultrasonic transducers 110 can transmit signals in one direction (e.g., downstream or upstream). In such implementations, signal propagation time can be compared to propagation time associated with a signal propagating in zero-flow or non-moving fluid to determine the effect of fluid flow on signal propagation through the fluid.
In some implementations, the fluid flow meter 100 can include more than two ultrasonic transducers 110. In some implementations, each ultrasonic transducer 110 in the fluid flow meter 100 can be capable of acting as a transmitter and a receiver. In some implementations, some ultrasonic transducers 110 in the fluid flow meter 100 can be configured or designated to act as transmitters while others can be configured or designated to act as receivers. While the fluid flow meter 100 employs the ultrasonic transducers 110 to transmit or receive signals, other types of signal transmitters/receivers such as acoustic or electromagnetic transmitters/receivers can be employed.
The ADC 155 can be configured to sample RX ultrasonic signals received at the ultrasonic transducers 110. In some implementations, the sampling rate of the ADC 155 can be smaller than a sampling rate associated with a desired signal resolution (or a desired sampling rate) for achieving accurate estimation of fluid flow rate, fluid flow velocity or relative time delays associated with RX ultrasonic signals. For instance, the sampling period of the ADC 155 can be in the range of micro-seconds (μs) while a desired resolution of relative time delays between ultrasonic signals 101 propagating within the fluid can be in the range of nano-seconds (ns). The ADC 155 can be coupled to the processor 151 or a memory associated with the control circuit 150. For instance, the ADC 155 can be configured to provide signal samples directly to the processor 151 or store the samples in a memory accessible by the processor 151. The control circuit 150 can further include a digital-to-analog converter (DAC) configured to convert waveform samples into analog signals. For instance, the DAC can convert samples of a digital excitation signal into a respective analog excitation signal that is provided as input to one of the ultrasonic transducers 110. The processor 151 or a memory associated with the control circuit 150 can store the samples of the digital excitation signal. In some implementations, the ADC 151 can be capable of operating as an ADC and a DAC. In some implementations, the digital excitation signal can include a pseudo random noise, a pulse train with a given frequency, pure tone at a given frequency, liner or logarithmic chirp signal or frequency modulated pulse train (e.g., with increasing or decreasing frequency). In response to the input analog excitation signal, the transducer 110 can output a band-pass signal that is transmitted into the lumen 10.
The processor 151 can be configured to control the operation and timing of the ultrasonic transducers 110 such as initiating transmission/reception of ultrasonic signals 101, control the operation of the ADC 155 such as initiating signal sampling by the ADC 155, control the operation of one or more other components of the control circuit 150, initiate and mange communication with other devices such as the computer device 90, execute processes for estimating flow rate or time difference between signal propagation times of distinct signals, manage power consumption of the fluid flow meter 100 or a combination thereof. The processor 151 can include one or more of a microprocessor, microcontroller, digital signal processor (DSP), and application-specific integrated circuit (ASIC). The control circuit 150 can include a memory for storing signal samples, data or computer code instructions executable by the processor 151. The control circuit 150 can also include a communication interface for communicating with other devices such as computer device 90, one or more signal amplifiers, or other analog or digital circuitry. The communication interface can include a wired communication interface such as a universal serial bus (USB) or a wireless communication interface such as a Zigbee interface, BLUETOOTH interface, WiFi interface, or other wireless communication interface.
The computer device 90 can include a tablet, smart phone, laptop, desktop, computer server, cloud server, or other communication device capable of communication with the fluid flow meter 100 or the respective processor 151 through a wired or wireless connection. The computer device 90 can be configured to communicate with the fluid flow meter 100 via one or more communication networks, such as a local area network (LAN), wide area network (WAN), cellular network or other communication network. The computer device 90 can include at least one processor and at least one memory. The computer device 90 can include a fluid flow meter configuration/calibration application 95, which when executed on the computer device 90, can cause the computer device 90 to perform the configuration or the calibration methods described in this disclosure. The fluid flow meter configuration/calibration application 95 can include computer code instructions running on a client device (such as a tablet, smart phone, laptop or desktop), cloud server, or on the processor 151.
In some implementations, the relative time delay determined at block 240 can represent a signal propagation time estimate for the fine resolution RX signal 202. For instance, if the reference waveform 204 represents a zero-delay signal, the relative time delay between the fine resolution RX signal 202 and the reference waveform 204 can be indicative of the signal propagation time associated with the fine resolution RX signal 202. In some implementations, the reference waveform 204 can be a sine wave, cosine wave, Gaussian function (or signal), sinc function (or signal), or other signal. In some implementations, the reference waveform 204, can be an upstream RX signal, downstream RX signal, zero-flow RX signal or a filtered/modified version thereof. In such implementations, the relative time delay determined at block 240 can be indicative of difference in signal propagation times between the fine resolution RX signal 202 and the reference waveform 204.
The method 200 can include the processor 151 determining an estimate of the time shift between the RX signal 201 and the matched reference signal 203 (block 210). A transducer 110 can receive a continuous version of the RX signal 201. The ADC 155 can sample the continuous version of the RX signal 201 make respective samples available to the processor 151. The matched reference signal 203 (also referred to herein as a matched filter) can be associated with a zero-flow RX signal, upstream RX signal or downstream RX signal. In some implementations, the matched reference signal 203 can be a zero-flow RX signal, downstream RX signal or upstream RX signal sampled by the ADC 155. In some implementations, the matched reference signal 203 can be a signal generated based on a filtered, cropped or otherwise modified version of a zero-flow RX signal, downstream RX signal or upstream RX signal. The processor 151 can determine an estimate of the time shift between the RX signal 201 and the matched reference signal 203 by computing a cross-correlation signal between the RX signal 201 and the matched reference signal 203 and identifying a time location or time index of the maximum cross correlation value of the computed cross correlation signal between the RX signal 201 and the matched reference signal 203.
In some implementations, the matched reference signal 203 can be obtained or generated during a configuration process of the fluid flow meter 100. For instance, the matched reference signal 203 can be determined based on a zero-flow RX signal, upstream RX signal or downstream RX signal that is obtained during the configuration process. In some implementations, the matched reference signal 203 and the RX signal 201 can be associated with two zero-flow RX signals, two upstream RX signals or two downstream RX signals obtained during the configuration process and post configuration, respectively. In such implementations, the time shift estimated in block 210 can represent the drift (or change) in signal propagation time (e.g., for an upstream signal, downstream signal or zero-flow signal) between the time of a configuration process and the time at which the RX signal 201 is measured, for instance, due to temperature variation. In some implementations, the configuration process can be performed after or during installation of the fluid flow meter 100 within a fluid distribution system (e.g., on a pipe or a tailpiece coupled to a pipe).
The processor 151 can generate the fine resolution RX signal 202 by upsampling one or more RX signals. In some implementations, the processor 151 can generate the fine resolution RX signal 202 by interleaving a plurality of RX signals with distinct time delays with respect to a clock signal associated with the control circuit 150. In some implementations, the processor 151 can employ both signal interleaving and upsampling to generate the fine resolution RX signal 202 based on a plurality of RX signals received within a time period. Given the increased resolution of the fine resolution RX signal 202 compared to the respective RX signal(s) from which the fine resolution RX signal 202 is generated, the fine resolution RX signal 202 can allow for a more accurate estimate of the relative time delay 209. However, the increased resolution of the fine resolution RX signal 202 can result in increased computational cost, for instance, when computing a cross correlation signal between the fine resolution RX signal 202 and the reference waveform 204.
The method 200 can include the processor 151 generating a windowed portion or segment of the fine resolution RX signal (block 220). The processor 151 can generate the segment of the fine resolution signal 202 based on the time shift estimate determined at block 210. In some implementations, the processor 151 can select a segment of the fine resolution RX signal to be centered at a time point that is determined based on the time shift estimate determined at block 210 and a time offset value (e.g., the sum of the time shift estimate and the time offset value). In some implementations, the processor 151 (or the computer device 90) can be configured to determine a width of the segment of the fine resolution signal based on a resolution ratio (or upsampling ratio) between the fine resolution RX signal 202 and the respective RX signal(s) used to generate the fine resolution RX signal 202. For instance, the width of the segment of the fine resolution signal (or the width of the window used in block 220) can be determined to include samples associated with one or more lobes of the fine resolution signal 202.
The method 200 can include the processor 151 computing a cross correlation signal between the segment of the fine resolution signal and the reference waveform 204 (block 230). Using the segment of the fine resolution signal, instead of using all the samples of the fine resolution signal 202, to compute the cross correlation signal at block 230 leads to a reduction in the respective computational complexity. The reference waveform 204 can be zero-flow, downstream or upstream RX signal. In some implementations, the reference waveform 204 can be a sine (or cosine) wave or other narrowband signal. In such implementations, the processor 151 can compute a first cross correlation signal representing cross correlation between a fine resolution upstream RX signal and the sine wave (or the narrowband signal), and a second cross correlation signal representing cross correlation between a fine resolution downstream RX signal and the sine wave (or the narrowband signal). The fine resolution upstream RX signal and the fine resolution downstream RX signal can correspond to two distinct (upstream and downstream) RX signals 201.
The method 200 can include the processor 151 determining an estimate of the relative time delay associated with the fine resolution RX signal 202 based on the cross correlation signal (also referred to herein as the partial cross correlation signal) computed at block 230 (block 240). For instance, if the reference waveform 204 is a zero-flow, downstream or upstream RX signal, the processor 151 can determine the relative time delay as the time location associated with a maximum cross correlation value (such as a local or global maximum) of the partial cross correlation signal computed at bock 230. In some instances, the processor 151 can determine the relative time delay based on the time location associated with a zero crossing or a minimum (such as a local or global minimum) of the partial cross correlation signal computed at block 230. In some implementations, if the processor 151 fails to identify a maximum (or minimum or zero-crossing) of the partial cross correlation signal, the processor 151 can be configured to adjust the segment at block 220 (e.g., by sliding a time window) and re-compute the partial cross correlation signal (or samples thereof) to determine the relative time delay.
In the case where the reference waveform 204 is a sine (or cosine) wave or other narrowband signal, the processor 151 can determine a difference in signal propagation time between the upstream signal and the downstream signal using corresponding first and second cross correlation signals. The processor 151 can determine such difference in signal propagation time based on a time shift between the first and second cross correlation signals. For instance, the processor 151 can determine the time shift as the time shift between two maxima (global or local), two minima (global or local) or two zero crossings associated with the first and second cross correlation signals, respectively. Such time difference or time shift represents the difference in signal propagation times upstream and downstream. The processor 151 can then determine the fluid flow rate (or fluid flow velocity) based on the difference in signal propagation times using, for instance, a conversion factor or a lookup table (LUT). The conversion factor or the LUT map maps the computed difference in signal propagation times to corresponding fluid flow rate (or fluid flow velocity). In some implementations, the processor 151 can compute the difference in signal propagation times between zero-flow and downstream or between upstream and zero-flow.
The cross correlation signals 320 and 330 associated with fluid temperatures equal to 72 F and 107 F, respectively, are different in shape and in magnitude. For instance, the cross correlation values in the cross correlation signal 320 range vary between −1 and 1, whereas the cross correlation values in the cross correlation signal 330 vary between about −0.8 and 0.8. Also, while the cross correlation signal 320 has a global maximum that is clearly greater than the next two local maxima, the three largest maxima of the cross correlation signal 330 have respective amplitudes that are very close to one another. The difference between the cross correlation signals 320 and 330 is due to the effect of temperature variation on measured RX signals. For instance, as the fluid temperature decreases, the signal propagation time through the lumen 10 between the transducers 110 gets longer and as the fluid temperature increases the signal propagation time gets shorter. In addition, since ultrasonic waves propagating between the transducers 110 pass through the lumen wall 11, changes in the temperature of the lumen wall can also affect the shape and propagation times of the RX ultrasonic signals.
Changes in the cross correlation signals, such as the differences between cross correlation signals 320 and 330, due to temperature variation can affect the accuracy of the fluid flow meter 100 in measuring fluid flow rate or fluid flow velocity. In particular, changes in the peaks of the cross correlation signals and their time location due to temperature variation can have a degradation effect on the estimation of relative time delays associated with RX signals obtained by the transducers 110. In addition to temperature variation, the installation parameters of the transducers 110 can also effect the shapes and propagation times of the RX signals received by the transducers 110. For instance, signal propagation times and RX signal shapes depend on the relative positions of the transducers 110 with respect to each other, the distance between the transducers 110, the shape and length of the signal propagation paths between the transducers 110, the size of the lumen structure 10 (e.g., diameter of the lumen structure 10), lumen wall material, thickness of lumen wall 11 or a combination thereof.
In the current disclosure, systems and methods for configuration and/or calibration of installed fluid flow meters (e.g., on-pipe configuration and/or calibration) allow for mitigation of the effect of temperature variation and fluid flow meter installation parameters on measured fluid flow rates (or fluid flow velocities) measured by the fluid flow meters. Accordingly, the accuracy of a fluid flow meter can be improved by applying the on-pipe configuration and/or calibration processes in this disclosure.
In a brief overview, the method 400A can include the processor 151 high-pass filtering the RX signal (x[n]) 401 (high-pass filter H(z) block 410a), upsampling the filtered RX signal (zero padding block 420 and low-pass filtering by low-pass filter L(z) block 425), whitening the upsampled signal (whitening filter W(z) block 430), computing a cross correlation signal between the whitened signal and a reference signal R1[n] 403 (cross correlation block 440), and locating the maximum cross correlation value in the computed cross correlation signal (block 450). The method 400B is similar to the method 400A, except that the high-pass filtering using the high-pass filter H(z) 410b is applied after upsampling the RX signal x[n] 401 in the method 400B. Also, the impulse response of the high-pass filter H(z) 410b in the method 400B can have a higher sampling rate in the time domain than the impulse response of the high-pass filter 410a used in the method 400A. The high-pass filters 410a and 410b are referred to herein, individually or collectively as high-pass filter 410.
The high-pass filter 410 can have a cut-off frequency determined based on the frequency response of the transducers. For instance, the frequency response of the transducers can have a pass-band between about 1.5 MHz (Mega Hertz) and about 2.5 MHz. As used herein, a frequency value that is equal to about 1.5 MHz can be a frequency value within the frequency range 1.4 MHz to 1.6 MHz, the frequency range 1.3 MHz to 1.7 MHz, or other frequency range around 1.5 MHz. Also, a frequency value that is equal to about 2.5 MHz can be a frequency value within the frequency range 2.4 MHz to 2.6 MHz, the frequency range 2.3 MHz to 2.7 MHz, or other frequency range around 2.5 MHz. In some implementations, the cut-off frequency of the high-pass filter 430 can be equal to 1 MHz, 1.1 MHz or other frequency value smaller than or equal to the lowest frequency value in the pass-band of the transducers.
In some implementations, the processor 151 can increase the resolution of the RX signal 401 or a respective filtered version by applying zero-padding 420 and interpolation using the low-pass filter L(z) 425. In some implementations, depending on the sampling rate of the RX signal 401 (e.g., sampling rate of the ADC 155), the process of increasing the resolution of (or upsampling) the RX signal 401 can be optional. For instance, the upsampling process may be optional if a cross correlation signal between the RX signal 401 and the reference signal R1[n] 403 allows for accurate estimation of the time shift 409 (e.g., the peak of the cross-correlation signal can be accurately identified). In some implementations, an upsampling factor greater than two can be employed by the processor 151 to increase the resolution of the RX signal 401 or a respective filtered version. In some implementations, the impulse response of the low-pass filter L(z) 425 can be a truncated sinc function, truncated cubic-spline interpolation filter, or other a interpolation filter known in the art.
The whitening filter W(z) 430 is configured to enforce the whitened signal y[n] (e.g., the output of the whitening filter W(z) 430) to have a constant magnitude in the frequency domain within a specific frequency band B. That is, given the Fourier transform P(o) of the signal p[n] (e.g., the input signal to the whitening filter 430), where w is the angular frequency, the Fourier transform W(ω) of the whitening filter can be defined within the frequency band B as
In some implementations, the Fourier transform W(ω) of the whitening filter 430 can be equal to zero outside the frequency band B. In such implementations, the use of the high-pass filter 410 and/or the interpolation filter 425 can be optional.
The method 400A or 400B can include the processor 151 computing a cross correlation signal between the output of the whitening filter (y[n]) and the reference signal R1[n] 403 (cross correlation bock 440). In some implementations, the processor 151 can compute the cross correlation signal by computing a convolution of the signal y[n] with a time-reversed version of the reference signal R1[n]. In some implementations, the reference signal R1[n] can represent a filtered version of a RX signal (such as a zero-flow RX signal, an upstream RX signal or a downstream RX signal) measured during configuration of the flow meter 100. In some implementations, the reference signal R1[n] can represent a whitened version (e.g., using the whitening filter 430) of a RX signal obtained during a configuration process of the fluid flow meter 100.
The method 400A or 400B can include the processor 151 determining a time location of the maximum cross correlation value (block 450) within the cross correlation signal computed at block 440. For instance, the processor can use a max( )) function or a search algorithm to identify the maximum cross correlation value and determine the respective time location (or time index). The processor 151 can use the time index of the identified maximum cross correlation value as the time shift estimate 409.
In some implementations, the processor 151 can obtain representations of the reference signal R1[n], the whitening filter 430, the high-pass filter 410, the low-pass filter 425 or a combination thereof during a configuration process of the fluid flow meter 100. In some implementations, the processor 151 can obtain a representation of a filter 490 that is a concatenation of the low-pass filter 420, the high-pass filter 410, the whitening filter 430 and the filter with an impulse response equal to the time-reversed version of the reference signal R1[n]. In some implementations, the low-pass filter 425 and/or the high-pass filter 410 may be optional and the processor 151 can obtain a filter representing a different concatenation, such as a concatenation of the whitening filter 430 and the filter with an impulse response equal to the time-reversed version of the reference signal R1[n]. In some implementations, the configuration process can be performed by computer device 90 capable of communicating with the flow meter 100. For instance, the computer device 90 can include a memory to store computer code instructions associated with the configuration application 95 and a processor to execute the computer code instructions. The computer device 90 can include a communication interface for communicating with the flow meter 100. In some implementations, the configuration process can be performed by the processor 151. For instance, the flow meter 100 can include a configuration button for initiating the configuration process.
The computer device 90 (or the configuration application 95 running thereon) can obtain samples of one or more RX signals recorded by the fluid flow meter 100 and determine the whitening filter, the reference signal 403, the high-pass filter 410, the low-pass filter 425 or a combination thereof. The computer device 90 can then send indication(s) of the determined filters and/or signals (or a concatenation thereof) to the processor 151 through a communication interface. In some implementations, the computer device 90 can be a client device (such as a tablet, laptop, smart phone, desktop, or other client device) coupled to the flow meter 100 (or the control circuit 150) during the configuration process through WiFi, BLUETOOTH, Zigbee, near field communication (NFC), USB ports, or other communication interface. In some implementations, the computer device 90 can be a server (such as a cloud server) coupled to the flow meter 100 through a local area network, wide area network, cellular network, Internet, public switched network, other communication network or a combination thereof.
The method 500 can include the processor computing the Fourier transform (e.g., FFT) of the signal p′[n] (block 540), and determining the frequency response of the whitening filter based on the computed Fourier transform and the whitening frequency band B (block 550). For instance, the processor can compute the frequency response (or frequency component) of the whitening filter at a frequency f within the frequency band B as
where |P/(2πf)| is the magnitude of the Fourier transform of the signal segment (computed at block 540) at the same frequency f and a is a real number. Outside the frequency band B, the processor can set the frequency response of the whitening filter to be equal to zero (or substantially equal to zero). In some implementations, the processor can compute the frequency response of the whitening filter using the Fourier transform of the RX signal. In some implementations, the processor can employ other techniques known in the art to compute the frequency response of the whitening filter based on the Fourier transform of the RX signal (or a processed/filtered version thereof) and a given whitening frequency band.
Upon computing the frequency response of the whitening filter, the processor can compute the respective inverse Fourier transform (e.g., using inverse fast Fourier transform (IFFT)) (block 560) to determine the impulse response of the whitening filter. In some implementations, the processor can apply a truncation operation (block 570). In particular, the processor can select a segment (or a subset of the samples) of the signal obtained after performing the inverse Fourier transform at block 560. For instance, the processor can ignore or nullify samples at both sides of the signal output by the IFFT block 560.
Both method 500 for determining the whitening filter and method 600 for computing the matched reference signal can be performed by the fluid flow meter configuration and calibration application 95. The fluid flow meter configuration and calibration application 95 can then provide representation(s) of the whitening filter and the matched reference signal to the fluid flow meter 100 for use to estimate (or measure) fluid flow rate or fluid velocity. Specifically, the fluid flow meter 100 can filter measured RX ultrasonic signals with the whitening filter and cross correlate the corresponding filtered signals with the matched reference signal to determine relative time shifts (or propagation times) associated with the measured RX ultrasonic signals. The whitening of an ultrasonic signal (e.g., during the configuration process) to compute the matched reference signal as described in
The method 700 can include the processor setting initial bounds f1 and f2 for the whitening frequency band B. In some implementations, the processor can set f1 and f1 such that frequency band B defined as [f1,f2] is a narrow band centered at a frequency f0 at which the input signal (e.g., the RX signal or a respective processed/filtered version such as p[n] or p′[n] as discussed with regard to
The method 700 can include the processor determining a whitening filter based on the input signal and the frequency band B (step 720). The processor can compute the impulse of the whitening filter as discussed above with regard to
The method 700 can include the processor computing a cross correlation signal between the reference signal and a whitened version of the input signal (step 740). In some implementations, the processor can compute the cross correlation signal as discussed with regard to step 440 of
In some implementations, the processor can determine the whitening frequency band B based on the frequency response of one or more RX signals (or measured signals). For instance, the processor can obtain one or more RX signals from the flow meter and compute the respective Fourier transform(s). Based on the computed Fourier transform(s), the processor can determine frequency bounds for B such that at least a given percentage (e.g., 99%, 98%, 97% or other percentage) of the energy of the RX signals falls within the frequency band B. In some implementations, the processor can select the whitening frequency B based on the transducers bandwidth. For instance, the processor can select whitening frequency band B that includes a passband of the transducers (e.g., 1.5 MHz to 2.5 MHz).
The configuration method 800 can include the configuration application 95 obtaining an input signal recorded by the fluid flow meter. The application 95 (if running on computer device 90) can initiate configuration of the fluid flow meter 100 by sending a request to the fluid flow meter 100. In some implementations, the configuration process can be initiated through a button of the fluid flow meter 100 (e.g., if the configuration application 95 is running on the processor 151 or the control circuit 150). Upon initiation of the configuration process, one transducer 110 of the fluid flow meter 100 can generate a transmit (TX) signal to propagate through the fluid in the lumen. In response to the TX signal, another transducer 110 of the fluid flow meter can receive a respective RX signal (or measurement signal). In some implementations, the TX and RX signals can be associated with a zero-flow state. In some implementations, the TX and RX signals can be upstream or downstream signals. The ADC 155 can sample the RX signal and provide the respective samples to the processor 151 or a memory of the fluid flow meter 100. The fluid flow meter 100 (or the processor 151) can provide the samples of the RX signal to the configuration application 95. In some implementations, the fluid flow meter 100 can provide a processed or filtered version of the RX signal.
The method 800 can include application 95 determining a whitening frequency band B (step 820). Determining the whitening frequency band B can include determining the respective frequency bounds (e.g., frequency values f1 and f2). In some implementations, the configuration application 95 can determine the whitening frequency band as discussed above with regard to
In some implementations, the configuration application 95 can be configured to determine a time offset value for use in determining a segment (step 220 in
When estimating propagation time (e.g., during operation mode post configuration of the fluid flow meter 100) associated with a measured RX ultrasonic signal (such as an upstream, downstream ultrasonic signal, or respective processed version), the fluid flow meter 100 can filter the measured RX ultrasonic signal using the whitening filter. The fluid flow meter 100 can cross correlate the filtered measured RX ultrasonic signal with the matched reference signal to compute a cross correlation signal. The fluid flow meter 100 can determine a relative time shift (or a propagation time) associated with the measured RX ultrasonic signal based on, for example, a time index associated with a peak of the computed cross correlation signal.
The method 900 can include the processor obtaining a user measured value of the fluid amount flowing through the lumen (step 920). For instance the user can measure the amount of fluid collected in the bucket and input the measured value (e.g., through a user interface (UI) of the computer device 90 or a UI the flow meter 100). The processor can then compute a conversion ratio calibration value as the ratio of the user measured value divided by the meter measured value (step 930). The processor can then provide the conversion ratio calibration value to the fluid flow meter 100 (step 940). The fluid flow meter 100 (or processor 151) can then calibrate a conversion ratio (maintained by the flow meter) by multiplying the conversion ratio with the calibration value. The processor 151 can use the calibrated conversion ration to map measured differences in signal propagation times (between distinct measurement signals) to respective flow rate values.
While the systems, devices and methods in the current disclosure are described in terms of ultrasonic transducers, alternative flow rate sensors can include magnetic field sensors acoustic sensors or other sensors capable of sensing other types of signals propagating through a fluid in a lumen. The systems, devices and methods described in the current disclosure can be used to measure flow rates in fluid distribution systems such as water distribution systems, natural gas distribution systems, oil distribution systems, or other fluid distribution systems used in different industries.
Methods described in this disclosure can be implemented as computer code instructions. For example, a computer-readable medium can include computer code instructions stored thereon. The computer code instructions when executed by a processor cause the processor to execute any of the methods described above.
While the invention has been particularly shown and described with reference to specific embodiments, it should be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the following claims.
Leaders, Jeffrey L., Mess, Francis M., Gestner, Brian
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
10031011, | Dec 05 2007 | USCOM LIMITED | Ultrasonic flow meter including a single transmitting transducer and a pair of receiving transducers |
3922911, | |||
4391149, | May 15 1981 | Fischer & Porter Company | Doppler-type ultrasonic flowmeter |
5170792, | Nov 27 1989 | U-Systems, Inc | Adaptive tissue velocity compensation for ultrasonic Doppler imaging |
5907104, | Dec 08 1995 | FMC TECHNOLOGIES INC | Signal processing and field proving methods and circuits for a coriolis mass flow meter |
6877387, | Jul 10 1998 | Faure Herman | Method for measuring displacement of a fluid in a conduit |
9252745, | Jul 31 2012 | International Business Machines Corporation | Whitening filter configuration method, program, and system |
20020095263, | |||
20070006744, | |||
20070156355, | |||
20070169536, | |||
20070169537, | |||
20070291591, | |||
20080133182, | |||
20080189057, | |||
20090007625, | |||
20100313958, | |||
20130080081, | |||
20130245994, | |||
20140040340, | |||
20140069207, | |||
20140298882, | |||
20140369166, | |||
20140371594, | |||
20150084806, | |||
20150241337, | |||
20160334255, | |||
20170082650, | |||
20170115255, | |||
20170156704, | |||
20170227568, | |||
20170268915, | |||
20180010940, | |||
20180113145, | |||
EP2759846, | |||
JP2012052994, | |||
WO2012129101, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Aug 26 2016 | StreamLabs, Inc. | (assignment on the face of the patent) | / | |||
Sep 02 2016 | GESTNER, BRIAN | SONETER, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 043725 | /0131 | |
Sep 02 2016 | MESS, FRANCIS M | SONETER, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 043725 | /0131 | |
Sep 07 2016 | LEADERS, JEFFREY L | SONETER, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 043725 | /0131 | |
Nov 10 2016 | SONETER, INC | Reliance Worldwide Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 043712 | /0687 | |
Jul 26 2021 | Reliance Worldwide Corporation | CHUBB CUSTOM MARKET INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057410 | /0230 | |
Aug 16 2021 | CHUBB CUSTOM MARKET INC | STREAMLABS, INC | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 057437 | /0268 |
Date | Maintenance Fee Events |
Aug 03 2018 | PTGR: Petition Related to Maintenance Fees Granted. |
Date | Maintenance Schedule |
Feb 08 2025 | 4 years fee payment window open |
Aug 08 2025 | 6 months grace period start (w surcharge) |
Feb 08 2026 | patent expiry (for year 4) |
Feb 08 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 08 2029 | 8 years fee payment window open |
Aug 08 2029 | 6 months grace period start (w surcharge) |
Feb 08 2030 | patent expiry (for year 8) |
Feb 08 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 08 2033 | 12 years fee payment window open |
Aug 08 2033 | 6 months grace period start (w surcharge) |
Feb 08 2034 | patent expiry (for year 12) |
Feb 08 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |