Quantum QT1101-ISG User Manual

lQ QT1101-ISG
" Patented charge-transfer (‘QT’) design " 10 independent QT sensing fields (keys) " 2.8V ~ 5.5V single supply operation " 40µA current typ @ 3V in 360ms LP mode " 100% autocal for life - no adjustments required " Serial 1 or 2 wire interface with auto baud rate " Fully debounced results " Patented AKS™ Adjacent Key Suppression " Spread spectrum bursts for superior noise rejection " Sync pin for excellent LF noise rejection " ‘Fast mode’ for use in slider type applications " Lead-free 32-QFN, 48-SSOP packages
10 KEY QT
24 23 222120 19 18 17
SNS8
25
SNS8K
SNS9K
/CHANGE
SNS9
N.C.
1W
RX
26 27 28 29 30
31
32
OUCH
DETECT
™ S
SYNC/LP
VSS
SNS7K
SNS7
QT1101 32-QFN
1
2345678
SS
/RST
N.C.
VDD
OSC
SNS6K
SNS6
SNS0
SNS0K
ENSOR
SNS5K
16 15 14 13 12
11
10
9
SNS1
IC
SNS5 SNS4K SNS4 SNS3K SNS3 SNS2K SNS2 SNS1K
! MP3 players ! Mobile phones
! PC peripherals ! Television controls
! Pointing devices ! Remote controls
QT1101 charge-transfer (“QT”) QTouchTM IC is a self-contained, patented digital controller capable of detecting near-proximity or touch on up to 10 electrodes. It allows electrodes to project independent sense fields through any dielectric such as glass or plastic. This capability coupled with its continuous self-calibration feature can lead to entirely new product concepts, adding high value to product designs. The devices are designed specifically for human interfaces, like control panels, appliances, gaming devices, lighting controls, or anywhere a mechanical switch or button may be found; they may also be used for some material sensing and control applications.
Each of the channels operates independently of the others, and each can be tuned for a unique sensitivity level by simply changing a corresponding external Cs capacitor.
Patented AKS™ Adjacent Key Suppression suppresses touch from weaker responding keys and allows only a dominant key to detect, for example to solve the problem of large fingers on tightly spaced keys.
Spread spectrum burst technology provides superior noise rejection. These devices also have a SYNC/LP pin which allows for synchronization with additional similar parts and/or to an external source to suppress interference, or, an LP (low power) mode which conserves power.
By using the charge transfer principle, this device delivers a level of performance clearly superior to older technologies yet is highly cost-effective.
AVAILABLE OPTIONS
A
LQC
48-SSOP32-QFNT
QT1101-IS48GQT1101-ISG-400C to +850C
Copyright © 2005 QRG Ltd
QT1101 R4.03/0805
1 - OVERVIEW
The QT1101 is an easy to use, 10 touch-key sensor IC based on Quantum’s patented charge-transfer (‘QT’) principles for robust operation and ease of design. This device has many advanced features which provide for reliable, trouble-free operation over the life of the product.
Burst operation: The device operates in ‘burst mode’. Each key is acquired using a burst of charge-transfer sensing pulses whose count varies depending on the value of the reference capacitor Cs and the load capacitance Cx. In LP mode, the device sleeps in an ultra-low current state between bursts to conserve power. The keys signals are acquired using three successive bursts of pulses:
Burst A: Keys 0, 1, 4, 5 Burst B: Keys 2, 3, 6, 7
Burst C: Keys 8, 9 Bursts always operate in A-B-C sequence. Self-calibration: On power-up, all 10 keys are
self-calibrated within 450m s typical to provide reliable operation under almost any conditions.
Auto-recalibration: The device can time out and recalibrate each key independently after a fixed interval of continuous touch detection, so that the keys can never become ‘stuck on’ due to foreign objects or other sudden influences. After recalibration the key will continue to function normally. The delay is selectable to be either 10s, 60s, or infinite (disabled).
The device also auto-recalibrates a key when its signal reflects a sufficient decrease in capacitance. In this case the device recalibrates after ~2 seconds so as to recover normal operation quickly.
Drift compensation operates to correct the reference level of each key slowly but automatically over time, to suppress false detections caused by changes in temperature, humidity, dirt and other environmental effects.
The drift compensation is asymmetric: in the increasing capacitive load direction the device drifts more slowly than in the decreasing direction. In the increasing direction, the rate of compensation is 1 count of signal per 2 seconds; in the opposing direction, it is 1 count every 500ms.
Detection Integrator (‘DI’) confirmation reduces the effects of noise on the QT1101 outputs. The ‘detect integrator’ mechanism requires consecutive detections over a number of measurement bursts for a touch to be confirmed and indicated on the outputs. In a like manner, the end of a touch (loss of signal) has to be confirmed over a number of measurement bursts. This process acts as a type of ‘debounce’ against noise.
In normal operation, both the start and end of a touch must be confirmed for 6 measurement bursts. In a special ‘Fast Detect‘ mode (available via jumper resistors), confirmation of the start of a touch requires only 2 sequential detections, but confirmation of the end of a touch is still 6 bursts.
Fast detect is only available when AKS is disabled.
Spread Spectrum operation: The bursts operate over a spread of frequencies, so that external fields will have minimal effect on key operation and emissions are very weak. Spread spectrum operation works with the ‘detect integrator’ (DI) mechanism to dramatically reduce the probability of false detection due to noise.
Sync Mode: The QT1101 features a Sync mode to allow the device to slave to an external signal source, such as a mains signal (50/60Hz), to limit interference effects. This is performed using the SYNC/LP pin. Sync mode operates by triggering three sequential acquire bursts, in sequence A-B-C from the Sync signal (see above); thus, each Sync pulse causes all 10 keys to be acquired.
Low Power (LP) Mode: The device features an LP mode for microamp levels of current drain with a slower response time, to allow use in battery operated devices. On detection of touch, the device automatically reverts to its normal mode and asserts the DETECT pin active to wake up a host controller. The device remains in normal, full acquire speed mode until another pulse is seen on its SYNC/LP pin, upon which it goes back to LP mode.
AKS™ Adjacent Key Suppression is a patented feature that can be enabled via jumper resistors. AKS works to prevent multiple keys from responding to a single touch, a common complaint about capacitive touch panels. This can happen with closely spaced keys, or with control surfaces that have water films on them.
AKS operates by comparing signal strengths from keys within a group of keys to suppress touch detections from those that have a weaker signal change than the dominant one.
The QT1101 has two different AKS groupings of keys, selectable via option resistors. These groupings are:
AKS operates in three groups of keys. AKS operates over all 10 keys.
These two modes allow the designer to provide AKS while also providing for shift or function operations.
If AKS is disabled, all keys can operate simultaneously. Outputs: The QT1101 has a serial output using 1 or 2 wires,
RS232 data format, and automatic baud rate detection. A simple protocol is employed.
The QT1101 operates in slave mode, i.e. it only sends data to the host after receiving a request from the host.
An additional /CHANGE (state changed) signal allows the use of the serial interface to be optimised, rather than being polled continuously.
Simplified Mode: To reduce the need for option resistors, the simplified operating mode places the part into fixed settings with only the AKS feature being selectable. LP mode is also possible in this configuration. Simplified mode is suitable for most applications.
Lq
2 QT1101 R4.03/0805
1.1 Wiring
Table 1.1 Pinlist
32-QFN
Pin
-
-
48 SSOP
Pin
100K ohm resistor to
100K ohm resistor to
39, 40, 41, 42
11, 12, 13,
14, 15, 16
2123
Spread spectrum driveSpread spectrumODSS331
OscillatorIOSC374
I/OSNS0436
I/OSNS1458
I/OSNS24710
I/OSNS3112
I/OSNS5516
I/OSNS6718 I/OSNS6K819
I/OSNS7920
Sense pin and
option select
Sense pin and
option select
Sense pin and
option select
Sense pin and
option select
Sense pin and
option select
Sense pin and
option select
Sense pin and
mode select
Sense pin and mode
or option select
State changedOD/CHANGE3030
Resistor to Vdd and optional
spread spectrum RC network
To Cs0 and/or option resistor
To Cs1 and/or
option resistor*
To Cs2 and/or
option resistor*
To Cs3 and/or
option resistor*
To Cs5 and/or
option resistor *
To Cs6 and/or
option resistor*
To Cs6 + Key and/or
mode resistor
To Cs7 and/or mode resistor
or option resistor*
0 = a key state has changed
Requires pull-up
Pin Type
I CMOS input only I/O CMOS I/O OD CMOS open drain output I/OD CMOS input or open drain output O/OD CMOS push pull or open-drain output (option selected) Pwr Power / ground
Notes
Mode resistor is required only in Simplified mode (see Figure 1.2)
* Option resistor is required only in Full Options mode (see Figure 1.1)
Pin is either Sync or LP depending on options selected (functions SL_0, SL_1, see Figure 1.1)
** See text
If UnusedNotesFunctionTypeName
Vss
Open---n/c34-
VddActive low resetReset inputI/RST352
-+2.8 ~ +5.0VPowerPwrVdd363
-
-Leave open--n/c385
Open---n/c
Open or
option resistor*
OpenTo Cs0 + KeySense pinI/OSNS0K447
Open or
option resistor*
OpenTo Cs1 + KeySense pinI/OSNS1K469
Open or
option resistor*
OpenTo Cs2 + KeySense pinI/OSNS2K4811
Open or
option resistor*
OpenTo Cs3 + KeySense pinI/OSNS3K213 OpenTo Cs4Sense pinI/OSNS4314 OpenTo Cs4 + KeySense pinI/OSNS4K415
Open or
option resistor*
OpenTo Cs5 + KeySense pinI/OSNS5K617
Open or
option resistor*
Open or mode resistor Open or mode
or option
resistor
resistor*
OpenTo Cs7 + KeySense pinI/OSNS7K1021 Open---n/c
-0VGroundPwrVss1722
Open---n/c18, 19, 20-
Vdd or Vss**Rising edge sync or LP pulseSync In or LP InISYNC/LP
OpenSee Table 1.4Detect StatusO/ODDETECT2224 Open---n/c23, 24­OpenTo Cs8Sense pinI/OSNS82525 OpenTo Cs8 + KeySense pinI/OSNS8K2626 OpenTo Cs9Sense pinI/OSNS92727 OpenTo Cs9 + KeySense pinI/OSNS9K2828 Open---n/c2929
Vss
-Requires pull-up to Vdd1W mode serial I/OI/OD1W3131
VddInput for 2W mode2W ReceiveIRX3232
Lq
3 QT1101 R4.03/0805
Figure 1.1 Connection Diagram - Full Options (32-QFN Package)
KEY 3
KEY 4
KEY 5
KEY 6
KEY 7
KEY 8
KEY 9
SYNC or LP
DETECT OUT
Vunreg
R
SNS3
10K
R
SNS4
10K
R
SNS5
10K
R
SNS6
10K
R
SNS7
10K
R
SNS8
10K
R
SNS9
10K
+2.8 ~ +5V
C
S3
C
S4
C
S5
C
S6
C
S7
C
S8
C
S9
Voltage Reg
2.2K
R
S3
Vdd / Vss
2.2K
R
S4
2.2K
R
S5
Vdd / Vss
2.2K
R
S6
Vdd / Vss
2.2K
R
S7
Vdd / Vss
2.2K
R
S8
2.2K
R
S9
Vdd
MOD_1
OUT_D
SL_0
SL_1
4.7uF
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
Pullup not required for push-pull mode See Detect pin mode table below
4.7uF
100K
VDD
*100nF
3
SNS3
SNS3K
SNS4
SNS4K
SNS5
SNS5K
SNS6
SNS6K
SNS7
SNS7K
SNS8
SNS8K
SNS9
SNS9K
VDD
12
1M
13
14
15
16
1M
17
18
1M
19
20
1M
21
25
26
27
28
2
/RST
QT1101 32-QFN
*Note: One bypass cap to be tightly wired between Vdd and Vss. Follow regulator manufacturer’s recommendations for input and output capacitors.
11
SNS2K
SNS2
SNS1K
SNS1
SNS0K
SNS0
OSC
SS
10
9
8
7
6
4
1
MOD_0
1M
1M
1M
Rb1
Rb2
VDD
AKS_1
AKS_0
100nF
Vdd / Vss
Vdd / Vss
Vdd / Vss
Css
No Spread-spectrum:
R
SNS2
4.7nF
R
2.2K
2.2K
2.2K
S2
R
S1
R
S0
4.7nF
4.7nF
10K
C
S2
R
SNS1
10K
C
S1
R
SNS0
10K
C
S0
Recommended Rb1, Rb2 Values
With Spread-Spectrum
Vdd Range Rb1 Rb2
2.8
~ 2.99V 12K 27K
3.0 ~ 3.59V
3.6 ~ 5V 15K 27K
No Spread-Spectrum
Vdd Range Rb1 Rb2
2.8 ~ 2.99V 15K dni
3.0 ~ 3.59V 18K dni
3.6 ~ 5V 20K dni
12K 22K
dni = do not install
KEY 2
KEY 1
KEY 0
Replace Css with 100K resistor
32
23
24
SYNC/LP
DETECT
RX
1W
/CHANGE
N.C.
N.C.
100K
31
100K
30
29
5
Vdd
Vdd
2W DATA
DATA
/CHANGE
VSS
22
Table 1.2 AKS / Fast-Detect Options
Table 1.3 Max On-Duration
Table 1.4 Detect Pin Drive
Table 1.5 SYNC/LP Function
Lq
FAST-DETECTAKS MODEAKS_0AKS_1
OffOffVssVss EnabledOffVddVss OffOn, in 3 groupsVssVdd OffOn, globalVddVdd
MAX ON-DURATION MODEMOD_0MOD_1
10 seconds to recalibrateVssVss 60 seconds to recalibrateVddVss Infinite (disabled)VssVdd (reserved)VddVdd
DETECT PIN MODEOUT_D
Open drain, active lowVss Push-pull, active highVdd
SYNC/LP PIN MODESL_0SL_1
SyncVssVss LP mode: 120ms response timeVddVss LP mode: 200ms response timeVssVdd LP mode: 360ms response timeVddVdd
4 QT1101 R4.03/0805
Figure 1.2 Connection Diagram - Simplified Mode (32-QFN Package)
SMR resistor installed between SNS6K, SNS7
KEY 3
KEY 4
KEY 5
KEY 6
KEY 7
KEY 8
KEY 9
DETECT OUT
Vunreg
R
SNS3
10K
R
SNS4
10K
R
SNS5
10K
R
SNS6
10K
R
SNS7
10K
R
SNS8
10K
R
SNS9
10K
LP IN
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
4.7nF
4.7uF
C
S3
C
S4
C
S5
C
S6
C
S7
C
S8
C
S9
+2.8 ~ +5V
Voltage Reg
R
S3
2.2K
R
S4
2.2K
R
S5
2.2K
R
S6
2.2K
R
S7
2.2K
R
S8
2.2K
R
S9
2.2K
SMR
4.7uF
VDD
*100nF
3
SNS3
SNS3K
SNS4
SNS4K
SNS5
SNS5K
SNS6
SNS6K
SNS7
SNS7K
SNS8
SNS8K
SNS9
SNS9K
VDD
12
13
14
15
16
17
18
19
1M
20
21
25
26
27
28
2
/RST
QT1101 32-QFN
*Note: One bypass cap to be tightly wired between Vdd and Vss. Follow regulator manufacturers recommendations for input and output capacitors.
11
SNS2K
10
SNS2
9
SNS1K
8
SNS1
7
SNS0K
SNS0
OSC
SS
6
4
1
AKS_0
1M
Vdd / Vss
VDD
Rb1
Rb2
Css
100nF
No Spread-spectrum:
R
SNS2
4.7nF
R
2.2K
2.2K
2.2K
S2
R
S1
R
S0
4.7nF
4.7nF
10K
C
S2
R
SNS1
10K
C
S1
R
SNS0
10K
C
S0
Recommended Rb1, Rb2 Values
With Spread-Spectrum
Vdd Range Rb1 Rb2
2.8
~ 2.99V 12K 27K
3.0 ~ 3.59V
3.6 ~ 5V 15K 27K
No Spread-Spectrum
Vdd Range Rb1 Rb2
2.8 ~ 2.99V 15K dni
3.0 ~ 3.59V 18K dni
3.6 ~ 5V 20K dni
12K 22K
dni = do not install
KEY 2
KEY 1
KEY 0
Replace Css with 100K resistor
32
23
24
SYNC/LP
DETECT
RX
1W
/CHANGE
N.C.
N.C.
100K
31
100K
30
29
5
Vdd
Vdd
2W DATA
DATA
/CHANGE
VSS
22
Table 1.6 AKS Resistor Options
Table 1.7 Functions in Simplified Mode
SYNC/LP pin Max on-duration delay Detect Pin
Lq
FAST-DETECTAKS MODEAKS_0
EnabledOffVss
OffOn, globalVdd
200ms LP function; sync not available 60 seconds Push-pull, active high
5 QT1101 R4.03/0805
2 - DEVICE OPERATION
2.1 Startup Time
After a reset or power-up event, the device requires 450ms to initialize, calibrate, and start operating normally. Keys will work properly once all keys have been calibrated after reset.
2.2 Option Resistors
The option resistors are read on power-up only. There are two primary option mode configurations: full, and simplified.
In full options mode, seven 1M✡ option resistors are required as shown in Figure 1.1. All seven resistors are mandatory.
To obtain simplified mode, a 1M resistor should be connected from SNS6K to SNS7. In simplified mode, only one additional 1M option resistor is required for the AKS feature (Figure 1.2).
Note that the presence and connection of option resistors will influence the required values of Cs; this effect will be especially noticeable if the Cs values are under 22nF. Cs values should be adjusted for optimal sensitivity after the option resistors are connected.
2.3 DETECT Pin
DETECT represents the functional logical-OR of all ten keys. DETECT can be used to wake up a battery-operated product upon human touch.
The output polarity and drive of DETECT are governed according to Table 1.4, page 4.
2.4 /CHANGE Pin
The /CHANGE pin can be used to tell the host that a change in touch state has been detected (i.e. a key has been touched or released), and that the host should read the new key states over the serial interface. /CHANGE is pulled low when a key state change has occurred.
/CHANGE is very useful to prevent transmissions with duplicate data. If /CHANGE is not used, the host would need to keep polling the QT1101 constantly, even if there are no changes in touch. Upon detection of a key, /CHANGE will pull low and stay low until the serial interface has been polled by the host. /CHANGE will then be released and return high until the next change of key state, either on or off, on any key (Figures 2-1, 2-4).
The /CHANGE pin is open-drain, and requires a ~100K pullup resistor to Vdd in order to function properly.
2.5 SYNC/LP Pin
The SYNC / LP pin function is configured according to the SL_0 and SL_1 resistor connections to either Vdd or Vss, according to the Table 1.5.
Sync mode: Sync mode allows the designer to synchronize acquire bursts to an external signal source, such as mains frequency (50/60Hz), to suppress interference. It can also be used to synchronize two QT parts which operate near each other, so that they will not cross-interfere if two or more of the keys (or associated wiring) of the two parts are near each other.
The SYNC input is positive pulse triggered. If the SYNC input does not change, the device will free-run at its own rate after ~150ms.
A trigger pulse on SYNC will cause the device to fire three acquire bursts in A-B-C sequence:
Burst A: Keys 0, 1, 4, 5 Burst B: Keys 2, 3, 6, 7 Burst C: Keys 8, 9
Low Power (LP) Mode: This allows the device to enter a slow mode with very low power consumption, in one of three response time settings - 120ms, 200ms, and 360ms nominal.
LP mode is entered by a positive pulse on the SYNC/LP pin. Once the LP pulse is detected, the device will enter and remain in this microamp mode until it senses and confirms a touch, upon which it will switch back to normal (full speed) mode on its own, with a response time of <40ms typical (burst length dependent). The device will go back to LP mode again if SYNC/LP is held high or after another LP pulse is received.
The response time setting is determined by option resistors SL_1 and SL_0; see Table 1.5. Slower response times result in lower power drain.
The SYNC/LP pulse should be >150µs in duration. If the SYNC/LP pin is held high permanently, the device will
go into normal mode during a key touch, and return to low-current mode after the detection has ceased and the key state has been read by the host.
If the SYNC/LP pin is held low constantly, the device will simply remain in normal full speed mode continuously.
2.6 AKS™ Function Pins
The QT1101 features an adjacent key suppression (AKS™) function with 2 modes. Option resistors act to set this feature according to Tables 1.2 and 1.6. AKS can be disabled, allowing any combination of keys to become active at the same time. When operating, the modes are:
Global: The AKS function operates across all 10 keys. This
means that only one key can be active at any one time.
Groups: The AKS function operates among three groups of
keys: 0-1-4-5, 2-3-6-7, and 8-9. This means that up to 3 keys can be active at any one time.
In Group mode, keys in one group have no AKS interaction with keys in any other group.
Note that in Fast Detect mode, AKS can only be off.
2.7 MOD_0, MOD_1 Inputs
In full option mode, the MOD_0 and MOD_1 resistors are used to set the 'Max On-Duration' recalibration timeouts. If a key becomes stuck on for a lengthy duration of time, this feature will cause an automatic recalibration event of that specific key only once the specified on-time has been exceeded. Settings of 10s, 60s, and infinite are available.
The Max On-Duration feature operates on a key-by-key basis; when one key is stuck on, its recalibration has no effect on other keys.
The logic combination on the MOD option pins sets the timeout delay; see Table 1.3.
Simplified mode MOD timing: In simplified mode, the max on-duration is fixed at 60 seconds.
Lq
6 QT1101 R4.03/0805
2.8 Fast Detect Mode
dri
In many applications, it is desirable to sense touch at high speed. Examples include scrolling ‘slider’ strips or ‘Off’ buttons. It is possible to place the device into a ‘Fast Detect’ mode that usually requires under 15ms to respond. This is accomplished internally by setting the Detect Integrator to only 2 counts, i.e. only two successive detections are required to detect touch.
In LP mode, ‘Fast’ detection will not speed up the initial delay (which could be up to 360ms typical depending on the option setting), however once a key is detected the device is forced back into normal speed mode; it will remain in this faster mode until another LP pulse is received.
When used in a ‘slider’ application, it is normally desirable to run the keys without AKS.
In both normal and ‘Fast’ modes, the time required to process a key release is the same: it takes 6 sequential confirmations of non-detection to turn a key off.
Fast Detect mode can be enabled as shown in Tables 1.2 and 1.6.
2.9 Simplified Mode
A simplified operating mode which does not require the majority of option resistors is available. This mode is set by connecting a resistor labelled SMR between pins SNS6K and SNS7; see Figure 1.2.
In this mode there is only one option available - AKS enable or disable. When AKS is disabled, Fast Detect mode is enabled; when AKS is enabled, Fast Detect mode is off.
AKS in this mode is global only (i.e. operates across all functioning keys).
The other option features are fixed as follows:
DETECT Pin: Push-pull, active high SYNC/LP Function: LP mode, ~200ms response time Max On-Duration: 60 seconds
See also Tables 1.6 and 1.7.
Figure 2-1 Basic 1W Sequence
1W
/CHANGE
request
key state
change
floating floating
floating floating
from host
(1 byte)
from QT1101
2.10 Unused Keys
Unused keys should be disabled by removing the corresponding Cs, Rs, and Rsns components and connecting SNS pins as shown in the ‘Unused’ column of Table 1.1. Unused keys are ignored and do not factor into the AKS function (Section 2.6).
2.11 Serial 1W Interface
The 1W serial interface is an RS-232 based auto baud rate serial asynchronous interface that requires only 1 wire between the host MCU and the QT1101. The serial data are extremely short and simple to interpret.
Auto baud rate detection takes place by having the host device send a specific character to the QT1101, which allows the QT1101 to set its baud rate to match that of the host.
One feature of this method is that the baud rate can be any rate between 8,000 and 38,400 bits per second. Neither the QT1101 nor the host device has to be accurate in their transmission rates, i.e. crystal control is not required.
Depending on the timing of a 1W host transmission, the QT1101 device may need to abort an acquisition burst, and rerun it after the transmission is complete and a reply has been sent. As a consequence, each host request can potentially result in a small, unnoticeable increase in detection delay.
1W Connection: The 1W pin should be pulled high with a resistor. When not in use it floats high, hence this causes no increase in supply current.
During transmission from the host, the host may drive the 1W line with either an open-drain or a push-pull driver. However, if the host uses push-pull driving, it must release the 1W line as soon as it is done with its stop bit so that there is no drive conflict when the QT1101 sends its reply.
If open-drain transmission is used by the host, the value of the pull-up resistor should be optimized for the desired baud rate: faster rates require a lower value of resistor to prevent rise-time problems. A typical value for 19,200 baud might be 100K ohms. An oscilloscope should be used to confirm that the resistor is not causing excessive timing skew that might cause bit errors.
The QT1101 uses push-pull drive to transmit data out on the 1W line back to the host. When
ven reply
(2 bytes)*
the stop bit level is established, 1W is floated; for this reason, a pull-up resistor should always be used on the 1W pin to prevent the signal from drifting to an undefined state. A 100K ohm pull-up resistor on 1W is recommended, unless the host uses open-drain drive to the QT1101 in which case a lower value may be required (see prior paragraph).
1 ~ 3 bit periods
*See Figure 2-3
Figure 2-2 1W UART Host Pattern
1W
(from host)
Serial bits
Lq
S01234 7S
56
7 QT1101 R4.03/0805
2.11.1 Basic 1W Operation
The basic sequence of 1W serial operation is shown in Figure 2-1. The 1W line is bi-directional and must be pulled high with a resistor to prevent a floating, undefined state (see previous section).
Oscillator Tolerance: While the auto baud rate detection mechanism has a wide tolerance for oscillator error, the QT’s oscillator should still not vary by more than +/-20% from the recommended value. Beyond a 20% error,
communications at either the
dri
Figure 2-3 UART Response Pattern on 1W Pin
lower or upper stated limits could fail. The oscillator frequency can be checked with an oscilloscope by
1W
(from QT1101)
floating
probing the pulse width on the SNS lines; these should
Serial bits
S01234567 S01234567S
ideally be 2.15µs in width each at the beginning of a burst with the recommended
Associated key #
012345
spread-spectrum circuit, or 2µs wide if no spread-spectrum circuit is used.
Host Request Byte: The host requests the key state from the QT1101 by sending an ASCII "P" character (ASCII decimal code 80, hex 0x50) over the 1W line. The character is formatted according to conventional RS232:
8 data bits no parity 1 stop bit baud rate: 8,000 ~ 38,400
Figure 2-2 shows the bit pattern of the host request byte (‘P’). The first bit labeled ‘S’ is the start bit, the last ‘S’ is the stop bit. This bit pattern should never be changed. The QT1101 will respond at the same baud rate as the received ‘P’ character.
After sending the ‘P’ character the host must immediately float the 1W signal to prevent a drive conflict between the host and the QT1101; see Figure 2-1. The delay from the received stop bit to the QT1101 driving the 1W pin is in the range 1~3 bit periods, so the host should float the pin within 1 bit period to prevent a drive conflict.
Data Reply: Before sending a reply, the QT1101 returns the /CHANGE signal to its inactive (float-high) state.
The QT1101 then replies by sending two 8-bit characters to the host over the 1W line using the same baud rate as the request. With no keys pressed, both reply bytes are ASCII ‘@’ (0x40) characters; any keys that are pressed at the time of the reply result in their associated bits being set in the reply. Figure 2-3 shows the reply bytes when keys 0, 2 and 7 are pressed - 0x45, 0x42, and the associations between keys and bits in the reply.
The QT1101 floats the 1W pin again after establishing the level of the stop bit.
2.11.2 LP Mode Effects on 1W
The use of low power (LP) mode presents some additional 1W timing requirements. In LP mode (Section 2.5), the QT1101 will only respond to a request from the host when it is making one of its infrequent checks for a key press. Hence, in that condition most requests from the host to the QT1101 will be ignored, since the QT1101 will be sleeping and unresponsive. However, if either /CHANGE or DETECT are active the QT1101 will be at full speed, and hence will always respond to ‘P’ requests.
Note that when sleeping in LP mode, there are by definition no keys active, so there should not be a reason for the host to send the ‘P’ query command in the first place.
RX
(from host)
1W
(from QT1101)
/CHANGE
floating floating
floating
S
**
(Shown with keys 0, 2 and 7 detecting) * Fixed bit values
Three strategies are available to the host to ensure that LP mode operates correctly:
# /CHANGE used. The host monitors /CHANGE, and only
sends a ‘P’ request when it is low. The part is awake by definition when /CHANGE is low. If /CHANGE is high, key states are known to be unchanged since the last reply received from the QT1101, and so additional ‘P’ requests are not needed. Before triggering LP mode the host should wait for /CHANGE to go high after all keys have become inactive.
# DETECT used. The host monitors DETECT, and if it is
active (i.e. the part is awake) it polls the device regularly to obtain key status. When DETECT is inactive (the part may be sleeping) no requests are sent because it is known that no keys are active. Before triggering LP mode the host should wait for DETECT to become inactive, and then send one additional 'P' request to ensure /CHANGE is also made inactive.
# Neither /CHANGE nor DETECT used. The host polls the
device regularly to obtain key status, with a timeout in operation when awaiting the reply to each ‘P’ request. Not receiving a reply within the timeout period only occurs when the part is sleeping, and hence when no keys are active. Before triggering LP mode the host should wait for all keys to become inactive and then send an additional 'P' request to the QT1101 to ensure /CHANGE is also inactive.
2.11.3 2W Operation
1W operation, as described above, requires that the host float the 1W line while awaiting a reply from the QT1101; this is not always possible.
To solve this problem, the QT1101 can also receive the ‘P’ character from the host on its ‘Rx’ pin separately from the 1W pin (Figure 2-4). The host need not float the Rx line since the QT1101 will never try to drive it.
Figure 2-4 2W Operation
key state
change
floating floating
6789UU
request
from host
(1 byte)
from QT1 101
(2 bytes)
1 ~ 3 bit periods
**
U - Unused bits
ven reply
floating
Lq
8 QT1101 R4.03/0805
Following a ‘P’ on Rx, the QT1101 will send the same response pattern (Figure 2-3) over the 1W line as in pure 1W mode.
All other comments and timings given for 1W operation are applicable for 2W operation. LP operation is the same for 2W mode as for 1W.
If the Rx pin is not used, it must be tied to Vdd.
3 - DESIGN NOTES
The spread-spectrum RC network might need to be modified slightly with longer burst lengths. The sawtooth waveform observed on SS should reach a crest height as follows:
Vdd >= 3.6V: 17% of Vdd Vdd < 3.6V: 20% of Vdd
The Css capacitor connected to SS (Figures 1.1 and 1.2) should be adjusted so that the waveform approximates the above amplitude, +/-10%, during normal operation in the target circuit. If this is done, the circuit will give a spectral modulation of 12-15%.
3.1 Oscillator Frequency
The QT1101’s internal oscillator runs from an external network connected to the OSC and SS pins as shown in Figures 1.1 and 1.2. The charts in these figures show the recommended values to use depending on nominal operating voltage and spread spectrum mode.
If spread spectrum mode is not used, only resistor Rb1 should be used, the Css capacitor eliminated, and the SS pin pulled to Vss with a 100K resistor.
An out of spec oscillator can induce timing problems such as large variations in Max On-Duration times and response times as well as on the serial port.
Affect on serial communications: The oscillator frequency has no nominal effect on serial communications since the baud rate is set by an auto-sensing mechanism. However, if the oscillator is too far outside the recommended settings, the possible range of serial communications can shrink. For example, if the oscillator is too slow, the upper baud rate range can be reduced.
The burst pulses should always be in the range of 1.8~2.4µs at the start of a burst to allow the serial port to operate at its specified limits; in spread-spectrum mode, the first pulses of a burst should ideally be 2.15µs. In non spread-spectrum mode, the target value is 2µs. If in doubt, make the pulses on the narrower side (i.e. a faster oscillator) when using the higher baud rates, and conversely on the wider side when using the lowest baud rates.
3.2 Spread Spectrum Circuit
The QT1101 offers the ability to spectrally spread its frequency of operation to heavily reduce susceptibility to external noise sources and to limit RF emissions. The SS pin is used to modulate an external passive RC network that modulates the OSC pin. OSC is the main oscillator current input. The circuits and recommended values are shown in Figures 1.1 and 1.2.
The resistors Rb1 and Rb2 should be changed depending on Vdd. As shown in Figures 1.1 and 1.2, three sets of values are recommended for these resistors depending on Vdd. The power curves in Section 4.6 also show the effect of these resistors.
The spread-spectrum circuit can be eliminated if it is not desired; see Section 3.1. Non spread-spectrum mode consumes significantly less current in one of the LP modes.
3.3 Cs Sample Capacitors; Sensitivity
The Cs sample capacitors accumulate the charge from the key electrodes and determine sensitivity. Higher values of Cs make the corresponding sensing channel more sensitive. The values of Cs can differ for each channel, permitting differences in sensitivity from key to key or to balance unequal sensitivities. Unequal sensitivities can occur due to key size and placement differences and stray wiring capacitances. More stray capacitance on a sense trace will desensitize the corresponding key; increasing the Cs for that key will compensate for the loss of sensitivity.
The Cs capacitors can be virtually any plastic film or low to medium-K ceramic capacitor. The ‘normal’ Cs range is 2.2nF to 50nF depending on the sensitivity required; larger values of Cs require better quality to ensure reliable sensing. Acceptable capacitor types for most uses include PPS film, polypropylene film, and NP0 and X7R ceramics. Lower grades than X7R are not advised.
The required values of Cs can be noticeably affected by the presence and connection of the option resistors.
3.4 Power Supply
The power supply can range from 2.8 to 5.0 volts. If this fluctuates slowly with temperature, the device will track and compensate for these changes automatically with only minor changes in sensitivity. If the supply voltage drifts or shifts quickly, the drift compensation mechanism will not be able to keep up, causing sensitivity anomalies or false detections.
The power supply should be locally regulated using a 3-terminal device, to between 2.8V and 5.0V. If the supply is shared with another electronic system, care should be taken to ensure that the supply is free of digital spikes, sags, and surges which can cause adverse effects.
For proper operation a 0.1µF or greater bypass capacitor must be used between Vdd and Vss; the bypass capacitor should be routed with very short tracks to the device’s Vss and Vdd pins.
3.5 PCB Layout and Construction
Please refer to Quantum application note AN-KD02 for information related to layout and construction matters.
Lq
9 QT1101 R4.03/0805
4 - SPECIFICATIONS
4.1 Absolute Maximum Specifications
Operating temperature, Ta.............................................................................................. -40 ~ +85ºC
Storage temp, Ts......................................................................................................-50 ~ +125ºC
Vdd................................................................................................................... -0.3 ~ +6.0V
Max continuous pin current, any control or drive pin............................................................................ ±20mA
Short circuit duration to ground or Vdd, any pin................................................................................. infinite
Voltage forced onto any pin..................................................................................-0.3V ~ (Vdd + 0.3) Volts
4.2 Recommended Operating Conditions
Operating temperature, Ta.............................................................................................. -40 ~ +85ºC
DD
...................................................................................................................+2.8 ~ +5.0V
V
Short-term supply ripple+noise...............................................................................................±5mV/s
Long-term supply stability...................................................................................................±100mV
Cs range.............................................................................................................. 2.2 ~ 100nF
Cx range................................................................................................................. 0 ~ 50pF
4.3 AC Specifications
Vdd = 5.0V, Ta = recommended, Cx = 5pF, Cs = 4.7nF; circuit of Figure 1.1
NotesUnitsMaxTypMinDescriptionParameter
ms300Recalibration timeTrc
kHz124Burst center frequencyFc
Total deviation%15Burst modulation, percentFm
µs2Sample pulse durationTpc
ms450Startup time from cold startTsu
All 3 bursts ms6.5Burst durationTbd ms15Response time - Fast modeTdf ms40Response time - normal modeTdn
200ms LP settingms200Response time - LP modeTdl
End of touchms40Release time - all modesTdr
baud38,4008,000Serial communications speedbps
4.4 DC Specifications
Vdd = 5.0V, Ta = recommended, Cx = 5pF, Cs = 4.7nF, Ta = recommended range; circuit of Figure 1.1 unless noted
NotesUnitsMaxTypMinDescriptionParameter
Supply current, normal mode*Iddn
*No spread spectrum circuit
2.7
mA84.5
2.1
1.9
1.5
bits8Acquisition resolutionAr
@ Vdd = 5.0 @ Vdd = 4.0 @ Vdd = 3.6 @ Vdd = 3.3 @ Vdd = 2.8
@ Vdd = 3.0; 200ms LP modeµA75Supply current, LP mode*Iddl
Req’d for startup, w/o external reset cktV/s100Supply turn-on slopeVdds V0.7Low input logic levelVil V3.5High input logic levelVhl
7mA sinkV0.5Low output voltageVol
2.5mA sourceVVdd-0.5High output voltageVoh
µA±1Input leakage currentIil
Lq
10 QT1101 R4.03/0805
4.5 Signal Processing
Vdd = 5.0V, Ta = recommended, Cx = 5pF, Cs = 4.7nF, 2µs QT Pulses
NotesUnitsValueDescription
Threshold for increase in Cx loadcounts10Detection threshold
counts2Detection hysteresis
Threshold for decrease of Cx loadcounts6Anti-detection threshold Time to recalibrate if Cx load has exceeded anti-detection thresholdsecs2Anti-detection recalibration delay Must be consecutive or detection failssamples6Detect Integrator filter, normal mode Must be consecutive or detection failssamples2Detect Integrator filter, Fast mode Option pin selectedsecs10, 60, infMax On-Duration Towards increasing Cx loadms/level2,000Normal drift compensation rate Towards decreasing Cx loadms/level500Anti drift compensation rate
Lq
11 QT1101 R4.03/0805
4.6 Idd Curves
Cx = 5pF, Cs = 4.7nF, Ta = 20oC, Spread spectrum circuit (see Fig. 1.1).
QT1101 Idd (normal mode) mA
5.0
4.0
3.0
Rb1=12K Rb2=22K
2.0
Idd(mA)
1.0
Rb1=12K Rb2=27K
0.0
2.5 3 3.5 4 4.5 5 5.5
QT1101 Idd (200ms response) µA
400
300
Rb1=12K Rb2=22K
200
Idd(µA)
100
Rb1=12K Rb2=27K
0
2.5 3 3.5 4 4.5 5 5.5
Rb1=15K Rb2=27K
Vdd(V )
Rb1=15K Rb2=27K
Vdd(V)
QT1101 Idd (120ms response) µA
700 600 500 400
Rb1=12K Rb2=22K
300
Idd(µA)
200
Rb1=12K
100
Rb2=27K
0
2.5 3 3.5 4 4.5 5 5.5
QT1101 Idd (360ms response) µA
300 250 200
Rb1=12K Rb2=22K
150
Idd(µA)
100
Rb1=12K
50
Rb2=27K
0
2.5 3 3.5 4 4.5 5 5.5
Rb1=15K Rb2=27K
Vdd(V)
Rb1=15K Rb2=27K
Vdd(V)
Cx = 5pF, Cs = 4.7nF, Ta = 20oC, No spread spectrum circuit (see Fig. 1.1).
QT1101 Idd (normal mode) mA
5.0
4.0
3.0
2.0
Idd(mA)
1.0
0.0
2.5 3 3.5 4 4.5 5 5.5
QT1101 Idd (200ms response) µA
300 250 200
150
Idd(µA)
100
50
0
2.5 3 3.5 4 4.5 5 5.5
Rb1=18K
Rb1=15K
Rb1=18K
Rb1=15K
Rb1=20K
Vdd(V )
Rb1=20K
Vdd(V)
600 500 400
300
Idd(µA)
200 100
0
2.5 3 3.5 4 4.5 5 5.5
150 125 100
75
Idd(µA)
50 25
0
2.5 3 3.5 4 4.5 5 5.5
QT1101 Idd (120ms response) µA
Rb1=20K
Rb1=18K
Rb1=15K
Vdd(V)
QT1101 Idd (360ms response) µA
Rb1=20K
Rb1=18K
Rb1=15K
Vdd(V)
lQ
12 QT1101 R4.03/0805
4.7 LP Mode Typical Response Times
Response Time vs Vdd - 120m s Set t i ng
130
125
120
115
110 105
100
95
Actual Response Time, ms
90
2.5 3 3.5 4 4.5 5 5.5
Vdd
Response Time vs Vdd - 360m s Set t i ng
430
410
390
370
350
330
310
Actual Response Time, ms
290
2.5 3 3.5 4 4.5 5 5.5
Vdd
Response Time vs Vdd - 200m s Set t i ng
240
230
220
210
200
190
180
170
Actual Response Time, ms
160
2.5 3 3.5 4 4.5 5 5.5
Vdd
lQ
13 QT1101 R4.03/0805
4.8 Mechanical - 32-QFN Package
A
A2A
A
PIN 1
C
A1 A2 A3
B C D E
F
G
e
ll dimensions in mi llimetres
Min Max
0.8 1A 0
0.65
4.9
4.9
0.18
0.3
3.1
3.1
0.5 1
0.203 typ.
5.1
5.1
0.3
0.5
3.3
3.3
0.5 typ.
B
F
e
G
D
A
E
3
1
Note that there is no functional requirement for the large pad on the underside of the 32-QFN package to be soldered to the substrate. If the final application does require this area to be soldered for mechanical reasons, the pad(s) to which it is soldered to must be isolated and contained under the 32-QFN footprint only.
Lq
14 QT1101 R4.03/0805
4.9 Mechanical - 48-SSOP Package
D
Max
4.10 Part Marking
A
B
C
G
E
All dimensions in millimeters
32-QFN 48-SSOP
F
2.160.207.3910.03Min
0.64 Typ
Pin 48
J
a
0.640.1015.570.10
0.890.3016.180.252.510.307.5910.67
H
aJHGFEDCBA
o
0
o
8
Dimple
Pin 32
QT1101
© QRG 4
<datecode>
Pin 1
DIMPLE
Pin 1
QT1101-IS48G © QRG 1976 R4 QProx
TM
<datecode>
Lq
15 QT1101 R4.03/0805
lQ
Copyright © 2005 QRG Ltd. All rights reserved.
Patented and patents pending
Corporate Headquarters
Ensign Way, Hamble SO31 4RF
Tel: +44 (0)23 8056 5600 Fax: +44 (0)23 8045 3939
1 Mitchell Point
Great Britain
www.qprox.com
North America
651 Holiday Drive Bldg. 5 / 300
Pittsburgh, PA 15220 USA
Tel: 412-391-7367 Fax: 412-291-1015
This device covered under one or more of the following United States and corresponding internati onal patents: 5,730,165, 6, 288,707, 6,377,009, 6,452,514, 6, 457,355, 6,466,036, 6,535,200. Numerous further patents are pending which may apply t o this device or the applications thereof.
The specifications set out in this document are subjec t to change without notic e. All products s old and services supplied by QRG are subject to our Terms and Conditions of sal e and supply of services which are available online at www.qprox.com and are supplied with every order acknowledgement. QProx, QTouch, QMatrix, QLevel, QVi ew, QWheel, and QSlide are t rademarks of QRG. QRG product s are not suitable for m edical (i ncluding life-s aving equipm ent), safet y or mis sion criti cal applicat ions or other simi lar purposes. Except as expressly set out in QRG's Terms and Conditions, no licens es to patents or other intellec tual property of QRG (express or implied) are granted by QRG in connection with t he sale of QRG products or provision of QRG services . QRG will not be liable for cus tom er product design and customers are entirely responsible for their products and applications which incorporate QRG's products.
Development Team: John Dubery, Alan Bowens, Matthew Trend
Loading...