4. Lyapunov Theory
4.1 Lyapunov Function
To introduce the Lyapunov Theory, we can start from an example:
Example
The dynamic equation of a spring-damping system is:
Give the state variable,
There have,
When \(u(t) = 0\), at \(t\geq 0\),
The system is not differentiable, to find the stability of this system, Lyapunov Theory should be applied. Introducing the Lyapunov function which represents the energy of the system:
It turns out \(V(\begin{bmatrix} 0\\0 \end{bmatrix}) = 0\), and \(V(\begin{bmatrix} x_1\\x_2 \end{bmatrix}) > 0, \forall \begin{bmatrix} x_1\\x_2 \end{bmatrix} \neq \begin{bmatrix} 0\\0 \end{bmatrix}\)
Derivate the Lyapunov function,
Now, we can give the definition of Lyapunov function: \(V: \mathbb R^n \to \mathbb R\), \(V \in C^1\)
- \(V\) is positive definite (PD) in \(\bar x\) if \(V(\bar x) = 0\) and \(V(x) > 0\), \(\forall x \in D\{\bar x\}\) where \(D\) is an open neighbor of \(\bar x\), if \(D = \mathbb R^n \Rightarrow V\) is globally positive definite
- \(V\) is negative definite (ND) in \(\bar x\) if \(-V\) is positive definite in \(\bar x\)
- \(V\) is positive semi-definite (PSD) in \(\bar x\) if \(V(\bar x) = 0\) and \(V(x) \geq 0, \forall x \in D\) where in an open neighbor of \(\bar x\)
- \(V\) is negative semi-definite (NSD) if \(-V\) is positive semi definite
Radially unbounded globally positive definite function
Example
\(\bar x=0\), \(V(x)\) is globally positive definite
Lever surface of \(V\) positive definite is: \(\{x\in \mathbb R^n:V(x) = \bar V\}\)
4.2 Lipchitz Continuous
\(\bar x\) is a equilibrium of \(\varphi(\bar x = 0)\), where \(\varphi: \mathbb R^n \to \mathbb R^n\) is lipchitz in a neighbor \(D\) of \(\bar x\).
Give the definition of Lipchitz Continuous,
Where, \(\varphi\) is continuous in \(D\)
Example
- \(\varphi (x) = x^{\frac13}\) is not lipchitz
- \(\varphi(x) = |x|\) is lipchitz
- \(\varphi \in C^1 \Rightarrow \varphi\) is lipchitz
4.3 Lyapunov Theory
Giving Lyapunov function \(V\), \(\exists V(x) \in C^1\), that are PD in \(\bar x\), and \(\dot V\) is NSD in \(\bar x\), then \(\bar x\) is stable.
Info
Proof
\(\bar x = 0\)
For the Lyapunov Theory, there have following conditions:
- A.S. \(\to\) if \(\dot V(x)\) is negative definite in \(\bar x\)
- G.A.S \(\to\) globally positive definite \(V(x)\) in \(\bar x\), and globally negative definite \(\dot V(x)\) in \(\bar x\), Radially unbounded \(V(x)\)
- Instability \(\to\) positive definite \(\dot V (x)\) in \(\bar x\)
Example
\(\bar x\) is A.S.
4.4 Conclusion on Lyapunov Theory
For the system,
\(\bar x\) is equilibrium \(\Rightarrow\) \(\varphi (\bar x) = 0\),
- \(\varphi: \mathbb R^n \to \mathbb R^n\)
- Lipchitz on \(D\) in the neighbor of \(\bar x\)
If \(\exists V(x) \in C^1\), \(\bar x\) is PD,
- \(\bar x\) is stable if \(\dot V(x)\) is NSD
- \(\bar x\) is A.S. if \(\dot V(x)\) is ND
- \(\bar x\) is unstable if \(\dot V(x)\) is PD
If \(V(x)\) is globally PD in \(\bar x\), \(\bar x\) is G.A.S. when:
- \(V(x)\) is radially unbounded
- \(\dot V(x)\) is globally ND in \(\bar x\)
4.5 Candidate Lyapunov Functions
To choose a suitable Lyapunov function, we should meet the condition below:
- Lyapunov function should be an energy function
One possible option is: \(V(x) = (x-\bar x)^TP(x-\bar x)\)
Example
\(\bar x = \begin{bmatrix} 0\\0 \end{bmatrix}\) is an equilibrium point, find the stability.
-
Linearization
\[ \left\{\begin{aligned} \delta \dot x_1 &= -\delta x_1\\ \delta \dot x_2 &= 0 \end{aligned}\right. \Rightarrow A = \begin{bmatrix} -1 & 0\\ 0 & 0 \end{bmatrix} \] -
Lyapunov Theory
\[ V(x) = \frac12 (x_1^2 + x_2^2) \]Which is globally PD in \(\bar x = 0\) and radially unbounded
\[ \begin{aligned} \dot V(x) &= x_1 \dot x_1 + x_2 \dot x_2 \\ &= x_1^2 x_2 - x_1^2 -x_2 x_1^2 - x_2^4 \\ &= -(x_1^2 + x_2^4) \leq 0 \end{aligned} \]\(\dot V(x)\) is globally ND in \(\bar x = 0\)
Example
For the pendulum system, give the state space function:
\(\bar u = 0\), \(\bar x = \begin{bmatrix} 0\\0 \end{bmatrix}\) is an equilibrium point, find the stability.
\(V(\bar x) = 0\), \(D = \{x \in \mathbb R^2, |x_1| < 2\pi\}\)
is ND in \(\bar x = 0\), \(\bar x\) is stable, but we cannot find the region of attraction.
4.6 Krasowski - La Salle Theorem
To solve the example above, we introduce the Krasowski - La Salle theorem, it gives:
\(\dot x = \varphi(x)\), \(\varphi(x)\) is Lipchitz on \(D\), \(\bar x\) is a equilibrium, \(\varphi(\bar x) = 0\), let:
\(V: D \to \mathbb R \in C^1\) is PD in \(\bar x\) on \(D\) and \(\dot V(x)\) is NSD in \(\bar x\) on \(D\)
If set \(S = \{x\in D: \dot V(x) = 0\}\) does not contain any perturbed trajectory of the system, \(\bar x\) is an A.S. equilibrium.
\(S = \{x\in D: x_2 = 0\}\)
-
\(\dot x_1 = 0 \to x_1(t) = \bar x_1, \forall t\)
\(\begin{aligned}0 = \dot x_2 &= -\frac{g}{L} \sin(x_1) \\ &\Rightarrow \sin(\bar x_1) = 0 \\ &\Rightarrow x_1 = h\pi \\ &\Rightarrow x = 0, \pm1, \pm2 \dots\end{aligned}\)
\(\Rightarrow\) in \(D = \{x: |x_1|<\pi\}\), \(\bar x\) is A.S.
If \(V\) is globally PD in \(\bar x\) and radially unbounded, \(\dot V(x)\) is NSD on \(D = \mathbb R^n\) and \(S = \{x \in \mathbb R^n: \dot V(x) = 0\}\),
- If \(S\) does not contain any perturbed trajectory \(\bar x\) is G.A.S.
Example
\(\bar x = \begin{bmatrix} 0\\0 \end{bmatrix}\) is an equilibrium point, find the stability.
is ND in \(\bar x = 0\), \(\bar x\) is stable.
\(x_2(t) = 0 \Rightarrow \dot x_1 = x_2 = 0 \Rightarrow x_1(t) = \bar x_1\)
\(\begin{aligned}0 = \dot x_2 &= \frac{1}{m} (-K_0 \bar x_1 - K_1 \bar x_1^3) \\ &\Rightarrow \bar x_1 (K_0 + K_1 \bar x_1^2 = 0) \\ &\Rightarrow \bar x_1 = 0\end{aligned}\)
\(\bar x = \begin{bmatrix} 0\\0 \end{bmatrix}\) is G.A.S.