基于改进YOLOv5模型的PCB缺陷检测技术研究

Research on PCB Defect Detection Technology Based on the Improved YOLOv5 Model

  • 摘要: 针对印刷电路板(Printed Circuit Board,PCB)缺陷检测中传统方法的不足,提出基于改进YOLOv5模型的智能检测方案。首先,基于YOLOv5模型对主流单阶段检测器进行量化对比;其次,采用双向交互式特征金字塔(Bi-FPN)结构进行模型设计改进,提升模型对微小缺陷的检测精度,降低误检率;最后,构建PCB-1386工业数据集,实施多模态数据增强策略,设计三阶段渐进式迁移学习方案以适配工业质检小样本特性,并建立三层评估体系。实验结果表明,改进后的YOLOv5模型检测性能明显优于传统检测模型,具备检测精度高、推理速度快、指标稳定性强等优点,可显著降低企业缺陷检测成本,具有较好的经济价值和实用价值,市场应用潜力巨大。

     

    Abstract: Aiming at the deficiencies of traditional methods in the defect detection of Printed Circuit boards (PCB), an intelligent detection scheme based on the improved YOLOv5 model is proposed.Firstly, the YOLOv5 model is adopted as the benchmark to conduct a quantitative comparison of the mainstream single-stage detectors; Secondly, the bidirectional Feature Pyramid Network (Bi-FPN) structure is adopted for model design improvement to enhance the detection accuracy of the model for minor defects and reduce the false detection rate.Finally, the PCB-1386 industrial dataset was constructed, the multimodal data augbling strategy was implemented, a three-stage progressive transfer learning scheme was designed to adapt to the small sample characteristics of industrial quality inspection, and a three-layer evaluation system was established.The experimental results show that the detection performance of the improved YOLOv5 model is significantly better than that of the traditional detection model.It has the advantages of high detection accuracy, fast reasoning speed and strong index stability, which can significantly reduce the defect detection cost of enterprises.It has good economic and practical value and huge market application potential.

     

/

返回文章
返回