SNOA993A June   2018  – July 2021 LDC2112 , LDC2114 , LDC3114 , LDC3114-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2Scan Rate and Sampling Interval
    1. 2.1 Low Power Mode and Normal Power Mode
    2. 2.2 Button Sequencing and Error Handling
  4. 3Data Polarity and Timeout
    1. 3.1 Button Timeout
  5. 4Internal Algorithms Overview
  6. 5Baseline Tracking
    1. 5.1 Baseline Increment
    2. 5.2 Baseline Tracking Reset
    3. 5.3 Button Actuation Time
    4. 5.4 BTPAUSE
    5. 5.5 Fast Tracking Factor
  7. 6Gain, Hysteresis, and Threshold
    1. 6.1 Threshold and Hysteresis
  8. 7Multi-Button Algorithms
    1. 7.1 Max Win
    2. 7.2 Anti-Common Mode
    3. 7.3 Anti-Twist Factor
    4. 7.4 Anti-Deform Factor
  9. 8Summary
  10. 9Revision History

Max Win

Max-Win is a useful algorithm which can be used when significant positively-correlated mechanical cross-talk is present in the system. This algorithm can be used on any subset of buttons, but is only effective if there are 2 or more enabled channels. This algorithm behaves identically in both Low Power Mode and Normal Power Mode. Note that this algorithm only modifies the assertion of the OUTx pins and the OUTx field; although the baseline tracking reset it performs will affect subsequent samples.

GUID-B4139A4B-58CE-48C3-A7E6-7F66EB40AEED-low.gifFigure 7-1 Max-Win functionality

To use Max-Win, set the desired MAXWINx fields to 1. As this algorithm uses the post-gain value, adjusting the Gainx value affects the performance of this operation. The algorithm compares all enabled buttons with MAXWINx enabled that have net code exceeding the threshold. In the case of an equal net value across 2 or more channels, the lower indexed channel dominates (e.g. channel 0 will suppress channel 1). Any suppressed channels have their baseline tracking value updated to the current setting.

This algorithm can also be used to inhibit up to 3 channels with a reference sensor which has a higher Gain Factorx. By constructing the reference sensor in a manner which it is sensitive to extreme torque or twist events, false button actuations can be suppressed.