Step response due to input changes

3 次查看(过去 30 天)
Shaun Struwig
Shaun Struwig 2018-9-1
编辑: Akbar 2018-9-17
I would like to use the Matlab control systems library to compare an experimentally derived transfer function model for a practical system. The experimental step response is shown below:
The system takes a duty cycle percentage as input and has RPM of a motor as output. In the plot above the two jumps in the response are to an input of 10 and 20 respectively. I have obtained the transfer function experimentally and managed to plot the response to an input of 10 in Matlab as shown below:
What I would like to do is to create a similar plot in matlab to my experimental plot so I can compare how close the model approximates the realization. How can I use step() to input 10 initially and then to step to 20 after about 6 seconds.

回答(1 个)

Akbar
Akbar 2018-9-17
编辑:Akbar 2018-9-17
Maybe try in Simulink, using the Signal builder block you can create Input as you want.

类别

Help CenterFile Exchange 中查找有关 Digital Filter Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by