You can use the Rules VIs to modify the rules for a fuzzy system. This section demonstrates how to recreate the first rule of the greenhouse fuzzy system:
IF 'Temperature' IS 'Cold' AND 'Humidity' IS 'Dry' THEN 'Electric Roof' IS 'Closed' ALSO 'Water Spills' IS 'Moderate' |
and replace the existing first rule of the fuzzy system with the rule you create.
When you use the Rules VIs to create rules, you must create the rules in parts. First, you create the antecedents. Then, you create the consequents. Finally, you combine the antecedents and consequents for a specific rule. The next three steps of this tutorial walk you through each of these actions.
Previous 4. Modifying Membership Functions |
Home Tutorial: Modifying a Fuzzy System with the Fuzzy Logic VIs |
Next 6. Creating Antecedents |