 Methodology
 Open Access
 Published:
Stability analysis and decentralized control of inverterbased ac microgrid
Protection and Control of Modern Power Systems volume 4, Article number: 6 (2019)
Abstract
This work considers the problem of decentralized control of inverterbased ac microgrid in different operation modes. The main objectives are to (i) design decentralized frequency and voltage controllers, to gather with power sharing, without information exchange between microsources (ii) design passive dynamic controllers which ensure stability of the entire microgrid system (iii) capture nonlinear, interconnected and largescale dynamic of the microgrid system with meshed topology as a portHamiltonian formulation (iv) expand the property of shiftedenergy function in the context of decentralized control of ac microgrid (v) analysis of system stability in large signal point of view. More precisely, to deal with nonlinear, interconnected and largescale structure of microgrid systems, the portHamiltonian formulation is used to capture the dynamic of microgrid components including microsource, distribution line and load dynamics as well as interconnection controllers. Furthermore, to deal with large signal stability problem of the microgrid system in the gridconnected and islanded conditions, the shiftedHamiltonian energy function is served as a storage function to ensure incremental passivity and stability of the microgrid system. Moreover, it is shown that the aggregating of the microgrid dynamic and the decentralized controller dynamics satisfies the incremental passivity. Finally, the effectiveness of the proposed controllers is evaluated through simulation studies. The different scenarios including gridconnected and islanded modes as well as transition between both modes are simulated. The simulation conforms that the decentralized control dynamics are suited to achieve the desired objective of frequency synchronization, voltage control and power sharing in the gridconnected and islanded modes. The simulation results demonstrate the effectiveness of the proposed control strategy.
Introduction
In recent years, renewable energy systems have been increasingly employed to mainly reduce the cost of energy prices and solve the environmental issues. A cluster of elements such as loads, distributed generators (DG), distributed storage units and controllable loads, connected through a medium or low voltage interconnecting power grid is defined as a Microgrid system [1, 2]. When the number of elements in each microgrid is increased, the problem of controlling them can be very challenging in a centralized way. Using communication links, especially in largescale system, might not be economical and practical. Moreover, due to the communication link delay or failure, the reliability of the system may deteriorate. Thus, each microgrid has the responsibility of controlling their own units locally. From the decentralized point of view, the controller of microsource units only needs the local variables [3].
Different decentralized control strategies including droopbased and nondroopbased controllers have been proposed for ac microgrid systems with different operation modes. Early work on decentralized parallel inverter control concepts suitable for microgrid operation was reported in [4]. Subsequent work [5, 6] extended the droop concept to ensure sharing of harmonic currents of nonlinear loads. In further investigation of the droop concept, some researchers [7–9] have proposed powerangle droop control, in which the phase angle of the distributed source voltage, relative to a systemwide common timing reference, is set according to a droop law. A static droop compensator is utilized for power sharing in [10]. An enhanced droop control featuring a transient droop performance is proposed [11]. To improve the active and reactive power decoupling performance, improved droop controllers with virtual output impedance are reported [11, 12]. To account for nonlinear loads, harmonicbased droop controllers are investigated [13, 14]. To realize realtime decentralized control strategies a decentralized control strategy extracted from offline optimization results is designed [15], but this control design requires prior knowledge of the grid structure and extensive computations are needed if the grid structure changes. Furthermore, the methods proposed in [16, 17] allow for the seamless pluggingin, unplugging and replacement of microsource units without spoiling microgrid stability. Control design procedures with these features have been termed plugandplay [16, 18–21]. However, existing droop controllers are synthesized in the sense of the smallsignal model of the power transfer mechanisms. To improve the performance of parallel operation, a stationaryreferenceframe droopcontrolled model of parallelconnected inverters is introduced and inner voltage and current control loops are proposed [22]. Decoupled droop control techniques are proposed and analyzed in [23] to obtain independent association of frequency with active power and voltage with reactive power. To exploit the flexibility and fast dynamics of the inverterbased distributed energy resources, a piecewise linear voltagecurrent droop controller is introduced [24]. To improve the reactive power sharing performance of droop control, a virtual impedance optimization method for reactive power sharing in networked microgrid is proposed [25]. To control parallelconnected Inverters, a synchronous reference frame virtual impedance loop is proposed [26]. To soft synchronization of microgrid, an approach using robust control theory is reported in [27]. In [28], a reactivepower sharing scheme for two inverterbased distributed generations with unequal line impedances in islanded microgrids is reported. An adaptative droop control for balancing the state of charge of multiple energy storage systems in decentralized microgrids is studied in [29]. Moreover, numerous control methodologies have been proposed to improve the ac microgrid performance [30–37]. A fully decentralized control and a f P/Q droop control scheme of gridconnected cascaded inverters are reported [30, 31]. A costfunctionbased decentralized power quality compensation method realizing simultaneously bus voltage compensation and inverter current sharing is proposed [32]. A dual control strategy for power sharing improvement in islanded mode of AC microgrid is reported [33]. A decentralized optimal servo control system for implementing instantaneous reactive power sharing in microgrids is proposed [34]. In [38], a passivitybased decentralized control strategy for currentcontrolled inverters in ac microgrids is reported. an adaptive droop control is proposed including a fuzzybased droop coefficient adjustment in [35]. Decentralized parallel operation of single phase inverters in islanded mode is reported in [36]. In the study by [37], twostage adaptive virtual resistor (AVR) control scheme for lowvoltage parallel inverters is proposed. A decentralized control with unique equilibrium point for cascadedtype microgrid is proposed in [39]. By far the largest body of research work done in decentralized microgrid control has been for radial architectures (see also [3]). Notably, the droop control has several limitations and challenges including: inability to guarantee large signal stability, weak transient performance, weak performance for mixedline microgrids with resistive–inductive line conditions, and coupled dynamics between active and reactive power.
Early work towards stability analysis of decentralized controlled intverters based on droopcontrol was reported in [40]. A generalized approach for analyzing the smallsignal stability of interconnected inverter systems was proposed. This result was extended in [41] with the inclusion of reactive powervoltage magnitude droops for the interface inverters. In [42], the authors propose a method, based on the operating point, to set droop gains adaptively. A computational approach to determining radial microgrid stability, scalable to large systems, is presented in [43]. Moreover, numerous methodologies have been proposed to enhance the microgrid stability performance via modifying the inverter control loops [44–48]. These techniques and methods include a combination of repetitive and deadbeat control with feedforward compensation for disturbance rejection [46], secondary control based on potentialfunction [47], realtime small signal stability analysis for droop gain schedule [45] and droop gain variation for increasing virtual inertia [48]. The various analytical stability tools for microgrid controllers design are reported in [49–56]. The small signal models of the inverter based microgrid is established in [50, 51, 56]. The active load impacts on system smallsignal stability are analyzed in [52], it shows the active loads with a large dc voltage controller gain may lead to instability. A combination of smallsignal and timedomain simulation for a comprehensive stability analysis are used in [49, 53, 57–59]. Another impedancebased stability criterion for gridconnected inverters is reported in [55]. The frequency regulation of microgrid by utilizing the kinetic energy from the induction motor loads is studied in [60]. An adaptive droop adjustment based on the microgrid small signal model is introduced in [42]. The authors in [61] use the online grid parameter estimation combined with small signal stability analysis to detect the islanding and adjust the inverters droop control parameters. The droop scheduling scheme based on bifurcation theory is presented in [62] to find the worst primary reserve share that is closest to instability. A modeadaptive droop control method is proposed in [63]. Sufficient conditions for voltage stability in a droopcontrolled lossy microgrid is reported in [64]. Furthermore, sufficient conditions for stability of lossless microgrids based on energy function are established in [65]. Two nonlinear droop controls are proposed in [66, 67] to enhance microgrid frequency regulation. Nonetheless, it may either require multiple small signal stability analyzes to determine the acceptable droop gains [66] or lead to instability due to a high droop gain when the frequency is close to the nominal value [67, 68]. Moreover, the complete reviews and classifications of stability in microgrids are presented [69–71].
In addition to the droopbased control strategies, nondroopbased approaches for voltage and frequency control of the islanded microgrids have also been developed, e.g. [72–77, 77–80]. A robust servomechanism controller for a singleDG/ MultiDG islanded system, which uses the internal oscillator to control the frequency in an openloop manner, has been proposed in [73, 74, 78, 79]. In addition, the following methods have been proposed for singleDER microgrids: a voltage controller, designed using an H_{∞} approach and repetitive control technique, to mitigate voltage harmonics of the point of common coupling (PCC) [81] and a robust control scheme for a microgrid designed based on an H_{∞} approach to provide a robust performance [82]; and a robust servomechanism approach for PCC voltage control [73]. However, these methods are only applicable to singleDER microgrids. In the study by [83], a decentralized servomechanism controller based on robust approach for the islanded operation of radial connection of two distributed generation (DG) units is proposed. In [84] state feedback is combined with a decentralized LMI strategy to ensure stabilization and frequency regulation, while [85] studies the performance of decentralized frequencycontrol algorithm based on integral action. To improve currentsharing, a robust controller for parallelconnected inverterbased DGs in lossy microgrid networks is reported in [86]. Although extensive research has been carried out on the development of nondroopbased control of microgrids, they suffer from one or more of the following drawbacks: in applicability to multiplemicrosources, inability to guarantee stability and/or performance with respect to several microsources, and highorder controller structures.
To overcome the disadvantages of the existing microgrid control approaches, various challenges associated with large signal stability, seamless transition between different operation modes and lowcomplexity of the local controllers must be addressed.
In this study, to deal with nonlinear, interconnected and largescale structures of microgrid systems, the portHamiltonian formulation is used to capture the dynamic of microgrid components and interconnection controllers. In addition, the decentralized controllers are also formulated as portHamiltonian systems that are connected to the microsources with interaction ports. This framework describes the dynamics in terms of the system stored energy, interconnection and dissipation structures [87–89]. Furthermore, we focus on a more accurate and higher order model for the inverterbased microsources than conventionally used in the literature [65, 80, 90].
In this work, to deal with large signal stability problem of microgrid system, the shiftedHamiltonian energy function is served as a storage function to ensure incrementalpassivity of system. Notably, the large signal stability analysis is necessary to guarantee seamless transition between islanded/gridconnected modes and the convergence of equilibrium states of nonlinear microgrid dynamic. Although historically energy functions have played a crucial role to cope with accurate models of power systems (see also [80, 90–97]), our approach based on the incremental passivity allows us to cover an accurate dynamic of microgrids and paves the way for the design of decentralized controllers.
In the reported research works, the microgrids have been almost studied in smallsignal point of view while no solution has been proposed regarding the controller to face with largesignal stability. In this paper, authors aim to model the microgrid components and propose new decentralized passivitybased control strategy for an microgrid consisting microsource units and local loads based on portHamiltonian framework, shiftedenergy function, and incremental passivity to ensure stability of the entire system and enhance its performance for transition between gridconnected to islanded modes and guarantee the desired frequency synchronization, voltage tracking as well as power sharing. This paper presents theoretical concepts, requirements, and necessary conditions for stability and performance of microgrid with meshed topology. Finally, in addition to stability and performance analysis, the effectiveness of the proposed controller is evaluated by set of simulation studies.
More precisely, the main contributions of the paper are sixfold:

Design decentralized frequency and voltage controllers, to gather with power sharing, without information exchange between microsources and their local controllers,

Design passive dynamic controllers which ensure stability of the entire microgrid system,

Capture nonlinear, interconnected and largescale dynamic of the microgrid system with meshed topology as a portHamiltonian formulation,

Expand the property of shiftedenergy function in the context of decentralized control of microgrid,

Serve the shiftedHamiltonian energy function as a storage function to ensure incremental passivity,

Analysis of system stability in large signal point of view.
The remainder of this paper is organized as follows. In Section 2, the portHamiltonian formulation and shiftedHamiltonian energy function as well as incremental passivity are defined as a background of this study. The microgrid topology and structure are presented in Section 3. In Section 4, the microgrid component dynamics are also formulated. In addition, the microgrid units (e.g. microsource, load and distribution line) are modeled based on port Hamiltonian formulation. The openloop analysis of overall microgrid is established in Section 5. In Sections 6 and 7, the different passive controllers for frequency and voltage control are also proposed and analyzed in different operation modes. Furthermore, to deal with large signal stability problem, the shiftedHamiltonian energy function is served as a storage function to ensure incremental passivity of entire system. Finally, the paper is closed with simulation results in Section 8 and conclusions remarks as well as discussion of future work in Section 9.
Background: portHamiltonian and incremental passivity formulation
As mentioned, to deal with nonlinear, interconnected and largescale structures of microgrid systems, the portHamiltonian formulation is used to capture the dynamic of microgrid components and interconnection controllers. In addition, the decentralized controllers are also formulated as portHamiltonian systems that are connected to the microsources with interaction ports. This framework describes the dynamics in terms of the system stored energy, interconnection and dissipation structures [87–89]. Moreover, the portHamiltonain formulation is described as follows:
Definition 1
A portHamiltonian system (in inputstateoutput form) is given by:
With state \(x\in {{\mathbb {R}}^{n}}\), input \(u\in {{\mathbb {R}}^{m}}\) and output \(y\in {{\mathbb {R}}^{m}}\) [87, 88]. In addition, \({\mathcal {J}}^{\top }(x)={\mathcal {J}}(x)\) is interconnection matrix, \({\mathcal {R}}^{\top }(x)={\mathcal {R}}(x)\ge 0\) is dissipation matrix, and \({\nabla }{\mathcal {H}}(x)\) is also the vector of partial derivatives of the Hamiltonian energy function \({\mathcal {H}}(x)\) with respect to the state x.
It is shown that both the microgrid and the controller dynamics admit a portHamiltonian representation which are then interconnected to obtain a closedloop portHamiltonian system. This allows to easily identify the Hamiltonian energy function and give conditions for stability of the equilibrium state.
In addition, to deal with large signal stability problem of microgrid system, the shiftedHamiltonian energy function is served as a storage function to ensure incrementalpassivity of system (see [88]). Notably, the incrementalpassivity of the shifted portHamiltonian system is defined as follows:
Definition 2
Consider the portHamiltonian system (1). Let \(\bar {y}=g^{\top }(\bar {x}){\left ({\nabla }{\mathcal {H}}\left (\bar {x}\right)\right)}\), by defining shiftedHamiltonian energy function (see [88]) to transfer the state variable x to the desired equilibrium \(\bar {x}\) as follows:
Then, the portHamiltonian system (1) is incremental passive if the mapping \((u\bar {u})\to (y\bar {y})\) is passive (see also [88, 98, 99]), i.e., there exists a function \({\bar {\mathcal {H}}}(x)\)such that:
Where \(\bar {x}\) is the desired equilibrium with corresponding control \(\bar {u}\).
Microgrid structure and topology
The microgrid is an emerging concept for an efficient integration of renewable microsource units (see [1, 3, 100–103] and references herein). An inverterbased ac microgrid consists of microsources (e.g. wind turbine and solar panel equipped with inverters), distribution lines and loads that are connected to maingrid via static switch (common coupling point).
Definition 3
The inverterbased ac microgrid is composed to several units, i.e. microgrid units, including microsource, distribution line and load units (see [3, 90, 100] and references herein). The microsource unit is referred to unit injecting an amount of power into the microgrid and load unit is also correspond to unit absorbing an amount power from the microgrid. In addition, distribution unit is referred to unit transferring power within microgrid. Moreover, the maingrid unit is also corresponded to common coupling port injecting (absorbing) an amount of power into (from) the microgrid (maingrid).
Remark 1
A microgrid topology can be viewed as an unweighted directed graph \(\mathcal {G}\) where microgrid units (e.g. main grid, microsource, distribution and load units) correspond to edges and buses correspond to nodes (Fig. 1). Based on the microgrid structure we call a bus: a maingrid bus when a maingrid unit is connected to it; a microsource bus when a microsource unit is connected to it; a distribution bus when a distribution unit is connected to it; a load bus when a load unit is connected to it. All buses associate a potential bus and we call a bus a reference bus when all the potential of the buses in the power system are measured with respect to it. The reference bus is assumed to be at ground potential (also see [90, 92, 93] and references herein).
The inverterbased microgrid model used in this work consists of g=1 maingrid bus (in gridconnected mode), s microsource buses, ℓ load buses and also one reference bus. Therefore, the total number of buses (nodes or vertices) of the \(\mathcal {G}\) microgrid (graph) is \(\mathcal {N}=n+1\), with n=g+s+ℓ. Without loss of generality, it is assumed that the set of nodes (vertices) \(\mathcal {N}\) can be partitioned into four ordered subsets called \({\mathcal {N}}_{G}, {\mathcal {N}}_{S}, {\mathcal {N}}_{L}\) and \({\mathcal {N}}_{0}\) and these subsets are associated to maingrid, microsource, loads nodes and the reference node respectively. We call \(\mathcal {V}\in {\mathbb {R}}^{\mathcal {N}}\) the vector of node potentials. The microgrid graph consists of maingrid, microsource, load and distribution line edges. In other word, there are maingrid edge associated to a main grid unit, microsource edge associated to a microsource unit and also a load edge associated to a load unit and these edges define between main grid node, every microsource node and also every load node and the reference node respectively. Furthermore, distribution edges associated to distribution units that connect maingrid, microsource and load buses Therefore, there are in total g=1 maingrid edge (gridconnected mode), s microsource, ℓ load and d distribution edges. Hence, there are in total e=g+s+ℓ+d edges in microgrid. Without loss of generality, it is assumed that the set of edges \(\mathcal {E}\) can be partitioned into four ordered subsets called \({\mathcal {E}}_{G}, {\mathcal {E}}_{S}, {\mathcal {E}}_{L}\) and \({\mathcal {E}}_{D}\) associated to maingrid (gridconnected mode), microsource, load and distribution edges respectively. We call \((V_{e},I_{e})\in {\mathbb {R}}^{e\times e}\) the vectors pair associated to edge voltages and currents respectively. In addition, it is assumed that all microgrid units share a port of the same dimension p=p_{dq}=2 in dqform.
Inverterbased ac microgrid: portHamiltonian formulation
Maingrid Dynamic
As mentioned in previous section, a main grid unit (grid connected mode) is called a unit injecting (absorbing) an amount of power into (from) the network via common coupling port. In order to describe the dynamic of the maingrid edge \({\mathcal {E}}_{G}\), the following model is considered:
Where θ_{G} and ω_{G} are phase angle and phase frequency of the maingrid. In addition, v_{G} and i_{G} are voltage and current of maingrid. In addition, P_{G} and Q_{G} are also active and reactive power injected (absorbed) by main grid. It is assumed that in gridconnected mode the frequency and voltage of microgrid are stabilized by main grid. Furthermore, it is also assumed that microgrid can absorb (inject) infinite amount of power from (to) maingrid. Hence, we have:
Where \(\bar {V}\) and \(\bar {\omega }\) are desired voltage and phase frequency of microgrid. In addition, P_{e} and Q_{e} are active and reactive power of microgrid and d_{G} and a_{G} are constant coefficients. Furthermore, we have \({\omega }_{G}=\bar {\omega }\) and \(v_{G}=\bar {V}\).
In gridconnected mode, the main grid stabilizes voltage and frequency. In addition, the voltage of maingrid can be considered as follows:
In dq form, the voltage of maingrid can also be represented as follows:
Where maingrid connects to microgrid through a port of dimension p=p_{dq}=2 in dqform.
Microsource dynamics
As mentioned in Section 3, the microsource unit is called a unit injecting an amount of power to the network. In this section, the dynamic of microsource unit is represented in portHamiltonian form. In order to describe this dynamic, a microsource equipped with threephase inverter is considered (Fig. 2).
Let s_{1},⋯,s_{6} denote the states of the switches S_{1},⋯,S_{6} in Fig. 2, where s=0 when the switch is open and s=1 when the switch is closed. The network switches topology reveals that:
Considering the constraints imposed by the circuit, i.e., shortcutting the voltage source is not allowed, leads to the observation that the bottom and top switch can never be closed at the same time. Furthermore, for continuity considerations in each phase leg, we have:
The above equations imply that Eq. (7) can be rewritten into a simplified form. Introducing the new variables s_{a}=s_{1}=s_{4},s_{b}=s_{2}=s_{5} and s_{c}=s_{3}=s_{6} yields the simplified equations:
Definition 4
The Hamiltonian energy function of the microsource, which denotes the total energy, is given by:
Where ϕis the flux linkage across the inductors, q and q_{dc} the charge in the capacitors. In addition, L and C denote the inductance and capacitance of the microgrid acside. In addition C_{dc} denote the capacitance of microsource dcside.
Therefore, the microsource can be represented in portHamiltonian form as follows:
Where \(\widehat {\boldsymbol {s}}={\left ({\widehat {s}}_{a},{\widehat {s}}_{b},{\widehat {s}}_{c}\right)}^{\top }=\boldsymbol {\Upsilon }\boldsymbol {s}\), \(\boldsymbol {\Upsilon }=\frac {1}{3}\left [\begin {array}{ccc} 2 & 1 & 1 \\ 1 & 2 & 1 \\ 1 & 1 & 2 \end {array}\right ] \)and s=(s_{a},s_{b},s_{c}). In addition, G_{dc} is the conductance of microsource dcside and x=(ϕ,q,q_{dc})^{⊤} is state vector of microsource unit. Furthermore, the y_{A} and \(\bar {x}\) are auxiliary output and desired states respectively.
The microsource modeling can be transformed to dq form as follows:
where \(\boldsymbol {\mathrm {J}}= \left [\begin {array}{cc} 0 & 1 \\ 1 & 0 \end {array}\right ]\) and also ΥT_{0dq}=T_{0dq}.
Therefore, the microsource dynamic for \(i\in {\mathcal {E}}_{S}\) can be described as follows:
Where we have:
In addition, n_{i}=5,m_{i}=2 and p_{i}=2. The portHamiltonian energy function is also defined as \({\mathcal {H}}_{i}:{\mathbb {R}}^{n_{i}}\to \mathbb {R}\).
The aggregated model of the microsource dynamics can be obtained by collecting the portHamiltonian forms given by Eq. (12) for \(i\in {\mathcal {E}}_{S}\). Let the numbers:
the aggregated vectors:
the interconnection and dissipation matrices:
interaction port and microsource port matrices:
and the total Hamiltonian function \({\mathcal {H}}_{S}:{\mathbb {R}}^{n_{s}}\to \mathbb {R}\) is defined as follows:
The aggregated model of the microsource dynamics can be written as:
Remark 2
The following general portHamiltonian form is considered for microsource dynamics:
Where x_{S}=(ϕ_{S,dq},q_{S,dq},q_{dc,S}) is state vector of microsource units; \({{\mathcal {H}}_{S}}(x_{S})\)is Hamiltonian energy function; \({\mathcal {J}}_{S_{u}}\) and \({\mathcal {J}}_{S_{c}}\) are interconnection matrices and \({\mathcal {R_{S}}}\) is dissipation matrices; (w_{S},y_{S})=(i_{S,dq},v_{S,dq}) is conjugated interaction port variables; \(\left (w_{S_{0}},y_{S_{0}}\right)=\left ({\boldsymbol {i}}_{S_{0}},{\boldsymbol {v}}_{dc,S}\right)\) is also conjugated microsource port variables. Other matrices can be defined as follows, F_{S} interaction port matrix and \(F_{S_{0}}\) microsource port matrix. Furthermore, the \(y_{S_{A}}\) is auxiliary passive outputs.
Distribution line dynamics
A distribution line unit is called a unit that transfer power in the microgrid and also absorb or inject a little amount of power compared to microsource and load units. It is assumed that all distribution line units are describing by mixed lines (i.e. R−L series). A circuit representation of series line is illustrated in Fig. 3. The model consists of an R−L unit (resistiveinductive line). Therefore, The model of the distribution line unit is simply given by the following portHamiltonian formulation:
Where ϕ is the magnetic flux in the inductor.
Definition 5
The Hamiltonian energy function of the distribution line, \({\mathcal {H}}(\phi):{\mathbb {R}}^{3}\to \mathbb {R}\), is described as follows:
In order to describe the portHamiltonian model in dq form, we have:
Where \(\boldsymbol {\mathrm {J}}= \left [\begin {array}{cc} 0 & 1 \\ 1 & 0 \end {array}\right ]\). In addition, \({\mathcal {H}}\left ({\phi }_{dq}\right):{\mathbb {R}}^{2}\to \mathbb {R}\) is Hamiltonian energy function and described as follows:
Therefore, the distribution line dynamic for \(i\in {\mathcal {E}}_{D}\) can be described as follows:
Where we have:
Where n_{i}=2 and p_{i}=2. In addition, portHamiltonian energy function defines as \({\mathcal {H}}_{i}\left ({\phi }_{{dq}_{i}}\right):{\mathbb {R}}^{n_{i}}\to \mathbb {R}\).
The aggregated model of the distribution line dynamics can be obtained by collecting the portHamiltonian forms given by Eq. (25) for \(i\in {\mathcal {E}}_{D}\). Let the numbers:
the aggregated vectors:
the interconnection and dissipation matrix:
interaction port matrices:
and the total Hamiltonian energy function \({\mathcal {H}}_{D}:{\mathbb {R}}^{n_{D}}\to \mathbb {R}\):
The aggregated model of the distribution line edges can be written as:
Remark 3
The general portHamiltonian formulation of the distribution line dynamics is given by:
Load dynamics
A load unit is called a power unit that absorbs an amount of power from the microgrid. Without loss of generality, it is assumed that all load units are describing by R−C parallels. A circuit representation of load unit (resistancecapacitance parts)is illustrated in Fig. 4. The model of the load unit is simply given by the following portHamiltonian system:
Where q is the charge in the capacitor.
Definition 6
The Hamiltonian energy function of load unit, \({\mathcal {H}}(q):{\mathbb {R}}^{3}\to \mathbb {R}\), is described as follows:
In order to describe the portHamiltonian model in dq form, we have:
Where \(\boldsymbol {\mathrm {J}}= \left [\begin {array}{cc} 0 & 1 \\ 1 & 0 \end {array}\right ]\). In addition, \({\mathcal {H}}\left (q_{dq}\right):{\mathbb {R}}^{2}\to \mathbb {R}\) is Hamiltonian energy function and described as follows:
Therefore, the load dynamic for \(i\in {\mathcal {E}}_{L}\) can be described as follows:
Where we have:
In addition, n_{i}=2 and p_{i}=2. The portHamiltonian energy function is also defined as \({\mathcal {H}}_{i}\left (q_{{dq}_{i}}\right):{\mathbb {R}}^{n_{i}}\to \mathbb {R}\).
The aggregated model of the load dynamics are obtained by collecting the portHamiltonian forms given by Eq. (38) for \(i\in {\mathcal {E}}_{L}\). Let the numbers:
the aggregated vectors:
the interconnection and dissipation matrix:
interaction port matrices:
and the total Hamiltonian function \({\mathcal {H}}_{L}:{\mathbb {R}}^{n_{L}}\to \mathbb {R}\) for load dynamics:
The aggregated model of the distribution load dynamics can be written as:
Remark 4
The general portHamiltonian formulation of the distribution load dynamics is given by:
Microgrid overall dynamic
The microgrid overall dynamic is obtained by collecting the aggregated unit dynamics Eqs. (3), (5), (20), (33) and (46). Therefore, the overall dynamic can be rewritten in portHamiltonian formulation as follows (Fig. 5):
Let collecting the numbers (14), (27) and (40) as follows:
Collecting interconnection matrices of the microgrid unit dynamics (16), (29) and (42):
Collecting dissipation matrices of the microgrid unit dynamics (16), (29) and (42):
and collecting interaction port matrices of the microgrid unit dynamics (17), (30) and (43):
and collecting microsource port matrices (17):
and collecting overall auxiliary passive output matrices (19):
The overall portHamiltonian form of inverterbased microgrid can be represented as follows:
Where the overall Hamiltonian energy function \({\mathcal {H}}_{T}:{\mathbb {R}}^{n_{T}}\to \mathbb {R}\) is given by:
Furthermore, in overall microgrid dynamic (54), the state space vectors are defined as follows:
As mentioned in Section 3, the microgrid topology can be define based on graph \(\mathcal {G}\). In addition, the incidence matrix\(D\in {\mathbb {R}}^{\bigvee \times e}\) of the microgrid graph is obtained by treating buses as nodes and power units (maingrid, microsource, distribution lines and loads) as edges and given by:
Where \(\hat {\sigma }=\left (1\sigma \right)\) and σ shows the microgrid different operation modes, i.e. σ=0 for gridconnected and σ=1 for islanding mode. In addition, 1_{×} is correspond to a column vector with all its entries equal to one and the of size of vectors defines as follows:
Notably, in islanding mode, the microsources are divided to gridforming (stabilizing frequency) and grid feeding (stabilizing voltage and power). Hence, the submatrices, \(D_{S_{V}}\) and \(D_{S_{F}}\), are refereed to these divisions. Furthermore, the submatrix D^{′} represents the incidence matrix of the \({\mathcal {G}}'\) microgrid graph, that is obtained by eliminating the reference node and edges that are connected to it.
In addition, the submatrix of microsource incidence matrix is also decomposed to capture the information about the microgrid different operation modes (gridconnected and islanding).
In this section, the vector of node voltages \(\mathcal {V}\) and the vector of edge voltages and currents (V_{e},I_{e}) are defined as follows:
Where the reference node is considered to be a ground potential.
Using Kirchhoff’s current and voltage laws we get then:
Then, recalling the definition of incidence matrix given in (57), we have
Therefore, the overall interconnection law is obtained as follows:
By defining \(w:= col\left (i_{G},i_{S_{F}},i_{S_{V}},i_{L},v_{D}\right)\) and \(y:= col\left (v_{G},v_{S_{F}},v_{S_{V}},v_{L},i_{D}\right)\), the overall interconnection matrix is obtained as follows:
Note that the overall interconnection law is power preserving. In fact
Where the matrix \(\mathcal {T}\) is skewsymmetry. We also have:
where the v_{G} is the voltage of maingrid. Therefore the matrix \({\mathcal {T}}_{T}\) is defined as follows:
Remark 5
By adding the dynamic of maingrid in gridconnected mode (3) to overall portHamiltonian modeling (54) and using the interconnection law (68), we then have:
Where the matrix \(F_{T}\mathcal {T}F^{\top }_{T}\) is skewsymmetry.
In addition, by using \(i_{G}={\nabla }{\mathcal {H}}_{T}\left (x_{D}\right)\), so we have:
Remark 6
The microgrid overall portHamiltonian system (69) satisfies the power balance equation:
Therefore, the overall portHamiltonian system verifies the dissipation inequality with Hamiltonian storage function \({\mathcal {H}}_{T}\). Where the term:

\({\dot {{\mathcal {H}}}}_{T}\) accounts for the stored power (difference between supplied and absorbed power) in microgrid;

\({\left [{\nabla }{\mathcal {H}}_{T}\left (x_{T}\right)\right ]}^{\top }{\mathcal {R}}_{T}\left [{\nabla }{\mathcal {H}}_{T}\left (x_{T}\right)\right ]\) represents the dissipated power in microgrid;

\(w^{\top }_{G}{{\bar {y}}_{G}}+y^{\top }_{T_{0}}w_{T_{0}}\) represents the supplied power in microgrid.
Microgrid openloop analysis
The set of assignable equilibrium to the microgrid overall dynamic (69) is given by:
Where \({\bar {x}}_{T}\in {\mathbb {R}}^{n_{T}}\) is the desired equilibrium with corresponding control \(\bar {u}\).
Proposition 1
Suppose now that there exists an equilibrium \({\bar {x}}_{T}\). Then, the shifted Hamiltonian energy function (2) transfers the state variable x_{T} to the desired equilibrium \({\bar {x}}_{T}\).
Proof
By defining \(z:={\nabla }{\mathcal {H}}_{T}(s)\), \(\bar {z}:={\nabla }{\mathcal {H}}_{T}\left (\bar {s}\right)\), \(\lambda :={\nabla }{\mathcal {H}}_{S}(s)\) and \(\bar {\lambda }:={\nabla }{\mathcal {H}}_{S}\left (\bar {s}\right)\) and recalling the equations (69), we have
Where the definition (72) and the skewsymmetry of the matrix \(\left [{\mathcal {J}}_{T_{c}}+F_{T}{\mathcal {T}}_{T}F^{\top }_{T}\right ]\) are used to obtain the final equation. Therefore, for the second part of equation Eq. (74), we have:
Then, recalling the equations (47), we have
Where \({\tilde {y}}_{S_{A}}=A^{\top }_{S}\left (\bar {s}\right)\left ({\nabla }{\mathcal {H}}_{S}(s){\nabla }{\mathcal {H}}_{S}\left (\bar {s}\right)\right)\). Therefore, the overall portHamiltonian system Eq. (69) verifies the incremental passivity with shiftedHamiltonian storage function \({\bar {{\mathcal {H}}}}_{T}\). □
Microgrid closedloop stability analysis and control in gridconnected mode
In this section, we show that both the microsource dynamic as well as the decentralized controller admit a portHamiltonian representation (Fig. 6), and in particular are passive systems. As a result, the interconnection between the controller and the nonlinear microsource system is powerpreserving, implying passivity of the closed loop system as well.
Remark 7
In gridconnected mode, it is assumed that the frequency and voltage of microgrid are stabilized by main grid. Therefore, the microsources work to manage active and reactive injected into microgrid.
In this section, in order to control the microsource output current \(i_{S_{{dq}_{i}}}\) and dc voltage the following decentralized passive controller (proportionalintegral) is considered:
In compact form, we have:
Where \(K_{P}=bdg\left \{K_{P_{{dq}_{i}}}\right \}, K_{I}=bdg\left \{K_{I_{{dq}_{i}}}\right \}\) and \({\mathcal {H}}_{C_{i}}=\frac {1}{2}{\left ({\eta }_{{C_{dq}}_{i}}\right)}^{\top }K_{I_{{dq}_{i}}}\left ({\eta }_{{C_{dq}}_{i}}\right)\).
In this section, the combination of controller dynamic (decentralized passive controller) (78) with other microgrid unit dynamics is analyzed in portHamiltonian form. Hence, the aggregated model of the microsource (12) and controller dynamics (78) can be then written as:
Where \(\phantom {\dot {i}\!}u_{{dq}_{i}}=y_{C_{i}}=K_{P_{{dq}_{i}}}y_{B_{i}}+K_{I_{{dq}_{i}}}{\eta }_{{dq}_{i}}\). In addition, the new Hamiltonian energy function is obtained by combination of microsource and controller energy functions, Hence, we have:
Similar to Section 4.5, the overall model can be obtained by collecting the unit dynamics (3), (32), (45) and (79) and also interconnection overall law (68), so we have (Fig. 7):
Where the numbers are obtained by collecting the (14), (27) and (40):
Where n_{SC}=n_{S}+n_{C} with \(n_{C}=\sum ^{s}_{i=1}{p_{i}}\).
In addition, collecting interconnection matrices of the microgrid unit dynamics (29), (42) and (79):
Where \(\alpha =K_{P_{{dq}_{i}}}y_{B_{i}}\). Collecting dissipation matrices of the microgrid unit dynamics (29), (42) and (79):
and collecting interaction port matrices of the microgrid unit dynamics (30), (43) and (79):
and collecting microsource port matrices (79):
and collecting reference signal matrix (79):
Proposition 2
Suppose now that there exists an equilibrium \({\bar {x}}_{T}\), refer to system (81). Then, the following shifted Hamiltonian energy function transfers the state variable x_{T} to the desired equilibrium \({\bar {x}}_{T}\).
Proof
By defining \(\tau ={\nabla }{\mathcal {H}}_{C}\left ({\eta }_{dq}\right)\), \(\bar {\tau }={\nabla }{\mathcal {H}}_{C}\left ({\bar {\eta }}_{dq}\right)\) and recalling the shifted Hamiltonian energy function (73) and equations (75) and (81), we then have:
Therefore, the overall portHamiltonian system (81) with the decentralized passive (proportionalintegral) control dynamic using microsource output current (78) satisfies the incremental passivity. □
Microgrid closedloop stability analysis and control in Islanded mode
In islanded mode, the voltage and frequency of microgrid are stabilized by the inverterbased microsources (Fig. 8). Therefore, in order to control the frequency and voltage as well as regulate active and reactive power (or current) the microsources are divided into gridforming (frequency control) \(i\in {\mathcal {E}}_{S_{F}}\) and grid feeding \(i\in {\mathcal {E}}_{S_{V}}\) (voltage and power) parts. In first part, the dc voltage of microsource is used to capture the dynamic of microsource frequency control \(i\in {\mathcal {E}}_{S_{F}}\) (see also [104]). Therefore, considering \({\dot {\theta }}_{i}={\omega }_{i}=q_{{dq}_{i}}\) and recalling the dcside dynamic of microsource (12):
Hence, the dynamic of (gridforming) frequency control can be described as follows:
Where \(u_{C_{i}}=\left (u^{\top }_{{dq}_{i}}\right)i_{{dq}_{i}}\) and \(i_{{S_{0}}_{i}}={\bar {u}}_{C_{i}}\). The Hamiltonian energy function of the (gridforming) microsource \({\mathcal {H}}\left ({\phi }_{{dq}_{i}},q_{{dq}_{i}},{\omega }_{i}\right)\), which denotes the total energy, is given by:
where \(\phantom {\dot {i}\!}{\phi }_{{dq}_{i}}\) is the flux linkage across the inductors, \(\phantom {\dot {i}\!}q_{{dq}_{i}}\) is the charge in the capacitors and ω_{i} is angle frequency.
Therefore, the aggregated model of the microsource dynamic (12) \(i\in {\mathcal {E}}_{S_{F}}\) and the frequency controller dynamic (91) can be then written as:
Where we have:
In addition, the passive auxiliary output is defined as follows:
In second part \(i\in {\mathcal {E}}_{S_{V}}\), as mentioned in Section 6, in order to control (gridfeeding) microsource output current and voltage \(\left (i_{S_{{dq}_{i}}},v_{S_{{dq}_{i}}}\right)\) and dc voltage the following decentralized passive controller (proportionalintegral) is considered:
In compact form, we have:
By defining \(K_{P}=bdg\left \{K_{P_{{dq}_{i}}}\right \}\), \(K_{I}=bdg\left \{K_{I_{{dq}_{i}}}\right \}\) and \({\mathcal {H}}_{C_{i}}=\frac {1}{2}{\left ({\eta }_{{C_{dq}}_{i}}\right)}^{\top }K_{I_{{dq}_{i}}}\left ({\eta }_{{C_{dq}}_{i}}\right)\), The new Hamiltonian energy function is obtained by combination of microsource and controller energy functions, Hence, we have:
Therefore, the aggregated model of the microsource (12) \(i\in {\mathcal {E}}_{S_{V}}\) and controller dynamic (96) can be then written as:
Where we have:
Where \(\phantom {\dot {i}\!}u_{{dq}_{i}}=y_{C_{i}}=K_{P_{{dq}_{i}}}y_{M_{i}}+K_{I_{{dq}_{i}}}{\eta }_{{dq}_{i}}\) and \(\beta ={\bar {v}}_{{dc}_{i}}\left ({\omega C_{i}\boldsymbol {\mathrm {J}}}+{\mathbb {I}}_{2}\right)\).
Similar to Section 4.5, the overall model can be obtained by collecting the microgrid unit dynamics (3), (32), (45), (93) and (99) and also the interconnection overall law (68), so we have (Fig. 9):
Proposition 3
Suppose now that there exists an equilibrium \({\bar {x}}_{T}\), refer to system (101). Then, the following shifted Hamiltonian energy function transfers the state variable x_{T} to the desired equilibrium \({\bar {x}}_{T}\).
Proof
By recalling the shifted Hamiltonian energy function (73) and equations (75) and (101), Hence, we have:
Hence, for first part of above equation, we also have:
Therefore, by defining \(\lambda ={\nabla }{\mathcal {H}}_{SC}(s)\) and \(\bar {\lambda }={\nabla }{\mathcal {H}}_{SC}\left (\bar {s}\right)\) for second part of Eq. (103), we have:
Hence, by recalling Eq. (104), we have:
Where \({\tilde {y}}_{S_{B}}=B^{\top }_{S}\left (\bar {s}\right)\left ({\nabla }{\mathcal {H}}_{SVC}(s){\nabla }{\mathcal {H}}_{SVC}\left (\bar {s}\right)\right)\) and M(θ_{i}) is defined as follows:
Therefore, the overall portHamiltonian system (101) with integrating the frequency control dynamic (91) and the voltage (power) control dynamic (94) satisfies the incremental passivity. □
Simulation
In this section, the performance of the proposed control methodology is verified by a set of simulation studies. Therefore, a microgrid consisting of the ninemicrosources is chosen as a test system to demonstrate the effectiveness of the proposed control dynamics (see Fig. 10). The analysis is carried out based on the threephase Subnetwork 1 of the CIGRE benchmark medium voltage distribution network (see [105]). It should be noted, to satisfy the load demand in islanded mode, the power ratings of the generation units are modified. As illustrated in Fig. 10, this test microgrid has a meshed topology and consists of 11 main buses. Moreover, it contains a total of nine controllable microsources. In addition, the base apparent power rating (S_{base}) is 4.3MVA.
We consider the following three scenarios.
Gridconnected scenario
As mention in Section 6, all microscources work as gridfeeding units. In addition, the microgrid contains a total of nine controllable microsources at buses 3, 4, 5, 6, 7, 8, 9, 10 and 11 (see Fig. 10). We associate to each microsource its apparent power rating \(\bar {S}_{i}\). The \(\bar {S}_{i}\) is given for each source in Table 1. The active and reactive power setpoints (\(\bar {P}_{i}\) and \(\bar {Q}_{i}\)) relative to apparent power rating \(\bar {S}_{i}\) are also mentioned in this table. Moreover, the load parameters are illustrated in Table 2.
In addition, the decentralized power sharing (and voltage) controllers are equipped with the PI controllers (77). In this scenario, the controller parameters of the PI controllers are chosen as follows: for microsource output current (\({i_{S_{dq_{i}}}}\)) and output voltage control, \({{K_{P}}=0.9{\mathbb {I}_{2}}}\) and \({K_{I}}=20{\mathbb {I}_{2}}\) as well as for frequency control, K_{P}=10 and K_{I}=500.
The simulation results are shown in Fig. 11. More precisely, the microgrid dynamic responses including frequency synchronization (the relative frequencies \(\Delta {{f}_{i}}=({{\omega }_{i}}{\bar {\omega }_{i}})/(2\pi)\)), the power sharing (active/reactive power outputs relative to apparent power rating P_{i}/S_{i} and Q_{i}/S_{i}) as well as dc and ac voltage tracking (amplitudes at microsource terminals) are illustrated.
The simulation results show that all trajectories converge to desired states demonstrating the stability analysis in Section 6. After a transient, the frequencies synchronize and the amplitudes of bus voltages become constant. The frequencies at the all microsource buses are converged to nominal value. The voltage amplitudes remain within 1±0.1pu in steadystate. Therefore, the results demonstrate that the proposed controllers can regulate the microsource voltages with good tracking performance. The initial conditions have been chosen arbitrarily. Hence, the simulation result shows the stability of the decentralized frequency and voltage control dynamics, as given in (77). Furthermore, the simulation confirms that the decentralized control dynamics are suited to achieve the desired objective of frequency synchronization, voltage control and power sharing.
Islaned scenario
As illustrated in Fig. 10, the microgrid contains a total of nine controllable microsources four of which are gridforming microsources (\(i\in {{\mathcal {E}}_{S_{F}}}\)) equipped with decentralized frequency and voltage controllers at buses 3, 6, 7 and 10 and five of which are gridfeeding microsources (\(i\in {{\mathcal {E}}_{S_{V}}}\)) equipped with decentralized power and voltage controllers at buses 4, 5, 8, 9 and 11. In addition, the microsource and control setpoints, \(i\in {\mathcal {E}}_{S_{F}}\) and \(i\in {\mathcal {E}}_{S_{V}}\), are given in Table 3. Moreover, the load parameters are illustrated in Table 2.
As mention in Section 7, for the gridforming microsources (\(i\in {{\mathcal {E}}_{S_{F}}}\)), the decentralized frequency (and voltage as well as power sharing) controllers are equipped with the PI controllers (91). In this scenario, the controller parameters of the PI controllers are chosen as follows: for microsource output current (\({i_{S_{dq_{i}}}}\)) and output voltage control, \({{K_{P}}=0.9{\mathbb {I}_{2}}}\) and \({K_{I}}=20{\mathbb {I}_{2}}\) as well as for frequency control, K_{P}=10 and K_{I}=500.
In addition, for the gridforming microsources (\(i\in {{\mathcal {E}}_{S_{V}}}\)), the decentralized power sharing (and voltage) controllers are equipped with the PI controllers (95). In this scenario, the controller parameters of the PI controllers are chosen as follows: for microsource output current (\({i_{S_{dq_{i}}}}\)) and output voltage control, \({{K_{P}}=0.9{\mathbb {I}_{2}}}\) and \({K_{I}}=20{\mathbb {I}_{2}}\) as well as for frequency control, K_{P}=10 and K_{I}=500.
The simulation results are shown in Fig. 12. More precisely, the microgrid dynamic responses including frequency synchronization (the relative frequencies \(\Delta {{f}_{i}}=({{\omega }_{i}}{\bar {\omega }_{i}})/(2\pi)\), the power sharing (active/reactive power outputs relative to apparent power rating P_{i}/S_{i} and Q_{i}/S_{i}) as well as dc and ac voltage tracking (amplitudes at microsource terminals) are illustrated, for \(i\in {{\mathcal {E}}_{S_{F}}}\) and \(i\in {{\mathcal {E}}_{S_{V}}}\)
The simulation results show that all trajectories converge to desired states demonstrating the stability analysis in Section 7. After a transient, the frequencies synchronize and the amplitudes of bus voltages become constant. The frequencies at the all microsource buses (\({i\in {{\mathcal {E}}_{S_{F}}}}\) and \({i\in {{\mathcal {E}}_{S_{V}}}}\)) are converged to nominal value. The voltage amplitudes remain within 1±0.1pu in steadystate. Therefore, the results demonstrate that the proposed controllers can regulate the microsource voltages with good tracking performance. The initial conditions have been chosen arbitrarily. Hence, the simulation result shows the stability of the decentralized frequency and voltage control dynamics, as given in (91) and (95). Furthermore, the simulation confirms that the decentralized control dynamics are suited to achieve the desired objective of frequency synchronization, voltage control and power sharing.
Transition scenario
The transient dynamics between gridconnected and islanded modes and vice versa are shown in Figs. 13 and 14. The switching is occurred at time 2.5 sec via common coupling (CCP) switch. The controller and microsource parameters are selected similar to the gridconnected and islanded scenarios at previous subsections. After switching, all trajectories seamlessly converge to the desired states (see Figs. 13 and 14). In addition, the frequencies synchronize and the amplitudes of the all bus voltages become constant. The frequencies at the all microsource buses (\({i\in {{\mathcal {E}}_{S_{F}}}}\) and \({i\in {{\mathcal {E}}_{S_{V}}}}\)) are converged to nominal value. The voltage amplitudes remain within 1±0.1pu in steadystate. Therefore, the results demonstrate that the proposed controllers can regulate the microsource voltages with good tracking performance. The initial conditions have been chosen arbitrarily. Hence, the simulation result shows the stability of the decentralized frequency and voltage control dynamics, as given in (77), (91) and (95). Furthermore, the simulation confirms that the decentralized control dynamics are suited to achieve the desired objective of frequency synchronization, voltage control and power sharing.
The simulation results demonstrate the effectiveness of the proposed control strategy. The designed controllers guarantee the power sharing and the frequency as well as voltage stability of the entire microgrid system.
Conclusion
The problem of decentralized control of inverterbased ac microgrid in different operation modes is addressed in this work. In addition, we focus on the problem of decentralized frequency and voltage control of the microgrid system without information exchange between the microsources. The design of passive dynamic controllers which ensure stability of the entire microgrid system is also addressed in this paper. Furthermore, to deal with nonlinear, interconnected and largescale structure of microgrid systems, the portHamiltonian formulation is used as a powerful tool to capture the dynamic of microgrid components and interconnection controllers. It is shown that both the microgrid dynamic as well as the controller designs admit a portHamiltonian representation which are then interconnected to obtain a closedloop portHamiltonian system. Moreover, to deal with large signal stability problem of microgrid system, the shiftedHamiltonian energy function is served as a storage function to ensure incremental passivity of system. In addition, the contribution also expands the knowledge on the use of shiftedenergy functions in the context of decentralized control of microgrids. Moreover, it is shown that the aggregating of the microgrid dynamic and the decentralized controller dynamics satisfies the incremental passivity in the gridconnected and islanded modes. Finally, the effectiveness of the proposed controllers is evaluated through simulation studies. The different scenarios including gridconnected and islanded modes as well as transition between both modes are simulated. The simulation conforms that the decentralized control dynamics are suited to achieve the desired objective of frequency synchronization, voltage control and power sharing in the gridconnected and islanded modes. The simulation results demonstrate the effectiveness of the proposed control strategy.
Future works include attempting to add the hybrid microgrid systems and investigating large signal stability analysis as well as examining incremental passivity of entire system.
References
Hatziargyriou, N., Asano, H., Iravani, R., Marnay, C. (2007). Microgrids. IEEE Power and Energy Magazine, 5(4), 78–94.
Kroposki, B., Lasseter, R., Ise, T., Morozumi, S., Papatlianassiou, S., Hatziargyriou, N. (2008). Making microgrids work. IEEE power and energy magazine, 6(3), 40–53.
Guerrero, J.M., Chandorkar, M., Lee, T.L., Loh, P.C. (2013). Advanced control architectures for intelligent microgrids—part i: Decentralized and hierarchical control. IEEE Transactions on Industrial Electronics, 60(4), 1254–1262.
Chandorkar, M.C., Divan, D.M., Adapa, R. (1993). Control of parallel connected inverters in standalone ac supply systems. IEEE Transactions on Industry Applications, 29(1), 136–143.
Tuladhar, A., Jin, H., Unger, T., Mauch, K. (1997). Parallel operation of single phase inverter modules with no control interconnections. In Applied Power Electronics Conference and Exposition, 1997. APEC’97 Conference Proceedings 1997., Twelfth Annual, vol. 1. IEEE, Atlanta, (pp. 94–100).
Tuladhar, A., Jin, H., Unger, T., Mauch, K. (2000). Control of parallel inverters in distributed ac power systems with consideration of line impedance effect. IEEE Transactions on Industry Applications, 36(1), 131–138.
Majumder, R., Ghosh, A., Ledwich, G., Zare, F. (2009). Angle droop versus frequency droop in a voltage source converter based autonomous microgrid. In Power & Energy Society General Meeting, 2009. PES’09. IEEE. IEEE, Calgary, (pp. 1–8).
Majumder, R., Chaudhuri, B., Ghosh, A., Majumder, R., Ledwich, G., Zare, F. (2010). Improvement of stability and load sharing in an autonomous microgrid using supplementary droop control loop. IEEE Transactions on Power Systems, 25(2), 796–808.
Majumder, R., Ghosh, A., Ledwich, G., Zare, F. (2009). Load sharing and power quality enhanced operation of a distributed microgrid. IET Renewable Power Generation, 3(2), 109–119.
Li, Y.W., & Kao, C.N. (2009). An accurate power control strategy for powerelectronicsinterfaced distributed generation units operating in a lowvoltage multibus microgrid. IEEE Transactions on Power Electronics, 24(12), 2977–2988.
Guerrero, J.M., De Vicuna, L., Matas, J., Castilla, M., Miret, J. (2004). A wireless controller to enhance dynamic performance of parallel inverters in distributed generation systems. IEEE Transactions on Power Electronics, 19(5), 1205–1213.
Chiang, S.J., Yen, C., Chang, K. (2001). A multimodule parallelable seriesconnected pwm voltage regulator. IEEE Transactions on Industrial Electronics, 48(3), 506–516.
Burup, U., Enjeti, P.N., Blaabjerg, F. (2001). A new spacevectorbased control method for ups systems powering nonlinear and unbalanced loads. IEEE Transactions on Industry Applications, 37(6), 1864–1870.
Lee, T.L., & Cheng, P.T. (2007). Design of a new cooperative harmonic filtering strategy for distributed generation interface converters in an islanding network. IEEE Transactions on Power Electronics, 22(5), 1919–1927.
Tanaka, K., Senjyu, T., Toma, S., Yona, A., Funabashi, T., Kim, C.H. (2009). Decentralized voltage control in distribution systems by controlling reactive power of inverters. In Industrial Electronics, 2009. ISIE 2009. IEEE International Symposium On. IEEE, Seoul, (pp. 1385–1390).
Riverso, S., Sarzo, F., Ferraritrecate, G. (2014). Plugandplay voltage and frequency control of islanded microgrids with meshed topology, (pp. 1–6): Citeseer.
Riverso, S., Sarzo, F., FerrariTrecate, G., et al (2015). Plugandplay voltage and frequency control of islanded microgrids with meshed topology. IEEE Trans Smart Grid, 6(3), 1176–1184.
Riverso, S., Farina, M., FerrariTrecate, G. (2012). Plugandplay decentralized model predictive control. In Decision and Control (CDC), 2012 IEEE 51st Annual Conference On. IEEE, Maui, (pp. 4193–4198).
Riverso, S., Farina, M., FerrariTrecate, G. (2014). Plugandplay model predictive control based on robust control invariant sets. Automatica, 50(8), 2179–2186.
Riverso, S. (2014). Distributed and plugandplay control for constrained systems. doctoral dissertation. Universit‘a degli studi di Pavia, Dipartimento di Informatica e Sistemistica.
Stoustrup, J. (2009). Plug & play control: Control technology towards new challenges. European Journal of Control, 15(34), 311–330.
Vasquez, J.C., Guerrero, J.M., Savaghebi, M., EloyGarcia, J., Teodorescu, R. (2013). Modeling, analysis, and design of stationaryreferenceframe droopcontrolled parallel threephase voltage source inverters. IEEE Transactions on Industrial Electronics, 60(4), 1271–1280.
Quesada, J., Sebastián, R., Castro, M., Sainz, J. (2014). Control of inverters in a low voltage microgrid with distributed battery energy storage. part i: Primary control. Electric Power Systems Research, 114, 126–135.
Golsorkhi, M.S., & Lu, D.D. (2015). A control method for inverterbased islanded microgrids based on vi droop characteristics. IEEE Trans Power Deliv, 30(3), 1196–1204.
Zhu, Y., Zhuo, F., Wang, F., Liu, B., Gou, R., Zhao, Y. (2016). A virtual impedance optimization method for reactive power sharing in networked microgrid. IEEE Transactions on Power Electronics, 31(4), 2890–2904.
Guan, Y., Guerrero, J.M., Zhao, X., Vasquez, J.C., Guo, X. (2016). A new way of controlling parallelconnected inverters by using synchronousreferenceframe virtual impedance loop—part i: Control principle. IEEE Transactions on Power Electronics, 31(6), 4576–4593.
Taher, S.A., Zolfaghari, M., Cho, C., Abedi, M., Shahidehpour, M. (2017). A new approach for soft synchronization of microgrid using robust control theory. IEEE Transactions on Power Delivery, 32(3), 1370–1381.
Kim, J.H., Lee, Y.S., Kim, H.J., Han, B.M. (2017). A new reactivepower sharing scheme for two inverterbased distributed generations with unequal line impedances in islanded microgrids. Energies, 10(11), 1800.
Caracas, J.V., Farias, G.C., de Matos, J.G., Simões, F., Ribeiro, L.A. (2018). Adaptative droop control for balancing the state of charge of multiple energy storage systems in decentralized microgrids. In IECON 201844th Annual Conference of the IEEE Industrial Electronics Society. IEEE, Washington, DC, (pp. 1658–1663).
Hou, X., Sun, Y., Han, H., Liu, Z., Yuan, W., Su, M. (2019). A fully decentralized control of gridconnected cascaded inverters. IEEE Transactions on Power Delivery, 10(1), 315–17. IEEE.
Sun, Y., Shi, G., Li, X., Yuan, W., Su, M., Han, H., Hou, X. (2018). An fp/q droop control in cascadedtype microgrid. IEEE Transactions on Power Systems, 33(1), 1136–1138.
Liu, J., Miura, Y., Ise, T. (2018). Costfunctionbased microgrid decentralized control of unbalance and harmonics for simultaneous bus voltage compensation and current sharing. IEEE Transactions on Power Electronics, 99, 1–1.
Haider, S., Li, G., Wang, K. (2018). A dual control strategy for power sharing improvement in islanded mode of ac microgrid. Protection and Control of Modern Power Systems, 3, 1–8.
Eskandari, M., Li, L., Moradi, M.H. (2018). Decentralized optimal servo control system for implementing instantaneous reactive power sharing in microgrids. IEEE Transactions on Sustainable Energy, 9(2), 525–537.
Sun, Q., Sun, Q., Qin, D. (2019). Adaptive fuzzy droop control for optimized power sharing in an islanded microgrid. Energies, 12(1), 45.
Kulkarni, O.V., Doolla, S., Fernandes, B. (2019). Simple controller configuration for decentralized parallel operation of inverters. IEEE Transactions on Power Electronics, 34(2), 1356–1369.
Chen, Z., Pei, X., Yang, M., Peng, L. (2019). An adaptive virtual resistor (avr) control strategy for lowvoltage parallel inverters. IEEE Transactions on Power Electronics, 34(1), 863–876.
Yu, H., Tu, H., Lukic, S. (2018). A passivitybased decentralized control strategy for currentcontrolled inverters in ac microgrids. In 2018 IEEE Applied Power Electronics Conference and Exposition (APEC). IEEE, San Antonio, (pp. 1399–1406).
Li, L., Sun, Y., Liu, Z., Hou, X., Shi, G., Su, M. (2019). A decentralized control with unique equilibrium point for cascadedtype microgrid. IEEE Transactions on Sustainable Energy, 10(1), 324–326.
Chandorkar, M.C. (1995). Distributed Uninterruptible Power Supply Systems. Madison: University of WisconsinMadison.
Venkataramanan, G., & Illindala, M. (2007). Small signal dynamics of inverter interfaced distributed generation in a chainmicrogrid. In Power Engineering Society General Meeting, 2007. IEEE. IEEE, Tampa, (pp. 1–6).
Mohamed, Y.A.R.I., & ElSaadany, E.F. (2008). Adaptive decentralized droop controller to preserve power sharing stability of paralleled inverters in distributed generation microgrids. IEEE Transactions on Power Electronics, 23(6), 2806–2816.
Iyer, S.V., Belur, M.N., Chandorkar, M.C. (2010). A generalized computational method to determine stability of a multiinverter microgrid. IEEE Transactions on Power Electronics, 25(9), 2420–2432.
Tabesh, A., & Iravani, R. (2009). Multivariable dynamic model and robust control of a voltagesource converter for power system applications. IEEE Transactions on Power Delivery, 24(1), 462–471.
Barklund, E., Pogaku, N., Prodanovic, M., HernandezAramburo, C., Green, T.C. (2008). Energy management in autonomous microgrid using stabilityconstrained droop control of inverters. IEEE Transactions on Power Electronics, 23(5), 2346–52.
Delghavi, M.B., & Yazdani, A. (2011). Islandedmode control of electronically coupled distributedresource units under unbalanced and nonlinear load conditions. IEEE Transactions on Power Delivery, 26(2), 661–673.
MehriziSani, A., & Iravani, R. (2010). Potentialfunction based control of a microgrid in islanded and gridconnected modes. IEEE Transactions on Power Systems, 25(4), 1883–1891.
Soni, N., Doolla, S., Chandorkar, M.C. (2013). Improvement of transient response in microgrids using virtual inertia. IEEE Transactions on Power Delivery, 28(3), 1830–1838.
Jayawarna, N., Wu, X., Zhang, Y., Jenkins, N., Barnes, M. (2006). Stability of a microgrid. IET Conference Proceedings, (pp. 316–20(4)). Dublin: IET.
Katiraei, F., Iravani, M., Lehn, P. (2007). Smallsignal dynamic model of a microgrid including conventional and electronically interfaced distributed resources. IET generation, transmission & distribution, 1(3), 369–378.
Pogaku, N., Prodanovic, M., Green, T.C. (2007). Modeling, analysis and testing of autonomous operation of an inverterbased microgrid. IEEE Transactions on Power Electronics, 22(2), 613–625.
Bottrell, N., Prodanovic, M., Green, T.C. (2013). Dynamic stability of a microgrid with an active load. IEEE Transactions on Power Electronics, 28(11), 5107–5119.
NasrAzadani, E., Cañizares, C.A., Olivares, D.E., Bhattacharya, K. (2014). Stability analysis of unbalanced distribution systems with synchronous machine and dfig based distributed generators. IEEE Transactions on Smart Grid, 5(5), 2326–2338.
Sun, J. (2009). Smallsignal methods for ac distributed power systems–a review. IEEE Transactions on Power Electronics, 24(11), 2545–2554.
Sun, J. (2011). Impedancebased stability criterion for gridconnected inverters. IEEE Transactions on Power Electronics, 26(11), 3075.
Rasheduzzaman, M. (2015). Small signal modeling and analysis of microgrid systems. Missouri University of Science and Technology.
Alaboudy, A.K., Zeineldin, H.H., Kirtley, J. (2012). Microgrid stability characterization subsequent to faulttriggered islanding incidents. IEEE Transactions on Power Delivery, 27(2), 658–669.
Kamel, R.M., Chaouachi, A., Nagasaka, K. (2011). Detailed analysis of microgrid stability during islanding mode under different load conditions. Engineering, 3(05), 508.
Azadani, E.N., Canizares, C., Bhattacharya, K. (2012). Modeling and stability analysis of distributed generation. In Power and Energy Society General Meeting, 2012 IEEE. IEEE, San Diego, (pp. 1–8).
Farrokhabadi, M., Cañizares, C.A., Bhattacharya, K. (2017). Frequency control in isolated/islanded microgrids through voltage regulation. IEEE Transactions on Smart Grid, 8(3), 1185–1194.
Vasquez, J.C., Guerrero, J.M., Luna, A., Rodríguez, P., Teodorescu, R. (2009). Adaptive droop control applied to voltagesource inverters operating in gridconnected and islanded modes. IEEE Transactions on Industrial Electronics, 56(10), 4088–4096.
Diaz, G., GonzalezMoran, C., GomezAleixandre, J., Diez, A. (2010). Scheduling of droop coefficients for frequency and voltage regulation in isolated microgrids. IEEE Transactions on Power Systems, 25(1), 489–496.
Kim, J., Guerrero, J.M., Rodriguez, P., Teodorescu, R., Nam, K. (2011). Mode adaptive droop control with virtual output impedances for an inverterbased flexible ac microgrid. IEEE Transactions on power electronics, 26(3), 689–701.
Wang, Z., Xia, M., Lemmon, M. (2013). Voltage stability of weak power distribution networks with inverter connected sources. In American Control Conference (ACC), 2013. IEEE, (pp. 6577–6582).
Schiffer, J., Ortega, R., Astolfi, A., Raisch, J., Sezi, T. (2014). Conditions for stability of droopcontrolled inverterbased microgrids. Automatica, 50(10), 2457–2469.
Sun, Y., Huang, W., Wang, G., Wang, W., Wang, L., Zhang, D. (2012). Study of control strategy of dg based on nonlinear droop characteristic. In Electricity Distribution (CICED), 2012 China International Conference On. IEEE, Shanghai, (pp. 1–4).
Zhang, Y. (2017). Capacitybased adaptive droop control for battery energy storage operation. In Power & Energy Society General Meeting, 2017 IEEE. IEEE, Chicago, (pp. 1–5).
Zhang, T., Orr, J.A., Emanuel, A.E. (2018). Adaptable energy storage system control for microgrid stability enhancement. In 2018 IEEE Power & Energy Society General Meeting (PESGM). IEEE, Portland, (pp. 1–5).
Majumder, R. (2013). Some aspects of stability in microgrids. IEEE Transactions on Power Systems, 28(3), 3243–3252.
Shuai, Z., Sun, Y., Shen, Z.J., Tian, W., Tu, C., Li, Y., Yin, X. (2016). Microgrid stability: Classification and a review. Renewable and Sustainable Energy Reviews, 58, 167–179.
Solano, J., Rey, J.M., BastidasRodríguez, J.D., Hernández, A.I. (2019). Stability issues in microgrids. In Microgrids Design and Implementation. Springer, Cham, (pp. 287–310).
Pogaku, N., Prodanovic, M., Green, T.C. (2007). Modeling, analysis and testing of autonomous operation of an inverterbased microgrid. IEEE Transactions on Power Electronics, 22(2), 613–625.
Karimi, H., Davison, E.J., Iravani, R. (2010). Multivariable servomechanism controller for autonomous operation of a distributed generation unit: Design and performance evaluation. IEEE Transactions on Power Systems, 25(2), 853–865.
Karimi, H., Nikkhajoei, H., Iravani, R. (2008). Control of an electronicallycoupled distributed resource unit subsequent to an islanding event. IEEE Transactions on Power Delivery, 23(1), 493–501.
Karimi, H., Yazdani, A., Iravani, R. (2011). Robust control of an autonomous fourwire electronicallycoupled distributed generation unit. IEEE Transactions on Power Delivery, 26(1), 455–466.
Karimi, H., Yazdani, A., Iravani, R. (2011). Robust control of an autonomous fourwire electronicallycoupled distributed generation unit. IEEE Transactions on Power Delivery, 26(1), 455–466.
Sadabadi, M.S., Karimi, A., Karimi, H. (2015). Fixedorder decentralized/distributed control of islanded inverterinterfaced microgrids. Control Engineering Practice, 45, 174–193.
Babazadeh, M., & Karimi, H. (2013). A robust twodegreeoffreedom control strategy for an islanded microgrid. IEEE transactions on power delivery, 28(3), 1339–1347.
Bahrani, B., Saeedifard, M., Karimi, A., Rufer, A. (2013). A multivariable design methodology for voltage control of a singledgunit microgrid. IEEE Transactions on Industrial Informatics, 9(2), 589–599.
Serra, F.M., & De Angelo, C.H. (2017). Idapbc controller design for grid connected front end converters under nonideal grid conditions. Electric Power Systems Research, 142, 12–19.
Weiss, G., Zhong, Q.C., Green, T.C., Liang, J. (2004). H _{∞} repetitive control of dcac converters in microgrids. IEEE Transactions on Power Electronics, 19(1), 219–230.
Li, Y.W., Vilathgamuwa, D.M., Loh, P.C. (2007). Robust control scheme for a microgrid with pfc capacitor connected. IEEE Transactions on Industry Applications, 43(5), 1172–1182.
Moradi, R., Karimi, H., KarimiGhartemani, M. (2010). Robust decentralized control for islanded operation of two radially connected dg systems. In Industrial Electronics (ISIE), 2010 IEEE International Symposium On. IEEE, Bari, (pp. 2272–2277).
Schiffer, J., Anta, A., Trung, T.D., Raisch, J., Sezi, T. (2012). On power sharing and stability in autonomous inverterbased microgrids. In Decision and Control (CDC), 2012 IEEE 51st Annual Conference On. IEEE, Maui, (pp. 1105–1110).
Andreasson, M., Sandberg, H., Dimarogonas, D.V., Johansson, K.H. (2012). Distributed integral action: Stability analysis and frequency control of power systems. In Decision and Control (CDC), 2012 IEEE 51st Annual Conference On. IEEE, Maui, (pp. 2077–2083).
Taher, S.A., & Zolfaghari, M. (2014). Designing robust controller to improve currentsharing for parallelconnected inverterbased dgs considering line impedance impact in microgrid networks. International Journal of Electrical Power & Energy Systems, 63, 625–644.
van der Schaft, A., Jeltsema, D., et al (2014). Porthamiltonian systems theory: An introductory overview. Foundations and Trends® in Systems and Control, 1(23), 173–378.
Van der Schaft, A. (2017). L2gain and Passivity Techniques in Nonlinear Control, vol. 218. Cham: Springer.
Duindam, V., Macchelli, A., Stramigioli, S., Bruyninckx, H. (2009). Modeling and Control of Complex Physical Systems: the portHamiltonian Approach. Berlin: Springer.
Zonetti, D., Ortega, R., Benchaib, A. (2015). Modeling and control of hvdc transmission systems from theory to practice and back. Control Engineering Practice, 45, 133–146.
Zonetti, D. (2016). Energybased modelling and control of electric power systems with guaranteed stability properties. PhD thesis, Université ParisSaclay. Universit’e ParisSaclay.
Fiaz, S., Zonetti, D., Ortega, R., Scherpen, J.M., van Der Schaft, A. (2013). A porthamiltonian approach to power network modeling and analysis. European Journal of Control, 19(6), 477–485.
van der Schaft, A., & Stegink, T. (2016). Perspectives in modeling for control of power networks. Annual Reviews in Control, 41, 119–132.
De Persis, C., Monshizadeh, N., Schiffer, J., Dörfler, F. (2016). A lyapunov approach to control of microgrids with a networkpreserved differentialalgebraic model. In Proceedings of IEEE Conference on Decision and Control. IEEE, Las Vegas, (pp. 2595–2600).
YanHong, L., ChunWen, L., YuZhen, W. (2009). Decentralized excitation control of multimachine multiload power systems using hamiltonian function method. Acta Automatica Sinica, 35(7), 919–925.
Xi, Z., Cheng, D., Lu, Q., Mei, S. (2002). Nonlinear decentralized controller design for multimachine power systems using hamiltonian function method. Automatica, 38(3), 527–534.
Arghir, C., Groß, D., Dörfler, F. (2016). On the steadystate behavior of a nonlinear power network model. IFACPapersOnLine, 49(22), 61–66.
Jayawardhana, B., Ortega, R., GarciaCanseco, E., Castanos, F. (2007). Passivity of nonlinear incremental systems: Application to pi stabilization of nonlinear rlc circuits. Systems & Control Letters, 56(910), 618–622.
Desoer, C.A., & Vidyasagar, M. (2009). Feedback Systems: Inputoutput Properties. Philadelphia: SIAM.
Lasseter, R.H. (2002). Microgrids. In Power Engineering Society Winter Meeting, 2002. IEEE, vol.1. IEEE, New York, (pp. 305–308).
Shahidehpour, M. (2010). Role of smart microgrid in a perfect power system. In Power and Energy Society General Meeting, 2010 IEEE. IEEE, Providence, (pp. 1–1).
Farhangi, H. (2010). The path of the smart grid. IEEE Power and Energy Magazine, 8(1), 18–28.
Khodayar, M.E., Barati, M., Shahidehpour, M. (2012). Integration of high reliability distribution system in microgrid operation. IEEE Transactions on Smart Grid, 3(4), 1997–2006.
Jouini, T., Arghir, C., Dörfler, F. (2016). Gridfriendly matching of synchronous machines by tapping into the dc storage. IFACPapersOnLine, 49(22), 192–197.
Rudion, K., Orths, A., Styczynski, Z.A., Strunz, K. (2006). Design of benchmark of medium voltage distribution network for investigation of dg integration. In Power Engineering Society General Meeting, 2006. IEEE. IEEE, Montreal, (p. 6).
Funding
The authors declare that no fund is received from any financial or nonfinancial organization.
Availability of data and materials
Not applicable.
Author information
Authors and Affiliations
Contributions
MFF contributed the concept of shiftedenergy function and incremental passivity into the context of decentralized control of ac microgrid, modeled the microgrid components in portHamiltonian framework, designed decentralized passive dynamic controllers, analyzed the system stability and drafted the manuscript. AR and MG reviewed the manuscript. MFF and AR revised the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Authors’ information
M. Farokhian Firuzi is a doctoral candidate at the Department of Electrical and Electronics Engineering at Shiraz University of Technology, Iran. He received his B.Sc. in Electrical Engineering from the KNT University, Master of Electrical Engineering from Sharif University of Technology, Iran in 2005. He was a visiting student at Groningen University, The Netherlands. His main research interests are in decentralized Title Page Click here to access/download;Title Page;Cover letter.docx control and portHamiltonian modeling and analysis of complex networks with applications to microgrids and power systems. His email address is m.farokhian@sutech.ac.ir. A. Roosta is a assistant professor at the Department of Electrical and Electronics Engineering at Shiraz University of Technology, Iran. He received his PhD degree in Electrical Engineering (Control) from the Institute of Polytechnic Grenoble, France in 2003. In addition, He received his Master in Electrical Engineering (Control) from Tehran University, Iran in 1991 and B.Sc. in Electrical Engineering from Chamran University, Iran in 1988. His main research interests are nonlinear control, fuzzy and neural control with applications in power systems engineering. His email address is roosta@sutech.ac.ir. M. Gitizadeh is a assistant professor at the Department of Electrical and Electronics Engineering at Shiraz University of Technology, Iran. He received his PhD degree and Master in Electrical Engineering (Power Systems) from Iran University of Science and Technology (IUST), Iran in 2009 and 2000 respectively. In addition, He received his B.Sc. in Electrical and Electronics Engineering from Shiraz University University, Iran in 1998. His main research interests are power system operation and control, reactive power control, distributed generation, smartgrids. His email address is gitizadeh@sutech.ac.ir.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Farokhian Firuzi, M., Roosta, A. & Gitizadeh, M. Stability analysis and decentralized control of inverterbased ac microgrid. Prot Control Mod Power Syst 4, 6 (2019). https://doi.org/10.1186/s416010190120x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s416010190120x
Keywords
 Decentralized control
 Inverterbased ac microgrid
 Frequency and voltage control
 Active and reactive power sharing
 Incremental passivity
 PortHamiltonian framework
 Shiftedenergy function