A capacitive touch screen is an electronic device that registers touch operations performed on the screen. Generally, the structure of a capacitive touch screen is well-known. A capacitive touch screen may include row and column conductors having conductive properties. The rows and columns may be separated by a dielectric material which creates a capacitance at the intersection of each row and column conductor.
Operation of the capacitive touch screen is managed by a control system. The control system injects an electric input signal to excite conductive rows or columns. The excited rows or columns create an electrostatic field about the surface of the touch screen. As a user touches a point or multiple points on the touch screen, the electrostatic field changes. The system measures the field changes and processes the measurements to determine touch locations or touch gestures.
Capacitive touch screens are used in a variety of applications including automotive, aviation, marine, and consumer electronic applications. Electromagnetic noise is induced on capacitive touch screen systems from a variety of sources. Such noise may originate from sources including switching power supplies, refresh cycles of co-located LCD display panels, electrical coupling between the layers of the capacitive touch screen, and operating environments. The noise is referred to generally as “coupled” noise. Coupled noise induced on a touch screen may cause the touch screen control system to identify false touches or determine incorrect touch locations or touch gestures for touch operations. The negative effects caused by coupled noise on a touch screen system may increase in kind with the size of the screen, the refresh or scan rate of the screen, or the content displayed on the screen.
Accordingly, there is a need in the art for noise compensation techniques for control of capacitive touch screen systems.
Embodiments of the present invention provide noise compensation techniques for capacitive touch screen systems. The techniques may include measurement operations that may measure coupled noise frequencies that may be induced on a capacitive touch screen. Noise measurement techniques may include driving a stimulus voltage(s) to a conductor(s) of a capacitive touch screen and sampling return signals from a touch screen conductor(s). Noise measurement techniques may further include sampling ambient return signals from a touch screen conductor(s) in the absence of a stimulus voltage(s). Coupled noise frequencies may also be calculated from a first measured noise frequency. A touch screen control system may use measured or calculated coupled noise frequencies to configure operational parameters that may compensate for the coupled noise during operation of the capacitive touch screen.
In the configuration illustrated in
During a self-measurement operation, first stimulus voltages may be driven from each of the first and second driving units 110.1, 120.1 to the first and second I/O terminals VIO1, VIO2. The respective first stimulus voltages may charge the first and second touch screen conductors CSCREEN 130, 140. First return charges may then be captured from the first and second I/O terminals VIO1, VIO2 by the respective first and second sampling units 110.2, 120.2, which may store the first return charges. The first and second driving units 110.1, 120.1 may drive second stimulus voltages to the first and second I/O terminals VIO1, VIO2, which may charge the first and second touch screen conductors CSCREEN 130, 140. Second return charges may be captured from the first and second I/O terminals by the first and second sampling units 110.1, 110.2, which may store the second return charges. Each sampling unit 110.1, 110.2 may transfer its respective first and second return charge to the processor 150, which may calculate an overall measurement result from the first and second return charges.
The self-measurement system 100 may perform measurement operations according to a predetermined integration time as set by the processor 150. The integration time may relate to a coupled noise frequency to be measured for a given measurement operation. Depending on the mode of operation, the inverse of the integration time may equal the noise frequency to be measured. The integration time may be used to control driving and capturing time periods for measurement operations. Further explanation of the integration time in relation to touch detection and measurement operations is discussed below for
As shown in
In an embodiment, each driving unit 110.1, 120.1 may include a switching system to couple respective first and second stimulus voltages to the first and second I/O terminals VIO1, VIO2. In another embodiment, each driving unit 110.1, 120.1 may include a multiplexer to couple respective first and second stimulus voltages to the first and second I/) terminals VIO1, VIO2.
In an embodiment, each respective sampling unit 110.2, 120.2 may include a single-ended operational amplifier (“op-amp”) to capture the respective first and second return charges from the first and second I/O terminals VIO1, VIO2. In another embodiment, each respective sampling unit 110.2, 120.2 may include a sample-and-hold unit to capture the respective first and second return charges from the first and second I/O terminals VIO1, VIO2. In yet another embodiment, the first and second sampling units 110.2, 120.2 may be combined into a single sampling unit (not shown) using a differential op-amp to capture the respective first and second return charges from the first and second I/O terminals VIO1, VIO2.
In the configuration illustrated in
During a mutual-measurement operation, a first stimulus voltage may be driven from the driving unit 112.1 to the first I/O terminal VIO1. The first stimulus voltage may charge the first touch screen conductor CSCREEN 132. The charge may be transferred to the second touch screen conductor CSCREEN 142 through capacitive coupling (represented by CMUTUAL). A first return charge may be captured from the second I/O terminal VIO2 by the sampling unit 112.2, which may store the first return charge. The driving unit 112.1 may then drive a second stimulus voltage to the first I/O terminal VIO1, which may charge the first touch screen conductor CSCREEN 132. The charge may be transferred to the second touch screen conductor CSCREEN 142 through capacitive coupling. A second return charge may be captured from the second I/O terminal by the sampling unit 112.2, which may store the second return charge. The first return charge and/or the second return charge may be used to calculate the changes of the screen conductor CSCREEN 132, screen conductor CSCREEN 142 and/or the mutual capacitance CMUTUAL. The output from the first return charge and/or the second return charge may be proportional to the mutual capacitance CMUTUAL. In one embodiment, the sampling unit 112.2 may transfer the first and second return charge to the processor 152, which may calculate an overall measurement result for the mutual-measurement operation. The mutual-measurement system 102 may also perform measurement operations according to a predetermined integration time as set by the processor 152 to measure various coupled noise frequencies.
In an embodiment, the driving unit 112.1 may include a switching system to couple the first and second stimulus voltages to the first I/O terminal VIO1. In another embodiment, the driving unit 112.1 may include a multiplexer to couple the first and second stimulus voltages to the first I/O terminal VIO1,
In an embodiment, the sampling unit 112.2 may include a pair of single-ended op-amps to capture the first and second return charges from the second I/O terminal VIO2. In another embodiment, the sampling unit 112.2 may include a pair of sample-and-hold units to capture the first and second return charges from the second I/O terminal VIO2. In yet another embodiment, the sampling unit 112.2 may include a differential op-amp to capture the first and second return charges from the second I/O terminal VIO2.
a) illustrates a self-measurement circuit 200 according to an embodiment of the present invention. The self-measurement circuit 200 may be embodied in a touch screen control system, for measuring noise from conductors of a capacitive touch screen. As illustrated in
The switching network 220 may include a variety of switches. The switches may be provided in pairs SW1A/SW1B, SW2A/SW2B, SW3A/SW3B, and SW4A/SW4B. Within the first switch pair, switch SW1A may couple the first I/O terminal VIO1 to a first stimulus voltage VSTIM1. The second switch SW1B may couple the second I/O terminal VIO2 to the first stimulus voltage VSTIM1. Within the second switch pair, switch SW2A may couple the first I/O terminal VIO1 to an inverting input of the op-amp 210. The second switch SW2B may couple the second I/O terminal VIO2 to a non-inverting input of the op-amp 210. Within the third switch pair, switch SW3A may couple the first I/O terminal VIO1 to a second stimulus voltage VSTIM2. The second switch SW3B may couple the second I/O terminal VIO2 to the second stimulus voltage VSTIM2. Within the fourth switch pair, SW4A may couple the first I/O terminal VIO1 to the non-inverting input of the op-amp 210. The second switch SW4B may couple the second I/O terminal VIO2 to the inverting input of the op-amp 210. The switch controller 230 may manage the opening/closing timing of the various switches SW1A, SW1B, SW2A, SW2B, SW3A, SW3B, SW4A, and SW4B through control lines (not shown).
The op-amp 210 may have the non-inverting input terminal coupled to an inverting output VOUTN through a first integrating capacitor C1 and the inverting input coupled to a non-inverting output VOUTP through a second integrating capacitor C2. The capacitances for C1 and C2 may be approximately equal.
As discussed, the touch screen conductor CSCREEN 240 may correspond to any row or a column conductor of a capacitive touch screen to be measured by the circuit 200. The touch screen conductor CSCREEN 250 may correspond to another row or column conductor, or may be a reference capacitance coupled to the capacitive touch screen.
During operation, the self-measurement circuit 200 may connect to any conductor of the capacitive touch screen, either to measure the coupled noise present on the conductor or use it as a reference conductor for the measurement. The output of the op-amp 210 may be proportional to the capacitive load CSCREEN 240 and/or the capacitive load CSCREEN 250. The measurement circuit 200 may connect to the touch screen conductors via multiplexer switches such as SWMUXA and SWMUXB. A capacitive touch screen control system (e.g., system 600 of
The self-measurement circuit 200 may perform a self-measurement operation through four control cycles. For the first control cycle, the first switch pair SW1A, SW1B may be closed to drive the first stimulus voltage VSTIM1 to the first I/O terminal VIO1 and the first stimulus voltage VSTIM1 to the second I/O terminal VIO2. This may charge the touch screen conductor CSCREEN 240 to the first stimulus voltage VSTIM1 and touch screen conductor CSCREEN 250 to the first stimulus voltage VSTIM1. For the second cycle, the first switch pair SW1A, SW1B may be opened and the second switch pair SW2A, SW2B may be closed. A first return charge from the touch screen conductor CSCREEN 240 may be captured at the inverting input terminal for op-amp 210 and a first return charge from the touch screen conductor CSCREEN 250 may be captured at the non-inverting input terminal of the op-amp 210. The op-amp 210 may drive the respective voltages across the non-inverting and inverting output terminals VOUTP and VOUTN. The voltage from each output VOUTP and VOUTN may be stored in the respective integrating capacitors C2 and C1.
For the third cycle, the second switch pair SW2A, SW2B may be opened and the third switch pair SW3A, SW3B may be closed to drive the second stimulus voltage VSTIM2 to the first I/O terminal VIO1 and the second stimulus voltage VSTIM2 to the second I/O terminal VIO2. This may charge the touch screen conductor CSCREEN 240 to the second stimulus voltage VSTIM2 and the touch screen conductor CSCREEN 250 to the second stimulus voltage VSTIM2. For the fourth cycle, the third switch pair SW3A, SW3B may be opened and the fourth switch pair SW4A, SW4B may be closed. A second return charge from the touch screen conductor CSCREEN 240 may be captured at the inverting input terminal for op-amp 210 and a second return charge from the touch screen conductor CSCREEN 250 may be captured at the non-inverting input terminal of the op-amp 210. The op-amp 210 may drive the respective voltages across the non-inverting and inverting output terminals VOUTP and VOUTN. The voltage from each output VOUTP and VOUTN may be stored in the respective integrating capacitors C2 and C1.
The voltages stored in the integrating capacitors C1 and C2 may represent the cumulative voltages as captured during the second and fourth cycles. The difference between the differential op-amp 210 outputs VOUTP and VOUTN may represent the result of the self-measurement operation. A processor, which is shown as processor 260, may calculate the difference between the op-amp 410 outputs VOUTP and VOUTN. The difference may relate to the capacitive difference of the touch screen conductor CSCREEN 240 and the touch screen conductor CSCREEN 250 and may relate to the voltage difference between VSTIM1 and VSTIM2. The difference may be scaled in proportion to capacitive differences for the integrating capacitors C1 and/or C2 (capacitors C1 and C2 being approximately equal in size).
During each measurement cycle, voltage variations from coupled noise, represented by noise sources VNOISE1, VNOISE2, may also be induced on the touch screen conductor CSCREEN 240 and/or the reference conductor CREF 250. The coupled noise may be included in the overall result of the self-measurement operation (e.g., the difference between VOUTP and VOUTN). Because the first and second stimulus voltages VSTIM1 and VSTIM2 may be known for each measurement set, the difference between VOUTP and VOUTN may be further scaled to represent the voltage variations induced by VNOISE1 and VNOISE2. The measured noise may be used by a touch screen control system (e.g., system 600 of
Coupled noise may also be induced on the circuit 200 from bulk capacitances (not shown) that may exist in a touch screen control system (e.g., system 600 of
In
b) illustrates a self-measurement circuit 202 according to an embodiment of the present invention. The self-measurement circuit 202 may be embodied in a touch screen control system, for measuring self capacitance of a capacitive touch screen. The self-measurement circuit 202 may use a number of switches to provide one or more reference voltages to a touch screen conductor and measure the voltage at the touch screen conductor using the non-inverting and/or the inverting inputs of an op-amp. The self-measurement circuit 202 may include a switch to sequentially connect the self-measurement circuit 202 to the first and second conductors of the touch screen or each conductor may be provided with the self-measurement circuit 202.
As illustrated in
The switching network 222 may include a variety of switches. The switches may include switches SW1A, SW1B, SW1C and SW1D. Switch SW1A may couple a first stimulus voltage VSTIM1 to the I/O terminal VIO1, Switch SW1B may couple the I/O terminal VIO1 to the non-inverting input of the op-amp 212. Switch SW1C may couple the second stimulus voltage VSTIM2 to the I/O terminal VIO1, Switch SW1D may couple the I/O terminal VIO1 to the inverting input of the op-amp 212. The switch controller 232 may manage the opening/closing timing of the various switches SW1A, SW1B, SW1C and SW1D through control lines (not shown).
The op-amp 212 may have the non-inverting input terminal coupled to an inverting output VOUTN through a first integrating capacitor C1 and the inverting input coupled to a non-inverting output VOUTP through a second integrating capacitor C2. The capacitances for C1 and C2 may be approximately equal.
During operation, the self-measurement circuit 202 may connect to one conductor of the capacitive touch screen, to measure the coupled noise present on the conductor. The output of the op-amp 212 may be proportion to the capacitive load CSCREEN 242, the voltage noise VNOISE and/or capacitance noise CNOISE. The measurement circuit 202 may connect to the touch screen conductors via a multiplexer switch, such as SWMUXA. A capacitive touch screen control system (e.g., system 600 of
The self-measurement circuit 202 may perform a self-measurement operation through four control cycles. For the first cycle, the switch SW1A may be closed and the remaining switches SW1B, SW1C and SW1D may be open. Closing the switch SW1A may drive the first stimulus voltage VSTIM1 to the I/O terminal VIO1. This may charge the touch screen conductor coupled to the I/O terminal VIO1 to the first stimulus voltage VSTIM1. For the second cycle, the switch SW1B may be closed and the remaining switches SW1A, SW1C and SW1D may be open. Closing the switch SW1B may couple the I/O terminal VIO1 to the non-inverting input of the op-amp 212. A first return charge from the touch screen conductor coupled to the I/O terminal VIO1 may be captured at the non-inverting input terminal for op-amp 212. The op-amp 212 may drive the voltage across the inverting output terminal VOUTN. The voltage from the inverting output terminal VOUTN may be stored in the integrating capacitor C1.
For the third cycle, the switch SW1C may be closed and the remaining switches SW1A, SW1B and SW1D may be open. Closing the switch SW1C may drive the second stimulus voltage VSTIM2 to the I/O terminal VIO1. This may charge the touch screen conductor coupled to the I/O terminal VIO1 to the second stimulus voltage VSTIM2. For the fourth cycle, the switch SW1D may be closed and the remaining switches SW1A, SW1B and SW1C may be open. Closing the switch SW1D may couple the I/O terminal VIO1 to the inverting input of the op-amp 212. A second return charge from the touch screen conductor coupled to the I/O terminal VIO1 may be captured at the inverting input terminal for op-amp 212. The op-amp 212 may drive the voltage across the non-inverting output terminal VOUTP. The voltage from the non-inverting output terminal VOUTP may be stored in the integrating capacitor C2.
The voltages stored in the integrating capacitors C1 and C2 may represent the cumulative voltages as captured during the measurement cycles. The difference between the differential op-amp 212 outputs VOUTP and VOUTN may represent the noise from the conductors of a capacitive touch screen. A processor, which is shown as processor 262, may calculate the difference between the op-amp 410 outputs VOUTP and VOUTN. The measured noise may be used by a touch screen control system (e.g., system 600 of
In another embodiment, the first stimulus voltage VSTIM1 and/or the second stimulus voltage VSTIM2 may be the common mode voltage VCM (e.g. an AC ground voltage). Thus, in each cycle, the common mode voltage VCM may be coupled to the touch screen conductor instead of applying the first stimulus voltage VSTIM1 and/or the second stimulus voltage VSTIM2. In such a configuration, the touched capacitance is not measured, only the coupled noise is measured.
In an embodiment, the method may estimate a coupled noise value from the respective first and second return charges (block 360). In an embodiment, the method may set an integration time for performing the self-measurement operation (block 310). The integration time may relate to a noise frequency to be measured. In an embodiment, the method may store the second result (block 372). The stored results may be used for subsequent processing operations.
The switching network 420 may include a variety of switches, provided in pairs SW1A/SW1B and SW2A/SW2B. Within the first switch pair, switch SW1A may couple the first I/O terminal VIO1 to a first stimulus voltage VSTIM1. The second switch SW1B may couple the second I/O terminal VIO2 to a non-inverting input of the op-amp 410. Within the second switch pair, switch SW2A may couple the first I/O terminal VIO1 to a second stimulus voltage VSTIM2. The second switch SW2B may couple the second I/O terminal VIO2 to an inverting terminal of the op-amp 410. The switch controller 430 may manage the opening/closing timing of the various switches SW1A, SW1B, SW2A, and SW2B through control lines (not shown).
The op-amp 410 non-inverting input may be coupled to an inverting output VOUTN through a first integrating capacitor Cl and the inverting input may be coupled to a non-inverting output VOUTP through a second integrating capacitor C2. The capacitances for C1 and C2 may be approximately equal.
As discussed, the first touch screen conductor CSCREEN 440.1 may correspond to either a row or column conductor of a capacitive touch screen to be measured by the circuit 400. The second touch screen conductor CSCREEN 440.1 may also correspond to either a row or column conductor of the capacitive touch screen to be measured by the circuit 400. During operation, the mutual-measurement circuit 400 may connect to any conductor of the touch screen to measure the coupled noise present on the conductor. The mutual-measurement circuit 400 may connect to the touch screen conductors via multiplexer switches such as SWMUXA and SWMUXB. A capacitive touch screen control system (e.g., system 600 of
The circuit 400 may perform a mutual-measurement operation through two cycles. For the first cycle, the first switch pair SW1A, SW1B may be closed to drive the first stimulus voltage VSTIM1 to the first I/O terminal VIO1. The voltage may charge the first touch screen conductor CSCREEN 440.1. Through capacitive coupling, represented by the mutual capacitance CMUTUAL, the charge may be transferred to the second touch screen conductor CSCREEN 440.2 and may be captured from the second I/O terminal VIO2 and applied to the non-inverting input terminal for the op-amp 410. The op-amp 410 may drive a voltage from its inverting output VOUTN across the first integrating capacitor C1.
For a second cycle, the second switch pair SW2A, SW2B may be closed to drive the second stimulus voltage VSTIM2 to the first I/O terminal VIO1. The voltage may charge the first touch screen conductor CSCREEN 440.1. Through capacitive coupling represented by the mutual capacitance CMUTUAL, the charge may be transferred to the second touch screen conductor CSCREEN 440.2 return charge and captured from the second I/O terminal VIO2 and applied to the inverting input terminal of the op-amp 410. The op-amp 410 may drive a voltage from its non-inverting output VOUTP across the second integrating capacitor C2.
At the conclusion of the second cycle, the difference between the op-amp 410 outputs VOUTP and VOUTN may represent the result of the mutual measurement operation. The difference may relate to the mutual capacitance CMUTUAL 470 and may relate to the difference between the stimulus voltages VSTIM1 and VSTIM2 as driven through the first and second touch screen conductors CSCREEN 440.1, 440.2. The difference may be scaled in proportion to the capacitive differences between the integrating capacitors C1 and/or C2 (capacitors C1 and C2 being approximately equal in size). A processor, which is shown as processor 460, may be included to perform calculations using the signals at the outputs VOUTP and VOUTN of the op-amp 410.
For each measurement cycle, voltage variations from coupled noise, represented by noise sources VNOISE1, VNOISE2 may be induced on the first and second touch screen conductors CSCREEN 440.1, 440.2. The coupled noise may be included in the overall result of the mutual measurement operation (the difference between VOUTP and VOUTN) as calculated at the conclusion of the second measurement cycle. Because the first and second stimulus voltages VSTIM1 and VSTIM2 may be known for each measurement set, the difference between VOUTP and VOUTN may be further scaled to represent the voltage variations induced by VNOISE1 and VNOISE2. The measured noise may be used by a touch screen control system (e.g., system 600 of
Further noise may be induced on the circuit 400 from bulk capacitances (not shown) that may exist in a touch screen control system (e.g., system 600 of
In another embodiment, the stimulus voltages VSTIM1 and VSTIM2, shown in
A common mode control circuit (not shown in
In an embodiment, the method may estimate a noise value from the first and second return charges (block 560). In an embodiment, the method may set an integration time for performing the mutual-measurement operation (block 510). In an embodiment, the method may store the first captured return charge (block 532). In an embodiment, the method may store the second captured return charge (block 552). In another embodiment, the method may store the result of the mutual-measurement operation for use in subsequent processing operations (block 562).
The measurement sub-system 620 may include associated circuitry for self-measurement circuits as discussed in
The detection sub-system 630 may include signal generators to generate excitation signals having unique spectral characteristics that may be driven to conductors of the touch screen 650. The detection sub-system 630 may also include analog-to-digital converters, digital filters, and/or analog filters to sample and condition return signals received from conductors of the touch screen 650.
The processor 610 may manage the measurement sub-system 620 and the detection sub-system 630 to perform noise-compensated touch detection operations for the touch screen 650. For detection operations, detection system 630 may generate excitation signals that may be driven to conductors of the touch screen 650. By controlling MUX 640, the processor 610 may determine which conductors (row or column) the excitation signals may drive. Signals returned from the touch screen 650 may be sampled by the detection system 630 and communicated to the processor 610. The processor 610 may decode the signals, determine if touches have occurred, and/or determine touch locations. The return signals may also include coupled noise that may be induced on the touch screen 650. The system 600 may perform measurement operations using the measurement system 620 to measure the coupled noise. The measured noise may be used to adjust operational parameters for the system 600, which may compensate for the noise during touch detection operations. The operational parameter adjustments may include adjusting frequencies for the excitation signals that the detection system 640 may generate and drive to the touch screen 650. The operational parameter adjustments may also include adjusting the sampling rate (integration time) for which the receiver 630 may sample the return signals from the touch screen 650.
For example, say a 120 Hz noise frequency may be induced on a touch screen control system 600 from a switched mode power supply. The detection sub-system 630 may drive excitation signals to the touch screen 650 at frequencies other than 120 HZ (e.g., 60 HZ) to add a notch at the interference frequency and avoid interference from the noise frequency. On the receiving side, the detection sub-system 630 may sample return signals received from the capacitive touch screen 650 at a rate or frequency proportional to the 120 Hz noise frequency. Sampling the return signals in this manner may minimize the 120 Hz noise components present on the return signals. As a result, the sampled signals may more accurately represent signal changes due to touches performed on the screen 650 rather than signal changes induced by coupled noise frequencies.
As discussed, the system 600 may perform detection and measurement operations using a predetermined integration time. For detection operations, the integration time may relate to the frequencies of excitation signals that may be driven to the touch screen 650 and the sampling rate for sampling the return signals received from the touch screen 650. For measurement operations, the integration time may relate to a frequency of noise that the system 600 may measure—the inverse of the integration time may equal the noise frequency to be measured. The integration time may be used to control the switching rate of the switching networks for the self and mutual-measurement circuits. The integration time may also be used to control the sampling rate for passive noise measurement operations. Passive measurement operations may include capturing ambient return signals from conductors of the touch screen in the absence of driving stimulus voltages to the screen.
Optimum Integration Time Selection
In an embodiment, the integration time may be to determine an optimum integration time for operation of the system 600. At the optimum integration time, interference from noise in the system may be minimized. The optimum integration time may be determined by measuring noise at a various integration times, and selecting an integration time that results in a minimum measured noise. A range of integration times may be predetermined for the system. The system 600 may cycle through the range to determine the optimum integration time.
To begin, the system may measure noise at an initial integration time. The system may repeat the noise measurement at an integration time that is incremented. The measurement of the noise may be repeated at multiple incremented integration times to find a local minimum for the measured noise. The integration time at the local minimum may be used as the starting point to calculate other possible integration times that minimize the effect of noise.
The system may calculate subsequent integration times using a frequency hopping technique and measure noise at each offset integration time. The system 600 may continue to measure noise at each calculated integration time until the predetermined range of integration times is exhausted. Measuring noise at the calculated integration times may provide for refinement of the optimum integration time for the system 600. The system may perform frequency hopping calculations to according to the following equation:
For Eqn. 1, each calculation of φ may represent an integration phase time and the variable “N” may relate to a number of integration cycles (measurement operations). As discussed above, multiple integration cycles may be used to improve the rejection of noise for a certain integration time. If a noise measurement at a calculated integration time may be lower than the temporary noise threshold, the system may update the temporary noise threshold and store the integration time corresponding to the noise measurement. The system 600 may continue to measure noise across the predetermined range of integration times. After the predetermined range of integration times is exhausted, the optimum integration time may be set to the stored integration time from the noise measurements. For subsequent detection operations, the optimum integration time may be used to sample touch inputs.
In an embodiment, the system 600 may perform frequency hopping noise measurements during touch detection operations. During touch detection operations, noise may be actively measured from signals returned from the capacitive touch screen. If noise may be detected in the return signals, the system 600 may perform frequency hopping calculations to update the optimum integration time for the system. The system may calibrate parasitic capacitance for the conductor crosspoints following the frequency hopping noise measurements.
Parasitic Capacitance Calibration
In various embodiments, the system 600 may adjust operation of the touch screen 650 based on parasitic capacitances that may exist about crosspoints between row and column conductors. Parasitic capacitances may exist due to unsettled activity of the conductors as the system may measure noise using different integration times. Parasitic capacitance calibration may be performed following selection of an optimum integration time to determine a parasitic capacitance factor for each conductor crosspoint of the touch screen 650. Proper calibration for each conductor crosspoint may be performed if the conductor is not being touched and the noise for the conductor is below a predetermined noise threshold. The parasitic capacitance factor may be used to more accurately resolve touch locations by minimizing system offset errors for each conductor crosspoint and thus providing more accurate touch measurements.
To perform a parasitic capacitance calibration, the system may measure the capacitance of an initial touch screen conductor. The capacitance may be compared to a predetermined capacitance threshold to determine if the conductor is being touched. A measured capacitance above the threshold may indicate that the conductor is being touched, in which case the system may approximate the parasitic capacitance for each crosspoint of the conductor (discussed below). A measured capacitance below the capacitance threshold may indicate that the conductor is not being touched, in which case the system 600 may measure noise for the conductor using the optimum integration time. The noise for a given conductor may be compared to a predetermined noise threshold. The noise may be measured for a conductor and compared against the noise determined to be the local minimum at multiple incremented integration times.
If the noise is below the threshold, the conductor likely is untouched, and the system 600 may calibrate a parasitic capacitance factor for each crosspoint along the conductor. If the noise is above the threshold, the conductor likely is being touched, in which case the parasitic capacitance factor for each crosspoint may be approximated using an average of the parasitic capacitance factors for other touch screen conductors that are assessed as untouched. The parasitic capacitance factor for each touch screen 650 conductor may be adjusted in this manner. If a sensor is untouched and it is not noisy, the measurement of capacitance performed by the system is the parasitic capacitance itself, therefore the equivalent charge for that capacitor may be subtracted at the input of the opamp, thus compensating for that capacitance value.
In an embodiment, the system 600 may store the capacitance data for each conductor as measured during parasitic capacitance calibrations. The noise data may be used during touch detection operations to provide adaptive capacitance thresholds for various conductor crosspoints that may be touched during a touch operation. The adaptive thresholds may provide for pre-processing return signals from the capacitive touch screen to determine if an actual touch may be performed or if the conductor may merely be noisy. Capacitance values for conductor crosspoints may be calculated from the return signals. The capacitance values may be compared to the adaptive capacitance threshold. If the calculated capacitance for the return signal is above the threshold the system 600 may determine that the conductor is being touched. The system 600 may then resolve the location of the touch(es). If it is below the threshold, then the system may determine that the conductor is merely noisy, in which case processing for touch locations may be bypassed. In an embodiment, the adaptive threshold may be proportional to the average capacitance threshold for a predetermined group of crosspoints about a conductor.
The system 600 may allow for dynamic combination of self, mutual, and/or passive measurement operations with frequency hopping operations, parasitic capacitance calibrations, and/or adaptive threshold operations to compensate for various coupled noise frequencies depending on various applications for the touch screen control system 600.
As illustrated in
Calculating the new integration phase time and/or the parasitic capacitance may include injecting excitation signals into one or more of the touch screen conductors and sampling return signals from the one or more of the touch screen conductors. In an embodiment, the method 700 may compensate for parasitic capacitances for each conductor crosspoint of the touch screen following determination of an optimum integration time.
In another embodiment, the method 700 may pre-process the return signals using adaptive capacitive thresholds to determine if a conductor is being touched or if it is noisy. If the pre-processing determines that the conductor is being touched, the method 700 may resolve locations for the touch(es). Otherwise, the method may refresh the detecting (block 752). The method 700 may perform the frequency hopping measurements and the parasitic capacitance calibrations using mutual measurement and/or self-measurement operations as discussed above.
In an embodiment, the method may refresh the detecting of touch operations (block 752). In another embodiment, the method 700 may update the optimum integration time for the system (block 754).
As shown in
If the measured noise is a local minimum (YES in block 820), the method 800 may set the noise threshold to the measured noise level and set the optimum integration time to the integration time corresponding to the measured noise (block 830). The method may calculate a new local minimum of the noise at the next integration time (block 840). The method may measure noise from the one or more touch screen conductors according to the calculated integration time (block 850). The method may compare the measured noise to the best noise value (block 860). The best value may be a noise value with the least amount of noise.
If the measured noise is less than the best noise value, the method 800 may set the best noise value to the measure noise and/or set the optimum phase time to the current phase time (block 870). If the integration time is exceeds the best noise value or after setting the new value for the best noise value (block 870), the method may determine if the maximum phase time has been reached (block 880). If the maximum phase time has been reached (YES in block 880), then the current optimum phase time may be used for the operation of the touch screen system. If the maximum phase time has not been reached (NO in block 880), a new local minimum can be calculated at the next phase time (block 840).
The method 900 may check if the touch screen conductor is equal to a maximum number of touch screen conductors (block 970). If it is not, the method may increment to a subsequent touch screen conductor (block 980) and repeat the measuring capacitance and noise for the subsequent conductor (return to block 910). Otherwise, the method 900 may end (block 972).
In an embodiment, the predetermined noise threshold may be set to the noise threshold as set during the selection of an optimum integration time and/or frequency hopping noise measurements. In an embodiment, the method 900 may approximate the parasitic capacitance factor for each crosspoint of the conductor. The approximation may be set to an average capacitance factor for conductors having measured noise below the predetermined noise threshold. In an embodiment, the method 900 perform self-measurement operations to measure the noise for each touch screen conductor.
Several embodiments of the present invention are specifically illustrated and described herein. However, it will be appreciated that modifications and variations of the present invention are covered by the above teachings. In other instances, well-known operations, components and circuits have not been described in detail so as not to obscure the embodiments. It can be appreciated that the specific structural and functional details disclosed herein may be representative and do not necessarily limit the scope of the embodiments.
Those skilled in the art may appreciate from the foregoing description that the present invention may be implemented in a variety of forms, and that the various embodiments may be implemented alone or in combination. Therefore, while the embodiments of the present invention have been described in connection with particular examples thereof, the true scope of the embodiments and/or methods of the present invention should not be so limited since other modifications will become apparent to the skilled practitioner upon a study of the drawings, specification, and following claims.
This application claims the benefit of priority afforded by U.S. provisional patent application Ser. No. 61/553,614, entitled “Noise Compensation Techniques For Capacitive Touch Screen Systems,” filed on Oct. 31, 2011, the content of which is incorporated herein in its entirety.
Number | Date | Country | |
---|---|---|---|
61553614 | Oct 2011 | US |