1、I 摘 要 随着现代工业的迅速发展以及人民生活水平的不断提高,对电能的 需求越来越大,这对电量的计量与管理提出了新的要求:实施分时电价, 实现自动抄表和收费等。为了能够满足上述要求,数字电能表应运而生。 本文从硬件和软件两个方面分别对数字电度表系统设计进行了较为 全面的阐述。硬件方面,以电能计量专用芯片 SM9903 和 AT89C52 微处理 器芯片为核心,阐述了电能计量、控制部分、显示电路、电量信息传输、 用电数据存储器扩展等五大模块的电路设计。软件方面,给出了主要子 程序的设计流程图及部分程序的源代码清单,包括掉电能检测子程序、 显示子程序、通信子程序及按键扫描子程序。 本设计为数字电度
2、表的软件设计,因此重点分析了软件设计,对硬 件方面作了简单的介绍,并在结论中阐述了尚需进一步解决的问题以及 下一步的工作内容。 关键关键词词:数字 电度表 SM9903 II AbstractAbstract With the rapid development of modern industry and the continuous improvement of peoples living standards, the growing demand for electricity, which is the measurement and management of electricit
3、y has made new demands: the use electricity price, automatic meter reading and charges. In order to meet these requirements, digital power meter came into being. This article from the hardware and software were two aspects of digital power meter system design a more comprehensive exposition. Hardwar
4、e, energy metering to ASIC SM9903 and AT89C52 microprocessor as the core, on the power measurement, control of the show circuit, information transmission of electricity, electricity and other five major data memory expansion module circuit design. Software, is the main subroutine flow chart of the design process and some of the source code list, including the power-down routines can be detected, show routines, communications routines and keys scan routines. This design for digital electric m