SLAA843A August   2018  – March 2019 MSP430FR2512 , MSP430FR2512 , MSP430FR2522 , MSP430FR2522 , MSP430FR2532 , MSP430FR2532 , MSP430FR2533 , MSP430FR2533 , MSP430FR2632 , MSP430FR2632 , MSP430FR2633 , MSP430FR2633

 

  1.   Sensitivity, SNR, and design margin in capacitive touch applications
    1.     Trademarks
    2. 1 Overview
      1. 1.1 Design Objectives
        1. 1.1.1 Reliability
        2. 1.1.2 Robustness
      2. 1.2 The Designer's Dilemma
    3. 2 Recommended Actions for Developers
      1. 2.1 Run SNR and Design Margin Tests
    4. 3 Terminology
      1. 3.1 Signal (S)
      2. 3.2 Noise (N)
      3. 3.3 Threshold (Sensitivity) (Th)
      4. 3.4 Design Margin
        1. 3.4.1 False Detection Margin (Min)
        2. 3.4.2 Detection Margin (Mout)
      5. 3.5 Signal-to-Noise Ratio (SNR)
      6. 3.6 Advice
    5. 4 CapTIvate Device Performance
      1. 4.1 Minimum Recommended Values
      2. 4.2 CapTIvate Device SNR
    6. 5 Interpreting the Results
      1. 5.1 Interpreting the Advice
      2. 5.2 Check Other Results
    7. 6 Application of Terms
      1. 6.1 Count and Percent Change Analysis With 7.5-mm Overlay, Advice = POOR
      2. 6.2 Count and Percent Change Analysis With 1.5-mm Overlay, Advice = GOOD
      3. 6.3 Count and Percent Change Analysis (1.5-mm Overlay vs 7.5-mm Overlay)
      4. 6.4 Effect of Post-Processing and Sampling Rate
    8. 7 Summary
  2.   Revision History

Signal (S)

To calculate signal-to-noise ratio, it is first necessary to define signal and noise. In a capacitive touch application, the signal is defined as the average change in capacitance of the sensing electrode due to a touch or a proximity event. For example, consider a self-capacitance sensing electrode with a base, untouched parasitic capacitance Cp. If a touch capacitance, Ct, is applied to the sensing net along with Cp, the total electrode capacitance Cx = Cp + Ct. In this case, the change in capacitance expressed as a percentage of the untouched capacitance would be the quotient of Ct over Cp. Table 1 shows a simple example.

Table 1. Example of Computing Signal

Parameter Symbol Value
Parasitic capacitance Cp 20 pF
Touch capacitance Ct 1 pF
Signal S = Ct / Cp (1 pF / 20 pF) × 100 = 5%

NOTE

In mutual capacitance sensing, a touch is expected to reduce the electrode capacitance, thus showing up as a negative percent change.

In self capacitance sensing, a touch is expected to increase the electrode capacitance, thus showing up as a positive percent change. For more information about self capacitance and mutual capacitance, see the CapTIvate Technology Guide.

Figure 5 shows the self mode button measurement result in terms of percent change in capacitance for both touched and untouched conditions. The signal is defined as the percent change in capacitance due to a touch event (see the red "Signal" line in the figure).

S.pngFigure 5. Signal Terminology

A fundamental concept to understand from the definition of signal is that signal is influenced not only by the touch capacitance but also by the parasitic capacitance of the electrode. This makes sense—it is easier to measure a 1-pF change in a 20-pF capacitor (5%) than it is to measure a 1-pF change in a 100-pF capacitor (1%). So, what influences Cp and Ct? Cp is primarily a function of the printed circuit board layout, including the size of the electrode and the proximity of that electrode to nearby conductors such as ground. Ct is a function of the thickness of the overlay, the dielectric constant of the overlay, and the size of the sensing electrode relative to the size of the finger touching the electrode. For details on optimizing these parameters, see the Best Practices section of the Design chapter of the CapTIvate Technology Guide.

NOTE

When measuring a physical electrode during development with a CapTIvate MCU, the CapTIvate Design Center SNR tool view can be used to measure the signal 'S' as a percent change in capacitance.