All trademarks are the property of their respective owners.
The Texas Instruments LDC211x and LDC3114 devices can monitor changes in a sensor resonant frequency to determine whether a stimuli corresponds to a user interaction such as a button press. Refer to the Inductive Touch System Design Guide for HMI Button Applications application report for details on how to construct a mechanical system suitable for inductive sensing button applications, sensor design guidance, and an overview of device configuration. The LDC211x and LDC3114 use several internal algorithms to compensate for environmental shifts, determine whether the sensor signal change corresponds to a button press, and also to correct for mechanical cross-talk between multiple buttons. This document details the operation and configuration of the algorithms.
Once the LDC211x or LDC3114 powers on, it continuously samples the enabled channels and returns to as shown in Figure 2-1. The active channels, sample time interval, and button scan rate are all configurable parameters. Refer to Table 2-1 for a listing of the device parameters that control the Scan Rate and Sample Interval. A higher Scan Rate produces a more responsive interface, but generally at the cost of higher average supply current consumption. Note that the scan rate can vary by up to ±30% from the nominal value across devices.
Device Parameter | Configuration Effect | Details |
---|---|---|
SENCYCx | Button Sample Interval for channel x | Each channel has dedicated setting. Sensor frequency is used to determine proper setting. |
CNTSCx | Button Sample Interval for channel x | Each channel has dedicated setting. Sensor frequency, LCDIV, and SENCYCx is used to determine proper setting |
LCDIV | Button Sample interval for all channels | Common setting for all channels |
LPWRB pin | Button Scan Interval | When set High, device samples based on NPSR value. When set Low, device sample based on LPSR value. |
NPSR | Button Scan Interval | When LPWRB pin is High, this field sets the device scan rate from 10 sps to 80 sps. |
LPSR | Button Scan Interval | When LPWRB pin is Low, this field sets the device scan rate from 0.625 sps to 5 sps. |
The Button Sample Interval is a function of the SENCYCx, LCDIV, and the Sensor Oscillation Frequency. The sample time, tSAMPLE is set by:
tSAMPLE = 128 × (SENCYCx+1)×2LCDIV ÷ ƒSENSORx
The recommended sample interval is 1 ms, as this provides a good balance on noise vs. supply current. Shorter sample intervals may have reduced SNR. Variations in sensor frequency greater than 2.5% may need to use different settings for SENCYCx. If the sensor frequency increases significantly and the SENCYCx & LCDIV settings are not changed, then a reduction in sensitivity can occur. Alternatively, if the sensor frequency decreases by ~30% from the configured frequency, it is possible for internal counters in the device to over-range, resulting in improper operation.