A Hybrid Framework For Fault Detection
A Hybrid Framework For Fault Detection
AbstractThis paper is the second part of a series of two papers insulation, and short circuits resulting from attacks of birds or
addressing a hybrid framework for achieving fault detection, other objects. Modern digital relay technologies have provided
classification, and location, simultaneously. The proposed frame- various solutions to prevent power grids from major blackouts.
work is formed by a variety of analysis techniques, including
symmetrical component analysis, wavelet transforms, principal Due to the large geographical sizes and network complexities,
component analysis, support vector machines, and adaptive struc- modern power systems are still subject to threats of faults
ture neural networks. In our previous paper, the mathematical induced by natural and/or external interferences. In order to
foundation of this framework with numerical results obtained improve the overall quality of power supply, power companies
by computer-based simulations has been presented. This paper need to install adequate monitoring devices to quickly detect
is devoted to discuss the field-programmable gate-array imple-
mentation and experimental results acquired by using real-world the occurrence of faults and isolate the faulty region from the
scenarios. The hardware implementation of the runtime training power system. With accurate fault detection, classification, and
technique in the proposed framework is an evolvable hardware location systems, the restoration process can be expedited only
tested by the power signals used in a power company transmis- if the fault has been precisely located.
sion network for performance evaluation. The runtime training In this series of two papers, Part I [1] presents the theoret-
technique allows the FPGA to have learning and re-training capa-
bilities. The main purpose of this paper is to show the applicability ical foundation of the proposed hybrid framework, which pro-
of the proposed framework on a hardware platform and test the vides a generic solution for fault detection, classification, and
frameworks robustness and evolvability against noises from the location. Since this work is formulated as a data-driven system
system and measurements. equipped with a runtime training technique, fault locating in a
Index TermsEvolvable hardware, fault classification, fault de- power system is not affected by changing conditions, such as
tection, fault location, field-programmable gate array (FPGA). nonhomogeneity of lines, fault resistance, as well as load and
phase unbalance. The computer-based simulation results have
shown the effectiveness of the proposed framework in simple
I. INTRODUCTION and complex power systems.
HE reliability of electrical energy is essential for The proposed framework contains several arithmetical algo-
T economies and industrial users. Fault detection, clas-
sification, and location systems have played crucial roles to
rithms, including negative-sequence component (NSC), wavelet
transform (WT), principal component analysis (PCA), support
ensure the availability and continuity of power generation and vector machines (SVMs), and adaptive structural neural net-
transmission. However, the power transmission lines are vul- works (ASNNs). Since the runtime training technique of the
nerable to the faults caused by typhoons, earthquakes, aging of ASNNs requires a highly parallel mechanism, the ultimate per-
formance of real-time emulation of the proposed framework re-
lies on the capabilities of the underlying hardware. With ad-
Manuscript received November 16, 2010; revised February 23, 2011; ac- vanced semiconductor technologies, field-programmable gate
cepted March 15, 2011. Date of publication May 31, 2011; date of current ver-
sion June 24, 2011. This work was supported by the National Science Council arrays (FPGAs) offer a convenient and low-cost platform for
of Republic of China under Contract NSC 96-2628-E-002-252-MY3. Paper no. engineers to develop speed-up, custom-made applications with
TPWRD-00880-2010. parallel-processing capability. FPGA allows multiple compu-
J.-A. Jiang, C.-L. Chuang, C.-H. Hung, and J.-Y. Wang are with the Depart-
ment of Bio-Industrial Mechatronics Engineering, National Taiwan University, tation tasks to be simultaneously executed. Therefore, FPGA
Taipei 106, Taiwan (e-mail: [email protected]; [email protected]; ). is the most suitable device to implement the proposed hybrid
Y.-C. Wang is with Department of Electrical Engineering, National Taipei
University of Technology, Taipei 106, Taiwan (e-mail: [email protected].
framework.
tw). In this paper, we focus on the implementation aspect of the
C.-H. Lee is with the Department of Systems and Naval Mechatronic proposed hybrid framework on the FPGA platform. An FPGA-
Engineering, National Cheng Kung University, Tainan 701, Taiwan (e-mail:
[email protected]).
based experimental platform is constructed with two indepen-
Y.-T. Hsiao is with Department of Digital Technology Design, Na- dent systems as follows.
tional Taipei University of Education, Taipei 106, Taiwan (e-mail: yth- 1) Real-time power system simulator: In order to evaluate the
[email protected]). performance of the implementation of the proposed frame-
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. work, an FPGA-based real-time power system simulator
Digital Object Identifier 10.1109/TPWRD.2011.2141158 is developed to produce analog three-phase voltage and
0885-8977/$26.00 2011 IEEE
2000 IEEE TRANSACTIONS ON POWER DELIVERY, VOL. 26, NO. 3, JULY 2011
TABLE I
PIPELINE STAGES BREAKDOWN IN THE PROCESS OF PCA
Fig. 8. GUI interface of the proposed system on a touch LCD panel. The LCD
panel is mounted on an Altera development board (DE2-70) that is responsible
for displaying the output screen on the LCD panel. The GUI interface is also
used to detect the touch signals from the LCD panel and transmits the signals to
the Stratix-III FPGA board for further use.
circuit computes the adjusted values for weights, biases, and co-
ordinates of the neurons and the free connectors and then up-
dates the values of these parameters in the memory blocks of
the FPGA.
6) Displaying Diagnosis Results: A graphical user interface
(GUI) is designed to display all diagnosis results of the power
waveform measured from the simulated power cable. The GUI
provides a convenient way to visualize the diagnosis results of
the proposed system using a touch LCD panel, as shown in
Fig. 8. With the proposed system, system diagnosis engineers Fig. 9. Topology of a real 345-kV Taipower power transmission network
are able to acquire all important information regarding a fault system encountered in Taiwan.
(i.e., fault occurrence, fault type, and fault location).
III. IMPLEMENTATION OF THE REAL-TIME waveforms. The analog signals are sampled by using a 14-b
POWER SYSTEM SIMULATOR ADC, and the sampled power waveform is stored in the memory
module, and then the waveforms are normalized to their original
In this section, a real-time power system simulator that in-
amplitude range based on the rms power of the signal precalcu-
corporates an FPGA evaluation board and a computer are intro-
lated in MATLAB/Simulink. In this way, noise is introduced by
duced. The presented simulator is used to simulate power wave-
the analog-to-digital measurement and the quantization process
forms using a power system network simulated by MATLAB/
is taken into account while evaluating the performance of the
Simulink. A real Taipower 345-kV power transmission network
fault diagnosis system presented in the previous section.
established by Taipower in Taiwan is adapted to model the sim-
ulated power system network. The loads connected at each bus
are around 2000 MW in total, the base current . IV. EXPERIMENTAL RESULTS
The topology of the power system is illustrated in Fig. 9. There The setup of the proposed systems is shown in Fig. 11. The
are seven generators (three hydropower plants, two fossil-fu- overall hardware resources used in the Stratix-III FPGA are
elled power plants, and two nuclear power plants) and seven 92.8% (105 427/113 600) ALUTs, 4608 registers, 48 memory
power substations. They are connected by 39 transmission lines blocks, and 618 pins. The operation frequency of the Stratix-III
and 24 buses. The lengths and parameters of the transmission FPGA is 72.46 MHz, benefitted by the pipeline designs of the
lines are summarized in Table II. The total length of the power internal components. The entire analysis process of the pro-
transmission lines is 939.61 km, and the measurement units are posed system is completed in 0.0001 s after the ADC mea-
deployed to all buses in the power system. sures a new sample from the external cables. For each trans-
The schematic of the real-time power system simulator is de- mission line in the simulated power system, different faults are
picted in Fig. 10. The three-phase power waveforms are digi- randomly given to produce training and test samples to evaluate
tally simulated by MATLAB/Simulink. The power waveforms the performance of the proposed diagnosis system. Each sample
are normalized into the range of and 1, and then they are is generated for a different type of fault at a random fault loca-
sent to the memory module of the real-time power system sim- tion (from 0 to 1 p.u.) and random fault inception angles (0 to
ulator via the universal serial bus connector and the JTAG port 359 ). There are 240 000 power waveforms generated (10 000
on the development board (DK-DSP-3SL150N). The samples samples per type of fault and 120 000 samples for a normal
of the digital waveforms are consecutively transmitted to the condition) via MATLAB/Simulink. We train the parameters of
14-b DAC via the HSMC interface to simulate analog power SVMs and ASNNs on a computer using half of the samples
JIANG et al.: HYBRID FRAMEWORK FOR FAULT DETECTION, CLASSIFICATION, AND LOCATIONPART II 2005
TABLE II
PROFILE OF THE 345-kV TAIPOWER POWER TRANSMISSION NETWORK SYSTEM USED IN THIS STUDY
TABLE III
EVALUATION RESULTS OF THE PROPOSED DIAGNOSIS SYSTEM USING THE WAVEFORMS GENERATED BY THE REAL-TIME POWER SYSTEM SIMULATOR
In order to evaluate the performance of the proposed diag- with 5000 fault waveforms and 5000 normal waveforms is gen-
nosis system, three performance indices are defined erated for retraining of the proposed diagnosis system via the
runtime training technique in ASNN. The averaged location er-
Sensitivity % (5) rors are further reduced to 0.43%.
Specificity % (6) The performances of the proposed diagnosis system in all
Location Error (7) transmission lines in the power system are summarized in
Table IV. The proposed system performs well in fault detection;
where TP, FP, TN, and FN represent the numbers of true posi- the averaged detection accuracy is 99.9%. Regarding the fault
tives, false positives, true negatives, and false negatives, respec- classification, the averaged sensitivity and specificity of the
tively. and are the location errors yielded by the proposed system over the entire power system are 99.78% and
two measurement units closest to the real fault location in the 99.87%, respectively. The averaged fault-location error is around
system, which can be formulated as 0.47%. The response time of detecting a fault is around 0.0005 s,
and the proposed system requires a one-cycle time period to
% (8) identify and locate the fault. The hardware implementation of
the proposed fault diagnosis system thus provides a promising
where represents the location error yielded by the mea- performance in fault detection, classification, and location.
surement unit location at terminal is true fault location, and
is the estimated fault location yielded by the proposed frame- V. CONCLUSION
work. In addition, the proposed framework in both measurement This paper is the second part of the two paper series. The major
units must simultaneously detect and correctly classify the fault; contribution of this paper is to present a hardware implementa-
otherwise, the result would be treated as a false negative. tion of the methodologies proposed in the first part of the series.
The proposed diagnosis system is initialized with 6 ASNNs A fault diagnosis system and a real-time power system simulator
that contains 50 neurons each (300 neurons in total). After the are designed and implemented using a Stratix-III FPGA evalua-
proposed diagnosis system is properly trained by the training tion board. A Cyclone-II development board is also incorporated
dataset, we validate the proposed system by applying it to the to provide a graphical user interface (GUI) on a touch LCD
test dataset. The experimental results over all transmission lines panel that shows the diagnosis results yielded by the presented
are summarized in Table III. The results show that the perfor- system. The proposed system consists of several algorithms (i.e.,
mance of the proposed diagnosis system is comparable with symmetrical component analysis, multilevel wavelet transforms,
the computational results presented in Part I of the two paper principal component analysis, support vector machine, and adap-
series [1]. The proposed system is able to detect, classify, and tive structure neural networks). The overall hardware resources
locate faults under various types of fault conditions. The aver- used in the Stratix-III FPGA are 92.8% (105,427/113,600)
aged detection accuracy of the proposed system is 99.9%. The ALUTs, 4608 registers, 48 memory blocks, and 618 pins.
averaged sensitivity and specificity of the proposed diagnosis The performance of the proposed system is evaluated by
system are 99.75% and 99.86%, respectively. The averaged lo- using the waveforms simulated based on a real 345-kV Taipower
cation error is close to 0.61%. Furthermore, 10 000 power wave- power system. The proposed system is able to directly mea-
forms are generated after giving random types of faults to each sure external analog signals to perform fault diagnosis. The
transmission line in the power system; of 50% among all sam- response time of detecting a fault is around 0.0003 s, and the
ples are fault waveforms, and the rest are waveforms in the proposed system requires one-cycle time period to identify and
normal condition. Furthermore, an additional training dataset locate the fault. The detection accuracy, sensitivity, specificity,
JIANG et al.: HYBRID FRAMEWORK FOR FAULT DETECTION, CLASSIFICATION, AND LOCATIONPART II 2007
TABLE IV
EVALUATION RESULTS OF THE PROPOSED DIAGNOSIS SYSTEM IN EACH TRANSMISSION LINE OF THE SIMULATED POWER SYSTEM
and location error of the diagnosis system are 99.9%, 99.7%, [4] Altera Corporation. (2008, Nov.). , Stratix III DSP development kit
99.8%, and 0.5%, respectively. datasheet. [Online]. Available: http://www.altera.com/products/de-
vkits/altera/kit-st3-dsp.html
The major contribution of this paper is that a general solution [5] Altera Corporation. ()2009, Jun.)., HSMC specification. [Online].
to simultaneously detect, classify, and locate faults in transmis- Available: http://www.altera.com/literature/ds/hsmc_spec.pdf
sion lines is presented. The evaluation results presented in Part I [6] IEEE Standard for Floating-Point Arithmetic, (Standards style), IEEE
of the series show that the proposed system is suitable to simple Std. 754, 2008.
[7] J. A. Jiang, C. L. Chuang, Y. C. Wang, C. H. Hung, J. Y. Wang, C. H.
and complex power systems. In Part II, we have shown that the Lee, and Y. T. Hsiao, Supplementary document for a hybrid frame-
proposed system and its runtime training technique also work work for fault detection, classification, and locationPart II: Imple-
well in real-world scenarios using the simulated power wave- mentation and test results, Feb. 2011. [Online]. Available: http://bem.
forms based on a real 345-kV Taipower power system. bime.ntu.edu.tw/clchuang/Fault_2011.rar
[8] J. L. Blackburn, Symmetrical Components for Power Systems Engi-
neering. New York: Marcel Dekker, 1993.
REFERENCES [9] P. Bremaud, Mathematical Principles of Signal Processing, Fourier
and Wavelet Analysis. Berlin, Germany: Springer-Verlag, 2002, pp.
[1] J. A. Jiang, C. L. Chuang, Y. C. Wang, C. H. Hung, J. Y. Wang, and Y. 171187.
T. Hsiao, A hybrid framework for fault detection, classification and [10] S. Mallat, A theory for multiresolution signal decomposition: The
locationPart I: Concept, structure and methodology, IEEE Trans. wavelet representation, IEEE Trans. Pattern Anal. Mach. Intell., vol.
Power Del., 2011, to be published. 11, no. 7, pp. 674693, Jul. 1989.
[2] Analog Devices. (2010, Nov.)., 14-bit, dual A/D converter AD9248 [11] N. Cristianini and J. Shawe-Taylor, An Introduction to Support Vector
datasheet. [Online]. Available: http://www.analog.com/static/im- Machines and Other Kernel-Based Learning Methods. Cambridge,
ported-files/data_sheets/AD9248.pdf U.K.: Cambridge Univ. Press, 2000, pp. 31112.
[3] Altera Corporation. (2010, Jul.)., Stratix III device family FPGA [12] Y. L. Lu, C. L. Chuang, C. S. Fahn, and J. A. Jiang, Multiple dis-
datasheet. [Online]. Available: http://www.altera.com/litera- turbance classifier for electric signals using adaptive structuring neural
ture/hb/stx3/stx3_siii52001.pdf networks, Meas. Sci. Technol., vol. 19, p. 075106, 2008.
2008 IEEE TRANSACTIONS ON POWER DELIVERY, VOL. 26, NO. 3, JULY 2011
Joe-Air Jiang (M01) was born in Tainan, Taiwan, Chih-Hung Hung received the B.S. degree in elec-
in 1963. He received the M.S. and Ph.D. degrees trical engineering from National Taipei University of
in electrical engineering from National Taiwan Technology, Taipei, Taiwan, in 2008 and the M.S. de-
University (NTU), Taipei, Taiwan, in 1990 and 1999, gree in bioindustrial mechatronics engineering from
respectively. National Taiwan University, Taipei, in 2010.
From 1990 to 2001, he was with Kuang-Wu His research interest is in the area of integrated-cir-
Institute of Technology, Taipei. Currently, he is cuit design, power systems, mechatronics, and wire-
a Professor of Bioindustrial Mechatronics Engi- less sensor networks.
neering, NTU, where he is an active researcher.
His specialties in power transmission systems are
computer relaying, solar generation systems, fault
detection, fault classification, fault location, power-quality event analysis, and
smart-grid systems. His areas of interest are diverse and cover wireless sensor
network (WSN) technology, biomechatronics, neuroengineering, bioeffects of
electromagnetic wave, automatic systems for agroecological monitoring with Jiing-Yi Wang received the B.S. degree in electrical
WSN, and low-level laser therapy. engineering from Chung Yuan Christian University,
Dr. Jiang was the recipient of the Best Paper Award (entitled Jan Ten-You Taoyang, Taiwan, in 2008 and the M.S. degree
Paper Award) from the Chinese Institute of Engineers in 2002, the Best Young in bioindustrial mechatronics engineering from
Researcher Award from the Power Engineering Division of the National Sci- National Taiwan University, Taipei, Taiwan, in 2010.
ence Council (NSC) in 2002, the Prize Paper Award from IEEE/Power Engi- His research interest is in the area of integrated-
neering Society Transmission and Distribution Conference and Exhibition in circuit design, electromagnetism, mechatronics, and
2002, the NTU Excellent Teaching Award in 2004, the Best Paper Award from wireless sensor networks
the Journal of Formosan Entomology, Taiwan Entomological Society, in 2007,
the Best Paper Award from the International Seminar on Agricultural Structure
and Agricultural Engineering in 2007 (IS-ASAE 2007), the Best Paper Award
from theWorkshop on Consumer Electronics in 2008 (WCE 2008), the Annual
Best Paper Award from Taiwan Society of Naval Architects and Marine Engi-
neers in 2010, and the Academic AchievementAward from the Chinese Institute
Chien-Hsing Lee (S93-M98-SM06) was born in
of Agricultural Machinery in 2010. Currently, he is the Principal Investigator of
Pingtung, Taiwan, on June 13, 1967. He received the
several large-scale integration projects funded by the NSC and the Council of
B.S. degree in electrical engineering from Arizona
Agriculture of the Executive Yuan, Taiwan.
State University, Tempe, in 1993 and the M.S.E.E.
and Ph.D. degrees from the Georgia Institute of Tech-
nology, Atlanta, in 1995 and 1998, respectively.
Currently, he is an Associate Professor at National
Cheng-Long Chuang (S04-M11) received two Cheng Kung University, Taipei, Taiwan. His research
B.S. degrees in electrical engineering and com- interests are power system grounding analysis, power
puter science and information engineering from system transient modeling, power quality, and appli-
Tamkang University, Taipei, Taiwan, in 2003, the cations of wavelet theory in power systems.
M.S. degree in electrical engineering from Tamkang
University, Taipei, Taiwan, in 2005, and two Ph.D.
degrees in biomedical engineering and bioindustrial
mechatronics engineering from National Taiwan
Ying-Tung Hsiao (M92) received the B.S. degree
University, Taipei, in 2010.
in electrical engineering from National Taiwan In-
Currently, he is a Postdoctoral Research Fellow
stitute of Technology, Taipei, Taiwan, in 1986 and
with the Department of Bioindustrial Mechatronics
the M.S. and Ph.D. degrees in electrical engineering
Engineering, National Taiwan University. He is also an Adjunct Assistant
from National Taiwan University in 1989 and 1993,
Professor in the Department of Computer Science, National Taipei University
respectively.
of Education, Taipei. His research interests are in the areas of power systems,
Subsequently, he joined the faculty of St. Johns
multiagent systems, cryptography, optimal theory, wireless communications,
and St. Marys Institute of Technology and was a Pro-
integrated-circuit design, cognitive psychology, artificial intelligence, as well
fessor of Electrical Engineering at Tamkang Univer-
as bioinformatics and neuroscience.
sity, Taiwan. Currently. he is a Professor and Chair
in the Department of Digital Technology Design and
a joint Professor in the Department of Computer Science and Information, Na-
tion Taipei University of Education. His research interests include power system
Yung-Chung Wang received the M.S. and Ph.D. de- analysis, optimal theory, and motor control.
grees in electrical engineering from National Tsing
Hua University, Hsinchu, Taiwan, in 1990 and 2000,
respectively.
From 1990 to 2001, he was a Research Engineer
with the Chung-Hwa Telecommunication Labo-
ratory, where he was engaged in research on the
development of ATM switching systems and IP
switch router systems. Since 2001, he has been with
the Department of Electrical Engineering, National
Taipei University of Technology (NTUT), Taipei,
Taiwan, where he is a Full Professor. His research interests include wireless
networks, optical networks, and queuing theory and performance evaluation of
communication networks.