10
QT113B [DATASHEET]
9525D–AT42–05/2013
3.1.3 Max On-Duration
If an object or material obstructs the sense pad the signal may rise enough to create a detection, preventing further
operation. To prevent this, the sensor includes a timer which monitors detections. If a detection exceeds the timer
setting, the timer causes the sensor to perform a full recalibration (when not set to infinite). This is known as the Max
On-Duration feature.
After the Max On-Duration interval, the sensor will once again function normally to the best of its ability given
electrode conditions. There are two finite timeout durations available via strap option: 10 and 60 seconds (Table 2-1
on page 7).
3.1.4 Detection Integrator
It is desirable to suppress detections generated by electrical noise or from quick brushes with an object. To
accomplish this, the QT113B incorporates a detect integration counter that increments with each detection until a
limit is reached, after which the output is activated. If no detection is sensed prior to the final count, the counter is
reset immediately to zero. In the QT113B, the required count is 3.
The Detection Integrator can also be viewed as a 'consensus' filter, that requires three successive detections to
create an output.
3.1.5 Forced Sensor Recalibration
The QT113B has no recalibration pin; a forced recalibration is accomplished only when the device is powered up.
However, supply drain is low so it is a simple matter to treat the entire IC as a controllable load; simply driving the
QT113B Vdd pin directly from another logic gate or a microcontroller port (Figure 3-2 on page 11) will serve as both
power and 'forced recal'. The source resistance of most CMOS gates and microcontrollers are low enough to provide
direct power without problem. Note that many 8051-based micros have only a weak pull-up drive capability and will
require CMOS buffering. 74HC or 74AC series gates can directly power the QT113B, as can most other
microcontrollers.
Option strap configurations are read by the QT113B only on power-up. Configurations can only be changed by
powering the QT113B down and back up again; again, a microcontroller can directly alter most of the configurations
and cycle power to put them in effect.
3.1.6 Response Time
The QT113B response time is highly dependent on burst length, which in turn is dependent on C
S
and C
X
(see
Figures 5-1 and 5-2). With increasing C
S
, response time slows, while increasing levels of C
S
reduce response time.
Figure 5-3 on page 19 shows the typical effects of C
S
and C
X
on response time.
3.2 Output Features
The QT113B is designed for maximum flexibility and can accommodate most popular sensing requirements. These
are selectable using strap options on pins OPT1 and OPT2. All options are shown inTable 3-1.
Table 3-1. Output Mode Strap Options
Mode Tie Pin 3 to: Tie Pin 4 to:
Max On
Duration
DC Out Vdd Vdd 10 s
DC Out Vdd Gnd 60 s
Toggle Gnd Gnd 10 s
DC Out Gnd Vdd infinite
11
QT113B [DATASHEET]
9525D–AT42–05/2013
3.2.1 DC Mode Output
The output of the QT113B can respond in a DC mode, where the output is active-low upon detection. The output will
remain active-low for the duration of the detection, or until the Max On-Duration expires (if not infinite), whichever
occurs first. If a max on-duration timeout occurs first, the sensor performs a full recalibration and the output becomes
inactive until the next detection.
Figure 3-2. Powering From a CMOS Port Pin
In this mode, three Max On-Duration timeouts are available: 10 seconds, 60 seconds, and infinite.
Infinite timeout is useful in applications where a prolonged detection can occur and where the output must reflect the
detection no matter how long. In infinite timeout mode, the designer should take care to be sure that drift in C
S
, C
X
,
and Vdd do not cause the device to ‘stick on’ inadvertently even when the target object is removed from the sense
field.
3.2.2 Toggle Mode Output
This makes the sensor respond in an on/off mode like a flip flop. It is most useful for controlling power loads, for
example in kitchen appliances, power tools, light switches, and so on.
Max On-Duration in Toggle mode is fixed at 10 seconds. When a timeout occurs, the sensor recalibrates but leaves
the output toggle state unchanged.
3.2.3 HeartBeat Output
The QT113B output has a full-time HeartBeat health indicator superimposed on it. This operates by taking OUT into
a 3-state mode for 300 µs once after every QT burst. This output state can be used to determine that the sensor is
operating properly, or, it can be ignored using one of several simple methods.
The HeartBeat indicator can be sampled by using a pulldown resistor on OUT
, and feeding the resulting negative-
going pulse into a counter, flip flop, one-shot, or other circuit. Since OUT
is normally high, a pulldown resistor will
create negative HeartBeat pulses (Figure 3-3) when the sensor is not detecting an object; when detecting an object,
the output will remain low for the duration of the detection, and no HeartBeat pulse will be evident.
0.01 μF
CMOS
microcontroller
OUT
PORT X.m
PORT X.n
Vdd
Vss
QT113B
12
QT113B [DATASHEET]
9525D–AT42–05/2013
Figure 3-3. Getting HeartBeat pulses with a pull-down resistor
If the sensor is wired to a microcontroller as shown in Figure 3-4, the microcontroller can reconfigure the load resistor
to either ground or Vcc depending on the output state of the QT113B, so that the pulses are evident in either state.
Figure 3-4. Using a micro to obtain HB pulses in either output state
Electromechanical devices like relays will usually ignore this short pulse. The pulse also has too low a duty cycle to
visibly affect LED. It can be filtered completely if desired, by adding an RC time constant to filter the output, or if
interfacing directly and only to a high-impedance CMOS input, by doing nothing or at most adding a small noncritical
capacitor from Out to ground (Figure 3-5 on page 12).
Figure 3-5. Eliminating HB Pulses
3
46
5
1
+2.5 to 5 V
72
OUT
OPT1
OPT2
GAIN
SNS1
SNS2
VSS
VDD
8
Ro
HeartBeat Pulses
OUT
SNSK
SNS
SYNC/MODE
6
4
3
1
Ro
Microcontroller
Port_M.x
Port_M.y
3
4
6
5
7
2
OUT
OPT1
OPT2
GAIN
SNS1
SNS2
CMOS
100 pF
C
o
GATE OR
MICRO INPUT

QT113B-ISG

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
Capacitive Touch Sensors INTEGRATED-CIRCUIT
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet