# Islanding Detection for Microgrid Based on Frequency Tracking Using Extended Kalman Filter Algorithm

Authors: Bin Li; Jingpeng Wang; Hailong Bao; Huiying Zhang
Journal: Journal of Applied Mathematics
 (2014)

---

## Abstract

Islanding detection is essential for secure and reliable operation of microgrids. Considering the relationship between the power generation and the load in microgrids, frequency may vary with time when islanding occurs. As a common approach, frequency measurement is widely used to detect islanding condition. In this paper, a novel frequency calculation algorithm based on extended Kalman filter was proposed to track dynamic frequency of the microgrid. Taylor series expansion was introduced to solve nonlinear state equations. In addition, a typical microgrid model was built using MATLAB/SIMULINK. Simulation results demonstrated that the proposed algorithm achieved great stability and strong robustness in of tracking dynamic frequency.


---

## Body

## 1. Introduction

Distributed generation (DG) using renewable energy sources such as solar energy, wind energy, and hydroenergy has received considerable attention due to environmental pollution and exhaustion of fossil fuel. Many utilities around the world have a significant penetration of DGs in their systems. As a promising developing trend, the concept and techniques of microgrids (MGs) are proposed to improve DG’s utilization [1].MG is a kind of regional electric power systems which include DGs and power loads. They have the ability to disconnect from or parallel with large electric power systems. MGs offer many potential benefits, such as improving the reliability of power supply by islanding operation during large electric power system outages, relieving overload problems by allowing a part of the power system to intentionally island, and so forth. However, there are also many issues to be solved before MGs become integral part of the utilities, such as how to achieve high power quality, efficiency, and safety. Especially, the most concerned problem is the islanding which refers to a condition that MG has an independent powering to a location even though the MG has been disconnected from the grid [2]. This condition can be dangerous to grid workers who may not realize that the load is still powered. It can also cause adverse effects such as low power quality, grid protection interference, and equipment damage. For these reasons, islanding condition must be detected immediately. Accordingly, islanding condition should be informed to operators and the control strategy must be switched for islanding operation.The mainly used islanding detection techniques may be broadly classified as remote and local techniques. Local techniques can be divided into passive and active detection methods [3]. Remote islanding detection techniques are based on the communication between utilities and DGs. Supervisory control and data acquisition (SCADA) has been used to determine whether the distribution system is islanded or not. These methods are reliable but not economic to implement for small systems. As for the local techniques, the core of passive method is that some of the system parameters (voltage, frequency, etc.) change greatly with islanding but not much in normal running when connected with grid [4, 5]. This character can be helpful in islanding detection by continuously monitoring the parameters of the system without bringing disturbance. However, this method would cause large nondetection zones because islanding cannot be detected under a perfect match of generations and loads in the island system. Active techniques directly interact with the power system operation by introducing perturbations [6]. These small perturbations will result in a significant change in system parameters when the DG is islanded whereas the change will be negligible when the DG is connected to the grid. It has smaller nondetection zones but disturbs the system. The most commonly used methods are reactive power export error detection method, impedance measurement method, active frequency drift, and automatic phase shift.For the passive detection method, one of the common passive approaches is based on the measurement of voltage vector and frequency of the common coupling point in real time. Variation in voltage and frequency from its normal value indicates the occurrence of islanding in most conditions. A large number of methods are available for the frequency estimation based on digitized samples of system voltage, methods such as discrete Fourier transforms, conventional Kalman filter, and phase lock loop [7]. For the most commonly used algorithms, discrete Fourier transforms may lead to inaccuracies due to leakage and picket-fence effects. Meanwhile, it is not ideal when the system is nonstationary since it requires large measurement windows and it is sensitive to low signal-to-noise ratio [8]. Kalman filter, which is well known for its small calculating amount and robustness in estimating sinusoids signal with noise, however, is faced with several distortions due to the system’s inherent nonlinearity [9, 10].In this paper, the necessity and basic methods of islanding detection of the MG are addressed. Considering the importance of frequency estimation, a novel algorithm based on extended Kalman filter is presented to enhance the precision and the speed of frequency tracking in islanding MGs. Simulation tests demonstrate that the proposed algorithm has excellent superiority on islanding detection.


## 2. Microgrids and Islanding Detection

The MG embedded in distribution systems has evolved overwhelmingly to help meet the load growth in existing networks. The typical topologies of MGs are suggested in IEEE 1547.4 [11], as shown in Figure 1.Figure 1
Typical topologies of MGs.The most important feature of MGs is that they have the ability to disconnect from or parallel with the area electric power system. The planned MG in Figure1 may be a local electric power system island, circuit island, or substation island. Generally, a transition-to-island mode can be a result of scheduled or unscheduled events. Scheduled transitions are intentional events for which the time and duration of the planned island are agreed upon by all parties involved. Unscheduled transitions are inadvertent events that are typically initiated by loss of area power system or equipment failure, and the MG needs to be automatically sectionalized from the area power system by islanding protective relay.As shown in Figure1, for a fault k external to the planned island MG-1, it is expected that the DG should be disconnected from the area electric power system as soon as possible. Thus, the fast circuit breaker CB-1 is required to be open for the fault k. Obviously, knowledge of the operating conditions of the system prior to islanding and control of those operating conditions will facilitate the smooth transfer to an intentional island, particularly in response to abnormal events [12]. In order to achieve maximum benefit of the DG, the islanding relay should detect islanding condition with high speed and sensitivity to prevent other protective relays from tripping-off islanded DG.In short, when islanding condition happens, not only the area electric power system operator needs to be aware of this operation, but also the control strategy of the MG needs to be adjusted. Therefore, islanding detection is one of the key issues for protection and control of MGs, as shown in Figure2.Figure 2
Schematic diagram of protection and control of MGs.There are basically two kinds of distributed generators in MGs. The first one, such as photovoltaic, fan, and storage battery, is based on inverter control. The other one, such as synchronous generator and microsteam turbine, is based on the principle of generator.Assume that the active and reactive power outputs from DGs areP and Q and that the power loads in MGs are represented as R, L, and C. In islanding operation,
(1)
P
=
U
PCC
2
R
Q
=
U
PCC
2
(
1
ω
L
-
ω
C
)
.So(2)
U
PCC
2
=
P
R
,
ω
=
ω
0
(
1
4
λ
2
(
Q
P
)
2
+
1
-
1
2
λ
·
Q
P
)
.In (2), ω
0
=
1
/
L
C is the syntonic angular frequency, and λ
=
R
C
/
L is the quality factor of loads.It can be known from (2) that the voltage and frequency may deviate from the rated ones when islanding occurs since there is generally an imbalance between the generation and the load in the formed island. Besides, the change of voltage is related to active power imbalance while the frequency shift is mainly based on reactive power imbalance. Consequently, over/undervoltage relay and over/underfrequency relay are often used as the most conventional anti-islanding protection. Furthermore, power imbalance will lead the frequency to change dynamically. So the rate of change of frequency (ROCOF) is also a commonly employed anti-islanding protection [13]. Consider
(3)
d
f
d
t
=
-
(
P
L
-
P
G
2
H
×
S
GN
×
f
r
)
.
Equation (3) is used to calculate the change rate of frequency, in which P
L is the output of the distributed generator, P
G is the load in the island, S
GN is the distributed generator rating, H is the inertia constant of generating plant, and f
r is the rated frequency.The distributed generators in MGs are mainly based on inverter control. Compared with conventional synchronous generators, the inverter-based distributed generators have small equivalent inertia constants and capacities. The frequency varies distinctly in islanding operation. Furthermore, inverter control may produce more harmonics and noises due to dead time of the inverter itself. In sum, the voltage and the frequency of MGs are comparatively stable in parallel operation, while in islanding operation, the variations of electric measurements are complex, so that the accurate frequency tracking must be achieved by reliable and advanced algorithms.


## 3. Frequency Tracking Using Extended Kalman Filter

Frequency tracking could not be limited in islanding detection. It is needed in many other areas of power system, such as power quality monitoring, automation under frequency load shedding devices, and automatic accurate synchronizers. In theory, the frequency tracking methods can be investigated in all the situations that need frequency measurement.A number of methods are available on the frequency estimation based on digitized samples of the system voltage. Discrete Fourier transform is one of the most commonly used algorithms due to its good filtering characteristics and strong resistance to disturbance. The main principle of discrete Fourier transforms is to calculate the phase angle difference between two adjacent data windows. Then the frequency can be estimated accordingly. However, discrete Fourier transforms may lead to inaccuracies due to leakage and picket-fence effects. Meanwhile, it is not ideal when the frequency is changing during a complete data window of Fourier transforms. For this reason, adaptive discrete Fourier transforms for frequency tracking are proposed to lock the fundamental frequency of incoming signal [14]. Adaptive discrete Fourier transforms can be described as a feedback model: when the signal frequency is changed, it can be used to redirect the sampling time of next sampling point. Thus, it enhances the accuracy of frequency measurements when the real frequency is not the rated value.Kalman filter algorithm does well in addressing the general problem of trying to estimate the stateX
∈
R
n of a discrete-time controlled process. The superiority of Kalman filter in frequency tracking lies in many aspects.(1)
It is quite easy to make the Kalman filter self-tuned to the fundamental frequency without any hardware modification.
(2)
Harmonics are eliminated more effectively when the Kalman filter is adaptive with respect to the fundamental frequency.
(3)
The Kalman filter allows filtering preselected resonant nonharmonic frequencies, which is not possible with the adaptive discrete Fourier transforms.
(4)
Kalman filter is often adopted due to its low computation cost and robustness in estimating sinusoids signal embedded in an unknown measurement noise [15].However, the calculation of conventional Kalman filter is based on the assumption that the measured system is linear in its mathematical model. Thus, it has to face several distortions for coping with the nonlinear signals. As for the frequency tracking of power system, the input signal is sampling voltage values generally. If the input signal is assumed to be an ideal sinusoid with constant amplitude, the mathematical model can be represented as(4)
z
(
t
)
=
A
cos
⁡
(
ω
0
t
+
θ
)
=
[
cos
⁡
⁡
(
ω
0
t
)
-
sin
⁡
(
ω
0
t
)
]
⌈
X
1
(
t
)
X
2
(
t
)
⌉
,
where z
(
t
) is the measured signal and X
1
(
t
) and X
2
(
t
) are the two state variables of Kalman filter, [
X
1
(
t
)
,
X
2
(
t
)
]
T
=
[
A
cos
⁡
θ
,
A
sin
θ
]
T.Conventional Kalman filter supposes thatX
1
(
t
) and X
2
(
t
) vary with time in linear way. However, as the mathematical model shows, the input signal and output signal are changed nonlinearly. It is hard for the conventional Kalman filter to achieve excellent calculation accuracy. With the interconnection of MGs, the system frequency is not as stable as the large power grid. When islanding occurs, the frequency of the MG might be irregular. Therefore, extended Kalman filter which is established in nonlinear way is recommended to be applied in order to achieve better accuracy and faster speed in frequency tracking of MGs.The nonlinear stochastic difference equation can be written as(5)
X
k
=
f
(
X
k
-
1
,
U
k
-
1
,
w
k
-
1
)
,
(6)
z
k
=
h
(
X
k
,
v
k
)
,
where X is state variables, z is the observed signal, U is the controlled variable, and subscript k is the sampling time stamp. The nonlinear function f in (5) describes nonlinear recursion relationship among state variables. The nonlinear function h in (6) relates the state X to the observed signal. w and v represent the process and measurement noise, respectively. It is assumed that w
(
t
) and v
(
t
) are both zero-mean uncorrected white noises, with respect to variances q and r. Consider w
(
t
)
=
W
N
(
0
,
q
)
,
v
(
t
)
=
V
N
(
0
,
r
).To calculate state variablesX
k in nonlinear system, Taylor series is used to expand (5) and (6) and transform them into approximate linear equations [16, 17]. For an input signal f
(
x
), it can be represented by
(7)
f
(
x
)
=
f
(
a
)
+
f
′
(
a
)
1
!
(
x
-
a
)
+
f
′
′
(
a
)
2
!
(
x
-
a
)
2
+
⋯
+
f
(
n
)
(
a
)
n
!
(
x
-
a
)
n
+
R
n
(
x
)
.Generally, two-order Taylor series is adopted as an approximation solution in field calculation. This approximation is established based on three considerations:(
1
) higher-order components are so marginal that they can be omitted; (
2
) calculation of higher orders of Taylor series will result in heavy computing burden which influence the tracking speed; (
3
) the bigger Jacobian matrix is, the more memory is used, and it would be unsuitable in field application.By using two-order Taylor series (7), (5), and (6) can be rewritten as
(8)
X
k
=
X
~
k
+
F
(
X
k
-
1
-
X
^
k
-
1
)
+
W
·
w
k
-
1
,
z
k
=
z
~
k
+
H
(
X
k
-
X
~
k
)
+
V
·
v
k
,
where X
k and z
k represent the values of X and z in step k, respectively, and X
~
k and z
~
k represent the approximate values of X and z in Taylor series expansion. X
^
k
-
1 represents the posterior estimation value of the state variable in step k
-
1. H is called measurement matrix. W and V are Jacobian matrixes of w and v, respectively. F is the Jacobian matrix of f and represents the partial derivatives on X. Consider
(9)
W
k
=
∂
f
(
x
)
∂
w
(
X
^
k
-
1
,
u
k
-
1
,
w
k
-
1
)
,
V
k
=
∂
h
(
x
)
∂
v
(
X
~
k
,
v
k
)
,
F
(
k
)
=
∂
f
(
x
)
∂
x
|
x
=
X
^
(
k
-
1
)
.For the extended Kalman filter,F is not a constant matrix during iteration calculation since f is a nonlinear function. It is one of the main differences between conventional Kalman filter and extended Kalman filter.The initial stage of extended Kalman filter design is to model the signal and derivation of state variables of it. This is because the signal model dynamics describe a mechanism for how the process may evolve. Considering the electric measurements (voltages, currents, and frequencies) in MGs may change irregularly, or nonlinearly in most cases, Taylor series is used to nonlinear calculation. The voltage at the point of common coupling in MGs can be described approximately as follows:(10)
z
(
t
)
=
A
(
t
)
cos
⁡
(
ω
(
t
)
·
t
+
φ
)
,
where A
(
t
) and φ represent the amplitudes and initial phase.Using the cosine expansion, we can obtain the discrete expression of the following:(11)
z
(
k
T
s
)
=
A
(
k
T
s
)
cos
⁡
[
ω
(
k
T
s
)
·
(
k
-
1
+
1
)
T
s
+
φ
]
=

A
(
k
T
s
)
{
cos
⁡
[
ω
(
k
T
s
)

·

(
k
-
1
)
T
s
+
φ
]

·

cos
⁡
ω
(
k
T
s
)
VVVVVVVV
-
sin
[
ω
(
k
T
s
)
·
(
k
-
1
)
T
s
+
φ
]
VVVVVVVV
·
sin
ω
(
k
T
s
)
}
.The amplitude and frequency of voltage at the point of common coupling are changing when islanding occurs. Therefore,(12)
ω
(
k
T
s
)
=
(
1
-
ε
)
·
ω
[
(
k
-
1
)
T
s
]
,
(13)
A
(
k
T
s
)
=
α
k
-
1
·
A
[
(
k
-
1
)
T
s
]
.In (12), ε represents the rate of frequency variation. Since the frequency variation between two sampling steps is very small, 0
<
ε
≪
1. α
k
-
1 is the coefficient of amplitude variation and it can be considered as a new state variable in mathematical modeling. Accordingly, (11) can be rewritten as
(14)
z
(
k
T
s
)
=
α
k
-
1
×
A
[
(
k
-
1
)
T
s
]
×
{
cos
⁡
⁡
{
ω
[
(
k
-
1
)
T
s
]
·
(
1
-
ε
)
·
(
k
-
1
)
T
s
+
φ
}
·
cos
⁡
⁡
{
ω
[
(
k
-
1
)
T
s
]
·
(
1
-
ε
)
}
-
sin
⁡
{
ω
[
(
k
-
1
)
T
s
]
·
(
1
-
ε
)
·
(
k
-
1
)
T
s
+
φ
}
·
sin
{
ω
[
(
k
-
1
)
T
s
]
·
(
1
-
ε
)
}
}
.In this paper, four state variables are defined as in-phase signal, quadrature signal, time-varying frequency, and time-varying amplitude, which are all changing in nonlinear way as proceeded.Consider(15)
X
(
k
)
=
[
X
1
(
k
)
X
2
(
k
)
X
3
(
k
)
X
4
(
k
)
]
=
[
A
(
k
T
s
)
cos
⁡
⁡
{
ω
(
k
T
s
)
·
k
T
s
+
φ
}
A
(
k
T
s
)
sin
⁡
{
ω
(
k
T
s
)
·
k
T
s
+
φ
}
ω
(
k
T
s
)
α
k
·
A
(
k
T
s
)
]
=
[
X
4
(
k
-
1
)
·
[
cos
⁡
⁡
(
X
3
(
k
-
1
)
)
·
X
1
(
k
-
1
)
-
sin
⁡
(
X
3
(
k
-
1
)
)
·
X
2
(
k
-
1
)
]
X
4
(
k
-
1
)
·
[
sin
⁡
(
X
3
(
k
-
1
)
)
·
X
1
(
k
-
1
)
+
cos
⁡
⁡
(
X
3
(
k
-
1
)
)
·
X
2
(
k
-
1
)
]
(
1
-
ε
)
·
X
3
(
k
-
1
)
+
w
(
k
T
s
)
X
4
(
k
-
1
)
]
.Based on the relationship ofX
k and X
k
-
1, we can get the expression of nonlinear function f
(
X
k
) and the Jacobian matrix F
(
X
k
). Consequently, the detailed calculation steps are as follows.(1)
Predict the state with initials:(16)
X
^
k
-
=
f
(
X
^
k
-
1
-
,
w
k
-
1
)
.
(2)
Compute the error covariance:(17)
P
k
-
=
F
k
P
k
-
1
F
k
T
+
W
k
Q
k
-
1
W
k
T
.
(3)
Compute the Kalman gain:(18)
K
k
=
P
k
H
k
T
·
(
H
k
P
k
-
H
k
T
+
V
k
R
k
V
k
T
)
.
(4)
Update the state estimate:(19)
X
^
k
=
X
^
k
-
+
K
k
·
(
z
k
-
h
(
X
^
k
-
,
0
)
)
.
(5)
Update the error covariance:(20)
P
=
(
I
-
K
k
H
k
)
·
P
k
-


## 4. Case Studies

Compared with the other two common frequency tracking methods, adaptive discrete Fourier transforms (i.e., adaptive Fourier filter) and conventional Kalman filter, the performance of extended Kalman filter-based frequency calculation algorithm is experimentally evaluated. For the following simulation tests, the fundamental frequency and amplitude are assumed to be 50 Hz and 1p.u., respectively. The sampling frequency is set to be 1200 Hz, which is the conventional choice for protective relays.Firstly, the observed signal is a voltage waveform with time-varying frequency; that is,u
(
t
)
=
sin
(
ω
(
t
)
*
t
+
φ
). The angular frequency ω
(
t
) changes from 50 Hz down to 48 Hz and then climbs to 51 Hz linearly. The actual voltage is shown in Figure 3.Figure 3
Voltage of observed signal with varying frequency.Accordingly, frequency tracking performance of different algorithms is shown in Figure4.Frequency tracking performance. (a) Frequency tracking comparison among different algorithms; (b) measured frequencies in stage 1; (c) measured frequencies in stage 2; (d) measured frequencies in stage 3.
(a)
(b)
(c)
(d)To explain clearly, the test can be divided into three stages.(
1) Stage 1 (2 Hz step-down change in frequency). The frequency of the signal is suddenly decreased from 50 Hz to 48 Hz. The results reveal that the tracking time of extended Kalman filter is about 10 ms, while the other two algorithms use almost 50 ms. Extended Kalman filter is 4 times faster than the others in frequency tracking.(
2) Stage 2 (tracking the ramp). The proposed extended Kalman filter-based algorithm has the less responding time in tracking frequency variation. As shown in Figure 4, extended Kalman filter and conventional Kalman filter both have good performance in tracking ramping frequency. Their tracking times in this case are 20 ms shorter than adaptive Fourier filter’s.(
3) Stage 3(back to 51 Hz). Extended Kalman filter-based algorithm provides frequency estimation result with high accuracy and velocity. Still, extended Kalman filter and conventional Kalman filter are better than adaptive Fourier filter and extended Kalman algorithm has the best stability compared with these three methods.For the tracking time of ramp-changed frequency, extended Kalman filter and conventional Kalman filter are almost the same. However, extended Kalman filter is more stable and has less fluctuation than the conventional one. Besides, as the frequency changes sharply, the proposed method has clear superiority in tracking speed. In sum, it is confirmed that the proposed extended Kalman filter-based algorithm has excellent responding performance for signals with time-varying frequencies.In addition, it is necessary to study the response of the extended Kalman filter and the other two algorithms in the presence of noise. Random noise is injected to the observed signal to test the stability of the algorithms. Generally, the signal-to-noise ratio, often written as SNR, is the measure of signal strength relative to background noise:(21)
SNR
=
20
lg
(
V
S
V
N
)
.In (21), V
S is the observed signal strength in volts and V
N is the noise level also in volts. The ratio is measured in decibels (dB).Obviously, the observed signal is more unreadable with the larger noise. Even a little noise can cause a big error in frequency tracking. This is because such comprehensive signal is no longer ideal sine or cosine wave for noise added to pure wave. Based on the observed signalu
(
t
) shown in Figure 3, random noise v
(
t
) was added in u
(
t
) to form signal z
(
t
), in which SNR is set to be 40 dB, as shown in Figures 5(a) and 5(b).Observed signal with noise and time-varying frequency. (a) Noise signal; (b) the observed signal with time-varying frequency and random noise.
(a)
(b)For the signalz
(
t
) with time-varying frequency and noise, it is hard to estimate frequency correctly. Figure 6 shows the estimated frequencies by Kalman filter, adaptive Fourier filter, and extended Kalman filter-based algorithms.Figure 6
Frequency tracking performance for the signal with noise and time-varying frequency.Since the linear characteristics of local signal were deteriorated by adding noise, conventional Kalman filter was influenced significantly. Apparently, the proposed algorithm based on extended Kalman filter and the algorithm based on adaptive Fourier filter achieved better performance in antinoise ability. For comparison, the measured frequency variances are 0.187 for adaptive Fourier filter-based algorithm and 0.151 for extended Kalman filter-based algorithm, respectively. Therefore, the proposed algorithm is more effective for frequency tracking under the conditions of islanding operation with time-varying frequency, noise, and so forth.As shown in Figure4, the proposed algorithm achieves best tracking performance for the input signal without noise. Adaptive Fourier algorithm has the worst frequency tracking character in this case. Figure 6 demonstrates that when there exists noise, adaptive Fourier filter obtains better antinoise ability than conventional Kalman filter. The proposed algorithm still achieves the best antinoise ability. These results show that (
1
) adaptive Fourier filter has a better antinoise performance but has the poorest frequency tracking ability, (
2
) conventional Kalman filter has a better frequency tracking performance but has the poorest antinoise ability, and (
3
) the proposed algorithm based on extended Kalman filter has the best performance in both frequency tracking and antinoise.Generally speaking, the most commonly used method in islanding detection of MGs is both over/undervoltage relay and over/underfrequency relay (or ROCOF). Over/undervoltage relay mainly works when there is an active power imbalance, while over/underfrequency is more effective when there is a reactive power imbalance. Thus, frequency tracking ability of the proposed algorithm can be tested in a designed islanding simulation model.By using MATLAB/SIMULINK, the model of distribution network with MGs is built to simulate various parallel and islanding operation conditions. As shown in Figure7, the distribution network contains several DGs and energy storage components, transmission line, and load. The parameters of distribution network are listed in Figure 7. To verify the good performance of extended Kalman filter, different topologies of MGs have been formed to build a variety of operation conditions. In this paper, three typical islanding conditions are discussed as follows.Figure 7
Simulation model of distribution network with MGs.Case  1 (islanding operation with imbalanced power (both active and reactive)). The circuit breaker CB opens and the MG is in islanding operation. According to the output of DGs and amounts of power loads, there is an obvious imbalance between the generations and loads in the islanding MG. Based on (1) and (2), the frequency of MG-1 should have a sudden change consequently when the island happens. By applying these three algorithms in frequency tracking, results are shown in Figure 8.Figure 8
Frequency shift when islanding occurs with imbalanced power.As shown in Figure8, when there are obvious imbalance between powers and loads in the MG, the frequency raised from fundamental frequency to 60 HZ gradually. Obviously, in the process of the frequency growth, the stability of extended Kalman Filter-based algorithm is much better than the other two algorithms. In such cases, islanding with imbalanced power can be easily detected by over/underfrequency relay. The proposed frequency estimation algorithm can be embedded to improve calculation accuracy and stability with less fluctuation.The measurements of frequency changing rate(
d
f
/
d
t
) and frequency variance are shown in Figures 9 and 10.Figure 9
Change rate of the frequency when islanding occurs with imbalanced power.Figure 10
Frequency variance when islanding occurs with imbalanced power.As shown in Figure9, there is a sudden change for all the three algorithms at about 0.3 s (exact islanding time) in the simulation. This sudden change can also be used to exam whether there is an islanding or not. After 0.3 s, d
f
/
d
t is supposed to gradually change to zero and then stabilize. This is because there is no more power imbalance except for some small disturbance to cause frequency change. As for adaptive Fourier filter, d
f
/
d
t remains obviously to fluctuate after 0.05 s of islanding process. d
f
/
d
t fluctuates cyclically in conventional Kalman filter. Extended Kalman filter is found to be stable after islanding process, unlike earlier approaches.Figure10 shows the change tendency of frequency covariance when islanding occurs with imbalanced power. Frequency covariance reflects the difference between average value and sample value. In theory, frequency covariance should increase when there is an island and then decrease to zero gradually as the frequency stabilizes. It is obvious in Figure 10 that extended Kalman filter is the most stable one with the least fluctuation.Simulation results show that extended Kalman filter not only can detect frequency changes effectively but also has less fluctuation after islanding process.Case  2 (islanding operation with balanced power). In islanding detection, protection relay should act quickly when an island happens, regardless of whether the powers of DGs and local loads are matched or not.In case 2, switch S-1 is disconnected; network load 1 is out of power consequently. The total numbers of generations are equal to the sum of loads for both active and reactive powers. The circuit breaker CB opens to form an MG at 0.3 s. In theory, the voltage and frequency of the MG will change a little. The measured voltage and frequency are shown in Figures11 and 12.Figure 11
Measured voltage of islanding MG when islanding occurs with balanced power.Figure 12
Frequency shift when islanding occurs with balanced power.As shown in Figures11 and 12, the measured voltage changes a little right after 0.3 s; the frequency also changes to approximately 49.5 HZ in the islanding process. It is also seen from the simulations that extended Kalman filter changes the fastest with the least fluctuations compared with the other two algorithms.Figure13 shows the performance of the three algorithms for detecting d
f
/
d
t in the MG and it is observed from the figure that d
f
/
d
t detected by conventional Kalman filter becomes divergent after islanding, while the other two algorithms can detect the small changes when islanding happens with balanced power. For extended Kalman filter, the tracking time is 0.01 s (approximately) less than adaptive Fourier filter. The variance of the three algorithms is shown in Figure 14.Figure 13
Change rate of the frequency when islanding occurs with balanced power.Figure 14
Frequency variance when islanding occurs with imbalanced power.Case  3 (islanding operation with only imbalanced active power). In case 3, DG-1 is changed to 3 kW and the switch S-1 is kept disconnected. Consequently, there is only a 3 kW shortage of active power in the MG when islanding happens. In theory, voltage of PCC should change a lot but frequency would change a little because frequency shift in MG is mainly influenced by reactive power shortage. Figures 15, 16, and 17 show estimation values of frequency, d
f
/
d
t, and variance of frequency, respectively. Obviously, simulation results verify that the estimated frequency by using the proposed algorithm is more stable than those of the other two algorithms when islanding occurs.Figure 15
Frequency shift when islanding occurs with active power imbalance only.Figure 16
Change rate of the frequency when islanding occurs with active power imbalance only.Figure 17
Frequency variance when islanding occurs with active power imbalance only.


## 5. Conclusion

This paper presents an extended Kalman filter for the frequency estimation to detect islanding in MGs. The mathematical model of nonlinear system is developed using analytical equations. In order to solve the nonlinear problem, Taylor series are used to linearize state equations, which is the main point of solving the nonlinear problem compared with other algorithms. To show the performance of extended Kalman filter, several tests have been applied. The simulation results show that extended Kalman filter not only has the fastest tracking speed compared with conventional Kalman filter and adaptive Fourier filter in test 1 but also has the best interference immunity in the presence of random noise in test 2. It can stand 40 dB or more noise without much distortion. By using extended Kalman filter, the islanding detection based on frequency is improved significantly in reliability and stability.



---

*Source: 186360-2014-05-18.xml*