PWM Sets Output of LCDLED Dri

PWM Sets Output of LCDLED Dri,第1张

Abstract: The digital, pulse-width-modulaTIon (PWM) output available from many microprocessors is based on an internal 8- or 16-bit counter and features a programmable duty cycle. It is suitable for adjusTIng the output of an LCD driver, a negaTIve-voltage LED driver, or a current-controlled LED driver.

The digital, pulse-width-modulaTIon (PWM) output available from many microprocessors is based on an internal 8- or 16-bit counter and features a programmable duty cycle. It is suitable for adjusting the output of an LCD driver (Figure 1), a negative-voltage LED driver (Figure 2), or a current-controlled LED driver (Figure 3).

PWM Sets Output of LCDLED Dri,Figure 1. LCD Driver with positive output voltage.,第2张
Figure 1. LCD Driver with positive output voltage.

PWM Sets Output of LCDLED Dri,Figure 2. LCD driver with negative output voltage.,第3张
Figure 2. LCD driver with negative output voltage.

PWM Sets Output of LCDLED Dri,Figure 3. Current-controlled LED driver.,第4张
Figure 3. Current-controlled LED driver.

The circuit consists simply of a PWM source, capacitor C, and resistors RD and RW. For CMOS outputs, you calculate the open-circuit output voltage as:

PWM Sets Output of LCDLED Dri,Equation 1.,第5张

where D is the PWM duty cycle and VDD is the logic supply voltage. The control circuit's output impedance is the sum of resistor values RW and RD:

PWM Sets Output of LCDLED Dri,Equation 2.,第6张

For the circuit of Figure 1, the output voltage (VOUT) is a function of the PWM average voltage (VCONT):

PWM Sets Output of LCDLED Dri,Equation 3.,第7张

where VREF is the reference voltage at the feedback input.

Bear in mind that the initial charge on filter capacitor C produces a turn-on transient. The capacitor forms a time constant with RCONT, which causes the output to initialize at a voltage higher than that intended. You can minimize this overshoot by scaling the value of RD as high as possible with respect to R1 and R2. As an alternative, the µP can disable the LCD until the PWM voltage stabilizes.

For Figure 2, the output voltage (VOUT) is a function of the PWM average voltage (VCONT):

PWM Sets Output of LCDLED Dri,Equation 4.,第8张

where VREF is the reference voltage at the feedback input.

For Figure 3, the output current (IOUT) is a function of the PWM average voltage (VCONT):

PWM Sets Output of LCDLED Dri,Equation 5.,第9张

where VREF is the reference voltage at the SET output and K is the current-scaling factor.

RD isolates the capacitor from the feedback loop in these PWM-adjustment methods. Assuming a stable voltage at the feedback point, the following equation defines the lowpass filter's cutoff frequency:

PWM Sets Output of LCDLED Dri,Equation 6.,第10张

where R = RW PWM Sets Output of LCDLED Dri,第11张 PWM Sets Output of LCDLED Dri,第11张 RD. If RD >> RW, R ≈ RW. To minimize ripple voltage at the output, you should set the cutoff frequency at least two decades below the PWM frequency.

This design idea appeared in the May 27, 2004 issue of ED magazine.

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/dianzi/2456569.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-08-04
下一篇 2022-08-04

发表评论

登录后才能评论

评论列表(0条)

保存