필터 지우기
필터 지우기

identifying continuous-time and discrete-time models using ident toolbox

조회 수: 9 (최근 30일)
Mohammad
Mohammad 2017년 4월 18일
댓글: Mohammad 2017년 4월 18일
Hello,
I have some questions regarding system identification toolbox.
I am running a simulink model and collect data with "to workspace" block as my inputs and outputs to be used in ident toolbox.
1- What sample time -1 means for "to workspace" block? If I want to identify a continuous-time model in ident toolbox, should I set that sampling time to -1?
2- If I want to identify a discrete-time model can I set sampling time of those blocks to, say 0.1, and then set the sampling time field in ident toolbox on 1, and choose discrete-time option? Could you please tell me where that disturbance component (signal) is exactly located in the closed loop system?
BTW, if I choose discrete-time option, then the state-space form will be x(t+Ts)=..., if I set Ts=1 is that equal to x[k+1]?
Bests, Mohammad

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2017년 4월 18일
Hi there,
Please take a look at this example , I think it should help clarify things.
Sample time of -1 means the sample time will be inherited from the upstream part of the model. For purposes of system identification data has to be sample uniformly, so instead of -1 specify a small sample time you want to sample simulation data with. Then follow the workflow described in the model for estimating either discrete or continuous model.
If you estimate discrete transfer function or state space system the equation will be something like x(k+1)= function (x(k), u(k). Here k+1 refers to the next computation after k. Whether sampling time is 1 sec, 0.1 sec or 0.01 sec, the discrete time system is always described by the equation I mentioned.
Hope this helps.
  댓글 수: 1
Mohammad
Mohammad 2017년 4월 18일
Hi Arkadiy,
Thanks for your answer.
I think there is still one thing unclear for me:
How can I estimate a continuous-time state-space model for my data? I am pretty sure that I have to choose "continuous-time" option in ident toolbox. But the thing is that should I first reset the sample time of "to workspace" blocks from, say 0.1 sec, to -1?
Bests

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

카테고리

Help CenterFile Exchange에서 State-Space Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by