Algorithm Search⌘K

Modeladvanced

Rigid contact complementarity model

Also called linear complementarity contact model, LCP contact model.

Rigid bodies in contact with Coulomb friction, written as complementarity conditions; at each contact either the gap or the normal force is zero, and with a linearized cone the forces solve an LCP.

The rigid contact complementarity model describes rigid bodies that touch each other or the ground, with Coulomb friction, without any spring in the contact. Its central condition is a complementarity: at each contact, either the bodies are apart and the contact force is zero, or they touch and the force can be positive, but never both a gap and a force. With the friction cone replaced by a polyhedral cone, the unknown contact forces solve a linear complementarity problem (LCP) at each instant.

The machine

State. The generalized coordinates qq and velocities vv of the bodies, with the mass matrix M(q)M(q) and the other terms h(q,v)=Cv+gh(q, v) = C v + g of the manipulator equation. The input is the actuator torque τ\tau.

Contacts. Contact ii has a gap function ϕi(q)\phi_i(q), the signed distance along the contact normal, with ϕi≥0\phi_i \ge 0 when the bodies do not overlap. The row niT=∂ϕi/∂qn_i^T = \partial \phi_i / \partial q maps vv to the normal velocity, and DiD_i maps vv to the tangential velocity of the contact point. The normal points into the body that receives the force, so a positive normal force pushes the bodies apart.

Forces. The normal force fn,i≥0f_{n,i} \ge 0 and the friction force ft,if_{t,i}, with the generalized force nifn,i+Dift,in_i f_{n,i} + D_i f_{t,i}. The equation of motion is

Mv˙+h=τ+∑i(nifn,i+Dift,i).M \dot v + h = \tau + \sum_i \big(n_i f_{n,i} + D_i f_{t,i}\big).

Contact law. Normal direction, in positions: 0≤ϕi⊥fn,i≥00 \le \phi_i \perp f_{n,i} \ge 0, where a⊥ba \perp b means aTb=0a^T b = 0. For a closed contact with ϕi=0\phi_i = 0 and ϕ˙i=0\dot\phi_i = 0, the same condition holds one level down: 0≤ϕ¨i⊥fn,i≥00 \le \ddot\phi_i \perp f_{n,i} \ge 0. Friction, with the coefficient μi\mu_i (Coulomb's law): ∥ft,i∥≤μifn,i\| f_{t,i} \| \le \mu_i f_{n,i}; if the contact slides, ft,i=−μifn,i si/∥si∥f_{t,i} = -\mu_i f_{n,i}\, s_i / \| s_i \| for the slip velocity sis_i; if it sticks, any force in the cone is allowed, and the tangential acceleration is zero.

Standing assumptions. Rigid bodies, a finite number of point contacts, Coulomb friction with a known μ\mu, no adhesion, and a rule for impacts (here, perfectly inelastic: the normal velocity becomes zero).

The LCP. Given a square matrix AA and a vector bb, the linear complementarity problem asks for z≥0z \ge 0 with w=Az+b≥0w = A z + b \ge 0 and ziwi=0z_i w_i = 0 for all ii. For closed frictionless contacts, put N=[n1…nc]N = [n_1 \ldots n_c]. Then ϕ¨=NTv˙+N˙Tv\ddot\phi = N^T \dot v + \dot N^T v and v˙=M−1(τ−h+Nfn)\dot v = M^{-1}(\tau - h + N f_n) give

w=ϕ¨=(NTM−1N) fn+NTM−1(τ−h)+N˙Tv,z=fn.w = \ddot\phi = (N^T M^{-1} N)\, f_n + N^T M^{-1}(\tau - h) + \dot N^T v, \qquad z = f_n .

With friction and a polyhedral cone of kk edges per contact, the friction force is DiβiD_i \beta_i with βi≥0\beta_i \ge 0, and a slack λi\lambda_i joins the unknowns. The LCP then has the same block form as one step of Stewart-Trinkle time stepping, with forces and accelerations in place of impulses and velocities.

What it counts

For a given state and input, the model gives the contact forces, the accelerations and the contact mode of each contact: separate, stick or slide.

A block on a floor. A block of 1 kg on a floor with μ=0.5\mu = 0.5 and g=9.81g = 9.81 m/s2^2 is pushed by a horizontal force FF. The normal force is 9.81 N. If ∣F∣≤4.905|F| \le 4.905 N, the block sticks and the friction force is −F-F. If F=7F = 7 N, the block slides with the acceleration 7−4.905=2.0957 - 4.905 = 2.095 m/s2^2. The model gives one answer for every FF.

Forces that are not unique. A rigid bar of 1 kg rests without friction on three supports at x=−1x = -1, 00 and 11 m, with its center of mass at x=0x = 0. The supports carry (s, 9.81−2s, s)(s,\ 9.81 - 2s,\ s) N for every ss in [0,4.905][0, 4.905]: all satisfy the model, and all give the same acceleration, zero. A rigid model cannot say how the weight is shared; a compliant model can.

Forces that do not exist. With friction, there are states with no solution and states with several, the Painlevé paradox. For the sliding rod on that page with μ>4/3\mu > 4/3, some states have no consistent contact force and others have two.

Relation to other models

  • Compliant contact. A penalty model puts a stiff spring and a damper at each contact. It always gives unique forces, which depend on the chosen stiffness, and it needs small time steps because the springs are stiff.
  • Impulse form. Writing the model in impulses over a time step gives Stewart-Trinkle time stepping, which has a solution in the cases where the force form fails.
  • Gauss's principle. For frictionless contacts, the LCP is the KKT system of a convex quadratic program: minimize the Gauss constraint 12(v˙−v˙free)TM(v˙−v˙free)\tfrac12 (\dot v - \dot v_{\mathrm{free}})^T M (\dot v - \dot v_{\mathrm{free}}) subject to ϕ¨≥0\ddot\phi \ge 0; the normal forces are its multipliers.
  • Quasi-static grasp models. Grasp contact models use the same unilateral and friction conditions without the inertia terms.
  • Hybrid systems. Each contact mode is a smooth system, and the switches between modes make the model a hybrid automaton; the complementarity form avoids listing the modes.

Known results in the model

  • Frictionless existence and uniqueness (theorem). Without friction, NTM−1NN^T M^{-1} N is positive semidefinite and the LCP is the KKT system of a convex quadratic program. When that program is feasible, for example when the contact normals nin_i are linearly independent, the LCP has a solution. The accelerations are unique, but the forces need not be (Lötstedt 1982).
  • With friction (theorem). Solutions may not exist or may not be unique. Existence is guaranteed only when the friction coefficients are below a threshold that depends on the contact geometry (Trinkle, Berard and Pang 2005, Section 1.1).
  • Complexity (theorem). Deciding whether a configuration with friction has consistent contact forces is NP-complete (Baraff 1991). The general LCP is NP-complete too (Chung 1989), while LCPs with a positive semidefinite matrix can be solved in polynomial time as convex quadratic programs.
  • Contact modes. With cc contacts in the plane, each contact can separate, stick, slide left or slide right, so a brute force search tries up to 4c4^c modes and solves a linear system for each. Pivoting methods such as Lemke's method, and the iterative method of projected Gauss-Seidel, avoid the full search in practice.
  • Impulsive form (theorem). The velocity form of the time-stepping LCP always has a solution, and Lemke's method finds it (Anitescu and Potra 1997); see Stewart-Trinkle time stepping.

References

  1. Per Lötstedt, Mechanical systems of rigid bodies subject to unilateral constraints, SIAM Journal on Applied Mathematics 42(2), 1982, pages 281 to 296
  2. David Baraff, Coping with friction for non-penetrating rigid body simulation, Computer Graphics (SIGGRAPH '91 Proceedings) 25(4), 1991, the sections on the consistency of contact forces with friction and its NP-completeness
  3. David E. Stewart, Rigid-body dynamics with friction and impact, SIAM Review 42(1), 2000, pages 3 to 39
  4. Jeffrey C. Trinkle, Stephen Berard and Jong-Shi Pang, A time-stepping scheme for quasistatic multibody systems, IEEE International Symposium on Assembly and Task Planning, 2005, pages 174 to 181; Section 1.1 on existence and uniqueness for the instantaneous model
  5. Sung-Jin Chung, NP-completeness of the linear complementarity problem, Journal of Optimization Theory and Applications 60(3), 1989, pages 393 to 399
  6. Mihai Anitescu and Florian A. Potra, Formulating dynamic multi-rigid-body contact problems with friction as solvable linear complementarity problems, Nonlinear Dynamics 14(3), 1997, pages 231 to 247
  7. Richard W. Cottle, Jong-Shi Pang and Richard E. Stone, The Linear Complementarity Problem, SIAM Classics in Applied Mathematics 60, 2009, Chapter 1 (the problem and its sources) and Chapter 4 (pivoting methods)
  8. Roy Featherstone, Rigid Body Dynamics Algorithms, Springer, 2008, Chapter 11, Contact and Impact
  9. Bruno Siciliano and Oussama Khatib (editors), Springer Handbook of Robotics, second edition, Springer, 2016, Chapter 37, Contact Modeling and Manipulation, by Imin Kao, Kevin M. Lynch and Joel W. Burdick, pages 931 to 954

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/4KBV2X/text.yaml