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

.1Table of Contents

.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

.2Ar-condicionado

.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'.

Membership Function of 'temperature'

A 'temperature' of 66 °F is a member of the MBFs for the terms:

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

Compute MBF Look up MBF

Categorical Variable Display

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 Maximum (CoM) Mean of Maximum (MoM)

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

.3Input Variable "Pressao"

Figure 4: MBF of "Pressao"

Term Name Shape/Par. Definition Points (x, y)

FRACA linear (10, 1) (50, 1) (90, 0)

(120, 0.1) (230, 0)

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)

ALTA linear (10, 0) (150, 0) (190, 1)


(230, 1)

Table 7: Definition Points of MBF "Pressao"

.4Input Variable "Temperatura"

Figure 4: MBF of "Temperatura"

Term Name Shape/Par. Definition Points (x, y)

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)

MUITOFRIA linear (110, 1) (150, 1) (180, 0)

(330, 0)

NORMAL linear (110, 0) (260, 0) (290, 1)

(330, 1)

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

(290, 0) (330, 0)

Table 7: Definition Points of MBF "Temperatura"

.5Output Variable "AbertValvula"


Figure 4: MBF of "AbertValvula"

Term Name Shape/Par. Definition Points (x, y)

EG linear (-90, 0) (-54, 1) (-36, 0)

(90, 0)

EP linear (-90, 0) (-54, 0) (-36, 1)

(0, 0) (90, 0)

Z linear (-90, 0) (-36, 0) (0, 1)

(36, 0) (90, 0)

DP linear (-90, 0) (0, 0) (36, 1)

(54, 0) (90, 0)

DG linear (-90, 0) (36, 0) (54, 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
influenced by an additional parameter.
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

Pressao Temperatura DoS AbertValvula

FRACA MUITOQQUENTE 1.00 EG

FRACA MUITOQQUENTE 1.00 EP

FRACA MUITOQQUENTE 1.00 Z

FRACA MUITOQQUENTE 1.00 DP

FRACA MUITOQQUENTE 1.00 DG

FRACA QUENTE 1.00 EG

FRACA QUENTE 1.00 EP

FRACA QUENTE 1.00 Z

FRACA QUENTE 1.00 DP

FRACA QUENTE 1.00 DG

FRACA MUITOFRIA 1.00 EG

FRACA MUITOFRIA 1.00 EP


IF THEN

FRACA MUITOFRIA 1.00 Z

FRACA MUITOFRIA 1.00 DP

FRACA MUITOFRIA 1.00 DG

FRACA NORMAL 1.00 EG

FRACA NORMAL 1.00 EP

FRACA NORMAL 1.00 Z

FRACA NORMAL 1.00 DP

FRACA NORMAL 1.00 DG

FRACA FRIA 1.00 EG

FRACA FRIA 1.00 EP

FRACA FRIA 1.00 Z

FRACA FRIA 1.00 DP

FRACA FRIA 1.00 DG

BAIXA MUITOQQUENTE 1.00 EG

BAIXA MUITOQQUENTE 1.00 EP

BAIXA MUITOQQUENTE 1.00 Z

BAIXA MUITOQQUENTE 1.00 DP

BAIXA MUITOQQUENTE 1.00 DG

BAIXA QUENTE 1.00 EG

BAIXA QUENTE 1.00 EP

BAIXA QUENTE 1.00 Z

BAIXA QUENTE 1.00 DP

BAIXA QUENTE 1.00 DG

BAIXA MUITOFRIA 1.00 EG

BAIXA MUITOFRIA 1.00 EP

BAIXA MUITOFRIA 1.00 Z

BAIXA MUITOFRIA 1.00 DP

BAIXA MUITOFRIA 1.00 DG

BAIXA NORMAL 1.00 EG

BAIXA NORMAL 1.00 EP

BAIXA NORMAL 1.00 Z

BAIXA NORMAL 1.00 DP


IF THEN

BAIXA NORMAL 1.00 DG

BAIXA FRIA 1.00 EG

BAIXA FRIA 1.00 EP

BAIXA FRIA 1.00 Z

BAIXA FRIA 1.00 DP

BAIXA FRIA 1.00 DG

FORTE MUITOQQUENTE 1.00 EG

FORTE MUITOQQUENTE 1.00 EP

FORTE MUITOQQUENTE 1.00 Z

FORTE MUITOQQUENTE 1.00 DP

FORTE MUITOQQUENTE 1.00 DG

FORTE QUENTE 1.00 EG

FORTE QUENTE 1.00 EP

FORTE QUENTE 1.00 Z

FORTE QUENTE 1.00 DP

FORTE QUENTE 1.00 DG

FORTE MUITOFRIA 1.00 EG

FORTE MUITOFRIA 1.00 EP

FORTE MUITOFRIA 1.00 Z

FORTE MUITOFRIA 1.00 DP

FORTE MUITOFRIA 1.00 DG

FORTE NORMAL 1.00 EG

FORTE NORMAL 1.00 EP

FORTE NORMAL 1.00 Z

FORTE NORMAL 1.00 DP

FORTE NORMAL 1.00 DG

FORTE FRIA 1.00 EG

FORTE FRIA 1.00 EP

FORTE FRIA 1.00 Z

FORTE FRIA 1.00 DP

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

ALTA MUITOQQUENTE 1.00 EG

ALTA MUITOQQUENTE 1.00 EP

ALTA MUITOQQUENTE 1.00 Z

ALTA MUITOQQUENTE 1.00 DP

ALTA MUITOQQUENTE 1.00 DG

ALTA QUENTE 1.00 EG

ALTA QUENTE 1.00 EP

ALTA QUENTE 1.00 Z


IF THEN

ALTA QUENTE 1.00 DP

ALTA QUENTE 1.00 DG

ALTA MUITOFRIA 1.00 EG

ALTA MUITOFRIA 1.00 EP

ALTA MUITOFRIA 1.00 Z

ALTA MUITOFRIA 1.00 DP

ALTA MUITOFRIA 1.00 DG

ALTA NORMAL 1.00 EG

ALTA NORMAL 1.00 EP

ALTA NORMAL 1.00 Z

ALTA NORMAL 1.00 DP

ALTA NORMAL 1.00 DG

ALTA FRIA 1.00 EG

ALTA FRIA 1.00 EP

ALTA FRIA 1.00 Z

ALTA FRIA 1.00 DP

ALTA FRIA 1.00 DG

Table 7: Rules of the Rule Block "RB1"

.5Settings