Control method, device, control equipment and robot for robot arm

Through the control method of the robot arm, the problem of unsatisfactory installation position of the acetabular cup prosthesis in hip replacement is solved, the precise installation of the acetabular cup prosthesis is achieved, and the accuracy and safety of the operation are improved.

CN117796972BActive Publication Date: 2024-09-13BEIJING HURWA ROBOT MEDICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211167407.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2024-09-13
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

In hip replacement surgery, it is difficult to ensure that the installation position of the acetabular cup prosthesis is consistent with the planned optimal position using existing technology, resulting in unsatisfactory installation, affecting the surgical effect and increasing the risk of complications.

Method used

Using the control method of the robot arm, by obtaining the pose relationship between the target object and the actuator, calculating the pose of the target object, and adjusting the motion of the robot arm according to the pose and coordinate system conversion relationship of the robot arm to ensure acetabular grinding or The installation of the acetabular cup prosthesis is carried out strictly according to the plan.

Benefits of technology

It achieves precise installation of the acetabular cup prosthesis, ensures that the position is consistent with the plan, improves the accuracy and safety of the operation, and reduces the risk of complications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117796972B
    Figure CN117796972B
Patent Text Reader

Abstract

The present application discloses a control method, device, control equipment and robot for a robot arm. The method includes calculating the posture of the target object according to the posture of the actuator and the first relative posture relationship between the actuator and the target object; calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system, and combining the second relative posture relationship of the target posture of the reference object in the target object coordinate system, calculating the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system, and obtaining the adjustment information of the robot arm including Euler angle rotation information and position movement information; according to the adjustment information, controlling the movement of the robot arm to move the target object to the target posture and target position corresponding to the target posture of the reference object. According to the embodiment of the present application, the grinding of the acetabulum or the installation process of the acetabular cup prosthesis can be strictly implemented according to the plan, so as to achieve the ideal effect of the installation posture of the acetabular cup prosthesis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of medical electronic technology, and in particular, relates to a control method, device, control equipment and robot for a robot arm. Background Art

[0002] Hip replacement, also known as artificial hip replacement, is a procedure in which an artificial prosthesis, including the femoral part and the acetabulum part, is fixed to normal bone using bone cement and screws to replace the diseased joint and reconstruct the normal function of the patient's hip joint.

[0003] In the current stage of total hip arthroplasty (THA), although doctors can determine the optimal installation position of the prosthesis model through preoperative planning, the axial direction or position of the surgical tools is still completely determined by the doctor's subjectivity, whether it is grinding the acetabulum or installing the acetabular cup prosthesis. This determination method may vary greatly due to different doctors' operations or the same doctor's operations in different states and other influencing factors. Whether it is grinding the acetabulum or installing the acetabular cup prosthesis, if it is not strictly implemented according to the plan, the installation position of the acetabular cup prosthesis will be far from the planned optimal installation position, resulting in an unsatisfactory installation position of the acetabular cup prosthesis. Summary of the invention

[0004] The embodiments of the present application provide a control method, device, control equipment and robot for a robot arm, which can enable the grinding of the acetabulum or the installation of the acetabular cup prosthesis to be carried out strictly according to the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0005] In a first aspect, an embodiment of the present application provides a method for controlling a robot arm, the method comprising:

[0006] Acquire a first relative position and posture relationship between the target object and the actuator;

[0007] Calculating the position and posture of the target object according to the position and posture of the actuator and the first relative position and posture relationship;

[0008] According to the position and posture of the target object and the position and posture of the robot arm, the transformation relationship between the target object coordinate system and the robot arm coordinate system is calculated;

[0009] Determine a second relative posture relationship of the target posture of the reference object in the target object coordinate system;

[0010] Calculating a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the transformation relationship;

[0011] Calculating adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information;

[0012] According to the Euler angle rotation information and the position movement information, the robot arm is controlled to move so that the target object moves to the target posture and target position corresponding to the target posture of the reference object.

[0013] In some embodiments, the target object is equipped with a register; obtaining a first relative position relationship between the target object and the actuator includes:

[0014] When the registrar assists the target object and is connected to the actuator, a fourth relative posture relationship between the registrar and the actuator is obtained;

[0015] According to the fourth relative posture relationship, a first relative posture relationship between the target object and the actuator is determined.

[0016] In some embodiments, after controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information, the method further includes:

[0017] Determine the axis to be moved of the target object;

[0018] According to the axis to be moved, the first stiffness of the end of the robot arm along the axis to be moved and the second and third stiffnesses perpendicular to the axis to be moved are determined, so that the operator can control the movement of the robot arm in a straight direction, wherein the first stiffness is smaller than the second and third stiffnesses.

[0019] In some embodiments, the target object includes a file, and after determining the first stiffness of the end of the robot arm along the axis to be moved and the second stiffness and the third stiffness perpendicular to the axis to be moved according to the axis to be moved, the method further includes:

[0020] Determine the grinding comparison portion of the file according to the allowable grinding depth;

[0021] Identify non-grinding areas;

[0022] When the filer moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, the robot arm is controlled to stop moving to prevent the filer from entering the non-grinding area.

[0023] In some embodiments, before controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information, the method further includes:

[0024] When the rotation matrix corresponding to the target object is not less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than a second preset displacement threshold, a control instruction is generated, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop manually pulling the robot arm movement, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving. At least one of the following.

[0025] In a second aspect, an embodiment of the present application provides a control device for a robot arm, the device comprising:

[0026] An acquisition module, used for acquiring a first relative position and posture relationship between the target object and the actuator;

[0027] A calculation module, used for calculating the posture of the target object according to the posture of the actuator and the first relative posture relationship;

[0028] The calculation module is further used to calculate the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm;

[0029] A determination module, used to determine a second relative posture relationship between a target posture of the reference object and a target posture in a target object coordinate system;

[0030] The calculation module is further used to calculate a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship;

[0031] The calculation module is further used to calculate adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information;

[0032] The control module is used to control the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to the target posture and target position corresponding to the target posture of the reference object.

[0033] In some embodiments, the target object is installed with a registrar; the acquisition module specifically includes:

[0034] An acquisition unit, used for acquiring a fourth relative posture relationship between the registrar and the actuator when the registrar assists the target object and is connected to the actuator;

[0035] The determination unit is used to determine the first relative posture relationship between the target object and the actuator according to the fourth relative posture relationship.

[0036] In some embodiments, the above-mentioned determination module is further used to determine the axis to be moved of the target object;

[0037] The above-mentioned determination module is also used to determine the first stiffness of the end of the robot arm along the axis to be moved and the second stiffness and the third stiffness perpendicular to the axis to be moved according to the axis to be moved, so that the operator can control the movement of the robot arm in a straight line direction, wherein the first stiffness is smaller than the second stiffness and the third stiffness.

[0038] In some embodiments, the target object includes a file; the determination module is further used to determine the grinding comparison portion of the file according to the allowed multiple grinding depths;

[0039] The above-mentioned determination module is also used to determine the non-grinding area;

[0040] The control module is also used to control the robot arm to stop moving when the file is moving, if the area corresponding to the grinding comparison part intersects with the non-grinding area, so as to prevent the file from entering the non-grinding area.

[0041] In some embodiments, the above apparatus further comprises:

[0042] A generation module is used to generate a control instruction when the rotation matrix corresponding to the target object is not less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than a second preset displacement threshold, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop manually pulling the robot arm movement, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving.

[0043] In a third aspect, an embodiment of the present application provides a control device for a robot arm, the device comprising: a processor and a memory storing computer program instructions;

[0044] When the processor executes the computer program instructions, the method described in the first aspect is implemented.

[0045] In a fourth aspect, an embodiment of the present application provides a robot, the robot comprising: a navigation system, a robot arm, and a control device for the robot arm; an actuator is installed at the end of the robot arm, and a target object is set on the actuator;

[0046] Through the navigation system, the control device obtains the position and posture of the actuator and the position and posture of the robot arm;

[0047] The control device obtains a first relative position and posture relationship between the target object and the actuator;

[0048] The control device calculates the position and posture of the target object according to the position and posture of the actuator and the first relative position and posture relationship;

[0049] The control device calculates the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm;

[0050] The control device determines a second relative posture relationship between the target posture of the reference object in the target object coordinate system;

[0051] The control device calculates a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the transformation relationship;

[0052] The control device calculates adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information;

[0053] The control device controls the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to the target posture and target position corresponding to the target posture of the reference object.

[0054] In a fifth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in the first aspect is implemented.

[0055] In a sixth aspect, an embodiment of the present application provides a computer program product, characterized in that when instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method described in the first aspect.

[0056] The control method, device, control equipment and robot of the robot arm provided in the embodiments of the present application can obtain a first relative posture relationship between the target object and the actuator; then calculate the posture of the target object according to the posture of the actuator and the first relative posture relationship; then calculate the transformation relationship between the target object coordinate system and the robot arm coordinate system according to the posture of the target object and the posture of the robot arm; then determine the second relative posture relationship of the target posture of the reference object in the target object coordinate system; then calculate the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the transformation relationship; then calculate the adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; then control the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to the target posture and target position corresponding to the target posture of the reference object. In this way, the position and posture of the target object is calculated according to the position and posture of the actuator and the first relative position and posture relationship between the actuator and the target object, so as to achieve the effect of obtaining the position and posture of the target object in real time, so as to achieve the effect of real-time monitoring of the grinding file or the acetabular cup prosthesis during the grinding of the acetabulum or the installation of the acetabular cup prosthesis; by calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system, and combining the second relative position and posture relationship of the target position and posture of the reference object in the target object coordinate system, the third relative position and posture relationship of the target position and posture of the reference object in the robot arm coordinate system is calculated, that is, the optimal installation posture of the artificial prosthesis planning or the target posture of the acetabulum grinding in the robot arm coordinate system is calculated. The third relative posture relationship under the reference system is used to obtain the adjustment information of the robot arm including the Euler angle rotation information and the position movement information, so as to control the movement of the robot arm accurately so as to move the target object to the target posture and target position corresponding to the target posture of the reference object, thereby ensuring the maximum precision grinding of the acetabulum and the precise placement of the acetabular cup prosthesis, and achieving the grinding of the acetabulum or the installation of the acetabular cup prosthesis in strict accordance with the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0058] Figure 1 A schematic structural diagram of a robot provided in an embodiment of the present application is shown.

[0059] Figure 2A schematic diagram showing a target object installed on the end effector of a robot arm provided in an embodiment of the present application is shown.

[0060] Figure 3 A schematic flow chart of a method for controlling a robot arm provided in an embodiment of the present application is shown.

[0061] Figure 4 A schematic diagram showing a target object provided by an embodiment of the present application having a registrar installed thereon is shown.

[0062] Figure 5 A schematic diagram showing multiple grinding depths allowed by an embodiment of the present application is shown.

[0063] Figure 6 A schematic structural diagram of a control device for a robot arm provided in an embodiment of the present application is shown.

[0064] Figure 7 A schematic diagram of the hardware structure of a control device for a robot arm provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0065] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0066] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0067] Although hip replacement has a history of more than half a century, the placement of the acetabular cup prosthesis in hip replacement should generally be between 5 and 25 degrees of anteversion and between 30 and 50 degrees of abduction.

[0068] However, current hip replacements are performed by doctors manually installing the acetabular cup prosthesis. This method of manually installing the acetabular cup prosthesis may result in a less than ideal installation position and posture of the acetabular cup prosthesis due to different doctors or different conditions of the same doctor, as well as other influencing factors.

[0069] For example, a doctor with rich clinical experience can place the acetabular cup prosthesis as ideally as possible, but it cannot be guaranteed to be so ideal every time, which may be affected by personal status and other factors. In addition, not every doctor is a top surgeon. For example, when a new doctor just starts to perform surgery, he needs a lot of clinical training to gradually become an expert who can handle everything on his own. This means that it takes a long learning and growth cycle to become a top surgeon. During this period, it is inevitable that some surgeries will be unsatisfactory, which may increase the probability of complications.

[0070] Improper installation of the acetabular cup prosthesis will directly affect the surgical outcome and may lead to post-replacement dislocation, prosthesis impact, reduced hip joint mobility, and increased prosthesis wear.

[0071] At present, the revision rate of total hip replacement surgery is still high. According to relevant literature statistics, the revision rate of total hip replacement surgery is as high as 15%-20%. That is to say, 15%-20% of patients have to return to the hospital for revision surgery of the acetabular cup prosthesis 15 to 20 years after the implantation of the acetabular cup prosthesis. One of the important reasons for the above situation is that the installation position of the acetabular cup prosthesis was not accurate enough during the patient's first surgery.

[0072] In the process of robot-assisted THA, the patient's bone model is generated by three-dimensional reconstruction of the patient's electronic computed tomography (CT) data. In the surgical planning phase, the appropriate prosthesis model is selected on the software according to the patient's actual situation, and the installation posture of the prosthesis model is planned. Among them, by selecting the appropriate prosthesis model, the prosthesis model can be made to correspond to the physical prosthesis.

[0073] Since the entire planning is carried out on a high-precision digital model, the accuracy of the surgical planning is guaranteed, thus ensuring that the installation posture of the prosthesis model in the planning is very ideal. In actual application, if the surgery can be carried out according to the planning in the software, the final installation posture of the prosthesis in the patient's body is also very ideal.

[0074] Acetabular grinding and acetabular cup prosthesis installation are the most critical parts of the entire surgical process. The quality of acetabular grinding directly determines the placement effect of the acetabular cup prosthesis. The standard for the quality of acetabular grinding is to be able to grind the acetabulum according to the prosthesis installation position and posture planned in the surgical planning steps. Ensuring that the acetabular grinding effect and the placement of the acetabular cup prosthesis can fully meet the preoperative plan is an important evaluation indicator for the surgical accuracy of surgical equipment. However, there is currently a problem of how to ensure that the acetabular grinding effect and the placement of the acetabular cup prosthesis can be strictly implemented according to the preoperative plan, so as to solve the problem that the installation posture of the acetabular cup prosthesis is far from the planned optimal installation posture, resulting in an unsatisfactory installation posture of the acetabular cup prosthesis.

[0075] In order to solve the above technical problems, the embodiments of the present application provide a control method, device, control equipment and robot for a robot arm. The robot provided by the embodiments of the present application is first introduced below.

[0076] Figure 1 A schematic structural diagram of a robot provided in an embodiment of the present application is shown. Figure 2 A schematic diagram showing a target object installed on the end effector of a robot arm provided in an embodiment of the present application is shown. Figure 1 and Figure 2 As shown, the robot 100 provided in the embodiment of the present application includes a robot arm control device 101, a navigation system 102 and a robot arm 103. An actuator 104 is installed at the end of the robot arm 103, a tracer 1041 is arranged on the actuator 104, and a target object 105 is arranged on the actuator 104.

[0077] In one embodiment, the navigation system 102 may include an infrared visual tracking system used for surgical robot navigation to improve the accuracy of robot navigation. The infrared visual tracking system includes a locator and a tracer on the tracked object, wherein the locator is used to obtain the real-time position and posture of the tracer. In addition, the navigation system may also include a device such as a camera that can directly obtain or the camera and the processor can obtain the position and posture of the physical object together.

[0078] In one embodiment, when an acetabular grinding operation is to be performed during surgery, the target object 105 may be a rasp, which is a rasp head of an acetabular rasp.

[0079] In one embodiment, if an acetabular cup prosthesis installation operation is to be performed during surgery, the target object 105 may also be an acetabular cup prosthesis, and the acetabular cup prosthesis is installed on a cup holder.

[0080] In one embodiment, the robot 100 may further include a display device for displaying a preoperatively planned prosthesis model and / or a real object during surgery during the grinding of the acetabulum or the installation of the acetabular cup prosthesis.

[0081] In one embodiment, the robot arm control device 101 obtains the position and posture of the actuator 104 through the navigation system 102 and the tracer 1041 of the robot 100, and then obtains the position and posture of the robot arm 103 through the tracer of the robot arm 103. The robot arm control device 101 obtains the first relative position and posture relationship between the target object 105 and the actuator 104.

[0082] The robot arm control device 103 then calculates the position and posture of the target object 105 according to the position and posture of the actuator 104 and the first relative position and posture relationship, and then calculates the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object 105 and the position and posture of the robot arm 103. The target object coordinate system and the robot arm coordinate system are both constructed in the navigation system 102.

[0083] The control device 101 of the robot arm then determines a second relative posture relationship of the target posture of the reference object in the target object coordinate system. The control device 101 of the robot arm then calculates a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system based on the second relative posture relationship and the transformation relationship, and calculates adjustment information of the robot arm based on the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information.

[0084] The control device 101 of the robot arm controls the movement of the robot arm 103 according to the Euler angle rotation information and the position movement information, so that the target object 105 moves to the target posture and target position corresponding to the target posture of the reference object.

[0085] It should be noted that the reference object is a three-dimensional model in planning, the target object is a physical object in surgery, and the reference object corresponds to the target object. After the preoperative planning is completed, the optimal installation posture and / or waiting posture of the reference object in the three-dimensional virtual space can be determined. It can be understood that the posture includes position and posture. The target posture of the reference object can be understood as the corresponding posture of the reference object in the real space determined by the intraoperative registration based on the optimal installation posture and / or waiting posture of the reference object in the three-dimensional virtual space. The target posture of the reference object has an intersection with the bone at the installation position, and the intersection is the part of the bone that needs to be ground. The control device of the robot arm can record the intersection of the target posture of the reference object and the bone at the installation position, as well as the target posture of the reference object. The robot can also display the intersection, the target posture of the reference object and the real-time posture of the target object, etc., so as to be used in the grinding of the acetabulum or the installation of the acetabular cup prosthesis, such as for comparison.

[0086] During surgery, the bone and the prosthesis model in the software are mapped to each other. During the grinding of the acetabulum or the installation of the acetabular cup prosthesis, the robot arm holds the acetabular rasp or cup holder and controls the position of the acetabular rasp or cup holder so that the rasp can grind the bone or the acetabular cup prosthesis can be installed to the best installation position.

[0087] The above is a specific implementation method of the robot provided in the embodiment of the present application. The first relative posture relationship between the target object and the actuator is obtained through the control device of the robot arm; then the posture of the target object is calculated according to the posture of the actuator and the first relative posture relationship; then the conversion relationship between the target object coordinate system and the robot arm coordinate system is calculated according to the posture of the target object and the posture of the robot arm; then the second relative posture relationship of the target posture of the reference object in the target object coordinate system is determined; then the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system is calculated according to the second relative posture relationship and the conversion relationship; then the adjustment information of the robot arm is calculated according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; then the robot arm is controlled to move according to the Euler angle rotation information and the position movement information so that the target object moves to the target posture and target position corresponding to the target posture of the reference object. In this way, the position and posture of the target object is calculated according to the position and posture of the actuator and the first relative position and posture relationship between the actuator and the target object, so as to achieve the effect of obtaining the position and posture of the target object in real time, so as to achieve the effect of real-time monitoring of the grinding file or the acetabular cup prosthesis during the grinding of the acetabulum or the installation of the acetabular cup prosthesis; by calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system, and combining the second relative position and posture relationship of the target position and posture of the reference object in the target object coordinate system, the third relative position and posture relationship of the target position and posture of the reference object in the robot arm coordinate system is calculated, that is, the optimal installation posture of the artificial prosthesis planning or the target posture of the acetabulum grinding in the robot arm coordinate system is calculated. The third relative posture relationship under the reference system is used to obtain the adjustment information of the robot arm including the Euler angle rotation information and the position movement information, so as to control the movement of the robot arm accurately so as to move the target object to the target posture and target position corresponding to the target posture of the reference object, thereby ensuring the maximum precision grinding of the acetabulum and the precise placement of the acetabular cup prosthesis, and achieving the grinding of the acetabulum or the installation of the acetabular cup prosthesis in strict accordance with the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0088] Next, the control method of the robot arm provided in the embodiment of the present application is introduced.

[0089] Figure 3 FIG. 1 is a flow chart showing a control method for a robot arm according to an embodiment of the present application. Figure 3As shown, the control method of the robot arm provided in the embodiment of the present application includes the following steps: S301 to S307.

[0090] S301, obtaining a first relative position and posture relationship between a target object and an actuator.

[0091] The control device of the robot arm obtains a first relative posture relationship between the actuator and the target object. Based on the first relative posture relationship, the real-time posture of the target object can be calculated through the real-time posture of the actuator to prepare for subsequent calculations.

[0092] Since the use of the grinder and the acetabular cup prosthesis is in different stages, the first relative position and posture relationship between the target object and the actuator is obtained, including: in the grinding stage, obtaining the first relative position and posture relationship between the grinder and the actuator; and / or, in the stage where the grinding is completed and the prosthesis is installed, obtaining the first relative position and posture relationship between the acetabular cup prosthesis and the actuator.

[0093] S302: Calculate the posture of the target object according to the posture of the actuator and the first relative posture relationship.

[0094] The position and posture of the actuator and the first relative position and posture relationship are both in the same camera coordinate system calibrated by the navigation system (that is, the locator of the navigation system is regarded as a camera and the camera coordinate system is constructed). Through the navigation system, the target object and the actuator in the first relative position and posture relationship are unified into the same camera coordinate system, and the position and posture of the target object are determined with the help of the spatial data provided by the camera coordinate system, that is, in the same camera coordinate system, the position and posture of the grinding tool or acetabular cup prosthesis are calculated according to the position and posture of the actuator and the first relative position and posture relationship. Among them, the position and posture of the actuator can be obtained with the help of a tracer set on the actuator.

[0095] Because the target object is rotating at high speed during surgery, such as grinding, it is not advisable to directly obtain its position and posture in real time. With the help of the real-time position and posture relationship of the actuator and the first relative position and posture, the position and posture of the target object can be indirectly obtained, which is more accurate and practical, and makes full use of the existing tracer on the actuator.

[0096] S303: Calculate the transformation relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm.

[0097] The target object coordinate system can be a coordinate system established based on the position and posture of the target object, that is, the position and posture of the target object coordinate system is based on the position and posture of the target object. The robot arm coordinate system can be a coordinate system with the tool center point of the robot arm as the origin, that is, the TCP (Tool Center Point, TCP) coordinate system.

[0098] The robot arm's control device obtains the robot arm's position and posture through the robot's navigation system. For example, the navigation system includes an infrared visual tracking system to improve the accuracy of the robot's navigation. The infrared visual tracking system includes a locator and a tracer on the tracked object, wherein the locator is used to obtain the real-time position and posture of the tracer installed on the robot arm to determine the robot arm's position and posture. The TCP coordinate system's position and posture shall be based on the robot arm's position and posture.

[0099] The transformation relationship between the target object coordinate system and the robot arm coordinate system is calculated through the position and posture of the target object coordinate system and the robot arm coordinate system.

[0100] S304: Determine a second relative posture relationship between the target posture of the reference object in the target object coordinate system.

[0101] The reference object includes the planned file model. The reference object also includes the planned acetabular cup prosthesis model. Through preoperative planning, the optimal installation posture and / or waiting posture of the reference object in the three-dimensional virtual space can be determined. It can be understood that the posture includes position and posture. Based on this, through intraoperative alignment, the corresponding posture of the reference object in the real space can be determined as the target posture of the reference object. Then, based on the target posture of the reference object and the target object coordinate system, the second relative posture relationship of the target posture of the reference object in the target object coordinate system is determined.

[0102] Specifically, the pose of the target object is the pose of the target object coordinate system, and according to the mapping relationship between the pose of the target object and the target pose of the reference object, the second relative pose relationship of the target pose of the reference object in the target object coordinate system is determined.

[0103] In one embodiment, the target posture information of the acetabular cup prosthesis in the hip bone coordinate system can be determined through preoperative planning, and then the posture of the target object in the hip bone coordinate system can be determined during the operation, thereby determining the second relative posture relationship of the target posture of the acetabular cup prosthesis in the target object coordinate system.

[0104] S305. Calculate a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the transformation relationship.

[0105] The second relative posture relationship of the target posture of the reference object in the target object coordinate system is calculated through the conversion relationship between the target object coordinate system and the robot arm coordinate system to calculate the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system.

[0106] S306. Calculate adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information.

[0107] According to the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system, the adjustment information of the robot arm is calculated.

[0108] In one embodiment, the third relative posture relationship is in the form of a three-by-three rotation matrix, which is converted into a rotation sequence of Yaw, Pitch, and Roll by calculation to determine the Euler angle rotation information of the robot arm.

[0109] S307 . Control the robot arm to move according to the Euler angle rotation information and the position movement information, so that the target object moves to a target posture and a target position corresponding to the target posture of the reference object.

[0110] The control device of the robot arm controls the movement of the robot arm according to the Euler angle rotation information and the position movement information, which is equivalent to adjusting the grinder and the acetabular cup prosthesis from the current posture and position to the target posture and target position corresponding to the target posture.

[0111] In some embodiments, the adjustment information further includes grinding amount information. The robot arm is controlled to move according to the grinding amount information, so as to drive the filer to grind the target position, where the target position is the position where the target prosthesis is installed.

[0112] In some embodiments, when the position of the target object is consistent with the target position of the reference object, only the Euler angle rotation information of the robot arm can be calculated through the above steps S301 to S307 to adjust the posture of the target object to the target posture of the reference object.

[0113] In some embodiments, when the posture of the target object is consistent with the target posture of the reference object, only the position movement information of the robot arm can be calculated through the above steps S301 to S307 to adjust the position of the target object to the target position of the reference object.

[0114] In one embodiment, the relative position pos of the target position of the reference object in the target object coordinate system is calculated, and the relative position relationship pos1 of the actuator in the target object coordinate system is calculated; using the conversion relationship between the target object coordinate system and the robot arm coordinate system, pos and pos1 are converted to the robot arm coordinate system to obtain new position relationships rotpos and rotpos1; using the first relative posture relationship between the target object and the actuator, combined with rotpos1, the position of the target object relative to the robot arm is calculated; and then combined with rotpos, the position movement information of the robot arm is calculated.

[0115] The above is a specific implementation of the control method of the robot arm provided in the embodiment of the present application. By obtaining the first relative posture relationship between the target object and the actuator; then calculating the posture of the target object according to the posture of the actuator and the first relative posture relationship; then calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the posture of the target object and the posture of the robot arm; then determining the second relative posture relationship of the target posture of the reference object in the target object coordinate system; then calculating the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship; then calculating the adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; then controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to the target posture and target position corresponding to the target posture of the reference object. In this way, the position and posture of the target object is calculated according to the position and posture of the actuator and the first relative position and posture relationship between the actuator and the target object, so as to achieve the effect of obtaining the position and posture of the target object in real time, so as to achieve the effect of real-time monitoring of the grinding device or the acetabular cup prosthesis during the grinding of the acetabulum or the installation of the acetabular cup prosthesis; by calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system, and combining the second relative position and posture relationship of the target posture of the reference object in the target object coordinate system, the third relative position and posture relationship of the target posture of the reference object in the robot arm coordinate system is calculated, that is, the optimal installation posture of the artificial prosthesis planning or the target posture of the acetabulum grinding in the robot arm coordinate system is calculated. The three relative posture relationships are used to obtain the adjustment information of the robot arm, including the Euler angle rotation information and the position movement information, so as to control the movement of the robot arm accurately so as to move the target object to the target posture and target position corresponding to the target posture of the reference object, thereby saving the doctor's labor and ensuring the maximum precision grinding of the acetabulum and the precise placement of the acetabular cup prosthesis, so that during the grinding of the acetabulum or the installation of the acetabular cup prosthesis, the grinding of the acetabulum or the installation of the acetabular cup prosthesis is strictly implemented according to the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0116] In some embodiments of the present application, obtaining the first relative position and posture relationship between the target object and the actuator includes: during mechanical design, after setting the target object on the actuator, the first relative position and posture relationship between the target object and the actuator can be determined. However, there are errors in mechanical processing or installation, and the target object corresponds to multiple manufacturers or multiple models, which results in inaccurate first relative position and posture relationship between the target object and the actuator determined in this way. Further, in order to improve the shortcomings of this solution, the following solution is proposed.

[0117] In some embodiments of the present application, the target object is installed with a registrar, and in S301, the following steps may also be included:

[0118] S3011. When the registrar assists the target object and is connected to the actuator, a fourth relative posture relationship between the registrar and the actuator is obtained.

[0119] S3012: Determine a first relative posture relationship between the target object and the actuator according to the fourth relative posture relationship.

[0120] Figure 4 A schematic diagram showing a target object provided by an embodiment of the present application having a registrar installed therein is shown. Figure 2 and Figure 4 As shown, during the registration process for registering the target object to the control device of the robot arm, the register 107 and the acetabular rasp or cup holder including the target object 105 are detachably rigidly connected.

[0121] In one embodiment, the register 107 is coupled to a reamer stem of an acetabular reamer such that a portion of the register 107 abuts the reamer.

[0122] The relative position relationship between the register and the acetabular rasp or the cup holder can be preset. When the register and the acetabular rasp or the cup holder are connected, the register can obtain the position of the acetabular rasp or the cup holder.

[0123] The registration process of the target object to the control device of the robot arm is completed through the register, and the registration of the acetabular rasp and the cup holder are basically the same.

[0124] It should be noted that the registration of the acetabular rasp is different from that of the cup holder. During the grinding stage, you need to select the acetabular rasp model currently in use when registering the acetabular rasp, that is, select the model corresponding to the actual acetabular rasp model on the software. The registration of the cup holder is relatively simple. After the grinding is completed and the prosthesis is installed, you can directly register after installing the register.

[0125] The target object is registered to the control device of the robot arm, that is, the reference object of the target object is determined by software.

[0126] During the registration process, the operator is required to install the acetabular rasp or cup holder. After the acetabular rasp or cup holder is installed, the device where the software is installed responds to the operator clicking on the registration, and the software will calculate the relative posture relationship between the acetabular rasp or cup holder and the actuator.

[0127] Specifically, the navigation system obtains the real-time posture of the register and the real-time posture of the actuator, thereby determining a fourth relative posture relationship between the register and the actuator, and determines the fourth relative posture relationship between the register and the actuator as the first relative posture relationship between the target object and the actuator.

[0128] After registration is completed, the register can be removed based on the detachable rigid connection between the register and the acetabular rasp or cup holder.

[0129] In one embodiment, after the operator installs the target object on the actuator, the display interface in the display device will display the currently installed target object model. The display interface may also display the axial line corresponding to the target posture of the reference object, as well as the target anteversion angle, target abduction angle, current anteversion angle, and current abduction angle.

[0130] The target object is assisted by a register, that is, the register is installed on the target object, the fourth relative posture relationship between the register and the actuator is determined, and the register is used as an indirect reference to calculate the first relative posture relationship between the target object and the actuator. Compared with the solution of determining the first relative posture relationship between the target object and the actuator through mechanical design, the accuracy of the calculated first relative posture relationship between the target object and the actuator is further improved, so that the grinding of the acetabulum or the installation process of the acetabular cup prosthesis is strictly implemented according to the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0131] In some embodiments of the present application, after S307, the above method may further include the following steps:

[0132] S308: Determine the axis to be moved of the target object.

[0133] S309. According to the axis to be moved, determine the first stiffness of the end of the robot arm along the axis to be moved and the second and third stiffnesses perpendicular to the axis to be moved, so that the operator can control the movement of the robot arm in a straight line, wherein the first stiffness is smaller than the second and third stiffnesses.

[0134] When the position of the target object is adjusted to the target position of the reference object, it is determined that the axes of the target object and the reference object are coincident. At this time, the position of the target object is the waiting position, that is, the position waiting for grinding or installation. Therefore, during the grinding of the acetabulum or the installation of the acetabular cup prosthesis, the robot arm is controlled in a straight line mode to reach the final position.

[0135] For example, during the grinding stage, the operator will manually apply slight force to the robot arm to make the rod where the rasp is located enter the bone in a straight line. When the grinding is completed and the prosthesis is installed, the operator uses a slide hammer to drive the acetabular cup prosthesis at one end of the rod where the cup holder is located into the installation position.

[0136] The current axis to be moved by the target object includes the x-axis, y-axis, z-axis, and the axis determined by any two points. Specifically, the current axis to be moved by the target object can be the axis determined by the positions of the target object and the reference object, where the pose is the same but the position is different. The axis determined in this way can ensure that the movement of the target object remains the same as the planned axis, thereby strictly enforcing accuracy.

[0137] In one embodiment, the axis to be moved of the target object can be determined to be any one of the x-axis, y-axis or z-axis, so that the target object moves in a straight line along any one of the x-axis, y-axis or z-axis, thereby making the robot arm enter the straight line mode.

[0138] In one embodiment, the axis to be moved of the target object can also be determined to be any two of the x-axis, y-axis or z-axis, so that the target object is moved along a straight line between any two of the x-axis, y-axis or z-axis, thereby allowing the robot arm to enter a straight line mode.

[0139] The linear mode is achieved by limiting the stiffness of the robot arm in each axis, setting different stiffness in the x-axis, y-axis and z-axis directions.

[0140] For example, the maximum rigidity is set in the x-axis and y-axis directions, and a very small rigidity is set in the z-axis direction. At this time, the robot arm can only move in a straight line along the z direction.

[0141] The rigidity is set by the robot arm's control program.

[0142] In one embodiment, the setting stiffness is calculated by a control device of the robot arm, such as calculating stiffness parameters of each axis on the x-axis, y-axis and z-axis according to the target axis.

[0143] By determining the axis to be moved of the target object, and according to the axis to be moved, determining the first stiffness of the end of the robot arm along the axis to be moved and the second and third stiffnesses perpendicular to the axis to be moved, the first stiffness is made smaller than the second and third stiffnesses, thereby allowing the robot arm to perform a straight line mode, that is, the operator controls the movement of the robot arm in a straight line direction to keep the acetabular rasp or cup holder moving only on a specified straight line, and further allowing the grinding of the acetabulum or the installation process of the acetabular cup prosthesis to be strictly implemented according to the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0144] In some embodiments of the present application, the target object includes a rasp. After S309, the method may further include the following steps:

[0145] S310, determining a grinding comparison portion of the file according to the allowed multiple grinding depths.

[0146] S311. Determine a non-grinding area.

[0147] S312. When the filer moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, the robot arm is controlled to stop moving to prevent the filer from entering the non-grinding area.

[0148] Figure 5 FIG. 2 shows a schematic diagram of allowing multiple grinding depths provided by an embodiment of the present application. Figure 5 As shown in the figure, the solid line surface is the outer surface of the file, r1 represents the radius of the file, and d represents the maximum grinding depth allowed. From this, the grinding comparison part of the file can be determined. The grinding comparison part is the part surrounded by the comparison boundary surface and the file plane. As shown in the figure, the dotted line surface is the comparison boundary surface, and its corresponding r2 = r1-d. The hemisphere represented by the radius r2 is the area corresponding to the grinding comparison part at the beginning of the grinding stage, that is, the area corresponding to the part of the file that grinds the bone.

[0149] During the grinding stage, the allowable grinding depth can be preset manually. According to the allowable grinding depth, the grinding comparison part of the file is determined.

[0150] The non-grinding area can be determined based on the intersection between the target posture of the reference object and the bone at the installation position. The intersection is the part of the bone that needs to be ground. The non-grinding area is the part of the bone that does not need to be ground. Its position is obtained in real time to determine the non-grinding area.

[0151] When the target object moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, the robot arm is controlled to stop moving to prevent the grinder from entering the non-grinding area.

[0152] In one embodiment, the robot arm can be controlled to output torque to prevent the operator from manually pulling the file into a non-grinding area.

[0153] When the robot arm enters the straight line mode, by determining the grinding comparison part and non-grinding area of ​​the grinder, when the target object moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, the robot arm is controlled to stop moving to prevent the grinder from entering the non-grinding area, thereby avoiding the problem of excessive bone grinding in the grinding stage, so that the grinding of the acetabulum or the installation process of the acetabular cup prosthesis is strictly implemented according to the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0154] In some embodiments of the present application, before S307, the above method may further include the following steps:

[0155] S313. When the rotation matrix corresponding to the target object is not less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than a second preset displacement threshold, a control instruction is generated, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop manually pulling the robot arm movement, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving. At least one of the following.

[0156] The first preset rotation matrix threshold and the second preset displacement threshold can both be set manually.

[0157] Before the robot arm enters the automatic alignment, the movement of the robot arm can also be manually controlled through the manual traction mode, that is, manual alignment. Manual alignment is equivalent to achieving a fuzzy alignment, because the execution modules of both the acetabular rasp and the cup holder are relatively long. If the robot arm is allowed to align completely automatically, it will cause unnecessary risk of injury to the patient. Therefore, the manual traction mode is introduced. The operator manually pulls the acetabular rasp or cup holder to the approximate position, and then performs automatic alignment. The automatic alignment only performs small-range fine-tuning, which can avoid the problem that the robot arm's excessive movement range may cause injury to the patient. Among them, the execution module is a long rod with an acetabular rasp or cup holder installed on one end. When the robot arm moves, the long rod is driven to complete the automatic alignment of the acetabular rasp or cup holder.

[0158] To facilitate understanding of manual traction during the grinding of the acetabulum or the installation of the acetabular cup prosthesis, detailed descriptions will be given for the grinding stage and the stage where the grinding is completed and the prosthesis is installed.

[0159] During the grinding phase, ie, the grinding of the acetabulum, the robot arm holds the acetabular rasp and controls the position of the acetabular rasp so that the rasp grinds the bone.

[0160] The operator manually pulls the robot arm to the vicinity of the bone and checks the real-time posture of the rasp on the display to see how it coincides with the planned central axis of the acetabular cup prosthesis. When the position of the rasp enters the target range and the posture roughly coincides, that is, the rotation matrix corresponding to the target object is not less than the first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than the second preset displacement threshold, such as the central axes of the rasp and the rasp model roughly coincide, or the anteversion and abduction angles of the rasp and the rasp model are similar, the control device of the robot arm generates a control command to end the manual traction mode and enter the automatic alignment mode.

[0161] During the installation of the acetabular cup prosthesis, the operator removes the grinder from the robot arm and installs the cup holder on the robot arm. The cup holder is installed with the acetabular cup prosthesis placed according to the acetabular cup prosthesis model selected in the plan. The robot arm holds the cup holder and controls the position of the cup holder so that the acetabular cup prosthesis is installed on the bone.

[0162] The acetabular cup prosthesis model is displayed on the acetabular cup prosthesis mapping software. The operator first manually pulls the robot arm to move the acetabular cup prosthesis near the bone. At this time, the real-time posture of the acetabular cup prosthesis on the display is checked to see how much overlap there is with the planned central axis of the acetabular cup prosthesis. When the position of the acetabular cup prosthesis enters the target range and the posture is roughly coincident, that is, the rotation matrix corresponding to the target object is not less than the first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than the second preset displacement threshold, such as the acetabular cup prosthesis and the central axis of the acetabular cup prosthesis model are roughly coincident, or the acetabular cup prosthesis and the acetabular cup prosthesis model have similar anteversion and abduction angles, the control device of the robot arm generates a control command to end the manual traction mode and enter the automatic alignment mode.

[0163] In one embodiment, the control instruction can be used to generate prompt information, which can be used to remind the operator to stop manually pulling the robot arm movement. The prompt information can also be used to remind the operator to manually adjust the rotation matrix corresponding to the target object to be less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object to be less than a second preset displacement threshold.

[0164] In one embodiment, the prompt information may be to change the color of the reference object to prompt the operator that the position of the target object has entered the target range and the posture is roughly consistent.

[0165] In one embodiment, the prompt information may be outputting a preset voice to prompt the operator that the position of the target object has entered the target range and the posture is substantially coincident.

[0166] In one embodiment, the control instruction can also be used to control the robot arm to cut off the power. For example, if the position of the target object enters the target range and the posture is roughly coincident, the robot arm can be controlled to cut off the power based on the control instruction.

[0167] In one embodiment, the control instruction can also be used to control the robot arm to stop moving. For example, when the position of the target object enters the target range and the posture is roughly consistent, the output torque of the robot arm is adjusted based on the control instruction to prevent the operator from manually pulling.

[0168] In one embodiment, selecting and abandoning the manual traction mode may also be performed according to manual operation of an operator.

[0169] For example, when an operator assists the robot arm and steps on a main pedal connected to the robot arm, the robot arm will enter a manual traction mode. At this time, the operator can traction the robot arm to move within the allowable range of the robot arm.

[0170] For another example, after pulling the robot arm so that the position of the target object enters the target range and the posture is roughly aligned, the operator releases the main pedal connected to the robot arm. At this time, the manual pulling mode of the robot arm is suspended and is in a fixed posture, ready for subsequent automatic alignment.

[0171] Through the control device of the robot arm, it is determined whether the rotation matrix corresponding to the target object is not less than the first preset rotation matrix threshold, and / or whether the displacement corresponding to the target object is not less than the second preset displacement threshold, and a control instruction is generated to avoid the problem that the robot arm has an excessive range of motion and may cause damage to the patient.

[0172] Based on the control method of the robot arm provided in the above embodiment, the present application also provides a specific implementation of the control device of the robot arm. Please refer to the following embodiment.

[0173] Figure 6 A schematic structural diagram of a control device for a robot arm provided in an embodiment of the present application is shown.

[0174] See first Figure 6 , the control device of the robot provided in the embodiment of the present application includes:

[0175] An acquisition module 601 is used to acquire a first relative position relationship between a target object and an actuator;

[0176] A calculation module 602, used to calculate the posture of the target object according to the posture of the actuator and the first relative posture relationship;

[0177] The calculation module 602 is further used to calculate the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm;

[0178] A determination module 603 is used to determine a second relative posture relationship between the target posture of the reference object in the target object coordinate system;

[0179] The calculation module 602 is further used to calculate a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the transformation relationship;

[0180] The calculation module 602 is further used to calculate the adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information;

[0181] The control module 604 is used to control the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to a target posture and a target position corresponding to the target posture of the reference object.

[0182] The above is a specific implementation method of the control device of the robot arm provided in the embodiment of the present application. The first relative posture relationship between the target object and the actuator is obtained by the acquisition module 601; the calculation module 602 calculates the posture of the target object according to the posture of the actuator and the first relative posture relationship; the calculation module 602 calculates the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the posture of the target object and the posture of the robot arm; the determination module 603 determines the second relative posture relationship of the target posture of the reference object in the target object coordinate system; the calculation module 602 calculates the third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship; the calculation module 602 calculates the adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; the control module 604 controls the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to the target posture and target position corresponding to the target posture of the reference object. In this way, the position and posture of the target object is calculated according to the position and posture of the actuator and the first relative position and posture relationship between the actuator and the target object, so as to achieve the effect of obtaining the position and posture of the target object in real time, so as to achieve the effect of real-time monitoring of the grinding file or the acetabular cup prosthesis during the grinding of the acetabulum or the installation of the acetabular cup prosthesis; by calculating the conversion relationship between the target object coordinate system and the robot arm coordinate system, and combining the second relative position and posture relationship of the target position and posture of the reference object in the target object coordinate system, the third relative position and posture relationship of the target position and posture of the reference object in the robot arm coordinate system is calculated, that is, the optimal installation posture of the artificial prosthesis planning or the target posture of the acetabulum grinding in the robot arm coordinate system is calculated. The third relative posture relationship under the reference system is used to obtain the adjustment information of the robot arm including the Euler angle rotation information and the position movement information, so as to control the movement of the robot arm accurately so as to move the target object to the target posture and target position corresponding to the target posture of the reference object, thereby ensuring the maximum precision grinding of the acetabulum and the precise placement of the acetabular cup prosthesis, and achieving the grinding of the acetabulum or the installation of the acetabular cup prosthesis in strict accordance with the plan, so that the installation posture of the acetabular cup prosthesis is consistent with the planned optimal installation posture, thereby achieving the ideal effect of the installation posture of the acetabular cup prosthesis.

[0183] In some embodiments of the present application, the target object is installed with a registrar. The acquisition module 601 specifically includes:

[0184] An acquisition unit, used for acquiring a fourth relative posture relationship between the registrar and the actuator when the registrar assists the target object and is connected to the actuator;

[0185] The determination unit is used to determine the first relative posture relationship between the target object and the actuator according to the fourth relative posture relationship.

[0186] In some embodiments of the present application, the above-mentioned determination module 603 is also used to determine the axis to be moved of the target object.

[0187] The above-mentioned determination module 603 is also used to determine the first stiffness of the end of the robot arm along the axis to be moved and the second stiffness and the third stiffness perpendicular to the axis to be moved according to the axis to be moved, so that the operator can control the movement of the robot arm in a straight line direction, wherein the first stiffness is smaller than the second stiffness and the third stiffness.

[0188] In some embodiments of the present application, the target object includes a file. The determination module 603 is further configured to determine a grinding comparison portion of the file according to the allowed multiple grinding depths.

[0189] The above-mentioned determination module 603 is also used to determine the non-grinding area.

[0190] The control module 604 is also used to control the robot arm to stop moving when the file moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, so as to prevent the file from entering the non-grinding area.

[0191] In some embodiments of the present application, the above-mentioned device also includes a generation module 605. The generation module 605 is also used to generate a control instruction when the rotation matrix corresponding to the target object is not less than the first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than the second preset displacement threshold, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop the manual traction robot arm movement, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving.

[0192] Figure 6 The control device of the robot shown can realize Figure 3 The various steps of the robot control method shown in the figure and the corresponding technical effects achieved are not repeated here for the sake of brevity.

[0193] Figure 7 A schematic diagram of the hardware structure of a control device for a robot arm provided in an embodiment of the present application is shown.

[0194] The control device of the robot may include a processor 701 and a memory 702 storing computer program instructions.

[0195] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0196] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of the above. Where appropriate, the memory 702 may include removable or non-removable (or fixed) media. Where appropriate, the memory 702 may be internal or external to the control device of the robot. In a particular embodiment, the memory 702 is a non-volatile solid-state memory.

[0197] In certain embodiments, the memory 702 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory 702 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present disclosure.

[0198] The processor 701 implements any one of the robot control methods in the above embodiments by reading and executing computer program instructions stored in the memory 702 .

[0199] In one example, the robot control device may further include a communication interface 703 and a bus 710. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 710 and communicate with each other.

[0200] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0201] Bus 710 includes hardware, software or both, and the components of the control device of the robot are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 710 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0202] In addition, in combination with the robot control method in the above embodiments, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any robot control method in the above embodiments is implemented.

[0203] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0204] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0205] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0206] The above reference is based on the method, device (system) and computer program product of the embodiment disclosed in the present application. The flowchart and / or block diagram of the computer program product are described in detail. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0207] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for controlling a robot arm, characterized in that: include: Acquire a first relative position and posture relationship between the target object and the actuator; Calculating the position and posture of the target object according to the position and posture of the actuator and the first relative position and posture relationship; Calculating the transformation relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm; Determine a second relative posture relationship of a target posture of a reference object in a coordinate system of the target object; Calculating a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship; According to the third relative posture relationship, calculating the adjustment information of the robot arm; wherein the adjustment information includes Euler angle rotation information and position movement information; Controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information so that the target object moves to a target posture and a target position corresponding to the target posture of the reference object; The target object is installed with a registrar; The obtaining of a first relative position and posture relationship between the target object and the actuator includes: When the register assists the target object to connect with the actuator, obtaining a fourth relative posture relationship between the register and the actuator; According to the fourth relative position and posture relationship, a first relative position and posture relationship between the target object and the actuator is determined.

2. The method according to claim 1, characterized in that After controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information, the method further includes: Determine the axial direction to be moved of the target object; According to the axial direction to be moved, the first stiffness of the end of the robot arm along the axial direction to be moved and the second and third stiffnesses perpendicular to the axial direction to be moved are determined, so that the operator can control the movement of the robot arm in a straight line direction, wherein the first stiffness is smaller than the second and third stiffnesses.

3. The method according to claim 2, characterized in that The target object includes a filer. After determining the first stiffness of the end of the robot arm along the axial direction to be moved and the second stiffness and the third stiffness perpendicular to the axial direction to be moved according to the axial direction to be moved, the method further includes: determining a grinding comparison portion of the file according to the allowable multiple grinding depths; Identify non-grinding areas; When the file moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, the robot arm is controlled to stop moving to prevent the file from entering the non-grinding area.

4. The method according to claim 1, characterized in that: Before controlling the movement of the robot arm according to the Euler angle rotation information and the position movement information, the method further includes: When the rotation matrix corresponding to the target object is not less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than a second preset displacement threshold, a control instruction is generated, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop manually pulling the robot arm to move, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving.

5. A control device for a robot arm, characterized in that: The device comprises: An acquisition module, used for acquiring a first relative position and posture relationship between the target object and the actuator; A calculation module, used for calculating the posture of the target object according to the posture of the actuator and the first relative posture relationship; The calculation module is further used to calculate the conversion relationship between the target object coordinate system and the robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm; A determination module, configured to determine a second relative posture relationship of a target posture of a reference object in a coordinate system of the target object; The calculation module is further used to calculate a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship; The calculation module is further used to calculate the adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; A control module, configured to control the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to a target posture and a target position corresponding to the target posture of the reference object; The target object is installed with a registrar; The acquisition module specifically includes: An acquiring unit, configured to acquire a fourth relative posture relationship between the register and the actuator when the register assists the target object to be connected to the actuator; A determination unit is used to determine a first relative posture relationship between the target object and the actuator according to the fourth relative posture relationship.

6. The device according to claim 5, characterized in that The determination module is further used to determine the axis to be moved of the target object; The determination module is also used to determine the first stiffness of the end of the robot arm along the axis to be moved and the second and third stiffnesses perpendicular to the axis to be moved based on the axis to be moved, so that the operator can control the movement of the robot arm in a straight line direction, wherein the first stiffness is smaller than the second and third stiffnesses.

7. The device according to claim 6, characterized in that The target object includes a rasp; The determination module is further used to determine the grinding comparison portion of the file grinder according to the allowed multiple grinding depths; The determination module is further used to determine the non-grinding area; The control module is further configured to control the robot arm to stop moving when the file moves, if the area corresponding to the grinding comparison part intersects with the non-grinding area, so as to prevent the file from entering the non-grinding area.

8. The device according to claim 5, characterized in that The device also includes: A generation module is used to generate a control instruction when the rotation matrix corresponding to the target object is not less than a first preset rotation matrix threshold, and / or the displacement corresponding to the target object is not less than a second preset displacement threshold, the control instruction is used to generate a prompt message, the prompt message is used to remind the operator to stop manually pulling the robot arm to move, the control instruction is used to control the robot arm to power off, and the control instruction is used to control the robot arm to stop moving.

9. A control device for a robot arm, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method according to any one of claims 1 to 4 is implemented.

10. A robot, characterized in that: The robot comprises: a navigation system, a robot arm and a control device of the robot arm; an actuator is installed at the end of the robot arm, and a target object is arranged on the actuator; Through the navigation system, the control device obtains the position and posture of the actuator and the position and posture of the robot arm; The control device acquires a first relative position and posture relationship between the target object and the actuator; The control device calculates the posture of the target object according to the posture of the actuator and the first relative posture relationship; The control device calculates a conversion relationship between a target object coordinate system and a robot arm coordinate system according to the position and posture of the target object and the position and posture of the robot arm; The control device determines a second relative posture relationship of the target posture of the reference object in the target object coordinate system; The control device calculates a third relative posture relationship of the target posture of the reference object in the robot arm coordinate system according to the second relative posture relationship and the conversion relationship; The control device calculates adjustment information of the robot arm according to the third relative posture relationship; wherein the adjustment information includes Euler angle rotation information and position movement information; The control device controls the movement of the robot arm according to the Euler angle rotation information and the position movement information, so that the target object moves to a target posture and a target position corresponding to the target posture of the reference object; The target object is installed with a registrar; The obtaining of a first relative position and posture relationship between the target object and the actuator includes: When the register assists the target object to connect with the actuator, obtaining a fourth relative posture relationship between the register and the actuator; According to the fourth relative position and posture relationship, a first relative position and posture relationship between the target object and the actuator is determined.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 4 is implemented.