Effect of "Simulation stop time" to transfer function
古いコメントを表示
Hello everybody, Wish everyone a good day! I had a problem like this: -With a transfer fucntion of system. When I simulated with simulink, I had change "Simulation stop time" parameter. Then, I made a graph and get two different with the following parameters 1000s, 1300s. Transfer function is a FOPDT model (first-order plus deat time) and an integral stitch. So, Who can indicate to me about it? <<

Look, Graph at stop time great.
1 件のコメント
Christiaan
2015 年 3 月 10 日
Dear Nguyen,
Could you send a file of your Simulink model? What could be the case, is that your scope parameters (double click on scope -> parameters) either have the restriction that the 'time range' (in the tab 'general') is not long enough. Also it could be that the 'Limit data points to last' are not sufficient to plot the total line. (in the tab 'history')
Good Luck, Christiaan
回答 (1 件)
Sebastian Castro
2015 年 3 月 11 日
0 投票
You likely have your solver's time step specified as "auto". By default, Simulink will pick 1/50 of the total simulation time... so if you double the stop time, you also double the time step.
Go to Simulation > Model Configuration Parameters (Ctrl+E), and in the Solver pane look at your step size settings. Try changing this to a hard-coded value (like 0.1) or a MATLAB variable (Ts = 0.1) and try again.
Does this make your results consistent?
- Sebastian
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!