STABILIZATION OF NONHOLONOMIC MOBILE ROBOTS BY A GA-BASED FUZZY SLIDING MODE CONTROL
Wei-Ming Lee Han-Pang Huang Graduate Student Professor Department of Mechanical Engineering,
National Taiwan Universiy, Taipei, Taiwan, I0764 R.O.C.
Abstract
In this study, fuzzy logic control principle and sliding mode control theory are combined to stabilize a mobile robot under nonholonomic kinematic constraints. In order to improve the tracking peflonnance, the scaling factors of FLC are searched by genetic algorithms (GAS). The simulation results show that all three control approaches, SMC (sliding mode control), FSMC Ifuzzy-SMC) and GA-FSMC (GA-based FSMC) can stabilize the mobile robot to the origin with 4=0. However, the GA-FSMC provides a systematic way to search the scaling factors, and thus improves the transient performance of the system response and reduces the path length f o r navigation.
Introduction
Fuzzy logc controllers (FLC) [2] have been widely and successfully applied to a variety of control problems. Essentially, the FLC provides an algorithm to convert a linguistic control strategy described by IF-THEN rules into an automatic control strategy. Fuzzy logic is much closer to human decision making than traditional binary logic. Thus, FLC provides a new design method for those problems which were not or uneasily synthesized in the past.
There has been a great deal of research recently on the problem of stabilizing nonholonomic systems [5,6] which are of importance for numerous practical applications, such as mobile robots. Brockett’s theorem [7] proved that for any nonholonomic system the equilibrium point of the system cannot be asymptotically stabilized by any smooth (or even continuous) static time-invariant state feedback controller. Several discontinuous time-invariant feedback controllers [5,6] were developed. Although the sliding mode control [6] can stabilize the nonholonomic system, the transient performance of the system is not good enough. In this study, a fuzzy sliding mode control with genetic algorithms (GA-FSMC) is proposed for the navigation of a mobile robot under nonholonomic kinematic constraints. The genetic algorithm [3] is used to globally search for the near-optimal scaling factor of the fuzzy controller. The fitness value is evaluated in terms of system time response characteristics, such as rise time, maximum overshoot and settling time weighted by means of Guassian membership functions. It will shown that GA- FSMC improves the performance of tracking the direction of velocity and shortens the traversal path length.
System model and navigation strategy
Y
A typical example of a wheeled mobile robot is shown Fig. 1. The kinematics for the robot can be described by the following equationsk = $(vR +vL)cos4 y = *(vR +vL)sh4 (1)
4=&k
-vL) VL $VVR ... X Fig 1 A wheeled mobile robotFor control analysis and design, kinematic equations (1) are transformed into the control input &coupled form by the substitutions v=O. S(VR+vL), @'0.5(VR'vL) and then the kinematic equations (1) can be rewritten as
x = vcos4
y = vsm4
i = w
The transformed control inputs are the steering angular velocity of the robot o and the translational velocity of the mobile robot v. Note that the direction of v is orthogonal to the axis of the rear wheels due to the nonholonomic constraints. For navigating the wheeled set to the origin of working space, a Lyapunov function V(x,y) [6] can
be designed
so that the associated gradient E(x,y) = -grad(V) determines the desired orientation of the robot. The corresponding orientation equation is described ascontrol method
nonholonomic dynarmc system are examined respectively: (1) Sliding
mode
control r61By taking the gradient lines E = -grad(V) of the Lyapunov function described in the previous section as the sliding manifold, the orientation of the robot is driven to the gradient field to achieve
I)//h
(h
= atan(Ex/Ey) ) in the reaching mode and restricted invariantly to the gradient field in the sliding mode. Let s =AI) = I)- b.
By differentiating AQ along the gradient fields E(x,y) and using Eq.(2), we haveIn this section, three control approaches, SMC, FSMC and GA-FSMC, for the
=
5
(AI)e-F(x,y,QMt) (4)The control law is
where g>O is a finite scalar constant. Substituting (5) into (4), it yields
Eq.(6) satisfies the sliding condition
so
that the orientation of the mobile robot can be driven into the sliding manifold in the reaching mode.(2) Fuzzy-slidinn mode control (FSMC) 11.41
The PI-like FSMC is shown in Fig. 2, where S, S and
dL2
arefuzzy
variables. The universes of discourse of thesefuzzy
variables are ranged from -3 to 3. Eachfuzzy variable is quantified into seven term sets : NB-Negative Big, NM-Negative Medium, NS-Negative Small, ZE-Zero, PS-Positive Small, PM-Positive Medium, PB-Positive Big. The triangular membership functions for each
fuzzy
term set are shown in Fig 3. The crisp values s, S and do of FSMC are scaled by Gs, Gcs and Go, respectively. Based on equations (5)(6), the resultant control rules are shown in Table 1. Some of the rules can be explained as follows.( A 4 ) i ( A 4 )
=-(A4)4A4l+s@(A4)
5 0 (6)IFSisNBand S isNB,THENdL2isPB
This control rule expresses that if the states S and S are both negative big, which means that the state trajectories are leaving away the sliding manifold in the direction of decreasing the value of s, then the change of control do should be positive big so that the state S would be increasing to draw the state s back to zero quickly.
IFSisNBand S i s P B , T H E N a i s Z E
This control rule implies that if the states
S
is negative big and the states S is positive big, which means that the state trajectones are approachmg the sliding “ f o l d properly, then the control input o need not be tuned.J3) GA-based FSMC
In this approach, the scaling factors of FLC will be globally searched for near- optimal values. The string (chromosome) representing the scaling factors is integer-based rather than binary-based. The value of each gene for chromosome ranges from 0 to nr. an integer value which stands for the resolution of the
discretized scaling factors. The discretized scaling factors can be decoded as (7)
gene .
so; = ( m q - m i n ; ) x - - - + m i nr
The fitness value assigned to each string is evaluated according to the system time response characteristics, e.g. rise time (rt), maximum overshoot (ov) and settling time (st). These factors are fuzzified with Guassian membership function so that the time response can be flexibly evaluated. The corresponding weights of three time response indexes are determined by the 6, of qx,si ) = e . p ( T ) . -X2
si
There are three basic genetic operators: reproduction, crossover and mutation. They can be briefly described as follows.
1) Remoduction
Reproduction is based on the principle of survival of the better fitness. Those strings with large fitness will have
a
large number of copies in the new generation.( 2 ) Crossover
Crossover provides a mechanism for chromosome to mix each other through a random process. First, two strings with high fitness are selected from the mating pool produced by reproduction. Second,
a
position called cross-site along the twostrings is selected at random. Finally, the exchange of the two selected strings takes place in the cross-site . For example, nr-20,
Parent cross-site OffSDring
9 5 0 #1: 4 0 12 7 2 15 19
6 17 2 11 3 9 5
#2: 6 17 2 11 7 1 2 3 15 19 0 #2: #1. 4 0 12
(3) Mutation
The mutation operator provides a method to improve the ability of the near- optimal search. Mutation is a complement operation at
a
position of string via less mutation probability as follows.mugtjon
4 0 112: 7 2 15 19 4 0 :-?: 7 2 15 19
In order to enhance the convergence of GA, when the maximum value of the fitness among the population is non-increasing, the rate of mutation will be increased until the maximum fitness value will be increasing again.
Simulation
In this section,
a
specific example of a Lyapunov function for navigating the wheeled mobile robot to the origin with the orientation e0will be examined. A quadratic Lyapunov function is defined as [6]V(x,y) =
:($+.,)
(8)The following two cases (xo=O. 1 ~ ~ ' 4 . 0
&,-)
are simulated: case 1--
no disturbancecase 2
--
a translational disturbance 0.2 (normal to the trajectory), a rotational disturbance A+=l(rad)The SMC, FSMC and GA-FSMC will be compared in terms of these
two
cases. (1) Sliding mode control r61gradient line is obtained
by
substituting (8) into (5)The control law for orienting the mobile robot longitudmal axis cdinear to the
w = a xsmq5
-
yms+ - ~ A # ~ , ~ ( A ~ ~ , a=2.0,5=8.5 (9) x2 +a2y2( 2 ) FSMC
ril
The inference rules in Table 1 and the membership functions in Fig. 3 are the same for all cases. The scaling factors are determined by trial and error as
for 0.2< s Gs10.0 G-5 0 Gc0=3.014~.~
(3) GA-FSMC
Instead of consuming the time to determine the scaling factors of FSMC, GA itself can be used to adjust the scaling factors in the near-optimal way. The scaling factors in two regons are determined as
for O< s <0.26 G54.2 Gcs72.1 Gw=1S.01{0.8
fur 0.26< s W . 9 Gcs5.7 Gw=5.2
ldo.8
In this study, the fitness value is determined so that the maximum overshoot is suppressed. The fitness value is ~ ( a , 1 . 5 ) ~ G ( ~ ~ , O . ~ ) ~(st3.0). The simulation results of these three controllers are shown in Fig. 4, Fig. 5, where, for comparing the tracking performance, Fig. 4d and Fig .5d are zoomed out from Fig. 4c, Fig. 5c, respectively.
Conclusion
(1) All three control approaches can stabilize the mobile robot to the origin
with
Several conclusions can be drawn
from
the simulation results as follows: the desired orientation +=O.From the viewpoint of design and tracking performance, the fuzzy sliding mode control approach is easier and better than the original sliding mode control, but the tuning of the scaling factors is time-consuming.
In GA-FSMC approach, the genetic algorithm provides a systematic procedure to search the scaling factors, and thus improves the transient performance of the system response and reduces the path for navigation. References
[l] C.C. Kung and C.C. Lao, "Fuzzy-Sliding Mode Control of Non-Linear System," Automatic Control Conference, R.O.C., pp.259-264, 1994.
[2] C.C. Lee, "Fuzzy Logic in Cntrol Systems: Fuzzy Logic Controller-part I 11,"
E E E Trans. on SMC, vol. 20, no. 2, pp.404-435, 1990.
[3] D.E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning. Reading, MA: Addison-Wesley, 1989.
[4] G.C. Hwang and S.C. Lin, "A stability Approach to Fuzzy Control Design for Nonlinear Systems," Fuzzy Sets and Systems, vol. 48, pp.279-287, 1992. [5] I. Kolmanovsky and N.H. McClamroch, "Developments in Nonholonomic
control problems,"
IEEE
Control Systems, pp.20-36, 1995.[6] J. Guldner and V.I. Utkin, "Stabilization of Nonholonomic Mobile Robots using Lyapunov Functions for Navigation and Sliding Mode Control," Proceedings of the 33rd BEE CDC, pp.2967-2972, 1994.
[7] R.W. Brockett, "Asymptotic Stability and Feedback Stabilization," R.S. Millmann (eds.), Differential Geometric Control Theory, Birkhauser, Boston,
392 MA, pp.181-191, 1983.
[SI V.I. Utkin, Sliding Modes in Control and Optimization, Springer-Verlag, Berlin. 1992. PM PS ZE NS NM NB
'
Fig 2 the strudure ofFLCPS ZE NS NM NB PM PS ZE NS N M PB PM PS i 5 NS PB PB PM PS ZE PB PB PB PM PS PB PB PB PB PM INB NM NS ZE PS PM PB P B I Z E NS N M N B NB NB NB A 4c . . . . (k)
1
. . .
. . . I N B N B N B N B N M N B NS NM ZE NS PS ZEFig. 3 Membership Fundion
t Fig. 4 the simulation results for case 1
Y,