5 Setups
The devices calibrate and process all signals using a
number of algorithms specifically designed to provide for
high survivability in the face of adverse environmental
challenges. They provide a large number of processing
options which can be user-selected to implement very
flexible, robust keypanel solutions.
User-defined Setups are employed to alter these
algorithms to suit each application. These setups are
loaded into the device in a block load over one of the serial
interfaces. The Setups are stored in an onboard eeprom
array. After a block load, the device should be reset to
allow the new Setups block to be shadowed in internal
Flash ROM and to allow all the new parameters to take
effect.
Refer to Section 6.2, page 17 for a table of all Setups.
Block length issues: The setups block is 247 bytes long
to accommodate 48 keys. This can be a burden on smaller
host controllers with limited memory. In larger quantities
the devices can be procured with the setups block
preprogrammed from Quantum. If the application only
requires a small number of keys (such as 16) then the
setups table can be compressed in the host by filling large
stretches of the Setups area with nulls.
Many setups employ lookup-table value translation. The
Setups Block Summary on page 19 shows all translation
values.
Default Values shown are factory defaults.
5.1 Negative Threshold - NTHR
The negative threshold value is established relative to a
key’s signal reference value. The threshold is used to
determine key touch when crossed by a negative-going
signal swing after having been filtered by the detection
integrator. Larger absolute values of threshold desensitize
keys since the signal must travel farther in order to cross
the threshold level. Conversely, lower thresholds make
keys more sensitive.
As Cx and Cs drift, the reference point drift-compensates
for these changes at a user-settable rate; the threshold
level is recomputed whenever the reference point moves,
and thus it also is drift compensated.
The amount of NTHR required depends on the amount of
signal swing that occurs when a key is touched. Thicker
panels or smaller key geometries reduce ‘key gain’, ie
signal swing from touch, thus requiring smaller NTHR
values to detect touch.
The negative threshold is programmed on a
per-key basis using the Setup process. See
table, page 19.
Typical values: 3 to 8
(7 to 12 counts of threshold; 4 is internally
added to NTHR to generate the threshold).
Default value: 6
(10 counts of threshold)
5.2 Positive Threshold - PTHR
The positive threshold is used to provide a
mechanism for recalibration of the reference
point when a key's signal moves abruptly to the
positive. This condition is not normal, and usually occurs
only after a recalibration when an object is touching the
key and is subsequently removed. The desire is normally
to recover from these events quickly.
Positive threshold levels are programmed in using the
Setup process on a per-key basis.
Typical values: 1 to 4
(5 to 8 counts of threshold; 4 is internally added to
PTHR to generate the threshold)
Default value: 2
(6 counts of threshold)
5.3 Drift Compensation - NDRIFT, PDRIFT
Signals can drift because of changes in Cx and Cs over
time and temperature. It is crucial that such drift be
compensated, else false detections and sensitivity shifts
can occur.
Drift compensation (Figure 5-1) is performed by making the
reference level track the raw signal at a slow rate, but only
while there is no detection in effect. The rate of adjustment
must be performed slowly, otherwise legitimate detections
could be ignored. The devices drift compensate 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 falls since the human
body acts to absorb charge from the cross-coupling
between X and Y lines. An isolated, untouched foreign
object (a coin, or a water film) will cause the signal to rise
very slightly due to an enhancement of coupling. This is
contrary to the way most capacitive sensors operate.
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 made
asymmetric if desired; the drift-compensation can be made
to occur in one direction faster than it does in the other
simply by changing the NDRIFT and PDRIFT Setups
parameters. This can be done on a per-key basis.
Specifically, drift compensation should be set to
compensate faster for increasing signals than for
decreasing signals. Decreasing signals should not be
compensated quickly, since an approaching finger could
be compensated for partially or entirely before even
touching the touch pad. However, an obstruction over the
lQ
13 QT60486-AS 0.07/1103
Advanced information; subject to change
Figure 5-1 Thresholds and Drift Compensation
Threshold
Signal
Hysteresis
Reference
Output
sense pad, for which the sensor has already made full
allowance for, 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.
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'.
NDRIFT Typical values: 9 to 11
(2 to 3.3 seconds per count of drift compensation)
NDRIFT Default value: 10
(2.5s / count of drift compensation)
PDRIFT Typical values: 3 to 5
(0.4 to 0.8 seconds per count of drift compensation;
translation via LUT, page 19)
PDRIFT Default value: 4
(0.6s / count of drift compensation)
5.4 Detect Integrators - NDIL, FDIL
To suppress false detections caused by spurious events
like electrical noise, the device incorporates a 'detection
integrator' or DI counter mechanism that acts to confirm a
detection by consensus (all detections in sequence must
agree). The DI mechanism counts sequential detections of
a key that appears to be touched, after each burst for the
key. For a key to be declared touched, the DI mechanism
must count to completion without even one detection
failure.
The DI mechanism uses two counters. The first is the ‘fast
DI’ counter FDIL. When a key’s signal is first noted to be
below the negative threshold, the key enters ‘fast burst’
mode. In this mode the burst is rapidly repeated for up to
the specified limit count of the fast DI counter. Each key
has its own counter and its own specified fast-DI limit
(FDIL), which can range from 1 to 15. When fast-burst is
entered the QT device locks onto the key and repeats the
acquire burst until the fast-DI counter reaches FDIL, or, the
detection fails beforehand. After this the device resumes
normal keyscanning and goes on to the next key.
The ‘Normal DI’ counter counts the number of times the
fast-DI counter reached its FDIL value. The Normal DI
counter can only increment once per complete scan of all
keys. Only when the Normal DI counter reaches NDIL does
the key become formally ‘active’.
The net effect of this is that the sensor can rapidly lock
onto and confirm a detection with many confirmations,
while still scanning other keys. The ratio of ‘fast’ to ‘normal’
counts is completely user-settable via the Setups process.
The total number of required confirmations is equal to FDIL
times NDIL.
If FDIL = 5 and NDIL = 2, the total detection confirmations
required is 10, even though the device only scanned
through all keys only twice.
The DI is extremely effective at reducing false detections at
the expense of slower reaction times. In some applications
a slow reaction time is desirable; the DI can be used to
intentionally slow down touch response in order to require
the user to touch longer to operate the key.
If FDIL = 1, the device functions conventionally; each
channel acquires only once in rotation, and the normal
detect integrator counter (NDIL) operates to confirm a
detection. Fast-DI is in essence not operational.
If FDIL m 2, then the fast-DI counter also operates in
addition to the NDIL counter.
If Signal [ NThr: The fast-DI counter is incremented
towards FDIL due to touch.
If Signal >NThr then the fast-DI counter is cleared due to
lack of touch.
NDIL Typical values: 2, 319
NDIL Default value: 2
FDIL Typical values: 4 to 6
FDIL Default value: 5
5.5 Negative Recal Delay - NRD
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.
The Negative Recal Delay timer monitors such detections;
if a detection event exceeds the timer's setting, the key will
be automatically recalibrated. After a recalibration has
taken place, the affected key will once again function
normally even if it is still being contacted by the foreign
object. This feature is set on a per-key basis using the
NRD setup parameter.
NRD can be disabled by setting it to zero (infinite timeout)
in which case the key will never auto-recalibrate during a
continuous detection (but the host could still command it).
NRD is set using one byte per key, which can range in
value from 0..255. NRD is expressed in 0.5s increments.
Thus if NRD =120, the timeout value will actually be 60
seconds.
NRD Typical values: 20 to 60 (10 to 30 seconds)
NRD Default value: 20 (10 seconds)
5.6 Positive Recalibration Delay - PRD
A recalibration can occur automatically if the signal swings
more positive than the positive threshold level. This
condition can occur if there is positive drift but insufficient
positive drift compensation, or, if the reference moved
negative due to a NRD auto-recalibration, and thereafter
the signal rapidly returned to normal (positive excursion).
As an example of the latter, if a foreign object or a finger
contacts a key for period longer than the Negative Recal
Delay (NRD), the key is by recalibrated to a new lower
reference level. Then, when the condition causing the
negative swing ceases to exist (e.g. the object is removed)
the signal can suddenly swing back positive to near its
normal reference.
It is almost always desirable in these cases to cause the
key to recalibrate quickly so as to restore normal touch
operation. The time required to do this is governed by
PRD. In order for this to work, the signal must rise through
the positive threshold level PTHR continuously for the PRD
period.
lQ
14 QT60486-AS 0.07/1103
Advanced information; subject to change
After the PRD interval has expired and the auto-
recalibration has taken place, the affected key will once
again function normally. PRD is set on a per-key basis.
PRD Typical values: 5 to 8 (0.7s to 2.0s)
PRD Default value: 6 (1 second)
5.7 Burst Length - BL
The signal gain for each key is controlled by circuit
parameters as well as the burst length.
The burst length is simply the number of times the
charge-transfer (‘QT’) process is performed on a given key.
Each QT process is simply the pulsing of an X line once,
with a corresponding Y line enabled to capture the
resulting charge passed through the key’s capacitance Cx.
QT60xx6 devices use a fixed number of QT cycles which
are executed in burst mode. There can be up to 64 QT
cycles in a burst, in accordance with the list of permitted
values shown in Section 6.5.
Increasing burst length directly affects key sensitivity. This
occurs because the accumulation of charge in the charge
integrator is directly linked to the burst length. The burst
length of each key can be set individually, allowing for
direct digital control over the signal gains of each key
individually.
Apparent touch sensitivity is also controlled by the
Negative Threshold level (NTHR). Burst length and NTHR
interact; normally burst lengths should be kept as short as
possible to limit RF emissions, but NTHR should be kept
above 6 to reduce false detections due to external noise.
The detection integrator mechanism also helps to prevent
false detections.
BL Typical values: 2, 3 (48, 64 pulses / burst)
BL Default value: 2 (48 pulses / burst)
5.8 Adjacent Key Suppression - AKS
These devices incorporate adjacent key suppression
(‘AKS’ - patent pending) that can be selected on a per-key
basis. AKS permits the suppression of multiple key
presses based on relative signal strength. This feature
assists in solving the problem of surface moisture which
can bridge a key touch to an adjacent key, causing multiple
key presses. This feature is also useful for panels with
tightly spaced keys, where a fingertip might inadvertently
activate an adjacent key.
AKS works for keys that are AKS-enabled anywhere in the
matrix and is not restricted to physically adjacent keys; the
device has no knowledge of which keys are actually
physically adjacent. When enabled for a key, adjacent key
suppression causes detections on that key to be
suppressed if any other AKS-enabled key in the panel has
a more negative signal deviation from its reference.
This feature does not account for varying key gains (burst
length) but ignores the actual negative detection threshold
setting for the key. If AKS-enabled keys in a panel have
different sizes, it may be necessary to reduce the gains of
larger keys relative to smaller ones to equalize the effects
of AKS. The signal threshold of the larger keys can be
altered to compensate for this without causing problems
with key suppression.
Adjacent key suppression works to augment the natural
moisture suppression of narrow gated transfer switches
creating a more robust sensing method.
AKS Default value: 0 (Off)
5.9 Oscilloscope Sync - SSYNC
Pin 43 (S_Sync) can output a positive pulse oscilloscope
sync that brackets the burst of a selected key. More than
one burst can output a sync pulse as determined by the
Setups parameter SSYNC for each key.
This feature is invaluable for diagnostics; without it,
observing signals clearly on an oscilloscope for a particular
burst is very difficult.
This function is supported in Quantum’s QmBtn PC
software via a checkbox.
SSYNC Default value: 0 (Off)
5.10 Negative Hysteresis - NHYST
The devices employ programmable hysteresis levels of
6.25%, 12.5%, 25%, or 50%. The hysteresis is a
percentage of the distance from the threshold level back
towards the reference, and defines the point at which a
touch detection will drop out. A 12.5% hysteresis point is
closer to the threshold level than to the signal reference
level.
Hysteresis prevents chatter and works to make key
detection more robust. Hysteresis is used only once the
key has been declared to be in detection, in order to
determined when the key should drop out.
Excessively large amounts of hysteresis can result in
‘sticking key’ that do not release after touch, especially
when signal levels are small. Low amounts of hysteresis
can cause key chatter due to low level signal noise or
minor amounts of finger motion.
The hysteresis levels are set for all keys only; it is not
possible to set the hysteresis differently from key to key.
NHYST Typical values: 0, 1 (6.25%, 12.5%).
NHYST Default value: 1 (12.5%)
5.11 Dwell Time - DWELL
The Dwell parameter in Setups causes the acquisition
pulses to have differing charge capture durations.
Generally, shorter durations provide for enhanced surface
moisture suppression, while longer durations are usually
more compatible with EMC requirements. Longer dwell
times permit the use of larger series resistors in the X and
Y lines to suppress RFI effects, without compromising key
gain.
This parameter lets the designer trade off one requirement
for with the other.
DWELL Typical value: 1 (187.5ns)
DWELL Default value: 1 (187.5ns)
5.12 Mains Sync - MSYNC
The MSync feature uses the WS pin. The Sleep and Sync
features can be used simultaneously; the part can be put
into Sleep mode, but awakened by a mains sync signal at
the desired time.
lQ
15 QT60486-AS 0.07/1103
Advanced information; subject to change

QT60326-AS

Mfr. #:
Manufacturer:
Description:
SENSOR IC MTRX TOUCH32KEY 44TQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet