AN2970 Application note

Similar documents
AN922 Application note

STTH60R04. Ultrafast recovery diode. Main product characteristics. Features and benefits. Description. Order codes

Obsolete Product(s) - Obsolete Product(s)

LD29300xx. 3 A, very low drop voltage regulators. Features. Description

STTH61R04TV. Ultrafast recovery diode. Main product characteristics. Features and benefits. Order codes. Description A1 K2 ISOTOP ISOTOP STTH61R04TV1

Order codes Part numbers DPAK (tape and reel) PPAK (tape and reel)

STM1831. Voltage detector with sense input and external delay capacitor. Features. Applications

STTH6110TV. Ultrafast recovery - high voltage diode. Main product characteristics. Features and benefits. Order codes. Description ISOTOP ISOTOP

STTH16R04CT. Ultrafast recovery diode. Main product characteristics. Features and benefits. Description. Order codes TO-220AB TO-220FPAB

DO-15 DO-201AD STTH3R04Q STTH3R04

STTH6006W. Turbo 2 ultrafast - high voltage rectifier. Features and benefits. Description. Main product characteristics

T810H. High temperature 8 A sensitive TRIACs. Features. Applications. Description. Medium current TRIAC

L78LxxAB L78LxxAC - L78LxxC

STTH312B. Ultrafast recovery V diode. Main product characteristics. Features and benefits. Description. Order codes

AN420 Application note

STTH15L06. Turbo 2 ultrafast high voltage rectifier. Description. Features

AN1755 APPLICATION NOTE

ESDAULC5-1BF4. Low clamping and ultra low capacitance single line bidirectional ESD protection. Applications. Description.

STTH3002. Ultrafast recovery diode. Main product characteristics. Features and benefits. Description. Order codes K DOP3I STTH3002PI DO-247 STTH3002W

STPS20M60S. Power Schottky rectifier. Features. Description. High current capability Avalanche rated Low forward voltage drop High frequency operation

High brightness RGB LED array driver with local dimming and diagnostics based on the LED1642GW and STM32

Symbol Parameter Value Unit V RRM Repetitive peak reverse voltage 150 V I F(RMS) RMS forward voltage 15 A


KD A LOW DROP POSITIVE VOLTAGE REGULATOR ADJUSTABLE AND FIXED

STEVAL-MKI109V2. emotion: ST MEMS adapters motherboard based on the STM32F103RE compatible with all ST MEMS adapters. Features.

Order code Marking Package Packaging. STGB30V60DF GB30V60DF D²PAK Tape & reel STGP30V60DF GP30V60DF TO-220 Tube


74VHCT138ATTR 3 TO 8 LINE DECODER (INVERTING)

TDA7439DS. Three-band digitally-controlled audio processor. Features. Description

STPS60L30C-Y. Automotive power Schottky rectifier. Features. Description

STPS1545. Power Schottky rectifier. Main product characteristics. Features and Benefits. Description 15 A 45 V

STTH12R06. Turbo 2 ultrafast high voltage rectifier. Features. Description

LD1117A SERIES LOW DROP FIXED AND ADJUSTABLE POSITIVE VOLTAGE REGULATORS

STTH6004W. Ultrafast high voltage rectifier. Table 1: Main product characteristics I F(AV) 60 A V RRM. 400 V T j (max) 175 C V F (typ)

Obsolete Product(s) - Obsolete Product(s)

L7800 SERIES POSITIVE VOLTAGE REGULATORS

ST3L01 TRIPLE VOLTAGE REGULATOR

Obsolete Product(s) - Obsolete Product(s)

STTH5L06RL. Turbo 2 ultrafast high voltage rectifier. Main product characteristics. Features and benefits. Order codes.

K G. Order code 400 V 600 V Min. Max. P0111MA 1AA3 X 4 µa 25 µa TO-92. P0111MN 5AA4 X 4 µa 25 µa SOT-223. P0115DA 5AL3 X 15 µa 50 µa TO-92

Obsolete Product(s) - Obsolete Product(s)

STTH1210G. Ultrafast recovery - high voltage diode. Main product characteristics. Features and benefits. Description. Order codes K TO-220AC STTH1210D

7.5A LOW DROP POSITIVE VOLTAGE REGULATOR ADJUSTABLE AND FIXED. October 2002

HCF4532B 8-BIT PRIORITY ENCODER

Table 3: Absolute Ratings (limiting values) Symbol Parameter Value Unit I T(RMS)

L7800 SERIES POSITIVE VOLTAGE REGULATORS

STPS1L40M LOW DROP POWER SCHOTTKY RECTIFIER. Table 1: Main Product Characteristics I F(AV) V RRM. 1 A 40 V T j (max) 150 C V F (max) 0.

Obsolete Product(s) - Obsolete Product(s)

HCF4555B DUAL BINARY TO 1 OF 4 DECODER/DEMULTIPLEXER OUTPUT HIGH ON SELECT


STD5N20L N-CHANNEL 200V Ω - 5A DPAK STripFET MOSFET

LD1117A SERIES LOW DROP FIXED AND ADJUSTABLE POSITIVE VOLTAGE REGULATORS

ST2378E. 8-bit dual supply 1.71V to 5.5V level translator with I/O V CC ± 15KV ESD protection. General features. Description.

TEA6422 BUS-CONTROLLED AUDIO MATRIX

65 V, 100 ma NPN/PNP general-purpose transistor. Table 1. Product overview Type number Package NPN/NPN PNP/PNP Nexperia JEITA

ULTRAFAST RECTIFIER PDP ENERGY RECOVERY

ULTRAFAST RECTIFIER PDP ENERGY RECOVERY

Description. Part numbers. AB version C version Output voltage LD2980ABM30TR LD2980ABM33TR LD2980CM33TR 3.3 V LD2980ABM50TR LD2980CM50TR 5.

HCF4035B 4 STAGE PARALLEL IN/PARALLEL OUT SHIFT REGISTER

60 V, 0.3 A N-channel Trench MOSFET

L7800AB/AC SERIES PRECISION 1A REGULATORS

AN2044 APPLICATION NOTE

ST2L Very low quiescent current dual voltage regulator. Description. Features. Applications

Obsolete Product(s) - Obsolete Product(s)

RF Power Feed-Through Capacitors with Conductor Rod, Class 1 Ceramic

L79L00 SERIES NEGATIVE VOLTAGE REGULATORS

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

BCM857BV; BCM857BS; BCM857DS

M74HC20TTR DUAL 4-INPUT NAND GATE

HCF4089B BINARY RATE MULTIPLIER

2N3904 SMALL SIGNAL NPN TRANSISTOR

STTH60SW03C. Turbo 2 ultrafast high voltage rectifier. Description. Features

TURBO 2 ULTRAFAST HIGH VOLTAGE RECTIFIER

Automotive-grade 400 V internally clamped IGBT E SCIS 320 mj

Double Metallized Polypropylene Film Capacitor Radial AC and Pulse Capacitor

BAR42FILM BAR43FILM SMALL SIGNAL SCHOTTKY DIODE. Table 1: Main Product Characteristics I F(AV) 0.1 A V RRM. 30 V T j 150 C 0.33 and 0.

STTH212RL. High voltage ultrafast diode. Main product characteristics. Features and benefits. Order codes. Description DO-201AD STTH212

Obsolete Product(s) - Obsolete Product(s)

RF Power Feed-Through Capacitors with Conductor Rod, Class 1 Ceramic

Dual N-channel field-effect transistor. Two N-channel symmetrical junction field-effect transistors in a SOT363 package.

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

BSH Description. 2. Features. 3. Applications. 4. Pinning information. N-channel enhancement mode field-effect transistor

HCF4543B BCD-TO-7-SEGMENT LATCH/DECODER/LCD DRIVER

M74HCT688TTR 8 BIT EQUALITY COMPARATOR

AN4209 Application note

N-channel enhancement mode Field-Effect Transistor (FET) in a small SOT23 (TO-236AB) Surface-Mounted Device (SMD) plastic package using

RF Power Plate Capacitors for Higher Voltages, Class 1 Ceramic

M74HCT138TTR 3 TO 8 LINE DECODER (INVERTING)

M74HC147TTR 10 TO 4 LINE PRIORITY ENCODER

STPSC15H V power Schottky silicon carbide diode. Datasheet. Features A. Description. No or negligible reverse recovery

STPS1045B. Power Schottky rectifier. Description. Features

STTH10LCD06. Turbo 2 ultrafast - high voltage rectifier for flat panel displays. Description. Features

STTH3R06RL TURBO 2 ULTRAFAST HIGH VOLTAGE RECTIFIER. Table 1: Main Product Characteristics I F(AV) V RRM

Silicon carbide Power MOSFET 650 V, 90 A, 18 mω (typ., T J = 25 C) in an H²PAK-7 package. Order code V DS R DS(on) max. I D

LD A high PSRR ultra low drop linear regulator with reverse current protection. Datasheet. Features. Applications.

Features. Description. Table 1. Device summary. Order code Marking Packages Packing. STGD19N40LZ GD19N40LZ DPAK Tape and reel

TONE CONTROL AND SURROUND DIGITALLY CONTROLLED AUDIO PROCESSOR WITH AGC PS1 AGC LP L-IN1 R-IN1 L-IN2 R-IN2 L-IN3 R-IN3 L-IN4 R-IN4 L-IN5 R-IN5 L-MUX

AC and Pulse Film/Foil Capacitors Radial Potted Type

Transcription:

Application note Principles of capacitive touch and proximity sensing technology The objective of this document is to present the principles of capacitive sensing and charge transfer used in STMicroelectronics STM8T and STM8TS capacitive sensors. All devices can be configured in touch or proximity sensing. 1 Capacitive sensing overview 1.1 Sensing electrode capacitance A capacitance exists between any reference point relative to ground as long as they are electrically isolated. If this reference point is a sensing electrode, it helps to think of it as a capacitor. The positive electrode of the capacitor is the sensing electrode, and the negative electrode is formed by the surrounding area (virtual ground reference, labelled 1 in Figure 1). When a conductive object is brought into proximity of the sensing electrode, the coupling between the object and the electrode increases, together with the capacitance of the sensing electrode relative to ground. For example, a human hand will increase the sensing electrode capacitance as it approaches it. Touching the dielectric panel that protects the electrode increases its capacitance significantly. The sensing electrode can be made of any electrically conductive material, such as copper on PCBs, or transparent conductive material like Indium Tin Oxide (ITO) deposited on glass or Plexiglas. Figure 1. Coupling with hand increases the capacitance of the sensing electrode Sensing electrode 1 1 ai15544 May 2009 DocID 15625 Rev 1 1/8 www.st.com

Capacitive sensing overview AN2970 1.2 Principles of charge transfer The sensing electrode is connected to the CX pin of the STM8T or STM8TS device. The equivalent capacitance of the sensing electrode is referred to as C X. C X is fully charged with a stable reference voltage V DD. The charge on C X is transferred to a reference capacitor (C S ). C S capacitance is typically from 1000 to 100,000 times bigger than C X. The process is repeated until the voltage on C S reaches a threshold (approximately 20% of V DD ). This threshold is referred to as V TRIP. The number of transfer cycles required to reach the threshold represents the size of C X. Refer to Figure 3 and Table 1 for a representation of the charge-transfer equivalent hardware and charge-transfer sequence for a given channel. Figure 2. Depiction of channel charge-transfer hardware Table 1. Charge transfer sequence (1) Step Switch S3 Switch S2 Switch S1 Description 1 1 0 1 C S discharge 2 0 0 0 Deadtime 3 0 1 0 Charge cycle (C X charge) 4 0 0 0 Deadtime 5 0 0 1 Transfer cycle (charge transferred to C S ) 6 0 0 0 Deadtime 7 1 0 1 C X discharge 1. Step 2 to 7 are repeated until the voltage across C S reaches V TRIP threshold. 2/8 DocID 15625 Rev 1

Capacitive sensing overview Figure 3 and Figure 4 show the evolution of the C X voltage during one and five charge transfer sequences, respectively. The transfer cycle refers to the charging of C X and the transfer of the charge to the C S capacitor. The charge cycle refers to process of charging C S to V TRIP using a sequence of transfer cycles. The charge cycle duration refers to the time needed to complete one C S charge cycle when no proximity or touch (thus the longest duration of a charge cycle with the current system parameters). The charge cycles can be probed from the CS pin. It is graphically illustrated in Figure 5. Refer to Section 1.4: C S capacitor for details on how to select C S capacitors. In addition, the devices can compensate to environmental changes by tracking the average capacitance of the sensing electrode. This average value is compared to the latest charge cycle to determine whether a proximity or touch occurred. Figure 3. Voltage across C X over a full charge transfer sequence Figure 4. Voltage across C X over the first 5 charge transfers Figure 5. Charge cycle DocID 15625 Rev 1 3/8

Capacitive sensing overview AN2970 1.3 Transfer rate The transfer cycles can be performed at a default rate depending on the internal oscillator frequency. According to the device, this frequency can be modified either through OTP option bytes or by the application software. It is recommended to modify the oscillator frequency for advanced designs only. The oscillator is used to determine the rate at which the charge transfers is performed. A maximum efficiency is achieved when enough time is allowed to fully charge C X to V DD and completely transfer this charge to the C S capacitor. A transfer rate between 100 khz and 150 khz is a good choice in normal operating conditions. The default transfer rate is in this range. A serial resistor R X connected to the CX pin negatively influences the transfer cycle. This resistor improves the conductive object electrical isolation from the sensing electrode and provides additional ESD protection for the device. Typical R X value ranges from 1 to 2kΩ. Figure 4 and Figure 6 show ideal charge cycles probed from the CX pin. In Figure 4, it can be noted that the sensing electrode charges up to V DD, and that the charge cycle halts when V TRIP is reached. Figure 6. Ideal charge transfers Note: Figure 7 and Figure 8 shows non-ideal charge transfers and the resulting charge cycle. It can be noted that the sensing electrode is charged up to 2.12 V instead of V DD. By comparing Figure 8 to Figure 6, it can be noted that the offset is due to the fact that a fraction of the sensing electrode charge is not transferred to the C S capacitor. This can be corrected by decreasing either the transfer rate (oscillator frequency) or R X. Attaching a probe to the sensing electrode increases the sensing electrode capacitance by a few picofarads, depending on the probe. This has an instant negative influence on the sensitivity of the system. After a short period of time, the system automatically adjusts to compensate this change. 4/8 DocID 15625 Rev 1

Capacitive sensing overview Figure 7. Non-ideal charge transfers Figure 8. Charge cycle resulting from non-ideal charge transfers DocID 15625 Rev 1 5/8

Capacitive sensing overview AN2970 1.4 C S capacitor The function of the C S capacitor is to collect the charge from the sensing electrode. It also influences the sensitivity of the system. A bigger C S capacitor will ensure that the C X capacitance is computed with a higher resolution. This will increase the sensitivity of the device. When the STM8T and STM8TS device is powered from an AC supply voltage, the charge cycle is always synchronized with the positive zero crossings (ZC) of the AC voltage. The charge cycle starts after the zero crossing when the device is ready. The ZC feature is not available on all devices. When the device is powered from a DC supply voltage, most devices generate an internal 50 Hz sampling frequency (f SAMPLING ) and synchronize the charge cycles with this frequency (see Section 1.3: Transfer rate). The minimum and maximum charge cycle duration (t SAMPLING ) is determined by the following: Minimum charge cycle duration: every charge cycle must consist of at least 32 charge transfers. Maximum charge cycle duration: no more than 214 charge transfers are allowed in a charge cycle. A larger sensing electrode surface will require a larger C S capacitor and vice versa. Since the C X capacitance is normally unknown, it is easier to design the C S capacitor using a trialand-error method. The C S capacitor typically ranges from 10 nf to 1 µf. It can be noted that the bigger the sensing electrode, the more likely it is for noise to couple into the system. This could influence the sensitivity setting chosen for the device. 6/8 DocID 15625 Rev 1

Revision history 2 Revision history Table 2. Document revision history Date Revision Changes 04-May-2009 1 Initial release. DocID 15625 Rev 1 7/8

Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 8/8 DocID 15625 Rev 1