The present application claims priority from Swiss patent application CH1916/11 of Dec. 2, 2011, the content whereof are hereby incorporated by reference.
The present invention concerns electronic capacity sensor and in particular, but not exclusively, devices that detect a variation in the capacitive couplings among an array of electrodes.
Embodiments of the present invention relate to touch-sensitive screens, track pads, and touch-sensitive input devices for computers.
Other embodiments of the invention relate to the use of capacitive sensors in other applications like proximity sensors, MEMS devices, accelerometers, position encoders and any application requesting to interface with capacitive sensors, and particularly to scan multiple capacitive sensors.
Aspects of the invention are an electric filter and the corresponding signal processing method used to extract inter-electrode capacity variations from an array of electrodes rejecting ambient electromagnetic noise.
The circuits of
The block 40 is a low pass filter. Its purpose is to remove high frequency noise components from the measurement without significantly attenuating the transferred signal. The block 50 is a track and hold or a sample and hold circuit. It is required to store the result of the integrator at the end of the charge transfer phase and keep it available for the whole duration of the A/D conversion carried out in the ADC 80, in order to allow a new charge to be sampled while the current one is being converted.
The reference charges, also called reference charges without touch (QNT) are detected by the charge-sense amplifier 35 which amplifies and converts them in a voltage signal. The amount of charges is proportional to the mutual capacitance Cxy between the X and Y electrodes of each coplanar capacitor of the projected capacitive matrix. When the user finger is close to the matrix surface, the coupled surface electric field of the coplanar capacitor will be modified, inducing a change of the mutual capacitance value Cxy, thus changing the coupled charges between the X and Y electrodes of the capacitor(s) located under the finger. The new amount of charges with touch, called QT, is detected and amplified during a new scan pulse. The difference between QNT and QT is the sampled touch signal which can be processed and converted. In a non-ideal real case, the output VCSA of the charge-sense amplifier will be affected not only by the user's finger, but also by environmental and intrinsic noise, represented by the current source 310. Noise introduces an error on the absolute VCSA level and can lead to various system errors. In the important case of capacitive touch application, false touches can be triggered by noise, depending on its level amplitude and spectral characteristics.
The CSA operation can be divided in three phases as illustrated in
In the example of
b illustrates a known method of correcting the noise error (ΔV1+ΔV2). The voltage acquisition cycle includes two opposite transitions of the driving signal Vr and a sampling and holding scheme is in charge of generating two signals, Vsh1 and Vsh2 that store the sampled value of the VCSA output for the first and second part of the acquisition phase respectively. Assuming a good correlation of the noise contribution in between two consecutive samples, the difference between the two sampled and held signals Vsh1 and Vsh2 does not contain the DC and low frequency noise contributors anymore. In addition, when a real capacitive change occurs, the sign change in the driving signal gives rise to useful signals which are in phase opposition on Vsh1 and Vsh2 such that the difference between the two variables exhibits a 6 dB gain with respect to the capacitance variation.
The above method and circuit provide satisfactory elimination of DC offsets and low frequency noise (e.g. 1/f noise or noise coming from the mains). High frequency noise, on the other hand, can be effectively mitigated by low-pass filter 40, or equivalent signal processing techniques.
Known circuits, for example those disclosed in documents U.S. 2011163768 and U.S. 2011102061, still have unsatisfactory rejection of for medium frequency noise events such that coming from switching devices such as power supplies, lighting lamps and backlights, in particular if the noise between two consecutive samples is uncorrelated.
It is therefore an aim of the present invention to provide a novel capacitive touch sensor circuit, as well as the corresponding filter and processing method that can extract a signal from a capacitive sensor and has a better immunity to noise.
According to the invention, these aims are achieved by means of the objects of the appended claims.
The invention will be better understood with the aid of the description of an embodiment given by way of example and illustrated by the figures, in which:
a and 3b illustrate schematically the principal electric signals of the circuit of
a and 4b show the readout cycle of a sampling scheme according to an aspect of the invention.
a and 5b illustrate other signals used in various embodiments of the invention.
Referring now to
Let's now assume that the sampling frequency Fs=1/T is sufficiently faster than the Nyquist frequency associated with the incoming noise. Let's call U the useful signal:
Let's assume that the noise signal N(t) has the form of a current in(t) connected to the input of the integrator (see
If, for simplification, we assume that the noise current exhibits a linear relationship with respect to time, or more generally if the noise signal can be substituted by its first derivative during at least one quadruple sampling period, preferably during several quadruple sampling periods, we can write:
in(t)=α·t
We also note from
Hence the difference:
If now we focus on the (n+1)th sample which corresponds to a negative integration, we can similarly express the difference between the two consecutive samples from the concerned SH output:
And the difference:
From equations on Vdp and Vdn, we notice that in steady state, the step between two outputs of each SH is constant and independent of the sampling index, it is also proportional to the slope of the incoming noise signal. Let's define now V12=Vsh1−Vsh2, as the difference between two S/H outputs corresponding to different values of the drive excitation voltage Vf·V12=Vsh1−Vsh2, will be a square wave of peak to peak value as defined by Vdp and Vdn, of period 4·T and mean value of 2·U as
A similar analysis can be conducted for the two other S/H outputs Vsh3 and Vsh4. Using the same starting assumptions, we obtain:
Taking now the difference between these two S/H outputs V34=Vsh3−Vsh4, which also correspond to different values of the drive excitation voltage Vf, we obtain in steady state a square wave of same peak to peak value as for signal V12, still a mean value of 2·U but because of the inversion of the integration sign (negative for phase (n+2)T then positive for phase (n+3)T), we can observe a duty cycle of 75% for the case of a positive noise in(t). This is shown in
According to an aspect of the present invention, the signal Vcomp=V12−V34 is generated by combining two square waves defined above in order to obtain a signal proportional to the charge transferred to the input of the charge-sense amplifier (the signal Vcomp is defined as the result of a subtraction but, clearly, if one permutes the terms in the definition of V12 and V23, an addition or a different combination would be needed to arrive at the same algebraic value). Thanks to the alternate integration sign, the steady Vcomp signal during a time linear noise always exhibit a 50% duty cycle pattern centred at 0V. This is shown in
As expected, the Vcomp signal exhibits a 0V mean value with square waves and pulses corresponding to the incoming noise current. When the noise current varies linearly or quasi-linearly with time and when the quadruple S/H system can correctly track the noise, then the peak to peak amplitudes are proportional to its first derivative as explained in the beginning of this section. For fast transients as seen at the end of the noise pulses, the Vcomp samples no longer exhibit constant amplitude square waves but rather several larger amplitudes spikes, corresponding to the high involved noise din/dt.
Having a well defined average level of 0V affected by bidirectional spikes proportional to noise din/dt, the composite signal Vcomp can be considered as a reference level for medium frequency noise detection and elimination.
In an actual touch panel system, “L” Charge Sensing Amplifiers are hooked to “L” columns which intersect with “K” rows.
The evaluation unit 333 generates through addition and subtraction of the four outputs of the sample/hold circuits, the functions V12, V34 and Vcomp=V12−V34 as explained above. The evaluation unit further generates an analogue signal Vout
According to the particular embodiment represented schematically in
A discriminator block 330 is in charge of generating a digital flag (error_bit), each time the magnitude of Vcomp has overcome a pre-defined threshold, thereby indicating that the value of signal Vout
According to a variant of the invention, the system could include a parallel ADC arranged to convert Vcomp=V12−V34 in noise samples which are a representation of the noise (din/dt), while Vout
Once the samples impacted by noise have been identified thanks to the error_bit digital flag, further processing can take place to eliminate and/or replace the concerned converted samples from Vout
Number | Date | Country | Kind |
---|---|---|---|
1916/11 | Dec 2011 | CH | national |
Number | Name | Date | Kind |
---|---|---|---|
6452514 | Philipp | Sep 2002 | B1 |
20080158169 | O'Connor et al. | Jul 2008 | A1 |
20080204049 | Kawate et al. | Aug 2008 | A1 |
20110102061 | Wang et al. | May 2011 | A1 |
20110163768 | Kwon et al. | Jul 2011 | A1 |
20110310054 | Souchkov | Dec 2011 | A1 |
Number | Date | Country |
---|---|---|
WO-2012034714 | Mar 2012 | WO |
Number | Date | Country | |
---|---|---|---|
20130141139 A1 | Jun 2013 | US |