Previous in Forum: Busbar Sizing   Next in Forum: cable wire sizing?
Close
Close
Close
10 comments
Rate Comments: Nested
Active Contributor

Join Date: Feb 2008
Posts: 18

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.

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

Good Answers:

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

"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, vote them!
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#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.

Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Feb 2008
Posts: 18
#2

Re: Fuzzy Logic

05/14/2008 1:31 AM

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

Register to Reply
Anonymous Poster #1
#10
In reply to #2

Re: Fuzzy Logic

07/25/2024 6:49 AM
Register to Reply
Anonymous Poster
#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).

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

Join Date: Aug 2007
Location: Childers, Queensland
Posts: 412
Good Answers: 5
#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!
Register to Reply
Active Contributor

Join Date: Feb 2008
Posts: 18
#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.

Register to Reply
6
Associate

Join Date: Apr 2008
Posts: 32
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).

Register to Reply Good Answer (Score 6)
Active Contributor

Join Date: Feb 2008
Posts: 18
#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.

Register to Reply Score 1 for Good Answer
Associate

Join Date: Apr 2008
Posts: 32
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.

Register to Reply Score 1 for Good Answer
Power-User
United States - Member - Member

Join Date: Dec 2006
Location: La Grande, Oregon U.S.A.
Posts: 468
Good Answers: 23
#9

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

__________________
Don't hit at all if it is honorably possible to avoid hitting; but never hit soft! - Theodore Roosevelt
Register to Reply
Register to Reply 10 comments

Good Answers:

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

"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, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Hero (1); Anonymous Poster (2); Beej50 (1); drajesh1985 (3); LG_Dave (1); sg80 (2)

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

Advertisement