资源描述:
《基于单片机的智能水表设计.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、毕业设计(论文)论文题目基于单片机的智能水表设计学号:XXXXXXXX姓名:XX专业:电气工程及其自动化系别:指导教师:XXXXXXX年XX月摘要本文以智能IC卡水表系统为研究对象,研究了基于单片机的智能水表的设计。首先提出射频IC智能水表系统的设计方案;其次对系统硬件电路结构进行了设计;再次介绍了系统软件设计原则以及控制流程。该智能水表以低功耗、低电压、高性能的8位单片机AT89C51为核心,以防干扰性能极高的双干簧管为流量传感器,另外本设计还有可显示状态字的LED显示屏以及报警模块,剩余水量到报警值或为零时,门阀驱动电路运作,自动关阀中断供水。采用射频读写芯片,当IC卡贴近感应区时,通
2、过读卡芯片读入所购水量并和水表内剩余水量累加,并写入射频卡水表内存储器。本设计不仅可以改善传统水表功能单一的缺点,测量精度更高,功能更强,可靠性更好,还能从根本上改变用户先用水后交费,采用人工抄表、按户收费的现状,彻底改善工作量大,收费周期长,收费困难,效率低下等缺点。关键词:智能水表;射频IC卡;AT89C51ABSTRACTWiththeintelligentICcardwatermetersystemastheresearchobject,researchthedesignofintelligentwatermeterbasedonsinglechipmicrocomputer.Fi
3、rst,putforwardthedesignschemeofRFICintelligentwatermetersystem;secondly,designhardwarecircuitstructureofthesystem;Finally,introducesoftwaredesignprincipleofthesystemandcontrolprocess.Theintelligentwatermeterwith8bitmicrocontrollerAT89C51forlowpower,lowvoltageandhighperformanceasthecore,doublereedp
4、ipeforhighanti-interferenceperformanceastheflowsensor,canalsobecapableofdisplayingstatuswordofLEDscreenandhasalarmmodule.Whenthesurpluswatertothealarmvalueorzero,gatedrivescircuitoperation,andshutwatersupplyvalveautomatically.Usingradiofrequencyread-writechip,whentheICcardclosetotheinductionzone,r
5、eadthepurchasingamountsandcumulativesurpluswateraccumulationinthewatermeterthroughthechipcardreader,andwriteinthememoryofRFcardwatermeter.ThisdesignnotonlyimprovestheshortcomingofthetraditionalwatermeterwithSinglefunction,whichhashigherprecision,strongerfunctionandbetterreliability,butalsofundamen
6、tallychangesthepresentsituationwherepeoplemustusewaterfirstandpayafter,whereusemanualmeterreading,wherechargebyhouseholds,thoroughlyimprovesthedisadvantagesofthebigworkload,longcycleofthecharge,difficultchargingandthelowefficiency.KEYWORDS:RFICcard;AT89C51;Intelligentwatermeter目录摘要iABSTRACTii目录iii
7、1绪论12系统分析及设计方案22.1系统设计技术指标22.2系统主要硬件23硬件设计33.1AT89C51单片机的介绍33.2流量传感器93.3阀门驱动电路103.4读写模块113.5通信模块133.6显示电路153.7报警电路153.8电源电路164软件设计174.1设计思路174.2主流程图184.3protues仿真结论21致谢22参考文献23附录一24附录二271绪论水资源短缺现象日益严重,加强用水科学管理是当前