Adaptive Fuzzy CMAC Design For An Omni-Directional Mobile Robot
Adaptive Fuzzy CMAC Design For An Omni-Directional Mobile Robot
Zhi-Qiang Yang
Department of Electrical Engineering
National Ilan University
Ilan 26047, Taiwan.
[email protected]
« sin(δ + θ ) − cos(δ + θ ) L»
« » = P (a ) = a T w
¬ cos(δ + θ ) sin(δ + θ ) L¼ z CMAC
(6)
where ωi (t ), i = 1, 2,3, 4 is the angular velocity of each where a ∈ RM is the relevance vector;
wheel; r denotes the radius of each wheel, and L represents W ≡ [ w1 " w b ] ∈ R M ×b denotes the CMAC weight matrix,
the distance from the center of the platform to the center of
each wheel. and w i ∈ R M , i = 1," , b .
Figure 3 shows a possible partition of the input variables
of the CMAC, in which both s1 and s2 are divided into seven
quantified elements, so that 49 inputs states, with
m, n = −3, −2, −1, 0,1, 2,3 , are formed yielding 49 inputs
states, with m, n = −3, −2, −1, 0,1, 2,3 .[8]
840
Weight
Association Receptive-field memory Figure 4 presents a concept map of fuzzy sets that are
memory space , A space , T space,
P :W
A → RmOutput integrated with the CMAC that presents a possible partition
G: S → A space, Y Output
Aa w1 YCMAC1 of the input variables of the CMAC. For a two-input problem,
Input
space, S
Ab w2 a fuzzy system with N fuzzy rules may be designed, each of
Ac
s1 Ba
w3
which has the form,
w4
#
(1,1)
Bb
# w5
R (i ) : IF s1 is F1i and s2 is F2i , THEN z (fi ) is aTi w
(-2,2) Bc
sL
Ca
w6
(7)
w7
Cb w8
.. ..
. .
YCMACm
where i = 1, 2," , N , and the THEN-part is extracted from
.. ..
. .
for L=2
case Ih w26 the CMAC. Given the membership function of fuzzy set
Fki , k = 1, 2, denoted as μ F i , the following defuzzification
Ii w27
for M=27
case w1 " wm k
N
s2 v1a1T w + v2 aT2 w + " + vN aTN w i¦
=1
vi aTi w
z = = N (8)
v1 + v2 + " + vN
FCMAC
3.5 ¦ vi
(-3,3)(-2,3)(-1,3) (0,3) (1,3) (2,3) (3,3) i =1
2.5
(-3,2)(-2,2)(-1,2) (0,2) (1,2) (2,2) (3,2) 2
1.5 where vi = ∏ μ F i ( sk ). The preceding equation may be re-
(-3,1)(-2,1)(-1,1) (0,1) (1,1) (2,1) (3,1) k =1 k
A B N
C
¦ vi
i =1
D E F
robot is developed.
s1
-3.5 -2.5 -1.5 -0.5 0 0.5 1.5 2.5 3.5 s2
3.5 3.5 y ( n ) = f ( x ) + G ( x )u (11)
(-3,3) (-2,3) (-1,3) (0,3) (1,3) (2,3) (3,3) P
2.5 2.5
(-3,2) (-2,2) (-1,2) (0,2) (1,2) (2,2) (3,2) To merge an output feedback sliding-mode control
1.5 μ F2 ( s2 ) 1.5
(-3,1) (-2,1) (-1,1) (0,1) (1,1) (2,1) (3,1)
algorithm into the multi-dimensional nonlinear system, an
0.5 1 0.5 ideal adaptive law,
0 (-3,0) (-2,0) (-1,0) (0,0) (1,0) (2,0) (3,0) Z 0
ˆ = −γ y AT h ᧨ i = 1," , m
-0.5 -0.5
(-3,-1) (-2,-1) (-1,-1) (0,-1) (1,-1) (2,-1) (3,-1)
W i 1 i (12)
-1.5 -1.5
(-3,-2) (-2,-2) (-1,-2) (0,-2) (1,-2) (2,-2) (3,-2)
-2.5 -2.5
(-3,-3) (-2,-3) (-1,-3) (0,-3) (1,-3) (2,-3) (3,-3) N
-3.5
-3.5 -2.5 -1.5 -0.5 0 0.5 1.5 2.5 3.5 Dˆ = γ 2 y 1 , Dˆ (0) > 0 (13)
Figure 4. Conceptual map of fuzzy sets integrated integration of fuzzy
sets with CMAC. and a control law,
841
u = G # (x) ª¬ y (dn ) − Cx º¼ + (hT AW ˆ ⋅ sgn ( φ ) ,
ˆ )T − D (14)
are designed.
These two laws are used to construct an AFCMAC
system (Fig. 5) to accommodate the uncertainties and the
unpredictable disturbances of a multi-dimensional nonlinear
system.Next, a Lyapunov stability analysis is performed to
verify the proposition that all signals in a closed-loop system
are bounded. The Barblat lemma is then invoked to
determine that the tracking error x converges asymptotically
to zero [1, 8].
xd x u
− + y ( n ) = f ( x ) + G ( x )u
uK
x u K ≡ G # ( x) ª¬ y d(n ) − Cx º¼ + + uA
u AFCMAC
s
s = [dT x dT x ]
u AFCMAC = (hT AW
ˆ )T +
+ u AR
ˆ = −( 1φhT A)T
W Figure 6. Comprehensive physical map of experimental omni-directional
mobile robot.
≡ diag ª¬ φ1 ! φb º¼
u AR = − D
ˆ ⋅ sgn(φ) B. Experiment of Tracking Control
Parameters for an elliptical path are as follows.
ˆ = 2 , D
D ˆ (0) > 0
xd = 100 cos(θ )
°
® yd = 150sin(θ ) , 0 ≤ θ ≤ 2π (15)
Figure 5. Architecture of AFCMAC system. °θ = 0
¯ d
50
Y(cm)
-50
-100
-150
-200
-150 -100 -50 0 50 100 150
X(cm)
842
Figure 7 displays the experiment on the tracking response of REFERENCES
the AFCMAC along an elliptical trajectory. The figure
verifies that the proposed AFCMAC controls an omni- [1] J. J. E. Slotine and W. Li, Applied Nonlinear Control, Prentice-Hall,
directional mobile robot with any initial point and can 1991.
perform accurate elliptical trajectory tracking. [2] Z. Y. Shen, J. Zhao, J. Xu, and X. S. Gu, “Nonlinear unknown input
observer design by LMI for lipschitz nonlinear systems,” The 8th
IV. CONCLUSION World Congress on Intelligent Control and Automation (WCICA),
pp. 3450-3454, 2010.
This work proposed a modified AFCMAC scheme that is [3] J. R. Noriega and H. Wang, “A direct adaptive neural-network control
used in the trajectory tracking control of a four-wheeled for unknown nonlinear systems and its application,” IEEE Trans.
Neural Netw., vol. 9, pp. 27-34, 1998.
omni-directional mobile robot. The proposed scheme can be
[4] W. S. Lin and C.S. Chen, “Robust adaptive sliding mode control
used to solve the tracking control problem of a class of using fuzzy modelling for a class of uncertain MIMO nonlinear
nonlinear uncertain systems. The fuzzy cerebellar model is systems,” IEE Proc. Control Theory Appl., vol. 149, pp. 193-201,
combined with both adaptive and control laws to enable the 2002.
controller gains or weights to be adjusted online. The [5] J. S. Albus, “A new approach to manipulator control: the cerebellar
FCMAC is trained to approximate the optimal weights, with model articulation controller (CMAC),” Trans. ASME, J. Dyn. Syst.
Meas. Contr., vol. 97, pp. 220-227, 1975.
the CMAC trained in 49 input states to have a high [6] T. F. Wu, P. S. Tsai, F. R. Chang, and L. S. Wang, “Adaptive fuzzy
resolution, so that the error between the input and the desired CMAC control for a class of nonlinear systems with smooth
output is small. The AFCMAC in all instances an output compensation,” IEE Proc. Control Theory Appl., vol. 153, pp. 647-
feedback sliding-mode control algorithm and ideal adaptive 657, 2006.
and control laws to reduce its tracking error to zero and to [7] H. C. Huang, “Intelligent motion control for four-wheeled
omnidirectional mobile robots using ant colony optimization,” Next
accommodate its approximation error. Wave in Robotics: Communications in Computer and Information
Finally, the proposed AFCMAC scheme is implemented Science, vol. 212, pp 94-106, 2011.
on a field-programmable gate array chip, completing the co- [8] T. F. Wu, H. C. Huang, S. S. D. Xu and N. T. Hu, “Adaptive fuzzy
design of hardware and software. The Qsys system is used to CMAC controller design for tracking of four-wheeled
present results of the simulation of the real-time trajectory omnidirectional mobile robot,” Innovation, Communication and
tracking control of the omni-directional mobile robot to Engineering-Meen, Prior & Lam (Eds), Taylor & Francis Group,
London, ISBN 978-1-138-00117-6, pp. 341-346. 2013.
demonstrate the effectiveness and the high performance of
the proposed AFCMAC.
843