您现在的位置是:首页 > 家电

低功耗的PWM输出控制LED亮度-Low-Power PWM

2020-03-18 00:01:32

Abstract: A common brightness-control circuit for LEDs uses an electrically controlled potenTIometer (EPOT) to achieve digital control of the LED brightness. Replacing the EPOT with an RC network, however, reduces both the IC count and the required number of control lines.

A system in which a microcontroller or programmable logic controls one or more LEDs often requires the capability of controlling LED brightness. A common approach for achieving this adjusts an electrically controlled potenTIometer (EPOT), which in turn, controls the LED driver (Figure 1). For large systems, however, that approach can require many EPOTs, each requiring two control lines, or address decoding, or both.

Figure 1. A common brightness-control circuit for LEDs uses an electrically controlled potentiometer (EPOT) to achieve digital control of the LED brightness.
Figure 1. A common brightness-control circuit for LEDs uses an electrically controlled potenTIometer (EPOT) to achieve digital control of the LED brightness.

There is an alternaTIve that reduces the number of ICs and control lines. You can control each LED driver directly with a single output port. Simply replace the EPOT with a simple RC integrator and program the port to output a PWM signal (Figure 2). The average voltage at ADJ (pin 4) varies with the PWM signal and enables the IC (a current regulator for LEDs) to control the LED brightness. An RC time constant at least 50 times the PWM period produces a smooth average voltage across the capacitor. The circuit also includes a 6.65kΩ resistor across the integrating capacitor, which reduces the 5V PWM signal to 1.25V as required by the IC's ADJ input.

Figure 2. Replacing the EPOT of Figure 1 with an RC network reduces both the IC count and the required number of control lines.
Figure 2. Replacing the EPOT of Figure 1 with an RC network reduces both the IC count and the required number of control lines.

A similar article appeared as a Design Idea in the February 20, 2006 edition of EET.