Image

MSD 101: Fuzzy logic

Aug. 1, 2000
Look-up tables are a convenient way to express the relationship between two variables in software

Look-up tables are a convenient way to express the relationship between two variables in software. But the interpolation required between data points can overburden a microprocessor. Rather than sacrifice execution speed, some programmers turn to fuzzy logic.

The concept goes back to the 1960s, when UC-Berkeley professor Lotfi Zadeh developed “fuzzy set theory.” In contrast to standard set theory, where objects are either in or out of a set, fuzzy sets allow objects to have partial membership. Fuzzy logic advances the concept to include mathematical operations, most notably Boolean logic.

Questions & answers

Q What’s so special about fuzzy logic?
A It gives reasonable answers despite imprecise and conflicting data.

Q How should I select membership functions?
A Six or seven overlapping membership functions spanning the output range work best. Shape is relatively unimportant.

Q Should I use it instead of PID control?
A Not if you have a system that can be modeled as a second-order linear differential equation.

Sponsored Recommendations

Flexible Power and Energy Systems for the Evolving Factory

Aug. 29, 2024
Exploring industrial drives, power supplies, and energy solutions to reduce peak power usage and installation costs, & to promote overall system efficiency

Timber Recanting with SEW-EURODRIVE!

Aug. 29, 2024
SEW-EURODRIVE's VFDs and gearmotors enhance timber resawing by delivering precise, efficient cuts while reducing equipment stress. Upgrade your sawmill to improve safety, yield...

Advancing Automation with Linear Motors and Electric Cylinders

Aug. 28, 2024
With SEW‑EURODRIVE, you get first-class linear motors for applications that require direct translational movement.

Gear Up for the Toughest Jobs!

Aug. 28, 2024
Check out SEW-EURODRIVEs heavy-duty gear units, built to power through mining, cement, and steel challenges with ease!

Voice your opinion!

To join the conversation, and become an exclusive member of Machine Design, create an account today!