Surgical robot, dragging control method and device thereof and storage medium

By establishing and linearizing the robot dynamics equation, combined with the least squares method and Kalman filter, high-precision drag control of the surgical robot is achieved, solving the problem of poor motion response in the existing technology, reducing costs and simplifying the calibration process. , meeting the control needs of precision surgery.

CN118750183APending Publication Date: 2024-10-11SHENZHEN JIFU MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411091450.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The existing surgical robot drag control method has poor motion response in precision surgery, and the six-dimensional force sensor is expensive and complex to calibrate, making it difficult to promote on a large scale in the medical environment and unable to meet the needs of precision control.

Method used

By establishing the robot dynamics equation, linearizing and collecting the kinematic parameters, using the least squares method to identify the dynamic parameters, combined with the Kalman filter and Jacobian matrix transformation, joint torque calculation and external force conversion are realized, and the multi-joint robot actuator is driven. High-precision drag control avoids dependence on additional force sensors.

Benefits of technology

It achieves high-precision, low-cost drag control of surgical robots, reduces the real-time ratio of the controller, reduces equipment costs, simplifies the calibration process, and meets the control needs of precision surgery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118750183A_ABST
    Figure CN118750183A_ABST
Patent Text Reader

Abstract

The invention discloses a dragging control method and device and a storage medium, and the method comprises the steps: firstly building a robot kinetic model, carrying out the recognition of kinetic parameters, calculating the moment of each joint in real time, collecting the difference between the moment of each joint in real time, calculating the stress direction and size of the tail end of a robot through a Jacobian transpose matrix, and carrying out the real-time calculation. The stress is converted into a comprehensive velocity vector, the velocity vector is decomposed into velocities in three directions under a base coordinate system of the robot, and the angular velocity of each joint is solved through an inverse matrix of a Jacobian matrix, so that free dragging control of the robot is achieved. According to the dragging control method, the difference between the collected value of the joint torque and the collected value of the robot joint torque is calculated on the basis of the kinetic model, an additional force sensor is not needed, only one bus robot controller is needed, a dragging function program can be developed on an upper computer platform, and the cost is reduced. And the robot can be freely dragged in a position mode and a speed mode of the servo driver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical devices, and in particular to a surgical robot and a dragging control method, device and storage medium thereof. Background Art

[0002] In the field of medical devices, surgical robots are increasingly involved in precision surgery. During this process, it is necessary to accurately control the displacement, rotation and other movements of the surgical robot. However, the existing robot movement control accuracy and response speed cannot meet the needs of precision surgery. The current surgical robot dragging control method is based on dynamic compensation and torque feedforward methods, which requires the robot controller to have a high real-time ratio and needs to be controlled in torque mode. It is carried out on the basis of the development of the lower computer with the help of six-dimensional force sensors. However, the high price and complex calibration of six-dimensional force sensors make this solution unable to be promoted on a large scale in medical environments.

[0003] Chinese patent application No. 2024104151663 proposes a robotic arm dragging control method and a surgical robot, which mainly solves the problem of poor motion response of existing surgical robots during dragging. The technical solution of this patent application still uses the traditional position judgment method to guide the movement of the robotic arm. This control method is far from meeting the current requirements for precise control of robotic arms.

[0004] Therefore, the industry urgently needs to develop a solution that can accurately, in real time, and at low cost control surgical robots. Summary of the invention

[0005] The present invention provides a surgical robot and a dragging control method, device and storage medium thereof. In a first aspect, the present invention provides a drag control method, comprising the following steps: Step 101: Establish robot dynamics equations; Step 102: Linearize the kinetic equation; Step 103: collecting first kinematic parameters; Step 104: Apply external force to the robot in real time and drag it freely; Step 105: collecting second kinematic parameters; Step 106: Obtain the joint position, velocity, and acceleration in the second kinematic parameters; Step 107: Obtain joint torque data in the second kinematic parameters; Step 108: using the least square method to identify kinetic parameters; Step 109: Calculate joint torque; Step 110: Obtain the change of joint torque and the external force applied to the robot; Step 111: Perform Kalman filtering on the external force applied to the robot; Step 112: converting the external force into a terminal velocity command; Step 113: decomposing the vector into components of a spatial coordinate system; Step 114: using the Jacobian matrix to transform the three direction velocity components of the spatial coordinate system into the velocity of the joint motor; Step 115: converting the joint angular velocity into instructions through the PI controller module; Step 116: Switching to joint drive speed control mode; Step 117: driving the multi-joint robot actuator; Step 118: Continuously collect and filter the joint velocity data.

[0006] Furthermore, the establishment of the robot dynamics equation is specifically as follows: for an N-degree-of-freedom serial robot, where N is a positive integer, and considering friction, its rigid body dynamics equation is expressed by the following formula 1: ,in is the control torque input vector, is the joint friction torque vector, are the centrifugal and Coriolis force vectors, is the gravity vector, is the mass matrix, is the joint position vector.

[0007] Furthermore, the linearization of the kinetic equation is specifically as follows: the kinetic equation of Formula 1 is linearly simplified to obtain the following Formula 2: ,in is the control torque input vector, is the identification matrix or observation matrix, is the inertia parameter; the inertia parameter of each connecting rod and the friction coefficient of the joint are shown in Formula 3: ,in is the term of joint friction; Formula 4 is the modeling equation of friction, ,in is the angular velocity of the joint, and after simplification, we get Formula 5; , the inertia parameter of formula 2 is simplified to the minimum concentrated inertia parameter, and formula 6 is obtained; ,in is the coefficient matrix of the minimum parameters, is the minimum parameter set, To calculate the torque equation.

[0008] Furthermore, the first kinematic parameters include position, velocity, acceleration and torque.

[0009] Furthermore, the least square method is used to identify the kinetic parameters using formula 7, and the kinetic parameter set is calculated to obtain : ,in It is a matrix composed of joint position, velocity, and acceleration; To collect joint torque.

[0010] Further, the calculation of the joint torque is specifically as follows: calculating the change value of the joint torque , we get formula eight: , in is the motor torque of each joint collected, is the joint torque calculated from dynamics, is the robot joint change value.

[0011] Furthermore, the acquisition of the joint torque change and the external force on the robot is specifically as follows: based on the joint torque change value obtained by formula 8 and the joint torque data in the second kinematic parameter, the external force on the robot is calculated: }, expressed by Formula 9: ,in is the robot joint force Jacobian matrix, is the velocity Jacobian matrix The transposed matrix of the robot is obtained to obtain the robot's basic coordinate system data and the resulting external force in the world coordinate system. , express Matrix inversion.

[0012] Furthermore, the step of converting the external force into the terminal speed command is specifically as follows: converting the external force into the speed , assuming external force The corresponding speed is , which is expressed by formula 10 as follows: .

[0013] Furthermore, the vector is decomposed into spatial coordinate system components as follows: The velocity V obtained according to formula 10 cmd Solve the speed in three directions of the robot's basic coordinate system , the speed The three vectors Vx, Vy and Vz in the X-axis, Y-axis and Z-axis directions in the spatial coordinate system are expressed by Formula 11 as follows: .

[0014] Furthermore, the Jacobian matrix is ​​transformed into the joint motor speed as follows: Solve the robot joint angular velocity , which is expressed by Formula 12 as follows: , in is the Jacobian matrix of robot joint velocity, express Matrix inversion.

[0015] In a second aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the drag control method as described in any one of the first aspects are implemented.

[0016] In a third aspect, the present invention provides a drag control device, comprising: one or more processors; Memory; and One or more computer programs, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, and when the processor executes the computer program, the steps of the drag control method as described in any one of the first aspects are implemented.

[0017] In a fourth aspect, the present invention provides a surgical robot, wherein a dragging control device of the surgical robot adopts the dragging control method described in any one of the first aspects to perform dragging control.

[0018] The dragging control method of the present invention calculates the difference between the joint torque and the collected value of the robot joint torque based on the dynamic model, obtains the robot joint torque change value, and further obtains the robot joint speed with the help of force Jacobian and velocity Jacobian methods to realize the free dragging of the robot. The technical solution of the present invention does not require additional force sensors, but only requires a bus robot controller. The dragging function program can be developed on the upper computer platform, and the free dragging of the robot can also be realized in the position mode and speed mode of the servo driver. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 : Flowchart of the drag control method of the present invention.

[0020] Figure 2 : Schematic diagram of the drag control device of the present invention. DETAILED DESCRIPTION

[0021] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0022] refer to Figure 1 The drag control method of the present invention comprises the following steps: Step 101: Establish the robot dynamics equation, specifically: for an N-degree-of-freedom serial robot, where N is a positive integer, and considering friction, its rigid body dynamics equation is expressed by the following formula 1: ,in is the control torque input vector, is the joint friction torque vector, are the centrifugal and Coriolis force vectors, is the gravity vector, is the mass matrix, is the joint position vector; Step 102: Linearize the kinetic equation, specifically: linearize the kinetic equation of Formula 1 to obtain the following Formula 2: , in is the control torque input vector, is the identification matrix or observation matrix, is the inertia parameter; The inertia parameters and joint friction coefficient of each connecting rod are shown in Formula 3: , in is the term of joint friction; Formula 4 is the modeling equation of friction: ,in is the angular velocity of the joint, and after simplification, we get Formula 5; , The inertia parameter of formula 2 is simplified to the minimum concentrated inertia parameter, and formula 6 is obtained: ,in is the coefficient matrix of the minimum parameters, is the minimum parameter set, To calculate the moment equation; Step 103: collecting first kinematic parameters, specifically: using the optimized excitation trajectory to run the robot and then collecting the first kinematic parameters, the first kinematic parameters including position, velocity, acceleration, torque and other data; Step 104: Apply external force to the robot in real time and drag it freely; Step 105: collecting second kinematic parameters, where the second kinematic parameters include position, velocity, acceleration, torque and other data; Step 106: Obtain the joint position, velocity and acceleration in the second kinematic parameters; Step 107: Obtain joint torque data in the second kinematic parameters; Step 108: Use the least square method to identify the kinetic parameters, specifically: use the least square method to identify the kinetic parameters, and then obtain Formula 7, and calculate the kinetic parameter set : ,in It is a matrix composed of joint position, velocity, and acceleration; To collect joint torque; Step 109: Calculate the joint torque, specifically: calculate the change value of the joint torque , we get formula eight: , in is the motor torque of each joint collected, is the joint torque calculated from dynamics, is the robot joint change value; Step 110: Obtain the change in joint torque and the external force on the robot. Specifically, based on the change in joint torque obtained by formula 8 and the joint torque data in the second kinematic parameter, calculate the external force on the robot. }, expressed by Formula 9: ,in is the robot joint force Jacobian matrix, is the velocity Jacobian matrix The transposed matrix of the robot is obtained to obtain the robot's basic coordinate system data and the resulting external force in the world coordinate system. , express Matrix inversion; Step 111: External force F on the robot w Perform Kalman filtering; Step 112: Convert the external force into a terminal velocity command, specifically: Convert the external force into a velocity , assuming external force The corresponding speed is , which is expressed by formula 10 as follows: ; Step 113: Decompose the vector into components of the spatial coordinate system, specifically: the velocity V obtained according to formula 10 cmdSolve the speed in three directions of the robot's basic coordinate system , the speed The three vectors Vx, Vy and Vz in the X-axis, Y-axis and Z-axis directions in the spatial coordinate system are expressed by Formula 11 as follows: ; Step 114: Use the Jacobian matrix to transform the three direction velocity components of the spatial coordinate system into the velocity of the joint motor, specifically: solve the robot joint angular velocity , which is expressed by Formula 12 as follows: ,in is the Jacobian matrix of robot joint velocity, express The matrix is ​​inverted, and the joint angular velocity conversion instruction is further processed by the PI controller module in step 115. The PI controller module is a proportional integral module, which performs data processing based on error control, and is further converted into a joint drive speed control mode in step 116. Step 117 drives the multi-joint robot actuator, which is further loaded into the robot joint driver in step 106 to achieve free dragging of the robot. At the same time, step 118 continuously collects and filters the joint speed data to make the signal more real, reduce fluctuations, form good negative feedback, and continuously optimize the control accuracy of the robot, thereby better realizing high-precision free dragging control of the robot.

[0023] refer to Figure 2 Schematic diagram of the drag control device of the present invention, schematic diagram of the drag control device of the present invention, the drag control device 10 of the present invention further includes one or more memories 20 and one or more processors 30, wherein the one or more computer programs are stored in the memories 20 and are configured to be executed by the one or more processors 30, and the processor 30 implements the steps of the drag control method when executing the computer program.

[0024] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0025] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A drag control method, characterized in that: The following steps are involved: Step 101: Establish robot dynamics equations; Step 102: Linearize the kinetic equation; Step 103: Collecting first kinematic parameters and joint torques; Step 104: Apply external force to the robot in real time and drag it freely; Step 105: collecting second kinematic parameters and joint torque; Step 106: Obtain the joint position, velocity, and acceleration in the second kinematic parameters; Step 107: Obtain joint torque data in the second kinematic parameters; Step 108: using the least square method to identify kinetic parameters; Step 109: Calculate joint torque; Step 110: Obtain the change of joint torque and the external force applied to the robot; Step 111: Perform Kalman filtering on the external force applied to the robot; Step 112: converting the external force into a terminal velocity command; Step 113: decomposing the vector into components of a spatial coordinate system; Step 114: using the Jacobian matrix to transform the three direction velocity components of the spatial coordinate system into the velocity of the joint motor; Step 115: converting the joint angular velocity into instructions through the PI controller module; Step 116: Switching to joint drive speed control mode; Step 117: driving the multi-joint robot actuator; Step 118: Continuously collect and filter the joint velocity data.

2. The drag control method according to claim 1, characterized in that: The robot dynamics equation is specifically established as follows: for an N-degree-of-freedom serial robot, where N is a positive integer, its rigid body dynamics equation is expressed by the following formula 1 when friction is considered: , in is the control torque input vector, is the joint friction torque vector, are the centrifugal and Coriolis force vectors, is the gravity vector, is the mass matrix, is the joint position vector.

3. The drag control method according to claim 2, characterized in that: The linearization of the kinetic equation is specifically as follows: the kinetic equation of Formula 1 is linearly simplified to obtain the following Formula 2: , in is the control torque input vector, is the identification matrix or observation matrix, is the inertia parameter; The inertia parameters and joint friction coefficient of each connecting rod are shown in Formula 3: , in is the term of joint friction; Formula 4 is the modeling equation of friction, , in is the angular velocity of the joint, and after simplification, we get Formula 5; , The inertia parameter of formula 2 is simplified to the minimum concentrated inertia parameter, and formula 6 is obtained; , in is the coefficient matrix of the minimum parameters, is the minimum parameter set, To calculate the torque equation.

4. The drag control method according to claim 1, characterized in that: The first kinematic parameters include position, velocity, acceleration and torque.

5. The drag control method according to claim 3, characterized in that: The least square method is used to identify the kinetic parameters using formula 7, and the kinetic parameter set is calculated. : , in It is a matrix composed of joint position, velocity, and acceleration; To collect joint torque.

6. The drag control method according to claim 5, characterized in that: The calculation of the joint torque is specifically as follows: Calculating the joint torque change value , we get formula eight: , in is the motor torque of each joint collected, is the joint torque calculated from dynamics, is the robot joint change value.

7. The drag control method according to claim 6, characterized in that: The method of obtaining the change of joint torque and the external force on the robot is specifically as follows: based on the joint torque change value obtained by formula 8 and the joint torque data in the second kinematic parameter, the external force on the robot is calculated. }, expressed by Formula 9: , in is the robot joint force Jacobian matrix, is the velocity Jacobian matrix The transposed matrix of the robot is obtained to obtain the robot's basic coordinate system data and the resulting external force in the world coordinate system. , express Matrix inversion.

8. The drag control method according to claim 7, characterized in that: The method of converting the external force into the terminal speed command is specifically as follows: , assuming external force The corresponding speed is , which is expressed by formula 10 as follows: 。 9. The drag control method according to claim 8, characterized in that: The vector is decomposed into spatial coordinate system components: The velocity V obtained according to formula 10 cmd Solve the speed in three directions of the robot's basic coordinate system , the speed Including three vectors in the X-axis, Y-axis, and Z-axis directions in the spatial coordinate system , which is expressed by Formula 11 as follows: .

10. The drag control method according to claim 9, characterized in that: The Jacobian matrix is ​​transformed into the joint motor speed as follows: Solve the robot joint angular velocity , which is expressed by Formula 12 as follows: , in is the Jacobian matrix of robot joint velocity, express Matrix inversion.

11. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the drag control method according to any one of claims 1 to 10 are implemented.

12. A drag control device, comprising: one or more processors; Memory; as well as One or more computer programs, wherein the one or more computer programs are stored in the memory and are configured to be executed by the one or more processors, wherein the processor implements the steps of the drag control method according to any one of claims 1 to 10 when executing the computer program.

13. A surgical robot, characterized in that: The dragging control device of the surgical robot adopts the dragging control method described in any one of claims 1 to 10 to perform dragging control.