Documente Academic
Documente Profesional
Documente Cultură
- hC C"m
h Fiulso, Calitorbi *Ju.e 192
TP6 - 17:20
Comparative Analysis of Control Design Techniques for a
Cart-Inverted-Pendulum in Real-Time Implementation
Chuan-Chang Hung and Benito Femarndez R.
The inverted-pendulum has been used in the literature as a platform to study real world nonlinear control problems by using different control techniques [1,
10, 15, 16]. Although adaptive techniques [1, 10] are
currently under study at the NERDLab, in this paper
we restrict our comparison to PDC, SMC, FLC, ESC,
and NNC, in order to compare their performance. This
I. INTRODUCTION
PID control [11] is a major practical technology that
1870
(1)
s(t) = -7tanh(!452)
(2)
j=1
i=l
the process in order to perform certain high-level control actions. Rule testmg is guided by the data-driven
forward-chaining [6]. If a rule premise is true when
tested, its action is executed. If it s not true it keeps
searching until it finds a premise that is., Then, the
expert system allows the execution of the numerical
procedure to get the control value. However, if any
premis cannot be found to be true in the whol ru
ase, a new rule has to be added. For comparison purpose, we use the same rules as fuzzy ruls and quantize input and output domains the expert system as
those m the fuzzy controller. The control action is obtained from the linear combination of input variables
such as u = hi x zx + xzx 2. The h, and k2 are
determined according to what kind of control action is
executed in the output domaim. The value of u is a
"crisp" value. The knowledge-base rules are shown in
Fig. 1.
2.4 Fussy Controller Design: As a knowledgebased decision making strategy, the fuzzy controller
develops a rule base using linlguistic descriptions of
human experts. The rule base relates fuzzy quantities which present decision criteria and decision actions
(see Fig. 1). Fuzxy linguistic terms such as small, positive small, high , etc. are represented as fuzzy sets
that do not -have a crisp boundary in the universe of
discourse. In fuzzy nature, there s a vagueness associated with the membership functions in a fuzzy set,
which can take on any value in the interval [0,11. Furthermore, given measured values of the inputs, the appropriate decision action can be computed using the
compositional rule of inference which is mar - mn
operations from fuzzy logic [14].. Actual process measurements are crisp, i.e., non-fuzzy. Hence, they are
fuzzified in order to apply the compositional rule of
inference. Conversely, the decision action has to be a
crisp value. Hence, each decision action inference is
defuzzified so that it could be used to determine the
real output value. Several mthods are available to
perform this operations [2].
The domain of the input variables zi and X2 and
control variable are quantized as Positive age Positive Small, Negative Large, Negative Small, ad Zero.
Common sense and engineering judgment indicate the
possible rules to balance an inverted pendulum. Therefore, the 15 rules as shown in Fig. 1 can be chosen
based on this knowledge and be applied to -control the
pendulum.
2.5 Neural Network Controller Design: The neural control system of the cart-inverted-pendulum consists of a three layer perceptron neural network trained
with an Adaptive BackPropagation (ABP) algorithm
[4]. The neurocontroller network is fully connected
(3)
are less sensitive to the noise. In the PD, expert system, and neural network controllers, the steady error
increaes.
V. CONCLUSIONS
From the view pomt of designing a controller, a PD
is easier to implement than the other controllers. In
section 3, the simulation results show that the PD controller performs well when finely tuned. However, in
real time control, a PD lose its stability due to the
effect of disturbances and is senitivity to the change
in the plant parameters. This verifies the fact it is
hard to control a nonlinear system with a linear controller. Based on the experimental results, the fuzzy
controller has high capability to solve the nonlimearity and uncertainty problems i the control system.
The membership function plays a very critical role in
this control process. Once one define a good membership function, the performance of a fuzzy controller
will be very robust in the face of system unertainty.
control lacis
However, a weakness is that the
formal synthesis and analysis techniques. The control
procesm depends upon the experence of human operators whose qualitative rules of thumb can be described
as fuzzy decision rules. Sliding mode controller has
the capability to handle modelin imprecion and disturbances. However, it may excite high-frequency dy-
namics and its desig i more elaborate. Expert system control uses the same rule as a fuzzy control, but
it can't predict all the possibilities of the system uncertainty according to its searching algorithm. Using
more rules in the expert system's rule base can isprove the performance, however it becomes expensie
computationally. Training the neural network control
system is time-conming due to the backpropagation
algorithm requiring a long time to-train the controller
network. However, the result of neural network control
shows its learning capability from traig the trajectory of fussy controer with the sm robustness as
that of the fuy controller around the rderence position. Moreover, it perform very ble at the reference
position in a short . How to keep the system stawith the neural network controlkr
ble for a longer
depends on the training data and time. Good training
data that reprents faithfuly the system respone can
result in better performance.
The simulations and experiments show the- performance of each controller. ESC, FLC, and NNC are
function approximations of either rules or nonlinear
mapping lie SMC. There is not enough evidence to
conclude that one controller could replace the others. However, this paper indicates the weaknesses and
strengths of each controller and provides a basic idea
to choose a controller for real-time application. In
using gain
prinaple all controllers (except PD, u
scheduling) could perform similarly. Ease of design and
implementation would be the dding criteria Tor selection as wel as familiarit with the tool. Familiarity
with the tool (control) ai system are two requisites
REFERENCES
1872
AA LAt
-UNLOM ir--.SMMIL
lS
*1
IN
I
N.116
4-a-
444
_.t
L&A AkAk
n
-a
ML
A_L
&k
Ns
adn
-
ML
N.
3. FN
it,
usM
Fs
FL
PS
M.
CL I*
adkw
Mm d
k.
rn
upo
uwdie
eyW
Ohe Icmu S(r
idamT"
'0l'#- fuNI
* (OO
mdw
2. FineO
*kL s
he --c aud ied.o
Thurdwe,shinfum.(
pN
icpnQM9
FHO4 sZIS.4.isEaeDu is
EL sDoas.
*U ,TIM uskix
0k2
Compr
Fiur 2-
-0.01
Si
X~~~~~~~~~~
Figure 2.
O@
@4
........
Comparison
eO.OS~
OS|
...........' '.
of angle
response
~~~ ............,,
set
change
0-*-
of
the
F-
plant's
parameters
'
P*,O
-uEatMod
__ aw
.l * ,W_ ~~~~~~~~~............
........... ..
,.
NX
L.
C2
...
0.4
sec
-...i
&
. .
0.5
04
response
EXC
NNIC
PDC I FLC I SM-C
13 ods 11 ond .9 t ecnd
C ~ne 1IaJFiyFm :Eff07rad 50T0r7 :+50T0 *O&0frd tO.01 rad
e
10 iseamn
7 secods 415 secods
L3 seconds 13 s
Stab Eco
Mtw
rad *00
ra
I0.01 d
Chane
rad- *.0 rad :tO.02
Stmdy
0.0163
0.01879
ion
0.01683
0.0185
o.0185
Computa-
r ~ ~~
7
Befor ~StabeTine
Time
seconds
seconds
seco
ds
seconds
Table 1. The performance of the controller before and after parameter changes
?iY Osatrel
Su"dtigEd. eatrewhn
sMU.
bwtl htnrh
oeatrel swhse
-.
.1i
rl.-.
PIM Sam .
-1, -0
PI=
-no bep
" ;;a
M-.
M IV-ftg= Oa la..Pft
L-Mmlmi.
r=
IN
-a
1-
1874