
30
9614A–AT42–08/10
AT42QT2161
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 raising the reference level relatively quickly (PDRIFT).
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 PDRIFT or NDRIFT 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 NDRIFT: 20 (3.2s/reference level)
Default PDRIFT: 5 (0.8s/reference level)
6.14
Address 17: Detect Integrator
NDIL is used to provide signal filtering.
To suppress false detections caused by spurious events like electrical noise, the device
incorporates a 'detection integrator' or DI counter mechanism. A per-key counter is incremented
each time the key has exceeded its threshold and stayed there for a number of acquisitions in
succession, without going below the threshold level. When this counter reaches a preset limit
the key is finally declared to be touched.
If on any acquisition the signal is not seen to exceed the threshold level, the counter is cleared
and the process has to start from the beginning.
The QT2161 has a built in minimum of 1 DI counts in addition to the NDIL value. Therefore, if
setting a NDIL value of 3, the actual number of consecutive acquisitions is 4.
Available NDIL values are from 1 to 31.
Default: 3 (4 DI value)
6.15
Address 18: Negative Recal Delay
If an object unintentionally contacts a key resulting in a detection for a prolonged interval it is
usually desirable to recalibrate the key in order to restore its function, perhaps after a time delay
of some seconds.
Table 6-14.
Detect Integrator
Address
b7b6b5
b4b3b2b1
b0
17
000
NDIL
Table 6-15.
Negative Recal Delay
Address
b7b6b5
b4b3b2b1
b0
18
NRD