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

Run SNR and Design Margin Tests

During the prototyping phase, use the CapTIvate Design Center development tool to measure the SNR and design margins for each touch sensor in the application. This must be done to determine whether or not there is enough design margin to limit the possibility of false touch detection in a large volume production build. When conducting this testing, the test environment must be as close as possible to the expected use environment of the end product. This means that all possible noise aggressors that the capacitive touch sensor may be exposed to during operation of the product should be active during the measurement. For example, if a system has a motor, radio, or other internal or external noise source, measure SNR and check the design margins with those noise sources present and active.

NOTE

Version 1.80.00.00 or later of the CapTIvate Design Center contains the latest SNR and design margin analysis features.

NOTE

This procedure assumes that the user is reasonably familiar with the CapTIvate Design Center tool and CapTIvate Software Library. If that is not the case, review the getting started workshop before attempting to measure SNR.

D006_SLAA843.pngFigure 1. SNR View Before Running Test
  1. Use the CAPTIVATE-PGMR debug tool to connect your test hardware to a host computer running CapTIvate Design Center. Configure the target application and CapTIvate Design Center for UART or BULK_I2C communication. Connect the selected serial interface (UART or I2C) of the MCU under test to the CAPTIVATE-PGMR. See the CapTIvate Technology Guide for information on connecting signals to the CAPTIVATE-PGMR. In CapTIvate Design Center, open the Communications menu and select "Connect". If you can see sensor and element data in CapTIvate Design Center views, you have a working connection.
  2. With communication established, open the sensor customizer for the sensor that is to be tested by double-clicking the sensor customizer on the CapTIvate Design Center canvas and selecting the 'SNR' tab. A blank SNR screen appears (see Figure 1).
  3. Set up the desired filtering, sample size, threshold, element you want to test, and file options before running the test. Unless you want to analyze unfiltered data, enable filtering so that the SNR results are based on post-processed data as they would be in normal use. TI recommends a sample size of 1000 samples to obtain a statistically significant data set. The CSV logging options let you capture all of the tested samples for analysis in another tool if desired.
  4. options_tab.pngFigure 2. Selecting Options
  5. With the desired options selected, select the "Measure SNR" button. A dialog asks you to touch the sensor being tested. At this time, the first Dataset is collected to determine the touch signal levels. After the touched data set is collected, the dialog box asks you to stop touching the button to measure the idle noise of the sensor.
  6. After the touched and untouched data sets are collected, the tool computes the signal, noise, threshold, marginin, marginout, and SNR. It also provides advice about the robustness of the design.

Figure 3 shows an example SNR measurement of Button 1 on the CAPTIVATE-BSWP panel.

D005_SLAA843.pngFigure 3. SNR View After Running Test