Vision-Based Real-Time Bolt Loosening Detection by Identifying Anti-Loosening Lines
Abstract
:1. Introduction
2. Methodology
2.1. Overview
2.2. Bolt Detection with YOLOv10-S
2.3. Two-Step Segmentation with Fast-SCNN
2.4. Key Intersections Acquisition
2.4.1. Ellipse Fitting
Algorithm 1. Orthogonal distance regression for ellipse fitting. |
Input: Data points of ellipse contours, initial parameters = ((, ), , , ), max iteration, tolerance. |
Output: Ellipse parameters ((, ), , , ) |
1: p = initial parameters |
2: For iteration = 1 to max iteration do: |
3: For each () in data points do: |
4: = orthogonal distance from point () to the ellipse defined by parameters p |
5: = residual of the ellipse equation |
6: End For |
7: For all i |
8: = Jacobian matrix of the objective function’s partial derivatives with respect to each parameter in |
9: = calculate the parameter update step using Levenberg–Marquardt |
10: |
11: If then: |
12: Break loop |
13: End For |
14: Return optimized p ((, ), , , ) |
2.4.2. Linear Fitting
Algorithm 2. Total least squares for line fitting. |
Input: Data points (x1, y1), (x2, y2), …, (xn, yn) of the marker line; |
Output: Line equation: , where (, , ) are the line coefficients; |
1: = mean( for i = 1 to n) |
2: = mean( for i = 1 to n) |
3: = [ for i = 1 to n] |
4: = [ for i = 1 to n] |
5: Matrix = [[, [] for i = 1 to n] |
6: Compute covariance matrix |
7: Perform singular value decomposition (SVD) on the covariance matrix: |
8: Eigenvector (, ) corresponds to the line equation |
9: |
11: Normalize (, , ) |
12: Return the line coefficients (, , ) |
2.4.3. Intersections Calculation
Algorithm 3. Intersection calculation. |
Input: Ellipse, Line1, Line2, points of marking Line1, points of marking Line2 |
Output: Intersection1, Intersection2 |
1: Calculate intersections (, ) of Ellipse with Line1 |
2: Calculate intersections (, ) of Ellipse with Line2 |
3: Compute midpoint from points of Line1 |
4: Compute midpoint from points of Line2 |
5: Determine Intersection1 as the point which is closer to from (, ) |
6: Determine Intersection2 as the point which is closer to from (, ) |
7: Return Intersection1, Intersection2 |
2.5. Loosening Angle Calculation
3. Experiment
3.1. Data Acquisition
3.2. Model Training
3.2.1. YOLOv10-S Training
3.2.2. Fast-SCNN Training
3.3. Key Intersections Calculation
3.3.1. Comparison of Ellipse Fitting Methods
3.3.2. Comparison of Line Fitting Methods
3.3.3. Calculation of Key Intersections
3.4. Loosening Angle Calculation
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Nikravesh, S.M.Y.; Goudarzi, M. A Review Paper on Looseness Detection Methods in Bolted Structures. Lat. Am. J. Solids Struct. 2017, 14, 2153–2176. [Google Scholar] [CrossRef]
- Wang, F.; Song, G. Bolt-looseness detection by a new percussion-based method using multifractal analysis and gradient boosting decision tree. Struct. Health Monit. 2020, 19, 2023–2032. [Google Scholar] [CrossRef]
- Jiang, Y.; Zhang, M.; Lee, C.-H. A Study of Early Stage Self-Loosening of Bolted Joints. J. Mech. Des. 2003, 125. [Google Scholar] [CrossRef]
- Pan, Y.; Ma, Y.L.; Dong, Y.Q.; Gu, Z.X.; Wang, D.L. A Vision-Based Monitoring Method for the Looseness of High-Strength Bolt. IEEE Trans. Instrum. Meas. 2021, 70, 14. [Google Scholar] [CrossRef]
- Cudney, H.H.; Inman, D.J. Piezoelectric impedance-based qualitative health monitoring. In Proceedings of the 4th European Conference on Smart Structures and Materials in Conjunction with the 2nd International Conference on Micromechanics, Intelligent Materials and Robotics, Harrogate, UK, 6–8 July 1998; p. 795. [Google Scholar]
- Esmaeel, R.A.; Briand, J.; Taheri, F. Computational simulation and experimental verification of a new vibration-based structural health monitoring approach using piezoelectric sensors. Struct. Health Monit. 2011, 11, 237–250. [Google Scholar] [CrossRef]
- Na, W.S. A portable bolt-loosening detection system with piezoelectric-based nondestructive method and artificial neural networks. Struct. Health Monit. 2021, 21, 683–694. [Google Scholar] [CrossRef]
- Wang, F. Multi-Bolt looseness detection using a new acoustic emission strategy. Struct. Health Monit. 2022, 22, 1543–1553. [Google Scholar] [CrossRef]
- Fierro, G.P.M.; Meo, M. IWSHM 2017: Structural health monitoring of the loosening in a multi-bolt structure using linear and modulated nonlinear ultrasound acoustic moments approach. Struct. Health Monit. 2018, 17, 1349–1364. [Google Scholar] [CrossRef]
- Razi, P.; Esmaeel, R.A.; Taheri, F. Improvement of a vibration-based damage detection approach for health monitoring of bolted flange joints in pipelines. Struct. Health Monit. 2013, 12, 207–224. [Google Scholar] [CrossRef]
- Chelimilla, N.; Chinthapenta, V.; Kali, N.; Korla, S. Review on recent advances in structural health monitoring paradigm for looseness detection in bolted assemblies. Struct. Health Monit. 2023, 22, 4264–4304. [Google Scholar] [CrossRef]
- Huang, J.; Liu, J.; Gong, H.; Deng, X. A comprehensive review of loosening detection methods for threaded fasteners. Mech. Syst. Signal Process. 2022, 168, 18652. [Google Scholar] [CrossRef]
- Kong, Q.; Zhu, J.; Ho, S.C.M.; Song, G. Tapping and listening: A new approach to bolt looseness monitoring. Smart Mater. Struct. 2018, 27, 07LT02. [Google Scholar] [CrossRef]
- Gao, X.; Wang, W.; Du, J. Bolt load looseness detection for slip-critical blind bolt based on wavelet analysis and deep learning. Structures 2024, 64, 106521. [Google Scholar] [CrossRef]
- Zhang, Y.; Sun, X.; Loh, K.J.; Su, W.; Xue, Z.; Zhao, X. Autonomous bolt loosening detection using deep learning. Struct. Health Monit. 2019, 19, 105–122. [Google Scholar] [CrossRef]
- Cha, Y.-J.; You, K.; Choi, W. Vision-based detection of loosened bolts using the Hough transform and support vector machines. Autom. Constr. 2016, 71, 181–188. [Google Scholar] [CrossRef]
- Ramana, L.; Choi, W.; Cha, Y.-J. Fully automated vision-based loosened bolt detection using the Viola–Jones algorithm. Struct. Health Monit. 2018, 18, 422–434. [Google Scholar] [CrossRef]
- Gong, H.; Deng, X.; Liu, J.; Huang, J. Quantitative loosening detection of threaded fasteners using vision-based deep learning and geometric imaging theory. Autom. Constr. 2022, 133, 104009. [Google Scholar] [CrossRef]
- Sohn, H.; Li, J.; Kong, X. An image-based feature tracking approach for bolt loosening detection in steel connections. In Proceedings of the Sensors and Smart Structures Technologies for Civil, Mechanical, and Aerospace Systems 2018, Denver, CO, USA, 5–8 March 2018. [Google Scholar]
- Huynh, T.-C. Vision-based autonomous bolt-looseness detection method for splice connections: Design, lab-scale evaluation, and field application. Autom. Constr. 2021, 124, 103591. [Google Scholar] [CrossRef]
- Qi, Y.; Li, P.; Xiong, B.; Wang, S.; Yuan, C.; Kong, Q. A two-step computer vision-based framework for bolt loosening detection and its implementation on a smartphone application. Struct. Health Monit. 2022, 21, 2048–2062. [Google Scholar] [CrossRef]
- Deng, X.; Liu, J.; Gong, H.; Huang, J. Detection of loosening angle for mark bolted joints with computer vision and geometric imaging. Autom. Constr. 2022, 142, 104517. [Google Scholar] [CrossRef]
- Wang, A.; Chen, H.; Liu, L.; Chen, K.; Lin, Z.; Han, J.; Ding, G. YOLOv10: Real-Time End-to-End Object Detection. arXiv 2024, arXiv:2405.14458. [Google Scholar]
- Poudel, R.P.K.; Liwicki, S.; Cipolla, R. Fast-SCNN: Fast Semantic Segmentation Network. arXiv 2019, arXiv:1902.04502. [Google Scholar]
- Cao, X.; Shrikhande, N.; Hu, G. Approximate orthogonal distance regression method for fitting quadric surfaces to range data. Pattern Recognit. Lett. 1994, 15, 781–796. [Google Scholar] [CrossRef]
- Krystek, M.; Anton, M. A weighted total least-squares algorithm for fitting a straight line. Meas. Sci. Technol. 2007, 18, 3438. [Google Scholar] [CrossRef]
Environment Item | Configuration |
---|---|
CPU | Intel Core i9-13900K |
GPU | NVIDIA RTX 4090 |
Memory | 64 GB DDR5 |
Operating System | Ubuntu 20.04 LTS |
Python Version | Python 3.11.5 |
CUDA Version | CUDA 12.1 |
PyTorch Version | PyTorch 2.1 |
Predict Positive | Predict Negative | |
---|---|---|
Actual Positive | True Positive (TP) | False Negative (FN) |
Actual Negative | False Positive (FP) | True Negative (TN) |
Error | Time Cost (ms) | |
---|---|---|
OLS | 65.68 | 0.01 |
ODR | 58.08 | 0.13 |
LSM | 87.36 | 15.70 |
ODF | 404.84 | 633.28 |
RANSAC | 914.52 | 25.59 |
Error | Time Cost (ms) | |
---|---|---|
OLS | 7.367 | 0.299 |
TLS | 6.703 | 0.179 |
Theil–Sen | 7.380 | 22.525 |
Ransac | 7.367 | 1.517 |
Loosening Angle | Sample Quantity | Average Calculated Loosening Angle | Average Error | |
---|---|---|---|---|
0 | 0° | 30 | 0.984° | 0.984° |
1 | 5° | 20 | 4.732° | 0.368 |
2 | 10° | 15 | 11.013° | 1.013° |
3 | 30° | 20 | 31.242° | 1.242° |
4 | 60° | 15 | 58.845° | 1.155° |
5 | 90° | 15 | 90.677° | 0.677° |
6 | 120° | 15 | 121.351° | 1.351° |
7 | 150° | 15 | 152.736° | 2.736° |
Bolt Type | Sample Quantity | Average Error | |
---|---|---|---|
0 | round bolt | 49 | 0.582° |
1 | hexagonal bolt | 96 | 1.432° |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Lei, W.; Yuan, F.; Guo, J.; Wang, H.; Geng, Z.; Wu, T.; Gong, H. Vision-Based Real-Time Bolt Loosening Detection by Identifying Anti-Loosening Lines. Sensors 2024, 24, 6747. https://doi.org/10.3390/s24206747
Lei W, Yuan F, Guo J, Wang H, Geng Z, Wu T, Gong H. Vision-Based Real-Time Bolt Loosening Detection by Identifying Anti-Loosening Lines. Sensors. 2024; 24(20):6747. https://doi.org/10.3390/s24206747
Chicago/Turabian StyleLei, Wenyang, Fang Yuan, Jiang Guo, Haoyang Wang, Zaiming Geng, Tao Wu, and Haipeng Gong. 2024. "Vision-Based Real-Time Bolt Loosening Detection by Identifying Anti-Loosening Lines" Sensors 24, no. 20: 6747. https://doi.org/10.3390/s24206747
APA StyleLei, W., Yuan, F., Guo, J., Wang, H., Geng, Z., Wu, T., & Gong, H. (2024). Vision-Based Real-Time Bolt Loosening Detection by Identifying Anti-Loosening Lines. Sensors, 24(20), 6747. https://doi.org/10.3390/s24206747