Next Article in Journal
Land Consolidation and Its Effects on Afforested Agricultural Land: A Case Study of Ukraine
Previous Article in Journal
Effect of High Temperature on CO2 Gasification Kinetics of Sub-Bituminous Coal Fly Ash
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Fault Detection and Classification in AC Microgrids Through a Combination of Data Processing Techniques and Deep Neural Networks

by
Behrooz Taheri
1,
Seyed Amir Hosseini
2,* and
Hamed Hashemi-Dezaki
3,*
1
Department of Electrical Engineering, Qazvin Branch, Islamic Azad University, Qazvin 34199-15195, Iran
2
Electrical and Computer Engineering Group, Golpayegan College of Engineering, Isfahan University of Technology, Golpayegan 87717-67498, Iran
3
Department of Electrical and Computer Engineering, University of Kashan, 6 km Ghotbravandi Blvd., Kashan 87317-53135, Iran
*
Authors to whom correspondence should be addressed.
Sustainability 2025, 17(4), 1514; https://doi.org/10.3390/su17041514
Submission received: 3 January 2025 / Revised: 3 February 2025 / Accepted: 7 February 2025 / Published: 12 February 2025
(This article belongs to the Special Issue Advanced Developments in the Protection and Control of Power Systems)

Abstract

:
This paper introduces an innovative method for the intelligent protection of AC microgrids that incorporate renewable energy sources and electric vehicle charging stations. To extract relevant features, current signals from both sides of the distribution line are sampled. Subsequently, the differential current is calculated, and the resultant signals are processed using Compressed Sensing Theory and Variational Mode Decomposition to extract key features. These extracted features serve as input data for training the proposed wide and deep learning model. The proposed method was evaluated on a microgrid that incorporated electric vehicle chargers and wind turbines. The results indicate that this approach can effectively identify and categorize different types of faults in AC microgrids. Moreover, it demonstrates stable and dependable performance in the face of typical transients, and its accuracy is not influenced by uncertainties in the microgrid topology.

1. Introduction

One of the primary obstacles impeding the advancement of microgrids is ensuring the protection of these systems [1]. Conventional fault detection techniques for distribution networks typically depend on the magnitude and direction of short-circuit currents. Nevertheless, the incorporation of electric vehicles (EVs) and distributed generators (DGs) has altered the formerly passive characteristics of traditional distribution networks, resulting in bidirectional power flow within microgrids [2,3]. The uncertainty in microgrid topology, arising from the diverse types of DGs and EVs, as well as the dynamic nature of their connection to the grid, further complicates the protection process. Given these uncertainties, designing a protection scheme capable of detecting and classifying faults across all operational topologies of microgrids is highly complex [4].
In addition to their efficiency in various operational topologies, fault detection and classification methods must be capable of distinguishing between transient and permanent faults, as well as detecting high-impedance faults [4]. The inherent uncertainty in microgrid topology makes it susceptible to transients caused by switching operations. These switching surges, primarily resulting from the connection and disconnection of DGs and EVs, as well as mode transitions within the microgrid, can potentially be misidentified as faults by fault detection methods, especially when multiple surges occur simultaneously [5,6,7].
Several studies have explored fault detection and classification methods for microgrids. These methods can be categorized into various approaches [4,8]. A significant portion of these studies focuses on processing sampled voltage and current signals. For instance, the authors of [9,10] propose fault detection techniques by transforming signals from the abc to the dq reference frame. However, these methods may not effectively address transient disturbances arising from microgrid topology changes. Other studies, such as reference [11], employ zero-sequence and negative-sequence components for low-impedance fault detection and transient components for high-impedance fault detection. While this approach can be effective, it may not fully account for the impact of network topology variations and transients. Wavelet-based techniques, as explored in references [12,13,14,15], have been utilized for fault detection. These methods, including the combination of wavelet analysis and cross-overlap differential transformation proposed in [16], can be sensitive to noise and transient waves caused by switching operations in microgrid topologies. Other techniques, such as those based on signal energy differentials in references [17,18,19] and harmonic analysis in references [20,21], have also been proposed. While these methods can be effective in certain scenarios, they may require data synchronization or may be limited to specific fault types. For instance, the method proposed in [21] detects faults by calculating the ratio of zero-sequence current to positive-sequence current in the fifth harmonic of the current. Due to its reliance on zero-sequence current, this method is limited to ground fault detection. In reference [22], the direction of active power flow, current amplitude, and voltage flash are used to detect low-impedance faults in microgrids equipped with inverter-based DGs. In reference [23], phase difference and admittance amplitude measurements at each bus are utilized for fault detection. Traveling-wave-based methods in reference [24] offer high-speed fault detection but require high sampling rates and complex calculations to determine the traveling wave propagation speed [25]. Statistical-based methods, such as the one proposed in [26], detect faults by calculating the standard deviation of the average voltage and frequency from their normal values. However, these methods may be less sensitive to certain fault types. In summary, while various fault detection methods have been proposed for microgrids, many of them have limitations in terms of their ability to handle dynamic topologies, transient disturbances, and diverse fault types.
In contrast to signal-processing-based methods, machine learning methods have gained significant attention for addressing the challenges of microgrid protection due to the increasing availability and reliability of data [26]. In reference [27], various machine learning methods in microgrid protection were categorized. Accordingly, machine learning patterns have been categorized into two general categories: shallow-based algorithms and deep-based algorithms [27]. Shallow learning methods, such as the Decision Tree (DT) in [28], Support Vector Machine (SVM) in [29], Adaptive Neuro-Fuzzy Inference System (ANFIS) in [30], Extreme Learning Machine (ELM) in [31], K-Nearest Neighbor Regression (KNN) in [32], and Random Forest (RF) in [33], have been widely applied to microgrid fault detection. However, these methods may struggle to capture complex patterns [34], particularly in microgrids with significant topological uncertainty and transient states caused by frequent switching operations. This limitation has motivated the development of more sophisticated methods that can effectively address these challenges and accurately distinguish between permanent faults and transient disturbances. The authors of [35] introduced a hybrid method that integrates discrete wavelet transform and deep neural networks (DWT-DNN) to detect and classify fault types in AC microgrids. Reference [36] presents a hybrid method based on wavelet transform and deep neural networks. The most significant issues with these references are their low accuracy in error detection and classification and their failure to consider the wind turbine and electric vehicle charger.
Accordingly, this paper presents a novel approach to fault detection and classification based on wide and deep learning (WDL) models. The proposed method leverages a dual signal processing algorithm, combining Compressed Sensing Theory (CST) proposed in [37] and Variational Mode Decomposition (VMD) proposed in [38], to extract features from time-series signals. The extracted features from the CST and VMD are then fed separately into the WDL model. The CST-derived features primarily contribute to fault detection, while the VMD-derived features play a crucial role in fault classification. Importantly, the WDL model’s interconnected layers enable information sharing between both sections, enhancing overall accuracy. The microgrid under study was simulated in MATLAB Simulink 2023b, and various fault scenarios were implemented and analyzed. Signal processing and feature extraction were carried out in Python. The extracted features were stored in a CSV file and used to train the WDL model. Results from various studies demonstrate the proposed method’s ability to detect faults while considering microgrid topological uncertainties. Additionally, it effectively distinguishes between transient states caused by switching operations and permanent faults. Comparative analysis with previous studies highlights the superior performance of the proposed method.
The organization of this paper is outlined as follows: Section 2 details the formulation of the proposed method. Section 3 presents the simulation results of the proposed method applied to a sample network, along with a comparative analysis with prior studies. Section 4 contrasts the key functionalities of the proposed method with the latest developments in fault detection techniques.

2. Problem Formulation

To address the necessity of a comprehensive method for fault detection and classification in AC microgrids, this section presents the new formulation proposed in this paper, as well as the intelligent algorithm designed to achieve the intended objectives.

2.1. Feature Exctraction

In this study, dual signal processing was used to extract features. First, the current signal from both sides of the protected line is sampled. The current data from both sides of the line are then summed together, and their absolute values are calculated for each phase. The first signal processing model is the CST, which will be discussed in the following to express the governing relations of this model. The CST is a signal processing method that has attracted much attention from power system protection researchers in recent years due to the need for low sampling rates and high speed in fault detection [37,39,40]. When using the CST, many of the less important sampling data are zeroed. Essentially, the CST relies on non-adaptive random sampling. The structure of the CST model can be described using Equation (1) [41].
y = φ x
where x R n or x C n represents the input signal of length n , φ R m × n or φ C m × n denotes a random measurement matrix m × n , and y R m or y C m is a measurement vector length n . Compression is performed by multiplying the input signal with a random measurement matrix. The measured data size, denoted as m < < n , is much smaller than the length of the input signal.
Signal compression necessitates the use of a random matrix, which is commonly referred to as and can be computed using Equation (2) [42,43].
φ = H P
Matrices P and H are shown in Equations (3) and (4) [41]. Accordingly, the matrix P is a diagonal matrix n × n with elements p i + / 1 . The matrix H is a matrix m × n . The number of samples in each row of matrix H determines the number of samples needed for the measurement by the ratio R = [ n / m ] .
P = p 1 . . . p n
H = 111 . . . 111 . . . 111 . . .
Variable x ~ can be calculated as Equation (5).
x ~ = P x
Accordingly, Equation (1) can be rewritten as Equation (6).
y = H x ~
Equation (6) effectively describes the signal compression process. In this equation, the compressed signal y is defined as the product of the matrix H and the transformed signal x ~ . This implies that H has a structure comprising a finite number of samples and serves the purpose of data compression. Since H consists of rows with correlated and repeated values, it effectively eliminates unnecessary parts of the signal while retaining only the essential information. As a result, the dimensions of the signal x ~ are reduced, producing a signal y that is prepared for further analysis or processing. Given the established structure for H and P , Equation (6) illustrates that the original signal x is transformed into a more optimal form after applying the random diagonal matrix P and subsequently compressed using the matrix H . This approach is highly efficient due to its preservation of the signal’s sparsity property and the reduction in the number of samples while simultaneously ensuring that the original information of the signal remains intact in the compressed state y .
In this study, the Discrete Fourier Transform Matrix (DFTM) was utilized to create the random matrix. The method for using DFTM to apply the CST to a signal is explained in reference [37].
Figure 1 shows the changes in the real and imaginary parts obtained by applying the CST to the current signal in phase a. As clearly shown, the features extracted from the CST signal can be very suitable for fault detection, but using these features does not seem suitable for fault classification. For this reason, an auxiliary signal processing method needs to be used.
The VMD signal processing technique is a method that can dynamically separate a signal into a collection of Intrinsic Mode Functions (IMFs). Overall, employing VMD can significantly mitigate the challenges related to the signal processing techniques of Local Mean Decomposition (LMD) and Empirical Mode Decomposition (EMD) [44]. In reality, using Equation (7), a raw signal stream y ( t ) can be broken down into a set of IMFs ( u k ) [44].
y ( t ) = k u k
where { u k } = { u 1 , u 2 , , u k } is the set of IMFs.
The essential factors for attaining optimal decomposition performance when addressing the constrained variational model are detailed in Equation (8) [44].
min { u k } { ω k } k | | t δ ( t ) + j π t u k ( t ) e j ω k t | | 2 2
Here, { ω k } = { ω 1 , ω 2 , , ω k } denotes the collection of central frequencies for each IMF. Furthermore, δ , | | | | 2 , and signify the Dirac distribution, the Euclidean norm, and the convolution operator, respectively.
To change the constrained problem into an unconstrained one, a Lagrangian coefficient λ ( t ) and a quadratic penalty term a are defined, resulting in the establishment of the associated unconstrained variation model as specified in Equation (9) [44].
L u k , ω k , λ = y ( t ) k u k ( t ) 2 2 + λ ( t ) , y ( t ) k u k ( t ) + a k t δ ( t ) + j π t * u k ( t ) e j ω k t 2 2
where u k , ω k , and λ ( t ) can be calculated from Equations (10)–(12) [44].
u ^ k n + 1   ( ω ) = y ^ ( ω ) i > k u ^ i ( ω ) + ( λ ^ ( ω ) / 2 ) 1 + 2 α ( ω ω k ) 2
ω ^ k n + 1 ( ω ) = 0 ω u ^ k ( ω ) 2 d ω 0 u ^ k ( ω ) 2 d ω
λ ^ n + 1 ( ω ) = λ ^ n ( ω ) + τ y ^ ( ω ) k u ^ k n + 1 ω
In which τ represents the update parameter, and the symbol denotes the update values of u k , ω k , λ ( t ) and y , respectively.
Figure 2 shows the IMF values extracted by VMD from the phase a current signal during the network’s normal state and at the time of fault occurrence.
In the final step of the feature extraction section, it is necessary to calculate the M E A N ,   R M S , and M A X values based on Equations (13)–(15) for each signal window after applying the CST and VMD separately to the current signal. It should be noted that, after feature extraction, these features are used to train the proposed WDL model, which will be examined in the next section.
M E A N = a b s ( S i g n a l ) l e n t g h ( S i g n a l )
R M S = i = n N S i g n a l 2 N
M A X = max S i g n a l

2.2. Proposed WDL Model

Figure 3 illustrates the proposed WDL model and Algorithm 1, demonstrating the operation of the proposed method. As shown, after applying signal processing techniques to the current signal and extracting features, the data obtained from the CST and VMD processes are input as two separate entries into the proposed WDL model.
WDL models combine two distinct approaches to machine learning. In the wide learning approach, the model includes a wide layer that receives a large set of features as input and employs linear methods. While these models can effectively capture linear relationships between inputs and outputs, they face limitations in modeling more complex relationships. In the deep learning approach, the model is composed of multiple deep layers designed to extract more complex features from the data. These models are capable of capturing nonlinear relationships, but they may not perform as well on simple linear relationships. WDL models aim to combine the advantages of both approaches. They consist of a wide component (wide layers) and a deep component (deep neural networks). The wide component allows the model to effectively capture linear relationships, while the deep component enables the modeling of more complex relationships. By integrating these two approaches, WDL models can achieve better performance than either approach alone.
Algorithm 1: Fault Classification in AC Microgrids Using Signal Processing and Deep Learning
Input: I ( t ) : Current signal of the microgrid.
Output: Y p r e d : Softmax probability vector for 11 fault classes.
Algorithm Steps:
1. Signal Processing and Feature Extraction:
1.1 .   Apply   VMD   to   I ( t ) :
Decompose   I ( t ) into IMFs
1.2 .   Apply   CST   to   I ( t ) :
Extract real and image features using CST.
1.3. Compute statistical features for both VMD and CST outputs:
Mean, RMS, and MAX.
Construct   feature   matrices   X V M D and X C S T
Split the dataset into training (70%) and testing (30%) subsets.
Further split the training data into training (70%) and validation (30%) subsets.
2. Input Layers:
2.1. Define two input layers:
X V M D   and   X C S T
3. Branch 1 (VMD Feature Processing):
3.1. Dense layer (100 units, SELU, L2 regularization)→Batch Normalization.
3.2. Dense layer (50 units, SELU, L2 regularization)→Batch Normalization.
3.3. Dense layer (25 units, SELU, L2 regularization).
4. Branch 2 (CST Feature Processing):
4.1. Dense layer (50 units, SELU, L2 regularization)→Batch Normalization.
4.2. Dense layer (25 units, SELU, L2 regularization).
5. Feature Concatenation:
5.1 .   Concatenate   X V M D , X C S T , B r a n c h 1 , B r a n c h 2
6. Regularization:
6.1. Apply Dropout with a rate of 0.1 to the concatenated features.
7. Output Layer:
7.1. Dense layer with 11 units and softmax activation to produce class probabilities.
8. Training and Validation:
8.1. Train the model using the training subset (70% of the total data).
8.2. Use the validation subset (30% of the training data) for hyperparameter tuning and monitoring.
9. Testing:
9.1. Evaluate the trained model on the test subset (30% of the total data) to assess performance metrics such as accuracy, precision, recall, and F1-score.
As is well known, the WDL model utilizes dense layers with scaled exponential linear unit (SELU) activation as its primary layers. Dense layers in deep neural networks are those where each neuron is connected to all neurons in the subsequent layer, meaning they are fully connected. Such layers are extensively used in artificial neural networks.
The SELU is an activation function that has recently gained attention in deep neural networks. It is specifically designed to enhance the convergence and stability of these networks. The SELU is similar to the ReLU function but has two key differences: first, the SELU continually scales positive values and decreases negative values, rather than mapping negative values to zero. Second, the SELU includes a scaling factor that enables the network to automatically maintain constant output variance across layers. These characteristics enable neural networks using the SELU to automatically normalize and converge more quickly, particularly in deep networks. As a result, the SELU is an attractive choice for designing deep neural networks.
In this deep learning model, two different inputs from two separate datasets (VMD and CST) are provided to the model. Each input is processed through separate branches, which include dense layers with SELU activation and L2 regularization set at a coefficient of 0.01. Following each dense layer, BatchNormalization layers are added to normalize the data and improve the model’s performance. After the inputs are processed, the features from each branch are combined in a Concatenate layer. To mitigate the risk of overfitting, a Dropout layer with a rate of 10% is applied after the feature concatenation stage. The model’s output consists of a dense layer with 11 nodes that utilize Softmax activation to predict the classification labels. For model optimization, the Adam algorithm is employed along with the sparse categorical crossentropy loss function, while accuracy is considered the performance evaluation metric. The model is trained for 500 epochs with a batch size of 32, and to prevent overfitting, the “early stopping” callback is utilized. The settings and parameters of the deep learning model’s input are presented in Table 1.

3. Simulation Results

The effectiveness of the proposed method in handling various faults and transient conditions occurring in microgrids needs to be demonstrated. Therefore, this section evaluates the performance of the proposed method by applying it to a sample microgrid.

3.1. Case Study

To assess the effectiveness of the proposed method, the 19-bus network shown in Figure 4 is employed [45]. This network consists of 18 primary lines and two backup lines. The backup lines (L19 and L20) serve to provide power to loads in case one of the primary lines experiences a failure. Further details regarding this network can be found in [46].
It should be noted that various studies, including [45,46], have conducted simulations using three DGs with capacities of 4, 3, and 5 MVA installed on the grid depicted in Figure 4. However, as mentioned, wind turbines and Vehicle-to-Grid (V2G) systems can pose challenges for protection systems. Therefore, in this study, three wind turbines are connected to buses 5, 8 and 13, replacing the previously used DGs. Additionally, several electric vehicle chargers are connected to buses 3, 4, 6 and 14. The IDE is evaluated once for protecting line L9 and once for line L10. The dataset for fault types consists of 1470 instances, and there are 220 instances representing different states in which the relay should not operate. These states include transient events such as load switching, capacitor bank switching, DG entry and exit, various EV operating conditions, and out-of-zone faults. Of the entire simulated dataset, 30% is allocated for testing, and 70% is used for training. Furthermore, 30% of the training dataset is reserved for validation.
The microgrid under study was implemented in MATLAB Simulink, with various faults introduced and analyzed. Signal processing methods and feature extraction algorithms were also executed within MATLAB. After extracting the desired features, the data were saved as a CSV file and imported into Python for training the WDL model.

3.2. Accuracy of the Proposed Method When Protecting the L9 Line

To illustrate the effectiveness of the proposed protection method, simulations were conducted for single-phase, two-phase, and three-phase faults with different impedances and at various locations along the L9 line. Subsequently, feature extraction was conducted, and the resulting data were used to train the intelligent model in Python. Figure 5 illustrates the training progress of the proposed WDL model. Notably, a callbacks function was employed to prevent the model from overfitting. As evident from Figure 5, the proposed WDL model demonstrates successful training. The trends observed in loss and accuracy typically offer valuable insights into the model’s performance over time. For instance, a continuous decrease in the loss value during the training periods usually signifies an improvement in model performance and a reduction in prediction errors. Conversely, if the loss remains constant or increases at certain stages, it may indicate issues such as overfitting or inadequate model fitting to the data. An increase in accuracy indicates that the model is making more correct predictions, thereby demonstrating improved performance.
After completing model training, test data were applied to evaluate the model’s performance. In this study, two parameters— A c c u r a c y and F 1 -score—were used to assess the performance of the proposed method. The values of these parameters can be calculated using Equations (16) and (17) [47].
A c c u r a c y = Number   of   correctly   classified   samples Total   number   of   samples × 100
F 1 = Precision × Recall Precision + Recall
Additionally, the values of Precision and Recall can be calculated using Equations (18) and (19) [47].
Precision = T P T P + F P
Recall = T P T P + F N
where T P is the count of true positive samples, F P represents the count of false positive samples, and F N indicates the count of false negative samples.
The results of the model performance are shown in Figure 6. According to this figure, the proposed model demonstrates high accuracy (99.9%). Additionally, the confusion matrix (CM) of the model is presented in Figure 7. As is evident from these figures, the proposed method performs very well under various fault conditions.

3.3. Accuracy of the Proposed Method When Protecting the L10 Line

To demonstrate the efficiency of the presented model at various points in the network, this section will examine the model’s performance during the protection of the L10 line. Different fault states, as described in previous sections, were simulated on this line. After signal processing, the extracted features were exported to train the intelligent model in Python.
Figure 8 demonstrates the training progression of the suggested WDL model in the protection of the L10 line. As evidenced by this figure, the proposed WDL model was trained accurately. The results of the model’s performance are also presented in Figure 9, which indicates that the proposed model achieves high accuracy (99%). Additionally, the CM of the model is depicted in Figure 10. These figures demonstrate that the proposed method performs exceptionally well under various fault conditions.

4. Performance Comparison of the Proposed Approach

As previously reviewed, various methods have been proposed in past studies for fault detection and classification in AC microgrids. Accordingly, this section compares the proposed method in this paper with previous approaches, highlighting its advantages over past methods.

4.1. Comparison with Alternative Intelligent Methods

In this section, the performance of the proposed method is compared with KNN, SVM, RF, and XGBoost models based on Precision , Recall , and F 1 -score criteria, as shown in Table 2, for fault detection and classification on line L9.
Additionally, Figure 11 illustrates the CM obtained from the test performance results of each method. The results indicate that the proposed method outperforms the other models across all criteria. Notably, in fault classification and accurate detection, the proposed model achieves higher Precision and Recall . This improvement is attributed to the more effective feature extraction from signals and the use of the WDL model, which offers a comprehensive combination of deep and wide learning.

4.2. Comparison with Alternative Methods Discussed in Studies

The proposed method in this paper is based on hybrid signal processing and the WDL model. This method is capable of fault detection across various operational topologies of microgrids and effectively distinguishes between transient network states and permanent faults. Accordingly, Table 3 presents a comparison between this method and those presented in previous studies. As is evident from this table, many previous studies based on machine learning and deep learning methods have not considered the uncertainties imposed on microgrids by the presence of electric vehicles. Additionally, some studies have only focused on fault detection within microgrids and have not taken fault classification into account.

5. Conclusions

In this paper, a novel method for the intelligent protection of AC microgrids, including renewable energy sources and electric vehicle chargers, was presented. This method is designed based on hybrid signal processing and the WDL learning model. Utilizing features extracted from current signals, it accurately identified and classified various faults with high precision. In addition to comparisons with intelligent methods such as KNN, SVM, RFC, and XGBoost—where results indicated a significant advantage of the proposed method across all metrics, including Precision , Recall , and F 1 -score—further analyses and comparisons with different approaches in this field were conducted. These comparisons demonstrated that the proposed method, leveraging the WDL model and advanced signal processing, not only performs better in fault detection accuracy but also exhibits enhanced adaptability to topological changes and common transient states in microgrids.
The stability and flexibility of the proposed method under various operational conditions and topological changes are among its significant advantages. However, future studies can further enhance its effectiveness by focusing on reducing the computational complexity of this method and evaluating its performance on larger scales and more complex systems. Additionally, developing predictive algorithms for better resource management during critical conditions and employing reinforcement learning to enhance the method’s adaptability to environmental changes can further improve this approach. Integrating this method with new artificial intelligence techniques and comparing it with more advanced algorithms in the field of microgrid protection can also pave the way for further enhancements in this area.

Author Contributions

Conceptualization, B.T., S.A.H. and H.H.-D.; Methodology, B.T., S.A.H. and H.H.-D.; Software, B.T. and S.A.H.; Validation, B.T., S.A.H. and H.H.-D.; Formal analysis, B.T., S.A.H. and H.H.-D.; Investigation, B.T., S.A.H. and H.H.-D.; Resources, S.A.H.; Data curation, B.T. and S.A.H.; Writing—original draft, B.T. and S.A.H.; Writing—review & editing, B.T., S.A.H. and H.H.-D.; Visualization, B.T.; Supervision, S.A.H. and H.H.-D.; Project administration, S.A.H. and H.H.-D.; Funding acquisition, S.A.H. and H.H.-D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tao, L.; Schwaegerl, C.; Narayanan, S.; Zhang, J.H. From laboratory Microgrid to real markets—Challenges and opportunities. In Proceedings of the 2011 IEEE 8th International Conference on Power Electronics and ECCE Asia (ICPE & ECCE), Jeju, Republic of Korea, 30 May–3 June 2011; pp. 264–271. [Google Scholar]
  2. Pradhan, R.; Jena, P. An innovative fault direction estimation technique for AC microgrid. Electr. Power Syst. Res. 2023, 215, 108997. [Google Scholar] [CrossRef]
  3. Zarei, S.F.; Khankalantary, S. Protection of active distribution networks with conventional and inverter-based distributed generators. Int. J. Electr. Power Energy Syst. 2021, 129, 106746. [Google Scholar] [CrossRef]
  4. Hussain, N.; Nasir, M.; Vasquez, J.C.; Guerrero, J.M. Recent Developments and Challenges on AC Microgrids Fault Detection and Protection Systems—A Review. Energies 2020, 13, 2149. [Google Scholar] [CrossRef]
  5. Rashid, U.; Dhillon, J. Transients Analysis in AC Microgrid System. J. Phys. Conf. Ser. 2022, 2327, 012009. [Google Scholar] [CrossRef]
  6. Sharma, S.; Tripathy, M.; Wang, L. A novel fault detection and classification scheme for DC microgrid based on transient reactor voltage with localized back-up scheme. Int. J. Electr. Power Energy Syst. 2022, 142, 108275. [Google Scholar] [CrossRef]
  7. Tailor, J.K.; Osman, A.H. Restoration of fuse-recloser coordination in distribution system with high DG penetration. In Proceedings of the Power and Energy Society General Meeting—Conversion and Delivery of Electrical Energy in the 21st Century, Pittsburgh, PA, USA, 20–24 July 2008; pp. 1–8. [Google Scholar]
  8. Beheshtaein, S.; Cuzner, R.M.; Forouzesh, M.; Savaghebi, M.; Guerrero, J.M. DC Microgrid Protection: A Comprehensive Review. IEEE J. Emerg. Sel. Top. Power Electron. 2019, 1. [Google Scholar] [CrossRef]
  9. Al-Nasseri, H.; Redfern, M.A.; Li, F. A voltage based protection for micro-grids containing power electronic converters. In Proceedings of the Power Engineering Society General Meeting, Montreal, QC, Canada, 18–22 June 2006; p. 7. [Google Scholar]
  10. Singh, M.; Basak, P. Adaptive protection methodology in microgrid for fault location and nature detection using q0 components of fault current. IET Gener. Transm. Distrib. 2019, 13, 760–769. [Google Scholar] [CrossRef]
  11. Zamani, M.A.; Sidhu, T.S.; Yazdani, A. A Protection Strategy and Microprocessor-Based Relay for Low-Voltage Microgrids. Power Deliv. IEEE Trans. 2011, 26, 1873–1883. [Google Scholar] [CrossRef]
  12. El-Zonkoly, A.M. Fault diagnosis in distribution networks with distributed generation. Electr. Power Syst. Res. 2011, 81, 1482–1490. [Google Scholar] [CrossRef]
  13. Abo-Ahmed, P.-l.; Ahshan, R.; Abu-Khaizaran, M.; Alsayid, B.; Rahman, M. Implementing and Testing d−q WPT-Based Digital Protection for Micro-Grid Systems. IEEE Trans. Ind. Appl. 2014, 50, 2173–2185. [Google Scholar] [CrossRef]
  14. Abdelgayed, T.S.; Morsi, W.G.; Sidhu, T.S. A New Approach for Fault Classification in Microgrids Using Optimal Wavelet Functions Matching Pursuit. IEEE Trans. Smart Grid 2018, 9, 4838–4846. [Google Scholar] [CrossRef]
  15. Zheng, X.; Zeng, Y.; Zhao, M.; Venkatesh, B. Early Identification and Location of Short-Circuit Fault in Grid-Connected AC Microgrid. IEEE Trans. Smart Grid 2021, 12, 2869–2878. [Google Scholar] [CrossRef]
  16. Huang, H.; Gong, Z.; Shu, H.; Tian, X. Microgrid Fault Detection Method Based on Sequential Overlapping Differential Transform. In Proceedings of the 2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2), Wuhan, China, 30 October–1 November 2020; pp. 2308–2313. [Google Scholar]
  17. Samantaray, S.R.; Joos, G.; Kamwa, I. Differential energy based microgrid protection against fault conditions. In Proceedings of the Innovative Smart Grid Technologies (ISGT), Washington, DC, USA, 16–20 January 2012; pp. 1–7. [Google Scholar]
  18. Gururani, A.; Mohanty, S.R.; Mohanta, J.C. Microgrid protection using Hilbert–Huang transform based-differential scheme. IET Gener. Transm. Distrib. 2016, 10, 3707–3716. [Google Scholar] [CrossRef]
  19. Dharmapandit, O.; Patnaik, R.K.; Dash, P.K. A Fast Time-Frequency Response Based Differential Spectral Energy Protection of AC Microgrids Including Fault Location. Prot. Control Mod. Power Syst. 2017, 2, 1–28. [Google Scholar] [CrossRef]
  20. Al-Nasseri, H.; Redfern, M.A. Harmonics content based protection scheme for Micro-grids dominated by solid state converters. In Proceedings of the 2008 12th International Middle-East Power System Conference, MEPCON 2008, Aswan, Egypt, 12–15 March 2008; pp. 50–56. [Google Scholar]
  21. Petit, M.; Le Pivert, X.; Garcia-Santander, L. Directional relays without voltage sensors for distribution networks with distributed generation: Use of symmetrical components. Electr. Power Syst. Res. 2010, 80, 1222–1228. [Google Scholar] [CrossRef]
  22. Pinto, J.O.C.P.; Moreto, M. Protection strategy for fault detection in inverter-dominated low voltage AC microgrid. Electr. Power Syst. Res. 2021, 190, 106572. [Google Scholar] [CrossRef]
  23. Zhang, F.; Mu, L. New protection scheme for internal fault of multi-microgrid. Prot. Control Mod. Power Syst. 2019, 4, 14. [Google Scholar] [CrossRef]
  24. Dong, X.; Shi, S. Identifying Single-Phase-to-Ground Fault Feeder in Neutral Noneffectively Grounded Distribution System Using Wavelet Transform. IEEE Trans. Power Deliv. 2008, 23, 1829–1837. [Google Scholar] [CrossRef]
  25. Deshmukh, B.; Kumar Lal, D.; Biswal, S. A reconstruction based adaptive fault detection scheme for distribution system containing AC microgrid. Int. J. Electr. Power Energy Syst. 2023, 147, 108801. [Google Scholar] [CrossRef]
  26. Srivastava, A.; Parida, S.K. Data driven approach for fault detection and Gaussian process regression based location prognosis in smart AC microgrid. Electr. Power Syst. Res. 2022, 208, 107889. [Google Scholar] [CrossRef]
  27. Zaben, M.M.; Worku, M.Y.; Hassan, M.A.; Abido, M.A. Machine Learning Methods for Fault Diagnosis in AC Microgrids: A Systematic Review. IEEE Access 2024, 12, 20260–20298. [Google Scholar] [CrossRef]
  28. Hosseini, S.A.; Askarian Abyaneh, H.; Sadeghi, S.H.H.; Eslami, R. Improving Adaptive Protection to Reduce Sensitivity to Uncertainties Which Affect Protection Coordination of Microgrids. Iran. J. Sci. Technol. Trans. Electr. Eng. 2018, 42, 63–74. [Google Scholar] [CrossRef]
  29. 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. 2023, 221, 109439. [Google Scholar] [CrossRef]
  30. Mbey, C.F.; Foba Kakeu, V.J.; Boum, A.T.; Souhe, F.G.Y. Fault detection and classification using deep learning method and neuro-fuzzy algorithm in a smart distribution grid. J. Eng. 2023, 2023, e12324. [Google Scholar] [CrossRef]
  31. Hadaeghi, A.; Samet, H.; Ghanbari, T. Multi extreme learning machine approach for fault location in multi-terminal high-voltage direct current systems. Comput. Electr. Eng. 2019, 78, 313–327. [Google Scholar] [CrossRef]
  32. Gangwar, A.K.; Shaik, A.G. k-Nearest neighbour based approach for the protection of distribution network with renewable energy integration. Electr. Power Syst. Res. 2023, 220, 109301. [Google Scholar] [CrossRef]
  33. Srivastava, A.; Kumar, A.; Kumar, A.; Sriharsh, S.; Parida, S.K.; Priyadarshi, H. Random Forest based Fault Detection and Localization in Microgrid using Simplified Measurements. In Proceedings of the 2023 IEEE IAS Global Conference on Emerging Technologies (GlobConET), London, UK, 19–21 May 2023; pp. 1–6. [Google Scholar]
  34. Xu, Y.; Zhou, Y.; Sekula, P.; Ding, L. Machine learning in construction: From shallow to deep learning. Dev. Built Environ. 2021, 6, 100045. [Google Scholar] [CrossRef]
  35. Bramareswara Rao, S.; Kumar, Y.P.; Amir, M.; Muyeen, S. Fault detection and classification in hybrid energy-based multi-area grid-connected microgrid clusters using discrete wavelet transform with deep neural networks. Electr. Eng. 2024, 1–18. [Google Scholar] [CrossRef]
  36. James, J.; Hou, Y.; Lam, A.Y.; Li, V.O. Intelligent fault detection scheme for microgrids with wavelet-based deep neural networks. IEEE Trans. Smart Grid 2017, 10, 1694–1703. [Google Scholar]
  37. Nazari, A.A.; Hosseini, S.A.; Taheri, B. Improving the performance of differential relays in distinguishing between high second harmonic faults and inrush current. Electr. Power Syst. Res. 2023, 223, 109675. [Google Scholar] [CrossRef]
  38. Dragomiretskiy, K.; Zosso, D. Variational Mode Decomposition. IEEE Trans. Signal Process. 2014, 62, 531–544. [Google Scholar] [CrossRef]
  39. Taheri, B.; Sedighizadeh, M. Detection of power swing and prevention of mal-operation of distance relay using compressed sensing theory. IET Gener. Transm. Distrib. 2020, 14, 5558–5570. [Google Scholar] [CrossRef]
  40. Salehimehr, S.; Miraftabzadeh, S.M.; Brenna, M. A Novel Machine Learning-Based Approach for Fault Detection and Location in Low-Voltage DC Microgrids. Sustainability 2024, 16, 2821. [Google Scholar] [CrossRef]
  41. Rani, M.; Dhok, S.B.; Deshmukh, R.B. A Systematic Review of Compressive Sensing: Concepts, Implementations and Applications. IEEE Access 2018, 6, 4875–4894. [Google Scholar] [CrossRef]
  42. Baraniuk, R.G. Compressive Sensing [Lecture Notes]. IEEE Signal Process. Mag. 2007, 24, 118–121. [Google Scholar] [CrossRef]
  43. Candes, E.J.; Wakin, M.B. An Introduction To Compressive Sampling. IEEE Signal Process. Mag. 2008, 25, 21–30. [Google Scholar] [CrossRef]
  44. Xiang, H.L.a.J. Autoregressive model-enhanced variational mode decomposition for mechanical fault detection. IET Sci. Meas. Technol. 2019, 13, 843–851. [Google Scholar]
  45. Ghotbi-Maleki, M.; Chabanloo, R.M.; Zeineldin, H.H.; Miangafsheh, S.M.H. Design of Setting Group-Based Overcurrent Protection Scheme for Active Distribution Networks Using MILP. IEEE Trans. Smart Grid 2021, 12, 1185–1193. [Google Scholar] [CrossRef]
  46. Mohammadi Chabanloo, R.; Ghotbi Maleki, M. An accurate method for overcurrent–distance relays coordination in the presence of transient states of fault currents. Electr. Power Syst. Res. 2018, 158, 207–218. [Google Scholar] [CrossRef]
  47. Yang, X.; Yang, L.; Xiao, X.; Wang, Y.; Zhang, S. An adaptive lightweight seq2subseq model for non-intrusive load monitoring. IET Gener. Transm. Distrib. 2022, 16, 3706–3718. [Google Scholar] [CrossRef]
  48. Hosseini, S.A.; Taheri, B.; Sadeghi, S.H.H.; Nasiri, A. A Deep Learning Model for Fault Detection in Distribution Networks with High Penetration of Electric Vehicle Chargers. e-Prime-Adv. Electr. Eng. Electron. Energy 2024, 10, 100845. [Google Scholar] [CrossRef]
  49. Liu, Y.; Zhang, S.; Li, L.; Wang, S.; Lu, T.; Yu, H.; Liu, W. A machine learning-based fault identification method for microgrids with distributed generations. J. Phys. Conf. Ser. 2022, 2360, 012019. [Google Scholar] [CrossRef]
  50. 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. 2024, 155, 109616. [Google Scholar] [CrossRef]
  51. 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. 2024, 231, 110362. [Google Scholar] [CrossRef]
Figure 1. Real and imaginary parts of the compressed signal during fault and normal network conditions in phase a.
Figure 1. Real and imaginary parts of the compressed signal during fault and normal network conditions in phase a.
Sustainability 17 01514 g001
Figure 2. IMFs extracted from the phase a current signal using the VMD method during the network’s normal state and at the time of fault occurrence.
Figure 2. IMFs extracted from the phase a current signal using the VMD method during the network’s normal state and at the time of fault occurrence.
Sustainability 17 01514 g002
Figure 3. Proposed WDL model.
Figure 3. Proposed WDL model.
Sustainability 17 01514 g003
Figure 4. Diagram of the 19-bus microgrid under study, including 18 main lines and 2 reserve lines (L19 and L20).
Figure 4. Diagram of the 19-bus microgrid under study, including 18 main lines and 2 reserve lines (L19 and L20).
Sustainability 17 01514 g004
Figure 5. Training progression of the proposed WDL model during the protection of line L9.
Figure 5. Training progression of the proposed WDL model during the protection of line L9.
Sustainability 17 01514 g005
Figure 6. Values of Precision , Recall , and F 1 for each class during line L9 protection.
Figure 6. Values of Precision , Recall , and F 1 for each class during line L9 protection.
Sustainability 17 01514 g006
Figure 7. Confusion matrix of the proposed WDL model during line L9 protection.
Figure 7. Confusion matrix of the proposed WDL model during line L9 protection.
Sustainability 17 01514 g007
Figure 8. Training progression of the proposed WDL model during the protection of line L10.
Figure 8. Training progression of the proposed WDL model during the protection of line L10.
Sustainability 17 01514 g008
Figure 9. Values of Precision , Recall , and F 1 for each class during line L10 protection.
Figure 9. Values of Precision , Recall , and F 1 for each class during line L10 protection.
Sustainability 17 01514 g009
Figure 10. Confusion matrix of the proposed WDL model during line L10 protection.
Figure 10. Confusion matrix of the proposed WDL model during line L10 protection.
Sustainability 17 01514 g010
Figure 11. Confusion matrices of intelligent models: (a) KNN, (b) SVM, (c) RF, (d) XGBoost.
Figure 11. Confusion matrices of intelligent models: (a) KNN, (b) SVM, (c) RF, (d) XGBoost.
Sustainability 17 01514 g011
Table 1. Configuration and input parameters of the proposed WDL model.
Table 1. Configuration and input parameters of the proposed WDL model.
ParametersDetails
InputsInput_1 (VMD), Input_2 (CST)
Branch 1Dense: 100 Hidden Layers, Activation: SELU
Dense: 50 Hidden Layers, Activation: SELU
Dense: 25 Hidden Layers, Activation: SELU
Branch 2Dense: 50 Hidden Layers, Activation: SELU
Dense: 25 Hidden Layers, Activation: SELU
Dropout10%
OutputDense: 11 Hidden Layers, Activation: Softmax
OptimizerAdam
Loss functionSparse categorical crossentropy
Metric Accuracy
Epochs500
Batch size32
CallbacksEarly stopping
Table 2. Comparison of the proposed approach with alternative intelligent models.
Table 2. Comparison of the proposed approach with alternative intelligent models.
CaseProposed MethodKNNSVMRFXGBOOST
PR *RE **F1PRREF1PRREF1PRREF1PRREF1
AG1110.9810.990.9810.990.9810.990.9810.99
BG11110.980.9910.980.9910.980.990.980.980.98
CG111111111111111
AB11110.980.9910.980.9910.980.9910.980.99
AC1110.9810.990.9810.990.9810.990.9810.99
BC10.980.991110.8210.911110.980.99
ABG11110.980.9910.980.9910.980.9910.960.98
ACG11110.980.9910.980.9910.980.9910.980.99
BCG10.980.990.980.980.980.970.770.860.980.980.980.980.980.98
ABC1111111110.8910.940.8910.94
No fault0.9710.990.930.960.940.930.960.940.940.910.930.910.90.91
* Precision , ** Recall .
Table 3. Comparison of the proposed approach with prior research.
Table 3. Comparison of the proposed approach with prior research.
Ref.Feature Extraction MethodIntelligent ModelMicrogrid Topology UncertaintyDistinction Between Permanent Faults and Transient WavesFault DetectionFault ClassificationWindEV
[35]Discrete wavelet transformDNN
[36]Discrete wavelet transformGRU
[48]2D modelingBWO-BiLSTM
[49]FP-growth-K-means-mini-batch gradient descent
[50]Discrete wavelet transformRBFNN neuronal network
[51]Discrete wavelet transformDT
Proposed methodCST-VMDWDL
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Taheri, B.; Hosseini, S.A.; Hashemi-Dezaki, H. Enhanced Fault Detection and Classification in AC Microgrids Through a Combination of Data Processing Techniques and Deep Neural Networks. Sustainability 2025, 17, 1514. https://doi.org/10.3390/su17041514

AMA Style

Taheri B, Hosseini SA, Hashemi-Dezaki H. Enhanced Fault Detection and Classification in AC Microgrids Through a Combination of Data Processing Techniques and Deep Neural Networks. Sustainability. 2025; 17(4):1514. https://doi.org/10.3390/su17041514

Chicago/Turabian Style

Taheri, Behrooz, Seyed Amir Hosseini, and Hamed Hashemi-Dezaki. 2025. "Enhanced Fault Detection and Classification in AC Microgrids Through a Combination of Data Processing Techniques and Deep Neural Networks" Sustainability 17, no. 4: 1514. https://doi.org/10.3390/su17041514

APA Style

Taheri, B., Hosseini, S. A., & Hashemi-Dezaki, H. (2025). Enhanced Fault Detection and Classification in AC Microgrids Through a Combination of Data Processing Techniques and Deep Neural Networks. Sustainability, 17(4), 1514. https://doi.org/10.3390/su17041514

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop