Dynamic Threshold Adjustment

This parameter enables the dynamic threshold adjustment algorithm. The algorithm calculates threshold adjustments based on the amount of noise seen in a history of measurements. It relies on a filtered relative noise value as an input, and it calculates the corresponding threshold adjustment to be applied for proximity and touch detection.

Implementation Notes

The threshold adjustment is calculated based on a polynomial model as shown below, where ‘x’ is the relative noise value and ‘y’ is the corresponding relative threshold adjustment. The polynomial allows for greater adjustment at higher noise levels.

Affected Software Parameters
Selecting this option sets the CAPT_DYNAMIC_THRESHOLD_ADJUSTMENT compile-time noise immunity definition in the CAPT_UserConfig.h file to true when source code is generated.