Bolt looseness detection method and device based on synthetic data set and deep learning

Through a bolt loosening detection method based on synthetic data sets and deep learning, using the YOLO v3 algorithm and drone video detection, the problem of incomplete bolt loosening detection and high miss detection rate is solved, and high-precision and fast bolt loosening is achieved. Detection, with real-time monitoring capabilities.

CN118711035APending Publication Date: 2024-09-27CHINA MCC22 GROUP CORP LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410722006.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing technology does not completely detect the looseness of bolt groups, and has a high rate of missed detections and false detections. Moreover, the traditional manual inspection method is costly and does not have automatic real-time alarm features.

Method used

A bolt loosening detection method based on synthetic data sets and deep learning is adopted, digital modeling software is used to establish a three-dimensional model, a training network for the YOLO v3 target detection algorithm is built, and bolt loosening is detected through videos captured by drones to achieve real-time monitoring.

Benefits of technology

It achieves high-precision and fast bolt loosening detection, reduces labor intensity, improves detection efficiency and accuracy, and has real-time detection and monitoring capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711035A
    Figure CN118711035A
Patent Text Reader

Abstract

The invention relates to a bolt looseness detection method and device based on a synthetic data set and deep learning. The method comprises the following steps: establishing a steel structure bolt group three-dimensional model with an anti-looseness mark; intercepting bolt images in the bolt group three-dimensional model to construct a synthetic data set; manually marking the synthetic data set by using marking software to form a training data set; building a training network, and training by using the training data set and the synthetic data set; collecting a bolt image in a real environment to verify the bolt looseness detection model; re-verifying the bolt looseness detection model by using the shot video of the bolt, forming a video-based bolt looseness detection model, and installing the video-based bolt looseness detection model to a video return end of the unmanned aerial vehicle; inputting the shot steel bolt video into a bolt looseness detection model to obtain the tightness state of each bolt; the device comprises a camera device and a loaded detection model, and the model has the advantages of effectiveness, easiness in expansion, high detection result accuracy and high detection speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of bolt loosening detection, and in particular relates to a bolt loosening detection method and device based on synthetic data sets and deep learning. Background Art

[0002] For structures connected by bolts, bolt loosening will affect the mechanical behavior of the overall structure, resulting in a decrease in the stiffness of the structure, causing a significant reduction in the fatigue life of the structure under cyclic loads, or causing other bolts to bear higher loads, increasing the risk of their fracture and fatigue failure, and seriously threatening the safety of the structure. The traditional manual torque method checks the looseness of bolts. After the bolts are fixed, they are manually marked to prevent loosening. The manual torque method is widely used in bolt quality acceptance and manual inspection in the engineering field. A large number of manual naked eye observations of bolt loosening are required. However, the manual naked eye detection method has a certain degree of subjectivity, and for projects with a large number of bolt connections, most of them adopt the idea of ​​sampling 10% each time. In this way, some bolts with safety hazards may be missed. Due to the lack of effective monitoring of bolt preload, steel structure collapse accidents caused by failure of high-strength bolts have occurred frequently in recent years, causing huge economic losses and casualties.

[0003] At present, the industry mostly uses wired sensor equipment for non-destructive testing or manual inspection to obtain the loosening status of specific bolts for high-strength bolt loosening. Some new structures have been laying signal sensors since the beginning of construction to continuously record structural changes in order to identify structural damage. These methods can sensitively and accurately detect the initial loosening signals of bolts by judging the changes in mechanical signals. However, many bolts in construction engineering structures are hidden, and wired inspection methods are inconvenient. In addition, a large number of sensors are arranged in dense structures, and their signals are prone to mutual interference, resulting in false alarms. In addition, the inspection method is not only expensive, but also cannot timely and accurately grasp the loosening status of the bolt connection between the hidden structure and the equipment, making the entire detection process lack the characteristics of automatic real-time alarm. Therefore, accurate and efficient high-strength bolt preload monitoring and loosening detection technology is a problem that urgently needs to be solved. Summary of the invention

[0004] The technical problem to be solved by the present invention is that the prior art has the problem of incomplete detection of the looseness of bolts in a bolt group, and a high rate of missed detection and false detection.

[0005] The present invention solves the above-mentioned problem by adopting the following technical solution:

[0006] A bolt loosening detection method based on synthetic dataset and deep learning includes the following steps:

[0007] Step 1: Use digital modeling software to establish a three-dimensional model of a steel structure bolt group with anti-loosening marks, wherein the anti-loosening marks are bolt marking lines based on a manual torque method, and the three-dimensional model of the bolt group includes bolts with different tightness states and loosening angles;

[0008] Step 2: Capture bolt images in the 3D model of the bolt group according to different perspective angles and bolt looseness angles. One image contains only one bolt model, and all images are used to construct a synthetic data set.

[0009] Step 3: manually label the synthetic data set using labeling software to form a training data set;

[0010] Step 4: Build a training network based on the YOLO v3 target detection algorithm, input the training data set into the YOLO v3 algorithm for training, and form a bolt loosening detection model; use the synthetic data set and the supplementary data set to train the bolt loosening detection model, so that the bolt loosening detection model has the ability to judge the position and tightness of the steel structure bolts; the supplementary data set is a picture of the bolts with anti-loosening marks in a real environment;

[0011] Step 5: Collect bolt images in real environments to build a verification data set, and use the verification data set to verify the bolt loosening detection model;

[0012] Step 6: Use the video of the bolt to verify the bolt loosening detection model again, form a video-based bolt loosening detection model, and install it on the drone video backhaul end;

[0013] Step 7: The drone takes a video of the bolt connection of the steel structure and inputs the video into the bolt loosening detection model to immediately obtain the tightness status of each bolt and complete the real-time monitoring of bolt loosening.

[0014] Compared with the prior art, the present invention using the above technical solution has the following beneficial effects:

[0015] 1) The method provided by the present invention adopts a synthetic data set based on digital modeling software, which on the one hand ensures the validity and easy expandability of the data set, and on the other hand avoids the difficulty, labor consumption and time consumption of collecting bolt node data sets; 2) The method provided by the present invention introduces a bolt anti-loosening mark, and the detection process only needs to input the bolt image in the current state, and the bolt tightness state can be judged without a reference image; 3) The detection model used by the method provided by the present invention has accurate detection results (mAP value greater than 0.9) and fast detection speed (single image detection time is less than 0.5 seconds) in most environments; 4) The method provided by the present invention realizes video-based bolt loosening defect detection, which can be applied to the real-time detection and monitoring of loose bolts in steel structures.

[0016] As a preferred embodiment, a further technical solution of the above structure is:

[0017] Preferably, the anti-loosening mark is a red straight line, which extends from the midpoint of the top surface of the bolt tail, through the screw shaft to the surface of the nut and the washer. When the bolt is loosened, the mark on the shaft surface is misaligned with the mark on the nut surface.

[0018] Preferably, in step 2, the different perspective angles are 0°, 15° and 30° respectively; the different bolt loosening angles are 0°, ≤5°, 10° and 20° respectively, and the captured bolt image is a three-dimensional model image.

[0019] Preferably, the training data set is an XML file with a ground truth bounding box and a bolt loosening mark, and the XML file contains the size, position coordinates and category information of the target object that the algorithm can identify.

[0020] Preferably, the YOLO v3 target detection algorithm specifically includes the following three processes:

[0021] Input process: Input images containing bolts in different loose states into the network, extract features through convolutional neural network, and place 1×1 convolution kernel between 3×3 convolution kernels to compress features. Use batch regularization model to accelerate network convergence, and combine Leaky ReLU activation function to extract complex image features. Finally, three feature layers of different scales are obtained: 19×19, 38×38, and 76×76, which are used to predict large, medium, and small bolt objects in the image, respectively.

[0022] Feature fusion process: The 19×19 feature layer obtained after feature extraction by the convolutional neural network is processed by two different paths: the first is to directly use the obtained feature layer to output the classification and regression prediction results; the second is to convolve the 19×19 feature layer, then upsample it and stack and fuse the features with the 38×38 feature layer, and then perform five convolutions to obtain a 38×38 feature layer for classification and regression prediction; the same feature fusion operation is used for the 38×38 and 76×76 feature layers;

[0023] Decoding prediction process: The bolt feature map of size 19×19 is divided into 19×19 grid units, each grid unit corresponds to a pixel area of ​​the original bolt image, and three prior boxes pre-annotated on the image are set in each grid unit. If the center point of the bolt falls within a grid among all the grid units, the prior box of the grid unit is used to predict the bolt: first determine the loose state of the included bolt, and then obtain the confidence of the corresponding bounding box; after decoding the prediction result of the bolt image, the prediction parameters of each bounding box are obtained, including the relative coordinates (x, y) of the center point of the bounding box from the upper left corner of the grid point and the width and height (w, h) of the bounding box, and then use the non-maximum suppression method to select the bounding box with the largest intersection-over-union ratio corresponding to the ground truth value of the original image to predict the bolt, and other bounding boxes are considered to be without bolts; finally, the width and height of the prediction parameters of the bounding box are adjusted to the real position, and an image with a prediction box and a numerical result of the classification confidence is output.

[0024] Preferably, the specific steps of building a bolt identification model are:

[0025] Step 4.1. Use k-means clustering to determine the size of the prior box, and use the IOU between the bounding box and the manually labeled ground truth as a metric to determine the closeness between the two:

[0026] distance(box,center)=1-IOU(box,center) Formula 8

[0027] Where IOU represents the ratio of the intersection area to the union area of ​​the bolt bounding box and the ground truth value; box represents the prior box; center represents the ground truth value;

[0028] Step 4.2: For each feature map output by the algorithm, each grid point contains three prior boxes. The algorithm locates the center of the target and calculates the position parameter (t x ,t y ,t w ,t h ,t o ), the coordinate parameters of the target center point and the size of the prediction box will be offset according to the initial coordinates of the grid center point based on the above related parameters; assuming that the grid center point is (c x ,c y ), and the width and height of the prior box are p w and p h , then the parameters of the prediction box are:

[0029] b x =σ(t x )+c x Formula 9

[0030] b y =σ(t y )+c y Formula 10

[0031]

[0032] Pr(object)×IOU(b,object)=σ(t o ) Formula 13

[0033] Where σ(·) represents the sigmoid function, which is used to limit the relative coordinate offset value between 0 and 1;

[0034] Step 4.3, the algorithm loss function consists of three main parts and can be expressed as:

[0035]

[0036] Among them, CoordLoss is the coordinate loss, ConfLoss is the confidence loss, ClassLoss is the classification loss, and N is the number of all prediction boxes in a single image.

[0037] The present invention also provides a special detection device for the above method, which specifically includes an extraction module, a preprocessing module, an algorithm recognition module and a post-processing module.

[0038] Extraction module: used to extract images for detection in the video. The module matches the frame interval according to the movement speed of the drone, the algorithm detection speed, and the number of bolts in the bolt group, and extracts images in the video according to the frame interval;

[0039] Preprocessing module: including an image preprocessing unit and an information appending unit; the image preprocessing unit adjusts the image size output by the extraction module to 608 pixels × 608 pixels, and introduces gray edge filling for non-square images; the information appending unit links the drone position, viewing angle, and bolt group number when the photo was taken with the image;

[0040] Algorithm recognition module: It is equipped with a trained and verified YOLO v3-based bolt loosening defect recognition model, which inputs preprocessed images and outputs images with bolt position information and tightness status annotations;

[0041] Post-processing module: includes a storage unit and an outlier output unit; the storage unit is used to store the drone video and the image information after algorithm detection; the outlier output unit is used to output the drone shooting position, viewing angle and bolt group number of the corresponding image when the algorithm identifies a loose bolt. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is an implementation flow chart of the bolt loosening detection method provided by the present invention;

[0043] Figure 2 It is a bolt anti-loosening marking method adopted in the synthetic data set of the bolt loosening detection method provided by the present invention;

[0044] Figure 3a It is a plane projection diagram of a three-dimensional model of a digital bolt group of an implementation example of the bolt loosening detection method provided by the present invention;

[0045] Figure 3b It is a top view of a three-dimensional model of a digital bolt group of an implementation example of the bolt loosening detection method provided by the present invention;

[0046] Figure 3c It is an isometric view of a three-dimensional model of a digital bolt group of an implementation example of the bolt loosening detection method provided by the present invention;

[0047] Figure 4a It is a three-dimensional model example of loose bolts in the synthetic data set of the bolt loosening detection method provided by the present invention;

[0048] Figure 4b It is a case of a three-dimensional model of a tightened bolt in a synthetic data set of the bolt loosening detection method provided by the present invention;

[0049] Figure 5 The bolt loosening detection method provided by the present invention is based on the principle of the bolt loosening detection method based on the YOLO v3 algorithm;

[0050] Figure 6 is a model training parameter of an implementation case of the bolt loosening detection method provided by the present invention;

[0051] Figure 7 It is an algorithm evaluation of an implementation case of the bolt loosening detection method provided by the present invention;

[0052] Figure 8a This is a test set identification part case of one of the implementation cases of the bolt loosening detection method provided by the present invention;

[0053] Figure 8b This is a partial case of test set identification in the second implementation case of the bolt loosening detection method provided by the present invention;

[0054] Fig. 9 This is a partial recognition case at different perspective angles in a real environment of an implementation case of the bolt loosening detection method provided by the present invention;

[0055] Fig.10 This is a case of identifying parts at different distances in a real environment in an implementation case of the bolt loosening detection method provided by the present invention;

[0056] Fig.11 This is an example of identifying different light parts in a real environment in an implementation example of the bolt loosening detection method provided by the present invention;

[0057] Fig.12 This is an example of identifying different background parts in a real environment in an implementation case of the bolt loosening detection method provided by the present invention;

[0058] Fig.13 This is a case of identifying parts with different marking clarity in a real environment in an implementation case of the bolt loosening detection method provided by the present invention;

[0059] Fig.14 This is a partial recognition case based on a shot bolt video of an implementation case of the bolt loosening detection method provided by the present invention. DETAILED DESCRIPTION

[0060] The present invention is further described below in conjunction with embodiments, the purpose of which is only to better understand the content of the present invention. Therefore, the examples given do not limit the protection scope of the present invention.

[0061] The present invention is described in detail below in conjunction with an application case of fan flange bolt loosening defect detection. Figure 1 The process shown completes the instant detection of bolt loosening defects by shooting videos of bolts, significantly reduces the labor intensity of bolt loosening detection, and improves detection efficiency and accuracy.

[0062] The intelligent detection method for loose bolts of steel structures based on synthetic data sets and deep learning of the present invention is applied in the case of loose bolt defect detection of fan flanges, and comprises the following steps:

[0063] Step 1: Use digital modeling software to create a three-dimensional model of a steel structure bolt group with anti-loosening marks. The anti-loosening marks are bolt anti-loosening marks based on the manual torque method. Figure 2 As shown, the anti-loosening mark 5 is a red straight line, which extends from the midpoint of the top surface of the tail of the bolt 1, extends through the exposed part of the bolt screw shaft 4 to the surface of the nut 3 and the washer 2. When the bolt 1 is loosened, the mark on the surface of the shaft 4 is misaligned with the mark on the surface of the nut 3; the line width of the anti-loosening mark 5 is 1.5 to 3 mm, extending to 5.0 mm on the surface of the fixing part 6 and the connected part 7. In the case where the thread of the bolt 1 extends too long (>8 mm) from the nut 3, it is only allowed to be marked beyond 8 mm on the end face of the nut 3; the three-dimensional model of the bolt group includes bolts with different tightness and looseness angles, and the model example is shown in Figure 3.

[0064] Step 2: Capture bolt images in the 3D model of the bolt group at different perspective angles and bolt loosening angles to construct a synthetic data set. Optionally, capture bolt 3D model images at perspective angles of 0°, 15°, and 30°, and capture bolt 3D model images at loosening angles of 0°, ≤5°, 10°, and 20°; one image contains only one bolt model; the data set for this implementation case is a total of 480 images containing 121 loose bolts and 122 tight bolts.

[0065] Step 3: Manually label the data set. Specifically, use labeling software to manually label the bolt images with detection targets in the synthetic data set to obtain an XML file with loose bolts marked with a ground truth bounding box. The XML file contains information such as the size, position coordinates, and category of the target object that the algorithm can identify. It is created as a training data set. The labeling case is shown in Figure 4. Manual label 4 is the rectangular box in the figure.

[0066] Step 4: Build a training network based on the YOLO v3 target detection algorithm and perform training to form a bolt loosening detection model.

[0067] The detection principle of the YOLO v3 algorithm is divided into three processes including step 4 of the above-mentioned invention content technical solution: input process, feature fusion process and decoding prediction process, such as Figure 5 Training refers to inputting the training data set of step 3 into the YOLO v3 algorithm for training, and using the synthetic data set and a small number of bolt pictures with anti-loosening marks in real environments to train the bolt loosening detection model. The "small number of bolt pictures with anti-loosening marks in real environments" can be called a supplementary data set. After training, the bolt loosening detection model has the ability to judge the position and tightness of the steel structure bolts. In this embodiment, the training parameters are as follows Figure 6 ,Since the bolt size is small, the network input size is set to 608×608 pixels; according to the image characteristics of the bolt dataset and GPU performance, the batch size of each training is set to 8.

[0068] The hardware used in this implementation case is configured with an Intel i7-10700 CPU, 16GB of memory, and an NVIDIA RTX 3070 GPU. The algorithm is tested with a test set and performs well in terms of accuracy and speed, such as Figure 7 , the accuracy of loose bolt detection is 98.21%, the recall rate is 90.91%, the mAP is 95.17%, and the detection time for a single photo is 0.024s. Some test results are shown in Figure 8.

[0069] The three processes of the YOLO v3 algorithm are:

[0070] Input process: The images containing bolts in different loose states (size is 608 pixels × 608 pixels) are input into the network, and feature extraction is performed through the convolutional neural network. The 1×1 convolution kernel is placed between the 3×3 convolution kernels to compress the features. The batch regularization model is used to accelerate the convergence of the network, and the Leaky ReLU activation function is combined to extract complex image features. Finally, three feature layers of different scales are obtained: 19×19, 38×38, and 76×76, which are used to predict large, medium, and small bolt objects in the image, respectively.

[0071] Feature fusion process: The 19×19 feature layer obtained after feature extraction by the convolutional neural network is processed by two different paths: one is to directly use the obtained feature layer to output the classification and regression prediction results; the other is to convolve the 19×19 feature layer, then upsample it and stack and fuse the features with the 38×38 feature layer, and then perform 5 convolutions to obtain a 38×38 feature layer for classification and regression prediction; the same feature fusion operation is used for the 38×38 and 76×76 feature layers.

[0072] Decoding prediction process: The bolt feature map of size 19×19 is divided into 19×19 grid cells, each grid cell corresponds to a pixel area of ​​the original bolt image. Three prior boxes pre-annotated on the image are set in each grid cell. If the center point of the bolt falls within a grid among all grid cells, the prior box of the grid cell is used to predict the bolt: first determine the loose state of the contained bolt, and then obtain the confidence of the corresponding bounding box (the probability that the bounding box contains the object and the position accuracy of the bounding box). After decoding the prediction results of the bolt image, the prediction parameters of each bounding box are obtained, including the relative coordinates (x, y) of the center point of the bounding box from the upper left corner of the grid point and the width and height (w, h) of the bounding box. Then, using the non-maximum suppression method, the bounding box with the largest intersection-over-union (IOU) corresponding to the ground truth value of the original image is selected to predict the bolt, and other bounding boxes are considered to be bolt-free. Finally, the width and height of the prediction parameters of the bounding box are adjusted to the real position, and an image with a prediction box and a numerical result of the classification confidence is output.

[0073] The specific steps to build a bolt recognition model are:

[0074] 4.1: The prior box of the above grid unit is determined. K-means clustering is used to determine the size of the prior box, and the IOU between the bounding box and the manually marked ground truth value is used as a metric to judge the proximity between the two:

[0075] distance(box,center)=1-IOU(box,center) Formula 15

[0076] Where IOU represents the ratio of the intersection area to the union area of ​​the bolt bounding box and the ground truth value; box represents the prior box; center represents the ground truth value;

[0077] 4.2: Each feature map output by the above algorithm contains three prior boxes at each grid point. The algorithm locates the center of the target and calculates the position parameters (t x ,t y ,t w ,t h ,t o ), the coordinate parameters of the target center point and the size of the prediction box will be offset according to the initial coordinates of the grid center point based on the above related parameters; assuming that the grid center point is (c x ,c y ), and the width and height of the prior box are p w and p h , then the parameters of the prediction box are:

[0078] b x =σ(t x )+c x Formula 16

[0079] b y =σ(t y )+c y Formula 17

[0080]

[0081]

[0082] Pr(object)×IOU(b,object)=σ(t o ) Formula 20

[0083] Where σ(·) represents the sigmoid function, which is used to limit the relative coordinate offset value between 0 and 1;

[0084] 4.3: The loss function used in the above algorithm optimization consists of three main parts and can be expressed as:

[0085]

[0086] Among them, CoordLoss is the coordinate loss, ConfLoss is the confidence loss, ClassLoss is the classification loss, and N is the number of all prediction boxes in a single image.

[0087] Step 5: Collect bolt images in real environments to build a validation dataset for verifying the bolt loosening detection model. The characteristics of the bolt image validation set in real environments include different perspective angles, different shooting distances, different lighting conditions, different outdoor backgrounds, different lens blurs, and different mark clarity. Some recognition cases are as follows: Figure 9-13 .

[0088] Step 6: Use the bolt shooting video to verify the steel structure bolt loosening detection model. Some of the detection results are as follows: Fig.14 , and install the algorithm on the drone video backhaul end.

[0089] The bolt loosening detection device equipped with the bolt loosening detection model of the present invention comprises the following modules:

[0090] Extraction module: used to extract images for detection in the video. The module matches the frame interval according to the movement speed of the drone, the algorithm detection speed and the number of node bolts, and extracts images in the video according to the frame interval.

[0091] Preprocessing module: includes an image preprocessing unit and an information appending unit; the image preprocessing unit adjusts the image size output by the extraction module to 608 pixels × 608 pixels, and introduces gray edge filling for non-square images; the information appending unit links the drone position, viewing angle, and shooting bolt node number when the photo was taken with the image.

[0092] Algorithm recognition module: It is equipped with a trained and verified YOLO v3-based bolt loosening defect recognition model, inputs a preprocessed image, and outputs an image with bolt position and tightness status annotations.

[0093] Post-processing module: includes a storage unit and an outlier output unit; the storage unit is used to store the drone shot video and the image information after algorithm detection; the outlier output unit is used to output the drone shooting position, viewing angle and shooting node number of the corresponding image when the algorithm identifies a loose bolt.

[0094] Step 7: Use a drone to shoot a video of the bolt connection of the steel structure, and import the video into the steel structure bolt loosening detection model to immediately obtain the tightness status of each bolt and complete real-time monitoring of bolt loosening.

[0095] The characteristics and advantages of the method provided by the present invention are as follows: the method provided by the present invention adopts a synthetic data set based on digital modeling software, which on the one hand ensures the validity and easy expansibility of the data set, and on the other hand avoids the difficulty, labor consumption and time consumption of collecting bolt node data sets; the method provided by the present invention introduces a bolt anti-loosening mark, and the detection process only needs to input the bolt image in the current state, and the bolt tightness state can be judged without a reference image; the detection model used by the method provided by the present invention has accurate detection results (mAP value is greater than 0.9) and fast detection speed (single image detection time is less than 0.5 seconds) in most environments; the method provided by the present invention realizes video-based bolt loosening defect detection, which can be applied to the real-time detection and monitoring of bolt loosening in steel structures.

[0096] The specific implementation cases in this description show that the method provided by the present invention has the characteristics of high detection accuracy and high speed, can realize the real-time detection and monitoring of loose bolts in steel structures, and can effectively solve the current problems of high labor intensity, slow speed, low frequency and low accuracy in bolt loosening detection.

[0097] The above description is only a preferred feasible embodiment of the present invention, and does not limit the scope of rights of the present invention. All equivalent changes made using the contents of the present specification and its drawings are included in the scope of rights of the present invention.

Claims

1. A bolt loosening detection method based on synthetic dataset and deep learning, characterized in that: The specific steps include: Step 1: Use digital modeling software to establish a three-dimensional model of a steel structure bolt group with anti-loosening marks, wherein the anti-loosening marks are bolt marks based on a manual torque method, and the three-dimensional model of the bolt group includes bolts with different tightness states and loosening angles; Step 2: Capture bolt images in the 3D model of the bolt group according to different perspective angles and bolt looseness angles. One image contains only one bolt model, and all images are used to construct a synthetic data set. Step 3: Use labeling software to manually label the synthetic data set to form a training data set; Step 4: Build a training network based on the YOLO v3 target detection algorithm, input the training data set into the YOLO v3 algorithm for training, and form a bolt loosening detection model; use the synthetic data set and the supplementary data set to train the bolt loosening detection model, so that the bolt loosening detection model has the ability to judge the position and tightness of the steel structure bolts; the supplementary data set is a picture of the bolts with anti-loosening marks in a real environment; Step 5: Collect bolt images in real environments to build a verification data set, and use the verification data set to verify the bolt loosening detection model; Step 6: Use the video of the bolt to verify the bolt loosening detection model again, form a video-based bolt loosening detection model, and install it on the drone video backhaul end; Step 7: The drone takes a video of the bolt connection of the steel structure and inputs the video into the bolt loosening detection model to immediately obtain the tightness status of each bolt and complete the real-time monitoring of bolt loosening.

2. The bolt loosening detection method based on synthetic data set and deep learning according to claim 1 is characterized in that: The anti-loosening mark is a red straight line, which extends from the midpoint of the top surface of the bolt tail, through the screw shaft to the surface of the nut and washer. When the bolt is loosened, the mark on the surface of the shaft and the mark on the surface of the nut will be misaligned.

3. The bolt loosening detection method based on synthetic data set and deep learning according to claim 1 is characterized in that: In step 2, the different perspective angles are 0°, 15° and 30°; the different bolt loosening angles are 0°, ≤5°, 10° and 20°, and the captured bolt images are 3D model images.

4. The bolt loosening detection method based on synthetic data set and deep learning according to claim 1 is characterized in that: The training dataset is an XML file with loose bolts marked with ground truth bounding boxes, which contains the size, location coordinates, and category information of the target objects that the algorithm can recognize.

5. The bolt loosening detection method based on synthetic data set and deep learning according to claim 1 is characterized in that: The YOLO v3 target detection algorithm specifically includes the following three processes: Input process: Input images containing bolts in different loose states into the network, extract features through convolutional neural network, and place 1×1 convolution kernel between 3×3 convolution kernels to compress features; The batch normalization model is used to accelerate the convergence of the network, and the Leaky ReLU activation function is combined to extract complex image features. Finally, three feature layers of different scales are obtained: 19×19, 38×38, and 76×76, which are used to predict large, medium, and small bolt objects in the image respectively. Feature fusion process: The 19×19 feature layer obtained after feature extraction by the convolutional neural network is processed by two different paths: the first is to directly use the obtained feature layer to output the classification and regression prediction results; the second is to convolve the 19×19 feature layer, then upsample it and stack and fuse the features with the 38×38 feature layer, and then perform five convolutions to obtain a 38×38 feature layer for classification and regression prediction; the same feature fusion operation is used for the 38×38 and 76×76 feature layers; Decoding prediction process: The bolt feature map of size 19×19 is divided into 19×19 grid units, each grid unit corresponds to a pixel area of ​​the original bolt image, and three prior boxes pre-annotated on the image are set in each grid unit. If the center point of the bolt falls within a grid among all the grid units, the prior box of the grid unit is used to predict the bolt: first determine the loose state of the included bolt, and then obtain the confidence of the corresponding bounding box; after decoding the prediction result of the bolt image, the prediction parameters of each bounding box are obtained, including the relative coordinates (x, y) of the center point of the bounding box from the upper left corner of the grid point and the width and height (w, h) of the bounding box, and then use the non-maximum suppression method to select the bounding box with the largest intersection-over-union ratio corresponding to the ground truth value of the original image to predict the bolt, and other bounding boxes are considered to be without bolts; finally, the width and height of the prediction parameters of the bounding box are adjusted to the real position, and an image with a prediction box and a numerical result of the classification confidence is output.

6. The bolt loosening detection method based on synthetic data set and deep learning according to claim 5 is characterized in that: The specific steps to build a bolt loosening detection model are: Step 4.

1. Use k-means clustering to determine the size of the prior box, and use the IOU between the bounding box and the manually labeled ground truth as a metric to determine the closeness between the two: distance(box,center)=1-IOU(box,center) Formula 1 Where IOU represents the ratio of the intersection area to the union area of ​​the bolt bounding box and the ground truth value; box represents the prior box; center represents the ground truth value; Step 4.2: For each feature map output by the algorithm, each grid point contains three prior boxes. The algorithm locates the center of the target and calculates the position parameter (t x ,t y ,t w ,t h ,t o ), the coordinate parameters of the target center point and the size of the prediction box will be offset according to the initial coordinates of the grid center point based on the above related parameters; assuming that the grid center point is (c x ,c y ), and the width and height of the prior box are p w and p h , then the parameters of the prediction box are: b x =σ(t x )+c x Formula 2 b y =σ(t y )+c y Formula 3 Pr(object)×IOU(b,object) = σ(t o ) Formula 6 Where σ(·) represents the sigmoid function, which is used to limit the relative coordinate offset value between 0 and 1; Step 4.3, the algorithm loss function consists of three main parts and can be expressed as: Among them, CoordLoss is the coordinate loss, ConfLoss is the confidence loss, ClassLoss is the classification loss, and N is the number of all prediction boxes in a single image.

7. A bolt loosening detection device, characterized in that: Includes the following modules: Extraction module: used to extract images for detection in the video. The module matches the frame interval according to the movement speed of the drone, the algorithm detection speed, and the number of bolts in the bolt group, and extracts images in the video according to the frame interval; Preprocessing module: including an image preprocessing unit and an information appending unit; the image preprocessing unit adjusts the image size output by the extraction module to 608 pixels × 608 pixels, and introduces gray edge filling for non-square images; the information appending unit links the drone position, viewing angle, and bolt group number when the photo was taken with the image; Algorithm recognition module: It is equipped with a trained and verified YOLO v3-based bolt loosening defect recognition model, which inputs preprocessed images and outputs images with bolt position information and tightness status annotations; Post-processing module: includes a storage unit and an outlier output unit; the storage unit is used to store the drone video and the image information after algorithm detection; the outlier output unit is used to output the drone shooting position, viewing angle and bolt group number of the corresponding image when the algorithm identifies a loose bolt.

Citation Information

Cited By

  • Bolt state parameter determination method and device, equipment, medium and product

    CN119915486A

  • Unmanned aerial vehicle visual angle bolt detection system based on image feature guidance

    CN119942387A

  • Vehicle bottom bolt anti-loosening mark detection method and system

    CN121883483A