LIU Cheng-pei, SHI Pei-xin, WANG Rui-feng, XIE Feng-yuan, LIN Qun-xu
Detection on bolt loosening is crucial for the safety of the normal operation of mechanical equipment or mechanical structure. There are drawbacks existed in the current visual detection methods of bolt loosening such as low efficiency and poor practicability and also certain limitations in the detection of mechanical systems with complex bolt distribution. Based on this situation, a visual detection method of multi-directional bolt loosening is proposed. For the visible front orientation of the bolt, the parameters of the camera are first calibrated, and the image captured by the camera is then converted to the HSV color space after being preprocessed such as filtering and noise reduction, The threshold of the specific channel is adjusted to obtain the ROI region, and finally,the rectangular ROI region is fitted into a straight line by the least squares method, and the slope of the line is converted into the bolt loosening angle to realize the detection of loose angle in the range of 0~180°, with the maximum absolute error being 0.98°. For the visible orientation on the side of the bolt, the ROI area is obtained after the image is processed, and the minimum external rectangle of the ROI area is then obtained by the rotation jamming method, Thereafter, the width of the minimum external rectangle is detected and the pixel width value is converted into the actual width value of the marking belt, which is then integrated into the conversion model of the marking belt length and the rotation angle of the bolt to obtain the actual bolt rotation angle, achieving the loose angle detection in the range of 0~300°, with the maximum absolute error of 3.59°, the minimum measurement absolute error of 0.2° and the average error of 1.77°. It can realize the non-contact detection of bolt angle during the working process of mechanical system, improve the detection efficiency and indicates a strong engineering applicability.