Method and system for designing a common end effector for a robot which is capable of grasping plurality of parts, each having its own geometry

Information

  • Patent Grant
  • 10402503
  • Patent Number
    10,402,503
  • Date Filed
    Wednesday, September 11, 2013
    11 years ago
  • Date Issued
    Tuesday, September 3, 2019
    5 years ago
Abstract
The invention relates to a method for determining a grasp set of n gripping points for a common end effector of a robot, said end effector being used for grasping a plurality of parts, each part having its own geometry, the method comprises: (a) providing said plurality of parts in a CAD form; (b) meshing each of said parts; (c) determining for each of said parts all the possible grasps that are capable of holding the respective part by any k-contacts points end effector; (d) calculating a quality measure for each of said determined grasps; (e) calculating an allowable range for said calculated quality measures; (f) for each part, parametrizing each of its grasps that are found to be within said allowable range, by a feature vector; (g) performing a cross-part intersection between said grasps that are found to be within said allowable range, and determining those grasps that are intersected between parts; and (h) from among said intersected grasps, selecting a single grasp having a highest quality measure, said selected grasp is used for grasping said plurality of parts by said end effector.
Description
FIELD OF THE INVENTION

The invention relates in general to the field of robots. More particularly, the invention relates to a method for designing a common end effector for a robotic arm, which is capable of grasping plurality of parts, each having its own shape geometry.


BACKGROUND OF THE INVENTION

In the industry of today, a mass production in assembly lines and manufacturing plants relies on robotics and automation lines. Robot arms that are equipped with end-effectors are key components to carry out myriad number of critical automation tasks such as material handling, paint operations, assembling, etc. A typical robot comprises one or more arms, each arm being in turn provided with an end effector. An end effector is a structure on which one or more grippers are provided at specific locations, for gripping and manipulating the respective part.


Typically, each robotic end-effector of the prior art is designed, built and optimized to carry out specific actions on a specific part. This makes them very inflexible in terms of variations of objects and tasks. Current automatic solutions to enhance the flexibility of robots involve either the adding of active elements to end-effectors in order to adapt them to different parts geometries, or simply providing additional end-effectors in proximity of the robot that can be replaced via a robot-interface plate. These solutions require, however, more factory space, and thus they are very costly. The design, build and testing phases of a typical end-effector consume considerable amounts of engineering times, and add additional costs to the final products.


It is therefore an object of the present invention to provide a method for designing an end effector which is common for handling plurality of parts, each having its own geometry.


It is still another object of the present invention to provide such an end effector design which is more efficient and reliable compared to existing design methods.


It is still another object of the present invention to provide an end effector design which enables a significant saving production time and space.


It is still another object of the present invention to enable a significant reduction in the costs of various final products.


Other objects and advantages of the present invention will become apparent as the description proceeds.


SUMMARY OF THE INVENTION

The invention relates to a method for determining a grasp set of n gripping points for a common end effector of a robot, said end effector being used for grasping a plurality of parts, each part having its own geometry, the method comprises: (a) providing said plurality of parts in a CAD form; (b) meshing each of said parts; (c) determining for each of said parts all the possible grasps that are capable of holding the respective part by any k-contacts points end effector; (d) calculating a quality measure for each of said determined grasps; (e) calculating an allowable range for said calculated quality measures; (f) for each part, parametrizing each of its grasps that are found to be within said allowable range, by a feature vector; (g) performing a cross-part intersection between said grasps that are found to be within said allowable range, and determining those grasps that are intersected between parts; and (h) from among said intersected grasps, selecting a single grasp having a highest quality measure, said selected grasp is used for grasping said plurality of parts by said end effector.


Preferably, the method further comprises a step of meshing reduction, which reduces the mesh to edges regions within each part respectively.


Preferably, said mesh reduction also involves definition of forbidden zones.


Preferably, said calculation of the allowable range is performed by means of a distribution graph.


Preferably, each of said feature vectors comprises 5n−6 elements for an n-points grasp.


Preferably, when said intersection step results in a null number of grasps, repeating the method for an increased number of gripping points n=n+1.


Preferably, each of said cross-part intersections is considered within a predefined range.


Preferably, said quality measure relies on the distribution of the projection of the gripping points on a plane fitted to these points, while the quality measure is defined as an area of a convex polygon formed by said projection.


Preferably, a larger area defines a higher quality measure and a better grasp.


Preferably, if no common grasp is found for all said plurality of parts, classifying the parts, and applying plurality of common grasps, each grasp to a specific class of parts.





BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings:



FIG. 1 shows a typical robot gripper;



FIG. 2 shows an exemplary of 3 gripping points that are distributed over a sheet metal part;



FIG. 3a shows a polytope which is formed from plurality of contact points;



FIG. 3b shows a triangles table K, which summarizes the results of the triangulation step, namely, triplets of vertices respectively for each of the triangles that form the polytope of FIG. 3a;



FIG. 3c shows an adjacency table Y, denoting for each triangle its adjacent triangles according to common vertices of the triangles of table K of FIG. 3b;



FIG. 4 shows an exemplary 4-finger grasp which is parameterized using a 14 dimensional feature vector;



FIG. 5a illustrates a 3-finger grasp of an object B, which is described by a single triangle having 3 vertices;



FIG. 5b shows how normals are described at a contact point by two angles with reference to the triangle;



FIG. 6 illustrates a procedure for a triangular mesh reduction;



FIG. 7a shows an exemplary part with a full triangles mesh;



FIG. 7b shows an outcome of a mesh reduction algorithm as applied to the edges of the part of FIG. 7a;



FIG. 8 shows an example of a distribution graph which shows respectively the number of grasps against the level of quality measure;



FIG. 9 shows four sheet metal parts—marked as (a), (b), (c), and (d), that were tested using the algorithm of the invention;



FIG. 10 shows the parts of FIG. 9 respectively, as meshed on their edges using COMSOL Multiphysics to triangular meshes (after mesh reduction);



FIG. 11 shows a distribution of grasps with respect to their PAQM, and an allowable grasps range to be sampled;



FIG. 12 shows a best selected grasp configuration, out of 6 possible common grasps that were found in an exemplary case;



FIG. 13 shows a flow diagram, illustrating the method of the invention; and



FIG. 14 in a describes the method of FIG. 13 in a logic representation form.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The present invention provides a method for finding an optimal configuration of a common end-effector which is capable of grasping given parts, each part having its own shape, which is different from the others. More specifically, the method of the invention teaches how to determine where and how to position the gripping points of the end effector, in a manner which is suitable for grasping all the said parts, one at a time.



FIG. 13 generally describes the method of the present invention, in a flow diagram form. In step 200, a plurality of parts, each having its own shape are given in CAD form. As noted, the rest of the method teaches where and how on the common end effector to position gripping points that will enable grasping of all the given parts, one at time. In step 201, a meshing, preferably triangular meshing, is performed separately for each of the given parts. The meshing, which may cover the entire part, or most of it, is preferably significantly reduced in step 202 to cover only areas at edges of the part, while optionally also manually eliminating forbidden areas, as defined by the user. Alternatively, the meshing may be applied in step 201 intentionally only at the part edges, and in that case, the reduction procedure of step 202 may be superfluous. As will be further discussed in more details, the reduction of the meshing significantly reduces processing time by the method of the invention. In step 203, a number of gripping points n by each individual grasp is defined. This number in fact indicates the number of grippers that will be included within the end effector. In step 204, the procedure continues in determining, for each of the given parts, all the possible grasps for holding the part by the end effector (as noted, each grasp is in fact a combination of n number of gripping locations and force applying directions. In step 205, a quality measure is calculated for each possible grasp. In step 206, a range (lower and upper bounds) for allowable quality measures is calculated. This may be done, for example by means of a distribution graph. In step 207, for each part, the procedure continues by forming a feature vector for each grasp within the allowable range (i.e., each of said grasps is parameterized). In step 208, the procedure continues by performing intersection between feature vectors of various parts, thereby to find common ones (i.e., feature vectors that are common to all the parts). Finally, the method (procedure) terminates in step 209 by the selection of a single grasp having the highest quality measure.


The above procedure of FIG. 13 is also provided in FIG. 14 in a logic representation form. Said procedure of FIG. 14 becomes clear by the following explanation.


The present invention provides a method for finding an optimal configuration of a simple end-effector which is capable of grasping a set of q sheets of metal parts. More specifically, given a set of q CAD models of the sheet metal parts (step 200 of FIG. 13), the invention provides a method for designing an end-effector which is common for the whole set of q parts, meaning that the common end effector is capable of holding a wide variety of parts, and is also capable of performing a wide variety of manipulations tasks on each of said parts. More specifically, the invention provides a novel method for designing a simple and flexible end-effector that can handle (grasp) a set of sheet metals, eliminating the need for providing a specific end effector for each part. As will be further discussed in more details below, the method of the present invention performs discretization of the given q parts, particularly their respective geometries, after defining forbidden grasping zones (based on operational demands) and it finds an optimal configuration for grasping them. In order to provide an end effector whose design is suitable for an industrial use, the method of the invention is particularly adapted to provide a feasible, simple, low cost configuration, namely a configuration having minimal degrees of freedom. A “feasible” configuration herein is a configuration which can stably grasp an object even under an application of external forces or torques, i.e., a so-called force-closure (Fo-C) grasp. The force-closure grasp can stably sustain forces, for example, due to a task which is done. The unique geometry of the sheet metal (the invention assumes that the q parts are three dimensional sheet metal parts), therefore the clamping for grasping according to the invention provides a constant force-closure grasp (under some assumptions), and therefore, there is no need for a frequent force closure check. However, as there are numerous possible grasps, the invention presents a novel quality criteria termed Projection Area Quality Measure (PAQM) which quantifies the grasp based on its spread across the sheet metal. The quality measure of the invention is based on an area of a polygon which is formed by the grasp points that are projected on a mean plane of the points. The quality measure of the invention enables filtering of unappropriate grasps.


As will be further shown, the method of the present invention parameterizes for each part all the possible force-closure grasps, and it uses this parameterization to classify the metal sheet parts with respect to these grasps. In a first stage of the process (i.e., method), a Force Closure Grasp Set (FCGS) is constructed for each part by sampling all the possible force-closure grasps, and then filtering out all those with low grasp quality measure. The possible grasps are represented as feature vectors in a high-dimensional space. Each feature vector is constructed in a unique form to injectively define the grasp invariant to any reference frame. The feature vector implies for the configuration of the end-effector based on the common grasp. The next step of the procedure is a “similarity join” step, which finds pairs of common feature vectors in the FCGS of all the objects. The similarity join stage is based on a search for a nearest-neighbor, and it finds, for each pair of FCGS sets, all those pairs of points that are within a predefined distance. The search for nearest-neighbor utilizes a binary tree representation of the high-dimensional space (termed kd-tree), and it performs an efficient search by reducing the number of inspections and by keeping the feature vectors sorted at each instance. The mean point of each pair that is found is then inserted into a registry set and associated to a possible FCGS. Finally, a classification stage is performed to determine those minimal feature vectors that cover the whole set of parts.


Forces and torques can be represented as a wrench vector in the wrench space. A wrench is a 6-dimensional vector (in the case of 3D parts) and is denoted as w=(f τ)Tcustom character6 where f∈custom character3 is the force vector and τ∈custom character3 is the torque vector. Furthermore, a wrench applied at a contact point, pi, can be described as wi=(f pi×fi)T where pi is represented in the part coordinate frame. A friction which exists between the fingertips of the end-effector and the surface of the object can be represented by a simple Coulomb friction model














f
2

i
2


+

f
3

i
2








uf
1
i





(
1
)








where f1i is the normal component, f2i and f3i are the tangential components of the contact point, and μ is the coefficient of friction. In this model, forces exerted in the contact point must lie within a cone which is centered about the normal of the surface. This is known as the Friction Cone (FC). The FC can be linearized with an s-sided convex cone and the force exerted within the FC can be represented by a linear combination of the unit vectors {circumflex over (f)}ik (primitive forces) constructing the cone,

fik=1saik{circumflex over (f)}ik,aik≤0  (2)

where aik are nonnegative constants. The associated wrenches can be expressed by the primitive forces as













w
i

=






k
=
1

s




a
ik




w
^

ik









=






k
=
1

s




a
ik



(





f
^

ik







p
i

×


f
^

ik





)










(
3
)








where wik are the primitive wrenches associated with the primitive forces. An n-finger grasp can be represented by the position vectors of all the contact points P=(p1, . . . , pn). Equivalently, the grasp can represented using the matching wrenches that are applied at the contact points that are in turn represented in the part coordinate frame W=(w1, . . . , wn). If the friction is considered by cones, the wrench set can be expressed by the primitive wrenches W=(w11, w12, . . . w1s, . . . , wn1, wn2, . . . , wns). However, as it is desired that the end effector will grasp a set of sheet metals, the grasp model should be modified accordingly. According to the present invention, the clamping of a sheet metal is performed by means of 2-point contact sheet gripper 101, such as the one shown in FIG. 1. Gripper 101 is attached to the end effector (not shown in FIG. 1) by means of arm 103, and it comprises two gripping elements 102.


Therefore, for n pairs of gripping elements 102 that are positioned on the surface of the sheet metal, there are in fact 2n contact points. Each gripping element exerts two opposing forces at the respective contact point. Thus, in practice, it is necessary to calculate 2n gripping contact points. In this manner a coupling constraint is added between each two contact points, a constraint which is the model of the clamping device (gripper) of the present invention.


The CAD of the sheet metal 25 is a surface feature with no thickness. Therefore, each point normal is duplicated in the opposing direction. FIG. 2 illustrates an example of a surface of a given sheet metal, which is grasped by 3 contact points (“gripping points”) A, B, and C, where each contact point has two normal directions. The friction cones 26-28 can be seen duplicated as well to the opposing direction. Expressed mathematically,

wik=1saikwik,∀i=1, . . . ,n  (3)

where wik is a primitive wrench constructing the friction cone of wi. The compatible opposing primitive wrench is

w′ik=−wik.  (4)


Thus, the wrench set W constructing the convex hull of the grasp will be

W=(w11−w11 . . . w1s−w1sw21−w21 . . . wns−wns)1×2ns.  (5)


As previously noted, a grasp is defined to be force-closure when it is possible to apply wrenches at the contacts such that any external force or torque that acts on the part can be counter-balanced. A system of wrenches can achieve a force-closure condition when any external load can be balanced by a non-negative combination of wrenches.


Definition: A Convex Hull (CH) of a system S of vectors s1, . . . , sn is the set of all non-negative convex combinations of the subsets of points from S. In other words, the CH is the minimal convex set containing S and is defined as

CH(W)={Σi=1naiwi:wi∈W,Σi=1nai=1,ai≤0}  (6)

where ai is the linear combination coefficient bounded to be positive in order to ensure positive grip (non-sticky fingers).


The convex hull of the system of contact wrenches is denoted as the Grasp Wrench Set (GWS).


Theorem 1: A necessary and sufficient condition for a system of n·s wrenches W=(w11, w12, . . . w1s, . . . , wn1, wn2, . . . , wns) to be force-closure is that the origin of custom characterk lies in the interior of the convex hull of the contact wrenches. Meaning,

0∈interior(CH(W))  (7)


Assuming that a given grasp is well spread along the sheet metal, meaning the n contact points are not concentrated in a same point (n>2), before duplicating the normal directions to their opposite direction respectively, they at least span a cone which lies at one half space. After duplicating the normals as shown in FIG. 2 (ni to −ni), the normals and their friction cones span the entire space custom character3, and thus insuring that the grasp is force closure. Therefore, there is no need for a orce closure analysis using the convex-hull model. Given this observation by the inventors, the runtime of the algorithm which is based on the method of the invention is drastically reduced. This fact also saves the need for modeling and discretizing the friction cones, which typically consumes large computation resources. However, still some kind of a quality measure is necessary in order to filter out undesired grasps within each sheet metal, and thereby to select the best ones.


As it is known that a grasp is force closure, and it can resist external loads, it is desirable to quantify how much external load it can resist, or in other terms, how much resources are required to apply in order to resist an external load. The quality measure, as defined by the present invention, measures how much a grasp can resist an external wrench without the gripping elements loosing contact or begin to slip. A higher quality measure reduces object deformations and actuator resources. The quality measure, as defined herein, is used as a grasp criterion for the process which is discussed later on, and this criterion provides a comparison tool between various grasps. There are several quality measures, most of them are based on a task wrench set (TWS). The TWS is a wrench set of all external wrenches that need to be applied during execution of a prescribed task. The most common quality measure is the one termed largest ball criterion.


However, as mentioned above, a grasp of a sheet metal is always force closure, and its ability to resist external load can be measured by the spread of the gripping elements across the part surface. Therefore, a new quality measure which is denoted Projected Area Quality Measure (PAQM) is defined, and this quality measure will be discussed later on in this application.


The method of the invention involves generation of a set of all possible n-finger grasps for each of the given parts (step 204 of FIG. 13). Furthermore, a parametric representation of a grasp, which is invariant of any coordinate frame, is defined (step 207 of FIG. 13). Those grasps that are force closure are represented as feature vectors in the Force Closure Grasp Set (FCGS). This following discussion describes the proposed structure of the grasp feature vector, and the procedure for constructing the FCGS.


An n-finger grasp of a part B can be defined by a set of n contact points on the part B surface,

P={pi: picustom character3 f or i=1, . . . ,n}  (8)

and the normals to the objects' surface at each point respectively:

N={{circumflex over (n)}i:{circumflex over (n)}icustom character3f or i=1, . . . , n}.  (9)


The procedure defines a transformation map T, which maps each grasp j into a d-dimensional feature vector, injectively representing the grasp,

T:{Pj,Nj}→ejcustom characterd  (10)

where ej is a d-sized feature vector ej=(u1 . . . ud)T. This transformation enables the procedure to map all the possible grasps as feature vectors in the FCGS, and to intersect them later on.


Next, the method involves a step of triangulation. A triangulation of a set P is a partition of it into simplices, where the vertices of each are points of P such that the union of them equals P. Given a set of contact points p1, . . . pn, a triangulation of the set can be made in order to form a polytope in which the contact points are its vertices (see FIG. 3a). The triangulation of the point set in custom character3 can be done by any known triangulation techniques, such as the Quickhull algorithm, the space sweep technique, etc. The triangulation step outputs a triangles table K (shown in FIG. 3b), that contains respectively triplets of vertices respectively for each of the triangles that form the polytope of FIG. 3a.


The novel feature vector of the invention is in fact divided into two parts, a first part which contains the constraints that define the polytope shape, and a second part which contains the constraints that define the contact point normals relative to the polytope geometry. It has been determined by the inventors (hereinafter, “proposition 1”) that for an n-vertex polytope, there are 3n−6 degrees of freedom which determine the polytope's shape.


Proof. For an n-vertex polytope, there are e=3n−6 edges and f=2n−4 facets. Each of the n vertices can be varied with three degrees of freedom (DOF), with a total of 3n degrees of freedom. However, from the total of 3n DOF, three degrees of freedom correspond to translation, and three degrees of freedom correspond to a rotation of the polytope; Therefore, there are 3n−6 degrees of freedom for the polytope's shape.


There are many possible representations for the polytope, some of them depend on the order in which the procedure parameterizes its triangles (step 207 of FIG. 13). Therefore, preferably a transformation map T is provided as an algorithm which uniformly parameterizes the grasps polytope. The feature vector is built according to algorithm 1, which is based on parameterization of the triangles by a specific order, ensuring that the feature vector be injective to the polygon.












Algorithm 1 - Feature Vector Generation - step 207 of FIG. 13

















INPUT: Grasp point set Pj, normals at each point Nj.



Output: Feature vector ej.










1.
Generate triangles table K of p1, . . . , pn with the triangulation




algorithm.



2.
for i = 1 → 2n − 4 do



3.
A(i) = Area(K(i)) //computes area of triangle i.



4.
end for






5.









t
1

=



arg





max

i



(

A
i

)







//


index





of





the





largest





area





triangle







denoted





as





the







base







of





the






polytope
.
















6.
Generate adjacency table Y.



7.
[v1, v2] = vertices indices of the largest edge of triangle t1.



8.
v3 = index of the third vertex of triangle t1.



9.
d1 = ∥pK(t1,v1) − pK(t1,v2)∥ //length of longest edge of t1.



10.
for i = 1 → (n − 2) do






11.





y
i
1

=


cos

-
1






(


p

K


(


t
i

,

v
2


)



-

p

K


(


t
i

,

v
1


)




)

-

(


p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
1


)




)







p

K


(


t
i

,

v
2


)



-

p

K


(


t
i

,

v
1


)











p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
1


)



















12.





y
i
2

=


cos

-
1






(


p

K


(


t
i

,

v
1


)



-

p

K


(


t
i

,

v
2


)




)

-

(


p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
2


)




)







p

K


(


t
i

,

v
1


)



-

p

K


(


t
i

,

v
2


)











p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
2


)



















13.









n

t
i

f

=




(


p

K


(


t
i

,

v
2


)



-

p

K


(


t
i

,

v
1


)




)

×

(


p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
1


)




)







p

K


(


t
i

,

v
2


)



-

p

K


(


t
i

,

v
1


)











p

K


(


t
i

,

v
3


)



-

p

K


(


t
i

,

v
1


)








//


n

t
i

f






is








the





normal





to





the





surface





of





triangle







t
i

.
















14.
if i ≠ 1 then



15.
θi = cos−1(ntif − nti−1f) //ntif is the normal to the surface of




triangle ti.



16.
ti+1 = triangle adjacent to K(ti) but not adjacent to K(ti−1)




according to Y.



17.
if ti+1 adjacent to ti with edge v1, v3 then



18.
v2 = v3



19.
else



20.
v1 = v3



21.
end if



22.
v3 = index of the third vertex of triangle ti+1.



23.
 else



24.
 v2 = v3



25.
 t2 = triangle adjacent to t1 on edge v1, v2.



26.
 v3 = index of the third vertex of triangle t2.



27.
 end if



28.
end for



29.
for i = 1 → n do



30.
 φi1 = cos−1({circumflex over (n)}i − n1f) //angle of normal {circumflex over (n)}i with triangle t1.



31.
φi2 = cos−1({circumflex over (n)}i − n2f) //angle of normal {circumflex over (n)}i with triangle t2.



32.
end for



33.
 ej = (y11y12d1y21y22θ2 . . . yl1yl2θl . . . φ11φ12 . . . φn1φn2)T









Algorithm 1 first parameterizes the triangle with the largest area, and moves on to the one adjacent to it with the edge defined by γ1. As mentioned above in proposition 1, three constraints are required to parameterize a triangle with total of 3n−6 constraints for the entire polytope, therefore it is necessary to constrain









3

n

-
6

3

=

n
-
2






triangles of the polytope to fully parameterize it. The parameterization moves on a chain of n−2 adjacent triangles, each with 3 parameters. Moreover, the algorithm describes the normals at the contact points relative to the polytope. Each normal needs 2 constraints in order to describe it, therefore 2n more parameters are required. Thus, the dimensionality of the feature vector is:

d=3n−6+2n=5n−6  (11)


The procedure for constructing a d=5n−6 dimensional feature vector for an n-finger grasp and its operation is as follows. The begins with the construction (step 1 of algorithm 1) of a triangles table (like the one in FIG. 3b) and defines triangle t1 as the one with the largest area (steps 2-5), t1 refers to the base of the polytope. In step 6, an adjacency table Y (such as the one of FIG. 3c) is formed, denoting for each triangle its adjacent triangles according to common vertices in the triangles table K. The procedure generates a sorted list (table) of adjacent triangles to each triangle. Such a table is used to identify the next adjacent triangle to parameterize. Afterwards, the indices of triangle t1 are stored, where v1 and v2 form the longest edge of the base triangle, and v3 is the third vertex of the triangle. The first parameter to be computed is the length d1 of v1v2 (step 9) where pK(ti,vj) is the location vector of vertex vj of triangle ti which is stored in table K. The for-loop (steps 10 to 28) computes the shape parameters of the polytope, where for the first triangle (the base), 2 angles γ11, γ12 and the edge between them d1 are calculated. In the other n−1 triangles, for triangle ti the two angles γi1, γi2 of the triangle are calculated, those angles bound the edge which is common to triangles ti and ti−1. Moreover, the angle ϑi between the two triangles ti and ti−1 are also calculate (step 15). Within each loop iteration, the next triangle ti+1 which is adjacent to ti but not adjacent to ti−1 (according to an adjacency table Y) is selected. If two of such triangles exist, the one which is adjacent to ti with the longest edge is preferably selected. This condition is maintained in order to assure a single unique parameterization for all polytopes. After the selection of ti+1, the v1, v2, v3 are update in order to store the vertices of triangle ti+1. In the last for-loop (steps 29-32), each normal is parameterized to two angles ϕi1, ϕi2, that are the angles of the normal with triangles t1 and t2 respectively. These two triangles were chosen arbitrarily to ensure a standard representation of the feature vectors.


EXAMPLE 1

A 4-finger grasp can be described by a tetrahedron (4 facet polytope—see FIG. 4, the 4 faces are marked as Face 1-Face 4). FIG. 4 in fact represents a 4-finger grasp which is parameterized using a 14 dimensional feature vector. According to Proposition 1, six constraints are necessary to describe the tetrahedrons shape and the 8 parameters to describe the normal directions relative to the tetrahedron, resulting in a 14-dimensional feature vector. This example now considers the algorithm to calculate face 4 as the base triangle with the largest area. The parameters representing the shape of the tetrahedron, according to this algorithm, are given as follows. The length of the longest edge p1p2 of the base triangle t1=Δp1p2p3 (the largest area triangle)

d1=∥p1−p2∥  (12)

and the two angles adjacent to the edge










γ
1
1

=


cos

-
1




(



(


p
3

-

p
1


)

-

(


p
2

-

p
1


)







p
3

-

p
1









p
3

-

p
1






)






(
13
)







γ
1
2

=


cos

-
1




(



(


p
1

-

p
2


)

-

(


p
3

-

p
2


)







p
1

-

p
2









p
3

-

p
2






)






(
14
)







The next two angles are the angles of the adjacent triangle t2=Δp2p3p4, which is adjacent to the shared edge p2p3










γ
2
1

=


cos

-
1




(



(


p
4

-

p
2


)

-

(


p
3

-

p
2


)







p
4

-

p
2









p
3

-

p
2






)






(
15
)







γ
2
2

=


cos

-
1




(



(


p
4

-

p
3


)

-

(


p
2

-

p
3


)







p
4

-

p
3









p
2

-

p
3






)






(
16
)








and the angle between the two triangles

ϑ2=cos−1(n4f−n1f).  (17)


As there are n=4 contact points, it is necessary to parameterize only n−2=2 triangles, i.e., t1 and t2.


The representation of the normals direction is given by

ϕi1=cos−1({circumflex over (n)}i−n4f),i=1,2,3,4,  (18)
ϕi2=cos−1({circumflex over (n)}i−n1f),i=1,2,3,4  (19)

Therefore, the resulting feature vector is

e=(γ11γ12d1γ21γ22ϑ2ϕ11ϕ12ϕ21ϕ22ϕ31ϕ32ϕ41ϕ42)T.  (20)


EXAMPLE 2

A 3-finger grasp of object B is described by a single triangle having 3 vertices. An example of such configuration of a grasp is illustrated in FIG. 5a. The position of the 3 fingers relative to each other can be injectively represented as a triangle by two angles γ1, γ2 and the edge length between them as d1, given by equations (12)-(14). However, for three contact points, the polytope degenerates into a triangle and therefore this case is not fully covered by algorithm 1. Therefore, and as shown in FIG. 5b, the normals are described at the contact points by two angles. Angle ϕi is the angle between the normal {circumflex over (n)}i and the normal to the triangle surface {circumflex over (n)}f given by

ϕi=cos−1({circumflex over (n)}−{circumflex over (n)}f),i=1,2,3  (14)

and angle ϑi is the angle of the normal's projection on the triangle surface with the adjacent triangles edge, given by the following Equation 15:

















π
2

-


sgn


(


(


(



n
^

3

×


n
^

f


)

×


a
^


3
,
1



)

-


n
^

f


)





cos

-
1




(


(



n
^

3

×


n
^

f


)

-


a
^


3
,
1



)




,

i
=
3










ϑ
i

=



{
π

2

-


sgn


(


(


(



n
^

i

×


n
^

f


)

×


a
^


i
,

i
+
1




)

-


n
^

f


)





cos

-
1




(


(



n
^

i

×


n
^

f


)

-


a
^


i
,

i
+
1




)





,

i
=
1

,
2










where











a

i
,
j


=




p
j

-

p
i






p
j

-

p
i





.







(
15
)







The feature vector for the 3-finger grasp is therefore a 9-dimensional vector:

e=(γ1γ2d1ϕ1ϕ2ϕ3ϑ1ϑ2ϑ3)T  (23)


As in a preferable embodiment the clamping apparatus of the invention is designed to clamp only near the boundaries of the sheet metal part, there is no need for the inner triangles mesh, which is in fact excessive and causes tremendous calculation runtime. Therefore, the use of an algorithm for omitting the inner mesh triangles is preferred.


The meshing, step 201 of FIG. 13, is now explained in more details. Meshing using COMSOL Multiphysics outputs two matrices, one M∈custom characterλ×3 for λ points constructing the triangles, and one J∈custom characterk×3, where each row denotes 3 indices of points from M composing a triangle, with a total of k triangles. m is defined as the number of layers of inner triangles from the boundary that are considered as edge triangles. FIG. 6 shows an exemplary case 110 for marking edge triangles (e) and inner triangles (i) when m=3.


The mesh reduction of step 202 of FIG. 13 is now explained in more details. This mesh reduction algorithm is based on the marking of the neighbors of each triangle (FIG. 6), while those having 2 neighbors are boundary triangles (marked as ‘e’) and those having 3 neighbors are inner triangles (marked as ‘i’). Next, the procedure continues by marking as boundary triangles those that are located a distance m from the boundary triangles. FIG. 7a shows an exemplary part 120a with a full triangles mesh, while FIG. 7b shows an outcome of a mesh reduction algorithm as applied to the edges part 120a, where m=3. Part 120a with the reduced mesh is indicated in FIG. 7b as 120b.


The following algorithm 2 may be used to obtain a reduced mesh, based on the procedure above:









ALGORITHM 2





Reduction of the mesh by removal of inner triangles


INPUT: Matrices M and J and number of layers m.


OUTPUT: New reduced matrix J with inner triangles removed.
















1.
//Identify neighbors for each triangle


2.
Sort J by columns and then by rows.


3.
for i = 1 → k do


4.
 b = i + 1


5.
  while Jb,1 < ji,3 and b < k do


6.
   b = b + 1


7.
  end while


8.
 for j = i + 1 → b do


9.
  If Intersect(J(i), J(j)) then


10.
   Add i as neighbor to j in neighbors table NJ and vice



versa.


11.
  end if


12.
 end for


13.
//Classify triangles with 2 neighbors as edge and with 3 as inner



triangles.


14.
  for i = 1 size(NJ) do


15.
   if triangle i has 2 neighbors according to NJ then


16.
    Mark i as edge (‘e’)


17.
   else


18.
    Mark i as inner (‘i’)


19.
   end if


20.
 end for


21.
//Consider triangles with distance m from edge as boundary



triangles.


22.
for l = 1 → m do


23.
 for i = 1 → size(NJ) do


24.
  if triangle i is an inner triangle (‘i’) then


25.
   if triangle i has at least 1 edge neighbor according to NJ



then


26.
    Mark i as edge (‘e’)


27.
   end if


28.
  end if


29.
 end for


30.
end for


31.
remove triangles marked as inner (‘i’) from J.


32.
return J.









The Projected Area Quality Measure (PAQM) is a grasp quality measure which is particularly defined by the inventors for sheet metal, and is used to filter out inappropriate grasps according to a heuristic condition, as will be described in more details below. The defining of the PAQM is based on a projection of the clamping points on a plane calculated according to least square fitting. The area of the polygon formed by the points on the plane is the forms the basis for the quality measure. The larger the area is relative to the maximum area possible, the better the grasp is.


Given n clamp points custom characterj=(p1, . . . , pi, . . . , pn), where pi=(xi, yi, zi), a plane z=ax+by +c can be found, which best fits the points. The plane is calculated by least square fitting, where the sum of squared errors of the vertical distance between zi and the plane is minimized. The sum of square errors is given by:

S(a,b,c)=Σi=1n[(axi+byi+c)−zi]2  (24)


In order to minimize S, its gradient is equalized to 0. This leads to a system of










(



a




b




c



)

=



[







i
=
1

n



x
i
2








i
=
1

n




x
i



y
i









i
=
1

n



x
i










i
=
1

n




x
i



y
i









i
=
1

n



y
i
2








i
=
1

n



y
i










i
=
1

n



x
i








i
=
1

n



y
i








i
=
1

n


1




]


-
1




(







i
=
1

n




x
i



z
i











i
=
1

n




y
i



z
i











i
=
1

n



z
i





)






(
25
)








where its solution provides the coefficients for the desired plane. The projection point pi, =(xi, yi, zi,) of point pi on the plane is given by:










(




x

i








y

i








z

i






)

=


(




x
i






y
i






z
i




)

-




ax
i

+

by
i

-

z
i

+
c



a
2

+

b
2

+
1





(



a




b





-
1




)

.







(
26
)







Next, a set of points custom characterj=(p1′, . . . , pn′) on the plane are acquired. If the points are rotated (using rotation matrices) on the plane to be parallel to the xy-plane, the points will be planar pi″=(xi″, yi″, 0). It is now possible to generate a polygon affiliated to grasp j of object i formed by the points and to calculate its area:










A
j
i

=


1
2



(







x
1




x
2






y
1




y
2






+






x
2




x
3






y
2




y
3






+

+






x
n




x
1






y
n




y
1







)






(
27
)







For each sheet metal, the procedure goes through all possible combinations of n clamping points, and finds the largest area of the projected polygon they construct among all sheet metals, denoted as Amax. The area calculated is a measure of how much the grasp is distributed across the sheet metal. Therefore, this procedure defines a novel quality measure for grasp j of sheet metal parts i,










Q
j

=



A
j
i


A
max


.





(
28
)







Prior to the generation of the FCGS, a distribution graph of the quality measures is built for each sheet metal part, as shown, for example, in FIG. 8. The distribution graph describes the number of grasps against the level of quality measure (the higher the quality measure, the better the grasp is). Each curve F, G, H, and I respectively in the distribution graph relates to a different part. This is done by sampling polygons areas from the sheet metal surface. q sets of measures Qi are acquired. The maximum limit of the quality measure to search is:










Q
max

=


min
i



(


max
j



(

Q
j
i

)


)






(
29
)








where j is the size of each set. The minimum limit of the measure Qmin is defined by a maximum number β of points in a set. Therefore, Qmin is chosen to be:










Q
min

=


max
i



(

Q
min
i

)






(
30
)








such that each Qmini maintains the condition:














Q
min
i


Q
max






f
i



(

Q
i

)







d






Q
i





β
·

(


Q
max

-

Q
min
i


)



,



i

=
1

,





,
q




(
31
)








where fi (Qi) is a polynomial fit of the distribution points acquired previously. The choice of the number of points β within the set has direct effect on the runtime, and therefore is chosen accordingly. The more points are chosen, the effect is the runtime increases exponentially with the number of gripping points.


As noted, according to a preferred embodiment of the invention, the FCGS (Force Closure Grasp Set) is generated by exhaustive search for substantially all, or most of the possible grasps of each part B. This is done by using algorithm 2 which has been provided above, and by filtering out all grasps that are not bounded between Qmax and Qmini. The following algorithm receives a 3D mesh of the original sheet metal part, consisting a set of points custom charactercustom character3 and a set of normals at each point custom charactercustom character3. The algorithm 3 goes over all possible n-finger grasps—steps 203 and 204 of FIG. 13custom characterj=(p1, . . . , pn), and selects only the ones which serves the desired quality limits. The ones selected are transformed into a feature vector ej and added to the grasp set ε⊂custom characterd, which is the output of the algorithm. Algorithm 3, which is preferably used by the present invention for generating the FCGS.









ALGORITHM 3





FCGS generation


INPUT: Mesh of object B to be grasped, {custom character , custom character }.


OUTPUT: FCGS E = (e1, . . . , ev) of object B.
















1.
Generate grasp j defined by custom characterj = (p1, . . . , pn) εcustom character . //by sequential



scan over the mesh points.


2.
if Qmini ≤ Q(Pj) ≤ Qmax then [these are steps 205-206 of Fig. 13]


3.
 Map grasp j to feature vector ej = (u1 . . . ud)T //according to



Algorithm 1.


4.
 Label ej as force-closure and add to set ε.


5.
 Store a pointer from ej to custom characterj


6.
end if


7.
if ε = (e1, . . . , ev) is not fully labeled then


8.
 go to 1


9.
else


10.
 return grasp set ε


11.
end if









For the q query objects B1, . . . , Bq, Algorithm 3 is applied and it generates the FCGS ε1, . . . , εq for all the parts.


The following description explains steps 208 and 209 of FIG. 13 in more details. The next step provides a procedure for performing a nearest-neighbor search and classification, in order to find common points between the sets of grasps that have been found separately for each part, meaning, to find common grasps that are suitable for all the parts. More specifically, these common points are used in the common end effector of the present invention.


Given q sets of vectors of the FCGS (ε1, . . . , εq)⊂custom characterd×q, one for each part, a similarity algorithm is used by the present invention in order to find common vectors of the sets, in which the distance between them is smaller than a predefined tolerance. This is done using Nearest-Neighbor search and classification as described in more details below.


In one embodiment of the invention, a database structure known as a kd-tree is used. Each FCGS set is represented as a d-dimensional binary tree thereby constructing an organized data structure which enables efficient nearest-neighbor search. The kd-tree data representation is based on dimension partitioning. Several algorithms for nearest neighbor search which operates on kd-tree are known. They take advantage of the kd-tree structure for the search of a point in one set, which is the closest to a query point in a different set. It should be noted that preferably, the nearest neighbor search algorithm of the invention uses Euclidean distance criterion. However, due to the structure of the feature vector, the d-dimensional space is not homogenous and the Euclidean distance does not reflect the grasping demands. Therefore, preferably another metric which better meets the requirement is used. The method of the invention is not bounded to the use of the specific closest point to another, so, if a custom distance criteria fails, the second closest point may be used, or else the next one. Therefore, in one embodiment a k-nearest-neighbor search which can determine up to k closest points to a query point, is preferably used by the present invention.


Preferably, a similarity join algorithm is used to pair points in each two d-dimensional sets εi, εj. For example, the following Algorithm 4 may be used:









ALGORITHM 4





Function JoinFCGS (ε1, . . . , εq)


INPUT: FCGS of each object ε1, . . . , εq.


OUTPUT: Registry set custom character .
















1.
for i = 0 → q − 1 do


2.
 for j = i + 1 → q do


3.
  [custom character , custom character ] = NearestNeighbor(εi, εj).


4.
  for k = 1 → size(custom character ) do


5.
   if IsSimilar(ak ε custom character , bk ε custom character ) = true then.


6.
    Z = InsertToZ(ak, bk, i, j)


7.
   end if


8.
  end for


9.
 end for


10.
end for


11.

custom character  = RearrangeReg(custom character )



12.
return Z









Algorithm 4 receives the grasp sets ε1, . . . , εqcustom characterd, and for each two sets, it performs a nearest neighbor (NN) search (implemented, for example, by MATLAB's knnsearch function) to find for each vector in one set the closest one in the other. The function NearestNeighbor, which is called from within JoinFCGS, receives two FCGS sets εi, εj and outputs two parallel sets custom character,custom characterwhich are stored in such a manner that each vector akcustom character is the closest one to bkcustom character. As the d-dimensional space is not homogenous, each pair of vectors that are found cannot be considered as the same vector with only the Euclidean distance. Therefore, a custom distance metric is added, wherein this metric is varied according to the properties of the grasp, e.g., coefficient of friction, part manufacturing tolerances, etc. Therefore, a custom metric between the two vectors x∈εi and y∈εi is defined:

|xi−yi|≤εi, f or i=1, . . . ,3n−6  (32)

where, ε1, . . . , ε3n−6 are predefined tolerances. This means that the two feature vectors (only the shape part) are to be inside a hyper-rectangle with edge lengths of ε1, . . . , ε3n−6. Moreover, it is demanded that each two respective normals ({circumflex over (n)}ix from feature vector x and {circumflex over (n)}iy from feature vector y) at the contact points (represented in feature vector ej as ϕi1, ϕi2—for example, equation (20)) to be both within a friction cone, satisfying:

cos−1({circumflex over (n)}ix−{circumflex over (n)}iy)≤2α·tan−1μ,0<α≤1  (33)

where α is a safety factor. This condition insures that the angle between each two respective normals is smaller then the friction cone angle multiplied by a predefined safety factor. Conditions (32) and (33) are implemented by the following function IsSimilar (Algorithm 5):









ALGORITHM 5





Function IsSimilar(x, y)


INPUT: Feature vectors x and y representing n-finger grasps.


OUTPUT: Are x and y within the predefined tolerances


(true/false).
















1.
for i = 1 → (3n − 6) do


2.
 if |x(i) − y(i)| > εi then


3.
  return False


4.
 end if


5.
end for


6.
for i = (3n − 5) → d do


7.
 Calculate {circumflex over (n)}ix((x(i), x(i + n))


8.
 Calculate {circumflex over (n)}iy(y(i), y(i +n))


9.
 if cos−1 ({circumflex over (n)}ix − {circumflex over (n)}iy) > 2α · tan−1μ then


10.
  return False


11.
 end if


12.
end for


13.
return True









Algorithm 5 receives two feature vectors and returns true or false for satisfying the conditions (32) and (33) or not, respectively. In the first loop, the algorithm checks whether condition (32) is satisfied for the first part of the feature vector (i.e, the shape part). Next, the algorithm restores the normal vectors according to the angles given in each feature vector and then compares them according to condition (33).


When two vectors from two different sets are close enough to be considered the same, they are inserted to a registry set custom charactercustom characterd and store a pointer to their original grasp. The set custom character is a d-dimensional database (one for each part) of the vectors taken from ε1, . . . , εq. The vectors that are inserted to custom character are the ones that are common to two or more sets of ε1, . . . , εq. Let assume that custom characterq is a q-dimensional vector space of binary values, i.e., containing q-sized vectors of 0's and 1's. Each common vector vicustom characterd added to custom character is coupled to a compatible vector {tilde over (v)}icustom characterq. Component r of vector {tilde over (v)}i denotes whether the vector is in the set εr if labeled “1”, and “0” if not. Therefore, two vectors, ei∈εi and ej∈εj that are considered to be the same, are the input to the following procedure InsertToZ (Algorithm 6):












Algorithm 6 - Function Insert To Z(ei, ej, i, j)


















    
INPUT: Vector ei in FCGS i and vector ej in FCGS j.




OUTPUT: Updates registry set Z to contain a, b.
















1.





v

i
,
j


=


(





e
i



(
1
)


+


e
j



(
1
)



2








e
i



(
d
)


+


e
j



(
d
)



2


)

T













2.
u = NearestNeighbor(Z, vi,j)//FindNN of v.




3.
if IsSimilar(vi,j, u) = true then




4.
 ũ(i) = 1




5.
 ũ(j) = 1




6.
else




7.
 Add point vi,j to Z.




8.
 {tilde over (v)}(i) = 1




9.
 {tilde over (v)}(j) = 1




10.
end if










Algorithm 6 takes the mean vector vi,j of the pair and checks whether it already exists in registry set custom character (using IsSimilar). If it finds that vector u is the same as vi,j, it sets ũi and ũj to 1, meaning, the point exists in εi and εj. If, however, it does not find the point in custom character, it adds it and than mark it to the compatible grasp sets.


After the construction of registry set custom character, function RearrangeReg at the end of algorithm 4 extracts the original vectors that constructed the vectors in custom character from their affiliated FCGS. They are extracted according to the coupled binary vectors which denote in which FCGS they exist. This function recalculates each vector vi in custom character to be the mean vector of the original ones extracted from the FCGS. In such a manner, the vectors in custom character denote more accurately the original grasps in which they are originated from.


After acquiring a set of vectors that are common to two or more of the sets ε1, . . . , εq, a classification procedure is performed in order to determine the minimal number of grasp configurations that can grasp subsets of the parts. This is done using a classification algorithm, as discussed below.


As registry set custom charactercustom characterd has already been acquired, the method proceeds to classify the set of objects to a minimal number of subsets, where each subset can be grasped by its respective grasp configuration.


Definition 2: A subset of vectors custom charactercustom character is said to cover all the primitive sets ε1, . . . , εq, if there exists u1, . . . , uσcustom character such that for each εi, where i=1, . . . , q, there exist at least one uj∈εi for some j∈[1, σ].


The d-dimensional registry set custom character acquired in the previous algorithms contains the vectors u1, . . . , umcustom character that are common to two or more sets of ε1, . . . , εq. A compatible set ũ1, . . . , ũmcustom characterq affiliates the vectors in custom character to the FCGS which they exist in. ũi is a q sized binary vector consisting “one” in component j if ui exists in εj and “zero” if not. The next step is to classify all the vectors in set custom character to get a minimum subset of vectors custom charactercustom character which covers all the primitive sets ε1, . . . , εq. That is, classify the objects to a minimal number of subsets with its compatible common grasp for each subset.


Given that a vector uicustom character and its compatible binary vector ũicustom characterq consisting one's or zero's, it can be said that a subset custom charactercustom character where u1, . . . , uσcustom character, covers ε1, . . . , εq if:

Vj=1σũj=({right arrow over (1)})q×1  (34)


It is in fact desired to find a minimal number of binary vectors where their unification equals to a vector of ones. That is, a minimal number of grasps that can grasp all the various parts 120 (of FIG. 7). More specifically, the method finds a solution where the number of grasps σ is minimal, preferably a solution with one grasp for all objects. If a point u1 in the set Z is found while its corresponding vector ũi satisfies condition (34), it means that ũ1=(1, 1, . . . , 1)T, or in simple words, that there is one grasp (defined by feature vector u1) which is common to all sets. If a number of vectors is needed (σ>1) to cover the FCGS, it means that the set of objects is divided into σ subsets and each vector is in fact a grasp suitable to the specific subset of objects (see Example 3 below). The method finally results in obtaining σ grasps for q parts divided into σ subsets according to the compatible grasp. Algorithm 7 presents a function Classification, which receives the set custom character and searches for the minimal number of vectors that satisfies condition (34). Sometimes it is possible to find more than one set of vectors that cover the FCGS, therefore, the function returns the set of vectors which have the maximum grasp quality.












Algorithm 7-Function Classification(custom character )















INPUT: Registry set  custom character .


OUTPUT: One or more common grasps.








 1.
σ = 1


 2.
while σ < size(custom character ) do


 3.
 Find all possible combinations  custom characterj = (u1, . . . , uσ) in  custom character  which







satisfyi=1σu~i=(1)q×1






 4.
 if success then












 5.






Calculate






Q

j







=


min
Q




(


u
1

,









,

u
σ


)






of





each








j

.












 6.






return







j






satisfying







arg





max



j




Q
j







(


j

)






//





return





the





grasp





with












the highest quality measure.








 7.
 else









 8.

σ = σ + 1








 9.
 end if


10.
end while


11.
return NULL // there is no common grasp.









EXAMPLE 3

Given that registry set custom character contains five feature vectors u1, . . . , u5custom characterq that are common to two or more sets of ε1, ε2, ε3, ε4 (q=4 parts). After the performance of function JoinFCGS on ε1, . . . , ε4, each vector uj is affiliated to a binary vector ũj. For example, the five outputted binary vectors are shown in (35).












u
~

1

=

(



1




0




0




1



)










u
~

2

=

(



0




1




0




1



)










u
~

3

=

(



0




1




1




1



)










u
~

4

=

(



1




0




1




0



)










u
~

5

=

(



1




1




1




1



)






(
35
)







For instance, binary vector ũ1 has 1's in the first and fourth position. Therefore, the respective feature vector u1 exists in FCGS ε1 and ε4, meaning that the corresponding grasp configuration can grasp objects 1 and 4. Binary vector ũ5 equals to ({right arrow over (1)}) and therefore, it corresponds to grasp configuration which can grasp all the objects. If such a single binary vector ũ5 which satisfies condition (33) does not exist, it would be desired to search for the minimal set of binary vectors satisfying the condition. In this example, vectors ũ2 and ũ4 are taken, where their union results in ({right arrow over (1)}). Therefore, classify the set of objects are classified to subsets, grasp 2 corresponds to grasp configuration u2 and will grasp objects 2 and 4. Grasp 4 corresponds to grasp configuration u4 and will grasp objects 1 and 3. Moreover, overlapping may occur, such as the union of and ũ3 which in fact results in the possibility of both grasp configurations to grasp object 4. In such a case, object 4 will be grasped by the highest quality grasp of the two. In the classification process the parts are divided into classes, where each class has its own grasp configuration.


The main algorithm for finding common grasp of a set of objects is given in Algorithm 8:









ALGORITHM 8





Common grasp search (CAD model of q objects)


INPUT: 3D CAD's of objects B1, . . . , Bq.


OUTPUT: A common grasp for all objects or common


grasps for subsets of the objects.
















1.
for i = 1 → q do


2.
 Mesh object Bi.


3.
 Manually label forbidden grasp regions on mesh of object Bi.


4.
 Generate set εi using Algorithm 3.


5.
end for


6.
Z = JoinFCGS (ε1, . . . , εq) using Algorithm 4.


7.

custom character  = Classification(custom character ) using Algorithm 7.



8.
return custom character  = (u1, . . . , uk)









Algorithm 8 begins with meshing of each of the existing parts, and by marking of forbidden zones by the user. After the mesh is completed, the generation of the FCGS procedure is performed, for example, according to Algorithm 3. Next, the similarity join is performed according to Algorithm 4 in order to build the registry set custom character. Finally, the classification procedure is performed, for example, according to Algorithm 7, which in turn outputs the best grasp or grasps that are common to all of the objects.


Upon completion of the method of the invention, if a solution of a single common grasp or a set of common grasps at the vertices of the objects' meshes exists, the algorithm finds it. If, however, no solution exists, the method reports that no common grasp points exit for all the existing parts. Obviously, in order to overcome this latter case, one or more grasp points may be added to the existing solution, or the method may be repeated by increasing the available number n of gripping points.


As shown, the method of the present invention maps all the possible grasps (up to mesh size) to determine only the feasible ones. The feasible grasps are those that are force-closure and has a quality measure greater than a pre-defined lower bound. The feasible grasps are parameterized to a feature vector in the feature space, injectively representing the grasp configuration as a polytope with no reference to any coordinate frame. The feature vectors are added to a set denoted as FCGS of the compatible part. Once all feasible grasps of all parts are mapped to the FCGS sets, a Nearest Neighbor Search is performed to find pairs of common vectors among the sets. Those pairs that are found are checked to satisfy tolerance demands, and are further added to a registry set of common vectors. A classification procedure is then performed to find the minimum set of vectors from the registry set that covers all of the FCGS sets. The set of feature vectors found in fact provides those common grasps of subsets that are suitable to all the parts. The algorithm aims to find a single vector which exists in all of the FCGS or a minimal set of vectors for subsets of parts. The vectors found are in fact the grasp configurations that are able to grasp the compatible subset of parts. As the method of the invention goes through all the possible n-finger grasp combinations (up to the mesh size), the method certainly results in the determination of a common grasp or a set of common grasps if such exist. Thus, if a single grasp for all given parts or a set of grasps for subsets of the parts exist, the method of the invention will result in determination of them.


Simulation


A simulation of the method of the invention was implemented in Matlab on an Intel-Core i7-2620M 2.7 GHz laptop computer with 8 GB of RAM. The running of the algorithm was performed using MATLAB parallel computing toolbox in order to decrease runtime. The following simulations present an example of the algorithm operation on 3-clamping frictional grasps of four sheet metal doors.


Four sheet metal parts that are marked as (a), (b), (c), and (d) on FIG. 9 were tested using the algorithm of the invention. Said parts were meshed on their edges using COMSOL Multiphysics to triangular meshes of size 1843 to 2384 triangles as illustrated on FIG. 10 (the triangles are not clearly seen, in view of the high resolution of the mesh). The algorithm was implemented with a 3-clamping frictional grasp. For the generation of the FCGS, the construction of the grasp feature vector was performed according to algorithm 1 and as described in example 2. The boundaries of the PAQM were calculated according to condition 31 to be Qmin=0.7098 and Qmax=0.7202. FIG. 11 presents the distribution of the grasps with respect to their PAQM and the allowable range to be sampled to the FCGS. The figure shows 4 distribution curves, one for each part.


For the similarity search algorithm, the tolerances of the triangles shape ε1[mm], ε2 [mm], ε3 [°] were chosen so that the edges will not extend more than 4% of their original length. The parameters to compare (with condition (33)) normals at the contact points are α=0.8 (80% of the friction angle) and μ=0.6. The search algorithm provided 6 grasps that are common to all parts. The output of the algorithm was one grasp of the 6 with the highest quality measure. FIG. 12 presents the best grasp configuration out of the 6 found common grasps. The best grasp has a quality measure of Q=0.7175. This resulted grasp configuration is the best common 3-clamps grasp for the four tested parts.


While some embodiments of the invention have been described by way of illustration, it will be apparent that the invention can be carried out with many modifications variations and adaptations, and with the use of numerous equivalents or alternative solutions that are within the scope of persons skilled in the art, without departing from the spirit of the invention or exceeding the scope of the claims.

Claims
  • 1. An end effector of a robot for real-world grasping or manipulating of a plurality of different parts, each part having its own geometry, comprising: a) one of more gripping elements which are individually actuated to exert a force at a corresponding contact point associated with each of said parts by a common grasp which is the same for all of said parts, one part at a time; andb) a processor in data communication with an actuator of each of said one or more gripping elements and which is operable to determine said common grasp,wherein said common grasp is based on a determination of all possible grasps that are capable of holding a respective part by any n-contact points, a quality measure for each of said possible grasps, an allowable range for said determined quality measures, a feature vector that parameterizes each of the grasps that are found to be within said allowable range for each of said parts, a cross-part intersection between the grasps that are found to be within said allowable range, and a single grasp having a highest quality measure among said intersected grasps,wherein said quality measure relies on a distribution of a projection of the contact points on a plane fitted to these contact points, while the quality measure is defined as an area of a convex polygon formed by said projection.
  • 2. The end effector of claim 1, wherein the processor is operable to determine the allowable range for said determined quality measures as based on a distribution graph.
  • 3. The end effector of claim 1, wherein the processor is operable to construct the feature vector with 5n−6 or more-dimensions for an n-points grasp.
  • 4. The end effector of claim 1, wherein the processor is operable to base the single common grasp on an increased number of gripping points n=n+1 when the cross-art intersection results in a null number of grasps.
  • 5. The end effector of claim 1, wherein the processor is operable to consider each of said cross-part intersections within a predefined range.
  • 6. The end effector of claim 1, wherein the processor is operable to define a larger area of the convex polygon formed by the projection as a higher quality measure and a better grasp.
  • 7. The end effector of claim 1, wherein the one or more gripping elements are individually actuated to exert a force at a corresponding contact point associated with a specific class of the parts by a grasp common to the parts of the specific class if no common grasp is found for all of said plurality of parts.
  • 8. The end effector of claim 1, which is provided at an end of a robot arm.
  • 9. The end effector of claim 1, wherein each contact point comprises an actuated clamp.
PCT Information
Filing Document Filing Date Country Kind
PCT/IL2013/050767 9/11/2013 WO 00
Publishing Document Publishing Date Country Kind
WO2014/041538 3/20/2014 WO A
US Referenced Citations (2)
Number Name Date Kind
20060012198 Hager Jan 2006 A1
20060250401 Pannese et al. Nov 2006 A1
Non-Patent Literature Citations (9)
Entry
“A new solution to design polyvalent gripper systems for industrial applications”. ©1994 IEEE.
Chang, Lillian, Joshua R. Smith, and Dieter Fox. “Interactive singulation of objects from a pile.” Robotics and Automation (ICRA), 2012 IEEE International Conference on. IEEE, 2012.
Bajaj, Chandrajit L., and Daniel R. Schikore. “Error-bounded reduction of triangle meshes with multivariate data.” Electronic Imaging: Science & Technology. International Society for Optics and Photonics, 1996.
Coelho, Jefferson, Justus Piater, and Roderic Grupen. “Developing haptic and visual perceptual categories for reaching and grasping with a humanoid robot.” Robotics and Autonomous Systems 37.2 (2001): 195-218.
International Search Report dated Jan. 6, 2014 for PCT/IL2013/050767.
Avishai Sintov, Srinivas Raghothama, Roland Menassa and Amir Shapiro, “A Common 3-finger grasp Search Algorithm for a Set of Planar Objects”, Aug. 24, 2012.
Avishai Sintov, Roland Menassa and Amir Shapiro, “A Common n-finger grasp Search Algorithm for a Set of 3D Objects”, Dec. 31, 2012.
Maximo Roa and Raul Suarez, “Frictionless grasp with 7 fingers on discretized 3D objects” Jun. 30, 2006.
A. Sahbani, S. El-Khoury and P. Bidaud, “An Overview of 3D Object Grasp Synthesis Algorithms”, UPMC Univ Paris 06, Sep. 12, 2012.
Related Publications (1)
Number Date Country
20150242540 A1 Aug 2015 US
Provisional Applications (1)
Number Date Country
61700346 Sep 2012 US