IRPLLED1 IRPLLED1 (Rev D Version) 350mA to 1.5A High Voltage LED Driver using IRS2540,1 or IRS25401,11 Table of Contents Page 1. Introduction...............................................................................1 2. Constant Current Control.......................................................................3 3. Frequency Selection..............................................................................6 4. Output L1 and COUT Selection .............................................................6 5. MOSFET vs Diode for the low side switch......................................12 6. VCC Supply ............................................................................15 7. VBS Supply ............................................................................16 8. Enable Pin ..............................................................................17 9. Over voltage protection...............................................................22 10. Other Design Considerations .....................................................24 11. Design Procedure Summary .....................................................25 12. Bill of Materials ..................................................................26-27 13. PCB Layout ...........................................................................27 EVALUATION BOARD - IRPLLED1 1. Introduction Development of LED technology over the last few years has produced high power devices with luminous efficacies surpassing Fluorescent and HID light sources. These solid state light sources also posses the added advantages of longer operating life span, up to 50000 hours as well greater robustness that other less efficient light sources. For these reasons high power LEDs have now become a viable alternative for many general lighting applications. High power LEDs are driven with constant regulated DC current, requiring a "ballast" or "converter" to provide the required current from an AC or DC power source. The IRS2540/1/01/11 series Buck LED driver provides an accurately controlled current and protects the LEDs against damage from overload, while providing the ability to dim the light level. The IRS2540/1/01/11 will be replaced by the fully compatible revised IRS25401/11. The IRPLLED1evaluation board is a high voltage LED driver designed to operate from a DC input voltage of 50V to 170V and produce an output voltage of 16V-24V to supply a programmable load current of 350mA, 700mA, 1A, or 1.5A. It uses the IRS2540/1/01/11 or revised version IRS25401/11, a high voltage, high frequency Buck control IC for constant LED current regulation. The IRS2540/1/01/11 controls the average load current by a continuous mode time-delayed hysteretic method using an accurate on chip band gap voltage reference. The 8-pin, 200V/600V rated IRS2540/1/01/11 inherently provides short-circuit protection with open-circuit protection incorporated by a simple external circuit and has dimming capability. The evaluation board documentation will briefly describe the functionality of IRS2540/1/01/11, discuss the selection of the output stage, switching components and surrounding circuitry. This board was tested with a single HBLED panel for the 350mA and 700mA settings, using two similar flood boards in parallel to provide test loads for the 1A and 1.5A settings. Important Safety Information The IRPLLED1 does not provide galvanic isolation of the LED drive output from the line input. Therefore if the system is supplied directly from a non-isolated input, an electrical shock hazard exists at the LED outputs and these should not be touched during operation. Although the output voltage is low this electrical shock hazard still exists. It is recommended that for laboratory evaluation that the IRPLLED1 board be used with an isolated DC input supply. The IRS2540/1/01/11 series Buck topology is suitable only for final applications where isolation is either not necessary or provided elsewhere in the system. www.irf.com RD-0608 2 2. Constant current control The IRS2540/1/01/11 is a time-delayed hysteretic Buck controller. During normal operating conditions the output current is regulated via the IFB pin voltage to a nominal value of 500mV. This feedback signal is compared to an internal high precision band gap voltage reference. An on-board dV/dt filter has also been used to prevent erroneous transitioning. This is necessary since the IFB pin is sensitive to noise. The Buck topology may use a fast recovery diode for the lower switch or a synchronous MOSFET shown as M2 in Fig 1. On power up as the VCC supply to the IR2540/1/01/11 reaches VCCUV+ the LO output is held high and the HO output low for a predetermined period of time. This initiates charging of the bootstrap capacitor establishing the VBS floating supply for the high side output. The chip then begins toggling HO and LO outputs as needed to regulate the load current monitored and fed back through the current sense resistor RCS. The dead times of approximately 140ns between the LO and HO gate drive signals prevents shoot through and reduce switching losses, particularly at higher frequencies. Fig. 1 IRS2540/1/01/11 Constant Current LED Driver Typical Schematic (see Fig. 16 for evaluation board full schematic) Note: Cout and Rout are optional and may be required in some applications Under normal operating conditions, if VIFB is below VIFBTH, HO will be high and the load receives current from VBUS through the Buck inductor L1. This simultaneously stores energy in the output stage comprised of L1 and COUT as VIFB begins to increase. When VIFB crosses VIFBTH, HO transitions low after the delay t_HO_off. Once HO is low, LO will transition high after the deadtime. The inductor and output capacitor release the stored energy into the load and VIFB starts decreasing. When VIFB crosses VIFBTH again, LO switches low after the delay t_LO_off and HO switches high after the delay t_HO_on. The cycle then repeats continuously at a frequency depending on the load current and the values of the output inductor and capacitor. www.irf.com RD-0608 3 (A) (B) Fig. 2 (A) Storing Energy in Inductor (B) Releasing Stored Inductor Energy HO 50% 50% 50% t_HO_off t_HO_on DT1 DT2 50% 50% LO t_LO_on t_LO_off IFB IFBTH Fig. 3 IRS2540/1/01/11 Control Signals, Iavg=1.2A Fig. 4 IRS2540/1/01/11 Time Delayed Hysteresis The switching continues to regulate the current at an average value determined as follows: when the output combination of L1 and COUT is large enough to maintain a low ripple on IFB (less than 100mV), Iout(avg) can be calculated: Iout (avg ) = VIFBTH RCS Having load current programmable from 350mA to 1.5A, series and parallel combinations of resistors must be used to correctly set the current as well as distribute power accordingly. Equivalent resistances for each current setting are calculated as follows: 0.5V = 1.43 350mA 0.5V = 0.71 R700 mA = 700mA 0.5V = 0.5 R1 A = 1A 0.5V = 0.33 R1.5 A = 1.5 A R350 mA = www.irf.com RD-0608 4 Since some of these equivalent values of resistance are not available, series and parallel combinations are used and are specified as follows (all combinations use standard value resistors: 1.43, 0.56, and 0.47): R350mA = 1.43 R700mA = 0.71 (1.43 || 1.43) = 0.715 R1A = 0.5 (0.47 + 0.56) || (0.47 + 0.56) = 0.515 R1.5 A = 0.33 (0.47 + 0.56) || (0.47 + 0.56) || (0.47 + 0.56) = 0.343 Although some of the series and parallel combinations do not yield the exact resistance needed for tolerance purposes, they are accurate enough. For this evaluation board an extremely tight current regulation is achieved with a worst case result of 1.2% for the 350mA setting over the bus voltage range from 50V to 170V. Likewise a precise regulation of 0.25% can be maintained for a range of load voltage from 16V to 24V at the 350mA current setting. The jumper positions on the evaluation boards (JSET) for setting the different load currents are shown below: Fig. 4a: JSET LED Current Programming Settings 1600 0.3% 1400 Iout (mA) 1200 0.5% 0.6% 1000 800 600 1.2% 400 350mA 200 700mA 0 30 50 70 90 110 130 Vin (V) 150 1A 170 1.5A Fig. 5 Vout = 16V, L1 = 470uH, COUT = 33uF www.irf.com RD-0608 5 1600 0.1% 1400 Iout (mA) 1200 0.17% 0.13% 1000 800 600 0.25% 400 200 350mA 0 10 15 20 25 Vout (V) 700mA 30 1A 1.5A Fig. 6 Vbus = 100V, L1 = 470uH, COUT = 33uF 3. Frequency selection The frequency in the IRS2540/1/01/11 application is free running and maintains current regulation by quickly adapting to changes in input and output voltages. There is no need for additional external components to set the frequency as seen in other controllers. The frequency is determined by L1 and COUT, as well as the input/output voltages and load current. The selection of the frequency is a trade-off between system efficiency, current control regulation, size, and cost. The higher the frequency, the smaller and lower the cost of L1 and COUT, the higher the ripple, the higher the FET switching losses, which becomes the driving factor as VBUS increases to higher voltages, the higher the component stresses and the harder it is to control the output current. 4. Output L1 and COUT selection In order to maintain good output current regulation with minimum ripple, the value of L1 needs to be adequately sized. COUT is optional and can also be used for energy storage, which allows the converter to run at a lower frequency. Excess ripple at the output results in high peak currents that are undesirable for driving high power LEDs and also negates the ability of the system to accurately regulate the average current. First, the effect of the inductor in a configuration with no output capacitor will be considered to clearly demonstrate the impact of the inductor. In this case, the load current is identical to the inductor current. Fig. 7 shows how the inductor value influences the frequency over a range of input voltages. As can be seen, the input voltage also has a great effect on the frequency. The inductor value reduces the frequency for lower input voltages. www.irf.com RD-0608 6 425 Frequency (kHz) 375 470uH 325 680uH 1mH 275 1.5mH 225 175 30 80 130 180 Vin (V) Fig. 7 Iout = 350mA, Vout = 16.8V, COUT = 0uF 400 390 Iout (mA) 380 470uH 370 680uH 360 1mH 1.5mH 350 340 330 30 80 130 180 Vin (V) Fig. 8 Iout = 350mA, Vout = 16.8V, COUT = 0uF www.irf.com RD-0608 7 400 380 Frequency (kHz) 360 340 470uH 320 680uH 300 1mH 280 1.5mH 260 240 220 200 13 18 23 28 33 Vout (V) Fig. 9 Iout = 350mA, Vin = 50V, COUT = 0uF 345 343 341 Iout (mA) 339 470uH 337 680uH 335 1mH 333 1.5mH 331 329 327 325 13 18 23 28 33 Vout (V) Fig. 10 Iout = 350mA, Vin = 50V, COUT = 0uF www.irf.com RD-0608 8 The output capacitor can be used simultaneously to reduce the frequency and improve current control accuracy. Fig. 11 shows how the capacitance reduces the frequency over a range of input voltage. A capacitance of 4.7uF has a large effect on reducing the frequency. Fig. 12 shows how the current regulation is also improved with the output capacitance. There is a point at which continuing to add capacitance no longer has a significant effect on the operating frequency or current regulation, as can be seen in Fig. 12 and Fig. 13. 0uF 1000 4.7uF 10uF Frequency (kHz) 22uF 33uF 47uF 100 10 30 50 70 90 110 130 150 170 Vin (V) Fig. 11 Iout = 350mA, Vout = 16.8V, L = 470uH 390 Iout (mA) 380 370 360 350 0uF 4.7uF 340 10uF 22uF 330 30 80 130 Vin (V) 33uF 180 47uF Fig. 12 Iout = 350mA, Vout = 16.8V, L = 470uH www.irf.com RD-0608 9 400 350 Frequency (kHz) 300 250 40V 100V 200 160V 150 100 50 0 0 10 20 30 40 50 Capacitance (uF) Fig. 13 Iout = 350mA, Vout = 16.8V, L = 470uH The addition of the COUT is essentially increasing the amount of energy that can be stored in the output stage, which also means it can supply current for an increased period of time. Therefore by slowing down the di/dt transients in the load, the frequency is effectively decreased. With the COUT capacitor added to the circuit the inductor current is no longer identical to that seen in the load. The inductor current has a triangular shape, where as the load will see the same basic trend in the current, but all sharp corners become rounded with peaks significantly reduced, as can be seen in Fig. 14 and 13. Fig. 14 Iout = 350mA, Vin = 100V, Vout = 16.85V, L = 470uH, COUT = 33uF www.irf.com RD-0608 10 Fig. 15 Iout = 350mA, Vin = 100V, Vout = 16.85V, L = 470uH, COUT = 33uF Since the system is operating in a free running hysteretic mode, the frequency will adjust to whatever point maintains the regulation of the load current. Since there are fixed delays and a fixed dead time within the IRS2540/1/01/11 controller, the current monitored at the IFB input always overshoots the threshold before the system switches from the energy store phase to the energy release phase. The current must also undershoot the threshold before the system switches back to the energy storage phase. These inherent delays in the system mean that the inductor L1 and capacitor COUT (if used) must be selected to maintain a low enough frequency to minimize this overshoot and undershoot. Output ripple is determined by overshoot and undershoot, which become greater as frequency increases. The inductor for the IRPLLED1 evaluation board was selected to supply the maximum output current of 1.5A. Due to constraints of size a value of 470uH was chosen, which provides good performance. The IRPLLED1 may be used with or without the output capacitor COUT connected. If COUT is not connected the system runs at higher frequency and consequently with reduced efficiency due to switching losses. Because of these considerations an inductor of 470uH and an output capacitance of 33uF were chosen to accommodate the 1.5A load current. The current ripple associated with 470uH is relatively small so the board can be operated with or without output capacitance at the lower current ratings. 5. MOSFET vs Diode for the low side switch The IRS2540/1/01/11 has been designed so that it can drive a low side MOSFET and a high side MOSFET. Alternatively the low side FET can be replaced by a freewheeling diode as shown in Fig. 16. This may yield a lower cost system, but there are some efficiency tradeoffs to be considered, particularly for higher load currents. The system efficiency is directly influenced by several system parameters including operating frequency, load current, and input voltage. In this evaluation board a fast recovery power diode is used for the lower switch. A major parameter to consider is the reverse recovery time of the diode in comparison to the body diode of the FET it replaces. The diode intrinsically has a much shorter reverse recovery time since the device is specifically designed for this, where as the body diode is a parasitic element that originates from basic processing technology and typically has inferior characteristics, in terms of forward drop, reverse recovery, and power handling capabilities. www.irf.com RD-0608 11 Fig. 16 IRPLLED1 Rev D Evaluation Board Schematic Note: Rout is needed only in few applications www.irf.com RD-0608 12 If a MOSFET is used for the lower switch, reverse recovery losses are incurred during the dead time after the low side MOSFET has been on and conducting current. During this dead time the low side MOSFET is off, but the body diode is freewheeling and providing current to the load. Since the body diode is conducting current, carriers are present and will eventually need to be recombined leading to reverse recovery delay. When the high side MOSFET turns on the VS node is very rapidly pulled from COM to VBUS and the low side MOSFET or the freewheeling diode conducts current from VS to ground due to the reverse recovery effect resulting in power losses. This can result in overheating of the low side switching component and component stress, as can be seen in Fig. 17 to 18. Since the power diode has a much shorter reverse recovery time the diode will conduct current for a significantly shorter period and exhibit lower power losses. At lower frequency and reduced load current, the long recovery time associated with the MOSFET body diode may not be an issue. For higher frequency higher current applications a diode could provide lower power losses with respect to a MOSFET. With a low side MOSFET fitted to the IRPLLED1 evaluation board reverse recovery current peaks 8A were measured. This resulted in a temperature rise which could be reduced by replacing the low side MOSFET with an appropriate freewheeling diode. The reverse recovery current peaks were reduced to 4.5A. The frequency was also selected to keep the diode reverse recovery associated power losses low. With the inclusion of a freewheeling diode instead of a low side MOSFET comes the need for an alternative means of pre-charging the bootstrap capacitor CBOOT at startup. RS3 and RS4 provide a current path from the DC bus to VB and from the output to COM in order to accomplish this. After the IRS2540/1/01/11 begins to switch and the high side Buck MOSFET switches off after the first cycle, the voltage at VS transitions to 0V/COM due to the freewheeling action of the lower diode. this allows CBOOT to charge through DBOOT in the normal way and this operation is repeated every cycle. RS4 represents only a small power loss if the output voltage is below 30V, however for higher output voltages a low side MOSFET is necessary. Fig. 17 Using a low side FET, Vin = 100V, Iout = 1.5A, Vout = 17V www.irf.com RD-0608 13 Fig. 18 Using a diode on the low side, Vin = 100V, Iout = 1.5A, Vout = 17V Fig. 19 Low side FET vs. low side diode comparison, Vin = 100V, Iout = 1.5A, Vout = 17V www.irf.com RD-0608 14 Fig. 20 Low side FET and low side diode comparison, Vin = 100V, Iout = 1.5A, Vout = 17V Switching losses increase with higher bus voltage. Conduction losses in the lower switch also increase as the difference between input and output voltages increases, since it conducts for a greater part of the switching cycle. A MOSFET has much lower conduction losses than a diode since it has a fixed on resistance and not a fixed junction voltage drop and therefore offers an advantage at higher voltages and currents. A combination of diode and MOSFET together is also a possibility if required. The IRPLLED1 board allows for an additional MOSFET switch M2 to be added. In this case, during the dead time, instead of the body diode free-wheeling the additional diode would be conducting. This will always be the case as long as the forward drop of the external diode is less than that of the body diode. If the load current is the low hundred milliamps range, the losses in the diode may not be a concern. For optimized system efficiency the forward conduction losses of a diode can also be compared to the reverse recovery losses with a low side MOSFET. For this evaluation board, it was found that conduction losses were less than reverse recovery losses when running at 1.5A and therefore and diode alone was used.. Selecting the correct MOSFET involves finding a part with as low an RDSon low as possible. MOSFET RDSon increases for higher VDS rated parts. Therefore, if a 600V MOSFET is used in a 200V application, extra losses may be incurred due to a component that far exceeds the requirements. If using two MOSFETs the next parameter to be considered is the reverse recovery time. Obviously MOSFETs will not have a reverse recovery time comparable to diodes but a reverse recovery time in the order of 150 to 200ns is possible. The two remaining parameters to consider are direct trade-offs of each other, on resistance and gate charge. If the MOSFET has a relatively low gate capacitance the die size will be small, which will result in a larger on resistance that could potentially be a problem for high current applications. On the other hand, if the MOSFET has a larger gate capacitance the die will be relatively large and the part will have a lower on resistance. In this case more current is needed to turn on the MOSFET therefore requiring more VCC current in the IRS2540/1/01/11 and resulting in higher losses. There has to be a direct compromise between the two. Typically the best solution is a MOSFET with a relatively low RDSon and a medium sized gate capacitance much like the device chosen for this application. 6. VCC Supply Since the IRS2450/1/01/11 is rated for 200V/600V VBUS can vary considerably in different applications. If a simple supply resistor from VBUS is used for VCC it will experience high power losses at higher bus voltages. For higher voltage applications therefore an alternate VCC supply scheme utilizing a resistor feed-back (RS2) from the output needs to be implemented, as seen in Fig. 1 and Fig. 16. This solution is limited to applications where the LED string voltage exceeds the voltage required to drive VCC, which is about 13V to guarantee good operation. www.irf.com RD-0608 15 The resistance between VBUS and VCC (RS1) should be large enough to minimize the current sourced directly from the input voltage line. Through this supply resistor a current will flow to charge the VCC capacitor. Once the capacitor is charged up to the VCCUV+ threshold, the IRS2540/1/01/11 begins to operate activating the LO and HO outputs. After the first few cycles of switching the resistor RS2 connected between the output and VCC will take over and source current for VCC from the output. The RS2 resistor provided in the evaluation board has been designed for an output of 16 to 24V. If a higher output voltage is desired, RS2 will need to be increased accordingly. Conversely, if the output voltage is below 20V the value of RS2 may need to be reduced in order to supply sufficient voltage to VCC. A 10uF capacitor has been used at VCC of the IRS2540/1/01/11, which removes most low frequency ripple that could originate from VBUS due to a rectified voltage waveform. If the input and output voltages are defined for the evaluation board, enough information is provided to calculate values for RS1, RS2, and RS3 (see Fig. 23 for component definition). All three supply resistors were chosen to be 1W devices since they source all current to the chip. Efficiency can be improved by optimizing these values for specific applications. By making each component 1W, the work in supplying VCC can be split up equally making it a more robust solution instead of relying entirely on one component. This also allows the chip to turn on at a lower bus voltage. Assuming that a 14V external zener diode will be used on Vcc, exact values of RS1, RS2, and RS3 are calculated as follows (values calculated to operate the components just below half their rated power): P =V 2 R RS1 1 W= 2 RS1 = (V Bus max - 14V )2 RS1 (V Bus max - 14V )2 1 W 2 = (170V - 14V )2 1 W 2 RS1 = 48.6k 56k RS3 min duty ratio 10% 1 W= 2 RS 3 = (1 - 0.1) (V Bus max - 14V )2 RS 3 (1 - 0.1) (V Bus max 1 W 2 - 14V )2 = (1 - 0.1) (170V - 14V )2 1 W 2 RS1 = 43.8k 47 k www.irf.com RD-0608 16 RS2 1 W = 2 RS 2 = (V Out max - 14V ) 2 RS 2 (V Out max - 14V 1 W 2 ) (30V - 14V ) = 2 2 1 W 2 RS1 = 512 1k RS1 may be rounded up to 1K 7. VBS Supply The bootstrap diode (DBOOT) and supply capacitor (CBOOT) comprise the supply voltage for the high side driver circuitry. To guarantee that the high-side supply is charged up before operation commences, the first pulse from the output drivers comes from the LO pin. During under voltage lock-out mode, the high and low-side outputs are both held low. During an open circuit condition, without the watchdog timer, the HO output would remain high at all times and the charge stored in the bootstrap capacitor (CBOOT) would slowly leak until reaching zero, thus eliminating the floating power supply for the high side driver. To maintain sufficient charge on CBOOT, a watchdog timer has been implemented. In the condition where VIFB remains below VIFBTH, the HO output will be forced low roughly after 20s and the LO output forced high. This toggling of the outputs will last for 1s to maintain and replenish sufficient charge on CBOOT. Fig. 21 Illustration of Watchdog Timer The bootstrap capacitor value needs to be chosen so that it maintains sufficient charge for at least the 20s interval until the watchdog timer allows the capacitor to recharge. If the capacitor value is too small, the charge will fully dissipate in less than 20s. The bootstrap capacitor should be at least 100nF. A larger value within reason can be used if preferred. www.irf.com RD-0608 17 The bootstrap diode should be a fast recovery, if not an ultrafast recovery component to maintain good efficiency. Since the cathode of the bootstrap diode will be switching between COM and VBUS + 14V, the reverse recovery time of this diode is of critical importance. For additional information concerning the bootstrap components, refer to the Design Tip (DT 98-2), "Bootstrap Component Selection For Control ICs" at www.irf.com under Design Support. 8. Enable Pin The enable pin can be used for dimming or open-circuit protection. When the ENN pin is held low the IRS2540 remains in a fully functional state with no alterations to the operating environment. To disable the control feedback and regulation a voltage greater than VENTH (approximately 2.5V) needs to be applied to the ENN pin. With the chip in a disabled state the HO output will remain low and the LO output will remain high to prevent VS from floating, in addition to maintaining charge on the bootstrap capacitor if a MOSFET is used for the lower switch. The threshold for disabling the IRS2540/1/01/11 has been set to 2.5V to enhance immunity to any externally generated noise or application ground noise and also makes it possible receive a drive signal from a microcontroller. Dimming Mode To achieve dimming a signal with constant frequency and set duty cycle can be fed into the ENN pin. There is a direct linear relationship between the average load current and duty cycle if no output capacitor is used in the circuit. A large output capacitor tends to increase the minimum dim level because some current continues to supply the LEDs from this capacitor during the off phase of the PWM dimming. With no output capacitor, if the ratio is 50% then 50% of the maximum set light output will be emitted. Similarly if the ratio is 30% then 70% of the maximum set light output will be realized. A sufficiently high frequency of the dimming signal must be chosen to avoid visible flashing or "strobe light" effect. A signal around 1kHz from zero to 5V is recommended. For this evaluation board, a fully adjustable (0% to 100% duty cycle) PWM wave generator is suggested but this is not included as part of the evaluation board. The following circuit is a simple enable pin dimming signal generator. VBUS RS R1 R2 IC2 OUT1 C1 IN1(-) VCC 2 IN1(+) 3 R7 GND 4 CVCC4 8 LM393 C2 R3 1 OUT2 R6 CVCC3 7 IN2(-) R5 6 IN2(+) 5 Out to ENN pin VR1 DEN2 R4 COM Fig. 22 Suggested PWM Driver (not included in IRPLLED1.5X2) If an external supply for VCC is used, the minimum amount of dimming achievable (light output approaches 0%) will be determined by the "on" time of the HO output, when in a fully functional regulating state. To maintain reliable dimming, it is recommended to keep the "off" time of the enable signal at least 10 times that of the HO "on" time. For example, if the application is running at 75kHz with an input voltage of 100V and an output voltage of 20V, the HO "on" time will be 2.7s (one-fourth of the period - see calculations below) according to standard buck topology theory. This will set the minimum "off" time of the enable signal to 27s. www.irf.com RD-0608 18 Duty Cycle = Vout 20V 100 = * 100 = 20% Vin 100V HOon time = 20% * 1 75kHz = 2.7 s If the IRS2540/1/01/11 is supplied from the output, a large enough capacitor on VCC is required to maintain sufficient current while in a disabled state. For this evaluation board where the IC supply comes from the output, a 10uF capacitor is used to ensure continued operation while disabled. The output is capable of dropping to roughly 10V. A "strobe light" effect in the LEDs may be observed if VCC drops too much or if the dimming frequency is too low. Enable Duty Cycle Relationship to Light Output 100 90 Enable Pin Duty Cycle 80 70 60 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Percentage of Light Output Fig. 23 Light Output vs Enable Pin Duty Cycle Fig. 24 IRS2540 Dimming Signals Since the IRS2540/1/01/11 does not include an onboard oscillator, a soft start feature is not easily implemented. This is only a concern when operating in the dimming mode. Since PWM dimming is required of LEDs, the output is essentially turning on and off at a rate of the dimming frequency. In the absence of soft start a large spike of current would be observed in the load each time the output is turned on. This current spike stresses the load possibly decreasing LED operating lifetime. The IRPLLED1 includes a jumper setting to define whether or not the board is being used in the dimming mode. This two position jumper allows the designer to either include or exclude the resistor Rout, which is in series with the output capacitor. The inclusion of this resistor will sufficiently damp the www.irf.com RD-0608 19 output stage, such that output current spikes are reduced or eliminated. The presence of such current spikes may cause the inductor to hum or buzz where the emitted sound will be that of the dimming frequency. The inrush of current produces mechanical movement in the inductor due to the change in magnetic field, which can be heard since the PWM signal is within the audible range of the human ear. The effects of adding in Rout can be seen in Fig. 25 - 28. Fig. 25 Load Current Spike Excluding Rout Iout = 350mA, Vin = 100V, Vout = 17V Fig. 26 Load Current Ripple Excluding Rout Iout = 350mA, Vin = 100V, Vout = 17V www.irf.com RD-0608 20 Fig. 27 Load Current Spike Including Rout (5ohm) Iout = 350mA, Vin = 100V, Vout = 17V Fig. 28 Load Current Ripple Including Rout (5ohm) Iout = 350mA, Vin = 100V, Vout = 17V Although the inclusion of the resistor Rout minimizes or eliminates the load current spikes, the overall current regulation and operating frequency will be slightly compromised. The resistor reduces the overall effectiveness of the output capacitor, which means the switching frequency will marginally increase. The output ripple current will also increase, which ultimately leads to a larger current regulation tolerance. Although the overall current regulation capabilities may decrease with the inclusion of this resistor, the actual stability of the PWM dimming signal will still be the dominant factor of the overall output current regulation capabilities. It should be noted that the IRPLLED1 reference design board reflects the schematic of Figure 16 where a high speed diode is used in place of the lower MOSFET switch indicated in Figure 1. The addition of resistor RSYNC and diode DSYNC synchronizes the ENN input signal such that, when ENN transitions from low to high to disable the oscillator during a period when HO is high, the IRS2540 will not react www.irf.com RD-0608 21 until the end of the current HO cycle as shown in the waveform diagram below. The reason for this is to avoid the possibility off ENN transitioning from low to high at the exact time that HO transitions from low to high, which may trigger the HO output to latch up under a low VBS supply condition. This is caused by propagation delays that exist inside the IC. RSYNC and DSYNC are not necessary in non-dimming applications. Synchronization as described will not affect the operation or dimming functionality of the circuit. It will serve only to protect the circuit against a possible fault condition, without any detrimental effect to operation. The revised IRS25401 and IRS25411 contain internal circuitry to protect against possible latch up conditions and do not require RSYNC and DSYNC. Fig. 28a: Dimming Synchronization Waveforms. 9. Open circuit protection Fig. 29 IRPLLED1 Improved Open Circuit Protection Scheme www.irf.com RD-0608 22 The overvoltage / open-circuit protection circuit shown in Figure 29 replaces schemes used on previous versions of the IRPLLED1 reference design. This method offers far more reliable performance over the range of operating conditions with or without an output capacitor. It also works reliably during PWM dimming. The output over voltage / open circuit protection circuit shown in Figure 29 allows the designer to program the allowable maximum output voltage by means of ROV1 and ROV2. An industry standard programmable zener diode type LM431 (IC2) is used to pull down the base of Q1, which pulls down on VCC when the divided voltage from ROV1 and ROV2 exceeds the internal 2.5V reference. IC2 is capable of sinking no more than 100mA and in the SOT-23 package has limited power handling ability, therefore Q1 was added to pull down the VCC voltage fed from RS1 and RS2 to below the under voltage lockout threshold VCCUV- of the IRS2540/1/01/11 causing it to shutdown. This circuit reacts very rapidly when the output voltage exceeds the predetermined level. It operates whether or not an output capacitor is connected, i.e. in any of the alternative JDIM jumper positions. The over voltage protection threshold has been set to 32V in the IRPLLED1 Rev D demo board to allow one or two standard LED panels to be connected in series to the output before reaching a voltage level high enough to trigger the protection circuit. The open circuit protection circuit operates in hiccup mode such that Q1 pulls the VCC voltage below the VCCUV- threshold causing the IRS2540/1/01/11 to switch off and enter micro power mode and the output to fall to zero. VCC then charges up again through RS1 until the voltage again exceeds VCCUV+ and the IRS2540/1/01/11 starts up again. The sequence then repeats until a load is added to clamp the output voltage. The above circuit is able to limit the output voltage to a series of pulses instead of a DC level. However it should be noted reducing the average output voltage does not prevent the possibility of electric shock in non-isolated systems! Therefore an IRS2540/1/01/11 based Buck LED driver running directly off line would still be an electric shock hazard and it would not be safe to attempt to replace the LEDs if such a system were powered. In non-isolated systems, additional mechanical protection is required to ensure that access to the LEDs is not possible or alternative a mechanical isolation system could be used to disconnect the LEDs completely from the ballast for safe access. In an illuminated sign for example, this would be a reasonable approach. The open circuit protection system described in this section can only be an effective safety feature in a system where the IRS2540/1/01/11 Buck stage is used as a back end stage supplied by an already isolated DC source. It does however serve to limit the output voltage to prevent damage to the output capacitor COUT in cases where the bus voltage is greater than the rating of this capacitor. Note: The over voltage protection scheme used in the IRPLLED1 evaluation board is different to that used in earlier revisions of the IRPLLED1 and does not conflict with the synchronization operation described in the previous section. The open load protection circuit in Fig 29 is recommended for isolated non-dimming applications where the load may be disconnected and then reconnected without shutting down the driver. When the load is reconnected with power on this would reduce the initial surge of current to the output reducing stress on the LEDs. In an open circuit condition, switching will continue at the HO and LO outputs, whether due to the output voltage clamp or to the watchdog timer. Due to the operation of this circuit the output voltage under open circuit conditions where JDIM is in the DIM position is made up of pulses as shown in Fig 30. If JDIM is in the REG position then these pulses will delay slowly as the output discharges. This can leave an average voltage of approximately 50V at the output. The decay rate of these pulses depends on the value of COUT and the interval between pulses depends on the time taken for CVCC1 to charge above VCCUV- through RS1 and therefore depends on the input voltage. www.irf.com RD-0608 23 Fig. 30 Open Circuit Fault Signals, with Clamp The yellow waveform shows the output voltage and the red waveform shows the VS switching waveform. In this example there is no output capacitor. When the output goes above the over voltage threshold the VCC voltage shown in blue is quickly pulled below VCCUV- and then gradually charges back up to VCCUV+ through RS1. If an output capacitor is connected then VCC is pulled almost to zero by IC3 and the systems takes longer to re-start. Vout = 2.5 (ROV 1 + ROV 2 ) ROV 2 The values of the divider resistor ROV1 and ROV2 are calculated as follows: Let ROV2 = 10K Vout = 2.5 ROV 1 = (ROV 1 + ROV 2 ) ROV 2 Vout ROV 2 32V 10k - ROV 2 = - 10k = 118k 2.5 2.5 ROV 1 120k www.irf.com RD-0608 24 10. Other Design Considerations Filtering The RC filter at the IFB pin is used to remove high frequency transients associated with the switching. The corner frequency of this filter was left high enough to prevent any further distortion of the feedback signal. The input filter is a low-pass filter. Its main objective is to prevent ringing of comparable frequency on Vbus. Exact values of capacitance and inductance are not of critical importance, so long as adequate filtering is accomplished. In addition to the electrolytic capacitor that is used for filtering on the bus there is also a small ceramic for decoupling of high frequency noise. Ceramic capacitors typically have low ESR such that they are more ideal for high frequency filtering. The IRS2540/1/01/11 was specifically designed to handle low frequency ripples on VBUS. Its capability to handle such ripple makes it ideal for an offline rectified waveform. However if high voltage (on the order of 5V-10V) high frequency oscillations (greater than or close to the operating frequency) are present on VBUS, it is recommended to implement an input filter. If these high frequency signals are present on VBUS the IRS2540/1/01/11 will still continue to regulate the current through the load, however abnormal switching of LO and HO may be observed. This poses a problem in terms of switching losses. As previously discussed, the application may need to control the operating frequency to optimize the system efficiency. Excessive high frequency ripple at the DC bus could cause the frequency to become unstable, since this system relies on a self-oscillating principle and is sensitive to noise. Careful attention to the PCB layout is also necessary for this system to operate correctly. If filters on IFB and VCC are not placed correctly, high frequency ripple will couple to the IFB input and interfere with the operation of the control loop. Also if the load current is 1A or 1.5A, when HO turns on the load immediately tries to draw this current. Since the circuit supply is not usually close by, the capacitance of the input wire is not enough to compensate for this large pull of current and this can result in oscillations or change in potential on the input line. To alleviate the circuit of such potential problems it is advisable to implement an input filter. The input filter will also greatly improve the EMC performance. EMC performance The IRPLLED1 evaluation board has not been EMC tested. Input and Output filters can be used to reduce the conducted emissions to below the limits of the applicable EMC standard as needed. Inductors may require a powdered Iron core rather than Ferrite, which can handle a much larger current before saturating. If EMC is of critical importance, it may be beneficial to use a MOSFET for the upper switching element and a diode for the lower switch. The reverse recovery time for a diode is inherently shorter than that of a MOSFET and this can help in reducing transients observed in the switching elements resulting in better EMC performance. Layout Considerations It is very important when laying out the PCB for the IRS2540/1/01/11 based ballast to consider the following points: 1. 2. 3. 4. 5. CVCC2 and CF must be as close to IC1 as possible. The feedback path should be kept to a minimum without crossing any high frequency lines. COUT should be as close to the main inductor as possible. All traces that form the nodes VS and VB should be kept as short as possible. It is essential that all signal and power grounds should be kept separated from each other to prevent noise from entering the control environment. Signal and power grounds should be connected together at one point only, which must be at the COM pin of the IRS2540/1/01/11. The IRS2540/1/01/11 is very sensitive to noise and will not operate if these guidelines are not followed! www.irf.com RD-0608 25 6. 7. It's a general rule of thumb that all components associated with the IC should be connected to the IC ground with the shortest path possible. All traces carrying the load current need to be adjusted accordingly. Gate drive traces should also be kept to a minimum. 11. Design Procedure Summary 1. 2. 3. 4. 5. 6. 7. 8. Determine the systems requirements: input/output voltage and current needed Calculate current sense resistor Determine the operating frequency required Select L1 and COUT so that they maintain supply into the load during t_HO_on. Select switching components (FET/freewheeling diode) to minimize power losses Determine VCC and VBS supply components Add filtering on the input, IFB and ENN as needed Fine tune components to achieve desired system performance www.irf.com RD-0608 26 12. Bill of Materials Item Device Type 1 2 C C 10uF, 25V, Radial 100nF, 200V, 1812 3 C 100nF, 50V, 0805 4 C 33uF, 100V 5 C 1nF, 50V, 0805 6 7 C D 8 D 9 10 11 12 13 Description Part # Manufacturer # of devices Nichicon BC Components 1 1 BC Components 2 Nichicon 1 BC Components 3 47uF, 200V 200V, 1A UVZ1E100MDD VJ1812Y104KXCAT VJ0805Y104KXATW1B C UVZ2A330MPD VJ0805Y102KXACW1B C UVZ2D470MHD MUR120T3 Nichicon On Semi 1 1 Mini Melf LL4148 Diodes Inc 3 D DZ L L R 300V, 8A 14V, 0.5W, Mini Melf 470uH 470uH 10ohm, 1%, 0805 8ETH03 ZMM5244B-7 IL 050 321 31 01 RFB1010-471 MCR10EZHF10R0 IR Diodes Inc VOGT Coilcraft Rohm 1 1 1 1 2 14 R 0.56ohm, 1%, 1206 ERJ-8RQFR56V Panasonic 3 15 R 0.47ohm, 1%, 1206 ERJ-8RQFR47V Panasonic 3 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 R R R R R R R R R R R IC Socket IC Q M T T T H B J J SJ D R M 9C12063A1R43FGHFT MCR10EZHF1000 ERJ-8ENF1203V ERJ-8ENF1002V ERJ-8GEYJ332V ERJ-8GEYJ100V 5073NW1K000J12AFX 5073NW47K00J12AFX 5073NW56K00J12AFX 5073NW3K3000J12AFX 5073NW5R100J12AFX IRS2540/1/01/11 2-641260-1 LM431BIM3N1C PN2907A IRFB17N20D 5005 5006 5009 7-340-1PP-BA IRPLLED1 Rev D 929836-09-05-ND 929836-09-02-ND STC02SYAN Yageo Rohm Panasonic Panasonic Panasonic Panasonic Phoenix Passive Phoenix Passive Phoenix Passive Phoenix Passive Phoenix Passive IR Amp National Semi Fairchild IR Keystone Keystone Keystone IERC 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 3 43 TH 44 45 46 W SC N 1.43ohm, 1%, 1206 100ohm, 1%, 0805 120K, 1%, 1206 10K, 1%, 1206 3.3K, 5%, 1206 10Ohm, 5%, 1206 1K, 5%, 1W 47K, 5%, 1W 56K, 5%, 1W 3.3K, 5%, 1W 5ohm, 5%, 1W IRS2540/1/01/11 8 Pin DIP LM431, SOT-23 PN2907A, TO-92 200V, 16A, TO-220 PC Compact, red PC Compact, black PC Compact, yellow Heatsink PCB Jumper, 10 Pos. Jumper, 2 Pos. Shorting Jumper Not Fitted Not Fitted Not Fitted TO-220 Insulating Thermal Pad Shoulder Washer Screw, 4-40, 0.5", Zinc Nut, 4-40, Hex, Zinc www.irf.com 3M 3M Sullins Connectors Reference CVCC1 CBUS2 CVCC2, CBOOT COUT CF, CEN1, CEN2 CBUS1 DBOOT DEN1, DSYNC, DPWR D1 DCLAMP L1 L2 RG1, RG2 RCS2, RCS4, RCS6 RCS1, RCS3, RCS5 RCS7, RCS8 RF, RSYNC ROV1 ROV2 ROV3 RVCC RS2 RS3 RS1 RS4 ROUT In Socket IC1 IC2 Q1 M1 T1, T4 T2, T5 T3 Jset Jdim DIFB RIFB M2 SP600-54 Berquist 2 3049 H346-ND H216-ND Berquist Building Fasteners Building Fasteners 2 1 1 RD-0608 27 Enable Signal Generator (not included) 1 Device Type C 10uF, 25V, Radial ECEA1EKG100 2 C 100nF, 50V, 0805 VJ0805Y104KXATW1BC BC Components 1 CVCC4 3 C 1nF, 50V, 0805 VJ0805Y102KXACW1BC BC Components 2 C1, C2 4 D Mini Melf LL4148 Diodes Inc 1 DEN2 5 R 1k, 1%, 0805 MRC10EZHF1001 Rohm 1 R6 6 R 6.8k, 1%, 0805 MRC10EZHF6801 Rohm 1 R5 7 R 10k, 1%, 0805 MRC10EZHF1002 Rohm 1 R4 8 R 20k MRC10EZHF2002 Rohm 1 R2 9 R MRC10EZHF7502 Rohm 2 R1, R3 10 R 75k Select depending on VBUS 56k Rohm 1 RS Item Description Part # Manufacurer Panasonic # of Reference devices 1 CVCC3 11 R MRC10EZHF5602 Rohm 1 R7 12 POT 10k, 10-turn M64W103KB40 BC Components 1 VR1 13 IC Comparator LM393D 1 In Socket 14 Socket 8 Pin DIP 2-641260-1 Texas Instruments Amp Tyco Electronics 1 IC2 15 13. PCB Layout Top Overlay www.irf.com Top Metal RD-0608 28 Bottom Overlay www.irf.com Bottom Metal RD-0608 29 Revision History Rev/Date Rev 2. Aug 1, 2008 Rev 3. Oct 27,2008 Rev 4. April 15, 2009 Rev 5. May 28, 2010 Change Description Updated Figure 16 to provide exact schematic of the demo board including sync modification. Added Figure 4a to show LED current jumper settings. Correction made to duty cycle calculation in section 8. Added Figure 28a to show synchronization waveforms for PWM dimming with preceding explanatory text. New PCB layout added in section 12 to include sync modification. Modified table of contents. Section (1) updated. Section (2) updated. Section (3) updated. Section (4) updated. Section (5) updated. Section (6) updated. Section (8) updated. Section (9) updated. Updated Fig 22. R7 added to improve PWM dimming signal generator circuit to reduce noise sensitivity and increase stability. R7 also added to signal generator BOM. Section 8 "Dimming Mode" now recommends a PWM frequency of 1kHz for dimming. Added additional comments in "Layout Considerations" item (5) Now updated for Rev D of the IRPLLED1 demo board. Introduction - added safety warning. Minor updates to sections (1) through (8) Modified Fig 1 to remove old over voltage protection circuit. Replaced Fig 16 and Fig 29 Section 9 updated for new over voltage protection circuit. Updated BOM Updated PCB layout plots Added notes concerning the die revision parts IRS25401 and IRS25411. Enhancements are explained in section 8. IR WORLD HEADQUARTERS: 101 N. Sepulveda Blvd., El Segundo, California 90245 Tel: (310) 252-7105 Data and specifications subject to change without notice. 05/28/2010 www.irf.com RD-0608 30