首页
会员中心
到顶部
到尾部
51单片机

基于AT89C51单片机的智能电表设计

时间:2020/10/14 10:58:06  作者:  来源:  查看:0  评论:0
内容摘要: 摘要   单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,应用很广、发展很快。而51单片机是各单片机中最为典型和最有代表性的一种。随着我国城镇建设的快速发展,有关城市的水、电、气、暖表的管理和抄表出现的问题也日益突出,根据自来水网的改造、智能...

摘要
   单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,应用很广、发展很快。而51单片机是各单片机中最为典型和最有代表性的一种。随着我国城镇建设的快速发展,有关城市的水、电、气、暖表的管理和抄表出现的问题也日益突出,根据自来水网的改造、智能小区的建设以及实施“一户一表”工程的需要,本文设计了一种基于AT89C5单片机的智能网络电表,智能网络IC卡电表通过集中器和上位机管理系统连接,将电表的数据传输给远方的上位机,同时上位机管理系统通过集中器对智能网络电表进行监测和管理。
   本文采用AT89C51单片机作为主控芯片,开发一种基于IC卡技术的智能电表。该智能电表可实现总水量累计、月水量统计、水费计算与管理(报警金额、基础水量、计划水量),以及水阀控制等功能。同时具有预存水费、欠费提示、欠费停水等功能。

关键词:智能电表    AT89C51   IC卡技术
   
Abstract
  Because of its extremely high performance-price ratio, the single-chip computer (SCC) has been paid great attention to ever since it came out in 1970s of 20th Century, and has gained an extensive applicable field and fast development. Among all kinds of SCCs, 51 SCC is the most typical and representative one. More and more probelems are arising on the management and record-reading of water meter,electricity meter,and natural gas mater systems as the community development is growing fast.Aiming to slove these problems,the thesis designed a remote central meter reading system and intelligent water system, development of intelligent resident community and the high demand of one meter per family project.This intelligent water mater will collect the data and transfer it to the remote  upper-level managing system via concentrator and upper-level management system,while the upper-level management system is responsible for monitoring and managing intelligent water meter network.
  In this paper, AT89C51 SCM as a master chip, the development of IC card technology based on the intelligent  meter. The intelligent meter can realize the accumulated water, water, statistics, computing and management of water (the amount of alarm, basic water, the water plan), and valve control functions. At the same time with stored water and delinquent tips, delinquent water, and other functions.
KEY WORDS: Intelligent water meter   AT89C51   IC card technology
  
目录
摘要 I
第一章 绪论 1
1 .1 研究背景 1
1.2选题意义 和经济效益 2
1.2.1远程集中抄表系统及智能网络电表的推广应用前景 2
1.2.2社会效益 2
1.2.3设计的技术指标 3
1.2.4 采用的控制芯片 3
1.2.5采用的抄表方式 3
1.3智能电表市场 5
1.4智能卡表的安全性内容 6
1.4.1智能卡表及系统数据存储的安全性分析 7
1.4.2智能卡表及系统数据交换的安全性分析 9
1 .5论文的主要内容 11
第二章 整体设计与PROTELL简介 12
2.1远程集中抄表系统的总体概述 12
2.2远程集中抄表系统整体结构 12
2.2.1上位机管理系统 13
2.2.2集中器 13
2.2.3智能网络电表 13
2.3设计方案论证 14
2.3.1传输抄表方式 14
2.4 protel电气原理图设计软件 15
2.4.1  protel电路板设计软件 16
2.4.2  原理图的绘制 16
2.4.3  PCB图的绘制 17
第三章 智能电表的硬件设计 20
3.1系统硬件组主框图 20
3.2AT89C51单片机性能介绍 20
3.2.1 AT89C51单片机的特性 20
3.2.2 AT89C51单片机的引脚说明 21
3.2.3 AT89C51单片机的振荡器特性 22
3.2.4.芯片擦除: 23
3.3系统其他硬件的选择和电路设计 23
3.3.1 A/D转换电路 23
3.3.2 D/A转换电路 25
3.3.3数据采集传感器的选型 26
3.3.4 LCD显示 28
3.3.5控制阀门的选型 30
3.3.6电源电路 31
3.3.7 IC卡接口电路 32
3.3.8键盘设计 33
3.3.9报警电路 33
3.3.10防拆电路 34
3.3.11复位电路 34
3.3.12时钟电路 35
第四章 智能电表的软件设计 37
4.1软件设计思想和组成 37
4.2主程序设计 37
4.3中断服务程序设计 38
4.4子程序设计 39
4.4.1 LCD显示模块 39
4.4.2数据采集模块 40
4.4.3 电机控制模块 40
4.4.4低电压检测模块 40
4.4.5 IC卡处理模块 41
4.5总程序设计 44
第五章 可靠性和抗干扰性设计 45
5.1 对IC卡电表攻击种类 45
5.2 对电表的物理性攻击的防范办法 46
5.3  IC卡电表中干扰的种类 47
第六章 结论 50
参考文献 52
致谢 53
附录 54
一、英文资料翻译 54
二、相关程序 64
1、键盘程序 64
2、LCD1602的显示程序 66
3、欠压报警 程序 68
4、蜂鸣器程序 69
5、时钟程序 70
三、电路原理图 73

  


相关评论
本类推荐
    广告联系QQ:45157718 点击这里给我发消息 电话:13516821613 杭州余杭东港路118号雷恩国际科技创新园  网站技术支持:黄菊华互联网工作室 浙ICP备06056032号