Lesson20 Notes
Lesson20 Notes
no
https://join.iclicker.com/MMAW
II Multivariable Control SHU
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Summary so Far
1. We can determine local stability properties for hyperbolic fixed
points of nonlinear systems by examining the eigenvalues of the
linear approximation.
1.1 The fixed point is asymptotically stable for the nonlinear system if it
is asymptotically stable for the linear systems (all eigenvalues have
negative real part)
1.2 The fixed point is unstable for the nonlinear system if it is unstable
for the linear system. (one or more eigenvalues with positive real
part)
1.3 If any eigenvalue of the linear approximation has zero real part
(critical eigenvalues) then the fixed point of the nonlinear system
may be stable or unstable, i.e. the linearization is inconclusive.
2. Lyapunov functions can be used to determine stability in the case of
critical eigenvalues
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
ẋ1 = x2
g
ẋ2 = sin(x1 ) Bx2
`
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
LaSalle’s Theorem
LaSalle’s Theorem
Example
Consider the nonlinear system
ẋ1 = x1 (1 + x2 )
ẋ2 = x21
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Example
Let
1 2 1 2
V = x1 + x2
2 2
Then
defiance
V̇ = x1ẋ 1 + x2ẋ 2 2
on
= x21(1 + x2) + x2x21 = x21 0
ii
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Definition
An n ⇥ n matrix P is Positive Definite if and only if
xT P x > 0 for x 6= 0
The matrix P is
• Positive Semi-definite if xT P x 0
• Negative Definite if xT P x < 0
• Negative Semi-Definite if xT P x 0
• P is Indefinite if it is otherwise not one of the above.
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Remark
• The matrix P is positive definite if and only if all eigenvalues of P
are positive.
• P is positive semi-definite if all eigenvalues of P are greater than or
possibly equal to zero.
ẋ = Ax
V = xT P x
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
V̇ = ẋT P x + xT P ẋ
= xT AT P x + xT P Ax
= xT (AT P + P A)x
V = xT P x
V̇ = xT Qx
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
V̇ = ẋT P x + xT P ẋ
= xT AT P x + xT P Ax
= xT (AT P + P A)x
V = xT P x
V̇ = xT Qx
https join.iclicker.comMMAW
Suppose both P and Q are positive definite. What can you conclude?
in a exponentiallystable d in stable
b
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
V̇ = ẋT P x + xT P ẋ
= xT AT P x + xT P Ax
= xT (AT P + P A)x
V = xT P x
V̇ = xT Qx
Suppose both P and Q are positive definite. What can you conclude?
The conclusion is that the linear system is (exponentially) stable.
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
ATP + P A + Q = 0
where P is the unknown and A and Q are given. Suppose that we solve
Equation (1) for P and find that P is positive-definite. What conclusions
can you draw?
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
ATP + P A + Q = 0
where P is the unknown and A and Q are given. Suppose that we solve
Equation (1) for P and find that P is positive-definite. What conclusions
can you draw?
The equation (1) is called a Lyapunov Equation.
Px 0
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Remark
This gives a way to determine stability of linear systems by solving a
system of linear algebraic equations; in other words, without computing
matrix eigenvalues.
Nonlinear Systems Linearization Stability Lyapunov Theory Basin Global Stability The Invariance Principle Stability of Linear Systems
Example
Remark
The Matlab Control Systems Toolbox has the built-in function lyap,
which solves the Lyapunov equation.
Matlab Script
>> A = [0 1; 2 3];
>> Q = [1 0; 0 1];
>> P = lyap(A, Q)
>> P =
1.0000 0.5000
0.5000 0.5000
>> eig(P )
ans =
0.1910
1.3090
I Multivariable Control
G g content ation
i M q c
qg q
Edinclude motor inertias by adding diagonal matrix
to the prior definition
First assume G
g 0 gravity free
Note and x̅ 0 is
eq.pt
Q Does this controller make x̅ O a stable eq.pt
is this constable
x
q qTM g if qtKpq 0 x O
Effectors
replaced bysprings
virtuality.fr
i qtM q.tn q j qtkp
q.q7g qᵗmlq qtkpq
qt u
ily jul 25
it Kaq q.TKa q 0 X
Étq
depend
suppose O
q if 0
c no
Kpq Hq O 8 0
Asymptotically stable A 5