Master-slave ophthalmic surgical robot and its RCM mechanism motion control method
By adopting the passive RCM mechanism motion control method in the master-slave ophthalmic surgical robot and decomposing and filtering planning using nonlinear trajectory planning algorithm, the problem of mismatch in the movement speed and acceleration of the RCM mechanism is solved, and the operation efficiency and stability are improved, so as to avoid Motor failure.
Patent Information
- Application Number
- CN202411146665.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The existing master-slave ophthalmic surgical robots have problems with motor overload and low efficiency in high-precision RCM movements, mainly because the speed and acceleration of the man-hand posture angle exceed the bearing capacity of the high-precision RCM mechanism, resulting in failure and cumbersome operation.
The passive RCM mechanism motion control method is adopted, and the initial and target posture of the instrument end under the RCM point coordinate system is obtained by setting the trajectory segment as the control unit. The nonlinear trajectory planning algorithm is used to make the acceleration and velocity of the instrument end follow the target within the set range. Position, decompose the posture to move to the RCM point coordinate system and perform nonlinear filtering planning.
It significantly improves the operating efficiency and alignment operation efficiency, avoids motor overload failure, realizes automatic follow-up of artificially set maximum speed and acceleration, and enhances the stability of the surgical robot.
Smart Images

Figure CN118662244B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical devices, and in particular to a master-slave ophthalmic surgical robot and a RCM mechanism motion control method thereof. Background Art
[0002] During fundus surgery, surgical instruments need to be inserted into the eye through the scleral cannula. This operation mode requires the end of the ophthalmic surgical robot to perform RCM motion (RCM is the abbreviation of Remote Motion Center). RCM motion has four degrees of freedom, namely yaw, pitch, rotation, and feed. Figure 1 Most of the existing master-slave ophthalmic surgical robots use passive RCM mechanisms, that is, each motor controls one RCM degree of freedom.
[0003] Existing master-slave ophthalmic surgical robots usually use absolute mapping for posture mapping. This mapping method decomposes the rotation matrix of the master hand into the rotation angles R around the three axes x, y, and z. x , R y , R z Indicates that the hand end is then set to follow the position. However, this method has the following problems when applied to high-precision RCM motion: Since a large mapping ratio is usually used in high-precision RCM mechanisms, its maximum speed and acceleration are limited, while the speed and acceleration of the hand posture angle are much greater than the maximum speed and acceleration that the high-precision RCM mechanism can achieve. When the absolute mapping follow-up is set directly, when the hand movement speed and acceleration exceed the tolerance of the high-precision RCM mechanism, the motor will be overloaded and an error will be reported.
[0004] When using the above-mentioned master-slave ophthalmic surgical robot for surgery, after aligning the RCM point with the scleral cannula, the instrument axis needs to be aligned with the cannula axis as much as possible to facilitate needle insertion. Since the high-precision passive RCM mechanism has a high reduction ratio, direct use of absolute mapping may cause the motor speed and acceleration to fail to keep up with the master hand trajectory, resulting in malfunctions. The operation of single-axis alignment is more cumbersome and has the problem of low efficiency.
[0005] To solve the above problems, it is necessary to design a suitable planning algorithm to limit the maximum speed and acceleration of the RCM mechanism to follow the trajectory. The existing planning algorithms cannot completely solve this problem. For example, the planning position is the position between the current position and the target position. This method only alleviates this problem. When the input speed and acceleration are too fast, errors may still be reported; and when the input speed and acceleration are slow, the full performance of the high-precision RCM mechanism cannot be brought into play. Summary of the invention
[0006] In view of the above analysis, an embodiment of the present invention aims to provide a master-slave ophthalmic surgical robot and a passive RCM mechanism motion control method thereof, so as to solve the problem of mismatch between the motion speed and acceleration of human hands and the RCM mechanism in the prior art.
[0007] On the one hand, an embodiment of the present invention provides a passive RCM mechanism motion control method of a master-slave ophthalmic surgical robot, comprising the following steps:
[0008] S1. Set the instrument end trajectory division rules of the RCM mechanism, and treat each divided trajectory segment as a separate control unit;
[0009] S2. After the instrument end trajectory of the RCM mechanism begins, at the start time of each control unit, the posture of the instrument end is obtained to obtain the initial posture of the instrument end in the RCM point coordinate system;
[0010] S3. Obtain the posture of the follow-up target in the RCM point coordinate system;
[0011] S4. According to the set following control rule, the posture of the following target in the RCM point coordinate system is decomposed into the target posture of the end of the instrument in the RCM point coordinate system;
[0012] S5. Perform nonlinear trajectory planning on the posture of the end device, so that the end device in the control unit moves from the initial posture to the target posture, and during the movement, the acceleration of the end device is always less than or equal to the set maximum acceleration, and the speed of the end device is always less than or equal to the set maximum speed.
[0013] The beneficial effects of the above technical solution are as follows: a following control method for the end of an instrument to follow a manual trajectory based on a nonlinear following algorithm of a dynamically programmed axis is disclosed. Compared with the absolute mapping of the prior art, it has better intuitive operation and can significantly improve the efficiency of the alignment operation. The posture motion is decomposed into the posture in the RCM point coordinate system and then planned using a nonlinear filtering planning method. This method can set an artificially prescribed maximum speed and maximum acceleration. When the trajectory segment starts, the instrument axis of the RCM mechanism can automatically follow the current position of the main hand axis at the set maximum speed and maximum acceleration.
[0014] Based on the further improvement of the above method, obtaining the posture of the end of the instrument in step S2 and obtaining the initial posture of the end of the instrument in the RCM point coordinate system includes the following sub-steps:
[0015] S21. Obtain the deflection angle of the end of the instrument in the RCM point coordinate system , Pitch angle , rotation angle ;
[0016] S22. According to the above deflection angle , Pitch angle , rotation angle , combined with the structural characteristics of the passive RCM mechanism, the rotation matrix of the instrument end in the RCM point coordinate system is established , as the initial posture of the end of the instrument in the RCM point coordinate system,
[0017] .
[0018] Further, step S3 includes the following sub-steps:
[0019] S31. Establish the coordinate system of the target to be followed, denoted as ;
[0020] S32. Use the following formula to establish the rotation matrix of the follow-up target in the RCM point coordinate system. , as the posture of the following target in the RCM point coordinate system,
[0021]
[0022] In the formula, is the rotation matrix that transforms the RCM point coordinate system to the master hand base coordinate system; is the posture of the end of the master hand expressed in the master hand base coordinate system; is the rotation matrix from the end of the main hand to the following target.
[0023] Further, in step S31, the coordinate system of the target being followed is defined as the coordinate system formed by rotating the main hand coordinate system H around its x-axis direction by 180°; and in step S32, the It is obtained by the following formula:
[0024]
[0025] In the formula, The transformation matrix of the master hand coordinate system rotating 180° counterclockwise around its x-axis.
[0026] Further, step 4 includes the following sub-steps:
[0027] S41. According to the set following control rules, the posture of the following target in the RCM point coordinate system is decomposed into the posture of the end of the instrument in the RCM point coordinate system;
[0028] S42. Obtain the yaw angle of the target by the following formula , Pitch angle ,
[0029]
[0030] S43. The above deflection angle , Pitch angle As the target posture of the end of the instrument in the RCM point coordinate system.
[0031] Further, step S5 includes the following sub-steps:
[0032] S51. The deflection angle of the instrument end is adjusted by nonlinear trajectory planning algorithm , Pitch angle Performing nonlinear trajectory planning respectively so that the end of the instrument moves from the initial posture to the target posture within a set time period;
[0033] S52. Verify whether the control unit corresponding to the above trajectory planning satisfies the conditions that the acceleration of the end of the instrument is less than or equal to the set maximum acceleration and the speed of the end of the instrument is less than or equal to the set maximum speed at each moment. If so, execute the next step. Otherwise, return to step S51 and re-perform nonlinear trajectory planning.
[0034] S53. Control the RCM mechanism to execute the trajectory planning.
[0035] Further, step S53 further includes:
[0036] S531. Get the control signal of the last moment , according to the control signal at the previous moment Get the planned position of the end of the instrument at the current moment and planning speed ,
[0037]
[0038] In the formula, is the planned acceleration of the end of the instrument at the last moment, is the sampling time interval, is the planned position of the end of the instrument at the last moment, is the planned speed of the end of the instrument at the last moment;
[0039] S532. According to the above planning location and planning speed , the normalized position error of the end of the instrument at the current moment is obtained by the following formula: , speed normalization error ,
[0040]
[0041]
[0042] In the formula, is the target position of the end of the instrument at the current moment, is the target speed of the end of the device at the current moment, is the normalization coefficient, is the maximum acceleration set;
[0043] S533. Normalize the error according to the above position , speed normalization error , the control signal at the next moment is obtained by the following formula ,
[0044]
[0045] In the formula, , , , is the intermediate variable, is the maximum speed set, is the rounding function, is the symbolic function, is a saturation function;
[0046] S534. Repeat the above steps S531 to S533 until the control signal at each moment in the control unit is obtained;
[0047] S535. Control the passive RCM mechanism to execute the control signal in the above control unit at each moment.
[0048] Further, the trajectory planning includes a target position of the slave hand as a position where the instrument axis and the master hand axis are aligned in space.
[0049] Furthermore, the instrument end trajectory division rule includes at least one of an equal time division rule, an equal distance division rule, and an equal amplitude division rule.
[0050] On the other hand, an embodiment of the present invention provides a master-slave ophthalmic surgical robot, comprising a 6-axis robotic arm and a passive RCM mechanism attached to the end of the 6-axis robotic arm; and,
[0051] The master-slave ophthalmic surgical robot executes the above-mentioned passive RCM mechanism motion control method.
[0052] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the invention, nor is it intended to limit the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0054] Figure 1 A schematic diagram of RCM movement in the background art is shown;
[0055] Figure 2 A schematic diagram showing the steps of the passive RCM mechanism motion control method of Example 1 is shown;
[0056] Figure 3 A schematic diagram of a master-slave ophthalmic surgical robot in Example 1 is shown;
[0057] Figure 4 A schematic diagram of the posture of the end device of Example 1 is shown (a schematic diagram of the corresponding relationship between the RCM parameters and the Cartesian coordinate system position);
[0058] Figure 5 A schematic diagram of the coordinate system of the master-slave ophthalmic surgical robot system in Example 1 is shown;
[0059] Figure 6 A schematic diagram of the axis following algorithm of Example 1 is shown;
[0060] Figure 7 The structural block diagram of the nonlinear programming algorithm of Example 2 is shown. DETAILED DESCRIPTION
[0061] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0062] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0063] The following first introduces the key terms and their physical definitions involved in the present invention.
[0064] RCM point coordinate system, such as Figure 1As shown, the coordinate system with the remote motion center fixed point (RCM point) as the origin stipulates that the x-axis (X-axis) of the RCM point system and the z-axis (Z-axis) of the RCM mechanism base coordinate system are in opposite directions, and its z-axis (or Z-axis) and the x-axis (X-axis) of the RCM mechanism base coordinate system are in opposite directions. After determining the two axes, the y-axis (Y-axis) is determined by the right-hand rule.
[0065] The RCM mechanism base coordinate system represents the coordinate system with the installation position of the RCM mechanism as the origin, the z-axis (Z-axis) points to the RCM point, and the x-axis (X-axis) points to the position when the yaw angle φ is 0. After determining the two axes, the y-axis (Y-axis) is determined by the right-hand rule.
[0066] The robot base coordinate system represents the coordinate system of the robot base position. Its origin, x-axis (X-axis), y-axis (Y-axis), and z-axis (or Z-axis) have default provisions for commercial products.
[0067] The main hand base coordinate system represents the coordinate system of the main hand base position. Its origin, x-axis (X-axis), y-axis (Y-axis), and z-axis (or Z-axis) have default regulations for commercial products.
[0068] The main hand coordinate system represents the coordinate system of the end position of the main hand. Its origin, x-axis (X-axis), y-axis (Y-axis), and z-axis (or Z-axis) have default provisions for commercial products.
[0069] The instrument coordinate system represents the coordinate system of the end position of the instrument.
[0070] There is no absolute regulation for the axis orientation of the above coordinate systems. The robot arm and the main hand are ready-made commercial products with their default regulations. Therefore, the default coordinate system can be used between the robot arm base coordinate system, the main hand base coordinate system, and the main hand coordinate system.
[0071] Example 1
[0072] One embodiment of the present invention discloses a passive RCM mechanism motion control method for a master-slave ophthalmic surgical robot, such as Figure 2 As shown, the method comprises the following steps:
[0073] S1. Set the instrument end trajectory division rules of the RCM mechanism (instrument refers to surgical instrument), and treat each divided trajectory segment as a separate control unit;
[0074] S2. After the instrument end trajectory of the RCM mechanism begins, at the start time of each control unit, the posture of the instrument end is obtained to obtain the initial posture of the instrument end in the RCM point coordinate system;
[0075] S3. Obtain the posture of the following target (which may be the main hand axis, but not limited to the main hand axis) in the RCM point coordinate system;
[0076] S4. According to the set following control rule, the posture of the following target in the RCM point coordinate system is decomposed into the target posture of the end of the instrument in the RCM point coordinate system;
[0077] S5. Perform nonlinear trajectory planning (also called nonlinear filtering planning) on the posture of the end device, so that the end device in the control unit moves from the initial posture to the target posture, and during the movement, the acceleration of the end device is always less than or equal to the set maximum acceleration, and the speed of the end device is always less than or equal to the set maximum speed.
[0078] It should be noted that, depending on the structure of the RCM mechanism, the RCM point coordinate system can be expressed in more than one Euler angle representation method, xyz, but can also be yxz, etc. When different Euler angle representation methods are used, the expressions of the initial posture and target posture are different. Depending on the method of establishing the coordinate system, the expression of the end posture of the instrument (the posture of the instrument axis) in the RCM point coordinate system is different.
[0079] When implemented, the structure of the master-slave ophthalmic surgical robot refers to Figure 3-Figure 6 As shown, the above control method uses the trajectory segment as the control unit. The above method involves a control algorithm for a slave hand of a passive RCM structure, and uses a nonlinear programming algorithm to plan according to the initial posture and the target posture. This method can be applied to any existing slave hand of a passive RCM mechanism. The key technical points involved include: obtaining the posture of the end of the instrument relative to the RCM point coordinate system when the trajectory starts (step S2); calculating the position and posture of the passive target in the RCM point coordinate system (step S3); decomposing the posture of the passive target in the RCM point coordinate system into a method for decomposing the target posture (RCM posture angle parameters) of the corresponding end of the instrument in the RCM point coordinate system (step S4); and using nonlinear programming to plan the RCM posture angle parameters (step S5).
[0080] Compared with the prior art, this embodiment discloses a following control method for the end of an instrument to follow a manual trajectory based on a nonlinear following algorithm of a dynamically programmed axis. Compared with the absolute mapping of the prior art, it has better intuitive operation and can significantly improve the efficiency of the alignment operation. The posture motion is decomposed into the posture in the RCM point coordinate system and then planned using a nonlinear filtering planning method. This method can set an artificially prescribed maximum speed and maximum acceleration. When the trajectory segment begins, the instrument axis of the RCM mechanism can automatically follow the current position of the main hand axis at the set maximum speed and maximum acceleration.
[0081] Example 2
[0082] Based on the improvement of Example 1, the following method needs to calculate the two RCM rotation angle parameters corresponding to the master hand axis and then use the nonlinear filtering planning algorithm to plan according to the initial posture and the target posture. This method can be applied to the slave hand of any passive RCM mechanism. The following is a passive RCM structure ( Figure 2 ) The master-slave ophthalmic surgical robot consists of a 6-axis robotic arm and an RCM mechanism attached to the end.
[0083] This control method uses the trajectory segment as the control unit. The instrument end trajectory of the RCM mechanism is the master hand trajectory. A trajectory segment is defined as a series of master hand positions and posture points during the period when the master hand presses the button. When the trajectory starts, the target position of the yaw angle and pitch angle corresponding to the current master hand axis is calculated based on the position of the RCM point coordinate system of the slave hand. The target position of the slave hand is the position where the instrument axis and the master hand axis are aligned in space (see Appendix Figure 5 ).
[0084] This control method needs to solve the two attitude angles of the following target in the RCM point coordinate system.
[0085] Acquiring the posture of the end of the instrument in step S2 to obtain the initial posture of the end of the instrument in the RCM point coordinate system includes the following sub-steps:
[0086] S21. Obtain the posture of the end of the instrument in the RCM point coordinate system, including the yaw angle , Pitch angle , rotation angle ;
[0087] S22. According to the above deflection angle , Pitch angle , rotation angle Combined with the structural characteristics of the passive RCM mechanism, the xyz Euler angle is used to establish the rotation matrix of the instrument end in the RCM point coordinate system. , as the initial posture of the instrument end in the RCM point coordinate system ( Figure 4 ),
[0088] (1)
[0089] The derivation process is:
[0090] (2)
[0091] In the formula, Rotate the RCM point coordinate system around its x-axis The rotation matrix of Rotate the RCM point coordinate system around its x-axis The obtained coordinate system is then rotated around its y axis The rotation matrix of Rotate the RCM point coordinate system around its x-axis The obtained coordinate system is then rotated around its y axis The resulting coordinate system is finally rotated around its z-axis The rotation matrix of .
[0092] Among them, the rotation angle The axis adjustment process does not affect the needle insertion, so only the deflection angle needs to be calculated. and pitch angle For subsequent calculations, a coordinate system is established for the master-slave ophthalmic surgical robot system ( Figure 4 ).
[0093] Preferably, step S3 includes the following sub-steps:
[0094] S31. Establish the coordinate system of the target to be followed, denoted as ; The coordinate system of the target being followed is defined as the coordinate system formed by rotating the main hand coordinate system H around its x-axis by 180°;
[0095] S32. Use the following formula to establish the rotation matrix of the follow-up target in the RCM point coordinate system. , as the posture of the following target in the RCM point coordinate system,
[0096] (3)
[0097] In the formula, is the rotation matrix that transforms the RCM point coordinate system to the master hand base coordinate system; is the posture of the end of the master hand expressed in the master hand base coordinate system; is the rotation matrix from the end of the main hand to the following target.
[0098] Preferably, and in step S32, the It is obtained by the following formula:
[0099] (4)
[0100] In the formula, The transformation matrix of the master hand coordinate system rotating 180° counterclockwise around its x-axis.
[0101] Preferably, step 4 includes the following sub-steps:
[0102] S41. According to the set following control rules, the posture of the following target in the RCM point coordinate system is decomposed into the posture of the end of the instrument in the RCM point coordinate system;
[0103] S42. The attitude angle of the target being followed is obtained by the following formula, including the yaw angle: , Pitch angle ,
[0104] (5)
[0105] S43. The above deflection angle , Pitch angle As the target posture (target position) of the end of the instrument in the RCM point coordinate system.
[0106] Preferably, step S5 includes the following sub-steps:
[0107] S51. The deflection angle of the instrument end is adjusted by nonlinear trajectory planning algorithm , Pitch angle Perform nonlinear trajectory planning separately (can be used Figure 7 The planning algorithm shown, as well as other nonlinear trajectory planning algorithms), so that the end of the instrument moves from the initial posture to the target posture within a set time period;
[0108] S52. Verify whether the acceleration of the end of the device is less than or equal to the set maximum acceleration at each moment in the control unit corresponding to the above trajectory planning. , the end speed of the instrument is less than or equal to the set maximum speed , while reducing the position error as quickly as possible If so, proceed to the next step, otherwise, return to step S51 and perform nonlinear trajectory planning again. is the maximum acceleration set, The maximum speed that is set.
[0109] S53. Control the RCM mechanism to execute the trajectory planning.
[0110] Preferably, step S53 further comprises:
[0111] S531. Get the control signal of the last moment , according to the control signal at the previous moment Get the planned position of the end of the instrument at the current moment and planning speed ,
[0112] (6)
[0113] In the formula, is the planned acceleration of the end of the instrument at the last moment, is the sampling time interval, is the planned position of the end of the instrument at the last moment, is the planned speed of the end of the instrument at the last moment;
[0114] S532. According to the above planning location and planning speed , the normalized position error of the end of the instrument at the current moment is obtained by the following formula: , speed normalization error ,
[0115]
[0116] (7)
[0117] In the formula, is the target position of the end of the instrument at the current moment, is the target speed of the end of the device at the current moment, is the normalization coefficient, is the maximum acceleration set;
[0118] S533. Normalize the error according to the above position , speed normalization error , the control signal at the next moment is obtained by the following formula ,
[0119] (8)
[0120] In the formula, , , , The intermediate variables designed for the convenience of calculation have no practical meaning. is the maximum speed set, is the rounding function, is the symbolic function, is a saturation function;
[0121] S534. Repeat the above steps S531 to S533 until the control signal at each moment in the control unit is obtained;
[0122] S535. Control the passive RCM mechanism to execute the control signal in the above control unit at each moment.
[0123] The yaw angle calculated in step S4 , Pitch angle is the target position, which can be substituted into the target position of the nonlinear filtering algorithm Then the planned positions of the yaw and pitch angles can be obtained.
[0124] Preferably, the trajectory planning includes a target position of the slave hand as a position where the instrument axis and the master hand axis are aligned in space.
[0125] Preferably, the instrument end trajectory division rule includes at least one of an equal time division rule, an equal distance division rule, and an equal amplitude division rule.
[0126] During implementation, the key technical points involved include: deriving the posture of the instrument end relative to the RCM point coordinate system at the starting point of the trajectory based on the position of the RCM point coordinate system at the starting point of the trajectory (step S2); calculating the position and posture of the main hand axis in the RCM point coordinate system at the starting point of the trajectory (step S3); decomposing the posture of the main hand axis in the RCM point coordinate system into a method for decomposing the target posture (RCM posture angle parameter) of the corresponding instrument end in the RCM point coordinate system (step S4); and using nonlinear programming to plan the RCM posture angle parameters (step S5).
[0127] Compared with Example 1, the passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot provided in this embodiment has the following beneficial effects:
[0128] 1. After the trajectory starts, the instrument (instrument axis) and the follow-up target (main hand axis) are automatically aligned in space, which has the advantages of being intuitive and efficient.
[0129] 2. The maximum speed and acceleration can be set by yourself, which completely eliminates the fault of motor error caused by excessive speed and acceleration in absolute mapping, and provides better stability during surgery.
[0130] Example 3
[0131] The embodiment of the present invention provides a master-slave ophthalmic surgical robot, comprising a 6-axis robotic arm and a passive RCM mechanism attached to the end of the 6-axis robotic arm. In addition, the master-slave ophthalmic surgical robot executes the passive RCM mechanism motion control method described in the above embodiment 1 or embodiment 2.
[0132] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or improvements over the prior art, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A passive RCM mechanism motion control method for a master-slave ophthalmic surgical robot, characterized in that: The steps include: S1. Set the instrument end trajectory division rules of the RCM mechanism, and treat each divided trajectory segment as a separate control unit; S2. After the instrument end trajectory of the RCM mechanism begins, at the start time of each control unit, the instrument end posture is obtained to obtain the initial posture of the instrument end in the RCM point coordinate system; the obtaining of the instrument end posture to obtain the initial posture of the instrument end in the RCM point coordinate system includes: S21. Obtain the deflection angle of the end of the instrument in the RCM point coordinate system Pitch angle θ, rotation angle ω; S22. According to the above deflection angle The pitch angle θ and the rotation angle ω are combined with the structural characteristics of the passive RCM mechanism to establish the rotation matrix of the instrument end in the RCM point coordinate system. As the initial posture of the end of the instrument in the RCM point coordinate system, S3. Obtain the posture of the follow-up target in the RCM point coordinate system, including: S31. Establish a coordinate system for following the target, denoted as Q'; S32. Use the following formula to establish the rotation matrix of the follow-up target in the RCM point coordinate system. As the posture of the following target in the RCM point coordinate system, In the formula, is the rotation matrix that transforms the RCM point coordinate system to the master hand base coordinate system; is the posture of the end of the master hand expressed in the master hand base coordinate system; is the rotation matrix from the end of the main hand to the following target; S4. According to the set following control rule, the posture of the following target in the RCM point coordinate system is decomposed into the target posture of the end of the instrument in the RCM point coordinate system; S5. Perform nonlinear trajectory planning on the posture of the end device, so that the end device in the control unit moves from the initial posture to the target posture, and during the movement, the acceleration of the end device is always less than or equal to the set maximum acceleration, and the speed of the end device is always less than or equal to the set maximum speed.
2. The passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot according to claim 1, characterized in that: In step S31, the coordinate system of the target being followed is defined as the coordinate system formed by rotating the main hand coordinate system H around its x-axis direction by 180°; and in step S32, It is obtained by the following formula: In the formula, R x (180°) is the transformation matrix of the master hand coordinate system rotating 180° counterclockwise around its x-axis.
3. The passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot according to claim 2, characterized in that: Step 4 includes the following sub-steps: S41. According to the set following control rules, the posture of the following target in the RCM point coordinate system is decomposed into the posture of the end of the instrument in the RCM point coordinate system; S42. Obtain the yaw angle of the target by the following formula Pitch angle θ', S43. The above deflection angle The pitch angle θ' is used as the target posture of the end of the instrument in the RCM point coordinate system.
4. The passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot according to claim 3 is characterized in that: Step S5 includes the following sub-steps: S51. The deflection angle of the instrument end is adjusted by nonlinear trajectory planning algorithm The pitch angle θ' is respectively subjected to nonlinear trajectory planning, so that the end of the instrument moves from the initial posture to the target posture within a set time period; S52. Verify whether the control unit corresponding to the above trajectory planning satisfies the conditions that the acceleration of the end device is less than or equal to the set maximum acceleration and the speed of the end device is less than or equal to the set maximum speed at each moment. If so, execute the next step. Otherwise, return to step S51 and re-perform nonlinear trajectory planning. S53. Control the RCM mechanism to execute the trajectory planning.
5. The passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot according to claim 3, characterized in that: Step S53 further includes: S531. Get the control signal u at the last moment k-1 , according to the control signal u at the previous moment k-1 Get the planned position q of the end of the instrument at the current moment k and planning speed In the formula, u k-1 is the planned acceleration of the end of the instrument at the last moment, T s is the sampling time interval, q k-1 is the planned position of the end of the instrument at the last moment, is the planned speed of the end of the instrument at the last moment; S532. According to the above planning position q k and planning speed The normalized position error e of the end of the instrument at the current moment is obtained by the following formula: k , speed normalization error U=a max In the formula, r k is the target position of the end of the instrument at the current moment, is the target speed of the end of the device at the current moment, U is the normalization coefficient, a max is the maximum acceleration set; S533. Normalize the error e according to the above position k , speed normalization error The control signal u at the next moment is obtained by the following formula k , C2: In the formula, z k , m, σ k is the intermediate variable, v max is the maximum speed set, floor(·) is the rounding function, sign(·) is the sign function, and sat(·) is the saturation function; S534. Repeat the above steps S531 to S533 until the control signal at each moment in the control unit is obtained; S535. Control the passive RCM mechanism to execute the control signal in the above control unit at each moment.
6. The passive RCM mechanism motion control method of a master-slave ophthalmic surgical robot according to any one of claims 1 to 5, characterized in that: The trajectory planning includes a target position of the slave hand as a position where the instrument axis and the master hand axis are aligned in space.
7. The passive RCM mechanism motion control method of the master-slave ophthalmic surgical robot according to claim 6, characterized in that: The instrument end trajectory division rule includes at least one of an equal time division rule, an equal distance division rule, and an equal amplitude division rule.
8. A master-slave ophthalmic surgical robot, characterized in that: It includes a 6-axis robot arm and a passive RCM mechanism attached to the end of the 6-axis robot arm; and, The master-slave ophthalmic surgical robot executes the passive RCM mechanism motion control method described in any one of claims 1-7.
