You are on page 1of 14

This article was downloaded by: [Khaled M.

Abo-Al-Ez]
On: 07 February 2014, At: 05:09
Publisher: Taylor & Francis
Informa Ltd Registered in England and Wales Registered Number: 1072954 Registered office: Mortimer House,
37-41 Mortimer Street, London W1T 3JH, UK

Electric Power Components and Systems


Publication details, including instructions for authors and subscription information:
http://www.tandfonline.com/loi/uemp20

A Dual-loop Model Predictive Voltage Control/Sliding-


mode Current Control for Voltage Source Inverter
Operation in Smart Microgrids
a b b c b
Khaled M. Abo-al-ez , Ahmed Elaiw & Xiaohua Xia
a
Department of Electrical Engineering, Faculty of Engineering , Mansoura University ,
Mansoura , Egypt
b
Centre of New Energy Systems, Department of Electrical, Electronic and Computer
Engineering , University of Pretoria , South Africa
c
Department of Mathematics, Faculty of Science , King Abdulaziz University , Jeddah , Saudi
Arabia
Published online: 05 Feb 2014.

To cite this article: Khaled M. Abo-al-ez , Ahmed Elaiw & Xiaohua Xia (2014) A Dual-loop Model Predictive Voltage Control/
Sliding-mode Current Control for Voltage Source Inverter Operation in Smart Microgrids, Electric Power Components and
Systems, 42:3-4, 348-360, DOI: 10.1080/15325008.2013.862319

To link to this article: http://dx.doi.org/10.1080/15325008.2013.862319

PLEASE SCROLL DOWN FOR ARTICLE

Taylor & Francis makes every effort to ensure the accuracy of all the information (the Content) contained
in the publications on our platform. However, Taylor & Francis, our agents, and our licensors make no
representations or warranties whatsoever as to the accuracy, completeness, or suitability for any purpose of the
Content. Any opinions and views expressed in this publication are the opinions and views of the authors, and
are not the views of or endorsed by Taylor & Francis. The accuracy of the Content should not be relied upon and
should be independently verified with primary sources of information. Taylor and Francis shall not be liable for
any losses, actions, claims, proceedings, demands, costs, expenses, damages, and other liabilities whatsoever
or howsoever caused arising directly or indirectly in connection with, in relation to or arising out of the use of
the Content.

This article may be used for research, teaching, and private study purposes. Any substantial or systematic
reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any
form to anyone is expressly forbidden. Terms & Conditions of access and use can be found at http://
www.tandfonline.com/page/terms-and-conditions
Electric Power Components and Systems, 42(34):348360, 2014
Copyright C Taylor & Francis Group, LLC

ISSN: 1532-5008 print / 1532-5016 online


DOI: 10.1080/15325008.2013.862319

A Dual-loop Model Predictive Voltage


Control/Sliding-mode Current Control for Voltage
Source Inverter Operation in Smart Microgrids
Khaled M. Abo-Al-Ez,1,2 Ahmed Elaiw,2,3 and Xiaohua Xia2
1
Department of Electrical Engineering, Faculty of Engineering, Mansoura University, Mansoura, Egypt
2
Centre of New Energy Systems, Department of Electrical, Electronic and Computer Engineering, University of Pretoria,
South Africa
3
Department of Mathematics, Faculty of Science, King Abdulaziz University, Jeddah, Saudi Arabia
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

CONTENTS
AbstractThe design of a robust controller for the voltage source in-
1. Introduction verter is essential for reliable operation of distributed energy resources
2. State-Space Modeling of Three-Phase Inverter of the in future smart microgrids. The design problem is challenging in the
case of autonomous operation subsequent to an islanding situation.
Microgrid In this article, a dual-loop controller is proposed for voltage source
3. Design of the Microgrid Controller inverter control. The outer loop is designed for microgrid voltage and
4. Performance Evaluation frequency regulation based on the model predictive control strategy.
This outer loop generates reference inverter currents for the inner
5. Conclusion
loop. The inner loop is designed using a sliding-mode control strat-
References egy, 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. INTRODUCTION
There has been a great need to fulfill increasing demands in the
energy sector for the last decade. The need for sustainable and
reliable electricity supply requires active power distribution
networks. This promotes the possibility of bidirectional power
flow between the main grid and the consumers. Therefore, the
design of future distribution grids is moving away from tra-
ditional radial systems toward more networked grids [1]. In
this scenario, the self-controlled smart microgrid (SMG) con-
Keywords: Smart microgrid, voltage source inverter, model predictive cept is a promising approach. The smart grid concept has been
voltage control, sliding-mode current control, robust control, smart grid
introduced to overcome problems of the power systems and
Received 31 December 2012; accepted 8 October 2013
Address correspondence to Dr. Ahmed Elaiw, Centre of New Energy to achieve desired functionalities, such as self-healing, high
Systems, Department of Electrical, Electronic, and Computer Engineering, reliability, high power quality, and accommodation of a wide
University of Pretoria, Pretoria, 0002, South Africa. E-mail: a m elaiw@
yahoo.com
variety of distributed generation (DG) and storage options [2].
Color versions of one or more of the figures in the article can be found online To prevent power system mal-operation and instability, the pro-
at www.tandfonline.com/uemp. cess of the self-healing procedure should be as fast as possible.

348
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 349

This is not achievable unless new progress in computational VSIs is controlled in V-f control mode, while other inverters
modeling and optimization methods is used [3]. are controlled for active/reactive power (P-Q) control.
In the new energy generation and consumption model, a DC microgrids are gaining high momentum under the smart
key role is played by the SMG, i.e., clusters of distributed en- grid environment. In a DC microgrid system, a bidirectional
ergy resources (DERs) supporting local loads for which energy pulse-width modulated (PWM) AC-DC VSI is used to inter-
deficiencies or production excesses are solved by exchanging face the DC microgrid to an AC system. Within the DC micro-
power with the utility. DERs provide the advantage to users of grid, DG units, such as photovoltaic cells, microturbines, and
exploitation of renewable sources thus reducing the produc- wind turbines, are integrated. Storage units are also available
tion costs [4]. The SMG permits several intelligent functions to provide energy backup for critical loads [17].
that ensure consumer power reliability and optimize the use Some recent research addressed the issue of inverter con-
of energy, mitigate environmental and power quality related trol in SMGs [1821]. In [18], a microgrid VSI control scheme
impacts, and manage the energy prices and overall costs [5]. was proposed based on H optimal control method to provide
SMGs contain smart energy efficient end-use devices, a robust performance in the presence of the variation of power
DERs, advanced whole-building control systems, and inte- factor correction capacitors. Although the H approach is
grated communications architecture [6]. Most modern DERs, effective for providing robust stability, it may not guarantee
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

such as microturbines, photovoltaic systems, fuel cells, etc., are voltage tracking capabilities under loading parameters uncer-
load/grid interfaced through power electronic voltage source tainty. In [19], a repetitive controller of a VSI in a microgrid
inverters (VSIs) [7]. According to [8], the SMG concept as- was designed. This controller is difficult to stabilize for all un-
sumes a cluster of loads and micro-sources, operating as a known load disturbances and cannot obtain a very fast response
single controllable system, where the inverter plays a key role for a fluctuating load. In [21], a robust servomechanism prob-
for a SMG to participate in energy management and voltage lem (RSP) control was presented for autonomous operation of
and frequency control. a single-DG islanded microgrid with a structurally uncertain
The SMG is managed by controlling the VSI interface of plant. The parametric uncertainty is due to load variation about
the DERs to work either as islanded or synchronized to the their rated values. The design an uses only RSP controller for
main electric grid. Upon separation from the main grid, the voltage and frequency control of the microgrid. In [20], RSP
current operation standard prohibits the autonomous opera- control is implemented by the internal model principle. This
tion of the microgrid due to safety issues [9]. In [8], it was controller is used for the outer voltage loop of a microgrid VSI
stated that Upon separation from a utility system, if a smart showing robust performance.
grid DG stays stable, the inverter of the DG system regulates its A discrete-time sliding-mode current controller is used as
frequency. If there is only one inverter in the DG system, load an inner control loop to the RSP voltage controller for the pur-
frequency control is accomplished through inverter reference poses of overload protection. In this method, a current-limiting
frequency using the PWM technique (p. 20). The manage- function is employed to limit the inverter current commands
ment and control for the SMG are high non-linear problems generated by the RSP voltage controller. This limiting func-
that are not only related to the environmental/economic opti- tion is not included in the design of an RSP voltage controller.
mization problem but also to frequency/voltage security and Large overshoot can occur when not using a current limiter,
dynamic stabilization in multi-mode operation [10]. which damages the inverter device. Moreover, some authors
The main challenge for islanded microgrid operation is to [22] do not appreciate the complexity of the method and con-
provide the VSI with a controller that regulates voltage and sider that the main problem of the RSP controller is the need
frequency despite load variation; droop control is widely used, for relatively hard design (p. 465).
as reported in [1115]. In this control approach, the frequency The hard design of the RSP controller method was dis-
and voltage of each DER unit is a linear function of active cussed in [23] for studying the properties of a closed-loop
power and reactive power respectively. A major drawback of sampled data system for the RSP. It was shown that funda-
this approach is that it is intended for a fixed load and cannot mental limitations exist on the closed-loop performance of the
accommodate large variations in the load parameters. To over- RSP for a minimum phase sampled system, which are inde-
come this drawback, the control design uses one of the micro- pendent of the order of the plant, and of the transmission zero
grid inverters to operate with voltage-frequency (V-f) control structure of the continuous plant model. It was also shown
to stabilize the microgrid voltage and frequency subsequent to that fundamental limitations exist on the closed-loop perfor-
islanding situation. When the DC architecture is adopted, only mance of the RSP for a non-minimum phase sampled system
one inverter is used with the required controller. In the case in the case of tracking and regulation due to disturbances in the
of AC architecture, as adopted in [16], one of the microgrid output.
350 Electric Power Components and Systems, Vol. 42 (2014), No. 34

To overcome the load variation and the hard design prob-


lems, the design of model predictive control (MPC) is con-
sidered 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 nec-
essary 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 engineer-
ing, food processing, automotive, aerospace applications [25], FIGURE 1. Three-phase inverter interface of DC architecture
and recently in power systems [2632]. In MPC, a finite hori- microgrid.
zon optimal control problem is repeatedly solved, and the
input applied to the system is based on the obtained opti-
mal open-loop control [24]. Recently, an unconstrained MPC
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

2. STATE-SPACE MODELING OF THREE-PHASE


approach was presented for the voltage regulation of an is-
INVERTER OF THE MICROGRID
landed inverter of a DG unit [22]. In [22], the constraint on
the currents of the inverter was neglected; further, load pa- The three-phase inverter system considered herein is a PWM
rameters were incorporated in the control procedure, which inverter used for DER units, as shown in Figure 1. A constant
is impractical and requires real-time update of the model and DC source is used to model most typical types of DER
control design parameters. In [22], the state-space model of units for the purposes of controller design. This approximate
the microgrid did not consider the parameters of the trans- modeling is reasonable when a mix of DER units operates
former that is used to connect the microgrid to the main with energy storage systems with a DC architecture. A typical
grid. three-phase PWM voltage inverter is used, with an L-C
In the present article, a self-controlled microgrid is inves- output filter (with inductance L inv and capacitance Cinv ) and
tigated. The coupling VSI is equipped with a smart controller a delta-wye transformer (with resistance RT and inductance
that can accommodate the islanded mode of operation despite L T ) that acts as both a voltage transformer and an electrical
change in loading conditions. The issue of smart voltage and isolation to the load. Small capacitors (denoted as Cload ) are
frequency control is addressed to ensure stable operation for added at the load side to provide further harmonic filtering
consumer loads on one hand and the different renewable gen- and stabilization of the load voltage [8]. According to [8], it
eration and storage systems connected on a common DC bus is assumed that the PWM space vector and power converter
on the other hand. This article proposes a robust dual-loop generate ideal voltages according to the commands given by
model predictive voltage control/sliding-mode current control the control. This assumption is valid due to the relatively high
strategy to regulate the voltage and frequency of an islanded switching frequency of the PWM inverter [8]. The state-space
microgrid with different loading conditions. The inner loop model of the microgrid system in a three-phase abc reference
is designed using a sliding-mode control to limit the inverter frame is derived based on Kirchhoff s current and voltage
current under overload conditions. The outer loop is designed laws and is given by the following equations:
using a constrained MPC to regulate the microgrid load volt-
ages to their reference values. The benefit of this design is that

it takes full advantage of the fast response in controlling the d V iabc 1
1

= I iabc Tri Isd abc , (1)
inverter current by sliding mode [20] on the one hand, it makes dt 3Cinv 3Cinv


use of the inherent capability of handling constraints of MPC d I iabc 1 1
= V pwm abc V iabc , (2)
on the other. This article is organized as follows. Section 2 dt L inv L inv


describes the state-space mathematical modeling of the three- d V Loadabc 1
1

= Isd abc I Loadabc , (3)
phase inverter of the microgrid. The dual-loop controller de- dt CLoad CLoad
tailed design for the microgrid island is carried out in Section 3.

d Isd abc RT 1

Performance evaluation of the proposed controller is done = Isd abc + Tr v V iabc
dt LT LT
for various operation scenarios using MATLAB/Simulink in 1
Section 4. Finally, Section 5 concludes the article. V Loadabc , (4)
LT
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 351



conditions; however, these components are non-controllable
where V iabc , V Loadabc , and V pwm abc represent the inverter volt-
ages, load voltages, and PWM voltages in the abc reference and have no use for control [8].
frame, respectively. As a notational convention, a vector in In this case, the above equations in the dq0 can be simplified


the x yz reference frame is denoted as V x yz = [ Vx Vy Vz ]T . in the dq frame as




Vectors I iabc , I Loadabc , and Isd abc denote the inverter currents, d V iqd 1
1

load currents, and transformer secondary side currents in = I iqd Triqd Isdqd , (9)
dt 3Cinv 3Cinv
the abc reference frame, respectively. Matrices Tri and Tr v

d I iqd 1 1
denote the current and voltage transformation of the delta-wye = V pwm qd V iqd , (10)
transformer, given by dt L inv L inv


d V Loadqd 1
1

1 2 1 0 0 1 = Isdqd I Loadqd , (11)
dt CLoad CLoad
Tri = tr . 1 2 0

1 , Tr v = tr . 1 0 , d Isdqd RT 1
1
= Isdqd + Tr vqd V iqd V Loadqd ,
2 1 1 0 1 0 dt LT LT LT
(12)
where tr is the transformer turns ratio. 
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

3 1 3
The design of the proposed control technique requires that Triqd = tr ,
the dynamic equations of the system in the three-phase abc ref- 2 3 1
erence frame are transformed into the qd0 stationary reference 
1 1 3
frame as follows [8]: Tr vqd = tr .
2 3 1





V dq0 = K s V abc , I dq0 = K s I abc ,






The state variables of the system are V iqd , I iqd , V Loadqd , and
where V can be V i , V Load , V pwm ; and I can be I i , I Load ,




Isdqd ; the control input of the system is V pwm qd ; and I Loadqd
and I sd . The transformation matrix K s is given as
is treated as a disturbance.
1 1 The continuous-time model in Eqs. (9) and (12) is rewritten
1
2 2
as
2 3 3
Ks = 0 .
x = As x + Bs u + E s d, (13)
3 2 2
y = Cs x + Ds u, (14)
1 1 1
2 2 2 where the state variable, input, output and disturbance are
Using the above voltage and current transformation equations,
the state-space equations of the three-phase inverter system in x = [ Viq Vid Iiq Iid VLoadq VLoadd Isdq Isdd ]T ,
a dq0-axis reference frame can be written as u = [ V pwm q V pwm d ]T , y = [ VLoadq VLoadd ]T ,

d = [ I Loadq I Loadd ]T ,
d V iqd0 1
1
= I iqd0 Triqd0 Isdqd0 , (5)
dt 3Cinv 3Cinv respectively, and


d I iqd0 1 1
= V pwm qd0 V iqd0 , (6) 1 1
dt L inv L inv 022 I22 022 Triqd

3Cinv 3Cinv

d V Loadqd0 1
1
1
= Isdqd0 I Loadqd0 , (7)
dt CLoad CLoad L I22 022 022 022

inv
RT As = ,
d Isdqd0 1
1
= Isdqd0 + Tr vqd0 V iqd0 022 022 022 I22
dt LT LT CLoad

1 1 1 RT
V Loadqd0 , (8) Tr vqd 022 I22 I22
LT LT LT LT
where Triqd0 = K s Tri K s1 and Tr vqd0 = K s Tr v K s1 .
022
The zero reference components of the inverter voltages and 1

currents will always be zero and can be discarded for a balanced I22

Bs = inv
L ,
three-wire system of the inverter and balanced loads. The zero
0
components of the load voltages, load currents, and secondary 22
transformer currents can be non-zero under unbalanced load 022
352 Electric Power Components and Systems, Vol. 42 (2014), No. 34

controller, the model of the three-phase inverter with an L-C


022
filter is considered without the transformer and load. The sec-
022

ondary transformer current Isdqd is treated as a disturbance to
Es =
1
,
Cs = [ 022 022 I22 022 ],
I22 the current controller. The state equations describing the sys-
CLoad tem used for controller design are Eqs. (9) and (10). The state-
022 space representation is as follows:
Ds = [ 022 ]. x1 = A1 x1 + B1 u 1 + E 1 d1 , (15)
In this article, the controller design is based on the nomi- y1 = C1 x1 + D1 u 1 , (16)

nal continuous-time model of the system shown in Eqs. (13) 1
022 .I22 022
3Cinv
and (14). A1 =
1 , B1 = 1 ,
.I22 022 .I22
L L inv
inv
3. DESIGN OF THE MICROGRID CONTROLLER 1
3C .Triqd
The proposed control strategy uses a dual-loop control struc- E 1 = inv , C1 = [ 022 I22 ], D1 = [022 ],
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

ture of the following controllers: 022

1. inner sliding-mode inverter currents control loop and and the internal state, input, outputs and disturbance are

2. outer model predictive load voltages control loop. x1 = [ Viq Vid Ii q Ii d ] T , u 1 = [ V pwm q V pwm d ]T ,

The outer loop regulates the load voltages to follow the 50- y1 = [ Iiq Ii d ] T , d1 = [ Isdq Isdd ]T .
or 60-Hz balanced three-phase reference voltages, which are The state-space equations (Eqs. (15) and (16)) are transformed
decided by the microgrid operators. This voltage control loop to a discrete form as follows:
generates the inverter current set values, which are limited. The
inner current control loop generates the PWM gating voltages x1 (k + 1) = A1 x1 (k) + B1 u 1 (k) + E 1 d1 (k), (17)
to regulate the inverter currents to follow the inverter currents y1 (k) = C1 x1 (k) + D1 u 1 (k), (18)
set values [8]. Figure 2 shows the block diagram presenting
where
the control structure.
Ts
A standard voltage space vector algorithm is used to realize A1 = e A1 Ts , B1 = e A1 (Ts ) B1 d,
the PWM command voltages applied to the VSI. In the next two
Ts
0

subsections, the design of the proposed dual-loop controller


E1 = e A1 (Ts ) E 1 d, C1 = C1 , D1 = D1 ,
is given. The discrete-time state-space equations are adopted 0
for the two-loop control design in the dq stationary reference and Ts is the sampling period, which, in this case, is equal to the
frame. PWM period [8]. To force the inverter currents to follow their
set values (decided by the voltage controller), the sliding-mode
3.1. Discrete-time Sliding-mode Current Controller surface is chosen such that
The discrete-time sliding-mode controller is used in the inner S(k) = y1 (k) y1,r e f (k) = C1 x1 (k) y1,r e f (k)
current control loop to limit the inverter current under over-


= I iqd I iqd ,r e f .
load conditions because it provides fast and non-overshoot
response [8]. To design the discrete-time sliding-mode current Thus, the sliding surface S(k) is selected such that when the
discrete sliding-mode exists,



S(k) = 0 or I iqd = I iqd ,r e f .
The discrete-time sliding mode can be reached if control input
u 1 (k) is designed to be the solution of the following:
S(k + 1) = y1 (k + 1) y1,r e f (k + 1).
The control law that satisfies the above equation is known as
equivalent control and can be derived as follows:


FIGURE 2. Proposed MPC/Sliding-mode controller structure. S(k + 1) = C1 x1 (k + 1) I iqd ,ref = 0.
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 353

Then, from Eq. (17), the equivalent control to be implemented so, with substitution in those equations;
in the inner current control loop can be obtained as
x(k + 1) = As x(k) + Bs (C1 B1 )1



u 1eq (k) = (C1 B1 )1 [ I iqd ,ref C1 A1 x1 (k) C1 E 1 d1 (k)]. [ I iqd ,r e f C1 A1 x1 (k) C1 E 1 d1 (k)]. (22)
(19) 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)
3.2. Discrete Time Model Predictive Voltage Controller and (21) become

Since the MPC is the outer loop, the plant seen by the voltage xv (k + 1) = Av xv (k) + Bv u v (k), (23)
controller is the combination of the true plant (three-phase yv (k) = Cv xv (k), (24)
inverter with an L-C filter and the transformer) along with
where
the discrete-time sliding-mode current controller. To design the 1  
voltage controller, the following discrete-time nominal model Av = As Bs C1 B1 C1 A1 F1 + C1 E 1 F2 ,
1
of Eqs. (13) and (14) is used: Bv = Bs C1 B1 , Cv = Cs ,
 
x(k + 1) = As x(k) + Bs u(k), (20) F1 =
I22 022 022 022
,
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

y(k) = Cs x(k) + Ds u(k), (21) 022 I22 022 022


F2 = [ 022 022 I22 022 ].
where the state variable, input, and output are
x = [ Viq Vid Iiq Iid VLoadq VLoadd Isdq Isdd ]T , The next subsection uses the augmented plant to design the
model predictive voltage controller.
u = [ V pwm q V pwm d ]T , y = [ VLoadq VLoadd ]T ,

Ts 3.2.2. Design of the Discrete-Time Model Predictive
As = e As Ts , B1 = e As (Ts ) Bs d, Cs = Cs Ds = Ds . Voltage Controller
0

The load voltage reference to be tracked by the MPC is gen- MPC is essentially a class of computer control algorithms to
erated in the abc reference frame then transformed to the qd control the future behavior of a system through the use of
needed for the controller. The referene phase to neutral load an explicit model of the system. At each control step, the
voltages in the abc frame is given by MPC algorithm computes an open-loop sequence of controls
to optimize the future system behavior. For the MPC design,
VLoad,ref,an (k) = Vm sin(2 f ref k Ts ), the system in Eqs. (23) and (24) is considered. Bounds on the

2 manipulated variables are assumed, as follows:
VLoad,ref,bn (k) = Vm sin 2 f ref k Ts ,
3 u max u v (k) u max ,

2
VLoad,ref,cn (k) = Vm sin 2 f ref k Ts + , where u max is the maximum peak value of the inverter currents.
3
where Vm is the phase voltage magnitude, and f ref is the fun- 3.2.3. Augmented Model
damental reference frequency. Equations (15) and (16) are first transformed into an increment
The load voltage reference in the qd0 frame is given by model that is appropriate for MPC design purposes [33]:


V Load,r e f,abc = [ VLoad,ref,an VLoad,ref,bn VLoad,ref,cn ]T , xv (k + 1) xv (k) = Av (xv (k) xv (k 1))



V Load,r e f,qd0 = K s V Load,r e f,abc + Bv (u v (k) u v (k 1)),
= [ VLoad,ref,q VLoad,ref,d VLoad,ref,0 ]T . yv (k + 1) yv (k) = Cv (xv (k + 1) xv (k)),
Again, only the qd componenets are needed for the MPC or
design: xv (k + 1) = Av xv (k) + Bv u v (k),

yv (k + 1) = yv (k) + Cv Av xv (k) + Cv Bv u v (k),
V Load,r e f,qd = [ VLoad,ref,q VLoad,ref,d ]T .
and in final form with integral action:
  
xv (k + 1) Av 0 xv (k)
3.2.1. The Augmented Plant of the Voltage Controller =
yv (k + 1) Cv Av I yv (k)
To augment the discrete-time sliding-mode controller in the 
plant, the control law of the discrete-time sliding-mode current Bv
+ [u v (k)] . (25)
controller u 1eq (k) is used to equal u(k) in Eqs. (20) and (21); Cv Bv
354 Electric Power Components and Systems, Vol. 42 (2014), No. 34

By choosing a new state variable vector x(k) = (xv (k),


yv (k))T , Eq. (25) the becomes

x(k + 1) = Ax(k) + Bu(k), (26)


y(k + 1) = C x(k), (27)

where
 
Av 0 Bv
A= , B= , C = [0I ], u = u v ,
Cv Av I Cv Bv

3.2.4. Prediction of State and Output


Based on the augmented model in Eqs. (26) and (27), the pre-
dicted plant output is calculated using control input as the ad-
justable variable. Suppose that at sampling instant k the output
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

measurement y(k) is available; the future input trajectory is de-


noted 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 repre-
sented as FIGURE 3. Load voltage and current with reference voltage
variation.

j1
x(k + j|k) = A x(k) + j
A ji1 Bu(k + i|k),
i=0
satisfactory dynamic performance. The optimization problem

j1
y(k + j|k) = C A x(k) + j
CA ji1
Bu(k + i|k). is subject to the following constraints:
i=0
u max u(k + i|k) u max , i = 0, 1, . . . , Nc 1.
3.2.5. Optimization
It is noted that objective function V (k), as well as the input
Denote the following vector U (k) = [u(k|k), u(k + constraint, can be rewritten in terms of U (k) [33]. This leads
1|k), . . . , u(k + Nc 1|k)]T . An objective function result- to the following standard optimization problem:
ing in the control inputs to penalize deviations of the predicted
control outputs is first defined from a given reference trajectory 1
min U (k)T U (k) + T U (k),
r (k + i|k): U (k) 2


Np subject to U (k) ,
V (k) = y(k + i|k) r (k + i|k)2Q(i)
i=0 where , , , and are matrices of specific type; see [33].

N c 1 This optimization problem can be solved by quadratic pro-
+ u(k + i|k)2R(i) , gramming. Let the solution of the optimization problem be
i=0
denoted by
where Q(i) and R(i) are the weights. Parameters Nc , N p , Q(i),

and R(i) are all design parameters that can be tuned to give U (k) = [u (k|k), u (k + 1|k), . . . , u (k + Nc 1|k)]T .
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 355

3.2.6. MPC Algorithm frame, then transformed to the qd0 stationary reference frame
The idea of MPC is based on the receding horizon control needed for the controller. It is therefore required for differ-
principle, which can be summarized as follows: ent loading conditions to measure load voltage and current
in the abc reference frame with the required reference fre-
(i) at sampling time instant k, solve the optimization prob- quency of 60 Hz and phase angle difference of 120 between
lem using the current measurement y(k); the three phases. The measurements are also shown in the qd0
(ii) the first element of the resulting optimal controller, stationary reference to further explain the effectiveness of the
i.e., u (k|k), is applied to the plant in the interval controller by observing the qd0 load voltage and current, espe-
[k, k + 1] (the remaining {u (k + 1|k), . . . , u (k + cially the zero-sequence value in different loading conditions.
Nc 1|k} is disregarded; The tests focus on the stability of the controller to regulate the
voltage and frequency in cases of microgrid reference voltage
(iii) the procedure based on the output measurement y(k +
variation, load variation, single- and two-phase operation, and
i|k) is repeated from step (i) for the next sampling
unbalanced loading.
instants i + k(i = 1, 2, . . .).
The performance evaluation is intended to show the ef-
fectiveness of the controller design under different operation
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

4. PERFORMANCE EVALUATION scenarios. The controller is designed based on the nominal


The load voltage reference to be traked by the MPC is given system of Eqs. (13) and (14) and is applied to the plant that
in RMS value, then generated in the three-phase abc reference presents the three-phase inverter, filter, and loads described by

FIGURE 4. Load voltage and current at transition from refer-


ence voltage 90 V (RMS) to reference voltage 120 V (RMS) FIGURE 5. Load voltage and current with load resistance
of Figure 3. variation.
356 Electric Power Components and Systems, Vol. 42 (2014), No. 34

Quantity Value Test 1: Maintain the magnitude and the frequency of the
island voltage at desired reference voltage levels.
VSI filter inductance L inv 298 H
VSI filter capacitance Cinv 540 F In this test, the qd-reference voltage (RMS) value is step
Load side capacitors CLoad 90 F changed from 90 to 120 V, then back to 90 V, with a load
Transformer inductance L T 0.03 p.u. resistance of 20 ; the simulation is done for 1 sec, as
Transformer resistance RT 0.03 p.u. shown in Figure 3. Transient from 90 to 120 V (RMS)
Transformer turns ratio tr 120/245 is shown in Figure 4. The results show that the controller
System nominal frequency f 0 60 Hz is capable of tracking the reference voltage magnitude and
DC bus voltage VDC 540 V
frequency with zero steady-state error. The load and inverter
line currents are increased to accommodate the increased
TABLE 1. Parameters of the system in Figure 1 demand of the load due to microgrid voltage increment.
Test 2: Maintain the stability of the islanded microgrid in
the presence of load uncertainties, which are presented



Eqs. (5) and (8) with I Loadabc = V Loadabc /Rload . Here Rload by load resistance variations.
is an uncertain load parameter. Load resistance is step decreased from open circuit to 80,
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

The parameters of the test system shown in Figure 1 are 40, and 20 , and finally to open-circuit case gain, as shown
given in Table 1. in Figure 5. As the load resistance changes to smaller value,
For performance evaluation and verification of the proposed the VSI has to increase its real current to compensate the
controller, the following tests are performed. increase of real power of the load. Step changes show the ef-
fectiveness of the proposed controller in dealing with abrupt

FIGURE 6. Load voltage and current at transition of load FIGURE 7. Load voltage and current with single-phase load
resistance variation of Figure 5. operation.
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 357

load variations. Transient from 80 to 40  is shown in Fig- Assuming a full load resistance of 20 , phase a is 50%
ure 6. loaded, phase b is 80% loaded, and phase c is 70% loaded.
Test 3: Maintain the voltage stability of the islanded mi- The simulation is performed for 0.1 sec. The results are
crogrid with single- and two-phase load operation. presented in Figure 9.
The simulation for both cases is performed for 0.1 sec. To Test 5: Transient performance for transition from open
simulate single-phase operation, the resistance of phase a circuit to short circuit at the output terminals using the
is set at 20 , while phases b and c are open circuited. The proposed controller.
simulation results are presented in Figure 7. It is observed The final verification to the proposed control algorithm is
that the controller adjusts the microgrid load voltage at for the ability to limit the inverter currents under short
120 V (RMS), while the line current is drawn by phase a circuits at the output terminal, as shown in Figs. 10
only. and 11.
When testing two-phase operation, phase a and b resis-
tances are set to 20 , while phase c is open circuited. (a) With constrained MPC voltage controller: The pro-
The simulation results are presented in Figure 8. It is ob- posed MPC voltage controller provides the reference
served that the controller adjusts the microgrid load voltage inverter currents, which are constrained to prevent the
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

at 120 V (RMS), while line currents are drawn by phase a inverter currents from exceeding the rated values. In
and b. this case, there is no need for a separate overload cur-
Test 4: Maintain the voltage stability of the islanded mi- rent limiting function as it is embedded in the MPC
crogrid for unbalanced loading. design. Figure 10 shows the system response to the
transition from open circuit to short circuit.

FIGURE 8. Load voltage and current two-phase load opera- FIGURE 9. Load voltage and current with unbalanced load-
tion. ing.
358 Electric Power Components and Systems, Vol. 42 (2014), No. 34
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

FIGURE 10. Transition from open circuit to short circuit. FIGURE 11. Transition from open circuit to short circuit in
case of using RSP control.

(b) With RSP voltage controller: This test is performed served that the zero component of the load voltage in the qd0
using the RSP for voltage controll as proposed in [20]. frame is always zero for all loading conditions.
In this method, the current limiting function is per-
formed to limit the inverter current commands gen- 5. CONCLUSION
erated by the RSP voltage controller. This limiting A proposed dual-loop controller for the V-f control of a VSI in
function is not included in the RSP voltage controller an islanded microgrid is presented in this article. The controller
design, and is accomplished by limiting the magnitude design is based on employing a cascaded control strategy of
of the inverter current commands vector to 300% of two loops. The inner loop is a fast response current controller
the rated values and maintaining its original direction. designed using sliding-mode control to regulate the VSI cur-
Figure 11 shows the response to the transition from rent under overload conditions. The outer loop is a voltage
open circuit to short circuit, mainly showing the re- controller designed using MPC to regulate the microgrid volt-
sponse of the inverter currents with and without the age and frequency. A dynamic model of a test system and
current limiting function. Large overshoot is observed controller is developed. The performance evaluation of the
in the case of not using a current limiter, which is proposed control strategy is tested under different operating
likely to damage the inverter device. conditions, showing the robustness of the proposed strategy
for autonomous operation of SMGs.
The simulation results of Tests 14 show that, in cases of
a balanced three-phase load and single-phase load operations, REFERENCES
the zero component of the load current in the qd0 frame is [1] Strzelecki, R., and Benysek, G., Power Electronics in Smart
always zero, while in cases of an unbalanced three-phase load Electrical Energy Networks, London: Springer-Verlag, Chap.
and two-phase load operations, it is non-zero. It is also ob- 1., pp. 15, 2008.
Abo-Al-Ez et al.: A Dual-loop Model Predictive Voltage Control/Sliding-mode Current Control for VSI Operation in Smart Microgrids 359

[2] Moaddabi, N., Hosseinian, S. H., and Gharehpetian, G. B., [19] Marwali, M., and Keyhani, A., Control of distributed genera-
Practical framework for self-healing of smart grids in sta- tion systemspart I: Voltages and current control, IEEE Trans.
ble/unstable power swing conditions, Elect. Power Compon. Power Electron., Vol. 19, No. 6, pp. 15411550, 2004.
Syst., Vol. 40, No. 6, pp. 575596, 2012. [20] Marwali, M., Dai, M., and Keyhani, A., Robust stability anal-
[3] Moaddabi, N., and Gharehpetian, G. B., Wide-area method ysis of voltage and current control for distributed generation
for self-healing of smart grids in unstable oscillations, Elect. systems, IEEE Trans. Energy Convers., Vol. 21, No. 2, pp.
Power Compon. Syst., Vol. 41, No. 4, pp. 365382, 2013. 516526, 2006.
[4] Erseghe, T., and Tomasin, S., Power flow optimization for [21] Karimi, H., Davison, E., and Irvani, R., Multivariable
smart microgrids by SDP relaxation on linear networks, IEEE servomechanism controller for autonomous operation of
Trans. Smart Grid, Vol. 4, No. 2, pp. 751762, 2013. distributed generation unit: Design and performance evalua-
[5] Girgis, A. A., and Makram, E. B., Innovations in power sys- tion, IEEE Trans. Power Syst., Vol. 25, No. 2, pp. 853865,
tems, Proceedings of 14th Int. Middle East Power Systems 2010.
Conference (IEEE MEPCON10), Cairo, Egypt, 1921, De- [22] Bahrani, B., and Ruler, A., Model predictive-based voltage
cember 2010. regulation of an islanded distributed generation unit, IEEE
[6] Gellings, C. W., The Smart Grid: Enabling Energy Efficiency Conference on Energy Conversion Congress and Exposition
and Demand Response, Liburn, GA: Fairmont Press, Chap. 1, (ECCE), pp. 465472, Phoenix, AZ, 1722 September 2011.
pp. 15, 2009. [23] Gemma, L., Performance Limitations in the Robust Servomech-
[7] Dugan, R. C., McGranaghan, M. F., Santos, S., and Wayne anism Control Problem for Discrete and Sampled Data System,
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

Beaty, H. , Electrical Power Systems Quality, 2nd ed. New Ph.D. Thesis, University of Toronto, December 2000.
York: McGraw Hill, Chap. 9, pp. 386388, 2004. [24] Mayne, D. Q., Rawlings, J. B., Rao, C. V., and Scokaert, P.
[8] Keyhani, A., Marwali, M., and Dai, M., Integration of Green O. M., Constrained model predictive control: Stability and
and Renewable Energy in Electric Power Systems, Hoboken, optimality, Automatica, Vol. 36, No. 6, pp. 789814, 2000.
NJ: John Wiley & Sons, Chap. 2, pp. 2630, 2010. [25] Qin, S. J., and Badgwell, T., A survey of industrial model
[9] IEEE, IEEE Standard for interconnecting distributed resources predictive control technology, Control Eng. Pract., Vol. 11,
with electric power systems, IEEE Standard 1547-2003, pp. No. 7, pp. 733764, 2003.
116, July 2003. [26] Otomega, B., Marinakis, A., Glavic, M., and Van Cutsem, T.,
[10] Dou, C. X., Liu, D. L., Jia, X. B., and Zhao, F., Management Model predictive control to alleviate thermal overloads, IEEE
and control for smart microgrid based on hybrid control the- Trans. Power Syst., Vol. 22, No. 3, pp. 13841385, 2007.
ory, Elect. Power Compon. Syst., Vol. 39, No. 8, pp. 813832, [27] Ekpenyong, U. E., Zhang, J., and Xia, X., An improved ro-
2011. bust model for generator maintenance scheduling, Elect. Power
[11] Piagi, P., and Lasseter, R. H., Autonomous control of micro- Syst. Res., Vol. 92, pp. 2936, 2012.
grids, Proceedings of IEEE Power Engineering Society Gen- [28] Xia, X., Zhang, J., and Elaiw, A. M., An application of model
eral Meeting, 1822, Montreal, June 2006. predictive control to the dynamic economic dispatch of power
[12] Lasseter, R. H., and Piagi, P., Control and Design of Micro- generation, Control Eng. Pract., Vol. 19, pp. 638648, 2011.
grid Components, Tempe, AZ: PSERC Publication, Chap. 3, [29] Elaiw, A. M., Xia, X., and Shehata, A. M., Application of
pp.1926, 2006. model predictive control to optimal dynamic dispatch of gen-
[13] Nikkhajoei, H., and Lasseter, R. H., Distributed generation eration with emission limitations, Elect. Power Syst. Res., Vol.
interface to the CERTS microgrid, IEEE Trans. Power Deliv., 84, pp. 3144, 2012.
Vol. 24, No. 3, pp. 15981608, 2009. [30] Elaiw, A. M., Xia, X., and Shehata, A. M., Minimization of
[14] Sao, C. K., and Lehn, P. W., Autonomous load sharing of fuel costs and gaseous emissions of electric power generation by
voltage source converters, IEEE Trans. Power Deliv., Vol. 20, model predictive control, Math. Prob. Eng., Vol. 3013, Article
No. 2, pp. 10091016, 2005. ID 906958, 2013.
[15] Yu, X., Khambadkone, A. M., Wang, H., and Terence, S. T. S., [31] Zhang, J., and Xia, X., A model predictive control approach
Control of parallel-connected power converters for low-voltage to the periodic implementation of the solutions of the optimal
microgridPart I: A hybrid control architecture, IEEE Trans. dynamic resource allocation problem, Automatica, Vol. 47, pp.
Power Electron., Vol. 25, No. 12, pp. 29622970, 2010. 358362, 2011.
[16] Abo-Al-Ez, K. M., Xia, X., and Zhang, J., Smart interconnec- [32] van Staden, A. J., Zhang, J., and Xia, X., A model predictive
tion of a PV/wind DG micro grid with the utility distribution control strategy for load shifting in a water pumping scheme
network, Proceedings of Industrial and Commercial Use of with maximum demand charges, Appl. Energy, Vol. 88 pp.
Energy Conference (ICUE), Cape Town, South Africa, 14-17 47854794, 2011.
August 2012. [33] Maciejowski, J. M., Predictive Control with Constraints,
[17] Ahmed, A., Radwan, A., and Abdel-Rady Mohamed, Y., Lin- Harlow, England: Prentice Hall, Chap. 3, pp. 7390, 2002.
ear 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 BIOGRAPHIES
scheme for a microgrid with PFC capacitor connected, Proc.
IEEE Industry Applications Conference, 40th IAS Annu. Meet- Khaled M. Abo-Al-Ez received the B.S., M.S., and Ph.D.
ing, Vol. 4, pp. 24412448, 26 October, 2005. degrees from the Department of Electrical Engineering,
360 Electric Power Components and Systems, Vol. 42 (2014), No. 34

Mansoura University, Mansoura, Egypt, in 2000, 2003, and he is an associate professor of Mathematics at King Abdulaziz
2011, respectively. He was a visiting scholar at the Univer- University, Saudi Arabia. His research interests include control
sity of New Brunswick, Fredericton, Canada from Sept. 2005 systems, power system optimization and smart grids.
to Aug. 2006. He was a post doctoral fellow at the Centre
of New Energy Systems (CNES) in the University of Pre- Xiaohua Xia is a professor in the Electrical, Electronic and
toria, Pretoria, South Africa from Mar. 2012 to Feb. 2013. Computer Engineering at the University of Pretoria, South
Dr. Abo-Al-Ez is currently an assistant professor of electrical Africa, director of the Centre of New Energy Systems, and the
power engineering in Mansoura University, Mansoura, Egypt. director of the National Hub for the Postgraduate Programme
His research interests are renewable energy generation sys- in Energy Efficiency and Demand-side Management. Prof. Xia
tems, decentralized generation, mathematical and computer is a fellow of the Institute for Electronic and Electrical Engi-
modeling, power system optimization, power system planning neers (IEEE), a fellow of the South African Academy of En-
and automation, power electronics, power quality and smart gineering (SAAE), and a member of the Academy of Science
grids. of South Africa (ASSAf). He has an A rating from the South
African National Research Foundation (NRF). He has been an
Ahmed Elaiw received his Ph.D. from Budapest University of associate editor of Automatica, IEEE Transactions on Circuits
Downloaded by [Khaled M. Abo-Al-Ez] at 05:09 07 February 2014

Technology and Economics, Budapest, Hungary. He was a post and Systems II, IEEE Transactions on Automatic Control, and
doctoral fellow at the Centre of New Energy Systems (CNES) specialist editor (control) of the SAIEE Africa Research Jour-
in the University of Pretoria, Pretoria, South Africa from Aug. nal. His research interests are control systems and automation,
2007 to Jul. 2008. Also, he was a visiting professor at CNES, and more recently, the modeling and optimization of energy
University of Pretoria from Jun. 2012 to Aug. 2012. Currently, systems.

You might also like