Rules |
Configures the rules for the fuzzy system.
This page includes the following components:
- Rules—
rules specifies the rules for the fuzzy system. Use the input variables and output variables to form the antecedents and consequents, respectively, of the rules.
- Add Rule—
Creates a new rule for the fuzzy system.
- Delete Rule—
Deletes the selected rule.
- Move Rule Up—
Moves the selected rule up one position in the Rules list.
- Move Rule Down—
Moves the selected rule down one position in the Rules list.
- Defuzzification method—
defuzzification method specifies the defuzzification method this VI uses to convert the degrees of membership of output linguistic variables into numerical values.
- Antecedents—
antecedents specifies the antecedents, or IF portions, of the rule. Each antecedent consists of three parts: the index of an input linguistic variable, an operator that specifies whether to calculate the degree of membership or the degree of non-membership of the input linguistic variable within a linguistic term, and the index of the linguistic term. The indexes correspond to the order in which the variables or linguistic terms were created.
- Add Antecedent—
Creates a new antecedent for the rule you select in the Rules list.
- Delete Antecedent—
Deletes the last antecedent for the rule you select in the Rules list.
- Consequents—
consequents specifies the consequents, or THEN portions, of the rule. Each consequent consists of three parts: the index of an output linguistic variable, an operator that specifies whether to calculate the degree of membership or the degree of non-membership of the output linguistic variable within a linguistic term, and the index of the linguistic term. The indexes correspond to the order in which the variables or linguistic terms were created.
- Add Consequent—
Creates a new consequent for the rule you select in the Rules list.
- Delete Consequent—
Deletes the last consequent for the rule you select in the Rules list.
- Antecedent connective—
antecedent connective specifies how this VI calculates the truth value of the aggregated rule antecedent.
You can use the following antecedent connectives:
- AND (Minimum)—Specifies that the fuzzy logic controller uses the smallest degree of membership of the antecedents.
- AND (Product)—Specifies that the fuzzy logic controller uses the product of the degrees of membership of the antecedents.
- OR (Maximum)—Specifies that the fuzzy logic controller uses the largest degree of membership of the antecedents.
- OR (Probabilistic)—Specifies that the fuzzy logic controller uses the probabilistic sum of the degrees of membership of the antecedents. The fuzzy logic controller uses the following equation to calculate the probabilistic sum: (A + B) – (A * B), where A and B are the antecedents.
- Degree of support—
degree of support specifies the weight, between 0 and 1, that you want to apply to the rule. The default is 1. Multiply the degree of support by the truth value of the aggregated rule antecedent to calculate the rule weight.
- Consequent implication—
consequent implication specifies the implication method this VI uses to scale the membership functions of the output linguistic variable based on the rule weight.
|