top of page

Intelligent Fault Management in Hybrid Microgrids Using a Multi-Stage Artificial Neural Network Framework 




Abstract


The increasing penetration of inverter-based renewable energy sources in hybrid microgrids has introduced significant challenges to conventional protection systems due to low inertia, limited fault current contribution, and fast transient dynamics. Traditional relay-based protection methods often fail to provide reliable fault identification and localization under such conditions. This paper presents an intelligent multi-stage fault management framework based on Artificial Neural Networks (ANNs) for autonomous fault detection, classification, and localization in hybrid microgrids. The proposed approach employs three specialized ANN models, each optimized for a specific diagnostic task, thereby reducing computational complexity while ensuring high accuracy. The framework is implemented and validated in a MATLAB/Simulink environment on a 10 km distribution feeder integrating solar photovoltaic generation, battery energy storage systems, and diesel generation. Transient voltage and current signals measured at the point of common coupling are processed to extract discriminative features for fault diagnosis. Simulation results demonstrate accurate fault classification using a 4-bit logic representation and precise fault location estimation with a maximum error below 0.4 km. The proposed method enhances microgrid reliability by enabling rapid and selective fault isolation, preventing unnecessary inverter disconnections and supporting stable grid-connected and islanded operation.



Keywords


Hybrid Microgrid Protection, Artificial Neural Networks, Fault Classification, Fault Localization, Inverter-Based Resources


Neural network-based fault detection, location and classification in microgrid
₹9,649.00₹4,824.50
Buy Now

I. Introduction


Hybrid microgrids have emerged as a key solution for integrating renewable energy sources with conventional generation to enhance system reliability, resilience, and sustainability. The integration of inverter-based resources (IBRs), such as solar photovoltaic (PV) systems and battery energy storage systems (BESS), introduces complex protection challenges due to their inherently low fault current contribution and fast-acting power electronic interfaces. Unlike synchronous generators, IBRs lack mechanical inertia and exhibit non-linear transient behavior during fault events, rendering conventional overcurrent and impedance-based protection schemes ineffective.


Accurate and rapid fault diagnosis is critical to maintaining microgrid stability, particularly in systems operating under both grid-connected and islanded modes. Delayed or incorrect fault detection can result in unnecessary inverter tripping, loss of supply continuity, and cascading failures. In this context, data-driven intelligent techniques, particularly Artificial Neural Networks (ANNs), have gained attention due to their capability to model non-linear relationships and process high-frequency transient signals.


This paper proposes a multi-stage ANN-based fault management framework designed to address detection, classification, and localization challenges in hybrid microgrids. By decomposing the diagnostic process into dedicated stages, the proposed method achieves high accuracy while maintaining computational efficiency suitable for real-time protection applications.


II. System Configuration and Proposed Methodology


The investigated system consists of a hybrid microgrid integrating solar PV generation, a battery energy storage system, and a diesel generator interconnected through a 10 km medium-voltage distribution feeder. The microgrid operates with both AC and DC loads and is connected to the utility grid through a point of common coupling (PCC).

High-resolution voltage and current sensors are installed at the PCC to monitor three-phase voltages and currents. These measurements form the primary input dataset for the fault diagnostic framework. Faults are intentionally introduced at different locations along the feeder to generate a comprehensive dataset representing various fault types and distances.


 

The proposed methodology follows a structured three-stage approach:

1.      Fault Detection and Classification

2.      Ground-Involved Fault Localization

3.      Non-Grounded Fault Localization

Each stage is implemented using an independently trained ANN to ensure task-specific optimization and reduced computational burden.

Table I. Microgrid System Specifications

Parameter

Specification

Distribution Line Length

10 km

Integrated Sources

Solar PV, BESS, Diesel Generator

Monitoring Location

Point of Common Coupling (PCC)

Measured Signals

, , ,

Fault Initiation Time

0.1 s

Load Configuration

Combined AC/DC Loads

 

III. Control Strategy and Mathematical Modeling


A. Signal Processing and Feature Extraction

To enhance fault sensitivity, raw three-phase voltage and current signals are processed to extract zero-sequence components, which are particularly effective for identifying ground-involved faults. The zero-sequence voltage and current are computed as:

where and represent instantaneous phase voltages and currents at the PCC.

B. Multi-Stage ANN Architecture

1) Fault Detection and Classification ANN

The first ANN utilizes eight inputs comprising three-phase voltages and currents. The output is encoded as a 4-bit logic vector, indicating phase and ground involvement. This representation enables direct integration with digital protection logic and supports phase-selective isolation.

2) LG/LLG Fault Localization ANN

For line-to-ground (LG) and double-line-to-ground (LLG) faults, a dedicated ANN processes and inputs to estimate fault distance from the PCC. These components effectively capture ground path characteristics and fault impedance variations.

3) LL/LLL Fault Localization ANN

For phase-to-phase and three-phase faults, localization is performed using a reduced-input ANN based solely on phase voltages. This dimensionality reduction improves convergence speed and minimizes the influence of irrelevant ground-related noise.

C. ANN Training Protocol

ANN training is conducted using the MATLAB Neural Network Toolbox with the following configuration:

·         Data Partitioning: 70% training, 15% validation, 15% testing

·         Training Algorithm: Levenberg–Marquardt backpropagation

·     Performance Criterion: Regression coefficient


IV. Simulation Model and Parameters


The proposed intelligent fault management framework is implemented and validated using a detailed MATLAB/Simulink model to accurately capture the dynamic and transient behavior of a hybrid microgrid dominated by inverter-based resources. The simulation environment is selected due to its capability to represent fast-switching power electronic interfaces, nonlinear control dynamics, and electromagnetic transients under fault conditions.


A. Hybrid Microgrid Modeling

The simulated microgrid consists of a solar photovoltaic (PV) system, a battery energy storage system (BESS), and a diesel generator connected to a common AC bus through appropriate power electronic converters. The PV and BESS units are interfaced using voltage source inverters equipped with current-limiting control to emulate realistic inverter fault behavior. The diesel generator is modeled using a synchronous machine with standard excitation and governor dynamics to represent dispatchable generation.

A 10 km distribution feeder connects the microgrid to the utility grid through the point of common coupling (PCC). Both AC and DC loads are considered to reflect realistic hybrid load conditions. The feeder is modeled using distributed parameter line blocks to ensure accurate representation of voltage drops and fault impedance variation with distance.

B. Measurement and Data Acquisition

Three-phase voltages and currents are continuously measured at the PCC using high-resolution sensors. These signals serve as the primary inputs to the ANN-based diagnostic framework. To enhance fault sensitivity, zero-sequence voltage and current components are derived internally within Simulink using arithmetic processing blocks. All signals are sampled at a sufficiently high rate to capture sub-cycle transient phenomena immediately following fault inception.


Faults are triggered at a predefined time instant of s to ensure system steady-state conditions prior to disturbance. Multiple fault scenarios are simulated, including:

·         Single-line-to-ground (AG, BG, CG)

·         Double-line-to-ground (ABG, ACG, BCG)

·         Line-to-line (AB, BC, CA)

·         Three-phase (ABC, ABCG)

C. ANN Training Dataset Generation

To ensure robust ANN generalization, fault locations are varied along the feeder at multiple distances from the PCC, including near-end, mid-line, and far-end locations. The corresponding voltage and current waveforms are exported to the MATLAB workspace and preprocessed to form structured datasets.


The ANN training process follows a supervised learning approach using the MATLAB Neural Network Toolbox. Data partitioning is maintained at 70% for training, 15% for validation, and 15% for testing. Training is terminated based on convergence of the mean squared error and regression coefficient targets, ensuring avoidance of overfitting.



 

V. Results and Discussion


Faults This section evaluates the performance of the proposed multi-stage ANN-based fault management framework under diverse operating and fault conditions. The results are analyzed in terms of fault detection accuracy, classification reliability, localization precision, and overall impact on microgrid stability.


A. Fault Detection and Classification Performance

Upon fault initiation at s, the detection and classification ANN responds within a few milliseconds, producing a 4-bit logic output. This binary representation clearly identifies the involved phases and ground participation, enabling immediate and selective fault identification.

For instance, during an AB-to-ground fault, the ANN consistently outputs the logic vector, correctly indicating the involvement of phases A and B along with ground. Similar accuracy is observed across all simulated fault types, demonstrating the robustness of the classification ANN even under limited fault current contribution from inverter-based sources.


B. Fault Localization Accuracy

Fault localization performance is evaluated by comparing the ANN-estimated fault distance with the actual fault location along the feeder. For ground-involved faults, the localization ANN utilizing zero-sequence voltage and current achieves high precision, while for non-grounded faults, the voltage-only ANN exhibits faster convergence and improved stability.

Representative results include:

·         A fault occurring at 9 km from the PCC is estimated at approximately 9.4 km.

·         A mid-line fault at 5 km is estimated at approximately 4.6 km.


The maximum observed localization error remains within 0.4 km across all scenarios, which is acceptable for distribution-level fault management and field maintenance operations.


C. Dynamic Stability and Protection Impact

Rapid fault diagnosis plays a critical role in preserving microgrid stability. In conventional systems, delayed fault detection often causes PV and BESS inverters to disconnect due to transient voltage dips, leading to power imbalance and possible system collapse.

The proposed ANN-based framework mitigates this issue by providing near-instantaneous diagnostic outputs, allowing protection logic to isolate only the faulted section while maintaining inverter operation elsewhere. This capability significantly enhances ride-through performance and supports seamless transitions between grid-connected and islanded modes.


VI. Conclusion and Future Scope


An intelligent multi-stage ANN-based fault management strategy for hybrid microgrids has been presented and validated through detailed MATLAB/Simulink simulations. By decomposing the diagnostic process into specialized detection, classification, and localization stages, the proposed framework effectively addresses the protection challenges introduced by inverter-based resources.

Simulation results confirm high classification accuracy and fault localization precision, with estimation errors limited to approximately 0.4 km along a 10 km feeder. The rapid response time of the ANN models prevents unnecessary inverter tripping, thereby improving microgrid resilience, reliability, and operational continuity.


Future research directions include real-time hardware-in-the-loop (HIL) validation to assess computational latency and communication delays, as well as adaptation of the proposed framework for islanded microgrid operation, where fault current levels are significantly reduced. Further integration with adaptive protection schemes and wide-area monitoring systems can also enhance scalability and practical deployment in modern smart grids.


VII. YouTube Video


 

VIII. Purchase link of the Model


SKU: 0091

 

 

Comments


bottom of page