Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How can I have a timed (15 minutes) output signal based on external trigger? I want to generate an output HIGH signal for 15 minutes based on a event detection impulse signal.

1 visualización (últimos 30 días)
I want to generate an output signal for 15 minutes based on a event detection impulse signal. For example, if a event is detected at t=10 mins, then I want to have a HIGH output from t=10 mins to t=25 mins. I am not able to find a suitable block to hold the signal for 15 mins. Thanks a lot in advance!

Respuestas (1)

Sergey Kasyanov
Sergey Kasyanov el 28 de Abr. de 2018
Editada: Sergey Kasyanov el 28 de Abr. de 2018
Hello,
This is the model with standart Simulink blocks. Output from Switch1 is the desired signal.
The Compare To Constant1 block defines duration of the signal in seconds. The Constant2 block defines value of the signal.

Community Treasure Hunt

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

Start Hunting!

Translated by