学士学位论文智能照明控制系统的设计姓名:×××学号:×××××××指导教师:×××学院:×××学院专业:×××完成日期:××××年×月×日学校代码:10904学士学位论文智能照明控制系统的设计姓名:×××学号:×××××××指导教师:×××学院:×××学院专业:×××完成日期:××××年×月×日摘要随着电子科技和信息技术的飞速发展,单片机在控制领域有了广泛的应用。基于单片机的控制系统大量的用于工业、农业、电力、电子、航天等行业,单片机作为一种微型的计算机已经逐步成为嵌入式控制系统的主题与核心。并且成功的替代了传统的电子线路控制系统。此外,伴随着楼宇智能化的要求,基于单片机的照明控制系统得到了普及和发展。本文重点进行了AT89C51单片机在校园楼宇照明系统上的应用,研究了室内灯光的控制系统和控制原理,并且根据实际情况进行了节能控制的设计。该系统利用了较为成熟稳定的红外传感技术和计算机控制技术,利用多参数进行校园楼宇室内照明系统的控制。本系统包括两部分:硬件设计和软件设计。照明控制系统主要包括主控制器、分控器。这二者均是以AT89C51单片机作为基础进行的设计,最终实现了通信、控制和显示等功能。本文重点描述了控制电路的设计与实现,例如:显示器、RS485通信模块、电子狗以及照明控制模块。软件部分主要实现了主控器与分控器有线通信程序的设计以及灯光控制、定时控制和显示程序设计。【关键词】照明控制;AT89C51;单片机;控制电路AbstractWiththerapiddevelopmentofelectronictechnologyandinformationtechnology,SCMhasbeenwidelyusedinthefieldofcontrol.Thecontrolsystembasedonsinglechipcomputerisusedinindustry,agriculture,electricpower,electronics,aerospaceandsoon.Asakindofmicrocomputer,MCUhasbecomethethemeandcoreofembeddedcontrolsystem.Anditsuccessfullyreplacedthetraditionalelectroniccircuitcontrolsystem.Inaddition,alongwiththerequirementsofintelligentbuilding,lightingcontrolsystembasedonMCUhasbeenpopularizedanddeveloped.ThispaperfocusesontheapplicationofAT89C51singlechipmicrocomputerinthebuildinglightingsystem,andstudiesthecontrolsystemandcontrolprincipleofindoorlighting.Thesystemmakesuseofthemorematureandstableinfraredsensortechnologyandcomputercontrol,andusesthemultiparameterstocontroltheindoorlightingsystem.Thesystemconsistsoftwoparts:hardwaredesignandsoftwaredesign.Thelightingcontrolsystemmainlyincludesthemaincontrollerandthecontroller.ThesearebasedontheAT89C51microcontrollerasthebasisforthedesign,andultimatelyrealizethecommunication,controlanddisplayfunctions.Thispaperdescribesthedesignandimplementationofthecontrolcircuit,suchasdisplay,RS485communicationmodule,electronicdogandlightingcontrolmodule.Thesoftwarepartmainlyrealizesthedesignoftheprogramofthemaincontrollerandthecontroller,andthelightingcontrol,timingcontrolanddisplayprogramdesign.KeyWords:lightingcontrolsystem;AT89C51;Single-chipmicrocomputer;acquisitionofsignal目录第1章绪论................................................................11.1研究背景..........................................................................................................................11.2国内外研究现状..............................................................................................................11.3研究的目的与意义..........................................................................................................21.4系统设计..........................................................................................................................31.4.1系统设计要点.........................................................................................