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개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by