Docsity

Sliding Control-Non Linear Control Systems-Lecture Slides, Slides of Nonlinear Control Systems

Partial preview of the text

Download Sliding Control-Non Linear Control Systems-Lecture Slides and more Slides Nonlinear Control Systems in PDF only on Docsity!

Nonlinear Control

Lecture 10: Sliding Control

Department of Electrical Engineering

Fall 2011

Sliding Control

Sliding Surface

Integral Control

Gain Margins

Continuous Approximations of Switching Control Laws

Sliding Surface

I Consider single input dynamics

x(n)^ = f (x) + b(x)u (1)

I (^) f is not exactly known, upper bounded by known continuous function of x I (^) b is not exactly known, its sign is known and upper bounded by known continuous function of x

I Objective: find u, s.t. x track xd = [xd , x˙d ,... , x d(n −1)]T^ in presence of

imprecision on f (x) and b(x)

I Tracking error vector: ˜x = x − xd = [˜x ˜x˙... ˜x(n−1)]

I Define a time-varying surface S(t) in state-space Rn^ by scaler equation

s(x; t) = 0:

s(x; t) = (

d

dt

+ λ)n−^1 x˜ (2)

where λ > 0 conts.

I (^) for n = 2 s = ˙˜x + λx˜, s is a weighted sum of position error and velocity error

I for n = 3 s = ¨˜x + 2λ x˜˙ + λ^2 ˜x Docsity.com

Sliding Surface

I The problem of tracking the n-dimensional vector xd (the original

tracking problem) can be replaced by a 1st-order stabilization

problem in s.

I (^) Given initial condition xd (0) = x(0), the problem of tracking x ≡ xd is equivalent to remaining on the surface S(t) for all t > 0 (s ≡ 0 represents a linear differential equation whose unique solution is ˜x ≡ 0) I (^) In (1),s contains ˜x(n − 1) we only need to differentiate s once for the input u to appear. I (^) Bounds on s can be directly translated into bounds on ˜x s represents a true measure of tracking performance. When ˜x(0) = 0:

∀t ≥ 0 , |s(t)| ≤ Φ ⇒ ∀t ≥ 0 , |˜x(i)| ≤ (2λ)i^ ε, i = 0, ..., n − 1 (3)

where ε = Φ/λn−^1

Sliding Condition

I (^) To keep the scalar s at zero, a control law u it should be found s.t outside of S(t):

1 2

d dt

s^2 ≤ −η|s| (4)

where η > 0 conts. I (^) ∴ The squared ”distance” to the surface, s^2 , decreases along all system trajectories. (V = 12 s^2 ) I (^) (4), so-called sliding condition, makes the surface an invariant set. I (^) By keeping the invariant set, some disturbances or dynamic uncertainties can be tolerated. I (^) S(t) is sliding surface; behavior of the system on the surface is sliding mode

I If it is on the sliding surface, the system behavior can be expressed by

( dtd + λ)n−^1 ˜x = 0

I If sliding condition is guaranteed, for nonzero initial condition,

(x(0) 6 = xd (0)), the surface S(t) will be reached in a finite time smaller

than |s(t = 0)|/η:

I (^) For treach: required time to reach s = 0, integrate (4) from 0 to treach: s(treach) − s(0) = 0 − s(0) < −η(treach − 0) treach ≤ |s(t = 0)|/η

I Once on the surface, tracking error tends exponentially to zero with time

constant (n − 1)/λ

I (^) from the sequence of (n − 1) filters of time constants equal to 1/λ

I After defining the sliding surface s, the control is designed in two steps

  1. A feedback control law u is selected so as to verify sliding condition (4)
  2. The discontinuous control law u is suitably smoothed to achieve an optimal trade-off between control bandwidth and tracking precision I (^) To cope with modeling imprecision and disturbances, the control law has to be discontinuous across S(t). I (^) Implementing the associated control switchings is always imperfect (switching is not instantaneous, and the value of s is not known with infinite precision) yields chattering I (^) Chattering high control activity and may excite high frequency dynamics neglected in modeling (such as unmodeled structural modes, neglected time-delays, and so on).

Example

I (^) Consider x¨^ =^ f^ +^ u^ (5) I (^) f is unknown,but estimated by ˆf , estimation error on f assumed to be bounded by known function F = F (x, t˙) |ˆf^ −^ f^ | ≤^ F

I (^) To track x ≡ xd , define the sliding surface: s = (

d dt

  • λ)˜x = ˙˜x + λx˜ s˙ = f + u − ¨xd + λ ˜x˙

I (^) Best approximation ˆu to achieve ˙s = 0 ˆu = −fˆ + ¨xd − λ x˜˙

I (^) The feedback control strategy is chosen intuitive ”if the error is negative, push hard enough in the positive direction (and conversely)” I (^) To satisfy (4), a term discontinuous across the surface s = 0: u = ˆu − ksgn(s)

where

sgn(s) = 1 if s > 0

sgn(s) = − 1 if s < 0 Docsity.com

Gain Margins

I Consider ¨x = f + bu

where the control gain , b which is may be time-varying or

state-dependent is unknown, but of known bounds

0 < bmin ≤ b ≤ bmax

I (^) choose estimation of b as its geometric mean of bounds: ˆb = (bminbmax )^1 /^2. I (^) ∴ β−^1 ≤ ˆbb ≤ β, I (^) β = (bmax /bmin)^1 /^2 is gain margin

I With s and ˆu defined in previous example u = ˆb−^1 [ˆu − ksgn(s)]

I s˙ = (f − bˆb−^1 ˆf ) + (1 − bˆb−^1 )(−¨xd + λ ˜x˙) − bˆb−^1 ksgn(s)

I ∴ to satisfy sliding condition

k ≥ |ˆbb−^1 f − ˆf + (ˆbb−^1 − 1)(−¨xd + λ ˜x˙)| + ηbbˆ −^1

I Since f = ˆf + (f − ˆf ), where |f − ˆf | ≤ F k ≥ β(F + η) + (β − 1)|uˆ|

Continuous Approximations of Switching Control Laws

I (^) For system dynamics (1) a unique smooth control to track a feasible trajectory is u(t) = b(xd )−^1 [¨xd − f (xd )] I (^) Control laws obtained by using sliding control which provides ”perfect” tracking in the face of model uncertainty, are discontinuous across the surface S(t), chattering. I (^) In general, chattering is undesirable, since it causes high control activity, and may excite high-frequency dynamics neglected in modeling I (^) The chattering is avoided by smoothing out the control discontinuity in a thin boundary layer neighboring the switching surface B(t) = {X , |s(x; t)| ≤ Φ}, Φ > 0 is the boundary layer thickness ε = Φ/λn−^1 is the boundary width

Docsity.com

Example

I Consider the system dynamics

¨x + a(t) ˙x^2 cos 3x = u

I 1 ≤ a(t) ≤ 2, for simulation a(t) = | sin t| + 1,

I λ = 20, η = 0. 1

I ˆf = 1.5 ˙x^2 cos 3x, F = 0.5 ˙x^2 | cos 3x|

I By using the switching control law: u = ˆu − ksgn(s) =

1 .5 ˙x^2 cos 3 x + ¨xd − 20 ˙˜x − (0.5 ˙x^2 | cos 3x| + 0.1)sgn( ˙˜x + 20˜x)

Example Cont’d

I Tracking performance is excellent at the price of high control chattering

I The smoothing of control discontinuity inside B(t) actually assigns a low

pass filter structure to the local dynamics of the variables to eliminating

chattering

I Recognizing this filter-like structure allows us to

I (^) tune up the control law by selecting λ and Φ properly s.t achieve a trade-off between tracking precision and robustness to unmodeled dynamics.

I Φ can be made time varying

I Case 1: b = ˆb = 1

I (^) Φ is TV the sliding condition (4) to guarantee the decreasing distance to the boundary layer is changed to:

‖s‖ ≥ Φ :

d dt

s^2 ≤ ( Φ˙ − η)|s| (6)

I (^) The boundary layer attraction ↑ when the boundary layer ↓ ( Φ˙ < 0) I (^) The boundary layer attraction ↓ when the boundary layer ↑ ( ˙Φ > 0)

Case 1: b = bˆ = 1

I the control signal is modified as:

u = ˆu − ¯k(x)sat(s/Φ)

I ¯k(x) = k(x) − Φ˙ I (^) sat(y ) =

y if |y | ≤ 1 sgn(y ) otherwise

I So the system trajectories inside the boundary layer:

s˙ = −¯k(x) Φs − ∆f (x) = −¯k(xd ) Φs + (−∆f (xd ) + O(ε))

where ∆f = ˆf − f

I We can consider a first order filter:

I (^) its dynamic depends on desired state xd I (^) s : a measure of the algebraic distance to the surface S(t) is its output I (^) the ”perturbations,” (uncertainty ∆f (xd )) is its input