摘要发光二极管(LightEmittingDiode,LED)是20世纪末出现的新型照明光源,在节约能源、保护环境方面性能突出。由于LED不能直接由电网供电,点亮LED的驱动电源成为重要的研究课题,基于开关电源技术设计的LED驱动电源在工程应用中显示出了强大的竞争力。通过研究可编程器件作为LED驱动电路中核心的开关信号发生器,可以更好的满足高集成度、简单外围电路、数字化控制等性能特点。本文针对可编程器件C51系列单片机作为LED驱动电路中的核心控制芯片,研究了单片机作为LED驱动电源的脉冲宽度调制(PWM)信号发生器,以及单片机为处理器的后级数字化控制方法。阐述了单片机的硬件电路工作原理和LED驱动相关技术。介绍了如何通过软件方法来控制脉冲宽度调制信号达到调节驱动电源输出的目的。分析了LED驱动的设计需求以及相关安全规章标准,给出了搭建电源硬件电路和单片机最小系统电路的具体方法,设计了基于C51系列单片机的软件控制方法,实现了以C51系列单片机为脉冲宽度调制信号发生器的大功率LED驱动设计。基于可编程器件单片机技术的LED驱动系统测试表明,正确的设计主电源电路结构,合理的控制脉冲宽度调制信号以及正确的后级采样反馈可以完成稳定可靠的LED驱动的电源设计,提升工作效率,并且具有可扩展外部接口功能。达到了论文设计的目的要求。关键词:LED驱动单片机开关电源脉冲宽度调制AbstractLight-emittingdiode(LightEmittingDiode,LED)appearedinthelater20thcenturyasanewlightingsource.LEDplayanimportantpartinenergysavingandenvironmentalprotection.AstheLEDcan`tbedirectlypoweredbythepowergrid,sotheLEDdriverbecomeanimportantresearchtopic.LEDdriverwhichbasedonthedesignofswitchingpowersupplytechnologyinengineeringapplicationsshowedstrongcompetitiveness.ThroughthestudythatprogrammabledevicesasLEDdrivercircuitcoreswitchingsignalgenerator,canbettermeetthehighlevelofintegration,simpleperipheralcircuitsanddigitalcontrol.ThisarticlemainlytalkabouttherelationshipbetweentheprogrammabledevicesofC51seriesmicrocontrollersandLEDdriver,tostudytheprogrammabledevicemicrocontrolleraspulsewidthmodulation(PWM)signalgeneratorofLEDdriverandthemethodofdigitizecontrolusedinpost-feedbacksystem.ExpoundingtheprinciplesandtechniquesofmicrocontrollerhardwarecircuitryandLEDdriver,describingthemethodofhowtoimplementthesoftwaretochangethepulsewidthmodulatedsignaltoadjustthedrivepowerandmixedoperationofthedigital-to-analogcircuit.AnalyzingtheLEDdriverdesignrequirementsandsafetyregulationstandards,givingthespecificmethodofbuildingpowerhardwarecircuitandSingleChipMicrocomputer(SCM)minimumsystemcircuit,designingthesoftwarecontrolmethodbasedonSCM,completinghigh-powerLEDdriverdesignbasedonSCMasPWMsignalgenerator.ProgrammabledevicemicrocontrollertechnologyLEDdriversystemtestsshowthat,thecorrectdesignofthemainpowercircuitstructureandtherightsamplingfeedbackcircuit,canreasonablecontrolofthedutycycleofthePWMsignalandcompletethereliableoutputofconstantcurrentandvoltageonLEDdriveraswellasenhanceworkefficiency.Whatismoreithasthefunctionsofscalableexternalinterface.FinallyitwellachievethepurposeofthepaperdesignrequirementsKeyword:LEDDriverSingleChipMicrocomputerSwitchingPowerSupplyPulseWidthModulation目录第一章绪论.........................................................11.1选题背景及研究意义.......................................................................................11.2国内外研究现状...............................................................................................21.2.1国外研究现状............................................31.2.2国内研究现状............................................31....