1、 1 多用户电能表的应用设计多用户电能表的应用设计 课程设计报告 姓 名: 学 号: 专 业:电气工程及其自动化 班 级:09-2 班 邮 箱: 指导教师: 2 摘要摘要 电子式电能表是通过对用户供电电压和电流实时采样, 采用专用的电能表集 成电路,对采样电压电流信号进行处理并相乘转换成与电能成正比的脉冲输出, 通过计度器或数字显示器显示用户使用的电量。本文将设计一个以 C8051F360 芯片为核心,配有电能转换模块、LED 显示模块、掉电存储模块等功能模块, 实现对八户的用电状况进行采集检测。 本次设计用户数为八户,即实现八位用户循环显示电能量。同时,基于 E2PROM 24C16 芯片实
2、现单片机的掉电数据保护,基于 74HC165 芯片实现单片 机的清零。 基于 AD7755 芯片实现电能脉冲的发生;应用单片机 C8051F360 编制程序 完成脉冲的读取、计数、计算、存储、送显示等功能;应用 74HC164 及八段译 码显示器完成数据的显示; 应用 74HC165 及键盘控制对脉冲清零; 应用 E2PROM 24C16 完成数据的定时写入以防停电时数据丢失。 关键词关键词:8 用户电能表;AD7755;24C16;C8051F360 3 ABSTRACT Electrical meter is through user power supply voltage and cu
3、rrent real-time sampling, using special integrated circuit of electric energy meter, the sampling voltage current signal processing and multiplication convert to electric proportional to the pulse output, through the JiDuQi or digital display shows users with the use of the power. This paper will de
4、sign a C8051F360 chips as the core, equipped with electric energy conversion module, LED display module, power lost storage module function module, realizes to eight of the power consumption and the collection detection. The design for the eight users at home, which realize the eight users cyclic di
5、splay electric energy. At the same time, based on the single chip microcomputer chip realize 24 y E2PROM chips was the power lost data protection, based on the 74 HC165 chip microcontroller cleared of realization. Based on AD7755 chip realize the energy pulsing occur; C8051F360 single chip microcomp
6、uter application program to complete pulse to read, counting, computation, storage, send display function; Application HC164 and eight section 74 decoding display finish data display; 74 HC165 keyboard control and application of pulse reset; Application E2PROM chips was complete data of the timing 24 y write in case of power data is lost. Keywords:electric energy meter; 8 the user watt-hour meter; AD7755;24C16; C8051F360 4 目录目录 1 1 设计目的及要求设计目的及要求1 1.1