摘要
随着LED照明技术快速发展,对LED自适应调光技术需求更加强烈。该文以AVR单片机中ATmega16作为控制器,利用基于I2C(Inter Integrated Circuit)总线的光传感芯片TSL2561采集室内环境光照度,采用脉宽调制(Pulse Width Modulation-PWM)方式调节MOS管,进而调节LED的发光亮度,最终维持室内环境光照度在一个设定的水平。完成了LED自适应调光系统的硬件设计和软件编程,重点介绍了ATmega16通过I2C总线读取光传感器芯片TSL2561数据、传感器数据转换为实际的室内环境照度、PWM信号生成等的实现方法。
As the fast development of LED lighting technology, LED adaptive dimming technique is needed more strongly. It is presented that the ATmegal6 in AVR single chip computer is used as controller, and the photosensor chip TSL2561 with I2C(Inter Integrated Circuit) bus is employed to measure the indoor ambient illuminanee. MOS is adjusted by way of PWM(Pulse Width Modulation-PWM) to regulate the lightness of LED. The hardware designing and software programming of LED adaptive dimming system is completed in the paper. It emphasizes that the indoor ambient illuminance data measured by TSL2561 is read and converted into the practical indoor ambient illuminace , and PWM signal is generated to adjust LED illuminance.
出处
《电气自动化》
2009年第1期33-35,共3页
Electrical Automation
基金
上海市重点学科建设基金资助项目(编号:T0103)
台达电力电子科学发展计划实施委员会"太阳能LED照明的高效驱动与释能控制"项目资助(编号:DREG2008004)