
FUZZY LOGIC  AN INTRODUCTION
PART 5
This is the fifth in a series of six articles intended to share information and experience in the realm of fuzzy logic (FL) and its application. This article will continue the tutorial discussion on FL by looking at the output membership function and several inference processes. The next article will wrap up the discussion of the ongoing example. To further explore the topic of FL, references are included for interested readers.
In the last article, we left off with the inference engine producing fuzzy output response magnitudes for each of the effective rules. These must be processed and combined in some manner to produce a single, crisp (defuzzified) output.
As inputs are received by the system, the rulebase is evaluated. The antecedent (IF X AND Y) blocks test the inputs and produce conclusions. The consequent (THEN Z) blocks of some rules are satisfied while others are not. The conclusions are combined to form logical sums. These conclusions feed into the inference process where each response output member function's firing strength (0 to 1) is determined.
Figure 7  Degree of membership for the error and errordot functions in the current example
Data summary from previous illustrations:
INPUT DEGREE OF MEMBERSHIP
Now referring back to the rules, plug in the membership function weights from above. "Error" selects rules 1,2,4,5,7,8 while "errordot" selects rules 4 through 9. "Error" and "errordot" for all rules are combined to a logical product (LP or AND, that is the minimum of either term). Of the nine rules selected, only four (rules 4,5,7,8) fire or have nonzero results. This leaves fuzzy output response magnitudes for only "Cooling" and "No_Change" which must be inferred, combined, and defuzzified to return the actual crisp output. In the rule list below, the following ddefinitions apply: (e)=error, (er)=errordot.
The inputs are combined logically using the AND operator to produce output response values for all expected inputs. The active conclusions are then combined into a logical sum for each membership function. A firing strength for each output membership function is computed. All that remains is to combine these logical sums in a defuzzification process to produce the crisp output.
[17] "Estimation of Fuzzy Membership from Histograms, Information Sciences" by B.B. Devi et al (Vol. 35, 1985, pp. 4359).
[18] "Fuzzy Logic" by Bart Kosko and Satoru Isaka (Scientific American, Vol. 269, July 1993, pp. 76).
[19] "Fuzzy Sets, Uncertainty, and Information", by G.J. Klir and T.A. Folger (PrenticeHall, Englewood Cliffs, N.J., 1988).
[20] "Industrial Applications of Fuzzy Control" ed. M. Sugeno (NorthHolland, New York, 1985).
File: FL_PART5.HTM 21398