您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于单片机的楼宇智能智能照明控制系统
学士学位论文智能照明控制系统的设计姓名:×××学号:×××××××指导教师:×××学院:×××学院专业:×××完成日期:××××年×月×日学校代码: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系统设计要点...........................................................................................................31.4.2系统设计思想...........................................................................................................3第2章硬件电路的设计与实现...............................................52.1系统概述..........................................................................................................................52.2AT89C51单片机性能.......................................................................................................52.3主控制电路的设计..........................................................................................................52.3.1按键接口设计...........................................................................................................62.3.2LED显示设计.............................................................................................................62.3.3监控电路设计...........................................................................................................72.4分控电路设计..................................................................................................................72.5RS485通信模块设计........................................................................................................72.6光信号取样电路的设计..................................................................................................92.7热释红外信号采集电路..................................................................................................92.8输出驱动电路设计........................................................................................................10第3章系统软件设计......................................................143.1人机交互程序的设计....................................................................................................143.1.1按键扫描程序的设计.............................................................................................143.1.2数码显示程序的设计.............................................................................................153.2照明系统控制程序的设计............................................................................................163.2.1全部启停程序的设计.............................................................................................163.2.2部分启停程序的设计.............................................................................................183.2.3全部定时控制程序的设计...........................................
本文标题:基于单片机的楼宇智能智能照明控制系统
链接地址:https://www.777doc.com/doc-4086148 .html