Xu Youzhi, Wu Hao, Liu Yulong, Zhang Xing
School of Mechanical Engineering, Anhui University of Technology, Ma'anshan 243002, China.
Sensors (Basel). 2025 Jun 4;25(11):3550. doi: 10.3390/s25113550.
Printed circuit board (PCB) assembly, on the basis of surface mount electronic component welding, is one of the most important electronic assembly processes, and its defect detection is also an important part of industrial generation. The traditional two-stage target detection algorithm model has a large number of parameters and the runtime is too long. The single-stage target detection algorithm has a faster running time, but the detection accuracy needs to be improved. To solve this problem, we innovated and modified the YOLO11n model. Firstly, we used the Retention Block (RetBlock) to improve the C3K2 module in the backbone, creating the RetC3K2 module, which makes up for the limitation of the original module's limited, purely convolutional local receptive field. Secondly, the neck structure of the original model network is fused with a Multi-Branch Auxiliary Feature Pyramid Network (MAFPN) structure and turned into a multi-branch auxiliary neck network, which enhances the model's ability to fuse multiple scaled characteristics and conveys diverse information about the gradient for the output layer. The improved YOLO11n model improves its mAP50 by 0.023 (2.5%) and mAP75 by 0.026 (2.8%) in comparison with the primitive model network, and detection precision is significantly improved, proving the superiority of our proposed approach.
基于表面贴装电子元件焊接的印刷电路板(PCB)组装是最重要的电子组装工艺之一,其缺陷检测也是工业生产的重要组成部分。传统的两阶段目标检测算法模型参数众多,运行时间过长。单阶段目标检测算法运行时间更快,但检测精度有待提高。为了解决这个问题,我们对YOLO11n模型进行了创新和改进。首先,我们使用保留块(RetBlock)改进主干中的C3K2模块,创建了RetC3K2模块,弥补了原始模块有限的纯卷积局部感受野的局限性。其次,将原始模型网络的颈部结构与多分支辅助特征金字塔网络(MAFPN)结构融合,转变为多分支辅助颈部网络,增强了模型融合多个缩放特征的能力,并为输出层传递关于梯度的多样化信息。与原始模型网络相比,改进后的YOLO11n模型的mAP50提高了0.023(2.5%),mAP75提高了0.026(2.8%),检测精度显著提高,证明了我们所提方法的优越性。