Salta al contenuto
Note per Studenti Stability of Nonlinear Systems by Linearization Report

Stability of Nonlinear Systems by Linearization

In questa pagina 3

Question: can the Lyapunov approach be used for nonlinear systems? Two facts suggest a first answer through linearization:

  1. linearizing a nonlinear system about xeqx_{eq} gives a good approximation of the original system "near" xeqx_{eq};
  2. we already know how to study asymptotic stability of LTI systems (eigenvalues, Lyapunov Equation for Continuous-Time Linear SystemsThe Lyapunov approach tests asymptotic stability of a linear system without computing eigenvalues, by solving the matrix equation minus Q equals F transpose P plus P F and checking that the solution P is unique and positive definite.Lyapunov Equation for Continuous-Time Linear Systems →).

Theorem (linearization)

Let x˙(t)=f(x(t))\dot x(t)=f(x(t)) with xeq=0x_{eq}=0, and let x˙(t)=Fx(t)\dot x(t)=Fx(t) be its linearized version about xeq=0x_{eq}=0, where F=Jf(0)F=J_f(0) is the Jacobian of ff at 00.

  • If FF is a.s., then xeq=0x_{eq}=0 is a.s. for the original nonlinear dynamics f(⋅)f(\cdot).
  • If FF is unstable, then xeq=0x_{eq}=0 is unstable for f(⋅)f(\cdot).

Note (critical case). If FF is stable but not a.s., nothing can be concluded about the stability of xeqx_{eq} for ff. This situation, FF stable, is called the critical case.

For nonlinear systems, xeqx_{eq} being a.s. requires that xeqx_{eq} is stable and that xeqx_{eq} is attractive.

Example: pendulum

Let x1=θx_1=\theta, x2=θ˙x_2=\dot\theta, with length ℓ\ell, mass mm and gravity gg.

Case 1: no friction.

x˙1=x2,x˙2=−gℓsin⁡(x1).\dot x_1=x_2,\qquad \dot x_2=-\frac g\ell\sin(x_1).

Linearizing about xeq=0x_{eq}=0 gives x˙=(01−g/ℓ0)x\dot x=\begin{pmatrix}0&1\\-g/\ell&0\end{pmatrix}x, with λ1,2=±jg/ℓ\lambda_{1,2}=\pm j\sqrt{g/\ell}. So FF is stable but not a.s., and by the theorem we cannot tell anything (critical case). Indeed the linearized trajectory is oscillatory, x(t)=x(0)cos⁡(g/ℓ t)x(t)=x(0)\cos\big(\sqrt{g/\ell}\,t\big).

Case 2: friction with coefficient vv:

x˙1=x2,x˙2=−gℓsin⁡(x1)−vmℓx2.\dot x_1=x_2,\qquad \dot x_2=-\frac g\ell\sin(x_1)-\frac v{m\ell}x_2 .

Linearizing about xeq=0x_{eq}=0: F=(01−g/ℓ−v/(mℓ))F=\begin{pmatrix}0&1\\-g/\ell&-v/(m\ell)\end{pmatrix}, whose characteristic equation is λ(λ+vmℓ)+gℓ=0\lambda\big(\lambda+\tfrac v{m\ell}\big)+\tfrac g\ell=0 (on the board the constant term appears with a minus sign, which looks like a slip: the determinant of λI−F\lambda I-F gives plus). All eigenvalues have Re(λ1,2)<0\mathrm{Re}(\lambda_{1,2})<0, so FF is a.s. and, by the theorem, xeq=0x_{eq}=0 is a.s. for the nonlinear system.

Case 3: upright equilibrium xeq=(π0)x_{eq}=\begin{pmatrix}\pi\\0\end{pmatrix} (pendulum pointing up). With z=(x1−πx2)z=\begin{pmatrix}x_1-\pi\\x_2\end{pmatrix} the linearization is

z˙(t)=(01g/ℓ0)z(t),ΔF(λ)=λ2−gℓ,λ1,2=±g/ℓ.\dot z(t)=\begin{pmatrix}0&1\\g/\ell&0\end{pmatrix}z(t),\qquad \Delta_F(\lambda)=\lambda^2-\frac g\ell,\quad\lambda_{1,2}=\pm\sqrt{g/\ell}.

Since Re(λ1)>0\mathrm{Re}(\lambda_1)>0, FF is unstable, and therefore xeq=(π0)x_{eq}=\begin{pmatrix}\pi\\0\end{pmatrix} is unstable for f(⋅)f(\cdot).

Exercise: a system with a parameter

For a∈Ra\in\mathbb{R} consider

x˙1=−ax1+x2+(a−1)x13,x˙2=(a−1)x2+(1−a)x12x2.\dot x_1=-ax_1+x_2+(a-1)x_1^3,\qquad \dot x_2=(a-1)x_2+(1-a)x_1^2x_2 .

Question: stability of xeq=0x_{eq}=0?

Linearizing about xeq=0x_{eq}=0 (the cubic terms drop):

x˙1=−ax1+x2,  x˙2=(a−1)x2 ⇒ F=(−a10a−1).\dot x_1=-ax_1+x_2,\ \ \dot x_2=(a-1)x_2\ \Rightarrow\ F=\begin{pmatrix}-a&1\\0&a-1\end{pmatrix}.

Stability of the linearized system: ΔF(λ)=(λ+a)(λ−(a−1))\Delta_F(\lambda)=(\lambda+a)\big(\lambda-(a-1)\big), so λ1=−a\lambda_1=-a, λ2=a−1\lambda_2=a-1.

  • FF is a.s. if λ1<0\lambda_1<0 and λ2<0\lambda_2<0, i.e. −a<0-a<0 and a−1<0a-1<0, i.e. 0<a<10<a<1. Then xeq=0x_{eq}=0 is a.s. for the original nonlinear system.
  • FF is unstable if λ1>0\lambda_1>0 or λ2>0\lambda_2>0, i.e. a<0a<0 or a>1a>1. Then xeq=0x_{eq}=0 is unstable for the original system.
  • a=0a=0 or a=1a=1: the eigenvalues are (0,−1)(0,-1) for a=0a=0 and (−1,0)(-1,0) for a=1a=1, so FF is stable but not a.s. and the theorem gives nothing. Look at the original system:
    • a=0a=0: x˙1=x2−x13\dot x_1=x_2-x_1^3, x˙2=−x2+x12x2\dot x_2=-x_2+x_1^2x_2; we cannot tell much.
    • a=1a=1: x˙1=−x1+x2\dot x_1=-x_1+x_2, x˙2=0\dot x_2=0 is a linear system with F=(−1100)F=\begin{pmatrix}-1&1\\0&0\end{pmatrix}, (simply) stable, so xeq=0x_{eq}=0 is stable for a=1a=1.

Versione ripasso

  • Theorem: for x˙=f(x)\dot x=f(x) with xeq=0x_{eq}=0 and linearization x˙=Fx\dot x=Fx, F=Jf(0)F=J_f(0) (the Jacobian at 00). If FF is asymptotically stable, xeq=0x_{eq}=0 is asymptotically stable for ff. If FF is unstable, xeq=0x_{eq}=0 is unstable for ff.
  • Critical case: FF stable but not asymptotically stable (eigenvalues on the imaginary axis): the theorem says nothing about ff.
  • For a nonlinear system, asymptotic stability of xeqx_{eq} means stable and attractive.
  • Pendulum (x1=θx_1=\theta, x2=θ˙x_2=\dot\theta): without friction λ=±jg/ℓ\lambda=\pm j\sqrt{g/\ell}, a critical case. With friction the characteristic equation is λ(λ+vmℓ)+gℓ=0\lambda(\lambda+\tfrac v{m\ell})+\tfrac g\ell=0, so Reλ<0\mathrm{Re}\lambda<0 and xeq=0x_{eq}=0 is asymptotically stable. Upright (π0)\begin{pmatrix}\pi\\0\end{pmatrix}: λ2−g/ℓ=0\lambda^2-g/\ell=0, unstable.
  • Parametric exercise: F=(−a10a−1)F=\begin{pmatrix}-a&1\\0&a-1\end{pmatrix} (cubic terms drop), λ1=−a\lambda_1=-a, λ2=a−1\lambda_2=a-1. 0<a<10<a<1: asymptotically stable. a<0a<0 or a>1a>1: unstable. a=0a=0 or a=1a=1: critical case. For a=1a=1 the system becomes linear, x˙1=−x1+x2\dot x_1=-x_1+x_2, x˙2=0\dot x_2=0, which is stable.
  • Typical errors: concluding anything in the critical case; linearizing at the wrong equilibrium (the upright pendulum is π\pi, not 00).

Teoria collegata