Minimum about fuzzy logic
Verity numeration - inference

For the example, we have again chosen five diagnostic levels, each of which is represented by a separate fuzzy logical variable – output language terms: OK, warning1, warning2, alarm, malfunction. We can evaluate their logical values using a group of logical expressions (assignment commands) generalized for fuzzy logic. In order to use conditional commands IF – THEN, it would be necessary to deal with generalization of implication function and deriving rules, so these are not used herein.

OK := v_low & normal;

warning1 := v_low & increased OR v_increased & normal;

warning2 := v_low & overheating OR v_increased & increased OR v_high & normal;

alarm := v_increased & overheating OR v_high & increased;

malfunction := v_high & overheating;

We can arrange the rules in a matrix form (map) for better clarity.

Fig. 6.10: Matrix arrangement of the rules.