operation. To prevent this, the sensor includes a tim er 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 norm ally, even if partially or fully obstructed, to t he
best of its ability given electrode conditions. There are two
finite tim eout durations available via strap option: 10 and 60
seconds (Table 2-1).
2.1.4 D
ETECTION INTEGRATOR
It is desirable t o suppress detections generated by electrical
noise or from quick brushes with an object. To accomplish
this, the Q T113 incorpor ates a detect integrati on counter that
increments with each detection until a limit i s reached, after
which the output is acti vated. If no detection is sensed prior
to the final count, the counter is reset immediately to zero. In
the QT113, the required count is 3.
The Detection I nt egrator can also be viewed as a 'consensus'
filter, that r equires three detections in three successive bursts
to create an output.
2.1.5 F
ORCED SENSOR RECALIBRATION
The QT113 has no recalibration pin; a forced recalibrat ion is
accomplished only when the device is powered up. However,
supply drain is l ow so it is a simpl e matter to treat the entire
IC as a controllabl e load; sim ply drivi ng the QT113's Vdd pin
directly from another logic gate or a microcontroller port
(Figure 2-2) will serve as both power and 'forced recal'. The
source resistance of most CMOS gates and microcont rollers
are low enough to provide direct power without pr oblem. Note
that most 8051-based micros have only a weak pullup drive
capability and will require CMOS buffering. 74HC or 74AC
series gates can directly power the QT113, as can most ot her
microcontrollers.
Option strap configurations are read by the QT113 only on
powerup. Configurations can only be changed by powering
the QT113 down and back up again; again, a mi crocontrol ler
can directly alter m ost of the configurati ons and cycle power
to put them in effect.
2.1.6 R
ESPONSE TIME
The QT113's response time is highly dependent on burst
length, which in turn i s dependent on Cs and Cx (see Figures
4-1, 4-2). With increasing Cs, response time slows, while
increasing levels of Cs reduce response time. Figure 4-3
shows the typical effects of Cs and Cx on response time.
2.2 OUTPUT FEATURES
The QT113 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 in Table 2-1.
2.2.1 DC M
ODE OUTPUT
The output of the QT113 can respond i n a DC mode, where
the output is active-low upon detection. The output will
remain active-low for the duration of the detection, or unt i l the
Max On-Duration expires (if not infinite), whichever occurs
first. If a max on-duration timeout occurs first, the sensor
performs a ful l recali bration and the output becom es inactive
until the next detection.
In this m ode, three Max On-Duration tim eouts 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 Cs, Cx, and
Vdd do not cause the device to ‘stick on’ inadvertently even
when the target object is removed from the sense field.
2.2.2 T
OGGLE MODE OUTPUT
This makes the sensor respond in an on/off mode like a flip
flop. I t i s m ost useful for cont roll ing power l oads, f or example
in kitchen appliances, power tools, light switches, etc.
Max On-Duration in Toggle mode is fixed at 10 seconds.
When a timeout occurs, the sensor recalibrates but leaves
the output state unchanged.
2.2.3 H
EARTBEAT
™ O
UTPUT
The QT113 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, i t can be ignored using one of several
simple methods.
The HeartBeat indicator can be sampled by usi ng a pull down
resistor on Out, and feeding the resulting negative-going
pulse into a counter, f lip fl op, one-shot, or other cir cuit. Since
Out is normally high, a pulldown resistor will create negative
HeartBeat pulses (Figure 2-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.
If the sensor is wired to a m icrocontr oller as shown in Figure
2-4, the microcontroller can reconfigure the load resistor to
either ground or Vcc depending on the output state of the
QT113, so that the pulses are evident in either state.
- 5 -
infiniteVddGnd
DC Out
10sGndGnd
Toggle
60sGndVdd
DC Out
10sVddVdd
DC Out
Max On-
Duration
Tie
Pin 4 to:
Tie
Pin 3 to:
Table 2-1 Output Mode Strap Options
Figure 2-2 Powering From a CMOS Port Pin
0.01µF
CMO S
microcontroller
OUT
PORT X.m
PORT X.n
Vdd
Vss
QT110