Adaptive fuzzy sliding mode controller for a class of uncertain nonlinear systems is proposed in this paper. The unknown system dynamics and upper bounds of the minimum approximation errors are adaptively updated with stabilizing adaptive laws. The closed-loop system driven by the proposed controllers is shown to be stable with all the adaptation parameters being bounded. The performance and stability of the proposed control system are achieved analytically using the Lyapunov stability theory. Simulations show that the proposed controller performs well and exhibits good performance.
1. Introduction
Recent research on fuzzy logic control has, therefore, been devoted to model based fuzzy control systems that guarantee not only stability, but also performance of closed-loop fuzzy control systems [1–6]. For a systematic control design of nonlinear systems, the Takagi-Sugeno (T-S) fuzzy model [4, 5, 7–12] has been a popular choice in industrial processes due to its ability to represent the nonlinear system only for input-output data without complex mathematical equations.
In an effort to improve the robustness of the adaptive fuzzy control system, many works have been published on the design of adaptive fuzzy sliding mode controller [13–18], which integrates the sliding mode controller [16, 19–23] design technique into the adaptive fuzzy control to improve the stability and the robustness of the control system. Conventionally, adaptive fuzzy sliding control systems (AFSCSs) design is based on the assumption that the system states are available for measurement, so the adaptive laws of AFSCS are formulated as functions of the tracking error of the system [21, 24–27].
However, some problems on the algorithm convergence and conditions stabilities remain with no response. To resolve this problem, first is the need for accurate information on the evolution of the system in the state space, upper bounds of uncertainties and disturbances. The second is the knowledge of the upper bound of the minimum approximation error. We know that the uncertain nature of nonlinear systems makes it difficult to have an analytical description of the dynamics of the system. Moreover, the knowledge of the upper bound of the minimum approximation error leaves the control law still restrictive. In the further study involving a perturbed large-scale system with a time-varying interconnection, an adaptive algorithm for estimating an uncertain upper bound based on a variable sliding control frame was proposed in [28].
In this note, based on the variable surface, a fuzzy sliding model controller is developed for guaranteeing the tracking performance, in particular, time-varying uncertain parameters are approximated by fuzzy system, and the adaptive sliding mode control is designed so as to compensate for any unknown reconstruction error, through parameter adaptation law. In this way, the actual system can follow the reference signal even in the event of a hard nonlinearity, and fuzzy sliding mode control gives the unknown upper bound of uncertainties that are adaptively updated with stabilizing adaptive laws. It is proved that the closed-loop system is globally stable in the Lyapunov sense if the signals involved are bounded and the system output can track the desired reference input asymptotically.
This paper is organized as follows: some preliminaries are provided in Section 2. Following the introduction, the fuzzy logic system is reviewed briefly in Section 3. The design and stability analysis for the proposed adaptive fuzzy sliding mode controller is included in Section 4. Simulation examples to demonstrate the performance of the proposed method are provided in Section 5. Finally, in Section 6, we give a brief conclusion.
2. Preliminaries
Consider the nth-order nonlinear dynamical system of the form:
(1)xn=f(x)+g(x)u+ds,y=x,
where x=[x,x˙,…,xn-1]T=[x1,x2,…,xn]T∈Rn is vector of the system that is assumed to be available for measurements, f and g are unknown but bounded nonlinear functions, u∈R and y∈R control input and output of the system, respectively, and ds is external disturbance. As system (1) is required to be controllable, the nonzero condition of input gain g(x)≠0 is necessary.
The system (1) can be rewritten in the following form:
(2)0=-g-1(x)xn+g-1(x)f(x)+u+g-1(x)ds.
By adding xn to both sides, we get
(3)xn=xn-g-1(x)xn+g-1(x)f(x)+u+g-1(x)ds.
Equation (3) can be rewritten as
(4)xn=F(x)+u+d(x)
such that
(5)F(x)=(1-g-1(x))xn+g-1(x)f(x),d(x)=g-1(x)ds.
Assumption 1 (see [29, 30]).
Assume that f(x),g(x), and ds satisfy |f(x)|≤μ<∞, 0<gmin≤g(x)≤gmax<∞, and |d|≤κ, respectively, for all x∈Ux⊂Rn.
Where μ, gmin, gmax, and κ are known constants. The control problem is to force the system output y to follow a given bounded reference signal yd.
Define the tracking error as
(6)e=yd-y.
3. Takagi-Sugeno (T-S) Fuzzy Model
Fuzzy logic systems address the imprecision of the input and output variables directly by defining them with fuzzy numbers (and fuzzy sets) that can be expressed in linguistic terms. The basic configuration of the Takagi and Sugeno [5, 8, 31] system includes a rule base, which consists of a collection of fuzzy IF-THEN rules in the following form:
Plant Rule r:
IF x1 is B1r and ⋯ and xn is Bnr,
(7)THENyr=a0r+a1rx1+⋯+anrxn=θrTx,
where Bir are fuzzy sets and θrT=[a0r,a1r,…,anr] is a vector of the adjustable factors on the consequence part of the fuzzy rule, and the input vector x=[1,x1,…,xn]∈Rn. Let i=1,2,…,n denote the number of input for fuzzy logic system, and let r=1,2,…,m denote the number of the fuzzy IF-THEN rules. By using the singleton fuzzification, product inference and centre average defuzzication, the output value of the fuzzy system is
(8)y(x)=∑r=1myr(∏i=1nμBir(xi))∑r=1m(∏i=1nμBir(xi)),
where μBir(xi) is the membership function value of the fuzzy variable xi and ∏i=1nμBir(xi) is the true value of the rth implication. Equation (8) can be rewritten as
(9)y(x)=θTξ(x),
where θT=[θ1T,θ2T,…,θm] is an adjustable parameter vector, ξ(x)T=[ξ1(x),…,ξm(x)] is a fuzzy basis function vector in which, ξr(x), r=1,2,…,m,
(10)ξr(x)=∏i=1nμBir(xi)∑r=1m∏i=1nμBir(xi).
The aforementioned fuzzy system has been shown to be capable of universally approximating well-defined functions over a compact set to arbitrary degree of accuracy. For smooth nonlinear functions F(x), d(x), they can be approximated by
(11)F(x)=θf*TΨ(x)+ε,d(x)=θd*TΞ(x)+σ,
where ε and σ are the fuzzy approximations and θf*, and θd* are optimal weight vectors.
And whose estimates are given by
(12)F(xθ^f)=θ^fTΨ(x),d(xθ^d)=θ^dTΞ(x).
4. Adaptive Fuzzy Sliding Mode Controller Design
In this section, a systematic methodology is presented for the design of stable adaptive fuzzy sliding mode controller, the control law and the weight adaptation rules are developed, guaranteeing the uniform ultimate boundedness of the tracking error with respect to an arbitrary small set around the origin. Additionally, the boundedness of all signals involved in the closed-loop configuration is ensured. The resetting scheme is introduced, performing on the weight estimates θf, θd to guarantee the validity of the control law.
If we consider the system given by (4), the sliding surface can be defined by
(13)S=an-1e+⋯+a1en-2+en-1.
The elements of the sliding surface are chosen such that the polynomial an-1pn-1+an-2pn-2+⋯+a0 is strictly Hurwitz [32] (here p denotes the complex Laplace transform variable).
We propose to choose “a” as follows [33]:
(14)ai=Mi|en-1-i|+ηi;i=1,…,n-1,
where Mi is a given positive scalar, and ηi is positive constant low value.
Note that M/η represents the slope of sliding along the surface when it is reached by the system.
By using the tracking error defined by (6), the time derivative of (13) is
(15)S˙=∑i=1n-1an-iei+∑i=1n-1a˙n-iei-1+en,S˙=ydn-yn+∑i=1n-1an-iei+∑i=1n-1a˙n-iei-1=ydn-F(x)-u-d(x)+∑i=1n-1an-iei+∑i=1n-1a˙n-iei-1=ydn-F(x)-u-d(x)+Ae,
where n is the nth derivative of the system, and A=[a˙n-1,an-1,a˙n-2,…,a˙1,a1], e=[e,…,en-3;en-2,en-2;en-1]T.
Assumption 2.
Let x belong to a compact set Ωx. The optimal weight vectors θf* and θd* are defined as
(16)θf*=arg minθ^f∈Ωf[supx∈Ωx[F(xθ^f)-F(x)]],θd*=arg minθ^d∈Ωd[supx∈Ωx[d(xθ^d)-d(x)]].
And define the constraint sets that the parameters concerned belong to
(17)Ωf={θf∣∥θf∥≤Mf},Ωd={θd∣∥θd∥≤Md},
where Mf and Mg are design parameters.
We assume that θ^f, θ^d, and x never reach the boundaries Ωf, Ωd, and Ωx. We can define the minimum approximation errors as
(18)ε=F(x)-F(xθf*),σ=d(x)-d(xθd*).
It is assumed that minimum approximation errors are bounded for all x∈Ωx:
(19)|ε|≤ε-,|σ|≤σ-,∀x∈Ωx.
The upper bound ε-, σ- can be reduced arbitrarily. But this choice is not always easy, that is our aim in this work to estimate them by adaptive laws, which guarantee the stability of the closed loop system.
The role of the fuzzy systems F(x/θ^f) and d(x/θ^d) is to represent the unknown functions using the input-output measurement of the target system. Also, a corrective controller is defined to guarantee the stability of the closed-loop control system and compensate the approximation errors. A direct adaptive control law can be chosen as
(20)u=(|F(xθ^f)|+|d(xθ^d)|+ydn+λ+Ae+ε-^+σ-^)sgn(S),
where λ is a strictly positive constant, and ε-^, σ-^ are estimates of ε-,σ-, and
(21)sgn(S)={1ifS>00ifS=0-1ifS<0.
Theorem 1.
Consider the nonlinear system described by (4), and suppose that Assumptions 1 and 2 are satisfied. The control law is provided by (20), and the parameters adaptation laws are given by
(22)θ^˙f=γfΨf(x)S,θ^˙d=γdΞd(x)S,ε-^˙=Sγε,σ-^˙=Sγσ.
Then, the desired tracking performance can be achieved as S becomes asymptotically stable and all adaptation parameters remain bounded.
Proof.
Taking into account the minimum approximation errors (18) and control law (20), the sliding surface (15) can be rewritten as
(23)S˙=ydn-(|F(xθ^f)|+|d(xθ^d)|aaaaaa+ydn+l+Ae+e-^+s-^|F(xθ^f)|)sgn(S)-F(x)-d(x)+Ae.
Defining the parameters errors θ~f=θ^f-θf*, θ~d=θ^d-θd*.
We choose the Lyapunov function candidate as follows:
(24)V=12S2+12γfθ^fTθ^f+12γdθ^dTθ^d+12γee-^2+12γss-^2ε-~=ε--ε-^,σ-~=σ--σ-^,
where γf, γd, γε, and γσ are positive constants. The time derivative of (24) can be obtained as follows:
(25)V˙=SS˙+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙=S(ydn-F(x)-(|F(xθ^f)|+|d(xθ^d)|+ydn+λ+Aeaaaaaaaaaaaaaa+ε-^+σ-^|F(xθ^f)|)sgn(S)-d(x)+Ae)+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙≤|S||Ae|+|S|ydn-S(|F(xθ^f)|+|d(xθ^d)|+y¨daaaaaaaaaaaaaaaaaaa+λ+Ae+ε-^+σ-^|F(xθ^f)|)sgn(S)-SF(x)-Sd(x)+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙=-λ|S|-|S||F(xθ^f)|-|S||d(xθ^d)|-|S|ε-^-|S|σ-^-SF(x)-Sd(x)+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙=-λ|S|-|S||F(xθ^f)|-|S||d(xθ^d)|-|S|ε-^-|S|σ-^-S(F(xθf*)+ε)-S(d(xθd*)+σ)+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙≤-λ|S|-|S||F(xθ^f)|-|S||d(xθ^d)|-|S|ε-^-|S|σ-^+|S||F(xθ^f)|-|S||d(xθ^d)|-Sθ~fΨ(x)-Sθ~dΞ(x)+|S|ε-+|S|σ-+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙=-λ|S|-Sθ~fΨ(x)-Sθ~dΞ(x)+|S|ε-~+|S|σ-~+1γfθ~fTθ~˙f+1γdθ~dTθ~˙d+1γεε-~ε-~˙+1γσσ-~σ-~˙=-λ|S|+θ~fT(-SΨf(x)+1γfθ~˙f)+θ~dT(-SΞd(x)u+1γdθ~˙d)+ε-~(S+1γεε-~˙)+σ-~(S+1γdσ-~˙).
Choosing a fuzzy rule adaptive method as
(26)θ~˙f=γfΨf(x)S,θ~˙g=γdΞd(x)S,ε-~˙=-Sγε,σ-~˙=-Sγσ
or equivalently, by definition
(27)θ^˙f=γfΨf(x)S,θ^˙g=γdΞd(x)S,ε-^˙=Sγε,σ-^˙=Sγσ
yields
(28)V˙=-λ|S|.
Integrating both sides of (28), we have ∫0∞V˙dt≤-∫0∞(1/2)|S|dt, and thus, the following equation holds:
(29)∫0∞|S|dt≤2(V(0)-V(∞)).
As V(0) is bounded and also 0≤V(∞)≤V(0) from (28), ∫0∞|S|dt is also bounded from (29). Using Barbalat’s lemma, [19, 34] |S|→0 for t→∞.
From the moment where the sliding surface is designed and constructed to be attractive, we can also see that limt→∞e=0. Therefore, the closed-loop system is asymptotically stable and the position tracking objective is achieved. The modified projection adaptive laws are given in [7].
5. Simulation Example
We illustrate the validity of the design approach by an example of robot arm tracking control with a single degree of freedom as Figure 1 shows.
Robot arm.
The dynamic equations of such a system are given by
(30)x(3)=f(x)+g(x)u+d,y=x,
where
(31)f(x)=-rLx3-(glcos(x1)+KbN2KtLml2)x2-rgLlsin(x1),g(x)=KtNLml2,x=[x1,x2,x3]T,
where x1 is the angular position (rad), x2 is the angular velocity (rad/s), x3 is the angular acceleration (rad/s²), u(t) is the applied force (control signal) (N), and d is the external disturbance. The simulation parameters are given in Table 1.
Simulation parameters.
Mass of the pole
m=5 kg
The half-length of the pole
l=0.5 m
The acceleration due to gravity
G=9.8
Resistance
r=1.5
Inductance
L=0.5
Electromotive force constant
Kb=0.2
Constant torque motor
Kt=0.3
Reduction ratio
N=60
According to (30), we choose the sliding surface as S=e(2)+a2e(1)+a1e. The following parameters are chosen so that the characteristic function of the surface is the negative real part
(32)M1=8,η1=1,M2=15η2=1.
To construct two fuzzy logic systems, F(x/θ^f) and d(x/θ^d) as given in (12), the initial consequent parameters of fuzzy rules are chosen randomly in the interval [-1.2,1.2]. The initial values of x are given as [000]T.
This interval will be sufficiently covered by three membership functions for position, velocity, and angular acceleration. Then, we have 27 rules.
Let the learning rate γf=0.05, γd=20, γε=100, γσ=500, kd=6, and M=40.
The control objective is to maintain the system to track the desired angle trajectory, yd=sin(t), and to test the proposed control, we introduced parametric variations and external disturbances given by Δm=0.1sin(x), d=0.125×sin(2t), respectively.
Figures 2–5 show the simulation results obtained in the case where the system is subjected to external disturbances and parametric variations. Figures 2, 3, and 4 show the rapid convergence of the system output to the reference signal. In Figure 5, we can see that the control signal is smooth and that the actual and desired trajectories are superposed, after a short transitional arrangement whereby the error is significant between the two outputs, this is due to disturbances, initial conditions, and initialization of adjustable parameters.
Trajectories of the state x1(t) of tracking control of the desired yd(t) for the robot arms.
Trajectories of the state x2(t) of tracking control of the desired yd˙(t) for the robot arm.
Trajectories of the state x3(t) of tracking control of the desired y¨d(t) for the robot arm.
Trajectories of the control input u(t) of the tracking control for robot arm.
Figures 2–4 show that the effect of parametric perturbations is negligible, with less stress to the control level despite greater external disturbances. Similarly, the results obtained in [35] show that the tracking error is about 8% whereas it is less than 2, 5% in our case.
It can be seen in Figures 2–5 that the advantage of our controller is its ability to eliminate the effect of fluctuations in the transient response with less effort on the control law; moreover, an estimation of the upper bound of error is performed without needing their prior knowledge, which allows the control law to be less restrictive regarding the conditions of stability.
6. Conclusion
In this paper, the output tracking control problem has been considered for a class of uncertain nonlinear systems. The unknown functions in systems are not linearly parameterized and have no a priori knowledge of the bounded functions. Fuzzy logic systems are used to approximate these unknown nonlinear functions. By sliding mode design technique, the adaptive fuzzy tracking control scheme has been developed for nonlinear systems. The proposed controllers guarantee that the outputs of the closed-loop system follow the reference signals, and achieve uniform ultimate boundedness of all the signals in the closed-loop system. It is proved in theory and shown in simulation that the closed-loop system is stable and the output tracks the given reference signal satisfactorily. Future work will deal with the delay systems in the type 2 fuzzy systems taking into account uncertainties and a novel nonlinearity sliding mode surface and an application to a real process.
BououdenS.FilaliS.KemihK.Adaptive fuzzy tracking control for unknown nonlinear systems2010625415492-s2.0-77649297635ChadliM.El HajjajiA.observer-based robust fuzzy control of nonlinear systems with parametric uncertainties20061579127612812-s2.0-3364506426210.1016/j.fss.2005.09.004ZBL1090.93022ChadliM.On the stability analysis of uncertain fuzzy models2006842242312-s2.0-33846806018LiuY. J.WangW.TongS. C.LiuY. S.Robust adaptive tracking control for nonlinear systems based on bounds of fuzzy approximation parameters20104011701842-s2.0-7294908905110.1109/TSMCA.2009.2030164TanakaK.OhtakeH.WangH. O.A descriptor system approach to fuzzy control system design via fuzzy Lyapunov functions20071533333412-s2.0-3425084115010.1109/TFUZZ.2006.880005WuL.SuX.ShiP.QiuJ.Model approximation for discrete-time state-delay systems in the TS fuzzy framework20111923663782-s2.0-7995364472410.1109/TFUZZ.2011.2104363ChangY. C.Robust tracking control for nonlinear MIMO systems via fuzzy approaches20003610153515452-s2.0-000053788810.1016/S0005-1098(00)00083-2ZBL0967.93060ChienY. H.WangW. Y.LeuY. G.LeeT. T.Robust adaptive controller design for a class of uncertain nonlinear systems using online T-S fuzzy-neural modeling approach20114125425522-s2.0-7995289869010.1109/TSMCB.2010.2065801KrsticM.KanellakopoulosI.KoktovicP.1995New York, NY, USAWileyZhangX.WangC.LiD.ZhouX.YangD.Robust stability of impulsive Takagi-Sugeno fuzzy systems with parametric uncertainties2011181235278529010.1016/j.ins.2011.07.0162842885ZBL1239.93065YangR.ZhangZ.ShiP.Exponential stability on stochastic neural networks with discrete interval and distributed delays20102111691752-s2.0-7394911153110.1109/TNN.2009.2036610WuL.SuX.ShiP.QiuJ.A new approach to stability analysis and stabilization of discrete-time T-S fuzzy time-varying delay systems20114112732862-s2.0-7955168884610.1109/TSMCB.2010.2051541IslamS.LiuX. P.Robust sliding mode control for robot manipulators2011586244424532-s2.0-7995627222210.1109/TIE.2010.2062472KungC. C.ChenT. H.Observer-based indirect adaptive fuzzy sliding mode control with state variable filters for unknown nonlinear dynamical systems200515522923082-s2.0-2384453385310.1016/j.fss.2005.04.016ZBL1140.93411KuoT. C.HuangY. J.ChangS. H.Sliding mode control with self-tuning law for uncertain nonlinear systems20084721711782-s2.0-3964912304010.1016/j.isatra.2007.10.001OliveiraT. R.PeixotoA. J.HsuL.Sliding mode control of uncertain multivariable nonlinear systems with unknown control direction via switching and monitoring function2010554102810342-s2.0-7795080842110.1109/TAC.2010.2041986UtkinV. I.1978Moscow, RussiaMIR PublishersWangW. Y.ChanM. L.HsuC. C. J.LeeT. T.H∞ tracking-based sliding mode control for uncertain nonlinear systems via an adaptive fuzzy-neural approach20023244834922-s2.0-003668373210.1109/TSMCB.2002.1018767FeiJ.BaturC.A novel adaptive sliding mode control with application to MEMS gyroscope200948173782-s2.0-5754908904710.1016/j.isatra.2008.10.008HuangY. J.KuoT. C.ChangS. H.Adaptive sliding-mode control for nonlinear systems with uncertain parameters20083825345392-s2.0-4164909162110.1109/TSMCB.2007.910740NekoukarV.ErfanianA.Adaptive fuzzy terminal sliding mode control for a class of MIMO uncertain nonlinear systems2011179134492-s2.0-7995997194710.1016/j.fss.2011.05.009ZBL1235.93145XiZ.FengG.HeskethT.Piecewise integral sliding-mode control for TS fuzzy systems201119165742-s2.0-7955165176510.1109/TFUZZ.2010.2082553YueM.SunW.HuP.Sliding mode robust control for two-wheeled mobile robot with lower center of gravity2011726376462-s2.0-79251494733LinT. C.ChenM. C.Adaptive hybrid type-2 intelligent sliding mode control for uncertain nonlinear multivariable dynamical systems2011171144712-s2.0-7995245288810.1016/j.fss.2010.11.006ZBL1221.93046ZhangJ.ShiP.XiaY.Robust adaptive sliding-mode control for fuzzy systems with mismatched uncertainties20101847007112-s2.0-7795548658710.1109/TFUZZ.2010.2047506HeZ.WuJ.SunG.GaoC.State estimation and sliding mode control of uncertain switched hybrid systems201281071437156LinT. C.ChangS. W.HsuC. H.Robust adaptive fuzzy sliding mode control for a class of uncertain discrete-time nonlinear systems201281347359DemetriouM. A.RosenI. G.Variable structure model reference adaptive control of parabolic distributed parameter systemsProceedings of the American Control ConferenceMay 2002437143762-s2.0-0036061263WangL. X.1997Englewood Cliffs, NJ, USAPrentice-HallWangC. H.LiuH. L.LinT. C.Direct adaptive fuzzy-neural control with state observer and supervisory controller for unknown nonlinear dynamical systems200210139492-s2.0-003647592910.1109/91.983277SalaA.GuerraT. M.BabuškaR.Perspectives of fuzzy systems and control200515634324442-s2.0-2694449718610.1016/j.fss.2005.05.041ZBL1082.93030WangJ.HuJ.Robust adaptive neural control for a class of uncertain non-linear time-delay systems with unknown dead-zone non-linearity20115151782179510.1049/iet-cta.2010.06332884854LiuZ. L.Reinforcement adaptive fuzzy control of wing rock phenomena200515266156202-s2.0-3374454481310.1049/ip-cta:20045072SlotineJ. E.LiW.1991Upper Saddle River, NJ, USAPrentice-HallLinF. J.ShiehP. H.HungY. C.An intelligent control for linear ultrasonic motor using interval type-2 fuzzy neural network20082132412-s2.0-3864913877410.1049/iet-epa:20070060