State Space with Disturbance

97 ビュー (過去 30 日間)
Azaldo Machava
Azaldo Machava 2021 年 1 月 21 日
編集済み: Paul 2025 年 4 月 28 日
I have this system:
Xdot = AX +Bu +Fd,
where A,B and F are the system, input distribution and disturbance distribution matrices respectively and X, U and d are the state, control and disturbance vectors respectively.
i have all the matrices data. i want to know how to use matlab to plot the state variables for a step disturbance.
where i am finding problem is because the standard form of state space in matlab is :Xdot = AX +Bu without the distubance vector.
so how do i input my system in Matlab???

採用された回答

Paul
Paul 2021 年 1 月 21 日
編集済み: Paul 2024 年 12 月 15 日
Combine d and u into a single input vector:
Xdot = A*X + [B F] * [u;d]
y = C*X + [D 0]*[u;d] % assuming the disurbance doesn't feed directly into output
sys = ss(A,[B F],C,[D zeros(size(C,1),size(F,2))])
  24 件のコメント
Tomo
Tomo 2025 年 4 月 27 日
編集済み: Tomo 2025 年 4 月 28 日
Hello @Paul,
If you model it this way like you said,
Xdot = A*X + [B F] * [u;d]
Does that mean to determine reachability we would compute W = ( B_{new}, AB_{new},...) where B_{new}=[B F].
Thanks.
Paul
Paul 2025 年 4 月 27 日
編集済み: Paul 2025 年 4 月 28 日
If reachability is to be assessed based only on the control input to the system (as is typical), then the reachability matrix would be computed from A and B.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by