FGPA IMPLEMENTATION OF NEURAL NETWORKS FOR TRANSMISSION FAULT
CLASSIFICATION AND DETECTION
SINTHUJA ISHA DHARSHINI K NEEHARIKA S
Information Technology Information Technology Information Technology
St. Joseph's College of Engineering St. Joseph's College of Engineering St. Joseph's College of Engineering
Chennai, India Chennai, India Chennai, India
[email protected] [email protected] [email protected] Abstract-- This paper presents a fault classification In the recent past, the promise of machine learning and
system on real-time power transmission lines through the particularly neural networks for fault detection and
integration of neural networks on the FPGA platform. classification has been quite promising. Neural networks can
Transmission lines are vital components of a reliable power effectively find complex patterns in data; thus, it is quite
system. However, they are vulnerable to faults due to adverse effective in analysis involving electrical parameters such as
weather conditions, equipment failure, or dissimilar voltage and current. The requirements in actual applications,
environmental interferences. Traditional methods applied in however, are enormous computational power with low
the detection of faults suffer from slowness and lack of latency. FPGAs have been employed for the integration of
neural networks for real-time fault detection purposes, as they
accuracy in the processing of real-time data. Such a system
offer a good balance between the necessary accuracy required
makes use of the parallel processing employed in the FPGAs
in fault classification due to modern transmission lines and the
which allows it to evolve faster and be efficient in the need for speed in such applications.
classification of faults based on voltage and current electrical
parameters. It recognizes different types of faults, including II. LITERATURE SURVEY
line-to-line faults as well as line-to-ground faults. It IEEE Transactions on Power Delivery, 2020 This paper
recognizes various fault scenarios and runs real-time, with
investigates the use of Field-Programmable Gate Arrays
high-speed responses to faults even under complex grid
(FPGAs) for real-time fault detection in transmission lines.
conditions. The FPGA-based architecture offers low latency,
The authors discuss how FPGA’s parallel processing
high adaptability, and improved performance in modern capabilities enable faster and more accurate fault detection.
power grids, including smart grid systems. It nullifies the By comparing the FPGA-based system to conventional
disadvantages of conventional methods and ensures the
microcontroller-based solutions, the study shows a
stability and reliability of power networks by minimizing
significant improvement in processing speed, especially in
outage durations and improving fault management. Outputs
complex fault scenarios. This aligns with the goal of utilizing
from this study could provide a solution for fault
FPGAs for low-latency and real-time fault classification. [1].
classification that would work in real-time and offer possible This research focuses on the implementation of neural
applications over other areas of critical power system
networks for fault classification in transmission lines. The
monitoring.
authors demonstrate that neural networks, trained on
historical fault data, can accurately identify different fault
Keywords— Fault classification, Power transmission,
Neural networks, FPGA, Real-time detection, Smart grid types, such as line-to-line and line-to-ground faults. The
paper emphasizes the advantages of neural networks in terms
I. INTRODUCTION of adaptability and accuracy in handling complex fault
Fault detection and classification for the stability, conditions, a key feature highlighted in the project’s objective
reliability, and safety of power systems give power systems and scope. [2] The paper reviews various machine learning
utmost use to transfer electrical power from generation algorithms, including neural networks, for fault detection and
stations to distribution centers. Transmission lines are classification in smart grids. It provides a comparison
generally prone to faults resulting from a natural cause, such between traditional methods like wavelet transforms and
as lightning strikes or extreme weather conditions, among machine learning-based approaches, concluding that machine
others. This can cause significant disturbances, for example, learning techniques offer higher accuracy, especially in
interruptions in the supply of power, damage to machinery, modern power grids. The study’s findings on the adaptability
and even 'cascade failure' across the grid in the worst cases. of neural networks to dynamic grid conditions resonate with
Thus, fault detection systems are critical for efficient and the project’s aim to enhance fault classification in evolving
accurate detection in the continued stable operation of power smart grid architectures. [3]. This paper explores the
networks. deployment of deep learning models on FPGA platforms for
Traditional impedance-based methods, wavelet real-time fault detection in power systems. The authors
transforms, and statistical methods are widely employed but highlight the benefits of integrating neural networks with
lack speed and accuracy, particularly when dealing with FPGA hardware, such as reduced latency and improved
voluminous amount of real-time data. As complexity in power processing efficiency. Their results show that this
systems introduces smart grids, traditional approaches often combination enhances the system’s ability to classify faults
fail to include new fault conditions, simultaneous faults, and in transmission lines under various conditions. This is
dynamic architectures within the grid. This gives rise to the directly related to the project’s focus on leveraging FPGA’s
need for more complex techniques of fault classification that real-time processing for neural network-based fault
are able to handle the complexities involved in state-of-the-art classification. [4]
power networks.
III. METHODOLOGY Wavelet Transform Provides both time and frequency
3.1 Data Acquisition and Preprocessing information, beneficial for detecting transient faults is given
by:
The first collection of real-time voltage and current data from
transmission lines, as sensors installed along the lines collect
analog signals representing electrical parameters. Analog
signals are converted into digital signals that can be computed 3.3 Neural network model design and FPGA integration
with the FPGA. Preprocessed data are free from noise and
The module for the fault classification system is to be
standardized input parameters, ready to be further analyzed designed as a neural network optimized for FPGA
for conclusions. This pre-processing step is critical to implementation. Such a network has been trained by various
decrease possible inaccuracies in the model of classification faults-a dataset which describes line-to-ground faults and
and improve the reliability of the overall fault detection. The
line-to-line faults to identify with precision the type of fault.
following formula represents the analog-to-digital
The model is executed on the FPGA's logic cells, enabling
conversion process that converts the continuous voltage and the parallel computation of several input features and the
current signals into digital data: reduction of response time to faults. Moreover, since the
FPGA executes the neural network in parallel with other
Vanalog − Vmin
Vdigital = X − × 2N {1} activities, the system is not curtailing low latency, which
Vmax − Vmin remains essential for real-time applications. Given input
features x=[x1,x2,...,xn]x = [x_1, x_2, ..., x_n]x=[x1,x2,...,xn
], the output yjy_jyj of a neuron in the hidden layer is
computed using:
To classify the fault type, a softmax activation function can
be applied in the output layer to give probabilities for each
class:
Figure 1. Proposed framework
3.2. Signal processing to extract features
After data has been digitized, cleansed, it is taken through
signal processing in the FPGA, where Fourier and Wavelet
transforms extract some salient features which would point to
possible faults. These algorithms would be executed in
parallel with the structure of an FPGA and need rapid
extraction of input parameters of the neural network. The
parameters might include amplitudes of voltage and currents,
phase angles, and changes in the frequency. With an FPGA, Figure 2. Proposed Architecture
because it is reconfigurable, developers can formulate
optimized data paths and customized algorithms of 3.4 Middleware and Real-Time Monitoring Interface
processing tailored just right for high-speed, real-time A middleware layer interfaces with the back-end system;
analysis that gives them an edge over the more conventional interfaces FPGA with it by handling data filtering, logging
processors. fault occurrences and formatting data for visualization to a
Fourier Transform (FT) which converts the time-domain user interface. This enables operators to monitor the status in
signals to the frequency domain, helping to identify harmonic real-time, and if a fault has occurred, then initiation of
content, which may indicate faults is given by: corrective action is taken immediately. The performance of
the system along with the classification results of faults are
available for view on the interface platform
Figure 5. Fault Distribution in Data Set
Figure 3. Confusion Matrix
It utilizes the flexibility of FPGAs for specialized tasks to The table 1, provides the classification report of the prposed
ensure that the fault detection was quite energy-efficient, solution.
scalable, and high-performance. It led to the construction of
the improved speed, accuracy, and adaptability fault
classification system fitting for modern power transmission
networks
3.4 Dataset Description:
This dataset contain electrical measurements across multiple
entries, possibly for a three-phase system. The columns
include binary flags (G, C, B, A) which may indicate certain
conditions or statuses, and numerical values for currents Ia,
Ib, Ic, , and voltages Va, Vb, Vc in each phase. The values Table.1. Classification Report
fluctuate widely, indicating varied load or fault conditions.
This dataset could be useful for analyzing system behavior or
detecting abnormalities in electrical parameters. I. CONCLUSION
In conclusion, this project is proven feasible to apply in the
area of FPGA-accelerated neural network fault classification
in transmission lines. An intelligent and efficient solution for
real-time monitoring and fault detection has been devised.
The system based on an FPGA achieves the desired low
latency performance to identify and classify the three various
fault types: line-to-ground, line-to-line, and three-phase
faults rapidly. The optimized neural network model to be
deployed on an FPGA is said to be highly accurate and fast
for fault detection, which are significant drawbacks in the
Figure 4. Dataset classical methods. This would greatly improve the stability
and reliability of power transmission in power grids, making
the power grids even more reliable. Real-time response and
adaptability of the system make it especially suited for
complex architectures of smart grids as well as changing
circumstances of smart grids. Future updates can be made
concerning further optimization of the architecture of the
model, advanced feature extraction methods, and other fault
conditions in order to increase the robustness and versatility
of the system under different operating conditions to aid safe
management and control of power
Figure 5. Fault Types in Data Set
REFERENCES Applications." Journal of Artificial Intelligence and
Electrical Engineering, 2023..
[1] Rahimi, M., Hussain, A., and Chan, K. "FPGA-Based [21] Chen, M., and Liu, Z. "FPGA-Based Neural Network
Fault Detection in Power Transmission Lines." IEEE Model for High-Speed Fault Detection in Electrical
Transactions on Power Delivery, 2020. Systems." IEEE Transactions on Industrial
Informatics, 2023.
[2] Patel, S., Mehta, T., and Kumar, J. "Neural Network- [22] Kashyap, Ramgopal, Rajit Nair, Syam Machinathu
Based Fault Classification in Electrical Power Parambil Gangadharan, Miguel Botto-Tobar, Saadia
Systems." IEEE Access, 2021. Farooq, and Ali Rizwan. "Glaucoma detection and
[3] Gupta, A., Verma, R., and Singh, P. "Machine classification using improved U-Net Deep Learning
Learning Algorithms for Fault Detection in Smart Model." In Healthcare, vol. 10, no. 12, p. 2497. MDPI,
Grids." International Journal of Electrical Power & 2022.
Energy Systems, 2020. [23] Sharma, P., and Gupta, M. "Real-Time Fault
[4] Wang, J., Zhang, K., and Liu, Y. "Fault Classification Monitoring in Smart Grids Using FPGA-Enabled
in Power Systems Using Deep Learning on FPGA Machine Learning Models." IEEE Transactions on
Platforms." IEEE Transactions on Industrial Power Delivery, 2023.
Electronics, 2019. [24] Gao, Y., and He, X. "Implementation of CNN-Based
[5] Lingala, Sainath Shravan, and Bedekar, Swenand. Fault Classification System for Power Lines on
"Neural Network Implementation for Handwritten FPGA." IEEE Access, 2022.
Digit Recognition Using FPGA and Python." MNIST [25] Tan, Y., and Zeng, W. "Design of an FPGA-
Dataset Analysis, 2020. Accelerated Fault Detection Network for High-
[6] Tsai, Tsung-han, Ho, Yuan-chen, and Shew, Ming Performance Smart Grids." International Journal of
Hwa. "Implementation of FPGA-Based Accelerator Electrical and Power Engineering, 2022.
for Deep Neural Networks." Research in FPGA Neural [26] Alzaidi, Z., and Sultan, A. "Accelerated Neural
Networks, 2020. Network Training for Fault Classification in Power
[7] Dhillon, Amardeep. "Neural Network Implementation Systems Using FPGA." IEEE Transactions on
Using FPGA: Issues and Application." Xilinx XC Sustainable Energy, 2023.
V50hq240 Chip Testing, 2020. [27] Sun, X., and Luo, K. "Deep Learning on FPGA for
[8] Author Unknown. "Implementation of FPGA-Based Power System Fault Detection." Journal of Electrical
Accelerator for Deep Neural Networks: Optimization and Power System Engineering, 2023.
Techniques." Parallel Computation Challenges, 2020.
[9] Author Unknown. "Hardware Implementation of
Neural Network-Based Engine Model Using FPGA."
Spartan-3E-500.CP132 FPGA Platform from Xilinx,
2020.
[10] Angeloska-Dichovska, Monika, Gjorgjioska, Emilija,
and Boshkoska, Meri. "Factors Affecting Citizens’
Intentions to Reduce Plastic Waste." Research on
Sustainable Behaviors, 2024.
[11] Tsai, Tsung-han "Implementation Using FPGA: Issues
and Application in ANN." Neural Systems and VHDL
Coding, 2020.
[12] Ho, Yuan-chen "FPGA-Based Implementation of
Deep Neural Network Using Stochastic Computing."
Verilog Hardware Description Language on Xilinx
Virtex-7, 2020.
[13] Shew, Ming Hwa.. "Implementation of Deep Neural
Network Using Stochastic Computing." Machine
Learning Hardware Applications, 2020.
[14] . Gupta, A., Verma, R., "FPGA-Based Deep Neural
Network Implementation." Advances in Artificial
Neural Network Hardware, 2020.
[15] "Implementation of FPGA-based Accelerator for Deep
Neural Networks." IEEE Transactions on Computer-
Aided Design of Integrated Circuits and Systems,
2020.
[16] Angeloska-Dichovska, Monika, Gjorgjioska, Emilija,
and Boshkoska, Meri. "Factors Affecting Citizens’
Intentions to Reduce Plastic Waste." Environmental
Science and Pollution Research, 2024..
[17] Anand, R., and Sharma, K. "Optimized FPGA-Based
Neural Networks for Efficient Fault Detection in
Power Grids." IEEE Journal on Emerging and
Selected Topics in Circuits and Systems, 2022..
[18] Chang, L., and Lu, X. "Hardware-Accelerated Neural
Networks for Power System Monitoring Using
FPGA." IEEE Transactions on Smart Grid, 2021..
[19] Yadav, A., and Reddy, P. "Hybrid Neural Network
Approach to Fault Detection in Electrical Systems
Implemented on FPGA." International Journal of
Electrical and Electronics Engineering, 2022.
[20] Wang, R., Li, T., and Lin, S. "A Survey on FPGA
Implementations of Deep Learning for Power System