WO2012161716A1 - Fluid quantification instrument and method - Google Patents
Fluid quantification instrument and method Download PDFInfo
- Publication number
- WO2012161716A1 WO2012161716A1 PCT/US2011/038124 US2011038124W WO2012161716A1 WO 2012161716 A1 WO2012161716 A1 WO 2012161716A1 US 2011038124 W US2011038124 W US 2011038124W WO 2012161716 A1 WO2012161716 A1 WO 2012161716A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fluid
- measurements
- measurement
- elements
- raw
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/002—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow wherein the flow is in an open channel
Definitions
- the invention is related to the field of fluid quantification ; , and in particular, to fluid quantification including fluid flow quantification.
- Water flow measurement is typically, required for municipalities, including measuring run-off water or water in storm drains or sewers. However, the amount of flow can be varying and at times can be unpredictable. Because normal wastewater flows may be added to by storms or other unexpected or uncontrolled events, sewer pipes or sewer systems typically are constructed to be large enough to handle most excessive flow events. Consequently, wastewater conduits are partially filled and act as open channels, absent an unexpectedly high fluid collection. The flow depth typically is only a fraction of the conduit depth most of the time.
- the flow rate may vary significantly according to factors such as the slope of the conduit, the roughness of the conduit, the presence of any obstructions and/or changes in direction of the conduit, the nature of the fluid and the viscosity and presence of solid objects or particulate matter in the fluid, and any other interactions between the fluid and the conduit.
- the flow depth will play an important part in the flow rate, wherein changes in flow depth will affect the flow velocity, turbulence in the flow, likelihood of obstructions of the flow, etc.
- a velocity sensor may have dropouts during low flow conditions. For example, a submerged Doppler velocity probe may have dropouts due to insufficient particulates (targets) or the sensor not being
- the depth (d) is therefore used to determine the area (A).
- one or more depth probes and one or more velocity probes may be employed. Redundant sensors can be included in order to increase or maintain accuracy.
- Depth measurement in an open channel is relatively easy to accomplish.
- One approach is a pressure measurement, wherein a fluid pressure can be con-elated to a fluid depth.
- Other depth measurements can also be employed, such as an ultrasonic or electromagnetic measurement that directly determines a fluid depth or that indirectly determines fluid depth by determining the distance to the fluid surface.
- One type of fluid flow velocity measurement is a measurement of the velocity of the fluid surface.
- such measurement can be performed non-intrusively, such as from a probe above the fluid surface.
- the velocity sensor can be located at the top of the conduit or channel and can direct a measurement beam or beams downward onto the fluid surface.
- Objects on the surface can give false readings and can be moving at different velocities than the fluid.
- the fluid surface can include ripples or waves, solid objects, solid objects that are trapped or hung up (i.e., tree branches, trash, etc.) and can produce noisy or inaccurate readings.
- Another type of fluid flow velocity measurement utilizes a submerged ultrasonic probe to make velocity measurements based on Doppler or correlation techniques. Such probes measure the movement of large ensembles of particles carried within the flowing fluid. The resulting velocity measurements may thus better represent the average velocity of the fluid over the channel cross- section.
- a fluid quantification instrument comprises:
- meter electronics in communication with the one or more sensor probes, with the meter electronics being configured to receive one or more raw fluid measurements from the one or more sensor probes, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements
- the predictive system model is provided by an unscented Kalman filter.
- the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid.
- the meter electronics being further configured to generate a plurality of Fourier coefficients related to a flow state periodicity.
- the meter electronics being further configured to generate a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
- the one or more elements of the predictive system model comprising a predicted measurement error ( y k - y k ⁇ ) that is compared to predetermined scaled elements of the sensor covariance matrix (P y ), an estimated measurement error
- performing one or more optimization actions comprising decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
- performing one or more optimization actions comprising determining a future timing of one or more predetermined raw measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption of the fluid quantification instrument.
- a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw fluid measurements through statistical sensor fusion.
- a fluid quantification method comprises:
- the predictive system model is provided by an unscented alman filter.
- the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid flow.
- the one or more elements of the predictive sj'stem model comprising a predicted measurement error (y k -y k ⁇ ) that is compared to predetermined scaled elements of the sensor covariance matrix (P y ), an estimated measurement error
- Preferab y performing one or more optimization actions comprising decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
- performing one or more optimization actions comprising determining a future timing of one or more predetermined raw measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption.
- a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw measurements through statistical sensor fusion.
- FIG. 1 shows a fluid quantification instrument according to an embodiment of the invention.
- FIG. 2 illustrates a volume flow rate determination method
- FIG. 3 is a graph of flow cross-sectional area versus flow depth for a typical open channel fluid conduit.
- FIG. 4 is a graph of flow velocity versus flow depth for a typical open channel fluid conduit.
- FIG. 5 shows a Fourier coefficient estimation process according to an
- FIG. 6 shows a complete state transition model according to an embodiment of the invention.
- FIG. 7 is a flowchart of a fluid quantification method according to an
- FIG. 8 is a flowchart of a fluid quantification method according to an
- FIG. 9 is a flowchart of a power-saving method according to an embodiment of the invention.
- FIG. 10 is a flowchart of a power-saving method according to an embodiment of the invention.
- FIGS. 1-10 and the following description depict specific examples to teach those skilled in the art how to make and use the best mode of the invention. For the purpose of teaching inventive principles, some conventional aspects have been simplified or omitted. Those skilled in the art will appreciate variations from these examples that fall within the scope of the invention. Those skilled in the art will appreciate that the features described below can be combined in various ways to form multiple variations of the invention. As a result, the' invention is not limited to the specific examples described below, but only by the claims and their equivalents.
- FIG. 1 shows a fluid quantification instrument 100 according to an embodiment of the invention.
- the fluid quantification instrument 100 includes a meter electronics 110 and one or more probes 106A- 106B coupled to the meter electronics 110 via one or more corresponding cables 107A-107B or other signal transmission apparatus.
- the one or more probes 106A-106B can comprise various types of probes that measure various flow characteristics. It should be understood that the one or more probes 106A-106B can include duplicate probes that provide substantially redundant data, for example.
- the one or more probes 106A-106B can measure various characteristics of water or a water flow and generate one or more raw fluid measurements. Alternatively, the one or more probes 106A-106B can be used for various other fluids. The one or more probes 106A-106B can measure fluid characteristics that are manipulated, combined, or
- Some instruments can measure the fluid flow rate directly, such as through use of a rotating turbine, for example.
- such instruments require intrusion into the fluid flow and therefore are often vulnerable to plugging or obstruction by solid objects in the flow. .
- the fluid quantification instrument 100 in some embodiments comprises a non- intrusive instrument, wherein electromagnetic or acoustic waves interact with the fluid being measured.
- the fluid quantification instrument 100 can include intrusive prob es or measurement devi ces .
- the one or more raw fluid measurements may be processed substantially in real time. Alternatively, the one or more raw fluid measurements may be processed substantially after the one or more raw fluid measurements are generated.
- the meter electronics 110 is remotely located from the one or more sensor probes 106, such as in a monitoring station, data accumulation station, server, et cetera.
- the meter electronics 110 may be in communication with one or more sets of the one or more sensor probes 106.
- the fluid quantification instrument 100 can be used to measure various fluid flow characteristics.
- the fluid quantification instrument 100 advantageously can be used to generate optimized measurements where the end flow characteristics are not directly determined but are obtained from a processing or combination of other measurements.
- the fluid quantification instrument 100 can generate a fluid volume flow rate quantification, wherein the volume flow rate is not directly measured and instead is non-invasively measured through a combination of flow depth and flow velocity measurements.
- One application is in generating a volume flow rate of fluid flow in a channel.
- the water can be flowing in an open channel or in a closed channel.
- Measurement of a flow in an open channel typically poses more of a challenge than measurement of a flow in a closed channel, as the flow rate will vary based on the level of fill in the channel.
- the rate is affected by the level of fluid, the surface of the channel, channel slope, fluid type, objects or obstructions in the fluid, etc.
- FIG. 2 illustrates a volume flow rate determination method.
- the volume flow rate f is indirectly determined in this example.
- the volume flow rate (f) is derived by multiplying the fluid velocity ( ) by the cross-sectional channel area (A).
- the area (A) is dependent on and is determined from the fluid depth.
- the velocity (y ) can be an average velocity (v ), for example, or can be further processed in order to derive a substantially average fluid velocity from the measured velocity (v ).
- the volume flow rate (f) can be determined from measurements of flow depth and flow velocity.
- FIG. 3 is a graph of flow cross -sectional area versus flow depth for a typical open channel fluid conduit.
- the graph reflects the configuration of the open channel fluid conduit and can vary according to the cross-sectional shape of the conduit. It can be seen that the cross-sectional area of the conduit may not necessarily be linearly related to the flow depth, depending on the cross-sectional shape. The non-linearity makes predictions of flow depth more difficult.
- FIG. 4 is a graph of flow velocity versus flow depth for a typical open channel fluid conduit.
- the graph reflects a non-linearity in the flow velocity over changes in flow depth. The non-linearity makes predictions of flow velocity more difficult.
- the flow velocity can be measured by measuring a Doppler frequency shift in waves reflected from moving targets, whether from within the fluid, or at the fluid surface.
- the targets may be waves, ripples, or other
- the waves can comprise any manner of suitable waves, including acoustic and electromagnetic waves.
- the Doppler shift can be affected by various extraneous factors, including noise, unwanted reflections, turbulence in the fluid flow, blockages, etc.
- the flow velocity measurement may be subject to spikes, drop-outs, or other anomalies in the measurement, and these can carry through to a volume flow rate determination. Such measurement anomalies can have significant effect on the accuracy and reliability of the measurements.
- quantification instrument 100 employs an unscented Kalman filter in processing measurement data.
- the unscented Kalman filter is also referred to as a sigma point
- the unscented Kalman filter enables a reduction in noise in the measurement signals, providing a measurement of increased quality.
- the unscented Kalman filter also can provide prediction of measurement data, wherein the predicted measurement data can serve as a substitute or gap-filler in the actual measurement data. For example, the predicted measurement data can fill in when the measurement signal drops out.
- the predicted measurement data can be augmented with
- the unscented Kalman filter may be used in order to handle any non-linearity of the level and/or velocity sensors.
- the Kalman filter is an efficient recursive filter that estimates the state of a process or system from a series of incomplete and noisy measurements.
- the conventional Kalman filter models a process or system as being essentially linear.
- the filter may quickly diverge, owing to its linearisation. This is due to the . propagation of mean and variance values through the non-linearity.
- the original Kalman filter is therefore unsatisfactory in many applications.
- the unscented Kalman filter uses a detenninistic sampling technique known as the unscented transform to pick a set of sample points (or "sigma points") around the mean. For this reason, the unscented Kalman filter is also known as a sigma point filter. These sigma points are then propagated through the non-linear functions and the mean and covariance of the non-linear output is then recovered. The result is a filter which more accurately captures the true mean and covariance of those variables which describe the fluid process or system.
- the meter electronics 110 includes an interface 101 and a processor 112 coupled to the interface 101.
- the interface 101 is configured to receive the corresponding one or more raw fluid measurements from the one or more sensor probes 106A-106B and relay the signals to the processor 112.
- the interface 101 can perform any manner of pre-processing operations, such as digitizing the one or more raw fluid
- the interface 101 can further perform any manner of pre- amplification or pre-filtering, as desired. Alternatively, the amplification or other preprocessing can be performed in the probe 106.
- the processor 112 in some embodiments is configured to receive the one or more raw fluid measurements from the interface 101, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements.
- the predictive system model can be provided by an unscented alman filter, for example.
- the processing system can employ the unscented Kalman filter for smoothing and improving at least some of the one or more raw fluid measurements, as will be discussed below.
- the one or more raw fluid measurements are used to update a state estimate and a covariance matrix.
- the one or more raw fluid measurements are sequentially generated according to a predetermined update sequence.
- the one or more raw fluid measurements include at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that can be used to determine a volume flow rate of the fluid.
- the meter electronics 110 may be further configured to generate a plurality of Fourier coefficients related to a flow state periodicity.
- the meter electronics 110 may be further configured to generate a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
- the meter electronics 110 may be further configured to compare one or more elements of the predictive system model to one or more corresponding thresholds and perform one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds.
- the one or more elements of the predictive system model can comprise a predicted measurement error vector (j ⁇ - j> ⁇ )
- the one or more elements of the predictive system model can comprise an estimated measurement error vector
- the one or more elements of the predictive system model can comprise an estimated state error vector compared to predetermined scaled elements of the state covariance matrix P x .
- the comparison is to a vector composed of diagonal entries of the chosen covariance matrix.
- the elements used in the comparison may comprise scaled diagonal elements of the chosen covariance matrix.
- Performing one or more optimization actions can comprise decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more cozresponding thresholds.
- Performing one or more optimization actions can comprise determining a future tuning of one or more predetermined raw measurements based on the one or more elements of the predictive system model, wherein the future timing affects a power consumption of the fluid quantification instrument 100.
- Performing. one or more optimization actions can comprise selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model, wherein the selection affects a power consumption of the fluid quantification instrument 100.
- Performing one or more optimization actions can comprise selecting and using one or more predetermined raw measurements and/or one or more predetermined optimized fluid measurements for determining the one or more fluid quantifications through sensor fusion.
- Performing one or more optimization actions can comprise operating individual sensors according to whether the one or more elements of the predictive system model satisfy the one or more corresponding thresholds.
- Performing one or more optimization actions can comprise measuring a flow characteristic using a lowest power consuming sensor and additionally measuring the flow characteristic using a higher power consuming sensor if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
- Performing one or more optimization actions can comprise using non- measurement data in place of raw measurement values.
- the non-measurement data can comprise historical data values, predicted data values, or filtered data values.
- the non- measurement data can be used to replace raw measurement values, such as where the raw measurement values are determined to be outliers or are suspect data values in some way.
- the non-measurement data can be used where raw measurement values are missing, such as where a sensor has dropped out due to any manner of fault or problem.
- the processing further comprises using a predictive system model, wherein the predictive system model comprises a predictive portion of the unscented Kalman filter (see equation (1) below).
- the predictive system model is configured to handle drop- outs in the one or more raw fluid measurements.
- the previous state drives the predictive system model, as given in equation (1) below, but without the state noise (w x ).
- the processing further comprises using a predictive system model, wherein the predictive system model expresses correlations between a set of possible sensor measurements and the system state.
- the state transition matrix (F ) comprises the predictive system model, as given in equation (1) below.
- the processor 112 in some embodiments is configured to receive one or more raw fluid measurements from the interface 101, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and detenrrine one or more fluid quantifications using at least the one or more optimized fluid measurements.
- the one or more raw fluid measurements in some embodiments can comprise at least a raw fluid depth measurement and a raw fluid velocity measurement.
- the one or more fluid quantifications in some embodiments can comprise an optimized fluid depth measurement, an optimized fluid velocity measurement, and/or an optimized fluid velocity measurement.
- the processor 112 in some embodiments performs sensor fusion as part of the unscented Kalman filter.
- Sensor fusion is the use of various multiple sensors and/or multiple measurement values in order to generate an outputted measurement.
- multiple sensor probes 106 can be used and can generate multiple raw fluid level/velocity measurements, for example.
- the fluid quantification instrument 100 can schedule sensors/sensor measurements, can select from raw measurements, or can weight and combine raw measurements in
- the processor 112 executing the unscented Kalman filter routine 123, decides that it already has good knowledge of the system state, then it may schedule fewer measurements. Conversely, the processor 112 can schedule more measurements if the system state is uncertain.
- the storage system 120 can include one or more raw fluid measurements 121, a flow processing routine 122, an unscented Kalman filter routine 123, one or more optimized fluid measurements 124, and one or more fluid quantifications 125.
- the one or more raw fluid measurements 121 comprise signals received from the one or more probes 106, i.e., raw measurement data.
- the one or more fluid quantifications 125 comprise processed measurements or flow determinations that can be stored, transferred, or output by the fluid quantification instrument 100.
- the one or more fluid quantifications 125 are generated from the one or more raw fluid measurements 121 by the processor 112 when executing the flow processing routine 122 and the unscented Kalman filter routine 123.
- the one or more fluid quantifications 125 may not necessarily correspond in number to the one or more raw fluid measurements.
- unscented Kalman filters have been used in tracking of ballistic and orbital objects, such as for determining velocity and direction of flight (see prior art U.S. Patent No. 7,249,730 to Flippen, Jr., for example).
- Conventional Kalman filters have also been used to track plant dynamics in, for example, chemical manufacturing.
- the unscented Kalman filter is typically used to refine and improve velocity measurements of a solid object moving at very high speeds.
- Unscented Kalman filters are used in robotics.
- unscented Kalman filters have not been used in the prior art to measure characteristics of a fluid flow.
- U.S. Patent No. 6,807,494 to Schutzbach discloses using historical fluid flow data to validate new measurements and also for setting alarm thresholds.
- the past data history may be voluminous and the prior ait discloses storing data on a server, as it is impractical to store such a volume of past data in a field-deployed apparatus.
- the server is separate from the computer or computers that process the measured data, and is separate from the flow sensor instruments, wherein the server merely stores historical data.
- Schutzbach does not perform local processing.
- Schutzbach does not locally process measurement data against historical data.
- Schutzbach does not reduce historical data to a new form for storage and or processing. Because Schutzbach does not perform any local processing at a flow instrument, Schutzbach cannot perform power saving processes.
- Advantages of the present invention include: (1) decreased data storage because actual past history is not stored, (2) improved accuracy through use of optimal noise filtration, (3) data drop-outs are filled in, and (4) power savings are realized because unnecessary measurements are avoided.
- the unscented Kalman filter routine 123 can be implemented in order to perform optimization of one or more raw fluid measurements.
- the unscented Kalman filter routine 123 can be configured to model a state transformation represented by:
- the (k) subscript denotes a next measurement time
- the (k-1) subscript denotes a previous measurement time
- the (x k ) term represents a next state of the system
- the (F k _ ) term comprises a state transition matrix
- the ( 4 _ ⁇ ) term represents a previous (i.e., known) state
- the (w x ) term represents state noise (see FIG. 6).
- the noise (w x ) is characterized by a covariance matrix, Q.
- underlined lower-case variables may be column vectors or single numbers.
- Underlined upper-case variables are typically matrices, but may be single numbers in particularly simple cases. Note that the unscented Kalman filter implementation does not add the noise state (w x ) because the filter does not know it.
- next state (x k ) comprises the previous state (x k _ ) multiplied by a state transition matrix (F k ⁇ ) plus any noise
- the predicted next state (x k ) comprises a prediction or determination of the next measurement, taken at a future time where the (k) subscript is for the next time tick after (k-1), where the ( A ) is for an estimated value, and where the (-) superscript indicates it is an a priori estimate of the next state.
- the prediction ability of the unscented Kalman filter is based on the historical data included within ( x k _ x ), and the predictive system model expressed by the state transition matrix (F k ⁇ ).
- the previous state vector prediction (3 ⁇ 4_, ) ' can include any manner of historical and/or periodicity data.
- the next state (x k ) therefore comprises a best estimation of a next measured fluid value, based on known (i.e., historical) measurements and conditions.
- the state noise (w x ) term represents uncertainty and unpredictability in the state . transformation. It is desired to minimize the uncertainty in the next state estimate ( /c ), despite the state noise (w x ). This can be accomplished through careful design and implementation of the state transition matrix, as discussed above.
- the next state (x k ) comprises a vector that includes several important items of information.
- the next state x k ) can be represented as:
- the (/) term comprises a bulk flow measurement
- the (c 0 -c p ) terms comprise. channel coefficients
- the (ao, a ls bj - a N , b N ) terms comprise Fourier coefficients.
- the previous state vector (x A ._i) has the same form, and contains the same items, as estimated at the previous time tick.
- a nominal number of channel coefficients (c 0 -c p ) and Fourier coefficients (a ⁇ a l5 b l5 . . . a N , b N ) are typically required.
- a total of thirteen coefficients including channel coefficients ( c o- c P ) and Fourier coefficients (a 0 , a ls b ls . . . a N , b N ), are sufficient to generate accurate and reliable fluid quantifications.
- the channel coefficients (c 0 -c p ) define some aspects of the fluid flow channel.
- the channel coefficients (c 0 -c p ) define the relationships between redundant sensors.
- the channel coefficients (c 0 -c p ) tlierefore can define an offset(s) between depth sensors or correction factor(s) between velocit sensors.
- the channel coefficients (c 0 -c p ) define the flow channel's velocity versus depth curve (see FIG. 4).
- the channel coefficients (c 0 -c p ) can be selected in several ways.
- the velocity versus depth relation can be assumed to be somewhat linear and a linear function can be chosen for a given depth. However, this is generally not an acceptably accurate technique.
- a more accurate representation of channel velocity versus depth comprises generating a piecewise polynomial
- the interpolation kernels comprise B- spline kernels.
- the Fourier coefficients (3 ⁇ 4, a ls b 1; . . . a N , b N ) are related to and can model a channel history, such as a channel flow history, for example. Further, the Fourier coefficients (ao, a 1? b b . . . a N , b N ) can be related to and can model a flow periodicity.
- the channel coefficients (c 0 . . ,c p ) are chosen to represent a substantially non-linear flow response.
- the resulting Fourier coefficients (ao, a la b l5 . . . a N , b N ) are more compact than storing an actual history.
- the Fourier prediction can be used as a
- the Fourier coefficients (ao, a l5 b ls . . . a N , b N ) are generated using a moving average estimator.
- FIG. 5 shows a Fourier coefficient estimation process according to an
- the frequency- shift factor includes a time or sampling factor, (1/M), where (M) determines ' the time constant used in the Fourier coefficient estimation.
- the (M) term comprises a number of time-sampled input values for an exponential averaging.
- the resulting frequency- shifted bulk flow measurement is summed with the output of a time delay element ( z "1 ).
- the resulting Fourier coefficient estimate is represented by: — f(k) cos(ncok) (4)
- Equation for b n (k) is similar and involves s,m. ⁇ nc)k) instead of cos(/ifiWfc) .
- FIG. 6 shows the complete state transition model of equation (1) according to an embodiment of the invention.
- This embodiment includes the (1/M) amplitude multiplier as part of the state transition matrix (F t _ ⁇ ).
- the state transition matrix multiplies the previous state vector (3 ⁇ 4._, ).
- the unscented Kalman filter also tracks the covariance matrices P x , P y , and
- Diagonal elements of the state covariance matrix, P x comprise variances and covariances of state variables.
- the measurement covariance matrix, P y gives variances and covariances of optimized measurements.
- the matrix P gives statistical relationships between elements of x and y.
- the variance is a statistical measure of how much a single variable varies. It can be thought of as a measure of the noise in that particular variable.
- Off-diagonal entries of a covariance matrix comprise the covariance between variables.
- Covariance is the measure of how much two random variables vary with respect to each other. Consequently, the unscented Kalman filter tracks variance and covariance, such as variance in the fluid velocity and covariance between the fluid depth and fluid velocity, in order to optimally use raw measurements and historical information.
- the raw fluid measurements are used to update the state estimate according to the Kalman gain, which is derived from P y and P v .
- the variance and covariance give a statistical estimation of measurement and state estimate reliabilities. Changes in the variance and covariance give a statistical estimation of trends in accuracy and trends in fluid and fluid flow conditions.
- variance and covariance give a statistical estimation of which fluid sensors should be trusted and used. Further, the variance and covariance give information that can lead to determinations of outliers or errors in raw measurements, wherein thresholds based upon the variance and covariance can be employed to ignore data points and/or replace or condition problematic data points, as needed.
- the values in the covariance matrices P ⁇ P Z P ⁇ and Q_ may be obtained in various ways.
- an instrument may be programmed with stalling values at the factory, based oil known characteristics of the sensor and/or known or anticipated characteristics of the channel (i.e., information regarding intended use of the fluid quantification instrument).
- the user may be given control of relative values (such as one sensor compared to another) and may adjust their ratios according to perception of sensor reliability, or may review produced data and revise the covariance matrices empirically, in order to make the filtered data reflect actual flows.
- the Kalman filter could be augmented with an on-line running estimator that changes covariance entries based upon observed statistics of incoming measurements. Various method exist for this, and are known to those skilled in the art.
- a formula of interest is the Kalman measurement model. It augments the Kalman measurement model.
- Kalman predictive system model and represents how the system state manifests sensor measurements.
- the Kalman measurement model can be expressed as:
- the ( y ) comprises a measurement vector
- the g() function comprises a
- the (3 ⁇ 4. ) term comprises the previously discussed state vector, and the (w y ) term comprises measurement noise.
- the measurement function, g() represents the idealized operation of the sensors used to generate the raw measurements, as well as the effect of the channel.
- the measurement function, g may depend, on the channel coefficients (c 0 , . . . c p ).
- the measurement noise ( w ) comprises noise picked up and/or inherent in the measurement device, such as in the sensor probes 106, within the meter electronics 110, from nearby noise sources, etc.
- the measurement vector ( y ) comprises a vector that represents current raw fluid measurements. .
- the measurement vector ( y k ) can be of any needed size.
- the measurement vector ( y ) can be represented as: t (6)
- the first part of the alman prediction step comprises computing the (F k _ ) matrix, i.e., the large matrix in FIG. 6. It should be noted that (F ⁇ ) is a function of time.
- (F ⁇ ) is a function of time.
- Each sigma point is a column vector of length N. To prevent numerical difficulties, we rescale the sigma points as follows:
- the third part of the Kalman prediction step comprises computing '1 by matrix inversion (its dimension is equal to the number of measurements). Then compute the Kalman gain:
- H e updated state covariance is:
- the state covariance can be propagated as a simple matrix equation (1 ), because the state transition matrix is linear.
- the a priori state is estimated using the time- varying state transition matrix shown in FIG. 6, wherein historical and/or periodicity data implicit in the coefficients ⁇ ao, ... a,, ⁇ and ⁇ b ls ... b garbage ⁇ can be employed in the estimation.
- the unscented transformation is performed on an approximate distribution of data points (x) by a set S of vectors and their associated weights.
- the statistics of the transformed set are calculated according to:
- the Kalman update step generates an a posteriori or empirical state estimate (3 ⁇ 4 ) according to equation (18).
- the P_ value must also be computed per equation ( 19) for use in the next iteration of the Kalman filter.
- the empirical state estimate ( , ) comprises both measured factors and predicted factors.
- the a priori or theoretical state estimate (x k ⁇ ) comprises predicted factors based on the history and periodicity of the flow.
- the Kalman gain term (K k ) comprises a gain used to control an amount of change in a subsequent optimized flow measurement(s).
- the Kalman gain term (K k ) can be small and therefore can limit the amount of change, such as where the reliability of the unscented Kalman filter is low.
- the alman gain term (K k ) can be large and can allow or force large changes in the resulting optimized measurement(s).
- the measurement innovations term ( y - y + ) comprises a difference between actual (i.e., empirical) measurements and predicted measurements. It is (typically) a vector whose entries are the prediction error for each empirical (raw) measurement.
- the measurement innovations term ( y k - y + ) can vary according to the reliability of the measurement prediction. Consequently, a large measurement innovations term
- FIG. 7 is a flowchart 700 of a fluid quantification method according to an embodiment of the invention.
- a next state vector is predicted.
- the predicting may comprise using a predictive system model to generate the predicted next state vector.
- measurement values may be predicted by the unscented Kalman filter using a predictive model based upon previous measurements or historical data.
- the predicted raw measurements may be predicted from the state vector of step 701.
- one or more raw fluid measurements are taken.
- the one or more raw fluid measurements can comprise any desired measurements.
- the one or more raw fluid measurements include one or more fluid depth signals and one or more fluid velocity signals. The fluid depth and the fluid velocity can be used to determine a volume flow rate in an open channel, as previously discussed.
- the one or more raw fluid measurements comprise the raw, substantially unprocessed
- step 704 the one or more raw fluid measurements are compared to the predicted fluid measurements.
- the comparison generates error values consisting of the difference between predicted and measured values.
- step 705 the state vector is updated using the error values of step 704.
- the updating may consist of multiplying the error values by a Kalman gain matrix and adding the result to the predicted state vector of step 701.
- step 706 one or more optimized fluid measurements are produced.
- the optimized measurements are produced by applying elements of the updated state vector to the latest s ⁇ 7 stem model. It should be understood that some parameters of the system model may also reside in the state vector, as can be seen from equations (20) and (5).
- the one or more optimized fluid flow measurements do not necessarily correspond and may differ in number from the one or more raw fluid measurements.
- the one or more raw fluid measurements can comprise a raw fluid depth and a raw fluid velocity, wherein onry the raw fluid velocity is optimized and an optimized fluid velocity measurement is subsequently generated.
- the "optimized" result is bulk fluid flow.
- optimized versions of the raw measurements can always be produced, as given in equation (20).
- the one or more optimized fluid measurements produced by the unscented Kalman filter offer several advantages.
- the optimized fluid measurements are typically more accurate than the raw measurements.
- the optimized fluid measurements may be more accurate than the raw measurements by incorporating a flow periodicity.
- the optimized fluid measurements can be more accurate than the ' raw measurements because Kalman filtering fuses information from multiple measurements and sensors. For instance, optimal estimates of fluid velocity and/or level may utilize information from raw measurements of both velocity and level.
- the processing can identify outliers and errors in the measurements based on one or both of the measurement error ⁇ ,. or the filtered measurements y + and the flow periodicity.
- the one or more optimized fluid measurements can identify outliers and errors in the measurements and can enable removal or compensation of the outliers and errors.
- the one or more optimized fluid measurements can identify outliers and errors in the measurements and can enable
- the raw measurements may not be retained at all. Instead, the filtered measurements may be saved for future use.
- All or a portion of the raw fluid measurement signals can be optimized, as needed. For example, only fluid variables that tend to inaccuracy or rapid change (or that are otherwise problematic) may be optimized.
- the method can optimize all measured variables through Kalman filtering, obtaining raw measurements as needed, 'utilizing the raw measurements that are most reliable, and talcing and combining multiple raw measurements from multiple sensors as appropriate.
- sensor fusion is inherent in Kalman filtering when more than one sensor (and measurement) is used in the instrument.
- Sensor fusion is the process of combining of sensor data from multiple sources. Sensor fusion can be performed in a maimer such that the resulting information is in some sense better or more accurate and reliable than would be possible when these sensor data sources are used individually.
- the one or more optimized fluid measurements can be used to select and combine the one or more raw fluid measurements and the one or more optimized fluid measurements in predetermined combinations. In some embodiments, the one or more optimized fluid measurements can be used to select and combine the one or more raw fluid measurements and the one or more optimized fluid measurements in predetermined combinations according to a statistical variance of the one or more raw fluid measurements. Again, this inheres in calculating K from P y and (see equation (18)).
- the estimated system state can be used to select predetermined raw measurements for use in generating the one or more optimized fluid measurements.
- the one or more optimized fluid measurements can be used to select predetermined raw measurements for use in generating the one or more fluid quantifications or the appropriate sensor can be energized in order to produce a raw measurement signal.
- 24 measurements can be used to select predetermined raw measurements for use in generating the one or more fluid quantifications and the one or more optimized fluid measurements.
- the optimization can comprise substituting historical, predicted, or filtered measurements for a raw measurement that is an outlier or that is not trusted.
- the optimization can comprise inserting historical, predicted, or filtered measurements when a sensor measurement has dropped out or is not available for any reason.
- the one or more optimized fluid measurements are used to generate one or more fluid quantifications.
- the one or more fluid quantifications do not necessarily correspond in number to the one or more optimized fluid measurements.
- the one or more fluid quantifications can comprise any manner of fluid -or fluid flow characteristics.
- the one or more fluid quantifications include a volume flow rate of the fluid, such as in an open channel flow.
- selected optimized fluid measurements may be used for generating the one or more fluid quantifications, and not all of the produced optimized fluid measurements may necessarily, be used.
- selected raw fluid measurements may also be used, as desired, including using none of the raw fluid measurements.
- the fluid quantifications may be stored. Alternatively, the fluid quantification values may be transmitted to other devices, ox used or transmitted in any desired fashion. Further, if desired, the one or more optimized fluid measurements and/or the one or more raw fluid measurements may also be stored and/or transmitted to other devices.
- Step 708 may include a wait period, as desired.
- the wait period may comprise a time interval between raw fluid measurements. The method may then loop back to, step 701.
- the wait period may comprise part of a power management process.
- power consumption is minimized by comparing a statistical variance to a predetermined variance threshold and performing one or more iterations of
- the comparison would be to the statistical variance, captured in the state covariance matrix P x .
- the comparison could be to the measurement covariance matrix P y but could also be a comparison of ( y - y ⁇ ) or ( y - y* ) to a threshold, where the threshold might depend on elements of the measurement covariance matrix P .
- the comparison is to a vector composed of scaled diagonal entries of the chosen covariance matrix.
- powe consumption is minimized by comparing a statistical variance to a predetermined variance threshold and decreasing a measurement interval if the statistical variance exceeds the predetermined variance threshold.
- a smaller measurement interval generates more data to the unscented Kalman filter, which tracks better as a result.
- a smaller measurement interval may tend to minimize errors by making outlier or error detection more frequent and accurate.
- power consumption is minimized by comparing an error or a statistical variance to a predetermined variance threshold, measuring a flow characteristic using a lowest power consuming sensor if the statistical variance does not exceed the predetermined variance threshold, and measuring the flow, characteristic using a higher power consuming sensor if the statistical variance exceeds the
- the power consumption process can compare innovations to a predetennined threshold or can compare error vectors ⁇ _ k to a predetermined threshold.
- the lowest power consuming sensor in some embodiments may be a least accurate sensor, wherein the deficiency in accuracy can be compensated for by employing the processing of the unscented Kalman filter. But mostly what is compensated for by the unscented Kalman filter is the absence of the raw fluid measurements that were skipped or not taken. Conversely, the highest power consuming sensor may be more accurate, but the better accuracy may come at the cost
- Optimal power management can entail turning various sensors on or off as needed, wherein a sensor can be left un-powered if not required. This can be done to reduce power consumption or to reduce wear on sensor having limited service life. When a previously unused sensor becomes needed, it can be powered up in order to generate measurements as needed. Alternatively, a sensor can remain powered and the sensors output can be used or ignored as needed.
- the method can be iteratively and/or periodically performed.
- the tracking performed by the unscented Kalman filter enables the method to be performed less often while yet maintaining accuracy and reliability of the fluid quantifications.
- the historical/periodicity information of the unscented Kalman filter can enable the initiation of measurements at predetermined times. This can be employed in order to minimize operation of the flow measurement system and conserve electrical power, for example.
- FIG. 8 is a flowchart 800 of a fluid quantification method according to an embodiment of the invention, hi step 801, two or more raw fluid measurement signals are received.
- the two or more raw fluid measurement signals can comprise one or more raw fluid depth signals and one or more raw fluid velocity signals.
- step 802 at least one raw fluid measurement is processed with an unscented Kalman filter, as previously discussed.
- the processing produces at least one optimized fluid measurement such as an optimized fluid velocity measurement, for example.
- the at least one optimized fluid measurement is used to determine at least a volume flow rate. For example, at least one optimized fluid velocity
- the sensor fusion process selects between and combines inputs where the flow meter includes multiple, similar, and/or redundant sensors.
- the sensor fusion process can schedule measurements.
- the sensor fusion process can select sensors to be energized or de-energized.
- the sensor fusion can Operate using any number of sensor signals, including a single level measurement and a single velocity measurement.
- step 804 the method checks to determine if it is time for a measurement iteration, as previously discussed. If it is time for a measurement iteration, the method branches back up to step 801. Otherwise, the method branches to step 805 and waits and checks again.
- FIG. 9 is a flowchart of a power-saving method according to an embodiment of the invention.
- the power-saving method advantageously conserves electrical power, such as if the power source is a battery, for example.
- a fluid quantification instrument takes one or more raw fluid measurements of a fluid, as previously discussed.
- step 902 statistics are compared to one or more predetermined thresholds in order to determine if measurement performance is acceptable.
- a state variance P x may be computed and compared to a state variance threshold.
- the measurement error or innovations can also be computed and compared to a threshold derived from the sensor measurement matrix P .
- a test based only on P will likely indicate that the measurement looks noisy.
- a test using the error matrix s k will likely indicate that the measurement looks incorrect.
- a test using measurement innovations (y k - y* ) will likely indicate that the measurement looks atypical.
- step 903 if one or both of the state variance P x and the sensor variance P exceed their thresholds, then operationally the fluid quantification instrument is not operating within bounds. If neither the state variance P x nor the sensor variance P is out of bounds, then the method proceeds to step 904. Alternatively, if one or both of the
- step 904 because the fluid quantification instrument is operating within bounds, the current sensors are maintained and no additional sensors are brought on-line or dropped from use. It should be understood that in some embodiments, one or more sensors can be powered down and dropped from use if the fluid quantification instrument is operating within bounds (or has been operating within bounds for a predetermined period of time). Alternatively, there may be another threshold, a too good threshold, wherein if the state variance P x and the sensor variance P are less than this too good threshold, then sensors may be dropped out, as sensor performance does not require multiple sensors performing the same measurement.
- the method loops back up to step 901 and takes further raw measurements. The looping back can include a predetermined delay eriod.
- step 905 because the fluid quantification instrument is exceeding operational bounds, additional fluid sensors may need to be brought online. For example, if a currently used fluid velocity sensor is exhibiting poor accuracy, then an additional fluid velocity sensor can be powered up used to obtain a different or additional fluid velocity measurement.
- a predetermined loop delay may be introduced.
- the predetermined loop delay may achieve a predetermined time period between measurement iterations.
- the predetermined loop delay may be fixed or variable. The method then loops back to step 901.
- FIG. 10 is a flowchart of a power-saving method according to an embodiment of the invention.
- a fluid quantification instrument checks to see if a start time period has expired. If the start time period has expired, then the method branches to step 1002. Otherwise, the method proceeds to step 1003.
- the start time period can comprise a periodic fluid measurement period, for example.
- the start time period can comprise a predetermined number of seconds, minutes, or hours.
- the start time period can comprise an hour and the fluid quantification instrument can perform measurements at least every hour, depending on whether current conditions change or stay the same.
- the start time period can be longer that the main loop time of the fluid quantification instrument.
- the start time period can be chosen to generate useful fluid quantifications while yet minimizing operational power consumption, for example.
- the fluid quantification instrument can be woken up when the start time period has expired, perform measurements and calculations as desired, and then the fluid quantification instrument can go back into a sleep mode until a next start time period expiration.
- step 1002 measurements are obtained from all sensors. This can include obtaining measurements from sensors having varying levels of accuracy and reliability. This can include obtaining measurements from sensors having varying levels of power consumption.
- the method processes the new measurements and updates the state estimate, the co variance, and the channel model. The state estimate, the covariance, and the channel model are now up to date and reflect current fluid conditions/current flow conditions. At the end of this step, the method loops back to step 1001.
- the method measures a fluid level with a pressure sensor.
- the pressure sensor typically requires a low amount of electrical power and therefore may be employed more often than other level sensors, such as an ultrasonic fluid level sensor.
- the state estimate and covariance are again updated in order to reflect current conditions.
- step 1004 the state estimate and covariance are compared to thresholds in order to determine if the pressure sensor level measurement is within predetermined acceptable bounds. If the pressure sensor level measurement is within predetermined acceptable bounds, then the method loops back to step 1001. Otherwise, where the pressure sensor level measurement is not within predetermined acceptable bounds, the method proceeds on to step 1005.
- the method measures the fluid level with an ultrasonic sensor.
- the ultrasonic level sensor may be more accurate and reliable than the pressure level sensor, but may consume more electrical power.
- the pressure sensor level measurement has been determined to be lacking due to some test result, then the ultrasonic level sensor is employed.
- the state estimate and covariance are updated to reflect current conditions. The updating will capture the deviations within the state estimate and covariance.
- step 1006 the newly updated state estimate and covariance are again compared to thresholds in order to determine if the ultrasonic sensor level measurement is within predetermined acceptable bounds. If the ultrasonic sensor level measurement is within predetermined acceptable bounds, men the method loops back to step 1001. Otherwise, where the ultrasonic sensor level measurement is not within predetermined acceptable bounds, the method proceeds on to step 1007.
- the method measures fluid flow velocity.
- the velocity sensor is employed. If the state estimate and covariance are deviating, then the method does not wait for the start time period to expire before measuring fluid velocity again.
- the velocity sensor can, for instance, measure a point velocity in the fluid flow.
- the meter electronics can process the point velocity in order to obtain or estimate an average fluid velocity. Subsequently, the state estimate and covariance are again updated to reflect current conditions. The updating will capture the deviations within the state estimate and covariance.
- step 1008 the deviations within the state estimate and covariance are compared to a deviation threshold in order to determine the magnitude of the deviations. If the deviations do not exceed the deviation threshold, then the deviations are small and the method loops back to step 1001. Consequently, the method determines that the measurements performed in steps 1003, 1005, and 1007 are adequate to fully quantify the fluid and/or fluid flow. Otherwise, where the deviations exceed the deviation threshold, then the deviations are not small and the method proceeds on to step 1009.
- the method judges the deviations in the state estimate and covariance to be significant and generates an indication to sample for a special event
- the indication can comprise a signal to sample for or obtain information related to a recent rainfall.
- the indication in some embodiments can request additional measurements or information from external devices.
- the indication in some embodiments
- embodiments can signal the likely occurrence of a special event.
- the indication can be transferred to an operator or other monitoring system.
- the indication in some
- embodiments can trigger further sensors to be brought online.
- the method loops back to step 1001.
- steps 1003, 1005, 1007 the updates are based on individual measurements, and so the matrix equations given herein are partitioned to reduce the measurement dimensionally. The method of doing this is called "sequential update.”
- One advantage of the fluid quantification instrument and method is the ability in some embodiments to process measurements that may include noise, errors, or other unwanted variations and yet generate more accurate and reliable results.
- Another advantage of the fluid quantification instrument and method is the ability in some embodiments to detect spikes, drop-outs, or other outliers, irregularities, or errors in measurements. Such errors can contribute much inaccuracy to the measurements.
- the identified irregularities can be omitted from or compensated for in the measurement results, can dictate the retaking of measurements, can give a user an indication of the reliability of the end results, etc. Further, identification of
- measurement irregularities can also be used to increase a measurement rate, generate an alarm to a user or operator, or trigger an automated sampler device, among other things.
- measurement data including historical data that captures a periodicity in the
- the replacement can be accomplished with measurement data from other sensors that did not drop out. hi most cases, the replacement will be made on the basis of both the history/periodicity and the measurement data from other sensors.
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Volume Flow (AREA)
Abstract
A fluid quantification instrument (100) is provided according to the invention. The fluid quantification instrument (100) includes one or more sensor probes (106) and meter electronics (110) in communication with the one or more sensor probes (106). The meter electronics (110) is configured to receive one or more raw fluid measurements from the one or more sensor probes (106), process the one or more raw fluid measurements using a predictive system model to produce one or more Optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements.
Description
FLUID QUANTIFICATION INSTRUMENT AND METHOD
Background of the Invention
1. Field of the Invention
The invention is related to the field of fluid quantification;, and in particular, to fluid quantification including fluid flow quantification.
2. Statement of the Problem
Water flow measurement is typically, required for municipalities, including measuring run-off water or water in storm drains or sewers. However, the amount of flow can be varying and at times can be unpredictable. Because normal wastewater flows may be added to by storms or other unexpected or uncontrolled events, sewer pipes or sewer systems typically are constructed to be large enough to handle most excessive flow events. Consequently, wastewater conduits are partially filled and act as open channels, absent an unexpectedly high fluid collection. The flow depth typically is only a fraction of the conduit depth most of the time.
Measuring the flow rate of a fluid in an open conduit poses some challenges.
The flow rate may vary significantly according to factors such as the slope of the conduit, the roughness of the conduit, the presence of any obstructions and/or changes in direction of the conduit, the nature of the fluid and the viscosity and presence of solid objects or particulate matter in the fluid, and any other interactions between the fluid and the conduit. In addition, the flow depth will play an important part in the flow rate, wherein changes in flow depth will affect the flow velocity, turbulence in the flow, likelihood of obstructions of the flow, etc. Further, a velocity sensor may have dropouts during low flow conditions. For example, a submerged Doppler velocity probe may have dropouts due to insufficient particulates (targets) or the sensor not being
submerged.
A flow meter for an open channel flow typically performs a fluid depth measurement (d) and a fluid velocity measurement (v), where the fluid flow rate f is defined as f = (v)(A), where the cross-sectional area (A) may vary with the flow depth (d). The depth (d) is therefore used to determine the area (A). Depending on the instrument, one or more depth probes and one or more velocity probes may be
employed. Redundant sensors can be included in order to increase or maintain accuracy.
Depth measurement in an open channel is relatively easy to accomplish. One approach is a pressure measurement, wherein a fluid pressure can be con-elated to a fluid depth. Other depth measurements can also be employed, such as an ultrasonic or electromagnetic measurement that directly determines a fluid depth or that indirectly determines fluid depth by determining the distance to the fluid surface.
One type of fluid flow velocity measurement is a measurement of the velocity of the fluid surface. Advantageously, such measurement can be performed non-intrusively, such as from a probe above the fluid surface. For example, the velocity sensor can be located at the top of the conduit or channel and can direct a measurement beam or beams downward onto the fluid surface.
However, measurement of the fluid surface velocity can have difficulties.
Objects on the surface can give false readings and can be moving at different velocities than the fluid. For example, the fluid surface can include ripples or waves, solid objects, solid objects that are trapped or hung up (i.e., tree branches, trash, etc.) and can produce noisy or inaccurate readings.
Another type of fluid flow velocity measurement utilizes a submerged ultrasonic probe to make velocity measurements based on Doppler or correlation techniques. Such probes measure the movement of large ensembles of particles carried within the flowing fluid. The resulting velocity measurements may thus better represent the average velocity of the fluid over the channel cross- section.
The potentially better accuracy of submerged probes is balanced by greater difficulties in their use. Because such probes are submerged in a flow which may include high particulate loads, sewage, and corrosive industrial discharges, they may experience degraded function or outright failure due to silting, fouling, and corrosion. These problems sometimes result in velocity measurements which are noisy, inaccurate, or completely missing.
Consequently, a fluid flow rate produced from the fluid velocity measurement will be affected by any inaccuracies or gaps in the fluid velocity measurement.
2
Summary of the Invention
In one aspect of the invention, a fluid quantification instrument is provided. The fluid quantification instrument comprises:
one or more sensor probes; and
meter electronics in communication with the one or more sensor probes, with the meter electronics being configured to receive one or more raw fluid measurements from the one or more sensor probes, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements
Preferably, the predictive system model is provided by an unscented Kalman filter.
Preferably, the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid.
Preferably, the meter electronics being further configured to generate a plurality of Fourier coefficients related to a flow state periodicity.
Preferably, the meter electronics being further configured to generate a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
Preferably, further comprising comparing one or more elements of the predictive system model to one or more corresponding thresholds and performing one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds.
Preferably, the one or more elements of the predictive system model comprising a predicted measurement error ( yk - yk ~) that is compared to predetermined scaled elements of the sensor covariance matrix (Py), an estimated measurement error
O'jt ~ K mat *s compared to predetermined scaled elements of the sensor covariance matrix (Py), or an estimated state error (x^ -iy) that is compared to predetermined scaled elements of the state covariance matrix (Px).
3
Preferably, performing one or more optimization actions comprising decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
Preferably, performing one or more optimization actions comprising determining a future timing of one or more predetermined raw measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption of the fluid quantification instrument.
Preferably, a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw fluid measurements through statistical sensor fusion.
In one aspect of the invention, a fluid quantification method is provided. The fluid quantification method comprises:
receiving one or more raw fluid measurements;
processing the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements; and determining one or more fluid quantifications using at least the one or more
optimized fluid measurements.
Preferably, the predictive system model is provided by an unscented alman filter.
Preferably, the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid flow.
Preferably, further comprising generating a plurality of Fourier coefficients related to a flow state periodicity.
Preferably, further comprising generating a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
Preferably, further comprising comparing one or more elements of the predictive system model to one or more corresponding thresholds and performing one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds.
4
Preferably, the one or more elements of the predictive sj'stem model comprising a predicted measurement error (yk -yk ~) that is compared to predetermined scaled elements of the sensor covariance matrix (Py), an estimated measurement error
|(Λ ~ ) mat 1 'S compared to predetermined scaled elements of the sensor covariance matrix (Py), or an estimated state error that is compared to predetermined scaled elements of the state covariance matrix (Px).
Preferab y, performing one or more optimization actions comprising decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
Preferably, performing one or more optimization actions comprising determining a future timing of one or more predetermined raw measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption.
Preferably, a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw measurements through statistical sensor fusion.
Description of the Drawings
The same reference number represents the same element on all drawings. It should be understood that the drawings are not necessarily to scale.
FIG. 1 shows a fluid quantification instrument according to an embodiment of the invention.
FIG. 2 illustrates a volume flow rate determination method.
FIG. 3 is a graph of flow cross-sectional area versus flow depth for a typical open channel fluid conduit.
FIG. 4 is a graph of flow velocity versus flow depth for a typical open channel fluid conduit.
FIG. 5 shows a Fourier coefficient estimation process according to an
embodiment of the invention.
5
FIG. 6 shows a complete state transition model according to an embodiment of the invention.
FIG. 7 is a flowchart of a fluid quantification method according to an
embodiment of the invention.
FIG. 8 is a flowchart of a fluid quantification method according to an
embodiment of the invention.
FIG. 9 is a flowchart of a power-saving method according to an embodiment of the invention.
FIG. 10 is a flowchart of a power-saving method according to an embodiment of the invention.
Detailed Description of the Invention
FIGS. 1-10 and the following description depict specific examples to teach those skilled in the art how to make and use the best mode of the invention. For the purpose of teaching inventive principles, some conventional aspects have been simplified or omitted. Those skilled in the art will appreciate variations from these examples that fall within the scope of the invention. Those skilled in the art will appreciate that the features described below can be combined in various ways to form multiple variations of the invention. As a result, the' invention is not limited to the specific examples described below, but only by the claims and their equivalents.
FIG. 1 shows a fluid quantification instrument 100 according to an embodiment of the invention. The fluid quantification instrument 100 includes a meter electronics 110 and one or more probes 106A- 106B coupled to the meter electronics 110 via one or more corresponding cables 107A-107B or other signal transmission apparatus. The one or more probes 106A-106B can comprise various types of probes that measure various flow characteristics. It should be understood that the one or more probes 106A-106B can include duplicate probes that provide substantially redundant data, for example.
The one or more probes 106A-106B can measure various characteristics of water or a water flow and generate one or more raw fluid measurements. Alternatively, the one or more probes 106A-106B can be used for various other fluids. The one or more probes 106A-106B can measure fluid characteristics that are manipulated, combined, or
6
otherwise processed to generate one or more fluid characteristics that are not directly obtained.
Some instruments can measure the fluid flow rate directly, such as through use of a rotating turbine, for example. However, such instruments require intrusion into the fluid flow and therefore are often vulnerable to plugging or obstruction by solid objects in the flow. .
The fluid quantification instrument 100 in some embodiments comprises a non- intrusive instrument, wherein electromagnetic or acoustic waves interact with the fluid being measured. Alternatively, the fluid quantification instrument 100 can include intrusive prob es or measurement devi ces .
The one or more raw fluid measurements may be processed substantially in real time. Alternatively, the one or more raw fluid measurements may be processed substantially after the one or more raw fluid measurements are generated.
In some embodiments, the meter electronics 110 is remotely located from the one or more sensor probes 106, such as in a monitoring station, data accumulation station, server, et cetera. The meter electronics 110 may be in communication with one or more sets of the one or more sensor probes 106.
The fluid quantification instrument 100 can be used to measure various fluid flow characteristics. The fluid quantification instrument 100 advantageously can be used to generate optimized measurements where the end flow characteristics are not directly determined but are obtained from a processing or combination of other measurements. For example, the fluid quantification instrument 100 can generate a fluid volume flow rate quantification, wherein the volume flow rate is not directly measured and instead is non-invasively measured through a combination of flow depth and flow velocity measurements.
One application is in generating a volume flow rate of fluid flow in a channel. The water can be flowing in an open channel or in a closed channel. Measurement of a flow in an open channel typically poses more of a challenge than measurement of a flow in a closed channel, as the flow rate will vary based on the level of fill in the channel. The rate is affected by the level of fluid, the surface of the channel, channel slope, fluid type, objects or obstructions in the fluid, etc.
7
FIG. 2 illustrates a volume flow rate determination method. The volume flow rate f is indirectly determined in this example. The volume flow rate (f) is derived by multiplying the fluid velocity ( ) by the cross-sectional channel area (A). The area (A) is dependent on and is determined from the fluid depth. The velocity (y ) can be an average velocity (v ), for example, or can be further processed in order to derive a substantially average fluid velocity from the measured velocity (v ). Consequent^, the volume flow rate (f) can be determined from measurements of flow depth and flow velocity.
FIG. 3 is a graph of flow cross -sectional area versus flow depth for a typical open channel fluid conduit. The graph reflects the configuration of the open channel fluid conduit and can vary according to the cross-sectional shape of the conduit. It can be seen that the cross-sectional area of the conduit may not necessarily be linearly related to the flow depth, depending on the cross-sectional shape. The non-linearity makes predictions of flow depth more difficult.
FIG. 4 is a graph of flow velocity versus flow depth for a typical open channel fluid conduit. The graph reflects a non-linearity in the flow velocity over changes in flow depth. The non-linearity makes predictions of flow velocity more difficult.
Referring again to FIG. 1, the flow velocity can be measured by measuring a Doppler frequency shift in waves reflected from moving targets, whether from within the fluid, or at the fluid surface. The targets may be waves, ripples, or other
disturbances on the surface or they may be particles, objects, or fluid or other phase boundaries in the fluid flow. The waves can comprise any manner of suitable waves, including acoustic and electromagnetic waves. However, the Doppler shift can be affected by various extraneous factors, including noise, unwanted reflections, turbulence in the fluid flow, blockages, etc. As a result, the flow velocity measurement may be subject to spikes, drop-outs, or other anomalies in the measurement, and these can carry through to a volume flow rate determination. Such measurement anomalies can have significant effect on the accuracy and reliability of the measurements.
The drawback is that any error in either fluid measurement (depth or velocity) will invariably affect the resulting flow rate calculation. To this end, the fluid
quantification instrument 100 employs an unscented Kalman filter in processing measurement data. The unscented Kalman filter is also referred to as a sigma point
8
Kalman filter. The unscented Kalman filter enables a reduction in noise in the measurement signals, providing a measurement of increased quality. The unscented Kalman filter also can provide prediction of measurement data, wherein the predicted measurement data can serve as a substitute or gap-filler in the actual measurement data. For example, the predicted measurement data can fill in when the measurement signal drops out. Moreover,' the predicted measurement data can be augmented with
information gleaned from other sensors to more accurately replace the missing data. The unscented Kalman filter may be used in order to handle any non-linearity of the level and/or velocity sensors.
The Kalman filter is an efficient recursive filter that estimates the state of a process or system from a series of incomplete and noisy measurements. However, the conventional Kalman filter models a process or system as being essentially linear.
Therefore, if the initial estimate of the state is wrong, or if the process is modeled incorrectly, the filter may quickly diverge, owing to its linearisation. This is due to the . propagation of mean and variance values through the non-linearity. The original Kalman filter is therefore unsatisfactory in many applications.
As a result, the unscented Kalman filter was subsequently developed. The unscented Kalman filter uses a detenninistic sampling technique known as the unscented transform to pick a set of sample points (or "sigma points") around the mean. For this reason, the unscented Kalman filter is also known as a sigma point filter. These sigma points are then propagated through the non-linear functions and the mean and covariance of the non-linear output is then recovered. The result is a filter which more accurately captures the true mean and covariance of those variables which describe the fluid process or system.
The meter electronics 110 includes an interface 101 and a processor 112 coupled to the interface 101. The interface 101 is configured to receive the corresponding one or more raw fluid measurements from the one or more sensor probes 106A-106B and relay the signals to the processor 112. In addition, the interface 101 can perform any manner of pre-processing operations, such as digitizing the one or more raw fluid
measurements, for example. The interface 101 can further perform any manner of pre- amplification or pre-filtering, as desired. Alternatively, the amplification or other preprocessing can be performed in the probe 106.
9
The processor 112 in some embodiments is configured to receive the one or more raw fluid measurements from the interface 101, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements. The predictive system model can be provided by an unscented alman filter, for example. The processing system can employ the unscented Kalman filter for smoothing and improving at least some of the one or more raw fluid measurements, as will be discussed below.
The one or more raw fluid measurements .are used to update a state estimate and a covariance matrix. The one or more raw fluid measurements are sequentially generated according to a predetermined update sequence. The one or more raw fluid measurements include at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that can be used to determine a volume flow rate of the fluid.
The meter electronics 110 may be further configured to generate a plurality of Fourier coefficients related to a flow state periodicity. The meter electronics 110 may be further configured to generate a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
The meter electronics 110 may be further configured to compare one or more elements of the predictive system model to one or more corresponding thresholds and perform one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds.
The one or more elements of the predictive system model can comprise a predicted measurement error vector (j^ - j>~)| that is compared to predetermined scaled elements of the sensor covariance matrix P_y . The one or more elements of the predictive system model can comprise an estimated measurement error vector
(ji -y÷ k ) that is compared to predetermined scaled elements of the sensor covariance matrix P . The one or more elements of the predictive system model can comprise an estimated state error vector compared to predetermined scaled elements of the state covariance matrix Px . Typically, the comparison is to a vector
composed of diagonal entries of the chosen covariance matrix. The elements used in the comparison may comprise scaled diagonal elements of the chosen covariance matrix.
Performing one or more optimization actions can comprise decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more cozresponding thresholds. Performing one or more optimization actions can comprise determining a future tuning of one or more predetermined raw measurements based on the one or more elements of the predictive system model, wherein the future timing affects a power consumption of the fluid quantification instrument 100. Performing. one or more optimization actions can comprise selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model, wherein the selection affects a power consumption of the fluid quantification instrument 100. Performing one or more optimization actions can comprise selecting and using one or more predetermined raw measurements and/or one or more predetermined optimized fluid measurements for determining the one or more fluid quantifications through sensor fusion. Performing one or more optimization actions can comprise operating individual sensors according to whether the one or more elements of the predictive system model satisfy the one or more corresponding thresholds. Performing one or more optimization actions can comprise measuring a flow characteristic using a lowest power consuming sensor and additionally measuring the flow characteristic using a higher power consuming sensor if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds. Performing one or more optimization actions can comprise using non- measurement data in place of raw measurement values. The non-measurement data can comprise historical data values, predicted data values, or filtered data values. The non- measurement data can be used to replace raw measurement values, such as where the raw measurement values are determined to be outliers or are suspect data values in some way. Alternatively, the non-measurement data can be used where raw measurement values are missing, such as where a sensor has dropped out due to any manner of fault or problem.
The processing further comprises using a predictive system model, wherein the predictive system model comprises a predictive portion of the unscented Kalman filter (see equation (1) below). The predictive system model is configured to handle drop-
outs in the one or more raw fluid measurements. In some embodiments, the previous state drives the predictive system model, as given in equation (1) below, but without the state noise (wx).
The processing further comprises using a predictive system model, wherein the predictive system model expresses correlations between a set of possible sensor measurements and the system state. In some embodiments, the state transition matrix (F ) comprises the predictive system model, as given in equation (1) below.
The processor 112 in some embodiments is configured to receive one or more raw fluid measurements from the interface 101, process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and detenrrine one or more fluid quantifications using at least the one or more optimized fluid measurements.
The one or more raw fluid measurements in some embodiments can comprise at least a raw fluid depth measurement and a raw fluid velocity measurement. The one or more fluid quantifications in some embodiments can comprise an optimized fluid depth measurement, an optimized fluid velocity measurement, and/or an optimized fluid velocity measurement.
The processor 112 in some embodiments performs sensor fusion as part of the unscented Kalman filter. Sensor fusion is the use of various multiple sensors and/or multiple measurement values in order to generate an outputted measurement. In the fluid quantification instrument 100, multiple sensor probes 106 can be used and can generate multiple raw fluid level/velocity measurements, for example. The fluid quantification instrument 100 can schedule sensors/sensor measurements, can select from raw measurements, or can weight and combine raw measurements in
predetermined ratios.
If the processor 112, executing the unscented Kalman filter routine 123, decides that it already has good knowledge of the system state, then it may schedule fewer measurements. Conversely, the processor 112 can schedule more measurements if the system state is uncertain.
The storage system 120 can include one or more raw fluid measurements 121, a flow processing routine 122, an unscented Kalman filter routine 123, one or more optimized fluid measurements 124, and one or more fluid quantifications 125. The one
or more raw fluid measurements 121 comprise signals received from the one or more probes 106, i.e., raw measurement data. The one or more fluid quantifications 125 comprise processed measurements or flow determinations that can be stored, transferred, or output by the fluid quantification instrument 100. The one or more fluid quantifications 125 are generated from the one or more raw fluid measurements 121 by the processor 112 when executing the flow processing routine 122 and the unscented Kalman filter routine 123. However, the one or more fluid quantifications 125 may not necessarily correspond in number to the one or more raw fluid measurements.
In the prior art, unscented Kalman filters have been used in tracking of ballistic and orbital objects, such as for determining velocity and direction of flight (see prior art U.S. Patent No. 7,249,730 to Flippen, Jr., for example). Conventional Kalman filters have also been used to track plant dynamics in, for example, chemical manufacturing. In the prior art, the unscented Kalman filter is typically used to refine and improve velocity measurements of a solid object moving at very high speeds. Unscented Kalman filters are used in robotics. However, unscented Kalman filters have not been used in the prior art to measure characteristics of a fluid flow.
U.S. Patent No. 6,807,494 to Schutzbach discloses using historical fluid flow data to validate new measurements and also for setting alarm thresholds. The past data history may be voluminous and the prior ait discloses storing data on a server, as it is impractical to store such a volume of past data in a field-deployed apparatus. The server is separate from the computer or computers that process the measured data, and is separate from the flow sensor instruments, wherein the server merely stores historical data.
In the present patent application, past history is summarized in a compact form better suited to limited memory space. Schutzbach contemplates excluding certain data as outliers, but does not improve those data that are accepted for use in reporting. In the present patent application, all available information is combined in an optimal fashion. Various sources of data are combined in accordance with their relative reliability.
Schutzbach does not perform local processing. Schutzbach does not locally process measurement data against historical data. Schutzbach does not reduce historical data to a new form for storage and or processing. Because Schutzbach does not perform
any local processing at a flow instrument, Schutzbach cannot perform power saving processes.
Advantages of the present invention include: (1) decreased data storage because actual past history is not stored, (2) improved accuracy through use of optimal noise filtration, (3) data drop-outs are filled in, and (4) power savings are realized because unnecessary measurements are avoided.
The unscented Kalman filter routine 123 can be implemented in order to perform optimization of one or more raw fluid measurements. The unscented Kalman filter routine 123 can be configured to model a state transformation represented by:
Where the (k) subscript denotes a next measurement time, the (k-1) subscript denotes a previous measurement time, the (xk ) term represents a next state of the system, the (Fk_ ) term comprises a state transition matrix, the ( 4_ι ) term represents a previous (i.e., known) state, and the (wx) term represents state noise (see FIG. 6). In this model it is assumed that the noise (wx) is characterized by a covariance matrix, Q.
In equations presented herein, underlined lower-case variables may be column vectors or single numbers. Underlined upper-case variables are typically matrices, but may be single numbers in particularly simple cases. Note that the unscented Kalman filter implementation does not add the noise state (wx) because the filter does not know it.
Though it assumes equation (1). it actually performs (xk = Fk_xxk_ ). The previous state vector (xM) contains state variables and can be formed of either optimized
measurements and/or other quantifications. As a result, the next state (xk ) comprises the previous state (xk_ ) multiplied by a state transition matrix (Fk^ ) plus any noise
(Hi ) present in the measurement.
The predicted next state (xk ) comprises a prediction or determination of the next measurement, taken at a future time where the (k) subscript is for the next time tick after (k-1), where the (A) is for an estimated value, and where the (-) superscript indicates it is an a priori estimate of the next state. The prediction ability of the unscented Kalman filter is based on the historical data included within ( xk_x ), and the predictive system
model expressed by the state transition matrix (Fk^ ). The previous state vector prediction (¾_, )' can include any manner of historical and/or periodicity data. The next state (xk ) therefore comprises a best estimation of a next measured fluid value, based on known (i.e., historical) measurements and conditions.
The state noise (wx) term represents uncertainty and unpredictability in the state . transformation. It is desired to minimize the uncertainty in the next state estimate ( /c ), despite the state noise (wx). This can be accomplished through careful design and implementation of the state transition matrix, as discussed above.
The next state (xk ) comprises a vector that includes several important items of information. The next state xk ) can be represented as:
x,, = (2)
Here the (/) term comprises a bulk flow measurement, the (c0-cp) terms comprise. channel coefficients, and the (ao, als bj - aN, bN) terms comprise Fourier coefficients. Note that the previous state vector (xA._i) has the same form, and contains the same items, as estimated at the previous time tick. A nominal number of channel coefficients (c0-cp) and Fourier coefficients (a^ al5 bl5 . . . aN, bN) are typically required. For example, in some embodiments, a total of thirteen coefficients, including channel coefficients (co-c P) and Fourier coefficients (a0, als bls . . . aN, bN), are sufficient to generate accurate and reliable fluid quantifications.
The channel coefficients (c0-cp) define some aspects of the fluid flow channel. In a first embodiment, the channel coefficients (c0-cp) define the relationships between
redundant sensors. The channel coefficients (c0-cp) tlierefore can define an offset(s) between depth sensors or correction factor(s) between velocit sensors.
In a second embodiment, the channel coefficients (c0-cp) define the flow channel's velocity versus depth curve (see FIG. 4). The channel coefficients (c0-cp) can be selected in several ways. The velocity versus depth relation can be assumed to be somewhat linear and a linear function can be chosen for a given depth. However, this is generally not an acceptably accurate technique. A more accurate representation of channel velocity versus depth comprises generating a piecewise polynomial
representation based on interpolation kernels. In some embodiments, the interpolation kernels comprise B- spline kernels.
The two embodiments discussed above are not mutually exclusive. Both kinds of coefficients could be employed in some implementation embodiments.
The Fourier coefficients (¾, als b1; . . . aN, bN) are related to and can model a channel history, such as a channel flow history, for example. Further, the Fourier coefficients (ao, a1? bb . . . aN, bN) can be related to and can model a flow periodicity. The channel coefficients (c0 . . ,cp) are chosen to represent a substantially non-linear flow response. The resulting Fourier coefficients (ao, ala bl5 . . . aN, bN) are more compact than storing an actual history. The Fourier prediction can be used as a
Bayesian prior mean. In one embodiment, the Fourier coefficients (ao, al5 bls . . . aN, bN) are generated using a moving average estimator.
FIG. 5 shows a Fourier coefficient estimation process according to an
embodiment of the invention. In the first estimation element, the bulk flow
measurement (f) in equation (2) is multiplied by a frequenc3',-shift factor given as:
The frequency- shift factor includes a time or sampling factor, (1/M), where (M) determines 'the time constant used in the Fourier coefficient estimation. The (M) term comprises a number of time-sampled input values for an exponential averaging. In the second estimation element, the resulting frequency- shifted bulk flow measurement is summed with the output of a time delay element ( z"1 ). The resulting Fourier coefficient estimate is represented by:
— f(k) cos(ncok) (4)
M
The equation for bn (k) is similar and involves s,m.{nc)k) instead of cos(/ifiWfc) .
FIG. 6 shows the complete state transition model of equation (1) according to an embodiment of the invention. This embodiment includes the (1/M) amplitude multiplier as part of the state transition matrix (Ft_} ). The state transition matrix multiplies the previous state vector (¾._, ).
The unscented Kalman filter also tracks the covariance matrices Px, Py , and
P . Diagonal elements of the state covariance matrix, Px , comprise variances and covariances of state variables. The measurement covariance matrix, Py , gives variances and covariances of optimized measurements. The matrix P gives statistical relationships between elements of x and y. The variance is a statistical measure of how much a single variable varies. It can be thought of as a measure of the noise in that particular variable. Off-diagonal entries of a covariance matrix comprise the covariance between variables. Covariance is the measure of how much two random variables vary with respect to each other. Consequently, the unscented Kalman filter tracks variance and covariance, such as variance in the fluid velocity and covariance between the fluid depth and fluid velocity, in order to optimally use raw measurements and historical information. The raw fluid measurements are used to update the state estimate according to the Kalman gain, which is derived from Py and Pv .
The variance and covariance give a statistical estimation of measurement and state estimate reliabilities. Changes in the variance and covariance give a statistical estimation of trends in accuracy and trends in fluid and fluid flow conditions.
Moreover, changes in the variance and covariance give a statistical estimation of which fluid sensors should be trusted and used. Further, the variance and covariance give information that can lead to determinations of outliers or errors in raw measurements, wherein thresholds based upon the variance and covariance can be employed to ignore data points and/or replace or condition problematic data points, as needed.
The values in the covariance matrices P^PZ P^ and Q_ may be obtained in various ways. For example, an instrument may be programmed with stalling values at
the factory, based oil known characteristics of the sensor and/or known or anticipated characteristics of the channel (i.e., information regarding intended use of the fluid quantification instrument). Alternatively, or in addition, the user may be given control of relative values (such as one sensor compared to another) and may adjust their ratios according to perception of sensor reliability, or may review produced data and revise the covariance matrices empirically, in order to make the filtered data reflect actual flows. In another alternative, the Kalman filter could be augmented with an on-line running estimator that changes covariance entries based upon observed statistics of incoming measurements. Various method exist for this, and are known to those skilled in the art.
A formula of interest is the Kalman measurement model. It augments the
Kalman predictive system model, and represents how the system state manifests sensor measurements. The Kalman measurement model can be expressed as:
(5)
Here the ( y ) comprises a measurement vector, the g() function comprises a
(possibly nonlinear) measurement function, the (¾. ) term comprises the previously discussed state vector, and the (wy ) term comprises measurement noise. The
measurement function, g(), represents the idealized operation of the sensors used to generate the raw measurements, as well as the effect of the channel. The measurement function, g, may depend, on the channel coefficients (c0, . . . cp). The measurement noise ( w ) comprises noise picked up and/or inherent in the measurement device, such as in the sensor probes 106, within the meter electronics 110, from nearby noise sources, etc.
The measurement vector ( y ) comprises a vector that represents current raw fluid measurements.. The measurement vector ( yk ) can be of any needed size. When the measurement vector holds information of raw fluid depth and raw fluid velocity measurements, the measurement vector ( y ) can be represented as:
t (6)
in which the (db d2, . . .) terms are raw depth measurements and the (yl5 v2, . . .) terms are raw velocity measurements.
The first part of the alman prediction step comprises computing the (Fk_ ) matrix, i.e., the large matrix in FIG. 6. It should be noted that (F^ ) is a function of time. Next compute the a priori state estimate:
(7)
Compute the a priori state covariance:
P (k) = Fk_ii {k -~l)Fl + Q (8) wherein, Q is a covariance matrix describing the state noise, (wj, of (1). In the sigma point portion of the algorithm, during the update step, let or be a small number, such as 0.01, and β = 2 (correct for Gaussian noise). A matrix, Δ, is computed such that
This is a lower triangular "matrix square root", or Cholesky factor.
a
Denote the ith column of Δ by Δ,, and compute 2N+1 sigma points, χ ) , according to:
0
1,...,N (?) tik '~ Α(ί-ΛΓ) 77 + l,...,2N
Each sigma point is a column vector of length N. To prevent numerical difficulties, we rescale the sigma points as follows:
(10)
Run all the sigma points through the nonlinear predictive system model.
ru) = g(zU)) (11) .
Compute an associated set of weighting factors according to a"— 1
7 = 0
win = \ a2 (12) i≠0
Compute the expected value of the measurement vector.
Modify the zeroth weighting factor for use in covariance calculations
Wiai = Wl0) +/3 + l-a2 , (14) Compute the measurement and cross- covariance matrices.
l^ =∑^ z ) - k )(rv) - yk)r (16)
This ends the sigma point estimation step. The covariance of the raw measurements must be estimated, as it must be assumed mat the flow equations are non-linear in nature.
The third part of the Kalman prediction step comprises computing '1 by matrix inversion (its dimension is equal to the number of measurements). Then compute the Kalman gain:
Kk =lxyl~! (IV)
When one or more new measurement values are available for time tick k, the Kalman update step begins. The a posteriori state estimate is then computed according to:
H e updated state covariance is:
(19)
If it is desired to view, or record, filtered measurements, they are given by:
(20)
The state covariance can be propagated as a simple matrix equation (1 ), because the state transition matrix is linear. The a priori state is estimated using the time- varying state transition matrix shown in FIG. 6, wherein historical and/or periodicity data implicit in the coefficients {ao, ... a,,} and {bls ... b„} can be employed in the estimation.
The unscented transformation is performed on an approximate distribution of data points (x) by a set S of vectors and their associated weights.
The statistics of the transformed set are calculated according to:
(21)
This is the expected value (mean) of the measurement vector. The Kalman update step generates an a posteriori or empirical state estimate (¾ ) according to equation (18). In addition, the P_ value must also be computed per equation ( 19) for use in the next iteration of the Kalman filter.
The empirical state estimate ( , ) comprises both measured factors and predicted factors. The a priori or theoretical state estimate (xk ~ ) comprises predicted factors based on the history and periodicity of the flow.
The Kalman gain term (Kk ) comprises a gain used to control an amount of change in a subsequent optimized flow measurement(s). The Kalman gain term (Kk ) can be small and therefore can limit the amount of change, such as where the reliability
of the unscented Kalman filter is low. Conversely, the alman gain term (Kk ) can be large and can allow or force large changes in the resulting optimized measurement(s).
The measurement innovations term ( y - y+ ) comprises a difference between actual (i.e., empirical) measurements and predicted measurements. It is (typically) a vector whose entries are the prediction error for each empirical (raw) measurement The measurement innovations term ( yk - y+ ) can vary according to the reliability of the measurement prediction. Consequently, a large measurement innovations term
( -y÷ ) denotes a large difference between the predicted and actual measurements and therefore a relatively inaccurate measurement prediction. Conversely, a small measurement innovations term ( y - y+ ) denotes a relatively reliable measurement prediction. Consequently, the (xk ) term is updated in a manner to compensate for the difference between a previous prediction and actual measurements. At the conclusion of the process, a similar vector can be computed. This is the measurement error vector defined by k = (y -y*) , where y* is the vector of "filtered" measurements computed according to equation (20).
FIG. 7 is a flowchart 700 of a fluid quantification method according to an embodiment of the invention. In step 701, a next state vector is predicted. The predicting may comprise using a predictive system model to generate the predicted next state vector.
hi step 702, raw measurement values are predicted. The predicted raw
measurement values may be predicted by the unscented Kalman filter using a predictive model based upon previous measurements or historical data. The predicted raw measurements may be predicted from the state vector of step 701.
In step 703, one or more raw fluid measurements are taken. The one or more raw fluid measurements can comprise any desired measurements. In some embodiments, the one or more raw fluid measurements include one or more fluid depth signals and one or more fluid velocity signals. The fluid depth and the fluid velocity can be used to determine a volume flow rate in an open channel, as previously discussed. The one or more raw fluid measurements comprise the raw, substantially unprocessed
measurements as 'they are received from corresponding sensors or measurement devices.
22
However, other measurement signals and/or fluid quantifications are contemplated and are within the scope of the description and claims.
In step 704, the one or more raw fluid measurements are compared to the predicted fluid measurements. The comparison generates error values consisting of the difference between predicted and measured values.
In step 705, the state vector is updated using the error values of step 704. The updating may consist of multiplying the error values by a Kalman gain matrix and adding the result to the predicted state vector of step 701.
In step 706, one or more optimized fluid measurements are produced. The optimized measurements are produced by applying elements of the updated state vector to the latest s}7stem model. It should be understood that some parameters of the system model may also reside in the state vector, as can be seen from equations (20) and (5).
The one or more optimized fluid flow measurements do not necessarily correspond and may differ in number from the one or more raw fluid measurements. For example, the one or more raw fluid measurements can comprise a raw fluid depth and a raw fluid velocity, wherein onry the raw fluid velocity is optimized and an optimized fluid velocity measurement is subsequently generated. In the matrix given in FIG, 6, the "optimized" result is bulk fluid flow. However, optimized versions of the raw measurements can always be produced, as given in equation (20).
The one or more optimized fluid measurements produced by the unscented Kalman filter offer several advantages. The optimized fluid measurements are typically more accurate than the raw measurements. The optimized fluid measurements may be more accurate than the raw measurements by incorporating a flow periodicity. The optimized fluid measurements can be more accurate than the 'raw measurements because Kalman filtering fuses information from multiple measurements and sensors. For instance, optimal estimates of fluid velocity and/or level may utilize information from raw measurements of both velocity and level. The processing can identify outliers and errors in the measurements based on one or both of the measurement error ε,. or the filtered measurements y+ and the flow periodicity. The one or more optimized fluid measurements can identify outliers and errors in the measurements and can enable removal or compensation of the outliers and errors. The one or more optimized fluid measurements can identify outliers and errors in the measurements and can enable
23
removal or compensation of the outliers and errors and can use either optimized measurements or historical/periodicity information in substitution. Further, if only one of the raw measurements is suspect, the method can incorporate other raw
measurements that are known to be more accurate and reliable. Alternatively, the raw measurements may not be retained at all. Instead, the filtered measurements may be saved for future use.
All or a portion of the raw fluid measurement signals can be optimized, as needed. For example, only fluid variables that tend to inaccuracy or rapid change (or that are otherwise problematic) may be optimized. Alternatively, the method can optimize all measured variables through Kalman filtering, obtaining raw measurements as needed, 'utilizing the raw measurements that are most reliable, and talcing and combining multiple raw measurements from multiple sensors as appropriate.
It should be understood that sensor fusion is inherent in Kalman filtering when more than one sensor (and measurement) is used in the instrument. Sensor fusion is the process of combining of sensor data from multiple sources. Sensor fusion can be performed in a maimer such that the resulting information is in some sense better or more accurate and reliable than would be possible when these sensor data sources are used individually.
In some embodiments, the one or more optimized fluid measurements can be used to select and combine the one or more raw fluid measurements and the one or more optimized fluid measurements in predetermined combinations. In some embodiments, the one or more optimized fluid measurements can be used to select and combine the one or more raw fluid measurements and the one or more optimized fluid measurements in predetermined combinations according to a statistical variance of the one or more raw fluid measurements. Again, this inheres in calculating K from Py and (see equation (18)).
In some embodiments, the estimated system state can be used to select predetermined raw measurements for use in generating the one or more optimized fluid measurements. In some embodiments, the one or more optimized fluid measurements can be used to select predetermined raw measurements for use in generating the one or more fluid quantifications or the appropriate sensor can be energized in order to produce a raw measurement signal. In some embodiments, the one or more optimized fluid
24
measurements can be used to select predetermined raw measurements for use in generating the one or more fluid quantifications and the one or more optimized fluid measurements.
In some embodiments, the optimization can comprise substituting historical, predicted, or filtered measurements for a raw measurement that is an outlier or that is not trusted. Alternatively, the optimization can comprise inserting historical, predicted, or filtered measurements when a sensor measurement has dropped out or is not available for any reason.
In step 707, the one or more optimized fluid measurements are used to generate one or more fluid quantifications. The one or more fluid quantifications do not necessarily correspond in number to the one or more optimized fluid measurements. The one or more fluid quantifications can comprise any manner of fluid -or fluid flow characteristics. In some embodiments, the one or more fluid quantifications include a volume flow rate of the fluid, such as in an open channel flow.
It should be understood that selected optimized fluid measurements may be used for generating the one or more fluid quantifications, and not all of the produced optimized fluid measurements may necessarily, be used. In addition, selected raw fluid measurements may also be used, as desired, including using none of the raw fluid measurements.
In step 708, the fluid quantifications may be stored. Alternatively, the fluid quantification values may be transmitted to other devices, ox used or transmitted in any desired fashion. Further, if desired, the one or more optimized fluid measurements and/or the one or more raw fluid measurements may also be stored and/or transmitted to other devices.
Step 708 may include a wait period, as desired. The wait period may comprise a time interval between raw fluid measurements. The method may then loop back to, step 701.
The wait period may comprise part of a power management process. In some embodiments, power consumption is minimized by comparing a statistical variance to a predetermined variance threshold and performing one or more iterations of
measurements and subsequent processing. Subsequent measurements and processing could be performed if the statistical variance of ( + ) or y+ ), for example, exceeds the
25
predetermined variance threshold (or if the error vector sk or the innovations (yk - y ) vector exceed a threshold based on variance). For ( + ), the comparison would be to the statistical variance, captured in the state covariance matrix Px . For ( j>+ ), the comparison could be to the measurement covariance matrix Py but could also be a comparison of ( y - y~ ) or ( y - y* ) to a threshold, where the threshold might depend on elements of the measurement covariance matrix P . Typically the comparison is to a vector composed of scaled diagonal entries of the chosen covariance matrix. In this manner, as the raw measurements become less predictable and more erratic, the processing of the raw measurements can be increased and an interval between measurements can be correspondingly decreased. Such comparisons are particularly valuable in embodiments wherein the covariance matrices are estimated from incoming data.
In some embodiments, powe consumption is minimized by comparing a statistical variance to a predetermined variance threshold and decreasing a measurement interval if the statistical variance exceeds the predetermined variance threshold. A smaller measurement interval generates more data to the unscented Kalman filter, which tracks better as a result. A smaller measurement interval may tend to minimize errors by making outlier or error detection more frequent and accurate.
In some embodiments, power consumption is minimized by comparing an error or a statistical variance to a predetermined variance threshold, measuring a flow characteristic using a lowest power consuming sensor if the statistical variance does not exceed the predetermined variance threshold, and measuring the flow, characteristic using a higher power consuming sensor if the statistical variance exceeds the
predetermined variance threshold. Alternatively, the power consumption process can compare innovations to a predetennined threshold or can compare error vectors §_k to a predetermined threshold. The lowest power consuming sensor in some embodiments may be a least accurate sensor, wherein the deficiency in accuracy can be compensated for by employing the processing of the unscented Kalman filter. But mostly what is compensated for by the unscented Kalman filter is the absence of the raw fluid measurements that were skipped or not taken. Conversely, the highest power consuming sensor may be more accurate, but the better accuracy may come at the cost
26
of increased power consumption, wherein such a highest power sensor may be only used as necessary by employing the unscented Kalman filter. In this manner, the accuracy of the measurements and of the fluid quantifications produced from the measurements is increased and controlled, as needed.
Optimal power management can entail turning various sensors on or off as needed, wherein a sensor can be left un-powered if not required. This can be done to reduce power consumption or to reduce wear on sensor having limited service life. When a previously unused sensor becomes needed, it can be powered up in order to generate measurements as needed. Alternatively, a sensor can remain powered and the sensors output can be used or ignored as needed.
The method can be iteratively and/or periodically performed. However, it should be understood that the tracking performed by the unscented Kalman filter enables the method to be performed less often while yet maintaining accuracy and reliability of the fluid quantifications. Moreover, the historical/periodicity information of the unscented Kalman filter can enable the initiation of measurements at predetermined times. This can be employed in order to minimize operation of the flow measurement system and conserve electrical power, for example.
FIG. 8 is a flowchart 800 of a fluid quantification method according to an embodiment of the invention, hi step 801, two or more raw fluid measurement signals are received. The two or more raw fluid measurement signals can comprise one or more raw fluid depth signals and one or more raw fluid velocity signals.
In step 802, at least one raw fluid measurement is processed with an unscented Kalman filter, as previously discussed. The processing produces at least one optimized fluid measurement such as an optimized fluid velocity measurement, for example.
However, additional raw fluid measurement signals can be processed by the unscented Kalman filter as desired.
In step 803, the at least one optimized fluid measurement is used to determine at least a volume flow rate. For example, at least one optimized fluid velocity
measurement can be used in conjunction with a raw or optimized flow depth in order to determine the volume flow rate. Other flow quantifications can be additionally produced.
27
It should be understood that the sensor fusion process is left out of the description of this flowchart merely for simplicity. The sensor fusion process selects between and combines inputs where the flow meter includes multiple, similar, and/or redundant sensors. The sensor fusion process can schedule measurements. The sensor fusion process can select sensors to be energized or de-energized. The sensor fusion can Operate using any number of sensor signals, including a single level measurement and a single velocity measurement.
In step 804, the method checks to determine if it is time for a measurement iteration, as previously discussed. If it is time for a measurement iteration, the method branches back up to step 801. Otherwise, the method branches to step 805 and waits and checks again.
FIG. 9 is a flowchart of a power-saving method according to an embodiment of the invention. The power-saving method advantageously conserves electrical power, such as if the power source is a battery, for example. In step 901, a fluid quantification instrument takes one or more raw fluid measurements of a fluid, as previously discussed.
In step 902, statistics are compared to one or more predetermined thresholds in order to determine if measurement performance is acceptable. For example, a state variance Px may be computed and compared to a state variance threshold. In addition or alternatively, the measurement error or innovations can also be computed and compared to a threshold derived from the sensor measurement matrix P . A test based only on P will likely indicate that the measurement looks noisy. A test using the error matrix sk will likely indicate that the measurement looks incorrect. A test using measurement innovations (yk - y* ) will likely indicate that the measurement looks atypical.
In step 903, if one or both of the state variance Px and the sensor variance P exceed their thresholds, then operationally the fluid quantification instrument is not operating within bounds. If neither the state variance Px nor the sensor variance P is out of bounds, then the method proceeds to step 904. Alternatively, if one or both of the
28
state variance Px and the sensor variance PJ( exceed their thresholds, then the method proceeds to 905.
In step 904, because the fluid quantification instrument is operating within bounds, the current sensors are maintained and no additional sensors are brought on-line or dropped from use. It should be understood that in some embodiments, one or more sensors can be powered down and dropped from use if the fluid quantification instrument is operating within bounds (or has been operating within bounds for a predetermined period of time). Alternatively, there may be another threshold, a too good threshold, wherein if the state variance Px and the sensor variance P are less than this too good threshold, then sensors may be dropped out, as sensor performance does not require multiple sensors performing the same measurement. After this step, the method loops back up to step 901 and takes further raw measurements. The looping back can include a predetermined delay eriod.
In step 905, because the fluid quantification instrument is exceeding operational bounds, additional fluid sensors may need to be brought online. For example, if a currently used fluid velocity sensor is exhibiting poor accuracy, then an additional fluid velocity sensor can be powered up used to obtain a different or additional fluid velocity measurement.
In step 906, a predetermined loop delay may be introduced. The predetermined loop delay may achieve a predetermined time period between measurement iterations. The predetermined loop delay may be fixed or variable. The method then loops back to step 901.
. FIG. 10 is a flowchart of a power-saving method according to an embodiment of the invention. In step 1001, a fluid quantification instrument checks to see if a start time period has expired. If the start time period has expired, then the method branches to step 1002. Otherwise, the method proceeds to step 1003.
The start time period can comprise a periodic fluid measurement period, for example. The start time period can comprise a predetermined number of seconds, minutes, or hours. For example, the start time period can comprise an hour and the fluid quantification instrument can perform measurements at least every hour, depending on whether current conditions change or stay the same.
29
The start time period can be longer that the main loop time of the fluid quantification instrument. The start time period can be chosen to generate useful fluid quantifications while yet minimizing operational power consumption, for example. In some embodiments, the fluid quantification instrument can be woken up when the start time period has expired, perform measurements and calculations as desired, and then the fluid quantification instrument can go back into a sleep mode until a next start time period expiration.
In step 1002, measurements are obtained from all sensors. This can include obtaining measurements from sensors having varying levels of accuracy and reliability. This can include obtaining measurements from sensors having varying levels of power consumption. After the measurements are obtained, the method processes the new measurements and updates the state estimate, the co variance, and the channel model. The state estimate, the covariance, and the channel model are now up to date and reflect current fluid conditions/current flow conditions. At the end of this step, the method loops back to step 1001.
In step 1003, where the start time period has not yet expired, the method measures a fluid level with a pressure sensor. The pressure sensor typically requires a low amount of electrical power and therefore may be employed more often than other level sensors, such as an ultrasonic fluid level sensor. After the level measurement is obtained, the state estimate and covariance are again updated in order to reflect current conditions.
In step 1004, the state estimate and covariance are compared to thresholds in order to determine if the pressure sensor level measurement is within predetermined acceptable bounds. If the pressure sensor level measurement is within predetermined acceptable bounds, then the method loops back to step 1001. Otherwise, where the pressure sensor level measurement is not within predetermined acceptable bounds, the method proceeds on to step 1005.
In step 1005, the method measures the fluid level with an ultrasonic sensor. The ultrasonic level sensor may be more accurate and reliable than the pressure level sensor, but may consume more electrical power. Here, where the pressure sensor level measurement has been determined to be lacking due to some test result, then the ultrasonic level sensor is employed. As before, the state estimate and covariance are
updated to reflect current conditions. The updating will capture the deviations within the state estimate and covariance.
In step 1006, the newly updated state estimate and covariance are again compared to thresholds in order to determine if the ultrasonic sensor level measurement is within predetermined acceptable bounds. If the ultrasonic sensor level measurement is within predetermined acceptable bounds, men the method loops back to step 1001. Otherwise, where the ultrasonic sensor level measurement is not within predetermined acceptable bounds, the method proceeds on to step 1007.
In step 1007, the method measures fluid flow velocity. Here, where the both the pressure and ultrasonic sensors indicate that one or both of the state estimate and covariance are deviating too much, then the velocity sensor is employed. If the state estimate and covariance are deviating, then the method does not wait for the start time period to expire before measuring fluid velocity again. The velocity sensor can, for instance, measure a point velocity in the fluid flow. The meter electronics can process the point velocity in order to obtain or estimate an average fluid velocity. Subsequently, the state estimate and covariance are again updated to reflect current conditions. The updating will capture the deviations within the state estimate and covariance.
In step 1008. the deviations within the state estimate and covariance are compared to a deviation threshold in order to determine the magnitude of the deviations. If the deviations do not exceed the deviation threshold, then the deviations are small and the method loops back to step 1001. Consequently, the method determines that the measurements performed in steps 1003, 1005, and 1007 are adequate to fully quantify the fluid and/or fluid flow. Otherwise, where the deviations exceed the deviation threshold, then the deviations are not small and the method proceeds on to step 1009.
In step 1009, the method judges the deviations in the state estimate and covariance to be significant and generates an indication to sample for a special event For example, the indication can comprise a signal to sample for or obtain information related to a recent rainfall. The indication in some embodiments can request additional measurements or information from external devices. The indication in some
embodiments can signal the likely occurrence of a special event. The indication can be transferred to an operator or other monitoring system. The indication in some
embodiments can trigger further sensors to be brought online. At the end of the sample
or indication, the method loops back to step 1001. In steps 1003, 1005, 1007, the updates are based on individual measurements, and so the matrix equations given herein are partitioned to reduce the measurement dimensionally. The method of doing this is called "sequential update."
One advantage of the fluid quantification instrument and method is the ability in some embodiments to process measurements that may include noise, errors, or other unwanted variations and yet generate more accurate and reliable results.
Another advantage of the fluid quantification instrument and method is the ability in some embodiments to detect spikes, drop-outs, or other outliers, irregularities, or errors in measurements. Such errors can contribute much inaccuracy to the measurements. The identified irregularities can be omitted from or compensated for in the measurement results, can dictate the retaking of measurements, can give a user an indication of the reliability of the end results, etc. Further, identification of
measurement irregularities can also be used to increase a measurement rate, generate an alarm to a user or operator, or trigger an automated sampler device, among other things.
Another advantage of the fluid quantification instrument and method is the ability in some embodiments to detect and mitigate (or replace) a spike or outlier with a reliable estimate of the proper value. Another advantage of the fluid quantification instrument and method is the ability in some embodiments to replace a drop-out in a measurement with a predicted or estimated value that is based on historical
measurement data, including historical data that captures a periodicity in the
measurements. Alternatively, the replacement can be accomplished with measurement data from other sensors that did not drop out. hi most cases, the replacement will be made on the basis of both the history/periodicity and the measurement data from other sensors.
32
Claims
1. A fluid quantification instrument (100), comprising:
one or more sensor probes (106); and
meter electronics (110) in communication with the one or more sensor probes
(106), with the meter electronics (110) bei g configured to receive one or more raw fluid measurements from the one or more sensor probes (106), process the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements, and determine one or more fluid quantifications using at least the one or more optimized fluid measurements.
2. The fluid quantification instrument (100) of claim 1, with the predictive system model being provided by an unscented Kalman filter.
3. The fluid quantification instrument (100) of claim 1, with the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid.
4. The fluid quantification instrument (100) of claim 1, with the meter electronics (110) being furtlier configured to generate a plurality of Fourier coefficients related to a flow state periodicity.
5. The fluid quantification instrument (100) of claim 1, with the meter electronics (110) being further configured to generate a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
6. The fluid quantification instrument (100) of claim 1, further comprising:
comparing one or more elements of the predictive system model to one or more
. corresponding thresholds; and
performing one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds,
33
7. The fluid quantification instrument (100) of claim 6, with the one or more elements of the predictive system model comprising a predicted measurement error |θ ί· ~ k~ ) *s compared to predetermined scaled elements of the sensor covariance matrix (Py), an estimated measurement error yi - y\) that is compared to
predetermined scaled elements of the sensor covariance matrix (Py), or an estimated state error j( A - xk ') that is compared to predetermined scaled elements of the state covariance matrix (Px). .
8. The fluid quantification instrument (100) of claim 6, with performing one or more optimization actions comprising decreasing a measurement interval if the "one or more elements of the predictive system model do not satisfy the one or more
corresponding thresholds.
9. The fluid quantification instrument (100) of claim 6, with performing one or more optimization actions comprising deteiTmning a future timing of one or more predetermined raw measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption of the fluid quantification instrument (100).
10. The fluid quantification instrument (100) of claim 1, wherein a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw fluid measurements through statistical sensor fusion.
11. A fluid quantification method, comprising:
receiving one or more raw fluid measurements;
processing the one or more raw fluid measurements using a predictive system model to produce one or more optimized fluid measurements; and detemiining one or more fluid quantifications using at least the one or more
optimized fluid measurements.
34
12. The method of claim 11, with the predictive system model being provided by an unscented Kalman filter.
13. The method of claim 11, with the one or more raw fluid measurements including at least a raw fluid depth measurement signal and a raw fluid velocity measurement signal that are used to determine a volume flow rate of the fluid flow.
14. The method of claim 11, further comprising generating a plurality of Fourier coefficients related to a flow state periodicity.
15. The method of claim 11, further comprising generating a plurality of Fourier coefficients related to a periodicity in one or more elements of a state vector.
16. The method of claim 11 , further comprising:
comparing one or more elements of the predictive system model to one or more corresponding thresholds; and
performing one or more optimization actions if the one or more elements do not satisfy the one or more corresponding thresholds.
17. The method of claim 16, with the one or more elements of the predictive system model comprising a predicted measurement error (yk - yk ~ ) that is compared to predetermined scaled elements of the sensor covariance matrix (Py), an estimated measurement error 0;A ~ yt)\ ^iat is compared to predetermined scaled elements of the sensor covariance matrix (Py), or an estimated state error |(xA + - ¾ ) that is compared to predetermined scaled elements of the state covariance matrix (Px).
18. The method of claim 16, with performing one or more optimization actions comprising decreasing a measurement interval if the one or more elements of the predictive system model do not satisfy the one or more corresponding thresholds.
35
19. The method of claim 16, with performing one or more optimization actions comprising determining a future timing of one or more predetermined raw
measurements based on the one or more elements of the predictive system model or selecting one or more predetermined sensors to use based on the one or more elements of the predictive system model in order to affect power consumption.
20. The method of claim 11, wherein a predetermined optimized fluid measurement is obtained by combining two or more predetermined raw fluid measurements through statistical sensor fusion.
36
Priority Applications (7)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/US2011/038124 WO2012161716A1 (en) | 2011-05-26 | 2011-05-26 | Fluid quantification instrument and method |
| US13/459,561 US8999139B2 (en) | 2011-05-26 | 2012-04-30 | Oxidation/reduction measurement |
| GB1320456.5A GB2505790A (en) | 2011-05-26 | 2012-05-24 | Oxidation/reduction measurement |
| DE112012002254.8T DE112012002254T5 (en) | 2011-05-26 | 2012-05-24 | Oxidation / reduction measurement |
| PCT/US2012/039339 WO2012162498A1 (en) | 2011-05-26 | 2012-05-24 | Oxidation/ reduction measurement |
| US14/661,906 US9927268B2 (en) | 2011-05-26 | 2015-03-18 | Oxidation/reduction measurement |
| US14/841,079 US10309808B2 (en) | 2011-05-26 | 2015-08-31 | Fluid quantification instrument and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/US2011/038124 WO2012161716A1 (en) | 2011-05-26 | 2011-05-26 | Fluid quantification instrument and method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US13/459,561 Continuation-In-Part US8999139B2 (en) | 2011-05-26 | 2012-04-30 | Oxidation/reduction measurement |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012161716A1 true WO2012161716A1 (en) | 2012-11-29 |
Family
ID=44627437
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2011/038124 Ceased WO2012161716A1 (en) | 2011-05-26 | 2011-05-26 | Fluid quantification instrument and method |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2012161716A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015160921A3 (en) * | 2014-04-17 | 2015-12-03 | Microchip Technology Incorporated | Touch detection in a capacitive sensor system |
| RU2690080C2 (en) * | 2014-06-03 | 2019-05-30 | Сафран Эркрафт Энджинз | Fluid medium flow rate estimation method and system |
| CN114421927A (en) * | 2022-01-27 | 2022-04-29 | 南通大学 | Digital filtering method for inhibiting large-amplitude fluctuation of measured value of chemical instrument |
| EP4321845A1 (en) * | 2022-08-07 | 2024-02-14 | Kando Environmental Services Ltd. | Determining time of traversal of wastewater within a wastewater transport infrastructure |
| EP4321844A1 (en) * | 2022-08-07 | 2024-02-14 | Kando Environmental Services Ltd. | Determining extent of obstruction in a wastewater transport infrastructure |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994020825A1 (en) * | 1993-03-12 | 1994-09-15 | British Technology Group Limited | Improvements in or relating to measurement of fluid flow velocity |
| US5978746A (en) * | 1994-02-01 | 1999-11-02 | Schlumberger Industries, S.A. | Method and apparatus for determining a physical parameter represented by variation in time of a physical magnitude |
| US6807494B2 (en) | 2001-03-09 | 2004-10-19 | Ads Corporation | Sewer flow monitoring method and system |
| US7155971B2 (en) * | 2001-11-16 | 2007-01-02 | Westfaliasurge Gmbh | Method and device for determining the volumetric flow rate of milk flowing during a milking process |
| US7249730B1 (en) | 2004-09-23 | 2007-07-31 | United States Of America As Represented By The Secretary Of The Army | System and method for in-flight trajectory path synthesis using the time sampled output of onboard sensors |
| JP2008184838A (en) * | 2007-01-30 | 2008-08-14 | Hokkaido River Disaster Prevention Research Center | Dam inflow prediction device, dam inflow prediction method, and dam inflow prediction program |
-
2011
- 2011-05-26 WO PCT/US2011/038124 patent/WO2012161716A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1994020825A1 (en) * | 1993-03-12 | 1994-09-15 | British Technology Group Limited | Improvements in or relating to measurement of fluid flow velocity |
| US5978746A (en) * | 1994-02-01 | 1999-11-02 | Schlumberger Industries, S.A. | Method and apparatus for determining a physical parameter represented by variation in time of a physical magnitude |
| US6807494B2 (en) | 2001-03-09 | 2004-10-19 | Ads Corporation | Sewer flow monitoring method and system |
| US7155971B2 (en) * | 2001-11-16 | 2007-01-02 | Westfaliasurge Gmbh | Method and device for determining the volumetric flow rate of milk flowing during a milking process |
| US7249730B1 (en) | 2004-09-23 | 2007-07-31 | United States Of America As Represented By The Secretary Of The Army | System and method for in-flight trajectory path synthesis using the time sampled output of onboard sensors |
| JP2008184838A (en) * | 2007-01-30 | 2008-08-14 | Hokkaido River Disaster Prevention Research Center | Dam inflow prediction device, dam inflow prediction method, and dam inflow prediction program |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015160921A3 (en) * | 2014-04-17 | 2015-12-03 | Microchip Technology Incorporated | Touch detection in a capacitive sensor system |
| JP2017515196A (en) * | 2014-04-17 | 2017-06-08 | マイクロチップ テクノロジー インコーポレイテッドMicrochip Technology Incorporated | Touch detection in capacitive sensor systems |
| US10459623B2 (en) | 2014-04-17 | 2019-10-29 | Microchip Technology Incorporated | Touch detection in a capacitive sensor system |
| RU2690080C2 (en) * | 2014-06-03 | 2019-05-30 | Сафран Эркрафт Энджинз | Fluid medium flow rate estimation method and system |
| CN114421927A (en) * | 2022-01-27 | 2022-04-29 | 南通大学 | Digital filtering method for inhibiting large-amplitude fluctuation of measured value of chemical instrument |
| EP4321845A1 (en) * | 2022-08-07 | 2024-02-14 | Kando Environmental Services Ltd. | Determining time of traversal of wastewater within a wastewater transport infrastructure |
| EP4321844A1 (en) * | 2022-08-07 | 2024-02-14 | Kando Environmental Services Ltd. | Determining extent of obstruction in a wastewater transport infrastructure |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10309808B2 (en) | Fluid quantification instrument and method | |
| US11449013B2 (en) | Linepack delay measurement in fluid delivery pipeline | |
| JP2023017888A (en) | Computer System and Method for Performing Root Cause Analysis to Build a Predictive Model for Rare Event Occurrences in Plant-Wide Operations | |
| US10354195B2 (en) | Forecasting leaks in pipeline network | |
| US9395262B1 (en) | Detecting small leaks in pipeline network | |
| US10401879B2 (en) | Topological connectivity and relative distances from temporal sensor measurements of physical delivery system | |
| KR100707168B1 (en) | Method and device for position estimation of unmanned moving object using sensor fusing | |
| WO2012161716A1 (en) | Fluid quantification instrument and method | |
| JP2020522800A (en) | Computer system and method for online construction and deployment of predictive inference models | |
| US20210088369A1 (en) | Blockage detection using machine learning | |
| JP7024466B2 (en) | Coriolis flowmeter, time prediction system, and time prediction method | |
| US20190310159A1 (en) | An improved system for estimating water flows at the boundaries of a sub-network of a water distribution network | |
| CN101657770B (en) | Machine condition monitoring using discontinuity detection | |
| Li* et al. | Fault detection and isolation in non-linear stochastic systems—A combined adaptive Monte Carlo filtering and likelihood ratio approach | |
| Keizers et al. | Unscented kalman filtering for prognostics under varying operational and environmental conditions | |
| CN120592857A (en) | A multi-pump parallel coordinated control method and system | |
| EP3598257B1 (en) | Information processing device, information processing method, and recording medium in which information processing program is recorded | |
| CN111160666B (en) | Health status and reliability assessment method for strong noise and aperiodic condition monitoring | |
| KR20250084954A (en) | Predicting maintenance work and recommending maintenance for water treatment equipment | |
| Grainger et al. | A parametric statistical approach to FDI for the industrial actuator benchmark | |
| US7840391B2 (en) | Model-diversity technique for improved proactive fault monitoring | |
| EP3839682B1 (en) | Weight assignment for fusion of prognostic estimators | |
| CN121070060A (en) | A method and system for automatic monitoring and flow control of wastewater | |
| Hansen et al. | A probabilistic model of ocean floats under ice | |
| Neumann et al. | Confidence intervals for conditional covariances of natural frequencies |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11727569 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 11727569 Country of ref document: EP Kind code of ref document: A1 |