Next Article in Journal
Improvement of Bioethanol Production from Sweet Sorghum Juice under Very High Gravity Fermentation: Effect of Nitrogen, Osmoprotectant, and Aeration
Next Article in Special Issue
Influence and Impact of Data Averaging and Temporal Resolution on the Assessment of Energetic, Economic and Technical Issues of Hybrid Photovoltaic-Battery Systems
Previous Article in Journal
Effect of Particle Sizes on the Physical and Mechanical Properties of Briquettes
Previous Article in Special Issue
Recurrent Neural Networks Based Photovoltaic Power Forecasting Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bumpless Optimal Control over Multi-Objective Microgrids with Mode-Dependent Controllers

1
School of Computer Science, Xi’an Shiyou University, Xi’an 710065, China
2
Department of Energy Technology, Aalborg University, 9220 Aalborg, Denmark
*
Author to whom correspondence should be addressed.
Energies 2019, 12(19), 3619; https://doi.org/10.3390/en12193619
Submission received: 12 August 2019 / Revised: 17 September 2019 / Accepted: 18 September 2019 / Published: 23 September 2019
(This article belongs to the Collection Smart Grid)

Abstract

:
To avoid transient jumps at the switching time between two operating modes in microgrids, this paper proposes a linear quadratic-based optimal bumpless controller with two degrees of freedom (DOF) to suppress the transient disturbance and realize seamless switching between mode-dependent controllers. By minimizing the transient performance criteria, which contains both the reference tracking error and the controller tracking error, this bumpless algorithm not only effectively forces the latent controller to track the active controller, but also guarantees the plant output track the reference as close as possible. For the different control objectives of the two modes, a current-based networked PI controller is proposed in islanded mode to achieve power sharing, as well as suppressing circulating current, and a power-based PI controller is designed in grid connected mode to supply required P and Q, as well as effectively synchronize f and v safely with the main grid. A microgrid test system with two operation modes was built in Matlab/Simulink. Several operating cases were executed to verity the feasibility and effectiveness of this optimal bumpless control strategy.

1. Introduction

Microgrids are one of the most important ways to solve energy and environmental problems, which are small-scale autonomous independent power systems with the integration of various distributed renewable energy sources. Microgrids can operate in both islanded mode and grid connected mode [1,2]. For the fundamental control objectives, each operating mode has its own control purposes. For islanded mode, frequency and voltage need to be regulated by the microgrid while in grid connected mode, and frequency and voltage need to be synchronized with the main grid. When the transition happens, it will cause severely unbalanced harmonic currents and voltage deviations. To enhance the integration of large-scale renewable energy sources, control strategies need to consider both the operation modes and transition behavior to guarantee the continuous stability of microgrids in different status, especially the transient jumps when mode changes occur [3]. Therefore, how to reduce the jumps of the system variables and improve power quality in mode transient behaviors is quite essential and is a very significant research topic [4,5].
To achieve seamless transfer, the first thing that needs to be considered is to design different control strategies for different operating modes, and the second is to realize smooth transition between two different controllers. Generally a high level control strategy needs to be designed to manage these two independent mode controllers. Such a cascaded control structure is so flexible, and it is natural to model these multi-mode dynamic characteristics of microgrids as switched control systems. That is to say, the dynamics of each operating mode corresponds to a subsystem model and several linear controllers can be designed for different control target of each subsystem at its own operating point. To solve the first problem, the differences of control target requirements for the two modes are analyzed in [6], which employs voltage controller for islanded mode and current controller for grid connected mode. To achieve multi-mode operation, P/Q grid connected controller and V/f islanded controller are designed, respectively, in [7] for microgrids, while a grid-supporting mode is considered in [8] to design a multi-loop controller which enables the distributed generators to operate compatibly in all operation modes. However, the multiple controller structure inevitably introduces nonlinearity into the system and leads to the discontinuity of control inputs at the switching time, which will result in undesired transient current or voltage with sudden peaks [9]. Thus, the second problem, how to suppress the transient effects and realize the continuous cooperation of multiple controllers during the mode transition process, is necessary to be considered thoroughly.
Recently, continuous research works have been focusing on seamless transfer to guarantee the smooth switching between different modes, which can be divided into three categories. One is focusing on the synchronization strategies based on communication networks [10,11,12], for which both centralized communication-based conventional synchronization methods and distributed cooperation based active synchronization methods are mostly widely used [13]. However, all these methods rely on high-speed network to send and receive signals among long-distance distributed generators, so communication failures will seriously affect system synchronization performance and cause large inrush currents during the mode transfer process [14]. The second one is focusing on the hierarchical control structure to compensate transient bumping from a higher control level. In the transition process, primary control strategies are generally unable to regulate totally accurately to the system fluctuations, so secondary control are needed to do compensation [15,16,17]. However, these hierarchical strategies often use supplementary methods to improve system transient performance, but the systematic model is not well considered. Thus, this method is not flexible for different system structures. In addition, the controller parameters are generally obtained through experiments, so a theoretical basis is not sufficient for further research [5]. Therefore, although the sudden peak of current and voltage during the transition process has been restrained, the discontinuity problem of control inputs at the switching time has not been substantively solved, which is focusing on the bumpless control technology to really smooth the control signal during the process of mode transfer.
The so-called “bumpless control” means that the control signal does not jump, but maintains the same, or nearly the same, at the time when the switching occurs between the two mode-based controllers. To date, one of the most widely used bumpless control strategy is to reset the states of offline controller as the same with the states of online controller at the transfer time [18,19]. This condition is usually too restrictive to totally synchronize the two controllers in the switching process. Thus, to relax the restrictions, a remedy method is proposed to make the control signals of offline and online controllers as close as possible when switching happens [20,21,22,23,24]. This linear quadratic-based method aims to achieve bumpless transfer by reaching a minimal amount of transient behavior instead of by realizing completely smooth transient performance. A methodical procedure on how to design a linear quadratic (LQ) bumpless transfer controller is fully discussed in [21]. To extend the design flexibility of the controller, the author developed both one DOF and two DOF bumpless transfer controllers. However, the author only gave the theory based on the numerical sample, which has not been used in power electric-based systems. Although this LQ-based bumpless transfer method is adopted in microgrids in [23], it does not consider the impact of the different control objectives on system input references. It just focuses on the transient behavior of the tracking error of the reference and the system output when the mode changes. In fact, the tracking references of the two modes will be quite different and cause terrible bumps in the process of mode switching, which would cause extreme disturbance of voltage and power angles, so we need to fully consider this reference step factor on the transient performance when designing a bumpless controller to compensate the reference step flexibly by adding another degree of control freedom.
Motivated by the analysis above, this paper presents a novel optimal bumpless controller with two degrees of freedom to compensate the reference tracking error more flexibly, and several operating cases have been simulated in Matlab/Simulink to verify the feasibility and effectiveness of the proposed cascaded bumpless transfer control strategy. The main contributions of this paper include:
  • This two DOF latent controller is driven by the reference error of two modes and the feedback optimal bumpless compensator matrix simultaneously, which helps latent mode controller achieve a bumpless transfer from the active operation mode to the latent operation mode. It successfully suppresses the transient jumps caused by the discontinuity of control inputs, as well as the reference step.
  • For islanded mode, to suppress the circulating current and achieve power sharing in spite of the mismatches of output impedance of each inverter, a current-based PI controller was proposed via a communication layer to compensate the primary control deviation.
  • For grid connected mode, a power-based PI controller via droop characteristic was designed to synchronize safely with the main grid and ensure the system supply required for P and Q by external reference.
  • To consider both the control input signal discontinuity and the reference signal step, the LQ optimal controller in [23] was extended from one DOF to two DOF. Correspondingly, the transient performance criteria are represented by a cost function, with these two degrees driven signals to obtain this two DOF bumpless controller, which is in the high level to supervise the current-based PI controller of islanded mode, and the power-based PI controller of grid connected mode can smoothly switch between each other by minimizing the difference of the proposed performance index function.

2. Theory of Two DOF Optimal Bumpless Transfer Control

In this section, we will first formulate a general optimal bumpless transfer controller design problem of a standard two mode linear switched system with a two DOF latent mode controller and a one DOF active mode controller. Then, we will introduce this LQ-based two DOF bumpless transfer algorithm into microgrids and explain the procedures on how to design this LQ-based two DOF bumpless controller for multi-mode microgrids.
Without loss of generality, suppose there are two operation modes and the candidate controllers are C 1 and C 2 . Suppose that C 1 is the current operating controller, which is called active controller, and C 2 is called latent controller. As soon as a switching signal is transferred, the latent controller will be activated. To avoid bump in the mode switching transient process, smoothing transfer is required to be achieved by some complementary control strategy.
Definition 1 
[24]. Given a positive scalar ε > 0 , a switching controller C i is said to perform a smooth switching if, whenever a controller is switched, there exists a finite time T ε > 0 such that the output of a controller C j to be switched satisfies the condition lim t T ε | u i ( t ) u a ( t ) | ε ,where u l ( t ) = u i ( t ) . In particular, C i is said to perform a strictly smooth switching lim t | u l ( t ) u a ( t ) | = 0 .
Consider the online controller (active mode) as the following form of state–space equations:
active controller C 1 : { x ˙ a ( t ) = A a x a ( t ) + B a ( y ( t ) r a ) u a ( t ) = C a x a ( t ) + D a ( y ( t ) r a )
where x a ( t ) n is the state vector of active controller, y ( t ) q is the output vector of plant. r a p is the reference signal for the active operation mode. A a B a C a D a are system matrices of the active controller.
In order to achieve smooth switching according to definition 1, we need a dynamic adaptive bumpless transfer compensator to help latent controller tracking active controller as close as possible until the next switching happens. Considering the impact of the reference step on the transient behavior of the mode transfer, we define the dynamic feedback latent controller as the following form
latent controller C 2 : { x ˙ l ( t ) = A l x l ( t ) + B l 1 ( r a r l ) + B l 2 α ( t ) u l ( t ) = C l x l ( t ) + D l 1 ( r a r l ) + D l 2 α ( t )
where α ( t ) p denotes the output of the proposed feedback adaptive bumpless transfer compensator.
For simplicity, we defined the following parameters:
e a ( t ) = r a ( t ) r l ( t ) e y ( t ) = r a ( t ) y ( t )
Figure 1 shows the scheme of a switched microgrids system with two candidate controllers under the bumpless transfer control strategy. It can be seen that there are two conditions needed to be satisfied to achieve a minimal transient jumping deviation when mode switching happens:
  • The plant is driven by the output of active controller u a ( t ) and the plant input is switching from active controller to latent controller when the mode changes. Therefore, the two controllers should produce control output signals u a ( t ) and u l ( t ) as close as possible to each other, which will reduce the disturbance of the transient process. That can be expressed as lim t | u l ( t ) u a ( t ) | = 0 . This is the condition for output signals of two controllers.
  • The active controller and the latent controller are driven by different signals. The active controller is triggered by reference tracking error with one DOF and the latent controller is triggered by reference mode error and bumpless compensator with two DOF. At the time of switching, when the controller is switching from the active to the latent, the driven signal for latent controller is switched from the bumpless compensator output α ( t ) and the reference mode error e a ( t ) to the reference tracking error e y ( t ) . Therefore, to avoid large disturbance and maintain a good transient performance, we need to minimize these two kinds of driven signals, that is lim t | B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) | = 0 .
Thus, according to the above two control goals, a LQ optimal tracking control problem is formulated as follows.
The quadratic performance cost function for the design of bumpless transfer compensatory controller is written as:
J = 1 2 0 T [ ( u l ( t ) u a ( t ) ) T Q ( u l ( t ) u a ( t ) ) + ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) T R ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) ] d t
where u a ( t ) and u l ( t ) are the outputs of active controller and latent controller, respectively. Q and R are corresponding positive weighting matrices.
The purpose of this paper is to find a bumpless transfer compensatory controller α * ( t ) that can obtain the minimization of the performance cost index (4) subject to the equality constraints, as given by (1). We used the lagrangian multipliers method to solve the minimum problem with equality constraints. Combining (1), a lagrangian multiplier λ ( t ) n is introduced to construct an augmented functional J ^ as follows
J ^ = 1 2 0 T [ ( ( u l ( t ) u a ( t ) ) T Q ( u l ( t ) u a ( t ) ) + ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) T R ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) ) + λ T ( t ) ( A l x l ( t ) + B l 1 e a ( t ) + B l 2 α ( t ) x ˙ l ( t ) ) ] d t
Forming the Hamiltonian H ( t ) as follows
H ( t ) = 1 2 ( ( u l ( t ) u a ( t ) ) T Q ( u l ( t ) u a ( t ) ) + ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) T R ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) ) + λ T ( t ) ( A l x l ( t ) + B l 1 e a ( t ) + B l 2 α ( t ) ) = 1 2 ( ( C l x l ( t ) + D l 1 e a ( t ) + D l 2 α ( t ) u a ( t ) ) T Q ( C l x l ( t ) + D l 1 e a ( t ) + D l 2 α ( t ) u a ( t ) ) + ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) T R ( B l 1 e a ( t ) + B l 2 α ( t ) B a e y ( t ) ) ) + λ T ( t ) ( A l x l ( t ) + B l 1 e a ( t ) + B l 2 α ( t ) )
Then augmented function J ^ can be rewritten as
J ^ = 0 T [ H ( t ) λ T ( t ) x ˙ l ( t ) ) ] d t
For existence of a minimum of J ^ , the necessary conditions should satisfy
H λ = x ˙ l
H x l = λ ˙
H α = 0
Equation (8) is state equation. Equation (9) is co-state equation. Combining Equation (3) with Equation (10), we have
H α = 0 D l 2 T Q D l 2 α + D l 2 T Q C l x l + D l 2 T Q D l 1 e a D l 2 T Q u a + B l 2 T R B l 2 α + B l 2 T R B l 1 e a B l 2 T R B a e y + B l 2 T λ = 0 α = M ( D l 2 T Q u a + B l 2 T R B l 1 e y D l 2 T Q C l x l ( D l 2 T Q D l 1 + B l 2 T R B l 1 ) e a B l 2 T λ )
where
M = ( D l 2 T Q D l 2 + B l 2 T R B l 2 ) 1
From co-state equation, combining (4), we have
H x l = λ ˙ C l T Q C l x l + C l T Q D l 2 α + C l T Q D l 1 e a C l T Q u a + A l T λ = λ ˙
Suppose
λ = P x l g
where P is known as the Riccati coefficient and g n is an adjoint vector to be solved. Substituting (11) and (14) into (13), we have
λ ˙ = C l T Q C l x l C l T Q D l 1 e a C l T Q D l 2 M [ D l 2 T Q u a + B l 2 T R B a e y D l 2 T Q C l x l ( D l 2 T Q D l 1 + B l 2 T R B l 1 ) e a B l 2 T ( P x l g ) ] + C l T Q u A l T ( P x l g )
And then, differentiating (14) on both sides, we can get
λ ˙ = P ˙ x l + P x ˙ l g ˙
Substituting (11) into (2), and then inserting them into (16), we have
λ ˙ = P ˙ x l + P [ A l x l + B l 1 e a + B l 2 M D l 2 T Q u a + B l 2 M B l 2 T R B a e y B l 2 M D l 2 T Q C l x l B l 2 M ( D l 2 T Q D l 1 + B l 2 T R B l 1 ) e a B l 2 M B l 2 T P x l + B l 2 M g ] g ˙
Combining (15) and (17), the coefficients of x l in these two equations should be the same, and then we have
P ˙ + P A l P B l 2 M D l 2 T Q C l P B l 2 M B l 2 T P = C l T Q C l + C l T Q D l 2 M D l 2 T Q C l + C l T Q D l 2 M B l 2 T P A l T P
Based on (18), furthermore, we can obtain the famous differential Riccati equation as follows
P ˙ = P A l + A l T P P B l 2 M B l 2 T P P B l 2 M D l 2 T Q C l C l T Q D l 2 M B l 2 T P + C l T Q C l C l T Q D l 2 M D l 2 T Q C l
Equating the other coefficients of (15) and (16), we can have the following equation for g ˙
g ˙ = ( A l T C l T Q D l 2 M B l 2 T P B l 2 M ) g + ( P B l 2 M D l 2 T Q D l 1 P B l 2 M B l 2 T R B l 1 P B l 1 C l T Q D l 1 + C l T Q D l 2 M D l 2 T Q D l 1 + C l T Q D l 2 M B l 2 T R B l 1 ) e a + ( C l T Q D l 2 M B l 2 T R B a P B l 2 M B l 2 T R B a ) e y + ( C l T Q P B l 2 M D l 2 T Q C l T Q D l 2 M D l 2 T Q ) u a
Then we can do the following definitions for the convenience of future calculation:
N = ( A l T P B l 2 M C l T Q D l 2 M B l 2 T ) 1 Ω a = P B l 2 M D l 2 T Q D l 1 P B l 2 M B l 2 T R B l 1 P B l 1 C l T Q D l 1 + C l T Q D l 2 M D l 2 T Q D l 1 + C l T Q D l 2 M B l 2 T R B l 1 Ω y = C l T Q D l 2 M B l 2 T R B a P B l 2 M B l 2 T R B a Φ = C l T Q P B l 2 M D l 2 T Q C l T Q D l 2 M D l 2 T Q
When T in Equation (7) tends to infinity, the Riccati coefficient has a solution on the steady state. Thus, when T , P ˙ 0 , g ˙ 0 , then from (19) and (20), we have
0 = P A l + A l T P P B l 2 M B l 2 T P P B l 2 M D l 2 T Q C l C l T Q D l 2 M B l 2 T P + C l T Q C l C l T Q D l 2 M D l 2 T Q C l
0 = N 1 g + Ω a e a + Ω y e y + Φ u a g = N ( Ω a e a + Ω y e y + Φ u a )
where P can be obtained by the solution of algebraic Riccati Equation (22).
Once P and g are obtained from (22) and (23), the Lagrange coefficient λ can be calculated from (14) by substituting P and g into (14). Then the bumpless transfer compensator output α ( t ) can be determined by (11) and furthermore can be expressed as follows for infinite time horizon.
α = G [ x l u a e a e y ] T
where the Matrix G is given by
G = M [ ( D l 2 T Q C l B l 2 T P ) T ( D l 2 T Q N Φ ) T ( D l 2 T Q D l 1 B l 2 T R B l 1 N Ω a ) T ( B l 2 T N B a + N Ω y ) T ] T
From (25) we can see that the matrix of the bumpless transfer compensator is time invariant, which can be calculated out off-line. This bumpless transfer compensator will trigger the latent controller tracking the active controller in real time, and as soon as switching happens, the active controller can be smoothly transferred to the latent controller.

3. Application of Optimal Bumpless Transfer Control in Microgrids

In this section, the proposed LQ-based bumpless transfer controller with two DOF is applied to the AC microgrids with two operation modes. The structure of the AC microgrids contains three parts: the inverter-based DG model, the line feeder model, and the microgrids network model. The equivalent power circuit is shown in Figure 2.
As mentioned above, two bumpless transfer compensatory controllers need to be designed respectively for the two operation modes. In the following section, we will discuss how to design this mode dependent LQ optimal bumpless compensator.

3.1. Islanded Operation Mode

In the islanded microgrids, the effect of the feeder impedance mismatch needs to be considered and compensated by extra control strategies. To overcome the drawback of the traditional droop control method, the current-based PI controller is designed in this paper to adjust the deviation caused by the traditional droop. Thus, the droop algorithm for inverter n can be modified into the following form.
ω n = ω n * m n ( I d n I d n * + δ I d n ) E n = E n * n n ( I q n I q n * + δ I q n )
where ω n * , E n * , I d n * , and I q n * are the reference values. m n and n n are the droop parameters. I d n and I q n are the measured current. δ I d n and δ I q n are the compensate control inputs generated from the current-based PI controller, which can be expressed as
δ I d n = k P d n ( I d n ( t ) I d n * ( t ) ) + k I d n 0 t ( I d n ( τ ) I d n * ( τ ) ) d τ δ I q n = k P q n ( I q n ( t ) I q n * ( t ) ) + k I q n 0 t ( I q n ( τ ) I q n * ( τ ) ) d τ I d n * = n = 1 N I d n N , I q n * = n = 1 N I q n N
In this method, each inverter measures the output current and sends it to others to calculate the average current I d n * and I q n * to generate the compensate control value δ I d n and δ I q n from the PI controller, which will be finally sent to the current-based droop controller.
Based on the designed islanded PI controller above, to obtain the bumpless transfer compensatory controller α ( t ) of (2), we need to derive a state–space model of the current-based PI controller (27) and transform it into the standard state–space from as (1).
Define auxiliary state variables for both active and reactive current of inverter n as follows.
{ x a d n = 0 t ( I d n ( τ ) I d n * ( τ ) ) d τ x a q n = 0 t ( I q n ( τ ) I q n * ( τ ) ) d τ
Then, from (1) and (27), we can derive the coefficients of the state–space function (1) for both active and reactive currents as follows.
{ A a d n = 0 , B a d n = I , C a d n = k I d n , D a d n = k P d n A a q n = 0 , B a q n = I , C a q n = k I q n , D a q n = k P q n a n d { r a n = I d n * , y d n = I d n r a n = I q n * , y q n = I q n
where k I d n , k P d n and k I q n , k P q n are the parameters of PI controller.
Finally, the proposed dynamic adaptive bumpless transfer compensatory algorithm in Section 2 is applied to (29) to get the bumpless transfer compensator output α ( t ) , which will trigger the latent islanded controller, fast-tracking the active grid connected controller to achieve the smooth transfer when the switching happens.

3.2. Grid Connected Operation Mode

In this case, the parallel connected inverters not only need to keep system frequency and system voltage following the main grid, but only needs to supply constant P and Q as required. To track the given reference P * and Q * , firstly we need to calculate the instantaneous output power of inverter as follows.
p = 3 2 ( E d n I d n + E q n I q n ) q = 3 2 ( E d n I q n E q n I d n )
where E d n and E q n are the inverter n’s output voltage of d and q axis. I d n and I q n are the inverter n’s output current of d and q axis.
Secondly, the average power from LPF is calculated by
P = ω c s + ω c p ,    Q = ω c s + ω c q
Thirdly, to control the power output P and Q to track the given reference P * and Q * , we incorporated P ω and Q E droop characteristics to design a power-based PI controller and achieve the operation objectives of grid connected mode by regulating frequency and output voltage for each inverter. The control algorithm can be expressed as follows.
δ ω n = k P P n ( P n ( t ) P n * ( t ) ) + k I P n 0 t ( P n ( τ ) P n * ( τ ) ) d τ δ E n = k P Q n ( Q n ( t ) Q n * ( t ) ) + k I Q n 0 t ( Q n ( τ ) Q n * ( τ ) ) d τ a n d ω n = ω n * m n ( P n P n * ) + δ ω n E d n = E d n * n n ( Q n Q n * ) + δ E n E q n * = 0
Based on the designed grid connected PI controller above, to obtain the bumpless transfer compensatory controller α ( t ) according to the latent controller form (2), firstly we need to derive a state–space model of the power-based PI controller (32) and equivalently transform into the standard state–space from (1).
We define auxiliary power-related state variables of inverter n as follows.
{ x l P n = 0 t ( P n ( t ) P n * ( t ) ) d τ x l Q n = 0 t ( Q n ( t ) Q n * ( t ) ) d τ
Then from (2) and (33), we can derive the coefficients of the state–space function (2) for both active and reactive current as follows.
{ A a P n = 0 , B a P n = I , C a P n = k I P n , D a P n = k P P n A a Q n = 0 , B a Q n = I , C a Q n = k I Q n , D a Q n = k P Q n a n d { r a P n = P n * , y P n = P n r a Q n = Q n * , y Q n = Q n
where k I P n , k P P n and k I Q n , k P Q n are the parameters of PI controller.
Finally, the proposed dynamic adaptive bumpless transfer compensatory algorithm in Section 2 is applied to (34) to obtain the bumpless transfer compensator output α ( t ) , which will trigger the latent grid connected controller, fast-tracking the active islanded controller to achieve the smooth transfer when the switching happens.

4. Simulations

In this section, to validate the proposed mode-dependent bumpless transfer control strategy, a prototype microgrids (220 V, 50 Hz) with three inverters was built in SIMULINK. Figure 3 shows the structure. These inverters are controlled by distributed mode-dependent controllers.
To achieve bumpless transfer, two bumpless compensators need to be designed separately based on the proposed strategy in this paper. The specific calculation steps are as follows.
Step 1: obtain the state space model of the latent island controller. In this case, the current operation mode is grid connected mode. The system matrix of this state space model can be obtained from (29), where the parameters of PI controller k I d n , k P d n and k I q n , k P q n can be tuned by Matlab PID control tuner app.
Step 2: obtain the state space model of the latent grid connected controller. In this case, the current operation mode is islanded mode. The system matrix of this state space model can be obtained from (34). Where the parameters of PI controller k I P n , k P P n and k I Q n , k P Q n can be tuned by Matlab PID control tuner app.
Step 3: obtain P by the solution of algebraic Riccati equation (22) by using care command in Matlab.
Step 4: once P is obtained, g can be calculated from (23).
Step 5: calculate the Lagrange coefficient λ from (14) by substituting P and g into (14).
Step 6: compute the feedback matrix G from (25).
Step 7: determine the bumpless transfer compensator output α ( t ) by (25).
Three test cases were carried out. Table 1 displays the system parameters of the microgrids network shown in Figure 3.

4.1. Case 1: Transition from Islanded Mode to Grid Connected Mode

Initially, the microgrids operate in the islanded mode, then at t = 15 s, it connects to the main grid. The microgrids needs to be synchronized to the main grid. The results are shown in Figure 4 and Figure 5. Here, we make a comparison between the proposed two DOF bumpless control strategy and the one DOF bumpless control strategy used in [23].
From Figure 4 and Figure 5, we can see that the system frequency and the common bus voltage are fast-tracking the main grid to the nominal values after issuing the grid connection command. The maximum overshoot of frequency changes from 1.9% to 0.26% and the maximum overshoot of voltage changes from 11.7% to 2.3%. It is easy to see that the proposed two DOF bumpless transfer control strategy can fast drag the system back to the equilibrium point. Compared with the results of no compensator, it can be observed that the voltage peak is over 1.1 pu and the frequency peak is almost 51 Hz for a prolonged duration without any bumpless compensation. Furthermore, compared with the one DOF controller in [23], it has a better transient performance. The integral of squared error of frequency for these three cases are 3.5985, 0.2111, and 0.1443, respectively, and the integral of squared error of voltage for these three cases are 0.0646, 0.0064, and 0.0054, respectively. When operating in the grid connected mode, the frequency is settled to exactly 50 Hz and the PCC voltage is settled to 1 pu, which is the same as the voltage of the main grid.

4.2. Case 2: Transition from Grid Connected Mode to Islanded Mode

At t = 75 s, microgrids disconnected from the main grid and operated in the islanded mode. The microgrids need to maintain the balance of system frequency and voltage. The results are shown in Figure 6 and Figure 7.
From Figure 6 and Figure 7, we can see that the microgrids system frequency and voltage dropped a little bit from the nominal value without the support of the main grid frequency and voltage after issuing the grid disconnection command. The maximum overshoot of frequency changed from 3.3% to 0.51% and the maximum overshoot of voltage changed from 9.5% to 2.2%. Compared with the results of no compensator, it can be observed that the voltage peak is over 0.9 pu and the frequency peak is over 47 Hz for a prolonged duration without any bumpless comparison. Furthermore, compared with the one DOF controller in [23], it has a better transient performance. It is easy to see that the proposed bumpless transfer control strategy can effectively restrict the transient behavior within a desirable limit. The integral of squared error of frequency for these three cases are 14.1613, 1.5336, and 0.6146, respectively, and the integral of squared error of voltage for these three cases are 0.0467, 0.0040, and 0.0032, respectively.
Weighting matrices Q and R in the quadratic performance cost function play a very important role in deciding the system transient performance. Here, we will do a small sensitivity study with the variation of R and Q. There are various methods reported in published literatures on how to select these weighing matrixes. We used the Bryson’s suggestion to select matrix R and Q [25] and do a comparison of two groups of Q and R. Comparison results are shown in Figure 8 and Figure 9.

4.3. Case 3: Circulating Current When Line Impendences are Different

In order to validate the effectiveness of islanded mode controller after the system ran out of the main grid, we designed the case 3. In this case, the system initially operates in grid connected mode and at t = 700 ms it disconnected. After the bumpless compensator does its work, the islanded controller does its contribution to suppress the circulating current, even with the mismatches of the output impedance of each inverter. In this case, the resistors of Line 1 and Line 2 are different. Line 1 is 0.2 ohm and Line 2 is 0.4 ohm. The results of the circulating current of inverter 2 and inverter 3 are shown in Figure 10.

4.4. Case 4: More Complicated Transition Scenarios Validation

In this case, we enlarged the test case to a common medium voltage microgrids with more complicated transition scenarios. In this system, two 125 kw PV arrays were parallel connected via inverters to a 25 kv 60 Hz grid. To clearly show the transition performance of voltage amplitude, we will shorten the simulation time. The scenarios are as follows:
From t = 0 s to t = 0.5 s, microgrids operated in a grid connected mode. MPPT was used to keep the power almost constant at rated 125 kW by MPPT. At the beginning, load 1 is connected with P = 250 kW.
  • At t = 0.5 s, microgrids ran out of the main grid and, meanwhile, the sun irradiance was ramped down from 1   kw / m 2 to 0.2   kw / m 2 .
  • At t = 1 s, microgrids were reconnected to the main grid.
  • At t = 1.5 s, load 2 is on with P = 250 kW.
  • At t = 2 s, the simulation stops.
From the scenarios, we can see that, initially, microgrids operate in the grid connected mode and the controller can synchronize the frequency and voltage safely with the main grid, as well as supply constant power as requested (250 kW required by load 1). Then at t = 0.5 s, microgrids is disconnected, this scenario is to check the effectiveness of islanded bumpless controller. Then at t = 1 s, microgrids is reconnected to the main grid, this scenario is to check the effectiveness of grid connected bumpless controller. Finally at t = 1.5 s, to check the impact of load change on power quality and the tracking performance of mode controller, load 2 (250 kW) is connected to the system.
Figure 11 shows the results of PCC voltage (phase A) response in the whole running process. Transition happens at t = 0.5 s from the grid connection to the islanded mode and at t = 1 s is connected back. We can see that the proposed bumpless controller successfully suppresses the transient jump and helps PCC voltage have a fast recovery to the stable stage with a slight drop from the nominal value without the support of the main grid.
Figure 12 is the dynamics of active power of load 1. We can see that initially in grid connected mode, the load can work in their nominal point and the total consuming power is 250 kW, then at t = 0.5 s, microgrids is disconnected and meantime sun irradiance is ramped down from 1   kw / m 2 to 0.2   kw / m 2 , we can see that only the PV system can provide power to load 1, so the total consuming power is reduced to about 50 kW. Then at t = 1 s, microgrids is reconnected to the main grid and it can support complementary power to load 1, so load 1 can work its nominal power again. During the transitions at t = 0.5 s and t = 1 s, we can see that the proposed bumpless controller effectively suppress the overshoots in transitions.
Figure 13 is the dynamics of the system frequency. During the switching, although there are some fluctuations produced, it is easy to see that the proposed bumpless transfer control strategy can help the system get a better transient behavior. We can see that the new added load (250 kW) also has a little impact on the system frequency and the proposed bumpless strategy can also reduce the overshoot in this load change transition, but it is not very effective. So in future work, we need to consider more transition cases to improve the performance of the bumpless control strategy.

5. Conclusions

In this paper, two separate controllers were designed for two operation modes of the microgrids. To deal with the problem of bumpless transfer for microgrids with these two operation modes, a two DOF bumpless controller was proposed to adaptively compensate the control input discontinuity and reference step when mode transfer happens. This bumpless algorithm is effectively forcing the latent controller tracking the active controller, as well as guaranteeing the plant output, tracking the reference as close as possible to achieve the continuity of the switching behavior by minimizing the transient performance criteria in terms of these two degrees of driven signals. Effectiveness of the proposed two DOF LQ-based bumpless transfer control strategy is validated from simulation results by comparisons with both the results of no bumpless controller and one DOF bumpless controller.

Author Contributions

Conceptualization, Y.W. (Ying Wu); methodology, Y.W. (Ying Wu); software, Y.W. (Yanpeng Wu); validation, Y.W. (Ying Wu); resources, J.C.V.; writing—original draft preparation, Y.W. (Ying Wu); writing—review and editing, J.M.G.

Funding

The research was funded by the National Natural Science Foundation of China under Grant 51707158 and 61802301, Natural Science Foundation of Shaanxi Province under Grant 2018JQ6006 and China Scholarship Council under grant 201808610075, Scientific and technological projects of Shaanxi Province under Grant 2015GY102.

Acknowledgments

Ying Wu acknowledges National Natural Science Foundation of China, Josep M. Guerrero, Juan C. Vasquez, and Yanpeng Wu.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nasirian, V.; Moayedi, S.; Davoudi, A.; Lewis, F.L. Distributed cooperative control of DC Microgrids. IEEE Trans. Power Electron. 2015, 20, 2288–2303. [Google Scholar] [CrossRef]
  2. Ying, W.; Josep, M.G.; Yanpeng, W. Distributed coordination control for suppressing circulating current in parallel inverters of islanded microgrid. IET Gener. Transm. Distrib. 2019, 13, 968–975. [Google Scholar]
  3. Atapathy, P.; Dhar, S.; Dash, P.K. A new hybrid firefly optimized P-Q and V-f controller coordination for PV-DG-based Microgrid stabilization. Int. Trans. Electr. Energy Syst. 2018, 28, e2568. [Google Scholar] [CrossRef]
  4. Awad, E.A.; Badran, E.A.; Youssef, F.M.H. A proposed supercapacitor-based mitigation of Microgrids switching overvoltage. Int. Trans. Electr. Energy Syst. 2018, 28, e2484. [Google Scholar] [CrossRef]
  5. Ying, W.; Josep, M.G.; Yanpeng, W. Mode-dependent seamless transfer control strategy of a Microgrid via a small-signal stability approach. Asian J. Control 2019, 1–18. [Google Scholar] [CrossRef]
  6. Li, X.; Li, C.C.; Yang, Y.K. Heterogeneous linear multi-agent consensus with nonconvex input constraints and switching graphs. Inf. Sci. 2019, 501, 397–405. [Google Scholar] [CrossRef]
  7. Nejabatkhah, F.; Li, Y.W. Overview of Power Management Strategies of Hybrid AC/DC Microgrid. IEEE Trans. Power Electron. 2015, 30, 7072–7089. [Google Scholar] [CrossRef]
  8. Etemadi, A.H.; Iravani, R. Supplementary mechanisms for smooth transition between control modes in a Microgrid. Electron. Power Syst. Res. 2017, 142, 249–257. [Google Scholar] [CrossRef]
  9. Wang, J.; Chang, N.C.P.; Feng, X.W.; Monti, A. Design of a Generalized Control Algorithm for Parallel Inverters for Smooth Microgrid Transition Operation. IEEE Trans. Ind. Electron. 2015, 26, 4900–4914. [Google Scholar] [CrossRef]
  10. Vandoorn, T.L.; Meersman, B.; Kooning, J.D.M.; Vandevelde, L. Transition from islanded to grid-connected mode of Microgrids with voltage-based droop control. IEEE Trans. Power Electron. 2013, 28, 2545–2553. [Google Scholar] [CrossRef]
  11. Thale, S.S.; Agarwal, V. Controller area network assisted grid synchronization of a Microgrid with renewable rnergy sources and storage. IEEE Trans. Smart Grid 2016, 7, 1442–1452. [Google Scholar] [CrossRef]
  12. Zhong, Q.C.; Nguyen, P.L.; Ma, Z.; Sheng, W. Self-synchronized synchronverters: Inverters without a dedicated synchronization unit. IEEE Trans Power Electron. 2014, 29, 617–630. [Google Scholar] [CrossRef]
  13. Zeng, Z.; Shao, W.H. Reconnection of micro-grid from islanded mode to grid-connected mode used sliding Goertzel transform based filter. IET Renew. Power Gener. 2017, 11, 1041–1048. [Google Scholar] [CrossRef]
  14. Tang, F.; Guerrero, J.M.; Vasquez, J.C.; Wu, D.; Meng, L. Distributed Active Synchronization Strategy for Microgrids Seamless Reconnection to the Grid under Unbalance and Harmonic Distortion. IEEE Trans. Smart Grid 2017, 6, 2757–2769. [Google Scholar] [CrossRef]
  15. Guerrero, J.M.; Chandorkar, M.; Lee, T.L.; Loh, P.C. Advanced control architectures for intelligent Microgrids—Part I: Decentralized and hierarchical control. IEEE Trans. Ind. Electron. 2013, 60, 1254–1262. [Google Scholar] [CrossRef]
  16. Vasquez, J.C.; Guerrero, J.M.; Savaghebi, M.; Carrasco, E.G.; Teodorescu, R. Modeling, analysis, and design of stationary reference frame droop controlled parallel three-phase voltage source inverters. IEEE Trans. Ind. Electron. 2013, 60, 1271–1280. [Google Scholar] [CrossRef]
  17. Guerrero, J.M.; Vasquez, J.C.; Matas, J.; Vicuna, L.G.; Castilla, M. Hierarchical control of droop-controlled DC and AC Microgrids—A general approach towards standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef]
  18. Walsh, M.J.; Mahdi, S.M.; Alavi, M.; Hayes, J. Practical assessment of hardware limitations on power aware wireless sensor networks-An anti-windup approach. Int. J. Robust Nonlinear Control 2010, 20, 194–208. [Google Scholar] [CrossRef]
  19. Luca, Z.; Andrew, R.T. A common framework for anti-windup, bumpless transfer and reliable designs. Automatica 2002, 38, 1735–1744. [Google Scholar]
  20. Qin, G.; Duan, Z.; Wen, G.; Yan, Y.; Jiang, Z. An Improved Anti-Windup Bumpless Transfer Structures Design for Controllers Switching. Asian J. Control 2014, 16, 1245–1251. [Google Scholar] [CrossRef]
  21. Matthew, C.; Turne, D.; Walker, J. Linear quadratic bumpless transfer. Automatica 2000, 36, 1089–1101. [Google Scholar]
  22. Steenis, J.; Tsakalis, K.; Ayyanar, R. An Approach to Bumpless Control for LPV Modeled Inverters in a Microgrid. IEEE Trans. Power Electron. 2014, 29, 6214–6223. [Google Scholar] [CrossRef]
  23. Dibakar, D.; Gurunath, G.; Shenoy, U.J. Linear Quadratic Regulator-Based Bumpless Transfer in Microgrids. IEEE Trans. Smart Grid 2018, 9, 416–425. [Google Scholar]
  24. Liu, X.F.; An, S.Q. Smooth Switching Controller Design for Multiobjective Control Systems and Applications. J. Aerosp. Eng. 2016, 29, 04016004. [Google Scholar] [CrossRef]
  25. Bryson, A.; Ho, Y.C. Applied Optimal Control: Optimization, Estimation, and Control; Taylor & Francis: Abingdon, UK, 1975. [Google Scholar]
Figure 1. Bumpless control structure of microgrids with two mode controllers.
Figure 1. Bumpless control structure of microgrids with two mode controllers.
Energies 12 03619 g001
Figure 2. Circuit diagram of a generic microgrids with N inverter-based DGs.
Figure 2. Circuit diagram of a generic microgrids with N inverter-based DGs.
Energies 12 03619 g002
Figure 3. System model.
Figure 3. System model.
Energies 12 03619 g003
Figure 4. PCC frequency response of microgrids running in Case 1.
Figure 4. PCC frequency response of microgrids running in Case 1.
Energies 12 03619 g004
Figure 5. PCC rms voltage response of microgrids running in Case 1.
Figure 5. PCC rms voltage response of microgrids running in Case 1.
Energies 12 03619 g005
Figure 6. PCC frequency response of microgrids running in Case 2.
Figure 6. PCC frequency response of microgrids running in Case 2.
Energies 12 03619 g006
Figure 7. PCC rms voltage response of microgrids running in Case 2.
Figure 7. PCC rms voltage response of microgrids running in Case 2.
Energies 12 03619 g007
Figure 8. Weighting matrix comparison results (Case 1).
Figure 8. Weighting matrix comparison results (Case 1).
Energies 12 03619 g008
Figure 9. Weighting matrix comparison results (Case 2).
Figure 9. Weighting matrix comparison results (Case 2).
Energies 12 03619 g009
Figure 10. Circulating current of microgrids running in Case 3.
Figure 10. Circulating current of microgrids running in Case 3.
Energies 12 03619 g010
Figure 11. PCC voltage phase A response of microgrids running in Case 4.
Figure 11. PCC voltage phase A response of microgrids running in Case 4.
Energies 12 03619 g011
Figure 12. Active power of load 1 in Case 4.
Figure 12. Active power of load 1 in Case 4.
Energies 12 03619 g012
Figure 13. PCC frequency response of microgrids running in Case 4.
Figure 13. PCC frequency response of microgrids running in Case 4.
Energies 12 03619 g013
Table 1. Microgrids system parameters.
Table 1. Microgrids system parameters.
ParameterValueParameterValueParameterValue
Common bus voltage220 VSystem frequency50 HzDroop control
m1 = m2 = m3
2.5 × 10 3
DC–Input voltage300 VAC–Output voltage220 VDroop control
n1 = n2 = n3
3.5 × 10 5
Capacity of inverter 13 KWCapacity of inverter 23 KWCapacity of inverter 33 KW
Filter 1 inductance0.6 mHFilter 2 inductance0.6 mHFilter 3 inductance0.6 mH
Filter 1 capacitor10 μFFilter 2 capacitor10 μFFilter 3 capacitor10 μF
Line 1 resistor0.2 ohmLine 2 resistor0.2 ohmLoad resistor150 ohm
Line 1 inductor0.6 mHLine 2 inductor0.6 mHLoad inductor0.3 mH

Share and Cite

MDPI and ACS Style

Wu, Y.; Guerrero, J.M.; Vasquez, J.C.; Wu, Y. Bumpless Optimal Control over Multi-Objective Microgrids with Mode-Dependent Controllers. Energies 2019, 12, 3619. https://doi.org/10.3390/en12193619

AMA Style

Wu Y, Guerrero JM, Vasquez JC, Wu Y. Bumpless Optimal Control over Multi-Objective Microgrids with Mode-Dependent Controllers. Energies. 2019; 12(19):3619. https://doi.org/10.3390/en12193619

Chicago/Turabian Style

Wu, Ying, Josep M. Guerrero, Juan C. Vasquez, and Yanpeng Wu. 2019. "Bumpless Optimal Control over Multi-Objective Microgrids with Mode-Dependent Controllers" Energies 12, no. 19: 3619. https://doi.org/10.3390/en12193619

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop