This disclosure is related to the field of capacitive touch sensing and, in particular, to techniques for improving noise sensing in mutual capacitance sensing through the use of a sampling technique involving trigonometric manipulations of sampled signals.
A touch screen is a device that can detect an object in contact with or in proximity to a display area. The display area can be covered with a touch-sensitive matrix that can detect a user's touch by way of a finger or stylus, for example. Touch screens are used in various applications such as mobile phones and other mobile devices. A touch screen may enable various types of user input, such as touch selection of items on the screen or alphanumeric input via a displayed virtual keypad. Touch screens can measure various parameters of the user's touch, such as the location, duration, etc.
One type of touch screen is a capacitive touch screen. A capacitive touch screen may include a matrix of conductive rows and conductive columns overlaid on the display area. The conductive rows and the conductive columns are spaced apart from one another so as to not make contact. The capacitive touch screen may be used for mutual capacitance sensing.
In mutual capacitance sensing, the capacitance between each row and column of the matrix may be sensed. A change in the sensed capacitance between a row and a column may indicate that an object, such as a finger, is touching the screen or is in proximity to the screen near the region of intersection of the row and column. Mutual capacitance sensing circuits employ a “forcing” signal applied to a column conductor of the capacitive touch matrix and sensing of the coupled signal on respective row conductors (or vice-versa).
To perform noise sensing in mutual capacitance sensing, so as to be able to determine a best available frequency for the mutual capacitance sensing, the row conductors are sensed without the application of the force signal to the column conductors, at multiple frequencies. The frequency with the lowest noise level is then used for the next mutual capacitance sensing during which the forcing signal is applied to the column conductor.
While this noise sensing technique does work, noise data is not available every data frame, and the noise itself may change significantly from frame to frame. Therefore, improvement in the area of noise sensing in mutual capacitance sensing is needed.
Disclosed herein is a touch screen controller operable with a touch screen having force lines and sense lines. The touch screen controller includes drive circuitry configured to drive the force lines with a force signal in a touch data sensing mode and to not drive the force lines in a noise sensing mode, and sense circuitry configured to sense data at the sense lines. Processing circuitry is configured, for a plurality of frames, during a noise sensing sub-frame, perform steps of sampling the data at a plurality of different possible sampling frequencies, multiplying the data sampled at each of the plurality of different possible sampling frequencies by a sine multiplier to produce imaginary noise data for each of the plurality of different possible sampling frequencies, summing the imaginary noise data for each of the plurality of different possible sampling frequencies to produce a separate sum for each of the plurality of different possible sampling frequencies, multiplying the data at each of the plurality of different possible sampling frequencies by a cosine multiplier to produce real noise data for each of the plurality of different possible sampling frequencies, summing the real noise data for each of the plurality of different possible sampling frequencies to produce a separate sum for each of the plurality of different possible sampling frequencies, and determining separate noise magnitude values of the data for each of the plurality of different possible sampling frequencies as a function of the summed imaginary noise data and the summed real noise data.
The processing circuitry may also be configured to perform a step of selecting a sampling frequency for a next frame based upon the separate noise magnitude values of the data for each of the plurality of different possible sampling frequencies of two or more of the plurality of frames.
The processing circuitry may also be configured to perform a step of determining a standard deviation of each of the different possible sampling frequencies over two or more of the plurality of frames, based upon the separate noise magnitude values of the data for each of the plurality of different possible sampling frequencies as determined during each of the two or more of the plurality of frames. The processing circuitry may also configured to perform a step of selecting a sampling frequency for a next frame based upon the standard deviation of each of the different possible sampling frequencies.
The processing circuitry may select the sampling frequency for the next frame based upon which of each of the different possible sampling frequencies has a lowest standard deviation.
The processing circuitry may also be configured to, for each frame, during a touch data sensing sub-frame, perform steps of sampling the data at a sampling frequency, multiplying the data by a sine multiplier to produce imaginary touch data, summing the imaginary touch data, multiplying the data by a cosine multiplier to produce real touch data, summing the real touch data, and determining a touch magnitude value of the data as a function of the summed imaginary touch data and the summed real touch data.
The plurality of different possible sampling frequencies may include four possible sampling frequencies.
The plurality of frames may include sixteen frames.
Also disclosed herein is a method including for each of a plurality of frames, placing a touch sensing screen into a noise sensing mode by not driving force lines of the touch sensing screen yet sensing noise data at sense lines of the touch sensing screen. In a noise sensing sub-frame of each of the plurality of frames, the method includes performing steps of: (a) sampling the noise data, (b) performing trigonometric manipulations of the noise data to produce imaginary noise data and real noise data, and (c) determining a noise magnitude value of the noise data as a function of the imaginary noise data and the real noise data.
In each noise sensing sub-frame, steps (a)-(c) may be performed for each of a plurality of possible sampling frequencies to be used in a touch data sensing mode. A standard deviation of the noise magnitude values, across each of the noise sensing sub-frames, of each of the plurality of possible sampling frequencies may be determined. The touch sensing screen may be placed into the touch data sensing mode, and touch data may be sampled at the frequency of the plurality of possible sampling frequencies having a lowest standard deviation across each of the noise sensing sub-frames.
In a touch data sensing sub-frame of each of the plurality of frames, the following steps may also be performed: sampling the touch data; performing trigonometric manipulations of the touch data to produce imaginary touch data and real touch data; and determining a magnitude value of the touch data as a function of the imaginary touch data and real touch data. Coordinates of a touch to the touch sensing screen may be determined as a function of the magnitude values for each of the touch data sensing sub-frames.
Another device aspect disclosed herein is directed to a touch screen controller operable with a touch screen having force lines and sense lines. The touch screen controller includes drive circuitry configured to drive the force lines with a force signal in a touch data sensing mode and to not drive the force lines in a noise sensing mode, sense circuitry configured to sense touch data at the sense lines in the touch data sensing mode and to sense noise data at the sense lines during the noise sensing mode, and processing circuitry. The processing circuitry is configured to, in the noise sensing mode, perform steps of: (a) sampling the noise data; (b) performing trigonometric manipulations of the noise data to produce imaginary noise data and real noise data; and (c) determining a noise magnitude value of the noise data as a function of the imaginary noise data and the real noise data.
The processing circuitry may be further configured to in the noise sensing mode, perform steps (a)-(c) for each of a plurality of possible sampling frequencies to be used in the touch data sensing mode, and to determine which of the plurality of possible sampling frequencies is to be used by the sense circuitry in a later entry into the touch data sensing mode.
The processing circuitry may determine which of the plurality of possible sampling frequencies is to be used by the sense circuitry in the later entry into the touch data sensing mode by selecting the frequency of the plurality of possible sampling frequencies that has a lowest standard deviation.
The processing circuitry may be configured to, for each of a plurality of data frames, in the noise sensing mode, perform steps (a)-(c) for each of a plurality of possible sampling frequencies to be used in the touch data sensing mode in that data frame so as to determine a noise magnitude value of the noise data in each data frame.
The processing circuitry may determine which of the plurality of possible sampling frequencies is to be used by the sense circuitry upon exit of the noise sensing mode and into a later entry into the touch data sensing mode by selecting the frequency of the plurality of possible sampling frequencies that has a lowest standard deviation
The processing circuitry may be configured to, in the touch data sensing mode, sample the touch data, perform trigonometric manipulations of the touch data to produce imaginary touch data and real touch data, and determine a magnitude value of the touch data as a function of the imaginary touch data and real touch data.
For a better understanding of the described embodiments, reference is made to the accompanying drawings, which are incorporated herein by reference and in which:
The same elements have been designated with the same reference numerals in the different drawings. In particular, the structural and/or functional elements common to the different embodiments may be designated with the same reference numerals and may have identical structural, dimensional, and material properties. For clarity, only those steps and elements which are useful to the understanding of the described embodiments have been shown and will be detailed.
Shown in
Shown in
Depicted in
In general, in mutual capacitance sensing, a forcing signal is applied to a column conductor (or to a row conductor) by drive circuitry 32, and a coupled signal is sensed on one or more row conductors (or column conductors). The rows and columns of the capacitive touch matrix 10 may be scanned in any suitable manner, such as will be described below. For example, the capacitance may be sensed between column C1 and rows L1-Ln, then sensed between column C2 and rows L1-Ln, and so on until column Cn and rows L1-Ln. However, it should be appreciated that this is only an example of a suitable scanning sequence and that any suitable scanning sequence may be used.
At each scanning step, a measurement may be taken from the row/column pair that represents the capacitance between the selected row/column pair. For example, the capacitance between the selected row/column pair may be charged to a determined voltage value. The amount of charge stored depends on the capacitance between the row/column pair. The capacitance between the selected row and column may change when an object is touching the touch screen near the intersection area of the row and column and alters the electric field in this region. To determine whether an object is in the vicinity, the stored charge can be read out and converted into a voltage that is then digitized.
A detailed technique for operating the touch screen system 20 is now described with reference to flowchart 100 of
If N is not equal to a given frame count X (such as sixteen) at Block 110, the method returns to the beginning of processing for frame N (Block 102). If, however, N is equal to the given frame count X at Block 110, then the method proceeds with selecting a new sampling frequency from among the set of frequencies (Block 112).
This operation is diagrammatically shown in
Noise sensing is now described with reference to flowchart 104 of
In addition, separately from the multiplication performed at Block 104-2A, the signal samples taken at each frequency within the noise sensing sub-frame of frame N are multiplied by a cosine multiplier (Block 104-2B), and then summed for each frequency within the frame N to produce real noise data for each frequency (Block 104-2C). A noise magnitude value is determined for each frequency in the frame (Block 104-3) as a function of both the imaginary noise data and the real noise data. It is noted that the sine multiplier and cosine multipliers may be sine and cosine waves, respectively, sampled at double their frequency. The signals involved in this operation are shown in
Selection of the new sampling frequency for use in the sensing subframe is now described with reference to flowchart 112 of
It should be understood that a new sampling frequency may be determined as described, once every sixteen frames, or that it may be determined as described, at every frame N where N is greater than or equal to X.
Touch sensing is now described with reference to flowchart 106 of
Using the techniques described above, the noise data in each frame is usable as it does not vary excessively from frame to frame. Since the noise data in each frame is usable, actions taken in response to the noise may be taken more quickly.
While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be envisioned that do not depart from the scope of the disclosure as disclosed herein. Accordingly, the scope of the disclosure shall be limited only by the attached claims.
This application is a continuation of U.S. application Ser. No. 15/873,973, filed Jan. 18, 2018, the contents of which are incorporated by reference to the maximum extent allowable under the law.
Number | Date | Country | |
---|---|---|---|
Parent | 15873973 | Jan 2018 | US |
Child | 16406205 | US |