CN110207769A - A kind of detectable and amendment data error coil induction type water meter - Google Patents

A kind of detectable and amendment data error coil induction type water meter Download PDF

Info

Publication number
CN110207769A
CN110207769A CN201910606720.5A CN201910606720A CN110207769A CN 110207769 A CN110207769 A CN 110207769A CN 201910606720 A CN201910606720 A CN 201910606720A CN 110207769 A CN110207769 A CN 110207769A
Authority
CN
China
Prior art keywords
voltage difference
variable
secondary coil
water meter
sequence vector
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
Application number
CN201910606720.5A
Other languages
Chinese (zh)
Other versions
CN110207769B (en
Inventor
严军荣
卢玉龙
宋财华
祝向辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanchuan Wisdom Technology Co Ltd
Original Assignee
Sanchuan Wisdom Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sanchuan Wisdom Technology Co Ltd filed Critical Sanchuan Wisdom Technology Co Ltd
Priority to CN201910606720.5A priority Critical patent/CN110207769B/en
Publication of CN110207769A publication Critical patent/CN110207769A/en
Application granted granted Critical
Publication of CN110207769B publication Critical patent/CN110207769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/56Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects
    • G01F1/58Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects by electromagnetic flowmeters

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The invention discloses a kind of detectable and amendment data error coil induction type water meters.Whether its method that data error is detected and corrected is the following steps are included: obtaining induced voltage difference data and calculating voltage difference variable, generate segmentation voltage difference sequence vector, calculate the distance between voltage difference sequence vector, judge water meter detection data and need to correct and progress data replacement.Method and system of the invention solve the technical issues of existing coil induction type water meter is unable to error information detection and carries out data correction.

Description

A kind of detectable and amendment data error coil induction type water meter
Technical field
The invention belongs to water meter technical fields, more particularly to a kind of detectable and amendment data error coil induction type Water meter.
Background technique
Water meter measurement is mostly using tongue tube, Hall element, Wiegand sensor, but the machinery intrinsic due to dry reed tube at present Characteristic, service life and vibration resistance are affected, and Hall element is that electric current is too big, and there is also low or high flow rate frequency responses Problem;Wiegand sensor haves the shortcomings that magnetic resistance is big, easily adsorbs impeller and increases initial-flow, and is expensive.Therefore existing Having remote transmitting water meter to use, the principle of coil induction rotates stem-winder gear or the rotation of pointer is converted into electric impulse signal, example If Chinese patent CN201810125788.7 discloses a kind of no magnetic remote transmitting water meter, patent CN100535603C discloses a kind of sense Formula angle level sensor is answered, semicircle steel disc (4a) or partially metallised disk are set in the rotation axis (A) of essentic-water-meter (4), setting external inductor coil (parallel with disk) and to be uniformly arranged on external inductor coil (first above water meter body glass Grade coil) in 4 inductance coils (2 pairs of secondary coils), as shown in Figure 1, passing through the voltage difference meter for detecting pairs of inductance coil Measure water flow.
In industrial water, domestic water field, the precise parts such as induction coil and circuit components are collided or the external world Environmental disturbances, coil induction type water meter can generate Data Detection error, reduce the measuring accuracy of water meter, result even in water meter stream Meter calculates mistake, brings loss to consumer or water supply side.Therefore it needs one kind to be able to detect data error and carries out data Modified coil induction type water meter scheme.For this purpose, proposing a kind of detectable and amendment data error coil induction type water meter.
Summary of the invention
Error information detection is unable to the technical problem to be solved by the present invention is to existing coil induction type water meter and is counted The problem of according to amendment, proposes a kind of detectable and amendment data error coil induction type water meter.
The present invention is using coil induction type water meter described in background technique, including ontology, is mounted in dial plate and dial plate The non-circle metal plate and the metering module right above non-circle metal plate that interior pointer rotates coaxially;The metering module includes Single-chip microcontroller and electricity with monolithic mechatronics for the inductance coil of pulse signal transmitting-receiving and for detecting induced electricity pressure difference Road;The inductance coil includes for the primary coil of pulse signal transmitting and for the multipair secondary wire of pulsed signal Circle;Single-chip microcontroller calculates water flow according to the induced voltage difference data of each pair of secondary coil of each sampling instant.The present invention is above-mentioned The program that error information detection is added in single-chip microcontroller and error is modified.
The method that data error is detected and corrected in coil induction type water meter of the invention, comprising the following steps:
Obtain induced voltage difference data and calculate voltage difference variable: the quantity of secondary coil pair is denoted as N, according to setting in advance The sampling time interval T set0The induced electricity pressure difference for obtaining each secondary coil pair, with variable viIt indicates, wherein i is secondary coil pair Number, 1≤i≤N;Judge induced electricity pressure difference viWith it is set in advance metering threshold value V size, if vi> V, the then induced voltage The variable of difference is 1, if vi=V, then the variable of the induced electricity pressure difference is 0, vi< V, then the variable of the induced electricity pressure difference be- 1。
The sampling time interval T set in advance0Time used in rotation half-turn less than non-circle metal plate.
It generates segmentation voltage difference sequence vector: counting the induced electricity pressure difference variable of each secondary coil pair and week is calculated with this Time value is indicated with variable p;Each period is divided into multistage subcycle, the quantity of subcycle is denoted as m, by subcycle according to the time Sequencing number is j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable sampled in each subcycle, son week The quantity of induction voltage difference variable is indicated with variable n in phase, the induced electricity pressure difference variable variable v in each subcycleijkTable Show, 1≤k≤n;Segmentation voltage difference sequence vector is generated to the induced electricity pressure difference variable in each subcycle according to each secondary coil aij=(vij1,vij2,…,vijk,…vijn)。
The quantity of the subcycleWherein D is fragmentation threshold set in advance and meets D >=T0;The son The quantity of induction voltage difference variable in period
It calculates the distance between voltage difference sequence vector: obtaining each in a cycle when water meter set in advance works normally It is segmented to obtain standard fragmentation voltage difference sequence vector according to subcycle, uses b by the voltage difference sequence vector of secondary coil pairij It indicates, (for example, the voltage difference sequence vector for each secondary coil pair that water intaking table detects when dispatching from the factory, using the sequence as standard electric Pressure difference sequence vector), the induced electricity pressure difference variable variable u in standard fragmentation voltage difference sequence vectorijkIt indicates, 1≤k≤ n;Calculate the segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween away from From with variable sijIt indicates.
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceOr
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween Distance
Judge whether water meter detection data needs to correct and carry out data replacement: judging distance sijWhether in advance setting is greater than Distance threshold S, if so, determining its corresponding secondary coil to there are data exceptions, according to the distance s of secondary coil pairij The deviation value for calculating secondary coil pair, with variable ΦiIt indicates, judges whether there is the deviation value Φ of secondary coil pairiLess than prior The deviation threshold value L of setting, if so, determining that water meter breaks down at this time, detection data cannot be modified, otherwise determine at this time Water meter detection data needs to carry out data correction there are error, the segmentation voltage difference vector sequence of the secondary coil by distance greater than S Arrange aijWith standard fragmentation voltage difference sequence vector bijIt is replaced;If sij< S then determines that there is no miss for water meter detection data at this time Difference does not need to carry out data correction.
The deviation value of each secondary coil pair
A kind of coil induction type water meter of the invention, comprising:
Water meter body;
One or more processors;
Readable storage medium storing program for executing;And
One or more programs wherein one or more of programs are stored in readable storage medium storing program for executing, and are matched It is set to and is executed by one or more of processors, described program includes for executing the above method.
Method of the invention has the advantage, that
(1) traditional processing mode is compared, by calculating induced voltage difference data variable and generating voltage difference vector sequence Column carry out digitlization to the voltage difference data of each secondary coil pair and statistical procedures, computation complexity are low.
(2) by secondary coil to voltage difference sequence vector in different subcycles at a distance from standard sequence and distance Deviation value can effectively judge that water meter whether there is detection error under the premise of trouble-free, and be counted on this basis According to amendment.
Detailed description of the invention
Fig. 1 is background technique coil induction type water meter structure figure;
Fig. 2 is the voltage difference variable display figure of two pairs of secondary coils of the embodiment of the present invention one;
Fig. 3 is that the method flow diagram of data error is detected and corrected in the coil induction type water meter of the embodiment of the present invention.
Specific embodiment
It elaborates below to the preferred embodiment of the present invention.
The present invention is using coil induction type water meter described in background technique, including ontology, is mounted in dial plate and dial plate The non-circle metal plate and the metering module right above non-circle metal plate that interior pointer rotates coaxially;The metering module includes Single-chip microcontroller and electricity with monolithic mechatronics for the inductance coil of pulse signal transmitting-receiving and for detecting induced electricity pressure difference Road;The inductance coil includes for the primary coil of pulse signal transmitting and for the multipair secondary wire of pulsed signal Circle;Single-chip microcontroller calculates water flow according to the induced voltage difference data of each pair of secondary coil of each sampling instant.The embodiment of the present invention The program that error information detection is added in above-mentioned single-chip microcontroller and error is modified.
Embodiment one, a kind of method that data error is detected and corrected in coil induction type water meter.
In the present embodiment one, non-circle metal plate is the sheet metal of semicircle, and 4 secondary coils are divided into two pairs and are serially connected and instead It is connected.
The method that data error is detected and corrected in the coil induction type water meter of the present embodiment, comprising the following steps:
Obtain induced voltage difference data and calculate voltage difference variable: the quantity of secondary coil pair is denoted as N, according to setting in advance The sampling time interval T set0The induced electricity pressure difference for obtaining each secondary coil pair, with variable viIt indicates, wherein i is secondary coil pair Number, 1≤i≤N;Judge induced electricity pressure difference viWith it is set in advance metering threshold value V size, if vi> V, the then induced voltage The variable of difference is 1, if vi=V, then the variable of the induced electricity pressure difference is 0, vi< V, then the variable of the induced electricity pressure difference be- 1。
The sampling time interval T set in advance0Time used in rotation half-turn less than non-circle metal plate.This implementation In example, the logarithm N=2 of secondary coil, it is 1,2 that two pairs of secondary coils are numbered respectively;Sampling time interval T set in advance0= 0.1 second, certain moment obtained the induced voltage difference data of each pair of secondary coil, v1=7 millivolts, v2=10 millivolts, meter set in advance Threshold value V=5 millivolts of amount, then the induced electricity pressure difference variable of two pairs of secondary coils is 1.
It generates segmentation voltage difference sequence vector: counting the induced electricity pressure difference variable of each secondary coil pair and week is calculated with this Time value is indicated with variable p;Each period is divided into multistage subcycle, the quantity of subcycle is denoted as m, by subcycle according to the time Sequencing number is j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable sampled in each subcycle, son week The quantity of induction voltage difference variable is indicated with variable n in phase, the induced electricity pressure difference variable variable v in each subcycleijkTable Show, 1≤k≤n;Segmentation voltage difference sequence vector is generated to the induced electricity pressure difference variable in each subcycle according to each secondary coil aij=(vij1,vij2,…,vijk,…vijn)。
The quantity of the subcycleWherein D is fragmentation threshold set in advance and meets D >=T0;The son The quantity of induction voltage difference variable in periodIn the present embodiment, the induced electricity pressure difference of each secondary coil pair is counted Variable obtains two voltage difference variable display figures, as shown in Fig. 2, and with this calculating cycle p=0.8 seconds, it is set in advance Fragmentation threshold D=0.2, m=0.8/0.2=4, each period were divided into for 4 cross-talk periods, and subcycle is compiled according to chronological order Number be j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable in every cross-talk period, induced voltage in subcycle The quantity of poor variable Induced electricity pressure difference variable variable v in each subcycleijkIt indicates, 1≤ K≤2 generate the segmentation voltage difference sequence vector of each secondary coil pair, a with this11=(1,0), a12=(1, -1), a13=(- 1, 0),a14=(1,1), a21=(1,1), a22=(1,1), a23=(- 1, -1), a24=(- 1,0).
It calculates the distance between voltage difference sequence vector: obtaining each in a cycle when water meter set in advance works normally It is segmented to obtain standard fragmentation voltage difference sequence vector according to subcycle, uses b by the voltage difference sequence vector of secondary coil pairij It indicates, the induced electricity pressure difference variable variable u in standard fragmentation voltage difference sequence vectorijkIt indicates, 1≤k≤n;It calculates each time The segmentation voltage difference sequence vector a of grade coil pairijWith standard fragmentation voltage difference sequence vector bijThe distance between, with variable sij It indicates.
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceOr
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceIn the present embodiment, the normal work of water meter set in advance The voltage difference sequence vector of each secondary coil pair is respectively b in a cycle when making1=(1,0, -1, -1, -1,0,1,1), b2= It is segmented to obtain standard fragmentation voltage difference sequence vector to be b by (1,1,1,0, -1, -1, -1,0) according to subcycle11=(1,0), b12=(- 1, -1), b13=(- 1,0), b14=(1,1), b21=(1,1), b22=(1,0), b23=(- 1, -1), b24=(- 1, 0);Calculate distance
Judge whether water meter detection data needs to correct and carry out data replacement: judging distance sijWhether in advance setting is greater than Distance threshold S, if so, determining its corresponding secondary coil to there are data exceptions, according to the distance s of secondary coil pairij The deviation value for calculating secondary coil pair, with variable ΦiIt indicates, judges whether there is the deviation value Φ of secondary coil pairiLess than prior The deviation threshold value L of setting, if so, determining that water meter breaks down at this time, data cannot be modified;Otherwise determine water meter at this time Detection data needs to carry out data correction there are error, the segmentation voltage difference sequence vector a of the secondary coil by distance greater than Sij With standard fragmentation voltage difference sequence vector bijIt is replaced;If sij< S then determines that error is not present in water meter detection data at this time, It does not need to carry out detection data amendment.
The deviation value of each secondary coil pairIn the present embodiment, in advance The distance threshold S=0.2 of setting, wherein s12=2 > S, s22=1 > S determines two pairs of secondary coils to there is data exception, root According to the distance s of secondary coil pairijThe deviation value of secondary coil pair is calculated, It is set in advance inclined From threshold value L=0.1, Φ1> L, Φ2> L determines that water meter detection data needs to carry out detection data amendment there are error at this time, will s12And s22Voltage difference sequence vector a corresponding to corresponding two pairs of secondary coils12And a22Normal voltage difference vector sequence is used respectively b12And b22It is replaced, i.e. a12=b12=(- 1, -1), a22=b22=(1,0).
The method flow diagram of data error is detected and corrected in the coil induction type water meter of the present embodiment, as shown in Figure 3.
Embodiment two, a kind of method that data error is detected and corrected in coil induction type water meter.
In the present embodiment two, non-circle metal plate is the sheet metal of semicircle, and 4 secondary coils are divided into two pairs and are serially connected and instead It is connected.
The method that data error is detected and corrected in the coil induction type water meter of the present embodiment, comprising the following steps:
Obtain induced voltage difference data and calculate voltage difference variable: the quantity of secondary coil pair is denoted as N, according to setting in advance The sampling time interval T set0The induced electricity pressure difference for obtaining each secondary coil pair, with variable viIt indicates, wherein i is secondary coil pair Number, 1≤i≤N;Judge induced electricity pressure difference viWith it is set in advance metering threshold value V size, if vi> V, the then induced voltage The variable of difference is 1, if vi=V, then the variable of the induced electricity pressure difference is 0, vi< V, then the variable of the induced electricity pressure difference be- 1。
The sampling time interval T set in advance0Time used in rotation half-turn less than non-circle metal plate.This implementation In example, the logarithm N=2 of secondary coil, it is 1,2 that two pairs of secondary coils are numbered respectively;Sampling time interval T set in advance0= 0.1 second, certain moment obtained the induced voltage difference data of each pair of secondary coil, v1=7 millivolts, v2=10 millivolts, meter set in advance Threshold value V=5 millivolts of amount, then the induced electricity pressure difference variable of two pairs of secondary coils is 1.
It generates segmentation voltage difference sequence vector: counting the induced electricity pressure difference variable of each secondary coil pair and week is calculated with this Time value is indicated with variable p;Each period is divided into multistage subcycle, the quantity of subcycle is denoted as m, by subcycle according to the time Sequencing number is j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable sampled in each subcycle, son week The quantity of induction voltage difference variable is indicated with variable n in phase, the induced electricity pressure difference variable variable v in each subcycleijkTable Show, 1≤k≤n;Segmentation voltage difference sequence vector is generated to the induced electricity pressure difference variable in each subcycle according to each secondary coil aij=(vij1,vij2,…,vijk,…vijn)。
The quantity of the subcycleWherein D is fragmentation threshold set in advance and meets D >=T0;The son The quantity of induction voltage difference variable in periodIn the present embodiment, the induced electricity pressure difference of each secondary coil pair is counted Variable obtains two voltage difference variable display figures, as shown in Fig. 2, and with this calculating cycle p=0.8 seconds, it is set in advance Fragmentation threshold D=0.2, m=0.8/0.2=4, each period were divided into for 4 cross-talk periods, and subcycle is compiled according to chronological order Number be j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable in every cross-talk period, induced voltage in subcycle The quantity of poor variable Induced electricity pressure difference variable variable v in each subcycleijkIt indicates, 1≤ K≤2 generate the segmentation voltage difference sequence vector of each secondary coil pair, a with this11=(1,0), a12=(1, -1), a13=(- 1, 0),a14=(1,1), a21=(1,1), a22=(1,1), a23=(- 1, -1), a24=(- 1,0).
It calculates the distance between voltage difference sequence vector: obtaining each in a cycle when water meter set in advance works normally It is segmented to obtain standard fragmentation voltage difference sequence vector according to subcycle, uses b by the voltage difference sequence vector of secondary coil pairij It indicates, the induced electricity pressure difference variable variable u in standard fragmentation voltage difference sequence vectorijkIt indicates, 1≤k≤n;It calculates each time The segmentation voltage difference sequence vector a of grade coil pairijWith standard fragmentation voltage difference sequence vector bijThe distance between, with variable sij It indicates.
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceOr
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceIn the present embodiment, the normal work of water meter set in advance The voltage difference sequence vector of each secondary coil pair is respectively b in a cycle when making1=(1,0, -1, -1, -1,0,1,1), b2= It is segmented to obtain standard fragmentation voltage difference sequence vector to be b by (1,1,1,0, -1, -1, -1,0) according to subcycle11=(1,0), b12=(- 1, -1), b13=(- 1,0), b14=(1,1), b21=(1,1), b22=(1,0), b23=(- 1, -1), b24=(- 1, 0);Calculate distance s11=| a11-b11|=| 1-1 |+| 0-0 |=0, s12=| a12-b12|=| 1+1 |+| -1+1 |=2, s13=| a13-b13|=| -1+1 |+| 0-0 |=0, s14=| a14-b14|=| 1-1 |+| 1-1 |=0, s21=| a21-b21|=| 1-1 |+| 0- 0 |=0, s22=| a22-b22|=| 1-1 |+| 1-0 |=1, s23=| a23-b23|=| -1+1 |+| -1+1 |=0, s24=| a24-b24 |=| -1+1 |+| 0-0 |=0.
Judge whether water meter detection data needs to correct and carry out data replacement: judging distance sijWhether in advance setting is greater than Distance threshold S, if so, determining its corresponding secondary coil to there are data exceptions, according to the distance s of secondary coil pairij The deviation value for calculating secondary coil pair, with variable ΦiIt indicates, judges whether there is the deviation value Φ of secondary coil pairiLess than prior The deviation threshold value L of setting, if so, determining that water meter breaks down at this time, data cannot be modified;Otherwise determine water meter at this time Detection data needs to carry out data correction there are error, the segmentation voltage difference sequence vector a of the secondary coil by distance greater than Sij With standard fragmentation voltage difference sequence vector bijIt is replaced;If sij< S then determines that error is not present in water meter detection data at this time, It does not need to carry out detection data amendment.
The deviation value of each secondary coil pairIn the present embodiment, in advance The distance threshold S=0.2 of setting, wherein s12=2 > S, s22=1 > S determines two pairs of secondary coils to there is data exception, root According to the distance s of secondary coil pairijThe deviation value of secondary coil pair is calculated, It is set in advance inclined From threshold value L=0.1, Φ1> L, Φ2> L determines that water meter detection data needs to carry out detection data amendment there are error at this time, will s12And s22Voltage difference sequence vector a corresponding to corresponding two pairs of secondary coils12And a22Normal voltage difference vector sequence is used respectively b12And b22It is replaced, i.e. a12=b12=(- 1, -1), a22=b22=(1,0).
Embodiment three, a kind of method that data error is detected and corrected in coil induction type water meter.
In the present embodiment three, non-circle metal plate is the sheet metal of semicircle, and 6 secondary coils are divided into three pairs and are serially connected and instead It is connected.
The method that data error is detected and corrected in the coil induction type water meter of the present embodiment, comprising the following steps:
Obtain induced voltage difference data and calculate voltage difference variable: the quantity of secondary coil pair is denoted as N, according to setting in advance The sampling time interval T set0The induced electricity pressure difference for obtaining each secondary coil pair, with variable viIt indicates, wherein i is secondary coil pair Number, 1≤i≤N;Judge induced electricity pressure difference viWith it is set in advance metering threshold value V size, if vi> V, the then induced voltage The variable of difference is 1, if vi=V, then the variable of the induced electricity pressure difference is 0, vi< V, then the variable of the induced electricity pressure difference be- 1。
The sampling time interval T set in advance0Time used in rotation half-turn less than non-circle metal plate.This implementation In example, the logarithm N=3 of secondary coil, number is 1,2,3 respectively;Sampling time interval T set in advance0=0.1 second, some time Carve the induced voltage difference data for obtaining each pair of secondary coil, v1=7 millivolts, v2=10 millivolts, v3=1 millivolt, meter set in advance Threshold value V=5 millivolts of amount, then the induced electricity pressure difference variable of three pairs of secondary coils is respectively 1,1, -1.
It generates segmentation voltage difference sequence vector: counting the induced electricity pressure difference variable of each secondary coil pair and week is calculated with this Time value is indicated with variable p;Each period is divided into multistage subcycle, the quantity of subcycle is denoted as m, by subcycle according to the time Sequencing number is j, 1≤j≤m;Each secondary coil is obtained to the induced electricity pressure difference variable sampled in each subcycle, son week The quantity of induction voltage difference variable is indicated with variable n in phase, the induced electricity pressure difference variable variable v in each subcycleijkTable Show, 1≤k≤n;Segmentation voltage difference sequence vector is generated to the induced electricity pressure difference variable in each subcycle according to each secondary coil aij=(vij1,vij2,…,vijk,…vijn)。
The quantity of the subcycleWherein D is fragmentation threshold set in advance and meets D >=T0;The son The quantity of induction voltage difference variable in periodIn the present embodiment, the induced electricity pressure difference of each secondary coil pair is counted Variable, and with this calculating cycle p=0.8 seconds, fragmentation threshold D=0.2, m=0.8/0.2=4 set in advance, each period It was divided into for 4 cross-talk periods, subcycle is numbered according to chronological order as j, 1≤j≤m;Each secondary coil is obtained to every cross-talk Induced electricity pressure difference variable in period, the quantity of the interior induction voltage difference variable of subcycleRespectively Induced electricity pressure difference variable variable v in subcycleijkIt indicates, 1≤k≤2, the segmentation electricity of each secondary coil pair is generated with this Pressure difference sequence vector, a11=(1,0), a12=(1, -1), a13=(- 1,0), a14=(1,1), a21=(1,1), a22=(1,1), a23=(- 1, -1), a24=(- 1,0), a31=(- 1,1), a32=(0, -1), a33=(1, -1), a34=(0,1).
It calculates the distance between voltage difference sequence vector: obtaining each in a cycle when water meter set in advance works normally It is segmented to obtain standard fragmentation voltage difference sequence vector according to subcycle, uses b by the voltage difference sequence vector of secondary coil pairij It indicates, the induced electricity pressure difference variable variable u in standard fragmentation voltage difference sequence vectorijkIt indicates, 1≤k≤n;It calculates each time The segmentation voltage difference sequence vector a of grade coil pairijWith standard fragmentation voltage difference sequence vector bijThe distance between, with variable sij It indicates.
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceOr
The segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijBetween DistanceIn the present embodiment, the normal work of water meter set in advance The voltage difference sequence vector of each secondary coil pair is respectively b in a cycle when making1=(1,0, -1, -1, -1,0,1,1), b2= (1,1,1,0, -1, -1, -1,0), b3=(- 1,1,1, -1,1, -1,0,1), it is segmented to obtain standard fragmentation according to subcycle Voltage difference sequence vector is b11=(1,0), b12=(- 1, -1), b13=(- 1,0), b14=(1,1), b21=(1,1), b22= (1,0),b23=(- 1, -1), b24=(- 1,0), b31=(- 1,1), b32=(0, -1), b33=(1, -1), b34=(0,1);Meter Calculate distance
Judge whether water meter detection data needs to correct and carry out data replacement: judging distance sijWhether in advance setting is greater than Distance threshold S, if so, determining its corresponding secondary coil to there are data exceptions, according to the distance s of secondary coil pairij The deviation value for calculating secondary coil pair, with variable ΦiIt indicates, judges whether there is the deviation value Φ of secondary coil pairiLess than prior The deviation threshold value L of setting, if so, determining that water meter breaks down at this time, data cannot be modified;Otherwise determine water meter at this time Detection data needs to carry out data correction there are error, the segmentation voltage difference sequence vector a of the secondary coil by distance greater than Sij With standard fragmentation voltage difference sequence vector bijIt is replaced;If sij< S then determines that error is not present in water meter detection data at this time, It does not need to carry out detection data amendment.
The deviation value of each secondary coil pairIn the present embodiment, in advance The distance threshold S=0.2 of setting, wherein s12=2 > S, s22=1 > S determines two pairs of secondary coils to there is data exception, root According to the distance s of secondary coil pairijThe deviation value of secondary coil pair is calculated, It is set in advance inclined From threshold value L=0.1, Φ1> L, Φ2> L determines that water meter detection data needs to carry out detection data amendment there are error at this time, will s12And s22Voltage difference sequence vector a corresponding to corresponding two pairs of secondary coils12And a22Normal voltage difference vector sequence is used respectively b12And b22It is replaced, i.e. a12=b12=(- 1, -1), a22=b22=(1,0).
A kind of coil induction type water meter of the embodiment of the present invention, comprising:
Water meter body;
One or more processors;
Readable storage medium storing program for executing;And
One or more programs wherein one or more of programs are stored in readable storage medium storing program for executing, and are matched It is set to and is executed by one or more of processors, described program includes for executing side described in embodiment one or embodiment two Method.
Certainly, ordinary skill user in the art is it should be appreciated that above embodiments are intended merely to illustrate this hair It is bright, and be not intended as limitation of the invention, as long as within the scope of the invention, all to the variations of above embodiments, modification Protection scope of the present invention will be fallen into.

Claims (8)

1. a kind of method that data error is detected and corrected in coil induction type water meter, it is characterised in that the following steps are included:
Obtain magnetic induction voltage difference data and calculate voltage difference variable: the quantity of secondary coil pair is denoted as N, according to prior setting Sampling time interval T0The induced electricity pressure difference for obtaining each secondary coil pair, with variable viIt indicates, wherein i is secondary coil pair Number, 1≤i≤N;Judge induced electricity pressure difference viWith it is set in advance metering threshold value V size, if vi> V, then the induced electricity pressure difference Variable be 1, if vi=V, then the variable of the induced electricity pressure difference is 0, vi< V, then the variable of the induced electricity pressure difference is -1;
It generates segmentation voltage difference sequence vector: counting the induced electricity pressure difference variable of each secondary coil pair and with this calculating cycle Value, is indicated with variable p;Each period is divided into multistage subcycle, the quantity of subcycle is denoted as m, by subcycle according to time elder generation Serial number is j, 1≤j≤m afterwards;Each secondary coil is obtained to the induced electricity pressure difference variable sampled in each subcycle, subcycle It is interior induction voltage difference variable quantity indicated with variable n, the induced electricity pressure difference variable variable v in each subcycleijkTable Show, 1≤k≤n;Segmentation voltage difference sequence vector is generated to the induced electricity pressure difference variable in each subcycle according to each secondary coil aij=(vij1,vij2,…,vijk,…vijn);
Calculate the distance between voltage difference sequence vector: each secondary in a cycle when obtaining water meter set in advance normal work It is segmented to obtain standard fragmentation voltage difference sequence vector according to subcycle, uses b by the voltage difference sequence vector of coil pairijIt indicates, Induced electricity pressure difference variable variable u in voltage difference sequence vectorijkIt indicates, 1≤k≤n;Each secondary coil is calculated to dividing Section voltage difference sequence vector aijWith standard fragmentation voltage difference sequence vector bijThe distance between, with variable sijIt indicates;
Judge whether water meter detection data needs to correct and carry out data replacement: judging distance sijWhether be greater than it is set in advance away from From threshold value S, if so, determining its corresponding secondary coil to there are data exceptions, according to the distance s of secondary coil pairijIt calculates The deviation value of secondary coil pair, with variable ΦiIt indicates, judges whether there is the deviation value Φ of secondary coil pairiLess than prior setting Deviation threshold value L, if so, determining that water meter breaks down at this time, data cannot be modified;Otherwise determine water meter detection at this time Data need to carry out data correction there are error, the segmentation voltage difference sequence vector a of the secondary coil by distance greater than SijWith mark Quasi- segmentation voltage difference sequence vector bijIt is replaced.
2. the method that data error is detected and corrected in coil induction type water meter according to claim 1, which is characterized in that institute State sampling time interval T set in advance0Time used in rotation half-turn less than non-circle metal plate.
3. the method that data error is detected and corrected in coil induction type water meter according to claim 1, which is characterized in that institute State the quantity of subcycleWherein D is fragmentation threshold set in advance and meets D >=T0
4. the method that data error is detected and corrected in coil induction type water meter according to claim 3, which is characterized in that institute State the quantity of induction voltage difference variable in subcycle
5. the method that data error is detected and corrected in coil induction type water meter according to claim 1, which is characterized in that institute State the segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijThe distance between
6. the method that data error is detected and corrected in coil induction type water meter according to claim 1, which is characterized in that institute State the segmentation voltage difference sequence vector a of each secondary coil pairijWith standard fragmentation voltage difference sequence vector bijThe distance between
7. the method that data error is detected and corrected in coil induction type water meter according to claim 1, which is characterized in that institute State the deviation value of each secondary coil pair
8. a kind of coil induction type water meter, comprising:
Water meter body;
One or more processors;
Readable storage medium storing program for executing;And
One or more programs wherein one or more of programs are stored in readable storage medium storing program for executing, and are configured to It is executed by one or more of processors, described program includes for executing the method as described in claim 1-7.
CN201910606720.5A 2019-07-06 2019-07-06 Coil induction type water meter capable of detecting and correcting data error Active CN110207769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910606720.5A CN110207769B (en) 2019-07-06 2019-07-06 Coil induction type water meter capable of detecting and correcting data error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910606720.5A CN110207769B (en) 2019-07-06 2019-07-06 Coil induction type water meter capable of detecting and correcting data error

Publications (2)

Publication Number Publication Date
CN110207769A true CN110207769A (en) 2019-09-06
CN110207769B CN110207769B (en) 2020-10-02

Family

ID=67796416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910606720.5A Active CN110207769B (en) 2019-07-06 2019-07-06 Coil induction type water meter capable of detecting and correcting data error

Country Status (1)

Country Link
CN (1) CN110207769B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113390475A (en) * 2021-01-29 2021-09-14 张军虎 Multifunctional metering module and rotary metering device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3995484A (en) * 1975-08-14 1976-12-07 Sybron Corporation Electromagnetic flowmeter characterized by zero quadrature signal
US4170133A (en) * 1978-05-08 1979-10-09 Gardner William L Planar helical flowmeter
US4262542A (en) * 1979-10-09 1981-04-21 Emerson Electric Co. Family of magnetic flowmeters
EP0340766A2 (en) * 1988-05-04 1989-11-08 Fischer &amp; Porter GmbH Compensation method for noise voltage from the electrode circuit of a magneto-inductive flow meter and for offset voltage originating from the amplifier
CN1264464A (en) * 1997-05-13 2000-08-23 赫西度量公司 Electromagnetic flowmeter
JP2000241215A (en) * 1999-02-22 2000-09-08 Mitsubishi Heavy Ind Ltd Electromagnetic flow meter
CN101057125A (en) * 2004-09-22 2007-10-17 恩德斯+豪斯流量技术股份有限公司 Method for testing a magnetic inductive flow meter
CN101162163A (en) * 2007-11-20 2008-04-16 浙江大学 Capacitor type electromagnetic flow meter
CN102109366A (en) * 2010-12-13 2011-06-29 浦瑞斯仪表(上海)有限公司 Multi-frequency pulse digital width adjustment constant current source for electromagnetic flow meter
CN102288932A (en) * 2011-05-10 2011-12-21 山东电力研究院 Method for accurately measuring lightning strike fault waveform of power transmission line
CN104359389A (en) * 2014-11-05 2015-02-18 北京航空航天大学 Pulsed eddy current measuring method for measuring relative wall thickness variable of ferromagnetic component
CN105027414A (en) * 2013-03-05 2015-11-04 大金工业株式会社 Power-converter control device
CN105371906A (en) * 2014-08-29 2016-03-02 桓达科技股份有限公司 Electromagnetic type flow meter with variable-frequency liquid electrical conductivity measuring function
CN105444822A (en) * 2014-08-29 2016-03-30 桓达科技股份有限公司 Electromagnetic flow meter with amplitude modulation type measurement function for measuring electrical conductivity of pipeline liquid
CN107830792A (en) * 2016-09-16 2018-03-23 Nm数字模拟有限公司 Method for the position of the position indicator that determines position measuring system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3995484A (en) * 1975-08-14 1976-12-07 Sybron Corporation Electromagnetic flowmeter characterized by zero quadrature signal
US4170133A (en) * 1978-05-08 1979-10-09 Gardner William L Planar helical flowmeter
US4262542A (en) * 1979-10-09 1981-04-21 Emerson Electric Co. Family of magnetic flowmeters
EP0340766A2 (en) * 1988-05-04 1989-11-08 Fischer &amp; Porter GmbH Compensation method for noise voltage from the electrode circuit of a magneto-inductive flow meter and for offset voltage originating from the amplifier
CN1264464A (en) * 1997-05-13 2000-08-23 赫西度量公司 Electromagnetic flowmeter
JP2000241215A (en) * 1999-02-22 2000-09-08 Mitsubishi Heavy Ind Ltd Electromagnetic flow meter
CN101057125A (en) * 2004-09-22 2007-10-17 恩德斯+豪斯流量技术股份有限公司 Method for testing a magnetic inductive flow meter
CN101162163A (en) * 2007-11-20 2008-04-16 浙江大学 Capacitor type electromagnetic flow meter
CN102109366A (en) * 2010-12-13 2011-06-29 浦瑞斯仪表(上海)有限公司 Multi-frequency pulse digital width adjustment constant current source for electromagnetic flow meter
CN102288932A (en) * 2011-05-10 2011-12-21 山东电力研究院 Method for accurately measuring lightning strike fault waveform of power transmission line
CN105027414A (en) * 2013-03-05 2015-11-04 大金工业株式会社 Power-converter control device
CN105371906A (en) * 2014-08-29 2016-03-02 桓达科技股份有限公司 Electromagnetic type flow meter with variable-frequency liquid electrical conductivity measuring function
CN105444822A (en) * 2014-08-29 2016-03-30 桓达科技股份有限公司 Electromagnetic flow meter with amplitude modulation type measurement function for measuring electrical conductivity of pipeline liquid
CN104359389A (en) * 2014-11-05 2015-02-18 北京航空航天大学 Pulsed eddy current measuring method for measuring relative wall thickness variable of ferromagnetic component
CN107830792A (en) * 2016-09-16 2018-03-23 Nm数字模拟有限公司 Method for the position of the position indicator that determines position measuring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113390475A (en) * 2021-01-29 2021-09-14 张军虎 Multifunctional metering module and rotary metering device

Also Published As

Publication number Publication date
CN110207769B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN101893464B (en) High-precision and fast pulse metering method
CN203798389U (en) Intelligent water meter capable of metering under positive and negative rotating conditions
CN112050865B (en) Non-magnetic induction measuring device and calculating method of rotation information of rotating plate assembly
CN103278218B (en) A kind of flow monitoring device for mechanical water meter
CN201707114U (en) High-precision rapid pulse metering device
CN110207769A (en) A kind of detectable and amendment data error coil induction type water meter
CN110346000A (en) A kind of coil induction type water meter with abnormal detection function
CN110207770A (en) It is a kind of it is recognizable interference and position coil induction type water meter
CN110332964A (en) A kind of coil induction type water meter of detectable failure
CN209945434U (en) Induction type non-magnetic remote water meter
CN110345998A (en) A kind of coil induction type water meter of detectable adverse current
CN201331360Y (en) New type wigan sensor
CN101344418A (en) Flow transducer used for intelligent gas, water, electricity and heat meter
CN205373784U (en) Balanced calculating system of fluid meter utensil and fluid
CN110375817A (en) A kind of coil induction type water meter of predictable water flow variation
CN203364901U (en) Flow monitoring device used for mechanical water meter
CN210108453U (en) Electronic counting type water meter
CN105841765A (en) Diaphragm type gas meter revolution volume acquisition method based on short-time self-correlation algorithm
CN109298238A (en) A kind of frequency measurement method and its measuring system
CN209230742U (en) A kind of device that may determine that gas meter, flow meter positive and negative rotation and count
CN214224222U (en) Turbine flowmeter
CN118548944B (en) High-precision flow measurement method and device based on Hall element
CN2709944Y (en) Three-dry-reed-pipe type flow sensor capable of sensing
CN107340024A (en) Flowmeter high-resolution based on linear magnetic sensor counts conversion equipment
CN110672175B (en) High-reliability three-Hall bidirectional metering device and method

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