Subscribe to EDN
RSS
Reprints/License
Print
Email

Diagnose LEDs by monitoring the switch-mode duty cycle

Measure forward voltage only when the LED is on

Fons Janssen, Maxim Integrated Products Inc, Bilthoven, the Netherlands; Edited by Martin Rowe and Fran Granville -- EDN, April 9, 2009

Engineers often monitor the forward voltage, VF, of HB LEDs (high-brightness light-emitting diodes) to assess the LEDs’ health. Big changes in forward voltage can indicate deterioration or even a complete failure of one or more LEDs connected in series. For several LEDs in series, the sum of their forward voltages can reach 40V or more, and, if you do not reference that voltage to ground, it requires a differential measurement. In addition to the challenges of high voltage and differential measurement, HB LEDs are often dimmed using PWM (pulse-width modulation). If so, you can’t measure forward voltage during the low portion of the PWM duty cycle when the LEDs are unlit and the forward voltage is not present. For a hysteretic buck-LED driver driving three LEDs in series (Figure 1), you must measure the anode and cathode voltages of the string when the Dim pin is high.

To avoid the need for a differential high-voltage measurement, you can take the indirect approach of measuring the duty cycle at the driver pin, DRV. For this LED driver, a first-order estimate of forward voltage for the LED string is VF=D×VIN, where D is an internal duty cycle that the IC’s switch-mode section produces; do not confuse this duty cycle with that at the Dim pin. You reference the driver signal to ground and limit it to the power-supply voltage, VCC, at 5V. That condition allows the use of low-voltage ADCs or comparators, which the LED driver’s VCC output, a maximum of 10 mA, can power.

See all of EDN's
Design Ideas

Figure 2 shows how to detect a short-circuited LED with the aid of a comparator. Filter R1C1 converts the ac PWM signal at the driver to a dc voltage, VD, proportional to D×VCC. You should sample VD when its value is greater than perhaps 90% of its steady-state value; this sampling requires a period of at least 2.3R1C1. Because the comparator’s LE (latch enable) latches the output when LE is low, LE should assert not earlier than 2.3R1C1 after the Dim pin goes high. R2, C2, and D2 ensure that LE deasserts immediately after the Dim pin goes low. The value of R2C2 is higher than that of R1C1, so the comparator enables when the input signal reaches at least 90% of its steady-state value. D2 immediately discharges C2 after the Dim pin goes low, which latches the output as soon as the LEDs turn off.

Because the reference voltage is lower than D×VIN, the comparator output is normally low. If an LED fails shorted, its forward voltage drops and causes the duty cycle at the driver to drop. VD then drops below the reference, causing the comparator’s output to go high, indicating a shorted LED. Because the output latches when the Dim pin goes low, the error signal remains asserted even when the LEDs are off. Figure 3 shows the filtered Dim pin and driver signals for normal operation versus a shorted-LED condition.

For a system with an input voltage of 12V and three LEDs in series, in which the forward voltage is approximately 3V per LED (Figure 3a), the filtered driver signal (green) stabilizes at approximately D×VCC=(9V/12V)5V=3.75V. The comparator latches when the filtered Dim signal (yellow) goes lower than 2.5V, so the comparator begins interpreting the filtered driver signal after approximately 100 µsec. Clearly, VD is higher than the threshold-reference voltage (red) when the comparator is active. After one of the LEDs shorts out (Figure 3b), VD stabilizes at approximately (6V/12V)5V=2.5V and no longer exceeds the threshold. That condition causes the comparator’s output to go high, indicating that one of the LEDs has become a short circuit.

The choice of filter constants R1C1 and R2C2 depends on several parameters. The cutoff frequency should be low enough to properly filter the driver signal yet small enough to allow the filtered signal to stabilize near the steady-state value achievable within the shortest dimming pulse. You can easily adjust this circuit to detect open-circuit LEDs. When an LED breaks and stops conducting current, the driver’s duty cycle goes to 100% when the Dim pin is high. If you then swap the comparator-input connections and put the reference voltage slightly below VCC, the comparator output goes high in response to an open LED.

RSS
Reprints/License
Print
Email
Talkback
Canon Resource Center

Featured Company


Most Recent Resources

Advertisement
Related Content

No related content found.

  • 0 rated items found.
Advertisement

KNOWLEDGE CENTER

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Featured Job On
Scroll for More Jobs
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows