Fuzzy control: Difference between revisions
imported>Giangiacomo Gerla |
imported>Giangiacomo Gerla No edit summary |
||
Line 1: | Line 1: | ||
By the expression '''Fuzzy logic''' one denotes several topics which are related with the notion of [[fuzzy subset]] defined in [[1965]] by [[Lotfi Asker Zadeh|Lotfi Zadeh]] at the [[University of California, Berkeley]]. Given a nonempty set ''S'', a ''fuzzy subset'' of ''S'' is a map ''s'' from ''S'' into the interval [0,1]. Then elements in [0,1] are interpreted as truth values and, in accordance, for every x in S, the value s(x) is interpreted as a membership degree of x to s. In other words, a fuzzy subset is a characteristic function in which graded truth values are admitted. | By the expression '''Fuzzy logic''' one denotes several topics which are related with the notion of [[fuzzy subset]] defined in [[1965]] by [[Lotfi Asker Zadeh|Lotfi Zadeh]] at the [[University of California, Berkeley]]. Given a nonempty set ''S'', a ''fuzzy subset'' of ''S'' is a map ''s'' from ''S'' into the interval [0,1]. Then elements in [0,1] are interpreted as truth values and, in accordance, for every ''x'' in ''S'', the value ''s(x)'' is interpreted as a membership degree of ''x'' to ''s''. In other words, a fuzzy subset is a characteristic function in which graded truth values are admitted. | ||
The notion of fuzzy subset enables us to represent the extension of | The notion of fuzzy subset enables us to represent the extension of predicates and relations as "big","slow", "near" "similar", which are vague in nature. | ||
Observe that there are two possible interpretations of the word "fuzzy logic". The first one is related with an informal utilization of the notion of fuzzy set and it is devoted to the applications. In such a case should be better | Observe that there are two possible interpretations of the word "fuzzy logic". The first one is related with an informal utilization of the notion of fuzzy set and it is devoted to the applications. In such a case should be better expressions as "[[fuzzy set theory]]" or "fuzzy logic in board sense". Another interpretation is given in considering fuzzy logic as a chapter of formal logic. In such a case one uses the expression "fuzzy logic in narrow sense" or "formal fuzzy logic". | ||
== Fuzzy logic as a chapter of multi-valued logic == | == Fuzzy logic as a chapter of multi-valued logic == | ||
The notion of fuzzy subset enables us to define a semantics for a first order language in which vague predicates are admitted and an n-ary vague predicate is interpreted by an n-ary fuzzy relation. This was done long time by people interested in multi-valued logic, obviously. As an example, since 1996 in the book "Continuous model theory" by Chang and Kisler all the main notions of fuzzy logic where defined in a theoretical setting. | The notion of fuzzy subset enables us to define a semantics for a first order language in which vague predicates are admitted and an n-ary vague predicate is interpreted by an n-ary fuzzy relation. This was done long time by people interested in multi-valued logic, obviously. As an example, since 1996 in the book "Continuous model theory" by Chang and Kisler all the main notions of fuzzy logic where defined in a theoretical setting. | ||
Now, even if from a semantical point of view fuzzy logic is not different from first order multi-valued logic, in the deduction apparatus | Now, even if from a semantical point of view fuzzy logic is not different from first order multi-valued logic, in the deduction apparatus one manifests a basic difference. In fact, in multi-valued logic the deduction operator is a tool to associate every (classical) set of axioms with the related (classical) set of theorems. Also, several authors limite our attention to the generation of the set of valid formulas. From such a point of view the paradigm of the deduction in multi-valued logic is not different in nature from the one of classical logic. Instead in fuzzy logic the notion of [[approximate reasoning]] is crucial. This notion is based on the one of fuzzy set of logical axioms and graded inference rules and it enables us to associate any fuzzy set of proper axioms with the related fuzzy subset of consequences. | ||
Onother basic difference is in the origin and in the agenda. Indeed the origin of fuzzy logic is in control and aim | Onother basic difference is in the origin and in the agenda. Indeed the origin of fuzzy logic is in control and its aim is to find applications, in general. Instead, multi-valued logic originates from philosophical and theoretical questions. | ||
== Fuzzy logic and probability == | == Fuzzy logic and probability == | ||
Many peoples compare fuzzy logic with probability theory since both refer to the interval [0,1]. However, they are conceptually distinct since we have not confuse a [[degree of truth]] with a [[probability measure]]. To illustrate the difference, consider | Many peoples compare fuzzy logic with probability theory since both refer to the interval [0,1]. However, they are conceptually distinct since we have not confuse a [[degree of truth]] with a [[probability measure]]. To illustrate the difference, consider the following example: | ||
Let <math>\alpha</math> be the claim "the rose on the table is red" and imagine we can freely examine the rose but, as a matter of fact, the color looks not exactly red. Then <math>\alpha</math> is neither fully true nor fully false and we can express that by assigning to <math>\alpha</math> a truth value, as an example 0.8, different from 0 and 1 (fuzziness). In such a case this truth value does not depend on the information we have since this information is complete. | |||
Now, imagine a world in which all the roses are either clearly red or clearly yellow. In such a world <math>\alpha</math> is either true or false but, inasmuch as we cannot examine the rose on the table, we are not able to know what is the case. Nevertheless, we have an opinion about the possible color of that rose and we could assign to <math>\alpha</math> a number, as an example 0.8, as a subjective measure of our degree of belief in <math>\alpha</math> (probability). In such a case this number depends strongly from the information we have and, for example, it can vary if we have some new information on the taste of the possessor of the rose. | |||
== How fuzzy logic is applied == | == How fuzzy logic is applied == |
Revision as of 10:29, 22 June 2007
By the expression Fuzzy logic one denotes several topics which are related with the notion of fuzzy subset defined in 1965 by Lotfi Zadeh at the University of California, Berkeley. Given a nonempty set S, a fuzzy subset of S is a map s from S into the interval [0,1]. Then elements in [0,1] are interpreted as truth values and, in accordance, for every x in S, the value s(x) is interpreted as a membership degree of x to s. In other words, a fuzzy subset is a characteristic function in which graded truth values are admitted. The notion of fuzzy subset enables us to represent the extension of predicates and relations as "big","slow", "near" "similar", which are vague in nature. Observe that there are two possible interpretations of the word "fuzzy logic". The first one is related with an informal utilization of the notion of fuzzy set and it is devoted to the applications. In such a case should be better expressions as "fuzzy set theory" or "fuzzy logic in board sense". Another interpretation is given in considering fuzzy logic as a chapter of formal logic. In such a case one uses the expression "fuzzy logic in narrow sense" or "formal fuzzy logic".
Fuzzy logic as a chapter of multi-valued logic
The notion of fuzzy subset enables us to define a semantics for a first order language in which vague predicates are admitted and an n-ary vague predicate is interpreted by an n-ary fuzzy relation. This was done long time by people interested in multi-valued logic, obviously. As an example, since 1996 in the book "Continuous model theory" by Chang and Kisler all the main notions of fuzzy logic where defined in a theoretical setting.
Now, even if from a semantical point of view fuzzy logic is not different from first order multi-valued logic, in the deduction apparatus one manifests a basic difference. In fact, in multi-valued logic the deduction operator is a tool to associate every (classical) set of axioms with the related (classical) set of theorems. Also, several authors limite our attention to the generation of the set of valid formulas. From such a point of view the paradigm of the deduction in multi-valued logic is not different in nature from the one of classical logic. Instead in fuzzy logic the notion of approximate reasoning is crucial. This notion is based on the one of fuzzy set of logical axioms and graded inference rules and it enables us to associate any fuzzy set of proper axioms with the related fuzzy subset of consequences. Onother basic difference is in the origin and in the agenda. Indeed the origin of fuzzy logic is in control and its aim is to find applications, in general. Instead, multi-valued logic originates from philosophical and theoretical questions.
Fuzzy logic and probability
Many peoples compare fuzzy logic with probability theory since both refer to the interval [0,1]. However, they are conceptually distinct since we have not confuse a degree of truth with a probability measure. To illustrate the difference, consider the following example: Let be the claim "the rose on the table is red" and imagine we can freely examine the rose but, as a matter of fact, the color looks not exactly red. Then is neither fully true nor fully false and we can express that by assigning to a truth value, as an example 0.8, different from 0 and 1 (fuzziness). In such a case this truth value does not depend on the information we have since this information is complete.
Now, imagine a world in which all the roses are either clearly red or clearly yellow. In such a world is either true or false but, inasmuch as we cannot examine the rose on the table, we are not able to know what is the case. Nevertheless, we have an opinion about the possible color of that rose and we could assign to a number, as an example 0.8, as a subjective measure of our degree of belief in (probability). In such a case this number depends strongly from the information we have and, for example, it can vary if we have some new information on the taste of the possessor of the rose.
How fuzzy logic is applied
Template:Unreferenced Fuzzy Set Theory defines Fuzzy Operators on Fuzzy Sets. The problem in applying this is that the appropriate Fuzzy Operator may not be known! For this reason, Fuzzy logic usually uses IF/THEN rules, or constructs that are equivalent, such as fuzzy associative matrices.
Rules are usually expressed in the form:
IF variable IS set THEN action
For example, an extremely simple temperature regulator that uses a fan might look like this:
IF temperature IS very cold THEN stop fan
IF temperature IS cold THEN turn down fan
IF temperature IS normal THEN maintain level
IF temperature IS hot THEN speed up fan
Notice there is no "ELSE". All of the rules are evaluated, because the temperature might be "cold" and "normal" at the same time to differing degrees.
The AND, OR, and NOT operators of boolean logic exist in fuzzy logic, usually defined as the minimum, maximum, and complement; when they are defined this way, they are called the Zadeh operators, because they were first defined as such in Zadeh's original papers. So for the fuzzy variables x and y:
NOT x = (1 - truth(x))
x AND y = minimum(truth(x), truth(y))
x OR y = maximum(truth(x), truth(y))
There are also other operators, more linguistic in nature, called hedges that can be applied. These are generally adverbs such as "very", or "somewhat", which modify the meaning of a set using a mathematical formula.
In application, the programming language Prolog is well geared to implementing fuzzy logic with its facilities to set up a database of "rules" which are queried to deduct logic. This sort of programming is known as logic programming.
Once fuzzy relations are defined, it is possible to develop fuzzy relational databases. The first fuzzy relational data base, FRDB, appeared in Maria Zemankova's dissertation.
Other examples
- If a man is 1.8 meters, consider him as tall:
IF male IS true AND height >= 1.8 THEN is_tall IS true; is_short IS false
- The fuzzy rules do not make the sharp distinction between tall and short, that is not so realistic:
IF height <= medium male THEN is_short IS agree somewhat
IF height >= medium male THEN is_tall IS agree somewhat
In the fuzzy case, there are no such heights like 1.83 meters, but there are fuzzy values, like the following assignments:
dwarf male = [0, 1.3] m
short male = (1.3, 1.5]
medium male = (1.5, 1.8]
tall male = (1.8, 2.0]
giant male > 2.0 m
For the consequent, there are also not only two values, but five, say:
agree not = 0
agree little = 1
agree somewhat = 2
agree a lot = 3
agree fully = 4
In the binary, or "crisp", case, a person of 1.79 meters of height is considered short. If another person is 1.8 meters or 2.25 meters, these persons are considered tall.
The crisp example differs deliberately from the fuzzy one. We did not put in the antecedent
IF male >= agree somewhat AND ...
as gender is often considered as a binary information. So, it is not so complex as being tall.
Different formal fuzzy logics
In mathematical logic, there are several formal systems that model the above notions of "fuzzy logic". Note that they use a different set of operations than above mentioned Zadeh operators.
Propositional fuzzy logics
- Basic propositional fuzzy logic BL is an axiomatization of logic where conjunction is defined by a continuous t-norm, and implication is defined as the residuum of the t-norm. Its models correspond to BL-algebras.
- Łukasiewicz fuzzy logic is a special case of basic fuzzy logic where conjunction is Łukasiewicz t-norm. It has the axioms of basic logic plus an axiom of double negation (so it is not intuitionistic logic), and its models correspond to MV-algebras.
- Gödel fuzzy logic is a special case of basic fuzzy logic where conjunction is Gödel t-norm. It has the axioms of basic logic plus an axiom of idempotence of conjunction, and its models are called G-algebras.
- Product fuzzy logic is a special case of basic fuzzy logic where conjunction is product t-norm. It has the axioms of basic logic plus another axiom, and its models are called product algebras.
- Monoidal t-norm logic MTL is a generalization of basic fuzzy logic BL where conjunction is realized by a left-continuous t-norm. Its models (MTL-algebras) are prelinear commutative bounded integral residuated lattices.
- Rational Pavelka logic is a generalization of multi-valued logic. It is an extension of Łukasziewicz fuzzy logic with additional constants.
All these logics encompass the traditional propositional logic (whose models correspond to Boolean algebras).
Predicate fuzzy logics
These extend the above-mentioned fuzzy logics by adding universal and existential quantifiers in a manner similar to the way that predicate logic is created from propositional logic.
Effectiveness for fuzzy set theory
The notions of a "decidable subset" and "recursively enumerable subset" are basic ones for classical mathematics and classical logic. Then, the question of a suitable extension of such concepts to fuzzy set theory arises. A first proposal in such a direction was made by E.S. Santos by the notions of fuzzy Turing machine, Markov normal fuzzy algorithm and fuzzy program. Successively, L. Biacino and G. Gerla proposed the following definition where Ü denotes the set of rational numbers in [0,1].
Definition A fuzzy subset μ : S [0,1] of a set S is recursively enumerable if a recursive map h : S×N Ü exists such that, for every x in S, the function h(x,n) is increasing with respect to n and μ(x) = lim h(x,n). We say that μ is decidable if both μ and its complement –μ are recursively enumerable.
An extension of such a theory to the general case of the L-subsets is proposed in a paper by G. Gerla. In such a paper one refer to the theory of effective domains.
Effectiveness for fuzzy logic
Define the set Val of valid formulas as the set of formulas assuming constantly value equal to 1. Then it is possible to prove that among the usual first order logics only Goedel logic has a recursively enumerable set of valid formulas. In the case of Lukasiewicz and product logic, for example, Val is not recursively enumerable (see B. Scarpellini, and Belluce, also such a fact was extensively examined in the book of Hajek). Neverthless, from these results we cannot conclude that these logics are not effective and therefore that an axiomatization is not possible. Indeed, if we refer to the just exposed notion of effectiveness for fuzzy sets, then the following theorem holds true (provided that the deduction apparatus of the fuzzy logic satisfies some obvious effectiveness property).
Theorem. Any axiomatizable fuzzy theory is recursively enumerable. In particular, the fuzzy set of logically true formulas is recursively enumerable in spite of the fact that the crisp set of valid formulas is not recursively enumerable, in general. Moreover, any axiomatizable and complete theory is decidable.
It is an open question to give a support for a Church thesis for fuzzy computability and to give Gödel’s theorems for fuzzy logic using the notion of recursively enumerable fuzzy subset. To this aim, it is very important to refer to adequate definitions of fuzzy grammar and of fuzzy Turing machine (see for example Wiedermann's paper).
See also
- Artificial intelligence
- Artificial neural network
- Neuro-fuzzy
- Biologically-inspired computing
- Combs method
- Concept mining
- Control system
- Defuzzification
- Dynamic logic
- Expert system
- Fuzzy subalgebra
- Fuzzy associative matrix
- FuzzyCLIPS expert system
- Fuzzy concept
- Fuzzy Control Language
- Fuzzy control system
- Fuzzy electronics
- Fuzzy set
- Machine learning
- Paradox of the heap
- Pattern recognition
- Rough set
Bibliography
- Biacino L., Gerla G., Fuzzy logic, continuity and effectiveness, Archive for Mathematical Logic, 41, (2002), 643-667.
- Chang C. C.,Keisler H. J., Continuous Model Theory, Princeton University Press, Princeton, 1996.
- Cignoli R., D’Ottaviano I. M. L. , Mundici D. , ‘’Algebraic Foundations of Many-Valued Reasoning’’. Kluwer, Dordrecht, 1999.
- Cox E., The Fuzzy Systems Handbook (1994), ISBN 0-12-194270-8
- Elkan C.. The Paradoxical Success of Fuzzy Logic. November 1993. Available from Elkan's home page.
- Hájek P., Metamathematics of fuzzy logic. Kluwer 1998.
- Hájek P., Fuzzy logic and arithmetical hierarchy, Fuzzy Sets and Systems, 3, (1995), 359-363.
- Höppner F., Klawonn F., Kruse R. and Runkler T., Fuzzy Cluster Analysis (1999), ISBN 0-471-98864-2.
- Klir G. and Folger T., Fuzzy Sets, Uncertainty, and Information (1988), ISBN 0-13-345984-5.
- Klir G. , UTE H. St. Clair and Bo Yuan Fuzzy Set Theory Foundations and Applications,1997.
- Klir G. and Bo Yuan, Fuzzy Sets and Fuzzy Logic (1995) ISBN 0-13-101171-5
- Bart Kosko, Fuzzy Thinking: The New Science of Fuzzy Logic (1993), Hyperion. ISBN 0-7868-8021-X
- Gerla G., Effectiveness and Multivalued Logics, Journal of Symbolic Logic, 71 (2006) 137-162.
- Montagna F., Three complexity problems in quantified fuzzy logic. Studia Logica, 68,(2001), 143-152.
- Novák V., Perfilieva I, Mockor J., Mathematical Principles of Fuzzy Logic, Kluwer Academic Publishers, Dordrecht, (1999).
- Scarpellini B., Die Nichaxiomatisierbarkeit des unendlichwertigen Prädikatenkalküls von Łukasiewicz, J. of Symbolic Logic, 27,(1962), 159-170.
- Yager R. and Filev D., Essentials of Fuzzy Modeling and Control (1994), ISBN 0-471-01761-2
- Zimmermann H., Fuzzy Set Theory and its Applications (2001), ISBN 0-7923-7435-5.
- Kevin M. Passino and Stephen Yurkovich, Fuzzy Control, Addison Wesley Longman, Menlo Park, CA, 1998.
- Wiedermann J. , Characterizing the super-Turing computing power and efficiency of classical fuzzy Turing machines, Theor. Comput. Sci. 317, (2004), 61-69.
- Zadeh L.A., Fuzzy algorithms, Information and Control, 5,(1968), 94-102.
- Zadeh L.A., Fuzzy Sets, ‘’Information and Control’’, 8 (1965) 338353.
- Zemankova-Leech, M., Fuzzy Relational Data Bases (1983), Ph. D. Dissertation, Florida State University.