Dehooking robot control method and system based on deep visual recognition
Using deep visual recognition technology to build a three-dimensional model and feature extraction, combined with neural network and particle swarm optimization algorithm, dynamically adjust the operation route and plan of the hook-picking robot, solving the problems of low accuracy and poor adaptability of the existing hook-picking robot, and achieving high efficiency , Intelligent unhooking operation.
Patent Information
- Application Number
- CN202410947258.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-16
AI Technical Summary
Existing hook-picking robots rely on traditional visual recognition and mechanical control, resulting in low accuracy, slow response, and poor adaptability to complex environments. They lack a dynamic optimization mechanism, resulting in low efficiency and waste of resources.
Using a control method based on deep visual recognition, by acquiring device images and position data, a three-dimensional model is constructed, feature information is extracted, multiple operating routes and unhooking plans are constructed, and neural networks and particle swarm optimization algorithms are used to optimize selections and dynamic adjustments. Unhooking program.
It achieves high precision and efficiency in unhooking operations, improves the robustness and adaptability of the system, ensures flexible response to various situations in complex environments, and improves automation and operating efficiency.
Smart Images

Figure CN118493403B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a method and system for controlling a hook-removing robot based on deep visual recognition. Background Art
[0002] In the field of modern industry and logistics, hook removal robots have become an important part of automated operations. However, existing hook removal robots mainly rely on traditional visual recognition and mechanical control methods, which usually have problems such as low accuracy, slow response, and poor adaptability to complex environments. For example, the common hook removal robots in current technology operate through pre-programmed paths and simple image processing algorithms. When faced with a changing working environment, it is often difficult to complete the hook removal task quickly and accurately. In addition, the existing technology lacks an effective optimization mechanism, and it is impossible to dynamically adjust the operation route and hook removal plan according to the actual situation, resulting in low efficiency and waste of resources.
[0003] There is a need for a hook-removing robot control method and system based on deep visual recognition to achieve intelligent control and efficient operation of the hook-removing robot, and to improve the adaptability and working performance of the hook-removing robot. Summary of the invention
[0004] The purpose of the present invention is to provide a control method and system for a hook-removing robot based on deep visual recognition to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0005] In a first aspect, the present application provides a method for controlling a hook-removing robot based on deep visual recognition, comprising:
[0006] Acquire first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot;
[0007] Sending the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, thereby obtaining a three-dimensional model of the device to be unhooked;
[0008] The three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked are sent to a feature extraction module for feature extraction to obtain feature information of the device to be unhooked;
[0009] At least two operation routes and at least two hook removal schemes of the hook removal robot are constructed based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked, and the second information;
[0010] Send all the operation routes and hook removal plans of the hook removal robots to the neural network for optimization and selection to obtain the optimal operation route and hook removal plan of the hook removal robots;
[0011] The unhooking process is performed on the equipment to be unhooked based on the optimal operation route and unhooking plan of the unhooking robot.
[0012] In the second aspect, the present application also provides a hook removal robot control system based on deep visual recognition, comprising:
[0013] an acquisition unit, configured to acquire first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot;
[0014] A first processing unit is used to send the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, so as to obtain a three-dimensional model of the device to be unhooked;
[0015] The second processing unit is used to send the three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked to the feature extraction module for feature extraction to obtain feature information of the device to be unhooked;
[0016] A third processing unit is used to construct at least two operation routes and at least two hook removal schemes of the hook removal robot based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked and the second information;
[0017] The fourth processing unit is used to send the running routes and hook removal schemes of all the hook removal robots to the neural network for optimization selection to obtain the optimal running route and hook removal scheme of the hook removal robot;
[0018] The fifth processing unit is used to perform unhooking processing on the unhooking equipment based on the optimal operation route and unhooking plan of the unhooking robot.
[0019] The beneficial effects of the present invention are:
[0020] The present invention obtains the three-dimensional model and feature information of the device to be unhooked by constructing a three-dimensional model and extracting features. On this basis, multiple operation routes and unhooking schemes are constructed based on this information, and a neural network is used for optimization and selection, and finally the optimal operation route and unhooking scheme are obtained. This method ensures high precision and high efficiency of the unhooking operation through multi-level data processing and optimization.
[0021] The present invention uses the BP neural network model to predict the operation route of the unhooking robot, and combines the anomaly detection of historical data and time series modeling to identify and avoid abnormal situations in operation. In addition, the particle swarm optimization algorithm is used to dynamically optimize the operation route and unhooking scheme, ensuring that the unhooking robot can flexibly respond to various situations in complex environments, thereby improving the robustness and adaptability of the system.
[0022] The present invention adopts deep visual recognition technology to perform grayscale transformation, edge detection and texture image generation on the image data information of the hook removal equipment, and extracts features in combination with the three-dimensional model. These feature information are combined with neural networks and optimization algorithms to build an intelligent control system. By simulating the motion trajectory of the key points of the robotic arm and the key points of the equipment, the motion path of the hook removal robot is optimized, the intelligent hook removal operation is realized, and the automation and operation efficiency of the system are improved.
[0023] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A flowchart of a method for controlling a hook-removing robot based on deep visual recognition according to an embodiment of the present invention;
[0026] Figure 2 Schematic diagram of the structure of the control system of the hook-removing robot based on deep visual recognition described in an embodiment of the present invention.
[0027] In the figure: 701, acquisition unit; 702, first processing unit; 703, second processing unit; 704, third processing unit; 705, fourth processing unit; 706, fifth processing unit. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0029] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. Embodiment 1:
[0030] This embodiment provides a hook-removing robot control method based on deep vision recognition.
[0031] See also Figure 1 , the figure shows that the method includes step S1, step S2, step S3, step S4, step S5 and step S6.
[0032] Step S1, obtaining first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot;
[0033] It can be understood that this step obtains image data information of the device to be unhooked through modern visual sensors (such as cameras or laser scanners). These data usually include the visual appearance, texture, color and other features of the device. Through image processing technology, the key visual features of the device can be extracted from the image. It provides a real-time and accurate data foundation, laying a solid foundation for subsequent three-dimensional model construction, feature extraction and operation route planning. By ensuring the accuracy and real-time nature of the acquired image and position data information, the accuracy and efficiency of the unhooking operation can be greatly improved, and the operation failure rate caused by data errors can be reduced, thereby reducing production costs and improving the overall production capacity of automated assembly.
[0034] Step S2, sending the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, thereby obtaining a three-dimensional model of the device to be unhooked;
[0035] It can be understood that this step can highly accurately reconstruct the actual geometric structure of the device by combining visual information and position information, laying a solid foundation for subsequent feature extraction, operation route planning and hook removal scheme generation. This method not only improves the accuracy and reliability of the hook removal operation, but also plays an important role in automated assembly and robot operation, reducing human errors and improving production efficiency. In this step, step S2 includes step S21, step S22 and step S23.
[0036] Step S21: convert the format of all the position data information in the first information, and perform plane frame selection processing on the converted position data information to obtain at least two two-dimensional space images of the selected devices;
[0037] It can be understood that this step can convert complex three-dimensional position information into an intuitive two-dimensional spatial image through format conversion and plane frame selection processing, providing an intuitive reference for subsequent three-dimensional modeling and hook removal path planning. This method not only simplifies data processing and understanding, but also helps operators or algorithms to more accurately identify and operate target equipment, thereby improving the efficiency and accuracy of automated operations.
[0038] Step S22, sending the two-dimensional space diagram of all the equipment after the frame selection to the three-dimensional modeling software for processing to obtain the three-dimensional space framework model of the equipment to be unhooked;
[0039] It can be understood that this step converts complex position data information into a unified format and generates a visual representation of the equipment on a two-dimensional plane. This provides an important foundation for subsequent three-dimensional modeling and spatial analysis, allowing the unhooking robot to more accurately identify and operate the unhooked equipment.
[0040] Step S23, taking the lowest point of the image data information of the device to be unhooked in the first information as the coordinate origin, and sending the image data information of the device to be unhooked in the first information to the three-dimensional space framework model for coupling processing, wherein the image data information of the device to be unhooked is discretized to obtain at least one three-dimensional structural columnar unit, and linear interpolation is performed on each of the three-dimensional structural columnar units based on the linear interpolation method, and the interpolated columnar units are coupled with the three-dimensional space framework model to obtain a three-dimensional space model of the device to be unhooked.
[0041] It can be understood that this step effectively improves the accuracy of the three-dimensional space model by discretizing and linearly interpolating the image data information. Discretization retains the key features in the image, while linear interpolation eliminates the gaps between discrete data, making the model more realistic and refined in detail and structure. This step reduces the need for manual intervention and improves processing efficiency and consistency. This is especially important for complex-shaped equipment to be unhooked, and can quickly generate a three-dimensional model that can be used for subsequent analysis and operation.
[0042] Step S3, sending the three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked to a feature extraction module for feature extraction to obtain feature information of the device to be unhooked;
[0043] It is understandable that this step ensures that the obtained feature information has a high degree of accuracy and comprehensiveness by accurately extracting key features from the three-dimensional model and image data. This is crucial for accurate operations and decisions based on feature information in subsequent steps. This step also integrates the three-dimensional model and image data, so that the feature extraction module can comprehensively consider the characteristics of the device from multiple perspectives, thereby improving the utilization efficiency and analysis depth of the data. This helps the system to fully understand the status and structure of the device. In this step, step S3 includes step S31, step S32, step S33 and step S34.
[0044] Step S31, performing image recognition on the image data information of the device to be unhooked, wherein the image data information of all the devices to be unhooked is subjected to grayscale transformation to obtain a grayscale image of the device to be unhooked, and connecting pixels of the same grayscale value in the grayscale image, wherein the linear interpolation method is used to interpolate the connection to obtain a texture image of the device to be unhooked;
[0045] It can be understood that this step can effectively highlight the texture features of the device surface by converting the image data into a grayscale image and then performing line processing, thereby improving the accuracy and reliability of image information extraction. Line processing by linear interpolation enhances the ability to describe the fine structure of the device surface.
[0046] Step S32, edge detection is performed on the image data information of the device to be unhooked, and the image outside the outline edge of the device to be unhooked is converted into white to obtain an outline edge image of the device to be unhooked;
[0047] It can be understood that this step accurately extracts the contour edge of the device, including complex shapes and subtle contour changes, through the edge detection algorithm, thereby improving the accuracy and clarity of the contour. Among them, the automation of edge detection and background processing reduces the need for manual operation and improves processing efficiency and consistency.
[0048] Step S33, performing image processing based on the texture image and the contour edge image of the device to be unhooked, wherein object detection is performed based on the texture image of the device to be unhooked, and image segmentation is performed based on the contour edge image to obtain geometric shape features of the image of the device to be unhooked;
[0049] It can be understood that this step can accurately extract the geometric shape features of the device, including complex shapes and details, through object detection and image segmentation algorithms, thereby improving the precision and accuracy of processing.
[0050] Step S34, matching the geometric shape features of the three-dimensional model and the image of the device to be unhooked, and determining the position feature information corresponding to the device structure of each set of shape features in the three-dimensional model.
[0051] It can be understood that this step can accurately determine the spatial position and orientation of each component in the device through the precise correspondence between the three-dimensional model and the image features, thereby providing accurate position information for subsequent robot operations.
[0052] Step S4, constructing at least two operation routes and at least two hook removal schemes of the hook removal robot based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked and the second information;
[0053] It can be understood that this step can select the optimal execution strategy in different situations by constructing at least two operation routes and hook removal schemes, thereby increasing the flexibility and adaptability of the operation. And by using the three-dimensional model and feature information, the robot's motion trajectory and operation steps can be accurately planned, thereby improving the efficiency and accuracy of the operation. Based on machine learning or optimization algorithms, multiple schemes can be evaluated and compared, and the best operation route and hook removal scheme can be selected to provide support for the robot's autonomous decision-making. In this step, step S4 includes step S41, step S42, step S43, step S44 and step S45.
[0054] Step S41: based on the preset historical unhooking robot operation route and the historical unhooking robot position information, the preset BP neural network model is sent to predict the unhooking robot operation route, wherein the prediction result is matched with the preset historical unhooking robot operation route, and the weight and bias information of the BP neural network are adjusted based on the gradient descent algorithm and the calculated matching degree to obtain the trained BP neural network model;
[0055] It can be understood that this step effectively predicts the running route of the unhooking robot through the BP neural network model, combined with historical data and current location information, and improves the accuracy and stability of route prediction. The gradient descent algorithm is used to adjust the model parameters so that the model can dynamically learn and optimize during the training process to adapt to different working environments and task requirements. In this step, the matching degree calculation formula for calculating the matching degree between the prediction result and the preset historical unhooking robot running route includes:
[0056] ;
[0057] Wherein, A represents the matching value between the prediction result and the preset historical unhooking robot running route, and n represents the number of prediction results. It indicates the number of usable routes j that the route in the prediction result i is divided into; Represents the cosine similarity between the preset historical unhooking robot operation route i and the available route j.
[0058] Step S42, sending the second information to the trained BP neural network model to predict and obtain the running route information of the unhooking robot in at least two time periods;
[0059] It can be understood that this step predicts the operation route information of the unhooking robot in different time periods by using the BP neural network model.
[0060] Step S43, performing data abnormality marking processing on the historical operation route of the hook-removing robot, wherein the historical operation route information of the hook-removing robot is combined with the preset abnormal operation record information, the abnormal position on the historical operation route of the hook-removing robot is determined, and the abnormal position is marked on the historical operation route of the hook-removing robot, so as to obtain the historical operation route of the hook-removing robot marked with the abnormal position;
[0061] It is understandable that this step can identify and mark abnormal locations, so that potential danger points can be discovered in advance, and measures can be taken to avoid accidents. Among them, understanding the abnormalities in historical operations can help optimize the operation route of the unhooking robot and avoid failures or errors at these locations. Marking abnormal locations helps maintenance personnel quickly locate areas that may need repair or adjustment, thereby improving maintenance efficiency.
[0062] Step S44, performing time series modeling processing according to the historical unhooking robot operation route marked with abnormal positions, and using an abnormal point detection algorithm to identify the time period in which the abnormal position appears, and then obtaining the abnormal positions on the historical unhooking robot operation route of all time periods;
[0063] It can be understood that this step can more accurately identify abnormal time periods in robot operation through time series modeling and anomaly detection. Identifying abnormal time periods helps to discover potential problems in advance, thereby performing preventive maintenance and reducing unexpected downtime.
[0064] Step S45, combining the predicted operation route information of the unhooking robot in all time periods and the abnormal positions to obtain at least two operation routes of the unhooking robot, and constructing the unhooking plan of the unhooking robot based on the characteristic information of the equipment to be unhooked, the equipment to be unhooked and all the operation routes of the unhooking robots.
[0065] It is understandable that this step can construct a more efficient hook removal scheme by combining the operation route and equipment feature information, reduce the hook removal time and improve the operation efficiency, avoid known abnormal positions, and ensure the safety of the hook removal robot during operation. And this step generates at least two operation routes, which improves the flexibility and adaptability of the scheme, and the best scheme can be selected according to the actual situation. In this step, step S45 includes step S451, step S452, step S453, step S454 and step S455.
[0066] Step S451, determining the final position information of each of the hook removing robots based on the running route of the hook removing robots;
[0067] It can be understood that this step can reduce the ineffective movement of the robot during the hook removal process and improve work efficiency by optimizing the determination of the final position.
[0068] Step S452, marking the final position information of the unhooking robot into the three-dimensional model of the unhooking device to be unhooked, to obtain a three-dimensional model with the final position of the unhooking robot marked;
[0069] It is understood that this step can intuitively display the operating range and final position of the unhooking robot by marking the final position on the 3D model, which is easy to understand and communicate. The marked final position information provides an important reference for engineers and operators, helping to formulate more accurate operation plans and strategies. In the scenario of multi-robot collaborative operation, clear final position marking helps coordinate the actions of each robot to avoid conflicts and collisions.
[0070] Step S453, performing key point recognition on the three-dimensional model marked with the final position of the unhooking robot and the characteristic information of the unhooking device to be removed, and obtaining the key points of the mechanical arm of the unhooking robot and the key points of the unhooking device to be removed in the three-dimensional model, wherein the key points of the unhooking device to be removed include the key points of the mechanical claw and the key points of the device fixing the mechanical claw;
[0071] It can be understood that the identification of key points in this step provides the necessary information for the robot's motion planning, which helps to generate a more efficient and safer motion path. Accurate key point identification helps to reduce the number of adjustments and retries in the unhooking operation and improve overall operation efficiency.
[0072] Step S454, simulating the motion trajectory of the hook removal scheme based on the key points of the mechanical arm of the hook removal robot and the key points of the device to be unhooked, to obtain the hook removal scheme of the hook removal robot;
[0073] It can be understood that the motion trajectory simulation in this step provides a flexible way to adjust and optimize the unhooking plan to adapt to different operating conditions and requirements. In this step, step S454 includes step S4541, step S4542, step S4543, step S4544 and step S4545.
[0074] Step S4541, calculating the Euclidean distance between the key point of the mechanical arm and the key point of the device to be unhooked based on the calculation formula of the Euclidean distance, and then determining the first moving direction and the first moving distance of the mechanical arm of the unhooking robot;
[0075] It can be understood that the calculation result of the Euclidean distance in this step provides the straight-line direction of the robot arm's movement, that is, the direction from the key point of the robot arm to the key point of the device to be unhooked, and then the initial movement path of the robot arm is planned based on the calculated movement direction and distance.
[0076] Step S4542: Use Bezier curves to fit the motion trajectories of the key points of the mechanical arm of the unhooking robot in the three-dimensional model, and obtain a first motion curve of the mechanical arm of the unhooking robot;
[0077] It can be understood that in this step, a smooth motion trajectory is generated by the Bezier curve, and the smooth trajectory reduces the vibration that may be generated by the robot arm during the movement, and prolongs the service life of the mechanical parts. Then, through accurate trajectory fitting, the accuracy of the robot arm control can be improved to ensure the accuracy of the hook removal operation.
[0078] Step S4543, performing correlation analysis on the preset historical movement scheme of the device to be unhooked and the characteristic information of the device to be unhooked, and determining the historical movement scheme of the device to be unhooked that has the greatest correlation with the characteristic information of the device to be unhooked;
[0079] It can be understood that in this step, by selecting the movement scheme that best matches the equipment characteristics, the success rate of the unhooking task can be improved. Among them, the association analysis helps to accumulate knowledge about the relationship between the unhooking equipment characteristics and the movement scheme, providing support for future decision-making.
[0080] Step S4544, performing a motion trajectory model on the historical movement plan of the unhooking device with the greatest correlation, and obtaining a second motion curve of the mechanical arm of the unhooking robot;
[0081] It can be understood that the second motion curve in this step is based on a historically successful movement plan that is highly relevant to the equipment characteristics, which helps to improve the hook removal accuracy. Among them, using historical plans can reduce the time and complexity of planning the motion trajectory from scratch.
[0082] Step S4545: splice the first motion curve and the second motion curve of the mechanical arm of the unhooking robot in sequence as the unhooking plan of the unhooking robot.
[0083] It can be understood that in this step, the curve splicing is used to ensure the continuity of the robot arm's movement during the entire hook removal process. The hook removal scheme that integrates two motion curves can reduce the ineffective movement of the robot arm and improve the efficiency of hook removal. The smoothly connected motion curves reduce sudden changes in the robot arm's movement and reduce the risk of collision or incorrect operation.
[0084] Step S455, repeat the key point acquisition and motion trajectory simulation until the hook removal schemes corresponding to the operation routes of all hook removal robots are constructed, and the hook removal scheme of the hook removal robot corresponding to each hook removal robot operation route is obtained.
[0085] It can be understood that in this step, through iterative optimization, each hook removal scheme has been carefully designed and tested, increasing the probability of successful hook removal. This step can more effectively utilize the robot's operating time and energy by customizing the hook removal scheme for each route. This ensures that even in the face of different operating conditions and unexpected situations, the system can provide an effective hook removal scheme.
[0086] Step S5, sending the running routes and hook-removing schemes of all the hook-removing robots to the neural network for optimization selection, and obtaining the optimal running route and hook-removing scheme of the hook-removing robot;
[0087] It can be understood that this step realizes the automatic optimization selection of the unhooking robot's operating route and unhooking plan by integrating advanced neural network technology, providing strong support for improving the efficiency, safety and reliability of the unhooking operation. In this step, step S5 includes step S51, step S52, step S53 and step S54.
[0088] Step S51, performing vector transformation on the operation routes and hook removal schemes of all hook removal robots, and inputting the transformed parameters as input parameters into a preset particle swarm optimization model;
[0089] It can be understood that in this step, the operation route and the hook removal scheme are converted into numerical vectors and input into the particle swarm optimization model, which provides an efficient and robust method for finding the optimal operation route and hook removal scheme of the hook removal robot.
[0090] Step S52, initializing the input parameters, wherein the input weights and threshold numbers between the input layer and the hidden layer of the preset particle swarm optimization model network are determined, and the particle vector dimension and range are randomly initialized according to the input weights and threshold numbers between the input layer and the hidden layer of the prediction network to obtain the initialized parameters;
[0091] It can be understood that the random initialization in this step ensures the diversity of the particle swarm in the search space, which is helpful for global search. The size of the particle swarm and the dimension of the search space can be adjusted according to different optimization problems.
[0092] Step S53, calculating the particle fitness according to the fitness function in the particle swarm optimization algorithm to obtain the fitness value of the particles in each particle swarm;
[0093] It can be understood that the calculation formula of the fitness function in this step is as follows:
[0094] ;
[0095] in, It represents the fitness value of the unhooking robot’s running route and unhooking scheme. is the length of the ith running route and unhooking plan, The weight value representing the route length, represents the time cost of the ith route and the unhooking scheme, represents the weight value of time cost, represents the success rate of the ith route and unhooking scheme, The weight value representing the success rate.
[0096] Step S54: According to the fitness of the particles in the particle swarm, the individual optimal position and the global optimal position of the particles are obtained, and the speed and position of all particles are continuously updated based on the particle swarm optimization algorithm by dynamically tracking the individual optimal position and the global optimal position, until the particle swarm optimization algorithm reaches the maximum number of iterations, and the optimal operation route and hook removal plan of the hook removal robot are obtained.
[0097] It can be understood that in this step, the iterative process of the particle swarm optimization algorithm effectively searches and approximates the optimal solution, providing an efficient and robust optimization method for the operation route and hook removal plan of the hook removal robot.
[0098] Step S6: Unhooking the equipment to be unhooked based on the optimal operation route and unhooking plan of the unhooking robot.
[0099] It can be understood that this step achieves precise control of the hook removal robot by executing the optimal hook removal plan, ensuring the efficiency, accuracy and safety of the hook removal operation. Embodiment 2:
[0100] like Figure 2 As shown, this embodiment provides a hook removal robot control system based on deep visual recognition, see Figure 2 The system includes an acquisition unit 701 , a first processing unit 702 , a second processing unit 703 , a third processing unit 704 , a fourth processing unit 705 and a fifth processing unit 706 .
[0101] An acquisition unit 701 is used to acquire first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot;
[0102] The first processing unit 702 is used to send the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, so as to obtain a three-dimensional model of the device to be unhooked;
[0103] The second processing unit 703 is used to send the three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked to the feature extraction module for feature extraction to obtain feature information of the device to be unhooked;
[0104] The third processing unit 704 is used to construct at least two operation routes and at least two hook removal schemes of the hook removal robot based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked and the second information;
[0105] The fourth processing unit 705 is used to send the running routes and hook removal schemes of all the hook removal robots to the neural network for optimization selection to obtain the optimal running routes and hook removal schemes of the hook removal robots;
[0106] The fifth processing unit 706 is used to perform unhooking processing on the unhooking device based on the optimal operation route and unhooking plan of the unhooking robot.
[0107] It should be noted that, regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0108] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0109] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for controlling a hook-removing robot based on deep visual recognition, characterized in that: include: Acquire first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot; Sending the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, thereby obtaining a three-dimensional model of the device to be unhooked; The three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked are sent to a feature extraction module for feature extraction to obtain feature information of the device to be unhooked; At least two operation routes and at least two hook removal schemes of the hook removal robot are constructed based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked, and the second information; Send all the operation routes and hook removal plans of the hook removal robots to the neural network for optimization and selection to obtain the optimal operation route and hook removal plan of the hook removal robots; Based on the optimal operation route and hook removal scheme of the hook removal robot, the hook removal device is unhooked; Among them, based on the characteristic information of the device to be unhooked, the constructed three-dimensional model of the device to be unhooked and the second information, at least two operation routes and at least two unhooking schemes of the unhooking robot are constructed, including: Based on the preset historical unhooking robot operation route and the historical unhooking robot position information, the preset BP neural network model is sent to predict the unhooking robot operation route, wherein the prediction result is matched with the preset historical unhooking robot operation route, and the weight and bias information of the BP neural network are adjusted based on the gradient descent algorithm and the calculated matching degree to obtain the trained BP neural network model; Sending the second information to the trained BP neural network model to predict and obtain the operation route information of the unhooking robot in at least two time periods; The historical unhooking robot operation route is processed for data anomaly marking, wherein the historical unhooking robot operation route information is combined with preset abnormal operation record information to determine the abnormal position on the historical unhooking robot operation route, and the abnormal position is marked on the historical unhooking robot operation route to obtain the historical unhooking robot operation route marked with the abnormal position; Perform time series modeling processing based on the historical unhooking robot operation routes marked with abnormal positions, and use an abnormal point detection algorithm to identify the time period when the abnormal position appears, so as to obtain the abnormal positions on the historical unhooking robot operation routes of all time periods; At least two operation routes of the hook-removing robot are obtained by combining the operation route information of the hook-removing robot in all time periods obtained based on the prediction and the abnormal position, and a hook-removing solution of the hook-removing robot is obtained based on the characteristic information of the equipment to be unhooked, the equipment to be unhooked and all the operation routes of the hook-removing robot; The matching degree calculation formula for calculating the matching degree between the prediction result and the preset historical unhooking robot operation route includes: Wherein, A represents the matching value between the prediction result and the preset historical unhooking robot running route, n represents the number of prediction results, C ij W represents the number of usable routes j that are divided into the routes in the prediction result i; ij Represents the cosine similarity between the preset historical unhooking robot operation route i and the available route j.
2. The method for controlling a hook-removing robot based on deep visual recognition according to claim 1 is characterized in that , sending the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, including: Convert all the position data information in the first information into a new format, and perform plane selection processing on the converted position data information to obtain two-dimensional space images of at least two devices after the selection; Send the selected two-dimensional space diagram of all equipment to the three-dimensional modeling software for processing to obtain the three-dimensional space framework model of the equipment to be unhooked; The lowest point of the image data information of the device to be unhooked in the first information is used as the coordinate origin, and the image data information of the device to be unhooked in the first information is sent to the three-dimensional space frame model for coupling processing, wherein the image data information of the device to be unhooked is discretized to obtain at least one three-dimensional structural columnar unit, and linear interpolation is performed on each of the three-dimensional structural columnar units based on the linear interpolation method, and the interpolated columnar units are coupled with the three-dimensional space frame model to obtain a three-dimensional space model of the device to be unhooked.
3. The method for controlling a hook-removing robot based on deep visual recognition according to claim 1 is characterized in that , sending the three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked to the feature extraction module for feature extraction, including: Perform image recognition on the image data information of the device to be unhooked, wherein the image data information of all the devices to be unhooked is gray-scale transformed to obtain a gray-scale image of the device to be unhooked, and connect pixel points of the same gray-scale value in the gray-scale image, wherein the linear interpolation method is used to interpolate the connection to obtain a texture image of the device to be unhooked; Perform edge detection on the image data information of the device to be unhooked, and convert the image outside the outline edge of the device to be unhooked into white, so as to obtain the outline edge image of the device to be unhooked; Performing image processing based on the texture image and the contour edge image of the device to be unhooked, wherein object detection is performed based on the texture image of the device to be unhooked, and image segmentation is performed based on the contour edge image to obtain geometric shape features of the image of the device to be unhooked; The geometric shape features of the three-dimensional model and the image of the device to be unhooked are matched to determine the position feature information corresponding to the device structure of each collective shape feature in the three-dimensional model.
4. The method for controlling a hook-removing robot based on deep visual recognition according to claim 1 is characterized in that , and based on the characteristic information of the unhooking equipment, the unhooking equipment and the running routes of all the unhooking robots, a unhooking scheme of the unhooking robot is constructed, including: Determining the final position information of each of the hook removing robots based on the running route of the hook removing robots; Marking the final position information of the unhooking robot into the three-dimensional model of the unhooking device to be unhooked, so as to obtain a three-dimensional model with the final position of the unhooking robot marked; The key points of the three-dimensional model with the final position of the hook-removing robot marked and the characteristic information of the device to be unhooked are identified to obtain the key points of the mechanical arm of the hook-removing robot and the key points of the device to be unhooked in the three-dimensional model, wherein the key points of the device to be unhooked include the key points of the mechanical claw and the key points of the device to fix the mechanical claw; Based on the key points of the mechanical arm of the hook-removing robot and the key points of the device to be unhooked, a motion trajectory simulation of the hook-removing scheme is performed to obtain the hook-removing scheme of the hook-removing robot; The key point acquisition and motion trajectory simulation are repeated until the hook removal schemes corresponding to the operation routes of all hook removal robots are constructed, and the hook removal schemes of the hook removal robots corresponding to the operation routes of each hook removal robot are obtained.
5. The method for controlling a hook-removing robot based on deep visual recognition according to claim 4 is characterized in that ,Based on the key points of the mechanical arm of the unhooking robot and the key points of the device to be unhooked, the motion trajectory of the unhooking scheme is simulated to obtain the unhooking scheme of the unhooking robot, including: Calculate the Euclidean distance between the key point of the mechanical arm and the key point of the device to be unhooked based on the calculation formula of the Euclidean distance, and then determine the first moving direction and the first moving distance of the mechanical arm of the unhooking robot; The Bezier curve is used to fit the key points and motion trajectories of the mechanical arm of the hook-removing robot in the three-dimensional model, so as to obtain the first motion curve of the mechanical arm of the hook-removing robot; Correlation analysis is performed on the preset historical movement scheme of the device to be unhooked and the characteristic information of the device to be unhooked, and the historical movement scheme of the device to be unhooked having the greatest correlation with the characteristic information of the device to be unhooked is determined; The historical movement scheme of the unhooking device with the greatest correlation is used to perform a motion trajectory model to obtain a second motion curve of the mechanical arm of the unhooking robot; The first motion curve and the second motion curve of the mechanical arm of the hook removing robot are spliced in sequence as a hook removing scheme of the hook removing robot.
6. The method for controlling a hook-removing robot based on deep visual recognition according to claim 1 is characterized in that , all the operation routes and hook removal schemes of the hook removal robot are sent to the neural network for optimization selection, and the optimal operation route and hook removal scheme of the hook removal robot are obtained, including: The running routes and hook removal schemes of all hook removal robots are transformed into vectors, and the transformed parameters are input as input parameters into the preset particle swarm optimization model; Initializing the input parameters, wherein the input weights and threshold numbers between the input layer and the hidden layer of the preset particle swarm optimization model network are determined, and the particle vector dimension and range are randomly initialized according to the input weights and threshold numbers between the input layer and the hidden layer of the prediction network to obtain the initialized parameters; Calculate the particle fitness according to the fitness function in the particle swarm optimization algorithm to obtain the fitness value of each particle in the particle swarm; According to the fitness of particles in the particle swarm, the individual optimal position and the global optimal position of the particles are obtained, and the speed and position of all particles are continuously updated by dynamically tracking the individual optimal position and the global optimal position based on the particle swarm optimization algorithm until the particle swarm optimization algorithm reaches the maximum number of iterations, and the optimal operation route and hook removal scheme of the hook removal robot are obtained.
7. The method for controlling a hook-removing robot based on deep visual recognition according to claim 6, characterized in that: The fitness function calculation formula in the particle swarm optimization algorithm is used to calculate the particle fitness, including: Among them, F i represents the fitness value of the unhooking robot’s running route and unhooking scheme, L i is the length of the ith running route and unhooking plan, W L Represents the weight value of the route length, T i represents the time cost of the ith route and the unhooking scheme, W T Represents the weight value of time cost, S i represents the success rate of the ith route and unhooking scheme, W S The weight value representing the success rate.
8. A hook-removing robot control system based on deep visual recognition, characterized in that: include: an acquisition unit, configured to acquire first information and second information, wherein the first information includes image data information and position data information of the device to be unhooked, and the second information includes position data information of the unhooking robot; A first processing unit is used to send the first information and the second information to a three-dimensional construction model to construct a three-dimensional model, so as to obtain a three-dimensional model of the device to be unhooked; The second processing unit is used to send the three-dimensional model of the device to be unhooked and the image data information of the device to be unhooked to the feature extraction module for feature extraction to obtain feature information of the device to be unhooked; A third processing unit is used to construct at least two operation routes and at least two hook removal schemes of the hook removal robot based on the characteristic information of the device to be unhooked, the three-dimensional model of the device to be unhooked and the second information; Wherein, the third processing unit includes: Based on the preset historical unhooking robot operation route and the historical unhooking robot position information, the preset BP neural network model is sent to predict the unhooking robot operation route, wherein the prediction result is matched with the preset historical unhooking robot operation route, and the weight and bias information of the BP neural network are adjusted based on the gradient descent algorithm and the calculated matching degree to obtain the trained BP neural network model; Sending the second information to the trained BP neural network model to predict and obtain the operation route information of the unhooking robot in at least two time periods; The historical unhooking robot operation route is processed for data anomaly marking, wherein the historical unhooking robot operation route information is combined with preset abnormal operation record information to determine the abnormal position on the historical unhooking robot operation route, and the abnormal position is marked on the historical unhooking robot operation route to obtain the historical unhooking robot operation route marked with the abnormal position; Perform time series modeling processing based on the historical unhooking robot operation routes marked with abnormal positions, and use an abnormal point detection algorithm to identify the time period when the abnormal position appears, so as to obtain the abnormal positions on the historical unhooking robot operation routes of all time periods; At least two operation routes of the hook-removing robot are obtained by combining the operation route information of the hook-removing robot in all time periods obtained based on the prediction and the abnormal position, and a hook-removing solution of the hook-removing robot is obtained based on the characteristic information of the equipment to be unhooked, the equipment to be unhooked and all the operation routes of the hook-removing robot; The matching degree calculation formula for calculating the matching degree between the prediction result and the preset historical unhooking robot operation route includes: Wherein, A represents the matching value between the prediction result and the preset historical unhooking robot running route, n represents the number of prediction results, C ij W represents the number of usable routes j that are divided into the routes in the prediction result i; ij Represents the cosine similarity between the preset historical unhooking robot operation route i and the available route j. The fourth processing unit is used to send the running routes and hook removal schemes of all the hook removal robots to the neural network for optimization selection to obtain the optimal running route and hook removal scheme of the hook removal robot; The fifth processing unit is used to perform unhooking processing on the unhooking equipment based on the optimal operation route and unhooking plan of the unhooking robot.
Citation Information
Patent Citations
Intelligent tower crane hook identification switching method and device based on electronic tag
CN113255859A
Automatic train unhooking robot and system
CN113894765A
Target detection method based on multi-modal data fusion and in-vivo fruit picking method based on target detection model
CN115376125A
Unhooking method of unhooking robot
CN115619853A
Precise picking and re-hooking AI recognition grabbing method based on digital twinning
CN116612366A
