State-space with added noise?

조회 수: 10 (최근 30일)
Joonas
Joonas 2015년 10월 25일
댓글: Joonas 2015년 10월 26일
Hi,
I'd like to simulate a state-space model where I add some process noise (to states) and measurement noise (to measurements). How do I do this in Simulink?
The system mathematically would be:
x_derivative = Ax+Bu+v (v is added noise to states)
y = Cx + w (w is added noise to measurements).
How do I add the noise vectors v and w to the basic state-space block found in Simulink library?
Or is the only way to calculate the state-space system inside a Matlab function block and add the noise there?
  댓글 수: 4
Stefan Raab
Stefan Raab 2015년 10월 26일
Hello Joonas,
1) Yes, you could add the measurement noise simply to the output of the statespace block i suppose and I also think that there is no opportunity to add the process noise directly in the state-space block.
2) You found the right link. I would model the system like this. But if you have the equation x_derivative = Ax+Bu+v, you have to add the noise to x_derivative, not to x.
Kind regards, Stefan
Joonas
Joonas 2015년 10월 26일
Hi Stefan,
thanks for reminding me for this. Exactly, the noise is added to the x_derivative as the state-space representation says. Good, I think now that I can handle this correctly. Thanks a lot for your help!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Additional Math and Discrete에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by