基于改进YOLOv11n-DeepLabv3+的螺栓旋转角度检测研究
郑吴筱添,钟灵毓秀,靳玉洁,吴梦宇,钟建伟,廖红华
(湖北民族大学 智能科学与工程学院,湖北 恩施 445000)
摘 要 :针对钢结构螺栓连接在长期服役中易发生松动失效,且传统检测方式精度与效率失衡的问题,提出了一种基于深度学习与图像处理的两阶段螺栓旋转角度视觉测量方法。首先构建改进的 YOLOv11n-TD 目标检测模型,通过引入具有仿生视觉特性的 TransNeXt 骨干网络增强多尺度特征提取能力,并采用 DIoU 损失函数优化边界框回归,实现螺栓定位及腐蚀、结构缺失、松动等表面缺陷的快速初筛。同时针对识别为松动的螺栓,利用 DeepLabv3+ 语义分割网络提取螺栓端面掩码,结合映射变换校正透视畸变,并通过形态学处理与自适应多边形逼近算法实现螺栓六边形角点的精准定位,最后利用质心匹配法来计算螺栓旋转角度。实验结果表明,改进后的检测模型全类平均精度达 82.1%,推理速度达 92.4 帧 /s,相较于基础模型提高了约 22.9%;在角度测量方面,单目标场景下初始感度误差低至 0.18°,多目标同步监测平均绝对误差控制在 1°以内。该方法在保证高实时性的同时显著提升了微小松动的检测精度,为工业场景下螺栓状态的非接触式自动化监测提供了有效的技术支撑。
关键词 : 螺栓松动检测 ;深度学习 ;YOLOv11n ;DeepLabv3+ ;旋转角度测量
中图分类号 :TM75 ;TH131.3 文献标识码 :A 文章编号 :2097-6623(2026)07-0047-10
Research on Bolt Rotation Angle Detection Based on Improved
YOLOv11n-DeepLabv3+
ZHENG Wu-xiaotian, ZHONG Ling-yuxiu, JIN Yu-jie, WU Meng-yu, ZHONG Jian-wei, LIAO Hong-hua
( College of Intelligent Systems Science and Engineering, Hubei Minzu University, Enshi 445000, China)
Abstract: Steel structural bolted connections are susceptible to loosening failure during long-term service, and conventional detection methods struggle to balance detection accuracy and operational efficiency. To address this issue, a two-stage visual measurement method based on deep learning and image processing is proposed for bolt rotation angle detection. First, an improved YOLOv11n-TD object detection model is developed. A bionic vision-based TransNeXt backbone network is introduced to enhance multi-scale feature extraction capability, and the DIoU loss function is adopted to optimize bounding box regression, enabling fast bolt localization and preliminary screening of typical surface defects, including corrosion, structural defects and loosening. For bolts preliminarily identified as loose, the DeepLabv3+ semantic segmentation network is employed to extract the mask of bolt end faces. After correcting perspective distortion via mapping transformation, morphological processing and an adaptive polygon approximation algorithm are utilized to achieve precise localization of bolt hexagonal corner points. The bolt rotation angle is finally calculated using the centroid matching method. Experimental results show that the improved model achieves a mean average precision of 82.1% and an inference speed of 92.4 frames per second, which is approximately 22.9% higher than that of the baseline model. In terms of angle measurement, the initial sensitivity error reaches as low as 0.18° in single-target scenarios, and the mean absolute error for multi-target synchronous monitoring is controlled within 1°. The proposed method significantly improves the detection accuracy of minor bolt loosening while maintaining high real-time performance, providing a reliable technical solution for non-contact and automatic condition monitoring of bolts in industrial engineering scenarios.
Key words: bolt loosening detection; deep learning; YOLOv11n; DeepLabv3+; rotation angle measurement
参考文献
[1] 王向,刘姝妍,张晓明,等 . 面向铁路螺栓检测的改进 DeepLabV3+ 语义分割模型 [J]. 微电子学与计算机,2025,42(7) :126-135.
[2] 刘琦牮,秦浩轩,杨媛媛,等 . 基于宽温域高响应压阻传感的螺栓松动监测方法研究 [J]. 航空制造技术,2025,68(21) :42-51.
[3] 董艳方,何恺,于伟,等 . 汽车轮毂轴承单元连接螺栓的应力测试及影响因素分析 [J]. 轴承,2025(10) :69-76.
[4] 曹楠,杨涵超,刘兴阳,等 . 基于结构光图像识别的城市轨道交通车辆轮对尺寸在线检测方法 [J]. 城市轨道交通研究,2025,28(12) :20-26.
[5] 陈业泓,周航,陆鑫,等 . 基于 SSD-YOLO 的动车组制动盘螺栓故障检测算法 [J]. 激光与光电子学进展,2025,62(8) :103-112.
[6] 李开利,罗钧,侍宝亚 . 基于 QR 码和图像处理技术的输电塔法兰连接节点防松动螺栓松动诊断方法研究 [J].工程力学,2026,43( 增刊 ) :219-224.
[7] 彭飞,张尧 . 轨道交通轴承故障诊断与寿命预测技术综述 [J]. 城市轨道交通研究,2020,23(12) :162-168.
[8] 齐艳华, 黄庆涛, 袁博, 等 . 机械装备螺栓连接状态测试技术研究现状 [J]. 航空制造技术,2019,62(5) :63-70.
[9] 刘成沛,石培鑫,王锐锋,等 . 多方位螺栓松动量视觉检测方法研究 [J]. 制造业自动化,2025,47(2) :75-85.
[10] 李星霖,周洋,孙鑫垚,等 . 非接触式螺栓松动在线检测方法研究 [J]. 机械设计与制造,2023,393(11):50-53.
[11] 周靖,刘煜,霍林生 . 基于机器视觉的螺栓松动旋转角度测量 [J]. 机械设计与研究,2021,37(4) :159-162.
[12] Zhao Xuefeng,Zhang Yang,Wang Niannian.Bolt loosening angle detection technology using deep learning[J].Structural Control and Health Monitoring,2019,26(1) :e2292.1-e2292.14.
[13] Gao Yaxing,Pang Yajie,Li Yihong,et al.Improved Yolov8-based algorithm for pulmonary nodule detection[C]//2024 3rd International Conference on Health Big Data and Intelligent Healthcare(ICHIH),2024 :49-55.
[14] Shan Zhi,Dou Haolei,Wu Fanghao,et al.Bolt loosening angle detection using CNN and transformer fusion network with a single inference stage[J].Smart Materials and Structures,2025,34(7) :075011.
[15] Zhou Kangqian,Jiang Shuihai.Forest fire detection algorithm based on improved YOLOv11n[J].Sensors,2025,25(10) :2989.
[16] Peng Hongxing,Xue Chao,Shao Yuanyuan,et al.Semantic segmentation of litchi branches using DeepLabV3+model[J].IEEE Access,2020,8 :164546-164555.
[17] Shi Dai.TransNeXt :robust foveal visual perception for vision transformers[C]//2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR),2024 :17773-17783.
[18] Diou O,Tsapis N,Fattal E.Targeted nanotheranostics for personalized cancer therapy[J].Expert Opinion on Drug Delivery,2012,9(12) :1475-1487.