Solving Eigenvalues of a system time-varying which is 5x5 matrix

14 views (last 30 days)
I am trying to solve this system by using a desired eigenvalues to be equated to the det(SI-A) ,so every thing in that matrix is know except Lambda's , I decoupled the problem by making eta_tilde=0 and then e =0 and I managed to obtain L and it was easier to get L in that way ,but the problem now is to obtain lambda that makes this matrix aysmptoically stable , SINCE it is linear time-varying w.r.t the error so according to lypunov it is better to check the stablity of (A^T+A) to place the eigenvalues to zero, it is complex to solve manually ,so I used the matlab to get the det(SI-A) symbolically ,but how to solve for lambda's.
  13 Comments
Sam Chak
Sam Chak on 31 Jul 2024
Hi @Umar, you welcomed to provide your approach. It's a learning experience for everyone.
Since @Ahmed Salem know that the regressor matrix is bounded, certain range of values of can be selected to correspond with the maximum and minimum values of both and . No need to tediously evaluate for each time step t.
Ahmed Salem
Ahmed Salem on 31 Jul 2024
Dear @Sam Chak @Umar @Walter Roberson @Aquatris @Torsten I listened to your advices and an I managed to get solve for theta's in which the elements will be maximum or minimum rather than solving for eact time step ,if I used lambda's to be lambda=diag(2,2) and L=diag(5,2,3) ,according to the script which I will atach here system will be stable,so error converges to zero ,but when I TRY TO use these values in the simulink to simulate my model the error for the states goes to zero but for the estimated parameters not ,so why is that ?? thank you

Sign in to comment.

Accepted Answer

Sam Chak
Sam Chak on 31 Jul 2024
Edited: Sam Chak on 31 Jul 2024
The following is not a full solution, but it should provide an idea of how to evaluate the state matrix A at each time step t.
The idea is to obtain the characteristic polynomial of the 5-by-5 matrix A, and then from the coefficients of the characteristic polynomial, the tabular method may be applied to find λ (in symbolic form) based on the Routh–Hurwitz criterion.
However, it should be noted that the stability of a linear parameter-varying system of the form is not absolutely guaranteed, even if the system contains all eigenvalues with negative real parts at each time step t as t approaches .
If the 2-by-3 matrix is a relatively slowly time-varying, bounded matrix in the state matrix , then the system may be stable.
syms lambda1 lambda2 lambda3 lambda4 lambda5
syms phi [2 3]
L1 = diag([lambda1 lambda2 lambda3]);
L2 = diag([lambda4 lambda5]);
Z = zeros(2);
%% State matrix
A = [-L1, phi.'
L2*phi, Z]
A = 
%% Coefficients of the Characteristic polynomial
CP = charpoly(A)
CP = 
  7 Comments
Ahmed Salem
Ahmed Salem on 1 Aug 2024
Hi @Umar Thank you for your feedback,yes the system is stable and Iam totally convinced ,but may be because iam trying to validate my observer with an experimental data which was taken till t=38 sec,so according to the plots that @Sam Chak provided using the intial conditions so it converges after nearly 150 sec, so I need to change the desired poles I used to get the gains for the states of the error ,so that I have to choose faster poles to speed up the convergenece of parameters error to zero ,over all I would like to thank you all.
Sam Chak
Sam Chak on 1 Aug 2024
Regarding observer design, it is generally necessary to ensure that the dynamics of the observer are 5 to 10 times faster than the system itself. However, in some nonlinear systems, a very fast observer can also destabilize the control structure. Therefore, it is important to find the appropriate balance and sweet spot for the observer dynamics.
If you find the proposed solution helpful, please consider clicking 'Accept' ✔ on the answer and voting 👍 for it. Your support is greatly appreciated!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!