observer, ss seems not to work

Hi.
I have to build a observer with the following form:
x'= A^*x^ + b*u + b^*cT*x
the command ss seems not to work, can you suggest me another command?

1 件のコメント

Andrew Newell
Andrew Newell 2011 年 4 月 6 日
Why do you say it seems not to work? What are you expecting to see and what are you getting?

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

 採用された回答

Paulo Silva
Paulo Silva 2011 年 4 月 7 日

0 投票

ss Specifies state-space models or convert LTI models to state space, there's nothing saying that it creates observers, you got the observer formula already so you just need the values for those variables (arrays) and get x' from them, if you are using simulink you should use a matlab function block and insert that expression in a function (m file).
Here's one example of one observer (corrector in this case) function.
function estim = obs_cor(in)
global PHI GAMMA C x_ob Kzec ;
uk = in(1); %
yk = in(2); %
x_ob = PHI * x_ob + GAMMA * uk + Kzec * (yk - C * (PHI * x_ob + GAMMA * uk));
estim = x_ob;
Please read the book Computer-Controlled Systems by Astrom

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by