Professional Documents
Culture Documents
Sample Applicationsof Expert Systems
Sample Applicationsof Expert Systems
DIAGNOSTIC SYSTEMS
XS S M L XL
XS A Good Very
ALittle
Amount Little
S A Good Very Very
A Lot
Amount Little Little
M A Whole A Good Very
A Lot
Lot Amount Little
L A Whole
A Lot A Lot A Little
Lot
XL A Whole A Good
A Lot A Lot
Lot Amount
Fuzzy Rule-Base for Output HeatKnob
Step Five: Defuzzify the outputs (use center of area method)
Example:
LevelSense=6.75, TempSense=65
Crisp input –LevelSense=6.75
Fuzzy outputs with membership values—
Medium: 0.4; Large:0.6; all others: 0.0
Crisp input –TempSense=65
Fuzzy outputs with membership values—
Medium:0.75; Large: 0.25; all others: 0.0
Rules that fire for the fuzzy inputs:
1. If TempSense is Medium (0.75) and LevelSense=Medium(0.4)
then set HeatKnob to AGoodAmount(0.4)
2. If TempSense is Large(0.25) and LevelSense=Medium(0.4) then
set HeatKnob to VeryLittle(0.25)
3. If TempSense is Medium (0.75) and LevelSense=Large(0.6) then
set HeatKnob to ALot(0.6)
4. If TempSense is Large(0.25) and LevelSense=Large(0.6) then
set HeatKnob to ALittle(0.25)