基于群体智能优化BP神经网络的光伏组件故障诊断研究
Research on Fault Diagnosis of Photovoltaic Module Based on Swarm Intelligence Optimized BP Neural Network
摘要: 光伏组件运行环境复杂,易发生短路、开路、阴影遮挡、老化退化等故障,及时准确地诊断光伏组件故障对保障光伏电站安全稳定运行、提高发电效率具有重要意义。针对传统BP神经网络故障诊断方法存在收敛速度慢、易陷入局部最优、诊断准确率不高,以及现有各类群体智能优化BP算法大多采用单次实验、缺少统一基准下泛化与稳定性对比的问题,本文在MATLAB单二极管模型仿真数据集上,将标准BP与粒子群优化(PSO)、遗传算法(GA)、灰狼优化(GWO)、差分进化(DE)、麻雀搜索算法(SSA)优化的BP模型共六种模型在完全一致的数据口径下进行公平对比,并进一步引入结构更深的MLP (5-16-16-5)作为补充对照基准,以考察网络结构加深对诊断性能的影响,进而明确群体智能优化的浅层BP在当前技术环境下的性能定位。方法利用光伏电池单二极管等效电路模型构建包含正常、短路、开路、阴影遮挡、老化退化五类典型状态的故障样本集,并以6次独立随机划分开展重复实验,以均值 ± 标准差表征模型性能。实验结果表明:在浅层5-8-5网络约束下,PSO-BP模型在测试集上的平均诊断准确率最高,达85.69% ± 6.31%,较标准BP (67.92% ± 6.07%)提升17.77个百分点(配对t检验p = 0.0088),且其标准差低于GA-BP、DE-BP与GWO-BP等多数群体智能优化BP模型,是资源受限、需保持轻量模型场景下的优选方案。对照实验亦表明,结构更深的MLP (5-16-16-5)在相同随机划分下对各类故障均达100%测试准确率,进一步印证了本文仿真特征对故障类别具有良好的可分性与有效性;所提PSO-BP方法在保持轻量结构的同时兼具较高的诊断准确率与稳定性,可为资源受限场景下的光伏组件故障智能诊断提供可靠方案。
Abstract: Photovoltaic (PV) modules operate under complex environmental conditions and are susceptible to various faults, including short-circuit faults, open-circuit faults, partial shading, and aging degradation. Timely and accurate fault diagnosis is essential for ensuring the safe and stable operation of PV power plants and improving power generation efficiency. Conventional backpropagation (BP) neural networks suffer from slow convergence, susceptibility to local optima, and limited diagnostic accuracy. Furthermore, existing studies on swarm-intelligence-optimized BP networks predominantly rely on single-run experiments, with insufficient comparisons of generalization performance and stability under a unified evaluation framework. To address these issues, this study conducts a systematic comparison of six models using a MATLAB simulation dataset based on the single-diode model. The models include a standard BP network and five BP networks optimized using particle swarm optimization (PSO), the genetic algorithm (GA), the grey wolf optimizer (GWO), differential evolution (DE), and the sparrow search algorithm (SSA). All six models are evaluated under identical data conditions and evaluation protocols. In addition, a deeper multilayer perceptron (MLP) with an architecture of 5-16-16-5 is introduced as a supplementary benchmark to investigate the effect of increased network depth on diagnostic performance and clarify the performance positioning of shallow BP networks optimized by swarm intelligence in the context of current technological developments. A fault dataset comprising five operating states—normal operation, short circuit, open circuit, partial shading, and aging degradation—is constructed using the single-diode equivalent circuit model of a PV cell. Six independent random data splits are employed for repeated experiments, and model performance is evaluated using the mean and standard deviation. The experimental results show that, among the shallow networks with a 5-8-5 architecture, PSO-BP achieves the highest mean test accuracy of 85.69% ± 6.31%, representing an improvement of 17.77 percentage points over the standard BP network (67.92% ± 6.07%). This improvement is statistically significant according to a paired t-test (p = 0.0088). Moreover, PSO-BP exhibits lower variability than most swarm-intelligence-optimized BP models, including GA-BP, DE-BP, and GWO-BP, making it a preferred option for applications requiring lightweight models under resource constraints. The comparative experiments further show that the deeper MLP (5-16-16-5) achieves 100% test accuracy for all fault categories under the same random data splits. This result further supports the good separability of the simulated features for distinguishing fault categories and their effectiveness in the present experimental setting. Overall, the proposed PSO-BP method achieves relatively high diagnostic accuracy and stability while retaining a lightweight network architecture, providing a reliable approach to intelligent PV module fault diagnosis in resource-constrained applications.
文章引用:雍江枫, 张先卓, 李君强, 何彦德. 基于群体智能优化BP神经网络的光伏组件故障诊断研究[J]. 建模与仿真, 2026, 15(11): 80-89. https://doi.org/10.12677/mos.2026.1511157

参考文献

[1] 王道累, 姚从荣, 李超, 等. 光伏组件热斑效应智能化检测的综述及展望[J]. 太阳能学报, 2024, 45(5): 527-536.
[2] 何云霄, 卫东, 郭倩, 等. 基于时间序列特征提取的光伏组件老化故障诊断方法[J]. 太阳能学报, 2024, 45(11): 204-211.
[3] Zhang, Z.X., Wei, Y.W., Zhang, K.Q., et al. (2025) Research on Composite Fault Diagnosis of Photovoltaic Arrays Based on ICOA-XGBoost. Acta Energiae Solaris Sinica, 46, 251-259.
[4] Thakfan, A. and Bin Salamah, Y. (2024) Artificial-Intelligence-Based Detection of Defects and Faults in Photovoltaic Systems: A Survey. Energies, 17, Article No. 4807.
https://doi.org/10.3390/en17194807
[5] Rumelhart, D.E., Hinton, G.E. and Williams, R.J. (1986) Learning Representations by Back-Propagating Errors. Nature, 323, 533-536.
https://doi.org/10.1038/323533a0
[6] 姚洁, 邱劲. 基于SSA-BP算法的道路交通流量预测研究[J]. 西南大学学报(自然科学版), 2022, 44(10): 193-201.
[7] Kennedy, J. and Eberhart, R. (1995) Particle Swarm Optimization. Proceedings of ICNN’95-International Conference on Neural Networks, Perth, 27 November-1 December 1995, 1942-1948.
https://doi.org/10.1109/icnn.1995.488968
[8] Liu, B.T. (2023) Review of Swarm Intelligence Algorithm Optimization of BP Neural Network. Academic Journal of Computing & Information Science, 6, 151-155.
[9] Mirjalili, S., Mirjalili, S.M. and Lewis, A. (2014) Grey Wolf Optimizer. Advances in Engineering Software, 69, 46-61.
https://doi.org/10.1016/j.advengsoft.2013.12.007
[10] Holland, J.H. (1975) Adaptation in Natural and Artificial Systems. University of Michigan Press.
[11] Storn, R. and Price, K. (1997) Differential Evolution—A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces. Journal of Global Optimization, 11, 341-359.
https://doi.org/10.1023/a:1008202821328
[12] 郝帅, 吴瑛琦, 马旭, 等. 融合知识蒸馏和注意力机制的光伏热斑检测[J]. 光学精密工程, 2023, 31(24): 3640-3650.
[13] De Soto, W., Klein, S.A. and Beckman, W.A. (2006) Improvement and Validation of a Model for Photovoltaic Array Performance. Solar Energy, 80, 78-88.
https://doi.org/10.1016/j.solener.2005.06.010