教室智能节能控制系统

2025-07-06

基于单片机控制的教室灯光自动控制器的研究

教室智能节能控制系统

摘 要

本研究针对教室灯光的控制方法,尤其是教室灯光的智能控制方面的发展现状,分析了教室灯光智能控制的原理和实现方法,提出了基于单片机的教室灯光智能控制 系统的设计思路,并在此基础上开发了智能控制系统的硬件装置和相应软件。

该系统以AT89C2051单片机作为控制装置的智能部件,采用热释红外人体传感器检测人体的存在,采用TLC549构成的电路检测环境光的强度;根据教室合理开灯的条件,系统通过对人体的存在信号和环境光信号的识别和智能判断,完成对教室照明回路的智能控制,避免了教室用电的大量浪费。系统还具有多种报警功能;同时还采用了软/硬件的“看门狗”技术等抗干扰措旅。单片机软件采用汇编语言编制,采用模块化结构设计、条理清晰、通用性好,便于改进和扩充。该系统具有体积小,控制方便,可靠性高,专用性强,性价比合理等优点,可以满足各类大、中专院校教室灯光控制的要求,很大程度的达到节能目的。

关键词 红外传感器 单片机 热释电

I

基于单片机控制的教室灯光自动控制器的研究

Based on single-chip microcomputer control classroom light

automatic controller

ABSTRACT

Based on the method of controlling the lamplight, especially in the light of the status quo of the development of intelligent control are analyzed, the lamplight of intelligent control principle and realization method, is proposed based on single-chip classroom light intelligent control system design, and on the basis of the intelligent control system is developed and the corresponding software, hardware device. This system to control device of AT89C2051 single chip microcomputer as intelligent parts, using thermal infrared detection sensor measuring interpretation of human body, using light activated triode circuit testing environment of light intensity, According to the condition of lights, rational system of human existence by ambient light signals and the recognition and intelligent signal to the classroom, lighting circuit intelligent control, avoid the waste of a classroom. System also has many alarm functions, Also in soft/hardware in the watch-dog technique etc. Single-chip microcomputer software anti-interference measures adopted assembly language, modular structure design, good clear, generality, and to improve and expand. This system has the advantages of small size, high reliability and easy control, the price is reasonable, strong specificity etc, can satisfy all kinds of big, secondary colleges classroom light control requirements, to a great degree of energy-saving objective.

Keywords infrared sensors SCM pyroelectric

II

基于单片机控制的教室灯光自动控制器的研究

III

目 录

摘 要............................................................................................................................................ I ABSTRACT ..................................................................................................................................... II 1 引言 ........................................................................................................................................... 1

1.1课题的研究背景与前景 ............................... 1 1.2 本课题研究的内容和目标 .............................................................................. 1

1.2.1 研究内容 ........................................................................................................ 1 1.2.2 研究目标 ........................................................................................................ 2

1.4 本课题拟解决的关键问题 .............................................................................. 2 2.教室灯光控制器简介及控制方案的分析 ........................................................ 3

2.1教室灯光节能控制系统简介 ..................................................................... 3 2.2教室灯光节能系统控制方案的分析.....................3

3.硬件系统控制模块的设计 .................................................................................. 4

3.1 控制模块的硬件构成 ......................................................................................... 4 3.2 控制系统的主要硬件电路 .............................................................................. 5

3.2.1 系统主控电路 .................................................................................................. 5 3.2.2 日光强度检测模块电路 ............................................................................... 6

3.2.3红外线热释电传感器...................................7

3.2.4 系统时钟电路 .................................................................................................. 9 3.2.5系统看门狗电路 ............................................................................................ 12 3.2.6 遥控键盘管理模块电路 ............................................................................. 14 3.2.7 超时报警电路 ................................................................................................ 16

基于单片机控制的教室灯光自动控制器的研究

3.2.8 系统供电电路 ................................................................................................ 17

4 控制模块软件设计与开发 ......................................................................................... 18

4.1 系统监控主程序模块 ...................................................................................... 18

4.1.1系统自检初始化 ............................................................................................ 19

4.1.2 定时中断处理 ..................................................................................................................... 20

4.2 数据采集模块 ...................................................................................................... 21

4.2.1 数据采集软件设计的实现 ......................................................................... 21 4.2.2 人体存在传感器的安装要求 ..................................................................... 22

4.3 时钟模块 ................................................................................................................. 23

4.3.1时钟程序设计 ................................................................................................. 23

4.4 系统键功能 ............................................................................................................ 25

4.4.1 遥控键盘 ......................................................................................................... 25 4.4.2 键功能处理程序 ........................................................................................... 27

5 结论与建议 ......................................................................................................................... 29

5.1结论 ............................................................................................................................. 29 5.2建议 ............................................................................................................................. 29 致 谢 ................................................................................................................................... 30 参考文献 ................................................................................................................................... 31 附录………………………………………………………………………………………………………………………………………..36

2


教室智能节能控制系统.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:周瑜与诸葛亮对诗趣闻

相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219