Taeed 2015
Taeed 2015
Taeed 2015
Acknowledgements
This research is primary supported by Interreg 4A- European Regional Development fund for
Schleswig-K.E.R.N. and Southern Denmark region (eMOTION) and partially supported by the Danish
Energy Agency’ EUDP program.
Keywords
Digital control, Converter Control, DC power supply, Adaptive control, Field Programmable Gate
Array (FPGA).
Abstract
An adaptive control technique for a digital current mode control of dc-dc converters is proposed in this
paper. The adaptive digital controller is designed to maintain the optimum gain-phase of the outer
control loop regardless of the changes in the load value. In the control algorithm, the load resistance is
calculated using the average current and output voltage values inside the digital processor. Next the
calculated value of the load resistance is used to tune the Proportional-Integral (PI) controller such that
the requirements for crossover frequency and phase margin values are fulfilled. In order to avoid the
calculation burden to slow down the program execution speed, the parameter values of PI controller
for each value of the load resistance are inserted into a look-up table inside the digital processor. To
verify the proposed technique, the controller is implemented in an FPGA to control a buck converter.
The experimental results show the excellent performance of the controller in presence of a load
change.
Introduction
In dc-dc converters the Current Mode Control (CMC) provides higher bandwidth and inherent over-
current protection compared to voltage mode control [1]. In CMC, the external control loop is a
voltage loop with output voltage as feedback and a voltage reference. The inner loop in CMC is
current loop in which the inductor current (peak, valley or average value of the inductor) is compared
with output of the voltage loop. Implementation of the controllers in discrete-domain has several
advantages compared to continuous domain implementation [2]. Discrete-domain (digital) controller
performance is less affected by temperature drift or component aging compared to continuous-domain
(analog) controller [2]. Digital controllers are also more flexible and easier to update. But they achieve
lower bandwidth compared to analog controllers due to delays created by Analog-to-Digital Converter
(ADC) and calculations [3]. Different types of solutions are proposed by researchers in order to
implement the digital CMC. A predictive digital CMC is proposed in [4]-[6], in these methods the next
duty cycle is predicted using the present value of duty cycle, inductor size, one sample of inductor
current and input voltage. These methods have dependency on inductor size; the inner current loop in
[4]-[5] has inherent delay which results in bandwidth reduction [7]. In order to avoid sampling and
measuring the inductor current, the sensor-less CMC have been proposed [8]-[10]. In these techniques,
the inductor current is predicted using parasitic parameters. This method requires less hardware
components for implementation; on the other hand it has high dependency on temperature and
component aging. In another approach, the inductor current is re-generated inside the digital processor
using the falling slope of inductor current [11]. This solution does not have any dependency on
inductor size, but it is mainly applicable for dc-dc converters which are operating at Continuous
Conduction Mode (CCM). The common feature of all the proposed methods is dependency of the
outer loop transfer function on load resistance value. In these controlled converters, the outer loop
transfer function changes when the load value changes. Therefore, the controller should be tuned for
worst case condition. As a result, controller cannot always operate in the optimum conditions.
As it was mentioned earlier, digital controller has the merit of flexibility which allows implementation
of complicated control algorithms. Therefore, it is possible to implement a compensation mechanism
inside the digital controller in order to cancel or minimize the effect of load change in the controlled
converter.
In this paper, an adaptive control technique for compensating the load change in digital CMC of the
dc-dc converters is proposed. In the proposed solution, the load resistance is calculated using the
average value of output current and the output voltage. Normally both of these parameters are
available in digital CMC, therefore the proposed solution does not require extra hardware component.
The adaptive controller in this solution is a Proportional-Integral (PI) controller with variable
parameters. Values of PI controller parameters are determined by load resistance and output filter
capacitor.
ILp[n]
Ic [n] Compensator Counter
-mc[n]
IL
mr[n] tPWM -m [n]
f
ILdip[n] T𝑠𝑠
1<D[n]<� �
PWM Control Pulse
𝑡𝑡𝑃𝑃𝑃𝑃𝑃𝑃
i
D[n]
Fig. 1: Digital PCMC waveforms
The compensation counter is replica of compensation ramp which exists in analog PCMC [12]. The
compensation slope is shown with mc[n]. The compensation counter (ramp) is required in order to
prevent the sub-harmonic oscillation to happen and destabilize the controlled system [12].
The inner loop of digital PCMC block diagram is shown in Fig. 2. In [13], digital PCMC with
waveforms shown in Fig. 1 is modeled, which yields
IL(s)
Ri Gid(s)
Values of Gvd(s) and Gid(s) for a buck converter are obtained in [13]. The buck converter and its
corresponding transfer functions are shown in Fig. 3.
SW1
𝑉𝑉𝑖𝑖 𝑅𝑅𝑅𝑅𝑅𝑅 + 1
IL(t) 𝐺𝐺𝑖𝑖𝑖𝑖 (𝑠𝑠) =
L 𝑅𝑅 𝐿𝐿𝐿𝐿𝑠𝑠 2 + 𝑠𝑠 � 𝐿𝐿 + 𝑐𝑐𝑐𝑐� + 1
Vi c
+ 𝑅𝑅
D1 R Vo(t) 1 + 𝑟𝑟𝑟𝑟𝑟𝑟
r _ 𝐺𝐺𝑣𝑣𝑣𝑣 (𝑠𝑠) = 𝑉𝑉𝑖𝑖
𝐿𝐿
𝐿𝐿𝐿𝐿𝑠𝑠 2 + 𝑠𝑠 � + 𝑐𝑐𝑐𝑐� + 1
𝑅𝑅
Using transfer function in Fig. 3 and (1) the inner current loop transfer function obtains
𝑇𝑇𝑖𝑖 𝑇𝑇𝑖𝑖 −1
𝐼𝐼𝑐𝑐 (𝑧𝑧) �𝐾𝐾𝑃𝑃 + 𝐾𝐾𝐼𝐼 2 � + (−𝐾𝐾𝑃𝑃 + 𝐾𝐾𝑃𝑃 2 )𝑧𝑧 (4)
𝑇𝑇𝑃𝑃𝑃𝑃 (𝑧𝑧) = =
𝑒𝑒(𝑧𝑧) 1 − 𝑧𝑧 −1
𝐼𝐼𝑐𝑐 (𝑧𝑧)
In (4), Ti is sampling time for conversion of the system from s-domain into z-domain. The in (4)
𝑒𝑒(𝑧𝑧)
can be converted to an algebraic equation
𝐾𝐾𝐼𝐼 1 (6)
=
𝐾𝐾𝑃𝑃 𝑅𝑅𝑅𝑅
The next tuning rule obtains by keeping the gain constant at crossover frequency (fc). The open loop
transfer function of the outer loop including the PI controllers equal to
𝑅𝑅 ∙ 𝐾𝐾𝐼𝐼
𝐺𝐺𝑅𝑅 (𝑠𝑠) = (9)
𝑠𝑠
Assuming |𝐺𝐺𝑅𝑅 (2𝜋𝜋𝑓𝑓𝑐𝑐 )| = 𝐺𝐺, the second tuning rule for PI controller parameters obtains. Using (6) and
(9) values of KP and KI can be calculated as
And
𝐺𝐺 ∙ 2𝜋𝜋𝑓𝑓𝑐𝑐
𝐾𝐾𝐼𝐼 [𝑛𝑛] = (11)
𝑅𝑅[𝑛𝑛]
Substituting (10) and (11) in (5) yield the required K1 and K2 parameters for digital PI controller. The
G value can be found by sketching the bode plot of the system using (7) and (8) and finding the
required amplitude at fc.
In Fig.4 the block diagram of adaptive digital PCMC is shown. The “PI parameters calculation”
calculates the R using measured ILavg and Vo values. Additionally, it calculates K1 and K2 using (10)
and (11). In the buck converter average value of inductor current (ILavg) and average value of load
current in steady-state condition are equal; therefore ILavg can be used instead of the average load
current for finding the load resistance. The measurement gains for output voltage and inductor current
are shown by RV and Ri respectively.
+ -
PWM
K1 K2 DC
ILavg[n] PI parameters
Calculation mc[n]
R vV o
ADC
4 K1
K2
-4
-8
1 4 7 10 13 16 19 22 25 26
R(ohm)
In order to reduce the calculation time of the digital processor, values of K1 and K2 for defined range
of R can be calculated offline and saved in a look-up table.
4.8 kHz
4.8 kHz
61.8°
The open-loop gain and phase which is identified by (7) is measured using Agilent 4395A network
analyzer and an injection transformer. The measured values are saved in an ASCII file, and then they
are plotted in MATLAB. In Fig. 6, the measured open-loop transfer functions using Adaptive and
conventional PI controllers in minimum load value are shown. Since the minimum load condition is
the worst design case, both of the controllers have equal crossover frequency (≈ 4.8 kHz) and phase
margin (≈61.8°).
4.333 kHz
3.948 kHz
(b) Phase(degree)
Fig. 7: Comparison of measured open-loop gain and phase controllers in nominal load of 4Ω
The Top(s) changes due to the load value change. The adaptive PI controller is able to compensate for
the transfer function changes due to the load variation. But in the conventional PI controller, no
reaction to the load change occurs. Therefore as Fig. 7 indicates, the crossover frequency declines and
phase margin increases in the nominal load condition in the case of conventional PI controller. The
phase margin increase and crossover frequency decline result in slower response of conventional
controller compared with the adaptive controller. The crossover frequency variation for adaptive
controller from the minimum load to nominal load condition is around 467 Hz, whereas this value is
852 Hz for conventional PI controller (almost two times of adaptive controller). In the same manner,
the phase margin change for adaptive controller is about 9° versus 30° for conventional PI controller.
5
Conventional PI
4.75 Adaptive PI
Crossover frequency (kHz)
4.5
4.25
3.75
3.5
0 4 10 16 21 26 30
R(ohm)
90 Adaptive PI
80
Phase margin (degree)
70
60
50
0 4 10 16 21 26 30
R(ohm)
(b) Phase margin
Fig. 8: Comparison of measured crossover frequency and phase margin in different load values
The measured crossover frequency and phase margin in five load values using conventional and
adaptive controllers are shown in Fig. 8. This figure demonstrates that the crossover frequency of
conventional PI controller is always lower or at most equal to crossover frequency of adaptive PI
controller. Therefore, adaptive controller has generally faster transient response. Furthermore, phase
margin of conventional PI controller is mostly larger or at least equal to adaptive PI controller. The
phase margin of the adaptive PI controller is always larger than defined design target of 60°. The
higher phase margin value is another reason for slower transient response of the conventional PI
controller.
In Fig. 9 transient response of the buck converter using conventional and adaptive PI controllers are
compared. The settling time for adaptive controller is around 400 µs versus the 1.6 ms for
conventional PI controller. The main reason for the difference is that the conventional PI controller has
lower crossover frequency and higher phase margin in nominal load value. When the step change in
the load occurs, the load current increases; therefore parameters of adaptive PI controller change in
order to compensate the effect of load change.
Vo 10V/div Vo 10V/div
2A/div 2A/div
IL IL
500µs/div 500µs/div
(a) Adaptive PI controller (b) Conventional PI controller
Fig. 9: Comparison of controller responses for step change in the load from 26Ω to 4Ω
Conclusion
An adaptive digital PI controller for current mode control of dc-dc converters is proposed in this
paper. Controller parameters are updated with changes in the load resistance value. The load resistance
value is calculated using measured output voltage and inductor current. The adaptive PI controller is
designed to maintain the crossover frequency and phase margin almost constant in presence of the
load change. The proposed controller is implemented in an FPGA to control a buck converter. The
experimental results show the superiority of proposed solution in the term of maintaining crossover
frequency and phase margin compared to conventional (constant parameter) PI controller.
Additionally, the proposed solution has much faster transient response versus the conventional
controller in presence of load step-up disturbance.
References
[1] R.B. Ridley, “A New Small-Signal Model for Current-Mode Control,” PhD Dissertation, Virginia
Polytechnic Institute and State University, Nov. 1990.
[2] D. Maksimovic, R. Zane, R. Erickson, “Impact of digital control in power electronics,” The 16th
International Symposium on Power Semiconductor Devices and ICs ISPSD '04, pp. 13-22, 24-27 May 2004.
[3] M. Hallworth, and S.A. Shirsavar, “Microcontroller-based peak current mode control using digital slope
compensation,” IEEE Transaction on Power Electronics, vol. 27, no. 7, pp. 3340-3351, Jul. 2012.
[4] J. Chen, A. Prodic, R.W Erickson, and D. Maksimovic, “Predictive digital current programmed control,”
IEEE Transactions on Power Electronics, vol. 18, no. 1, pp. 411-419, Jan. 2003.
[5] Y.Sh. Lai, and Ch.A. Yeh, “Predictive Digital-Controlled Converter With Peak Current-Mode Control and
Leading-Edge Modulation,” IEEE Transaction on Industrial Electronics, vol.56, no.6, pp. 1854-1863, Jun.
2009.
[6] F. Taeed, M. Nymand, “A new simple and high performance digital peak current mode controller for DC-DC
converters,” Twenty-Ninth Annual IEEE Applied Power Electronics Conference and Exposition (APEC
2014), pp. 1213-1218, March 2014.
[7] Y. Yan, F.C. Lee, P. Mattavelli, Sh. Tian, “Small-signal Laplace-domain model for digital predictive current
mode controls,” IEEE Energy Conversion Congress and Exposition (ECCE 2012), pp. 1386-1393, Sept.
2012.
[8] Y. Qiu, H. Liu, and X. Chen, “Digital average current-mode control of PWM dc–dc Converters without
current sensors,” IEEE Transactions on Industrial Electronics, vol. 57, no. 5, pp. 1670-1677, May 2010.
[9] Q. Tong, Q. Zhang, R. Min, X. Zou; Zh. Liu, and Zh. Chen, “Sensorless Predictive Peak Current Control for
Boost Converter Using Comprehensive Compensation Strategy,” IEEE Transactions on Industrial
Electronics, vol. 61, no. 6, pp. 2754-2766, Jun. 2014.
[10] P. Mattavelli, “Digital control of DC–DC boost converters with inductor current estimation,” in Proc. 19th
Annu. IEEE APEC, vol. 1, pp. 74–80, Feb. 2004.
[11] F. Taeed, M. Nymand, “A novel high performance and robust digital peak current mode controller for DC-
DC converters in CCM,” IEEE 15th Workshop on Control and Modeling for Power Electronics (COMPEL
2014), pp. 1-5, June 2014.
[12] R.B. Ridley, “A new continuous-time model for current-mode control,” IEEE Tr. on Power Electronics, vol.
6, no. 2, pp. 271–280, Apr. 1991.
[13] F. Taeed, “Design and Implementation of Digital Current Mode Controller for DC-DC Converters,” PhD
Dissertation, University of Southern Denmark, Dec. 2014.