type-凯发k8网页登录

main content

type-2 fuzzy inference systems

for any value in the universe of discourse, a traditional type-1 membership function has a single membership value. therefore, while a type-1 membership function models the degree of membership in a given linguistic set, it does not model uncertainty in the degree of membership. to model such uncertainty, you can use interval type-2 membership functions. in such type-2 membership functions, the degree of membership can have a range of values.

for examples that use type-2 fuzzy inference systems, see fuzzy pid control with type-2 fis and .

interval type-2 membership functions

an interval type-2 membership function is defined by an upper and lower membership function. the upper membership function (umf) is equivalent to a traditional type-1 membership function. the lower membership function (lmf) is less than or equal to the upper membership function for all possible input values. the region between the umf and lmf is the footprint of uncertainty (fou). the following diagram shows the umf (red), the lmf (blue), and the fou (shaded) for a type-2 triangular membership function.

sample type-2 membership function

for each input value in the universe of discourse, the degree of membership is the range of values between the lmf and umf values.

type-2 fuzzy inference systems

using fuzzy logic toolbox™ software, you can create both type-2 mamdani and sugeno fuzzy inference systems.

  • in type-2 mamdani systems, both the input and output membership functions are type-2 fuzzy sets.

  • in type-2 sugeno systems, only the input membership functions are type-2 fuzzy sets. the output membership functions are the same as for a type-1 sugeno system — constant or a linear function of the input values.

to create type-2 mamdani and sugeno systems at the command line, use and objects, respectively. these objects have the same parameters as the type-1 mamfis and sugfis objects along with an additional typereductionmethod parameter.

you can create a type-2 fuzzy inference system by converting an existing type-1 system, such as one created using the function. to do so, use the function.

once you create a type-2 fuzzy inference system, you can:

  • evaluate the fuzzy system using the functions

  • simulate the fuzzy system using the block

  • tune the parameters of the fuzzy system using the function

  • deploy the fuzzy system as described in

you can also create type-2 fuzzy inference system using the fuzzy logic designer app.

fuzzy inference process for type-2 fuzzy systems

antecedent processing

for type-2 fuzzy inference systems, input values are fuzzified by finding the corresponding degree of membership in both the umfs and lmfs from the rule antecedent. doing so generates two fuzzy values for each type-2 membership function. for example, the fuzzification in the following figure shows the membership value in the upper membership function (fu) and the lower membership function (fl).

fuzzifying value x produces fuzzy values for both the upper and lower membership functions.

next, a range of rule firing strengths is found by applying the fuzzy operator to the fuzzified values of the type-2 membership functions, as shown in the following figure. the maximum value of this range (wu) is the result of applying the fuzzy operator to the fuzzy values from the umfs. the minimum value (wl) is the result of applying the fuzzy operator to the fuzzy values from the lmfs

the fuzzy values from two type-2 membership functions are combined using the minimum operator to define a range of rule firing strengths.

antecedent processing is the same for both mamdani and sugeno systems.

consequent processing

for a mamdani system, the implication method clips (min implication) or scales (prod implication) the umf and lmf of the output type-2 membership function using the rule firing range limits. this process produces an output fuzzy set for each rule. the following figure shows the output fuzzy set (dark gray region) produced by applying min implication to the umf (red) and lmf (blue).

the area of the output membership function is the area of the truncated lower membership function subtracted from the area of the truncated upper membership function.

for a type-2 sugeno system, the output level zi for the ith rule is computed in the same manner as for a type-1 sugeno system.

zi=c0i j=1mcjixj

here, j is the input index, xj is the value of the jth input variable, and the c terms are the upper membership function parameters

unlike a type-1 sugeno system, the rule firing strengths are not used to process the consequent of each rule. instead, the output level and rule firing strengths are used during the aggregation process.

aggregation

the goal of the aggregation stage is to derive a single type-2 fuzzy set from the rule output fuzzy sets.

for a type-2 mamdani system, the software finds an aggregate type-2 fuzzy set by applying the aggregation method to the umfs and lmfs of the output fuzzy sets of all the rules. the following figure shows the aggregation of two type-2 fuzzy sets (the outputs for a two-rule system) using max aggregation.

the aggregate output fuzzy set is bounded on top by the aggregate umf and on the bottom by the aggregate lmf.

for a type-2 sugeno system, the aggregate fuzzy set is derived using the following steps:

  1. sort the rule output levels (zi) from all the rules into ascending order. these output level values define the universe of discourse for the aggregate type-2 fuzzy set.

  2. for each output level, define the umf value using the maximum firing range value from the corresponding rule.

  3. for each output level, define the lmf value using the minimum firing range value from the corresponding rule.

for example, suppose you have a type-2 sugeno system with seven rules. further, assume these rules have the following output levels and firing range limits.

ruleoutput level (z)minimum firing valuemaximum firing value
16.30.10.5
24.90.40.5
31.60.30.5
45.80.50.7
55.40.20.6
60.70.50.8
73.20.20.7

the following figure shows the aggregated type-2 fuzzy set for this sugeno system with its associated umf (red) and lmf (blue).

the aggregate fuzzy set is the shaded region between the upper and lower membership functions.

type reduction and defuzzification

to find the final crisp output value for the inference process, the aggregate type-2 fuzzy set is first reduced to an interval type-1 fuzzy set, which is a range with lower limit cl and upper limit cr. this interval type-1 fuzzy set is commonly referred to as the centroid of the type-2 fuzzy set. in theory, this centroid is the average of the centroids of all the type-1 fuzzy sets embedded in the type-2 fuzzy set. in practice, it is not possible to compute the exact values of cl and cr. instead, iterative type-reduction methods are used to estimate these values.

for a given aggregate type-2 fuzzy set, the approximate values of cl and cr are the centroids of the following type-1 fuzzy sets (green).

starting from opposite sides of the aggregate set, the fuzzy set for computing each interval limit follows the umf up to a switch point and then follows the lmf.

mathematically, these centroids are found using the following equations. [1]

cli=1lxiμumf(xi) i=l 1nxiμlmf(xi)i=1lμumf(xi) i=l 1nμlmf(xi)cri=1rxiμlmf(xi) i=r 1nxiμumf(xi)i=1rμlmf(xi) i=r 1nμumf(xi)

here:

  • n is the number of samples taken across the output variable range, specified using evalfisoptions.

  • xi is the ith output value sample.

  • μumf is the upper membership function.

  • μlmf is the lower membership function.

  • l and r are switch points that are estimated by the various type-reduction methods. for a list of supported methods, see type-reduction methods.

for both mamdani and sugeno systems, the final defuzzified output value (y) is the average of the two centroid values from the type reduction process.

y=cl cr2

type-reduction methods

fuzzy logic toolbox software supports four built-in type-reduction methods. these algorithms differ in their initialization methods, assumptions, computational efficiency, and terminating conditions.

to set the type-reduction method for a type-2 fuzzy system, set the typereduction property of the mamfistype2 or sugfistype2 object.

methodtypereduction property valuedescription
karnik-mendel (km) [2]"karnikmendel"

first type-reduction method developed

enhanced karnik-mendel (ekm) [3]"ekm"

modification of the karnik-mendel algorithm with an improved initialization, modified termination condition, and improved computational efficiency

iterative algorithm with stop condition (iasc) [4]"iasc"

iterative improvement to brute force methods

enhanced iterative algorithm with stop condition (eiasc) [5]"eiasc"

improved version of the iasc algorithm

in general, the computational efficiency of these methods improve as you move down the table.

you can also use your own custom type-reduction method. for more information, see .

references

[1] mendel, jerry m., hani hagras, woei-wan tan, william w. melek, and hao ying. introduction to type-2 fuzzy logic control: theory and applications. hoboken, new jersey: ieee press, john wiley & sons, 2014.

[2] karnik, nilesh n., and jerry m. mendel. "centroid of a type-2 fuzzy set." information sciences 132, no. 1–4 (february 2001): 195–220. .

[3] wu, d. and j.m. mendel. "enhanced karnik-mendel algorithms." ieee transactions on fuzzy systems 17 (2009): 923–934.

[4] duran, k., h. bernal, and m. melgarejo. "improved iterative algorithm for computing the generalized centroid of an interval type-2 fuzzy set," annual meeting of the north american fuzzy information processing society (2008): 190–194

[5] wu, d. and m. nie. "comparison and practical implementations of type-reduction algorithms for type-2 fuzzy sets and systems." proceedings of fuzz-ieee (2011): 2131–2138

see also

|

related topics

网站地图