成都信息工程学院学位论文基于单片机的智能照明控制系统设计论文作者姓名:申请学位专业:光信息科学与技术申请学位类别:理学学士指导教师姓名(职称):论文提交日期:学位论文原创性声明本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。本人完全意识到本声明的法律后果由本人承担。作者签名:日期:年月日学位论文版权使用授权书本学位论文作者完全了解学校有关保留、使用学位论文的规定,同意学校保留并向国家有关部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。本人授权大学可以将本学位论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本学位论文。涉密论文按学校规定处理。作者签名:日期:年月日导师签名:日期:年月日第1页共24页基于单片机的智能照明控制系统设计摘要随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。本文介绍了基于单片机AT89C51的室内灯光控制系统及其原理,提出了有效的节能控制方法。该系统采用了当今比较成熟的传感技术和计算机控制技术,利用多参数来实现对学校教室室内照明的控制。系统设计包括硬件设计和软件设计两部分。工作时,光信号取样电路采集光照强弱、人体信号采集电路采集室内是否有人、是否为工作时间等信息并将信号送到单片机,单片机根据这些信息通过控制电路对照明设备进行开关操作,从而实现照明控制,以达到节能的目的。关键词:单片机;光信号;微型计算机;节能TheControlSystemforIntelligentLightingBasedonSingle–chipMicrocomputerAbstractWiththerapiddevelopmentofelectronictechnology,thesystemofcontrolbasedonSingle-chipMicrocomputeriswidelyappliedinindustry,agriculture,electricpower,electron,intelligentbuildingandsoon.Microcomputer,asthesubjectandcoreoftheembeddedsystemofcontrol,replacesthetraditionalsystem—electroniccircuit.Atthesametime,thedevelopmentandmaturationoftheintelligentbuildinghaveestablishedthesubstantialfoundationforthepopularizationandapplicationofthecontrolsystemforlightingbasedonsingle-chipmicrocomputer。Inthispaper,theIndoorLightingControlSystemBasedonAT89C51anditsprincipleareintroduced.Someeffectiveandenergysavingcontrolstrategysoflightingsystemarebroughtforward.Thecurrentsystemusesarelativelymaturesensortechnologyandcomputercontroltechnology,usingmulti-parametertoachievetheschoolclassroomindoorlightingcontrol.Thesystemincludeshardwareandsoftwaredesignintwoparts.Whenwork,theopticalsignalsamplingcircuitcollectinglightingintensity,indoorcollectingofhumansignalacquisitioncircuitifanyone,whetherforworktimeandotherinformationandsignaltothemicrocontroller,MCUcontrolcircuitibasedontheseinformationthroughtheswitchingoperationoflightingequipmentinordertoachievelightingcontrolstosavaenergy.Keywords:Single-chipmicrocomputer;Opticalsignal;microcomputer;Energyconservation目录论文总页数:20页1引言.............................................................................................................................................11.1研究背景...........................................................................................................................11.2智能照明控制系统的发展概况...........................................................................................11.2.1国内外智能照明发展概况...........................................................................................11.2.2智能照明控制系统的优点...........................................................................................12设计部分.....................................................................................................................................22.1设计要求..............................................................................................................................22.2系统设计..............................................................................................................................22.3逻辑控制..............................................................................................................................22.4硬件设计..............................................................................................................................32.4.1系统硬件总述...............................................................................................................32.4.2AT89C51单片机介绍..................................................................................................42.4.3光照检测电路...............................................................................................................52.4.4人体信号采集电路.......................................................................................................52.4.5比较电路.......................................................................................................................82.4.6延迟时间选择电路.......................................................................................................92.4.7输出控制电路.............................................................................................................103系统软件设计及实现...............................................................................................................11结论.........................................................................................................................................13参考文献.........................................................................................................................................13致谢.........................................................................................................................................14声明.........................................................................................................................................15附录...........................................