Industrial robot trajectory tracking method and system based on friction compensation control
By constructing a dynamic model including friction terms and using the least squares method to identify parameters and calculate friction compensation values for control, the problem of trajectory tracking accuracy under the unopened interface of industrial robots is solved and high-precision trajectory tracking is achieved.
Patent Information
- Application Number
- CN202210694241.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-06-16
AI Technical Summary
It is difficult for existing industrial robots to perform friction compensation without opening the interface for torque control and controller parameter modification, resulting in poor trajectory tracking accuracy.
By constructing an industrial robot dynamics model that includes friction terms, the least squares method is used to identify the dynamic parameters, obtain the friction term coefficients and inertia matrices, and calculate the friction compensation value in speed mode, and perform friction compensation control based on joint speed.
Real-time friction compensation is achieved without opening the interface, which effectively improves the trajectory tracking accuracy of industrial robots and solves the problem of poor control effects of the controller's built-in algorithm.
Smart Images

Figure CN114952858B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of industrial robot control, and more specifically, relates to an industrial robot trajectory tracking method and system based on friction compensation control. Background Art
[0002] Industrial robots have high repeatability, but poor trajectory tracking accuracy. For simple point-to-point tasks, robots can maintain high operating accuracy, but with the development of advanced manufacturing and high-precision manufacturing, simple point-to-point motion will not be able to meet production needs. For example, in the process of performing some welding, polishing, cutting and other tasks, robots are required to have high trajectory tracking accuracy. Affected by interference factors such as kinematic parameter errors, dynamic model uncertainty, friction, operating environment interference, operating joint aging and driver saturation, the robot's built-in algorithm is prone to large steady-state errors, making it difficult to achieve high-precision trajectory tracking, which greatly limits the robot's processing accuracy and application range.
[0003] Studies have shown that friction is the main error source for robot trajectory tracking control. In the motion control of some heavy robots, the error caused by friction accounts for up to 50% of the total error. Therefore, the study of friction compensation is crucial for the high-precision control of robots. Usually, after the friction model is established, friction compensation can be achieved by using torque feedforward or control parameter modification. However, since some robot manufacturers do not open the interface for robot torque control and controller parameter modification, the torque compensation and control parameter modification methods cannot be performed.
[0004] In general, it is difficult for the robot's built-in algorithm to achieve high-precision trajectory tracking. Friction compensation is an important method to improve the robot's trajectory tracking accuracy, but the existing compensation methods require the robot to have a torque or controller parameter modification interface, and the compensation methods have great limitations. Summary of the invention
[0005] In response to the above defects or improvement needs of the prior art, the present invention provides an industrial robot trajectory tracking method and system based on friction compensation control, thereby solving the technical problem that the prior art is difficult to perform friction compensation without opening the robot torque control and controller parameter modification interface, resulting in poor trajectory tracking accuracy.
[0006] To achieve the above object, according to one aspect of the present invention, a method for industrial robot trajectory tracking based on friction compensation control is provided, comprising the following steps:
[0007] (1) Construct an industrial robot dynamics model including friction terms and collect dynamic parameters from the industrial robot dynamics model under the optimal excitation trajectory;
[0008] (2) The least squares method is used to identify the dynamic parameters and obtain the minimum dynamic parameter set. The minimum dynamic parameter set is substituted into the industrial robot dynamic model to obtain the identification torque. The dynamic parameters are iteratively optimized with the goal of minimizing the error between the measured torque and the identified torque to obtain the friction coefficient and inertia matrix.
[0009] (3) In the speed mode, the friction compensation value is calculated by the friction term coefficient and the inertia matrix, and the friction compensation value is combined with the joint speed of the industrial robot during trajectory tracking, thereby completing the friction compensation control work.
[0010] Furthermore, the step (2) comprises:
[0011] The industrial robot dynamics model is linearized as: the product of the dynamics full parameter coefficient matrix and the dynamics full parameter matrix;
[0012] After substituting the kinetic parameters into the kinetic full parameter coefficient matrix, the pseudo-inverse of the kinetic full parameter coefficient matrix is calculated, and the obtained kinetic full parameter matrix is the kinetic minimum parameter set;
[0013] The minimum dynamic parameter set is substituted into the dynamic model of the industrial robot to obtain the identification torque. The dynamic parameters are iteratively optimized with the goal of minimizing the error between the measured torque and the identification torque to obtain the friction coefficient and inertia matrix.
[0014] Furthermore, the specific method of the iterative optimization is:
[0015] The objective function is constructed with the goal of minimizing the error between the measured torque and the identified torque:
[0016]
[0017]
[0018] Among them, τ m (t i ) represents the mth joint of the industrial robot at t i The measured torque at time, τ m,idf (t i ) indicates that the mth joint is at t i The identification torque at time , M represents the total number of joints of the industrial robot, N represents the total number of nodes i in the trajectory, and x represents the full dynamic parameter matrix;
[0019] The iterative formula is used to iteratively search the objective function. The iterative formula is as follows:
[0020] ΔP r =((J r T J r +μI)-1 J r T )Δτ,μ>0
[0021] Among them, μ is the radius of the confidence interval, I is the unit matrix, and J r is the Jacobian matrix corresponding to the objective function, Δτ is the cumulative residual of the joint torque, ΔP r is the kinetic parameter increment;
[0022] When the cumulative residual of the joint torque is less than or equal to the preset error or reaches the maximum number of iterations, the minimum dynamic parameter set is added to the dynamic parameter increment at this time to obtain the final minimum dynamic parameter set, thereby calculating the friction coefficient and inertia matrix.
[0023] Furthermore, the iterative optimization further includes:
[0024] When the joint torque cumulative residual is greater than the preset error and the maximum number of iterations has not been reached, the current joint torque cumulative residual is compared with the previous iteration joint torque cumulative residual;
[0025] If the current joint torque cumulative residual is less than or equal to the previous iteration joint torque cumulative residual, increase the radius of the trust interval and proceed to the next iteration;
[0026] If the current joint torque cumulative residual is greater than the previous iteration joint torque cumulative residual, the next iteration is performed after reducing the radius of the confidence interval.
[0027] Furthermore, the friction compensation value is calculated as follows:
[0028]
[0029] Among them, M is the inertia matrix, d and μ are the viscous friction coefficient and Coulomb friction coefficient in the friction term respectively, and dt is the control period. is the friction compensation value in speed mode, q is the joint angle, is the angular acceleration, d·q, They represent the viscous friction torque and the Coulomb friction torque respectively. is the joint velocity.
[0030] Furthermore, the step (3) comprises:
[0031] In the speed mode, the collected joint angles are tracked to obtain the Jacobian matrix. The control parameter to be adjusted is multiplied by the end position of the industrial robot, divided by the Jacobian matrix, and then added to the reference input value of the industrial robot to obtain the joint speed of the industrial robot during trajectory tracking.
[0032] The friction compensation value is calculated by the friction coefficient and the inertia matrix, and the friction compensation value is combined with the joint speed of the industrial robot during trajectory tracking to complete the friction compensation control work.
[0033] Furthermore, the optimal excitation trajectory is obtained by:
[0034] A mixed trajectory of Fourier series and polynomial is used as the excitation trajectory of the industrial robot;
[0035] The installation limit, joint limit, singular position, maximum speed and maximum acceleration of the industrial robot are taken as constraints to constrain the excitation trajectory and obtain the optimal excitation trajectory.
[0036] Furthermore, the constraint conditions also include: setting the speed and acceleration of the industrial robot at the start and stop positions to zero.
[0037] According to another aspect of the present invention, there is provided an industrial robot trajectory tracking system based on friction compensation control, comprising:
[0038] An internal controller is used to construct a dynamic model of the industrial robot including a friction term, and to collect dynamic parameters from the dynamic model of the industrial robot under an optimal excitation trajectory;
[0039] A solver is used to identify the dynamic parameters using the least square method to obtain the minimum dynamic parameter set, substitute the minimum dynamic parameter set into the industrial robot dynamic model to obtain the identification torque, iteratively optimize the dynamic parameters with the goal of minimizing the error between the measured torque and the identification torque, and obtain the friction term coefficient and inertia matrix;
[0040] The external controller is used to calculate the friction compensation value through the friction term coefficient and the inertia matrix in the speed mode, and combine the friction compensation value with the joint speed of the industrial robot during trajectory tracking, thereby completing the friction compensation control work.
[0041] Furthermore, the external controller includes:
[0042] TD tracking differentiator, used to track the acquired joint angles and obtain the Jacobian matrix;
[0043] The terminal trajectory tracking module is used to multiply the control parameter to be adjusted by the terminal posture of the industrial robot, divide it by the Jacobian matrix, and then add it to the reference input value of the industrial robot to obtain the joint velocity of the industrial robot during trajectory tracking;
[0044] The friction compensation module is used to calculate the friction compensation value through the friction term coefficient and the inertia matrix, and combine the friction compensation value with the joint speed of the industrial robot during trajectory tracking to complete the friction compensation control work.
[0045] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:
[0046] (1) The present invention first uses least squares for pre-identification, and then iteratively optimizes the dynamic parameters with the goal of minimizing the error between the measured torque and the identified torque. The error range is gradually reduced, thereby obtaining accurate robot friction coefficients and inertia matrices, thereby calculating friction compensation values and compensating for the joint speed of the industrial robot. The present invention can perform real-time friction compensation without opening the robot torque control and controller parameter modification interface, solve the problem of poor control effect of the controller's built-in algorithm, and effectively improve the trajectory tracking accuracy of the industrial robot.
[0047] (2) To facilitate the dynamic parameter identification, the industrial robot dynamic model is linearized. The robot dynamic parameter coefficient matrix contains many redundant items, and the matrix is in a non-full rank state. Directly using the full parameter matrix for dynamic parameter identification will lead to inaccurate identification results. Least squares are used for pre-identification to eliminate redundant items in the full parameter matrix, thereby improving the accuracy of subsequent identification results. After several iterations, the error range is gradually reduced, so that the residual and a smaller dynamic minimum parameter set can be obtained, thereby obtaining the optimal robot friction coefficient and inertia matrix.
[0048] (3) The joint angles obtained by the encoder will be disturbed by factors such as noise, resulting in the inability to accurately obtain the Jacobian matrix, which is prone to tracking errors. In order to estimate the interference, the present invention tracks the collected joint angles and eliminates the interference in the joint angles collected by the encoder, thereby obtaining a Jacobian matrix closer to the true value of the system, thereby better realizing trajectory tracking. The terminal trajectory tracking control algorithm that meets the Lyapunov stability condition is constructed through the terminal posture error equation, and the two are combined in the controller periphery to construct a tracking control algorithm, which can effectively improve the trajectory tracking accuracy of the robot.
[0049] (4) The sampling process needs to ensure the continuity and stability of the robot's movement. At the same time, it is necessary to consider multiple sampling of the same trajectory to reduce the influence of interference. Since the Fourier series has good periodicity, repeated sampling can be achieved, and the polynomial can meet the speed and acceleration constraints of the starting and ending points, so as to achieve smooth acceleration and deceleration. Based on the above considerations, a trajectory mixed with Fourier series and polynomial is used as the excitation trajectory. In order to obtain an excitation trajectory that meets the constraints, the robot's installation limit, joint limit, singular position, maximum speed and maximum acceleration are used as constraints. In order to avoid the parameter identification process affecting the subsequent use of the robot, the speed and acceleration of the robot at the start and stop positions are set to zero, and the optimal excitation trajectory is solved. Then, the dynamic parameters are collected from the industrial robot dynamic model under the optimal excitation trajectory. The inertia matrix and friction coefficient of the robot are obtained by using the least squares method for pre-identification and the Levenberg-Marquardt method for iterative optimization. The friction model of the robot can be accurately established to avoid invalid compensation and over-compensation, and further ensure the accuracy of the friction compensation value. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a schematic diagram of an industrial robot trajectory tracking method based on friction compensation control provided by an embodiment of the present invention;
[0051] Figure 2 It is a flow chart of robot dynamic parameter identification provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0053] A method for tracking an industrial robot trajectory based on friction compensation control, characterized in that it comprises the following steps:
[0054] (1) Construct an industrial robot dynamics model including friction terms and collect dynamic parameters from the industrial robot dynamics model under the optimal excitation trajectory;
[0055] (2) The least squares method is used to identify the dynamic parameters and obtain the minimum dynamic parameter set. The minimum dynamic parameter set is substituted into the industrial robot dynamic model to obtain the identification torque. The dynamic parameters are iteratively optimized with the goal of minimizing the error between the measured torque and the identified torque to obtain the friction coefficient and inertia matrix.
[0056] (3) In the speed mode, the friction compensation value is calculated by the friction term coefficient and the inertia matrix, and the friction compensation value is combined with the joint speed of the industrial robot during trajectory tracking, thereby completing the friction compensation control work.
[0057] The following embodiments take the improvement of trajectory tracking accuracy of UNIVERSAL ROBOTS 10 robot (hereinafter referred to as "UR10") as an example to further explain the technical solution of the present invention.
[0058] Example 1
[0059] like Figure 1 As shown, a method for industrial robot trajectory tracking based on friction compensation control includes:
[0060] A robot dynamics model including friction terms is constructed, and the dynamics parameters are collected from the industrial robot dynamics model under the optimal excitation trajectory. The least squares method is used to pre-identify the robot dynamics parameters, and the Levenberg-Marquardt method is used to iteratively optimize the dynamics parameters based on the pre-identification to obtain the robot friction term coefficient and inertia matrix. In the speed mode, the Lyapunov method is used to design the trajectory tracking control algorithm, and a tracking differentiator is used to track the angle signal during the control process. The friction model is used to calculate the compensation value of each joint speed in each control cycle in real time to complete the friction compensation control work.
[0061] In the embodiment of the present invention, the robot is a six-axis robot, and the Lagrangian method and the Newton-Euler method can be used to construct the robot dynamics model including the friction term. The specific process is as follows:
[0062] First, the Lagrangian method is used to construct the robot dynamics model including the friction term:
[0063]
[0064] Where q = [q1, q2, q3, q4, q5, q6] T , Represents the three state variables of the robot (joint angle, velocity, angular acceleration); M(q) 6×6 is the symmetric inertia matrix associated with the joint angle q; is related to the joint angle q and joint velocity Related centrifugal and Coriolis force matrices; G(q) 6×1 is the gravity term related to the joint angle q; d 6×6 Is with speed The related diagonal matrix, which characterizes the viscous friction coefficient; μ 6×6 Is with speed The associated diagonal matrix characterizes the Coulomb friction coefficient.
[0065] Then, in order to facilitate the identification of dynamic parameters, the robot dynamic model is linearized, and the linearized robot dynamic equation is defined as follows:
[0066] τ=YP
[0067] Among them, Y is the robot dynamics full parameter coefficient matrix with 6 rows and 72 columns, and P is the robot dynamics full parameter matrix with 72 rows and 1 column.
[0068] Finally, the matrix Y contains many redundant items, and the matrix is in a non-full rank state. Directly using the full parameter matrix for dynamic parameter identification will lead to inaccurate identification results. The matrix analysis method can be used to eliminate the redundant items in the full parameter matrix and obtain the minimum parameter set expression of the robot dynamic equation, which is defined as follows:
[0069] τ=Y r P r
[0070] Among them, Y r is the coefficient matrix (observation matrix) of the robot dynamics minimum parameter set with 6 rows and 48 columns, P r It is a robot dynamics minimum parameter set matrix with 48 rows and 1 column.
[0071] In the embodiment of the present invention, the robot excitation trajectory is obtained by converting it into a constrained optimization problem, and the parameters of the excitation trajectory can be obtained by using a conventional convex optimization algorithm; in the process of obtaining the optimal excitation trajectory, the robot's installation limit, joint limit, singular position, maximum speed and maximum acceleration need to be used as constraints, and the problem of determining the optimal excitation trajectory parameters is converted into a convex optimization problem for solution; the form of the excitation trajectory can be a mixture of Fourier series and polynomials, and the specific process of obtaining the optimal excitation trajectory is as follows:
[0072] The sampling process needs to ensure the continuity and stability of the robot's movement, and it is necessary to consider multiple sampling of the same trajectory to reduce the impact of interference. Since the Fourier series has good periodicity, repeated sampling can be achieved, and the 5th-order polynomial can meet the speed and acceleration constraints of the starting point and the end point to achieve smooth acceleration and deceleration. Based on the above considerations, the trajectory mixed with the Fourier series and the polynomial is used as the final excitation trajectory of the robot. The equation form of this trajectory is:
[0073]
[0074] Among them, q i,0 represents the initial position of the i-th joint; L represents the total number of harmonics; a i,l represents the sine amplitude, b i,lrepresents the amplitude of cosine, c i,j represents the polynomial coefficient; ω f represents the fundamental frequency, l is the number of harmonics, j is the summation parameter, and t is the time.
[0075] In order to obtain an excitation trajectory that satisfies the constraints, the robot's installation limit, joint limit, singular position, maximum speed and maximum acceleration are used as constraints. In order to prevent the parameter identification process from affecting the subsequent use of the robot, the robot's speed and acceleration at the start and stop positions are set to zero. Finally, the constraint optimization conditions of the excitation trajectory are obtained as follows:
[0076]
[0077] Among them, cond(Y r ) represents the robot dynamics observation matrix Y r The condition number is the final objective function; q(t) = [q1(t), q2(t), q3(t), q4(t), q5(t), q6(t)]; q imin ,q imax Respectively represent the minimum angle value and maximum angle value of the i-th joint of the robot; Respectively represent the maximum velocity and maximum angular acceleration of the robot's ith joint, t N represents the running time of the entire trajectory; J(q i (t)) represents the Jacobian matrix of the robot; W(q(t)) is the coordinate of the end of the robot in the c coordinate system when it is in the q(t) state, W c To consider the operating space under the installation limit.
[0078] Then, according to the constraint relationship of the trajectory, the parameters to be optimized are sorted out, and the parameters to be optimized are as follows:
[0079]
[0080] The process of solving these parameters to be optimized is essentially a convex optimization problem. Convex optimization methods such as gradient descent and Newton's method can be used to solve the 66 parameters to be optimized.
[0081] In the embodiment of the present invention, the main process of kinetic parameter identification is as follows: Figure 2 As shown, it includes two parts: using the least square method to pre-identify the kinetic parameters and using the Levenberg-Marquardt method to iteratively optimize the kinetic parameters. The specific identification process is as follows:
[0082] First, the ordinary least squares method is used for pre-identification. Substitute the filtered N groups of robot joint angles, angular velocities, and angular acceleration data into the observation matrix Y rThe matrix with 6N rows and 48 columns is obtained, and the corresponding moment data is sorted into a matrix with 6N rows and 1 column, and the following expression is obtained:
[0083]
[0084] According to the least squares idea, an overdetermined system of equations is constructed, and the observation matrix Y is calculated. r The pseudo-inverse method is used to solve the minimum set of dynamic parameters. The calculation method is as follows:
[0085] P r =((Y r T Y r ) -1 Y r T )τ
[0086] Then, the Levenberg-Marquardt method is used to iteratively optimize the results obtained by least squares identification and construct the following objective function:
[0087]
[0088]
[0089] Among them, τ m (t i ) indicates that the mth joint is at t i The measured torque at time, τ m,idf (t i ) indicates that the mth joint is at t i After completing the construction of the objective function, the LM iterative formula can be used for iterative search. The iterative formula is as follows:
[0090] ΔP r =((J r T J r +μI) -1 J r T )Δτ,μ>0
[0091] Where μ is the radius of the confidence interval; I is the unit matrix; J r is the Jacobian matrix corresponding to the objective function.
[0092] In the embodiment of the present invention, ΔP r Update the minimum parameter set and update the dynamic model with the minimum parameter set. The update formula is as follows:
[0093] P r ′=P r +ΔPr
[0094] In the embodiment of the present invention, the parameters are updated and it is determined whether the next round of iteration is required. The main formula is as follows:
[0095] P r =P r ′, μ=0.5μ, Δτ=Δτ′, Δτ≤Δτ′
[0096] μ=2μ,Δτ>Δτ′
[0097] After several iterations, the error range gradually narrows, so that the residual and a smaller minimum dynamic parameter set can be obtained. The final minimum dynamic parameter set and observed torque are substituted into the industrial robot dynamics model to obtain the robot friction coefficient and inertia matrix.
[0098] In the embodiment of the present invention, the tracking control algorithm acts on the periphery of the controller, including three parts: terminal trajectory tracking control, real-time friction compensation, and TD tracking differentiator state observation. The specific calculation method of each part is as follows:
[0099] In the embodiment of the present invention, the robot end position can be expressed as X=[x, y, z, θ x ,θ y ,θ z ] T The first three components in the matrix are used to represent the position of the terminal, and the last three components are used to represent the posture of the terminal. The terminal trajectory tracking control algorithm that meets the Lyapunov stability condition is expressed as follows:
[0100]
[0101] Wherein, K is a control parameter to be adjusted that is greater than 0, subscript a represents the actual value of the robot, subscript r represents the reference input value of the robot, subscript e represents the error value, and J represents the Jacobian matrix of the robot.
[0102] In the embodiment of the present invention, the entire dynamic equation of the robot can be regarded as consisting of two parts: a friction term and a non-friction term. The friction term is extracted separately to obtain the angular acceleration compensation value of the robot. The acceleration to be compensated is integrated to obtain the angular velocity compensation value, which is expressed as follows:
[0103]
[0104] Wherein, M is the inertia matrix obtained by parameter identification; d and μ are the friction coefficients obtained by parameter identification; dt is the control period of the controller; It is the friction compensation value in speed mode.
[0105] In the embodiment of the present invention, the joint angle q obtained by the encoder a It will be disturbed by factors such as noise, resulting in the inability to accurately obtain the Jacobian matrix, which is prone to tracking errors. In order to estimate the interference, the TD differentiator is used to track the joint angle collected by the encoder, so as to obtain a Jacobian matrix closer to the true value of the system, thereby better realizing trajectory tracking. The expression of the TD tracking differentiator is as follows:
[0106]
[0107] Among them, q y represents the reference input signal, which is the joint angle collected by the encoder; q x1 represents the reference input signal q y The tracking value, here is the estimated value of the angle; q x2 represents the tracking value of the velocity, which is the estimated value of the angular velocity; fh represents the angular acceleration, h0 represents the sampling period, h represents the control period, k represents the kth discrete point in the signal, and r represents the maximum acceleration; fhan is the fastest control comprehensive function, which is calculated as follows:
[0108]
[0109] Among them, d is the first intermediate variable, d0 is the second intermediate variable, g is the third intermediate variable, sign is the sign function, a is the real-time acceleration, and a0 is the initial acceleration.
[0110] Finally, the terminal trajectory tracking control algorithm is combined with friction compensation to obtain the calculation method of the controller peripheral compensation control algorithm as follows:
[0111]
[0112] In other types of robots, such as ABB, KUKA, Wasu, etc., the specific implementation method of the industrial robot trajectory tracking accuracy improvement method based on friction compensation control provided by the present invention is similar to the compensation method of the UR10 robot, and will not be listed one by one here.
[0113] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for tracking the trajectory of an industrial robot based on friction compensation control, characterized in that: The steps include: (1) Construct an industrial robot dynamics model including friction terms and collect dynamic parameters from the industrial robot dynamics model under the optimal excitation trajectory; (2) The least squares method is used to identify the dynamic parameters and obtain the minimum dynamic parameter set. The minimum dynamic parameter set is substituted into the industrial robot dynamic model to obtain the identification torque. The dynamic parameters are iteratively optimized with the goal of minimizing the error between the measured torque and the identified torque to obtain the friction coefficient and inertia matrix. (3) In the speed mode, the friction compensation value is calculated by the friction term coefficient and the inertia matrix, and the friction compensation value is combined with the joint speed of the industrial robot during trajectory tracking, thereby completing the friction compensation control work; The step (2) comprises: The industrial robot dynamics model is linearized as: the product of the dynamics full parameter coefficient matrix and the dynamics full parameter matrix; After substituting the kinetic parameters into the kinetic full parameter coefficient matrix, the pseudo-inverse of the kinetic full parameter coefficient matrix is calculated, and the obtained kinetic full parameter matrix is the kinetic minimum parameter set; Substitute the minimum dynamic parameter set into the industrial robot dynamics model to obtain the identification torque, iteratively optimize the dynamic parameters with the goal of minimizing the error between the measured torque and the identification torque, and obtain the friction term coefficient and inertia matrix. The specific method of the iterative optimization is: The objective function is constructed with the goal of minimizing the error between the measured torque and the identified torque: Among them, τ m (t i ) represents the mth joint of the industrial robot at t i The measured torque at time, τ m,idf (t i ) indicates that the mth joint is at t i The identification torque at time , M represents the total number of joints of the industrial robot, N represents the total number of nodes i in the trajectory, and x represents the full dynamic parameter matrix; The iterative formula is used to iteratively search the objective function. The iterative formula is as follows: ΔP r =((J r T J r +μI) -1 J r T )Δτ,μ>0 Among them, μ is the radius of the confidence interval, I is the unit matrix, and J r is the Jacobian matrix corresponding to the objective function, Δτ is the cumulative residual of the joint torque, ΔP r is the kinetic parameter increment; When the cumulative residual of the joint torque is less than or equal to the preset error or reaches the maximum number of iterations, the minimum dynamic parameter set is added to the dynamic parameter increment at this time to obtain the final minimum dynamic parameter set, thereby calculating the friction coefficient and inertia matrix.
2. The industrial robot trajectory tracking method based on friction compensation control as claimed in claim 1, characterized in that: The iterative optimization also includes: When the joint torque cumulative residual is greater than the preset error and the maximum number of iterations has not been reached, the current joint torque cumulative residual is compared with the previous iteration joint torque cumulative residual; If the current joint torque cumulative residual is less than or equal to the previous iteration joint torque cumulative residual, increase the radius of the trust interval and proceed to the next iteration; If the current joint torque cumulative residual is greater than the previous iteration joint torque cumulative residual, the next iteration is performed after reducing the radius of the confidence interval.
3. The industrial robot trajectory tracking method based on friction compensation control as claimed in claim 1, characterized in that: The friction compensation value is calculated as follows: Among them, M is the inertia matrix, d and μ are the viscous friction coefficient and Coulomb friction coefficient in the friction term respectively, and dt is the control period. is the friction compensation value in speed mode, q is the joint angle, is the angular acceleration, They represent the viscous friction torque and the Coulomb friction torque respectively. is the joint velocity.
4. The industrial robot trajectory tracking method based on friction compensation control as claimed in claim 3, characterized in that: The step (3) comprises: In the speed mode, the collected joint angles are tracked to obtain the Jacobian matrix. The control parameter to be adjusted is multiplied by the end position of the industrial robot, divided by the Jacobian matrix, and then added to the reference input value of the industrial robot to obtain the joint speed of the industrial robot during trajectory tracking. The friction compensation value is calculated by the friction coefficient and the inertia matrix, and the friction compensation value is combined with the joint speed of the industrial robot during trajectory tracking to complete the friction compensation control work.
5. An industrial robot trajectory tracking method based on friction compensation control as described in any one of claims 1 to 4, characterized in that: The optimal excitation trajectory is obtained by: A mixed trajectory of Fourier series and polynomial is used as the excitation trajectory of the industrial robot; The installation limit, joint limit, singular position, maximum speed and maximum acceleration of the industrial robot are taken as constraints to constrain the excitation trajectory and obtain the optimal excitation trajectory.
6. The industrial robot trajectory tracking method based on friction compensation control as claimed in claim 5, characterized in that: The constraint conditions also include: setting the speed and acceleration of the industrial robot at the start and stop positions to zero.
7. An industrial robot trajectory tracking system based on friction compensation control, used to execute the industrial robot trajectory tracking method based on friction compensation control according to claim 1, characterized in that: include: An internal controller is used to construct a dynamic model of the industrial robot including a friction term, and to collect dynamic parameters from the dynamic model of the industrial robot under an optimal excitation trajectory; A solver is used to identify the dynamic parameters using the least square method to obtain the minimum dynamic parameter set, substitute the minimum dynamic parameter set into the industrial robot dynamic model to obtain the identification torque, iteratively optimize the dynamic parameters with the goal of minimizing the error between the measured torque and the identification torque, and obtain the friction term coefficient and inertia matrix; The external controller is used to calculate the friction compensation value through the friction term coefficient and the inertia matrix in the speed mode, and combine the friction compensation value with the joint speed of the industrial robot during trajectory tracking, thereby completing the friction compensation control work.
8. The industrial robot trajectory tracking system based on friction compensation control as claimed in claim 7, characterized in that: The external controller comprises: TD tracking differentiator, used to track the acquired joint angles and obtain the Jacobian matrix; The terminal trajectory tracking module is used to multiply the control parameter to be adjusted by the terminal posture of the industrial robot, divide it by the Jacobian matrix, and then add it to the reference input value of the industrial robot to obtain the joint velocity of the industrial robot during trajectory tracking; The friction compensation module is used to calculate the friction compensation value through the friction term coefficient and the inertia matrix, and combine the friction compensation value with the joint speed of the industrial robot during trajectory tracking to complete the friction compensation control work.
Citation Information
Patent Citations
Robot safety control method and system based on dynamical system
CN106737657A
Dynamic parameter identification based PTP (peer to peer) acceleration optimization method and device
CN108890650A
Industrial robot force / position compliance control method based on kinetic parameter identification
CN110561438A
Robot kinetic parameter identification method
CN111400936A
Overall kinetic parameter identification method based on series robot
CN111496791A
