Model_predictive_control_of_classic_bidirectional_DC-DC_converter_for_battery_applications
Model_predictive_control_of_classic_bidirectional_DC-DC_converter_for_battery_applications
16-18 Feb. 2016, Iran University of Science and Technology, Tehran, Iran
A. Pirooz, R. Noroozian
Department of Electrical Engineering
University of Zanjan
Zanjan, Iran
[email protected], [email protected]
Abstract— In this paper, controlling of a DC-DC bidirectional Controlling bidirectional DC-DC converters is another
converter is investigated using model predictive control (MPC) challenge that has been the subject of many researches in
technique. The converter is supposed to connect a battery bank literature. Controlling method must provide fast dynamic
to the DC bus. The main purpose of MPC method is to maintain response and follow the reference signal in both power flow
the DC bus voltage in a predefined rated range, which means directions. Pulse width modulation (PWM) and phase-shift
injecting active power to the DC bus to increase bus voltage and control [7], hysteresis current control (HCC) [8] and fuzzy
discharging the battery, and on the contrary absorbing active control [9] are different controlling techniques that could be
power from the DC bus to decrease bus voltage and charging the applied to bidirectional DC-DC converters.
battery. The control strategy also disconnects the battery bank
while DC bus voltage is in the predefined rated range. Model predictive control (MPC) is a derivative of
Simulations have been done in PSCAD/MATLAB software predictive control family which uses a predefined cost
interfacing and results show the feasibility of the proposed function in order to make system variables follow their
controlling strategy to conduct active power on both directions. reference values. An accurate mathematical discrete-time
model of the system is needed to predict future behavior of the
Keywords—bettery bank; model predictive control; bidirectional variables. On each time step, subject to the predicted values
DC-DC converter; DC voltage control and the cost function, an optimization problem is solved
online over a finite prediction horizon which leads to optimal
I. INTRODUCTION controlling actions. Basic idea of MPC is easy to understand
Nowadays distributed generation (DG) units are highly and it could be applied to every system with known
integrated into DC and AC distribution networks. Renewable mathematical models. A large number of calculations needs to
energy sources as photovoltaic and wind power units cannot be done online, but with powerful microprocessors available
supply the needs of power continuously in a distribution today, this cannot be a challenge for implementing MPC into
network due to their dependencies to environmental conditions power electronic converters which operate with fast dynamic
[1]. A battery bank is used to compensate the power difference behavior [10]. This research applies MPC to a classic
between loads and generation units [2]. Obviously batteries bidirectional DC-DC converter. It takes advantage of
are not infinite sources of power and discharge in a rather independent buck and boost operational modes of the
short period. In these cases also surplus power in the system is converter. Low voltage (LV) and high voltage (HV) sides of
used to charge the battery banks. As a result, the converter the converter are connected to a battery bank and a DC
connecting the battery bank to the system must allow power distribution network bus respectively. A predefined rated
flow between two buses on both directions. Bidirectional range is provided for the DC bus voltage which has a lower
converters are also used in DC uninterruptable power supplies and upper limit. A controlling strategy is proposed based on a
(UPS), electrical vehicles and ships [3-5]. voltage feedback signal from DC bus to discharge the battery
while DC bus voltage value is below the predefined rated
Basically, unidirectional DC converters as buck and boost, range, to charge the battery while DC bus voltage value
doesn't allow reverse current conductance since they have exceeds the predefined rated range and to disconnect the
diodes in their topology. By replacing diodes with controllable battery (idle mode) while DC bus voltage value is in the
switches they could be turned into bidirectional converters [6]. predefined rated range. The battery itself is modeled by its
The classic bidirectional converter which is shown in Fig. 1 is internal voltage VBAT and resistance RBAT. Accurate modeling
a combination of buck and boost converter which has the same of the battery bank is out of the subject of this research.
structure in both cases. The inductor is on the low voltage
(LV) side which the battery is connected to. Existence of the The rest of this paper is organized as follows. Section II
inductor on LV side decreases current ripple which is includes modeling of the converter. Predictive control of the
advantageous for charging and discharging the battery and converter is discussed in section III. Section IV includes
makes this converter suitable for battery applications. proposed controlling strategy for charging/discharging the
battery. Finally, simulation results using PSCAD/MATLAB
software interfacings are demonstrated in section V.
VDC
+
_ C VBAT
II. CONVERTER MODELING _
+
battery voltage level, and power flows from the DC bus to
charge the battery. While S2 is switching and S1 is constantly C VBAT
off, the converter operates in independent boost mode, battery _
518
Authorized licensed use limited to: Suranaree University of Technology provided by UniNet. Downloaded on December 10,2024 at 07:56:36 UTC from IEEE Xplore. Restrictions apply.
depending on switch S2 status. When S2 is on (S2=1), energy is E x(k ) + FVBAT for S = 1
stored in the inductor L through DC bus as shown in Fig. 3 (b). x(k + 1) = ® 1
¯ E2 x(k ) + FVBAT for S = 0 (7)
When S2 is off (S2=0), energy is released from the inductor L
to the battery as shown in Fig. 3 (c). Consequently, y (k ) = Gx(k )
continuous-time state space equations of the converter
becomes as below [11]: the matrices E1, E2, F and G are also defined as below:
E1 = 1 + ( A1 + A2 )Ts , E 2 = 1 + A1Ts
dx (t ) F = BTs , G = C
= ( A1 + A2 u (t )) x(t ) + BVBAT
dt (5) note that 1 is the identity matrix.
y (t ) = Cx(t )
III. MODEL PREDICTIVE CONTROL OF THE CONVERTER
where state variables are inductor current iL (t ) and DC bus
MPC scheme of buck and boost converters are presented in
voltage v DC (t ) : this section. Discrete-time modeling of the converter has been
achieved on previous section. MPC is generally classified into
discrete-time modeling, prediction and optimization blocks.
x (t ) = [i L (t ) v DC (t )]T (6) Measurements are imported to the algorithm on prediction
stage, based on previous modelings, all possible future
system matrices A1, A2, B and C are defined as below. u(t) is behavior of controlled variables are predicted as below:
status of the switch S2. If S2 is on, u(t)=1 and if S2 is off,
x pi (t k +1 ) = f p {x(t k ), S i }
u(t)=0. y(t) is also the output of the system. (8)
i = 1,..., n
ª 1 º ª 1º
«0 − » 0 ª1º future predicted values of control variables xpi(tk+1) are a
A1 = « 1 L ,A =« L », B = « », C = [0 1]
1 » « » L function of current values of control variables x(tk) subject to
« »
2
1 «0»
− «− 0» ¬ ¼ switching state of the converter Si. i is number of possible
¬« C R DC C ¼» ¬ C ¼ states for switchings. For example, there are two possible
switchings (on or off) for boost mode as there is only one
controllable switch. Equations (4) and (7) are used as
prediction function for buck and boost modes respectively.
The output of prediction stages is a two dimensional array for
iL L RBAT each operation mode. All predictions are forwarded to the
VDC optimization stage. MPC defines the output control actions
EBAT subject to a predefined cost function:
VBAT
g i = f g {x ∗ (t k +1 ), x pi (t k +1 )} (9)
where RDC is the equivalent resistance seen by the DC bus. By ° | V ∗ (k + 1) − VDC,S2 =1 (k + 1) | for S 2 = 1
J boost = ® DC (12)
using (3), discretization of (5) is resulted as: ∗
°̄| VDC (k + 1) − VDC,S2 =0 (k + 1) | for S 2 = 0
519
Authorized licensed use limited to: Suranaree University of Technology provided by UniNet. Downloaded on December 10,2024 at 07:56:36 UTC from IEEE Xplore. Restrictions apply.
∗ ∗
V DC ( k ), V BAT ( k ), iL ( k ), vbuck V DC ( k ), V BAT ( k ), iL ( k ), vboost
∗ ∗
J buck,S1=1 =| VBAT (k + 1) − VBAT ,S1=1 (k + 1) | J boost,S2 =1 =| VDC (k + 1) − VDC,S2 =1 (k + 1) |
∗ ∗
J buck,S1=0 =| VBAT (k + 1) − VBAT ,S1=0 (k + 1) | J boost,S2 =0 =| VDC (k + 1) − VDC,S2 =0 (k + 1) |
S1 = 0 S1 = 1 S2 = 0 S2 = 1
S1 S2
Simplified flowcharts of MPC scheme for buck and boost minimizes cost function is selected and sent to the converter to
operational modes of bidirectional DC-DC converter are be applied on the next sampling interval. For the buck
shown in Fig. 4. operation, DC bus voltage VDC(k), inductor current iL(k) and
battery voltage VBAT(k) are imported to the prediction stage. A
IV. PROPOSED CONTROL STRATEGY two dimensional array VBAT(k+1) is sent to the optimization
block from prediction stage. This array contains two predicted
The converter aims to regulate DC bus voltage VDC and battery voltage values of the next sampling interval tk+1=tk+Ts
keep it in the predefined rated range. Upper and lower limits subject to switching states. Reference value
are defined for the control scheme as shown in Fig. 5. As DC ∗ ∗
bus voltage VDC drops below the lower limit, bidirectional VBAT (k ) ≈ VBAT (k + 1) is generated from an external loop as
converter switches to boost mode, injects power to the DC bus below:
by discharging the battery in order to keep VDC on lower limit. ∗
On the contrary, as the DC bus voltage VDC exceeds the upper ∗ iDC (k ). VBuck
VBAT (k ) =
limit, bidirectional converter switches to buck mode, absorbs iL ( k )
power from the DC bus by charging the battery in order to (13)
keep VDC on upper limit and also switches to idle mode and
∗
disconnects the battery from the DC bus as DC bus voltage where iDC(k) is the current passing through DC bus and VBuck is
goes into the allowed range. Fig. 6 demonstrates the whole upper limit of the predefined rated voltage range of DC bus.
control scheme. Bidirectional converter is placed between By using (13) for calculating reference value of buck
battery bank bus and DC bus. The main control idea is based operation, the converter controls its output voltage VBAT to
on a voltage feedback signal VDC coming from the DC bus. It keep its input voltage VDC on the upper limit of allowed range.
is passed through a low pass filter to attenuate voltage ripple.
Buck and boost predictive controllers operate independently. V DC
For the boost operation, DC bus voltage VDC(k), inductor
current iL(k) and battery voltage VBAT(k) are imported to the ∗
(VBuck )
prediction stage. A two dimensional array VDC(k+1) is sent to
the optimization block from prediction stage. This array
∗
contains two predicted DC bus voltage values of the next (VDC )
sampling interval tk+1=tk+Ts subject to switching states.
∗ ∗
Reference value VDC (k ) ≈ VDC (k + 1) is also imported to the
∗
optimization block. VDC is lower limit of the predefined rated I DC,min IDC I DC,max
voltage range of DC bus. Cost function (12) is evaluated for
each predicted value and the switching state SBoost that
Fig. 5. Three operational modes based on DC bus voltage droop.
520
Authorized licensed use limited to: Suranaree University of Technology provided by UniNet. Downloaded on December 10,2024 at 07:56:36 UTC from IEEE Xplore. Restrictions apply.
RBAT
EBAT
VBAT C Vc VDC
S1 S2 VDC (k )
i DC (k )
0,1
0,1
VDC (k )
0,1
iL (k )
S Buck S Boost
VBAT (k +1)
VBAT (k )
∗
V BAT (k )
VDC (k +1)
∗
V DC (k )
∗
V Buck
VDC (k )
i DC (k )
V. SIMULATION RESULTS
Steady state buck and boost operations and transition from
boost to buck operation through idle mode by increasing DC
bus voltage have been implemented in PSCAD/MATLAB
interfacing. Fig. 7 and Fig. 8 show the steady state operations
of the converter in buck and boost modes respectively. System
parameters are also demonstrated in Table II. Fig. 7. DC bus voltage and current in buck mode.
521
Authorized licensed use limited to: Suranaree University of Technology provided by UniNet. Downloaded on December 10,2024 at 07:56:36 UTC from IEEE Xplore. Restrictions apply.
150 V, converter starts to charge the battery in buck mode
operation to prevent the voltage from exceeding voltage upper
limit.
As shown in Fig. 10, during battery discharge, about 4
amperes of current flows to the DC bus from the battery. On
idle mode, no current is exchanged between battery and DC
bus, consequently during charging mode, current direction is
reversed and battery absorbs 6 amperes of current.
VI. CONCLUSION
This research applies model predictive control to a
Fig. 8. DC bus voltage and current in boost mode.
bidirectional DC-DC converter. Mode activation control
strategy is proposed to control the battery charge, discharge
and idle modes. Each of the three modes operate
independently due to the converters structure. The main
control strategy is based on a voltage feedback signal from DC
bus. A predefined rated range is considered for the bus voltage
value thus the controller defines which mode to be activated.
Simulation results show the feasibility of MPC and proposed
controlling strategy to be used in battery applications due to
proper reference tracking and fast dynamic response during
transitions between modes.
References
[1] Lin, C. C., Yang, L. S., & Wu, G. W. (2013). Study of a non-isolated
bidirectional DC–DC converter. IET Power Electronics, 6(1), 30-37.
[2] Noroozian, R., Abedi, M., Gharehpetian, G. B., & Hosseini, S. H.
(2009). Combined operation of DC isolated distribution and PV systems
for supplying unbalanced AC loads. Renewable Energy, 34(3), 899-908.
[3] Zhang, Z., Thomsen, O. C., Andersen, M. A., Schmidt, J. D., & Nielsen,
H. R. (2009, February). Analysis and design of bi-directional DC-DC
converter in extended run time DC UPS system based on fuel cell and
Fig. 9. Transition between three operational modes. supercapacitor. In Applied Power Electronics Conference and
Exposition, 2009. APEC 2009. Twenty-Fourth Annual IEEE (pp. 714-
719). IEEE.
[4] Abedi, M., Song, B. M., & Kim, R. Y. (2011, September). Nonlinear-
model predictive control based bidirectional converter for V2G battery
charger applications. In Vehicle Power and Propulsion Conference
(VPPC), 2011 IEEE (pp. 1-6). IEEE.
[5] Zahedi, B., Nebb, O. C., & Norum, L. E. (2012, June). An isolated
bidirectional converter modeling for hybrid electric ship simulations. In
Transportation Electrification Conference and Expo (ITEC), 2012 IEEE
(pp. 1-6). IEEE.
[6] Karshenas, H. R., Bakhshai, A., Safaee, A., Daneshpajooh, H., & Jain,
P. (2011). Bidirectional dc-dc converters for energy storage systems.
INTECH Open Access Publisher.
[7] Xu, D., Zhao, C., & Fan, H. (2004). A PWM plus phase-shift control
bidirectional DC-DC converter. Power Electronics, IEEE Transactions
on, 19(3), 666-675.
[8] Cernat, M., Scortaru, P., Tanase, A., & Iov, F. (2007, September).
Hysteretic current controlled ZVS dc/dc converter for automobiles. In
Fig. 10. Battery voltage and current during boost, idle and buck mode. Power Electronics and Applications, 2007 European Conference on (pp.
1-10). IEEE.
Transition from boost to buck mode is shown in Fig. 9. [9] Hazil, O., Bououden, S., Chadli, M., & Filali, S. (2014). Fuzzy model
During 0.23 < t < 0.25 the battery is discharging and converter predictive control of dc-dc converters. In AETA 2013: Recent Advances
in Electrical Engineering and Related Sciences (pp. 423-432). Springer
operates in boost mode and bus voltage is kept on 100 V Berlin Heidelberg.
which is the lower limit of the predefined allowed range. Then [10] Rodriguez, J., & Cortes, P. (2012). Predictive control of power
during 0.25 < t < 0.32 DC bus voltage is increased to the converters and electrical drives (Vol. 40). John Wiley & Sons.
allowed range and all switchings are off since the converter is [11] Erickson, R. W., & Maksimovic, D. (2007). Fundamentals of power
in idle mode. As the voltage reaches its predefined upper limit electronics. Springer Science & Business Media.
522
Authorized licensed use limited to: Suranaree University of Technology provided by UniNet. Downloaded on December 10,2024 at 07:56:36 UTC from IEEE Xplore. Restrictions apply.