Safety boundary control system and control method based on moving block technology
Through the safety boundary control system based on mobile occlusion technology, the occlusion boundary distance and speed limit curve are calculated in real time, which solves the problem of response delay and inertia influence of the surgical robot when operating the safety boundary, achieving higher safety and accuracy. Reduce the occurrence of surgical complications.
Patent Information
- Application Number
- CN202310219714.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-17
AI Technical Summary
When existing surgical robots operate within the safety boundary, due to system response delays and inertia effects, it is easy to exceed the safety boundary, leading to unpredictable consequences. In addition, control vibration and position errors are large, affecting medical safety and quality.
A safety boundary control system based on moving occlusion technology is adopted. By calculating the occlusion boundary distance and speed limit curve in real time, the protection strategy can be planned in advance to ensure that the end effector of the robot arm moves within the safety boundary, and system faults can be detected in real time to avoid exceeding the safety boundary.
It effectively avoids the risk of the robot arm's end effector exceeding the safety boundary, improves the safety and accuracy of surgical robot operations, reduces the occurrence of surgical complications, and enhances safety control innovation in the field of robotics.
Smart Images

Figure CN118648985A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of surgical robots, and in particular to a safety boundary control system and a control method based on mobile occlusion technology. Background Art
[0002] In routine surgical operations, manual control often leads to human-induced surgical complications due to its poor accuracy and stability, seriously affecting medical safety and quality.
[0003] At present, the mainstream solution in the industry is the robotic arm solution. The surgical robot performs operations including but not limited to intraoperative soft tissue cutting, diseased tissue resection, tumor resection, bone grinding and osteotomy. There are strict safety range restrictions on the position of the end effector of the robotic arm. If the operation safety range is exceeded, it will cause irreversible damage to human tissue, which is easy to cause medical accidents.
[0004] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram showing the hardware functions of the main CPU of a surgical robot in the prior art. Figure 1 As shown, the hardware of the main CPU mainly includes an A-series encoder reducer side module, a B-series encoder motor side module, a position loop module, a speed loop module, a motion control module and an interval warning judgment module.
[0005] Among them, the A series encoder reducer side module drives the movement of the position loop module, the B series encoder motor side module drives the movement of the speed loop module, and the interval warning judgment module receives the input of the safety boundary data, judges the safety boundary distance, and instructs the motion control module to switch the motion state of the position loop module and the speed loop module according to the judgment result.
[0006] See also Figure 2 , Figure 2 The figure shows a schematic diagram of the control method of a surgical robot in the prior art. Figure 2 As shown, the control method includes the following steps:
[0007] Step S01: setting a terminal protection area, for example, the number of protection areas is N, and setting a moving speed of the terminal of the surgical robot in each protection area;
[0008] Step S02: obtaining the position of the end of the current surgical robot arm;
[0009] Step S03: determining whether the end of the surgical robot exceeds the safety boundary, if so, the surgical robot stops moving; if not, the surgical robot sets a corresponding moving speed according to the range of the interval;
[0010] Step S04: Determine whether to continue with the artificial boundary confirmation. If yes, move to the target position; if no, end.
[0011] The above-mentioned surgical robot solutions in the prior art usually run according to a predetermined motion trajectory. When the end of the surgical robot reaches the boundary, it usually directly detects the current position, and then determines what protection area the system has entered and what speed to switch to. It will only make an emergency stop response when it encounters the safety boundary.
[0012] At this time, due to the system response delay and system speed inertia, there will be a risk of exceeding the safety boundary. In other words, the above solution does not accurately evaluate the system response time, and different speeds entering the protection area may have already slipped out of the corresponding protection area; rapid speed switching will also cause system control vibration and lead to unconfirmed position deviation.
[0013] Therefore, designing a safe and efficient robotic arm hardware system and a safe path planning and control method is the key to solving the safety issues of orthopedic surgical robots in the industry. Summary of the invention
[0014] The purpose of the present invention is to provide a safety boundary control system and control method based on mobile occlusion technology, which improves the safety protection strategy of the surgical robot in advance by providing absolute position signals and six-dimensional contact force signals to complete a safe and reliable hardware system and a safe path planning control method.
[0015] To achieve the above object, the technical solution of the present invention is as follows:
[0016] A safety boundary control system based on mobile blocking technology, used to control the end effector of a robotic arm with surgical tools or surgical instruments for surgery to plan a safety protection path; characterized in that it includes a main CPU, an A-series encoder reducer side module, a B-series encoder motor side module and a safety detection CPU; wherein,
[0017] The main CPU includes a position loop module, a speed loop module and a motion control module. The motion control module controls the A-series encoder reducer side module to drive the movement of the position loop module, and the motion control module controls the B-series encoder motor side module to drive the movement of the speed loop module, so that the end effector of the robot arm follows a predetermined motion trajectory and runs within a safety boundary at a real-time feed speed value Vi; wherein the real-time feed speed value Vi is the speed in the X, Y, and Z axis directions of the current position W;
[0018] The safety detection CPU includes an occlusion boundary processing module and a safety parameter input module; the safety parameter input module is used to input the safety boundary, the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T; the maximum speed limit value Vmax of the end effector of the robot arm is the maximum speed limit in the X, Y, and Z axis directions of the current position W;
[0019] The occlusion boundary processing module includes a boundary distance acquisition unit and a protection deceleration unit; the boundary distance acquisition unit is used to obtain the current position W of the end effector of the manipulator, calculate the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtain the occlusion boundary point, and calculate the safe boundary distance L2 in the X, Y, and Z axis directions of the position W; the occlusion boundary distance L1 is a fixed value limit of the occlusion boundary distance L1 after the limit calculation is completed according to the maximum speed limit value Vmax of the end effector of the manipulator and the system response time T, or is calculated according to the real-time feed speed value Vi of the end effector of the manipulator and the system response time T to achieve dynamic changes; and according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the manipulator, the speed limit curve Vlim of the moving occlusion boundary is calculated and updated in real time; when the moving occlusion boundary point exceeds the safety boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and parking strategy of the end effector of the manipulator;
[0020] Determine whether the occlusion boundary point exceeds the safety boundary, whether the occlusion boundary point does not exceed the safety boundary, or whether the moving occlusion boundary point overlaps the safety boundary; that is,
[0021] ①, when the safety boundary distance L2 is greater than the block boundary distance L1, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi less than the last updated value of the speed limit curve Vlim of the moving block boundary until the moving distance is the block boundary distance L1 and stops;
[0022] ②, when the occlusion boundary point does not exceed the safety boundary, the end effector of the robot arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robot arm;
[0023] The safety boundary distance L2>occlusion boundary distance L1 is sufficient in at least one direction of the X, Y, and Z axes.
[0024] Furthermore, the safety boundary control system based on the moving blocking technology further includes a detection module, which is used to detect whether a system failure occurs when the blocking boundary point exceeds the safety boundary, or whether no system failure occurs when the blocking boundary point exceeds the safety boundary, or whether a system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether no system failure occurs when the blocking boundary point does not exceed the safety boundary;
[0025] If no system failure occurs when the block boundary point exceeds the safety boundary, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving block boundary, until the moving distance is the block boundary distance L1 and stops;
[0026] If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed;
[0027] If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
[0028] Furthermore, the deceleration and parking strategy is a trapezoidal acceleration parking trajectory.
[0029] Furthermore, the safety boundary control system based on mobile blocking technology also includes an artificial boundary confirmation module. When the protection deceleration unit controls the end effector of the robotic arm to stop moving, it confirms whether it is necessary to increase the feedback coefficient and move to the target position of the end effector of the robotic arm.
[0030] Furthermore, the parameters of the end effector of the robotic arm also include a contact force vector of the end effector of the robotic arm; the end contact force vector is obtained by measuring a six-dimensional torque sensor.
[0031] Furthermore, N is 20, K is a value between zero and 20, and the acceleration parking trajectory deceleration parking time is T=20*t s ; where t s is the trajectory sampling period, then there is a cubic polynomial:
[0032]
[0033] When the moving block boundary point overlaps with the safety boundary, set the boundary overlap time k=0, the final stop time k=20, and calculate the speed limit V of 20 trajectory points in advance according to the above-mentioned fastest deceleration stop trajectory planning lim (k) After that, the actual trajectory speed V is constrained as follows f (k):
[0034] V f (k)=[v fx (k)v fy (k)v fz (k)] T .
[0035] Furthermore, the safety boundary control system based on the moving occlusion technology is characterized in that it also includes an encoder calibration module, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M of the A-series encoder reducer side module and the reducer side encoder B placed in the joint shaft of the robotic arm; if the incremental error exceeds a certain threshold, it is determined that the current position W of the end effector of the robotic arm is invalid, and the updating of the speed limit curve Vlim of the moving occlusion boundary is stopped.
[0036] To achieve the above purpose, the present invention has the following technical solutions:
[0037] A safety boundary control method based on moving occlusion technology is used to control the end effector of a robotic arm with surgical tools or surgical instruments for surgery to perform safety protection path planning; it is characterized by comprising:
[0038] Step S1: Set Q areas where the robot end effector needs to perform safety protection, and input the safety boundary of each area, the maximum speed limit value Vmax of the robot end effector and the system response time T; wherein the maximum speed limit value Vmax of the robot end effector is the maximum speed limit in the X, Y, and Z axis directions of the current position W; wherein Q is an integer greater than or equal to 1;
[0039] Step S2: obtaining the current position W of the end effector of the robot arm and the corresponding area where it is located, calculating the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtaining the occlusion boundary point, and calculating the safe boundary distance L2 in the X, Y, and Z axis directions of the position W; the occlusion boundary distance L1 is a fixed value limit of the occlusion boundary distance L1 after the limit calculation is completed according to the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T, or is calculated according to the real-time feed speed value Vi of the end effector of the robot arm and the system response time T to achieve dynamic changes; and according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the robot arm, the speed limit curve Vlim of the moving occlusion boundary is calculated and updated in real time; when the moving occlusion boundary point exceeds the safe boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and parking strategy of the end effector of the robot arm;
[0040] Step S3: Determine whether the occlusion boundary point exceeds the safety boundary, whether the occlusion boundary point does not exceed the safety boundary, or whether the moving occlusion boundary point overlaps the safety boundary; specifically:
[0041] ①, when the safety boundary distance L2 is greater than the block boundary distance L1, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi less than the last updated value of the speed limit curve Vlim of the moving block boundary until the moving distance is the block boundary distance L1 and stops;
[0042] ②, when the occlusion boundary point does not exceed the safety boundary, the end effector of the robot arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robot arm;
[0043] The safety boundary distance L2>occlusion boundary distance L1 is sufficient in at least one direction of the X, Y, and Z axes.
[0044] Furthermore, the safety boundary control method based on the moving blocking technology further includes step S4, determining whether a system failure occurs when the blocking boundary point exceeds the safety boundary, or whether a system failure does not occur when the blocking boundary point exceeds the safety boundary, or whether a system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether a system failure does not occur when the blocking boundary point does not exceed the safety boundary;
[0045] If no system failure occurs when the block boundary point exceeds the safety boundary, when the safety boundary distance L2 is greater than the block boundary distance L1, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles, and according to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi less than the last updated value of the speed limit curve Vlim of the moving block boundary until the moving distance is the block boundary distance L1 and stops;
[0046] If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed;
[0047] If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
[0048] Furthermore, the safety boundary control method based on mobile occlusion technology also includes step S5, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M between the A-series encoder reducer side module and the reducer side encoder B placed in the joint shaft of the robotic arm; if the incremental error exceeds a certain threshold, it is determined that the current position W of the end effector of the robotic arm is invalid, and the updating of the speed limit curve Vlim of the mobile occlusion boundary is stopped.
[0049] It can be seen from the above technical solutions that the safety boundary control system based on mobile occlusion technology and its control method of the present invention provide a feasible safety implementation solution for advanced computing protection for surgical robots; provide new solutions for the research and development of domestic surgical robots, and enhance the innovation of safety control in the field of robots.
[0050] That is to say, the safety boundary path planning scheme based on the mobile blocking technology of the present invention can calculate the blocking boundary point in advance and plan a speed limit curve, which is calculated according to the speed momentum and the system response time; it can safely and effectively monitor the safety boundary to avoid unpredictable consequences caused by exceeding the safety boundary due to problems such as the inertia of the robot arm or the system response time delay, and at the same time can detect the encoder deviation in real time or when a system failure occurs, the mobile blocking boundary will no longer be updated and the system will stop in a safe range.
[0051] The beneficial effects brought about by the innovative points of this technical solution are as follows:
[0052] ①. A safety control strategy based on mobile blocking technology is implemented to calculate protection in advance. Only when the blocking boundary calculation meets the safety expectation conditions can the motion control be effectively controlled.
[0053] ② The control system has high requirements for the accuracy of position reading. Therefore, each joint axis uses a dual encoder to check the deviation of the reduction ratio M to determine whether the end position of the robot arm is valid;
[0054] ③. Based on the proposed safety strategy, the master CPU and slave CPU structure (safety detection CPU) are optimized and designed, so that safety monitoring and motion control are deployed separately to form reliable constraints. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 Schematic diagram of the main CPU hardware function module of the surgical robot in the prior art
[0056] Figure 2 The figure shows a schematic diagram of the control method of a surgical robot in the prior art.
[0057] Figure 3 The figure is a schematic diagram of a safety boundary control system based on moving blocking technology in an embodiment of the present invention.
[0058] Figure 4 Schematic diagram of a safety boundary control method based on moving blocking technology in an embodiment of the present invention
[0059] Figure 5 Schematic diagram of the relationship between the actual feed speed values Vi, Vmax and Vlim in the embodiment of the present invention DETAILED DESCRIPTION
[0060] The following is combined with Figure 3-5 , the specific implementation modes of the present invention are further described in detail.
[0061] It should be noted that the safety boundary control system and control method based on mobile blocking technology of the present invention propose a safety protection path planning strategy based on mobile blocking technology and innovatively optimize the hardware system control circuit, which is based on the integrated drive and control technology to control the end effector of a robotic arm with surgical tools or surgical instruments for surgery to perform safety protection path planning; typically, the end effector of the robotic arm is a multi-axis robotic arm end effector.
[0062] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram of a safety boundary control system based on moving blocking technology in an embodiment of the present invention. Figure 3 As shown, in an embodiment of the present invention, the control system is used to control the end effector of a robotic arm carrying surgical tools or surgical instruments for surgery to perform safety protection path planning; it may include a main CPU, an A-series encoder reducer side module, a B-series encoder motor side module and a safety detection CPU.
[0063] The main CPU may include a position loop module, a speed loop module and a motion control module. The motion control module controls the A-series encoder reducer side module to drive the movement of the position loop module. The motion control module controls the B-series encoder motor side module to drive the movement of the speed loop module, so that the end effector of the robot arm follows a predetermined motion trajectory and runs within a safety boundary at a real-time feed speed value Vi; wherein the real-time feed speed value Vi is the speed in the X, Y, and Z axis directions of the current position W.
[0064] The safety detection CPU includes an occlusion boundary processing module and a safety parameter input module; the safety parameter input module is used to input the safety boundary, the maximum speed limit value Vmax of the end effector of the robotic arm and the system response time T; the maximum speed limit value Vmax of the end effector of the robotic arm is the maximum limit speed in the X, Y, and Z axis directions of the current position W.
[0065] In an embodiment of the present invention, the maximum speed limit value Vmax of the end effector of the robot arm is used to limit the real-time feed speed value Vi of the end effector of the robot arm. In the M areas where the end effector of the robot arm performs safety protection, the maximum speed limit value Vmax of the end effector of the robot arm can be the same or different; the maximum speed limit value Vmax of the end effector of the robot arm can be an initially given constant value, or an initially given variable value as required; the maximum speed limit value Vmax of the end effector of the robot arm can be the same or different in the X, Y, and Z axis directions of a certain position W.
[0066] The occlusion boundary processing module may include a boundary distance acquisition unit and a protective deceleration unit; the boundary distance acquisition unit is used to obtain the current position W of the end effector of the robotic arm, calculate the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtain the occlusion boundary point, and calculate the safety boundary distance L2 in the X, Y, and Z axis directions of the position W.
[0067] The occlusion boundary distance L1 is limited as a fixed value of the occlusion boundary distance L1 after the limit calculation is completed based on the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T, or it is dynamically changed based on the real-time feed speed value Vi of the end effector of the robot arm and the system response time T.
[0068] And according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the robot arm, the speed limit curve Vlim of the moving occlusion boundary is updated and calculated in real time; when the moving occlusion boundary point exceeds the safety boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and stopping strategy of the end effector of the robot arm.
[0069] The protection deceleration unit determines whether the block boundary point exceeds the safety boundary, whether the block boundary point does not exceed the safety boundary, or whether the moving block boundary point overlaps the safety boundary. After obtaining the block boundary distance L1 and the above judgment results, the safety protection path planning strategy can be obtained. Specifically, the basic features of the safety protection path planning strategy based on the moving block technology are as follows:
[0070] First, based on factors such as the momentum value of the end effector arm of the robotic arm and the system response time, the moving occlusion boundary distance L1 of the end effector of the robotic arm is calculated. When the predicted moving occlusion boundary point is within the safety boundary, the end effector of the robotic arm can move freely; when the moving occlusion boundary point is on or outside the safety boundary, the real-time feed speed value Vi of the end effector of the robotic arm will be limited by the speed limit curve Vlim of the moving occlusion boundary, that is, active protection deceleration.
[0071] Then, at each moving point, the corresponding point value on the speed limit curve Vlim in the X, Y, and Z directions and satisfying the occlusion boundary will be established respectively, and the real-time feed speed value Vi of the end effector of the robotic arm is always less than the maximum speed limit value Vmax of the end effector of the robotic arm at the corresponding position point / the speed limit curve Vlim of the moving occlusion boundary.
[0072] That is to say, the safety boundary control system based on the moving block technology calculates the speed limit curve Vlim of the moving block boundary in real time based on the block boundary distance, current momentum and deceleration value. When the moving block boundary point exceeds the safety boundary, the speed limit curve Vlim of the moving block boundary stops updating, and the movement stops based on the last calculated speed limit curve Vlim of the moving block boundary.
[0073] In an embodiment of the present invention, the control system may further include a detection module, which is used to detect whether a system failure occurs when the blocking boundary point exceeds the safety boundary, or whether no system failure occurs when the blocking boundary point exceeds the safety boundary, or whether a system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether no system failure occurs when the blocking boundary point does not exceed the safety boundary.
[0074] If no system failure occurs when the block boundary point exceeds the safety boundary, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving block boundary, until the moving distance is the block boundary distance L1 and stops;
[0075] If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed;
[0076] If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
[0077] In an embodiment of the present invention, the control system may also include an encoder calibration module, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M of the A-series encoder reducer side module and the reducer side encoder B placed in the joint axis of the robot arm; if the incremental error exceeds a certain threshold value, the current position W of the end effector of the robot arm is determined to be invalid, and the speed limit curve Vlim of the moving occlusion boundary is stopped from being updated. This module can greatly improve the safety and reliability of position signal extraction and avoid misjudgment of the safety boundary due to position errors.
[0078] In an embodiment of the present invention, the parameters of the end effector of the robotic arm also include the contact force vector of the end effector of the robotic arm; the end contact force vector is obtained by measuring a six-dimensional torque sensor. The control system can also be executed by a teleoperator, and when the safety boundary is triggered, the surgical operation can be continued by manually unlocking the button or manually confirming it, and the end effector of the robotic arm provides force feedback to the teleoperator.
[0079] See also Figure 4 , Figure 4 FIG. 1 is a schematic diagram of a safety boundary control method based on moving blocking technology in an embodiment of the present invention. Figure 4 As shown, the safety boundary control method based on moving blocking technology may include the following steps:
[0080] Step S1: Set Q areas where the robot end effector needs to perform safety protection, and input the safety boundary of each area, the maximum speed limit value Vmax of the robot end effector and the system response time T; wherein the maximum speed limit value Vmax of the robot end effector is the maximum speed limit in the X, Y, and Z axis directions of the current position W; wherein Q is an integer greater than or equal to 1;
[0081] Step S2: obtain the current position W of the end effector of the robot arm and the corresponding area where it is located, calculate the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtain the occlusion boundary point, and calculate the safe boundary distance L2 in the X, Y, and Z axis directions of the position W; the occlusion boundary distance L1 is a fixed value limit of the occlusion boundary distance L1 after the limit calculation is completed based on the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T, or it is calculated according to the real-time feed speed value Vi of the end effector of the robot arm and the system response time T to achieve dynamic changes.
[0082] And according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the robot arm, the speed limit curve Vlim of the moving occlusion boundary is updated and calculated in real time; when the moving occlusion boundary point exceeds the safety boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and stopping strategy of the end effector of the robot arm.
[0083] Step S3: Determine whether the occlusion boundary point exceeds the safety boundary, whether the occlusion boundary point does not exceed the safety boundary, or whether the moving occlusion boundary point overlaps the safety boundary; specifically, the following two situations are included:
[0084] The first case: the maximum speed limit value Vmax and the speed limit curve Vlim of the moving occlusion boundary are not updated, and the distance from the current position W to the occlusion boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the robotic arm, the real-time feed speed value Vi of the end effector of the robotic arm receives the speed limit curve Vlim of the moving occlusion boundary for active protection deceleration, that is, the end effector of the robotic arm continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving occlusion boundary, until the moving distance stops at the occlusion boundary distance L1.
[0085] That is to say, when the end effector of the robot arm runs at the planned speed, the real-time feed speed value Vi is mainly limited by the given value of the maximum speed limit value Vmax of the end effector of the robot arm and the constraint value of the speed limit curve Vlim of the moving occlusion boundary.
[0086] In addition, when the end effector of the robot arm runs at the planned speed, it is also affected by the size of the contact force.
[0087] For example, when the grinding drill is running at high speed and the moving boundary has not reached the safety boundary, in order to maintain a certain contact force during bone grinding, the end effector of the robot arm is used to cooperate with the six-dimensional torque sensor to obtain the end contact force vector of the end effector of the robot arm. When the force in the feeding direction exceeds a certain value and increases, the real-time feeding speed Vi of the end effector of the robot arm will decrease or stop; when the force in the feeding direction is less than a certain value and decreases, the real-time feeding speed Vi of the end effector of the robot arm will increase. During this period, if the moving occlusion boundary is updated according to the calculation cycle, the real-time feeding speed value Vi of the end effector of the robot arm is only limited by the given value of the maximum speed limit value Vmax of the end effector of the robot arm.
[0088] For another example, when the drill is running at high speed and the moving boundary reaches the safety boundary, the moving occlusion boundary will no longer move, and the maximum speed limit value Vmax curve of the end effector of the robot arm will no longer be updated. During this period, the real-time feed speed value Vi is limited by the Vlim constraint value and decelerates to stop moving. In the actual operation process, the real-time feed speed value Vi planning can adopt incremental position loop control, which only needs to convert the speed multiplied by the sampling time into a position increment.
[0089] See also Figure 5 , Figure 5 Schematic diagram of the relationship between the actual feed speed values Vi, Vmax and Vlim in the embodiment of the present invention. Figure 5 As shown, when the moving block boundary and the safety boundary satisfy L2>L1, the speed limit curve Vlim of the moving block boundary is divided into N cycles for speed limit value planning. During each calculation cycle T1→T2, the safety detection CPU automatically updates the speed limit curve Vlim of the moving block boundary to the main control CPU until the boundaries overlap or a system error occurs. Among them, the safety boundary distance L2>block boundary distance L1 is established in at least one direction of the X, Y, and Z axes.
[0090] Specifically, if N is 20, K is a value between 0 and 20, the acceleration stop trajectory deceleration stop time is T = 20*t s ; where t s is the trajectory sampling period, then there is a cubic polynomial:
[0091]
[0092] When the moving block boundary point overlaps with the safety boundary, set the boundary overlap time k=0, the final stop time k=20, and calculate the speed limit V of 20 trajectory points in advance according to the above-mentioned fastest deceleration stop trajectory planning lim (k) After that, the actual trajectory speed V is constrained as follows f (k):
[0093] Vf (k)=[v fx (k)v fy (k)v fz (k)] T
[0094] Taking the x direction as an example,
[0095]
[0096] Among them, v limx (k) is V lim (k) Component in the x direction
[0097] Then the occlusion boundary distance in the x direction can be calculated:
[0098]
[0099] When L1 x (k)+Vmax*t s When ≥L2, the above speed constraint strategy is immediately executed to decelerate and stop the vehicle.
[0100] The second situation: when the occlusion boundary point does not exceed the safety boundary, the robot arm end effector continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the robot arm end effector.
[0101] In summary, the safety boundary path planning scheme based on mobile blocking technology can well predict the boundary overrun problem. Through the virtual blocking boundary calculation, a real-time monitoring and protection terminal overrun L2>L1 is achieved. The blocking boundary distance L1 also well considers the deviation of the stopping position caused by the inertia of the robot arm, so that it stops accurately at the safety boundary.
[0102] Please see again Figure 4 The control method may further include step S4, determining whether a system failure occurs when the blocking boundary point exceeds the safety boundary, or whether a system failure does not occur when the blocking boundary point exceeds the safety boundary, or whether a system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether a system failure does not occur when the blocking boundary point does not exceed the safety boundary.
[0103] If no system failure occurs when the occlusion boundary point exceeds the safety boundary, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving occlusion boundary are not updated, and the distance from the current position W to the occlusion boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles, and according to the parameters of the end effector of the robotic arm, the real-time feed speed value Vi of the end effector of the robotic arm receives the speed limit curve Vlim of the moving occlusion boundary for active protection deceleration, that is, the end effector of the robotic arm continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving occlusion boundary, until the moving distance stops at the occlusion boundary distance L1.
[0104] If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed.
[0105] If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
[0106] In addition, the control method may also include step S5, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M of the A-series encoder reducer side module and the reducer side encoder B placed in the joint shaft of the robotic arm; if the incremental error exceeds a certain threshold, it is determined that the current position W of the end effector of the robotic arm is invalid, and the updating of the speed limit curve Vlim of the moving occlusion boundary is stopped.
[0107] In summary, the present invention proposes a strategy with advance safety protection, which enhances the autonomous protection capability of the surgical robot, avoids the problems of poor accuracy and stability caused by manual control, reduces the occurrence of surgical complications, and at the same time avoids the risk of the end effector of the robotic arm moving beyond the safety boundary by considering the influence of factors such as system response delay and system speed momentum.
[0108] The above-described embodiments are only preferred embodiments of the present invention, and the embodiments are not intended to limit the patent protection scope of the present invention. Therefore, any equivalent structural changes made using the description and drawings of the present invention should also be included in the protection scope of the present invention.
Claims
1. A safety boundary control system based on mobile blocking technology, used to control the end effector of a robotic arm with surgical tools or surgical instruments for surgery to perform safety protection path planning; characterized in that: It includes the main CPU, A series encoder reducer side module, B series encoder motor side module and safety detection CPU; among them, The main CPU includes a position loop module, a speed loop module and a motion control module. The motion control module controls the A-series encoder reducer side module to drive the movement of the position loop module, and the motion control module controls the B-series encoder motor side module to drive the movement of the speed loop module, so that the end effector of the robot arm follows a predetermined motion trajectory and runs within a safety boundary at a real-time feed speed value Vi; wherein the real-time feed speed value Vi is the speed in the X, Y, and Z axis directions of the current position W; The safety detection CPU includes an occlusion boundary processing module and a safety parameter input module; the safety parameter input module is used to input the safety boundary, the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T; the maximum speed limit value Vmax of the end effector of the robot arm is the maximum speed limit in the X, Y, and Z axis directions of the current position W; wherein, during initialization, the maximum speed limit value Vmax is a constant value or a curve corresponding to the position W; The occlusion boundary processing module includes a boundary distance acquisition unit and a protection deceleration unit; the boundary distance acquisition unit is used to obtain the current position W of the end effector of the manipulator, calculate the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtain the occlusion boundary point, and calculate the safe boundary distance L2 in the X, Y, and Z axis directions of the position W; the occlusion boundary distance L1 is a fixed value limit of the occlusion boundary distance L1 after the limit calculation is completed according to the maximum speed limit value Vmax of the end effector of the manipulator and the system response time T, or is calculated according to the real-time feed speed value Vi of the end effector of the manipulator and the system response time T to achieve dynamic changes; and according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the manipulator, the speed limit curve Vlim of the moving occlusion boundary is calculated and updated in real time; when the moving occlusion boundary point exceeds the safety boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and parking strategy of the end effector of the manipulator; The protection and deceleration unit determines whether the block boundary point exceeds the safety boundary, whether the block boundary point does not exceed the safety boundary, or whether the moving block boundary point overlaps with the safety boundary; that is, ①, when the safety boundary distance L2 is greater than the block boundary distance L1, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi less than the last updated value of the speed limit curve Vlim of the moving block boundary until the moving distance is the block boundary distance L1 and stops; ②, when the occlusion boundary point does not exceed the safety boundary, the end effector of the robot arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robot arm; The safety boundary distance L2>occlusion boundary distance L1 is sufficient in at least one direction of the X, Y, and Z axes.
2. The safety border control system based on moving blocking technology according to claim 1 is characterized in that: It also includes a detection module, which is used to detect whether the system failure occurs when the blocking boundary point exceeds the safety boundary, or whether the system failure does not occur when the blocking boundary point exceeds the safety boundary, or whether the system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether the system failure does not occur when the blocking boundary point does not exceed the safety boundary; If no system failure occurs when the block boundary point exceeds the safety boundary, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving block boundary, until the moving distance is the block boundary distance L1 and stops; If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed; If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
3. The safety border control system based on moving blocking technology according to claim 1 is characterized in that: The deceleration parking strategy is a trapezoidal acceleration parking trajectory.
4. The safety border control system based on moving blocking technology according to claim 1 is characterized in that: It also includes an artificial boundary confirmation module, which confirms whether it is necessary to increase the feedback coefficient and move to the target position of the end effector of the robotic arm when the protection deceleration unit controls the end effector of the robotic arm to stop moving.
5. The safety border control system based on moving blocking technology according to claim 1 is characterized in that: The parameters of the end effector of the robotic arm also include a contact force vector of the end effector of the robotic arm; the end contact force vector is obtained by measuring a six-dimensional torque sensor.
6. The safety border control system based on moving blocking technology according to claim 1, characterized in that: The N is 20, K is a value between 0 and 20, and the deceleration parking time of the acceleration parking trajectory is T=20*t s ; where t s is the trajectory sampling period, then there is a cubic polynomial: When the moving block boundary point overlaps with the safety boundary, set the boundary overlap time k=0, the final stop time k=20, and calculate the speed limit V of 20 trajectory points in advance according to the above-mentioned fastest deceleration stop trajectory planning lim (k) After that, the actual trajectory speed V is constrained as follows f (k): V f (k)=[v fx (k) v fy (k) v fz (k)] T 。 7. The safety border control system based on moving blocking technology according to any one of claims 1 to 6, characterized in that: It also includes an encoder calibration module, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M of the A-series encoder reducer side module and the reducer side encoder B placed in the joint shaft of the robotic arm; if the incremental error exceeds a certain threshold, it is determined that the current position W of the end effector of the robotic arm is invalid, and the updating of the speed limit curve Vlim of the moving occlusion boundary is stopped.
8. A safety boundary control method based on mobile blocking technology, used to control the end effector of a robotic arm with surgical tools or surgical instruments for surgery to perform safety protection path planning; characterized in that: include: Step S1: Set Q areas where the robot end effector needs to perform safety protection, and input the safety boundary of each area, the maximum speed limit value Vmax of the robot end effector and the system response time T; wherein the maximum speed limit value Vmax of the robot end effector is the maximum speed limit in the X, Y, and Z axis directions of the current position W; wherein Q is an integer greater than or equal to 1; Step S2: obtaining the current position W of the end effector of the robot arm and the corresponding area where it is located, calculating the occlusion boundary distance L1 in the X, Y, and Z axis directions of the position W, and obtaining the occlusion boundary point, and calculating the safe boundary distance L2 in the X, Y, and Z axis directions of the position W; the occlusion boundary distance L1 is a fixed value limit of the occlusion boundary distance L1 after the limit calculation is completed according to the maximum speed limit value Vmax of the end effector of the robot arm and the system response time T, or is calculated according to the real-time feed speed value Vi of the end effector of the robot arm and the system response time T to achieve dynamic changes; and according to the occlusion boundary distance L1, the current momentum and deceleration value of the end effector of the robot arm, the speed limit curve Vlim of the moving occlusion boundary is calculated and updated in real time; when the moving occlusion boundary point exceeds the safe boundary, the speed limit curve Vlim of the moving occlusion boundary stops updating, and the movement is stopped according to the last calculated speed limit curve Vlim of the moving occlusion boundary, the occlusion boundary distance L1 and the current deceleration and parking strategy of the end effector of the robot arm; Step S3: Determine whether the occlusion boundary point exceeds the safety boundary, whether the occlusion boundary point does not exceed the safety boundary, or whether the moving occlusion boundary point overlaps the safety boundary; specifically: ①, when the safety boundary distance L2 is greater than the block boundary distance L1, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi less than the last updated value of the speed limit curve Vlim of the moving block boundary until the moving distance is the block boundary distance L1 and stops; ②, when the occlusion boundary point does not exceed the safety boundary, the end effector of the robot arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robot arm; The safety boundary distance L2>occlusion boundary distance L1 is sufficient in at least one direction of the X, Y, and Z axes.
9. The safety boundary control method based on moving blocking technology according to claim 1 is characterized in that: The method further comprises step S4, determining whether a system failure occurs when the blocking boundary point exceeds the safety boundary, or whether a system failure does not occur when the blocking boundary point exceeds the safety boundary, or whether a system failure occurs when the blocking boundary point does not exceed the safety boundary, or whether a system failure does not occur when the blocking boundary point does not exceed the safety boundary; If no system failure occurs when the block boundary point exceeds the safety boundary, the maximum speed limit value Vmax and the speed limit curve Vlim of the moving block boundary are not updated, and the distance from the current position W to the block boundary distance L1 in the X, Y, and Z axis directions is divided into N deceleration and stop planning cycles. According to the parameters of the end effector of the manipulator, the real-time feed speed value Vi of the end effector of the manipulator receives the speed limit curve Vlim of the moving block boundary for active protection deceleration, that is, the end effector of the manipulator continues to move according to the predetermined motion trajectory with a real-time feed speed value Vi that is less than the last updated value of the speed limit curve Vlim of the moving block boundary, until the moving distance is the block boundary distance L1 and stops; If a system failure occurs when the blocking boundary point exceeds the safety boundary or a system failure occurs when the blocking boundary point does not exceed the safety boundary, an STO emergency stop command is executed; If no system failure occurs when the occlusion boundary point does not exceed the safety boundary, the speed limit curve Vlim of the occlusion boundary is calculated and updated, and the end effector of the robotic arm continues to move according to the predetermined motion trajectory at a real-time feed speed value Vi that is less than the maximum speed limit value Vmax of the end effector of the robotic arm.
10. The safety boundary control method based on moving blocking technology according to claim 8, characterized in that: It also includes step S5, which verifies the incremental error between the A-series encoder reducer side module and the reducer side encoder B by receiving the relationship between the reduction ratio M between the A-series encoder reducer side module and the reducer side encoder B placed in the joint shaft of the robotic arm; if the incremental error exceeds a certain threshold, it is determined that the current position W of the end effector of the robotic arm is invalid, and the updating of the speed limit curve Vlim of the moving occlusion boundary is stopped.
