+ All Categories
Home > Documents > Adaptive fuzzy sliding mode control of uncertain nonlinear systems

Adaptive fuzzy sliding mode control of uncertain nonlinear systems

Date post: 03-Feb-2023
Category:
Upload: independent
View: 0 times
Download: 0 times
Share this document with a friend
10
ADAPTIVE FUZZY SLIDING MODE CONTROL OF UNCERTAIN NONLINEAR SYSTEMS Wallace Moreira Bessa * [email protected] Roberto Souza Sá Barrêto [email protected] * Universidade Federal do Rio Grande do Norte, Centro de Tecnologia, Departamento de Engenharia Mecânica, Campus Universitário Lagoa Nova, CEP 59072-970, Natal, RN, Brazil Centro Federal de Educação Tecnológica Celso Suckow da Fonseca, Av. Maracanã 229, Bloco E, DEPES, CEP 20271-110, Rio de Janeiro, RJ, Brazil ABSTRACT This paper presents a detailed discussion about the conver- gence properties of a variable structure controller for un- certain single-input–single-output nonlinear systems (SISO). The adopted approach is based on the sliding mode con- trol strategy and enhanced by an adaptive fuzzy algorithm to cope with modeling inaccuracies and external disturbances that can arise. The boundedness of all closed-loop signals and the convergence properties of the tracking error are an- alytically proven using Lyapunov’s direct method and Bar- balat’s lemma. This result corrects flawed conclusions previ- ously reached in the literature. An application of this adap- tive fuzzy sliding mode controller to a second-order nonlin- ear system is also presented. The obtained numerical results demonstrate the improved control system performance. KEYWORDS: Nonlinear Control, Sliding Modes, Fuzzy Logic, Adaptive Methods RESUMO Controle por Modos Deslizantes Nebuloso Adaptativo de Sistemas Incertos Não-lineares Este trabalho apresenta uma discussão detalhada acerca das propriedades de convergência de um controlador à estrutura variável para sistemas incertos com uma entrada e uma saída Artigo submetido em 28/11/2007 (Id.: 00831) Revisado em 30/07/2008, 05/03/2009 Aceito sob recomendação do Editor Associado Prof. Takashi Yoneyama (SISO). A abordagem adotada baseia-se na estratégia de con- trole por modos deslizantes e incorpora um algoritmo difuso adaptativo para compensar imprecisões de modelagem e per- turbações externas que possam ocorrer. A limitação de to- dos os sinais do sistema em malha-fechada e as propriedades de convergência do erro de rastreamento são demonstradas analiticamente através do método direto de Liapunov e do lema de Barbalat. Este resultado corrige conclusões errôneas apresentadas anteriormente na literatura. Uma aplicação do controlador por modos deslizantes difuso adaptativo em um sistema não-linear de segunda ordem também é discutida. Os resultados obtidos numericamente confirmam o desempenho do controlador. PALAVRAS-CHAVE: Controle Não-Linear, Modos Deslizan- tes, Lógica Difusa, Métodos Adaptativos 1 INTRODUCTION Sliding mode control, due to its robustness against model- ing imprecisions and external disturbances, has been suc- cessfully employed to nonlinear control problems. But a known drawback of conventional sliding mode controllers is the chattering effect. To overcome the undesired effects of the control chattering, Slotine (1984) proposed the adop- tion of a thin boundary layer neighboring the switching sur- face, by replacing the sign function by a saturation function. This substitution can minimize or, when desired, even com- pletely eliminate chattering, but turns perfect tracking into a tracking with guaranteed precision problem, which actu- Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 117
Transcript

ADAPTIVE FUZZY SLIDING MODE CONTROL OF UNCERTAINNONLINEAR SYSTEMS

Wallace Moreira Bessa∗

[email protected] Souza Sá Barrêto†

[email protected]

∗Universidade Federal do Rio Grande do Norte, Centro de Tecnologia, Departamento de Engenharia Mecânica, CampusUniversitário Lagoa Nova, CEP 59072-970, Natal, RN, Brazil

†Centro Federal de Educação Tecnológica Celso Suckow da Fonseca, Av. Maracanã 229, Bloco E, DEPES, CEP 20271-110,Rio de Janeiro, RJ, Brazil

ABSTRACT

This paper presents a detailed discussion about the conver-gence properties of a variable structure controller for un-certain single-input–single-output nonlinear systems (SISO).The adopted approach is based on the sliding mode con-trol strategy and enhanced by an adaptive fuzzy algorithm tocope with modeling inaccuracies and external disturbancesthat can arise. The boundedness of all closed-loop signalsand the convergence properties of the tracking error are an-alytically proven using Lyapunov’s direct method and Bar-balat’s lemma. This result corrects flawed conclusions previ-ously reached in the literature. An application of this adap-tive fuzzy sliding mode controller to a second-order nonlin-ear system is also presented. The obtained numerical resultsdemonstrate the improved control system performance.

KEYWORDS: Nonlinear Control, Sliding Modes, FuzzyLogic, Adaptive Methods

RESUMO

Controle por Modos Deslizantes Nebuloso Adaptativo deSistemas Incertos Não-linearesEste trabalho apresenta uma discussão detalhada acerca daspropriedades de convergência de um controlador à estruturavariável para sistemas incertos com uma entrada e uma saída

Artigo submetido em 28/11/2007 (Id.: 00831)Revisado em 30/07/2008, 05/03/2009Aceito sob recomendação do Editor Associado Prof. Takashi Yoneyama

(SISO). A abordagem adotada baseia-se na estratégia de con-trole por modos deslizantes e incorpora um algoritmo difusoadaptativo para compensar imprecisões de modelagem e per-turbações externas que possam ocorrer. A limitação de to-dos os sinais do sistema em malha-fechada e as propriedadesde convergência do erro de rastreamento são demonstradasanaliticamente através do método direto de Liapunov e dolema de Barbalat. Este resultado corrige conclusões errôneasapresentadas anteriormente na literatura. Uma aplicação docontrolador por modos deslizantes difuso adaptativo em umsistema não-linear de segunda ordem também é discutida. Osresultados obtidos numericamente confirmam o desempenhodo controlador.

PALAVRAS-CHAVE: Controle Não-Linear, Modos Deslizan-tes, Lógica Difusa, Métodos Adaptativos

1 INTRODUCTION

Sliding mode control, due to its robustness against model-ing imprecisions and external disturbances, has been suc-cessfully employed to nonlinear control problems. But aknown drawback of conventional sliding mode controllersis the chattering effect. To overcome the undesired effectsof the control chattering, Slotine (1984) proposed the adop-tion of a thin boundary layer neighboring the switching sur-face, by replacing the sign function by a saturation function.This substitution can minimize or, when desired, even com-pletely eliminate chattering, but turns perfect tracking intoa tracking with guaranteed precision problem, which actu-

Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 117

ally means that a steady-state error will always remain. Inorder to enhance the tracking performance inside the bound-ary layer, some adaptive strategy should be used for uncer-tainty/disturbance compensation.

Due to the possibility to express human experience in an al-gorithmic manner, fuzzy logic has been largely employedin the last decades to both control and identification of dy-namical systems. In spite of the simplicity of this heuristicapproach, in some situations a more rigorous mathematicaltreatment of the problem is required. Recently, much efforthas been made to combine fuzzy logic with nonlinear con-trol methodology. In (Wang, 1993) a globally stable adaptivefuzzy controller was proposed using Lyapunov stability the-ory to develop the adaptive law. Combining fuzzy logic withsliding mode control, Palm (1994) used the switching vari-able s to define a fuzzy boundary layer. Some improvementsto this control scheme appeared in (Chai and Tong, 1999)and (Berstecher et al., 2001). Wong et al. (2001) proposed afuzzy logic controller which combines a sliding mode con-troller and a proportional plus integral controller. A slidingmode controller that incorporates a fuzzy tuning techniquewas analyzed in (Ha et al., 2001). By defining a general-ized error transformation as a complement to the conven-tional switching variable, Liang and Su (2003) developed astable fuzzy sliding mode control scheme. Cheng and Chien(2006) proposed an adaptive sliding mode controller basedon T–S fuzzy models and Wu and Juang (2008) showed thatfuzzy sliding surfaces can be established by solving a set oflinear matrix inequalities.

A robust and very attractive approach was proposed in (Yooand Ham, 1998). Yoo and Ham (1998) used fuzzy infer-ence systems to approximate the unknown system dynamicswithin the sliding mode controller. Su et al. (2001), Wanget al. (2001), Chang et al. (2002) and also Kung and Chen(2005) suggested some improvements to this methodology.A drawback of this approach is the adoption of the state vari-ables in the premise of the fuzzy rules. For higher-order sys-tems the number of fuzzy sets and fuzzy rules becomes in-credibly large, which compromises the applicability of thistechnique.

In this paper, an adaptive fuzzy sliding mode controller (AF-SMC) is proposed to deal with imprecise single-input-single-output (SISO) nonlinear systems. The proposed controlscheme is based on (Yoo and Ham, 1998) but here an es-timate of system dynamics is assumed to be known and theadaptive fuzzy inference system is adopted to compensate formodeling imprecisions and external disturbances. In order toreduce the number of fuzzy sets and rules and consequentlysimplify the design process, the switching variable s, insteadof the state variables, is considered in the premise of thefuzzy rules. By replacing the sign function by the saturation

function, the undesirable chattering effects are completelyavoided. This control strategy has already been success-fully applied to the dynamic positioning of remotely operatedunderwater vehicles (Bessa et al., 2008; Bessa, Dutra andKreuzer, 2007) and to the chaos control in a nonlinear pendu-lum (Bessa, De Paula and Savi, 2007; De Paula et al., 2007).In this work, using Lyapunov’s second method (also calledLyapunov’s direct method) and Barbalat’s lemma, the bound-edness of all closed-loop signals and some convergence prop-erties of the tracking error are analytically proven for an nth-order uncertain SISO nonlinear system. This result also cor-rects a minor flaw in Slotine’s work, by showing that thebounds of the error vector are different from the bounds pro-vided in (Slotine, 1984). A simulation example is also pre-sented in order to demonstrate that, when compared with aconventional sliding mode controller, the AFSMC shows animproved performance.

2 ADAPTIVE FUZZY SLIDING MODECONTROLLER

Consider a class of nth-order nonlinear systems:

x(n) = f(x) + b(x)u+ d (1)

where u is the control input, the scalar variable x is theoutput of interest, x(n) is the n-th time derivative of x,x = [x, x, . . . , x(n−1)] is the system state vector, d repre-sents external disturbances and unmodeled dynamics, andf, b : R

n → R are both nonlinear functions.

In respect of the dynamic system presented in equation (1),the following assumptions will be made:

Assumption 1 The function f is unknown but bounded by aknown function of x, i.e. |f(x) − f(x)| ≤ F (x) where f isan estimate of f .

Assumption 2 The input gain b is unknown but positive andbounded, i.e. 0 < bmin ≤ b(x) ≤ bmax.

Assumption 3 The disturbance d is unknown but bounded,i.e. |d| ≤ δ.

The proposed control problem is to ensure that, even inthe presence of external disturbances and modeling impre-cisions, the state vector x will follow a desired trajectoryxd = [xd, xd, . . . , x

(n−1)d ] in the state space.

Regarding the development of the control law the followingassumptions should also be made:

Assumption 4 The state vector x is available.

118 Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010

Assumption 5 The desired trajectory xd is once differen-tiable in time. Furthermore, every element of vector xd, aswell as x(n)

d , is available and with known bounds.

Now, let x = x − xd be defined as the tracking error in thevariable x, and

x = x − xd = [x, ˙x, . . . , x(n−1)]

as the tracking error vector.

Consider a sliding surface S defined in the state space by theequation s(x) = 0, with the function s : R

n → R satisfying

s(x) =

(

d

dt+ λ

)n−1

x (2)

or conveniently rewritten as

s(x) = ΛTx (3)

where Λ = [cn−1λn−1, . . . , c1λ, c0] and ci states for bino-

mial coefficients, i.e.

ci =

(

n− 1

i

)

=(n− 1)!

(n− i− 1)! i!, i = 0, 1, . . . , n− 1

(4)

which makes cn−1λn−1 + · · ·+ c1λ+ c0 a Hurwitz polyno-

mial.

From equation 4, it can be easily verified that c0 = 1, for∀n ≥ 1. Thus, for notational convenience, the time deriva-tive of s will be written in the following form:

s = ΛT ˙x = x(n) + Λ

Tu x (5)

where Λu = [0, cn−1λn−1, . . . , c1λ].

Now, let the problem of controlling the uncertain nonlinearsystem (1) be treated in a Filippov’s way (Filippov, 1988),defining a control law composed by an equivalent controlu = b−1(−f − d + x

(n)d − Λ

Tu x) and a discontinuous term

−K sgn(s):

u = b−1(

−f − d+ x(n)d − Λ

Tu x

)

−K sgn(s) (6)

where d is an estimate of d, b =√bmaxbmin is an estimate of

b, K is a positive gain and sgn(·) is defined as

sgn(s) =

−1 if s < 00 if s = 01 if s > 0

(7)

Based on Assumptions 1–3 and considering that β−1 ≤b/b ≤ β, where β =

bmax/bmin, the gain K should bechosen according to

K ≥ βb−1(η + δ + |d| + F ) + (β − 1)|u| (8)

where η is a strictly positive constant related to the reachingtime.

Based on the sliding mode methodology (Slotine and Li,1991), it can be easily verified that (6) is sufficient to imposethe sliding condition:

1

2

d

dts2 = ss = (x(n) + Λ

Tu x)s = (x(n) − x

(n)d + Λ

Tu x)s

= (f + bu+ d− x(n)d + Λ

Tu x)s

=[

f + bb−1(−f − d+ x(n)d − Λ

Tu x)+

− bK sgn(s) + d− (x(n)d − Λ

Tu x)

]

s

Recalling that u = b−1(−f − d+ x(n)d − Λ

Tu x), and noting

that f = f − (f − f) and d = d− (d− d), one has

1

2

d

dts2 = −

[

(f − f) + (d− d) + bu− bu+ bK sgn(s)]

s

Thus, considering assumptions 1–3 and defining K accord-ing to (8), it follows that

1

2

d

dts2 = ss ≤ −η|s|

Then, dividing by |s| and integrating both sides over the in-terval 0 ≤ t ≤ ts, where ts is the time required to hit S,gives

∫ ts

0

s

|s| s dt ≤ −∫ ts

0

η dt

|s(t = ts)| − |s(t = 0)| ≤ −η ts

In this way, noting that |s(t = ts)| = 0, one has

Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 119

ts ≤ |s(t = 0)|η

and, consequently, the finite time convergence to the slidingsurface S.

In order to obtain a good approximation to the disturbance d,the estimate dwill be computed directly by an adaptive fuzzyalgorithm.

The adopted fuzzy inference system was the zero order TSK(Takagi–Sugeno–Kang) (Jang et al., 1997), whose rules canbe stated in a linguistic manner as follows:

If s is Sr then dr = Dr ; r = 1, 2, . . . , N

where Sr are fuzzy sets, whose membership functions couldbe properly chosen, and Dr is the output value of each oneof the N fuzzy rules.

At this point, it should be highlighted that the adoption ofthe switching variable s in the premise of the rules, in-stead of the state variables as in (Yoo and Ham, 1998; Suet al., 2001; Wang et al., 2001; Chang et al., 2002; Kung andChen, 2005), leads to a smaller number of fuzzy sets andrules, which simplifies the design process. Considering thatexternal disturbances are independent of the state variables,the choice of a combined tracking error measure s also seemsto be more appropriate in this case.

Considering that each rule defines a numerical value as out-put Dr, the final output d can be computed by a weightedaverage:

d(s) =

∑N

r=1 wr · dr∑N

r=1 wr

(9)

or, similarly,

d(s) = DTΨ(s) (10)

where, D = [D1, D2, . . . , DN ] is the vector contain-ing the attributed values Dr to each rule r, Ψ(s) =[ψ1(s), ψ2(s), . . . , ψN (s)] is a vector with componentsψr(s) = wr/

∑N

r=1 wr and wr is the firing strength of eachrule.

To ensure the best possible estimate d(s) to the disturbanced, the vector of adjustable parameters can be automaticallyupdated by the following adaptation law:

˙D = ϕsΨ(s) (11)

where ϕ is a strictly positive constant related to the adapta-tion rate.

Equation (11) also shows that there is no adaptation when

states are on the sliding surface, ˙D = 0 for s = 0.

It’s important to emphasize that the chosen adaptation law,equation (11), must not only provide a good approximationto disturbance d but also not compromise the attractivenessof the sliding surface, as will be proven in the following the-orem.

Theorem 1 Consider the uncertain nonlinear system (1)and assumptions 1–5. Then, the controller defined by (6),(8), (10) and (11) ensures the convergence of the trackingerror vector to the sliding surface S.

Proof: Let a positive-definite function V1 be defined as

V1(t) =1

2s2 +

1

2ϕ∆

T∆

where ∆ = D − D∗ and D

∗ is the optimal parameter vec-tor, associated to the optimal estimate d∗(s). Thus, the timederivative of V1 is

V1(t) = ss+ ϕ−1∆

T∆

= (x(n) + ΛTu x)s+ ϕ−1

∆T∆

= (x(n) − x(n)d + Λ

Tu x)s+ ϕ−1

∆T∆

=(

f + bu+ d− x(n)d + Λ

Tu x

)

s+ ϕ−1∆

T∆

=[

f + bb−1(−f − d+ x(n)d − Λ

Tu x)+

− bK sgn(s) + d− (x(n)d − Λ

Tu x)

]

s + ϕ−1∆

T∆

Defining the minimum approximation error as ε = d∗(s)−d,recalling that u = b−1(−f − d + x

(n)d − Λ

Tu x), and noting

that ∆ = ˙D, f = f − (f − f) and d = d − (d − d), V1

becomes:

120 Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010

V1(t) = −[

(f − f) + ε+ (d− d∗) + bu− bu+

+ bK sgn(s)]

s+ ϕ−1∆

T ˙D

= −[

(f − f) + ε+ (D − D∗)TΨ(s) + bu− bu+

+ bK sgn(s)]

s+ ϕ−1∆

T ˙D

= −[

(f − f) + ε+ bu− bu+ bK sgn(s)]

s+

+ ϕ−1∆

T( ˙D − ϕsΨ(s)

)

Thus, by applying the adaptation law (11) to ˙D:

V1(t) = −[

(f − f) + ε+ bu− bu+ bK sgn(s)]

s

Furthermore, considering assumptions 1–3, defining K ac-cording to (8) and verifying that |ε| = |d∗ − d| ≤ |d− d| ≤|d| + δ, it follows

V1(t) ≤ −η|s| (12)

which implies V1(t) ≤ V1(0) and that s and ∆ are bounded.Considering that s(x) = Λ

Tx, it can be verified that x is also

bounded. Hence, equation (5) and Assumption 5 implies thats is also bounded.

Integrating both sides of (12) shows that

limt→∞

∫ t

0

η|s| dτ ≤ limt→∞

[V1(0) − V1(t)] ≤ V1(0) <∞

Since the absolute value function is uniformly continuous, itfollows from Barbalat’s lemma (Khalil, 2001) that s → 0 ast → ∞, which ensures the convergence of the tracking errorvector to the sliding surface S. 2

Remark 1 Although Theorem 1 only guarantees the asymp-totic convergence to S, the control law (6) actually ensuresthe finite time convergence to S, as previously verified byimposing the sliding condition to system states, and, conse-quently, the exponential stability of the closed-loop system.

In spite of the demonstrated properties of the controller, thepresence of a discontinuous term in the control law leads tothe well known chattering effect. In order to avoid these un-desirable high-frequency oscillations of the controlled vari-able, the sign function can be replaced by a saturation func-tion (Slotine, 1984), defined as:

sat(s/φ) =

{

sgn(s) if |s/φ| ≥ 1s/φ if |s/φ| < 1

(13)

This substitution smoothes out the control discontinuity andintroduces a thin boundary layer, Sφ, in the neighborhood ofthe switching surface

Sφ =

{

x ∈ Rn∣

∣ |s(x)| ≤ φ

}

where φ is a strictly positive constant that represents theboundary layer thickness.

Thus, the resulting control law can be stated as follows

u = b−1(

−f − d+ x(n)d − Λ

Tu x

)

−K sat

(

s

φ

)

(14)

The proof of the boundedness of all closed-loop signals relieson the following lemma:

Lemma 2 Let the boundary layer be defined as Sφ = {x ∈R

n | |s(x)| ≤ φ}, then for all trajectories starting insideSφ, the tracking error vector will exponentially converge toa closed region Φ = {x ∈ R

n | |x(i)| ≤ ζiλi−n+1φ, i =

0, 1, . . . , n− 1}, with ζi defined according to

ζi =

{

1 for i = 0

1 +∑i−1

j=0

(

i

j

)

ζj for i = 1, 2, . . . , n− 1.

(15)

Proof: From the definition of s, equation (3), and consider-ing that |s(x)| ≤ φmay be rewritten as −φ ≤ s(x) ≤ φ, onehas

−φ ≤ c0x(n−1)+c1λx

(n−2)+· · ·+cn−2λn−2 ˙x+cn−1λ

n−1x ≤ φ

(16)

Multiplying (16) by eλt yields

−φeλt ≤ dn−1

dtn−1(xeλt) ≤ φeλt (17)

Thus, integrating (17) n− 1 times between 0 and t gives

Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 121

−φ

λn−1e

λt +

dn−2

dtn−2(xe

λt)˛

˛

t=0+

φ

λ

«

tn−2

(n − 2)!+ · · ·+

+

x(0) +φ

λn−1

«

≤ xeλt

≤φ

λn−1e

λt+

+

dn−2

dtn−2(xe

λt)˛

˛

t=0+

φ

λ

«

tn−2

(n − 2)!+· · ·+

x(0) +φ

λn−1

«

(18)

Furthermore, dividing (18) by eλt, it can be easily verifiedthat, for t→ ∞,

− φ

λn−1≤ x(t) ≤ φ

λn−1(19)

Considering the (n− 2)th integral of (17)

−φ

λn−2e

λt−

„˛

˛

˛

˛

dn−2

dtn−2(xe

λt)

˛

˛

˛

˛

t=0

λ

«

tn−3

(n − 3)!− · · ·

˛

˛ ˙x(0)˛

˛ +φ

λn−2

«

≤d

dt(xe

λt) ≤φ

λn−2e

λt+

„˛

˛

˛

˛

dn−2

dtn−2(xe

λt)

˛

˛

˛

˛

t=0

λ

«

tn−3

(n − 3)!+· · ·+

˛

˛ ˙x(0)˛

˛ +φ

λn−2

«

(20)

and noting that d(xeλt)/dt = ˙xeλt + xλeλt, by imposing thebounds (19) to (20) and dividing again by eλt, it follows that,for t→ ∞,

−2φ

λn−2≤ ˙x(t) ≤ 2

φ

λn−2(21)

Now, applying the bounds (19) and (21) to the (n − 3)th

integral of (17) and dividing once again by eλt, it followsthat, for t→ ∞,

−6φ

λn−3≤ ¨x(t) ≤ 6

φ

λn−3(22)

The same procedure can be successively repeated until thebounds for x(n−1) are achieved:

−(

1 +

n−2∑

i=0

(

n− 1

i

)

ζi

)

φ ≤ x(n−1) ≤(

1 +n−2∑

i=0

(

n− 1

i

)

ζi

)

φ (23)

where the coefficients ζi (i = 0, 1, . . . , n − 2) are relatedto the previously obtained bounds of each x(i) and can besummarized as in (15).

In this way, by inspection of the integrals of (17), as well as(19), (21), (22), (23) and the other omitted bounds, it followsthat the tracking error vector will exponentially converge toa closed region Φ = {x ∈ R

n | |x(i)| ≤ ζiλi−n+1φ, i =

0, 1, . . . , n− 1}. 2

Remark 2 Lemma 2 corrects a minor error in (Slotine,1984). Slotine proposed that the bounds for x(i) could besummarized as |x(i)| ≤ 2iλi−n+1φ, i = 0, 1, . . . , n− 1. Al-though both results lead to same bounds for x and ˙x, theystart to differ from each other when the order of the derivativeis higher than one, i > 1. For example, according to Slotinethe bounds for the second derivative would be | ¨x| ≤ 4φλ3−n

and not |¨x| ≤ 6φλ3−n, as demonstrated in Lemma 2.

The mistake in Slotine’s work concerns the numeric coeffi-cient in the tracking error bounds. Slotine (1984) did not con-sidered the numeric value of the previously obtained boundsto compute the bounds of x(i). For example, if the coefficient2 in | ˙x| ≤ 2φ/λn−2 was not take into account to estimate thebounds of ¨x, Lemma 2 would also lead to same erroneous re-sult. In (Slotine, 1984) this error also occurs with the boundsof every derivative whose order is higher than one, i > 1. Al-though the bounds proposed by Slotine (1984) are incorrect,they are until now widely evoked to establish the bounded-ness and convergence properties of many control schemes(Sharaf-Eldin et al., 1999; Zhang and Panda, 1999; Liangand Su, 2003; Wang et al., 2004; Chen et al., 2005; Wangand Su, 2006; Zhang and Yi, 2007).

Finally, the boundedness and convergence properties of thetracking error are established in Theorem 3.

Theorem 3 Consider the uncertain nonlinear system (1)and assumptions 1–5. Then, the controller defined by (14),(8), (10) and (11) ensures the finite-time convergence oftracking error vector the to the boundary layer and its ex-ponential convergence to the closed region Φ = {x ∈R

n | |x(i)| ≤ ζiλi−n+1φ, i = 0, 1, . . . , n− 1}.

Proof: Let a positive-definite Lyapunov function candidateV2 be defined as

V2(t) =1

2s2φ

where sφ is a measure of the distance of the current state tothe boundary layer, and can be computed as follows

122 Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010

sφ = s− φ sat

(

s

φ

)

Noting that sφ = 0 inside the boundary layer and sφ = s, weget V2(t) = 0 inside Sφ, and outside

V2(t) = sφsφ = sφs = (x(n) − x(n)d + Λ

Tu x)sφ

=(

f + bu+ d− x(n)d + Λ

Tu x

)

It can be easily verified that outside the boundary layer thecontrol law (14) takes the following form:

u = b−1(

−f − d+ x(n)d − Λ

Tu x

)

−K sgn(sφ)

Thus, the time derivative V2 can be written as

V2(t) =[

f+bb−1(−f− d+x(n)d −Λ

Tu x)−bK sgn(sφ)+

+ d− (x(n)d − Λ

Tu x)

]

Recalling that u = b−1(−f − d+ x(n)d − Λ

Tu x), and noting

that f = f − (f − f) and d = d− (d− d), one has

V2(t) = −[

(f − f) + (d− d) + bu− bu+ bK sgn(sφ)]

So, considering Assumptions 1–3 and defining K accordingto (8), V2 becomes:

V2(t) ≤ −η|sφ|

which implies V2(t) ≤ V2(0) and that sφ is bounded. Fromthe definition of sφ, it can be easily verified that s is bounded.Considering that s(x) = Λ

Tx, it can be verified that x is also

bounded. Hence, equation (5) and Assumption 5 implies thats is also bounded.

The finite-time convergence of the states to the boundarylayer can be shown by recalling that

V2(t) =1

2

d

dts2φ = sφsφ ≤ −η|sφ|

Then, dividing by |sφ| and integrating both sides over theinterval 0 ≤ t ≤ tφ, where tφ is the time required to hit Sφ,gives

∫ tφ

0

|sφ|sφ dt ≤ −

∫ tφ

0

η dt

|sφ(t = tφ)| − |sφ(t = 0)| ≤ −η tφ

In this way, noting that |sφ(t = tφ)| = 0, one has

tφ ≤ |sφ(t = 0)|η

which guarantees the attractiveness of the boundary layer.Thus, it follows from Lemma 2 that, for t ≥ 0, states willexponentially converge to the closed region Φ. This ensuresthe boundedness of all closed-loop signals and completes theproof. 2

3 ILLUSTRATIVE EXAMPLE

To demonstrate the improved performance of the adaptivefuzzy sliding mode controller (AFSMC) over the conven-tional sliding mode controller (SMC), consider a dampedDuffing equation subjected to an external disturbance d

x+ 0.2x+ x3 − x = u+ d

According to the previously described scheme, the controllaw should be chosen as follows

u = 0.2x+ x3 − x− d+ xd − λ ˙x−K sat

(

s

φ

)

with K = η + δ + |d| and, for a second order system, s =˙x+ λx.

The simulation studies were performed with an implementa-tion in C, with sampling rates of 500 Hz for control systemand 1 kHz for the Duffing oscillator. The differential equa-tions of the dynamic model were numerically solved with afourth order Runge-Kutta method. The disturbance was cho-sen as d = 0.3 sin(0.4πt) and the other used parameters wereδ = 0.3, η = 0.1, λ = 0.6, φ = 0.02 and γ = 40. Concern-ing the fuzzy system, triangular and trapezoidal membershipfunctions were adopted for Sr, with the central values de-fined as shown in Fig. 1. It is also important to emphasize,that the vector of adjustable parameters was initialized withzero values, D = 0, and updated at each iteration step ac-cording to the adaptation law, equation (11).

Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 123

10−3

x s−0.5−1.0−5.0 5.01.00.5

w

Figure 1: Adopted fuzzy membership functions.

-1.5

-1.0

-0.5

0.0

0.5

1.0

1.5

0 10 20 30 40 50 60

x

t

(a) Tracking performance.

-0.9

-0.6

-0.3

0

0.3

0.6

0.9

0 10 20 30 40 50 60

u

t

(b) Control action.

-0.02

-0.01

0.00

0.01

0.02

0 10 20 30 40 50 60

x~

t

AFSMCSMC

(c) Tracking error.

-0.4

-0.2

0

0.2

0.4

0 10 20 30 40 50 60

d an

d d ^

t

d ^

d

(d) Convergence of d to d.

Figure 2: Tracking of xd = sin(0.1πt) with x(0) = 0.

In order to evaluate the control system performance, two dif-ferent numerical simulations were performed. In the firstcase, it was considered that the initial state coincides withthe initial desired state, x(0) = [x(0), ˙x(0)] = 0. Fig. 2gives the corresponding results for the tracking of xd =sin(0.1πt).

As observed in Fig. 2, even in the presence of external distur-bances, the adaptive fuzzy sliding mode controller (AFSMC)is capable to provide the trajectory tracking with a small as-sociated error and no chattering at all. It can be also verifiedthat the proposed control law provides a smaller tracking er-ror when compared with the conventional sliding mode con-troller (SMC), Fig. 2(c). The improved performance of AF-SMC over SMC is due to its ability to recognize and com-pensate the external disturbances, Fig. 2(d). For purpose ofsimulation, the AFSMC can be easily converted to the clas-sical SMC by setting the adaptation rate to zero, ϕ = 0.

In the second simulation study, the initial state and initial de-sired state are not equal, x(0) = [−0.7,−0.1]. The chosenparameters, as well as the disturbance and the desired tra-jectory, were defined as before. Fig. 3 shows the obtainedresults.

-1.5

-1.0

-0.5

0.0

0.5

1.0

1.5

0 10 20 30 40 50 60

x

t

ObtainedDesired

(a) Tracking performance.

-0.9

-0.6

-0.3

0

0.3

0.6

0.9

0 10 20 30 40 50 60

u

t

(b) Control variable.

Figure 3: Tracking of xd = sin(0.1πt) with x(0) =[−0.7,−0.1].

Despite the external disturbance and the initial error, the AF-SMC allows the Duffing oscillator to track the desired trajec-tory, and, as before, the undesirable chattering effect was notobserved, Fig. 3(b).

The phase portrait associated with the last simulation isshown in Fig. 4(a). For comparison purposes, the phaseportrait obtained with the conventional sliding modes is alsopresented, Fig. 4(b). Note that in both situations the steady-state tracking error remains on the convergence region Φ, butthe improved performance of the AFSMC can be easily ob-served.

4 CONCLUDING REMARKS

In this paper, an adaptive fuzzy sliding mode controller wasdeveloped to deal with uncertain single-input–single-outputnonlinear systems. To enhance the tracking performance in-side the boundary layer, the adopted strategy embedded anadaptive fuzzy algorithm within the sliding mode controllerfor uncertainty/disturbance compensation. The adoption ofthe switching variable s in the premise of the rules, insteadof the state variables, led to a smaller number of fuzzy setsand rules. Using Lyapunov’s direct method and Barbalat’slemma, the boundedness of all closed-loop signals and otherconvergence properties were analytically proven. This resultcorrected flawed conclusions previously reached in the liter-ature. To evaluate the control system performance, the pro-

-0.2

-0.1

0.0

0.1

0.2

0.3

0.4

-0.8 -0.6 -0.4 -0.2 0.0 0.2

dx~ /dt

x~

Φ

x~(0)

(a) With the proposed AFSMC.

-0.2

-0.1

0.0

0.1

0.2

0.3

0.4

-0.8 -0.6 -0.4 -0.2 0.0 0.2

dx~ /dt

x~

Φ

x~(0)

(b) With the conventional SMC.

Figure 4: Phase portrait of the trajectory tracking with x(0) =[−0.7,−0.1].

124 Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010

posed scheme was applied to the damped Duffing equation.Through numerical simulations, the improved performanceover the conventional sliding mode controller was demon-strated.

ACKNOWLEDGEMENTS

The authors acknowledge the support of the State of Riode Janeiro Research Foundation (FAPERJ). Moreover, theauthors would like to thank Prof. Gilberto Oliveira Corrêa(LNCC) for his insightful comments and suggestions.

REFERENCES

Berstecher, R. G., Palm, R. and Unbehauen, H. D. (2001). Anadaptive fuzzy sliding-mode controller, IEEE Transac-tions on Industrial Electronics 48(1): 18–31.

Bessa, W. M., De Paula, A. S. and Savi, M. A. (2007).An adaptive fuzzy sliding mode controller applied toa chaotic pendulum, PhysCon 2007 – Proceedings ofthe 3rd International IEEE Scientific Conference onPhysics and Control, Potsdam, Germany.

Bessa, W. M., Dutra, M. S. and Kreuzer, E. (2007). Adaptivefuzzy sliding mode control of underwater robotic vehi-cles, DINAME 2007 – Proceedings of the XII Interna-tional Symposium on Dynamic Problems of Mechanics,Ilhabela, Brazil.

Bessa, W. M., Dutra, M. S. and Kreuzer, E. (2008). Depthcontrol of remotely operated underwater vehicles usingan adaptive fuzzy sliding mode controller, Robotics andAutonomous Systems 56: 670–677.

Chai, T. and Tong, S. (1999). Fuzzy direct adaptive controlfor a class of nonlinear systems, Fuzzy Sets and Systems103: 379–387.

Chang, W., Park, J. B., Joo, Y. H. and Chen, G. (2002). De-sign of robust fuzzy-model-based controller with slid-ing mode control for SISO nonlinear systems, FuzzySets and Systems 125: 1–22.

Chen, H.-M., Renn, J.-C. and Su, J.-P. (2005). Slid-ing mode control with varying boundary layers for anelectro-hydraulic position servo system, The Interna-tional Journal of Advanced Manufacturing Technology26: 117–123.

Cheng, C.-C. and Chien, S.-H. (2006). Adaptive slidingmode controller design based on T-S fuzzy systemmodel, Automatica 42: 1005–1010.

De Paula, A. S., Savi, M. A. and Bessa, W. M. (2007). Chaoscontrol in a nonlinear pendulum through an adaptive

fuzzy sliding mode based approach, COBEM 2007 –Proceedings of the 19th International Congress of Me-chanical Engineering, Brasília, Brazil.

Filippov, A. F. (1988). Differential Equations with Discon-tinuous Right-hand Sides, Kluwer, Dordrecht.

Ha, Q. P., Nguyen, Q. H., Rye, D. C. and Durrant-Whyte,H. F. (2001). Fuzzy sliding mode controllers with ap-plications, IEEE Transactions on Industrial Electronics48(1): 38–46.

Jang, J.-S. R., Sun, C.-T. and Mizutani, E. (1997). NeuroFuzzy and Soft Computing: A Computational Approachto Learning and Machine Intelligence, Prentice Hall,New Jersey.

Khalil, H. K. (2001). Nonlinear Systems, 3rd edn, PrenticeHall, New Jersey.

Kung, C.-C. and Chen, T.-H. (2005). Observer-based indirectadaptive fuzzy sliding mode control with state variablefilters for unknown nonlinear dynamical systems, FuzzySets and Systems 155: 292–308.

Liang, C.-Y. and Su, J.-P. (2003). A new approach to thedesign of a fuzzy sliding mode controller, Fuzzy Setsand Systems 139: 111–124.

Palm, R. (1994). Robust control by fuzzy sliding mode, Au-tomatica 30: 1429–1437.

Sharaf-Eldin, T., Dunnigan, M. W., Fletcher, J. E. andWilliams, B. W. (1999). Nonlinear robust control ofa vector-controlled synchronous reluctance machine,IEEE Transactions on Power Electronics 114(6): 1111–1121.

Slotine, J.-J. E. (1984). Sliding controller design fornonlinear systems, International Journal of Control40(2): 421–434.

Slotine, J.-J. E. and Li, W. (1991). Applied Nonlinear Con-trol, Prentice Hall, New Jersey.

Su, J.-P., Chen, T.-M. and Wang, C.-C. (2001). Adap-tive fuzzy sliding mode control with ga-based reachinglaws, Fuzzy Sets and Systems 120: 145–158.

Wang, J., Rad, A. B. and Chan, P. T. (2001). Indirect adaptivefuzzy sliding mode control: Part i and ii, Fuzzy Sets andSystems 122: 21–43.

Wang, L.-X. (1993). Stable adaptive fuzzy control of non-linear systems, IEEE Transactions on Fuzzy Systems1(2): 146–155.

Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010 125

Wang, Q. and Su, C.-Y. (2006). Robust adaptive controlof a class of nonlinear systems including actuator hys-teresis with prandt–ishlinskii presentations, Automatica42: 859–867.

Wang, X.-S., Su, C.-Y. and Hong, H. (2004). Robust adap-tive control of a class of nonlinear systems with unknowdead-zone, Automatica 40: 407–413.

Wong, L. K., Leung, F. H. F. and Tam, P. K. S. (2001). Afuzzy sliding controller for nonlinear systems, IEEETransactions on Industrial Electronics 48(1): 32–37.

Wu, T.-Z. and Juang, Y.-T. (2008). Adaptive fuzzy sliding-mode controller of uncertain nonlinear systems, ISATransactions 47: 279–285.

Yoo, B. and Ham, W. (1998). Adaptive fuzzy sliding modecontrol of nonlinear system, IEEE Transactions onFuzzy Systems 6(2): 315–321.

Zhang, D. Q. and Panda, S. K. (1999). Chattering-free andfast-response sliding mode controller, IEE Proceedings– Control Theory and Applications 146(2): 171–177.

Zhang, T.-P. and Yi, Y. (2007). Adaptive fuzzy control for aclass of MIMO nonlinear systems with unknown dead-zones, Acta Automatica Sinica 33(1): 96–99.

126 Revista Controle & Automação/Vol.21 no.2/Março e Abril 2010


Recommended