Professional Documents
Culture Documents
Abstract— This paper presents a phasor estimation algorithm, difference between the outputs of the FCDFT for odd-sample-
which combines a modified sine filter with an adaptive mimic set and even-sample-set.
filter. The modified sine filter uses the recent and the previous Another alternative to suppress the decaying DC component
data window to estimate the phasor. The key idea of the
adaptive mimic filter is to readjust the parameters of the mimic on phasor estimation named cosine filter was reported in [2],
filter to completely filter out the decaying dc component from which uses the orthogonality between the present and the
faulted signals. The performance of the proposed algorithm was quarter-cycle earlier outputs of the full cycle cosine filter.
compared to those of other algorithms reported in the literature However, it delays the response time by a quarter of a cycle.
on the subject. Using a wide variety of EMTP-simulated data a
In [6], the decaying dc component is removed using a digital
statistical analysis algorithms performances was carried out. The
obtained results indicate the proposed algorithm is less sensitive mimic filter. The filter parameters are tuned to a particular
to decaying dc and high frequencies components which may time constant and in the case in which it is equal to the actual
appear following any disturbance in an electrical power system. time constant of the signal, the mimic filter achieves the best
performance. Otherwise, the larger the mismatch, the worse is
Keywords— Phasor estimation, decaying DC component, digital the performance of the digital mimic filter.
mimic filter. In [7], the least error square (LES) algorithm is used
to estimate the phasor at the fundamental frequency. The
decaying dc component is modeled taken into account the first
I. I NTRODUCTION
two terms of the Taylor series expansion. The LES algorithm
1.2
From trigonometric relationships
Cosine filter Hc
1.0 N
Sine filter Hs X
cos [(k − N + r) δ] sin (rδ) = 0
0.8
r=1
N
Gain
0.6
X N
sin [(k − N + r) δ] sin (rδ) =
r=1
2
0.4
resulting the imaginary part of the phasor X(k)
b is
0.2
Xim (k) = A1 sin ϕ1 . (5)
0
0 1 2 3 4 5 6 7 8
Harmonic order b − 1) can be
The imaginary part of the previous phasor X(k
computed as
Fig. 1. Frequency response of the FCDFT filters.
N
2 X
Xim (k − 1) = − x(k − N + r − 1) sin (rδ) , (6)
N r=1
algorithm arises: to combine a modified sine filter with an
efficient strategy to filter out the decaying dc component, and by substituting (1) in (6)
leading to a phasor estimation less sensitive to off-nominal, N
high-frequency and decaying dc components. The proposed −2 X
Xim (k−1) = A1 cos [(k − N + r − 1) δ + ϕ1 ] sin (rδ)
algorithm is thoroughly discussed next. N r=1
(7)
which can be written as
A. Modified Sine Filter
Xim (k − 1) =
Consider a discrete signal x(k) described as follows N
2 X
N/2 − A1 cos [(k − N + r) δ] cos (ϕ1 − δ) sin (rδ)
k
X N r=1
x(k) = A0 Γ + An cos (nkδ + ϕn ) (1)
n=1 N
2 X
+ A1 sin [(k − N + r) δ] sin (ϕ1 − δ) sin (rδ)
where An and ϕn are the amplitude and the phase of the N r=1
n-th harmonic component, respectively; Γ = e−4t/τ is the (8)
exponential term; A0 and τ are the amplitude and the decaying Once again, from trigonometric relationships one can verify
time constant of the dc component; 4t is the sampling
interval; δ = 2π/N and N is the number of samples within Xim (k − 1) = A1 sin (ϕ1 − δ)
fundamental frequency cycle. = A1 sin ϕ1 cos δ − A1 cos ϕ1 sin δ (9)
In order to present the modified sine filter fundamental, = Xim (k) cos δ − Xre (k) sin δ
the decaying dc component of x(k) is disregarded. Thus,the
then, the real part of the phasor X(k)
b can be computed as
imaginary part of the phasor X(k) b can be computed by
applying the full cycle sine filter to x(k) [1] Xim (k) cos δ − Xim (k − 1)
Xre (k) = . (10)
N sin δ
2 X
Xim (k) = − x(k − N + r) sin (rδ) . (2) Finally, the phasor X(k) is obtained using (5) and (10)
N
b
r=1
Substituting (1) in (2), one can verify that only the fun- X(k)
b = Xre (k) + jXim (k). (11)
damental frequency component remains, since the full cycle
sine filter has zero gain at all harmonic components and the B. On Combining the Digital Mimic Filter with the Modified
decaying dc component was disregarded, thus Sine Filter
N
2 X According to the digital mimic filter principle, the fun-
Xim (k) = − A1 cos [(k − N + r) δ + ϕ1 ] sin (rδ) damental phasor Yb (k) can be obtained without the harmful
N r=1
(3) effects of the decaying dc component as (see Appendix I)
which can be written as Yb (k) = aX(k)
b b − 1) ,
+ bX(k (12)
N
2 X b − 1) are the phasors estimated at the
Xim (k) = − A1 cos [(k − N + r) δ] cos ϕ1 sin (rδ) where X(k)
b and X(k
N r=1 time instants k and k − 1, respectively, and
N
2 X a = K (1 + τd ) (13)
+ A1 sin [(k − N + r) δ] sin ϕ1 sin (rδ)
N r=1
(4) b = −Kτd (14)
3
with τd and K representing the time constant and the gain of the mimic filter parameters τd and K . In order to estimate τ ,
the mimic filter. The gain K must be one at the fundamental firstly the exponential term Γ is estimated.
frequency Consider a discrete signal x(k) of the form described by (1)
s with the decaying dc component. Thus, the following partial
1
K= sum terms can be defined [4]:
2 2 . (15)
[(1 + τd ) − τd cos δ] + (τd sin δ)
N/2
X
From (12), the real and imaginary parts of the phasor Yb (k) P S1 = x (2k − 1) (24)
can be computed as follows k=1
C. The Adaptive Scheme to Readjust the Digital Mimic Filter τd = round (τ /4t) , (30)
Parameters
As aforementioned, in the case in which the digital mimic where the operator round(·) rounds a float point number to
filter parameters are tuned to the actual time constant of the nearest integers. Then, the gain of the mimic filter for the
the signal, the mimic filter achieves the best performance on fundamental frequency is readjusted using (15). Finally, the
decaying dc component removal. Thus, the key idea here is new values of the variables a and b are computed using (13)
to estimate the decaying time constant τ of the dc component and (14), thereby the coefficients of the matrix M described
that arises in fault signals and use this estimation to readjust by (21) are readjusted.
4
Γ and the decaying time constant τ of the signal x(k) are Transmission Line Source S1 Source S2
180 km ^ o ^ o
obtained using (28) and (29), thereby the digital mimic filter ZL,0 = 0.532+j1.541 W/km
V1 = 1.02Ð0 pu V1 = 0.98Ð20 pu
parameters are readjusted. The time constant τd and the gain YL,0 = j2.293 /km
W Z0 = 1.014+j18.754 W Z0 = 1.127+j20.838 W
Z1 = 0.871+j25.661 W Z1 = 0.968+j28.513 W
K are recalculated using (30) and (15). Then, the parameters ZL,1 = 0.098+ j0.510 W/km
W
a and b are readjusted using (13) and (14). The phasor Yb (k) YL,1 = j3.252 /km
is computed using (20) without the harmful effects of the
decaying dc component, but its phase angle needs to be Fig. 3. Single line diagram of the power system for testing.
corrected to remove the phase angle displacement caused by
the mimic filter using (22) and (23), resulting the fundamental
phasor Yb ∗ (k). 870
Proposed Algorithm LES Algorithm
860
Modified FCDFT Cosine Filter
850
Get new Estimate ¡ using (29) and
840
sample of x(k) calculate ¿ using (30)
830
820
135 150 165 180 195 210 225 240
Apply the sine filter to the Readjust ¿d and K
(a)
samples of x(k) using (2) using (31) and (15) Amplitude (A) 900
895
805
Obtain the fundamental
^
frequency phasor Y *(k) 800
795 Proposed Algorithm LES Algorithm
Modified FCDFT Cosine Filter
Fig. 2. Flowchart of the proposed phasor estimation algorithm. 790
135 150 165 180 195 210 225 240
Time (ms)
(c)
III. P ERFORMANCE E VALUATION Fig. 4. Fundamental phasor amplitude: (a) phase C current for an BC fault
(40 km far away from bus 1, with incidence angle of 600 and fault resistance
The performance of the proposed algorithm was compared of 10 Ω); (b) phase A current for an ACG fault (90 km far away from bus
to those of the simplified algorithm 1 reported in [4] (here 1, with incidence angle of 300 and fault resistance of 30 Ω); (c) phase B
current for an BCG fault (140 km far away from bus 1, with incidence angle
named as modified FCDFT), the LES algorithm [7] and the of 900 and fault resistance of 30 Ω).
cosine filter algorithm [2]. The obtained results are discussed
next. on decaying dc component removal. The sources and compo-
The time responses analysis of phasor estimation algorithms nents subscripts “0” and “1” correspond to zero sequence and
is important to verify their performances during the transient positive sequence values, respectively. There are two 230 kV
interval in which data windows contains both pre-fault and ideal sources S1 and S2 and one transmission line 180 km
fault samples. Thus, some important characteristics to digital long. The current transformer (CT) shown in the figure was
relaying are pointed out, such as its speed and accuracy. also included in ATP simulations. Its model and parameters are
To evaluate time response ATP simulated data were used. those reported by the IEEE Power System Relay Committee
The simulations was carried out using a sampling rate of in [8]. Here, the tap is chosen in such way that CT core never
160 samples per cycle. The output signal was preprocessed saturates for any evaluated fault current.
using a third order Butterworth low-pass filter with cutoff In Figs. 4 the fundamental phasor amplitude for two dif-
frequency at 180 Hz. Then, the output signal was resampled at ferent faults simulated in ATP are shown. In Fig. 4(a), it is
16 samples per cycle. Resampled signals were used to evaluate shown the amplitude of the phase C current for a phase-to-
the performance of the phasor estimation algorithms. phase fault between phases B and C (40 km far away from bus
The basic power system model shown in Fig. 3 was taken 1, with incidence angle of 600 and fault resistance of 10 Ω).
into account to generate fault data using ATP (Alternative In Fig. 4(b) is shown the amplitude of the phase A current for
Transients Program) to test the performance of the algorithms a phase-to-phase to ground fault between phases A and C (90
5
TABLE I 0.24
Proposed Algorithm
S IMULATION VARIABLES USED TO SIMULATE FAULTS . 0.21 Modified FCDFT
Simulation variables Chosen Values LES Algorithm
0.18 Cosine Filter
Fault location (km) 10, 20, 30, . . ., 150,160 and 170
Overshoot (%)
0.15
Phase-Phase: 1, 5 and 10
Fault resistance (Ω) 0.12
Phase-Ground: 10, 20 and 30
0.09
Incidence angle (◦ ) 30, 60 and 90
Source impedance Source S: 10, 100 and 1000 0.06
(% of the nominal values) Source R: 10, 100 and 1000
0.03
AG-BG-CG-AB-AC-BC
Fault type 0
ABG-ACG-BCG-ABC 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170
Fault Location (km)
(a)
12
Proposed Algorithm
11 Modified FCDFT
km far away from bus 1, with incidence angle of 300 and fault
LES Algorithm
resistance of 30 Ω). In Fig. 4(c) is shown the amplitude of the 10 Cosine Filter
phase B current for a phase-to-phase to ground fault between
Overshoot (%)
9
phases B and C (140 km far away from bus 1, with incidence
8
angle of 900 and fault resistance of 30 Ω). One can see that
the proposed algorithm leads to the smallest overshoot. 7
obtained for each fault location. These results are plotted in 0.75
Figs. 5. The proposed algorithm worst performance was 6,9% 0.50
at 10 km, but even so its maximum overshoot was smaller than 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170
Fault Location (km)
those of other algorithms for the remaining fault locations. (c)
The average overshoot profile of the proposed algorithm is
Fig. 5. (a) Minimum, (b) maximum and (c) average overshoot in current
almost flat at 0,75%, leading to the best performance among phasor amplitude estimation for each fault location.
the evaluated algorithms. The modified FCDFT presents the
second best performance, followed by the LES algorithm and 100
the cosine filter algorithm, respectively. 90
IV. C ONCLUSIONS The phasor Yb (k) of the discrete signal y(k) can be esti-
This paper presents a phasor estimation algorithm. Its key mated by applying a phasor estimation algorithm to (A.4), in
idea is combine a modified sine filter with an efficient strategy such way that
h i
to filter out the decaying dc component. The modified sine Yb (k) = K (1 + τd ) X(k)
b − τd X(k
b − 1) , (A.6)
filter uses the recent and previous data window to estimate the
phasor. The digital mimic parameters are adaptively readjusted where X(k)
b is the phasor of x(k).
in order to completely filter out the decaying dc component
from faulted signals. As a result, the phasor estimation is R EFERENCES
less sensitive to off-nominal, high-frequency and decaying dc
[1] A. G. Phadke and J. S. Thorp, Computer Relaying for Power Systems,
components. 2nd ed. West Sussex, UK: John Wiley & Sons Inc, 2009.
The performance of the proposed algorithm was compared [2] E. O. Schweitzer and D. Hou, “Filtering for protective relays,” Schweitzer
with those of other algorithms reported in the literature on Engineering Laboratories, Pullman, USA, Tech. Rep., 1993.
[3] J.-C. Gu and S.-L. Yu, “Removal of dc offset in current and voltage
the subject. A wide variety of ATP-simulated data was also signals using a novel fourier filter algorithm,” IEEE Transactions on
used to analyze the performance of the algorithms. A statistical Power Delivery, vol. 15, no. 1, pp. 73–79, Jan. 2000.
analysis was carried out. The obtained results indicate that the [4] Y. Guo, M. Kezunovic, and D. Chen, “Simplified algorithms for removal
of the effect of exponentially decaying dc-offset on the fourier algorithm,”
proposed algorithm leads to the smallest overshoots for most IEEE Transactions on Power Delivery, vol. 18, no. 3, pp. 711–717, Jul
cases. 2003.
In accordance with the results discussed in this paper, the [5] S.-H. Kang, D.-G. Lee, S.-R. Nam, P. A. Crossley, and Y.-C. Kang,
“Fourier transform-based modified phasor estimation method immune
proposed algorithm shows great promise to be used in power to the effect of the dc offsets,” IEEE Transactions on Power Delivery,
system protection applications. vol. 24, no. 3, pp. 1104–1111, Jul 2009.
[6] G. Benmouyal, “Removal of dc-offset in current waveforms using digital
mimic filtering,” IEEE Transactions on Power Delivery, vol. 10, no. 2,
A PPENDIX I pp. 621–630, Apr 1995.
T HE T RADITIONAL D IGITAL M IMIC C IRCUIT [7] M. S. Sachdev and M. A. Baribeu, “A new algortihm for digital impedance
relays,” IEEE Transactions on Power Apparatus and Systems, vol. PAS-
According to the mimic circuit principle, if an exponentially 98, no. 6, pp. 2232–2240, Nov. 1979.
[8] EMTP Reference Models for Transmission Line Relay Testing, IEEE
decaying dc current has to pass through a mimic circuit Power System Relaying Committee, 2004.
consisting of an impedance of the form
K (1 + sτ ) , (A.1)
Kleber M. Silva (M’05) received his B.Sc., M.Sc.
the voltage across the impedance will be only a dc constant, and Ph.D. degrees in Electrical Engineering from
if τ is equal to the decaying time constant of the current Federal University of Campina Grande (UFCG),
Brazil, in 2004, 2005 and 2009, respectively. He is
waveform. The digital version of this equation is known as currently a professor at the Department of Electrical
the digital mimic filter equation [6] Engineering at the University of Brası́lia (UnB),
Brazil. His research interested are manly focused in
K (1 + τd ) − τd z −1 ,
(A.2) power system protection, power quality and electro-
magnetic transients.
where τd is expressed in number of samples.
Consider a discrete signal x(k) computed as
N/2
k
X Bernard F. Küsel is an undergraduate student of
x(k) = A0 Γ + An cos (nkδ + ϕn ) (A.3) Electrical Engineering at the University of Brası́lia
n=1 (UnB), Brazil. His research interested are manly
focused in power system protection and electromag-
−4t/τ
where Γ = e is the exponential term; A0 and τ are the netic transients.
amplitude and the time constant of the decaying dc component;
N the number of samples per fundamental frequency cycle;
4t is the sampling interval; and δ = 2π/N .
Applying the digital mimic filter to x(k)