NCP1252
www.onsemi.com
16
LEB
CS
Rsense
S
R
Q
FB
2R
R
Buffered
Ramp
Rramp
Rcomp
Clock
Vdd
+
DRV
path
Ccs
Figure 39. Ramp Compensation Setup
Q
In the NCP1252, the internal ramp swings with a slope of:
S
int
+
V
ramp
DC
max
F
SW
(eq. 6)
In a forward application the secondary−side downslope
viewed on a primary side requires a projection over the sense
resistor R
sense
. Thus:
S
sense
+
(V
out
) V
f
)
L
out
N
s
N
p
R
sense
(eq. 7)
where:
V
out
is output voltage level
V
f
the freewheel diode forward drop
L
out
, the secondary inductor value
N
s
/N
p
the transformer turn ratio
R
sense
: the sense resistor on the primary side
Assuming the selected amount of ramp compensation to
be applied is δ
comp
, then we must calculate the division ratio
to scale down S
int
accordingly:
Ratio +
R
sense
d
comp
S
int
(eq. 8)
A few line of algebra determined Rcomp:
R
comp
+ R
ramp
Ratio
1 * Ratio
(eq. 9)
The previous ramp compensation calculation does not
take into account the natural primary ramp created by the
transformer magnetizing inductance. In some case
illustrated here after the power supply does not need
additional ramp compensation due to the high level of the
natural primary ramp.
The natural primary ramp is extracted from the following
formula:
S
natural
+
V
bulk
L
mag
R
sense
(eq. 10)
Then the natural ramp compensation will be:
d
natural_comp
+
S
natural
S
sense
(eq. 11)
If the natural ramp compensation (δ
natural_comp
) is higher
than the ramp compensation needed (δ
comp
), the power
supply does not need additional ramp compensation. If not,
only the difference (δ
comp
δ
natural_comp
) should be used to
calculate the accurate compensation value.
Thus the new division ratio is:
(eq. 12)
if d
natural_comp
t d
comp
å Ratio +
S
sense
(d
comp
* d
natural_comp
)
S
int
Then R
comp
can be calculated with the same equation used
when the natural ramp is neglected (Equation 9).
Ramp Compensation Design Example:
2 switch−Forward Power supply specification:
Regulated output: 12 V
L
out
= 27 mH
V
f
= 0.7 V (drop voltage on the regulated output)
Current sense resistor : 0.75 W
Switching frequency : 125 kHz
V
bulk
= 350 V, minimum input voltage at which the
power supply works.
Duty cycle max: DC
max
= 84%
V
ramp
= 3.5 V, Internal ramp level.
R
ramp
= 26.5 kW, Internal pull−up resistance
Targeted ramp compensation level: 100%
Transformer specification:
− L
mag
= 13 mH
− N
s
/N
p
= 0.085
NCP1252
www.onsemi.com
17
Internal ramp compensation level
S
int
+
V
ramp
DC
max
F
sw
å S
int
+
3.5
0.84
125 kHz + 520 mV ń ms
Secondary−side downslope projected over the sense resistor is:
S
sense
+
(V
out
) V
f
)
L
out
N
s
N
p
R
sense
å S
sense
+
(12 ) 0.7)
27 @ 10
−6
0.085 0.75 + 29.99 mV ń ms
Natural primary ramp:
S
natural
+
V
bulk
L
mag
R
sense
å S
natural
+
350
13 @ 10
−3
0.75 + 20.19 mV ń ms
Thus the natural ramp compensation is:
d
natural_comp
+
S
natural
S
sense
å d
natural_comp
+
20.19
29.99
+ 67.3%
Here the natural ramp compensation is lower than the desired ramp compensation, so an external compensation should be
added to prevent sub−harmonics oscillation.
Ratio +
S
sense
(d
comp
* d
natural_comp
)
S
int
å Ratio +
29.99 @ (1.00 * 0.67)
520
+ 0.019
We can know calculate external resistor (R
comp
) to reach the correct compensation level.
R
comp
+ R
ramp
Ratio
1 * Ratio
å R
comp
+ 26.5 @ 10
3
0.019
1 * 0.019
+ 509 W
Thus with R
comp
= 510 W, 100% compensation ramp is applied on the CS pin.
The following example illustrates a power supply where the natural ramp offers enough ramp compensation to avoid external
ramp compensation.
2 switch−Forward Power supply specification:
Regulated output: 12 V
L
out
= 27 mH
V
f
= 0.7 V (drop voltage on the regulated output)
Current sense resistor: 0.75 W
Switching frequency: 125 kHz
V
bulk
= 350 V, minimum input voltage at which the
power supply works.
Duty cycle max: DC
max
= 84%
V
ramp
= 3.5 V, Internal ramp level.
R
ramp
= 26.5 kW, Internal pull−up resistance
Targeted ramp compensation level: 100%
Transformer specification:
L
mag
= 7 mH
− N
s
/N
p
= 0.085
Secondary−side downslope projected over the sense resistor is:
S
sense
+
(V
out
) V
f
)
L
out
N
s
N
p
R
sense
å S
sense
+
(12 ) 0.7)
27 @ 10
−6
0.085 0.75 + 29.99 mV ń ms
The natural primary ramp is:
S
natural
+
V
bulk
L
mag
R
sense
å S
natural
+
350
7 @ 10
−3
0.75 + 37.5 mV ń ms
And the natural ramp compensation will be:
d
natural_comp
+
S
natural
S
sense
å d
natural_comp
+
37.5
29.99
+ 125%
So in that case the natural ramp compensation due to the magnetizing inductance of the transformer will be enough to prevent
any sub−harmonics oscillation in case of duty cycle above 50%.
NCP1252
www.onsemi.com
18
Table 5. ORDERING INFORMATION
Device Version Marking Shipping
NCP1252APG A 1252AP 50 Units / Rail
NCP1252ADR2G A 1252A 2500 / Tape & Reel
NCP1252BDR2G B 1252B 2500 / Tape & Reel
NCP1252CDR2G C 1252C 2500 / Tape & Reel
NCP1252DDR2G D 1252D 2500 / Tape & Reel
NCP1252EDR2G E 1252E 2500 / Tape & Reel
For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel Packaging
Specification Brochure, BRD8011/D.

NCP1252ADR2G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Switching Controllers CURR MDE PWM CNTRLR FWD FLYBCK APPS
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union