How to create an input that is a function of State
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a mechanical system with:
2 Inputs (i, fs)
4 states(x1, x2, x3, x4)
2 outputs(y1=x1 and y2=x3)
I want the input 'fs' as a function of two states x2 and x4. How can i do that?...
Does this problem require state feedback and how can I use it for a practical problem.
Thanks
Shilp
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 23 Oct 2012
In your SS block, initialy c=[1 0 0 0;0 0 1 0] and d=[0 0;0 0]
If you want to use x2 and x4, set c=eye(4) and d=zeros(4,2), you will obtain 4 output in this order x1, x2, x3 and x4. use x1 and x3 as output, and do whatever you want with x2 and x4
9 commentaires
Azzi Abdelmalek
le 24 Oct 2012
Shilp, Now you are asking another question. I don't know which method you are using to control your system. In real application, sometimes we have'nt acces to states measurment, the states x2 and x4 are estimated (Kalman filter for example).
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Control System Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!