DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 257|回复: 0
打印 上一主题 下一主题

Diagnose LEDs by monitoring the switch-mode duty cycle

[复制链接]
跳转到指定楼层
楼主
发表于 2012-1-21 23:52:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
A change in the forward voltage (VF) for a string of series-connected, high-brightness LEDs (Hb LEDs) can indicate deterioration or complete failure of one or more of the LEDs. Accordingly, this circuit assesses the LED's health by monitoring VF. The forward voltage (VF) of high-brightness LEDs (Hb LEDs) is often monitored to assess the health of the LED. big changes in VF 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 VF voltages can go to 40V or more, and if not referenced to ground, that VF sum requires a differential measurement. As a third challenge (in addition to high voltage and differential measurement), HbLEDs are often dimmed using pulse-width modulation (PWM). If so, you can't measure VF during the low portion of the PWM duty cycle, when the LEDs are not illuminated and VF is not present. For a hysteretic buck LED driver (MAX16820) driving three LEDs in series (Figure 1), you must measure the anode and cathode voltages of the string when DIM is high.

Figure 1. Standard driver circuit for Hb LEDs.To avoid the need for a differential high-voltage measurement, you can take the indirect approach of measuring the duty cycle at the DRV pin. For this particular LED driver, a first-order estimate of forward voltage for the LED string is VF = D × VIN, where D represents an internal duty cycle produced in the IC's switchmode section (not to be confused with the duty cycle at DIM). The DRV signal is referenced to ground and limited to VCC (5V). That condition allows the use of low voltage ADCs or comparators, which in turn can be powered by the LED driver's VCC output (10mA maximum).Figure 2 shows how to detect a short-circuited LED with the aid of a comparator (MAX9141). Filter R1C1 converts the AC PWM signal at DRV to a DC voltage (VD) proportional to D × VCC. VD should be sampled when its value is greater than (perhaps) 90% of its steady-state value, which requires a period of at least 2.3R1C1. because the comparator's Latch Enable (LE) latches the output when LE is low, LE should assert not earlier than 2.3R1C1 after DIM goes high. R2C2 in combination with D2 ensures that LE de-asserts immediately after DIM goes low. The R2C2 value is higher than R1C1, so the comparator enables when the input signal reaches at least 90% of its steady-state value. D2 discharges C2 immediately after DIM goes low, which latches the output as soon as the LEDs go off.

Figure 2. Adding this comparator circuit to the Figure 1 circuit provides detection of shorted LEDs.because Ref 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 DRV to drop. VD then drops below Ref, causing the comparator output to go high, indicating a shorted LED. because the output latches when DIM goes low, the error signal remains asserted even when the LEDs are off. Figure 3 shows the filtered DIM and DRV signals for normal operation vs. a shorted-LED condition.


                          
                       
                          
                                Figure 3. For the Figure 2 circuit with three LEDs in series and a 200Hz DIM signal with 5% duty cycle, these graphs show the filtered DRV signal VD (green) and filtered DIM signal (yellow) obtained with normal operation (a), and one LED shorted (b).For a system with VIN = 12V and three LEDs in series, where VF ≈ 3V per LED (Figure 3a), the filtered DRV signal (green graph) stabilizes at approximately D × VCC = (9V/12V)5V = 3.75V. The comparator latches when the filtered DIM signal (yellow graph) goes lower than 2.5V, so the comparator begins interpreting the filtered DRV signal after approximately 100μs. Clearly, VD is higher than the threshold Ref (red line) when the comparator is active.After one of the LEDs shorts out (Figure 3b), VD stabilizes at approximately (6V/12V)5V = 2.5V, and does not exceed the threshold anymore. That condition causes the comparator 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 cut-off frequency should be low enough to properly filter the DRV signal, yet small enough to allow the filtered signal to stabilize near the steady-state value achievable within the shortest dimming pulse.This circuit can easily be adjusted to detect open-circuit LEDs. When an LED breaks and stops conducting current, the DRV duty cycle goes to 100% (when DIM is high). If you then swap the comparator-input connections and put Ref slightly below VCC, the comparator output goes high in response to an open LED.
                          
                       
                          
                               
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|文字版|手机版|DIY编程器网 ( 桂ICP备14005565号-1 )

GMT+8, 2024-9-26 05:14 , 耗时 0.087980 秒, 19 个查询请求 , Gzip 开启.

各位嘉宾言论仅代表个人观点,非属DIY编程器网立场。

桂公网安备 45031202000115号

DIY编程器群(超员):41210778 DIY编程器

DIY编程器群1(满员):3044634 DIY编程器1

diy编程器群2:551025008 diy编程器群2

QQ:28000622;Email:libyoufer@sina.com

本站由桂林市临桂区技兴电子商务经营部独家赞助。旨在技术交流,请自觉遵守国家法律法规,一旦发现将做封号删号处理。

快速回复 返回顶部 返回列表