Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

IEEE PEDS 2011, Singapore, 5 - 8 December 2011

Correlation-based System Identification


of Digitally Controlled SMPS
Jun-Yan Liu \ Chun-Hung Yang2, Chien-Hung Tsae
Department of Electrical Engineering / Advanced Optoelectronic Technology Center (AOTC)
/ Green Energy Electronics Research Center (GREERC)
National Cheng-Kung University, Tainan, Taiwan, R.O.C.
Tel: +886-6-275-7575 ext. 62355 Fax: +886-6-234-5482
E_maiI1,2: {n26984999, n2894138}@mai1.ncku.edu.tw E-maiI3: chtsai@ee.ncku.edu.tw
Switched-mode Power Supply (SMPS) Patl. I: Opeilioop
Abstract- This paper presents a design procedure using the .�':.'!� .�:"�!!!��l!.'!..".:.�a:.�,,-_.
,__

correlation-based identification to determine the compensation ViII ..L VOlli


coefficients. A method for verifying the compensation
coefficients is also proposed. That solved the open-loop
T
frequency response of digitally controlled switched-mode power
supply is difficult to accurately measure and provided a method
to test the function of digital compensators. Experimental results
show that the open-loop and closed-loop frequency responses
obtained using the correlation-based identification method are r-------
close to the measured frequency responses. I
I
Keywords- digital control, switched-mode power supply I
I
(SMPS), compensation, correlation-based identification,
� ____________________ J
frequency response.
Digital COlltroller wilh Simple Idelltification Module

Fig. l. Digitally controlled Switched-mode Power Supply (SMPS) with


1. INTRODUCTION correlation-based identification module.

Digitally controlled switched-mode power supply (SMPS) characteristics of the system model. Non-parametric system
have emerged in recent years due to attractive features they identification methods analyze the input test signal and output
offer and potential advantages over analog realizations. A disturbance signal to directly obtain the impulse response or
digitally controlled SMPS is shown in Fig. I. The analog-to­ frequency response.
digital converter (ADC) acquires the analog output voltage Non-parametric include frequency response [3-5], Fourier
Vout(t) and calculates the error signal e[n], which is the and spectral analysis [3] can be used to obtain the system
difference between Vout[n] and Vrerln]. The digital frequency response; Transient response [4] and correlation
compensator is a digital filter that calculates the duty analysis methods [6-9] can be used to obtain the system
command d[n] from e[n]. The duty signal proportional to d[n] impulse response. Correlation analysis has a short detection
is generated with the digital pulse-width modulator (DPWM). time, simple operation, and good signal-to-noise ratio [6], and
It is important to ensure the correctness of the digital can be integrated with a digital controller. This paper presents
compensator in the digital controller for SMPS. The incorrect a design and verification procedure for determining the
compensation coefficients can negatively affect downstream compensation coefficients using correlation identification.
devices and systems. To determine the compensation The rest of this paper is organized as follows. Section 11
coefficients, a state-space averaged model [I] is typically reviews correlation-based identification theory and shows the
used to find the control-to-output frequency response to design and verification flow of a digital compensator. Section
obtain poles, zeros, and the phase margin at the desired III introduces the configuration of measurement.
crossover frequency. However, parameters of components Experimental results are shown in Section IV. The
and impacts of PCB, wire, de-coupling capacitors are difficult conclusions are given in Section V.
to accurately measure. Even if all parameters can be
11. CORRELATION-BASED IDENTIFICATION
measured, a complicated model is difficult to analyze. The
open-loop frequency response can be measured using A. Review ofCorrelation Analysis Method
instruments [2]. However, instruments are expensive and Assume that a switching power converter is operating in
designer must know instruments operation. the steady state. For small-signal analysis, the small-signal
The time-domain and frequency-domain information can model of the switching power converter is equivalent to a
be found using system identification [3]. Identification linear time-invariant discrete-time system. The sampled
methods can be divided into parametric and non-parametric output voltage y[n] can be expressed as:
types. Parametric system identification methods obtain the 00

system transfer function or state-space matrix to describe the y[n] = L h[k]u[n - k] + v[n] (I)
k=-oo

978-1-4577-0001-9/11/$26.00 ©2011 IEEE 1149


where h[k] is the discrete-time impulse response of the
system under test; u[n] is the input test signal; and v[n] are
the disturbances. ,.
From the definite of cross-correlation, the cross-correlation
of the input test signal and output voltage is given by: ,.
00

Ruy [ n] = L: h[ k]RuzJ n - k] + Ruv [n] (2)


k=- oo
where Ruy is the cross-correlation of the input test signal and ''''

output voltage and Ruu is the auto-correlation of the input test 100

i'" �
signal. Assume that u[n] and v[n] are uncorrelated, and that -
? .......
i

u[n] is white noise with its autocorrelation an ideal delta 50


�'
. -
, /
·100
function. The cross-correlation of the input test signal and
____ 0 __ ___ 0 _ 0 _ _ o •• _ . __

,"
output voltage equals the discrete-time impulse response of ,��--����
, ������,.7
, --�--��,�
�--��
�l'(!(II-e11t)' (1 It)
the system under test. The open-loop frequency response of Fig. 2. Digital controller with correlation-based identification module.
the switching power converter can then be derived by
applying the discrete Fourier transform (DFT) to Ruy[n]:
DFT )
Ruy [n] = h[n] H(jm) (3)
The above result requires the signal generator to generate a
white noise. Tn the implementation, an approximate white
noise signal is easily generated with pseudorandom binary
sequence (PRBS) perturbations by a shift register and
feedback taps.
.,.
B. Design Procedure ofDigital Compensator
Tn practice, the correlation-based identification method can
be used to directly obtain the open-loop frequency response
of the SMPS. The open-loop measurement path of the block
; . ......
diagram is shown in Fig. 2 (Path 1). The correlation-based . ,. �. ";ypinl �C1mp('nsalion b:llildwidih nll�c! (fJlO -/.tJO) _..
,,' ,,' ..'
identification module includes a shift register that generates
the PRBS test signal u[n] to disturb duty command d[n], Fig. 3. Digital compensator's quantization effect

causing it to increase or decrease randomly, and a data frequency response. Therefore, the method can be used to
collection unit that stores u[n] and y[n] data into memory. verifY digital compensator coefficients. Moreover, it can also
The system open-loop frequency response can be obtained be used to determine the word length of coefficients in order
using (2) and (3). to avoid quantization effects (i.e. finite word length), Fig. 3.
The overall design and operating procedures are as follows:
1) Set default compensation coefficients. TIT. COMPARISON OF FREQUENCY RESPONSE

2) Enable identification module.


A. Open-loop Transfor Function
3) Calculate and update new compensation coefficients. The state-space averaged model of a digitally controlled
From the identified open-loop frequency response, the
SMPS was given in [1] as control-to-output transfer function
details of the loop can be measured without instruments. That
Gvd(z). To consider the ADC and DPWM effects [10], the
helps us to design the compensation coefficients quickly and
open loop transfer function can be expressed as:
accurately.
Gopenloop(z) = GdpwnJz), Gvd(z), Gadc(z) (4)
C. VerifY a Design ofDigital Compensator
where Gdpwm(z) is the transfer function of the DPWM that
Correlation-based identification can also be used to
includes the gain and the delay time between the compensator
measure the frequency response of the digital compensator.
and DPWM; Gadc (z) is the transfer function of the ADC that
As an example, Fig. 1 shows a block diagram of the
includes the gain and the conversion time. The open-loop
measurement of the frequency response of the digital
frequency response can be plotted using MATLAB.
compensator (Path 2). During the identification mode, the
However, the characteristics of all the parameters of the
system is held in steady-state operation, which means that the
circuit under test cannot be exactly obtained. Device
error signal, e[n], and the duty control signal, d[n], are
parameters should be measured using an impedance analyzer
constant. The PRBS test signal u[n] is added to e[n] and the
as possible.
output data is collected from d[n]. The digital compensator
frequency response can be obtained using (2) and (3). The B. Measurement ofR-L-C Filter
identified frequency response is compared with the predicted The comer frequency fo can be measured using an R-L-C
curve in Fig. 2. The result closely matches the predicted filter for comparison with the open-loop frequency response.

1150
Blick Converter with Disconnected Power MOSFET Switched-III ode Power Supply (SMPS)
Vout ViII Vout

�� �
V,-.--.rv;LV-V-'--�V'v"""-+---"""--+ --L
Duty

F
RL
AC T
=

Fig_ 4_ Conceptual diagram of the measurement of R-L-C filter.

For example, a buck converter with disconnected power Digital COli/roller without Compel/sator
MOSFETs is shown in Fig. 4. The transfer function of the R­ Fig. 5. Conceptual diagram of the measurement of R-L-C filter.

L-C filter can be expressed as: Frequency Response

GIH"-C (s) = Gvd,huck (s) / Vg (5) 4 0 r----------


--,- ----,-
--,- --,---,
--- ,--,------
-,-, ----
-,--- ----,-
-,--- .-,---,-
-- -,--,-----,-
,- ----,-
--- ---,-
--- ---,-
---, ,--,-,-----,-
--,-- ----,.-
-- ----,

where Gvd.buck(S) is the continuous-time control-to-output i· 1


transfer function of buck converter and Vg is the input voltage
of the buck converter.
The measurement results include all components without
the power MOSFET effect. The measurement can be used to
observe the difference between the comer frequency of the
buck converter and the R-L-C filter. Assuming that Ron
(tum-on resistance of the power MOSFET) is sufficiently
small, the locations of the two comer frequencies will be very i<
...
close. -; ·100
:!
"'"
"-
C. Measurement ofOpen-loop Frequency Response -200 -------�.-------.--

The open-loop path has a digital input and output, but the ...
3� '-::_-'--'-'-'-.o...J.....
.i. ... U-'-'Iu..�
_-'--'-'--'--' ' -'--'--'-'...w.'_'_'__;
.. :_".,,--'---'--'
instrument has analog input and output. An open-loop O O

Frequency (Hz)
measurement method for digitally controlled SMPS that Fig. 6. Comparison of frequency responses.
avoids interference from additional ADC and digital-to­
analog converter (DAC) characteristics was proposed in [2, TABLE II
10]. COMPARISON OF FREQUENCY RESPONSES
The similar measurement environment configuration is Gail/ f90 fc PM f180 GM
Method
shown in Fig. 5. A shift-right register is used to remove the (dB) (kHz) (kHz) (def-f) (kHz) (dB)
gain error of the ADC and the DPWM. A DC signal controls Prediction 9.96 10.56 21.79 3.8 23.75 -1.83
the duty command d[n] to be within an acceptable value.
R-L-C Filter -- 11.23 -- -- -- --
During the measurement procedure, it is important that the
Network
duty command not be saturated by DC+AC. The amplitude of Analyzer
10.31 9.99 20.80 9.3 26.47 -4.71
the AC signal should be properly chosen. Correlation
10.70 10.81 22.10 8.1 27.84 -4.74
Identification
TV. EXPERIMENTAL VERIFICATION

The configuration of a digitally controlled buck converter


A. VerifY the Identified Frequency Response
for verification is given in Table 1. The power MOSFET is
The verification result is shown in Fig. 6. Frequency
Vishay Si4724. The digital controller was implemented using
responses were obtained using open-loop transfer function
an Altera DE2 Cyclone-ll FPGA, which includes an encoder,
prediction (dotted line), R-L-C filter measurement, network
a digital compensator, an 8-bit digital pulse-width modular, a
analyzer open-loop measurement (solid line), and identified
12-bit PRBS generator, and an interface for data collection.
open-loop measurement (dots) under a given set of operating
The output voltage is sampled by an 8-bit ADC (Analog
conditions. The comparison table is listed in Table IT. The
Devices AD7822).
correlation-based identification accuracy is close to one tenth
of the switching frequency, which is sufficient as a basis for
TABLE I determining the compensation coefficients.
CONFIGURATION OF THE BUCK CONVERTER
Specifications of Digitally Controlled Buck Converter B. Closed-loop Frequency Response
v.(T1 3. 3 L (flH) 1O Ron (mQ) 25 The closed-loop frequency response of digitally controlled
v,,(V! 1.2 TL (mQ) 10O ADC(bits) 8 buck converter can be measured likely analog controlled buck
/s(kHz) 390 C (flF) 22 DPWM(bits) 8 converter using a network analyzer. The correlation-based
Load(Q) 2 rc(mQ) 16 PRBS (bits) 12 identification method can also be used to measure the c1osed­
loop frequency response. Fig. 7 compares the closed-loop

1151
frequency response of the digitally controlled buck converter
obtained from a calculation that combined the identified
open-loop frequency response and identified frequency
response of the digital compensator (dots), and the network
analyzer measurement (solid line) under a given set of
conditions. The crossover frequency and phase margin results
are shown in Table TIT. The experimental environment of
digitally controlled buck converter is shown in Fig. 8 and
load transient response is shown in Fig.9.
Close-loop Frequency Response

Fig. 8. The photograph of experimental environment for digitally controlled


buck converter. The digital controller was implemented using an Altera DE2
Cyclone-II FPGA. The PCB includes Si4724 and AD7822.

OUlpUI Vo'wyc OU'IJU' Vultngc

so",v

Or---����"---.��r-�-----.�n---,,, l..oadCul"t'enf

...j.. I. 1.·I.! i i .. . . . t. ... ;. . ;. . !..J i i ! ! f


6(J lilA
600"'.....
·50 ···· ····..·
i
i . · · . .. . . .1 .. . . . . . . ....... ·
T
· ... ,. ··

·.!t;,11,,-. -;.. ,J
· · ·
:irOOmA

(a) Light load to heavy load. (b) Heavy load to light load.
·150
Fig. 9. Load transient response.

10' 10' 10'


(Hz) Frequency REFERENCES
Fig. 7. Comparison of c1osed·loop frequency responses.
[ 1] Maksimovic and R. Zane, "Small-signal discrete-time modeling of
digitally controlled PWM converters," Power ElectroniCS, IEEE
TABLE III Transactions on, vol. 22, pp. 2552-2556, 2007.
COMPARISON OF CLOSED·LOOP FREQUENCY RESPONSES [2] C.-H. Chen, W.·H. Chang, D. Chen, L.·P. Tai, and c..c. Wang,
"Modeling of digitally-controlled voltage·mode DC-DC converters,"
Method fc (kHz) PM (deg) in Industrial Electronics SOCiety, 2007. IECON 2007 33rd Annual
Conference of the IEEE, 2007, pp. 2005·2009.
Correlation-based Identification 18.22 75.5
[ 3] L. Ljung, System Identification: Theory for the User, 2nd ed. Upper
Network Analyzer 13.73 63.2 Saddle River,NJ: Prentice-Hall, 1999.
[ 4] B. Johansson and M. Lenells, "Possibilities of obtaining small·signal
Prediction 19.56 60.0 models of DC·to·DC power converters by means of system
identification," in Proc. Telecommunications Energy Conference.,
2000, pp. 65·75.
[5 ] N. Kong, A. Davoudi, M. Hagen, E. Oettinger, M. Xu, D. S. Ha, and
V. CONCLUSION
F. C. Lee,"Automated system identification of digitally-controlled
multi·phase DC·DC converters," in Proc. IEEE Appl. Power Electron.
A design procedure that uses correlation-based Con!, 2009, pp. 259 - 263.
identification to determine the compensation coefficients was [6] M. Shirazi, J. Morroni, A. Dolgov, R. Zane, and D. Maksimovic,
proposed. Several methods for obtaining frequency response "Integration of frequency response measurement capabilities in
digital controllers for DC·DC converters," IEEE Trans. Power
were used to verify the correlation-based identification results. Electron., vol. 23, no. 5, pp. 2524 - 2535, Sept. 2008.
The identification method can also be used to verify the [7] B. Miao, R. Zane, and D. Maksimovic, "System identification of
frequency response of the digital compensator. Correlation­ power converters with digital control through cross·correlation
methods," IEEE Trans. Power Electronics, vol. 20, no. 5, pp. 1093·
based identification gives detailed information about the 1099, Sept. 2005.
open-loop frequency response and the compensation [8] A. Barkley and E. Santi, "Improved online identification of a DC-DC
frequency response of a digitally controlled buck converter. converter and its control loop gain using cross-correlation methods",
Power Electronics, IEEE Transactions on, voL24, no.8, pp. 2021·
That solved a problem is the open-loop frequency response of 2031 2009.
digitally controlled SMPS difficult to accurately measure and [9] T. Roinila, T helin, M. Vilkko, 1. Suntio, and H. Koivisto, "Circular
provided another method to test the function of digital correlation based identification of switching power converter with
uncertainty analysis using fuzzy density approach," Simulation
compensators. Modeling Practice and Theory, vol. 17, no. 6, pp. 1043 -1058, JuL
2009.
ACKNOWLEDGMENT
[10] W.-H. Chang, "Switching mode power supply and method for
determining a compensation factor thereof," U.S. patent 7 548 048,
This work was supported by the National Science Council
Jun. 2009.
(Taiwan) under grant NSC IOO-2220-E-006-003. The authors
would like to thank College of Electrical Engineering and
Computer Science, Green Power Electronics Project, NCKU.

1152

You might also like