Non zero initial value second order system simulink

6 次查看(过去 30 天)
Hi all,
I am simulating a second order system with the transfer function component in simulink.
This component is fed a step signal, with initial value one and step amplitude -1. That is to say the step decreases from 1 to 0 instead of the usual 0 to 1.
The output I get from the transfer function oscillates twice : once at initial time and once at the stepping time.
The second oscillation is exactly what I want. But I don't understand the presence of the first one. It's as if at the initial time, the source signal is not fixed at 1 but stepping from zero to 1 instantly.
How can I force that input source signal to have an actual initial value of one ?
Thank you for your answers.

回答(1 个)

Mandar Patwardhan
Mandar Patwardhan 2017-6-27
Go to the configuration parameters and consider reducing the step size to a smaller value and check if you still see the initial value stepping from zero to 1 instantly.

类别

Help CenterFile Exchange 中查找有关 Model Verification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by