Fuzzy Logic

"Fuzzy" Logic is a scheme that seems to be a whole lot of "IF, Then" decisions, the goal is for the code to not be so inflexible.
An example:" If the tanklevel is low then run the pump for a while to fill it some." Really, there is a bit more to being serious about fizzy logic, but that is a frequent example.
 

MisterBill2

Joined Jan 23, 2018
27,362
"Fuzzy Logic" was very highly touted a few years back,I suspect that was because some group was making a profit from selling "fuzzification" software. What it actually appears to be is code that allows different actions depending on some variable that may have seemingly randomly different values.
What it looks like to me is adaptive software that is not forced into a single flow path. Sort of like the "IF, THEN" but possibly with multiple choices.
 

crutschow

Joined Mar 14, 2008
38,423
"Fuzzy" Logic is a scheme that seems to be a whole lot of "IF, Then" decisions, the goal is for the code to not be so inflexible.
Fuzzy Logic basically uses a series if IF-THEN-ELSE commands to control the loop, and is not predicated on the controlled system being linear as PID analog (discrete-time, digitized form in a computer) loops do.
And it's generally easy to see what the control loop is doing and what needs to be tweaked to improve the system response.

There was a thread some time ago where the poster was tying to automate the control of water and steam in an espresso machine and was having problems with the PID loop being unstable due to the various non-linearities of the water and steam vs temperature and pressure.
He then tried a Fuzzy Logic loop and said his first program try worked better than the PID loop he's been working on for some time.
 
Last edited:
Top