Capacitive Touch Detection Using RC Timing and Noise Filtering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Capacitive sensors face challenges in accurately measuring capacitance while minimizing power consumption and rejecting noise, especially due to high impedance and environmental factors like temperature and moisture, which affects their sensitivity and reliability in touch and proximity detection.
Innovation Solution
A capacitive touch detector system that couples a capacitive sensor between digital I/O pins of an integrated circuit, using a parasitic capacitor charged and discharged through an external resistor, with timed discharge counted to determine RC time constants, and employing filtering to remove noise, allowing for touch and proximity detection without relying on an ADC or dedicated analog circuitry.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If conventional capacitive sensing techniques are used to detect touch and proximity, then detection capability is achieved, but power consumption increases and noise sensitivity worsens
Solution Approach 1:
The patent implements periodic charging and discharging cycles of the sensor capacitor through controlled switching of I/O pins. This periodic action enables capacitance measurement through time-based counting rather than continuous power consumption, achieving reliable touch detection while significantly reducing average power usage compared to continuous monitoring schemes
Solution Approach 2:
The patent replaces traditional analog-to-digital converter (ADC) based capacitance measurement with a digital time-counting method. By measuring the time required to charge or discharge the sensor capacitor through digital I/O pins and counting clock cycles, the system eliminates the need for power-hungry ADC circuitry while maintaining measurement accuracy
2Reliability
If capacitive sensors operate with high impedance to detect subtle capacitance changes, then sensitivity to touch is improved, but susceptibility to electrical noise increases
Solution Approach 1:
The patent extracts and measures only the time component of the RC charging/discharging curve by using a threshold-based stopping condition. This extraction method focuses measurement on the time constant rather than the full voltage curve, reducing the impact of high-frequency noise while maintaining sensitivity to capacitance changes through the RC time constant measurement
Solution Approach 2:
The patent introduces an external resistor as an intermediary element in the RC circuit formed with the sensor capacitor. This known resistor value serves as a reference that, when combined with the measured time constant, allows calculation of the sensor capacitance while the resistor's physical presence provides electrical isolation and noise filtering benefits
3Measurement precision
If multiple I/O pins and external capacitors are used for capacitive sensing, then measurement accuracy is improved, but device complexity increases
Solution Approach 1:
The patent enables any digital I/O pin in the microcontroller to function as a capacitive sensor input by using the pin's internal pull-up resistor and I/O driver circuitry. This universal approach eliminates the need for dedicated sensor pins or external capacitor components, reducing device complexity while maintaining measurement capability across multiple touch points
Solution Approach 2:
The patent utilizes the microcontroller's own I/O pin circuitry, including internal pull-up resistors and driving capabilities, to perform the capacitive sensing function. The system serves itself by using existing internal resources rather than requiring external components, simplifying the overall device architecture while maintaining measurement precision
4Measurement precision
If ADC is used for capacitive sensing, then capacitance measurement capability is improved, but availability of ADC for other functions is reduced
Solution Approach 1:
The patent substitutes the ADC-based measurement system with a digital time-counting approach using the microcontroller's internal clock and counter registers. This substitution provides equivalent or superior capacitance measurement capability while completely freeing the ADC for its primary analog-to-digital conversion functions, thereby increasing system versatility
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
This solution enables low-power, noise-suppressed capacitive touch detection with increased sensitivity, supporting both touch and proximity sensing, and is scalable for multiple sensors, reducing power consumption and dependency on software processing.
Implementation Method 1
A parasitic capacitor of the capacitive sensor is charged through one of the digital I/O pins, and then discharged through an external resistor coupled between the digital I/O pins. A discharge of the parasitic capacitor is timed using a capacitance counter. The count value at the end of the discharge period reflects a resistor-capacitor (RC) time constant of an RC circuit formed by the parasitic capacitor and the external resistor.
Data Source
AI summary
A low power capacitive detector is disclosed. The detector includes a mechanism to measure and detect touch on capacitive sensors. The detector uses signal processing to suppress noise and increase sensitivity. The detector does not require dedicated analog circuitry, making it easy to adopt in a microcontroller system. The detector can be scaled to a larger number of capacitive sensors without noticeable increase in silicon cost.


