基于单片机的智能照明控制系统毕业设计论文

《基于单片机的智能照明控制系统毕业设计论文》由会员分享,可在线阅读,更多相关《基于单片机的智能照明控制系统毕业设计论文(45页珍藏版)》请在文档大全上搜索。
1、本科生毕业论文(设计)题目室内智能照明控制系统的研究与设计学生姓名李天顺学号专业班级建筑电气与智能化10101班指导老师曾进辉2013年11月基于单片机的智能照明控制系统设计摘要随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。本文介绍了基于单片机AT89C51的室内灯光控制系统及其原理,提出了有效的节能控制方法。该系统采用了当今比较成熟的传感技术和计算机控制技术,利用多参数来实现对学校教室
2、室内照明的控制。系统设计包括硬件设计和软件设计两部分。该照明控制系统的主控制器、分控制器分别是以AT89C51和AT89C205俾片机为基础,实现了通信、信号采集、控制与显示等功能。使用光电子镇流器,使光源具备自动调节功能。文中详细地描述了控制电路的设计过程,包括:光信号取样电路、人体信号采集电路、键盘与LED显示电路、RS485通信电路、照明灯控制电路、看门狗电路以及信号处理电路等。对于软件设计主要有主控制器、分控制器的有线通信程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。工作时,光信号取样电路采集光照强弱、人体信号采集电路采集室内是否有人、是否为工作时间等信息并将信号送到
3、单片机,单片机根据这些信息通过控制电路对照明设备进行开关操作,从而实现照明控制,以达到节能的目的。关键词:智能控制,主控制器,分控制器,单片机,定时控制TheControlSystemforIntelligentLightingBasedonSingle-chipMicrocomputerAuthor:LiGuozhongTutor:SunManAbstractWiththerapiddevelopmentofelectronictechnology,thesystemofcontrolbasedonSingle-chipMicrocomputeriswidelyappliedinindust
4、ry,agriculture,electricpower,electron,intelligentbuildingandsoon.Microcomputer,asthesubjectandcoreoftheembeddedsystemofcontrol,replacesthetraditionalsystemelectroniccircuit.Atthesametime,thedevelopmentandmaturationoftheintelligentbuildingforthepopularizationandapplicationofthecontrolsystemforlightin
5、gbasedonsingle-chipmicrocomputer。Inthispaper,theIndoorLightingControlSystemBasedonAT89C51anditsprincipleareintroduced.Someeffectiveandenergysavingcontrolstrategysoflightingsystemarebroughtforward.Thecurrentsystemusesarelativelymaturesensortechnologyandcomputercontroltechnology,usingmulti-parameterto
6、achievetheschoolclassroomindoorlightingcontrol.Thesystemincludesintwoparts.TheAT89C51single-chipmicrocomputer,andtheauxiliaryonesarebasedonAT89c2051.Thesystemcandomanyjobs,suchaswiredcommunication,SignalAcquisition,wirelessdatatransmitting,controllinganddisplay.Useofelectonicballasts;thelightsourcew
7、ithautomaticadjustmentfunction.Thepaperdescribesthedesigningprocessofthecircuitatlength,including:Opticalsignalsamplingcircuit,thebodysignalacquisitioncircuit,keyboardandLEDdisplaycircuit,RS485communicationcircuit,wirelesstransmittingcircuit,controlcircuitoflighting,watchdogcircuit,etc.Thedesigningo
8、fsoftwaremainlyincludestheseveralprogramming,suchaswiredcommunication,lamplightcontrolling,timedcontrolling,keyboardscanning,LEDdisplayingandsignalprocessingcircuit.ThewiredcommunicationprogrammingfunctionisthatthroughMaster-slavecommunicationmethodbasedonRS485thelighting,turningofflighting,regulati
9、ngbrightnessoflighting,controllingtimedlighting,etc.Work,theopticalsignalsamplingcircuitcollectinglightingintensity,indoorcollectingofsignalacquisitioncircuitifanyone,whetherforworktimeandotherinformationandsignaltothemicrocontroller,MCUcontrolcircuitibasedontheseinformationthroughtheswitchingoperat
10、ionoflightingequipmentinordertoachievelightingcontrolstosavaenergy.KeyWords:Intelligentcontrol,Hostcontroller,Auxiliarycontroller,Single-chipmicrocomputer,Timedcontrolling1 绪论1.1 课题研究背景11.2 智能照明控制系统的发展与现状11.2.1 智能控制技术的研究现状11.2.2 国内外智能照明发展概况11.2.3 智能照明控制系统的优点21.2.4 智能照明控制系统的组成21.2.5 现有智能照明控制系统的分析21.3
11、 系统设计31.3.1 系统设计要点31.3.2 系统设计思路32硬件电路设计与实现2.1 系统硬件总述72.2 CPU性能介绍72.3 主控制器电路设计72.3.1 键盘的接口设计82.3.2 LED数码显示的接口设计92.3.3 看门狗监控电路的设计92.4 分控制器的电路设计92.5 RS485通信电路的设计102.6 光信号取样电路122.6.1 Microwire串行总线,性能介绍132.6.2 TLC1549的接口设计142.6.3 TCL1549的数据采集程序设计152.7 人体信号采集电路162.7.1 人体红外探头162.7.2 信号处理电路192.7.3 比较电路202.8