YOLO-PMAA基于YOLOv11的增强PCB小目标缺陷检测算法OA
YOLO-PMAA:An Enhancing PCB Small Target Defect Detection Algorithm Based on YOLOv11
随着 PCB 朝着高密度、复杂化、小型化发展,对复杂背景下小目标缺陷检测提出高要求.为了提升模型小目标缺陷检出能力,基于 YOLOv11 模型,提出了一种增强 PCB 小目标检测算法 YOLO-PMAA.首先,在骨干网络浅层引入风车型卷积 PConv,通过非对称填充与卷积扩大感受野,确保小目标特征向网络深层传递;其次,设计了多维级联混合注意力模块 MDCA,通过尺度、通道、空间多维度关注重要信息,加强对细、长、窄类型小目标的特征提取;最后,设计了自适应形状损失函数 ASIoU,提升模型检测性能.该算法在 PKU-Market-PCB 数据集上进行多轮验证,与YOLOv11n相比,精确率提升3.0%,召回率提升6.2%,mAP@0.5提升3.8%,mAP@0.5:0.95提升3.2%,参数量减少4.25%,权重文件下降3.82%,在平衡模型复杂度的同时,有效提升了模型性能.
With the development of PCBs toward higher density,complexity and miniaturization,higher demands are placed on small target defect detection under complex backgrounds.To improve the model's ability to detect small target defects,this study proposes an enhanced PCB small target defect detection algorithm,YOLO-PMAA,based on YOLOv11.First,a pinwheel convolution(PConv)is introduced into the shallow layers of the backbone network to enlarge the receptive field through asymmetric padding and convolution,ensuring that the features of small targets are transmitted to the deeper layers of the network.Second,a multidimensional cascade hybrid attention module(MDCA)is designed,which focuses on important information across the scale,channel and spatial dimensions,thereby strengthening the feature extraction of thin,long and narrow small targets.Finally,an adaptive shape loss function(ASIoU)is designed to improve the detection performance of the model.The algorithm is validated over multiple rounds on the PKU-Market-PCB dataset.Compared with YOLOv11n,it improves precision by 3.0%,recall by 6.2%,mAP@0.5 by 3.8%and mAP@0.5:0.95 by 3.2%,and reduces the number of parameters by 4.25%and the weight file size by 3.82%,effectively improving model performance while balancing model complexity.
周杨淼
湖南工程职业技术学院,湖南 长沙 410151
信息技术与安全科学
PCB缺陷检测注意力机制损失函数特征融合小目标检测
PCB defect detectionattention mechanismloss functionfeature fusionsmall target detection
《现代信息科技》 2026 (17)
1-6,12,7
湖南省教育厅科学研究项目(25C0994)
评论