先讲一下占空比的概念与脉冲调光的原理:如图二所示的脉冲电压,高电平的保持时时间(Ton)为20us,低电平的保持时间(Toff)为180us,高电平与低电平保持的总时间为(Ts)200us,我们通常叫Ts为脉冲的周期,1/Ts叫脉冲的频率,其工作频率为1÷200Us=5000Hz=5k,Ton/Ts叫占空比,以如图二为例其工作占空比为20uS÷200Us=10%.让如图三所示的脉冲电压通过一颗电阻对LED供电,当给LED通以频率为5K,占空比为50%的脉冲电流时,LED两端的脉冲电压如图四所示,脉冲电流如图五所示,这种方式流过LED的RMS电流约为2mA.我们再改为同一频率,但占空比为10%的脉冲电压给LED供电,这时LED两端的脉冲电压如图六所示,脉冲电流如图七所示,这种方式流过LED的RMS电流约为1mA.通过这两个实验我们得到一个结论,当给LED通以频率相同,但占空比不同的脉冲电压时,流过LED的RMS电流是不一样的,所以LED的亮度也发生了明显的改变,虽然LED两端流过的是脉冲电流,也就是说LED是亮一下再熄灭一下工作的,但因为人的眼睛不能辩别大约42Hz以上的频率,所以当通过LED电流的频率高于42Hz时,我们是感觉不到LED在闪动的,脉冲调光正是利用了这些原理.
![](http://u.dianyuan.com/bbs/u/70/321341224749255.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749255.jpg');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/70/321341224749261.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749261.jpg');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/70/321341224749267.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749267.jpg');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/70/321341224749272.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749272.jpg');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/70/321341224749279.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749279.jpg');}" onmousewheel="return imgzoom(this);">
![](http://u.dianyuan.com/bbs/u/70/321341224749284.jpg?x-oss-process=image/format,webp)
500) {this.resized=true; this.width=500; this.alt='这是一张缩略图,点击可放大。\n按住CTRL,滚动鼠标滚轮可自由缩放';this.style.cursor='hand'}" onclick="if(!this.resized) {return true;} else {window.open('http://u.dianyuan.com/bbs/u/70/321341224749284.jpg');}" onmousewheel="return imgzoom(this);">