Dr. Stjepan Bogdan

University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Controller Design Based on Fuzzy
Lyapunov Stability
Stjepan Bogdan
University of Zagreb
•
•
•
•
Fuzzy Lyapunov stability
Fuzzy numbers and fuzzy arithmetic
Cascade fuzzy controller design
Experimental results
– ball and beam
– 2DOF airplane
• Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
Laboratory for Robotics and Intelligent Control Systems
1
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability
operator can define stabilizing (allowed) and destabilizing (forbidden)
actions in linguistic form
QUESTION : if we replace a crisp mathematical definition of Lyapunov
stability conditions with linguistic terms, can we still treat these
conditions as a valid test for stability?
Answer to this question was proposed by M. Margaliot and G.Langholz
in “Fuzzy Lyapunov based approach to the design of fuzzy controllers”
and L.A. Zadeh in “From computing with numbers to computing with
words”.
Laboratory for Robotics and Intelligent Control Systems
2
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability
2nd order system Lyapunov function sample:
dx1/dt=x2 and dx2/dt~u
pos*pos + pos*u = neg => u = ?
X1
X2
U
V’
Positive
Positive
Negative big
Negative
Positive
Negative
Zero
Negative
Negative
Positive
Zero
Negative
Negative
Negative
Positive big
Negative
Laboratory for Robotics and Intelligent Control Systems
3
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy numbers and fuzzy arithmetic
• linguistic terms in a form of fuzzy numbers
• fuzzy number - fuzzy set with a bounded support + convex and normal
membership function μς(x):
• triangular fuzzy number (L-R fuzzy number):
Laboratory for Robotics and Intelligent Control Systems
4
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy numbers and fuzzy arithmetic
• fuzzy arithmetic
Facts against
intuition in fuzzy
arithmetic:
0
Fuzzy zero ?
Laboratory for Robotics and Intelligent Control Systems
5
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy numbers and fuzzy arithmetic
Definition: greater then or equal to
b
a
?
a >=< b
b
bα
aα
bα
a
aα
aα
bα
Laboratory for Robotics and Intelligent Control Systems
6
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Cascade fuzzy controller design
Known facts about the system:
- the range of the beam angle θ is ±π/4,
- the range of the ball displacement from
center of the beam is ± 0.3 [m]
- the ball position and the beam angle
are measured.
r


Even though we assume that an exact physical law of motion is unknown,
from the common experience we distinguish that the ball acceleration
increases as the beam angle increases, and that angular acceleration of
the beam is somehow proportional to the applied torque.
Laboratory for Robotics and Intelligent Control Systems
7
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Cascade fuzzy controller design
Task: determine fuzzy controller that stabilizes the system
- consider the Lyapunov function of the following form:
4 state variables, 3
linguistic values each 
81 rules
Observe each of two terms separately
and
Laboratory for Robotics and Intelligent Control Systems
8
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Cascade fuzzy controller design
Observe each of two terms separately
and
er
edr
N
Z
P
e
ed
N
Z
P
N
LP
P
Z
N
LN
N
Z
Z
P
Z
N
Z
N
Z
P
P
Z
N
LN
P
Z
P
LP
Laboratory for Robotics and Intelligent Control Systems
only 9+9=18 rules
9
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Experimental results – ball and beam
Experimental results – ball and beam
Laboratory for Robotics and Intelligent Control Systems
10
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Experimental results – ball and beam
V
0
Laboratory for Robotics and Intelligent Control Systems
11
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Experimental results – ball and beam
V
0
Laboratory for Robotics and Intelligent Control Systems
12
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Experimental results – 2 DOF airplane
Laboratory for Robotics and Intelligent Control Systems
13
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
Wifibot – Robosoft, France
I2C bus
Ethernet
SC12 (BECK)
IR sensors
encoders
Web cam DCS-900
Laboratory for Robotics and Intelligent Control Systems
14
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
0
Visual feedback – web cam DCS-900


320:240 or 640:480
Rj
46o
75o
Wide angle lens (Sony 0.6x)
Laboratory for Robotics and Intelligent Control Systems
15
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
markers
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
formation definition - graph (Desai et al.)
v j   v lij , lij , ij , ij 
 j   lij , lij , ij , ij 
fuzzy controllers
Formation requires
increasing order of IDs!
set of predefined rules for formation change
possible collisions during formation change
Laboratory for Robotics and Intelligent Control Systems
16
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
Occupancy grid with time windows:
• each cell represents resource used by mobile agents,
• formation change => path planning and execution for each mobile
agent => missions (with priorities?),
• one mobile agent per resource is allowed => dynamic scheduling =>
time windows.
11
12
21
22
31
41
51
d
61
13
a
14
15
23
24
25
32
34
35
b
33
42
43
44
52
53
54
e
62
63
64
65
c
45
55
Wedge formation
to T formation
b – 32 => 55 (43,54)
c – 34 => 51 (33,42)
d – 51 => 33 (52,43)
e – 55 => 53 (54)
Laboratory for Robotics and Intelligent Control Systems
11
12
13
a
14
15
21
22
23
24
25
31
32
b
33
34
c
35
41
42
43
44
45
51
d
52
53
54
55
e
61
62
63
64
65
17
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
b – 32 => 55 (32,43,54,55)
c – 34 => 51 (34,33,42,51)
d – 51 => 33 (51,52,43,33)
e – 55 => 53 (55,54,53)
43, 54 - shared
resources
11
12
21
22
12
21
22
31
32
41
42
13
33
41
42
43
44
52
53
54
e
61
62
63
64
65
23
24
25
21
22
23
24
25
32
33
34
35
31
32
33
d
34
35
42
43
c
b
44
45
41
42
43
44
45
52
53
d
e
54
55
51
c
52
53
e
54
55
b
62
63
64
65
61
62
63
64
65
34
35
31
44
45
41
55
51
65
61
61
62
63
e
64
55
22
21
54
45
15
25
53
35
14
24
d
c
13
a
23
52
34
b
12
12
51
25
11
11
b
24
15
15
43
23
14
14
c
15
a
a
33
14
32
51
13
a
31
d
11
13
Laboratory for Robotics and Intelligent Control Systems
18
University of Zagreb, Faculty of Electrical Engineering & Computing
Department of Control and Computer Engineering
SWAN06
ARRI, December 8, 2006
Fuzzy Lyapunov stability and occupancy grid –
implementation to formation control
b
d
32
33
c
c
34
c
42
43
b
d
c
51
d
52
e
53
54
d
e
b
e
b
55
t0
Laboratory for Robotics and Intelligent Control Systems
tf
19