You are on page 1of 41

Design of DC-DC Converters

Frank Xi
fxi@monolithicpower.com

Monolithic Power Systems Inc.


IEEE SSCS Dallas Chapter, October 2007

Design of DC-DC Converters

DC-DC Converter Basics

Topology and Operation of DCDC Converters


Control Scheme for DCDC

DC-DC Converter Design Techniques

System Level Modeling and Design


Building Block Design Considerations

11/1/2007

IEEE SSCS - Oct. 2007

DC-DC Converter Basics

DC-DC Converter is a Voltage Regulator

Use Switches, Inductor and Capacitor for


Power Conversion
Switched Mode Operation

Why DC-DC Converters?

High Efficiency
Can Step-Down, Step-up, or Both, or Invert
Can Achieve Higher Output Power

11/1/2007

IEEE SSCS - Oct. 2007

DC-DC Converter Basics

Why not DC-DC Converters?

Complex Control Loop


Higher Noise and Output Ripple
More External Components

Basic DC-DC Converter Topologies

Majority of DC-DC uses PWM Control


Operated in CCM Mode

11/1/2007

IEEE SSCS - Oct. 2007

DC-DC Converter Basics

Step-down (Buck)
VIN
IIN

VSW
S

IO

VOUT

IL

ID

VSW

IC

Basic Relationships

VOUT
IL

TON

TON
VIN = D VIN
T
= D I OUT

VOUT =

IO
IIN

CCM Mode
IL always supplies load
IC small, independent of
load
I IN

ID

Continuous Conduction Mode (CCM)


IL

DCM Mode
2

VOUT

IO
Discontinuous Conduction Mode (DCM)

11/1/2007

TON
V
=
2 I O L T IN
2
TON +
VIN

IEEE SSCS - Oct. 2007

DC-DC Converter Basics

Step-up (Boost)
L

VIN

VSW

IO

VOUT

IL

IC
S

Basic Relationships

VSW
T

VOUT

TON

IL

TOFF

CCM Mode
IL only supplies load during
TOFF period
IC large and load dependent
VOUT =

T
TOFF

I IN = I L =

IC

-IO
Continuous Conduction Mode (CCM)

VIN =

1
VIN
1 D

1
I OUT
1 D

DCM Mode

IL

2IO L T
VIN
VIN
2
TON

TON +
2

IC

VOUT =

-IO
Discontinuous Conduction Mode (DCM)

11/1/2007

IEEE SSCS - Oct. 2007

Common Control Architectures

Modulation Scheme

PFM (Pulse-Frequency-Modulation)

Pulse Skipping, Hysteretic, Constant-on etc.


High Efficiency at Light Load
Inherently Higher Output Ripple
Unmanaged Spectrum Noise

PWM (Pulse-Width-Modulation)

11/1/2007

Fixed Frequency with Variable Duty Cycle


Better Transient Response (except Hysteretic?)
Most Widely Used
IEEE SSCS - Oct. 2007

Common Control Architectures

Control Method (for PWM)

Voltage Mode

11/1/2007

Regulates Output Voltage by Adjusting Duty Cycle


Constant Ramp for Modulation, Better Noise
Immunity
LC Filter Contributes to Complex Conjugate Poles
Loop Has No Information on Inductor Current
Slower Response to Input Voltage Change
Bandwidth Varies with Input Voltage
Current Limit Done Separately
IEEE SSCS - Oct. 2007

Common Control Architectures

Current Mode

11/1/2007

PCM (Peak-Current-Mode) Most Commonly Used


Regulates Inductor Current to Satisfy Load
Demand and Maintain Output Voltage
Fast Current Loop makes Inductor to be a VCCS,
eliminates Complex Conjugate Poles
Easy Built-in Cycle-to-Cycle Current Limit
Naturally Suitable for Multi-Phase Operation
Current Sense Susceptible to Noise
Need Slope Compensation for >50% Duty Cycle
Operation
IEEE SSCS - Oct. 2007

DC-DC Converter Design

Examples of Common DC-DC Converters

VIN

Voltage Mode Buck

S1

VSW

VOUT
R1

RESR

CLK

RL
S2

VRAMP

R2

VEA

VSW
VOUT
D

QB R

11/1/2007

CLK
RST

VRAMP
VEA

IL

IOUT

VFB
EA

VREF

IEEE SSCS - Oct. 2007

10

Voltage Mode Buck


Voltage Mode Buck Transfer Functions:
vO
(1 + sCRESR )
(1 + sCRESR )
VIN
= VIN
2
L
s
s
d
2
s LC + s ( + CRESR ) + 1
+
1+
RL
Q0 0 2

0 =

1
,Q =
LC
1
RL

1
L
C
+ RESR
L
C

and
d
1
= a( s)
vFB VR
where a ( s ) is the transfer function of the error amplifier

11/1/2007

IEEE SSCS - Oct. 2007

11

Voltage Mode Buck


Control (Duty Cycle) to Output Transfer Function:
Example:
L=2.2uH, C=22uF,
RESR=10m Ohm
VIN=5V, VOUT=3.3V
RL=10 Ohm
FSW=1.5MHz
VRAMP=100mV
0 = 22.9kHz
Q = ~15.8
Z = 700kHz

11/1/2007

IEEE SSCS - Oct. 2007

12

Voltage Mode Buck - Error Amp Ex. 1


Use low DC gain to set the bandwidth so that the
phase margin is acceptable:
R1

R2
VEA

VFB

Bandwidth: ~400kHz
Phase margin: ~35
Conditionally stable

EA
VREF

VEA = VREF +
vEA =
LG =

R2
(VREF VFB )
R1

R2
vFB
R1
R2 VIN (1 + sCRESR )

s
s2
R1 VR
1+
+ 2
Q0 0

Closed loop step response

Example: R2=500k, R1=100k, VR=100mV


11/1/2007

IEEE SSCS - Oct. 2007

13

Voltage Mode Buck - Error Amp Ex. 1


Some Improvements Can Be Added:

Make VRAMP proportional to VIN -> Constant


Bandwidth
Add Feed-forward Cap on Feedback Resistor String
-> better phase margin

Limitations of Low DC Gain:

11/1/2007

Loose Output Regulation


Need some ESR to Stabilize the Loop
Small Modulation Ramp Sensitive to Noise
DC Offset if Output Cap has large ESR

IEEE SSCS - Oct. 2007

14

Voltage Mode Buck - Error Amp Ex. 2


Use Type-III Compensation Network to Re-Shape
Loop Frequency Response:

Example Design Steps:


C
C
R
1. Set R1C2=100uS for desired
BW of ~300kHz
V
C
R
R
2. Set 1st zero to be 1/5 of 0:
R1=1Meg, C1=30pF,
z1=5.3kHz
EA
V
V
3. Set 2nd zero to be 4x of
0: C2=10pF, R3=200k,
(1 + sC R )[1 + s ( R + R )C ]
v
A
z2=79.5kHz
[1 + sR (1 + A )(C + C )](1 + sR C )(1 + sR C || C )
v
4. mid-band DC gain of 5:
(1 + sC R )(1 + sR C )
V (1 + sCR )

LG A
s
s
[1 + sR A C ](1 + sR C )(1 + sR C ) V
+
1+
R3=200k

5. Set 2nd and 3rd pole to near


1
V

UGBW R C
V LC
switching frequency for
High DC gain rolls off by dominant pole and,
high frequency noise
st
phase shift recovered by 1 zero before 0
attenuation:
nd
2 zero brings back phase shift above 0
C3=0.2pF, p2=795kHz;
2nd and 3rd pole attenuates high frequency noise
R2=10k, p3=1.5MHz
3

FB

EA

REF

1 1

EA

FB

1 1

IN

ESR

IN

11/1/2007

IEEE SSCS - Oct. 2007

15

Voltage Mode Buck - Error Amp Ex. 2

Modulation ramp VRAMP increased to

500mV for better noise immunity


Blue: control to output transfer function
Green: Type-III compensation error
Amp transfer function
Red: Complete loop transfer function
bandwidth: ~340kHz, PM: ~65 degree
11/1/2007

Compare to Error Amp Ex. 1:


Step response has less overshoot
due to better phase margin
Settling is much slower due to 1st
zero at low frequency

IEEE SSCS - Oct. 2007

16

DC-DC Converter Design

VIN

Current Mode Buck (Peak Current Control)


S1

VSW

VOUT
R1

RESR

CLK

RL
S2

R2

VRAMP

VEA

RST
RSEN

VSW
VOUT

Slope
Comp
D

QB R

IL

CLK
RST

VRAMP
VEA

IOUT

VFB
EA
VREF

11/1/2007

IEEE SSCS - Oct. 2007

17

Current Mode Buck


Inductor Current Instability for Duty Cycle > 50%:
m
m
ie [n + 1] = ie [n] ( 2 ) = ie [0] 2
m1
m1

1. D=1/3: m2/m1=1/2
ie[n]

m1

m2
ie[n+1]

m2

m1
ie[n+1]

3. D=2/3 with slope compensation


ma

m2
< 1 : ie attenuates over cycles
m1
m2
> 1 : ie grows over cycles
m1

2. D=2/3: m2/m1=2
ie[n]

Requires Slope Compensation:


ie [n + 1] = ie [n] (

ie[n]

11/1/2007

m2 ma
)
m1 + ma

ma is chosen so that
ie[n+1]

m2 ma
<1
m1 + ma

m2
, guaranteed stable
2
ma = m2 , 1 cycle correction

ex : ma =

IEEE SSCS - Oct. 2007

18

Current Mode Buck


Fast current loop regulates inductor peak current, can
be modeled as a VCCS with output impedance Rx
Slower voltage loop provides reference for current loop
Gm =

RX
VIN

Gm

IO

VOUT
R1

RESR
RL

io
1
1
1
1
=
=
R
T
m
vEA RSEN 1 + L S [(1 + a )(1 D ) 0.5] RSEN 1 + RL
L
m1
RX

where RX =

Switched Operation results in delay and sampling effect :


H e (s) =

R2

VEA

1 + 1 e sTS
1 + e sTS sTS

Gm ( s )

EA
VREF

Q=

m2 ma
m1 + ma

RSEN
1
RSEN

1
1 + 1 e sTS
sTS
RT
m
sTS
1 + L S [(1 + a )(1 D ) 0.5] 1 + e
L
m1
1
1
RL
s
s2
1+
+ 2
1+
RX
QS S
1

(1 + ma )(1 D) 0.5
m1

11/1/2007

where =

Complete VCCS transconductance including frequency response :


Gm ( s ) =

VFB

L
ma
TS [(1 +
)(1 D) 0.5]
m1

IEEE SSCS - Oct. 2007

1 2 D(1 ma )
m2

19

Current Mode Buck


Peak Current Mode Current Loop Transfer Function
Example:
L=2.2uH, VIN=5V,
VOUT=3.3V, RL=10 Ohm
RSEN = 0.5 Ohm
FSW = 1.5MHz
Blue: ma=0.5*m2
RX=19.4 Ohm
Gm=1.32 A/V
Q=1.87
Green: ma=m2
RX=6.6 Ohm
Gm=0.80 A/V
Q=0.64

11/1/2007

IEEE SSCS - Oct. 2007

20

Current Mode Buck


Control to Output Transfer Function
Equivalently Single-Pole System with Current Source Input
vo
R
1
1
1 + sCRESR
= Gm Z O = L
vEA
RSEN 1 + RL 1 + s + ( s ) 2 [1 + sC ( RL || RX )]
RX
Q S
S

Example:
C=22uF, RESR=10m Ohm
RSEN = 0.5 Ohm
FSW = 1.5MHz
RX=19.4 Ohm
RL=10k, 1k, 100, 10, 1 Ohm

11/1/2007

IEEE SSCS - Oct. 2007

RL=10k, 1k, 100, 10, 1 Ohm

21

Current Mode Buck Error Amp


Error Amplifier Example:
C1

a( s) =
CC

RZ

vEA
1 + sCC RZ
A0
vFB
[1 + sCC (ro + g m R1ro + RZ )](1 + sC1RZ )

(CC >> C1 )
where : g m is the transconductance of the error amp
ro is the output impedance

R1
VFB

ie

EA

VEA

VREF

Bandwidth defined by R1 and C1


Much smaller CC, need large RZ
VFB more error during transient
Example:
gm=100uS, ro=10MOhm,
R1=100kOhm, CC=25pF,
RZ=1.5MOhm, C1=0.3pF
11/1/2007

IEEE SSCS - Oct. 2007

22

Current Mode Buck Error Amp


Complete Loop Transfer Function of Current Mode Buck:
LG =

RL
1
1
1 + sCRESR
1 + sCC RZ

A0
RSEN 1 + RL 1 + s + ( s ) 2 [1 + sC ( RL || RX )]
[1 + sCC (ro + g m ro R1 + RZ )](1 + sC1RZ )
RX
QS
S

1st zero of error amp placed


near output filter pole
ESR zero and 2nd pole of
error amp are placed out of
loop bandwidth
BW obtained by setting | LG |= 1 :
| LG ( sBW ) |
BW =

11/1/2007

IEEE SSCS - Oct. 2007

1
RSEN

RZ
=1
sBW C R1
1

1 RZ 1
2 R1 RSEN C
23

DC-DC Converter Design

Voltage Mode Boost

VIN

S2

VSW

VOUT
CLK
R1

RESR
D
D

S1

VRAMP
RL

VEA
R2

VSW
VIN

IL
D

QB R

11/1/2007

IOUT

CLK
RST

VRAMP
VEA

VFB
EA

IEEE SSCS - Oct. 2007

VREF

24

Voltage Mode Boost


Voltage Mode Boost Transfer Functions:
vO
VIN

d (1 D) 2 s 2
(1 D)
,
0 =
LC

(1 + sCRESR )(1 s

L
)
2
RL (1 D)

LC
L
s
(
+
+ CRESR ) + 1
(1 D) 2
RL (1 D) 2

RHP

RL (1 D) 2
,
=
L

Q=

VIN
(1 D) 2

(1 +

)(1

RHP

s
s2
1+
+
Q0 0 2

1
1
(1 D) RL

L
C
+ (1 D) RESR
C
L

and
d
1
= a(s)
vFB VR
where a ( s ) is the transfer function of the error amplifier

11/1/2007

IEEE SSCS - Oct. 2007

25

Voltage Mode Boost - Effective Inductance


Perturbation from Output to Inductor Current:
diL
(1 D)vo
= VIN (1 D)VO iL =
dt
sL
and
L

I O = I L (1 D) io = iL (1 D)

Impedance looking into the Inductor from Output:


ZO =

vo
sL
=
io (1 D) 2

Thus the Effective Inductance

Leff =

L
(1 D) 2

This makes the 0 of the LC Filter to Move with D


11/1/2007

IEEE SSCS - Oct. 2007

26

Voltage Mode Boost - RHP Zero


Perturbation from Duty Cycle to Output Current:
I O = I L (1 D ) io = iL (1 D ) d I L = iL (1 D ) d
L

IO
1 D

d VO
diL
= DVIN + (1 D)(VIN VO ) iL
dt
sL

Right-Half-Plan Zero forms at frequency where:


|

I
d VO
(1 D) |=| d O |
1 D
j RHP L

RHP

RL (1 D) 2
=
L

Right-Half-Plan Zero exists for both Voltage Mode


and Current Mode Boost
11/1/2007

IEEE SSCS - Oct. 2007

27

Voltage Mode Boost


Control (Duty Cycle) to Output Transfer Function:
Example:
L=2.2uH, C=10uF,
RESR=10m Ohm,
VIN=2.5V,
VOUT=5V, 10V, 15V,
IOUT=100mA
FSW=1.5MHz
0 and RHP moves
lower with increased
duty cycle

11/1/2007

IEEE SSCS - Oct. 2007

28

Voltage Mode Boost Type-III Error Amp


Usually Type-III Compensation Network is Required:
C3

C2

R2
VFB
R3

C1

R1

EA

VEA

VREF

vEA
(1 + sC1R1 )[1 + s ( R3 + R2 )C2 ]
A0
vFB
[1 + sR3 (1 + A0 )(C1 + C3 )](1 + sR2C2 )(1 + sR1C3 || C1 )
LG A0

(1 + sC1R1 )(1 + sR3C2 )


VIN

[1 + sR3 A0C1 ](1 + sR2C2 )(1 + sR1C3 ) VR (1 D ) 2

Set BW to be lower than Z and RHP :


BW : R1 C2

11/1/2007

VIN
1
1
= 1 BW =
VR sBW LC
2

R1 C2
LC

VIN
VR

(1 +

1+

)(1

RHP

s
s2
+ 2
Q0 0

Example Design Steps:


1. Estimate worst case
RHP=300kHz
2. Set BW<100k:
R1C2<2.75s
3. Set both zeros near 0:
R1=100k, C1=100pF,
R3=300k, C2=20pF,
z1=16.0kHz, z2=26.5kHz
4. Bandwidth: fBW= 80kHz
5. Mid-band DC gain of 1/3
6. Set 2nd and 3rd pole to
beyond RHP :
R2=10k, C3=3pF
p2=530kHz, p3=790kHz

IEEE SSCS - Oct. 2007

29

Voltage Mode Boost Type-III Error Amp

Adjust C1 to move 1st zero


Adjust R3 to move 2nd zero and
mid-band gain
2nd pole and 3rd poles suppress
high frequency noise
11/1/2007

Phase shift exceeds 180 at


0 -> conditionally stable
Move 1st zero lower to
improve phase shift -> much
larger C1

IEEE SSCS - Oct. 2007

30

DC-DC Converter Design

VIN

Current Mode Boost


L

VSW

S2

VOUT
CLK

R1

RESR
D

RL

VRAMP

S1

VEA

R2

RST
VSW

VIN

RSEN
Slope
Comp
D

QB R

IL

CLK
RST

VRAMP
VEA

VFB

IOUT

EA
VREF

11/1/2007

IEEE SSCS - Oct. 2007

31

Current Mode Boost


Transfer Function of the Current Loop:
Gm =
RX
VIN

Gm

IO

VOUT
R1

RESR
RL

R2

io 1 D
1
=
vEA RSEN 1 + RL
2 RX

where RX =

Similar to Peak Current Mode Buck


Delay and sampling effect results in a 2 - pole system :
Gm ( s )

VEA

VFB
EA
VREF

L
1
2L
(
||
)
2
(1 D) T [(1 + ma )(1 D) 0.5] DTS
S
m1

S =
Q=

1 D
1
1
s
s2
RSEN 1 + RL
1+
+
2 RX
QS S 2

TS
2

(1 + ma )(1 D) 0.5
m1

11/1/2007

IEEE SSCS - Oct. 2007

1 2 D(1 ma )
m2

32

Current Mode Boost


Control to Output Transfer Function:
vo
(1 D) RL
1
1
= Gm ( s) Z O =

vEA
2 RSEN 1 + RL 1 + s + ( s ) 2
S
QS
2 RX

RHP

(1 + sCRESR )(1
[1 + sC (

ZRHP

RL
|| RX )]
2

RL (1 D) 2
=
L

Example:
VIN=2.5V
VOUT= 5V, 10V, 15V, 20V
L=2.2uH, C=10uF
RESR=10m Ohm
IOUT = 100mA
RSEN = 0.5 Ohm
FSW = 1.5MHz

11/1/2007

IEEE SSCS - Oct. 2007

33

Current Mode Boost Error Amp Ex.


Use the same error amp structure
as on page 22:
The Complete Loop Transfer
Function:
(1 D) RL
1
1
T (s) =

2 RSEN 1 + RL 1 + s + ( s ) 2
2 RX
QS
S

(1 + sCRESR )(1 s
[1 + sC (

ZRHP

RL
|| RX )]
2

C1

CC

RZ

R1
VFB
EA

VEA

VREF

)
A0

1 + sCC RZ
[1 + sCC (ro + g m ro R1 + RZ )](1 + sC1RZ )

Generally Guideline:
To ensure loop stability, the unity-gain bandwidth is set to be
3-5x lower than the worst case RHP zero
The ESR zero and 2nd pole of the amplifier is placed higher than
the RHP zero
The current loop poles are usually much higher than RHP zero
11/1/2007

IEEE SSCS - Oct. 2007

34

Current Mode Boost Error Amp Ex.


Loop Bandwidth can be estimated as:
BW =

1 (1 D) RZ RHP

2 RSEN C R1
3

Since RHP

(RHP zero contributes < 18o phase shift)


2

V
V
RL (1 D) = RL ( IN ) 2 = IN , BW (1 D)
VO
VO I O
2

Bandwidth should be set at max. duty cycle and load


Example:
VIN=2.5V, VOUT=5V, IO=500mA
L=2.2uH, C=10uF,
RSEN=0.5 Ohm, RZ=1M Ohm,
ZRHP=181kHz, BW chosen to be ~60kHz
Calculate: R1:~300k Ohm
11/1/2007

IEEE SSCS - Oct. 2007

35

Current Mode Boost


Complete Loop Transfer Function of Current Mode
Boost Converter:
Error Amplifier Example:
R1=250k, RZ=1M
CC=25pF, C1=0.3pF
Output Current:
1mA, 10mA, 100mA, 500mA
Loop BW: ~60kHz

11/1/2007

IEEE SSCS - Oct. 2007

36

DC-DC Converter Building Blocks

PWM Comparator

Multi-Stage Gain -> Faster For Small Input Signal


But, High-Gain Stage Has Longer Recovery Time
So, Usually Low-Gain Amp(s) Followed by High-Gain
Comparator

11/1/2007

IEEE SSCS - Oct. 2007

37

Building Blocks PWM Comparator


OTA based comparator with pre-amps

INP

INN
COMP

11/1/2007

IEEE SSCS - Oct. 2007

OUT

38

Building Blocks Error Amplifiers

Error Amplifiers

Folded-Cascode Error Amplifier

OUT

INN

Good:
Input Common Mode Down
to Ground
Smaller Input Offset than
OTA

INP
BIAS

11/1/2007

But:
Difficult to get large Gm

IEEE SSCS - Oct. 2007

39

Building Blocks Error Amplifiers

Constant Gm Error Amplifier

I1

I1
R
OUT

INN

INP

I2

11/1/2007

I2

Good:
Constant Gm Defined by R
Scalable Gm by Current
Mirrors
But:
Higher Input Offset due to
Even More Current Mirrors
Additional Gm Regulation
Loop

IEEE SSCS - Oct. 2007

40

DC-DC Converter Design


Acknowledgement:
Jian Zhou etc. for Review and Suggestions

Thank You For Your Attendance

11/1/2007

IEEE SSCS - Oct. 2007

41

You might also like