Variables are
i and u (current and input voltage of
the motor), ω (rotation speed),
c
x (position of the
cart),
φ (angle of the pendulum), d (disturbance
moment). Constants are
JRL ,, (motor inductor,
resistance, inertia),
e
K (electromagnetic constant),
f (friction coefficient),
(pulley radius), N (gear
reduction),
l (pendulum length), α (pendulum
friction coefficient) and
(weight acceleration).
Specifications are: tracking of the reference of figure
4, no steady state error, time response
≤
6s, rejection
of disturbance
d and
rad05.0)( ≤tφ
;
time
Position reference
0,4 m
0
0
4s
Figure 4: Position reference.
4.2 Three Outputs H
∞
Synthesis
To show the versatility of the method, a three
measurement controller is designed (synthesis model
of figure 5). The filters are defined as:
0009.0
7.1
2
1
1
+
+
⋅=
s
W
,
2000
2
100
2
+
+
⋅=
s
W
01.0
3
=W , 2
4
=W , 1
5
=W , 1.0
6
=W
(8)
)(sG
)(sK
+
-
ε
u
d
φ
)(
1
sW
)(
2
sW
)(
3
sW
1
e
2
e
3
e
c
x
)(
4
sW
4
e
)(
5
sW
5
e
)(
6
sW
6
e
-
-
+
+
Figure 5: Synthesis model for the “3 output” case.
The solution of the full order synthesis leads to a H
∞
norm
06.1=γ . The full-order controller is of order
6. The Hankel reduction leads to a very large H
∞
norm
7.56=γ for the order 2 controller. A
controller is computed by the PSO algorithm, with
the filters of the full order synthesis. Results are
given in table 1 for 100 tests. Computation times are
30s (Pentium IV, 2GHz; Matlab 6.5).
Table 1: Optimisation results for the three output case.
Worst Best Mean
53.4=
∞
60.2=
∞
50.3=
∞
Figure 6 gives the Bode diagram of the transfers of
matrix (1) (full order, Hankel reduction controller,
and PSO). Figure 7 represents the corresponding
time responses. As can be seen, results of the Hankel
reduction controller are quite similar as for the full
order controller, except at high frequencies. Figure 8
and 9 give the same results obtained with the mean
controller of the PSO method. Note first that the
response of
)(tφ is quite similar as the previous
ones and remains therefore satisfying. A slight
overshoot is observed on the reference tracking.
However, consider figure 10, where a
measurement noise
m
d has been added on the cart
position. The control input u is represented both for
Hankel reduction and PSO controllers. As can be
seen from figure 6, Hankel reduction leads to a
modification of the closed loop transfers for high
frequencies. As a result, high gains for high
frequencies lead to an amplification of measurement
noises and thus to chattering control inputs. On the
contrary, the reduced order synthesis leads to closed
loop systems with smaller H
∞
norm. The system is
more robust against measurement disturbances.
5 CONCLUSIONS
In this paper, a metaheuristic method based on
Particle Swarm Optimization has been presented.
PSO is a stochastic optimization method which does
not require any particular structure for costs and
constraints. As a result, the method can be used to
optimize many kinds of criterions and solve non
convex, non linear or non analytic problems. In this
paper, the method is used to solve a well known
problem of modern Automatic Control, namely the
reduced order H
∞
synthesis. The problem is known
to be a non convex problem, for which the
traditional approach is an a posteriori reduction of
the full order synthesis. Results, computed for a
pendulum in the cart have shown the viability of the
approach. Computed controllers lead to a slight
decrease of nominal performances but to a more
ICINCO 2008 - International Conference on Informatics in Control, Automation and Robotics
304