Digital Control Technologies for Switching Power...

64
Digital Control Technologies for Switching Power Converters April 3, 2012 Dr. Yan-Fei Liu, Professor Department of Electrical and Computer Engineering Queen’s University, Kingston, ON, Canada [email protected] www.QueensPowerGroup.com

Transcript of Digital Control Technologies for Switching Power...

Digital Control Technologies for Switching Power Converters

April 3, 2012 Dr. Yan-Fei Liu, Professor

Department of Electrical and Computer Engineering Queen’s University, Kingston, ON, Canada

[email protected] www.QueensPowerGroup.com

2

Outlines

1. Introduction 2. Steady State Performance Improvement 3. Auto Tuning with Digital Control 4. Dynamic Performance Improvement 5. Conclusion

Presenter
Presentation Notes
Dec 29, 2010: Introduction will cover the DPWM and Dynamic analysis Steady state, July 15, 2010: up to now, the knowledge just shows that digital control can achieve same performance as analog control. We still cannot justify why we should use digital control.

Advantages of Digital Control

• Intelligence • Better system level performance • Better steady state performance • Better dynamic performance

3

4

Challenges of Digital Control

• Output voltage resolution – Output voltage not continuously adjusted – Resolution of digital PWM generator not enough for

high switching frequency • Dynamic analysis of digital controller

– Digital design method is not suitable for power supply

• New control methods for digital control – To achieve better dynamic performance – NOT the digital implementation of analog method

Presenter
Presentation Notes

5

Brief History of Digital Control

• Output voltage resolution – Catch even with analog control – No customer value

• New control technologies – Better performance – Customer value

• Smaller board area – PID implemented digitally – No need for Rs, Cs

Presenter
Presentation Notes

6

Evolution of Power Supply

Isolated converter Board Mount PS

Presenter
Presentation Notes

7

Evolution of Power Supply

Point of Load (POL) Power Supply on Chip (PwrSoC)

No space for feedback R, C Digital control a must!

Presenter
Presentation Notes

8

Digital PWM

DC-DC Converter

Digital PWM

Digital Compensator

Vin Vo

Vo Iind

Vcon

D

Block diagram of a DC-DC converter with digital control

Presenter
Presentation Notes

9

Block Diagram of Digital Controlled Buck

Limit Cycle Oscillation: Should be avoided

LSB

ΔTon

ΔVo (ΔTon ) < LSB(ADC)

Presenter
Presentation Notes

10

Basic Block Diagram of DPWM

Ton Counter PWM out

MSB bits

AND R

System Clock, 50M

Ts Counter

Coarse adjust

S

Digital Duty Cycle Bits

Delay Line

LSB bits Fine

adjust

Enable

MSB bits: coarse adjustment, based on system clock LSB bits: fine adjustment: based on gate delay

Presenter
Presentation Notes

11

Fine DPWM: ASIC Tapped Delay Line

Use the input-output time delay of logic gate Increase the resolution of on time, or duty resolution

enable

LSB bits

Presenter
Presentation Notes

12

Fine DPWM: FPGA Implementation

Shift Register

2 BitAdder 7

3 LSB Duty Cycle Input

(0 1 1)

Enable

2 BitAdder 6

2 BitAdder 5

2 BitAdder 4

2 BitAdder 0

2 BitAdder 3

2 BitAdder 2

2 BitAdder 1

0

0

0

0

1

0

0

0

Enable Signal

Output

Delayτ

1

1

1

1

1

1

1

1

C7=0

A7=1

A6=1

A5=1

A4=1

A3=0

A2=0

A1=0

A0=0

C6=0

C5=0

C4=0

C3=1

C2=1

C1=1

bit 0

bit 1

bit 2

bit 3

bit 4

bit 5

bit 6

bit 7

0

0

0

0

0

0

0

1

Presenter
Presentation Notes
March 3, 2011: gate delay inside FPGA is around 300ps. The delay in adder’s carry bit is much smaller, about 70 – 80ps measured. Dec 30, 2010: need to explain the details For details, see my ECCE 2010 paper to be published in Sep 2010.

13

Digital Pulse Width Modulator

• Bottom Line: – Achieve fine enough on time (Ton) resolution – Accurate control of output voltage

• Impact − Catch even with analog control

Presenter
Presentation Notes

14

Introduction

• Value of Digital Control – Intelligence – Complicated calculation capability

• Mission − Explore the digital capability − Achieve better performance − Steady state, dynamic and system level

Presenter
Presentation Notes
Dec 30, 2010: this conclusion slide should be re-done.

15

Seminar Outlines

1. Introduction 2. Steady State Performance Improvement 3. Auto Tuning with Digital Control 4. Dynamic Performance Improvement 5. Conclusion

Presenter
Presentation Notes
Dec 29, 2010: Introduction will cover the DPWM and Dynamic analysis Steady state, July 15, 2010: up to now, the knowledge just shows that digital control can achieve same performance as analog control. We still cannot justify why we should use digital control.

16

2. Steady State Performance Improvement

• Light Load Efficiency Improvement – Phase shedding control – Logarithmic Current Sharing

• Heavy Load Efficiency Improvement – Automatic dead time adjustment

Presenter
Presentation Notes

17

Phase Shedding Control

• Reduce the activated phase number to improve efficiency

• Problems to be solved: – Current balance during load transient – Current sensing

Presenter
Presentation Notes

18

Light Load Efficiency Optimization

• Two Buck converters for 60A load current

65%

70%

75%

80%

85%

90%

95%

0 5 10 15 20 25 30

Eff

65%

70%

75%

80%

85%

90%

95%

0 10 20 30 40 50 60

Eff

Eff curve for one Buck converter Eff curve for two Buck converters

Presenter
Presentation Notes

19

Light Load Efficiency Optimization

• Efficiency curve for two Buck converters in parallel: – Io < 25A, one Buck operating, Io > 25A, two Buck converters operating

65%

70%

75%

80%

85%

90%

95%

0 10 20 30 40 50 60

Eff

Eff (shedding)

2 Buck in parallel 1 Buck operation

Presenter
Presentation Notes

20

2. Steady State Performance Improvement

• Light Load Efficiency Improvement – Phase shedding control – Logarithmic Current Sharing

• Heavy Load Efficiency Improvement – Automatic dead time adjustment

Presenter
Presentation Notes
March 4, 2011: Intelligence is the key word for digital control. The innovation will be focused on what we want it to do. As long as we can come up what we want it to do, we will always be able to achieve it, one way or another.

Block Diagram

21

Current command No current

ADC Tight current

regulation

Phase enabler

4A

2A

1A

0 – 1 A

Presenter
Presentation Notes
March 4, 2011: Each Buck phase is designed for different current level and therefore, optimized for that current level. Lower switching frequency for high current Buck and higher frequency for low current Buck. If the load current is around 50%, the bottom Buck will operate. At full load, all the four Buck converters will operate. If load current is 10% of full load, only the top Buck converter will operate. Therefore, the efficiency will be flat over full load range. In addition, the top Buck converter is used for tight current regulation. I will need to address the key points and the problems to be solved.

22

Heavy Load Efficiency Optimization

• Buck converter – Dead time between Vgs1 and Vgs2 – Too long: body diode of Q2 conducts – Too short: shoot through between Q1 and Q2

Q1

Q2

Lo

Co

ESRDriver ic vo

+

-

iL

Io

Vin

A/D Converter

Digital Control Law S

Vref[n]

+

Digital PWM

RLoadA/D

Converter

-e[n] vo[n]iL[n]

d[n]......

vgs1

vgs2

td,on td,ontd,off td,off

Presenter
Presentation Notes
March 4, 2011: the optimal dead time between control FET and Sync FET is different load condition. The dead time setting by analog controller is always larger than needed and therefore, more loss is introduced.

23

Heavy Load Efficiency Optimization

• How to determine optimal dead time – Highest efficiency = optimal dead time – Minimum input current = highest efficiency, Iin = D * Io – Minimum duty cycle = highest efficiency

Presenter
Presentation Notes

24

Dead Time Optimization in SR Buck

• Strategy – Changing the dead time

and monitor the duty cycle

– Search algorithm to minimize the duty cycle with respect to Td,on, Td,off

Presenter
Presentation Notes

Implementation Block Diagram

25

26

Outlines

1. Introduction 2. Steady State Performance Improvement 3. Auto Tuning with Digital Control 4. Dynamic Performance Improvement 5. Conclusion

Presenter
Presentation Notes
March 4, 2011: Now we can discuss the benefits the digital control can bring. In these two areas, the digital control can bring much more benefits.

27

3. Auto Tuning with Digital Control

• Auto Tuning – Change certain parameters in order to improve certain

performance – Unique to digital control, intelligence

• What can be achieved? – Power train circuit estimation – Compensating parameter design – Plug and play, no feedback design needed – Better dynamic performance

Presenter
Presentation Notes

3. Auto Tuning Technology

• With Limit Cycle Oscillation – Oscillation caused by Limit Cycle Oscillation – Identify power circuit parameters – Design PID parameters

• With nonlinear relay oscillation • With Phase Margin measurement

28

Presenter
Presentation Notes
March 6, 2011: Three technologies have been proposed for auto tuning. I might need to provide the complete outline and highlight the current section

29

LCO Based Auto Tuning

• Limit Cycle Oscillation should be avoided − Caused by ΔVo (ΔTon ) > LSB(ADC)

Presenter
Presentation Notes
Zhenyu Zhao, Aleksandar Prodic, “Limit-Cycle Oscillations Based Auto-Tuning System for Digitally Controlled DC–DC Power Supplies”, TPEL, November 2007

30

LCO Based Auto Tuning

• LCO frequency contains power circuit information • The relationship is:

Gain of DPWM Control to output

transfer function

ADC transfer function

Presenter
Presentation Notes
March 6, 2011: We want to get the power train parameters.

Advantages

• Optimal dynamic performance with parameter tolerance

• Estimation of load current – For better current sharing

31

3. Auto Tuning Technology

• With Limit Cycle Oscillation • With nonlinear relay oscillation

– Oscillation caused by relay – Design PID parameter directly

• With Phase Margin Measurement – Emulate human operation

32

33

Auto Tuning Discussion

• Why Auto Tuning? – Get power train parameter – Design optimal PID parameters – Under different operating conditions, power parameters

• Benefits of Auto Tuning – Shorter design cycle (no or little loop design work) – Compensation for parameter changes over temperature, aging

• Value of Auto Tuning – Why customers want to pay for auto tuning – Compensation for parameter change – Good for shorter design cycle

34

Seminar Outlines

1. Introduction 2. Steady State Performance Improvement 3. Auto Tuning with Digital Control 4. Dynamic Performance Improvement 5. Conclusion

Presenter
Presentation Notes
March: How to use digital control to improve the dynamic response by complicated control algorithms.

Dynamic Performance Improvement

• Feature of Digital Control? – Intelligence – Complicated calculation capability – Adoption, changing control parameters based on

the changing conditions – Potential to achieve better performance – Steady state and dynamic

• What I would do if I were the controller?

35

36

Dynamic Performance Improvement

• Charge Balance Control

– Minimum time control, Time optimal control, Optimal control, Continuous time control

• Basic idea – Force inductor current and capacitor voltage

recover at same time

37

Conventional Control with Buck

L

Vin C

ESR

R L oiLi

CiRo

S 1

S 2

• Given circuit parameters: L, C, Vin, Vo, Fs, Io • Different dynamic response for different control methods

Presenter
Presentation Notes

38

Response of Conventional Controller

Point 0 Point 1 Point 2 Point 3 Point 4

iL_endio2

Vref

io1

iL3

iL0

AdischargeAcharge

t1t0

Load current

step

Transition time

Presenter
Presentation Notes
March 6, 2011: describe the time domain response of the output voltage.

39

Charge Balance Control (CBC)

L

Vin C

ESR

R L oiLi

CiRo

S 1

S 2

• Given circuit parameters: L, C, Vin, Vo, Fs, Io • Different dynamic response for different control methods • One possible best dynamic response and find it

Presenter
Presentation Notes

40

Capacitor Charge Balance (over Ts)

• Used extensively in steady-state analysis of DC-DC converters

L

VinC

ESR

RL oiLi

Ci RoS 1

S 2Vc

Vo++

--

output voltage

Ts

inductor current

load current

reference voltage

+-

∫ =→=⋅=− sT

cs

avgcCcsc dttiT

ivTv0

1 0)(10)0()(

oLc iii −=

41

Capacitor Charge Balance (Dynamic Period)

Extend principle to transient period

oad cu e t

reference voltage

output voltage

ta tb

∫ =−

=⋅=− b

a

t

t cab

avgcCacbc dttitt

oritvtv 0)(1,0)()( 1

Voltage recovers to original value when net charge balanced

Goal: Balance the charge in shortest

possible time

inductorcurrent

loadcurrent

t0 t1 t2 t3

referencevoltage

Adischarge

Acharge

outputvoltage

Tdis Tch

42

Implementation of CBC

• Set PWM high immediately – Inductor current increases

at fastest slew rate – Minimizes Tdis – Minimizes Adischarge – Minimizes Δvo

• Set PWM low at t2 such that Acharge = Adischarge – Minimizes Tch – Minimizes settling time

How do we obtain t2?

Presenter
Presentation Notes

43

Discharge Area Calculation

A1

A3

A2

A1a

t0 t1 t2 t3

Adischarge = A1Acharge = A2 + A3

inductor current iL

load current io

IL0

Io1

Io2

T1T0 T2

Note:

Presenter
Presentation Notes

44

Charge Area Calculation

A1

A3

A2

A1a

t0 t1 t2 t3

Adischarge = A1Acharge = A2 + A3

inductor current iL

load current io

IL0

Io1

Io2

T1T0 T2

Presenter
Presentation Notes

45

Balancing the Charge Area

A1

A3

A2

A1a

t0 t1 t2 t3

Adischarge = A1Acharge = A2 + A3

inductor current iL

load current io

IL0

Io1

Io2

T1T0 T2

discharge Charge

Presenter
Presentation Notes

46

Physics of the Double Integration

Vo integrated two times from t0 to t1

-Vin integrated two times from t1 to t2

At t = t2 , these two terms added together is zero

∫ ∫ ∫ ∫

=1

0

1

0

1

0OO VV

t

t

t

t

t

tdtdtdtdt ( )∫ ∫ ∫ ∫

=2

1

2

1

2

1inin V-V-

t

t

t

t

t

tdtdtdtdt

Re-write the integrations as:

The second integrations can be combined.

Presenter
Presentation Notes

47

Double Integrator Implementation

∫∫

t0

t

vint2

vint1

t1 t0 t1 t2

vint1

vint2

Vo

-Vin

Multiplexer

t

1a

1b

20

1Reset: t<t0 or t>t1

Reset: t<t1 or t>t2 t>t1

Reset: t<t0 or t>t2

Presenter
Presentation Notes

48

Block Diagram of CBC with Analog

Q1

Q2

Lo

Vin

Co

ESR

RL

LoadDriver

Conventional Controller

Linear Control Voltage Hold

Ic

Vo

+

-

PWM Multiplexer

IL

Io

Charge BalanceController

Steady-State /Transient

PWM Output

VinVout

Presenter
Presentation Notes

49

Other Considerations

• Equations for a positive load current step – For a negative load current step, the derivation is

similar

• Before completion, algorithm calculates the new steady state duty cycle d and inductor current iL to be passed to the PID current-mode controller – Allows for a smooth transition

Importance for Detection of t1 and t2

50

• At t = t1: – I_load = I_ind – Icap = 0 – Vout = min

• Critical to detect t1: • t2 depends on t1

inductorcurrent

loadcurrent

t0 t1 t2 t3

referencevoltage

Adischarge

Acharge

outputvoltage

Tdis Tch

Technologies to Detect t1 and t2

51

• Analog Icap sensing – Trans-impedance amplifier for t1 – Double integrator falls to zero – As discussed before

• Digital Icap information – Digital Icap rebuilding – Digital double integrator falls to zero – Suitable for AVP

Presenter
Presentation Notes
TPEL 2009 paper reference: [44] Z. Zhao and A. Prodic, “Continuous-time digital controller for high frequency DC–DC converters,” IEEE Trans. Power Electron., vol. 23, no. 2, pp. 564–573, Mar. 2008 [45] A. Costabeber, L. Corradini, P.Mattavelli, and S. Saggini, “Time optimal, parameters-insensitive digital controller for DC–DC buck converters,” in Proc. IEEE Power Electron. Spec. Conf., 2008, pp. 1243–1249. [46] L. Corradini, A. Costabeber, P.Mattavelli, and S. Saggini, “Time optimal, parameters-insensitive digital controller for VRM applications with adaptive voltage positioning,” in Proc. IEEE Workshop Control Model. Power Electron. (COMPEL), 2008, pp. 1–8.

Other Technologies to Detect t1 and t2

52

• Time domain detection – Asynchronous ADC operation for t1 – Calculate t2 based on t1

• Continuous time DSP structure • Voltage domain detection

– Voltage value calculated to determine t1 – Voltage value calculated to determine t2 – AVP achieved

Presenter
Presentation Notes
TPEL 2009 paper reference: [44] Z. Zhao and A. Prodic, “Continuous-time digital controller for high frequency DC–DC converters,” IEEE Trans. Power Electron., vol. 23, no. 2, pp. 564–573, Mar. 2008 [45] A. Costabeber, L. Corradini, P.Mattavelli, and S. Saggini, “Time optimal, parameters-insensitive digital controller for DC–DC buck converters,” in Proc. IEEE Power Electron. Spec. Conf., 2008, pp. 1243–1249. [46] L. Corradini, A. Costabeber, P.Mattavelli, and S. Saggini, “Time optimal, parameters-insensitive digital controller for VRM applications with adaptive voltage positioning,” in Proc. IEEE Workshop Control Model. Power Electron. (COMPEL), 2008, pp. 1–8.

Other Technologies to Detect t1 and t2

• Time domain detection – Asynchronous ADC operation for t1

– Calculate t2 based on t1

• Continuous DSP structure • Voltage domain detection

– Extreme voltage detector for t1 – Parabolic Curve Fitting for t1 to determine t2 – AVP can be achieved

53

Digital Parallel Current Mode Control

54

Reference signal for inductor current )()()(1 tvtvktv controlgxref =

When vin(t) ↑ → vg(t) ↑, →vref1(t) ↑, →ig(t) ↑, pin(t) ↑, →VC(t)↑. This is not a desired situation. We need to wait the voltage loop to bring down the output voltage.

Digital Parallel Current Mode Control

Ro

L D

C Vo

+

-

Vin(t)

+

-

S

L

Vin(t) RoVo

+

-

C

+

-

L

+

-

RoC Vo

+

-

Vin(t)

Li Li

inL V

dtdiL = snnn Tdttt +<≤

oinL VV

dtdiL −= 1+<≤+ nsnn ttTdt

Basic idea of parallel current mode control:

Boost Converter On state Off state

Inductor current:

Digital Parallel Current Mode Control

LTndV

LTnVnini sosin

LL⋅−

−⋅

+=+))(1()()()1(

Inductor current in discrete form:

At duty cycle d, the inductor current at the end of switching cycle

Rewrite the above equation as:

o

ino

o

LL

s VnVV

Vnini

TLnd )()()1()( −

+−+

⋅=

Required duty cycle in order to drive inductor current from iL(n) at the beginning of switching cycle to iL(n+1) at the end of switching cycle.

Digital Parallel Current Mode Control

For a properly designed system, we want:

Proposed power factor correction algorithm:

o

ino

o

LL

s VnVV

Vnini

TLnd )()()1()( −

+−+

⋅=

refo VV = )1()1( +=+ nini refL

ref

inref

ref

Lref

s VnVV

Vnini

TLnd

)()()1()(

−+

−+=

Substitute the above two relations into duty cycle equation:

Digital Parallel Current Mode Control

Block diagram: parallel operation.

BoostConverterV in

Current TermCalculation

Voltage TermCalculation

V refi ref(n+1)

i L(n)V in(n)

d(n)

V ref

Vo

Digital Parallel Current Mode Control

Reference current for PFC implementation:

IPK is the peak inductor current, from voltage error amplifier sin (ω · t(n+1) ) is sine waveform, from lookup table Therefore, direct duty cycle control for PFC:

))1(sin()1( +⋅⋅=+ ntIni PKref ω

ref

inref

c

LPK

VnVV

KnintI

nd)()()1(sin(

)(−

+−+⋅⋅

where Kc=TsVref /L, is a constant

Digital Implementation

Load

L D

AC S C2

Vin iL

+

-

Vo

iL

Vin Vo

PWM A/DA/D

Duty CycleCalculation

Sine WaveLook up Table

Multiplierpidk PID

refVerror

Zero CrossDetection DSP

C1

R1

R2

R3

R4

GateDriver

A/D

)(niL

)(nVin

)(nd

Input Voltagefed-forward

)sin( 1+⋅ nline tϖ

)sin( 1+⋅= nlinepidref tki ϖ

Digital Implementation

OpAmp1I term

+

Vref

OpAmp2V term

OpAmp3Adder

Iref = K* Vac_pk*IPK*|sin(wline t)|

+

-

PWM

Gatedrive

-

L

Q

DiL(t)

CLoad

Vo

OpAmp4Voltage Loop

iL(t)

Vin

Currentsensor

Vo-

+

iL_avg(t)

Vin

Vac

D1 D3

D2D4

Iac

MultipierIPK

K*Vac_pk * |sin(wline t)|

Vref

ref

inref

c

LPK

VnVV

KnintI

nd)()()1(sin(

)(−

+−+⋅⋅

Kc=TsVref /L

62

Outlines

1. Introduction 2. Steady State Performance Improvement 3. Auto Tuning with Digital Control 4. Dynamic Performance Improvement 5. Conclusion

Presenter
Presentation Notes
Dec 29, 2010: Introduction will cover the DPWM and Dynamic analysis Steady state, July 15, 2010: up to now, the knowledge just shows that digital control can achieve same performance as analog control. We still cannot justify why we should use digital control.

63

Future Work for Digital Control

• Take advantage of digital circuits • Provide value to end customers

– Lower cost, better (same) performance at lower cost – Better performance at same cost

• Dynamic performance improvement – Reduced undershoot and overshoot – Smaller output capacitor value

– Digital only implementation – Analog circuit cannot make it

Conclusion

• Take advantage of digital circuits – Intelligence, calculation capability, lower cost

• Provide value to end customers – More cost effective product

• Auto tuning – Reduced design effort, better performance

• Charge Balance Control (or TOC) – Reduced output capacitor, faster response

64