摘 要:本文针对教室照明用电浪费的现象,提出了一种以单片机为基础的智能控制系统,分析了教室内实现智能照明控制的方法和原理,并且在此基础上设计了智能控制系统的硬件和相应的软件。该照明控制系统的主控制器、分控制器分别是以AT89C51和AT89C2051单片机为基础,采用热释电传感器检测人体的存在,采用光敏三极管构成的电路检测环境光的强度;根据教室合理开灯的条件,通过对人体存在信号和环境光信号的识别与判断,完成对教室灯光的智能控制,避免了教室用电的大量浪费。工作时,光信号取样电路采集光照强弱、人体信号采集电路采集室内是否有人、是否为工作时间等信息并将信号送到单片机,单片机根据这些信息通过控制电路对照明设备进行开关操作,从而实现照明控制,以达到节能的目的。56881
毕业论文关键词:照明,智能控制,单片机,采集电路,节能
Abstract:In view of the phenomenon of classroom lighting electricity waste in this paper, a microcontroller based design was opposed, and the realization method and principle of intelligent lighting control in classroom were introduced, and on the basis of the design of the intelligent control system, I designed hardware and software module corresponding to the part of it. The controller of the lighting control system is based on AT89C51 and AT89C2051 MCU, using pyroelectric infrared sensor to detect the presence of human body, using circuit composed of the photosensitive triode to test the intensity of ambient light; according to reasonable lighting conditions in the classroom, finished to control intelligent lighting of the classroom by Identification and judgment of the signal and the ambient light signal, to avoid the use of waste electric classroom. When it is working, the optical signal sampling circuit to collect the intensity of illumination, the human body signal acquisition circuit to collect that if anyone is in the classroom and whether it is the working time and so on, and sending the signal to the microcontroller, according to this information, which does a switch operation of lighting equipment by the control circuit, so as to realize the lighting control, to achieve the purpose of energy saving.
Keywords:lighting, intelligent control, single chip microcomputer, acquisition circuit, energy saving
目 录
1 引言 4
1.1 课题研究背景 4
1.2 课题研究目的及意义 4
2 系统方案设计 4
2.1 设计要求 4
2.2 设计思路 5
3 硬件电路设计与实现 6
3.1 系统硬件结构框图 6
3.2 主控制器电路设计 7
3.3 从控制器电路设计 8
3.4 人体信号采集电路 8
3.5 光信号取样电路 9
3.6 控制电路 10
4 系统软件设计与实现 11
4.1 人机交互程序设计 12
4.2 照明控制程序设计 14
5 系统调试运行 18
5.1 硬件调试 18
5.2 软件调试 19
结 论 21
参考文献 单片机的智能照明控制系统的设计:http://www.751com.cn/zidonghua/lunwen_61462.html