Beruflich Dokumente
Kultur Dokumente
Converters
Presented by Christophe Basso
Senior Scientist
IEEE Senior Member
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
flyback 10 35 W
Charger
flyback 3 5 W
Notebook
Netbook
flyback 40 180 W
An Isolated Buck-Boost
The flyback converter is derived from the buck-boost cell
2
8
11
SW1
drv
Vin
Vin
Vout
Vout
drv
SW1
Vout
12
gnd
buck-boost
input referenced
buck-boost
ground referenced
Vin
5
gnd
drv
SW1
flyback
isolated ground referenced
-k.Vin
Isolation
Polarity change
More than 1 output
IC
.
Vin
Lp
I p (t )
Vout
I peak
I peak = I valley +
Vin
ton
Lp
I valley
CCM
ton
I sec = 0
Vin
0V
SW
N = Ns N p
I peak
I peak =
Vin
ton
Lp
DCM
Vin ton
Son =
Lp
Simplified, no leakage
Vout N
VLp(t)
IC
Vin
.
Lp
.
Vout/N
Vin
ton = DTsw
Reflected
voltage
Vout
= Vin + Vr
N
Vout Nton
NDTsw
ND
=
=
=
Vin
toff
(1 D ) Tsw 1 D
7 Chris Basso APEC 2011
toff = (1-D)Tsw
0V
VLp(t)
IC
.
Lp
Vin
DT
Vin
Vout /N
ton = DTsw
toff = (1-D)Tsw
Vout
Rload
=D
Vin
2 Lp Fsw
dc transfer function in DCM
Vout
Lp
2.2m
5
D1
Ls
IIn
Cout
470u
IC = 10
Rload
2
Vds
Vin
100
D
4
V2
X1
PSW1
RON = 10m
ROFF = 1Meg
1.60
Ipeak
1.20
800m
Iin(t)
Ivalley
plot2
i(lp) in amperes
Input current
400m
1
Epeak
I L
1.15
1.05
Evalley
950m
ILp(t)
850m
Inductor current
2
750m
plot3
vds in volts
250
190
Vout N + Vin
Diode blocks
Vout N
Vin
130
70.0
Drain voltage
VDS(t)
10.0
plot4
vout in volts
8.89
4
8.87
Output cap.
refueling
8.83
8.81
plot5
id(d1) in amperes
Output voltage
8.85
Output capacitor
supplies the load
Vout(t)
16.0
12.0
8.00
Id(t)
Ipeak / N
Diode current
4.00
0
3.002m
3.006m
3.010m
time in seconds
3.014m
3.018m
400m
Iin(t)
Ipeak
300m
200m
Input current
100m
0
Plot2
i(lp) in amperes
400m
I L
300m
200m
Epeak
ILp(t)
Plot3
vds in volts
400
300
Inductor current
Evalley = 0
100m
Vout N + Vin
Diode blocks
200
Vout N
100
VDS(t)
Drain voltage
Vin
Plot4
vout in volts
12.648
12.644
Output voltage
12.640
12.636
Output cap.
refueling
Plot5
id(d1) in amperes
12.632
3.00
2.00
Output capacitor
supplies the load
Vout(t)
Ipeak / N
Id(t)
1.00
0
Diode current
5
-1.00
3.002m
3.006m
3.010m
time in seconds
3.014m
3.018m
Pout =
1
I peak 2 I valley 2 L p Fsw
2
CCM
Pout =
1
I peak 2 L p Fsw
2
DCM, Ivalley = 0
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
rLf
250m
9
D1
1n5819
Vout
Lp
{Lp}
Ls
IIn
Cout
470u
IC = 10
7
2
Vin
100
X1
PSW1
RON = 10m
ROFF = 1Meg
4
V2
Resr
150m
Lleak
{Leak}
Rload
2
Vds
8
Dbody
Clump
100p
parameters
Lp=2.2m
k=0.02
Leak=Lp*k
With parasitics
plot1
iin in amperes
800m
400m
Iin(t)
Input current
-400m
plot2
i(lp) in amperes
-800m
950m
ILp(t)
850m
Inductor current
750m
2
650m
550m
plot3
vds in volts
770
570
370
(Vout + Vf )
Leakage
inductance
contribution
N + Vin + Vleak
VDS(t)
170
Vin
Drain voltage
3
-30.0
plot4
vout in volts
9.60
9.00
8.40
7.80
Vout(t)
7.20
plot5
id(d1) in amperes
Output voltage
16.0
Id(t)
12.0
8.00
Diode current
5
4.00
0
3.002m
3.006m
3.010m
time in seconds
3.014m
3.018m
300m
Ipeak
200m
100m
Iin(t)
Input current
1
plot2
i(lp) in amperes
-100m
300m
ILp(t)
200m
-100m
plot3
vds in volts
370
270
170
(Vout + Vf )
Leakage
inductance
contribution
N + Vin + Vleak
70.0
-30.0
plot4
vout in volts
13.0
Vout(t)
12.8
Vin
VDS(t)
Drain voltage
Output voltage
12.6
12.4
4
12.2
plot5
id(d1) in amperes
Inductor current
100m
Id(t)
4.00
3.00
Diode current
2.00
1.00
0
5
3.002m
3.007m
3.012m
time in seconds
3.017m
3.022m
Vbulk
.
.
Vbulk
Lp
.
.
lleak
Coss
Lp primary inductor
lleak leakage inductor
Coss output capacitance
17 Chris Basso APEC 2011
Simplified view
COSS (VDS ) =
CD 0
VDS
1 +
V
0
1
W = COSSVDS 2
2
IC ( t ) = C
IC
VC
COSS
MOSFET
dVC ( t )
dt
W = I C ( t )VC ( t ) dt
t
VDS
dVDS ( t )
W = C
VDS ( t ) dt = C (VDS )VDS dVDS
0
0
dt
t
COSS (VDS )
CD 0 V0
VDS
2
W = VDS 3 2CD 0 V0
3
At turn-off
VD 0
CD 0
1
W = COSSVDS 2 = 0.5 400 p 1002 = 2 J or 200 mW @ 100 kHz
2
The updated equation gives:
2
2
32
W = VDS CD 0 V0 = 1003 2 400 p 10 = 843 nJ
3
3
or 84 mW @ 100 kHz = 58% reduction
20 Chris Basso APEC 2011
Overkill
Leakage flux
Leakage flux
Closed path
in the air
lleak1
primary
lleak2
Lp
secondary
1:N
This is commonly known as the "PI" model
. .
Ip
I sec =
Primary
Ip
N
Secondary
Divide by Np
N p = 100
N s = 25
23 Chris Basso APEC 2011
Np
Np
Ns
Np
1: N
. .
1: 0.25
250m
Lp
I p (t )
I p (t )
Wleak =
lleak
Vin
Son =
Vin
L p + lleak
1
lleak I p 2
2
N=1
I lleak ( t )
Lp
Vout ( t )
I Lp ( t )
Vin
lleak
I Lp ( t ) I lleak ( t )
I lleak ( t )
Clump
Vout + V f
N
I lleak ( t )
V
(
+
out
+Vf
N
)+I
peak
lleak
Clump
lleak
Vin
I lleak ( t )
Clump
800
600
400
200
0
Characteristic
impedance
VDS ( t )
Vout + V f
Vclamp
Lp
lleak
D
BVDSS = 600 V
Vin + Vclamp
I Lp ( t ) I lleak ( t )
Vclamp
I Lp ( t )
I lleak ( t )
Vout ( t )
Lp
reset
lleak
Vlleak
I lleak ( t )
Slleak =
Vclamp (Vout + V f
lleak
I Lp ( t )
I Lp ( t ) I lleak ( t )
Lp
I lleak ( t )
lleak
I lleak ( t )
I Lp ( t ) = I lleak ( t )
I sec ( t ) = 0
I peak
I p (t )
I Lp , I lleak
I valley
I lleak
ton
I sec ( t )
Primary and
secondary
currents.
toff t
I p (t )
N1
I lleak ( t )
N = 0.25
lleak = 4.8 H
Vclamp = 150 V
Vout = 19 V
I peak = 3 A
t =
I peak
Slleak
t =
lleak I peak
Vclamp (Vout + V f
I peak
Slleak
Nlleak I peak
NVclamp (Vout + V f
I peak
I peak lleak
1
t
Ssec t =
1
I sec =
N
N
Lp NVclamp
1
+
V
V
out
f
0.25 ( 4.8u 3) )
t =
= 205 ns
0.25 150 (19 + 1)
260m
180m
ILp(t)
Ipeak = 236 mA
Ipeak = 210 mA
Primary current
100m
20.0m
Plot3
illeak in amperes
-60.0m
t = 480 ns
260m
Ileak(t)
180m
100m
20.0m
Leakage inductor
current
-60.0m
trr
plot2
id1 in amperes
2.50
1.30
700m
100m
280
Plot4
vds in volts
Id(t)
Id,peak=2.1 A
1.90
200
Sec. current
11% decrease!
4
VDS(t)
Drain voltage
120
1
40.0
-40.0
3.011m
3.015m
3.019m
time in seconds
3.023m
3.027m
+Vf
out
As the clamp diode blocks, the drain returns
Vin to
+
N
Vin
Dclamp blocks
Vr
An oscillation
takes place
Vout
1: N
lleak
Dclamp
I lleak ( t ) = 0
Clump
t
Vin + Vclamp + Vr
Vin + Vclamp + Vr
f =
0V
lleak is reset
1
2 lleak Clump
Vos = 14 V
VDS(t)
An oscillation
takes place
.
1: N
Lp is reset
lleak
Dclamp
Vin
Clump
Vin + Vr
f =
1
2
(L
+ lleak ) Clump
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
BVDSS
Vclamp
15%
Vin
t
Vin
VDS ( t )
Vin
VDS ( t )
Asynchronous switching
Fixed frequency
Synchronous switching
Variable frequency
kD = 0.85
gate
RCD clamp
design entry
BVDSS = 600 V
I out = max
Vin = max
Safety margin
Vos
Vclamp
100 V /
div
Vr
Vin
Test at start-up
and in short-circuit
VDS(t)
PVclamp ,avg
kc
1
2
= Fsw Lleak I peak
2
( kc 1)
kc =
Vclamp
Vr
60
50
40
Pclamp ( W )
30
20
10
0
1.5
2.5
kc
If Vclamp is too close to Vr, dissipation occurs kc = 1.3 to 2
40 Chris Basso APEC 2011
Vclamp kc
V
(
+Vf
out
kc (Vout + V f
Vclamp
Choose a 100%
derating factor
Vf
If
PIV = 100 V
Then
BV = 200 V
PIV
Vd ( t )
Always check the margins are not violated in any operating modes
41 Chris Basso APEC 2011
Rclp
Vout + V f
(
2Vclamp Vclamp
N
=
Fswlleak I peak 2
Cclp =
Vclamp
Cclp
Rclp
Rclp Fsw V
600 V
I peak ,max =
Vsense ,max
Rsense
Vin ,max
Lp
t prop
550 V
Worst-case value
Cclp
Rclp .
Rdamp
D
VDS(t)
Watch for
added cap.
V
With Rdamp
Similar
overshoot
Without Rdamp
VDS(t)
Q=
0lleak
Rdamp
=1
Zlleak @ f 0 = Rdamp
VDS(t)
.
Rdamp
Zlleak = 2 lleak f 0
Cdamp
1
=
2 f 0 R
plot1
vdrain in volts
520
VDS(t)
400
280
160
40.0
3.0325m
3.0335m
3.0345m
time in seconds
No damper zoom
3.0355m
3.0365m
Plot5
vdrain in volts
490
VDS(t)
370
250
130
10.0
Plot4
vdrain#a in volts
3.042m
490
3.050m
time in seconds
3.054m
Vpeak = 452 V
370
2
3.058m
VDS(t)
250
130
10.0
b
3.042m
Plot3
vdrain#a in volts
3.046m
No damper
3.046m
3.050m
time in seconds
3.054m
3.058m
Vpeak = 494 V
490
VDS(t)
370
250
130
10.0
c
3.042m
3.046m
3.050m
time in seconds
3.054m
3
3.058m
V = 37 V
VDS(t)
No ringing!
Id(t)
Recovery losses
VDS(t)
120
100
Vclamp (V) )
80
60
40
Ipeak (A)
600
400
10
200
0
VDS(t)
-200
150u
450u
750u
time in seconds
1.05m
Drain
voltage
1.35m
Plot2
vclamp in volts
300
200
12
100
0
Vclamp(t)
-100
150u
450u
overshoot
750u
time in seconds
1.05m
Plot3
vsense in volts
1.35m
Max Vsense
1.30
900m
Vsense(t)
500m
100m
15
-300m
150u
450u
750u
time in seconds
1.05m
Plot4
vout in volts
16
10.0
6.00
Vout(t)
Worst case
-2.00
150u
450u
750u
time in seconds
1.05m
Sense
voltage
1.35m
14.0
2.00
Clamp
voltage
1.35m
Output
voltage
Vbulk
TVS
Id(t)
t = 200 ns
Dclp
VDS(t)
PTVS =
1
Fswlleak I peak 2
2
Vz
Vz
(Vout + V f
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
Operating
waveforms
are identical
Current-mode?
Voltage-mode?
Current-mode?
52 Chris Basso APEC 2011
Ac -transfer
functions
differ
Voltage-Mode Control
Voltage mode uses a ramp to generate the duty-ratio
The error voltage directly adjusts the duty-ratio
Vbulk
Vout
.
.
vdd
S
Q
Verr ( t )
D (t )
FB
R
Verr
Vsaw ( t )
Vmax
D (t )
Rsense
Voltage-Mode Control
PROs
Does not need the inductor current information
Can go to very small duty-ratio
CCM operation without sub-harmonic instabilities
No need for slope compensation, current limit
unaffected
CONs
No inherent input line feedforward (weak audio
susceptibility)
Cannot use small bulk capacitor, bad ripple rejection
2nd-order system in CCM: mode transition can be a
problem
Limited integrated circuit offer
54 Chris Basso APEC 2011
Peak-Current-Mode Control
Current mode uses the inductor current information as
a ramp
The error voltage adjusts the inductor peak current
The duty-ratio is indirectly controlled Vout
Vbulk
D (t )
S
Q
Q
vdd
I L (t )
FB
Verr ( t )
+
-
Verr
Rsense
Vmax
I L (t )
Peak-Current-Mode Control
PROs
Inherent pulse-by-pulse current limitation
Natural input line rejection
Mode transition DCM to CCM is easy
Converter remains a 1st-order system at low frequency
Widest offer on the market: a really popular technique!
CONs
Leading Edge Blanking limits the minimum duty-ratio
Requires slope compensation against sub-harmonic
oscillations
Additionnal ramp affects the available maximum peak
current
Current sense can sometimes be a problem (floating
sense)
Can potentially
false trip the
controller
500m
300m
100m
1
Vsense ( t )
-100m
3.122m
3.126m
3.131m
3.135m
3.139m
PWM
reset
.
2
Vsense ( t )
DRV
S2
S1
DRV
t LEB
58 Chris Basso APEC 2011
CS
Rsense
Clean
edges
2
VCS ( t )
1.2
t LEB
13.0
V sense ( t )
V DRV ( t )
t LEB + t del
9.00
5.00
1.00
-3.00
591u
594u
597u
600u
603u
Vf
N
.
1
Almost
no decrease
Soff
S on
Rsense
V
= in
Lp
S off =
Son
Vf
NL p
ton ,min
Tsw
Maximum theoretical
peak value, 5 A
Plot1
iprim in amperes
7.00
5.00
3.00
1.00
Demagnetization
too weak
ok
Chris Basso
first design
ILp(t)
Minimum ton
1.60
Vsense(t)
Plot2
vsense in volts
1.20
1V
800m
400m
8
35.0u
70.0u
105u
time in seconds
140u
175u
Sub-Harmonic Oscillations
Ac analysis shows a first-order system at fc << Fsw/2
No LC peaking anymore as in CCM voltage mode
But a subharmonic peaking at Fsw/2 now appears
25.0
H (s)
15.0
5.00
-5.00
-15.0
180
90.0
0
-90.0
-180
H ( s )
10
Flyback power
stage in CCM
100
1k
10k
100k
IL(0)
S1
IL(Tsw)
I peak = a + S1t
Verr
Ri
b = I peak S 2 t
S2
Solving
t
I peak a
IL(Tsw)
S1
IL(0)
IL(0)
t
dTsw
dTsw
Tsw
S2
I L (0) I L (Tsw )
=
S1
S2
IL(Tsw)
I peak b
S2 d
=
S1 d '
d
I L ( nTsw ) = I L (0)
d '
IL(0)
IL(0)
Asymptotically stable
IL
clock
t
Perturbation has gone
d
I L (nTsw ) = I L (0)
d '
Ipeak
Duty clamp
IL(0)
IL(0)
Asymptotically unstable
Verr
Ri
b c
Sa
S1
S2
IL(0)
1 S
2
I L ( nTsw ) = I L (0)
d ' + Sa
d S 2
Must stay
below 1
IL(Tsw)
IL(0)
IL(Tsw)
Up to
d = 100%
t
dTsw
n
= I L (0) ( a )
Sa
1
S2
<1
S
0+ a
S2
dTsw
Tsw
Sa > 50% S2
65 Chris Basso APEC 2011
DC
441mV
duty-cycle
vc
X2x
XFMR
RATIO = -N
-79.0V
19.7V
vout
19.0V
vout
Vin
100
AC = 0
D1A
mbr20200ctp
100V
PWM switch CM
R10
14.4m
0V
X9
PWMCM
L = Lp
Fs = Fsw
Ri = Ri
Se = Se
B1
Voltage
C5
6600u
V(err)/3 > 1 ?
1 : V(err)/3
parameters
Vout=19
Soff=(Vout/(N*Lp))*Ri
R1
66k
X3
AMPSIMP
2.32V
CoL
1kF
0V
2.50V
LoL
1kH
err
13
N=250m
Fsw=65k
Lp=350u
Ri=250m
A=0.5
Se=A*Soff
Rload
4
19.0V
Lp
{Lp}
2.32V
12
2.32V
10
2.50V
9
15
R2
10k
AC = 1
Vstim
V2
2.5
No ramp
12.0
0
-12.0
-24.0
H (s)
S a = 50% S2
180
No ramp
90.0
0
-90.0
-180
H ( s )
S a = 50% S2
10
100
1k
10k
100k
Rramp
20 k
k
Q2
R18
S2
VFB 4.2
4
0.8 V
S1
PWM
Q
300 ns
delay
C9
R11
R25
NCP1250
68 Chris Basso APEC 2011
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
Modulation Strategies
The most popular modulation strategy is trailing-edge
VGS(t)
feedback
on
Trailing edge
modulation
off
Clock
feedback
on
off
Leading edge
modulation
off
Clock
I D (t )
VDS ( t )
Id (t )
VDS ( t )
Id(t)
IL0
IL1
Vin
Lp
IL(t)
Vin
Lp
IL(t)
Id0
Id1
d
D0Tsw
Tsw
D1Tsw
Tsw
d VL ( t )
dt
d(t)
d = 59%
Vout(t)
d = 58.3%
IL(t)
Iout(t)
100u
300u
500u
700u
900u
10 s
d = 59%
d(t)
Vout(t)
Vout drops!
d = 58.3%
IL(t)
Iout(t)
Iout drops!
100u
300u
500u
700u
900u
Voltage
mode
Current
mode
s
s
1
1 +
vout ( s )
z1
z2
= G0
2
d ( s )
s
s
+
1+
Q0 0
s
1 +
z1
vout ( s )
= G0
vc ( s )
s
1
z2
D (s)
s
1 +
z3
Rload D '2
z2 = 2
N DL p
C1
10n
Vin
Vin(s)
SUM2
2
E1
10k
Vout(s)
K2
X1
SUM2
K1 = 1
K2 = 1
R1
s
= Vin ( s ) 1
1
0
sC1
|Vout(s)|
+1
LHPZ
0
-20.0
G (s) = 1 +
-40.0
180
90.0
0
G (s) = 1
-90
-180
1
10
RHPZ
argVout(s)
-90.0
100
1k
10k
frequency in hertz
100k
1Meg
Id (t)
IL,peak(t)
D3Tsw
D1Tsw
D2Tsw
Tsw
When D1 increases, [D1, D2] stays constant but D3 shrinks
Id (t)
IL,peak(t)
D3Tsw
d1
t
D1Tsw
D2Tsw
Tsw
The refueling time of the capacitor is delayed and a drop occurs
340m
5.00
300m
3.00
1.00
-1.00
vduty in volts
Plot1
i(b2), i(b2)#a in amperes
Id(t)
260m
220m
d1
180m
2.02m
2.04m
3
2
2.06m
time in seconds
2.09m
2.11m
7.05
Plot3
vout in volts
1
6.95
6.85
6.75
Vout(t)
6.65
1.85m
1.99m
2.13m
time in seconds
2.27m
Plot2
vout in volts
7.05
2.41m
Vout(t)
6.95
6.85
1
6.75
6.65
2.02m
2.04m
2.06m
time in seconds
2.09m
2.11m
10.0V
11
15.0V
Vin
10V
Vout
PWM switch VM
10.0V
vout
(
(
)
)
1
Cout RESR
s z2 =
1 + s sz1 (1 s sz 2 )
vout ( s )
= Hd
1 + s s p1 (1 + s s p 2 )
d (s)
R10
150m
15.0V
X3
PWMVM
L = 75u
Fs = 100k
R11
150
16
C5
1m
vout
sz1 =
Rload
M 2L
2M 1
1
11 M
s p2 = 2 Fsw
s p1 =
M 1 Cout RESR
D
R1
50k
2.50V
5
LoL
1kH 278mV
278mV
1
Hd =
8
6
CoL
1kF
0V
10
V1x
AC = 1
Verr
X2
AMPSIMP
V2
2.5
R3
10k
2Vout M 1
D 2M 1
Merci
Vatch!
180 40.0
f z1 = 1.06 kHz
28.6 dB
f z2 = 141 kHz
90.0 20.0
f p1 = 4.2 Hz
fp1
0
f p2 = 47.1 kHz
fz2
-45
-90.0-20.0
fz1
fp2
8
-180 -40.0
10
4.2 Hz
100
1 kHz
10k
100k
1Meg
I D (t )
Less noise
VDS ( t )
Low CV losses
Id (t )
VDS ( t )
Vin
valley
240
120
toff
ton
DT
VDS ( t )
0
2.061m
2.064m
2.066m
2.069m
2.071m
Np:Ns
Demag
detector
+
- 65 mV
Lp
.
.
.
Q
Q
R
+
Rpullup
FB
GFB
CTR
Cout
Resr
Vdd
Vout
Rsense
Rload
Core is
reset
800
.
delay
400
200
I Lp ( t )
Vaux
VDS ( t )
600
d
= N
dt
delay
10 400m
0
-10 -400m
-20 -800m
=0
2.251m
2.255m
set
86 Chris Basso APEC 2011
Vaux ( t )
I Lp ( t )
20 800m
2.260m
2.264m
2.269m
I peak ,max
Son , HL = Vin , HL Lp
Son , LL = Vin, LL L p
P1
P2
I peak ,max
ton, HL
Soff = (Vout + V f
NL p
ton , LL
Tsw, HL
Tsw, LL
Soff = V f NL p
low rms currents in the MOSFET (weak stress)
Tsw
Fsw
( kHz )
80
3.4
70
3.2
I peak
60
(A)
50
40
3
2.8
2.6
30
100
200
300
Vin ( V )
400
2.4
100
200
Vin ( V )
300
400
Output
current
Fsw (Hz)
810
610
VCO
mode
rd versus
4th 3Fsw
2ndPout at VINmin 1st
4th
410
3rd
Pout decreases
Pout increases
20
40
Pout
, ,(W)
,
90 Chris Basso APEC 2011
1st
VCO
mode
210
2nd
60
NCP1379/1380
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
Increase load
until protection
trip.
Vdc
20
20 < Vout 30
20
20 < Vout 30
20 < Vout 60
5 Vout
8
150 Vout
100
100
The inductor
current slope
increases at high
line.
The controller
takes time to react
to an overcurrent
situation.
The inductor
current keeps
growing until the
MOSFET turns off.
The overshoot is
larger at higher
slopes (High Vin)
94 Chris Basso APEC 2011
I peak , HL
I peak ,max
Vin ,max
Lp
t prop
0.8 Rsense
S=
I Lp ( t )
CSout ( t )
Vin
Lp
High
line
I peak , LL
PWM is reset
Low
line
tdel
Depends on
drive capability
and MOSFET
QG
VGS ( t )
t prop
1
Pout = L p I peak ,max 2 Fsw
2
Primary Max. peak
inductor current in
fault
I peak ,max
Switching Converter
frequency efficiency
I peak
I peak ,max, HL
Vsense Vin , LL
=
+
t prop
Rsense
Lp
Vin, HL Vin, LL
L pVsense
+ Vin, LL
t prop Rsense
I peak ,max, HL
High line
(1.13)
= 1.28
Vsense Vin , HL
=
+
t prop
Rsense
Lp
60
Pout ( W )
63 W
Pout = 17 W
55
50
46 W
45
100
= 85%
= 89%
200
300
400
Vin ( V )
In this example, the converter stays DCM over the whole input
range.
96 Chris Basso APEC 2011
I peak ,max
peak
I peak , LL
I peak , HL
Vin
LL
Vin
HL
LL
HL
Pout ,max, HL =
2 Pout ,max, LL
L p Fsw HL
Vin , HL
I peak ,max, HL
t prop Rsense
Lp
63 W
60
Pout ( W )
50
46 W
40
100
Pout = 4 W
46 W
42 W
200
300
Vin ( V )
400
1
E = L p I peak ,max 2
2
The peak current runaway, alone, affects the transmitted power
In CCM, the valley current changes the formula:
1
E = L p ( I peak ,max 2 I valley 2 )
2
I (L )
p
I peak ,max
I valley
t
100 Chris Basso APEC 2011
(V
out
ELL
+ Vf
NLp
Vin ,min
Lp
I p , valley , LL
Low line
ton , LL
I p ,max, HL
(V
out
Vin ,max
EHL
+ Vf
NLp
Lp
High line
I p ,valley , HL
ton , HL
(V
out
+ Vf
NLp
Vin ,min
Lp
I valley
t
toff
ton
Tsw
I peak = I valley
(1)
V
+ in ton
Lp
I valley = I peak
V
(
(2)
out
+ Vf
NL p
)t
off
L p ( I peak I valley )
Vin
L p ( I peak I valley )
Vin
Replace toff in
(2):
V f + Vout )( I valley L p I peak L p + TswVin )
(
I valley = I peak
L p NVin
Solve for Ivalley:
I valley = I peak
TswVin (V f + Vout )
L p (V f + Vout + NVin )
Max fault
current
LL or HL
I peak ,max
I L = I peak I valley
V
V
= sense + in t prop
Rsense L p
I L =
TswVin (V f + Vout )
L p (V f + Vout + NVin )
Inductor ripple
current
I peak
CCM
I valley > 0
ton + toff = Tsw
I valley = 0
ton + toff < Tsw
I valley
I peak
BCM
ton
I peak
DCM
DT
ton
104 Chris Basso APEC 2011
ton
Pmax, LL =
Pmax, HL
110
100
Pout ( W )
Pout = 24 W
90
80
70
100
200
Vin ( V )
300
400
I peak
I LCMP
I peak CMP
I valley
I valleyCMP
t
toff
ton
Tsw
0 in DCM
Vin , HL
V = Vsense I peak ,max, HL
t prop Rsense
Lp
104 W
100
Pout ( W )
90
80
75 W
76 W
Pout = 6 W
70
70 W
60
100
200
300
Vin ( V )
108 Chris Basso APEC 2011
400
I peak ,max
I L , LL
I L , HL
easy to do
affects the no-load
stand-by power
High line
affects light-load
efficiency
I peak ,max, LL
I L , LL
implemented at IC level
I L , HL
I peak ,max, HL
High line
t
109 Chris Basso APEC 2011
Vbulk
ROPP1
.
.
Vcc
.
rotated
Q1
DRV
ROPP 2
C1
.
Q1
DRV
ROPP1
CS
R1
CS
Rsense
C1
R1
Rsense
600 mV
off
PWM
reset
off
0 300-ns
blank
0
on
-200 mV
OPP
CS
1
ROPPU
Aux.
ROPPL
0.8 V
4
0.8 V
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
Small-Signal Analysis
Loop instability is a common issue in production
Due to time pressure, designers often use trial and
error
no indication on design margins
offenders are ignored, robustness is at stake
T (s)
G(s)
H(s)
T ( s )
10
100
1k
10k
100k
Analytical Analysis
You must first characterize the "plant" transfer function
what are your power stage ac characteristics?
Plant
Vref
G(s)
d(s)
vc(s)
H(s)
+
+
Compensator
Vout ( s )
H (s) =
vc ( s )
Current-mode
control
116 Chris Basso APEC 2011
Vout ( s )
H (s) =
d (s)
Voltage-mode
control
Vin ( s ) GVin ( s )
I out ( s ) Z out ( s )
Vout ( s )
fc = 6.5 kHz
0 - 0 dB
T ( s )
GM = 67 dB
-88
m = 92
-180
10
T ( s ) = 67 dB
100
1k
10k
100k
1Meg
Q=5
Q=1
1.40
10
7.5
Q = 0.707
Asymptotically stable
1.00
600m
200m
2.5
15.0u
0
25.0u
35.0u
76
Q = 0.5
Q = 0.1
5.00u
45.0u
25
50
75
100
10
20
270
270
G ( s )
50
100 200
500
1k
10
100
1k
10k
100k
10
boost
boost
G ( s ) = 270
1
G (s)
G (s)
G (s)
G ( s )
100
1k
10k
Type 1
Type 2
Type 3
Boost = 0
Boost up to 90
Boost up to 180
100k
Fixed-Frequency Current-Mode
First, check the operating mode, CCM or DCM?
Lp ,crit
Rload Vin
=
2 Fsw N 2 V + Vout
in
N
D=
Vout
Vout + NVin
2 Lp N 2
Vout
: =
M
L =
NVin
Rload Tsw
Rload
1
RsenseGFB N (1 D )2
+ 2M + 1
Fixed-Frequency Current-Mode
Compute the poles/zeros positions:
f z1 =
1
2 RESR Cout
f z2
(1 D )
=
Rload
2 DL p N 2
f p1 =
(1 D )
+1+ D
L
2 Rload Cout
Vin
Rsense
Lp
Se = ( M c 1) S n
Qp =
1 = no compensation
1
( M c (1 D ) 0.5 )
s
s
+
1
1
1
z1
z2
H ( s ) G0
s
s2
s
+ 2
1+
1 +
rd
n Q p n
3 order
p1
Mc = 1+
Se
Sn
n =
Tsw
Fixed-Frequency Current-Mode
Extract the magnitude and the argument definitions
H(f)
2
2
f
f
1+
1 +
f
f
z1
z2
= 20 log10 G0
1
+
f p
1
1
2
f 2 f
1
+
f n f n Q p
f
f
f
f
1
1
1
arg H ( f ) = tan 1 tan 1
tan
tan
2
fz
fz
fp
fQ
1
2
1
n p 1 f
fn
RHPZ
Fixed-Frequency Current-Mode
Extract the information at the selected crossover frequency
20
H (s)
100
10
dB
Sub-harmonic
oscillations
10
H ( s )
100
Damp poles
with Se
20
10
100
H ( 3kHz ) = 16.3dB
10
10
10
Hz
arg H ( 3 kHz ) = 23
Low line, high power
Fixed-Frequency Current-Mode
The compensation strategy is the following:
compensate the gain loss at fc so that:
G ( 3kHz ) = +16.3dB
evaluate the boost in phase at fc to get phase 70 margin:
boost
k = tan
+ 45 1
2
f pk 1 = kf c = 1 3k = 3 kHz
f c 3k
f zk 1 =
=
= 3 kHz
k
1
Fixed-Frequency Current-Mode
Plot the compensator transfer function
80
dB
180
G (s)
60
200
40
220
20
0
20
10
240
G ( s )
10 3
100
2
f
1+
f zk 1
G ( f ) = 20 log10 G
2
f
f
1+
f p
f pk 0
k1
260
10 4
10 5
Hz
f
f 180
boost = tan 1
tan 1
f
f zk
pk
1
Fixed-Frequency Current-Mode
Plot the loop gain transfer function G(s)H(s) and check the margins
100
T (s)
100
50
fc = 3 kHz
dB
200
T ( s )
360
50
10
100
10 3
m = 70
10 4
300
10 5
Hz
Fixed-Frequency Current-Mode
In case the converter transitions to DCM, update the equation!
20
H (s)
s
50
1 +
z1
H ( s ) = G0
s
0
1 +
p1
10
0
10
20
30
10
50
H ( s )
100
103
s
1
z2
s
1+
p
2
104
105
Variable-Frequency Current-Mode
Observing the waveforms helps us to derive an average model
Ia (t )
Ic (t )
I peak
I peak
Ic (t )
Tsw
Tsw
dTsw
Vc/(2*Ri)
p
128 Chris Basso APEC 2011
Sense
resistor
Vc Lp 1
N
Tsw =
+
Ri Vin Vout
2P R
d1 = out i
VcVin
I peak
2
Variable-Frequency Current-Mode
Linearization is needed to get a small-signal model
Implement this small-signal model in a flyback configuration
v(c,p).kcp
ic.kic
X5
XFMR
RATIO = N
v(a,c).kac
Vin
Vout
Resr
vc.kc
ic
Rload
Cout
Lp
http://cbasso.pagesperso-orange.fr/Spice.htm
Variable-Frequency Current-Mode
Derive the transfer function and isolate poles and zeros
s
s
1
+
1
vout ( s )
s
s
z1
z2
= G0
vc ( s )
s
1 +
1st order
s
p1
f p1 =
2 Rload Cout
1
f z1 =
2 RESR Cout
Rload Div
G0 =
2V
2 NRi out + 1
NVin
f z2 =
2M + 1
M +1
Rload
1
2 N 2 Lp M (1 + M )
H ( s )
15
dB
20
40
10
60
5
H (s)
0
1
10
100
80
3
10
10
100
5
10
Hz
vc
a
Vout=19
16
116mV
duty-cycle
DC
parameters
340V
Vin
340
AC = 0
-78.4V
D1A
mbr20200ctp
R1
20m
L1
2.2u
vint
19.0V
19.0V
19.6V
19.0V
20
R10
15m
0V
13
X9
PWMCM
L = Lp
Fs = Fs
Ri = Rsense
Se = Se
Lp=600u
Fs=70k
Rsense=0.5
Se=0
18
Ibridge=250u
Rlower=2.5/Ibridge
Rupper=(Vout-2.5)/Ibridge
X2x
XFMR
RATIO = -250m
PWM switch CM
470mV
6
27
C5
2m
B1
Voltage
fc=1k
pm=60
Gfc=-21
pfc=-88
Rload
20
19.0V
1
(V(err)-1.2)/3 > 1 ?
1 : (V(err)-1.2)/3
vout
R15
85m
19.0V
Lp
{Lp}
vout
C1
220u
Vdd
5
5.00V
9
G=10^(-Gfc/20)
boost=pm-(pfc)-90
pi=3.14159
K=tan((boost/2+45)*pi/180)
vout
vint
Rled
{RLED}
18.8V
R2
47k
Fzero=fc/k
Fpole=k*fc
2.50V
R3
47k
2.61V
Rpulldown=4.7k
RLED=CTR*Rpulldown/G
Czero=1/(2*pi*Fzero*Rupper)
Cpole=1/(2*pi*Fpole*Rpulldown)
LoL
1kH
2.39V
19
err
Rupper2
{Rupper}
Verr
X3
OP384X1
X7
Optocoupler
Cpole = 1/(6.28*pole*pullup)
CTR = CTR
2.39V
5
UC384X
gnd
2V5
17.6V
2.39V
CTR=0.9
Pole=15k
15
CoL
1kF
0V
Cpole2
{Cpole}
10
2.49V
11
14
Automate the
compensation!
131 Chris Basso APEC 2011
Czero1
{Czero}
X10
TL431_G
Vstim
AC = 1
R4
{Rpulldown}
Rlower2
{Rlower}
Cannot be
beaten for
simplicity
and speed!
H ( s )
180
20.0 90.0
0
H (s)
-20.0 -90.0
-40.0 -180
dB
T (s)
60.0 180
30.0 90.0
0
T ( s )
fc
-30.0 -90.0
-60.0 -180
Loop gain
10
100
1k
10k
100k
Course Agenda
The Flyback Converter
The Parasitic Elements
How These Parasitics Affect your Design?
Current-Mode is the Most Popular Scheme
Fixed or Variable Frequency?
More Power than Needed
The Frequency Response
Compensating With the TL431
Verr
Im the
law!
Verr
TL431
134 Chris Basso APEC 2011
optocoupler
TL431A
A
2.5V
R
A
K
Slow lane
Fast lane
Vout
Vout
R pullup
RLED
RLED
R1
I1
VFB
I bias =
I LED
Rbias
C2
Rbias
Vf 1 V
I1
C1
TL431
Rlower
Vmin = 2.5 V
dc representation
RLED must leave enough headroom over the TL431: upper limit!
136 Chris Basso APEC 2011
1V
Rbias
When the capacitor C1 is a short-circuit, RLED fixes the fast lane gain
Vout ( s )
Vdd
RLED
R1
I1
I1 =
R pullup
VFB ( s )
Ic
0V
in ac
Rlower
Vout ( s )
RLED
R pullup
VFB ( s )
= CTR
Vout ( s )
RLED
RLED ,max
5 1 2.5
20k 0.3
4.8 0.3 + 1m 0.3 20k
G0 > CTR
R pullup
RLED
> 0.3
20
> 7 or 17 dB
0.857
20.0
90.0
-17 dB
-20.0 -90.0
-40.0
Not ok
180
H (s)
f c > 500 Hz
Requires
less
than 17 dB
of gain
arg H ( s )
ok
-180
10
Requires
17 dB
or more
100
500
1k
10k
100k
Ibias = 1.3 mA
Easy
solution
Ibias
Rbias
Ibias = 300 A
Rbias
1
=
= 1 k
1m
Small-Signal Analysis
The TL431 is an open-collector op amp with a reference voltage
Neglecting the LED dynamic resistance, we have:
Vout ( s )
RLED
I1
R1
C1
I1 ( s ) =
Vout ( s ) Vop ( s )
1
sC1
1
Vop ( s ) = Vout ( s )
= Vout ( s )
Rupper
sRupper C1
I1 ( s )
1 1 + sRupper C1
=
We know that:
Vop ( s )
RLED
Rlower
VFB ( s )
Vout ( s )
RLED
sR
C
upper 1
R pullup
RLED
a zero z =
1
C1 Rupper
Rupper C1
R pullup
VFB ( s )
C2
VFB ( s )
R pullup CTR
1 + sRupper C1
=
Vout ( s )
RLED
sRupper C1 (1 + sR pullup C2 )
Rpullup
VFB(s)
FB
C2 = C || Copto
Copto
e
optocoupler
Ic
Rled
20k
O ( s )
Rpullup
20k
Rbias
VFB
Vdd
5
X1
SFH615A-4
Vbias
Vac
IF
O (s)
-3 dB
4k
1
2 R pullup f pole
1
2 nF
6.28 20k 4k
Another design
constraint!
R pullup CTR
1 + sRupper C1
=
Vout ( s )
RLED
sRupper C1 (1 + sR pullup C2 )
sRupper C1 = sR pullup C2
CTR
po =
C2 RLED
C1 =
R pullup
Rupper
substitute
C2
p =
o
1
Rupper RLED
R pullup CTR
CTR
C2 =
2 f po RLED
po
| G ( f c ) |=
f po
fc
f po = G fc f c
C2 =
CTR
2 G fc f c RLED
C1
Apply 15%
margin
RLED = 728
I bias = 1 mA
CTR min = 0.3
R pullup = 20 k
G fc = 10
5
20
= 1.77
f c = 5 kHz
C2 =
CTR
0.3
=
7.4 nF
2 G fc f c RLED 6.28 1.77 5k 728
Copto = 2 nF
C = 7.4n 2n = 5.4 nF
146 Chris Basso APEC 2011
C1 =
R pullup
Rupper
C2 14.7 nF
Vdd
{Vdd}
4.80V
6
Rpullup
{Rpullup}
Rupper=(Vout-2.5)/250u
fc=5k
Gfc=-5
VFB
RLED
{RLED}
3.97V
4
Rpullup=20k
Cpole
{Cpole}
RLED=Rmax*0.85
R2
{Rupper}
2
2.50V
R5
100m
10
C3
1k
R6
1k
C1
{C1}
2.96V
4.99V
err
4.99V
Fpo=G*fc
4.99V
7
2.50V
2.50V
G=10^(-Gfc/20)
pi=3.14159
L1
1k
4.99V
E1
-1k
0V
B1
Voltage
V(err)<0 ?
0 : V(err)
V2
2.5
V3
AC = 1
C1=Cpole1*Rpullup/Rupper
X2
Cpole1=CTR/(2*pi*Fpo*RLED)
Optocoupler
Cpole=Cpole1-Copto
Cpole = Copto
CTR = CTR
Fopto=4k
Copto=1/(2*pi*Fopto*Rpullup)
CTR = 0.3
X1
TL431_G
R3
10k
Automatic bias
point selection
G (s)
10.0
5 dB
0
-10.0
-20.0
270
180
arg G ( s )
90.0
0
-90.0
100
200
500
1k
2k
5k
10k
20k
50k
100k
RLED
R1
VFB
z =
1
Rbias
C2
G0 = CTR
C1
p =
1
TL431
Rlower
R pullup
RLED
1
R1C1
1
R pullup C2
f z = fc
G0 = CTR
R pullup
RLED
= 1015 20 = 5.62
C1 = 1 2 f z R1 = 2.3 nF
R pullup CTR
G0
= 1.06 k
ok
Already above!
1
1
=
= 3.8 kHz
2 R pullup C 6.28 20k 2.1n
For a 50phase boost and a 3.8-kHz pole, the crosso ver must be:
fc =
fp
tan ( boost ) + tan ( boost ) + 1
1.4 kHz
C1 = 1 2 f z R1 = 8.1 nF
R pullup
RLED
> 0.3
20
> 1.2 or 1.8 dB
4.85
G (s)
20.0
10.0
0
14 dB @ 1.4 kHz
-10.0
140
arg G ( s )
130
120
50
110
100
10
100
1k
10k
100k
X2
XFMR
RATIO = -250m
Vout
Iout = 2.4 A
52.5V
-210V
8.74V
7
vc
154mV
X1
PWMBCMVM
L=L
GAIN
Ip
3.09V
V1
{Vrms*1.414}
Fsw (kHz)
Fsw
Ip
68.4V
Dc
1 V = 1 s
19
duty-cycle
598mV
R1
100m
0V
R2
50m
X5
K = Gpwm
GAIN
D4
1N965
52.5V
R7
65k
26.9V
9
4
11
1.57V
22
L1
{L}
C5
0.1uF
C1
2.2mF
B1
Voltage
V(errac)-0.6
Rsense
1.24V
0.5
Vsense
23
parameters
Vdd
15.1V
{Vdd}
Vrms=100
L=400u
1.25 V
1.24V
ILED
14
R5
{RLED}
5.00V
On-time
selection
VFB
errac
LoL
1k
2.17V
CoL
1k
20
AC = 1
V3
12.2V
17
16
X4
Optocoupler
Cpole = Copto
CTR = CTR
C2
{C2}
Ac out
R6
{Rpullup}
2.17V
29
0V
ac in
2.17V
10
R4
{Rupper}
18
Ct=1.5n
Icharge=270u
Gpwm=(Ct/Icharge)*1Meg
50 V
2 A string
11.1V
13
1.24V
15
X3
TLV431
R9
{R2}
C4
{C1}
28
1.24V
Average simulation
H (s)
-2.5 dB
20 Hz
0
-4.00
-8.00
80.0
40.0
arg H ( s )
-11
0
-40.0
-80.0
1
10
20
50
100
200
500
1k
20.0
Block the
fast lane
10.0
fc = 19 Hz
13
0.5
15 V
-10.0
3
-20.0
5V
10
6.1 k
11
ton
generation
T (s)
10 k
20 k
180
90.0
m = 90
586 nF 13.6 k
395 nF
-90.0
12
G (s)
156 Chris Basso APEC 2011
-180
1
argT ( s )
2
10
20
50 100 200
500 1k
2.2 A
2.00
I LED ( t )
0
-2.00
VFB ( t )
5.00
4.60
4.20
3.80
3.40
4.00
2.00
0
I in ( t )
-2.00
-4.00
20.0m
60.0m
100m
140m
180m
DC
vc
a
duty-cycle
389mV
90.0V
X2x
XFMR
RATIO = -166m
3
PWM switch CM
839mV
-76.1V
Vin
90
AC = 0
D1A
mbr20200ctp
12.0V
vout
12.6V
R10
20m
0V
X9
PWMCM
L = Lp
Fs = 65k
Ri = 0.7
Se = Se
13
L1
{Lp}
8
V(errP)/3 > 1 ?
1 : V(errP)/3
B1
Voltage
Coming from FB
vout
12.0V
1
C5
3mF
Rload
7.2
dB
40.0
180
20.0
90.0
Phase at 1 kHz
-70
0
-20.0 -90.0
-40.0
arg H ( s )
-180
10
Magnitude at 1 kHz
-23 dB
100
1k
10k
100k
38 k
2 k
20 k
k factor
gave
C = 3.8 nF
FB
10 nF
2.5 nF
install
VFB(s)
10 k
Copto = 1.3nF
dB
180
80.0
90.0
40.0
T (s)
argT ( s )
m = 60
0
-90.0 -40.0
Crossover
1 kHz
-180 -80.0
10
100
1k
10k
100k
12.04
Vout(t)
High
line
12.00
11.96
11.92
100
mV
Low
line
11.88
200 mA to 2 A in 1 A/s
3.00m
9.00m
15.0m
21.0m
27.0m
Conclusion
The flyback converter hides several parasitic elements
Understanding where they hide and how they move is key!
Despite CM presence, QR designs gain in popularity
CM fixed-frequency is a 3rd-order type whereas QR is 1st order
TL431 lends itself well for compensation, watch the optocoupler!
SPICE eases and speed-up the design
Always check theoretical assumptions with bench measurement
Merci !
Thank you!
Xi-xie!