modeling interaction with deformable objects in real-time diego daulignac gravir/inria rhone-alpes...

18
Modeling interaction with deformable objects in real-time Diego d’Aulignac GRAVIR/INRIA Rhone-Alpes France

Upload: nathan-strickland

Post on 26-Mar-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Modeling interaction with deformable objects in real-time

Diego d’Aulignac

GRAVIR/INRIA Rhone-Alpes

France

Page 2: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Keyhole Surgery

Surgery involves soft tissues

Need to model deformation

simulation

Page 3: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Liver Model [Boux et al., ISER, 2000]

Heterogenous Non-linear

skin Parenchyma

Page 4: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

EchographyIn collaboration with TIMC laboratory in Grenoble, France

Interpolation (translation, rotation, deformation)

Echographic images at sample points

Page 5: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Thigh Model

Identification(error minimization)

In collaboration with UC Berkeley

Presented at

IROS 1999

Page 6: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Integration

externalfKxxDxM

x

xY

x

xYf

)(

2nd order non-linear differential equation

Convertto

1st ordersystem

Page 7: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Explicit Integration

s

iijij kahYfk

10

Runge-Kutta method with s stages

0

2

4

6

8

10

12

1 2 3 4 5 6 7 8

stage s

Order of consistency vs. stages

j

s

jjkbYY

1

01

Page 8: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Linear Stability

tM

K

M

D

M

Dz

etx z

2

22

)(Im

Re At least 2 solutions:

• Design better computer

• Design better algorithm

externalfKxxDxM

Page 9: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Simulation• Achitecture

– SGI Onyx2

• Compexity– 370 facets– 1151

tetrahedrons– 3399 springs

• Frequency– 150Hz

Page 10: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Implicit Integation

0)( 011 YYhfY

)()(1

00 YffIt

Y YY

linearisation

Semi-implicit euler

Implicit euler (non-linear system)

A-stable

… but not B-stable

If you know your history, then you would know where you are coming from.

Bob Marley

Over-damped case

Page 11: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Simulation

•Haptic interaction with physical model

•Echographic image generation

Timestep: 0.01s

Octane 175Mhz

Page 12: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Static ResolutionPrinciple of virtual work: internal and external forces are balanced

externalfKu

externalfuuK )(

Linear case:• Pre-inversion (if enough space)

• No large strain

• No rotation

• No material non-linearity

Non-linear case:•Stiffness matrix changes with displacement

Page 13: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Newton Iteration

Full Newton-Rapson method:

•Reevaluation of Jacobian

•Faster convergence

Modified Newton-Rapson method:

•Constant Jacobian

•Slower Convergence

Page 14: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Calculate forces on nodes

Evaluate stiffness matrix K?

Iteratively solve linear system for displacements u

Ku = f

by successive over-relaxation (SOR)

until residual forces < epsilon through Newton-Rapson iteration

Iterative Solution

Divergence•If objects are very soft

•Undercorrection

Page 15: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Result

1157 tetraheadronsIterative non-linear resolution

Rotational invarience

(N.B. Real-time animation)

1157 tetraheadronsIterative non-linear resolution

Rotational invarience

(N.B. Real-time animation)

60 iterations/sec on SGI Octane 175Mhz

Pseudo-dynamic

Page 16: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Static vs. Dynamic

• Static– Have clearly defined boundary conditions – No liver throwing contest

• Dynamic– Control of viscosity and inertia– Transient response

Page 17: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Future Directions

• Multi-grid methods– More rapid propagation

• Parallelisation – Divide into sub-regions– e.g. Block Jacobi iteration

Page 18: Modeling interaction with deformable objects in real-time Diego dAulignac GRAVIR/INRIA Rhone-Alpes France

Conclusions

• «Soft» soft-tissues may be simulated using explicit integration

• «Stiff» soft-tissues benefit from implicit methods

• Static analysis– well defined boundary conditions– transient response negligable