SLUSDD4B April   2019  – December 2020

PRODUCTION DATA

1. Features
2. Applications
3. Description
4. Revision History
5. Pin Configuration and Functions
6. Specifications
7. Detailed Description
1. 7.1 Overview
2. 7.2 Functional Block Diagram
3. 7.3 Feature Description
4. 7.4 Device Functional Modes
8. Application Information Disclaimer
1. 8.1 Application Information
2. 8.2 Typical Application
1. 8.2.1 Design Requirements
2. 8.2.2 Detailed Design Procedure
3. 8.2.3 Application Curves
9. Power Supply Recommendations
10. 10Layout
1. 10.1 Layout Guidelines
2. 10.2 Layout Example
11. 11Device and Documentation Support
12. 12Mechanical, Packaging, and Orderable Information

• KGD|0
• HKU|10

#### 8.2.2.7 Sense Resistor and Slope Compensation

The sense resistor is used to sense the ripple current from the transformer as well as shutdown the switching cycle if the peak current of the converter is allowed to get too high. The voltage threshold of the CS pin is around 1 V, thus the equation to find the sense resistor from the peak current is shown in Equation 44.

Equation 44.
Equation 45.

Note that Ilimit should be greater than IPriPeak, and that the voltage offset from the slope compensation will be dependant on the amount of slope compensation in the design. The value of 0.075 Ω for the sense resistance was found to be the optimum value adding some headroom for slope compensation offset of 0.1 V. Slope compensation was implemented with a BJT being turned off and on by the RC pin of the device. The BJT was placed between the REF pin and a resistor divider to the CS pin. The optimum slope compensation value can be found from the following equations after picking a value for the top of the divider:

Equation 46. ${S}_{c}=\frac{{V}_{out}×{R}_{cs}×{G}_{cs}}{{L}_{PRI}×{N}_{ps}}$
Equation 47.
Equation 48. ${S}_{osc}=\frac{{f}_{osc}×{V}_{oscpp}}{{D}_{MIN}}$
Equation 49.
Equation 50. ${R}_{csf}=\frac{{R}_{top}}{}$SoscSc-1
Equation 51. 136000016088-1=141 Ω

The UC1843B-SP design uses a much higher resistor of 1.47 kΩ, but this is an attempt to be very conservative. Note that the bottom resistor can be used as part of a filter to the CS pin as well, which is implemented in the design using a capacitor near the CS pin. Care was taken such that the RC filter would not filter the switching frequency by having the RC time constant be a decade less than the switching frequency.