【正文】
1 摘要 本課題主要是處理室內燈光的控制,節(jié)約能源的問題,尤其是針對當前社會室內燈光的智能控制方面的發(fā)展緩慢的現狀。本課題詳細分析了室內燈光智能控制的原理和實現方法,提出了基于單片機和模擬電路相結合的室內燈光智能控制系統(tǒng)的設計思路,并在此基礎上開發(fā)了智能控制系統(tǒng)的硬件裝置和相應軟件。 該系統(tǒng)以 AT89C52 單片機作為主控制裝置的 “ 大腦 ” ,采用熱釋紅外人體傳感器檢測人員的存在與否,采用光敏電阻構成的電路檢測周圍環(huán)境的光照強度。以室內人員數目作為打開照明燈的條件,系統(tǒng)通過對人體的存在信號和周圍環(huán)境光強信號的 識別和智能判斷,實施對室內照明調節(jié)的智能控制,避免了室內照明用電的大量浪費。同時還采用了軟 /硬件的 “ 看門狗 ” 技術等抗干擾措施。單片機軟件程序部分采用 C 語言編寫,采用模塊化結構設計、條理清晰、通用性強,便于改進和擴充。 該系統(tǒng)具有一下優(yōu)點:體積小,控制簡單,可靠性高,專用性強,性價比高等優(yōu)點,可以滿足各類室內燈光控制的要求,最大程度的達到節(jié)約能源的目的。 關鍵詞 :人體;紅外線;傳感器;自動控制;熱釋電 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 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, 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 warning devices, 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 of structured program languages, it has more advantages than other highlevel languages. Assemble language adopts building block design. Its monality 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 antijamming 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 mand of the classroom39。 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. 3 本課題研究的意義 隨著當今社會經濟和科學技術的飛速發(fā)展,我們的生活水平也在不斷的快速提高,致使用電負荷的日益加劇,而當今世界全球性的能源危機,能源缺乏已成為全世界所面臨的嚴峻問題。尤其對我國來說非常嚴重。伴隨著各類室內、樓盤、公司的擴建,室內照明的需求也變的越來越多,而室內照明的管理不能及時到位,往往會造成電能的大量浪費。因此,提高室內用電效率就成為首要考慮的一大問題。 目前對燈光的智能控制系統(tǒng),國內外 己經開始采用,但于對室內燈光的控制,尤其是我國室內燈光的智能控制尤為缺