Abstract
The paper presents a comprehensive analysis of the IEEE-16 bus system under different operating conditions. It discusses the selection of suitable decomposition level and wavelet function for analyzing non-stationary signals to enhance power distribution network fault detection. MATLAB/Simulink is used to simulate the system, and transient fault current signals are processed with the MATLAB Wavelet Toolbox. The optimal decomposition level is determined by energy concentration, with the highest energy found in scales D9 (b4), D8 (b5), and D7 (b6), and D8 having the most concentration. Using MATLAB classifier learner, the article evaluates seven common mother wavelets with 53 wavelet functions, and sym3 is found to be the most efficient wavelet function in terms of training time, prediction speed, and accuracy of SVM classifiers. All fault types both symmetrical/unsymmetrical types, and various normal transient conditions such as load/capacitor/DG switching are detected/discriminated with nearly 100% accuracy at the midpoint of line 6–7 with various fault conditions, inception angles (0, 30, 45, 60, 90 and 120°) and a fault resistance of (5,10, 15, and 20 ohms). Additionally, 9 MW wind Farm is integrated at busbar 10, and various fault scenarios are simulated to assess system performance with 100% Accuracy.
Similar content being viewed by others
A consistent provision of electricity stands as a cornerstone in today’s society. Distribution networks are essential to the effective and dependable delivery of electricity to final consumers. A critical challenge in the protection of distribution networks is the accurate identification and isolation of faults to prevent system disruptions. This study specifically targets distribution networks because they are more prone to faults due to their complex topology, high penetration of distributed energy resources, and frequent exposure to external disturbances1,2. Moreover, fault detection in distribution networks has been an active area of research in recent years as reported in Refs3,4, driven by the increasing complexity and decentralization of power grids. Researchers have been focusing on developing robust methods to address issues unique to distribution systems. Challenges and emerging trends in early fault detection include the integration of smart grid technologies, the use of big data analytics, and the development of hybrid detection approaches, as outlined in Ref5. A typical challenge with detection methods using meters at a single location is determining appropriate detection thresholds or creating representative datasets for machine learning-based approaches6. In practice, fault section identification (FSI) is hindered by the malfunction of monitoring devices, complicating the process7. The integration of renewable energy sources and active loads demands advanced monitoring infrastructure like smart meters and micro-phasor measurement units (µPMUs) to ensure power quality and system reliability while managing bidirectional energy flows in modern smart grids8. These advancements underline the critical role of innovative approaches in ensuring reliable and efficient fault detection in modern distribution networks. Hasan et al.9 provided an overview of the causes of power interruptions and the documented energy-management techniques. Electrical networks can experience various types of faults, as reported by William10. and Abdelhay et al.11, distribution system faults and failures are responsible for 94% of all power outages. 70% of blackouts have been caused due to relay failure, as documented by Arun et al.12 The distribution systems exhibit four primary fault types: Line-to-ground fault (L-GF), Line-to-line fault (LL-F), Line-to-Line-to-Ground Fault (LL-GF) and 3Line-to-Ground Fault (3 L-GF). L-GF occurs when one phase conductor makes contact with the ground, typically due to wind, animal interference, or a fallen line, such fault constitutes 70% of faults in distribution systems, and LL-F, caused by high winds, represents 15% of faults, also, LL-GF involves two phases and contributes to 10% of faults, as documented by Sophi et al.13 3 L-GF, arising from equipment failure or tower collapse, is relatively uncommon, occurring at 5%, yet it poses significant risks due to the high fault current involved. Therefore, it’s essential to detect, classify and locate faults in the distribution system by using advanced protection relays. Several studies propose a signal processing technique-based protection strategy that enhances relay-tripping behavior.
To extract data from voltage or current signals, digital signal processing (DSP) techniques are essential. Furthermore, the ability to separate the transient components from the captured waveforms and process them to quickly identify the occurrence of fault transients is the fundamental principle behind these techniques. Because real-world signals frequently exhibit non-stationarity, processing in the time- or frequency-domains alone is insufficient because of how their spectral characteristics change over time. To improve signal analysis, this is addressed by both time-frequency approaches14. Fourier transform is the most common frequency domain technique, but it has two limitations as reported by Karlton et al.15 Wavelet technique is one of the most often used time-frequency methods that goes beyond the Fourier transform limitations. During the 20th century, researches on wavelet techniques (transforms) progressed gradually until the emergence of the continuous wavelet transform (CWT) in the 1980s, after which its advancement significantly accelerated. Moreover, the discovery of the discrete wavelet transform (DWT) and its inverse counterpart (IDWT) in the 1990s has enabled the compression and filtering of the faulted signals. The Discrete Wavelet Transform (DWT) is a wavelet technique commonly used in Digital Signal Processing (DSP)16. It is known for its effectiveness and adaptability, offering a perfect time-frequency localization for analyzing transient features during various fault types. This enables the construction of high-frequency and low-frequency components within a specified frequency band. The characteristics, benefits, drawbacks, and uses of wavelets have been shown in Tiantian, et al.17,and E. A. Frimpong, et al.18. Figure 1 provides a summary of wavelet classification, its applications, and associated challenges19. When operating with DWT, choosing the right decomposition level, mother wavelet, and combining it with machine learning are challenging tasks that must be done carefully19. Furthermore, the mother wavelet selection greatly influences the way it may be used to capture and represent complicated signal features across a variety of domains. The kind of information to be recovered from the signal and its characteristics determine which mother wavelet is the best.
Initially, it is crucial to choose an appropriate level. Various methods exist for determining the suitable decomposition level in the DWT, such as identifying the frequency bands with the highest percentage of signal energy20,21. When choosing the mother wavelet to study wind turbine health, two factors were used: the root mean square error and the energy to Shannon entropy ratio22. Heba at al23 utilize a method for selecting the optimal mother wavelet, integrating wavelet packet transform with the energy Shannon entropy ratio, offering a framework for the selection of optimal mother wavelet in human activity recognition. While the wavelet selection criterion relies on maximizing the cross-correlation coefficient24. The Minimum Description Length (MDL) approach to choosing the best mother wavelet25. Employing fuzzy logic to optimize the selection of mother wavelets26.Shannon entropy is employed to determine the optimal decomposition level for assessing wind turbine health22. The availability of 13 known families of mother wavelets means that the selection process can influence the outcomes of wavelet analysis. A qualitative approach considers properties such as regularity, compact support, symmetry, vanishing moment and orthogonality27. Due to the complexity of analyzing non-stationary signals, recent methodologies incorporate quantitative approaches for mother wavelet classification. The choice of the best method can vary based on factors such as signal properties, noise characteristics, and the specific goals of system analysis. Standard deviation and median absolute deviation are used to select the optimal mother wavelet28,29. While standard deviation and mean absolute deviation are used30 ,31. On the other hand, other works20,21,32,33,34 have employed the energy of wavelet coefficients as the criterion for optimal mother wavelet selection. This paper35 investigates the performance of various mother wavelets in a fault type classification algorithm for power systems, finding that different wavelets, including Daubechies, Symlets, Biorthogonal, and Coiflets, significantly affect the accuracy of fault detection by analyzing high-frequency signal components via discrete wavelet transform, with the highest accuracies noted for specific wavelets under distinct conditions.
The Support Vector Machine (SVM) is a robust supervised learning algorithm that has proven to be highly effective in a variety of applications, including classification and regression tasks. The significance of the support vector machine (SVM) algorithm lies in its ability to efficiently handle high-dimensional data while maximizing the accuracy of the classification task. SVM’s robustness in complex datasets makes it indispensable in tasks ranging from text categorization to image recognition. Model training times, accuracy, prediction speed, and absolutely are critical factors in achieving optimal results in machine learning35,36,37,38,39. High accuracy ensures reliable predictions, while faster prediction speeds enable real-time applications. Additionally, shorter model training times enhance efficiency, allowing for rapid iteration and deployment of machine learning solutions. Balancing these factors is key to achieving perfect results in various applications.
This investigation suggests valuable perspectives on the selection of wavelet levels and the choice of the suitable mother wavelet for using wavelet techniques in analyzing fault signals to detect the different fault cases. This involves combining wavelet analysis with a machine learning tool called SVM. The first step is to select a suitable decomposition level, where the wavelet transform method is used to decompose the standard fault signal into different wavelet components across multiple scales (11) and frequency bands (12). The energy of the present signal within each frequency band is subsequently determined by summing up the wavelets within each scale. Analysis reveals that the predominant distribution of signal energies occurs within the frequency bands spanning from 0.0195 kHz to 0.0391 kHz, from 0.0391 kHz to 0.0781 kHz, and from 0.0781 kHz to 0.1563 kHz. The proportions of energy released within these frequency bands for phase A are approximately 14.53%, 54.48%, and 20.49% of the total energies, respectively. The histograms depicting the distribution of energy across frequency bands for fault current signals were generated using MATLAB’s wavelet transformation energy calculation method. A special focus on analyzing the energy percentages is presented within the low-frequency band (D9-A9) and the dominant frequency band (D7–D9), as well as their patterns of variation. D8 is the highest percentage of energy. For this reason, this parameter was used to detect the fault conditions in the distribution system. The maximum value of (D8) will be the input to SVM. The suitable mother wavelet and wavelet function will be selected through accuracy, prediction speed and training time of Fine Gaussian SVM. The main contributions of the paper are listed as follows:
-
The paper conducts a comprehensive analysis of the IEEE-16 bus system using DWT for improved fault detection accuracy.
-
The study systematically selects the D8 wavelet decomposition level based on energy concentration as a novel criterion for enhancing accuracy and detection sensitivity in power distribution networks.
-
A strong comparative evaluation of 53 wavelet functions identifies Sym3 as the most efficient for fault detection with SVM classifiers, enhancing detection accuracy and computational efficiency.
-
The proposed method achieves 100% fault detection accuracy across symmetrical/asymmetrical faults, and various normal transient conditions such as load/capacitor/DG switching ensuring reliable detection/discrimination under various fault conditions, fault resistances and fault inception angles.
-
A 9 MW Wind Farm is connected to Busbar 10, and multiple fault conditions are modeled to evaluate the system’s performance with 100% accuracy.
-
Our study evaluates 25 different machine learning classifiers, providing a comprehensive comparison that goes beyond traditional approaches in fault detection research, and the analysis conducts that the Fine Gaussian SVM with a 5-fold cross-validation has the best validation and test accuracy, at 100%, and the quickest training time of 0.67957 s.
-
The proposed method Provides practical guidelines for wavelet parameter selection confirming robustness in diverse operational scenarios.
-
The study Introduces a reproducible, systematic approach to optimizing wavelet selection and SVM parameters, supporting improved fault detection outcomes in distribution networks.
-
The approach is computationally efficient, suitable for real-time fault detection, avoiding reliance on resource-heavy techniques like deep machine learning, in addition to accuracy, our evaluation includes prediction speed and training time, offering a holistic perspective on classifier performance for real-time applications.
The rest of the manuscript is organized as follows: The “Discrete wavelet transform (DWT)” section provides an overview of the Discrete Wavelet Transform (DWT). The “System model description” section clarifies the behavior assessment for IEEE-16 bus tested system under different conditions, which is conducted using MATLAB/SIMULINK. The “Level selection” section shows wavelet level selection method. The “Mother wavelet selection” section present a technique for mother and function wavelet selection. The “Results” is dedicated to the results drawn. Finally, the paper concludes in “Conclusion” section, is dedicated to the conclusion of the proposed method.
Discrete wavelet transform (DWT)
Mathematical analysis techniques known as wavelet transformations are employed to analyze data with features across different scales. These features can include transients, trends with gradual shifts, or frequencies that fluctuate over time. Wavelet transformations were primarily developed to address the limitations of the Fourier transform.
The main objective of wavelet transformations is to analyze nonstationary signals, which are signals that exhibit a time-varying frequency response. A wavelet refers to a waveform with a finite duration and an average value of zero. The first step in the wavelet analysis procedure involves adopting a wavelet prototype function, also known as an analyzing wavelet or mother wavelet. This prototype function serves as a template for the wavelet analysis. By translating and scaling the mother wavelet, it is possible to represent any signal. The wavelet multiresolution analysis technique is particularly effective in analyzing travelling wave signals. DWT signal analysis allows for the selection of multiple scales (m) and positions (k) for combining wavelets, thereby enabling the formation of a signal at a specific scale of interest. By combining the results of the wavelet decomposition at all scales, the original signal can be perfectly reconstructed. This allows for the formation of a signal at a particular scale of interest. \(\:f\)(\(\:k\)) represents the original signal or function that is subjected to the wavelet transform. In the context of this study, it corresponds to the transient fault current signal in the power distribution network, which is analyzed for fault detection. In multilevel wavelet analysis, the scale is successively halved at each level, resulting in a dyadic wavelet transform as described by Eq. (1)35.
Where: m, n, k = Integer values; \(\:\psi\:=Mother\:wavelet\); n = number of data points; m = Scaling; k = Shifting.
As shown in Fig. 2 in DWT, a signal is successively decomposed into approximation and detail coefficients through a series of high-pass and low-pass filtering operations, often referred to as the analysis filter bank. The signal’s finer characteristics are captured by the detail coefficients, while the coarser details are displayed by the approximation coefficients. By iteratively applying this decomposition to the approximation coefficients, an analysis with multiresolution may be conducted. The frequency ranges isolated by the (DWT) at each level adhere to the Mallat algorithm and Nyquist’s principle. According to the Nyquist theorem, asserting that the highest accurately representable frequency is less than half of the sampling rate, the maximum frequency of the original signal \(\:f\)(\(\:k\)) sampled at F Hz is F/2 Hz40.
Selecting discrete wavelet transform (DWT)
The choice of the DWT in our study was primarily driven by its ability to provide both time and frequency localization, making it particularly effective for analyzing non-stationary and transient signals, such as those generated by faults in power distribution networks. Fault signals are characterized by sudden changes in waveform patterns, and the Discrete wavelet transform is uniquely suited to capture these discontinuities with high precision. Many alternative signal processing techniques, such as the fast fourier transform (FFT)41 and Hilbert-Huang transform (HHT)41,42, have been widely used for signal decomposition. However, they are often limited in capturing transient or localized events due to their reliance on global frequency domain analysis (as in FFT) or computational complexity (as in HHT), and more recently, Deep Machine Learning (DML) approaches43,44,45,46. The wavelet transform, on the other hand, efficiently decomposes signals into multi-resolution components, making it highly effective for both fault detection and localization. To highlight key performance metrics Table 1 across these techniques, including their time-frequency resolution, computational efficiency, adaptability to non-stationary signals, noise robustness, and real-time applicability. This comparison underscores why DWT is often chosen for fault detection in power systems, especially where real-time processing and transient signal detection are required.
Wavelet-ML techniques overview
The combination of wavelet transform (WT) with support vector machines (SVM) has been widely used in the past and is considered a well-established approach. Our goal in utilizing this combination was to build upon its proven efficacy for fault detection, while leveraging the strengths of DWT in capturing transient signals and the robustness of SVM in classification tasks. While SVM is known for its strong theoretical foundations, offer better scalability and efficiency, especially when dealing with large datasets or real-time applications. This makes them more suitable for modern fault detection systems, where both accuracy and speed are critical, while recognizing the evolving landscape of fault detection methodologies in the literature47,48,49,50,51,52,53,54,55,56,57. Table 2 provide a critical evaluation of these approaches to the wavelet-SVM combination in terms of accuracy, computational complexity, and real-time feasibility.
DWT challenges and limitations
Computational complexity can pose a challenge in the application of the discrete wavelet transform (DWT), particularly for real-time fault detection and large-scale systems. The DWT performs multiresolution analysis by decomposing signals into various frequency bands, which, while highly effective for transient detection, increases computational load. As the number of decomposition levels increases to capture finer details, the processing time and memory requirements also grow. This can be a limitation for high-resolution data or real-time applications where timely analysis is crucial. Compared to other methods like the fast fourier transform (FFT), DWT is more computationally intensive, although FFT lacks the ability to capture time-localized events. Similarly, techniques like the Hilbert-Huang transform (HHT) are even more computationally expensive. Despite these challenges, DWT’s advantages in signal denoising, time-frequency localization, and fault detection accuracy make it a valuable tool. To mitigate complexity, optimized algorithms such as the fast wavelet transform (FWT) or hardware acceleration using Graphics processing unit (GPUs) or field programmable gate arrays (FPGAs) can be employed. With these optimizations, the DWT remains suitable for real-time fault detection despite its inherent computational demands46.
System model description
Figure 3 illustrates a 16-bus distribution system based on IEEE standard. The configuration comprises three feeders with a base power of 100 MVA and a base voltage of 23 kV. The overall system load is 28.7 MW and 17.3 MVAr, while the total reactive power injected across multiple loads amounts to 11.4 MVAr. The information pertaining to the line data and bus data of the IEEE 16-bus distribution system are presented in Table 3, as listed in58 MATLAB/Simulink environment is utilized to simulate the system model. Then, the fault signals are analyzed through MATLAB Wavelet Toolbox (MWT)to select suitable level. Finally, Using MATLAB Classifier Learner (MLC) to select the appropriate wavelet function for the classifier based on higher accuracy, faster prediction speed, and reduced training time.
Case study of transient fault current signal
-
Fault type: L-GF, LL-F, LL-GF, 3 L-F and 3 L-GF.
-
Fault location: the fault occurs at the midpoint between lines 6–7 within the IEEE 16-bus system, and that it specifically involves a different fault types, as illustrated on (Fig. 3). IEEE standard 16 bus tested system. The fault is simulated at a distance of 50% along the line connecting. All the aforementioned types are examined at fault point and fault inception angles on the current waveform covering the protected line.
-
The Fault resistance: 5, 10, 15, and 20 ohms.
-
Fault inception angle: 0, 30, 45, 60, 90 and 120°.
-
Switching cases: The performance of the proposed fault detection scheme based (wavelet transform and SVM classifiers) was evaluated under various normal switching conditions, including capacitor switching scenarios, Load switching scenarios, and DG (Diesel Generator) scenarios. However, their switching events can generate transients that might be misinterpreted as fault conditions by certain detection schemes. To validate the robustness and reliability of our proposed approach, we tested the scheme under controlled different switching events: -.
-
(1)
Capacitor switching of 3.7MVArs, that tested in two stage one at 40% of nominal value and the other case at 100% of nominal value to validate the performance of proposed scheme.
-
(2)
Load switching of 5 MW, that tested in two stage one at 20% of nominal load value and the other case at 40% of nominal load value.
-
(3)
DG switching (DG) at 10%, and 25% of the total rated power 28.70 MW.
-
(4)
A wind farm with a capacity of 9 MW is linked to Busbar 10, and diverse fault scenarios are analyzed to achieve perfect system performance evaluation.
Level selection
The MWT is used to analyze the current signal in order to select an appropriate wavelet level. As illustrated in Table 2 the lowest frequency band corresponds to the approximation scale (A11), while moving from (D11) to (D1) signifies an increase in frequency when transitioning from the approximate coefficient scale to the detail coefficient. Figure 4 shows the original transient current signal alongside its decompositions for various fault types at the midpoint of line 6–7. These fault types include L-GF, LL-F, LL-GF, 3 L-F, and 3 L-GF, all characterized by different inception angles (0, 30, 45, 60, 90 and 120°) and a fault resistance of 5, 10, 15, and 20 ohms. Analysis reveals that most energy is concentrated within three scales: detail D9 (b4), detail D8 (b5), and detail D7 (b6). These scales, encompassing 89.5% of the total signal energy, are indicative of distinct material damage mechanisms owing to their varied frequency bands. The sampling frequency is 20 kHz subsequently, frequencies ranging from 0 to 10 kHz are divided into 12 bands that are evenly spaced, in addition the transient current energy within each band, along with its proportion to the phase A transient current energy is computed, as listed in (Table 4). Results indicate that, in the recorded transient current signal, the majority of energy is contained within frequencies below 312.5 Hz, with minimal energy present beyond 625 Hz. Specifically, for the analyzed transient current signals, energy distribution is primarily observed within the bands spanning 0.01953–0.03906 kHz (b4), 0.03906–0.07812 kHz (b5), and 0.07812–0.15625 kHz (b6), with the (b5) frequency band emerging as dominant among the three, then the suitable mother wavelet will be detected at level 8 (D8).
Mother wavelet selection
In the context of wavelet transform (WT), the significance of mother wavelets is paramount for analysis, with their diverse shapes tailored to specific applications. The critical challenge lies in selecting the most appropriate mother wavelet to ensure optimal results and a strong correlation between the signal and the chosen wavelet. The decomposed current detail coefficients of high-frequency component at estimated wavelet level 8 (D8) based on DWT, which applied in the fault detection algorithm using sym3 that shows a good correlation with the faulted signal. The main transient features of the suggested procedure will proceed as follows, the signal’s features for max absolute values of current detailed coefficient of sym3 at Level 8 (Ma, Mb, Mc, and Mg), and Sum of absolute values of current detailed coefficient of sym3 at Level 8 (Sa, Sb, Sc, and Sg), are distributed across time that represent a high-frequency components (eight detail coefficient D8: is 0.0391∼0.0781 kHz), making it easier to understand the effect of different faults at different inception angles on the signal. The plots in Fig. 5, illustrate how the wavelet coefficients vary in response to different faults, showing how certain frequency components are more prominent during fault inception. The significant variation in the max absolute values of current detailed coefficient), and Sum of absolute values of current detailed coefficient of sym3 at Level 8 that indicate the variance in higher frequency bands during fault inception, this index is used to train and validate the machine learning classifier based on MATLAB Classifier Learner, to selecting the most appropriate mother wavelet. The study employs various wavelet families, including Haar, Daubechies, Coiflet, Symlets, Biorthogonal Reverse Biros Splines and Meyer wavelets. Key properties of wavelet families are outlined and discussed in27. Choosing the optimal mother wavelet is crucial in applications such as fault detection, as it greatly impacts the model’s classification accuracy, prediction speed, and training time.
Key considerations for selecting a wavelet function
-
Classification accuracy with Fine Gaussian SVM with cross validation = 5, and to ensure the reliability of our results, we implemented several measures to prevent overfitting. First, we applied 5-fold cross-validation during the training phase, where the dataset was split into four subsets, and the model was iteratively trained on four subsets while validated on the remaining one59, and 5-fold cross-validation provide a good balance between bias, variance, and computational efficiency, making them practical choices60. This ensured the model’s performance was robust across all data partitions. Second, the dataset was carefully balanced to include diverse fault scenarios, ensuring that all fault types, inception angles, and resistance values were equally represented. Third, the model was tested on completely unseen data, which was excluded during training, confirming its ability to generalize effectively. Lastly, we selected only the most relevant features extracted from the wavelet decomposition to reduce data dimensionality and prevent overfitting. These measures collectively validate the robustness and reliability of the reported results.
-
The chosen wavelet must accurately capture the signal’s relevant features to achieve high classification accuracy.
-
Using efficient wavelets reduces computational complexity, which in turn enhances accuracy, prediction speed and minimizes training time.
Measured current waveforms, Time-Frequency Plot using DWT, calculated Max absolute values of current detailed coefficient of sym3 at level 8 (Ma, Mb, Mc, Mg) and sum of absolute values of current detailed coefficient of sym3 at level 8 (Sa, Sb, Sc, and Sg) for different fault types, and different inception angles.
Results
-
As illustrated in Fig. 4, These figures demonstrate the transient fault current signals obtained from various fault scenarios and their corresponding wavelet transform decompositions at different levels, at each decomposition level (from the approximation to detail coefficients) the fault characteristics are captures to emphasizing how Level 8 decomposition provides optimal results in terms of distinguishing fault transients from normal conditions. The wavelet transform decomposes the current signals into different frequency bands at 11 levels. The guide to selecting suitable wavelet functions in DWT for Fault Detection methodology using the wavelet extracted signals index as classification criteria. For each 10 cycles at each level, the details coefficients are calculated and recorded. The classification criteria values are calculated for all mentioned levels and it is observed that classification features are more obvious on level 8, which correspond to frequency range from 0.0391 kHz to 0.0781 kHz.
-
Figure 5: The figure demonstrates the measured current waveforms (\(\:Ia\),\(\:Ib\),\(\:Ic\)), Time-Frequency Plot using DWT, and the calculated corresponding transient features as a max absolute value of current detailed coefficient of sym3 at Level 8 (Ma, Mb, Mc, and Mg), and Sum of absolute values of current detailed coefficient of sym3 at Level 8 (Sa, Sb, Sc, and Sg) across time that represent a high-frequency components at different faults, and different inception angles on the signal. Also, the figure illustrates how the wavelet coefficients vary in response to different faults, showing how certain frequency components are more prominent during fault inception. The significant variation in the max absolute values of current detailed coefficient is used to train and validate the SVM classifiers with 53 wavelet functions, to selecting the most appropriate mother wavelet.
-
Table 3: reveals that most energy is concentrated within three scales: detail D9 (b4), detail D8 (b5), and detail D7 (b6) in the recorded transient current signal, the majority of energy is contained within frequencies below 312.5 Hz, with minimal energy present beyond 625 Hz. Energy distribution is primarily observed within the bands spanning 0.01953–0.03906 kHz (b4), 0.03906–0.07812 kHz (b5), and 0.07812–0.15625 kHz (b6), with the (b5) frequency band emerging as dominant among the three, then the suitable level for a sym3 mother wavelet will be detected at level 8 (D8).
-
Table 5: presents a summary of the classifier performance metrics, including Prediction speed, training time, and accuracy from Fine Gaussian SVM for 53 wavelet functions at one value of fault resistance, fault location, and fault inception angle for each classifier-wavelet combination. Daubechies 5 (db5) of Prediction speed 700 obs/sec, training time 0.63421 s, and accuracy 100% besides Symlet 3 (sym3) of Prediction speed 700 obs/sec, training time 0.67957 s, and accuracy 100% are identified as the best mother wavelets for training SVM classifiers with a 5-fold cross-validation setting. Daubechies 5 and Symlet 3 achieve perfect accuracy (100%) and discussing whether this could indicate potential overfitting. SVM classifier is strong theoretical foundations, offer better scalability and efficiency, especially when dealing with large datasets or real-time applications. This makes the SVM classifier more suitable for modern fault detection systems, where both accuracy and speed are critical.
-
Table 6: For this comparison, we designed and trained a SVM model using the same dataset of wavelet-transformed fault signals. The SVM was tasked with learning patterns from the input wavelet coefficients to classify different fault types. We evaluated its performance on the same metrics as the traditional classifiers (accuracy, Training time, and Prediction speed). Preliminary results indicate that the SVM achieved comparable accuracy to the best-performing traditional classifiers (such as DT, KNN, Logistic Regression, Naive Bayes, Ensemble, etc.). Also, Table 5, presents a comparative analysis of training model types based on the accuracy of validations and tests at their respective training times. The Fine Gaussian SVM (SVM) with a 5-fold cross-validation has the best validation and test accuracy, at 100%, and the quickest training time of 0.67957 s.
-
Figs. 6 and 7, and 8 demonstrate the performance of the SVM classifiers with 53 wavelet functions in selecting suitable wavelet function (mother wavelet) in DWT for fault detection methodology, that represent the comparative performance of the wavelet transform combined with SVM classifiers. These figures present a comparative analysis of training model types based on the accuracy of validations and tests at their respective training times. This assessment aids in the selection of the most optimal model. A five-fold cross-validation is used to protect against the occurrence of overfitting. As illustrated in Fig. 6, sym3 outperforms db5, achieving higher classification accuracy. Specifically, db5’s accuracy for phase A using the Coarse Gaussian SVM is reported at 58.8%.
-
While db5 is effective, sym3 demonstrates superior performance in classification accuracy, especially for fault detection in current signals. Therefore, for this application, sym3 is recommended as the optimal mother wavelet. The critical step involves extracting the most significant feature from the sym3 mother wavelet at level8 (D8), which captures essential characteristics of the fault current.
Challenges of the proposed technique
The proposed technique is robust and effective; however, several challenges and limitations are recognized, and ongoing efforts aim to address them. To check its validity and capability to solve these challenges, as:
-
1-
Adaptive decomposition levels: While a fixed decomposition level (D8) was optimal for the IEEE-16 bus system, an adaptive approach could enhance fault detection accuracy across different network configurations.
-
2-
Generalization across network types: The scheme’s applicability to other network types, such as transmission or microgrid systems, requires further investigation and adjustments.
-
3-
Real-time implementation: Transitioning the method from simulation to real-time applications will require efficient algorithms and high-speed processing capabilities.
Conclusion
The paper proposes a technique for selecting the decomposition level and wavelet function in wavelet techniques using MWT, particularly DWT for fault signal analysis, to enhance power distribution network fault detection. The appropriate level is identified by detecting the highest energy percentage in detail coefficients, with the most energy found in scales D9 (b4), D8 (b5), and D7 (b6), and D8 having the highest concentration. The maximum value of D8 will be used as input to SVM classifiers. The optimal mother wavelet is chosen based on the training time, prediction speed, and accuracy of the SVM classifiers, with sym3 wavelets proving to be the most effective. Extensive simulation tests are carried out to investigate the performance of proposed technique. The proposed approach reliably differentiates normal switching operations from fault events, whether distributed generation (DG) is present or absent. This highlights the robustness of the wavelet transform in analyzing transient signals and the effectiveness of the SVM classifier in making precise classifications, even under challenging operating conditions.
Data availability
The data that support the findings of this study are available from the corresponding authors upon reasonable request.
References
Santos, G. G., Menezes, T. S., Barra, P. H. A. & Vieira, J. C. M. An efficient fault diagnostic approach for active distribution networks considering adaptive detection thresholds. Int. J. Electr. Power Energy Syst. 136, 107663 https://doi.org/10.1016/j.ijepes.2021.107663 (2022).
De La Cruz, J., Gómez-Luna, E., Ali, M. & Vasquez, J. C. and J. M. Guerrero. Fault location for distribution smart grids: Literature overview, challenges, solutions, and future trends. Energies 16 (5), 2280 https://doi.org/10.3390/en16052280 (2023).
Bindi, M., Piccirilli, M. C., Luchetta, A. & Grasso, F. A comprehensive review of fault diagnosis and prognosis techniques in high voltage and medium voltage electrical power lines. Energies 16 (21), 7317 https://doi.org/10.3390/en16217317 (2023).
Shafei, A. P., Silva, J. F. A. & Monteiro, J. Convolutional neural network approach for fault detection and characterization in medium voltage distribution networks. E-prime-advances Elect. Eng. Electron. Energy 100820 https://doi.org/10.1016/j.prime.2024.100820 (2024).
Ibrahim, A. H. M., Sadanandan, S. K., Ghaoud, T., Rajkumar, V. S. & Sharma, M. Incipient fault detection in power distribution networks: review, analysis, challenges and future directions. IEEE Access https://doi.org/10.1109/ACCESS.2024.3443252 (2024).
Marković, M. & Bossart, M. Hodge. Machine learning for modern power distribution systems. J. Renew. Sustain. Energy 15, 3 https://doi.org/10.1063/5.0147592 (2023).
Hojabri, M., Nowak, S. & Papaemmanouil, A. ML-based intermittent fault detection, classification, and branch identification in a distribution network. Energies 16 (16), 6023 https://doi.org/10.3390/en16166023 (2023).
Medattil Ibrahim, A. H. & Sharma, M. & Subramaniam Rajkumar V. Integrated fault detection, classification and section identification (I-FDCSI) method for real distribution networks using µPMUs. Energies 16 (11), 4262 https://doi.org/10.3390/en16114262 (2023).
Salman, H. M., Pasupuleti, J. & Sabry, A. H. Review on causes of Power outages and their occurrence: mitigation strategies. Sustainability 15, 15001 https://doi.org/10.3390/su152015001 (2023).
William, H. CRC press,. Kersting. Distribution system modeling and analysis. in Electric power generation, transmission, and distribution 26–1 (2018).
Sallam, A. A. & Malik, O. P Electr. Distribution Syst. (2018).
Phadke, A. G., Wall, P., Ding, L. & Terzija, V. Improving the performance of power system protection using wide area monitoring systems. J. Mod. Power Syst. Clean. Energy 4, 319–331 https://doi.org/10.1007/s40565-016-0211-x (2016).
Gururajapathy, S. S., Mokhlis, H. & Illias, H. A. Fault location and detection techniques in power distribution systems with distributed generation: a review. Renew. Sustain. Energy Rev. 74, 949–958 https://doi.org/10.1016/j.rser.2017.03.021 (2017).
Akan, A. & Cura, O. K. Time–frequency signal processing: today and future. Digit. Signal. Process. 119, 103216 https://doi.org/10.1016/j.dsp.2021.103216 (2021).
Wirsing, K. Time frequency analysis of wavelet and fourier transform. Wavelet Theory 3, 20 (2020).
Anilkumar, P. H. & Beulet, P. A. Lifting-based discrete wavelet transform for real-time signal detection. Indian J. Sci. Technol. 8, 1–6 https://doi.org/10.17485/ijst/2015/v8i25/80301 (2015).
Guo, T. et al. A review of wavelet analysis and its applications: challenges and opportunities. IEEe Access 10, 58869–58903 https://doi.org/10.1109/ACCESS.2022.3179517 (2022).
Frimpong, E. A., Okyere, P. Y. & Anto, E. K. Adaptive single-pole autoreclosure scheme based on wavelet transform and multilayer perceptron. J. Sci. Technol. (Ghana) 30 (1). https://doi.org/10.4314/just.v30i1.53943 (2010).
Rhif, M., Ben Abbes, A., Farah, I. R., Martínez, B. & Sang, Y. Wavelet transform application for/in non-stationary time-series analysis: a review. Appl. Sci. 9, 1345. https://doi.org/10.3390/app9071345 (2019).
Kang, Y., Liu, H., Aziz, M. M. A. & Kassim, K. A. A wavelet transform method for studying the energy distribution characteristics of microseismicities associated rock failure. J. Traffic Transp. Eng. 6 (6), 631–646. https://doi.org/10.1016/j.jtte.2018.03.007 (2019).
Quandt, V. I., Pacola, E. R., Pichorim, S. F., Gamba, H. R. & Sovierzoski, M. A. Pulmonary crackle characterization: approaches in the use of discrete wavelet transform regarding border effect, mother-wavelet selection, and subband reduction. Res. Biomed. Eng. 31 (2), 148–159. https://doi.org/10.1590/2446-4740.0639 (2015).
Beldjaatit, C., Sebbagh, T., Bouanik, S. & Guentri, H. Optimal level and base mother wavelet selection for wavelet analysis in wind turbine health monitoring. Algerian J. Renew. Energy Sustain. Dev. 5 (2), 191–201 (2020).
Nematallah, H. & Rajan, S. Quantitative analysis of mother wavelet function selection for wearable sensors-based human activity recognition. Sensors 24, 2119. https://doi.org/10.3390/s24072119 (2024).
Atangana, R., Tchiotsop, D., Kenne, G. & Laurent Chanel Djoufack Nkengfack Suitable mother wavelet selection for EEG signals analysis: frequency bands decomposition and discriminative feature selection. Signal. Image Process. Int. J. 11, 33–49. (2020).
Bruni, V., Cardinali, M. L. & Vitulano, D. An MDL-based wavelet scattering features selection for signal classification. Axioms 11, 376. https://doi.org/10.3390/axioms11080376 (2022).
Lagun, I., Nakonechnyy, A. & Samotyy, V. Using fuzzy logic to optimise the selection of mother wavelets. Tech. Trans. 115, 107–114. https://doi.org/10.4467/2353737XCT.18.040.8302 (2018).
Chen, S. & Zhu, H. Y. Wavelet transform for processing power quality disturbances. EURASIP J. Adv. Signal Process. 1–20. https://doi.org/10.1155/2007/47695 (2007).
Magagula, X. G., Hamam, Y., Jordaan, J. A. & Yusuff, A. A. IEEE,. Fault detection and classification method using DWT and SVM in a power distribution network. in 2017 IEEE PES PowerAfrica 1–6. https://doi.org/10.1109/PowerAfrica.2017.7991190 (2017).
Magagula, X. G., Hamam, Y., Jordaan, J. A. & Yusuff, A. A. A fault classification and localization method in a power distribution network. in 2017 IEEE AFRICON 1337–1343. (IEEE, 2017).
Moloi, K., Jordaan, J. A. & Abe, B. T. IEEE, Development of a hybrid fault diagnostic method for power distribution network. in 2019 IEEE AFRICON 1–4. https://doi.org/10.1109/AFRICON46755.2019.9133784 (2019).
Moloi, K. & Akumu, A. O. Power distribution fault diagnostic method based on machine learning technique. in IEEE PES/IAS PowerAfrica 238–242. https://doi.org/10.1109/PowerAfrica.2019.8928633 (IEEE, 2019).
Pricop, C., Pricop, M. & Novac, G. Mother wavelet selection using signal energy for cracks detection in the rotation shafts. Sci. Bulletin’Mircea Cel Batran’Naval Acad. 23, 1–11. https://doi.org/10.21279/1454-864X-20-I2-009 (2020).
Morsi, W. G. & El-Hawary, M. E. The most suitable mother wavelet for steady-state power system distorted waveforms. in Canadian Conference on Electrical and Computer Engineering 17–22. https://doi.org/10.1109/CCECE.2008.4564487 (2008).
Kharate, G. K., Ghatol, A. A. & Rege, P. P. Selection of mother wavelet for image compression on basis of image. in International Conference on Signal Processing, Communications and Networking 281–285. https://doi.org/10.1109/ICSCN.2007.350747 (2007).
Jana, D. K., Bhunia, P., Adhikary, S., Das & Mishra, A. Analyzing of salient features and classification of wine type based on quality through various neural network and support vector machine classifiers. Results Control Optim. 11, 100219. https://doi.org/10.1016/j.rico.2023.100219 (2023).
Selvi, M. S. & Rani, S. J. Classification of admission data using classification learner toolbox. in Journal of Physics: Conference Series vol. 1979, 012043 https://doi.org/10.1088/1742-6596/1979/1/012043 (IOP Publishing, 2021).
Qiu, J., Lu, X., Wang, X. & Hu, X. IOP Publishing, Research on rice disease identification model based on migration learning in VGG network. in IOP conference series: earth and environmental science vol. 680 012087. https://doi.org/10.1088/1755-1315/680/1/012087 (2021).
Fauzi, M. F. A., Nordin, R., Abdullah, N. F. & Alobaidy, H. A. H. Mobile network coverage prediction based on supervised machine learning algorithms. IEEE Access. 10, 55782–55793. https://doi.org/10.1109/ACCESS.2022.3176619 (2022).
Dawood, Z. & CK, B. Power quality disturbance classification based on efficient adaptive Arrhenius artificial bee colony feature selection. Int. Trans. Electr. Energy Syst. 31, e12868. https://doi.org/10.1002/2050-7038.12868 (2021).
Shariatinasab, R., Akbari, M. & Aghaebrahimi, M. R. IEEE, A novel wavelet-neural network method for fault location analysis on transmission lines. in 2012 16th IEEE Mediterranean Electrotechnical Conference 963–966. https://doi.org/10.1109/MELCON.2012.6196587 (2012).
Agarwal, H., Tiwari, R. S. & Sharma, J. P. A Review of Signal Processing Techniques for Detection and Classification of Faults in Transmission lines. In 2024 3rd International conference on Power Electronics and IoT Applications in Renewable Energy and its Control (PARC) pp. 433–438. (IEEE, 2024).
Zhang, C., Mousavi, A. A., Masri, S. F. & Gholipour, G. The state-of-the-art on time-frequency signal processing techniques for high-resolution representation of nonlinear systems in engineering. Arch. Comput. Methods Eng. 1–22, (2024).
Silik, A., Noori, M., Altabey, W. A., Ghiasi, R. & Wu, Z. Comparative analysis of wavelet transform for time-frequency analysis and transient localization in structural health monitoring. Struct. Durab. Health Monit. 15 (1), 1 (2021).
Sipai, U. et al. Performance Evaluation of Discrete Wavelet Transform and Machine Learning Based Techniques for Classifying Power Quality Disturbances (IEEE Access, 2024).
Tian, A. et al. Noise-robust machinery fault diagnosis based on self-attention mechanism in wavelet domain. Measurement 207, 112327 (2023).
Guo, T. et al. A review of wavelet analysis and its applications: challenges and opportunities. IEEE Access 10, 58869–58903 (2022).
Moloi, K., Ntombela, M., Mosetlhe, T. C. & Ayodele, T. R. and A. A. Yusuff Feature extraction based technique for fault classification in power distribution system. in IEEE PES/IAS PowerAfrica pp. 1–5. (IEEE, 2021).
Cabus, J. E. U. & Altaş, İ. H. Machine learning model applications for fault detection and classification in distributed power networks. Int. J. Data Sci. Appl. 4 (2), 11–18 (2021).
El-Tawab, H. S., Mohamed, A., Refky & Abdel-Aziz A. M. Self-healing of active distribution networks by accurate fault detection, classification, and location. J. Elect. Comput. Eng. https://doi.org/10.1155/2022/4593108 (2022).
Ponukumati, B. K., Sinha, P., Maharana, M. K., Kumar, A. V. P. & Karthik, A. An intelligent fault detection and classification scheme for distribution lines using machine learning. Eng. Technol. Appl. Sci. Res. 12 (4), 8972–8977 (2022).
Kurup, A. R., Summers, A., Bidram, A. & Reno, M. J. and M. Martínez-Ramón. Ensemble models for circuit topology estimation, fault detection and classification in distribution systems. Sustain. Energy Grids Netw. 34, 101017, (2023).
Aiswarya, R., Nair, D. S., Rajeev, T. & Vinod, V. A novel SVM based adaptive scheme for accurate fault identification in microgrid. Electr. Power Syst. Res. 221, 109439 (2023).
Bramareswara Rao, S. N. V., Kumar, Y. P., Amir, M. & Muyeen, S. M. Fault detection and classification in hybrid energy-based multi-area grid-connected microgrid clusters using discrete wavelet transform with deep neural networks. Electr. Eng. 1–18, (2024).
Cano, A., Arévalo, P., Benavides, D. & Jurado, F. Integrating discrete wavelet transform with neural networks and machine learning for fault detection in microgrids. Int. J. Electr. Power Energy Syst. 155, 109616 (2024).
Bhatnagar, M., Yadav, A. & Swetapadma, A. Integrating distributed generation and advanced deep learning for efficient distribution system management and fault detection. Arab. J. Sci. Eng. https://doi.org/10.1007/s13369-023-08663-2 (2024).
Jaganathan, K. & L. KANDASAMY and Intelligent protection scheme using combined Stockwell-Transform and deep learning-based fault diagnosis for the active distribution system. Turk. J. Electr. Eng. Comput. Sci. 32 (2), 234–250 (2024).
Basher, B. G., Ghanem, A., Abulanwar, S., Hassan, M. K. & Rizk, M. E. Fault classification and localization in microgrids: leveraging discrete wavelet transform and multi-machine learning techniques considering single point measurements. Electr. Power Syst. Res. 231, 110362 (2024).
Narasannavar, S., Kannur, R. & Karajgi, S. B. Restoration of power supply in a multiple feeder distribution network using Dijkstra’s algorithm. Int. J. Curr. Eng. Technol. 4 (3), 1972–1975 (2014).
Afia, A. et al. Intelligent fault classification of air compressors using Harris hawks optimization and machine learning algorithms. Trans. Inst. Meas. Control 46 (2), 359–378 https://doi.org/10.1177/01423312231174939 (2024).
Sharma, A., Patra, G. K. & Naidu, V. P. S. Machine learning-based bearing fault classification using higher order spectral analysis. Def. Sci. J. 74 (4). https://doi.org/10.14429/dsj.74.19307 (2024).
Funding
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).
Author information
Authors and Affiliations
Contributions
“Esraa M. Shalby wrote the manuscript and prepare all figures and results.“” Eman S. Ahmed and Almoataz Y. Abdelaziz reviewed carefully the manuscript and all results.“"Basem Abd-Elhamed Rashad reviewed the manuscript.“All authors reviewed the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Electronic supplementary material
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Shalby, E.M., Abdelaziz, A.Y., Ahmed, E.S. et al. A comprehensive guide to selecting suitable wavelet decomposition level and functions in discrete wavelet transform for fault detection in distribution networks. Sci Rep 15, 1160 (2025). https://doi.org/10.1038/s41598-024-82025-2
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-024-82025-2
Keywords
This article is cited by
-
Transmission line fault detection and classification using bi-orthogonal wavelet transform (5.5) based signal decomposition
Scientific Reports (2026)
-
A review: Application of acoustic emission technology in grinding wheel condition monitoring
The International Journal of Advanced Manufacturing Technology (2026)
-
A comprehensive EEG dataset and performance assessment for Autism Spectrum Disorder
Scientific Reports (2025)
-
An enhanced protection scheme for power transformers integrating alpha plane analysis
Scientific Reports (2025)













