How to take feedback from a state for a MIMO design

1 回表示 (過去 30 日間)
Shilp Dixit
Shilp Dixit 2012 年 10 月 22 日
コメント済み: Mr. NailGuy 2017 年 10 月 28 日
Hi,
How can i create a control system model with feedback taken from state instead of output i.e. State Feedback?
I have 4 states, 2 inputs and 2 outputs.
  • Feedback from state 2,x(2) and state 4, x(4) to be used to create input function for u(2) = fs. u(1) does not depend on state.
  • I have another concern. While creating the state space model i had my input vector as a 2 X N matrix. However while using a lsim function I had to provide input in the form N X 2. Is there something deeply wrong with my approach?...
Code and document in the links below.
Thanks for all the help...
Regards
Shilp

採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2012 年 10 月 22 日
You can add 2 more rows to your C and D matrices:
for C: [0 1 0 0;
0 0 0 1];
for D: [0 0;
0 0];
This would give you 4 outputs and 2 inputs, with outputs 3 and 4 being your states 2 and 4.
Arkadiy
  4 件のコメント
Shilp Dixit
Shilp Dixit 2012 年 10 月 23 日
Thank you very much for the help.
I am still a bit confused about the explanation of matrix C and D. 1. Do I create another pseudo system with states as input and my dependent input as the output.
OR
1. Modify my current matrix C and D to accommodate the control signal.
How can I achieve the same result by working on transfer functions?
Mr. NailGuy
Mr. NailGuy 2017 年 10 月 28 日
If I want to get the step response of the output of the system instead of the state variables and plot it using Simulink, how can I get it? Same as this problem posted, I was able to feedback the state to the system but when I check the output of the system it shows the graph of my state instead of my output. Can you help me on this?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by