MambaVSS-YOLOv11n: State Space Model-Enhanced Multi-Defect Detection in Photovoltaic Module Electroluminescence Images
Abstract
1. Introduction
- (1)
- A novel SPD-Conv-based downsampling method that preserves local spatial information through spatial-to-depth transformation while enhancing multi-scale feature extraction, particularly for subtle defects like Broken Gates. By optimizing computational complexity and feature utilization, SPD-Conv improves detection performance without compromising inference speed, meeting industrial EL inspection requirements.
- (2)
- The C3k2_VSS module, integrating CNN and SSM architectures with a Variable Spatial Scaling (VSS) mechanism, enhances adaptability to multi-scale defects and computational efficiency. This module synergizes local and global features, maintaining sensitivity to details while capturing broader contextual information, thereby improving the detection of large-area soldering defects and microcracks. The dynamic spatial scaling mechanism facilitates feature enhancement and fusion across network layers, outperforming fixed-receptive-field convolutions for EL images with significant scale variations. Additionally, C3k2_VSS reduces redundant computations, balancing high accuracy with efficient inference for industrial applications.
- (3)
- The Inner_MDPIoU loss function accelerates model convergence and enhances generalization capabilities, significantly boosting detection efficiency.
2. Related Work
3. Experimental Dataset Construction
3.1. Data Preparation
3.2. Micro-Defect Annotation in Captured Images
3.3. Photovoltaic Module Defect Image Dataset Construction
4. Model Composition and Improvement Description
4.1. Introduction to Existing Models
4.1.1. YOLOv11n Model
4.1.2. C3k2_VSS Model
4.1.3. SPD-Conv Model
4.1.4. The Loss Function Is Replaced with Inner-MDPIoU
4.2. Overall Architecture of the Improved MambaVSS-YOLOv11n Model
4.3. Model Training Platform and Hyperparameter Configuration
4.3.1. Training Platform Introduction
4.3.2. Network Training Hyperparameter Configuration
5. Results and Discussion
5.1. Evaluation Metrics
5.2. Comparative Experiment
5.3. Ablation Study
5.4. Training Experimental Results of the Improved MambaVSS-YOLOv11n Model
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Maka, O.M.; Alabid, J.M. Solar energy technology and its roles in sustainable development. Clean Energy 2022, 6, 476–483. [Google Scholar] [CrossRef]
- Kabeyi, M.J.B.; Olanrewaju, O.A. Sustainable energy transition for renewable and low carbon grid electricity generation and supply. Front. Energy Res. 2022, 9, 743114. [Google Scholar] [CrossRef]
- Hosenuzzaman, M.; Rahim, N.A.; Selvaraj, J.; Hasanuzzaman, M.; Malek, A.B.M.A.; Nahar, A. Global prospects, progress, policies, and environmental impact of solar photovoltaic power generation. Renew. Sustain. Energy Rev. 2015, 41, 284–297. [Google Scholar] [CrossRef]
- Vision VNES. Towards 100% renewable energy by 2050, 2023. [Online]. Available online: https://wwfasia.awsassets.panda.org/downloads/-en--scenario-report_100re-map.pdf (accessed on 17 November 2025).
- Venkateswari, R.; Sreejith, S. Factors influencing the efficiency of photovoltaic system. Renew. Sustain. Energy Rev. 2019, 101, 376–394. [Google Scholar] [CrossRef]
- Wang, P.; Li, G.; Wang, M.; Li, H.; Zheng, J.; Yang, L.; Chen, Y.; Li, D.; Lu, L. Numerical study of mono-crystalline silicon solar cells with passivated emitter and rear contact configuration for the efficiency beyond 24% based on mass production technology. J. Semicond. 2020, 41, 062701. [Google Scholar] [CrossRef]
- Nivelle, P.; Tsanakas, J.A.; Poortmans, J.; Daenen, M. Stress and strain within photovoltaic modules using the finite element method: A critical review. Renew. Sustain. Energy Rev. 2021, 145, 111022. [Google Scholar] [CrossRef]
- Li, X.; Li, W.; Yang, Q.; Yan, W.; Zomaya, A.Y. Edge-computing-enabled unmanned module defect detection and diagnosis system for large-scale photovoltaic plants. IEEE Internet Things J. 2020, 7, 9651–9663. [Google Scholar] [CrossRef]
- Deitsch, S.; Christlein, V.; Berger, S.; Buerhop-Lutz, C.; Maier, A.; Gallwitz, F.; Riess, C. Automatic classification of defective photovoltaic module cells in electroluminescence images. Sol. Energy 2019, 185, 455–468. [Google Scholar] [CrossRef]
- Akram, M.W.; Li, G.; Yang, Y.; Chen, X. Failures of photovoltaic modules and their detection: A review. Appl. Energy 2022, 313, 118822. [Google Scholar] [CrossRef]
- Bansal, M.A.; Sharma, D.R.; Kathuria, D.M. A systematic review on data scarcity problem in deep learning: Solution and applications. ACM Comput. Surv. 2022, 54, 208. [Google Scholar] [CrossRef]
- Hao, X.; Liu, L.; Yang, R.; Yin, L.; Zhang, L.; Li, X. A review of data augmentation methods of remote sensing image target recognition. Remote Sens. 2023, 15, 827. [Google Scholar] [CrossRef]
- Manno, D.; Cipriani, G.; Ciulla, G.; Di Dio, V.; Guarino, S.; Brano, V.L. Deep learning strategies for automatic fault diagnosis in photovoltaic systems by thermographic images. Energy Convers. Manag. 2021, 241, 114315. [Google Scholar] [CrossRef]
- Hoskere, V.A.; Develo. Autonomy in Structural Inspections Through Computer Vision and Graphics. Ph.D. Thesis, University of Illinois at Urbana-Champaign, Champaign, IL, USA, 2020. [Google Scholar]
- Høiaas, I.; Grujic, K.; Imenes, A.G.; Burud, I.; Olsen, E.; Belbachir, N. Inspection and condition monitoring of large-scale photovoltaic power plants: A review of imaging technologies. Renew. Sustain. Energy Rev. 2022, 161, 112353. [Google Scholar] [CrossRef]
- Kheradmandi, N.; Mehranfar, V. A critical review and comparative study on image segmentation-based techniques for pavement crack detection. Constr. Build. Mater. 2022, 321, 126162. [Google Scholar] [CrossRef]
- Vasagar, V.; Hassan, M.K.; Abdullah, A.M.; Karre, A.V.; Chen, B.; Kim, K.; Al-Qahtani, N.; Cai, T. Non-destructive techniques for corrosion detection: A review, Corrosion Engineering. Sci. Technol. 2024, 59, 56–85. [Google Scholar]
- Aghaei, M.; Fairbrother, A.; Gok, A.; Ahmad, S.; Kazim, S.; Lobato, K.; Oreski, G.; Reinders, A.; Schmitz, J.; Theelen, M.; et al. Review of degradation and failure phenomena in photovoltaic modules. Renew. Sustain. Energy Rev. 2022, 159, 112160. [Google Scholar] [CrossRef]
- Wu, Q.; Castleman, K.R. Image segmentation. In Microscope Image Processing; Academic Press: Amsterdam, The Netherlands, 2023; pp. 119–152. [Google Scholar]
- Bertocci, F.; Grandoni, A.; Djuric-Rissner, T. Scanning acoustic microscopy (sam): A robust method for defect detection during the manufacturing process of ultrasound probes for medical imaging. Sensors 2019, 19, 4868. [Google Scholar] [CrossRef]
- Kandeal, A.W.; Elkadeem, M.R.; Thakur, A.K.; Abdelaziz, G.B.; Sathyamurthy, R.; Kabeel, A.; Yang, N.; Sharshir, S.W. Infrared thermography-based condition monitoring of solar photovoltaic systems: A mini review of recent advances. Sol. Energy 2021, 223, 33–43. [Google Scholar] [CrossRef]
- Wang, A.; Chen, H.; Liu, L.; Chen, K.; Lin, Z.; Han, J.; Ding, G. Yolov10: Real-time end-to-end object detection. Adv. Neural Inf. Process. Syst. 2024, 37, 107984–108011. [Google Scholar]
- Hussain, M. Yolov5, yolov8 and yolov10: The go-to detectors for real-time vision. arXiv 2024, arXiv:2407.02988. [Google Scholar]
- Huang, J.; Zeng, K.; Zhang, Z.; Zhong, W. Solar panel defect detection design based on yolo v5 algorithm. Heliyon 2023, 9, e18826. [Google Scholar] [CrossRef] [PubMed]
- Wang, N.; Huang, S.; Liu, X.; Wang, Z.; Liu, Y.; Gao, Z. Mra-yolov8: A network enhancing feature extraction ability for photovoltaic cell defects. Sensors 2025, 25, 1542. [Google Scholar] [CrossRef] [PubMed]
- Khanam, R.; Asghar, T.; Hussain, M. Comparative performance evaluation of yolov5, yolov8, and yolov11 for solar panel defect detection. Solar 2025, 5, 6. [Google Scholar] [CrossRef]
- Yu, S.; Gan, F.; Han, T.; Hou, S.; Feng, X.; Chen, K. Multimodal fault detection model for photovoltaic modules. Sci. Rep. 2026, 16, 3278. [Google Scholar] [CrossRef]
- Jabrane, M.; Sebari, I.; El Kadi, K.A. Real time solar panels heat point’s detection with EDGE ViTs using thermal drone imagery. Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci. 2025, XLVIII-2/W11-2025, 127–132. [Google Scholar] [CrossRef]
- Cao, H.; Hu, H.; Lu, M.; Zhao, M. LWMF-DETR: A lightweight transformer network for photovoltaic hot-spot fault detection with multi-scale wavelet feature fusion. Sol. Energy Mater. Sol. Cells 2026, 295, 114005. [Google Scholar] [CrossRef]
- Zhou, X.; Li, X.; Huang, W.; Wei, R. Lem-detector: An efficient detector for photovoltaic panel defect detection. Appl. Sci. 2024, 14, 10290. [Google Scholar] [CrossRef]
- Zhao, X.; Gao, L.; Peng, Y.; Yang, X. Defect detection of photovoltaic panel electroluminescence image based on yolov7-se-ds-nwd algorithm. In Proceedings of the 2023 3rd International Conference on Robotics, Automation and Intelligent Control (ICRAIC); IEEE: New York, NY, USA, 2023; pp. 121–125. [Google Scholar]
- Gu, A.; Dao, T. Mamba: Linear-time sequence modeling with selective state spaces. arXiv 2023, arXiv:2312.00752. [Google Scholar] [CrossRef]
- Qu, H.; Ning, L.; An, R.; Fan, W.; Derr, T.; Liu, H.; Xu, X.; Li, Q. A survey of mamba. arXiv 2024, arXiv:2408.01129. [Google Scholar] [PubMed]
- Zhang, H.; Zhu, Y.; Wang, D.; Zhang, L.; Chen, T.; Wang, Z.; Ye, Z. A survey on visual mamba. Appl. Sci. 2024, 14, 5683. [Google Scholar] [CrossRef]
- Wang, J.; Zhao, W.; Liu, C.; Yang, H.; Xu, W. Real-time object detection based on mamba and yolov8. In 2024 4th International Conference on Industrial Automation, Robotics and Control Engineering (IARCE); IEEE: New York, NY, USA, 2024. [Google Scholar]
- Bai, M.; Di, X.; Yu, L.; Ding, J.; Lin, H. A pine wilt disease detection model integrated with mamba model and attention mechanisms using uav imagery. Remote Sens. 2025, 17, 255. [Google Scholar] [CrossRef]
- Han, C.; Yang, H.; Yang, Y. Enhancing pixel-level crack segmentation with visual mamba and convolutional networks. Autom. Constr. 2024, 168, 105770. [Google Scholar] [CrossRef]
- Zhao, Z.; He, P. Yolo-mamba: Object detection method for infrared aerial images. Signal Image Video Process. 2024, 18, 8793–8803. [Google Scholar] [CrossRef]
- Zhao, X.; Lv, C.; Wang, Y.; Wang, J.; Wei, Q. Mamba-YOLO: Efficient Remote Sensing Object Detection with Visual State Space Model. arXiv 2024, arXiv:2406.05835. [Google Scholar]
- Glenn, J.; Qiu, J. Ultralytics YOLO11, Version 11.0.0; Ultralytics: Frederick, MD, USA, 2024; Available online: https://github.com/ultralytics/ultralytics (accessed on 2 February 2026).
- Liu, Y.; Tian, Y.; Zhao, Y.; Yu, H.; Xie, L.; Wang, Y.; Ye, Q.; Jiao, J.; Liu, Y. VMamba: Visual state space model. arXiv 2024. [Google Scholar] [CrossRef]
- Sunkara, R.; Luo, T. No more strided convolutions or pooling: A new CNN building block for low-resolution images and small objects. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases; Springer: Cham, Switzerland, 2022; pp. 443–459. [Google Scholar]











| No. | Defect Type | Defect Description | Defect Quantitative Description |
|---|---|---|---|
| 1 | Broken Gate | Typically manifests as interrupted or missing areas in electrode grid lines | The break is perpendicular to the finger direction. |
| 2 | Cold Solder Joint | Usually appears as irregular areas with locally reduced brightness and blurred edges | The total void area on a single cell exceeds 10% of the cell area. |
| 3 | Black Spot | Characterized by black or dark areas at edges/corners, forming sharp contrast with surrounding bright regions | The span of a black spot defect on a single cell exceeds 1/15 of the cell’s diagonal length. |
| 4 | Scratch | Presents as linear or irregular low-luminance areas | The length exceeds one-third of the cell length. |
| 5 | Microcrack | Appears as continuous faint dark lines | The number of microcracks on a single cell shall not exceed two, and the length of each microcrack shall not exceed one-half of the solar cell side length. |
| 6 | Suction Mark | Shows regular circular or oval-shaped low-brightness areas | Nearly circular with uniform gray level internally. |
| Name | Parameter |
|---|---|
| Operating System | Ubuntu18.04 |
| CPU | 12 vCPU Intel(R) Xecon(R) Platinum 8255C CPU @2.50 GHz |
| RAM | 90 GB |
| GPU | RTX4090 |
| GPU Memory | 24 GB |
| Programming Language | Python 3.8 |
| Deep Learning Framework | PyTorch 2.0.1 + Cuda 11.8 |
| Name | Parameter |
|---|---|
| Learning Rate Update | Cosine Annealing |
| Optimizer | AdamW or SGD-Momentum |
| Training Epochs | 200 |
| Batch Size | 16 |
| Early Stopping Patience | 50 |
| Pretrained Weights | False |
| Model | Precision | Recall | mAP@0.5 | mAP@0.5:0.95 | Params | FLOPs (G) | Inference Speed (fps) |
|---|---|---|---|---|---|---|---|
| YOLOv5n | 0.820 | 0.749 | 0.831 | 0.537 | 2.49 | 7.8 | 285 |
| YOLOv6n | 0.761 | 0.487 | 0.566 | 0.276 | 4.15 | 11.5 | 210 |
| YOLOv8n | 0.723 | 0.799 | 0.811 | 0.529 | 2.86 | 8.2 | 278 |
| YOLOv9t | 0.872 | 0.792 | 0.828 | 0.560 | 1.90 | 7.6 | 290 |
| YOLOv10n | 0.820 | 0.677 | 0.774 | 0.521 | 2.61 | 8.3 | 275 |
| YOLOv11n | 0.794 | 0.802 | 0.833 | 0.572 | 2.59 | 6.4 | 315 |
| ours | 0.872 | 0.819 | 0.861 | 0.623 | 2.12 | 8.0 | 288 |
| No. | SPD-Conv | C3k2_VSS | InnerMPDIoU | Precision | Recall | mAP0.5 | mAP0.5:0.95 |
|---|---|---|---|---|---|---|---|
| 1 | × | × | × | 0.794 | 0.802 | 0.833 | 0.572 |
| 2 | √ | × | × | 0.849 | 0.791 | 0.842 | 0.57 |
| 3 | √ | √ | × | 0.859 | 0.798 | 0.857 | 0.611 |
| 4 | √ | √ | √ | 0.872 | 0.819 | 0.861 | 0.623 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wang, K.; Tang, Y.; Wang, X.; Yang, N.; Han, Z.; Li, F.; Song, G. MambaVSS-YOLOv11n: State Space Model-Enhanced Multi-Defect Detection in Photovoltaic Module Electroluminescence Images. Sensors 2026, 26, 1373. https://doi.org/10.3390/s26041373
Wang K, Tang Y, Wang X, Yang N, Han Z, Li F, Song G. MambaVSS-YOLOv11n: State Space Model-Enhanced Multi-Defect Detection in Photovoltaic Module Electroluminescence Images. Sensors. 2026; 26(4):1373. https://doi.org/10.3390/s26041373
Chicago/Turabian StyleWang, Kun, Yixin Tang, Xu Wang, Nan Yang, Ziqi Han, Fuzhong Li, and Guozhu Song. 2026. "MambaVSS-YOLOv11n: State Space Model-Enhanced Multi-Defect Detection in Photovoltaic Module Electroluminescence Images" Sensors 26, no. 4: 1373. https://doi.org/10.3390/s26041373
APA StyleWang, K., Tang, Y., Wang, X., Yang, N., Han, Z., Li, F., & Song, G. (2026). MambaVSS-YOLOv11n: State Space Model-Enhanced Multi-Defect Detection in Photovoltaic Module Electroluminescence Images. Sensors, 26(4), 1373. https://doi.org/10.3390/s26041373
