An Integrated Control Algorithm of Power Distribution For Islanded Microgrid Based On Improved Virtual Synchronous Generator
An Integrated Control Algorithm of Power Distribution For Islanded Microgrid Based On Improved Virtual Synchronous Generator
DOI: 10.1049/rpg2.12191
Liang Zhang1 Hao Zheng2 Tao Wan3 Donghan Shi4 Ling Lyu1 Guowei Cai1
1
Key Laboratory of Modern Power System Abstract
Simulation and Control & Renewable Energy
Virtual synchronous generator technology can effectively improve the anti-interference
Technology, Ministry of Education (Northeast
Electric Power University), Jilin, China characteristics of the system frequency and bus voltage in the microgrid, and solve the
2
Jining Power Supply Company, State Grid
problems of insufficient damping and low inertia of the system. However, in an islanded
Shandong Electric Power Company, Jining, China microgrid with multiple distributed generation, the difference in line impedance will cause
3
State Grid Information & Telecommunication local voltage deviations, which in turn leads to a series of problems, such as reducing
Group Co., Ltd., Beijing, China power distribution accuracy and increasing bus voltage drop. Therefore, for the island-type
4
School of Electrical and Electronic Engineering, microgrid multi-inverter distributed power generation parallel system, in order to solve the
Nanyang Technological University, Singapore problem of low power distribution accuracy and large frequency oscillation caused by sys-
tem parameters in virtual synchronous generator control, an improved virtual synchronous
Correspondence generator control algorithm based on adaptive droop coefficient is proposed in this paper,
Liang Zhang, Key Laboratory of Modern Power
System Simulation and Control & Renewable Energy which not only eliminates the resistance component of the line impedance, makes the sys-
Technology, Ministry of Education (Northeast tem impedance characteristic present a purely inductive nature, but also realises real-time
Electric Power University), Jilin 132012, China. adjustment of active and reactive power. While maintaining the stability of the bus volt-
Email: xiaozhanghit@163.com
age and system frequency, it maintains high power distribution accuracy and improves the
Funding information
dynamic performance and operational stability of the power grid system.
Jilin City Science and Technology Innovation
Development Project, Grant/Award Number:
20190104138
1 INTRODUCTION bus voltage in the microgrid and solve the problems of under-
damping and low inertia of traditional droop control [4].
Microgrid is an effective form of distributed generation (DG) At present, VSG control is mostly used in grid-connected
efficiency and important means to solve the problem of large- inverters of traditional distribution networks, and direct cur-
scale renewable energy access in future smart grid systems, rent control based on the principle of phase-locked loop
which is conducive to improving social and economic bene- synchronization is used to achieve voltage tracking and power
fits [1,2]. Since the synchronous generator has the advantage transmission of the power grid [5–10]. However, with the
of being naturally friendly to the power grid, its self-balancing increase of the scale of new energy grid connection and the
capability, droop characteristics, large rotational inertia and transmission distance, the grid connection point gradually
other characteristics are conducive to the stable operation of shows a weak grid state, which affects the dynamic tracking
the power system and the reasonable distribution of load power. performance of the phase locked loop, reducing the stability of
Therefore, virtual synchronous generator (VSG) technology current and power control [11, 12]. Because the microgrid VSG
came into being [3], which can not only make the microgrid control inherits the advantages of traditional droop control
inverter have the steady-state characteristics of droop control, and provides inertial support for the system to maintain the
but also can make it exhibit dynamic frequency response char- stability of active power [13,14], VSG control technology has
acteristics similar to synchronous motors, effectively improve gradually begun to be applied to microgrids in recent years. Ref.
the anti-disturbance characteristics of the system frequency and [15,16] proposed a virtual capacitance algorithm, which only
This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is
properly cited.
© 2021 The Authors. IET Renewable Power Generation published by John Wiley & Sons Ltd on behalf of The Institution of Engineering and Technology
From Equations (8) and (9), it can be seen that the output active
power and reactive power of each VSG are affected by the line
FIGURE 2 Multi-distributed generations parallel equivalent circuit impedance, resulting in the power cannot be divided equally.
When studying the parallel operation of multiple VSGs, this
paper discusses the situation of two VSGs with the same capac-
ity. Since the voltage closed-loop control strategy based on the
𝜃= 𝜔dt (4) virtual impedance of VSG proposed in this paper can adjust
∫
the value of the virtual impedance to adjust the size of its out-
√ put resistance, therefore, ignoring the influence of the line resis-
√ d( 2Em )
Qset + 2Dq (Un − Uo ) − Qe = K (5) tance, the active and reactive power output by the ith DG can
dt be further reduced to Equations (8) and (9) as
Where Pset and Qset are the given active and reactive power; Tset
is the given torque; Te is the electromagnetic torque; DP is the UiUik sin 𝛿i
Pi = (10)
active-frequency droop coefficient; DQ is the reactive-voltage Xlk
droop coefficient; ω is VSG Angular frequency; ωn is the rated UiUik cos 𝛿i − UPCC
2
angular frequency; Uo is the effective value of the output volt- Qi = (11)
Xlk
age; Un is the effective value of the rated voltage; J is the virtual
rotational inertia of VSG. It can be seen from Equations (10) and (11) that the active
Because the output power of the inverter type DG is gen- power P mainly depends on the voltage phase, and the reac-
erally not large and the load capacity is small, it is often nec- tive power Q mainly depends on the voltage amplitude. There-
essary to supply power to the load in parallel. Therefore, the fore, P–f and Q–U can be described as the droop characteristics
parallel operation of multiple inverter power supplies in the described by the following equations.
islanded microgrid has become the key point of the research.
Therefore, the parallel system of two VSGs considering the line ⎧ ∗
impedance can be equivalent to the circuit diagram shown in ⎪ 𝜔n = 𝜔 − mn Pn
Figure 2. ⎪U = U ∗ − n Q
As shown in Figure 2, the excitation electromotive forces of ⎪ n n n
⎨m = 1 (12)
the two VSGs are E1 ∠δ1 , E2 ∠δ2 , and the output voltages of the ⎪ n DP
two VSGs are uo1 , uo2 , and the phase angle difference between ⎪n = 1
uo1 and the common load ZL terminal voltage uo is φ1 , uo2 The ⎪ n DQ
⎩
phase angle difference with the load ZL terminal voltage uo is
φ2 . The line impedances connecting the output terminals of the It can be seen from Equation (12) that if the frequency differ-
two inverters and the load ZL are Zl1 = Rl1 + jXl1 , Zl2 = Rl2 ence and voltage difference of the two inverters are required
+ jXl2 , and their impedance angles are θ1 and θ2 , respectively. to be equal, then Equation (13) only needs to be satisfied, that
Each VSG output active power Pk and reactive power Qk are is, the droop coefficient of active power and reactive power is
respectively: inversely proportional to the power allocated by the power sup-
ply capacity.
(UokUo cos 𝜑k − Uo2 ) cos 𝜃k + UokUo sin 𝜑k sin 𝜃k {
Pk = (6) mA PA = mB PB
Rlk + j Xlk (13)
nA QA = nB QB
(UokUo cos 𝜑k − Uo2 ) sin 𝜃k + UokUo sin 𝜑k cos 𝜃k When the idling frequency ω* and the no-load voltage U* are
Qk = (7)
Rlk + j Xlk the same, if Equation (13) is to be satisfied, it is necessary to
satisfy ωA = ωB , UoA = UoB , then adjust the frequency of
Among them, k represents the number of VSGs. In gen- the two inverters at the same time to make the output voltage
eral, R ≪ X, so the resistance part of the line impedance equal, and finally distribute the power reasonably according to
can be ignored and sinφk ≈ φk , cosφk ≈ 1 can be taken. So, the capacity. Substituting Equation (10) into Equation (12), we
4 ZHANG ET AL.
can get
𝜔∗
𝜔n = mnUonUs
(14)
s+
Xn
3 REACTIVE POWER SHARING Where Rv is the virtual resistance value set in this article. By
DESIGN BASED ON FUZZY LOGIC taking a negative value, the original line resistance can be offset
ALGORITHM to change the nature of the original line impedance.
The system impedance Z includes the equivalent output
3.1 Inverter output impedance analysis impedance and line impedance of the inverter including the vir-
and power decoupling design tual negative resistance. Therefore, Z can be written as
The system impedance contains the line impedance ZLine in Z (s) = ZInv (s) + (−Rv ) ⋅ GInv (s) + RLine + sLLine (20)
addition to the equivalent impedance of the inverter itself, which
can be expressed as The system structure of the capacitor current feedback con-
trol inverter with virtual inductance is shown in Figure 3 [24].
ZLine = RLine + sLLine (17) The dotted line is the added virtual resistance, Rv is the vir-
tual resistance value; L, C and r are the circuit filter inductance,
Therefore, the equivalent output impedance of the inverter capacitance and the equivalent series resistance of the circuit; ke
is is the current loop regulator scale factor; kp and ki are the ratio
and integral coefficient of the voltage loop, respectively; GInv (s)
and ZInv (s) are the closed-loop transfer function and equivalent
Z = ZInvE + ZLine =Rs + j Xs (18)
output impedance of the inverter.
ZHANG ET AL. 5
ΔQ
Uo NL NB NS Z PS PB PL
xi
A PL PL PB Z Z Z NB
B PL PL PB Z Z NS NB
C PL PB PS Z NS NB NL
D PL PB PS Z NS NB NL
E PL PB PS Z NS NB NL
F PB PS Z Z NB NL NL
G PS Z Z Z NB NL NL
seven total from NL, NB, NS, Z, PS, PB, PL fuzzy subset
[26].
The establishment of fuzzy logic rules depends on the logi-
cal relationship between output and input. The integral of the
output quantity xi is the adjustment amount of the droop coef-
ficient. Therefore, when the reactive power Qi increases or the
bus voltage Uo increases, the droop coefficient needs to be
increased; when the reactive power Qi decreases or the bus
voltage Uo decreases, the reduction needs to be reduced small
droop coefficient. When the bus voltage stabilises near 220V
and the reactive power approaches the standard value, the droop
coefficient is no longer adjusted. According to the above logic,
the fuzzy logic rules shown in Table 1 can be established, and
then the fuzzy logic inference results shown in Figure 6 can be
obtained [26].
Finally, the characteristic curves of P–ω and Q–U in VSG
control before and after the improvement are shown in Figure 7.
Parameter Value
In the fuzzy controller, this paper uses three triangular This paper uses a microgrid structure with two distributed gen-
membership functions to define Δω, and one triangle and two erations connected in parallel for simulation. Among them,
trapezoidal membership functions to define ΔP as shown in DG1 and DG2 have the same capacity, so the power distribu-
Figure 8(a,b). The input range is [−1, 1]. The output of the tion ratio of DG1 and DG2 is 1: 1, the simulation time is set
fuzzy rule system is shown in the Figure 8(c). to 1.5 s, and the system parameters are shown in Table 2. The
Under the secondary voltage regulation in this article, the microgrid load is a constant power load, the initial active power
fuzzy controller has two outputs: dω. Among them, Δω deter- is 6000 W, and the reactive power is 8000 var. When t = 0.5 s,
mines the sign of dω: when Δω is “positive”, dω is greater than the adaptive droop coefficient control proposed in this paper is
8 ZHANG ET AL.
used. When t = 1.0 s, the active power of the load is 4000 W. TABLE 3 Comparison of power distribution accuracy under different
The simulation results are shown in Figure 10. methods
As shown in Figure 10(a,b), under the basic VSG control, the Active power Reactive power
power distribution accuracy is poor, and the fluctuation is more Control strategy allocation error/% allocation error/%
obvious. After t = 0.5 s is put into the control strategy men- Control strategy 0.023 0.106
tioned in this paper, the precision of power distribution is sig- proposed in this paper
nificantly improved, and the active load of 1.0 s is increased, and Control strategy 0.192 0.408
stable power distribution can still be achieved during this period, proposed in [28]
and the fluctuation of reactive power is small, indicating that the Control strategy 0.09 0.23
coupling degree of the power loop is low, so the virtual negative proposed in [29]
resistance and droop coefficient introduced in this article can be
effectively used for power distribution and decoupling.
As shown in Figure 10(c,d), compared with the traditional
droop control and basic VSG control, the voltage and frequency reactive power, and has a better level power sharing effect,
compensation module based on fuzzy logic algorithm proposed which has certain advantages in the current research.
in this paper can effectively shorten the frequency oscillation
time and reduce the voltage drop, and maintain the stability of
voltage and frequency. 4.2 Case 2: Line Parameter Mutation
In order to demonstrate the superior performance of the
control algorithm proposed in this paper in the current research, In this section, the simulation of the line parameter mutation
the improved control algorithm proposed in this paper is now is carried out to verify the effectiveness of the proposed con-
compared with the current existing control strategies, and the trol strategy. When t = 0.5 s, the impedance of the DG1 line is
power distribution accuracy achieved in [28] and [29] is cited and reduced to half of the original, and the impedance of the DG2
compared as a comparison. Also, the power distribution accu- line is unchanged. Figures 11 and 12 show the simulation results
racy in Figure 10 is calculated, and the comparison results are of active and reactive power when the line parameters change
shown in Table 3. suddenly under basic VSG control and improved VSG control
It can be concluded from Table 3 that compared with the strategy, respectively.
power distribution accuracy under the control algorithm in [28] As shown in Figure 11, when the line parameters are abrupt,
and [29], the improved control algorithm proposed in this paper under the basic VSG control, both active power and reactive
significantly improves the distribution accuracy of active and power will change due to the line parameter abrupt change.
ZHANG ET AL. 9
FIGURE 13 Power situation when DGs plug and play (a) active power,
(b) reactive power