Documente Academic
Documente Profesional
Documente Cultură
Equilibrium
R
r
Linear Stability Analysis
(Local Stability Analysis)
l What is needed at the outset:
l The system model (linear or nonlinear)
l An equilibrium point
l The linearization of the system about the equilibrium point
l Then, we have the linear(ized) system:
x˜˙ = A x=x* x˜ where x˜ = (x - x* )
(f ( x) " 0 ! g % (f ( x) " 0 g%
= =
(x x=0 $# 1 0l '& (x x= ) $# 1 0l '&
;
Example: Stability of
Pendulum (cont d)
l Eigenvalues:
l Case 1:
" 0 ! g% g g
l ' : ( + = 0 ) (1,2 = ± j
2
eig$
#1 0 & l l
) marginally stable
l Case 2:
!0 g$
g g
eig# l& : ' 2
( = 0 ) '1,2 = ±
"1 0% l l
) unstable
Make the Pendulum Stable:
Add Dissipation
l In order to be stable, a system MUST be able to lose
energy somehow
l Add viscous friction to pendulum
! x˙1 $ ! ' sin ( x2 ) ' bx1 $
g
# &=# l &
" x˙ 2 % " x %
1
l 2$ l'
The Controlled Pendulum
! x˙1 $ ! ' sin ( x2 )$
g ! 1 2$
# &=# l & + ( # ml &
" 2% "
x
˙ x % " 0 %
1
# x1 & # 0 &
g
( x1 = 0, ! sin ( x2 ) + 1 2 k P ( x2,d ! x2 ) = 0
l ml
The Controlled Pendulum
(cont d)
l Linearize the system
" 0 ! g cos( x )% " 1 2 % " !1 0 %
$ l 2,0
' + $ ml ' K$ '
#1 0 & # 0 & # 0 !1&
" ! kD !
g
cos( x2,0 ) ! kP 2 %
$ ml 2
l ml ' , assume m = l = 1
# 1 0 &
(1,2 =
1
2
( (
!k D ± k D2 ! 4 kP + g cos( x2,0 )) )
Discretization
l In real implementations, time is discrete, and continuous
systems need to be discretized in order to examine
stability
x˙ = Ax + Bu
x n +1 ! x n
= Axn + Bun
"t
x n+1 = "tAxn + "tBu n + x n
x n+1 = ("tA + I )x n + "tBu n
Discretized Pendulum
Stability
l The discretized linearized system becomes
# & # "t & #
% 1 ! l cos ( x2,0 ) "t
g &
( +% ml ( K % !1 0 (
2
% ( % (' $ 0 !1 '
$ "t 1 ' $ 0
$ "t 1 '
! 2 + ! ( !2 + "tkD ) +1 + "t 2 ( kP + g ) + "tkP = 0
!1,2 =
1
2(2 ! "tkD ± ( 2 ! "tkD )2 ! 4 (1 + "t 2 ( kP + g) + "tkP ) )
Eigenvalues as a function
of gains
Note: inappropriate gains
can make a naturally
stable equilibrium 1.4
1.2
100
point unstable
eig 1
0.8 80
0.6
60
0
20 40 kd
40
60 20
kp 80
100 0
1 100
eig
0.5 80
0 60
0
20 40 kd
40
60 20
kp 80
100 0