《教室灯光控制系统毕业设计》由会员分享,可在线阅读,更多相关《教室灯光控制系统毕业设计(41页珍藏版)》请在毕设资料网上搜索。
1、 1 摘要 本研究针对教室灯光的控制方法,尤其是教室灯光的智能控制方面的发展现状,分析了教室灯光智能控制的原理和实现方法,提出了基于单片机的教室灯光智能控制系统的设计思路,并在此基础上开发了智能控制系统的硬件装置和相应软件。 该系统以 AT89C52 单片机作为控制装置的智能部件,采用热释红外人体传感器检测人体的存在,采用光敏三极管构成的电路检测环境光的强度 ;根据教室合理开灯的条件,系统通过对人体的存在信号和环境光信号的识别和智能判断,完成对教室照明回路的智能控制,避免了教室用电的大量浪费。系统还具有多种报警 功能 ;同时还采用了软 /硬件的“看门狗”技术等抗干扰措施。单片机软件采用汇编语言
2、编制,采用模块化结构设计、条理清晰、通用性好,便于改进和扩充。 该系统具有体积小,控制方便,可靠性高,专用性强,性价比合理等优点,可以满足各类大、中专院校教室灯光控制的要求,很大程度的达到节能目的。 关键词 :人体 ; 红外线 ; 传感器 ; 自动控制 ; 热释电 2 Abstract Currently light intelligent control systems are not efficiently used in the classroom. In order to improve the system, based on control and current methods
3、of how to keep control, developing intelligent classroom light control system and developed the hardware and software system. This classroom light intelligent control system the theory of the light put forward methods ofon the basis of AT89C52 is developed, which machine of AT89C52 is a major part,
4、and the environment of development is better than before. This system can satisfy the following functions, such as controlling the circuit of illumination, testing and processing daylight signal, testing and processing the signal of human body that illuminates the back track exists, reporting to the
5、 warning devices,etc.In order to satisfy these functions, the system adopted the homologous methods respectively, and to the gearing of the system, analyzing how to install, test and run the system. The microcontroller software was developed based on assemble language. Assemble language is one kind
6、of structured program languages, it has more advantages than other high-level languages. Assemble language adopts building block design. Its commonality is very good and easy to improve and expand. It could be used to develop larger 一 scale system with more perfect performance. At the same time, the
7、 anti-jamming technologies, such as watchdog, are necessary when developing hardware and software. This system had many advantages. For example, the physical volume was small,the system was conveniently controlled, the credibility was high, the appropriation was strong, and its price proportion was ideal,etc. The experiment proved that the system can satisfy the control command of the classroom s light device, so it could largely reduce the consuming of energy resources. Key words: Human body, infrared ray, sensor, automatic control, heat to release the electricity1.