The Control System for Lighting Based on
基于单片机的教室照明控制系统设计

【电子信息工程毕业设计+文献综述+开题报告】基于单片机的教室照明控制系统设计(20_ _届)本科毕业设计基于单片机的教室照明控制系统设计摘要随着电子技术的飞速发展,基于单片机的控制系统已经广泛应用于各个邻域。
另外,由于楼宇智能化的发展和成熟,基于单片机的教室照明控制系统得到了广泛的普及。
本文根据教室灯光智能控制方面的发展现状,分析了有效的节电控制方案,提出了基于AT89S51单片机的教室照明控制系统。
系统采用热释红外人体传感器检测人体的存在,以此来控制照明灯的开启和关闭;利用光敏电阻来检测环境光的强度,以此来调节灯具的亮度;另外,系统还带有键盘及液晶显示,键盘用于输入密码及设置时间参数,液晶显示屏用于显示当前时间及系统提示;系统还可以自主设置教室灯具的开启及关闭时间,关灯前可利用蜂鸣器发出警告。
通过对人体存在信号及环境光信号的识别和判断,完成对教室灯具的智能控制,以达到节能的目的。
本系统软件采用C语言编制,采用模块化结构设计,条理清晰,便于修改。
关键词:AT89S51;智能控制;热释红外;传感器The Design of Classroom Lighting Control SystemBased on Single-chip MicrocomputerAbstractWith the rapid development of electronic technology, the system of control based on MCU is widely applied in various fields. What's more,due to the development and maturation of the intelligent building,the control system for classroom lighting based on single-chip microcomputer has been widely popular.According to the development status of intelligent lighting control in the classroom, analysis of effective power-saving control solution,proposed classroom lighting control system which is based on AT89S51 MCU.This system can control the lamp switch by test and process the signal of human body that illuminates the back track exists;It can adjust the brightness of light by test and process daylight signal; In addition, the system also has a keyboard and LCD,keyboard use to enter passwords and set time parameters, LCD displays the current time and the system prompts;This system also can Independently set up the turn on and off time of lights,it can generate warnings by buzzer before turn off the lights. According to identify and judge the human body existence signaland the daylight signal, completion of classroom lighting intelligent control to save energy.The microcontroller software was developed based on C language, C language adopts building bloke design,its corporality is very good and easy to change.Keywords: AT89S51, intelligent control, pyroelectric infrared,sensors目录摘要IIIAbstract IV1 绪论 11.1课题的来源11.2课题的意义11.3国内外教室照明控制系统的发展现状及研究成果 2 1.3.1 国内外教室照明控制系统的发展现状 21.3.2 国内外教室照明控制系统的研究成果 21.4课题研究的主要内容 32教室照明控制系统的方案设计 52.1教室照明控制系统的方案设计 52.2方案评价 53教室照明控制系统的硬件设计 63.1芯片器件介绍 63.1.1 AT89S51单片机简介 63.1.2 LCD 1602 73.1.3 DS1302涓流充电时钟保持芯片93.1.4 TOP3224热释红外人体传感器103.2系统模块分析123.2.1 人体信号采集模块 123.2.2 光信号采集模块133.2.3 时钟电路133.2.4 LCD显示143.2.5 键盘 143.2.6 报警模块153.2.7 继电器驱动接口电路154教室照明控制系统的软件设计16 4.1系统整体功能的软件设计16 4.2数据采集的软件设计174.3 时钟模块的软件设计 174.4 显示模块的软件设计 184.5 报警模块的软件设计 194.6 键盘扫描的软件设计 19结论 21参考文献22致谢 23附录Ⅰ24附录Ⅱ25附录Ⅲ261 绪论1.1课题的来源由于学校开放型的管理模式,以及全员的节能意识的淡薄,造成了电能的极度浪费。
基于Arduino的智能灯光控制系统

Value Engineering1研究内容智能灯光控制系统通常应用于学校中,当今许多学校中的教室因电路老化只能用比较传统的照明系统:设定一个总电源,将其分流到多个支路,每个教室配备一个总的变电箱,然后支路再向不同的灯提供电,然后用按钮来控制灯具的开关,无法实现比较人性化多功能的管理方式。
因此,本系统主要研究的是基于Arduino 的智能灯光控制系统的设计与实现。
通过对用户需求的分析,选取合适的硬件搭建了整个硬件系统。
并通过对系统各个模块合理地编程设计,最终实现集检测温度、光照、是否有人经过、定时开关以及移动端的检测。
当有人经过并且光照强度较弱的时候灯光会自动开启,当无人时灯光会关闭,到了固定的时间灯光会自动开启并且到达指定的时间自动关闭。
若温度高于指定高度时,移动端会自动拨号给火警。
本系统研究的主要功能如下:①采用热释电红外传感器和定时程序以及光照检测来完成节能功能,光照低于设定值并且有人时会开灯,到达指定时间会开灯。
②由LED 灯、蜂鸣器和等器件来构成报警电路,在发生险情之时完成声光警报。
③选用蓝牙模块将硬件跟移动端相连接,并且进行数据传输以及报警的各种操作。
④软件部分则是包括定时、中断、串口通信、声光报警、温度检测等程序的设计,以此来实现声光报警和信息交互。
2功能规划功能包括自动开关灯功能、火情报警功能、声光报警、蓝牙远程通信。
2.1自动开关功能通过安装在外的红外热释电传感器以及光照传感器,实时监测是否有人经过并且检测光照强度,来实现自动开关灯,以及定时功能来控制必要的灯光的开启以及关闭。
2.2火情报警功能利用温度传感器,可以监测校园中是否会发生火灾隐患,并判断是否报警。
2.3声光报警检测到险情发生时,系统将会马上开启声光报警,灯光亮起,警报声响起,警示到来的险情。
2.4蓝牙远程通信检测到险情发生时,系统会在第一时间给火警的移动设备拨打电话,便于火警及时作出应对。
(图1)3系统硬件设计主要包括系统总体框和硬件组成两部分。
Philips TunneLogic 隧道照明系统说明书

Descriptor 1Descriptor 2Descriptor 3TunneLogicOutdoor lightingTunneLogicTotal SolutionPage 2LuminairesTo support main tunnel lighting techniques.Guidance lightingTo guide the traffic and to secure a safe exit.System for lighting controlFrom basic controls to elaborate monitoring systems,our solutions give you full connectivity and controlover the total lighting system.ServicesFrom concept design and commissioning to lifecycleservices, Philips can deliver a complete project andprotect your investment.TotalTunnel:4 key building blocksThe TotalTunnel program is Philips’ connected lighting approach to tunnel lightingand includes four key building blocks:TunneLogicTotal SolutionPage 3 TunneLogic is a key part of the TotalTunnel solution - a completeone-stop shop covering project design, product selection, right through to lifecycle services management. Within each building block Philips offers a range of options from simple solutions that deliver unbeatable value to high performance alternatives. We select the components according to your specific needs, and then combine them to create a total lighting system that is unique to your project. So whether your focus is on the cost of the initial investment or the Total Cost of Ownership over the entire lifetime, Philips can build the right solution for you.Total SolutionTunneLogic is our dedicated tunnel control and monitoring system designed specifically for LED technology. Our control system, which is easy to install, commission, operate and maintain provides thecustomer with safe lighting control and health information relating to the lighting system.TunneLogic helps to minimize the complicated electrical designand it significantly reduces labor, traffic management, and capital expenditure. When used together with high-performance Philipstunnel LED luminaires, optimal system performance will be achieved. TunneLogic Intelligent tunnel lighting controlsWhatever your tunnel projectrequirements, whether it be newbuild, refurbishment, retrofit of ashort underpass, or a tunnel ofmany kilometers, Philips offersan end-to-end lighting controlsystem package for any type oftunnel project. Intelligent controlsystems offer a dynamic approachto realizing the project objectivesand meeting client specifications.Installation timescales are criticaland with the minimal systemcomponents and plug-and-playmethodology, on-site installationis quick and simple affording theinstaller capital efficiencies overmany other systems.The lighting control software user-friendly interface offers operatorsand maintainers easy navigationmenus for monitoring lighting system status and providing operational control either locally or via a SCADA network. Historical system data is easily accessible for photometer trending, system faults and stage burn hours, always providing the operator with information to suit their specific requirements.High performance and system longevity are crucial to ensure your tunnel network is operational and traffic is kept moving freely. TunneLogic is designed to ensure optimal performance of the lighting system throughout the tunnel. With demonstrable project evidence in demanding conditions across many countries, partnering with Philips provides the best of opportunity for project cost, comfort and care.TunneLogicIntelligent tunnellighting controlsPage 5TunneLogicFeatures, ApplicationsPage 6ApplicationsShort underpasses High-speed road tunnels Long tunnelsFeatures of the TunneLogic systemEasy configuration andcommissioningTunneLogic is specifically designed to provide acontrol system solution that is easy to configure,install and commission.Using the PC-based configuration wizard tool, wecan easily build your tunnel project’s profile andconfiguration parameters off site. Once completed,upload of the data file is via a USB memory deviceonto the Master Control Unit (MCU) during thecommissioning stage.Furthermore, with minimal system components andplug and play methodology, the system architecture issimple to design and install ensuring optimal benefitsand flexibility for reducing installation costs.Integration is easy using a standard Modbus SCADAinterface (Serial or Ethernet). Extensive monitoring and control (system health)The TunneLogic graphical user interface provides simple navigation for ease of control and monitoring functions. Structured tabs allow access for extensive data logging management on photometer status, system faults and stage burn hours and control functions. Local and remote access provides the benefit of monitoring system performance and technical support to efficiently plan system maintenance and repair, reducing functional closures and lowering traffic disruption.TunneLogic Features Page 7Lighting performanceOptimum performance is achieved as a system solution with luminaries and controls.Since TunneLogic is fully dedicated for LED technology, continuous dimming and L20 control of the lighting system provides the exact level of light needed at any given time to provide significant energy savings over other switched stage solutions.In addition to communication redundancy and failsafe configuration options, TunneLogic is a safe, robust solution for increasing system longevity and maintaining operational performance.Cost savingsNext to all the benefits already mentioned, the entire system is a low cost, feature rich system. Not only is the system inexpensive to buy, you save costs in other ways post-purchase. As explained, the continuous dimming ensures the right lighting levels at every moment by precise L20 control. Additionally, the easy commissioning reduces design and engineering time, which also reduces costs and provides the opportunity to open the tunnel earlier.Features/Benefits of PhilipsOn top of all the benefits of the TunneLogic system, Philips is your ideal partner to collaborate with. Having more than 65 years of combined market experience, Philips is always able to deliver a tailor-made solution.In particular because TunneLogic is part of the TotalTunnel package, which comprises: • LED luminaires: TunneLogicis fully integrated with Philipsluminaires (FlowStar, FlowLine,ClearFlood, T-Line)• Guidance tunnel lighting: Toguide the traffic and to secure asafe exit• Controls: TunneLogic system• Service: Full local supportavailable for all project phasesBy combining our four buildingblocks for success, we can createlighting solutions for you that offerprecise levels of quality, guidance,control and service support.requiredlighting levelover-lighting ntranceightingGraphical representation of the energy saving bene ts ofdynamic digital control over conventional switched systemswhen using Philips TunneLogic solutionTunneLogicApplicationsL ow cost, but feature richlighting control system as partof the TotalTunnel package.”TunneLogicBenefits for usersPage 9 Every tunnel has a range of stakeholders. Each has their own list of requirements when it comes to the value and benefits that any lighting control system should demonstrate. Philips is at the forefront of the industry and can address all the key issues regarding tunnel lighting and controls. With our expertise and experience we can create the best possible solution; one that fits the requirements of your tunnel project in terms of cost, comfort and care.Tunnel owners and operators TunneLogic is efficient, reliable, safe,and easy to control and maintain. Clear information on the health of the lighting system optimizes and protects your investment.Tunnel usersTunneLogic ensures the right lighting levels at every stage of the tunnel due to precise L20 control, thereby decreasing the black hole effect and maximizing the safety of tunnel users. Remote access to the system means continuous monitoring is possible without the need to close the tunnel, and thus reducing traffic disruption. Tunnel installation companiesOur lighting solutions are available asa completely integrated system withclearly defined responsibilities on system integration. System architecture has been designed to be modular, plug and play and simple to commission to reduce installation time and minimize costly road closures. Tunnel maintenance companiesOur solutions are long lasting and easyto maintain, with service packages and predictable expenses to help estimateyour TCO and reduce tunnel closures and trafffic disruption. System information on the health of the lighting is accessible via the SCADA interface or remotely, so that routinemaintenance can be planned efficently.TunneLogicSystem SpecificationsPage 10System SpecificationsMaster Control Unit (MCU)General CharacteristicsInput voltage range100-240VacInput frequency50/60HzInput current 1.0A max.Housing IP54 powder-coated steelRAL7021 with removableglass doorOperating CharacteristicsControl output4x RS-485 socketsRS-485 configuration4x radial or 2x ringnetworkRS-485 max. length1km before repeaterrequiredMax. repeaters10 per networkMax. DALI Group Gateways(DGG) per RS-485 Section100Max. DGGs per system254Maximum luminaires per DGG 20x FlowStar-3,30x FlowStar-2,60x FlowStar-1 / FlowLineMaximum luminaires per system 5100x FlowStar-3, 7650x FlowStar-2, 15300x FlowStar-1 / FlowLineSwitching groups Up to 10Luminance meter inputs2x RS-485 sockets Functional Lighting Groups(FLGs)8SCADA connection Serial / Ethernet Modbus User Controls15” touch-screen panel PCSoftware FeaturesUser access levels 3 (‘view only’,‘maintenance’ and ‘fullaccess’)Individual user PIN codes YesLighting stage override YesSystem event logging Yes Wiring CharacteristicsSupply connection2m flying lead withLine, Neutral and EarthconnectionsRS-485 Bus connector4x circular 4-poleRS-485 luminance meterconnector2x circular 4-poleRS-485 cable See RS-485 specs SCADA connection Serial or EthernetTemperature CharacteristicsOperating temperature-20˚C to +50˚C ambient Operating humidity0% to 90% RH non-condensingStorage temperature-25˚C to +70˚C ambient Storage humidity0% to 90% RH non-condensingProduct dimensionsHeight518mm (plus connectors) Width478mm (plus brackets) Depth 155mm (170mm with doorfitted)ComplianceCE marking YesC-Tick YesIEC62386 YesRoHS YesProduct DataFull product name LFC7620/00 MASTERCONTROL UNIT ASSY ZS Order code9137 030 88809Net weight per piece 24kg (18.5kg without door)170 mmTunneLogicSystem Specifications Page 11General CharacteristicsInput voltage range 100-240VacInput frequency 50/60HzInput current 0.25AHousing IP66 Stainless steel(AISI 304)Operating CharacteristicsControl output 1 x DALIDALI unit qty. 1 DALI universe of 64addressesDALI power supply Inbuilt rated 220mA @16Vdc typ. Overload andshort circuit protected(auto restart)DALI max. current 250mADALI insulation system Basic (1.5kV surge) Maximum luminaires 20x FlowStar-3,30x FlowStar-2,60x FlowStar-1 / FlowLine Control inputs1x RS-485 dataconnection1x DyNet® serial port1x AUX programmable drycontact inputDyNet DC Supply12-15Vdc @ 120mAUser Controls Service switch +diagnostic LED Diagnostic functions Driver output failurereportingDriver failure reportingDALI line short / overloaddetectionLED run time tracking foreach driverDevice online / offlinestatusSwitching groups Select 1 of 10 coloredgroupsWiring CharacteristicsSupply connector terminals Line, Neutral, Earth Conductor size Max. 1x 2.5mm2 CuRS-485 connector Circular, pre-moldedmulti-pole in/out seriesconnectionOutput connector terminals DALI-, DALI+Conductor size Max. 1x 2.5mm2 Cu Temperature CharacteristicsOperating temperature-20˚C to +50˚C ambienttemperatureOperating humidity 0% to 90% RH non-condensingStorage temperature -25˚C to +70˚C ambient Storage humidity 0% to 90% RH non-condensingProduct dimensionsHeight 200mm (+ connectors) Width 200mm (+ brackets) Depth 120mm (+ brackets) ComplianceCE marking YesC-Tick YesIEC62386YesRoHS YesProduct DataFull product name LCN7632/00 DALI GROUPGATEWAY ASSY SST Order code9137 030 89409Net weight per piece 3.0kgSystem SpecificationsDALI Group Gateways (DGG)TunneLogicSystem SpecificationsPage 12Specifications Luminance meterGeneral CharacteristicsInput voltage range 100-240VacInput frequency 50/60HzInput current 1.5AHousing IP66 powder coated steel Operating CharacteristicsControl output Internal RS-485connection terminalsRS-485 max. length 1km beforerepeater requiredWiring CharacteristicsSupply connector terminals Line, Neutral, Earth Conductor size Max. 1x 3.0mm2 CuRS-485 connector terminals D+, D-, SGNDConductor size Max. 1x 2.0mm2 Cu Temperature CharacteristicsOperating temperature-20˚C to +50˚C ambienttemperatureOperating humidity 0% to 90% RH non-condensingStorage temperature -30˚C to +70˚C ambient Storage humidity 0% to 90% RH non-condensingProduct dimensionsHeight 123mm (without optionalwiper unit)Length 463mmWidth 162mm ComplianceCE marking YesRoHS YesOrdering DataFull product name LRL7620/01 LUMIOS III ADDR #1 Order code9137 003 70603Full product name LRL7620/02 LUMIOS IIIADDR #2Net weight per piece9137 003 70703Order code 4.5 kgFull product name LRL7621/01 LUMIOS III +WIPERADDR #1Order code9137 003 71103Full product name LRL7621/02 LUMIOS III +WIPERADDR #2Net weight per piece5kgOrder code9137 003 71203123mmTunneLogicSystem SpecificationsPage 13SpecificationsNetwork RepeaterGeneral CharacteristicsInput voltage range100-240VacInput frequency50/60HzInput current0.5A max.Housing IP66 Stainless steel (AISI 304) Operating CharacteristicsControl input1x RS-485 data connection Control output1x RS-485 data connectionRS-485 max. length1km before repeater required Max. repeaters10 per networkMax. DGGs per RS-485 persection100User Controls NoneWiring CharacteristicsSupply connectionterminalsLine, Neutral, EarthConductor size Max. 1x 4mm2 CuRS-485 connectors Circular, pre-molded multi-polein/out series connection Temperature CharacteristicsOperating temperature-20˚C to +50˚C ambient Operating humidity20% to 90% RH non-condensing Storage temperature-25˚C to +75˚C ambientStorage humidity20% to 90% RH non-condensing Product dimensionsHeight200mm (plus connectors) Width200mm (plus brackets)Depth120mm (plus brackets) ComplianceCE marking YesC-Tick YesRoHS YesOrdering DataFull product name LCN7622/00 RS485 REPEATERASSY SSTOrder code9137 030 89609Net weight per piece3.0kgTunneLogicSystem SpecificationsPage 14Specifications Cables RS-485General CharacteristicsCore1˚ 1 shielded pair 1x2x0.75/2.5 2˚ 1 wire 0.34/1.4Drain wire Stranded tinned copper(22awg)Tape Binder tapeBraid Tinned copper wire braid,approx. 90% coverage Tape Plastic tape overlapped Jacket Formable LSZH elastomercompound, Orange RAL2003, Ø 7.6 ± 0.3 mm Print legend PHILIPS LIGHTINGCONTROL SYSTEMS(RS485-TSS1CS PUR) Wire 0.34/1.4Conductor Stranded tinned copperwire (22awg), Ø 0.75 mm Insulation Polyethylene (PE), Ø 1.4 mm Shielded pair 1x2x0.75/2.5Conductor Stranded tinned copperwire (22awg), Ø 0.75 mm Insulation Foamed Polyethylene(PE) with skin, Ø 2.5 mm Formation 2 wires, blue and whitetwistedpairScreen Alulaminate foil overlapped Electrical Data at 20°CConductor resistance ≤ 56 Ω/kmScreen resistance ≤ 9.2 Ω/kmInsulation resistance ≥ 10 GΩ/kmOperating voltage (peak)≤ 500 VTest voltage (rms 50Hz 1min)2000 VShielded pairCapacitance (1 kHz wire/wire)Nom. 36.1 nF/km Capacitance (1 kHz wire/screen)Nom. 65.6 nF/kmCharacteristic Impedance Nom. 120ΩVelocity of propagation Nom. 78%Mechanical and Thermal CharacteristicsConductor material According to IEC 228Class 5Insulating material According to DIN EN50290-2-26 (VDE 0819)(HD 624.6)Jacket material According toF45052-F5100 (similar toDIN VDE 0282)Flame retardant According to IEC 60332-1-2 Oil resistant According to EN 60811-404 (7 x 24h/90˚C) Operating temperature-40˚C to + 80˚CStorage temperature-40˚C to + 80˚CMin. bending radius Repeated 8 x ØSingle 4 x ØWeight (approx.) 69 kg/kmOther CharacteristicsRoHS compliant Yes 2011/65/EC Hydrolysis resistant YesAbrasion resistant YesHalogen free According to IEC 60754-1Smoke density Accordingto IEC 61034Available lengthsCables are “made to order” and can be ordered in any length up to 300mProduct DataFull product name RS485 Link Cable (male/female)Supplier order code201GNet weight per piece0.1 + (N x 0.069) kg(N=cable length in meter)29.5mm27 mmTunneLogicSystem SpecificationsPage 15General CharacteristicsConductor Stranded bare copperwire, 30/0.25mm (1.5mm2)Insulation LSZH FireFighter™,Ø 2.5mmFormation 2 core purple numbered1 &2 alpha numericallyJacket Formable LSZH elastomercompound, Grey RAL7001, Ø 6.8 ± 0.3 mmPrint legend PHILIPS LIGHTINGCONTROL SYSTEMS (DALIPUR 2x1.5mm)Mechanical and Thermal CharacteristicsConductor material According to IEC 228Class 5Insulating material According to DIN EN50290-2-26 (VDE 0819)(HD 624.6)Jacket material According to F45052-F5100(similar to DIN VDE 0282)Flame retardant According to IEC 60332-1-2Oil resistant According to EN 60811-404 (7 x 24h/90˚C)Operating temperature Storage temperature -40˚C to + 80˚C -40˚C to + 80˚CMin. bending radius Repeated 6 x Ø Single4 x ØWeight (approx.) 71 kg/kmOther CharacteristicsRoHS compliant Yes 2011/65/EC Hydrolysis resistant YesAbrasion resistant YesHalogen free According to IEC 60754-1and VDE 0282Smoke density According to IEC 61034 NEN1010 compliant Yes Electrical Data at 20°CConductor resistance ≤ 13.3 Ω/kmInsulation resistance ≥ 10 MΩ/kmOperating voltage(peak)≤ 500 VTest voltage(RMS 50Hz 1min)2000 VAvailable lengthsCables are “made to order” and can be ordered in any length up to 300mProduct DataFull product name DALI Link Cable (female/female)Supplier order code272GNet weight per piece 0.1 + (N x 0.071) kg(N=cable length in meter)Specifications Cables DALI29.5mm27 mmGeneral CharacteristicsConductor Stranded bare copper wire,50/0.25mm (2.5mm2) Insulation LSZH FireFighter™, Ø 3.0mm Formation 2 wires, black and red twisted Jacket LSZH-PUR compound, GreyRAL 7001, Ø 7.8 ± 0.3 mmPrint legend PHILIPS LIGHTING CONTROLSYSTEMS (T-LINE PUR2x2.5mm)Mechanical and Thermal CharacteristicsConductor material According to IEC 228 Class 5 Insulating material According to DIN EN 50290-2-26 (VDE 0819) (HD 624.6) Jacket material According to F45052-F5100(similar to DIN VDE 0282) Flame retardant According to IEC 60332-1-2Oil resistant According to EN 60811-404(7 x 24h/90˚C)Operating temperature-40˚C up to + 80˚CStorage temperature-40˚C up to + 80˚CMin. bending radius Repeated 6 x ØSingle 4 x ØWeight (approx.)103 kg/kmOther CharacteristicsRoHS compliant YesHydrolysis resistant YesAbrasion resistant YesHalogen free According to IEC 60754-1 Smoke density According to IEC 61034Electrical Data at 20°CConductor resistance≤ 7.98 Ω/kmInsulation resistance≥ 10 MΩ/kmOperating voltage (peak)≤ 500 VTest voltage (rms 50Hz 1min)2000 VAvailable lengthsCables are “made to order” and can be ordered in any length up to 200mAlso available1.5mm2 cores4.0mm2 coresProduct DataSupplier order code 115GFull product name LED Extension LeadNet weight per piece0.05 + (N x 0.103) kg(N=cable length in meter)TunneLogicSystem Specifications Page 16Specifications Cables LED Extension Lead29.5mm27 mmTunneLogicTopologyPage 17 Control Network / TopologyClient SCADAtunnel management system© 2014 Koninklijke Philips N.V. All rights reserved. Philips Lighting reserves the right to make/main/ changes in specifications and/or to discontinue any product at any timewithout notice orobligation and will not be liable for any consequences resulting from the use of this publication.2014-12-08。
基于单片机的智能照明控制系统设计-毕业论文

基于单片机的智能照明控制系统设计摘要随着电子技术的飞速发展,基于单片机的控制系统已广泛应用于工业、农业、电力、电子、智能楼宇等行业,微型计算机作为嵌入式控制系统的主体与核心,代替了传统的控制系统的常规电子线路。
楼宇智能化的发展与成熟,也为基于单片机的照明控制系统的普及与应用奠定了坚实的基础。
本文介绍了基于单片机AT89C51的室内灯光控制系统及其原理,提出了有效的节能控制方法。
该系统采用了当今比较成熟的传感技术和计算机控制技术,利用多参数来实现对学校教室室内照明的控制。
系统设计包括硬件设计和软件设计两部分。
该照明控制系统的主控制器、分控制器分别是以AT89C51和AT89C2051单片机为基础,实现了通信、信号采集、控制与显示等功能。
使用光电子镇流器,使光源具备自动调节功能。
文中详细地描述了控制电路的设计过程,包括:光信号取样电路、人体信号采集电路、键盘与LED显示电路、RS485通信电路、照明灯控制电路、看门狗电路以及信号处理电路等。
对于软件设计主要有主控制器、分控制器的有线通信程序设计以及灯光控制、定时控制、键盘扫描与LED显示等程序设计。
工作时,光信号取样电路采集光照强弱、人体信号采集电路采集室内是否有人、是否为工作时间等信息并将信号送到单片机,单片机根据这些信息通过控制电路对照明设备进行开关操作,从而实现照明控制,以达到节能的目的。
关键词:智能控制,主控制器,分控制器,单片机,定时控制The Control System for Intelligent Lighting Based onSingle–chip MicrocomputerAuthor: Li GuozhongTutor: Sun ManAbstractWith the rapid development of electronic technology, the system of control based on Single-chip Microcomputer is widely applied in industry, agriculture, electric power, electron, intelligent building and so on. Microcomputer, as the subject and core of the embedded system of control, replaces the traditional system—electronic circuit. At the same time, the development and maturation of the intelligent building have established the substantial foundation for the popularization and application of the control system for lighting based on single-chip microcomputer。
Road Hog

Road Hog® 4 ConsoleA. General:1. The lighting control console shall be a Flying Pig Systems Road Hog console.The console shall be available from Barco Lighting Systems, Inc., 2105 GracyFarms Lane, Austin, TX 78758, USA.2. The lighting control system shall be designed specifically for the control of stage,studio, touring and entertainment lighting systems.3. A company having over 20 years experience in the control of entertainmentlighting shall manufacture the lighting control system.4. The equipment shall be ETL listed.5. Systems that do not provide the features listed below shall not be acceptable.B. Hardware:1. The console shall be constructed of a rugged aluminum chassis with powdercoated panels and faceplates. An elbow rest shall be provided.2. A universal 90 – 250V 50/60 Hz power factor corrected power supply shall beincorporated.3. The console shall contain a G850 2.9 GHz processor on an industrialmotherboard.4. A solid state high performance internal hard disk drive shall be provided5. Controls shall consist of keypad, four (4) rotary encoders knobs and twelve (12)User Keys. There shall be ten (10) user programmable, Penny & Giles faderswith associated illuminated enable buttons on the playback portion of theconsole.6. The console shall have one (1) 22” 10 point multi touch sensitive colour displayscreen.7. One (1) desklight is provided, using dimmable white LEDs for illumination. Adimmable white LED worklight shall be on the front of the console along with dual blue LED marker lights.8. One (1) external DVI-D monitor shall be supported. External touchscreenmonitors shall be supported.9. The following interfaces shall be provideda. Five (5) Universal Serial Bus portsb. Four (4) 5-pin XLR DMX outputsc. One (1) gigabit Fast Ethernet using rugged Neutrik Ethercon connectord. One (1) DVI-D monitor output10. The console shall be capable of outputting four DMX universes via 5-pin XLRconnectors and up to 8 universes of DMX over ArtNet and sACN directly.11. External network output devices can be attached to expand DMX outputcapability (no limit).12. The console shall be 759mm x 572mm x 310mm weight, weighing 19.4 kg.13. The user shall make operating software upgrades via USB flash drive. Nochanging of internal components shall be required. USB connected accessories shall also be upgradeable via USB flash drive.14. Midi and SMPTE Timecode functionality may be added through use of externalwidgets.15. The control console shall be supplied witha. Power cordb. USB Flash drive (Storage)c. USB Flash drive (Restore)d. Dust coverC. Programming and playback:1. The controller’s capacities shall be: 8192 multi-parameter luminaires, anunlimited number of simultaneous crossfades, and up to 65,536 cues, cue lists,chases, scenes, palettes, groups, and pages. There shall be no specific limit on the number of DMX universes supported.2. The console shall contain a library that addresses moving lights of all majormanufacturers as well as other lighting devices such as color scrollers. Thecontrol console shall contain an inherent mapping of fixtures for the variousattributes associated with automated and fixed focus lighting units.3. Multiple fixture types shall be simultaneously supported and any fixture may bepatched to any address on any universe.4. The console shall follow an industry standard command line programmingsyntax.5. The console shall contain the capacity to program unlimited multi-part cues,automated preset focus updating, and shall be able to track changes to themodifications of previously recorded cues. Each element of programming in aCue shall possess independent timing and fade path settings. Cue timing options shall include: fade, delay, or manual (all with in/out option). Times may beprogrammable from 0.0 seconds to several days.6. The console shall provide complete programming manipulation including move,copy, merge, mask, as well as comprehensive patch features for profiles,proportional patching, parking, etc.7. The console will provide a multi-level undo/redo function and an online helpsystem.8. The console shall be equipped with an effects engine that shall instantly generatecomplex effects including those commonly referred to as "rainbows" and"ballyhoos". Chases shall have fully adjustable direction, crossfading, and rates.9. The controller shall provide unlimited simultaneous playback of independent cuelists, chases, or scenes on up to 10 Playback masters on the console. Additional Playback masters may be added with expansion wing units and virtual masters.Masters shall also be able to provide inhibitive intensity control of some or allfixtures.10. Cue lists, scenes, and inhibitives shall be dynamically assigned to Masters andgrouped together on a Page. Changing Pages shall load a new set of cue lists,scenes and inhibitives to the Masters.11. The controller shall possess advanced Page features including: instant changes,crossfading between pages, flexible sizes, automatic holdover and remain inbackground.12. Custom settings shall be provided for Go and Flash buttons, Cues, Cuelists, andsubmasters: activation, precedence (HTP or LTP), resetting, inhibitive, etc.13. There shall be a main set of playback controls providing Go, Halt/Back, StepForward, Step Back, Go To, Release and Assert buttons.14. A rear-illuminated multi-mode trackball for focusing or pointing, a next fixturebutton for quick fixture selection, a live button that shall instantly select specified fixtures, a snapshot function named "suck" for active cues, and a blindprogramming mode shall be provided.15. The control console shall provide instant access to fixtures, groups, and palettesvia touch-sensitive displays. The displays shall contain numerous windows to give feedback on programming and fixture status. If connected to two external displays, all four displays may simultaneously show different windows, windows may be sized and moved on any display as desired, and custom configured views may be saved and instantly recalled.16. All items may be given useful names to simplify operation.17. The software will allow for custom mapping of function of fixture parameters toany of the five main encoders. Custom maps will be able to be stored andrecalled by means of the User Kind keys.18. The software will allow for the networking of multiple consoles across a network,and will allow for the presence of multiple servers on the same show. Thesoftware will allow for full network failover.19. The software will be separated into various processes, allowing for greaterredundancy and the ability to restart said processes without requiring to reboot the console.20. Each DMX Processor 8000 process will allow for up to eight discrete streams ofMidi or SMTPE time code to be handled by the software, without any specific limits to total number of streams.21. The software will allow for a ‘console lock’ to be activated by the programmer.22. GUI elements will be able to be set to different sizes and colours, and whenrecalled will remember these settings.23. GUI User Kind widget, to allow representation of User Keys.D. Peripheral equipment:1. A range of optional complementary equipment shall be available from consolemanufacturer and shall include the following:a. DMX processor providing sixteen universes of DMX output via XLR or Art-Net. It shall be possible to connect multiple DMX processors via Ethernet.b. USB DMX Widgetc. USB DMX Super Widgetd. USB DMX Super Duper Widgete. USB Timecode widget providing LTC inputf. USB Playback wingg. USB Master wingh. USB Nano wingE. Provide the followingQty Part number Description- 61020006 Road Hog 4 Control Console (road case not included)- 61070011 Road Hog Roadcase- 62040004 Hog DMX Processor 8000 (16 DMX outputs, 8192 channels, rack mount) - 62040002 Wholehog DMX Processor 8000 Expander- 74040007 Hog DMXWidget (black)- 74040008 Hog Super Widget (black)- 74040009 Hog Midi/SMTP Time CodeWidget (black)- 61040060 Playback Wing 4- 61040062 Master Wing 4- 90903068 Hog USB Flash Drive Red (Restore)- 90903067 Hog USB Flash Drive- A5040001 Superwidget Expansion Kit- 61070012 Playback /Master Wing 4 Roadcase- 61040029 Hog Desk Light。
图书馆照明控制系统的设计与实现

2020年第7期信息与电脑China Computer & Communication软件开发与应用图书馆照明控制系统的设计与实现孙景伟 丁学用(三亚学院 理工学院,海南 三亚 572022)摘 要:在高等院校图书馆中,照明能耗占比高于普通公共建筑,有效降低其照明能耗对建筑节能具有明显的作用。
传统照明方式由于节能效果差等原因,虽然投入少,但已不适应图书馆对照明系统的节能需求,现代照明系统应根据图书馆的不同需求来实现不同的照明效果。
采用合适的照明控制技术,不仅能够为图书馆节约能源,实现对资源的充分利用,也满足现代图书馆智能化和绿色化发展的需要。
基于此,笔者设计了图书馆照明控制系统。
该设计以STC89C52单片机为控制平台,结合光敏模块、时钟模块、红外模块、液晶显示模块等元器件构成了照明控制系统。
关键词:照明控制;节能;光敏电阻;红外对管中图分类号:TN215 文献标识码:A 文章编号:1003-9767(2020)07-098-03Design and Implementation of Lighting Control System in LibrarySun Jingwei, Ding Xueyong(Institute of Science and Technology, University of Sanya, Sanya Hainan 572022, China)Abstract: In the library of colleges and universities, the proportion of lighting energy consumption is higher than that of commonpublic buildings, and effectively reducing its lighting energy consumption has an obvious effect on building energy saving. Due to thepoor energy-saving effect and other reasons, the traditional lighting mode has not been able to meet the energy-saving requirements of the lighting system in the library, although it has less investment. The modern lighting system should achieve different lighting effects according to the different needs of the library. Adopting appropriate lighting control technology can not only save energy and make full use of resources, but also meet the needs of intelligent and green development of modern library. Based on this, the author designed the library lighting control system. In this design, STC89C52 is used as the control platform, and the lighting control systemis composed of photosensitive module, clock module, infrared module, LCD module and other components.Key words: lighting control; energy saving; photoresistor; infrared pair tube作者简介:孙景伟(1988—),男,海南三亚人,硕士研究生,讲师。
基于光敏电阻的照明灯控制系统的设计1

基于光敏电阻的照明灯控制系统的设计摘要随着信息技术的飞速发展和社会的不断进步,人们都市生活的迅速发展,新型半导体材料LED照明应用得到普及,人们对 LED 照明的高效控制和功能多样化的要求也不断提高。
灯饰除了有普遍的照明作用之外,还有广泛的工业用途。
针对普通的LED 光源存在光谱不全这个问题,本文介绍了一套小型智能灯,它是基于光敏电阻的照明系统,主要的功能是用光照强度来调节LED灯的亮度,就是通过光敏电阻接收到的外界不同的照度来控制LED灯不同的亮度,也就是说,本设计通过环境光照度的强弱对LED灯进行控制,而且可以自动变换,使生活和工业生产更加现代化和节能环保。
这个设计的核心在于单片机控制模块,光敏电阻通过外界照度的不同产生不同大小的电信号,本设计先根据电信号的大小规定好对应的数字信号,这样单片机就可以根据输入的数值信号发出红绿黄三路通路/截止的命令,达到辨色的目的,判断光强度做好防护,并且可从液晶屏上读出光照强度,调控LED光强,这样的设备在温棚、禽舍、晒相、电路板生产等方面都得到广泛的应用。
关键词:LED(发光二极管) 光敏电阻单片机液晶显示屏LIGHTING CONTROL SYSTEM DESIGN BASED ON PHOTORESISTORABSTRACTWith the rapid development of information technology and social progress as well as the rapid development of urban life, new applications of semiconductor materials are popular LED lighting products. Efficient LED lighting and functional diversification of the requirements is also rising. Lighting not only have lighting effect, but also have extensive function of industry. This paper introduces a set of small smart lights, the lighting system which is based on photosensitive resistance, to solve LED light source for general spectrum insufficiency problem. Its main function is to automatically select the light color. Photoresistor receives differentillumination of the light outside to control the three RGY-LED work or not. In other words, a lamp can automatically transform several colors light. It will save the energy sources make our life more modern . The SCM ( Single Chip Micyoco) module is the core of this design. Photoresistor generated different signals by different external illumination. The design first turn analog signals into digital signals.Accroding the digital signals, SCM will release the orders to control RGY-LED work or not.In this way, the purpose is able to choose colors of the light intellectuality.At the same time it can read the light intensity On the LCD panel to regulat the intensity of Lighting system . Such equipment Have extensive application on Greenhouse, birdhouse, bask in phase, circuit board production.朗读Key words: LED(Light Emitting Diode) Photoresistor SCM LCD显示对应的拉丁字符的拼音目录摘要 IABSTRACT II1前言 11.1选题的目的意义 11.2国内外研究综述 11.3研究目标 11.4研究内容 21.5关键问题 21.6基本思路 21.7研究方法 22基于光敏电阻的照明灯控制系统的设计和论证 32.1设计要求 32.2设计方案 32.3方案选取 63基于光敏电阻的照明灯控制系统的设计 73.1基于光敏电阻的照明灯控制系统的整体电路原理方框 7 3.2电源设计 73.3控制电路 73.3.1STC12C5A60S2 83.3.2信号采集电路 103.3.3LCD显示电路 113.3.4驱动调光电路 124单片机编程 154.1程序流程框图 154.2信号采集程序 154.2.1AD初始化程序 154.2.2AD转换程序 164.3显示屏程序 164.3.1写指令函数 164.3.2写数据函数 164.3.3显示函数 174.3.4对1602液晶的模式进行设置 184.4主程序(选择红、绿、黄指示灯的程序) 184.5PWM程序 195焊接与调试 215.1焊接 215.1.1制作注意事项 215.1.2 实物展示 215.2 软件调试 225.3 PWM波形测量图 256元件清单与性能参数 267结论 27参考文献 29附录 301整体电路设计图 302单片机全部程序 31 谢辞 37。
Intelligent lighting control system(智能照明控制系统) 外文翻译

Intelligent lighting control systemAbstract: Intelligent lighting control system the main aim is to save energy, smart lighting control system with a variety of "pre-set" control mode and control components, at different times on different degrees of illumination for accurate set-up and rational management of energy-saving. This automatic adjustment of the illumination means, take full advantage of the natural outdoor light, only when necessary when the lamp or light to the required brightness, use the least energy to ensure that the required illumination level, energy-saving effect is very clear, usually ranging from more than 30%.Keywords: Intelligent lighting control system bus-type star-shaped structure1 the use of intelligent lighting control system for the superiority of1.1 good energy saving effectIntelligent lighting control system using the main purpose is to save energy, smart lighting control system with a variety of "pre-set" control mode and control components, at different times on different degrees of illumination for accurate set-up and rational management of energy-saving. This automatic adjustment of the illumination means, take full advantage of the natural outdoor light, only when necessary when the lamp or light to the required brightness, use the least energy to ensure that the required illumination level, energy-saving effect is very clear, usually ranging from more than 30%. In addition, the intelligent lighting control system for fluorescent lamp dimming control, etc., due to the use of a fluorescent active tunable filter electronic ballast technology and reduce the harmonic content, to improve the power factor and reduce the low-voltage reactive power loss.1.2 to extend the life span of light sourceLight source can not only extend the life savings, but also significantly reduce the workload of lamp replacement, reducing the operating costs of lighting systems, management and maintenance becomes simple.Both the thermal radiation source, or gas discharge light source, voltage fluctuations are a major cause of light damage. Therefore, the effective suppression of the fluctuations in voltage can extend the life of light sources.Intelligent lighting control system can successfully suppress the surge voltage power grid, but also have a voltage limit and the conjugate stream functions of filtering, to avoid over-voltage and under-voltage damage to the light. The use of soft-start and soft turn-off technology, to avoid the impact of current damage to the light. Through this method, the light source to extend the life span of usually 2 to 4 times.1.3 to improve the working environment, improve efficiencyGood working environment is to improve the efficiency of a necessary condition. Good design and reasonable choice of light source, lamps and lighting quality control systems, can improve the quality of lighting.Intelligent lighting control system dimming control panel module to replace the traditional lighting of the level switch control is an effective way to control the overall room illumination value, thereby enhancing the uniformity of illumination. At the same time, this control method used in electrical components have also solved the stroboscopic effect, will not create uncomfortable, confused, feeling eyestrain.1.4 to achieve a variety of lighting effectsA wide range of lighting control, the same building can have a variety of artistic effect, for a lot of construction hyperchromic. Modern buildings, lighting is not simply to meet people on the visual effect of light and shade, they should have control of a variety of programs to make buildings more vivid, more artistic, giving a wealth of visual effects and aesthetics. As an example of a project, building the exhibition hall, lecture hall, lobby, atrium, etc., if with intelligent lighting control system, according to different times, different uses, different effects, using the corresponding pre-set scene control, can achieve the wealth of artistic effect.1.5 facilitate the management of maintenanceIntelligent lighting control system for the control of lighting based on the automatic control of modular-based, supplemented by manual control, preset lighting scenes to the parameters stored in the EPROM Digital, these information is very convenient to set up and replaced, so that building lighting management and maintenance easier.1.6 have a high economic rate of returnOur reference point for the Shanghai region, from energy-saving lights and provincial estimates of the two made a come to this conclusion: with three to five years, the owner can recover the basic intelligent lighting control system to increase the total costs. Intelligent lighting control system can improve the environment and improve employee productivity and reduce maintenance and management costs, but also for the owners to save a substantial amount of costs.2 intelligent lighting control system componentsWe know that the intelligent lighting control system of building control system is only one part of the. If you want to focus on the various control systems to the control center to control, then the control system must have the standard communication interface and protocol version. Although such a system integration is feasible in theory, but it is very difficult to put into practice. Thus, in engineering, intelligent management of our building a distributed system, distributed, that is relatively independent of each control subsystem, self-contained, the implementation of specific control, intelligent building management system control subsystem of the relative independence, self-contained, the implementation of specific control, intelligent building management system from the control subsystem is a signal collection and monitoring role.At present, the intelligent lighting control system in accordance with sub-network topology, the following two forms, namely, bus and star-shaped structure-based hybrid. Both forms have the characteristics of a number of bus more flexibility, easy expansion, control of relative independence, lower costs; mixed some high reliability, fault diagnosis and rule out the simple, easy access to the agreement, transfer rate higher.Engineering design, we consider the building of intelligent lighting control system as an independent subsystem, use of international standards and agreements of the communication interface text, into the intelligent building management systems. Intelligent lighting control system uses a distributed, distribution-based approach, that is, the dimming control unit is relatively independent, self-contained, non-interfering, through centralized management and information interfaces, and intelligent building managementsystem linked to the achievement of the building control center subsystem of the collection and monitoring of the signal. In short, the intelligent lighting control should be the main system is a centralized management, and the main trunk and information interface components consisting of the regional implementation of the same sample of control and signal networks; its subsystems should be a dimmer by the various types of modules , control panels, illumination detector dynamic and static and dynamic components consisting of detectors, respectively, of the regional implementation of the specific control of different networks, the main system and subsystems, such as between the components through the interface to connect, to achieve data transmission.3 Intelligent lighting control system and control of the control of the contentA project to control the use of intelligent lighting control system include the following categories: technology office hall, computer center and other important room, lecture hall, such as multi-function hall, exhibition hall, conference center, lobby and courtyard, walkways and elevators, such as the Office of Public site; building facade lighting in general and also by the intelligent lighting control systems to control switch signal.Control the content of the term of the Interpretation:(1) clock controlClock management, etc. through the electrical components, to achieve the normal work of regions for the state of lighting in different time control.(2) the automatic adjustment control illuminationThrough each module and illumination dimming dynamic electrical components such as detectors, to achieve under normal conditions in the regions for the normal work of the state of the automatic lighting dimming control, making the region, such as illumination will not be outside with the sunshine factors change, and always maintain the default value in the illumination around.(3) control of the regional sceneThrough each dimmer module and the control panel and other electrical components, to achieve under normal conditions in the regions for the normal work of the state of the scene lighting control switch.(4) static and dynamic detection of controlThrough each dimming modules and electrical components, such as movement detectors, to achieve under normal conditions in the regions for the normal work of the state of the automatic lighting control switch.(5) Reduction state of emergency controlThrough each of the normal lighting control module, such as dimming of the electrical components, to achieve a state of emergency for the normal work of the various districts in the state of lighting and to give up the number of relief, such as dimming control.(6) Manual remote controlThrough the infra-red remote control, to achieve under normal conditions in the regions for the normal work of the state of lighting control and manual control of the regional scene.(7) Emergency lighting controlHere mainly refers to the control of intelligent lighting control system to the specialregion by the implementation of the emergency lighting control, including the following two controls:1) under normal illumination and the automatic adjustment control of the regional scene with the regulation of the normal work of lighting the same manner as the control.2) a state of emergency automatic discharge dimming control, through each of the emergency lighting dimming control module, such as electrical components, to achieve a state of emergency for the regions under a state of emergency lighting dimmers, such as giving up control, so that the accident in the state of emergency lighting to reach 100%.These are the characteristics of intelligent lighting control systems analysis and office buildings in a specific application in a number of experiences, hoping to play the role of forward, so that the field of technology in the lighting to fully play its role.智能照明控制系统摘要:采用智能照明控制系统的主要目的是节约能源,智能照明控制系统借助各种不同的"预设置"控制方式和控制元件,对不同时间不同环境的光照度进行精确设置和合理管理,实现节能。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
The Control System for Lighting Based onSingle–chip MicrocomputerWith the rapid development of electronic technology, the system of control based on Single-chip Microcomputer is widely applied in industry, agriculture, electric power, electron, intelligent building and so on. Microcomputer, as the subject and core of the embedded system of control, replaces the traditional system—electronic circuit. At the same time, the development and maturation of the intelligent building have established the substantial foundation for the popularization and application of the control system for lighting based on single-chip microcomputer.The paper expatiates on the designing theories and implementation method of the control system for lighting by wired or wireless communications. Taking the designing process as mainline, it describes the process of designing from two respects—hardware and software. In another word, the paper describes the process from the method of circuit designing to the software technology of realizing the demanded functions. The host controller of the control system for lighting is based on AT89C51 single-chip microcomputer, and the auxiliary ones are based on AT89C2051. The system can do many jobs, such as wired communication, wireless data transmitting, controlling and display. The paper describes the designing process of the circuit at length, including: keyboard and LED display circuit, RS485 communication circuit, wireless transmitting circuit, control circuit of lighting, watchdog circuit, etc. The designing of software mainly includes the several programming, such as wired communication, wireless data transmitting, lamplight controlling, timed controlling, keyboard scanning and LED displaying. The wired communication programming function is that through Master-slave communication method based on RS485 the host controller sends orders to the all auxiliary controllers or each one, including: turning on lighting, turning off lighting, regulating brightness of lighting, controlling timed lighting, etc. The wireless data transmitting programming function is that by wireless transmitter it realizes wireless controlling of the lighting, and achieves the functions identical to wired communication.Traditional building automatic controlling system only includes such subsystems: comprehensive wires, computer network, safe defending, fire defending and closed-circuits TV monitoring systems and so on. But in the recent years, withthe economic development and the progress of the science and technology, people have put forward more higher demands for energy-conservation of lighting lamps and scientific management, which makes the lighting control system of the classroom have such functions as energy-conservation, convenience, intelligence, etc. What’s more, it can improve the efficiency of the work and study, result in many kinds of lighting effects, and improve the management level.There are the design philosophy of this system, operation principle of every chip, and such relevant problems as the choice, making and debugging of the components and unit circuits about lighting control system of classroom, which regards the micro-control unit as the control core of the system. This control system is suitable for such occasions as various kinds of multimedia classrooms, station waiting rooms, offices, etc. It is mainly composed of lightening control unit, moving sensor unit, illuminative sensor unit, handed-control unit, and so on. The target of the design is intelligent lightening, scientific management, and energy-conservation and cost- conservation. The AT89C2051 with the feature of cheap cost has been used as the control unit in the whole design.The whole system not only has been introduced in the paper, but also has been successfully finished with series of the Dais micro-control unit. The experiment suggests that this design can easily come true if the users do as the thesis. So it can be used as the intelligent lighting control system of the university campus. What’s more, it will affect better if combining with other intelligent control systems.LED SummaryLED (Light Emitting Diode), light-emitting diode, is a solid state semiconductor devices, which can be directly converted into electricity to light. LED is the heart of a semiconductor chip, the chip is attached to one end of a stent, is the negative side, the other end of the power of the cathode, the entire chip package to be epoxy resin. Semiconductor chip is composed of two parts, part of the P-type semiconductor, it inside the hole-dominated, the other side is the N-type semiconductor, here is mainly electronic. But linking the two semiconductors, among them the formation of a "PN junction." When the current through the wires role in this chip, will be pushing e-P, P zone in the hole with electronic composite, and then to be issued in the form of photon energy, and this is the principle of LED luminescence. The wavelength of light that is the color of light, is formed by the PN junction of the decisions of the material.LED history50 years ago, people have to understand semiconductor materials can produce light of the basic knowledge, the first commercial diodes in 1960. English is the LED light emitting diode (LED) acronym, and its basic structure is an electroluminescent semiconductor materials, placed in a wire rack, then sealed with epoxy resin around, that is, solid package, Therefore, the protection of the internal batteries can play the role of line, so the seismic performance LED good.LED is the core of the P-type semiconductor and components of the N-type semiconductor chips, the P-type semiconductor and N-type semiconductor between a transition layer, called the PN junction. In some semiconductor materials in the PN junction, the injection of a small number of carrier-carrier and the majority of the extra time will be in the form of light energy to release, thus the power to direct conversion of solar energy. PN junction on reverse voltage, a few hard-carrier injection, it is not luminous. This use of injection electroluminescent diodes is produced by the principle of light-emitting diodes, commonly known as LED. When it in a positive state of the work (that is, at both ends with forward voltage), the current flows from the LED anode, cathode, semiconductor crystals on the issue from the ultraviolet to infrared light of different colors, light and the strength of the currents.Instruments used for the first LED light source instructions, but all kinds of light colored LED lights in traffic and large screen has been widely applied, have a very good economic and social benefits. The 12-inch red traffic lights as an example, is used in the United States have long life, low-efficiency 140 watt incandescent lamp as a light source, it produced 2,000 lumens of white light. The red filter, the loss-90 percent, only 200 lumens of red light. In the light of the new design, Lumileds companies have 18 red LED light source, including the loss of circuit, a total power consumption of 14 watts to generate the same optical effect. Automotive LED lights is also the source of important areas.For general lighting, people need more white light sources. The 1998 white LED successful development. This is the GaN LED chip and Yttrium Aluminum Garnet (YAG) package together cause. GaN chip of the Blu-ray (λ p = 465nm, Wd = 30nm), made of high-temperature sintering of the Ce3 + YAG phosphors excited by this Blu-ray after irradiating a yellow, the peak 550 nm. Blue-chip installed in the LED-based Wanxing reflection in the cavity, covered with a resin mixed with YAG thin layer, about 200-500 nm. LED-based tablets issued by the Blu-ray absorption part of the phosphor, the phosphor another part of the Blu-ray and a yellow light mixed, can be a white. Now,the InGaN / YAG white LED, YAG phosphor by changing the chemical composition of the phosphor layer and adjust the thickness of the 3500-10000 K color temperature can be colored white. This blue LED through the method by white, constructed simple, low-cost, high technology is mature, so use the most.In the 1960s, the use of science and technology workers semiconductor PN junction of The principle of developing a LED light-emitting diodes. At that time, the development of LED, the materials used are GaASP, its luminous color is red. After nearly 30 years of development, and now we are very familiar with the LED, has been sent to red, orange, yellow, green, blue, and other shade. However lighting necessary for white LED light only in recent years to develop, readers here to tell us about lighting with white LED.。