Fuzzy Control: - Configuration - Design Choices - Takagi-Sugeno Controller
Fuzzy Control: - Configuration - Design Choices - Takagi-Sugeno Controller
– Configuration
– Design choices
– Takagi-Sugeno controller
Direct Control
End-user
Controller
Rule
Ref Deviations base Actions Outputs
Plant
Inference
engine
Building Blocks
Fuzzy controller
Rule
Prepro- Fuzzi- base Defuzzi Postpro
cessing fication -fication -
Inference cessing
engine
Nonlinear Input Scaling
100
50
scaled input
-50
-100
-5 0 5
measured input
If-Then Rule Base
Neg NB NM Zero
Pos Zero PM PB
Connectives
A B A ( x) B ( x) algebraic product
A B A ( x) B ( x) A ( x) B ( x) probabilistic sum
FLS I/O Families
Zero
Neg Pos
1
Membership
0.5
0
-1 -0.5 0 0.5 1
Input
1
Membership
0.5
0
-1 -0.5 0 0.5 1
Output
Examples Of Primary Sets
1 1 1 1 1
0 0 0 0 0
-100 0 100 -100 0 100 -100 0 100 -100 0 100 -100 0 100
(a) (d) (g) (j) (m)
1 1 1 1 1
0 0 0 0 0
-100 0 100 -100 0 100 -100 0 100 -100 0 100 -100 0 100
(b) (e) (h) (k) (n)
1 1 1 1 1
0 0 0 0 0
-100 0 100 -100 0 100 -100 0 100 -100 0 100 -100 0 100
(c) (f) (i) (l) (o)
Inference And Terminology
AND
a4
a5
Activation
Defuzzification
Accumulation
Aggregation
Defuzzification
0.5
0
0 50 100
RM
LM
BOA
MOM
COG
Rule Based Controllers
0.5 0.5
0 0
-100 0 100 -100 0 100
1 1 1
0 0 0
-100 0 100 -100 0 100 -100 0 100
1 1 u = -25.7
0.5 0.5
0 0
-100 0 100 -100 0 100
FLS Inference
error control
1 1
0.5 0.5
0 0
-100 0 100 -100 0 100
1 1 1
0 0 0
-100 0 100 -100 0 100 -100 0 100
1 1 u = -29.7
0.5 0.5
0 0
-100 0 100 -100 0 100
Sugeno Inference
error control
1 1
0.5 0.5
0 0
-100 0 100 -100 0 100
1 1 1
0 0 0
-100 0 100 -100 0 100 -100 0 100
1 1 u = -36.3
0.5 0.5
0 0
-100 0 100 -100 0 100
Singleton Output
100 1
output 2
50
0
0 50 100
(a)
1
membership
0.5
0
0 50 100
(b)
Rule Base To Table
Look-Up Table
Change in error
200 0.8
0.6
membership
0
u
0.4
-200
100 0.2
100
0
0 0
CE -100 -100 E -100 -50 0 50 100
input family
Linear Controller
200 0.8
0.6
membership
0
u
0.4
-200
100 0.2
100
0
0 0
CE -100 -100 E -100 -50 0 50 100
input family
Linear Rule Base
Conditions For Linearity
• Triangular sets, crossing at = 0.5
• Rules: complete -combination
• Define as *
• Use conclusion singletons, positioned at sum of input
peak positions
• Use sum-accumulation and COGS defuzzification
Simplification of 4 rules
1. If error is Neg and change in error is Neg then control is NB
3. If error is Neg and change in error is Pos then control is Zero
7. If error is Pos and change in error is Neg then control is Zero
9. If error is Pos and change in error is Pos then control is PB
is
is