The invention relates generally to a touch screen controller and, more particularly, to a resistive touch screen controller.
Turning to
With these types of systems (i.e., system 100), there are some drawbacks. First, it is difficult to resolve multiple, simultaneous touch events with conventional 4-wire or S-wire systems, usually requiring sophisticated algorithms to resolve the multiple, simultaneous touch events. Second, interpolation within the pre-processing circuit 114 can be costly in terms of power consumption and/or area. Therefore, there is a need for an improved resistive touch screen controller.
Some other conventional systems are: U.S. Pat. No. 6,492,979; U.S. Pat. No. 6,504,530; PCT Publ. No. WO2010117946; PCT Publ. No. WO2011087669; and Rick Downs, “Using resistive touch screens for human/machine interface,” TI Analog Applications Journal, Third Quarter 2005.
An embodiment of the present invention, accordingly, provides a method for determining respective first and second positions for first and second touch events that are substantially simultaneous on a touch screen having a plurality of zones. The method comprises identifying a first zone of the plurality of zones, wherein the first zone is associated with the first touch event; resolving the first position in the first zone by: activating a first column and a first row so as to measure first, second, third, and fourth resistances associated with the first touch event; generating a first digital representation for a first set of coordinates on the touch screen and a first pressure from a set of the first, second, third, and fourth resistances; storing the first digital representation; and deactivating the first column and the first row; identifying a second zone of the plurality of zones, wherein the second zone is associated with the second touch event; and resolving the second position in the first zone by: activating a second column and a second row so as to measure fifth, sixth, seventh, and eighth resistances associated with the second touch event; generating a second digital representation for a second set of coordinates on the touch screen and a second pressure from the fifth, sixth, seventh, and eighth resistances; storing the second digital representation; and deactivating the second column and the second row, and an aperture filter register is in a host interface that also stores the first digital representation.
In accordance with an embodiment of the present invention, the step of identifying the first zone further comprises performing a precharge and sensing operation for all zones to indicate the occurrence of the first touch event, and wherein the step of identifying the second zone further comprises performing a precharge and sensing operation for all zones to indicate the occurrence of the second touch event.
In accordance with an embodiment of the present invention, the step of generating a first digital representation further comprises: calculating a horizontal position in the first zone corresponding to the first touch event from the first resistance, wherein the horizontal position corresponds to a first coordinate from the first set of coordinates; calculating a vertical position in the first zone corresponding to the first touch event from the first resistance, wherein the vertical position corresponds to a second coordinate from the first set of coordinates; calculating a touch resistance from the horizontal position, the first resistance, the third resistance, and the fourth resistance; and calculating the first pressure from the touch resistance.
In accordance with an embodiment of the present invention, the step of generating a first digital representation further comprises: calculating a horizontal position in the first zone corresponding to the first touch event from the first resistance, wherein the horizontal position corresponds to a first coordinate from the first set of coordinates; calculating a vertical position in the first zone corresponding to the first touch event from the first resistance, wherein the vertical position corresponds to a second coordinate from the first set of coordinates; calculating a touch resistance from the horizontal position, the vertical position, the first resistance, the second resistance, the third resistance, and the fourth resistance; and calculating the first pressure from the touch resistance.
In accordance with an embodiment of the present invention, an apparatus is provided. The apparatus comprises a touch screen interface having: a plurality of switching circuits, wherein each switching circuit is configured to be coupled to at least one of a plurality of column electrodes; and a plurality of touch detection circuits, wherein each touch detection circuit is configured to be coupled to at least one of a plurality of row electrodes; and a signal processing circuit that is coupled to each switching circuit and each touch detection circuit, wherein the signal processing circuit is configured to selectively activate the plurality of switching circuits and the plurality of touch detection circuits to identify a zone for a touch event, and wherein the signal processing circuit is configured to determine first, second, third, and fourth resistances for the zone for the touch event, and wherein the signal processing circuit is configured to determine a set of coordinates and pressure for the touch event from its first, second, third, and fourth resistances; and aperture filter registers in a host interface.
In accordance with an embodiment of the present invention, the signal processing circuit is configured to calculate: a horizontal position in the zone corresponding to the touch event from the first resistance, wherein the horizontal position corresponds to a first coordinate from the set of coordinates; a vertical position in the zone corresponding to the touch event from the first resistance, wherein the vertical position corresponds to a second coordinate from the set of coordinates; a touch resistance from the horizontal position, the first resistance, the third resistance, and the fourth resistance; and the first pressure from the touch resistance.
In accordance with an embodiment of the present invention, the signal processing circuit further comprises: a multi-touch controller that is coupled to the touch screen interface; and a touch engine that is coupled to the touch screen interface and the multi-touch controller.
In accordance with an embodiment of the present invention, the signal processing circuit further comprises a host controller that is coupled to the touch engine.
In accordance with an embodiment of the present invention, the touch engine further comprises: an analog-to-digital converter (ADC) that is coupled to the plurality of touch detection circuits; a touch engine controller that is coupled to the multi-touch controller, the ADC, and the host interface; and a pre-processing circuit that is coupled to the touch engine controller and the host interface.
In accordance with an embodiment of the present invention, the host interface further comprises: an index register for storing the zone for the touch event; and a data register for storing digital representations of the first and second resistances for the touch event.
In accordance with an embodiment of the present invention, an apparatus is provided. The apparatus comprises a touch screen having: a plurality of column electrodes; and a plurality of row electrodes; a touch screen controller having: a touch screen interface having: a plurality of switching circuits, wherein each switching circuit is coupled to at least one of the column electrodes; and a plurality of touch detection circuits, wherein each touch detection circuit is coupled to at least one of the row electrodes; and a signal processing circuit that is coupled to each switching circuit and each touch detection circuit, wherein the signal processing circuit is configured to selectively activate the plurality of switching circuits and the plurality of touch detection circuits to identify a zone for a touch event, and wherein the signal processing circuit is configured to determine first, second, third, and fourth resistances for the zone for the touch event, and wherein the signal processing circuit is configured to determine a set of coordinates and pressure for the touch event from the first, second, third, and fourth resistances; and a host processor that is coupled to the signal processing circuit, and aperture filter register in a host interface.
In accordance with an embodiment of the present invention, the host interface further comprises an inter-integrated circuit (I2C) interface that is coupled to the host processor.
In accordance with an embodiment of the present invention, the touch screen has three columns and five rows.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Refer now to the drawings wherein depicted elements are, for the sake of clarity, not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views.
As shown in
Initially, in state 502, the signal processing circuit is at an idle state. While in state 502, the signal processing circuit can perform a precharge and sensing operation to determine whether a touch event (anywhere on the touch screen 202 has occurred). This is typically done by activating (with the multi-touch controller 210) all switching circuits 306-1 to 306-3 and all touch detection circuits 308-1 to 308-5 or by repeatedly scanning through the switching circuits 306-1 to 306-3 and touch detection circuits 308-1 to 308-5. This allow for coarse identification of the “zone” or intersecting row and column electrodes having a touch event. This zone can then be stored in the index register 408 of the host interface 216.
When the zone for a touch event has been identified, the characteristics of the touch can be resolved. Specifically, in state 504, the signal processing circuit (by way of the zone controller 212 and multi-touch controller 210) can perform a precharge and sensing operation for the column associated with the identified zone. Typically, the signal processing circuit activates or applies as voltage (i.e., voltage V) across the column electrode (i.e., 302-1) associated with the zone.
As shown in
Then, in state 508, the signal processing circuit can perform a precharge and sensing operation for the row associated with the identified zone. Typically, the signal processing circuit activates or applies as voltage (i.e., voltage V) across the row electrode (i.e., 304-1) associated with the zone
As shown in
In instances where a pressure measurement is desired, the pressure (or “Z” coordinate) can be determined in states 512 and 514 and stored in the data register 406 in state 516. (after a determination that there has been no change in the zone in state 512). To do this, two resistance measurements are made.
As shown in
where X is the horizontal position or coordinate within the identified zone, Y is the vertical position or coordinate within the identified zone, RX and RY are the strip resistances, and Z1 and Z2 are the pressure-related resistance measurements. The touch resistance RTOUCH is proportional to the pressure applied to the touch screen, so the ADC 402, touch engine controller 208, and pre-processing circuit 214 in state 514 can both calculated the touch resistance RTOUCH and pressure, which can be stored in data register 406 in state 516.
Following the of the update of the data register 406 with the pressure (or “Z”) coordinate, the signal processing circuit can perform a precharge and sensing operation to determine whether a touch event anywhere else on the touch screen 202 has occurred in state 518. States 504 to 516 can then be repeated for additional touch events other zones. Additionally, because interaction with a touch screen 202 in interactive, touch events change, as, for example, fingers are moved across the touch screen, the state diagram includes several state changes reflecting these types of changes. With most of the state changes, the columns and/or row can be switched or cycled (i.e., activations of successive columns electrodes 302-1 to 302-3 and/or row electrodes 304-1 to 304-5).
Thus, by using the system 200, several benefits can be realized. First, power consumption can be reduced over that of system 100. Second, multi-touch capability (i.e., between difference zone) can be realized without the use of more exotic algorithms.
Generally, the touch screen 202 addresses problems with distortions were from the resistive loops that link row and column resistances with the touch resistances caused by multiple touched zones and were also from the nonlinear resistance at the edges of touch sensors. These distortions can be efficiently removed by this aperture filter. The touch screen with aperture filter uses the sensor zone indices and the configurable aperture windows to filter out the distortions at touched sensors. The configurable aperture window size can be adjusted after the touch panel calibration to meet optimal filtering effects.
It can eliminate the confusing coordinate sets created by these distortions at the real time while the coordinate sets are generated. It can also create invalid touch zones by setting the aperture window sizes to 0 for the sensors located at undesired rows and columns.
Use of these center codes and the aperture window sizes (WX and WY) enables the aperture filter of the system 200 to determine whether the position a touch occurs with is inside the active area 710.
In a step 910, the aperture filter is disabled, and a normal touch mode is enabled.
In a step 920, a horizontal line is drawn on the touch screen 202 with finger/stylus, wherein these zone indices are compared. When indices change, the changed indices and X coordinates are stored in a host processor 226.
In a step 930, a vertical line is drawn on the touch screen 202 with finger/stylus, wherein these zone indices are compared. When indices change, the changed indices and Y coordinates are stored in a host processor 226.
In a step 940, the host processor 226 determines X_min, X_max, Y_min, and Y_max coordinates for each zone and calculates the center codes 715 (Xi, Yj) for each zone index (i, j). The X_min, X_max, Y_min and Y_max coordinates define the zone edges. A center code for the zone (i, j) can be calculated as: Xi=(Xi_max−Xi_min)/2+Xi_min; Yj=(Yj_max−Yj_min)/2+Yj_min.
In a step 950, the host processor 226 writes the center codes, and window sizes, WX, WY to the Aperture Register Page in Host Interface 216, such as in
In a step 960, the aperture filter mode is enabled, such as by writing to an internal configuration register.
The configurable aperture window size can be adjusted after the touch screen calibration to meet optimal filtering effects.
Having thus described the present invention by reference to certain of its preferred embodiments, it is noted that the embodiments disclosed are illustrative rather than limiting in nature and that a wide range of variations, modifications, changes, and substitutions are contemplated in the foregoing disclosure and, in some instances, some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention.
This application is a division of U.S. patent application Ser. No. 13/828,561, “APERATURE FILTERING FOR RESISTIVE MULTI-TOUCH DISTORTIONS”, filed Mar. 14, 2013, which claims the benefit of U.S. Provisional Application No. 61/610,711, “APERATURE FILTERING FOR RESISTIVE MULTI-TOUCH DISTORTIONS”, filed Mar. 14, 2012, both of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
61610711 | Mar 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13828561 | Mar 2013 | US |
Child | 15348734 | US |