Application Note AN-1214: LED Buck Converter Design Using The IRS2505L
Application Note AN-1214: LED Buck Converter Design Using The IRS2505L
Application Note AN-1214: LED Buck Converter Design Using The IRS2505L
Table of Contents
Page
1. Introduction ..................................................................................... 2
2. Buck Converter ............................................................................... 2
3. Peak Current Control ...................................................................... 5
4. Zero-Crossing Detection ................................................................. 5
5. IC Start-Up and Supply Circuitry ..................................................... 6
6. Buck LED Design Example 1: Offline Converter ............................. 8
7. Buck LED Design Example 2: DCDC Converter ............................. 9
8. PCB Layout Considerations ............................................................ 11
9. Conclusion ...................................................................................... 13
10. Appendix 1: Reference Design ....................................................... 14
11. References ..................................................................................... 16
12. Revision History .............................................................................. 16
www.irf.com AN-1214 1
January 2015
1. Introduction
The IRS2505L SOT-23 control IC is a versatile solution for controlling power
supplies in PFC Boost, Flyback, Buck, or Buck-Boost applications. This app note
will cover the use of the IRS2505L in a peak current control Critical Conduction
Mode (CrCM) Buck converter for LED driving. The IC includes all of the
necessary circuitry to control the Buck converter on and off times, regulate the
output current, and protect against over-current fault conditions. During the
design of the Buck circuit, special care should be taken when generating the
circuit schematic, selecting component values and ratings, and generating the
PCB layout. This application note provides detailed design information to help
speed up design time and avoid circuit problems that can occur due to wrong
component values or ratings, incorrect programming of IC parameters, and noise
susceptibility. Helpful information is included for designing the PFC circuit,
designing the IC supply circuitry, and using the IC protection features. PCB
layout guidelines are also included to help avoid noise problems that can cause
circuit malfunction or poor power supply performance. Finally, an excel
spreadsheet design tool (“IRS2505L Buck LED Design Calculator”) [2] is also
included that contains all of the necessary calculations described in this
application note.
2. Buck Converter
www.irf.com AN-1214 2
January 2015
Rect (+) VOUT (+)
DBUCK COUT
LBUCK
VOUT (-)
CIN
MBUCK
Rect (-)
Figure 1: Buck converter with a floating output.
I LBUCK
I L,PEAK
VIN VOUT VOUT
L L
IL, AVG
t
DT SW
T SW
Figure 2: Inductor current during critical-conduction mode.
𝑉𝐼𝑁 = Input voltage. May be DC or rectified AC. For AC, use the peak
voltage of the line (𝑉𝐴𝐶𝑃𝐾 = 𝑉𝐴𝐶𝑅𝑀𝑆 × √2)
𝑉𝑂𝑈𝑇 = Output voltage of the load, in this case the LED string.
𝜂 = Buck converter efficiency (typically 0.85)
www.irf.com AN-1214 3
January 2015
𝑓𝑆𝑊 = Buck switching frequency (occurs at the peak of nominal line
voltage for AC)
1
𝑇𝑆𝑊 = The switching period ( )
𝑓𝑆𝑊
𝐷 = Duty Cycle
𝐼𝐿,𝐴𝑉𝐺 = Average Buck inductor current
𝐼𝐿,𝑃𝐸𝐴𝐾 = Peak Buck inductor current
𝐿𝐵𝑈𝐶𝐾 = Buck Inductor
𝐼𝑂𝑈𝑇 = Output Current of the LED string
𝑃𝑂𝑈𝑇 = Output Power
The peak current of the Buck inductor can be calculated from the slope of the
inductor current from Figure 2, knowing the switching period 𝑇𝑆𝑊 and duty cycle
D of our converter:
Where the duty cycle for the Buck converter is defined as:
𝑉𝑂𝑈𝑇
𝐷= [2.2]
𝑉𝐼𝑁
For a symmetric triangle as in Figure 2, the average value of the inductor current
is its peak divided by 2:
𝐼𝐿,𝑃𝐸𝐴𝐾
𝐼𝐿,𝐴𝑉𝐺 = [A] [2.3]
2
We can approximate the average inductor current to equal the output current:
By selecting the nominal Buck switching frequency 𝑓𝑆𝑊 the only unknown
remaining in equation 2.5 is the buck inductor, which we can solve for:
𝑉
(𝑉𝐼𝑁 −𝑉𝑂𝑈𝑇 )( 𝑂𝑈𝑇 )
𝑉𝐼𝑁
𝐿𝐵𝑈𝐶𝐾 = ∗ 106 [uH] [2.6]
2𝑓𝑆𝑊 𝐼𝑂𝑈𝑇
www.irf.com AN-1214 4
January 2015
3. Peak Current Control
To regulate the output LED current in a Buck converter, we will use the equations
derived earlier along with the IRS2505L control circuit. Figure 3 shows the control
circuit for the Buck converter.
IRS2505L
CCMP
CIN CZX RSN to VCC
COM
2
CVCC2
VCC PFC RG DVCC
3 4 MBUCK
CVCC1
CF RF
RCS
Rect (-)
Figure 3: IRS2505L Control Circuit for Buck Converter
The VBUS pin over-current threshold for the IRS2505L, VBUSOC+, is used to
regulate the peak current of the converter. At a test condition of VBUS=0V, the
VBUSOC+ typical value is 0.8V.
From the typical control circuit in Figure 3, the RCS resistor programs the peak
inductor current for peak current control during the on-time of the switch, which is
fed back to the VBUS pin through a low pass filter, RF and CF, filtering out
unwanted switching noise.
The value of RCS that gives the desired output LED current can be calculated by
rearranging equations 2.3-2.4 with Ohm’s law:
0.8𝑉
𝑅𝐶𝑆 = [Ohms] [3.1]
2𝐼𝑂𝑈𝑇
4. Zero-Crossing Detection
The zero-crossing detection of the PFC inductor current utilizes the gate drive pin
(PFC) together with the drain-to-gate capacitance of the external Buck MOSFET.
An additional capacitor, CZX, in Figure 3 is used to couple the zero crossing
information of the Buck inductor to the PFC pin to ensure proper detection in the
Buck topology. During the on-time, the gate drive pulls the gate of the external
Buck MOSFET up to VCC and turns the MOSFET on. The inductor ramps up to
a peak level (Figure 4). When the on-time ends, the gate is pulled to COM for a
www.irf.com AN-1214 5
January 2015
short delay and then increased and held at a given offset voltage, VPFCOFF
(0.6V, typical). When the Buck inductor current discharges to zero, the drain-gate
capacitance with the additional help of CZX “pulls” the gate signal below the
zero-crossing reset threshold, VPFCZX- (0.4V, typical), at the PFC pin and the
gate turns on again. This new and innovative method from IR is simple and does
not require a secondary winding from the inductor to detect zero-crossings.
GATE
VCC
VPFCOFF
VPFCZX-
t
ILBUCK
VDRAIN
DC BUS
t
OFF-TIME ON-TIME
Figure 4: Gate voltage (upper trace), Buck inductor current (middle trace), and
MOSFET drain voltage (lower trace) during normal on- and off-time switching
period.
www.irf.com AN-1214 6
January 2015
1) Supply the start-up and stand-by current to VCC.
2) Supply the necessary ICC current to VCC during all operating modes.
The start-up current to VCC is supplied by the start-up resistors, RVCC1 and
RVCC2, connected between the rectified input voltage and VCC (Figure 3). Two
resistors are used in order to properly withstand the high voltage between the
rectified BUS and VCC.
The values for resistors RVCC1 and RVCC2 are calculated using the desired
VCC start-up time (𝑡𝑆𝑇𝐴𝑅𝑇 ), the VCC capacitor value (𝐶𝑉𝐶𝐶1 ), the IC rising
VCCUV+ turn-on threshold (11.1V, typical) and the minimum rectified input
voltage (𝑉𝐼𝑁𝑀𝐼𝑁 ). The resistor values are calculated as:
−𝑡𝑆𝑇𝐴𝑅𝑇
𝑅𝑉𝐶𝐶1 = 𝑅𝑉𝐶𝐶2 ≅ 𝑉𝐶𝐶𝑈𝑉+ [sec] [5.1]
2𝐶𝑉𝐶𝐶1 ln(1− )
𝑉𝐼𝑁𝑀𝐼𝑁
The maximum power loss for resistors RVCC1 and RVCC2 occurs when the
rectified input voltage is at the maximum value of the specified input voltage
range. The power loss in each transistor is calculated as:
(𝑉𝐼𝑁𝑀𝐴𝑋 −𝑉𝐶𝐶)2
𝑃𝑅𝑉𝐶𝐶1 = 𝑃𝑅𝑉𝐶𝐶2 ≅ [Watts] [5.2]
2(𝑅𝑉𝐶𝐶1+𝑅𝑉𝐶𝐶2 )
The power loss and resulting temperature of RVCC1 and RVCC2 should be
measured on the bench under high input voltage conditions to make sure the
power rating of the resistors is adequate.
When the input voltage is first applied to the circuit, VCC ramps up with a time
constant given by RVCC1, RVCC2 and CVCC1 (see Figure 5). After VCC
exceeds VCCUV+, the IC turns on and the gate driver output (PFC pin) begins
oscillating. The PFC pin turns the external Buck MOSFET on and off causing the
drain node to switch between the rectified input and COM. The auxiliary VCC
supply circuit (CSN, RSN, DVCC, CVCC2, RVCC3) then takes over as the main
supply circuit for the IC and VCC increases up to the clamp voltage of the
external Zener diode on VCC (not shown, typically 14-16V).
www.irf.com AN-1214 7
January 2015
Figure 5: VCC (red) and PFC pin gate voltage (yellow) during normal start-up
conditions.
All of the necessary design calculations have been included inside the excel
spreadsheet calculation tool (“IRS2505L Buck LED Design Calculator”) [2] that
accompanies this application note. The following design example calculations are
for a 9W LED driver with an offline 120VAC nominal input (+/-10%). Please use
the “AC” tab in the excel tool for this type of design. The input parameters for the
circuit are determined as the following:
𝑉𝐴𝐶,𝑁𝑂𝑀 = 120VAC
𝑉𝑂𝑈𝑇 = 25V
𝐼𝑂𝑈𝑇 = 350mA
𝑓𝑆𝑊,𝑁𝑂𝑀 = 100kHz
These values are input into the yellow fields of the “User Input
Parameters” section of the spreadsheet as follows:
www.irf.com AN-1214 8
January 2015
The buck circuit calculations are then given in the green sections of the “Buck
Circuit Calculations” section of the spreadsheet as follows:
The corresponding circuit (Figure 3) for all of these calculations is also given
inside the spreadsheet.
All of the necessary design calculations have been included inside the excel
spreadsheet calculation tool (“IRS2505L Buck LED Design Calculator”) [2] that
accompanies this application note. The following design example calculations are
for a 9W LED driver with a DC input voltage varying from 40-60V. Please use the
www.irf.com AN-1214 9
January 2015
“DC” tab in the excel tool for this type of design. The input parameters for the
circuit are determined as the following:
𝑉𝐼𝑁,𝑀𝐼𝑁 = 40V
𝑉𝐼𝑁,𝑀𝐴𝑋 = 60V
𝑉𝑂𝑈𝑇 = 25V
𝐼𝑂𝑈𝑇 = 350mA
𝑓𝑆𝑊,𝑀𝐼𝑁 = 100kHz
These values are input into the yellow fields of the “User Input Parameters”
section of the spreadsheet as follows:
The buck circuit calculations are then given in the green sections of the “Buck
Circuit Calculations” section of the spreadsheet as follows:
www.irf.com AN-1214 10
January 2015
IRS2505L Programming Components
The corresponding circuit (Figure 3) for all of these calculations is also given
inside the spreadsheet.
www.irf.com AN-1214 11
January 2015
or small-signal grounds and connect small-signal ground to power ground
at a single point only. This will prevent high-frequency noise from
occurring on critical small-signal nodes or IC pins which can cause circuit
malfunction or failures.
5) Reduce the distance of the power switches to their gate drive pins as
much as possible (PFC). This will help reduce the parasitic inductance in
the traces. This will reduce possible voltage spikes due to gate drive
switching and help prevent latch up due to voltage over- or under-shoot.
6) Use a limiting resistor in between the auxiliary supply and VCC. This will
help prevent damage due to high-voltage or high-current spikes from the
charge pump supply that can cause electrical overstress of the IC.
7) Place critical sensing nodes (current-sensing resistor, ZX detection) as
close to the IC as possible. This will help eliminate false triggering or
circuit malfunction due to noise being coupled onto to sensitive control
signals.
8) Check inductor for saturation. Saturation of the inductor results in currents
with very high di/dt levels. These high di/dt signals can induce noise
everywhere in the circuit and cause many different noise related issues.
Make sure the inductor is properly designed to handle the maximum peak
currents under all operating conditions.
9) See Figure 6 for PCB layout guidelines around the IRS2505L.
IC and Power
Ground
Connect at
Single Point Power Current Sensing
Only! Ground Component
VCC Filter
Capacitor
CMP Pin
Capacitor IC Ground
IRS2505L
Gate Drive MOSFET
Trace Drain
Switching
Node
Figure 6: PCB Layout Guidelines
www.irf.com AN-1214 12
January 2015
9. Conclusion
The information presented in this application note will help improve the
design of the LED Buck converter and help reduce potential circuit problems.
Ease of using and programming the IC, correct design of the Buck stage, design
of the IC supply, and proper PCB layout guidelines help minimize design time,
maximize performance, and maximize manufacturability and robustness of the
final design. Finally, an excel spreadsheet design tool (“IRS2505L Buck LED
Design Calculator”) is also available that contains all of the necessary
calculations described in this application note.
www.irf.com AN-1214 13
January 2015
10. Appendix I: Reference Design (Schematic/BOM)
a. Schematic (VIN = 100-120VAC, VOUT = 28V, IOUT = 315mA)
www.irf.com AN-1214 14
January 2015
b. BOM (VIN = 100-120VAC, VOUT = 28V, IOUT = 315mA)
www.irf.com AN-1214 15
January 2015
11. References
www.irf.com AN-1214 16
January 2015