CN103632449A - Water-saving controller based on non-contact IC card - Google Patents

Water-saving controller based on non-contact IC card Download PDF

Info

Publication number
CN103632449A
CN103632449A CN201210305306.9A CN201210305306A CN103632449A CN 103632449 A CN103632449 A CN 103632449A CN 201210305306 A CN201210305306 A CN 201210305306A CN 103632449 A CN103632449 A CN 103632449A
Authority
CN
China
Prior art keywords
water
card
chip microcomputer
contact
controller based
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210305306.9A
Other languages
Chinese (zh)
Inventor
李强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Zhongshan Technology Co Ltd
Original Assignee
Chengdu Zhongshan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Zhongshan Technology Co Ltd filed Critical Chengdu Zhongshan Technology Co Ltd
Priority to CN201210305306.9A priority Critical patent/CN103632449A/en
Publication of CN103632449A publication Critical patent/CN103632449A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention discloses a water-saving controller based on a non-contact IC card. The water-saving controller based on the non-contact IC card comprises a solenoid valve and a flow sensor, wherein the solenoid valve and the flow sensor are arranged on a water pipe, the solenoid valve is connected with a water control interface circuit, the water control interface circuit is connected with a single-chip microcomputer and a read-write head circuit in sequence, the read-write head circuit is connected with a radio-frequency card through a radio-frequency field, and the single-chip microcomputer is connected with the flow sensor. The water-saving controller based on the non-contact IC card has the advantages of going deeper into the life of people as a part of a campus e-card system or an enterprise e-card system, providing automated service for utilization and management of water resources by people, and bringing convenience to the life of people.

Description

Water saving controller based on non-contact IC card
Technical field
The Industry Control that the present invention relates to economize on water design, specifically refers to the water saving controller based on non-contact IC card.
Background technology
Water saving plan is the great research topic of society.In living water, often there is pipe burst and leakage accident occurs, if can not find in time, can waste a large amount of domestic waters, this is unfavorable for that water saving controls.Simultaneously in living quarters, due to accident or artificial, as: water user forgets and turns off the tap while going out, and causes a large amount of passage in water source.Existing water source is controlled and can not be addressed this problem.
Summary of the invention
The object of the present invention is to provide a kind of water saving controller based on non-contact IC card, this apparatus structure is simple, and cost is low, has intellectuality, real-time, telecommunication, the advantage such as simple in structure, easy for installation.
Implementation of the present invention is as follows: the water saving controller based on non-contact IC card, comprise the solenoid valve and the flow sensor that are arranged on water service pipe, described solenoid valve is connected with water control interface circuit, described water control interface circuit is connected with single-chip microcomputer, read/write head circuit in turn, described read/write head circuit is connected to radio-frequency card by radio-frequency field chain, and described single-chip microcomputer is connected with flow sensor.
Described single-chip microcomputer is also connected with digital display circuit.
Described single-chip microcomputer is also connected with data storage circuitry.
Described single-chip microcomputer is also connected with hummer.
Described single-chip microcomputer is also connected with power circuit.
Described single-chip microcomputer is that model is AT89C51.
Based on non-contact IC card water saving controller, adopt exactly noncontact IC card read/write device to control water outlet, water is carried out to unmanned charge management.It is a kind of device that integrates function of measuring and control function, is that a kind of modern microelectric technique, Modern Transducer Technology, non-contact IC card technique of utilizing measures and can carry out the new device of the transmission of water data and settlement bargain to water consumption.There is the place of water swivel flowing water can utilize controller to reach the object of water saving.As: the places such as bathroom, collective and individual apartment, boiling water room.This device adopts Mifare1 S50 non-contact IC card that domestic modal Philips company produces as address card, there is little, easy to carry, waterproof and dampproof, the firm advantage such as wear-resisting of volume, and can easily coordinate meal-selling machine, gate control system, attendance checking system etc. to use together, form all-in-one campus card, enterprise's card system.
The present invention mainly be take AT89C51 main control MCU as core, is aided with the compositions such as radio frequency interface module, flow metering module, water control interface module, switching power circuit, digital display circuit, data storage circuitry, buzzer alarm circuit.
As long as have IC-card in card reader reading range, by Single-chip Controlling read/write head circuit (radio-frequency interface circuit), IC-card is operated, the type of judgement IC-card (subscriber card or keeper's card), according to the information content in card, process accordingly, and by water control interface circuit, control according to demand the state (opening or closing) of solenoid valve, showing by digital display circuit for information about or relevant data is recorded in the data-carrier store in data storage circuitry in System Operation process.Water meter sends pulse signal by flow sensor in the process of water in addition, single-chip microcomputer return pulse signal carries out computing and processes then IC-card to be withholdd to process and pass through digital display circuit accordingly showing for information about, and monitor in real time in the process of water, if the remaining sum of IC-card is too low by hummer sounding alarm.Thereby the each several part coordinate operation of water regulator can realize the automatic management of water.
Core MCU module of the present invention selects build-in function powerful, and the AT89C51 single-chip microcomputer with high performance-price ratio, it is a low-voltage, 8 single-chip microcomputers of high-performance CMOS, sheet include 4k bytes can be repeatedly erasable Flash read-only program memory and the Random Access Data storer (RAM) of 128 bytes, adopt high density, the nonvolatile storage technologies of atmel corp, compatibility standard MCS-51 order set.The external circuits of MCU in addition, as: data-carrier store adopts AT24C01A as non-volatile data storages (for storing parameters and consumption data, as water price, cumulative consumption etc.).
Digital display circuit can adopt 74HC164 to drive digital demonstration.In order to reduce power consumption and the heating of device, adopted Switching Power Supply as power supply, can select the voltage-dropping type PWM gauge tap integrated regulator of L4962E/A, it has, and output voltage is adjustable, overcurrent protection, overheating protection and soft start function.Warning circuit hummer is connected with MCU basic I/O mouth main functions such as warning that realize that Sorry, your ticket has not enough value.Water control interface circuit utilizes the basic I/O mouth output control signal of AT89C51 single-chip microcomputer, after amplifying in order to control the open and close of solenoid valve.From the water-flow signal of flow sensor after front end circuit is processed, be converted to a series of voltage pulse signals for measuring, these pulse signals can be caught and by interrupt service routine real time record by the timer of single-chip microcomputer, through computing, can accurately convert user's water consumption to, and then by water consumption being converted to the amount of money that user will pay and controlling radio frequency interface module to the IC-card operation of withholing.
Read/write head main circuit will be comprised of MFRC500 chip and antenna circuit thereof.
MFRC500 chip be Philips company in 2000, provide be applied to a member in high integrated Card Reader IC series in 13.56MHz contactless communication.Utilized advanced modulation and demodulation concept, met the regulation of TYPE A agreement in ISO/IEC1443 standard, fully-integrated under 13.56MHz all types of passive contactless communication modes and agreement.It has following Some features: inner transmitter part does not need to increase the antenna (can reach 100mm) that active circuit just can directly drive near operation distance.Receiver partly provides a firm and effective demodulation decoding circuit, for the answer signal of ISO14443A compatibility.Numerical portion is processed ISO14443A frame and error-detecting (odd even & CRC); In addition, it also supports quick CRYPTO1 cryptographic algorithm for verifying MIFARE series of products.Parallel interface can be directly connected to any 8-bit microprocessor easily, great dirigibility is provided to like this design of card readers/terminals.
The invention has the advantages that: the part based on non-contact IC card water saving controller as formation all-in-one campus card, enterprise's card system, more and more go deep into people's life, provide the automation services of people to the utilization of water resource and management, for people's life has brought facility.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention.
Embodiment
Embodiment mono-
As shown in Figure 1.
When the present invention realizes, this device is arranged on to water user's home terminal, adopt meterage mode, when water user goes out, forget while closing sluice, water source occurs after waste, owing to constantly passing in water source, in native system, flow sensor will measure processing, then information is sent to single-chip microcomputer, after expense in IC-card is calculated as zero, single-chip microcomputer starts water control interface circuit, water control interface circuit cuts out startup solenoid valve by water source, can prevent water waste, if water user extracts IC-card simultaneously, single-chip microcomputer starts automatically, solenoid valve is converted to closed condition, while needing only water like this, IC-card is inserted and can restart native system, can effectively avoid the waste at water source.Therefore, water saving controller based on non-contact IC card, comprise the solenoid valve and the flow sensor that are arranged on water service pipe, described solenoid valve is connected with water control interface circuit, described water control interface circuit is connected with single-chip microcomputer, read/write head circuit in turn, described read/write head circuit is connected to radio-frequency card by radio-frequency field chain, and described single-chip microcomputer is connected with flow sensor.
Described single-chip microcomputer is also connected with digital display circuit.
Described single-chip microcomputer is also connected with data storage circuitry.
Described single-chip microcomputer is also connected with hummer.
Described single-chip microcomputer is also connected with power circuit.
Described single-chip microcomputer is that model is AT89C51.
Based on non-contact IC card water saving controller, adopt exactly noncontact IC card read/write device to control water outlet, water is carried out to unmanned charge management.It is a kind of device that integrates function of measuring and control function, is that a kind of modern microelectric technique, Modern Transducer Technology, non-contact IC card technique of utilizing measures and can carry out the new device of the transmission of water data and settlement bargain to water consumption.There is the place of water swivel flowing water can utilize controller to reach the object of water saving.As: the places such as bathroom, collective and individual apartment, boiling water room.This device adopts Mifare1 S50 non-contact IC card that domestic modal Philips company produces as address card, there is little, easy to carry, waterproof and dampproof, the firm advantage such as wear-resisting of volume, and can easily coordinate meal-selling machine, gate control system, attendance checking system etc. to use together, form all-in-one campus card, enterprise's card system.
The present invention mainly be take AT89C51 main control MCU as core, is aided with the compositions such as radio frequency interface module, flow metering module, water control interface module, switching power circuit, digital display circuit, data storage circuitry, buzzer alarm circuit.
As long as have IC-card in card reader reading range, by Single-chip Controlling read/write head circuit (radio-frequency interface circuit), IC-card is operated, the type of judgement IC-card (subscriber card or keeper's card), according to the information content in card, process accordingly, and by water control interface circuit, control according to demand the state (opening or closing) of solenoid valve, showing by digital display circuit for information about or relevant data is recorded in the data-carrier store in data storage circuitry in System Operation process.Water meter sends pulse signal by flow sensor in the process of water in addition, single-chip microcomputer return pulse signal carries out computing and processes then IC-card to be withholdd to process and pass through digital display circuit accordingly showing for information about, and monitor in real time in the process of water, if the remaining sum of IC-card is too low by hummer sounding alarm.Thereby the each several part coordinate operation of water regulator can realize the automatic management of water.
The core MCU module of water regulator selects build-in function powerful, and the AT89C51 single-chip microcomputer with high performance-price ratio, it is a low-voltage, 8 single-chip microcomputers of high-performance CMOS, sheet include 4k bytes can be repeatedly erasable Flash read-only program memory and the Random Access Data storer (RAM) of 128 bytes, adopt high density, the nonvolatile storage technologies of atmel corp, compatibility standard MCS-51 order set.The external circuits of MCU in addition, as: data-carrier store adopts AT24C01A as non-volatile data storages (for storing parameters and consumption data, as water price, cumulative consumption etc.).
Digital display circuit can adopt 74HC164 to drive digital demonstration.In order to reduce power consumption and the heating of device, adopted Switching Power Supply as power supply, can select the voltage-dropping type PWM gauge tap integrated regulator of L4962E/A, it has, and output voltage is adjustable, overcurrent protection, overheating protection and soft start function.Warning circuit hummer is connected with MCU basic I/O mouth main functions such as warning that realize that Sorry, your ticket has not enough value.Water control interface circuit utilizes the basic I/O mouth output control signal of AT89C51 single-chip microcomputer, after amplifying in order to control the open and close of solenoid valve.From the water-flow signal of flow sensor after front end circuit is processed, be converted to a series of voltage pulse signals for measuring, these pulse signals can be caught and by interrupt service routine real time record by the timer of single-chip microcomputer, through computing, can accurately convert user's water consumption to, and then by water consumption being converted to the amount of money that user will pay and controlling radio frequency interface module to the IC-card operation of withholing.
Read/write head main circuit will be comprised of MFRC500 chip and antenna circuit thereof.
MFRC500 chip be Philips company in 2000, provide be applied to a member in high integrated Card Reader IC series in 13.56MHz contactless communication.Utilized advanced modulation and demodulation concept, met the regulation of TYPE A agreement in ISO/IEC1443 standard, fully-integrated under 13.56MHz all types of passive contactless communication modes and agreement.It has following Some features: inner transmitter part does not need to increase the antenna (can reach 100mm) that active circuit just can directly drive near operation distance.Receiver partly provides a firm and effective demodulation decoding circuit, for the answer signal of ISO14443A compatibility.Numerical portion is processed ISO14443A frame and error-detecting (odd even & CRC); In addition, it also supports quick CRYPTO1 cryptographic algorithm for verifying MIFARE series of products.Parallel interface can be directly connected to any 8-bit microprocessor easily, great dirigibility is provided to like this design of card readers/terminals.
The initialization of this apparatus system comprised single-chip microcomputer initialization, read AT24C01A operation, Graphics Processing and MFRC500 chip initiation.Wherein reading AT24C01A operation is that the initialization of MFRC500 chip arranges the internal register of MFRC500 chip in order to show the needs of unit price.When having IC-card near read write line, first reading system identification code (judging whether this card is applicable to this system), then judges Card Type and enters corresponding subscriber card or keeper blocks treatment scheme.In subscriber card and keeper block treatment scheme, consider that bad card may appear in long-term use, thereby be provided with and write card cumulative number restriction flow process, if write card accumulative total, still can not successfully, exit and report to the police for 6 times.
As mentioned above, can well realize the present invention.

Claims (6)

1. the water saving controller based on non-contact IC card, it is characterized in that: comprise the solenoid valve and the flow sensor that are arranged on water service pipe, described solenoid valve is connected with water control interface circuit, described water control interface circuit is connected with single-chip microcomputer, read/write head circuit in turn, described read/write head circuit is connected to radio-frequency card by radio-frequency field chain, and described single-chip microcomputer is connected with flow sensor.
2. the water saving controller based on non-contact IC card according to claim 1, is characterized in that: described single-chip microcomputer is also connected with digital display circuit.
3. the water saving controller based on non-contact IC card according to claim 1, is characterized in that: described single-chip microcomputer is also connected with data storage circuitry.
4. the water saving controller based on non-contact IC card according to claim 1, is characterized in that: described single-chip microcomputer is also connected with hummer.
5. the water saving controller based on non-contact IC card according to claim 1, is characterized in that: described single-chip microcomputer is also connected with power circuit.
6. according to the water saving controller based on non-contact IC card described in any one in claim 1-5, it is characterized in that: described single-chip microcomputer is that model is AT89C51.
CN201210305306.9A 2012-08-27 2012-08-27 Water-saving controller based on non-contact IC card Pending CN103632449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210305306.9A CN103632449A (en) 2012-08-27 2012-08-27 Water-saving controller based on non-contact IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210305306.9A CN103632449A (en) 2012-08-27 2012-08-27 Water-saving controller based on non-contact IC card

Publications (1)

Publication Number Publication Date
CN103632449A true CN103632449A (en) 2014-03-12

Family

ID=50213448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210305306.9A Pending CN103632449A (en) 2012-08-27 2012-08-27 Water-saving controller based on non-contact IC card

Country Status (1)

Country Link
CN (1) CN103632449A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105065750A (en) * 2015-09-08 2015-11-18 陈华 Energy-saving water controller
CN107476384A (en) * 2017-07-02 2017-12-15 昆山市克洛弗智能科技有限公司 A kind of water consumption electronic management system
CN109493525A (en) * 2017-09-13 2019-03-19 深圳市常工电子计算机有限公司 A kind of Internet of Things water regulator and application method based on two dimensional code

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202058240U (en) * 2011-03-11 2011-11-30 北京握奇数据系统有限公司 Measuring instrument and charging device thereof
CN202142131U (en) * 2011-07-14 2012-02-08 孙建东 Radio frequency card intelligent waterproof water meter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202058240U (en) * 2011-03-11 2011-11-30 北京握奇数据系统有限公司 Measuring instrument and charging device thereof
CN202142131U (en) * 2011-07-14 2012-02-08 孙建东 Radio frequency card intelligent waterproof water meter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105065750A (en) * 2015-09-08 2015-11-18 陈华 Energy-saving water controller
CN107476384A (en) * 2017-07-02 2017-12-15 昆山市克洛弗智能科技有限公司 A kind of water consumption electronic management system
CN109493525A (en) * 2017-09-13 2019-03-19 深圳市常工电子计算机有限公司 A kind of Internet of Things water regulator and application method based on two dimensional code

Similar Documents

Publication Publication Date Title
CN102099823B (en) Prepayment system for supplying water or gas by means of wireless intelligent card and meter for said system
Ramani et al. Bank locker security system based on RFID and GSM technology
BG65868B1 (en) Prepayment system and method for electric power meters using contactless smart cards with automatic supply cut-off device
CN106230484A (en) Wisdom electric energy terminal and control method thereof
CN103632449A (en) Water-saving controller based on non-contact IC card
CN207249827U (en) Quick Response Code and IC card water control system
CN205680203U (en) A kind of SCM Based IC-card intellectual water meter control system
CN202720723U (en) Water saving controller based on non-contact integrated circuit (IC) card
CN201562317U (en) Three-phase three-wire CPU card intelligent electric energy meter
CN204942697U (en) A kind of energy-saving water control device
CN104658110A (en) Water-saving controller
CN101281667A (en) Multi-point sampling, non-contact type IC card intellectual water meter
CN105118180A (en) Intelligent water meter
CN201212725Y (en) Integrated intelligent charging type water heater
CN203366437U (en) Intelligent multifunctional IC (Integrated Circuit) card gas meter
CN206363383U (en) A kind of pipeline intelligent watermeter amount controller of remote payment
CN214670882U (en) STS prepayment gas meter based on bluetooth communication
CN108168641A (en) A kind of intelligence pre-payment IC Card Water-Instrument
CN104422490A (en) Intelligent water leakage preventing water meter for water network terminal
CN207963985U (en) A kind of intelligence pre-payment IC Card Water-Instrument
CN207624103U (en) A kind of water meter system transmitted based on ultrasonic measurement and GPRS data
CN203311516U (en) Non-contact ic card water controller
CN207182517U (en) A kind of automatic checkout system of intelligent gas meter
CN206236126U (en) A kind of intelligent card read/write device with humiture display function
CN202711356U (en) RFID (Radio Frequency Identification) technology-based entrance guard system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140312