Professional Documents
Culture Documents
FCMAC: A Fuzzified Cerebellar Model Articulation Controller With Self-Organizing Capacity
FCMAC: A Fuzzified Cerebellar Model Articulation Controller With Self-Organizing Capacity
Key Words,--Fuzzy control, neural nets, learnmg systems, self-orgamzmg systems, model reference
control, multwanable systems, b~omed~cal
modifications to the design of receptive field noted that despite some significant achievements
shapes Parks and Mihtzer (1992) presented five via both approaches, the situation is far from a
training algorithms with extensive comparative complete and satisfactory resolution, particularly
studies on the convergence property possessed in the latter case and also when multlvarlable
by these algorithms Theoretical results concern- systems are involved These aspects are the
lng the CMAC's learning convergence and concern of the present work
approximation ablhty have been investigated This paper, from a pure engineering view-
based either on matrix equation theory (Elhson, point, without paying particular attention to the
1991, Parks and Mlhtzer, 1989, Wong and biological plausibility, presents a fuzzified
Sideris, 1992) or on functional approximation CMAC network (FCMAC) acting as a multi-
theory (Cotter and Guillerm, 1992) variable adaptive controller with the feature of
One of the central issues concerning the self-organizing association cells and the further
design of a CMAC network is how to choose, in ability of self-learning the required teacher
response to an input vector #, NL memory signals when applied to control problems Two
locations from N (N > NL) locations where the key ideas underlying the proposed approach are
function values are distributedly stored such that (1) the original CMAC is fuzzlfied, based upon
the summed value v of NL weights is a the observation of the close equivalence between
reasonable approximation of the desired v * = the CMAC and a slmphfied fuzzy control
f ( # ) This issue has been dealt with using a algorithm (SFCA) proposed by the authors
series of techniques consisting of dlscretizlng, (Nie, 1987, 1989), (2) the fuzzlfied CMAC,
quantizing, coding, and hashing Considerable referred to as FCMAC. is constructed automati-
complexity arises from using these procedures, cally by introducing self-organizing and self-
particularly when a high-dimensional input space learning schemes operating in real-time In
is involved Once the addressing scheme is particular, we suggest that Albus's codmg-
specified, the CMAC becomes a single layered algorithm-based content-addressable technique
network and therefore its data storage or can be replaced naturally by our stmdartty-
training can be carried out in a simple way by measure-based content-addressable scheme
any supervised training algorithm (e g Albus, Furthermore. we will show how the multlvarl-
1975b, Parks and Mihtzer, 1992) able FCMAC-based controller, starting from
However, upon adopting the CMAC as a zero knowledge, organizes its own structure and
controller, a forbidding problem arises immedi- associated weights dynamically via repeatedly
ately as to where the training examples or interacting with the controlled process Since the
teacher signals come from, which is the same FCMAC can be viewed as either a three layered
problem as to where the control rules, or control network or a rule-base representation mechan-
experts, come from in the design of a rule-based ism, the learning control system described here
fuzzy controller Thus, two learning processes can be thought of as either a completely
are generally involved m neural network-based unsupervised fuzzy-neural control strategy or
control systems in general and CMAC-based equivalently as an automatic real-time rule-base
control systems in particular where, apart from acquisition scheme for fuzzy controllers In
learning the network parameters, the teacher addition, the work reported here is one of the
signals used to guide the parameter learning results of our effort to functionally and
must be learned as well Proposed solutions to structurally integrate fuzzy logic with neural
this difficult and challenging problem have been networks (Nle, 1992, Nle and Llnkens, 1992a)
based on either forward or inverse model-based As a demonstration case-study, we have applied
indirect approaches (e g Jordan and Rumelhart, the proposed approach to a multlvanable blood
1992, Miller, 1990b, Nguyen and Widrow, 1990, pressure control problem which is characterized
Tolle et al, 1992, Werbos, 1990) or learning- by strong interaction between variables together
based direct schemes (e g Barto et al, 1983, with pure time delays
Barto, 1990, Berenji, 1992, Lmkens and Nie, The paper is organized as follows In Section
1992a, b, Nie and Linkens, 1994a-c, Procyk and 2, we describe a multi-input multi-output
Mamdaml, 1979) While the former approaches simplified fuzzy control algorithm (SFCA)
require some kind of process model and are Section 3 is devoted to deriving the fuzzlfied
generally complicated (though systematic), the CMAC network by drawing some equivalence
latter schemes rely on extensive and direct between the SFCA and the original CMAC The
interaction with the process and are more schemes for self-construction of the FCMAC-
attractive not only because they are simpler, but based controller are presented in Section 4 and
also because they are more closely related to the simulation results on the multivariable
machine learning and lnteihgence It should be control of blood pressure are given in Section 5
FCMAC 657
The paper ends with conclusions given in Section parameters, M~., and tY..,, or M~,k and tYvk,
6 where M~., (M~,k) lS the center element of the
support set of A j, (B~), and tY.,, (tYv.k) is the
2 SIMPLIFIED F U Z Z Y CONTROL A L G O R I T H M half-width of the support set Hence A j, and B~,
(SFCA) may be expressed as
Assume that the controlled process is multi-
A~,, = (MJ.,,, ~u ,) B~,k= (M~,k, ~Yvk)
variable with m inputs and m outputs The
inputs to the fuzzy controller are various By using the above notation, t h e / t h rule may be
combinations of control error, change-in-error, written as
and sum of error with respect to each controlled
IF (MJ. 1, ~. 1) AND • (MJ..,/~.,.)
variable In what follows, it is assumed that the
controller input is composed of n variables THEN (M~ l, (~/v 1) AND (M~ m, (~Jvm)
denoted by u, The output of the fuzzy controller Let the Input space g)= (/_/i x U2 x x U.)•
consists of m variables denoted by Vk Thus, a R" be a compact product space, and M~=
n x m controller ts used to control a m x m (M~, 1, M~ 2, , MJ..) • g2 and A~ =
process with n > m in general Furthermore, (6~ l,/i~,2, , 6~.n) be two n-dimensional vec-
assume that there are P rules in the rule-base, tors Then the IF part of the ! th rule may be
each of which has the form viewed as creating a subspace Q J • fl whose
IF 01 is A~I AND AND On IS A~ center and radius are M~ and A~ respectively or
THEN V1 is B~ AND V2 ts B~ A N D . as defining a rule pattern M A c ( I ) = (M~, A~)
AND I;',, is B~, Slmtlarly n current inputs u0,• U, ( t =
1, 2. , n), with u0, being a singleton, can also
where U, and f'k are hnguisttc variables be represented as a n-dimensional vector Uo in
corresponding to the numerical variables u, and and wtll be referred to as an input pattern
Vk, A ~, and B~, are fuzzy subsets representing Geometrically, a rule pattern can be VlSuahzed
some hngutstlc terms and are defined on the as consisting of a set of points (vectors) centered
corresponding universes of discourse U, and Vk at MJ. with a neIghbourhood defined by A~ with
which are assumed to be compact on R constraints zmposed by the corresponding mem-
A traditional fuzzy controller typtcally consists bership grades P rule patterns partition Q into
of three basic modules fuzzificatlon, Inference P subspaces which are typically overlapping to
algonthm, and defuzzlficatton Among these, the some degree along the boundaries due to the
reasoning algorithm usually comprises three effect of fuzziness On the contrary, a measured
further substages, namely, computing the mat- input is just a determined point situated in the
chmg degrees between the current fuzzy inputs same space as the rule patterns Figure 1 shows
with respect to each rule's IF part, determming an example of a rule pattern and an input
which rules should be fired, and combming these pattern in two-dimensional input space
fired rules' THEN parts with different strengths The fuzzy control algorithm can be considered
into the final fuzzy sets (Lmkens and NIe, to be a process in which an appropriate control
1992a) By taking the nonfuzzy property action IS deduced from a current input and P
regardmg the numerical input/output of the rules according to some prespectfied reasonmg
fuzzy controller into account, we have derived a algorithms We spht the whole reasoning
very simple but efficient MISO fuzzy control
u21
algorithm SFCA which consists of only two main
steps, i e pattern matching and weighted
averaging, thereby eliminating the necesstty for 281
the fuzzlfylng and defuzzlfylng procedures (Nle,
1987, 1989) The basic Idea is to make the
approximate reasoning strategy usually derived Input pattern
for hngulstlc vanables suitable directly for use (Uo], uo~)
wtth numerical variables by introducing notions
of patterns and pattern matching The algorithm
can be extended to the MIMO case in a
straightforward way and is described below
f
To begin with, we assume that A~ and B~, in u!
the rules are normahzed fuzzy subsets whose
membership functtons are defined umquely by
triangular forms on the corresponding universes, FIG 1 Rule pattern and input pattern m two dimensional
each of which ts characterized by only two mput space
658 J NIE and D A LINKENS
procedure into two phases pattern matching and rules are utihzed and they are the only elements
weighted averagmg The first operation deals havmg the maximum membershtp grade 1 in the
with the IF part for all rules, whereas the second corresponding support sets, the algortthm can be
one revolves an operation on the T H E N part for understood as a modified maxtmum membershtp
the fired rules From the pattern concept decismn scheme in which the global center is
introduced above, we need to compute the calculated by the center of gravtty algortthm
matching degrees between the current input Because symmetrical membership functions with
pattern (a point in fl) and each rule pattern (a an identical width are assumed, the effect
set of points m Q) Because the two patterns are produced by omitting the width attached to the
now formulated numerically in the same manner T H E N part can be neglected, thereby suggesting
and are mterpreted geometrically tn the same that the algorithm (3) ts justified, and the widths
space, it ts straightforward to adopt some in the T H E N parts can be removed from the
geometric concepts to measure the s~milarity of onglnal rules As a result, the / th rule is further
the two patterns Two approaches to performing simplified as " I F M A . ( I ) T H E N M~", where
this task are based on the notions of volume M~ = [M~ 1, MJv,2, , M~ ,~] IS a center value
ratio and relative distance Since the distance vector of the T H E N part of the I th rule
approach is more relevant to existing network
concepts, we present only this algorithm as
3 FUZZIFIED CMAC
follows
Denote the current input by uo = 3 1 Descnpuon of the C M A C
(u01, u02, , uon) Then the matching degree The C M A C is designed to represent ap-
denoted by sJe [0, 1] between Uo and the / t h proximately a multi-dimensional function by
rule pattern M A . ( / ) can be measured by the associating an mput vector # e U c R n with a
relationship given by corresponding function vector v e V ~ R m,
s' = 1 - OJ(uo, M A . ( / ) ) , (1) where U is usually assumed to be discrete and
fimte As shown in Fig 2, the C M A C has a
where DJ(uo, M A . ( / ) ) • [0, 1] denotes the rela- similar structure to a three layered network with
tive distance from u0 to M A u ( l ) D j can be association cells playing the role of hidden layer
specified in several ways With the assumption of umts Mathematically, C M A C may be described
an tdentlcai wtdth t5 for all the fuzzy sets At, the as consisting of a series of mappings U--~ A ~ V
computational definitton of D j is gwen by where A is a N-dimensional cell space
A fixed mapping U--~A transforms each # e U
1" IIML- u,,ll
|
if IIM~ - Uoll -< c5 into an N-dimensional binary association vector
a(#) m which only Nt. elements have the values
otherwise of one, where N L < N is referred to as the
generahzatlon width In other words, each #
where II II denotes distance metncs which can activates precisely NL assoctatlon cells or
be Euclidean, Hamming, or Maximum geometncally each # is associated with a
It is ewdent that, from (1) and (2), if uo and neighbourhood m which N/. cells may be
M A . ( / ) are fully matched, 1 e uo IS exactly the
same as the center vector MJ., then D j = 0 ,
leading to the matchmg degree s j being one On
the contrary, if they are completely unmatched,
t e uo is on or outside the boundary of M A . ( I )
determmed by the corresponding metric of AJ.,
then D j = 1 and thus s j = 0 0 t h e r w t s e 0 < D j < 1
and 0 < s j < 1, mdicatlng a parttal matching
Suppose that for a spectfic input uo and P
rules, after the matching process
included An Important property of the CMAC Mg.k, and P, the former equivalence can be
is local generahzatlon derived from the fact that made clearer as follows
nearby input vectors /~, and /,j have some Instead of saying that each input # is
overlapping nelghbourhood and therefore share associated with a nelghbourhood specified by
some common assocmtlon cells The degree to NL, we can equally consider that each
which the nelghbourhoods of /z, and /,j are association cell ~ Is associated with a neigh-
overlapping depends on the Hamming distance bourhood centered at, say, oY e U referred to as
H,~ of/~, and/~j If H,j Is small, the mtersectton of the reference vector, with the width controlled
t~, and/,j should be large and wce versa. At some by NL If a current input # is within the
values of H,j greater than Nt., the mtersecUon nelghbourhood of ~ , that cell is regarded as
becomes null indicating that no generahzation being active In this view, the associate vector
OCCUrs a(#) can be denved by operating N
According to the above prlnople, Albus nelghbourhood functions ~ ( t d , #) with respect
developed a mapping algorithm consisting of two to #, where
sequential mappings U---~M--~A which per-
forms a content-addressmg task The n ~(,o', ~,)= {10 i f . ~ ga (5)
otherwise'
components of /~ are first mapped into n
NL-dlmens~onal vectors and these vectors are that is, a(/~)= (~01, ~O2, , ~/,N) By appropn-
then concatenated into a binary association ately selecting the ~ , a(/,) can be made to
vector a w~th only Nr elements being one. Albus contain only Nt ones Now it becomes evident
also suggested an approach to reducing further that the associate vector a is similar to the
the N assocmtlon cells mto a much smaller set by matching degree vector s except that the former
a hashing code Thus, the above mapping uses the cnsp nelghbourhood function, whereas
algonthm involves a series of procedures such as the latter adopts the graded one In fact, by
d~scretizmg, coding, and possibly hashing It ~s letting s * j = l for s j > 0 and s * j = 0 for other
evident that the computation and ~mplementa- cases, the vector a will be precisely equal to the
Uon complexity will increase dramatically w~th vector s*, indicating that the former is a special
an mcrease of dimension of the input space case of the latter We notice that a natural
The A ~ V mapping ~s simply a procedure of measurement of whether/* belongs to ~ in (5) is
summing the weights of the assoc~Uon cells to use some distance metric relevant to the
excited by the input vector /z to produce the generahzaUon width NL In fact, Albus himself
output More specifically, each component ok is (1975a) discussed the question of how the
gwen by overlapping of /z, and /~j ts related to the
N Hamming distance of /,, and /,j although he did
Ok = ~ aJ(/t)~r~,, (4) not formulate explicitly th~s concept into the
/=1
mapping process U---, A
where ~r~, denotes the weight connecting the ! th Now we are in a position to implement a
assocmUon cell to the k th output Notice that FCMAC by replacing equauon (4) with (3),
only NL association cells contnbute to the where Albus's coding algorithm-based content-
output addressing technique is replaced by our stmda-
nty measure-based content-addressing approach
3 2 Fuzztfied CMAC Several advantages can be identified by this
By carefully respecting the SFCA and the replacement The concept of the graded
CMAC, we have concluded that there exist some matching degree not only provides a clear
striking similarities between these two systems interpretation for U---~A mapping, but also
Functionally, both of them perform a function offers a much simpler and more systematic
approx~mauon m an interpolative look-up table computing mechamsm than that proposed by
manner with an underlying pnncaple of generah- Albus where some very complicated addressing
zatlon and dichotomy to produce similar techniques are utilized and further hashing code
outputs in response to s~mllar input patterns and may be needed to reduce the storage In
produce independent outputs to d~sslmtlar input addmon, as noted by Moody (1989) and Lane et
patterns From the computaUonal point of view, al (1992), the graded nelghbourhood functions
mapping U--~A corresponds to the calculaUon overcome the problem of discontinuous resp-
of the matching degree m the SFCA, and onses over nelghbourhood boundaries due to the
mapping A---~ V corresponds to the weighted crisp neighbourhood functions However, in
averaging procedure gwen by (3) While the order to use FCMAC, reference vectors toj must
latter slmdanty is apparent by comparing (3) be specified m advance Fortunately, this
with (4), where a j, ar~,, and N correspond to sj, requirement can be met by introducing a
660 J NIE and D A LINKENS
~
If J is the w m n e r
+
1
nJ(t)=n~(t-1)+ l, aJ(t)=--
~,.~or ec nJ(t) '
N ( t ) = N ( t - 1) (8)
toJ(t) = to'(t - 1) + a ~ [u(t) - t o J ( t - 1)]
a N(O= 1 (9)
the last iteration, and to discard all other the learning error by el., defined as the
lnactwe cells" difference between the output Yd of the model
Mt+~(0) = Mr(T) - M)naetlve and the output yp of the process, the overall goal
I
of the learning system is to force the learning
o¢,+,(o) =
error eL(t) asymptotically to zero or to a
~+,(0) = ~(T) , (10)
predefined tolerance region e within a time
1 = 1, 2, , M,+,(O) interval of interest [0, T] by repeatedly operating
the system
where I denotes the iteration number
In hght of the above learning objective and by
taking the process time delay into account, the
4 2 Self-learnmg ~r learning law is given by
Supposing that the k desired output v~
corresponding to the current CMAC mput u is
v*'+l(t) = v*t(t) + PLeL t(t + X)
known, Albus (1975b) developed a training
algorithm spreadmg the output error evenly to a + QLCL t(t + ~), (13)
fixed NL associaUon cell weights contnbutmg to
the present output Vk(U) The algonthm is where v *t, v *t+ ~ ~. R m are on-line learning
essentmlly a special case of the gradient descent teacher vector-valued functions at the I th and
algonthm with the learning rate being fl/NL with the (l + 1)th lteratmns respectively, eLa, cL,~e
0 < f l -<- 1 More specifically, the algonthm is R m are learning error and change of learning
gwen by error defined by CL,t(t) = eL I(t + 1) -- eL I(t), ~, IS
an estimated time advance corresponding to the
A~r~ = fl[(v~ - v k ( u ) ) a q / N L (11)
time delay of the process, and PL, QL ~ R m×m
Notice that only NL weights are adjusted by the are constant learning gain matrices
same amount due to a j
Following the standard gradient procedure,
the update rule of FCMAC subject to the R e m a r k 1 Under certain mild assumptions
weighted averaging output scheme (3) can be about the process being controlled, the learning
denved easily and is gwen by convergence of (13) with respect to iteration can
be assured (Lmkens and Nle, 1994), prowded
A~lk = fl[(v?, - Vk(U))a')l ~ a' (12) that the learning gains are chosen appropriately
tt-l=l
respectwely It ~s ewdent that the model Is Figure 4 shows an example of the output
characterized by strong mteracUons between the responses of the process after 10 ~terat~ons w~th
variables and large Ume delays m control the desired responses m&cated by dashed lines
It should be emphasmed that the above model In this example the samphng time was 30 s and
is used merely to model and simulate the the controller comprised four inputs (errors and
controlled process The learner, FCMAC, does change-m-errors) and two outputs using the
not rely on exact quantltatwe knowledge about following parameters learning matrices P / =
the process model However, some qualltatwe drag {0 05, - 0 05} and QL = 0, estimated time
knowledge should be avadable which is used to advance ~ = 5, learning rate fl = 0 1, threshold
pmr the inputs and outputs, specify the reference a o = 0 1, and the Euchdean distance with
model, and choose the signs for the learning 6 = 0 1 It can be seen the process followed the
gams The required knowledge includes basic desired responses satisfactorily
control characteristics of the inputs/output By fixing the controller parameters as above,
variables and approximate time delays m the adaptive ability of the controller was
control, and Is usually not &fficult to obtain In exammed w~th respect to varlaUons of the
tMs study, phymologlcal considerations reveal process parameters and to the desired perfor-
that C O / D O P with a posltwe control gain and mance reqmrements F~gure 5 shows the
MAP/SNP with a negatwe gam pmrs should be normahzed squared sum of learnmg error eL
made smce DOP is prlmardy used to increase (NSSE) against the iteration number when four
CO, and SNP is mainly aimed at lowering MAP different desired responses obtained by altering
In order to verify the apphcabdlty of the parameters m the reference model were
SAMPLING INSTANT
30"
25"
-4
A20"
U )
~15"
8
I0" -10
-12
. . . . . . . , . . . , . . . , - _ . ,
-14
20 40 60 80 100
SAMPLING INSTANT
FIG 4 O u t p u t responses after l e a rmng iterations
FCMAC 663
~0.6' ~06"
'~04' .~04'
N N
,,..4
"~0.2
0 0¢.,
. . . . " ~ II'lJ a F
2" 3" 4" 5" 6 7' 8 9 I0" 11" 3 4 5 6 7' 8" 9' I0' Ii'
iteration iteratlon
FIG 5 AdapUve abthty to desired responses FIG 7 Convergence to learmng rates
OilI
{o 0
o
o
2" 3" 4" 5" 6" 7' 8" 9" i0' Ii" 2 3 4 5 6 7 8 9 I0 II
iteration iteration
FIG 6 Adaptmveability to process parameters FIG 8 Convergence to wmdthsand thresholds
reqmred Figure 6 g~ves the results when the on these parameters the btgger ¢5, the fewer
process parameters were changed by 10% from cells, and the bigger ao, the more cells
their nominal values It ~s evident that the Corresponding to Fig 8, the cells created after
controller is able to adapt to vanous perfor- 10 ReraUons were 14, 11, 18, 16, and 13
mance reqmrements and d~fferent process respecUvely, which correlates wRh the above
parameters m the sense that after a few gmdeline
iterations, the NSSEs tend to stable, small
values.
The convergence property of the system wRh 6 CONCLUSIONS
regard to the controller parameters was also We have presented an approach to fuzzffymg
examined Figure 7 shows the results produced the CMAC into FCMAC and extended this to
with different fl and PL Compared with fl, PL self-constructing systematically a FCMAC-based
has a more sgmficant effect on the learning multlvanable controller wa learning The system
convergence As would be expected, however, has the following features (a) the graded
the convergence property ~s not very sensmve to nelghbourhood funcuon overcomes the problem
the width 6 and the threshold ao This is clearly of discontinuous responses over nelghbourhood
indicated m Fig 8 where an almost identical boundaries; (b) the matching degree algorithm
curve was obtained for all cases However, the provides a simple similarity-measure-based
number of created cells was strongly dependent content-addressable scheme capable of deahng
664 J NIE a n d D A LINKENS