1. Introduction
The smart grid is considered to be the future of electricity network and the microgrid is an important part of it [1,2,3]. Microgrid enables the integration of distributed generation units (DG units) at the distribution level [4,5]. The use of DG units at the distribution level provides many advantages like less loss in power transmission from generation to consumption. The microgrid also allows the islanded operation, in case of power failure from the main grid. There are many challenges involved in the integration of DG units at the distribution level that need to be solved [6,7,8]. The voltage source inverter (VSI) is the key element for integrating DG units in microgrid [9,10,11]. Proper control mechanisms on VSI are required for voltage and frequency stability and for proper power sharing among multiple DG units in a microgrid [12]. A microgrid can be operated in either grid-connected mode or in islanded mode [13,14,15], and VSI can be controlled in either voltage control mode (VCM) or in power control mode (PCM) [16]. In the islanded mode of operation, either all VSIs operate in VCM with power sharing achieved by solving optimal power flow equations [17,18] or by using the droop control method [19,20,21] or by operating in a master-slave configuration. In the master-slave configuration, a master VSI operates in VCM, and other VSIs operate in PCM [22,23]. In grid-connected mode, the grid works as “swing” for optimal power flow equations with all DG units operating in VCM; or in a master-slave configuration, the grid works as a master unit with all DG units operating in PCM. The control systems for VCM or PCM can be designed in a natural () reference frame, stationary () reference frame, or synchronous () reference frame [24]. Signals in these reference frames can be converted using Clarke and Park transformations [25]. DG units and loads frequently join and leave the microgrid resulting in a change in topology, so the control system must work on locally available signals [26].
This paper focuses on the control system design of a voltage source inverter (VSI) in power control mode (PCM). Many control techniques have been presented in the literature on this problem. In [27], PI controller-based active and reactive power control is shown in the reference frame. This controller uses two control loops for both active and reactive power control. This makes the tuning of the controller difficult. In [28], the power control strategy is presented for photovoltaic and battery storage-based inverters in the AC microgrid. It utilizes the multiple loops of PI control to achieve active and reactive power control in the reference frame. In [29], a power controller is presented to improve the power quality of the grid-connected inverter. The power controller is designed in reference frame, and it generates the reference values for the current controller. The current controller is a hysteresis-based PWM controller designed in reference frame. A direct active and reactive power control of grid-tied inverter is presented in [30]. The fuzzy logic-based controller is designed to minimize the errors between active and reactive powers and their reference values. In [31], an artificial neural network (ANN) based power control is presented to enhance the power quality of a photovoltaic-based inverter connected to a grid-tied AC microgrid. An optimal controller is designed for power control of VSI connected in a grid-tied microgrid [32]. The controller parameters are obtained by using particle swarm optimization (PSO) to minimize a cost function. In [33], a power control strategy based on cascaded voltage-current control is presented. In this voltage-current control, the disturbance signal containing grid and load current is also estimated and compensated. A sliding mode controller-based power control is presented in [34]. The controller is designed in a reference frame for a grid-connected inverter. In [35], the power control of the inverter connected to islanded microgrid is presented. Sliding mode control is presented to provide robustness against external disturbances, including communication failures. In [36], a voltage-oriented power coordination control is presented for a grid-tied inverter in an AC microgrid. An active and reactive power control strategy are shown in [37]. The P-V and Q-f droop curves provided the reference values for cascaded voltage-current controllers. The control is implemented in the reference frame. In [38], a power control strategy is presented for VSI in a grid-tied microgrid. In [39], a model predictive control incorporated with the droop method is shown for load sharing in an AC microgrid. A particle swarm optimization (PSO) is also implemented to find the optimal required active and reactive power reference values of inverters to minimize the operational cost of the microgrid. Active and reactive power control is presented in [40] for grid-connected microinverter. The control design is implemented in the reference frame. In [41], voltage support and harmonic compensation are provided in a grid-connected microgrid by active and reactive power control. Using the PI control, a reference for the current controller is generated in the reference frame, which is controlled by a PR controller. An adaptive fractional fuzzy sliding mode control (AFFSMC) is presented to regulate active and reactive power injected by DG unit into a grid-connected microgrid in [42]. In a microgrid, the controllers of all VSIs need a synchronization signal, which is provided by a global positioning system (GPS) [43].
Most literature on power control is on grid-connected microgrids, where the voltage at the point of common coupling (PCC) is maintained by the main grid. The voltage provided by the main grid does not have disturbances related to the PWM inverter, whereas in the islanded microgrid the voltage is maintained by the master VSI. Due to the voltage at PCC maintained by a PWM inverter in islanded mode, the decoupling of active and reactive power is difficult. This paper presents a state feedback controller with disturbance cancellation for VSI control in power control mode (PCM), connected to an islanded AC microgrid. This control strategy utilizes only a three-phase current and a three-phase voltage sensor. The disturbance is also estimated using an extended high gain observer (EHGO). This EHGO-based control utilizes only a current sensor for active and reactive power control of the DG unit. Stability analyses and simulation results have shown the effectiveness of the proposed control scheme. The contribution of the presented work lies in the direct active and reactive power control in the presence of non-constant disturbance due to PCC voltage maintained by another PWM inverter working as master VSI. Another contribution is the estimation of this disturbance by EHGO; this EHGO-based control uses only a three-phase current sensor and saves the requirement of a voltage sensor.
A mathematical model of the microgrid and control problem is presented in Section 2. The control scheme is presented in Section 3. Section 4 presents the stability analyses. The simulation results are presented in Section 5. The paper is concluded in Section 6.
2. Problem Formulation
The voltage source inverter (VSI) is shown in Figure 1. The VSI in this figure is six switches PWM inverter with an output filter. The filter reduces the harmonics from the VSI’s output PWM voltages. In this figure, all signals are represented in the reference frame. Here, is the VSI input signal, to be compared with a triangular carrier wave to produce the gating signals. The gating signals apply on PWM inverter switches to produce the PWM signals. is filter input current, is filter output current and is filter output voltage. is also the current injected into the microgrid from VSI. , , and are the resistance, capacitance, and inductance of the VSI output filter, respectively. The VSI is connected to the microgrid at the point of common coupling (PCC).
The signals shown in Figure 1 are three-phase signals, represented in reference frame, and can be converted into reference frame using the park’s transformation. The signals in the reference frame and reference frame are linked as follows:
The system shown in Figure 1 can be mathematically represented in the reference frame by the following dynamical equations [44]. Here, is the angular frequency of the system.
(1a)
(1b)
(1c)
(1d)
The active power () and reactive power () delivered into the microgrid by the VSI are calculated as follows:
(2)
The problem considered in this paper is to control the active power () and reactive power () delivered into the microgrid by VSI in the reference frame and minimize the following tracking error signals to an ultimate bound in finite time. The control signals generated by the controller will be the variables and . The reference signals for active power and reactive power are and , respectively.
(3)
3. Control Scheme
System shown in Equations (1a)–(1d) and (2) is a multiple-input multiple-output system, with input variables and output variables . As shown in Figure 2, a microgrid of three parallel connected VSI in master/slave configuration is presented here. Master VSI works in VCM and controls the voltages, whereas slave VSIs work in PCM and control its output active and reactive power .
Considering the power control problem for a slave VSI, the voltages considered at PCC are as follows:
(4)
The voltage values given in Equation (4) are steady-state values, but using these values within transient period reduces the requirement of a current sensor.
Using Equation (4) values with Equations (1a) and (1c) provide the following relations between filter’s input current and current injected into the microgrid .
(5)
Using Equations (4) and (5) with Equation (2) gives following equations to calculate the output active () and reactive powers ().
(6)
Using Equation (9), can be calculated using only . From Equation (6), the relative degree of system is 1. Only Equation (1b) is required for controller design of active power () and Equation (1d) is required for controller design of reactive power ().
3.1. Controller Design for Active Power ()
The controller for active power () can be designed in error coordinates by assuming the following variables:
, , , ,
The system in error coordinates is as follows:
(7)
The system shown in Equation (7) can be stabilized by the control equation given below for the properly chosen values of and .
(8)
The controller shown in Equation (8) requires current signals and a voltage signal . To save the requirement of a voltage sensor for , is estimated using extended high gain observer (EHGO) [45] as follows. Let
; is the nominal value of
The system shown in Equation (7) can be converted into an augmented system as follows:
(9)
The EHGO for the augmented system in Equation (9) is as follows:
(10)
Here for , . In addition, is an estimate of , which can be used in the following control equation saving the requirement of a voltage sensor. The EHGO-based control equation is as follows:
(11)
is the bound on the control signal, calculated as follows:
(12)
3.2. Controller Design for Reactive Power ()
The controller for reactive power () can be designed in error coordinates by assuming the following variables:
, , , ,
The system in error coordinates is as follows:
(13)
The system shown in Equation (13) can be stabilized by the control equation given below for the properly chosen values of and .
(14)
The controller shown in Equation (14) requires current signals and a voltage signal . To save the requirement of a voltage sensor for , is estimated using EHGO [45] as follows. Let
; is the nominal value of
The system shown in Equation (13) can be converted into an augmented system as follows:
(15)
The EHGO for the augmented system in Equation (15) is as follows:
(16)
Here for , . In addition, is an estimate of , which can be used in the following control equation saving the requirement of a voltage sensor. The EHGO-based control equation is as follows:
(17)
is the bound on the control signal, calculated as follows:
(18)
The complete control design for the slave VSIs working in power control mode (PCM) is also shown in Figure 3. The EHGO design is shown in Figure 4.
4. Stability Analyses
For the systems in Equations (7) and (13), with designed controllers in Equations (8) and (14), the closed loop error dynamics are shown below in Equation (19). Equation (19) clearly shows that error will asymptotically go to zero for properly chosen values of and .
(19)
Similarly, for the systems in Equations (7) and (13), with designed controllers in Equations (11) and (17), the closed loop error dynamics are shown below in Equation (20) for and .
(20)
Here in Equations (19) and (20); and in following equations, and for active power control system, and for reactive power control system.
For the following desired closed-loop characteristic Equation (21):
(21)
and are calculated as follows:
(22)
in Equation (20) is the estimation error of EHGO. Equation (20) clearly shows that the error will go to zero if the following condition holds.
(23)
The condition in Equation (23) does not hold due to the PWM inverter, so there will be some difference in the performance of the controller without EHGO (Equations (8) and (14)) and with EHGO (Equations (11) and (17)).
The stability analysis of EHGO in Equations (10) and (16) is as follows:
The estimation errors are
From systems in Equations (9) and (15) with EHGO in Equations (10) and (16), the estimation error dynamics are as follows:
(24)
The transfer function from to is
(25)
The above transfer function in Equation (25) clearly shows that estimation error goes to zero, as goes to zero. This can also be shown in the time domain using scaled estimation errors:
The scaled estimation error dynamics are as follows:
(26)
Here, it is clearly shown that the estimation error goes to zero as goes to zero if the following Equation (27) has all roots with a negative real part.
(27)
The transient response of EHGO suffers from the peaking phenomenon [45]. The adverse effects of the