Documente Academic
Documente Profesional
Documente Cultură
org/systems_and_measurements/
82
82
I. I NTRODUCTION
In applying conventional control theory to practical problems, we have to model the plant or system. The modeling
is done by using a set of linear differential or difference
equations, in which unknown parameters are included. But
the range of applicability is not so wide to cover real control
problems. In real world, the plant and its environment
are too complex to describe them by such linear models.
For example, in a robotic control system, it may have
many sensors providing inputs that cannot necessarily be
interpreted as state variables. Furthermore, the models of
the system may be unknown and interact with unknown
changing environment.
Therefore, it is necessary to adopt new methods of
control. They may not be so rigorous mathematically so that
it can work in a wide range of domains and under more
dynamic and more realistic conditions. One of the powerful
methods is neuro-control based on the neural networks
since the neural networks have preferable properties to
overcome the difficult problems stated above. Some of them
are 1) learning by experience (training), i.e., human-like
learning behavior,
2) generalization ability, i.e., mapping ability of similar
inputs to similar outputs, 3) nonlinear mapping ability, 4)
parallel distributed processing, allowing fast computation for
large scale systems, 5) robustness for noise and environmental change, 6) self-organizing property, etc. These properties
make neuro-control suitable for applications to real control
problems.
In this paper, we will adopt the proportional-plus-integralplus-derivative (PID) control and tune the PID gains based
IARIA - www.iaria.org
w:Updated
values
FFC
0 -1
1
Specification
FBC
Plant
ek
FB element
i
Oi
O
k
wkj
wji
I
Input layer
Hidden layer
Figure 1.
+d
Desired
signal
Output
signal
Figure 2.
+
2
Output layer
E =
= f (netj ),
(1)
netj
wji Oi j ,
K e ,
k
1X
2 k=1
ek = dk Ok .
k = ek Ok (1 Ok
).
= wji (new) wji (old) = j Oi
(2)
i=1
1
= sigmoid(x).
(3)
1+
x)
exp(
where Oj denotes the output of neuron j, wji denotes the
connection weight from a neuron i to a neuron j, j is a
threshold value of neuron j.
f (x) =
netj =
(4)
I
X
wji Oi .
i=0
K
= X w O (1 O )
k kj j
j
k=1
= 1, 2, . . . , K,
N.
j = 0, 1, . . . ,
(6)
where the first term and second terms of (5) and (6) are
called the learning term and the momentum terms, respectively and and are called learning rate and momentum
rate, respectively.
IV. F EEDBACK C ONTROL S YSTEM A LGORITHM
Ok =
netk
f (netk ),
J
X
=
wkj Oj
.
j=0
Plant
Input
Output
Reference signal
Neural network
r
(a)
Neural network
u1
Reference signal
Output
y
Plant
(a)
Input
+
Input
u
Output
Plant
Reference signal
Input
Neuro-Control
NN2
Output
Plant
Conventional
Prediction error
y
+
y^
Emulator Total
error
NN1
e
(b)
Conventional
Controller
Plant
y
Neuro-Control
Output
Plant
NN2
Neural network
Input
(b)
Reference signal
Emulator
NN1
(c)
Figure 3.
Copy
(c)
Figure 5.
1
reference
d(t)
error
e(t)
1
Ti s
kc
input
u(t)
Plant
output
y(t)
1
= integral action
s
Td s
s = derivative action,
Gc (s) = U (s)
(7)
1
= kc 1 +
+ Td s
E(s)
Ti s
where U (s)and E(s) are input and error between the desired
value and output. Here, kc , Ti , and Td are called as propor-
Zt
1
e( )d + Td d e(t)
(8)
u(t) = kc e(t) +
Ti
dt
e(t) = d(t) y(t)
y(t)
(9)
R: Maximum slope
L: Equivalet time-lag
t : Time
Figure 6.
u(t) =
e(t)
+
Ziegler-Nichols method
Reference
signal
Error
PID
Controller
Input
Plant
u
PID gains : K ,K ,K
Output
y
NN
(neural network)
(10)
Kp = kc 1 Ki , Ki = kc T , Kd = kc Td
2
Ti
T
As in the continuous-time case, Ziegler-Nichols method
in the discrete-time case has become as follows:
Ki
Kp = kc ,
2
0.6
0.6
1.2 T
Ki =
= L 2
=
,
RL 2L
G0 L02
( T ) (RT )
T
0.6
Kd = kc d =
,
T
G0
G0 = max y(t) y(t 1) ,
L0 = L
n
T
Ziegler-Nichols method is helpful to find the rough estimation of PID gains, it is not so good in any case. Therefore,
in the process control the operators are adjusting these gains
based on their experience and knowledge in trial and error
as shown in Fig. 6.
We have developed a self-tuning PID controller. The
control structure is shown in Fig. 7.
Figure 7.
where
e(t + 1) = d(t + 1) y(t + 1).
Let us consider the three layered neural network as shown
in Fig. 8 where we assume that the output function is
f (x) = x in the output layer to extend the range of the
PID gains over [0,1]. Using the three output neurons of the
neural network, we denote the PID gains by
Kp = Ok (1),
Ki = Ok (2),
(12)
wkj Oj ,
m = 1, 2, 3
(13)
wkj Oj ,
m = 1, 2, 3
(14)
j=0
N
X
Kd = Ok (3)
N
X
j=0
Ok (1)
wkj
Input
MO
MO
(15)
where k = 1, 2, 3,
.
j = 0, 1, . . . , N
Ok
j
w ji
E(t
+
1)
min E =
Kp
e(t )
Ok (2)
Ki
wkj
Ok (3)
Input data
1
2
e(t )
2
u(t 1)
d (t )
+
y(t )
Kd
u( ), y( ), d ( ), = t 2, t 3,...,
wkj
Figure 8.
Neuro-PID structure
(16)
Emulator
Input
where j = 1, 2, . . . , N, i = 0, 1, . . . , M,
. Let define k as follows:
netk
Then we have
E (t + 1)
E (t + 1) netk
k j
=
wkj = O .
wkj
netk
(17)
(18)
(19)
Emulator structure.
e(t) e(t 1)
(k = 1)
u(t)
(20)
=
e(t)
(k = 2)
Ok
e(t) 2e(t 1) + e(t 2) (k =
3)
Jac(t) =
Plant
Figure 9.
Output error
E(t + 1)
k =
(21)
X
j=1
kj
j
j
j1
O (1 O )W .
(26)
we have
u(t)
k = e(t + 1)Jac(t + 1)
,
k = 1, 2, 3.
Ok
Therefore, we obtain the following relation.
(22)
XK
k wkj Oj (1 Oj ).
i=1
(24)
(25)
Input
Neural
Network
Plant
Figure 10.
+
-
Neuro-emulator structure.
PIVOT
OF
Performance
4,126 mm
1,671 mm
1,603 mm
2,200 Kg
4 persons
100 Km/h
200 Km(at a constant cruising spped of 40km/h
Approximate 20 secs. from 0 m to 400 m
30%
lead battery
power steering, heat-pump type sir conditioning
Rotation
Conventional Moprtor
Rotating Wheel
Fixed Shaft
Moprtor on PIVOT
Figure 11.
Load
UFAS
Driving
DDC
(C1)
DDC
(C2)
DCM
(M1)
Figure 14.
Lateral drive
ACM
(M2)
TD1
Kp
d(t)
NNC
PID
u(t-1)
Ki
Torque
generator
Kd
y(t)
e(t)
y(t)
+
d(t)
e(t)
Regression
equation
Rotation at a point
Figure 12.
^
y(t)
yn(t)
TD1
TD2
yr(t)
+
NNM
TD1
TD2
em(t)
R(t)
(rpm)
d(t) or y(t)
Figure 15.
Experimental simulator where TD1 and Td2 are time-delay
elements with one and two steps delays, respectively.
Figure 13.
Experimental simulator.
real, reference
25
(Nm)
25N
m
re fe re n c e
c o n tro l re s u lts
d (t )
error
y(t )
3
(Nm)
real, reference
15Nm
time (a)
e(t )
150s
error
25
(Nm)
(a)
25Nm
d (t )
(Nm)
y(t )
150
tim e [s
]
re fe re n c e
c o n tro l re s
u lts
15Nm
150s
time (b)
Figure 16.
e(t )
0
0
tim e [s
150
(b)
VII. C ONCLUSIONS
In this paper we have proposed the neuro-PID control
algorithms based on the neural network of layered type.
This control method is robust with parameter change and
noise as well as the environmental condition. Therefore, we
can apply the neuro-PID controller to many kinds of control
problems, for example, process control, regulator problem,
serbo-problem etc. Among them we have applied the torque
and speed control problems of PIVOT electrical vehicle
(PIVOT) which has been develped by Shikoku Electric
power Ltd, in Japan.
R EFERENCES
[1] Omatu, S., Yoshioka, M., Kosaka, T.: PID Control of Speed
and Torque of Electric Vehicl. 2009 Third International
Conference on Advanced Engineering Computing and
Applications in Sciences Proceedings, Slima, Malta, pp. 157
162(2009)
Figure 17.
initial value
final value
recommended
value by company
0 .3
proportional gain
kc
Suitable region
0
1 .0
http://www.iariajournals.org/systems_and_measurements/
90
90
re fe re n c e
u lts
5 0 0 0 [rp m ]
d (t )
y(t )
c o n tro l re s
5 0 0 0 [rp
m]
d (t )
c o n tro l re s
y(t )
0
2 0 0 [rp m ]
0
2 0 0 [rp m
]
e(t )
0
re fe re n c e
u lts
5 0 0 0 [rp m ]
T im e [s
]
(a) Initial stage
re fe re n c e
u lts
15
0
e(t )
150
0
c o n tro l re s
T im e [s ]
5 0 0 0 [rp m
]
d (t )
y(t )
d (t )
re fe re n c e
c o n tro l re s u lts
y(t )
0
2 0 0 [rp m ]
0
2 0 0 [rp m
]
e(t )
e(t )
0
0
Figure 19.
T im e [s ]
(b) Final stage
15
0
[2] Widrow, B., F. W. Smith: Pattern-Recognizing Control Systems. Computer and Information Sciences Symposium Proceedings, 288 317, Spartan, Washington, DC. (1963)
[3] Walt, M.D., Fu, K.S.: A Heuristic Approach to Reinforcement
Learning Control Systems. IEEE Transactions on Automatic
Control, AC-10, 4, 390398 (1965)
[4] Michie, D., Chambers, R.A.: An Experiment in Adaptive
Control. In Tou J.T. and Wilcox R.H. (Eds.): Machine Intelligence, Edinburgh, Oliver and Boyd, pp. 137-152 (1968)
[5] Barto, A.G., Sutton R.S., Anderson, C. W.:Neuronlike Adaptive Elements that Cn Solve Difficult Learning Control Problems. IEEE Transactions on Systems Man and Cybernetics, 13,
5, 834846 (1983)
[6] Kawato, M., Furukawa, K., Suzuki, R.: A Hierarchical Neural
Network Model for Control and Learning of Voluntary Movement. Biological Cybernetics, 57, 169185 (1978)
[7] Hunt, K.J., Sbarbaro, R.: Neural Networks for Non-Linear
Internal Model Control. IEE Proceedings Control Theory and
Applications, 138, 5, 431438 (1991)
[8] Willis, M.J., Montague, G.A., Dimassimo, C. Tham, M.T.,
Morris, A.J.: Artificial Neural Networks in Process Estimation
and Control, Automatica, 28, 6, 11811187 (1992)
[9] Jordan M.I., Jacobs, R.A.: Learning to Control an Unstable
System with forward Modelling, In Lippmann R.P., Moody
S.E., and Touretzky D.S. (Eds.), Advances in Neural Information Processing Systems, San Mateo, Morgan Kaufmann, San
Francisco (1990)
[10] Psaltis, D., Sideris A., Yamamura A.: A Multilayered Neural
Network Controller, IEEE Control Systems Magazine, 8, 2,
1721 (1988)
[11] Omatu, S.: Learning of Neural-Controllers in Intelligent
Control Systems, In Zurada, J.M., Marks II, R.J. , and Robinson, C.J. (Eds.): Computational Intelligence Imitating Life,
IEEE Press, New York (1994)
[12] White, D.A., Sofge, D.A. (Eds.): Handbok of Intelligent
Control, Van Nostrand Reinhold, New York
(1992)
[13] Miller, III, W.T., Sutton, R.S., Werbos, P.J. (Eds.): Neural
Netoworks for Control, MIT Press, Massachusetts (1990)
[14] Omatu, S., Maruzuki, K., Rubiyah, Y.: Neuro-Control and Its
Applications, Springer, London (1996)
[15]