基于PMAC-YOLO的轻量级PCB缺陷检测方法
DOI:
CSTR:
作者:
作者单位:

昆明理工大学信息工程与自动化学院昆明650500

作者简介:

通讯作者:

中图分类号:

TN41;TP391.41

基金项目:

国家自然科学基金(62263016)、云南省科技厅面上(202401AT070375)、云南省高校服务重点产业科技专项(FWCYQYCT2024003)项目资助


The lightweight PCB defect detection method based on PMAC-YOLO
Author:
Affiliation:

Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650500,China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对现有PCB缺陷检测方法计算负担重、难以满足实时轻量化需求的问题,设计了一种轻量级印刷电路板缺陷检测模型PMAC-YOLO。为实现精度与轻量化的高效平衡,模型设计3大核心优化模块:首先,通过构建轻量级C3k2_PMLCA模块,融合部分卷积PConv与混合局部通道注意力MLCA机制,增强模型在复杂背景下对小目标特征的提取与感知能力;其次,设计ADSdown自适应深度可分离下采样模块,实现轻量化下采样并动态调节信息保留程度;此外,引入跨尺度特征融合CCFM模块,融合多尺度特征以增强模型对尺度变化的适应能力,提升小目标缺陷的检测精度。实验在DeepPCB数据集及HRIPCB增强数据集上进行验证,结果显示,PMAC-YOLO的mAP@0.5分别达到98.8%和99.1%,较基准模型YOLOv11提升0.3%和0.4%,同时参数量降低至1.22×10-6,计算量降低至3.4 GFLOPs,模型权重文件尺寸仅为2.8 MB,分别较基准降低52.64%、46.03%和49.09%。研究结果表明,PMAC-YOLO在显著降低模型复杂度与资源占用的同时,保持了优异甚至更优的检测精度,成功实现了精度与轻量化的有效平衡,为PCB缺陷实时检测提供了可行的轻量化解决方案。

    Abstract:

    To address the issues of heavy computational burden and difficulty in meeting real-time lightweight requirements of existing PCB defect detection methods, this study designs a lightweight printed circuit board defect detection model named PMAC-YOLO. To achieve an efficient balance between accuracy and lightweight requirements, the model is designed with three core optimized modules: first, a lightweight C3k2_PMLCA module is constructed by fusing partial convolution with the mixed local channel attention mechanism, enhancing the model′s ability to extract and perceive small-target features in complex backgrounds. Second, an ADSdown adaptive depthwise separable downsampling module is proposed to achieve lightweight downsampling while dynamically adjusting the degree of information retention. Additionally, a cross-scale feature fusion module is introduced to fuse multi-scale features, thereby improving the model’s adaptability to scale variations and the detection accuracy of small-target defects. Experiments are conducted on the DeepPCB dataset and the HRIPCB enhanced dataset. The results demonstrate that PMAC-YOLO achieves mAP@05 of 98.8% and 99.1% respectively, representing an improvement of 0.3% and 0.4% compared to the baseline model YOLOv11. Meanwhile, the number of parameters is reduced to 1.22×10-6, the computational complexity is decreased to 3.4 GFLOPs, and the model weight file size is only 2.8 MB, which are 52.64%, 46.03%, and 49.09% lower than those of the baseline, respectively. These results indicate that PMAC-YOLO significantly reduces model complexity and resource consumption while maintaining excellent or even superior detection accuracy, successfully achieving an effective balance between accuracy and lightweight performance. This study provides a feasible lightweight solution for real-time PCB defect detection.

    参考文献
    相似文献
    引证文献
引用本文

郑佳丽,董凌,李恒,薛晓军,刘辉.基于PMAC-YOLO的轻量级PCB缺陷检测方法[J].电子测量与仪器学报,2026,40(5):119-132

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-07-13
  • 出版日期:
文章二维码
×
《电子测量与仪器学报》
关于防范虚假编辑部邮件的郑重公告