Professional Documents
Culture Documents
Pierre Duysinx
LTAS - Automotive Engineering
Academic year 2009-2010
Introduction
ABS system has a lot of uncertainties:
Friction coefficient
Vehicle mass and inertia
Wheel sizes
Braking system characteristics
ABS is a strongly non linear system
Slip ratio friction curve
1
Introduction
Sliding mode controller was originally introduced in
Robotics by Slotine and Asada (1986), Slotine and Li
(1990,1991)
SLIDING SURFACE
2
Sliding surface
Let’s consider a single input nonlinear system
x ( n ) (t ) = f ( X ) + b( X ) u (t ) + d (t )
Generally
f(X) is nonlinear and not exactly known, but the imprecision is
bounded by a continuous function of X
b(X) is nonlinear and not exactly known but its sign is constant
and the imprecision is bounded by a continuous function
Sliding surface
The problem consists in finding a state vector to follow a given
state vector
X d = [ xd , xd ,… xd( n−1) ]
X := X − X d = [ x, x, , x ( n−1) ]
3
Sliding surface
Let’s define the time-varying sliding surface s(t) in the
state space Rn by the scalar equation
( n −1)
⎛d ⎞
s ( X , t ) := ⎜ + δ ⎟ x
⎝ dt ⎠
Sliding surface
With the initial conditions Xd(0)=X(0), the problem of
tracking X=Xd is equivalent to that of remaining on the
surface s(t) for all t>0
4
Sliding surface
The tracking problem can be reduced to that of
keeping the scalar quantity S at zero
1 d
s ²( X , t ) ≤ − η s
2 dt
With η a positive constant
Sliding surface
Idea: pick-up a well-behave function of the tracking error s(t)
and then select the feedback control law u such that s² remain
a Lyapunov function of the closed-loop system despite the
presence of uncertainties and disturbances
Satisfying the sliding condition guarantees that if initial
conditions are not satisfied, then the surface s(t)=0 will be
reached in finite time smaller than
treach ≤ s (t = 0) /η
Definition of sliding surface implies that once on the surface,
the tracking error tends exponentially to zero with a time
constant (n-1)/δ.
5
Sliding surface
dx/dt
Sliding mode:
exponential
Finite convergence
reaching
time x
S=0
6
Sliding mode control
Chattering is undesirable because of excessive activity of
the controller and excitation of high frequency neglected
dynamics (e.g. elastic modes)
7
Trajectory tracking
Given the bounds on f(X) and b(X) and on the
disturbances
Constructing a control law to verify sliding conditions is
straightforward
Illustration of the procedure on simple applications
Controller design
Let’s consider a second order system
x = f +u
Function f is estimated by fˆ
Estimation error is bounded: fˆ − f ≤ F
⎛d ⎞
s := ⎜ + δ ⎟ x = x + δ x
⎝ dt ⎠
8
Controller design
Sliding surface equation gives
s = x − xd + δ x = f + u − xd + δ x
+η u := uˆ − k sign( s ) ⎨
S
⎩ sign( s ) = −1 if s < 0
-η
Controller design
To guarantee the sliding condition, we have to choose k
large enough
Sliding condition implies
1 d
s ²( X , t ) = s s = [ f − fˆ − k sign( s )] s = ( f − fˆ ) s − k s
2 dt
Let
k ( x, x) := F ( x, x) + η
We get
1d
2 dt
{ }
s ² = ( fˆ − f ) s − k s = fˆ − f − F s − η s
≤ −η s
9
Controller design
An equivalent result can be obtained by using integral
control, i.e. the variable of interest becomes
T
∫
0
x dt
Sliding condition: third order system
( ∫ x dτ ) = x + 2δ x + δ ²∫ x dτ
2
⎛d ⎞ t t
s := ⎜ + δ ⎟
⎝ dt ⎠ 0 0
We get
uˆ = − fˆ + xd − 2 δ x − δ ² x
Controller design
Assume now that dynamic system is
x = f + b( X ) u
Where the control gain b is known only to within a
certain margin β(X):
β −1 ≤ bˆ / b ≤ β
With b̂ the estimate of the control gain b(X)
10
Controller design
One can show that the control law
(
uˆ = bˆ −1 − fˆ + xd − δ x )
To satisfy the sliding condition, one introduces the
discontinuity
u = bˆ −1 [uˆ − k sign( s ) ]
The control discontinuity has been increased in order to
account for the uncertainty on the control gain b(X).
k = β ( F + η ) + ( β − 1) uˆ
11
Continuous control law
The control laws that satisfy sliding
conditions and that lead to perfect tracking
are discontinuous across the surface s(t)
Discontinuity implies: dx/dt
Chattering
Chatering
High control activity behavior
Excitation of high frequency, generally
unmodeled x
S=0
B (t ) = { X , s ( X , t ) ≤ Φ}
With
dx/dt
The boundary layer thickness Φ
The boundary layer width φ
ε := Φ / δ n−1 ε
X
12
Continuous control law
Outside of B(t), the control law u as before is selected
Guarantees boundary layer attractiveness and positive
invariance
All trajectories starting inside B(t) remain inside B(t)
-η
x (i ) (t ) ≤ (2δ )i ε i = 1,…, n − 1
13
Continuous control law
The smoothing of the control discontinuity inside B(t)
essentially assigns a low-pass filter structure to the local
dynamics of the variable s
It is possible to tune up the control law to achieve a
trade-off between tracking precision and robustness to
un-modeled dynamics
Boundary layer Φ can be made time varying and
monitored to exploit the maximum control bandwidth
x = f +u+d
To maintain the attractiveness of the boundary layer
while Φ is allowed to vary with time, we have to modify
the sliding condition
1 d
s ≥Φ ⇒ s ²( X , t ) ≤ (Φ − η ) s
2 dt
The additional term means that the boundary layer
attraction is more stringent during BL contraction and
less stringent during BL expansion
14
Continuous control law
In order to satisfy the sliding condition, the control
discontinuity gain must be modified
k ( X ) := k ( X ) − Φ
If the saturation function is defined as
⎧ sat ( y ) = y if y ≤ 1
⎨
⎩ sat ( y ) = sign( y ) if y > 1
Then the control law becomes
u := uˆ − k ( X ) sat ( s / Φ )
APPLICATION
TO ABS CONTROL
15
Sliding mode controller for ABS
ABS is a strongly non linear problem
Sliding mode controller are well suited to control ABS
x = λ* − λ
V − ωR
λ=
V
d sslip (k + 1) − sslip (k + 1)
sslip
dt ts
16
Sliding mode controller for ABS
The surface sslip=0 divides the state space into 2 parts
17
Sliding mode controller for ABS
Smooth transition in the boundary layer can be realized
using for instance PWM (power width modulation)
18