CN107782421A - Based on the calibration method without magnetic NB IoT Internet of Things water meter measurement threshold values - Google Patents
Based on the calibration method without magnetic NB IoT Internet of Things water meter measurement threshold values Download PDFInfo
- Publication number
- CN107782421A CN107782421A CN201710947142.2A CN201710947142A CN107782421A CN 107782421 A CN107782421 A CN 107782421A CN 201710947142 A CN201710947142 A CN 201710947142A CN 107782421 A CN107782421 A CN 107782421A
- Authority
- CN
- China
- Prior art keywords
- value
- osciducers
- calibrated
- water meter
- output result
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F25/00—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Volume Flow (AREA)
Abstract
The invention provides included based on the calibration method without magnetic NB IoT Internet of Things water meter measurement threshold values, methods described:S1, by the reference LC osciducers for being used to detect environmental change pre-set, obtain the reference value for measuring threshold value;Wherein, the upper surface that water meter is arranged on reference to LC osciducers and the uniform ring-type of LC osciducers to be calibrated;S2, by the reference value with it is described with reference to the reference value of the previous detection of LC osciducers compared with, and the metering threshold value of LC osciducers to be calibrated is calibrated according to comparative result;Wherein, the reference value is included with reference to peak and/or with reference to minimum.The present invention realizes according to environmental change and the metering threshold value of adaptive calibration LC osciducers by using with reference to LC osciducers detection environmental change situation, ensure that the measuring accuracy of water meter under various circumstances, reduce the fault rate of water meter in operation.
Description
Technical field
The present invention relates to field of measuring techniques, and in particular to a kind of based on without magnetic NB-IoT Internet of Things water meter measurement threshold values
Calibration method.
Background technology
Water resources crisis causes attention degree more and more higher of the entire society to water so that the detection of water resources management information
It is critically important.Flow measurement is a very important part in Scientific Measurement, and water-carrying capacity metering is most important in flow measurement
Part, production in resident, play very important effect in life.
Traditional water meter measurement mode mainly has Magnetic Sensor to carry out flow inspection using Hall, tongue tube etc. in the prior art
Survey, therefore need to carry permanent magnet on impeller.Because getting rusty for water supply line is poor with water quality, the magnet on impeller holds very much
Iron filings, iron rust easily in absorption water etc., and accumulation is formed, so as to hinder the rotation of impeller and add abrasion, seriously very
It can not extremely rotate, largely effect on the service life of water meter.Simultaneously as work long hours in the change of environment temperature, magnet magnetic
Power can also weaken, so as to have influence on the reliability of sampling.
Non-magnetic metering mode of the prior art, the general principle of non-magnetic metering are as follows:Flow of fluid is changed into rotation
Detection flows are changed into detection rotating cycle by motion.The non-magnetic metering principle schematic that Fig. 1 provides for prior art, such as Fig. 1
It is shown, a disk with water movement is installed on machine table, disc surfaces are divided into two;Gold of the half covered with damping and amortization
Category, such as copper sheet;Second half is insulating materials.Inductance in two resonant tanks is placed in the top of impeller;As fluid flows therethrough,
Inductance can replace through metal area and non-metallic areas.The damping coefficient of vibration lc circuit depends primarily on the phase of inductance and metal material
To position.And inductance above metal area when damping coefficient be more than non-metallic areas;Damping coefficient is bigger, and LC oscillatory extinctions are got over
It hurry up;By the different damping coefficient for measuring resonant tank, it is possible to achieve the measurement to rotation.
SCAN IF module operation principles are as follows:Waveform caused by inductance is changed into data signal by SCAN IF modules
MCU is passed to afterwards.SCAN IF modules are made up of 3 parts:AFE(analog front end) (AFE), signal transacting state machine (PSM) and definition status
Machine (TSM).Fig. 2 is waveform schematic diagram caused by the lc circuit of prior art offer, as shown in Fig. 2 AFE(analog front end) first
Give lc circuit one excitation;It is delayed certain time tdelayAfterwards, AD sampled acquisition level signals are started.Comparator more now gathers
Voltage whether exceed set reference voltage;If in a period of time tgateInterior, the voltage of collection is all not above with reference to electricity
Pressure, then corresponding flag bit clearing;Conversely, then set.
Data signal can input signal processing state machine caused by after comparing.The last time shape that state machine can store before
The state of state and current new incoming show that the position of current dial and the number of turns of rotation and direction (need two and more than two
LC).When no CPU is interrupted, timed state machine can automatically control the exciting circuit and its letter of AFE(analog front end) and sensor
Number processor.
Therefore, at least there is following technological deficiency in prior art:When water meter long-play at the scene, external world's operation ring
Border can change, such as humiture, after long-play component also can aging, water meter is usually battery powered, therefore long
Cell voltage can reduce after time operation;The connection of signal pickup assembly and dial plate it is possible that loosen cause LC sensors and
The distance of rotating disk changes.The above environmental change all can cause waveform caused by LC sensors to change,
The metering threshold value of water meter can change, and reference voltage is inaccurate, so as to have impact on the measuring accuracy of water meter.
The content of the invention
For drawbacks described above present in prior art, the present invention provides a kind of be based on without magnetic NB-IoT Internet of Things water meters
Measure the calibration method of threshold value.
An aspect of of the present present invention provides a kind of calibration method of water meter with nonmagnetic metering threshold value, S1, passes through the use pre-set
In the reference LC osciducers of detection environmental change, the reference value for measuring threshold value is obtained;Wherein, it is described with reference to LC vibration sensings
Device is arranged on the upper surface of water meter with the uniform ring-type of LC osciducers to be calibrated;S2, the reference value is referred into LC with described
The reference value of the previous detection of osciducer is compared, and the metering threshold according to comparative result to LC osciducers to be calibrated
Value is calibrated;Wherein, the reference value is included with reference to peak and/or with reference to minimum.
Wherein, the step S1 further comprises:S11, by changing the reference voltage in SCAN IF modules, obtain institute
State the multiple detected values detected with reference to LC osciducers;S12, the average value of the multiple detected value is obtained, as described
Reference value;Wherein, the detected value includes detection peak and/or detection minimum.
Wherein, the LC osciducers to be calibrated include the first LC osciducers to be calibrated and the second LC to be calibrated shakes
Swing sensor, and first LC osciducers, the second LC osciducers to be calibrated and the reference to be calibrated
LC osciducers arranged clockwise successively;Correspondingly, when the described first LC osciducers to be calibrated by damp area enter it is non-
When damping area, the magnitude of voltage detected with reference to LC osciducers is obtained, as the detection peak;When described second
When LC osciducers to be calibrated enter non-damping area by damping area, the voltage detected with reference to LC osciducers is obtained
Value, as the detection minimum.
Wherein, the step S2 further comprises:Obtain between the reference value and the reference value of the previous detection
Deviation;According to the deviation, the ratio that the deviation accounts for the reference value of the previous detection is obtained;According to the ratio
Example, adjust the metering threshold value of the LC osciducers to be calibrated.
Wherein, the step S11 further comprises:S111, a reference voltage is as initial reference voltage value by before;
S112, the output result of comparator is obtained after a period of time that is delayed;If output result is 0, by the initial reference voltage value
After reducing the second deviant, register is write as the first reference voltage level;If output result is 1, in the initial reference
Increase by the first deviant on magnitude of voltage, and repeat step S112, until the comparator output result is 0;S113, delay
The output result of comparator is obtained after a period of time;It is if output result is 1, first reference voltage level increase by second is inclined
Shifting value, and after the 3rd deviant of reduction, register is write as the second reference voltage level;If output result is 0, described the
The second deviant is reduced on one reference voltage level, and repeats step S113, until the comparator output result is 1;Its
In, second deviant is less than first deviant;S114, the output result of comparator is obtained after a period of time that is delayed;
If output result is 1, using second reference voltage level as current reference magnitude of voltage;If output result is 0, described
The 3rd deviant is reduced on second reference voltage level, and repeats step S114, until the comparator output result is 1;
Wherein, the 3rd deviant is less than second deviant;Comparator output result is become by 0 in S115, obtaining step S114
For the second reference voltage level under 1 two critical conditions, by the flat of the second reference voltage level under described two critical conditions
Average is as the detected value.
Wherein, also include after the step S115:The detected value and the detected value of previous acquisition are contrasted, obtained
Detected value difference;If the detected value difference is more than preset value, corresponding detected value is abandoned.
Wherein, the step S12 further comprises:The multiple detected value sort from big to small, the row of acquisition
Sequence table;Obtain positioned at the average value of middle multiple detected values in the sequencing table, as the reference value.
Another aspect of the present invention provides a kind of equipment of the calibration method based on above-mentioned water meter with nonmagnetic metering threshold value, including
With reference to LC osciducers and LC osciducers to be calibrated;It is described to refer to LC osciducers and LC osciducers to be calibrated
Uniform ring-type is set on the upper surface of water meter;It is described to be used to detect environmental change with reference to LC osciducers.
A kind of calibrating installation of water meter with nonmagnetic metering threshold value of another aspect of the present invention, including:Acquisition module, for passing through
What is pre-set is used to detect the reference LC osciducers of environmental change, obtains the reference value of metering threshold value;Wherein, the ginseng
Examine LC osciducers and be arranged on the upper surface of water meter with the uniform ring-type of LC osciducers to be calibrated;Calibration module, for inciting somebody to action
The reference value with it is described with reference to the reference value of the previous detection of LC osciducers compared with, and school is treated according to comparative result
The metering threshold value of quasi- LC osciducers is calibrated;Wherein, the reference value is included with reference to peak and/or with reference to minimum
Value.
Wherein, the acquisition module further comprises:First acquisition unit, for by changing in SCAN IF modules
Reference voltage, obtain the multiple detected values detected with reference to LC osciducers;Second acquisition unit, it is described for obtaining
The average value of multiple detected values, as the reference value;Wherein, the detected value includes detection peak and/or detection is minimum
Value.
It is provided by the invention based on the calibration method without magnetic NB-IoT Internet of Things water meter measurement threshold values, by using with reference to LC
Osciducer detects environmental change situation, realizes according to environmental change and the metering threshold of adaptive calibration LC osciducers
Value, ensure that the measuring accuracy of water meter under various circumstances, reduces the fault rate of water meter in operation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the non-magnetic metering principle schematic that prior art provides;
Fig. 2 is waveform schematic diagram caused by the lc circuit of prior art offer;
Fig. 3 is the schematic flow sheet for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value;
Fig. 4 is the signal of the detection peak for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
Figure;
Fig. 5 is the signal of the detection minimum for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
Figure;
Fig. 6 is the acquisition LC osciducers electricity for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
The schematic flow sheet of pressure value;
Fig. 7 is the structural representation for the calibrating installation that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention
Part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
The every other embodiment obtained under the premise of creative work is made, belongs to the scope of protection of the invention.
Fig. 3 is the schematic flow sheet for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value, such as Fig. 3 institutes
Show, including:S1, by the reference LC osciducers for being used to detect environmental change pre-set, obtain the ginseng for measuring threshold value
Examine value;Wherein, the upper surface that water meter is arranged on reference to LC osciducers and the uniform ring-type of LC osciducers to be calibrated;
S2, by the reference value with it is described with reference to the reference value of the previous detection of LC osciducers compared with, and according to comparative result
The metering threshold value of LC osciducers to be calibrated is calibrated;Wherein, the reference value includes referring to peak and/or reference
Minimum.
Wherein, it is used to detect water meter local environment situation of change with reference to LC osciducers;Generally set on conventional water meter
Two LC osciducers, and it is assured that by the two LC osciducers the position and direction of rotation;The present invention
Embodiment is additionally mounted with the 3rd LC osciducer, i.e., with reference to LC osciducers;Whether changed in detection environment
When, it can just open the passage with reference to LC osciducers.
Wherein, different LC osciducers generally have different metering threshold values, and measuring threshold value includes two values, i.e.,
Peak and minimum;When detection environment changes, the metering threshold value of LC osciducers may change.
Wherein, environmental change includes many aspects, such as the humiture change of water meter local environment, water meter are in itself or accordingly
Component aging and cell voltage reduction of device etc.;Metering threshold value will be had an impact, so as to influence measuring accuracy.
In step sl, in the first installation of water meter or think water meter local environment changes in use
When, the reference value for reference to LC osciducers, going detection metering threshold value can be opened.
Fig. 4 is the signal of the detection peak for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
Figure, as shown in figure 4, three LC osciducers, i.e. CH0, CH1 and CH2 should be set in the upper surface of water meter in advance;Also,
Three sensors be mutually 120 degree, uniformly, annular arrangement is on water meter.It is to be calibrated that two conducts can be chosen in three sensors
LC osciducers, such as choose CH0 and CH1;In normal water meter measurement, it need to only open CH0 and CH1 conducts and can determine that
The position and direction of rotation.Also, selection CH3, when whether detection environment changes, opens as LC osciducers are referred to
Open the 3rd channel C H2.
Two LC osciducers that relatively conventional water meter with nonmagnetic is set, it is used to detect environmental change by setting the 3rd
LC osciducers, can be by the situation of change of its detected value, the metering threshold value to two other LC osciducer is entered
Row calibration.
In step s 2, according to the reference value of the metering threshold value obtained in step S1, once sensed with preceding with reference to LC vibrations
The reference value of device detection is compared;If it is confirmed that the reference value of above-mentioned two has relatively large deviation, then it can confirm that environment is sent out
Larger change, it is necessary to be calibrated to the metering threshold value of LC osciducers to be calibrated is given birth to.
It should be noted that reference value is included with reference to peak and/or with reference to minimum;When comparing, peak will be referred to
Compared with previous reference peak, with reference to minimum compared with previous reference minimum;And it is possible to only to difference
Larger peak or minimum is calibrated.
The calibration method of water meter with nonmagnetic metering threshold value provided in an embodiment of the present invention, by using with reference to LC osciducers
Environmental change situation is detected, realizes according to environmental change and the metering threshold value of adaptive calibration LC osciducers, ensure that
The measuring accuracy of water meter under various circumstances, reduce the fault rate of water meter in operation.
On the basis of any of the above-described embodiment, the step S1 further comprises:S11, by changing SCAN IF modules
In reference voltage, obtain the multiple detected values detected with reference to LC osciducers;S12, obtain the multiple detection
The average value of value, as the reference value;Wherein, the detected value includes detection peak and/or detection minimum.
Wherein, because SCAN IF peripheral hardwares (module) will not be exported directly with reference to LC osciducers in certain point (tgate
Point) magnitude of voltage, only can be by tgateThe magnitude of voltage of point and the comparative result of reference voltage export;Therefore, it is necessary to be joined by changing
Examine the value of voltage, then according to the output result of comparator, by reference voltage adjust to and tgateThe magnitude of voltage of point is closest,
Then output reference voltage, that is, the reference voltage for thinking now are exactly the CH2 detected in tgateThe magnitude of voltage of point.
Wherein, detected value is the peak and/or minimum of the reference LC osciducers metering threshold value detected.
Specifically, in step s 11, by being changed to the reference voltage set in SCAN IF modules, then obtain
Multiple detected values;Then the average value of multiple detected values is asked for, using average value as reference value.Such as detecting peak,
After obtaining 15 detection peaks, to 15 detection peak averageds, the average value is to refer to peak.
Due to the unstability of detection, by obtaining multiple detected values and averaged is used as reference value so that reference
Value is more accurate, improves calibration accuracy.
On the basis of any of the above-described embodiment, the LC osciducers to be calibrated include the first LC vibrations to be calibrated and passed
Sensor and the second LC osciducers to be calibrated, and the first LC osciducers to be calibrated, second LC to be calibrated
Osciducer and described with reference to LC osciducers successively arranged clockwise;Correspondingly, when the described first LC vibrations to be calibrated
When sensor enters non-damping area by damping area, the magnitude of voltage detected with reference to LC osciducers is obtained, as described
Detect peak;When the described second LC osciducers to be calibrated enter non-damping area by damping area, acquisition is described to refer to LC
The magnitude of voltage that osciducer detects, as the detection minimum.
In embodiments of the present invention, the circle of turntable rotation one has two stoichiometric points, and when CH0 state from 00 is changed into 01, (0 is
Sensor is in damping area, and 1 is that sensor is in non-damping area) when, for the stoichiometric point of CH2 detection peaks;When CH1 state
When being changed into 01 from 00, the stoichiometric point of minimum is detected for CH2.
Fig. 4 is the signal of the detection peak for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
Figure, as shown in figure 4, now LC oscillatory extinctions of CH2 passages is minimum, that is, think that MCU (micro-control unit) detects in the position
The t arrivedgateThe voltage AD values of point are the detection peak of metering threshold value.
Fig. 5 is the signal of the detection minimum for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value
Figure, as shown in figure 5, now LC oscillatory extinctions of CH2 passages is most, that is, think the t that MCU detects in the positiongatePoint
Voltage AD values are the detection minimum of metering threshold value.
Therefore, in the ideal situation, rotating disk can all collect a detection peak and a detection most for each revolution
Low value.
On the basis of any of the above-described embodiment, the step S2 further comprises:Obtain the reference value with it is described before
Deviation between the reference value of secondary detection;According to the deviation, the reference that the deviation accounts for the previous detection is obtained
The ratio of value;According to the ratio, the metering threshold value of the adjustment LC osciducers to be calibrated.
Illustrated below so that reference value is with reference to peak as an example;If current reference peak is 821, previous detection
Reference peak be 815, then deviation be 6;The ratio that deviation accounts for the reference value 815 of previous detection is about 0.73%, i.e.,
Reference value relative increase 0.73%;And the peak of the metering threshold value of current LC osciducers to be calibrated is 845, then adjust
The peak of metering threshold value afterwards is 845 × (1+0.73%)=851.
The metering threshold value of LC osciducers to be calibrated is calibrated according to the change ratio with reference to LC osciducers,
The calibration result of acquisition can effectively adapt to environmental change.
On the basis of any of the above-described embodiment, the step S11 further comprises:S111, a reference voltage by before
As initial reference voltage value;S112, the output result of comparator is obtained after a period of time that is delayed;, will if output result is 0
After the initial reference voltage value reduces the second deviant, register is write as the first reference voltage level;If output result is
1, then increase by the first deviant on the initial reference voltage value, and step S112 is repeated, until the comparator is defeated
Go out result for 0;S113, the output result of comparator is obtained after a period of time that is delayed;If output result is 1, by described first
Reference voltage level increases by the second deviant, and after the 3rd deviant of reduction, register is write as the second reference voltage level;It is if defeated
It is 0 to go out result, then reduces the second deviant on first reference voltage level, and repeats step S113, until described
Comparator output result is 1;Wherein, second deviant is less than first deviant;S114, obtained after a period of time that is delayed
Take the output result of comparator;If output result is 1, using second reference voltage level as current reference magnitude of voltage;If
Output result is 0, then the 3rd deviant is reduced on second reference voltage level, and repeat step S114, Zhi Daosuo
Comparator output result is stated as 1;Wherein, the 3rd deviant is less than second deviant;In S115, obtaining step S114
Comparator output result is changed into the second reference voltage level under 1 two critical conditions from 0, by under described two critical conditions
The average value of second reference voltage level is as the detected value.
Wherein, comparator is that two or more data item are compared, and to determine whether they are equal, or determines them
Between magnitude relationship and put in order and be referred to as comparing;Comparator be by an analog voltage signal compared with a reference voltage
Compared with circuit, its two-way input be analog signal, output be then binary signal 0 or 1, when input voltage difference increase or subtract
When small and sign symbol is constant, it, which is exported, keeps constant.
Fig. 6 is the acquisition for the calibration method that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value with reference to LC vibration sensings
The schematic flow sheet of device magnitude of voltage, as shown in fig. 6, in step S111, in the reference voltage initial to one write-in register, example
Such as using last detected value as initial reference voltage value.
In step S112, delay a period of time, if comparator output is 0, show that reference voltage level is more than detection
Value, initial reference voltage now is subtracted into the second deviant (such as 20), register is write, into next step S113;Such as
The output of fruit comparator is 1, then needs to improve reference voltage level, can increase certain deviant (the first deviant, such as 30),
Then it is delayed again a period of time, comparator judges again;Increase by first deviant (such as 30) every time, until comparator is defeated
Go out for 1, the first reference voltage level now is more than detected value.
This step S112 is to find suitable initial voltage value, and under the initial value, comparator output is 0.Cause
For during regulation afterwards, algorithm is that substep adjusts from high to low, if initial value is too low, cause comparator just defeated for the first time
Go out 1, then can detect the value of mistake.
In addition, because wheel disc is operating always, the LC sensors of CH2 passages and the relative position in damping area are becoming always
Change;And wheel disc is rotatably faster, change in location it is faster, so detection deviation necessarily be present to voltage levels value;For
Reduce this deviation, the time of detection has to be compressed to very short;Therefore, in this step S112, by previous reference
Voltage is used as initial reference voltage plus certain amount of offsetting up, and can effectively shorten the process of detection.
In step S113, according to the first reference voltage level is obtained in step S112, coarse adjustment is carried out to the magnitude of voltage;Specifically
Ground, delay a period of time, if comparator output is 1, show that the first reference voltage level is less than detected value, by first now
Reference voltage increases the second deviant (such as 20), and after the 3rd deviant (such as 2) of reduction, writes register, and entrance is next
Step S114;If comparator output is 0, needs to reduce the first reference voltage level, certain deviant (second can be reduced
Deviant, such as 20), be then delayed again a period of time, comparator judges again;Reduce every time second deviant (such as
20), until comparator output is 1, the first reference voltage level now is less than detected value.
In step S114, according to the second reference voltage level is obtained in step S113, fine tuning is carried out to the magnitude of voltage;Specifically
Ground, delay a period of time, if comparator output is 1, show that the second reference voltage level is less than detected value, this second is referred to
Magnitude of voltage exports as current reference magnitude of voltage, into next step S115;If comparator output is 0, reduction by the is needed
Two reference voltage levels, can reduce certain deviant (the 3rd deviant, such as 2), be then delayed again a period of time, comparator
Judge again;Reduce the 3rd deviant (such as 2) every time, be 1 until comparator exports, the second reference voltage level now
Less than detected value.
In step sl 15, according to step S114 regulation process, the process that comparator output result is changed into 1 from 0 is corresponding
Two the second reference voltage levels, i.e., comparator output result is 0 corresponding to a magnitude of voltage, is compared corresponding to another magnitude of voltage
Output result compared with device is 1;And two magnitudes of voltage only differ the 3rd deviant;By two critical magnitude of voltage averagings, i.e.,
The t that CH2 passages produce waveform can be obtainedgateThe voltage detecting value of point.
By the change to reference voltage level, the detected value with reference to LC osciducers can be effectively obtained.
On the basis of any of the above-described embodiment, also include after the step S115:By the detected value and previous acquisition
Detected value contrasted, obtain detected value difference;If the detected value difference is more than preset value, corresponding detected value is lost
Abandon.
Specifically, the detected value (detection peak and/or detection minimum) collected every time can all detect with last time
Reference value is contrasted (if detection reference for the first time can then be contrasted with factory-said value);If difference is within the specific limits,
Then corresponding detected value can be considered as effective, otherwise abandon;Error amount is removed with this, improves accuracy of detection.
On the basis of any of the above-described embodiment, the step S12 further comprises:To the multiple detected value carry out from
Arrive greatly and sort smallly, obtain sequencing table;Obtain positioned at the average value of middle multiple detected values in the sequencing table, as described
Reference value.
Specifically, for example, obtain 15 detection peaks;Above-mentioned 15 peaks are entered according to order from big to small
Row sequence;Remove 3 peaks of numerical value maximum and 3 peaks of numerical value minimum in sequencing table;Ask for remaining 9 highests
The average value of value, as with reference to peak.
In order to be illustrated to the method that the embodiments of the present invention provide, EXPERIMENTAL EXEMPLIFICATIONThe is carried out below, experimental procedure is such as
Under:
Step 1,3 water meter with nonmagnetic are recovered to dispatch from the factory and be placed in normal temperature environment;
Step 2, water meter with nonmagnetic is powered using dc source, and voltage is adjusted to normal voltage 3.6V;
Step 3, water meter sending alignment order is given, after the completion for the treatment of table calibration, records CH0 and CH1 calibration value;
Step 4, detection CH2 detection function is started, after the completion of to be detected, record acquiescence a reference value, that is, after calibrating, CH2
The first time detected value of passage (H represents peak, and L represents minimum);
The reference value when external environment condition of table 1 changes
Step 5, voltage is adjusted to 3.0V (with exemplified by reduction voltage in this experiment, changing as external environment condition);
Step 6, start detection CH2 detection function, after the completion of to be detected, record detected value, if being adjusted, record
CH0 and CH1 metering threshold value after adjustment;
Step 7, calibration command is sent to water meter, after the completion for the treatment of water meter calibration, calibration value (3.0V) after record adjustment.
Table 1 is reference value when external environment condition provided in an embodiment of the present invention changes;Understood based on above-mentioned table 1, work as water meter
Voltage 3.0V is reduced to by 3.6V after, by detecting CH2 detected value, the height ratio under the conditions of the 3.6V CH2 of comparing
Compared with value, there occurs significant change;Therefore, according to calibration algorithm provided in an embodiment of the present invention be calculated under conditions present CH0 and
CH1 metering threshold value should be adjusted to the metering threshold value of CH0 and CH1 after the adjustment shown in table 1.
In order to verify that the metering threshold value after calibration whether close to actual metered threshold value, carries out once school again under the conditions of 3.0V
Standard, obtain the actual metered threshold value of CH0 and CH1 under the conditions of 3.0V, i.e. the alignment value of table 1.
It can be seen that by contrast, threshold value measured after adjustment and the calibration value after adjustment is very close;And 3.6V and 3.0V two
Calibration value has occurred that significant change after actual metering threshold value under kind electric power thus supplied, i.e. the alignment value of table 1 and adjustment;If
Voltage is continuing with the calibration value under 3.6V after dropping to 3.0V, is the accuracy that can not ensure metering, uses adjustment
Metering threshold value afterwards is more nearly actual metering threshold value, illustrates that the algorithm of adjust automatically can be suitably used for voltage decline and cause to measure
The situation of changes of threshold.
The embodiment of the present invention also provides a kind of calibration method of the water meter with nonmagnetic metering threshold value provided based on above-described embodiment
Equipment, including refer to LC osciducers and LC osciducers to be calibrated;It is described with reference to LC osciducers and to be calibrated
LC osciducers uniform ring-type on the upper surface of water meter is set;It is described to be used to detect environment change with reference to LC osciducers
Change.
Fig. 7 is the structural representation for the calibrating installation that water meter with nonmagnetic provided in an embodiment of the present invention measures threshold value, such as Fig. 7 institutes
Show, including:Acquisition module 701, for the reference LC osciducers for being used to detect environmental change by pre-setting, obtain
Measure the reference value of threshold value;Wherein, it is described to be arranged on reference to LC osciducers with the uniform ring-type of LC osciducers to be calibrated
The upper surface of water meter;Calibration module 702, for by the reference value and the reference with reference to the previous detection of LC osciducers
Value is compared, and the metering threshold value of LC osciducers to be calibrated is calibrated according to comparative result;Wherein, the reference
Value is included with reference to peak and/or with reference to minimum.
Specifically, in the first installation of water meter or when thinking water meter local environment changing in use, obtain
Modulus block 701 can open the reference value for reference to LC osciducers, going detection metering threshold value.
Specifically, according to the reference value of the metering threshold value obtained in acquisition module 701, calibration module 702 by reference value with
It is preceding to be once compared with reference to the reference value of LC osciducers detection;If calibration module 702 confirms the reference of above-mentioned two
Value has relatively large deviation, then can confirm that environment to change the metering, it is necessary to LC osciducers to be calibrated there occurs larger
Threshold value is calibrated.
The calibrating installation of water meter with nonmagnetic metering threshold value provided in an embodiment of the present invention, by using with reference to LC osciducers
Environmental change situation is detected, realizes according to environmental change and the metering threshold value of adaptive calibration LC osciducers, ensure that
The measuring accuracy of water meter under various circumstances, reduce the fault rate of water meter in operation.
On the basis of any of the above-described embodiment, the acquisition module 701 further comprises:First acquisition unit, it is used for
By changing the reference voltage in SCAN IF modules, the multiple detected values detected with reference to LC osciducers are obtained;The
Two acquiring units, for obtaining the average value of the multiple detected value, as the reference value;Wherein, the detected value includes
Detect peak and/or detection minimum.
On the basis of any of the above-described embodiment, the LC osciducers to be calibrated include the first LC vibrations to be calibrated and passed
Sensor and the second LC osciducers to be calibrated, and the first LC osciducers to be calibrated, second LC to be calibrated
Osciducer and described with reference to LC osciducers successively arranged clockwise;Correspondingly, when the described first LC vibrations to be calibrated
When sensor enters non-damping area by damping area, first acquisition unit obtains the voltage detected with reference to LC osciducers
Value, as the detection peak;When the described second LC osciducers to be calibrated enter non-damping area by damping area, first
Acquiring unit obtains the magnitude of voltage detected with reference to LC osciducers, as the detection minimum.
On the basis of any of the above-described embodiment, the calibration module 702 further comprises:Deviation unit, for obtaining
Deviation between the reference value and the reference value of the previous detection;Proportional unit, for according to the deviation, obtaining
The deviation accounts for the ratio of the reference value of the previous detection;Adjustment unit, for according to the deviation ratio, described in adjustment
The metering threshold value of LC osciducers to be calibrated.
On the basis of any of the above-described embodiment, the first acquisition unit further comprises:
Subelement is initialized, for a reference voltage before inciting somebody to action as initial reference voltage value;
First skew subelement, for obtaining the output result of comparator after a period of time that is delayed;If output result is 0,
After the initial reference voltage value then is reduced into the second deviant, register is write as the first reference voltage level;If output knot
Fruit is 1, then increases by the first deviant on the initial reference voltage value, and is repeated, and is tied until the comparator exports
Fruit is 0;
Second skew subelement, for obtaining the output result of comparator after a period of time that is delayed;If output result is 1,
First reference voltage level is then increased into by the second deviant, and after the 3rd deviant of reduction, write as the second reference voltage level
Enter register;If output result is 0, the second deviant is reduced on first reference voltage level, and is repeated, until
The comparator output result is 1;Wherein, second deviant is less than first deviant;
3rd skew subelement, for obtaining the output result of comparator after a period of time that is delayed;If output result is 1,
Then using second reference voltage level as current reference magnitude of voltage;If output result is 0, in second reference voltage level
The 3rd deviant of upper reduction, and repeat, until the comparator output result is 1;Wherein, the 3rd deviant is less than
Second deviant;
Average value subelement, for obtain in the 3rd skew subelement comparator output result from 0 be changed into two of 1 it is critical
The second reference voltage level under state, using the average value of the second reference voltage level under described two critical conditions as the inspection
Measured value.
On the basis of any of the above-described embodiment, the first acquisition unit also includes:Subelement is screened, for by described in
Detected value and the detected value of previous acquisition are contrasted, and obtain detected value difference;If the detected value difference is more than preset value,
Corresponding detected value is abandoned.
On the basis of any of the above-described embodiment, the second acquisition unit further comprises:Sort subelement, for pair
The multiple detected value sort from big to small, obtains sequencing table;Reference value subelement, for obtaining in the sequencing table
Positioned at the average value of multiple detected values of centre, as the reference value.
Calibration method, equipment and the device of water meter with nonmagnetic metering threshold value provided in an embodiment of the present invention, when installing at the scene,
Installation personnel simplifies installation steps without being configured one by one to water meter according to site environment;And the length of environment at the scene
Also can be according to change (such as humiture, component aging, cell voltage reduction etc.) adjust automatically meter of external environment condition in phase operation
Measure threshold value, it is ensured that measuring accuracy;Maintenance free personnel need timing manual calibration, streamline operation.Reduce product fortune
Fault rate in row;Also, it is applied widely, such as can apply on NB-IOT water meter with nonmagnetic and LoRa water meter with nonmagnetic,
The harvester die shape and rotating disk speed of both tables are different, and two kinds of water meters are tested by longtime running, continuous data
It is good.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
- A kind of 1. calibration method of water meter with nonmagnetic metering threshold value, it is characterised in that including:S1, by the reference LC osciducers for being used to detect environmental change pre-set, obtain the reference value for measuring threshold value; Wherein, the upper surface that water meter is arranged on reference to LC osciducers and the uniform ring-type of LC osciducers to be calibrated;S2, by the reference value with it is described with reference to the reference value of the previous detection of LC osciducers compared with, and according to comparing As a result the metering threshold value of LC osciducers to be calibrated is calibrated;Wherein, the reference value is included with reference to peak and/or with reference to minimum.
- 2. according to the method for claim 1, it is characterised in that the step S1 further comprises:S11, by changing the reference voltage in SCAN IF modules, obtain it is described detected with reference to LC osciducers it is multiple Detected value;S12, the average value of the multiple detected value is obtained, as the reference value;Wherein, the detected value includes detection peak and/or detection minimum.
- 3. according to the method for claim 2, it is characterised in thatThe LC osciducers to be calibrated include the first LC osciducers to be calibrated and the second LC osciducers to be calibrated, And first LC osciducers, the second LC osciducers to be calibrated and described vibrated with reference to LC to be calibrated sense Device arranged clockwise successively;Correspondingly,When the described first LC osciducers to be calibrated enter non-damping area by damping area, obtain described with reference to LC vibration sensings The magnitude of voltage that device detects, as the detection peak;When the described second LC osciducers to be calibrated enter non-damping area by damping area, obtain described with reference to LC vibration sensings The magnitude of voltage that device detects, as the detection minimum.
- 4. according to the method for claim 1, it is characterised in that the step S2 further comprises:Obtain the deviation between the reference value and the reference value of the previous detection;According to the deviation, the ratio that the deviation accounts for the reference value of the previous detection is obtained;According to the ratio, the metering threshold value of the adjustment LC osciducers to be calibrated.
- 5. according to the method for claim 2, it is characterised in that the step S11 further comprises:S111, a reference voltage is as initial reference voltage value by before;S112, the output result of comparator is obtained after a period of time that is delayed;If output result is 0, after the initial reference voltage value is reduced into the second deviant, write as the first reference voltage level Enter register;If output result is 1, increase by the first deviant on the initial reference voltage value, and repeat step S112, Until the comparator output result is 0;S113, the output result of comparator is obtained after a period of time that is delayed;If output result is 1, first reference voltage level is increased into by the second deviant, and after the 3rd deviant of reduction, make Register is write for the second reference voltage level;If output result is 0, the second deviant is reduced on first reference voltage level, and repeats step S113, Until the comparator output result is 1;Wherein, second deviant is less than first deviant;S114, the output result of comparator is obtained after a period of time that is delayed;If output result is 1, using second reference voltage level as current reference magnitude of voltage;If output result is 0, the 3rd deviant is reduced on second reference voltage level, and repeats step S114, Until the comparator output result is 1;Wherein, the 3rd deviant is less than second deviant;Comparator output result is changed into the second reference voltage under 1 two critical conditions from 0 in S115, obtaining step S114 Value, using the average value of the second reference voltage level under described two critical conditions as the detected value.
- 6. according to the method for claim 5, it is characterised in that also include after the step S115:The detected value and the detected value of previous acquisition are contrasted, obtain detected value difference;If the detected value difference is more than preset value, corresponding detected value is abandoned.
- 7. according to the method for claim 2, it is characterised in that the step S12 further comprises:The multiple detected value sort from big to small, obtains sequencing table;Obtain positioned at the average value of middle multiple detected values in the sequencing table, as the reference value.
- A kind of 8. equipment of the calibration method based on any water meter with nonmagnetic metering threshold values of claim 1-7, it is characterised in that Including referring to LC osciducers and LC osciducers to be calibrated;It is described that with reference to LC osciducers and LC osciducers to be calibrated, uniform ring-type is set on the upper surface of water meter;It is described to be used to detect environmental change with reference to LC osciducers.
- A kind of 9. calibrating installation of water meter with nonmagnetic metering threshold value, it is characterised in that including:Acquisition module, for the reference LC osciducers for being used to detect environmental change by pre-setting, obtain metering threshold The reference value of value;Wherein, it is described to be arranged on water meter with reference to LC osciducers and the uniform ring-type of LC osciducers to be calibrated Upper surface;Calibration module, for by the reference value with it is described with reference to the reference value of the previous detection of LC osciducers compared with, And the metering threshold value of LC osciducers to be calibrated is calibrated according to comparative result;Wherein, the reference value is included with reference to peak and/or with reference to minimum.
- 10. device according to claim 9, it is characterised in that the acquisition module further comprises:First acquisition unit, for by changing the reference voltage in SCAN IF modules, obtaining described with reference to LC osciducers The multiple detected values detected;Second acquisition unit, for obtaining the average value of the multiple detected value, as the reference value;Wherein, the detected value includes detection peak and/or detection minimum.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710947142.2A CN107782421B (en) | 2017-10-12 | 2017-10-12 | Calibration method for water meter metering threshold value based on nonmagnetic NB-IoT (NB-IoT) internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710947142.2A CN107782421B (en) | 2017-10-12 | 2017-10-12 | Calibration method for water meter metering threshold value based on nonmagnetic NB-IoT (NB-IoT) internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107782421A true CN107782421A (en) | 2018-03-09 |
CN107782421B CN107782421B (en) | 2020-02-11 |
Family
ID=61434421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710947142.2A Active CN107782421B (en) | 2017-10-12 | 2017-10-12 | Calibration method for water meter metering threshold value based on nonmagnetic NB-IoT (NB-IoT) internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107782421B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108801383A (en) * | 2018-08-20 | 2018-11-13 | 江苏赛达电子科技有限公司 | Non-magnetic intelligent water meter based on NB-IoT |
CN108981772A (en) * | 2018-06-12 | 2018-12-11 | 杭州绿鲸科技有限公司 | A kind of contactless no magnetic tamper detection device and method for gauge table |
CN109163742A (en) * | 2018-09-30 | 2019-01-08 | 深圳市华旭科技开发有限公司 | A kind of no magnetic sensing metering circuit and method |
CN111737239A (en) * | 2020-05-25 | 2020-10-02 | 清远博依特智能科技有限公司 | Meter value correction method, device and storage medium |
CN113624306A (en) * | 2021-09-06 | 2021-11-09 | 宁波水表(集团)股份有限公司 | Fault detection device and method for electromagnetic water meter sensor |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1563908A (en) * | 2004-03-12 | 2005-01-12 | 杭州利尔达单片机技术有限公司 | Non-magnet senser measurer and its measuring method |
CN101189423A (en) * | 2005-06-06 | 2008-05-28 | 罗伯特·博世有限公司 | Method and device for correcting the signal of a sensor |
CN102686987A (en) * | 2009-11-09 | 2012-09-19 | 皇家飞利浦电子股份有限公司 | Flow sensing method with temperature compensation |
CN104422499A (en) * | 2013-09-03 | 2015-03-18 | 北京谊安医疗系统股份有限公司 | Calibration method and device for flow sensor of medical instrument |
CN105222866A (en) * | 2015-09-14 | 2016-01-06 | 新乡市恒冠仪表有限公司 | A kind of condenser type intelligent boiler liquid level of steam drum meter |
CN105578943A (en) * | 2013-10-02 | 2016-05-11 | 迈科工程有限责任两合公司 | Method for calibrating a cleaning device |
EP3184973A1 (en) * | 2015-12-21 | 2017-06-28 | Endress + Hauser Flowtec AG | Device for measuring a property of a flowing fluid |
-
2017
- 2017-10-12 CN CN201710947142.2A patent/CN107782421B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1563908A (en) * | 2004-03-12 | 2005-01-12 | 杭州利尔达单片机技术有限公司 | Non-magnet senser measurer and its measuring method |
CN101189423A (en) * | 2005-06-06 | 2008-05-28 | 罗伯特·博世有限公司 | Method and device for correcting the signal of a sensor |
CN102686987A (en) * | 2009-11-09 | 2012-09-19 | 皇家飞利浦电子股份有限公司 | Flow sensing method with temperature compensation |
CN104422499A (en) * | 2013-09-03 | 2015-03-18 | 北京谊安医疗系统股份有限公司 | Calibration method and device for flow sensor of medical instrument |
CN105578943A (en) * | 2013-10-02 | 2016-05-11 | 迈科工程有限责任两合公司 | Method for calibrating a cleaning device |
CN105222866A (en) * | 2015-09-14 | 2016-01-06 | 新乡市恒冠仪表有限公司 | A kind of condenser type intelligent boiler liquid level of steam drum meter |
EP3184973A1 (en) * | 2015-12-21 | 2017-06-28 | Endress + Hauser Flowtec AG | Device for measuring a property of a flowing fluid |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108981772A (en) * | 2018-06-12 | 2018-12-11 | 杭州绿鲸科技有限公司 | A kind of contactless no magnetic tamper detection device and method for gauge table |
CN108801383A (en) * | 2018-08-20 | 2018-11-13 | 江苏赛达电子科技有限公司 | Non-magnetic intelligent water meter based on NB-IoT |
CN109163742A (en) * | 2018-09-30 | 2019-01-08 | 深圳市华旭科技开发有限公司 | A kind of no magnetic sensing metering circuit and method |
CN111737239A (en) * | 2020-05-25 | 2020-10-02 | 清远博依特智能科技有限公司 | Meter value correction method, device and storage medium |
CN111737239B (en) * | 2020-05-25 | 2021-07-02 | 清远博依特智能科技有限公司 | Meter value correction method, device and storage medium |
CN113624306A (en) * | 2021-09-06 | 2021-11-09 | 宁波水表(集团)股份有限公司 | Fault detection device and method for electromagnetic water meter sensor |
CN113624306B (en) * | 2021-09-06 | 2023-11-14 | 宁波水表(集团)股份有限公司 | Fault detection device and method for electromagnetic water meter sensor |
Also Published As
Publication number | Publication date |
---|---|
CN107782421B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107782421A (en) | Based on the calibration method without magnetic NB IoT Internet of Things water meter measurement threshold values | |
CN101571407B (en) | Excitation method of vibrating wire sensor | |
CN201837574U (en) | Wind power generation on-line oil analysis device based on magnetic conductivity | |
CN108593022A (en) | A kind of Transient Electromagnetic flow transmitter based on differential interference compensation | |
CN102570943A (en) | Rotation angle detection device | |
CN101981442A (en) | A method and apparatus for phase sensitive detection of eddy current measurements | |
CN202915962U (en) | Water meter data collector | |
CN101013038B (en) | Transmission electronic odometer speed-measuring system and method | |
US7559012B2 (en) | Method for error detection and flow direction determination in a measuring meter | |
US20030234646A1 (en) | Magnetic head tester | |
CN110346000A (en) | A kind of coil induction type water meter with abnormal detection function | |
CN109115293A (en) | A kind of electronic counting-type water meter | |
CN109188077A (en) | A kind of signal frequency measuring method, system, device and readable storage medium storing program for executing | |
CN110231074B (en) | Method for rapidly detecting error of water meter | |
CN106441479A (en) | Counting device for automatically controlling sampling detection of two magnetic sensors with low power consumption | |
CN204215472U (en) | A kind of banknote thickness gauge with correcting code-disc | |
CN106840230A (en) | The signal processing apparatus and method of a kind of vibrating string type sensor | |
CN105676143A (en) | Storage battery factory parameter online detection device | |
CN103344310B (en) | A kind of gas meter, flow meter condition checkout gear | |
CN114327019B (en) | Equipment energy consumption detection device, method, system, equipment and storage medium | |
CN108680210A (en) | A kind of Transient Electromagnetic flow transmitter based on voltage and current differential | |
CN110421731B (en) | Diamond wire breakage online detection system | |
CN112050865B (en) | Non-magnetic induction measuring device and calculating method of rotation information of rotating plate assembly | |
CN209878040U (en) | Fluid metering circuit, flowmeter and meter | |
CN110595552B (en) | Method for non-magnetic acquisition of displacement and angular velocity of planar winding coil |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |