6-DoF grabbing method and device for improving generalization of novel domain
By using techniques such as interpolation sampling point features and Gaussian noise in the grasping pose detection method, the problem of low accuracy in grasping small-scale and new objects is solved, and the generalization and adaptability of robot grasping in new domains are improved.
Patent Information
- Application Number
- CN202410678734.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-27
AI Technical Summary
Existing data-driven grasping pose detection methods have shortcomings in the grasping accuracy of small-scale objects and new objects, especially the low grasping accuracy of small-scale objects and the low grasping accuracy of new types of objects.
By obtaining the training data set, the sampling point features of the target object are extracted, and the original point features around it are interpolated into the sampling point features, and the grabbing pose is calculated to train the inference model. Gaussian noise and adaptive weighting technology are used to fuse different Scale interpolation sampling point features to improve the generalization of the model.
It effectively improves the grasping accuracy of small-scale and new types of objects, enhances the new domain generalization of the robot grasping method, and enables it to adapt to more and more complex application scenarios.
Smart Images

Figure CN118544347A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a 6-DoF grasping method and device for improving the generalization of new domains. Background Art
[0002] Robot grasping is a complex and important task in the field of artificial intelligence. Grasping plays an important role in industries, agriculture, and home services. Grasping tasks aim to generate reliable grasping postures on objects, which can cope with grasping objects of different shapes, materials, and sizes. Grasping posture detection refers to the process of accurately detecting and estimating the position and posture (pose) of the target object in three-dimensional space by using technical means such as sensors and algorithms. It is mainly divided into the stages of sensor collection of scene information, algorithm and data processing, calibration and correction. The traditional posture detection method is to find a stable force closure through object modeling and physical dynamics related to the gripper. This method has low generalization and robustness for unknown objects, and it is difficult to achieve the same assumptions as the simulation experiment in the real world, making it difficult to promote and apply.
[0003] With the application of deep learning in the field of computer vision, data-driven methods have developed rapidly. Compared with traditional methods, robots can obtain rich prior knowledge in simulated environments, which is very important for robots to perform grasping tasks in the real world. At the same time, this method has greatly improved the generalization of grasping models. The first is the grasping method based on target detection and segmentation. This type of method first detects and identifies the grasping object in the scene, and then generates the grasping posture. This method is limited by target detection and has slow development. In addition, it usually generates the grasping posture on the plane with 2D image data input, which has low degrees of freedom. Another method is to input the data into an end-to-end neural network model, process the data and regress the grasping posture. This method has a relatively high degree of operational freedom and is currently a hot research topic in robot grasping tasks.
[0004] At present, robot grasping has been widely used in the fields of home services, warehousing and logistics, medical care, etc. However, the shapes, materials, colors, sizes, etc. of the grasped objects in these work scenes are varied. This requires the robot to maintain high precision when grasping untrained objects, and there are high requirements for the generalization of the new domain of the robot grasping method. Based on the traditional grasping posture detection system, its design structure is relatively simple, and it only needs to generate a stable force closure on the 3D modeling surface of the object. However, the conditions in the experimental environment are very harsh. In the actual grasping experiment, it is more necessary to consider the material, size, shape, and even some unallowed grasping positions and angles of the object, so this method is difficult to promote to practical applications. For these problems, they have been well improved in the data-driven posture detection system. At present, most robot grasping systems and position detection systems use data-driven methods. The data-driven posture detection method is a method that uses a large amount of labeled data to train the model and predict the posture of the target object through the model. The following is the general process of the data-driven posture detection method:
[0005] Data collection: Collect a large amount of data containing the target object. The data can be images, point clouds, or depth maps containing the target object. For each data sample, the position and pose information of the target object needs to be annotated.
[0006] Data preprocessing: The collected data is preprocessed to prepare it for model training. Possible preprocessing steps include image denoising, image enhancement, data normalization, etc.
[0007] Data partitioning: Divide the dataset into training set, validation set and test set. The training set is used for model parameter learning, the validation set is used to adjust the model's hyperparameters and evaluate the model's performance, and the test set is used for the final model evaluation.
[0008] Feature extraction: Extract features from data to describe the target object. Features can be low-level features such as edges, textures, etc., or high-level features such as depth features, feature descriptors, etc. The feature extraction method can be selected according to the specific problem, such as using convolutional neural networks (CNN) for end-to-end feature extraction.
[0009] Model training: Use the training set to train the model. During the training process, the input features are paired with the pose of the target object, and the model parameters are optimized by minimizing the difference between the predicted pose and the true pose. Common training algorithms include gradient descent and back propagation.
[0010] Model validation and tuning: Use the validation set to evaluate the performance of the trained model. Based on the validation results, the model's hyperparameters, network structure, etc. can be adjusted to improve the accuracy and robustness of the model.
[0011] Model evaluation: Use the test set to evaluate the performance of the trained and tuned model. This can be done by calculating the model's pose prediction error, accuracy, and other metrics on the test set.
[0012] Application deployment: Deploy the trained and evaluated model to actual applications. In actual applications, by inputting new data samples, the model can predict the position and posture of the target object.
[0013] Although the existing data-driven grasping posture detection methods have become mature, they still have the following serious problems:
[0014] The grasping accuracy of small-scale objects is low. In the feature extraction stage, the model tends to focus on objects with relatively obvious features and ignore objects with less obvious features, which leads to the lower grasping accuracy of small-scale objects than large-scale objects.
[0015] The grasping accuracy of new objects is low. Due to the strong representation ability of the neural network, the model has a high success rate in processing trained objects, but it will also get wrong results with high confidence when processing new objects, which leads to a low success rate when grasping pose objects. Summary of the invention
[0016] The present invention provides a 6-DoF grasping method and device for improving the generalization of new domains, so as to solve the problems of low grasping accuracy of small-scale objects and low grasping accuracy of new objects in the prior art based on data-driven grasping posture detection method.
[0017] The present invention provides a 6-DoF grasping method for improving the generalization of new domains, the method comprising:
[0018] Get the training dataset;
[0019] Extracting sampling point features of the target object from the training data set;
[0020] Interpolating the original point features around the sampling point into the sampling point features to obtain interpolated sampling point features;
[0021] The grasping posture is calculated according to the interpolated sampling point features to train the inference model.
[0022] Preferably, the method further comprises: acquiring an initial data set, and adding Gaussian noise to the initial data set to acquire a training data set.
[0023] Preferably, the initial data set is the GraspNet-1Billion data set.
[0024] Preferably, the method further comprises: setting the mean of Gaussian noise to 0 and the variance to 1, and fusing the Gaussian noise with the backbone features in the initial data set to obtain a training data set.
[0025] Preferably, before extracting sampling point features of sampling points of target objects from the training data set, the method further comprises: adaptively weighting backbone features in the training data set.
[0026] Preferably, the method further comprises: fusing the interpolation sampling point features of different scales to obtain a fused feature;
[0027] The grasping posture is calculated according to the fusion feature.
[0028] Preferably, the method further comprises:
[0029] The point cloud data is denoised and downsampled to obtain the data to be inferred;
[0030] Inferring the data to be inferred through the inference model and outputting an initial 6-DoF pose;
[0031] Adding the initial 6-DoF pose to the camera hand-eye calibration to obtain the robot arm 6-DoF grasping pose;
[0032] According to the 6-DoF grasping posture of the robotic arm, the robotic arm is controlled to move to a specified posture and perform grasping.
[0033] The present invention discloses a 6-DoF grasping device for improving the generalization of a new domain, the device comprising:
[0034] A first acquisition unit, used to acquire a training data set;
[0035] A second acquisition unit, used to extract sampling point features of the target object from the training data set;
[0036] An interpolation unit, used for interpolating original point features around a sampling point into the sampling point features to obtain interpolated sampling point features;
[0037] A training unit is used to calculate the grasping posture according to the interpolation sampling point features to train the inference model.
[0038] A device comprises a processor and a memory, wherein the processor implements any of the above methods when executing a computer program stored in the memory.
[0039] A computer-readable storage medium in the present invention stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any of the methods described above.
[0040] The method of the present invention can maintain high accuracy for untrained objects and has high generalization for new domains of robot grasping methods. It effectively improves the current situation of low grasping accuracy for new objects and small-scale objects. Compared with traditional robot grasping systems, it can adapt to more and more complex application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a flow chart of a 6-DoF grasping method for improving generalization of new domains in an embodiment of the present invention;
[0042] Figure 2 4 is a structural diagram of a 6-DoF grasping device for improving the generalization of new domains in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0044] It should be understood that in the various embodiments of this document, 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 this document.
[0045] The specific embodiment of the present invention provides a 6-DoF grasping method that improves the generalization of new domains, such as Figure 1 As shown, the method includes:
[0046] Step 100, obtaining a training data set. Specifically, the training data set can use existing known data, and the data volume reaches about one billion levels, which is convenient for more accurate training of the inference model. The training data set includes a variety of objects, grasping scenes and different grasping postures.
[0047] Step 200, extracting sampling point features of the target object from the training data set. Specifically, the inference model uses the point set as the input of the network, and needs to obtain the features of the sampling points from the training data set in advance, that is, the sampling point features in the present invention, which are used to subsequently calculate the grasping posture of each point.
[0048] Step 300, interpolate the original point features around the sampling point into the sampling point features to obtain the interpolated sampling point features. Specifically, in order to enhance the local geometric representation of the sampling point, the embodiment of the present invention facilitates the subsequent better training of the inference model. In a specific embodiment, the local feature interpolation method is used to interpolate the original point features around the sampling point into the sampling point features. The sampling point feature of the sampling point is F, and the distance between the two points is grouped to select the n original point set X that is within the sphere with a radius of r of the sampling point and is closest to the sampling point. The original point feature is f i , (i∈X), the distance from the original point to the sampling point is l i (l i <r). Set the distance between the sampling point and the original point to be greater than the error distance d (d<<l i ), if l i ≤d indicates that the two points coincide and have the same characteristics, so l is used i + d to indicate the first distance (d<<l i , error distance to weight coefficient W i The influence of can be ignored, and the weight coefficient of the original point is W i
[0049]
[0050] The weighted features of the original points are:
[0051]
[0052] in
[0053]
[0054] The interpolation sampling point feature F after interpolation new :
[0055]
[0056] Step 400, calculate the grasping posture according to the interpolation sampling point features to train the inference model. Specifically, after obtaining the interpolation sampling point features, calculate different grasping postures according to the interpolation sampling point features, and repeat the above steps according to the data in the training data set as needed to train the inference model.
[0057] The present invention achieves the purpose of enhancing local features by aggregating local features around sampling points through local feature interpolation and increasing the geometric representation of local features, thereby realizing the capture of new types of objects such as small-scale and generalized objects and improving the capture accuracy of related objects.
[0058] The 6-DoF grasping method for improving the generalization of new domains described in the embodiment of the present invention preferably further includes: obtaining an initial data set, and adding Gaussian noise to the initial data set to obtain a training data set. Specifically, adding Gaussian noise can increase the difficulty of network training and reduce the empirical risk of the inference model when processing new objects. In a preferred embodiment, Gaussian noise is added to the backbone features in the initial data set.
[0059] In the 6-DoF grasping method for improving generalization of new domains described in the embodiment of the present invention, preferably, the initial data set is the GraspNet-1Billion data set. The GraspNet-1Billion data set is a large-scale 6-DoF grasping data set, which includes 88 objects, 190 grasping scenes, and more than one billion grasping poses, and is suitable as a training data set for the inference model of 6-DoF grasping with generalization of new domains.
[0060] The 6-DoF grasping method for improving the generalization of new domains described in the embodiment of the present invention preferably further includes: setting the mean of Gaussian noise to 0 and the variance to 1, and fusing the Gaussian noise with the backbone features in the initial data set to obtain a training data set. This increases the difficulty of network training and reduces the empirical risk of the inference model when processing new objects.
[0061] The 6-DoF capture method for improving the generalization of new domains described in the embodiment of the present invention is preferably that before extracting the sampling point features of the target object sampling points in the training data set, the method also includes: adaptively weighting the backbone features in the training data set. The backbone features are adaptively weighted by designing residual blocks to improve the accuracy of point-by-point features. In a specific embodiment, a simple multi-layer perceptron MLP is used to design residual blocks, and the backbone features are adaptively weighted. The weighted backbone features are mapped to:
[0062] H(F)=ReLU{W(F)+F}
[0063] Among them, H(F) is the weighted backbone feature, Rule{} represents the nonlinear layer, and W(F) is the weight function.
[0064] The 6-DoF capture method for improving the generalization of new domains described in the embodiment of the present invention preferably further comprises: fusing the interpolation sampling point features of different scales to obtain fused features;
[0065] The grasping posture is calculated according to the fusion feature.
[0066] Specifically, the position and deflection direction of the center of the cylinder are determined by the coordinates of M seed points and the proximity vector through the multi-scale cylinder local feature extraction method. The features in the four cylinders with different radii are spliced, and the geometric features of different sizes within the width of the gripper are fused using a multi-layer perceptron to obtain the feature G F
[0067] G F =MLP(concat(F 0.25 ,F 0.5 ,F 0.75 ,F1))
[0068] Among them, 0.25, 0.5, 0.75.1 are different multiples of the gripper width, and MLP refers to multi-layer perceptron. Through the multi-scale cylinder local feature extraction method, features of different scales can be extracted and fused to improve the grasping accuracy of small-scale objects.
[0069] The 6-DoF grasping method for improving the generalization of new domains described in the embodiment of the present invention preferably further includes:
[0070] The point cloud data is processed by denoising and downsampling to obtain the data to be inferred. Specifically, the scene is photographed by a camera to obtain the point cloud data. The data to be inferred after denoising and downsampling the point cloud data can be fed into the trained inference model.
[0071] Inferring the data to be inferred through the inference model and outputting an initial 6-DoF pose;
[0072] Adding the initial 6-DoF pose to the camera hand-eye calibration to obtain the robot arm 6-DoF grasping pose;
[0073] According to the 6-DoF grasping posture of the robotic arm, the robotic arm is controlled to move to a specified posture and perform grasping.
[0074] Preferably, in a specific embodiment of the present invention, the robotic arm adopts AUO i5, the camera is a Kinect camera, and the end of the robotic arm is a two-finger gripper.
[0075] The specific embodiment of the present invention provides a 6-DoF grasping device that improves the generalization of new domains, such as Figure 2 As shown, the device comprises:
[0076] A first acquisition unit 201 is used to acquire a training data set;
[0077] A second acquisition unit 202 is used to extract sampling point features of the target object from the training data set;
[0078] An interpolation unit 203, configured to interpolate original point features around the sampling point into the sampling point features to obtain interpolated sampling point features;
[0079] The training unit 204 is used to calculate the grasping posture according to the interpolated sampling point features to train the inference model.
[0080] The grasping device described in the above embodiment of the present invention can maintain high precision even for untrained objects, and has high generalization characteristics for new domains of robot grasping methods, which effectively improves the current situation of low grasping precision of new objects and small-scale objects, and can adapt to more and more complex application scenarios compared to traditional robot grasping systems.
[0081] A specific embodiment of the present invention further provides a device, comprising a processor and a memory, wherein the processor implements any of the above methods when executing a computer program stored in the memory.
[0082] A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method described in any one of the above specific embodiments.
[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0084] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0087] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A 6-DoF grasping method for improving generalization to new domains, characterized in that: The method comprises: Get the training dataset; Extracting sampling point features of the target object from the training data set; Interpolating the original point features around the sampling point into the sampling point features to obtain interpolated sampling point features; The grasping posture is calculated according to the interpolated sampling point features to train the inference model.
2. The 6-DoF grasping method for improving generalization of new domains according to claim 1, characterized in that: The method further includes: acquiring an initial data set, and adding Gaussian noise to the initial data set to acquire a training data set.
3. The 6-DoF grasping method for improving generalization of new domains according to claim 2, characterized in that: The initial data set is the GraspNet-1Billion data set.
4. The 6-DoF grasping method for improving generalization of new domains according to claim 2, characterized in that: The method further includes: setting the mean of Gaussian noise to 0 and the variance to 1, and fusing the Gaussian noise with the backbone features in the initial data set to obtain a training data set.
5. The 6-DoF grasping method for improving generalization of novel domains according to claim 1, characterized in that: Before extracting sampling point features of sampling points of target objects from the training data set, the method further includes: adaptively weighting backbone features in the training data set.
6. The 6-DoF grasping method for improving generalization of novel domains according to claim 1, characterized in that: The method further comprises: fusing the interpolation sampling point features of different scales to obtain a fused feature; The grasping posture is calculated according to the fusion feature.
7. The 6-DoF grasping method for improving generalization of novel domains according to claim 1, characterized in that: The method further comprises: The point cloud data is denoised and downsampled to obtain the data to be inferred; Inferring the data to be inferred through the inference model and outputting an initial 6-DoF pose; Adding the initial 6-DoF pose to the camera hand-eye calibration to obtain the robot arm 6-DoF grasping pose; According to the 6-DoF grasping posture of the robotic arm, the robotic arm is controlled to move to a specified posture and perform grasping.
8. A 6-DoF grasping device for improving generalization to new domains, characterized in that: The device comprises: A first acquisition unit, used to acquire a training data set; A second acquisition unit, used to extract sampling point features of the target object from the training data set; An interpolation unit, used for interpolating original point features around a sampling point into the sampling point features to obtain interpolated sampling point features; A training unit is used to calculate the grasping posture according to the interpolation sampling point features to train the inference model.
9. A device, characterized in that: The method comprises a processor and a memory, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any one of claims 1 to 7.
