- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Mathematical Problems in Engineering
Volume 2008 (2008), Article ID 325859, 16 pages
GA-Based Fuzzy Sliding Mode Controller for Nonlinear Systems
1Department of Civil Engineering, National Central University, Chung-li 32011, Taiwan
2Department of Logistics Management, College of Management, Shu-Te University, Kaohsiung 82445, Taiwan
Received 20 February 2008; Revised 4 June 2008; Accepted 8 August 2008
Academic Editor: Paulo Gonçalves
Copyright © 2008 P. C. Chen et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Generally, the greatest difficulty encountered when designing a fuzzy sliding mode controller (FSMC) or an adaptive fuzzy sliding mode controller (AFSMC) capable of rapidly and efficiently controlling complex and nonlinear systems is how to select the most appropriate initial values for the parameter vector. In this paper, we describe a method of stability analysis for a GA-based reference adaptive fuzzy sliding model controller capable of handling these types of problems for a nonlinear system. First, we approximate and describe an uncertain and nonlinear plant for the tracking of a reference trajectory via a fuzzy model incorporating fuzzy logic control rules. Next, the initial values of the consequent parameter vector are decided via a genetic algorithm. After this, an adaptive fuzzy sliding model controller, designed to simultaneously stabilize and control the system, is derived. The stability of the nonlinear system is ensured by the derivation of the stability criterion based upon Lyapunov's direct method. Finally, an example, a numerical simulation, is provided to demonstrate the control methodology.
Over the past few years, fuzzy control (FC) can be designed without needing an exact mathematical model of the system to be controlled, and can efficiently control complex continuous unmodeled or partially modeled processes [1, 2]. There have been significant research efforts devoted to the analysis and control designs for fuzzy systems (see [3, 4] and the references therein). The main motivation for this development has been applied to practical nonlinear systems and engineering problems (see [5–7] and the references therein). Undoubtedly, Lyapunov’s theory is one of the most common approaches for dealing with the stability analysis of systems. However, to overcome the conservatism that arises from the use of Lyapunov’s methods, it has been necessary to develop a number of more effective methods, for example, fuzzy Lyapunov functions [8, 9]. There are also many important issues that have advanced results for T-S fuzzy control systems, such as time delays [10–13], performance [3–15], robustness [16, 17], neural networks (NNs), and genetic algorithms (GAs) [18–21]. Furthermore, much work has been published on the design of fuzzy sliding mode controllers (FSMCs) [22, 23]. An FSMC is composed of an FC and a sliding mode controller (SMC) [24–26]. An FSMC is a powerful and robust control strategy for the treatment of modeling uncertainties and external disturbances. Although control performance is good, one still has to decide on the parameters. This is one of the most important issues in their design.
In the so-called adaptive FSMC (AFSMC), [27–29], an adaptive algorithm is utilized to find the best high-performance parameters for the FSMC [30, 31]. In recent years, adaptive fuzzy control system designs have attracted a good deal of attention as a promising way to approach nonlinear control problems [30, 31]. For adaptive fuzzy control, one initially constructs a fuzzy model to describe the dynamic characteristics of the controlled system; then, an FSMC is designed based on the fuzzy model to achieve the control objectives. After this, adaptive laws are designed (with Lyapunov’s synthesis approach) for tuning the adjustable parameters of the fuzzy models, and analyzing the stability of the overall system.
Deciding on the fuzzy rules and the initial parameter vector values for the AFSMC is very important. A genetic algorithm [32–34] is usually used as an optimization technique in the self-learning or training strategy for deciding on the fuzzy control rules and the initial values of the parameter vector. This GA-based AFSMC should improve the immediate response, the stability, and the robustness of the control system.
Another common problem encountered when switching the control input of the FSMC system is the so-called “chattering” phenomenon. Chattering is eliminated by smoothing the control discontinuity inside a thin boundary layer, which essentially acts as a low-pass filter structure for the local dynamics . The boundary-layer function is introduced into these updated laws to cover parameter and modeling errors, and to guarantee that the state errors converge within a specified error bound.
In this study, we focus on the design of robust tracking control for a class of nonlinear uncertain system involving plant uncertainties and external disturbances. First, the nonlinear system for the tracking of a reference trajectory for the plant  is described via fuzzy models with fuzzy rules. A genetic algorithm is used to find the initial values of the parameter vector. Then the designed adaptive control laws of the reference adaptive fuzzy sliding mode controller (RAFSMC) are updated. This GA-based RAFSMC would improve the immediate response, the stability, and the robustness of the control system. Finally, both the tracking error and the modeling error approach zero.
2. Reference Modeling of a Nonlinear Dynamic System
The plant is a single-input/single-out th-order system with : where is the state vector of the system; is the control signal; , are smooth nonlinear functions; denotes the external disturbance which is unknown but usually bounded.
The states are assumed to be available. For example, a single robot can be represented in the form of (2.1), with and being measurable. Differentiating the output with respect to time for times (till the control input appears), one obtains the input/output form of (2.1): The system is said to have a relative degree , if is bounded away from zero.
Assumption 2.1. g(x) is bounded away from zero over a
compact set ,
If the control goal is for the plant output to track a reference trajectory , the reference control input can be defined by the following reference model: where are chosen such that the polynomial is Hurwitz, and here denotes the complex Laplace variable.
If , are known, and assumption 2.1 is satisfied, the control law can defined by
If we define as the tracking error, then the reference control input (2.4) results in the following error equation:
It is clear that e will approach zero if are chosen, such that the polynomial is Hurwitz.
3. Development of a GA-Based FSMC
In general, people describe the decision-making process using linguistic statements, such as “IF something happens, THEN do a certain action.” For example, let us look at a rule: “IF the temperature is high, THEN the power of the heater is low.” In this statement both “high” and “low” are linguistic terms. Although this kind of linguistic rule is not precise, humans can use them to make correct decisions. To utilize such fuzzy information in a scientific way, mathematical representation of the fuzzy information is needed. Fuzzy set theory and approximate reasoning are two ways that such linguistic information can be dealt with mathematically. A review of the literature provides the theoretical foundation for the developed fuzzy logic controller. The configuration of the fuzzy logic controller is shown in Figure 1.
The basic concepts for fuzzy sets and fuzzy logic are briefly described below.
(1) Fuzzy set, fuzzifier, and membership function. Let denote the universe of discourse. A fuzzy set in is characterized by a membership function , with representing the grade of membership of in fuzzy set . For example, the Gaussian-shaped membership function is represented as , where is the center and denotes the spread of the membership function.
(2) Fuzzy rule base and fuzzy inference engine. Each rule in the fuzzy rule base can be expressed as
(3) Deffuzzifier. The defuzzifier maps a fuzzy set in to a crisp point . There are several defuzzification methods described in the literature. The most popular is the weighted average defuzzification method defined as .
The FSMC is composed of a sliding mode controller and an FLC. This makes it a powerful and robust control strategy for the treatment of modeling uncertainties and external disturbances. The sliding mode plant combined with the FLC is shown in Figure 2.
Genetic algorithms (GAs) are parallel, global search techniques derived from the concepts of evolutionary theory and natural genetics. They emulate biological evolution by means of genetic operations such as reproduction, crossover, and mutation. GAs are usually used as optimization techniques and it has been shown that they also perform well with multimodal functions (i.e., functions which have multiple local optima).
Genetic algorithms work with a set of artificial elements (binary strings, e.g., ) called a population. An individual (string) is referred to as a chromosome, and a single bit in the string is called a gene. A new population (called offspring) is generated by the application of genetic operators to the chromosomes in the old population (called parents). Each iteration of the genetic operation is referred to as a generation.
A fitness function, specifically the function to be maximized, is used to evaluate the fitness of an individual. The offspring may have better fitness than their parents. Consequently, the value of the fitness function increases from generation to generation. In most genetic algorithms, mutation is a random-work mechanism to avoid the problem of being trapped in a local optimum. Theoretically, a global optimal solution can be found.
Offspring are generated from the parents until the size of the new population is equal to that of the old population. This evolutionary procedure continues until the fitness reaches the desired specifications. However, in a specific application, the fitness specification might be used to stop the evolutionary process. In most applications, the optimal fitness value is totally unknown. In this case, the evolutionary process is interrupted either by stabilization of the fitness value (the variation is below a specific value) or by reaching the maximum number of generations.
Knowledge acquisition is the most important task in the fuzzy sliding mode controller design. The initial values of the entries in the consequent parameter vector are decided by the self-organizing of FSMC system which developed based on GA. The configuration of this system is shown in Figure 3.
The learning procedure for the GA-based FSMC is summarized as follows.
(1) The fuzzy rule base of FSMC (with fixed premise parts and random consequence parts) is constructed. For example, FSMC for system (2.1): where is an unknown linguistic label for the control ; is the adjustable parameter, which have to be encoded as binary strings for genetic operations.
(2) Encode each parameter, (), to a -bit binary code, , where and denote the encoding operator which encodes the real values to the corresponding binary codes and synthesizes the chromosome of the th individual.
(3) Establish the population for generation , , where is the population size, and every individual corresponds to a binary-code parameter of an FSMC candidate.
(4) Evaluate the fitness value of each individual. The fitness function F is defined as , where denotes the iteration instance; is the sampling period; is the rounding off operator; and are positive weights; is a very small positive constant used to avoid the numerical error of dividing by zero.
(5) Based on the fitness value of the individual, keep the best and apply the genetic operators. Assuming that the population size is 12, pick the top ten-fitted individuals in to apply as genetic operators, that is, reproduction, crossover, mutation (assuming the mutation rate is 0.03125), and keep the top two fitted individuals to generate a new population , as the offspring of .
(6) Decode each binary code to its real value and use this to calculate the control , then apply to the system (2.1).
(7) Set ; go to Step 2, and repeat the aforementioned procedure until or , where and H denote an acceptable specific fitness value and the top generation number, respectively, as specified by the designer.
In general, there are at least four methods for the construction of a fuzzy rule base: (1) from expert knowledge or operator experience; (2) modeling an operator’s control action; (3) modeling a process; (4) generating fuzzy rules by training, self-organizing, and self-learning algorithms. In Figure 3, GA is used as the learning and training mechanism. The use of the GA means that the second, third, and fourth approaches also provide an efficient way to obtain a fuzzy rule base. Although there are several methods that can provide excellent results in this kind of modeling [36–38], we are convinced that GAs are the most advantageous way to extract an optimal, or at least suboptimal fuzzy rule base for the initial values of the consequent parameter vector of the FSMC or AFSMC.
4. GA-Based RAFSMC for Nonlinear Systems
A schematic representation of the GA_RAFSMC system is shown in Figure 4. If , are known, we can design the FLC (4.1) to approximate : where is the sum of the fuzzy rules, , that is, indicate the adjustable consequent parameters of the FLC, and is the vector of fuzzy basis function  which is defined as where and with represent the degree of membership. The in can be chosen by Since here , the sum of input variables, is only one, we know that where with represent the degree of membership. The in can be chosen by .
From the approximation property of the fuzzy system, an uncertain and nonlinear plant can be well approximated and described via a fuzzy model with FLC rules to achieve the control object [14, 39, 40].
Assumption 4.1. For ,
there exists an adjustable parameter vector such that the fuzzy system can approximate a continuous function with accuracy over the set ,
that is, ,
Let denote the estimate of at time . Now, we can define the estimated control output by and decide on the initial values of the consequent parameter vector based on the genetic algorithm.
First, define the parameter error vector at time by , and then According to assumption 4.1, we can define the modeling error where .
We can say that Now, by substituting (4.9) into (2.5), we obtain the error dynamic equation: We now define the augmented error as where in (4.11), and in (4.10) are chosen such that is strictly positive real (SPR) transfer function, and and are coprime. Now, and can be related by where is the Laplace transform of the function, and denotes the complex Laplace transform variable.
Next, we investigate the asymptotic stability of the origin using Lyapunov’s function candidates. First, define a Lyapunov candidate function as where is a positive constant representing the learning rate
If , the derivate of along the trajectories of the system should be negative definite for all nonlinearities that satisfy a given sector condition (Lyapunov’s stability): As mentioned above , and we can infer that , and
In general, chattering must be eliminated for the controller to perform properly. This can be achieved by smoothing out control discontinuity in a thin boundary layer neighboring the switching surface. To amend the modeling error and the chattering phenomenon, we propose a modified adaptive law (4.22) with which to tune the adjustable consequent parameters of the RAFSMC: The thin boundary layer function is defined as where is the thickness of the boundary layer.
When , then
If is positive and small enough, then and , such that where .
It is real that if and , and hence . Thus will gradually converge to zero as all the .
Based on the above inference and Lyapunov’s stability theory, will gradually converge inside the bounded zone . The tracking error and the modeling error will then both approach zero.
Theorem 4.2. Consider a nonlinear uncertain system that satisfies the assumptions . Suppose that the unknown control input can be approximated by as in (4.6). Now, is given by (4.15), and is a symmetric positive definite weighting matrix.
5. Numerical Simulation
In this section, the proposed GA-based RAFSMC is demonstrated with an example of the control methodology.
where denotes the angle (in radian) of the pendulum from the vertical; and is the angular vector. Thus the gravity constant , where is the mass of the pendulum, is the mass of the cart, is the length of (input force), is the force applied to the cart (in Newtons), and . The parameters chosen for the pendulum in this simulation are =0.1 kg, =1 kg, and =0.5 m.
The control objective in this example is to balance the inverted pendulum in the approximate range . The GA-based RAFSMC designed based on the procedure discussed above will have the following steps.
Step 1. Specify the response of the control system by defining a suitable sliding surface
Step 2. Construct the fuzzy rule base (3.2) and the fuzzy models (4.6) based on the genetic algorithm. After carrying out the abovementioned genetic-based learning procedure, the number of individual strings is 10, the size of population is 12, the crossover rate is 0.8333, the mutation rate is 0.03125, and the maximum number of the generations is 15. Now, the initial values of the consequent parameter vector for the GA-based RAFSMC can be chosen as follows:
Therefore, based on Theorem 4.2, the proposed GA-based RAFSMC can asymptotically stabilize the inverted pendulum. The simulation results are illustrated in Figures 6–9. The initial conditions are , and .
Figures 6–9 show that the inverted pendulum system (compare with Yoo and Ham ) is rapidly, asymptotically stable because the system trajectory starts from any nonzero initial state, to rapidly and asymptotically approach the origin.
The stability analysis of a GA-based reference adaptive fuzzy sliding model controller for a nonlinear system is discussed. First, we track the reference trajectory for an uncertain and nonlinear plant. We make sure that it is well approximated and described via the fuzzy model involving FLC rules. Then we decide on the initial values of the consequent parameter vector via a GA. Next, an adaptive fuzzy sliding model controller is proposed to simultaneously stabilize and control the system. A stability criterion is also derived from Lyapunov’s direct method to ensure stability of the nonlinear system. Finally, we discuss an example and provide a numerical simulation. From this example, we see that the stability of the inverted pendulum system is ensured because the trajectories from nonzero initial states approach to zero by proposed controller design, and the results demonstrate that with this control methodology we can rapidly and efficiently control a complex and nonlinear system.
The authors would like to thank the National Science Council of the Republic of China, Taiwan for financial support of this research under Contract no. NSC 96-2628-E-366-004-MY2. The authors are also most grateful for the kind assistance of Professor Balthazar, Editor of special issue, and the constructive suggestions from anonymous reviewers all of which has led to the making of several corrections and suggestions that have greatly aided us in the presentation of this paper.
- G. J. Klir and B. Yuan, Fuzzy Sets and Fuzzy Logic: Theory and Applications, Prentice Hall, Upper Saddle River, NJ, USA, 1995.
- W.-J. Wang and H.-R. Lin, “Fuzzy control design for the trajectory tracking on uncertain nonlinear systems,” IEEE Transactions on Fuzzy Systems, vol. 7, no. 1, pp. 53–62, 1999.
- X.-J. Ma, Z.-Q. Sun, and Y.-Y. He, “Analysis and design of fuzzy controller and fuzzy observer,” IEEE Transactions on Fuzzy Systems, vol. 6, no. 1, pp. 41–51, 1998.
- T. Takagi and M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,” IEEE Transactions on Systems, Man and Cybernetics, vol. 15, no. 1, pp. 116–132, 1985.
- F.-H. Hsiao, C. W. Chen, Y.-H. Wu, and W.-L. Chiang, “Fuzzy controllers for nonlinear interconnected TMD systems with external force,” Journal of the Chinese Institute of Engineers, vol. 28, no. 1, pp. 175–181, 2005.
- T.-Y. Hsieh, M. H. L. Wang, C. W. Chen, et al., “A new viewpoint of s-curve regression model and its application to construction management,” International Journal on Artificial Intelligence Tools, vol. 15, no. 2, pp. 131–142, 2006.
- C.-H. Tsai, C. W. Chen, W.-L. Chiang, and M.-L. Lin, “Application of geographic information system to the allocation of disaster shelters via fuzzy models,” Engineering Computations, vol. 25, no. 1, pp. 86–100, 2008.
- C. W. Chen, W.-L. Chiang, C.-H. Tsai, C.-Y. Chen, and M. H. L. Wang, “Fuzzy Lyapunov method for stability conditions of nonlinear systems,” International Journal on Artificial Intelligence Tools, vol. 15, no. 2, pp. 163–171, 2006.
- K. Tanaka, T. Hori, and H. O. Wang, “A multiple Lyapunov function approach to stabilization of fuzzy control systems,” IEEE Transactions on Fuzzy Systems, vol. 11, no. 4, pp. 582–589, 2003.
- B. Chen, X. Liu, and S. Tong, “New delay-dependent stabilization conditions of T-S fuzzy systems with constant delay,” Fuzzy Sets and Systems, vol. 158, no. 20, pp. 2209–2224, 2007.
- C. W. Chen, C.-L. Lin, C.-H. Tsai, C.-Y. Chen, and K. Yeh, “A novel delay-dependent criterion for time-delay T-S fuzzy systems using fuzzy Lyapunov method,” International Journal on Artificial Intelligence Tools, vol. 16, no. 3, pp. 545–552, 2007.
- F.-H. Hsiao, J.-D. Hwang, C. W. Chen, and Z.-R. Tsai, “Robust stabilization of nonlinear multiple time-delay large-scale systems via decentralized fuzzy control,” IEEE Transactions on Fuzzy Systems, vol. 13, no. 1, pp. 152–163, 2005.
- K. Yeh, C.-Y. Chen, and C. W. Chen, “Robustness design of time-delay fuzzy systems using fuzzy Lyapunov method,” Applied Mathematics and Computation, vol. 205, no. 2, pp. 568–577, 2008.
- C. W. Chen, K. Yeh, W.-L. Chiang, C.-Y. Chen, and D.-J. Wu, “Modeling, control and stability analysis for structural systems using Takagi-Sugeno fuzzy model,” Journal of Vibration and Control, vol. 13, no. 11, pp. 1519–1534, 2007.
- G. Feng, C.-L. Chen, D. Sun, and Y. Zhu, “ controller synthesis of fuzzy dynamic systems based on piecewise Lyapunov functions and bilinear matrix inequalities,” IEEE Transactions on Fuzzy Systems, vol. 13, no. 1, pp. 94–103, 2005.
- F.-H. Hsiao, C. W. Chen, Y.-W. Liang, S.-D. Xu, and W.-L. Chiang, “T-S fuzzy controllers for nonlinear interconnected systems with multiple time delays,” IEEE Transactions on Circuits and Systems I, vol. 52, no. 9, pp. 1883–1893, 2005.
- S. Xu and J. Lam, “Robust control for uncertain discrete-time-delay fuzzy systems via output feedback controllers,” IEEE Transactions on Fuzzy Systems, vol. 13, no. 1, pp. 82–93, 2005.
- C. W. Chen, “Modeling and control for nonlinear structural systems via a NN-based approach,” Expert Systems with Applications. In press.
- C.-Y. Chen, J. R.-C. Hsu, and C. W. Chen, “Fuzzy logic derivation of neural network models with time delays in subsystems,” International Journal on Artificial Intelligence Tools, vol. 14, no. 6, pp. 967–974, 2005.
- P. C. Chen, C. W. Chen, and W. L. Chiang, “GA-based modified adaptive fuzzy sliding mode controller for nonlinear systems,” Expert Systems with Applications. In press.
- S. Limanond and J. Si, “Neural-network-based control design: an LMI approach,” IEEE Transactions on Neural Networks, vol. 9, no. 6, pp. 1422–1429, 1998.
- R. Palm, “Robust control by fuzzy sliding mode,” Automatica, vol. 30, no. 9, pp. 1429–1437, 1994.
- L. X. Wang, A Course in Fuzzy Systems and Control, Prentice Hall, Englewood Cliffs, NJ, USA, 1997.
- V. I. Utkin, Sliding Modes and Their Application in Variable Structure Systems, MIR Publishers, Moscow, Russia, 1978.
- J. J. E. Slotine and W. Li, Applied Nonlinear Control, Prentice Hall, Englewood Cliffs, NJ, USA, 1991.
- Y. Xia and Y. Jia, “Robust sliding-mode control for uncertain time-delay systems: an LMI approach,” IEEE Transactions on Automatic Control, vol. 48, no. 6, pp. 1086–1092, 2003.
- B. Yoo and W. Ham, “Adaptive fuzzy sliding mode control of nonlinear system,” IEEE Transactions on Fuzzy Systems, vol. 6, no. 2, pp. 315–321, 1998.
- S. Tong and H.-X. Li, “Fuzzy adaptive sliding-mode control for MIMO nonlinear systems,” IEEE Transactions on Fuzzy Systems, vol. 11, no. 3, pp. 354–360, 2003.
- S. Labiod, M. S. Boucherit, and T. M. Guerra, “Adaptive fuzzy control of a class of MIMO nonlinear systems,” Fuzzy Sets and Systems, vol. 151, no. 1, pp. 59–77, 2005.
- L. X. Wang, Adaptive Fuzzy Systems and Control: Design and Stability Analysis, Prentice Hall, Englewood Cliffs, NJ, USA, 1994.
- G. Feng, S. G. Cao, and N. W. Rees, “Stable adaptive control for fuzzy dynamic systems,” Fuzzy Sets and Systems, vol. 131, no. 2, pp. 217–224, 2002.
- D. E. Goldberg, Genetic Algorithms in Search, Optimization, and Machine Learning, Addison-Wesley, Reading, Mass, USA, 1989.
- S. C. Lin, Stable self-learning optimal fuzzy control system design and application, Ph.D. dissertation, Department of Electrical Engineering, National Taiwan University, Chung-li, Taiwan, 1997.
- P. C. Chen, Genetic algorithm for control of structure system, M.S. thesis, Department of Civil Engineering, Chung Yuan University, Taipei, Taiwan, 1998.
- C. C. Liu and F. C. Chen, “Adaptive control of nonlinear continuous-time systems using neural networks—general relative degree and MIMO cases,” International Journal of Control, vol. 58, no. 2, pp. 317–335, 1993.
- J.-S. R. Jang, C.-T. Sun, and E. Mizutani, Neuro-Fuzzy and Soft Computing: A Computational Approach to Learning and Machine Intelligence, Prentice-Hall, Upper Saddle River, NJ, USA, 1997.
- J.-S. R. Jang, “ANFIS: adaptive-network-based fuzzy inference system,” IEEE Transactions on Systems, Man and Cybernetics, vol. 23, no. 3, pp. 665–685, 1993.
- F. J. de Souza, M. M. R. Vellasco, and M. A. C. Pacheco, “Hierarchical neuro-fuzzy quadtree models,” Fuzzy Sets and Systems, vol. 130, no. 2, pp. 189–205, 2002.
- C. W. Chen, W. L. Chiang, and F. H. Hsiao, “Stability analysis of T-S fuzzy models for nonlinear multiple time-delay interconnected systems,” Mathematics and Computers in Simulation, vol. 66, no. 6, pp. 523–537, 2004.
- C. W. Chen, “Stability conditions of fuzzy systems and its application to structural and mechanical systems,” Advances in Engineering Software, vol. 37, no. 9, pp. 624–629, 2006.