1、 目 录 1 前言 . 3 1.1 智能电表应用的意义 . 3 1.2 智能电表的发展 . 3 2 总体方案设计 . 5 2.1 方案比较 . 5 2.2 方案选择 . 7 3 器件介绍和单元模块设计 . 8 3.1 单元模块设计 . 8 3.1.1 电源模块电路 . 8 3.1.2 信号采集电路 . 9 3.1.3 计量模块 . 10 3.1.4 时钟及 LCD 显示模块 . 11 3.1.5 接触式 IC 卡模块 . 12 3.2 器件介绍 . 12 3.2.1 STC89C52 单片机 . 13 3.2.2 ADE7758 . 13 3.2.3 DS12887 . 14 3.2.4 LC
2、D1602 . 15 3.2.5 SLE4442 . 17 4 软件设计 . 18 4.1 主要芯片读写程序设计及设计工具 . 18 4.2 主要软件设计流程框图及说明 . 21 5 系统硬件调试 . 23 6 系统软件调试 . 26 7 总结与体会 . 28 8 谢辞 . 29 9 参考文献 . 30 附录 1:电路原理图 . 错误!未定义书签。 附录 2: PCB 图 . 错误!未定义书签。 附录 3:程序 . 错误!未定义书签。 附录 4:英文文献翻译 . 错误!未定义书签。 插卡式( IC)智能电能表设计 摘 要: 智能电表采用 ADE7758 电能计量芯片和 STC89C52 单片机
3、为核心,实现对于用户功率的测量,并根据阶梯电价计算出卡内电费剩余等情况,电能表附带万年历,自动报警,调节阶梯电价等功能,万年历功能采用芯片DS12887 时钟 芯片为核心来实现,自动报警功能用蜂鸣器进行模拟,并通过四个键盘实现显示的切换以及电价的调整功能, IC 卡采用西门子公司的SLE4442 卡,可实现逻辑加密,可反复读写,卡内数据保密性好。 关键词: 智能电表, ADE7758,时钟芯片,电能计量 Abstract: Smart Meters uses ADE7758 Electricity measurement chip and STC89C52 microcontroller as
4、 a core to implement the measurement of consumers power and calculate the remaining electricity bill, based on stepwise power tariff. In addition, the Smart Meters is attached with a calendar, automatic alarm, and electricity adjustment function. The details of these functions are as follows: the ca
5、lendar adopts clock chip DS12887 as a kernel to do the work, the automatic alarm uses Buzzer to simulate ,together with actualizing the vision switch as well as electricity adjustment through four keyboards. IC card employ the SLE4442 of Siemens company, which can realize logic encryption, can read and write relapsable, the security of the data inside card is good. Keywords: Smart Meters, ADE7758, clock chip, Electricity measurement.