Simulating Multi-Rigid-Body Dynamics with Contact and Friction Mihai Anitescu SIAM OPTIMIZATION MEETING May 10, 1999.

Slides:



Advertisements
Similar presentations
Real-Time Game Physics
Advertisements

A State Transition Diagram for Simultaneous Collisions with Application in Billiard Shooting Yan-Bin Jia Matthew Mason Michael Erdmann Department of Computer.
Contact Mechanics B659: Principles of Intelligent Robot Motion Spring 2013 Kris Hauser.
Physics for Game Programmers Contacts or “How (Not) To Make It Stick” Gino van den Bergen
Department of Computer Science, Iowa State University Energy-based Modeling of Tangential Compliance in 3-Dimensional Impact Yan-Bin Jia Department of.
Kinetics of Particles Impulse and Momentum.
Computer Science A family of rigid body models: connections between quasistatic and dynamic multibody systems Jeff Trinkle Computer Science Department.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
by Rianto Adhy Sasongko Supervisor: Dr.J.C.Allwright
Complementarity Models for Rolling and Plasticity Mihai Anitescu Argonne National Laboratory At ICCP 2012, Singapore With: A. Tasora (Parma), D. Negrut.
Chapter 11 Angular Momentum.
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
Course Outline 1.MATLAB tutorial 2.Motion of systems that can be idealized as particles Description of motion; Newton’s laws; Calculating forces required.
Dual Problem of Linear Program subject to Primal LP Dual LP subject to ※ All duality theorems hold and work perfectly!
1cs533d-winter-2005 Notes  Assignment 2 going okay? Make sure you understand what needs to be done before the weekend  Read Guendelman et al, “Nonconvex.
An Approach to Model-Based Control of Frictionally Constrained Robots
UNC Chapel Hill S. Redon - M. C. Lin Rigid body dynamics II Solving the dynamics problems.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation Computer Science Department University of British Columbia Vancouver, Canada.
Single Point of Contact Manipulation of Unknown Objects Stuart Anderson Advisor: Reid Simmons School of Computer Science Carnegie Mellon University.
An Implicit Time-Stepping Method for Multibody Systems with Intermittent Contact Nilanjan Chakraborty, Stephen Berard, Srinivas Akella, and Jeff Trinkle.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
1cs533d-term Notes  Typo in test.rib --- fixed on the web now (PointsPolygon --> PointsPolygons)
1cs533d-winter-2005 Notes  Assignment 2 instability - don’t worry about it right now  Please read D. Baraff, “Fast contact force computation for nonpenetrating.
Vectors & Concept of Force 8.01 W02D1 Fall Coordinate System 1.An origin as the reference point 2.A set of coordinate axes with scales and labels.
Linear Momentum and Collisions
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
3.7. O THER G AME P HYSICS A PPROACHES Overview of other game engine physics approaches.
Classical Mechanics Describes the relationship between the motion of objects in our everyday world and the forces acting on them Conditions when Classical.
Definition of an Industrial Robot
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Machine Learning CUNY Graduate Center Lecture 3: Linear Regression.
STATIC EQUILIBRIUM [4] Calkin, M. G. “Lagrangian and Hamiltonian Mechanics”, World Scientific, Singapore, 1996, ISBN Consider an object having.
FE Exam: Dynamics review D. A. Lyn School of Civil Engineering 21 February 2012.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Questions From Reading Activity? Big Idea(s):  The interactions of an object with other objects can be described by forces.  Interactions between.
Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.
A particle-gridless hybrid methods for incompressible flows
REVISION MOMENTUM. the product of an object's mass and its velocity a vector quantity with the same direction as the velocity of the object. MOMENTUM.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
 d.s. wu 1 Penalty Methods for Contact Resolution interactive contact resolution that usually works pi david s wu.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Exam 2 Review 8.02 W08D1. Announcements Test Two Next Week Thursday Oct 27 7:30-9:30 Section Room Assignments on Announcements Page Test Two Topics: Circular.
THE LAPLACE TRANSFORM LEARNING GOALS Definition
I.4 Polyhedral Theory 1. Integer Programming  Objective of Study: want to know how to describe the convex hull of the solution set to the IP problem.
Chapter 11 Angular Momentum. Angular momentum plays a key role in rotational dynamics. There is a principle of conservation of angular momentum.  In.
Rigid Body Dynamics (II). Bodies intersect ! classify contacts Bodies separating –v rel >  –No response required Colliding contact (Last time) –v rel.
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Lecture 6 - Single Variable Problems & Systems of Equations CVEN 302 June 14, 2002.
Introduction to Optimization
STATIC ANALYSIS OF UNCERTAIN STRUCTURES USING INTERVAL EIGENVALUE DECOMPOSITION Mehdi Modares Tufts University Robert L. Mullen Case Western Reserve University.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Chapter Four Friction.
Central Force Umiatin,M.Si. The aim : to evaluate characteristic of motion under central force field.
Linear Programming Chapter 1 Introduction.
Support Vector Machine: An Introduction. (C) by Yu Hen Hu 2 Linear Hyper-plane Classifier For x in the side of o : w T x + b  0; d = +1; For.
Particle Kinematics Direction of velocity vector is parallel to path Magnitude of velocity vector is distance traveled / time Inertial frame – non accelerating,
Physically Based Simulations For Games
Kinetics of Particles: Newton’s Second Law
3.7. Other Game Physics Approaches
Handling of Resting Contact
Rotational Kinematics
Advanced Computer Graphics Spring 2008
I.4 Polyhedral Theory (NW)
I.4 Polyhedral Theory.
Chapter 4 . Trajectory planning and Inverse kinematics
Presentation transcript:

Simulating Multi-Rigid-Body Dynamics with Contact and Friction Mihai Anitescu SIAM OPTIMIZATION MEETING May 10, 1999

Rigid Multi-Body Dynamics Simulation Applications Industrial simulation and design for aircraft, ships, heavy vehicles (product design -- production, 5 years). Flexible Manufacturing Systems design and redesign (commissioning+tuning, 3 years). Appropriate simulation could reduce lead times by up to 50%. Simulating virtual environments (+real time = interactive).

Virtual Environment Application Example Setting up the real installation for training is very expensive. The virtual environment can be easily modified for different scenarios, but simulating it in real-time is essential. Simplified model: rigid bodies with joints and contacts. Insert Picture

Initial model requirements Acceleration based Newton laws. Rigid bodies. No inter penetration, nonnegative contact impulses and passive contact Joint constraints Coulomb friction or reasonable approximations. Impact resolution (Poisson hypothesis).

Classical Constrained Dynamics

Inconsistency example State space representation Constraint, initially

Frictional Inconsistency What went wrong? Newton’s laws rather than Coulomb’s model. Configuration inconsistent, not only singular. P. Painleve: Governing equations of motion do not have a solution in general( Comptes Rendus Acad. Sci. Paris, 1895). Approaches for the continuous case. –Solutions in a distributional sense. –Differential inclusions instead of differential equations (Moreau, 1986; Monteiro-Marques, 1993).

Avoiding Frictional Inconsistency in time-stepping schemes Time-stepping: If a continuous model exists, how should the associated numerical integration scheme look like? Friction is estimated, and the frictionless problem is solved (Lotstedt,1982). Problems: starting configuration and the impact case. The inconsistent configuration is treated as a collision(Baraff,1993). Problems: arbitrary collisions and the impact case. Newton's law with impulses and velocities (Stewart & Trinkle 1995; Anitescu & Potra, 1996).

Revised model requirements Velocity based Newton laws, by combining time stepping with impulse resolution. Rigid bodies. No inter penetration, nonnegative contact impulses and passive contact Joint constraints Coulomb friction or reasonable approximations. Impact resolution (Poisson hypothesis).

Framework and notations used The rigid multi-body system is described by its generalized coordinates, q, and generalized velocities, v. The contacts (joints) are described by inequalities (equalities). The ``tangent plane'' for a contact constraint is defined by the cone generators M: mass matrix, symmetric positive definite; h: the time step k: external force. Insert Model Slides

Contact Model Contact configuration described by the (generalized) distance function, which allows for some interpenetration. Feasible set. Contact impulses are compressive The normal velocity for non inter penetration is velocity-based (as opposed to Stewart & Trinkle, where it is position-based): Complementarity guarantees energetic passivity of contact:

Contact Description is the normal impulse and is the tangential impulse is the total impulse in Newton Euler world coordinates. Classical Coulomb model requires the 3D contact impulse to lie in a circular cone. If relative motion exists, the frictional impulse has to be opposite to the relative velocity (Maximum Dissipation)

Polygonal approximation of Coulomb cone

The Integration Step

Matrix Form of The Integration Step

Linear Complementarity Problems (LCPs) Linear and Quadratic Programming are LCPs, via primal- dual formulations. If, a solution exists, (by a Brouwer fixed point argument), and can be computed by Lemke’s algorithm (pivotal, similar to simplex). M has to be copositive

Interior Point Algorithms (IP) It takes corrected Newton steps to compute a solution if M is positive semi definite. The central path is well defined. In the convex case IP algorithms have polynomial complexity, but other extensions are unclear.

Theorem Consider the mixed LCP above. If M is a symmetric positive definite matrix, N a copositive matrix and b a nonnegative vector, then the mixed LCP has a solution. Lemke’s algorithm (with anti cycling strategy) will find a solution of the LCP obtained by eliminating x,y.

Properties of the formulation The model is solvable for any configuration. Discrete Maximum Dissipation Principle (MDP): The frictional impulse maximizes the dissipation over all feasible contact impulses, given If the mass matrix is constant, the kinetic energy at the new step cannot exceed the the kinetic energy of the system with no constraint enforced (contacts are passive).

Energy/ stability properties Assumption: M constant. If the external force is of the form c depends only on M and d. h has to be sufficiently small but depending only on c, T.

Constraint stability There are constants C,H depending on the problem data, but not on the time-step h, such that for any h < H (q(t) is obtained by linear interpolation).

Difficult Friction Configuration For any friction coefficient we obtain multiple solutions. Does this result in undesirable properties of the LCP matrix?

Column sufficiency?

Row sufficiency?

Properties of the LCP matrix. The matrix Q is neither row, nor column sufficient. As a result, it cannot be in the class, which makes it difficult to use polynomial-time interior-point algorithms. Lemke’s algorithm appears to be the only one which is guaranteed to provide a solution to this model. However, further analysis may reveal good matrix properties for pointed friction cones. Since model needs to solve a succession of these LCPs anyway, other approaches may provide (computationally) better matrices.

Differential Inclusions v has bounded variation K(t) is closed and convex set valued

Theorem For a pointed friction cone, there exists The quantities are obtained by linear interpolation. (D. Stewart)

Theorem(II) For one contact, maximal dissipation holds

Accomplishments The time-stepping model to has a solution regardless of the configuration and dimension of the problem. Impulsive solutions are accommodated. Static and dynamic friction are treated in an unitary manner. The constraints are guaranteed to be satisfied within any given tolerance. The numerical scheme is dissipative and, as a result the velocities are uniformly bounded. A differential inclusion model with energy dissipation satisfied in the limit.

2-dimensional examples Long bar with multiple contacts: – low friction (mu=0.05, e=0.6)low friction – high friction.(mu=0.2, e=0.6)high friction 2 blocks on table –low friction (mu=0.01, e=0.2)low friction (mu=0.01, e=0.2) –high friction (mu=0.1, e=0.2)high friction (mu=0.1, e=0.2) Multiple collisions with high restitution, high friction (mu=0.3, e=0.9).high friction (mu=0.3, e=0.9) Three blocks on table, low friction (mu=0.05, e=0.6).low friction (mu=0.05, e=0.6) Several blocks, (mu=0.2, e=1.0)(mu=0.2, e=1.0)

Open Problems Can a consistent differential inclusion approach be formulated for general configurations? Under which conditions does the maximum dissipation principle apply in the multiple contact case? Can other properties of the time-stepping scheme be used in the continuous time context (such as the bound on the square of the variation of the velocities)?velocities Is the solution set of the friction LCP convex? (it is not true for arbitrary copositive matrices), Can the LCP be recast as a convex optimization problem?

Future Research Treat the Coulomb cone directly rather than using a polygonal approximation (partly solved APS98 ). Design stable numerical algorithms to handle stiffness (implicit or linearly implicit, work in progress). Nonlinear formulations (NCP). Investigate Interior-Point Algorithms for solving the friction LCP or NCP. Are higher-order methods relevant? Formulate an efficient piecewise DAE strategy.