It is a kind of that there is the high frequency M1 card intellectual water meters for touching arousal function
Technical field
It is particularly a kind of that there is the high frequency M1 card intelligent waters for waking up sleep mode function the present invention relates to a kind of IC-card water meter
Table.
Background technology
IC-card water meter at present on the market is main by main control module unit, IC-card read write line, flow gauge, valve, electricity
Pond etc. is constituted.In order to reduce battery power consumption, extend the battery altering cycle, it is most of when not worked using water meter generally at present
Circuit enters sleep state, wakes up the scheme of the whole circuits of water meter again when using water meter.Method or original for waking up water meter
Reason, mainly employ on the market at present mechanical key wake up and built in IC-card permanent magnet sensing wake up two schemes, but this two
The method of kind has respective shortcoming.Button service life and button can be influenceed in high humidity environment by waking up scheme using mechanical key
The middle limitation used;And permanent magnet scheme built in IC-card in IC-card because being embedded in magnet, to change existing IC-card manufacture craft and
The parameters such as the thickness of card, user must could be used with this special IC-card, can only a card one use, and current master can not be supported
The IC-card of stream.
The content of the invention
The technical problem to be solved in the invention be overcome the shortcomings of background technology there is provided one kind by human hand touch come
Wake up water meter, be capable of the touch high frequency M1 card intellectual water meters of compatible high frequency IC-card on the market.
The present invention concrete technical scheme be:A kind of to have the high frequency M1 card intellectual water meters for touching arousal function, it includes
Master controller MCU, power module, LCD MODULE, RF Signal module, pulse detection are connected with master controller MCU
Module, valve control module, voltage monitoring circuit, clock module, memory module, strong magnetic disturbance detection module, buzzer module,
Touch modules, the touch modules include one piece of IC, touch detection interface, touch signal that there is 1-6 pin to support touch function
Output interface, touch power supply interface, touch mode selection circuit, filter circuit;
The touch detection interface includes 1 pin of the IC and electric capacity C30, the electric capacity C30 one end ground connection, the other end
It is connected with 1 pin of the IC;1 pin is also associated with one piece of touch-sensitive panel;
The touch signal output interface includes 3 pin of the IC, 43 pin of the 3 pin connection master controller MCU;
The touch power supply interface includes 1 pin of the master controller MCU;
The touch mode selection circuit includes resistance R12, resistance R13;One end of the resistance R12 connects the IC's
6 pin, the other end connects 5 pin of the IC;One end of the resistance R13 connects 4 pin of the IC, and the other end connects the IC's
5 pin;
The filter circuit includes electric capacity C34, the electric capacity C34 one end while connecting 5 pin and the main control of the IC
Device MCU 1 pin, the other end ground connection of the electric capacity C34.
Master controller MCU is also associated with touching external interface, and 3 pin of the touch external interface are with master controller MCU's
43 pin are connected;2 pin for touching external interface are connected with master controller MCU 1 pin;1 pin for touching external interface connects
Ground.
Master controller MCU is also associated with supply voltage detection circuit, supply voltage detection circuit include diode D2,
Inductance RP5A, inductance RP5B, master controller MCU 29 pin, 30 pin;The positive pole connection power supply of the diode D2, negative pole
With one end of the RP5A;The other end of the RP5A is connected with one end of the RP5B;The other end of the PR5B is then connected
Master controller MCU 29 pin;30 pin of the controller are connected to the A points of the RP5A and RP5B between the two.
A kind of touch function with the high frequency M1 card intellectual water meters for touching arousal function of the present invention is mainly big including two
Core, is respectively master controller MCU and the IC of touch function is supported with 1-6 pin, MCU 1 pin provides power supply for IC.Touch sense
Plate is answered to be connected to IC 1 pin, it is tactile by causing because human body is per se with electric field, therefore when finger is close to touch-sensitive panel
The electric capacity for touching detection interface changes, and IC detects this change by built-in oscillating circuit and counting circuit, when its change
When changing more than threshold values, IC exports high level (low level) signal, master controller MCU 43 pin opens interrupters work(by its 3 pin
Can, the signal given by IC 3 pin wakes up master controller MCU from dormancy, and the master controller MCU after wake-up is immediately begun to
The duration of this signal and the frequency of generation are detected, then determines whether the signal is normal by finger according to testing result
Touching is produced.The electric capacity C30 being connected in touch-sensitive panel is used for adjusting the sensitivity of sensing, and increase C30 capacitance can subtract
Small finger touches the ratio of caused capacitance change, so that strengthen antijamming capability, but sensitivity will decline.Resistance R12 and
R13 is touch mode configuration circuit, and the output driving circuit built in collocation IC is used.During using R12, then IC 3 pin output is believed
It number will continue to and just to stop after detecting capacitance change next time, otherwise when capacitance reverts to default value, output signal will be immediately
Stop.During using R13, when detecting capacitance change, IC 3 pin output signals are height without using during R13 effectively for low level
Level is effective.Electric capacity C34 is used for the High-frequency Interference for filtering IC power packs.
The a kind of of the present invention has the high frequency M1 cards intellectual water meter for touching arousal function compared with existing IC-card water meter, tool
Have the advantage that:First, using waking up water meter by human body touch into by the way of full working condition, pressed without any machinery
Key, solves the water meter using key wakeup mode due to mechanical wear caused by button so that reduce button service life
The problem of, and under high humidity environment use key mode limitation the problem of;Secondly, work of the present invention to user's IC-card
Skill or structure are without particular/special requirement, using existing high frequency IC-card on the market, such as M1 cards and CPU card, compared to the magnetic built in
The card of iron, compatibility is greatly improved, being capable of one card for multiple uses.
The invention will now be described in further detail with reference to the accompanying drawings.
Brief description of the drawings
Fig. 1 is a kind of structured flowchart with the high frequency M1 card intellectual water meters for touching arousal function of the present invention;
Fig. 2 is a kind of principle with the high frequency M1 card intellectual water meter touch modules circuits for touching arousal function of the present invention
Figure;
Embodiment
The embodiment of the present invention is as shown in Figure 1, 2, a kind of to have the high frequency M1 card intelligent waters for touching arousal function
Table, it include master controller MCU, with master controller MCU be connected with power module, LCD MODULE, RF Signal module,
Pulse detection module, valve control module, voltage monitoring circuit, clock module, memory module, strong magnetic disturbance detection module, honeybee
Ring device module, touch modules, the touch modules include one piece, and there is 1-6 pin to support the IC8 of touch function, touch detection interface
1st, touch signal output interface 2, touch power supply interface 3, touch mode selection circuit 4, filter circuit 5;
The touch detection interface 1 includes 1 pin of the IC8 and electric capacity C30, the electric capacity C30 one end ground connection, another
End is connected with 1 pin of the IC8;1 pin is also associated with one piece of touch-sensitive panel;
The touch signal output interface 2 includes 3 pin of the IC8,43 pin of the 3 pin connection master controller MCU;
The touch power supply interface 3 includes 1 pin of the master controller MCU;
The touch mode selection circuit 4 includes resistance R12, resistance R13;One end of the resistance R12 connects the IC
6 pin, the other end connects 5 pin of the IC8;One end of the resistance R13 connects 4 pin of the IC8, and other end connection is described
IC8 5 pin;
The filter circuit 5 includes electric capacity C34, the electric capacity C34 one end while connecting 5 pin and the master control of the IC8
Device MCU processed 1 pin, the other end ground connection of the electric capacity C34.
Master controller MCU is also associated with touching external interface 6,3 pin for touching external interface 6 and master controller MCU
43 pin connection;2 pin for touching external interface 6 are connected with master controller MCU 1 pin;It is described to touch the 1 of external interface 6
Pin is grounded.
Master controller MCU is also associated with supply voltage detection circuit 7, and the supply voltage detection circuit 7 includes diode
D2, inductance RP5A, inductance RP5B, master controller MCU 29 pin, 30 pin;The positive pole connection power supply of the diode D2, bears
Pole and one end of the RP5A;The other end of the RP5A is connected with one end of the RP5B;The other end of the PR5B then connects
Connect master controller MCU 29 pin;30 pin of the controller are connected to the A points of the RP5A and RP5B between the two.
The various pieces and its function introduction of built-up circuit:
Touch detection interface 1:It is made up of the touch-sensitive panel and electric capacity C30 of certain area and shape, touch-sensitive panel energy
The capacitance variations produced because of approaching or touching for finger are transferred to IC8, C30 is used to adjust above-mentioned capacitance change total
Ratio in capacitance, so as to change sensitivity and the antijamming capability of touch sensible.
Touch signal output interface 2:3 pin including IC8, oscillating circuit and counting circuit built in IC8 detect capacitance
When change exceedes threshold values, a signal is exported on 3 pin.
Touch power supply interface 3:IC8 2 pin ground connection, the power supply of 5 pin is provided by master controller MCU 1 pin, master controller
Voltage that MCU is detected according to voltage detecting circuit 7 and the duration of IC8 3 pin output signals and the frequency that occurs come
IC8 state is determined, and judges whether power supply is normal, whether need initialization of being powered again to IC8.
Touch mode selection circuit 4:It is made up of R12 and R13, the output driving circuit built in collocation IC8 is used.R12 energy
IC8 3 pin output signals are continueed to and just stopped detect capacitance change next time after, R13 can match somebody with somebody U3 3 pin output signals
It is set to low level effective.
Filter circuit 5:Electric capacity C34 is responsible for filtering the subsidiary high-frequency interferencing signal of power pin.
Touch external interface 6:After the distance of touch-sensitive panel to circuit board exceedes to a certain degree, the sensitivity of sensing will
Decline.This external interface can expanding external independence according to actual needs touch modules, strengthen the performance of water meter touch function.
Voltage detecting circuit 7:RP5A, RP5B carry out partial pressure to supply voltage, are controlled whether by master controller MCU 29 pin
Cut-in voltage detects function, and master controller MCU 30 pin obtain the voltage after partial pressure, and with the benchmark inside master controller MCU
Voltage is compared, and calculates actual power voltage, and after voltage change amplitude exceedes to a certain degree, master controller MCU is immediately
Output signal to the pin of IC8 the 3rd detects that initialization of being powered again to IC8 if abnormal signal improves the steady of touch function
It is qualitative.