Gravity compensation method and gravity compensation system in mechanical arm cooperation mode
By obtaining the parameter information of the robotic arm to calculate the torque and motion information to determine the load status and perform gravity compensation, it solves the problem of zero-force control of the collaborative robotic arm when the load changes, improves operating accuracy and safety, and is especially suitable for orthopedic surgery.
Patent Information
- Application Number
- CN202410874075.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-15
AI Technical Summary
In the human-machine collaboration mode, the collaborative manipulator cannot perform gravity compensation in time, especially when the end load temporarily increases or changes, causing the manipulator control system to be unable to achieve zero-force control, affecting operational accuracy and safety.
By obtaining parameter information of each joint of the robotic arm, calculating torque and motion information, judging the disassembly and assembly status of the end load, and performing targeted gravity compensation, it avoids the need to add additional sensors, adapt to third-party loads, and solve problems caused by load changes. Risk of rapid fall.
It achieves zero-force control of the robotic arm under load changes, improves operating accuracy and safety, and especially improves the accuracy of bone grinding or osteotomy in orthopedic surgery.
Smart Images

Figure CN118769245A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robotics technology, and in particular to a gravity compensation method and a gravity compensation system in a robot arm collaborative mode. Background Art
[0002] A robotic arm is a programmable mechanical device with functions similar to those of a human arm. Through the connection of various joints, the end of the robotic arm can complete various types of rotational or translational movements. Due to its unique operational flexibility, it is widely used in various fields of industrial production.
[0003] The robotic arm can be set up in a specific area to independently perform set operations according to the program, or it can collaborate with humans to perform high-efficiency and high-precision human-machine collaborative operations. This type of robotic arm that can perform human-machine collaborative operations is generally called a collaborative robotic arm. The collaborative robotic arm can respond to the human body's contact with the robotic arm, allowing the operator and the robotic arm to share the operating space. It is widely used in education and entertainment, medical health, and high-end manufacturing.
[0004] When the collaborative robot arm is operated by humans and machines, the operator will drag the end of the robot arm to the specified position by manually dragging the robot arm to cooperate with the operator to complete various operations. Since the weight of the robot arm is generally large, it will be a great burden to drag it only by the external force applied by the operator during the actual dragging process. Therefore, the control system of the robot arm will compensate for gravity according to the weight of the robot arm and other parameters, so that the robot arm can achieve "zero force control", that is, during the dragging teaching process, the robot arm can well comply with the external force to move, as if it is not affected by the gravity of the robot arm itself. This zero force control technology reduces the burden of dragging teaching and increases the fluency of the operator in dragging the robot arm.
[0005] However, in actual applications of collaborative robotic arms, since the end of the robotic arm will clamp various types of end tools to achieve multiple functions, in order to enable the robotic arm to still achieve zero-force control when clamping the end tool, the existing technology requires calibrating the parameters of the robotic arm body and the tool respectively, and then performing gravity compensation to achieve zero-force dragging of the robotic arm. However, in certain specific circumstances, such as frequent replacement of end tools, or temporary increase of the end load of the robotic arm during work, this technology that relies on tool calibration is very limited in application, time-consuming, labor-intensive and inefficient.
[0006] When the robot arm is in the human-machine collaborative mode, the operator will drag the robot arm. Under the external force interference of the operator, the motion state and posture of the robot arm will change at any time. Therefore, in the collaborative mode, the robot arm control system cannot achieve closed-loop control of the robot arm's posture and motion state through PID control.
[0007] Taking orthopedic surgery in the medical field as an example, the end of the surgical robot's robotic arm will clamp the surgical instrument. In the collaborative mode, the doctor drags the robotic arm to make the end of the robotic arm reach the surgical area to perform the operation. During the operation, when orthopedic operations such as bone grinding or osteotomy are required, the doctor will also install power tools on the surgical instrument to assist in the bone grinding or osteotomy operation. Since the robotic arm control system cannot perform PID control in the collaborative mode, the robotic arm control system cannot automatically identify whether a power tool is installed at the end of the robotic arm through the torque state of the motor output. In this way, additional gravity compensation cannot be performed for the temporary installation or removal of the power tool. Before and after the doctor installs the power tool for bone grinding or osteotomy, he needs to hold the robotic arm by hand to drag and position it. Otherwise, the robotic arm will fall or rise rapidly due to the temporary increase or decrease of the power tool, which brings risks to patients and doctors.
[0008] In addition, when the doctor drags the robotic arm to perform bone grinding or osteotomy, due to the influence of the temporarily increased gravity of the power tool itself, a portion of the impedance force of the robotic arm needs to be used to overcome the gravity of the power tool, resulting in the external force applied during bone grinding or osteotomy being difficult to accurately control, which will reduce the accuracy of bone grinding or osteotomy. Summary of the invention
[0009] The purpose of the present invention is to provide a gravity compensation method and a gravity compensation system in a robot arm collaborative mode, so as to solve the problem in the prior art that gravity compensation cannot be performed in time when the load at the end of the collaborative robot arm is temporarily increased or the load is changed.
[0010] In order to solve the above technical problems, the present invention provides a gravity compensation method in a robot arm collaborative mode, comprising the following steps:
[0011] S1: Acquire first parameter information of each joint of the robotic arm when no load is installed at the end of the robotic arm, and second parameter information of each joint of the robotic arm after the load is installed at the end of the robotic arm;
[0012] S2: Obtain the current real-time parameter information of each joint of the robotic arm;
[0013] S3: Calculating the torque information and / or motion information of the robotic arm according to the first parameter information, the second parameter information and the real-time parameter information;
[0014] S4: determining the current load disassembly and assembly state of the end of the robotic arm according to the torque information and / or motion information of the robotic arm;
[0015] S5: Performing gravity compensation on the robotic arm according to the current load assembly and disassembly status at the end of the robotic arm.
[0016] Further, in S1, the first parameter information includes gravity parameters of each joint of the robotic arm when no load is installed at the end of the robotic arm, and the second parameter information includes gravity parameters of each joint of the robotic arm after the load is installed at the end of the robotic arm;
[0017] In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm;
[0018] In S3, the torque information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the torque information of the robotic arm includes the theoretical gravity torque of the load on the end of the robotic arm in the Cartesian space. And the actual external torque currently exerted on the end of the robotic arm in Cartesian space
[0019] In S4, according to the theoretical gravity moment and the actual external torque Determine the current load disassembly and assembly status at the end of the robotic arm.
[0020] Furthermore, in S3, the theoretical gravity moment of the load on each joint of the robotic arm is obtained according to the first parameter information and the second parameter information.
[0021] According to the theoretical gravity moment of the load on each joint of the robotic arm The theoretical gravitational moment of the load on the end of the robotic arm in Cartesian space is obtained by using the Jacobian matrix of the robotic arm
[0022] Furthermore, in S2, the position of each joint of the robotic arm is obtained according to the encoder readings of each joint of the robotic arm; the speed of each joint of the robotic arm is obtained by time difference according to the position of each joint of the robotic arm; and the acceleration of each joint of the robotic arm is obtained by time difference according to the speed of each joint of the robotic arm.
[0023] Furthermore, in S3, the position of the end of the robotic arm in Cartesian space is obtained according to the position of each joint of the robotic arm and forward kinematics; the speed of the end of the robotic arm in Cartesian space is obtained according to the speed of each joint of the robotic arm and the Jacobian matrix of the robotic arm; the acceleration of the end of the robotic arm in Cartesian space is obtained according to the acceleration of each joint of the robotic arm, the Jacobian matrix of the robotic arm and the derivative of the Jacobian matrix; the inertia matrix of the robotic arm is obtained according to the first parameter information and the second parameter information; according to the position, speed, acceleration, Jacobian matrix and inertia matrix of the end of the robotic arm in Cartesian space, the actual external torque currently exerted on the end of the robotic arm in Cartesian space is obtained through the Newton-Euler iterative dynamics algorithm.
[0024] Furthermore, in S1, the first parameter information also includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging;
[0025] In S3, the torque information and motion information of the manipulator are calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information includes the slope value ω of the acceleration of the end of the manipulator in the Cartesian space within the current finite time. Carti , and the theoretical slope value range of the acceleration of the end of the robot arm in Cartesian space when the end of the robot arm is not equipped with a load for collaborative dragging
[0026] In S4, according to the theoretical gravity moment and the actual external torque Determine the load disassembly and assembly status at the end of the robotic arm, and according to the slope value ω of the acceleration in S3 Carti and the theoretical slope value interval of the acceleration Correct the judgment result of the load disassembly and assembly status at the end of the robot arm.
[0027] Furthermore, in S3, the acceleration of the end of the manipulator in the Cartesian space is calculated according to the real-time parameter information, and then the slope value ω of the acceleration of the end of the manipulator in the Cartesian space within the current finite time is obtained by maximum likelihood estimation. Carti .
[0028] Further, in S1, the first parameter information includes gravity parameters of each joint of the robotic arm when no load is installed at the end of the robotic arm, and the second parameter information includes gravity parameters of each joint of the robotic arm after the load is installed at the end of the robotic arm;
[0029] In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm;
[0030] In S3, the torque information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the torque information of the robotic arm includes the theoretical gravity torque of the load on each joint of the robotic arm. And the actual driving torque currently applied to each joint of the robotic arm
[0031] In S4, according to the theoretical gravity moment and the actual driving torque Determine the current load disassembly and assembly status at the end of the robotic arm.
[0032] Furthermore, in S2, the position of each joint of the robotic arm is obtained according to the encoder readings of each joint of the robotic arm; the speed of each joint of the robotic arm is obtained by time difference according to the position of each joint of the robotic arm; and the acceleration of each joint of the robotic arm is obtained by time difference according to the speed of each joint of the robotic arm.
[0033] Furthermore, in S3, the theoretical gravity moment of the load on each joint of the robotic arm is calculated based on the first parameter information and the second parameter information.
[0034] The inertia matrix of the robot arm is obtained according to the first parameter information and the second parameter information, and then the actual driving torque currently received by each joint of the robot arm is obtained through the Newton-Euler iterative dynamics algorithm according to the position, velocity, acceleration and inertia matrix of each joint of the robot arm
[0035] Furthermore, in S1, the first parameter information also includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging;
[0036] In S3, the torque information and motion information of the robotic arm are calculated according to the first parameter information, the second parameter information and the real-time parameter information, wherein the motion information includes the slope value of the acceleration of each joint of the robotic arm within the current limited time, and the theoretical slope value interval of the acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging;
[0037] In S4, according to the theoretical gravity moment and the driving torque The load assembly and disassembly state at the end of the robot arm is judged, and the judgment result of the load assembly and disassembly state at the end of the robot arm is corrected according to the slope value of the acceleration and the theoretical slope value interval of the acceleration in S3.
[0038] Furthermore, in S3, the acceleration of each joint of the robotic arm is calculated according to the real-time parameter information, and then the slope value of the acceleration of each joint of the robotic arm within the current finite time is obtained by maximum likelihood estimation.
[0039] Further, in S1, the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination before the load is installed, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination after the load is installed;
[0040] In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm;
[0041] In S3, the motion information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information of the robotic arm includes the velocity of the robotic arm end in Cartesian space before and after the load is installed. and acceleration The changing law of the robot arm and the real-time speed of the end of the robot arm in Cartesian space Carti and real-time acceleration A Carti ;
[0042] In S4, according to the speed of the end of the robot arm in the Cartesian space in S3, and acceleration The changing rules of Then based on the real-time velocity V of the end of the robotic arm in Cartesian space Carti and real-time acceleration A Carti Fuzzy reasoning is performed to determine the current load disassembly and assembly status of the end of the robotic arm.
[0043] Further, in S1, the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination before the load is installed, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination after the load is installed;
[0044] In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm;
[0045] In S3, the motion information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information of the robotic arm includes the speed of each joint of the robotic arm before and after the load is installed at the end of the robotic arm. and acceleration The changing rules of the robot arm and the real-time speed V of each joint i and real-time acceleration A i ;
[0046] In S4, according to the speed of each joint of the robot arm in S3, and acceleration The changing rules of Then based on the real-time speed V of each joint of the robotic arm i and real-time acceleration A i Fuzzy reasoning is performed to determine the current load disassembly and assembly status of the end of the robotic arm.
[0047] The present invention also provides a gravity compensation system in a robotic arm collaborative mode, comprising: a controller and a robotic arm that are communicatively connected, the controller comprising: a parameter acquisition unit, configured to acquire parameter information of each joint of the robotic arm; a calculation unit, configured to calculate the torque information and / or motion information of the robotic arm based on the parameter information of each joint of the robotic arm; a processing unit, configured to determine the current load disassembly and assembly state of the end of the robotic arm based on the torque information and / or motion information of the robotic arm, and perform gravity compensation on the robotic arm based on the current load disassembly and assembly state of the end of the robotic arm.
[0048] In summary, compared with the prior art, the gravity compensation method and gravity compensation system in the robot arm collaborative mode provided by the present invention have the following advantages:
[0049] The gravity compensation system provided by the present invention does not require additional sensors to loads such as power tools, and can adapt to third-party loads to the greatest extent. The gravity compensation method directly obtains relevant parameters through the robot control system identification, and then calculates the torque information and / or motion information of the robot, so as to judge the current load disassembly and assembly status of the end of the robot, and then performs targeted gravity compensation. This can solve the hidden danger of rapid falling of the robot arm due to the addition of loads or load changes, and ensure the safety of users.
[0050] In addition, the gravity compensation method of the present invention can be applied to orthopedic surgical robots to overcome the impedance caused by the deadweight of the power tool and improve the accuracy of orthopedic surgical operations such as bone grinding or osteotomy. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A flowchart of a gravity compensation method in a robot arm collaborative mode provided in Example 1 of the present invention;
[0052] Figure 2 A schematic diagram of the structure of a gravity compensation system in a robot arm collaborative mode provided in Example 1 of the present invention;
[0053] Figure 3 A schematic diagram of collecting and processing real-time parameter information of each joint of a robot arm in a gravity compensation method in a robot arm collaborative mode provided in Embodiment 2 of the present invention;
[0054] Figure 4 A control flow chart for determining the load disassembly and assembly state of the end of a robotic arm in a gravity compensation method in a robotic arm cooperative mode provided in Embodiment 2 of the present invention;
[0055] Figures 5 to 7 Schematic diagram of the structure of the orthopedic surgical robot system in Example 2 of the present invention;
[0056] Figure 8This is a control flow chart of the orthopedic surgery process in Example 2 of the present invention;
[0057] Fig. 9 A control flow chart for determining the load disassembly and assembly state of the end of a robotic arm in a gravity compensation method in a robotic arm cooperative mode provided in Embodiment 3 of the present invention;
[0058] Fig.10 This is a schematic diagram of a robot arm falling due to the installation of a power tool during an orthopedic surgery in Example 4 of the present invention.
[0059] Among them, 10-robotic arm; 20-visual positioning system; 30-power tool; A-surgical area. DETAILED DESCRIPTION
[0060] The gravity compensation method and gravity compensation system in the robot arm cooperative mode proposed by the present invention are further described in detail below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more clear according to the following description.
[0061] It should be noted that the drawings are in a very simplified form and are not in precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any modification of the structure, change in the proportional relationship or adjustment of the size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.
[0062] In the prior art, when the end load of a collaborative robot arm changes, an additional force sensor is generally added to sense the gravity change at the end of the robot arm and feed it back to the control system for identification. However, this method requires adding new sensors, which increases costs. Moreover, when the load types vary greatly, there are different requirements for the type of sensor, and the degree of adaptability is not high.
[0063] The purpose of the present invention is to provide a low-cost gravity compensation method and gravity compensation system in a robot arm collaborative mode, so as to solve the problem in the prior art that gravity compensation cannot be performed in time when the load at the end of the collaborative robot arm is temporarily increased or the load is changed.
[0064] Example 1
[0065] The present invention provides a gravity compensation method in a robot arm collaborative mode, such as Figure 1 As shown, the following steps are included:
[0066] S1: Obtain first parameter information of each joint of the robotic arm when no load is installed at the end of the robotic arm, and second parameter information of each joint of the robotic arm after a load is installed at the end of the robotic arm; wherein the first parameter information and the second parameter information may include gravity parameters of each joint of the robotic arm before and after the load is installed at the end of the robotic arm, or motion parameters such as position, velocity, acceleration, etc. of each joint of the robotic arm.
[0067] S2: Obtain the current real-time parameter information of each joint of the robotic arm; the real-time parameter information mainly includes the position or velocity, acceleration and other motion parameters of each joint of the robotic arm.
[0068] S3: Calculating torque information and / or motion information of the robot arm according to the first parameter information, the second parameter information and the real-time parameter information;
[0069] S4: judging the current load disassembly and assembly state of the end of the robotic arm according to the torque information and / or motion information of the robotic arm;
[0070] S5: Perform gravity compensation on the robotic arm according to the current load disassembly and assembly status at the end of the robotic arm.
[0071] The gravity compensation method provided by the present invention obtains relevant parameters of each joint of the robotic arm through the robotic arm control system, calculates the torque information and / or motion information of the robotic arm, and can timely judge the load disassembly and assembly status of the end of the robotic arm through the torque change and / or motion information change of the robotic arm. When it is judged that the load at the end of the robotic arm has changed, the robotic arm control system can timely perform gravity compensation according to the change of the load.
[0072] like Figure 2 As shown, the present invention also provides a gravity compensation system in a robot arm collaborative mode, comprising: a controller and a robot arm that are communicatively connected, the controller comprising: a parameter acquisition unit, configured to acquire parameter information of each joint of the robot arm, such as identifying and acquiring gravity parameters of each joint of the robot arm, and motion parameters such as position, speed, acceleration of each joint of the robot arm; a calculation unit, configured to calculate the torque information and / or motion information of the robot arm according to the parameter information of each joint of the robot arm, and the parameter information acquired by the parameter acquisition unit can be used to calculate the torque information, motion information, etc. related to the robot arm; a processing module, configured to determine the current load disassembly and assembly state of the end of the robot arm according to the torque information and / or motion information of the robot arm, and perform gravity compensation on the robot arm according to the current load disassembly and assembly state of the end of the robot arm.
[0073] The gravity compensation system provided by the present invention does not require additional sensors to loads such as power tools, and can adapt to third-party loads to the greatest extent. It directly identifies and obtains relevant parameters through the robotic arm control system, and then calculates the torque information and / or motion information of the robotic arm to determine the current load disassembly and assembly status of the end of the robotic arm, and then performs targeted gravity compensation. This can solve the hidden danger of rapid falling / rising of the robotic arm caused by load changes due to disassembly and assembly of the load or other factors, thereby ensuring the safety of the user.
[0074] Example 2
[0075] Based on the gravity compensation method in the robot arm collaborative mode provided in Example 1, this Example 2 further describes the compensation method in detail so that those skilled in the art can better understand the concept of the gravity compensation solution provided by the present invention.
[0076] The gravity compensation method in the robot arm collaborative mode provided in this embodiment 2 includes the following steps:
[0077] P1: Identify and obtain the first parameter information of each joint when no load is installed at the end of the robot arm. The first parameter information includes the gravity parameters of each joint before the load is installed. Identify and obtain the second parameter information of each joint after the load is installed at the end of the robot arm. The second parameter information includes the gravity parameters of each joint after the load is installed. According to the difference between these two sets of parameters, the gravity component caused by the load on each joint of the robot arm due to the increased load can be obtained. Where i represents the joints of the robotic arm, i=1, 2, 3, 4, 5..., based on the gravity component and the structural parameters of the robotic arm itself, it can be used to calculate the gravity torque of the load on each joint of the robotic arm.
[0078] P2: Get the current real-time parameter information of each joint of the robot arm, which includes the current position, speed and acceleration of each joint of the robot arm; Figure 3 As shown, the parameter acquisition unit of the robot controller can directly read the encoder readings of each joint of the robot and calculate the position θ of each joint of the robot. i ; Then the position of each joint is calculated by time difference to get the speed of each joint of the robot Then, according to the speed of each joint, the acceleration of each joint of the robot arm is obtained by time difference. In the solution of the present invention, the velocity may include the linear velocity and / or angular velocity of the joint, and the angular velocity may include the linear acceleration and / or angular acceleration of the joint.
[0079] P3: Calculate the torque information of the robot arm based on the first parameter information, the second parameter information and the real-time parameter information. The torque information includes the theoretical gravity torque of the load on the end of the robot arm in the Cartesian space. And the actual external torque currently exerted on the end of the robotic arm in Cartesian space
[0080] Among them, the theoretical gravitational moment of the load on the end of the robot arm in Cartesian space is The gravity component brought by the load on each joint of the robot arm obtained in P1 is obtained by the following method: Combined with the structural parameters of the robot arm (the structural parameters are determined by the shape of the robot arm itself and can be directly stored in the robot arm control system after pre-calibration), the calculation unit can calculate the theoretical gravity moment of the load on each joint of the robot arm. Then, the theoretical gravitational moment of the load on the end of the robotic arm in Cartesian space is obtained according to the Jacobian matrix Jaco of the robotic arm.
[0081] Actual external torque at the end of the robot arm in Cartesian space The following method is used to obtain: first, the real-time parameter information of the robot arm obtained in P2 is transformed into the Cartesian space. Specifically, Figure 3 As shown, we can first calculate the position of each joint of the robot arm according to θ i And forward kinematics to obtain the position P of the end of the robot in Cartesian space Carti ,
[0082] P Carti =f(θ i ,Matrix Forward );
[0083] Then according to the speed of each joint of the robotic arm And the Jacobian matrix Jaco of the robot arm to get the velocity of the end of the robot arm in Cartesian space
[0084] Then according to the acceleration of each joint of the robotic arm Robotic Arm Jacobian Matrix Jaco and Jacobian Matrix Derivative Get the robotic arm
[0085] The acceleration of the terminal in Cartesian space
[0086] The position of the end of the above robot arm in Cartesian space is P carti , speed V Carti , acceleration A Carti Together they form the real-time kinematic information of the end of the robotic arm in Cartesian space.
[0087] In addition, the inertia matrix of the manipulator is obtained according to the first parameter information and the second parameter information. Specifically, the inertia matrix M(θ) of the manipulator can be identified according to the gravity parameters of each joint of the manipulator at the end of the manipulator obtained in P1 when the load is not installed and the load is installed. Combined with the kinematic information The Jacobian matrix Jaco and the inertia matrix M(θ) of the robot arm can be used to calculate the actual external torque on the end of the robot arm in Cartesian space due to the installation of the load through the Newton-Euler iterative dynamics algorithm.
[0088] P4: The theoretical gravitational moment of the load on the end of the robot arm in Cartesian space and the actual external torque currently exerted on the end of the robot in Cartesian space Determine the current load disassembly and assembly status at the end of the robot arm. Figure 4 Specifically, the numerical comparator of the robot control system can be used to compare the two torques. By calculating the difference between the input variables, the difference is thresholded. When the output of the numerical comparator is less than the set threshold, the output result is considered true, that is, when the deviation between the actual external torque at the end of the robot and the theoretical gravity torque is within the error threshold When within the range, It can be determined that a load is installed at the end of the robot arm.
[0089] P5: Perform gravity compensation on the robot arm according to the current load disassembly and assembly status at the end of the robot arm. Specifically, the robot arm control system can pre-store two or more sets of gravity compensation schemes. The first set of schemes is the gravity compensation scheme when the load is not installed. At this time, gravity compensation is only performed for the robot arm's own weight. The compensation scheme can be designed in advance according to the mass, shape and other structural parameters of the robot arm; the second set of schemes is the gravity compensation scheme after the load is installed. At this time, gravity compensation is performed for the gravity of the robot arm and the load at the same time. At this time, the compensation scheme is designed according to the pre-acquired mass and shape and other structural parameters of the robot arm and the load. When the P4 step determines that the load at the end of the robot arm has changed, for example, it is determined that a load is installed at the end of the robot arm, the robot arm control system switches to the second set of gravity compensation schemes with the load. When it is determined that the load at the end of the robot arm is disassembled, the robot arm control system switches to the first set of gravity compensation schemes without the load.
[0090] It should be noted that, since in the collaborative mode of the robot arm, the external force of the operator dragging will also cause changes in the torque at the end of the robot arm, the judgment of the load disassembly and assembly status at the end of the robot arm in the above-mentioned gravity compensation method may be misjudged. In order to improve the accuracy of the gravity compensation method of the present invention, the gravity compensation method of this embodiment also provides a correction step for the load disassembly and assembly status judgment result.
[0091] Specifically, in step P1 of this embodiment, the first parameter information also includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging. In step P3, in addition to calculating the torque information, the calculation unit also calculates the motion information of the robotic arm, which includes the slope value ω of the acceleration of the end of the robotic arm in the Cartesian space within the current finite time. Carti , and the theoretical slope value range of the acceleration of the end of the robot arm in Cartesian space when the end of the robot arm is not equipped with a load for collaborative dragging According to the acceleration A of the end of the robot arm in Cartesian space obtained in the above step P3 Carti , using the maximum likelihood estimation, we can calculate the slope value ω of the acceleration of the end of the manipulator in the Cartesian space within the current finite time n Carti ; Among them, the maximum likelihood estimation function is:
[0092]
[0093] y is the acceleration A of the end of the robot in Cartesian space Carti , ω is the slope value ω Carti .
[0094] Theoretical slope value range of the acceleration of the end of the robot arm in Cartesian space The following method can be used to obtain the numerical range of the acceleration slope value of the end of the robotic arm in the Cartesian space in the free dragging state after the end of the robotic arm removes the load, and then use this numerical range as the theoretical slope value range Stored in the robot control system.
[0095] According to the slope value of acceleration ω Carti Theoretical slope value range of acceleration The judgment result in P4 can be corrected. Specifically, the slope value ω Carti and slope value interval Perform pattern comparison and identification to determine the slope value ω Carti Is it in the slope value range? If the actual external torque at the end of the robot arm Theoretical gravity moment The deviation is within the error threshold, and the slope value ω Carti Not in slope value range If the actual external torque at the end of the robot arm is within the range of Theoretical gravity moment The deviation is within the error threshold, but the slope value ω CartiIn the slope value range If it is within the range of , it means that the load may not be installed at the end of the robot arm, and the external torque of the robot arm is caused by free drag. At this time, other means such as manual observation can be used to assist in judging the disassembly and assembly status of the load at the end of the robot arm.
[0096] Through the above operation, the judgment result of the load disassembly and assembly state at the end of the robot arm in P4 can be corrected, thereby avoiding erroneous compensation caused by free dragging, and making the gravity compensation of the robot arm of the present invention more accurate.
[0097] The gravity compensation method and gravity compensation system provided by this embodiment will be further described in detail below, taking whether the end of the mechanical arm of the surgical robot is loaded with a power tool as an example during orthopedic surgery. Those skilled in the art should note that the gravity compensation method and gravity compensation system in the mechanical arm collaborative mode provided by the present invention can be applied not only to the mechanical arm of a medical surgical robot, but also to the mechanical arm in the field of intelligent manufacturing and education, and can perform gravity compensation in real time according to the load changes at the end of the mechanical arm.
[0098] like Figures 5 to 7 As shown in FIG. 1 , it is a schematic diagram of the orthopedic surgical robot of this embodiment using a power tool to perform orthopedic surgery. During the operation, the doctor installs a power tool 30 at the end of the robot arm 10, and the robot arm 10 reaches the surgical area A under the guidance of the visual positioning system 20 to complete the spatial position positioning of the robot during the operation. Then the doctor holds the power tool 30 to perform the orthopedic surgery. Figure 6 This is a schematic diagram of the end of the robot arm without the power tool installed / removed. Figure 7 It represents a schematic diagram of a power tool mounted on the end of a robotic arm.
[0099] Figure 8This is a control flow chart of the gravity compensation method in the robot arm collaborative mode provided in this embodiment applied to orthopedic surgery. At the beginning of the operation, the robot arm control system defaults to using the first set of compensation solutions for gravity compensation when the power tool 30 is not installed at the end of the robot arm 10; during the operation, when the doctor installs the power tool 30 at the end of the robot arm 10, the robot arm control system detects that the kinematic information of the end of the robot arm 10 has changed. For example, when the power tool 30 is installed, the robot arm 10 is in a stationary state. When the power tool 30 is installed, the robot arm 10 will change from a stationary state to a moving state. At this time, the kinematic information has changed, and the gravity compensation solution of this embodiment can be used to automatically identify and determine whether the power tool 30 is installed at the end of the robot arm 10; if it is determined that the power tool 30 is not installed at the end of the robot arm 10, the initial first set of compensation solutions will continue to be used for gravity compensation. If it is determined that a power tool 30 is installed at the end of the robotic arm 10, the second set of gravity compensation schemes is switched to perform additional gravity compensation for the installation of the power tool 30 to prevent the end of the robotic arm 10 from suddenly falling rapidly and at the same time improve the accuracy of subsequent surgical operations. After the gravity compensation scheme is switched, the doctor performs subsequent orthopedic surgical procedures (for example, orthopedic surgical operations such as acetabulum positioning and bone grinding); when the orthopedic surgical operation is completed, the doctor removes the power tool 30 installed at the end of the robotic arm 10, and the robotic arm control system detects that the kinematic information of the end of the robotic arm 10 has changed. For example, when the power tool 30 is removed, the robotic arm 10 is also in a static state. When the power tool 30 is removed, the robotic arm 10 will change from a static state to a moving state. At this time, the kinematic information has changed, and the gravity compensation scheme of this embodiment is used to automatically identify and determine whether the power tool 30 is removed from the end of the robotic arm 10; if so, the gravity compensation scheme is switched to restore to the initial default first set of gravity compensation schemes for gravity compensation to prevent the end of the robotic arm 10 from suddenly rising rapidly.
[0100] Example 3
[0101] The gravity compensation scheme of the third embodiment is different from that of the second embodiment in that the collected parameters are not converted into Cartesian space, that is, the parameter information of each joint of the robot arm is directly used to identify the load assembly and disassembly state, and gravity compensation is performed accordingly. Specifically, the gravity compensation method of the robot arm cooperative mode of the third embodiment includes the following steps:
[0102] M1: Identify and obtain the first parameter information of each joint when no load is installed at the end of the robot arm. The first parameter information includes the gravity parameters of each joint before the load is installed. Identify and obtain the second parameter information of each joint after the load is installed at the end of the robot arm. The second parameter information includes the gravity parameters of each joint after the load is installed. This step is the same as step P1 of Example 2, both of which are to obtain the gravity component caused by the load on each joint of the robot arm due to the increased load And the inertia matrix M(θ) of the robot.
[0103] M2: Obtain the current real-time parameter information of each joint of the robotic arm, which includes the current position, velocity and acceleration of each joint of the robotic arm. Similar to P2 in Example 2, the parameter acquisition unit can directly read the encoder readings of each joint of the robotic arm and calculate the position θ of each joint of the robotic arm. i ; Then the position of each joint is calculated by time difference to get the speed of each joint of the robot Then, according to the speed of each joint, the acceleration of each joint of the robot arm is obtained by time difference.
[0104] M3: Calculate the torque information of the robot arm according to the first parameter information, the second parameter information and the real-time parameter information. The difference from Example 2 is that in Example 3, the torque information includes the theoretical gravity torque of the load on each joint of the robot arm. And the actual driving torque currently applied to each joint of the robotic arm Theoretical gravity moment The calculation of can refer to step P3 in Example 2 The calculation process is to obtain the theoretical gravity moment of the load on each joint of the robotic arm. After that, no Cartesian space transformation is performed.
[0105] In this embodiment, the actual driving torque is calculated When the position of each joint of the robot arm is directly i ,speed and acceleration As the kinematic information of each joint of the robot Then, according to the inertia matrix M(θ), the actual driving torque of each joint of the robot arm is obtained through the Newton-Euler iterative dynamics algorithm. i represents the joints of the robot arm i = 1, 2, 3, 4, 5, ...
[0106] M4: Based on the theoretical gravity moment of each joint of the robot arm and actual driving torque Determine the current load disassembly and assembly status at the end of the robot arm. Fig. 9As shown, this step M4 is similar to step P4 of embodiment 2. The numerical comparator of the robot control system can be used to compare the two torques. By calculating the difference between the input variables, the difference is thresholded. When the output of the numerical comparator is less than the set threshold, the output result is considered to be true, that is, when the deviation between the driving torque of each joint of the robot and the theoretical gravity torque is within the error threshold μ i When within the range, It can be determined that a load is installed at the end of the robot arm.
[0107] M5: Perform gravity compensation on the robotic arm according to the current load disassembly and assembly state of the end of the robotic arm. The specific compensation method is similar to step P5 of Example 2 and will not be described in detail here.
[0108] Similar to Example 2, this Example 3 can also use the acceleration information of each joint of the robot arm to correct the recognition result. Specifically, in the gravity compensation method of this Example 3, the first parameter information of step M1 also includes the position, velocity and acceleration of each joint of the robot arm when the end of the robot arm is not equipped with a load for collaborative dragging. In step M3, in addition to calculating the torque information, the calculation unit also calculates the motion information of the robot arm. The motion information includes the slope value ω of the acceleration of each joint of the robot arm within the current limited time. i , and the theoretical slope value range of the acceleration of each joint of the robotic arm when the end of the robotic arm is dragged collaboratively without a load installed
[0109] According to the acceleration of each joint of the robotic arm The maximum likelihood estimation can be used to calculate the slope value ω of the acceleration of each joint of the robot within the current finite time n. i ; Among them, the maximum likelihood estimation function is:
[0110]
[0111] y i is the acceleration of each joint of the robot ω is the slope value ω i , i represents the joints of the robot arm i = 1, 2, 3, 4, 5, ...
[0112] Theoretical slope value range of acceleration of each joint of the robotic arm The following method can be used to obtain the numerical range of the acceleration slope value of each joint of the robotic arm in the free dragging state after the load is removed from the end of the robotic arm through a large amount of statistical data in advance, and then the numerical range is used as the theoretical slope value range Stored in the robot control system.
[0113] According to the slope value of acceleration ω iTheoretical slope value range of acceleration The judgment result in M4 can be corrected. The judgment correction process is similar to the correction steps in Example 2, and will not be repeated here.
[0114] Example 4
[0115] The difference from Example 2 and Example 3 is that this embodiment does not judge the load disassembly and assembly state of the end of the robotic arm by the torque information of the robotic arm, but judges according to the motion information of the robotic arm. Specifically, the gravity compensation method in the robotic arm collaborative mode provided by this embodiment includes:
[0116] B1: Obtain the first parameter information of each joint of the robotic arm when no load is installed at the end of the robotic arm, and the second parameter information of each joint of the robotic arm after the load is installed at the end of the robotic arm; wherein the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when collaborative dragging is performed before the load is installed at the end of the robotic arm, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when collaborative dragging is performed after the load is installed at the end of the robotic arm.
[0117] B2: Obtain the current real-time parameter information of each joint of the robotic arm; the real-time parameter information includes the real-time position, speed and acceleration of each joint of the robotic arm.
[0118] B3: Calculate the motion information of the robot arm according to the first parameter information, the second parameter information and the real-time parameter information; the motion information includes the speed of the end of the robot arm in the Cartesian space before and after the load is installed and acceleration The changing law of and the real-time speed V of the end of the robot arm in Cartesian space Carti and real-time acceleration A Carti The calculation of the velocity and acceleration of the end of the robot arm in the Cartesian space can be obtained by referring to the calculation method of Example 2.
[0119] B4: Determine the current load disassembly and assembly state of the end of the robot arm based on the motion information of the robot arm. Specifically, based on the speed of the end of the robot arm in Cartesian space in S3 and acceleration The changing rules of Then based on the real-time velocity V of the end of the robot in Cartesian space Carti and real-time acceleration A Carti Perform fuzzy reasoning to determine the current load disassembly and assembly status at the end of the robotic arm.
[0120] B5: Perform gravity compensation on the robot arm according to the current load disassembly and assembly state at the end of the robot arm. The gravity compensation scheme is similar to that of Embodiment 2 and Embodiment 3.
[0121] Taking orthopedic surgery as an example, Fig.10 The schematic diagram represents the acceleration rise and fall stages of the robot arm movement. In the collaborative mode, after the power tool is installed at the end of the robot arm, the original gravity compensation value of the robot arm control system does not match the actual situation, which will cause the end of the robot arm to fall rapidly. The falling movement process of the robot arm can be divided into the acceleration rise stage and the acceleration fall stage. In the initial stage, driven by the gravity of the power tool, the robot arm falls rapidly. In the acceleration rise stage, the acceleration of the robot arm increases rapidly; due to the influence of air resistance, external force correction, etc., after the acceleration reaches the extreme value, the acceleration value will begin to decrease, that is, it enters the acceleration fall stage. When the power tool is not installed at the end of the robot arm for free dragging, the change of acceleration during the movement of the robot arm generally shows a trend of gradual decrease. Therefore, the acceleration change process represented by the acceleration slope value can be used as a basis for judging the disassembly and assembly status of the load at the end of the robot arm.
[0122] Example 5
[0123] The difference from Example 4 is that in this embodiment, the acquired parameters and calculation results are not converted into Cartesian space, and the parameters of each joint of the robot arm are directly used as the basis for judging the load disassembly and assembly state. Specifically, the gravity compensation method in the robot arm collaborative mode provided in this embodiment includes:
[0124] C1: Obtain the first parameter information of each joint of the robotic arm when no load is installed at the end of the robotic arm, and the second parameter information of each joint of the robotic arm after the load is installed at the end of the robotic arm; wherein the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when collaborative dragging is performed before the load is installed at the end of the robotic arm, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when collaborative dragging is performed after the load is installed at the end of the robotic arm.
[0125] C2: Get the current real-time parameter information of each joint of the robot arm; the real-time parameter information includes the real-time position, speed and acceleration of each joint of the robot arm.
[0126] C3: Calculate the motion information of the robot arm based on the first parameter information, the second parameter information and the real-time parameter information; the motion information includes the speed of each joint of the robot arm before and after the load is installed at the end of the robot arm and acceleration The changing rules of the robot arm and the real-time speed V of each joint i and real-time acceleration A i The calculation of the speed and acceleration of each joint of the robot arm can be obtained by referring to the calculation method of Example 3.
[0127] B4: Determine the current load disassembly and assembly status of the end of the robot arm based on the motion information of the robot arm. Specifically, based on the speed of each joint of the robot arm in S3 and acceleration The changing rules of Then based on the real-time velocity V of each joint of the robotic arm i and real-time acceleration A i Perform fuzzy reasoning to determine the current load disassembly and assembly status at the end of the robotic arm.
[0128] B5: Perform gravity compensation on the robot arm according to the current load disassembly and assembly state at the end of the robot arm. The gravity compensation scheme is similar to that of Embodiment 2 and Embodiment 3.
[0129] In summary, compared with the prior art, the gravity compensation method and gravity compensation system in the robot arm collaborative mode provided by the present invention have the following advantages:
[0130] The gravity compensation system provided by the present invention does not require additional sensors to loads such as power tools, and can adapt to third-party loads to the greatest extent. The gravity compensation method directly obtains relevant parameters through the robot control system identification, and then calculates the torque information and / or motion information of the robot, so as to judge the current load disassembly and assembly status of the end of the robot, and then performs targeted gravity compensation. This can solve the hidden danger of rapid falling of the robot arm due to the addition of loads or load changes, and ensure the safety of users.
[0131] In addition, the gravity compensation method of the present invention can be applied to orthopedic surgical robots to overcome the impedance caused by the deadweight of the power tool and improve the accuracy of orthopedic surgical operations such as bone grinding or osteotomy.
[0132] The above description is only a description of the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any changes and modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims. Obviously, a person skilled in the art may make various changes and modifications to the invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A gravity compensation method in a robot arm collaborative mode, characterized in that: The steps include: S1: Acquire first parameter information of each joint of the robotic arm when no load is installed at the end of the robotic arm, and second parameter information of each joint of the robotic arm after the load is installed at the end of the robotic arm; S2: Obtain the current real-time parameter information of each joint of the robotic arm; S3: Calculating the torque information and / or motion information of the robotic arm according to the first parameter information, the second parameter information and the real-time parameter information; S4: determining the current load disassembly and assembly state of the end of the robotic arm according to the torque information and / or motion information of the robotic arm; S5: Performing gravity compensation on the robotic arm according to the current load assembly and disassembly status at the end of the robotic arm.
2. The gravity compensation method in the robot arm collaborative mode according to claim 1, characterized in that: In S1, the first parameter information includes the gravity parameters of each joint of the robotic arm when the end of the robotic arm is not equipped with a load, and the second parameter information includes the gravity parameters of each joint of the robotic arm after the end of the robotic arm is equipped with a load; In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm; In S3, the torque information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the torque information of the robotic arm includes the theoretical gravity torque of the load on the end of the robotic arm in the Cartesian space. And the actual external torque currently exerted on the end of the robotic arm in Cartesian space In S4, according to the theoretical gravity moment and the actual external torque Determine the current load disassembly and assembly status at the end of the robotic arm.
3. The gravity compensation method in the robot arm collaborative mode according to claim 2, characterized in that: In S3, the theoretical gravity moment of the load on each joint of the robotic arm is obtained according to the first parameter information and the second parameter information. According to the theoretical gravity moment of the load on each joint of the robotic arm The theoretical gravitational moment of the load on the end of the robotic arm in Cartesian space is obtained by using the Jacobian matrix of the robotic arm 4. The gravity compensation method in the robot arm collaborative mode according to claim 2, characterized in that: In S2, the position of each joint of the robotic arm is obtained according to the encoder reading of each joint of the robotic arm; the speed of each joint of the robotic arm is obtained by time difference according to the position of each joint of the robotic arm; and the acceleration of each joint of the robotic arm is obtained by time difference according to the speed of each joint of the robotic arm.
5. The gravity compensation method in the robot arm collaborative mode according to claim 4, characterized in that: In S3, The position of the end of the robot arm in Cartesian space is obtained according to the position of each joint of the robot arm and forward kinematics; The speed of the end of the robot arm in Cartesian space is obtained according to the speed of each joint of the robot arm and the Jacobian matrix of the robot arm; The acceleration of the end of the robot arm in Cartesian space is obtained according to the acceleration of each joint of the robot arm, the Jacobian matrix of the robot arm and the derivative of the Jacobian matrix; Obtaining an inertia matrix of the robotic arm according to the first parameter information and the second parameter information; According to the position, velocity, acceleration, Jacobian matrix and inertia matrix of the robot end in Cartesian space, the actual external torque currently applied to the robot end in Cartesian space is obtained through the Newton-Euler iterative dynamics algorithm.
6. The gravity compensation method in the robot arm collaborative mode according to claim 2, characterized in that: In S1, the first parameter information also includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging; In S3, the torque information and motion information of the manipulator are calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information includes the slope value ω of the acceleration of the end of the manipulator in the Cartesian space within the current finite time. Carti , and the theoretical slope value range of the acceleration of the end of the robot arm in Cartesian space when the end of the robot arm is not equipped with a load for collaborative dragging In S4, according to the theoretical gravity moment and the actual external torque Determine the load disassembly and assembly status at the end of the robotic arm, and according to the slope value ω of the acceleration in S3 Carti and the theoretical slope value interval of the acceleration Correct the judgment result of the load disassembly and assembly status at the end of the robot arm.
7. The gravity compensation method in the robot arm collaborative mode according to claim 1, characterized in that: In S1, the first parameter information includes the gravity parameters of each joint of the robotic arm when the end of the robotic arm is not equipped with a load, and the second parameter information includes the gravity parameters of each joint of the robotic arm after the end of the robotic arm is equipped with a load; In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm; In S3, the torque information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the torque information of the robotic arm includes the theoretical gravity torque of the load on each joint of the robotic arm. And the actual driving torque currently applied to each joint of the robotic arm In S4, according to the theoretical gravity moment and the actual driving torque Determine the current load disassembly and assembly status at the end of the robotic arm.
8. The gravity compensation method in the robot arm cooperative mode according to claim 7, characterized in that: In S2, the position of each joint of the robotic arm is obtained according to the encoder reading of each joint of the robotic arm; the speed of each joint of the robotic arm is obtained by time difference according to the position of each joint of the robotic arm; and the acceleration of each joint of the robotic arm is obtained by time difference according to the speed of each joint of the robotic arm.
9. The gravity compensation method in the robot arm cooperative mode according to claim 8, characterized in that: In S3, the theoretical gravity moment of the load on each joint of the robotic arm is calculated based on the first parameter information and the second parameter information. The inertia matrix of the robot arm is obtained according to the first parameter information and the second parameter information, and then the actual driving torque currently received by each joint of the robot arm is obtained through the Newton-Euler iterative dynamics algorithm according to the position, velocity, acceleration and inertia matrix of each joint of the robot arm 10. The gravity compensation method in the robot arm cooperative mode according to claim 8, characterized in that: In S1, the first parameter information also includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging; In S3, the torque information and motion information of the robotic arm are calculated according to the first parameter information, the second parameter information and the real-time parameter information, wherein the motion information includes the slope value of the acceleration of each joint of the robotic arm within the current limited time, and the theoretical slope value interval of the acceleration of each joint of the robotic arm when the end of the robotic arm is not equipped with a load for collaborative dragging; In S4, according to the theoretical gravity moment and the driving torque The load assembly and disassembly state at the end of the robot arm is judged, and the judgment result of the load assembly and disassembly state at the end of the robot arm is corrected according to the slope value of the acceleration and the theoretical slope value interval of the acceleration in S3.
11. The gravity compensation method in the robot arm cooperative mode according to claim 1, characterized in that: In S1, the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination before the load is installed, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination after the load is installed; In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm; In S3, the motion information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information of the robotic arm includes the velocity of the robotic arm end in Cartesian space before and after the load is installed. and acceleration The changing law of and the real-time speed V of the end of the robot arm in Cartesian space Carti and real-time acceleration A Carti ; In S4, according to the speed of the end of the robot arm in the Cartesian space in S3, and acceleration The changing rules of Then based on the real-time velocity V of the end of the robotic arm in Cartesian space carti and real-time acceleration A Carti Fuzzy reasoning is performed to determine the current load disassembly and assembly status of the end of the robotic arm.
12. The gravity compensation method in the robot arm collaborative mode according to claim 1, characterized in that: In S1, the first parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination before the load is installed, and the second parameter information includes the position, velocity and acceleration of each joint of the robotic arm when the end of the robotic arm is dragging in coordination after the load is installed; In S2, the real-time parameter information includes the real-time position, velocity and acceleration of each joint of the robotic arm; In S3, the motion information of the robotic arm is calculated according to the first parameter information, the second parameter information and the real-time parameter information, and the motion information of the robotic arm includes the speed of each joint of the robotic arm before and after the load is installed at the end of the robotic arm. and acceleration The changing rules of the robot arm and the real-time speed V of each joint i and real-time acceleration A i ; In S4, according to the speed of each joint of the robot arm in S3, and acceleration The changing rules of Then based on the real-time speed V of each joint of the robotic arm i and real-time acceleration A i Fuzzy reasoning is performed to determine the current load disassembly and assembly status of the end of the robotic arm.
13. A gravity compensation system in a robot arm collaborative mode, characterized in that: include: A controller and a robotic arm are communicatively connected, wherein the controller comprises: A parameter acquisition unit is configured to acquire parameter information of each joint of the robotic arm; a calculation unit, configured to calculate the torque information and / or motion information of the robotic arm according to the parameter information of each joint of the robotic arm; The processing unit is configured to determine the current load assembly and disassembly state of the end of the robotic arm according to the torque information and / or motion information of the robotic arm, and perform gravity compensation on the robotic arm according to the current load assembly and disassembly state of the end of the robotic arm.
Citation Information
Cited By
Mechanical arm, load compensation method thereof and computer program product
CN121893273A
