Documente Academic
Documente Profesional
Documente Cultură
Converters
Angel V. Peterchev Seth R. Sanders
Department of Electrical Engineering and Computer Science
University of California, Berkeley
Vin
Abstract— This paper discusses the presence of steady-state limit cy-
cles in digitally controlled pulse-width modulation (PWM) converters, and Dref output filter
suggests conditions on the control law and the quantization resolution for Digital Controller L Vout
their elimination. It then introduces single-phase and multi-phase con-
trolled digital dither as a means of increasing the effective resolution of control DPWM Cout
ADC
digital PWM (DPWM) modules, allowing for the use of low resolution law
Dc
(DAC)
Dout
DPWM units in high regulation accuracy applications. Bounds on the
number of bits of dither that can be used in a particular converter are
derived.
D
I. I NTRODUCTION
()
IGITAL controllers for pulse-width modulation (PWM)
where Dc k is the duty cycle command at discrete time k ,
()
converters enjoy growing popularity due to their low
power, immunity to analog component variations, ability to De k is the error signal
De (k ) = Dref (k ) Dout (k );
interface with digital systems and to implement sophisticated
control schemes, and potentially faster design process. Their
applications include microprocessor voltage regulation mod-
ules (VRM’s), audio amplifiers, portable electronic devices, ()
and Di k is the state of an integrator
Di (k ) = Di (k 1) + De (k):
and others.
This paper discusses the presence of steady state oscillations
(limit cycles) in digitally controlled PWM converters, as well
Further, Kp is the proportional term constant, K d is the deriva-
as techniques for increasing the effective resolution of digi-
tive term constant, and K i is the integral term constant. All
tal PWM (DPWM) modules. Section II gives an overview of
variables are normalized to the input voltage, V in ; Dref k ()
the structure of digital PWM controllers. Section III describes
limit cycles and presents conditions for their elimination. Sec-
()
represents the reference voltage, and D out k is the digital rep-
resentation of V out . Variable Dref is used as a feedforward
tion IV introduces controlled digital dither as a technique that
term in (1). Note that D ref by itself would give the correct
effectively increases the resolution of the DPWM module, al-
duty cycle command for steady state operation with constant
lowing for the use of low resolution DPWM modules in ap-
load, if there were no load-dependent voltage drop along the
plications requiring high regulation accuracy, such as VRM’s
power train and no other non-idealities in the output stage [2].
and audio amplifiers. The ability to use low resolution DPWM
modules in these applications, without incurring limit cycles,
III. L IMIT C YCLES
can result in substantial power and silicon area savings.
For the converter of Fig. 1, limit cycles refer to steady-
II. D IGITAL C ONTROLLER S TRUCTURE state periodic oscillations of V out that are not due to the PWM
A block diagram of a digitally controlled PWM converter switching activity. Limit cycles may result from the presence
is shown in Fig. 1. Controllers with similar structure have of signal amplitude quantizers like the ADC and DPWM mod-
been discussed in a number of publications (e.g. [1], [2], [3], ules in the feedback loop. Steady-state limit cycling is undesir-
[4]). The controller consists of an Analog-to-Digital Converter able, since its amplitude and frequency are hard to predict, and,
(ADC) which digitizes the regulated quantity (typically the consequently, it is difficult to analyze the resulting V out noise
output voltage V out ), a DPWM module, and a discrete-time and the electro-magnetic interference (EMI) produced by the
control law. A typical discrete-time PID control law has the converter.
form Let us consider a system with ADC resolution of N adc
bits and DPWM resolution of N dpwm bits. For a buck con-
Dc (k + 1) = Kp De (k ) + Kd [De (k ) De (k 1)] + verter, this will correspond to voltage quantization of V adc =
+KiDi(k) + Dref (k) (1) 2
Vin = Nadc steps for the ADC, and Vdpwm Vin = Ndpwm for = 2
Yet, even if the above condition is met, limit cycling may
voltage Vout still occur if the feedforward term is not perfect and the control
1 bit error bin
law has no integral term (K i =0 ). In this case, the controller
relies on non-zero error signal D e to drive Vout towards the
Vref 0 bit error bin zero-error bin. However, once V out is in the zero-error bin, the
-1 bit error bin error signal becomes zero, and V out droops back into the -1 bit
error bin. This sequence repeats over and over again, resulting
-2 bit error bin
in steady-state limit cycling. This problem can be solved by
DAC levels ADC levels the inclusion of an integral term in the control law. After a
transient, the integrator will gradually converge to a value that
transient steady state time drives Vout into the zero-error bin, where it will remain as long
(a) as De =0 , since a digital integrator is perfect (Fig. 2(b)) .
1.2
1.51 reference voltage bin
1.5
1
Vout (V)
1.49
0.8
1.48
out
N(A)
limit cycling
V
0.6 1.47 in steady state
1.45
0.2
1.44 Iout = 1A Iout = 11A
0 1.43
0 1 2 3 4 5 6 1.5 2 2.5 3 3.5 4
A/∆Vadc [LSB‘s]
time
time(msec)
(ms)
Fig. 3. The describing function of a round-off quantizer with zero DC bias. (a)
1.52
Fig. 4(a) shows a simulation of the transient response of 1.51 reference voltage bin
a digitally controlled PWM converter. The resolution of the
DPWM module, Ndpwm = 10
bits, is higher than the reso- 1.5
no limit cycling
V
hand, in Fig. 4(b) an integral term is added to the control law, 1.47 in steady state
and the steady-state limit cycling is eliminated.
1.46 ADC levels
The precision with which a digital controller regulates V out 1.44 Iout = 1A Iout = 11A
is determined by the resolution of the ADC. In particular,
Vout can be regulated with a tolerance of one LSB of the 1.43
1.5 2 2.5 3 3.5 4
ADC. Many present-day applications, such as microproces- time
time(msec)
(ms)
sor VRM’s, demand regulation precision at the order of tens
of millivolts [7], requiring ADCs and DPWM modules with (b)
very high resolution. For example, regulation resolution of
10 =5
mV at Vin V corresponds to ADC resolution of N adc = Fig. 4. Simulation of a DPWM converter output voltage under a load current
log (5 10 ) = 9
2 V= mV bits, implying DPWM resolution of at
transient. Vin = 5V, Vref = 1:5V, fsw = 250kHz, Nadc = 9 bits, and
Ndpwm = 10 bits. In (a) no integral term was included in the control law,
= 10
least Ndpwm bits to avoid steady-state limit-cycling. while in (b) an integral term was added.
For a converter switching frequency of f sw =1
MHz, such
resolution would require a 10 fsw
2 =1
GHz fast clock in a
counter-comparator implementation of the DPWM module, or is difficult to generate and control, it is sensitive to analog com-
10
2 = 1024 stages in a ring oscillator implementation, result- ponent variations, and it can be mixed only with analog signals
ing in high power dissipation or large area ([8], [3], [4]). Thus, in the converter, and not with signals inside a digital controller.
it is beneficial to look for ways to use low-resolution DPWM On the other hand, a digital dither generated inside the con-
modules to achieve the desired high V out resolution. troller is simpler to implement and control, it is insensitive to
analog component variations, and it can offer more flexibility.
One method which can increase the effective resolution of
Therefore, the use of digital dither to improve the resolution of
a DPWM module is dithering. It amounts to adding high-
DPWM modules is discussed in the present section.
frequency periodic or random signals to a certain quantized
signal, which is later filtered to produce averaged DC levels
A. Single-phase Dither
with increased resolution. Analog dither has been used to in-
crease the effective resolution of a DPWM module [9], how- The idea behind controlled digital dither is to vary the duty
ever in this case an analog controller was used. Analog dither cycle by an LSB over a few switching periods, so that the av-
switched voltage waveform switched voltage waveform
average duty cycle:
before the output LC filter: before the output LC filter: average duty cycle:
Tsw Tsw
Vin Dc1 Dc1
0 (hardware level)
Dc1 Dc1 Dc1 Dc1 LSB
LSB (Dc1 + Dc2) / 2 Dc1 + 1/4*LSB
Vin
= Dc1 + 1/2*LSB
dithered levels
0 low frequency pattern
Dc1 Dc2 Dc1 Dc2 (dithered level)
Dc1 + 1/2*LSB
Vin Dc2 = Dc1 + LSB high frequency pattern
0 (hardware level) (lower ripple)
Dc2 Dc2 Dc2 Dc2
Dc1 + 3/4*LSB
time
Fig. 5. Use of duty cycle dither to realize a 12 LS B DPWM level (1-bit dither). Dc2 = Dc1 + LSB
time
erage duty cycle has a value between two adjacent quantized Fig. 6. Duty cycle dither patterns realizing 14 LS B , 12 LS B , and 34 LS B
duty cycle levels. The averaging action is implemented by the DPWM levels (2-bit dither).
Vout (V)
in steady state
Fig. 7. Structure for adding arbitrary dither patterns to the duty cycle. 1.48
1.47
M < log2
2 4 fc2 (7) 1.44
−0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
time (ms)
for fc < fz < fdith , where
(a)
N = Ndpwm;eff Nadc = (Ndpwm + M ) Nadc (8) 1.52
in steady state
The above equations can be used by starting with a guess for 1.48
M , obtaining the corresponding dither frequency from (5), and
then using (6) or (7), respectively, to obtain a bound on M . If 1.47
the result is not consistent with the initial guess for M , the pro-
cedure should be repeated with a reduced value of M . On the 1.46
other hand, if the inequalities are satisfied, the value of M can 1.45
be increased, and the procedure can be repeated.
As it was established above, if a 2-bit dither is used,
the dither patterns should span 2 2 =4
1.44
−0.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6
switching periods. time (ms)
While there are unique duty cycle sequences implementing
the 14 LSB and 34 LSB levels, the 12 LSB level can be im- (b)
plemented with two different sequences: D c1 ; Dc1 ; Dc2 ; Dc2
or Dc1 ; Dc2 ; Dc1 ; Dc2 (see Fig. 6). Both sequences produce Fig. 8. Experimental 4-phase buck converter transient response under a load
current step. Vin = 5V, Vref = 1:5V, fsw = 250kHz, Nadc = 9 bits,
the same DC time average, however the former has fundamen-
4
tal frequency component at f sw = , while the latter—at fsw = . 2 and (a) Ndpwm = 7 bits, (b) Ndpwm;ef f = 7 bits + 3-bit dither = 10 bits.
Thus the Dc1 ; Dc2 ; Dc1 ; Dc2 sequence will produce much less
ripple. For a particular sub-bit level it is advantageous to use counter sweeps through the bits of this particular dither pat-
dither patterns that minimize the output voltage ripple, which tern. The dither pattern is then added to the N MSB s of D c
implies patterns with higher frequency components. If this rule to produce the duty cycle command D c0 which is sent to the
is followed, (3) and (4) give an overestimate, while (6) and (7) hardware DPWM module.
yield an underestimate.
Fig. 9. Block diagram of a 4-phase buck converter. mands are toggled, so that the average over all phases is still
Dc1 12 LSB , however the average over time for each phase
+
is Dc1 12 LSB as well (Fig. 10). The equal averaging over
+
( )
the condition resolution DP W M > resolution ADC is ( ) time for each phase is necessary to avoid DC current mismatch
not met. Subsequently 3-bit digital dither was introduced, among the phases. This approach can be extended for other
increasing the effective resolution of the DPWM module to sub-bit levels, like Dc1 14 LSB , noting that for a multi-phase
+
7 + 3 = 10 bits. The step response of the modified system is converter with N phases, log2 N bits of dither can be imple-
shown in Fig. 8(b). The effective resolution of the DPWM is mented by averaging over the phases. The advantage of this
now higher than that of the ADC, and steady state limit cycles “multi-phase dither” technique is that the resulting output rip-
are eliminated. It should be noted that in this case the steady ple is smaller, since for any switching period the average duty
state ripple is only due to the multi-phase switching and the cycle over all phases is the same. As a result of the ripple re-
dither, and it does not exceed a few millivolts. This example duction, approximately log 2 N more bits of DPWM resolution
illustrates the effectiveness of the controlled dither concept. can be implemented with dither.
vr;dith H (fdith ) Ap p;dith (11) the effective resolution of the DPWM module,
( )
where H fdith is the attenuation of the output LC filter at Nadc = Ndpwm;eff N = Ndpwm + M N; (18)
frequency f dith . p
The LC filter has a cutoff frequency at f c =1 2
= Lo Co the ADC bin size is
after which it rolls off at -40 dB/dec. Real capacitors have finite
Vadc = Vin =2N = Vin =2N
adc dpwm +M N : (19)
effective series resistance (r ESR ) which causes a zero in the
filter characteristic at frequency f z =1 2
= rESR Co , changing Substituting (16) and (19) in (17), we obtain
the rolloff to -20 dB/dec. Thus,
2
fc
2N 1
vr;dith < Vin Ndpwm+M :
H (f )
f
for fc < f < fz ; (12) 2 (20)
R EFERENCES
fc 2
vr;dith
fz fsw
2 4 2NVin
M
dpwm
(15) [1] Christopher P. Henze, “Power converter with duty ratio quantization”,
United States Patent Number 4,630,187, Dec. 1986.
[2] A.M. Wu, Jinwen Xiao, D. Markovic, and S.R. Sanders, “Digital PWM
control: application in voltage regulation modules”, in 30th Annual IEEE
for fc < fz < fdith . Power Electronics Specialists Conference, Charleston, SC, USA, 1999,
vol. 1.
[3] A.P. Dancy, R. Amirtharajah, and A.P. Chandrakasan, “High-efficiency
multiple-output DC-DC conversion for low-voltage systems”, IEEE
Transactions on VLSI Systems, vol. 8, no. 3, June 2000.
Once the amplitude of the dither is known, a condition on [4] A.P. Dancy and A.P. Chandrakasan, “Ultra low power control circuits for
how many bits of dither, M , can be used in a certain system PWM converters”, IEEE PESC, June 1997.
[5] G.F. Franklin, J.D. Powell, and M. Workman, Digital Control of Dynamic
can be developed. To ensure that the dither does not cause Systems, Addison-Wesley, third edition, 1998.
steady-state limit cycling, there should always be an effective [6] A. Gelb and W.E. Vander Velde, Multiple-Input Describing Functions and
Nonlinear System Design, McGraw-Hill, 1968.
DPWM level that completely fits into one ADC quantization [7] B. Rose, “Voltage regulator technology requirements”, in 4th Annual Intel
bin, taking into account the dither ripple. With M -bit dither, Technology Symposium, Seattle, USA, Sept. 2000.
the effective DPWM quantization bin size is [8] Jinwen Xiao, A.V. Peterchev, and S.R. Sanders, “Architecture and IC
implementation of a digital PWM controller”, in PESC, 2001.
Vdpwm;eff = Vin =2N dpwm;ef f
= Vin =2N dpwm +M : (16)
[9] S. Canter and R. Lenk, “Stabilized power converter having quantized duty
cycle”, United States Patent Number 5,594,324, Jan. 1997.