1 Property of University of Pennsylvania, Vijay Kumar
Video 8.1 Vijay Kumar 1 Property of University of Pennsylvania, - - PowerPoint PPT Presentation
Video 8.1 Vijay Kumar 1 Property of University of Pennsylvania, - - PowerPoint PPT Presentation
Video 8.1 Vijay Kumar 1 Property of University of Pennsylvania, Vijay Kumar Definitions State State equations Equilibrium 2 Property of University of Pennsylvania, Vijay Kumar Stability Stable Unstable Neutrally (Critically)
2 Property of University of Pennsylvania, Vijay Kumar
Definitions
State State equations Equilibrium
3 Property of University of Pennsylvania, Vijay Kumar
Stability
- Stable
- Unstable
- Neutrally
(Critically) Stable
4 Property of University of Pennsylvania, Vijay Kumar
Stability
Translate the origin to xe
e d
x1 x2
x(t) =0 is stable (Lyapunov stable) if and only if for any e > 0, there exists a d(e) > 0 such that x(t) =0 is asymptotically stable if and only if it is stable and there exists a d > 0 such that
5 Property of University of Pennsylvania, Vijay Kumar
Asymptotic Stability
x(t) =0 is asymptotically stable if and only if it is stable and there exists a d > 0 such that
x1 x2
d
x(t) =0 is globally asymptotically stable if and
- nly if it is asymptotically stable and it is
independent of x(t0)
6 Property of University of Pennsylvania, Vijay Kumar
Example
q m Viscous friction, c x1 x2
Suppose you want
6
1
- x
E(t) cannot increase
7 Property of University of Pennsylvania, Vijay Kumar
Global Asymptotic Stability of Linear Systems
- Global Asymptotic Stability
- Lyapunov Stability, not Global Asymptotic Stability
- Unstable
if and only if the real parts of all eigenvalues of A are negative if and only if the real parts of all eigenvalues are non positive, and zero eigenvalue is not repeated if and only if there is one eigenvalue of A whose real part is positive
8 Property of University of Pennsylvania, Vijay Kumar
Linear Autonomous Systems
Eigenvalues and eigenvectors for non defective X
for non defective A
but similar story for defective A
Solution
Exponential of a matrix, X
eigenvectors eigenvalues
9 Property of University of Pennsylvania, Vijay Kumar
Video 8.2 Vijay Kumar
10 Property of University of Pennsylvania, Vijay Kumar
Stability of “Almost Linear” Systems
- Global Asymptotic Stability
- Lyapunov Stability, not Global Asymptotic Stability
- Unstable
if and only if the real parts of all eigenvalues of A are negative if and only if the real parts of all eigenvalues are non positive, and zero eigenvalue is not repeated if and only if there is one eigenvalue of A whose real part is positive Significant dynamics
Not Significant
11 Property of University of Pennsylvania, Vijay Kumar
Lyapunov’s theorem
- Nonlinear, autonomous systems
- Near equilibrium points
If the linearized system exhibits significant behavior, then the stability characteristics of the nonlinear system near the equilibrium point are the same as that of the linear system.
12 Property of University of Pennsylvania, Vijay Kumar
Example
- Equation of motion
- State space representation
- Equilibrium points
- Change of variables
Viscous friction, c
13 Property of University of Pennsylvania, Vijay Kumar
Example
- Equilibrium point number 1
- Equilibrium point number 2
q m Viscous friction, c
14 Property of University of Pennsylvania, Vijay Kumar
Example
- Equilibrium point number 1
- Linearization
q m Viscous friction, c
The system is locally asymptotically stable If c>0 and g>0, real parts of both eigenvalues are always negative
15 Property of University of Pennsylvania, Vijay Kumar
- Equilibrium point number 2
- Linearization
Example
q m Viscous friction, c
The system is unstable If c>0 and g>0, both eigenvalues are real,
- ne is positive.
16 Property of University of Pennsylvania, Vijay Kumar
Example (c=0)
- Equilibrium point number 1
- Linearization
q m No friction
No conclusive results Real parts of both eigenvalues are non negative
17 Property of University of Pennsylvania, Vijay Kumar
Summary for Nonlinear Autonomous Systems
- Write equations of motion in state space notation
- Solve f(x)=0
- Identify equilibrium point(s), xe
- Linearize equations of motion to get the coefficient matrix A
- Compute eigenvalues of A. Use Lyapunov’s theorem. If the linearized system have
significant dynamics, we can make an inference about stability.
18 Property of University of Pennsylvania, Vijay Kumar
Lyapunov’s Direct Method
- Avoids linearization (hence direct)
19 Property of University of Pennsylvania, Vijay Kumar
Example
q m Viscous friction, c x1 x2
E(t) cannot increase
20 Property of University of Pennsylvania, Vijay Kumar
Lyapunov’s Direct Method
- V(x) is a continuous function with continuous first
partial derivatives
- V(x) is positive definite
V acts like a norm What if you can show that V never increases?
Such a function V is called a Lyapunov Function Candidate
21 Property of University of Pennsylvania, Vijay Kumar
Theorem
- 1. The (above) system is stable if there exists a Lyapunov
function candidate such that the time derivative of V is negative semi-definite along all solution trajectories of the system.
22 Property of University of Pennsylvania, Vijay Kumar
Theorem
- 2. The (above) system is asymptotically stable if there
exists a Lyapunov function candidate such that the time derivative of V is negative definite along all solution trajectories of the system.
23 Property of University of Pennsylvania, Vijay Kumar
Example 1
- Equation of motion
- State space representation
- Equilibrium point
q m Viscous friction, c
What is a candidate Lyapunov function?
24 Property of University of Pennsylvania, Vijay Kumar
Example 1
q m Viscous friction, c
25 Property of University of Pennsylvania, Vijay Kumar
Example 2
- One-dimensional spring-mass-dashpot with a nonlinear spring
k x O M
What is a candidate Lyapunov function?
Linearized system does not have significant dynamics
26 Property of University of Pennsylvania, Vijay Kumar
Video 8.3 Vijay Kumar
27 Property of University of Pennsylvania, Vijay Kumar
Fully-actuated robot arm (n joints, n actuators)
Equations of Motion
symmetr ic, positive definite inertia matrix
n- dimensiona l vector of Coriolis and centripetal forces n- dimensi
- nal
vector of gravitati
- nal
forces n- dimensi
- nal
vector
- f
actuator forces and torques
28 Property of University of Pennsylvania, Vijay Kumar
Fully-actuated robot arm (continued)
29 Property of University of Pennsylvania, Vijay Kumar
PD Control of Robot Arms
Reference trajectory Error Proportional + Derivative Control
assume
30 Property of University of Pennsylvania, Vijay Kumar
Assume no gravitational forces
PD Control achieves Global Asymptotic Stability Proof Lyapunov function candidate Identity
31 Property of University of Pennsylvania, Vijay Kumar
Assume no gravitational forces
PD Control achieves Global Asymptotic Stability Proof Lyapunov function candidate
decreasing as long as velocity is non zero can it reach a state where ?
32 Property of University of Pennsylvania, Vijay Kumar
Assume no gravitational forces
PD Control achieves Global Asymptotic Stability Proof
decreasing as long as velocity is non zero can it reach a state where La Salle’s theorem guarantees Global Asymptotic Stability
33 Property of University of Pennsylvania, Vijay Kumar
With gravitational forces
PD Control achieves Global Asymptotic Stability but with a new equilibrium point
q g
34 Property of University of Pennsylvania, Vijay Kumar
PD control with gravity compensation
Global Asymptotic Stability with the correct equilibrium configuration Use the same Lyapunov function candidate:
35 Property of University of Pennsylvania, Vijay Kumar
Computed Torque Control
Reference trajectory Compensate for gravity and inertial forces
Global Asymptotic Stability
36 Property of University of Pennsylvania, Vijay Kumar
Computed Torque Control and Feedback Linearization
y
- riginal
system nonline ar feedbac k new system
Nonlinear feedback transforms the original nonlinear system to a new linear system Linearization is exact (distinct from linear approximations to nonlinear systems)
v u
37 Property of University of Pennsylvania, Vijay Kumar
Joint Space versus Task Space Control
Task coordinates Reference trajectory Kinematics Task space control
38 Property of University of Pennsylvania, Vijay Kumar