Salta al contenutoWorked Examples - Lyapunov Equation, Output Response and Rectilinear TrajectoriesReport
Worked Examples - Lyapunov Equation, Output Response and Rectilinear Trajectories
In questa pagina 3
System. A continuous-time linear time-invariant (CT LTI) system x˙=Fx with a real parameter a:
F=−1−100−1000a.
Questions: (1) stability via the Lyapunov equation; (2) the output y(t)=Hix(t) for H1=(100) and H2=(001); (3) all the trajectories x(t) with x(t) parallel to x(0) (equivalently, all rectilinear trajectories passing through the origin).
(1) Stability with the Lyapunov equation
The equation is
−Q=FTP+PF,
and we choose Q=I (symmetric positive definite). F is block diagonal, so Q and P are taken block diagonal too:
F=(F1F2),Q=(Q1Q2),P=(P1P2)⟹(−Q1−Q2)=(F1TP1+P1F1F2TP2+P2F2),
so the problem splits into two independent equations.
Block 1.F1=(−1−10−1) and P1=(p11p12p12p22)=P1T (the board calls the entries a,b,c; here p11,p12,p22 to avoid a clash with the parameter a). Then
−Q1=F1TP1+P1F1=(−10−1−1)(p11p12p12p22)+P1F1=(−p11−p12−p12−p12−p22−p22)+(−p11−p12−p12−p22−p12−p22)=(−2p11−2p12−2p12−p22−2p12−p22−2p22).
With −Q1=−I:
⎩⎨⎧−1=−2p11−2p120=−2p12−p22−1=−2p22⟹p22=21,p12=−2p22=−41,p11=21−p12=43.P1=(43−41−4121)=41(3−1−12).
(The board writes the prefactor as a fraction under the 4, i.e. 41, consistent with the values just found.)
Sylvester's criterion: first minor 3>0; second minor det(3−1−12)=6−1=5>0. So P1 is positive definite.
Block 2.F2=a (a scalar). −Q2=F2TP2+P2F2 gives −1=2ap, so p=−2a1.
a>0: p<0, P2 is not positive definite: unstable;
a<0: p>0: asymptotically stable;
a=0: no solution of the equation, and the eigenvalue 0 is simple: simply stable.
(2) The output y(t)=Hx(t)
In the Laplace domain Y(s)=HX(s)=H(sI−F)−1x(0). For a block-diagonal matrix A=(A1A2) the inverse is A−1=(A1−1A2−1), so
Y(s)=H((sI−F1)−1(sI−F2)−1)x(0),
where (sI−F1)−1 is 2×2 and (sI−F2)−1 is 1×1.
Case 1: H1=(100). Only the first block enters:
Y(s)=(10)(sI−F1)−1x(0)=(10)(s+110s+1)−1x(0)=(10)(s+1)21(s+1−10s+1)x(0)=(s+110)x(0)=s+1x1(0)L−1y(t)=e−tx1(0).
Case 2: H2=(001). Only the second block enters:
Y(s)=(sI−F2)−1x3(0)=(s−a)−1x3(0)L−1y(t)=eatx3(0).
If a=0, then y(t)=x3(0).
(3) Rectilinear trajectories through the origin
We look for all trajectories with x(t)∥x(0), i.e. x(t)=f(t)x(0) for a scalar function f. This happens when x(0) is an eigenvector of F corresponding to a real eigenvalue λ∈R; then x(t)=eλtx(0) (a straight line through the origin in the state space). So we compute the eigenvectors of F for real eigenvalues: F has λ1=−1 and λ2=a, and one solves Ker(F−λiI), Fvi=λivi.
Second block, F2=[a]: [v2]3=⟨1⟩, i.e. v2=001; the eigenvectors are ⟨001⟩.
First block, F1=(−1−10−1): v1=010, eigenvectors (associated with λ1) ⟨010⟩.
All the rectilinear trajectories are therefore:
λ1=−1:x(t)=e−tv1,v1∈⟨010⟩;λ2=a:x(t)=eatv2,v2∈⟨001⟩.
Rectilinear trajectories through the origin: x(0) eigenvector for a real λ, x(t)=eλtx(0). λ1=−1: x(t)=e−tv1, v1∈⟨(0,1,0)T⟩; λ2=a: x(t)=eatv2, v2∈⟨(0,0,1)T⟩.
Typical mistake: using a full (non block) P when blocks decouple, or forgetting that a=0 has no solution of the Lyapunov equation.