CN108877944B - Virtual cutting method based on grid model including Kelvin viscoelastic model - Google Patents
Virtual cutting method based on grid model including Kelvin viscoelastic model Download PDFInfo
- Publication number
- CN108877944B CN108877944B CN201810665525.5A CN201810665525A CN108877944B CN 108877944 B CN108877944 B CN 108877944B CN 201810665525 A CN201810665525 A CN 201810665525A CN 108877944 B CN108877944 B CN 108877944B
- Authority
- CN
- China
- Prior art keywords
- stress
- model
- kelvin
- strain
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/50—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for simulation or modelling of medical disorders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/41—Medical
Abstract
The invention discloses a virtual cutting method of a grid model based on a Kelvin viscoelastic model, which comprises the steps of constructing the Kelvin viscoelastic model, solving a displacement increment in time by using parameters of a virtual cutting material and cutting time, calculating new displacement, strain and stress of each node, generating a simulated cut, incorporating the Kelvin viscoelastic model into a grid, replacing approximate calculation with stress deformation, and solving the problems of grid distortion and continuous cutting in a finite element model and the problems of different deformation forms in a non-grid model. And the calculation amount is greatly reduced, and the performance is optimized. By the model, only the position of the force application time point is needed to be calculated for deformation, and after the force is removed, the grid automatically recovers due to the balance of the force is broken, so that the calculation amount is reduced; and the grid lines with viscoelasticity among the openings are removed aiming at cutting, so that the grid is automatically deformed, and compared with the traditional shape and size similar to the openings, the method is more practical and is simple to operate.
Description
Technical Field
The present invention relates to virtual cutting, and in particular to a virtual cutting method based on a mesh model incorporating a kelvin viscoelastic model.
Background
In recent years, with the development of virtual reality technology, it has become possible to perform simulated surgery by virtual reality. Virtual surgery gives medical personnel great convenience, and they can use this technique to carry out repeated simulation exercise, promote own technique. The current virtual surgery presents the process of the simulated surgery on a platform through modeling, rendering and calculation, and uses a finite element model, a non-grid model and the like. However, both finite element models and meshless models have some disadvantages. For finite element models, it depends deeply on the mesh, and a distorted or low quality mesh can cause large errors. During the re-engagement process, the resulting distortion elements may even cause model instability. Compared to classical mesh model based infrastructure, it is not suitable for cutting that simulates cut mesh structure and continuity. The purpose of the meshless model is to overcome the problems associated with finite element models. In contrast to finite element models, meshless models reconstruct virtual soft tissue on the basis of discrete and separate point elements, and the relationship between each point element is not associated with a mesh. Therefore, the point elements are random and not constrained by the grid, suitable for discontinuous scenes. Although the above mesh-free model is promising in simulating soft tissue cutting procedures, the interaction between the virtual surgical instrument and the soft tissue becomes a problem. To simplify the simulation process, most methods consider that as long as the soft tissue is swept by the virtual scalpel, the tissue is separated. However, the results are not as simple as expected. During the cutting process, it was observed that significant deformation may occur prior to soft tissue dissection. As can be appreciated, different instruments interacting with soft tissue often result in different forms of deformation. In addition, the methods corresponding to the finite element model and the meshless model are relatively large in calculation amount and relatively complex.
Disclosure of Invention
The invention aims to: in view of the above-mentioned drawbacks of the prior art, the present invention aims to provide a virtual cutting method based on a mesh model incorporating a kelvin viscoelastic model, which improves the efficiency of virtual deformation and cutting by using a mesh incorporating the kelvin viscoelastic model.
The technical scheme is as follows: a Kelvin viscoelastic model is constructed based on a virtual cutting method of a grid model including the Kelvin viscoelastic model, and a general discrete control equation of the Kelvin viscoelastic model is as follows:
wherein, K n Is a global stiffness matrix that is a function of,is a global hysteresis stiffness matrix;
global hysteresis stiffness matrix applying the hysteresis function:
wherein B, φ, Δ ∈ n The elements in (A) are all constants; delta is a parameter of the virtual cut material, b is a constant,represents time;
solving [ t ] from parameters of the virtual cut material and the cut time n ,t n+1 ]Increment of displacement in timeAnd calculating new displacement, strain and stress of each node to generate a simulated cut.
Further, the calculation of the new displacement, strain and stress of each node is specifically based on [ t [ [ t ] n ,t n+1 ]Increment of displacement in timeAnd (3) calculating:
at t n+1 In time, the increments of displacement, stress, strain are in turn:
σ n+1 =σ n +Δσ n ;
ε n+1 =ε n +Δε n ;
wherein the content of the first and second substances,Δε=∑ n B i ΔU i ,B i phi and phi i Is the strain matrix:
wherein L is a constant;
wherein the Kelvin viscoelasticity model is [ t ] n ,t n+1 ]The stress increment in (a) is: delta sigma n =Δε n Ε k +σ 0,n
(ii) a Wherein, the relation of stress and strain is as follows:
therein, e k Is a linear relaxation coefficient, representing the relaxation time in the time interval t n ,t n+1 ]In the stress change caused by a unit step strain increment, c 0 ,c 1 ,τ 1 Is a material parameter;
t n+1 the initial stresses at time were:
further, the constitutive equation of the kelvin viscoelastic model is:
wherein σ 1 Expressing stress, eta is damping coefficient of damper, sigma 2 The time derivatives representing stress, E 2 E 1 Respectively representing the stiffness of two springs, ∈ 1 Represents strain,. epsilon 2 Representing the time derivative of the strain.
Further, the constitutive relation of strain and stress in the kelvin viscoelastic model is:
where σ denotes stress, Ε denotes elastic modulus (young's model), epsilon denotes strain, c 0 And c 1 Is a material parameter, t represents time, τ 1 Is a time constant.
Further, before the kelvin viscoelastic model is constructed, a stress judgment step is further included: let the collision region be A, and set the threshold value f 1 ,d 1 And d 2 If the force is less than f 1 Or the width of A is greater than or equal to d 2 Then the mesh model is only deformed; if the force is greater than or equal to f 1 And the width of A is less than d 1 If the cutting speed is more than 0, the cutting condition is a first cutting condition; if the force is greater than or equal to f 1 And the width of A is greater than or equal to d 1 And is less than d 2 If so, judging the cutting condition II;
the first cutting condition is specifically as follows: consider A as a straight line L 1 Reading the position of the end points, setting the two end points as rigid cores, fixing, and copying L 1 To obtain L 1 、L 2 Before copying, is linked to L 1 The intersection point of the upper grid line and the left side of A is connected with L 1 Upper, connecting the right intersection point to L 2 Upper, L 1 、L 2 Because the stress imbalance generates elastic deformation according to Hooke's law F ═ k Δ x, wherein k is the stiffness coefficient of the spring, and only the stress in the horizontal direction is considered;
the second cutting condition is specifically as follows: and (3) regarding A as a rectangular area, fixing the width, deleting grid lines in A, generating elastic deformation on two long sides due to unbalanced stress according to Hooke's law F-k delta x, and only considering the stress in the horizontal direction.
Has the advantages that: the Kelvin viscoelastic model is brought into the grid, the viscoelasticity is the basic characteristic of biological soft tissues, so that the soft tissues have viscoelasticity, the simulated cutting is more practical, and the feedback setting of subsequent force is more facilitated. The method of the invention is based on a high-quality grid model, replaces approximate calculation with stress deformation, and solves the problems of grid distortion and continuous cutting in a finite element model and the problems of different deformation forms in a non-grid model. And the grid model provided by the invention replaces the calculation of the positions of partial points with the balance of force, thereby greatly reducing the calculation amount and optimizing the performance. By the model, only the position of the force application time point is needed to be calculated for deformation, and after the force is removed, the grid automatically recovers due to the balance of the force is broken, so that the calculation amount is reduced; and removing the viscoelastic grid lines between the openings aiming at cutting, breaking the equilibrium state of force, and enabling the grid to deform automatically. Because deformation and cutting accord with reality more, the model effect that the later stage was rendered and is obtained is splendid.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a Kelvin visco-elastic model;
FIG. 3 is a mesh model;
FIG. 4 is a schematic view of a first cutting scenario;
fig. 5 is a schematic diagram of the second cutting case.
Detailed Description
The technical solution is described in detail below with reference to a preferred embodiment and the accompanying drawings.
As shown in fig. 1, a virtual cutting method based on a mesh model incorporating a kelvin viscoelastic model mainly includes the steps of incorporating the kelvin viscoelastic model into a mesh, combining viscoelasticity, applying force, judging relevant conditions, and cutting, and specifically includes the following steps:
step 1: kelvin viscoelastic model was incorporated for the mesh.
Real life soft tissue has properties of hysteresis, relaxation and creep, collectively known as viscoelasticity. The viscoelastic mechanism model can describe the viscoelasticity of soft tissue, which is very important in biological properties. Biomechanical characteristics of different soft tissues can be described by modifying relevant parameters that can be obtained in vivo experiments. The kelvin viscoelastic model used herein is a standard linear model, the structure of which is shown in fig. 2;
the springs in the model represent the linear elastic characteristics of the soft tissue, and the dampers represent the damping characteristics of the soft tissue as it changes. The geometric and kinematic equations in viscoelasticity are the same as those in elasticity. The solution of the viscoelastic boundary value can be obtained by solving a constitutive equation of the motion equation, the geometric equation, the boundary condition and the initial condition;
the constitutive equation of the kelvin viscoelasticity model is:
wherein σ 1 Expressing stress, eta is damping coefficient of damper, sigma 2 The time derivatives representing stress, E 2 E 1 Respectively representing the stiffness of two springs, ∈ 1 Represents strain,. epsilon 2 Representing the time derivative of the strain;
the constitutive relationship of strain and stress is:
where σ denotes stress, Ε denotes elastic modulus (young's model), epsilon denotes strain, c 0 And c 1 Is a material parameter, t represents time, τ 1 Is a time constant;
and 2, step: a combination of viscoelasticity.
To incorporate viscoelasticity into the deformation model, an incremental version of the viscoelasticity model is used. First, the deformation simulation time T is divided into n time slices T 1 ,t 2 ,...,t n . Each time intervalReferred to as increments. Stress, strain and displacement at each moment are respectively sigma 1 ,σ 2 ,...,σ n ,ε 1 ,ε 2 ,...,ε n ,From t n To t n+1 The increments of displacement, stress and strain are respectivelyΔσ n And Δ ε n . In the deformation simulation process, the volume force generated by the acceleration is not considered, the soft tissue is not compressible, and the volume is not changed. The volume force b will therefore not change, assuming an external force on the boundary ΓIs constant;
in the kelvin viscoelasticity model, the relaxation of soft tissue under external force can be represented by the relaxation constitutive relation:
when at t n And t n+1 And Δ t → 0, the stress increment is:
wherein e denotes the stiffness of the spring, τ denotes the time constant;
the stress-strain relationship of the kelvin viscoelastic model is represented by (2) in combination with (4):
wherein E k Is a linear relaxation coefficient, representing the relaxation time in the time interval t n ,t n+1 ]Of the strain induced by a unit step strain increment. c. C 0 ,c 1 ,τ 1 As a parameter of the material. Obtaining t by the following formula n+1 Stress of time σ 0,n :
The Kelvin viscoelasticity model at [ t ] was obtained by the following formula n ,t n+1 ]Stress increment in (2):
Δσ n =Δε n Ε k +σ 0,n (7)
at t n+1 The increment of displacement, stress and strain is respectively as follows:
σ n+1 =σ n +Δσ n (9)
ε n+1 =ε n +Δε n (10)
wherein, the first and the second end of the pipe are connected with each other,Δε=∑ n B i ΔU i ,B i phi (phi) and phi (phi) i Is a strain matrix of the form:the stress and strain can be calculated according to (8):
wherein L is a constant. In the soft tissue deformation process, the stress, the physical strength and the external force meet the balance condition, namely according to the virtual working principle of deformation, the total virtual operation is zero, and a general discrete control equation of the viscoelastic model can be obtained:
wherein, K n Is a global stiffness matrix that is a function of,is a global hysteresis stiffness matrix, similar to the combined form of the global stiffness matrix. The global stiffness matrix and the global hysteresis stiffness matrix applying the hysteresis function may be expressed as:
wherein the material is homogeneous, B, phi, delta epsilon n The elements in (A) are all constant. Delta is a material parameter, b is a constant,representing time. Given the corresponding material parameters and time, according to (12) [ t ] can be solved n ,t n+1 ]Increment of displacement inFinally, calculating new displacement, strain and stress of each node;
and 3, step 3: and (5) stress and judging related conditions.
The mesh model is shown in FIG. 3, where the collision region is denoted as A, and a threshold value f is set 1 ,d 1 And d 2 If the force is less than f 1 Or the width of A is greater than or equal to d 2 Then the mesh model is only deformed; if the force is greater than or equal to f 1 And the width of A is less than d 1 If the cutting speed is greater than 0, the cutting condition is a first cutting condition (as shown in FIG. 4); if the force is greater than or equal to f 1 And A isIs greater than or equal to d 1 And is less than d 2 If so, the method belongs to the second cutting condition (as shown in FIG. 5);
and 4, step 4: and (5) deforming.
According to the stress condition, completing an algorithm of the viscoelastic coupling part, and calculating displacement;
and 5: and (6) cutting.
When the case belongs to case 1 or case 2, the mesh model will generate a cut;
5-1: regarding A as a straight line L in the first cutting condition 1 Reading the position of the end points, setting the two end points as rigid cores, fixing, and copying L 1 To obtain L 1 、L 2 Before copying, is linked to L 1 The intersection point of the upper grid line and the left side of A is connected with L 1 Upper, connecting the right intersection point to L 2 Thus, L 1 、L 2 Because the stress imbalance is generated according to Hooke's law F-k delta x (wherein k is the stiffness coefficient of the spring), elastic deformation is generated, only the stress in the horizontal direction is considered, and finally the stress balance state is achieved, so that a notch is generated;
5-2: and in the second cutting condition, the A is regarded as a rectangular area, the width is fixed, and grid lines in the A are deleted, so that two strips of the A are elastically deformed due to unbalanced stress according to the Hooke's law, only the stress in the horizontal direction is considered, and finally, a stress balance state is achieved, and a notch is formed.
Claims (4)
1. A virtual cutting method based on a grid model including a Kelvin viscoelastic model is characterized in that the Kelvin viscoelastic model is constructed, and a general discrete control equation of the Kelvin viscoelastic model is as follows:
wherein, K n Is a global stiffness matrix that is a function of,is a global hysteresis stiffness matrix;
global hysteresis stiffness matrix applying the hysteresis function:
wherein BETA, φ, Δ ∈ n The elements in (A) are all constants; delta is a parameter of the virtual cut material, b is a constant,represents time;
solving [ t ] from parameters of the virtual cut material and the cut time n ,t n+1 ]Increment of displacement in timeCalculating new displacement, strain and stress of each node to generate a simulated cut;
the calculation of the new displacement, strain and stress of each node is specifically based on [ t [ ] n ,t n+1 ]Increment of displacement in timeAnd (3) calculating:
at t n+1 In time, the increments of displacement, stress, strain are in turn:
σ n+1 =σ n +Δσ n ;
ε n+1 =ε n +Δε n ;
wherein, the first and the second end of the pipe are connected with each other,Δε=Σ n B i ΔU i ,Β i phi and phi i Is the strain matrix:
wherein L is a constant;
wherein the Kelvin viscoelasticity model is [ t ] n ,t n+1 ]The stress increment in (a) is: delta sigma n =Δε n Ε k +σ 0,n (ii) a Wherein, the relation between the stress and the strain is as follows:
wherein, Ε k Is a linear relaxation coefficient, representing the relaxation time in the time interval t n ,t n+1 ]In the stress change caused by a unit step strain increment, c 0 ,c 1 ,τ 1 Is a material parameter;
t n+1 the initial stresses at time were:
2. the virtual cutting method based on a mesh model incorporating a kelvin viscoelastic model according to claim 1, wherein the constitutive equation of the kelvin viscoelastic model is:
wherein σ 1 Expressing stress, eta is damping coefficient of damper, sigma 2 The time derivatives representing stress, E 2 And e 1 Respectively representing the stiffness of two springs, ∈ 1 Represents strain,. epsilon 2 Representing the time derivative of the strain.
3. The virtual cutting method based on a mesh model incorporating a kelvin viscoelastic model according to claim 1, characterized in that the constitutive relation of strain and stress in the kelvin viscoelastic model is:
where σ denotes stress, Ε denotes the elastic modulus, e denotes strain, c 0 And c 1 Is a material parameter, t represents time, τ 1 Is a time constant.
4. The method of claim 1, wherein the step of determining the stress further comprises the steps of: let the collision region be A, and set a threshold value f 1 ,d 1 And d 2 If the force is less than f 1 Or the width of A is greater than or equal to d 2 Then the mesh model is only deformed; if the force is greater than or equal to f 1 And the width of A is less than d 1 If the cutting speed is more than 0, the cutting condition is a first cutting condition; if the force is greater than or equal to f 1 And the width of A is greater than or equal to d 1 And is less than d 2 If so, the cutting condition is a second cutting condition;
the first cutting condition is specifically as follows: consider A as a straight line L 1 Reading the position of the end points, setting the two end points as rigid cores, fixing, and copying L 1 To obtain L 1 、L 2 Before copying, is linked to L 1 The grid line on the grid line is connected with the left intersection point on A of AL 1 Upper, connecting the right intersection point to L 2 Upper, L 1 、L 2 Because the stress imbalance generates elastic deformation according to Hooke's law F-k delta x, wherein k is the stiffness coefficient of the spring, and only the stress in the horizontal direction is considered;
the second cutting condition is specifically as follows: and (3) regarding A as a rectangular area, fixing the width, deleting grid lines in A, generating elastic deformation on two long sides due to unbalanced stress according to Hooke's law F-k delta x, and only considering the stress in the horizontal direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810665525.5A CN108877944B (en) | 2018-06-26 | 2018-06-26 | Virtual cutting method based on grid model including Kelvin viscoelastic model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810665525.5A CN108877944B (en) | 2018-06-26 | 2018-06-26 | Virtual cutting method based on grid model including Kelvin viscoelastic model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108877944A CN108877944A (en) | 2018-11-23 |
CN108877944B true CN108877944B (en) | 2022-09-23 |
Family
ID=64294624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810665525.5A Active CN108877944B (en) | 2018-06-26 | 2018-06-26 | Virtual cutting method based on grid model including Kelvin viscoelastic model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108877944B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113052975A (en) * | 2020-09-23 | 2021-06-29 | 视伴科技(北京)有限公司 | Model optimizing method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102044086B (en) * | 2010-11-30 | 2012-07-25 | 华北水利水电学院 | Soft tissue deformation simulation method |
CN102262699B (en) * | 2011-07-27 | 2012-09-05 | 华北水利水电学院 | Soft tissue deformation simulation method based on coupling of mesh-free Galerkin and mass spring |
CN106570201A (en) * | 2015-10-12 | 2017-04-19 | 中国石油化工股份有限公司 | Numerical simulation method and system for viscoelastic medium |
CN105559887B (en) * | 2015-12-11 | 2018-01-30 | 哈尔滨工业大学 | The surgical cut training system and method based on force feedback for operating robot |
-
2018
- 2018-06-26 CN CN201810665525.5A patent/CN108877944B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108877944A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Georgii et al. | A multigrid framework for real-time simulation of deformable bodies | |
CN110289103B (en) | Soft tissue local compression deformation simulation method | |
CN110289104B (en) | Soft tissue compression and deformation recovery simulation method | |
Shi et al. | Example-based dynamic skinning in real time | |
JPWO2006009026A1 (en) | Optimal design support device, optimal design support method, and optimal design support program | |
CN108877944B (en) | Virtual cutting method based on grid model including Kelvin viscoelastic model | |
US11586172B2 (en) | Method for the design and manufacture of composites having tunable physical properties | |
CN108710735A (en) | A kind of mesh free soft tissue deformation analogy method of real-time, interactive | |
CN111488670B (en) | Nonlinear mass point spring soft tissue deformation simulation method | |
CN113409443A (en) | Soft tissue modeling method based on position constraint and nonlinear spring | |
Zhang et al. | An optimized mass-spring model with shape restoration ability based on volume conservation | |
Marinković et al. | Corotational finite element formulation for virtual-reality based surgery simulators | |
CN108536936A (en) | A kind of mesh free soft tissue deformation analogy method of Multiple Optimization | |
Xu et al. | An improved realistic mass-spring model for surgery simulation | |
CN109598799B (en) | Virtual cutting method based on CycleGAN | |
CN108597612B (en) | Virtual cutting method for simulating bleeding model | |
Lee et al. | Efficient topology modification and deformation for finite element models using condensation | |
Harders et al. | Comparing a simplified FEM approach with the mass-spring model for surgery simulation | |
Aloisio et al. | Computer-based simulator for catheter insertion training | |
CN113470165B (en) | Soft tissue modeling method based on radial basis point interpolation method and mass point spring method | |
Faraci et al. | Soft tissue deformation using a hierarchical finite element model | |
Liu et al. | Modelling and simulation of vascular tissue based on finite element method | |
CN113806983B (en) | Real-time simulation method for tissue deformation in laparoscopic surgery | |
Ballell et al. | Divergent strategies in cranial biomechanics and feeding ecology of the ankylosaurian dinosaurs | |
Elinder | Improving comfort simulations of sleeping mattresses for IKEA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 210044 No. 219 Ningliu Road, Jiangbei New District, Nanjing City, Jiangsu Province Applicant after: Nanjing University of Information Science and Technology Address before: 211500 Yuting Square, 59 Wangqiao Road, Liuhe District, Nanjing City, Jiangsu Province Applicant before: Nanjing University of Information Science and Technology |
|
GR01 | Patent grant | ||
GR01 | Patent grant |