Lei Dong , Haojie Zhu , Hanpeng Ren , Ting-Yu Lin , Kuo-Ping Lin
{"title":"Developing YOLOv5s model with enhancement mechanisms for precision parts with irregular shapes","authors":"Lei Dong , Haojie Zhu , Hanpeng Ren , Ting-Yu Lin , Kuo-Ping Lin","doi":"10.1016/j.aei.2025.103257","DOIUrl":null,"url":null,"abstract":"<div><div>Given the precision issues caused by part irregularities and occlusion when intelligent assembly technology is used to identify and classify aerospace parts, this study develops a You Only Look Once Version 5 Small (YOLOv5s) model with enhancement mechanisms for detecting precision parts with irregular shapes. First, offsets and learnable parameters are employed in the convolutional layer and combined with the Cross Stage Partial Bottleneck with 3 convolutions (C3)module of the YOLOv5s neck network to enhance the model’s feature extraction capability for irregular objects. Second, the processing speed and recognition accuracy are increased by optimizing the loss function using the smallest possible distance between the corner points of the predicted boxes and the ground truth. Finally, a method is proposed for converting spatial information to channel information in the backbone and neck, thereby reducing information loss and enhancing detection accuracy for small targets. In this study, a dataset of precision parts with irregular shapes based on aerospace components was conducted and experimentally validated. The findings show that the suggested method outperforms YOLOv5 and the most current YOLOv9, increasing identification accuracy to 93.7 % and achieving a speed of 102.04 frames per second. This approach delivers improved detection accuracy for tiny targets, occlusions, and irregularly shaped components as compared to two-stage and one-stage detection algorithms. Furthermore, it maintains a pace of 100 frames per second while striking an optimal balance between speed and accuracy, offering a practical solution for the quick and accurate identification of precision components in smart assembly technology.</div></div>","PeriodicalId":50941,"journal":{"name":"Advanced Engineering Informatics","volume":"65 ","pages":"Article 103257"},"PeriodicalIF":9.9000,"publicationDate":"2025-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced Engineering Informatics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1474034625001508","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/3/14 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Given the precision issues caused by part irregularities and occlusion when intelligent assembly technology is used to identify and classify aerospace parts, this study develops a You Only Look Once Version 5 Small (YOLOv5s) model with enhancement mechanisms for detecting precision parts with irregular shapes. First, offsets and learnable parameters are employed in the convolutional layer and combined with the Cross Stage Partial Bottleneck with 3 convolutions (C3)module of the YOLOv5s neck network to enhance the model’s feature extraction capability for irregular objects. Second, the processing speed and recognition accuracy are increased by optimizing the loss function using the smallest possible distance between the corner points of the predicted boxes and the ground truth. Finally, a method is proposed for converting spatial information to channel information in the backbone and neck, thereby reducing information loss and enhancing detection accuracy for small targets. In this study, a dataset of precision parts with irregular shapes based on aerospace components was conducted and experimentally validated. The findings show that the suggested method outperforms YOLOv5 and the most current YOLOv9, increasing identification accuracy to 93.7 % and achieving a speed of 102.04 frames per second. This approach delivers improved detection accuracy for tiny targets, occlusions, and irregularly shaped components as compared to two-stage and one-stage detection algorithms. Furthermore, it maintains a pace of 100 frames per second while striking an optimal balance between speed and accuracy, offering a practical solution for the quick and accurate identification of precision components in smart assembly technology.
考虑到智能装配技术用于航空航天零件识别和分类时零件不规则和遮挡造成的精度问题,本研究开发了一个You Only Look Once Version 5 Small (YOLOv5s)模型,该模型具有增强机制,用于检测不规则形状的精密零件。首先,在卷积层引入偏移量和可学习参数,并结合YOLOv5s颈部网络的C3模块(Cross Stage Partial Bottleneck with 3 convolutions),增强模型对不规则物体的特征提取能力;其次,利用预测框的角点与地面真值之间尽可能小的距离来优化损失函数,从而提高处理速度和识别精度。最后,提出了一种将空间信息转换为骨干和颈部通道信息的方法,从而减少了信息丢失,提高了对小目标的检测精度。在本研究中,建立了基于航空航天部件的不规则形状精密零件数据集,并进行了实验验证。结果表明,该方法优于YOLOv5和最新的YOLOv9,识别准确率提高到93.7%,速度达到102.04帧/秒。与两阶段和单阶段检测算法相比,该方法提高了对微小目标、遮挡和不规则形状组件的检测精度。此外,它保持了每秒100帧的速度,同时在速度和精度之间取得了最佳平衡,为智能装配技术中精密部件的快速准确识别提供了实用的解决方案。
期刊介绍:
Advanced Engineering Informatics is an international Journal that solicits research papers with an emphasis on 'knowledge' and 'engineering applications'. The Journal seeks original papers that report progress in applying methods of engineering informatics. These papers should have engineering relevance and help provide a scientific base for more reliable, spontaneous, and creative engineering decision-making. Additionally, papers should demonstrate the science of supporting knowledge-intensive engineering tasks and validate the generality, power, and scalability of new methods through rigorous evaluation, preferably both qualitatively and quantitatively. Abstracting and indexing for Advanced Engineering Informatics include Science Citation Index Expanded, Scopus and INSPEC.