Utility model content
In view of this, the present invention provides one kind, to be able to achieve adaptive calibration function, efficiency higher, lower-cost
Water meter component with adaptive calibration function, to solve the above problems.
A kind of water meter component with adaptive calibration function, including shell, the Measurement channel being set in shell, is located at
Rotation mechanical part in Measurement channel, and be located at shell in and sequentially connected electronic measuring part, filter, voltage ratio
Compared with device, feature extraction unit, single-chip microcontroller, configuration parameter registers and water meter measurement unit, the water meter measurement unit also with electricity
Comparator connection is pressed, the shell has shell and inner casing, and accommodating section, the electronic surveying portion are formed between shell and inner casing
Part, filter, voltage comparator, feature extraction unit, single-chip microcontroller, configuration parameter registers and water meter measurement unit are respectively positioned on appearance
It sets in section, the water meter measurement unit is also connect with voltage comparator.
Further, the rotation mechanical part is rotation steel disc, and the electronic measuring part is inductance probe unit.
It further, further include the display interface being connect with the water meter measurement unit or single-chip microcontroller, the display interface
It is set to the outside of shell.
It further, further include the communication unit being connect with the water meter measurement unit or single-chip microcontroller, the communication unit
With external server communication.
Further, the configuration parameter registers are integrated in single-chip microcontroller.
Compared with prior art, the water meter component with adaptive calibration function of the utility model, including shell, setting
Measurement channel in shell, the rotation mechanical part in Measurement channel, and be located at shell in and sequentially connected electricity
Sub- measuring part, filter, voltage comparator, feature extraction unit, single-chip microcontroller, configuration parameter registers and water meter measurement list
Member, the water meter measurement unit are also connect with voltage comparator, and the shell has shell and inner casing, shape between shell and inner casing
At accommodating section, the electronic measuring part, filter, voltage comparator, feature extraction unit, single-chip microcontroller, configuration parameter are posted
Storage and water meter measurement unit are respectively positioned in accommodating section, and the water meter measurement unit is also connect with voltage comparator.Such energy
Realize that adaptive calibration function, efficiency is higher, cost is relatively low.
Specific embodiment
Specific embodiment of the utility model is further elaborated below based on attached drawing.It should be understood that
The explanation of the utility model embodiment is not used to herein to limit the protection scope of the utility model.
Referring to FIG. 1, it includes shell for the water meter component provided by the utility model with adaptive calibration function
110, the Measurement channel 120 being set in shell 110, is set to shell at the rotation mechanical part 130 in Measurement channel 120
Display interface 140 outside body 110, and in shell 110 and sequentially connected electronic measuring part 10, filter
20, voltage comparator 30, feature extraction unit 40, single-chip microcontroller 50, configuration parameter registers 60, water meter measurement unit 70 and logical
Believe unit 80.
Shell 110 has shell and inner casing, and the lateral wall of inner casing and Measurement channel 120 is tightly connected, shell and inner casing it
Between formed accommodating section, the electronic measuring part 10, filter 20, voltage comparator 30, feature extraction unit 40, single-chip microcontroller
50, configuration parameter registers 60, water meter measurement unit 70 and communication unit 80 are respectively positioned in accommodating section.So take full advantage of
Space and water or other fluids and electronic measuring part 10, filter 20, voltage comparator in avoidable Measurement channel 120
30, the electronics such as feature extraction unit 40, single-chip microcontroller 50, configuration parameter registers 60, water meter measurement unit 70 and communication unit 80
Component contact improves safety.
Rotating mechanical part 130 is rotation steel disc.
Electronic measuring part 10 is non-contactly connect with rotation mechanical part 130, and electronic measuring part 10 is inductance detection
Unit.The core of inductance probe unit is a LC oscillating circuit, when mechanical component is in different positions, LC concussion
The corresponding variation of the attenuation amplitude of the voltage of circuit output, so that rotation information is converted to voltage signal.
Filter 20 connects electronic measuring part 10 and voltage comparator 30, and filter is for filtering voltage signal
Wave filters out clutter noise signal.
Referring to FIG. 2, the voltage compares, 30 couples of electronic measuring part output valve Vd carry out threshold judgement, when Vd is greater than
When adjudicating voltage Vth, the output voltage Vout of voltage comparator is high level;Conversely, when Vd is less than judgement voltage Vth, electricity
Pressing the output voltage Vout of comparator is low level.
Feature extraction unit 40 connects voltage comparator 30 and single-chip microcontroller 50, the pulse voltage exported to voltage comparator 30
It is counted, when rotation mechanical part turns to different location, due to electromagnetism turbine effect, in a signal acquisition periods
In, the number N V of the collected pulse voltage signal of energy is different.Under auto-adjustment mode, through race after a period of time
Water process, the pulse voltage that feature extraction unit 40 can be exported according to voltage comparator are obtained using efficient sequence Processing Algorithm
Get the very big value sequence and minimum value sequence of the number of voltage pulse in a collection process.Pulse is acquired using sort algorithm
Number Sequence maximum NVmax and pulse Number Sequence minimum NVmin calculates pulse Number Sequence maximum NVmax and pulse number sequence
The average value of column minimum NVmin is umber of pulse serial mean NVave=(NVmin+NVmax)/2, above-mentioned pulse Number Sequence pole
Big value NVmax, pulse Number Sequence minimum NVmin, umber of pulse serial mean NVave are characteristic parameter, and water meter calibration makes
With.
In one embodiment, under auto-adjustment mode, when water flow flows through and pushes rotation mechanical part in water pipe
After rotation, feature extraction unit can obtain a pulse Number Sequence { X (n) }, and n=1,2 ..., N ask pulse using sort algorithm
Number Sequence maximum NVmax=Max ({ X (n) }) and pulse Number Sequence minimum NVmin=Min ({ X (n) }) defines pulse
The average value of Number Sequence maximum NVmax and pulse Number Sequence minimum NVmin are umber of pulse serial mean NVave=(NVmin
+ NVmax)/2, above-mentioned pulse Number Sequence maximum NVmax, pulse Number Sequence minimum NVmin, umber of pulse serial mean NVave
It is exactly the characteristic parameter that calibration needs in the process.
In another embodiment, in very big value sequence, an intermediate value is selected to make the pulse Number Sequence exported very big
Value NVmax;In minimum value sequence, select an intermediate value as the pulse Number Sequence minimum NVmin of output.According to NVmax
And NVmin, extrapolate NVave=(NVmin+NVmax)/2.NVmax, NVmin and NVave are feature extraction unit output
Characteristic parameter.
Single-chip microcontroller 50 receives characteristic parameter under auto-adjustment mode and deposits in configuration parameter according to certain rules and posts
In storage 60, the parameter configuration of adaptive calibration, the also controllable water with adaptive calibration function of the single-chip microcontroller 50 are completed
The operating mode of table component is normal measurement mode or auto-adjustment mode.
Water meter measurement unit 70 connects configuration parameter registers 60 and voltage comparator 30, under normal measurement mode, water
Table metering units 70 carry out step-by-step counting using these characteristic parameters as foundation, to the voltage that voltage comparator 30 exports, and calculate steel
The rotating cycle of piece realizes the function of measuring of water meter.Specifically: the pulse electricity of the water meter measurement unit collection voltages comparator
The number N V for pressing signal illustrates that rotation mechanical part is remote at this time if number N V > NVave of collected pulse voltage signal
From electronic measuring part, this state is denoted as first state A;If the number N V of collected pulse voltage signal <
NVave illustrates that this state is denoted as the second state B close to electronic measuring part by rotation mechanical part at this time.To first state
The number of state transformation between A and the second state B is counted, according to the counting it can be learnt that rotation mechanical part rotation
Circle number, the flow of water flow is calculated with this, realizes the function of measuring of water meter.In the present embodiment, there are 2 pulse collections
Module not only can know that the rotation number of steel disc in this way, moreover it is possible to obtain the direction of steel disc rotation.
Display interface 140 and communication unit 80 are connect with water meter measurement unit 70 or single-chip microcontroller 50, and display interface 140 is used
In display related data, calibration content and calibration result etc..Communication unit 80 can be realized wired or wireless with remote server
Communication, the controllable water meter component with adaptive calibration function of remote server enter auto-adjustment mode.
In other embodiments, configuration parameter registers 60 can also be integrated in single-chip microcontroller 50.
It under normal measurement mode, if the error of water meter is larger, is issued and is instructed by server, so that having adaptive school
The water meter component of table function enters auto-adjustment mode, carries out adaptive calibration work.
Compared with prior art, the water meter component with adaptive calibration function of the utility model includes shell, setting
Measurement channel in shell, the rotation mechanical part in Measurement channel, and be located at shell in and sequentially connected electricity
Sub- measuring part, filter, voltage comparator, feature extraction unit, single-chip microcontroller, configuration parameter registers and water meter measurement list
Member, the shell have shell and inner casing, between shell and inner casing formed accommodating section, the electronic measuring part, filter,
Voltage comparator, feature extraction unit, single-chip microcontroller, configuration parameter registers and water meter measurement unit are respectively positioned in accommodating section,
The water meter measurement unit is also connect with voltage comparator.So be able to achieve adaptive calibration function, efficiency is higher, cost compared with
It is low.
The above is only the preferred embodiments of the utility model, are not used to the limitation protection scope of the utility model, any
Modification, equivalent replacement or improvement within the spirit of the present invention etc. are all covered in the scope of the claims of the utility model.