Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A Dual-loop Model Predictive Voltage Control/Slidingmode Current Control for Voltage Source Inverter
Operation in Smart Microgrids
Khaled M. Abo-al-ez
a b
, Ahmed Elaiw
b c
CONTENTS
1. Introduction
2. State-Space Modeling of Three-Phase Inverter of the
Microgrid
3. Design of the Microgrid Controller
4. Performance Evaluation
5. Conclusion
References
AbstractThe design of a robust controller for the voltage source inverter is essential for reliable operation of distributed energy resources
in future smart microgrids. The design problem is challenging in the
case of autonomous operation subsequent to an islanding situation.
In this article, a dual-loop controller is proposed for voltage source
inverter control. The outer loop is designed for microgrid voltage and
frequency regulation based on the model predictive control strategy.
This outer loop generates reference inverter currents for the inner
loop. The inner loop is designed using a sliding-mode control strategy, and it generates the pulse-width modulation voltage commands
to regulate the inverter currents. A standard space vector algorithm
is used to realize the pulse-width modulation voltage commands.
Performance evaluation of the proposed controller is carried out for
different loading scenarios. It is shown that the proposed dual-loop
controller provides the specified performance characteristics of an
islanded microgrid with different loading conditions.
1.
348
INTRODUCTION
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
349
350
To overcome the load variation and the hard design problems, the design of model predictive control (MPC) is considered for voltage and frequency regulation in an islanded
microgrid. The advantages of the MPC over the RSP include
its facility of handling constraints and being able to use simple
models; it presents good tracking performance that is necessary in industrial applications, offers closed-loop stability,
and has inherent robustness [24]. In recent decades, MPC has
become one of the most widely used multi-variable control
algorithms in various industries, including chemical engineering, food processing, automotive, aerospace applications [25],
and recently in power systems [2632]. In MPC, a finite horizon optimal control problem is repeatedly solved, and the
input applied to the system is based on the obtained optimal open-loop control [24]. Recently, an unconstrained MPC
approach was presented for the voltage regulation of an islanded inverter of a DG unit [22]. In [22], the constraint on
the currents of the inverter was neglected; further, load parameters were incorporated in the control procedure, which
is impractical and requires real-time update of the model and
control design parameters. In [22], the state-space model of
the microgrid did not consider the parameters of the transformer that is used to connect the microgrid to the main
grid.
In the present article, a self-controlled microgrid is investigated. The coupling VSI is equipped with a smart controller
that can accommodate the islanded mode of operation despite
change in loading conditions. The issue of smart voltage and
frequency control is addressed to ensure stable operation for
consumer loads on one hand and the different renewable generation and storage systems connected on a common DC bus
on the other hand. This article proposes a robust dual-loop
model predictive voltage control/sliding-mode current control
strategy to regulate the voltage and frequency of an islanded
microgrid with different loading conditions. The inner loop
is designed using a sliding-mode control to limit the inverter
current under overload conditions. The outer loop is designed
using a constrained MPC to regulate the microgrid load voltages to their reference values. The benefit of this design is that
it takes full advantage of the fast response in controlling the
inverter current by sliding mode [20] on the one hand, it makes
use of the inherent capability of handling constraints of MPC
on the other. This article is organized as follows. Section 2
describes the state-space mathematical modeling of the threephase inverter of the microgrid. The dual-loop controller detailed design for the microgrid island is carried out in Section 3.
Performance evaluation of the proposed controller is done
for various operation scenarios using MATLAB/Simulink in
Section 4. Finally, Section 5 concludes the article.
2.
d V iabc
dt
d I iabc
dt
d V Loadabc
dt
d Isd abc
dt
1
1
I iabc
Tri Isd abc ,
3Cinv
3Cinv
1
1
=
V pwm abc
V iabc ,
L inv
L inv
1
1
=
Isd abc
I Loadabc ,
CLoad
CLoad
RT
1
=
Isd abc +
Tr v V iabc
LT
LT
1
V Loadabc ,
LT
=
(1)
(2)
(3)
(4)
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
where V iabc , V Loadabc , and V pwm abc represent the inverter voltages, load voltages, and PWM voltages in the abc reference
frame, respectively. As a notational convention, a vector in
Vectors I iabc , I Loadabc , and Isd abc denote the inverter currents,
load currents, and transformer secondary side currents in
the abc reference frame, respectively. Matrices Tri and Tr v
denote the current and voltage transformation of the delta-wye
transformer, given by
1 2 1
0
0 1
Tri = tr .
1 2
0
, Tr v = tr . 1 0
,
1
2 1
1
0 1 0
where tr is the transformer turns ratio.
The design of the proposed control technique requires that
the dynamic equations of the system in the three-phase abc reference frame are transformed into the qd0 stationary reference
frame as follows [8]:
I dq0 = K s I abc ,
V dq0 = K s V abc ,
where V can be V i , V Load , V pwm ; and I can be I i , I Load ,
1
1
1
2
2
2
3
3
.
Ks =
0
3
2
2
1
1
1
2
2
2
Using the above voltage and current transformation equations,
the state-space equations of the three-phase inverter system in
a dq0-axis reference frame can be written as
d V iqd0
1
1
=
I iqd0
Triqd0 Isdqd0 , (5)
dt
3Cinv
3Cinv
d I iqd0
1
1
=
V pwm qd0
V iqd0 ,
(6)
dt
L inv
L inv
d V Loadqd0
1
1
Isdqd0
I Loadqd0 ,
(7)
=
dt
CLoad
CLoad
d Isdqd0
RT
1
=
Isdqd0 +
Tr vqd0 V iqd0
dt
LT
LT
1
V Loadqd0 ,
(8)
LT
where Triqd0 = K s Tri K s1 and Tr vqd0 = K s Tr v K s1 .
The zero reference components of the inverter voltages and
currents will always be zero and can be discarded for a balanced
three-wire system of the inverter and balanced loads. The zero
components of the load voltages, load currents, and secondary
transformer currents can be non-zero under unbalanced load
351
d V iqd
1
1
=
I iqd
Triqd Isdqd ,
(9)
dt
3Cinv
3Cinv
d I iqd
1
1
V pwm qd
V iqd ,
(10)
=
dt
L inv
L inv
d V Loadqd
1
1
=
Isdqd
I Loadqd ,
(11)
dt
CLoad
CLoad
d Isdqd
1
1
RT
Isdqd +
Tr vqd V iqd
V Loadqd ,
=
dt
LT
LT
LT
(12)
1
3
3
Triqd = tr
,
2
3 1
1 3
1
.
Tr vqd = tr
2
3
1
The state variables of the system are V iqd , I iqd , V Loadqd , and
(13)
y = Cs x + Ds u,
(14)
respectively, and
1
022
I22
3Cinv
022
L I22
inv
As =
022
022
1
Tr vqd
022
LT
022
I22
L
Bs = inv
0
22
022
022
022
022
1
I22
LT
1
Triqd
3Cinv
022
1
I22
CLoad
RT
I22
LT
352
022
022
,
Es =
1
I22
CLoad
Cs = [ 022
022
I22
022 ],
022
Ds = [ 022 ].
In this article, the controller design is based on the nominal continuous-time model of the system shown in Eqs. (13)
and (14).
3.
The proposed control strategy uses a dual-loop control structure of the following controllers:
1. inner sliding-mode inverter currents control loop and
2. outer model predictive load voltages control loop.
The outer loop regulates the load voltages to follow the 50or 60-Hz balanced three-phase reference voltages, which are
decided by the microgrid operators. This voltage control loop
generates the inverter current set values, which are limited. The
inner current control loop generates the PWM gating voltages
to regulate the inverter currents to follow the inverter currents
set values [8]. Figure 2 shows the block diagram presenting
the control structure.
A standard voltage space vector algorithm is used to realize
the PWM command voltages applied to the VSI. In the next two
subsections, the design of the proposed dual-loop controller
is given. The discrete-time state-space equations are adopted
for the two-loop control design in the dq stationary reference
frame.
3.1.
1
.I22
022
022
3Cinv
A1 =
,
, B1 = 1
1
.I22
.I22
022
L inv
L
inv
1
3C .Triqd
E 1 = inv
, C1 = [ 022 I22 ], D1 = [022 ],
022
and the internal state, input, outputs and disturbance are
x1 = [ Viq
Vid
y1 = [ Iiq
Ii d ] T ,
Ii q
Ii d ] T ,
u 1 = [ V pwm q
d1 = [ Isdq
V pwm d ]T ,
Isdd ]T .
C1 x1 (k)
D1 u 1 (k),
(17)
(18)
where
Ts
e A1 (Ts ) B1 d,
A1 = e A1 Ts , B1 =
0
Ts
E1 =
e A1 (Ts ) E 1 d, C1 = C1 , D1 = D1 ,
0
= I iqd I iqd ,r e f .
Thus, the sliding surface S(k) is selected such that when the
discrete sliding-mode exists,
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
Since the MPC is the outer loop, the plant seen by the voltage
controller is the combination of the true plant (three-phase
inverter with an L-C filter and the transformer) along with
the discrete-time sliding-mode current controller. To design the
voltage controller, the following discrete-time nominal model
of Eqs. (13) and (14) is used:
x(k + 1) = As x(k) + Bs u(k),
(20)
(21)
Isdd ]T ,
Ts
B1 =
e As (Ts ) Bs d, Cs = Cs Ds = Ds .
VLoad,ref,d
(22)
The inverter current set value is the input of the MPC of the
voltage; therefore u v (k) = [ Iiq ,r e f Iid ,r e f ]T . Then Eqs. (20)
and (21) become
xv (k + 1) = Av xv (k) + Bv u v (k),
yv (k) =
where
Cv xv (k),
(23)
(24)
1
Av = As Bs C1 B1
C1 A1 F1 + C1 E 1 F2 ,
1
Bv = Bs C1 B1 , Cv = Cs ,
I22 022 022 022
,
F1 =
022 I22 022 022
F2 = [ 022
022
I22
022 ].
Augmented Model
VLoad,ref,0 ]T .
3.2.1.
The load voltage reference to be tracked by the MPC is generated in the abc reference frame then transformed to the qd
needed for the controller. The referene phase to neutral load
voltages in the abc frame is given by
353
or
xv (k + 1) = Av xv (k) + Bv u v (k),
yv (k + 1) = yv (k) + Cv Av xv (k) + Cv Bv u v (k),
and in final form with integral action:
xv (k + 1)
Av
xv (k)
0
=
yv (k + 1)
Cv Av I
yv (k)
Bv
[u v (k)] .
+
Cv Bv
(25)
354
3.2.4.
Av
Cv Av
,
B=
(26)
(27)
Bv
Cv Bv
C = [0I ], u = u v ,
Based on the augmented model in Eqs. (26) and (27), the predicted plant output is calculated using control input as the adjustable variable. Suppose that at sampling instant k the output
measurement y(k) is available; the future input trajectory is denoted by u(k|k), u(k + 1|k), . . . , u(k + Nc 1|k), where
Nc is the control horizon.
The predicted state and output over a prediction horizon N p
are given by
x(k + 1|k), x(k + 2|k), . . . , x(k + N P |k),
y(k + 1|k), y(k + 2|k), . . . , y(k + N P |k),
where x(k + 1|k) and y(k + 1|k) represent the future state and
output, respectively, at sampling instant k + j using initial
x(k|k) = x(k). It is assumed that Nc N p and u(k + Nc +
i|k) = 0 (i = 0, 1, . . . , N p Nc 1).
It is noted that the predicted state and output can be represented as
x(k + j|k) = A x(k) +
j
j1
i=0
j1
CA
ji1
Bu(k + i|k).
i=0
3.2.5.
Optimization
Np
y(k + i|k) r (k +
i=0
N
c 1
i|k)2Q(i)
u(k + i|k)2R(i) ,
i=0
i = 0, 1, . . . , Nc 1.
U (k) ,
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
3.2.6.
MPC Algorithm
PERFORMANCE EVALUATION
FIGURE 4. Load voltage and current at transition from reference voltage 90 V (RMS) to reference voltage 120 V (RMS)
of Figure 3.
355
356
Quantity
VSI filter inductance L inv
VSI filter capacitance Cinv
Load side capacitors CLoad
Transformer inductance L T
Transformer resistance RT
Transformer turns ratio tr
System nominal frequency f 0
DC bus voltage VDC
298 H
540 F
90 F
0.03 p.u.
0.03 p.u.
120/245
60 Hz
540 V
Eqs. (5) and (8) with I Loadabc = V Loadabc /Rload . Here Rload
is an uncertain load parameter.
The parameters of the test system shown in Figure 1 are
given in Table 1.
For performance evaluation and verification of the proposed
controller, the following tests are performed.
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
357
(a) With constrained MPC voltage controller: The proposed MPC voltage controller provides the reference
inverter currents, which are constrained to prevent the
inverter currents from exceeding the rated values. In
this case, there is no need for a separate overload current limiting function as it is embedded in the MPC
design. Figure 10 shows the system response to the
transition from open circuit to short circuit.
358
served that the zero component of the load voltage in the qd0
frame is always zero for all loading conditions.
5.
CONCLUSION
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids
[2] Moaddabi, N., Hosseinian, S. H., and Gharehpetian, G. B.,
Practical framework for self-healing of smart grids in stable/unstable power swing conditions, Elect. Power Compon.
Syst., Vol. 40, No. 6, pp. 575596, 2012.
[3] Moaddabi, N., and Gharehpetian, G. B., Wide-area method
for self-healing of smart grids in unstable oscillations, Elect.
Power Compon. Syst., Vol. 41, No. 4, pp. 365382, 2013.
[4] Erseghe, T., and Tomasin, S., Power flow optimization for
smart microgrids by SDP relaxation on linear networks, IEEE
Trans. Smart Grid, Vol. 4, No. 2, pp. 751762, 2013.
[5] Girgis, A. A., and Makram, E. B., Innovations in power systems, Proceedings of 14th Int. Middle East Power Systems
Conference (IEEE MEPCON10), Cairo, Egypt, 1921, December 2010.
[6] Gellings, C. W., The Smart Grid: Enabling Energy Efficiency
and Demand Response, Liburn, GA: Fairmont Press, Chap. 1,
pp. 15, 2009.
[7] Dugan, R. C., McGranaghan, M. F., Santos, S., and Wayne
Beaty, H. , Electrical Power Systems Quality, 2nd ed. New
York: McGraw Hill, Chap. 9, pp. 386388, 2004.
[8] Keyhani, A., Marwali, M., and Dai, M., Integration of Green
and Renewable Energy in Electric Power Systems, Hoboken,
NJ: John Wiley & Sons, Chap. 2, pp. 2630, 2010.
[9] IEEE, IEEE Standard for interconnecting distributed resources
with electric power systems, IEEE Standard 1547-2003, pp.
116, July 2003.
[10] Dou, C. X., Liu, D. L., Jia, X. B., and Zhao, F., Management
and control for smart microgrid based on hybrid control theory, Elect. Power Compon. Syst., Vol. 39, No. 8, pp. 813832,
2011.
[11] Piagi, P., and Lasseter, R. H., Autonomous control of microgrids, Proceedings of IEEE Power Engineering Society General Meeting, 1822, Montreal, June 2006.
[12] Lasseter, R. H., and Piagi, P., Control and Design of Microgrid Components, Tempe, AZ: PSERC Publication, Chap. 3,
pp.1926, 2006.
[13] Nikkhajoei, H., and Lasseter, R. H., Distributed generation
interface to the CERTS microgrid, IEEE Trans. Power Deliv.,
Vol. 24, No. 3, pp. 15981608, 2009.
[14] Sao, C. K., and Lehn, P. W., Autonomous load sharing of
voltage source converters, IEEE Trans. Power Deliv., Vol. 20,
No. 2, pp. 10091016, 2005.
[15] Yu, X., Khambadkone, A. M., Wang, H., and Terence, S. T. S.,
Control of parallel-connected power converters for low-voltage
microgridPart I: A hybrid control architecture, IEEE Trans.
Power Electron., Vol. 25, No. 12, pp. 29622970, 2010.
[16] Abo-Al-Ez, K. M., Xia, X., and Zhang, J., Smart interconnection of a PV/wind DG micro grid with the utility distribution
network, Proceedings of Industrial and Commercial Use of
Energy Conference (ICUE), Cape Town, South Africa, 14-17
August 2012.
[17] Ahmed, A., Radwan, A., and Abdel-Rady Mohamed, Y., Linear active stabilization of converter-dominated DC microgrids,
IEEE Trans. Smart Grid, Vol. 3, No. 1, pp. 203216, 2012.
[18] Li, Y., Vilathgamuwa, D. M., and Loh, P. C., Robust control
scheme for a microgrid with PFC capacitor connected, Proc.
IEEE Industry Applications Conference, 40th IAS Annu. Meeting, Vol. 4, pp. 24412448, 26 October, 2005.
359
[19] Marwali, M., and Keyhani, A., Control of distributed generation systemspart I: Voltages and current control, IEEE Trans.
Power Electron., Vol. 19, No. 6, pp. 15411550, 2004.
[20] Marwali, M., Dai, M., and Keyhani, A., Robust stability analysis of voltage and current control for distributed generation
systems, IEEE Trans. Energy Convers., Vol. 21, No. 2, pp.
516526, 2006.
[21] Karimi, H., Davison, E., and Irvani, R., Multivariable
servomechanism controller for autonomous operation of
distributed generation unit: Design and performance evaluation, IEEE Trans. Power Syst., Vol. 25, No. 2, pp. 853865,
2010.
[22] Bahrani, B., and Ruler, A., Model predictive-based voltage
regulation of an islanded distributed generation unit, IEEE
Conference on Energy Conversion Congress and Exposition
(ECCE), pp. 465472, Phoenix, AZ, 1722 September 2011.
[23] Gemma, L., Performance Limitations in the Robust Servomechanism Control Problem for Discrete and Sampled Data System,
Ph.D. Thesis, University of Toronto, December 2000.
[24] Mayne, D. Q., Rawlings, J. B., Rao, C. V., and Scokaert, P.
O. M., Constrained model predictive control: Stability and
optimality, Automatica, Vol. 36, No. 6, pp. 789814, 2000.
[25] Qin, S. J., and Badgwell, T., A survey of industrial model
predictive control technology, Control Eng. Pract., Vol. 11,
No. 7, pp. 733764, 2003.
[26] Otomega, B., Marinakis, A., Glavic, M., and Van Cutsem, T.,
Model predictive control to alleviate thermal overloads, IEEE
Trans. Power Syst., Vol. 22, No. 3, pp. 13841385, 2007.
[27] Ekpenyong, U. E., Zhang, J., and Xia, X., An improved robust model for generator maintenance scheduling, Elect. Power
Syst. Res., Vol. 92, pp. 2936, 2012.
[28] Xia, X., Zhang, J., and Elaiw, A. M., An application of model
predictive control to the dynamic economic dispatch of power
generation, Control Eng. Pract., Vol. 19, pp. 638648, 2011.
[29] Elaiw, A. M., Xia, X., and Shehata, A. M., Application of
model predictive control to optimal dynamic dispatch of generation with emission limitations, Elect. Power Syst. Res., Vol.
84, pp. 3144, 2012.
[30] Elaiw, A. M., Xia, X., and Shehata, A. M., Minimization of
fuel costs and gaseous emissions of electric power generation by
model predictive control, Math. Prob. Eng., Vol. 3013, Article
ID 906958, 2013.
[31] Zhang, J., and Xia, X., A model predictive control approach
to the periodic implementation of the solutions of the optimal
dynamic resource allocation problem, Automatica, Vol. 47, pp.
358362, 2011.
[32] van Staden, A. J., Zhang, J., and Xia, X., A model predictive
control strategy for load shifting in a water pumping scheme
with maximum demand charges, Appl. Energy, Vol. 88 pp.
47854794, 2011.
[33] Maciejowski, J. M., Predictive Control with Constraints,
Harlow, England: Prentice Hall, Chap. 3, pp. 7390, 2002.
BIOGRAPHIES
Khaled M. Abo-Al-Ez received the B.S., M.S., and Ph.D.
degrees from the Department of Electrical Engineering,
360