Multimodale Interaktion für die Prozessleittechnik !? Leon Urbas
Multimodale Interaktion für die Prozessleittechnik !? Leon Urbas
Multimodale Interaktion für die Prozessleittechnik !? Leon Urbas
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Fakultät ETIT Institut <strong>für</strong> Automatisierungstechnik, Professur <strong>für</strong> <strong>Prozessleittechnik</strong><br />
19.01.2010<br />
Dr. Engin YEŞİL<br />
Introduction to<br />
Fuzzy Modeling & Control
1998-<br />
Istanbul Technical University<br />
Faculty of Electrical and Electronics Engineering,<br />
Control Engineering Department<br />
– Programs of our Department:<br />
– Control Engineering (Turkish)<br />
– Control Engineering (English) –NEW-<br />
– Control Engineering + Michigan State Uni. –NEW-<br />
PostDoc<br />
(2009-2010)<br />
Fuzzy Modeling & Control (SS 2010)<br />
Wednesday; 4.DS; BAR/213/H<br />
Folie 2
Dr. Engin YESIL<br />
Room: BAR 277<br />
Tel: 39102<br />
Webpage: www.elk.itu.edu.tr/~yesil<br />
E-mail: engin.yesil@mailbox.tu-dresden.de<br />
Office hours: Anytime (just e-mail before!!!)<br />
19.01.2010 �<br />
Exam (≈20%)<br />
26.01.2010 �<br />
02.02.2010<br />
Folie 3
FUZZY SETS & FUZZY LOGIC<br />
��<br />
FUZZY SYSTEMS<br />
��<br />
FUZZY PD CONTROLLER<br />
Folie 4
Evolution of development<br />
1965 Seminal Papers “Fuzzy Sets” by<br />
Prof. Lotfi Zadeh, U.C. Berkeley.<br />
Folie 5
Why Fuzzy?<br />
fuzzy adj. 1 unclear or confused and lacking details. 2<br />
not clearly thought out or expressed. 3 indistinct,<br />
unclear, distorted or imprecise.<br />
Folie 6
•<br />
•<br />
•<br />
•<br />
•<br />
•<br />
Cantor: Set Theory at the end of 19th century.<br />
–<br />
(CRISP SETS)<br />
Sanders Peirce (1839-1914):<br />
–<br />
Uncertainty theory<br />
Bertrand Russel<br />
–<br />
(1872-1970):<br />
"All language is vague“<br />
Jan Lukasiewicz (1878-1955):<br />
–<br />
Many-valued logic<br />
Max Black (1909-1988) proto-fuzzy sets<br />
Lotfi<br />
Zadeh Founder of fuzzy sets & logic<br />
Folie 7
•<br />
•<br />
•<br />
•<br />
•<br />
•<br />
•<br />
•<br />
1975 Fuzzy control was first introduced by E. Mamdani in<br />
“Advances in the linguistic synthesis of fuzzy controllers”<br />
Introduction of Fuzzy Logic in Japan<br />
1980<br />
1985<br />
1990<br />
1995<br />
Empirical Verification of Fuzzy Logic in Europe<br />
Broad Application of Fuzzy Logic in Japan<br />
Broad Application of Fuzzy Logic in Europe<br />
Broad Application of Fuzzy Logic in the U.S.<br />
2000 Fuzzy logic becomes a standard technique for multivariable<br />
control and is also applied in data and sensor signal<br />
analysis.<br />
Application of Fuzzy Logic in business and finance.<br />
Folie 8
Rice Cooker<br />
Washing Machine<br />
Folie 9
Automatic gear shift<br />
Folie 10
Recovery Boiler<br />
Fuzzy Logic Control<br />
Folie 11
Folie 12
•<br />
•<br />
•<br />
Propositions, Sets and Characteristic Functions<br />
In classical logic a proposition is a statement that is<br />
either true or false.<br />
A proposition is represented by a set, set a collection of<br />
elements that share a common property. These elements<br />
are referred to as members of the set.<br />
A set can be specified by specifying its members, i.e., “a<br />
set A is the set of all elements x in U that have the<br />
property P”. We write<br />
Folie 13
Examples:<br />
Set of natural numbers smaller than 5:<br />
A = {0,1, 2, 3, 4}<br />
Unit disk in the complex plane:<br />
A = {z | z �<br />
A line in R 2 :<br />
C, |z| ≤<br />
1}<br />
A = {(x, y) | ax + by + c = 0, (x, y, a, b, c) �<br />
R}<br />
Folie 14
Propositions, Sets and Characteristic Functions<br />
Another way to characterize a set is to use a characteristic<br />
function, function defined by<br />
where we have introduced the truth value<br />
1 for a true<br />
statement, and 0 for a false statement.<br />
Folie 15
Propositions, Sets and Characteristic Functions<br />
There are three special sets;<br />
1. the universal set (or universe of discourse), U,<br />
which contains all elements<br />
2. the empty set, set �, that contains no elements<br />
3. the singleton set, set � , that contains only one<br />
element.<br />
Folie 16
Operations on sets<br />
To derive the set representation of a compound proposition,<br />
the set operations corresponding to the logic connectives<br />
“and”, “or” and “not” must be defined.<br />
These operations are called intersection, intersection union and<br />
complement respectively.<br />
Let A and B be two sets defined on the same universe of<br />
discourse, U.<br />
Folie 17
We<br />
Operations on sets<br />
can then define our three basic set operations as follows:<br />
Folie 18
EXAMPLE?<br />
Folie 19
•<br />
Operations on sets<br />
The following formulas give the characteristic functions<br />
resulting from the set operations above.<br />
Folie 20
Why Fuzzy Sets?<br />
•<br />
•<br />
Classical sets are good for well-defined concepts<br />
(maths, programs, etc.)<br />
Less suitable for representing commonsense<br />
knowledge in terms of vague concepts such as:<br />
– a tall person, slippery road, nice weather, . . .<br />
– want to buy a big car with moderate consumption<br />
– If the temperature is too low, increase heating a lot<br />
Folie 21
Classical Set Approach<br />
• set of tall people<br />
A = {h | h ≥ 180}<br />
Logical Propositions<br />
• “Engin is tall” . . . true or false?<br />
• Engin’s height:<br />
hEngin = 180.0 μA(180.0) = 1 (true)<br />
hEngin = 179.5 μA(179.5) = 0 (false)<br />
Folie 22
Fuzzy Set Approach<br />
Folie 23
Fuzzy Logic Propositions<br />
“Engin is tall” . . . degree of truth<br />
Engin’s height:<br />
hEngin = 180.0 μA (180.0) = 0.6<br />
hEngin = 179.5 μA (179.5) = 0.56<br />
hEngin = 201.0 μA (201.0) = 1<br />
Folie 24
Subjective and Context Dependent<br />
Tall in<br />
China<br />
Tall in<br />
Europe<br />
Tall in NBA<br />
Folie 25
Can you give any more example?<br />
Folie 26
Expensive Cars:<br />
U= {Bugatti, Ferrari, BMW, Porsche, Mercedes, Ford,<br />
FIAT, Rolls-Royce, Lamborghini}<br />
� 1<br />
�<br />
�Bugatti<br />
Expensive<br />
Cars � �<br />
� 0<br />
�<br />
��<br />
FIAT<br />
�<br />
�<br />
1 0.<br />
4 0.<br />
9 0.<br />
7 0.<br />
1 �<br />
� � � �<br />
Ferrari BMW Porsche Mercedes Ford�<br />
�<br />
�<br />
0.<br />
7 0.<br />
65<br />
�<br />
�<br />
Rolls - Royce Lamborghini<br />
��<br />
Folie 27
Shapes of Membership Functions<br />
•<br />
•<br />
•<br />
A fuzzy set, A, is a set whose characteristic function μA takes values in the interval [0, 1].<br />
In fuzzy logic literature, the characteristic function of a<br />
fuzzy set is always called the membership function of the<br />
fuzzy set.<br />
We interpret the<br />
membership value of<br />
an element to a specific<br />
set as the degree to<br />
which the corresponding<br />
proposition applies.<br />
(a)<br />
Folie 28
The trapezoidal membership<br />
function:<br />
Trapezoidal membership functions with varying widths and<br />
centers (left), and varying slopes (right).<br />
Folie 29
The triangular membership<br />
function:<br />
Triangular membership function with varying centers (left)<br />
and slopes (right).<br />
Folie 30
The Gaussian membership<br />
function:<br />
Gaussian membership functions for different ��:s (left) and<br />
different<br />
x centers (right).<br />
Folie 31
The sigmoidal<br />
function:<br />
membership<br />
determines the crossover point of the membership function (the<br />
element whose membership value equals 0.5), and � controls the slope<br />
of the function at this point.<br />
Sigmoidal membership functions for different ��:s (left) and<br />
different :s (right).<br />
Folie 32
The singleton<br />
function:<br />
membership<br />
Folie 33
Linguistic Variable<br />
Is 27�C high?<br />
27<br />
Folie 34
Support of a Fuzzy Set<br />
supp(A) = {x | μA(x) > 0}<br />
� support is an ordinary set<br />
Folie 35
Core (Kernel) of a Fuzzy Set<br />
core(A) = {x | μA(x) = 1}<br />
� core is an ordinary set<br />
Folie 36
�-cut of a Fuzzy Set<br />
�<br />
A α<br />
= {x | μA(x) ≥α} � A α<br />
is an ordinary set<br />
Folie 37
Convex and Non-Convex Fuzzy Sets<br />
A fuzzy<br />
set is convex<br />
A �<br />
�<br />
= {x | μA(x) ≥<br />
all its α-cuts are convex sets.<br />
�}<br />
Folie 38
Non-Convex Fuzzy Set: an Example<br />
High-risk age for car insurance policy.<br />
Folie 39
Fuzzy Numbers and Singletons<br />
Fuzzy<br />
linear regression:<br />
Folie 40
Fuzzy Set Operations<br />
•<br />
•<br />
•<br />
In fuzzy logic the classical set operations are extended<br />
to produce an intuitively correct result on fuzzy sets.<br />
This is done through the introduction<br />
S-norms.<br />
of T-norms<br />
It is important to notice that a compound set is<br />
formed by applying the set operations point-wise<br />
all elements on the universe of discourse.<br />
and<br />
over<br />
Folie 41
INTERSECTION OPERATOR<br />
Folie 42
UNION OPERATOR<br />
Folie 43
COMPLEMENT OPERATOR<br />
Folie 44
Linguistic Modifiers (Hedges)<br />
–<br />
–<br />
–<br />
–<br />
Modify the meaning of a fuzzy set.<br />
For instance, very can change the meaning of the fuzzy<br />
set tall to very<br />
tall. tall<br />
Other common hedges: slightly, more or less, rather,<br />
etc.<br />
Usual approach: powered hedges:<br />
Folie 45
Folie 46
Fuzzy Logic<br />
Folie 47
Example?<br />
–<br />
NOT<br />
VERY YOUNG<br />
AND<br />
NOT OLD!<br />
Folie 48
Fuzzy Set in Multidimensional Domains<br />
Folie 49
Cylindrical Extension<br />
Projection onto X 1<br />
Projection onto X 2<br />
Folie 50
Intersection on Cartesian Product Space<br />
• An operation between fuzzy sets are defined in different<br />
domains results in a multi-dimensional fuzzy set.<br />
•<br />
Example: A 1<br />
∩<br />
A 2<br />
on X1 × X2: Folie 51
Fuzzy Relations<br />
•<br />
•<br />
•<br />
Classical relation represents the presence or absence of<br />
interaction between the elements of two or more sets.<br />
With fuzzy relations, the degree of association (correlation)<br />
is represented by membership grades.<br />
An n-dimensional fuzzy relation is a mapping<br />
R : X1 ×X2×X3. . . × Xn → [0, 1]<br />
which assigns membership grades to all n-tuples<br />
(x1, x2, . . . , xn) from the Cartesian product universe.<br />
Folie 52
Fuzzy Relations: Example<br />
• Example: R : x ≈ y<br />
(“x is approximately equal to y”)<br />
Folie 53
Relational Composition<br />
• Given fuzzy relation R defined in X ×Y and fuzzy set A<br />
defined in X, derive the corresponding fuzzy set B defined<br />
in Y :<br />
•<br />
max-min composition:<br />
Analogous to evaluating a function.<br />
Folie 54
crisp function<br />
interval function<br />
fuzzy function<br />
Folie 55
•<br />
•<br />
•<br />
•<br />
•<br />
Guessing Game:<br />
LEON (a fictitious name) is nearsighted and<br />
colorblind.<br />
When he goes to a local grocery where fruits are<br />
laced on high shelves, he cannot see them very<br />
well.<br />
He can only recognize the size and blurred shape<br />
of the fruits.<br />
He has lived in such a world for some<br />
20 years and now he is a houseman,<br />
and he has some knowledge about the<br />
features of the fruits.<br />
For example, tangerines are round and<br />
relatively small.<br />
Folie 56
Fruit={tangerine, apple, pineapple, watermelon, strawberry}<br />
Shape={long, round, large}<br />
long<br />
round<br />
large<br />
tangerine apple pineapple watermelon strawberry<br />
0 0 0.3 0 0.8<br />
0.9 1.0 0.3 1.0 0.2<br />
0.2 0.4 0.7 1.0 0.1<br />
Let’s guess a fruit that LEON sees. If he recognizes a fruit that<br />
is “round and big” and if interpret this as<br />
long round large<br />
0 0.7 1.0<br />
Folie 57
0 0.7 1.0 o<br />
=<br />
0 0 0.3 0 0.8<br />
0.9 1.0 0.3 1.0 0.2<br />
0.2 0.4 0.7 1.0 0.1<br />
tangerine apple pineapple watermelon strawberry<br />
0.7 0.7 0.7 1.0 0.2<br />
From this result, the possibility of watermelon is the<br />
highest and tangerine, apple, and pineapple come next<br />
at an equal possibility.<br />
Folie 58
If LEON recognizes another fruit as “relatively long,<br />
somewhat round, and not very large” and if we can<br />
interpret his observation as<br />
long round large<br />
0.5 0.5<br />
Answer:<br />
tangerine apple pineapple watermelon strawberry<br />
0.3<br />
0.5 0.5 0.3 0.5 0.5<br />
Folie 59
Folie 60