CAPACITIVE SENSING MADE EASY, Part 2 Design Guidelines



Similar documents
Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

PSoC Creator Component Data Sheet. Calculation accuracy 0.01 C for -200 C to 850 C temperature range

Thermistor Calculator. Features. General Description. Input/Output Connections. When to use a Thermistor Calculator 1.10

PSoC Programmer Release Notes

DESIGNING SECURE USB-BASED DONGLES

PSoC Programmer Release Notes

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

Designing an efficient Programmable Logic Controller using Programmable System On Chip

AT11805: Capacitive Touch Long Slider Design with PTC. Introduction. Features. Touch Solutions APPLICATION NOTE

AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators

AN Water and condensation safe touch sensing with the NXP capacitive touch sensors. Document information

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Output Filter Design for EMI Rejection of the AAT5101 Class D Audio Amplifier

Figure 1 FPGA Growth and Usage Trends

Product Datasheet P MHz RF Powerharvester Receiver

PSoC Programmer Release Notes

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

Application Note: PCB Design By: Wei-Lung Ho

AN2358. Manchester Decoder Using PSoC 1. Introduction. Contents. Manchester Code Principle

Comparison of 2.4-GHz proprietary RF and Bluetooth 4.0 for HIS applications Page 1 of 6

PL-277x Series SuperSpeed USB 3.0 SATA Bridge Controllers PCB Layout Guide

VJ 6040 Mobile Digital TV UHF Antenna Evaluation Board

AN1991. Audio decibel level detector with meter driver

1-Mbit (128K x 8) Static RAM

RX-AM4SF Receiver. Pin-out. Connections

CAN bus ESD protection diode

This application note is written for a reader that is familiar with Ethernet hardware design.

DISCRETE SEMICONDUCTORS DATA SHEET. dbook, halfpage M3D088. BB201 Low-voltage variable capacitance double diode. Product specification 2001 Oct 12

SiGe:C Low Noise High Linearity Amplifier

Symbol Parameters Units Frequency Min. Typ. Max. 850 MHz

SM1231 USER GUIDE SM1231 RF MODULE USER GUIDE

Interfacing Intel 8255x Fast Ethernet Controllers without Magnetics. Application Note (AP-438)

CS4525 Power Calculator

RF data receiver super-reactive ASK modulation, low cost and low consumption ideal for Microchip HCS KEELOQ decoder/encoder family. 0.

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Application Note, Rev.1.0, September 2008 TLE8366. Application Information. Automotive Power

PS25202 EPIC Ultra High Impedance ECG Sensor Advance Information

AN2866 Application note

Application Note AN:005. FPA Printed Circuit Board Layout Guidelines. Introduction Contents. The Importance of Board Layout

SKY LF: 20 MHz-3.0 GHz High Power SP4T Switch With Decoder

Application Note, V 2.2, Nov AP32091 TC1766. Design Guideline for TC1766 Microcontroller Board Layout. Microcontrollers. Never stop thinking.

PAM2804. Pin Assignments. Description. Applications. Features. Typical Applications Circuit 1A STEP-DOWN CONSTANT CURRENT, HIGH EFFICIENCY LED DRIVER

3-input EXCLUSIVE-OR gate. The 74LVC1G386 provides a 3-input EXCLUSIVE-OR function.

Capacitive Touch Technology Opens the Door to a New Generation of Automotive User Interfaces

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

ILB, ILBB Ferrite Beads

USER GUIDE. ATWINC1500B Hardware Design Guidelines - IEEE b/g/n IoT Module. Atmel SmartConnect. Introduction

PSoC Programmer Release Notes

Proximity Design Guide. Proximity Design Guide. Application Note QTAN Introduction

Evaluation Board User Guide UG-127

Simplifying System Design Using the CS4350 PLL DAC

Application Note AN-1135

256K (32K x 8) Static RAM

INTEGRATED CIRCUITS. 74LVC08A Quad 2-input AND gate. Product specification IC24 Data Handbook Jun 30

TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS

AND9015. A Solution for Peak EMI Reduction with Spread Spectrum Clock Generators APPLICATION NOTE. Prepared by: Apps Team, BIDC ON Semiconductor

How to design SMPS to Pass Common Mode Lightning Surge Test

Planar PIN diode in a SOD323 very small plastic SMD package.

DISCRETE SEMICONDUCTORS DATA SHEET M3D848. CGD MHz, 20 db gain power doubler amplifier. Product specification 2002 Oct 08

SPREAD SPECTRUM CLOCK GENERATOR. Features

Quad 2-input NAND Schmitt trigger

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

Precision Analog Designs Demand Good PCB Layouts. John Wu

AP KHz, 2A PWM BUCK DC/DC CONVERTER. Description. Pin Assignments V IN. Applications. Features. (Top View) GND GND. Output AP1509 GND GND

Capacitive Sensing Solutions from Silicon Labs. In this section, we are going to cover the Silicon Labs Capacitive Sensing solutions.

Miniature Surface-Mount DAA for Audio or Data Transfer XE0402LCC BLOCK DIAGRAM

AN BGU8009 Matching Options for 850 MHz / 2400 MHz Jammer Immunity. Document information. Keywords

HEF4011B. 1. General description. 2. Features and benefits. 3. Ordering information. 4. Functional diagram. Quad 2-input NAND gate

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board

Using Current Transformers with the 78M661x

TCS230 PROGRAMMABLE COLOR LIGHT TO FREQUENCY CONVERTER TAOS046 - FEBRUARY 2003

AN2680 Application note

AN3359 Application note

The 74LVC1G11 provides a single 3-input AND gate.

10 ma LED driver in SOT457

USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices

SIMPLE TECHNIQUES TO IMPROVE SOLAR PANEL EFFICIENCY USING A MICROCONTROLLER OR SOC

Measurement of Capacitance

Medium power Schottky barrier single diode

PESDxU1UT series. 1. Product profile. Ultra low capacitance ESD protection diode in SOT23 package. 1.1 General description. 1.

PRTR5V0U2F; PRTR5V0U2K

AN Designing RC snubbers

RFID Receiver Antenna Project for Mhz Band

How To Make An Electric Static Discharge (Esd) Protection Diode

BAT54 series SOT23 Schottky barrier diodes Rev. 5 5 October 2012 Product data sheet 1. Product profile 1.1 General description

ICS SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

White Paper Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces

Optimised For Audio Analogue PCB design for the digital era.

AC-DC Converter Application Guidelines

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

SC Series: MIS Chip Capacitors

S112-XHS. Description. Features. Agency Approvals. Applications. Absolute Maximum Ratings. Schematic Diagram. Ordering Information

SKY LF: GHz Two-Way, 0 Degrees Power Divider

etape Continuous Fluid Level Sensor Operating Instructions and Application Notes

Signal Integrity: Tips and Tricks

AAT001-10E TMR Angle Sensor

AND8229/D. An Introduction to Transient Voltage Suppression Devices APPLICATION NOTE

Transcription:

CAPACITIVE SENSING MADE EASY, Part 2 Design Guidelines By Pushek Madaan and Priyadeep Kaur, Cypress Semiconductor Corp. When it comes to capacitive sensing design, layout plays a crucial role. Giving importance to layout not only aids in superior performance (lower noise and higher signal) but also helps in achieving EMI/EMC compliance. It should be kept in mind that a good layout helps in realizing the following two objectives: 1. Higher finger capacitance and lower parasitic capacitance: The signal in a given system is the sum of signals due to parasitic capacitance and those due to finger capacitance. It is important to reduce parasitic capacitance because, in order to increase a particular signal within a fixed range, the other signal must always be reduced to avoid saturating the signal. 2. Lower noise: This helps in making the system more reliable and avoid false detects. Some of the key guidelines for schematic and layout include: Sensor shape and size Capacitive sensing sensors are in demand because of their innovative shape which gives the design a unique and slender look. Understanding what imposes the limitations on selecting a particular shape is important because it affects the performance parameters of the design. Sensors laid on a PCB can be divided into 4 different categories: 1. Independent sensors or buttons The most widely used shape is the button, which is either circular or square. However, designers can chose their own shapes, depending upon the board area and other design constraints. This shape is recommended from silicon manufacturers because of the geometry of a finger is also somewhat circular in nature. An important consideration when choosing a sensor shape is to avoid sharp corners: Sharp corners are more sensitive and hence the sensor response w.r.t touch position/direction would be non-linear. This is an unintended behavior Corners radiate more EMI, which may cause compliance issues. Corners should be rounded wherever required. Figure 1 shows some of the recommended patterns. CAPACITIVE SENSING MADE EASY, Part 2 Page 1 of 8

Figure 1. Recommended sensor patterns The size of the sensor determines the amount of finger capacitance. For a better SNR, finger capacitance should be as high as possible but because of design constraints like overlay thickness, the type of materials used, etc., finger capacitance typically lies in the range of 0.1pF to 1pF. When a user touches the sensor, the finger acts like the second electrode of a parallel plate capacitor, the sensor pad being the first. Thus, the following formula gives a fair idea of how the sensor size affects the finger capacitance: Where, є o is absolute permeability = 8.854 x 10e-12 є r is relativity permeability and is widely known as the dielectric constant dielectric constant of overlay. A is the area of parallel plate capacitor area of the sensor occupied by finger d is the overlay thickness CAPACITIVE SENSING MADE EASY, Part 2 Page 2 of 8

Figure 2. Finger capacitance for different button size and overlay thickness Fig. 2 shows the finger capacitance with the change in size of the button. One can safely assume that by increasing the sensor area, finger capacitance can be increased but increasing it more than the finger size will not have any effect because the maximum area will always be limited by the area of the second plate; i.e., the finger. 1. Proximity sensors Proximity sensors are generally used for lowering the power consumption in any application. The sensing device can be put to sleep and a proximity sensor can be implemented to sense the approach of hand towards the keypad, thus activating the required functions like backlighting and keypad scanning. Shape and size: Proximity sensing requires that the electric field be projected to much larger distances than buttons or sliders. This demands the sensor area be large; however, there is still a constraint on sensor size imposed by the parasitic capacitance of the sensor which should be as low as possible. This necessitates the implementation of the sensor in such a way that we get a high electric field strength at larger distances while keeping the sensor area as small as possible. Loops with trace thickness of 2-3 mm have proved to be the most successful implementation by far. The rule of thumb for such loops is to have the loop diagonal/diameter equal to the proximity distance required. CAPACITIVE SENSING MADE EASY, Part 2 Page 3 of 8

Figure 3: Proximity sensor with shield electrode Use of shield: Another way of increasing the electric field projection is through the use of a shield. In Figure 3, there is a ground pattern surrounding the sensor (blue area representation of hatch pattern). This hatch is generally connected to ground. In the case of proximity sensors, this leads to a lower electric field strength at greater distances, as shown below. Capacitive sensing controllers generally come with a shield electrode pin which is driven with the same voltage as that of the sensor. For proximity sensors, the hatch should be connected to this shield electrode. 2. Linear / Radial slider Sliders are gaining popularity for volume or intensity control. These can be laid out in different shapes, including linear and circular. A slider is actually a group of multiple independent sensors placed physically adjacent to each other. Actuation of one sensor results in the partial actuation of adjacent sensors. The actual position of the slider is found by computing the centroid location of the set of activated sensors (see Figure 4). Figure 4. Linear slider layout pattern CAPACITIVE SENSING MADE EASY, Part 2 Page 4 of 8

For the centroid calculation, a minimum of 2 sensors must be activated when they are touched. To meet this requirement, the size of the segments (i.e., independent sensors) in the slider have to be reduced. This increases the number of segments required to achieve a particular length. Figure 4B shows another arrangement in which sensors are laid in a chevron or W pattern. This pattern has the advantage of having comparatively bigger segments while still being enabling a finger to touch multiple segments when placed or swiped on the slider. Similar to a linear slider, a radial slider can also be designed. The only difference between the two is the arrangement of the segments and the software algorithm because a circular slider does not have a starting or ending point. Care must be taken in the case of a circular slider that the sensors are not connected at the center. 3. Track pad As noted in the previous section, a linear slider can only locate a finger in one dimension, thus by arranging two linear sliders in X and Y pattern, we can locate a finger s position in both X and Y dimensions. A typical arrangement of such a sensor pattern is shown in Figure 5. Figure 5. Trackpad sensor arrangement In this arrangement, sensors are laid in the form of a diamond pattern. All the diamonds in a single row are connected together to act as a single segment of the Y slider. Similarly, diamonds in a single column are connected to act as a single segment of the X slider. The resolution and linearity required determine the size of the diamond. A typical diamond size is 4 mm. While increasing the size further would certainly reduce the number of pins required, the resulting response would not be linear. Routing considerations While placing the sensors on a PCB, care must be taken that no communication or switching signals are routed in parallel to sensor traces as this will introduce crosstalk or switching noise on the sensor traces. This problem can be dealt in a number of ways: 1. Routing on a different layer: On a multilayer board, one layer can be used only for routing sensor traces while another layer is used for switching signals. Care must be taken that the two layers are isolated with a Vdd or Gnd layer between them. 2. Proper allocation of pinouts: Group sensors on one side of the IC and LED/communication signals on the other. This will ease the routing of traces by providing considerable space between the sensor and other switching signals. 3. Shielding: Sometimes it is not feasible to have more than a 2-layer PCB because of cost constraints. It may also not be possible to group sensor and LED/communication signals separately because of hard-wired pinouts. In such cases, one must shield the sensor traces with ground traces to reduce the effect of crosstalk. 4. Orthogonal routing: If nothing else can be done, traces should cross orthogonally instead of running parallel to limit the effect of crosstalk to a minimum. CAPACITIVE SENSING MADE EASY, Part 2 Page 5 of 8

Ground considerations In order to make the design immune to environmental noise, all sensors should be surrounded by ground. Placing ground in close proximity provides a distinct advantage by reducing the noise significantly; however, it also increases the parasitic capacitance of the sensor. This goes against our objective. This problem can be resolved by compromising between the two. Use of hatched/meshed ground patterns help in reducing the noise. They reduce noise less than a solid ground pattern but keep parasitic capacitance in control (see Figure 6). Another important consideration is the button-to-ground or segment-to-segment clearance. The following golden rule can be used when deciding upon the button-to-ground clearance: Clearance (min: 0.5mm; max: 2mm) = Overlay thickness (acrylic) This means that the clearance between the sensor and ground or segment and segment should be equal to the overlay thickness (in case of acrylic) with the minimum clearance being 0.5 mm and the maximum being 2 mm. Ensure that the ground surrounding the sensor is connected to the IC ground to keep the current loop area as small as possible. Figure 7 shows an example where ground is not connected properly. CAPACITIVE SENSING MADE EASY, Part 2 Page 6 of 8

Violating this not only nullifies the effect of grounding but can also cause both immunity and emission problems. Radiated Emissions Any trace laid on the PCB can act as an antenna which is capable of both radiating and receiving. Using a Pseudo Random Sequence (PRS) generator for switching the sensor traces helps in reducing emissions. Additional circuitry is required to make the system immune to RF noise from the surroundings. Having filters in software does help in improving the noise response but the first attempt should always be to not to let the noise enter into the device in the first place. This can be achieved by placing a simple series resistor of 560 Ω next to the sensor pin. The pin capacitance of the sensor and the resistor together form a simple low pass filter which filters out RF noise in the range of several 100 MHz and does not let it to enter into the device. Noise which is less than 100 MHz is not a concern to us because such signals need an antenna with a trace length of several meters (l = lambda/4). Placing the series resistor not only helps in increasing the immunity but also reduces the surges of current required to charge the sensor, thus reducing the switching noise on Vdd which in turn reduces the emission. Conducted Immunity and Emissions Proper usage of the decoupling capacitor and small current loop helps in keeping conducted immunity and emissions under control. For noisy systems, a passive filter or a ferrite bead on the power supply line helps in keeping the noise level under control. By following the guidelines mentioned above, one can safely improve the SNR and have a reliable working board. Tuning for Production So far, we have discussed various aspects of a capacitive touch sensor design, various types of capacitive sensing technologies, which to use for which purpose, and which sensor patterns are appropriate. We also discussed the performance and reliability related parameters. To address board-to-board and device-to-device variations due to production, tuning and calibration of these parameters is required for optimum performance in the field. Tuning is one of the largest concerns for capacitive keypad designers. Engineers have always been wary of the apparent hard and time-consuming nature of this process. While it is true that there are many considerations to be made when calibrating a capacitive keypad, the process becomes much easier once we understand the variations to be considered and there implications. In the next part of this series, we ll discuss how to accommodate and account for variation to create a reliable application. CAPACITIVE SENSING MADE EASY, Part 2 Page 7 of 8

Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone: 408-943-2600 Fax: 408-943-4730 http://www.cypress.com Cypress Semiconductor Corporation, 2007. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. PSoC Designer, Programmable System-on-Chip, and PSoC Express are trademarks and PSoC is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. CAPACITIVE SENSING MADE EASY, Part 2 Page 8 of 8