6746.mathcad - UCC28810 Transformer Design
6746.mathcad - UCC28810 Transformer Design
POUT
IOUT :=
VOUT
POUT
PINavg :=
η
Line Voltage
450
405
360
315
V SINmax( x)270
225
V SINmin( x)180
135
90
45
0
0 0.31 0.63 0.94 1.26 1.57 1.88 2.2 2.51 2.83 3.14
x
1 of 11
UCC28810 LED Flyback Transformer Design Calculations
Flyback Inductor Design: Select the desired minimum switching frequency over the 60 Hz line: for
small transformer size, select 80kHz or greater at low line; for optimum EMI performance, select
less than 150kHz at high line.
1
TSWvmin :=
fSWvmin
1
TSWvmax :=
fSWvmax
Maximum voltage stress on the switch is at V ACmax at π/2. Will use an 800V switch and allow a 300V
margin to account for the leakage spike, input surges, and device reliability. The reflected output
voltage, Vflyback, can then be estimated:
⎛π⎞
Vflyback := VDSrated − VSINmax⎜ ⎟ − Vmargin
2 ⎝ ⎠
Vflyback = 68.665 V Allowed reflected voltage to meet reliability requirements, V flyback
Vflyback
NPS :=
VOUT
2 of 11
UCC28810 LED Flyback Transformer Design Calculations
K is the constant ratio between the input voltage and the primary side peak switch current, I PRIpk,
that is determined by the Current Reference Generator in the UCC28810. We need to determine
the waveshape of the average input current at 60Hz, since the Current Reference Generator will
force the peak switch current to match the input voltage waveshape and the peak current is not
linearly related to the average input current.
Calculating K at the minimum line voltage, K vmin, and at the maximum line volage, KVmax
⎛⎜ ⌠ π ⎞⎟
( )
1
⋅ NPS ⋅ VOUT ⎮
2
2 ⎜ VSINmin( x ) ⎟
Kvmin := ⋅ ⎮ dx
PINavg ⋅ π ⎜⎮ N ⋅V + VSINmin( x ) ⎟
⎜ ⌡0 PS OUT ⎟
⎝ ⎠
Kvmin = 51.096 Ω
⎛⎜ ⌠ π ⎞⎟
( )
1
⋅ NPS ⋅ VOUT ⎮
2
2 ⎜ VSINmax( x ) ⎟
Kvmax := ⋅ ⎮ dx
PINavg ⋅ π ⎜⎮ N ⋅V + V ( x ) ⎟
⎜ ⌡0 PS OUT SINmax
⎟
⎝ ⎠
Kvmax = 266.719 Ω
Now that K vmin and Kvmax are found, the primary side peak switch current at the minimum and
maximum input voltages, I PRIpk_vmin and IPRIpk_vmax, can be calculated:
IPRIpk_vmin ( x ) :=
VSINmin( x )
⎛π⎞
IPRIpk_vmin ⎜ ⎟ = 2.353 A
Kvmin ⎝ ⎠
2
IPRIpk_vmax ( x ) :=
VSINmax( x )
⎛π⎞
IPRIpk_vmax ⎜ ⎟ = 1.617 A
Kvmax ⎝ ⎠
2
3 of 11
UCC28810 LED Flyback Transformer Design Calculations
At the critical conduction point (minimum line, maximum load) there will be no deadtime so
the duty cycle, Dvmin, can be calculated:
tONvmin
Dvmin :=
TSWvmin
Now calculate the Primary Inductance, L P, and the secondary inductance, L S, based upon
minimum line voltage and maximum on-time::
⎛π⎞
LP := VSINmin⎜ ⎟ ⋅
tONvmin
2 ⎝ ⎠ I ⎛π⎞
PRIpk_vmin ⎜ 2 ⎟
⎝ ⎠
LP = 238.881 μH Calculated primary inductance, L P
LP
LS :=
2
NPS
4 of 11
UCC28810 LED Flyback Transformer Design Calculations
Calculate the varying switching frequency, f SW, and duty cycle, D, at minimum and maximum line
voltages
Low line:
LP⋅ IPRIpk_vmin ( x )
tONvmin ( x ) :=
VSINmin( x )
tONvmin ⎜
⎛ π ⎞ = 4.697 μs
⎟ Calculated on-time at low line, t ONvmin
⎝2⎠
tOFFvmin ⎜
⎛ π ⎞ = 8.014 μs
⎟ Calculated off-time at low line, t OFFvmin
⎝2⎠
1
fSWvmin( x ) :=
tONvmin ( x ) + tOFFvmin( x )
⎛π⎞
fSWvmin⎜ ⎟ = 78.67 kHz
Calculated switching frequency at low line, f SWvmin
2 ⎝ ⎠
⎛π⎞
Dvmin⎜ ⎟ = 0.37 Calculated duty cycle at low line, Dvmin
2 ⎝ ⎠
210 0.8
90 0.2
50 0
0 0.31 0.63 0.94 1.26 1.57 1.88 2.2 2.51 2.83 3.14
x
5 of 11
UCC28810 LED Flyback Transformer Design Calculations
High line:
LP⋅ IPRIpk_vmax( x )
tONvmax( x ) :=
VSINmax( x )
tONvmax⎜
⎛ π ⎞ = 0.9 μs
⎟ Calculated on-time at high line, tONvmax
⎝2⎠
NPS ⋅ LS⋅ IPRIpk_vmax ( x )
tOFFvmax( x ) :=
VOUT
tOFFvmax⎜
⎛ π ⎞ = 5.509 μs
⎟ Calculated off-time at high line, tOFFvmax
⎝2⎠
1
fSWvmax( x ) :=
tONvmax( x ) + tOFFvmax( x )
⎛π⎞
fSWvmax⎜ ⎟ = 156.033 kHz
Calculated switching frequency at high line, f SWvmax
2 ⎝ ⎠
Dvmax( x ) := tONvmax( x ) ⋅ fSWvmax( x )
⎛π⎞
Dvmax⎜ ⎟ = 0.14 Calculated duty cycle at high line, D vmax
2 ⎝ ⎠
6 of 11
UCC28810 LED Flyback Transformer Design Calculations
Calculate the waveshape of the average input current to the PFC flyback. The shape is not
sinusoidal because the average input current does not have a constant relationship to the peak
switch current. The peak switch current is forced to be sinusoidal by the multiplier.
1
IAVGvmin( x ) := ⋅ IPRIpk_vmin ( x ) ⋅ Dvmin( x )
2
⎛π⎞
IAVGvmin⎜ ⎟ = 0.435 A Average input current at low line, I AVGvmin
2 ⎝ ⎠
1
IAVGvmax( x ) := ⋅ IPRIpk_vmax ( x ) ⋅ Dvmax( x )
2
⎛π⎞
IAVGvmax⎜ ⎟ = 0.114 A Average input current at high line, I AVGvmax
2 ⎝ ⎠
0.4
IAVGvmin ( x)0.3
IAVGvmax ( x)0.2
0.1
0
0 0.31 0.63 0.94 1.26 1.57 1.88 2.2 2.51 2.83 3.14
x
Dvmin( x )
IPRIrms_vmin( x ) := IPRIpk_vmin ( x ) ⋅
3
⎛π⎞
IPRIrms_vmin⎜ ⎟ = 0.826 A Primary RMS current at low line, I PRIrms_vmin
2 ⎝ ⎠
π
⌠
⎮ IPRIrms_vmin( x ) dx
⌡
0
IPRIrmsavg_vmin :=
π
7 of 11
UCC28810 LED Flyback Transformer Design Calculations
Dvmax( x )
IPRIrms_vmax( x ) := IPRIpk_vmax( x ) ⋅
3
⎛π⎞
IPRIrms_vmax⎜ ⎟ = 0.35 A Primary RMS current at high line,
2⎝ ⎠ IPRIrms_vmax
π
⌠
⎮ IPRIrms_vmax( x ) dx
⌡
0
IPRIrmsavg_vmax :=
π
Average primary RMS current over line cycle at
IPRIrmsavg_vmax = 0.255 A high line, IPRIrmsavg_vmax
1 − Dvmin( x )
ISECrms_vmin( x ) := ISECpk_vmin( x ) ⋅
3
⎛π⎞
ISECrms_vmin⎜ ⎟ = 2.111 A Secondary RMS current at low line, I SECrms_vmin
2 ⎝ ⎠
π
⌠
⎮ ISECrms_vmin( x ) dx
⌡
0
ISECrmsavg_vmin :=
π
⎛π⎞
ISECrms_vmax⎜ ⎟ = 1.694 A
2 ⎝ ⎠ Secondary RMS current at high line, I SECrms_vmax
8 of 11
UCC28810 LED Flyback Transformer Design Calculations
π
⌠
⎮ ISECrms_vmax( x ) dx
⌡
0
ISECrmsavg_vmax :=
π
Verify that the input power intagrated over a line cycle matches the calcultated average input power
π
⌠ 1
⎮ ⋅L ⋅I
2
( x ) ⋅ fSWvmin( x ) dx
⎮ 2 P PRIpk_vmin
⌡
0
PINavg_vmin := PINavg_vmin = 29.412 W
π
π
⌠ 1
⎮ ⋅L ⋅I
2
( x ) ⋅ fSWvmax( x ) dx
⎮ 2 P PRIpk_vmax
⌡
0
PINavg_vmax := PINavg_vmax = 29.412 W
π
⎛π⎞
PINvmin⎜ ⎟ = 52.25 W Peak input power at low line, PINvmin
2⎝ ⎠
9 of 11
UCC28810 LED Flyback Transformer Design Calculations
Core Selection: Ferrite material is cost effective and widely used for SMPS. EE cores are widely
used for low power designs. For the flyback design, it is desired to keep the peak flux density
below 280mT for a flyback design: a 15% margin was given for B max with a result of 240mT.
−6 −3 −9
μJ := 10 J mT := 10 T nH := 10 H
N87 material has a flux density of 390mT at 100C so this material shall be used. An E25/13/7
core is readily available (B66317) and suitable for power levels below 50W
2
Ae := 52.5mm Area of selected core, Ae
LP⋅ IPRIpk_vmin ⎜
⎛π⎞
⎟
NP :=
⎝2⎠
Bmax⋅ Ae
NP
NS :=
NPS
VPRIbias⋅ NS
NBpri :=
VOUT
NBpri = 12.085 Calculated required number of turns for primary side bias,
NBpri
VSECbias⋅ NS
NBsec :=
VOUT
NBsec = 9.541 Calculated required number of turns for secondary side bias,
NBsec
10 of 11
UCC28810 LED Flyback Transformer Design Calculations
LP⋅ IPRIpk_vmin ( x )
Bvmin( x ) :=
NP⋅ Ae
LP⋅ IPRIpk_vmax( x )
Bvmax( x ) :=
NP⋅ Ae
0.24
Bvmin ( x)0.18
Bvmax ( x)
0.12
0.06
0
0 0.31 0.63 0.94 1.26 1.57 1.88 2.2 2.51 2.83 3.14
x
−7H 2
4 ⋅ 10 ⋅ π ⋅ NP ⋅ Ae
m
gap :=
LP
gap = 0.552 mm
Calculated air gap, gap in mm and in inches
gap = 0.022 in
11 of 11