Sie sind auf Seite 1von 8

Tutorial

Modelling and control


of DC-DC converters
This tutorial article shows how the widely used analysis techniques of averaging
and linearisation are applied to the buck or step-down DC-DC converter to obtain
simple equations which may then be used for control design. Three common control
methods are described. Their principal characteristics are illustrated using Matlab
and the Simulink block diagram system along with experimental results. The
analysis procedures described may be applied directly to other DC-DC converters
and the principles may be extended to more complex power electronic systems.

by A. J. Forsyth and S. V. Mollov

C-DC converters are some of the volt-seconds in a switching cycle. The volt-

D simplest power electronic circuits.


They are widely used in the power
supply equipment for most
electronic instruments and also in specialised
high-power applications such as battery
seconds must balance in steady-state operation:

(Vin - V)dT = V(1 - d)T


V = dVin (1)

charging, plating and welding. In addition to a Since the value of d lies between 0 and 1, the 1 Buck DC-DC
controllable and theoretically lossless DC converter output voltage must be less than or converter and idealised
voltage transformation, DC-DC converter equal to the input voltage. waveforms
circuits may also provide voltage isolation
through the incorporation of a small high- I
frequency transformer. The wide variety of
VL
circuit topologies ranges from the single-
transistor buck, boost and buck/boost Vin V C R
converters to complex configurations
comprising two or four devices and employing
soft-switching or resonant techniques to
control the switching losses.1,2 However,
similar methods of analysis and control are
applied to many of these converters.

Buck converter VL VinV

Fig. 1 shows a circuit diagram of a buck


converter along with idealised waveforms for V
the inductor voltage and current. The transistor
operates at a fixed frequency, period T, and with
an on-time to period ratio or duty-ratio d. The
inductor current is assumed to be continuous,
the circuit components are lossless and the dT
I
output capacitor ripple voltage is considered T
negligible. The relationship between steady-
transistor on off
state output voltage and duty-ratio is obtained
by equating the positive and negative inductor

POWER ENGINEERING JOURNAL OCTOBER 1998 229


Tutorial

Fig. 2 shows the two circuit configurations of


the buck converter corresponding to the two
L
I states of the transistor. A third configuration
occurs if the inductor current becomes

1 1
0
discontinuous but is not considered here. In
C R I = 0 L I + L Vin
Vin V Iz 1 1
order to provide a facility in the model for
V V 1 Iz
C RC 0 examining the response of the converter to load
C
changes, a current generator Iz is added in




AON BON
parallel with the load resistor in Fig. 2. The
transistor on Figure also shows the equations for each circuit
configuration expressed in standard state-space
L
I form. The inductor current I and output
capacitor voltage V are the two elements of the
1 state vector x, whilst the input vector u has
C R 0 0
Iz I = 0 L I + Vin elements Vin and Iz.
V
V 1 1 V 1 Iz
C RC 0
C
The state-space averaged model of the
converter is formed by taking a weighted





AOFF BOFF average of the equations in Fig. 2, and may be
transistor off expressed as:
.
x = Ax + Bu (2)
2 Circuit The usual requirement of a control system
configurations of the for the converter is to maintain the output where A = dAON + (1 - d)AOFF
buck converter
voltage constant irrespective of variations in the
assuming continuous
inductor current DC source voltage Vin and the load current. and B = dBON + (1 - d)BOFF
According to the steady-state equation for the
output voltage (eqn. 1), V is independent of The averaged matrices for the buck converter
load conditions. However, as we will see, load are then


changes affect the output voltage transiently,
possibly causing significant deviations from the -1 d
0 0
steady-state level. Furthermore, in a practical L L
A= B=
system circuit losses introduce an output 1 -1 1
0
voltage dependency on steady-state load C RC C
current which must be compensated for by the
control system. Eqn. 2 approximates the behaviour of the
converter over many cycles, but the averaging
Modelling power electronic converters by process has removed all information abut the
averaging switching frequency ripple component of the
The inherent switching operation of power variables. For the averaging approximation to
electronic converters results in the circuit be valid two main conditions must be
components being connected together in satisfied:3 first the state variables must evolve
periodically changing configurations, each in an approximately linear manner in the two
configuration being described by a separate set circuit configurations, and second the
of equations. The transient analysis and control switching frequency ripple component of the
design for converters is therefore difficult since state variables must be small in comparison
a number of equations must be solved in with the average component. Both these
sequence. The technique of averaging provides conditions are usually satisfied in simple DC-
a solution to this problem. A single equation DC converters.
may be formed to described the converter The control input to the converter, the duty-
approximately over a number of switching ratio, appears within the B matrix of the
cycles by simply taking a linearly weighted averaged model (eqn. 2) rather than as an
average of the separate equations for each element in the input vector. The averaged
switched configuration of the converter. State- model is therefore time varying and difficult to
space averaging14 is the most common solve. To simplify the model, eqn. 2 is linearised
averaging technique and is used here to model by considering small variations in the variables.
the buck converter. Each variable is written as the sum of a steady-

230 POWER ENGINEERING JOURNAL OCTOBER 1998


Tutorial

state or DC component and a small-signal or


AC component, denoted by ~, i.e. L

~
x = x + ~x, u = u + ~
u and d = d + d
~ ~ ~
where x << x, u << u and d << d
Vin C R V

These expressions for the variables are then


substituted into eqn. 2, the equation is
multiplied out and products of small-signal
quantities are neglected. After subtracting the
DC components of the variables the following
linear equation results which relates small switching Vc
+
changes in the variables: waveform controller Vref
H(s)
.
~ ~
x = A~x + B~u + Ed (3) PWM
modulator
where the A and B matrices are given by the
expressions in eqn. 2 and VR

ramp
E = (AON - AOFF) x + (BON - BOFF)u waveform

The E matrix for the buck converter is given by:


converts the control signal into the transistor 3 Single-loop control
Vin drive waveform.
E= L The negative feedback summation and the
0 control transfer function are normally
implemented using a single op-amp whilst the
Standard linear systems techniques may then PWM modulator is formed by a comparator and
be used to obtain algebraic expressions for the ramp generator (Fig. 3). Dedicated integrated
converter transfer functions, allowing control circuits are available for the control of DC-DC
loop design and the examination of closed loop converters, they typically comprise a control
characteristics. Instead of taking this amplifier, modulator circuitry, a latch for the
mathematical approach, the Simulink block comparator output to prevent switch bounce,
diagram system is used here to calculate and and also housekeeping functions such as
plot the converter transfer functions. current limit, shutdown and soft-start. Simple
analogue circuit-based control systems such as
Single-loop control this are the most appropriate for many DC-DC
The output voltage is regulated by closing a converter applications due to their low cost and
feedback loop between the output voltage and high speed.
duty-ratio signal (Fig. 3). The output voltage is Fig. 4 shows the Simulink block diagram of
compared with a constant reference signal Vref the converter system. The converter is
to form the error, which is then passed through represented by the small-signal state-space
the control transfer function H(s) to generate a averaged model (eqn. 3), the elements in the
control signal Vc; finally the PWM modulator matrices being evaluated using the parameter

1
Vin

2
lz
mux x' = Ax + Bu + Ed 1
3 + z(s)
km
p(s) V
Vref
sum converter
controller H(s) modulator 4 Simulink model of
converter with single-
loop control

POWER ENGINEERING JOURNAL OCTOBER 1998 231


Tutorial

Table 1 Parameter values the value of km in the prototype was 0.5.


The controller transfer function H(s) is
parameter value
chosen to have an integral characteristic at low
Vin 24 V frequency in order to ensure zero steady-state
V 12 V error. A compensation term is added at higher
R 11 W frequency to provide a satisfactory crossover
L 335 H frequency and stability margin. The crossover
C 10 F
frequency of the control loop is typically
T 21 s
restricted to around one-tenth of the switching
frequency since this usually provides an
values listed in Table 1. The parameters are acceptable compromise between speed of
taken from a prototype system which is used response and avoiding switching frequency
below to provide supporting experimental related instabilities.
results. The small-signal source voltage and Fig. 5 shows the open-loop control-to-
~~
load current are shown as external inputs output frequency response V/Vc for the
whilst the duty-ratio is determined by the converter. The solid line represents data
control loop. The mux block simply combines generated from Simulink by removing the
the three signals Vin, Iz and d into vector form control loop shown in Fig. 4. The broken line
for the state-space equations. There is a single shows measured data from the prototype
output from the state space equation block, the system. The measurement was made using a
output voltage V. The PWM modulator is network analyser; the oscillator output from
represented by a small-signal gain km which is the analyser was superimposed onto the
determined below. modulator control signal Vc using a wideband
Assuming that the peak and valley levels of signal transformer. The resulting small-signal
the ramp waveform are denoted by Vp and Vv, disturbance in the converter output voltage was
respectively, then the duty ratio d is given in measured by the analyser and the frequency
terms of the control voltage Vc by: response plotted. There is close
correspondence between the two sets of data up
Vc - Vv to the maximum frequency plotted, 20 kHz,
d= (4)
Vp - Vv illustrating the accuracy of the model. The
small discrepancy is due to the absence of
~~ The small-signal gain of the modulator is then circuit losses from the model. Averaged models
5 Open-loop V/Vc
frequency response plot are typically accurate up to around one-third of
( prediction, d 1
the switching frequency. The frequency
km = = (5)
---measurement) Vc Vp - Vv
response has the familiar form of a second-
order transfer function with under-damped
poles at 2.5 kHz.
30 In order to achieve a crossover frequency of
around 5kHz (one-tenth the switching
20
magnitude, dB

frequency) the controller transfer function H(s)


10
was designed to be

0 0.24 (s + 10k)2
H(s) = (6)
s(s + 60k)
10
103 104
frequency, Hz The two zeros are placed at 10krads-1, just
0 below the converter pole frequency and a high
50
frequency pole is placed at 60krads-1,
phase, deg

approximately twice the target crossover


100 frequency. The magnitude of H(s) was chosen
to give a crossover frequency of 4kHz, the phase
150
margin being 65.
200 Fig. 6 shows the closed-loop performance of
103 104
frequency, Hz
the system. The magnitude of the DC source
~~
voltage to output voltage transfer function V/Vin
is plotted as a frequency response; the solid line

232 POWER ENGINEERING JOURNAL OCTOBER 1998


Tutorial

is from the Simulink model and the broken line


represents measured data. There is at least 7dB
0
attenuation of input voltage disturbances
across the entire frequency range. Fig. 6 also

magnitude, dB
20
shows a predicted and measured time domain
response of the output voltage to a 0.12 A step
increase in load current. The prediction from 40

the model has no switching frequency ripple or


steady-state component. In addition to being 60
103 104
underdamped, the response also has a slowly frequency, Hz
decaying component which arises due to the
two zeros in H(s) and the relatively low loop 04

gain at low frequency. 03


02
Input voltage feedforward 01
Input voltage feedforward increases the 12V
V

0
immunity of the converter output voltage to 01
disturbances in the DC input voltage. This is 02
accomplished by making the peak value of the 03
PWM modulator ramp waveform Vp 04
01 V/div, 01 ms/div

proportional to the DC input voltage Vin. An 0 02 04 06 08


increase in the DC source voltage will then ms
increase the slope of the PWM ramp and lead to
an almost instantaneous reduction in transistor
duty-ratio, thereby compensating for the Expressions for the constants km1 and km2 are 6 Closed-loop
increase in source voltage and reducing the obtained by undertaking the partial performance single-
~~
resultant disturbance in the converter output loop control. Top: V/Vin
differentiation of eqn. 7:
( prediction, ---
voltage.
1 -kf (Vc - Vv) measurement); Bottom:
A linearised small-signal representation for km1 = km2 = output response to
kf Vin - Vv (kf Vin - Vv)2
the PWM modulator is again determined from 0.12A step increase in
the duty-ratio equation (eqn. 4), but with the load (prediction on left,
A simulink model for the system is shown in measurement on right)
peak value of the ramp voltage Vp expressed as
Fig. 7. The converter is represented as before by
a linear function of Vin, Vp = kf Vin:
the small-signal state-space averaged model
Vc - Vv (eqn. 3); the modulator is represented by eqn. 8;
d= (7)
kf Vin - Vv an output voltage feedback loop is also shown.
The addition of the feedforward does not
A linear expression relating small changes in affect the control-to-output transfer function of
~
duty-ratio d to small changes in input voltage the converter; therefore the control loop design
~ ~
and control voltage, Vin and Vc, respectively, is is identical to that described in the previous
obtained by taking the first-order terms in the section, the controller transfer function H(s)
~
Taylor series for d: being given by eqn. 6. As a result the output
voltage transient due to a step load change is
~ d ~ d ~ ~ ~ identical to that shown in Fig. 6. However, an
d= Vc + Vin = km1 Vc + km2 Vin (8)
Vc Vin improvement is seen in the source-to-output

1
Vin 2
km2
Iz
mux x' = Ax + Bu + Ed 1
3 + z(s) km1 +
p(s) + V
Vref
sum modulator converter
controller H(s)

7 Simulink model of
feedforward control

POWER ENGINEERING JOURNAL OCTOBER 1998 233


Tutorial

switched on at the start of each cycle by a clock


0 pulse which sets the output of the latch. The
transistor current rises linearly while the device
magnitude, dB

20 is conducting. The current is fed back as signal


Ifb and is compared with a reference signal.
40 When Ifb is equal to the reference the
comparator output switches low, resetting the
60 latch and turning the transistor off.
103 104
The reference signal for the comparator is
frequency, Hz
formed by an output voltage feedback loop, but
the signal produced by the control transfer
~~
8 V/Vin from Simulink voltage frequency response, the Simulink function Iref is modified by subtracting a ramp
feedforward control prediction is shown in Fig. 8 where kf was taken waveform of slope m which is synchronised
to be 0.1 and Vv = 0.5 V. The magnitude is with the clock. The ramp is necessary to
reduced by over 10 dB across the full frequency prevent switching frequency related
range compared with the results in Fig. 6. instabilities.4,5
By using the transistor current to determine
Current-mode control the turn-off instant, this control method
In this control method2,4,5 (Fig. 9), the PWM inherently provides a current limit and
modulator is replaced by a transistor current protection function for the power circuit. Also,
feedback loop. The sketched waveform of the the technique provides an inherent source
feedback current signal Ifb (Fig. 9) illustrates the voltage feedforward function; an increase in the
operation of the control loop. The transistor is source voltage causes the transistor current to

Vin C R V

Ifb

Q
latch R Iref
+ controller
S Vref
H(s)

clock ramp compensation


slope m

slope m

Ifb

Iref

dT (1d)T

9 Current-mode
control

234 POWER ENGINEERING JOURNAL OCTOBER 1998


Tutorial

rise more rapidly, reaching the reference level


earlier and therefore reducing the duty-ratio
almost immediately. Furthermore, the control Vin V V
rising slope g1 = falling slope g2 =
L L
method simplifies the design of the controller
since the control-to-output transfer function
for the converter becomes first-order
dominated; this is demonstrated below.
A small-signal representation of the current I
control loop is formed by considering the Ip
inductor current waveform under transient
conditions (Fig. 10). The average inductor
current across the switching cycle may be dT (1d)T
expressed as
g1 d2 T g2 (1 - d)2 T
Iavg = Ip - - (9)
2 2
carrying out the partial differentiation and re- 10 Inductor current
~ under transient
where Ip is the peak value of the current, g1 and arranging to give an expression for d
conditions
g2 are the rising and falling slopes of the
~ Rs ~ Rs (2d - 1)~ Rsd2~ 1 ~
waveform. d = - Iavg + V- Vin + Iref(13)
mT 2Lm 2Lm mT
The current control loop gives the relation
~ ~ ~ ~
= kc1 Iavg + kc2 V + kc3 Vin + kc4 Iref
Rs Ip = Iref - mdT (10)
The negative term kc3 represents the source
where Rs is the gain of the current feedback
voltage feedforward effect of current-mode
transducer.
control. Fig. 11 shows a Simulink block
Eliminating g1 and g2 from eqn. 9 using the
diagram of the system. The controller is
expressions in Fig. 10, and eliminating Ip using
modelled as before using the small-signal state-
eqn. 10:
space averaged equations (eqn. 3) and the
current control loop is represented by eqn. 13.
Iavg =
The parameters listed in Table 1 are again used
-
Rs Rs
-
2 L
-
Iref mdT d2T Vin - V (1 - d)2 T V
2 L (11)
with current feedback gain Rs = 1.5 W and m =
3.8 104 V/s. The output from the converter
block is defined as the state vector, and the
A linearised small-signal relation between the demux block separates the state vector into its
variables is obtained by taking the first-order elements.
terms in a Taylor series expansion of Iavg: Fig. 12 shows the predicted and measured
control-to-output transfer function of the
~ Iavg ~ Iavg ~ Iavg ~ Iavg ~ ~~
converter and current control loop, V/ Iref, the 11 Simulink model of
Iavg = Iref + d+ Vin + V (12)
Iref d Vin V current-mode control
prediction in solid lines and the measurement

1
Vin kc3 2
lz

3 + +
z(s) kc4 mux x = Ax + Bu + Ed demux
+ 1
Vref p(s) +
+ V
sum controller H(s) converter
sum1
kc2 kc1

POWER ENGINEERING JOURNAL OCTOBER 1998 235


Tutorial

(s + 20k)
20 H(s) = 0.45 (14)
s
magnitude, dB

10 The upper plot in Fig. 13 shows the closed-loop


~~
source to output voltage response V/Vin for the
0 system, the solid line shows the prediction and
the broken line the measurement. Compared
10 with the single-loop control, the attenuation of
103 104
frequency, Hz
source voltage disturbances is increased by at
0
least 30 dB, confirming the inherent source
voltage feed forward characteristics of current
50 mode control. The correspondence between
phase, deg

100
measurement and prediction is not as close as
before; this is because small errors in the
150 measurement of the current control loop
parameters have a large influence on the source
200
103 104 to output response. Fig. 13 also shows the
frequency, Hz predicted and measured output response due to
a 0.12A step increase in load. A rapid and well-
damped response is seen.

Conclusion
0 The tutorial has shown how averaging and
linearisation techniques may be used to obtain
magnitude, dB

20 linear transfer functions for power electronic


systems, specifically DC-DC converters. Linear
40 system design techniques may then be used to
undertake controller design and examine
60
103 104
closed-loop performance. Three commonly
frequency, Hz used control methods for the buck DC-DC
04
converter are described and compared.
03 Current-mode control is seen to offer superior
02 performance in both the rejection of source
01 voltage disturbances and the response to load
0 12V transients.
V

01
02 Further reading
03 1 MOHAN, N., UNDELAND, T.M., and ROBBINS, W.
04
01 V/div, 01 ms/div P.: Power electronics: converters, applications and
0 02 04 06 08 design (Wiley, 1995, 2nd Edn.)
ms 2 KASSAKIAN, J. G., SCHLECHT, M. F., and
VERGHESE, G. C.: Principles of power electronics
(Addison Wesley, 1991)
3 MIDDLEBROOK, R. D., and CUK, S.: A general
~~ unified approach to modelling switching converter
12 Open-loop V/Iref in broken lines. As a result of the current
frequency response plot power stages, International Journal of Electronics,
control loop the response is first-order
for current-mode 1977, 42, (6), pp.521550
dominated rather than the second-order 4 MITCHELL, D. M.: DC-DC switching regulator
control (prediction,
--- measurement) characteristic of the converter alone (Fig. 5). analysis (McGraw Hill, 1988)
The controller in the voltage feedback loop 5 VERGHESE, G. C., BRUZOS, C. A. and MAHABIR, K.
13 Closed-loop N.: Averaged and sampled-data models for current
H(s) is designed to have an integral
performance current- mode control: a re-examination, IEEE Power
~~ characteristic at low frequency and a zero at 20 Electronics Specialists Conference, 1989, pp.484491
mode control. Top: V/Vin
(prediction, --- krads-1 to cancel the converter pole. The low-
measurement); Bottom: frequency magnitude of H(s) was chosen to IEE: 1998
output response to give a cross-over frequency of 5 kHz, the phase
0.12A step increase in The authors are with the School of Electronic &
load (prediction on left, margin being 65. Eqn. 14 gives the transfer Electrical Engineering, University of Birmingham,
measurement on right) function for H(s): Edgbaston, Birmingham B15 2TT, UK.

236 POWER ENGINEERING JOURNAL OCTOBER 1998

Das könnte Ihnen auch gefallen