Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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 (최근 30일)
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!

답변 (1개)

Sergey Kasyanov
Sergey Kasyanov 2018년 4월 28일
편집: Sergey Kasyanov 2018년 4월 28일
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