Problem 1
Transclude of Exact-DiscretizationTo find we can do the following transform
Where we can find and by finding the Eigenvectors and Eigenvalues
giving us and
Which gives us
And most importantly
And after inserting and solving the equation with we get:
Which is what we were supposed to prove. For we now how to calculate the integral where A is nonsingular
and are quite simple to find and are
Problem 2
Given a system on the form
Link to originalWhere
We do the following transformation
a) Which gives us and
\dot{\bar{x}} &= TAT^{-1}x + TBu \\ y &= CT^{-1}x + Du \end{align}Meaning that our new matrices will be defined as
\bar{A} &= TAT^{-1} =\begin{bmatrix} 0 & -2 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} -2 & 4 \\ -1 & 3 \end{bmatrix} \frac{1}{0*(-1)-(-2)*1} \begin{bmatrix} -1 & 2 \\ -1 & 0 \end{bmatrix} \\ \bar{A} &= \begin{bmatrix} 2 & 2 \\ 0 & -1 \end{bmatrix} \end{align} \bar{B} &= TB \\ \bar{B} &= \begin{bmatrix} 0 & -2 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} 8 \\ 2 \end{bmatrix} \\ \bar{B} &= \begin{bmatrix} -4 \\ 6 \end{bmatrix} \end{align}and
And
b) The similarity transform means that the systems are algebraically equivalent aka the systems are the same.
c) Since the matrices aren’t even the same dimensions, they cannot be algebraically equivalent as there exists no that can do a transformation . However, they can still be zero-state equivalent and we can check this by finding the transfer function: General equation for the transfer function of a system on State Space Representation
Link to originalG(s) = C(sI-A)^{-1}B+D= \dots = \frac{2s+8}{s+1} \end{align}
and
\tilde{G}(s) &= \tilde{C}(sI-\tilde{A})^{-1}\tilde{B}+\tilde{D} \\ \tilde{G}(s) &= 3(s-(-1))^{-1}*2+2 \\ \tilde{G}(s) &= \frac{2s+8}{s+1} \end{align}Since the systems are zero state equivalent
Problem 3
Given
Where
a) The Controllability Matrix is given by
Controllability Matrix
The general equation for a controllability matrix given a system on State Space Representation form is: And the system is controllable if , aka we can controll each state.
Link to original
We can see that the which means that the system is controllable
b) We will now find the eigenvalues of A
To find the eigenvalues of a matrix, , we need to find To find the eigenvectors of a matrix, , we need to find →
Link to original
Which gives us and
c) We first find
&[A-\lambda \mathbb{I}_{2} | B] =\left[ \begin{array}{cc|cc} 2-\lambda & -3 & 0 & 0 \\ 4 & -5-\lambda & 2 & 2 \end{array} \right] \end{align}For we get:
For we get:
Since the Popov-Belevitch-Hautus Test has full rank for all , the system is controllable.
d)
We can then writeLyapunov Test for Controllability
If the eigenvalues of have strictly negative real parts, then the system is controllable if and only if the matrix is a Positive-Definite Matrix
Positive-Definite Matrix
A symmetric matrix with all positive eigenvalues. NOTE: All symmetric matrices have only real eigenvalues
For a matrix, , to be positive-semidefinite the following has to hold
Criterion
Given that is a symmetric real matrix
Can be written generally as
Link to originalWhere is a Symmetric Matrix
Link to original
And solve for the coefficients .
\begin{bmatrix} 2 & -3 \\ 4 & -5 \end{bmatrix} \begin{bmatrix} w_{11} & w_{12} \\ w_{21} & w_{22} \end{bmatrix} + \begin{bmatrix} w_{11} & w_{12} \\ w_{21} & w_{22} \end{bmatrix} \begin{bmatrix} 2 & 4 \\ -3 & -5 \end{bmatrix} &= -\begin{bmatrix} 0 & 0 \\ 2 & 2 \end{bmatrix}\begin{bmatrix} 0 & 2 \\ 0 & 2 \end{bmatrix} \\ \begin{bmatrix} 2w_{11}-3w_{21} & 2w_{12}-3w_{22} \\ 4w_{11}-5w_{21} & 4w_{12} - 5w_{22} \end{bmatrix} + \begin{bmatrix} 2w_{11}-3w_{12} & 4w_{11}-5w_{12} \\ 2w_{21}-3w_{22} & 4w_{21} -5w_{22} \end{bmatrix} &=\begin{bmatrix} 0 & 0 \\ 0 & 8 \end{bmatrix} \end{align}Solving the four equations for the four variables gives us
We can see that transposing gives us
And since the eigenvalues of are strictly negative, Lyapunovs test for controllability deems the system as controllable
Problem 4
Given
Where
a)
We calculateControllability Matrix
The general equation for a controllability matrix given a system on State Space Representation form is: And the system is controllable if , aka we can controll each state.
Link to original
Which has full rank → Controllable
b)
&\det(\bar{A}-\lambda \mathbb{I_{3}}) \\ &=\det(A-BK-\lambda \mathbb{I}_{3}) \\ &=-\lambda^{3}+(9-k_{3})\lambda²+(4k_{3}-4k_{2}-23)\lambda-8k_{1}+4k_{2}-3k_{3}+15 \end{align}c) We want to place our poles such that .
Solving this with our equation from b) gives us
Where
and
Q.E.D