System for and method of transferring charge to convert capacitance to voltage for touchscreen controllers
Granted 7 Jan 2014 · 2 office actions
Current assignee: Qualcomm Technologies, Inc. · originally Analog Devices
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Patrick Chan, Venugopal Reddy, Karthikeya Kodur, Ashutosh Ravindra Joharapurkar · Examiner: Koosha Sharifi-Tafreshi · AU 2695 · TC 2600
Life of the application
15 dated eventsAbstract
A touchscreen controller system determines the actual locations of multiple simultaneous touches by eliminating mutual capacitance between adjacent rows and columns during self-capacitance measurements and selectively enabling mutual capacitance during mutual capacitance measurements. During the self-capacitance measurements, the controller system generates a set of candidate touch locations, which includes the locations of real and ghost touches. During the mutual capacitance measurements, only the locations in the candidate set are measured and, from these measurements, the actual touch locations are determined. By limiting the mutual capacitive measurements to only a small subset of the locations over the entire touch panel, real touch locations are determined on a linear order. Also, by using on-chip integration capacitors, embodiments of the invention are able to perform each measurement in a single cycle.
Description
11 parts›RELATED APPLICATIONS
This application claims priority under 35 U.S.C. §119(e) of the co-pending U.S. provisional patent application Ser. No. 61/326,830, filed Apr. 22, 2010, and titled “Differential Capacitive Touchpad Circuit and Method,” which is hereby incorporated by reference in its entirety.
The following co-owned, co-filed, and co-pending applications, U.S. patent application Ser. No. 12/986,776, titled “Method and Apparatus for Improving Dynamic Range of a Touchscreen Controller,” U.S. patent application Ser. No. 12/986,881, titled “Noise Cancellation Technique for Capacitive Touchscreen Controller Using Differential Sensing,” U.S. patent application Ser. No. 12/986,991, titled “System Integration of Tactile Feedback and Touchscreen Controller for Near-Zero Latency Haptics Playout,” U.S. patent application Ser. No. 12/987,008, titled “Use of Random Sampling Technique to Reduce Finger-Coupled Noise,” and U.S. patent application Ser. No. 12/986,905, titled “Method and Apparatus for Generating Piezoelectric Transducer Excitation Waveforms Using a Boost Converter,” are all also incorporated by reference in their entireties.
›FIELD OF THE INVENTION
This invention relates to human-to-machine interfaces. More specifically, this invention relates to capacitive touchscreens.
›BACKGROUND OF THE INVENTION
Touchscreens or touch panels provide an interface for displaying output and receiving input, a structure that makes them well suited for mobile phones, personal digital assistants, digital music players, and other compact devices. Using a touchscreen, a user can select or manipulate items displayed on the touchscreen, such as buttons, sliders, scroll wheels, and other screen icons.
Prior art systems use different methods to detect the presence of an object, such as capacitive charge transfer methods and relaxation OSC methods. In a capacitive touchscreen, for example, charge is transferred to sensing elements and objects adjacent to them. The combined stored charge is then read, with charges above a threshold indicating that the object is above the sensing element currently being read. By arranging sensing elements into a grid pattern having rows and columns, the particular location of an object on the grid can be determined.
FIG. 1 is a block diagram of prior art capacitive touchscreen 100 . The touchscreen 100 comprises a surface containing multiple sensing elements 101 , each configured to sense the presence an object, such as a finger 105 , adjacent to it. By detecting which ones of the sensing elements the object 105 is adjacent to, the location of the object along the surface of the touchscreen 100 is determined. The capacitive touchscreen 100 functions by opening and closing switches A, A′ B, B′, C, and C′ to transfer charge that is measured by measuring circuits 110 and 115 and calculated by calculation means 120 . Those skilled in the art will recognize that the capacitive touchscreen 100 requires multiple clock phases and multiple charge transfer cycles to determine whether an object is adjacent to its surface.
The touchscreen 100 has several disadvantages. For example, charge must be transferred to external capacitors C S1 and C S2 several times to measure capacitance change. This increases the latency and thus reduces the maximum frame rate that can be supported. As a result, the touchscreen 100 has limited sensitivity and a reduced signal-to-noise ratio.
The touchscreen 100 , like other prior art capacitive touchscreens, also suffers from “ghosting,” during which the actual locations of simultaneous touches cannot be resolved. When simultaneous touches occur at multiple locations, the system is only able to determine that several touches occurred, the “real” touches and “ghost” touches. The system is unable to easily distinguish between the real and ghost touches. This ambiguity, and the processing needed to resolve it, increases exponentially with the number of simultaneous touches.
Some capacitive touchscreens determine simultaneous touches using “mutual capacitance,” a process that senses capacitances at the intersections of row and column lines. Systems that support mutual capacitance measurements require much more complex analog hardware, which results in higher power dissipation, lower throughput rate, larger die size, and more complex signal processing.
›SUMMARY OF THE INVENTION
Touchscreen controller systems in accordance with the invention support mutual capacitance cancellation and selective mutual capacitance measurements between sensors, reducing the requirement of offset canceling capacitances. These touchscreen controller systems are also capable of eliminating ghost touches on a panel, a feature that is critical in detecting multi-touches without ambiguity. It does this without needing to take mutual capacitance measurements between each combination of row and column.
Touchscreen controller systems in accordance with the invention need only a single charge transfer cycle to detect capacitance changes that indicate the presence of an object. These touchscreen controller systems use on-chip integration capacitors, which are much smaller than external integration capacitors and can be charged and discharged more quickly. These touchscreen controller systems can support faster frame rates, can improve sensitivity, and require no external components for the sensors.
Touchscreen controller systems in accordance with the invention convert sensor capacitance of a touch screen panel to a directly proportional voltage. In a reset phase the systems are driven to ground and will not pick up noise from external sources. In one embodiment, except for one switch in the feedback path, all node voltages carry either a reference voltage or ground. This structure reduces the effect of charge injection because most of the charge injection results in a constant offset for the system, an offset that can be accommodated by calibration.
In one aspect of the invention, a touchscreen controller systems for sensing one or more objects adjacent to and/or in contact with a surface of the touchscreen controller includes a plurality of sense lines arranged adjacent to the surface of the touch panel. Adjacent sense lines have a mutual capacitance. A plurality of capacitive sensing elements are each coupled to one of the sense lines. A control logic is configured to drive mutual capacitances between selected and unselected sense lines to the same potential during a self-capacitance measuring stage and to drive mutual capacitances between selected and unselected sense lines to different potentials during a mutual capacitance measuring stage. In one embodiment, the touchscreen controller systems includes a voltage measurement circuit that converts a charge on a selected capacitive sensing element into a corresponding voltage that indicates whether an object is adjacent thereto.
In a second aspect of the invention, a method of sensing presence of objects simultaneously on or adjacent to a surface of a touch panel includes individually selecting row and column lines of the touch panel to determine one or more candidate locations of the objects along the surface and reading combinations of row and column lines of the touch panel from only the candidate locations to determine one or more actual locations of the objects along the surface. In one embodiment, the steps of individually selecting row and column lines and reading combinations of row and column lines are performed on a single integrated circuit. The method also includes canceling mutual capacitance between the row and column lines when individually reading selected row and column lines and selectively enabling mutual capacitance between adjacent row and column lines when reading selected combinations of row and column lines.
In one embodiment, determining one or more actual locations comprises comparing self capacitance measurements of the candidate locations with corresponding mutual capacitance measurements.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram of a prior art touchscreen.
FIG. 2 is a block diagram of a mobile telephone having a touchscreen, used to explain principles of the invention.
FIG. 3 is a schematic diagram showing several components of a touchscreen, used to explain principles of the invention.
FIG. 4 is a high-level diagram modeling component and parasitic capacitive elements of a capacitive touchscreen, used to explain principles of the invention.
FIGS. 5A and 5B show a sensor component during reset and measurement phases, respectively, in accordance with one embodiment of the invention.
FIG. 6 is a schematic diagram of an offset capacitor in accordance with one embodiment of the invention.
FIG. 7 shows voltage diagrams during reset and measurement phases for the sensor components of FIGS. 5A and 5B .
FIGS. 8A-C are schematic diagrams of a sensor component that uses integration operations in accordance with one embodiment of the invention.
FIG. 9 shows voltage diagrams of the sensor component in FIGS. 8A-C during different phases of operation.
FIG. 10 shows real and ghost locations of multiple touches on a touchscreen, used to explain the principles of the invention.
FIG. 11 shows the steps of a method of measuring the voltages on sensing elements using both self capacitance and mutual capacitance to eliminate ghosting in accordance with the present invention.
FIG. 12 shows the steps of a method of selectively enabling mutual capacitance in combination with self capacitance, as illustrated in FIG. 11 .
›DETAILED DESCRIPTION OF THE INVENTION · 1 of 6
The present invention encompasses techniques for reducing or eliminating error in the output of capacitive sensor arrays such as touchpads, touchscreens, touch sliders and the like, including sensors that detect the presence and position of a stylus, as well as those that detect and determine finger position. While the illustrative embodiment described herein is applied in a mobile telephone, it is understood that capacitive touch sensors are used in a wide variety of devices. Examples of such devices are portable devices, such as personal digital assistants (PDA5), global positioning systems (GPS) receivers, as well as larger devices such as touchscreen enabled displays and computer systems, as well as appliances.
Referring now to FIG. 2 , a mobile telephone 200 in accordance with one embodiment of the present invention is shown. The mobile telephone 200 includes a microprocessor (μP) 214 coupled to a memory 215 that stores program instructions for execution by the microprocessor 214 , and generally includes non-volatile storage for such program instructions, as well as temporary storage for use by the microprocessor 214 . The program instructions stored in a memory 215 include program instructions forming computer program products in accordance with embodiments of the present invention that determine the position of one or more fingers and/or styli at the surface of a touch sensor included in an integrated liquid crystal display (LCD)/touchpad 212 . The LCD/touchpad 212 is coupled to a touchpad circuit 220 in accordance with one embodiment of the present invention that includes the capability of simultaneously measuring the capacitance of two or more elements of the touchpad within the LCD/touchpad 212 . Alternatively, as will be described in further detail below, the present invention may integrate a voltage present on the two or more elements which is generally produced by providing a reference potential to another layer. Integrator circuit(s) may be provided to perform the integration, or the present invention may include program instructions within the memory 215 that measure the voltages present on the two or more elements, from simultaneous samples of the voltages, and integrate the voltages. The mobile telephone 200 also includes a display controller 216 for coupling the microprocessor 214 to the LCD within the integrated LCD/touchpad 212 and radio circuits 218 for providing wireless telephone communication connections. The mobile telephone 200 also includes an audio codec 217 coupled to a microphone 213 and a speaker element 211 that provide voice communications with a user.
In accordance with the present invention, the capacitance of two or more rows/columns of a two-dimensional touchpad array or two or more elements of a one-dimensional touchpad array, such as a slider, are measured simultaneously, either directly, or by measuring a voltage present on the elements. The measurements are subtracted to yield a measurement free of common-mode error that is primarily due to incident noise, such as that produced by operation of the LCD, any backlight or other power supply under integrated LCD/touchpad 212 and other external environmental sources of noise.
Referring now to FIG. 3 , details of the touchpad circuit 220 in the mobile telephone 200 of FIG. 2 are shown in accordance with one embodiment of the present invention. As in all the figures, the same label refers to the same or similar element. The touchpad circuit 220 includes a pair of multiplexers 260 A and 260 B coupled to each of eight rows of touchpad elements 280 . Single touchpad elements 280 are illustrated, but it is understood that more or fewer rows and columns of equal or unequal numbers and both one and two-dimensional touchpads can utilize the techniques of the present invention. The multiplexer 260 A selects a first row/element from among the touchpad elements 280 . The multiplexer 260 B selects another second row/element from among the touchpad elements 280 . A pair of capacitance measuring circuits 270 A and 270 B each measures the capacitance at the output of the multiplexers 260 A and 260 B, respectively, which will change due to the presence of a finger/stylus near the selected element, and converts the capacitances to corresponding voltage signals.
A control logic circuit 225 provides a reset signal Rst for resetting capacitance measuring circuits 270 A and 270 B, which prepares capacitance measuring circuits 270 A and 270 B to make capacitance measurements. The control logic can be integrally formed with the microprocessor 214 . In such a case the signal Rst will be provided by the microprocessor 214 . Selection values Sel 1 and Sel 2 are set at address inputs of multiplexers 260 A and 260 B for selecting the measurement elements prior to performing the measurement. The reset signal Rst is de-asserted, thereby permitting the capacitance measuring circuits 270 A and 270 B to measure the capacitance of the respective selected touchpad elements 280 . The outputs of the capacitance measuring circuits 270 A and 270 B are applied differentially to the inputs of an analog-to-digital converter (ADC) 240 , which provides digital values corresponding to the difference between the capacitances measured at the outputs of the multiplexers 270 A and 270 B, after a sample control signal, Sample, signal is asserted for sampling the outputs of the capacitance measuring circuits 270 A and 270 B. Therefore any common-mode noise and offset present at the outputs of multiplexers 260 A and 260 B will be substantially canceled in the output of ADC 240 .
FIG. 4 is a schematic diagram 400 modeling the touch pad circuit 220 of FIG. 3 , used to explain principles of the invention. The schematic 400 shows that each intersecting row and column lines (e.g., R 1 and C 1 ) that form the touchpad 212 contains a mutual capacitance C U . Each row line contains a sensor capacitance (C X ) and a sensor offset capacitance (C XOFF ), both coupled to ground. For modeling purposes, it will be appreciated that C XOFF can be combined into its corresponding C X .
›DETAILED DESCRIPTION OF THE INVENTION · 2 of 6
Referring now to FIG. 5A , details of capacitance measuring circuits 270 A and 270 B (collectively, 270 ) of FIG. 3 are shown. A capacitance measuring circuit, as provided in one embodiment of the present invention, includes a switching network formed by the switches S 1 A-S 1 D, the switches S 2 A-S 2 C, and the switch S 3 . A feedback or integration capacitor C INT is selectively coupled to an operational amplifier 420 by the switches S 1 C and S 2 B. As shown in FIG. 5A , when the reset signal Rst is asserted, the switch S 3 couples the input of mutual capacitor C U to ground and the switch S 1 B couples the inverting input of the amplifier 420 to a reference voltage V REF . Also during assertion of the reset signal Rst, the switch S 2 B is open and the switch S 1 C is closed, causing the integration capacitor C INT to be charged to the reference voltage V REF . Also during the assertion of the reset signal Rst, the switch S 1 A is closed, coupling the output of the multiplexer 260 to ground, which discharges a capacitance C X of the selected element, and any stray offset capacitance along the path to the selected element C XOFF . An offset cancellation capacitor C OFF is coupled to the inverting input of the operational amplifier 420 and charged to the reference voltage V REF when the reset signal Rst is asserted by the activation of the switch S 1 D that grounds the second terminal of the offset cancellation capacitor C OFF . Therefore, after a settling time, the condition of the capacitances in the capacitance measurement circuit 270 are such that the integration capacitor C INT and the offset cancellation capacitor C OFF are charged to the reference voltage V REF , and the element capacitance C X and any stray offset capacitance C XOFF are substantially discharged.
As shown in FIG. 5B , when a measurement control signal Meas is asserted after the reset signal Rst is de-asserted, which is generally performed by ensuring non-overlapping control signals generated by the control logic 225 , the switches S 1 C and S 1 B are open due to the de-assertion of the reset signal Rst, and the switch S 3 couples the mutual capacitance C U to the reference voltage V REF . The switch S 2 B is closed by assertion of the measurement control signal Meas, causing the integration capacitor C INT to be coupled between the output and the inverting input of the operational amplifier 420 . Since the integration capacitor C INT is charged to a voltage of V REF with respect to the input terminal, and since the non-inverting input of the operational amplifier 420 is also referenced to the reference voltage V REF , the initial output of the operational amplifier 420 will be substantially zero. During assertion of the measurement control signal Meas, the switch S 2 A is closed, and the switch S 1 A was previously opened at de-assertion of the reset signal Rst. Also, the offset cancellation capacitor C OFF is de-coupled from ground when the reset signal Rst causes the switch S 1 D to open, and is coupled to the reference voltage V REF at the previously-grounded terminal when the measurement control signal Meas causes the switch S 2 C to close. As a result of the closure of the switches S 2 A and S 2 C, a positive charge amount equal to C OFF *V REF , where C OFF is the capacitance of the offset cancellation capacitor C OFF , is transferred from the offset cancellation capacitor C OFF to the integration capacitor C INT and a negative charge amount equal to −C X *V REF is transferred from the output terminal of the multiplexer 260 to the integration capacitor C INT , where C X is the sum of the capacitances of the element capacitance C X and any stray offset capacitance C XOFF . (Based on a particular context, those skilled in the art will recognize when a label, such as C OFF , refers to an element, a value of an element, a charge on an element, etc.)
The output voltage V 0 of the operational amplifier 420 is equal to the output-referred voltage across the integration capacitor C INT plus V REF , which can be computed from V 0 =Q F /C INT +V REF where Q F is the charge on the integration capacitor C INT . The total charge transferred to the integration capacitor C INT when the measurement control signal Meas is asserted is C X *V REF −C OFF *V REF =ΔQ F . The initial charge on the integration capacitor C INT is −C INT *V REF , so the final value of charge Q F is given by Equation (1):
− C INT *V REF +C X *V REF −C OFF *V REF Equation (1)
and the output voltage V 0 is given by Equation (2):
V 0 =(− C INT *V REF +C X *V REF −C OFF *V REF ) C INT +V REF =( C X /C INT −C OFF /C INT )* V REF Equation (2)
The same result can be obtained by applying charge conservation at the inverting input terminal of the operational amplifier 420 . Therefore, the output voltage V 0 is proportional to the capacitance of the element plus any stray offset capacitance. The offset cancellation capacitor C OFF provides biasing of the measurement away from an always negative result, and the relative capacitance of the integration capacitor C INT sets the dynamic range of the measurement. In one embodiment of the present invention, the integration capacitor C INT can have a much higher capacitance relative to the capacitances C X and C XOFF , and the switches S 1 A and S 2 A are operated by separate clock signals having a higher frequency than the measurement control signal Meas and the reset signal Rst. The operational amplifier 420 and the integration capacitor C INT will then act as an integrator, integrating the charge transferred from the capacitance at the output of the multiplexer 260 , providing additional filtering of noise.
The feedback factor for the operational amplifier 420 is determined by the ratio of C X and C OFF to C INT . C X is an external capacitor that the designers have no control over. It can change from a very small value to a large value. C OFF is used to cancel the effect of parasitic capacitance, C XOFF . In one embodiment, shown in FIG. 6 , C OFF is a capacitive digital-to-analog control element made up of unit-sized capacitors. Instead of switching unit capacitors in and out, depending on the value of C X , the number of fingers at the bottom plate of C OFF driven to V REF or ground during the measurement phase can be changed. If the bottom plate of some of the fingers of C OFF is driven to ground in the measurement phase, there is no net charge transfer from these fingers as the voltage across them stays constant in the two cycles. The feedback factor will be set by all the fingers of the C OFF capacitor and the external capacitor C X . This will significantly reduce the variation of the feedback factor of the operational amplifier.
›DETAILED DESCRIPTION OF THE INVENTION · 3 of 6
The embodiment of C OFF shown in FIG. 6 allows for the calibration of the capacitance measurement circuit 270 in FIG. 3 . In the embodiment of FIG. 6 , C OFF can be made programmable. Additional fingers of a capacitor having a common plate are selected by a plurality of switches S C1 through S CN in response to a set of digital signals trim, effectively providing for a set of selectable capacitive elements C 1 -CN that can be used to adjust C OFF on a static per-element basis after calibration. In one embodiment, C OFF is zeroed for offset cancellation.
Referring to FIG. 5A , in one embodiment, the integration capacitor C INT and the operational amplifier 420 are formed on a single integrated circuit. As one example, all the elements to the right of the dotted line are on a single integrated circuit. It will be appreciated that because the integration capacitor C INT is on-chip, it is smaller than similarly functioning capacitors in the prior art, reducing the time needed to charge and discharge it. Such structure decreases the latency of the touchscreen processing.
Referring now to FIG. 7 , a signal waveform diagram depicting the operation of the capacitance measurement circuit 400 of FIG. 5A is illustrated. The voltage V CF , is the voltage across the feedback capacitor C INT and the voltage V CX is the voltage at the output of the multiplexer 260 . During the first assertion of the reset signal Rst, at a time T a , the voltage V CF is set to V REF and the voltage V CX is set to zero. The depicted condition for the first measurement is C X =0.50C INT and C OFF =0. At a time T b , the reset signal Rst is de-asserted and the measurement control signal Meas is asserted. The voltage V CF falls to 0.5V REF , and the voltage V o rises to 0.5* V REF , which is consistent with Equation (2), above. Also at the time T b , the sample control signal Sample is asserted and the value of the difference between the outputs of the capacitance measurement circuits 270 A and 270 B is sampled and then captured at a time T c on the falling edge of sample control signal Sample. Since the operation of both of the capacitance measurement circuits 270 A and 270 B is identical except for the capacitance present at their inputs, only one set of waveforms is shown in FIG. 7 . On the next measurement interval starting at time T d , C X =2C INT and C OFF =C INT . The voltage V CF falls to 0, and the voltage V 0 rises to V REF which is consistent with Equation (2), above.
It will be appreciated that the number of charge transfer cycles can be increased to increase the range or to perform the integration.
Within an array of capacitive sensor elements, mutual capacitance between rows and columns, as well as between adjacent rows and between adjacent columns, can reduce the effective dynamic range of capacitance measurements, since the mutual capacitance will always be present, or require cancellation by techniques such as increasing offset cancellation capacitor C XOFF , in capacitance measurement circuit 400 of FIG. 5A . To avoid stray electrostatic noise from charging unselected ones of elements 280 in FIG. 3 (i.e., those elements not selected by selection values Sel 1 and Sel 2 ), the unselected elements can be grounded by circuits within the multiplexers 260 A and 260 B. Typically the unused sensors are grounded. If the unused sensors are grounded, this will add to the capacitance from the sensor ground in the form of mutual capacitance. This will require a larger offset cancellation capacitor. In the first phase, all the sensors are grounded. In the second phase, the measured sensor goes to V REF as it is coupled to the negative terminal of the operational amplifier. If all the unused sensors are driven to V REF during the second phase, they will contribute no charge towards the integrator output. This will reduce the offset capacitance that needs to be canceled without changing the feedback factor.
In accordance with another embodiment, capacitance is measured at the input of a sensor circuit and produces a proportional voltage output. In accordance with this embodiment, a voltage proportional to the input capacitance in the analog domain is integrated for multiple cycles. This will reduce the post-processing required by the micro controller.
FIGS. 8A-C are schematic diagrams of a sensor circuit 500 using a coupling capacitor Cc for integrating a voltage proportional to an input capacitance in the analog domain, in accordance with one embodiment of the invention. The scheme is similar to the charge transfer circuit shown in FIG. 5A . The circuits in FIGS. 5A and 8A differ in that the circuit 500 has a switch S 2 D coupling the coupling capacitor Cc to a node V X , a switch S 1 E across Cc, and a switch S 1 F coupling a top plate of capacitor C OFF to the reference voltage V REF . As in all the figures, similarly labeled elements refer to the identical or a similar element.
The coupling capacitor Cc and the feedback capacitor C INT together form an integrator circuit, which functions as an averager. The charge transferred from C C onto C INT during each integration cycle. C INT accumulates this charge over the number of integration cycles. The operational amplifier 420 maintains the charge across C INT for all the integration cycles and hence the integrated output. The number of integration cycles that can be performed depends on the maximum sensor capacitance C X at the input and the ratio of Cc/C INT . The increase in the number of integration cycles increases the chances of the sensor circuit 500 getting saturated and thereby losing data. A small value of Cc gives a low integration gain but gives a better settling response. A large value of Cc on other hand gives a better gain, but the settling time requirement also increases.
The choice of N, the number of integration cycles, is a system design consideration and is a tradeoff between digital post-processing time, additional die area, and analog settling time tolerance. If the circuit with lesser settling accuracy can be tolerated against increased die area (due to digital post-processing) then this architecture will be well-suited for such a circuit.
›DETAILED DESCRIPTION OF THE INVENTION · 4 of 6
In operation, the feedback capacitor C INT is charged to V REF at the beginning of each channel conversion. For the next N integration cycles, the integration capacitor C INT will remain connected across the operational amplifier 420 , between the negative terminal and the output.
The charge transfer occurs over 3 phases, as described below.
FIG. 8A shows the circuit 500 in the integrator reset phase (phase 1 ), the initial phase for the channel conversion. As shown in FIG. 8A , the switches S 1 A-F are all closed, and the switches S 2 A-D are all open. Once the channel to be converted is chosen from the channel multiplexer 260 , the input capacitance C X (the combination of C XOFF , C parasitic and C TOUCH ) is discharged to GND. The offset capacitance C OFF is charged to V REF , the integration capacitance C INT is charged to V REF , and the coupling capacitor Cc is discharged by shorting its terminals and driving it with V REF . The operational amplifier 420 is in a reset phase because both of its terminals are driven to V REF and its output is thus driven to GND.
Next, as shown in FIG. 8B , the sensor circuit 500 is placed in the integrator measure phase (phase 2 ), the integrate phase for the channel conversion. As shown in FIG. 8B , switches S 1 A-F are all open, and switches S 2 A-D are all closed. C OFF is charged to V X −V REF , C INT is charged to V REF −V 0 , Cc is charged to (V X −V REF ), and the inverting terminal of the operational amplifier 420 is driven to V REF by the output of the operational amplifier 420 . The operational amplifier 420 is now in an active phase.
Applying charge conservation law at node V X , the following equations are calculated for finding the voltage at V X :
C X *V X +C OFF *( V X −2 *V REF )+ Cc *( V X −V REF )=0 Equation (3)
( C X +C OFF +Cc )* V X =(2 *C OFF +Cc )* V REF Equation (4)
V X =((2 *C OFF +Cc )/( C X +C OFF +Cc ))* V REF Equation (5)
Similarly, applying Kirchoff's Current Law at the summing junction node of the circuit 500 , the equation for the output V OUT is obtained:
Cc *( V REF −V X )+ C F *(− V O )=0 Equation (6)
V O =( Cc/C INT )*( V REF −V X ) Equation (7)
For the Nth integration cycle, the output is given as:
V O =Σ N (( Cc/C INT )*( V REF −V X )) Equation (8)
As seen from the Equation (8), the change in the output from one charge transfer cycle to the next is a ratio of (Cc/C INT ). The node voltage V X remains constant throughout the number of charge transfer cycles as long as C X is constant.
Next, as shown in FIG. 8C , the sensor circuit 500 is placed in the coupling capacitance RESET phase (phase 3 ), which is the discharge phase for the coupling capacitor Cc. As shown in FIG. 8C , the switches S 1 A, S 1 D, S 1 E, S 1 F, and S 2 B are all closed, and the switches SIB, S 1 C, S 2 A, S 2 C, and S 2 D are all open. In the coupling capacitance reset phase, the feedback capacitor C INT remains connected to the output of the operational amplifier 420 . The offset cancellation capacitor C OFF is charged to V REF . The bottom plates are all tied to GND. The operational amplifier 420 is in the mid cycle reset phase. The output is held constant during this phase because the charge across C INT does not change.
FIG. 9 is a timing diagram for the charge transfer circuit 500 , for N=4. Referring to FIGS. 9 and 8 A-C, Ta indicates the start of Phase 1 , during which Ph 1 goes HIGH. The circuit 500 enters the reset phase for the integrator. The output of the operational amplifier 420 is held at 0 V, the voltages across C X is zero, and C XOFF is charged to V REF .
Tb indicates the start of phase 2 , during which Ph 2 goes HIGH. Ph 1 goes low and there is a non-zero non-overlap time between Ph 1 going LOW and Ph 2 going HIGH. Ph 2 remains HIGH throughout the N integration cycles. The operational amplifier 420 feedback switches are closed and the circuit 500 is connected to the sensor capacitance C X through series switches and Cc, the coupling capacitor. The output of the operational amplifier 420 goes to a value decided by the four capacitors C X , C OFF , Cc and C INT , the voltage across C X is V X , which is given by the equation above. The voltage across the feedback capacitor C INT , which was initially charged to V REF , starts to fall. The integrator output continues to accumulate and the voltage at V OUT continues to rise. The step change in the output voltage is given by the equations above. The sample from the integrator is taken after N integrator cycles.
Still referring to FIG. 9 , Tc indicates the start of Phase 3 and the end of Phase 2 . After a non-overlap time the next discharge phase for the coupling capacitor Cc starts. This is phase 3 as described above. During phase 3 , the output of the integrator is held constant from Phase 2 , while the coupling capacitor Cc, C XOFF and C X are all reset to their initial states. The voltage at the node V X is forced to V REF .
This cycle of repeating phase 3 and phase 2 for the coupling capacitor Cc is performed a number of times and the final output of the integrator is sampled onto an analog-to-digital converter. This forms the single averaged voltage which represents the sensor capacitance present at the selected channel
For the example of FIG. 9 , C X =34 pF, C OFF =14.4 pF, Cc=12.8 pF, C INT =19.2 pF and V REF =1 V.
V X =((2 *C OFF +Cc )/( C X +C OFF +Cc ))* V REF
V X =0.680 V
V 0 =( Cc/C INT )*( V REF −V X )
The step change in output voltage with integration is 0.213 V
As for times Td and Te, the Phases Ta and Tb are respectively repeated for the next channel. For clarity, the value of C X (sensor capacitance) is shown to be different to the two channels.
FIG. 10 shows a touch panel 700 used to explain how ghosting is eliminated in accordance with principles of the invention. The touch panel 700 contains four overlapping row lines (R 1 -R 4 ) and column lines (C 1 -C 4 ). Those skilled in the art will recognize that the principles of the invention work with touch panels having any number of row and column lines, and, generally more than 4 of each. The touch panel 700 shows only four rows and columns merely to simplify the drawings.
›DETAILED DESCRIPTION OF THE INVENTION · 5 of 6
Simultaneous “real” touches occur at the intersection of row R 1 and column C 1 (“R 1 C 1 ”) and at the intersection of row 4 and column 4 (R 4 C 4 ), as indicated by the solid circles. The system, scanning all the row and column lines sequentially, senses touches as shown by the profiles 705 and 710 , that is, on column C 1 and C 4 and rows R 1 and R 4 . The profiles 705 and 710 indicate that touches could have occurred at any of the intersections of these row and column lines, that is, at the combinations R 1 C 1 , R 1 C 4 , R 4 C 1 , and R 4 C 4 . The combinations at which touches did not occur (R 1 C 4 and R 4 C 1 ) are called “ghost touches,” as indicated by hatched circles. It will be appreciated that the larger the number of simultaneous real touches, the larger the number of ghost touches that must be processed and eliminated from consideration.
In accordance with the principles of the invention, the system sequentially scans the individual row and column lines (self capacitance) to determine a set of “candidate” touch locations (e.g., the set containing R 1 C 1 , R 1 C 4 , R 4 C 1 , and R 4 C 4 ). Next, these combinations, and only these combinations, are sensed using mutual capacitance. Only the real touch locations will indicate the presence of an overlying object. In this way, embodiments of the invention require only searches on a linear order (e.g., number of rows+the number of columns, since the number of mutual capacitance touches that must be considered are of the same order) to disambiguate real touches from ghost touches.
In mutual capacitance mode, the steps are changed from those described above, to allow for cancellation of mutual capacitance.
Again referring to FIGS. 5A and 5B , in the Reset phase, C X is discharged, C INT is charged to −V REF , and C OFF is charged to V REF . C U for all the unselected lines are discharged, and C U for the selected line (e.g., C U-R1C1 ) is charged to −V REF . In the Measurement phase, C INT is coupled across the operational amplifier 420 , and C X is connected to the negative terminal of the operational amplifier 420 . Both ends of all the C X is are connected to V REF , so their charge does not change. C U for the selected line (through the switch S 3 ) is charged to V REF . The output of operational amplifier 420 for the selected line is given by Equation (8):
V 0 =Constant* V REF *C U-R1C1 /C INT +V REF *( C X −C OFF )/ C INT Equation (9)
In this example, Constant equals 2 because flipping the polarity magnifies the effect of the mutual capacitance.
Comparing Equations (2) and (9), it is readily apparent that V 0 contains the self-capacitance measurement of Equation (2). As explained below, the difference between these two equations, indicating a mutual capacitance between lines, can be used to disambiguate ghost touches from real touches.
In one embodiment, the selected sensor (i.e., one row for column measurement and one column for a row measurement) is driven to V REF during the discharge phase and to ground during the integrate phase. Alternatively, the selected sensor can be held at ground all the time, in which case Constant has the value of 1.
The output can be converted to a digital code by an ADC. When the digital output from the normal measurement (e.g., given by Equation (2) above) is subtracted from the mutual capacitance measurement (Equation (9)), the mutual capacitance between a row and column can be deduced. This result is used to resolve the ambiguity in the position when multiple simultaneous touches are present.
FIG. 11 is a flow chart of the steps of a process of determining the location of an object adjacent to a touch sensor in accordance with one embodiment of the invention, utilizing both self capacitance and mutual capacitance. After the start step 801 , in the step 805 the process selects the next line (e.g., R 1 ) to read. In the step 805 , the reset phase, the process resets the mutual capacitances of all the lines (e.g., the capacitive sensing elements connected to each of R 1 -R 4 and C 1 -C 4 ), and in the step 815 the process charges the sensor on the currently selected line and reads the voltage on it. A voltage above a predetermined threshold value indicates the presence of an object on the selected line. In the step 820 , the process determines whether there are additional lines to read. If so, the process loops back to the step 805 . Otherwise, the process continues to the step 825 . The steps 805 , 810 , and 815 are part of a self-capacitance measuring stage, in which all the lines are individually read.
In the step 825 , the process determines whether there have been multiple locations at which a touch has been sensed. If the process determines that objects are simultaneously present at multiple locations, the process must consider and exclude any ghost touches. If there is only one touch, ghost touches do not have to be considered. Thus, if in the step 830 the process determines that it must identify and exclude ghost locations, the process continues to the step 835 . Otherwise, the process jumps to the step 840 , where it ends. In the step 835 , the process excludes any ghost locations and then continues to the step 840 .
FIG. 12 shows more detailed components of the step 835 in accordance with one embodiment of the invention. The component 835 starts in the step 850 , where parameters are initialized, such as by setting the “next” candidate location to the first candidate location. Next, in the step 851 , the process selectively enables the mutual capacitance at the next candidate location (e.g., Equation (9) above) and, in the step 852 , determines the difference between this reading and the corresponding reading when the mutual capacitance is disabled. In the step 853 , the process determines whether there is any difference and, if there is, proceeds to the step 854 , in which the location is classified as a “real” touch location. From step 854 , the process continues to the step 855 . If, in the step 853 , the process determines that there is no difference between the two readings, the process identifies the location as a “ghost” location, excluding it as a real touch location, and proceeds to the step 855 . In the step 855 , the process determines whether there are any more candidate locations to check. If there are, the process loops back to the step 851 . Otherwise, the process proceeds to the step 856 , where it ends.
›DETAILED DESCRIPTION OF THE INVENTION · 6 of 6
After the actual touch locations have been determined, they can be transmitted to any downstream application programs that uses them as input.
In accordance with the invention, a touchscreen controller uses a single integrated circuit to perform both self-capacitance and mutual capacitance measurements to resolve multiple simultaneous touches in a linear number of measurements. The controller cancels mutual capacitances during the self-capacitance stage and selectively enables mutual capacitance during the mutual capacitance stage. In both stages, the controller converts sensor capacitance in the touchscreen to a directly proportional voltage. Touchscreens in accordance with the invention null the effect of mutual capacitance and therefore have increased dynamic range.
It will be readily apparent to one skilled in the art that other modifications may be made to the embodiments without departing from the spirit and scope of the invention as defined by the appended claims.
Claims as granted
12 claimsLog in to read the claims of this application.
Log in to unlockClassifications
6 codes- G06F3/041
- G06F3/045
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock