Summary of the invention
Based on this, the present invention provides flow metering method and the system of a kind of ultrasonic water meter, it is possible to reduce quiet
The skew of state time difference on the conforming impact of measurement of low discharge aqueous fluid, ensure ultrasonic water meter pair simultaneously
The certainty of measurement of low discharge.
One aspect of the present invention provides the flow metering method of ultrasonic water meter, including:
Estimate the quiet hour difference scope that this water meter is current;
If the current sonication times difference gathered is in the range of the quiet hour difference that this water meter is current, draw this water
The current effusion meter value of table is zero delivery;Otherwise, calculating according to the current sonication times difference gathered ought
Front flow velocity, and draw, according to the cross-sectional area of current flow and this water meter measurement pipe, the effusion meter that this water meter is current
Value;
Described estimate this water meter current quiet hour difference scope, including:
Obtain zero delivery sonication times poor, whether detect described zero delivery sonication times difference in preset range
In;If so, use kalman filter method that described zero delivery sonication times difference is estimated, obtain zero
Flow-time difference estimated value;
By described zero delivery time difference estimated value draw this water meter current quiet hour difference scope:
(TDiff_0-TUp)~(TDiff_0+TDown);
TDiff_0Represent described zero delivery time difference estimated value, TUpRepresent and set the first negative sense value range, TDownTable
Show setting the first forward value range.
Another aspect of the present invention also provides for the flow measuring system of ultrasonic water meter, including:
Deviation range estimation block, for estimating the quiet hour difference scope that this water meter is current;
Flow measurement module, if for the current sonication times difference gathered in this water meter current quiet hour
In the range of difference, show that the current effusion meter value of this water meter is zero delivery;Otherwise, surpassing according to current collection
Sound wave time difference calculates current flow, and draws according to the cross-sectional area of current flow and this water meter measurement pipe
The effusion meter value that this water meter is current;
Described deviation range estimation block, including:
Pre-detection unit, is used for obtaining zero delivery sonication times poor, detects described zero delivery sonication times
Whether difference is in preset range;
Deviant evaluation unit, if for described sonication times difference in preset range, uses Kalman's filter
Described zero delivery sonication times difference is estimated by wave method, obtains zero delivery time difference estimated value;
And, by described zero delivery time difference estimated value, tatic range evaluation unit, for showing that this water meter is worked as
Front quiet hour difference scope: (TDiff_0-TUp)~(TDiff_0+TDown);
TDiff_0Represent described zero delivery time difference estimated value, TUpRepresent and set the first negative sense value range, TDownTable
Show setting the first forward value range.
The flow metering method of the ultrasonic water meter of technique scheme and system, by accurately estimating this water meter
Current quiet hour difference scope;If the current sonication times difference gathered is in this water meter current quiet hour
In the range of difference, show that the current effusion meter value of this water meter is zero delivery;Otherwise, surpassing according to current collection
Sound wave time difference calculates current flow, and draws according to the cross-sectional area of current flow and this water meter measurement pipe
The effusion meter value that this water meter is current.Pass through such scheme, it is possible to reduce the quiet hour difference skew to rill
The conforming impact of measurement of amount aqueous fluid, ensures the ultrasonic water meter certainty of measurement to low discharge simultaneously.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
The embodiment that the present invention provides includes the flow metering method embodiment of ultrasonic water meter, also includes corresponding
The flow measuring system embodiment of ultrasonic water meter.It is described in detail individually below.
Fig. 1 is the indicative flowchart of the flow metering method of the ultrasonic water meter of an embodiment;Such as Fig. 1 institute
Showing, the flow metering method of the ultrasonic water meter of the present embodiment comprises the steps S1 and S2, and each step describes in detail
As follows:
S1, estimates the quiet hour difference scope that this water meter is current;
Under being resting state at fluid, usual sonication times difference is not zero, at certain skew efferent echo
Dynamic (as fluctuated at 100ps), and the degrees of offset of different water meter is different.As a preferred implementation, ginseng
Examining Fig. 2, in the present embodiment, the evaluation method to current quiet hour difference scope includes: obtain zero delivery ultrasonic
Ripple time difference, detects described zero delivery sonication times difference whether in preset range;If so, karr is used
Described zero delivery sonication times difference is estimated by graceful filtering method, obtains zero delivery time difference estimated value
TDiff_0;By described zero delivery time difference estimated value draw this water meter current quiet hour difference scope: (zero delivery
Time difference estimated value TDiff_0-set the first negative sense value range TUp)~(zero delivery time difference estimated value TDiff_0+ set
First forward value range TDown)。
It is understood that the flow metering method of the ultrasonic water meter of the present embodiment further comprises the steps of: setting
First forward value range and the first negative sense value range.
Preferably, above-mentioned described zero delivery sonication times difference step bag whether in preset range is detected
Include: described zero delivery sonication times difference is carried out absolute value range detection, whether detect it default
In the range of one time difference;If so, described zero delivery sonication times difference is carried out relative value's range detection, inspection
Survey it whether in the range of the second time difference;Wherein, difference of described very first time scope is more than described second time
Difference scope, described second time difference scope is: (the current zero delivery time difference T ' setDiff_0-the second negative sense model
Enclose value T 'Up)~(the current zero delivery time difference T ' setDiff_0+ the second forward value range T 'Down).Such as: obtain
Zero delivery sonication times is poor, it is judged that this zero delivery sonication times difference whether within ± 500ps, if it is,
Then it is carried out comparatively detection, it is not carried out comparatively detection process;If the zero of current setting
Flow-time difference is 100ps, and the second forward value range is 90, and the second negative sense value range is 80, then to acquisition
The current zero delivery sonication times difference of this water meter carry out comparatively detection, detect it and whether exist
In the range of 20ps~190ps, if, then it is carried out Kalman filtering process, the most do not carry out Kalman
Filtering Processing.
As another preferred implementation, the current zero delivery time difference set can be the previous zero delivery drawn
Time difference estimated value, the most also needs to set a default value as zero delivery time difference time initial.
Preferably, the above-mentioned detection described zero delivery sonication times difference whether step in preset range is also wrapped
Include: described second time difference scope is dynamically updated: if the second forward value range is more than 120ps, then
Described second forward value range is reduced 5ps, if described second negative sense value range is more than 100, then by described
Second negative sense value range reduces 5ps.Purpose is to reduce the second time difference scope to the less interval of a ratio.Logical
Cross said method and obtain the effect of zero delivery time difference estimated value as it is shown on figure 3, wherein solid line is second up and down
Time difference scope (is gradually reduced to stable state), and surge line is that the zero delivery sonication times got is poor (one
Determine to fluctuate at skew), middle lines are zero delivery time difference estimated value (for 200ps), it is seen that this method
Zero delivery time difference estimated value reliability is high.
S2, if the current sonication times difference gathered is in the range of the quiet hour difference that this water meter is current, draws
The current effusion meter value of this water meter is zero delivery;Otherwise, according to the current sonication times difference gathered measuring and calculating
Go out current flow, and draw, according to the cross-sectional area of current flow and this water meter measurement pipe, the stream that this water meter is current
Gauge value;
Owing to the cross-sectional area of different measuring pipe has tolerance, as a collection of measurement pipe tolerance is probably 1%, then
The concordance of minimum and maximum sectional area water pipe is probably the deviation of 2%, affects the concordance of water meter relatively
Greatly.Measure the impact that concordance is brought of pipe production technology to reduce, add in water meter software calibration because of
Son, modified flow rate.After which is by test concordance in process of production, amendment calibration factor realizes.
As a preferred implementation.
In the present embodiment, implementation method can be: obtains this water meter and measures the deviation calibration factor of pipe, according to described
This water meter that deviation calibration factor pair reads is measured the cross-sectional area of pipe and is calibrated, and obtains: after calibration
The cross-sectional area * (the 1+ deviation calibration factor) of cross-sectional area=reading;According to current flow with calibration after transversal
Area draws the effusion meter value that this water meter is current.Such as: give tacit consent to one reference of this water meter software design patterns
Calibration factor, this value is 10000, finds this watermeter flowing rate variable bigger than normal 0.75% as produced, i.e. measures pipe
Cross-sectional area bigger than normal 0.75%, the most only need to adjust calibration factor is 10075 can (10000*100.75%=
10075), bigger than normal 0.75% can be removed during this water meter computed in software flow, improve measurement concordance with this.
On the other hand, owing to ultrasonic propagation velocity is had an impact by fluid temperature, i.e. have impact on adverse current time and suitable
Stream, then time difference is affected, and calculates flow velocity based on time difference, then the effusion meter value precision of water meter is subject to
To impact.In order to reduce the impact that temperature convection amount calculates, the most do not increase hardware cost and power consumption (no simultaneously
Increase PT1000 resistance), the method that have employed temperature-compensating in the present embodiment.As shown in Figure 4, as one
Preferred implementation, its implementation can be: calculates current stream according to the current sonication times difference gathered
Speed, and current flow is carried out temperature-compensating, obtaining the flow velocity after temperature-compensating is:
Wherein, VCurrent DEG C of fFor the flow velocity after temperature-compensating, VF standard DEG CFor the flow velocity under standard temperature;VCurrent DEG C of SFor currently
At a temperature of the velocity of sound, VS standard DEG CFor the velocity of sound under standard temperature.Wherein VCurrent DEG C of S、VS standard DEG CCan be according to flat in fluid
All sonication times estimations draw, the ultrasonic average time be countercurrently time and following current time divided by 2.
Such as: tentative standard temperature is 30 DEG C, Current Temperatures is 20 DEG C, then the temperature-compensating meter of current flow
It is:
Wherein, Vf20℃Represent the flow velocity (after temperature-compensating) of 20 DEG C, Vf30℃Represent the flow velocity (normal stream of 30 DEG C
Speed), VS20℃The velocity of sound at representing 20 DEG C, VS30℃The velocity of sound at representing 30 DEG C.
The flow that this water meter is current is drawn according to the cross-sectional area that pipe measured by the flow velocity after temperature-compensating and this water meter
Variable, it is possible to decrease the impact of temperature convection amount computational accuracy.
On the other hand, owing to fluid has viscosity, so during water flowing, tube wall is different with pipeline center flow velocity.
General tube wall flow velocity is less than pipeline center's flow velocity, and uses sonication times difference to calculate flow velocity, main calculating
It is the flow velocity of central point, so that there are errors in computation is poor to flow velocity.Owing to Reynolds number calculates relatively complicated,
So the present embodiment the most directly reduces error by the method calculating Reynolds number, but use flow velocity calibration curve
Method.As testboard regulates 100L/h flow velocity, water meter is sampled out time difference 12000ps, then by this flow velocity
Recorded in corresponding current curve (time difference under different in flow rate need to be measured) with time difference.Gather stream
After speed point, subsequent calculations flow uses the mode and the method for linear interpolation tabled look-up, and avoids the Reynolds of complexity
Compensating coefficient, simple and reliable.Detailed description of the invention can be: record flow platform debugging flow velocity, and record with
The sonication times aberration measurements of this water meter that this flow velocity is corresponding;Ultrasound wave according to some flow velocitys Yu this water meter
The corresponding relation of time difference measurements value, sets up the flow velocity calibration curve of this water meter.Above-mentioned gathers according to current
Sonication times difference calculate the implementation of current flow and include: from the flow velocity calibration curve of this water meter
Read and the current poor corresponding flow velocity of sonication times gathered, as current flow.Use flow velocity calibration song
The method of line, the Reynolds number avoiding complexity calculates, and improves precision.
By above-described embodiment, the quiet hour difference scope current by estimating this water meter;If current collection
Sonication times difference, in the range of the quiet hour difference that this water meter is current, draws the flow measurement that this water meter is current
Value is zero delivery;Otherwise, calculate current flow according to the current sonication times difference gathered, and according to working as
Front flow velocity and this water meter are measured the cross-sectional area of pipe and are drawn the effusion meter value that this water meter is current.By above-mentioned side
Case, it is possible to reduce quiet hour difference skew on the conforming impact of measurement of low discharge aqueous fluid, protect simultaneously
The card ultrasonic water meter certainty of measurement to low discharge.
It should be noted that for aforesaid each method embodiment, in order to simplicity describes, it is all expressed as
A series of combination of actions, but those skilled in the art should know, and the present invention is not moved by described
The restriction of work order, because according to the present invention, some step can use other order or carry out simultaneously.
Below to can be used for performing the effusion meter of the ultrasonic water meter of the flow metering method of above-mentioned ultrasonic water meter
Amount system embodiment illustrates.For convenience of description, the flow measuring system embodiment of ultrasonic water meter
In structural representation, illustrate only the part relevant to the embodiment of the present invention, those skilled in the art are permissible
Understanding, the system structure shown in figure is not intended that the restriction to system, can include more more or more than diagram
Few parts, or combine some parts, or different parts are arranged.
Fig. 5 is the schematic diagram of the flow measuring system of the ultrasonic water meter of an embodiment;Such as Fig. 5 institute
Showing, the flow measuring system of the ultrasonic water meter of the present embodiment includes: deviation range estimation block 510 and stream
Amount metering module 520, this deviation range estimation block 510 specifically includes: pre-detection unit, deviant are estimated
Unit and tatic range evaluation unit;Details are as follows for each module/unit:
Above-mentioned deviation range estimation block 510, for estimating the quiet hour difference scope that this water meter is current;
In deviation range estimation block 510, pre-detection unit, it is used for obtaining zero delivery sonication times poor,
Detect described zero delivery sonication times difference whether in preset range;Deviant evaluation unit, if for institute
State sonication times difference in preset range, use kalman filter method to described zero delivery sonication times
Difference is estimated, obtains zero delivery time difference estimated value;Tatic range evaluation unit, for being flowed by described zero
Amount time difference estimated value draw this water meter current quiet hour difference scope: (zero delivery time difference estimated value-setting
First negative sense value range)~(zero delivery time difference estimated value+set the first forward value range).Obtain zero delivery
The effect of time difference estimated value is as it is shown on figure 3, wherein solid line is that the second time difference scope (is gradually reduced up and down
To stable state), surge line is the zero delivery sonication times got poor (fluctuating at certain deviation), middle
Lines be zero delivery time difference estimated value (for 200ps), it is seen that the zero delivery time difference estimated value of this method
Reliability is high.
Above-mentioned flow measurement module 520, if for the current sonication times difference gathered at current quiet of this water meter
In the range of state time difference, show that the current effusion meter value of this water meter is zero delivery;Otherwise, according to currently adopting
The sonication times difference of collection calculates current flow, and measures the cross section of pipe according to current flow and this water meter
Amass and draw the effusion meter value that this water meter is current.
As a preferred implementation, the pre-detection unit in deviation range estimation block 510, specifically for
Gather current sonication times poor, described zero delivery sonication times difference carried out absolute value range detection,
Detect it whether in the range of default very first time difference;If so, described zero delivery sonication times difference is entered
Row relative value's range detection, detects it whether in the range of the second time difference.Wherein, the described very first time is poor
Scope is more than described second time difference scope, and described second time difference scope is: (during the zero delivery currently set
Between poor-the second negative sense value range)~(current set zero delivery time difference the+the second forward value range).
It should be understood that as a preferred implementation, the flow measuring system of described ultrasonic water meter also wraps
Include: module is set, for arranging initial value and the initial value of the second negative sense scope of the second forward scope, with
And the zero delivery time difference currently set is set to the previous zero delivery time difference estimated value drawn.
Further, described pre-detection unit, it is additionally operable to described second time difference scope is dynamically updated:
If the second forward value range is more than 120ps, then described second forward value range is reduced 5ps, if described
Second negative sense value range is more than 100, then described second negative sense value range is reduced 5ps.
As a preferred implementation, the sonication times difference that above-mentioned basis currently gathers calculates current flow
Embodiment include: it is poor with the current sonication times gathered to read from the flow velocity calibration curve of this water meter
Corresponding flow velocity, as current flow.
As a preferred implementation, the cross-sectional area measuring pipe according to current flow and this water meter draws this water
The method of the effusion meter value that table is current comprises the steps that
Current flow is carried out temperature-compensating, and obtaining the flow velocity after temperature-compensating is:
Wherein, VCurrent DEG C of fFor the flow velocity after temperature-compensating, VF standard DEG CFor the flow velocity under standard temperature;VCurrent DEG C of SFor currently
At a temperature of the velocity of sound, VS standard DEG CFor the velocity of sound under standard temperature, wherein VCurrent DEG C of S、VS standard DEG CCan be according to flat in fluid
All sonication times estimations draw, the ultrasonic average time be countercurrently time and following current time divided by 2.
Additionally, this water meter also can be obtained measures the deviation calibration factor of pipe, according to described deviation calibration factor pair
This water meter read is measured the cross-sectional area of pipe and is calibrated, and obtains: the cross-sectional area=reading after calibration
Cross-sectional area * (the 1+ deviation calibration factor).Such as: the calibration of acquiescence one reference of water meter software design patterns because of
Son, this value is 10000, finds that watermeter flowing rate calculates bigger than normal 0.75% as produced, i.e. measures the cross-sectional area of pipe
Bigger than normal 0.75%, the most only need to adjust calibration factor be 10075 can (10000*100.75%=10075),
Water meter computed in software flow can remove bigger than normal 0.75%, improves concordance.
The flow measurement that this water meter is current is drawn according to the cross-sectional area after the flow velocity after temperature-compensating and calibration
Value, it is possible to decrease the impact of temperature convection amount computational accuracy, and it is conforming to measuring to reduce water meter measurement pipe
Impact.
As a preferred implementation, above-mentioned flow measurement module 520, it is additionally operable to record the stream of flow platform debugging
Speed, and record the sonication times aberration measurements of this water meter corresponding with this flow velocity;And according to some flow velocitys
With the corresponding relation of the sonication times aberration measurements of this water meter, set up the flow velocity calibration curve of this water meter.Institute
Stating the embodiment calculating current flow according to the current sonication times difference gathered can be: from this water meter
Flow velocity calibration curve reads and the current poor corresponding flow velocity of sonication times gathered, as current flow.
As testboard regulates 100L/h flow velocity, water meter is sampled out time difference 12000ps, then by this flow velocity and time difference
Recorded in the current curve of correspondence (time difference under different in flow rate need to be measured).After having gathered flow velocity point,
Subsequent calculations flow uses the mode and the method for linear interpolation tabled look-up, and the Reynolds number avoiding complexity compensates,
Simple and reliable.
It should be noted that in the embodiment of the flow measuring system of the ultrasonic water meter of above-mentioned example, respectively
The contents such as the information between module/unit is mutual, execution process, due to preceding method embodiment base of the present invention
In same design, its technique effect brought is identical with preceding method embodiment of the present invention, and particular content can be joined
Seeing the narration in the inventive method embodiment, here is omitted.
Additionally, in the embodiment of the flow measuring system of the ultrasonic water meter of above-mentioned example, each functional module
Logical partitioning be merely illustrative of, can as required in actual application, such as joining for corresponding hardware
Put the convenient consideration of the realization of requirement or software, above-mentioned functions distribution completed by different functional modules,
The internal structure of flow measuring system of described ultrasonic water meter will be divided into different functional modules, with complete
Become all or part of function described above.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail
The part stated, may refer to the associated description of other embodiments.It is appreciated that at the model without departing from the present invention
In the case of enclosing, very first time difference scope can be referred to as the second time difference scope, by the second time difference scope
It is referred to as very first time difference scope;First forward value range, the second forward value range are in like manner;First negative sense scope
Value, the second negative sense value range are in like manner.
Embodiment described above only have expressed the several embodiments of the present invention, it is impossible to is interpreted as the present invention special
The restriction of profit scope.It should be pointed out that, for the person of ordinary skill of the art, without departing from this
On the premise of inventive concept, it is also possible to make some deformation and improvement, these broadly fall into the protection model of the present invention
Enclose.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.