How to create an input that is a function of State
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 23 de Oct. de 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 comentarios
Azzi Abdelmalek
el 24 de Oct. de 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).
Más respuestas (0)
Ver también
Categorías
Más información sobre General Physics en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!