State Space with Disturbance

313 ビュー (過去 30 日間)
Azaldo Machava
Azaldo Machava 2021 年 1 月 21 日
コメント済み: Paul 2023 年 4 月 6 日
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???

回答 (1 件)

Paul
Paul 2021 年 1 月 21 日
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))])
  23 件のコメント
jana nassereddine
jana nassereddine 2023 年 4 月 6 日
but in this way the disturbances is considered as a manipulated variable, how can we add the disturbance as an input to model predictive control, and with matrix related to the state of the plant model?
Paul
Paul 2023 年 4 月 6 日
Hi jana,
The state space model can have any number of inputs as required to represent the dyanmics of the system under consideration. Some of those inputs will be control inputs, which is what I think you mean by "manipuated variable," that we can influence with compensation, and other inputs will be disturbances that we have no control over. In the Control System Toolbox representations, both types of inputs are lumped together in a single input vector in the model.
Can you show a simple example for what you're concerned about with model predictive control?

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

Community Treasure Hunt

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

Start Hunting!

Translated by