Lei Zhenwu, Zhang Yue, Wang Jing, Zhou Meng
The School of Electrical and Control Engineering, North China University of Technology, Beijing 100144, China.
Sensors (Basel). 2024 Sep 12;24(18):5921. doi: 10.3390/s24185921.
Defect detection constitutes one of the most crucial processes in industrial production. With a continuous increase in the number of defect categories and samples, the defect detection model underpinned by deep learning finds it challenging to expand to new categories, and the accuracy and real-time performance of product defect detection are also confronted with severe challenges. This paper addresses the problem of insufficient detection accuracy of existing lightweight models on resource-constrained edge devices by presenting a new lightweight YoloV5 model, which integrates four modules, SCDown, GhostConv, RepNCSPELAN4, and ScalSeq. Here, this paper abbreviates it as SGRS-YoloV5n. Through the incorporation of these modules, the model notably enhances feature extraction and computational efficiency while reducing the model size and computational load, making it more conducive for deployment on edge devices. Furthermore, a cloud-edge collaborative defect detection system is constructed to improve detection accuracy and efficiency through initial detection by edge devices, followed by additional inspection by cloud servers. An incremental learning mechanism is also introduced, enabling the model to adapt promptly to new defect categories and update its parameters accordingly. Experimental results reveal that the SGRS-YoloV5n model exhibits superior detection accuracy and real-time performance, validating its value and stability for deployment in resource-constrained environments. This system presents a novel solution for achieving efficient and accurate real-time defect detection.
缺陷检测是工业生产中最关键的流程之一。随着缺陷类别和样本数量的不断增加,基于深度学习的缺陷检测模型难以扩展到新类别,产品缺陷检测的准确性和实时性也面临严峻挑战。本文提出了一种新的轻量级YoloV5模型,即SGRS-YoloV5n,以解决现有轻量级模型在资源受限的边缘设备上检测精度不足的问题。该模型集成了SCDown、GhostConv、RepNCSPELAN4和ScalSeq四个模块。通过融入这些模块,该模型显著提高了特征提取能力和计算效率,同时减小了模型大小和计算负载,更有利于在边缘设备上部署。此外,构建了一个云边协同缺陷检测系统,通过边缘设备进行初始检测,再由云服务器进行额外检查,以提高检测精度和效率。还引入了增量学习机制,使模型能够迅速适应新的缺陷类别并相应地更新其参数。实验结果表明,SGRS-YoloV5n模型具有卓越的检测精度和实时性能,验证了其在资源受限环境中部署的价值和稳定性。该系统为实现高效、准确的实时缺陷检测提供了一种新颖的解决方案。