Renesas CTSU Application Note
Renesas CTSU Application Note

Renesas CTSU Application Note

Capacitive sensor mcu

Advertisement

Quick Links

Capacitive Sensor MCU
Capacitive Touch Noise Immunity Guide
Introduction
The Renesas Capacitive Touch Sensor Unit (CTSU) can be susceptible to noise in its surrounding
environment because it can detect minute changes in capacitance, generated by unwanted spurious
electrical signals (noise). The effect of this noise can depend on the hardware design. Therefore, taking
countermeasures at the design stage will lead to a CTSU MCU that is resilient to environmental noise and an
effective product development.
This application note describes ways to improve noise immunity for products using the Renesas Capacitive
Touch Sensor Unit (CTSU) in accordance with the IEC's noise immunity standards (IEC61000-4).
Target Device
RX Family, RA Family, RL78 Family MCUs and Renesas Synergy™ embedding the CTSU
(CTSU, CTSU2, CTSU2L, CTSU2La, CTSU2SL)
Standards covered in this application note
• IEC-61000-4-3
• IEC-61000-4-6
Contents
1.
Overview .................................................................................................................................... 3
2.
Noise Types and Countermeasures .......................................................................................... 4
2.1
EMC Standards ....................................................................................................................................... 4
2.2
RF Noise Countermeasures .................................................................................................................... 5
2.3
ESD Noise (electrostatic discharge) ....................................................................................................... 8
2.4
EFT Noise (Electrical Fast Transients) ................................................................................................... 8
3.
CTSU Noise Countermeasure Functions .................................................................................. 9
3.1
Measurement Principles and Effect of Noise .......................................................................................... 9
3.2
CTSU1 ..................................................................................................................................................... 9
3.2.1
Random Phase Shift Function............................................................................................................... 9
3.2.2
High-frequency Noise Reduction Function (spread spectrum function) ............................................. 10
3.3
CTSU2 ................................................................................................................................................... 10
3.3.1
Multi-frequency Measurement ............................................................................................................. 10
3.3.2
Active Shield ........................................................................................................................................ 11
3.3.3
Non-measurement Channel Output Selection .................................................................................... 11
4.
Hardware Noise Countermeasures ......................................................................................... 12
4.1
Typical Noise Countermeasures ........................................................................................................... 12
4.1.1
Touch Electrode Pattern Designs ....................................................................................................... 12
4.1.2
Power Supply Design .......................................................................................................................... 13
4.1.2.1 Voltage Supply Design ...................................................................................................................... 13
R30AN0426EJ0200 Rev.2.00
Dec.25.23
Application Note
Page 1 of 21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CTSU and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas CTSU

  • Page 1: Table Of Contents

    (noise). The effect of this noise can depend on the hardware design. Therefore, taking countermeasures at the design stage will lead to a CTSU MCU that is resilient to environmental noise and an effective product development.
  • Page 2 Capacitive Sensor MCU Capacitive Touch Noise Immunity Guide 4.1.2.2 GND Pattern Design .......................... 14 4.1.3 Processing Unused Pins ........................14 Radiated RF Noise Countermeasures ....................15 4.2.1 TS Pin Damping Resistance ....................... 15 4.2.2 Digital Signal Noise ..........................15 4.2.3 Multi-frequency Measurement ......................
  • Page 3: Overview

    Capacitive Touch Noise Immunity Guide 1. Overview The CTSU measures the amount of static electricity from the electric charge when an electrode is touched. If the potential of the touch electrode changes due to noise during measurement, the charging current also changes, affecting the measured value.
  • Page 4: Noise Types And Countermeasures

    This list introduces IEC 61000 standards as examples to describe the types of noise developers must be aware to ensure proper operations for systems using the CTSU. Please refer to the latest version of IEC 61000 for further details.
  • Page 5: Rf Noise Countermeasures

    Noise countermeasures must be implemented on the board for the former and at the system level for the latter, such as via the power supply line. The CTSU measures capacitance by converting it into an electrical signal. Change in capacitance due to touch is extremely small, so to ensure normal touch detection, the sensor pin and the power supply of the sensor itself must be protected from RF noise.
  • Page 6 ) generated by common mode noise is applied to the NOISE capacitance Cf formed by the finger and the PAD, causing the charging current measured by the CTSU to fluctuate. Changes in the charging current appear as digital values with superimposed noise. If the common mode noise includes frequency components that match the drive pulse frequency of the CTSU and its harmonics, the measurement results may fluctuate significantly.
  • Page 7  Set to non-measurement channel output when 3.3.3 Non-measurement Channel using active shield Output Selection • Enable CTSU anti-noise countermeasure functions:  Random phase shift function 3.2.1 Random Phase Shift Function  High frequency noise reduction function 3.2.2 High-frequency Noise...
  • Page 8: Esd Noise (Electrostatic Discharge)

    The IEC 61000-4-4 standard is used to test EFT immunity. IEC 61000-4-4 evaluates immunity by injecting periodic EFT signals into the EUT power and signal lines. EFT noise generates a periodic pulse in the CTSU measurement results, which may lower the accuracy of the results or cause false touch detection. Table 2-7 provides EFT/B (Electrical Fast Transient Burst) test details.
  • Page 9: Ctsu Noise Countermeasure Functions

    CTSUs are equipped with noise countermeasure functions, but the availability of each function differs depending on the version of the MCU and CTSU you are using. Always confirm the MCU and CTSU versions before developing a new product. This chapter explains the differences in noise countermeasure functions between each CTSU version.
  • Page 10: High-Frequency Noise Reduction Function (Spread Spectrum Function)

    It then randomizes the synchronization point with the synchronous noise to disperse the peak of the measurement error and improve measurement accuracy. This function is always enabled in the CTSU module output and TOUCH module output by code generation. 3.3 CTSU2 3.3.1...
  • Page 11: Active Shield

    ”Capacitive Touch User’s Guide for Capacitive Sensor MCUs (R30AN0424)”. For PCB design information, refer to the ”CTSU Capacitive Touch Electrode Design Guide (R30AN0389)“ 3.3.3 Non-measurement Channel Output Selection In the CTSU2 self-capacitance method, pulse output in the same phase as the sensor drive pulse can be set as the non-measurement channel output.
  • Page 12: Hardware Noise Countermeasures

    For detailed board design rules that tackle noise immunity, please refer to the latest version of the CTSU Capacitive Touch Electrode Design Guide (R30AN0389). Figure 4-1 provides an excerpt from the Guide showing an overview of self-capacitance method pattern design, and Figure 4-2 shows the same for mutual-capacitance method pattern design.
  • Page 13: Power Supply Design

    4.1.2 Power Supply Design The CTSU is an analog peripheral module that handles minute electrical signals. When noise infiltrates the voltage supplied to the MCU or GND pattern, it causes potential fluctuation on the sensor drive pulse and decreases measurement accuracy. We strongly suggest adding a noise countermeasure device to the power supply line or onboard power supply circuit to safely supply power to the MCU.
  • Page 14: Gnd Pattern Design

    Depending on the pattern design, noise may cause the GND, which is the reference voltage for the MCU and on-board devices, to fluctuate in potential, decreasing CTSU measurement accuracy. The following hints for GND pattern design will help suppress potential fluctuation.
  • Page 15: Radiated Rf Noise Countermeasures

    For information regarding sensitivity when changing the damping resistor in the self- capacitance method, refer to “5. Self-capacitance Method Button Patterns and Characteristics Data” in the CTSU Capacitive Touch Electrode Design Guide (R30AN0389) 4.2.2 Digital Signal Noise Digital signal wiring that handles communication, such as SPI and I2C, and PWM signals for LED and audio output is a source of radiated noise that affects the touch electrode circuit.
  • Page 16: Conducted Noise Countermeasures

    For details regarding power supply settings, refer to 4.1.2 Power Supply Design. This section describes noise countermeasures related to power supply as well as CTSU functions to be considered when designing your MCU board to improve conducted noise immunity.
  • Page 17: Multi-Frequency Measurement

    Placing a GND shield around the electrode and bringing the shield surrounding the electrode closer to the electrode strengthens the capacitive coupling between the finger and the shield. The noise component ) escapes to B-GND, reducing fluctuations in the CTSU measurement current. Note that the closer the NOISE shield is to the electrode, the bigger the Cp, resulting in reduced touch sensitivity.
  • Page 18: Software Filters

    TOUCH module which determines touch. The CTSU driver includes the IIR moving average filter as the standard filter. In most cases, the standard filter can provide sufficient SNR and responsiveness. However, more powerful noise reduction processing may be required depending on the user system.
  • Page 19: Fir Filter

    Capacitive Sensor MCU Capacitive Touch Noise Immunity Guide When the IIR filter is used as a low-pass filter, coefficients a and b can be calculated using the following formula, where the sampling frequency is f and the cutoff frequency is f 2��������...
  • Page 20 Third generation CTSU IP. CTSU driver CTSU driver software bundled in Renesas Software packages. CTSU module A unit of CTSU driver software that can be embedded using the Smart Configurator. TOUCH middleware Middleware for touch detection processing when using CTSU bundled in Renesas software packages.
  • Page 21: Revision History

    Capacitive Sensor MCU Capacitive Touch Noise Immunity Guide Revision History Description Rev. Date Page Summary 1.00 May 31, 2023 Initial revision 2.00 Dec 25, 2023 For IEC61000-4-6 Added common mode noise impact to 2.2 Added items to Table 2-5 Revised text in 3.1, corrected Figure 3-1 Revised text in 3-2 In 3.3.1, revised text and added Figure 3-4.
  • Page 22 Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 23: Corporate Headquarters

    Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.

This manual is also suitable for:

Ctsu2Ctsu2lCtsu2laCtsu2sl

Table of Contents