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

Aug. 22, 2025
Discover how to meet growing customer demands for custom products without overextending your engineering team. Learn how scaling your automation strategy can help you win more...
Aug. 22, 2025
Join industry leaders to explore how cutting edge digital technologies are transforming factories. Learn how to boost throughput, enhance flexibility, and accelerate your digital...
Aug. 22, 2025
Explore the future of manufacturing. Learn how to leverage the latest digital technologies and strategies to build a more efficient, agile, and resilient digital factory.
Aug. 21, 2025
A look into the latest improvements in motion control through high-performance drives, AI enhancements, and faster communication protocols.

Voice your opinion!

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