Forward and backward rotation metering method for intelligent water meter

文档序号:904273 发布日期:2021-02-26 浏览:13次 中文

阅读说明:本技术 一种智能水表正、反转计量方法 (Forward and backward rotation metering method for intelligent water meter ) 是由 费战波 张毅 赵博 宋永昌 郭莹 于 2019-08-22 设计创作,主要内容包括:本发明一种智能水表正、反转计量的方法,含有机械水表、电子采样模块、单片机系统,其特征是:所述机械水表为新型旋翼式叶轮结构;所述电子采样模块为两个双极性带锁存功能的磁阻器件;所述采样模块得到的计量信号传输给单片机系统,通过镶嵌在水表叶轮上磁钢转动,磁阻器件输出采样波形产生相位差,叶轮正向转动和反向转动时,会产生不同相位差的采样波形,单片机通过识别不同相位差的采样波形判断水表正、反转,做到了机械部分和电子部分读数的一致,避免了用户缴纳水费时因电子部分和机械部分不一致产生的纠纷。(The invention relates to a method for metering positive and negative rotation of an intelligent water meter, which comprises a mechanical water meter, an electronic sampling module and a singlechip system, and is characterized in that: the mechanical water meter is of a novel rotor type impeller structure; the electronic sampling module is two bipolar magnetic resistance devices with a latching function; the metering signal transmission that the sampling module obtained gives the single chip microcomputer system, rotates through inlaying magnet steel on the water gauge impeller, and the magnetic resistance device output sampling waveform produces the phase difference, and during impeller forward rotation and antiport, can produce the sampling waveform of different phase differences, the single chip microcomputer is through the sampling waveform judgement water gauge of discerning different phase differences just, the reversal, has accomplished the unanimity of mechanical part and electronic part reading, has avoided the dispute that the user paid water and time-consuming because of electronic part and mechanical part nonconformity produce.)

1. The utility model provides an intelligence water gauge is just, reversal metering method, contains mechanical water gauge, electron sampling module, single chip microcomputer system, characterized by: the mechanical water meter is of a novel rotor type impeller structure; the electronic sampling module is two bipolar magnetic resistance devices with a latching function; and the metering signal obtained by the sampling module is transmitted to the single chip microcomputer system.

2. The forward and backward rotation metering method of an intelligent water meter as claimed in claim 1, wherein: 4 magnetic steels and N, S poles are embedded on the mechanical water meter impeller and are alternately installed.

3. The forward and backward rotation metering method of an intelligent water meter as claimed in claim 1, wherein: the included angle between the circle centers of the two magnetic resistance devices is 120 degrees.

4. The forward and backward rotation metering method of an intelligent water meter as claimed in claim 1, wherein: the method for judging the forward and reverse metering of the water meter is as follows:

s1: 4 magnetic steels are embedded on an impeller of the mechanical water meter, N, S poles are alternately installed, and the magnetic steels generate alternate changes of a magnetic field at a fixed position of the water meter along with the rotation of the impeller;

s2: the magnetic resistance sampling device of the sampling module senses the magnetic field change, so as to output high and low signal changes;

s3: the single chip microcomputer system collects the signal change through a port;

s4: when the impeller rotates, the time that the magnetic steel passes through the two magnetic resistance devices is different, the two magnetic resistance devices output sampling waveforms to generate phase difference, and when the impeller rotates in the forward direction and rotates in the reverse direction, sampling waveforms with different phase differences can be generated;

s5: the water meter singlechip system can judge the rotation direction of the impeller by identifying sampling waveforms with different phase differences, and forward and backward metering is realized.

Technical Field

The invention relates to the field of intelligent water meters, in particular to a forward and reverse metering method for an intelligent water meter.

Background

Sampling of the intelligent water meter: the sampling of mechanical signals is in a single magnetic induction or double magnetic induction mode, the principle of signal conversion is that a magnet is installed on a certain gear in a water meter base table, when the magnet rotates for a circle, a built-in sensor obtains one or a pair of pulse switch signals, the pulse switch signals are transmitted to an electronic metering module through a signal line to be accumulated and the water volume passing through the water meter is calculated, the sampling mode cannot identify the water flow direction, so that the electronic metering module can determine that the signals are effective signals to be accumulated no matter the water meter rotates forwards or backwards, when the water meter rotates backwards, the mechanical water meter is in negative metering, and the electronic metering part is in positive metering, so that electromechanical errors can be caused, namely, the electromechanical readings are inconsistent, the errors are twice of the reverse usage amount of the water meter, the more the reverse usage amount of the water meter is, the larger the metering errors are, and a certain dispute can be generated when. The existing magnetic resistance sampling water meter products in the market are usually provided with magnetic pointers on the basis of mechanical water meters, and the external magnetic resistance devices identify the rotation of the pointers, so that the fixed flow calculation is realized. In the mode, the magnetic resistance is external, so that external magnetic interference is easily received, and the electronic metering is inaccurate. The metering error of the meter is completely determined by a mechanical part, and the metering precision of the meter cannot be improved through software correction.

Disclosure of Invention

The invention aims to provide a method for realizing forward and reverse rotation metering of a water meter by arranging magnetic steel on an impeller of a mechanical water meter and combining a magnetic resistance device of a sampling module and a single chip microcomputer system.

The technical scheme of the invention is as follows:

the utility model provides an intelligence water gauge is just, reversal metering method, contains mechanical water gauge, electron sampling module, single chip microcomputer system, characterized by: the mechanical water meter is of a novel rotor type impeller structure; the electronic sampling module is two bipolar magnetic resistance devices with a latching function; the metering signal obtained by the sampling module is transmitted to the single chip microcomputer system;

the further scheme is as follows: 4 magnetic steels and N, S poles are embedded on the mechanical water meter impeller and are alternately installed;

the further scheme is as follows: the included angle between the circle centers of the two installation positions of the two magnetic resistance devices is 120 degrees;

the method for forward and reverse metering of the water meter is as follows:

s1: 4 magnetic steels are embedded on an impeller of the mechanical water meter, N, S poles are alternately installed, and the magnetic steels generate alternate changes of a magnetic field at a fixed position of the water meter along with the rotation of the impeller;

s2: the magnetic resistance sampling device of the sampling module senses the magnetic field change, so as to output high and low signal changes;

s3: the single chip microcomputer system collects the signal change through a port;

s4: when the impeller rotates, the time that the magnetic steel passes through the two magnetic resistance devices is different, the two magnetic resistance devices output sampling waveforms to generate phase difference, and when the impeller rotates in the forward direction and rotates in the reverse direction, sampling waveforms with different phase differences can be generated;

s5: the water meter singlechip system can judge the rotation direction of the impeller by identifying sampling waveforms with different phase differences, and forward and backward metering is realized.

The invention has the beneficial effects that:

(1) the forward and reverse rotation metering method of the intelligent water meter solves the forward and reverse metering problems of the intelligent water meter in a magnetic resistance sampling mode, and improves the metering precision of the intelligent water meter.

(2) The invention relates to an intelligent water meter forward and backward rotation metering method, which is characterized in that a magnetic steel embedded on a water meter impeller rotates, a magnetic resistance device outputs sampling waveforms to generate phase difference, the impeller rotates forward and reversely, sampling waveforms with different phase differences can be generated, a single chip microcomputer judges the forward and backward rotation of the water meter by identifying the sampling waveforms with different phase differences, the reading of a mechanical part and the reading of an electronic part are consistent, and disputes caused by the inconsistency of the electronic part and the mechanical part when a user pays water are avoided.

Drawings

FIG. 1 is a schematic view of the installation position of magnetic steel of an impeller of a mechanical water meter.

Fig. 2 is a schematic diagram of the installation position of the magnetic resistance device in the sampling module of the present invention.

Fig. 3 is a schematic diagram of sampling of forward metering waveforms of the intelligent water meter.

Fig. 4 is a schematic diagram of sampling of reverse metering waveforms of the intelligent water meter.

Detailed Description

The technical solution of the present invention will be described in further detail with reference to the following description of the embodiments and the accompanying drawings.

The utility model provides an intelligence water gauge is just, reversal metering method, contains mechanical water gauge, electron sampling module, single chip microcomputer system, characterized by: the mechanical water meter is of a novel rotor type impeller structure; the electronic sampling module is two bipolar magnetic resistance devices with a latching function; the metering signal obtained by the sampling module is transmitted to the single chip microcomputer system;

as shown in figure 1: 4 magnetic steels (1) and N, S poles are embedded on the mechanical water meter impeller and are alternately installed;

as shown in fig. 2: the included angle of the circle centers of the installation positions of the magnetic resistance device A (2) and the magnetic resistance device B (3) is 120 degrees;

the method for judging the forward and reverse metering of the water meter is as follows:

s1: 4 magnetic steels are embedded on an impeller of the mechanical water meter, N, S poles are alternately installed, and the magnetic steels generate alternate changes of a magnetic field at a fixed position of the water meter along with the rotation of the impeller;

s2: the magnetic resistance sampling device of the sampling module senses the magnetic field change, so as to output high and low signal changes;

s3: the single chip microcomputer system collects the signal change through a port;

s4: when the impeller rotates, the time that the magnetic steel passes through the two magnetic resistance devices is different, the two magnetic resistance devices output sampling waveforms to generate phase difference, and when the impeller rotates in the forward direction and rotates in the reverse direction, sampling waveforms with different phase differences can be generated;

s5: the water meter singlechip system can judge the rotation direction of the impeller by identifying sampling waveforms with different phase differences, and forward and backward metering is realized.

The single chip microcomputer system can obtain the current rotating speed of the impeller by measuring the time values of the falling edges (or the rising edges) of two adjacent sampling waveforms, calculate the flow parameter of the current pulse according to the flow curve of the water meter, accumulate the flow parameters of all time points by an integral algorithm to obtain the accumulated flow of the water meter,the accumulated flow is in the time period of t0-t1, and f (x) is the flow parameter calculated according to the flow curve of the water meter.

As shown in fig. 3 in conjunction with fig. 4: (2) when the single chip microcomputer system measures the falling edge (or rising edge) of a sampling waveform, the sampling waveforms output by the two magnetic resistance sampling devices have phase difference, so that when the magnetic resistance A samples the falling edge (or rising edge), the magnetic resistance B can be high level or low level; when the single chip microcomputer system detects that the magnetic resistance B is at a high level, the current water flow direction is considered to be a forward direction, and when the magnetic resistance B is at a low level, the current water flow direction is considered to be a reverse direction.

The magnetic resistance sampling device is located in the center of the inside of the meter, the anti-magnetic interference capacity is high, and the metering error caused by magnetic interference can be effectively avoided by additionally arranging the anti-magnetic device.

8 sections flow correction function, before the water gauge dispatches from the factory, the accessible calibrates the flow parameter of different flow points, can realize that the water gauge can both accurate measurement under every flow point.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种提高续航能力和自动加热防冻的智能水表设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!