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

Similar documents
APPLICATION NOTE. AT12405: Low Power Sensor Design with PTC. Atmel MCU Integrated Touch. Introduction

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

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction.

APPLICATION NOTE. Authentication Counting. Atmel CryptoAuthentication. Features. Introduction

AT88CK490 Evaluation Kit

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

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

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

CryptoAuth Xplained Pro

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features

AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

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

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

APPLICATION NOTE. RF System Architecture Considerations ATAN0014. Description

AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

formerly Help Desk Authority Quest Free Network Tools User Manual

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction

UM Vertical Alignment (VA) displays and NXP LCD drivers

Dell One Identity Cloud Access Manager How to Configure vworkspace Integration

AVR126: ADC of megaavr in Single Ended Mode. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AN1991. Audio decibel level detector with meter driver

Spotlight Management Pack for SCOM

AT91SAM ARM-based Flash MCU. Application Note

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

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

Spotlight Management Pack for SCOM

CAPACITIVE SENSING MADE EASY, Part 2 Design Guidelines

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

AN3353 Application note

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

USER GUIDE. ZigBit USB Stick User Guide. Introduction

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview

AVR315: Using the TWI Module as I2C Master. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

USER GUIDE EDBG. Description

Dell InTrust Preparing for Auditing Cisco PIX Firewall

AVR311: Using the TWI Module as I2C Slave. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

More Secure, Less Costly IoT Edge Node Security Provisioning

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

SAMA5D2. Scope. Reference Documents. Atmel SMART ARM-based MPU ERRATA

Quest vworkspace Virtual Desktop Extensions for Linux

APPLICATION NOTE. AT05558: Wireless Manufacturing Test Kit. Atmel ATmega256RFR2. Description. Features

New Features and Enhancements

APPLICATION NOTE. AT17284: Proximetry Cloud Based Smart Plug User Guide. SMART ARM-based Microcontrollers. Introduction. Features

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Dell Statistica. Statistica Document Management System (SDMS) Requirements

Dell Migration Manager for Enterprise Social What Can and Cannot Be Migrated

Dell Statistica Document Management System (SDMS) Installation Instructions

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

AVR2004: LC-Balun for AT86RF230. Application Note. Features. 1 Introduction

Introduction to Version Control in

SC Series: MIS Chip Capacitors

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description

Dell Statistica Statistica Enterprise Installation Instructions

SMS : Surface Mount, 0201 Zero Bias Silicon Schottky Detector Diode

Mounting instructions for SOT78 (TO-220AB); SOT186A (TO-220F)

Security Analytics Engine 1.0. Help Desk User Guide

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Evaluation Board for the AAT1275 Boost Converter with USB Power Switch

Atmel SMART ARM Core-based Embedded Microprocessors

AN LPC24XX external memory bus example. Document information

Dell One Identity Cloud Access Manager How To Deploy Cloud Access Manager in a Virtual Private Cloud

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

RFRB0413 RF Ranging Base (Preliminary)

AN Single stage 5-6 GHz WLAN LNA with BFU730F. document information

AN3359 Application note

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

Using the RS232 serial evaluation boards on a USB port

Dell InTrust Preparing for Auditing CheckPoint Firewall

Dell One Identity Cloud Access Manager How to Configure for High Availability

Dell Unified Communications Command Suite - Diagnostics 8.0. Data Recorder User Guide

Transcription:

Touch Solutions AT11805: Capacitive Touch Long Slider Design with PTC APPLICATION NOTE Introduction Slider is a one-dimensional sensor that detects the linear movement of a finger during touch. Sliders are typically used in applications that require adjusting level of a specific user parameter or scrolling menus such as, display brightness or volume in an audio application. Typically, applications utilize sliders of length between 20 to 60mm, but for some applications, it can be more natural to have a longer slider to match the rest of the interface. Long sliders also make it easier to make subtle value adjustments. This application note provides guidelines to design long slider sensors with PTC. Features This application note features the following contents: Challenges with a standard slider Design guidelines Layout recommendations

Table of Contents Introduction...1 Features... 1 1. Abbreviations and Definitions... 3 2. Standard Slider...4 3. Design Guidelines...5 3.1. Coplanar (One-layer) Design...5 3.2. Flooded-X (Two-layer) Design...6 3.3. Dead Band...8 4. Noise Performance...9 5. PCB Layout...10 5.1. Flooded-X Spatial Interpolated Slider...10 5.2. Coplanar and Flooded-X Resistive Interpolated Sliders...11 6. References... 12 7. Revision History...13 2

1. Abbreviations and Definitions Channel: One of the capacitive points at which the controller can detect capacitive change. Coplanar (Single Layer) design: Both X and Y electrodes fabricated on the same layer of the PCB in mutual-capacitance sensor design. Electrode: A patch of conductive material on the substrate that forms the sensor. An electrode is usually made from copper, carbon, silver ink, or Indium Tin Oxide (ITO). Flooded-X (Two-Layer) design: Both X and Y electrodes are distributed in two layers of the PCB in mutual-capacitance sensor design. Mutual-capacitance Sensor: A sensor with connections to two parts of the sensor; an X (transmit) electrode, a Y (receive) electrode. The mutual capacitance from X to Y is measured by the controller. One-dimensional Sensor: A sensor that detects the linear movement of a finger during touch (along a single axis). Typical implementation of one-dimensional sensor is a slider. Peripheral Touch Controller (PTC): This is a microcontroller peripheral which acquires signals to detect touch on capacitive sensors. Resistively Interpolated Sensor: A type of sensor that uses physical resistors to electrically interpolate the electrodes. Self-capacitance Sensor: A sensor with only one direct connection to the sensor controller. A selfcapacitance sensor tends to emit electric fields in all directions. Sensor: A component that detects the touch. Sensors consists of one or more electrodes. It can be key, slider, or wheel. Spatially Interpolated Slider: A type of sensor that uses the shape of the electrodes to spatially interpolate the electric fields above the sensor. 3

2. Standard Slider PTC QTouch library supports design of sliders using both self and mutual capacitance methods. Self-capacitance acquisition method is suitable for designing small sliders (typically 20 60mm). PTC QTouch library supports only three channel slider for self-capacitance method. To design long slider sensor with self-capacitance method, the size of the sensor electrodes needs to be increased. Larger sensor electrodes will have higher self-capacitance. This may saturate the sensor exceeding the maximum limit of electrode capacitance measurable by PTC. Hence it is not suitable to design long sliders using self-capacitance method. Mutual capacitance slider sensor is constructed from a series of electrodes located in close proximity to each other. All sensor electrodes are directly connected to X lines of the chip along with a common Y line. Using standard slider techniques, the number of series electrodes are used to determine the physical length of the sensor. PTC QTouch library can be used to create a mutual capacitance slider using between three to eight channels. A slider with approximately 68mm length can be achieved by using eight electrodes with 8mm width and a gap of 0.5mm between the electrodes. It is possible to design mutualcapacitance sliders much longer than 68mm when hardware interpolation techniques are used. 4

3. Design Guidelines The below sections describes the guidelines to design mutual-capacitance sensor patterns for long slider. Both the One-layer (Coplanar) and Two-layer (Flooded X) patterns can be used to design long slider sensor. Schematic and PCB layout guidelines for QTouch PTC design can be referred in the application note PTC Robustness Design Guide in sections Schematic Design and PCB Design. 3.1. Coplanar (One-layer) Design In coplanar design, both X and Y electrodes are fabricated on the same layer of the PCB. The length of a coplanar slider can be extended marginally by increasing the gap between each key, but the response will become increasingly non-linear with signal dropouts. The field strength decreases on a sensor electrode before it starts to rise on the next. Figure 3-1 Capacitive Effect for Two Widely Seperated Sensor Keys Net Response Channel Response However, it is possible to extend the interpolation between each channel by introducing a series of subelectrodes, each separated by a resistor. Instead of a single segment per channel, each channel in the slider is formed by one or more segments. The extra segments are created using resistive dividers on the X lines as shown in the following figure. Figure 3-2 Use of Extra Segments to provide Interpolation on a Long Slider Net Response Channel Response X0 X1 X2 Y0 This arrangement provides smooth transition between channels as the users move their finger along the sensor electrodes. Up to seven extra segments can be used between channels to achieve the required sensor length. It is possible to achieve 350mm slider length with this resistive interpolation method. The following figure depicts the dimension of Resistively Interpolated sensor design. 5

Figure 3-3 One-layer (Coplanar) Long Slider (Resistively Interpolated) L Rtotal typically 2kΩ to 10kΩ Xn-1 Y width Gap Between Xs 6-8mm Xn-2 X0 T = Front panel thickness 3.2. Flooded-X (Two-layer) Design Flooded-X two-layer method distributes the X and Y electrodes across two layers of substrate. Two-layer (Flooded-X) long slider sensor can be designed using two methods: 1. Spatial Interpolation 2. Resistive Interpolation. 3.2.1. Spatial Interpolation It uses toothed electrodes to interpolate the capacitive change spatially as a finger moves across the sensor. The length of the slider can be increased by stretching the interleaving teeth between segments. It is possible to achieve up to 200mm slider with spatial interpolation method. The important point to consider while stretching the segments is that the touch surface area of two electrodes at each point along the slider. When moving left to right, there should be a linear decrease in touch area of the left electrode and a corresponding linear increase in area of the right electrode. The following figure depicts the dimension of Spatially Interpolated sensor design. Figure 3-4 Two-layer Long Slider (Spatially Interpolated) To design a long slider, the number of interleaving teeth between segments can be increased to achieve a maximum width of 4mm between the two consecutive teeth. Tip of the tooth should not be stretched extremely thin. Thinner the tip of the tooth, lesser will be the touch surface area towards the edge of each segment. This would cause a drop in signal while moving between segments. Minimum tooth width should be around 0.25mm to get the sufficient surface area at the edge of the teeth. 6

Using a two-layer spatially interpolating electrode array to make much longer slider (more than 200mm) is not advisable. Although it is possible to design longer sliders this way, the complexity involved in such sensor design favors the use of a resistively interpolated slider. 3.2.2. Resistive Interpolation Similar to one layer long slider, resistive interpolation can be used to design two-layer long sliders. To increase the length of sensor, extra segments are created using resistive dividers on the X lines. The segments can be designed such that they are both spatially as well as resistively interpolated. Up to six extra segments can be added between channels to achieve the required sensor length. Resistive interpolation method can achieve a slider length of up to 300mm. Figure 3-5 Two-layer Long Slider (Resistively Interpolated) 3.2.3. Front Panel Thickness Flooded-X sensor design can support front panel of 0.5 to 2mm in thickness. The front panel should have sufficiently high dielectric constant. The dielectric constants of some common materials are indicated in the following table. Table 3-1 Dielectric Constants of Common Materials Material Dielectric Constant Air 1 Common glass 7.8 Pyrex Glass 4.8 Lexan 2.9 Polyethylene 2.3 Polystyrene 2.6 FR-4 5.2 Plexiglas 2.8 PVC, rigid 2.9 7

Material Dielectric Constant Mylar 3 Nylon 3.2 Teflon 2.1 3.3. Dead Band Dead band refers to the inactive area on both ends of the slider where no change in positions are reported on touch. If you have a touch contact only on an end channel and no capacitance change on adjacent channel, there is no second data to use for position interpolation calculation. The reported position will remain same. For slider with a position resolution of 8 bits (position 0 255), touch in the dead band area shows position 0 on one end and position 255 on the other end of slider. Sliders may have dead band area of around 10% of the length of the slider on both sides. For example, a 100mm slider may have a dead band of around 10mm each on both sides. For longer slider with standard sensor design techniques, the dead band area will be slightly larger. If a 300mm slider is designed, ~30 mm (10% of the total length of the slider) may be inactive (dead band) on both ends. Thus for a 300mm slider, approximately 60mm would be unusable. Dead bands of such considerable length would be undesirable in case of applications with stringent space constraints. Optimizing the length of end channel electrodes helps to reduce the dead bands. For a desired length of slider, length of the end channels and middle channels can be calculated as follows. End Channel Middle Channel Middle Channel. Middle Channel End Channel middle_channel_length = (slider_length*1.25)/(no_of_channels-1) end_channel_length = [slider_length-(middle_channel_length*(no_of_channels-3))]/2 Note: 1. At least one extra segment should be present between End Channel and Middle Channel. 2. R total (total resistance between channels) should be same for every channels (same R total value should be used for both end channels and middle channels). Sliders designed based on the above calculation can have size of dead bands reduced to 3% instead of 10% at both ends. Figure 3-6 Channel Measurements for a 240mm Slider with Seven Channels 240mm Rtotal = 6kΩ Rtotal = 6kΩ Rtotal = 6kΩ Rtotal = 6kΩ Rtotal = 6kΩ Rtotal = 6kΩ X0 X1 X2 X3 X4 X5 X6 End Channel (20mm) Middle Channel (50mm) Middle Channel (50mm) Middle Channel (50mm) Middle Channel (50mm) End Channel (20mm) 8

4. Noise Performance Noise performance depends on the sensor design, ground shielding, power supply, and the end target environment. Better noise performance can be achieved by complying with the general rules and recommendations for sensor designs. For better noise performance with long sliders, Flooded-X resistive interpolated slider sensor is preferred compared to a coplanar sensor. The noise robustness of the system can be improved by adjusting the software parameters in PTC QTouch library namely Filter Level, Auto Oversampling, Prescaler, Sense Resistor, and Acquisition Frequency Mode. Refer QTouch Library Peripheral Touch Controller User Guide for more details about PTC QTouch library and its associated parameters. Refer PTC Robustness Design Guide for additional information on Sensor Tuning for high noise immunity. 9

5. PCB Layout 5.1. Flooded-X Spatial Interpolated Slider Figure 5-1 Top Layer Figure 5-2 Bottom Layer 10

5.2. Coplanar and Flooded-X Resistive Interpolated Sliders Figure 5-3 Top Layer Figure 5-4 Bottom Layer 11

6. References [1]. BSW Touch Sensor Design Guide - http://www.atmel.com/images/doc10752.pdf [2]. SAM D Peripheral Touch Controller User Guide - http://www.atmel.com/images/atmel-42195- QTouch-General-Library-Peripheral-Touch-Controller_User-Guide.pdf [3]. PTC Robustness Design Guide - http://www.atmel.com/images/atmel-42360-ptc-robustness- Design-Guide_ApplicationNote_AT09363.pdf 12

7. Revision History Doc Rev. Date Comments 42479B 07/2015 Updated document title to Capacitive Touch Long Slider Design using PTC. 42479A 06/2015 Initial document release. 13

Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 www.atmel.com 2015 Atmel Corporation. / Rev.: Atmel, Atmel logo and combinations thereof, Enabling Unlimited Possibilities, QTouch, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and other countries. Other terms and product names may be trademarks of others. DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. SAFETY- CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death ( Safety-Critical Applications ) without an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.