Documentation |
This topic discusses the so-called Sugeno, or Takagi-Sugeno-Kang, method of fuzzy inference. Introduced in 1985 [9], it is similar to the Mamdani method in many respects. The first two parts of the fuzzy inference process, fuzzifying the inputs and applying the fuzzy operator, are exactly the same. The main difference between Mamdani and Sugeno is that the Sugeno output membership functions are either linear or constant.
A typical rule in a Sugeno fuzzy model has the form
If Input 1 = x and Input 2 = y, then Output is z = ax + by + c
For a zero-order Sugeno model, the output level z is a constant (a=b =0).
The output level z_{i} of each rule is weighted by the firing strength w_{i} of the rule. For example, for an AND rule with Input 1 = x and Input 2 = y, the firing strength is
$${w}_{i}=AndMethod({F}_{1}(x),{F}_{2}(y))$$
where F_{1,2} (.) are the membership functions for Inputs 1 and 2.
The final output of the system is the weighted average of all rule outputs, computed as
$$\text{FinalOutput=}\frac{{\displaystyle \sum _{i\text{=}1}^{N}{w}_{i}{z}_{i}}}{{\displaystyle \sum _{i=1}^{N}{w}_{i}}}$$
where N is the number of rules.
A Sugeno rule operates as shown in the following diagram.
The preceding figure shows the fuzzy tipping model developed in previous sections of this manual adapted for use as a Sugeno system. Fortunately, it is frequently the case that singleton output functions are completely sufficient for the needs of a given problem. As an example, the system tippersg.fis is the Sugeno-type representation of the now-familiar tipping model. If you load the system and plot its output surface, you will see that it is almost the same as the Mamdani system you have previously seen.
a = readfis('tippersg'); gensurf(a)
The easiest way to visualize first-order Sugeno systems is to think of each rule as defining the location of a moving singleton. That is, the singleton output spikes can move around in a linear fashion in the output space, depending on what the input is. This also tends to make the system notation very compact and efficient. Higher-order Sugeno fuzzy models are possible, but they introduce significant complexity with little obvious merit. Sugeno fuzzy models whose output membership functions are greater than first order are not supported by Fuzzy Logic Toolbox™ software.
Because of the linear dependence of each rule on the input variables, the Sugeno method is ideal for acting as an interpolating supervisor of multiple linear controllers that are to be applied, respectively, to different operating conditions of a dynamic nonlinear system. For example, the performance of an aircraft may change dramatically with altitude and Mach number. Linear controllers, though easy to compute and well suited to any given flight condition, must be updated regularly and smoothly to keep up with the changing state of the flight vehicle. A Sugeno fuzzy inference system is extremely well suited to the task of smoothly interpolating the linear gains that would be applied across the input space; it is a natural and efficient gain scheduler. Similarly, a Sugeno system is suited for modeling nonlinear systems by interpolating between multiple linear models.
To see a specific example of a system with linear output membership functions, consider the one input one output system stored in sugeno1.fis.
fismat = readfis('sugeno1'); getfis(fismat,'output',1)
This syntax returns:
Name = output NumMFs = 2 MFLabels = line1 line2 Range = [0 1]
The output variable has two membership functions.
getfis(fismat,'output',1,'mf',1)
This syntax returns:
Name = line1 Type = linear Params = -1 -1
getfis(fismat,'output',1,'mf',2)
This syntax returns:
Name = line2 Type = linear Params = 1 -1
Further, these membership functions are linear functions of the input variable. The membership function line1 is defined by the equation
$$output=(-1)\times input+(-1)$$
and the membership function line2 is defined by the equation
$$output=(1)\times input+(-1)$$
The input membership functions and rules define which of these output functions are expressed and when:
showrule(fismat) ans = 1. If (input is low) then (output is line1) (1) 2. If (input is high) then (output is line2) (1)
The function plotmf shows us that the membership function low generally refers to input values less than zero, while high refers to values greater than zero. The function gensurf shows how the overall fuzzy system output switches smoothly from the line called line1 to the line called line2.
subplot(2,1,1), plotmf(fismat,'input',1) subplot(2,1,2),gensurf(fismat)
As this example shows, Sugeno-type system gives you the freedom to incorporate linear systems into your fuzzy systems. By extension, you could build a fuzzy system that switches between several optimal linear controllers as a highly nonlinear system moves around in its operating space.