Professional Documents
Culture Documents
www.elsevier.com/locate/automatica
Brief paper
Structural analysis of fuzzy controllers with nonlinear input fuzzy sets in
relation to nonlinear PID control with variable gains
Amin Haj-Ali, Hao Ying∗
Department of Electrical and Computer Engineering, Wayne State University, Detroit, MI 48202, USA
Received 30 August 2002; received in revised form 6 May 2003; accepted 30 March 2004
Abstract
The popular linear PID controller is mostly e3ective for linear or nearly linear control problems. Nonlinear PID controllers, however,
are needed in order to satisfactorily control (highly) nonlinear plants, time-varying plants, or plants with signi5cant time delay. This paper
extends our previous papers in which we show rigorously that some fuzzy controllers are actually nonlinear PI, PD, and PID controllers
with variable gains that can outperform their linear counterparts. In the present paper, we study the analytical structure of an important
class of two- and three-dimensional fuzzy controllers. We link the entire class, as opposed to one controller at a time, to nonlinear PI,
PD, and PID controllers with variable gains by establishing the conditions for the former to structurally become the latter. Unlike the
results in the literature, which are exclusively for the fuzzy controllers using linear fuzzy sets for the input variables, this class of fuzzy
controllers employs nonlinear input fuzzy sets of arbitrary types. Our structural results are thus more general and contain the existing
ones as special cases. Two concrete examples are provided to illustrate the usefulness of the new results.
? 2004 Elsevier Ltd. All rights reserved.
Keywords: Fuzzy control; PID control; Variable gain control; Analytical structure; Nonlinear fuzzy sets
0005-1098/$ - see front matter ? 2004 Elsevier Ltd. All rights reserved.
doi:10.1016/j.automatica.2004.03.019
1552 A. Haj-Ali, H. Ying / Automatica 40 (2004) 1551 – 1559
Mamdani fuzzy PI controller was realized and con5rmed sets, into two classes: nonlinear PID controllers and non-PID
when it was used for real-time feedback control of mean controllers.
arterial pressure in open-heart surgery patients at the Car- This paper, concerning an important class of Mamdani
diac Surgical Intensive Care Unit (Ying, McEachern, & fuzzy controllers, substantially extends the existing results
Sheppard, 1992). The fuzzy controller was judged to out- in the literature. It addresses the following essential issues:
perform a nonlinear PI controller that had been well es-
tablished for the same application through thousands of 1. Can fuzzy controllers with nonlinear input fuzzy sets also
patient trials. The proportional and integral gains of that structurally become nonlinear PI, PD, or PID controllers
PI controller changed with the state of the blood pressure with variable gains? Nonlinear fuzzy sets, such as Gaus-
based on a nonlinear gain table developed by the controller sian functions and logistic functions, are important and
designer (Sheppard, 1980). widely used. By “structurally become nonlinear PI, PD,
Additionally, the input–output relationship of some other or PID controllers,” we mean that a controller whose in-
Mamdani fuzzy controllers has also been revealed and put–output relation can be expressed, explicitly or im-
linked to that of the PID control (Chen, Wang, Hsieh, & plicitly, in the form of PI, PD, or PID control with the
Chang, 1998; Hajjaji & Rachid, 1994; Lewis & Liu, 1996; gains being variable changing with input variables. This
Li & Gatland, 1995; Mann, Hu, & Gosine, 1999; Wong, representation must be genuine in that the relation cannot
Chou, & Mon, 1993). The controllers in all these investiga- be further simpli5ed.
tions, including Ying et al. (1990) and Ying (1993a), have 2. If the answer is yes, what are the conditions for this to
two common aspects. First, they all used linear fuzzy sets happen? Is it possible to judge such occurrence without
for fuzzifying the input variables. Nonlinear fuzzy sets have derivation of the input–output relation of the fuzzy con-
not been studied except in a very recent paper of ours (Ying, troller? The relation is determined by input fuzzy sets,
2003). Second, the input–output relationship had to be output fuzzy sets, fuzzy rules, fuzzy inference, fuzzy
explicitly derived for each fuzzy controller before one logic operators, and defuzzi5er. Di3erent con5gurations
would even know whether the structure connection with the result in di3erent relations. The answer to this question
PID control exists or not. is important because the structural derivation is diRcult
We have also related the Takagi–Sugeno fuzzy controllers or even impossible for many con5gurations.
that use linear or nonlinear input fuzzy sets to the PID con-
trol (Ying, 1998a, b, 2000a). These are the only results
2. Conguration of fuzzy controllers
available in the literature for the TS fuzzy controllers. The
performance advantages over the linear PID control were
The input variables involved are error, error rate, and
shown through computer simulation of the above medical
error acceleration
control problem (Ying, 2000a).
In addition to the motivation stated above regarding the e(n) = S(n) − y(n); r(n) = e(n) − e(n − 1);
importance and advantages of nonlinear PID control, an-
other rational for our study was related to the methodolog- d(n) = r(n) − r(n − 1);
ical aspects of nonlinear system theory development. It is where S(n) is the reference output signal of the plant con-
well known that unlike linear systems theory, there does trolled at sampling time n and y(n) is the output of the plant.
not, and will not, exist a general theory for nonlinear sys- We will refer to a fuzzy controller using only e(n) and r(n)
tems. Nonlinear systems can only be studied class-by-class or e(n) and d(n) as a two-dimensional fuzzy controller. A
at best and system-by-system at worst. This constraint is fuzzy controller utilizing all the three variables is called a
totally applicable to fuzzy controllers as they are nonlin- three-dimensional fuzzy controller.
ear. That is to say that there will not be a general theory The variables are scaled by design parameters Ke , Kr ,
for nonlinear fuzzy controllers. Therefore, it is important to and Kd . The scaled variables E(n) = Ke e(n), R(n) = Kr r(n),
understand how di3erent choices of various components of and D(n) = Kd d(n) fall in the same universe of discourse,
fuzzy controllers (e.g., input fuzzy sets in this paper) will [ − L; L], of the input fuzzy sets, where L is a design pa-
a3ect the nonlinear classi5cation of the controllers. Such un- rameter. Each scaled variable is fuzzi5ed by two fuzzy sets,
derstanding can lead to more e3ective analysis and design namely “P” (stands for positive) and “N” (stands for neg-
techniques tailored to each class of fuzzy controllers. Con- ative), which are nonlinear, monotonic, and expandable in
ventional nonlinear control system techniques have been de- Taylor series. If a membership function approaches its limit
veloped in this way. It should be noted that controller clas- memberships (0 and 1) asymptotically, L will be in5nite.
si5cation is simple for conventional systems because their We will use
, , and # to denote membership functions for
structures are always explicitly known. In contrast, there is e(n), r(n), and d(n), respectively. The superscript and sub-
little structural understanding of most fuzzy controllers, es- script of these symbols denote, respectively, the class and
pecially those use nonlinear components (e.g., nonlinear in- label (i.e., P and N) of the fuzzy sets. We categorize the
put fuzzy sets). The objective of the present work was to fuzzy sets into two classes: classes 1 and 2 (see below). For
classify the fuzzy controllers, with respect to input fuzzy instance,
P1 (e) signi5es a class-1 fuzzy set for e(n) whose
A. Haj-Ali, H. Ying / Automatica 40 (2004) 1551 – 1559 1553
Membership
µ1N ( x), ηN1 ( x ) µ1P ( x), ηP1 ( x )
1
0.5
(a) 0 x
Membership
µ2N ( x), ηN2 ( x ) µ P2 ( x), ηP2 ( x )
1
0.5
(b) 0 x
Fig. 1. Classes of input fuzzy sets; (a) examples of class-1 fuzzy sets, (b) examples of class-2 fuzzy sets.
Corollary. A fuzzy controller that uses class-1 fuzzy sets The feasibility of establishing similar conditions for
for e(n) and r(n), the singleton output fuzzy sets, product the three-dimensional fuzzy controllers using Zadeh AND
AND operator, the four fuzzy rules, and the centroid de- operator remains unknown. The three-dimensional cases
fuzzi7er structurally becomes a linear PI or PD controller are signi5cantly more diRcult than the two-dimensional
with constant gains in [ − L; L] × [ − L; L] if and only if the ones, regardless which type of AND operator is used.
input fuzzy sets are linear and satisfy Theorem 1. Zadeh AND operator further compounds the diRculty,
mainly because of the necessity of the three-dimensional
We now work on the fuzzy controllers that use Zadeh input space dichotomy. The dichotomy depends on the
AND operator in the rules. Unlike the product AND opera- input fuzzy sets. Even if only the classes 1 and 2
tor, we must 5rst divide [ − L; L] × [ − L; L] into a number fuzzy sets are considered, there are still in5nitely many
of input combinations (IC) (Ying et al., 1990). Since the fuzzy sets, resulting in a huge amount of di3erent di-
fuzzy sets are nonlinear, the input space dichotomy, which chotomies. One must study one by one before the con-
depends on the membership functions, can be complicated ditions can be established (see the proof of Theorem 2
and very diRcult to achieve in many cases. Thus, we limit as an example).
our results to suRcient conditions, as opposed to necessary In light of this discussion, we conclude that our results
and suRcient ones obtained for the fuzzy controllers using provide as complete analysis as possible for fuzzy PI, PD,
the product AND operator. and PID controllers that use nonlinear input fuzzy sets.
The following result relates to Theorem 1, which is about ∀e ∈ (−∞; ∞) and ∀r ∈ (−∞; ∞). tanh(x) is the hyperbolic
the two-dimensional fuzzy controllers that employ product tangent function.
AND operator.
Solution. These two fuzzy sets satisfy class-1 criteria. Be-
Theorem 3. A fuzzy controller that uses e(n), r(n) and cause the overall functions do not meet the conditions of
d(n) which satis7es the conditions of Theorem 1 pairwisely Theorem 1, we can conclude, without any derivation of the
in terms of e(n) and r(n) and e(n) and d(n), the singleton analytical input–output structure of the fuzzy controller, that
output fuzzy sets, the fuzzy rules in Table 1, and the cen- this controller is not structurally equivalent to a nonlinear PI
troid defuzzi7er is structurally equivalent to a nonlinear or PD controller. In other words, the input–output relation
PID controller with variable gains if k3 = 0 and k1 + k2 = 1 of this fuzzy controller cannot be expressed in the form of
in the case of the class-1 fuzzy sets, or k1 + k2 + k3 = 1 in nonlinear PI or PD controller.
the case of the class-2 fuzzy sets.
Example 2. Consider a three-dimensional fuzzy controller
This result depends on, but is not a generalized version that employs input variables e(n), r(n), and d(n), product
of, Theorem 1, which is for the two-dimensional fuzzy con- AND operator, the centroid defuzzi5er, and the eight fuzzy
trollers. The conditions established in Theorem 1 are neces- rules in Table 1. The input fuzzy sets are as follows:
sary and suRcient, while those set up in Theorem 3 are only 1 1
suRcient. It seems to be impossible to obtain necessary and
P (e) = ;
N (e) = ;
1 + exp(−Ke e) 1 + exp(Ke e)
suRcient conditions for the three-dimensional fuzzy con-
trollers, even when the product AND operator is used. We do 1 1
P (r) = ; N (r) = ;
not think that the results for the two-dimensional controllers 1 + exp(−Kr r) 1 + exp(Kr r)
are generalizable to the three-dimensional controllers. We 1 1
tried to generalize them, but failed, making us believe the #P (d) = and #N (d) = ;
1 + exp(−Kd d) 1 + exp(Kd d)
results in this paper not to be generalizable in terms of the
number of input variables. which are class-1 fuzzy sets.
1556 A. Haj-Ali, H. Ying / Automatica 40 (2004) 1551 – 1559
Solution. This controller meets the conditions set by Theo- and for PD control
rem 3. Hence, this fuzzy controller is structurally equivalent 1
uPROD (n)
to a nonlinear PID controller.
P1 (e)1P (r)H +
N1 (e)1N (r)(−H )
5. Conclusions =
P1 (e)1P (r) +
P1 (e)1N (r) +
N1 (e)1P (r) +
N1 (e)1N (r)
Table 2
The result of applying Zadeh fuzzy AND operation to the four fuzzy rules in di3erent ICs
IC1 IC2 IC3 IC4 IC5 IC6 IC7 IC8 IC9 IC10 IC11 IC12
Rule 1 1P (r)
P1 (e)
P1 (e) 1P (r) 1P (r) 1
P1 (e) 0 0 0 0 0
Rule 2 1N (r) 1N (r)
P1 (e)
P1 (e) 1N (r) 0 0 0 0 0
P1 (e) 1
Rule 3
N1 (e)
N1 (e) 1P (r) 1P (r) 0 0
N1 (e) 1 1P (r) 0 0 0
Rule 4
N1 (e) 1N (r) 1N (r)
N1 (e) 0 0 0 0 1N (r) 1
N1 (e) 0
R(n)
terms must be zero simultaneously, leading to a10 + a20 = 1 R(n)
and IC7
V IC8 IC6
a1(2k−1) = a2(2k−1) = a2k−1
L
for k = 1; 2; 3; · · · :
V IC2
a1(2k) = −a2(2k) = a2k
IC3 IC1 E(n)
IC9 IC5
V
0
Here, the sign = means “de5ned as.” The above conditions
IC4
mean
P1 (e) = 1 − 1P (−r) and
N1 (e) = 1 − 1N (−r): -L IC10 IC12
1
VuPROD (n) = (a1 (Ke e(n) + Kr r(n)) + a2 ((Ke e(n))2
2
is a nonlinear PI or PD controller with variable gains (just 2; r k1 PROD (e; r) 2
PROD (e; r; d) = (# (d) + #2P (−d))
treat the denominators as a part of the variable gains). PROD (e; r; d) P
2
Santibanez, V., & Kelly, R. (1998). A class of nonlinear PID global Amin A. Haj-Ali received his B.E. degree in
regulators for robot manipulators. Proceedings of IEEE international Computer and Communications Engineering
conference on robotics and automation (pp. 3601–3606). in 1993 from the American University of
Sheppard, L. C. (1980). Computer control of the infusion of vasoactive Beirut, Beirut, Lebanon, his M.S. degree in
drugs. Annual of Biomedical Engineering, 8, 431–444. Electronics and Computer Control Systems
in 1994, and his Ph.D. in Electrical Engi-
Tan, Y.-H., Dang, X.-J., & van Cauwenberghe, A. (1999). Generalised
neering in 2002 from Wayne State Univer-
nonlinear PID controller based on neural networks. Proceedings of sity, Detroit, USA. Since 1996, Dr. Haj-Ali
information, decision and control (pp. 519–524). worked in various engineering 5elds rang-
Wong, C. C., Chou, C. H., & Mon, D. L. (1993). Studies on the output ing from power generation to broadcast, and
of fuzzy controller with multiple inputs. Fuzzy Sets and Systems, 57, IT. Currently, he works at DaimlerChrysler
149–158. Corporation in the Scienti5c Labs and
Yager, R. R., & Filev, D. P. (1994). Essentials of fuzzy modeling and Proving Grounds, Auburn Hills, USA.
control. New York: Wiley.
Yen, J., Langari, R., & Zadeh, L. A. (Eds.) (1995). Industrial applications Dr. Hao Ying is a Professor at the De-
of fuzzy control and intelligent systems. New York: IEEE Press. partment of Electrical and Computer En-
Ying, H. (1993a). The simplest fuzzy controllers using di3erent inference gineering, Wayne State University. He
methods are di3erent nonlinear proportional-integral controllers with is also a Full Member at Barbara Ann
variable gains. Automatica, 29, 1579–1589. Karmanos Cancer Institute, WSU. Addi-
Ying, H. (1993b). General analytical structure of typical fuzzy controllers tionally, he serves as an Advisory Professor
of Donghua University, Shanghai, China.
and their limiting structure theorems. Automatica, 29, 1139–1143.
He was on the faculty of The University
Ying, H. (1994). Practical design of nonlinear fuzzy controllers with of Texas Medical Branch at Galveston
stability analysis for regulating processes with unknown mathematical between 1992 and 2000. He obtained
models. Automatica, 30, 1185–1195. the B.S. and M.S. degrees in Electrical
Ying, H. (1998a). Constructing nonlinear variable gain controllers via the Engineering from Donghua University in 1982 and 1984, respectively,
Takagi–Sugeno fuzzy control. IEEE Transactions on Fuzzy Systems, and the Ph.D. degree in Biomedical Engineering from The University of
6, 226–234. Alabama at Birmingham in 1990. Besides research in theory and medical
Ying, H. (1998b). The Takagi–Sugeno fuzzy controllers using the applications of fuzzy systems, his current research projects are focused on
simpli5ed linear control rules are nonlinear variable gain controllers. the development of novel biomedical acoustic sensor systems and med-
ical decision-making techniques, both of which are funded by National
Automatica, 34, 157–167.
Institutes of Health.
Ying, H. (2000a). Theory and application of a novel Takagi–Sugeno Professor Ying has published one single-authored research monograph
fuzzy PID controller. Information Sciences, 123, 281–292. entitled Fuzzy Control and Modeling: Analytical Foundations and Ap-
Ying, H. (2000b). Fuzzy control and modeling: Analytical foundations plications (318p., IEEE Press, 2000; foreword by Lot5 Zadeh) as well
and applications. New York: IEEE Press. as 62 peer-reviewed journal papers. He is an Associate Editor of the
Ying, H. (2003). A general technique for deriving analytical structure International Journal of Fuzzy Systems and a Guest Editor for Infor-
of fuzzy controllers that use arbitrary trapezoidal/triangular input mation Sciences and Acta Automatica Sinaca. In 1994, he served as a
fuzzy sets and Zadeh fuzzy logic AND operator. Automatica, 39, Program Chair for The International Joint Conference of North Ameri-
1171–1184. can Fuzzy Information Processing Society (NAFIPS) Conference, In-
dustrial Fuzzy Control and Intelligent System Conference, and NASA
Ying, H., McEachern, M., Eddleman, D., & Sheppard, L. C. (1992). Fuzzy
Joint Technology Workshop on Neural Networks and Fuzzy Logic. He
control of mean arterial pressure in postsurgical patients with sodium has also served as the Publication Chair for the 2000 IEEE International
nitroprusside infusion. IEEE Transactions on Biomedical Engineering, Conference on Fuzzy Systems and as a Program Committee Member for
39, 1060–1070. 17 international conferences. He is the Program Chair for the upcoming
Ying, H., Siler, W., & Buckley, J. J. (1990). Fuzzy control theory: A 2005 NAFIPS Conference.
nonlinear case, Automatica, 26, 513–520.