Abstract
An adaptive controller of nonlinear PID-based analog neural networks is developed for the velocity- and orientation-tracking control
of a nonholonomic mobile robot. A superb mixture of a conventional PID controller and a neural network, which has powerful
capability of continuously online learning, adaptation and tackling nonlinearity, brings us the novel nonlinear PID-based analog neural
network controller. It is appropriate for a kind of plant with nonlinearity uncertainties and disturbances. Computer simulation for a
differentially driven nonholonomic mobile robot is carried out in the velocity- and orientation-tracking control of the nonholonomic
mobile robot. The effectiveness of the proposed control algorithm is demonstrated through the simulation experiment, which shows its
superior performance and disturbance rejection.
r 2007 Elsevier B.V. All rights reserved.
Keywords: Nonlinear PID; Analog neural network; Nonholonomic mobile robot; Adaptive control
0925-2312/$ - see front matter r 2007 Elsevier B.V. All rights reserved.
doi:10.1016/j.neucom.2007.04.014
ARTICLE IN PRESS
1562 J. Ye / Neurocomputing 71 (2008) 1561–1565
Many digital neural networks, which are discrete learning As to the left-and right-wheel driven system, the direct
algorithms, have been presented owing to the fact that they controllers of nonlinear PID-based ANNs for the mobile
offer several advantages such as predictable accuracy, high robot are proposed as
noise-immunity, ease of multiplexing communication and
t r ¼ u1 þ u2 , (6)
computation, availability of well-established tools for
digital design and ease of interfacing with other digital t l ¼ u1 u2 , (7)
systems. On the other hand, analog neural networks, which
are continuously learning algorithms, have many advan- where u1 and u2 are the outputs of the ANN1 and the
tages such as high speed, small size, low cost, low power ANN2, respectively. The network structure with a three-
and straightforward interfacing with the outside word that layer neuron is shown in Fig. 3. Here, kpj, kij, kdj, (j ¼ 1,2)
is analog by nature, when analog neural circuits are made are the proportional, integral and derivative gains,
of electronic elements or chips. Control systems have to respectively; epj, eij and edj that are three inputs of the
respond in real time and, therefore, demand fast computa- neural network are the system errors between the desired
tion. Currently, many promising developments in robotics output and motion output of the mobile robot, integral of
and automation are impractical because of the large size, the system error, and difference of the system error,
cost and power consumption of the required control respectively. A controller output uj can be obtained from
systems. Hence, it motivates us to combine an analog the following equation:
neural network with PID control. The combination uj ¼ f ðxÞ; j ¼ 1; 2, (8)
proposed here will take advantage of the simplicity of
PID control and the analog neural network’s powerful where x is the input of sigmoid function f( ) that has a
capability of continuous online learning, adaptability and nonlinear relationship as presented in the following
tackling nonlinearity. However, there is a linear PID function
controller tuned using ANN in literature, but it may 2ð1 eax Þ
usually deteriorate the control performance [8] if severe f ðxÞ ¼ , (9)
að1 þ eax Þ
nonlinearity is involved in the controlled process. There-
fore, the nonlinear PID controller tuned using ANN is where a is a parameter, which determines the shape of
proposed in this paper, and it can improve the control sigmoid function. The input signal of the sigmoid function
performance of the nonlinear systems. in the output layer becomes
The structure of the newly proposed control algorithm of
nonlinear PID-based analog neural networks is shown in xðtÞ ¼ kpj ðtÞepj ðtÞ þ kij ðtÞeij ðtÞ þ kdj ðtÞedj ðtÞ; j ¼ 1; 2,
Fig. 2. This control algorithm has the characteristics such (10)
as simple structure, little computation time, and contin-
uous auto-tuning method of the neural network controller. where
Two direct controllers of the PID-based analog neural Z t
networks are composed of the orientation and velocity dep1 ðtÞ
ep1 ðtÞ ¼ vd ðtÞ vðtÞ; ei1 ðtÞ ¼ ep1 ðtÞdt; ed1 ðtÞ ¼ ,
control of the mobile robot. Robot motion can be 0 dt
controlled by its linear velocity v and orientation angle y.
Here, the control goal is to design two ANN controllers Z t
dep2 ðtÞ
that force the tracking error e ¼ [ep1, ep2]T to zero, where ep2 ðtÞ ¼ yd ðtÞ yðtÞ; ei2 ðtÞ ¼ ep2 ðtÞdt; ed2 ðtÞ ¼ .
ep1 ¼ vdv, ep2 ¼ ydy, and vd and yd are the desired 0 dt
translational (linear) velocity and the desired orientation
The Neural networks are trained by the conventional
angle, respectively.
back propagation algorithm to minimize the system error
between the output of the mobile robot and desired output
defined by the following equation:
- ep1
1
vd
ed1
E j ðtÞ ¼ ðepj ðtÞÞ2 ; j ¼ 1; 2: (11)
s
PID- u1
1 2
Based
ei1 T r
1 ANN1 Σ v
s 1 Mobile
T l Robot epj(t)
ep2 1 Σ kpj(t)
d
ed2 PID- u2
- s Based
-1 kdj(t)
edj(t) Σ f(x) uj(t)
ei2 ANN2
1
s
eij(t) kij(t)
Fig. 2. Block diagram of the mobile robot control system Fig. 3. Block diagram of a nonlinear PID-based neural network
ARTICLE IN PRESS
1564 J. Ye / Neurocomputing 71 (2008) 1561–1565
From the discrete algorithm using the steepest descent Eq. (12) is expressed as follows:
method [8], the following equations can be derived [10]:
8
> Rt 4eax
8 >
> kpj ðtÞ ¼ kpj ð0Þ þ Zpj 0 epj ðtÞepj ðtÞ dt;
> R t qE j ðtÞ >
> ð1 þ eax Þ2
>
> kpj ðtÞ ¼ kpj ð0Þ Zpj 0 dt; >
>
>
> qkpj >
< Rt
>
> 4eax
>
< R t qE j ðtÞ kij ðtÞ ¼ kij ð0Þ þ Zij 0 epj ðtÞeij ðtÞ dt; j ¼ 1; 2.
kij ðtÞ ¼ kij ð0Þ Zij 0 dt; j ¼ 1; 2; >
> ð1 þ eax Þ2
qkij (12) >
>
>
> >
> Rt 4eax
>
> >
> k ðtÞ ¼ k ð0Þ þ Z e ðtÞe ðtÞ dt:
>
> R t @E j ðtÞ : dj dj dj 0 pj dj
ð1 þ eax Þ2
>
: kdj ðtÞ ¼ kdj ð0Þ Zdj 0 @kdj dt;
>
(15)
where Zpj, Zij and Zdj (j ¼ 1,2) are learning rates determining The effectiveness of the proposed PID-based ANN control
the convergence speed. From Eq. (11), using the chain rule, will be demonstrated through simulations of the motion
the following equations are derived: control of the mobile robot.
8
> @E 1 ðtÞ @E 1 ðtÞ @v @u1 ðtÞ@xðtÞ @v
>
> ¼ ¼ ep1 ðtÞ f 0 xðtÞep1 ðtÞ; 4. Simulation results
>
> @k @v @u @x @k @u
>
> p1 1 p1 1
>
> @E 1 ðtÞ @E 1 ðtÞ @v @u1 ðtÞ@xðtÞ @v
>
> The proposed neural network control is verified with
>
> ¼ ¼ ep1 ðtÞ f 0 xðtÞei1 ðtÞ;
> @ki1
> @v @u 1 @x @k i1 @u 1 computer simulation using MATLAB/SIMULINK. Here,
>
>
> qE 1 ðtÞ qE 1 ðtÞ qv qu1 ðtÞqxðtÞ
> qv the simulation is carried out by tracking a desired velocity
>
> 0
< qk ¼ qv qu qx qk ¼ ep1 ðtÞqu f xðtÞed1 ðtÞ; and orientation angle with a circular motion trajectory in
d1 1 d1 1
> qE 2 ðtÞ qE 2 ðtÞ qy qu2 ðtÞqxðtÞ qy the tracking control of the nonholonomic mobile robot.
>
> ¼ ¼ ep2 ðtÞ f 0 xðtÞep2 ðtÞ;
>
> qk qy qu qx qk qu The neural controller designed by this method does not
>
> p2 2 p2 2
>
> need any training procedure in advance, but it uses only the
>
> qE 2 ðtÞ qE 2 ðtÞ qy qu 2 ðtÞ qxðtÞ qy
>
>
> ¼ ¼ ep2 ðtÞ f 0 xðtÞei2 ðtÞ; input and output of the plant for the adaptation of control
>
> qk i2 qy qu 2 qx qk i2 qu2 parameters and can tune the parameters by means of a
>
>
>
> qE 2 ðtÞ qE 2 ðtÞ qy qu 2 ðtÞ qxðtÞ qy 0 continuously online learning process. The purpose of the
>
: qk ¼ qy qu qx qk ¼ ep2 ðtÞqu f xðtÞed2 ðtÞ:
d2 2 d2 2 simulation is to show the effectiveness of the proposed
(13) neural control algorithm.
For the simulation purpose, the desired velocity and the
desired orientation angle are taken as vd(t) ¼ 0.25 m/s and
And the following expression can be derived from Eq. (9):
yd(t) ¼ p/2+0.25 t rad (the motion trajectory on a circle of
radius 1 m), respectively. The mobile robot, however, starts
eax
f 0 ðxÞ ¼ 4 . (14) from the initial velocity v(0) ¼ 0 and the initial position
ð1 þ eax Þ2 q(0) ¼ [1.2,0,p/2]T for the initial conditions. The para-
meters of two ANN controllers are chosen as, Zp1 ¼ 600,
As done by Thanh and Ahn [8], for conveniencewe assume Zi1 ¼ 500 and Zd1 ¼ 1.5; Zp2 ¼ 800, Zi2 ¼ 5 and Zd2 ¼ 800;
qv=qu1 ¼ 1, qy=qu1 ¼ 1, qv=qu2 ¼ 1 and qy=qu2 ¼ 1. Then and a ¼ 1. However, the parameter values of the mobile
Fig. 4. Tracking performance of the motion control. (a) Tracking velocity. (b) Tracking angle. (c) Motion trajectory of the mobile robot.
ARTICLE IN PRESS
J. Ye / Neurocomputing 71 (2008) 1561–1565 1565
robot are taken as m ¼ 9 kg; I ¼ 5 kgm2; 2R ¼ 0.306 m; Our next research work will be a circuit implementation
r ¼ 0.052 m. These values are selected based on approx- of the analog neural network that is made of electronic
imate measurements or calculations made from an experi- elements or chips, and its experimental investigation for
mental mobile robot system. To demonstrate the online real-time tracking performance of a mobile robot.
learning ability and robustness of the proposed neural
controllers, a disturbance term t̄d ¼ ½0:1 sin y; 0:1 sin yT ; Acknowledgment
is added to the mobile robot system as unmodelled and
external disturbances. This work was supported by Natural Science Founda-
Simulation results for the case are shown in Fig. 4. For tion of Zhejiang Province, PR China under Grant no.
tA[0,30]. Fig. 4(a,b) shows that the mobile robot linear M603070.
velocity and orientational angle converge to the correspond-
ing desired velocity and orientational angle, respectively. Fig. References
4(c) shows the circular motion trajectory of the mobile robot
in the motion control. As can be seen from these figures, the [1] C. Canudas de Wit, H. Khennouf, C. Samson, O.J. Sordalen,
mobile robot immediately heads towards the desired velocity Nonlinear control design for mobile robots, in: Y.F. Zheng (Ed.),
Recent Trends in Mobile Robots, vol. 11, World Scientific,
and orientational angle that is moving on the circle. It then Singapore, 1993, pp. 121–156.
reaches them quickly and continues to track them. In the [2] T. Das, I.N. Kar, S. Chaudhury, Simple neuron-based adaptive
meantime, the tracking control is reasonably accurate owing controller for a nonholonomic mobile robot including actuator
to the quick online learning and adaptive capability of the dynamics, Neurocomputing 69 (2006) 2140–2151.
[3] R. Fierro, F.L. Lewis, Control of a nonholonomic mobile robot
ANNs. The simulation results demonstrate that the adaptive
using neural networks, IEEE Trans. Neural Networks 9 (1998)
control of the nonlinear PID-based ANN for the mobile 589–600.
robot is capable of better tracking performance in real time [4] T. Fukao, H. Nakagawa, N. Adachi, Adaptive tracking control of a
and robustness to disturbances. nonholonomic mobile robot, IEEE Trans. Robotics Automat. 16
(2000) 609–615.
5. Conclusion [5] I. Kolmanovsky, N.H. McClamroch, Developments in non-
holonomic control problems, IEEE Control Syst. Mag. 15 (1995)
20–36.
In this paper an adaptive controller of a nonlinear PID- [6] G. Oriolo, A.D. Luca, M. Vendittelli, WMR control via
based analog neural network is proposed for solving the dynamic feedback linearization: Design implementation and experi-
motion control problem of a nonholonomic mobile robot. mental validation, IEEE Trans. Control Syst. Technol 10 (2002)
The proposed direct control method for the mobile robot is 835–852.
[7] F. Pourboghrat, M.P. Karlsson, Adaptive control of dynamic mobile
capable of real-time control and has a better tracking robots with nonholonomic constraints, Comput.Electr.Eng. 28 (2000)
performance. Simulation results demonstrate the effective- 241–253.
ness of the proposed control algorithm, better dynamic [8] T.D.C. Thanh, K.K. Ahn, Nonlinear PID control to improve the
property, and strong robustness, and it was suitable for the control performance of 2 axes pneumatic artificial muscle manip-
ulator using neural network, Mechatronics 16 (2006) 577–587.
control of nonholonomic mobile robots. There are several
[9] J.M. Yang, J.H. Kim, Sliding mode control for trajectory tracking of
features worth pointing out. nonholonomic wheeled mobile robots, IEEE Trans. Robotics
Automat. 15 (1999) 578–587.
A simple nonlinear PID-based analog neural network [10] J. Ye, Y.P. Zhao, Application of an analog compound orthogonal
for tracking control of a wheeled mobile robot has been neural network in robot control, in: W. Shi, S.X. Yang (Eds.),
proposed. Proceedings of the International Conference on Sensing, Computing
and Automation, Chonqing, China,, Watam Press, Canada, 2006,
Actually, the proposed neural controller does not pp. 455–458.
require the dynamics model of mobile robots, which is
needed only in the simulation for this paper.
Jun Ye graduated and received his M.S. degree in
The proposed neural controller is robust to disturbances
Automation and Robotics from the Technical
including unstructured, unmodelled dynamics. University of Koszalin, Koszalin, Poland in 1997.
The analog neural network has real-time control He is currently, a Professor in the Department of
capability due to quick online learning capability with Mechatronics Engineering at Shaoxing College of
a continuous algorithm, and does not need any training Arts and Sciences, Shaoxing, Zhejiang province,
P. R. China. His research interests include
procedure in advance, but it uses only the input and
intelligence control of robots, neural network,
output of the plant for the adaptation of the control nonlinear control, and robotic mechanism design.
parameter, and can tune the parameters continuously.