Login | Register

Previous in Forum: Busbar Sizing   Next in Forum: cable wire sizing?
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







10 comments
Member

Join Date: Feb 2008
Posts: 8

Fuzzy Logic

05/13/2008 5:08 AM

how is fuzzy logic different from digital logic. in fuzzy we r using if then logic more over it is based on non linear grading. but my question is ,The same can be did with some microcontroller then what for we r saying it as fuzzy logic. i mean the nonlinear grading can be applied in microcontroller starting from 0 , 1 , 01, 10 , 11 .......... etc.

Send to a friend Digg this Add to del.icio.us
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Guru
Popular Science - Evolution - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 1483
Good Answers: 67
#1

Re: Fuzzy Logic

05/13/2008 8:43 AM

Fuzzy logic is not hardware, but a software algorithm. Any microcontroller or microprocessor can execute a fuzzy logic program.

Fuzzy logic is a technique for solving a problem just like the Quadratic Equation is a method for solving a problem.

Score 1 for Good Answer
Member

Join Date: Feb 2008
Posts: 8
#2

Re: Fuzzy Logic

05/14/2008 1:31 AM

ok fine.. then please tell me briefly what is fuzzy logic!

Guest
#3

Re: Fuzzy Logic

05/14/2008 3:42 AM

From what I've learned, the main difference between Fuzzy and Boolean Logic is the fact that the latter is binary-based (means that it works with only two values: true or false; 1 or 0), whereas Fuzzy Logic works with continuously-variable values that range from true to false (meaning that there is a grayscale of logical values between True and False, like 63.849% True).

Score 1 for Good Answer
Power-User
Engineering Fields - Piping Design Engineering - New Member Australia - Member - New Member

Join Date: Aug 2007
Location: Brisbane, Queensland
Posts: 193
Good Answers: 1
#4
In reply to #3

Re: Fuzzy Logic

05/14/2008 4:38 AM

like 63.849% True = MAYBE!

__________________
"A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools!" Douglas Adams 1952-2001. E&OE!
Member

Join Date: Feb 2008
Posts: 8
#5
In reply to #3

Re: Fuzzy Logic

05/14/2008 5:03 AM

if thats the way fuzzy works (variable from 1 to 0) then y we r using microcontrolller there. what role does a microcontrollers plays here in Fuzzy logic.

my next question?

u told that the values between true and false is fuzzy logic.. how u r achieving it.

6
Active Contributor

Join Date: Apr 2008
Posts: 14
Good Answers: 1
#6

Re: Fuzzy Logic

05/14/2008 5:42 AM

You have to distinguish between the "philosofical" Fuzzy logic and the "Applied" Fuzzy logic.

The first one is opposite to the crisp logic (or boolean logic or aristotelic one). In crisp logic any quotation can be or true or false, any element can be member of a set or not. In the fuzzy logic a quotation can be completely true, completely false or both true and false; and a element can be completely member of a set, or not or partially member... example: we want to define two sets, one of "tall" people and one of "small" people. If we use the crisp logic we have to define a value of separation between the two sets, i.e. 1.80 m.... so if someone is 1.81m tall is "Tall" if, instead, he is 1.79m tall is "Small": that's absurd, isn't it? In fuzzy logic you define two sets using two functions, called Membership functions i.e.:

Looking the figure: if a person is 1.6m tall is "100% Small", if he is 1.8m tall is "100%Tall" but if he is 1.75m is not completely tall or small but he is "both 70% Tall and 40% Small".... The fuzzy logic is more similar to the human way to think.

The "Applied" fuzzy logic is based on this theory but it receive a strong mathematical formalization, and the mathematics is based on the crisp logic... so the fuzzy controls are only a particular kind of digital control that can be designe in PC or microcontroller (nowadays all the thermoregolators of industrial oven (that use microcontroller) have the possibility to set a fuzzy control).

Good Answer (Score 6)
Member

Join Date: Feb 2008
Posts: 8
#7
In reply to #6

Re: Fuzzy Logic

05/14/2008 8:06 AM

i understood fuzzy logic now.

but my question is u told that 1.8m is 100% tall and 1.6 is 100% short more if a person is 1.75m then due to fuzzy logic it has been derived that he is 70% and 40% small.

now lets us consider that i would like to give some output regarding this ,as a display.

if suppose i consider 1.6 as 000000 in digital then i will consider 1.8m as 111111. similarly if i values to 000001 for 1.601m, 000010 for 1.602 as follow till end. and if i store some values as 2% tall and 98% small for 1.601m and goes on. i can do the program using if then logic in microcontroller

if i can i do a program in microcontroller as below. then wats the use of fuzzy logic.

Score 1 for Good Answer
Active Contributor

Join Date: Apr 2008
Posts: 14
Good Answers: 1
#8
In reply to #7

Re: Fuzzy Logic

05/14/2008 8:53 AM

It is a complicate way to do it!

You define the membership functions, the most commons are trapezoidal and triangular shapes. Looking the trapezoidal one, as shown in the figure posted before, you need only 4 values: x0 (-> y=0%), x1 (->y=100%), x2 (->y=100%), x3 (->y=0%). Then, if x is between x1 and x2 the output is only one and is 100%; instead, if x is between x0 and x1 or between x2 and x3, the program calls a sub-routine that perform a linear interpolation... in these cases there is the possibility that x is member also of a second set (is the case of the previous example of 1.75m tall that is member both Tall set and Small set). Note that, in theory, if a element is 100% member of a set it can't be member of other sets... it would be a logic absurd.

But what do you need? If you need to do a fuzzy control, that's only the first part of the control, then you have the "rules table" that ties the input with the output and the "defuzzyfication" that produce crisp value to govern the physical system.

Score 1 for Good Answer
Power-User

Join Date: Jun 2006
Posts: 291
Good Answers: 5
#9

Re: Fuzzy Logic

05/14/2008 12:38 PM

try http://www.seattlerobotics.org/encoder/Mar98/fuz/flindex.html for a complete Fuzzy Logic Tutorial. This will explain better than a short answer.

Power-User
United States - Member - New Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 109
Good Answers: 3
#10

Re: Fuzzy Logic

05/14/2008 1:15 PM

Bob Pease wrote about fuzzy logic in his column, Pease Porridge, a few years ago. He was looking at it from the view point of an analog designer.

They may still be available at NATSEMI.com or ELECTRONICDESIGN.com

10 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

Anonymous Hero (1), Beej50 (1), drajesh1985 (3), Guest (1), jmart23 (1), LG_Dave (1), sg80 (2)

Previous in Forum: Busbar Sizing   Next in Forum: cable wire sizing?
You might be interested in: Programmable Logic Devices (PLD), Mixing and Blending Controllers, HVAC Controllers