|国家科技期刊平台
首页|期刊导航|福建电脑|双重轻量化PCB缺陷检测算法研究

双重轻量化PCB缺陷检测算法研究OA

Research on Dual Lightweight PCB Defect Detection Algorithm

中文摘要英文摘要

针对PCB缺陷检测方法存在检测速度慢、对部署设备要求高等问题,本文提出一种双重轻量化PCB缺陷检测算法.首先在YOLOv5主干网络中采用轻量化模块C3Ghost;然后利用GSConv模块和C3GS模块搭建特征融合网络,用来获取主干网络丢失的部分语义信息和提高网络检测速度;最后利用多任务全局通道剪枝修剪对网络精度影响较小的通道,进一步减少模型的参数量和计算量.该算法在PKU-Market-PCB数据集上进行测试,平均精度值为 98.9%、模型大小为 5.2M、模型参数量为2393469、检测时间为3.3ms.对比原算法,其模型大小、模型参数量和检测时间分别减少64%、66%和25%.

This paper proposes a dual lightweight PCB defect detection algorithm to address the issues of slow detection speed and high requirements for deployment equipment in PCB defect detection methods.Firstly,a lightweight module C3Ghost is adopted in the YOLOv5 backbone network.Then,a feature fusion network is constructed using the GSConv module and C3GS module to obtain partial semantic information lost in the backbone network and improve network detection speed.Finally,multi task global channel pruning is used to prune channels that have a small impact on network accuracy,further reducing the model's parameter and computational complexity.This algorithm was tested on the PKU-Market-PCB dataset,with an average accuracy of 98.9%,a model size of 5.2M,a model parameter count of 2393469,and a detection time of 3.3ms.Compared with the original algorithm,its model size,model parameter count,and detection time were reduced by 64%,66%,and 25%,respectively.

杨洋;陈鑫

江西理工大学信息工程学院 江西 赣州 341000

计算机与自动化

PCB缺陷检测双重轻量化C3Ghost模块通道剪枝

PCB Defect DetectionDual LightweightC3Ghost ModuleChannel Pruning

《福建电脑》 2024 (006)

15-20 / 6

本文得到江西省研究生创新专项(No.YC2023-S662)资助.

10.16707/j.cnki.fjpc.2024.06.003

评论