A robot grasping posture estimation method based on improved generative residual network MetaCoorNet

By introducing the coordinate attention mechanism and lightweight convolution module into the robot grasping posture estimation, the MetaCoorNet network improves feature extraction and calculation efficiency, solves the problems of insufficient feature extraction capabilities and high computational complexity in the existing technology, and achieves Efficient grasping posture prediction.

CN118514080BActive Publication Date: 2024-10-29ANHUI UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410802921.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-29
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

When dealing with complex scenes and diverse objects, existing robot grasping posture estimation methods have limited feature extraction capabilities, high computational complexity, and lack of effective position information fusion mechanisms, which affects prediction accuracy.

Method used

This paper proposes a robot grasping posture estimation method based on the improved generative residual network MetaCoorNet. It enhances feature selectivity and expression ability by introducing a coordinate attention mechanism, and uses lightweight convolution modules and convolution fusion blocks to reduce computational complexity and improve Feature resolution and representation capabilities, using meta-light blocks to enhance feature extraction and computational efficiency.

Benefits of technology

It achieves higher grabbing posture prediction accuracy and efficiency, is suitable for complex and changeable actual scenes, has strong feature extraction capabilities, low computing cost, and accurate position information fusion mechanism to meet real-time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118514080B_ABST
    Figure CN118514080B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of robotics, and in particular to a robot grasping posture estimation method and system based on an improved generative residual network MetaCoorNet. The method comprises: constructing a model according to an MCB module and a residual module to obtain an MCN grasping posture prediction model; photographing a target scene through an external camera to obtain a target image; inputting the target image into the MCN grasping posture prediction model to obtain a grasping posture; performing coordinate transformation on the grasping posture according to a preset coordinate transformation homography matrix to obtain a robot grasping posture; performing inverse kinematics solution according to the robot grasping posture and a preset robot kinematics model to obtain a joint rotation angle value; and performing a grasping action through an actuator according to the joint rotation angle value. The present invention is a robot grasping posture estimation method with strong feature extraction capability, low computational cost, and precise position information fusion mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robotics technology, and in particular to a robot grasping posture estimation method and system based on an improved generative residual network MetaCoorNet. Background Art

[0002] Robotic grasping technology has a wide range of applications in industrial automation, service robots, and home robots. With the rapid development of deep learning technology, vision-based grasping posture estimation methods have become a research hotspot in robotic grasping tasks. Traditional robotic grasping methods mainly rely on pre-set rules and models, which are difficult to cope with complex and changing actual environments. The grasping posture estimation method based on deep learning can learn rich feature information from a large amount of training data to achieve more efficient and accurate grasping operations.

[0003] In this field, technologies such as Generative Adversarial Network (GAN), Convolutional Neural Network (CNN) and Residual Network (ResNet) are widely used in grasping posture estimation tasks. Among them, the Generative Adversarial Network can generate realistic grasping posture predictions through adversarial training of the generator and the discriminator; the Convolutional Neural Network extracts spatial features in the image through a hierarchical structure; the Residual Network effectively alleviates the gradient vanishing problem in the deep network by introducing the residual module.

[0004] Based on deep learning, the Generative Grasping Convolutional Neural Network (GGCNN) and the Generative Residual Convolutional Neural Network (GGCNN) are typical grasping posture estimation networks. GGCNN generates grasping postures from a single depth image through a convolutional neural network, including the position, direction, and width of the grasping point. The network structure is relatively simple and computationally efficient, but when dealing with complex scenes and diverse objects, the feature extraction capability is limited, resulting in low grasping posture prediction accuracy. GR-ConvNet introduces a residual module based on GGCNN, and alleviates the gradient vanishing problem in the deep network through residual connections, thereby improving the feature extraction capability. However, the computational complexity of this method is high and it is difficult to meet the real-time requirements. In addition, GR-ConvNet still has shortcomings in feature fusion and lacks an effective position information fusion mechanism, which affects the prediction accuracy of grasping posture.

[0005] In the prior art, there is a lack of a robot grasping posture estimation method with strong feature extraction capability, low computational cost, and accurate position information fusion mechanism. Summary of the invention

[0006] In order to solve the technical problems of limited feature extraction capability, high computational complexity and lack of effective position information fusion mechanism in the prior art, the embodiment of the present invention provides a robot grasping posture estimation method and system based on an improved generative residual network MetaCoorNet. The technical solution is as follows:

[0007] On the one hand, a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet is provided, the method is implemented by a robot grasping posture estimation device, and the method includes:

[0008] The model is constructed according to the MCB module and the residual module to obtain the MCN grasping posture prediction model to be trained;

[0009] Using a preset training image, training the MCN grasping posture prediction model to be trained to obtain the MCN grasping posture prediction model;

[0010] The target scene is photographed by an external camera to obtain a target image;

[0011] Inputting the target image into the MCN grasping posture prediction model to obtain the grasping posture;

[0012] According to a preset coordinate transformation homography matrix, coordinate transformation is performed on the grasping posture to obtain the robot grasping posture;

[0013] Performing inverse kinematics solution according to the robot grasping posture and a preset robot kinematics model to obtain a joint rotation angle value;

[0014] According to the joint rotation angle value, a grasping action is performed by an actuator.

[0015] On the other hand, a robot grasping posture estimation system based on an improved generative residual network MetaCoorNet is provided, and the system is applied to a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet. The system includes an external camera, an electronic device, and a robotic arm, wherein:

[0016] The external camera is used to photograph the target scene to obtain a target image;

[0017] The electronic device is used to construct a model according to the MCB module and the residual module to obtain an MCN grasping posture prediction model to be trained; use a preset training image to train the MCN grasping posture prediction model to obtain an MCN grasping posture prediction model; input the target image into the MCN grasping posture prediction model to obtain a grasping posture; according to a preset coordinate transformation homography matrix, coordinate transformation is performed on the grasping posture to obtain a robot grasping posture; according to the robot grasping posture and a preset robot kinematics model, inverse kinematics is solved to obtain a joint rotation angle value;

[0018] The robotic arm is used to perform a grasping action through an actuator according to the joint rotation angle value.

[0019] On the other hand, a robot grasping posture estimation device is provided, which includes: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, any one of the robot grasping posture estimation methods based on the improved generative residual network MetaCoorNet is implemented.

[0020] On the other hand, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement any one of the above-mentioned robot grasping posture estimation methods based on the improved generative residual network MetaCoorNet.

[0021] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0022] The present invention proposes a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet. By introducing a coordinate attention mechanism, the position information is embedded into the channel attention to enhance the selectivity and expressiveness of the features and improve the prediction accuracy of the grasping posture; the lightweight convolution module and convolution fusion block are adopted to improve the resolution and representation ability of the features, while reducing the computational complexity to meet the real-time requirements; in the feature fusion process, the feature extraction and computational efficiency of the network are further enhanced by the meta-light block to achieve more efficient grasping posture prediction. Based on the proposed MetaCoorNet network, it shows higher accuracy and efficiency in the grasping posture estimation task, and is suitable for complex and changeable practical scenarios. The present invention is a robot grasping posture estimation method with strong feature extraction capability, low computational cost, and precise position information fusion mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 It is a flow chart of a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet provided by an embodiment of the present invention;

[0025] Figure 2 It is a schematic diagram of the structure of an MCB module provided by an embodiment of the present invention;

[0026] Figure 3 It is a schematic diagram of an MCN network structure provided by an embodiment of the present invention;

[0027] Figure 4 It is a block diagram of a robot grasping posture estimation system based on an improved generative residual network MetaCoorNet provided by an embodiment of the present invention;

[0028] Figure 5 It is a structural schematic diagram of a robot grasping posture estimation device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0030] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0031] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.

[0032] In the embodiments of the present invention, sometimes a subscript such as W1 may be written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are the same.

[0033] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0034] The embodiment of the present invention provides a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet, which can be implemented by a robot grasping posture estimation device, which can be a terminal or a server. Figure 1 The flowchart of the robot grasping posture estimation method based on the improved generative residual network MetaCoorNet is shown. The processing flow of the method may include the following steps:

[0035] S1. Build a model based on the MCB module and the residual module to obtain the MCN grasping posture prediction model to be trained.

[0036] In a feasible implementation, Figure 2 As shown, the present invention proposes a new module (MetaCoor Block, MCB) for feature extraction. This module innovatively combines the spatial attention mechanism and the channel attention mechanism, and introduces the coordinate attention mechanism, which can more effectively extract key features in the image.

[0037] Embedding position information into feature channels enhances the selectivity and expressiveness of features, enabling the network to better identify grasping positions and directions in complex scenes. The coordinate attention mechanism effectively utilizes position information, improves the accuracy of feature extraction, and enhances the network's performance in diverse object grasping tasks.

[0038] S2. Use the preset training images to train the MCN grasping posture prediction model to be trained to obtain the MCN grasping posture prediction model.

[0039] Among them, the MCN grasping posture prediction model includes input layer, feature extraction layer, feature fusion layer and output layer;

[0040] The input layer consists of a convolutional layer with 32 filters;

[0041] The feature extraction layer includes the MCB module and the residual module;

[0042] The feature fusion layer includes a repeated space operator, a refined channel operator, and a convolutional fusion module;

[0043] The output layer includes a transposed convolutional layer and a convolutional layer with a sigmoid activation function.

[0044] In a feasible implementation manner, the present invention proposes a new model (MetaCoorNet, MCN) for grasping posture prediction, and MCN includes an input layer, a feature extraction layer, a feature fusion layer and an output layer.

[0045] The input layer receives the preprocessed n-channel image. Preprocessing operations may include image scaling, normalization, etc. to adapt to the network's input requirements. The input layer uses a convolutional layer containing 32 filters to perform preliminary feature extraction on the image and generate a feature map containing 32 channels.

[0046] The feature extraction layer is one of the core modules of the MCN grasping posture prediction model. Its goal is to extract higher-level semantic features from the input image and provide richer information for subsequent grasping posture estimation. The feature extraction layer uses multiple MCB and residual blocks in series to extract image features layer by layer. The MCB module is used to efficiently extract key features of the image; the residual block can effectively alleviate the gradient vanishing problem in the deep neural network training process, accelerate network training, and improve the performance of the model.

[0047] Based on the feature extraction layer, the feature fusion layer further fuses the extracted multi-layer features to generate a more comprehensive and expressive feature representation. This layer uses the Meta Light Block (MLB) technology, and uses multiple operators such as the Reparameterized Special Operator (RepSO), the Reception Field Channel Operator (RefCO), and the Convolutional Fusion Block (CFB) to effectively integrate feature information of different scales and different abstract levels.

[0048] The repeated spatial operator repeatedly uses the same convolution kernel to perform multiple convolutions on the feature map, which can improve the model's ability to extract spatial information without significantly increasing the number of parameters and calculations. The refined channel operator uses an attention mechanism to adaptively adjust the importance of features in different channels, strengthen the extraction of key information, and suppress the interference of irrelevant information. The convolution fusion block fuses feature information from different channels through multi-layer convolution operations to generate a more expressive feature representation.

[0049] The lightweight convolution fusion module uses lightweight operations such as depthwise separable convolution, which significantly reduces the amount of calculation and improves the calculation efficiency. Compared with traditional convolution operations, the lightweight convolution module significantly reduces the demand for computing resources while ensuring high performance, enabling the system to perform well in application scenarios with high real-time requirements.

[0050] Through multi-scale convolution and feature fusion, the CFB module improves the resolution and representation of features. MLB further improves feature extraction and computational efficiency through lightweight operations and feature selection mechanisms, and achieves effective fusion of position information and channel features. This combination not only enhances the richness and accuracy of feature representation, but also ensures computational efficiency.

[0051] The output layer predicts the final grasping posture parameters based on the feature map output by the feature fusion layer. This layer uses a transposed convolution layer to upsample the feature map to restore it to the original image resolution, and uses a convolution layer with a sigmoid activation function to output the probability map of grasping position, direction, width, and grasping quality score.

[0052] S3. Shoot the target scene with an external camera to obtain a target image.

[0053] In a feasible implementation, the present invention uses an external camera (such as an RGB-D camera) to obtain an n-channel image of the target scene. The image contains rich scene information, such as color information, depth information, and possible semantic segmentation information. This information provides important visual clues for subsequent grasping posture estimation.

[0054] S4. Input the target image into the MCN grasping posture prediction model to obtain the grasping posture.

[0055] Optionally, it is characterized in that the target image is input into the MCN grasping posture prediction model to obtain the grasping posture, including:

[0056] Preprocessing the target image to obtain a processed target image;

[0057] The processed target image is input into the input layer for feature extraction to obtain a 32-channel feature map;

[0058] The 32-channel feature map is input into the feature extraction layer for layer-by-layer feature extraction to obtain a multi-level feature map;

[0059] Input multi-level features into the feature fusion layer for integration processing to obtain a fused feature map;

[0060] The fused feature map is input into the output layer to generate prediction results and obtain the grasping posture.

[0061] In a feasible implementation, the MCN grasping posture prediction model used in the present invention improves the system's adaptability to complex scenes and diverse objects and enhances the robustness of grasping tasks through multi-layer convolution and feature fusion mechanisms. Regardless of lighting changes, object occlusion, or complex background, the system can maintain a high level of grasping posture prediction performance.

[0062] Optionally, the 32-channel feature map is input into the feature extraction layer for layer-by-layer feature extraction to obtain a multi-level feature map, including:

[0063] According to the 32-channel feature map, a 3×3 convolution kernel is used to extract spatial features to obtain a local spatial feature map;

[0064] Based on the coordinate attention mechanism, a learnable coordinate embedding vector is added to each channel of the local spatial feature map to obtain a spatial attention map;

[0065] Perform encoding operation according to the spatial attention map to obtain a spatial selective attention map;

[0066] According to the spatial selective attention map, the local spatial feature map is weighted to obtain a multi-level feature map.

[0067] In a feasible implementation, the MCB module uses a 3x3 convolution kernel to perform a convolution operation on the input feature map to extract local spatial features and keep the size and number of channels of the feature map unchanged.

[0068] A learnable coordinate embedding vector is added to each channel of the spatial feature map. The coordinate embedding vector has the same size as the spatial feature map and encodes the relative position of each pixel in the channel to generate a spatial selective attention map. This step incorporates spatial position information into the channel attention mechanism, allowing the network to focus on areas that are more relevant to the grasping task.

[0069] The generated spatial selective attention map is element-wise multiplied with the feature map after spatial convolution to obtain the output feature map of the MCB module. This operation is equivalent to weighting the original feature map, highlighting the features of important areas and suppressing the features of unimportant areas.

[0070] Optionally, an encoding operation is performed according to the spatial attention map to obtain a spatial selective attention map, including:

[0071] Perform one-dimensional encoding operation on the spatial attention map along the horizontal direction to obtain a horizontal attention map;

[0072] Perform one-dimensional encoding operation on the spatial attention map along the vertical direction to obtain a vertical attention map;

[0073] Multiply the corresponding elements of the horizontal attention map and the vertical attention map to obtain the spatial selective attention map.

[0074] In a feasible implementation, in order to reduce computational complexity, the MCB module of the present invention decomposes the channel attention into two one-dimensional feature encoding processes in the horizontal and vertical directions. The horizontal feature encoding process applies a 1xk convolution kernel to each row of the channel attention map for convolution operation, and the vertical feature encoding process applies a kx1 convolution kernel to each column of the channel attention map for convolution operation. Among them, k is a preset hyperparameter used to control the size of the attention area.

[0075] The two feature maps obtained by horizontal feature encoding and vertical feature encoding are multiplied element by element to generate a spatial selective attention map. The size of this attention map is the same as the channel attention map, and the value of each element represents the importance of the corresponding position.

[0076] Optionally, the fused feature map is input into the output layer to generate a prediction result to obtain the grasping posture, including:

[0077] Upsample the fused feature map to obtain the original resolution image;

[0078] According to the original resolution image, the posture generation is performed through the convolution layer with sigmoid activation function to obtain the grasping posture.

[0079] In one feasible implementation, the output layer accurately predicts the grasping position (x, y), direction (cosine and sine), and grasping width through regression operations, so that the robot can make precise adjustments based on the predicted parameters and complete stable grasping operations. Multi-parameter prediction not only provides detailed grasping posture information, but also improves the success rate and stability of grasping operations.

[0080] Among them, the grasping posture includes grasping position, grasping direction, grasping width and grasping quality score.

[0081] In a feasible implementation, the key parameters in the grasping posture include: grasping position, which describes the coordinates of the center point of the grasper in the image coordinate system; grasping direction, which describes the grasping angle of the grasper relative to the target object; grasping width, which describes the width that the grasper needs to open; grasping quality score, which describes the success probability of the grasping posture and provides a basis for subsequent grasping decisions.

[0082] S5. According to a preset coordinate transformation homography matrix, coordinate transformation is performed on the grasping posture to obtain the robot grasping posture.

[0083] In a feasible implementation, since the grasping posture predicted by the MCN model is based on the image coordinate system, in order to control the robot to perform the grasping action, the grasping posture needs to be converted to the robot coordinate system. The conversion process uses the pre-calibrated homography matrix between the camera and the robot to achieve the mapping from the image coordinate system to the robot coordinate system.

[0084] S6. Perform inverse kinematics solution based on the robot's grasping posture and the preset robot kinematics model to obtain the joint rotation angle value.

[0085] In a feasible implementation, in the present invention, in order to find a motion trajectory that meets the robot motion constraints and can achieve the target grasping posture, the inverse motion solution is performed based on the converted grasping posture in combination with the robot's kinematic model to obtain the angle value that each joint of the robot arm needs to rotate.

[0086] The technical means of obtaining the angle value of the action rotation by inverse kinematic solution based on the mechanical motion model is widely used in various motion control systems and belongs to the prior art, which will not be described in detail here.

[0087] S7. According to the joint rotation angle value, the actuator performs the grasping action.

[0088] In a feasible implementation, the calculated joint angle values ​​are transmitted to the control system of the robot, and the robot arm is controlled to move according to the planned trajectory to perform the grasping action.

[0089] In a feasible implementation, in order to verify the effectiveness of the MCN grasping posture prediction model proposed in the present invention, a large number of experiments were carried out on the public Cornell dataset and Jacquard dataset, and compared with various existing grasping posture estimation algorithms.

[0090] The MCN grasping posture prediction model achieved a high accuracy of 98.88% on the Cornell dataset, significantly better than other algorithms, such as GRCNN, which achieved an accuracy of 97.7%; a transformer-based architecture for robotic grasp detection (TF-Grasp) achieved an accuracy of 97.99%. This shows that the MCN grasping posture prediction model can accurately predict the grasping posture of various objects, including grasping quality, grasping angle, grasping width and grasping posture. In particular, the present invention shows stronger robustness in dealing with the problems of uneven distribution of grasping angles and large range of grasping widths that are common in the Cornell dataset.

[0091] On the larger Jacquard dataset, the MCN grasping posture prediction model also achieved an accuracy of 91.2%, showing stronger generalization ability. The difficulty of the Jacquard dataset lies in the large variety of objects, complex scenes, and the presence of some unrealistic labeled data. The outstanding performance of the MCN grasping posture prediction model on this dataset is due to its powerful feature extraction ability and adaptability to different scenes.

[0092] To further verify the practicality of the MCN grasping posture prediction model, a grasping experiment was conducted in a real scene using the built robot grasping experimental platform. The grasping experiment included complex scenes such as single objects, multiple objects, and transparent objects. The experimental results show that the MCN grasping posture prediction model can be well generalized to real scenes, and can still maintain a high grasping success rate even in the face of interference factors such as occlusion and cluttered background.

[0093] From the above experimental results, it can be seen that the MCN grasping posture prediction model used in the present invention can accurately identify the target object when multiple objects exist at the same time, and plan a reasonable grasping posture to avoid collision with other objects. The MCN grasping posture prediction model can effectively use depth information and other features to accurately identify the contour and posture of transparent objects and achieve reliable grasping.

[0094] The lightweight convolutional module and optimized feature fusion mechanism ensure that the mechanical motion control system can still achieve high-precision grasping posture prediction with low computational latency, meeting the needs of real-time operation. Real-time operation is essential for the application of robots in dynamic environments, such as automated production lines and service robots.

[0095] The technical solution of the present invention is applicable to multiple fields such as industrial automation, service robots and household robots. Whether it is object handling in a factory or an intelligent assistant in a home, the method of the present invention can provide efficient and accurate grasping posture estimation, providing technical support for various robot applications.

[0096] The present invention proposes a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet. By introducing a coordinate attention mechanism, the position information is embedded into the channel attention to enhance the selectivity and expressiveness of the features and improve the prediction accuracy of the grasping posture; the lightweight convolution module and convolution fusion block are adopted to improve the resolution and representation ability of the features, while reducing the computational complexity to meet the real-time requirements; in the feature fusion process, the feature extraction and computational efficiency of the network are further enhanced by the meta-light block to achieve more efficient grasping posture prediction. Based on the proposed MetaCoorNet network, it shows higher accuracy and efficiency in the grasping posture estimation task, and is suitable for complex and changeable practical scenarios. The present invention is a robot grasping posture estimation method with strong feature extraction capability, low computational cost, and precise position information fusion mechanism.

[0097] Figure 4 The present invention is a block diagram of a robot grasping posture estimation system based on an improved generative residual network MetaCoorNet according to an exemplary embodiment. The system is used for a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet. Figure 4 , the system includes an external camera 410, an electronic device 420 and a robotic arm 430, wherein:

[0098] The external camera 410 is used to shoot the target scene through the external camera to obtain a target image;

[0099] The electronic device 420 is used to construct a model according to the MCB module and the residual module to obtain the MCN grasping posture prediction model to be trained; use the preset training image to train the MCN grasping posture prediction model to obtain the MCN grasping posture prediction model; input the target image into the MCN grasping posture prediction model to obtain the grasping posture; according to the preset coordinate transformation homography matrix, the grasping posture is transformed to obtain the robot grasping posture; according to the robot grasping posture and the preset robot kinematics model, the inverse kinematic solution is performed to obtain the joint rotation angle value;

[0100] The robot arm 430 is used to perform a grasping action through an actuator according to a joint rotation angle value.

[0101] Among them, the MCN grasping posture prediction model includes input layer, feature extraction layer, feature fusion layer and output layer;

[0102] The input layer consists of a convolutional layer with 32 filters;

[0103] The feature extraction layer includes the MCB module and the residual module;

[0104] The feature fusion layer includes a repeated space operator, a refined channel operator, and a convolutional fusion module;

[0105] The output layer includes a transposed convolutional layer and a convolutional layer with a sigmoid activation function.

[0106] Optionally, the electronic device 420 is further configured to:

[0107] Preprocessing the target image to obtain a processed target image;

[0108] The processed target image is input into the input layer for feature extraction to obtain a 32-channel feature map;

[0109] The 32-channel feature map is input into the feature extraction layer for layer-by-layer feature extraction to obtain a multi-level feature map;

[0110] Input multi-level features into the feature fusion layer for integration processing to obtain a fused feature map;

[0111] The fused feature map is input into the output layer to generate prediction results and obtain the grasping posture.

[0112] Optionally, the electronic device 420 is further configured to:

[0113] According to the 32-channel feature map, a 3×3 convolution kernel is used to extract spatial features to obtain a local spatial feature map;

[0114] Based on the coordinate attention mechanism, a learnable coordinate embedding vector is added to each channel of the local spatial feature map to obtain a spatial attention map;

[0115] Perform encoding operation according to the spatial attention map to obtain a spatial selective attention map;

[0116] According to the spatial selective attention map, the local spatial feature map is weighted to obtain a multi-level feature map.

[0117] Optionally, the electronic device 420 is further configured to:

[0118] Perform one-dimensional encoding operation on the spatial attention map along the horizontal direction to obtain a horizontal attention map;

[0119] Perform one-dimensional encoding operation on the spatial attention map along the vertical direction to obtain a vertical attention map;

[0120] Multiply the corresponding elements of the horizontal attention map and the vertical attention map to obtain the spatial selective attention map.

[0121] Optionally, the electronic device 420 is further configured to:

[0122] Upsample the fused feature map to obtain the original resolution image;

[0123] According to the original resolution image, the posture generation is performed through the convolution layer with sigmoid activation function to obtain the grasping posture.

[0124] Among them, the grasping posture includes grasping position, grasping direction, grasping width and grasping quality score.

[0125] The present invention proposes a robot grasping posture estimation method based on an improved generative residual network MetaCoorNet. By introducing a coordinate attention mechanism, the position information is embedded into the channel attention to enhance the selectivity and expressiveness of the features and improve the prediction accuracy of the grasping posture; the lightweight convolution module and convolution fusion block are adopted to improve the resolution and representation ability of the features, while reducing the computational complexity to meet the real-time requirements; in the feature fusion process, the feature extraction and computational efficiency of the network are further enhanced by the meta-light block to achieve more efficient grasping posture prediction. Based on the proposed MetaCoorNet network, it shows higher accuracy and efficiency in the grasping posture estimation task, and is suitable for complex and changeable practical scenarios. The present invention is a robot grasping posture estimation method with strong feature extraction capability, low computational cost, and precise position information fusion mechanism.

[0126] Figure 5 is a schematic diagram of the structure of a robot grasping posture estimation device provided by an embodiment of the present invention, such as Figure 5 As shown, the robot grasping posture estimation device may include the above Figure 4 The robot grasping posture estimation system based on the improved generative residual network MetaCoorNet is shown. Optionally, the robot grasping posture estimation device 510 may include a first processor 2001.

[0127] Optionally, the robot grasping posture estimation device 510 may further include a memory 2002 and a transceiver 2003 .

[0128] The first processor 2001, the memory 2002 and the transceiver 2003 may be connected via a communication bus.

[0129] Combine the following Figure 5 The components of the robot grasping posture estimation device 510 are specifically introduced:

[0130] The first processor 2001 is the control center of the robot grasping posture estimation device 510, and can be a processor or a general term for multiple processing elements. For example, the first processor 2001 is one or more central processing units (CPUs), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (field programmable gate arrays, FPGAs).

[0131] Optionally, the first processor 2001 can perform various functions of the robot grasping posture estimation device 510 by running or executing a software program stored in the memory 2002 and calling data stored in the memory 2002.

[0132] In a specific implementation, as an embodiment, the first processor 2001 may include one or more CPUs, such as Figure 5 CPU0 and CPU1 are shown in FIG.

[0133] In a specific implementation, as an embodiment, the robot grasping posture estimation device 510 may also include multiple processors, such as Figure 5 The first processor 2001 and the second processor 2004 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0134] The memory 2002 is used to store the software program for executing the solution of the present invention, and is controlled to be executed by the first processor 2001. The specific implementation method can refer to the above method embodiment, which will not be repeated here.

[0135] Optionally, the memory 2002 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2002 may be integrated with the first processor 2001, or may exist independently, and access the first processor 2001 through the interface circuit ( Figure 5 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.

[0136] The transceiver 2003 is used to communicate with a network device or a terminal device.

[0137] Optionally, the transceiver 2003 may include a receiver and a transmitter ( Figure 5 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0138] Optionally, the transceiver 2003 may be integrated with the first processor 2001, or may exist independently and be transmitted through the interface circuit ( Figure 5 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.

[0139] It should be noted that Figure 5 The structure of the robot grasping posture estimation device 510 shown in the figure does not constitute a limitation on the router, and the actual knowledge structure recognition device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0140] In addition, the technical effects of the robot grasping posture estimation device 510 can refer to the technical effects of the robot grasping posture estimation method based on the improved generative residual network MetaCoorNet described in the above method embodiment, and will not be repeated here.

[0141] It should be understood that the first processor 2001 in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0142] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0143] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable system. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0144] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0145] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0146] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0147] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0148] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0149] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of the system or unit, which can be electrical, mechanical or other forms.

[0150] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0151] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0152] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0153] 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 robot grasping posture estimation method based on an improved generative residual network MetaCoorNet, characterized in that: The method comprises: The model is constructed according to the MCB module and the residual module to obtain the MCN grasping posture prediction model to be trained; Using a preset training image, training the MCN grasping posture prediction model to be trained to obtain the MCN grasping posture prediction model; Wherein, the MCN grasping posture prediction model includes an input layer, a feature extraction layer, a feature fusion layer and an output layer; The input layer includes a convolutional layer with 32 filters; The feature extraction layer includes an MCB module and a residual module; The feature fusion layer includes a repeated space operator, a refined channel operator and a convolution fusion module; The output layer includes a transposed convolution layer and a convolution layer with a sigmoid activation function; The target scene is photographed by an external camera to obtain a target image; Inputting the target image into the MCN grasping posture prediction model to obtain the grasping posture; The step of inputting the target image into the MCN grasping posture prediction model to obtain the grasping posture includes: Preprocessing the target image to obtain a processed target image; Inputting the processed target image into the input layer for feature extraction to obtain a 32-channel feature map; Input the 32-channel feature map into the feature extraction layer to perform layer-by-layer feature extraction to obtain a multi-level feature map; Inputting the multi-level feature maps into the feature fusion layer for integration processing to obtain a fused feature map; Inputting the fused feature map into the output layer to generate a prediction result and obtain a grasping posture; The step of inputting the 32-channel feature map into the feature extraction layer for layer-by-layer feature extraction to obtain a multi-level feature map includes: According to the 32-channel feature map, a 3×3 convolution kernel is used to extract spatial features to obtain a local spatial feature map; Based on the coordinate attention mechanism, a learnable coordinate embedding vector is added to each channel of the local spatial feature map to obtain a spatial attention map; Performing an encoding operation according to the spatial attention map to obtain a spatial selective attention map; According to the spatial selective attention map, weighting the local spatial feature map to obtain a multi-level feature map; The step of performing an encoding operation according to the spatial attention map to obtain a spatial selective attention map includes: Performing a one-dimensional encoding operation on the spatial attention map along the horizontal direction to obtain a horizontal attention map; Performing a one-dimensional encoding operation on the spatial attention map along the vertical direction to obtain a vertical attention map; Multiplying the corresponding elements of the horizontal attention map and the vertical attention map to obtain a spatial selective attention map; According to a preset coordinate transformation homography matrix, coordinate transformation is performed on the grasping posture to obtain the robot grasping posture; Performing inverse kinematics solution according to the robot grasping posture and a preset robot kinematics model to obtain a joint rotation angle value; According to the joint rotation angle value, a grasping action is performed by an actuator.

2. The robot grasping posture estimation method based on the improved generative residual network MetaCoorNet according to claim 1 is characterized in that: The step of inputting the fused feature map into the output layer to generate a prediction result and obtain a grasping posture includes: Performing upsampling processing on the fused feature map to obtain an original resolution image; According to the original resolution image, posture generation is performed through a convolution layer with a sigmoid activation function to obtain a grasping posture.

3. The robot grasping posture estimation method based on the improved generative residual network MetaCoorNet according to claim 1 is characterized in that: The grasping posture includes grasping position, grasping direction, grasping width and grasping quality score.

4. A robot grasping posture estimation system based on an improved generative residual network MetaCoorNet, the robot grasping posture estimation system based on an improved generative residual network MetaCoorNet is used to implement the robot grasping posture estimation method based on an improved generative residual network MetaCoorNet as claimed in any one of claims 1 to 3, characterized in that: The system includes an external camera, electronic equipment, and a robotic arm, wherein: The external camera is used to photograph the target scene to obtain a target image; The electronic device is used to construct a model according to the MCB module and the residual module to obtain an MCN grasping posture prediction model to be trained; use a preset training image to train the MCN grasping posture prediction model to obtain an MCN grasping posture prediction model; input the target image into the MCN grasping posture prediction model to obtain a grasping posture; according to a preset coordinate transformation homography matrix, coordinate transformation is performed on the grasping posture to obtain a robot grasping posture; according to the robot grasping posture and a preset robot kinematics model, inverse kinematics is solved to obtain a joint rotation angle value; Wherein, the MCN grasping posture prediction model includes an input layer, a feature extraction layer, a feature fusion layer and an output layer; The input layer includes a convolutional layer with 32 filters; The feature extraction layer includes an MCB module and a residual module; The feature fusion layer includes a repeated space operator, a refined channel operator and a convolution fusion module; The output layer includes a transposed convolution layer and a convolution layer with a sigmoid activation function; The step of inputting the target image into the MCN grasping posture prediction model to obtain the grasping posture includes: Preprocessing the target image to obtain a processed target image; Inputting the processed target image into the input layer for feature extraction to obtain a 32-channel feature map; Input the 32-channel feature map into the feature extraction layer to perform layer-by-layer feature extraction to obtain a multi-level feature map; Inputting the multi-level feature maps into the feature fusion layer for integration processing to obtain a fused feature map; Inputting the fused feature map into the output layer to generate a prediction result and obtain a grasping posture; The step of inputting the 32-channel feature map into the feature extraction layer for layer-by-layer feature extraction to obtain a multi-level feature map includes: According to the 32-channel feature map, a 3×3 convolution kernel is used to extract spatial features to obtain a local spatial feature map; Based on the coordinate attention mechanism, a learnable coordinate embedding vector is added to each channel of the local spatial feature map to obtain a spatial attention map; Performing an encoding operation according to the spatial attention map to obtain a spatial selective attention map; According to the spatial selective attention map, weighting the local spatial feature map to obtain a multi-level feature map; The step of performing an encoding operation according to the spatial attention map to obtain a spatial selective attention map includes: Performing a one-dimensional encoding operation on the spatial attention map along the horizontal direction to obtain a horizontal attention map; Performing a one-dimensional encoding operation on the spatial attention map along the vertical direction to obtain a vertical attention map; Multiplying the corresponding elements of the horizontal attention map and the vertical attention map to obtain a spatial selective attention map; The robotic arm is used to perform a grasping action through an actuator according to the joint rotation angle value.

5. A robot grasping posture estimation device, characterized in that: The robot grasping posture estimation device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Robot 6D grabbing attitude estimation method and system based on RGB image

    CN117474979A

  • Robot vision grabbing method and system in unstructured environment

    CN117549307A