Cypress CapSense CY8C20x36 Betriebsanweisung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 75
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
Getting Started with CapSense
®
Document No. 001-64846 Rev. *I 15
Figure 2-8. CSA_EMC Block Diagram
Cx
isensor
Single
Slope ADC
Precharge
Clock
Cmod
High-Z
input
CY8C20x34
Gnd
= External Connection
AMUX Bus
Vref
Rbus
Sw1
Sw2
iDAC
idiff
For a detailed discussion of Cypress‘s CSD and CSA_EMC sensing methods, see the respective device design
guides. Table 5-1 shows the CapSense controller offerings and the sensing method supported for each. Table 5-2
compares these two CapSense sensing technologies in detail.
2.4 CapSense Tuning
Optimal CapSense system performance depends on board layout, button dimensions, overlay material, and
application requirements. These factors are discussed in Design Considerations. In addition to these factors,
switching frequency and threshold levels must be carefully selected for robust and reliable performance. Tuning is the
process of determining the optimum values for these parameters. Tuning is required to maintain high sensitivity to
touch and to compensate for process variations in the sensor board, overlay material, and environmental conditions.
Before we move further, a number of terms need to be defined to understand the tuning process.
2.4.1 Definitions
Raw Count: As seen in Figure 2-9, sensor capacitance is converted into a count value by the CapSense
algorithm. The unprocessed count value is referred to as raw count. Processing of the raw count results in
ON/OFF states for the sensor.
Baseline: The baseline is an estimate of the average sensor count level when the sensor is in the OFF state.
The baseline provides a reference level for the ON/OFF comparison.
Difference Count: Subtracting the baseline level from the raw count produces the difference count that is used
in the ON/OFF decision process. The actual baseline is dynamically adjusted by the user module to compensate
for environmental changes through a process called baseline update.
The thresholds are offset by a constant amount from the baseline level. The thresholds have the following functions:
Noise Threshold: If the difference count is below the noise threshold, then the baseline is updated.
ON Threshold (Finger Threshold + Hysteresis): If the difference count is increasing and exceeds the level of
(Finger Threshold + Hysteresis), then the sensor state changes from OFF to ON.
OFF Threshold (Finger Threshold - Hysteresis): If the difference count is decreasing and drops below the
level of (Finger Threshold - Hysteresis), then the sensor state changes from ON to OFF.
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 74 75

Kommentare zu diesen Handbüchern

Keine Kommentare