Patent application title:

Methods and circuits for measuring mutual and self capacitance

Publication number:

-

Publication date:
Application number:

14/037,098

Filed date:

2013-09-25

✅ Patent granted

Patent number:

US 9,494,628 B1

Grant date:

2016-11-15

PCT filing:

-

PCT publication:

-

Examiner:

Minh N Tang

Agent:

Morgan, Lewis & Bockius LLP

Adjusted expiration:

2034-05-05

Smart Summary: A new circuit design helps measure two types of capacitance: mutual and self-capacitance. It uses multiple switches to minimize the effects of self-capacitance from each electrode when measuring the mutual capacitance between them. This design also reduces the impact of mutual capacitance when measuring self-capacitance. Capacitive touch sensors, which replace mechanical buttons, can benefit from this technology by providing more accurate readings. Overall, this advancement improves the reliability and functionality of touch sensors in various devices. 🚀 TL;DR

Abstract:

An embodiment of a capacitance measurement circuit may include multiple switches, a first node coupled with a first electrode and coupled with at least a first switch of the multiple switches, and a second node coupled with a second electrode and coupled with at least a second switch of the multiple switches, where the multiple switches are configured to reduce an influence of a self-capacitance of the first electrode and a self-capacitance of the second electrode on an output signal during measurement of a mutual capacitance between the first electrode and the second electrode, and where the multiple switches are configured to reduce an influence of the mutual capacitance on the output signal during measurement of at least one of the self-capacitance of the first electrode and the self-capacitance of the second electrode.

Inventors:

Assignee:

Applicant:

Interested in similar patents?

Get notified when new applications in this technology area are published.

Classification:

G01R27/2605 »  CPC main

Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom; Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant; Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables Measuring capacitance

H03M1/12 »  CPC further

Analogue/digital conversion; Digital/analogue conversion Analogue/digital converters

G01R27/26 IPC

Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom; Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables

Description

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 13/664,421, filed Oct. 31, 2012, now U.S. Pat. No. 8,570,052, issued Nov. 29, 2013, which is a continuation of U.S. patent application Ser. No. 12/606,147, filed Oct. 26, 2009, now U.S. Pat. No. 8,319,505, issued Nov. 27, 2012, which claims the benefit of U.S. Provisional Patent Application No. 61/108,450, filed Oct. 24, 2008, and which is a continuation-in-part of U.S. patent application Ser. No. 12/395,462, filed Feb. 27, 2009, now U.S. Pat. No. 8,358,142, issued Jan. 22, 2013, which claims the benefit of U.S. Provisional Patent Application No. 61/067,539, filed Feb. 27, 2008, all of which are incorporated by reference herein in their entirety.

TECHNICAL FIELD

The present disclosure relates generally to touch sensors and, more particularly, to capacitive touch sensors.

BACKGROUND

Capacitive touch sensors may be used to replace mechanical buttons, knobs and other similar mechanical user interface controls. The use of a capacitive sensor allows for the elimination of complicated mechanical switches and buttons, providing reliable operation under harsh conditions. In addition, capacitive sensors are widely used in modern customer applications, providing new user interface options in existing products.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments are illustrated by way of example and are not intended to be limited by the figures of the accompanying drawings, in which like references indicate similar elements and in which:

FIG. 1 illustrates two electrodes situated close to each other, according to one embodiment;

FIG. 2 illustrates one embodiment of a self-capacitance circuit that uses a charge accumulation technique;

FIG. 3 illustrates a block diagram of an apparatus for measuring mutual or self capacitance, according to one embodiment;

FIG. 4A illustrates one embodiment of a capacitance to current sink converter having an integration capacitor coupled to ground;

FIG. 4B illustrates one embodiment of a capacitance to current sink converter having an integration capacitor coupled to a high voltage supply potential;

FIG. 5A illustrates one embodiment of a capacitance to current source converter having an integration capacitor coupled to ground;

FIG. 5B illustrates one embodiment of a capacitance to current source converter having an integration capacitor coupled to a high voltage supply potential;

FIG. 6A illustrates a first phase of a converter operation, according to one embodiment;

FIG. 6B illustrates a second phase of a converter operation, according to one embodiment;

FIG. 7A illustrates one embodiment of a capacitance to current sink converter used for mutual capacitance measurement, having an integration capacitor coupled to ground;

FIG. 7B illustrates one embodiment of a capacitance to current sink converter used for mutual capacitance measurement, having an integration capacitor coupled to VDD;

FIG. 8A illustrates one embodiment of a capacitance to current source converter having an integration capacitor coupled to ground;

FIG. 8B illustrates one embodiment of a capacitance to current source converter having an integration capacitor coupled to a high voltage supply potential;

FIG. 9A illustrates one embodiment of a capacitance to current sink converter used for self capacitance measurement, having an integration capacitor coupled to ground;

FIG. 9B illustrates one embodiment of a capacitance to current sink converter used for self capacitance measurement, having an integration capacitor coupled to a high voltage supply potential;

FIG. 10A illustrates one embodiment of a capacitance to current source converter used for self capacitance measurement, having an integration capacitor coupled to a high voltage supply potential;

FIG. 10B illustrates one embodiment of a capacitance to current source converter used for self capacitance measurement, having an integration capacitor coupled to ground;

FIG. 11 illustrates one embodiment of an interval timer method for capacitance measurement;

FIG. 12 illustrates one embodiment of a resettable current integrator with an operation amplifier and an analog-to-digital converter (ADC);

FIG. 13 illustrates one embodiment of a current-to-voltage converter built around an operational amplifier;

FIG. 14 illustrates one embodiment of a capacitance to current converter with a conversion circuit;

FIG. 15 illustrates one embodiment of a capacitance to current converter with a low-pass filter;

FIG. 16 illustrates one embodiment of a sigma-delta modulator configured as a capacitance to duty cycle converter;

FIG. 17 illustrates one embodiment of a low pass filter with a differential analog to digital converter;

FIG. 18A illustrates base capacitance current compensation using a resistor as a current sink in a capacitance to current converter, according to one embodiment;

FIG. 18B illustrates base capacitance current compensation using a resistor for a current source in a capacitance to current converter, according to one embodiment;

FIG. 19A illustrates base capacitance current compensation using a current source as a current sink in a capacitance to current converter, according to one embodiment;

FIG. 19B illustrates base capacitance current compensation using a current source in a capacitance to current converter, according to one embodiment;

FIG. 20A illustrates using a current mirror with a voltage conversion system, according to one embodiment;

FIG. 20B illustrates using a current mirror with a current conversion system, according to one embodiment;

FIG. 20C illustrates one embodiment of a current mirror using a bipolar process technology; and

FIG. 21 illustrates one embodiment of a capacitance measurement circuit in a multi-touch touchpad system.

FIG. 22 illustrates one embodiment of a capacitance to current converter with a conversion circuit comprising a current mirror, an integration circuit and a timer.

DETAILED DESCRIPTION

In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present invention. It will be evident, however, to one skilled in the art that embodiments of the present invention may be practiced without these specific details. In other instances, well-known circuits, structures, and techniques are not shown in detail or are shown in block diagram form in order to avoid unnecessarily obscuring an understanding of this description.

Reference in the description to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification do not necessarily all refer to the same embodiment. Like reference numerals denote like references elements throughout.

A capacitive sensor may be characterized by a base capacitance that includes a self capacitance component and a mutual capacitance component. Since the values of these capacitance components affect the operation of the capacitive touch sensor and may vary from one capacitive sensor to another, a capacitive sensing circuit may benefit from the capability of independently measuring the self and mutual capacitances of a capacitive sensor.

Apparatus for and methods of measuring mutual and self capacitance in a capacitive touch sensor are described. The apparatus and methods described herein may be used in capacitive touch detection systems such as, for example, capacitive touch screens and, in particular, with capacitive touch screens having multiple simultaneous touch detection capabilities. Alternatively, the apparatus and methods described herein may be used with single touch detection systems or other types of capacitive touch systems.

The capacitance measurement circuits described herein may be used for touch detection in single electrode systems, transmit/receive (TX-RX) systems, or in combined TX-RX and single electrode systems. The TX-RX systems can use the mutual capacitance change detection, and single electrode systems can use the self capacitance change detection. In some embodiments, additional multiplexers can be added for multiple electrode scanning. In other embodiments additional capacitance-to-current converters may be added to allow parallel scanning of multiple sensor electrodes. The capacitance measurement circuits described herein may be used in various applications including, for example, single button applications, multiple buttons applications, linear and radial sliders, dual dimension touchpads and touchscreens, and multi-touch touchpad and touchscreen applications. Multi-touch touchpad and touchscreen systems are composed of a matrix of RX and TX electrodes, where the presence (e.g., touch) of a finger (or other conductive object) is detected as a decrease in the mutual capacitance at the intersection of the TX-RX electrodes.

Embodiments of the present invention allow for measurement of two or more ‘electrodes’ mutual and self capacitance separately. Capacitance measurement can be performed with a single pair of electrodes or with the use of a multiple electrode system. Two electrodes situated close to each other are shown at FIG. 1, where Ce1 101 and Ce2 102 are electrode self capacitances, and Cm 103 is the mutual capacitance between the two electrodes E1 104 and E2 105.

There are various circuit implementations that may be used for performing capacitance measurement. FIG. 2 illustrates a self-capacitance circuit 200 that uses a charge accumulation technique to measure the capacitance CX 204. A charge accumulation technique operates in the following way: initially the integration capacitor 203 is reset by turning on a reset signal for some time which sets switch 205 such that both ends of integration capacitor 203 are grounded. After reset, the switches 201 and 202 start operation in the two non-overlapping phases, wherein switch 201 when closed accumulates charge onto Cx and wherein switch 202 when closed allows that charged to be integrated onto Cint 203. As more charge is integrated onto integration capacitor Cint 203, the voltage on Cint 203 starts increasing. The sensing capacitance may be determined by the number of switching cycles used to get the integrator capacitor voltage to some threshold value, such as VDD/2 or a bandgap voltage (VBG).

With such a charge accumulation technique, the voltage on the integration capacitance rises exponentially with respect to time (said time can be measured by a count of the number of cycle it takes to reach the threshold value). This relationship can be linearized for measurement methods where capacitance is calculated as a function of integration capacitor voltage after a predefined number of cycles. Also, the mutual capacitance measurement scheme has some sensitivity to the sensor self capacitance, which decreases the measurement accuracy.

FIG. 3 illustrates a block diagram of a capacitance measurement circuit 300 for measuring mutual or self capacitance, according to one embodiment of the present invention. The apparatus illustrated in FIG. 3 can be used for separately measuring mutual or self capacitances of a capacitance sensor. In order to measure a mutual capacitance, the Ce1, Ce2 (of FIG. 1) capacitance influence should be excluded. This can be accomplished by charging and discharging the Ce2 electrode from a low-impedance voltage source and keeping the voltage of the Ce1 electrode close to constant to minimize the influence of its charge-discharge current. In order to measure the self-capacitance (of Ce1 or Ce2) the voltage change across Cm should be kept to zero to minimize the influence of this capacitance on the measurement results.

The capacitance measurement circuit 300 can be separated into two parts: the switching capacitor front-end capacitance-to-current converter 301, and the back-end current-to-digital value converter 302, as illustrated in FIG. 3. In the following description, the front-end and back-end circuits are described separately. A switching capacitor front-end converts the sensing capacitance to current pulses. The back-end system averages the current and converts it into readable digital values. The circuits described herein are based on a switching capacitor technique in capacitance-to-current converter circuits.

FIGS. 4A, 4B, 5A and 5B show different embodiments for a capacitance to current converter for mutual capacitance measurement. In the referenced figures, a voltage buffer 401 resides between the integration capacitor Cint 406 and the switches 402, 404 connecting to the mutual electrodes of the capacitance-to-current. It should be noted that the integration capacitor Cint 406 is considered as part of the current measurement system and shown here for ease of explanation. The integration capacitor 406 can be connected between the converter output and a fixed potential net, for example, GND and VCC, as illustrated in FIGS. 4A, 4B, 5A and 5B, respectively.

The operation of the circuit may be described in several stages, which are repeated in cycle. Table 1 contains the switching sequence of switches for the circuits shown in FIGS. 4A and 4B.

TABLE 1
Switching sequence of switches shown in FIGS. 4A and 4B.
Switch Switch Switch Switch
Stage 402 403 404 405 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 ON OFF ON OFF UCm = 0,
UCe1 = UCe2 = UCint = Ubuf
3 OFF OFF OFF OFF UCm = 0,
UCe1 = UCe2 = UCint
4 OFF ON OFF ON UCm = UCint = UCe1 ,
UCe2 = 0
5 OFF OFF OFF OFF UCm = UCe1 , UCe2 = 0

Table 2 contains the switching sequence of switches for the circuits shown in FIGS. 5A and 5B.

TABLE 2
Switching sequence of switches shown in FIGS. 5A and 5B.
Switch Switch Switch Switch
Stage 402 403 404 405 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 OFF ON ON OFF UCm = Ubuf = UCint = UCe1
3 OFF OFF OFF OFF UCm = UCint = UCe1
4 ON OFF OFF ON UCm = 0, UCe1 = UCint,
UCe2 = UCint
5 OFF OFF OFF OFF UCm = 0, UCe1 = UCint,
UCe2 = UCint

The stages from 2 to 5 are performed in cycles. In effect, the circuits shown in FIGS. 4A and 4B may act as current sinks, and the circuits shown in FIGS. 5A and 5B may act as current sources in the respective embodiment. The integration capacitor Cint 406 is external to the capacitance-t0-current converter and is not part of the current measurement circuit.

FIGS. 6A and 6B illustrates one embodiment of the operation phases for the circuits shown in FIGS. 4A and 4B, respectively. During the first phase (FIG. 6A), both ends of the Cm 103 are connected to voltage buffer 401. During the second phase (FIG. 6B), the left Cm terminal is grounded and the right terminal is connected to the integration capacitor Cm, 406.

For both circuits, an averaged absolute current sink/source (IS) value can be calculated by Equation 1:
IS=fsw·UCint·Cm  (1)
where, fsw is the switching frequency of phases 2-5 repeating. It should be noted that the capacitance of Ce2 electrode 102 is shunted by switch 402 or 403 in each operation phase and does not have an impact on the output current. The capacitance of the Ce1 electrode 101 has a potential equal to UCint during both charge transfer stages and is not recharged between different operation phases. Therefore, the output current is determined by the value of Cm 103 and the potential applied across it.

A special case of the capacitance-to-current converter operation is now considered, when it is loaded by stand-alone integration capacitor Cint 406. In this case, the relationship between the voltage change on UCint and the cycles count N has a nonlinear exponential character, as expressed in Equation 2:

U C ⁢ ⁢ int N = U Cint 0 · ( 1 - C m C int ) N ( U C ⁢ ⁢ int N ≈ U Cint 0 · ⅇ - N ⁢ C m C int ) ( 2 )
where, N is the quantity of conversion cycles and UCint0 is the voltage on the integration capacitor 406 at the initial time.

The exponential character of this dependence is caused by the positive voltage feedback via buffer 401: increasing voltage on the integration capacitor 406 (when the capacitance-to-current converter is configured as a current source) causes a larger charge quantum being moved in each phase and an increase in the speed of the integration capacitor 406 voltage rising. The current measurement circuit may not keep a voltage on the integration capacitor 406 constant in this embodiment.

The circuit embodiments illustrated in FIGS. 7A, 7B, 8A, and 8B may be used to keep voltage on Cint 406 constant. The difference between the circuit embodiments illustrated in FIGS. 7A, 7B, 8A, and 8B, versus those illustrated in FIGS. 4A, 4B, 5A, and 5B, is that the left terminal of Cm 103 is connected to the fixed voltage source VDD in FIGS. 7A, 7B, 8A and 8B. In FIGS. 7A, 7B, 8A and 8B the variable buffer output voltage of an analog buffer 701 is coupled to the right terminal of Cm 103 and in FIGS. 4A, 4B, 5A and 5B buffer 401 is coupled with the left terminal of Cm 103. Only the switch 702 connection is changed on the circuits illustrated in FIGS. 7A, 7B, 8A, and 8B.

The switching sequence of the switches illustrated in FIGS. 7A and 7B is shown in Table 3.

TABLE 3
Switching sequence of switches in FIGS. 7A and 7B.
Switch Switch Switch Switch
Stage 702 703 704 705 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 ON OFF ON OFF −UCm = UVdd − UCint,
UCe1 = UCint = Ubuf,
UCe2 = UVdd
3 OFF OFF OFF OFF UCm = UVdd − UCint,
UCe1 = UCint , UCe2 = UVdd
4 OFF ON OFF ON UCm = UCint = UCe1,
UCe2 = 0
5 OFF OFF OFF OFF UCm = UCe1, UCe2 = 0

The switching sequence of the switches illustrated in FIGS. 8A and 8B is shown in Table 4.

TABLE 4
Switching sequence of switches in FIGS. 8a and 8b
Switch Switch Switch Switch
Stage 702 703 704 705 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 OFF ON ON OFF UCm = Ubuf = UCint = UCe1
3 OFF OFF OFF OFF UCm = UCint = UCe1
4 ON OFF OFF ON −UCm = UVdd − UCint,
UCe1 = UCint, UCe2 = UVdd
5 OFF OFF OFF OFF UCm = 0, UCe1 = UCint,
UCe2 = UVdd

The stages from 2 to 5 are performed in cycles. As a result, the average current flowing out of the Cint 406 capacitor for the circuits on FIGS. 7A, 7B, 8A, and 8B may be calculated by Equation 3:
IS=fsw·UVdd·Cm  (3)
For the given values of fsw and VDD parameters, the output current (IS) linearly depends on Cm and is proportional to fsw and VDD in this embodiment. The change of current direction is done by a change of the switches' operation phases. If the current measurement subsystem does not load the integration capacitor Cint 406, a voltage on this capacitor changes linearly with the number of cycles N, as expressed in Equation 4:

U C ⁢ ⁢ int N = U Vdd · ( 1 - N · C m C int ) ( 4 )

A similar Equation 5 is used for describing the circuits illustrated in FIGS. 8A and 8B:

U N = N · U Vdd · C m C int ( 5 )

The mutual capacitance circuit embodiments described previously may be used for self-capacitance measurement with minimal hardware changes by routing the buffer signal to the left-side switches. To do this, the switched voltages may be adjusted in such a way that the voltage change on the mutual capacitance Cm is equal to zero between different phases. In other circuit configurations, the voltage on Ce2 is kept constant but the voltage on Cm is varied. In the circuit embodiments illustrated in FIGS. 7A, 7B, 8A, and 8B, the voltage on Ce2 is varied and the voltage change on Cm is kept constant.

FIGS. 9A and 9B illustrate embodiments of a capacitance to current sink converter for self capacitance measurement. As previously noted, the integration capacitor Cint 406 is considered part of the current measurement system and is shown here for ease of explanation. The integration capacitor 406 can be connected between the converter output and any fixed potential net, for example, GND and VCC, as illustrated in FIGS. 9A and 9B respectively. Alternatively, the integration capacitor 406 can be connected between the converter output and other fixed potentials.

The switching sequence of switches illustrated in the circuit of FIGS. 9A and 9B is shown in Table 5.

TABLE 5
Switching sequence of switches illustrated in FIGS. 9A, 9B.
Switch Switch Switch Switch
Stage 902 903 904 905 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 OFF ON ON OFF UCe1 = UCe2 = 0,
UCm = 0
3 OFF OFF OFF OFF UCe1 = UCe2 = 0,
UCm = 0
4 ON OFF OFF ON Ue1 = UCint = UCe2,
UCm = 0
5 OFF OFF OFF OFF Ue1 = UCint = UCe2,
UCm = 0

FIGS. 10A and 10B illustrate embodiments of a capacitance to current source converter for self capacitance measurement. As previously noted, the integration capacitor Cint 406 is considered part of the current measurement system and is shown here for ease of explanation. The integration capacitor 406 can be connected between the converter output and any fixed potential net, for example, GND and VCC, as illustrated in FIGS. 10A and 10B respectively. Alternatively, the integration capacitor 406 can be connected between the converter output and other fixed potentials.

The switching sequence of switches in FIGS. 10A and 10B is shown in Table 6.

TABLE 6
Switching sequence of switches illustrated in FIGS. 10A, 10B.
Switch Switch Switch Switch
Stage 902 903 904 905 UCint, UCe1, UCe2, UCm
1 OFF OFF OFF OFF UCint = U0
2 ON OFF ON OFF UCe1 = UCe2 = UVdd,
UCm = 0
3 OFF OFF OFF OFF UCe1 = UCe2 = UVdd,,
UCm = 0
4 OFF ON OFF ON Ue1 = UCint = UCe2,
UCm = 0
5 OFF OFF OFF OFF Ue1 = UCint = UCe2,
UCm = 0

Stages 2 through 5 are performed in cycles. As a result, the average current flowing out of capacitor Cint for the circuits illustrated in FIGS. 9A and 9B may be described by Equation 6:
IS=fsw·UCint·Ce1  (6)

The average current flowing into Cint capacitor for the circuits illustrated in FIGS. 10A and 10B may be described by Equation 7:
IS=fsw·(UVdd−UCintCe1  (7)

The potential difference on electrode capacitor Cm 103 is equal to approximately zero during the stages of charge transfer and does not have an impact on the measurement in this embodiment. The Ce2 electrode 102 capacitance is switched off by switches 902 and 904 during the stages of operation. In this case, the relationship between the voltage change on UCint and the cycle count N has a nonlinear exponential character for the circuits illustrated in FIGS. 9A and 9B, in accord with Equation 8:

U C ⁢ ⁢ int N = U Cint 0 · ( 1 - C e ⁢ ⁢ 1 C int ) N ( 8 )

Equation 9 similarly describes the circuits illustrated in FIGS. 10A and 10B:

U C ⁢ ⁢ int N = U Vdd · ( 1 - ⅇ - N · C e ⁢ ⁢ 1 C int ) ( 9 )

Various alternative variants of the conversion circuits described above may be used. Alternative conversion circuits include integration circuits such as time measurement of the integration capacitor voltage threshold crossing, current integrations with an operational amplifier as a current integrator. Alternative conversion circuits include analog-to-digital circuits such as a current-to-voltage conversion using an operational amplifier and an ADC voltage measurement device or sigma-delta modulation circuits.

FIG. 11 illustrates an interval timer method for capacitance measurement. In the circuit of FIG. 11, the integrator consists of a capacitor 406. The circuit of FIG. 11 operates in the following way. Initially, the voltage of integration capacitor 406 is set to Iinit by turning on, for some time period, a switch 1102. The comparator 1101 is used as threshold circuit and compares the voltage on the integration capacitor 406 with a reference voltage Uref. The capacitance is measured by the time measurement circuit 1103 as the time elapsed (in the cycles count) until the comparator 1101 is triggered. The time is inversely proportional to the capacitance-to-current converter current in this embodiment. It should be noted that for switching capacitor current sink schemes, an integrator initial voltage (Uinit) is set higher than the threshold voltage (Uref). For the current source schemes, the integrator initial voltage is lower than threshold voltage Uref.

For more accurate current conversion, circuits based on current-to-voltage converters and current integrators may be used, as illustrated in FIGS. 12 and 13. FIG. 12 illustrates one embodiment of a resettable current integrator (where integration capacitor 1203 can be reset using switch 1204) with an operational amplifier 1201 with reference input voltage Vref and an analog-to-digital converter (ADC) 1202 coupled to the output of operational amplifier 1201. The ADC 1202 is used for integrator voltage measurement after the completion of a predefined number of integration cycles. Capacitance on the is converted to current by capacitance-to-current converter 301 and Cint 1203 is charged with the output current to Vref on the operational amplifier 1201. The output of operational amplifier 1201 coupled to the opposite side of Cint 1203 is then measured by ADC 1202 to calculate the value of the capacitance in the capacitance-to-current converter 301.

FIG. 13 illustrates one embodiment of a current-to-voltage converter built around an operational amplifier 1301. The converter of FIG. 13 also functions as a low pass filter (LPF) due to the presence of the filter capacitor Cfilt 1302 in the amplified feedback path. The output voltage US is proportional to the input current IS. The circuit of FIG. 13 operates continuously such that ADC conversion can be started any time after transient signals have stabilized. It should be noted that the buffer input inside the capacitance-to-code converter can be connected to the Vref net for the circuits illustrated in FIGS. 12 and 13, taking into account that both operational amplifier inputs have approximately the same potential. The schematic diagram of such a circuit configuration is illustrated in FIG. 14, where the input of voltage buffer 1401 is connected to the Vref net.

In an alternative embodiment, when the Vref voltage source has an acceptable low output resistance, then the voltage buffer 1401 may be eliminated from the circuits illustrated herein. As an example, the circuit from FIG. 4 composed of the measurement circuit of FIG. 13 is illustrated in FIG. 15. Accordingly, FIG. 15 is an example illustration of a capacitance-to-code converter with a low-pass filter that can be implemented without a voltage buffer 1401 coupled to the reference voltage source Vref. In one embodiment, the reference voltage Vref used to supply the switches in the capacitance-to-current converter is selected to be as close to VDD as possible (limited by the working range of the operational amplifier 1301), to minimize the current flow out of Ce2 102 relative to the current flowing through Cm 103. In alternative embodiments, the switches in the converters can be supplied with other known voltages such as, for example, VDD.

The sigma-delta modulator circuits can be effectively used for the current-to-code conversion. An advantage of the sigma-delta modulator circuits is their integrative nature. FIG. 16 illustrates one possible example of a modulator implementation for a first order modulator. It should be noted that higher order modulator circuits can be used as well. The sigma-delta modulator of FIG. 16 converts the current IS to a code in output bitstream 1601. The current IS discharges modulation capacitor Cmod 1602 until the voltage at Cmod 1602 falls below Vref, at which point comparator 1603 asserts its output to latch 1604, which outputs bits synchronously with a clock signal provided by clock 1605. The latch 1604 then closes switch 1606 to recharge Cmod 1602 at a rate faster than it is being discharged by current IS. When the voltage at Cmod 1602 rises above Vref, comparator 1603 de-asserts its output to latch 1604, which then opens synchronously to open switch 1606, allowing current IS to again discharge Cmod 1602. This toggling of state of latch 1604 provides the bitstream 1601 which may then be evaluated to provide a digital-code equivalent of the measured capacitance.

In one embodiment, the capacitance measurement circuit embodiments described previously may be used in touch sensitive devices. With such devices, a small capacitance change should be detected over the presence of large base capacitance. Such sensors have two components of capacitance, described in Equation 10:
CS=CSconst+CStouch  (10)
where CSconst is the capacitance of a sensor when touch is absent, and CStouch is the change in capacitance caused by an input, such as a finger touch. The informative part of the sensor capacitance CS is the CStouch component. In order to increase the resolution of the sensor, the particular compensation of the current generated by the CSconst capacitance can be used. There are several possible implementations of this technique. In one embodiment, an ADC 1701 with differential inputs may be used as illustrated in FIG. 17. In the circuit of FIG. 17, the Ucomp voltage is supplied to the second input of ADC 1701.

Alternative embodiments provide base-capacitance current compensation using a programmable current source or a resistor, as illustrated in FIGS. 18A, 18B, 19A, and 19B. More specifically, FIG. 18A illustrates base-capacitance current compensation using a resistor Rbias 1801 as a current source in a capacitance-to-current converter, according to one embodiment. FIG. 18B illustrates base capacitance current compensation using a resistor Rbias 1811 as a current sink in a capacitance-to-current converter, according to one embodiment. Current source 1901 and current source 1911 add and subtract current to and from the capacitance-to-current conversion circuits current onto Cint 1302, respectively. FIG. 19A illustrates base-capacitance current compensation using a current source 1901 as a current sink in a capacitance-to-current converter, according to one embodiment. FIG. 19B illustrates base-capacitance current compensation using a current source 1911 in a capacitance-to-current converter, according to one embodiment. The Rbias 1801 and Rbias 1811 add and subtract current to and from the capacitance-to-current conversion circuits current onto Cint 1302, respectively.

FIGS. 20A, 20B, and 20C illustrate using a current mirror 2001 in the conversion circuits. FIG. 20A shows an example of a circuit for current-to-voltage conversion using a low-pass filter, formed by the combination of load resistance RL 2002 and filter capacitor Cfilt 2003. The current to voltage conversion is carrying out on the output of capacitance-to-current converter 301. A filter output voltage can be measured using an ADC, such as that shown FIG. 12 (element 1202). FIG. 20B illustrates a current-to-current conversion circuit. A current (ISM) is sourced to the integration capacitor Cint 2013 from current mirror 2001 which is coupled to and mirrors the current (IS) of capacitance-to-current converter 301. The different circuits can be used for integration capacitor current measurement. In one embodiment, a current can be measured using a threshold comparator and a timer (not shown). In another embodiment, an integration capacitor voltage is measured using an ADC after running a capacitance-to-current operation within a predefined amount of time. The current mirror has low input impedance, which allows keeping a current mirror input pin voltage close to a constant voltage (e.g., VDD). This embodiment may optimize the operating conditions of the capacitance-to-current conversion circuit, allowing the use of a voltage buffer with a smaller slew rate and reduced current consumption. Also, the current mirror serves as a current amplifier or attenuator, boosting or reducing the converter current by a factor of N. Many implementations of the current mirror circuit are possible, and one implementation using bipolar transistors is shown at FIG. 20C (element 2001). Equivalent circuits may be made with MOS, CMOS, and other circuit techniques.

FIG. 21 illustrates a simplified schematic of a multi-touch touchpad system. The multi-touch touchpad system 2100 is composed of a dual dimension array (matrix) of electrodes 2101 coupled to column and row signal multiplexers 2102 and 2103. Multiplexor control 2107, clock source 2104, drive switches 2105 couple electrodes matrix 2101 to capacitance-to-current converter 301. Capacitance-to-current converter 301 is coupled to current-to-code converter 302. Current-to-code converter 302 is coupled to touch coordinate estimation system 2106. The electrodes matrix 2101 can be fabricated from any conductive material, as copper, conductive ink, Indium Tin Oxide (ITO), PEDOT, etc.

FIG. 22 illustrates one embodiment of the capacitance-to-current converter comprising a current mirror 2250 and integration circuit (Cint 2230, switch 2206 and CMP 2240) and a timer 2260.

Sensitivity and resolution of the capacitance measurement circuit are increased and the scan time is reduced with the addition of the compensating current Um generated by the programmable current supply IDAC 2210. The result summary current Iin is generated and given by:
Iin=Is−IIDAC  (11)

Current mirror 2250 mirrors Iin into Iint with a transmission efficiency K1=−1. A reset switch on current integrator capacitor Cint, along with a timer 2260 and a comparator CMP 2240, digitize the current from current mirror 2250. Before measurement, the voltage on capacitor Cint 2230 is reset to a reset potential by reset switch 2206. During operation, charge integration on Cint 2230 increases the voltage across Cint 2230 as:

U C ⁢ ⁢ int = I int · t int C int ( 12 )

The voltage across Cint, UCint, reaches a threshold Vref on the comparator CMP 2240 input, causing a hold on timer 2260 which is started at the beginning of the charge integration. The output of the timer is a digital representation of the non-compensated capacitance of Cm+CF. (wherein CF is the change in Cm caused by the presence of a finger or other conductive object). The full equation for the conversion of capacitance to current to counts is given by:

T x = U V ⁢ ⁢ ref K 1 ⁡ ( f sw · U Vdd · C m - I IDAC - f sw · U Vdd · C F ) · C int ( 13 )

This timer output signal may be used to operate reset switch 2206. In an alternate embodiment, integration capacitor reset switch 2206 may be operated by a state-machine or under control of a CPU executing instructions. Before measuring, the timer register's values are configured to initial values. The integration time may be sampled by a timer clock signal with a period of

T ref = 1 f ref ( 14 )

The result of the value of the clock frequency cycle number in one integration cycle of the measured current is given by:

N x = T x T ref ± 1 ( 15 )

In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of embodiments of the invention.

Claims

What is claimed is:

1. A capacitance measurement circuit comprising:

a capacitance to current conversion circuit configured to operate in a self capacitance mode in a first operational state and configured to operate in a mutual capacitance mode in a second operational state; and

a current to code conversion circuit configured to output a digital value representative of a current generated by the capacitance to current conversion circuit; wherein:

when the capacitance to current conversion circuit is configured to operate in the self capacitance mode, the capacitance to current conversion circuit comprises a sense capacitor between a first voltage potential and a plurality of switches, wherein the plurality of switches are configured to couple the sense capacitor alternately to a second voltage potential and to the current to code conversion circuit; and

when the capacitance to current conversion circuit is configured to operate in the mutual capacitance mode, the capacitance to current conversion circuit comprises a sense capacitor between a first electrode and a second electrode, the first electrode is coupled to an alternating voltage signal, and the second electrode is coupled to the current to code conversion circuit.

2. The capacitance measurement circuit of claim 1, wherein the current to code conversion circuit comprises;

an analog-to-digital converter (ADC); and

an integration capacitor coupled to the output of the capacitance to current conversion circuit and an input of the analog to digital converter at a first integration capacitor electrode and coupled to a fixed voltage potential at a second integration capacitor electrode.

3. The capacitance measurement circuit of claim 1, wherein the current to code conversion circuit comprises;

a comparator;

an integration capacitor coupled to the output of the capacitance to current conversion circuit and an input of the comparator at a first integration capacitor electrode and coupled to a fixed voltage potential at a second integration capacitor electrode; and

a time measurement circuit coupled to the output of the comparator.

4. The capacitance measurement circuit of claim 1, wherein the current to code conversion circuit comprises:

a transimpedance amplifier (TIA) coupled to the output of the capacitance to current conversion circuit and to an analog-to-digital converter (ADC); and

an integration capacitor coupled between an input and an output of the TIA.

5. The capacitance measurement circuit of claim 1, wherein the capacitance measurement circuit is configured to switch between the first operational state and the second operation state and the capacitance to current conversion circuit is configured for either self capacitance measurement or mutual capacitance measurement.

6. A capacitance sensing system comprising:

a first plurality of electrodes disposed along a first axis;

a second plurality of electrodes disposed along a second axis;

a capacitance to current conversion circuit coupled to the first plurality of electrodes and the second plurality of electrodes, the capacitance to current conversion circuit configured to operate in a self capacitance mode in a first operational state and configured to operate in a mutual capacitance mode in a second operational state; and

a current to code conversion circuit, wherein the current to code conversion circuit is configured to output a digital value representative of a current generated by the capacitance to current conversion circuit; wherein:

when the capacitance to current conversion circuit is configured to operate in the self capacitance mode, the capacitance to current conversion circuit comprises a sense capacitor between a first voltage potential and a plurality of switches, wherein the plurality of switches are configured to couple the sense capacitor alternately to a second voltage potential and to the current to code conversion circuit; and

when the capacitance to current conversion circuit is configured to operate in the mutual capacitance mode, the capacitance to current conversion circuit comprises a sense capacitor between a first electrode and a second electrode, the first electrode is coupled to an alternating voltage signal, and the second electrode is coupled to the current to code conversion circuit.

7. The capacitance sensing system of claim 6, wherein the capacitance to current conversion circuit, when configured to operate in the self capacitance mode, is coupled to at least one of the first or second pluralities of electrodes and is configured to convert the capacitance of the at least one of the first or second pluralities of electrodes to a current value.

8. The capacitance sensing system of claim 6, wherein the capacitance to current conversion circuit, when configure to operate in the mutual capacitance mode, is coupled to at least one of the first plurality of electrodes and at least one of the second plurality of electrodes and is configured to convert the mutual capacitance between the at least one of the first plurality of electrodes and the at least one of the second plurality of electrodes to a current value.

9. The capacitance sensing system of claim 6, wherein the capacitance to current conversion circuit, when configured to operate in the mutual capacitance mode, comprises:

a mutual capacitance between at least one of the first plurality of electrodes and at least one of the second plurality of electrodes;

a first plurality of switches configured to couple the at least one of the first plurality of electrodes to an output of a voltage buffer and to couple the at least one of the second plurality of electrodes to an input of the voltage buffer and to the current to code converter in non-overlapping phases; and

a second plurality of switches configured to couple the at least one of the first plurality of electrodes to a fixed voltage potential and to couple the at least one of the second plurality of electrodes to the input of the voltage buffer and to the current to code converter in non-overlapping phases.

10. The capacitance sensing system of claim 6, wherein the first and second pluralities of electrodes are a sensitive portion of a touchscreen.

11. The capacitance sensing system of claim 6, wherein the capacitance sensing system is configured to detect a single conductive object in the first operational state and configured to detect multiple conductive objects in the second operational state.

12. A method of measuring capacitance, comprising:

at a capacitance sensing system having a first plurality of electrodes disposed along a first axis, a second plurality of electrodes disposed along a second axis, a capacitance to current conversion circuit coupled to the first plurality of electrodes and the second plurality of electrodes, and a current to code conversion circuit:

in a first operational state, configuring the capacitance to current conversion circuit to convert a self capacitance to a first current, wherein the current conversion circuit comprises a sense capacitor between a first voltage potential and a plurality of switches, and wherein the plurality of switches are configured to couple the sense capacitor alternately to a second voltage potential and to the current to code conversion circuit;

converting a self capacitance to the first current;

converting the first current to a digital value representative of the self capacitance;

in a second operational state, configuring the capacitance to current conversion circuit to convert a mutual capacitance to a second current, wherein the capacitance to current conversion circuit comprises a sense capacitor between a first electrode and a second electrode, the first electrode is coupled to an alternating voltage signal, and the second electrode is coupled to the current to code conversion circuit;

converting a mutual capacitance to the second current; and

converting the second current to a digital value representative of the mutual capacitance.

13. The method of claim 12, wherein converting the self capacitance to the first current comprises:

coupling a capacitor to a first voltage potential in a first non-overlapping phase; and

coupling a capacitor to a second voltage potential in a second non-overlapping phase.

14. The method of claim 12, wherein converting the mutual capacitance to the first current comprises:

coupling a first electrode to an alternative voltage signal; and

coupling a second electrode to an integration capacitor.

15. The method of claim 12, wherein converting the mutual capacitance to the first current comprises:

accumulating charge on an integration capacitor;

generating a voltage potential across the integration capacitor; and

converting the generated voltage potential across the integration capacitor to a digital value.

16. The method of claim 12, further comprising detecting a first conductive object in the first operational state and detecting a second conductive object in the second operational state.

Resources

Images & Drawings included:

Sources:

Similar patent applications:

Recent applications in this class:

Recent applications for this Assignee: