Professional Documents
Culture Documents
E
xisting electric power distribution networks are operating near full capacity
Ali Bidram,
and facing rapid changes to address environmental concerns and improve
Frank L. Lewis,
their reliability and sustainability. These concerns are satisfied through
and Ali Davoudi
the effective integration and coordination of distributed generators (DGs),
which facilitate the exploitation of renewable energy resources, including
wind power, photovoltaics, and fuel cells [1]. Although DGs can be of rotating ma-
chinery type, more recently, DGs have been designed to support renewable energy
resources by electronic interfacing through voltage source inverters (VSI). Each DG
corresponds to one energy source, and its control inputs are given to the interface
Digital Object Identifier 10.1109/MCS.2014.2350571 VSI [1]–[5]. The successful coordination of DGs can be realized through microgrids,
Date of publication: 13 November 2014 which are small-scale power systems consisting of local generation, local loads, and
- E Primary Control
Islanded ! GE(s) PCC
oref of First DG PG, QG
Grid-Connected +
oref Microgrid Main Grid
~ref Islanded Primary Control
+ ~ref of Second DG
! G~(s) !
Grid-Connected
+
- ~ + D~s
Primary Control
of Nth DG
PLL
PG
GP(s) ! -
+ PGref PG, QG
ref
+ QG Measurement
GQ(s) ! -
QG
Tertiary Control
Figure 2 Conventional centralized secondary and tertiary control structures with a control layout of the microgrid. The microgrid is con-
nected to the main grid at the point of common coupling (PCC). Conventional secondary and tertiary controls have a centralized struc-
ture, while the primary control is decentralized and computed at each distributed generator. A phase-locked loop (PLL) is used to
synchronize the microgrid to the main grid.
multiagent systems can be used to implement a reliable sec- Over the last decades, networked multiagent systems
ondary control structure for microgrids, where “distrib- have earned much attention due to their flexibility and com-
uted” means that the controller uses a communication net- putational efficiency. These systems are inspired by natural
work by which each agent only receives the information of phenomena such as insect swarming, bird flocking, thermo-
its neighboring agents, and “cooperative” means that, in dynamic laws, and synchronization and phase transitions in
contrast to competitive control, all agents act as one group physical and chemical systems. In these phenomena, distrib-
towards a common synchronization goal and follow coop- uted coordination and synchronization processes necessi-
erative decisions [16]–[18]. This article reviews the existing tate that each agent exchange information with other agents
distributed secondary control schemes. according to some restricted communication protocol [18],
A microgrid can be considered as a multiagent system [19]. Distributed cooperative control of multiagent systems is
where the DGs are the energy generation nodes (agents). mainly categorized into the regulator synchronization prob-
Each DG corresponds to an energy source and is connected lem and the tracking synchronization problem. In the regu-
to the microgrid through a VSI. The VSIs are intercon- lator synchronization problem, also called leaderless consen-
nected by the physical power network configuration. sus, all agents synchronize to a common value that is not
Figure 3 shows the multiagent environment for a microgrid prescribed. In the tracking synchronization problem, also
system with DGs as agents. Each DG corresponds to an called pinning control, all agents synchronize to a leader node
energy resource. The objective of this article is to describe that acts as a command generator. Neighboring agents can
how to replace the existing standard of centralized second- communicate with each other. The leader is only connected
ary control by a sparse and efficient distributed communi- to a small number of the agents [20]–[22].
cation network that overlays the physical power connection Secondary control of microgrids is similar to the tracking
network. This communication network is a cyberinforma- synchronization problem of a multiagent system where the DG
tion flow layer that can be designed separately from the voltages and frequencies are required to track their nominal
physical layer and specifies the allowed communications values (for example, the frequencies should synchronize to 50
between the DGs. The described secondary controller uses Hz or 60 Hz). The dynamics of DGs in microgrids are nonlinear
cooperative multiagent control techniques and so is distrib- and nonidentical. This article describes the use of the method of
uted in nature, requiring communications only from neigh- input–output feedback linearization to transform the nonlinear
boring nodes in the communication graph. Neighboring heterogeneous dynamics of DGs to linear dynamics. Input–
nodes that directly communicate with each other in the output feedback linearization transforms the secondary volt-
cyber layer are selected based on requirements for fast syn- age control to a second-order tracking synchronization prob-
chronization and robust response to disturbances. lem. The secondary frequency control is transformed to a
Secondary Control
AC Bus
)
v )odi = E )i - D Qi Q i,
Large-Signal Dynamical Model (12)
v )oqi = 0.
of an Inverter-based DG
This section details the dynamic models used in microgrid The block diagram of the voltage controller is shown in
control. Understanding these models allows the applica- Figure 9. The differential algebraic equations of the voltage
tion of many control system design methods that are famil- controller are
iar to the control systems community.
zo di = v odi - v odi, (13)
)
This article assumes that DGs are connected to the
microgrid by VCVSIs. As seen in Figure 5, a VCVSI-based DG zo qi = v oqi - v oqi, (14)
)
Figure 9 The block diagram of the voltage controller, which sets the refer-
v )idi =-~ b L fi i lqi + K PCi (i ldi
)
- i ldi) + K ICi c di, (19)
ences for the current controller.
v )iqi = ~ b L fi i ldi + K PCi (i )lqi - i lqi) + K ICi c qi, (20)
where c di and c qi are the auxiliary state variables defined Distributed Secondary
for the PI controllers in Figure 10, and i ldi and i lqi are the Voltage Control of Microgrids
direct and quadrature components of i li in Figure 5. Other In this section, the distributed cooperative control of multia-
parameters are shown in Figures 5 and 10. gent systems is used to design the secondary voltage control
The differential equations for the output LC filter and of microgrids. The secondary voltage control of the ith DG in
output connector are a microgrid selects E )i in (4) such that the terminal voltage
amplitude of each DG, v o,magi, approaches the reference value,
R fi
io ldi =- i + ~ i i lqi + 1 v idi - 1 v odi, (21) v ref. The microgrid operator chooses v ref. If v ref is set to the
L fi ldi L fi L fi nominal voltage of microgrid, v nominal, the output voltage
R fi magnitude of DGs synchronizes to the nominal voltage of
io lqi =- i - ~ i i ldi + 1 v iqi - 1 v oqi, (22)
L fi lqi L fi L fi microgrid. However, v ref can be chosen such that the voltage
magnitude of a critical bus of the microgrid synchronizes to
vo odi = ~ i v oqi + 1 i ldi - 1 i odi, (23) v nominal (the critical bus of the microgrid is the bus to which a
C fi C fi
sensitive load is connected). In this case, v ref is defined by
vo oqi =-~ i v odi + 1 i lqi - 1 i oqi, (24)
C fi C fi v ref = k pc (v nominal - v c,mag) + k ic # (v nominal - v c,mag) dt, (29)
R ci
io odi =- i + ~ i i oqi + 1 v odi - 1 v bdi, (25)
L ci odi L ci L ci
R ci KICi
io oqi =- i - ~ i i odi + 1 v oqi - 1 v bqi . (26)
* ! ! *
lldi KPCi + vidi
L ci oqi L ci L ci + s +
- -
Equations (9)–(26) form the dynamical model of the i th ildi ~bLfi
DG. This large-signal dynamical model is nonlinear and
can be written in a compact form as
ilqi
)
xo i = fi (x i) + k i (x i) D i + g i (x i) u i, ildi
(27)
y i = h i (x i),
- +
x i = [d i Pi Q i z di z qi c di c qi i ldi i lqi v odi v oqi i odi i oqi] T. (28) + KICi +
* *
lqi ! KPCi + ! oiqi
s
The term D i is D i = [~ com v bdi v bqi] T . The detailed
expressions for fi (x i), g i (x i), and k i (x i) can be extracted Figure 10 The block diagram of the current controller, which sets
from (9) to (26). the references for the inverter bridge.
T he communication network of a multiagent cooperative can get information from node i but not necessarily vice versa.
system can be modeled by a directed graph (digraph). A The in-degree matrix is defined as D = diag {d i} ! R N # N with
digraph is expressed as Gr = (VG, E G, A G) with a nonempty d i = / j ! Ni a ij . The Laplacian matrix is defined as L = D - A G .
finite set of N nodes VG = {v 1, v 2, f, v N}, a set of edges or A directed path from node i to node j is a sequence of edges,
arcs E G 1 VG # VG, and the associated adjacency matrix expressed as {(v i, v k), (v k, v l), f, (v m, v j)} . A digraph is said to
A G = [a ij] ! R N # N . In a microgrid, DGs are the nodes of the have a spanning tree if there is a root node with a directed
communication digraph. The edges of the corresponding path from that node to every other node in the graph [S1]–[S2].
digraph of the communication network represent the commu- A digraph is strongly connected if there is a directed path
nication links. between any two nodes in the graph.
An edge from node j to node i is denoted by (v j, v i), which
means that node i receives the information from node j. a ij is References
the weight of edge (v j, v i), and a ij 2 0 if (v j, v i) ! E G, otherwise [S1] W. Ren and R. W. Beard, Distributed Consensus in Multi-Vehicle
Cooperative Control. Berlin, Germany: Springer, 2008.
a ij = 0. Node i is called a neighbor of node j if (v i, v j) ! E G . The
[S2] F. L. Lewis, H. Zhang, K. Hengster-Movric, and A. Das, Coopera-
set of neighbors of node j is denoted as N j = { i (v i, v j) ! E G} . tive Control of Multiagent Systems: Optimal and Adaptive Design Ap-
For a digraph, if node i is a neighbor of node j, then node j proaches. New York: Springer-Verlag, 2014.
T he controllers designed in this article must be supported by requirements to implement the controller with a time-invariant
a local communication network. This network can be imple- communication network are rather mild. However, the controller
mented by a TCP/IP communication protocol with optical fiber could be susceptible to communication link failures or data loss.
links [S3]. The sampling time of the secondary control can be In time-varying communication structures, each DG can
chosen to be much larger than the sampling time of the commu- send its own information to the neighboring DGs intermittently.
nication network. Communication links contain an intrinsic delay The communication network is piecewise constant; that is, the
(for example, around 1 ms for optical fiber links [S3]). Since the adjacency matrix A G changes intermittently at prespecified
time scale of the secondary control is large enough, the commu- time instants. Therefore, the secondary control is robust against
nication link delays can be safely assumed to be zero [12]. The data loss and communication link failures [S4]–[S6]. Accord-
software and hardware infrastructure required to implement the ing to [S6], a time-varying communication network can provide
discussed distributed control protocols is quite modest. Voltage- the synchronization if the sequential completeness condition is
source inverters can be accompanied with commercial digital satisfied. The sequential completeness condition means that,
signal processors (DSPs) to implement internal voltage and cur- given an infinite sequence of finite intervals, the resulting graph
rent control loops,‑ as shown in Figure 5. The distributed control over each finite interval must contain a spanning tree.
protocols embedded on each DG would not require dedicated
signal processing units and do not impose a heavy processing References
burden on the existing DSP. The distributed adaptive controllers [S3] Q. Yang, J. A. Barria, and T. C. Green, “Communication infrastruc-
can be deployed on the existing processors, with a slight soft- tures for distributed control of power distribution networks,” IEEE Trans.
Ind. Inform., vol. 7, pp. 316–327, May 2011.
ware update to pre-existing codes. [S4] R. Olfati-Saber and M. Murray, “Consensus problems in networks
The distributed controllers presented here can admit both of agents with switching topology and time-delays,” IEEE Trans. Autom.
time-invariant and time-varying communication networks. For Contr., vol. 49, pp. 1520–1533, Sept. 2004.
[S5] W. Ren and R. W. Beard, “Consensus seeking in multiagent sys-
time-invariant communication networks, the adjacency matrix tems under dynamically changing interaction topologies,” IEEE Trans.
A G is fixed. The communication topology must be a graph con- Autom. Contr., vol. 50, pp. 655–661, May 2005.
taining a spanning tree in which the controller of each DG only [S6] H. Xin, Z. Qu, J. Seuss, and A. Maknouninejad, “A self-organiz-
ing strategy for power flow control of photovoltaic generators in a dis-
requires information about that DG and its immediate neighbors tribution network,” IEEE Trans. Power Syst., vol. 26, pp. 1462–1473,
on the communication graph. Therefore, the communication Aug. 2011.
where y i = [y i z i] T, B = [0 1] T, and A = ; E.
0 1
L Fi h i is the Lie derivative [30] of h i with respect to Fi, which
0 0
is defined by L Fi h i = dh i Fi = ^2h i /2x ih Fi, and L 2Fi h i is defined Using input–output feedback linearization, the nonlin-
by L 2Fi h i = L Fi (L Fi h i) = ^2 (L Fi h i) /2x ih Fi . ear dynamics of each DG in (27) are transformed to (37) and
An auxiliary control v i is defined as a set of internal dynamics. The commensurate reformu-
lated dynamics of the reference can be expressed as
v i = L 2Fi h i + L g i L Fi h i u i . (33)
yo 0 = Ay 0, (38)
Equations (31) and (33) result in the second-order linear system where y 0 = [y 0 yo 0] T . Since y 0 = v ref is constant, yo 0 = 0.
It is assumed that DGs can communicate with each other
yp i = v i, for all i. (34)
through a communication network described by the digraph
By choosing appropriate v i, the synchronization for y i Gr. Based on the digraph Gr, the i th DG may need to trans-
is provided. The control input u i is implemented by v i as mit y i in (37) through the communication network. It is
assumed that only one DG has access to the reference y 0 in
u i = (L g i L Fi h i) -1 (- L 2Fi h i + v i). (35) (38) by a weight factor known as the pinning gain b i . The
secondary voltage control problem is to find a distributed v i
To design v i, first (34) and the first derivative of y i are in (35) such that DG output voltage magnitudes and their
written as first derivatives synchronize to y 0 in (38), that is, y i synchro-
nizes y 0 for all i. To solve this problem, the cooperative team
yo i / z i,
'
for all i objectives are expressed in terms of the local neighborhood
(36)
zo i = v i, for all i tracking error
where N i denotes the set of DGs neighboring the ith DG, and where Y = [y T1 y T2 fy NT ] T, e = [e T1 e T2 fe NT ] T, Y0 = 1 N y 0 (1 N
a ij denotes the elements of the communication digraph adja- is the vector of ones with the length of N ), B = diag {b i}, I 2 is
cency matrix. The pinning gain b i is nonzero for only one DG. the 2 # 2 identity matrix, d is the global disagreement
For a microgrid including N DGs, the global error vector, the Kronecker product is shown as 7 [32], and Yo can
vector for graph Gr is written from (39) as [31] be written as
Yo = (I N 7 A) Y + (I N 7 B) v, (41)
K = R -1 B T P1, (44)
Yi = [vodi vodi]T
:
1 A T P1 + P1 A + Q
ri Calculator c ! # zfi
:
Y-i = [vod(-i) vod(-i)]T - - di + bi - P1 BR -1 B T P1 = 0, (45)
- ^ T
Wfi
Information from : and
Neighboring DGs 1 ^ =F z r -l F W
W fi fi fi i
^
fi fi fi
c$ 1 , (46)
di + bi 2m min
Adaptive ^ T
W where m min = min i ! N Re (m i), where
gi :
Secondary zgi # ^ =F z r -l F W
W ^ m i (i ! {1, 2, f, N}) are the eigen-
gi gi gi i gi gi gi
Voltage values of L + B.
Control
The block diagram of second-
ary voltage control based on dis-
Figure 13 The block diagram of the adaptive and distributed secondary control. In this figure, tributed cooperative control is
zrfi and z gi are the neural network basis functions introduced in (70) and (71). The proposed
r
control is fully independent of the distributed generator (DG) parameters and the connector
shown in Figure 11. As seen, the
specifications. Therefore, the performance of the secondary control does not deteriorate with control input E )i is implemented
changing DG parameters (for example, due to aging effects or thermal variations). using (35). Each DG has a vo odi
Figure 14 A single line diagram of the microgrid test system. The microgrid is con-
Distributed Secondary nected to the main grid at the point of common coupling (PCC).
Frequency Control
of Microgrids
In this section, the distributed cooperative control of mul-
tiagent systems is used to design the secondary frequency Table 1 The specifications of the microgrid test system
in Figure 14.
control of microgrids. Input–output feedback linearization
is used to transform the nonlinear heterogeneous dynam- DGs
ics of DGs to linear dynamics. Once input–output feedback
linearization is applied, the secondary frequency control DG 1 and 2 (9-kVA rating) DG 3 and 4 (7-kVA rating)
leads to a first-order synchronization problem. Fully dis-
mP 9.4 # 10 -5 mP 12.5 # 10 -5
tributed frequency control protocols are derived for each
DG that synchronize the DG frequencies to the nominal nQ 1.3 # 10 -3 nQ 1.5 # 10 -3
value and allocate the active power of DGs based on their
active power ratings [25], [35]. The work in this section was Rc 0.03 X Rc 0.03 X
first presented in [25].
Lc 0.35 mH Lc 0.35 mH
The primary frequency control is considered,
~ i = ~ i - D Pi Pi, (47)
) Rf 0.1 X Rf 0.1 X
D P1 P1 = g = D PN PN . (48) Lines
L L1 0.0064 H L L2 0.0032 H
~o i = ~o i + D Pi Po i = u i, (50)
)
T he effectiveness of the distributed voltage protocol in (43) is chosen according to (29), where v c,mag in (29) denotes the volt-
verified through the microgrid test system in Figure 14. Loads 1 age magnitude of the critical bus. The value of v nominal in (29) is
and 2 are modeled as constant impedance loads. The resistances
of loads 1 and 2 are 3 Ω and 2 Ω, respectively. The inductances
of loads 1 and 2 are 6.4 and 3.2 mH, respectively. Simulation 1.05
results are provided for both time-varying and fixed communica-
tion networks. In both cases, the microgrid is assumed to be dis- 1
Vo,mag(pu)
connected from the main grid and switches to the islanded mode
at t = 0. The distributed secondary voltage control is switched on 0.95
at time t = 0.6 s. For the distributed secondary voltage control in
(43), the coupling gain is c = 4, which satisfies (46). The solution 0.9
of the ARE in (45) is used to calculate the feedback control vector
0.85
K in (43). In (38), the ARE parameters are chosen as 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Time (s)
Q =; E
50000 0
(a)
0 1
0.95
DG 1 DG 4
Reference 0.9
Value 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
Time (s)
(c)
Z
where u i is an auxiliary control to be designed. Equation (50) ] ~o 1 + D P1 Po 1 = u 1,
is a dynamic system for computing the control input ~ )i ] ~o 2 + D P2 Po 2 = u 2,
[
from u i . The auxiliary control must be designed such that ] h
DG frequencies synchronize to the reference frequency ~ ref ] ~o N + D PN Po N = u N . (51)
\
and (48) is satisfied. According to (50), the secondary fre-
quency control of a microgrid including N DGs is trans- To achieve synchronization, it is assumed that DGs
formed to a synchronization problem for a first-order and can communicate with each other through the pre-
linear multiagent system scribed communication digraph Gr. For details, see
Vo,mag(pu)
1
0.95
0.95
0.9 0.9
0 0.2 0.4 0.6 0.8 1 1.2 1.4 0 0.5 1 1.5 2
Time (s) Time (s)
Figure S3 The critical bus voltage magnitude. As seen, the dis- Figure S5 The distributed generator output voltage magni-
tributed voltage control is applied at t = 0.6 s and returns the tudes with a time-varying communication network.
voltage magnitude of critical bus to v nominal in fewer than 0.2 s.
“Preliminaries of Graph Theory.” The auxiliary controls where c f ! R is the coupling gain. It is assumed that the
u i are chosen based on each DG’s own information and pinning gain b i $ 0 is nonzero for only one DG that has the
the information of its neighbors in the communication reference frequency ~ ref.
digraph as
Lemma 2 [35]
u i =- c f ( / a ij (~ i - ~ j)
j ! Ni
Let the digraph Gr have a spanning tree and b i ! 0 for
+ b i (~ i - ~ ref) + / a ij (D Pi Pi - D Pj Pj)), (52) only one DG placed as a root node of digraph Gr. Let the
j ! Ni auxiliary control u i be chosen as in (52). Then, the DG
then, mation error; zrfi ! R lrf consists of a set of lrfi basis functions;
i
The Adaptive and Distributed Controller Design mation error; zrgi ! R lrg consists of a set of lrgi basis functions;
i
The energy function [48] t rf-i, and Wt rg-i are the NN inputs; and Wt rTgi zrgi is
x i, r-i, x -i, W
the NN output. The estimates of weight vectors are denoted
r2
Vri = 1 i (65) as W t r.gi . The terms r-i, x -i, Wt rf-i, and Wt rg-i are the sliding-
2 gi
mode error, the states, and the NN estimated weight vec-
is used to design the adaptive control input u i and develop tors of the neighbors of i th DG on the communication
a Lyapunov function, which is exploited to prove that the digraph, respectively. The error of the NN weights is
designed control input synchronizes the output voltage defined as W u rTgi = Wt rTgi - WrTgi .
magnitudes of DGs. The adaptive control input u i must be
chosen such that the derivative of the Lyapunov function is Remark 2
locally negative definite. Considering Stone-Weierstrass approximation theorem
M M
Differentiating Vri and substituting ro i from (60) yields [49], positive numbers Wrfi , frfi , WrM M
g i , and f g i exist such that
r M
M M M
Wrfi # Wrfi , frfi # frfi , Wrgi # Wrgi , and frgi # frgi .
-go i
Vo ri = 1 e -g i0 + 2 o r 2i + ri g i-1 (- / a ij ( f j + g j u j))
2 gi j ! Ni
Definition 1
The Yi are cooperative uniformly ultimately bounded
+ ri g i c m 1 e i, 2 + (d i + b i) ( fi + g i u i) + m,
-1 g i g i0 ri
(66)
2 (UUB) with respect to Y0 if there exists a compact set
X 1 R r such that, for all (Yi (t 0) - Y0 (t 0)) ! X, there exists a
or equivalently, bound B and a time t f (B, (Yi (t 0) - Y0 (t 0))), both indepen-
-go i dent of t 0, where Yi (t 0) - Y0 (t 0) # B, for all t > t 0 + t f [43].
Vo ri = 1 e -g i0 + 2 o r i2
2 gi
Lemma 4 [26]
+ rirfi + ri gr i + ri (d i + b i) u i, (67)
The commensurate reformulated dynamics of DGs in (54)
where are considered. Let the digraph Gr contain a spanning tree
and b i ! 0 for at least one root node. The internal dynamics
rfi = m 1 e i,2 +g(d i + b i) fi + g i20 ri (68) are assumed to be asymptotically stable. Suppose that the
i control inputs are chosen as
T he effectiveness of the discussed frequency control proto- The reference value for the microgrid frequency fref = ~ ref /2r is
col in (52) is verified by simulating the microgrid test sys- 50 Hz. The coupling gain c f is set to 400. It is assumed that the
tem shown in Figure 14. The resistances of loads 1 and 2 are microgrid is islanded from the main grid at t = 0, and the sec-
3 Ω and 2 Ω, respectively. The inductances of loads 1 and 2 ondary frequency control is applied at t = 0.6 s. Figures S6 and
are 6.4 and 3.2 mH, respectively. The simulation results are S7 show frequencies and active powers of DGs in the presence
performed in the presence of both fixed and time-varying com- of fixed and time-varying communication networks, respectively.
munication networks depicted in Figures S1 and S4. In both As seen in Figures S6(a) and S7(a), once the primary control is
cases, the microgrid is disconnected from the main grid and applied, DG operating frequencies all go to a common value that
switched to islanded mode at t = 0. As a result, the frequency is the operating frequency of microgrid. However, the secondary
synchronization to the nominal frequency is lost. The distrib- frequency control returns the operating frequency of microgrid
uted secondary control is switched on at t = 0.6 s and is seen to its nominal value. Figures S6(b) and S7(b) show that the DG
to restore the frequency to the nominal frequency and share the output powers all satisfy (48) and (49) and are set according to
active power among DGs based on their active power ratings. the power rating of DGs.
50.5 50.5
DG1 DG1
DG2 DG2
DG3 DG3
DG4 DG4
f(Hz)
f(Hz)
50 50
49.5 49.5
0 0.2 0.4 0.6 0.8 1 1.2 0 0.5 1 1.5 2
Time (s) Time (s)
(a) (a)
4
5
3.5
4
3
3
Dp*P
Dp*P
2.5
2
2
1
1.5
1 0
0.2 0.4 0.6 0.8 1 1.2 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Time (s) Time (s)
(b) (b)
Figure S6 The secondary frequency control in the presence of Figure S7 The secondary frequency control in the presence of
a fixed communication network: (a) distributed generator (DG) a time-varying communication network: (a) distributed genera-
frequencies and (b) DG active power ratios. As seen in (a), the tor (DG) frequencies and (b) DG active power ratios. As seen in
secondary frequency control returns the operating frequency (a), the secondary frequency control returns the operating fre-
of microgrid to its nominal value. Graph (b) shows that the DG quency of microgrid to its nominal value. Part (b) shows that
output powers all satisfy (48) and (49) and are set according to the DG output powers all satisfy (48) and (49) and are set
the power rating of DGs. according to the power rating of DGs. These simulation results
verify the effectiveness of the secondary frequency control in
the presence of time-varying communication networks.
where c i is the coupling gain, and the tuning laws are and Frgi ! R lrg # lrg and the coefficients lrfi and lrgi > 0 are
i i
G
where vr (Pi) denotes the maximum singular value of Pi in E i1 > 1
,
v (S)
(64), and b i is calculated from (64).
G
u rfi >
W 1
,
v (S)
Proof
G 1
The Lyapunov function candidate for each agent is u rgi >
W ,
v (S)
G 1
r2 ri > , (86)
Vi = 1 i + 1 W
u T F -1 Wu + 1 Wu T F -1 Wu + 1 E P E T . (76) v (S)
2 g i 2 rfi rfi rfi 2 rgi rgi rgi 2 i1 i i1
The derivative of Vi is written as hold for all i, where v (S) is the minimum singular
value of S.
-go i
Vo i = 1 e -g i0 + 2 o r i2 + rirfi + ri gr i + ri (d i + b i) u i Therefore, the sliding-mode error and the NN weight
2 gi approximation errors are UBB by G 1 /v (S) . Since the
u rfi Frfi Wto rfi + Wu rTgi Fr-gi1 Wto rgi + Eo i1 Pi E iT1 .
+W
T -1
(77) sliding-mode errors are ultimately bounded, the local neigh-
borhood tracking errors in (55) are also bounded [37]. Accord-
Substituting (72)–(74) and (63) into (77) yields ing to Lemma 3, the d i are also ultimately bounded and,
hence, all Yi are cooperative UUB with respect to Y0 . There-
-go i fore, the direct term of DG output voltages v odi synchronizes
Vo i = 1 e -g i0 + 2 o r 2i - c i (d i + b i) r 2i - lrfi W
2
u rTfi Wrfi - lrfi Wu rfi to v ref, which completes the proof.
2 gi
2
u rTgi Wrgi - lrgi Wu rgi + E i1 K T Pi E Ti1 + ri Pi E Ti1 + frfi + frgi .
- lrgi W
Remark 3
(78)
The coupling gain affects the controller speed; larger
Substituting (64) into (78) yields values of c i increase the controller synchronization speed.
Additionally, the synchronization speed is affected by m 1
-go i
Vo i = 1 e -g i0 + 2 o r 2i - c i (d i + b i) r 2i - lrfi W
2
u rTfi Wrfi - lrfi Wu rfi and m 2 in (58). Greater values of m 2 with respect to m 1 force
2 gi
the local neighborhood tracking error e i, m in (39) to con-
2 bi
u rTgi Wrgi - lrgi Wu rgi - E i1 E Ti1 + ri Pi E Ti1 + frfi + frgi .
- lrgi W verge to zero faster and, hence, increases the synchroniza-
2
(79) tion speed. The NN weight estimates, W t rfi and Wt rgi, are
the adaptive weights in the control law in (72). By contrast,
According to Remarks 1 and 2 Frfi ! R lrf # lrf , Frgi ! R lrg # lrg , lrfi, and lrgi in the tuning laws in
i i i i
2 2 (73) and (74) are fixed design constants that are selected by
Vo # - c i (d i + b i) r i2 + lrfi W
u rfi Wrfi - lrfi Wu rfi + lrgi Wu rgi WrMgi
M
the designer to obtain suitable convergence properties for
2 bi
u rgi -
- lrgi W E i1 + ri vr (Pi) E i1 + frfi + frM
gi .
M
(80) the adaptive tuning laws.
2
The block diagram of the adaptive and distributed sec-
Equation (80) can be written as ondary voltage control is shown in Figure 13. The discussed
control is fully independent of the DG parameters and the
Vo # -H T SH + G T H, (81)
connector specifications. Therefore, the performance of the
where secondary control does not deteriorate due to changing DG
H = 6 E i1 ri @ , (82)
u rfi u rgi T parameters (for example, due to aging and thermal effects.).
W W
Additionally, extensive studies are not required to tune the
R bi V r (Pi)
v control parameters. It should be noted that, despite the
S 0 0 W
S 2 2 W mentioned advantages of the adaptive and distributed volt-
S 0 lrfi 0 0 W age control over the conventional distributed voltage con-
S =S 0 0 lrgi 0 W, (83)
S W trol, the conventional method is simpler to implement.
SS vr (Pi) 0 0 c i (d i + b i)WW
T 2 X Case Studies
G = 80 lrfi Wrfi lrgi WrM
g i 0B . (84)
M T
The effectiveness of the discussed control protocols is veri-
fied by simulating the distributed control methods in this
If the matrix S is positive definite, and H > G / v (S), article for a microgrid test system in Matlab. The control
then Vo i < 0. According to Sylvester’s criterion, the matrix S protocols introduced in (43), (52), and (72) were applied to
is positive definite if the microgrid test system in Figure 14, which consists of
v r 2 (Pi) . (85) four DGs. The lines between buses are modeled as series
ci >
2b i (d i + b i) RL branches. The specifications of the DGs and lines are
T he effectiveness of the distributed and adaptive voltage each DG, rc and L c, are assumed to change from 0.03 Ω and
control in (72) is verified by simulating the microgrid test 0.35 mH to 0.06 Ω and 0.7 mH at t = 1 s. As seen in Figure
system in Figure 14. The resistances of loads 1 and 2 are 3 Ω S9, the performance of the adaptive voltage control does not
and 2 Ω, respectively. The inductances of loads 1 and 2 are 6.4 deteriorate as a result of the changes in rc and L c and the
and 3.2 mH, respectively. The microgrid is disconnected from voltage synchronization is satisfied.
the main grid at t = 0, and, hence, the voltage synchronization The secondary voltage control can be defined to control the
is lost. The distributed and adaptive secondary voltage control voltage magnitude of the critical bus of microgrid. The critical
is switched on and restores the voltage magnitude of DGs or bus is shown in Figure 14. In this case study, the reference
a critical bus of the microgrid. For the distributed and adaptive voltage v ref is chosen according to (29), where v c,mag in (29)
voltage control in (72), the coupling gain is c i = 4, which satisfies denotes the voltage magnitude of the critical bus. The value of
(75). The values of m 1 and m 2 in (58) are chosen as m 1 = 10 and
m 2 = 1. The NN tuning parameters are set to Frfi = 10Irfi, Fgi = 10I gi
r r
(I N is an N # N identity matrix.), with lrfi = 10 and l gi = 10. The
r 1.05
distributed and adaptive voltage control in (72) is fully indepen-
dent of the DG parameters. Simulation results are presented for
1
Vo,mag(pu)
both fixed and time-varying communication networks.
In the first case, the adaptive and distributed voltage con-
trol are assumed to be associated with the fixed communica- DG1
0.95 DG2
tion network shown in Figure S1. DG 1 is the only DG con- DG3
DG4
nected to the leader node with the pinning gain b 1 = 1. The
0.9
microgrid is islanded from the main grid at t = 0, and the sec- 0 0.2 0.4 0.6 0.8 1 1.2
ondary voltage control is applied at t = 0.6 s. Figure S8 shows Time (s)
the simulation results when the reference voltage value v ref
is set to 1 pu. As seen in Figure S8, while the primary control Figure S9 The performance of adaptive and distributed volt-
keeps the voltage stable, the secondary control returns all ter- age control subsequent to changes in distributed generator
minal voltage amplitudes to the prespecified reference value. (DG) parameters. The resistance and inductance of the output
To show that the proposed distributed and adaptive voltage connector of each DG, rc and L c, change from 0.03 Ω and
0.35 mH to 0.06 Ω and 0.7 mH. The performance of the adap-
control is fully independent of the changes in DG parameters,
tive voltage control does not deteriorate as a result of the
the resistance and inductance of the output connector of changes in rc and L c .
1.05 1.05
1
1
Vc,mag(pu)
Vo,mag(pu)
0.95
DG1
0.95 DG2
DG3 0.9
DG4
0.9 0.85
0 0.2 0.4 0.6 0.8 1 1.2 0 0.5 1 1.5
Time (s) Time (s)
Figure S8 The distributed generator output voltage magnitudes Figure S10 The voltage magnitude of the critical bus before
before and after applying the adaptive and distributed secondary and after applying the adaptive and distributed voltage control.
voltage control. As seen, while the primary control keeps the volt- The distributed and adaptive voltage control returns the volt-
age stable, the distributed and adaptive voltage control returns all age magnitude of critical bus to v nominal .
terminal voltage amplitudes to the prespecified reference value.
summarized in Table 1. For the simulation results for each distributed control protocols and test microgrid are mod-
control protocol, see “Simulation Results for Distributed eled in Matlab. In each case, the microgrid is initially con-
Secondary Voltage Control,” “Simulation Results for Dis- nected to the main grid, which provides frequency syn-
tributed Secondary Frequency Control,” and “Simulation chronization and voltage support. At time t = 0 the
Results for Distributed and Adaptive Voltage Control.” The microgrid is disconnected from the main grid and switches
1
1
Vo,mag(pu)
Vo,mag(pu)
0.95 DG1
DG1 DG1
DG2
DG2
DG2 0.95 DG3
DG3
0.9 DG3 DG4
DG4
DG4
0.85 0.9
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 0 0.2 0.4 0.6 0.8 1 1.2
Time (s) Time (s)
Figure S11 A performance of adaptive and distributed voltage Figure S13 The distributed generator output voltage magni-
control subsequent to load changes. tudes when a time-varying communication network is used.