当前位置:文档之家› 基于单片机的IC卡智能水表控制系统设计附程序+图

基于单片机的IC卡智能水表控制系统设计附程序+图

1.1本研究课题的背景及意义
环境与发展,是当今国际社会普遍关注的重大问题,保护环境是全人类的共同任务。水资源作为生态环境中的重要资源,是人类生活的生产中不可取代的资源,对一个国家的生存和发展也是极为重要的。水资源是一切生命的源泉,是人类不可缺少的物质条件,没有水人类就不能生存,没有水人类赖以自下而上的物质生产就不能发展。
Thispaperhas finished the systematic hardware circuitsdesign and software design. Hardware circuit adoptsmodule design, includingwater flowmeasuringcircuit, IC card interface circuit, electromagnetic valve urge circuit, warning circuit, LED display circuit,etc. The workingprinciplesof every moduleare analyzed in details.The softwareof the system is finished inassembler language, the flowcharts areprovided.
IC卡智能水表及其管理系统的出现,将从根本上解决了已上问题。采用IC卡智能水表进行交易结算,不但实现了用水收费的电子化,而且还改变了先用水后收费的不合理状况,使的供水部门能预先收取部分费用,有利于公用事业的发展。IC卡智能水表具有成本低、可靠性高、使用寿命长及安全性好等优点,可提高居民用水收费的管理水平,确保供水部门能及时收取水费。因此,IC卡智能水表成为相关科研单位关注的重点,具有很好的经济效益与社会效益[1] [2]。
Keywords:Single-chip computer;Wiegand sensor;IC card;Intelligent watermeter;
low powerconsumption
第1章绪论
本章介绍了本研究课题的背景及意义,阐述了其发展状况。对当前水资源形势、传统水表和IC卡智能水表的特点及其水表的未来发展趋势作了概况。另外,简要说明了本文所做的工作。
由于历史的原因,我国大部分城市居民使用自来水,都是在区域性水站供水基础上,逐步发展成为以单位住宅区或以楼栋、单元为一户由自来水公司会主义市场经济发展的要求,成为人民物资生活迅速提高和供水企业落后的经营方式之间产生的主要矛盾。
随着社会经济的发展和人们生活水平的日益提高,智能化电子产品已逐步深入家庭,我们提出了IC卡智能水表的方案。
Thesystemhas many functions such as supplying orcutting off water automatically, intelligentrecognitionof IC cardanduser’s identityverifying, power-failprotection,LEDdisplay, intelligent switch control of electromagnetism valveetc. It also canpreventthe system from disturbanceanddisassembling.
摘 要

本文完成了系统的硬件电路设计和软件设计。硬件电路采用模块化设计,包括用水量检测电路、IC卡接口电路、电磁阀驱动电路、报警电路、LED显示电路等,详细分析了各模块的工作原理;系统软件采用汇编语言编制,给出了具体的程序流程图。
系统具有自动供停水、插卡智能识别、身份验证、掉电保护、LED显示、电磁阀门智能开关控制、防干扰、防拆卸等功能。
IC卡智能水表是一种利用现代微电子技术、现代传感技术、智能IC卡技术对用水量进行计量并进行用水数据传递及结算交易的新型水表。这与传统水表一般只具有流量采集和机械指针显示用水量的功能相比,是一个很大的进步。IC卡智能水表除了可对用水量进行记录和电子显示外,还可以按照约定对用水量自动进行控制,同时可以进行用水数据存储的功能。由于其数据传递和交易结算通过IC卡进行,因而可以实现由工作人员上门操表收费到用户自己去营业所交费的转变。IC卡交易系统还具有交易方便,计算准确,可利用银行进行结算的特点。
关键词:单片机;韦根传感器;IC卡;智能水表;低功耗
Abstract
Fora very long time, themanagementof used water of water user relieson man-madestyle,that needoperatorstoarriveat user’s home tocollect fees or usersreach appointedplace to hand in fees bythemselves. This traditional style has lots of disadvantages such as needing many operators, time consuming and low efficiency.Further more problems like arrears, dragging onwaterfeesetc.always appear.In order to solve these problems, thispaperdesignsanintelligentIC card watermetercontrol system based on thesingle-chip computer. The core of thesystemis asingle-chipmicrocomputer AT89C2051,the wiegand sensoris used tomeasure water consumption,the managements ofwater purchasing and consumptionare realized byIC card’swriting, readingand encryptiontechnology.
相关主题