How to create an input that is a function of State
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Azzi Abdelmalek
2012-10-23
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 个评论
Azzi Abdelmalek
2012-10-24
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).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Control System Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!