Stable Adaptive Fuzzy Control of Nonlinear Systems: Li-Xin Wang
Stable Adaptive Fuzzy Control of Nonlinear Systems: Li-Xin Wang
Stable Adaptive Fuzzy Control of Nonlinear Systems: Li-Xin Wang
2, MAY 1993
Abstract- An adaptive fuzzy controller is synthesized from adaptive fuzzy controller is a standard fuzzy logic controller
a collection of fuzzy IF-THEN rules. The parameters of the [8] used in most fuzzy control systems, plus a supervisory
membership functions characterizing the linguistic terms in the control which fires only when the state hits some (large)
fuzzy IF-THEN rules change according to some adaptive law for
the purpose of controlling a plant to track a reference trajectory. boundaries. The initial adaptive fuzzy controller is constructed
These fuzzy IF-THEN rules are either collected from experienced from the fuzzy IF-THEN rules provided by human experts and
human operators or generated automatically during the adapta- some arbitrary rules; an adaptive law is then used to update
tion procedure. In this paper, a direct adaptive fuzzy controller is the parameters of the adaptive fuzzy controller during the
designed for a general higher-order nonlinear continuous system adaptation procedure. If the fuzzy IF-THEN rules from human
through the following three steps: first, define some fuzzy sets
whose membership functions cover the state space; then, use experts provide good control strategies, then the adaptation
fuzzy IF-THEN rules from human experts and some arbitrary procedure will converge very quickly; on the other hand,
rules to construct an initial adaptive fuzzy controller in which if there are no linguistic rules from human experts, then
some parameters are free to change; finally, develop an adaptive our adaptive fuzzy controller becomes a regular nonlinear
law to adjust the free parameters based on a Lyapunov synthesis adaptive controller, similar to the radial basis function adaptive
approach. It is proved that 1) the closed-loop system usiog this
adaptive fuzzy controller is globally stable in the sense that all controller [ 131, [ 141, the neural network adaptive controller
signals involved are bounded and 2) the tracking error converges [ 121-[ 141, etc.
to zero asymptotically if the minimum approximation error of In Section 11, we discuss some general issues concerning
the fuzzy controller to an optimal controller is squared integrable fuzzy control and adaptive fuzzy control and outline the way
along the state trajectory. Finally, we apply this direct adaptive in which adaptive fuzzy controllers are classified. In Section
fuzzy controller to control an unstable system and a chaotic
system. 111, we present a detailed description of fuzzy logic systems
which are used as principal components of our adaptive
fuzzy controller. In Section IV, we design a stable direct
I. INTRODUCTION adaptive fuzzy controller in a constructive manner based on the
F UZZY logic controllers [8] are generally considered appli- Lyapunov synthesis approach. In Section V, the detailed design
cable to plants that are mathematically poorly understood steps of the direct adaptive fuzzy controller are presented,
and where experienced human operators are available for and its properties (boundedness of variables, convergence of
providing qualitative “rules of thumb.” Although achieving tracking error, etc.) are analyzed. In Section VI, the direct
many practical successes, fuzzy control has not been viewed as adaptive fuzzy controller is used to control an unstable sysiem
a rigorous science due to a lack of formal synthesis techniques and a chaotic system. Section VI1 concludes the paper.
which guarantee the very basic requirements of global stability
and acceptable performance. Although there has been some
11. A GENERAL DISCUSSION OF FUZZY CONTROL
research on the stability analysis of fuzzy control systems
(e.g.. [6] and [7]), it has been assumed that the mathematical Fuzzy control is by far the most successful application
model of the plant is known, which contradicts the very basic of fuzzy sets and systems theory to practical problems. The
premise of fuzzy control systems, i.e., to control processes present interest in fuzzy theory is largely due to the successful
that are poorly understood from a mathematical point of applications of the fuzzy logic controllers to a variety of
view. In fact, if the mathematical model of a plant is known, consumer products and industrial systems. Why has fuzzy
then conventional linear and nonlinear control methods should control been so successful?
be given higher priority. Fuzzy control should be useful in
situations where 1) there is no acceptable mathematical model A. Why Fuuy Control?
for the plant and 2) there are experienced human operators
It may be helpful to divide the reasons for why fuzzy control
who can satisfactorily control the plant and provide qualitative
into two categories: theoretical and practical reasons.
control rules in terms of vague and fuzzy sentences. There are
I) Theoretical Reasons for Fuuy Control:
many practical situations where both 1) and 2) are true.
The adaptive fuzzy controller developed in this paper is As a general rule, a good engineering approach should
suitable for these situations. The basic architecture of our be capable of making effective use of all the available
information. If the mathematical model of a system is
Manuscript received June 3, 1992; revised September 5 , 1992. This work too difficult to obtain (this is true for many practical
was supported by the Rockwell International Science Center. systems), then the most important information comes
The author is with the Department of Electrical Engineering and Computer
Sciences, University of California, Berkeley, CA 94720. from two sources: 1) sensors which provide numerical
IEEE Log Number 9205330. measurements of key variables and 2) human experts
1063-6706/93$03.00 0 1993 IEEE
WANG: STABLE ADAPTIVE FUZZY CONTROL I41
who provide linguistic descriptions about the system and software tools available for designing fuzzy controllers.
control instructions. Fuzzy controllers, by design, provide Thus, fuzzy control is an approach that has a high
,a systematic and efficient framework for incorporating performancekost ratio.
linguistic fuzzy information from human experts. Con-
ventional controllers, however, cannot incorporate the
linguistic fuzzy information into their designs. If in some B. Why Adaptive Fuzzy Control?
situations the most important information comes from Fuzzy controllers are supposed to work in situations where
human experts, then fuzzy control is the best choice. there is a large uncertainty or unknown variation in plant
Fuzzy control is a model-free approach; i.e., it does parameters and structures. Generally, the basic objective of
not require a mathematical model of the system under adaptive control is to maintain consistent performance of .
control. Control engineers are now facing more and a system in the presence of these uncertainties. Therefore,
more complex systems, and the mathematical models advanced fuzzy control should be adaptive.
of these systems are increasingly difficult to obtain. What is adaptive fuzzy control? Roughly speaking, if a
Thus, model-free approaches have taken on added im- controller is constructed from adaptive fuzzy systems (an
portance. Conventional control also has some model-free adaptive fuzzy system is a fuzzy logic system equipped with
approaches, e.g., nonlinear adaptive control and PID a training (adaptation) algorithm), it is called an adaptive
control. Fuzzy control provides yet another model-free fuzzy controller. An adaptive fuzzy controller can be a single
approach. adaptive fuzzy system or can be constructed from several
Fuzzy control provides nonlinear controllers, which are adaptive fuzzy systems.
well justified by the universal approximation theorem in How does an adaptive fuzzy controller compare with a
[19], [23]; i.e., these fuzzy logic controllers are gen- conventional adaptive controller? The most important advan-
eral enough to perform any nonlinear control actions. tage of adaptive fuzzy control over conventional adaptive
Therefore, by carefully choosing the parameters of the control is that adaptive fuzzy controllers are capable of incor-
fuzzy controllers, it is always possible to design a fuzzy porating linguistic fuzzy information from human operators,
controller that is suitable for the nonlinear system under whereas conventional adaptive controllers are not. This is
control. especially important for the systems with a high degree of
uncertainty, e.g., in chemical processes and in aircraft, because
In the above theoretical reasons, fuzzy control is viewed as
although these systems are difficult to control from a control
a theory and is evaluated from a theoretical point of view.
theory point of view, they are often successfully controlled
We know that theory and practice have different emphasis.
by human operators. How can human operators successfully
For example, theory emphasizes generality and rigor, while
control such complex systems without a mathematical model
practice emphasizes applicability to particular problems. So,
in their minds? If we ask the human operators what control
why is fuzzy control desirable from a practical point of view?
strategies they follow, they may just tell us a few control
2 ) Pructical Reasons for Fuzzy Control:
rules in fuzzy terms and some linguistic descriptions about
It is easy to understand. Because fuzzy control emulates the behavior of the system under various conditions which
human control strategy, the underlying principle can be are, of course, also in fuzzy terms. Although these fuzzy
easily understood by those who are not control specialists. control rules and descriptions are not precise and may not be
During the last two decades, conventional control theory sufficient for constructing a successful controller, they provide
has been using increasingly advanced mathematical tools. very important information about how to control the. system
This is needed in order to solve difficult problems in a and how the system behaves. Adaptive fuzzy control provides
rigorous fashion; however, this also results in a dimin- a tool for making use of the fuzzy information in a systematic
ishing number of practical engineers who can understand and efficient manner.
the theory. Therefore, practical engineers who are in the How are adaptive fuzzy controllers classified? We classify
front line .of designing consumer products tend to use adaptive fuzzy controllers according to whether the adaptive
approaches that are simple and easy to understand. Fuzzy fuzzy controller can incorporate fuzzy control rules or fuzzy
control is just such an approach. descriptions about the system. We detail this classification
It is simple to implement. Fuzzy logic systems, which next.
are at the heart of fuzzy control, admit a high degree
of parallel implementation. Many fuzzy VLSI chips have
been developed which make the implementation of fuzzy C. Direct and Indirect Aduptitve Fuzzy Control
controllers simple and fast. In the conventional adaptive control literature, adaptive
It is i n e ~ e n s i v eto develop. From a practical point of controllers fall into two categories [ 121: direct and indirect.
view, the development cost is one of the most important In direct adaptive control, the parameters of the controller
criteria for a successful product. Because fuzzy con- are directly adjusted to reduce some norm of the output error
trol is easy to understand, the time necessary to learn between the plant and the reference model. In indirect adaptive
the approach is short; i.e., the “software cost” is low. control, the parameters of the plant are estimated and the
Also, because fuzzy control is simple to implement, the controller is chosen assuming that the estimated parameters
“hardware cost” is also low. What is more, there are represent the true values of the plant parameters.
1
where * is the t-norm (7), and p F ; x F ~ - G l (g,y ) is deter- from U C R" to R, because within each block there are many
mined by the fuzzy implication rules of (2)-(5). The final fuzzy different choices, and many combinations of these choices can
set,,A, o ( R ( l )... . , R("')),determined by all the A4 rules in result in useful subclasses of fuzzy logic systems. We now
the fuzzy rule base is obtained by combining / L ~ , ~ ~ ( L ) of ( Y ) consider one wbclass of fuzzy logic systems which will be
.
(8) for 1 = 1 . 2 , . . . A4 using fuzzy disjunction: used as building blocks of our adaptive fuzzy controller.
Lemma 1: The fuzzy logic systems with center-average
/ J . 4 L o ( R i l ) , ,.,R(,\.'))(Y)= p A , o R ( l ) (?/I+
' ' . + p A z o R i A f l(?/I.defuzzijier ( 1 3 ) , product inference (1 l), and singleton fuzzi$er
(9) are of the following form:
where + denotes the t-conorm [8]; the most commonly used
operations for + are
max(u. w) fuzzy union
u+w =
{+ U *ti - uw
+
'algebraic sum
Inin( 1,U U ) bounded sum.
If we use the product operation (3) and choose * in (6) and
(10)
where jj' is the point at which pGl achieves its maximum
value, and we assume that /iGl(y') = 1.
(8) to be an algebraic product, then the inference is called Proof: Using the center-average defuzzifier (1 3), we have
product inference. Using product inference, (8) becomes
i=l
/"F: ( x i ) (17)
= A,. + ,,[~,(gl@*)- ~,(gl@)]- bc7~,(g)- ~ , U I Assumption 2: There are L fuzzy control rules from human
experts in the following form:
A,P, + bCgT<(:rr) b , ~ , - - bcw, (34)
R p ) : IF :xl is A;' and . . . and s, is is C".
THEN 11,
where U', E @* - @ and <(g)is the fuzzy basis function (19). (41)
Define ?he Lyapunov function candidate where '4; and C" are labels of fuzzy sets in R, and I' =
1 b 1 . 2 , . . L.
' '
v = -eTPe.+
2-
-$T$
27- -'
(35) We allow L = 0, which means that there are no linguistic
control rules; therefore, Assumption 2 is not necessary. We
where Y is a Positive COnstant. Using (34) and (281, we have make this assumption for the purpose of emphasizing that our
direct adaptive fuzzy controller can directly incorporate these
v. = --eTQ
1
2-
+ g =pbc($T <(z) - U, - W) + -4
7-
T '
4.
-
(36) fuzzy control rules (if there are any) into its design. The details
are given next.
Let U,,be the last column of P ; then from (27) we have
v. DESIGNAND STABILITY ANALYSIS
OF
gTPb, = gTpnb. (37) THE DIRECTADAPTIVEFUZZY CONTROLLER
Substituting (37) into (36), we have In this section, we first present the detailed design steps
of the direct adaptive fuzzy controller, and then study its
. 1 b
v= -- C T Q ~ + - ~ ~
2- y-
[yg7pn<(g)+ 41 - ~ T P ~ , ~ L , - ~ T P ~ , ~ . properties.
(38)
If we choose the adaptive law: Design of Direct Adaptive Fuzzy Controller
Step 1 ) Off-Line Processing:
8 = 7eTpllg.).
- (39) Specify the k . 1 . . . . . k,, such that all roots of S ~ ~ + A : ~ S " - ~ +
then (38) becomes . . . + k f , = 0 are in the open left-half plane. Specify a
positive definite 71 x 71 matrix .)C
v' 5 --eTd)P,-
I
2-
gTPbcw, (40)
Solve the Lyapunov equation (28), e.g., using the method
of [24], to obtain a symmetric P > 0.
Specify the design parameters M O , and ,U,, based
where we use,the facts gTPb,u, 2 0 (cf. (30)) and = 4 -6. on practical constraints.
This is the best we can achieve. In order to guarantee 5
.4!l0, we will use a moiection algorithm to modify the basic Step 2 , Initial Construction:
- " I
adaptive law (39); the details are given in Section V. Define 7 n ; fuzzy sets F;' whose membership functions
To summarize, the overall scheme of our direct adaptive j L F 2 1 c uniformly cover tTL, where 1, = 1 . 2 . . . . . rrL, and
fuzzy controller is shown in Fig. 2. 'i = 1 . 2 . . . . . T I , . The I' = U1 x . x U,, is usually chosen
Finally, we specify the linguistic information which can be to be {x E R'l : 11-1 5 h f z } .We require that the F,'"s
directly incorporated into the direct adaptive fuzzy controller. include the Ay's in (41).
152 IEEE TRANSACTIONS ON FUZZY SYSTEMS, VOL. 1. NO. 2, MAY 1993
Construct the fuzzy rule base for the fuzzy logic system and
uc(gl@),which consists of ml x m2 x ... x m, rules
whose IF parts comprise all the possible combinations of
the Fit'sfor i = 1,2, . . . I n. Specifically, the fuzzy rule
base of uc(gl0)consists of the rules
R~"-~"-)
: IF z1 is F,"'and . . . and z,is :F for all t 2 0, where Amin is the minimum eigenvalue of P ,
W ) T .
THEN U, is G(ll,..'>ln) (42) and ym = ( ~ m , Y m , , . . , Y m
ii)
where li = 1 , 2 , .. . ,mi, i = 1 , 2 , . . . , n, and G('"'''>'n)
are fuzzy sets in R, which are specified as follows: if
the IF part of (42) agrees with the IF part of (41),
set G('li.,,,'n) equal to the corresponding C' in (41);
otherwise, set G('1i"',*n-)arbitrarily with the constraint for all t 2 0, where a and c are constants, and w is the
that the centers of G('l).,.i'n) (which correspond to the minimum approximation error defined by (33).
y' parameters) are inside the constraint sets {e
: 181 I (iii) If w is squared integrable, i.e., Iw(t)12dt < 30,
M O } .Therefore, the initial adaptive fuzzy controller is then limt,, le(t)l = 0.
constructed from the fuzzy control rules (41) and some Proof of this theorem is given in the Appendix. We now
arbitrary rules. make a few remarks.
Construct the fuzzy basis functions Remark I : For many practical control problems, the state
z and control U are required to be constrained within certain
-
-3’ ” ” ” ’ ’
I
0 2 4 6 8 10 12 14 16 18 W
t
Fig. 3. Fuzzy membership functions de6ned over the state space. Fig. 4. Closed-loop system state . r ( t ) using the direct adaptive fuzzy
controller for the plant (50) without incorporating any fuzzy control rules.
1
1
to the origin; i.e., y771 E 0. It is clear that the plant (50)
is unstable if without control, because if P L ( ~ ) E 0, then
. lpe-’ -1 L
l + r , - ‘ > 0 for 3: > 0, and :i: = l + e -
.I‘ 1 ~
< 0 for -1
1
3O 2 4 6 8 IO 12 14 16 18 W
define six fuzzy sets over the interval [-3,3], with labels
n’3. AV‘2.1Vl. P1. P2, and P3, and membership functions
+
11 .,-:3 (.I‘) = 1/ ( 1 exp(5(:c + + ’
2) ) ) . p A V 2(:c) = exp( - ( z 1.5) ),
Fig. 5. Closed-loop system state x ( t ) using the direct adaptive fuzzy
controller for the plant (50) after incorporating the fuzzy control rules (51)
/i.~l(.r= ) exp(-(.r + 0 . 5 ) ’ ) . p p ~ ( . r . )= exp(-(:r - 0.5)’). and (52).
p p 2 ( , 1 ‘ )= exp-(:1;-1.5)~) and , u P ~ ( : J ;= ) l/(l+exp(-5(:c-
2 ) ) ) , which are shown in Fig. 3. In step 2 , we consider two
cases: 1 j there are no fuzzy control rules and the initial 0;(0)’s
are chosen randomly in the interval [-a. 21; and 2) there are
two fuzzy control rules:
8 -
4-
6 -
4-
2-
2-
r 0 -
2-
4- 2-
i
-6-
8-
-101
4 - 3 - 2 - 1 0 1 2 3 4
I I I
d4 -3 -2 -1 0 1 2 3 4
X1
X I
Fig. 7. Trajectory of the chaotic system (53) and (54) in the ( ~ 1 ~ x phase
2) Fig. 8. Closed-loop system trajectory ( z l ( t ) z, 2 ( t ) ) using the direct adap-
plane with u ( t ) G 0 and zl(0)= zz(0) = 2. tive fuzzy controller for the chaotic system (53) and (54) for the Abfz = 10
case.
could prevent the system from being unstable, but could not
regulate the state to the origin. The encouraging observation is
that during these “holding periods” the adaptive law adjusted
the parameters of the fuzzy controller U,, and, finally, the fuzzy
4t 1
control “recovered” and finished the control task-regulating
the state to the origin.
We may view the fuzzy controller U , as a lower-level
operator and the supervisory control U , as a higher-level
supervisor. If the operator can perform successful control, the
supervisor just observes and does not take any action. If for
-5 I
some reason the operator cannot control the system well, the 4 - 3 - 2 - 1 0 1 2 3 4
XI
supervisor takes actions to prevent catastrophic consequences.
Fig. 9. Closed-loop system trajectory ( z l ( t ) ~
, ( t )using
) the direct adap-
During this period, the operator learns to correct hisher tive fuzzy controller for the chaotic system (53) and (54) for the .If, = 3
mistakes and regains control. After the system is back to case
normal, the supervisor becomes an observer again. From Fig.
6 we see that our adaptive fuzzy control scheme operated in VII. CONCLUSIONS
exactly the way described above.
In this paper, we developed a direct adaptive fuzzy con-
Example 2: In this example, we consider the Duffing forced
troller which 1) does not require an accurate mathematical
oscillation system:
model of the system under control, 2) is capable of incor-
XI = 2 2 (53) porating fuzzy control rules directly into the controllers, and
j.2 = -0.122 - 2: + 12cos(t) +
u(t). (54) 3) guarantees the global stability of the resulting closed-loop
system in the sense that all signals involved are uniformly
Without control, i.e., u ( t ) 0, the system is chaotic. The bounded. We provide the specific formula of the bounds so that
trajectory of the system with ~ ( t )0 is shown in the (21, z2)
controller designers can determine the bounds based on their
phase plane in Fig. 7 for initial condition zl(0) = z2(0) = 2 requirements. We used the direct adaptive fuzzy controller to
and time period t o = 0 to t f = 60. We now use our direct regulate an unstable system to the origin and to control the
adaptive fuzzy controller to control the system state z1 to track Duffing chaotic system to track a trajectory. The simulation
the reference trajectory ym ( t ) = sin(t ) .In the phase plane, this results show that 1) the direct adaptive fuzzy controller could
reference trajectory is the unit circle: y i +&
= 1. We choose perform successful control without using any fuzzy control
k1 = 2, kz = l , ? = 2, Q = diag(l0,lo), Me = 30, b~ = 1,
rules and 2) after incorporating some fuzzy control rules into
+
and f U = 12 Izl 13. We use the six fuzzy sets shown in Fig. the controllers, the adaptation speed became much faster. We
3 for z1and x 2 , and assume that there are no fuzzy control also showed explicitly how the supervisory control forced the
rules. We simulated two cases: M , = 10 and M, = 3. We state to be within the constraint set and how the adaptive fuzzy
directly integrated the differential equations of the closed-loop controller learned to regain control.
system and the adaptive law with step size 0.02.
The closed-loop trajectories for the M , = 10 and M , = 3 APPENDIX
cases are shown in Figs. 8 and 9, respectively, where the PROOF OF THEOREM 1
initial condition zl(0) = z2(0) = 2 and the trajectories were i) To prove 5 Me, let VO =
from t o = 0 to t f = 60. We see that in both cases our is true, we have either le1 < Me or
If the first line of (45) $eT!.
=~ g ~ p ~ @ I ~ <0 ( z ) ve
adaptive fuzzy controller could control the system to track when I@(= Me; i.e., we always have 5. Me. If the second le(
the reference trajectory. In Fig. 8 the trajectory never hit the line of (45) is true, we have
boundary xf+zg = 10 so that the supervisory control U , never
= Me and Ve = rgTp,,eT<(g) le1
fired. Fig. 9 shows how the supervisory control U, forces the -ye E,
T IslZBTg..)= 0; i.e., (@I 5 M . Therefore, we always
lglz
trajectory to be within the constraint set zf zg 5 3. + have l@(t)(5 Me,b? 2 0.
WANG: STABLE ADAPTIVE FUZZY CONTROL 155