Techniquecore
Polyhedral friction cone approximation
Also called linearized friction cone.
Replaces the circular Coulomb friction cone by a pyramid with k edges, so that contact force constraints become linear and fit in linear programs and LCPs.
The circular friction cone is convex but not polyhedral, so a contact force constraint with it is not linear. The polyhedral approximation replaces the cone by a pyramid: the set of nonnegative combinations of edge vectors. Each contact force then becomes with , a linear constraint, and grasp analysis, force optimization and contact simulation can use linear programs and linear complementarity problems. The price is an error that depends on and on the choice between an inner and an outer pyramid.
In plain words
A friction cone is like an ice cream cone standing on the contact point. Any push that stays inside the cone is safe; the finger does not slip. Round shapes are awkward for some solvers, which want flat sides. So we cut the round cone into a pyramid with a few flat sides. If the corners of the pyramid touch the round cone, the pyramid fits inside it, and anything the pyramid allows is safe, but a few safe pushes are lost. If the flat sides touch the round cone instead, the pyramid is larger, and it allows a few pushes that really slip. More sides make the error smaller and the problem bigger.
When it applies
- The contact model is a point contact with Coulomb friction, or a soft finger whose torsion limit is also linearized (grasp contact models).
- The problem around the contacts is linear: a feasibility test, a linear program, or a linear complementarity problem. A solver that handles second-order cones directly does not need the approximation.
- The error of the pyramid is acceptable, or its direction is the safe one for the question: an inner pyramid for a test that must not accept a bad grasp, an outer pyramid for a bound that must not reject a feasible motion.
- In the plane the method is exact: a planar cone has exactly the two edges .
The template
The input is the inward unit normal at the contact, the coefficient , and the number of edges . The output is the list of edges; the pyramid is their conic hull.
LINEARIZE-CONE(n, μ, k, outer)- 1
choose unit tangents t1, t2 with (t1, t2, n) orthonormal - 2
if outer then ν ← μ / cos(π/k) else ν ← μ - 3
for j = 0 to k - 1 do - 4
θ ← 2πj / k - 5
e_j ← n + ν (cos θ · t1 + sin θ · t2) - 6
return (e_0, ..., e_{k-1}) ▷ FC_k = { Σ a_j e_j : a_j ≥ 0 }
Then replace each constraint " is in the friction cone" by " with ". The normal force is , because each edge has normal component 1. A wrench constraint follows by linearity: the contact can apply exactly the wrenches .
Why the error is . Cut the cone at . The section of the true cone is a disc of radius in the tangent plane. With (L2), the edges hit the circle at the vertices of a regular -gon inscribed in the disc. The inradius of that -gon is , so in the worst tangential direction, halfway between two edges, the pyramid allows only where the true cone allows . With the -gon is circumscribed about the disc: its inradius is , and its vertices reach in the directions of the edges.
| inner: worst tangential reach | outer: worst overreach | inner: area of the section | |
|---|---|---|---|
| 3 | 0.5000 | 2.0000 | 0.4135 |
| 4 | 0.7071 | 1.4142 | 0.6366 |
| 6 | 0.8660 | 1.1547 | 0.8270 |
| 8 | 0.9239 | 1.0824 | 0.9003 |
| 16 | 0.9808 | 1.0196 | 0.9745 |
The area column is the area of the inscribed -gon divided by the area of the disc, . An inner pyramid within 5 percent of the true cone in every direction needs ; within 1 percent it needs .
Classic examples
Force-closure test. The force-closure test turns each edge into a primitive wrench and asks for a strictly positive combination that sums to zero. With an inner pyramid, a CLOSED answer is also true for the circular cones. Two hard fingers in space with show the usual size: 8 primitive wrenches in .
The friction box of legged robots. Controllers for walking robots often write the friction constraint as and . This is a 4-edge pyramid with along the diagonals, that is the outer pyramid of the template rotated by 45 degrees. Its corners reach , so a force in a diagonal direction can pass the constraint and still slip. Replacing by gives the inner pyramid. The contact wrench cone of a flat foot and the quadratic programs of whole-body control and convex MPC use such pyramids.
Time-stepping simulation. Stewart and Trinkle (1996) write each step of a rigid body simulation with Coulomb friction as a linear complementarity problem. The tangential force is a nonnegative combination of directions in the tangent plane, so the friction cone is a pyramid; see Stewart-Trinkle time-stepping. The direction of the sliding friction force is then one of the directions, which makes a sliding body turn slightly toward an edge of the pyramid.
Grasp force optimization. To hold an object with the least squeeze, minimize the sum of the normal forces subject to the balance of wrenches and . With pyramids this is a linear program.
Variations
- Inner, outer, or in between. The inner pyramid () gives sufficient conditions for the true cone; the outer pyramid () gives necessary conditions. Some codes use a pyramid of equal area, which has no guarantee in either direction.
- Edges aligned with the load. A pyramid with one edge in the direction of the expected tangential load has no error in that direction. Only the directions between edges lose capacity.
- Soft fingers. The soft finger contact adds a torsional moment about the normal with . Each edge is then used twice, with the moments and . The Handbook also describes models that couple the twist limit and the friction limit (Howe and Cutkosky 1996); they are not polyhedral.
- Exact cones. A second-order cone program keeps the circular cone and avoids the error, at the price of an interior point solver.
- Refinement. The pyramid with edges contains the one with edges when the edges of the first are among those of the second. A test that answers CLOSED with edges then also answers CLOSED with .
Pitfalls
- Calling an outer pyramid conservative. The friction box is larger than the cone. A force that passes it can slip.
- A wrong tangent basis. The tangents must be orthogonal to and to each other, with unit length. A tangent that is not orthogonal to tilts the whole pyramid.
- Unnormalized normals. If is not a unit vector, is scaled by the wrong amount and the cone has the wrong angle.
- Too many edges. The number of variables is for contacts. A large makes the program bigger and more degenerate, while the error falls only like .
- Anisotropic sliding. In a simulation, a pyramid with few edges makes a sliding body prefer the directions of the edges. This is an artifact of the approximation, not of Coulomb's law.
- The plane needs no approximation. A planar contact has exactly two edges. Using more edges in the plane only adds redundant columns.
Exercises
- Show that a regular -gon inscribed in a circle of radius has inradius , and conclude the inner column of the table.
- Find the least for which the inner pyramid loses at most 1 percent of the tangential capacity in every direction. (Answer: , since and .)
- Show that the friction box , contains the circular cone, and that a force at 45 degrees can exceed the true limit by the factor .
- Show that a pyramid whose edges lie on the cone is contained in the cone, using the convexity of the cone.
References
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 12, Section 12.2.1 (Friction), the friction cone approximated by a polyhedral cone, and Section 12.2.3 (force closure with the edges of the cones)
- Domenico Prattichizzo and Jeffrey C. Trinkle, Grasping, Chapter 38 of the Springer Handbook of Robotics, second edition, Springer, 2016, Section 38.4.2 (Force Closure), the linearized friction cone of equation (38.59), inscribed, and the circumscribed cone with mu / cos(pi / n_g); the chapter is pages 955 to 988
- Richard M. Murray, Zexiang Li and S. Shankar Sastry, A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994, Chapter 5 (friction cones and contact models)
- David E. Stewart and Jeffrey C. Trinkle, An implicit time-stepping scheme for rigid body dynamics with inelastic collisions and Coulomb friction, International Journal for Numerical Methods in Engineering 39(15), 2673-2691, 1996, the linear complementarity formulation, which uses a polyhedral approximation of the friction cone
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag MHHJV1 Edit this page History Report an error Markdown