EE422
HW#16
Review HW, Don't turn in!!
1. a) Uncontrollable systems often arise when we have a great deal of symmetry in our system. Uncontrollable systems can also occur if we have have two energy storage elements which can be combined into one (i.e., in parallel or series). Find the state variable model for the following system then determine whether or not the system is controllable.

b) Given the system,

c) Find the eigenvalues and eigenvectors of the A matrix. (You may use the Matlab eig() command to help you).
d) What is the characteristic equation of A? (You may use the Matlab poly() commands to help you). Verify the Cayley-Hamilton Theorem by substituting the matrix A into the characteristic equation.
e) Use your answer to part c) to help you find a similarity transformation which will decouple the system then write the state model for the system in decoupled form.
f) Draw a block diagram for the decoupled system. What are the eigenvalues which are i) stable? ii) controllable? iii) observable?
g) Find a transfer function from your decoupled block diagram. Please check that this is the same transfer function as the original system by using the Matlab ss2tf() command (be sure to cancel out any common factors in the numerator and denominator!)
h) Are the poles of the transfer function equal to the intersection of the controllable eigenvalues with the observable eigenvalues?
2.a) Next, go back to the original system and form the controllability matrix, M=[B AB A2B...An-1B].
b) The rank of a Matrix is the number of linearly independent rows (or columns) of the Matrix. The rank of the controllability matrix, M, happens to be the same as the number of controllable eigenvalues. What is the rank of M (you can use Matlab's rank() command)
c) Does your answer agree with the number of controllable eigenvalues you found in part 1f)?
d) Using the coefficients of the characteristic equation found in 1d), find the equivalent model for the system in phase variable form (i.e., find Apv and Bpv).
e) Verify that Apv has the same characteristic equation as the original A matrix (you can use the poly() command).
f) If the system is completely controllable (i.e., no uncontrollable eigenvalues), we can find a valid similarity transformation, Tpv = M Mpv-1 to transform it into phase variable form by using the relation x= Tpvzpv where Mpv =[Bpv ApvBpv Apv2Bpv ...Apvn-1Bpv]. Find Tpv and verify that
is indeed in phase variable form.
g) Using your model in phase variable form, find a full state feedback control, w = -Kpvzpv = - [kpv0 kpv1 kpv2]zpv such that the closed-loop eigenvalues are {-2 -4 -5}
h) Finally, transform your feedback control back to the original state coordinates by using w = -KpvTpv-1x.
i) Let K= KpvTpv-1. Thus, the feedback control is w=-Kx and the closed-loop state model is
. Complete the following closed-loop vector block illustrating this feedback:

j) Check that your design is correct by finding the eigenvalues of A-BK. What is the settling-time of the closed-loop system