How does the leaky bucket work?

A Leaky Bucket is simply an up-down counter for debouncing an input or a fault condition.

Leaky Bucket in OpenECU

The OpenECU blockset contains a standalone Fault check block that can be used for debouncing faults or discrete inputs. The same leaky bucket algorithm is also used in Processed Analog Input block for built-in fault detection on analog inputs. This block uses the leaky bucket to detect out of range faults and slew rate faults on the input signal.

Tips for using this block:

For a description of the leaky bucket analogy, see Wikipedia's Leaky Bucket Article.

      Copyright © 2016 Pi Innovo, All rights reserved