1、 毕毕 业业 设设 计计 技技 术术 报报 告告 课题名称:自适应路灯控制器设计 学生姓名: 学 号: 专 业: 班 级: 2012 级 4 班 指导教师: I 目录目录 第一章 前言 1 1.1 课题研究的背景及意义 1 1.2 路灯照明技术发展状况及趋势 1 1.2.1 路灯照明技术的现状 1 1.2.2 路灯照明技术的发展趋势 2 第二章 自适应路灯控制系统的方案设计 3 2.1 控制系统的理论分析 3 2.2 控制系统的整体设计方案 3 第三章 硬件电路设计 4 3.1 系统中的主要器件的介绍 4 3.1.1 单片机 AT89C51 简介 . 4 3.1.2 模数转换芯片简介 5 3.
2、1.3 通信芯片简介 6 3.1.4 时钟芯片简介 7 3.1.5 显示模块简介 7 3.1.6 光传感器简介 8 3.1.7 继电器简介 9 3.2 主要模块电路设计 10 3.2.1 单片机最小系统电路 10 3.2.2 光照采集电路 11 3.2.3 时钟电路 12 3.2.4 路灯开关电路 12 3.2.5 串口通信电路 13 第四章 软件设计 14 4.1 系统控制程序的设计流程 14 4.2 功能模块程序设计 15 4.2.1 模数转换程序设计 15 II 4.2.2 读取时间程序设计 16 4.2.3 显示程序设计 18 4.3 系统控制程序设计 19 4.3.1 控制继电器程序
3、设计 19 4.3.2 关灯方式程序设计 19 4.3.3 时间调整程序设计 20 4.4 串口通信程序设计 21 第五章 仿真测试 22 5.1 光照控制仿真测试 22 5.2 时钟控制仿真测试 22 5.3 系统总控制仿真测试 23 第六章 结束语 25 参考文献 26 附录 27 致谢 32 I 摘要摘要:在现代化城市中,道路路灯成为城市的一条靓丽风景线,但是美好的表面下 却存在着严重的电能资源浪费,实现路灯的自适应控制进而达到能源节约是本设计的主 要目的。本设计主要由光敏电阻构成的光照传感器、AT89C51 单片机、电磁继电器三部 分构成,光照传感器实现光照度的采集,单片机作为主控制中
4、心处理数据,继电器为执 行元件调控路灯的亮灭。本系统采用的策略是首先按照光照度对路灯自适应关灯控制, 此外还需要按照预先设计的时间策略对路灯自适应开灯控制。 关键字:关键字:路灯;自适应;光照传感器;单片机;继电器 II ABSTRACT: In a modern city,street lamps become a beautiful landscape of the city, but there is a serious waste of resources under the better surface. The main purpose of this design is to r
5、ealize the adaptive control of street lamp and achieve energy saving. This system mainly consists of three parts, which are light sensor, single chip microcomputer and relay. The light sensor collects light illumination, the single chip microcomputer as the control center to deal with data, the rela
6、y as the control switch controls the opening and closing of the street lamp. The strategy adopted in this system is to control the street light adaptive according to the light intensity, in addition to the time in accordance with the strategy of beforehand designed adaptive control on the lamp lights. KEY WORDS:street lamp;adaptive; light sensor;single chip microcomputer;relay 1 第一章第一章 前言前言 1.1 课题研究的背景及意义课题研究的背景及意义 社会的城市化进程越来越快,路灯在城建中的重要性愈发显著。