您好,欢迎来到佳博论文网!

单片机设计的智能表箱控制系统

论文编号:DZXX281 论文字数:13331,页数:43

摘要

在我国,随着市场经济的发展,窃电现象日趋严重。如何完善防窃电技术,有效地遏制窃电行为,长期以来一直是供电企业十分关心的问题。

为了有效地遏制窃电行为,为了推广单片机在工业领域中的应用,本论文研究一种应用AT89C2051单片机设计的智能表箱控制系统。这种系统具有安全、实用、成本低等优点。该智能表箱控制系统的控制部分采用了8051核的单片机AT89C2051和带4KB EEPROM采用SPI全双工数据通信的看门狗芯片X5045P(两个看门狗芯片X5045P,一个在钥匙上,一个在控制板上)。通过读取钥匙X5045P中预先设定的密码与控制板上X5045P中存储的密码比较是否相同,单片机控制继电器通过吸合与释放的方式对断路器实现控制功能,以达到防窃电的目的。

关键词: 单片机,AT89C2051,X5045P,看门狗芯片,防窃电

ABSTRACT

In our country, with the development of market economy, stealing power energy is become more and more serious. How to perfect the technology of preventing stealing power energy to restrict this deed is a problem which most of power supply corporations are care of in a long time.

In order to restrict the deed of stealing power energy and in order to expand the applications of SCM into industrial appliances。This thesis talked about an ammeter box control device which controlled by AT89C2051 (MCU). This device is safe, practical and low cost. The control part of the MCU system AT89C2051 and x5045p (two x5045p watchdog chips using SPI communications watchdog chip, one in a key, the other in a control board) By comparing password preestablished and password stored in X5045 in the control board, then decide the Pick-up and release of relay and control the breaker. To achieve the purpose of preventing stealing power energy.

Keywords: Micro Controller Unit (MCU),AT89C2051,X5045P,Watchdog , Preventing Stealing Power Energy

目录

摘要I

ABSTRACTII

第1章 绪论1

1.1课题背景1

1.2 本论文的主要工作2

第2章 系统原理和功能3

2.1 防窃电原理3

2.2 系统功能指标3

2.3 本章小结4

第3章 硬件设计5

3.1 开发工具Protel 99 SE5

3.2 硬件设计及电路原理图6

3.2.1 使用的单片机芯片简介7

3.2.2 电源电路设计13

3.2.3 单片机部分14

3.2.4 继电器控制电路15

3.2.5 系统的LED指示灯15

3.2.6 蜂鸣器电路设计16

3.2.7 对外端口17

3.2.8 电路中EMC18

3.2.9 控制部分18

3.3 电路原理图及印刷电路板图19

3.4 电源板焊接调试总结20

3.4.1 焊接说明20

3.4.2 调试说明21

3.5 本章小结21

第4章 软件设计22

4.1 C51单片机软件开发系统22

4.2程序文件及功能说明22

4.3程序流程框图24

4.4主要函数说明24

4.5 本章小结26

第5章 系统测试27

5.1 测试分类27

5.2 测试设备及环境27

5.3 测试方法内容27

5.3.1 控制功能功能测试27

5.3.2 外观质量测试28

5.3.3 各种温度下测试28

5.3.4 检测方法综述29

5.4 本章小结29

第6章 结论30

致谢31

参考文献32

附录 源代码33

单片机设计的智能表箱控制系统......