Working Principle and Basic Features of Capacitive Touch Sensing MCU

Publisher:SparklingDreamsLatest update time:2010-10-06 Source: 世强电讯 Keywords:Silicon  Labs  MCU  C8051F7XX  C8051F8XX Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In today's electronic products, touch sensing technology is increasingly gaining more attention and application, and new technologies and ICs are constantly being introduced. At the same time, high-sensitivity capacitive touch technology is also developing rapidly, and is mainly used in capacitive touch screens and capacitive touch buttons. However, since capacitance will change with temperature, humidity or grounding conditions, its stability is poor, so the IC's anti-noise performance is required to be good in order to ensure stable and correct touch sensing.

In response to market demand, Silicon Laboratories (Silicon Labs), an innovative manufacturer of high-performance analog and mixed-signal ICs from the United States, has launched the C8051F7XX and C8051F8XX series of MCUs (microcontrollers), which are specifically designed for capacitive touch sensing and have outstanding performance in noise resistance and computing speed.

1. Silicon Labs' capacitive touch MCU series

At present, the capacitive touch MCU series such as C8051F7xx and C8051F8xx launched by Silicon Labs have performed particularly well in the industry with their high signal-to-noise ratio and high speed. At the same time, the flexible I/O configuration brings more convenience to the design. In addition, since the series of MCUs integrate a special capacitance-to-digital converter (CDC), it can perform high-precision capacitance-to-digital conversion to realize the capacitive touch function.

How CDC works:

As shown in Figure 1, IREF is an internal reference current source, CREF is an internal integrated charging capacitor, ISENSOR is an internal integrated controlled current source, and CSENSOR is the charging capacitor of the external capacitive sensor. The touch of the human body causes the change of CSENSOR, and the internally adjusted ISENSOR is used to instantly charge CSENSOR, generating a voltage VSENSOR on CSENSOR, which is then amplified by a common-mode differential amplifier relative to the internal reference voltage. Similarly, after IREF inside the IC charges CREF, it also generates a reference voltage and is differentially amplified relative to the same VREF. Finally, the two amplified signals are sampled by a SAR (successive approximation analog-to-digital converter) ADC to calculate the value of ISENSOR.

1.jpg

Figure 1

Silicon Labs SAR ADC sampling can select 12-16 bit resolution, as shown in Figure 2. 16-bit resolution is used for bit-by-bit comparison sampling: First, start by determining the highest bit 16 (IREF=0x8000). The value of the highest bit depends on the charging rate of the capacitor, which is equivalent to the current. Take the current IREF/2 and compare VSENSOR and VREF:

If VSENSOR > VREF, the highest bit = 0;
if VSENSOR < VREF, the highest bit = 1;

The SAR control logic then moves to the next bit and sets that bit high for the next comparison:

If the 16th bit is 1, then take the next IREF=0xC000;
if the 16th bit is 0, then take the next IREF=0x4000.

This process continues until the least significant bit (LSB). After the above operations are completed, the conversion is completed and the calculated 16-bit conversion result is stored in the register.

2.jpg

Figure 2

This capacitance acquisition conversion function can be used on capacitive touch screens or touch buttons. For example, the application of capacitive touch screens (as shown in Figure 3). Generally, self-capacitive capacitive touch screens mainly include a surface glass layer, two layers of ITO layers with crossed rows and columns in the middle (there is no short circuit between the row and column layers), and a GND bottom layer. Each row and column is directly connected to the acquisition input channel of the MCU. When a finger touches the surface glass layer of the capacitive screen, it will cause the capacitance of the ITO block of a row or column to the ground (as shown in Figure 4) to increase, thereby determining the position (X, Y) of the point (touch point) where the capacitance value changes to a certain extent through capacitance sampling and a specific algorithm, and finally uploading the position of the touch point to the main processor to realize the system operation function.

Currently, Silicon Labs' C8051F7XX touch screen mainly supports single-point touch, but through software algorithms, it can realize two-point gesture recognition, such as zooming, rotating, etc. It can also realize water drop recognition and normal stroke function of wet finger touch.

The capacitance sampling principle of touch buttons is the same, except that each acquisition input channel is connected to a touch button. The MCU can directly determine whether a button is touched and then implement the corresponding function. The algorithm processing is relatively simple.

3.jpg

Figure 3

4.jpg

Figure 4

[page]

3. Advantages and features of Silicon Labs touch series MCU

1. High signal-to-noise ratio

The capacitive sensor module first releases the charge of the external capacitor and then calculates its charging speed to determine the changing capacitance value. Therefore, before each measurement, the remaining charge of the capacitor must be completely released to ensure more accurate measurement.

Whether the discharge of external capacitors is thorough directly affects the anti-noise performance. General MCUs discharge through a resistor connected to ground, while Silicon Labs' MCU performs two-stage capacitor reset discharge before each bit conversion: first, the first-stage discharge is performed by connecting a small-resistance resistor to ground, releasing most of the residual power of the capacitor, and then turning to the second-stage reset release, connected in series with a high-resistance resistor to ground, completely eliminating the noise energy that may be generated at the end of the first-stage reset release. The two-stage capacitor reset release can fully eliminate the influence of environmental noise, thereby greatly improving the conversion signal-to-noise ratio.

The traditional method of calculating the signal-to-noise ratio is to calculate the difference between the average capacitance value AvgA measured when the finger is touching and the capacitance value measured when idle, AvgI, and then the ratio of the peak value NoiseI of the capacitance caused by the noise when idle:

8.jpg

Currently, the industry can only achieve a signal-to-noise ratio of 80:1, while the signal-to-noise ratio of Silicon Labs' touch series MCU can reach 99.7:1 (as shown in Figure 5). The high signal-to-noise ratio ensures that misoperation is reduced to a greater extent, while the sensitivity is also greatly improved.

6.jpg

Figure 5

2. High speed

Silicon Labs MCU uses a 3-stage pipeline instruction structure. 70% of the instructions only need 1 or 2 system clock cycles to execute. The CPU speed can reach 25MIPS. The fastest conversion time for each channel is only 40us. If there are 27 channels, a scan only takes 1.08ms. The efficient conversion rate can improve the system's work efficiency and allow users to experience the effect of speed.

3. Flexible I/O configuration

The I/O ports of Silicon Labs' MCU can be configured arbitrarily through software according to the needs of designers. Unlike some other MCUs, some functional I/Os are fixed, which causes many staggered lines in LAYOUT and brings trouble to the design. In addition, C8051F700 can have up to 38 capacitive conversion input channels. The rich channel input brings more convenience to the design of capacitive touch applications and stronger compatibility.

4. Performance comparison of Silicon Labs capacitive touch MCU series with other competitors

7.jpg

The capacitive touch sensing working principle of C8051F7xx and C8051F8xx is the same, but the input channels of C8051F8xx are relatively less, with a maximum of 16 channels, so it is more suitable for touch button applications that require more flexible input channels, while the input channels of C8051F7xx can reach up to 38 channels, which is more widely used. It can be applied to both capacitive touch screens and capacitive touch buttons. In current consumer electronic products, it can be applied to mobile phones, washing machines, set-top boxes, office products, etc. At the same time, it can also be widely used in industrial fields such as touch panels, thermostats, security systems, and ATMs.

For the C8051F7xx and C8051F8xx series products and applications, Silicon Labs authorized distributor Shiqiang Telecom can provide corresponding DEMO boards and complete supporting software, information and technical support.

Keywords:Silicon  Labs  MCU  C8051F7XX  C8051F8XX Reference address:Working Principle and Basic Features of Capacitive Touch Sensing MCU

Previous article:Lightning protection knowledge and lightning protection grounding method of TV monitoring system
Next article:Design of 16-channel adjustable speed colored light controller based on VHDL

Recommended ReadingLatest update time:2024-11-16 16:17

Design and simulation of LED Chinese character display screen based on single chip microcomputer
O Introduction LED display is a flat display screen composed of light-emitting diode dot matrix modules or pixel units. It has the advantages of high luminous efficiency, long service life, flexible configuration, rich colors and strong adaptability to indoor and outdoor environments. It is widely used for informatio
[Microcontroller]
Design and simulation of LED Chinese character display screen based on single chip microcomputer
51 MCU music box simulation + program
Circuit introduction: 1. This project uses 51 single-chip microcomputer to realize the function of music box, and the circuit uses analog oscilloscope to view the waveform changes in real time. 2. The volume of the audio signal is realized through an adjustable resistor 3. Based on 8 ohm/1w speaker as the audio out
[Microcontroller]
51 MCU music box simulation + program
The wireless era of 8-bit microcontrollers and the 8051 microcontrollers in the wireless era
1. The wireless era brings new opportunities for 8-bit microcontrollers.     Today, we have entered an era where wireless is everywhere. When we go out, we use mobile phones to make calls and send text messages. At home, we use cordless phones; when we drive, we use GPS navigation to find the way; when we go to work,
[Microcontroller]
8-bit MCU with 6-channel PWM port for LED lighting
LAPIS Semiconductor announced on September 17, 2013 that it has developed the 8-bit microcontroller (MCU) "ML610Q111/ML610Q112" for LED lighting control. According to reports, the new product is equipped with a 6-channel PWM (pulse width modulation) port, which can achieve a variety of tones and brightness, and can
[Power Management]
DS18B20 usage program PIC microcontroller
#include pic.h __CONFIG(0x1832);         //Chip configuration word, watchdog off, power-on delay on, power-off detection off, low voltage programming off, encryption, 4M crystal HS oscillation #define uch unsigned char //Give unsigned char an alias name of uch #define DQ RA2 //define 18B20 data port  #define DQ_DI
[Microcontroller]
Single chip microcomputer experiment - 4X4 matrix keyboard recognition technology
Use the parallel port P1 of AT89S51 to connect a 4×4 matrix keyboard, with P3.0-P3.3 as input lines and P3.4-P3.7 as output lines; the digital keys "0-9" are displayed on the digital tube, and the other keys display 0.   Principle analysis: Each key of the 4X4 matrix keyboard has its row value and column value. When t
[Microcontroller]
Single chip microcomputer experiment - 4X4 matrix keyboard recognition technology
Anti-interference technology in measurement and control system based on single chip microcomputer
Overview Interference is one of the main reasons for the failure of single-chip microcomputer measurement and control systems. The impact of interference on the system can affect the measurement and control accuracy at the least, or even cause the working system to completely malfunction. To eliminate interfere
[Microcontroller]
Latest Security Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号