基于AT89C52单片机的家庭电源管理系统设计-毕业论文(设计).doc
文本预览下载声明
PAGE
存档日期: 存档编号:
本科生毕业设计(论文)
论 文 题 目: 基于单片机的家庭电源管理系统设计
姓 名: 杨金祥
学 院: 电气工程及自动化学院
专 业: 自动化
班 级 、 学 号: 08电51 0 8 2 8 5 0 18
指 导 教 师: 甘良志
江苏师范大学教务处印制
摘 要
本设计是基于单片机的家庭电源管理系统设计,由单片机AT89C52芯片、时钟芯片DS1302、键盘、LED数码管、继电器控制电路及漏电保护为核心构成一个可以由用户设定时间参数的家庭电源管理系统。通过LED数码管显示实时时间;用户可以通过键盘设置时间参数,当实时时间达到用户设定的时间参数的时候控制继电器动作,从而控制家用电器的接通或者关断;另外系统具有漏电保护的功能。
设计内容包括电源、按键、实时显示、继电器控制以及漏电保护等几部分。电源是由~220v经过变压器变压、整流与滤波、7805稳压模块,最后得到稳定的5v输出;实时时间的显示是通过读取DS1302中的时间数据最后显示在数码管上;继电器控制电路中的继电器采用5v继电器;漏电保护主要包括:检测元件(零序电流互感器)、中间环节(放大器、比较器)、执行元件(脱扣器)。
本设计可以使得家庭用电走向智能化,安全化,极大的方便用户的用电管理。
关键词: AT89C52 时钟芯片DS1302 继电器 漏电保护 家用电器
Abstract
The family power management system design is based on Single-Chip Microcomputer, AT89C52 Single-Chip Microcomputer, the clock by DS1302 chip, keyboard, LED digital tube, relay control circuit and leakage protection as the core, constitute a can be made by users set time parameter family power management system. Through the LED digital display real-time tube time ,The user can through the keyboard set a time parameters, when real-time time reaching users set time parameters to control the relay action, so as to control household appliances connected or shut off; Another system has the function of the leakage protection.
Design content including power supply, buttons, real-time display, relay control and leakage protection and several parts. By ~ 220 v power supply is after transformer variable pressure, rectifier and filtering, 7805 voltage stabilizing module, finally get stable 5 v output; Real-time display is through time to read the DS1302 time data showed that in the digital tube last; Relay control circuit of the relay the 5 v relay; Leakage protection mainly include: the test components (zero sequence curre
显示全部