+ All Categories
Home > Documents > Stephane Redon, Nico Galoppo, Ming C....

Stephane Redon, Nico Galoppo, Ming C....

Date post: 29-Jun-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
43
Adaptive Dynamics of Articulated Bodies Adaptive Dynamics of Articulated Bodies Adaptive Dynamics of Articulated Bodies Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina at Chapel Hill
Transcript
Page 1: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive Dynamics of Articulated BodiesAdaptive Dynamics of Articulated Bodies

Stephane Redon, Nico Galoppo, Ming C. LinUniversity of North Carolina at Chapel Hill

Page 2: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Motivation

• Articulated bodies in Computer Graphics– Humans, hair, animals

– Trees, forests, grass

– Deformable bodies

– Molecular graphics

– …

Page 3: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Motivation

• Forward dynamics

• Optimal solutions are linear

• Optimal forward dynamics methods are too slowfor numerous or complex articulated bodies

Page 4: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Contributions

• Forward dynamics

• Adaptive forward dynamics– Specify the number of degrees of freedom

– Only this number of degrees of freedom is simulated

– The most relevant degrees of freedom are automatically found

Page 5: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Contributions

• Hybrid bodies– Articulated-body representation

– To reduce the number of degrees of freedom

• Adaptive joint selection– Customizable motion metrics

– To determine the most relevant degrees of freedom

• Adaptive update mechanisms

Page 6: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Outline

• Related work

• Hybrid bodies

• Adaptive joint selection

• Adaptive update mechanisms

• Results

Page 7: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Related workForward dynamics of articulated bodies

• View-dependent dynamics

• Articulated-body motion simplification

– Faure 1999

– Redon and Lin 2005: Adaptive quasi-statics

• Optimal algorithms

• Parallel algorithms

• Human motion

• Plant motion

• Hair modeling

This paper: adaptive simplification using customizable motion error metrics

Page 8: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Outline

• Related work

• Hybrid bodies

• Adaptive joint selection

• Adaptive update mechanisms

• Results

Page 9: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Articulated-bodyDefinitionArticulated-bodyDefinition

• An articulated-body is a rigid-body system with one or more handles;

• A handle is a specified location within an articulated body to which external forces may be applied and which responds with an observable acceleration.

Page 10: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Articulated-bodies Featherstone’s DCA

• Recursive definition

An articulated body is recursively defined as a pair of articulated bodies connected by a joint

A B

Page 11: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

• Recursive definition

Articulated bodies Featherstone’s DCA

Rigid bodies

The complete articulated body

Pairs of rigid bodies

The assembly tree of an articulated body

Page 12: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Articulated-body equations of motion:

Articulated-body Dynamics Featherstone’s DCA

BodyAccelerations

Inverse inertias and cross-inertias

AppliedForces

Biasaccelerations

Page 13: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Articulated-body Dynamics Featherstone’s DCA

Articulated-body equationsthe effect of a force applied to body

2, on the acceleration of body 1

The bias acceleration is the acceleration of body 1 when no forces are applied

Page 14: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Featherstone’s DCATwo main passes

1. The main pass: Compute the articulated-body coefficients ( )

Inverse inertias

Bias accelerations

Leaf-node coefficients

Acceleration-independent external force applied to the rigid body

Page 15: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Featherstone’s DCATwo main passes

2. The back-substitution pass: the kinematic constraint forces are propagated down the tree to compute all the joint accelerations ( ).

Joint acceleration

Kinematic constraint forces

Page 16: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Hybrid bodiesDefinitions

• Active region

• Goal: to simply the dynamics

• Means: select a subset of joints to simulate (the complement set of nodes are rigidified)

rigid node

hybrid node

The active region contains the mobile joints

Hybrid body – an articulated body whose set of active joints is a sub-tree of the assembly tree, with an identical root.

Page 17: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Hybrid bodiesHybrid-body coefficients

Hybrid bodiesHybrid-body coefficients

• Hybrid nodes use the articulated-body equations

• A rigidified node behaves like a rigid body

Rigidify joint

Articulated-body coefficients

Rigidified-body coefficients

Page 18: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Hybrid bodiesHybrid-body simulation

• Same steps as articulated-body simulation

• Computations restricted to a sub-tree in the back-substitution pass (and consequently in updates of the velocities and positions)

Page 19: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Outline

• Related work

• Hybrid bodies

• Adaptive joint selection

• Adaptive update mechanisms

• Results

Page 20: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selectionAdaptive joint selection

To predict which joints should be activated so as to best approximate the motion of the articulated body, without computing the accelerations of all the joints in the articulated-body.

Page 21: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selectionMotion metrics

• Acceleration metric

• Velocity metric

Symmetric, PSD

usually identity matrix

Page 22: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Motion metrics

• TheoremThe acceleration metric value of an articulated body can be computed before computing its joint accelerations

Computed in a bottom-up fashion just like the computation of articulated-body coefficients

Page 23: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration update

Example:

=6 =-3 =2 =-1 =1=-6=3

= 96

Page 24: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

Compute the acceleration metric value of the root

Page 25: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

= 96 -3

Compute the joint acceleration of the root

Adaptive joint selection Acceleration simplification

Page 26: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

= 6= 81

Compute the acceleration metric values of the two children

-3

Page 27: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

Select the node with the highest acceleration metric value

-3

= 6= 81

Page 28: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

Compute its joint acceleration

-3

-6= 81 = 6

Page 29: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

= 9 = 36

Compute the acceleration metric values of its two children

-3

-6 = 6= 81

Page 30: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

= 9 = 36

-3

-6 = 6= 81

Select the node with the highest acceleration metric value

= 36

Page 31: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

= 96

= 9 = 36

-3

-6 = 6= 81

Compute its joint acceleration

6

Page 32: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

-3

-6

6

= 96

= 9

= 6

Stop because a user-defined sufficient precision has been reached

Page 33: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive joint selection Acceleration simplification

-3

-6

6

= 96

= 9

= 6

Four subassemblies with joint accelerations implicitly set to zero

Page 34: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Outline

• Related work

• Hybrid bodies

• Adaptive joint selection

• Adaptive update mechanisms

• Results

Page 35: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive update mechanismsHandling two types of coefficients

Limit the update of the coefficients to a subtree

1. Position-dependent coefficientsHierarchical state representation [Redon and Lin 2005]

Page 36: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Adaptive update mechanisms

2. Velocity-dependent coefficients

Linear coefficients tensors:

Page 37: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

Outline

• Related work

• Hybrid bodies

• Adaptive joint selection

• Adaptive update mechanisms

• Results

Page 38: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsAdaptive joint selection

Adaptive joint selection example (10x speed-up)

Page 39: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsTime-dependent simplification

One color per sub-assembly

Page 40: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsTime-dependent simplification

One color per sub-assembly

Page 41: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsProgressive simplification of motion

5ms

0.25ms

1.7ms

0.7ms

0.02ms

Average cost (ms) per time step

N=300

N=20

N=100

N=50

N=1

a 300-link pendulum, N- number of active joints

Page 42: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsPrecision / Performance trade-offResultsPrecision / Performance trade-off

# of active joints

# of external forces

ms per interation

Page 43: Stephane Redon, Nico Galoppo, Ming C. Lingraphics.stanford.edu/courses/cs468-05-fall/slides_2/qing_AD_fall05.… · Stephane Redon, Nico Galoppo, Ming C. Lin University of North Carolina

Adaptive Dynamics of Articulated Bodies

ResultsTest application

MOVIE


Recommended