改进 YOLOV4-tiny 的印刷电路板缺陷检测
DOI:
作者:
作者单位:

作者简介:

通讯作者:

基金项目:


Improved YOLOv4-tiny for Detecting Defects on Printed Circuit Boards
Author:
Affiliation:

Fund Project:

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

    目的 针对印刷电路板表面缺陷检测中目标小以及检测精度不够等问题,提出一种改进的 YOLOv4-tiny 模 型印刷电路板缺陷检测方法,该算法在确保实时检测效率的同时,显著提升了检测的准确度。 方法 在主干特征提 取网络第二残差块输出 52?52?128 特征层后引入预测头 YOLO Head-P3,增加 FPN(Feature Pyramid Network)层 结构,提升了层结构的特征融合能力,解决了原 YOLOv4-tiny 模型针对小目标检测的网络结构缺陷问题;同时,在 FPN 结构中引入改进的 SPP(Spatial Pyramid Pooling)结构,加强不同尺度特征层的特征融合机制,以提高检测精 度;最后,引入 ECAnet(Efficient Channel Attention network ),通过自适应调节特征权重和注意力机制,进一步增强 了网络模型的自适应特征提取能力,同时减少了复杂性和计算需求,以满足对小目标缺陷信息的精准需求。 结果 实验结果表明:改进的算法模型检测平均精度(mAP)达到了 97. 32%,相较于原算法模型提高了 7. 69%,检测速度 达到了 113. 67 fps。 结论 改进后的模型相较于原模型各指标都有所提升,能够完成对小目标缺陷的实时监测,具 有很好的性能。

    Abstract:

    Objective To address the issues of small targets and insufficient detection accuracy in surface defect detection of printed circuit boards PCBs an improved YOLOv4-tiny model is proposed for PCB defect detection. This algorithm significantly improves detection accuracy while maintaining real-time efficiency. Methods First the second residual block of the backbone feature extraction network outputted a 52×52×128 feature map. Based on this feature map a prediction head named YOLO Head-P3 and a feature pyramid network FPN layer were added. These improvements enhanced the multi-scale feature fusion capability of the FPN layer and solved the structural deficiency of the original YOLOv4-tiny model in detecting small targets. Second an improved spatial pyramid pooling SPP structure was integrated into the FPN to strengthen multi-scale feature fusion thereby improving detection accuracy. Finally the efficient channel attention network ECAnet was introduced. By adaptively adjusting feature weights through an attention mechanism this network further enhanced the adaptive feature extraction capability of the model while reducing complexity and computational demands to meet the precise requirements for small-target defect information. Results Experimental results showed that the improved algorithm achieved a mean average precision mAP of 97. 32% which was 7. 69% higher than that of the original model with a detection speed of 113. 67 frames per second fps . Conclusion Compared with the original model all evaluation metrics of the improved model have been enhanced. The improved model enables real-time monitoring of small-target defects and exhibits excellent performance.

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

钱青霞a ,姜媛媛a, b.改进 YOLOV4-tiny 的印刷电路板缺陷检测[J].重庆工商大学学报(自然科学版),2026,43(4):59-67
QIAN Qingxia a JIANG Yuanyuan a b. Improved YOLOv4-tiny for Detecting Defects on Printed Circuit Boards[J]. Journal of Chongqing Technology and Business University(Natural Science Edition),2026,43(4):59-67

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-07-07
×
2025年《中国学术期刊影响因子年报》发布