Bucket tooth monitoring method and device of bucket and bucket
Through the training and identification of the neural network model, the problem of low accuracy of bucket tooth monitoring in the existing technology is solved, real-time identification and abnormal judgment of bucket teeth are achieved, and safety and reliability are improved.
Patent Information
- Application Number
- CN202410924196.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The existing bucket tooth monitoring method uses semantic segmentation algorithms to accurately determine whether the bucket teeth are missing, resulting in low accuracy of judgment.
By training the neural network model, the trained bucket recognition model is obtained, and the bucket image in working condition is recognized in real time to determine whether the bucket teeth are abnormal, including missing, tilted and worn.
It achieves accurate identification of bucket teeth, eliminates potential safety hazards at the construction site, and reduces the accident rate.
Smart Images

Figure CN118653538A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of engineering machinery, and in particular to a bucket tooth monitoring method, device, and bucket. Background Art
[0002] Excavators are mechanical equipment commonly used in engineering projects for digging and loading. They are used to dig earth and stone at construction sites and load materials for loading. The main working parts of the excavator are the bucket teeth. Since the bucket teeth are in a harsh environment for a long time, they will cause certain damage to the bucket teeth. In serious cases, the bucket teeth may fall off. After the bucket teeth fall off, the materials may be mixed into the crusher and other equipment. Since the bucket teeth are made of hard materials, they are easy to cause damage to the equipment. Therefore, monitoring the status of the bucket teeth is crucial to the safe operation of engineering equipment.
[0003] The existing bucket tooth monitoring method obtains bucket tooth data through a camera, obtains a prediction frame of each bucket tooth through a target detection algorithm, and then segments the bucket teeth in the prediction frame through a semantic segmentation model to obtain a bucket tooth mask image. The difference or proportional relationship between the bucket teeth in the mask image is used to determine whether the bucket teeth in the current frame are missing. If the cumulative number of missing times reaches a set threshold within a specified time, it is determined to be missing. The height of each frame of the bucket tooth mask image obtained by the semantic segmentation algorithm is random and cannot completely fit the bucket teeth. It is difficult to guarantee the accuracy of judging whether a tooth is missing based on the height difference of the bucket teeth. Summary of the invention
[0004] In view of this, the present application is dedicated to providing a bucket tooth monitoring method, device, and bucket. This solution obtains a trained bucket recognition model by training and verifying a neural network model. The trained bucket recognition model can be used to recognize bucket images in real time in a working state and monitor the recognition results. It can accurately identify whether the bucket teeth are abnormal, effectively solving the problem of low accuracy in judging whether there are missing teeth based on the height difference of the bucket teeth in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a bucket tooth monitoring method of a bucket, comprising:
[0006] Acquire multiple bucket images of the bucket in a working state;
[0007] The bucket tooth overall structure in each bucket image and each bucket tooth included in the bucket tooth overall structure are respectively labeled, and a label file is generated;
[0008] Based on the multiple bucket images and corresponding label files, the neural network model is trained and verified to obtain a trained bucket recognition model;
[0009] Inputting the acquired multiple real-time bucket images into a bucket recognition model for recognition, and outputting recognition results of the multiple real-time bucket images, the recognition results including a recognition result of the overall structure of the bucket teeth in the real-time bucket image and a recognition result of each bucket tooth in the real-time bucket image;
[0010] Whether the bucket teeth of the bucket are abnormal is determined according to the recognition results of the multiple real-time bucket images.
[0011] Optionally, the step of respectively marking the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image includes:
[0012] According to the category name, the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure are selected using a marking box to generate a category serial number, where the category serial number corresponds to the category name;
[0013] The recognition result of the real-time bucket image includes: a prediction frame of the overall structure of the bucket tooth in the real-time bucket image, and a prediction frame of each bucket tooth in the real-time bucket image.
[0014] Optionally, the bucket tooth monitoring method provided in the first aspect of the present application further includes:
[0015] The bucket image is preprocessed, and the preprocessing includes data cleaning and data enhancement. The data enhancement includes simulating rainy days, fog, dust, and exposure scenes.
[0016] Optionally, the bucket tooth abnormality of the bucket includes missing;
[0017] Determining whether the bucket teeth of the bucket are missing according to the recognition results of the multiple real-time bucket images includes:
[0018] Matching the prediction frame of the bucket tooth overall structure in each real-time bucket image with the prediction frame of each bucket tooth to determine a matching result;
[0019] When the matching result is that the number of successful matches exceeds a first preset threshold, it is determined that the bucket teeth of the bucket are missing.
[0020] Optionally, matching the prediction frame of the bucket tooth overall structure in each real-time bucket image with the prediction frame of each bucket tooth to determine the matching result includes:
[0021] Determine the position of the first predicted missing bucket tooth according to the predicted frame of the bucket tooth overall structure in the real-time bucket image;
[0022] Determining a position of a second predicted missing tooth according to a predicted box of each tooth in the real-time bucket image; and
[0023] When the first predicted position of the missing bucket tooth is consistent with the second predicted position of the missing bucket tooth, the matching result is determined to be a successful match.
[0024] Optionally, the bucket tooth abnormality of the bucket includes tilting;
[0025] Judging whether the bucket teeth of the bucket are tilted according to the recognition results of the multiple real-time bucket images includes:
[0026] Calculate the real-time width of a bucket tooth based on the predicted frame of a bucket tooth in each real-time bucket image;
[0027] Calculating a width ratio of the real-time width of the certain bucket tooth to the factory width according to the real-time width of the certain bucket tooth and the factory width of the certain bucket tooth;
[0028] Recording the number of real-time bucket images whose width ratio exceeds a second preset threshold;
[0029] When the number of real-time bucket images whose width ratio exceeds the second preset threshold value exceeds the third preset threshold value, it is determined that a tooth of the bucket is tilted.
[0030] Optionally, the bucket tooth abnormality of the bucket includes wear;
[0031] Judging whether the bucket teeth of the bucket are worn according to the recognition results of the multiple real-time bucket images includes:
[0032] Calculate the real-time area of a bucket tooth based on the mask of a bucket tooth in each real-time bucket image;
[0033] Calculating an area ratio of the real-time area of the certain bucket tooth to the preset area according to the real-time area of the certain bucket tooth and the preset area;
[0034] Recording the number of real-time bucket images whose area ratio exceeds a fourth preset threshold;
[0035] When the number of real-time bucket images whose area ratio exceeds the fourth preset threshold value exceeds the fifth preset threshold value, it is determined that a tooth of the bucket is worn.
[0036] Optionally, the preset area is the bucket tooth area when the bucket teeth leave the factory or the bucket tooth area of the bucket tooth with the largest area in the real-time bucket image.
[0037] In a second aspect, an embodiment of the present application provides a bucket tooth monitoring device for a bucket, comprising: an image acquisition module, an image processing module, a bucket recognition model and an abnormality determination module, wherein:
[0038] The image acquisition module is used to obtain multiple bucket images of the bucket in a working state;
[0039] The image processing module is used to mark the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image, and generate a label file;
[0040] A bucket recognition model, wherein the bucket recognition model is obtained by training and verifying a neural network model based on the multiple bucket images and corresponding label files; the bucket recognition model is used to recognize the multiple real-time bucket images obtained, and output recognition results of the multiple real-time bucket images, wherein the recognition results include recognition results of the overall structure of the bucket teeth in the real-time bucket images and recognition results of each bucket tooth in the real-time bucket images;
[0041] The abnormality determination module is used to determine whether the bucket teeth of the bucket are abnormal according to the recognition results of the multiple real-time bucket images.
[0042] In a third aspect, an embodiment of the present application provides an excavator, comprising:
[0043] A bucket tooth integral structure, wherein the bucket tooth integral structure comprises a plurality of bucket teeth;
[0044] And the bucket tooth monitoring device of the bucket described in the second aspect.
[0045] Based on the above content, the present application provides a bucket tooth monitoring method, which first obtains multiple bucket images of the bucket in a working state, and then respectively labels the bucket tooth overall structure in each bucket image and each bucket tooth included in the bucket tooth overall structure, and generates a label file. Based on multiple bucket images and corresponding label files, the neural network model is trained and verified to obtain a trained bucket recognition model, and the multiple acquired real-time bucket images are input into the bucket recognition model for recognition, and the recognition results of multiple real-time bucket images are output, and it is judged whether the bucket teeth of the bucket are abnormal according to the recognition results of multiple real-time bucket images. In this way, through the trained bucket recognition model, the bucket images in the working state are recognized in real time and the recognition results are monitored, so that it is possible to accurately identify whether the bucket teeth of the bucket are abnormal, eliminate safety hazards at the construction site, and reduce the accident rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 A schematic flow chart of a bucket tooth monitoring method for a bucket provided in an embodiment of the present application;
[0048] Figure 2 A recognition result diagram of a bucket tooth monitoring method for a bucket provided in an embodiment of the present application;
[0049] Figure 3 A schematic flow chart of a bucket tooth monitoring method for a bucket provided in an embodiment of the present application;
[0050] Figure 4 A schematic flow chart of a bucket tooth monitoring method for a bucket provided in an embodiment of the present application;
[0051] Figure 5 A schematic flow chart of a bucket tooth monitoring method for a bucket provided in an embodiment of the present application;
[0052] Figure 6 A structural block diagram of a bucket tooth monitoring device for a bucket provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] Unless otherwise defined, the technical terms or scientific terms used in the embodiments of this specification shall have the common meanings understood by persons with ordinary skills in the field to which this specification belongs. The words "first", "second" and similar words used in the embodiments of this specification do not indicate any order, quantity or importance, but are only used to avoid confusion of constituent elements.
[0054] Unless the context requires otherwise, throughout the specification, "plurality" means "at least two", and "including" is interpreted as an open, inclusive meaning, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "examples", "specific examples" or "some examples" are intended to indicate that a particular feature, structure, material or characteristic associated with the embodiment or example is included in at least one embodiment or example of the specification. The schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0055] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0056] Application Overview
[0057] The materials that excavators need to excavate on a daily basis are mainly soil, coal, silt, and pre-loosened soil and rocks. When excavating these materials, the excavator needs to perform preliminary crushing and then load and unload them into the transport truck. The truck loads the materials into crushers and other equipment for further processing. The main working parts of the excavator are the bucket teeth. Due to the accumulated working hours and harsh working conditions, the bucket teeth of the bucket are easily damaged to varying degrees, and even in severe cases, the bucket teeth may fall off. The fallen bucket teeth may fall into the unexcavated materials and be loaded and unloaded into the truck during the subsequent excavation process. The bucket teeth may also fall directly into the truck during the process of loading and unloading the materials into the truck, causing the fallen bucket teeth to eventually enter the crusher and other equipment, causing equipment damage.
[0058] In the prior art, only each bucket tooth of the bucket is marked to obtain a prediction frame of each bucket tooth, and the prediction frame is processed to obtain a bucket tooth mask image. The difference or proportional relationship between the heights of the bucket teeth in the mask image is used to determine whether the bucket teeth of the current frame are missing. If the cumulative number of missing times reaches a set threshold within a specified time, it is determined to be missing. The height of each bucket tooth mask image obtained in this way is random and cannot completely fit the bucket teeth. It is difficult to ensure the accuracy of judging whether a tooth is missing based on the height difference of the bucket teeth.
[0059] In order to solve the above technical problems, the present application provides a bucket tooth monitoring method, device, and excavator. The overall structure of the bucket teeth in multiple bucket images and each bucket tooth included in the overall structure of the bucket teeth are manually labeled and a label file is generated. Based on multiple bucket images and corresponding label files, a neural network model is trained and verified to obtain a trained bucket recognition model. Multiple acquired real-time bucket images are input into the bucket recognition model to obtain recognition results of multiple real-time bucket images. Whether the bucket teeth of the bucket are abnormal is determined based on the recognition results of multiple real-time bucket images. In this way, by using the trained bucket recognition model to recognize bucket images in a working state in real time and monitor the recognition results, it is possible to accurately identify whether the bucket teeth of the bucket are abnormal, eliminate safety hazards at the construction site, and reduce the accident rate.
[0060] The bucket tooth monitoring method of a bucket provided in an embodiment of this specification will be exemplarily described below with reference to the accompanying drawings.
[0061] Exemplary Methods
[0062] like Figure 1 As shown, in this exemplary embodiment, a bucket tooth monitoring method for a bucket is provided, and the method may include the following steps:
[0063] S101: Acquire multiple bucket images of the bucket in a working state.
[0064] The image acquisition device is pre-installed at a specific position of the excavator, such as on the top of the cab or under the boom or other fixed positions. The image acquisition device may include a camera, a camcorder, a surveillance camera or other devices that can be used to take images or record videos. They are not listed here one by one. Under the premise of not exceeding the core idea of this application, they also fall within the scope of protection of this application.
[0065] This application takes the image acquisition device as an example, which is a vehicle-mounted surveillance camera. The vehicle-mounted surveillance camera can obtain real-time video of the bucket in the working state, and obtain multiple bucket images of the bucket in the working state by analyzing the video.
[0066] In some embodiments of the present application, the bucket image is preprocessed, and the preprocessing includes data cleaning and data enhancement, and the data enhancement includes simulating rainy, foggy, dusty, and exposed scenes.
[0067] Data cleaning: Remove damaged bucket image samples and select appropriate bucket images to retain. The number of positive and negative samples should be balanced as much as possible for the next step.
[0068] Over a period of time, the bucket image obtained by shooting and analyzing the video will most likely only cover one scenario, such as sunny, cloudy, or rainy days. In order to cover various extreme scenarios and improve the generalization ability of deep learning, data enhancement technology is used on the basis of the obtained bucket image to increase the amount of bucket image data. The features extracted from the processed image will be different from those of the original image, which will improve the training effect of the model and make the model more robust.
[0069] Simulate rainy scene: Generate Gaussian noise in the original bucket image, simulate the shape of raindrops through the diagonal matrix, simulate the tilt angle of raindrops by rotating the diagonal matrix, and adjust the threshold parameter to control the number of raindrops.
[0070] Simulate fog and dust scenes: set the concentration and brightness of fog and dust, calculate the transmittance based on the Euclidean distance between the center point of the bucket image and each pixel, and perform weighted processing on the bucket image according to the distance.
[0071] Simulate exposure scene: calculate the center and radius of the image, determine the enhanced central area, use the distance from the pixel to the center as the weight, amplify the pixel value of the central area, reduce the pixel value of the edge area, and highlight the detailed information of the exposed area.
[0072] In some embodiments, inclination sensors are respectively installed on the boom, arm and bucket of the excavator. After the excavator is just started, before obtaining multiple bucket images of the bucket in the working state, the boom, arm and bucket of the excavator are controlled to automatically adjust to the target position by obtaining the value of the inclination sensor. The target position is the position where all bucket teeth can be monitored by the on-board monitoring camera, and then the multiple bucket images of the bucket in the working state are obtained.
[0073] S102: Labeling the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image, and generating a label file.
[0074] Depending on the size of the bucket, the number of teeth in the bucket is also different. This application takes the bucket with 4 teeth as an example. When dividing the current excavator's working state according to the different shapes of the bucket in the acquired bucket image, the bucket image is annotated to obtain a label file corresponding to the bucket image.
[0075] When it is determined from the bucket image that the working state of the excavator is digging, the bucket image is labeled as digging.
[0076] When it is determined from the bucket image that the working state of the excavator is unloading, the bucket image is marked as unloading.
[0077] When it is determined from the bucket image that the working state of the excavator is loading, the bucket image is labeled as loading.
[0078] When it is determined from the bucket image that there is occlusion and not all bucket teeth can be seen, the bucket image is marked as undetect.
[0079] When it is judged from the bucket image that the working state of the excavator is in the reset state, that is, the excavator is in the state from the completion of excavation to the next excavation, and there is no obstruction to see all the bucket teeth, all four bucket teeth are regarded as the overall bucket tooth structure, that is, the overall bucket tooth structure includes all the bucket teeth, the overall bucket tooth structure in each bucket image is manually labeled, and each bucket tooth included in the overall bucket tooth structure is manually labeled to obtain a label file, and the label file is matched with the bucket image.
[0080] In some embodiments of the present application, the specific steps of marking the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image in S102 may include:
[0081] When it is judged from the bucket image that the working state of the excavator is in the reset state, that is, the excavator is in the state from the completion of excavation to the next excavation, and there is no occlusion to see all the bucket teeth, the bucket tooth overall structure in each bucket image and each bucket tooth included in the bucket tooth overall structure are manually labeled respectively. The bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure are selected using a labeling box according to the category name, and the category number and the coordinate information of the labeling box are generated, and the category number corresponds to the category name. The label file contains the information after the bucket image is labeled, such as all the labeling box details, category number, bucket tooth category name, the horizontal and vertical coordinates of the center point of the labeling box, and the width and height of the labeling box. The relative position of the center point in the bucket image is calculated according to the horizontal and vertical coordinates of the center point of the labeling box, and the ratio of the width and height of the labeling box to the width and height of the entire bucket image is calculated according to the width and height of the labeling box.
[0082] The bucket teeth include tooth tips and tooth roots. When a bucket tooth in the bucket image has a tooth tip, the bucket tooth category name is tooth tip. When a bucket tooth in the bucket image does not have a tooth tip, the bucket tooth category name is tooth root. At this time, the bucket tooth is missing. Each bucket tooth selected in the box generates a category number from left to right according to its position. The category number corresponds to its category name. For example, 1 can represent the number of the bucket tooth ranked first from left to right, and its category name is tooth tip. For example, 2 can represent the number of the bucket tooth ranked second from left to right, and its category name is tooth root.
[0083] When the bucket and bucket teeth account for a relatively low proportion in the bucket image and the surrounding environment accounts for a relatively high proportion, it is not conducive to the recognition of the bucket teeth, which will reduce the recognition accuracy and waste the detection performance of the model. In some embodiments, a fixed area of the annotated bucket image is captured to obtain a captured bucket image, and the annotations in the bucket image are offset according to the relative position relationship between the captured bucket image and the bucket image.
[0084] The annotation on the bucket image records the position of the annotation box on the bucket image. The bucket image is cropped in a fixed area, which makes the original annotation box position inapplicable to the cropped image. Based on the cropped fixed area information, the relative position relationship between the intercepted bucket image and the bucket image can be calculated, so that the annotation box can be offset according to this position relationship and a new label file can be generated.
[0085] S103: Based on the multiple bucket images and the corresponding label files, the neural network model is trained and verified to obtain a trained bucket recognition model.
[0086] The above-mentioned multiple pairs of bucket images and the corresponding label files are used as data sets and divided into training set, validation set and test set. The division can be carried out in a fixed ratio, such as 8:1:1 for the training set, validation set and test set. A suitable deep learning algorithm such as target detection algorithm and instance segmentation algorithm is selected. After adjusting the parameters, the neural network model is trained with the training set to obtain a preliminary trained bucket recognition model and a weight file of the model parameters. The preliminary trained bucket recognition model is verified and optimized with the validation set. The trained model weight file is quantized and accelerated to adapt to the edge computing device. A fixed period can be set for the validation set. The validation set is used to verify the effect of the model in each period and update the parameters of the model. The test set is used to evaluate the model to obtain a trained bucket recognition model.
[0087] S104: inputting the acquired multiple real-time bucket images into a bucket recognition model for recognition, and outputting recognition results of the multiple real-time bucket images.
[0088] The bucket video captured in real time by the vehicle-mounted monitoring camera is parsed to obtain multiple real-time bucket images. The multiple real-time bucket images obtained are input into the trained bucket recognition model for recognition. The bucket recognition model will output the recognition results of the multiple real-time bucket images.
[0089] When the bucket recognition model identifies that the working state of the excavator in the real-time bucket image is digging, the recognition result is digging.
[0090] When the bucket recognition model identifies that the working state of the excavator in the real-time bucket image is unloading, the recognition result is unloading.
[0091] When the bucket recognition model identifies that the working state of the excavator in the real-time bucket image is loading, the recognition result is loading.
[0092] When the bucket recognition model recognizes that there is occlusion in the real-time bucket image and all bucket teeth cannot be seen, the recognition result is undetect.
[0093] When the bucket recognition model recognizes that the working state of the excavator in the real-time bucket image is in the reset state, that is, the excavator is in the state from the completion of excavation to the next excavation, and there is no occlusion to see all the bucket teeth, the recognition result includes the recognition result of the overall structure of the bucket teeth in the real-time bucket image and the recognition result of each bucket tooth in the real-time bucket image, such as Figure 2 shown.
[0094] S105: Determine whether the bucket teeth of the bucket are abnormal based on the recognition results of the multiple real-time bucket images.
[0095] The recognition result of the overall structure of the bucket teeth is to generate a prediction frame of the overall structure of the bucket teeth in the real-time bucket image, and the recognition result of each bucket tooth is to generate a prediction frame for each bucket tooth in the real-time bucket image. According to the recognition result of the overall structure of the bucket teeth in the real-time bucket image and the recognition result of each bucket tooth in the real-time bucket image, it is judged whether the bucket teeth of the bucket are abnormal. The bucket teeth abnormalities include missing, tilted, and worn.
[0096] In some embodiments of the present application, multiple bucket images of the bucket in a working state are obtained, the overall structure of the bucket teeth in each bucket image and each bucket tooth included in the overall structure of the bucket teeth are respectively labeled, and a label file is generated. Based on the multiple bucket images and the corresponding label files, a neural network model is trained and verified to obtain a trained bucket recognition model. The multiple acquired real-time bucket images are input into the bucket recognition model for recognition, and the recognition results of the multiple real-time bucket images are output. According to the recognition results of the multiple real-time bucket images, it is determined whether the bucket teeth of the bucket are abnormal.
[0097] Through the trained bucket recognition model, the bucket image in the working state can be recognized in real time and the recognition results can be monitored. It can accurately identify whether the bucket teeth are abnormal, eliminate safety hazards at the construction site, and reduce the accident rate.
[0098] In some embodiments of the present application, Figure 3 As shown, the step of judging whether the bucket teeth of the bucket are missing according to the recognition results of the multiple real-time bucket images may specifically include:
[0099] S301: Match the prediction frame of the bucket tooth overall structure in each real-time bucket image with the prediction frame of each bucket tooth to determine a matching result.
[0100] In some embodiments of the present application, Figure 4 As shown, the prediction frame of the bucket tooth overall structure in each real-time bucket image is matched with the prediction frame of each bucket tooth, and the specific steps of determining the matching result include:
[0101] S3011: Determine the position of the first predicted missing bucket tooth according to the predicted frame of the bucket tooth overall structure in the real-time bucket image.
[0102] The multiple real-time bucket images obtained are input into the bucket recognition model for recognition. The bucket recognition model uses the target detection algorithm to output the recognition result of each real-time bucket image. The recognition result of each real-time bucket image includes the recognition result of the overall structure of the bucket tooth and the recognition result of each bucket tooth. The recognition result of the overall structure of the bucket tooth in the real-time bucket image is to generate a prediction box of the overall structure of the bucket tooth in the real-time bucket image and obtain the information of the prediction box. The information of the prediction box includes the coordinate information and category name of the upper left corner and the lower right corner of the prediction box, and also includes the confidence obtained by using the target detection algorithm, such as Figure 2 The confidence value range is between 0 and 1. The larger the confidence value, the more reliable the prediction result. According to the prediction frame of the overall structure of the bucket teeth in the real-time bucket image, the information on whether the bucket teeth are missing can be obtained. When the bucket teeth are missing, the first predicted position of the missing bucket teeth is obtained, such as Figure 2 Miss4 means that the missing bucket tooth is the fourth one from the left to the right, that is, the fourth bucket tooth is missing.
[0103] S3012: Determine the position of the second predicted missing bucket tooth according to the predicted frame of each bucket tooth in the real-time bucket image.
[0104] The recognition result of each bucket tooth in the real-time bucket image is to generate a prediction box for each bucket tooth in the real-time bucket image and obtain the prediction box information. The prediction box information includes the coordinate information and category name of the upper left corner and the lower right corner of the prediction box. According to the prediction box of each bucket tooth in the real-time bucket image, the information of whether the bucket tooth is missing can be obtained. When the bucket tooth is missing, the second predicted position of the missing bucket tooth is obtained.
[0105] In some embodiments, the specific steps of determining the position of the second predicted missing bucket tooth according to the predicted frame of each bucket tooth in the real-time bucket image may include:
[0106] The bucket teeth in the real-time bucket image are sorted according to the horizontal coordinate of the upper left corner of the prediction box, and the information of the bucket tooth prediction box is judged in turn. When the category name in the prediction box information is tooth root, the second predicted missing bucket tooth position is output, and the second predicted missing bucket tooth position is the tooth root position.
[0107] S3013: When the first predicted position of the missing bucket tooth is consistent with the second predicted position of the missing bucket tooth, it is determined that the matching result is a successful match.
[0108] A real-time bucket image is input into the bucket recognition model for recognition, and the bucket recognition model outputs the recognition result of the real-time bucket image. The recognition result includes the recognition result of the overall structure of the bucket teeth and the recognition result of each bucket tooth. When the recognition result of the overall structure of the bucket teeth and the recognition result of each bucket tooth both include the position of the missing bucket teeth, the recognition result of the overall structure of the bucket teeth and the recognition result of each bucket tooth are matched. When the first predicted position of the missing bucket tooth is consistent with the second predicted position of the missing bucket tooth, the matching result is determined to be a successful match, and the image with the successful match is saved. Otherwise, when the first predicted position of the missing bucket tooth is inconsistent with the second predicted position of the missing bucket tooth, the matching result is determined to be an unsuccessful match, and the image with the unsuccessful match is saved for later verification. The recognition result of the overall structure of the bucket teeth and the recognition result of each bucket tooth, both of which include the position of the missing bucket teeth, are matched in turn.
[0109] Under normal circumstances, the recognition result of a bucket tooth is the tooth root or tooth tip, and the sum of the number of tooth tips and tooth roots is equal to the number of bucket teeth fully equipped in the current bucket. If the sum of the number of tooth tips and tooth roots is less than the number of bucket teeth fully equipped in the current bucket, it means that the bucket teeth in the bucket image are not fully photographed or at least one bucket tooth is not recognized. At this time, the recognition result of the bucket image is not matched to prevent misjudgment caused by incomplete bucket images.
[0110] S302: When the matching result is that the number of successful matches exceeds a first preset threshold, it is determined that the bucket teeth are missing.
[0111] A first preset threshold is set in advance, the number of times the real-time bucket image matching is completed is accumulated, and the number of times the position of the first predicted missing bucket tooth in the real-time bucket image is consistent with the position of the second predicted missing bucket tooth is recorded, that is, the number of successful matches as a matching result. When the matching result is that the number of successful matches for the same bucket tooth exceeds the first preset threshold, it is determined that the bucket tooth is missing, and an alarm is issued, and the staff performs a shutdown operation.
[0112] In some embodiments of the present application, Figure 5 As shown, the step of judging whether the bucket teeth of the bucket are tilted according to the recognition results of the multiple real-time bucket images may specifically include:
[0113] S501: Calculate the real-time width of a bucket tooth based on the prediction frame of a bucket tooth in each real-time bucket image.
[0114] The bucket recognition model uses an instance segmentation algorithm to output the recognition result of each real-time bucket image. The recognition result at this time is the image after generating a prediction frame for each bucket in the real-time bucket image, and the prediction frame information and mask of the bucket in the real-time bucket image are obtained. The mask can accurately cover each pixel of the bucket. Taking a real-time bucket image as an example, based on the prediction frame of a bucket tooth, the real-time width of a bucket tooth is calculated. Here, there is no limitation on a bucket tooth, and it can be any bucket tooth. The real-time width of each bucket tooth is calculated in turn.
[0115] S502: Calculate a width ratio of a real-time width of a bucket tooth to a factory width according to the real-time width of the bucket tooth and the factory width of the bucket tooth.
[0116] The factory width of the bucket teeth is recorded in advance. The factory width of the bucket teeth here is not necessarily the width measured just after the bucket teeth leave the factory. As long as the width of the new bucket teeth of the same model is measured, it will be fine. According to the recorded real-time width of each bucket tooth and the factory width of the bucket teeth, the width ratio of the real-time width of each bucket tooth to the factory width is calculated. The width ratio of the four bucket teeth is obtained.
[0117] S503: Record the number of real-time bucket images whose width ratio exceeds a second preset threshold.
[0118] A second preset threshold is set in advance as a criterion for judging the inclination of the bucket teeth. The width ratio of the real-time width of each bucket tooth to the factory width and the second preset threshold are compared in sequence. When the width ratio exceeds the second preset threshold, the corresponding real-time bucket image is recorded, and the number of real-time bucket images is counted.
[0119] S504: When the number of real-time bucket images whose width ratio exceeds the second preset threshold value exceeds the third preset threshold value, it is determined that a tooth of the bucket is tilted.
[0120] A third preset threshold is pre-set as another criterion for judging the inclination of a bucket tooth. When the number of real-time bucket images of a bucket tooth whose width ratio exceeds the second preset threshold exceeds the third preset threshold, it is judged that a bucket tooth of the bucket is inclined.
[0121] Specifically, the bucket teeth whose width ratio exceeds the second preset threshold are not necessarily the same bucket teeth. For example, the third preset threshold is 20, the number of real-time bucket images whose first bucket tooth width ratio exceeds the second preset threshold is 2, and the number of real-time bucket images whose second bucket tooth width ratio exceeds the second preset threshold is 30. At this time, it is judged that the second bucket tooth is tilted.
[0122] In addition, the same real-time bucket image may have more than one bucket tooth tilted, that is, more than one bucket tooth has a width ratio exceeding the second preset threshold. At this time, the number of real-time bucket images with a width ratio of each bucket tooth exceeding the second preset threshold is recorded respectively. When the number of real-time bucket images with a width ratio of a certain bucket tooth exceeding the second preset threshold exceeds the third preset threshold, it is determined that a certain bucket tooth of the bucket is tilted, and an alarm is issued.
[0123] In some embodiments of the present application, Figure 6 As shown, the step of judging whether the bucket teeth of the bucket are worn according to the recognition results of the multiple real-time bucket images may specifically include:
[0124] S601: Calculate the real-time area of a bucket tooth based on the mask of a bucket tooth in each real-time bucket image.
[0125] The area of the bucket tooth is calculated based on the outer contour of the mask. This application uses the Green's formula to mathematically calculate the area of the area enclosed by the closed curve of the plane. The Green's formula converts the complex integral in the two-dimensional plane area into a simple integral on the curve contour, thereby efficiently calculating the area of the closed area. The formula is as follows:
[0126]
[0127] Specifically for the area calculation contourArea function, it uses the discrete form of Green's theorem and approximates the continuous integral through a mathematical summation form. The contribution of each pair of adjacent points is calculated and accumulated through a specific formula to finally obtain the total area of the closed contour.
[0128] Specifically, the algorithm details of the contourArea function involve "directed edges". Each edge provides a directed area contribution, and the direction of the edge (clockwise or counterclockwise) will affect the positive and negative sign of the area. Traverse the points on the contour, for each pair of adjacent points (x[i], y[i]) and (x[i+1], y[i+1]), the corresponding directed area contribution is (x[i]*y[i]-x[i+1]*y[i+1]) / 2. The area of the entire contour is the sum of the directed area contributions of all these small triangles. In this process, if the contour is clockwise, the result is a positive value, and if it is counterclockwise, the result is a negative value. Finally, the contourArea function returns the absolute value of the area to ensure that the actual area size is obtained. The calculation formula is as follows:
[0129]
[0130] S602: Calculate the area ratio of the real-time area of a bucket tooth to the preset area according to the real-time area of the bucket tooth and the preset area.
[0131] The preset area is recorded in advance, and the area ratio of the real-time area of each bucket tooth to the preset area is calculated according to the recorded real-time area of each bucket tooth and the preset area, and the area ratios of the four bucket teeth are obtained respectively.
[0132] In some embodiments of the present application, the preset area is the bucket tooth area when the bucket teeth leave the factory or the bucket tooth area of the bucket tooth with the largest area in the real-time bucket image.
[0133] When the preset area is the bucket tooth area when the bucket tooth leaves the factory, the bucket tooth area when the bucket tooth leaves the factory is calculated in advance, and the above area ratio is the ratio of the real-time area of a certain bucket tooth to the factory area.
[0134] When the preset area is the tooth area of the bucket tooth with the largest area in the real-time bucket image, the real-time area of each bucket tooth is calculated in turn according to the mask of the bucket tooth, and the tooth area of the bucket tooth with the largest area in the real-time bucket image is compared. The above area ratio is the ratio of the real-time area of a certain bucket tooth to the tooth area of the bucket tooth with the largest area in the real-time bucket image.
[0135] S603: Record the number of real-time bucket images whose area ratio exceeds a fourth preset threshold.
[0136] A fourth preset threshold is set in advance as a criterion for judging the wear of bucket teeth. The area ratio of the real-time area of each bucket tooth to the preset area is compared with the fourth preset threshold in sequence. When the area ratio exceeds the fourth preset threshold, the corresponding real-time bucket image is recorded, and the number of real-time bucket images is counted.
[0137] S604: When the number of real-time bucket images whose area ratio exceeds the fourth preset threshold value exceeds the fifth preset threshold value, it is determined that a tooth of the bucket is worn.
[0138] A fifth preset threshold is pre-set as another criterion for judging tooth wear. When the number of real-time bucket images whose tooth area ratio exceeds the fourth preset threshold exceeds the fifth preset threshold, it is judged that a tooth of the bucket is worn.
[0139] Specifically, the bucket teeth whose area ratio exceeds the fourth preset threshold are not necessarily the same bucket teeth. For example, the fifth preset threshold is 20, the number of real-time bucket images whose area ratio of the first bucket tooth exceeds the second preset threshold is 2, and the number of real-time bucket images whose area ratio of the second bucket tooth exceeds the fourth preset threshold is 30. At this time, it is judged that the second bucket tooth is worn.
[0140] In addition, the same real-time bucket image may have more than one bucket tooth worn, that is, more than one bucket tooth has an area ratio exceeding the fourth preset threshold. At this time, the number of real-time bucket images with an area ratio of each bucket tooth exceeding the fourth preset threshold is recorded respectively. When the number of real-time bucket images with an area ratio of a certain bucket tooth exceeding the second preset threshold exceeds the fifth preset threshold, it is determined that a certain bucket tooth of the bucket is worn, and an alarm is issued.
[0141] Exemplary Devices
[0142] In some embodiments of the present application, a bucket tooth monitoring device is provided, comprising: an image acquisition module 601, an image processing module 602, a bucket recognition model 603 and an abnormality determination module 604, wherein:
[0143] An image acquisition module 601 is used to acquire multiple bucket images of the bucket in a working state;
[0144] The image processing module 602 is used to mark the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image, and generate a label file;
[0145] A bucket recognition model 603, wherein the bucket recognition model 603 is obtained by training and verifying a neural network model based on multiple bucket images and corresponding label files; the bucket recognition model 603 is used to recognize multiple acquired real-time bucket images and output recognition results of the multiple real-time bucket images, wherein the recognition results include recognition results of the overall structure of the bucket teeth in the real-time bucket images and recognition results of each bucket tooth in the real-time bucket images;
[0146] The abnormality determination module 604 is used to determine whether the bucket teeth of the bucket are abnormal according to the recognition results of the multiple real-time bucket images.
[0147] In some embodiments of the present application, the image processing module 602 is also used to preprocess the bucket image, and the preprocessing includes data cleaning and data enhancement, and the data enhancement includes simulating rainy, foggy, dusty, and exposed scenes.
[0148] In some embodiments of the present application, the image processing module 602 is also used to intercept a fixed area of the marked bucket image to obtain a intercepted bucket image, and offset the annotations in the bucket image according to the relative position relationship between the intercepted bucket image and the bucket image. The bucket tooth monitoring device for a bucket provided in this embodiment belongs to the same application concept as the bucket tooth monitoring method for a bucket provided in the above embodiments of the present application, and can execute the bucket tooth monitoring method for a bucket provided in any of the above embodiments of the present application, and has the corresponding functional units and beneficial effects for executing the bucket tooth monitoring method for a bucket. For technical details not fully described in this embodiment, please refer to the specific processing content of the bucket tooth monitoring method for a bucket provided in the above embodiments of the present application, which will not be repeated here.
[0149] Exemplary excavator
[0150] In some embodiments of the present application, an excavator is provided, comprising: a bucket tooth integral structure, the bucket tooth integral structure comprising a plurality of bucket teeth, and a bucket tooth monitoring device for the above-mentioned bucket.
[0151] In some embodiments, the image acquisition module 601 in the bucket tooth monitoring device of the bucket is installed on the top of the cab to capture the bucket image of the excavator in the entire working state, which can not only reduce the impact of the excavator vibration on the data acquisition equipment, but also reduce the impact of the surrounding environment.
[0152] Exemplary Electronic Devices
[0153] In some embodiments of the present application, an electronic device is provided, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any of the above bucket tooth monitoring methods is implemented.
[0154] Specifically, the electronic device may further include: a bus, a communication interface, an input device and an output device. The processor, the memory, the communication interface, the input device and the output device are interconnected through the bus. The bus may include a path to transmit information between various components of the computer system.
[0155] The processor may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0156] The processor may include a main processor and may also include a baseband chip, a modem, etc.
[0157] The memory stores a computer program for executing the technical solution of the present application, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0158] The computer program may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present specification, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0159] The input device may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0160] Output devices may include means that allow information to be output to a user, such as display screens, printers, speakers, etc.
[0161] The communication interface may include using any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0162] The processor executes the program stored in the memory and calls other devices, which can be used to implement each step of the bucket tooth monitoring method of the bucket provided in the above-mentioned embodiment of the present application.
[0163] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0164] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, etc. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of a software functional module. The present disclosure is not limited to any particular form of combination of hardware and software.
[0165] Unless otherwise defined, all terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present disclosure belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an idealized or highly formal sense, unless explicitly defined as such herein.
[0166] The above is an explanation of the present disclosure and should not be considered as a limitation thereof. Although several exemplary embodiments of the present disclosure are described, it will be readily understood by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined in the claims. It should be understood that the above is an explanation of the present disclosure and should not be considered to be limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present disclosure is defined by the claims and their equivalents.
Claims
1. A bucket tooth monitoring method, characterized in that: include: Acquire multiple bucket images of the bucket in a working state; The bucket tooth overall structure in each bucket image and each bucket tooth included in the bucket tooth overall structure are respectively labeled, and a label file is generated; Based on the multiple bucket images and corresponding label files, the neural network model is trained and verified to obtain a trained bucket recognition model; Inputting the acquired multiple real-time bucket images into a bucket recognition model for recognition, and outputting recognition results of the multiple real-time bucket images, the recognition results including a recognition result of the overall structure of the bucket teeth in the real-time bucket image and a recognition result of each bucket tooth in the real-time bucket image; Whether the bucket teeth of the bucket are abnormal is determined according to the recognition results of the multiple real-time bucket images.
2. The bucket tooth monitoring method of claim 1, characterized in that: The step of marking the bucket tooth overall structure in each bucket image and each bucket tooth included in the bucket tooth overall structure includes: According to the category name, the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure are selected using a marking box to generate a category serial number, where the category serial number corresponds to the category name; The recognition result of the real-time bucket image includes: a prediction frame of the overall structure of the bucket tooth in the real-time bucket image, and a prediction frame of each bucket tooth in the real-time bucket image.
3. The bucket tooth monitoring method of claim 1, characterized in that: The method further comprises: The bucket image is preprocessed, and the preprocessing includes data cleaning and data enhancement. The data enhancement includes simulating rainy days, fog, dust, and exposure scenes.
4. The bucket tooth monitoring method of claim 2, characterized in that: The bucket teeth of the bucket may be missing. Determining whether the bucket teeth of the bucket are missing according to the recognition results of the multiple real-time bucket images includes: Matching the prediction frame of the bucket tooth overall structure in each real-time bucket image with the prediction frame of each bucket tooth to determine a matching result; When the matching result is that the number of successful matches exceeds a first preset threshold, it is determined that the bucket teeth of the bucket are missing.
5. The bucket tooth monitoring method of claim 4, characterized in that: The predicted frame of the overall structure of the bucket teeth in each real-time bucket image is matched with the predicted frame of each bucket tooth to determine the matching result, including: Determine the position of the first predicted missing bucket tooth according to the predicted frame of the bucket tooth overall structure in the real-time bucket image; Determining a position of a second predicted missing tooth according to a predicted box of each tooth in the real-time bucket image; and When the first predicted position of the missing bucket tooth is consistent with the second predicted position of the missing bucket tooth, the matching result is determined to be a successful match.
6. The bucket tooth monitoring method of claim 2, characterized in that: The bucket teeth abnormality of the bucket includes tilting; Judging whether the bucket teeth of the bucket are tilted according to the recognition results of the multiple real-time bucket images includes: Calculate the real-time width of a bucket tooth based on the predicted frame of a bucket tooth in each real-time bucket image; Calculating a width ratio of the real-time width of the certain bucket tooth to the factory width according to the real-time width of the certain bucket tooth and the factory width of the certain bucket tooth; Recording the number of real-time bucket images whose width ratio exceeds a second preset threshold; When the number of real-time bucket images whose width ratio exceeds the second preset threshold value exceeds the third preset threshold value, it is determined that a tooth of the bucket is tilted.
7. The bucket tooth monitoring method of claim 2, characterized in that: The bucket teeth abnormalities of the bucket include wear; Judging whether the bucket teeth of the bucket are worn according to the recognition results of the multiple real-time bucket images includes: Calculate the real-time area of a bucket tooth based on the mask of a bucket tooth in each real-time bucket image; Calculating an area ratio of the real-time area of the certain bucket tooth to the preset area according to the real-time area of the certain bucket tooth and the preset area; Recording the number of real-time bucket images whose area ratio exceeds a fourth preset threshold; When the number of real-time bucket images whose area ratio exceeds the fourth preset threshold value exceeds the fifth preset threshold value, it is determined that a tooth of the bucket is worn.
8. The bucket tooth monitoring method of claim 7, characterized in that: The preset area is the bucket tooth area when the bucket teeth leave the factory or the bucket tooth area of the bucket tooth with the largest area in the real-time bucket image.
9. A bucket tooth monitoring device for a bucket, characterized in that: The device comprises: an image acquisition module, an image processing module, a bucket recognition model and an abnormality determination module, wherein: The image acquisition module is used to obtain multiple bucket images of the bucket in a working state; The image processing module is used to mark the bucket tooth overall structure and each bucket tooth included in the bucket tooth overall structure in each bucket image, and generate a label file; A bucket recognition model, wherein the bucket recognition model is obtained by training and verifying a neural network model based on the multiple bucket images and corresponding label files; the bucket recognition model is used to recognize the multiple real-time bucket images obtained, and output recognition results of the multiple real-time bucket images, wherein the recognition results include recognition results of the overall structure of the bucket teeth in the real-time bucket images and recognition results of each bucket tooth in the real-time bucket images; The abnormality determination module is used to determine whether the bucket teeth of the bucket are abnormal according to the recognition results of the multiple real-time bucket images.
10. An excavator, characterized in that: include: A bucket tooth integral structure, wherein the bucket tooth integral structure comprises a plurality of bucket teeth; And the bucket tooth monitoring device of claim 9.
Citation Information
Patent Citations
Intelligent bucket tooth monitoring system
CN112686206A
Excavator bucket tooth missing identification method and device, mechanical equipment and storage medium
CN114820451A
Electric bucket tooth counting method based on deep learning target detection algorithm
CN117893846A
Ground engaging tool wear and loss detection system and method
US20220251807A1
