MATLAB Answers

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.

2 ビュー (過去 30 日間)
Gaurav Chingale
Gaurav Chingale 2018 年 4 月 28 日
編集済み: Sergey Kasyanov 2018 年 4 月 28 日
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!

  0 件のコメント

サインインしてコメントする。

回答 (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.

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by