Method and system for determining grabbing pose of mechanical arm

By analyzing the image characteristic lines and structures of the objects grasped by the robotic arm, the optimal grasping posture is determined, which solves the problem of the robotic arm falling off when grasping on non-flat surfaces, and improves the stability and adaptability of the grasping force.

CN118528263AActive Publication Date: 2024-08-23JIMEI UNIV +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410732390.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-23
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Existing robotic arms often fall off due to uncertain grasping positions when grabbing objects. In particular, the suction cup robotic arms have insufficient gripping power on non-flat surfaces, making it difficult to adapt to objects of different shapes and sizes.

Method used

By analyzing multi-angle images of the object to be grasped, using neural networks to extract feature lines, optimizing the overall structural outline, determining the initial grasping surface, selecting the optimal grasping plane and center point, and combining the attitude and rotation axis of the robotic arm, the inverse solution Calculate and determine the optimal grasping position to reduce falling off.

Benefits of technology

It improves the adaptability of the mechanical arm to different objects to be grasped, reduces the occurrence of shedding, and improves the stability and accuracy of the grasping force.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528263A
    Figure CN118528263A
Patent Text Reader

Abstract

The invention discloses a mechanical arm grabbing pose determination method and system, and relates to the field of mechanical arms, and the method comprises the steps: collecting a multi-angle image of a to-be-grabbed object, inputting the multi-angle image into a neural network, and extracting a feature line of the to-be-grabbed object; the optimal feature line is selected to construct an overall structure contour line of the to-be-grabbed object; performing form judgment on a plane graph formed by the overall structure contour lines to obtain an initial grabbing surface set; performing roughness judgment on plane graphs in the initial grabbing plane set, and selecting an optimal grabbing plane and a corresponding grabbing center point; according to the grabbing center point and the normal vector of the optimal grabbing plane, the wrist posture of the mechanical arm and the center point coordinate of a wrist swing shaft are determined; and according to the central point coordinates of the wrist swing shaft and the central point coordinates of the arm rotating shaft of the mechanical arm, the grabbing pose of the mechanical arm is determined through inverse solution. According to the method, the grabbed surface can be analyzed, the optimal grabbing surface is selected, then the grabbing posture of the mechanical arm is determined, and the phenomenon that the mechanical arm falls off during grabbing is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robotic arms, and more particularly to a method and system for determining a gripping posture of a robotic arm. Background Art

[0002] With the development and application of robot technology, robotic arms are widely used in industrial production, logistics and transportation, resource exploration, surgical medicine, aerospace and military fields. Among them, the six-axis industrial robotic arm has six degrees of freedom and can move in multiple directions in space to complete complex work tasks. It has good applicability in assembly, grasping and handling, grinding and polishing and other operations.

[0003] Common six-axis manipulators usually use claw structures or suction cup structures to grab and carry objects. Claw-type manipulators usually need to design and adjust the shape, size, and number of the claws according to the size and shape of the grasped object, resulting in the claw-type manipulator's low adaptability to the grasped object; suction cup manipulators can adapt to grasped objects of various structures and shapes, and compared with claw-type grasping structures, suction cup structures have the advantages of simple and quick operation, and are not easy to cause damage to grasped objects. However, the grasping force of the suction cup manipulator is easily affected by the surface flatness of the grasped object, and the contact surface flatness of the suction cup and the grasped object is different in different grasping postures. When the flatness is insufficient, the grasped object is prone to fall off.

[0004] Therefore, how to determine the gripping posture of the robot arm to reduce the occurrence of falling off is an urgent problem that technicians in this field need to solve. Summary of the invention

[0005] In view of this, the present invention provides a method and system for determining the grasping posture of a robot arm, which determines the optimal grasping surface by analyzing the roughness of each surface of the object to be grasped, and then determines the grasping posture of the robot arm according to the optimal grasping surface, thereby reducing the occurrence of the grasped object falling off.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] The present invention discloses a method for determining a grasping posture of a robot arm, and the specific steps are as follows:

[0008] Collect multi-angle images of the object to be grasped, and input them into a neural network to extract feature lines of the object to be grasped;

[0009] According to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped;

[0010] Performing morphological judgment on the plane figure formed by the overall structural contour line to obtain an initial grasping surface set; performing roughness judgment on the plane figure in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point;

[0011] According to the grasping center point and the normal vector of the optimal grasping plane, the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis are determined; according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the mechanical arm rotation axis, the grasping posture of the robot arm is determined by inverse solution.

[0012] Furthermore, the feature optimization model is expressed as:

[0013] E(L b )=E data (L b )+λE smooth (L b );

[0014] Among them, L b represents the candidate feature line set, E data (L b ) is a data item, representing the length and direction of the candidate feature line set; E smooth (L b ) is a smoothing term, which characterizes the relationship between line segments in the candidate feature line set; λ is a weight coefficient, which defines the importance of the data term and the smoothing term; b is the feature mark of the feature line, 1 represents the overall structural contour line, and 0 represents the unclassified feature line.

[0015] Further, the data item is expressed as:

[0016]

[0017]

[0018] Among them, D(l c ) represents the characteristic line l c data items, is the characteristic line l c The length, l max is the longest line segment in the feature line set, m c Indicates that c The number of characteristic lines with the same direction, m represents L b The number of subsets of the same-direction characteristic line set M, α and β represent the weights of the two items respectively.

[0019] Furthermore, the smoothing term is expressed as:

[0020]

[0021] Where N represents the set of adjacent feature lines, V c,g (l c ,l g ) is used to measure the two adjacent characteristic lines l c , l g The smaller the value, the smoother it is. It is defined as follows:

[0022]

[0023] Among them, (distlc,lg) represents the characteristic line l c With l g The closest geometric distance, f(c,g), is an indicator if the feature line l c With l g The value is 0 if there is a direct intersection, and 1 otherwise.

[0024] Furthermore, the morphology judgment includes:

[0025] Sampling the plane figure at equal angle intervals to obtain a set of sampling points of the plane figure;

[0026] Determine the initial center coordinates of the maximum inscribed circle of the plane figure according to the sampling point set;

[0027] Determine the center range of the actual maximum inscribed circle according to the coordinates of the initial center of the maximum inscribed circle, take each point within the center range as the center, determine the radius of the inscribed circle of each point within the center range, and take the coordinates of the point with the largest inscribed circle radius and the inscribed circle radius as the actual center and actual radius of the maximum inscribed circle of the plane figure;

[0028] The initial grasping surface set is obtained by taking the plane figure whose actual radius is larger than the outer edge radius of the robot arm suction cup as the initial grasping surface.

[0029] Furthermore, the calculation formula of the initial coordinates (x0, y0) of the maximum inscribed circle is:

[0030]

[0031]

[0032] Where n is the total number of sampling points in the sampling point set P; r i ,θ i are the midpoints p in the sampling point set P i The sampling radius and sampling angle;

[0033] The circle center range is a circular area with point (x0, y0) as the center and r0 as the radius;

[0034] The radius r of the inscribed circle of the point within the center of the circlej for:

[0035] r j =MINd ij (p j ,p i ), p i ∈P;

[0036]

[0037] Among them, MINd ij (p j ,p i ) represents a point p within the center of the actual maximum inscribed circle j The minimum distance from all points in the sampling point set P; (x i ,y i ), (x j ,y j ) are points p i , p j The coordinates of .

[0038] Furthermore, the roughness determination includes:

[0039] Acquire point cloud data of each plane figure in the initial grasping surface set, and obtain plane equations of each plane figure by fitting;

[0040] The annular area where the suction cup actually contacts each plane figure is determined by the actual center of each plane figure, the outer edge radius and the inner edge radius of the robot arm suction cup, and the roughness is represented by the average distance between each point in the annular area and the plane equation. The plane figure with the smallest roughness is the optimal grasping plane, and the corresponding actual center of the circle is the grasping center point.

[0041] Furthermore, the plane equations of the fitted plane figures include:

[0042] Assume the plane equation is: a1x′+a2y′+a3z′+1=0;

[0043] The objective function is: Indicates that the distance from each point on the plane figure to the plane equation is the shortest; where n′ is the total number of point clouds of the plane figure, x′ k ,y′ k ,z′ k The three-axis coordinates of each point on the plane figure, a1, a2, a3 are the constant terms of the plane equation; the matrix form of the plane equation is expressed as:

[0044]

[0045] After solving the matrix, we get the plane equation of the plane figure.

[0046] Furthermore, the inverse solution includes:

[0047] Determine the rotation angle of the rotation axis according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the rotation axis;

[0048] Determine the coordinates of the center point of the lower arm axis according to the coordinates of the center point of the rotation axis and the length of the support arm; determine the swing angle of the lower arm axis according to the angle between the line connecting the coordinates of the center point of the lower arm axis and the coordinates of the center point of the wrist swing axis and the horizontal plane;

[0049] Determine the swing angle of the upper arm axis according to the distance between the coordinates of the center point of the lower arm axis and the coordinates of the center point of the wrist swing axis, as well as the length of the lower arm and the length of the upper arm;

[0050] Determine the coordinates of the center point of the upper arm axis according to the coordinates of the center point of the lower arm axis and the swing angle of the lower arm axis; determine the direction vector of the upper arm according to the coordinates of the center point of the upper arm axis and the coordinates of the center point of the wrist swing axis; determine the rotation angle of the wrist rotation axis and the swing angle of the wrist swing axis according to the direction vector of the upper arm and the direction vector of the wrist.

[0051] The present invention also discloses a robot arm grasping posture determination system, comprising:

[0052] Feature line extraction module: collects multi-angle images of the object to be grasped, and inputs them into the neural network to extract the feature lines of the object to be grasped;

[0053] Contour line generation module: according to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped;

[0054] Grasping surface generation module: perform morphological judgment on the plane figure formed by the overall structure contour line to obtain an initial grasping surface set; perform roughness judgment on the plane figure in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point;

[0055] Posture determination module: Determine the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis according to the grasping center point and the normal vector of the optimal grasping plane; determine the grasping posture of the robot arm through inverse solution according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the rotation axis of the robot arm.

[0056] Through the above technical solutions, it can be known that compared with the prior art, the present invention discloses a method and system for determining the grasping posture of a robot arm, which can accurately and quickly extract the feature lines of the object to be grasped through images and neural network models; by preferentially selecting the extracted feature lines, a simplified overall contour representing the object to be grasped can be obtained, thereby reducing the amount of calculation for grasping surface judgment; by judging the morphology of the initial grasping surface, the amount of calculation for roughness analysis can be reduced, and the system operation speed can be improved; finally, the grasping surface with the best flatness is preferentially selected, and the posture of the robot arm wrist is determined according to the grasping point and the normal vector of the grasping surface, and the final grasping posture of the robot arm is further determined by inverse solution. The present invention can analyze the grasped surface and select the optimal grasping surface, thereby determining the grasping posture of the robot arm, reducing the phenomenon of the robot arm grasping and falling off, and improving the adaptability of the robot arm to different objects to be grasped. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0058] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present invention.

[0059] Figure 2 Schematic diagram of a robotic arm according to an embodiment of the present invention.

[0060] In the figure, 1, rotation axis; 2, supporting arm; 3, lower arm axis; 4, lower arm; 5, upper arm axis; 6, upper arm; 7, wrist rotation axis; 8, wrist swing axis; 9, wrist; 10, wrist rotation axis; 11, suction cup. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] The embodiment of the present invention discloses a method for determining a grasping posture of a robot arm, such as Figure 1 As shown, the specific steps are as follows:

[0063] Collect multi-angle images of the object to be grasped and input them into the neural network to extract the feature lines of the object to be grasped;

[0064] According to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped;

[0065] Perform morphological judgment on the plane figure formed by the overall structural contour line to obtain the initial grasping surface set; perform roughness judgment on the plane figure in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point;

[0066] According to the grasping center point and the normal vector of the optimal grasping plane, the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis are determined; according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the mechanical arm rotation axis 1, the grasping posture of the robot arm is determined by inverse solution.

[0067] In a specific embodiment, the neural network is an improved three-branch YOLOv5 neural network, in which the head structure of the YOLOv5 neural network is divided into multiple branches, each branch is responsible for predicting a set of target frames of different scales; the CBAM attention module is introduced into the backbone and feature fusion layer of the YOLOv5 neural network; and the MBConv convolution module is used to replace the ordinary convolution module in the YOLOv5 neural network.

[0068] Images with depth information are collected by setting RGB-D cameras in front, behind, left, right and above the object to be grasped, and input into the improved three-branch YOLOv5 neural network to identify the feature lines of the object to be grasped. The improved three-branch YOLOv5 neural network has three branches, so that feature lines of different scales can be better identified; and the attention module is introduced to improve the accuracy of feature line recognition; the MBConv convolution module is a lightweight convolution module, which can effectively reduce the parameters in the convolution process compared with the traditional convolution module. The improved MBConv convolution module replaces the convolution module of the original YOLOv5 neural network, thereby improving the speed of model training and recognition. After identifying the feature lines using the improved three-branch YOLOv5 neural network, the camera three-dimensional coordinates of each pixel on the feature line are determined according to the depth information of the image, and the coordinates are converted to three-dimensional coordinates with the center point of the robot arm's rotation axis as the origin coordinate.

[0069] In a specific embodiment, the feature optimization model is expressed as:

[0070] E(L b )=E data (L b )+λE smooth (L b );

[0071] in, The candidate feature line set h is the total number of feature lines, E data (L b) is a data item, representing the length and direction of the candidate feature line set; E smooth (L b ) is a smoothing term, which characterizes the relationship between line segments in the candidate feature line set; λ is a weight coefficient, which defines the importance of the data term and the smoothing term; b is the feature mark of the feature line, 1 represents the overall structural contour line, and 0 represents the unclassified feature line.

[0072] Specifically, when the feature optimization model is used to select the optimal feature line, the initial feature marks of all feature lines are first set to 0, where the feature marks of the feature lines are only used to mark whether the feature lines have been classified and do not affect the calculation of the optimization value. Then, the feature lines are judged one by one to see whether they are the optimal feature lines, specifically: the optimization value E1 of the current candidate feature line set and the optimization value E′1 of the candidate feature line set when the feature line to be classified is not included are calculated respectively. If E1 is less than or equal to E′1, the feature line is removed from the candidate feature line set; if E1 is greater than E′1, the feature mark of the feature line is set to 1, and the classification judgment of the next feature line is continued. Finally, when the feature marks of all feature lines in the candidate feature line set are 1, the feature line optimization ends, and the feature lines of the selected feature line set at this time are used as the overall structural contour lines.

[0073] In a specific embodiment, the data items are represented as:

[0074]

[0075]

[0076] Among them, D(l c ) represents the characteristic line l c data items, is the characteristic line l c The length, l max is the longest line segment in the feature line set, m c Indicates that c The number of characteristic lines with the same direction, m represents L b The number of subsets of the same-direction characteristic line set M, α and β represent the weights of the two items respectively.

[0077] The smoothing term is expressed as:

[0078]

[0079] Where N represents the set of adjacent feature lines, V c,g (l c ,l g ) is used to measure the two adjacent characteristic lines l c , l g The smaller the value, the smoother it is. It is defined as follows:

[0080]

[0081] Among them, (distlc,lg) represents the characteristic line l c With l g The closest geometric distance, f(c,g), is an indicator if the feature line l c With l g The value is 0 if there is a direct intersection, and 1 otherwise.

[0082] In a specific embodiment, the morphology determination includes:

[0083] The plane figure is sampled at equal angle intervals to obtain a sampling point set of the plane figure; the initial center coordinates of the maximum inscribed circle of the plane figure are determined according to the sampling point set;

[0084] Determine the center range of the actual maximum inscribed circle according to the coordinates of the initial center of the maximum inscribed circle, take each point within the center range as the center, determine the radius of the inscribed circle of each point within the center range, and take the coordinates of the point with the largest inscribed circle radius and the inscribed circle radius as the actual center and actual radius of the maximum inscribed circle of the plane figure;

[0085] The initial grasping surface set is obtained by taking a plane figure whose actual radius is larger than the outer edge radius of the robot arm suction cup as the initial grasping surface.

[0086] Specifically, for the convenience of calculation, after obtaining multiple plane figures according to the overall structural contour line, all the plane figures are placed in a plane coordinate system of uniform size, and sampling is performed at equal angles with the origin of the coordinate system as the starting point. Then, the maximum inscribed circle radius is calculated, and the grasping plane that meets the grasping requirements of the suction cup is selected by judging the size of the inscribed circle and the outer edge of the robot arm suction cup.

[0087] In a specific embodiment, the calculation formula of the initial coordinates (x0, y0) of the maximum inscribed circle is:

[0088]

[0089]

[0090] Where n is the total number of sampling points in the sampling point set P; r i ,θ i are the midpoints p in the sampling point set P i The sampling radius and sampling angle;

[0091] The circle center range is a circular area with point (x0, y0) as the center and r0 as the radius;

[0092] The radius r of the inscribed circle of the point within the center of the circle j for:

[0093] r j =MINd ij (p j ,p i ), p i ∈P;

[0094]

[0095] Among them, MINd ij (p j ,p i ) represents a point p within the center of the actual maximum inscribed circle j The minimum distance from all points in the sampling point set P; (x i ,y i ), (x j ,y j ) are points p i , p j The coordinates of .

[0096] In a specific embodiment, the roughness determination includes:

[0097] Obtain the point cloud data of each plane figure in the initial grasping surface set, and obtain the plane equation of each plane figure by fitting;

[0098] The annular area where the suction cup actually contacts each plane figure is determined by the actual center of each plane figure, the outer radius and inner radius of the robot arm suction cup. The roughness is represented by the average distance between each point in the annular area and the plane equation. The plane figure with the smallest roughness is the optimal grasping plane, and the corresponding actual center of the circle is the grasping center point.

[0099] Specifically, the point cloud data of each plane figure can be obtained by using a laser radar, ultrasonic radar, etc. installed on the robotic arm, and the plane equation is fitted and the roughness of the annular area actually in contact is calculated. The plane with the best flatness in the initial grasping plane set can be selected to ensure that the final grasping posture can maximize the grasping force of the suction cup and reduce falling.

[0100] In a specific embodiment, the plane equations of the plane figures obtained by fitting include:

[0101] Assume the plane equation is: a1x′+a2y′+a3z′+1=0;

[0102] The objective function is: Indicates that the distance from each point on the plane figure to the plane equation is the shortest, where n′ is the total number of point clouds of the plane figure, and x′ k ,y′ k ,z′ kThe three-axis coordinates of each point on the plane figure, a1, a2, a3 are the constant terms of the plane equation; then:

[0103]

[0104]

[0105]

[0106] The matrix form of the plane equation is:

[0107]

[0108] After solving the matrix, we get the plane equation of the plane figure.

[0109] In a specific embodiment, Figure 2 As shown, the robot arm includes a rotating shaft 1, a supporting arm 2, a lower arm shaft 3, a lower arm 4, an upper arm shaft 5, an upper arm 6, a wrist swing shaft 8, a wrist 9, a wrist rotation shaft 10, and a suction cup 11, which are connected in sequence, wherein the upper arm shaft 5 is also provided with a wrist rotating shaft 7; the rotating shaft 1 is used to control the robot arm to rotate circumferentially in the horizontal plane, the lower arm shaft 3 and the upper arm shaft 5 are used to control the lower arm 4 and the upper arm 6 to swing up and down in the vertical plane respectively, the wrist 9 is controlled to realize two-axis spherical motion through the wrist rotating shaft 7 and the wrist swing shaft 8, and the suction cup 11 is controlled to rotate circumferentially through the wrist rotation shaft 10.

[0110] The inverse solution includes:

[0111] Determine the rotation angle of the rotation axis 1 according to the coordinates of the center point of the wrist swing axis 8 and the coordinates of the center point of the rotation axis 1;

[0112] According to the coordinates of the center point of the rotating axis 1 and the length of the supporting arm 2, the coordinates of the center point of the lower arm axis 3 are determined; according to the angle between the line connecting the coordinates of the center point of the lower arm axis 3 and the coordinates of the center point of the wrist swing axis 8 and the horizontal plane, the swing angle of the lower arm axis 3 is determined;

[0113] The swing angle of the upper arm axis 5 is determined according to the distance between the coordinates of the center point of the lower arm axis 3 and the coordinates of the center point of the wrist swing axis 8, as well as the length of the lower arm 4 and the length of the upper arm 6;

[0114] Determine the coordinates of the center point of the upper arm axis 5 based on the coordinates of the center point of the lower arm axis 3 and the swing angle of the lower arm axis 3; determine the direction vector of the upper arm 6 based on the coordinates of the center point of the upper arm axis 5 and the coordinates of the center point of the wrist swing axis 8; determine the rotation angle of the wrist rotation axis 7 and the swing angle of the wrist swing axis 8 based on the direction vector of the upper arm 6 and the direction vector of the wrist 9.

[0115] The coordinates of the center point of the rotation axis 1 are the intersection of the rotation axis of the rotation axis 1 and the horizontal plane; the center points of the lower arm axis 3, the upper arm axis 5, and the wrist swing axis 8 are the intersections of their respective rotation axis center lines with the center lines of the lower arm 4, the upper arm 6, and the wrist 9 in the length direction.

[0116] In a specific embodiment, it also includes performing a collision judgment on the determined robot arm posture. When it is judged that a collision occurs, the determined optimal grasping plane is removed from the initial grasping plane set, and the optimal grasping plane is reselected.

[0117] The embodiment of the present invention also discloses a system for determining a grasping posture of a robot arm, comprising:

[0118] Feature line extraction module: collects multi-angle images of the object to be grasped, and inputs them into the neural network to extract the feature lines of the object to be grasped;

[0119] Contour line generation module: According to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped;

[0120] Grasping surface generation module: Perform morphological judgment on the plane figures formed by the overall structural contour line to obtain the initial grasping surface set; perform roughness judgment on the plane figures in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point;

[0121] Posture determination module: Determine the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis based on the grasping center point and the normal vector of the optimal grasping plane; determine the grasping posture of the robot arm through inverse solution based on the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the rotation axis of the robot arm.

[0122] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0123] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for determining the grasping posture of a robotic arm, It is characterized in that The specific steps are as follows: Collect multi-angle images of the object to be grasped, and input them into a neural network to extract feature lines of the object to be grasped; According to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped; Performing morphological judgment on the plane figure formed by the overall structural contour line to obtain an initial grasping surface set; performing roughness judgment on the plane figure in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point; According to the grasping center point and the normal vector of the optimal grasping plane, the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis are determined; according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the mechanical arm rotation axis, the grasping posture of the robot arm is determined by inverse solution.

2. A method for determining a grasping posture of a robot arm according to claim 1, It is characterized in that The feature optimization model is expressed as: E(L b )=E data (L b )+λE smooth (L b ); Among them, L b represents the candidate feature line set, E data (L b ) is a data item, representing the length and direction of the candidate feature line set; E smooth (L b ) is a smoothing term, which characterizes the relationship between line segments in the candidate feature line set; λ is a weight coefficient, which defines the importance of the data term and the smoothing term; b is the feature mark of the feature line, 1 represents the overall structural contour line, and 0 represents the unclassified feature line.

3. A method for determining a gripping posture of a robot arm according to claim 2, It is characterized in that The data items are represented as: Among them, D(l c ) represents the characteristic line l c data items, is the characteristic line l c The length, l max is the longest line segment in the feature line set, m c Indicates that c The number of characteristic lines with the same direction, m represents L b The number of subsets of the same-direction characteristic line set M, α and β represent the weights of the two items respectively.

4. A method for determining a grasping posture of a robot arm according to claim 2, It is characterized in that The smoothing term is expressed as: Where N represents the set of adjacent feature lines, V c,g (l c ,l g ) is used to measure the two adjacent characteristic lines l c , l g The smaller the value, the smoother it is. It is defined as follows: Among them, (distlc,lg) represents the characteristic line l c With l g The closest geometric distance, f(c,g), is an indicator if the feature line l c With l g The value is 0 if there is a direct intersection, otherwise it is 1.

5. A method for determining a grasping posture of a robot arm according to claim 1, It is characterized in that The morphological judgment includes: Sampling the plane figure at equal angle intervals to obtain a set of sampling points of the plane figure; Determine the initial center coordinates of the maximum inscribed circle of the plane figure according to the sampling point set; Determine the center range of the actual maximum inscribed circle according to the coordinates of the initial center of the maximum inscribed circle, take each point within the center range as the center, determine the radius of the inscribed circle of each point within the center range, and take the coordinates of the point with the largest inscribed circle radius and the inscribed circle radius as the actual center and actual radius of the maximum inscribed circle of the plane figure; The initial grasping surface set is obtained by taking the plane figure whose actual radius is larger than the outer edge radius of the robot arm suction cup as the initial grasping surface.

6. A method for determining a grasping posture of a robot arm according to claim 5, It is characterized in that The initial coordinates of the maximum inscribed circle (x 0 ,y 0 ) is calculated as: Where n is the total number of sampling points in the sampling point set P; r i ,θ i are the midpoints p in the sampling point set P i The sampling radius and sampling angle; The center range is from point (x 0 ,y 0 ) is the center of the circle, r 0 is a circular area with a radius of The radius r of the inscribed circle of the point within the center of the circle j for: r j =MINd ij (p j ,p i ),p i ∈P; Among them, MINd ij (p j ,p i ) represents a point p within the center of the actual maximum inscribed circle j The minimum distance from all points in the sampling point set P; (x i ,y i ), (x j ,y j ) are points p i , p j The coordinates of .

7. A method for determining a grasping posture of a robot arm according to claim 5, It is characterized in that The roughness judgment includes: Acquire point cloud data of each plane figure in the initial grasping surface set, and obtain plane equations of each plane figure by fitting; The annular area where the suction cup actually contacts each plane figure is determined by the actual center of each plane figure, the outer edge radius and the inner edge radius of the robot arm suction cup, and the roughness is represented by the average distance between each point in the annular area and the plane equation. The plane figure with the smallest roughness is the optimal grasping plane, and the corresponding actual center of the circle is the grasping center point.

8. A method for determining a grasping posture of a robot arm according to claim 7, It is characterized in that The plane equations of the fitted plane figures include: Let the plane equation be: 1 x′+a 2 y′+a 3 z′+1=0; The objective function is: Indicates that the distance from each point on the plane figure to the plane equation is the shortest; where n′ is the total number of point clouds of the plane figure, x′ k ,y′ k ,z′ k The three-axis coordinates of each point on the plane figure, a 1 ,a 2 ,a 3 is the constant term of the plane equation; the matrix form of the plane equation is expressed as: After solving the matrix, we get the plane equation of the plane figure.

9. A method for determining a grasping posture of a robot arm according to claim 1, It is characterized in that The inverse solution includes: Determine the rotation angle of the rotation axis according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the rotation axis; Determine the coordinates of the center point of the lower arm axis according to the coordinates of the center point of the rotation axis and the length of the support arm; determine the swing angle of the lower arm axis according to the angle between the line connecting the coordinates of the center point of the lower arm axis and the coordinates of the center point of the wrist swing axis and the horizontal plane; Determine the swing angle of the upper arm axis according to the distance between the coordinates of the center point of the lower arm axis and the coordinates of the center point of the wrist swing axis, as well as the length of the lower arm and the length of the upper arm; Determine the coordinates of the center point of the upper arm axis according to the coordinates of the center point of the lower arm axis and the swing angle of the lower arm axis; determine the direction vector of the upper arm according to the coordinates of the center point of the upper arm axis and the coordinates of the center point of the wrist swing axis; determine the rotation angle of the wrist rotation axis and the swing angle of the wrist swing axis according to the direction vector of the upper arm and the direction vector of the wrist.

10. A robotic arm grasping posture determination system, It is characterized in that include: Feature line extraction module: collects multi-angle images of the object to be grasped, and inputs them into the neural network to extract the feature lines of the object to be grasped; Contour line generation module: according to the line feature optimization model, the optimal feature line is selected to construct the overall structural contour line of the object to be grasped; Grasping surface generation module: perform morphological judgment on the plane figure formed by the overall structure contour line to obtain an initial grasping surface set; perform roughness judgment on the plane figure in the initial grasping surface set to select the optimal grasping plane and the corresponding grasping center point; Posture determination module: Determine the wrist posture of the robot arm and the coordinates of the center point of the wrist swing axis according to the grasping center point and the normal vector of the optimal grasping plane; determine the grasping posture of the robot arm through inverse solution according to the coordinates of the center point of the wrist swing axis and the coordinates of the center point of the rotation axis of the robot arm.

Citation Information

Patent Citations

  • Two-finger mechanical arm grabbing method, system and device and storage medium

    CN113119108A

  • Unknown object six-degree-of-freedom grabbing method considering point cloud skeleton characteristics

    CN116460845A

  • Multi-station scene-oriented six-degree-of-freedom mechanical arm visual grabbing method

    CN117428772A

  • VISION-BASED TELEOPERATION OF A MOBILE ROBOT SYSTEM

    DE102020124285A1