文档介绍:山东科技大学信息与电气工程学院
单片机在电力系统中的应用
八户电子单相电能表设计与调试
姓名刘昌奇_ 学号 4
手机 Email @
专业电气工程及其自动化班级 09-2班
指导教师及职称_公茂法(教授)_
开课学期 2011 至 2012 学年 2 学期
提交时间 2012 年 6 月日
摘要
本文介绍了一种以AD7755 的电能脉冲发生器模拟用户用电情况,应用单片机C8051F360编制程序完成脉冲的读取、计数、计算、存储、显示等功能,用74HC164及八段译码显示器完成数据的显示,使用E2PROM 24C16芯片来实现单片机的掉电数据保护,使用74HC175和键盘搭配实现对每户用电情况清零,并提供了其硬件和软件设计结构,该电能表可实现电能计量、数码管显示、掉电存储、清零等功能。
在本电子电能表的前面板上有8位数码管显示器,前两位为分户号,后6位为分户用电量,所显示的用电量与分户号相对应,分户循环显示,每隔2秒切换一次用户。
八户电子电能表采用单片机C8051F36作为中央处理器,每块电能表可对8户的用电情况进行集中检测、循环显示并具有掉电保护的功能。该电能表与传统感应式电能表相比,有效地提高了电能计量的准确性,且具有体积小、质量轻、安装方便等优点。
关键词:C8051F360;电量;电能表;电能转化脉冲芯片有AD7755;硬件设计;软件设计
ABSTRACT
Eight electronic energy meter with a microcontroller C8051F36 as the central processor, each energy meter eight electricity centralized testing, recycling and power-down protection function. Compared with the traditional induction meter to the power meter, and to improve the accuracy of energy metering, and has a small size, light weight, easy to install.
This article describes the function of an AD7755 power pulse generator that simulates user of electricity in the application MCU C8051F360 programming plete the pulse reading, counting, computing, storage, display, complete data using the 74HC164 and eight out of decoding display, to achieve single-chip power-down data protection of E2PROM 24C16 chip, 74HC175 and keyboard with the household electricity consumption is cleared, and provides hardware and software design structure, the energy meter energy metering, the digital control display, power-down storage, cleared and functions.
8 digital display of the electronic energy meter front panel, behind the household electricity consumption of household electricity consumption, shown in the last six corresponding to the household, household cycle display every 2 seconds to switch a user.
Keywords: C8051F360 microcontroller; AD7755; power; energy meter
目录
1 前言 1
2 设计任务及要求 2
3 设计原理 3
系统方案 3
设计总论 3
方案设计框图 4
4 硬件电路设计 5
单片机电路部分 5
稳压电源 8
AD