Professional Documents
Culture Documents
3.5 Ajmehta-Ghosaidas Ray PDF
3.5 Ajmehta-Ghosaidas Ray PDF
Abstract: The paper presents the design and implementation of Fuzzy Sliding Mode
Controller (FSMC) to achieve desired tracking performance. The proposed controller uses
both fuzzy and sliding mode control strategies and establishes the control rules. The design
procedure is non-mathematical and simple where the switching functions and the fuzzy rules
are the main two components of the FSMC controller. The proposed controller is applied on
2-DOF of twin rotor system to track the desired time varying trajectory. Experimental
results are presented.
Index Terms: 2-DOF motion, twin rotor MIMO system, fuzzy logic control, sliding mode
control.
2
From Lyapunov stability theorem, it can be shown
Fig.1 The Twin Rotor MIMO System Assembly [8] that if V& (t ) is negative definite, the system
trajectory will be driven and attracted towards the
sliding surface and remain sliding on it until the
origin is reached asymptotically.
PROBLEM STATEMENT
V& = ss& = s (C1 x&1 + x& 2 ) = s[C1 x 2 + f ( x) + b( x)u + d (t )]
We design a cross-coupled FSMC in such (5)
away so that the beam of TRMS can track the It can be noted from (5) that if u has the following
desired trajectories in both planes by processing form, V& will be negative.
local output measurements only. In other words, the D
control objective is to make the beam rotate quickly u = u1 − K sgn( s ), K > (6)
b( x )
and accurately in accordance with the time varying
signals of the pitch angle ( α v ) and the azimuth where,
− C1 x 2 − f ( x)
angle ( α h ) respectively. Control input to each u=
b( x )
driving unit (plane) is the resultant of two output
(7)
control signals ( u h = u d ,hh + u c ,vh , u v = u d ,vv + u c ,hv )
1 if s > 0
and function of each part of the control input will be
discussed at length. sgn( s ) = 0 if s = 0
− 1 if s < 0
3. CONCEPT OF SLIDING MODE (8)
CONTROLLER FOR NONLINEAR SYSTEM The controller shown in (6) will have high
frequency chattering near the sliding surface due to
sgn function involved. These drastic changes of
Consider a non-linear system that can be input can be avoided by introducing a boundary
presented by following state space model form layer with width Φ and replacing sgn( s ) with
sat( s /Ф) in (6) we have,
x&1 (t ) = x2 (t )
(1)
&x2 (t ) = f ( x1 , x2 ) + b ( x1 , x2 )u + d (t )
u = u1 − K sgn( s / Φ ), Φ>0 (9)
y (t ) = x1 (t )
where, ψ = s / Φ
where, x = [ x1 , x 2 ]T is the state vector, f (x) and
1 if ψ >0
b(x) are non-linear functions, u is the control input,
and d (t ) is the external disturbances. The sgn(ψ ) = 0 if ψ = 0 (10)
− 1 if ψ < 0
disturbances are bounded as d (t ) ≤ D . A sliding
mode that is insensitive to parameter fluctuations Comments:
and disturbances can be constructed as follows.
Define a linear function (sliding surface) • K is known as hitting control gain whose
s = C1x1 + x2 (2) purpose is to make sliding surface ( ss& < 0 )
and also K should be large enough to
which is measure of the distance of the current state
overcome the effect of disturbance.
to the sliding surface; C1 is real and positive. Then
the dynamic behavior of (1) on sliding surface is • Since the width of boundary Ф indicates the
described by ultimate bound of the system trajectories, we
can arbitrarily adjust the steady state error
x 2 + C1 x1 = 0 (3)
by proper selection of Ф. However, a small
Now consider a Lyapunov function Ф might produce a boundary layer so thin
1 that it risks exciting high frequency.
V = s 2 (t ) (4)
2
4. DEVELOPMENT OF FUZZY SLIDING MODE
3
CONTROLLE (FSMC) • Tracking in horizontal plane
In this section, the sliding mode controller is As shown in fig.2, the FSMC for horizontal
designed with respect to phase plane determined by plane tracking employs two input variables: the
error in the horizontal plane angle eh (or error in sliding signal s h ( e h , e& h ) and the rate of change of
vertical plane angle ev ) and the change in error in sliding signal s& h ( e h , e& h ). Where, e h is the tracking
horizontal plane angle e&h (or change in error in error in horizontal plane defined as
eh = α acth − α dh and e& h is the rate of change of tracking
vertical plane angle e&v ). The design approach is to
error in horizontal plane defined as
divide the phase plane into two semi-planes, by e&h = (ehcurrent − ehprevious ) / Ts ,
means of switching line. The magnitude of the
control output depends on the distance of the state where, Ts is the sampling time.
vector from the switching line. A fuzzy value for The sliding surface, sh ( e h , e& h ) is given by:
the control variable is determined according to sh = e&h + λ eh ,
fuzzy values of sliding surface s and rate of change Where, λ is the strictly positive constant and rate of
in sliding surface s& . change in sliding surface s& h ( e h , e& h ) is
As per standard procedure, a fuzzy s&h = ( shcurrent − shprevious ) / Ts
controller design consists of three main
components. A simplified block diagram of fuzzy sliding mode
i) Fuzzification controller is shown in fig.3.
ii) Control rule base establishment
iii) Defuzzification uh
s& h , s&v Fuzzy sliding mode
• 2-DOF cross-coupled FSMC for tracking Controller
sh , sv
The basic control scheme for decentralized FSMC uv
controller with cross-coupled control terms is shown
in fig.2. Fig.3 Fuzzy Sliding Mode Controller
4
respectively. The above four rules can be
understood as follows. For rule1, condition s h = P Defuzzification
implies that the variables e and e& are above the
sliding surface AND s& h = P means that both the We have applied weighted average (center of mass)
variables e and e& are moving further away from method, defined as the sum of products of each
sliding surface. Hence the control input need to set membership function’s center and height divided by
negative big (NB) so the variables e and e& move the sum of all the membership function’s height as
towards the sliding surface. Other rules can be follows
explained in the same manner.
Z0 =
∑Z h i i
∑h i
ev = α actv − α dv
and e&v is the rate of change of tracking error in
vertical plane defined as
e&v = (evcurrent − evprevious ) / Ts ,
where, Ts is the sampling time.
The sliding surface s v ( ev , e&v ), is given by
sv = e&v + λ ev ,
µ(uv)
µ(uv)
6
Fig.7 Input-output membership functions for cross- Actual output responses of α v and α v when PID
coupled control terms ( FSMChv and FSMCvh) and FSMC control laws are implemented in the
u c ,vh and u c ,hv TRMS, are shown in figs. 9-11. It is observed from
figs. that the FSMC control laws, however, possibly
capable of achieving at least reasonably same
performance as that of PID controller and moreover,
it appears that the proposed controller has a
capability to track any slowly varying reference
s&h trajectory. In true sense the FSMC controller
s&v performance can be improved by proper tuning the
sv NS ZO PS sh NS ZO PS width of the membership functions using genetic
NS PB PS PS NS PB PS PS algorithm.
ZO NB ZO PB ZO NB ZO PB 6. CONCLUSIONS
PS ZO NS NB PS ZO NS NB
A fuzzy logic sliding mode controller for
TRMS has been proposed and successfully
employed to track the desire trajectories. We have
(a) (b) compared the performance of the proposed
controller with the existing PID controller for (i)
Fig.8 Fuzzy rule matrices for cross-coupling sinusoidal (ii) triangular (iii) square reference
controllers: (a) FSMChv (b) FSMCvh signals. From the experimental results presented in
this paper, we can reach to a conclusion that the
5. EXPERIMENTAL RESULTS proposed control scheme provides an alternative
In order to implement the proposed fuzzy approach that can effectively track the desired
logic controller in PC-based TRMS, we have trajectory. It appears that the proposed fuzzy SM
written the fuzzy sliding mode control algorithm (If controller can approximately track even any slowly
– Then rules) in C – coded form and are embedded varying reference trajectory. Moreover the proposed
in to external interface of TRMS for creating an controller is attractive especially for the system
external DLL library. The external DLL contains when the knowledge about the mathematical
the controller and the interface software written in description of the control system is not available
special form required by real-time kernel. DLL and also the inferring control actions are based on
library is the main part of the system. During on- fewer switching control rules. We need to pay a
line operation, the RTK library calls the external special attention on the design issue of vertical
controller procedure during an interrupt time and plane control law (uv) in order to reduce the tracking
passes all the measurements to the controller error (ev) and simultaneously to reduce further the
procedure. The controller procedure then returns pitch angle ( α v ) oscillation around the desire
control value for digital to analog converter, which
trajectory.
are connected to the D.C motor drives. The success
of the proposed fuzzy sliding stabilizing controller
REFERENCES:
is tested on TRMS for 2-DOF trajectory tracking
control problem and the corresponding rules specify
1. V. I. Utkin, Sliding Modes and Their
the relationship between the input variables ( s h or Applications. Moscow, Russia, Mir, 1978.
s v and s&h or s&v ) and the output variables ( u h or u v ) 2. Christopher Edward and Sarah K. Spurgeon,
in the controller. For evaluating the performance of Sliding Mode Control: Theory and application,
the proposed FSMC for a set point reference 1998.
trajectory tracking, we have considered three 3. G. Bartoline and P. Pydynowski, “an improved
different reference trajectory signals, namely chattering free VSC scheme for uncertain
sinusoidal, triangular and square reference signals. dynamic control” IEEE Trans. Automat. Contrl.,
The experimental results of proposed controller are vol.-41, pp.1220-1226,1996.
compared with the existing PID controller [8]. 4. M.H. Park and K.S.Kim, “Chattering reduction
in the position control of induction motor using
7
sliding mode control” IEEE Trans. On Power
electronics, vol.6, pp.317-325.
5. C. L .Chen, M. H. Chang, “Optimal design of
fuzzy sliding-mode control: a coparative study,
Fuzzy sets and systems, vol.93, pp.37-48, 1998.
05 0.5 actual
actual
αv 0
αv
0
desire desire
-0.5 -0.5
0 20 40 60 0 20 40 60
Time[in sec.] Time[in sec.]
1 1
actual actual
0.5 0.5
αh 0
αh 0
-0.5 -0 5
desire
desire
-1 -1
0 20 40 60 0 20 40 60
Time[in sec.] Time[in sec.]
8
1 0.6
actual desire actual desire
0.4
0.5
0.2
αv
αv 0
0
-0.2
-0.5 -0.4
0 20 40 60 0 20 40 60
Time[in sec.] Time[in sec.]
1 2
actual actual
0.5 1
αh αh 0
0
-1
-0.5 -2 desire
desire
-1 -3
0 20 40 60 0 20 40 60
Time[in sec.] Time[in sec.]
(a) Coupled FSM controller (b) Coupled PID controller
0.5 0.5
desire desire
αv
αv
0 0
actual actual
-0.5
0 20 40 60 -0.5 20 40 60
Time[in sec.] Time[in sec.]
1 1
desire actual
αh
αh
0 0
actual desire
-1 -1
0 20 40 60 0 20 40 60
Time[in sec.] Time[in sec.]
9
(a) Coupled FSM controller (b) Coupled PID controller
10