AT42QT2120 Datasheet

Table Of Contents
23
9634E–AT42–06/12
AT42QT2120
Figure 5-1. Thresholds and Away From Touch Drift
The device drift compensates using a slew-rate limited change to the reference level; the
threshold and hysteresis values are slaved to this reference.
When a finger is sensed, the signal increases due to capacitance being added to Cx. An
isolated, untouched foreign object (a coin, or a water film) will cause the signal to drop very
slightly due to an enhancement of coupling.
Once a finger is sensed, the drift compensation mechanism ceases since the signal is
legitimately detecting an object. Drift compensation only works when the signal in question has
not crossed the negative threshold level.
The drift compensation mechanism can be asymmetric; the drift-compensation can be made to
occur in one direction faster than it does in the other simply by changing the TTD and ATD Setup
parameters. This is a global configuration.
Specifically, drift compensation should be set to compensate faster for decreasing signals than
for increasing signals. Increasing signals should not be compensated quickly, since an
approaching finger could be compensated for partially or entirely before even touching the
touchpad (Toward Touch Drift (TTD)).
However, an obstruction over the sense pad, for which the sensor has already made full
allowance, could suddenly be removed leaving the sensor with an artificially suppressed
reference level and thus become insensitive to touch. In this latter case, the sensor should
compensate for the object's removal by lowering the reference level relatively quickly (Away
from Touch Drift (ATD)).
Drift compensation and the detection time-outs work together to provide for robust, adaptive
sensing. The time-outs provide abrupt changes in reference calibration depending on the
duration of the signal 'event'.
If ATD or TTD is set to 0 then the drift compensation in the respective direction is disabled.
Note: it is recommended that the drift compensation rate be more than four times the LP mode
period. This is to prevent undersampling, which decreases the algorithm's efficiency.
Default TTD: 20 (3.2 s / reference level)
Default ATD: 5 (0.8 s / reference level)
Threshold
Signal
Hysteresis
Reference
Output