Neural network motion control method for redundant manipulator based on time-varying inverse matrix

Through the redundant manipulator neural network motion control method based on the time-varying inverse matrix, the noise interference and gradient problems in the redundant manipulator motion planning are solved, the calculation accuracy and anti-interference ability are improved, and efficient motion trajectory following and recklessness are achieved. Great sex.

CN118617397APending Publication Date: 2024-09-10SOUTH CHINA UNIV OF TECH +1

Patent Information

Application Number
CN202310232017.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing redundant manipulator motion planning methods fail to effectively consider noise interference, and gradient neural network algorithms are prone to gradient disappearance and gradient explosion problems, resulting in low calculation accuracy and poor anti-interference ability.

Method used

A redundant manipulator neural network motion control method based on time-varying inverse matrix is ​​used to establish the forward kinematics equation of the redundant manipulator and convert it into an inverse kinematics equation, and then use quadratic programming and Lagrangian method to convert it into For matrix equations, the integral neural network is used to solve the product of the time-varying inverse matrix and the coefficient matrix to obtain the optimal solution.

Benefits of technology

The calculation accuracy and anti-interference ability are improved, more efficient motion trajectory following and robustness are achieved, and the impact of noise is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118617397A
    Figure CN118617397A
Patent Text Reader

Abstract

The invention discloses a redundant mechanical arm neural network motion control method based on a time-varying inverse matrix. The method is characterized by comprising the following steps that a forward kinematics equation of a redundant mechanical arm is established according to a tail end tracking task; derivation is conducted on the two sides of the forward kinematics equation, and an inverse kinematics equation of the redundant mechanical arm is obtained; constructing a motion planning scheme of the redundant mechanical arm based on quadratic programming; rewriting the constructed scheme into a matrix equation; converting a solution of the matrix equation into a product of a time-varying inverse matrix and a coefficient matrix; solving a time-varying inverse matrix in the upper computer through an integral neural network; multiplying the time-varying inverse matrix by the coefficient matrix to obtain an optimal solution of the mechanical arm on a speed layer; and the optimal solution on the obtained speed layer is integrated to obtain the optimal solution of the joint angle, and the optimal solution is transmitted to a lower computer to drive the mechanical arm to move. According to the method, the motion planning of the redundant mechanical arm is solved by adopting the integral neural network method based on the time-varying inverse matrix, and the method has the advantages of being high in calculation efficiency, high in real-time performance and good in robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of redundant manipulator motion planning, and in particular to a redundant manipulator neural network motion control method based on a time-varying inverse matrix. Background Art

[0002] A redundant robot arm refers to an end effector that has more degrees of freedom than the required number when performing a task given by a specific end effector, and the extra degrees of freedom are called redundant degrees of freedom. The redundant degrees of freedom enable the redundant robot arm to not only achieve the main task of the end effector, but also achieve some other useful goals, such as obstacle avoidance, joint limit avoidance, repetitive motion and other tasks. Therefore, due to its high efficiency and flexibility, redundant robot arms are widely used in various engineering and scientific research fields. In order to give redundant robot arms various flexible functions when performing tasks, the motion planning problem of redundant robot arms has become an important issue in the application of robot arms.

[0003] Because redundant manipulators have redundant degrees of freedom, at a specific position and posture, the redundant manipulators will have multiple sets of corresponding joint state solutions. And how to find the best solution that satisfies various constraints from multiple solutions so that the end effector of the manipulator can reach the specified position and posture, in order to achieve flexible design of optimization indicators and consider various types of constraints, the solution based on quadratic programming has been favored by more and more researchers. The solution based on quadratic programming can be converted into a matrix equation, and its solution is the product of the inverse matrix and the coefficient matrix. However, as the matrix dimension increases, the amount of inverse matrix calculation increases. Compared with numerical methods, neural networks have the advantages of being more efficient and better in real time. Therefore, the present invention proposes a redundant manipulator neural network motion control method based on a time-varying inverse matrix. On the one hand, the calculation accuracy is higher, and on the other hand, the method has better robustness. The redundant manipulator system using this method is very little affected by noise or is not affected when performing motion control tasks such as trajectory following.

[0004] In the prior art, a patent for a robotic arm motion planning method based on a fast adaptive gradient neural network algorithm has the following main defects:

[0005] 1. The impact of noise interference during the robot arm motion planning process is not taken into account;

[0006] 2. Gradient neural network algorithms will face the problems of gradient disappearance and gradient explosion. Summary of the invention

[0007] The purpose of the present invention is to propose a redundant robotic arm neural network motion control method based on a time-varying inverse matrix with higher calculation accuracy and better anti-interference ability for the redundant robotic arm motion planning problem.

[0008] The purpose of the present invention is achieved by at least one of the following technical solutions.

[0009] A redundant manipulator neural network motion control method based on a time-varying inverse matrix comprises the following steps:

[0010] S1. Performing an end tracking task for the redundant manipulator, considering the position information of the end of the manipulator in the workspace, and establishing a forward kinematic equation of the redundant manipulator according to the end tracking task;

[0011] S2, converting the forward kinematics equation of the redundant manipulator in step S1 to the velocity layer for solving, that is, taking the derivative of both sides of the equation with respect to time t at the same time, to obtain the inverse kinematics equation of the redundant manipulator;

[0012] S3, taking the inverse kinematics equation of the redundant manipulator in step S2 as an equality constraint condition, and taking the joint space motion energy as an objective function, to obtain a redundant manipulator motion planning scheme based on quadratic programming;

[0013] S4, transforming the redundant manipulator motion planning scheme based on quadratic programming in step S3 through the Lagrangian method and rewriting it into a matrix equation;

[0014] S5, directly solving the matrix equation in step S4, that is, converting it into the product of the time-varying inverse matrix and the time-varying coefficient matrix;

[0015] S6, solving the time-varying inverse matrix in step S5 by using an integral neural network in the host computer;

[0016] S7, multiplying the time-varying inverse matrix obtained in step S6 by the time-varying coefficient matrix to obtain the optimal solution of the redundant manipulator motion planning scheme based on quadratic programming, and further obtain the optimal solution of the redundant manipulator at the speed layer;

[0017] S8. Integrate the optimal solution of the redundant robotic arm at the speed layer obtained in step S7 to obtain the optimal solution of the redundant robotic arm joint angle, and transmit it to the lower computer to drive the robotic arm to move.

[0018] Furthermore, in step S1, the forward kinematics equation of the redundant manipulator is:

[0019] f(θ(t))=r(t)

[0020] Where θ(t)∈R n Represents the angle vector of each joint of the robot arm, r(t)∈R m represents the desired end position coordinate vector of the robot, n and m are the number of degrees of freedom of the robot joints and the dimension of the robot workspace, respectively, and f(·) represents the nonlinear mapping function of the robot joint angle θ(t).

[0021] Furthermore, in step S2, the derivatives of both sides of the forward kinematics equation with respect to time t are obtained:

[0022]

[0023] in, and They represent the joint angular velocity of the redundant manipulator and the velocity of the end effector, represents the Jacobian matrix of the robot arm. The above equation is also called the inverse kinematics equation of the redundant robot arm in the velocity layer.

[0024] Furthermore, in step S3, the inverse kinematics equation of the redundant manipulator is used as an equality constraint, and the joint space motion energy is used as an objective function to obtain a redundant manipulator motion planning scheme based on quadratic programming, namely:

[0025]

[0026]

[0027] The superscript T indicates the matrix transpose.

[0028] Furthermore, in step S4, the Lagrange multiplier λ(t)∈R is introduced m Construct the Lagrangian function, that is:

[0029]

[0030] when as well as When exists and is equal to zero, the solution of the Lagrangian function can be obtained, namely:

[0031]

[0032] Write the above formula in the form of the following matrix equation:

[0033] Q(t)y(t)=u(t)

[0034] Where Q(t)=[I m×n , J T (θ(t)); J(θ(t)), 0 m×m ]∈R (n+m)×(n+m) , Among them I n×n is the n-order identity matrix, 0 m×m is an m-order zero matrix.

[0035] Furthermore, in step S5, the aforementioned matrix equation is directly solved to obtain:

[0036] y(t)=Q -1 (t)u(t)

[0037] The superscript -1 indicates matrix inversion, so the solution to the matrix equation is equal to the time-varying inverse matrix Q -1 The product of (t) and the time-varying coefficient matrix u(t).

[0038] Furthermore, in step S6, the time-varying inverse matrix Q can be obtained by solving the integral neural network on the host computer. -1 (t), in order to better solve the time-varying inverse matrix Q -1 (t), let X(t) = Q -1 (t), define the following error function:

[0039] E(t)=Q(t)X(t)-I (n+m)×(n+m) ∈I (n+m)×(n+m) ∈R (n+m)×(n+m)

[0040] Among them, I (n+m)×(n+m) is an n+m-order unit matrix. When the error function E(t) converges to 0 through the integral neural network training, the obtained X(t) is the required time-varying inverse matrix Q -1 (t).

[0041] Furthermore, in step S6, the error function E(t) can be solved by an integral neural network. First, define The entire network model is expressed as follows:

[0042]

[0043] Where, E0 = βΦ(Q(0)X(0)-I (n+m)×(n+m) ), Φ(·): R (n+m)×(n+m) →R (n+m)×(n+m) represents the neural network activation function, α>0 and β>0 are two constants used to adjust the convergence rate and accuracy of the neural network. The time-varying inverse matrix Q can be obtained through the above model. -1 (t).

[0044] Further, in step S7, the obtained time-varying inverse matrix Q -1 (t) is multiplied by the time-varying coefficient matrix u(t) to obtain the optimal solution y(t) of the redundant manipulator motion planning scheme based on quadratic programming. The first n items of y(t) are the optimal solutions of the redundant manipulator at the speed layer.

[0045] Further, in step S8, the optimal solution of the redundant manipulator at the speed layer is obtained. By integrating, the optimal solution θ(t) of the redundant robot arm joint angle is obtained and transmitted to the lower computer to drive the robot arm movement.

[0046] Compared with the prior art, the present invention has the following advantages:

[0047] 1. Compared with the numerical method solver, the present invention belongs to the neural network solver, which can perform parallel calculations, has high speed and high efficiency;

[0048] 2. Compared with the traditional neural network solver, the redundant manipulator neural network motion control method based on the time-varying inverse matrix adopted in the present invention has faster convergence speed, higher calculation accuracy and better robustness; BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flow chart in an embodiment of the present invention;

[0050] Figure 2 It is an application schematic diagram of an embodiment of the present invention;

[0051] Figure 3a Schematic diagram of the robot arm motion trajectory and the expected butterfly trajectory of the six-link robot arm in an embodiment of the present invention; Figure 3b : is a trajectory tracking error diagram of a six-link robotic arm in an embodiment of the present invention; Figure 3c Schematic diagram of the robot arm motion trajectory and the expected butterfly trajectory of the six-link robot arm in an embodiment of the present invention under time-varying noise interference; Figure 3d : is a trajectory tracking error diagram of the six-link robot arm in an embodiment of the present invention under time-varying noise interference; DETAILED DESCRIPTION

[0052] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0053] Embodiment 1:

[0054] A neural network motion control method for redundant manipulators based on time-varying inverse matrices, such as Figure 1 As shown, the system used in the present invention includes a host computer 1, a redundant robot arm (including a controller) 2 and an end track 3, and specifically includes the following steps:

[0055] S1. Performing the end tracking task for the redundant manipulator, considering the position information of the end of the manipulator in the workspace, and establishing the forward kinematic equation of the redundant manipulator according to the end tracking task, that is, finding the position of each joint of the manipulator at the corresponding time from the known end position;

[0056] The forward kinematic equation of the redundant manipulator is expressed as:

[0057] f(θ(t))=r(t) (1)

[0058] Where θ(t)∈R n Represents the angle vector of each joint of the robot arm, r(t)∈R m represents the desired end position coordinate vector of the robot, n and m are the number of degrees of freedom of the robot joints and the dimension of the robot workspace, respectively, and f(·) represents the nonlinear mapping function of the robot joint angle θ(t).

[0059] S2. Since equation (1) is nonlinear, its solution is not unique. Therefore, the present invention considers the problem at the velocity layer. The forward kinematics equation of the redundant manipulator in step S1 is transformed to the velocity layer for solution. That is, both sides of the equation are simultaneously differentiated with respect to time t to obtain the inverse kinematics equation of the redundant manipulator:

[0060]

[0061] in, and They represent the joint angular velocity of the redundant manipulator and the velocity of the end effector, Represents the Jacobian matrix of the robot arm.

[0062] S3, taking the inverse kinematics equation of the redundant manipulator in step S2 as the equality constraint condition, and taking the joint space motion energy as the objective function, obtain the redundant manipulator motion planning scheme based on quadratic programming, namely:

[0063]

[0064]

[0065] The superscript T indicates the matrix transpose.

[0066] S4, transform the redundant manipulator motion planning scheme based on quadratic programming into a matrix equation through the Lagrangian method; introduce the redundant manipulator motion planning scheme based on quadratic programming in step S3 into the Lagrangian multiplier λ(t)∈R m , construct the Lagrangian function, as follows:

[0067]

[0068] when as well as When exists and is equal to zero, the solution of the Lagrangian function can be obtained, namely:

[0069]

[0070] Write the above formula in the form of the following matrix equation:

[0071] Q(t)y(t)=u(t) (6)

[0072] Where Q(t)=[I n×n , J T (θ(t)); J(θ(t)), 0 m×m ]∈R (n+m)×(n+m) , Among them I n×n is the n-order identity matrix, 0 m×m is an m-order zero matrix.

[0073] S5. Directly solve the matrix equation in step S4, that is, convert it into the product of the time-varying inverse matrix and the time-varying coefficient matrix, as follows:

[0074] y(t)=Q -1 (t)u(t) (7)

[0075] The superscript -1 indicates matrix inversion, so the solution to the matrix equation is equal to the time-varying inverse matrix Q -1 The product of (t) and the time-varying coefficient matrix u(t).

[0076] S6, the time-varying inverse matrix Q in step S5 -1 (t) is solved by the integral neural network in the host computer; In order to better solve the time-varying inverse matrix Q -1 (t), let X(t) = Q -1 (t), define the following error function:

[0077] E(t)=Q(t)X(t)-I (n+m)×(n+m) ∈I (n+m)×(n+m) ∈R (n+m)×(n+m) (8)

[0078] Among them, I (n+m)×(n+m) is an n+m-order unit matrix. When the error function E(t) converges to 0 through the integral neural network training, the obtained X(t) is the required time-varying inverse matrix Q -1 (t); the error function E(t) can be solved by the integral neural network. First, define The entire network model is expressed as follows:

[0079]

[0080] Where, E0 = βΦ(Q(0)X(0)-I (n+m)×(n+m) ), Φ(·): R (n+m)×(n+m) →R (n+m)×(n+m) represents the neural network activation function, α>0 and β>0 are two constants used to adjust the convergence rate and accuracy of the neural network. The time-varying inverse matrix Q can be obtained through the above model. -1 (t).

[0081] S7, the time-varying inverse matrix Q obtained in step S6 -1 (t) is multiplied by the time-varying coefficient matrix u(t) to obtain the optimal solution y(t) of the redundant manipulator motion planning scheme based on quadratic programming. The first n items of y(t) are the optimal solutions of the redundant manipulator at the speed layer.

[0082] S8, the optimal solution of the redundant manipulator obtained in step S7 on the speed layer By integrating, the optimal solution θ(t) of the redundant robot arm joint angle is obtained and transmitted to the lower computer to drive the robot arm movement.

[0083] Embodiment 2:

[0084] Take the redundant robot end tracking the five-pointed star trajectory as an example. Figure 2 As shown, the system used in the present invention includes a host computer 1, a redundant manipulator (including a lower computer controller) 2 and a tracked terminal trajectory 3. The system used in the present invention first establishes a specific redundant manipulator motion planning scheme based on quadratic programming according to the desired tracked trajectory 3, and then transforms the corresponding problem into a time-varying matrix inversion problem, and then solves the time-varying matrix inversion problem based on the designed integral neural network model by the host computer 1 to obtain the required time-varying inverse matrix Q -1 (t), Q -1 By multiplying (t) with the time-varying coefficient matrix u(t), we can finally obtain the optimal solution θ(t) of the redundant robot arm joint angle and transmit it to the lower computer to drive the robot arm 2 to move, thus successfully achieving the five-pointed star trajectory following task.

[0085] Embodiment 3:

[0086] The workflow of this method is now described as follows in conjunction with two specific implementation examples.

[0087] In the implementation of the six-link robot arm tracking the butterfly trajectory, the initial position joint angle of the robot arm is set to [1.675; 2.843; -3.216; 4.187; -1.71; -2.65] radians, and the integral neural network model used is:

[0088]

[0089] The calculated joint velocities are integrated to obtain the optimal solution for the joint angles, which are then transmitted to the robot controller to control the movement of the robot arm, thereby tracking the butterfly trajectory.

[0090] As shown in Figure 3, Figure a in Figure 3 is the simulated motion trajectory of the six-link robot, where the black dotted line is the butterfly trajectory expected to be followed, and the diamond-shaped marked curve is the trajectory of the actual movement of the robot. It can be found that by using a redundant robot neural network motion control method based on a time-varying inverse matrix, the six-link robot tracks the expected butterfly trajectory very well. Figure b in Figure 3 is the trajectory tracking error diagram of the robot, and its error accuracy reaches 10 to the -4th power, indicating that the tracking accuracy of the present invention is relatively high. Further, when there is time-varying noise interference in the trajectory following process, the redundant robot system applied by the present invention can also complete the trajectory following task very well. As shown in Figures c and d in Figure 3, the redundant robot successfully completes the butterfly trajectory tracking task, and the error accuracy still reaches 10 to the -4th power, and is not affected by noise interference, indicating that the robustness of the present invention is relatively strong.

Claims

1. A redundant manipulator neural network motion control method based on time-varying inverse matrix, characterized in that: The steps include: S1. Performing an end tracking task for the redundant manipulator, considering the position information of the end of the manipulator in the workspace, and establishing a forward kinematic equation of the redundant manipulator according to the end tracking task; S2, converting the forward kinematics equation of the redundant manipulator in step S1 to the velocity layer for solving, that is, taking the derivative of both sides of the equation with respect to time t at the same time, to obtain the inverse kinematics equation of the redundant manipulator; S3, taking the inverse kinematics equation of the redundant manipulator in step S2 as an equality constraint condition, and taking the joint space motion energy as an objective function, to obtain a redundant manipulator motion planning scheme based on quadratic programming; S4, transforming the redundant manipulator motion planning scheme based on quadratic programming in step S3 through the Lagrangian method and rewriting it into a matrix equation; S5, directly solving the matrix equation in step S4, that is, converting it into the product of the time-varying inverse matrix and the time-varying coefficient matrix; S6, solving the time-varying inverse matrix in step S5 by using an integral neural network in the host computer; S7, multiplying the time-varying inverse matrix obtained in step S6 by the time-varying coefficient matrix to obtain the optimal solution of the redundant manipulator motion planning scheme based on quadratic programming, and further obtain the optimal solution of the redundant manipulator at the speed layer; S8. Integrate the optimal solution of the redundant robotic arm at the speed layer obtained in step S7 to obtain the optimal solution of the redundant robotic arm joint angle, and transmit it to the lower computer to drive the robotic arm to move.

2. The redundant manipulator neural network motion control method based on time-varying inverse matrix according to claim 1 is characterized in that The forward kinematics equation of the redundant manipulator in step S1 is: f(θ(t))=r(t) Where θ(t)∈R n Represents the angle vector of each joint of the robot arm, r(t)∈R m represents the desired end position coordinate vector of the robot, n and m are the number of degrees of freedom of the robot joints and the dimension of the robot workspace, respectively, and f(·) represents the nonlinear mapping function of the robot joint angle θ(t).

3. The forward kinematics equation for the redundant manipulator according to claim 2, characterized in that In step S2, the forward kinematics equation is differentiated with respect to time t to obtain: in, and They represent the joint angular velocity of the redundant manipulator and the velocity of the end effector, represents the Jacobian matrix of the robot arm. The above equation is also called the inverse kinematics equation of the redundant robot arm in the velocity layer.

4. The inverse kinematics equation of the redundant manipulator at the velocity layer according to claim 3, characterized in that In step S3, the inverse kinematics equation of the redundant manipulator is used as an equality constraint, and the joint space motion energy is used as an objective function to obtain a redundant manipulator motion planning scheme based on quadratic programming, namely: The superscript T indicates the matrix transpose.

5. The redundant manipulator motion planning scheme based on quadratic programming according to claim 4 is characterized in that In step S4, the Lagrange multiplier λ(t)∈R is introduced. m Construct the Lagrangian function, that is: when as well as When exists and is equal to zero, the solution of the Lagrangian function can be obtained, namely: Write the above formula into the form of the following matrix equation: Q(t)y(t)=u(t) Where, Q(t)=[I n×n , J T (θ(t)); J(θ(t)), 0 m×m ]∈R (n+m)×(n+m) , Where T n×n is the n-order identity matrix, 0 m×m is an m-order zero matrix.

6. The matrix equation according to claim 5, characterized in that In step S5, the matrix equation is directly solved to obtain: y(t)=Q -1 (t)u(t) The superscript -1 indicates matrix inversion, so the solution to the matrix equation is equal to the time-varying inverse matrix Q -1 The product of (t) and the time-varying coefficient matrix u(t).

7. The time-varying inverse matrix Q according to claim 6 -1 (t), characterized in that In step S6, the integral neural network can be used to solve the time-varying inverse matrix Q. -1 (t), let X(t) = Q -1 (t), define the following error function: E(t)=Q(t)X(t)-I (n+m)×(n+m) ∈I (n+m)×(n+m) ∈R (n+m)×(n+m) Among them, I (n+m)×(n+m) is an n+m-order unit matrix. When the error function E(t) converges to 0 through the integral neural network training, the obtained X(t) is the required time-varying inverse matrix Q -1 (t).

8. The error function E(t) according to claim 7, characterized in that The solution can be obtained by the integral neural network in step S6. First, define The entire network model is expressed as follows: Where, E0 = βΦ(Q(0)X(0)-I (n+m)×(n+m) ), Φ(·): R (n+m)×(n+m) →R (n+m)×(n+m) represents the neural network activation function, α>0 and β>0 are two constants used to adjust the convergence rate and accuracy of the neural network. The time-varying inverse matrix Q can be obtained through the above model. -1 (t).

9. The time-varying inverse matrix Q obtained by the integral neural network model according to claim 8 -1 (t), characterized in that In step S7, the obtained time-varying inverse matrix Q -1 (t) is multiplied by the time-varying coefficient matrix u(t) to obtain the optimal solution y(t) of the redundant manipulator motion planning scheme based on quadratic programming. The first n items of y(t) are the optimal solutions of the redundant manipulator at the speed layer.

10. The optimal solution of the redundant manipulator according to any one of claim 9 at the speed layer Features In step S8, the optimal solution of the redundant manipulator on the speed layer is obtained. By integrating, the optimal solution θ(t) of the redundant robot arm joint angle is obtained and transmitted to the lower computer to drive the robot arm movement.

Citation Information

Patent Citations

  • Repetitive movement planning method for redundancy mechanical arm

    CN106945041A

  • Method for solving motion control of redundant mechanical arm

    CN111037550A

  • Inverse kinematics solving method for redundant robot and redundant robot and computer readable storage medium using the same

    US20220009096A1

  • Method for programming repeating motion of redundant robotic arm

    WO2018176854A1

Cited By

  • Mechanical arm sparse motion planning method and system based on cross-species optimization

    CN119304894A