Sie sind auf Seite 1von 12

2524 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO.

5, SEPTEMBER 2008

Integration of Frequency Response Measurement


Capabilities in Digital Controllers
for DC–DC Converters
Mariko Shirazi, Jeffrey Morroni, Student Member, IEEE, Arseny Dolgov, Regan Zane, Senior Member, IEEE, and
Dragan Maksimovic, Senior Member, IEEE

Abstract—Recent work has shown the feasibility of integrating response can be used for design, diagnostic, or self-tuning
nonparametric frequency-domain system identification func- purposes. The success of these applications depends on the
tionality into digital controllers for switched-mode pulse-width fidelity of the identified frequency responses and the degree to
modulated (PWM) dc–dc power converters. The resulting dis-
crete-time frequency response can be used for design, diagnostic, which the process is automated, as well as the costs, in terms of
or self-tuning purposes. The success of these applications depends gate count, time duration of identification, and effect on output
on the fidelity of the identified frequency responses and the de- voltage, incurred to obtain these benefits.
gree to which the process is automated, as well as the costs, in System identification generally falls into two main cat-
terms of gate count, time duration of identification, and effect egories: parametric and nonparametric methods [7], [8].
on output voltage, incurred to obtain these benefits. This paper
demonstrates the feasibility of incorporating fully automated Parametric methods return the parameters of the system model
frequency response measurement capabilities in digital PWM such as the coefficients of a system difference equation, transfer
controllers at relatively low additional cost. In particular, it is function, or state-space model. Nonparametric methods return
shown that relatively accurate and smooth frequency response impulse response and/or frequency response data directly. The
data can be obtained using a Verilog-coded implementation with distinction is sometimes blurred for those applications that
low tens of thousands of logic gates and about 10 kB of memory.
The identification process can be accomplished in several hundred apply parametric methods to the results of a nonparametric
milliseconds and the output voltage can be kept within speci- analysis, e.g., [9], [10]. Parametric methods require, in addition
fied bounds during the entire process. Experimental results are to selection of an appropriate input stimulus, a priori selection
provided for four different PWM dc–dc converters, including a of a parameterized model structure including system order and
synchronous buck with two different filter capacitors, a boost number of zeros, construction of a suitable prediction error
operating in continuous conduction mode (CCM), and a boost
operating in discontinuous conduction mode (DCM). equation and loss function, and methods to minimize the loss
function. These methods have been applied to switched mode
Index Terms—Binary sequences, correlation, dc–dc power power converters experimentally [10]–[15] and through sim-
conversion, digital control, frequency response, Hadamard trans-
forms, identification, pulse-width modulated (PWM) power ulation [9], [16], [17], and are useful, e.g., for more complex
converters, quantization, switched mode power supplies. controller design [10]. Nonparametric methods do not assume
a system model and require only selection of an appropriate
stimulus.
I. INTRODUCTION Nonparametric identification methods include transient re-
sponse, cross correlation, frequency response, Fourier analysis,
and spectral analysis [7], [18]. Transient-response methods,
IGITALLY controlled switching power converters have
D the potential to offer increased functionality and perfor-
mance relative to traditional control methods due to the ease
which inject either a pulse or step input, require large input and
output perturbations to obtain good signal-to-noise ratios [7].
The frequency response methods, which excite the system with
with which complex, intelligent, and/or adaptive algorithms pure tones, require long identification times to obtain results
can be implemented in the controller at low additional cost over a wide range of frequencies with good frequency resolu-
[1]. Recent work in digital control for pulse-width modulated tion [7], [19]. Alternatively, in the Fourier analysis method, a
(PWM) dc–dc converters [2]–[6] has shown the feasibility of multifrequency input is applied and the frequency response of
integrating nonparametric frequency-domain system identi- the system is computed as the Fourier transform of the output
fication functionality. The resulting discrete-time frequency divided by the Fourier transform of the input [7]. This method
requires complex division at each frequency. In a related
approach using spectral analysis, the frequency response is
Manuscript received December 20, 2007; revised March 06, 2008. Current
version published November 21, 2008. Recommended for publication by Asso-
computed as the cross-spectral density estimate between input
ciate Editor H. Chung. and output divided by the power spectral density estimate of
The authors are with Colorado Power Electronics Center, Department of Elec- the input [7], [8], [18]. The cross correlation method exploits
trical and Computer Engineering, University of Colorado, Boulder, CO 80309 the fact that for a white input (i.e., one with zero mean whose
USA (e-mail: mariko.shirazi@colorado.edu; jeffrey.morroni@colorado.edu;
arseny.dolgov@colorado.edu; zane@colorado.edu; maksimov@colorado.edu). autocorrelation function is equal to a pulse at the origin and
Digital Object Identifier 10.1109/TPEL.2008.2002066 whose power density spectrum is flat), the impulse response of
0885-8993/$25.00 © 2008 IEEE
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2525

e.g., upon start up or following a change in load. During


identification, the system is run in open loop, with the com-
pensator output frozen at its steady-state value. The
system identification block generates the PRBS, , and
shapes it with a preemphasis filter to reduce the effects of ADC
quantization. The resulting sequence, , is injected into
the digital pulsewidth modulator (DPWM) on top of .
The shaping is removed by deemphasis of the measured output.
Cross correlation to obtain the impulse response is efficiently
computed using the fast Walsh–Hadamard transform (FWHT),
followed by truncation and FFT. Finally, the FFT data are
smoothed with a fractional-decade spectral window.
The paper begins with a review of previous work in system
identification by cross correlation in Section II, while Section
III presents a hardware-efficient implementation using fully
synthesizable Verilog code. Section IV shows the effects of
ADC quantization and presents the automated implementation
of preemphasis/deemphasis and the spectral smoothing tech-
niques of impulse response truncation and fractional-decade
Fig. 1. Digitally controlled PWM converter with integrated frequency response spectral smoothing. Section V presents the method imple-
measurement capabilities. mented to automate selection of the PRBS magnitude. Finally,
experimental results for several PWM dc–dc converter topolo-
gies incorporating these methods are presented in Section VI.
the system is proportional to the cross correlation between input
and output, while the correlation itself rejects any disturbances
II. REVIEW OF THE CROSS CORRELATION METHOD
to the system as long as they are uncorrelated with the input
[2]–[8], [11], [18]–[25]. Correlation analysis, followed by a The method of identification using cross correlation is well
fast Fourier transform (FFT) to obtain the frequency response, known, e.g., [2], [7], [20]. The salient result and application
is identical to the spectral analysis method using a white input. to a switched-mode power converter is presented here, with
The most commonly used input stimulus for correlation anal- reference to Fig. 1. A switched-mode power converter can be
ysis is a pseudorandom binary sequence (PRBS) generated as a regarded as a discrete-time linear time-invariant system if the
maximum-length sequence (MLS). Correlation analysis using system is in steady-state and the input perturbations are small.
MLS has been used for decades by audio engineers to measure If white noise with variance is chosen as the input stimulus
acoustical systems [19], [23]–[33], with more recent applica- , then the cross correlation of the input signal with the
tions to power electronics experimentally [2]–[6], [11], [21] and output error signal is given by
in simulation [22]. None of the audio works, and only [5] and [6]
of the power electronics works, have implemented the complete
identification using hardware description language (HDL).
In practical applications of correlation-based identification
to digitally controlled power converters, the analog-to-digital (1)
converter (ADC) introduces quantization error that corrupts
the identification results. Over the years, the audio engineering where is the discrete-time system impulse response. The
community has developed techniques to improve noise and converter control-to-output transfer function can then be found
distortion immunity of MLS-based transfer function mea- by applying the discrete Fourier transform (DFT) to .
surements. These methods, which will be discussed in more From a practical standpoint, it is convenient to approximate
detail later, include preemphasis/postemphasis [19], [23], [25], the white noise input with a PRBS based on an MLS. A PRBS
[31], [42], impulse-response truncation [23], [27], [29], and is a deterministic periodic signal that can be easily generated
fractional-decade smoothing [26], [33]. in hardware using a shift register and feedback taps [34]–[38].
This paper presents a practical, hardware-efficient imple- For a p-bit shift register, the location of the taps can be se-
mentation of correlation-based system identification for PWM lected so that the period of the resulting sequence of 0's and
dc–dc power converters, adapting methods from the audio 1's has the maximal length of . The corresponding
engineering field to reduce the effects of ADC quantization to PRBS, in Fig. 1, can be obtained by replacing the 0's
obtain an accurate and smooth system frequency response. The with +ū and the 1's with ū in the MLS, where ū is the desired
approach is completely automated online and can be applied duty-cycle perturbation magnitude. The PRBS length must be
to a wide range of PWM dc–dc converter architectures with designed such that the impulse response of the converter de-
no changes to the identification algorithm. An overall block cays within one injection period of the PRBS to ensure that the
diagram of the proposed system is shown in Fig. 1. Identifi- complete response is obtained. If this requirement is met, then
cation can be enabled at discrete instances during operation, output data, sampled once-per-switching cycle, can be collected
2526 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO. 5, SEPTEMBER 2008

Fig. 2. Simulated identification of CCM boost with q =0


. (a) Power stage parameters: V = 15 V, L = 100 μH, R = 700
m , and switching
frequency, F = 195 kHz. (b) Impulse response. (c) Frequency response. In plots (b) and (c), the identification results (gray dots) are plotted against the discrete-
time model of the converter (black line).

over one period of the PRBS only and the cross correlation can 1)-point input and output sequences, zero-padded to N-point se-
be made circular so that (1) can be arranged as quences, sampled at the switching frequency .
III. HARDWARE EFFICIENT IDENTIFICATION
The cross correlation between the two sequences of (2) is a
(2)
matrix multiplication that takes operations.
However, the MLS has certain symmetry properties that allow
The circular cross correlation of (2) assumes that the input for efficient computation of the cross correlation function [3],
and output are periodic. Thus, it must be ensured that the system [24], [40]–[44]. The steps to exploit this symmetry begin with
has reached periodic steady state with respect to the input PRBS the augmentation of the matrix multiplication upon which (2) is
before the output measurements are taken. If the PRBS length based to obtain
has been appropriately chosen, it is sufficient to inject the PRBS
twice and collect the output data over the second injection pe-
riod. Even then, (2) is strictly valid only if any disturbances to
the system are uncorrelated with the input and are either pe- .. .. .. .. ..
riodic having a frequency which is an integer multiple of that . . . . .
of the PRBS or are transient and decay within the PRBS pe-
riod. Under these conditions, the circular cross correlation will
give the exact discrete-time impulse response (reversed in time
modulo-N). This is verified by simulation of the continuous con-
duction mode (CCM) boost converter shown in Fig. 2(a). The ..
.
simulation was performed in Simulink with no noise sources or
ADC nonlinearities modeled in the system. The resulting identi- (3)
fication produces the exact converter impulse response and after
zero-padding (to make the length equal to a power of 2) and per- where ũ[n] is the MLS with 0's replaced with +1 and 1's replaced
forming the DFT, its frequency response exactly matches the with 1 and ū is the magnitude of the PRBS. The transformation
discrete-time model prediction [39] up to , as shown in represented by (3) is called the M-transform. The matrix of the
Fig. 2(b) and (c). The frequency samples of the resulting DFT M-transform has order and can be shown to be per-
are spaced Hz apart, corresponding to the (N – mutationally equivalent to a Hadamard matrix of the same order
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2527

[40]–[43] according to , where M is the matrix of output voltage tolerances of the converter. In particular, a strin-
the M-transform, H is the Hadamard matrix of the same order, gent regulation band (e.g., ±3%) of the nominal output voltage
and and are the permutation matrices to reorder the rows is common for low-voltage buck converters. Furthermore, as the
and columns of H, respectively. Thus, (3) becomes goal of this paper is to present a practical implementation, a
modest ADC quantization interval, , is assumed.
(4) The system shown in Fig. 2(a) was resimulated with an ef-
fective (prior to sensing network) ADC quantization interval of
262 mV (0.9% of the output voltage), and an input duty-cycle
with and ê*[n] representing the vectors perturbation magnitude of ±1.0% (which results in an output
and e*[n] augmented according to (3). voltage perturbation of ±3%). As expected, the simulated iden-
The parenthetical structure of (4) reveals how the effects tification results, shown in Fig. 3(a) and (c), are corrupted by
of and can be realized by a simple reordering of the
quantization error. Fig. 3(b) and (d) shows experimental results
rows of the vectors they operate on. Thus, the M-transform has
for the same system and perturbation magnitude, with output
been effectively replaced by a transform of the form ,
voltage sampled between 0.7 and 0.8 μs prior to the gate-on tran-
called the Walsh–Hadamard transform (WHT). At first glance, sition to avoid sampling in the presence of switching noise. The
it seems that nothing has been gained, as the WHT of (4) experimental results closely match the simulated ones. Since no
now requires operations. However, the WHT belongs other nonlinearities or noise sources were included in the simu-
to the class of generalized Fourier transforms, and thus, there lation, it is clear that the corruption in the experimental results
exists a fast transform, the FWHT, which is based on the same is dominated by quantization error.
butterfly structure as the well-known FFT and which reduces
the order of the transform to operations. Finally, then, the A. Preemphasis/Deemphasis
operations of the matrix multiplication of (2) have
been replaced by the following steps. Fig. 3 shows the severe degradation of identification results
1) Zero-pad and then reorder the rows of e*[n] according to due to reduction in signal-to-noise ratio at high frequencies. A
. similar problem is encountered in FM broadcasting and audio
2) Perform the FWHT on the reordered data ( operations). recording systems and is solved using preemphasis/deemphasis
3) Reorder the transformed data according to . methods [32], [45]. The basic concept is to spectrally shape,
4) Drop the zeroth term of the result and reverse in time or preemphasize, a signal prior to injection into a system in a
modulo-N to obtain . way that makes it less susceptible to noise introduced by the
For p = 10, this method replaces 1 M additions with 10 k ad- system, and then, to apply the inverse filter to, or deemphasize,
ditions and two reorderings. Furthermore, as shown in [28], the output of the system to remove the shaping. This technique
[40], and [44], the permutation vectors that define the permu- has also been used in the audio engineering field to improve
tation matrices and can be easily generated on-the-fly the signal-to-noise ratio in identification experiments [19], [23],
using shift registers uniquely defined by the MLS upon which [25], [31], and is adapted here, with extensions to allow auto-
the input is based, thus eliminating the need to store them in mated design of the preemphasis filter.
memory. The preemphasis/deemphasis process employs two filters.
The final step is to take the FFT of to obtain The preemphasis filter takes as input the original PRBS,
. Since the FWHT is identical to the FFT with , and outputs , which is a multilevel sequence
multiplication by complex exponentials replaced by additions with high-frequency boost. If the preemphasis filter has been
and subtractions, the two algorithms share the same code. In properly designed, the resulting high-frequency components of
addition, although the FFT requires a complex exponential the measured output, , will have been boosted sufficiently
lookup table (LUT), it need only be registers long due to above the noise floor introduced by the ADC converter to
symmetry. significantly reduce the effects of quantization error. The deem-
phasis filter is the exact inverse of the preemphasis filter and
must be applied to to eliminate the shaping introduced by
IV. PREEMPHASIS/DEEMPHASIS AND SPECTRAL
SMOOTHING TECHNIQUES the preemphasis filter so that cross correlation of the resulting
signal, , with the unfiltered PRBS input, , will
Section II presented simulated identification results for an return .
ideal system with no external noise sources and an infinite res- The preemphasis filter chosen is a simple first-order finite-im-
olution ADC. In practical applications, the ADC of the digi- pulse response (FIR) filter with the following template transfer
tally controlled power converter introduces quantization error function:
that compromises the fidelity of the frequency response iden-
tification. In particular, since the converter is a low-pass filter, (5)
the signal-to-noise ratio of the measured output can be consid-
erably attenuated at high frequencies. Thus, for any converter, Here, K is the filter gain and is the filter corner frequency.
the dynamic range of the identification process, and therefore, For a given PRBS magnitude, the filter gain K and corner fre-
the range of frequencies over which the identification is valid, quency are selected according to the following criteria.
increases with the input perturbation and ADC resolution. How- 1) The filter must boost the output above the noise floor intro-
ever, the input perturbation magnitude is limited by the specified duced by the ADC.
2528 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO. 5, SEPTEMBER 2008

Fig. 3. Simulated and experimental identification of CCM boost of Fig. 2(a) with effective q = 262 mV. (a) and (c) Simulated impulse response and frequency
response. (b) and (d) Experimental impulse response and frequency response. In all plots, the identification results (gray dots) are plotted against the discrete-time
model of the converter (black line).

2) The filter must not saturate the duty cycle.


3) The preemphasized input must not cause the output voltage
to exceed tolerances.
It is possible to select K large enough and/or low enough
so that criterion (1) would be satisfied for almost any converter
desired. However, this would invariably cause criteria (2) and/or
(3) to be violated in many cases (in fact, the same could have
been achieved simply by increasing the PRBS magnitude). If
the original PRBS magnitude is chosen to maximize the output
voltage perturbation subject to the specified regulation band, it
is desired to design a filter that provides the minimum amount
of emphasis (in terms of the size of K and location of ) nec-
essary to satisfy criterion (1). One way to achieve this is to place
at the frequency where it is expected that quantization error
will begin to dominate the signal. This frequency depends not
only on the PRBS magnitude and , but also on the roll-off
characteristics of the converter being identified. The filter de- Fig. 4. Experimentally identified impulse response of CCM boost of Fig. 2(a)
with effective q of 262 mV and preemphasis/deemphasis.
sign method implemented here is to first perform identification
without preemphasis and use the resulting frequency response to
design the preemphasis filter. If the frequency response results
shown in Fig. 3 are smoothed using methods to be described where the magnitude of the frequency response drops below
in the next section, then can be selected as that frequency where is the PRBS magnitude.
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2529

Fig. 5. Complete identification process with preemphasis/deemphasis and spectral smoothing.

With the filter corner frequency selected as before, it is de-


sired to select K so that the preemphasis filter has a dc gain of
one. However, it must also be ensured that this value does not
saturate the duty cycle. This can be done using a result from ro-
bust control (see, e.g., [46])

(6)
Fig. 6. CCM buck converter hardware prototype.
which states that for a linear shift-invariant system with impulse
response f[n], the norm of the output y[n] is less than or equal
to the norm of the impulse response times the norm of
is that (7) can be used to exactly compute the maximum value
the input u[n]. For the case here with the PRBS input ,
of K to not saturate the duty cycle, i.e., to meet criterion (2).
first-order high-pass FIR filter , and output ,
It should be noted that there are some systems for which the
(6) becomes
benefits achieved using preemphasis/postemphasis may not be
practically realizable. This may happen, for example, with a
(7) buck converter with very low resonance (e.g., only several times
f) and a high zero from the capacitor equivalent series resis-
The derivation of (7) from (6) consists of three steps. First, tance (ESR). The slow response of this converter means that it
since is binary, its norm is simply the PRBS magni- will require a large duty cycle perturbation, even during unfil-
tude, . Second, the inequality in (6) can be replaced by tered PRBS injection, to achieve significant output voltage per-
equality according to [47] in which it is shown that the limit is turbation. The large dynamic range (the span in decibel from the
achieved when u[n] is a binary input whose sign matches that of largest magnitude response, typically at dc or near resonance,
f[n] flipped in time. For the first-order FIR filter of (5), all that to the smallest magnitude response, typically near ) of the
is required for equality is that go from negative to pos- converter means that the preemphasis filter corner frequency
itive anywhere in the sequence. This is the case for any PRBS will be quite low. These two factors combined would ideally
whose value changes more than once. Finally, it can be easily result in large duty cycle perturbations during preemphasized
shown that for an FIR filter with all zeros on the positive real axis injection. However, if, in addition, the converter operates with
(high-pass filter), , a very low or very high steady-state duty cycle, the duty cycle
where , is the norm of the filter. The result perturbations will be limited by saturation, and it is possible that
2530 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO. 5, SEPTEMBER 2008

Fig. 7. Comparison of the incremental effect of processing techniques on the experimentally identified frequency response of the CCM boost of Fig. 2(a). (a) Pre-/
deemphasis only. (b) Fractional-bandwidth smoothing only. (c) Pre-/deemphasis and fractional bandwidth smoothing. (d) Pre-/deemphasis, fractional-bandwidth
smoothing, and impulse-response truncation. In all plots, the identification results (gray dots) are plotted against the discrete-time model of the converter (black
line).

preemphasis may not improve the fidelity of the identified fre- [23], [27]. A further benefit of impulse response truncation is
quency response at all. The large filter action may, in fact, excite that if the PRBS length is properly chosen, it can be used to
nonlinearities of the DPWM, resulting in distortion of the fre- eliminate distortion artifacts in the impulse response arising
quency response. from DPWM nonlinearities, similar to observations noted in
[29].
B. Spectral Smoothing Techniques While impulse response truncation provides some spectral
Fig. 4 shows the experimental impulse response obtained smoothing, even greater benefits are achieved by directly
from identifying the same converter of Fig. 2(a) with the smoothing the frequency response by convolving the FFT
addition of preemphasis/deemphasis filtering based on the data with a spectral window. The window should be narrow
automated design procedure detailed earlier. It can be seen that enough not to smear true resonant peaks (thus introducing bias
even with preemphasis/deemphasis, the impulse response still into the frequency response), but wide enough to sufficiently
contains low-level noise distributed along its length. The audio smooth roughness caused by spurious peaks [7]. In fact, the
engineering field has shown that this noise often consists of optimum window is frequency dependent—narrow over fre-
both random noise as well as fixed-pattern noise, or distortion, quency ranges containing resonant peaks (i.e., frequencies near
introduced by nonlinearities. Furthermore, for a sufficiently and below the resonant peak of a low-pass filter) and wide over
long injection period, the linear portion of the impulse response frequency ranges containing many spurious peaks (i.e., high
will be entirely contained in the first part of the measured im- frequencies) [7]. To achieve this, fractional-decade spectral
pulse response, while the tail will consist entirely of the noise smoothing, which uses a constant relative bandwidth versus
components [23], [27], [29]. Thus, truncation of the impulse re- constant bandwidth, spectral window can be applied, as shown
sponse, prior to taking the FFT, increases both the random noise in audio applications [26], [33]. A common choice of window
and distortion immunity of the resulting frequency response, size in audio applications is one-third octave smoothing, i.e.,
and is preferred over simple averaging techniques that would a half-window width of one-third octave, as this is the range
improve random noise immunity, but not distortion immunity spanned by the human ear's critical bands [26]. However,
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2531

Fig. 8. Experimentally identified frequency responses of the converters of Figs. 2(a) and 6. (a) CCM boost. (b) DCM boost. (c) Buck with C = 600 μF.
(d) Buck with C =26
: mF. In all plots, the identification results (gray dots) are plotted against the discrete-time model of the converter (black line).

for pure identification purposes, i.e., in order to obtain the adopted here is to simply perform a moving average on the lin-
smoothest but still unbiased frequency response estimate, it is early spaced frequency response data using a dynamically sized
apparent that the bandwidth fraction should itself be dependent window that increases with frequency.
on the characteristics of the system being identified. In partic- Fig. 5 shows the complete identification process with preem-
ular, the bandwidth fraction should be inversely proportional to phasis/deemphasis as well as spectral smoothing by impulse re-
the frequency at which the magnitude transfer function begins sponse truncation and fractional-bandwidth smoothing.
to roll off, as this is where the signal-to-noise ratio also begins
to decrease. The method implemented here is to set the band- V. AUTOMATED SELECTION OF PRBS MAGNITUDE
width fraction equal to , where f is the frequency The preemphasis filter design presented in Section III as-
resolution of the identification, equal to , and is the sumes that the PRBS magnitude has been chosen to maximize
frequency where the phase of the frequency response drops the output voltage perturbation subject to the specified regu-
below 90 , easily identified as the first frequency where the lation band. For a given ADC quantization level, the dynamic
real part of the frequency response becomes negative. Since range of the identification will increase as the PRBS magnitude
for any stable system will occur at a frequency prior to is increased, until the point at which the converter is driven out
substantial attenuation, it can be identified from unsmoothed of its linear operating range. Under the reasonable assumption
results. that the specified regulation band of the converter is such that the
In order to implement fractional-octave smoothing, [26] in- converter operation remains largely linear over this range, it is
terpolates the frequency response data to produce data points desired to select the PRBS magnitude to achieve the maximum
equally spaced along a logarithmic frequency axis, smooth these allowable output voltage deviation. The magnitude required to
data by convolution with the desired fractional-octave window, achieve this depends on the converter itself, and therefore, it is
and then, performs an inverse interpolation to produce smoothed desirable to automate its selection online. The procedure im-
data equally spaced along a linear frequency axis. The method plemented here is to, starting with the smallest possible PRBS
2532 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO. 5, SEPTEMBER 2008

Fig. 9. Output voltage during identification of converters of Figs. 2(a) and 6. (a) CCM boost. (b) DCM boost. (c) Buck with C = 600 μF. (d) Buck with
C =26: mF. In all plots, the injection enable signal is plotted below the output voltage waveform.

magnitude of 1 LSB of DPWM command, , linearly in- at a switching frequency of 195 kHz. The parameters of the
crease the magnitude until an output voltage deviation of at least DCM boost converter are the same as in Fig. 2(a), except for
2 is recorded, and then, to continue to increase the magni- μH, m , and V. The experi-
tude until the first point at which the output voltage deviation in- mental buck converter power stage is illustrated in Fig. 6. This
creases further. This provides a range of PRBS magnitudes over system was identified with two different output capacitances,
which the quantized output voltage deviation remains constant. μF and mF. Output voltage was
The midpoint of this range is then selected and scaled by the sampled once-per-switching cycle just prior to the gate-on tran-
ratio of the specified regulation band to recorded output voltage sition with an effective ADC resolution of 262 mV for the boost
deviation to achieve a PRBS magnitude that will result in output cases and 7.8 mV for the buck cases. The digital controller and
voltage deviation close to the regulation band. system identification functions were implemented on a Xilinx
Virtex-IV field-programmable gate array (FPGA). A 10-bit shift
VI. EXPERIMENTAL RESULTS register (p = 10) was used to generate the PRBS sequence, re-
The CCM boost converter described in Section II as well as a sulting in a period of 1023 points and a frequency resolution of
discontinuous conduction mode (DCM) boost converter and two 190 Hz. Four 1024 × 18 bit RAM blocks were used to perform
CCM buck converters were experimentally tested with the au- and store the results of the cross correlation and FFT. All cal-
tomated preemphasis/deemphasis and spectral smoothing tech- culations were performed using fixed-point arithmetic. For the
niques described in Section V. All converters were operated FFT computations, 18 × 18 bit multipliers were used, 16 × 16
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2533

TABLE I
SUMMARY OF IDENTIFICATION RESULTS

TABLE II
RESOURCE REQUIREMENTS

bit multipliers were used for the preemphasis filter, and 22 × 16 tral smoothing functions. It should be noted in this table that
bit multipliers were used for the postemphasis filter. The 18-bit the sum of the logic gates for each function is greater than the
wide RAM blocks and FFT multipliers resulted in FFT magni- total logic gates required. This is due to resource sharing. In
tudes that were very similar to the floating point results obtained particular, the automated magnitude selection and the spectral
in Matlab with the same output voltage data. For example, for smoothing functions share a 4100-gate divider.
the 600 μF buck case, the worst case error between fixed-point
and floating-point results, which occurs at the lowest identified
frequency of 195 Hz, was 22 dB. The error decreased rapidly VII. CONCLUSION
from this point, with an error at resonance of 42 dB. If such This paper has demonstrated the feasibility of incorporating
precision is not required, 16-bit wide RAM blocks and FFT mul- fully automated frequency response measurement capabilities
tipliers may be sufficient. in digital controllers for PWM dc–dc converters at low ad-
Fig. 7 shows, for the CCM boost, the incremental improve- ditional cost. In particular, it has been shown that relatively
ments seen by using the preemphasis/postemphasis, fractional- accurate and smooth frequency response data can be obtained
bandwidth smoothing, and impulse response truncation tech- without requiring a high-resolution ADC or large output voltage
niques of Section III. There are noticeable improvements when
perturbations through the adaptation of preemphasis/postem-
using each method individually, but the smoothest and most ac-
phasis, fractional-bandwidth smoothing, and impulse response
curate frequency response is obtained by using the combination
truncation techniques from the audio engineering community.
of techniques.
The incremental improvement in frequency response fidelity, as
Fig. 8 shows the identification results using all three pro-
well as the incremental cost in terms of gate count, is presented
cessing techniques (preemphasis/deemphasis, fractional band-
for each of these techniques. The complete Verilog-coded
width, and impulse response truncation) for all the converter
implementation requires low tens of thousands of logic gates
topologies outlined before. In Fig. 9, the time-domain wave-
forms of the output voltage for each converter are also included, and 10 kB of memory. Experimental results are provided for
showing the automated sweep to determine PRBS magnitude, four different PWM dc–dc converters, including a synchronous
injection period for the identification without emphasis, com- buck, CCM boost, and DCM boost, showing the fidelity of the
putation time, and injection period for the identification with results that can be obtained. In addition, waveforms of output
emphasis. voltage during the identification process show that the identi-
A summary of the system identification results, including fication can be accomplished in several hundred milliseconds
PRBS magnitude, preemphasis filter parameters, output voltage and that the output voltage can be kept within specified bounds
perturbation magnitudes, and total identification duration, as during the entire process.
well as the specified regulation bands for each converter is given Although the results shown here are limited to first- and
in Table I. It can be seen that although the preemphasis filter second-order switching converters, the cross correlation ap-
does in some cases increase the output voltage perturbation, the proach as well as the fractional-bandwidth smoothing and
increase is only one and could in practice be accounted impulse-response truncation techniques are directly applicable
for by reducing the allowable output voltage tolerance used to to higher order systems, e.g., converters with input filters or
select the PRBS magnitude. Finally, Table II lists the resource resonant converters. However, for optimum results, the preem-
requirements, in terms of number of logic gates and required phasis/postemphasis filter design may need to be modified for
memory, to implement the identification core as well as the auto- converters with very large dynamic range, very steep magnitude
mated magnitude selection, preemphasis/deemphasis, and spec- roll-off, and/or valleys in the magnitude response.
2534 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 23, NO. 5, SEPTEMBER 2008

REFERENCES [25] E. Mommertz and S. Muller, “Measuring impulse responses with dig-
itally pre-emphasized pseudorandom noise derived from maximum-
[1] D. Maksimovic, R. Zane, and R. Erickson, “Impact of digital control in length sequences,” Appl. Acoust., vol. 44, no. 3, pp. 195–214, 1995.
power electronics,” in Proc. IEEE Int. Symp. Power Semicond. Devices [26] S. P. Lipshitz, T. C. Scott, and J. Vanderkooy, “Increasing the audio
ICs, 2004, pp. 13–22. measurement capability of FFT analyzers by microcomputer pro-
[2] B. Miao, R. Zane, and D. Maksimovic, “System identification of power cessing,” J. Audio Eng. Soc., vol. 33, no. 9, pp. 626–648, Sep. 1985.
converters with digital control through cross-correlation methods,” [27] C. Dunn and M. O. Hawksford, “Distortion immunity of MLS-derived
IEEE Trans. Power Electron., vol. 20, no. 5, pp. 1093–1099, Sep. impulse response measurements,” J. Audio Eng. Soc., vol. 41, no. 5,
2005. pp. 314–335, May 1993.
[3] B. Miao, R. Zane, and D. Maksimovic, “Practical on-line identification [28] J. Borish, “Self-contained crosscorrelation program for max-
of power converter dynamic responses,” in Proc. IEEE Appl. Power imum-length sequences,” J. Audio Eng. Soc., vol. 33, no. 11, pp.
Electron. Conf., 2005, pp. 57–62. 888–891, Nov. 1985.
[4] B. Miao, R. Zane, and D. Maksimovic, “FPGA-based digital network [29] J. Vankderkooy, “Aspects of MLS measuring systems,” J. Audio Eng.
analyzer for digitally controlled SMPS,” in Proc. IEEE Comput. Power Soc., vol. 42, no. 4, pp. 219–231, Apr. 1994.
Electron., 2006, pp. 240–245. [30] G. Stan, J. Embrechts, and D. Archambeau, “Comparison of different
[5] M. Shirazi, R. Zane, D. Maksimovic, L. Corradini, and P. Mattavelli, impulse response measurement techniques,” J. Audio Eng. Soc., vol.
“Autotuning techniques for digitally-controlled point-of-load con- 50, no. 4, pp. 249–262, Apr. 2002.
verters with wide range of capacitive loads,” in Proc. Appl. Power [31] J. Borish, “An efficient algorithm for generating colored noise using
Electron. Conf., 2007, pp. 14–20. a pseudorandom sequence,” J. Audio Eng. Soc., vol. 33, no. 3, pp.
[6] J. Morroni, A. Dolgov, M. Shirazi, R. Zane, and D. Maksimovic, 141–144, Mar. 1985.
“Online health monitoring in digitally controlled power converters,” [32] L. D. Fielder, “Pre- and postemphasis techniques as applied to audio
in Proc. IEEE Power Electron. Spec. Conf., 2007, pp. 112–118. recording systems,” J. Audio Eng. Soc., vol. 33, no. 9, pp. 649–658,
[7] L. Ljung, System Identification: Theory for the User, 2nd ed. Upper Sep. 1985.
Saddle River, NJ: Prentice-Hall, 1999. [33] P. D. Hatziantoniou and J. N. Mourjopoulos, “Generalized fractional-
[8] L. Ljung and K. Glover, “Frequency domain vs. time domain methods octave smoothing of audio and acoustic responses,” J. Audio Eng. Soc.,
of system identification,” Automatica, vol. 17, no. 1, pp. 71–86, 1981. vol. 48, no. 4, pp. 259–280, Apr. 2000.
[9] D. Maksimovic, “Computer-aided small-signal analysis based on [34] N. Zierler, “Linear recurring sequences,” J. Soc., vol. 7, no. 1, pp.
impulse response of dc/dc switching power converters,” IEEE Trans. 31–48, Mar. 1959.
Power Electron., vol. 15, no. 6, pp. 1183–1191, Nov. 2000. [35] S. W. Golomb, Shift Register Sequences. Laguna Hills, CA: Aegean
[10] B. Miao, R. Zane, and D. Maksimovic, “Automated digital con- Park Press, 1982, first published in 1967.
troller design,” in Proc. IEEE Appl. Power Electron. Conf., 2005, pp. [36] F. J. MacWilliams and N. J. A. Sloane, “Pseudo-random sequences and
2729–2735. arrays,” Proc. IEEE, vol. 64, no. 12, pp. 1715–1729, Dec. 1976.
[11] B. Johansson and M. Lenells, “Possibilities of obtaining small-signal [37] S. W. Golomb, “On the classification of cyclic Hadamard sequences,”
models of dc-to-dc power converters by means of system identifica- IEICE Trans. Fundam., vol. E89, no. 9, pp. 2247–2253, Sep. 2006.
tion,” in Proc. Telecommun. Energy Conf., 2000, pp. 65–75. [38] K. Godfrey, Perturbation Signals for System Identification. Hertford-
[12] M. M. Peretz and S. Ben-Yaakov, “Time domain identification of PWM shire, U.K.: Prentice-Hall, 1993.
converters for digital controllers design,” in Proc. IEEE Power Elec- [39] D. Maksimovic and R. Zane, “Small-signal discrete-time modeling of
tron. Spec. Conf., 2007, pp. 809–813. digitally-controlled dc-dc converters,” IEEE Trans. Power Electron.,
[13] J. Choi, B. H. Cho, H. F. VanLandingham, H. Mok, and J. Song, Lett., vol. 22, no. 6, pp. 2552–2556, Nov. 2007.
“System identification of power converters based on a black-box [40] E. E. Sutter, “The fast M-transform: A fast computation of cross-corre-
approach,” IEEE Trans. Circuits Syst., vol. 45, no. 11, pp. 1148–1158, lations with binary M-sequences,” J. Soc., vol. 20, no. 4, pp. 686–694,
Nov. 1998. Aug. 1991.
[14] Z. Zhao and A. Prodic, “Limit-cycle based auto-tuning system for dig- [41] A. Lempel, “Hadamard and M-sequence transforms are permutation-
itally controlled dc-dc power supplies,” IEEE Trans. Power Electron., ally similar,” Appl. Opt., vol. 18, no. 24, Dec. 1979.
vol. 22, no. 6, pp. 2211–2222, Nov. 2007. [42] M. Cohn and A. Lempel, “On fast M-sequence transforms,” IEEE
[15] S. Jeong and S. Song, “Improvement of predictive current control per- Trans. Inf. Theory, vol. 23, no. 1, pp. 135–137, Jan. 1977.
formance using online parameter estimation in phase controlled recti- [43] S. Z. Budisin, “Fast pn sequence correlation by using FWT,” in Proc.
fier,” IEEE Trans. Power Electron., vol. 22, no. 5, pp. 1820–1825, Sep. Electrotech. Conf., 1989, pp. 513–515.
2007. [44] A. Alaqeeli and J. Starzyk, “Hardware implementation for fast convo-
[16] P. Huynh and B. H. Cho, “Empirical small-signal modeling of lution with a pn code using field programmable gate array,” in Proc.
switching converters using Pspice,” in Proc. IEEE Power Electron. Southeastern Symp. Syst. Theory, 2001, pp. 197–201.
Spec. Conf., 1995, pp. 801–808. [45] H. P. E. Stern and S. A. Mahmoud, Communication Systems: Analysis
[17] K. T. Chau and C. C. Chan, “Nonlinear identification of power and Design. Upper Saddle River, NJ: Prentice-Hall, 2004.
electronic systems,” in Proc. Power Electron. Drive Syst., 1995, pp. [46] S. Boyd and J. Doyle, “Comparison of peak and RMS gains for dis-
329–334. crete-time systems,” Syst. Controls Lett., vol. 9, no. 1, pp. 1–6, Jun.
[18] P. E. Wellstead, “Non-parameteric methods of system identification,” 1987.
Automatica, vol. 17, no. 1, pp. 55–69, 1981. [47] M. A. Dahleh and J. B. Pearson, “optimal-feedback controllers for
[19] S. Muller and P. Massarani, “Transfer-function measurement with MIMO discrete-time systems,” IEEE Trans. Autom. Control, vol. 32,
sweeps,” J. Audio Eng. Soc., vol. 49, no. 6, pp. 443–471, Jun. 2001. no. 4, pp. 314–322, Apr. 1987.
[20] A. V. Oppenheim, R. W. Schafer, and J. R. Buck, Discrete-Time Signal
Processing, 2nd ed. Upper Saddle River, NJ: Prentice-Hall, 1999.
[21] L. C. Benn, B. Burton, and R. G. Harley, “PWM spectrum analysis
Mariko Shirazi received the B.S. degree in mechan-
and optimization for model based condition monitoring and control,”
ical engineering from the University of Alaska Fair-
in Proc. IEEE Ind. Appl. Conf., 2001, pp. 1311–1318. banks in 1996, and the M.S. degree in electrical en-
[22] M. Allain, P. Viarouge, and F. Tourkhani, “The use of pseudo-random gineering in 2007 from the University of Colorado,
binary sequences to predict a dc–dc converter's control-to-output Boulder, where she is currently working toward the
transfer function in continuous conduction mode,” in Proc. Canadian Ph.D. degree in electrical engineering.
Conf. Electr. Comput. Eng., 2005, pp. 574–577. From 1996 to 2004, she was an Engineer at
[23] D. D. Rife and J. Vanderkooy, “Transfer-function measurement with the National Wind Technology Center, National
maximum-length sequences,” J. Audio Eng. Soc., vol. 37, no. 6, pp. Renewable Energy Laboratory, where she was
419–444, Jun. 1989. engaged in research on the design and deployment of
[24] J. Borish and J. B. Angell, “An efficient algorithm for measuring the hybrid wind–diesel power systems for village power
impulse response using pseudorandom noise,” J. Audio Eng. Soc., vol. applications. Her current research interests include system identification and
31, no. 7, pp. 478–487, Jul./Aug. 1983. autotuning of digitally controlled switched-mode power supplies.
SHIRAZI et al.: FREQUENCY RESPONSE MEASUREMENT CAPABILITIES IN DIGITAL CONTROLLERS FOR DC–DC CONVERTERS 2535

Jeffrey Morroni (S’06) received the B.S. and Regan Zane (SM’07) received the B.S., M.S., and
M.S. degrees in electrical engineering in 2008 from Ph.D. degrees in electrical engineering from the
the University of Colorado, Boulder, where he is University of Colorado, Boulder, in 1996, 1998, and
currently working toward the Ph.D. degree in power 1999, respectively.
electronics. In 2001, he joined the University of Colorado as
His current research interests include adaptive a Faculty Member, where he is currently an Asso-
tuning and control of power electronics systems. ciate Professor of Electrical Engineering. During
1999–2001, he was with the GE Global Research
Center, Niskayuna, NY, where he developed custom
integrated circuit controllers for power management
in electronic ballasts and lighting systems. His
current research interests include energy-efficient lighting systems, adaptive
and robust power management systems, and low-power energy harvesting for
wireless sensors.
Arseny Dolgov received the B.S. degree in aerospace Dr. Zane was the recipient of the National Science Foundation (NSF)
engineering sciences in 2007 from the University of CAREER Award in 2004 for his work in energy efficient lighting systems,
Colorado, Boulder, where he is currently working the 2005 IEEE Microwave Best Paper Prize, the University of Colorado 2006
toward the M.S. degree in electrical engineering, Inventor of the Year Award and the 2006 Provost Faculty Achievement Award,
and also, working at the Colorado Power Electronics and the 2008 John and Mercedes Peebles Innovation in Teaching Award.
Center. He is currently an Associate Editor of the IEEE TRANSACTIONS ON POWER
His current research interests include low-power ELECTRONICS LETTERS, and a member-at-large of the IEEE Power Electronics
wireless sensors and RF energy harvesting. Society AdCom.
Mr. Dolgov was awarded the Dean's Outstanding
Graduate for Research Award by the University of
Colorado.
Dragan Maksimovic (SM’05) received the B.S. and
M.S. degrees in electrical engineering from the Uni-
versity of Belgrade, Yugoslavia, in 1984 and 1986,
respectively, and the Ph.D. degree from the California
Institute of Technology, Pasadena, in 1989.
From 1989 to 1992, he was with the University of
Belgrade. Since 1992, he has been with the Depart-
ment of Electrical and Computer Engineering, Uni-
versity of Colorado, Boulder, where he is currently
a Professor and the Director of the Colorado Power
Electronics Center (CoPEC). His current research in-
terests include digital control techniques and mixed-signal integrated circuit de-
sign for power electronics.
Prof. Maksimovic was the recipient of the National Science Foundation
CAREER Award in 1997, the Power Electronics Society TRANSACTIONS Prize
Paper Award in 1997, the Bruce Holland Excellence in Teaching Award in
2004, and the University of Colorado Inventor of the Year Award in 2006.

Das könnte Ihnen auch gefallen