TL;DR
This paper introduces a novel vision-based method for detecting bolt loosening using the YOLOv5 object detection model. By adding distinct markers to bolts and nuts, the system can accurately measure the rotational angle of the nut relative to the bolt, enabling early detection of loosening even at very small angles, which is crucial for structural integrity.
What Problem Does This Paper Address?
Bolted connections are ubiquitous in engineering structures, but they are susceptible to loosening under continuous vibration or cyclic loads. This loosening can significantly degrade structural reliability and potentially lead to failure. Traditional methods for monitoring bolt loosening often rely on specialized sensors, which can increase costs and complexity. While machine vision has emerged as a promising alternative, many existing methods can only distinguish between "tight" and "loose" bolts, failing to provide a quantitative measure of the loosening degree, especially in the critical early stages when the rotation angle is small. This paper addresses the need for an accurate, efficient, and cost-effective method to detect and quantify bolt loosening, particularly at its nascent stages.
Methods
The core of this research lies in leveraging the YOLOv5 object detection algorithm. The authors propose a vision-based approach that involves attaching two distinct circular markers: one to the bolt head (labeled 'sign') and another to the nut (labeled 'nut'). The YOLOv5 model is trained to detect these markers along with the bolt itself. Once detected, the algorithm calculates the center coordinates of the bounding boxes for each detected object. Using these coordinates, the relative angle between the 'nut' marker and the 'bolt' marker is computed. This angle serves as a direct indicator of the nut's rotation relative to the bolt. The change in this angle from an initial, tightened state ($\Delta \alpha$) quantifies the degree of bolt loosening. YOLOv5 was chosen for its effectiveness in detecting small targets and its robust feature extraction capabilities, which are beneficial for identifying the relatively small markers.
Datasets
The study utilized a custom dataset comprising 200 JPG images of bolted connections. These images were captured using a smartphone under various shooting distances, angles, and lighting conditions. The dataset was manually labeled using "LabelImg" into three classes: 'bolt', 'nut', and 'sign'. The dataset was split into training (80%) and testing (20%) sets. The authors do not explicitly mention using any publicly available datasets for this specific task.
Key Insights and Ideas
- Marker-based Angle Measurement: The ingenious use of distinct markers on the bolt and nut transforms a complex geometric problem into a straightforward object detection and coordinate calculation task. This simplifies the measurement of rotational angle significantly.
- YOLOv5 for Small Targets: The paper highlights YOLOv5's efficacy in detecting small objects, which is critical for accurately identifying the 'nut' and 'sign' markers, even when they are relatively small in the image. This contrasts with other object detection models like SSD, which struggled with these small targets in the authors' experiments.
- Early Detection Capability: The method's ability to detect very small rotation angles (as low as 1°) is a significant advancement, enabling proactive maintenance and preventing catastrophic failures.
- Robustness to Environmental Variations: The experiments demonstrate that the method, while not entirely immune, shows reasonable robustness to variations in shooting distance and lighting, suggesting practical applicability in real-world scenarios.
Key Results
- High Detection Accuracy: The trained YOLOv5 model achieved a precision of 99.8% and a recall of 100%, with an [email protected] of over 0.95, indicating excellent performance in identifying the three classes.
- Minimum Identifiable Angle: The method can identify bolt loosening at angles as small as 1°.
- Error Analysis:
- At any angle, the average error in detected rotation angle was approximately 1.34%.
- For tiny angles, the average error was around 1.27%, with a maximum error of 2.90% at a 1° rotation.
- The maximum detection error was 5.91% when the camera was tilted at 45°.
- Shooting Distance: Optimal detection accuracy was observed at shooting distances of 10-15 cm.
- Shooting Angle: Vertical shooting is recommended to minimize errors, with a maximum error of 5.91% at a 45° tilt.
- Light Conditions: The method performs best under normal light. It struggles in dark conditions without flash, and while flash helps, it can reduce the accuracy of 'bolt' detection due to reflections.
Limitations and Future Work
- Dark Light Conditions: The method fails to detect any objects in complete darkness without the use of a camera flash.
- Flash Artifacts: While flash can improve visibility in dark conditions, it can cause reflections on the bolt surface, reducing the accuracy of 'bolt' detection.
- Shooting Angle Sensitivity: Significant tilting of the camera (e.g., 45°) increases detection error, suggesting that maintaining a near-vertical shooting angle is important for optimal results.
- Future Work: The authors suggest expanding the scope of application by addressing the limitations related to shooting angles and lighting conditions. Further research could focus on developing more robust methods for these challenging environments.
Summary updated