How To Design An Isolated Flyback Using LM5155: Application Report
How To Design An Isolated Flyback Using LM5155: Application Report
How To Design An Isolated Flyback Using LM5155: Application Report
Garrett Roecker
ABSTRACT
The LM5155 is a versatile non-synchronous low-side, N-FET controller for switching regulators. the
common configurations for the LM5155 include boost regulators, flyback regulators and SEPIC regulators.
This design guide focuses on how to configure and design the LM5155 as an isolated flyback regulator.
The procedure is generic and focuses on selecting the correct components for stable flyback operation.
The design example follows the application specifications of the LM5155EVM-FLY evaluation module, the
results are presented in the LM5155EVM-FLY User's Guide. For typical applications the LM5155 Flyback
Controller Quick Start Calculator can be used to efficiently complete the calculations described in this
report.
Contents
1 Introduction ................................................................................................................... 2
2 Example Application ......................................................................................................... 2
3 Calculations and Component Selection ................................................................................... 2
4 Component Selection Summary.......................................................................................... 12
5 Small Signal Frequency Analysis ........................................................................................ 17
List of Figures
1 LM5155 Current Sense Network .......................................................................................... 5
2 Isolated Feedback ........................................................................................................... 9
3 Application Circuit .......................................................................................................... 12
4 Efficiency vs ILOAD ........................................................................................................... 12
5 Control Loop Response VSUPPLY = 18V, ILOAD = 4A ...................................................................... 12
6 ................................................................................
Load Step: ILOAD 2A to 4A, VSUPPLY = 18V 13
7 ...............................................................................
Thermal Image: VSUPPLY = 18V, ILOAD = 4A 13
8 LM5155EVM-FLY Schematic ............................................................................................. 14
List of Tables
1 Design Parameters .......................................................................................................... 2
2 Selected Transformer Parameters ........................................................................................ 4
3 Selected Optocoupler parameters ....................................................................................... 10
4 List of Components ........................................................................................................ 15
5 Control Loop Equations ................................................................................................... 17
6 Compensation Modeling Equations ...................................................................................... 18
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 1
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Introduction www.ti.com
Trademarks
All trademarks are the property of their respective owners.
1 Introduction
This design guide follows typical design procedures and calculations to implement an isolated
nonsynchronous flyback controller operating in continous conduction mode. The design example uses an
unregulated 24V rail (18V-36V) to produce a regulated 5V of up to 4A load current. A non-isolated
auxiliary winding of 10V is selected to power the LM5155, lowering power dissipation in the LM5155. The
switching frequency of 250kHz is selected to help minimize switching losses and conduction losses of the
switching MOSFET. Section 3 details the component selection based on the general design parameters
shown in Table 1.
2 Example Application
Table 1 indicates the design parameters for the example application.
2 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Calculations and Component Selection
where
• NP is the number of turns on the primary side winding and assumed to be 1
• NS is the number of turns on the secondary side winding. (2)
The maximum duty cycle occurs when the supply voltage is at the minimum value. By selecting the
maximum duty cycle, the number of turns on the secondary winding is calculated. Selecting the duty cycle
to be less than 50% brings two main benefits. First, it reduces the need for slope compensation which is
required for stable operation when the duty cycle is greater than 50% in CCM operation. For some wide
input voltage designs limiting the duty cycle below 50% might not be possible. The LM5155 provides
programable slope compensation for such designs. Second, the right-half plane zero of the modulator is
pushed to high frequencies, helping to improve the load transient response and simplifying the control
loop compensation calculations. For this design the maximum duty cycle (DMAX) is selected to be 40%. The
number of turns on the secondary winding is calculated using Equation 3
VLOAD ˜ 1 DMAX ˜ NP 5V ˜ 1 0.4 ˜ 1
NS _ calc 0.417
VSUPPLY _ min ˜ DMAX 18V ˜ 0.4 (3)
NS is selected to be 0.5 turns. Selecting NS to be 0.5 turns the turns ratio to achieved in the fewest number
of full turns. In this example the minimum number of turns is 2 on the primary winding and 1 turn on the
secondary winding. With NS selected, Equation 4 is used to calculate the maximum duty cycle.
NP 1
˜ VLOAD ˜ 5V
NS 0.5
DMAX 0.357
NP 1
VSUPPLY _ min ˜ VLOAD 18V ˜ 5V
NS 0.5 (4)
DMAX is calculated to be approximately 35.7%, below the target maximum duty cycle of 40%. The number
of turns on the auxiliary winding is calculated using Equation 5
V 10V
NAUX _ calc NS ˜ AUX 0.5 ˜ 1
VLOAD 5V
where
• VAUX is the auxiliary winding voltage (5)
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 3
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Calculations and Component Selection www.ti.com
A maximum ripple ratio between 30% and 70% results in a good balance of the total power loss of the
transformer, matching the down slope of the transformer current to the internal slope compensation and
the increasing the right half plane zero frequency. The maximum ripple ratio of the inductor current is set
to 60%. In CCM operation, the maximum primary winding ripple current occurs when the supply voltage is
at the maximum value. The primary winding inductance value for CCM operation is calculated using
Equation 6.
NP2 ˜ VSUPPLY _ max 2 ˜ VLOAD 2
LM _ calc 2
ILRR ˜ fSW ˜ POUT _ total ˜ NS ˜ VSUPPLY _ max NP ˜ VLOAD
12 ˜ 36V 2 ˜ 5V 2
LM_ calc 2
20.6PH
0.6 ˜ 250kHz ˜ 20.2W ˜ 0.5 ˜ 36V 1˜ 5V
where
• ILRR is the ripple ratio
• VSUPPLY_max is the maximum supply current
• POUT_total is the maximum power delivered by the flyback regulator (6)
The primary winding inductance is selected to be 21µH. The primary winding ripple current and primary
winding peak current are calculated using Equation 7 and Equation 8, respectively. The peak primary
winding current occurs at the minimum supply voltage.
VSUPPLY ˜ D 18V ˜ 0.357
'ILM 1.224A
LM ˜ fSW 21PH ˜ 250kHz (7)
POUT _ total 'ILM 20.2W 1.224A
ILPEAK 3.75A
VSUPPLY _ min ˜ D 2 18V ˜ 0.357 2 (8)
ILPEAK is used to properly size the current sense resistor. Table 2 summarizes the key parameters of
selected transformer.
4 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Calculations and Component Selection
ISWITCH
RF RSL
CS
CF
RS
where
• VSL is the internal fixed internal slope compensation of the LM5155 (10)
Assuming that no external slope compensation is required, the current sense resistor value is calculated
using Equation 11.
VCLTH 100mV
RS _ wo _ sl 20.48m:
ILPEAK _ LIMIT _ SET 4.88A
where
• VCLTH is the current limit threshold of the LM5155 (11)
If the calculated RS_wo_sl resistance value is less than the RS_MAX resistance value, then RS_wo_sl is selected
for the current sense resistor value (RS). If the calculated RS_wo_sl resistance value is greater than the
calculated RS_MAX resistance value, there are two approaches to take; decrease the current sense resistor
value or add external slope compensation.
• Decreasing the current sense resistor value increases the effectiveness of the internal slope
compensation. With no external slope compensation the peak inductor current limit will be constant
regardless of the duty cycle when using the LM5155. A lower current sense resistor value results in a
larger switch peak current limit value, which increases the required saturation current rating of the
primary winding.
• Adding external slope compensation. The peak inductor current limit varies with supply voltage when
external slope compensation is added to the current sense network.
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 5
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Calculations and Component Selection www.ti.com
External slope compensation is added by setting RSL to a non-zero value, but less than 1kΩ. In
applications where external slope compensation is required, RS is calculated using Equation 12.
LM ˜ NS ˜ fsw ˜ VCLTH D ˜ VSLOPE
RS _ w _ sl
D ˜ 0.833 ˜ NP ˜ VLOAD ILPEAK _ LIMIT _ SET ˜ LM ˜ NS ˜ fSW
21PH ˜ 0.5 ˜ 250kHz ˜ 100mV 0.357 ˜ 40mV
RS _ w _ sl 20.97m:
0.357 ˜ 0.833 ˜ 1˜ 5V 4.88A ˜ 21PH ˜ 0.5 ˜ 250kHz (12)
RSL is calculated using Equation 13.
VCLTH ILPEAK _ LIMIT _ SET ˜ RS _ w _ sl 100mV 4.88A ˜ 20.06m:
RSL 223.4:
ISLOPE ˜ D 30PA ˜ 0.357
where
• ISLOPE is the slope compensation current source of the LM5155
• D is the duty cycle at the minimum supply voltage (13)
If the calculated RSL value is negative, the internal slope compensation is adequate and the additional
slope compensation is not required. If the calculated RSL value exceeds the maximum value of the 1kΩ,
the down slope of the sensed current needs to be reduce. To reduce the down slope of the primary
winding current, the primary winding inductance value of LM must be increased. If the primary winding
inductance value is changed the current sense resistor calculations must be redone.
Following the design procedure, a current sense resistor value is selected to be 20mΩ (RS), which is the
nearest standard resistor value to the calculated value in Equation 11. No external slope compensation is
required and RSL is selected to be 0Ω. The peak current limit of the transformer primary winding is
calculated using Equation 14.
VCLTH ISLOPE ˜ RSL ˜ D 100mV 30PA ˜ 0: ˜ 0.375
ILPEAK _LIMIT ILPEAK _LIMIT 5A
RS 20m:
where
• D is they duty cycle at the minimum supply voltage (14)
The peak current limit of the transformer primary winding is constant, regardless of the supply voltage,
because there is no added external slope compensation. The saturation current rating of the transformer
primary winding is 6A, and is adequate for the selected RS value of 20mΩ.
6 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Calculations and Component Selection
The total gate charge (QG_total) must be small enough to keep the internal VCC regulator from entering
current limit. The QG_total for a given MOSFET can be found in the component datasheet. Equation 16
provides the maximum total gate charge of the MOSFET for the selected switching frequency. The QG_total
of the selected MOSFET is 35nC.
35mA
QG _ total
fSW (16)
The RMS current of the MOSFET is estimated using Equation 17. By estimating the switch RMS current, a
MOSFET with an adequately small RDS(ON) value is selected.
§§ P ·
2
'ILM2 ·¸ § § 20.2W ·2 1.2242 ·
IMOS _ RMS ¨
D˜ ¨ OUT _ total
¸ 0.357 ˜ ¨ ¨ ¸ 1.89A
¨ ©¨ VSUPPLY _ min ˜ D ¹¸ 12 ¸ ¨ © 18V ˜ 0.357 ¹¸ 12 ¹¸
© ¹ © (17)
The RDS(ON) of the selected MOSFET is 8.7mΩ.
The drain to source break down voltage rating on the MOSFET needs to be higher than the reflected
secondary side voltage plus the maximum input voltage as calculated in Equation 18.
§N · § 1 ·
VDS ! ¨ P VLOAD ¸ VSUPPLY _ max ¨ 0.5 ˜ 5V ¸ 36V 46V
N
© S ¹ © ¹ (18)
Due to the parasitic leakage inductance of the primary winding, the switch node voltage rings well above
the value calculated in Equation 18. To overcome the ringing on the switch node a voltage clamp can be
added. Designing this clamp is not described in this application report. For this design a MOSFET with a
voltage rating of 100V is selected.
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 7
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Calculations and Component Selection www.ti.com
For this design example, the load transient specification indicates that the load voltage should not
overshoot or undershoot more than 100mV during a load transient from 50% load current (2A) to 100%
load current (4A) occurs. Equation 22 is used to calculate the estimated load capacitance to achieve the
specified load transient load voltage ripple requirements.
'ILOAD 2A
CLOAD _ min 366PF
2S ˜ fCROSS ˜ 'VLOAD 2S ˜ 8.6kHz ˜ 100mV
where
• ΔILOAD is the difference in the load current conditions (4A - 2A)
• ΔVLOAD is the specified overshoot voltage specification and undershoot voltage specification (22)
In this design CLOAD is selected to be 540µF.
8 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Calculations and Component Selection
VPULLUP VLOAD
RLED
RPULLUP
KOPTO
VCOMP
COPTO
RFBT
CCOMP
CCOMP
RCOMP
RCOMP
VREF
RFBB
Figure 2. Isolated Feedback
enough to allow the voltage reference to be supplied with adequate voltage to ensure operation. The
diode drop of the selected optocoupler is 1.4V.
• The pull-up resistor (RPULLUP) and the parasitic capacitance (COPTO) form a pole, limiting the maximum
crossover frequency of the control loop. Once the pull-up resistor is selected the capacitance of the
optocoupler is calculated from the optocoupler datasheet. The selected optocoupler the capacitance is
calculated to be approximately 3.3nF. The cross over frequency should be less than the pole, which is
roughly 9.66kHz for this design.
Table 3 summarizes the key parameters of the selected optocoupler.
10 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Calculations and Component Selection
where
• D is the duty cycle at the maximum supply voltage (0.217) (31)
For this design CCOMP is selected to be 220nF to help ensure extra phase margin.
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 11
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Component Selection Summary www.ti.com
VSUPPLY NP NS VLOAD
CIN CLOAD
NAUX
ISO_GND
VAUX
VCC
RUVLOT BIAS GATE
UVLO/SYNC CS
RUVLOB RS VAUX
LM51551
AGND PGND RPULLUP
FB RLED
PGOOD
RT COMP
SS RFBT
CCOMP CCOMP RCOMP
RT
RCOMP
VREF
12 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Component Selection Summary
Control Loop Response
Efficiency vs I LOAD VSUPPLY = 18V, ILOAD = 4A
60 180
100 Gain
Phase
40 120
20 60
90
Phase (deg)
Gain (dB)
0 0
80 -20 -60
Efficiency (%)
-40 -120
70 -60 -180
500 700 1000 2000 3000 5000 7000 10000 20000 30000 50000 100000 200000 300000 500000
Frequency (Hz) Loop
60
VIN = 36V
VIN = 24V
50 VIN = 18V
40
0 0.5 1 1.5 2 2.5 3 3.5 4
ILOAD (A) Effi
Figure 4. Efficiency vs ILOAD Figure 5. Control Loop Response VSUPPLY = 18V, ILOAD = 4A
D1 Q1
Figure 6. Load Step: ILOAD 2A to 4A, VSUPPLY = 18V Figure 7. Thermal Image: VSUPPLY = 18V, ILOAD = 4A
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 13
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Component Selection Summary www.ti.com
14 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Component Selection Summary
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 15
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Component Selection Summary www.ti.com
16 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
www.ti.com Small Signal Frequency Analysis
§ § s ·§ s ·
s ·§ s · š ¨¨ 1 ¸¸ ¨¨ 1 ¸¸
š ¨¨ 1 ¸¸ ¨¨ 1 ¸¸ Z Z
AM ©
Z Z v LOAD (s) Z _ ESR ¹ © Z _ RHP ¹
AM ©
Modulator Transfer v LOAD (s) Z _ ESR ¹ © Z _ RHP ¹
š
Function š § s ·§ s s2 ·
v COMP (s) § s · v COMP (s) ¨¨ 1 ¸¸ ¨ 1 ¸
¨¨ 1 ¸ ZP _ LF ¹ © Q ˜ Zn Zn2 ¹
© ZP _ LF ¸¹ (32)
©
(33)
NP VLOAD 2 1 D
Modulator DC Gain AM GCOMP ˜
NS POUT 1 D ACS ˜ RS (34)
NP 2 VLOAD 2 2
˜ 1 D
RHP Zero NS 2 POUT
ZZ _ RHP
LM ˜ D (35)
1
ESR Zero ZZ _ ESR
CLOAD ˜ RESR (36)
1 D
ZP _ LF 2
Low Frequency Pole V
CLOAD ˜ LOAD
POUT (37)
Sub-Harmonic Double
Pole Not Considered Zn S ˜ fsw (38)
1
Q
Quality Factor Not Considered ª § s · 1º
S «Dc ˜ ¨ 1 e ¸ »
¬ © sn ¹ 2¼ (39)
Slope Compensation Not Considered se VSLOPE ISLOPE ˜ RSL ˜ fsw (40)
SNVA866 – June 2019 How to Design an Isolated Flyback using the LM5155 17
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Small Signal Frequency Analysis www.ti.com
§ s ·§ s · § s ·§ s ·
š ¨¨ 1 ¸¸ ¨¨ 1 ¸¸ š ¨¨ 1 ¸¸ ¨¨ 1 ¸
Z Z ZZ1_ EA ¹ © ZZ2 _ EA ¸¹
AFB ©
Feedback Transfer v COMP (s) Z1_ EA ¹ © Z2 _ EA ¹ v COMP (s) ©
Function š AFB
v LOAD (s) § s · š
s ˜ k1 ˜ s 2 k 2 ˜ s 1
s ˜ ¨1 ¸ v LOAD (s)
¨ ¸
ZP _ EA ¹
© (42) (43)
K OPTO ˜ RPULLUP
Feedback DC Gain AFB
RLED ˜ RFBT ˜ CCOMP (44)
1
First Low Frequency Zero ZZ1_ EA
RCOMP RFBT ˜ CCOMP (45)
18 How to Design an Isolated Flyback using the LM5155 SNVA866 – June 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2019, Texas Instruments Incorporated