# Fuzzy logic

**URL:** <https://forum.kirupa.com/t/fuzzy-logic/23301>\
**Category:** Uncategorized\
**Created:** [June 16, 2003, 3:54am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301 "2003-06-16T03:54:50Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daveman](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@Daveman](https://forum.kirupa.com/u/Daveman)\
**Post date:** [June 16, 2003, 3:54am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/1 "2003-06-16T03:54:50Z")

</div>

what is fuzzy logic? I have an air conditioner with a fuzzy logic light that flashes?? and yesterday i bought a new washing machine and that has one too… got me beat…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 3:58am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/2 "2003-06-16T03:58:11Z")

</div>

you mean there’s an actual light labeled “fuzzy logic?”

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 3:59am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/3 "2003-06-16T03:59:15Z")

</div>

yes and on the air con it flashes when i turn it on… There’s nothing in the manual and no controls for it on the remote…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:02am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/4 "2003-06-16T04:02:12Z")

</div>

> Date: 15-APR-93

Fuzzy logic is a superset of conventional (Boolean) logic that has been  
extended to handle the concept of partial truth – truth values between  
“completely true” and “completely false”. It was introduced by Dr. Lotfi  
Zadeh of UC/Berkeley in the 1960’s as a means to model the uncertainty  
of natural language. (Note: Lotfi, not Lofti, is the correct spelling  
of his name.)

Zadeh says that rather than regarding fuzzy theory as a single theory, we  
should regard the process of ``fuzzification’’ as a methodology to  
generalize ANY specific theory from a crisp (discrete) to a continuous  
(fuzzy) form (see “extension principle” in [2]). Thus recently researchers  
have also introduced “fuzzy calculus”, “fuzzy differential equations”,  
and so on

from Lotfi A. Zadeh, The founder of fuzzy logic

Rev

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:05am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/5 "2003-06-16T04:05:07Z")

</div>

but how does that apply to air cond’s and washing machines?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:05am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/6 "2003-06-16T04:05:17Z")

</div>

and this:

> The Role of Fuzziness in Artifical Intelligence

Fuzzy logic is perhaps the most promising advancement to come along in the Artifical Intelligence community in recent history. What exactly lies behind the term “fuzzy”, what can fuzziness bring to the advancement of AI and what would fuzzy AI mean for the future?  
Fuzzy logic in it’s simplest terms expands the dicotomy of true or not true to include a range of answers in between. The usual example is say instead of being black or white, fuzziness allows for shades of gray. Since fuzzy logic allows this extra bandwidth in fuzzy answers, fuzzy rules used in programming can cover a much broader area. A fuzzy rule such as “When it rains, you get wet”\*\*\* can cover a lot of ground. It would be able to several instantions of itself such as “when it rains a lot, you get wet a lot” or “when it rains a little, you get wet a little”.

Rules like this are beautiful because they are human rules. They are a much better model of how we think. It is not often that questions that arise in life have bivalent answers. There are a few that do such as “Are you married?”. Other questions such as “Do you like your job?”, would tend to elicit a range of a response falling somewhere between yes and no.

How exactly is a fuzzy rule able to cover so much ground? By the use of a patches. A fuzzy rule will define a fuzzy patch. Say for example that you would like to use fuzzy logic to control an air conditioner (Kosco’s example). You could define a fuzzy set for the temparature range as COLD, COOL, JUST RIGHT, WARM and HOT. A system could be composed of a few sloppy rules with wide patches, or many precise rules with narrow patches. Perhaps the air conditioner system is representative of other real systems. That is, an optimal solution involves some wide sloppy rules, and some precise ones.

The fuzzy rules that would go with the air conditioner system would be:

Rule 1: If the temperature is cold, them motor speed stops.  
Rule 2: If the temperature is cool, the motor speed slows.  
Rule 3: If the temperature is just right, the motor speed is medium.  
Rule 4: If the tempertaure is warm, the motor speed is fast.  
Rule 5: If the temperature is hot, the motor speed blasts.

from Mitsubishi Electric Asia…

Rev

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:07am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/7 "2003-06-16T04:07:30Z")

</div>

THey are probably smart Machines. they probably can deteact problms, perhaps fix them on some level etc. =) Probably has the intelegence of a Bug (or lower) but still pretty cool =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:08am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/8 "2003-06-16T04:08:03Z")

</div>

> Today many houshold appliances have fuzzy logic built into them to make their use easier. You can find fuzzy logic in shower heads, rice cookers, vacuum cleaners, and just about everywhere. So you can get an idea how these machines work, we’ll look at this simplified model of a fuzzy washing machine.

Like a real fuzzy washing machine would, our model first tests how dirty the laundry is. Once it knows how dirty the laundry is, it can easily calculate how long it should wash it. To calculate this it uses the graph below:

First it always takes a base of 10 minutes. It does this so that people are happy with its work even if they put completly clean laundry in to wash. It then calculates to what degree it is dirty. If it is 100% dirty it adds two minutes per piece of laundry. Of course a real washing machine would just do these calculations in the end, but our model does it for each individual piece so you can keep track of what is going on easier.

So if you now add a piece which is only 50% dirty, it will add 50% of 2 minutes; it adds 1 minute instead of 2 minutes to the base of 10 minutes.

Our washer, however, doesn’t only check for dirt but also for grease. Laundry which is greasy has to be washed longer too. Since the laundry can be greasy and dirty at the same time, we have to put them on the same graph. When we do this, we get a graph like the one below:

On the graph to the right, you can see once more the base of ten minutes. The point 0,0 is where the laundry is completely clean; non-dirty and non-greasy. The point 0,1 is where the laundry is non-greasy, but dirty. The point 1,0 is where it is greasy but not dirty and 1,1 is greasy and dirty. The washing machine adds 2 minutes per piece for 100% dirty or 100% greasy and 4 minutes for 100% dirty and greasy.

So now if you have a piece of laundry which is 100% dirty and 50% greasy, you first go to the point 0,1 (100% dirty) and then go halfway towards point 1,1. If the cube would contain more information, you could now see that the washer has to wash it for 3 minutes more than the base of 10 minutes.

from [http://www.ch172.thinkquest.hostcenter.ch/fuzzy-logic6.html](http://www.ch172.thinkquest.hostcenter.ch/fuzzy-logic6.html)

Rev

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:11am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/9 "2003-06-16T04:11:05Z")

</div>

ok that relates to climate controls on the air con, thanks Rev…

Can my new washing machine detect how dirty my clothes are then wash accordingly s/p?.. wow this could be cool…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:11am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/10 "2003-06-16T04:11:47Z")

</div>

like i said… Smart Machines =)

its just cool stuff =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:18am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/11 "2003-06-16T04:18:48Z")

</div>

Google is a truly amazing tool…

😉

Rev ![](http://www.aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:22am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/12 "2003-06-16T04:22:19Z")

</div>

point taken Rev

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:23am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/13 "2003-06-16T04:23:50Z")

</div>

it was just a nudge…

:beam:

Rev ![](http://www.aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:26am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/14 "2003-06-16T04:26:44Z")

</div>

Google has single handedly made me look smarter than i really am =) lol =) I love Google too, its amazing =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 16, 2003, 4:28am UTC](https://forum.kirupa.com/t/fuzzy-logic/23301/15 "2003-06-16T04:28:52Z")

</div>

I love the fact that Avant lets me search from a side bar…

both normal and advanced searches…

This browser is so cool… It’s IE on steroids…

Rev ![](http://www.aulman.com/rev.gif)
