identifying continuous-time and discrete-time models using ident toolbox
8 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Arkadiy Turevskiy
on 18 Apr 2017
Hi there,
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.
See Also
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!