Salta al contenuto
Note per Studenti Transfer Matrix of Continuous-Time LTI Systems Report

Transfer Matrix of Continuous-Time LTI Systems

In questa pagina 4

Laplace domain

Apply the Laplace transform L\mathcal{L} to x˙(t)=Fx(t)+Gu(t)\dot x(t)=Fx(t)+Gu(t), y(t)=Hx(t)+Ju(t)y(t)=Hx(t)+Ju(t):

sX(s)−x(0)=FX(s)+GU(s),sX(s)-x(0)=FX(s)+GU(s), X(s)=(sI−F)−1x(0)+(sI−F)−1GU(s),X(s)=(sI-F)^{-1}x(0)+(sI-F)^{-1}GU(s), Y(s)=H(sI−F)−1x(0)+(H(sI−F)−1G+J)U(s).Y(s)=H(sI-F)^{-1}x(0)+\Big(H(sI-F)^{-1}G+J\Big)U(s).

Hence

L[eFt](s)=(sI−F)−1,L[w(t)](s)=H(sI−F)−1G+J=W(s),\mathcal{L}\big[e^{Ft}\big](s)=(sI-F)^{-1},\qquad \mathcal{L}[w(t)](s)=H(sI-F)^{-1}G+J=W(s),

where w(t)w(t) is the impulse response (Forced Response and Impulse Response of LTI SystemsThe state of a non-autonomous LTI system is the sum of a free evolution driven by the initial state and a forced evolution given by the convolution of the input with the matrix exponential, and the output response to a Dirac delta input is the impulse response.Forced Response and Impulse Response of LTI Systems →) and W(s)W(s) is the transfer matrix (the transfer function for SISO systems).

Invariance under change of basis

How do w(t)w(t) and W(s)W(s) change if the state basis changes? Take a generic invertible matrix TT and set z=Txz=Tx, i.e. x=T−1zx=T^{-1}z. From x˙=Fx+Gu\dot x=Fx+Gu, y=Hx+Juy=Hx+Ju:

T−1z˙=FT−1z+Gu,y=HT−1z+Ju ⟹ z˙=TFT−1⏟FTz+TG⏟GTu,y=HT−1⏟HTz+Ju.T^{-1}\dot z=FT^{-1}z+Gu,\quad y=HT^{-1}z+Ju\ \Longrightarrow\ \dot z=\underbrace{TFT^{-1}}_{F_T}z+\underbrace{TG}_{G_T}u,\quad y=\underbrace{HT^{-1}}_{H_T}z+Ju .

The new transfer matrix is

WT(s)=HT−1(sI−TFT−1)−1TG+J=HT−1(sTIT−1−TFT−1)−1TG+J=HT−1[T(sI−F)T−1]−1TG+JW_T(s)=HT^{-1}\big(sI-TFT^{-1}\big)^{-1}TG+J=HT^{-1}\big(sTIT^{-1}-TFT^{-1}\big)^{-1}TG+J=HT^{-1}\Big[T(sI-F)T^{-1}\Big]^{-1}TG+J =HT−1T(sI−F)−1T−1TG+J=H(sI−F)−1G+J=W(s).=HT^{-1}T(sI-F)^{-1}T^{-1}TG+J=H(sI-F)^{-1}G+J=W(s).

So W(s)W(s) is invariant with respect to the change of basis TT. The same holds for other system properties, for example the characteristic polynomial ∣λI−F∣|\lambda I-F|: using det⁡(AB)=det⁡Adet⁡B\det(AB)=\det A\det B and det⁡T=1/det⁡(T−1)\det T=1/\det(T^{-1}),

∣λI−TFT−1∣=∣T∣⋅∣λI−F∣⋅∣T−1∣=∣λI−F∣.|\lambda I-TFT^{-1}|=|T|\cdot|\lambda I-F|\cdot|T^{-1}|=|\lambda I-F| .

Jordan form and the modes in W(s)W(s)

Let FJ=TFT−1F_J=TFT^{-1} be the Jordan form, with κ\kappa Jordan blocks B1,…,BκB_1,\dots,B_\kappa on the diagonal, and GJ=TGG_J=TG, HJ=HT−1H_J=HT^{-1} partitioned accordingly:

GJ=(GJ1⋮GJκ),HJ=(HJ1⋯HJκ).G_J=\begin{pmatrix}G_J^1\\ \vdots\\ G_J^\kappa\end{pmatrix},\qquad H_J=\begin{pmatrix}H_J^1&\cdots&H_J^\kappa\end{pmatrix}.

Then, since (sI−FJ)−1(sI-F_J)^{-1} is block diagonal,

W(s)=HJ(sI−FJ)−1GJ+J=∑ℓ=1κHJℓ(sI−Bℓ)−1GJℓ+J.W(s)=H_J(sI-F_J)^{-1}G_J+J=\sum_{\ell=1}^{\kappa}H_J^\ell(sI-B_\ell)^{-1}G_J^\ell+J .

If BℓB_\ell is a Jordan block of size nℓn_\ell with eigenvalue λ\lambda, this term contains the modes eλt, teλt,…,tnℓ−1eλte^{\lambda t},\,te^{\lambda t},\dots,t^{n_\ell-1}e^{\lambda t}. Define Wℓ(s)=HJℓ(sI−Bℓ)−1GJℓW_\ell(s)=H_J^\ell(sI-B_\ell)^{-1}G_J^\ell. The inverse (sI−Bℓ)−1(sI-B_\ell)^{-1} is upper triangular, with 1s−λ\tfrac1{s-\lambda} on the diagonal, 1(s−λ)2\tfrac1{(s-\lambda)^2} on the first superdiagonal and so on, up to 1(s−λ)nℓ\tfrac1{(s-\lambda)^{n_\ell}} in the corner, so

Wℓ(s)=A1s−λ+A2(s−λ)2+⋯+Anℓ(s−λ)nℓW_\ell(s)=\frac{A_1}{s-\lambda}+\frac{A_2}{(s-\lambda)^2}+\dots+\frac{A_{n_\ell}}{(s-\lambda)^{n_\ell}}

(the last index is hard to read on the board; it should match the highest mode tnℓ−1eλtt^{n_\ell-1}e^{\lambda t}).

Zero-pole cancellations can occur, so some modes may not appear in W(s)W(s).

Example. F=(100−1)F=\begin{pmatrix}1&0\\0&-1\end{pmatrix}, G=(01)G=\begin{pmatrix}0\\1\end{pmatrix}, H=(01)H=\begin{pmatrix}0&1\end{pmatrix}, J=0J=0.

W(s)=H(sI−F)−1G=(01)(1s−1001s+1)(01)=1s+1 →L−1 e−t.W(s)=H(sI-F)^{-1}G=\begin{pmatrix}0&1\end{pmatrix}\begin{pmatrix}\frac1{s-1}&0\\0&\frac1{s+1}\end{pmatrix}\begin{pmatrix}0\\1\end{pmatrix}=\frac1{s+1}\ \xrightarrow{\mathcal{L}^{-1}}\ e^{-t}.

But (sI−F)−1=diag(1s−1,1s+1)(sI-F)^{-1}=\mathrm{diag}\big(\tfrac1{s-1},\tfrac1{s+1}\big) and x(t)=(et00e−t)x(0)x(t)=\begin{pmatrix}e^t&0\\0&e^{-t}\end{pmatrix}x(0): the unstable mode ete^t is present in the state but invisible in W(s)W(s).

Stability with inputs

Stability with inputs makes little sense in general, but we can talk about stability with constant inputs u(t)=u0u(t)=u_0. The equilibrium satisfies

Fxeq+Gu0=0.Fx_{eq}+Gu_0=0 .

If FF is full rank, then xeq=−F−1Gu0x_{eq}=-F^{-1}Gu_0 is unique and xeq≠0x_{eq}\neq0; full rank means that 00 is not an eigenvalue of FF. If the system is asymptotically stable (Re(λ)<0\mathrm{Re}(\lambda)<0), then x(t)→xeq≠0x(t)\to x_{eq}\ne0.

Versione ripasso

  • Laplace: X(s)=(sI−F)−1x(0)+(sI−F)−1GU(s)X(s)=(sI-F)^{-1}x(0)+(sI-F)^{-1}GU(s); L[eFt]=(sI−F)−1\mathcal{L}[e^{Ft}]=(sI-F)^{-1}.
  • Transfer matrix W(s)=H(sI−F)−1G+J=L[w(t)]W(s)=H(sI-F)^{-1}G+J=\mathcal{L}[w(t)] (transfer function if SISO).
  • Change of basis z=Txz=Tx: FT=TFT−1F_T=TFT^{-1}, GT=TGG_T=TG, HT=HT−1H_T=HT^{-1}; WT(s)=W(s)W_T(s)=W(s) and ∣λI−F∣|\lambda I-F| are invariant.
  • With Jordan blocks BℓB_\ell (size nℓn_\ell, eigenvalue λ\lambda): W(s)=∑ℓHJℓ(sI−Bℓ)−1GJℓ+JW(s)=\sum_\ell H_J^\ell(sI-B_\ell)^{-1}G_J^\ell+J, modes eλt,teλt,…,tnℓ−1eλte^{\lambda t},te^{\lambda t},\dots,t^{n_\ell-1}e^{\lambda t}.
  • Zero-pole cancellation can hide modes: F=diag(1,−1)F=\mathrm{diag}(1,-1), G=(0,1)TG=(0,1)^T, H=(0,1)H=(0,1) gives W=1s+1W=\tfrac1{s+1}, while ete^t is still in the state.
  • Constant input u0u_0: Fxeq+Gu0=0Fx_{eq}+Gu_0=0; FF full rank gives xeq=−F−1Gu0≠0x_{eq}=-F^{-1}Gu_0\ne0; if a.s., x(t)→xeqx(t)\to x_{eq}.

Teoria collegata