A kind of flow measurement device
Technical field
The utility model belongs to watermeter flowing rate field of measuring techniques, more particularly to a kind of flow measurement dress of no magnetic structure
Put.
Background technology
At present, using magnetic flow transducers, this needs to carry permanent magnetic on water meter turbine the universal water meter of in the market
Iron, but easily absorption iron filings, iron rust etc., and form accumulation on permanent magnet, can cause to hinder the rotation of impeller and increase mill
Damage, have impact on the service life of instrument to a certain extent.It is exactly to be vulnerable to the external world that sensors with auxiliary electrode, which also has a fatal weakness,
Magnetic disturbance, can cause metering inaccurate or stop metering.At the same time at present most of water meters be also without transporting function, this for
The operation of user and administrative department is inconvenient, it is necessary to put into substantial amounts of human and material resources, this is for social resources
It is a kind of greatly to waste.Therefore, we are necessary to be improved existing technology, new technical solution are proposed, on overcoming
State there are the problem of.
Utility model content
The purpose of this utility model is in view of the above-mentioned problems, provide a kind of flow measurement device, without magnet and is carried
High flow capacity monitoring accuracy.
To reach above-mentioned purpose, the utility model employs following technical proposal:
A kind of flow measurement device, the present apparatus include the steel disc being arranged on impeller and the stream for detecting steel disc position
Metering circuit is measured, the flow measurement circuit includes microcontroller U1 and at least steel disc location sensitive module all the way, wherein,
The steel disc location sensitive module is used to produce oscillator signal and the vibration in microcontroller U1 control periodicals
The amplitude decay of signal is related with the steel disc position;
The microcontroller U1 receives oscillator signal and detects the decay of its amplitude so as to obtain the change in location of the steel disc
Information is to calculate flow value.
In above-mentioned flow measurement device, the flow measurement circuit sets two-way steel disc location sensitive module.
In above-mentioned flow measurement device, the present apparatus further includes wireless communication module U2, the wireless communication module U2
It is connected with microcontroller U1, the flow value for the present apparatus to be measured is transferred to remote terminal.
In above-mentioned flow measurement device, the wireless communication module U2 uses Lora wireless modules.
In above-mentioned flow measurement device, pass through SPI interface between the wireless communication module U2 and microcontroller U1
Into row data communication.
In above-mentioned flow measurement device, the size of the steel disc is the half of impeller.
In above-mentioned flow measurement device, the microcontroller U1 uses microcontroller MSP430F449.
In above-mentioned flow measurement device, the steel disc location sensitive module further comprises first resistor R1, second
Resistance R2, the first inductance L1, the first capacitance C1, the second capacitance C2, the first field-effect tube Q1 and the second field-effect tube Q2, wherein,
The first pin of the microcontroller U1 is connected with one end of the first inductance L1 and one end of the second capacitance C2, first electricity
Feel the other end and the other end of the second capacitance C2, one end of second resistance R2, the drain electrode of the second field-effect tube Q2, the first electricity of L1
The one end for holding C1 is connected, and the other end of the first capacitance C1 is connected with one end of first resistor R1, the first resistor
The other end of R1 is connected with the second pin of the microcontroller U1;The other end of the second resistance R2 and the first field-effect
The drain electrode of pipe Q1 is connected, and the source electrode of the first field-effect tube Q1 and the source electrode of the second field-effect tube Q2 are grounded jointly;It is described
The grid of first field-effect tube Q1 is connected with the 4th pin of the microcontroller U1, the grid of the second field-effect tube Q2
It is connected with the 3rd pin of the microcontroller U1.
In above-mentioned flow measurement device, the first inductance L1 is located normal to above impeller at 3mm.
In above-mentioned flow measurement device, the first pin and the 4th pin of the microcontroller U1 are used to control described
The charging of first inductance L1;The 3rd pin of the microcontroller U1 is used for the electric discharge for controlling the first inductance L1;It is described micro-
The second pin of controller U1 is used to receive to produce oscillator signal between the first inductance L1 and the second capacitance C2.
Compared with prior art, it is the advantages of this flow measurement device:
1st, water flow is realized in the position for the steel disc being arranged on by designing the detection of steel disc location sensitive module on water meter turbine
Detection, without using magnet, improving accuracy of detection and antijamming capability.
2nd, wireless communication module is using Lora(NB-iot)Modulation technique, for other modulation techniques,
Lora(NB-iot)It is high with receiving sensitivity, the advantage such as low in energy consumption, long transmission distance.
Brief description of the drawings
Fig. 1 is the circuit diagram of flow measurement device provided by the utility model.
Fig. 2 is the amplitude variations ripple that the oscillator signal that steel disc location sensitive module produces in the utility model is influenced by steel disc
Shape schematic diagram.
Fig. 3 is that the schematic diagram of 4 kinds of states is presented in the rotation of impeller in the utility model.
Embodiment
It is the specific embodiment of utility model and with reference to attached drawing below, the technical solution of the utility model is made further
Description, but the utility model is not limited to these embodiments.
Embodiment one
The utility model flow measurement device includes the steel disc being arranged on impeller and the stream for detecting steel disc position
Measure metering circuit, when current by when impeller drive steel disc to rotate, flow measurement circuit is detected the steel disc on impeller, and
Recognition detection carries out flow measurement to the position of steel disc.
As shown in Figure 1, flow measurement circuit includes microcontroller U1 and at least steel disc location sensitive module all the way, wherein,
Steel disc location sensitive module is used to produce oscillator signal and the oscillator signal in microcontroller U1 control periodicals
Amplitude decay it is related with the steel disc position;
Microcontroller U1 receives oscillator signal and detects the decay of its amplitude so as to obtain the change in location information of the steel disc
To calculate flow value.
In a preferred embodiment, microcontroller U1 uses microcontroller MSP430F449.Further, steel disc position
Induction module further comprises first resistor R1, second resistance R2, the first inductance L1, the first capacitance C1, the second capacitance C2, first
Field-effect tube Q1 and the second field-effect tube Q2, wherein, one end of the first pin of the microcontroller U1 and the first inductance L1 and
One end of second capacitance C2 is connected, the other end of the first inductance L1 and the other end, the second resistance R2 of the second capacitance C2
One end, the drain electrode of the second field-effect tube Q2, one end of the first capacitance C1 be connected, the other end of the first capacitance C1 and
One end of one resistance R1 is connected, and the other end of the first resistor R1 is connected with the second pin of the microcontroller U1;
The other end of the second resistance R2 is connected with the drain electrode of the first field-effect tube Q1, the source electrode of the first field-effect tube Q1 and
The source electrode of second field-effect tube Q2 is grounded jointly;The grid of the first field-effect tube Q1 draws with the 4th of the microcontroller U1
Foot is connected, and the grid of the second field-effect tube Q2 is connected with the 3rd pin of the microcontroller U1.Wherein, it is described micro-
The first pin and the 4th pin of controller U1 is used for the charging for controlling the first inductance L1;The 3rd of the microcontroller U1
Pin is used for the electric discharge for controlling the first inductance L1;The second pin of the microcontroller U1 is used to receive first inductance
Oscillator signal is produced between L1 and the second capacitance C2.
The operation principle of foregoing circuit is as follows:
1st, charge to inductance L1:Controlled by microcontroller U1 and open field-effect tube Q1, close field-effect tube Q2, microcontroller
1 output current of pin of U1 is formed into a loop through inductance L1, resistance R2, field-effect tube Q1 to charge to inductance L1.
2nd, microcontroller U1 identifies oscillator signal waveform:Field-effect tube Q1 is closed after charging complete, the pin 1 of microcontroller U1 is not
Output current, inductance L1 and capacitance C2 carry out free oscillation.There are damping effect, amplitude can be produced during steel disc below inductance L1
Rate of decay speed is fast, such as Fig. 2(It is left)It is shown.On the contrary, the amplitude rate of decay is slow when steel disc is not present below inductance L1, such as scheme
2(It is right)It is shown.The waveform of generation is input to microcontroller U1 through capacitance C1, resistance R1, and microcontroller U1 is internally provided with comparator, passes through
The change of pulse number whether there is steel disc to obtain inductance L1 lower sections.
3rd, metering circuit discharges:Electric current in microcontroller U1 controls opening field-effect tube Q2, inductance L1 after the completion of detection
Through Q2 to discharged.
In a preferred embodiment, flow measurement circuit sets two-way steel disc location sensitive module.
As shown in figure 3, inductance L1, inductance L2(Represented by empty circles in Fig. 3)Position be located normal to circular impeller
At the 3mm of top, with the presence of half steel disc on impeller, black portions are steel disc, as the rotation of impeller is presented below as 4 kinds of states.
Fig. 3(a):There are steel disc below inductance L1, there are steel disc below inductance L2;Fig. 3(b):Perpendicular to inductance L1
Steel disc is not present in lower section, and there are steel disc below inductance L2;Fig. 3(c):Steel disc is not present below inductance L1, hangs down
Steel disc directly is not present below inductance L2;Fig. 3(d):There are steel disc below inductance L1, do not deposited below inductance L2
In steel disc.When have current by when impeller rotate, microcontroller identifies different state, can not only determine whether current
And water flow, while can also realize the detection of water (flow) direction.
In a preferred embodiment, the present apparatus further include wireless communication module U2, the wireless communication module U2 with
Microcontroller U1 is connected, and the flow value for the present apparatus to be measured is transferred to remote terminal.
In a preferred embodiment, the wireless communication module U2 uses Lora wireless modules.Further, wirelessly
By SPI interface into row data communication between communication module U2 and microcontroller U1.Wherein, module resets pin RST, interruption are drawn
Foot DIO0, interrupt pin DIO1, interrupt pin DIO2, interrupt pin DIO3, interrupt pin DIO4, SPI interface transmission pin
SCK, SPI interface transmission pin NSS, SPI interface transmission pin SI, SPI interface transmission pin SO are connected with microcontroller U1, monolithic
Machine U1 carries out wireless communication module U2 data interaction by SPI interface, and data frame is listened in module realization, data receiver, data
Sending function.
The specific embodiments described herein are merely examples of the spirit of the present invention.The utility model institute
Described specific embodiment can be done various modifications or additions or using similar by belonging to those skilled in the art
Mode substitute, but without departing from the spirit of the present application or beyond the scope of the appended claims.