Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
ID 411C: Capacitive Touch User Interfaces and Hardwarebased Solutions Renesas Electronics America Inc. Nelson Quintana Senior Manager, Marketing 12 October 2010 Version 1.2 © 2010 Renesas Electronics America Inc. All rights reserved. Mr. Nelson Quintana Senior Manager, Product Marketing Business Development for White Goods and Small Appliance Market Segments heavily focused on User Interface Applications Renesas R8C/3xT Capacitive Touch MCU Roadmap Definition Responsible for Renesas 8-/16-bit MCU Strategy in the Americas PREVIOUS EXPERIENCE: Over nine years at NEC Electronics America as a Field and Technical Application Engineer for 8-bit and 16-bit Microcontroller products and Development tools BSEE in Digital Design with concentration in Microprocessor/Microcontroller systems from San Francisco State University 2 © 2010 Renesas Electronics America Inc. All rights reserved. Renesas Technology and Solution Portfolio Microcontrollers & Microprocessors #1 Market share worldwide * ASIC, ASSP & Memory Advanced and proven technologies Solutions for Innovation Analog and Power Devices #1 Market share in low-voltage MOSFET** * MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010 ** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis). 3 © 2010 Renesas Electronics America Inc. All rights reserved. Renesas Technology and Solution Portfolio Microcontrollers & Microprocessors #1 Market share worldwide * Solutions for Innovation ASIC, ASSP & Memory Advanced and proven technologies Analog and Power Devices #1 Market share in low-voltage MOSFET** * MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010 ** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis). 4 © 2010 Renesas Electronics America Inc. All rights reserved. Microcontroller and Microprocessor Line-up Superscalar, MMU, Multimedia High Performance CPU, Low Power High Performance CPU, FPU, DSC Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display Legacy Cores Next-generation migration to RX General Purpose Up to 10 DMIPS, 130nm process 350 uA/MHz, 1uA standby Capacitive touch 5 © 2010 Renesas Electronics America Inc. All rights reserved. Ultra Low Power Embedded Security Up to 25 DMIPS, 150nm process Up to 25 DMIPS, 180, 90nm process 190 uA/MHz, 0.3uA standby 1mA/MHz, 100uA standby Application-specific integration Crypto engine, Hardware security Microcontroller and Microprocessor Line-up R8C Superscalar, MMU, Multimedia Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive Capacitive Up to 500 DMIPS, 150 & 90nm process High Performance CPU, Low Power 600uA/MHz, 1.5 uA standby Touch Solution Medical, Automotive & Industrial High Performance CPU, FPU, DSC Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display Legacy Cores Next-generation migration to RX General Purpose Up to 10 DMIPS, 130nm process 350 uA/MHz, 1uA standby Capacitive touch 6 © 2010 Renesas Electronics America Inc. All rights reserved. Ultra Low Power Embedded Security Up to 25 DMIPS, 150nm process Up to 25 DMIPS, 180, 90nm process 190 uA/MHz, 0.3uA standby 1mA/MHz, 100uA standby Application-specific integration Crypto engine, Hardware security Innovation Portable Consumer Appliances Touch Screen Phone Medical 7 © 2010 Renesas Electronics America Inc. All rights reserved. Office Equipment Touch controllers that fit your products best Renesas’ hardware-assisted touch sensing MCU is ‘ahead of its class’ for providing full system control and overall lower power consumption without sacrificing touch performance 8 © 2010 Renesas Electronics America Inc. All rights reserved. Agenda Key Reasons to Use Capacitive Touch Typical Uses Methods and Design Considerations Solutions Available Renesas Solution Key features Benefits of hardware-assisted touch Tools Target Applications Roadmap Q&A 9 © 2010 Renesas Electronics America Inc. All rights reserved. Key Takeaways By the end of this session you will be able to: Know about market trends in HMI technologies Understand types of capacitive touch solutions available Identify pros and cons of hardware and software-based solutions Recognize the benefits of Renesas’ touch solution 10 © 2010 Renesas Electronics America Inc. All rights reserved. Key Reasons for Using Capacitive Touch Better Aesthetics Higher Reliability 11 © 2010 Renesas Electronics America Inc. All rights reserved. Key Reasons for Using Capacitive Touch (2) Easier Maintenance Controls Reusability 12 © 2010 Renesas Electronics America Inc. All rights reserved. Typical Uses of Capacitive Touch Interfaces Keys Wheels Touch Screens 13 © 2010 Renesas Electronics America Inc. All rights reserved. Sliders Capacitive Touch Detection Methods Mutual Capacitance * Power Consumption: Medium/High Emissions: Medium/High Immunity: Medium/High Self Capacitance * Power Consumption: Low Emissions: Low Immunity: Medium * Attributes may vary depending on implementation 14 © 2010 Renesas Electronics America Inc. All rights reserved. Question What are typical challenges with touch design? Answer: Touch sensitivity, noise, response time, and debugging 15 © 2010 Renesas Electronics America Inc. All rights reserved. Design Considerations PCB layout Surface overlay Calibration and tuning Drift compensation Filtering Patents Layout Guidelines Overlay Sensor Patterns/Shape Sensor underneath panel d k (dielectric constant) 16 © 2010 Renesas Electronics America Inc. All rights reserved. MCU-based Capacitive Touch Solutions1 MCU Suppliers Technology “Names” Main Detection Method HardwareAssisted Detection2 Types of Solutions Available Renesas Series Capacitance Voltage Division Self-capacitance Yes Touch MCU Atmel Charge Transfer Technology (QTouch and QMatrix) Self- and Mutualcapacitance Yes (MaxTouch) Touch MCU; Sw Library Cypress 1)CapSense Successive Approximation (CSA) 2)CapSense Sigma-Delta (CSD) Mutualcapacitance No Touch MCU Freescale 1)Advanced Touch Logic (ATL) 2)Capacitive Turbo Sensing (CTS) Self-capacitance No Sw Library Microchip Relaxation Oscillator Self-capacitance No Touch MCU; Sw Library ST RC Acquisition Self-capacitance No Sw Library 1 Information based on information available through public websites as of Sep 2010 to Renesas MCU-based solution 2 Comparable Software-based solution impacting overall performance and power consumption 17 © 2010 Renesas Electronics America Inc. All rights reserved. Benefits of Renesas Capacitive Touch Solution 1 Single-chip MCU Solution 2 Specialized Touch Hardware 3 Low Power Consumption Capacitive Touch and System Control Sensor Control Unit (SCU) frees up CPU Standby Modes and Full Operation 4 Low System Cost Minimum External Components 5 Flexible and Easy Optimized API, Advanced Debug and Full Support 18 © 2010 Renesas Electronics America Inc. All rights reserved. R8C/3xT Single-chip Solution System Control: LED’s, buzzer, communication, analog inputs, safety Touch Control: Keys, sliders, wheels configurations CPU DTC RAM Thermometer Flash Memory I²C/SPI/LIN COMM Speaker Timers Oscillator Debug LVD GPIO POR Display 19 A/D © 2010 Renesas Electronics America Inc. All rights reserved. Sensor Control Unit R8C/3xT .. . R8C/3xT Detection Mechanism Simplified Connection 1 “VCHxA” Charge Cc Rr CHxA Cx (touch) > Cx (no touch) CH0 Cr 2 Cx Discharge Cc CHxB Measure “VCHxA” Voltage Vc Cr + Cx Vth Rc 3 Counter Cr VCHxA = CHxC Cc n 4 VCHxA < Vth ? 5 Get discharge count Voltage VCHxA No Touch Threshold Voltage VCHxA Touch Time SCU handles all the sequencing and timing Discharge Count 20 © 2010 Renesas Electronics America Inc. All rights reserved. Sensor Control Unit (SCU) 1 2 3 4 Control and Error Management Measurement and Sequencing/Scanning Noise Countermeasure Data transfer Sensor Control Unit (SCU) 1 Trigger Signal Trigger control block Clock Count source control block 1 1 Status counter (5-bits) 2 Timing variable counter 1 Channel control counter Status decoder Measurement block Secondary counter 1 Channel 1 control block Channel Selection Touch Signal 2 3 2 4 Primary counter Sensor DMA Data buffer 4 4 Transfer request control block Interrupt control block 21 © 2010 Renesas Electronics America Inc. All rights reserved. To RAM DTC Request 1 INT Request Automated Scanning Software or hardware triggered Single or multiple channels Ascending or descending sequence Interrupt on scan completion Sequence Start Measure Ch 0 Measure Ch 1 Trigger R8C/33T Timer RC Measure Ch 3 SCU /SCUTRG Measure Ch 2 Trigger Control Block Measure Ch 4 SCU Interrupt SCUCR0 22 © 2010 Renesas Electronics America Inc. All rights reserved. Status Decoder R8C/3xT Low CPU Bandwidth CPU used 100% in software solution CPU in R8C/3xT Fully stopped Or system functions Less than 15% CPU usage CPU Active (Touch Scanning) Softwarebased solution CPU CPU R8C/3xT Option A R8C/3xT Option B 23 CPU Active (System Functions) Not Operating SCU Scanning + Data Transfer CPU System Functions SCU Scanning + Data Transfer CLK … © 2010 Renesas Electronics America Inc. All rights reserved. CPU Active (Touch Post Processing) Less than 15% of total CPU time (20MHz) R8C/3xT Low Power Consumption T2=340uS T1=100mS Touch Detection Post Processing T3 =200uS T3 =200uS T2=340uS T1=100mS Touch Detection Post Processing Current Time Timer INT Timer INT SCU Standby (Wait Mode) SCU CPU Standby (Wait Mode) SCU CPU Clock Source Low-speed OCO High-speed OCO High-speed OCO Peripheral Clock 125kHz 5MHz 5MHz CPU State Stop Stop Active Code Execution N/A N/A Yes State Current * 8.3uA 610uA (single ch) 2mA Average Current * Sub 16uA (single channel) * Typical value based on specific test platform 24 © 2010 Renesas Electronics America Inc. All rights reserved. Low System Cost No External ICs CPU R8C CPU Flash Step-down converter IC 1.8V–5.5V RAM EEPROM IC Data Flash COMM SCU Crystal Reset IC A/D LVD / POR GP Timers Key1 Key2 Key3 CH3 CH4 CH5 CHxA CHxB 20mA Ports CH0 CH1 CH2 Key4 Key5 Key6 CHxC Watchdog Debug WDT IC 1 40MHz Osc. 3 Key7 Key8 Key9 Cc Rc Cr 2 1 On-board components 2 Two Caps + one resistor 3 One resistor per each channel for protection 4 4 sensors/keys per channel (matrix configuration) 5 20mA Ports 25 © 2010 Renesas Electronics America Inc. All rights reserved. 4 APP Example Renesas API ~2.3KB code APP Specific Optimized Software Architecture User Application Functional Noise Rejection (Debounce, Wipedown) Functional Implementation Wheel Decoder Slider Decoder Switch Function Sensor Touch Decision (Binary) Sensor © 2010 Renesas Electronics America Inc. All rights reserved. Matrix Decoder Drift Compensation Reference and Threshold Firmware Low Level Filter Hardware Interface 26 Application SCU Driver Auto Calibration Software vs. Hardware Solutions Summary Software CPU Operation-intensive Tighter timing margins Interrupt handling limitation More code Why do this? 27 © 2010 Renesas Electronics America Inc. All rights reserved. Hardware Automated process CPU available for system Lower Power Less code When you can have this… Advanced Tuning Tools Intuitive GUI Measurement Parameter Setting Circuit Modeling 28 © 2010 Renesas Electronics America Inc. All rights reserved. Self-contained Touch Evaluation System Evaluation System Features R8C/33T (32-pin) Keys, Wheel, Slider LED Display Ambient light sensor Buzzer Current consumption measurement E8a Debug Emulator CD containing: – Touch API and sample application code – Workbench Tool – Free 64KB C Compiler – Quick Start Guide, Manuals, Application Notes 29 © 2010 Renesas Electronics America Inc. All rights reserved. Key Matrix E8a Debugger Wheel Slider Ordering Information: P/N: YR8C33TKIT01 www.am.renesas.com/capacitivetouch Question What are the top benefits of Renesas Touch Solution? Answer: Touch and system control Low CPU bandwidth Low power while touch detection Low cost Optimized API, advanced tools and full support 30 © 2010 Renesas Electronics America Inc. All rights reserved. Touch MCU Roadmap Function / Performance • 36ch SCU ch • 80 LQFP • 128 KB Flash • 10 KB RAM • 28ch SCU ch • 64 LQFP • 128 KB Flash • 10 KB RAM • 22ch Touch • 16-32 KB Flash • 1.5-2.5 KB RAM R8C/33T 32 LQFP R8C/3JT 40 pins QFN • 18ch Touch • 16-32 KB Flash • 1.5-2.5 KB RAM • 8ch SCU ch • 20 LSSOP Under Development 2010 31 © 2010 Renesas Electronics America Inc. All rights reserved. Under Planning 2011 R8C/3xT ‘Touches Your Life’ Office Equipment Exercise Equipment Kitchen Appliances Portable Devices Medical Equipment 32 © 2010 Renesas Electronics America Inc. All rights reserved. Security Keypads Audio Equipment Q&A 33 © 2010 Renesas Electronics America Inc. All rights reserved. Innovation Portable Consumer Appliances Explore New Frontiers… Touch Screen Phone Medical 34 © 2010 Renesas Electronics America Inc. All rights reserved. Office Equipment Thank You! 35 © 2010 Renesas Electronics America Inc. All rights reserved. Appendix 36 © 2010 Renesas Electronics America Inc. All rights reserved. R8C’s Advanced On-chip Debug Unit True 1-Wire Communication I/F Real-time memory access via Debug DMA Dedicated Clock for Debug Engine On-chip Trace 8 Instructions and 1 Data Breakpoint Up to 255 SW Breakpoints when using HEW Interface supports Workbench R8C/3xT Before execution Address match: 8 Data break 1 Trace mode On-chip trace Trace info Branch destination/data access: 8 Trace condition Combination of 2 points Break Break RAM memory reference/change 37 © 2010 Renesas Electronics America Inc. All rights reserved. Refer during user program execution (run) (RAM trace) Renesas Electronics America Inc.