This version (28 Feb 2020 15:25) was approved by Joshua Berlin.The Previously approved version (28 Feb 2020 15:15) is available.Diff

Max and Hold

Click here to return to the BasicDSP page

The Max and Hold algorithm monitors one (or more) input signals and routes the maximum value to the output.

While the 'Hold' pin is held high (1), the output tracks and holds the maximum input value across all of the algorithm inputs. The maximum value is maintained and updated until the 'Hold' pin is toggled low.

While the 'Hold' pin is held low (0), the previous maximum value is forgotten. If there are multiple input signals, the maximum input value is passed through; just like the standard 'Max' algorithm. If there is only one input, it passes through to the output unaffected.

When the 'Hold' pin is brought high again, the algorithm begins tracking and holding the new maximum value of the input signals. There is no memory between consecutive 'Hold' sequences.

resources/tools-software/sigmastudio/toolbox/basicdsp/maxandhold.txt · Last modified: 28 Feb 2020 15:25 by Joshua Berlin