Você está na página 1de 4

IJCSI International Journal of Computer Science Issues, Vol.

10, Issue 2, No 2, March 2013


ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 83

Sliding Mode ANFIS


ANFIS-
NFIS-Based MIMO Fuzzy Neural Network Con-
Con-
trol for Robotic Systems
Yi-Jen Mon

Department of Computer Science and Information Engineering, Taoyuan Innovation Institute of Technology
Chung-Li, Taoyuan, 320, Taiwan, R. O. C.

that have to encounter nonlinearities and various uncertain-


Abstract ties in their dynamic models, such as friction, disturbance,
This paper develops a design methodology of sliding mode and load changing, and it is very difficult to reach excellent
ANFIS-Based multi-inputs multi-outputs (MIMO) fuzzy neural performance when the control algorithm is completely
network (AMFNN) control for robotic systems. This control based on the robotic plant model [14, 15]. Recently, many
system consists of a sliding mode (SM) controller and an
new adaptive control schemes are proposed for rigid ro-
AMFNN controller. The SM controller is used to deal with un-
certain parts of system dynamics and external disturbances and
botic manipulator perturbed by unknown uncertainties and
the AMFNN controller is served as a controller approaching the disturbances [16-19].
ideal controller of SM controller to stabilize the system. The In this paper, a sliding mode (SM) controller [15] is em-
ANFIS-Based laws of the AMFNN parameters are derived so ployed with ANFIS-Based MIMO FNN (AMFNN) con-
that the stability and convergence of the systems parameters of troller to deal with robotic systems tracking control. The
AMFNN can be guaranteed. The simulation results reveal that ANFIS-Based laws of the AMFNN parameters are derived
the better performances are possessed by the proposed AMFNN so that the stability of the system and convergence of the
control compared with the adaptive fuzzy neural network parameters of AMFNN can be guaranteed. In the simula-
(AFNN) control and state feedback control.
tion examples, a robotic control system is presented to
Keywords: ANFIS, multi-inputs multi-outputs (MIMO), fuzzy
illustrate the effectiveness of the proposed design method.
neural network, Robotic system, Sliding mode control.

1. Introduction 2. Problem Formulation for MIMO Nonlinear


System
Many neural-networks-based control technologies have
been proposed to demonstrate their performances for con- Consider an M-dimensional MIMO time invariant nonlin-
trol of dynamic systems. The most useful property of neu- ear system, the system states model equation must be ex-
ral networks is their ability to approximate linear or pressed as matrix form. To reduce the complexity, the o-th
nonlinear mapping through learning. Based on this prop- column of M-th order state matrix of the MIMO system
erty, neural-network-based controllers have been devel- can be expressed as following canonical form.
oped to compensate for the effects of nonlinearities and x& (t ) = f ( x (t )) + G ( x (t )) u(t ) + d (t ), y = x (1)
system uncertainties, thus improving the stability, conver-
where u(t ) and y denote the control inputs and outputs
gence and robustness of the control system [1]-[3]. The
concept of incorporating fuzzy logic into a neural network and d denotes the unknown bounded disturbance. For
referred to as a fuzzy neural network (FNN) has become a simplicity, the aforementioned functions are abbreviate
significant research topic. Based on the automation of neu- denoted as x , d , u , f , and G in the following discus-
ral networks by introducing learning capacities, the design sions. In this paper, the control law will be discussed at
and implementation of fuzzy logic control systems have first; then the overall control law will be derived by the
become very active areas of researching in recent years [4]. same way.
Recently, The Adaptive Network-based Fuzzy Inference The objective of a control system is to design a con-
System (ANFIS) [5] has been applied in many area of re- troller of u such that the system output x can track a de-
searches and has been embedded in toolbox of sired signal x d .Then an ideal control law u can be de-
MATLABTM [6-9].
signed such as to achieve an error dynamic equation [15].
To deal with the multi-inputs multi-outputs (MIMO)
However, the un-modeled dynamics and external distur-
nonlinear control systems, some adaptive fuzzy control and
neural fuzzy control systems have been proposed [10-13]. bance are always unknown in practice, so that u is diffi-
Robotic systems are well known MIMO nonlinear systems cult to design. Recently, many literatures have been pro-

Copyright (c) 2013 International Journal of Computer Science Issues. All Rights Reserved.
IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 2, No 2, March 2013
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 84

posed to solve this problem. But they are suffered prob- +( wn x1 ) pi1 + .. + ( wn xn ) pin + ( wn )rn . (5)
lems of complex manipulations and not good enough per- The hybrid learning algorithm developed in [5] can be
formances. In this paper, the controller is designed simply applied to (5) directly. A two inputs neural network struc-
by using a sliding mode ANFIS-Based MIMO fuzzy neural ture of ANFIS is shown in Fig. 1. In the hybrid algorithm,
network (AMFNN) controller to cope with model free functional signals go forward till layer 4 of Fig. 1 and the
problem such as to let the states to be closed to the region consequent parameters pi1, pi 2 , ri are identified by the
of desired states; meanwhile, the sliding mode controller is
least squares estimate (LSE) approach. In the backward
used to maintain the systems states in the sliding surface;
pass, the error rates propagate backward and the premise
finally letting u approximating the u such as to achieve parameters x1 , x2 are updated by the gradient descent
better performance and satisfy the stability convergence;
that is lim e = 0 . The controller is designed as approach.
t layer 1 layer 2 layer 3 layer 4 layer 5
u = u AMFNN + uSM (2)
A11
where u AMFNN is an ANFIS-Based MIMO controller and w1 w1 w1u1
x1 N
the uSM is a sliding mode controller.
A21 x1 x2 u

3. Sliding Mode ANFIS-Based MIMO Fuzzy A12
Neural Network Design x2
w2u 2
N
w2 w2
The ANFIS uses a hybrid learning algorithm to identify the A22
membership function parameters to generate Takagi- x1 x2
Sugeno type fuzzy inference systems (FIS). It uses the
method of combination of least-squares and back- Fig. 1. A two-inputs one-output ANFIS architecture
propagation gradient descent methods to train FIS mem-
bership function parameters to model a given set of in-
put/output data. The principle of ANFIS is briefly de- 4. Simulation Results of Robotic Control
scribed as follows [5].
Ri : If x is A1 and y is B1 In this section, an MIMO nonlinear system of robotic sys-
tem is illustrated to verify the effectiveness of the proposed
then h1 = p1 x + q1 y + r1 (3) design method. The robotic system is a two-link, articu-
where Ri denotes the ith fuzzy rules, i=1, 2,..,r; Ai is the lated manipulator which positions can be described by a
fuzzy set in the antecedent associated with the kth input joint angle vector q = [q1 q2 ]T , and the actuator input is
variable at the ith fuzzy rule, and pi1 ,..., pin , ri are the
the torque vector u = [1 2 ]T applied to the manipulator
fuzzy consequent parameters.
Based on defuzzification. The output u can be calculated joints. The nonlinear dynamics of such a robotic manipula-
as tor is a two-inputs two-outputs coupled system which can
be written as following form [15]
w1 w2
h= h1 + h2 H (q )q&& + C (q, q& )q& + L(q ) = u , (6)
w1 + w2 w1 + w2
= w1u1 + .. + w2un (4) where H (q ) is the 2 2 manipulator inertia matrix,
where wi is the ith node output firing strength of the ith C (q, q& )q& is the vector of centripetal and Coriolis torques,
w1 wn
rule, and w1 = ,.., wn = . and L(q ) is the gravitational torque vector. The control
w1 + .. + wn w1 + .. + wn
Because the fuzzy inference system is a Takagi-Sugeno problem for such a system is to design the control law such
type, i.e., hi = pi x + qi y + ri , Eq. (4) can be rewritten as that the required actuator inputs to the robot are sufficient
h = w1h1 + w2 h2 to perform the tracking control. Assuming that the robotic
= (w1x1 ) pi1 + .. + ( w1 xn ) pin + ( w1 )r1
manipulator is in the horizontal plane ( L(q ) 0 ), the dy-
+
M namic equation can be written explicitly as [15]

Copyright (c) 2013 International Journal of Computer Science Issues. All Rights Reserved.
IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 2, No 2, March 2013
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 85

H11 H12 q&&1 hq&2 h(q&1 + q&2 ) q&1 1 achieve better and robust control performance than the
H + q& = (7) AFNN control and state feedback control.
21 H 22 q&&2 hq&1 0 2 2
where
H11 = a1 + 2a3 cos q2 + 2a4 sin q 2 ,
H12 = H 21 = a 2 + a3 cos q2 + a4 sin q 2 ,
(8)
H 22 = a2 ,
h = a3 sin q2 a4 cos q2 ,
with
a1 = I1 + m1lc21 + I e + melce
2
+ mel12 ,
a2 = I e + melce
2
,
(9)
a3 = mel1lce cos e ,
a4 = mel1lce sin e ,
the parameters values of the robotic system are given as
Fig. 2. The ANFIS structure diagram
m1 = 1 , l1 = 1 , me = 2 , e = 30o , I1 = 0.12 , lc1 = 0.5 ,
I e = 0.25 , lce = 0.6 .
Equation (7) can be rewritten as a state equation
q&& = f q (q& ) + G q (q)u (10)
where
A A12 q&1
q& = [q&1 q& 2 ]T , f q (q& ) = 11 ,
A21 A22 q& 2
B B12
Gq (q) = 11 and u = [ 1 2 ] . Because the state
T
B
21 B22
of (10) is q& , it is necessary to make transformation for this
state equation with state vector of q such that the error
dynamic equation of q~ can be established. By defining the
states as x1 = q1 , x2 = q2 , x3 = q&1 and x4 = q& 2 , then, four-
th order equation of (10) can be obtained. Fig. 3(a). Tracking trajectories of q1
The joint angle error vector is defined as e = xd x , the
controller can be designed as
u = u AMFNN + uSM (11)
Where u AMFNN represents the estimated AMFNN control-
ler. The robot, which is initially at rest at ( q1 = 0o , q2 = 0o ),
is commanded to follow a desired trajectory
qd 1 (t ) = 30o (1 cos(2t )) and qd 2 (t ) = 45o (1 cos( 2t )) .
Moreover, 50% mass uncertainties of m1 and me is also
simulated to illustrate the robust control performance. For
simulation results, the proposed controller in (14) will be
compared with adaptive fuzzy neural network (AFNN)
controller and state feedback controller to verify the effec-
tiveness of the proposed control methodology. ANFIS is
designed as in Fig. 2. The simulation results are shown in
Fig. 3. The simulation results show that the AMFNN con-
troller can cooperate with sliding mode controller to Fig. 3(b). Tracking trajectories of q2

Copyright (c) 2013 International Journal of Computer Science Issues. All Rights Reserved.
IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 2, No 2, March 2013
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 86

5. Conclusions Computer Science Issues, Vol. 8, Issue 3, No. 2, May 2011,


pp. 196-210.
A sliding mode ANFIS-Based multi-inputs multi-outputs [10] C. S. Chen, Dynamic structure adaptive neural fuzzy con-
trol for MIMO uncertain nonlinear systems, Information
(MIMO) fuzzy neural network (AMFNN) control for ro-
Sciences, Vol. 179, 2009, pp. 2676-2688.
botic system has been developed in this paper. This control [11] Y. Li, N. Sundararajan and P. Saratchandran, Stable neuro-
system consists of a sliding mode (SM) controller and an flight-controller using fully tuned radial basis function neural
AMFNN controller. The SM controller is used to deal with networks, J. Guid., Contr., Dyna., Vol.24, No. 4, 2001,
uncertain parts of system dynamics and external distur- pp.665-674.
bances, and the AMFNN controller presents a controller to [12] Y. Gao and M. J. Er, Online adaptive fuzzy neural identifi-
approach the ideal controller of SM controller to stabilize cation and control of class of MIMO nonlinear systems,
the system. The ANFIS-Based laws of the AMFNN pa- IEEE Trans. Fuzzy Syst., Vol. 11, No. 4, 2003, pp. 462-477.
rameters are derived so that the stability of the system and [13] A. Atig, F. Druaux, D. Lefebvre, K. Abderrahim and R. B.
Abdennour, Adaptive control design using stability analysis
convergence of the parameters of AMFNN can be guaran-
and tracking errors dynamics for nonlinear square MIMO
teed. The simulation results reveal that the proposed con- systems, Engineering Applications of Artificial Intelligence,
trol methodology possesses better performances by com- Vol. 25, 2012, pp. 1450-1459.
parison with adaptive fuzzy neural network (AFNN) con- [14] T. H. S. Li, Y. C. Huang, MIMO adaptive fuzzy terminal
trol and state feedback control. sliding-mode controller for robotic manipulators, Informa-
tion Sciences, Vol. 180, 2010, pp. 4641-4660.
[15] J. J. E. Slotine and W. Li, Applied Nonlinear Control, Pren-
Acknowledgments tice-Hall, Englewood Cliffs, NJ, 1991.
[16] V. Nekoukar and A. Erfanian, Adaptive fuzzy terminal
This research is partially funded by the teachers research sliding mode control for a class of MIMO uncertain nonlin-
project of the Taoyuan Innovation Institute of Technology, ear systems, Fuzzy Sets and Systems, Vol. 179, 2011, pp. 34-
Taiwan, R. O. C. 49.
[17] X. Hu, W. Zhang and X. Ji, Adaptive robust control free-
References floating space robotic manipulators based on RBF neural
[1] M. Zhihong, H. R. Wu, and M. Palaniswami, An adaptive network, International Journal of Computer Science Issues,
tracking controller using neural networks for a class of Vol. 9, No. 6, 2012, pp. 437-441.
nonlinear systems, IEEE Trans. Neural Networks, Vol. 9, [18] W. Zhang and Y. Zhu, Control of free-floating space ro-
No. 5, 1998, pp. 947 -1031. botic manipulators base on neural network, International
[2] S. S. Ge, C. C. Hang, and T. Zhang, Adaptive neural net- Journal of Computer Science Issues, Vol. 9, No. 6, 2012, pp.
work control of nonlinear systems by state and output feed- 322-327.
back, IEEE Trans. Syst., Man, Cybern. B, Vol. 29, No. 6, [19] H. Adeli, M. H. N. Tabrizi, A. Mazloomian, E. Hajipour and
1999, pp. 818-828. M. Jahed, Path planning for mobile robots using iterative ar-
[3] I. H. Lia, L. W. Lee, A hierarchical structure of observer- tificial potential field method, International Journal of
based adaptive fuzzy-neural controller for MIMO systems, Computer Science Issues, Vol. 8, No. 4, 2011, pp. 28-32.
Fuzzy Sets and Systems, Vol. 185, 2011, pp.52-82.
[4] J. Lin and R. J. Lian, Hybrid fuzzy-logic and neural-network Yi-Jen Mon is currently an Associate Professor of Department of
controller for MIMO systems, Mechatronics, Vol. 19, 2009, Computer Science and Information Engineering, Taoyuan Innova-
pp. 972-986. tion Institute of Technology, Taiwan, R. O. C. His research inter-
[5] J. S. R. Jang, ANFIS: adaptive-network-based fuzzy infer- ests include fuzzy neural network control, intelligent control, auto-
ence system, IEEE Transactions on Systems, Man and Cy- motive safety systems, wireless sensor network systems and
embedded systems design.
bernetics, Vol. 23, 1993, pp. 665-685.
[6]. Y. J. Mon, Supervisory Adaptive Network Based Fuzzy
Inference System (SANFIS) Design for Empirical Test of
Mobile Robot, Inernational Journal of Advanced Robotic
Systems, Vol. 9, 2012, Article ID 158, 31th Oct. (DOI:
10.5772/53404).
[7]. R. Havangi, M. A. Nekoui and M. Teshnehlab, Adaptive
neuro-fuzzy extended kalman filtering for robot localization,
International Journal of Computer Science Issues, Vol. 7, Is-
sue 2, No 2, March 2010, pp. 15-23.
[8]. E. C. Prez, I. A. Badillo, V. H. G. Rodrguez, Performance
Analysis of ANFIS in short term Wind Speed Prediction, In-
ternational Journal of Computer Science Issues, Vol. 9, Issue
5, No 3, September 2012, pp. 94-102.
[9] M. Neshat, A. Adeli, A. Masoumi and M. Sargolzae, A
Comparative Study on ANFIS and Fuzzy Expert System
Models for Concrete Mix Design, International Journal of

Copyright (c) 2013 International Journal of Computer Science Issues. All Rights Reserved.

Você também pode gostar