Step Response Characteristics in Simulink

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 5K views
fonz
Messages
151
Reaction score
5
I have a system that I have built in Simulink with a step input and scope output. I would like to measure the peak overshoot, settling time etc. In Matlab this can be done using the 'step' command and generating the characteristics from the Figure window. Is there a way of getting the same information from Simulink?

Thanks
 
Physics news on Phys.org
Yes. In very complicated systems, a simulated time response to a step input may be the only practical approach. In Simulink, you can force a step function into the model and see the response. Simulink has a Step block. (and a more general Signal Builder block.)
 
FactChecker said:
Yes. In very complicated systems, a simulated time response to a step input may be the only practical approach. In Simulink, you can force a step function into the model and see the response. Simulink has a Step block. (and a more general Signal Builder block.)

Thanks. I have found the step function in Simulink and plotted my step response on a scope. What I can't find is a way to get Simulink to measure the peak overshoot, settling time, rise time etc. Is there a way to do this in Simulink?
 
fonz said:
Thanks. I have found the step function in Simulink and plotted my step response on a scope. What I can't find is a way to get Simulink to measure the peak overshoot, settling time, rise time etc. Is there a way to do this in Simulink?
I have only gotten those by examining the plots. I am not familiar with any automated tool to detect those, but they should be easy enough to implement, so I wouldn't be surprised if they existed somewhere.

You can probably build some switching networks that would detect them. Save the maximum output signal to date. That should give you the peak overshoot. The last time outside of the tolerance should give you the settling time. The first time the output reaches a value should give you the rise time.