文档介绍:基于单片机的智能电表的设计
摘要
公共事业收费自动化和小区物业管理智能化等领域的技术开发和应用越来越受到人们的重视,本文研究旨在提供一种利用低压电力供电网络,低成本高可靠地实现公共事业收费自动化和小区物业管理智能化的技术应用。
本次设计基于单片机AT89C51是以微处理器或微控制器芯片为核心的可以存储大量的测量信息并具有对测量结果进行实时分析、综合和做出各种判断能力的仪器。一般具有自动测量功能,强大的数据处理能力,进行自动调零和单位换算功能,能进行简单的故障提示,具有操作面板和显示器,有简单的报警功能。
关键词:单片机 AT89C51
Abstract
Technique of transmitting data via power line (PL), a new technique developed in recent years ,is used to automatism the free collecting system in public service and the management of uptown service. This article discussed the advantage , disadvantage and the current state of the power line munication. The advantage, method and current state of using spread spectrum technique in power munication are discussed.
This design based on the single-chip AT89C51is a microprocessor or microcontroller chip as the core can store large amounts of information and measurement with the measuring results real-time analysis, comprehensive and make a judgment apparatus. The general automatic measurement function, powerful data processing capability, automatic zero adjustment and unit conversion function, can carry on the simple troubleshooting tips, the operation panel and the LCD, a simple alarm function.
Keywords: single-chip, AT89C51
目录
摘要 I
Abstract II
目录 III
前言 1
1 智能电能表概述 2
智能电能表的概念 2
智能电能表的典型结构 2
智能电能表的主要特点 3
2 智能电能表的设计方法 4
智能电能表的硬件设计方法 4
微处理器或微控制器 5
传感器 5
信号调理 5
A/D转换器 5
D/A转换器 6
智能电能表的通信接口 6
智能电能表的软件设计方法 7
智能电能表的抗干扰方法 9
3 智能电能表的硬件设计 10
电能表概述 10
电能表的总体方案设计 10
电能表的控制芯片 12
AT89C51主要特性为: 12
AT89C51各主要引脚功能: 13
电能计量专用芯片 14
CS5460A的性能 14
CS5460A管脚说明 15
CS5460A外围电路及供电电路设计 17
微控制器AT89C51与CS5460A的接口 17
电源模块 18
电压电流采样模块 18
液晶显示芯片与AT89C51的接口 19
SMS0601的接口信号说明 20
SMS0601与AT89C51的接口 20
按键组功能及与AT89C51总线口的连接 21
SPI接口型EEPROM与AT89C51的接口 22
X5045管脚分布 22
X5045功能描述 23
X5045硬件连接 24
时钟模块 24
DS13O2的引脚分