Introduction To Microchip'S Mtouch™ Capacitive Sensing
Introduction To Microchip'S Mtouch™ Capacitive Sensing
Introduction To Microchip'S Mtouch™ Capacitive Sensing
Capacitive Sensing
Class Objectives
When you complete this class, you will be
able to:
Explain the physical operation of capacitive
touch sensors
Use hardware design considerations to design
a robust touch sensing solution
Explain the fundamental operation of
projected capacitance touchscreen solutions
Implement the correct firmware for your
capacitive touch application
Output features
Segmented or Graphical LCD
LEDs
Buzzers, Speakers
Communication Protocols
USB, RF Wireless, IrDA, CAN, RS-232
A
Protective overlay
Copper pad
d
Cs
Printed Circuit
Board (FR4 PCB)
A
ε 0εr A
C= d
d
ε0Permittivity of Free Space (8.854 Pico-Farad/meter)
εr Relative Dielectric Constant (unit-less)
C Capacitance (Farads)
A CF
d
A CF
d
Cs
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 13
How Does it Work?
Introduction of finger produces a parallel
capacitance
CF
Cs
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 14
Equivalent Circuit
Cs
Sensor Capacitance = Cs
Cs CF
Item Capacitance
Conducted Noise
Industry Standard :: IEC 61000-4-6
Radiated Noise
Industry Standard :: IEC 61000-4-3
Cover
PCB
Conducted Noise
Industry Standard :: IEC 61000-4-6
PIC® Microcontroller
PIC
CS + CF = CTOT
Watch for a change in CTOT
Sensor
PRESS
VADC
TIME
SENSOR
CHOLD * VREF
VAVG = PRESS
VADC
(CHOLD + CSENSOR + CFINGER)
TIME
SENSOR
I = C · V
__
t PRESS
VADC
TIME
SENSOR
A
ε 0εr A
C= d
d
ε0Permittivity of Free Space (8.854 Pico-Farad/meter)
εr Relative Dielectric Constant (unit-less)
C Capacitance (Farads)
PRESS RELEASE
Time
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 33
Sensor Design - Area
68º
1
2.7 Cover Thickness
2.5
Sensor Separation
Includes enclosure
14.0%
eA
12.0%
C
y = 0.1615x -0.9834
Percent Change (%)
10.0%
d
8.0%
6.0%
4.0%
2.0%
0.0%
0.0 2.0 4.0 6.0 8.0 10.0 12.0 14.0
d (mm)
ε 0εr A
C=
d
PCB
Sensor Pad
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 40
“Metal Over Cap” Principle
Capacitor
Front Panel
d d
ΔV ΔV
t t
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 45
mTouch™ Technology Libraries
Signal Processing:
Performs baseline normalization to track the environment when
the sensor is not touched
Transmits raw data via serial media to aid development and
debug efforts
Averaging
Measured Raw Value
Averaging
average
average
Press
Release
12 – 256 KB Flash
GP & CAN
PIC24H
18 – 100 pins
Up to 32 Cap Touch Ch.
40 MIPS
4 – 256 KB Flash
GP, USB & Graphics
PIC24F
14 – 100 pins
Up to 24 Cap Touch Ch.
16 MIPS
16 – 128 KB Flash
GP, USB & LCD
PIC18
18 – 80 pins
Up to 24 Cap Touch Ch.
12-16 MIPS
7 – 20 KB Flash
GP & LCD
PIC16
14 - 44 pins
Up to 32 Cap Touch Ch.
8 MIPS
General
Purpose
PIC10/12 0.75 - 2 KB Flash
6 – 8 pins
Coming soon
Up to 4 Cap Touch Ch.
(GP) 8 MHz Available now
12 – 256 KB Flash
PIC24H 18 – 100 pins
≤ 32 Cap Touch Ch. 40 MIPS
Communicate to main processor:
System Integration
4 – 256 KB Flash
PIC24F 14 – 100 pins I2C
≤ 24 Cap Touch Ch. 16 MIPS
UART
PIC18 16 – 128 KB Flash SPI
18 – 80 pins
≤ 24 Cap Touch Ch.
12-16 MIPS
PIC16 7 – 20 KB Flash
PIC®
mTouch Software
Up to 32 Cap Touch Ch. 14 - 44 pins
8 MIPS
MCU
Cap Touch Peripheral
0.75 - 2 KB Flash
PIC10/12
6 – 8 pins
Up to 4 Cap Touch Ch.
8 MHz
Touch sensors
Performance
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 52
PIC® MCU integrating other
functions with Cap Touch
PIC32 32 – 512 KB Flash
64 – 121 pins
Up to 16 Cap Touch Ch. 80 MHz TXRX
18 – 100 pins
Up to 32 Cap Touch Ch. 40 MIPS
Graphic USB 2.0
SPI
LCD Drive or OTG
PIC® MCU
Performance
© 2011 Microchip Technology Incorporated. All Rights Reserved. Slide 53
mTouch™ Technology
Projected Capacitance Touchscreen
Introduction
Sensor Concepts
A basic projected capacitive sensor is:
Two dielectrically separated layers…
Of conductive bars…
Oriented orthogonally to each other…
Behind a protective front panel
Adhesive
(OCA, 0.06 mm)
Back Panel
Bottom Bars (Y-axis) (Glass ~ 0.4mm)
(ITO ~30 nm)
Position determined by
intersection of high
capacitance lines
Multi-touch capable
Larger Screen
Charge Time Charge Time
Support
Measurement Unit Measurement Unit
New Silicon
PIC18F45K22 PIC24FJ64GB106
28 CTMU Channels 16 Cap Touch Channel Advanced Features
35 I/O Pins 52 I/O Pins Multi-Chip Solution
16 MIPS, XLP, uQFN Pkg USB
Performance
Capacitive Sensing
Module
PIC16F707
32 Cap Touch Channels
35 I/O Pins
Mid 2011
368 RAM/14K ROM/5 MIPS
Specification Description
Touch-Screen Support 3.5”, independent, real time XY tracking for up to 2 touches