The present invention relates generally to touch screen calibration systems and methods for calibrating a touch screen.
A typical touch screen employs a sheet of glass with a conductive coating such as indium tin oxide with four terminal connections, one at each corner. The touch screen may also be a capacitive or resistive touch screen with a pattern of electrodes made of conductive material. A finger, stylus, or conductive top sheet can draw or inject current at the point of contact. The current can then distribute to the touch panel terminals in a proportionate manner relative to the location of the point of contact. The accuracy of the touch screen thus depends on how well the division of current among the terminals represents the contact location. To help correlate point of contact signals with correct position data, touch screens are calibrated. Calibration usually takes place during manufacturing, and in some cases recalibration can be performed by an end user, for example. Calibration can also include diagnostic functions whereby uncorrectable errors can be found and a non-functioning status can be indicated.
Frequent calibration and recalibration of a touch screen may be desirable in many situations. Whether the touch screen is a capacitive touch screen or resistive touch screen, the impedance of the linearization pattern and the active and passive components of the sensing and control circuits can change over time due to aging and environmental conditions, among other things. Such changes in conditions can introduce errors in the division of the current among the terminals, resulting in reporting erroneous point of contact information. Errors in the division of current can also occur because of differences in the gains of the circuits or differences in impedances associated with each terminal.
In typical operator-performed recalibration, individual touches are made at a number of predetermined test points whose locations are known. Any difference between a known location and a measured location represents an error that is taken into account during subsequent touch position measurements. Such manual recalibration requires that the human operator interrupt work and execute the calibration procedure, possibly reducing efficiency. The frequency that recalibration may be needed tends to increase as ambient conditions change, for example as the temperature changes by more than a specified amount. Additionally, the repeatability of operator recalibration may be poor due to difficulties involved with touching the test points in the same way and with the same impedance each time recalibration is performed. Also, there is a possibility that many erroneous touch points are registered before a user becomes aware that recalibration should be performed.
The present invention provides a calibration system and method that does not require users to touch test points and that can be performed automatically, for example on a periodic basis, on a scheduled basis, on an event basis (e.g., on power-up or after a specified period of user inactivity), on a detected threshold basis (e.g., after a temperature change of a specified number of degrees), or the like. According to the present invention, an effective, automatic touch screen calibration system and method can be realized by applying a calibration impedance to the terminals of a touch screen, sensing the effect of the calibration impedance on each terminal, then calculating the X, Y position indicated for each terminal. This simulated touch information can be used to calculate the offset for each terminal and apply those offsets to obtain the corrected touch position from the measured touch position, and/or to calculating the gain error indicated for each terminal and apply the gain error to obtain the corrected touch position from the measured touch position.
The present invention features a touch screen calibration system that includes a touch screen having a plurality of terminals and a control circuit for applying a signal to the terminals and sensing effects on the signal caused by a simulated touch on the touch screen. A switching circuit can be provided to apply a calibration impedance to the terminals. A microprocessor can be configured to calculate the calibration X, Y position indicated for each terminal upon application of the calibration impedance, and in response to the calibration position to calculate the offset for each terminal and apply those offsets to obtain the corrected touch position from the measured touch position. A diagnostic function can be provided to report error conditions when signals measured during calibration are outside predetermined limits.
In an exemplary embodiment, the microprocessor may be further configured to interpolate the offsets as a function of the relative X, Y positions of the measured touch position, periodically operate the switching circuit, and prevent operations of the switching circuit, at least while the touch screen is actively in use. The period of the timing may be changed in response to a predetermined change in the sensed quantity. The sensor circuit may sense temperature. There may be four terminals. The same calibration impedance may be applied to each terminal. The touch screen may be a capacitive touch screen or resistive touch screen.
The invention also features a method of touch screen calibration including applying a signal to the terminals of a touch screen, applying a calibration impedance to the terminals and sensing the effect on the signal of the calibration impedance applied to the terminals. The calibration X, Y position is calculated for each terminal upon application of the calibration impedance and the offset for each terminal is calculated and applied to obtain the corrected touch position from a measured touch position.
In an exemplary embodiment, the offsets are used as input to simultaneous differential equations that model the screen errors as a two dimensional Taylor series. In another embodiment, the offsets are interpolated as a function of the relative calibration X, Y positions of the measured touch position.
The invention also features a method of touch screen calibration including applying a signal to the terminals of a touch screen, applying a calibration impedance at the center of the touch screen and sensing the effect on the signal of the calibration impedance. The calibration X, Y position is calculated upon application of the calibration impedance and the position error is calculated and may be applied to obtain the corrected touch position from a measured touch position. A diagnostic function can be provided to report error conditions when signals measured during calibration are outside predetermined limits.
This invention also features a touch screen calibration system including a touch screen having a plurality of terminals in the control circuit for applying a signal to the terminals and sensing the effect on the signal due to a touch on the touch screen. The switching circuit applies a calibration impedance to the terminals and a microprocessor is configured to calculate the gain error indicated for each terminal upon application of the calibration impedance and applies those gain errors to obtain a corrected touch position from the measured touch position. In a preferred embodiment the microprocessor may be further configured to normalize the gain error, store the normalized gain error, and apply the normalized gain error to subsequently measured touch positions.
This invention also features a method of touch screen calibration including applying a signal to the terminals of a touch screen and applying a calibration impedance to the terminals, and then sensing the effect on the signal of the calibration impedance supplied to the terminals. The gain error indicated for each terminal is calculated upon application of the calibration impedance and the gain error is applied to obtain the corrected touch position from the measured touch position.
The invention may be more completely understood in consideration of the following detailed description of various embodiments of the invention in connection with the accompanying drawings, in which:
While the invention is amenable to various modifications and alternative forms, specifics thereof have been shown by way of example in the drawings and will be described in detail. It should be understood, however, that the intention is not to limit the invention to the particular embodiments described. On the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
Touch screen calibration includes connection of a calibration impedance to terminals of a sensor, measuring errors with the calibration impedance, and correcting errors or reporting fault conditions where errors cannot be corrected. Error correction can be accomplished through any suitable method. Exemplary error correction schemes include position correction by bilinear interpolation based on coefficients generated by simultaneous differential equations that model the screen errors as a two dimensional Taylor series, bilinear interpolation based on measured terminal errors, and error correction based on gain correction.
There is shown in
As shown, circuit 20 includes an AC voltage source 30 connected to amplifier 32 which applies a drive signal current through feedback resistor 34 to corner terminal 12, and a differential amplifier 36 which measures current i20 flowing to terminal 12. Source 30 may be selectively switched off so zero volts are applied to the terminal. AC detector circuit 38 demodulates the current signal measured by amplifier 36 and performs analog to digital conversion on the resulting signal. The digital data from circuit 38 is fed to microprocessor 50. The output from each driver sensor circuit 20, 21, 22, 24 and 26 is delivered to microprocessor 50.
Four switches 52, 54, 56 and 58 (e.g., typically semiconductor switches or other integrated circuit switching devices), are used to connect calibration impedance 60 to terminals 12, 14, 16 and 18, one at a time, respectively. Calibration impedance 60 may be capacitive impedance or it may be a resistive impedance. As shown in
The timing at which certain processes are performed according to the system and method of the present invention can vary according to specified parameters as indicated by flow chart 70 in
Processes shown in
Stray impedance can be measured using process 110 shown in
Microprocessor 50 uses the calculated values designated UR (upper right), LR (lower right), LL (lower left) and UL (upper left) from each of terminals 12, 14, 16 and 18 respectively, to calculate position and to calculate the X, Y calibration factor for the one of the terminals to which the calibration impedance 60 is connected at that moment. To calculate position, microprocessor 50 executes the touch formulas for the X and Y positions:
Where UR=i20−is20, LR=i22−is22, UL=i26−is26, and LL=i24−is24. Touch positions thus obtained are used in microprocessor 50 to generate the touch position coordinates and X error, Y error, and local error offsets to be applied to subsequently-measured touch positions to achieve an error-corrected position.
Position calibration factors can be measured and calculated according to process 120 shown in
Errors in the center of touch screen 10 may be measured in step 143, where the AC voltage source in driver sensor circuit 21 is turned off, then steps 124, 126, and 128 are performed. Turning off or reducing the AC signal to terminal 13 has the effect of significantly increasing the conduction due to capacitance between the front surface 11 and rear surface 15, thus a calibration capacitor is applied to the center of touch screen 10. The center error is then calculated according to the equations shown in step 144. In step 145, values generated in steps 122 through 144 are evaluated to determine if they exceed predetermined limits. If so, an error is reported and values are stored, step 146. If not, values are stored, step 147. Errors may include open or shorted connections in the touch screen system, failed electronic circuits, or touch screen impedances that are larger or smaller than specified limits.
Some steps of process 120 may be used independently from others, for example center touch calibration steps 143 and 144 may be omitted or they may be performed separately. Diagnostic steps 145 and 146 can be omitted or they may be performed in combination with steps 143 and 144 or in combination with steps 122 through 142. The correction offsets α, β, ζ, δ are valid for the coordinate limits (e.g. four corners) of the touch screen 10. Correction algorithms can then be used to apply these correction offsets in proportion to all areas of the touch screen. Any suitable error correction algorithm can be used to apply the correction offsets in an appropriate manner across the touch screen for calibration. Exemplary methods include those based on bilinear interpolation and those based on gain correction. Center touch offsets can be incorporated into correction algorithms and to perform diagnostics, though center offset is not used for error correction in the examples shown herein.
To illustrate a bilinear interpolation correction method, reference is made to
Pa=a+α, (3)
Pb=b+β, (6)
Pc=c+ζ, (4)
Pd=d+δ. (6)
More generally, the corrected position P can be stated as:
P=p+ε(p) (7)
Where p is the position measured by the controller and ε is a vector function of p which yields the error vector. The function ε must be derived from available information.
For simplicity it is easier to consider one mapping function K, which is defined as follows:
P=K(p) (8)
The second order Taylor expansion for a vector function has the form:
Therefore the assumption is made that K is a non-linear function with general form
Px=Kx(x)=Ax+By+Cxy+D (10)
Py=Ky(y)=Ex+Fy+Gxy+H (11)
Unknowns A to H can be determined by solving simultaneous equations 12 and 13, expressed in matrix form, where the elements of vector a described above are shown as ax and ay, likewise for the vectors b, c and d.
The matrix derived from Kx(x) is:
And the matrix derived from Ky(y) is:
Having calculated terms A through H prior to normal operation of the touch screen system, Kx and Ky are applied to subsequent measured and calculated touch points to perform error correction and normalization to the desired range of (−1,−1) to (1,1) prior to reporting of corrected position data.
A particular example of the interpolation technique is shown in
Assume for the sake of example that terminal 12a has a correction offset of β=0.03, 0.06. Terminal 14a has a correction offset of ζ=0.07, −0.04. Terminal 16a has a correction offset of δ=−0.08, −0.02 and Terminal 18a a correction offset of α=−0.01, 0.07. Since the touch point 156 is determined to be 80% of the way along the X axis from terminal 16a to terminal 14a, and 60% of the way along the Y axis from terminal 16a to terminal 18a the scaling for each of the corner offsets is as follows.
This method has been included in the text both because of the relative simplicity with which the coefficients can be calculated and the clarity in which it demonstrates that the corrections are applied. This method will correct a 1% error to within 0.01%, but a 10% error will only be corrected within 1%. The uncorrected error results from the fact that the correction is not included when the correction is calculated. This error could be removed by an iterative process, or by solving for the error values that would result in the appropriate corrections being calculated exactly. The result of removing the errors would be essentially equivalent to the previously-illustrated method of solving simultaneous differential equations, which results in precise corrections at the corner points. The choice of method used generally depends on the desired level of accuracy, the tolerance of the system for error, the available processor resources (e.g., speed, memory, etc.), and the like.
A gain correction approach can also be used as the error correction method, and can be understood with reference to
GC20=(iCAL20+iCAL22+iCAL24+iCAL26)/(4*iCAL20) (14)
GC22=(iCAL20+iCAL22+iCAL24+iCAL26)/(4*iCAL22) (15)
GC24=(iCAL20+iCAL22+iCAL24+iCAL26)/(4*iCAL24) (16)
GC26=(iCAL20+iCAL22+iCAL24+iCAL26)/(4*iCAL26) (17)
Subsequent current measurement operations are performed as shown in the flow chart in
In touch systems that are capable of measuring phase of the measured signals, the signals measured and calculations performed in processes 100, 110, 120, and all subsequent process calculations will use complex numbers. In this case the gain correction factors may be a complex numbers as well. The gain correction method may be used in conjunction with a bilinear interpolation method.
The resistive touch system shown in
The present invention should not be considered limited to the particular examples described above, but rather should be understood to cover all aspects of the invention as fairly set out in the attached claims. Various modifications, equivalent processes, as well as numerous structures to which the present invention may be applicable will be readily apparent to those of skill in the art to which the present invention is directed upon review of the instant specification.
Each of the patents, patent documents, and publications cited above is hereby incorporated into this document as if reproduced in full.
Number | Name | Date | Kind |
---|---|---|---|
4293734 | Pepper, Jr. | Oct 1981 | A |
4575581 | Langberg | Mar 1986 | A |
4707845 | Krein et al. | Nov 1987 | A |
4853498 | Meadows et al. | Aug 1989 | A |
5053757 | Meadows | Oct 1991 | A |
5283559 | Kalendra et al. | Feb 1994 | A |
5376948 | Roberts | Dec 1994 | A |
5510813 | Makinwa et al. | Apr 1996 | A |
5717321 | Kerth et al. | Feb 1998 | A |
5751276 | Shih | May 1998 | A |
5901246 | Hoffberg et al. | May 1999 | A |
5940065 | Babb et al. | Aug 1999 | A |
6016140 | Blouin et al. | Jan 2000 | A |
6262718 | Findlay et al. | Jul 2001 | B1 |
6506983 | Babb et al. | Jan 2003 | B1 |
6512838 | Rafii et al. | Jan 2003 | B1 |
20020050983 | Liu et al. | May 2002 | A1 |
20030058226 | Bertram et al. | Mar 2003 | A1 |
20030063073 | Geaghan et al. | Apr 2003 | A1 |
20030067451 | Tagg et al. | Apr 2003 | A1 |
20040022444 | Rhoads | Feb 2004 | A1 |
20040178997 | Gillespie et al. | Sep 2004 | A1 |
20050041018 | Philipp | Feb 2005 | A1 |
Number | Date | Country |
---|---|---|
7182093 | Jul 1995 | JP |