Rules describe, in words, the relationships between input and output linguistic variables based on their linguistic terms. The rule base of a fuzzy system determines the output values of the fuzzy system based on the input values.
The vehicle-position input linguistic variable you created in step 1 has five membership functions, and the vehicle-orientation input linguistic variable has seven. Therefore, you can construct rules to associate 35 possible combinations of the linguistic terms of these input linguistic variables with the linguistic terms of the steering-angle output linguistic variable you created in step 2.
Note��The table in the Complete Rule Bases topic illustrates this rule base. |
Complete the following steps to create the complete rule base for the vehicle maneuvering example. You must have created both input linguistic variables and the output linguistic variable before creating this rule base.
Notice that the consequent of each rule in the Rules list is THEN 'steering-angle' IS 'neg-large'. However, the linguistic term of the steering-angle output variable depends on the combination of linguistic terms of the input variables. Therefore, you must modify the pre-generated rules to use the correct consequents.
Previous 2. Creating Output Linguistic Variables |
Home Tutorial: Using the Fuzzy System Designer |
Next 4. Modifying Pre-Generated Rules |