This relates generally to a touch sensing system, and more particularly, to configuring and controlling the touch sensing system to reduce measurement errors and avoid noise.
In recent years, touch sensor panels, touch screens, and the like have become available as input devices. Touch screens, in particular, are becoming increasingly popular because of their ease and versatility of operation as well as their declining price. Touch screens can include a touch sensor panel, which can be a clear panel with a touch-sensitive surface, and a display device, such as an LCD panel, that can be positioned partially or fully behind the touch sensor panel or integrated with the touch sensor panel so that the touch-sensitive surface can cover at least a portion of the viewable area of the display device. Touch screens can allow a user to perform various functions by touching (or nearly touching) the touch sensor panel using one or more fingers, styli or other objects at a location often dictated by a user interface (UI) being displayed by the display device. In general, touch screens can recognize a touch event and the position of the touch event on the touch sensor panel, and a computing system can then interpret the touch event in accordance with the display appearing at the time of the touch event, and thereafter can perform one or more actions based on the touch event.
The touch sensor panel can be constructed as an array of touch electrodes and/or pixels, each electrode or pixel capable of sensing a touch event (one or more touches or near-touches) occurring at the location of the electrode or pixel. To determine the locations of one or more touch events, a scan of the touch sensor panel can be performed during which time one or more pixels or electrodes can be evaluated in sequence for touch event activity until an “image” of touch is obtained for the entire panel. However, some capacitive scanning methodologies can produce inconsistent or “noisy” results because of a lack of synchronization, a lack of precision in establishing a known circuit state prior to performing certain scanning tasks, or the presence of noise aggressors. In addition, the noise generated by some capacitive scanning methodologies can interfere with the performance of nearby electronics. These problems are exacerbated by a lack of control over parameters of the capacitive scanning system.
This relates to controlling and configuring certain parameters in a capacitive scanning system to enable synchronization and initialization of measurement circuitry to reduce measurement noise, and to performing certain scanning functions at various frequencies to reduce interference with neighboring electronics and avoid noise aggressors.
In some embodiments, firmware can be utilized to configure various parameters of a touch controller to reduce measurement noise, reduce interference with neighboring electronics, and avoid noise aggressors. In addition, information about the performance of the touch controller can be accessed in real time, and communications can be sent to the touch controller to make run-time changes to the parameters of touch controller circuits and improve overall performance.
In some embodiments, interrupt-driven synchronization of a gate signal for enabling a capacitance measurement phase in a switched capacitor sensing system can be employed to reduce measurement noise. In other embodiments, pre-charging of an integration capacitance CINT prior to the start of an electrode or pixel scan can result in more consistent measurements and less scan noise. In still other embodiments, the multiple charge/discharge cycles within each gate interval defined by the gate signal can be performed at different frequencies to avoid generating noise at a particular frequency. In still other embodiments, the nominal frequency (fNOM) of the charge/discharge cycles can be adjusted to avoid noise aggressors.
a illustrates an exemplary digital media player that can include a touch sensing system according to some embodiments of the disclosure.
b illustrates an exemplary mobile telephone that can include a touch sensing system according to some embodiments of the disclosure.
c illustrates an exemplary personal computer that can include a touch sensing system according to some embodiments of the disclosure.
In the following description, reference is made to the accompanying drawings which form a part hereof, and in which it is shown by way of illustration specific embodiments which can be practiced. It is to be understood that other embodiments can be used and structural changes can be made without departing from the scope of the embodiments of this disclosure.
This relates to controlling certain parameters in a capacitive scanning system to enable synchronization and initialization of measurement circuitry to reduce measurement noise, and to perform certain scanning functions at various frequencies to reduce interference with neighboring electronics and avoid noise aggressors.
Although embodiments of the disclosure may be described herein with respect to self-capacitance touch sensor panels (for which a touch on an electrode or pixel typically can cause an increase in capacitance of the sensing electrode to the panel or system ground), embodiments of the disclosure are not so limited, but can include mutual capacitance touch sensor panels (for which a touch on the panel can cause a decrease in capacitance between two neighboring electrodes). Those skilled in the art will understand that the circuitry described and illustrated herein can be easily modified to detect faster charging times and more counts in a given evaluation period as indicators of a touch event. In addition, although embodiments of the disclosure may be described herein with respect to touch sensor panels and touchscreen devices, the capacitive sensing embodiments described herein are not so limited, and can be used for many types of capacitive sensing measurements.
The exemplary touch sensor panel of
When a touch occurs over both subsections of the same split row, a change in capacitance can be detected at both subsections. Because the touch is spread between the two subsections of the split row, the magnitude of the resulting change in capacitance detected by either subsection can be smaller than that of a touch detected solely by one subsection. In such an occurrence, a ratio of the capacitance changes can be calculated to reflect the breakdown of how a touch is spread over the two subsections. For example, a ratio of 20% to 80% can be interpreted as twenty percent of the touch being over one subsection and eighty percent of the touch being over the other subsection. This ratio can also be used to estimate the location of the touch over a non-split conductive region (e.g., non-split rows R0, R2, R3, and R6).
The same concept of using breaks to divide one or more row electrodes as shown in
In various embodiments, different rows and columns of a projection-scan touch sensor panel can be split into subsections as discussed above. In addition, different numbers of the rows and/or columns can be split into two or more subsections. If a row or column is split to more than two subsections, the ratio can be calculated among all of the subsections and reflect the portions of a touch over each subsection. However, the number of breaks in a projection-scan touch sensor panel can be kept to a minimum while still allowing enough data to be collected to enable the processor to disambiguate multiple touches on the panel (i.e., to avoid rotational ambiguity caused by multiple touches detected simultaneously.) One advantage of keeping the number of breaks to a minimum is that, for every additional break in a row, an extra sensor channel may be needed on the touch controller, thus increasing the size of the chipset of the touch sensor panel. This can create a problem, especially in small touch sensor panels where extra space is hard to find. Therefore, to minimize the number of breaks needed for disambiguating multiple touches, the breaks can be incorporated into certain rows and columns to ensure that a touch can always overlap with a single row split and a single column split regardless of the location of the touch on the surface of the touch sensor panel.
System clock generator 306 can generate system clock 308 (e.g., 24 MHz), which can be divided down by a certain amount by divider 310 to produce divided down clock 312 (e.g., 1.5 MHz). Divided down clock 312 can also control timer 330, which can produce gate signal 332 that controls the time period (gate interval) during which the capacitance CSX can be evaluated (e.g., 200 us). Opposite phases (φ1 and φ2) of divided down clock 312 produced by divider 310 can be used to control switches 314 and 316. When switch 314 is open and switches 316 and 322 are closed, capacitance CSX together with integration capacitance CINT can be charged by sourcing output digital to analog converter (IDAC) 320. When switch 314 is closed, switch 316 is open and switch 322 is closed, capacitance CSX can discharge through discharge path 318, and integration capacitance CINT can be charged by IDAC 320. When switch 314 is closed and switches 316 and 322 are open, capacitance CSX can continue to discharge through discharge path 318, but the integration capacitance CINT is no longer charged by IDAC 320. When switches 314 and 322 are open and switch 316 is closed, capacitance CINT can discharge into CSX (assuming CSX is substantially discharged). The various charging and discharging states summarized above are described in more detail below. The voltage at CINT, point (A), can be coupled to the positive input of comparator 324, whose negative input can be held at configurable reference voltage 354.
A single charge/discharge cycle will now be described. Initially, after CINT has discharged into CSX, both CINT and CSX can begin to charge up through current supplied by IDAC 320. At some point during charging, divider 310 can cause switch 316 to open and switch 314 to close, which can cause CSX to discharge through discharge path 318, while CINT continues to charge through IDAC 320. As CINT charges, if the voltage at point (A) exceeds reference voltage 354 (e.g., 1.2V) established at the negative input of comparator 324, output 326 of comparator 324 can transition to a high state. This high state on output 326 can be synchronized to system clock 308 by synchronization circuit 328. In some embodiments, synchronization circuit 328 can be a double sync circuit to delay the opening of switch 322 by several system clock periods to ensure that the voltage at point (A) exceeds reference voltage 354 by a sufficient margin as to prevent noise from toggling comparator 324. Output 326 can also be gated with gate signal 332 (using generic logic gate 334) and provided to counter 336. In some embodiments, counter 336 can begin to increment its count at the system clock rate once the voltage at CSX and CINT exceeds reference voltage 354 (i.e., after output 326 becomes asserted) and gate signal 332 is asserted (i.e., at a logic one or high voltage). Counter 336 can thereafter count up at the system clock rate as long the voltage at CINT remains above reference voltage 354. A high state on synchronization circuit 328 can also open switch 322, which can prevent IDAC 320 from charging CINT any further. When divider 310 causes switch 314 to open and switch 316 to close (with switch 322 still open), CINT can discharge into CSX, and the voltage at point (A) can drop below reference voltage 354, causing comparator output 326 to go low and switch 322 to close, which can begin another charging cycle. In general, therefore, embodiments of the disclosure attempt to maintain a threshold voltage at CINT by sourcing current through IDAC 320 and subtracting current through CSX. The aforementioned circuitry is collectively be referred to herein as charge/discharge circuitry.
The charging, counting, and discharging operations can be repeated until time t4, when the capacitance measurement phase can end. At time t4, the number of counts N accumulated by the counter can provide an indication of the duty cycle of the comparator (see inverse duty cycle 418 in
Referring again to
In addition, a serial peripheral interface (SPI) 356 can be employed to allow host controller 358 to access reports containing information about the performance of touch controller 300. Software module 364 executable by host controller 358 can read and interpret these reports, determine any necessary adjustments, and send communications (e.g., configuration information) back to touch controller 300 to make changes to the parameters of touch controller 300 during run-time. Such changes can include, but are not limited to, modifying hardware registers, RAM and flash. These changes can be made during factory calibration, repair, or maintenance, often at the direction of personnel running evaluation/calibration programs, and can also be made automatically in the field while the device is in use at the direction of firmware in host controller 358.
In some embodiments, divided down clock 312 (that controls switches 314 and 316) may not be synchronized with the start of the gate signal 332 from timer 330. In other words, the charge/discharge cycle driven by divided down clock 312 may not be synchronized with the capacitance measurement cycle started (enabled) by asserted gate signal 332. In such embodiments, quantization or measurement noise can occur due to the indeterminate nature of the timing relationship between the two cycles. In this context, quantization noise can manifest itself as variability in the number of counts recorded by counter 336. For example, it should be understood that in some embodiments, divider 310 can repeatedly open and close switches 314 and 316, which can result in repeated charge and discharge phases and repeated time periods during which comparator output 326 is asserted. Nevertheless, as long as gate signal 332 from timer 330 is not asserted, counter 336 will not count up. Therefore, in some instances, the start of the capacitance measurement phase can be entered (i.e., gate signal 332 becomes asserted) while comparator output 326 is low (i.e., during a charge portion of the charge/discharge cycle), and counter 336 will not immediately begin to count up. However, if the start of the capacitance measurement phase is entered while comparator output 326 is high, counter 336 will immediately begin to count up. The number of counts can depend on the time at which gate signal 332 goes high relative to the remaining duration of the asserted comparator output. The scan-to-scan variability in these initial counts (count errors) can result in a mischaracterized capacitance value.
In some embodiments, falling edge 502 of gate signal can be the result of an extra pulse generated from the timer. In such embodiments, firmware can configure the timer to produce a short pulse in advance of regular gate signal 518. The falling edge of this pulse at 502 can trigger interrupt 504 as described above. However, in other embodiments, falling edge 502 can simply be the falling edge of the previous regular gate signal 518, and additional instructions may be needed to ensure that start instruction 508 occurs at the desired time. In either embodiment, firmware can be employed to synchronize the start of the capacitance measurement phase and the gate signal.
Referring now to both
As described above, CSX can be repeatedly charged and discharged under the control of divided down clock 312. Therefore, at point (B) in
The accuracy of the touch sensing system can be affected by external noise (noise aggressors). Therefore, according to some embodiments of the disclosure, the nominal scan frequency (fNOM) can be adjusted to avoid noise aggressors. In some embodiments, firmware can be used to adjust the nominal scan frequency. In one embodiment, the firmware can modify a trim register in system clock generator 306 to change its operating frequency. In some embodiments, suspect touch image data (e.g., data indicative of continuous touch events or no touch events over long periods of time) can be detected by the firmware, and under the assumption that the data may be corrupted by a noise aggressor, the firmware can then change the nominal scan frequency. In some embodiments, this process can be repeated as necessary, and the firmware can change the nominal scan frequency to different frequencies until the touch image data no longer appears suspect. Different criteria can be established to enable the firmware to determine when the touch data appears suspect. For example, touch data that changes more rapidly than some predetermined threshold, or no-touch data having a steady state value that is outside of some predetermined range, may all be indicative of suspect touch data.
a illustrates exemplary digital media player 710 that can include a touch sensing system according to some embodiments of the disclosure.
b illustrates exemplary mobile telephone 720 that can include a touch sensing system according to some embodiments of the disclosure.
c illustrates an exemplary personal computer 744 that can include trackpad 732 and display device 730. Trackpad 732, and optionally display 730, can have touch sensing capability and can be part of a touch sensing system according to some embodiments of the disclosure.
Referring again to
Note that one or more of the functions described above can be performed by firmware stored in memory (e.g., memory 350 or memory 362 in
The firmware can also be propagated within any transport medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “transport medium” can be any medium that can communicate, propagate or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The transport readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic or infrared wired or wireless propagation medium.
Although embodiments of this disclosure have been fully described with reference to the accompanying drawings, it is to be noted that various changes and modifications will become apparent to those skilled in the art. Such changes and modifications are to be understood as being included within the scope of embodiments of this disclosure as defined by the appended claims.
This application claims the benefit of U.S. Provisional Application No. 61/377,817 filed Aug. 27, 2010, the contents of which are incorporated by reference herein in their entirety for all purposes.
Number | Date | Country | |
---|---|---|---|
61377817 | Aug 2010 | US |