how can calculate the rise time and settling time in simulink model?
이전 댓글 표시
How can calculate the rise time and settling time in simulink model with out m-file? it is useful to find the system response parameter during simulink simulation. it is required for my research work.
kindly,guide me for it.
Thanks
Rakesh Patel
답변 (4개)
Fangjun Jiang
2011년 9월 30일
1 개 추천
What I suggest is to log the data and then run stepinfo(). You can add this one line command to the StopFcn callback of the model so it will be completely automatic.
댓글 수: 3
Asaf
2013년 6월 28일
Can you explain a little bit more? How can I log the data? What is the StopFcn callback?
Thank you!
Kaustubha Govind
2013년 6월 28일
Joshua
2014년 11월 14일
Hi, I have exported the data to Workspace from the scope, but I am unable to proceed with finding the rise time and settling time from there. Can you please guide me with an example? Any help would be greatly appreciated.
durga devi
2015년 8월 12일
>> s=tf('s'); >> sys=(1/(s+1)); >> s = stepinfo(sys,'RiseTimeLimits',[0.05,0.95])
s =
RiseTime: 2.9445
SettlingTime: 3.9124
SettlingMin: 0.9523
SettlingMax: 0.9996
Overshoot: 0
Undershoot: 0
Peak: 0.9996
PeakTime: 7.8163
durga devi
2015년 8월 12일
>> s=tf('s'); >> sys=(1/(s+1)); >> s = stepinfo(sys,'RiseTimeLimits',[0.05,0.95])
s =
RiseTime: 2.9445
SettlingTime: 3.9124
SettlingMin: 0.9523
SettlingMax: 0.9996
Overshoot: 0
Undershoot: 0
Peak: 0.9996
PeakTime: 7.8163
durga devi
2015년 8월 12일
>> s=tf('s'); >> sys=(1/(s+1)); >> s = stepinfo(sys,'RiseTimeLimits',[0.05,0.95])
s =
RiseTime: 2.9445
SettlingTime: 3.9124
SettlingMin: 0.9523
SettlingMax: 0.9996
Overshoot: 0
Undershoot: 0
Peak: 0.9996
PeakTime: 7.8163
카테고리
도움말 센터 및 File Exchange에서 Pulse and Transition Metrics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!