Robot telecentric motion control method, system and storage medium based on force interaction

Through the six-dimensional force sensor and admittance control algorithm combined with the telecentric motion constraint algorithm, the safety risk problem caused by the failure of the existing telecentric motion mechanism is solved, the stable telecentric motion of the endoscopic tool is achieved, and the safety of minimally invasive surgery is improved. sex and efficiency.

CN118303982BActive Publication Date: 2024-08-27BEIJING TINAVI MEDICAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410513747.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-08-27
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

The existing telecentric motion mechanism cannot guarantee the telecentric motion characteristics when there is a malfunction during minimally invasive surgery, resulting in patient safety risks, increased cost and assembly difficulty, and a lack of telecentric motion control methods based on force interaction.

Method used

The external force data is acquired through the six-dimensional force sensor, the coordinate system conversion and the admittance control algorithm are calculated, and the control instructions are generated based on the telecentric motion constraint algorithm to achieve safe telecentric motion control of the endoscopic tool.

Benefits of technology

It achieves stable telecentric movement of endoscopic tools in minimally invasive surgery, reduces the difficulty of doctors' operations and surgical risks, and improves the safety and efficiency of surgery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118303982B
    Figure CN118303982B
Patent Text Reader

Abstract

The present invention discloses a robot telecentric motion control method, system and storage medium based on force interaction. The external force applied to the robot operating end is sensed by a six-dimensional force sensor arranged corresponding to the robot operating end, force data is obtained and coordinate system conversion is performed, so as to realize the conversion of the force data from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operating end. The force data after the coordinate system conversion is used to calculate the first control posture data of the robot operating end through an admittance control algorithm, and the first control posture data is calculated through a telecentric motion constraint algorithm to obtain second control posture data that meets the constraint. Based on the second control posture data, a control instruction is generated to control the robot to perform telecentric motion that meets the external force applied by the doctor, that is, the tool always moves through the center point, so as to realize the doctor's force interaction to drag the tool to complete the predetermined telecentric motion. Robot assistance can make the motion more stable and solve the problems of doctor's hand-held tool fatigue and shaking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of orthopedic surgical robot applications, and in particular to a robot telecentric motion control method, system and storage medium based on force interaction. Background Art

[0002] In minimally invasive surgery, the doctor operates the surgical instruments to enter the cavity through a specific incision on the patient's body surface to complete the surgical operation. Because the position of the incision will not change during the operation, in order to ensure that no secondary injury to the patient occurs during the operation, the doctor can only operate the surgical instruments to rotate or swing around the incision on the body surface to contact the surgical area to complete the surgical operation.

[0003] The concept of Remote Center of Motion (RCM) is introduced in the design of minimally invasive surgical robots. Mechanisms with RCM design features are also called telecentric motion mechanisms. The definition of telecentric motion mechanisms is the same as that of surgical instruments in minimally invasive surgery, which need to pass through a specific fixed point (i.e., surgical incision). Surgical robots also need to enter the human body through a specific fixed point (i.e., surgical incision) to complete surgical operations. Surgical robots can drive surgical instruments through telecentric motion mechanisms to rotate, swing, and advance and retreat around the fixed point to reach the surgical area and complete surgical operations.

[0004] For example, endoscopic spinal surgery is a minimally invasive treatment method that uses endoscopic technology to perform spinal surgery. It is widely used to treat spinal diseases such as lumbar disc herniation, lumbar spinal stenosis, and lumbar spondylolisthesis. By introducing an endoscope and microsurgical tools through a small incision, doctors can diagnose and treat inside the patient's spine, thereby reducing damage to the patient's tissues and recovery time. During the operation, the doctor will make a small incision on the patient's back or side, then introduce the endoscope and surgical instruments into the body, and observe and operate the patient's spinal lesions through the endoscope.

[0005] Compared with traditional open spinal surgery, endoscopic spinal surgery has many advantages, including less trauma, less bleeding, faster recovery, fewer postoperative complications, etc. This allows patients to return to normal life and work faster. However, the magnification effect of endoscopic spinal surgery places higher demands on the doctor's hand-eye coordination and delicate operation ability.

[0006] The existing telecentric motion mechanism mainly realizes the telecentric motion function through multiple serial joints through kinematic control algorithms. Because the multi-joint mechanism itself does not have telecentric motion characteristics, when the control system or any joint fails, the telecentric motion characteristics cannot be guaranteed. Once a failure occurs, it will cause great risks to the patient, pulling the wound and even causing danger; or the motion mechanism is constrained by mechanical design to make the motion characteristics of the motion mechanism itself have telecentric motion characteristics, but the need for special equipment assembly increases the cost and assembly difficulty. There is no control method in the prior art that achieves the purpose of surgery by telecentric motion control based on force interaction.

[0007] A new type of safe control method is proposed, which integrates force sensor signals to achieve the purpose of force interaction and enables endoscopic tools to perform telecentric motion (RCM motion) according to the surgeon's intention. It is hoped that it can be applied to precision control scenarios such as minimally invasive surgery. Summary of the invention

[0008] In view of the shortcomings of the existing technology, a robot telecentric motion control method, system and storage medium based on force interaction are proposed. By fusing force sensor signals to achieve the purpose of force interaction, the endoscopic tool can perform telecentric motion (RCM motion) safely controlled according to the operator's intention.

[0009] A first aspect of the present invention provides a robot telecentric motion control method based on force interaction, comprising:

[0010] The external force applied to the robot operating end is sensed by a six-dimensional force sensor arranged corresponding to the robot operating end, the force data is obtained and the coordinate system conversion is performed, so as to realize the conversion of the force data from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operating end; the first control posture data of the robot operating end is calculated through the admittance control algorithm using the force data after the coordinate system conversion; the first control posture data is calculated through the telecentric motion constraint algorithm to obtain the second control posture data that meets the constraint; and the control command is generated based on the second control posture data to control the robot movement.

[0011] Furthermore, the force data also includes the following before the coordinate system conversion:

[0012] Zero point compensation and load gravity compensation are performed on the original data of the six-dimensional force sensor to obtain the compensated force and torque in the six-dimensional force sensor coordinate system, which are denoted as F compensated , M compensated ;

[0013] The compensated force and torque in the six-dimensional force sensor coordinate system are obtained according to the following formulas, including:

[0014] F compensated =F sensor -F0-F mass

[0015] M compensated =M sensor -M0-M mass

[0016] Among them, F sensor 、M sensor is the original data of the six-dimensional force sensor reading, F0 and M0 are the force and torque at the zero point of the six-dimensional force sensor, F mass 、M mass The force and moment generated by the load gravity after the six-dimensional force sensor is installed.

[0017] Furthermore, the coordinate system transformation of the force data is as follows:

[0018] F compensated , M compensated The coordinate system transformation is performed respectively to obtain the control force and torque in the control coordinate system of the robot operation end, which are denoted as F manip , M manip ;

[0019] The control force and torque in the control coordinate system of the robot operation end are obtained according to the following formulas, including:

[0020] F manip =R s2manip *F compensated

[0021] M manip =P s2manip ×F compensated +R s2manip *M compensated

[0022] Among them, R s2manip is the rotation matrix from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operation end, P s2manip It is the position vector from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operating end.

[0023] Furthermore, the force data after the coordinate system conversion is calculated by the admittance control algorithm to obtain the first control posture data of the robot operating end:

[0024] The first control posture data is calculated from the current control posture and the control force and torque according to the following formula, including:

[0025]

[0026] Among them, M, B, K are the inertia coefficient, damping coefficient, and stiffness coefficient matrices of admittance control, respectively, and F ext,t is the control force and torque at the current moment, expressed as Xe,t , is the position deviation and velocity deviation of the current posture, is the acceleration deviation of the first control posture calculated by the admittance control formula;

[0027] According to the following formula Perform two integrations to obtain the first control posture data, including:

[0028]

[0029]

[0030] X control,t+1 =X control,t +X e,t+1

[0031] Among them, X e,t+1 , are the position error and velocity error calculated at the next moment, dt is the time interval of the control cycle, X control,t is the control posture data at the current moment, X control,t+1 is the first control pose data.

[0032] Furthermore, the method of calculating the first control posture data through a telecentric motion constraint algorithm to obtain the second control posture data that meets the constraint includes:

[0033] The following formula is used to realize that the line connecting the end point of the robot operation end and the control point of the robot operation end always passes through the center point of the telecentric motion:

[0034] p Center -p Manip =α(p Tool -p Manip )

[0035] Among them, p Center , p Tool , p Manip are the positions of the telecentric motion center point, the robot operation end endpoint, and the control point of the robot operation end, respectively, and α is a coefficient between 0 and 1;

[0036] The direction vector V of the robot's operating end Tool The Z axis of the robot operation end coordinate system and the robot operation end coordinate system coincide with each other, and the direction vector V of the robot operation end Tool According to the following formula:

[0037]

[0038] According to the first control posture coordinate system R1 and the second control posture coordinate system R2 that meets the telecentric motion constraint, the rotation axis K and the rotation angle θ of the first control posture converted to the second control posture that meets the telecentric motion constraint are obtained, including:

[0039] The rotation axis K and the rotation angle θ are obtained according to the coordinate axis Z1 and the coordinate axis Z2, including:

[0040]

[0041]

[0042] Where Z2 is the coordinate axis parameter in the second control pose coordinate system R2 (X2, Y2, Z2) that is known to meet the telecentric motion constraint. Z2 is calculated by V Tool Transformed, Z1 is the parameter of the first control pose coordinate system R1 (X1, Y1, Z1), the first control pose coordinate system R1 is obtained by X control,t+1 Transformed to obtain;

[0043] The first control posture coordinate system R1 (X1, Y1, Z1) rotates around the rotation axis K by an angle θ to become the second control posture coordinate system R2 (X2, Y2, Z2) that meets the telecentric motion constraint. The rotation angle θ is the minimum rotation angle between the R1 coordinate system and the R2 coordinate system that meets the Z-axis requirement.

[0044] The X-axis and Y-axis directions of the second control posture coordinate system R2 that meets the telecentric motion constraint are obtained according to the following formulas, including:

[0045] v rot =cos(θ)*v+(1-cos(θ))*(K T ·v)·K+sin(θ)*K×v

[0046] Among them, v rot is the coordinate axis after rotation, corresponding to the X-axis and Y-axis directions in the R2 coordinate system, and v is the coordinate axis before rotation, corresponding to the X-axis and Y-axis directions in the R1 coordinate system.

[0047] Furthermore, after the second control posture data is calculated, it is determined whether the robot can execute the task in place based on the inverse solution and singular position of the robot. When it is determined that the robot can actually execute the task in place, a control instruction is generated based on the second control posture data.

[0048] Furthermore, before obtaining the force data, the six-dimensional force sensor is calibrated, specifically: the telecentric motion center of the robot is calibrated to determine the position of the telecentric motion center in the robot base coordinate system, and then the six-dimensional force sensor is calibrated according to the following formula, including:

[0049] F0=F sensor -F mass

[0050] M0=M sensor -M mass

[0051] Among them, F0, M0 are the zero-point force and torque of the six-dimensional force sensor, F sensor , M sensor is the reading of the six-dimensional force sensor, F mass , M mass The force and moment generated by the load gravity after the tool is installed on the six-dimensional force sensor.

[0052] Furthermore, the force F generated by the load gravity after the tool is installed on the six-dimensional force sensor is obtained according to the following formula: mass With torque M mass ,include:

[0053] F mass =R base2s *G mass

[0054] M mass =P mass ×F mass

[0055]

[0056]

[0057] Among them, R base2s is the rotation matrix from the robot base coordinate system Base to the six-dimensional force sensor coordinate system Sensor, P mass G is the position of the load center of mass in the six-dimensional force sensor coordinate system. mass It is the representation of load gravity.

[0058] The second aspect of the present invention provides a robot telecentric motion control system based on force interaction, which is suitable for the above-mentioned robot telecentric motion control method based on force interaction, including a robot and a six-dimensional force sensor. The robot can perform six-degree-of-freedom motion, and the six-dimensional force sensor is fixedly connected to the end of the robot. The robot operating end is connected to the robot through the six-dimensional force sensor.

[0059] A third aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed, implement the various steps of the above-mentioned robot telecentric motion control method based on force interaction.

[0060] Compared with the prior art, the comprehensive effects brought by the present invention include: this patent proposes a telecentric motion control method that is independent of the robot carrier configuration, which can control the robot and the tools connected to the robot to achieve telecentric motion with force interaction, assist doctors in performing spinal endoscopic surgery, and enable doctors to drag the robot to manipulate the tool to perform telecentric motion through the incision and achieve the purpose of using the tool. Robot assistance can make the movement more stable and solve problems such as fatigue and shaking of doctors holding tools. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A schematic diagram of the robot system structure and coordinate system according to an embodiment of the present invention;

[0062] Figure 2 It is a schematic diagram of the overall process of a robot telecentric motion control method based on force interaction in orthopedic surgery according to an embodiment of the present invention;

[0063] Figure 3 It is a schematic diagram of the flow chart of the force interaction telecentric motion control method according to an embodiment of the present invention;

[0064] Figure 4 A schematic diagram of constraint conversion of target control posture according to an embodiment of the present invention;

[0065] Figure 5 Schematic diagram of a posture transformation method for minimizing a rotation angle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0066] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the protection scope of the present invention.

[0067] In this document, terms such as "upper", "lower", "left", "right", "top", etc. that indicate orientations or positional relationships are based on the orientations or positional relationships shown in the drawings and are only for the convenience of describing the present invention and simplifying the description. They do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0068] Controlling the robot to perform telecentric motion is the core technology of robot-assisted endoscopic surgery. This application proposes a telecentric motion control method that is independent of the robot carrier configuration. At the same time, in order to facilitate the doctor's operation, a robot telecentric motion control method, system and storage medium based on force interaction are proposed.

[0069] like Figure 1As shown, the coordinate systems corresponding to the various structures of the robot telecentric motion control method based on force interaction applicable to the present application are: Base represents the robot base coordinate system, Tcp represents the robot end point coordinate system, Sensor represents the six-dimensional force sensor coordinate system, Manip represents the control coordinate system, which is the position of the doctor's operating tool, Tool represents the robot operating end coordinate system, which is specifically the tool end coordinate system in this application, Target represents the target coordinate system; Center represents the center point of telecentric motion.

[0070] like Figure 2 As shown, the overall process of using a robot for force interaction telecentric motion control in this application includes the following steps:

[0071] Step S1, calibrating the telecentric motion center point;

[0072] Step S2, calibrating the six-dimensional force sensor;

[0073] Step S3: performing telecentric motion control based on force interaction.

[0074] Among them, step S3 is a cyclic execution control based on force interaction, which is executed periodically. In each cycle, it is necessary to complete the corresponding calculation and output the control instruction, and the robot performs the corresponding action according to the control instruction.

[0075] Specifically, the purpose of calibrating the telecentric motion center point in step S1 is to determine the position of the telecentric motion center point Center in the robot base coordinate system Base. Generally, the telecentric motion center point Center is located near the incision of the endoscope to establish the channel.

[0076] The relative position relationship between the telecentric motion center point Center and the target coordinate system Target is generally determined by the image and the channel planned by the doctor: when there is a navigation and tracking system in robot-assisted surgery, the relative position relationship between the target coordinate system Target and the robot base coordinate system Base can be determined by an optical camera; when there is no navigation and tracking system in robot-assisted surgery, manual measurement and calibration are required. The relative position relationship between the telecentric motion center point Center and the tool coordinate system Tool installed on the robot operating end can be simplified by first determining the relative position relationship between the telecentric motion center point Center and the tool coordinate system Tool installed on the robot operating end, and then determining the position of the telecentric motion center point Center in the robot base coordinate system Base by the tool installation calibration posture and the robot motion posture.

[0077] The purpose of calibrating the six-dimensional force sensor in step S2 is to eliminate the influence of the zero drift of the six-dimensional force sensor and the gravity of the tool at the robot operating end, so that the six-dimensional force sensor can accurately identify the external force applied by force interaction.

[0078] Specifically, the calibration principle of the six-dimensional force sensor is to calculate the zero point of the six-dimensional force sensor in the absence of external force, and perform zero point compensation of the six-dimensional force and tool gravity compensation during actual use.

[0079] The six-axis force sensor is calibrated according to the following formula, including:

[0080] F0=F sensor -F mass

[0081] M0=M sensor -M mass

[0082] Among them, F0, M0 are the zero points of the six-dimensional force sensor, F sensor , M sensor is the reading of the six-dimensional force sensor, F mass , M mass The force and moment generated by the load gravity after the tool is installed on the six-dimensional force sensor.

[0083] Specifically, the force F generated by the load gravity after the tool is installed on the six-dimensional force sensor is obtained according to the following formula: mass With torque M mass ,include:

[0084] F mass =R base2s *G mass

[0085] M mass =P mass ×F mass

[0086]

[0087]

[0088] Among them, R base2s is the rotation matrix from the robot base coordinate system Base to the six-dimensional force sensor coordinate system Sensor, P mass G is the position of the load center of mass in the six-dimensional force sensor coordinate system. mass It is the representation of load gravity.

[0089] According to the above calculation, the zero points F0 and M0 of the six-dimensional force sensor are obtained. At this time, the zero points of the six-dimensional force sensor calibrated can be regarded as fixed values, which are convenient for use in subsequent force interaction control calculations.

[0090] like Figure 3 As shown, in step S3, the force interaction telecentric motion control is periodically cycled while the device is running, specifically including the following steps:

[0091] Step S31, obtaining the control six-dimensional force in the control coordinate system; sensing the external force applied to the robot operating end through the six-dimensional force sensor corresponding to the robot operating end, obtaining the force data and performing the coordinate system conversion, so as to realize the conversion of the force data from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operating end, that is, converting it into the control six-dimensional force in the control coordinate system;

[0092] Step S32, calculate the target control posture by admittance control; calculate the first control posture data of the robot operating end by the admittance control algorithm using the force data after the coordinate system conversion, that is, the control six-dimensional force, wherein the first control posture data is specifically the target control posture;

[0093] Step S33, solving the control posture that meets the telecentric motion constraint; calculating the first control posture data through the telecentric motion constraint algorithm to obtain the second control posture data that meets the constraint, wherein the second control posture data is specifically the control posture that meets the telecentric motion constraint;

[0094] Step S34, determine whether the robot can execute in place and send a control instruction; generate a control instruction based on the second control posture data to control the movement of the robot.

[0095] During the actual force interaction telecentric control process, the doctor applies external force to the manip end of the tool, and the controller in the robot converts the data obtained by the six-dimensional force sensor into the control six-dimensional force in the control coordinate system through zero point compensation, gravity compensation and other steps; the control six-dimensional force is converted into the target control posture through the admittance control algorithm; in order to ensure that the tool meets the constraints of telecentric motion, that is, the tool always passes through the Center point, the target control posture is calculated by the telecentric motion constraint algorithm to obtain the control posture under the constraint; finally, the control posture under the constraint needs to be judged by inverse solution whether it can actually be executed, and sent to the robot as a control instruction for motion control, and finally the robot movement is controlled to drive the tool installed on the robot operating end to perform telecentric motion around the point Center in accordance with the external force applied by the doctor, that is, the tool always passes through the Center point.

[0096] Specifically, the method of obtaining the six-dimensional control force in the control coordinate system in step S31 is as follows:

[0097] The control six-dimensional force in the control coordinate system is obtained by performing zero point compensation and load gravity compensation on the original data of the six-dimensional force sensor and then performing coordinate system conversion.

[0098] First, the original data F of the six-dimensional force sensor is sensor 、M sensor Perform zero point compensation and load gravity compensation to obtain the compensated force and torque in the six-dimensional force sensor coordinate system, which are denoted as F compensated , M compensated.

[0099] The compensated force and torque in the six-dimensional force sensor coordinate system are obtained according to the following formulas, including:

[0100] F compensated =F sensor -F0-F mass

[0101] M compensated =M sensor -M0-M mass

[0102] Among them, F0 and M0 are the zero points of the six-dimensional force sensor obtained in step S2, and F mass 、M mass The force and moment generated by the load gravity after the six-dimensional force sensor is installed.

[0103] In actual use, the zero point F0 and M0 of the six-dimensional force sensor will not change in a short time after a calibration, but the force and torque F generated by the load gravity will mass , M mass It is related to the robot end position and posture, and will change at any time as the robot moves. Therefore, each cycle needs to be recalculated according to the calculation method in step S2.

[0104] Then for F compensated , M compensated Perform coordinate system transformation respectively to obtain the control force and torque under the control coordinate system Manip, which are denoted as F manip , M manip , the control force and torque under the control coordinate system Manip are obtained according to the following formulas, including:

[0105] F manip =R s2manip *F compensated

[0106] M manip =P s2manip ×F compensated +R s2manip *M compensated

[0107] Among them, R s2manip is the rotation matrix from the six-dimensional force sensor coordinate system Sensor to the control coordinate system Manip, P s2manip It is the position vector from the six-dimensional force sensor coordinate system Sensor to the control coordinate system Manip.

[0108] In step S32, the admittance control calculates the target control posture to convert the six-dimensional force in the control coordinate system into the target control posture at the next moment, and the method includes:

[0109] The target control posture is calculated from the current control posture and control force and torque according to the following formula, including:

[0110]

[0111] Among them, M, B, K are the inertia coefficient, damping coefficient, and stiffness coefficient matrices of admittance control, respectively, and F ext,t is the control force and torque at the current moment, expressed as X e,t , is the position deviation and velocity deviation of the current posture, It is the acceleration deviation at the next moment calculated by the admittance control formula;

[0112] According to the following formula Perform two integrations to obtain the target control posture at the next moment, including:

[0113]

[0114]

[0115] X control,t+1 =X control,t +X e,t+1

[0116] Among them, X e,t+1 , are the position error and velocity error calculated at the next moment, dt is the time interval of the control cycle, X control,t is the control posture data at the current moment, X control,t+1 Control the pose for the next target moment.

[0117] In step S33, Figure 4 and Figure 5 As shown in the figure, the target control posture at the next moment calculated by the admittance control is known, and the target control posture at the next moment is converted into the control posture that meets the telecentric motion constraint. The position of the manip end remains unchanged, and the posture changes so that the tool passes through the Center point. In the figure, the Admittance Position is represented by the target control posture at the next moment calculated by the admittance control, and the RCM Position is represented by the control posture that meets the telecentric motion constraint after adjustment. The specific method includes:

[0118] In telecentric motion, the line connecting the tool end point Tool and the tool control point Manip always passes through the telecentric motion center point Center. The above constraint is expressed by the formula:

[0119] p Center -p Manip =α(pTool -p Manip )

[0120] Among them, p Center , p Tool , p Manip They are respectively the telecentric motion center point Center, the robot operation end point Tool, and the robot operation end control point Manip, and α is a coefficient between 0 and 1;

[0121] The direction vector V of the tool Tool According to the following formula:

[0122]

[0123] The above posture constraint only constrains 2 of the 3 rotational degrees of freedom. The rotation of the tool around the connecting rod from the manip end to the tool end cannot be determined. In order to obtain the last rotational degree of freedom instruction for control, this application proposes a posture transformation method that minimizes the rotation angle, such as Figure 5 As shown, the angle change from the admittance control position Admittance Position to the control position RCM Position that meets the constraints is minimized.

[0124] In this application, the default tool is the direction vector V of the robot operating end. Tool The Z axis of the doctor's control coordinate system, i.e., the robot's operating end control coordinate system Manip, and the robot's end tool coordinate system, i.e., the robot's operating end coordinate system Tool, coincides. At this time, the X-axis and Y-axis directions of the Manip coordinate system and the Tool coordinate system still need to be determined. It can be understood that the control posture RCM Position that meets the constraints in this application is obtained by rotating the target control posture AdmittancePosition at the next moment calculated by the admittance control around the rotation axis by a certain angle, such as Figure 5 As shown, the coordinate axis Z2 parameters in the control pose coordinate system R2 (X2, Y2, Z2) that meets the constraints and the parameters of the target control pose coordinate system R1 (X1, Y1, Z1) calculated by admittance control are known, and it is necessary to obtain the other coordinate axis parameters X2, Y2 of the control pose coordinate system R2 that meets the constraints.

[0125] The rotation axis K and rotation angle θ of the target control posture converted to the control posture that meets the telecentric motion constraint are obtained according to the following formulas, including:

[0126]

[0127]

[0128] Wherein, Z1 is the coordinate axis parameter in the target control posture coordinate system R1 (X1, Y1, Z1), and the target control posture coordinate system R1 is the target control posture X at the next moment obtained in S32. control,t+1 Transformed, Z2 is the coordinate axis parameter in the control pose coordinate system R2 (X2, Y2, Z2) that meets the telecentric motion constraint. Z2 is V Tool Converted.

[0129] When only the Z2 coordinate axis is determined in the R2 coordinate system, the coordinate system R1 (X1, Y1, Z1) rotates around the rotation axis K by an angle θ to become the target coordinate system R2 (X2, Y2, Z2). The rotation angle θ is the minimum rotation angle between the R1 coordinate system and R2 that meets the Z-axis requirement.

[0130] According to the Rodriguez formula, X1 and Y1 are rotated around the rotation axis K by an angle θ to obtain X2 and Y2, which are the X-axis and Y-axis directions of the control pose coordinate system that meets the telecentric motion constraint, including:

[0131] v rot =cos(θ)*v+(1-cos(θ))*(K T ·v)·K+sin(θ)*K×v

[0132] Among them, v rot is the coordinate axis after rotation, corresponding to X2 and Y2 in the R2 coordinate system, and v is the coordinate axis before rotation, corresponding to X1 and Y1 in the R1 coordinate system.

[0133] In step S34, after obtaining the control posture that meets the telecentric motion constraint, it is necessary to judge whether the robot can execute in place based on the robot's inverse solution and singular position. When it is judged that the robot can actually execute in place, the control posture instruction that meets the telecentric motion constraint is sent to the robot. When it is judged that the robot cannot actually execute in place, it is not sent.

[0134] Specifically, the inverse solution and singular position judgment of the robot are closely related to the robot configuration, which will not be described in detail in this application.

[0135] The present application also proposes a robot telecentric motion system based on force interaction, which is suitable for the above-mentioned robot telecentric motion control method based on force interaction, including a robot and a six-dimensional force sensor. The robot can perform six-degree-of-freedom motion, the six-dimensional force sensor is fixedly connected to the end of the robot, and the robot operating end is connected to the robot through the six-dimensional force sensor.

[0136] Specifically, the robot operating end is various tools that a doctor may use during surgery, and the tools are fixedly connected to the six-dimensional force sensor by a tool connector.

[0137] The robots used are not limited to serial robot arm configurations, and any robot whose control points can perform 6-degree-of-freedom motion meets the requirements.

[0138] The present invention also provides a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the various steps of the robot telecentric motion control method based on force interaction as described above are implemented.

[0139] Specifically, the computer-readable storage medium may be a non-volatile computer-readable storage medium, or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of a robot telecentric motion control method based on force interaction.

[0140] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0141] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0142] In the present invention, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "rotation" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.

[0143] Although the embodiments of the present invention have been shown and described in detail, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. Robot telecentric motion control method based on force interaction, It is characterized in that include: The six-dimensional force sensor corresponding to the robot operation end senses the external force applied to the robot operation end, obtains the force data and performs coordinate system conversion, so as to realize the conversion of the force data from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operation end; Calculate the first control posture data of the robot operating end through the admittance control algorithm using the force data after the coordinate system conversion is completed; The first control posture data is calculated by a telecentric motion constraint algorithm to obtain second control posture data that meets the constraint; Generate a control instruction based on the second control posture data to control the movement of the robot; The force data after the coordinate system conversion is calculated by the admittance control algorithm to obtain the first control posture data of the robot operation end: The first control posture data is calculated from the current control posture and the control force and torque according to the following formula, including: Among them, M, B, K are the inertia coefficient, damping coefficient, and stiffness coefficient matrices of admittance control, respectively, and F ext,t is the control force and torque at the current moment, expressed as X e,t , is the position deviation and velocity deviation of the current posture, is the acceleration deviation of the first control posture calculated by the admittance control formula; According to the following formula Perform two integrations to obtain the first control posture data, including: X control,t+1 =X comtrol,t +X e,t+1 Among them, X e,t+1 , are the position error and velocity error calculated at the next moment, dt is the time interval of the control cycle, X control,t is the control posture data at the current moment, X control,t+1 is the first control pose data.

2. The robot telecentric motion control method based on force interaction according to claim 1, It is characterized in that The force data before coordinate system conversion also includes: Zero point compensation and load gravity compensation are performed on the original data of the six-dimensional force sensor to obtain the compensated force and torque in the six-dimensional force sensor coordinate system, which are denoted as F compensated , M compensated ; The compensated force and torque in the six-dimensional force sensor coordinate system are obtained according to the following formulas, including: F compensated =F sensor -F 0 -F mass M compensated =M sensor -M 0 -M mass Among them, F sensor 、M sensor is the raw data of the six-dimensional force sensor reading, F 0 、M 0 is the force and torque at the zero point of the six-dimensional force sensor, F mass 、M mass The force and moment generated by the load gravity after the six-dimensional force sensor is installed.

3. The robot telecentric motion control method based on force interaction according to claim 2, It is characterized in that The specific coordinate system transformation of force data is as follows: F compensated , M compensated The coordinate system transformation is performed respectively to obtain the control force and torque in the control coordinate system of the robot operation end, which are denoted as F manip , M manip ; The control force and torque in the control coordinate system of the robot operation end are obtained according to the following formula: include: F manip =R s2manip *F compensated M manip =P s2manip ×F compensated +R s2manip *M compensated Among them, R s2manip is the rotation matrix from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operation end, P s2manip It is the position vector from the six-dimensional force sensor coordinate system to the control coordinate system of the robot operating end.

4. The robot telecentric motion control method based on force interaction according to claim 1, It is characterized in that The method of calculating the first control posture data by a telecentric motion constraint algorithm to obtain the second control posture data that meets the constraint includes: The following formula is used to realize that the line connecting the end point of the robot operation end and the control point of the robot operation end always passes through the center point of the telecentric motion: p Center -p Manip =α(p Tool -p Manip ) Among them, p Center , p Tool , p Manip are the positions of the telecentric motion center point, the robot operation end endpoint, and the control point of the robot operation end, respectively, and α is a coefficient between 0 and 1; The direction vector V of the robot's operating end Tool The Z axis of the robot operation end coordinate system and the robot operation end coordinate system coincide with each other, and the direction vector V of the robot operation end Tool According to the following formula: According to the first control posture coordinate system R1 and the second control posture coordinate system R2 that meets the telecentric motion constraint, the rotation axis K and the rotation angle θ of the first control posture converted to the second control posture that meets the telecentric motion constraint are obtained, including: The rotation axis K and the rotation angle θ are obtained according to the coordinate axis Z1 and the coordinate axis Z2, including: Where Z2 is the coordinate axis parameter in the second control pose coordinate system R2 (X2, Y2, Z2) that is known to meet the telecentric motion constraint. Z2 is calculated by V Tool Transformed, Z1 is the parameter of the first control pose coordinate system R1 (X1, Y1, Z1), the first control pose coordinate system R1 is obtained by X control,t+1 Transformed to obtain; The first control posture coordinate system R1 (X1, Y1, Z1) rotates around the rotation axis K by an angle θ to become the second control posture coordinate system R2 (X2, Y2, Z2) that meets the telecentric motion constraint. The rotation angle θ is the minimum rotation angle between the R1 coordinate system and the R2 coordinate system that meets the Z-axis requirement. The X-axis and Y-axis directions of the second control posture coordinate system R2 that meets the telecentric motion constraint are obtained according to the following formulas, including: v rot =cos(θ)*v+(1-cos(θ))*(K T ·v)·K+sin(θ)*K×v Among them, v rot is the coordinate axis after rotation, corresponding to the X-axis and Y-axis directions in the R2 coordinate system, and v is the coordinate axis before rotation, corresponding to the X-axis and Y-axis directions in the R1 coordinate system.

5. The robot telecentric motion control method based on force interaction according to claim 1 or 4, It is characterized in that After the second control posture data is calculated, the second control posture data is used to determine whether the robot can execute in place according to the inverse solution and singular position of the robot. When it is determined that the robot can actually execute in place, a control instruction is generated based on the second control posture data.

6. The robot telecentric motion control method based on force interaction according to claim 1, It is characterized in that Before obtaining the force data, the six-dimensional force sensor is also calibrated, specifically: the telecentric motion center of the robot is calibrated to determine the position of the telecentric motion center in the robot base coordinate system, and then the six-dimensional force sensor is calibrated according to the following formula, including: F 0 =F sensor -F mass M 0 =M sensor -M mass Among them, F 0 , M 0 is the zero-point force and torque of the six-dimensional force sensor, F sensor , M sensor is the reading of the six-dimensional force sensor, F mass , M mass The force and moment generated by the load gravity after the tool is installed on the six-dimensional force sensor.

7. The robot telecentric motion control method based on force interaction according to claim 6, It is characterized in that The force F generated by the load gravity after the tool is installed on the six-dimensional force sensor is calculated according to the following formula mass With torque M mass ,include: F mass =R base2s *G mass M mass =P mass ×F mass Among them, R base2s is the rotation matrix from the robot base coordinate system Base to the six-dimensional force sensor coordinate system Sensor, P mass G is the position of the load center of mass in the six-dimensional force sensor coordinate system. mass It is the representation of load gravity.

8. A robot telecentric motion control system based on force interaction, applicable to the robot telecentric motion control method based on force interaction according to any one of claims 1 to 7, It is characterized in that The invention comprises a robot and a six-dimensional force sensor. The robot can move with six degrees of freedom. The six-dimensional force sensor is fixedly connected to the end of the robot. The operating end of the robot is connected to the robot through the six-dimensional force sensor.

9. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed, the various steps of the robot telecentric motion control method based on force interaction as described in any one of claims 1 to 7 are implemented.