A method and system for compensating nonlinear stiffness of a mechanical arm of a variable load device

By using a nonlinear stiffness compensation method, the pose relationship function and torque model of the robotic arm are established, the actual pose change is measured, and the joint stiffness is determined. This solves the problem of large errors under the linear model and improves the compensation accuracy and positioning precision of the robotic arm.

CN118544357BActive Publication Date: 2026-11-24EAST CHINA JIAOTONG UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410970306.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2026-11-24
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

Most existing robotic arm stiffness compensation algorithms are based on linear models, which leads to significant errors when there are large end loads or near singular configurations. Furthermore, the variable load process requires frequent assembly and disassembly, affecting the compensation efficiency and accuracy.

Method used

A nonlinear stiffness compensation method is adopted. By establishing the pose relationship function between the end-effector coordinate system and the base coordinate system of the robotic arm, the torque of the self-weight and end-effector load is determined, a nonlinear stiffness model is constructed, the actual pose change is measured, the joint stiffness is determined, and error compensation is performed.

Benefits of technology

It improves the stiffness compensation accuracy and absolute positioning precision of the robotic arm under heavy loads or unusual configurations, reduces the frequency of assembly and disassembly, and improves compensation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118544357B_ABST
    Figure CN118544357B_ABST
Patent Text Reader

Abstract

This invention discloses a nonlinear stiffness compensation method and system for a robotic arm in a variable load device. The method includes: S1: determining the pose relationship function between the end-effector coordinate system and the base coordinate system of the robotic arm; S2: determining the self-weight torque of each robotic arm link joint under its own weight, and the total torque of each robotic arm link joint under its own weight and end-effector load; S3: determining the theoretical change in the end-effector pose; S4: determining the actual change in the end-effector pose; S5: determining the joint stiffness of each robotic arm link joint based on the actual and theoretical changes in the end-effector pose; S6: determining the current deformation of each robotic arm link joint; S7: compensating the robotic arm based on the current deformation. A nonlinear stiffness model is constructed through the nonlinear mapping relationship between the end-effector load and the actual change in the end-effector pose. The joint stiffness is determined through the nonlinear stiffness model to improve the accuracy of the obtained joint stiffness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of stiffness compensation technology, specifically a nonlinear stiffness compensation method and system for a mechanical arm of a variable load device. Background Technology

[0002] In today's highly automated manufacturing industry, robotic arms play a crucial role due to their low cost, high flexibility, and wide range of motion. However, due to the open-chain serial structure of serial robotic arms, their stiffness is significantly lower than that of CNC machine tools, typically only reaching 2.00% to 5.00% of that of CNC machine tools. This limitation significantly affects their machining quality. For example, under a cutting force of 500N, the positional deviation of a robotic arm reaches approximately 1.00mm, while the error of a CNC machine tool under the same force is significantly smaller, less than 0.01mm.

[0003] To improve the machining accuracy and quality of robotic arms, most research focuses on stiffness compensation of robotic arm links, aiming to effectively compensate for end-effector positioning errors caused by weak stiffness of the links. However, current robotic arm stiffness compensation algorithms typically linearize the compensation model, performing stiffness compensation based on a simplified linear model. While linearization reduces computational complexity, it affects the accuracy of the compensation model, especially when applying large end-effector loads or when the robotic arm is near singular configurations, where the errors generated by the linear model become more significant. Furthermore, stiffness compensation tests require frequent changes in the end-effector load, necessitating reassembly and disassembly of most devices during load changes, thus reducing efficiency. Summary of the Invention

[0004] The purpose of this invention is to provide a nonlinear stiffness compensation method and system for a mechanical arm of a variable load device, so as to solve the problem of errors that will occur when using a linear model for stiffness compensation.

[0005] To achieve the above objectives, the present invention provides the following technical solution: A method for nonlinear stiffness compensation of a robotic arm in a variable load device, the method comprising: S1: Establish the coordinate system of the robotic arm end effector and the coordinate system of the robotic arm base, and determine the pose relationship function of the robotic arm end effector coordinate system relative to the coordinate system of the robotic arm base; S2: Based on the end-effector load and the self-weight of each link in the robotic arm, determine the self-weight torque of each link joint under its own weight, and the total torque of each link joint under its own weight and end-effector load. S3: Based on the relationship function between self-gravity torque, total torque and pose, determine the theoretical end-effector pose of the robotic arm under the action of self-gravity torque, the theoretical end-effector pose of the robotic arm under the action of total torque, and the theoretical change in the end-effector pose of the robotic arm. S4: Measure the actual end-effector pose of the robotic arm before and after loading, and determine the actual change in the end-effector pose of the robotic arm. S5: Determine the joint stiffness of each robotic arm link joint based on the actual and theoretical changes in the end-effector pose. S6: Determine the current deformation of each robotic arm link joint based on the joint stiffness and the current total torque of each robotic arm link joint during use; S7: Compensate the robotic arm based on the current deformation.

[0006] Compared with existing technologies, the beneficial effects of this invention are as follows: A nonlinear stiffness model is constructed by establishing a nonlinear mapping relationship between the end-effector load and the actual change in end-effector pose. This nonlinear stiffness model is used to determine joint stiffness, thereby improving the accuracy of the obtained joint stiffness and thus enhancing the accuracy of stiffness compensation. Even when the end-effector load is large or the robotic arm is near a singular configuration, accurate stiffness compensation can still be performed. Furthermore, the current deformation amount is used to compensate for the joint deformation of the robotic arm link caused by the end-effector load and the self-weight of the robotic arm link, thereby improving the absolute positioning accuracy of the robotic arm.

[0007] Preferably, S1 includes the following steps: S11: Determine the coordinate system of the robotic arm's end effector and the coordinate system of the robotic arm's base; S12: Determine the pose relationship function between the robot arm's end effector coordinate system and the robot arm's base coordinate system: In the formula, Let n represent the forward kinematics equation of the robotic arm, where n represents the total number of links in the robotic arm. Let the homogeneous transformation matrix represent the t-th link variable of the robotic arm. This represents the pose relationship between the t-th robotic arm link and the (t-1)-th robotic arm link; S13: Taking the partial derivative of the pose relation function, we obtain the corresponding Jacobian matrix J. The expression for the Jacobian matrix J is as follows: In the formula, Represents the x-axis position vector. Represents the y-axis position vector. Represents the z-axis position vector. Represents the x-axis attitude vector. This represents the y-axis attitude vector. This represents the z-axis attitude vector.

[0008] Preferably, S2 includes the following steps: S21: Determine the local coordinate system of the robotic arm link joint; S22: Determine the self-weight torque of the robotic arm link joint based on its own weight. The calculation method for the self-weight torque is as follows: In the formula, Represents gravitational acceleration; Let be the mass of the j-th robotic arm link; This represents the origin of the t-th local coordinate system based on the robot arm's base coordinate system. This represents the z-axis direction in the t-th local coordinate system based on the robot arm's base coordinate system. This represents the coordinates of the centroid of the j-th link of the robotic arm, based on the coordinate system of the robotic arm base. S23: Based on the end-effector load of the robotic arm, determine the end-effector load torque of each link joint of the robotic arm. The calculation method for the end-effector load torque is as follows: In the formula, This represents the transpose of the Jacobian matrix J. This indicates the end effector load of the robotic arm; S24: Calculate the total torque of each link joint of the robotic arm. The method for calculating the total torque is as follows: In the formula, This represents the end-effector torque of the robotic arm's linkage joint under end-effector load. This represents the gravitational torque of the robotic arm link joint under the weight of the robotic arm link itself.

[0009] Preferably, S3 includes the following steps: S31: Determine the deformation of the robotic arm link joint caused by the self-gravity torque: In the formula, Indicates joint stiffness. This indicates the amount of joint deformation due to its own weight. S32: Determine the deformation of the robotic arm link joint caused by the end-load torque: In the formula, This indicates the deformation of the end-load joint; S33: Determine the actual angle of the robotic arm under its own weight and end-effector load: In the formula, Indicates the actual angle. Indicates the preset robotic arm angle; S34: Determine the theoretical change in end-effector pose: In the formula, This represents the theoretical end-effector pose of the robotic arm under the influence of its own gravity torque. This represents the theoretical end-effector pose of the robotic arm under the influence of total torque. This represents the theoretical change in end-effector pose.

[0010] Preferably, S4 includes the following steps: S41: Measure the actual end-effector pose of the robotic arm before applying the end-effector load; S42: Apply an end-effector load to the end of the robotic arm; S43: Determine the actual pose of the robotic arm's end effector after applying the end effector load, and determine the actual change in the end effector pose. The calculation method for the actual change in the end effector pose is as follows: In the formula, This indicates the actual end effector pose of the robotic arm before the end effector load is applied. This indicates the actual pose of the robotic arm's end effector after an end effector load is applied; The method for confirming the joint stiffness in S5 above is as follows: Construct an optimization function, the expression of which is as follows: In the formula: N represents the total number of data used, and [c] represents the element corresponding to the vector; Collect a large amount of data to confirm joint stiffness .

[0011] Preferably, the calculation method for the current deformation in S6 above is as follows: In the formula: This represents the current deformation.

[0012] Based on another objective of the present invention, the present invention provides the following technical solution: a nonlinear stiffness compensation system for a robotic arm of a variable load device, the system using the method described above, comprising: a pose relationship function confirmation module, used to establish the end-effector coordinate system and the base coordinate system of the robotic arm, and determine the pose relationship function of the end-effector coordinate system relative to the base coordinate system of the robotic arm; a torque confirmation module, used to determine the self-weight torque of each robotic arm link joint under its own weight and the total torque of each robotic arm link joint under its own weight and end-effector load based on the end-effector load and the self-weight of each robotic arm link in the robotic arm; and a theoretical change confirmation module, used to determine the self-weight torque and the total torque based on the self-weight torque and the total torque. The system includes: a pose relationship function to determine the theoretical end-effector pose of the robotic arm under its own weight torque, the theoretical end-effector pose of the robotic arm under the total torque, and the theoretical change in the end-effector pose; a loading module to add end-effector load to the robotic arm; a measurement module to measure the actual end-effector pose of the robotic arm; a solution module to determine the joint stiffness of each link joint based on the actual and theoretical changes in the end-effector pose; a current deformation confirmation module to determine the current deformation of each link joint based on the joint stiffness and the current total torque during use; and a compensation module to compensate the robotic arm based on the current deformation.

[0013] Preferably, the loading module includes: Frame; Connector, mounted on the frame, is used to connect the robotic arm; The fixing frame is installed on the frame body; Mass block, the mass block is set on a fixed frame; Locking element, which is installed on the fixing frame, is used to fix the position of the mass block; Gauge blocks are installed on the frame.

[0014] In view of another objective of the present invention, the present invention provides the following technical solution: a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described above.

[0015] In view of another objective of the present invention, the present invention provides the following technical solution: a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above. Attached Figure Description

[0016] Figure 1 A schematic flowchart of a nonlinear stiffness compensation method for a robotic arm of a variable load device; Figure 2 This is a schematic diagram of the system structure of the present invention; Figure 3A schematic diagram of the local coordinate system of each robotic arm link joint; Figure 4 This is a schematic diagram of the measurement module. Figure 5 This is a structural diagram of the loading module.

[0017] In the diagram: 100, System; 110, Pose Relationship Function Confirmation Module; 120, Torque Confirmation Module; 130, Theoretical Change Confirmation Module; 140, Loading Module; 141, Connector; 142, Frame; 143, Locking Component; 144, Gauge Block; 145, Fixing Frame; 146, Mass Block; 150, Measurement Module; 160, Solving Module; 170, Current Deformation Confirmation Module; 180, Compensation Module; 200, Robotic Arm; 300, Measurement Table. Detailed Implementation

[0018] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0019] In this document, terms such as "upper," "lower," "inner," and "outer" are established based on the positional relationships shown in the accompanying drawings. Depending on the drawings, the corresponding positional relationships may also change. Therefore, they should not be interpreted as an absolute limitation on the scope of protection. Moreover, relational terms such as "first" and "second" are only used to distinguish one component from another that has the same name, and do not necessarily require or imply any such actual relationship or order between these components.

[0020] Example 1 like Figure 1As shown, this embodiment provides a nonlinear stiffness compensation method for a robotic arm of a variable load device. The method includes: S1: Establishing the coordinate system of the robotic arm end effector and the coordinate system of the robotic arm base, and determining the pose relationship function of the coordinate system of the robotic arm end effector relative to the coordinate system of the robotic arm base. In the process of stiffness compensation of the robotic arm, it is necessary to perform static analysis on each link of the robotic arm. Therefore, it is necessary to first establish the coordinate system of the robotic arm end effector and the coordinate system of the robotic arm base. The robotic arm base refers to the component that fixes the robotic arm. The base can be stationary or moving. The coordinate system of the robotic arm base is a coordinate system with the center of the base as the origin. When the base is stationary, its coordinate system of the robotic arm base is also stationary. When the base is moving, its coordinate system of the robotic arm base is also moving. In this embodiment, the base is stationary, and the positive X-axis of the coordinate system of the robotic arm base is the front of the base, the positive Z-axis is the top of the base, and the positive Y-axis is the left side of the base. The coordinate system of the robotic arm end effector is the coordinate system of the robotic arm connected to the end load. A coordinate system is established with the center of the component as the origin. The positive X-axis, positive Z-axis, and positive Y-axis directions can be defined by referring to the coordinate system of the robot arm base. After establishing the above two coordinate systems, the pose relationship function of the robot arm end effector coordinate system relative to the robot arm base coordinate system is derived according to the DH (Denavit-Hartenberg) parameters. In the process of confirming the pose relationship function, the pose (position and attitude) of each robot arm link joint relative to the previous robot arm link joint is first determined. Each robot arm link joint should theoretically have 6 degrees of freedom, including: positional degrees of freedom in the X-axis, Y-axis, and Z-axis directions; and attitude degrees of freedom in the X-axis, Y-axis, and Z-axis directions. The pose of each robot arm link relative to the previous robot arm link can be expressed by a transformation matrix. The transformation matrices of each robot arm link joint are multiplied in sequence to obtain the robot's forward kinematics equation, thereby solving the pose relationship function of the robot arm end effector coordinate system relative to the robot arm base coordinate system. S2: Based on the end-effector load and the self-weight of each link in the robotic arm, determine the self-weight torque of each link joint under its own weight, and the total torque of each link joint under its own weight and end-effector load. Based on the self-weight, end-effector load, and pose relationship function of each link, construct a method for calculating the total torque. In the calculation of the total torque, not only the influence of the end-effector load on the total torque is considered, but also the influence of the gravity of each link itself on the total torque, thereby enhancing the accuracy of the determined total torque and forming the basis for constructing a nonlinear stiffness model. S3: Based on the relationship function between self-gravity torque, total torque, and pose, determine the theoretical end-effector pose of the robotic arm under self-gravity torque, the theoretical end-effector pose of the robotic arm under total torque, and the theoretical change in end-effector pose. S4: Measure the actual end-effector pose of the robotic arm before and after loading to determine the actual change in end-effector pose. S5: Based on the actual change in end-effector pose and the theoretical change in end-effector pose, determine the joint stiffness of each link joint of the robotic arm. The theoretical change in end-effector pose is the difference between the theoretical end-effector pose of the robotic arm under total torque and the theoretical end-effector pose of the robotic arm under self-gravity torque, while the actual change in end-effector pose... The torque is obtained through measurement, and the end load in the total torque calculation process is the same as the end load applied to the end of the robot arm during the measurement process. The mass and size of the two are the same. The joint stiffness of each robot arm link joint is determined by the theoretical change of the end pose and the actual change of the end pose. A nonlinear stiffness model is constructed by the nonlinear mapping relationship between the end load and the actual change of the end pose. The joint stiffness is obtained by the nonlinear stiffness model to improve the accuracy of the joint stiffness, thereby improving the accuracy of stiffness compensation. Even when the end load is large or the robot arm is near a singular configuration, it can still provide accurate stiffness compensation.

[0021] S6: Determine the current deformation of each robotic arm link joint based on the joint stiffness and the current total torque during use; determine the current deformation based on the joint stiffness and the current total torque, and use the current deformation to compensate for the joint deformation caused by the end load and the self-weight of the robotic arm link, so as to improve the absolute positioning accuracy of the robotic arm.

[0022] S7: Compensate the robotic arm based on the current deformation. The current deformation is a geometric parameter, including the X-axis, Y-axis, and Z-axis position vectors and the X-axis, Y-axis, and Z-axis attitude vectors. The robotic arm has a preset angle during use (the preset angle is also a geometric parameter). The actual angle is obtained by adding the preset angle to the current deformation. When the robotic arm needs to move to the preset angle, it moves to the actual angle. Due to the deformation of the robotic arm's linkage joints caused by the total torque, the robotic arm is actually located at the preset angle. Through the above steps, the robotic arm can be compensated, improving its positioning accuracy.

[0023] Specifically, in this embodiment, a nonlinear stiffness model is constructed based on the nonlinear mapping relationship between the end-effector load and the actual change in end-effector pose. This nonlinear stiffness model is used to determine joint stiffness, improving the accuracy of the obtained joint stiffness and thus enhancing the accuracy of stiffness compensation. Even when the end-effector load is large or the robotic arm is near a singular configuration, accurate stiffness compensation can still be performed. Error compensation is then applied to the joint deformation of the robotic arm link caused by the end-effector load and the self-weight of the robotic arm link using the current deformation amount, thereby improving the absolute positioning accuracy of the robotic arm.

[0024] Furthermore, step S1 above includes the following steps: S11: Determine the coordinate system {E} of the robotic arm end effector and the coordinate system {B} of the robotic arm base. The robotic arm base refers to the component that fixes the robotic arm. The base can be stationary or moving. The coordinate system of the robotic arm base is a coordinate system with the center of the base as the origin. When the base is stationary, its coordinate system of the robotic arm base is also stationary. When the base is moving, its coordinate system of the robotic arm base is also moving. In this embodiment, the base is stationary, and the positive X-axis direction of the robotic arm base coordinate system is the front of the base, the positive Z-axis direction is the top of the base, and the positive Y-axis direction is the left side of the base. The coordinate system of the robotic arm end effector is a coordinate system established with the center of the component that connects the end load to the end of the robotic arm as the origin. The definition standards of its positive X-axis direction, positive Z-axis direction, and positive Y-axis direction can be referred to the coordinate system of the robotic arm base. S12: Determine the pose relationship function of the robotic arm's end effector coordinate system {E} relative to the robotic arm's base coordinate system {B}. Specifically, based on the DH parameter model, the pose relationship function of the robotic arm's end effector coordinate system {E} relative to the robotic arm's base coordinate system {B} can be derived. The specific expression of the pose relationship function is as follows: In the formula, Represents the pose relationship function. Let n represent the forward kinematics equation of the robotic arm, where n represents the total number of links in the robotic arm. Let the homogeneous transformation matrix represent the t-th link variable of the robotic arm. This represents the pose relationship between the t-th robotic arm link and the (t-1)-th robotic arm link; S13: Taking the partial derivative of the pose relation function, we obtain the corresponding Jacobian matrix J. The expression for the Jacobian matrix J is as follows: In the formula, Represents the x-axis position vector. Represents the y-axis position vector. Represents the z-axis position vector. This represents the x-axis attitude vector, which also represents the x-axis angle vector. This represents the y-axis attitude vector, which also represents the y-axis angle vector. The z-axis attitude vector represents the z-axis angle vector; the Jacobian matrix J is a matrix formed by arranging the first-order partial derivatives of the pose relation function in a certain way.

[0025] Furthermore, such as Figure 3 As shown, step S2 above includes the following steps: S21: Determine the local coordinate system of the robotic arm link joint. The local coordinate system is a coordinate system established with the center of the robotic arm link joint as the origin. The definition standards of its positive X-axis, positive Z-axis and positive Y-axis can be referred to the coordinate system of the robotic arm base. S22: Based on the self-weight of the robotic arm links, determine the self-weight torque of the robotic arm link joints. The robotic arm link n at the very end of the robotic arm is mainly affected by its own weight. Therefore, the calculation method for the self-weight torque of the robotic arm link n at the very end is as follows: In the formula, It is the acceleration due to gravity; Let n be the mass of the robotic arm link; This represents the origin of the local coordinate system based on the robot arm's base coordinate system. To represent the z-axis direction in the local coordinate system based on the robot arm's base coordinate system, Let represent the coordinates of the center of mass of link n of the robotic arm in the coordinate system of the robotic arm base. Similarly, the method for calculating the self-weight torque of the (n-1)th robotic arm link is as follows: ( ( )) ( ( )) In summary, the calculation method for the self-weight torque of each link joint of the robotic arm can be obtained recursively: In the formula, Represents gravitational acceleration; Let be the mass of the j-th robotic arm link; This represents the origin of the t-th local coordinate system based on the robot arm's base coordinate system. This represents the z-axis direction in the t-th local coordinate system based on the robot arm's base coordinate system. Let represent the coordinates of the centroid of the j-th link of the robotic arm based on the coordinate system of the robotic arm base. S23: Based on the end-effector load of the robotic arm, determine the end-effector load torque of each link joint of the robotic arm. The calculation method for the end-effector load torque is as follows: In the formula, This represents the transpose of the Jacobian matrix J. This indicates the end effector load of the robotic arm. ,in These represent spatial forces along the x-axis, y-axis, and z-axis, respectively. These represent the spatial torques along the x-axis, y-axis, and z-axis, respectively. S24: Calculate the total torque of each link joint of the robotic arm. The total torque is the sum of the self-weight torque and the end-load torque. The specific calculation method is as follows: In the formula, This represents the end-effector torque of the robotic arm's linkage joint under end-effector load. This represents the gravitational torque of the robotic arm link joint under the weight of the robotic arm link itself. The total torque of each robotic arm link joint is calculated by considering not only the influence of the end load on the total torque, but also the influence of the gravity of each robotic arm link itself on the total torque, thus enhancing the accuracy of the determined total torque and forming the basis for constructing a nonlinear stiffness model. Furthermore, step S3 above includes the following steps: S31: Determine the deformation of the robotic arm link joint caused by the self-gravity torque: In the formula, Indicates joint stiffness. This indicates the amount of joint deformation due to its own weight. S32: Determine the deformation of the robotic arm link joint caused by the end-load torque: In the formula, This represents the deformation of the end-load joint. The total deformation of the robotic arm's link joints is the sum of the deformation of the self-weight joint and the deformation of the end-load joint. S33: Determine the actual angle of the robotic arm under its own weight and end-effector load: In the formula, Indicates the actual angle. This represents the preset robotic arm link angle. The actual angle is the sum of the preset robotic arm link angle and the total deformation of the robotic arm link joint. The actual angle, the preset robotic arm link angle, and the deformation of the robotic arm link joint are all geometric parameters. S34: Determine the theoretical change in end-effector pose: In the formula, This represents the theoretical end-effector pose of the robotic arm under the influence of its own gravity torque. This represents the theoretical end-effector pose of the robotic arm under the influence of total torque. This represents the theoretical change in end-effector pose, including joint stiffness. It is unknown at this time.

[0026] Furthermore, step S4 above also includes the following steps: Step S4 above also includes the following steps: S41: Measure the actual end-effector pose of the robotic arm before applying the end-effector load; S42: Apply the end-effector load to the end-effector of the robotic arm; S43: Determine the actual end-effector pose of the robotic arm after applying the end-effector load, and determine the actual change in end-effector pose. The calculation method for the actual change in end-effector pose is as follows: In the formula, This indicates the actual end effector pose of the robotic arm before the end effector load is applied. This indicates the actual pose of the robotic arm's end effector after an end effector load is applied; The method for confirming the joint stiffness in S5 above is as follows: Construct an optimization function, the expression of which is as follows: In the formula: N represents the total number of data used, [c] represents the element corresponding to the vector, [c] includes [1, 2, 3, 4, 5, 6], where [1] represents the x-axis position vector, [2] represents the y-axis position vector, [3] represents the z-axis position vector, [4] represents the x-axis pose vector, [5] represents the y-axis pose vector, and [6] represents the z-axis pose vector; Collect a large amount of data to determine joint stiffness The large amount of data includes data collected when different end-effector loads are applied to the end of the robotic arm and different preset angles are set. After collecting a large amount of data, the joint stiffness can be determined through optimization functions. Joint stiffness obtained through a nonlinear stiffness model Higher accuracy, higher accuracy joint stiffness This makes the stiffness compensation more effective.

[0027] Furthermore, in S6 above, the current deformation is calculated as follows: In the formula: The current deformation is based on the joint stiffness. The current deformation is determined by the current total torque. The deformation is then used to compensate for the error in the joint deformation of the robotic arm caused by the end load and the self-weight of the robotic arm link, so as to improve the absolute positioning accuracy of the robotic arm.

[0028] Example 2 In this embodiment, the parts that are the same as in Embodiment 1 are given the same reference numerals, and the same text descriptions are omitted.

[0029] like Figure 2 , Figure 4 , Figure 5 As shown, this embodiment discloses a nonlinear stiffness compensation system 100 for a robotic arm of a variable load device. System 100 uses the method described in Embodiment 1 and includes: a pose relationship function confirmation module 110, used to establish the robotic arm end-effector coordinate system and the robotic arm base coordinate system, and determine the pose relationship function of the robotic arm end-effector coordinate system relative to the robotic arm base coordinate system; a torque confirmation module 120, used to determine the self-weight torque of each robotic arm link joint under its own weight and the total torque of each robotic arm link joint under its own weight and end-effector load, based on the end-effector load and the self-weight of each robotic arm link in the robotic arm; a theoretical change confirmation module 130, used to determine the theoretical end-effector pose of the robotic arm under its own weight torque, the theoretical end-effector pose of the robotic arm under the total torque, and the theoretical change in the end-effector pose of the robotic arm, based on the self-weight torque, the total torque, and the pose relationship function; and a loading module 140, used to change the load on the robotic arm 200. End-effector load; Measurement module 150: used to measure the end-effector pose of the robotic arm. Preferably, the measurement module 150 determines the end-effector pose of the robotic arm based on a measurement coordinate system using multi-point positioning, and then converts the end-effector pose based on the measurement coordinate system into the end-effector pose based on the robotic arm base coordinate system. The measurement coordinate system refers to a coordinate system established with the center of the measurement module 150 as the origin, and the definition standards of its positive X-axis, positive Z-axis, and positive Y-axis can be referenced from the robotic arm base coordinate system; Solving module 160: used to determine the joint stiffness of each robotic arm link joint based on the actual and theoretical changes in the end-effector pose; Current deformation confirmation module 170: used to determine the current deformation of each robotic arm link joint based on the joint stiffness and the current total torque during use; Compensation module 180: used to compensate the robotic arm based on the current deformation. Preferably, a test bench 300 is also included, with both the robotic arm 200 and the measurement module 150 located on the test bench 300.

[0030] Furthermore, the loading module 140 includes: The frame 142 includes a connector 141 mounted on it for connecting the robotic arm. The connector 141 is preferably a fastener. By using the connector 141, the loading module 140 can be adapted to meet the stiffness compensation needs of different models and specifications of robotic arms 200, thus making the loading module 140 versatile. This versatility gives the loading module 140 broad application prospects, providing a unified and efficient solution for stiffness compensation of various robotic arms. A fixed frame 145 is mounted on the frame 142 and the mass block 146 is mounted on the fixed frame 145. By placing different numbers and specifications of mass blocks 146 on the fixed frame 145, the end-effector load can be changed. A locking member 143 is mounted on the fixed frame 145 to fix the position of the mass block 146. The locking member 143 secures different numbers and specifications of mass blocks 146 to the fixed frame 145, forming a stable end-effector load. Preferably, the fixed frame 145 is a screw, and the locking member 143 is a nut adapted to the screw. By setting the fixed frame 145, the mass block 146, and the locking member 143, the end-effector load can be adjusted quickly and accurately. The loading module 140 integrated into the end of the robotic arm 200 enables rapid and precise adjustment of the end-effector load, which greatly improves the efficiency of robotic arm stiffness compensation. The quick-installation and removal of the loading module 140 makes the compensation process smoother and reduces unnecessary operation time. Gauge block 144 is mounted on frame 142. Gauge block 144 is adapted to measurement module 150 for measuring the end effector pose of robotic arm 200.

[0031] Example 3 In this embodiment, the parts that are the same as those in Embodiment 1 and Embodiment 2 are given the same reference numerals, and the same text descriptions are omitted.

[0032] This embodiment discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method as described in Embodiment 1.

[0033] Example 4 In this embodiment, the parts that are the same as those in Embodiment 1, Embodiment 2 and Embodiment 3 are given the same reference numerals, and the same text descriptions are omitted.

[0034] This embodiment discloses a storage medium on which a computer program is stored, which, when executed by a processor, implements the method as described in Embodiment 1.

[0035] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A method for nonlinear stiffness compensation of a robotic arm in a variable load device, characterized in that, The method includes: S1: Establish the coordinate system of the robotic arm end effector and the coordinate system of the robotic arm base, and determine the pose relationship function of the robotic arm end effector coordinate system relative to the coordinate system of the robotic arm base; S2: Based on the end load of the robotic arm and the self-weight of each robotic arm link in the robotic arm, determine the self-weight torque of each robotic arm link joint under its own weight, and the total torque of each robotic arm link joint under its own weight and end load. S3: Based on the self-weight torque, the total torque, and the pose relationship function, determine the theoretical end-effector pose of the robotic arm under the action of the self-weight torque, the theoretical end-effector pose of the robotic arm under the action of the total torque, and the theoretical change in the end-effector pose of the robotic arm; S4: Measure the actual end-effector pose of the robotic arm before and after loading, and determine the actual change in the end-effector pose of the robotic arm; S5: Determine the joint stiffness of each of the robotic arm link joints based on the actual change in the end-effector pose and the theoretical change in the end-effector pose. S6: Determine the current deformation of each robotic arm link joint based on the joint stiffness and the current total torque of each robotic arm link joint during use; S7: Compensate the robotic arm based on the current deformation.

2. The nonlinear stiffness compensation method for the robotic arm of a load-changing device according to claim 1, characterized in that, The above S1 includes the following steps: S11: Determine the coordinate system of the end effector of the robotic arm and the coordinate system of the base of the robotic arm; S12: Determine the pose relationship function of the end effector coordinate system of the robotic arm relative to the base coordinate system of the robotic arm: In the formula, Let n represent the forward kinematics equation of the robotic arm, and n represent the total number of links in the robotic arm. Let the homogeneous transformation matrix represent the t-th link variable of the robotic arm. This represents the pose relationship between the t-th robotic arm link and the (t-1)-th robotic arm link; S13: Taking the partial derivative of the pose relationship function, we obtain the corresponding Jacobian matrix J. The expression for the Jacobian matrix J is as follows: In the formula, Represents the x-axis position vector. Represents the y-axis position vector. Represents the z-axis position vector. Represents the x-axis attitude vector. This represents the y-axis attitude vector. This represents the z-axis attitude vector.

3. The nonlinear stiffness compensation method for the robotic arm of a load-changing device according to claim 2, characterized in that, The above S2 includes the following steps: S21: Determine the local coordinate system of the robotic arm link joint; S22: Determine the self-weight torque of the robotic arm link joint based on its own weight. The calculation method for the self-weight torque is as follows: In the formula, Represents gravitational acceleration; Let j be the mass of the j-th robotic arm link; This represents the origin of the t-th local coordinate system based on the robot arm's base coordinate system. This represents the z-axis direction of the t-th local coordinate system based on the robot arm's base coordinate system. This represents the coordinates of the centroid of the j-th link of the robotic arm, based on the coordinate system of the robotic arm base. S23: Based on the end-effector load of the robotic arm, determine the end-effector load torque of each link joint of the robotic arm. The calculation method for the end-effector load torque is as follows: In the formula, This represents the transpose of the Jacobian matrix J. This indicates the end effector load of the robotic arm; S24: Calculate the total torque of each of the robotic arm link joints, the total torque calculation method is as follows: In the formula, This represents the end-load torque of the robotic arm linkage under the action of the end-load. This refers to the gravitational torque of the robotic arm linkage joint under the weight of the robotic arm linkage itself.

4. The nonlinear stiffness compensation method for the robotic arm of a load-changing device according to claim 3, characterized in that, The above S3 includes the following steps: S31: Determine the deformation of the robotic arm link joint caused by the self-gravity torque: In the formula, Indicates joint stiffness. This indicates the amount of joint deformation due to its own weight. S32: Determine the deformation of the robotic arm link joint caused by the end-load torque: In the formula, This indicates the deformation of the end-load joint; S33: Determine the actual angle of the robotic arm under its own weight and end-effector load: In the formula, Indicates the actual angle. This indicates the preset angle of the robotic arm; S34: Determine the theoretical change in the end-effector pose: In the formula, This indicates the theoretical end-effector pose of the robotic arm under the influence of its own gravity torque. This indicates the theoretical end-effector pose of the robotic arm under the total torque. The theoretical change in the end-effector pose is given.

5. The nonlinear stiffness compensation method for the robotic arm of a load-changing device according to claim 4, characterized in that, The above S4 includes the following steps: S41: Measure the actual end-effector pose of the robotic arm before the end-effector load is applied; S42: Apply the end load to the end of the robotic arm; S43: Determine the actual end-effector pose of the robotic arm after applying the end-effector load, and determine the actual change in end-effector pose. The calculation method for the actual change in end-effector pose is as follows: In the formula, This indicates the actual end-effector pose of the robotic arm before the end-effector load is applied. This indicates the actual end-effector pose of the robotic arm after the end-effector load is applied; The method for confirming the joint stiffness in S5 above is as follows: Construct an optimization function, the expression of which is as follows: In the formula: N represents the total number of data used, and [c] represents the element corresponding to the vector; Collect a large amount of data to confirm the joint stiffness. .

6. The nonlinear stiffness compensation method for the robotic arm of a load-changing device according to claim 5, characterized in that, The calculation method for the current deformation amount described in S6 above is as follows: In the formula: This represents the current deformation amount.

7. A nonlinear stiffness compensation system for a robotic arm of a variable load device, said system using the method described in any one of claims 1-6, characterized in that, include: The pose relationship function confirmation module is used to establish the coordinate system of the robot arm end effector and the coordinate system of the robot arm base, and to determine the pose relationship function of the robot arm end effector coordinate system relative to the coordinate system of the robot arm base. Torque Confirmation Module: Used to determine the self-weight torque of each link joint under its own weight and the total torque of each link joint under its own weight and end-weight, based on the end load of the robotic arm and the self-weight of each link in the robotic arm. Theoretical change confirmation module: used to determine the theoretical end pose of the robotic arm under the action of the self-gravity torque, the theoretical end pose of the robotic arm under the action of the total torque, and the theoretical change in the end pose of the robotic arm based on the self-gravity torque, the total torque, and the pose relationship function; Loading module: used to add the end effector load to the robotic arm; Measurement module: used to measure the actual pose of the end effector of the robotic arm; Solving module: used to determine the joint stiffness of each of the robotic arm link joints based on the actual change in the end-effector pose and the theoretical change in the end-effector pose; Current Deformation Confirmation Module: Used to determine the current deformation of each of the robotic arm link joints based on the joint stiffness and the current total torque during use. Compensation module: used to compensate the robotic arm based on the current deformation.

8. The nonlinear stiffness compensation system for a robotic arm of a variable load device according to claim 7, characterized in that, The loading module includes: Frame; A connector, which is mounted on the frame and used to connect the robotic arm; A fixing frame, wherein the fixing frame is disposed on the frame body; A mass block, wherein the mass block is disposed on the fixing frame; A locking element is provided on the fixing frame to fix the position of the mass block; Gauge blocks, which are disposed on the frame.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1-6.

10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Dead weight and load deformation compensation based robot calibration method and system

    CN108406768A

  • Cutting machining robot static error compensation and dynamic stiffness model correction method

    CN110962124A