You are on page 1of 12

# .

1General Information

Author:
Created: segunda-feira, 22 de novembro de 2010
Print Date: segunda-feira, 22 de novembro de 2010

Edition
Edition Name: fuzzyTECH 5.81d Professional Demo

.2List of Figures

.3List of Tables

.4List of Abbreviations

Pressao FBOKFOA
Temperatura MFFMQQNMQQN
AbertValvula EGEPZDPDG

## Compute MBF Compute Membership Function (Fuzzification Method)

MoM Mean of Maximum (Defuzzification Methode)

## BSUM Bounded Sum Fuzzy Operator for Result Aggregation

MIN Fuzzy Operator for AND Aggregation
MAX Fuzzy Operator for OR Aggregation
GAMMA Compensatory Operator for Aggregation
PROD Fuzzy Operator for Composition

LV Linguistic Variable
MBF Membership Function
RB Rule Block

.1Project Description

Input Variables 2

Output Variables 1

Intermediate Variables 0

Rule Blocks 1

Rules 125

Membership Functions 15

## Table 7: Project Statistics

.2System Structure

The system structure identifies the fuzzy logic inference flow from the input variables
to the output variables. The fuzzification in the input interfaces translates analog
inputs into fuzzy values. The fuzzy inference takes place in rule blocks which contain
the linguistic control rules. The output of these rule blocks are linguistic variables.
The defuzzification in the output interfaces translates them into analog variables.

The following figure shows the whole structure of this fuzzy system including input
interfaces, rule blocks and output interfaces. The connecting lines symbolize the data
flow.
Figure 4: Structure of the Fuzzy Logic System

.3Variables

This chapter contains the definition of all linguistic variables and of all membership
functions.
Linguistic variables are used to translate real values into linguistic values. The
possible values of a linguistic variable are not numbers but so called 'linguistic terms'.

For example:
To translate the real variable 'temperature' into a linguistic variable three terms, 'cold',
'pleasant' and 'warm' are defined. Depending on the current temperature level each
of these terms describes the 'temperature' more or less well. Each term is defined by
a membership function (MBF). Each membership function defines for any value of
the input variable the associated degree of membership of the linguistic term. The
membership functions of all terms of one linguistic variable are normally displayed in
one graph. The following figure plots the membership functions of the three terms for
the example 'temperature'.

## cold to the degree of 0.8

pleasant to the degree of 0.2
warm to the degree of 0.0

Linguistic variables have to be defined for all input, output and intermediate variables.
The membership functions are defined using a few definition points only.

The following tables list all variables of the system as well as the respective
fuzzification or defuzzification method. Also the properties of all base variables and
the term names are listed.

.1Inputs

## # Variable Name Typ Unit Min Max Default Term Names

e
1 Pressao N 10 230 75 FRACA
BAIXA
FORTE
OK
ALTA
2 Temperatura F 110 330 200 MUITOQQUENTE
QUENTE
MUITOFRIA
NORMAL
FRIA

## Table 7: Variables of Group "Inputs"

Fuzzification Methods

Fuzzy Input

.2Outputs

## # Variable Name Typ Unit Min Max Default Term Names

e
3 AbertValvula G -90 90 45 EG
EP
Z
DP
DG

## Table 7: Variables of Group "Outputs"

Defuzzification Methods

## Center of Area (CoA) Hyper CoM

Fuzzy Output Force

Categorical MoM

The default value of an output variable is used if no rule is firing for this variable.
Different methods can be used for the defuzzification, resulting either in to the 'most
plausible result' or the 'best compromise'.

## The 'best compromise' is produced by the methods:

CoM (Center of Maximum)
CoA (Center of Area)
CoA BSUM, a version especially for efficient VLSI implementations

## The 'most plausible result is produced by the methods:

MoM (Mean of Maximum)
Categorical MoM (Categorical Mean of Maximum)
MoM BSUM, a version especially for efficient VLSI implementations

## BAIXA linear (10, 0) (50, 0) (90, 1)

(120, 0) (230, 0)

## FORTE linear (10, 0) (90, 0) (120, 1)

(150, 0) (230, 0)

## OK linear (10, 0) (120, 0) (150, 1)

(190, 0) (230, 0)

(230, 1)

## MUITOQQUE linear (110, 0) (200, 0) (220, 1)

NTE
(260, 0) (330, 0)

## QUENTE linear (110, 0) (150, 0) (180, 1)

(220, 0) (330, 0)

(330, 0)

(330, 1)

## FRIA linear (110, 0) (220, 0) (260, 1)

(290, 0) (330, 0)

## .5Output Variable "AbertValvula"

Figure 4: MBF of "AbertValvula"

(90, 0)

(0, 0) (90, 0)

(36, 0) (90, 0)

(54, 0) (90, 0)

(54, 1) (90, 0)

## Table 7: Definition Points of MBF "AbertValvula"

.4Rule Blocks

The rule blocks contain the control strategy of a fuzzy logic system. Each rule block
confines all rules for the same context. A context is defined by the same input and
output variables of the rules.

The rules' 'if' part describes the situation, for which the rules are designed. The 'then'
part describes the response of the fuzzy system in this situation. The degree of
support (DoS) is used to weigh each rule according to its importance.

The processing of the rules starts with calculating the 'if' part. The operator type of
the rule block determines which method is used. The operator types MIN-MAX, MIN-
AVG and GAMMA are available. The characteristic of each operator type is
For example:

## MIN-MAX, parameter value 0 = Minimum Operator (MIN)

MIN-MAX, parameter value 1 = Maximum Operator (MAX)
GAMMA, parameter value 0 = Product Operator (PROD)

## The minimum operator is a generalization of the Boolean 'and'; the maximum

operator is a generalization of the Boolean 'or'.

The fuzzy composition eventually combines the different rules to one conclusion. If
the BSUM method is used all firing rules are evaluated, if the MAX method is used
only the dominant rules are evaluated.

## .1Rule Block "RB1"

Parameter
Aggregation: MINMAX
Parameter: 0.00
Result Aggregation: MAX
Number of Inputs: 2
Number of Outputs: 1
Number of Rules: 125

IF THEN

IF THEN

IF THEN

## FORTE FRIA 1.00 DG

OK MUITOQQUENTE 1.00 EG
IF THEN

OK MUITOQQUENTE 1.00 EP

OK MUITOQQUENTE 1.00 Z

OK MUITOQQUENTE 1.00 DP

OK MUITOQQUENTE 1.00 DG

OK QUENTE 1.00 EG

OK QUENTE 1.00 EP

OK QUENTE 1.00 Z

OK QUENTE 1.00 DP

OK QUENTE 1.00 DG

OK MUITOFRIA 1.00 EG

OK MUITOFRIA 1.00 EP

OK MUITOFRIA 1.00 Z

OK MUITOFRIA 1.00 DP

OK MUITOFRIA 1.00 DG

OK NORMAL 1.00 EG

OK NORMAL 1.00 EP

OK NORMAL 1.00 Z

OK NORMAL 1.00 DP

OK NORMAL 1.00 DG

OK FRIA 1.00 EG

OK FRIA 1.00 EP

OK FRIA 1.00 Z

OK FRIA 1.00 DP

OK FRIA 1.00 DG

IF THEN

.5Settings