I'm trying to create a demonstration of the Bode stability "thought experiment" using Simulink. What I'd like to do is have an input to an open-loop feedback control system be a sine wave, then some time later have that input changed to a constant value and the loop closed.
Any thoughts on how to do this?

 Akzeptierte Antwort

Swarooph
Swarooph am 17 Nov. 2011

0 Stimmen

Have you thought about using something like a switch? Have a look at this demo 'sldemo_zeroxing' that shows input changing as a function of simulation time. You could use a similar switch to make the open loop/closed loop connections.
Another approach could be to use an enabled subsystem:

Weitere Antworten (1)

Robert
Robert am 18 Nov. 2011

0 Stimmen

Thanks for your suggestion. Adding switches allowed me to do exactly what I wanted. Thanks!

1 Kommentar

maamouri maamouri
maamouri maamouri am 3 Sep. 2015
Bearbeitet: maamouri maamouri am 3 Sep. 2015
please can you help me how to analyse the stability of a model using simulink ( wich block you used ???)
thank you

Melden Sie sich an, um zu kommentieren.

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by