Sliding Mode Control: An Introduction: Dr. Shyam Kamal
Sliding Mode Control: An Introduction: Dr. Shyam Kamal
Outline
2 Filippov Theory
4 Invariance in Sliding-modes
What is the Sliding mode and how did its study start?
Figure : Mode I
x = 1 x Figure : Mode II x = 2 x, 0 < 2 < 1
Piecing together
Properties of VSC
Both constituent systems were oscillatory and were not asymptotically stable.
Combined system is asymptotically stable.
Property not present in any of the constituent system is obtained by VSC.
Figure : x x x = 0 Figure : x x + x = 0
Analysis
Both systems are unstable
Only stable mode is one mode of system
s
2
x x x = 0, = +
2 4
New trajectory that was not present in any of the two original systems
x Rn, u R
Assumptions
The pair (A, B), is controllable.
The scalar CB 6= 0.
The disturbance/uncertainties are matched and bounded, i.e.,|(t, x)| DM .
The zero dynamics(reduced order dynamics) of the system with the output (x) is
stable.
= C x (2.1)
= CAx + CB(u + (t, x)) (2.2)
= () + CB(t, x) (2.3)
The function () must be selected such that, the equation (2.3) provides finite
time convergence of to zero, in presence of (t, x).
Once the sliding surface is reached, i.e., (x) 0, the system trajectory is
governed by the zero dynamics, also called reduced order dynamics.
Examples of ()
1 () = K sgn()
2 () = K sgn()
3 () = K || sgn()
However, the third choice can not reject the disturbances if (t, x) 6= 0 at x = 0.
Convexification
where the component of vector f , scalar functions u + , u and s(x) are continuous and smooth,
and u + (x) 6= u (x).
x = f1 t1 + f2 t2 (3.3)
x f1 t1 + f2 t2 t1 t2
xaverage = = = f1 + f2
t t1 + t2 t1 + t2 t1 + t2
= f1 + (1 )f2 (3.4)
t
where = t1 is relative time for control to take value u + and (1 ) to take value u
and also 0 < 1.
To get the velocity vector x along the sliding surface we have to take limit t 0.
Hence sliding motion is represented as
x = f1 + (1 )f2 (3.5)
Remark:-One can also interpret Eqn.(3.5) as the velocity vector in the vicinity of a point
on a discontinuous surface which is complemented by a minimal convex set, and the
state velocity vector of the sliding motion belongs to this set.
Because the state trajectories during sliding mode are in the sliding surface s = 0, the
parameter should be selected such that the state velocity vector of the system (3.5)
is in the tangential plane to the sliding surface.
Mathematically one can write
(s).f2
= (3.7)
(s).(f2 f1 )
Substituting the from Eqn.(3.8) to (3.5), one can get motion in sliding mode as
(s).f2 (s).f1
x = fsliding = f1 f2 (3.8)
(s).(f2 f1 ) (s).(f2 f1 )
Dr. Shyam Kamal Sliding Mode Control: An Introduction 16
The Sliding Mode Control Filippov Theory Physical Interpretation of the Equivalent Control Invariance in Sliding-modes Sliding Mode Control Design Usin
Remark:-
Sliding mode occurs in the surface s(x) = 0, therefore, the function s and s have
different signs in the vicinity of the surface and s+ = (s).f1 < 0, s = (s).f2 > 0.
Also one can easily check that s = (s)fsliding = 0 for the trajectories of system (3.8)
and show that they are confined to the switching surface s(x) = 0.
In sliding mode control, our main aim is to design a control law so that the state
trajectories are confined to a sliding manifold in finite time.
From a geometrical point of view, the equivalent control method does the same
job. It replace the discontinuous control on the intersection of the switching
surface by a continuous one such that, the state velocity vector lies in the
tangential manifold.
u(x) is defined as
(
u+ if s(x) > 0
u(x) = (3.10)
u if s(x) < 0
So,
s
s = x = G(x)f (x) + G(x)B(x)uequivalent = 0 (3.11)
x
s
where G = x . Assuming the matrix GB is nonsingular for any x, find the equivalent
control uequivalent as the solution of the Eqn.(3.11)
and substituting uequivalent into (3.9) to yield the sliding mode equation s = 0 as
For the occurrence of the ideal sliding mode it was assumed that the control
changes at high (theoretically infinite) frequency such that the state vector is
oriented precisely along the intersection of discontinuity surfaces.
In reality however, various imperfections make the state oscillate in some vicinity
of the intersection and control components are switched at finite frequency
alternatively taking the positive and negative values.
These oscillations have high frequency as well as slow components.
All most all plants under control act as a low pass filter.
Due to this low pass filter characteristic high frequency component is filtered out,
and its motion in sliding mode is determined by the slow component.
Practically it is reasonable to assume that the equivalent control is close to the
slow component of the real control, which can be derived by filtering out the
high-frequency components using a low-pass filter.
z + z = u (4.1)
where , are the time constant of low pass filter and width of the manifold
respectively.
Remark:-
Invariance in Sliding-modes
Invariance in Sliding-modes
= x = f (x) + g(x)u + d (5.2)
x x x x
1
uequivalent = g(x) f (x) + d (5.3)
x x x
The closed loop dynamics during sliding is obtained by substituting (5.3) into (5.1), one
can write
1
x = f (x) g(x) g(x) f (x) + d +d
x x x
1 ! 1 !
= I g(x) g(x) f (x) + I g(x) g(x) d (5.4)
x x x x
Invariance in Sliding-modes
Now suppose that disturbance d is entering through control channel. Therefore one
can write d = g(x)(t), where (t) is unknown signal, but with a known bound. This
kind of disturbances are known as matched disturbances.
After substituting the value of d, into (5.4), one can write
1 ! 1 !
x = I g(x) g(x) f (x) + I g(x) g(x) g(x)(t)
x x x x
1 !
= I g(x) g(x) f (x) + g(x)(t) g(x)(t)
x x
1 !
= I g(x) g(x) f (x) (5.5)
x x
Hence the closed loop dynamics which is given in (5.5), is completely independent of
any matched disturbances, when the system is in the sliding mode. This property is
known as the invariance property with respect to disturbance.
Assumptions:-
The system is assumed to be controllable i.e the controllability matrix
[B AB A2 B An1 B] has full rank.
A range(B) and D range(B), or there exist constant or time varying
matrices 1 and 2 , such that
A = B1 , D = B2 (6.2)
The nonsingular coordinate transformation T , which is able to convert system (6.1) into
regular form is given by
" #
Inm B1 B21
T = (6.5)
0 B21
where z1 R nm , z2 R m and
A11 A12 0
TAT 1 = , TB = (6.8)
A21 A22 I
S = C1 z1 + z2 (6.9)
where S R m1 and C1 R m(nm) > 0.
Now taking the first time derivative of the sliding surface (6.9) and substituting the value
from the Eqn.(6.7), one can get
S = C1 z1 + z2
= (C1 A11 + A21 )z1 (t) + (C1 A12 + A22 )z2 (t) + u + 0 (6.10)
Now expressing the system (6.7) into z1 and S coordinate, using the differential
Eqn.(6.9) and (6.10)
Theorem:-
The control input u which is defined as
u = (C1 A11 + A21 C1 A12 C1 A22 C1 )z1 (t) (C1 A12 + A22 )S (6.12)
where,
= K1 S K2 sign(S)) (6.13)
with K1 > 0, K2 > k0 k leads to the establishment S equal to zero in finite time.
Proof:-
Substituting u from Eqn.(6.12) to (6.11), one can write
V = S T S = S T (K1 S K2 sign(S)) + 0 )
= K1 V K2 kSk + S T 0 (6.15)
1 1
Using Cauchy-Schwartz inequality S T 0 kSkkk and (2V ) 2 = (S T S) 2 = kSk, we
get
V K1 V (K2 kk)kSk
1 1
K1 V 2 2 (K2 kk)V 2
1
K1 V V 2 0 (6.16)
Therefore, one can ensure the asymptotic stability of the trajectory to the sliding
1
manifold where = 2 2 (K2 kk).
Therefore, the above claim is justified since the time T is always finite.
Equivalent Control
It is clear from Eqn.(6.12), during the sliding mode S = 0 and average value of = 0,
therefore the remaining control is only
uequivalent = (C1 A11 + A21 C1 A12 C1 A22 C1 )z1 (t), which is theoretically
interpreted as equivalent control, which is the control required to maintain a sliding
motion on the manifold S.
The stability and performance of the above reduced order system depends on
(A11 , A12 ). Therefore, the design of C1 depends on the controllability of the pair
(A11 , A12 ).
Lemma
The matrix pair (A11 , A12 ) is controllable, if and only if the pair (A, B) is controllable.
Proof:-
sI A11 A12 0
rank[sI A B] = rank
A21 sI A22 I
= rank sI A11 A12 + m for all s C
This implies
Now one can design C1 using any robust linear state feedback method, such as
quadratic minimization, direct or robust eigenvalue assignment, using LMI etc.
Thank You!