NEURAL NETWORK ADAPTIVE TRACKING CONTROL METHOD FOR JOINT ROBOTS

Information

  • Patent Application
  • 20220152817
  • Publication Number
    20220152817
  • Date Filed
    March 24, 2021
    3 years ago
  • Date Published
    May 19, 2022
    2 years ago
Abstract
The present disclosure discloses a neural network adaptive tracking control method for joint robots, which proposes two schemes: robust adaptive control and neural adaptive control, comprising the following steps: 1) establishing a joint robot system model; 2) establishing a state space expression and an error definition when taking into consideration both the drive failure and actuator saturation of the joint robot system; 3) designing a PID controller and updating algorithms of the joint robot system; and 4) using the designed PID controller and updating algorithms to realize the control of the trajectory motion of the joint robot. The present disclosure may solve the following technical problems at the same time: the drive saturation and coupling effect in the joint system, processing parameter uncertainty and non-parametric uncertainty, execution failure handling during the system operation, compensation for non-vanishing interference, and the like.
Description
TECHNICAL FIELD

The present disclosure relates to the technical field of joint robot system control which is highly nonlinear and influenced by external interference and uncertainty, in particular to the joint position tracking control of a rigid arm robot.


BACKGROUND

With the continuous progress of social science and technology, intelligent robots play an increasingly important role, which can complete various tasks instead of human beings in many complex situations.


However, we have never stopped studying the improvement of robot system performance. To be more dexterous and adaptive, the robot system must achieve control algorithms that are simpler in structure, more specialized and more powerful.


Early contributions to the development of joint robot system control schemes included those based entirely or partially on system models provided with feedforward compensation and nonlinear feedback techniques. Generally, however, the joint robot system is highly nonlinear in nature, a corresponding dynamic model for which is difficult to obtain accurately due to external interference and uncertainty.


SUMMARY

For this purpose, the present disclosure aims at proposing a neural network adaptive tracking control method for joint robots to solve the joint tracking control problem of a joint robot system troubled with declining and drive saturation, and to achieve the ideal tracking control.


In order to achieve the above purpose, the present disclosure provides the following scheme:


A neural network adaptive tracking control method for joint robots, which includes the following steps:


1) Establishing a joint robot system model:






D
q(q){umlaut over (q)}+Cq(q,{dot over (q)}){dot over (q)}+Gq(q)+τ({dot over (q)},t)=ua


In the model mentioned above, q represents a position vector of the joint robot, {dot over (q)} represents a velocity vector of the joint robot, {umlaut over (q)} represents an acceleration vector of the joint robot action, ua represents a control input of the joint robot system, the system parameter Dq(q) represents an inertia matrix of the joint robot system, the system parameter Cq(q,{dot over (q)}) represents a centrifugal matrix of the joint robot system, the system parameter Gq(q) represents a universal gravitation matrix of the joint robot system, and the system parameter τ({dot over (q)},t) represents uncertainty and interference factors of the joint robot system;


2) Establishing a state space expression and an error definition when taking into consideration both the drive failure and actuator saturation of the joint robot system:






u
a(t)=ρ(t)[Γ(0)+L(ξ)ν+ε(ν)]+ε(t)=ρ(t)L(ξ)ν+[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]






e=x
1
−q*






ë={umlaut over (x)}
1
−{umlaut over (q)}*=D
q
−1(q)ρ(t)L(ξ)ν+Dq−1(q)[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{umlaut over (q)}*


In the above formulas, ua(t) represents a system control input signal considering both drive failure and actuator saturation, Γ(0)+L(ξ)ν+ε(ν), represents a control signal in the case of actuator saturation, wherein ν represents an actual controller design quantity of the system, Γ(0)+L(ξ)ν represents a smooth function proposed according to the mean value theorem of ν, Γ(0) is a bounded matrix, L(ξ) is a non-negative positive definite matrix, ε(ν) is a bounded approximate error and represents an uncertain factor of the controller; ρ(t) represents a health coefficient of the driver, ε(t) represents an interference factor of the driver; e((or e(⋅)) represents a dynamic error of the system (e(⋅) is written as e for simplification in subsequent derivation), ë represents the second derivative of the dynamic error, wherein x1=q represents a motion trajectory of the joint robot, {umlaut over (x)}1 represents an acceleration of the joint robot motion, q* represents a given joint tracking trajectory; {umlaut over (q)}* represents an acceleration of the given joint tracking F(⋅)=Dq−1(q)(Cq(q){dot over (q)}+Gq(q)), and Q(x1,t)=Dq−1(q)τ({dot over (q)},t).


3) Designing a PID controller and updating algorithms of the joint robot system:


The PID controller ν is expressed as






v
=


-

(


k

D

0


+

Δ



k
D



(
t
)




)




(


2

γ






e


(
·
)



+


γ
2





0
t




e


(
·
)



d





τ



+


de


(
·
)



d

t



)






Wherein γ is a parameter that a designer can design at will, and kD0 is a constant that is designed at the designer's option;


Wherein the updating algorithms consist of two algorithms as follows:


(1) Algorithm based on the robust adaptive control:


The robust adaptive algorithm is designed for automatically updating the controller parameters at an updating rate of:











Δ



k
D



(
t
)



=


c
^




φ
0
2



(
·
)










{






c
^

.

=



-

σ
0




c
^


+


σ
1




φ
0
2



(
·
)






E


2











c
^



(
0
)



0

















Wherein, σ0 and σ1 are positive constants that the designer needs to design;






{





c
=

max


{


a
1

,


1
2



γ
d



}










φ
0



(
·
)


=



φ
1



(
·
)


+




q
.






E








,





wherein ĉ is an estimated value of c; a1=max {γdaf, γdγ2, 2γdγ,γdx2}, φ1(⋅)=φf(⋅)+∥e∥+∥ė∥+1, wherein afφf(⋅) is a product of the constant af and the scalar function φf(⋅), representing the upper bound of the system uncertainty factor Dq−1(q)[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{dot over (q)}*, x2 is the upper bound of an second derivative {umlaut over (q)}* of a given joint motion trajectory, γd is the upper bound of an system parameter Dq(q), and it is set that







E
=


2

γ






e


(
·
)



+


γ
2





0
t




e


(
·
)



d





τ



+


de


(
·
)



d

t




;




(2) Algorithm based on the neural adaptive control:


The neural adaptive algorithm is designed for automatically updating the controller parameters at an updating rate of:









{








b
^

.

=



-

θ
0




b
^


+


θ
1




ψ
2



(
·
)






E


2











b
^



(
0
)



0









Δ



k
D



(
t
)



=


b
^




ψ
2



(
·
)
















Wherein: θ0 and θ1 are positive constants that the designer needs to design; ψ(⋅)=∥S(⋅)∥+1, wherein S(⋅) is a primary function of a neural network, S(⋅) and a number of neurons are determined at the designer's will; b=max{∥WT∥,m}, wherein {circumflex over (b)} is an estimated value of b, WT is an ideal unknown weight, and m is the upper limit of an reconstruction error ∥η(⋅)∥ of the model;







E
=


2

γ






e


(
·
)



+


γ
2





0
t




e


(
·
)



d





τ



+


de


(
·
)



d

t




;




4) Using the PID controller and the updating algorithms designed in step 3) for the joint robot system to control the trajectory motion of the joint robot.


The present disclosure is beneficial in:


The present disclosure provides a neural network adaptive tracking control method for joint robots, wherein algorithms based on robust adaptive control and neural adaptive control are respectively designed against a joint robot system troubled with declining and drive saturation, which are formed in a simple way of PID, have an advantage of low complexity, and may solve the following technical problems at the same time: the drive saturation and coupling effect in the joint system, processing parameter uncertainty and non-parametric uncertainty, execution failure handling during the system operation, compensation for non-vanishing interference, and the like. Also, the present disclosure is robust to external interference, adaptive to nonparametric uncertainty, and fault-tolerant to unpredictable drive failures.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of the algorithm design control of the system. According to the present disclosure, the controller gain is adaptively adjusted by using the robust adaptive algorithm and the neural adaptive algorithm respectively, so that the joint motion trajectory of the controlled robot reaches an ideal trajectory.



FIG. 2 is a schematic diagram of actuator saturation, which includes an asymmetric and non-smooth saturation function and a smooth approximation function, and when ν reaches a certain value, the controller input u will reach a saturation status.



FIGS. 3 and 4 are respectively a simulation diagram of controller gain adjustment and a joint robot position tracking curve, which both adopt the robust adaptive control method in the embodiment to carry out the simulation control, wherein ΔkP, ΔkI, ΔkD respectively represent changes of three time-varying gains of the PID controller, and e1, e2, and e3 respectively represent the trajectory errors of three joint motions of the robot.



FIGS. 5 and 6 are respectively a simulation diagram of controller gain adjustment and a joint robot position tracking curve, which both adopt the neural adaptive control method in the embodiment to carry out the simulation control, wherein ΔkP, ΔkI, ΔkD respectively represent changes of three time-varying gains of the PID controller, and e1, e2, and e3 respectively represent the trajectory errors of three joint motions of the robot.



FIG. 7 is a diagram of the joint robot model.





DETAILED DESCRIPTION

The present disclosure will be further described with reference to figures and embodiments below to enable the implementation by those skilled in the art according to the text of the specification.


In this embodiment, the neural network adaptive tracking control method for joint robots, including the following steps:


1) Establishing a joint robot system model:






D
q(q){umlaut over (q)}+Cq(q,{dot over (q)}){dot over (q)}+Gq(q)+τ({dot over (q)},t)=ua


In the model mentioned above, q represents a position vector of the joint robot, {dot over (q)} represents a velocity vector of the joint robot, {umlaut over (q)} represents an acceleration vector of the joint robot action, ua represents a control input of the joint robot system, the system parameter Dq(q) represents an inertia matrix of the joint robot system, the system parameter Cq(q,{dot over (q)}) represents a centrifugal matrix of the joint robot system, the system parameter Gq(q) represents a universal gravitation matrix of the joint robot system, and the system parameter τ({dot over (q)},t) represents uncertainty and interference factors of the joint robot system;


2) Establishing a state space expression and an error definition when taking into consideration both the drive failure and actuator saturation of the joint robot system:






u
a(t)=ρ(t)[Γ(0)+L(ξ)ν+ε(ν)]+ε(t)=ρ(t)L(ξ)ν+[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]






e=x
1
−q*






ë={umlaut over (x)}
1
−{umlaut over (q)}*=D
q
−1(q)ρ(t)L(ξ)ν+Dq−1(q)[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{umlaut over (q)}*


In the above formulas, ua(t) represents a system control input signal considering both drive failure and actuator saturation, Γ(0)+L(ξ)ν+ε(ν), represents a control signal in the case of actuator saturation, wherein ν represents an actual controller design quantity of the system, Γ(0)+L(ξ)ν represents a smooth function proposed according to the mean value theorem of ν, Γ(0) is a bounded matrix, L(ξ) is a non-negative positive definite matrix, ε(ν) is a bounded approximate error and represents an uncertain factor of the controller; ρ(t) represents a health coefficient of the driver, ε(t) represents an interference factor of the driver; e((or e(⋅)) represents a dynamic error of the system (e(⋅) is written as e for simplification in subsequent derivation), ë represents the second derivative of the dynamic error, wherein x1=q represents a motion trajectory of the joint robot, {umlaut over (x)}1 represents an acceleration of the joint robot motion, q* represents a given joint tracking trajectory; {umlaut over (q)}* represents an acceleration of the given joint tracking F(⋅)=Dq−1(q)(Cq(q){dot over (q)}+Gq(q)), and Q(x1,t)=Dq−1(q)τ({dot over (q)},t). The nonlinearity and uncertainty factors in the system set may be determined by the upper bound of the product of a constant and a scalar real-valued function, so as to obtain a robust adaptive control scheme; or the system is reconstructed through a neural network based on a radial primary function so as to produce the neural network adaptive control scheme.


3) Designing a PID controller and updating algorithms of the joint robot system:


The PID controller ν is expressed as






v
=


-

(


k

D

0


+

Δ



k
D



(
t
)




)




(


2

γ






e


(
·
)



+


γ
2





0
t




e


(
·
)



d





τ



+


de


(
·
)



d

t



)






Wherein γ is a parameter that the designer can design at will, and kD0 is a constant that is designed at the designer's option;


Wherein the updating algorithms consist of two algorithms as follows:


(1) Algorithm based on the robust adaptive control:


The robust adaptive algorithm is designed for automatically updating the controller parameters at an updating rate of:











Δ



k
D



(
t
)



=


c
^




φ
0
2



(
·
)










{






c
^

.

=



-

σ
0




c
^


+


σ
1




φ
0
2



(
·
)






E


2











c
^



(
0
)



0

















Wherein, σ0 and σ1 are positive constants that the designer needs to design;






{





c
=

max


{


a
1

,


1
2



γ
d



}










φ
0



(
·
)


=



φ
1



(
·
)


+




q
.






E








,





wherein ĉ is an estimated value of c; a1=max {γdaf, γdγ2, 2γdγ,γdx2}, φ1(⋅)=φf(⋅)+∥e∥+∥ė∥+1, wherein afφf(⋅) is a product of the constant af and the scalar function φf(⋅), representing the upper bound of the system uncertainty factor Dq−1(q)[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{dot over (q)}*, x2 is the upper bound of an second derivative {umlaut over (q)}* of a given joint motion trajectory, γd is the upper bound of an system parameter Dq(q), and it is set that







E
=


2

γ






e


(
·
)



+


γ
2





0
t




e


(
·
)



d





τ



+


de


(
·
)



d

t




;




(2) Algorithm based on the neural adaptive control:


The neural adaptive algorithm is designed for automatically updating the controller parameters at an updating rate of:









{








b
^

.

=



-

θ
0




b
^


+


θ
1




ψ
2



(
·
)






E


2











b
^



(
0
)



0









Δ



k
D



(
t
)



=


b
^




ψ
2



(
·
)
















Wherein: θ0 and θ1 are positive constants that the designer needs to design; ψ(⋅)=∥S(⋅)∥+1, wherein S(⋅) is a primary function of a neural network, S(⋅) and a number of neurons are determined at the designer's will; b=max{∥WT∥,m}, wherein {circumflex over (b)} is an estimated value of b, WT is an ideal unknown weight, and m is the upper limit of an reconstruction error ∥η(⋅)∥ of the model;







E
=


2



γ

e



(
·
)



+


γ
2





0
t




e


(
·
)




d

τ




+


de


(
·
)


dt



;




4) Using the PID controller and the updating algorithms designed in step 3) for the joint robot system to control the trajectory motion of the joint robot.


A detailed description will be provided below for the derivation processes of the PID controller and the updating algorithms designed in this embodiment.


A generalized error E is assumed to simplify the stability analysis of the PID controller, so we have











E
=


2



γ

e



(
·
)



+


γ
2





0
t




e


(
·
)




d

τ




+


de


(
·
)


dt












D
q



(
q
)




E
.


=




ρ


(
t
)




L


(
ξ
)



v

+

[



ρ


(
t
)




Γ


(
0
)



+


ρ


(
t
)




ɛ


(
v
)



+

r


(
t
)



]

+



D
q



(
q
)




F


(
·
)



+



D
q



(
q
)




Q


(


x
1

,
t

)



+



D
q



(
q
)




(



γ
2


e

+

2

γ


e
.


-


q
¨

*


)



=



J


(


x
1

,
t

)



v

+

I


(


x
1

,
t

)








Wherein: J(x1,t)=ρ(t)L(ξ),





I(x1,t)=[ρ(t)Γ(0)+ρ(t)ε(ν)+r(t)]+Dq(q)F(⋅)+Dq(q)Q(x1,t)+Dq(q)(γ2e+ė={umlaut over (q)}*)


To simplify the control design and stability analysis, the function is defined as follows:





Ψ(⋅)=I(x1,t)+½DqĖ


(1) Algorithm based on the robust adaptive control:


The nonlinearity and uncertainty factors in the system set may be determined by the upper bound of the product of a constant and a scalar real-valued function like:






I(x1,t)≤γdafφf(⋅)=γdγ2e+dγė−γd{umlaut over (q)}*≤a1φ1(⋅)


Wherein, γd is the upper bound of the system parameter Dq, afφf(⋅) is the upper bound of the system uncertainty factor Dq−1[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{dot over (q)}*, and






{






a
1

=

max


{



γ
d



a
f


,


γ
d



γ
2


,

2


γ
d


γ

,


γ
d




x
_

2



}










φ
1



(
·
)


=



φ
f



(
·
)


+


e


+



e
.



+
1











So that Ψ(⋅)≤a1φ1(⋅)+½γd∥{dot over (q)}∥∥E∥≤cφ0(⋅)


Wherein





{





c
=

max


{


a
1

,


1
2



γ
d



}










φ
0



(
·
)


=



φ
1



(
·
)


+




q
.






E














Therefore, the robust adaptive algorithm is designed for automatically updating the controller parameters at an updating rate of:









Δ

k

D



(
t
)


=


c
^




φ
0
2



(
·
)









{






c
^

.

=



-

σ
0




c
^


+


σ
1




φ
0
2



(
·
)






E


2











c
^



(
0
)



0








Wherein σ0 and σ1 are positive constants that the designer needs to design; and {tilde over (c)}=c−ĉ is selected as the error value of c.


Based on the design of the above controller and the selection of the update rate, by selecting the Lyapunov function






V
=



1
2



E
T



D
q


E

+


1

2


σ
1






c
~

2







to correspondingly verify and analyze the designed controller, it can be proved that under the effect of the designed controller, all signals in the joint robot system will eventually converge to a global scope, thus ensuring that the tracking error of the system is globally consistent and bounded.


(3) Algorithm based on the neural adaptive control:


The system is reconstructed against the uncertainty factor of the function defined above by using the way of a neural network adaptive approximation, wherein it is set that





Ψ(⋅)=WTS(⋅)=η(⋅)


Wherein the primary function S(⋅) and the number of neurons of the neural network are determined at the designer's will, so they satisfy









Ψ


(
·
)










W
T







S


(
·
)





+



η


(
·
)











W
T







S


(
·
)





+
m




b
ψ



(
·
)






Wherein




ψ(⋅)=∥S(⋅)∥+1






b=max{∥WT∥,m}


∥η(⋅)∥≤m,∥WT∥≤b, taking the time-varying nature of system parameters and the unknown weight of the system into consideration, we have chosen the estimated parameter b for design and system analysis, so that the design update rate is:






{








b
^

.

=



-

σ
0




b
^


+


σ
1




φ
2



(
·
)






E


2











b
^



(
0
)



0












Δ

k

D



(
t
)



=


b
^




φ
2



(
·
)








Wherein θ0 and θ1 are positive constants that the designer needs to design; and {tilde over (b)}=b−{circumflex over (b)} is selected as the error value of b


Based on the design of the above controller and the selection of the update rate, by selecting the Lyapunov function






V
=



1
2



E
T



D
q


E

+


1

2


θ
1






b
2

~







to correspondingly verify and analyze the designed controller, it can be proved that under the effect of the designed controller, all signals in the system will eventually converge to a global scope, thus ensuring that the tracking error of the system is bounded, globally consistent and bounded.


The neural network adaptive tracking control method for joint robots provided in this embodiment may ensure that the system perfectly tracks the ideal trajectory in the case of drive failure and drive saturation, and at the same time realize the bounded tracking error. Compared with traditional PID controllers, this controller is relatively simple in structure, which may handle the drive saturation and coupling effect in the joint system to a better extent, the parameter uncertainty and non-parametric uncertainty, and the execution failure during the system running. In addition, this controller may compensate the non-vanishing interference, thereby greatly reducing the complexity of control algorithms in the prior art.


Finally, it is noted that the above embodiments are only for the purpose of illustrating the technical scheme of the present disclosure without limiting it. Although a detailed specification is given for the present disclosure by reference to preferred embodiments, those of ordinary skills in the art should understand that the technical schemes of the present disclosure can be modified or equivalently replaced without departing from the purpose and scope of the technical schemes thereof, which should be included in the scope of claims of the present disclosure.

Claims
  • 1. A neural network adaptive tracking control method for joint robots, the neural network adaptive tracking control method comprising: 1) establishing a joint robot system model: Dq(q){umlaut over (q)}+Cq(q,{dot over (q)}){dot over (q)}+Gq(q)+τ({dot over (q)},t)=ua in the joint robot system model mentioned above, q represents a position vector of the joint robot, {dot over (q)} represents a velocity vector of the joint robot, {umlaut over (q)} represents an acceleration vector of the joint robot action, ua represents a control input of the joint robot system, the system parameter Dq(q) represents an inertia matrix of the joint robot system, the system parameter Cq(q,{dot over (q)}) represents a centrifugal matrix of the joint robot system, the system parameter Gq(q) represents a universal gravitation matrix of the joint robot system, and the system parameter τ({dot over (q)},t) represents uncertainty and interference factors of the joint robot system;2) establishing a state space expression and an error definition when taking into consideration both the drive failure and actuator saturation of the joint robot system: ua(t)=ρ(t)[Γ(0)+L(ξ)ν+ε(ν)]+ε(t)=ρ(t)L(ξ)ν+[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]e=x1−q* ë={umlaut over (x)}1−{umlaut over (q)}*=Dq−1(q)ρ(t)L(ξ)ν+Dq−1(q)[ρ(t)Γ(0)+ρ(t)ε(ν)+ε(t)]+F(⋅)+Q(x1,t)−{umlaut over (q)}* In the above formulas, ua(t) represents a system control input signal considering both drive failure and actuator saturation, Γ(0)+L(ξ)ν+ε(ν) represents a control signal in the case of actuator saturation, wherein ν represents an actual controller design quantity of the system, Γ(0)+L(ξ)ν represents a smooth function proposed according to the mean value theorem of ν, Γ(0) is a bounded matrix, L(ξ) is a non-negative positive definite matrix, ε(ν) is a bounded approximate error and represents an uncertain factor of the controller; ρ(t) represents a health coefficient of the driver, ε(t) represents an interference factor of the driver; e((or e(⋅)) represents a dynamic error of the system (e(⋅) is written as e for simplification in subsequent derivation), ë represents the second derivative of the dynamic error, wherein x1=q represents a motion trajectory of the joint robot, {umlaut over (x)}1 represents an acceleration of the joint robot motion, q* represents a given joint tracking trajectory; {umlaut over (q)}* represents an acceleration of the given joint tracking F(⋅)=Dq−1(q)(Cq(q){dot over (q)}+Gq(q)), and Q(x1,t)=Dq−1(q)τ({dot over (q)},t).3) designing a PID controller and updating algorithms of the joint robot system:the PID controller ν is expressed as
Priority Claims (2)
Number Date Country Kind
202011291749.8 Nov 2020 CN national
202011294308.3 Nov 2020 CN national