资源描述:
《教室灯光控制系统_毕业设计.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、摘要本课题主要是处理室内灯光的控制,节约能源的问题,尤其是针对当前社会室内灯光的智能控制方面的发展缓慢的现状。本课题详细分析了室内灯光智能控制的原理和实现方法,提出了基于单片机和模拟电路相结合的室内灯光智能控制系统的设计思路,并在此基础上开发了智能控制系统的硬件装置和相应软件。该系统以AT89C52单片机作为主控制装置的“大脑”,采用热释红外人体传感器检测人员的存在与否,采用光敏电阻构成的电路检测周围环境的光照强度。以室内人员数目作为打开照明灯的条件,系统通过对人体的存在信号和周围环境光强信号的识别和智能判断,实施对室内照明调节的智能控制,避
2、免了室内照明用电的大量浪费。同时还采用了软/硬件的“看门狗”技术等抗干扰措施。单片机软件程序部分采用C语言编写,采用模块化结构设计、条理清晰、通用性强,便于改进和扩充。该系统具有一下优点:体积小,控制简单,可靠性高,专用性强,性价比高等优点,可以满足各类室内灯光控制的要求,最大程度的达到节约能源的目的。关键词:人体;红外线;传感器;自动控制;热释电..AbstractCurrentlylightintelligentcontrolsystemsarenotefficientlyusedintheclassroom.Inordertoimpro
3、vethesystem,basedoncontrolandcurrentmethodsofhowtokeepcontrol,developingintelligentclassroomlightcontrolsystemanddevelopedthehardwareandsoftwaresystem.ThisclassroomlightintelligentcontrolsystemthetheoryofthelightputforwardmethodsofonthebasisofAT89C52isdeveloped,whichmachine
4、ofAT89C52isamajorpart,andtheenvironmentofdevelopmentisbetterthanbefore.Thissystemcansatisfythefollowingfunctions,suchascontrollingthecircuitofillumination,testingandprocessingdaylightsignal,testingandprocessingthesignalofhumanbodythatilluminatesthebacktrackexists,reportingt
5、othewarningdevices,etc.Inordertosatisfythesefunctions,thesystemadoptedthehomologousmethodsrespectively,andtothegearingofthesystem,analyzinghowtoinstall,testandrunthesystem.Themicrocontrollersoftwarewasdevelopedbasedonassemblelanguage.Assemblelanguageisonekindofstructuredpro
6、gramlanguages,ithasmoreadvantagesthanotherhigh-levellanguages.Assemblelanguageadoptsbuildingblockdesign.Itscommonalityisverygoodandeasytoimproveandexpand.Itcouldbeusedtodeveloplarger一scalesystemwithmoreperfectperformance.Atthesametime,theanti-jammingtechnologies,suchaswatch
7、dog,arenecessarywhendevelopinghardwareandsoftware.Thissystemhadmanyadvantages.Forexample,thephysicalvolumewassmall,thesystemwasconvenientlycontrolled,thecredibilitywashigh,theappropriationwasstrong,anditspriceproportionwasideal,etc.Theexperimentprovedthatthesystemcansatisfy
8、thecontrolcommandoftheclassroom'slightdevice,soitcouldlargelyreducetheconsumingofe