Fast Implementation of Lemke - PowerPoint PPT Presentation

About This Presentation
Title:

Fast Implementation of Lemke

Description:

Fast Implementation of Lemke s Algorithm for Rigid Body Contact Simulation John E. Lloyd Computer Science Department University of British Columbia – PowerPoint PPT presentation

Number of Views:54
Avg rating:3.0/5.0
Slides: 29
Provided by: defau1737
Category:

less

Transcript and Presenter's Notes

Title: Fast Implementation of Lemke


1
Fast Implementation of Lemkes Algorithm for
Rigid Body Contact Simulation
John E. Lloyd
Computer Science Department University of British
Columbia Vancouver, Canada
2
Applications mechanical simulation, animation,
haptics
Haptics requires speed (1 Khz) and accuracy
3
Extended contact can result in many contact points
4
Contributions
Most exact solution method is Lemkes
algorithm with expected complexity
  • Use problem structure to speed up solution
  • Reduce complexity to nearly
  • complexity for fixed number of bodies

number of contacts, number of
bodies
5
Problem formulation
6
Constraints
7
Results in a Linear Complementarity Problem (LCP)
8
Solving Contact LCPs
  • Iterative techniques includes impulse methods
    Mirtich Canny 95, Guendelman 03
    gt Accuracy, convergence?
  • Pivoting methods Lemkes algorithm Anitescu
    Potra 97, Stewart Trinkle 96 gt
    Speed, robustness?

9
Pivoting exchange subsets of z and w
Generally, one variable exchange per pivot
10
Once per pivot compute
  • Involves solving
  • Complexity , and typically
    pivots
  • Hence total expected complexity

11
Peg in hole test case
12
How to improve performance?
  • 1 Solve more efficiently
  • 2 Reduce the number of pivots

13
1 Solving
Ignoring Lemke covering vector in this discussion
14
This reduces the system to
15
This yields the final system
  • Reduced matrix has size
  • Hence per-pivot computation is
  • So total expected complexity

16
2 Reducing the number of pivots
17
So start with a frictionless LCP
18
Ideally, final system rank is
19
Results peg in hole
Standard Structural Reduced
20
Results sample contacts
Standard Structural Reduced
21
Results block stack
Standard Structural Reduced
22
Results
23
Conclusions Improved pivoting method for contact
simulation
  • Fast exploit problem structure
  • Better complexity nearly
  • for fixed number of bodies
  • Efficient no need to compute
  • More robust smaller system to solve each pivot

http//www.cs.ubc.ca/lloyd/fastContact.html
24
(No Transcript)
25
Future Work
  • Exploit temporal coherence (give solver an
    advanced starting point)
  • More efficient solution for reduced equation
  • Robust pivot selection (minimum ratio test)

26
LCP matrix can be quite large
27
Larger number of needed for accurate
friction computation
f
v
28
Closeup sample contacts
Write a Comment
User Comments (0)
About PowerShow.com