Lec1 IntellControl
Lec1 IntellControl
Intelligent
Control Systems
Lecture notes
Ha Le Nhu Ngoc Thanh, Ph.D.
CONTROL SYSTEMS
Classical Control: PID, Root Locus (Undergraduate)
Modern Control: (Graduate)
- Optimal control (LQR, LQG)
- Adaptive control
- Robust control
- Nonlinear control
+ Advantage: - Mathematically rigorous foundation
- Stability of the system can be guaranteed and proven by math
+ Disadvantage: - System modelling is necessary
- Expert knowledge of automatic control technique, Dynamic model
Intelligent Control: (Graduate)
- Fuzzy control
- Artificial Neural Network
- Genetic Algorithm
- Particle Swarm Optimization - PSO
+ Advantage: - System modelling is not necessary
+ Disadvantage: - Mathematically rigorous foundation is not guaranteed
- Can not be guaranteed the stability of the system
1
18-Mar-26
Lecture 1:
Fuzzy Control System
Main contents
1. Fuzzy Set and Membership Function
2. Mathematic operation in Fuzzy Set
3. Fuzzy Logic
4. Fuzzy Rules
1
0
SV
1
0
2
18-Mar-26
CV
Crisp set
Meaning of 𝝁𝑨 (𝒙): The membership function, 𝝁𝑨 (𝒙), quantifies how much an element 𝒙 ∈
𝑿 belongs to the crisp set 𝑨. In the crisp set, the value of MF: 𝝁𝑨 𝒙 : 𝑿 → {𝟎, 𝟏}.
In the crisp set, two options are available: 𝑌𝐸𝑆 (100%) or 𝑁𝑂(0%)
• 𝜇𝐴(𝑎) = 1 Element 𝑎 entirely belongs to a set A is 100%
• 𝜇𝐴(𝑏) = 0 Element 𝑏 entirely belongs to a set A is 0% (not belong to A)
3
18-Mar-26
Fuzzy boundary
Fuzzy set
4
18-Mar-26
Fuzzy set
Crisp set
5
18-Mar-26
Example:
6
18-Mar-26
Fuzzy Singleton
Mechatronics Engineering – Intelligent Control 13 © Ha Le Nhu Ngoc Thanh, Ph.D.
7
18-Mar-26
Support of fuzzy set 𝐴 (Miền nền của tập mờ 𝐴): is the set all
elements 𝑥 ∈ 𝑋 such that 𝜇 𝑥 > 0
↔ 𝑺𝒖𝒑𝒑𝒐𝒓𝒕 𝑨 = {(𝒙, 𝝁𝑨 𝒙 ) 𝝁𝑨 𝒙 > 𝟎}
Boundary of fuzzy set 𝐴 (Miền biên của tập mờ 𝐴): is the set all
elements 𝑥 ∈ 𝑋 such that 0 < 𝜇 𝑥 < 1
↔ 𝑩𝒐𝒖𝒏𝒅𝒂𝒓𝒚 𝑨 = { 𝒙, 𝝁𝑨 𝒙 𝟎 < 𝝁𝑨 𝒙 < 𝟏}
Core of fuzzy set 𝐴 (Miền lõi của tập mờ 𝐴 ): is the set all
elements 𝑥 ∈ 𝑋 such that 𝜇 𝑥 = 1
↔ 𝑪𝒐𝒓𝒆 𝑨 = { 𝒙, 𝝁𝑨 𝒙 𝝁𝑨 𝒙 = 𝟏}
0.6
8
18-Mar-26
Which one is
Fuzzy partition?
9
18-Mar-26
Temperature is cold
Velocity is high
Linguistic Linguistic
variable value
10
18-Mar-26
(Linguistic value)
(Linguistic variable)
11
18-Mar-26
How to prove?
12
18-Mar-26
13
18-Mar-26
14
18-Mar-26
15
18-Mar-26
16
18-Mar-26
17
18-Mar-26
18
18-Mar-26
Pressure Temperature
19
18-Mar-26
FUZZY RULES
Fuzzy Rule (“quy tắc mờ” hoặc “luật mờ”) are statements IF…THEN
In the fuzzy rule:
FUZZY RULES
Fuzzy Rules (hệ luật mờ)
20
18-Mar-26
FUZZY INFERENCE
1. Crisp Inference (suy luận rõ)
Crisp Inference is process to infer True value of conclusion proposition from True
value of condition proposition.
FUZZY INFERENCE
2. Fuzzy Inference
Principle of fuzzy inference: Compute True value of condition proposition, subsequently infer
true value of conclude proposition, and this value do not larger the True value of condition
proposition
21
18-Mar-26
FUZZY INFERENCE
2. Method of Fuzzy Inference
Method MAX – MIN (MIN: And , MAX: Or )
IF AND THEN
FUZZY INFERENCE
Method MAX – PROD
IF AND THEN
22
18-Mar-26
FUZZY INFERENCE
Example 1: Given a fuzzy rule:
IF (liquid level is Low) AND (pump’s velocity is Medium) THEN (voltage is High)
Find the result of fuzzy inference and draw a membership function by method MAX-MIN,
and MAX-PROD. Given liquid level in the tank 𝑥 = 25%, Pump’s velocity is 𝑥 = 1400 RPM
FUZZY INFERENCE
3. Fuzzy Inference from fuzzy rules
The fuzzy inference result of fuzzy rules is union of all fuzzy inference results of each individual rule.
Example: consider two fuzzy rules such as
23
18-Mar-26
FUZZY INFERENCE
Method 1: MAX – MIN Inference
OR
(Aggregation)
Result:
Aggregation
FUZZY INFERENCE
Method 2: MAX – PROD Inference
Result:
24
18-Mar-26
FUZZY INFERENCE
4. Fuzzy Inference based on impact fuzzy rule
In some cases, the set of fuzzy with many rules, computing α , α , … , β , β …,is very complicated
and confused. Thus, we only concern impact rules.
Impact rules are the rules that the True value of the condition proposition is larger than zero
(𝛽 > 0 ⟺ min{𝛼 , 𝛼 , … 𝛼 } > 0 ⟺ 𝛼 ≠ 0).
FUZZY INFERENCE
Example 4: Given 6 fuzzy rules as follows
R1: If x1 is LO and x2 is NE, then y is VH
R2: If x1 is LO and x2 is ZE, then y is HI
R3: If x1 is LO and x2 is PO, then y is ME
R4: If x1 is HI and x2 is NE, then y is ME
R5: If x1 is HI and x2 is ZE, then y is LO
R6: If x1 is HI and x2 is PO, then y is VL
Question:
Given x1 = 6, x2 = -10. Let draw a result of fuzzy inference in two cases using MAX-MIN and MAX-PROD
25
18-Mar-26
Preprocessor Postprocessor
26
18-Mar-26
Ex:
i. If “error” is “large” and “velocity” is “small”, then “voltage” is “medium”.
ii. If “error angle” is “small negative” and “angular rate” is “small positive”, then “control voltage” is
zero
27
18-Mar-26
Ex:
If “error (e)” is “large” and “velocity (v)” is “small”, then 𝑢 = 5𝑒 + 𝑣 .
28
18-Mar-26
CoG
2 3 5
1 4 6
Centre of Gravity
In fuzzy inference:
• In the Mamdani model, fuzzy rules are combined using the MAX operator before defuzzification.
• In the Sugeno model, fuzzy rules are not combined using the MAX operator before defuzzification;
instead, the output is computed as the weighted average of each rule’s consequent.
29
18-Mar-26
30