Design Article
LED-driver level-shifter includes fault detection
John Guy, Maxim Integrated Products Inc., Sunnyvale, CA
10/18/2007 12:10 PM EDT

Figure 1: This level-shifting transistor allows the IC to drive series LEDs from a high-voltage supply.
(Click on image to enlarge)
NPN transistor Q1 mirrors more than 99% of its emitter current through the collector, allowing the circuit to drive dozens of LEDs in series. The optional series-resistor R1 reduces power dissipation in the driver IC.
An unfortunate side-effect of this level shifter is loss of the fault-detection circuit, whose purpose is to indicate open-circuit conditions. The fault detector senses invalid (low) output voltages, such as <200mV for the MAX6974 24-port driver IC. But, if LEDs in the level-shifter circuit are open-circuited, the IC never sees an output fault. The transistor simply supplies the 20 mA (required by the IC) via its base-emitter diode. Adding a single 150 Ω resistor (R2 in Figure 2) restores the fault detection.

Figure 2: The addition of R2 in Figure 1 restores the fault-detection function.
(Click on image to enlarge)
Because Q1 has a high minimum beta (β) of 100, R2 drops less than 150 Ω (20 mA/β) = 30 mV.
The oscilloscope traces of Figure 3 and Figure 4 compare the original Figure 1 circuit with the improved version by monitoring test points TP1 (top trace) and TP2 (bottom trace). Both signals are 1 V/div, and referenced to ground potential.

Figure 3: As TP1 in Figure 1 (top trace) decreases, indicating an open in the LED chain, the bottom trace (TP2) is hardly affected, and therefore produces no fault alarm.
(Click on image to enlarge)

Figure 4: As TP1 in Figure 2 (top trace) decreases, indicating an open in the LED chain, the bottom trace (TP2) also decreases, until the IC senses the low voltage that indicates an LED fault.
(Click on image to enlarge)
As an open LED (or a lower supply voltage) causes the top trace to decrease, the transistor eventually saturates, as indicated by a flattening of this trace around 2.7 V. The bottom trace in Figure 3 is hardly affected because the base-emitter diode of Q1 supplies the 20 mA load current. Fault detection is not active.
In Figure 4, the bottom waveform also decreases as Q1 hits saturation, thereby activating the fault circuit as the waveform falls below the 200 mV threshold.
The component values in Figure 2, selected for a 20 mA load current, 3.3V supply voltage, and 200 mV fault-detection threshold, allow LED currents in the range 12 mA to 24 mA. You can adjust the values to obtain other current ranges (R1 = 0 gives the widest operational range).

where:
- VSUPPLY is the logic power supply voltage,
- VBE1 (0.7 V) is the typical base-emitter voltage,
- VSAT is the driver IC saturation voltage (about 1 V for the MAX6974),
- IMAX is the maximum programmed current range.

where:
- VBE2 is the worst-case base-emitter voltage (0.5 V at high temperature),
- VFDT is the fault detection threshold of the driver IC (about 200 mV for the MAX6974),
- IMIN is the minimum programmed current range.
About the author
John Guy is an applications engineer manager at Maxim Integrated Products, Sunnyvale, CA. He has been with Maxim for 9 years. Prior to joining Maxim, he worked at a now-defunct start up for two years, and twelve years with Precision Monolithics (now part of Analog Devices, Inc). He graduated from San Jose State University in 1992 with a BSEE.



