Method for programming repeating motion of redundant robotic arm
11409263 · 2022-08-09
Assignee
Inventors
Cpc classification
B25J9/1607
PERFORMING OPERATIONS; TRANSPORTING
G05B2219/39271
PHYSICS
B25J9/1664
PERFORMING OPERATIONS; TRANSPORTING
G05B19/4155
PHYSICS
G06F17/16
PHYSICS
G06N5/01
PHYSICS
G06N3/049
PHYSICS
International classification
G05B19/4155
PHYSICS
G06F17/16
PHYSICS
Abstract
A method is presented for programming a repeating motion of a redundant robotic arm on the basis of a variable parameter convergence differential neural network. The method may include establishing an inverse kinematics equation, creating an inverse kinematics problem, introducing a repeating motion indicator, converting a time-varying convex quadratic programming problem into a time-varying matrix equation, and integrating an optimal solution to obtain an optimal solution of a joint angle. The use of the variable parameter convergence differential neural network to solve the repeating redundant mechanical motion has the advantages of high computational efficiency, high real-time performance, and enhanced robot arm robustness.
Claims
1. A method for performing a repeating motion of a robotic arm on the basis of a variable parameter convergence differential neural network, comprising: providing a robotic arm, the robotic arm having an end and a plurality of joints; providing a system for operating the robotic arm by the following steps: a) establishing an inverse kinematics equation of the robotic arm at a velocity level by tracking the end of the robotic arm; b) generating an inverse kinematics problem as a time-varying convex quadratic programming problem constrained by an equality; c) obtaining an initial joint state θ(0) of the robotic arm and a joint state θ(t) during the motion of the robotic arm, and introducing a repeating motion indicator into the time-varying convex quadratic programming problem; wherein the repeating motion indicator is obtainable by means of the performance indicator coefficient c, which is designed as c=ζ(θ(t)−θ(0)), where ζ represents the response coefficient to a joint offset; d) converting the time-varying convex quadratic programming problem, into a time-varying matrix equation by using a Lagrangian function; e) solving the time-varying matrix equation by the variable parameter convergence differential neural network; wherein the error of the time-varying matrix equation converges to zero based on the variable parameter convergence differential neural network, an error function is constructed as:
ε(t)=Qy−u where ε(t) represents the error of the time-varying matrix equation, and then based on a neurodynamic method, the error is designed to converge to zero in the following way:
Q{dot over (y)}=−{dot over (Q)}y−γ exp(t)Φ(Qy−u)+{dot over (u)} where the variable parameter convergence differential neural network solver obtains an optimal solution y* of the time-varying matrix equation, and the first n terms thereof are an optimal solution x* of the time-varying convex quadratic programming problem, i.e., an optimal solution of a joint angular velocity; f) integrating the optimal solution x* of the robotic arm at the velocity level to obtain an optimal solution θ* of a joint angle; and g) using the optimal solution θ* of the joint angle to operate the robotic arm to perform the repeating motion, so that after the end of the robotic arm completes a cycle of actions, all the joints of the robotic arm can return to an initial position.
2. The method for performing a repeating motion of a robotic arm on the basis of a variable parameter convergence differential neural network, as claimed in claim 1, wherein the inverse kinematics equation of the robotic arm is expressed as:
f(θ)=r where r is a desired track of an end of the robotic arm, and f(•) is a nonlinear equation of the joint angle of the robotic arm, and the inverse kinematics equation of the robotic arm at the velocity level is obtained by deriving the two sides of the equation with respect to time:
J(θ){dot over (θ)}={dot over (r)} where J(θ)∈R.sup.m×n is an m×n-dimensional matrix on the real number field, J(θ) is a Jacobian matrix of the redundant robotic arm, n is the number of the degrees of freedom of the robotic arm, and m is the number of the spatial dimensions of the track of the end of the robotic arm, and {dot over (θ)} and {dot over (r)} are respectively the derivatives of the joint angle and the track of the end of the redundant robotic arm with respect to time.
3. The method for performing a repeating motion of a robotic arm on the basis of a variable parameter convergence differential neural network, as claimed in claim 1, wherein the formula for creating the inverse kinematics problem as a time-varying convex quadratic programming problem constrained by an equality is:
4. The method for performing a repeating motion of a robotic arm on the basis of a variable parameter convergence differential neural network, as claimed in claim 1, wherein the Lagrangian function is constructed as:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(4) The present disclosure will be further described in detail below in connection with embodiments and the accompanying drawings, but embodiments of the present disclosure are not limited thereto.
(5) An exemplary embodiment provides a method for programming a repeating motion of a redundant robotic arm 10 on the basis of a variable parameter convergence differential neural network, the flow chart thereof is shown in
(6) 1) establishing an inverse kinematics equation 20 of the redundant robotic arm 10 at a velocity level by means of a track 18 of an end of the redundant robotic arm. In this step, the inverse kinematics equation 20 of the redundant robotic arm is expressed as:
f(θ)=r
(7) where r is a desired track of the end of the redundant robotic arm, and f(•) is a nonlinear equation of the joint angle of the redundant robotic arm, which is determined by the structure of the robotic arm 10, a Kinova Jaco six-axis robotic arm is simulated in this embodiment, and the inverse kinematics equation 20 of the redundant robotic arm at the velocity level is obtained by deriving the two sides of the equation with respect to time:
J(θ){dot over (θ)}={dot over (r)}
(8) Here, J(θ)∈R.sup.m×n is an m×n-dimensional matrix on the real number field, J(θ) is a Jacobian matrix of the redundant robotic arm, n is the number of the degrees of freedom of the robotic arm, and m is the number of the spatial dimensions of the track of the end of the robotic arm, and {dot over (θ)} and {dot over (r)} are respectively the derivatives of the joint angle and the track of the end of the redundant robotic arm 10 with respect to time;
(9) 2) Designing or creating an inverse kinematics problem in step 1 as a time-varying convex quadratic programming problem constrained by an equality.
(10) An exemplary formula is:
(11)
(12) where x={dot over (θ)}, b={dot over (r)}. W=I represents an identity matrix, J(θ) is the Jacobian matrix 24 of the redundant robotic arm 10, and c is a performance indicator coefficient.
(13) 3) Introducing a repeating motion indicator 26 into the time-varying convex quadratic programming problem of step 2. The repeating motion indicator in this step is obtainable by means of the performance indicator coefficient c, which is designed as c=ζ(θ(t)−θ(0)), where ζ represents the response coefficient to a joint offset, and in this embodiment ζ=5; and θ(t) and θ(0) respectively represent a joint state during c the movement of the robotic arm and an initial joint state. When the repeating motion indicator c is not considered, ζ=0, the simulation result is as shown in
(14) 4) Converting the time-varying convex quadratic programming problem, into which the repeating motion indicator is introduced in step 3, into a time-varying matrix equation 30 by using a Lagrangian function 28.
(15) An example of a process of this step is that the Lagrangian function 28 is constructed as:
(16)
(17) where λ is a Lagrangian multiplier, and the partial derivatives of the Lagrangian function 28 respectively with respect to x and λ are obtained:
(18)
(19) The above system of equations can be expressed as the following time-varying matrix equation 30:
(20)
(21) 5) Solving the time-varying matrix equation 30 of step 4 by means of the variable parameter convergence differential neural network 32; and the specific process of this step is that the error of the time-varying matrix equation converges to zero based on the variable parameter convergence differential neural network. Firstly, an error function is constructed as:
ε(t)=Qy−u
(22) where ε(t) represents the error of the time-varying matrix equation, and then based on a neurodynamic method, the error is designed to converge to zero in the following way, the specific formula is:
(23)
(24) where γ is a parameter for adjusting a convergence rate, Φ(•) is an activation function, and the error function is substituted into the above formula to obtain a variable parameter convergence differential neural network solver 32, namely:
Q{dot over (y)}=−{dot over (Q)}y−γ exp(t)Φ(Qy−u)+{dot over (u)}
(25) In this way, the variable parameter convergence differential neural network solver 32 obtains an optimal solution y* of the time-varying matrix equation, and the first n terms thereof are the optimal solution x* of the time-varying convex quadratic programming problem in step 2 i.e., the optimal solution of a joint angular velocity.
(26) 6) Integrating an optimal solution, obtained in step 5, of the redundant robotic arm 10 at the velocity level to obtain an optimal solution of a joint angle 34.
(27) The optimal solution θ* of the joint angle 34 in this step is obtained by integrating the optimal solution of the time-varying convex quadratic programming problem, i.e. the optimal solution x* of the joint angular velocity.
(28) The specific process of this step is that by means of the variable parameter convergence differential neural network solver in step 5, the optimal solution y* can be obtained, and the first n terms thereof are the optimal solution x* of the time-varying convex quadratic programming problem in step 2 i.e., the optimal solution of a joint angular velocity, which can be integrated to obtain the optimal solution θ* of the joint angle of the redundant robotic arm.
(29) The foregoing description is merely illustrative of the disclosed embodiments of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Equivalent replacements or modifications made to the technical solutions and the inventive concept of the present disclosure by a person skilled in the art within the scope of the disclosure of the present disclosure fall into the scope of protection of the present disclosure.