フィルターのクリア

Initial condition of output with simulink

1 回表示 (過去 30 日間)
Rick
Rick 2015 年 9 月 27 日
編集済み: Star Strider 2015 年 9 月 29 日
Hello,
I want to model this system as if it was running at steady state and then there is a step change. The value CB has a steady state value that it is running at, but I don't know how to get this. Right now when I run it, CB starts at zero and then responds to the step change, but I want it to start at 1.117. I tried using an IC block but I can't figure out where the two arrows would go if this is the correct block to use. Any ideas? Thanks

採用された回答

Star Strider
Star Strider 2015 年 9 月 27 日
That may only be an option with the Control Systems Toolbox, and for state-space systems. From the documentation on LTI Systems:
  • Initial states (state-space only)
  • If your model is in state-space format, you can specify the initial states in vector format. The default is zero for all states.
So it’s not an option for a transfer function.
  4 件のコメント
Rick
Rick 2015 年 9 月 29 日
Thanks, I thought about making a constant block set equal to the steady state value. What would be wrong with doing that?
Star Strider
Star Strider 2015 年 9 月 29 日
編集済み: Star Strider 2015 年 9 月 29 日
My pleasure.
With a transfer function, you’re dealing with Laplace transformed ODEs, and initial conditions of ODEs work differently with them. So I’m not sure that would work.
If you have the Signal Processing Toolbox, use the tf2ss function to convert it to state space. (Or you can do the calculation on paper and with MATLAB, since it’s not a difficult problem, if you have access to a good linear control textbook such as Chen, ISBN 0-19-511777-8.)

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

その他の回答 (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