You are on page 1of 1

NCP1271 Flyback Design Spreadsheet

Rskip

Rramp
RCS

Part I. Maximum Switch Current and Duty Consideration
Please enter higher limit of input rectified voltage
Please enter lower limit of input rectified voltage
Please enter output voltage
Please enter diode volt drop
Please enter output current
Please enter transformer ratio (n1/n2)
MOSFET stress (excluding the leakage)
Diode stress
Duty (input high, CCM lossless)
Duty (input low, CCM lossless)
Please enter the maximum peak switch current
Maximum current sense resistor to handle the current
Maximum input power (input high, CCM, infinity inductance)
Maximum input power (input low, CCM, infinity inductance)
Required output power
Required minimum efficiency (input high, CCM, infinity inductance)
Required minimum efficiency (input low, CCM, infinity inductance)
Part II. Inductance and Frequency
Please enter the frequency value
Critical mode inductor value (input high)
Critical mode inductor value (input low)
Please enter the primary inductance value
Inductor current ripple (input high, CCM)
Inductor current ripple (input low, CCM)

400
100
19
1
3
5
500
99
20
50
4
0.25
320
200
57.00
17.81
28.50

65
307.69
192.31
180
6.84
4.27

V
V
V
V
A
(ratio)
V
V
%
%
A
Ω
W
W
W
%
%

kHz
µH
µH
µH
A
A

http://www.onsemi.com/
Prepared by: Kahou Wong
on Jan 20, 2006
input box is blue colored
output box is green colored
Note: n1 is primary turn number, n2 is main output, n3 is VCC biasing
Equation used: V(switch) = Vin + (Vout + Vd) *(n1/n2)
Equation used: V(diode) = Vout + Vin / (n1/n2)
Equation used: duty = ((n1/n2) * (Vout + Vd) ) / (Vin + (n1/n2) * (Vout + Vd) )
← Maximum available duty in NCP1271 is 80% (75% min, 85% max)
Equation used: R(cs) = 1 / Ipk
Equation used: Pin, max = duty * Vin * Ipk
Equation used: Pout = Iout * Vout
Equation used: eff = Pout / Pin
← Need to check if it is too high

Note: Avaliable frequency options in NCP1271 is 65kHz and 100kHz
Equation used: L = Vin * duty / Ipk / freq
Note: Higher inductor value makes CCM
Equation used: delta(i) = duty / freq * Vin / L
← Current ripple decides CCM or DCM

Part IIIa. Continuous Conduction Mode (CCM) Scenario (when inductor current ripple is lower than maximum switch current)
Maximum input power (input high, CCM)
46.50 W
Equation used: Pin, max = duty * Vin * (Ipk - delta(i) / 2)
Maximum input power (input low, CCM)
93.16 W
Required minimum efficiency (input high, CCM)
122.59 %
Equation used: eff = Pout / Pin
Required minimum efficiency (input low, CCM)
61.18 %
← Need to check if it is too high
Part IIIb. Discontinuous Conduction Mode (DCM) Scenario (when inductor current ripple is higher than maximum switch current)
Duty (input high, DCM)
11.70 %
Equation used: duty = Ipk * freq * L / Vin
Duty (input low, DCM)
46.80 %
Discharge-duty (input high, DCM)
46.80 %
Equation used: discharge-duty = Vin / ((n1/n2) * (Vout + Vd) ) * duty
Discharge-duty (input low, DCM)
46.80 %
← Need to check (duty + discharge-duty < 100%)
Maximum input power (input high, DCM)
93.60 W
Equation used: Pin, max = duty * Vin * Ipk / 2
Maximum input power (input low, DCM)
93.60 W
Required minimum efficiency (input high, DCM)
60.90 %
Equation used: eff = Pout / Pin
Required minimum effiiciency (input low, DCM)
60.90 %
← Need to check if it is too high
Part IV. Auxiliary Winding for Bias Supply Voltage VCC
Please enter additional output voltage
Please enter the diode volt drop on this output
Transformer ratio (n1/n3)
Diode stress on this output
Part V. Snubber Circuit
Please enter the snubber resistor
MOSFET stress 1 (due to output winding reflection)
Power to spend (due to reflected output), DCM
Power to spend (due to reflected output), CCM
Please enter the leakage inductance of the transformer
Power to spend in the leakage inductance
Snubber voltage (due to leakage)
MOSFET stress 2 (due to leakage)
Minimum snubber capacitor
Part VI. Skip Adjust
Corresponding skip resistor
Pin 1 nominal voltage (Note 4)
Skip duty (borderline duty between normal and skip operation).

16
0.8
5.95
83.20

100.0
500
0.0468
0.08
2.5
1.3
360.6
760.6
307.7

V
V
(ratio)
V


V
W
W
µH
W
V
V
pF

34.8 kΩ
1.50 V
9.0 %

Equation used: n1/n3 = n1/n2 * (Vout1+Vd1) / (Vout2+Vd2)
Equation used: V(diode) = Vout + Vin / (n1/n3)

Equation used: V(switch) = Vin + (Vout + Vd) *(n1/n2)
Equation used: Power = (voltage² / resistor) * discharge-duty

Equation used: Power = ½ * L(leakage) * Ipk² * freq
Equation used: Voltage = sqrt( power * resistor)
Equation used: Max voltage = input voltage + snubber voltage
Equation used: C > 2 * Power / ( voltage² * freq )

Note: Application range of skip resistor is between 30kΩ and 82kΩ.
Equation used: V(pin1) = 43µA * R(skip)
Equation used: D(skip) = (R(skip)*I(skip) - 1.25) / 0.73 / 3 * 80%
← Need to compare with the duty in Part III to check if it is too high

Notes:
1. VCC capacitor has to be as close as possible to the NCP1271.
2. Decoupling capacitors in pin 1 and pin 2 are typically 1nF.
3. Ramp resistor range is typically 1kΩ. Lower value makes better transient response.
4. When no skip resistor on pin 1, the nominal voltage is 6.8V and it is close to the 8V latch threshold.