AN75 AN75 High Power Factor LED Replacement T8 Fluorescent Tube using the AL9910 High Voltage LED Controller Yong Ang, Diodes Inc. Introduction This application note describes the principles and design equations required for the design of a high brightness LED lamp using the AL9910. The equations are then used to demonstrate the design of a universal, offline, high power factor (PF), 13W LED lamp suitable for use as the replacement for T8 fluorescent tube. A complete design including the electrical diagram, component list and performance measurements are provided. AL9910 high power factor buck LED driver Figure 1 Electrical schematic of a high power factor 13W LED lamp Figure 1 shows the electrical diagram of an offline 13W LED driver. On the input side, CX1, CX2, CX3, CX4, L1 and L2 provide sufficient filtering for both differential mode and common mode EMI noise which are generated by the switching converter circuit. The rectified AC line voltage from the bridge rectifier DB1 is then fed into a passive power factor correction or valley fill circuit which consists of 3 diodes and 2 capacitors. D1, D2, D3, C1, C2 improve the input line current distortion in order to achieve PF greater than 0.9 for the AC line input. The constant current regulator section consists of a buck converter driven by the AL9910. Normally, the buck regulator is used in fixed frequency mode but its duty cycle limitation of 50% is not practical for offline lamp. This problem can be overcome by changing the control method to a fixed off-time operation. The design of the internal oscillator in the AL9910 allows the IC to be configured for either fixed frequency or fixed off-time based on how resistor RT is connected. For fixed off-time operation, the resistor RT is connected between the Gate and ROSC pins, as shown in Figure 1. This converter has now a constant off-time when the power MOSFET is turned off. The on-time is based on the current Issue 1 – January 2011 © Diodes Incorporated 2010 1 www.diodes.com AN75 sense signal and the switching adjusts to be the sum of the on- and off-time. This change allows the converter to work with duty cycles greater than 50%. Design Guide – High power factor offline LED driver In this section the design procedure is outlined according to the schematic shown in Figure 1. First, the guideline for selecting the components for valley fill power factor correction stage and fixed offtime buck converter is shown. The power inductor calculation is then demonstrated and finally, the power losses within MOSFET and free-wheel diode are assessed. The specifications for the system are: VAC = 230Vac VAC(min) = 85Vac VAC(max)= 264Vac ILED(nom) = 240mA VLED(nom) = 54V VLED(min) = 42V VLED(max) = 59V POUT = 12.96W fswi(nom) = 55kHz Passive factor correction stage design The purpose of the valley fill circuit (see Figure 2) is to allow the buck converter to pull power directly off the AC line when the line voltage is greater than 50% of its peak voltage. Figure 2 Valley-fill PFC stage and operating waveforms (Green: VIN to LED driver; Orange: AL9910’s gate voltage) The maximum bus voltage at the input of the buck converter is, VIN(max) = 2 × Vac(max) = 2 × 264 Vac = 373 V During this time, capacitors within the valley fill circuit (C1 and C2) are in series and charged via D2 and R1. If the capacitors have identical capacitance value, the peak voltage across C1 and C2 Issue 1 – January 2011 © Diodes Incorporated 2010 2 www.diodes.com AN75 is VIN(max) 2 = 186 V . Often a 20% difference in capacitance could be observed between like capacitors. Therefore a voltage rating margin of 25% should be considered. Once the line drops below 50% of its peak voltage, the two capacitors are essentially placed in parallel. The bus voltage VIN(min) is the lowest voltage value at the input of the buck converter. VIN(min) at the minimum AC line voltage Vac(min) is, VIN(min) = 2 × Vac(min) 2 = 2 × 85 Vac 2 = 60 V At 60Hz, the total time of a half AC line cycle is 8.33ms. The power to the buck converter is derived from the valley-fill capacitors when the AC line voltage is equal to or less than 50% of its peak voltage. The hold up time for the capacitors equates to t HOLD = 1 3 × 8.33ms = 2.77ms . The valley-fill capacitor value can then be calculated, Pout CTOTAL = VIN(min) × tHOLD VDROOP = 12.96 W × 2.77ms 60 V = 30μF 20 V Therefore, C1 = C2 = 15μF . VDROOP is the voltage droop on the capacitors when they are delivering full power to the buck converter. Ideally VDROOP should be set to less than VDROOP = VIN(min) − VLED(max) in order to ensure continuous LED conduction at low line voltage. Nevertheless, VDROOP is set to be 20V in the design example to avoid the need for very large valley-fill electrolytic capacitor. A 20V VDROOP implies that the bus voltage VIN at the input of buck converter will drop to 40V during part of the AC line cycle. As the buck regulator requires VIN to be greater than the LED stack voltage (VLED(max)=59V) for regulation, the LED will be off during part of the AC line cycle. This has the effect of reducing the actual output LED current at low AC input voltage. In the design example, the LED current drops by approximately 20% from its nominal value at 85Vac (see Figure 4). Setting the fixed off-time and switching frequency range For fixed off-time operation, the switching frequency will vary subjected to the actual input voltage and output LED conditions. A nominal switching frequency fswi(nom) should be chosen. A high nominal switching frequency will result in smaller inductor size, but could lead to increased switching losses in the circuit. A good design practice is to choose a nominal switching frequency knowing that the switching frequency will decrease as the line voltage drops and increases as the line voltage increases. The fixed off-time tOFF can be computed as, 1t off = VLED(nom) Vac(nom) fswi(nom) 54V = 230V = 13.9μs 55kHz 1- The off-time is programmed by timing resistor RT as shown in Figure 1. The value of RT is given by, RT (kΩ ) = t OFF (μs) × 25 − 22 = 13.9 × 25 − 22 = 326kΩ A 330kΩ is selected for RT. Next, the two extremes of the variable switching frequency can be approximated as, fswi(min) = fswi(max) = 1 − VLED(max) VIN(min) t OFF 1 − VLED(min) VIN(max) Issue 1 – January 2011 © Diodes Incorporated 2010 t OFF = 1 − 59 V 69 V = 10kHz 13.9μs = 1 − 42V 373 V = 63.8kHz 13.9μs 3 www.diodes.com AN75 It is advisable to keep below the maximum switching frequency fswi(max) below 150kHz to avoid excessive switching loss. Inductor selection and setting the LED current The fixed off-time architecture of the AL9910 regulates the average current through the inductor LBUCK. The value of LBUCK depends on the desirable peak-to-peak ripple ΔIL in the output LED current. LBUCK can be set with the following equation, LBUCK = VLED(nom ) × t OFF ΔIL = 54 V × 13.9μs = 6.6mH 115mA Due to diameter limitation of the T8 tube, LBUCK is made up of L3 and L4 as shown in Figure 1. The AL9910 constant off-time control loop regulates the peak inductor current Ipk. As the average inductor current equals the average LED current, the average LED current can be regulated by controlling Ipk. Given a fixed inductor value, the change in the inductor current over time is proportional to the voltage applied across the inductor. During the off-time, the voltage seen by the inductor is the LED stack voltage. So, the peak inductor current should be regulated to, Ipk = ILED(nom) + 0.5 × VLED(nom ) × t OFF LBUCK = 240mA + 0.5 × 54 V × 13.9μs = 297mA 6.6mH The peak current is constant and set by the sense resistor RSENSE. If the LD pin is tied to the VDD pin, the value of RSENSE can be easily calculated because the voltage threshold on the CS pin is 0.25V, R SENSE = 0.25 = 0.84Ω 297mA In the circuit shown in Figure 1, RSENSE consists of R5, R6 and R7. The peak current rating of the LBUCK should be greater than Ipk and the RMS current rating of the inductor should be at least 110% of ILED(nom). Although the described solution, working in fixed off-time and Continuous Conduction Mode (CCM), works as a constant current source, a limitation to the output LED current accuracy is its dependency on the number of LEDs and overall LED chain voltage. The best result can be achieved using a fixed number of LEDs. A variable number of LEDs results in reduced current precision. The two extremes of the output LED current can be approximated as, ILED(min) = Ipk - ILED(max) = Ipk - 0.5 × VLED(max) × t OFF LBUCK 0.5 × VLED(min) × t OFF LBUCK = 297mA - 0.5 × 59 V × 13.9μs = 234mA 6.6mH = 297mA - 0.5 × 42V × 13.9μs = 253mA 6.6mH The above equation shows that the precision of the LED current also depends on the tolerance of practical inductor LBUCK. Inductor with tolerance rating equal or less than 10% should be chosen to ensure good LED current precision at mass production. Power MOSFET calculation The power MOSFET is chosen based on maximum voltage stress, peak MOSFET current, total power losses, maximum allowable working temperature and the gate driver capability of the AL9910. Issue 1 – January 2011 © Diodes Incorporated 2010 4 www.diodes.com AN75 Maximum drain-source voltage stress on the power MOSFET for this converter is equal to the input voltage. However, a typical voltage safety margin for the MOSFET defines the maximum reverse voltage as follows, VDSS = 1.3 × VIN(max) = 1.3 × 373 V = 485 V which implies that a common 500V MOSFET is suitable. The power MOSFET losses will be dominated by switching loss. The switching loss depends on the switching time, frequency, MOSFET drain current and drain-source voltage. The switching rise time tRISE and fall time tFALL is a function of the MOSFET’s gate capacitance, the gate driver capability of the AL9910 and layout design. The worse case switching power losses occurs at VLED(min) and VIN(max). The switching loss is approximately, PSW V t ⎛ ⎞ VIN(max) × ⎜⎜ Ipk − LED(min) OFF ⎟⎟ × tRISE × fswi(max) VIN(max) × Ipk × tFALL × fswi(max) L BUCK ⎝ ⎠ = + 2 2 373V × (297mA − 88mA ) × 65ns × 63.8kHz 373V × 65ns × 63.8kHz = + 2 2 = 455mW where the switching time tRISE and tFALL are measured to be 65ns with the 600V MOSFET SPB03N60S5 as the power MOSFET. As shown in Figure 1, R10 is a series gate resistor that slows down the MOSFET switching and reduces EMI emission. The RMS current through the MOSFET at VLED(min) and VIN(max) is given by, ID(RMS) = VLED(min) VIN(max) VLED(min) × t OFF LBUCK ⎛ × ⎜⎜ ILED(nom ) + 12 ⎝ ⎞ ⎟ ⎟ ⎠ 42V ⎛ 42V × 13.9μs 6.6mH ⎞ ⎟⎟ × ⎜ 240mA + 373 V ⎜⎝ 12 ⎠ = 89mA = The power MOSFET conduction loss depends on its static drain-source resistance RDS(ON) at the MOSFET working temperature. It is possible to calculate the continuous conduction loss: 2 PCOND = ID(RMS) × RDS(ON) = (89mA ) × 2.5Ω = 19mW 2 The total power MOSFET loss is: PTOT = PSW + PCOND = 455mW + 19mW = 474mW Total MOSFET power loss is dissipated from the SMD package into the PC Board. So it is possible to calculate the MOSFET working junction temperature can be calculated if the package junction-toambient thermal resistance RthJA is known. The calculated MOSFET junction temperature, TJ, must be lower then the maximum allowable junction temperature TJ(MAX): TJ = PTOT × θ thJA + TAMB = 474mW × 62 o C W + 80o C = 109.4o C The internal ambient temperature within the LED converter, TAMB, is assumed to be 80ºC. θthJA = 62 o C W is the thermal resistance for TO-263 with minimum copper area. For practical design, it is recommended to keep the junction temperature below 110ºC to avoid temperature stress on the device. Issue 1 – January 2011 © Diodes Incorporated 2010 5 www.diodes.com AN75 Free-wheel diode calculation The free-wheel diode DF shown in Figure 1 is chosen based on its maximum stress voltage and total power loss. The maximum stress voltage rating of the free-wheel diode is the same as the MOSFET. It is advisable to use ultra-low reverse recovery time TRR (<35ns) diode as DF to reduce the MOSFET’s switching ON loss. In the design example, 1A 600V rectifier, MUR160, is selected. The worst case average current through the diode occurs at VLED(max) and VIN(min). ⎛ VLED(min) ⎞ ⎟ = 240mA × ⎛⎜1 − 42V ⎞⎟ = 202mA ID(avg) = ILED(nom ) × ⎜1 − ⎜ VIN(max) ⎟⎠ ⎝ 373 V ⎠ ⎝ Assuming a constant forward voltage drop VF across the diode, the conduction power loss can be calculated, PD _ COND = ID(avg) × VF = 202mA × 1.1V = 222mW Finally, the diode junction temperature without using the heat sink can be calculated from, Tj = PD _ COND × θ thJA + TAMB = 222mW × 32 o C W + 80o C = 87o C The internal ambient temperature within the LED converter, TAMB, is assumed to be 80ºC. θthJA = 32 o C W is the thermal resistance for DO-201 package. For practical design, it is recommended to keep the junction temperature below 110ºC to avoid temperature stress on the device. Issue 1 – January 2011 © Diodes Incorporated 2010 6 www.diodes.com AN75 The BOM in table 1 and the PCB layout in Figure 2 complete the tools needed to design a high power factor LED driver using the AL9910. Figure 3 shows the picture of the completed LED driver designed with a footprint to fit inside the T8 LED Fluorescent replacement lamp tube. Table 1 BOM Ref. U1 D1, D2, D3 D4 DB1 C1, C2 C4 C5 CX1, CX2, CX3, CX4 F1 L1 L2 L3, L4 MOV1 Q1 R1 R2 R5 R6 R7 RT R10 Descriptions Universal high brightness LED driver 1A, 1kV diode tRR = 1.8μs Ultra-fast-recovery diode 1A, 600V, tRR = 35ns 1A, 600V bridge rectifier 15μF, 450V electrolytic capacitor +/-20% 1000hrs @ 105ºC 4.7μF, 50V electrolytic capacitor +/-20% 1000hrs @ 105ºC 10μF 450V electrolytic capacitor +/-20% 1000hrs @ 105ºC, 10mm diameter 100nF, 275VAC, Film, X2 10Ohm 1W fusible resistor +/-200ppm 6.8mH inductor +/-10% 290mA radial 30mH common-mode inductor, 8mm height 3.3mH inductor +/-10% 420mA radial 275V, 21J, 9mm, Radial N-ch MOSFET 600V, 3.2A, Qg(max) = 16nC 10R 3W wire wound resistor, 50ppm/ºC, +/-1% 3k 0.25W resistor +/-5% 1R2 0.25W +/-1% 2R7 0.25W +/-1% 100R 0.25W +/-1% 330k 0.125W resistor +/1% 10R 0.25W +/-5% Issue 1 – January 2011 © Diodes Incorporated 2010 Part number AL9910 Package SO8 Mfr. Diodes Inc. S1M-13-F MUR160 SMA DO201AD Diodes Inc. Diodes Inc. DF06S EEUED2W150 400KXW27M10X30 UCY2G150MPD ECE-A1HKG4R7 DF-S 5mm pitch 1.5mm pitch Diodes Inc. Panasonic Rubicon Nichicon Panasonic EEUEE2W100U 5mm pitch Panasonic ECQU2A104ML 17.5mm pitch Panasonic NFR0100001009JR500 Vishay 19R685C Through-hole axial 5mm pitch Murata B82791G2301N001 10mm pitch EPCOS 19R335C 6mm pitch Murata B72207S0271K101 SPB03N60S5 5mm pitch TO263 EPCOS Infineon UB3C-10RF1 Riedon Any Any Any Any Any Through-hole axial 1206 1206 1206 1206 1206 Any Any Any Any Any Any 1206 Any 7 www.diodes.com AN75 Figure 2 Top layer and bottom layer layout Issue 1 – January 2011 © Diodes Incorporated 2010 8 www.diodes.com AN75 Figure 3 Picture of the LED T8 Fluorescent replacement lamp driver Issue 1 – January 2011 © Diodes Incorporated 2010 9 www.diodes.com AN75 Results The performance of the system is outlined in Figures 4, and 5. They display a level of system efficiency higher than 87% when driving 18 LEDs. The system efficiency reduces with decreasing number of LEDs but 83% can still be achieved when driving 14LEDs at 264Vac input. When driving 18 LEDs, a current regulation of around 3% is achieved between the input voltages of 110Vac to 264Vac. The LED current drops to 190mA at 85Vac as the minimum bus voltage VIN(min) falls below the LED stack voltage (VLED(max)) during part of the AC line cycle, driving the LED off. Figure 6 shows the power factor across the line voltage range. Power factor greater than 0.9 can be achieved at 85Vac. Figure 4 LED driver system efficiency Figure 5 LED driver current regulation Issue 1 – January 2011 © Diodes Incorporated 2010 10 www.diodes.com AN75 Figure 6 LED driver power factor Conclusion This application note provides a simple tool to design an offline LED driver using the AL9910 high voltage LED controller. It provides a high level of efficiency as well as LED current control over a wide range of input voltages. Moreover the document explains how to design a system with passive power factor correction to achieve PF greater than 0.7, allowing compliant with emergent international solid state lighting standards. Issue 1 – January 2011 © Diodes Incorporated 2010 11 www.diodes.com AN75 IMPORTANT NOTICE DIODES INCORPORATED MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARDS TO THIS DOCUMENT, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION). Diodes Incorporated and its subsidiaries reserve the right to make modifications, enhancements, improvements, corrections or other changes without further notice to this document and any product described herein. Diodes Incorporated does not assume any liability arising out of the application or use of this document or any product described herein; neither does Diodes Incorporated convey any license under its patent or trademark rights, nor the rights of others. Any Customer or user of this document or products described herein in such applications shall assume all risks of such use and will agree to hold Diodes Incorporated and all the companies whose products are represented on Diodes Incorporated website, harmless against all damages. Diodes Incorporated does not warrant or accept any liability whatsoever in respect of any products purchased through unauthorized sales channel. Should Customers purchase or use Diodes Incorporated products for any unintended or unauthorized application, Customers shall indemnify and hold Diodes Incorporated and its representatives harmless against all claims, damages, expenses, and attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized application. Products described herein may be covered by one or more United States, international or foreign patents pending. Product names and markings noted herein may also be covered by one or more United States, international or foreign trademarks. LIFE SUPPORT Diodes Incorporated products are specifically not authorized for use as critical components in life support devices or systems without the express written approval of the Chief Executive Officer of Diodes Incorporated. As used herein: A. Life support devices or systems are devices or systems which: 1. are intended to implant into the body, or 2. support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in significant injury to the user. B. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or to affect its safety or effectiveness. Customers represent that they have all necessary expertise in the safety and regulatory ramifications of their life support devices or systems, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of Diodes Incorporated products in such safety-critical, life support devices or systems, notwithstanding any devices- or systems-related information or support that may be provided by Diodes Incorporated. Further, Customers must fully indemnify Diodes Incorporated and its representatives against any damages arising out of the use of Diodes Incorporated products in such safety-critical, life support devices or systems. Copyright © 2011, Diodes Incorporated www.diodes.com Issue 1 – January 2011 © Diodes Incorporated 2010 12 www.diodes.com