Professional Documents
Culture Documents
An approach to uncertainty that combines real values [0,1] and logic operations Fuzzy logic is based on the ideas of fuzzy set theory and fuzzy set membership often found in language
You are tall what is tall? You are very tall how does this differ from tall?
Fuzzy Sets
In normal sets, membership is binary
An item is either in the set or not in the set
In a way, this is like the statistic approaches covered in chapter 8, but it differs
Example: Young
Ann is 28, .8 in set Young Bob is 40, .1 in set Young Cathy is 23, 1.0 in set Young
Unlike statistics and probabilities, the degree is not describing a probability that the item is in the set, but instead describes to what extent the item is in the set
Distinctions to Probabilities
Why both fuzzy sets and probabilities use real numbers to describe a degree of membership they differ:
membership functions are not necessarily based on statistic distributions fuzzy logic deals with deterministic plausibilities probabilities deal more with non-deterministic but stochastic events and their likelihoods
Fuzzy Sets
A is a fuzzy set described by the items, u, where the set A = {u/a(u) | u in U}
That is, A is a set of items combined with their degrees of being in the universe U a(u) is a membership function that maps onto the set [0,1] which derives the degree that each u is or is not in U
Set Operations
Fuzzy sets, like sets, have operations for
is-a-member-of: a(u) union: A u B = {u/max(a(u), b(u) | u in U} intersection: A n B = {u/min(a(u), b(u) | u in U} complement: ~A = {u/1-a(u) | u in U}
With these rules, other set properties can be used such as the commutative law, DeMorgans laws, etc...
Fuzzy Relations
A is a fuzzy set in the universe U with membership function a(u) B is a fuzzy set in the universe V with membership function b(v) AxB={(u,v)/min(a(u),b(v)) | u in U, v in V} R is a fuzzy relation such that R:U V where UxV={(u,v)/m(u,v)| u in U, v in V} where m(u,v) is a membership function
Computing dE and E
See figure 1 from the handout (p.73) Suppose E=0.75 and dE=0 (that is, at time zero, the temperature is .75 from where it should be) Use the membership function in figure 1 E comes in at the horizontal .75 point which is midway between PS and PB. PS has a value of 0.5 and PB has a value of 0.5. dE = 0 which has ZO with a value of 1.0.
Selecting Rules
We have two applicable rules, 8 and 9:
dE=ZO (membership of 1.0) E=PB (membership of 0.5) and PS (membership of 0.5)
The weight of each rule is determined by the minimum of the two memberships (0.5 and 1.0) so both rules have equal weight (0.5) However, we only want one output, so we must select a single rule. This is done through a difuzzification procedure finding the center of gravity in the output function
Fuzzy Logic
Just as fuzzy sets are an extension to sets, fuzzy logic is an extension to logic Union = Or, Intersection = And, Complement = Not A => B or If A then B is a fuzzy implication and can be derived as AxB
New Applications
Home appliances: fuzzy logic used in refrigerators, vacuum cleaners, washers, dryers, air conditioners to control temperature, pressure, etc... Video Cameras: fuzzy automatic focusing and exposure rules Automotive: fuzzy controlled fuel injection, transmission and brakes systems Robotics: fuzzy controlled robots Aerospace: fuzzy logic temperature control for space shuttle
Fuzzier Methods
Fuzzy Logic is (roughly) based on a mathematical formalism Fuzzy methods do not require this mathematical backing Certainty factors are a compromise between using fuzzy logic and a looser approach Qualitative fuzzy rules go further and completely divorce the rules from mathematics