The Scientific World Journal

Volume 2014 (2014), Article ID 171597, 7 pages

http://dx.doi.org/10.1155/2014/171597

## Robust Fuzzy Logic Stabilization with Disturbance Elimination

^{1}Department of Control & Mechatronics Engineering, Faculty of Electrical Engineering, Universiti Teknologi Malaysia, UTM Skudai, 81310 Johor, Malaysia^{2}UTM Centre for Industrial and Applied Mathematics, Universiti Teknologi Malaysia, UTM Skudai, 81310 Johor, Malaysia

Received 18 June 2014; Accepted 20 July 2014; Published 6 August 2014

Academic Editor: Bijan Davvaz

Copyright © 2014 Kumeresan A. Danapalasingam. 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.

#### Abstract

A robust fuzzy logic controller is proposed for stabilization and disturbance rejection in nonlinear control systems of a particular type. The dynamic feedback controller is designed as a combination of a control law that compensates for nonlinear terms in a control system and a dynamic fuzzy logic controller that addresses unknown model uncertainties and an unmeasured disturbance. Since it is challenging to derive a highly accurate mathematical model, the proposed controller requires only nominal functions of a control system. In this paper, a mathematical derivation is carried out to prove that the controller is able to achieve asymptotic stability by processing state measurements. Robustness here refers to the ability of the controller to asymptotically steer the state vector towards the origin in the presence of model uncertainties and a disturbance input. Simulation results of the robust fuzzy logic controller application in a magnetic levitation system demonstrate the feasibility of the control design.

#### 1. Introduction

One of the key challenges in solving practical controller design problems is the availability of an accurate mathematical model of a plant. Due to the presence of unmodelled nonlinearities, parameter uncertainties, measurement errors, actuator errors, and external disturbances in a system to be controlled, the derivation of a reliable mathematical model for control purposes is a demanding task. In cases where an acceptable mathematical model of a plant does not exist or is difficult to be obtained, the fuzzy logic controller is often useful [1, 2]. A unique feature of fuzzy logic controllers is that it enables a natural framework to incorporate linguistic descriptions of a system and control rules from human experts [3, 4]. A fuzzy logic controller is often advantageous in cases where field engineers or operators are able to furnish linguistic fuzzy control rules or linguistic fuzzy descriptions about a system to be controlled. Compounded by the fact that it is a nonlinear controller based on the model-free design, fuzzy logic controllers have been favourable in numerous household and industrial applications.

Some previous works on fuzzy logic control are reviewed here. The problem of adaptive fuzzy decentralized fault-tolerant control is investigated for a class of nonlinear large-scale systems in [5]. The proposed control design applies a fuzzy logic system to approximate unknown nonlinear functions that exist in the plant and a fuzzy adaptive observer to estimate unmeasured states. By choosing appropriate design parameters, it is shown that all closed-loop signals are bounded and that tracking errors converge to a small neighborhood of zero. In [6], an adaptive fuzzy robust output feedback control problem is considered for nonlinear systems that possess unstructured uncertainties, unknown dead zone, and dynamics uncertainties. By combining a backstepping technique with a nonlinear small-gain approach, the proposed controller demonstrates semiglobal uniform ultimate boundedness for all closed-loop solutions. An output-feedback fuzzy controller is designed for a class of discrete-time fuzzy systems with randomly occurring infinite distributed delays and channel fadings in [7]. By utilizing the cone complementarity linearization algorithm, the closed-loop Takagi-Sugeno fuzzy control system is proven to be exponentially mean-square stable, and the disturbance rejection attenuation is constrained to a given level by means of the performance index. In [8], the stabilization of a class of discrete-time Takagi-Sugeno (T-S) fuzzy systems with stochastic perturbation and time-varying state delay is studied. In the research, a fuzzy Lyapunov-Krasovskii function is constructed, and some examples are provided to illustrate the effectiveness of the proposed methods. An adaptive fuzzy control strategy with guaranteed convergence of an optimal fuzzy approximation error is presented for a class of uncertain nonlinear systems in the general Brunovsky form in [9]. The authors prove that the closed-loop system achieves partially asymptotic stability under a certain selection of control parameters and report a high-precision tracking performance through simulation studies.

Conventional controllers are required to be tuned by adjusting its controller gains to obtain acceptable control performances. Similarly, a fuzzy logic controller needs to be tuned until a satisfactory control performance is achieved. A fuzzy logic controller can be tuned by modifying its fuzzy control rules, membership functions, and scaling gains. In this paper, elements of some of the membership functions are chosen as the tuning parameter. While a similar approach is undertaken in [10, 11], asymptotic stability is not achieved therein. In this work, the tuning parameter of the proposed fuzzy logic controller is adapted for asymptotic stability. The contribution of this research is the development of an asymptotically stable fuzzy logic controller that is robust against model uncertainties and a disturbance input whose measurements are not available.

A fuzzy logic control problem is addressed for a class of nonlinear dynamical control systems in Section 2. In the same section, the components of a fuzzy logic controller are described. This is followed by Section 3 that covers the design of a robust fuzzy logic controller. To confirm the performance of the proposed controller, simulation results are presented and analyzed in Section 4. Section 5 concludes the paper.

#### 2. Preliminaries

This work concerns the problem of robust fuzzy logic stabilization for general nonlinear control systems of the form where is the state vector, and , are continuous functions, is the control input taking values in a compact set , and is a continuous function denoting unmodelled dynamics and disturbances. The control system is subject to model uncertainties; that is, where and ( and ) are known nominal and unknown uncertain functions, respectively. The robust fuzzy logic stabilization problem involves the design of a dynamic feedback controller such that the origin in is robustly stable with respect to the trajectories of the closed-loop system Here, the term robustness refers to the insensitivity of a controller’s performance with respect to modelling errors and and a persistent disturbance .

Fuzzy logic controllers have been successfully applied in many commercial products and industrial systems (see, for instance, [12–15]) and one contributing factor for its effectiveness is that it is inherently a nonlinear controller [16–19]. Given its good reputation in control engineering, it is desired to include a fuzzy logic controller in the design of a robustly stabilizing .

##### 2.1. Fuzzy Logic Controller

A typical fuzzy logic controller consists of fuzzifier, knowledge base, inference engine, and defuzzifier as shown in Figure 1. The fuzzy logic controller is a feedback

The fuzzifier transforms a real or crisp into a fuzzy set through the fuzzification operation. A fuzzy set is a set of ordered pairs of and its value of membership function ; that is, [20]. In fuzzy control applications, it is common to convert a crisp value of to a fuzzy singleton, that is, a fuzzy set where and for [10, 11, 17].

The knowledge base comprises a database that provides necessary definitions to ensure a proper functioning of the controller and a rule base that contains a set of fuzzy control rules [21]. A fuzzy control rule provides a convenient way to represent control goals and policies of field experts and has the following form: where and are linguistic variables representing th input of the controller and fuzzy logic control input, respectively, and are linguistic values of the linguistic variables and , respectively, and is the number of fuzzy control rules.

Each fuzzy control rule (5) is expressed as a fuzzy implication in the inference engine. A fuzzy implication is a fuzzy relation defined as In (6), the logical operator “and” is implemented as a fuzzy conjunction and is given by where the symbol represents the triangular norm. Some commonly used triangular norms are intersection, bounded product, drastic product, and algebraic product that is defined as Many types of fuzzy implication can be found in the literature such as operation rule, product operation rule, bounded product operation rule, drastic product operation rule, arithmetic rule, maximin rule, standard sequence, Boolean implication, Gödelian logic, and Goguen implication [2, 10, 20]. In this paper, the product operation rule of fuzzy implication is of particular interest, where, from (6), (7), and (8), By applying the sup-star compositional rule of inference on a fuzzy singleton (output of the fuzzifier) and a fuzzy implication , a fuzzy set is obtained for each fuzzy control rule (5) as follows: where is a compositional operator and “star” or denotes the triangular norm. Note that, by using algebraic product and (9), (10) becomes

The defuzzifier maps a fuzzy control action obtained in the inference engine to a crisp fuzzy logic control input . Some defuzzification strategies include maximum, center-average, modified center-average, mean of maximum, and center of area defuzzifiers [11, 22]. In particular, the center-average defuzzifier is expressed as where . By assuming that and implementing (11), (12) can be rewritten as [12]

To effectively control a plant, controllers are needed to be tuned either manually or automatically until a satisfactory performance is obtained [23–25]. While the tuning parameters of most of the controllers are gains, a fuzzy logic controller can be tuned by adjusting its fuzzy control rules, membership functions, and scaling gains [26]. In this paper, the tuning parameter of the fuzzy logic controller is in the following representation of (13): where

#### 3. Fuzzy Logic Controller Design

In this section, a dynamic feedback controller is designed in two stages to achieve the control objective described in Section 2. Firstly, a preliminary feedback law that compensates the nonlinear terms and in (1) is proposed based on the known nominal functions and . Secondly, a dynamic fuzzy logic controller is designed by means of a linear time-varying system to compensate for the unknown model uncertainties and and disturbance .

Consider the following expression from (1): To compensate for the nonlinear terms and in (16), a preliminary control law is chosen as follows: where is an additional control input to be designed. It is easy to show that the control input needed to achieve is Feedforward control law (18) applied in (17) is capable of keeping identically at zero if the initial conditions are set as . Since depends on the uncertain and unknown , control law (18) is not directly implementable.

To asymptotically regenerate , it is first assumed that (18) can be viewed as an output generated by the linear time-varying system where is an Hurwitz matrix, is an vector such that the pair is controllable, is from (14), and is the state variable. Based on assumption (19), a dynamic fuzzy logic controller utilizing fuzzy logic controller (14) is proposed resulting in where is the controller state and is a function to be determined. Note that the fuzzy logic controller is implemented in (20) to estimate the uncertain and unknown terms in (18). In order to formally prove that control laws (17) and (20), that is, asymptotically stabilize control system (3), the following theorem is presented.

Theorem 1. *There exists a function such that control system (3) with dynamic feedback controller (21) is asymptotically stable.*

*Proof. *Even though only steps of proof for cases and are shown, a similar approach can be taken for a system of any order.*(**1) Case *. A new vector of state variables is defined as
where
and , are tuning parameters of the feedback law
Consequently, control system (3) with control laws (21) and (24) can be written in the form
where
with zero matrix . *(**2) Case *. Similar as above, a vector of state variables is set as
where , , are tuning parameters of the feedback law
Control system (3) with control laws (21) and (28) yields a system that can be put in the form
where
with
Straightforward calculations show that matrices (26) and (30) are Hurwitz matrices for appropriate selections of , and , , , respectively.

As a result, the state of control system (3) is guaranteed to asymptotically decay to a small neighbourhood of the origin if dynamic feedback controller (21) that consists of dynamic fuzzy logic controller (20) and feedback law (24) or (28) is implemented. Since the controller relies only on the nominal functions and and estimates the uncertain and unknown variables by processing the system state, it is a robust controller.

#### 4. Simulation Results

In this section, a magnetic levitation system in which an electromagnet exerts attractive force to levitate a steel ball is considered. According to [27], the system dynamics can be represented by where In (33), we have the following::air gap (vertical position) of the steel ball, ,:coil current,:gravity acceleration, 9.8 ,:mass of the steel ball, 0.54 kg,:electrical resistance, 11.88 Ω,:voltage control input, −60 V ≤ ≤ 60 V,:coil constant, 0.7987 H,:magnetic core constant, 0.001624 Hm,:steel ball constant, 0.008114 m,:bounded external disturbance, .

In this Matlab simulation exercise, dynamic feedback controller (21) with feedback law (28) is applied to magnetic levitation system (32) to verify its performance as a robust stabilizer. The control objective is to drive the system state from to the origin. The nominal functions and are obtained by replacing the system parameters in (33) with nominal values as listed in Table 1. The nominal system parameters with considerable errors are used in the controller to demonstrate its robust performance. The membership functions of , , and are depicted in Figure 2.

Figures 3 and 4 show the state trajectory and control input of nonlinear system (32) for simulation time s. In Figure 3, it can be seen that dynamic feedback controller (21) with feedback law (28) is effective in navigating the system state from to the origin, even though only and are known and is not measured. To ensure that the control input is within , a saturation block is added in the Simulink model. Figure 4 illustrates that the control input is well within the physical constraint. A closer examination of the state trajectory plot reveals that does not settle exactly at zero but converges to a small neighbourhood of the origin as depicted in Figure 5. The reason for this behaviour is the presence of the persistent disturbance that affects the control system. Nevertheless, the state response of the magnetic levitation system controlled by with (28) fits the definition of robust asymptotic stability [28, 29].

#### 5. Conclusion

A robust fuzzy logic stabilizer is proposed for nonlinear control systems with disturbances. The dynamic feedback controller design combines a control law to compensate for nonlinear terms in a system to be controlled and a dynamic fuzzy logic controller to handle unknown model uncertainties and disturbance. The controller construction assumes that only nominal functions of a control system are known, measurements of system state are available, and the disturbance is not measured. A tuning parameter of the fuzzy logic controller is adjusted by means of a linear time-varying system with state measurements as its input. The proposed controller is implemented in a magnetic levitation system and simulation results verify its capacity as a robust stabilizer. Equipped with its mathematically proven robustness property, the controller manages to regulate the system state asymptotically to a small neighbourhood of zero. To validate its control performance, the implementation of the robust fuzzy logic stabilizer in an experimental DC motor tracking system is considered as a future work.

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the Fundamental Research Grant Scheme (R.J130000.7823.4F273) from the Ministry of Higher Education Malaysia and the eScienceFund (R.J130000.7923.4S100) from the Ministry of Science, Technology and Innovation Malaysia.

#### References

- C. C. Lee, “Fuzzy logic in control systems: fuzzy logic controller. I,”
*IEEE Transactions on Systems, Man, and Cybernetics*, vol. 20, no. 2, pp. 404–418, 1990. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - C. C. Lee, “Fuzzy logic in control systems: fuzzy logic controller. I,”
*IEEE Transactions on Systems, Man, and Cybernetics*, vol. 20, no. 2, pp. 404–418, 1990. View at Publisher · View at Google Scholar · View at MathSciNet - J. F. Baldwin, “A new approach to approximate reasoning using a fuzzy logic,”
*Fuzzy Sets and Systems*, vol. 2, no. 4, pp. 309–325, 1979. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - J. F. Baldwin and B. W. Pilsworth, “Axiomatic approach to implication for approximate reasoning with fuzzy logic,”
*Fuzzy Sets and Systems*, vol. 3, no. 2, pp. 193–219, 1980. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus - S. Tong, B. Huo, and Y. Li, “Observer-based adaptive decentralized fuzzy fault-tolerant control of nonlinear large-scale systems with actuator failures,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 1–15, 2014. View at Google Scholar - Y. Li, S. Tong, Y. Liu, and T. Li, “Adaptive fuzzy robust output feedback control of nonlinear systems with unknown dead zones based on a small-gain approach,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 164–176, 2014. View at Google Scholar - S. Zhang, Z. Wang, D. Ding, and H. Shu, “${H}_{\infty}$ fuzzy control with randomly occurring infinite distributed delays and channel fadings,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 189–200, 2014. View at Publisher · View at Google Scholar - X. Yang, L. Wu, H.-K. Lam, and X. Su, “Stability and stabilization of discrete-time t-s fuzzy systems with stochastic perturbation and time-varying delay,”
*IEEE Transactions on Fuzzy Systems*, vol. 22, no. 1, pp. 124–138, 2014. View at Google Scholar - Y. Pan and M. J. Er, “Enhanced adaptive fuzzy control with optimal approximation error convergence,”
*IEEE Transactions on Fuzzy Systems*, vol. 21, no. 6, pp. 1123–1132, 2013. View at Google Scholar - L. Wang, “Stable adaptive fuzzy control of nonlinear systems,”
*IEEE Transactions on Fuzzy Systems*, vol. 1, no. 2, pp. 146–155, 1993. View at Publisher · View at Google Scholar · View at Scopus - L. Wang, “Stable adaptive fuzzy controllers with application to inverted pendulum tracking,”
*IEEE Transactions on Systems, Man, and Cybernetics B: Cybernetics*, vol. 26, no. 5, pp. 677–691, 1996. View at Publisher · View at Google Scholar · View at Scopus - S. Tong and Y. Li, “Adaptive fuzzy decentralized output feedback control for nonlinear large-scale systems with unknown dead-zone inputs,”
*IEEE Transactions on Fuzzy Systems*, vol. 21, no. 5, pp. 913–925, 2013. View at Google Scholar - C. Lin and C. Hsu, “Adaptive fuzzy sliding-mode control for induction servomotor systems,”
*IEEE Transactions on Energy Conversion*, vol. 19, no. 2, pp. 362–368, 2004. View at Publisher · View at Google Scholar · View at Scopus - K. R. S. Kodagoda, W. S. Wijesoma, and E. K. Teoh, “Fuzzy speed and steering control of an AGV,”
*IEEE Transactions on Control Systems Technology*, vol. 10, no. 1, pp. 112–120, 2002. View at Publisher · View at Google Scholar · View at Scopus - J. Wang, H. Wu, and H. Li, “Distributed fuzzy control design of nonlinear hyperbolic pde systems with application to nonisothermal plug-flow reactor,”
*IEEE Transactions on Fuzzy Systems*, vol. 19, no. 3, pp. 514–526, 2011. View at Publisher · View at Google Scholar · View at Scopus - L.-X. Wang, “Fuzzy systems are universal approximators,” in
*Proceedings of the IEEE International Conference on Fuzzy Systems*, pp. 1163–1170, San Diego, Calif, USA, 1992. View at Publisher · View at Google Scholar - L.-X. Wang and J. Mendel, “Fuzzy basis functions, universal approximation, and orthogonal least-squares learning,”
*IEEE Transactions on Neural Networks*, vol. 3, no. 5, pp. 807–814, 1992. View at Google Scholar - J. L. Castro, “Fuzzy logic controllers are universal approximators,”
*IEEE Transactions on Systems, Man and Cybernetics*, vol. 25, no. 4, pp. 629–635, 1995. View at Publisher · View at Google Scholar · View at Scopus - H. Ying, “Sufficient conditions on general fuzzy systems as function approximators,”
*Automatica*, vol. 30, no. 3, pp. 521–525, 1994. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at Scopus - M. Mizumoto, “Fuzzy controls under various fuzzy reasoning methods,”
*Information Sciences*, vol. 45, no. 2, pp. 129–151, 1988. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - A. E. Mabrouk, A. Cheriet, and M. Feliachi, “Fuzzy logic control of electrodynamic levitation devices coupled to dynamic finite volume method analysis,”
*Applied Mathematical Modelling*, vol. 37, no. 8, pp. 5951–5961, 2013. View at Publisher · View at Google Scholar · View at Scopus - J. L. Castro and M. Delgado, “Fuzzy systems with defuzzification are universal approximators,”
*IEEE Transactions on Systems, Man, and Cybernetics B: Cybernetics*, vol. 26, no. 1, pp. 149–152, 1996. View at Publisher · View at Google Scholar · View at Scopus - K. A. Danapalasingam, “Optimisation of energy in electric power–assisted steering systems,”
*International Journal of Electric and Hybrid Vehicles*, vol. 5, no. 2, pp. 143–154, 2013. View at Google Scholar - K. A. Danapalasingam, “Electric vehicle traction control for optimal energy consumption,”
*International Journal of Electric and Hybrid Vehicles*, vol. 5, no. 3, pp. 233–252, 2013. View at Google Scholar - K. A. Danapalasingam, “Robust autonomous helicopter stabilizer tuned by particle swarm optimization,”
*International Journal of Pattern Recognition and Artificial Intelligence*, vol. 28, no. 1, pp. 1–9, 2014. View at Google Scholar - H. Li and H. B. Gatland, “Conventional fuzzy control and its enhancement,”
*IEEE Transactions on Systems, Man, and Cybernetics B: Cybernetics*, vol. 26, no. 5, pp. 791–797, 1996. View at Publisher · View at Google Scholar · View at Scopus - Z. Yang, S. Hara, S. Kanae, and K. Wada, “Robust output feedback control of a class of nonlinear systems using a disturbance observer,”
*IEEE Transactions on Control Systems Technology*, vol. 19, no. 2, pp. 256–268, 2011. View at Publisher · View at Google Scholar · View at Scopus - F. H. Clarke, Y. S. Ledyaev, E. D. Sontag, and A. I. Subbotin, “Asymptotic controllability implies feedback stabilization,”
*IEEE Transactions on Automatic Control*, vol. 42, no. 10, pp. 1394–1407, 1997. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus - Y. S. Ledyaev, “Robustness of discontinuous feedback in control under disturbance,” in
*Proceedings of the 41st IEEE Conference on Decision and Control*, vol. 3, pp. 3135–3137, Las Vegas, Nev, USA, December 2002. View at Scopus