A crane-oriented anti-misinstallation detection control system and method
Through image processing and neural network model prediction on the crane, the lifting speed is reduced to deal with the risk of items falling, the problem of incorrect loading and dropping of the crane is solved, and the safety and accuracy of the operation are improved.
Patent Information
- Application Number
- CN202410048132.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-01-12
AI Technical Summary
Misloading problems caused by operator inexperience or unclear instructions during the use of the crane may lead to material damage, loss or serious accidents, especially the risk of items falling during the hoisting process.
By converting the color image on the crane into a grayscale image, the items and hook areas are divided, a vector sequence is constructed, and a neural network model is used to predict the amplitude of the vibration and determine the safety threshold. If the amplitude of the vibration is less than the threshold, an alarm signal is generated and the lifting speed is reduced. to reduce the risk of falling.
Effectively predict and reduce the risk of items falling, reduce the harm caused by misinstallation, improve the safety and accuracy of crane operations, and avoid accidents.
Smart Images

Figure CN117842848B
Abstract
Description
Technical Field
[0001] The present application relates to the field of anti-misinstallation detection, and in particular to an anti-misinstallation detection control system and method for cranes. Background Art
[0002] A crane is a mechanical device used to lift and lower heavy objects vertically and move them horizontally. It is widely used in various industries, such as construction, manufacturing, logistics, etc. The main function of a crane is to improve the efficiency of cargo transportation, reduce manual labor, and improve safety. When a crane is in use, it may cause misloading or loading errors due to the lack of experience and expertise of the crane operator, unclear instructions received by the crane operator, or errors in material identification.
[0003] Crane misloading error refers to the lifting of the wrong material or item to the wrong place or position, or the lifting of the material or item to the incorrect weight or quantity during the crane lifting operation, which makes the crane lifting operation unsafe or impossible to complete. This situation may cause damage or loss of materials or items, and may even cause serious accidents such as crane overturning, cargo falling, etc., which may easily cause casualties. Summary of the invention
[0004] In order to predict whether there is a risk of hoisted items falling, the risk of items falling can be reduced by controlling the lifting speed of the items by the crane before the items fall, and the harm caused by wrong installation can be minimized. The present application provides an anti-wrong installation detection control system and method for cranes.
[0005] In the first aspect, the present application provides a crane-oriented anti-misinstallation detection and control method, which adopts the following technical solution:
[0006] A crane-oriented anti-misinstallation detection and control method comprises the following steps: converting a color image of a crane including a hook and a hoisted object area into a grayscale image; dividing the grayscale image into an object grayscale image and a hook grayscale image according to a preset object segmentation model; constructing a first vector according to the object grayscale image and the hook grayscale image; constructing a first vector sequence of multiple historical moments according to the first vector to obtain a fluctuation amplitude sequence; generating an oscillation amplitude sequence of future moments according to the fluctuation amplitude sequence and a preset neural network model; determining a safety threshold, and generating an alarm signal and reducing the lifting speed of the crane in response to any oscillation amplitude value in the oscillation amplitude sequence being less than the safety threshold.
[0007] Optionally, the grayscale image is divided into an object grayscale image and a hook grayscale image, comprising the steps of: marking the pixel values of the object area in the grayscale image as 1 and the pixel values of the non-object area as 0 to obtain a first marked image; multiplying the first marked image with the grayscale image to obtain the object grayscale image; marking the pixel values of the hook area in the grayscale image as 1 and the pixel values of the non-hook area as 0 to obtain a second marked image; multiplying the second marked image with the grayscale image to obtain the hook grayscale image.
[0008] Optionally, constructing a first vector according to the grayscale image of the object and the grayscale image of the hook comprises the steps of: constructing a plurality of object centroid vectors according to a plurality of frames of the grayscale image of the object; and calculating an adjustment ratio, the calculation formula being: ,in, To adjust the ratio, is the number of pixels marked as 1 in the grayscale image of the hook in the previous frame, is the number of pixels marked as 1 in the grayscale image of the hook in the subsequent frame, a centroid vector of the item and a corresponding adjustment ratio; the length of the centroid vector of the item and the corresponding adjustment ratio are multiplied to obtain a first vector.
[0009] Optionally, determining a safety threshold, generating an alarm signal and reducing the hoisting speed of the crane in response to any oscillation amplitude value in the oscillation amplitude sequence being less than the safety threshold, comprises the steps of:
[0010] Calculate the autocorrelation function of the fluctuation amplitude sequence to obtain the oscillation period, which includes the oscillation period at the current moment and the oscillation period at a non-current moment, and count the maximum oscillation amplitude of the oscillation period at a non-current moment as the initial threshold; calculate the correction coefficient based on the obtained stress of the hoisting rope on the crane to correct the oscillation period and obtain the safety threshold; in response to any oscillation amplitude value in the oscillation amplitude sequence being less than the safety threshold, generate an alarm signal and reduce the lifting speed of the crane.
[0011] Optionally, the unbalanced force can be calculated based on the stress of the crane hook and rope. The calculation formula is: ,in, for The unbalanced force at time for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at the moment; calculate the correction coefficient, the calculation formula is: ,in, for The correction factor of the time, for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at the moment, for The unbalanced force of the moment, is the unbalanced force at the initial moment, is the maximum load-bearing capacity of the sling, is a normalized function; the correction coefficient is multiplied by the oscillation period, and the initial threshold is corrected to obtain the safety threshold.
[0012] In the second aspect, the present application provides an anti-misinstallation detection and control system for cranes, which adopts the following technical solutions:
[0013] A crane-oriented anti-misinstallation detection control system comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned crane-oriented anti-misinstallation detection control method is implemented.
[0014] This application has the following technical effects:
[0015] 1. By observing the change of the first vector of the object during the lifting process, it is possible to predict whether the object will fall. If so, the risk of the object falling can be reduced by controlling the lifting speed of the crane before the object falls. By controlling the crane, the risk of the object falling can be reduced, and the harm caused by misloading can be minimized.
[0016] 2. During the lifting process, when the object has not yet shown an obvious tendency to fall, it is still in the oscillation cycle, but the tension at both ends of the traction rope has changed significantly, and the greater the tension at one end, the greater the possibility of the end falling off. Therefore, a time correction coefficient is constructed to correct the oscillation cycle to improve the accuracy of prediction and control. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-restrictive manner, and the same or corresponding numbers represent the same or corresponding parts.
[0018] Figure 1 It is a method flow chart of a crane-oriented anti-misinstallation detection and control method according to an embodiment of the present application.
[0019] Figure 2 It is a method flow chart of step S2 in a crane-oriented anti-misinstallation detection control method in an embodiment of the present application.
[0020] Figure 3It is a method flow chart of step S3 in a crane-oriented anti-misinstallation detection control method in an embodiment of the present application.
[0021] Figure 4 It is a method flow chart of step S6 in a crane-oriented anti-misinstallation detection control method in an embodiment of the present application.
[0022] Figure 5 It is a method flow chart of step S61 in a crane-oriented anti-misinstallation detection control method in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0024] The present application embodiment discloses a crane-oriented anti-misinstallation detection and control method, referring to Figure 1 , including steps S1 to S6, which are specifically as follows:
[0025] S1: Convert the acquired color image of the crane including the hook and the hoisted object area into a grayscale image.
[0026] A hook is provided at the end of the crane arm away from the crane, and two ropes are hung on the hook, one end of the rope is hung on the hook, and the other end of the rope is fixed to the hoisted object, and a strain gauge is installed on the rope. When the rope is hoisting an object, the line connecting the ends of the two ropes away from the hook and the two ropes form a triangle. A camera is fixed on the lower surface of the boom to shoot a video stream including the hook and the area including the hook and the hoisted object, extract each frame of the video stream to obtain multiple color images, and convert the color image into grayscale to obtain a grayscale image.
[0027] S2: According to the preset object segmentation model, the grayscale image is divided into an object grayscale image and a hook grayscale image. Figure 2 , step S2 includes steps S20 to S23, which are specifically as follows:
[0028] S20: In the grayscale image, the pixel values in the object area are marked as 1, and the pixel values in the non-object area are marked as 0, to obtain a first marked image.
[0029] The grayscale images of the objects in the historical grayscale images are marked, and the marked historical grayscale images are input into the semantic segmentation model as training data, and the semantic segmentation model is trained to obtain the object segmentation model. The process of model training is prior art and will not be described in detail here.
[0030] The acquired color image of the real-time scene is input into the object segmentation model to obtain a mask image of the object area and a mask image of the non-object area. The pixel value of the object area is marked as 1, and the pixel value of the non-object area is marked as 0, and a 0-1 image is obtained as the first marked image.
[0031] S21: Multiply the first marked image and the grayscale image to obtain a grayscale image of the object.
[0032] The first labeled image is multiplied by the color image of the real-time scene to obtain a grayscale image of the object.
[0033] S22: In the grayscale image, the pixel values of the hook area are marked as 1, and the pixel values of the non-hook area are marked as 0, to obtain a second marked image.
[0034] S23: Multiply the second marked image and the grayscale image to obtain a grayscale image of the hook.
[0035] A grayscale image corresponds to a grayscale image of an object and a grayscale image of a hook.
[0036] S3: Construct the first vector based on the grayscale image of the object and the grayscale image of the hook. Figure 3 , step S3 includes steps S30 to S32, which are specifically as follows:
[0037] S30: construct multiple object centroid vectors according to multiple frames of object grayscale images.
[0038] The starting point of the object's centroid vector is the object's center of mass. The end point of the object's centroid vector is the intersection of the upper left corner of the smallest outer rectangle of the object area.
[0039] The centroid satisfies the polynomial: , ,in, is the horizontal coordinate of the center of mass, is the ordinate of the center of mass, Represents the horizontal coordinate of the first pixel in the color image. Indicates the color image The horizontal coordinate of the pixel point, is the number of pixels. Represents the ordinate of the first pixel in the color image. Indicates the color image The vertical coordinate of the pixel.
[0040] The point on the boundary line of the item area that is farthest from the center of mass is taken as the farthest boundary point. The following relationship is satisfied: ,in, is the boundary distance, The horizontal coordinate of the end point of the object's centroid vector , The ordinate of the end point of the item's center of gravity vector.
[0041] The vector formed by the farthest boundary point and the center of mass is the center of gravity vector of the object.
[0042] S31: Calculate the adjustment ratio.
[0043] The size of the object will decrease as its position increases in the image. The adjustment ratio is calculated and the length of the object's center of gravity vector is adjusted.
[0044] The calculation formula for the adjustment ratio is: ,in, To adjust the ratio, is the number of pixels marked as 1 in the grayscale image of the hook in the previous frame, It is the number of pixels marked as 1 in the grayscale image of the hook in the next frame. One frame of the hook grayscale image corresponds to one object centroid vector and one adjustment ratio.
[0045] S32: Multiply the length of the object's center of gravity vector by the corresponding adjustment ratio to obtain a first vector.
[0046] Acquire multiple consecutive frames of grayscale images of the object during the lifting process, repeat step S30 to obtain multiple object gravity center vectors, do not change the direction of the object gravity center vector, multiply each object gravity center vector by the corresponding adjustment ratio to obtain a first vector. Each frame of the object grayscale image corresponds to a first vector.
[0047] Calculate the Euclidean distance between the first vector of each frame of the object grayscale image and the first vector of other frames of the object grayscale image, and count the values of the Euclidean distance of 0 as the target value. One frame of the object grayscale image corresponds to one target value, and the first vector of the frame of the object grayscale image with the largest target value is taken as the standard first vector.
[0048] S4: Based on the first vector, construct a first vector sequence of multiple historical moments to obtain a fluctuation amplitude sequence.
[0049] In one embodiment, if the current time is At this moment, based on the first vector sequence, the fluctuation amplitude sequence is obtained, and the fluctuation amplitude satisfies the following polynomial: ,in, for The oscillation amplitude corresponding to the moment, is the standard first vector, for The first vector of the grayscale image of the item corresponding to the moment.
[0050] S5: Generate the oscillation amplitude sequence at future moments based on the fluctuation amplitude sequence and the preset neural network model.
[0051] Will The fluctuation amplitude sequence composed of the fluctuation amplitude at and before time is recorded as ,Will As input, it is put into the neural network model, and the output is The oscillation amplitude at the moment. The oscillation amplitude at the moment is used as the input item and put into the neural network model to obtain Repeat the calculation to get the oscillation amplitude sequence at future moments The neural network model adopts the LSTM (Long Short-Term Memory) model. The training process of the LSTM model is a well-known technology and will not be described in detail here.
[0052] S6: Determine a safety threshold, and in response to any oscillation amplitude value in the oscillation amplitude sequence being less than the safety threshold, generate an alarm signal and reduce the hoisting speed of the crane. Figure 4 , step S6 includes steps S60 to S62, which are specifically as follows:
[0053] During the lifting process, the objects are affected by external factors such as wind and the crane's boom controls the traction rope, causing the objects to swing. The swing has a cycle, that is, the swing of the object in the air can be basically regarded as regular, so it is necessary to determine the oscillation period of the object.
[0054] S60: Calculate the autocorrelation function of the fluctuation amplitude sequence to obtain the oscillation period, where the oscillation period includes the oscillation period at the current moment and the oscillation period at a non-current moment, and count the maximum oscillation amplitude of the oscillation period at a non-current moment as the initial threshold.
[0055] S61: Calculate the correction coefficient based on the obtained stress of the crane rope to correct the oscillation period and obtain the safety threshold. Figure 5 , step S61 includes steps S610 to S612, which are specifically as follows:
[0056] S610: Calculate the unbalanced force based on the stress of the crane hook and rope.
[0057] The calculation formula is: ,in, for The unbalanced force of the moment, for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at that moment.
[0058] S611: Calculate the correction coefficient.
[0059] The calculation formula is: ,in, for The correction factor of the time, for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at the moment, for The unbalanced force of the moment, is the unbalanced force at the initial moment, is the maximum load-bearing capacity of the sling, is the normalization function.
[0060] S612: Multiply the correction coefficient by the oscillation period to correct the initial threshold to obtain a safety threshold.
[0061] Will get The correction coefficient at the moment is multiplied by the oscillation period, and the initial threshold is corrected to obtain the safety threshold.
[0062] S62: In response to any oscillation amplitude value in the oscillation amplitude sequence being less than a safety threshold, an alarm signal is generated and the hoisting speed of the crane is reduced.
[0063] If any oscillation amplitude value in the oscillation amplitude sequence at a future moment is less than the safety threshold, it means that at a certain moment in the future, an item will fall. For example, at a certain moment in the future, Moment, record Moment and Time interval , as a dangerous period.
[0064] If the dangerous period is shorter than the oscillation period, an alarm signal is sent and the lifting speed is controlled to decrease. When the lifting speed decreases, the variation curve of the lifting speed with respect to time is a linear curve.
[0065] An embodiment of the present application also discloses an anti-misinstallation detection control system for a crane, including a processor and a memory, wherein the memory stores computer program instructions. When the computer program instructions are executed by the processor, an anti-misinstallation detection control method for a crane according to the present application is implemented.
[0066] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0067] In the present application, the aforementioned memory may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both.
[0068] Although this specification has shown and described a plurality of embodiments of the present application, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present application. It should be understood that in the process of practicing the present application, various alternatives to the embodiments of the present application described herein may be adopted.
[0069] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A crane-oriented anti-misinstallation detection and control method, characterized in that: Includes steps: Convert the acquired color image of the crane including the hook and the hoisted objects into a grayscale image; According to a preset object segmentation model, the grayscale image is divided into an object grayscale image and a hook grayscale image; Constructing a first vector according to the object grayscale image and the hook grayscale image, comprising the steps of: constructing a plurality of object centroid vectors according to a plurality of frames of the object grayscale image; Calculate the adjustment ratio using the following formula: ,in, For the adjustment ratio, is the number of pixels marked as 1 in the grayscale image of the hook in the previous frame, is the number of pixels marked as 1 in the grayscale image of the hook in the subsequent frame, and one centroid vector of the item corresponds to one adjustment ratio; the length of the centroid vector of the item is multiplied by the corresponding adjustment ratio to obtain the first vector; According to the first vector, construct a first vector sequence at multiple historical moments to obtain a fluctuation amplitude sequence; Generate a future oscillation amplitude sequence based on the oscillation amplitude sequence and a preset neural network model; The fluctuation amplitude satisfies the following polynomial: ,in, for The fluctuation amplitude corresponding to the moment, is the standard first vector, for The first vector of the grayscale image of the object corresponding to the moment; The fluctuation amplitude sequence composed of the fluctuation amplitude at and before time is recorded as ,Will As input, it is put into the neural network model, and the output is The oscillation amplitude at the moment The oscillation amplitude at the moment is used as the input item and put into the neural network model to obtain The oscillation amplitude at the moment; repeat the calculation to obtain the oscillation amplitude sequence at the future moment ; A safety threshold is determined, and in response to any oscillation amplitude value in the oscillation amplitude sequence being smaller than the safety threshold, an alarm signal is generated and the hoisting speed of the crane is reduced.
2. The crane-oriented anti-misinstallation detection and control method according to claim 1, characterized in that: Dividing the grayscale image into an object grayscale image and a hook grayscale image comprises the steps of: Marking the pixel values of the object area in the grayscale image as 1 and the pixel values of the non-object area as 0, to obtain a first marked image; Multiplying the first marked image and the grayscale image to obtain the object grayscale image; Marking the pixel value of the hook area in the grayscale image as 1 and the pixel value of the non-hook area as 0, to obtain a second marked image; The second marked image is multiplied by the grayscale image to obtain the hook grayscale image.
3. The crane-oriented anti-misinstallation detection and control method according to claim 1, characterized in that: Determining a safety threshold, generating an alarm signal and reducing the hoisting speed of the crane in response to any oscillation amplitude value in the oscillation amplitude sequence being less than the safety threshold, comprises the steps of: Calculate the autocorrelation function of the fluctuation amplitude sequence to obtain the oscillation period, the oscillation period includes the oscillation period at the current moment and the oscillation period at a non-current moment, and count the maximum oscillation amplitude of the oscillation period at a non-current moment as the initial threshold; Calculating a correction coefficient according to the obtained stress of the hoisting rope on the crane to correct the oscillation period and obtain the safety threshold; In response to any one oscillation amplitude value in the oscillation amplitude sequence being smaller than the safety threshold, the alarm signal is generated and the hoisting speed of the crane is reduced.
4. The crane-oriented anti-misinstallation detection and control method according to claim 3 is characterized in that: According to the obtained stress of the hoisting rope on the crane, a correction coefficient is calculated to correct the oscillation period and obtain the safety threshold, including the steps of: According to the stress of the crane hook and rope, the unbalanced force is calculated using the following formula: ,in, for The unbalanced force at time for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at the moment; The correction coefficient is calculated using the following formula: ,in, for The correction factor of the time, for The stress of the rope on the hook side at the moment, for The stress of the rope on the other side of the hook at the moment, for The unbalanced force of the moment, is the unbalanced force at the initial moment, is the maximum load-bearing capacity of the sling, is the normalization function; The correction coefficient is multiplied by the oscillation period, and the initial threshold is corrected to obtain the safety threshold.
5. A crane-oriented anti-misinstallation detection and control system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the anti-misinstallation detection control method for cranes according to any one of claims 1 to 4 is implemented.
