Method for detecting pin penetrating state of hoisting equipment based on VGG
Through the convolutional neural network model based on VGG, the pin-piercing status of the lifting equipment is monitored in real time, which solves the problem of difficult observation of the pin-piercing status in high altitude and underwater operations, realizes the safety monitoring of the lifting equipment, and reduces errors. Judge risks.
Patent Information
- Application Number
- CN202410728734.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-20
AI Technical Summary
It is difficult to observe the pin-threading status of lifting equipment during high-altitude operations and underwater operations, leading to misjudgments by professionals, causing out-of-stock accidents, and threatening personnel safety and equipment status.
A convolutional neural network model based on VGG is used to collect pictures of the pinning state through the camera, construct a labeled sample set, and use Pytorch to train the VGG network model to achieve self-supervised learning, predict the pinning state, and adjust the model parameters by evaluating parameters. Real-time monitoring is achieved.
Without manual intervention, the pin-piercing status of the lifting equipment can be monitored in real time, which improves safety and reduces the risk of misjudgment. It is suitable for underwater and high-altitude operating environments.
Smart Images

Figure CN118675099A
Abstract
Description
Technical Field
[0001] The invention relates to the field of lifting equipment detection, and in particular to a lifting equipment pinning state detection method based on VGG. Background Art
[0002] VGG is a classic convolutional neural network model, which is mainly used for computer vision tasks such as image classification and target monitoring.
[0003] Before lifting heavy objects, lifting equipment needs to fix and tie them up. Larger objects need to be fixed to the lifting equipment using pins, such as the accident door at the water inlet of a hydropower plant. In actual operations, the pinning of lifting equipment involves dangerous situations such as working at heights and underwater, so the pinning of lifting equipment is mostly done by remote control. However, since it is difficult to observe the pinning status in situations such as working at heights and underwater, the pinning status of lifting equipment is often monitored using cameras. The camera monitoring method requires professionals to observe the pinning status in real time to confirm whether the pin is in place or detached. In the process of lifting heavy objects, if professionals misjudge the pinning status, it will cause a pin-out accident during lifting. The pin-out accident will directly threaten the safety of personnel and the status of the lifting equipment. Therefore, a method that can monitor the status of the equipment in real time is urgently needed in the field of pinning operations using lifting equipment. Summary of the invention
[0004] The purpose of the present invention is to overcome the safety accident problem caused by misjudgment of the pinning status of lifting equipment in the prior art by manual means, and to provide a method for detecting the pinning status of lifting equipment based on VGG.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] A method for detecting the pinning status of a lifting equipment based on VGG is used to judge whether the pinning status of the lifting equipment is in place according to the real-time pinning status pictures collected by the camera of the lifting equipment. First, the pinning status pictures collected by the camera of the lifting equipment in different states are collected, and the collected pinning status pictures are named according to appropriate names, and an Excel table containing the pinning picture names is constructed. In the Excel table, the cells behind the picture names are marked according to whether the pins are in place to construct a labeled sample set; the sample set is classified according to the retention method, and the sample set is divided into a training set and a test set; a VGG network model is constructed through Pytorch, and the convolution kernel parameters, the number of channels and the activation function are set; the learning rate, the Dropout parameter and The training round data is used, and the training set is used for VGG network model training, and the VGG network model parameters are obtained by self-supervised training; after the VGG network model is trained, the VGG network model is used to predict the sample penetration status of the test set, and the predicted sample penetration status in the test set is compared with the actual sample penetration status in the test set, and the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters are calculated, and the evaluation results are determined, and a confusion matrix is drawn based on the evaluation results; the evaluation parameters and confusion matrix predicted by the VGG model are observed, and the learning rate, convolution kernel parameters and training rounds are adjusted according to the prediction results; the above training process is repeated to select the model with the highest training accuracy;
[0007] The method comprises the following steps:
[0008] Step 1: Select the real-time status images of the threading pin collected by the camera of the lifting equipment under several states, name the collected threading pin status images according to appropriate names, and construct an Excel table containing the threading pin image names. In the Excel table, mark the cells behind the image names according to whether the threading pins are in place to construct a marked sample set;
[0009] Step 2: Select different samples from the training data set in a ratio of 7:3 to construct two mutually exclusive data sets. The data set with more samples is used as the training set, and the data set with fewer samples is used as the test set.
[0010] Step 3: Use Pytorch to build a VGG network model with convolutional layers, pooling layers, and fully connected layers, and set the convolution kernel parameters, pooling layer type, number of fully connected layer channels, and Dropout parameters;
[0011] Step 4: Set the learning rate, training rounds and sample size parameters, use the training set samples to train the VGG network model in a self-supervised manner, extract the convolutional layer parameters and generate the VGG network model;
[0012] Step 5: Predict the sales status of the test set samples through the VGG network model, and compare the predicted sales status of the samples in the test set with the actual sales status of the samples in the test set, calculate the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters, adjust the learning rate and training round parameters in the training process through the evaluation parameters and confusion matrix, and use the training set to perform VGG model self-supervised training again to generate a new VGG network model;
[0013] Step 6: Use the test set again to test the prediction accuracy of the new VGG model and draw the confusion matrix, compare it with the prediction accuracy and confusion matrix of the original VGG network model, and retain the VGG model with high prediction accuracy;
[0014] Step 7: Use the training set and the test set to train the VGG network model for multiple rounds until a prediction accuracy model is found; the accuracy model is the VGG11 model whose prediction accuracy cannot be improved by adjusting the model parameters;
[0015] Step 8: After the final VGG model is obtained, the data collected by the lifting equipment pinning monitoring camera in real time is input into the model for detection to obtain the real-time status of the lifting equipment pinning.
[0016] Furthermore, the threading pin status in step 1 includes three states: the threading pin is in place, the threading pin is not in place, and the threading pin is out of place. In the Excel table, these three states are marked with numbers 0, 1, and 2 respectively.
[0017] Furthermore, the pin-threading status pictures in step 1 ensure that the proportion of pictures in the three states of pin-threading in place, pin-threading not in place and pin-threading out of place in the sample set does not exceed 50% to avoid affecting the prediction accuracy.
[0018] Furthermore, the training set and the test set in step 2 cannot contain the same samples.
[0019] Furthermore, the VGG network model in step 3 is a VGG11 network model, the pooling layer used by the VGG11 network model is Maxpooling, and the activation function uses the ReLu function.
[0020] Furthermore, the VGG11 network model is constructed such that a convolution layer and a pooling layer are immediately followed by an input layer, three fully connected layers are connected after the pooling layer, and a Soft-max layer is connected after the fully connected layer.
[0021] Furthermore, the number of training rounds in step 4 should not be too large, and should not exceed 100,000 rounds at most.
[0022] Furthermore, the learning rate in step 5 is set to 0.001.
[0023] Furthermore, the prediction accuracy should be taken as the standard in step 6, and the influence of other evaluation indicators should be considered when the prediction accuracy is the same.
[0024] The beneficial effects of the present invention are:
[0025] (1) There is no need to install too much detection equipment or manual intervention. The pinning status can be analyzed through the real-time pinning status image collected by the lifting equipment pinning camera;
[0026] (2) The pinning status of lifting equipment during underwater and aerial operations can be monitored. There is no need to classify the pinning status images of different professional situations. Instead, the images can be directly input into a unified VGG network model for monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a flow chart of a method for detecting the pinning status of lifting equipment based on VGG;
[0028] Figure 2 The excel table chart corresponding to the data set used;
[0029] Figure 3 This is the schematic diagram of the VGG11 network model training process;
[0030] Figure 4 This is the confusion matrix generated by this embodiment according to the test results of the test set. DETAILED DESCRIPTION
[0031] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0032] See also Figure 1The present embodiment provides a method for detecting the pinning status of a lifting equipment based on VGG. The method determines whether the pinning status of the lifting equipment is in place according to the real-time pinning status picture collected by the camera of the lifting equipment. First, the pinning status pictures collected by the camera of the lifting equipment in different states are collected, and the collected pinning status pictures are named according to appropriate names, and an Excel table containing the pinning picture names is constructed. In the Excel table, the cells behind the picture names are marked according to whether the pins are in place to construct a labeled sample set; the sample set is classified according to the retention method, and the sample set is divided into a training set and a test set; a VGG network model is constructed through Pytorch, and the convolution kernel parameters, the number of channels and the activation function are set; the learning rate, the dropout rate and the activation function are set. t parameters and training round data, and use the training set for VGG network model training, and obtain VGG network model parameters through self-supervised training; after training the VGG network model, predict the sample penetration status of the test set through the VGG network model, and compare the predicted sample penetration status in the test set with the actual sample penetration status in the test set, calculate the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters, and determine the evaluation results, and draw a confusion matrix based on the evaluation results; observe the evaluation parameters and confusion matrix predicted by the VGG model, and adjust the learning rate, convolution kernel parameters and training rounds according to the prediction results; repeat the above training process to select the model with the highest training accuracy;
[0033] The method comprises the following steps:
[0034] Step 1: Select the real-time status images of the threading pin collected by the camera of the lifting equipment under several states, name the collected threading pin status images according to appropriate names, and construct an Excel table containing the threading pin image names. In the Excel table, mark the cells behind the image names according to whether the threading pins are in place to construct a marked sample set;
[0035] Step 2: Select different samples from the training data set in a ratio of 7:3 to construct two mutually exclusive data sets. The data set with more samples is used as the training set, and the data set with fewer samples is used as the test set.
[0036] Step 3: Use Pytorch to build a VGG network model with convolutional layers, pooling layers, and fully connected layers, and set the convolution kernel parameters, pooling layer type, number of fully connected layer channels, and Dropout parameters; the VGG11 network model consists of a convolutional layer and a pooling layer immediately after the input layer, a convolutional layer and a pooling layer connected again after the first pooling layer, two connected convolutional layers and a pooling layer connected after the second pooling layer, two connected convolutional layers and a pooling layer connected after the third pooling layer, two connected convolutional layers and a pooling layer connected after the fourth pooling layer, three fully connected layers connected after the fifth pooling layer, and a Soft-max layer connected after the fully connected layer.
[0037] Step 4: Set the learning rate, training rounds and sample size parameters, use the training set samples to train the VGG network model in a self-supervised manner, extract the convolutional layer parameters and generate the VGG network model;
[0038] Step 5: Predict the sales status of the test set samples through the VGG network model, and compare the predicted sales status of the samples in the test set with the actual sales status of the samples in the test set, calculate the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters, adjust the learning rate and training round parameters in the training process through the evaluation parameters and confusion matrix, and use the training set to perform VGG model self-supervised training again to generate a new VGG network model;
[0039] Step 6: Use the test set again to test the prediction accuracy of the new VGG model and draw the confusion matrix, compare it with the prediction accuracy and confusion matrix of the original VGG network model, and retain the VGG model with high prediction accuracy;
[0040] Step 7: Use the training set and the test set to train the VGG network model for multiple rounds until a prediction accuracy model is found; the accuracy model is the VGG11 model whose prediction accuracy cannot be improved by adjusting the model parameters;
[0041] Step 8: After the final VGG model is obtained, the data collected by the lifting equipment pinning monitoring camera in real time is input into the model for detection to obtain the real-time status of the lifting equipment pinning.
[0042] See also Figure 2 The threading pin status only includes three states: threading pin in place, threading pin not in place and threading pin out of place. In the Excel table, these three states are marked with numbers 0, 1 and 2 respectively.
[0043] See also Figure 3-Figure 4, the camera collects the pinning status pictures in real time, and divides the collected pictures into training set and test set. The training set will be assigned to the preset VGG model for training. After training, the trained VGG model will be obtained. It will be judged whether it meets the requirements according to the training quantity and evaluation parameters. If it meets the requirements, the final VGG model will be formed, and the final VGG model will output the real-time pinning status; if the evaluation parameter judgment result is that it does not meet the requirements, the VGG model parameters will be modified, the preset VGG model will be reset, and training will be carried out. The test set will be judged by the confusion matrix and evaluation parameters, and then the final VGG model will output the real-time pinning status.
[0044] This embodiment uses deep learning technology to effectively utilize the image data of lifting equipment; this method does not require the installation of too many detection equipment, and does not require human intervention, and can analyze the pinning status through the real-time pinning status image collected by the pinning camera of the lifting equipment; by using this method, the pinning status of lifting equipment in underwater operations and high-altitude operations can be monitored, and when using it, there is no need to classify and process the pinning status images of different professional situations, and they can be directly input into a unified VGG network model for monitoring.
[0045] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for detecting the pinning status of lifting equipment based on VGG. It is characterized in that Whether the pinning status of the lifting equipment is in place is judged according to the real-time pinning status pictures collected by the lifting equipment camera. Among them, the pinning status pictures collected by the lifting equipment camera in different states are collected, the collected pinning status pictures are named, and an excel table containing the pinning picture names is constructed. In the excel table, the cells behind the picture name are marked according to whether the pins are in place to construct a labeled sample set; the sample set is classified according to the retention method, and the sample set is divided into a training set and a test set; a VGG network model is constructed through the Pytorch model, and the convolution kernel parameters, number of channels and activation function are set; the learning rate, Dropout parameters and training round data are set, and the training set Used for VGG network model training, obtain VGG network model parameters through self-supervised training; after training the VGG network model, predict the sample penetration status of the test set through the VGG network model, and compare the predicted sample penetration status in the test set with the actual sample penetration status in the test set, calculate the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters, and determine the evaluation results, and draw a confusion matrix based on the evaluation results; observe the evaluation parameters and confusion matrix predicted by the VGG model, and adjust the learning rate, convolution kernel parameters and training rounds according to the prediction results; repeat the above training process to select the model with the highest training accuracy; The method comprises the following steps: Step 1: Select the real-time status pictures of the threading pin collected by the camera of the lifting equipment under several states, name the collected threading pin status pictures, and construct an Excel table containing the threading pin picture names. In the Excel table, mark the cells behind the picture name according to whether the threading pin is in place to construct a marked sample set; Step 2: Select different samples from the training data set in a ratio of 7:3 to construct two mutually exclusive data sets. The data set with more samples is used as the training set, and the data set with fewer samples is used as the test set. Step 3: Use the Pytorch model to build a VGG network model with convolutional layers, pooling layers, and fully connected layers, and set the convolution kernel parameters, pooling layer type, number of fully connected layer channels, and Dropout parameters; Step 4: Set the learning rate, training rounds and sample size parameters, use the training set samples to train the VGG network model in a self-supervised manner, extract the convolutional layer parameters and generate the VGG network model; Step 5: Predict the sales status of the test set samples through the VGG network model, and compare the predicted sales status of the samples in the test set with the actual sales status of the samples in the test set, calculate the MSE, RMSE, R correlation coefficient, MAE, MAPE, precision rate P, recall rate R and prediction accuracy A evaluation parameters, adjust the learning rate and training round parameters in the training process through the evaluation parameters and confusion matrix, and use the training set to perform VGG model self-supervised training again to generate a new VGG network model; Step 6: Use the test set again to test the prediction accuracy of the new VGG model and draw the confusion matrix, compare it with the prediction accuracy and confusion matrix of the original VGG network model, and retain the VGG model with high prediction accuracy; Step 7: Use the training set and the test set to train the VGG network model for multiple rounds until a prediction accuracy model is found; the accuracy model is the VGG11 model whose prediction accuracy cannot be improved by adjusting the model parameters; Step 8: After the final VGG model is obtained, the data collected by the lifting equipment pinning monitoring camera in real time is input into the model for detection to obtain the real-time status of the lifting equipment pinning.
2. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The pinning status in step 1 includes three states: the pinning is in place, the pinning is not in place, and the pinning is out of place. In the Excel table, the above three states are marked with numbers 0, 1, and 2 respectively.
3. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The pin-threading status pictures in step 1, i.e., the pin-threading status pictures of being in place, the pin-threading status pictures of being out of place, and the pin-threading status pictures, shall not account for more than 50% of the sample set.
4. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The training set and the test set in step 2 are respectively present in different samples.
5. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The VGG network model in step 3 is a VGG11 network model, the pooling layer used by the VGG11 network model is Maxpooling, and the activation function uses the ReLu function.
6. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 5, It is characterized in that The VGG11 network model consists of an input layer followed by a convolutional layer and a pooling layer, the pooling layer is followed by three fully connected layers, and the fully connected layer is followed by a Soft-max layer.
7. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The number of training rounds in step 4 does not exceed 100,000 rounds.
8. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that The learning rate in step 5 is set to 0.
001.
9. A method for detecting the pinning status of a lifting equipment based on VGG according to claim 1, It is characterized in that In step 6, the prediction accuracy of the VGG model is used as the standard, and when the prediction accuracy is the same, the evaluation index affects the VGG model.
Citation Information
Patent Citations
A method and device for monitoring the abnormality around a dam based on an unmanned aerial vehicle
CN109272039A
Loss and fault detection method for strut split pins of wagon brake beams
CN111091551A
Appearance crack detection method for communication module of intelligent electric meter based on deep learning
CN113487557A
Power transmission line pin state detection method and detection system
CN114120164A
Method for segmentation of underground drainage pipeline defects based on full convolutional neural network
US20210319265A1
Cited By
Automatic positioning method and system for gate pull rod of hydropower station cable-stayed portal crane
CN120406280A
An automatic positioning method and system for a stay door rod of a stay door machine of a hydropower station
CN120406280B
