Professional Documents
Culture Documents
1 Introduction
Consider the second-order nonlinear system
x 1 = x2
(1)
x 2 = f (x) + g(x)u
where f (x) and g(x) g0 > 0 are unknown nonlinear functions and g0 is a
lower bound on the function g. Had we known the nonlinearities exactly, the
control design problem would be simple, i.e.,
1
u= (f (x) k1 x1 k2 x2 ) (2)
g(x)
where any choice of the gains k1 , k2 > 0 guarantees stability of the closed-loop
system. However, since we do not know the nonlinear functions, our goal is
to design a potentially switched controller that guarantees robust stability of
the system.
For this reason, assume for a moment that we can directly manipulate
x2 , i.e., use x2 as an input to the first equation in (1), then we can pick
x2 = ax1 with a > 0, and make the first equation exponentially stable. This
idea motivates us to define the so-called sliding surface or sliding manifold
= ax1 + x2 = 0 (3)
As such, if we can control the system to the manifold and keep it there,
the state trajectory would just asymptotically slide towards the origin. Dif-
ferentiating the function yields
= ax 1 + x 2 = ax2 + f (x) + g(x)u
Assume further that the unknown functions satisfy the following bound
a1 x2 + f (x)
(x), x R2 (4)
g(x)
1 2
for some known function (x). Taking V = 2
as a Lyapunov function
candidate, we have that
which yields
V g0 0 |s| (6)
We can now define the function W () , 2V , which satisfies1
This shows that the trajectory of the closed-loop system (1) and (5) reaches
the surface in finite time, and once on this surface, it cannot leave it, as seen
by the inequality (6). We can now categorize the behavior of the closed-loop
system under sliding mode control into two phases:
Reaching Phase in which the designed input drives all trajectories that
start off the surface towards in finite time and keeps them there
Sliding Phase in which the motion of the system is confined to the surface
and can be described by some reduced order (stable) dynamics
x2
x1
= x1 + ax2 = 0
Remark 1 The equation (8) shows that we have the scenario of matched
uncertainty, i.e., the input u and the uncertainty affect the dynamics via
the same B(x) matrix.
The dynamics
of the
new variables defined by the transformation T , i.e.,
T (x)
z= = T (x) = 1 are given by
T2 (x)
T1
= f (x) = fa (, ) (10)
x x=T 1 (z)
= T2 f (x)
x 1 + G(x)E(x)u + (x, u) = fb (, ) + G(x)E(x)u + (x, u)
x=T (z)
(11)
= () = 0 (12)
such that when we restrict the motion of the system to the manifold, the
reduced order model
= fa (, ()) (13)
is asymptotically stable to the origin. In order to solve for the function
() we just need to look for a stabilizing feedback in which is taken as
the control input for the reduced dynamics (just as we have seen in the
Introduction section). The choice of the design method is open, and we can
use any of the design techniques we have learned in this course.
Assume that we have solved the stabilization problem for the system (13)
and obtained a stabilizing continuously differentiable function (), such that
(0) = 0. We now need to design the input u that achieves the reaching phase
to the sliding manifold and maintains the trajectory on the sliding manifold.
The derivative of is given by
= = fb (, ) + G(x)E(x)u + (x, u) fa (, ) (14)
Let G(x) be the nominal model of G(x) and consider the control input
1 (x) fb (, )
1
u = E (x) G fa (, ) + v (15)
where v is a free input that we would like to design. Substituting (15) into
(14), we obtain
= G(x)v + (x, v) (16)
where
which ensures that all the trajectories that do not start on converge to the
manifold in finite time, and that those that start on stay on it.
Remark 2 We have used the sgn function for the design of the input v,
which poses theoretical questions in terms of the existence and uniqueness of
sgn(y) sat(y)
1 1
y y
1 1
x 1 = x2 + p1 x1 sin(x2 )
x 2 = p2 x22 + x1 + u
where the parameters p1 and p2 are unknown, but satisfy |p1 | a and |p2 | b,
where a and b are known. We take = x1 and = x2 , and we would like to
robustly stabilize the = x1 dynamics to the origin by using x2 as an input.
To this end, we design x2 = kx1 , where k > a, which yields
x 1 = (k p1 sin(kx1 ))x1
which is a robustly stable system for our choice of k. Accordingly, define the
sliding manifold as
= x2 + kx1 = 0
The derivative of satisfies
u = (x1 + kx2 ) + v
= v + (x)
V = = (v + (x))
v + ||(x)
which proves finite time stability to the manifold , for any choice of v =
(x)sgn(s) (or some continuous approximation) with (x) = (x) + 0 ,
0 > 0. Finally, the sliding mode controller is given by
3 Tracking
Consider the system, comprised of a chain of integrators (SISO)
x 1 = x2
x 2 = x3
.. (20)
.
x n = f (x) + g(x)u + (x, u)
y = x1
where f (x) is a known function, while g(x) and (x) are uncertain functions
that satisfy, the first of which satisfies
g(x) g0 > 0
Remark 4 The system (20) may be the result of an input output feedback
linearization approach, i.e., the linearized dynamics in that we have seen
in the lecture on feedback linearization.
We would like the output y to asymptotically track a given signal r(t),
where r(t) and its derivatives r(1) (t), , r(n) (t) are bounded for all t, r(n) (t)
is piecewise continuous,
and all these signals are available online.
x1 r
x2 r(1)
Let e = .. be the error vector, then we have the following
.
(n1)
xn r
error dynamics
e 1 = e2
e 2 = e3
.. (21)
.
e n1 = en
e n = f (x) + g(x)u + (x) r(n) (t)
Let us now assume that we can directly design en to stabilize the subsystem
e 1 = e2
e 2 = e3
.. (22)
.
e n1 = en
In this case, we can take any feedback of the form
to yield
= g(x)v + (t, x, v)
where
g(x)
k1 e2 + + kn1 en + f (x) r(n) (t)
(t, x, v) = I
g(x)
1 (n)
+ x, k1 e2 + + kn1 en + f (x) r (t) + v
g(x)
(x)
then designing v = (x)sgn() with (x) 1 0
+ 0 and 0 > 0 achieves
asymptotic tracking. You can show this using exactly the same argument as
in the previous section with a Lyapunov function candidate V = 12 2 .