Deformable object simulation method for robotic manipulation
By using the skin weight method and low-order subspace technology in robot operation, the problem of low computational efficiency in deformable object simulation in the existing technology is solved, and efficient simulation analysis of the deformation of deformable objects under robot operation is achieved, satisfying the needs of Real-time requirements.
Patent Information
- Application Number
- PCT/CN2023/087313
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-17
AI Technical Summary
The existing technology is difficult to effectively simulate the internal structural deformation information of deformable objects during robot operation, and the finite element method has low computational efficiency and is difficult to meet real-time requirements.
By selecting multiple feature points in the deformable object mesh model, establishing the mapping relationship between the feature point pose and the mesh node displacement based on the skin weight method, establishing a low-order subspace and solving the dynamic system equations, improving calculation efficiency.
It realizes the deformation analysis of deformable objects under the operation of the robot's end effector, improves the simulation calculation efficiency, and meets the real-time needs of robot operation planning and control.
Smart Images

Figure CN2023087313_17102024_PF_FP_ABST
Abstract
Description
A method for simulating deformable objects for robot manipulation Technical Field
[0001] The present invention relates to the field of robotics, and more particularly to a deformable object simulation method for robotic operation. Background Art
[0002] In scenarios where a robot manipulates a deformable object (such as soft tissue organs), the deformable object deforms under the robot's end-effector, causing changes in the position of its internal structure and markers, thus affecting the accuracy of the robot's manipulation. In existing robotic manipulation planning and control, methods such as visual servoing are commonly used to obtain deformation information of the manipulated object. However, vision-based methods cannot obtain positional information about the manipulated object's internal structure and markers, and therefore struggle to meet the requirements of robotic manipulation planning and control.
[0003] In the prior art, finite element methods are commonly used to model and simulate deformable objects, such as in the paper "Interactive Robotic Manipulation of Elastic Objects, IEEE International Conference on Intelligent Robots and Systems (IROS), 2018." In this approach, the deformable object is discretized into a spatial grid (typically a tetrahedral grid). The elastic forces at the grid nodes are calculated based on the material model and the principle of virtual work, thereby establishing the dynamic system equations for the deformable object model. The positions of the model grid nodes at each moment, i.e., the object's deformation, are then calculated using a time integration method. When a robot manipulates the deformable object, the displacements of the grid nodes are set based on the position of the robot's end-effector. This method has the advantages of high computational accuracy and the ability to simulate the displacement changes of the deformable object's internal structure and landmarks, thereby providing necessary information for robot operation planning and control. However, this method suffers from low computational efficiency, making it difficult to meet the real-time requirements of deformation simulation for robot operation planning and control, and it also struggles to accurately characterize the deformation of the deformable object under the manipulation of the robot's end-effector.
[0004] Analysis shows that modeling and simulation are the foundation for planning and controlling robots when manipulating deformable objects (such as soft tissue organs, sponges, and rubber products). Existing robot manipulation planning and control methods are primarily categorized into two types: model-free and model-based methods. Model-free methods primarily rely on image information, such as visual servoing, and are unable to obtain deformation information about the internal structure of the deformable object. Model-based methods primarily rely on deformation models, such as finite element methods. These methods offer high computational accuracy but are computationally intensive, inefficient, and struggle to accurately characterize the deformation of the deformable object under the manipulation of the robot's end-effector.
[0005] Summary of the Invention
[0006] The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art and provide a method for simulating a deformable object for robot operation. The method comprises the following steps:
[0007] Selecting a plurality of feature points from a deformable object mesh model, wherein the deformable object mesh model includes a mesh and mesh nodes, and the mesh included in the deformable object mesh model is a tetrahedron;
[0008] The mapping relationship between the feature point pose and the displacement of the mesh node of the deformable object is established based on the skin weight method;
[0009] Based on the mapping relationship, a low-order subspace of object deformation is established, and a dynamic system equation of the mesh nodes of the deformed object is established in the low-order subspace;
[0010] Calculating the elastic force on the mesh nodes of the deformable object and solving the dynamic system equation to obtain deformation information of the deformable object mesh model at multiple moments;
[0011] When the robot manipulates a deformable object and the object deforms, the end-effector manipulation pose is mapped to the deformation of the deformable object mesh.
[0012] Compared with the existing technology, the advantage of the present invention is that it proposes a modeling and simulation method for deformable objects for robot operation, which can improve the deformation simulation calculation efficiency of the deformable object and realize the deformation analysis of the deformable object under the operation of the robot end effector.
[0013] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0015] FIG1 is a flow chart of a method for simulating a deformable object for robot manipulation according to an embodiment of the present invention;
[0016] FIG2 is a process diagram of a deformable object simulation method for robot manipulation according to an embodiment of the present invention;
[0017] FIG3 is a schematic diagram of a tetrahedral mesh according to one embodiment of the present invention;
[0018] FIG4 is a schematic diagram of deformation of an object manipulated by a robot according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention.
[0020] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0021] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0022] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0023] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0024] The present invention provides a method for simulating deformable objects based on feature points and model order reduction. First, a number of feature points are evenly distributed within the deformable object's mesh model. Then, a mapping relationship between the feature point poses and the mesh model's deformation is established using a skinning weighting method, thereby creating a low-order subspace. Within this low-order subspace, the dynamic system equations for the deformable object model are established. Next, the elastic forces on the mesh nodes are calculated using an integration method. When a robot manipulates the deformable object to cause deformation, the end effector's manipulation pose is mapped to the deformation of the deformable object's mesh model by manipulating the feature points.
[0025] Specifically, as shown in FIG1 and FIG2 , the provided deformable object simulation method for robot operation includes the following steps:
[0026] Step S110: Create a deformable object mesh model and select feature points.
[0027] The mesh model (or geometric model) of a deformable object can be obtained by geometric reconstruction and other methods. The mesh model contains meshes and nodes. Assume that the mesh model of a deformable object contains n mesh nodes. The positions of the mesh nodes can be defined by three-dimensional coordinates, and their initial positions are recorded as X∈R n×3 , the deformation position is recorded as x∈R n×3 .
[0028] The deformable object mesh can be in various forms, such as a polyhedral structure. Figure 3 shows a schematic of a tetrahedral mesh, where each tetrahedron is defined or characterized by four nodes.
[0029] Furthermore, an appropriate number of feature points are selected in the geometric model of the deformable object. Suppose there are a total of k (k << n) feature points, and the pose change of the feature points is represented by the transformation matrix A. For example, the selected feature points are evenly distributed in the deformable object. In addition, the contact points between the deformable object and the end effector of the robot can also be used as feature points, as shown in Figure 4.
[0030] Step S120: Establish a mapping relationship between the pose transformation matrix of the feature points and the nodes of the deformable object grid through the skinning weight algorithm.
[0031] In this step S120, a mapping between the pose of the feature points and the displacement of the nodes of the deformable object grid is established through the skinning weight algorithm. For example, the node displacement is obtained by multiplying the pose transformation matrix of the feature points by the spatial transformation matrix.
[0032] Let the skinning weight of the i-th feature point relative to the j-th grid node be Then the deformed position x of the grid node can be calculated by the skinning weight algorithm as follows:
[0033] where A i is the pose transformation matrix of the i-th feature point, with a dimension of 3×4, x j , y j , z j represent the deformed position of the j-th grid node, and X j , Y j and Z j represent the position of the j-th grid node before deformation.
[0034] Step S130: Based on the mapping relationship, establish a low-order subspace of object deformation and establish a dynamic system equation for the nodes of the deformable object grid in this low-order subspace.
[0039] in, represents the first-order derivative of q, represents the second-order derivative of q, M is the mass matrix, D is the damping coefficient matrix, and f is the elastic force inside the deformable object. The above formula (6) can be further transformed into:
[0040] Formula (7) is the dynamic system equation of the deformable object mesh in low-order space.
[0041] Step S140 , solving the dynamic system equations to obtain the deformation of the object at each moment.
[0042] In one embodiment, the elastic force on the grid nodes is calculated by the integration method, and the deformation of the object at each moment is obtained by solving the dynamic system equation. When k' tetrahedral units are selected, the elastic force can be calculated according to the following formula:
[0043] Where Ω represents the tetrahedral unit area, Ψ(X,q) represents the energy density function of the deformable object material, and X i represents the initial position of the i-th grid node, α i ∈R is the integral coefficient, R represents a real number, g(X i ,q) is the force in low-order space, expressed as:
[0044] Integral coefficient α=(α0,…,α i ,…,α k' ) can be obtained using the BGBC (biharmonic generalized barycentric coordinates) method. Finally, solving the above dynamic system equations yields the displacements of the deformable object's mesh nodes at each moment, i.e., the object's deformation. Due to the low dimensionality of the above dynamic system equations (4k << 3n), they offer higher computational efficiency.
[0045] Step S150 : When the robot operates a deformable object and deformation occurs, the end effector operation posture is mapped to the deformation of the deformable object mesh.
[0046] FIG4 is a schematic diagram of a robot manipulating a deformable object to produce deformation. In this example, the contact point between the deformable object and the robot end effector is also used as a feature point. In combination with FIG2 , in this case, the deformable object simulation method provided includes the following steps:
[0047] 1) When the robot end effector contacts and operates a deformable object, the contact point is added as a new feature point to the deformation model to establish a new feature subspace. In the new feature subspace, the spatial coordinates are:
[0048] Among them, r represents robot, dr represents "Deformable-Robot", A r Is the new feature point pose transformation matrix. The new spatial transformation matrix is: U d-r =(U1|…|U k |U r ) (12)
[0049] Among them, U r The effect of the spatial pose of the feature point corresponding to the robot end effector on the displacement of the mesh node of the deformable object is characterized. At this time, the transformation relationship between the spatial pose of the feature point and the object deformation is: x = U d-r q d-r (13)
[0050] 2) Update the pose of the set feature points according to the pose of the robot end effector.
[0051] 3) Calculate the displacement of the deformable object mesh based on the updated feature point poses.
[0052] Accordingly, the present invention also provides a deformable object simulation system for robot operation, which is used to implement one or more aspects of the above method. For example, the system includes: a feature point selection unit: used to select multiple feature points from a deformable object mesh model, wherein the deformable object mesh model includes a mesh and mesh nodes; a displacement mapping unit: used to establish a mapping relationship between the feature point pose and the displacement of the deformable object mesh node based on a skin weight method; an order reduction unit: used to establish a low-order subspace of object deformation based on the mapping relationship, and establish a dynamic system equation of the deformable object mesh node in the low-order subspace; a deformation analysis unit: used to calculate the elastic force on the deformable object mesh node and solve the dynamic system equation to obtain deformation information of the deformable object mesh model at multiple moments; a robot simulation unit: used to map the end effector operation pose to the deformation of the deformable object mesh when the robot operates the deformable object and the deformable object deforms.
[0053] In summary, the present invention proposes a model-order reduction method based on feature point space and skin weights, which can effectively reduce the computational efficiency of solving simulation models. Furthermore, the present invention can better characterize the simulation effect of object deformation driven by a robot end-effector. Simulations have verified that the present invention can manipulate object deformation based on the end-effector's pose information, while existing methods can only manipulate object deformation based on the end-effector's position information.
[0054] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0055] Computer-readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device.Computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination thereof.More specific examples (non-exhaustive list) of computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove having instructions stored thereon, and any suitable combination thereof.Computer-readable storage medium used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses by fiber optic cables), or electrical signals transmitted by wires.
[0056] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0057] The computer program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, Python, and conventional procedural programming languages such as "C" language or similar programming languages. The computer readable program instructions can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), is personalized by utilizing the state information of the computer readable program instructions, and the electronic circuit can execute the computer readable program instructions, thereby realizing various aspects of the present invention.
[0058] Various aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0059] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that, when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams.
[0060] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0061] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, and the module, program segment or part of the instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
[0062] While various embodiments of the present invention have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for simulating a deformable object for robot operation, comprising the following steps: Selecting a plurality of feature points from a deformable object mesh model, wherein the deformable object mesh model includes a mesh and a mesh node, and the mesh included in the deformable object mesh model is a tetrahedron; The mapping relationship between the feature point pose and the mesh node displacement of the deformable object is established based on the skin weight method; Based on the mapping relationship, a low-order subspace of object deformation is established, and a dynamic system equation of the mesh nodes of the deformed object is established in the low-order subspace; Calculating the elastic force on the mesh nodes of the deformable object, and solving the dynamic system equation to obtain deformation information of the mesh model of the deformable object at multiple moments; When the robot manipulates a deformable object and the object deforms, the end effector manipulation posture is mapped to the deformation of the deformable object mesh.
2. The method according to claim 1, characterized in that The mapping relationship is expressed as: in, is the skin weight of the i-th feature point relative to the j-th mesh node. x represents the deformation position of the mesh node, A i is the pose transformation matrix of the i-th feature point, k is the number of feature points, x j ,y j 、z j represents the deformed position of the jth grid node, X j , Y j and Z j is the position of the jth mesh node before deformation.
3. The method according to claim 1, characterized in that The dynamic system equation is expressed as: Where x is the position of the mesh node of the deformed object, q is the coordinate of the low-order subspace, represents the first-order derivative of q, represents the second-order derivative of q, U is the space transformation matrix, M is the mass matrix, D is the damping coefficient matrix, and f is the elastic force inside the deformed object.
4. The method according to claim 3, characterized in that The dynamic system equation is also expressed as: Where T stands for transpose.
5. The method according to claim 4, characterized in that The elastic force generated by the deformation is calculated according to the following formula Among them, g(X i ,q) is the force in low-order space, expressed as: Where k' is the number of tetrahedral units, α i ∈R is the integral coefficient, R represents a real number, Ω represents the tetrahedral unit area, Ψ(X,q) represents the energy density function of the deformed object material, X i Represents the initial position of the i-th grid node.
6. The method according to claim 1, characterized in that Also includes: When the robot operates a deformable object and the object deforms, the end effector manipulation feature points are used to map the end effector manipulation posture to the deformation of the deformable object model mesh.
7. The method according to claim 6, characterized in that When the robot operates a deformable object and the deformable object is deformed, mapping the end effector operation posture to the deformation of the deformable object mesh comprises the following sub-steps: When the robot end effector contacts and operates the deformed object, the contact point is used as a new feature point to establish a new feature subspace. In this new feature subspace, the spatial coordinates are: Among them, A r is the pose transformation matrix of the new feature point, and the new space transformation matrix is: U d-r =(U1|…|U k |U r ) Among them, r represents the robot, dr represents the deformable object-robot, U r Characterize the influence of the spatial pose of the feature point corresponding to the robot end effector on the displacement of the mesh node of the deformable object, and the transformation relationship between the spatial pose of the feature point and the object deformation is: x=U d-r q d-r Update the pose of the set feature points according to the pose of the robot end effector; Based on the updated feature point poses, the displacement of the deformable object mesh is calculated.
8. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
9. A computer device comprising a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Force-feedback-based robot micro-wound operation simulating system
CN102207997A
Method for simulating tension / deformation on soft tissue epidermis of any shape
CN103745058A
Flexible object deformation simulation method for force haptic human-computer interaction
CN103869983A
Robot-environment dynamic interaction rendering system and method oriented for digital twinning
CN112428272A
Mesh model processing method, storage medium and equipment
CN113538643A
