Simulink debounce example with simple blocks

25 views (last 30 days)
I'm trying to implement the debounce example in simulink without using stateflow and just using simple simulink blocks. I can detect if the noisy signal retains its positive/negative value for 0.1 secs using integrators as counters (as in the picture) But i am struggling with detecting, if the signal fluctuates around 0 for 0.3s. How can i achieve this?
Thank you!
  1 Comment
HANDAN CEVIK
HANDAN CEVIK on 11 Dec 2018
Hi, did you find any answer for this question. This is what i need exactly.

Sign in to comment.

Answers (0)

Categories

Find more on Decision Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!