• Nenhum resultado encontrado

Backstepping Adaptive Fuzzy Control for two-link robot manipulator

N/A
N/A
Protected

Academic year: 2017

Share "Backstepping Adaptive Fuzzy Control for two-link robot manipulator"

Copied!
6
0
0

Texto

(1)

Backstepping Adaptive Fuzzy Control for

two-link robot manipulator

Yongqiao Wei1,Jingdong Zhang2

, Li Hou1, Fenglan Jia1,Qinglin Chang1

1

School of Manufacturing Science and Engineering,Sichuan University,

No.24 South Section 1Yihuan Road,Chengdu,610065,China

2School of Transportation and Automobile Engineering,Panzhihua University,

No.10 Airport Road,Panzhihua,617000,China Abstract

In this paper, based on Lyapunov method, a backstepping adaptive fuzzy control scheme is presented for the two-link robot manipulator system. The control strategy consists of the traditional backstepping control and adaptive fuzzy control to cope with the model unknown and parameter disturbances.The simulation is presented to verify the effectiveness of the proposed control scheme. From the simulation results, fast response, strong robustness, good disturbance rejection capability and good angle tracking capability can be obtained. The output tracking error between the actual position output and the desired position output can asymptotically converge to zero. It is also revealed from simulation results that the proposed control strategy is valid for the two-link robot manipulator.

Keywords: Backstepping control, Adaptive Fuzzy control, Two-link robot manipulator,MATLAB simulation.

1. Introduction

In recent decades, the robot research has been paid great attention. Robotic is a vast research field, mainly because of the many potential applications. The basic problem in controlling robot is to make manipulator to perform preplanned trajectory. Therefore, it must be controlled properly to track some trajectory because there exist the uncertainties, nonlinear, strong coupling and time-varied of the robot system, and external disturbances. In order to achieve this goal, many schemes which were PID control, optimal control, sliding mode control(SMC), adaptive control, fuzzy control and so on, have been presented[1].

In this paper, based on Lyapunov method, an adaptive fuzzy control scheme combining backstepping is presented for the two-link robot manipulator system which has two rotational joints on a horizontal plane and one translational joint on the vertical axis. It is proved that the closed-loop system is globally stable in the Lyapunov sense. If all the signals are bounded, the system output can track the desired reference output asymptotically with uncertainties and disturbances[2-3].

2

Model of two-link manipulator

2.1 Model Description

In Engineering, robots not only can improve productivity but also can achieve high-strength, highly difficult and hazardous jobs. Manipulators are the usual plants in robotics. Using the lagrangian formulation, the dynamic equation of a planner n degrees of freedom rigid manipulator can be expressed as follows.

( )

(

)

( )

(

( )

( )

)

( )

(

( )

)

( )

( )

,

k k k k k k

K k

M q t q t C q t q t q t G q t t d t

τ

+ +

= +

  

(1)

Where M

(

qk

( )

t

)

∈ Rn n× is the inertia matrix.

( )

n

k

q t ∈ R is the angle vector,

( )

n

k t R

q

∈ is the

velocity vector, also the qk

( )

t ∈ Rnis acceleration vector. tdenotes the time and is the nonnegative integer.

k ∈ Z+ denotes the operation or iteration times.

( )

( )

(

,

)

n

k k

C q t q t ∈ R is a vector resulting from the

centrifugal and coriolis forces.

G q

(

k

( )

t

)

is the gravity.

( )

n

K t R

τ ∈ is the control moment applied to the

joints,and dk

( )

t ∈ Rn is the vector containing the unmodeled dynamics and other unknown external disturbances.

The characteristics of the kinetic model of a robot manipulator[4]:

(1) Kinetic mode contains more number of items: The

number of items included in the equation increases with the increase in the number of robot joint.

(2) Highly nonlinearity: Each item of the equations

contains non-linear factors such as sine and consine, et al.

(3) High degree of coupling.

(4) Model uncertainty and time-variant: Because the

(2)

Suppose that the parameters of the system are unknown, and the following properties are written as:

Property 1

( )

(

)

nn

k

M q t R ×

∈ is a positive-definite symmetric, and

bounded matrix. There exists positive constant,

( )

(

)

0 0, 0

R

,0

M q

k

t

0

I

σ

>

σ

∈ < ≤

σ

Property 2

( )

( )

(

,

)

k k

C q t q t is bounded. there exists known

( )

b

C q such that

( )

( )

(

k , k

)

b

( ) ( )

k

C q

t

q

t

C

q

q

t

Property 3

Matrix

(

( )

)

2

(

( )

,

( )

)

k k k

M q

t

C q

t

q

t

is a

symmetric matrix, and

( )

(

)

(

( ) ( )

)

(

2 ,

)

0

T

k k k

X M q t − C q t q t X =

(2)

where X is a vector.

Property 4

The known disturbance is satisfied withdk ≤ dm, where

m

d is a known positive constant.

2.2 Mathematical model

The two-link robot manipulator generally has two revolute joints and prismatic joint. The schematic diagram of the two-link manipulator is shown in Fig.1. The robots transport a load horizontally by actuating the two revolute joints. The robots transport a load vertically by actuating the prismatic joint[5].

Fig.1 The schematic diagram of the two-link manipulator

The dynamic equation of the model for two-link robot manipulator can be expressed as follows:

( )

(

) ( )

(

( ) ( )

) ( )

( )

( )

( )

,

(3)

k k k k k k

K

k

M q t q t C q t q t q t d t

t

y q t

τ

+ +

= =

  

According to Lagrangian method, the inertia matrix

( )

(

k

)

M q

t

can be written as:

( )

(

)

11 12

21 22

4

k

M M

M q t

M M

=

( )

Where

11 1 2 2 2 1 2

12 2 2 2 1 2

21 2 2 2 1 2 22 2

2 2

1 1 1 2 1

2

2 2 2

2

cos

,

cos

,

cos

,

,

4

3

4

3

,

M

J

J

m rl

M

J

m rl

M

J

m rl

M

J

J

m r

m l

J

m r

θ

θ

θ

=

+

+

=

+

=

+

=

=

+

=

Also the

(

( )

,

( )

)

k k

C q

t

q

t

is given by:

( )

( )

(

)

11 12

21 22

,

k k

C C

C q t q t

C C

=

(5)

Where

11 2 2 1 2 2

12 2 2 1 2 2

21 2 2 1 2 2

22

2 sin ,

sin

sin

0,

,

,

C m rl

C m rl

C m rl

C

θ θ

θ θ

θ θ

= − = − = =

  

[

1 2

]

,

[

1 2

]

T T

q = θ θ τ = τ τ

Where

m

1 is the mass of the 1th link,

m

2 is the mass of the 2th link,

l

1and

l

2are the length of each link.

r

1 and

r

2are distances between the gravity center position and rotational position of the each links. θ1and θ2are the angle of each links.

1

J and 2

J are the inertia matrix of two links. In addition,

(

( )

)

k

G q t terms are ignored in this paper because the absence of theG q

(

k

( )

t

)

terms in the equation of motion could be interpreted as assuming the robot is statically balanced. On the other hand, the absence of gravity is interpreted by simply assuming that the robot is working in outer space.

2.3 Design of Controller and Analysis of the

Stability

In order to apply Backstepping method, define

1 k( ), 2 k( ) x = q t x = q t . Using (1),we can obtain :

1 2

x = x

1 1 1

2 ( )1 ( ) ( ,1 1 2) 2 ( )1 (6)

x

 =

M

x

τ

M

x C x x x

M

x d

1

y = x

STEP 1:

(3)

derivative. Define z1 = y − yd. α1is the estimation of thex2.Define z2 = x2 − α1. According to selecting the appropriateα1, making z2 → 0, we can obtainz1

following as:

1 1 d 2 1 d

z = x − y = z +α − y (7)

Select the virtual control item as:

(

)

1 1z1 yd 1 0

α = −λ +  λ > (8)

Select the Lyapunov function for the first subsystem as :

1 1 1

1

2 T

V

=

z z

(9)

There

1 1 1 1

1 2 1

1 1 1 1 2

( ) ( ) T T d T d T T

V z z z y y

z z y

z z z z

α λ = = − = + − = − + 

 (10)

If z2 is zero, the first subsystem is stable.

STEP 2:

Using (3) (5), we can obtain :

1 1 1

2 1 2 1

2

x

M Cx

M d

M

z

α

− − −

τ

α

− = − − + −

=

  

(11)

Select the control rule as following:

2z2 z1

τ = −λ − − φ

(12) Select the Lyapunov function for the second subsystem:

2 1 1 2 2

2 T

V

=

V

+

z Mz

(13)

Therefore

2 1 2 2 2 2 2 2

1 1 1 1 2 2 2 1 2 2

1 1 1

1 1 1 1 2 2 2 1 2 2

1 1 1 1 2 2 2 2 1 2 1 1 2 2 2 2

1 1 1

2 2 2

1 ( ) 2 ( ) ( ) ( )

T T T

T T T T

T T T T

T T T T

T T T

V V z Mz z Mz z Mz

z z z z z M x z Mz

z z z z z M M Cx M d M z Cz

z z z z z f z z z d

z z z z z f

λ α

λ τ α

λ λ φ

λ λ φ

− − − = + + + = − + + − + = − + + − − + − + = − + + − − − − = − + − + −       (14)

Where f = −Cα1 − Mα1

From the expression of the

f

, we can obtain the

modeling information of robotics system. In order to realize the control without model information, we make

fuzzy system approximate the

f

.If

φ

is used to

approximate the fuzzy system of the nonlinear function

f

, the single value fuzzification, the product inference engine and the center average defuzzifier are adopted [3,6,7,8].

If fuzzy system is consisted of N fuzzy rules, the ith fuzzy rule is expressed as:

i

R :IF

x

1 is 1 k

µ

and...and xn is

µ

kn,then

y

is

k

B (

k

=1,2,…N),Where

µ

ki is the membership

function of the

x

i(

i

=1,2,…n). The output of fuzzy system is written as:

( )

( )

1 1 1 1 n N k

K i i

T k i n N k i i k i x y x θ µ ξ θ µ = = = = =

∑ ∏

=

∑ ∏

(15)

Where ξ =

[

ξ1( ), ( ), ( ),..., ( )x ξ2 x ξ3 x ξN x

]

,

( )

( )

1 1 1 ( ) n k i i i

K N n

k i i k i x x x µ ξ µ = = = =

∑ ∏

,

[

1, 2, ,...,3

]

T

N

θ = θ θ θ θ . (16) Based on the fuzzy approximation of the

f

, the fuzzy system for

f

(1)and

f

(2)is designed as:

( )

( )

( )

( )

1 1 1

1 1 1

1 1

2

1 1

1 2 2

1 1 ( ) ( ) n N k

K i i

T k i n N k i i k i n N k

K i i

T k i n N k i i k i x x x x x x θ µ

φ ξ θ

µ

θ µ

φ ξ θ

µ = = = = = = = = = = = =

∑ ∏

∑ ∏

∑ ∏

∑ ∏

(17) Define

[

]

1 1

1 2 2 2 0 , 0 T T T T θ ξ

φ φ ξ θ

θ ξ

Φ = =

  

  

=

 

(18)

*

θ is defined the optimal approximative constant. The following inequality is established for a given any small constant

ε ε

( > 0) [9].

f

− Φ∗ ≤

ε

。令θ θ* θ

= −

 .

The self-adaptive control law is designed as:

2

( T T( ))T 2 19

z

x

k

θ

 =

γ

ξ

θ

( )

STEP 3:

The Lyapunov function is selected for the whole system:

1 1 2 2

1 1 2 2 1 ( 0) 2 T T T

V z z z Mz

θ θ γ γ

= +

+   >

(20)

(4)

1 1 1 2 2 2 2

2

1 1 1 2 2 2 2

2 2 ( ( ) ) 1 21 ( ( ) ) 1 ( ( ) ( ) )

T T T

T T

T T T

T T T

V z z z z z f x

z

z z z z z f x

z x x z d

λ λ ξ θ

θ θ γ

λ λ ξ θ

ξ θ ξ θ θ θ

γ ∗ ∗ = − − + − − − = − − + − + − − −      ( ) Then

1 1 1 2 2 2 2

2 2

2 2

1 1 1 2 2 2 2

2 2 2 2 ( ( ) ) 1 ( ( ) ) 1 1 2 2

1 1 1

( ( ))

2 2

22

T T T

T T T

T T T

T T T T

V z z z z z f x

z x z d

z z z z z

z d z x

λ λ ξ θ

ξ θ θ θ

γ

λ λ ε

θ ξ θ

γ ∗ ≤ − − + − + + − ≤ − − + + + + +

   

( )

Because of

θ

 =

γ

(

z

2T

ξ

T( ))

x

T − 2

k

θ

, we can obtain:

1 1 1 2 1 2 2

( 1)

1

(2 2 )

2 2

T T

T T T

V z z z z

k

d d

λ λ

ε

θ θ θ θ

γ ∗ ≤ − − − + − + +  (23)

Using (22)and

(

θ

θ

) (

T

θ

θ

)

≥ 0, we can obtain:

1 1 1 2 2 2

2

( 1) (

2 1

)

2 2

T T T

T T T

k

V

z z

z z

k

d d

λ

λ

θ θ

γ

ε

θ θ

θ θ

γ

∗ ∗ ∗ ∗ ≤ − − − + − − + + +  (24)

Due to

(

θ

+

θ

) (

T

θ

+

θ

)

≥ 0

Then ( )( ) 2 2 1 2

T T T

T T T T

T

θ θ

θ

θ

θ

θ

θ θ

θ θ

θ θ

θ θ

θ θ

∗ ∗ ∗ ∗ ∗ ∗ = − − ≤ + − − ≤ −     (25) Namely 1

1 1 1 2 2 2

2

( 1)

2

2 1

2 2

T T T

T T

k

V z z z M Mz

k

d d

λ λ θ θ

γ ε θ θ γ − ∗ ∗ ≤ − − − − + + +    (26)

The optimal parameter is defined as: λ2 > 1, 1

0

0

1

M σI M I

σ

≤ ,− ≤ −

(27)

We can obtain:

1 1 1 2 2 2

0 2 1 ( 1) 2 2 1 2 2

T T T

T T

k

V z z z Mz

k

d d

λ λ θ θ

σ γ ε θ θ γ ∗ ∗ ≤ − − − − + + +    (28) Define 0 1 2 0 1

min ,( 1) ,

2 2

c k

λ λ

σ

=

(29)

Then

0 1 1 2 2

2

2

0

1 1 1

( )

2 2 2

2 1

2 2

2 1

2 2

T T T

T T

T T

V c z z z Mz

k

d d

k

c V d d

θ θ γ ε θ θ γ ε θ θ γ ∗ ∗ ∗ ∗ ≤ − + + + + + ≤ − + + +    (30)

Because the interferenced ∈ Rn is bounded, then there exists the

D

> 0and meets thed dT ≤ D.

Then 2 0 0 max 2 2 2 T V k D

V c V

c V c

ε θ θ γ ∗ ∗ ≤ − + + + = − + 

(31)

Where 2 max 2 2 2 T V

k

D

c

θ θ

ε

γ

∗ ∗

= + +

By solving the inequality(30), we can obtain:

[

]

max 0 0 0 max 0

( ) (0) exp( ) 1 exp( )

(0) ,( 0)

V

V

c

V t V c t c t

c c

V t

c

≤ − + − −

≤ + ≥ (32)

Where

V

(0) is the initial value of the

V

. Defining the

compact set, max

0

0

( ) (0) cV

XV X V

c

Ω =

≤ +

, then

{

z z

1, ,2

θ

}

∈ Ω0, we can obtain the conclusion that

V

is bounded, and all the signals of closed-loop system are bounded.

3

Simulation

In order to verify the effectiveness of the

(5)

Table 1. parameters

Description parameter 1

m

2

m

1

l

2

l

1

r

2

r

0.1kg

0.1kg

0.25m

0.25m

0.15

0.15 The initial state value of system is as:

[

]

(0) 1 1 0 0T

x =

The external disturbance is selected as:

[

0.5 sin 0.5 cos

]

d = t t

Design parameter are selected as:

1 10, 2 15,k 1.5, 2,

λ = λ = = γ =

1 2, 2 2.5,

λ = λ =

k

= 1.5,γ = 2, Desired trajectory is as:yd = sin(2πt). The membership function is seclected as:

1 2

2 2

3 2

exp[ 0.5(( 1.25) / 0.6) ];

exp[ 0.5(( ) / 0.6) ];

exp[ 0.5(( 1.25) / 0.6) ];

i

i

i

F i

F i

F i

x

x

x

µ

µ

µ

= − +

= −

= − −

Simulation results are shown from Fig.2 to Fig.6.

Fig.2 The member function of xi

Fig.3 Control input of 1th link

Fig.4 Control input of 2th link

Fig.5 Response of the angle q1

Fig.6 Response of the angle q2

4

Conclusions

In this paper, an adaptive fuzzy control algorithm combining backstepping control algorithm is proposed for the two-link robot manipulator. Based on the above control algorithm, the robust tracking performance of the two-link robot manipulator can be guaranteed without needing an accurate robot model. The simulation results show that the adaptive controller can achieve desired performance and the algorithm is suitable for an inaccurate robot system. Simulation results also show the precise angle control, which is obtained in spite of disturbance and uncertainties in the system. These results also prove that the proposed control schemes are effective for the two-link robot manipulator.

(6)

[1]Jinkun Liu,The design of robot control system and MATLAB simulation[M], Tsinghua press.2008 [2]Jing Li,Guodong Li,Robust Adaptive Trajectory

Control for Robotic Manipulators[J],Journal of Jiangnan University(Natural Science Edition),2008, 7(4):448-452

[3]D.Nganga-Kouya,M.Saad,L.Lamarche,Backsteppin g Adaptive hybrid Force/Position Control for Robot Manipulators[J]. Proceedings of the American Control Conference Anchorage, 2002,6(10),4595-4 600

[4]Jinkun Liu, Advanced Sliding Mode Control for Mechanical systems[M], Tsinghua press.2011 [5]Chun-Yi Su,Yury Stepanenko, Sadik Dost,Hybrid

Integrator Backstepping Control of Robotic Manipulators Driven By Brushless DC Motors[J]. IEEE/ASME transatctions on mechatronics,1996, 1(4),266-277

[6]R. Kussub, M. Zohdy, Feedback linearizng versus integrator backstep for trajectory tracking of three link cylindrical-type robot[J], Proceedings of the

American Control Conference Chicago,Illinois 2000,2844-2848

[7]D. Nganga-Kouy, M.Saad, L. Lamarche , C. Khairallah,Backstepping adaptive position control for robotic manipulators [J], Proceedings of the American Control Conference Arlington, 2001,636-640

[8]Shoji Takagi , Naoki Uchiyama, Robust Control System Design for SCARA Robots Using Adaptive Pole Placement[J], IEEE transactions on industrial electronics, 2005,52(3),915-921

[9]Che-Min Ou,Jung-shan Lin.Nonlinear Adaptive Backstepping Control Design of Flexible-Joint Robotic Manipulators[J],ASCC,2011,1352-1357

Yongqiao Wei received the B.Sc. degree from Sichuan University,Chengdu,China, in 2012 and he will receive a M.S. degree from Sichuan University, in 2015, in Mechanical design and theory.Now he is a student in Mechanical design and theory of Sichuan University.

Jingdong Zhang received an M.S. degree from Kunming University of Science andTechnology,Kunming ,China,in 2012.He is now a Associate professor.His research interests cover mechanical transmission, intelligent controland CAD/CAPP/CAM/PMD.

Li Hou received an M.S. degree from Chongqing University,Chongqing,China, in 1992 and a Ph.D. Degree from Sichuan University in 2000.He is now a professor and PhD supervisor at Sichuan University.His research interests cover mechanical transmission, intelligent control and embedded systems and CAD/ CAPP/CAM/PMD.

Fenglan Jia received the B.Sc. degree from Qingdao University of technology,Qingdao,Chian,in 2012 and she will receive a M.S. degree from Sichuan University,in 2015,in Mechanical design theory.Now she is a student in the Mechatronics of Sichuan University.

Imagem

Table 1. parameters  Description  parameter  m 1 m 2 l 1 l 2 r 1 r 2 0.1kg 0.1kg  0.25m 0.25m 0.15 0.15  The initial state value of system is as:

Referências

Documentos relacionados

ANEEL abre ao público o programa de P&amp;D, os recursos são provisionados em conta contábil específica. Todas as empresas distribuidoras, transmissoras e geradoras

In this paper, a robust neural network global sliding mode PID-controller is proposed to control a robot manipulator with parameter variations and external disturbances.. In

Abstract: This paper presented an investigation into the performance of system identification using an Adaptive Neuro-Fuzzy Inference System (ANFIS) technique for the dynamic

A possível preferência das vespas sociais pelo substrato de nidificação, devido a alguma ca- racterística morfológica ou fisiológica de alguma espécie vegetal em particular,

The performance is compared with Hybrid PD-PID controller; effect of white noise and sine wave disturbances on the proposed controller is also studied.. Effect of

We divided the integrated control system in two sub-systems: a control of the trajectories for the legs and the trunk, based on adaptive control system, and

This paper focused on the evaluation and control of the performance in a refrigeration system using fuzzy adaptive techniques, controlling the exit water

In this work we presented a study concerning the modeling and formation control of a robotic system composed by two mobile robots, the leader robot and the follower robot.. It