RMSA-YOLO:基于空间自适应建模与特征重校准的PCB缺陷检测方法
DOI:
作者:
作者单位:

北京工业大学

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

国家重点研发计划(2024YFB4710100)


RMSA-YOLO: PCB Defect Detection Based on Spatially Adaptive Modeling and Feature Recalibration
Author:
Affiliation:

Beijing University of Technology

Fund Project:

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

    印刷电路板(PCB)作为现代电子系统的核心载体,其质量直接决定电子系统的正常运行。针对PCB缺陷目标小、形态不规则及特征细节易丢失等特点,本文提出了基于YOLOv8框架改进的PCB缺陷检测算法RMSA-YOLO。具体而言,首先在YOLOv8骨干网络中用C2f-Dysnake模块替换原C2f模块,增强对不规则缺陷的自适应建模能力。然后引入BRA注意力机制,抑制背景干扰并强化细节信息关注。最后,用SPPF_LSKA模块替换原SPPF模块,结合含高分辨率P2层的ReCalibrationFPN特征金字塔,实现重校准多尺度特征融合,提升小目标缺陷检测准确性。在PKU-Market-PCB公开数据集上的实验结果表明,RMSA-YOLO的精确率、召回率、mAP@50和mAP@50-95分别达96.6%、91.0%、95.2%和50.9%,相较于YOLOv8n分别提升0.8%、3.0%、1.4%和1.7%,且优于其他主流模型。

    Abstract:

    Printed circuit board (PCB) is the core carrier of modern electronic systems. Its quality directly affects the normal operation of electronic systems. To address the problems of small defect targets, irregular defect shapes and easy loss of feature details in PCB defect detection, an improved YOLOv8-based algorithm, named RMSA-YOLO was proposed. Specifically, the original C2f module was replaced by C2f-DySnake to enhance the adaptive modeling ability for irregular defects. Additionally, the BRA attention mechanism was introduced to suppress background interference and strengthen fine-grained defect features. Finally, the original SPPF module was replaced by SPPF_LSKA, and a ReCalibrationFPN with a high-resolution P2 layer was constructed to realize recalibrated multi-scale feature fusion. Experiments were conducted on the PKU-Market-PCB public dataset. The results show that the precision, recall, mAP50 and mAP50-95 of RMSA-YOLO are 96.6%, 91.0%, 95.2% and 50.9%, respectively, which are 0.8%, 3.0%, 1.4% and 1.7% higher than those of YOLOv8n. The proposed algorithm achieves better overall performance than other mainstream models.

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

于乃功,周嘉豪,邹子洋. RMSA-YOLO:基于空间自适应建模与特征重校准的PCB缺陷检测方法[J]. 科学技术与工程, , ():

复制
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2026-04-21
  • 最后修改日期:2026-07-10
  • 录用日期:2026-08-01
  • 在线发布日期:
  • 出版日期:
×
2026年会通知 | “技术经济学驱动智能经济生态构建与治理变革”——中国技术经济学会第三十三届学术年会(2026)会议通知暨征文启事(第一轮)
亟待确认版面费归属稿件,敬请作者关注