Not sensible to short time FALSE
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I've a logic output that for a few seconds go to zero. How can I make it to be not sensible to these intervals if they are shorter than an specific constant by simulink?
1 个评论
Kaustubha Govind
2011-6-16
Could you please clarify this question? Are you saying that you have this logical signal is connected to blocks, and that you don't want these blocks to be sensitive to some variations in your signal?
回答(1 个)
Doug Eastman
2011-6-17
It sounds like you are trying to create debounce logic where you only want to go low if the input is held low for a certain period of time.
Another approach might be to add a delay to the input and sum the current input and the delayed input and put the sum through a relay block. That way it will only go high when both are high and only go low when both are low.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!