You are on page 1of 6

1

Real-Time Detection of Voltage Sags Based on


Wavelet Transform
F. B. Costa∗† , Member, IEEE, B. A. Souza∗ , Senior Member, IEEE and N. S. D. Brito∗

Abstract—This paper presents a wavelet-based method for II. T RANSMISSION L INE FAULTS AND VOLTAGE S AGS
real-time detection of voltage sags in transmission lines. The
wavelet coefficient energies of the phase voltages and currents are
In order to evaluate the features of faults and voltage sags
used for real-time detection of the transients at both beginning due to faults, the system model depicted in Fig. 1 was modeled
and end times of voltage sags. On the other hand, the voltage by using the RTDS. This system is based on the model
sags are identified in real-time by means of the approximation proposed by [14], composed by various components: lines,
coefficient energy analysis. The voltage sag diagnosis method was transformers, sources, etc. The transmission lines consist of
evaluated by using the Real Time Digital Simulation (RTDS).
one pair of mutually coupled lines (between buses 1 and 2).
Index Terms—Voltage sag detection, real-time analysis, wavelet A third line connects buses 2 and 3. Each 230 kV transmission
transform. line is 45 miles long.

I. I NTRODUCTION
Voltage sags are related power quality problems. They are
usually the result of faults in the power system and switching
actions to isolate the faulted sections. Voltage sags are defined
by a short duration reduction in RMS (root mean square)
voltage [1]. However, the magnitude and duration do not
completely characterize the voltage sags. According to [2],
Fig. 1. Power system model.
transients in both voltages and currents are another fundamen-
tal concern for voltage sag characterization in transmission
lines. According to Fig. 1, digital fault recorders were inserted to
The transients in voltage sags can be detected by means of monitor lines 1 and 2 (DFR1 and DFR2). In this way, a fault
the discrete wavelet transform (DWT), which is a powerful simulated on line 1 could be recorded by both monitoring
tool useful to analyze non-stationary signals. The well-known devices (Figs. 2 and 3).
application of the DWT is to detect and locate power system
transients [2]. Much research has been focused on wavelet- A. Faults on Overhead Transmission Lines
based techniques applied on analyzing power system transients
[3], [4], detecting and classifying power quality disturbances Faults upon overhead transmission lines are usually char-
[5], [6], [7], [8] and faults [9], [10], [11]. The beginning and acterized by transients soon after both fault inception and
end times of voltage sags and faults were also detected by clearance as a consequence of travelling waves [15], [16].
means of the wavelet transform analysis [12], [13]. In addition, Voltage and current waveform characteristics before, during,
the wavelet transform can be used for real-time transient and after a fault may be significantly different. In this way,
detection in electrical power systems [22], [18]. these waveforms should be divided into three intervals:
The aim of this paper is to introduce the wavelet coefficient 1) Pre-fault time: corresponds to steady-state operation of
energy as a fast and very efficient tool for real-time detection the power system.
of the transients at both beginning and end times of voltage 2) Fault-clearing time: contains voltage and current sam-
sags in electrical power system. After the detection of the ples under fault situation. Voltage sags and increased
beginning time, the voltage sags are identified in real-time by currents can often occur at faulted signals according to
means of the approximation coefficient energy analysis. The fault and system parameters [17].
performance of the proposed voltage sag diagnosis method was 3) Post-fault time: corresponds to the circuit breaker oper-
evaluated by using the Real Time Digital Simulation (RTDS) ating to de-energize the line.
and good results were obtained. Fig. 2 depicts the oscillographic record with a simulated
single line-to-ground (SLG) fault obtained by the DFR1. It is
This work was supported by Brazilian National Research Council (CNPq). well-known that the fault is transient in nature, as follows:
† The author is with Federal University of Rio Grande do Norte - School
of Science and Technology, Campus Univesitário Lagoa Nova, Natal - RN, • The voltages and currents soon after fault inception are
CEP:59.078-970, Brazil. E-mail: flaviocosta@ect.ufrn.br. usually composed by fault-induced transients according
∗ The authors are with Department of Electrical Engineering at Fed-
to the fault location, resistance, and inception angle [15].
eral University of Campina Grande, 882 Aprı́gio Veloso Av, Bodocongó,
Campina Grande - PB, CEP:58.109-970, Brazil. E-mail: {flabc, benemar, • Circuit-breaker switching to clear the fault produces also
nubia}@ee.ufcg.edu.br. transients in voltages and currents [18].
2

Fig. 2. Oscillographic record with a simulated SLG fault: (a) voltages; (b) currents.

Fig. 3. Oscillographic record with a voltage sag due to a SLG fault in a parallel line: (a) voltages; (b) currents.

According to [19], [18], the fault inception and clearance and currents at fault inception and clearance times can become
time can be easily identified through the transients in both another fundamental concern for voltage sag characterization
voltage and current waveforms. In this paper, the transients in transmission lines [2]. In this paper, the beginning and end
in both voltages and currents are used in order to detect the times of the voltage sags are identified in real-time through
beginning and end times of the disturbance in real-time. the transient analysis in both voltages and currents. On the
In a fault, the magnitude of the faulted phase voltages drops other hand, the voltage sag is confirmed in real-time through
during the fault-clearing time, similar in cause and magnitude the analysis of the voltage magnitudes.
to a voltage sag. The decreasing in voltage depends of the fault
parameters, such as fault location, resistance, and inception III. R EAL -T IME D ISCRETE WAVELET T RANSFORM
angle. With regard to healthy phases, sometimes the voltages The wavelet transform is a well-known powerful tool to
increase softly. In this paper, the decreasing in one of the phase analyze a signal within different frequency ranges, by dilating
voltages during a fault (phase A voltage in Fig. 2(a)) is used and translating a single function named mother wavelet [20].
for real-time confirmation of a voltage sag in a transmission Besides the discrete wavelet transform (DWT), the maximal
line with fault. overlap discrete wavelet transform (MODWT) uses also low-
and high-pass filters (scale and wavelet filters) to divide
B. Voltage Sags on Overhead Transmission Lines the frequency-band of the input signal into low- and high-
Voltage sags are short duration reductions in RMS voltage, frequency components (approximation and wavelet coeffi-
caused by faults, overloads, and starting large motors [17]. cients). This operation may be repeated recursively, feeding
Faults are the main causes of voltage sags in transmission the low-pass filter output into another identical filter pair,
lines and only sags due to faults will be dealt with in this decomposing the signal into approximation (a) and wavelet
paper. (w) coefficients at various scales. However, in contrast to
The voltage sag depicted in Fig. 3 is due to the fault shown the DWT, there is no down-sampling in MODWT (time-
in Fig. 2. Both the fault and voltage sag were gathered at invariant transformation) [21]. In this way, the transients in
the same time in transmission lines connected in the same faults and voltage sags can be faster detected by means of
bus. According to Fig. 3, the voltage magnitude in phase C the MODWT [22]. In this paper, both the approximation and
dropped and the related current increased in values during the wavelet coefficients are computed through the MODWT.
fault-clearing time, such as the fault shown in Fig. 2. However, The coefficients of the scale (g) and wavelet (h) filters are
unless the fault, the voltage comes back to steady-state and the associated with the selected mother wavelet. According to [2],
current recovers to a new steady-state operation after the fault [18], the wavelet Daubechies 4 (db4) provides an accurate
clearance. detection of the fast transients in power systems. In this case,
The magnitude and duration are the main characteristics both g and h have only four coefficients (L=4) which provide a
of a voltage sag [17]. However, these parameters do not fast computation of the approximation and wavelet coefficients
completely characterize the sag. The transients in both voltages [22], ideal for real-time applications.
3

The real-time wavelet coefficients at the first scale are Fig. 4 depicts the flowchart of the procedure for real-time
computed as follows [18], [22] computation of both the wavelet and approximation coefficient
L energies of a signal, by using the MODWT with db4 wavelet.
X
w(k) = h(l)x(k + l − L), (1)
l=1

since ∃{x(k-L+1),...,x(k-1),x(k)}.
In the same way, the approximation coefficients at the first
scale are computed as follows
L
X
a(k) = g(l)x(k + l − L), (2)
l=1

since ∃{x(k-L+1),...,x(k-1),x(k)}.
According to the Parseval theorem, the energy of a signal Fig. 4. Flowchart of the real-time computation of the wavelet and approxi-
can be decomposed in terms of the energy of the wavelet mation coefficient energies.
coefficients at scales j={1, 2, ..., J} and the energy of the
approximation coefficients at the scale J [21], as follows
According to Fig. 4, in each simulation time step:
kt
X kt
X kt
J X
X
|x(k)|2 = |aJ (k)|2 + |wj (k)|2 , (3) 1) The last four samples of the original signal are stored in
k=1 k=1 j=1 k=1
a buffer. For instance, at sample k, x(k − 4) is discarded
Pkt Pkt and {x(k), x(k − 1), x(k − 2), and x(k − 3)} remain in
2 2
where k=1 |x(k)| : energy of the signal; k=1 |aJ (k)| : the buffer.
approximation coefficient energy at the scale J; and
P 2) The samples {k, k-1, k-2, and k-3} of x are used
kt 2
k=1 |wj (k)| : wavelet coefficient energy at the scale j. in order to compute the wavelet and approximation
As a consequence of the Nyquist theorem, a discrete signal coefficients regarding the sample k. The wavelet and
with sampling rate of fs has frequency components limited approximation coefficients w(k) and a(k) are stored in
from 0 to fs /2. In addition, the process to computer the the respective buffer with the last ∆k-1 coefficients.
approximation and wavelet coefficients divides the frequency 3) The wavelet and approximation coefficient energies E(k)
spectrum of the original signal into octave bands [20]. There- and Ë(k) are computed considering the last wavelet and
fore, the frequency spectrum of the approximation and wavelet approximation coefficients in one cycle. E(k) and Ë(k)
coefficients at the first scale falls into the range [0, fs /4] are also stored in buffers with the last ∆k-1 energies.
(smallest frequency components) and [fs /4, fs /2] (highest This procedure is used for real-time computation of wavelet
frequency components), respectively. In this way, the wavelet and approximation coefficient energies of each phase voltage
coefficient energies at the first scale are well-suitable to detect and current (vA , vB , vC , iA , iB , and iC ) in a specific power
and locate in time the highest frequency components of the system point. All voltage and current samples and the related
transients in faults and voltage sags. On the other hand, the wavelet and approximation coefficients are computed in each
approximation coefficient energies are well-suitable for voltage 50 µs by using the RTDS (sampling frequency of 20 kHz).
sag confirmation [18].
The wavelet coefficient energy (E) of a signal (voltage or IV. R EAL -T IME VOLTAGE S AG D ETECTION
current), at the first scale, can be computed in real-time as Figs. 5 and 6 depict the wavelet coefficient energies (EvA ,
follows EvB , EvC , EiA , EiB , and EiC ), computed in real-time, of
Xk
E(k) = w2 (n), (4) the phase voltages and currents shown in Figs. 2 and 3,
n=k−∆k+1
respectively. These energy waveforms can be used for real-
time transient detection of faults and voltage sags [18].
where w are the last wavelet coefficients at the first scale of the
The energy values regarding the steady-state system opera-
signal; ∆k=fs /f is the coefficient amount equivalent to one
tion are almost constant. However, a fast-rising energy occurs
cycle of the fundamental power frequency (f ); and ∃{w(k −
at least in one energy waveform in each transient inception
∆k + 1), w(k − ∆k + 2), ..., w(k)}.
time1 (beginning and end times of the fault or voltage sag).
In the same way, the approximation coefficient energy (Ë) of This parameter is used by the proposed method for real-time
a signal (voltage or current), at the first scale, can be computed detection of the transients in faults and voltage sags.
in real-time as follows A fast-rising energy may not happen instantaneously, mainly
k
X in damped transients. In this way, at a specific energy sample
Ë(k) = a2 (n), (5) k of a generic energy waveform E, a fast-rising energy is
n=k−∆k+1
1 PS: the energy waveforms are plotted in logarithm scale. In this way, it
where a are the last approximation coefficients at the first scale is possible to see that the energy values present a hard increasing at each
of the signal and ∃{a(k − ∆k + 1), a(k − ∆k + 2), ..., a(k)}. transient inception.
4

Fig. 5. Wavelet coefficient energies at the first scale of the SLG fault: (a) voltages; (b) currents.

Fig. 6. Wavelet coefficient energies at the first scale of the voltage sag: (a) voltages; (b) currents.

identified by means of the parameter ∆E, computed in real- The mean values ËvA , ËvB , and ËvC are computed in
time considering the last five energy samples, as follows one cycle of the respective energies ËvA , ËvB , and ËvC , just
( before the transient detection regarding the beginning time of
E(k)−E(k−4)
E(k−4) , if E(k − 4) 6= 0 the disturbance. These mean values are taken as reference as
∆E(k) = , (6)
0, otherwise the energy values in steady-state normal system operation. In
real-time computation, when one of the energies ËvA , ËvB ,
since k>4; E={EvA , EvB , EvC , EiA , EiB , or EiC }. A fast-
and ËvC presents value less than 0.9 of ËvA , ËvB , and ËvC ,
rising energy is identified when ∆E(k)>3. The number 3 was
respectively, for more than half cycle, the voltage sag is
established after the analysis of some signals with transient
identified.
disturbances.
According to Figs. 7 and 8, a voltage sag was identified in
The voltages and currents during the fault (Fig. 2) are
phase A voltage, in both faulted and non-faulted transmission
composed by two transient inceptions. All of them can be real-
lines, in less than one cycle after the detection of the transients
time detected by means of the fast-rising energy. For instance,
regarding the beginning time of the disturbances.
in the fault inception time, the energy values of EvA , EvB , and
EvC changed from about 9.105 to 1.109 (Fig. 5(a)) and the
energy values of EiA , EiB , and EiC changed from about 1.100 VI. P ROPOSED M ETHOD P ERFORMANCE E VALUATION
to 7.103 (Fig. 5(b)) and the fault-induced transients could be
detected in real-time. The system model shown in Fig. 1 was also used to evaluate
According to Figs. 5, both the fault inception and clearance in real-time the proposed voltage sag detector by using the
are properly located when TIs are detected. The beginning and RTDS. The voltage sag detector was modeled to monitor phase
end times of voltage sags are located in real-time in the same voltages and currents of both terminals on line 1 and line 2
way (Fig. 6). (Fig. 9). The sampling rate of the signals was 20 kHz.
A total of 1000 faults on line 1 was simulated in real-
time, each one with random values of fault resistance
V. R EAL -T IME VOLTAGE S AG I DENTIFICATION rf ∈{0, 100} Ω, fault inception angle θf ∈{0o , 180o }, and
fault location df ∈{15, 68} km from bus 1. In this way, the
Figs. 7 and 8 depict the approximation coefficient energies voltage sag detector was evaluated 4000 times in real-time.
(ËvA , ËvB , and ËvC ), computed in real-time, of the phase With regard to the fault type, 67% were SLG faults, 25%
voltages shown in Figs. 2 and 3, respectively. These energy were line-to-line faults, 3% were double line-to-ground (DLG)
waveforms can be used for real-time identification of voltage faults, and 5% were three-phase faults [23]. The fault-clearing
sags [18]. time in each simulation was about 50 ms (3 cycles of 60 Hz).
5

Fig. 7. Approximation coefficient energies at the first scale regarding the phase voltages of the SLG fault.

Fig. 8. Approximation coefficient energies at the first scale regarding the phase voltages of the voltage sag.

Fig. 9. Power system model.

The success rate in the real-time detection of the transients


regarding the beginning and end times of the disturbances were
98.90 and 100%, respectively. The success rate in the real-time
identification of the voltage sags were 99.80%.
Fig. 10 depicts the approximation coefficient energies (ËvA ,
ËvB , and ËvC ), computed in real-time, of the phase voltages in
line 2, bus 1, regarding the AG faults with rf =14.5, rf =68.8,
and rf =91.0 Ω. The voltage sag is difficult to be detected
in faults with high resistances. In Fig. 10(c), the transients
at beginning and end times of the disturbance were detected. Fig. 10. Approximation coefficient energies at the first scale regarding
However, a voltage sag was not identified. the phase voltages of the voltage sag: (a) rf =14.5 Ω; (b) rf =68.8 Ω;
(c) rf =91.0 Ω.

R EFERENCES
VII. CONCLUSIONS
[1] R. C. Dugan, M. F. McGranaghan, S. Santoso, and H. H. Beaty,
Electrical Power Systems Quality, 2nd ed., McGraw-Hill, Ed. New
York: McGraw-Hill, 2003.
The wavelet and approximation coefficient energy analysis [2] M. H. J. Bollen and I. Y.-H. Gu, Signal Processing of Power Quality
as a fast and efficient tool for real-time diagnosing of voltage Disturbances. New York, USA: Wiley-IEEE Press, 2006.
[3] S. A. Probert and Y. H. Song, “Detection and classification of high
sags in power systems was presented in this paper. The frequency transients using wavelet analysis,” Proc. 2002 IEEE Power
distinctive feature of the proposed energy waveform analysis is Engineering Society Summer Meeting, vol. 2, pp. 801–806, Chicago,
the ability to detect the beginning and end times of the voltage USA, July 2002.
[4] W. A. Wilkinson and M. D. Cox, “Discrete wavelet analysis of power
sags and confirme the voltage sag occurrence in real-time. system transients,” IEEE Transactions on Power Systems, vol. 11, pp.
The proposed method was evaluated 4000 times in real- 2038–2044, Nov 1996.
[5] S. Santoso, E. J. Powers, W. M. Grady, and P. Hofmann, “Power quality
time simulations. A success rate in the real-time detection of assessment via wavelet transform analysis,” IEEE Transactions on Power
the transients regarding the beginning and end times of the Delivery, vol. 11, no. 2, pp. 924–930, April 1996.
disturbances were 98.90 and 100%, respectively. The success [6] O. Poisson, P. Rioual, and M. Meunier, “Detection and measurement
of power quality disturbances using wavelet transform,” International
rate in the real-time identification of the voltage sags was Conference on Harmonics and Quality of Power - ICHQP, pp. 1125–
99.80 %. 1130, Athens, Greece, Oct. 1998.
6

[7] F. B. Costa, K. M. Silva, K. M. C. Dantas, B. A. Souza, and N. S. D. B. A. Souza (M’02 - SM’05) received his PhD in
Brito, “A wavelet-based algorithm for disturbances detection using oscil- Electrical Engineering from Federal University of
lographic data,” International Conference on Power Systems Transients, Paraı́ba, Brazil, in 1995. He works currently as a pro-
Lyon, France, jun 2007. fessor at the Department of Electrical Engineering
[8] F. B. Costa, B. A. Souza, and N. S. D. Brito, “A wavelet-based algorithm of Federal University of Campina Grande, Brazil.
to analyze oscillographic data with single and multiple disturbances,” His main research activities are on optimization
IEEE PES General Meeting, Pittsburgh, USA, jun 2008. methods applied to power systems, electromagnetic
[9] ——, “A wavelet-based method for detection and classification of single transients, power quality and fault diagnostic.
and crosscountry faults in transmission lines,” International Conference
on Power Systems Transients, Kyoto, Japan, jun 2009.
[10] O. A. S. Youssef, “Fault classification based on wavelet transforms,”
Transmission and Distribution Conference and Exposition, vol. 1, pp.
531–536, Nov 2001. N. S. D. Brito was born in Antenor Navarro, Brazil,
[11] K. M. Silva, B. A. Souza, and N. S. D. Brito, “Fault detection and 1965. She received her BS and PhD in Electrical En-
classification in transmission lines based on wavelet transform and ann,” gineering from Federal University of Paraı́ba, Brazil,
IEEE Transactions on Power Delivery, vol. 21, no. 4, pp. 2058–2063, in 1988 and 2001 respectively. She received her MS
Oct 2006. from Campinas State University, Brazil. She works
[12] A. C. Parsons, W. M. grady, and E. J. Powers, “A wavelet-based currently as a professor at the Department of Elec-
procedure for automatically determining the beginning and end of trical Engineering of Federal University of Campina
transmission system voltage sags,” IEEE Power Engineering Society, Grande, Brazil. Her main research activities are on
vol. 2, pp. 1310–1315, Feb. 1999. power quality, especially on applications that involve
[13] F. B. Costa, K. M. Silva, K. M. C. Dantas, B. A. Souza, and N. S. D. fault detection and classification in electric systems.
Brito, “A wavelet-based method for fault clearing time delimitation,”
Congresso Brasileiro de Automtica, Out 2006.
[14] IEEE Power System Relaying Committee, EMTP Reference Models
for Transmission Line Relay Testing, ¡http://www.pes-psrc.org/Reports-
/d6report.zip¿, 2004.
[15] G. W. Swift, “The spectra of fault-induced transients,” IEEE Transac-
tions on Power Apparatus and Systems, vol. PAS-98, no. 3, pp. 940–947,
May 1979.
[16] A. A. Girsis and R. G. Brown, “Modelling of fault-induced noise
signals for computer relaying applications,” IEEE Transactions on Power
Apparatus and Systems, vol. PAS-102, no. 9, pp. 2834–2841, Sep 1983.
[17] M. H. J. Bollen, Understanding Power Quality Problems: Voltage Sags
and Interruptions. New York, USA: Wiley-IEEE Press, 2000.
[18] F. B. Costa, “Uma técnica de diagnóstico em tempo real de distúrbios
transitórios baseada na transformada wavelet para uso em registradores
digitais de perturbação,” Ph.D. dissertation, Federal University of Camp-
ina Grande, Campina Grande, Brazil, 2010.
[19] F. B. Costa, B. A. Souza, and N. S. D. Brito, “Discrete wavelet transform
in power systems: Transient disturbance analysis,” International Sympo-
sium on High Voltage Engineering, Cape Town, South Afric, Aug 2009.
[20] I. Daubechies, Ten Lectures on Wavelets. Philadelphia, USA: CBMS-
NSF Regional Conference Series, SIAM, 1992.
[21] D. B. Percival and A. T. Walden, Wevelet Methods for Time Series
Analysis. New York, USA: Cambridge University Press., 2000.
[22] F. B. Costa, B. A. Souza, and N. S. D. Brito, “Real-time detection of
fault-induced transients in transmission lines,” IET Electronics Letters,
pp. 753–755, May 2010.
[23] IEE. Power System Protection - Volume 1: Principles and Components,
IEE, London, United Kingdom: The Institution of Electrical Engineers.,
1995.

F. B. Costa (M’05) received his BS, MS, and PhD


in Electrical Engineering from Federal University of
Campina Grande (UFCG), Brazil, in 2005, 2006,
and 2010, respectively. He works currently as a
professor at School of Science and Technology at
Federal University of Rio Grande do Norte, Brazil.
He is also a Post-Doctoral candidate at UFCG. His
research interests are electromagnetic transients in
power systems, power system protection, and real-
time analysis of power quality disturbances and
faults by means of the wavelet transform and ar-
tificial neural networks.

You might also like