A kind of SCM Based IC-card intellectual water meter control system
Technical field
The utility model relates generally to a kind of water meter control system, more particularly, it relates to a kind of SCM Based IC
Card intellectual water meter control system.
Background technology
For adapting to the reform to water utilization system for the country, prison automatically carried out by running water by research and utilization modernization intellectual technology
Control, mitigates the financial pressure that causes because of " first supply water and charge afterwards " of water supply department, reduce the trouble that monthly counting cost by gas meter brings and because of
The dispute that charging problem brings, uses intellectual water meter control system can solve these problems, and IC-card intellectual water meter is a kind of profit
Carry out measuring and carrying out with water number according to transmission to water consumption by modern microelectronic technology, Modern Transducer Technology, intellective IC card technology
And the new water meter of settlement bargain.How IC-card to be combined with intellectual water meter control system, and make it have more practicality
Function is the research direction of very valuable meaning.
Utility model content
The utility model is mainly solving the technical problems that provide a kind of SCM Based IC-card intellectual water meter to control system
System, its simple in construction, low in energy consumption, have automatically for cutting off the water, plug-in card Intelligent Recognition, authentication, power down protection, LED show, electric
The functions such as magnet valve door intelligent switching control, anti-tampering, Anti-dismantling, and can be by communication module by water consumption information and IC-card
Balance amount information is sent to terminal, it is simple to user or related personnel check or manage.
For solving above-mentioned technical problem, a kind of SCM Based IC-card intellectual water meter control system of the utility model includes
Microprocessor, flow sensor, signal conditioning circuit, IC-card read/write circuit, light detection module, memory, drive circuit, electricity
Magnet valve, display module, voice module, detection module, power module, communication module, terminal, its simple in construction, low in energy consumption, have
Automatically for cutting off the water, plug-in card Intelligent Recognition, authentication, power down protection, LED show, electromagnetic valve intelligent switching control, anti-do
Disturb, the function such as Anti-dismantling, and by communication module, water consumption information and IC-card balance amount information can be sent to terminal, it is simple to
User or related personnel check or manage.
Wherein, the output of described flow sensor is connected to the input of signal conditioning circuit;Described signal condition electricity
The output on road is connected to the input of microprocessor;Described IC-card read/write circuit is connected to microprocessor;Described light detects
The output of module is connected to the input of microprocessor;Described memory is connected to microprocessor;Described microprocessor defeated
Go out end and be connected to the input of display module;Described voice module is connected to microprocessor;The output of described microprocessor is even
Then the input of drive circuit;The output of described drive circuit is connected to the input of magnetic valve;Described detection module
Output is connected to the input of microprocessor;Described power module is for system power supply;Described communication module is connected to micro-
Processor;Described terminal is attached by communication module.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Microprocessor described in system uses AT89C51 single-chip microcomputer.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Light detection module described in system uses photo resistance.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Memory described in system uses AT24C01.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Voice module described in system uses ISD4004.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Flow sensor described in system uses WG series Wiegand sensor.
Optimize further as of the present utility model, a kind of SCM Based IC-card intellectual water meter control of the utility model
Terminal described in system is mobile phone or panel computer or desktop computer.
Control effect: a kind of SCM Based IC-card intellectual water meter control system of the utility model, its simple in construction, work(
Consume low, have automatically for cutting off the water, plug-in card Intelligent Recognition, authentication, power down protection, LED show, electromagnetic valve intelligent switch control
The functions such as system, anti-tampering, Anti-dismantling, and by communication module, water consumption information and IC-card balance amount information can be sent to end
End, it is simple to user or related personnel check or manage.
Brief description
The utility model is described in more detail with specific implementation method below in conjunction with the accompanying drawings.
Fig. 1 is the hardware structure diagram of a kind of SCM Based IC-card intellectual water meter control system of the utility model.
Fig. 2 is the single chip circuit principle of a kind of SCM Based IC-card intellectual water meter control system of the utility model
Figure.
Fig. 3 is the voice module circuit theory of a kind of SCM Based IC-card intellectual water meter control system of the utility model
Figure.
Fig. 4 is the signal conditioning circuit principle of a kind of SCM Based IC-card intellectual water meter control system of the utility model
Figure.
Fig. 5 is the driving circuit principle figure of a kind of SCM Based IC-card intellectual water meter control system of the utility model.
Fig. 6 is the testing circuit schematic diagram of a kind of SCM Based IC-card intellectual water meter control system of the utility model.
Fig. 7 is the memory circuitry principle of a kind of SCM Based IC-card intellectual water meter control system of the utility model
Figure.
Fig. 8 is the display circuit schematic diagram of a kind of SCM Based IC-card intellectual water meter control system of the utility model.
Detailed description of the invention
Detailed description of the invention one:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment is described, a kind of SCM Based IC-card described in present embodiment
Intellectual water meter control system includes microprocessor, flow sensor, signal conditioning circuit, IC-card read/write circuit, light detection mould
Block, memory, drive circuit, magnetic valve, display module, voice module, detection module, power module, communication module, terminal,
Its simple in construction, low in energy consumption, have automatically for cutting off the water, plug-in card Intelligent Recognition, authentication, power down protection, LED show, electromagnetism
The functions such as valve intelligent switching control, anti-tampering, Anti-dismantling, and can be by communication module by more than water consumption information and IC-card
Volume information is sent to terminal, it is simple to user or related personnel check or manage.
Wherein, the output of described flow sensor is connected to the input of signal conditioning circuit, and flow sensor is used for
Detection water consumption, it is thus achieved that the pulse signal of water consumption, and send the pulse signal being detected to signal conditioning circuit.
The output of described signal conditioning circuit is connected to the input of microprocessor, and signal conditioning circuit is for by pulse
Signal is amplified, Shape correction becomes level signal, and sends level signal to microprocessor.
Described IC-card read/write circuit is connected to microprocessor, and IC-card read/write circuit is used for identifying reading IC card information, and will
IC card information sends microprocessor to.
The output of described light detection module is connected to the input of microprocessor, and light detection module is used for detecting ring
The light signal in border, and send light signal to microprocessor.
Described memory is connected to microprocessor, and memory is used for storage and the transmission of microprocessor data information.
The output of described microprocessor is connected to the input of display module, and microprocessor is for sending to display module
Control instruction, display module shows according to control instruction.
Described voice module is connected to microprocessor, and voice module is stored by memory for typing voice messaging, micro-place
Reason device is used for controlling voice module and plays voice.
The output of described microprocessor is connected to the input of drive circuit, and microprocessor is for sending to drive circuit
Control instruction, drive circuit carries out action according to control instruction.
The output of described drive circuit is connected to the input of magnetic valve, and drive circuit is used for driving magnetic valve action.
The output of described detection module is connected to the input of microprocessor, and it is split that detection module is used for detecting water meter
Unload, battery undervoltage or take out battery, the signal whether having IC-card to insert, and send detection signal to microprocessor.
Described power module is for system power supply, it is ensured that the normal work of system.
Described communication module is connected to microprocessor, and data message is packed by microprocessor, and is carried out by communication module
Send.
Described terminal is attached by communication module, and terminal is for receiving the information that microprocessor sends, it is simple to user
Grasp water meter and IC card information with relevant staff.
Detailed description of the invention two:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment being described, described microcontroller uses AT89C51 single-chip microcomputer.Described
AT89C51 single-chip microcomputer has the step-by-step operation system of complete set from its internal hardware to software, and ram in slice is interval also especially
Opening the address section of a dual-use function, 16 bytes, element address 20H~2FH, it both can make byte process, also
Position process can be made.The setting of the I/O pin of 51 single-chip microcomputers and use are very simple, when this pin makees input pin use, need only be somebody's turn to do
Pin is set to high level (during reset, each I/O mouth all sets high electricity).It when this pin makees output pin use, then is high level or low electricity
Averagely may be used.
Detailed description of the invention three:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment being described, described light detection module uses photo resistance.Institute
State the resistor that photo resistance is that a kind of resistance value utilizing the photoelectric effect of semiconductor to make changes with the power of incident light;
Incident intensity, resistance reduces, and incident light is weak, and resistance increases.Carry out the light intensity of induced environment with it, when the ring stronger at light
Under border, the resistance of photo-resistor is just very little, and sensor signal processing circuit can be processed accordingly according to its resistance, micro-
Processor produces control instruction according to the change of photo resistance, reduces the brightness of display module, reduces system power dissipation;When at light
Under stronger environment, its resistance value will become big, and sensor signal processing circuit can be located accordingly according to its resistance
Reason, microprocessor produces control instruction according to the change of photo resistance, raises the brightness of display module, it is simple to check.
Detailed description of the invention four:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment being described, described memory uses AT24C01.Described AT24C01 is
The Low-Power CMOS serial E2PROM of American ATMEL, it is to include 128 × 8 memory spaces, has operating voltage width
The features such as (2.5~5.5V), erasable (be more than 10000 times) often, writing speed fast (being less than 10ms).Store with AT24C01
User adds up the related data information such as water total amount and surplus water.After system cut-off, system will be protected useful information
Exist in AT24C01 so that it is be not lost.
Detailed description of the invention five:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment being described, described voice module uses ISD4004.Described ISD4004
Chip is must be by microprocessor control based on all operations, and operational order can be sent into by serial communication interface.Chip uses
Many level Directly multilevel storage technology, each sampled value is directly stored in in-chip FLASH memory, therefore, it is possible to very true
Real, reproducing speech, music, tone and effect sound naturally, it is to avoid general solid recording circuit is because quantifying and compressing to cause
Quantizing noise and " metallic sound ".Sample frequency can be 4.0,5.3,6.4,8.0kHz, and frequency is lower, and the recording playback time is longer, and sound
Matter has then declined, and piece internal information is stored in FLASH memory, can preserve 100 years (representative value), repeatedly record under powering-off state
Sound 100,000 times.Microprocessor control voice module plays the balance amount information of the data message recording water meter or reading IC-card.
Detailed description of the invention six:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 present embodiment being described, described flow sensor uses WG series Wiegand sensor.
Described WG series Wiegand sensor is a kind of magneto sensor utilizing Wiegand effect to make.Its operation principle is sensor
Under the excitation of middle magnetic bistable functional alloy material outside magnetic field, direction of magnetization moment overturns, thus at detection coil
In generate the signal of telecommunication, it is achieved magnetoelectricity change.WG series Wiegand sensor is the sensor of a kind of low-power consumption.Specifically used method
For: installing little magnet steel on the measurement gear of water meter, when user's water, pinion rotation, little magnet steel will turn over Wiegand silk and pass
Sensor, at this moment sensor produces a high level pulse signal, inputs to microprocessor and count after shaping, amplification are processed
Number metering.This sensor is selected to meet the requirement of system low-power consumption.
Detailed description of the invention seven:
In conjunction with Fig. 1, the 2nd, the 3rd, the 4th, the 5th, the 6th, 7 explanation present embodiment, described terminal is mobile phone or panel computer or desk-top
Computer.Described terminal can receive, by communication module, water meter and the IC card information that microprocessor sends, it is simple to user and phase
Close staff and grasp water meter and IC card information.
The operation principle of a kind of SCM Based IC-card intellectual water meter control system of the utility model is: the utility model
A kind of SCM Based IC-card its simple in construction of intellectual water meter control system, low in energy consumption, have automatically for cutting off the water, plug-in card intelligence
Identification, authentication, power down protection, LED show, the function such as electromagnetic valve intelligent switching control, anti-tampering, Anti-dismantling, and
By communication module, water consumption information and IC-card balance amount information can be sent to terminal, it is simple to user or related personnel check
Or management.Installing little magnet steel on the measurement gear of water meter, when user's water, pinion rotation, little magnet steel will turn over Wiegand
Silk sensor, at this moment sensor produces a high level pulse signal, inputs to microprocessor after shaping, amplification are processed
Row counting metering, microprocessor analysis obtains water consumption information after processing, sends display module to and show, light detection module is used
In the light intensity of induced environment, when, under the environment stronger at light, the resistance of photo-resistor is just very little, at sensor signal
Reason circuit can be processed accordingly according to its resistance, and microprocessor produces control instruction, fall according to the change of photo resistance
The brightness of low display module, reduces system power dissipation;When, under the environment stronger at light, its resistance value will become big, sensor
Signal processing circuit can be processed accordingly according to its resistance, and microprocessor produces control according to the change of photo resistance and refers to
Order, raises the brightness of display module, it is simple to check.When in water meter, surplus water exceedes minimum limit value, in table, voice module enters
Row voice message, to remind user's surplus water few, speed please purchase water;When in table, surplus water is 0, microprocessor control is driven
Dynamic circuitry cuts electromagnetic valve, stops supplying water, until the new water yield is purchased.Use and purchase to the mode that IC-card is supplemented with money
Water.Memory is used for storing setting water yield revolution, the water meter detection umber of pulse of user, adds up water total amount and surplus water etc.,
Prevent loss of data after system power failure.Detection module be used for detecting water meter be disassembled, battery undervoltage or take out battery, whether have
The signal that IC-card inserts, and send detection signal to microprocessor, microprocessor produces corresponding warning according to measured signal
Or protection or reading control instruction, it is achieved the control to water meter.Terminal phone or panel computer or computer are permissible
Obtained the relevant informations such as the water consumption of water meter, surplus water, total Water by communication module, it is simple to user and relevant staff
Grasp water meter and IC card information
Although the utility model is open as above with preferred embodiment, but it is not limited to the utility model, appoints
What person skilled in the art, without departing from spirit and scope of the present utility model, can do various change and modification, therefore
Protection domain of the present utility model should be with being as the criterion that claims are defined.