Fault Diagnosis in Solar Inverters: A Wavelet Packet, Principal Component, and Radial Basis Function Neural Network Approach

The reliable operation of photovoltaic (PV) systems is paramount for sustainable energy generation. At the heart of these systems lie power electronic inverters, which convert the direct current (DC) from solar panels into grid-compatible alternating current (AC). Among various topologies, the three-level Neutral-Point-Clamped (NPC) inverter has become a cornerstone for medium-voltage and high-power solar applications. Compared to traditional two-level inverters, solar inverters based on the NPC topology offer significant advantages, including reduced voltage stress on switching devices, lower electromagnetic interference, and superior output voltage waveforms with diminished harmonic distortion. However, the increased number of semiconductor components—typically 12 Insulated Gate Bipolar Transistors (IGBTs) and numerous diodes—inherently elevates the probability of failure, thereby challenging the system’s overall reliability. In practical operation, switch failures, particularly open-circuit faults, can severely degrade performance, lead to unbalanced currents, and even cause catastrophic system shutdowns, resulting in significant economic losses. Consequently, developing fast, accurate, and automated fault diagnosis methods for NPC solar inverters is a critical research focus to ensure system availability and facilitate timely maintenance.

Effective fault diagnosis for such solar inverters generally involves two sequential and crucial steps: fault feature extraction and fault type identification. The first step aims to distill meaningful, discriminative information from measured system signals that characterize different failure modes. The second step employs a classification algorithm to map the extracted features to specific fault conditions. Conventional approaches often face limitations: frequency-domain methods like Fast Fourier Transform (FFT) lose temporal information and are less effective for non-stationary signals, while time-domain analyses lack spectral detail. For identification, popular methods like Backpropagation (BP) Neural Networks can suffer from slow convergence, instability, and a tendency to settle in local minima, affecting diagnostic precision and speed. Furthermore, many existing studies on three-level solar inverters restrict their scope to single-switch faults, overlooking the realistic possibility of concurrent multiple switch failures, which presents a more complex diagnostic scenario.

To address these challenges, this article presents an integrated diagnostic methodology for open-circuit faults in NPC three-level solar inverters. The proposed framework synergizes Wavelet Packet Transform (WPT) for multi-resolution feature extraction, Principal Component Analysis (PCA) for dimensionality reduction, and a Radial Basis Function (RBF) Neural Network for robust and rapid fault classification. The three-phase output voltage is selected as the readily accessible diagnostic signal. First, WPT is applied to decompose these signals, and the energy distribution across frequency sub-bands is calculated to form a high-dimensional feature vector. Subsequently, PCA is employed to compress this vector, eliminating redundancy and highlighting the most significant patterns. Finally, the condensed features serve as input to an RBF network, which is trained to pinpoint the exact location of faulty switches. This combination leverages the strengths of each technique: WPT’s detailed time-frequency analysis, PCA’s efficiency in data compaction, and RBF’s superior approximation and convergence properties compared to standard BP networks.

Fault Analysis in NPC Three-Level Solar Inverters

The canonical circuit topology of a three-phase NPC inverter, commonly used in high-power solar inverters, is shown in the figure above. Each phase leg consists of four active IGBT switches (e.g., S_a1 to S_a4 for phase A), four freewheeling diodes, and two clamping diodes that connect to the neutral point of the DC-link capacitors. The switching states, governed by modulation strategies like Space Vector Pulse Width Modulation (SVPWM), generate the three-level output phase voltage (+V_dc/2, 0, -V_dc/2).

Switch failures are primarily categorized as short-circuit and open-circuit faults. Short-circuit faults are typically catastrophic but are often handled almost instantaneously by protection circuits, which usually isolate the fault by blowing fuses, effectively converting it into an open-circuit condition. Therefore, diagnosing open-circuit faults is of paramount practical importance for the continued (albeit degraded) operation and maintenance scheduling of solar inverters.

With 12 IGBTs, the number of potential single and multiple open-circuit fault combinations is large. However, the simultaneous failure of three or more switches is statistically rare. This analysis therefore focuses on single-switch faults and two-switch faults. These can be further classified into:

  1. Simple Faults: These are easily identifiable patterns and include (a) the healthy (normal) state, (b) any single IGBT open-circuit fault, and (c) two open-circuit faults located on the same phase leg (e.g., S_a1 and S_a2).
  2. Complex Faults: This category involves two simultaneous open-circuit faults located on different (cross-coupled) phase legs (e.g., S_a1 and S_b4). The voltage waveforms for complex faults are not intuitively distinguishable through simple visual inspection, necessitating sophisticated diagnostic algorithms.

Given that simple faults are relatively straightforward to identify, the core diagnostic challenge addressed by the proposed method is the accurate classification of complex faults. The output phase voltage waveforms under various complex fault conditions exhibit distinct but non-obvious alterations, making them a suitable signal for automated feature extraction and analysis.

Proposed Diagnostic Methodology

The overall diagnostic pipeline is illustrated in the following flowchart and detailed in the subsequent sections.

Process Flow: 1. Simulate various complex fault scenarios in an NPC inverter model. 2. Acquire the three-phase output voltage signals. 3. Extract feature vectors via WPT energy spectrum analysis. 4. Reduce feature dimensionality using PCA. 5. Train an RBF neural network with the processed data. 6. Validate the network’s performance with unseen test data.

1. Fault Feature Extraction Using Wavelet Packet Transform (WPT)

Wavelet Transform provides a time-frequency representation of a signal but suffers from poor resolution in the high-frequency region. Wavelet Packet Transform overcomes this by recursively decomposing both the low-frequency and high-frequency components, leading to a more meticulous and uniform time-frequency partition. This is ideal for analyzing non-stationary fault signals from solar inverters where transient features exist across a broad frequency spectrum.

A 3-level WPT decomposition tree is shown below, where ‘A’ denotes approximation (low-pass) coefficients and ‘D’ denotes detail (high-pass) coefficients.

Decomposition & Reconstruction Algorithms: Given a discrete signal, the WPT decomposition coefficients at level \(j+1\) are derived from coefficients at level \(j\) using quadrature mirror filters:

$$
d_{l}^{j+1, 2n} = \sum_{k} h_0(2l – k) d_{k}^{j, n}
$$

$$
d_{l}^{j+1, 2n+1} = \sum_{k} h_1(2l – k) d_{k}^{j, n}
$$

where \(h_0\) and \(h_1\) are the low-pass and high-pass decomposition filter coefficients, respectively, and \(d_{k}^{j, n}\) represents the coefficient at position \(k\) in packet \(n\) of decomposition level \(j\).

Reconstruction is the inverse process:

$$
d_{l}^{j, n} = \sum_{k} [h_0′(l-2k) d_{k}^{j+1, 2n} + h_1′(l-2k) d_{k}^{j+1, 2n+1}]
$$

where \(h_0’\) and \(h_1’\) are the corresponding reconstruction filters.

Energy Spectrum Feature Vector Formation: For each phase voltage signal (U_a, U_b, U_c), the following steps are performed:

  1. Decomposition: The signal is decomposed to level 3 using the ‘db5’ wavelet mother function, chosen for its good balance between smoothness and compact support. This yields \(2^3 = 8\) sets of coefficients, each corresponding to a specific frequency band.
  2. Reconstruction: Each set of coefficients is reconstructed into a time-domain sub-signal \(S_{3j}\), where \(j = 0, 1, …, 7\).
  3. Energy Calculation: The energy \(E_{3j}\) of each sub-band signal is computed as:
    $$ E_{3j} = \int |S_{3j}(t)|^2 dt \approx \sum_{k=1}^{N} |x_{jk}|^2 $$
    where \(x_{jk}\) are the discrete amplitude values of the reconstructed signal \(S_{3j}\).
  4. Normalization: A normalized feature vector for one phase is constructed to eliminate the influence of absolute magnitude:
    $$ T’_{phase} = [E_{30}/E_{total}, E_{31}/E_{total}, …, E_{37}/E_{total}] $$
    where \(E_{total} = \sum_{j=0}^{7} E_{3j}\).

Concatenating the normalized vectors from all three phases results in a comprehensive 24-dimensional feature vector \(T = [T’_a, T’_b, T’_c]\) for each fault sample. This vector captures the distinctive energy distribution pattern induced by a specific fault.

2. Dimensionality Reduction via Principal Component Analysis (PCA)

A 24-dimensional feature vector, while rich in information, can lead to computational inefficiency and the “curse of dimensionality” for the classifier. Moreover, some features may be correlated or contribute little to discrimination. PCA is a linear transformation technique used to reduce data dimensionality while preserving the maximum variance. It identifies orthogonal principal components (PCs) that are linear combinations of the original features.

Given a data matrix \(X\) (size \(n \times m\), where \(n\) is the number of samples and \(m=24\) is the number of original features), the steps are:

  1. Center the data by subtracting the mean of each feature.
  2. Compute the covariance matrix \(C\):
    $$ C = \frac{1}{n-1} X^T X $$
  3. Perform eigenvalue decomposition on \(C\): \(C \cdot v_i = \lambda_i \cdot v_i\), where \(\lambda_i\) are eigenvalues (sorted in descending order) and \(v_i\) are the corresponding eigenvectors (principal directions).
  4. Select the first \(k\) eigenvectors to form a projection matrix \(W_k = [v_1, v_2, …, v_k]\). The number \(k\) is chosen such that the cumulative explained variance ratio exceeds a threshold (e.g., 90%):
    $$ \text{Cumulative Variance}(k) = \frac{\sum_{i=1}^{k} \lambda_i}{\sum_{i=1}^{m} \lambda_i} \geq 0.90 $$
  5. Transform the original data into the lower-dimensional subspace: \(Y = X \cdot W_k\) (size \(n \times k\)).

This process compresses the 24-D feature vector into a more compact \(k\)-D representation (e.g., 10-D), which retains the most critical diagnostic information, reduces noise and redundancy, and accelerates the subsequent neural network training and classification.

3. Fault Identification with Radial Basis Function (RBF) Neural Network

The final stage employs an RBF neural network as a classifier. An RBF network is a three-layer feedforward network with superior convergence speed and approximation capability compared to multi-layer perceptrons trained with BP. Its structure comprises an input layer, a single hidden layer with nonlinear RBF activation functions, and a linear output layer.

Network Architecture and Algorithm: For an input vector \(\mathbf{x}\), the output of the \(j\)-th neuron in the output layer is:
$$ y_j(\mathbf{x}) = \sum_{i=1}^{q} \omega_{ij} \, \phi_i(||\mathbf{x} – \mathbf{c}_i||) $$
where:

  • \(q\) is the number of hidden neurons (RBF units).
  • \(\omega_{ij}\) is the weight connecting the \(i\)-th hidden neuron to the \(j\)-th output neuron.
  • \(\mathbf{c}_i\) is the center vector for the \(i\)-th hidden neuron.
  • \(\phi_i(\cdot)\) is the radial basis function, typically a Gaussian:
    $$ \phi_i(||\mathbf{x} – \mathbf{c}_i||) = \exp\left(-\frac{||\mathbf{x} – \mathbf{c}_i||^2}{2\sigma_i^2}\right) $$
    where \(\sigma_i\) controls the width (spread) of the \(i\)-th Gaussian function.

The learning process involves determining the optimal centers \(\mathbf{c}_i\), widths \(\sigma_i\), and output weights \(\omega_{ij}\). In this work, the MATLAB function `newrb` is utilized. It employs an iterative, constructive algorithm that starts with zero hidden neurons and automatically adds neurons centered on training samples that contribute to the largest output error until a specified mean squared error goal is met or a maximum number of neurons is reached. This results in a parsimonious and effective network structure.

Fault Encoding: To facilitate network training, each of the 48 complex fault types (including the healthy state and various two-switch cross-leg faults) is assigned a unique 6-bit binary code as the target output vector. For instance, a fault in switches S_a1 and S_b4 might be encoded as [0, 0, 0, 0, 1, 0]. The RBF network is trained to approximate this mapping from the PCA-reduced input features to the 6-bit fault code.

Simulation, Results, and Comparative Analysis

The proposed methodology was validated through comprehensive simulations of a three-phase NPC solar inverter model in MATLAB/Simulink. SVPWM was used as the modulation strategy. To ensure robustness and practicality, data was collected under varying operational conditions to emulate real-world scenarios in PV systems.

Data Sample Generation: Multiple complex fault scenarios were simulated. To account for environmental and load variations typical in solar inverters, the DC-link voltage and output load were varied:

  • DC-link Voltage (V_dc): 650V, 700V, 720V, 750V.
  • Load (P_out): 45 kW, 50 kW, 55 kW.

This created 12 distinct operating condition sets. For each condition and each of the 48 fault types, the three-phase output voltages were sampled. The WPT-PCA processing pipeline converted each sample into a 10-dimensional feature vector (after PCA with 90% variance retention). The total dataset comprised 576 samples (48 faults × 12 conditions). The data was split: samples from 9 condition sets (e.g., all combinations of 650V, 700V, 750V with the three loads) were used for training (432 samples), and samples from the remaining 3 condition sets (720V with the three loads) were reserved for testing (144 samples).

Neural Network Configuration: The RBF network was created using `newrb` with an error goal (`GOAL`) of 0.001, a spread constant (`SPREAD`) of 0.1, and a maximum number of neurons (`MN`) of 100. The spread constant significantly influences generalization; a value of 0.1 was found to provide a good balance between smoothness and detail fitting for this application.

Performance Evaluation: The diagnostic performance was evaluated based on two key metrics: Diagnostic Accuracy (percentage of correctly identified test samples) and Diagnostic Time (computation time for the classification stage). To highlight the contribution of each component in the proposed method, a comparative study was conducted against three alternative approaches:

  1. WPT-BP: 24-D WPT features directly input to a BP network (24-20-6 architecture).
  2. WPT-PCA-BP: 10-D PCA-reduced features input to a BP network (10-16-6 architecture).
  3. WPT-RBF: 24-D WPT features directly input to an RBF network.
  4. Proposed WPT-PCA-RBF: 10-D PCA-reduced features input to an RBF network.
Table 1: Performance Comparison of Different Diagnostic Methods
Diagnostic Method Feature Dimension Classifier Diagnostic Accuracy (%) Diagnostic Time* (seconds)
WPT-BP 24 BP Neural Network 88.19 6.653
WPT-PCA-BP 10 BP Neural Network 95.83 3.291
WPT-RBF 24 RBF Neural Network 100 2.596
Proposed: WPT-PCA-RBF 10 RBF Neural Network 100 2.368

*Diagnostic time refers to the classification time for the 144 test samples.

Analysis of Results:

  1. Effect of PCA (Dimensionality Reduction): Comparing WPT-BP vs. WPT-PCA-BP, and WPT-RBF vs. WPT-PCA-RBF, PCA’s role is evident. It consistently reduced diagnostic time by more than 50% for BP and about 9% for RBF, by simplifying the input space. For the BP network, it also significantly boosted accuracy from 88.19% to 95.83%, demonstrating that removing redundant/irrelevant features mitigates overfitting and improves generalization.
  2. Effect of Classifier (RBF vs. BP): Comparing methods with the same feature input (WPT-PCA-BP vs. WPT-PCA-RBF), the superiority of the RBF network is clear. It achieved perfect 100% accuracy compared to 95.83% for BP, and did so approximately 28% faster. The RBF’s localized learning and linear output layer enable faster, more stable convergence.
  3. Optimal Combination: The proposed WPT-PCA-RBF method synergizes the advantages of both preprocessing and classification stages. It achieves the highest possible accuracy (100%) and the shortest diagnostic time (2.368 seconds), making it the most efficient and reliable approach for fault diagnosis in NPC solar inverters among the tested methods.

A subset of test results from the proposed method is shown below, illustrating the perfect match between the network’s 6-bit output and the expected fault code for various complex faults.

Table 2: Sample Test Results from the WPT-PCA-RBF Diagnostic System
Actual RBF Output (6-bit) Expected Fault Code Corresponding Fault Diagnosis Result
[-0.02, -0.05, -0.02, -0.01, 1.00, 0.06] ≈ [0,0,0,0,1,0] 000010 S_a1, S_b4 Correct
[0.01, -0.04, 0.00, 0.96, -0.03, 0.96] ≈ [0,0,0,1,0,1] 000101 S_a1, S_c4 Correct
[-0.02, 0.99, 0.01, -0.04, 0.98, 0.97] ≈ [0,1,0,0,1,1] 010011 S_c2, S_b3 Correct
[-0.07, 1.09, 0.07, 1.02, 0.00, 0.97] ≈ [0,1,0,1,0,1] 010101 S_a3, S_b3 Correct

Conclusion

This article has presented a robust and efficient fault diagnosis framework for open-circuit faults in Neutral-Point-Clamped three-level solar inverters. The methodology specifically targets the challenging problem of identifying complex faults involving two switches on different phase legs. By integrating Wavelet Packet Transform for high-resolution time-frequency feature extraction, Principal Component Analysis for intelligent dimensionality reduction and de-noising, and a Radial Basis Function Neural Network for rapid and precise classification, the approach addresses key limitations of conventional techniques.

The simulation results demonstrate the critical importance of each stage in the pipeline. PCA effectively compacts the feature space, leading to faster processing and, when used with BP networks, significantly improved accuracy. The RBF network outperforms the traditional BP network in both speed and classification performance, benefiting from its localized learning mechanism. The synergistic combination of WPT, PCA, and RBF yields an optimal outcome: 100% diagnostic accuracy and the fastest execution time among the compared methods.

This work confirms that the proposed WPT-PCA-RBF methodology is a highly effective tool for condition monitoring and predictive maintenance of advanced power electronic systems like NPC solar inverters. It enhances system reliability, minimizes downtime, and contributes to the overall stability and efficiency of photovoltaic power generation plants.

Scroll to Top