How to create an input that is a function of State

2 views (last 30 days)
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

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 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 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 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).
Shilp Dixit
Shilp Dixit on 24 Oct 2012
Hi,
I think I got all my doubts cleared. Will work on creating the control algorithm. Will approach if I have any more doubts. I have had no formal education in the field of dynamics and control and hence the numerous doubts.
Thanks for your patience.
Regards
Shilp

Sign in to comment.

More Answers (0)

Categories

Find more on General Physics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!