deformable hybrid model for haptic interaction máximo mero antonio susin · deformable hybrid...

4
Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin Dpto. de Matemáticas - FACYT Dpt. Matemàtica Aplicada 1 Universidad de Carabobo Universitat Politècnica de Catalunya Carabobo, Venezuela Barcelona, Spain [email protected] [email protected] Abstract In this paper a new hybrid deformable model for haptic interactions is presented. The main idea is to use a two layer deformable model for the virtual object which will be manipulated with a haptic tool by the user, when the external force is applied on the surface area. With this approach, deformation is modelled both using a continuous model, based on Finite Element Methods, and a discrete model defined by Mesh Free Methods. 1 Introduction Simulating and animating 3D deformable objects in real time is essential to many interactive applica- tions such as surgery simulators. One of the main characteristics of these simulations is the dynamic interaction between the deformable model and the possible external forces acting on it. The dynamic behavior of our volumetric 3D de- formable model is based on linear elastic mechan- ics. It is essentially based on techniques presented in computer graphics and mechanical engineering literature [8] , [10] and [3]. The works of J. O’Brien and J. Hodgins [7] and G. Debunne [4] are good ref- erences about the continuous deformation problem in terms of Finite Elements Method (FEM). This model has been implemented in a work- bench with a haptic device (as the Fokker Haptic Master) for interaction (see figure 1). Acting forces are computed from the reaction of the model when the user interacts with the virtual object. The paper is organized as follows, sections 2 and 3 are devoted to introduce the FEM and MFM mod- els respectively. In section 4 the hybrid model are Figure 1: The workbench and phantom force-feedback de- vice defined. The dynamic of the virtual model is in sec- tion 5. Results and conclusion are in section 6 and 7 respectively. Results and conclusions are presented in the final sections. 2 Finite Element Formulation The behavior of the molecules or particles of which the material is composed can be first modelled as continuous media. Let u =(u 1 , u 2 , u 3 ) T R 3 be a vector in R 3 that denotes a location in the material coordinate frame.The deformation of the material is defined by the function x(u)=(x, y , z) that maps lo- cations in the material coordinate frame to locations in world coordinates. Green’s strain tensor ε is used to measure the lo- cal deformation of the material [10]. ε ij = x u i · x u j - δ ij . (1) Here δ ij is the Kronecker’s delta.

Upload: ngokhue

Post on 29-Aug-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin · Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin Dpto. de Matemáticas - FACYT

Deformable Hybrid Model for Haptic Interaction

Máximo Mero Antonio SusinDpto. de Matemáticas - FACYT Dpt. Matemàtica Aplicada 1

Universidad de Carabobo Universitat Politècnica de Catalunya

Carabobo, Venezuela Barcelona, Spain

[email protected] [email protected]

Abstract

In this paper a new hybrid deformable model forhaptic interactions is presented. The main idea isto use a two layer deformable model for the virtualobject which will be manipulated with a haptic toolby the user, when the external force is applied onthe surface area. With this approach, deformationis modelled both using a continuous model, basedon Finite Element Methods, and a discrete modeldefined by Mesh Free Methods.

1 Introduction

Simulating and animating 3D deformable objects inreal time is essential to many interactive applica-tions such as surgery simulators. One of the maincharacteristics of these simulations is the dynamicinteraction between the deformable model and thepossible external forces acting on it.

The dynamic behavior of our volumetric 3D de-formable model is based on linear elastic mechan-ics. It is essentially based on techniques presentedin computer graphics and mechanical engineeringliterature [8] , [10] and [3]. The works of J. O’Brienand J. Hodgins [7] and G. Debunne [4] are good ref-erences about the continuous deformation problemin terms of Finite Elements Method (FEM).

This model has been implemented in a work-bench with a haptic device (as the Fokker HapticMaster) for interaction (see figure 1). Acting forcesare computed from the reaction of the model whenthe user interacts with the virtual object.

The paper is organized as follows, sections 2 and3 are devoted to introduce the FEM and MFM mod-els respectively. In section 4 the hybrid model are

Figure 1: The workbench and phantom force-feedback de-vice

defined. The dynamic of the virtual model is in sec-tion 5. Results and conclusion are in section 6 and 7respectively. Results and conclusions are presentedin the final sections.

2 Finite Element Formulation

The behavior of the molecules or particles of whichthe material is composed can be first modelled ascontinuous media. Letu = (u1,u2,u3)T ∈ R3 be avector inR3 that denotes a location in the materialcoordinate frame.The deformation of the material isdefined by the functionx(u) = (x,y,z) that maps lo-cations in the material coordinate frame to locationsin world coordinates.

Green’s strain tensorε is used to measure the lo-cal deformation of the material [10].

εi j =(

∂x∂ui

· ∂x∂u j

)−δi j . (1)

Hereδi j is the Kronecker’s delta.

Page 2: Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin · Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin Dpto. de Matemáticas - FACYT

The stress and strain tensor are linked by

σ(ε)i j =

3

∑k=1

λεkk+2µεi j , (2)

µ andλ are the Lamé coefficients,µ represents therigidity of the material whileλ measures its abilityto preserve volume.

To improve realism, the following is considered

νi j =(

∂x∂ui

· ∂x∂u j

)+

(∂x∂ui

· ∂x∂u j

), (3)

wherex =∂x∂t

is the velocity of a point. The viscous

stress is

σ(ν)i j =

3

∑k=1

φνkk+2ψνi j , (4)

whereφ andψ control how fast the material looseskinetic energy.

The total stress tensor is obtained adding both theelastic and viscous stressσ = σ(ε) +σ(ν)

By employing the Finite Element Method, lin-ear tetrahedra elements will be used. TheNi is theshape function, associated to each vertexxi

Ni(x,y,z) = βi1x+βi2y+βi3z+βi4. (5)

The matrixβ = (βi j ) is defined from the materialcoordinates of the vertex. It is always a nonsingularmatrix unless the associated tetrahedron is degener-ated.

The internal force is computed for each elementand is applied at their vertices

f (el)i =

vol(el)

2

4

∑j=1

x j

3

∑k=1

3

∑l=1

β jl βikσkl , (6)

wherevol(el) is the element volume.

3 Mesh Free Model

An approach for modelling deformation is to dis-cretize the continuous material as a set of particles,or more precisely point samples, that carries out thematerial properties like density, strain and stress.Using this model a fixed mesh is not needed and

because of that these methods are namedMesh FreeMethod, MFM (see [5],[9]).

The continuous functionx(u) is approximated by

x(u)≈∫

Ωx(y)W(u−y,h)dy. (7)

The displacements, velocity, and acceleration areinterpolated using the kernel basis functionW de-fined in (8). In the following, a short hand nota-tion will be used:Wi = W(u−ui ,h), Wi j = W(ui −u j ,h) andx j = x(u j ). The superscriptj refers to theneighboring particle ofi.

A potential function frequently used for SPHsimulations (see [2], [6]) is the Lennard-Jones (LJ)given by

W(r i j ) = ε

[(1r i j

)3

−(

1r i j

)](8)

wherer i j is the distance between two moleculesiand j, andε is the energy required to overcome thecohesion of molecules (see figure 2)

Figure 2: Lennard-Jones’s potential functionW(r) and theassociated force functionF(r)

4 Hybrid Model

Suppose that the interpolation ofx(u) in Ω, withΩ ∈ R3 is built using both the finite element andmesh free method, the domain must include a set ofui

i∈INiu

nodes with their associated base functions

Ni(u), which possess the information of the contri-butions of the finite element inx f (u) as an approx-imation of thex(u) function. Therefore

x f (u) = ∑i∈I

Niu

x(ui)Ni(u). (9)

Page 3: Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin · Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin Dpto. de Matemáticas - FACYT

A set of particlesu j j∈Ihuj

also exists with as-

sociated base functionsNhj (u), which possess the

information of the contributions of the free meshmethod in the approximationxh of functionx(u)

xh(u) = ∑j∈Ih

u

x(u j )Nhj (u). (10)

TheΩ domain isΩ = R1∪R2, where

R1= u∈ Ω / ∃ i ∈ INi ; Ni(u) 6= 0,

and

R2= u∈ Ω / ∃ j ∈ Ih; Nhj (u) 6= 0,

Besides this, in the region where both interpola-tions have influence,Ω = R1∩R2, a mixed interpo-lation must be defined

x(u)≈ x f (u)+xh(u) (11)

5 Dynamical Time Evolution

Once internal forces of the model are calculated,other possible external forces can be applied tocompute the time evolution of the system. Essen-tially, Newtonian classical dynamics are considered

x = v, v =Fm

. (12)

with the forceF , massm and the predicted acceler-ation are defined by

a =Fm

finite element method

a = ∑mj (σ j

ρ j ρi )∂W∂u j SPH method

(13)The Courant condition states that time incre-

ments have an upper maximum value to ensure sta-bility,

4t < h

√ρ

2λ+µ, (14)

whereh is the minimum of the distances between anode and its neighbors andρ is the material’s restdensity.

6 Results

As a first approach for testing the finite elementmethod, we build a simple model (ED0) consistingin two concentric ellipsoids. This model has beenused as the interior of the virtual object described inthe previous section. After some initial tuning, thefinal elasticity parameters and simulation time stepare shown in table 1.

Our second test example is shown in figure (3)model (HM2) consisting in a heart model totallyfilled with tetrahedra. The obtained frame rate persecond is about 29f/s. Although this result is ade-quate for realistic visual response effects, it is notsufficient for haptic interaction.

λ µ Φ Ψ 4t

ED0 5.5 2.5 9.0e-5 9.0e-5 7.0e-3HM1 5.0 2.0 9.0e-5 9.0e-5 7.0e-3HM2 0.04 1.6e-3 1.0e-4 1.0e-4 7.5e-3

Table 1:Simulation parameter values used in our models.

The hybrid left ventricle model (HM1) presentedin this paper is shown in figure (4). The region de-fined between the tetrahedra mesh and the exteriorsurface of the object does not have a uniform thick-ness. For this reason, with this model, the amountof particles that have to be activated for a haptic ac-tion varies between 50 and 600, being 200 the av-erage amount of activated particles for the interac-tion. The total amount of particles initialized in thepreprocess step in the region R2 is 27988. Using apersonal computer with a Pentium IV and 2.8GHzprocessor, a suitable haptic frame rate is obtained,even in the worth case, with an interaction responseof 330 frm/s.

Figure 3: Model HM2. An actual left ventricle heartmodel filled with tetrahedra.

Page 4: Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin · Deformable Hybrid Model for Haptic Interaction Máximo Mero Antonio Susin Dpto. de Matemáticas - FACYT

Figure 4: Model HM1. Internal deformable model oftetrahedra and activated particle region (left). Surface vi-sualization at rest and after interaction (right).

7 Conclusions and Future Work

In this work we present a new deformable modelsuitable for haptic interaction.We have applied thismethodology to the construction of a volumetric ob-ject adjusted to a human data set of the left ventricle.

This object is divided in two different domainsfor simulation. In the inner one, linear tetrahedrafinite elements are used. A coarse mesh allowsto move this biggest volumetric part in a very fastway. In the comprise volume between the previousone and the surface of the object, we have buildeda particle zone simulated with a mesh free method(SPH).

The goal is to reconstruct the shape of the leftventricle of an actual patient from its SPECT cap-tured data. As a first step, two meshed surfaces,corresponding to the external and internal walls ofthe left ventricle, are obtained.

We are working now in improving both, effi-ciency and deformation sensibility using differentsize partitions on the particles zone. Another re-search line can be to implement other type of meshfree methods like the Free Galerking Method tocompare with the present SPH implementation [1].

8 Acknowledgments

This research is partially supported by a TIN-2004-08065-C02-01 CYCIT project. The first au-thor is also supported by a Carabobo University(Venezuela) grant. The tetrahedra heart mesh corre-sponding to model 2 has been supplied by EnriqueEscolano from CIMNE-UPC.

References

[1] A.Huerta and S.Fernández. Enrichment andcoupling of the finite element and meshlessmethods. International Journal for Numeri-cal Methods in Engineering, 48:1615 – 1636,2000.

[2] B.Alder and T.Wainwright. Phase transitionfor a hard sphere system.J. Chem. Phys,27:1208–1209, 1957.

[3] D.Terzopoulos. Regularization of inverse vi-sual problems involving discontinuities.IEEETrans. Pattern Analysis and Machine Intelli-gence, 8(4):413 – 424, 1986.

[4] G.Debunne, M.Dsbrun, M.Cani, and A.Barr.Dynamic real-time deformations using spaceand time adaptive sampling.In SIGGRAPH2001 Conference Proceedings, 2001.

[5] J.Chen, C.Pan, C.Wu, and W.Liu. Reproduc-ing kernel particle methods for large defor-mation analysis of no-linar.Computer Meth-ods in Applied Mechanics and Engineering,139:195 – 227, 1996.

[6] J.McCammon, B.Gelin, and M.Karpus.Dynamics of folded proteins. Nature,267(1):585–590, 1977.

[7] J.O’Brien and J.Hodgins. Graphical modelsand animation of brittle fracture. In SIG-GRAPH’99 Conf. Proc., pages 137 – 146,1999.

[8] R.Cool and D.Malkus. Concepts and applica-tions of finite element analysis. In John Wileyand Sons., editors,Concepts and applicationsof finite element analysis. 1989.

[9] W.Liu, Y.Chen, S.Jun, J.Chen, T.Belytschko,C.Pan, R.Uras, and C.Chang. Overview andapplications of reproducing kernel particlemethods.Archives of Computational methodsin Engineering, State of the art Reviewa, 3:3 –80, 1996.

[10] Y.Fung. Linear elasticity. In Prentice HallInc., editor,Foundations of Solid Mechanics.Englewood Cliffs, N.J, 1965.