KEITH SZOLUSHA explores various approaches to driving RGBW LEDs in dynamic color lighting applications and explains that a matrix approach can deliver the requisite performance with a relatively small number of ICs in the driver circuitry.
There are various ways to drive RGBW LEDs for color and brightness control. One way to drive and dim RGBW LEDs is to use four separate LED drivers, one for each color as shown in a two-LED system in Fig. 2. In such a system, the LED current, or PWM (pulsewidth modulation) dimming, of each individual emitter or string is driven by separate drivers and control signals. In this solution, though, the number of LED drivers increases quickly with the number of RGBW LEDs. Any lighting system with a significant number of RGBW LEDs requires a substantial number of drivers and synchronization of the control signals to those drivers.
The matrix approach
A much simpler and more elegant approach is to drive all of the LEDs with a single driver/power converter at a fixed current, while using a matrix of shunting power MOSFETs to PWM dim the individual LEDs for brightness control. The matrix dimmer and single LED driver shown in Fig. 3 reduce the circuit size relative to the approach in Fig. 2. Furthermore, a single communications bus to control the matrix LED dimmer makes RGBW color-mixing LED systems relatively simple and compact, while driving high-current RGBW LEDs with accurate color and brightness control.
As seen in Fig. 3, the LT3965 matrix LED dimmer enables such a design. Each LT3965 8-switch matrix dimmer can pair with exactly two RGBW LEDs, allowing control of the individual brightness of each individual emitter (red, green, blue, and white) in PWM steps of 1/256 between zero and 100% brightness. Two-wire I2C serial commands provide both color and brightness control to all eight channels. I2C serial code to the matrix LED dimmer IC determines the brightness state of all eight LEDs and can check for open and short LEDs in case of a fault.
Since each RGBW LED is designed as a single point source, the red, green, blue, and white light combine to produce color variety, with saturation, hue, and brightness control. Each LED can be set in 1/256 steps between zero (0/256) and 100% (256/256) with the high-speed LT3965 matrix dimmer.
Accurate RGBW color and brightness control
There are, in fairness, multiple ways to approach the RGBW challenge. RGBW LEDs can produce accurate color and brightness with PWM dimming of the individual component red, green, blue, and white emitters. As mentioned earlier, individual PWM brightness control can support 256-to-1 or higher dimming ratios. An alternative to PWM dimming is to simply reduce the drive current for each LED, but accuracy suffers in this method, allowing only 10-to-1 dimming ratios, and incurring color drift in the LEDs themselves. A matrix dimming approach using PWM dimming outperforms drive-current schemes in accuracy of color and brightness.
FIG. 1. RGB LEDs feature a wide color gamut. Adding white is one way to simplify the algorithmic mixing of specific colors. In some mixing schemes, white is used to change the saturation, while red, green, and blue set the hue.
Still, care must be exerted in the driver design to ensure accuracy in PWM implementations. The bandwidth and transient response of the LED driver (the source of the 500-mA LED current) affects the color accuracy. With over 10-kHz crossover frequency and little or no output capacitor, the compact boost-buck converter in Fig. 3 reacts quickly to changes in the number of driven LEDs as the matrix dimmer turns its switches on and off.
To illustrate how important this is to accuracy, red, green, and blue emitters in an RGB LED are run separately at different PWM duty cycles and measured for light output with an RGB optical sensor. The results in Fig. 4 show uniform slopes of each color from 4/256 to 256/256, with a slight change in slope below that. Of course, red, green, and blue LEDs are not perfect in their color, so some color from other bands sneaks out even when only one is driven. And in the test, white color (Fig. 4d) was achieved with an RGB mix. The figure refers to the white state as the RGB emitters being off, although the reality is that the RGB emitters are in a virtual off state. Overall, this is a highly accurate system.
Accuracy can be improved down to 1/256 PWM dimming using a very high-bandwidth (>40-kHz) buck converter LED driver, but that involves either the expense of adding another step-up converter to create a regulated, greater-than-30V output voltage, or having an input voltage source above 30V. Unless a high level of accuracy at extremely low light is necessary, there is little reason to forgo the boost-buck's versatility, simplicity, and compact size by adding an extra converter.
The matrix dimmed RGBW LED color mixer system described here achieves a broad color gamut, as shown in Fig. 1. Adding more colors, such as amber, can expand the gamut. RGBWA LEDs (with an amber LED component) can produce deep yellows and oranges that RGBW LEDs cannot. These LEDs can also be driven with the matrix dimmer, but the eight channels of the matrix dimmer match well to two RGBW LEDs.
The 256-level dimming scheme of the LT3965 easily translates to typical RGB paint programs and common color-mixing algorithms. For instance, if you open a standard PC paint program, you will see that colors are mixed using a 256-value RGB system. For example, the LED current waveforms in Fig. 5 produce purple light from an RGBW matrix LED system controlled by a basic PC-based paint program. Because the design described in this article produces accurate current drive and PWM control, RGBW LEDs can be predictably color-calibrated by adjusting the duty cycles of the component LEDs, easily accounting for inherent variations in LED brightness.
Matrix LED color mixer with boost-buck
The matrix dimmer requires a suitable LED driver to power the string of eight LEDs from a variety of inputs: standard 12V ±10%, 9V-16V (auto) or 6V-8.4V (Li-ion). One such solution is the LT3952 boost-buck LED driver, which both steps up and steps down input-to-LED voltage, while providing low ripple input and output current. With little or no output capacitor in its floating output topology, it can react quickly to changes in LED voltage as the individual LEDs are PWM dimmed on and off to control color and brightness as shown in Fig. 5.
The LT3952 500-mA boost-buck LED driver shown in Fig. 3 pairs with the LT3965 8-switch matrix LED dimmer and two RGBW 500-mA LEDs. This new boost-buck topology gracefully operates over the entire range of zero-to-eight LEDs in series, with a voltage of 0V to 25V. The instantaneous series LED voltage changes, determined by which, and how many LEDs are enabled and disabled by the matrix dimmer at any given moment. The 60V OUT voltage of this converter/topology (a sum of VIN and VLED), and the converter duty cycle, are rated for the full input range of 6V to 20V and output range (LED series voltage) of 0V to 25V at 500 mA.
The matrix dimmer controls LED brightness by shunting the LEDs with parallel power MOSFETs. The LEDs do not need to be connected to ground with either the floating output boost-buck LED driver or with the matrix LED dimmer. As long as the VIN pin of the LT3965 is connected to SKYHOOK, which is at least 7.1V above LED+, all of the shunt MOSFETs work properly. SKYHOOK can be created with a charge pump from the switching converter or it can be supplied with a regulated source that is at least 7.1V greater than the highest expected LED+ voltage (in this case, 20V VIN max plus 25V LED max). The tiny LT8330 boost converter in a 3×2-mm DFN package is a good choice to generate SKYHOOK.
FIG. 2. Eight separate LED drivers and PWM signals can be used to drive two RGBW LEDs in a high-power color-mixing application.
FIG. 3. In a matrix design, a single boost-buck LED driver and matrix LED dimmer with serial communications can be used for a much smaller and compact realization of the driver and control electronics.
An optional external clocking device is used to synchronize the system at 350 kHz, which is suitable for automotive environments, relatively efficient and allows the use of compact components. Although this system could just as well run at 2 MHz (above the AM band), 350 kHz (below the AM band) enables this boost-buck converter to regulate without pulse-skipping when all LEDs are shorted by the matrix dimmer and the LED string voltage drops to 330 mΩ • 500 mA • 8 = 1.3V. This frequency also supports high dimming ratios without visible LED flicker.
Start-up sequence with LEDs on or off
The matrix LED dimmer system can be set to start with all of the LEDs on or off. Starting up with all of the LEDs off allows them to fade on softly or to start at a programmed color and brightness, such as green-blue at 10% brightness. If all of the LEDs start with full 500-mA current before the serial communications begin telling the dimmer what to do, then full bright white light may be observed before serial communications start.
FIG. 4. A test of each of the red, green, and blue emitters in an RGB LED demonstrates the linear brightness control achieved with PWM dimming and the matrix LED dimmer in Fig. 3. Note that the white output in Fig. 4d is realized with a mix of the component colors with the figure identifying that the component colors are virtually off.
FIG. 5. The RGBW 500-mA LED currents are PWM dimmed and phased by the LT3965 matrix dimmer to create colors and patterns. The LT3952 boost-buck converter/LED driver easily keeps up with the rapid changes in LED voltage as individual LEDs are PWM dimmed.
With either start-up method, the LT3965 should be powered up before it receives I2C serial communications, or the initial communications may be lost when it performs a power-on reset (POR). The POR occurs when the EN/UVLO pin crosses above the 1.2V threshold. Since this voltage is based on SKYHOOK being at least 7.1V above LED+, this can occur at any time after a high SKYHOOK voltage is applied, such as 55V from a small boost regulator, or it can happen after a charge-pumped voltage from the LT3952 switch node is high enough to create SKYHOOK. In the case of a charge-pumped SKYHOOK, the LED current may be present before the charge-pumped SKYHOOK, so the LEDs light up before the LT3965 switches can turn the LEDs off. This is a simple solution for a designer who would like the LEDs to turn on full brightness to start.
To start the LEDs off, SKYHOOK must be present at a high voltage before the LT3952 is turned on. If the PWM pin is held low during start-up, the LT3952 will not start up until it is commanded to do so by an external source, such as the master microcontroller. The microcontroller can send I2C setup commands to the LT3965 once SKYHOOK is present and set up its switches to the LED OFF position before current is flowing to them. Then, after setup, the LT3952 PWM can be asserted and the current begins to flow through shorted LT3965 switches, with the LEDs off. After this, a fade start can occur, or the LT3965 dimmer can jump to a particular color or brightness.
Upon a reset, the PWM of the LT3952 must be pulled low again to turn it off and restart in the LEDs off position. In that case, a simple micropower boost such as an LT8330 can supply 55V from the 6V-20V input. The microcontroller receives a signal that LT3965 is powered up and ready to receive serial communications by asserting the ALERT flag. Before any of the switches are shorted out, zero current through the LEDs shows up as zero voltage across the switches - interpreted and reported as a short-circuit fault. Only after the LT3965 is powered up by SKYHOOK is the flag asserted.
Economically realizing a matrix system
A matrix LED dimmer such as the LT3965 can be paired with a boost-buck LED driver to form an accurate-color RGBW LED color mixing system. With the LT3952, it can be used to drive two RGBW LEDs at 500 mA with 350-kHz switching frequency from a 6V to 20V input. This versatile system can be powered with automotive batteries, 12V power, or Li-ion batteries. High color accuracy results from the fast transient response of the boost-buck LED driver topology and predictable dimming control via the 256:1, I2C-controlled matrix system. It can be set up to start up with all of the LEDs off and can fade to start or jump to a particular color. Although not required, optical feedback via a microcontroller can be added to improve color accuracy.
KEITH SZOLUSHA is applications engineering section leader, power products, at Linear Technology (linear.com).