KINEMATICS MODEL-FREE TRAJECTORY TRACKING METHOD FOR ROBOTIC ARMS AND ROBOTIC ARM SYSTEM

Abstract
A kinematics model-free trajectory tracking method for a robotic arm includes the following steps. Obtain an actual trajectory equation ra(t) of the robotic arm at time t according to a sensor, and combines the actual trajectory equation ra(t) with a predetermined target trajectory equation rd(t) to obtain a first error function e(t). Obtain a differential equation (I) of a state change rate of a driver of the robotic arm. Obtain a second error function ϵ(t). Pass the second error function c(t) through the applied gradient neural network to obtain equation (IV). Jointly solve equation (I) and equation (IV) to obtain an joint state vector θ(t) of the robotic arm. Drive a motion of the robotic arm by a controller according to the joint state vector θ(t) of the robotic arm to complete trajectory tracking.
Description
TECHNICAL FIELD

The invention relates to the field of control of a robotic arm, and more particularly, to a kinematics model-free trajectory tracking method for a robotic arm and a robotic arm system.


BACKGROUND TECHNIQUE

Industrial robots, also known as robotic arms, have a wide range of applications and play a great role in modern industrial production. Robotic technology is an intelligent technology formed by interdisciplinary and comprehensive integration. At the same time, the birth of robots and the establishment and development of robotics are the embodiment of important achievements in the development of modern science and technology. The Jacobian matrix plays an important role in the kinematics and real-time control of the robot. As the mapping between the speed of the drive joint and that of the end effector, the Jacobian matrix plays an important role in the analysis, control and performance evaluation of the robot and the like. Most existing robotic arm control techniques rely on its kinematic model, that is, to control based on the Jacobian matrix and its pseudo-inverse. However, in practice, the model of the robotic arm is often unknown; or, even if the theoretical model is basically known, the actual model is difficult to obtain accurately due to the existence of parameter uncertainty, thereby leads to a lower accuracy of the target trajectory of the robotic arm.


SUMMARY OF THE INVENTION

In order to overcome the deficiencies of the above-mentioned prior art and methods, the present invention proposes a kinematics model-free trajectory tracking method for a robotic arm and a robotic arm system. The present invention can complete the tracking task only by relying on the target trajectory information and the measurement result of the sensor under the circumstance that the parameters of the industrial robot model are unknown, and the accuracy of the trajectory tracking can be controlled by changing the size of the equation parameters.


In order to solve the above technical problem, the technical solution of the present invention is as follows:


A kinematics model-free trajectory tracking method for a robotic arm which comprises steps of:


obtaining an actual trajectory equation ra(t) of the robotic arm at time t according to a sensor, and combining the actual trajectory equation ra(t) with a predetermined target trajectory equation rd (t) to obtain a first error function e(t);


passing the first error function e(t) through an applied gradient neural network to obtain a differential equation {dot over (θ)}(t) of a state change rate of a driver of the robotic arm;


obtaining a second error function ϵ(t) according to an actual speed {dot over (r)}aof an end effector of the robotic arm obtained from the sensor and a product Ĵ(θ(t)){dot over (θ)}(t) of a Jacobian matrix and a driver rate;


passing the second error function ϵ(t) through the applied gradient neural network to obtain Ĵ(θ(t));


jointly solving {dot over (θ)}(t) and Ĵ(θ(t)) to obtain a joint state vector θ(t) of the robotic arm;


driving a motion of the robotic arm by a controller according to the joint state vector θ(t) of the robotic arm to complete trajectory tracking.


The applied gradient neural network in the present invention is a kind of recursive neural network based on the gradient descent method, which is often used for finding the inverse of a matrix and solving linear equations.


The present invention can complete the tracking task only by relying on the target trajectory information and the measurement result of the sensor under the circumstance that the parameters of the industrial robot model are unknown, and the accuracy of the trajectory tracking can be controlled by changing the size of the equation parameters.


In a preferred solution, the e(t) is expressed by the following formula:






e(t)=||rd(t)−ra(t)||22


wherein, the rd(t) represents a predetermined target trajectory equation at time t.


In a preferred solution, the {dot over (θ)}(t) is expressed by the following formula:





{dot over (θ)}(t)=γĴ(θ(t))T(rd(t)−ra(t))


wherein, the shown {dot over (θ)}(t) represents a first derivative of θ(t) at time t, the Ĵ(θ(t)) represents the Jacobian matrix, and the γ represents a preset positive convergence parameter.


In a preferred solution, the ϵ(t) is expressed by the following formula:





ϵ(t)=||{dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)||22


wherein the actual speed {dot over (r)}a, (t) represents a first derivative of ra(t) at time t.


In a preferred solution, the Ĵ(θ(t)) is expressed by the following formula:






Ĵ(θ(t))=μ({dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)){dot over (θ)}(t)


wherein the Ĵ(θ(t)) represents a first derivative of Ĵ(θ(t)) at time t, and the μ represents the preset positive convergence parameter.


In a preferred solution, the γ=500.


In a preferred solution, the μ=500.


The present invention further discloses a robotic arm system based on the above-mentioned method, and the robotic arm system comprises a robotic arm, a controller and a sensor, wherein,


the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;


working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.


Compared with the prior art, the technical solution of the present invention has the following beneficial effects:


The present invention can complete the tracking task only by relying on the target trajectory information and the measurement result of the sensor under the circumstance that the parameters of the industrial robot model are unknown, and the accuracy of the trajectory tracking can be controlled by changing the size of the equation parameters.





DRAWINGS


FIG. 1 is a flow chart of an embodiment.



FIG. 2 is a schematic graph of an expected trajectory and an actual trajectory tracking of the embodiment.



FIG. 3 is a schematic graph of errors of three coordinate X, Y, and Z corresponding to the trajectory tracking of the embodiment.





DETAILED IMPLEMENTATION

The drawings are for illustrative purposes only and are not to be construed as limiting the invention. In order to better illustrate the embodiment, some components of the drawings may be omitted, enlarged or reduced, and do not represent the actual product size.


It will be apparent to those skilled in the art that certain known structures and their description may be omitted. The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.


Embodiment


As shown in FIG. 1, a kinematics model-free trajectory tracking method for a robotic arm which comprises steps of:


obtaining an actual trajectory equation ra(t) of the robotic arm at time t according to a sensor, and combining the actual trajectory equation ra(t) with a predetermined target trajectory equation rd (t) to obtain a first error function e(t);


passing the first error function e(t) through an applied gradient neural network to obtain a differential equation {dot over (θ)}(t) of a state change rate of a driver of the robotic arm;


obtaining a second error function ϵ(t) according to an actual speed {dot over (r)}a, of an end effector of the robotic arm obtained from the sensor and a product Ĵ(θ(t)){dot over (θ)}(t) of a Jacobian matrix and a driver rate;


passing the second error function c(t) through the applied gradient neural network to obtain Ĵ(θ(t));


jointly solving θ(t) and Ĵ(θ(t)) to obtain a joint state vector θ(t) of the robotic arm;


driving a motion of the robotic arm by a controller according to the joint state vector θ(t) of the robotic arm to complete trajectory tracking.


The present invention can complete the tracking task only by relying on the target trajectory information and the measurement result of the sensor under the circumstance that the parameters of the industrial robot model are unknown, and the accuracy of the trajectory tracking can be controlled by changing the size of the equation parameters.


On the basis of the embodiment, the following improvements can be further made: the e(t) is expressed by the following formula:






e(t)=||rd(t)−ra(t)||22


wherein, the rd(t) represents a predetermined target trajectory equation at time t.


On the basis of the embodiment and the improved embodiment, the following improvements can be further made: the {dot over (θ)}(t) is expressed by the following formula:





{dot over (θ)}(t)=γĴ(θ(t))T(rd(t)−ra(t))


wherein, the shown {dot over (θ)}(t) represents a first derivative of θ(t) at time t, the Ĵ(t)) represents the Jacobian matrix, and the γ represents a preset positive convergence parameter.


On the basis of the embodiment and the improved embodiment, the following improvements can be further made: the ϵ(t) is expressed by the following formula:





ϵ(t=||{dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)||2 2


wherein the shown actual speed {dot over (r)}a, (t) represents a first derivative of ra(t) at time t.


On the basis of the embodiment and the improved embodiment, the following improvements can be further made: the Ĵ(74 (t)) is expressed by the following formula:






Ĵ(θ(t))=μ({dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)){dot over (θ)}(t)


wherein the Ĵ(θ(t)) represents a first derivative of Ĵ(θ(t)) at time t, and the μ represents the preset positive convergence parameter.


On the basis of the embodiment and the improved embodiment, the following improvements can be further made: the γ=500.


On the basis of the embodiment and the improved embodiment, the following improvements can be further made: the μ=500.


The present invention further discloses a robotic arm system based on the above-mentioned method, and the robotic arm system comprises a robotic arm, a controller and a sensor, wherein,


the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;


working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.


Test Environment:


Use the PA10 robotic arm to verify the present embodiment, and the robotic arm has a total of 7 degrees of freedom. The initial value of each joint: q(0)=[0; π/4; 0; π/2; 0;−π/4; 0], the corresponding initial value of the Jacobian matrix is:







J

(
0
)

=



[




0
,





0
.7518

,




0
,





0
.4336

,




0
,






0
.
0


80

,



0






0
.
0


3

5

4




0
,





0
.
5


5

6

6




0
,






-

0
.
0



566

,




0
,



0





0
,






-
0

.0354

,




0
,






-
0

.3536

,




0
,







-

1
.
7



7

6

4

e

-
17

,



0



]






First, an error function is defined according to the target trajectory rd(t) and the actual trajectory ra(t) of the continuum robot end effector measured by the sensor:






e(t)=||rd(t)−ra(t)||22


Applied gradient neural network solution method:








d


θ

(
t
)


dt

=


-

γ
2







e

(
θ
)




θ







The differential equation for a state change rate of the driver is obtained:





{dot over (θ)}(t)=γĴ(θ(t))T(rd(t)−ra(t))


wherein γ is a positive parameter that adjusts the error convergence speed, and in this test, γ=500;


Since J(θ(t)) is unknown, its value needs to be estimated, and the estimated Jacobian matrix can be expressed as Ĵ(θ(t)), and the following formula J(θ(t) can be obtained:





{dot over (θ)}(t)=γĴ(θ(t))T(rd(t)−ra(t))


To estimate the value of the Jacobian matrix, a second error function can be defined based on the actual trajectory rate measured by the sensor and the value of Ĵ(θ(t)){dot over (θ)}(t):





ϵ(t)=||{dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)||22


Applied gradient neural network solution method:








d


J
^



(

θ

(
t
)

)


dt

=


-

μ
2







ε

(

J
^

)





J
^








The following differential equations of the differentiated Jacobian matrix Ĵ(θ(t)) are obtained:






Ĵ(θ(t))=μ({dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)){dot over (θ)}(t)


wherein the Ĵ(θ(t)) represents a first derivative of Jacobian matrix, {dot over (r)}a(t) the actual trajectory rate and μ is a positive parameter that adjusts the error convergence rate, μ=500 in this test.


Finally, using the numerical method and the given initial value to solve the equation system composed of the above two error differential equations, the required signal θ(t) for driving the robotic arm can be obtained. The schematic graph of the expected trajectory and the actual trajectory tracking is as shown in FIG. 2, and the errors of three coordinates X, Y, and Z corresponding to the trajectory tracking are as shown in FIG. 3. Therefore, it can be found that the present embodiment can complete the high-precision tracking task only by relying on the target trajectory information and the measurement result of the sensor under the circumstance that the parameters of the industrial robot model are unknown.


In the specific content of the above-mentioned specific embodiment, the technical features can be combined in any non-contradictory combination. For the sake of brevity, not all the possible combinations of the above-mentioned technical features are described. However, as long as the combination of these technical features does not exist conflict, it should be considered within the scope of this specification.


The terms describing the positional relationship in the accompanying drawings are only used for exemplary illustration, and should not be construed as a limitation on the present patent.


Obviously, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. For those of ordinary skill in the art, changes or modifications in other different forms can also be made on the basis of the above description. Therefore, it is not possible to exhaustively list all implementations. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the claims of the present invention.

Claims
  • 1. A kinematics model-free trajectory tracking method for a robotic arm, wherein the method comprises steps of: obtaining an actual trajectory equation ra(t) of the robotic arm at time t according to a sensor, and combining the actual trajectory equation ra(t) with a predetermined target trajectory equation rd(t) to obtain a first error function e(t);passing the first error function e(t) through a gradient neural network to obtain a driver rate {dot over (θ)}(t) of the robotic arm;obtaining a second error function ϵ(t) according to an actual speed {dot over (r)}aof an end effector of the robotic arm obtained from the sensor and a product Ĵ(θ(t)){dot over (θ)}(t) of a Jacobian matrix and a driver rate;passing the second error function ϵ(t) through the gradient neural network to obtain Ĵ(θ(t));jointly solving {dot over (θ)}(t) and Ĵ(θ(t)) to obtain a joint state vector θ(t) of the robotic arm;driving a motion of the robotic arm by a controller according to the joint state vector θ(t) of the robotic arm to complete trajectory tracking;the e(t) is expressed by the following formula: e(t)=||rd(t)−ra(t)||22 wherein, the rd(t) represents a predetermined target trajectory equation at time t, and ∥⋅∥2 represents a 2-norm of a vector;the θ(t) is expressed by the following formula: {dot over (θ)}(t)=γĴ(θ(t))T(rd(t)−ra(t))wherein, the shown {dot over (θ)}(t) represents a first derivative of θ(t) at time t, the Ĵ(θ(t)) represents the Jacobian matrix, and the γ represents a preset positive convergence parameter.
  • 2. The kinematics model-free trajectory tracking method according to the claim 1, wherein the ϵ(t) is expressed by the following formula: ϵ(t)=||{dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)||22 wherein the actual speed {dot over (r)}a(t) represents a first derivative of ra(t) at time t.
  • 3. The kinematics model-free traj ectory tracking method according to claim 2, wherein in the Ĵ(θ(t)) is expressed by the following formula: Ĵ(θ(t))=μ({dot over (r)}a(t)−Ĵ(θ(t)){dot over (θ)}(t)){dot over (θ)}(t)wherein the Ĵ(θ(t)) represents a first derivative of Ĵ(θ(t)) at time t, and the pt represents the preset positive convergence parameter.
  • 4. The kinematics model-free trajectory tracking method according to claim 3, wherein the μ=500.
  • 5. The kinematics model-free trajectory tracking method according to claim 1, wherein the γ=500.
  • 6. A robotic arm system based on the kinematics model-free trajectory tracking method according to claim 1, wherein the robotic arm system comprises a robotic arm, a controller and a sensor, wherein, the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.
  • 7. The kinematics model-free trajectory tracking method according to claim 2, wherein the γ=500.
  • 8. The kinematics model-free trajectory tracking method according to claim 3, wherein the γ=500.
  • 9. The kinematics model-free trajectory tracking method according to claim 4, wherein the γ=500.
  • 10. A robotic arm system based on the kinematics model-free trajectory tracking method according to claim 2, wherein the robotic arm system comprises a robotic arm, a controller and a sensor, wherein, the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.
  • 11. A robotic arm system based on the kinematics model-free trajectory tracking method according to claim 3, wherein the robotic arm system comprises a robotic arm, a controller and a sensor, wherein, the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.
  • 12. A robotic arm system based on the kinematics model-free trajectory tracking method according to claim 4, wherein the robotic arm system comprises a robotic arm, a controller and a sensor, wherein, the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.
  • 13. A robotic arm system based on the kinematics model-free trajectory tracking method according to claim 5, wherein the robotic arm system comprises a robotic arm, a controller and a sensor, wherein, the sensor is used for measuring and collecting a working data of the robotic arm, and the sensor is disposed on the robotic arm and is electrically connected to the controller;working of the robotic arm is controlled by the controller according to the working data collected by the sensor, and the controller is electrically connected to the robotic arm.
Priority Claims (1)
Number Date Country Kind
202010003310.4 Jan 2020 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2020/116186 9/18/2020 WO