Fuzzy Logic


Byte Craft Limited has a long history of using Fuzzy Logic to great advantage in embedded systems.

The easiest way to describe Fuzzy Logic is as a tool that helps describe complex algorithms in an intuitive way. It helps you focus on what is important, in your own terms, about your program design problem. It helps you stay in the problem space rather than dwelling in the solution space.

Byte Craft Limited supports Fuzzy Logic in embedded systems with the Fuzz-C™ Fuzzy Logic preprocessor. This tool interprets Fuzzy Logic directives within C source code, and generates the necessary programming to make Fuzzy Logic calculations within your program.

This section gives some information on our support of fuzzy logic, and resources you can use.

Fuzz-C and IEC 61131 compares IEC 61131 fuzzy logic constructs with those of Fuzz-C. If you're moving from PLC programming to C for embedded microcontrollers, this document illuminates the similarities and differences.

Walter Banks presented a paper on Linguistic Variables at the 2003 ACCU conference. Read a copy of it here.

The paper refers to several source files:

PRICING.fuz The fuzzy logic pricing example.
PRICING.C The generated C code for PRICING.FUZ.
PID.FUZ A fuzzy PID controller.
PID.C Generated code for PID.FUZ.
FUZZC.H The Fuzz-C support header file.
GC.DFT The Center of Gravity defuzzification template.

This is the Powerpoint presentation of Walter's presentation, Linguistic Variables: Clear Thinking With Fuzzy Logic.

Our own Fuzzy Logic in Embedded Microcomputers and Control Systems is a great resource. Get a copy of it here.