zadeh_mohammed_Impact-of-Inverter-based-Resources-on-Impedance-based-Protection-Functions
zadeh_mohammed_Impact-of-Inverter-based-Resources-on-Impedance-based-Protection-Functions
ABSTRACT In this paper, a robust, multi-modal deep-learning-based fault identification method is pro-
posed for solar photovoltaic (PV) systems, capable of detecting a wide range of faults at PV arrays, inverters,
sensors, and grid connections. The proposed method combines residual convolutional neural networks
(CNNs) and gated recurrent units (GRUs) to effectively extract both spatial and temporal features from raw
PV data. To enhance the proposed model’s robustness and accuracy, a probabilistic loss function based on the
entropy theory is formulated. The proposed method is validated using both experimental data obtained from a
PV emulator-based test system and simulation data, achieving over 98% accuracy in fault identification under
various noise conditions. The results indicate that the proposed model outperforms conventional CNN- and
MSVM-based methods, demonstrating its potential in providing precise fault diagnostics in PV systems.
INDEX TERMS Convolutional neural networks (CNNs), fault identification, feature extraction, gated neural
networks (GNNs), information theory, loss function, multi-modal deep neural network, photovoltaics.
accuracy of model-based methods are affected by the model, system fault diagnosis [13], [19], [20], but cannot fully learn
thresholds, and noises [4]. An improved Kalman filter and the abnormal and normal patterns based on time-varying signals
Thevenin equivalent resistance are examples for fault identi- with different locational features across a PV system [21].
fication methods in PV systems [4], including short-circuit Two potential solutions would be: 1) extract and select sup-
faults, open-circuit faults [5], and partial shading faults. plementary features, and 2) replace classic machine learning
Measurement Analysis-Based Methods, where abnormal by advanced deep learning.
conditions are identified by analyzing measurement param- Hybrid Methods, where two or more techniques are com-
eters in the time or frequency domain. The ground fault bined to enhance the effectiveness of the PV system fault
detection in PV arrays using the time-domain analysis is identification. For example, in [22], the principal component
developed in [10]; the arc occurrence in PV arrays is detected analysis (PCA) is used with random forest to identify open-
using the improved empirical wavelet transform in [6]; the circuit faults, islanding, and partial shading of PV systems.
wavelet transformation is used to detect PV faults in [11]. In [23] and [24], a sequence of voltages and currents is
These methods do not rely on the PV system’s mathematical combined as feature extraction and fed into a ladder neural
model, but rely on the predefined thresholds for fault detec- network and t-distributed stochastic neighbor embedding (t-
tion, and are very sensitive to noises. SNE) with the learning vector quantization (LVQ) to detect
IR and UAV-Based Methods, where abnormalities faults considering Gaussian noises. The combination of the
are detected through continuous temperature monitoring, sequential forward search, the sequential backward search,
as faults in PV systems can lead to thermal imbalances and support vector machine (SVM), naïve Bayes, and the logistic
temperature variations. An infrared thermographic camera regression is used in [25] to identify PV array faults. The
can be used to identify faults in PV systems by remotely infrared thermography and SVM are combined for the PV
monitoring their thermal conditions (no direct electrical mea- system’s fault identification in [26]. Machine learning is fur-
surements). The ther employed alongside IR-based techniques to detect PV
UAVs, such as drones equipped with various sensors, can array faults in [25]. While the hybrid methods may produce
also be used to remotely detect faults in PV systems. In [17], accurate results in some cases, their performance can be
the infrared cameras are employed to identify faulty PV significantly affected by noises, leading to the increase of
modules. In [12], different UAV-based cameras are used to information redundancy [27].
identify PV array faults. The UAV-, IR- and sensor-based data Deep neural networks realize features directly from mea-
are used in [14] to identify faults in large-scale PV power surement data, and can be broadly classified into four
plants. Although precise in the fault detection, IR and UAV- types [28]: deep encoders (DA), deep Boltzmann machines
based methods can be costly for large PV power plants. The (DBMs), recurrent neural networks (RNNs), and convolu-
infrared thermography and UAVs can only be used to monitor tional neural networks (CNN). PV array’s fault detection
changes in PV arrays, but don’t provide a comprehensive fault methods based on DA and DBMs are proposed in [29]
diagnosis system or cover the grid-connected PV infrastruc- and [30], respectively, but they are not effective for time-
ture, such as controllers, switches, etc. varying features. RNN-based networks, particularly gated
Data-Driven Techniques, where PV system faults can be RNNs, such as long short-term memory (LSTM) and gated
detected through machine learning based on historical data recurrent neural networks (GRNN), are good at time-varying
gathered by measurements and sensor readings [18]. Machine features, and have been applied in the PV system’s fault
learning methods include classic machine learning and deep detection [31], [32], but GRNNs cannot fully capture fea-
learning. Classic machine learning are often used in the PV tures from different components of a PV system [33]. CNN
TABLE 2. Summary of date-driven methods in fault identification a set of learning weights W : R0 →Rn to construct f (X ) and
of PV systems in the literature. accurately characterize the classification function. To find
these optimal learning weights, a loss function must be
assigned for the training process.
B. GNN
The output of Res-CNN is firstly converted from 2D signals
into 1D signals by a flattening layer, and is then fed into the
GNN (the second block). The GNN is made up of two key
components: the update gate and the reset gate. The update
gate keeps track of most significant features; the reset gate
discards less important features.
C. DENSE LAYER
A dense layer is added to each parallel component of GNN
to control its output, and aims to improve the network’s
training capability without the need of additional equipment.
It consists of multiple hidden layers.
D. WEIGHTED FUSION
The combination of CNN and GNN features is achieved
through a weighted fusion technique. After the CNN extracts
spatial features and the GNN captures temporal dependen-
cies, the outputs of both layers are combined through the
weighted fusion, where different importance is assigned to
each feature based on its contribution through the weight.
The weights are learned during training, ensuring an optimal
combination of spatial and temporal features for the fault
identification task. The weighted fusion determines the final
FIGURE 1. The structure of the proposed multimodal deep
network-based PV systems fault identification model.
output of the proposed model, which eventually defines the
condition of a PV system. The parallel structure enhances
the computational efficiency, reliability and accuracy of the
where xi represents the samples in the input dataset. To fully
proposed model. The output of the weighted fusion block is
capture spatial characteristics of a PV system, including
variations among different components and their positions, yout = W1 ⊙ f1 + W2 ⊙ f2 + W3 ⊙ f3 (15)
one-dimensional (1D) signals are transformed into two-
where the output of each part of the designed network and the
dimensional (2D) signals [29].
corresponding weights are f1/2/3 and W1/2/3 , respectively.
A. RESIDUAL CONVOLUTIONAL LAYER
E. NETWORK DESIGN
The proposed model is equipped with a residual convolu- The primary objective of this study is to develop a robust
tional neural network (Res-CNN) block. The transformation deep learning-based fault detection system for PVs, capable
of the original 1D signals into 2D matrices allows for the of identifying various faults that could impact the efficiency
extraction of both spatial and temporal features, which is and safety of PV operations in the presence of Gaussian and
essential for capturing complex interrelationships in multi- non-Gaussian noises. The data used in this paper is gener-
variate time-series data generated by PV systems. 2D CNNs ated from a PV emulator experimental test system and from
can be applied after such transformation, which are better simulation to ensure that the proposed method is validated in
suited to detect both local and global fault patterns compared both controlled experimental and simulation environments.
to 1D CNNs. The 2D measurement data in different parts of The input data consists of the voltage, current, and frequency
a PV system are the input of Res-CNN. Res-CNN consists of signals sampled at a rate of 10 µs, including per-phase and
multiple convolutional layers with the following output: three-phase voltage and current signals from both DC and
yCn = f Act wCn ⊗ Xinput + βl,z (13) AC sides of a PV system. Given the variety and complex-
l,z
ity of all types of faults, the proposed method focuses on
l,z , and βl,z are outputs of the activation
where yCn , f Act , wCn detecting the most critical faults of PV systems. Seven fault
function (ReLU). The symbol ⊗ depicts the convolution oper- types are considered: Inverter Faults, Feedback Sensor Faults,
ator. Residual mapping can improve the learning capability of Open-Circuit PV Array Mismatch, Partial Shading PV Array
convolutional layers. The output of Res-CNN considering the Mismatch, Boost Converter Controller Faults, Power Point
residual mapping is Tracking (MPPT/IPPT) Faults, and Grid Anomalies; plus the
normal operation condition. These faults may not be detected
yRCn = f map + Xinput
res
(14)
by conventional SCADA or hardware-based systems due to
where f map res
and Xinput are the mapping function and its input, their subtle nature, particularly under low-noise conditions or
respectively. partial system failures.
G. ADAPTABILITY OF THE PROPOSED METHOD FIGURE 10. Three performance metrics comparison for the
To validate the proposed fault identification method using proposed fault identification method, CNN and MSVM using
the simulation data, the following four fault types in PV simulation data when subjected to Laplacian noises.
arrays are simulated: line-to-line (L-L) faults (connecting two
TABLE 7. Time of different methods used for PV systems fault
lines in the model), a single line to ground faults (shorting a identification.
line to the ground), open-circuit faults (disconnecting lines
in the PV array), and partial shading (adjusting irradiance
parameters for specific panels within the PV array model
to replicate the effect of physical shading on PV panels,
impacting their power output). The PV system simulation is
conducted using MATLAB/Simulink in a radial distribution
network at a voltage level of 25 kV, fed from an upper power H. COMPUTATIONAL COMPLEXITY
grid with a short-circuit capacity of 2,500 MVA. A 250 kV PV The computational time is an important factor for the PV
system with 10 series PV panels, a boost DC-DC converter system fault diagnosis, so the proposed model is assessed
and a voltage source inverter is included in the distribution in terms of the implementation time, along with CNN and
network. The simulation study involves 3,730 PV system MSVM-based models, for 500 runs in this paper. The min-
operating conditions [24]. 70% of the simulation data is used imum, average, and maximum time are shown in Table 7.
for training, and 30% for testing. A comparison of the three The MSVM-based model performs the fastest among the
metrics for the proposed method, CNN and MSVM using the three, but has the accuracy and reliability issues, making it
simulation data is shown in Fig. 10 subjected to Laplacian unsuitable for the PV system fault identification. The parallel
noises. The proposed method shows superior performance structure of the proposed model performs much faster than
compared to CNN and MSVM. the CNN-based model. The parallel structure means that the
required number of layers is reduced, so the computational [14] F. Grimaccia, S. Leva, A. Dolara, and M. Aghaei, ‘‘Survey on PV modules’
time is also less. common faults after an O&M flight extensive campaign over different
plants in Italy,’’ IEEE J. Photovolt., vol. 7, no. 3, pp. 810–816, May 2017.
[15] S. Afrasiabi, M. Afrasiabi, B. Parang, M. Mohammadi, S. Kahourzade, and
V. CONCLUSION AND FUTURE WORK A. Mahmoudi, ‘‘Two-stage deep learning-based wind turbine condition
In this paper, a robust deep neural network-based model is monitoring using SCADA data,’’ in Proc. IEEE Int. Conf. Power Electron.,
developed for fault diagnosis in PV systems. The designed Drives Energy Syst. (PEDES), Dec. 2020, pp. 1–6.
[16] S. Afrasiabi, M. Afrasiabi, M. A. Jarrahi, and M. Mohammadi, ‘‘Fault
model has the multi-modal structure, consisting of Res-CNN location and faulty line selection in transmission networks: Applica-
to fully capture spatial features and GRU to learn temporal tion of improved gated recurrent unit,’’ IEEE Syst. J., vol. 16, no. 3,
features of the PV outputs. To enhance the learning capability, pp. 5056–5066, Sep. 2022.
the proposed model includes three parallel parts. An entropy [17] S. Vergura, ‘‘Correct settings of a joint unmanned aerial vehicle and
infrared camera system for the detection of faulty photovoltaic modules,’’
theory-based loss function is formulated, leading to excellent IEEE J. Photovolt., vol. 11, no. 1, pp. 124–130, Jan. 2021.
accuracy and reliability in the presence of Gaussian and non- [18] S. Afrasiabi, M. Afrasiabi, B. Parang, M. Mohammadi, H. Samet, and
Gaussian noises. In case studies, the proposed model achieves T. Dragicevic, ‘‘Fast GRNN-based method for distinguishing inrush cur-
rents in power transformers,’’ IEEE Trans. Ind. Electron., vol. 69, no. 8,
more than 98% accuracy with various noises, much better pp. 8501–8512, Aug. 2022.
than that of CNN- and MSVM-based models. The proposed [19] Y. Yang, D.-C. Zhan, Y.-F. Wu, Z.-B. Liu, H. Xiong, and Y. Jiang, ‘‘Semi-
model is validated using the datasets generated from the PV supervised multi-modal clustering and classification with incomplete
emulator experimental test system and from the simulation. modalities,’’ IEEE Trans. Knowl. Data Eng., vol. 33, no. 2, pp. 682–695,
Feb. 2021.
In this paper, no field tests are conducted on real solar PV [20] K. Dhibi, M. Mansouri, K. Bouzrara, H. Nounou, and M. Nounou, ‘‘An
systems, and the proposed method is validated based on emu- enhanced ensemble learning-based fault detection and diagnosis for grid-
lated/simulated faults. The future work will include field tests connected PV systems,’’ IEEE Access, vol. 9, pp. 155622–155633, 2021.
for further validation. The next step also includes expanding [21] S. Afrasiabi et al., ‘‘Wide-area composite load parameter identification
based on multi-residual deep neural network,’’ IEEE Trans. Neural Netw.
the current model to include identifying fault severity or Learn. Syst., vol. 34, no. 9, pp. 6121–6131, Aug. 2023.
potential root causes. [22] K. Dhibi et al., ‘‘A hybrid fault detection and diagnosis of grid-tied
PV systems: Enhanced random forest classifier using data reduction and
REFERENCES interval-valued representation,’’ IEEE Access, vol. 9, pp. 64267–64277,
2021.
[1] S. Allahmoradi, S. Afrasiabi, X. Liang, J. Zhao, and M. Shahidehpour,
‘‘Data-driven Volt/VAR optimization for modern distribution networks: A [23] S.-Q. Chen, G.-J. Yang, W. Gao, and M.-F. Guo, ‘‘Photovoltaic fault diag-
review,’’ IEEE Access, vol. 12, pp. 71184–71204, 2024. nosis via semisupervised ladder network with string voltage and current
measures,’’ IEEE J. Photovolt., vol. 11, no. 1, pp. 219–231, Jan. 2021.
[2] D. S. Pillai, F. Blaabjerg, and N. Rajasekar, ‘‘A comparative evaluation of
advanced fault detection approaches for PV systems,’’ IEEE J. Photovolt., [24] S. Afrasiabi et al., ‘‘Photovoltaic array fault detection and classification
vol. 9, no. 2, pp. 513–527, Mar. 2019. based on T-distributed stochastic neighbor embedding and robust soft
[3] M. U. Saleh et al., ‘‘An overview of spread spectrum time domain reflec- learning vector quantization,’’ in Proc. IEEE Int. Conf. Environ. Electr.
tometry responses to photovoltaic faults,’’ IEEE J. Photovolt., vol. 10, Eng. IEEE Ind. Commercial Power Syst. Eur. (EEEIC/ICPS Europe),
no. 3, pp. 844–851, May 2020. Sep. 2021, pp. 1–5.
[4] S. Afrasiabi, S. Allahmoradi, M. Salimi, X. Liang, and C. Y. Chung, [25] A. Eskandari, J. Milimonfared, and M. Aghaei, ‘‘Fault detection and clas-
‘‘Machine learning-based condition monitoring of solar photovoltaic sys- sification for photovoltaic systems based on hierarchical classification and
tems: A review,’’ in Proc. IEEE Can. Conf. Electr. Comput. Eng. (CCECE), machine learning technique,’’ IEEE Trans. Ind. Electron., vol. 68, no. 12,
Sep. 2022, pp. 49–54. pp. 12750–12759, Dec. 2021.
[5] M. Kavi, Y. Mishra, and M. Vilathgamuwa, ‘‘DC arc fault detection [26] M. U. Ali, H. F. Khan, M. Masud, K. D. Kallu, and A. Zafar, ‘‘A machine
for grid-connected large-scale photovoltaic systems,’’ IEEE J. Photovolt., learning framework to identify the hotspot in photovoltaic module using
vol. 10, no. 5, pp. 1489–1502, Sep. 2020. infrared thermography,’’ Sol. Energy, vol. 208, pp. 643–651, Sep. 2020.
[6] W. Gao and R.-J. Wai, ‘‘Series arc fault detection of grid-connected PV [27] A. Jamali Jahromi, M. Mohammadi, S. Afrasiabi, M. Afrasiabi, and
system via SVD denoising and IEWT-TWSVM,’’ IEEE J. Photovolt., J. Aghaei, ‘‘Probability density function forecasting of residential elec-
vol. 11, no. 6, pp. 1493–1510, Nov. 2021. tric vehicles charging profile,’’ Appl. Energy, vol. 323, Oct. 2022,
[7] M. K. Alam, F. Khan, J. Johnson, and J. Flicker, ‘‘A comprehensive Art. no. 119616.
review of catastrophic faults in PV arrays: Types, detection, and mitigation [28] S. Afrasiabi, S. Allahmoradi, M. Salimi, X. Liang, and C. Y. Chung,
techniques,’’ IEEE J. Photovolt., vol. 5, no. 3, pp. 982–997, May 2015. ‘‘Nonparametric maximum likelihood probabilistic photovoltaic power
[8] D. S. Pillai and R. Natarajan, ‘‘A compatibility analysis on NEC, IEC, and generation forecasting based on spatial–temporal deep learning,’’ in Proc.
UL standards for protection against line–line and line–ground faults in PV IEEE Can. Conf. Electr. Comput. Eng. (CCECE), Sep. 2022, pp. 72–77.
arrays,’’ IEEE J. Photovolt., vol. 9, no. 3, pp. 864–871, May 2019.
[29] Y. Liu et al., ‘‘Fault diagnosis approach for photovoltaic array based on the
[9] W. Miao, Y. Luo, F. Wang, and C. Jiang, ‘‘Fault detection and location
stacked auto-encoder and clustering with I-V curves,’’ Energy Convers.
algorithm by voltage characteristics for PV system,’’ IEEE J. Photovolt.,
Manage., vol. 245, Oct. 2021, Art. no. 114603.
vol. 13, no. 6, pp. 968–978, Nov. 2023.
[30] C. Tao, X. Wang, F. Gao, and M. Wang, ‘‘Fault diagnosis of photovoltaic
[10] S. Roy, M. K. Alam, F. Khan, J. Johnson, and J. Flicker, ‘‘An irradiance-
array based on deep belief network optimized by genetic algorithm,’’ Chin.
independent, robust ground-fault detection scheme for PV arrays based
J. Electr. Eng., vol. 6, no. 3, pp. 106–114, Sep. 2020.
on spread spectrum time-domain reflectometry (SSTDR),’’ IEEE Trans.
Power Electron., vol. 33, no. 8, pp. 7046–7057, Aug. 2018. [31] M. Alrifaey et al., ‘‘Hybrid deep learning model for fault detection and clas-
[11] B. P. Kumar, G. S. Ilango, M. J. B. Reddy, and N. Chilakapati, ‘‘Online fault sification of grid-connected photovoltaic system,’’ IEEE Access, vol. 10,
detection and diagnosis in photovoltaic systems using wavelet packets,’’ pp. 13852–13869, 2022.
IEEE J. Photovolt., vol. 8, no. 1, pp. 257–265, Jan. 2018. [32] J. Van Gompel, D. Spina, and C. Develder, ‘‘Satellite based fault diagnosis
[12] P. B. Quater, F. Grimaccia, S. Leva, M. Mussetta, and M. Aghaei, ‘‘Light of photovoltaic systems using recurrent neural networks,’’ Appl. Energy,
unmanned aerial vehicles (UAVs) for cooperative inspection of PV plants,’’ vol. 305, Jan. 2022, Art. no. 117874.
IEEE J. Photovolt., vol. 4, no. 4, pp. 1107–1113, Jul. 2014. [33] M. Afrasiabi, J. Aghaei, S. Afrasiabi, and M. Mohammadi, ‘‘Probability
[13] F. Harrou, A. Saidi, Y. Sun, and S. Khadraoui, ‘‘Monitoring of photovoltaic density function forecasting of electricity price: Deep Gabor convolu-
systems using improved kernel-based learning schemes,’’ IEEE J. Photo- tional mixture network,’’ Electric Power Syst. Res., vol. 213, Dec. 2022,
volt., vol. 11, no. 3, pp. 806–818, May 2021. Art. no. 108325.
SHAHABODIN AFRASIABI (Member, IEEE) C. Y. CHUNG (Fellow, IEEE) received the B.Eng.
received the B.Sc. degree in electrical engineering (Hons.) and Ph.D. degrees in electrical engineer-
from Semenan University, Semnan, Iran, in 2014, ing from The Hong Kong Polytechnic University,
the M.Sc. degree in electrical engineering from Hong Kong, China, in 1995 and 1999, respec-
the Shahid Chamran University of Ahvaz, Ahvaz, tively.
Iran, in 2017, and the Ph.D. degree in electrical He is currently the Head of Department and
engineering from the University of Saskatchewan, the Chair Professor of power systems engineer-
Saskatoon, Canada, in 2024. His research inter- ing with the Department of Electrical Engineer-
ests include power system dynamics, machine ing, The Hong Kong Polytechnic University. His
learning, state estimation, and power system research interests include smart grid technologies,
probabilistic analysis. renewable energy, power system stability/control, planning and operation,
computational intelligence applications, power markets, and electric vehicle
charging.