Use of monostable rising and reset block together

3 ビュー (過去 30 日間)
Louis THOMAS
Louis THOMAS 2020 年 9 月 27 日
コメント済み: Louis THOMAS 2020 年 10 月 3 日
Hello,
I use a monostable falling bloc that holds the output value to TRUE when it detects a falling edge from one to 0.
It holds this value for a specified time of 1000seconds
Let’s say it detects a falling edge at 100s It holds the value true from 100 to 1000 seconds.
  • * But I also want when needed to be able to reset the bloc « monostable falling »** : it means that it will re-evaluate/detect if there is a falling edge. For example the output value of the bloc is true from 100 to 1000s but at 600 s it becomes false again (because of the RESET) and the bloc starts RE detecting if there is a falling edge
Thank you for your help ! :)

採用された回答

Nagasai Bharat
Nagasai Bharat 2020 年 10 月 1 日
Hi,
From my understanding you are trying to reset the monostable rising block to False/0 whenever an external trigger is provided.
To solve your question, there is subsystem in Simulink named Resettable Subsystem in which you could place your monostable block and configure the reset block as per your requirement.
  1 件のコメント
Louis THOMAS
Louis THOMAS 2020 年 10 月 3 日
It works indeed thank you !

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by