Fuzzy Sliding Mode Controller Design Using Takagi-Sugeno Modelled Nonlinear Systems

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.


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][2][3][4][5][6]. For a systematic control design of nonlinear systems, the Takagi-Sugeno (T-S) fuzzy model [4,5,[7][8][9][10][11][12] has been a popular choice in industrial processes due to its ability to represent the nonlinear system only for inputoutput 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][14][15][16][17][18], which integrates the sliding mode controller [16,[19][20][21][22][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][25][26][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 largescale 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.

Preliminaries
Consider the th-order nonlinear dynamical system of the form: is vector of the system that is assumed to be available for measurements, and are unknown but bounded nonlinear functions, ∈ and ∈ control input and output of the system, respectively, and is external disturbance. As system (1) is required to be controllable, the nonzero condition of input gain (x) ̸ = 0 is necessary. The system (1) can be rewritten in the following form: By adding to both sides, we get Equation (3) can be rewritten as such that Assumption 1 (see [29,30]). Assume that (x), (x), and satisfy | (x)| ≤ < ∞, 0 < min ≤ (x) ≤ max < ∞, and | | ≤ , respectively, for all x ∈ U x ⊂ R . Where , min , max , and are known constants. The control problem is to force the system output to follow a given bounded reference signal .
Define the tracking error as

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 : IF 1 is 1 and ⋅ ⋅ ⋅ and is , where are fuzzy sets and = [ 0 , 1 , . . . , ] is a vector of the adjustable factors on the consequence part of the fuzzy rule, and the input vector x = [1, 1 , . . . , ] ∈ . Let = 1, 2, . . . , denote the number of input for fuzzy logic system, and let = 1, 2, . . . , 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 where ( ) is the membership function value of the fuzzy variable and ∏ =1 ( ) is the true value of the rth implication. Equation (8) can be rewritten as where = [ 1 , 2 , . . . , ] is an adjustable parameter vector, is a fuzzy basis function vector in which, (x), = 1, 2, . . . , , 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 (x), (x), they can be approximated by where and are the fuzzy approximations and * , and * are optimal weight vectors. And whose estimates are given by

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 , to guarantee the validity of the control law.
If we consider the system given by (4), the sliding surface can be defined by The elements of the sliding surface are chosen such that the polynomial −1 −1 + −2 −2 + ⋅ ⋅ ⋅ + 0 is strictly Hurwitz [32] (here denotes the complex Laplace transform variable).
We propose to choose " " as follows [33]: where is a given positive scalar, and is positive constant low value.
Note that / 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 where is the th derivative of the system, and A = [ Assumption 2. Let x belong to a compact set Ω . The optimal weight vectors * and * are defined as * = arg min And define the constraint sets that the parameters concerned belong to where and are design parameters.
We assume that̂,̂, and never reach the boundaries Ω , Ω , and Ω . We can define the minimum approximation errors as It is assumed that minimum approximation errors are bounded for all ∈ Ω : 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 (x/̂) and (x/̂) 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 where is a strictly positive constant, and̂,̂are estimates of , , and 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 Then, the desired tracking performance can be achieved as 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 Defining the parameters errors̃=̂− * ,̃=̂− * . We choose the Lyapunov function candidate as follows: where , , , and are positive constants. The time derivative of (24) can be obtained as follows: Integrating both sides of (28), we have ∫ As (0) is bounded and also 0 ≤ (∞) ≤ (0) from (28), ∫ ∞ 0 | | is also bounded from (29). Using Barbalat's lemma, [19,34] From the moment where the sliding surface is designed and constructed to be attractive, we can also see that lim → ∞ = 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].

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.
The dynamic equations of such a system are given by where where 1 is the angular position (rad), 2 is the angular velocity (rad/s), 3 is the angular acceleration (rad/s 2 ), ( ) is the applied force (control signal) (N), and is the external disturbance. The simulation parameters are given in Table 1. According to (30), we choose the sliding surface as = (2) + 2 (1) + 1 . The following parameters are chosen so that  the characteristic function of the surface is the negative real part To construct two fuzzy logic systems, (x/̂) and (x/̂) as given in (12) This interval will be sufficiently covered by three membership functions for position, velocity, and angular acceleration. Then, we have 27 rules.
The control objective is to maintain the system to track the desired angle trajectory, = sin( ), and to test the proposed control, we introduced parametric variations and external disturbances given by Δ = 0.1 sin( ), = 0.125 × sin(2 ), 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. 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.

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.