Abstract
This paper presents an observer based dynamic fuzzy logic system (DFLS) scheme for a class of unknown single-input single-output (SISO) nonlinear dynamic systems with external disturbances. The proposed approach does not need the availability of the state variables. Within this scheme, the DFLS is employed to identify the unknown nonlinear dynamic system. The control law and parameter adaptation laws of the DFLS are derived based on Lyapunov synthesis approach. The control law is robustfied in H8 sense to attenuate external disturbance, model uncertainties, and fuzzy approximation errors. It is shown that under appropriate assumptions, it guarantees the boundedness of all the signals in the closed-loop system and the asymptotic convergence to zero of tracking errors. The proposed method is applied to an inverted pendulum system to verify the effectiveness of the proposed algorithms.
Similar content being viewed by others
1 Introduction
In many practical control problems, the physical state variables of systems are partially or fully unavailable for measurement, since the state variables are not accessible by sensing devices and transducers are not available or very expensive. In such cases, observer based control schemes should be developed to estimate the state. Therefore, observer design has been a very active field during the last decade and has turned out to be much more challenging than control problems[1]. Adaptive control techniques have received considerable attention over the past decades due to its power to successfully control uncertain systems[2–5]. However, conventional adaptive control theory can only handle the systems with known dynamic structure and unknown parameters (i.e., constant or slowly-varying). In addition, conventional adaptive control techniques cannot make use of human operators’ knowledge on process control, which usually contributes to the rough tuning of system dynamics.
The introduction of fuzzy systems led to a great success and provided effective approaches to handle nonlinear systems especially complex and illdefined dynamic systems. Being one of the efficient intelligent techniques, fuzzy systems have been applied to the modeling and control of uncertain nonlinear systems. Several stable adaptive fuzzy control schemes based on the universal approximation theorem[6] have been developed for unknown SISO nonlinear systems[7–9], multi-input multi-output (MIMO) nonlinear systems[10–12], and large-scale interconnected nonlinear systems[13–15]. These schemes provided an effective framework for incorporating the expert knowledge systematically and achieve stable performance criterion. The stability analysis in such schemes is performed by using the Lyapunov synthesis approach. However, these adaptive fuzzy control schemes are static in nature. The fact that most of physical systems are generally dynamic, suggests that one may introduce some sort of dynamics to these static fuzzy models in order to cope with the dynamic nature of the physical systems. This would provide a new tool in the control of dynamic systems. Hence, the dynamic fuzzy logic system (DFLS) was first introduced by Lee and Vukovich[16, 17]. They have successfully applied this concept to the identification of single-link robotic manipulator[16]. Stable identification and adaptive control based on DFLS were performed in [17]. This work was extended to design a DFLS based stable indirect adaptive control scheme for a class of SISO nonlinear systems[18] and a class of MIMO nonlinear systems[19].
However, the previous work on DFLS is limited to only systems with measurable states both for SISO and MIMO nonlinear systems[16–19]. Based on the initial results of SISO nonlinear systems[16–18], we intend to develop an observer based adaptive dynamic fuzzy control for SISO nonlinear systems. Furthermore, the proposed scheme is constructed by integrating the feature of H ∞ tracking performance which can greatly attenuate disturbances, model uncertainties, and fuzzy approximation errors.
The paper is organized as follows. A class of SISO nonlinear systems and control objectives are described in Section 2. Section 3 presents a brief description of static fuzzy systems and DFLS. The observer based DFLS control design is presented in Section 4. In Section 5, the proposed control algorithm is used to control an inverted pendulum. Section 6 concludes this paper.
2 System description
In this paper, we consider a class of SISO n-th order nonlinear systems represented by the following set of differential equations:
where f(⋅) and g(⋅) are smooth unknown nonlinear functions, \(\underset{\raise0.3em\hbox{$\smash{\scriptscriptstyle-}$}}{x} = (x,\dot x, \cdots ,{x^{(n - 1)}}) \in {\operatorname{R} ^n}\) is the state vector which is assumed to be not available for measurements, u ∈ R and y ∈ R are the control input and the output of the system, respectively, and d denotes the unknown external disturbance. It is assumed that the desired output trajectory and its derivatives are measurable and bounded, where \({y_d^{(n - 1)}}\) denotes the (n - 1)-th derivative of y d with respect to time.
Let x 1 =x,\(\dot x, \cdots \) so that \(\underset{\raise0.3em\hbox{$\smash{\scriptscriptstyle-}$}}{x} \) = (x 1,x 2,⋯ ,x n )T and (1) can be rewritten in the state space representation as
Let be the estination of system state vector. Define the error vector e, estimation error vector ê, and observation error \(\tilde e\), respectively, as
Control objectives. Develop a feedback control law u(t) (based on DFLS) which ensures the boundness of both variables in the closed-loop systems and the parameters of the DFLS, and guarantees output tracking of a specified desired trajectory . In addition, for a given disturbance attenuation level ρ > 0, the following H ∞ tracking performance index is achieved.
where e is the error vector, δ ∈ L 2 [0,T] is the combined disturbance and approximation error for T ∈ [0, ∞] , Q and P are positive matrices of proper dimensions, and Δ is parameter approximation error vector.
Throughout this paper, the following assumptions are considered on system (1).
Assumption 1. For 1 ⩽ i ⩽ n, the signs of \(g(\hat x)\) are known, and there exist unknown positive constants b and c such that \(0 < b \leqslant \left| {g(\hat x)} \right| \leqslant c < \infty ,\;\forall x \in {{\mathbf{R}}^i}\). Without losing generality, it is assumed that \(g(\hat x) \geqslant b > 0\).
Remark 1. It should be emphasized that the bounds b and c are only required for analytical purpose, their true values are not necessarily required to be known since they are not used for controller design.
Assumption 2. The reference trajectories Y d is a known bounded function of time with bounded known derivatives, and it is assumed to be r i -times differentiable.
3 Description of DFLS
The DFLS is composed of an ordinary fuzzy logic system (also referred to static fuzzy logic system) and a dynamic element[16,17]. The basic structure of the fuzzy logic system considered in this paper which has been widely used in identification and control of nonlinear systems is shown in Fig. 1. It is composed of four major components, namely, a fuzzification interface, a fuzzy rule base, a fuzzy inference engine, and a defuzzification interface.
For fuzzy logic systems, the fuzzy rule base is made up of the following inference rule:
where \(F_1^l\) and \(G_1^l\) are fuzzy sets in R, l = 1, 2, ⋯ , N, i = 1,2,⋯ ,n, j = 1,2,⋯ ,p.
Through center-average defuzzifier, product inference, and singleton fuzzifier[6], the output of the fuzzy logic system can be expressed as
where \({\bar y^l}\) is the center of the fuzzy set G l at which \(\mu_G^l\) achieves its maximum value, and we assume that \(\mu _G^l({\bar y^l}) = 1\). Equality (3) can be written as
where is a vector of adjustable parameters, and ϕ(x) = [ϕ1, ⋯ , ϕ N ]T is a regression vector with each ϕ l defined as a fuzzy basis function (FBF)[6] as
The DFLS shown in Fig.2 can now be described by the following differential equations:
The DFLS described by (3) was shown to possess universal approximating capabilities to a large class of nonlinear dynamic systems[17].
Our objective now is to develop an appropriate control law for input u in (1) and an adaptation law for the parameter matrix Ȳ of the DFLS (5), such that the closed loop system is stable in the sense that the tracking error e = y d − y is uniformly bounded, and the identification errors and identifier parameters are also uniformly bounded.
4 Observer based DFLS control
In this section, we develop an observer-based indirect adaptive fuzzy controller and its stability scheme for system (1) based on DFLS.
To begin with, take as the inputs of DFLS, and fuzzy rule base is
The expression for \({\dot x_n}\) in (2) can be written as
where \({r_i}(x,u,\varphi ,{\bar Y_i})\) represents the static modeling error of the DFLS identifier and can be expressed as
By Lemma 1 in [17], there exists an optimal parameter vector
which minimizes the static modeling error r, such that
where M Ȳ and M r are positive design constants. In the following, we develop an adaptive law for Ȳ. Replacing Ȳ by Ȳ* in (8) results in
Subtracting (17) from (2) yields
where Δ = Ȳ − Ȳ* is the parameter estimation error.
In this situation, we propose the following control law which is based on DFLS:
where \(\hat g(\hat x|{\theta _g})\) is a static fuzzy logic estimation of function \(\hat g(\hat x)\), it is also a nonlinear function of the state vector x and it can be approximated by a fuzzy logic system (4) as
The adaptive law for the parameter θ g , u r , and u s will be defined later. And ϕ(x, 0) = ϕ(x, u) | u=0 .
Substituting (19) into (2), after straight forward manipulations, it can be easily obtained as
where
Using (21) with u = 0, we can write
The control gain functions g(x) can be approximated by a static fuzzy logic system (4). It follows that
where θ g is an adjustable parameter vector, ϕ(x) is a fuzzy basis function, and κ is the fuzzy approximation error. Define an optimal parameter estimate \(\theta _g^*\) such that it minimizes the approximation error. Therefore, we can write
where κ* is the minimum approximation error.
Design the error observer as
where \(K_0^T = \left[ {k_1^0,k_2^0, \cdots ,k_n^0} \right]\) is the observer gain vector, which is selected to make sure that the characteristic polynomial of A − K 0 C T is Hurwitz.
Subtracting (15) from (12) yields
where \({\Delta _g} = {\theta _g} - \theta _g^*\) and \(w = {k^*} + r(\hat x,u,0,{\bar Y^*})\). We define the robust compensator control terms u r and u s as
where λ and P are the solutions of the following Riccati-like equation:
It is noticed that Riccati equation (29) has a solution P = P T ⩾ 0 if and only if 2ρ 2 ⩾ λ i.
The adaptive laws are chosen as
and
Theorem 1. Consider system (1) that identifies by the DFLS (11) with its observer (25), and its controller (19), (27) and (28). Let the parameter vectors \(\bar Y\) and θ g be adjusted by the update law (30) and (31), respectively. Then, the closed loop system has the following properties:
-
1)
All signals in the closed loop system are uniformly bounded.
-
2)
For a given disturbance attenuation level, the proposed tracking performance index (6) is achieved.
Proof. Choose a Lyapunov function as
Differentiating V and using (18) and (21), we obtain
Using the adaptive laws (30) and (31), (33) can be simplified into
By the triangular inequality, we have
Substituting (35) and using Riccati-like equation (29), (34) becomes
Note that the third and fourth terms are negative in (36). So (36) can be rewritten as
The third term in (37) can be made negative by choosing h ⩽ 2αρ 2. So, (37) can be rewritten as
Since , from (38), we obtain
whereδ 2 = r 2(\(\hat Y\), u, ϕ, \(\bar Y^{*} \)) + w 2. After some straightforward manipulations, we can deduce
where c= min\(\left\{ {\lambda ,\frac{1}{{{\eta _1}}},\frac{1}{{{\eta _2}}}} \right\}\) with λ =\(\frac{{\inf \;{\lambda _{\min }}(Q)}}{{\operatorname{sub} \;{\lambda _{\max }}(Q)}}\) and ¼ =\(\frac{1}{{2{\rho ^2}}}\sum {_{i = 1}^p} {\delta ^2}\)
From (40) and (33), we can obtain
where c = \(\sum {_{i = 1}^p} {c_i}\) and ¼ = \(\sum {_{i = 1}^p} {\mu_i}\).
This implies that all signals in the closed loop system are bounded. Thus, the control objective 1) in Theorem 1 is realized.
Integrating (41) from t = 0 to t = T, we have
Since V(T) ⩾ 0, we can write (42) as
Then, from (43), we obtain
Thus, the control objective 2) in Theorem 1 is achieved.
For the sake of clarity of presentation, the overall design procedure of observer based DFLS scheme is summarized in the following steps:
Step 1. Select feedback gain and observer gain vectors K i and K o such that the matrices A - BK T i and A − K o C T are Hurwitz stable and meet the required transient response of tracking error dynamics.
Step 2. Specify a positive-definite matrix Q, desired attenuation level ρ, and the weighting factor λ such that 2ρ 2 ⩾ λ.
Step 3. Solve the Riccati equality (29) to obtain positive definite matrix P.
Step 4. Select membership functions \({\mu _{{F_i}}}( \cdot )\), and incorporate expert knowledge to the rule base if available to compute the fuzzy basis vectors \(\varphi (\hat x)\) and \(\varphi (\hat x,u)\).
Step 5. Apply the control law (19) with adaptive laws (30) and (31).
5 Simulation results
Consider the inverted pendulum system in Fig. 3. Let x 1 =θ and x 2 = \(\dot \theta \). The dynamic equations of the inverted pendulum system are
where g = 9.8 m/s2 is the acceleration due to gravity, m c is the mass of the cart, m is the mass of the pole, l is the half-length of the pole, and u is the applied force (control). The reference signal is assumed as \({y_d} = \frac{\pi }{{30(\sin (t))}}\). Also we choose m c = 10, m = 1, and l = 3.
The DFLS based control scheme design procedure for the inverted pendulum is described in some details in the following steps:
Step 1. Set k 1 =4,k 2 = 10, k 01 = 40, and k 2 = 200.
Step 2. Perform simulation with two different values of attenuation levels, ρ = 0.1. Select positive definite Q 1 = Q 2 = diag{10,10}. Select λ = 0.01 such that 2ρ 2 ⩾ λ.
Step 3. Solve Riccati equation for both values of attenuation level as
Step 4. In this simulation study, assuming that there are no linguistic rules, we choose M 1 = M 2 = 5. Since |x i| ⩽ \(\frac{\pi }{6}\) for i =1,2, we choose
Assuming that there is no available expert knowledge, we are going to consider the following fuzzy rules of inference.
R l : If x 1 is \(F_1^l\) and x 2 is \(F_2^l\), Then y is G l.
Now, we can construct the fuzzy basis vectors ϕ(x) and ϕ(x,u) as follows
Step 5. Using all the data from the previous steps, we can construct the control law (19) with adaptive laws (30) and (31). The parameters of the control and adaptive laws are selected as
Choose initial condition as x 1(0) = 0.5,\({\hat x_2}\)(0) = 0, and initial conditions for the adaptive parameters are chosen to be zero. Simulation results are shown in Figs. 4-6, respectively. Fig. 4 shows the state estimation errors ê 1 and ê 2, Fig. 5 shows the system output y and the reference signal y d . From Fig. 5, we can see that a good tracking performance has been achieved. Fig. 6 displays the control input signal u. From the simulation results, it can be seen that the proposed controller guarantees the boundedness of all the signals in the closed-loop system, and also achieves a good tracking performance. The comparison results between the proposed method and that in [20] show that there is lesser maximum overshoot response, and low control energy cost as compared to the method given in [20].
6 Conclusions
In this paper, an observer based DFLS scheme is developed for a class of uncertain nonlinear SISO systems. Since the state variables of SISO nonlinear systems are assumed to be unknown, the state observer is first designed to estimate state variables, via which adaptive fuzzy controller is developed. The fuzzy control law is robustified by an H ∞ compensator to attenuate the effect of disturbances, model uncertainties, and fuzzy approximation errors. The design of the control scheme is developed by Lyapunov synthesize approach to guarantee the stability of the overall closed-loop system. The proposed approach guarantees that all signals in the closed loop system are uniformly bounded and tracking errors fall to a small neighborhood of the origin. Application of the proposed approach to an inverted pendulum system has a good performance. Simulation results show the effectiveness of the proposed scheme.
References
G. Ellis. Observers in Control Systems: A Practical Guide, New York: Academic Press, 2002.
M. Boukattaya, T, Damak, M. Jallouli. Robust adaptive control for mobile manipulators. International Journal of Automation and Computing, vol. 8, no. 1, pp. 8–13, 2011.
M. H. Ben, R. Neila, D. Tarak. Adaptive terminal sliding mode control for rigid robotic manipulators. International Journal of Automation and Computing, vol. 8, no. 2, pp. 215–220, 2011.
Y. F. Wang, T. Y. Chai, Y. M. Zhang. State observer-based adaptive fuzzy output-feedback control for a class of uncertain nonlinear systems. Information Sciences, vol. 180, no. 24, pp. 5029–5040, 2010.
T. T. Arif. Adaptive control of rigid body satellite. International Journal of Automation and Computing, vol. 5, no. 3, pp. 296–306, 2008.
L. X. Wang. Adaptive Fuzzy Systems and Control: Design and Stability Analysis, Englewood Cliffs, NJ: Prentice-Hall, 1994.
Y. J. Liu, W. Wang, S. C. Tong, Y. S. Liu. Robust adaptive tracking control for nonlinear systems based on bounds of fuzzy approximation parameters. IEEE Transactions on Systems, Man, and Cybernetics, Part A: Systems and Humans, vol. 40, no. 1, pp. 170–184, 2010.
A. Poursamad, A. H. Davaie-Markazi. Robust adaptive fuzzy control of unknown chaotic systems. Applied Soft Computing, vol. 9, no. 3, pp. 970–976, 2009.
Y. J. Liu, S. C. Tong, W. Wang. Adaptive fuzzy output tracking control for a class of uncertain nonlinear systems. Fuzzy Sets and Systems, vol. 160, no. 19, pp. 2727–2754, 2009.
B. Chen, X. P. Liu, S. C. Tong. Adaptive fuzzy output tracking control of MIMO nonlinear uncertain systems. IEEE Transactions on Fuzzy Systems, vol. 15, no. 2, pp. 287–300, 2007.
F. Qiao, Q. M. Zhu, A. F. T. Winfield, C. Melhuish. Adaptive sliding mode control for MIMO nonlinear systems based on fuzzy logic scheme. International Journal of Automation and Computing, vol.1, no. 1, pp. 51–62, 2004.
S. Labiod, M. S. Boucherit, 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.
H. Yousef, E. El-Madbouly, D. Eteim, M. Hamdy. Adaptive fuzzy semi-decentralized control for a class of large-scale nonlinear systems with unknown interconnections. International Journal of Robust and Nonlinear Control, vol. 16, no. 15, pp. 687–708, 2006.
H. Yousef, M. Hamdy, E. El-Madbouly, D. Eteim. Adaptive fuzzy decentralized control for interconnected MIMO nonlinear subsystems. Automatica, vol. 45, no.2, pp. 456–462, 2009.
H. Yousef, M. Hamdy, E. El-Madbouly. Robust adaptive fuzzy semi-decentralized control for a class of large-scale nonlinear systems using input-output linearization concept. International Journal of Robust and Nonlinear Control, vol. 20, no. 1, pp. 27–40, 2010.
J. X. Lee, G. Vukovich. The dynamic fuzzy logic system: Nonlinear system identification and application to robotic manipulators. Journal of Robotic Systems, vol. 14, no. 6, pp. 391–405, 1997.
J. X. Lee, G. Vukovich. Stable identification and adaptive control: A dynamic fuzzy logic system approach. Fuzzy Evolutionary Computation, Dordrecht, Boston: Kluwer Academic Publishers, pp. 224–248, 1997.
O. V. R. Murthy, R. K. P. Bhatt, N. Ahmed. Extended dynamic fuzzy logic system (DFLS) based indirect stable adaptive control of non-linear systems. Applied Soft Computing, vol. 4, no. 2, pp. 109–119, 2004.
M. Hamdy, G. El-Ghazaly. Extended dynamic fuzzy logic system for a class of MIMO nonlinear systems and its application to robotic manipulators. Robotica, vol. 31, no. 2, pp. 251–265, 2013.
S. C. Tong, H. X. Li, W. Wang. Observer-based adaptive fuzzy control for SISO nonlinear systems. Fuzzy Sets and Systems, vol. 148, no. 3, pp. 355–376, 2004.
Acknowledgement
The author would like to thank Professor Hasan A. Yousef, of Alexandria University, as well as the editors, and the anonymous reviewers for their inspiring encouragement and constructive comments, which have contributed much to the improvement of the clarity and presentation of this paper.
Author information
Authors and Affiliations
Corresponding author
Additional information
Mohamed Hamdy received the B.Sc., M. Sc. and Ph. D. degrees in automatic control engineering from Menofia University, Egypt in 1995, 2002, and 2007, respectively. He is currently an assistant professor at Industrial Electronics and Control Engineering Department, Faculty of Electronic Engineering, Menofia University, Egypt.
His research interests include adaptive control, intelligent control systems, large scale systems, and nonlinear control systems.
Rights and permissions
About this article
Cite this article
Hamdy, M. State Observer Based Dynamic Fuzzy Logic System for a Class of SISO Nonlinear Systems. Int. J. Autom. Comput. 10, 118–124 (2013). https://doi.org/10.1007/s11633-013-0704-2
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11633-013-0704-2