CN113409443B - Soft tissue modeling method based on position constraint and nonlinear spring - Google Patents

Soft tissue modeling method based on position constraint and nonlinear spring Download PDF

Info

Publication number
CN113409443B
CN113409443B CN202110543263.7A CN202110543263A CN113409443B CN 113409443 B CN113409443 B CN 113409443B CN 202110543263 A CN202110543263 A CN 202110543263A CN 113409443 B CN113409443 B CN 113409443B
Authority
CN
China
Prior art keywords
node
spring
constraint
soft tissue
length
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
Application number
CN202110543263.7A
Other languages
Chinese (zh)
Other versions
CN113409443A (en
Inventor
李春泉
潘雨晨
彭佳琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang University
Original Assignee
Nanchang University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanchang University filed Critical Nanchang University
Priority to CN202110543263.7A priority Critical patent/CN113409443B/en
Publication of CN113409443A publication Critical patent/CN113409443A/en
Application granted granted Critical
Publication of CN113409443B publication Critical patent/CN113409443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • G06F17/13Differential equations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Operations Research (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)

Abstract

本发明公开了一种基于位置约束和非线性弹簧的软组织建模方法,包括(1)构建由非线性弹簧和虚拟体弹簧形成的四面体单元构成的软组织模型;(2)模拟软组织模型的形变行为;(3)预估每个节点的近似位置,再判断节点约束方程的状态是否改变,约束包括弹簧长度和弯曲度约束;若方程的初始状态改变,将修正节点到合理范围内的正确位置;若方程的初始状态未改变,那么非线性弹簧和虚拟体弹簧将模拟软组织的形变效果;(4)计算形变的单步迭代结束,进入下一轮循环。本发明采用非线性弹簧系统和虚拟体弹簧来模拟软组织的生物力学特性,还采用新的约束方程来限制节点位移以此增强模型稳定性,改善了传统质点弹簧模型精确性较差且不稳定的缺陷。

Figure 202110543263

The invention discloses a soft tissue modeling method based on position constraints and nonlinear springs. (3) Estimate the approximate position of each node, and then judge whether the state of the node constraint equation has changed, including the spring length and curvature constraints; if the initial state of the equation changes, the node will be corrected to the correct position within a reasonable range ; If the initial state of the equation does not change, the nonlinear spring and virtual body spring will simulate the deformation effect of the soft tissue; (4) The single-step iteration of calculating the deformation ends, and the next cycle is entered. The present invention adopts a nonlinear spring system and a virtual body spring to simulate the biomechanical properties of soft tissues, and also adopts a new constraint equation to limit the node displacement to enhance the stability of the model, and improves the traditional mass spring model with poor accuracy and instability. defect.

Figure 202110543263

Description

一种基于位置约束和非线性弹簧的软组织建模方法A Soft Tissue Modeling Method Based on Position Constraints and Nonlinear Springs

技术领域technical field

本发明属于软组织形变模型建模技术领域,具体涉及一种基于位置约束和非线性弹簧的软组织建模方法,用于解决虚拟手术实验中软组织建模问题。The invention belongs to the technical field of soft tissue deformation model modeling, in particular to a soft tissue modeling method based on position constraints and nonlinear springs, which is used to solve the soft tissue modeling problem in virtual surgery experiments.

背景技术Background technique

虚拟手术是一种可以在低成本模式下逼真地模拟手术环境的重要的外科手术辅助训练系统。虚拟手术不仅能为使用者提供可视化需求,还能使医生熟悉手术器械的使用,积累手术技能。目前,一个完善的虚拟手术系统应该同时具备三个需求:实时性,精确性,稳定性。软组织建模是虚拟手术中的核心模块之一,模型的精细程度对系统的可靠性起着决定性的作用。Virtual surgery is an important surgical assistant training system that can realistically simulate the surgical environment in a low-cost mode. Virtual surgery can not only provide users with visualization needs, but also make doctors familiar with the use of surgical instruments and accumulate surgical skills. At present, a perfect virtual surgery system should have three requirements at the same time: real-time, accuracy and stability. Soft tissue modeling is one of the core modules in virtual surgery, and the fineness of the model plays a decisive role in the reliability of the system.

软组织建模方法主要包括几何建模法和物理建模法。几何建模法通过对医学图像进行三维重建重绘软组织的几何模型,而物理建模法则是根据软组织的生物力学和运动学特性建立物理模型。几何建模法计算简单,但没有考虑物体材料的本构关系,因此无法保证模型的精确性(脑外科虚拟手术中软组织形变及撕裂模型研究,南昌大学,2016)。目前,常见的物理建模方法包括有限元法(Finite Element Method,FEM)和质点弹簧法(Mass-spring Method,MSM)(Soft Tissue Deformation and Optimized Data Structures forMass Spring Methods,IEEE International Conference on Bioinformatics&Bioengineering.IEEE,2009:22-24)。Soft tissue modeling methods mainly include geometric modeling and physical modeling. The geometric modeling method redraws the geometric model of the soft tissue by 3D reconstruction of the medical image, while the physical modeling method establishes the physical model according to the biomechanical and kinematic properties of the soft tissue. The geometric modeling method is simple in calculation, but does not consider the constitutive relationship of the object material, so the accuracy of the model cannot be guaranteed (Research on Soft Tissue Deformation and Tear Model in Virtual Brain Surgery, Nanchang University, 2016). At present, common physical modeling methods include Finite Element Method (FEM) and Mass-spring Method (MSM) (Soft Tissue Deformation and Optimized Data Structures for Mass Spring Methods, IEEE International Conference on Bioinformatics & Bioengineering. IEEE , 2009: 22-24).

FEM是一种将连续域问题离散化为若干有限元的基于连续介质理论的建模方法,模型的形变是根据生物力学作为基础求解而得,基于FEM的软组织模型具有较高的精确性(An Introduction to The Finite Element Method,Topics in EngineeringMathematics,1992(81):37-60)。因此,有限元法在软组织建模中得到了广泛的应用。虽然FEM能精确地模拟力学特性,然而人体软组织的生物特性通常较为复杂,内部结构精细,这将导致FEM的求解消耗大量资源,无法满足虚拟手术在实时交互上的需求(A SurfaceMass-Spring Model With New Flexion Springs and Collision Detection AlgorithmsBased on Volume Structure for Real-Time Soft-Tissue Deformation Interaction,IEEE Access,2018,6:75572-75597)。FEM is a modeling method based on continuum theory that discretizes continuous domain problems into several finite elements. The deformation of the model is obtained based on biomechanics. The soft tissue model based on FEM has high accuracy (An Introduction to The Finite Element Method, Topics in EngineeringMathematics, 1992(81):37-60). Therefore, the finite element method has been widely used in soft tissue modeling. Although FEM can accurately simulate the mechanical properties, the biological properties of human soft tissues are usually complex and the internal structure is fine, which will cause the FEM solution to consume a lot of resources and cannot meet the real-time interaction requirements of virtual surgery (A SurfaceMass-Spring Model With New Flexion Springs and Collision Detection AlgorithmsBased on Volume Structure for Real-Time Soft-Tissue Deformation Interaction, IEEE Access, 2018, 6:75572-75597).

与连续物理模型不同,MSM将软组织模型离散为多个质点,质点间的相互作用由连接着质点的弹簧实现(Calibration of Mass Spring Models for Organ Simulations,IEEE/RSJ International Conference on Intelligent Robots&Systems.IEEE,2007:370-375)。与FEM相比,MSM具有计算效率高,非常适用于拓扑结构频繁变化的模型。在计算机图形领域,基于MSM的软组织建模已经得到了广泛应用。目前,已经有研究者将连续碰撞检测算法用于虚拟手术中。Different from the continuous physical model, the MSM discretizes the soft tissue model into multiple particles, and the interaction between the particles is realized by the springs connecting the particles (Calibration of Mass Spring Models for Organ Simulations, IEEE/RSJ International Conference on Intelligent Robots&Systems. IEEE, 2007 : 370-375). Compared with FEM, MSM has high computational efficiency and is very suitable for models with frequently changing topology. In the field of computer graphics, MSM-based soft tissue modeling has been widely used. At present, some researchers have used the continuous collision detection algorithm in virtual surgery.

然而,传统的MSM依然存在缺陷(一种用于软组织变形仿真的支撑球弹簧模型,计算机应用与软件,2013(01):109-112):1、模型的精度与弹簧系数密切相关,而系数大小通常仅凭经验决定;2、传统MSM的力学原理是基于胡克定律的,因此无法精确地模拟生物软组织的生物特性,如非线性、体积保持性等。3、微分方程的计算结果带来不可避免的误差,影响了模型的精确性和稳定性。研究者们为了改善传统的MSM做了许多贡献。However, the traditional MSM still has defects (a supported ball spring model for soft tissue deformation simulation, Computer Application and Software, 2013(01): 109-112): 1. The accuracy of the model is closely related to the spring coefficient, and the coefficient The size is usually determined only by experience; 2. The mechanical principle of traditional MSM is based on Hooke's law, so it cannot accurately simulate the biological properties of biological soft tissues, such as nonlinearity, volume retention, etc. 3. The calculation results of differential equations bring inevitable errors, which affect the accuracy and stability of the model. Researchers have made many contributions to improve traditional MSM.

Qin等人提出了一种多层MSM模型框架,通过引入双弹簧系统来模拟人体皮肤和骨骼肌的生物力学特性(A Novel Modeling Framework for Multilayered Soft TissueDeformation in Virtual Orthopedic Surgery,Journal ofMedical Systems,2010,34(3):261-271)。Duan等人提出一种适用于肝脏胆囊的MSM模型,他们采用隐式积分并对弹簧的长度施加约束以保持模型的体积不变性(Synchronous Simulation for Deformationof Liver and Gallbladder with Stretch and Compression Compensation,Conferenceproceedings:.Annual International Conference of the IEEE Engineering inMedicine and Biology Society.IEEE Engineering in Medicine and BiologySociety.Conference,2013,2013(2013):4941-4944)。Li等人提出了弯曲弹簧提升了传统MSM的大形变下的精确性(A Surface Mass-Spring Model With New Flexion Springsand Collision Detection Algorithms Based on Volume Structure for Real-TimeSoft-Tissue Deformation Interaction,IEEE Access,2018,6:75572-75597)。然而,他们的方案均没有完整地解决上述传统模型的缺陷。Qin et al. proposed a multi-layer MSM model framework to simulate the biomechanical properties of human skin and skeletal muscle by introducing a double-spring system (A Novel Modeling Framework for Multilayered Soft Tissue Deformation in Virtual Orthopedic Surgery, Journal of Medical Systems, 2010, 34 (3): 261-271). Duan et al. proposed an MSM model suitable for the liver gallbladder. They employed implicit integration and imposed constraints on the length of the spring to keep the volume invariant of the model (Synchronous Simulation for Deformation of Liver and Gallbladder with Stretch and Compression Compensation, Conference procedures: . Annual International Conference of the IEEE Engineering in Medicine and Biology Society. IEEE Engineering in Medicine and Biology Society. Conference, 2013, 2013(2013): 4941-4944). Li et al. proposed that the bending spring improves the accuracy of traditional MSM under large deformation (A Surface Mass-Spring Model With New Flexion Springs and Collision Detection Algorithms Based on Volume Structure for Real-TimeSoft-Tissue Deformation Interaction, IEEE Access, 2018, 6:75572-75597). However, none of their schemes fully address the above-mentioned shortcomings of traditional models.

综上所述,由于人体软组织结构的复杂性,软组织模型的建模方法一直是虚拟手术系统中关键且困难的一部分,且当前鲜有能满足虚拟手术现实需求的软组织建模方法。To sum up, due to the complexity of human soft tissue structure, the modeling method of soft tissue model has always been a key and difficult part of virtual surgery system, and there are few soft tissue modeling methods that can meet the needs of virtual surgery reality.

发明内容SUMMARY OF THE INVENTION

针对现有技术中的不足与难题,本发明旨在提供一种基于位置约束和非线性弹簧的软组织建模方法,本发明提适用于各种形状和尺寸的组织器官,能使模型较好的满足虚拟手术的现实需求。In view of the deficiencies and difficulties in the prior art, the present invention aims to provide a soft tissue modeling method based on position constraints and nonlinear springs. Meet the real needs of virtual surgery.

本发明通过以下技术方案予以实现:The present invention is achieved through the following technical solutions:

一种基于位置约束和非线性弹簧的软组织建模方法,该方法包括以下步骤:A soft tissue modeling method based on position constraints and nonlinear springs, the method includes the following steps:

步骤1、利用三维建模技术为采集的医学图像信息构建软组织模型,所述模型由非线性弹簧和虚拟体弹簧形成的四面体单元构成,四面体模型结构用于获取表面节点信息以及模型内部体积信息;Step 1. Use 3D modeling technology to build a soft tissue model for the collected medical image information, the model is composed of tetrahedral elements formed by nonlinear springs and virtual body springs, and the tetrahedral model structure is used to obtain surface node information and the internal volume of the model information;

步骤2、模拟软组织模型的形变行为,所述模型在形变过程中,非线性弹簧使模型的应力与应变呈现线性和非线性关系,虚拟体弹簧能抑制模型体积的变化,它们将共同作用来模拟软组织的生物力学特性;Step 2. Simulate the deformation behavior of the soft tissue model. During the deformation process of the model, the nonlinear spring makes the stress and strain of the model show a linear and nonlinear relationship. The virtual body spring can suppress the change of the model volume, and they will work together to simulate Biomechanical properties of soft tissue;

步骤3、通过动力学方程预估每个节点的近似位置,然后判断节点约束方程的状态是否改变,节点约束包括弹簧长度约束和弹簧弯曲度约束,在节点的位置引入了上述两种新的约束,以增加模型的稳定性,新的约束不仅补偿了节点之间的极限距离,而且根据弹簧的弯曲角度修正了节点的相对位置;Step 3. Estimate the approximate position of each node through the dynamic equation, and then judge whether the state of the node constraint equation has changed. The node constraint includes the spring length constraint and the spring bending degree constraint. The above two new constraints are introduced at the node position. , to increase the stability of the model, the new constraint not only compensates the limit distance between nodes, but also corrects the relative position of the nodes according to the bending angle of the spring;

若方程的初始状态改变,将修正节点到合理范围内的正确位置;若方程的初始状态未改变,那么非线性弹簧和虚拟体弹簧将模拟软组织的形变效果;If the initial state of the equation changes, the node will be corrected to the correct position within a reasonable range; if the initial state of the equation does not change, the nonlinear spring and virtual body spring will simulate the deformation effect of soft tissue;

步骤4、计算形变的单步迭代结束,进入下一轮循环。Step 4. The single-step iteration of calculating the deformation ends, and the next cycle is entered.

进一步地,在步骤3的形变计算过程中,根据牛顿运动学,计算节点受到的合力并初步预估节点位置,再依据初步计算的节点位置判断其是否满足弹簧长度和弯曲角度的约束方程,若满足则非线性弹簧和虚拟体弹簧将模拟软组织的形变效果;否则节点的位置和速度将被修正以满足约束方程,这使得模型具有较好的可控性。Further, in the deformation calculation process of step 3, according to Newtonian kinematics, calculate the resultant force received by the node and preliminarily estimate the node position, and then judge whether it satisfies the constraint equation of the spring length and bending angle according to the preliminarily calculated node position, if If satisfied, the nonlinear spring and virtual body spring will simulate the deformation effect of soft tissue; otherwise, the positions and velocities of the nodes will be modified to satisfy the constraint equations, which makes the model more controllable.

步骤3的具体的步骤为:The specific steps of step 3 are:

3.1对于模型中任意节点i,根据力学微分方程预估p的近似位置:3.1 For any node i in the model, estimate the approximate position of p according to the mechanical differential equation:

Figure BDA0003072419610000041
Figure BDA0003072419610000041

这里,Mi代表节点i的质量,

Figure BDA0003072419610000042
表示节点i的加速度,F(ui)表示节点i所受内力和,Fext_i表示它的外力。F(ui)由弹簧力和弹簧阻尼力构成:Here, M i represents the mass of node i,
Figure BDA0003072419610000042
represents the acceleration of node i, F(u i ) represents the sum of internal forces on node i, and F ext_i represents its external force. F(u i ) consists of spring force and spring damping force:

Figure BDA0003072419610000043
Figure BDA0003072419610000043

Figure BDA0003072419610000044
Figure BDA0003072419610000044

上式表示表明节点i受到的内力等于所有与其相邻节点的弹簧力与阻尼力、体积力之和。其中,kij表示节点i和节点j之间的弹性系数,cij表示节点i和节点j之间的弹簧阻尼系数,

Figure BDA0003072419610000045
表示对位移的一阶导数即节点i的速度。lij=ui-uj表示节点i和节点j之间弹簧的距离矢量,
Figure BDA0003072419610000046
表示节点i和节点j之间弹簧的初始距离。The above formula indicates that the internal force of node i is equal to the sum of the spring force, damping force and body force of all its adjacent nodes. where k ij represents the elastic coefficient between node i and node j, c ij represents the spring damping coefficient between node i and node j,
Figure BDA0003072419610000045
Represents the first derivative of the displacement, the velocity of node i. l ij =u i -u j represents the distance vector of the spring between node i and node j,
Figure BDA0003072419610000046
represents the initial distance of the spring between node i and node j.

为了实现生物软组织的非线性形变行为,非线性弹簧力及其相应系数的表达式应该如下:In order to realize the nonlinear deformation behavior of biological soft tissue, the expressions of nonlinear spring force and its corresponding coefficient should be as follows:

Figure BDA0003072419610000047
Figure BDA0003072419610000047

式中,kij为连接节点i和节点j的弹簧弹性系数;k1和k2是常数。Δlij表示弹簧长度的变化。可见,在位移较小时,弹簧力和长度变化的关系为三次多项式,而较大位移时为线性关系。In the formula, k ij is the spring elastic coefficient connecting node i and node j; k 1 and k 2 are constants. Δl ij represents the change in spring length. It can be seen that when the displacement is small, the relationship between the spring force and the length change is a cubic polynomial, and when the displacement is large, it is a linear relationship.

体积力的公式如下:The formula for body force is as follows:

Figure BDA0003072419610000048
Figure BDA0003072419610000048

这里Vj表示包含节点i的四面体单元的体积,k3为虚拟体弹簧系数。

Figure BDA0003072419610000051
Figure BDA0003072419610000052
分别表示四面体单元的当前体积和初始体积。Here Vj represents the volume of the tetrahedral element containing node i, and k3 is the virtual volume spring coefficient.
Figure BDA0003072419610000051
and
Figure BDA0003072419610000052
represent the current volume and initial volume of the tetrahedral element, respectively.

弹簧的阻尼力可以被用来模拟软组织的粘弹性。为了实现这种粘弹性特征,阻尼力的公式如下:The damping force of the spring can be used to simulate the viscoelasticity of soft tissue. To achieve this viscoelastic feature, the damping force is formulated as:

Figure BDA0003072419610000053
Figure BDA0003072419610000053

为实现软组织的体积保持性,不仅要考虑软组织模型表面节点间的受力,还要考虑内部结构对表面节点的影响。In order to achieve the volume retention of soft tissue, not only the force between the surface nodes of the soft tissue model, but also the influence of the internal structure on the surface nodes should be considered.

以上,可以导出节点i的微分方程组:Above, the system of differential equations for node i can be derived:

Figure BDA0003072419610000054
Figure BDA0003072419610000054

这样,可得节点i的位置为:In this way, the position of node i can be obtained as:

ut+Δt=ut+vi·Δtu t+Δt = u t +vi ·Δt

3.2判断节点i的位置是否满足约束方程,若节点位置满足约束方程,则保留3.1中预估的节点位置;若不满足则依据约束方程修正节点位置。具体地,本发明提出了弹簧的长度约束和弯曲度约束。3.2 Determine whether the position of node i satisfies the constraint equation, if the node position satisfies the constraint equation, keep the node position estimated in 3.1; if not, correct the node position according to the constraint equation. Specifically, the present invention proposes a length constraint and a curvature constraint for the spring.

弹簧长度约束适用于相邻节点之间的距离。若节点间弹簧长度形变率大于预先设定的形变率,则直接对节点位置进行修正以满足临界形变率。弹簧长度的形变率如下:Spring length constraints apply to the distance between adjacent nodes. If the deformation rate of the spring length between the nodes is greater than the preset deformation rate, the node position is directly modified to meet the critical deformation rate. The rate of deformation of the spring length is as follows:

τ=|lcur-linit|/linit τ=|l cur -l init |/l init

这里,τ表示弹簧的形变率linit表示弹簧的初始长度,lcur表示弹簧的当前长度。过形变率可以判断弹簧压缩或拉伸的程度,进而使用约束方程为节点产生位置修正。对于每个节点,定义弹簧长度约束方程为:Here, τ represents the deformation rate of the spring, l init , the initial length of the spring, and l cur , the current length of the spring. The rate of deformation can determine how much the spring is compressed or stretched, and then use the constraint equations to generate position corrections for the nodes. For each node, define the spring length constraint equation as:

Figure BDA0003072419610000055
Figure BDA0003072419610000055

若弹簧长度超过阈值而使约束方程的状态发生变化,则弹簧两端的节点pi与pj做出相应修正:If the length of the spring exceeds the threshold and the state of the constraint equation changes, the nodes p i and p j at both ends of the spring are corrected accordingly:

Figure BDA0003072419610000061
Figure BDA0003072419610000061

Figure BDA0003072419610000062
Figure BDA0003072419610000062

与弹簧长度约束类似,定义δ为弹簧弯曲度,具体如下:Similar to the spring length constraint, δ is defined as the spring curvature, as follows:

Figure BDA0003072419610000063
Figure BDA0003072419610000063

其中,p′i和p′j为弹簧两端节点的初始位置,pi和pj分别为两端节点的当前位置。若δ0表示弹簧弯曲度的临界值,则弹簧弯曲约束方程为:Among them, p′ i and p′ j are the initial positions of the nodes at both ends of the spring, and p i and p j are the current positions of the nodes at both ends respectively. If δ 0 represents the critical value of spring bending, the spring bending constraint equation is:

Figure BDA0003072419610000064
Figure BDA0003072419610000064

若弹簧形变的弯曲度大于临界值,则弹簧两端的节点pi与pj位置被重新修正以满足约束方程:If the curvature of the spring deformation is greater than the critical value, the positions of the nodes p i and p j at both ends of the spring are re-corrected to satisfy the constraint equation:

Figure BDA0003072419610000065
Figure BDA0003072419610000065

Figure BDA0003072419610000066
Figure BDA0003072419610000066

与现有技术相比,本发明采用新的非线性弹簧力系统和节点位置约束的机制,使模型能有效地反馈软组织的生物力学特性此外,在计算节点位移时,不同于直接采用力学微分方程的求解结果,而是预先判断节点位置是否满足提出的约束方程——包括新的弹簧长度约束及弹簧弯曲约束。新的弹簧约束能限制弹簧形变强度的临界值,如极限拉伸长度或弯曲角度。经过位置约束后的系统是无条件稳定的,弥补了传统MSM模型不稳定的缺点。Compared with the prior art, the present invention adopts a new nonlinear spring force system and a mechanism of node position constraint, so that the model can effectively feed back the biomechanical properties of the soft tissue. Instead, it prejudges whether the node positions satisfy the proposed constraint equations—including the new spring length constraint and spring bending constraint. New spring constraints can limit the critical value of spring deformation strength, such as the ultimate stretch length or bending angle. The system after the position constraint is unconditionally stable, which makes up for the instability of the traditional MSM model.

附图说明Description of drawings

图1为本发明MSM模型形变计算的流程图。FIG. 1 is a flow chart of the deformation calculation of the MSM model of the present invention.

图2为本发明构成软组织模型的基础四面体单元结构示意图。FIG. 2 is a schematic diagram of the basic tetrahedral unit structure constituting the soft tissue model according to the present invention.

图3为本发明四面体单元中的虚拟体弹簧示意图。FIG. 3 is a schematic diagram of a virtual body spring in a tetrahedral unit of the present invention.

图4为本发明弹簧的长度约束示意图。FIG. 4 is a schematic diagram of the length constraint of the spring of the present invention.

图5为本发明弹簧的弯曲度约束示意图。FIG. 5 is a schematic diagram of the bending degree constraint of the spring of the present invention.

具体实施方式Detailed ways

下面结合附图,对本发明作进一步地说明。The present invention will be further described below with reference to the accompanying drawings.

基于位置约束和非线性弹簧的软组织建模方法,如图1流程图所示,该方法步骤包括:The soft tissue modeling method based on position constraints and nonlinear springs, as shown in the flowchart of Figure 1, the method steps include:

S1.利用三维建模技术为采集的医学图像信息构建软组织模型,该模型如图2和如图3所示由非线性弹簧和虚拟体弹簧形成的四面体单元构成;S1. Use three-dimensional modeling technology to construct a soft tissue model for the collected medical image information, and the model is composed of tetrahedral elements formed by nonlinear springs and virtual body springs as shown in Figure 2 and Figure 3;

S2.模拟软组织模型的形变行为,模型在形变过程中,非线性弹簧使模型的应力与应变呈现线性和非线性关系,虚拟体弹簧能抑制模型体积的变化,它们将共同作用来模拟软组织的生物力学特性;S2. Simulate the deformation behavior of the soft tissue model. During the deformation process of the model, the nonlinear spring makes the stress and strain of the model show a linear and nonlinear relationship. The virtual body spring can suppress the change of the model volume, and they will work together to simulate the biological behavior of the soft tissue. mechanical properties;

S3.通过动力学方程预估每个节点的近似位置,然后判断节点约束方程的状态是否改变,节点约束包括如图4所示的弹簧长度约束和如图5所示的弹簧弯曲度约束;若方程的初始状态改变,将修正节点到合理范围内的正确位置;若方程的初始状态未改变,那么非线性弹簧和虚拟体弹簧将模拟软组织的形变效果;S3. Estimate the approximate position of each node through the dynamic equation, and then judge whether the state of the node constraint equation has changed. The node constraint includes the spring length constraint as shown in Figure 4 and the spring bending degree constraint as shown in Figure 5; if If the initial state of the equation changes, the node will be corrected to the correct position within a reasonable range; if the initial state of the equation does not change, the nonlinear spring and virtual body spring will simulate the deformation effect of soft tissue;

3.1对于模型中任意节点i,根据力学微分方程预估p的近似位置:3.1 For any node i in the model, estimate the approximate position of p according to the mechanical differential equation:

Figure BDA0003072419610000071
Figure BDA0003072419610000071

这里,Mi代表节点i的质量,

Figure BDA0003072419610000072
表示节点i的加速度,F(ui)表示节点i所受内力和,Fext_i表示它的外力;Here, M i represents the mass of node i,
Figure BDA0003072419610000072
represents the acceleration of node i, F(u i ) represents the sum of the internal forces on node i, and F ext_i represents its external force;

F(ui)由弹簧力和弹簧阻尼力构成:F(u i ) consists of spring force and spring damping force:

Figure BDA0003072419610000073
Figure BDA0003072419610000073

Figure BDA0003072419610000081
Figure BDA0003072419610000081

上式表示表明节点i受到的内力等于所有与其相邻节点的弹簧力与阻尼力、体积力之和。其中,kij表示节点i和节点j之间的弹性系数,cij表示节点i和节点j之间的弹簧阻尼系数,

Figure BDA0003072419610000082
表示对位移的一阶导数即节点i的速度。lij=ui-uj表示节点i和节点j之间弹簧的距离矢量,
Figure BDA0003072419610000083
表示节点i和节点j之间弹簧的初始距离。The above formula indicates that the internal force of node i is equal to the sum of the spring force, damping force and body force of all its adjacent nodes. where k ij represents the elastic coefficient between node i and node j, c ij represents the spring damping coefficient between node i and node j,
Figure BDA0003072419610000082
Represents the first derivative of the displacement, the velocity of node i. l ij =u i -u j represents the distance vector of the spring between node i and node j,
Figure BDA0003072419610000083
represents the initial distance of the spring between node i and node j.

为了实现生物软组织的非线性形变行为,非线性弹簧力及其相应系数的表达式应该如下:In order to realize the nonlinear deformation behavior of biological soft tissue, the expressions of nonlinear spring force and its corresponding coefficient should be as follows:

Figure BDA0003072419610000084
Figure BDA0003072419610000084

式中,kij为连接节点i和节点j的弹簧弹性系数;k1和k2是常数。Δlij表示弹簧长度的变化;可见,在位移较小时,弹簧力和长度变化的关系为三次多项式,而较大位移时为线性关系;In the formula, k ij is the spring elastic coefficient connecting node i and node j; k 1 and k 2 are constants. Δl ij represents the change of spring length; it can be seen that when the displacement is small, the relationship between the spring force and the length change is a cubic polynomial, and when the displacement is large, it is a linear relationship;

体积力的公式如下:

Figure BDA0003072419610000085
The formula for body force is as follows:
Figure BDA0003072419610000085

这里Vj表示包含节点i的四面体单元的体积,k3为虚拟体弹簧系数。

Figure BDA0003072419610000086
Figure BDA0003072419610000087
分别表示四面体单元的当前体积和初始体积;Here Vj represents the volume of the tetrahedral element containing node i, and k3 is the virtual volume spring coefficient.
Figure BDA0003072419610000086
and
Figure BDA0003072419610000087
represent the current volume and initial volume of the tetrahedral element, respectively;

弹簧的阻尼力可以被用来模拟软组织的粘弹性,为了实现这种粘弹性特征,阻尼力的公式如下:

Figure BDA0003072419610000088
The damping force of the spring can be used to simulate the viscoelasticity of soft tissue. To achieve this viscoelasticity, the damping force is formulated as:
Figure BDA0003072419610000088

为实现软组织的体积保持性,不仅要考虑软组织模型表面节点间的受力,还要考虑内部结构对表面节点的影响。In order to achieve the volume retention of soft tissue, not only the force between the surface nodes of the soft tissue model, but also the influence of the internal structure on the surface nodes should be considered.

以上,可以导出节点i的微分方程组:Above, the system of differential equations for node i can be derived:

Figure BDA0003072419610000089
Figure BDA0003072419610000089

这样,可得节点i的位置为:ut+Δt=ut+vi·ΔtIn this way, the position of node i can be obtained as: u t+Δt =u t +v i ·Δt

3.2判断节点i的位置是否满足约束方程,若节点位置满足约束方程,则保留3.1中预估的节点位置;若不满足则依据约束方程修正节点位置,。3.2 Determine whether the position of node i satisfies the constraint equation. If the node position satisfies the constraint equation, keep the node position estimated in 3.1; if not, correct the node position according to the constraint equation.

弹簧长度约束适用于相邻节点之间的距离。若节点间弹簧长度形变率大于预先设定的形变率,则直接对节点位置进行修正以满足临界形变率。弹簧长度的形变率如下:τ=|lcur-linit|/linit Spring length constraints apply to the distance between adjacent nodes. If the deformation rate of the spring length between the nodes is greater than the preset deformation rate, the node position is directly modified to meet the critical deformation rate. The deformation rate of the spring length is as follows: τ=|l cur -l init |/l init

这里,τ表示弹簧的形变率,linit表示弹簧的初始长度,lcur表示弹簧的当前长度。过形变率可以判断弹簧压缩或拉伸的程度,进而使用约束方程为节点产生位置修正。对于每个节点,定义弹簧长度约束方程为:

Figure BDA0003072419610000091
Here, τ is the deformation rate of the spring, l init is the initial length of the spring, and l cur is the current length of the spring. The rate of deformation can determine how much the spring is compressed or stretched, and then use the constraint equations to generate position corrections for the nodes. For each node, define the spring length constraint equation as:
Figure BDA0003072419610000091

若弹簧长度超过阈值而使约束方程的状态发生变化,则弹簧两端的节点pi与pj做出相应修正:If the length of the spring exceeds the threshold and the state of the constraint equation changes, the nodes p i and p j at both ends of the spring are corrected accordingly:

Figure BDA0003072419610000092
Figure BDA0003072419610000092

Figure BDA0003072419610000093
Figure BDA0003072419610000093

与弹簧长度约束类似,定义δ为弹簧弯曲度,具体如下:Similar to the spring length constraint, δ is defined as the spring curvature, as follows:

Figure BDA0003072419610000094
Figure BDA0003072419610000094

其中,p′i和p′j为弹簧两端节点的初始位置,pi和pj分别为两端节点的当前位置。若δ0表示弹簧弯曲度的临界值,则弹簧弯曲约束方程为:Among them, p′ i and p′ j are the initial positions of the nodes at both ends of the spring, and p i and p j are the current positions of the nodes at both ends respectively. If δ 0 represents the critical value of spring bending, the spring bending constraint equation is:

Figure BDA0003072419610000095
Figure BDA0003072419610000095

若弹簧形变的弯曲度大于临界值,则弹簧两端的节点pi与pj位置被重新修正以满足约束方程:If the curvature of the spring deformation is greater than the critical value, the positions of the nodes p i and p j at both ends of the spring are re-corrected to satisfy the constraint equation:

Figure BDA0003072419610000096
Figure BDA0003072419610000096

Figure BDA0003072419610000101
Figure BDA0003072419610000101

S4.计算形变的单步迭代结束,进入下一轮循环。S4. The single-step iteration of calculating the deformation ends, and the next cycle is entered.

本实施例提出的MSM软组织模型由2032块四面体单元、722块三角面、515个节点构成。模型中节点的质量均为1g,非线性弹簧的参数k1为4,k2为2,Δlc为1.5mm,A为3.5,B为4。阻尼力系数b0为0.5,b1为0.1,虚拟体弹簧的参数k3为1。弹簧长度约束的临界形变率τ0为20%,弹簧弯曲约束的弯曲临界值δ0为30°;对于相邻节点p1、p2,若p1所在的四面体单元体积变化为5mm3,其四面体中心的坐标为(1,0,0);p1的速度为4mm/s,方向为

Figure BDA0003072419610000102
初始坐标为(2,0,0),当前坐标为(3,0,0);p2速度为0mm/s,初始坐标和当前坐标均为(0,0,0),时间步长为0.1s,计算p1在t时刻的位置。在实际应用中,模型内所有节点的计算过程均与本例中相同。The MSM soft tissue model proposed in this embodiment consists of 2032 tetrahedral elements, 722 triangular faces, and 515 nodes. The masses of the nodes in the model are all 1g, the parameters k1 of the nonlinear spring are 4, k2 is 2 , Δlc is 1.5mm, A is 3.5, and B is 4. The damping force coefficient b 0 is 0.5, b 1 is 0.1, and the parameter k 3 of the virtual body spring is 1. The critical deformation rate τ 0 of the spring length constraint is 20%, and the bending critical value δ 0 of the spring bending constraint is 30°; for the adjacent nodes p 1 and p 2 , if the volume of the tetrahedral element where p 1 is located is 5mm 3 , The coordinates of its tetrahedron center are (1, 0, 0); the speed of p 1 is 4mm/s, and the direction is
Figure BDA0003072419610000102
The initial coordinates are (2, 0, 0), the current coordinates are (3, 0, 0); the speed of p 2 is 0mm/s, the initial and current coordinates are (0, 0, 0), and the time step is 0.1 s, calculate the position of p 1 at time t. In practical applications, the calculation process of all nodes in the model is the same as in this example.

第一步,根据力学微分方程预估p1的近似位置:The first step is to estimate the approximate position of p 1 according to the mechanical differential equation:

(1)弹簧的形变量为1mm,小于Δlc,则节点p1的非线性弹簧力为4*1+2*13=6N,方向为

Figure BDA0003072419610000103
(1) The deformation of the spring is 1mm, which is less than Δl c , then the nonlinear spring force of the node p 1 is 4*1+2*1 3 =6N, and the direction is
Figure BDA0003072419610000103

(2)p1所受阻尼力为(0.5+4*0.1)*1=0.9N,方向为

Figure BDA0003072419610000104
(2) The damping force on p 1 is (0.5+4*0.1)*1=0.9N, and the direction is
Figure BDA0003072419610000104

(3)p1所受虚拟体弹簧力为1*5=5N,方向为

Figure BDA0003072419610000105
(3) The virtual body spring force on p 1 is 1*5=5N, and the direction is
Figure BDA0003072419610000105

(4)p1的速度变化为:

Figure BDA0003072419610000106
Figure BDA0003072419610000107
(4) The speed change of p 1 is:
Figure BDA0003072419610000106
Figure BDA0003072419610000107

(5)p1的新坐标变化为:

Figure BDA0003072419610000108
(5) The new coordinate change of p 1 is:
Figure BDA0003072419610000108

第二步,判断节点p1的位置是否满足约束方程:The second step is to determine whether the position of node p 1 satisfies the constraint equation:

(1)判断节点p1的位置是否满足弹簧长度约束。弹簧的长度变化量为21%,不满足弹簧的长度约束,则节点p1的修正Δp1为0.01mm,方向为

Figure BDA0003072419610000109
节点p2的修正Δp2为0.01mm,方向为
Figure BDA00030724196100001010
(1) Determine whether the position of the node p 1 satisfies the spring length constraint. The length change of the spring is 21%, and the length constraint of the spring is not satisfied, then the correction Δp 1 of the node p 1 is 0.01mm, and the direction is
Figure BDA0003072419610000109
The correction Δp 2 for node p 2 is 0.01mm and the direction is
Figure BDA00030724196100001010

(2)判断节点p1的位置是否满足弹簧弯曲约束。弹簧的弯曲度为0°,未达到临界值,因此满足弯曲约束方程。(2) Determine whether the position of node p 1 satisfies the spring bending constraint. The bending of the spring is 0°, which does not reach the critical value, so the bending constraint equation is satisfied.

最终,计算出节点p1及节点p2的最终位置为(2.20,0,0),(0.01,0,0)。Finally, the final positions of node p 1 and node p 2 are calculated as (2.20, 0, 0), (0.01, 0, 0).

以上所述仅表达了本发明的优选实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形、改进及替代,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above description only expresses the preferred embodiments of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications, improvements and substitutions can be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.

Claims (3)

1.一种基于位置约束和非线性弹簧的软组织建模方法,其特征在于,所述方法包括以下步骤:1. a soft tissue modeling method based on position constraint and nonlinear spring, is characterized in that, described method comprises the following steps: 步骤1:利用三维建模技术为采集的医学图像信息构建软组织模型,所述模型由非线性弹簧和虚拟体弹簧形成的四面体单元构成,四面体模型结构用于获取表面节点信息以及模型内部体积信息;Step 1: Use 3D modeling technology to build a soft tissue model for the collected medical image information, the model is composed of tetrahedral elements formed by nonlinear springs and virtual body springs, and the tetrahedral model structure is used to obtain surface node information and the internal volume of the model information; 步骤2:模拟软组织模型的形变行为,所述模型在形变过程中,非线性弹簧使模型的应力与应变呈现线性和非线性关系,虚拟体弹簧能抑制模型体积的变化,它们将共同作用来模拟软组织的生物力学特性;Step 2: Simulate the deformation behavior of the soft tissue model. During the deformation process of the model, the nonlinear spring makes the stress and strain of the model show a linear and nonlinear relationship. The virtual body spring can suppress the change of the model volume, and they will work together to simulate Biomechanical properties of soft tissue; 步骤3:通过动力学方程预估每个节点的近似位置,然后判断节点约束方程的状态是否改变,节点约束包括弹簧长度约束和弹簧弯曲度约束;若方程的初始状态改变,将修正节点到合理范围内的正确位置;若方程的初始状态未改变,那么非线性弹簧和虚拟体弹簧将模拟软组织的形变效果;具体包括:Step 3: Estimate the approximate position of each node through the dynamic equation, and then judge whether the state of the node constraint equation has changed. The node constraint includes the spring length constraint and the spring bending degree constraint; if the initial state of the equation changes, correct the node to a reasonable value. correct position within the range; nonlinear springs and virtual body springs will simulate the deformation effects of soft tissue if the initial state of the equation is unchanged; specifically: 3.1对于模型中任意节点i,计算节点受到的合力并初步预估节点位置;3.1 For any node i in the model, calculate the resultant force on the node and preliminarily estimate the node position; 节点i受到的合力计算公式为:
Figure FDA0003626770120000011
式中Mi代表节点i的质量,
Figure FDA0003626770120000012
表示节点i的加速度,F(ui)表示节点i所受内力和,Fext_i表示它的外力;
The formula for calculating the resultant force on node i is:
Figure FDA0003626770120000011
where M i represents the quality of node i,
Figure FDA0003626770120000012
represents the acceleration of node i, F(u i ) represents the sum of the internal forces on node i, and F ext_i represents its external force;
节点i的位置表达式为:ut+Δt=ut+vi·Δt,ut+Δt、ut分别表示t+Δt时刻和t时刻的位移矢量,vi表示节点i的速度;The position expression of node i is: u t+Δt = u t +v i ·Δt, u t+Δt and u t represent the displacement vectors at time t+Δt and time t respectively, and v i represents the speed of node i; 每个节点的近似位置预估推导过程如下:The approximate location estimation derivation process of each node is as follows:
Figure FDA0003626770120000013
Figure FDA0003626770120000013
Figure FDA0003626770120000014
Figure FDA0003626770120000014
上式表示表明节点i受到的内力等于所有与其相邻节点的弹簧力与阻尼力、体积力之和;其中,kij表示节点i和节点j之间的弹性系数,cij表示节点i和节点j之间的弹簧阻尼系数,
Figure FDA0003626770120000015
表示对位移的一阶导数即节点i的速度,lij=ui-uj表示节点i和节点j之间弹簧的距离矢量,
Figure FDA0003626770120000021
表示节点i和节点j之间弹簧的初始距离;
The above formula indicates that the internal force of node i is equal to the sum of spring force, damping force and body force of all its adjacent nodes; among them, k ij represents the elastic coefficient between node i and node j, and c ij represents node i and node the spring damping coefficient between j,
Figure FDA0003626770120000015
represents the first derivative of the displacement, i.e. the velocity of node i, l ij =u i -u j represents the distance vector of the spring between node i and node j,
Figure FDA0003626770120000021
represents the initial distance of the spring between node i and node j;
非线性弹簧力及其相应系数的表达式如下:The nonlinear spring force and its corresponding coefficient are expressed as follows:
Figure FDA0003626770120000022
Figure FDA0003626770120000022
式中,kij为连接节点i和节点j的弹簧弹性系数;k1和k2是常数;lij表示弹簧长度的变化,ui为节点i的位置,||ui-uj||为节点i与节点j之间的距离;在位移较小时,弹簧力和长度变化的关系为三次多项式,而较大位移时为线性关系;In the formula, k ij is the spring elastic coefficient connecting node i and node j; k 1 and k 2 are constants; l ij represents the change of spring length, ui is the position of node i, ||u i -u j || is the distance between node i and node j; when the displacement is small, the relationship between the spring force and the length change is a cubic polynomial, and when the displacement is large, it is a linear relationship; 体积力的公式如下:The formula for body force is as follows:
Figure FDA0003626770120000023
Figure FDA0003626770120000023
式中,Vj表示包含节点i的四面体单元的体积,k3为虚拟体弹簧系数;Vj cur和Vj init分别表示四面体单元的当前体积和初始体积,Xi表示节点i的坐标,Xj表示节点j的坐标;In the formula, V j represents the volume of the tetrahedral element including node i, k 3 is the spring coefficient of the virtual body; V j cur and V j init represent the current volume and initial volume of the tetrahedral element, respectively, X i represents the coordinate of node i , X j represents the coordinates of node j; 弹簧的阻尼力用于模拟软组织的粘弹性,弹簧阻尼力的公式如下:The damping force of the spring is used to simulate the viscoelasticity of soft tissue. The formula of the spring damping force is as follows:
Figure FDA0003626770120000024
Figure FDA0003626770120000024
导出节点i的微分方程组:Derive the system of differential equations for node i:
Figure FDA0003626770120000025
Figure FDA0003626770120000025
式中,Fi表示节点i的弹簧力与体积力之和,vi表示节点i的速度,
Figure FDA0003626770120000026
为节点i的加速度;
In the formula, F i represents the sum of the spring force and the body force of the node i , vi represents the speed of the node i,
Figure FDA0003626770120000026
is the acceleration of node i;
根据上述微分方程组得出节点i的位置;According to the above differential equation system, the position of node i is obtained; 3.2判断节点i的位置是否满足约束方程,若节点位置满足约束方程,则保留3.1中预估的节点位置;若不满足则依据约束方程修正节点位置;所述约束方程包括弹簧长度约束和弹簧弯曲度约束方程;3.2 Determine whether the position of node i satisfies the constraint equation, if the node position satisfies the constraint equation, keep the node position estimated in 3.1; if not, correct the node position according to the constraint equation; the constraint equation includes spring length constraint and spring bending degree constraint equation; 所述弹簧长度约束适用于相邻节点之间的距离,若节点间弹簧长度形变率大于预先设定的形变率,则直接对节点位置进行修正以满足临界形变率;The spring length constraint is applicable to the distance between adjacent nodes. If the spring length deformation rate between the nodes is greater than the preset deformation rate, the node position is directly modified to meet the critical deformation rate; 若弹簧长度超过阈值而使约束方程的状态发生变化或弹簧形变的弯曲度大于临界值,则弹簧两端的节点pi与pj做出相应修正;If the length of the spring exceeds the threshold and the state of the constraint equation changes or the curvature of the spring deformation is greater than the threshold, the nodes p i and p j at both ends of the spring are corrected accordingly; 步骤4:计算形变的单步迭代结束,进入下一轮循环。Step 4: The single-step iteration for calculating the deformation ends, and the next cycle is entered.
2.根据权利要求1所述的一种基于位置约束和非线性弹簧的软组织建模方法,其特征在于,所述步骤3.2中弹簧长度的形变率如下:2. A soft tissue modeling method based on position constraints and nonlinear springs according to claim 1, wherein the deformation rate of the spring length in the step 3.2 is as follows:
Figure FDA0003626770120000031
Figure FDA0003626770120000031
式中,τ表示弹簧长度的形变率,lcur和linit分别表示弹簧的当前长度和初始长度;通过形变率判断弹簧压缩或拉伸的程度,进而使用约束方程为节点产生位置修正;In the formula, τ represents the deformation rate of the spring length, and l cur and l init represent the current length and initial length of the spring, respectively; the degree of compression or stretching of the spring is judged by the deformation rate, and then the constraint equation is used to generate position corrections for the nodes; 对于每个节点,弹簧长度约束方程为:For each node, the spring length constraint equation is:
Figure FDA0003626770120000032
Figure FDA0003626770120000032
式中,τ0表示弹簧长度形变率的临界值;In the formula, τ 0 represents the critical value of the spring length deformation rate; 若弹簧长度超过阈值而使约束方程的状态发生变化,则弹簧两端的节点pi与pj做出相应修正:If the length of the spring exceeds the threshold and the state of the constraint equation changes, the nodes p i and p j at both ends of the spring are corrected accordingly:
Figure FDA0003626770120000033
Figure FDA0003626770120000033
Figure FDA0003626770120000034
Figure FDA0003626770120000034
3.根据权利要求1所述的一种基于位置约束和非线性弹簧的软组织建模方法,其特征在于,所述步骤3.2中弹簧弯曲度δ表达式如下:3. a kind of soft tissue modeling method based on position constraint and nonlinear spring according to claim 1, is characterized in that, in described step 3.2, spring bending degree δ expression is as follows:
Figure FDA0003626770120000035
Figure FDA0003626770120000035
其中,pi′和pj′为弹簧两端节点的初始位置,pi和pj分别为两端节点的当前位置;Among them, p i ' and p j ' are the initial positions of the nodes at both ends of the spring, and p i and p j are the current positions of the nodes at both ends respectively; δ0表示弹簧弯曲度的临界值,则弹簧弯曲度约束方程为:δ 0 represents the critical value of the spring tortuosity, then the spring tortuosity constraint equation is:
Figure FDA0003626770120000041
Figure FDA0003626770120000041
若弹簧形变的弯曲度大于临界值,则弹簧两端的节点pi与pj位置被重新修正以满足约束方程:If the curvature of the spring deformation is greater than the critical value, the positions of the nodes p i and p j at both ends of the spring are re-corrected to satisfy the constraint equation:
Figure FDA0003626770120000042
Figure FDA0003626770120000042
Figure FDA0003626770120000043
Figure FDA0003626770120000043
CN202110543263.7A 2021-05-19 2021-05-19 Soft tissue modeling method based on position constraint and nonlinear spring Active CN113409443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110543263.7A CN113409443B (en) 2021-05-19 2021-05-19 Soft tissue modeling method based on position constraint and nonlinear spring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110543263.7A CN113409443B (en) 2021-05-19 2021-05-19 Soft tissue modeling method based on position constraint and nonlinear spring

Publications (2)

Publication Number Publication Date
CN113409443A CN113409443A (en) 2021-09-17
CN113409443B true CN113409443B (en) 2022-07-12

Family

ID=77678845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110543263.7A Active CN113409443B (en) 2021-05-19 2021-05-19 Soft tissue modeling method based on position constraint and nonlinear spring

Country Status (1)

Country Link
CN (1) CN113409443B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112883609B (en) * 2021-02-04 2022-02-18 上海索验智能科技有限公司 Method for real-time simulating object movement or deformation
CN113806983B (en) * 2021-09-18 2024-02-02 长春理工大学 Real-time simulation method for tissue deformation in laparoscopic surgery
CN116561935B (en) * 2023-07-11 2023-10-03 成都信息工程大学 A soft tissue deformation simulation method based on body springs and multi-scale volume invariance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488670A (en) * 2020-03-05 2020-08-04 天津大学 Nonlinear mass spring soft tissue deformation simulation method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766665A (en) * 2017-10-26 2018-03-06 天津瑷睿赛福科技有限公司 A kind of automobile side crash tests dummy breast structure fast modeling method
CN107992672A (en) * 2017-11-28 2018-05-04 电子科技大学 A kind of soft tissue deformation modeling method based on virtual spring
CN109492250A (en) * 2018-09-29 2019-03-19 南京信息工程大学 A kind of Soft Tissue Deformation analogy method of Anisotropic Nonlinear mass-spring model
CN109344500A (en) * 2018-09-29 2019-02-15 南京信息工程大学 An Inelastic Mass Spring Model and Soft Tissue Deformation Simulation Method Based on Improved Euler Algorithm
CN110046406B (en) * 2019-03-28 2022-07-05 天津大学 A Soft Tissue Simulation Method with Force Feedback Structure in Anatomy Teaching System
CN110265149B (en) * 2019-06-26 2021-11-12 西安科技大学 Gingival soft tissue deformation simulation method based on improved mass point spring model
CN110610039B (en) * 2019-09-06 2023-07-11 南京信息工程大学 A Method for Simulation of Soft Tissue Deformation Using a Mass Spring Model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488670A (en) * 2020-03-05 2020-08-04 天津大学 Nonlinear mass spring soft tissue deformation simulation method

Also Published As

Publication number Publication date
CN113409443A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN113409443B (en) Soft tissue modeling method based on position constraint and nonlinear spring
Kühnapfel et al. Endoscopic surgery training using virtual reality and deformable tissue simulation
CN101719284B (en) Method for physically deforming skin of virtual human based on hierarchical model
Meister et al. Deep learning acceleration of total Lagrangian explicit dynamics for soft tissue mechanics
Lim et al. Real time simulation of nonlinear tissue response in virtual surgery using the point collocation-based method of finite spheres
CN110289104B (en) Soft tissue compression and deformation recovery simulation method
CN101964023B (en) Modeling Method of Asymmetric Leaf Spring Virtual Model Based on Haptic Reproduction of Flexible Force
Zhang et al. A Fast and Accurate Vascular Tissue Simulation Model Based on Point Primitive Method.
CN103400023A (en) Soft Tissue Deformation Simulation Method
CN105302974A (en) Real-time cutting simulation method of flexible object on the basis of finite element and time-variant modal analysis
CN109492250A (en) A kind of Soft Tissue Deformation analogy method of Anisotropic Nonlinear mass-spring model
Kulkarni et al. Spatial ANCF/CRBF beam elements
Zhang et al. A Real-time Cutting Model Based on Finite Element and Order Reduction.
CN110289103B (en) Soft tissue local compression deformation simulation method
CN109344500A (en) An Inelastic Mass Spring Model and Soft Tissue Deformation Simulation Method Based on Improved Euler Algorithm
Hou et al. A new model of soft tissue with constraints for interactive surgical simulation
Zhang et al. An optimized mass-spring model with shape restoration ability based on volume conservation
CN111341449B (en) Simulation method for virtual vascular intervention operation training
CN107590851B (en) A Soft Body Deformation Model Construction Method Based on the Mixture of Mass Spring and Filler Model
CN116741386A (en) A virtual simulation method for nucleus pulposus clamping in transforaminal endoscopic surgery based on force feedback
Marinković et al. Corotational finite element formulation for virtual-reality based surgery simulators
CN106570341A (en) Soft tissue stress deformable model modeling method based on mesh-free radial base data fitting
Banihani et al. POD for real‐time simulation of Hyperelastic soft biological tissue using the point collocation method of finite spheres
Péan et al. Surface-based modeling of muscles: Functional simulation of the shoulder
Han et al. a neural network model for efficient Musculoskeletal-Driven skin deformation

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
GR01 Patent grant
GR01 Patent grant