您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于单片机的智能教室照明系统
基于单片机控制的教室灯光自动控制器的研究摘要本研究针对教室灯光的控制方法,尤其是教室灯光的智能控制方面的发展现状,分析了教室灯光智能控制的原理和实现方法,提出了基于单片机的教室灯光智能控制系统的设计思路,并在此基础上开发了智能控制系统的硬件装置和相应软件。该系统以AT89C2051单片机作为控制装置的智能部件,采用热释红外人体传感器检测人体的存在,采用TLC549构成的电路检测环境光的强度;根据教室合理开灯的条件,系统通过对人体的存在信号和环境光信号的识别和智能判断,完成对教室照明回路的智能控制,避免了教室用电的大量浪费。系统还具有多种报警功能;同时还采用了软/硬件的“看门狗”技术等抗干扰措旅。单片机软件采用汇编语言编制,采用模块化结构设计、条理清晰、通用性好,便于改进和扩充。该系统具有体积小,控制方便,可靠性高,专用性强,性价比合理等优点,可以满足各类大、中专院校教室灯光控制的要求,很大程度的达到节能目的。关键词红外传感器单片机热释电Basedonsingle-chipmicrocomputercontrolclassroomlightautomaticcontrollerABSTRACTBasedonthemethodofcontrollingthelamplight,especiallyinthelightofthestatusquoofthedevelopmentofintelligentcontrolareanalyzed,thelamplightofintelligentcontrolprincipleandrealizationmethod,isproposedbasedonsingle-chipclassroomlightintelligentcontrolsystemdesign,andonthebasisoftheintelligentcontrolsystemisdevelopedandthecorrespondingsoftware,hardwaredevice.ThissystemtocontroldeviceofAT89C2051singlechipmicrocomputerasintelligentparts,usingthermalinfrareddetectionsensormeasuringinterpretationofhumanbody,usinglightactivatedtriodecircuittestingenvironmentoflightintensity,Accordingtotheconditionoflights,rationalsystemofhumanexistencebyambientlightsignalsandtherecognitionandintelligentsignaltotheclassroom,lightingcircuitintelligentcontrol,avoidthewasteofaclassroom.Systemalsohasmanyalarmfunctions,Alsoinsoft/hardwareinthewatch-dogtechniqueetc.Single-chipmicrocomputersoftwareanti-interferencemeasuresadoptedassemblylanguage,modularstructuredesign,goodclear,generality,andtoimproveandexpand.Thissystemhastheadvantagesofsmallsize,highreliabilityandeasycontrol,thepriceisreasonable,strongspecificityetc,cansatisfyallkindsofbig,secondarycollegesclassroomlightcontrolrequirements,toagreatdegreeofenergy-savingobjective.KeywordsinfraredsensorsSCMpyroelectric目录摘要............................................................................................................................................IABSTRACT.....................................................................................................................................II1引言...........................................................................................................................................11.1本课题研究的意义.............................................................................................11.2国内外教室灯光控制器研究的现状及其存在的问题.................11.3本课题研究的内容和目标..............................................................................31.3.1研究内容........................................................................................................31.3.2研究目标........................................................................................................31.4本课题拟解决的关键问题..............................................................................42.教室灯光控制器简介及控制方案的分析........................................................52.1教室灯光控制器简介........................................................................................52.2系统控制方案的分析........................................................................................53.系统控制模块的硬件设计..........................................................................................63.1控制模块的硬件构成.........................................................................................63.2控制系统的主要硬件电路..............................................................................73.2.1系统主控电路..................................................................................................73.2.2日光强度检测模块电路...............................................................................83.2.3热释电红外人体检测模块电路..................................................................93.2.4系统时钟电路................................................................................................123.2.5系统看门狗电路............................................................................................153.2.6遥控键盘管理模块电路.............................................................................173.2.7超时报警电路................................................................................................193.2.8系统供电电路................................................................................................204控制模块软件设计与开发.........................................................................................214.1系统监控主程序模块......................................................................................214.1.1系统自检初始化............................................................................................224.1.2定时中断处理.....................................................................................................................234.2数据采集模块......................................................................................................244.2.1数据采集软件设计的实现.........................................................................244.2.2人体存在传感器的安装要求.....................................................................254.3时钟模块.................................................................................................................264.3.1
本文标题:基于单片机的智能教室照明系统
链接地址:https://www.777doc.com/doc-5032859 .html