SNVA866A February   2019  – January 2023 LM5155 , LM5155-Q1 , LM51551 , LM51551-Q1

 

  1.   How to design an Isolated Flyback using LM5155
  2.   Trademarks
  3. 1Introduction
  4. 2Example Application
  5. 3Calculations and Component Selection
    1. 3.1 Switching Frequency
    2. 3.2 Transformer Selection
      1. 3.2.1 Maximum Duty Cycle and Turns Ratio Selection
      2. 3.2.2 Primary Winding Inductance Selection
    3. 3.3 Current Sense Resistor Calculations
      1. 3.3.1 Current Sense Resistor and Slope Compensation Resistor Selection
      2. 3.3.2 Current Sense Resistor Filter Selection
    4. 3.4 MOSFET Selection
    5. 3.5 Diode Selection
    6. 3.6 Output Capacitor Selection
    7. 3.7 Input Capacitor Selection
    8. 3.8 UVLO Resistor Selection
    9. 3.9 Control Loop Compensation
      1. 3.9.1 Feedback Resistor Selection
      2. 3.9.2 RPULLUP Selection
      3. 3.9.3 Optocoupler Selection
      4. 3.9.4 RLED Selection
      5. 3.9.5 Crossover Frequency Selection
      6. 3.9.6 Determine Required RCOMP
      7. 3.9.7 Determine Required CCOMP
  6. 4Component Selection Summary
  7. 5Small Signal Frequency Analysis
    1. 5.1 Flyback Regulator Modulator Modeling
    2. 5.2 Compensation Modeling
  8. 6Revision History

Current Sense Resistor and Slope Compensation Resistor Selection

The current sense resistor is selected to avoid triggering peak current limit protection when the minimum supply voltage is present, VSUPPLY_min, and supplying the maximum output power, POUT_total. Due to component tolerances and inefficiencies of the regulator, the peak current limit is set some margin above the calculated peak current of the transformer primary winding. A margin of 20% to 30% (MI_LIMIT=0.2-0.3) is a good starting point. Equation 9 is used to calculate the desired peak switch current limit value. In this design example, MI_LIMIT is selected to be 30%.

Equation 9. GUID-D9B9EE3C-E0CA-44DE-B513-D80BB2666A1E-low.gif

Selecting the correct current sense resistor is an iterative process. The first step is calculating the maximum current sense resistor value, assuming that no external slope compensation is required (RSL = 0Ω). The maximum current sense resistor value is selected using Equation 10.

Equation 10. GUID-4BB3911C-983B-4320-995C-46501EC7171B-low.gif

where

  • VSL is the internal fixed internal slope compensation of the LM5155

Assuming that no external slope compensation is required, the current sense resistor value is calculated using Equation 11.

Equation 11. GUID-85ED5C86-D8B0-4D34-A3FC-5BD8B7EEB659-low.gif

where

  • VCLTH is the current limit threshold of the LM5155

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.

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.

Equation 12. GUID-E2AED598-FB65-40C8-AA1A-090496C23411-low.gifGUID-8ED9BB55-ED99-4A08-92C9-C506671FA702-low.gif

RSL is calculated using Equation 13.

Equation 13. GUID-498C928D-6851-483F-8F4E-CB44E13CE91A-low.gif

where

  • ISLOPE is the slope compensation current source of the LM5155
  • D is the duty cycle at the minimum supply voltage

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 14. 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.

Equation 14. GUID-EBFA2219-6EBC-4344-960F-191FE925EBE3-low.gif

where

  • D is they duty cycle at the minimum supply voltage

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Ω.