|
|
|
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2009, 09:27:36 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Sept 30th - The
5th SoR Robot contest
is now open! Win an Axon II!
Robot Forum
72,665
Posts in
9,267
Topics by
5,291
Members
Latest Member:
VerAye
Robot Forum
>
Software
>
Software
>
Fuzzy Logic . . . confused . . .
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: Fuzzy Logic . . . confused . . . (Read 6086 times)
Admin
Administrator
Supreme Robot
Helpful? 62
Offline
Posts: 8,610
Fuzzy Logic . . . confused . . .
«
on:
December 01, 2006, 09:17:07 PM »
the ultimate question is, what is the difference between case-based logic vs fuzzy logic? are they the same thing? is my last algebraic example really fuzzy logic?
my current understanding:
case based method
IF temperature IS hot THEN fan blows fast
IF temperature IS cold THEN fan is off
fuzzy logic method
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
so looking at both methods, they pretty much do the same thing but fuzzy logic has intermediate fan speeds based on arbitrary settings (cold, normal, etc.) . . .
now to add to the confusion . . .
is this fuzzy logic?
fan_speed = temperature * arbitrary_constant
it does the same exact thing as the fuzzy logic example above, but now its done more elegantly. it has much shorter code, and much higher resolution. although I am not using the IF/THEN syntax, the equation still does: IF temperature IS something THEN do something. this is why i think my method still fits the definition of fuzzy logic - same method, different syntax.
the reason I bring this up is because this tutorial has caused me like 20+ emails . . .
http://www.societyofrobots.com/programming_fuzzy_logic.shtml
my tutorial goes about fuzzy logic using the method of my algebraic form shown above. have i strayed too far, or does it still fit the definition?
* sorry for being stubborn . . . normally when people send me the 'admin you messed up' type of email, they are always right and i go and make the change hoping no one else saw the mistake
. . . but this time i think there is a confusion of symantics, or that im stretching the definition too far . . . the definition of fuzzy logic is just too fuzzy . . . eh sorry, bad pun . . .
Logged
subscribe to SoR's YouTube account
JonHylands
Expert Roboticist
Supreme Robot
Helpful? 2
Offline
Posts: 561
Robot Builder/ Software Developer
Re: Fuzzy Logic . . . confused . . .
«
Reply #1 on:
December 02, 2006, 02:52:03 AM »
There was an interesting thread on the Seattle Robotics Society mailing list between Nov. 22 and Nov 30, with the subject:
"Re: L298 with Microcontroller - Fuzzy Logic"
Its worth a read...
http://tech.groups.yahoo.com/group/SeattleRobotics/message/29475
I don't know if they have the messages archive public or not, but if not, you have to join the group...
- Jon
Logged
Admin
Administrator
Supreme Robot
Helpful? 62
Offline
Posts: 8,610
Re: Fuzzy Logic . . . confused . . .
«
Reply #2 on:
December 02, 2006, 08:35:05 AM »
hehe yea . . . i was the one who sparked that thread . . . and i updated my tutorial a lot based on that thread, too . . .
ok so here is the impression im getting: my method isnt fuzzy logic because it doesnt explicity define clear sets, but instead its much better (for this particular use) due to my improved notation . . .
if this is true, i can 'save' my tutorial by basically stating that my algorithms arent fuzzy logic, but a 'new and improved' notation that borrows from the concepts of fuzzy logic . . .
or am i just making things up?
Logged
subscribe to SoR's YouTube account
JonHylands
Expert Roboticist
Supreme Robot
Helpful? 2
Offline
Posts: 561
Robot Builder/ Software Developer
Re: Fuzzy Logic . . . confused . . .
«
Reply #3 on:
December 02, 2006, 09:36:49 AM »
I don't know. I try and stay away from formalized notions of AI, because I think pretty much everyone is doing it wrong.
- Jon :-)
Logged
sdk32285
Supreme Robot
Helpful? 0
Offline
Posts: 389
Re: Fuzzy Logic . . . confused . . .
«
Reply #4 on:
December 02, 2006, 05:14:51 PM »
I think AI and fuzzy logic leave a lot to the author to decide what is what. A similar type question is what constitutes a robot?
Logged
"The Difficult gets done quickly; the impossible might just take a little longer"
Militoy
Expert Roboticist
Full Member
Helpful? 0
Offline
Posts: 111
Re: Fuzzy Logic . . . confused . . .
«
Reply #5 on:
December 05, 2006, 09:56:20 PM »
I'm not a software guru - but the way I understand it, the difference between your syntax and "Fuzzy Logic" is the word "is". The basic premise of Fuzzy Logic is that there are various shades of "truth". There is no "is". There are sets "more like", or "less like" a particular condition, but all truths are relative. Kind of a "Clintonesque" view of boolean logic.
Logged
roschler
Beginner
Helpful? 0
Offline
Posts: 5
Re: Fuzzy Logic . . . confused . . .
«
Reply #6 on:
December 17, 2006, 07:19:53 AM »
Fuzzy logic is expressed in IF/THEN rules but the mechanics underneath the evaluation of each rule, and the overall rule set is very different. The evaluation of the side of the rule preceding the THEN keyword, known as the IF part or the
antecedent
, is done through the use of
membership sets
. Membership sets take many different shapes depending on the mathematics used to build them, and often overlap at the edges so a particular mathematical value is frequently the member of two sets if it resides in the area where two membership sets overlap. Once all the rule antecedents have their membership values calculated, a preselected mathematical function is used to determine a specific numeric or "crisp" value from the list of membership values, for each of the elements in the rule consequents. There are several different functions but a popular one used for
defuzzification
of such values is the
centroid
method. This method looks at the membership values created by the evaluation of the rule antecedents as a group of geometric shapes. It calculates something akin to the
center of gravity
across that set to produce a single numeric value for each of the elements in the
consequent
, which is the part of the rule that follows the THEN keyword.
That explanation is gross oversimplifed and leaves out a lot of details, but it does give the gist of the mechanics of Fuzzy Logic. This page gives a tutorial on the basics of fuzzy logic:
http://www.mathworks.com/access/helpdesk_r13/help/toolbox/fuzzy/fuzzytu5.html
«
Last Edit: December 17, 2006, 07:23:56 AM by roschler
»
Logged
vidam
Supreme Robot
Helpful? 0
Offline
Posts: 420
Robotronics.org
Re: Fuzzy Logic . . . confused . . .
«
Reply #7 on:
August 16, 2009, 11:26:56 AM »
Was just reading over the posts related to fuzzy logic to refresh some of the material I learned back in college.
I found the MATLAB link helpful to explain the fuzzy membership sets.
After further googling, I'm now using this java jar for jFuzzyLogic
http://jfuzzylogic.sourceforge.net/html/index.html
Just thought this might be of use to some folks out there.
-Melanie
Logged
sonictj
Supreme Robot
Helpful? 11
Offline
Posts: 415
Re: Fuzzy Logic . . . confused . . .
«
Reply #8 on:
August 16, 2009, 12:36:20 PM »
Here is the link to the PowerPoint presentation I was taught from.
http://www.mil.ufl.edu/courses/eel5666/handouts/Spring09/fuzzy.pdf
EDIT: sorry the thing is black and white. Somebody must have changed the presentation without thinking of the graph.
«
Last Edit: August 16, 2009, 12:42:59 PM by sonictj
»
Logged
vidam
Supreme Robot
Helpful? 0
Offline
Posts: 420
Robotronics.org
Re: Fuzzy Logic . . . confused . . .
«
Reply #9 on:
August 17, 2009, 06:05:54 PM »
Quote from: vidam on August 16, 2009, 11:26:56 AM
Was just reading over the posts related to fuzzy logic to refresh some of the material I learned back in college.
I found the MATLAB link helpful to explain the fuzzy membership sets.
After further googling, I'm now using this java jar for jFuzzyLogic
http://jfuzzylogic.sourceforge.net/html/index.html
Just thought this might be of use to some folks out there.
-Melanie
WOW, this open source Java toolkit for Fuzzy Logic and reading the content of this post may was part of my saving grace for a demo today to the customer.
And this thread helped to explain the differences between case based reasoning and fuzzy logic, which I was also able to intelligently explain to our customer today.
I'd just like to say thanks to the folks on this site. You're all awesome.
Logged
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
General Misc
-----------------------------
=> Misc
=> Robot Videos
-----------------------------
Software
-----------------------------
=> Software
-----------------------------
Electronics
-----------------------------
=> Electronics
-----------------------------
Mechanics and Construction
-----------------------------
=> Mechanics and Construction
Related Topics
Subject
Started by
Replies
Views
Last post
Any one of u got idea about fuzzy logic?
Software
bonomonod
23
4948
November 16, 2006, 10:18:42 PM
by
Admin
Fuzzy sonar spinner.
Electronics
NOOBinDistress
15
2614
April 18, 2007, 12:38:36 PM
by
Admin
Fuzzy Logic on the 50 $ robot?
Software
ioannis
1
1025
March 09, 2008, 08:00:46 AM
by
Admin
very confused
Software
nckspec
8
1367
April 01, 2008, 12:54:46 AM
by
nckspec
Advertise on this Forum
Loading...