A Plug-and-Play, Scalable Control Method for AC Island Microgrid

In this paper, a scalable, plug-and-play (PnP) and system-stable synthesis control method is proposed for the AC island microgrid consisting of a distributed generator units (DGUs) and loads connected by power lines. The proposed method only requires a limited global parameter design controller, so the design process of the controller is decentralized, so that the addition and removal of DGU only need to adjust the controller of the DGU with its physical connection, without affecting the overall stability of the microgrid. In addition, we used the Lyapunov method to proved the stability of the close-loop system. Finally, the simulation verification was carried out with the MATLAB/Simulink and specific cases.


Introduction
With the gradual depletion of fossil energy and the increasing environmental pollution, countries all over the world have begun to pay attention to environmental protection, efficient and flexible way of power generation microgrid. Green power generation techn-ologies based on wind, solar, hydrogen and hydropower have proven to be technically and economically feasible, integrating these technologies into the advantages of microgrids [1]. In modern microgrid power systems, renewable energy and energy storage units are used extensively to reduce energy consumption and improve the reliability, power quality and energy efficiency of existing power systems. Due to its scalability, competitive investment costs and flexible operation, the penetration of the microgrid is becoming more and more high. Inevitably, the stable operation of microgrid system has become the most important concern, however, the stable operation of microgrid mainly involves the stability of microgrid voltage and frequency. There are two modes of operation of the microgrid, one is grid-connected mode, and its voltage and frequency are determined by the main grid.

3
For another off-grid(island) operating mode, voltage and frequency stability is a big challenge, because in this operating mode, the microgrid voltage and frequency are given by its internal DGUs.
Microgrids are expected to be more robust and economical than traditional centralized grids. However, generators or micro-sources used in microgrids are usually renewable or unconventional distributed energy sources, and some environmentally directly affected interferences, such as wind or solar, are also introduced into the power system, greatly increasing the difficulty and complexity of frequency and voltage control [2]. Because of the composition of the microgrid and the power generation characteristics, it is widely distributed in a certain area, and for the control of voltage and frequency, the [3] proposes a control method for the parallel operation of an island power grid or an infinite bus inverter. The control method is based on the droop control method, controls the distributed power output of the microgrid, controls the reactive power, does not need the communication coordination between the units, can achieve the goal of micro-source PnP and peer control, and ensures the unity of power balance and frequency in the mode of island of the microgrid, and has simple and reliable characteristics.
As the number of parallel inverters in the microgrid increases, the signal lines between inverters become more complex.However, the traditional droop control method of the parallel-running inverter is premised on the line resistance which is much smaller than the line's resistance, and does not consider the condition that the line impedance value will vary depending on the system voltage level. Moreover, the basic control equation of the traditional droop control method run in parallel is mathematically calculated by the voltage of the common node Point of Common Coupling (PCC) of each parallel inverter, but the power supply is relatively far apart in the power system, resulting in the feedback signal not being able to measure the voltage value at the PCC, so that the mean slower control algorithm in the power system cannot be accurately realized. Based on the electronic power processor. [4] proposed a non-droop, low-voltage residential micro-grid plug-and-play control method, in making full use of energy, distribution at the same time, so that each electronic power processors can run steadily and independently, therefore, the microgrid can be efficient. Stable operation, adapt to power supply and load changes, automatically realize the mode-to-mode switch. However, it requires some digital control capabilities, high demands on power converters, and no communication capacity, for the state of adjacent power generation units and the overall supply and demand relationship can not have a good sense, not suitable for the microgrid system with multiple power generation units. Based on some concepts in communication theory, the distributed algorithm of sharing power generation tasks in an optimized way between multiple distributed energy resources in the microgrid is proposed in [5], and the proposed algorithm is as effective in practical application as the centralized full-communication algorithm. But this approach, which is close to the full centralization of communication, requires a central controller to communicate extensively with the controlled unit and collect a large amount of global information, and some unnecessary information is a heavy burden on the processor. A decentralized control scheme is proposed in [6] to ensure the stable operation of the island microgrid, which is made of the interconnection of distributed power generation units. The local controller adjusts the voltage and frequency at the co-coupling point of each DGU, ensuring the stability of the overall island microgrid. The control design process is decentralized because, in addition to the two global scalars, the synthesis of local controllers uses only the corresponding DGU and the information of the lines connected to it. This method supports plug-and-play operations, but when DGUs are plugged in or removed, the controller of the adjacent DGUs that is physically connected to the DGU needs to be adjusted, because this method is dependent on the information of the power line. The [7] proposes a fully dispersed and scalable voltage regulation method for the DC microgrid, which supports plug-and-play operation without the need to adjust the controller of the DGU with which it is physically connected. The main features of the proposed controller are: (1) DGs controller is completely dispersed, local controller only uses local measurements; (2) controller ensures the stability of the entire system; (3) the controller allows the PnP function of DGUs in the microgrid, which is fully in line with the idea of plug-and-play control methods. Under PnP operation, different DGUs randomly access or disconnect the microgrid without affecting the overall stability of the microgrid. The [8] designs a controller for the AC island microgrid, and proposes a microgrid control method based on plug-and-play, which thinks that the system is completely observable and the system state is measurable, but because of the complexity of the system or other factors, the state of the system is not easily measured directly. In this paper, a PnP control method is developed for the island AC microgrid, which is independent of the power line, where in which the local controller of DGU only requires limited global scalar parameters and information about adjacent DGU. Because the system is complex and the state variables are difficult to measure, we use distributed state estimators to estimate the state of the system and design the controller. Whenever a new DGUs are inserted or removed, adjacent DGUs with physical connections do not need to readjust their controllers, because this method is independent of electrical or power line information.
This paper is organized as follows. In Sect. 2, we propose an approximate model based on QSL and estimate the state of the system using the distributed state estimator (DSE). In Sect. 3, a completely decentralized PnP controller is designed using the estimated system state. In Sect. 4, we simulate the specific example and verify the performance of PnP controller. Notation.
The identity and null matrices of size N are represented by I N and 0 N , respectively, while we use A > 0 to indicate a null matrix of appropriate size. The inequality A ∈ R n×n means that the matrix is positive definite.

Microgrid Model
Mathematical simulation of abstract models is a very vital process for predicting the solution behavior of fractional differential equations corresponding to different applications in science and engineering [9]. In this section, we describe the electrical model of a AC island considered in [8]. We assume three-phase electrical signals without zero-sequence components and balanced network parameters.
It includes the following parts: a DC voltage source (modeling a generic renewable resource), a controlled VSC and a local load, connected to the Point of Common Coupling (PCC) through series an RLC filters. We further assume that loads I Li are unknown and act as current disturbances for DGU. The Island microgrid is composed ofN DGUs indexed by the set D = {1, … , N} . Then, we call two DGUs neighbors if there is a power line connecting their PCCs and denote with N i ⊂ D the subset of neighbors of DGU i. We indicate with G i is the undirected electric graph induced by the neighboring relation over the node set D , whose internal elements are composed of G el . As shown in the right dashed frame of Fig. 1, R ij and L ij are the resistance and inductance of the power line connecting DGUs i and j, respectively.
In the PCC of each area, we use shunt capacitor C ti to attenuate the effects of the load voltage high frequency harmonics.
Let 0 be the reference network frequency. Next, we provide a model of DGU i where all electric variables are represented in the dq reference frame rotating with speed 0 . The state of By using QSL approximations of power lines one obtains the LTI system  The overall Island microgrid model is given by The model (4) describes the interactions of the DGU with the rest of the microgrid over a wide range of possible operating conditions. It should be noted that variable d(t), in addition to modeling the effects of the microgrid topological changes and parametric mismatches, also embeds other sources of uncertainties such as load current demand changes. The disturbance is assumed to be unknown but the rate of disturbance is bounded. Due to the complexity of system dynamics and difficulty in measuring the state, we use the DSE to estimate the state of the system. We use a DSE that supports PnP operations for state estimation. We design an observer for each DGU i to calculate the control input u based on the information transmitted by the measured output y and its adjacent DGUs, and need to guarantee the closed-loop stability of the system. Here, we use Luenberger observer to estimate the local state of the system. First, we rewrite Eq. (4) as: As we can see, the measurement output y i depends only on the local state variable x i , hence, the system is output-decoupled.
For the system (5), we define a local Luenberger observer as follows We add a binary entry ̃i j ∈ {0, 1} , such as the Eq. (7) wherex i ∈ ℝ n i is the state estimate, x ′ i is the state of the next moment, L ij is the gain matric. As mentioned above, the adjacent DGUs distributed observer will exchange information, and we will add a binary entry, and when ̃i j = 1 , the estimator will accept the information from the adjacent DGUs to estimate the current state. When ̃i j = 0 , the estimator will not accept the information from adjacent DGUs, reducing the number of information transmitted. So, the matrix consisting of ̃i j is a sparse matrix, which greatly reduces the time and complexity of computing while guarantee accuracy.
Designing the distributed state estimator, the main problem is the need to guarantee the following conditions. For a given ̃i j , calculate L ii and L ij , j ∈ N i ,such that i ≤ 1.
For the constraint (8), it is always satisfied [10]. If the subsystem is decoupled, then the constraint (8) is automatically satisfied, and if the subsystem is not decoupled and has (4) additional coupling effects, then an additional condition is required to guarantee the existence of a Robust Positive Invariance(RPI) to guarantee that the DSE can be designed.
Because the variables of the system are complex and not easily measured, we use the state of DSE estimation to design the controller. The goal of local controllers is to guarantee offsetfree tracking of constant references z ref (t) =z ref , when d(t) is constant. Note that, as show in Fig. 1, local references z reffil = V ref.i are dq signals and therefore provide complete information about the desired amplitude and frequency for the voltage V i . Typically, Z ref ⌈ i ⌉ is provided by higher control layers devoted to power flow regulation. For offset-free tracking, We argument the model with integrators. The dynamic model of the integrator is as follows The augmented DGU model is T ∈ ℝ 4 collects the exogenous signals and ̌i = ∑

Moreover, matrices in (9) have the form
Since the pair Ȃ ii ,B i is controllable [6], system (9) can be stabilized in absence of coupling. The overall augmented system is obtained from (9) as where Ȃ ,B,C,M and H collect variables x i ,y i and d i , respectively, and matrices Ȃ ,B,C,M and H are derived directly from (9).

Stability Analysis
We equip each DGU Σ DGU i with the following state-feedback controller.
The local controller C [i] introduces a decentralized control architecture that requires only the state of the system Σ DGU i . Moreover, we need to guarantee the closed-loop asymptotic stability of the system to ensure the offset-free tracking of the system. According to Lyapunov's theory, if there is a symmetric matrix P i such that where P i > 0 , and close-loop system be a feedback interconnection of (13) with (14). However, due to the existence of coupling terms ̆i , coupling conditions may undermine the stability of the closed-loop system. In order to guarantee the stability of the system, we will prove that the closed-loop system is asymptotically stable under the following conditions so that guarantee Eqs. (15) and (16) are equivalent ii ,B i , K i Next, we will consider the stability of the closed-loop system given below Assumption 1 For (15), design P has the following structure where, ij,i denotes an arbitrary entry, P i > 0, i > 0 and P T i = P i .

Theorem 1 If Assumption 1 is fulfilled and the matric
is negative definite, that is, Π < 0 , then the closed-loop system (17) is asymptotically stable.
Proof According to Lyapunov theory In the presence of the coupling term, we define Ȃ in the following form We can calculate that the Eq. (23), that is, the (b) part of Eq. (21), is negative semidefinite. We add up the calculations of the three parts (a) (b) to correspond to the elements, and We got a matrix like Eq. (18). Because Ȃ a = diag Ȃ ii ⋯Ȃ NN is negative definite matrix. , we can see that matrix Π is a diagonal matrix with only elements on the diagonal and both negative values, so Π is negative definite matrix. Therefore, there is always exist i to guarantee that (21) is fulfilled. Concluding, we have shown that (21) holds. ◻

Remark
The asymptomatic stability that we have demonstrated here is different from the [6], and the information of the power line is needed in the literature, for example, line are mainly inductive, so that R ij ∕Z 2 ij ≈ 0 , in this paper, only need to set the coefficient Π appropriately, we can get the system's asymptomatic stability.
We used the Lyapunov method to prove the stability of the system. But for the design of the controller, the gain matrix K is very important to the controller, and it also affects the overall performance of the control strategy. For the design of the controller we need to address the following problem.

Problem 1 The solution and calculation of matrix K is an important problem for the
design of controller C [i] such that closed-loop subsystem is asymptotically stable. In the case that the matrix K has a solution, controller C [i] is designed so that Assumption 1 and Eq. (16) hold. where ki , k = 1, … , 4 are positive weights. Γ i = diag 1i , 2i is a positive definite matric, which can be used as a boundary condition for robust stability when the inequality (25) is fulfilled. The constraint (26) is always feasible, and its purpose is to restrain excessive control behavior, because there is an upper bound Proof Inequality (16) is equivalent to having a positive matrix i such that inequality (28) hold.
using Schur complement can be obtained where Γ i = diag 1i , 2i represents robust stability margin, the discussion of it is the focus of future work. P i is already defined in Assumption 1. since the inequality is nonlinear in K i and P i , so we introduce two new matrices where G i represents undirected electric graph, containing elements that are g ij . Therefore, we can get the solution of the controller gain matrix The constraint (25) introduces the concept of the undirected electric graph, which makes DGUs more specific and operable in inter-plugging or connectivity/disconnecting, and makes the stability of the closed-loop subsystem guarantee accordingly. We found that the constraints (24), (25), (26), (27) only depends on the local fixed matrix Ȃ ii ,B i and the local design parameters 1i , 21i , 3i , 4i , which makes the design of the controller independent of each other in the case of global parameter determining.
In the previous sections we designed a plug-and-play controller that would ensure the stability of the local microgrid (Consisting of several DGUs subsystems and not connected to the grid), and now we'll analyze its specific operation. When there is a new Σ DGU N+1 that wants to access the local microgrid system, it is equipped with a controller C [N+1] . If Σ DGU N+1 meet the criteria (e.g., can solve the Problem 1 compute K i ), it can be connected to the local microgrid system. In the previous section we mentioned that the restrictions only depend on Ȃ ii ,B i and 1i , 21i , 3i , 4i , then the new access, and the Σ DGU N+1 equipped with controller O i we can stabilize the system by adjusting only a limited number of local controllers.
When one or a few Σ DGU k disconnected from the local microgrid operation, the situation is similar to the access, when Σ DGU k removed, Only a limited number of other DGUs controllers that are physically connected to the DGUs need to be updated or adjusted without any impact or failure on the overall stable operation of the island microgrid. ◻

Simulation Results
To verify the performance of the proposed control approach, we consider an islanded inverter-interfaced microgrid consisting of 8 DGUs with meshed topology. The simulation case studies are carried out in MATLAB/SimPowerSystems Toolbox. Then, local voltage controllers are designed through the convex optimization problem given in (27), (28), (29), (30), which is solved using YALMIP toolbox to solve.
We used eight DGUs equipped with PNP controller for the case study. Further, we used RL load instead of constant current load to get closer to the real situation. To demonstrate the capability of the proposed control strategy in PnP operation of DGs. We refer to the parameters in [8] to set DGU 1-8. we assume that DGU 6 is plugged in system at t = 1 s with DGUs 5 and 7 (Fig. 2). Then, DGU 6 is plugged out of the system at t = 0.6 s and due to this operated, all the connections attached to DGU 6 are disconnected. The dq component of the voltages at PCCs 5, 6, 7 are shown in Fig. 3a, b, c respectively. It can be seen when DGU 6 is connected at t = 1 s, the voltage changes of the connected DGU 5 and 7 are shown in Fig. 3a and c. When DGU 6 disconnects from DGU5 and 7 and exits the system at t = 2 s , the system can still operate stably. The results verify that the voltage controllers guarantee stability and provide a desirable performance according to the IEEE standards.
Further, we tested the controller's performance by changing the local load. The local load exists as a parallel RLC network. The load resistances R at PCC4 in the three phases are equally changed from 152 to 76Ω at t = 2 s . As a result of this change, the DG4 and its neighbors DG voltage changes are shown in Fig. 4. The results show that under the condition of load change, the microgrid system can still recover quickly and run steadily. The results demonstrate the good performance of the controllers we design.

Conclusions
In this paper, we propose a completely distributed voltage and frequency control method for the island AC microgrid, which is based on the QSL approximation model of the microgrid. The designed controller uses linear matrix inequality to solve the optimal solution of convex optimization problem, and only requires limited global parameters, which makes the design of the controller simple and effective. The main feature of this control method is that the controller is robust to the PnP operation of DGUs. Therefore, in the case of random access or removal of DGUs, the stability of the microgrid system is guaranteed. Finally, simulation verication is carried out using MATLAB/ Simulink and specific cases. In the context of today's cyber-physical system, our next step is to combine the microgrid and network control system, study the in uence of the network system on the microgrid control, and realize the remote control and cluster control of the microgrid.