China Safety Science Journal ›› 2026, Vol. 36 ›› Issue (5): 234-242.doi: 10.16265/j.cnki.issn1003-3033.2026.05.0395

• Safety Technology and Engineering • Previous Articles     Next Articles

Improved YOLOv5s for outer surface defect detection of elevator traction steel wire rope

Li Chunsheng1(), Sun Weihong1,**(), Liang Man1, Li Jiefeng2   

  1. 1 College of Mechanical and Electrical Engineering, China Jiliang University, Hangzhou Zhejiang 310018, China
    2 Jiangsu Special Equipment Safety Supervision and Inspection Research Institute Suzhou Branch, Suzhou Jiangsu 215031, China
  • Received:2025-12-08 Revised:2026-03-26 Online:2026-05-28 Published:2026-11-28
  • Contact: Sun Weihong

Abstract:

To improve the detection efficiency and automation level of hidden defects on the outer surface of elevator traction steel wire ropes, and reduce the incidence of elevator accidents, an online detection model for defects on the outer surface of elevator traction steel wire ropes based on improved YOLOv5s is constructed. Firstly, the GhostConv module is introduced into the feature extraction layer C3 module to reduce computational complexity, and the Convolutional Block Attention Module (CBAM) is integrated to enhance the feature extraction capability of small-scale defects. A feature extraction module GC-C3 (GhostConv and CBAM-C3) that integrates GhostConv and CBAM is constructed; Secondly, in the feature fusion layer, Path Aggregation Network (PANet) and Bidirectional Feature Pyramid Network (BiFPN) are used to construct a multi-scale feature fusion network PBNet (PANet BiFPN), which combines multi-scale weight allocation strategy to improve the fusion effect of multi-scale defect feature information; Then, dynamically adjusting the quality weights of prediction boxes using Weighted Intersection over Union(WIoU) loss function, reducing the interference of low-quality samples on training. Finally, the model will be deployed to the developed detection system to perform online testing on the surface defects of the traction steel wire rope on the elevator car roof, verify the improvement effect of the model, and provide grading reminders for the defects. The results showed that the average detection accuracy of the improved model was 96.2%, with a detection speed of 192 f/s, which was 4.1% and 12.3% higher than the original model, respectively. The model volume was reduced by 38.9%. According to the online visualization experiment, under the actual operating environment of the traction steel wire rope (light illumination of 200~400 lx, speed of 1.5~2 m/s), the average accuracy of the system for 8 typical external surface defects is still stable at 94.6% or above, which meets the application requirements of online detection of hidden dangers of external surface defects of the traction steel wire rope in service and reduces elevator accidents caused by external surface defects of the traction steel wire rope.

Key words: YOLOv5s, elevator traction steel wire rope, outer surface defects, defect detection, feature extraction, feature fusion

CLC Number: