Jump to content

Fuzzy Control Language

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 188.245.222.26 (talk) at 10:53, 22 April 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Fuzzy Control Language, or FCL, is a language for implementing fuzzy logic, especially fuzzy control. It was standardized by IEC 61131-7. It is a domain-specific programming language: it has no features unrelated to fuzzy logic, so it is impossible to even print "Hello, world!". Therefore, one does not write a program in FCL, but one may write part of it in FCL.

FCL allows the programmer to specify fuzzy sets, which are lists of points on a graph, as well as IF-THEN rules, for example:

RULE 0: ggfy

FCL is not an entirely complete fuzzy language, for instance, it does not support "hedges", which are adverbs that modify the set. For instance, the programmer cannot write:

RULE 0: ggfy

However, the programmer can simply define new sets for "very cold" and "very high". FCL also lacks support for higher-order fuzzy sets, subsets, and so on. None of these features are essential to fuzzy control, although they may be nice to have. IEC 1131-7 CD1