US20170075497A1 - Capacitive sensing apparatus and methods - Google Patents
Capacitive sensing apparatus and methods Download PDFInfo
- Publication number
- US20170075497A1 US20170075497A1 US15/345,281 US201615345281A US2017075497A1 US 20170075497 A1 US20170075497 A1 US 20170075497A1 US 201615345281 A US201615345281 A US 201615345281A US 2017075497 A1 US2017075497 A1 US 2017075497A1
- Authority
- US
- United States
- Prior art keywords
- touch
- diff
- output
- input
- voltage waveform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04182—Filtering of noise external to the device and not generated by digitiser components
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04184—Synchronisation with the driving of the display or the backlighting unit to avoid interferences generated internally
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
Definitions
- Structures and methods described herein relate to capacitive touch sensing, including the generation, detection, and processing of capacitive sensor signals to achieve higher signal-to-noise ratios, greater sensitivity, and increased reliability of capacitance measurements in the presence of a background electromagnetic interference field.
- Capacitive sensors utilize a conductive element and a proximate ground plane or one or more proximate conductive elements separated by a dielectric material to form one or more capacitive touch elements.
- Each capacitive touch element exhibits a capacitance that can vary according to a proximity of a mass referred to herein as a “dielectric mass.”
- the dielectric mass may be any material proximate to the capacitive touch element which changes the overall dielectric strength of the capacitive touch element.
- a human finger or other animal digit or body part, a fluid flow, an article of manufacture passing by on an assembly line, a tooth of a rotating gear and the like may all constitute dielectric masses.
- the terms “capacitive sensor” and “capacitive touch sensor” are used interchangeably herein. For purposes of this disclosure, the latter term is not to be construed as requiring physical contact of a human digit with the sensor.
- a capacitive sensor may consist of a single capacitive touch element or multiple capacitive touch elements.
- a single touch element sensor may be used in applications ranging from a simple on/off switch to counting applications and relative measurement of a distance of one or more proximate dielectric masses to the touch element.
- Touch elements of a multi-element capacitive sensor may be organized into a two-dimensional matrix and used to sense a position of a dielectric mass relative to the multi-element matrix.
- Capacitive touch detection apparatus Electronic circuitry used to detect, amplify, filter and otherwise process capacitive sensor signals is referred to herein as “capacitive touch detection apparatus.”
- Capacitive touch detection apparatus generates one or more output signals or values as relative or absolute measures of capacitance indicating the proximity of a dielectric mass to the sensor.
- Capacitive sensors and capacitive touch detection apparatus are traditionally susceptible to electromagnetic interference (“EMI”) due to their high impedance characteristics.
- EMI may include power line noise, energy-saving lamp noise, noise from switching power supplies, clock and data line noise, and so forth. Fundamental and harmonic frequencies associated with EMI may overlap frequencies of capacitive sensor signals. Such overlap may cause the capacitive touch detection apparatus to output erroneous values of capacitance and to consequently mis-interpret the proximity or position of a dielectric mass to the sensor.
- FIG. 1 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments of the invention.
- FIG. 2 is a waveform diagram of input and output voltage waveforms associated with a capacitive touch detection apparatus according to various example embodiments.
- FIG. 3 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments.
- FIG. 4 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments.
- FIG. 5 is a frequency plot illustrating a filtering effect associated with a capacitive touch detection apparatus according to various example embodiments.
- FIGS. 6A-6C are a flow diagram illustrating an example method of capacitive touch detection according to various example activities.
- Apparatus and methods disclosed herein generate one or more periodic input waveforms of frequencies F1, F2 . . . FN and impose the input waveforms across a series-connected resistive-capacitive (“RC”) network.
- the capacitor in the RC network is a capacitive touch element.
- the RC network causes both a voltage drop and a phase shift of the periodic waveform(s) as measured across either the capacitive touch element or the resistor as output waveform(s).
- a phase shift detector measures the phase shift between the input and output waveforms.
- a phase shift to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the phase shift.
- an amplitude ratio detector measures the ratio of the amplitude of the output waveform to the amplitude of the input waveform.
- An amplitude ratio to capacitance translator determines an additional measure of the instantaneous capacitance of the capacitive touch element as a function of the ratio of the amplitude of the output waveform to the amplitude of the input waveform.
- validation logic outputs one or more of the measures of the instantaneous capacitance or generates an average or weighted average of the one or more measures if the difference between the measures does not exceed a specified value. In some embodiments, the validation logic outputs one or more of the measures of the instantaneous capacitance or an average or weighted average of the one or more measures without regard to the difference between the one or more measures.
- the output waveform phase and amplitude are measured by performing analog-to-digital (“ADC”) conversions of the output waveform.
- a sampling clock used to clock the ADC may also be used to synchronize the waveform generator(s) used to generate the periodic input waveforms.
- a set of output waveform magnitude values sampled from portions of a cycle of a periodic input waveform is acted upon by a discrete Fourier transform (“DFT”) logic module associated with a waveform generator of a particular frequency.
- DFT discrete Fourier transform
- the DFT is a single-bin DFT (“SB DFT”). DFT embodiments have the advantage of creating a narrow-band filter around the waveform generator frequency and thus excluding previously-discussed EMI frequency components outside of the narrow-band filter.
- Embodiments including two or more periodic waveform generators, each of a different frequency may use capacitance values determined from measurements utilizing a waveform generator frequency not subject to unacceptable levels of EMI frequency components at the time of a particular instantaneous touch element capacitance measurement.
- Real (“I”) and imaginary (“Q”) outputs of each DFT logic module are operated on by phase shift logic to determine the instantaneous phase of the output waveform component associated with a waveform generator of a particular frequency.
- a phase shift calculator determines the phase shift between the input and output waveform components associated with the waveform generator.
- a phase shift to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the phase shift as described above.
- ADC and SB DFT-implemented embodiments may also include amplitude ratio logic to operate on the I and Q DFT outputs to determine the instantaneous amplitude of the output waveform component associated with a waveform generator of a particular frequency.
- An amplitude ratio calculator determines the ratio of the amplitude of the output waveform component associated with the waveform generator to the amplitude of the input waveform associated with that waveform generator.
- An amplitude ratio to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the amplitude ratio as described above.
- FIG. 1 is a schematic diagram of a capacitive touch detection apparatus 100 according to various example embodiments of the invention.
- the apparatus 100 includes a periodic waveform generator 105 coupled across a series-connected resistive-capacitive (“RC”) network 110 .
- the periodic waveform generator 105 generates a periodic voltage waveform of frequency F and imposes the periodic voltage waveform across the RC network 110 .
- the periodic waveform generator 105 may generate a sine waveform, a triangular waveform, a square waveform or a pulse waveform among other waveform shapes.
- the RC network 110 includes a capacitive touch element C 112 of variable capacitance C_TOUCH and a resistor R 115 .
- Values of the capacitance parameter C_TOUCH are a function of a proximity of a dielectric mass to C 112 , among other factors.
- the detection apparatus 100 also includes a phase shift detector 120 .
- a first input 122 of the phase shift detector 120 is coupled across the RC network 110 to receive the periodic voltage waveform.
- a second input 124 of the phase detector 120 is communicatively coupled across either C 112 or R 115 to receive a decreased magnitude, phase-shifted version of the periodic voltage waveform.
- the phase shift detector 120 measures a phase shift ⁇ _DIFF between the periodic voltage waveform and the decreased magnitude, phase-shifted version of the periodic voltage waveform.
- the decreased magnitude, phase-shifted version of the periodic voltage waveform is also referred to herein as “the output waveform.” It is noted that the output waveform, although shown in the figures as being sensed across C 112 , may alternatively be sensed across R 115 .
- the detection apparatus 100 further includes a phase shift to capacitance translator 130 coupled to an output 132 of the phase shift detector 120 .
- Some embodiments of the detection apparatus 100 also include an amplitude ratio detector 145 .
- a first input 148 of the amplitude ratio detector 145 is coupled across the RC network 110 to receive the periodic voltage waveform.
- a second input 152 is communicatively coupled across either C 112 or R 115 to receive the decreased magnitude, phase-shifted version of the periodic voltage waveform.
- the amplitude ratio detector 145 measures an amplitude of the periodic voltage waveform and an amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform. From these two amplitude values, the amplitude ratio detector 145 determines a ratio (“A_RATIO”) of the amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform to the amplitude of the periodic voltage waveform.
- A_RATIO a ratio
- Embodiments of the capacitive touch detection apparatus 100 which include the amplitude ratio detector 145 also include an amplitude ratio to capacitance translator 160 .
- the amplitude ratio to capacitance translator 160 is coupled to the amplitude ratio detector 145 to convert A_RATIO to a second measure of C_TOUCH, “C_TOUCH(A_RATIO)”.
- the capacitive touch detection apparatus 100 includes an amplifier 135 input-coupled across either C 112 or R 115 , whichever the output waveform measurements are taken from.
- An output 138 of the amplifier 135 is coupled to one or more of the second input 124 of the phase shift detector 120 and/or the second input 152 of the amplitude ratio detector.
- the amplifier 135 reduces impedance loading of C 112 or R 115 by the phase shift detector 120 , the amplitude ratio detector 145 , or both.
- Some embodiments of the capacitive touch detection apparatus 100 include C_TOUCH validation logic 165 .
- the C_TOUCH validation logic 165 is coupled to the phase shift to capacitance translator 130 and to the amplitude ratio to capacitance translator 160 via inputs 168 and 170 , respectively.
- the C_TOUCH validation logic 165 receives one or more values of C_TOUCH( ⁇ _DIFF) and/or one or more values of C_TOUCH(A_RATIO).
- Some embodiments of the C_TOUCH validation logic 165 determine one or more differences between the value(s) of C_TOUCH( ⁇ _DIFF) and the value(s) of C_TOUCH(A_RATIO).
- C_TOUCH_MAX_DIFF a maximum selected difference
- Such embodiments of the C_TOUCH validation logic 165 may output a value of C_TOUCH termed “C_TOUCH_OUT” as a function of at least one of C_TOUCH( ⁇ _DIFF) or C_TOUCH(A_RATIO) if the difference is less than or equal to C_TOUCH_MAX_DIFF.
- the latter embodiments may output an invalidity indication if the difference is greater than C_TOUCH_MAX_DIFF.
- Some embodiments of the capacitive touch detection apparatus 100 may also include a register 175 coupled to the C_TOUCH validation logic 165 to store the value of C_TOUCH_MAX_DIFF.
- FIG. 2 is a waveform diagram of an input periodic waveform 210 and a corresponding output periodic waveform 215 as generated by the various example embodiments disclosed herein.
- the output waveform 215 is a decreased magnitude, phase-shifted version of the input periodic waveform 210 .
- the various embodiments herein measure the phase difference ⁇ _DIFF 220 between the input and output waveforms 210 and 215 , respectively. These embodiments determine instantaneous values of the variable capacitance C_TOUCH of a capacitive sensor as a function of ⁇ _DIFF 220 .
- Some embodiments also measure the magnitudes A_INPUT 230 and A_OUTPUT 235 of the input and output periodic waveforms 210 and 215 , respectively. These embodiments determine instantaneous values of the variable capacitance C_TOUCH of a capacitive sensor as a function of a ratio of A_OUTPUT 235 to A_INPUT 230 . Although the measures of A_INPUT 230 and A_OUTPUT 235 are shown as peak-to-peak values, some embodiments may measure the magnitudes of the input and output waveforms 210 and 215 as zero-to-peak values or use other magnitude measurement points. As previously mentioned, although the periodic waveforms are shown in the example of FIG. 2 as sine waves, periodic waveforms of any shape may be implemented by the various embodiments, including triangular waveforms, square waveforms, etc.
- FIGS. 3 and 4 are schematic diagrams of capacitive touch detection apparatus 300 and 400 , respectively, according to various example embodiments.
- the apparatus 300 and 400 will be described together to avoid repetitiveness as they are similar.
- the apparatus 300 processes touch sensor signals initiated by a single periodic waveform generator 305 A.
- the apparatus 400 performs the same processing techniques as the apparatus 300 on signals initiated by any number N of waveform generators. It is noted, however, that for the sake of clarity FIG. 4 shows circuitry associated with two waveform generators 305 A and 305 B as representative of circuitry associated with N waveform generators.
- FIG. 4 shows circuitry associated with two waveform generators 305 A and 305 B as representative of circuitry associated with N waveform generators.
- the third through Nth copy of schematic diagram elements and/or signal names associated with a number of waveform generators greater than two referred to below are not shown on FIG. 4 .
- the apparatus 300 and 400 will be referred to below either individually as “apparatus 300 ” and “apparatus 400
- the capacitive touch detection apparatus 300 / 400 includes one or more periodic waveform generators (e.g., the waveform generators 305 A and 305 B) coupled across a series-connected RC network 110 .
- the RC network 110 includes a capacitive touch element C 112 of variable capacitance C_TOUCH and a resistor R 115 . Values of C_TOUCH are a function of a proximity of a dielectric mass to C 112 .
- Each of the periodic waveform generator(s) 305 A, 305 B . . . periodic waveform generator N generates a periodic voltage waveform of frequency F1, F2 . . .
- F_SUM is equivalent to the single input periodic waveform generated by the single waveform generator 305 A.
- the capacitive touch detection apparatus 300 / 400 also includes an ADC 308 communicatively coupled across either C 112 or R 115 .
- the ADC 308 receives and periodically samples a decreased magnitude, phase-shifted version of F_SUM appearing across C or R, whichever the output waveform measurements are taken from.
- the ADC 308 samples the decreased magnitude, phase-shifted version of F_SUM according to a first sampling periodicity associated with the periodic voltage waveform of frequency F1, a second sampling periodicity associated with the periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the periodic voltage waveform of frequency FN.
- the ADC 308 outputs a numerical magnitude value corresponding to each periodic sample.
- Some embodiments of the capacitive touch detection apparatus 300 / 400 also include one or more sample value table(s) 310 , each sample value table 310 coupled to the ADC 308 . It is noted that although sample value tables(s) are not shown in FIG. 4 , some embodiments of the apparatus 400 may include sample value tables as described herein. Each sample value table stores a corresponding set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity.
- the capacitive touch detection apparatus 300 / 400 also includes DFT logic modules DFT F1 312 A, DFT F2 312 B . . . DFT FN communicatively coupled to the ADC.
- Each DFT logic module 312 A, 312 B . . . DFT FN corresponds to a periodic waveform generator 305 A, 305 B . . . or periodic waveform generator FN.
- the DFT logic modules 312 A, 312 B . . . DFT FN may be implemented as single bin (“SB”) DFTs.
- SB single bin
- each DFT FN performs DFT operations on a set of numerical magnitude values sampled from one or more portions of a cycle of the decreased magnitude, phase-shifted version of the waveform F_SUM. Each set of sample values corresponds to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity.
- Each DFT logic module 312 A, 312 B . . . DFT FN generates a real numerical output value (“I_OUT_F1”, “I_OUT_F2” . . . or “I_OUT_FN”) and an imaginary numerical output value (“Q_OUT_F1”, “Q_OUT_F2” . . . or “Q_OUT_FN”) for each set of numerical magnitude sample values.
- each sample value table 310 is coupled to a corresponding DFT logic module to store a set of numerical magnitude values as input values to the corresponding DFT logic module.
- Some embodiments of the capacitive touch detection apparatus 300 / 400 also include a sampling clock (e.g., the sampling clock 315 of FIG. 3 ) coupled to the ADC 308 and communicatively coupled to the periodic waveform generators 305 A, 305 B . . . periodic waveform generator FN.
- the sampling clock (not shown on FIG. 4 ) clocks the periodic samples into the ADC 308 .
- the sampling clock also synchronizes the periodic waveform generators 305 A, 305 B . . . periodic waveform generator FN to the sampling periodicities in order to provide accurate phase measurements between F_SUM and the decreased magnitude, phase-shifted version of F_SUM.
- Some embodiments of the capacitive touch detection apparatus 300 / 400 also include a clock divider circuit “ ⁇ M” (e.g., the ⁇ M circuit 318 of FIG. 3 ).
- the ⁇ M circuit 318 lengthens the period of the sampling clock by an integer multiple M. Doing so by certain values of M such as the integer value four results in integer values in the sets of sample values generated by the ADC 308 . Receiving integer values may simplify DFT operations by limiting such operations to addition and subtraction and avoiding more processor-intensive multiplication and division operations.
- the capacitive touch detection apparatus 300 / 400 further includes one or more phase shift logic modules (e.g., the phase shift logic module 322 of FIG. 3 ). It is noted that components of each phase shift logic module associated with the apparatus 400 are shown in FIG. 4 and described below with reference to both FIGS. 3 and 4 . However, for purposes of clarity, outlines and labels of the phase shift logic module blocks of the apparatus 400 are not shown in FIG. 4 .
- Each phase shift logic module is coupled to a DFT logic module 312 A, 312 B . . . or DFT FN of a corresponding frequency.
- Each phase shift logic module receives the I_OUT value and the Q_OUT value from the corresponding DFT logic module 312 A, 312 B . . . or DFT FN.
- Each phase shift logic module determines a phase shift (“ ⁇ _DIFF_F1”, “ ⁇ _DIFF_F2” . . . or “ ⁇ _DIFF_FN”) between the periodic voltage waveform of frequency F1, F2 . . . or FN and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN associated with the corresponding DFT logic module.
- Each phase shift logic module of the apparatus 300 / 400 includes an output phase calculator (e.g., the F1 output phase calculator 325 A and the F2 output phase calculator 325 B).
- Each output phase calculator is coupled to the DFT_F1 312 A, DFT_F2 312 B . . . or to the DFT_FN corresponding to the frequency of the output phase calculator.
- the F1 output phase calculator 325 A is coupled to the DFT F1 312 A.
- Each output phase calculator 325 A, 325 B . . . or FN output phase calculator determines an output phase value (“ ⁇ _OUTPUT_F1”, “_OUTPUT_F2” . . .
- the F1 output phase calculator 325 A determines ⁇ _OUTPUT_F1 as equal to arctan 2(I_OUT_F1,Q_OUT_F1).
- the F2 output phase calculator 325 B determines ⁇ _OUTPUT_F2 as equal to arctan 2(I_OUT_F2,Q_OUT_F2).
- the FN output phase calculator determines ⁇ _OUTPUT_FN as equal to arctan 2(I_OUT_FN,Q_OUT_FN).
- Each phase shift logic module of the apparatus 300 / 400 also includes an F1 input phase register 328 A, an F2 input phase register 328 B . . . or FN input phase register.
- Each input phase register stores a known input phase value ⁇ _INPUT_F1, ⁇ _INPUT_F2 . . . or ⁇ _INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN.
- Each phase shift logic module of the apparatus 300 / 400 also includes a phase shift calculator (e.g., the F1 phase shift calculator 332 A and the F2 phase shift calculator 332 B).
- Each phase shift calculator is coupled to an output phase calculator of a corresponding frequency and to an input phase register of the corresponding frequency.
- the F1 phase shift calculator 332 A is coupled to the F1 output phase calculator 325 A and to the F1 input phase register 328 A.
- Each phase shift calculator determines the phase shift ⁇ _DIFF_F1, ⁇ _DIFF_F2 . . . or ⁇ _DIFF_FN corresponding to the input and output waveforms of frequencies F1, F2 . . . and FN, respectively.
- the F1 phase shift calculator 332 A determines ⁇ _DIFF_F1 as equal to ( ⁇ _OUTPUT_F1) ⁇ ( ⁇ _INPUT_F1).
- the F2 phase shift calculator 332 B determines ⁇ _DIFF_F2 as equal to ( ⁇ _OUTPUT_F2) ⁇ ( ⁇ _INPUT_F2).
- the FN phase shift calculator determines ⁇ _DIFF_FN as equal to ( ⁇ _OUTPUT_FN) ⁇ ( ⁇ _INPUT_FN).
- the capacitive touch detection apparatus 300 / 400 includes one or more phase shift to capacitance translators (e.g., the F1 phase shift to capacitance translator 130 A and the F2 phase shift to capacitance translator 130 B). Each phase shift to capacitance translator is coupled to a corresponding phase shift logic module (e.g., the phase shift logic module 322 ) of a corresponding frequency. Each phase shift to capacitance translator 130 A, 130 B . . . FN phase shift to capacitance translator determines a potential value of C_TOUCH termed “C_TOUCH( ⁇ _DIFF_F1)”, “C_TOUCH( ⁇ _DIFF_F2)” . . . or “C_TOUCH( ⁇ _DIFF_FN)”.
- C_TOUCH( ⁇ _DIFF_F1) termed “C_TOUCH( ⁇ _DIFF_F1)”
- C_TOUCH( ⁇ _DIFF_F2) . . .
- C_TOUCH( ⁇ _DIFF_FN) C_TOUCH
- Each C_TOUCH potential value C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . or C_TOUCH( ⁇ _DIFF_FN) corresponds to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN.
- the F1 phase shift to capacitance translator 130 A determines C_TOUCH( ⁇ _DIFF_F1) as equal to (tan ⁇ _DIFF_F1)/(2* ⁇ *F1*R).
- the F2 phase shift to capacitance translator 130 B determines C_TOUCH( ⁇ _DIFF_F2) as equal to (tan ⁇ _DIFF_F2)/(2* ⁇ *F2*R).
- the FN phase shift to capacitance translator determines C_TOUCH( ⁇ _DIFF_FN) as equal to (tan ⁇ _DIFF_FN)/(2* ⁇ *FN*R).
- Some embodiments of the capacitive touch detection apparatus 300 / 400 also include one or more amplitude ratio logic modules (e.g., the amplitude ratio logic module 340 of FIG. 3 . It is noted that components of each amplitude ratio logic module associated with the apparatus 400 are shown in FIG. 4 and described below with reference to both FIGS. 3 and 4 . However, for purposes of clarity, outlines and labels of the amplitude ratio logic module blocks of the apparatus 400 are not shown in FIG. 4 .
- Each amplitude ratio logic module is coupled to a DFT logic module of a corresponding frequency (e.g., the F1 amplitude ratio logic module is coupled to the DFT F1 logic module 312 A and the F2 amplitude ratio logic module is coupled to the DFT F2 logic module 312 B).
- Each amplitude ratio logic module receives the I_OUT value and the Q_OUT value from the corresponding DFT logic module and determines an amplitude ratio (“AR_F1”, AR_F2” . . . or “AR_FN”) of the decreased magnitude, phase-shifted version of the periodic voltage waveform associated with the corresponding DFT logic module to the periodic voltage waveform associated with the corresponding DFT logic module.
- Each amplitude ratio logic module includes an output amplitude calculator (e.g., the F1 output amplitude calculator 344 A and the F2 output amplitude calculator 344 B). Each output amplitude calculator is coupled to a DFT logic module of a corresponding frequency. For example, the F1 output amplitude calculator 344 A is coupled to the DFT F1 logic module 312 A. Each output amplitude calculator determines an output amplitude value (“A_OUTPUT_F1”, “A_OUTPUT_F2” . . . or “A_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN.
- A_OUTPUT_F1 an output amplitude value
- the F1 output amplitude calculator 344 A calculates A_OUTPUT_F1 as sqrt[(I_OUT_F1)**2+(Q_OUT_F1)**2].
- the F2 output amplitude calculator 344 B calculates A_OUTPUT_F2 as sqrt[(I_OUT_F2)**2+(Q_OUT_F2)**2].
- the FN output amplitude calculator calculates A_OUTPUT_FN as sqrt[(I_OUT_FN)**2+(Q_OUT_FN)**2].
- each amplitude ratio logic module also includes an input amplitude register (e.g., the F1 input amplitude register 348 A and the F2 input amplitude register 348 B).
- Each input amplitude register stores the constant input amplitude value A_INPUT_F1, A_INPUT_F2 . . . or A_INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN.
- Each amplitude ratio logic module also includes an amplitude ratio calculator (e.g., the F1 amplitude ratio calculator 352 A and the F2 amplitude ratio calculator 352 B).
- Each amplitude ratio calculator is coupled to the an output amplitude calculator and to an input amplitude register of the corresponding frequency.
- the F1 amplitude ratio calculator 352 A is coupled to the F1 output amplitude calculator 344 A and to the F1 input amplitude register 348 A.
- Each amplitude ratio calculator determines an amplitude ratio AR_F1, AR_F2 . . . or AR_FN of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . .
- the F1 amplitude ratio calculator 352 A determines AR_F1 as equal to A_OUTPUT_F1/A_INPUT_F1.
- the F2 amplitude ratio calculator 352 B determines AR_F2 as equal to A_OUTPUT_F2/A_INPUT_F2.
- the FN amplitude ratio calculator determines AR_FN as equal to A_OUTPUT_FN/A_INPUT_FN.
- Embodiments of the capacitive touch detection apparatus 300 / 400 which include amplitude ratio logic module(s) also include one or more amplitude ratio to capacitance translators (e.g., the F1 amplitude ratio to capacitance translator 160 A and the F2 amplitude ratio to capacitance translator 160 B).
- Each amplitude ratio to capacitance translator is coupled to an amplitude ratio logic module (e.g., the amplitude ratio logic module 340 ) of a corresponding frequency.
- the F1 amplitude ratio to capacitance translator 160 A is coupled to the F1 amplitude ratio logic module.
- Each amplitude ratio logic module determines a potential C_TOUCH capacitance value “C_TOUCH(AR_F1)”, “C_TOUCH(AR_F2)” . . . or “C_TOUCH(AR_FN)” corresponding to an amplitude ratio of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN.
- the F1 amplitude ratio to capacitance translator 160 A determines C_TOUCH(AR_F1) as equal to [(1 ⁇ AR_F1**2)]**1 ⁇ 2/(2* ⁇ *F1*R*AR_F1).
- the F2 amplitude ratio to capacitance translator 160 B determines C_TOUCH(AR_F2) as equal to [(1 ⁇ AR_F2**2)]**1 ⁇ 2/(2* ⁇ *F2*R*AR_F2).
- the FN amplitude ratio to capacitance translator determines C_TOUCH(AR_FN) as equal to [(1 ⁇ AR_FN**2)]**1 ⁇ 2/(2* ⁇ *FN*R*AR_FN).
- Some embodiments of the capacitive touch detection apparatus 300 / 400 include C_TOUCH validation logic 165 as described above with respect to the apparatus 100 .
- the C_TOUCH validation logic 165 is coupled to the phase shift to capacitance translator(s) 130 A, 130 B . . . and to the Nth phase shift to capacitance translator.
- the C_TOUCH validation logic 165 is also coupled to the amplitude ratio to capacitance translator(s) 160 A, 160 B . . . and to the Nth amplitude ratio to capacitance translator.
- the C_TOUCH validation logic 165 receives one or more values of C_TOUCH( ⁇ _DIFF) and/or one or more values of C_TOUCH(AR).
- Some embodiments of the C_TOUCH validation logic 165 compare two or more of the potential C_TOUCH values C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . C_TOUCH( ⁇ _DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN).
- the comparison operations determine whether a difference between the potential C_TOUCH values is greater than a selected value C_TOUCH_MAX_DIFFERENCE.
- C_TOUCH validation logic 165 output a numerical average of the potential C_TOUCH values as C_TOUCH_OUT if the difference between the potential C_TOUCH values is not greater than the selected value C_TOUCH_MAX_DIFFERENCE.
- An invalidity flag C_TOUCH_MEASUREMENT_INVALID is output from the C_TOUCH validation logic 165 if the difference between the potential C_TOUCH values is greater than the selected value C_TOUCH_MAX_DIFFERENCE.
- Some embodiments of the capacitive touch detection apparatus 300 / 400 also include a register 175 coupled to the C_TOUCH validation logic 165 .
- the register 175 contains the selected value C_TOUCH_MAX_DIFFERENCE.
- Some embodiment of the capacitive touch detection apparatus 300 / 400 perform weighted averaging operations on the potential C_TOUCH values C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . C_TOUCH( ⁇ _DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN).
- Such embodiments output a weighted average of the potential C_TOUCH values as C_TOUCH_OUT.
- Some such embodiments may output averages of the potential C_TOUCH values as C_TOUCH_OUT without regard to differences between the potential C_TOUCH values.
- FIG. 5 is a frequency plot illustrating a filtering effect associated with the capacitive touch detection apparatus 300 / 400 according to various example embodiments.
- the DFT embodiments illustrated by the example apparatus 300 / 400 have the advantage of creating a narrow-band filter 510 around the waveform generator frequency 515 .
- the narrow-band filter 510 excludes previously-discussed EMI frequency components (e.g., the EMI components 520 and 525 ) occurring outside of the narrow-band filter 510 associated with the waveform generator frequency 515 .
- the frequencies of the EMI components may quickly change position over time.
- the apparatus 400 may overcome this problem by implementing two or more periodic waveform generators, each of a different frequency.
- the apparatus 400 may use capacitance values determined from measurements utilizing a waveform generator frequency not subject to unacceptable levels of EMI frequency components at the time of a particular instantaneous touch element capacitance measurement.
- Some embodiments of the capacitive touch detection apparatus 300 may perform a similar function by changing the frequency of the single periodic waveform generator when capacitance measurements are deemed unreliable by the C_TOUCH validation logic 165 .
- a subsequent C_TOUCH measurement at a different frequency may be subject to one or more EMI frequency components having moved to the new waveform generator frequency by the time the subsequent C_TOUCH measurement is made.
- FIGS. 6A-6C are a flow diagram illustrating an example method 600 of capacitive touch detection according to various example activities.
- the method 600 commences at block 605 with generating one or more periodic waveforms.
- Each periodic waveform is of a frequency F1, F2 . . . or FN, of a known phase value ⁇ _INPUT_F1, ⁇ _INPUT_F2 . . . or ⁇ _INPUT_FN and of a known amplitude A_INPUT_F1, A_INPUT_F2 . . . or A_INPUT_FN.
- the method 600 continues at block 610 with imposing a sum (“F_SUM”) of the periodic voltage waveforms across a series-connected RC network.
- the RC network includes a capacitive touch element C of variable capacitance C_TOUCH and a resistor R.
- the parameter C_TOUCH is a function of a proximity of a dielectric mass to C.
- the method 600 includes periodically sampling a decreased magnitude, phase-shifted version of F_SUM appearing across either C or R, at block 615 .
- the decreased magnitude, phase-shifted version of F_SUM is sampled according to a first sampling periodicity associated with the input periodic voltage waveform of frequency F1, a second sampling periodicity associated with the input periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the input periodic voltage waveform of frequency FN.
- the method 600 also includes performing DFT operations on a set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity from one or more portions of a cycle of the decreased magnitude, phase-shifted version of F_SUM, at block 620 .
- the method 600 further includes generating a real numerical output value I_OUT_F1, I_OUT_F2 . . . or I_OUT_FN and an imaginary numerical output value Q_OUT_F1, Q_OUT_F2 . . . or Q_OUT_FN from the DFT operations for each set of numerical magnitude sample values, at block 625 .
- the method 600 continues at block 628 with determining an output phase value ⁇ _OUTPUT_F1, ⁇ _OUTPUT_F2 . . . or ⁇ _OUTPUT_FN.
- the output phase value is associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN.
- the method 600 also includes determining a phase shift ⁇ _DIFF_F1, ⁇ _DIFF_F2 . . . or ⁇ _DIFF_FN between the periodic voltage waveform of frequency F1, F2 . . . or FN and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN, at block 633 .
- the method 600 further includes determining a potential value of C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . or C_TOUCH( ⁇ _DIFF_FN), at block 638 .
- the potential value of C_TOUCH corresponds to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN.
- C_TOUCH( ⁇ _DIFF_F1) (tan ⁇ _DIFF_F1)/(2* ⁇ *F1*R)
- C_TOUCH( ⁇ _DIFF_F2) (tan ⁇ _DIFF_F2)/(2* ⁇ *F2*R) . . .
- C_TOUCH( ⁇ _DIFF_FN) (tan ⁇ _DIFF_FN)/(2* ⁇ *FN*R), respectively.
- the method 600 continues at block 640 with determining an output amplitude value A_OUTPUT_F1, A_OUTPUT_F2 . . . or A_OUTPUT_FN associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN.
- the method 600 includes determining an amplitude ratio AR_F1, AR_F2 . . . or AR_FN of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN.
- the method 600 also includes determining a potential value of C_TOUCH, C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . or C_TOUCH(AR_FN), at block 650 .
- the potential value of C_TOUCH corresponds to the amplitude ratio of the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN.
- C_TOUCH(AR_F1) [(1 ⁇ AR_F1**2)]**1 ⁇ 2/(2* ⁇ *F1*R*AR_F1)
- C_TOUCH(AR_F2) [(1 ⁇ AR_F2**2)]**1 ⁇ 2/(2* ⁇ *F2*R*AR_F2) . . .
- C_TOUCH(AR_FN) [(1 ⁇ AR_FN**2)]**1 ⁇ 2/(2* ⁇ *FN*R*AR_FN), respectively.
- the method 600 further includes comparing two or more of the potential values of C_TOUCH, C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . C_TOUCH( ⁇ _DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN), at block 655 .
- the method 600 continues at block 660 with determining whether a difference between the potential values of C_TOUCH is greater than a selected value C_TOUCH_MAX_DIFFERENCE.
- the method 600 includes generating a numerical average of the potential values of C_TOUCH as C_TOUCH_OUT if a difference between the potential values of C_TOUCH is not greater than the selected value C_TOUCH_MAX_DIFFERENCE, at block 665 .
- the method 600 also includes generating an invalidity flag C_TOUCH_MEASUREMENT_INVALID if a difference between the potential values of C_TOUCH is greater than the selected value C_TOUCH_MAX_DIFFERENCE, at block 670 .
- the method 600 includes performing weighted averaging operations on the C_TOUCH potential values C_TOUCH( ⁇ _DIFF_F1), C_TOUCH( ⁇ _DIFF_F2) . . . C_TOUCH( ⁇ _DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN), at block 675 .
- the weighted averaging operations may be performed without regard to differences between the potential values of C_TOUCH.
- the method 600 may, in such case, include generating a weighted average of the potential values of C_TOUCH as C_TOUCH_OUT, at block 680 .
- the apparatus 100 , 300 , and 400 and the method 600 are intended to provide a general understanding of the sequences of various methods and the structures of various embodiments. They are not intended to serve as complete descriptions of all elements and features of methods, apparatus and systems that might make use of these example sequences and structures.
- the various embodiments may be incorporated into semiconductor analog and digital circuits for use in receptacle power converters, electronic circuitry used in computers, communication and signal processing circuitry, single-processor or multi-processor modules, single or multiple embedded processors, multi-core processors, data switches, and application-specific modules including multi-layer, multi-chip modules, among others.
- Such apparatus and systems may further be included as sub-components within a variety of electronic systems such as robotics, medical devices (e.g., heart monitor, blood pressure monitor, etc.), motor vehicles, televisions, cellular telephones, personal computers (e.g., laptop computers, desktop computers, handheld computers, tablet computers, etc.), workstations, radios, video players, audio players (e.g., MP3 (Motion Picture Experts Group, Audio Layer 3) players), set top boxes, household appliances and others.
- medical devices e.g., heart monitor, blood pressure monitor, etc.
- motor vehicles e.g., motor vehicles, televisions, cellular telephones, personal computers (e.g., laptop computers, desktop computers, handheld computers, tablet computers, etc.), workstations, radios, video players, audio players (e.g., MP3 (Motion Picture Experts Group, Audio Layer 3) players), set top boxes, household appliances and others.
- MP3 Motion Picture Experts Group, Audio Layer 3
- Methods and structures disclosed herein sense and measure capacitance variations from capacitive touch sensors by measuring phase shifts between sensor input and output signals. Phase shifts and amplitude ratio variations may be measured via apparatus and methods including DFT operations that filter EMI frequency components from the touch sensor signals. Sensor capacitance variations obtained from combinations of multi-frequency sensor signals, sensor input/output phase shifts and input/output signal magnitude ratio measurements may be compared to determine their validity. These structures and methods improve the sensitivity of capacitive sensor systems, including the unexpected result that capacitance variations down to single-digit femto-farads may be reliably sensed.
- inventive subject matter may be referred to herein individually or collectively by the term “invention” merely for convenience and without intending to voluntarily limit this application to any single invention or inventive concept, if more than one is in fact disclosed.
- inventive subject matter may be referred to herein individually or collectively by the term “invention” merely for convenience and without intending to voluntarily limit this application to any single invention or inventive concept, if more than one is in fact disclosed.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electronic Switches (AREA)
- Position Input By Displaying (AREA)
Abstract
One or more waveform generators impose an input waveform across touch sensor components. Phase shift detection logic measures a phase shift between the input waveform and an output waveform component associated with each waveform generator appearing across a touch sensor component. Amplitude ratio detection logic measures an output-to-input waveform magnitude ratio associated with each waveform generator. Translator logic converts the phase shift(s) and optionally the output-to-input waveform magnitude ratio(s) to capacitance values. Validation logic compares the resulting capacitance values to each other to determine consistency and validity during a particular waveform sampling time. The phase shift detection logic and the amplitude ratio detection logic are optionally implemented with discrete Fourier transform logic which includes narrow-band filtering to exclude electromagnetic interference frequency components from touch sensor signal measurements.
Description
- This application is a continuation of U.S. patent application Ser. No. 14/300,757, filed Jun. 10, 2014, which claims the benefit of U.S. Provisional Patent Application Ser. No. 61/877,760, filed Sep. 13, 2013 and U.S. Provisional Patent Application Ser. No. 61/856,335, filed Jul. 19, 2013, all of which are incorporated herein by reference in their entirety.
- Structures and methods described herein relate to capacitive touch sensing, including the generation, detection, and processing of capacitive sensor signals to achieve higher signal-to-noise ratios, greater sensitivity, and increased reliability of capacitance measurements in the presence of a background electromagnetic interference field.
- Capacitive sensors utilize a conductive element and a proximate ground plane or one or more proximate conductive elements separated by a dielectric material to form one or more capacitive touch elements. Each capacitive touch element exhibits a capacitance that can vary according to a proximity of a mass referred to herein as a “dielectric mass.” The dielectric mass may be any material proximate to the capacitive touch element which changes the overall dielectric strength of the capacitive touch element. For example, a human finger or other animal digit or body part, a fluid flow, an article of manufacture passing by on an assembly line, a tooth of a rotating gear and the like may all constitute dielectric masses. It is noted that the terms “capacitive sensor” and “capacitive touch sensor” are used interchangeably herein. For purposes of this disclosure, the latter term is not to be construed as requiring physical contact of a human digit with the sensor.
- A capacitive sensor may consist of a single capacitive touch element or multiple capacitive touch elements. A single touch element sensor may be used in applications ranging from a simple on/off switch to counting applications and relative measurement of a distance of one or more proximate dielectric masses to the touch element. Touch elements of a multi-element capacitive sensor may be organized into a two-dimensional matrix and used to sense a position of a dielectric mass relative to the multi-element matrix.
- Electronic circuitry used to detect, amplify, filter and otherwise process capacitive sensor signals is referred to herein as “capacitive touch detection apparatus.” Capacitive touch detection apparatus generates one or more output signals or values as relative or absolute measures of capacitance indicating the proximity of a dielectric mass to the sensor. Capacitive sensors and capacitive touch detection apparatus are traditionally susceptible to electromagnetic interference (“EMI”) due to their high impedance characteristics. Such EMI may include power line noise, energy-saving lamp noise, noise from switching power supplies, clock and data line noise, and so forth. Fundamental and harmonic frequencies associated with EMI may overlap frequencies of capacitive sensor signals. Such overlap may cause the capacitive touch detection apparatus to output erroneous values of capacitance and to consequently mis-interpret the proximity or position of a dielectric mass to the sensor.
-
FIG. 1 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments of the invention. -
FIG. 2 is a waveform diagram of input and output voltage waveforms associated with a capacitive touch detection apparatus according to various example embodiments. -
FIG. 3 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments. -
FIG. 4 is a schematic diagram of a capacitive touch detection apparatus according to various example embodiments. -
FIG. 5 is a frequency plot illustrating a filtering effect associated with a capacitive touch detection apparatus according to various example embodiments. -
FIGS. 6A-6C are a flow diagram illustrating an example method of capacitive touch detection according to various example activities. - Apparatus and methods disclosed herein generate one or more periodic input waveforms of frequencies F1, F2 . . . FN and impose the input waveforms across a series-connected resistive-capacitive (“RC”) network. The capacitor in the RC network is a capacitive touch element. The RC network causes both a voltage drop and a phase shift of the periodic waveform(s) as measured across either the capacitive touch element or the resistor as output waveform(s). A phase shift detector measures the phase shift between the input and output waveforms. A phase shift to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the phase shift.
- In some embodiments, an amplitude ratio detector measures the ratio of the amplitude of the output waveform to the amplitude of the input waveform. An amplitude ratio to capacitance translator determines an additional measure of the instantaneous capacitance of the capacitive touch element as a function of the ratio of the amplitude of the output waveform to the amplitude of the input waveform. In some embodiments, validation logic outputs one or more of the measures of the instantaneous capacitance or generates an average or weighted average of the one or more measures if the difference between the measures does not exceed a specified value. In some embodiments, the validation logic outputs one or more of the measures of the instantaneous capacitance or an average or weighted average of the one or more measures without regard to the difference between the one or more measures.
- In some embodiments, the output waveform phase and amplitude are measured by performing analog-to-digital (“ADC”) conversions of the output waveform. A sampling clock used to clock the ADC may also be used to synchronize the waveform generator(s) used to generate the periodic input waveforms. A set of output waveform magnitude values sampled from portions of a cycle of a periodic input waveform is acted upon by a discrete Fourier transform (“DFT”) logic module associated with a waveform generator of a particular frequency. In some embodiments the DFT is a single-bin DFT (“SB DFT”). DFT embodiments have the advantage of creating a narrow-band filter around the waveform generator frequency and thus excluding previously-discussed EMI frequency components outside of the narrow-band filter. Embodiments including two or more periodic waveform generators, each of a different frequency, may use capacitance values determined from measurements utilizing a waveform generator frequency not subject to unacceptable levels of EMI frequency components at the time of a particular instantaneous touch element capacitance measurement.
- Real (“I”) and imaginary (“Q”) outputs of each DFT logic module are operated on by phase shift logic to determine the instantaneous phase of the output waveform component associated with a waveform generator of a particular frequency. A phase shift calculator determines the phase shift between the input and output waveform components associated with the waveform generator. A phase shift to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the phase shift as described above.
- ADC and SB DFT-implemented embodiments may also include amplitude ratio logic to operate on the I and Q DFT outputs to determine the instantaneous amplitude of the output waveform component associated with a waveform generator of a particular frequency. An amplitude ratio calculator determines the ratio of the amplitude of the output waveform component associated with the waveform generator to the amplitude of the input waveform associated with that waveform generator. An amplitude ratio to capacitance translator determines the instantaneous capacitance of the capacitive touch element as a function of the amplitude ratio as described above.
-
FIG. 1 is a schematic diagram of a capacitivetouch detection apparatus 100 according to various example embodiments of the invention. Theapparatus 100 includes aperiodic waveform generator 105 coupled across a series-connected resistive-capacitive (“RC”)network 110. Theperiodic waveform generator 105 generates a periodic voltage waveform of frequency F and imposes the periodic voltage waveform across theRC network 110. Theperiodic waveform generator 105 may generate a sine waveform, a triangular waveform, a square waveform or a pulse waveform among other waveform shapes. - The
RC network 110 includes a capacitivetouch element C 112 of variable capacitance C_TOUCH and aresistor R 115. Values of the capacitance parameter C_TOUCH are a function of a proximity of a dielectric mass toC 112, among other factors. - The
detection apparatus 100 also includes aphase shift detector 120. Afirst input 122 of thephase shift detector 120 is coupled across theRC network 110 to receive the periodic voltage waveform. Asecond input 124 of thephase detector 120 is communicatively coupled across eitherC 112 orR 115 to receive a decreased magnitude, phase-shifted version of the periodic voltage waveform. Thephase shift detector 120 measures a phase shift φ_DIFF between the periodic voltage waveform and the decreased magnitude, phase-shifted version of the periodic voltage waveform. The decreased magnitude, phase-shifted version of the periodic voltage waveform is also referred to herein as “the output waveform.” It is noted that the output waveform, although shown in the figures as being sensed acrossC 112, may alternatively be sensed acrossR 115. - The
detection apparatus 100 further includes a phase shift tocapacitance translator 130 coupled to anoutput 132 of thephase shift detector 120. The phase shift tocapacitance translator 130 converts φ_DIFF to a first measure of C_TOUCH as C_TOUCH(φ_DIFF)=(tan φ_DIFF)/(2*π*ƒ*R). - Some embodiments of the
detection apparatus 100 also include anamplitude ratio detector 145. Afirst input 148 of theamplitude ratio detector 145 is coupled across theRC network 110 to receive the periodic voltage waveform. Asecond input 152 is communicatively coupled across eitherC 112 orR 115 to receive the decreased magnitude, phase-shifted version of the periodic voltage waveform. Theamplitude ratio detector 145 measures an amplitude of the periodic voltage waveform and an amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform. From these two amplitude values, theamplitude ratio detector 145 determines a ratio (“A_RATIO”) of the amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform to the amplitude of the periodic voltage waveform. - Embodiments of the capacitive
touch detection apparatus 100 which include theamplitude ratio detector 145 also include an amplitude ratio tocapacitance translator 160. The amplitude ratio tocapacitance translator 160 is coupled to theamplitude ratio detector 145 to convert A_RATIO to a second measure of C_TOUCH, “C_TOUCH(A_RATIO)”. The amplitude ratio tocapacitance translator 160 generates the second measure of C_TOUCH as C_TOUCH(A_RATIO)=[(1−A_RATIO**2)]**½/(2*π*ƒ*R*A_RATIO). - In some embodiments, the capacitive
touch detection apparatus 100 includes anamplifier 135 input-coupled across eitherC 112 orR 115, whichever the output waveform measurements are taken from. Anoutput 138 of theamplifier 135 is coupled to one or more of thesecond input 124 of thephase shift detector 120 and/or thesecond input 152 of the amplitude ratio detector. Theamplifier 135 reduces impedance loading ofC 112 orR 115 by thephase shift detector 120, theamplitude ratio detector 145, or both. - Some embodiments of the capacitive
touch detection apparatus 100 includeC_TOUCH validation logic 165. TheC_TOUCH validation logic 165 is coupled to the phase shift tocapacitance translator 130 and to the amplitude ratio tocapacitance translator 160 via 168 and 170, respectively. Theinputs C_TOUCH validation logic 165 receives one or more values of C_TOUCH(φ_DIFF) and/or one or more values of C_TOUCH(A_RATIO). Some embodiments of theC_TOUCH validation logic 165 determine one or more differences between the value(s) of C_TOUCH(φ_DIFF) and the value(s) of C_TOUCH(A_RATIO). The latter embodiments may determine whether the difference(s) are greater than a maximum selected difference (“C_TOUCH_MAX_DIFF”). Such embodiments of theC_TOUCH validation logic 165 may output a value of C_TOUCH termed “C_TOUCH_OUT” as a function of at least one of C_TOUCH(φ_DIFF) or C_TOUCH(A_RATIO) if the difference is less than or equal to C_TOUCH_MAX_DIFF. The latter embodiments may output an invalidity indication if the difference is greater than C_TOUCH_MAX_DIFF. Some embodiments of the capacitivetouch detection apparatus 100 may also include aregister 175 coupled to theC_TOUCH validation logic 165 to store the value of C_TOUCH_MAX_DIFF. -
FIG. 2 is a waveform diagram of an inputperiodic waveform 210 and a corresponding outputperiodic waveform 215 as generated by the various example embodiments disclosed herein. Theoutput waveform 215 is a decreased magnitude, phase-shifted version of the inputperiodic waveform 210. The various embodiments herein measure the phase difference φ_DIFF 220 between the input and 210 and 215, respectively. These embodiments determine instantaneous values of the variable capacitance C_TOUCH of a capacitive sensor as a function of φ_DIFF 220.output waveforms - Some embodiments also measure the magnitudes A_INPUT 230 and
A_OUTPUT 235 of the input and output 210 and 215, respectively. These embodiments determine instantaneous values of the variable capacitance C_TOUCH of a capacitive sensor as a function of a ratio ofperiodic waveforms A_OUTPUT 235 toA_INPUT 230. Although the measures ofA_INPUT 230 andA_OUTPUT 235 are shown as peak-to-peak values, some embodiments may measure the magnitudes of the input and 210 and 215 as zero-to-peak values or use other magnitude measurement points. As previously mentioned, although the periodic waveforms are shown in the example ofoutput waveforms FIG. 2 as sine waves, periodic waveforms of any shape may be implemented by the various embodiments, including triangular waveforms, square waveforms, etc. -
FIGS. 3 and 4 are schematic diagrams of capacitive 300 and 400, respectively, according to various example embodiments. Thetouch detection apparatus 300 and 400 will be described together to avoid repetitiveness as they are similar. Theapparatus apparatus 300 processes touch sensor signals initiated by a singleperiodic waveform generator 305A. Theapparatus 400 performs the same processing techniques as theapparatus 300 on signals initiated by any number N of waveform generators. It is noted, however, that for the sake of clarityFIG. 4 shows circuitry associated with two 305A and 305B as representative of circuitry associated with N waveform generators. Thus, the third through Nth copy of schematic diagram elements and/or signal names associated with a number of waveform generators greater than two referred to below are not shown onwaveform generators FIG. 4 . The 300 and 400 will be referred to below either individually as “apparatus apparatus 300” and “apparatus 400” or collectively as “apparatus 300/400.” - The capacitive
touch detection apparatus 300/400 includes one or more periodic waveform generators (e.g., the 305A and 305B) coupled across a series-connectedwaveform generators RC network 110. TheRC network 110 includes a capacitivetouch element C 112 of variable capacitance C_TOUCH and aresistor R 115. Values of C_TOUCH are a function of a proximity of a dielectric mass toC 112. Each of the periodic waveform generator(s) 305A, 305B . . . periodic waveform generator N generates a periodic voltage waveform of frequency F1, F2 . . . or FN of a known amplitude (“A_INPUT_F1”, “A_INPUT_F2” . . . or “A_INPUT_FN”, respectively) and a known phase value (“φ_INPUT_F1”, “φ_INPUT_F2” . . . or “φ_INPUT_FN”, respectively). A sum (“F_SUM”) of the periodic voltage waveforms is imposed across theRC network 110. In the case of theapparatus 300, F_SUM is equivalent to the single input periodic waveform generated by thesingle waveform generator 305A. - The capacitive
touch detection apparatus 300/400 also includes anADC 308 communicatively coupled across eitherC 112 orR 115. TheADC 308 receives and periodically samples a decreased magnitude, phase-shifted version of F_SUM appearing across C or R, whichever the output waveform measurements are taken from. TheADC 308 samples the decreased magnitude, phase-shifted version of F_SUM according to a first sampling periodicity associated with the periodic voltage waveform of frequency F1, a second sampling periodicity associated with the periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the periodic voltage waveform of frequency FN. TheADC 308 outputs a numerical magnitude value corresponding to each periodic sample. - Some embodiments of the capacitive
touch detection apparatus 300/400 also include one or more sample value table(s) 310, each sample value table 310 coupled to theADC 308. It is noted that although sample value tables(s) are not shown inFIG. 4 , some embodiments of theapparatus 400 may include sample value tables as described herein. Each sample value table stores a corresponding set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity. - The capacitive
touch detection apparatus 300/400 also includes DFT logicmodules DFT F1 312A,DFT F2 312B . . . DFT FN communicatively coupled to the ADC. Each 312A, 312B . . . DFT FN corresponds to aDFT logic module 305A, 305B . . . or periodic waveform generator FN. In some embodiments, theperiodic waveform generator 312A, 312B . . . DFT FN may be implemented as single bin (“SB”) DFTs. EachDFT logic modules 312A, 312B . . . DFT FN performs DFT operations on a set of numerical magnitude values sampled from one or more portions of a cycle of the decreased magnitude, phase-shifted version of the waveform F_SUM. Each set of sample values corresponds to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity. EachDFT logic module 312A, 312B . . . DFT FN generates a real numerical output value (“I_OUT_F1”, “I_OUT_F2” . . . or “I_OUT_FN”) and an imaginary numerical output value (“Q_OUT_F1”, “Q_OUT_F2” . . . or “Q_OUT_FN”) for each set of numerical magnitude sample values. If included in an embodiment of the capacitiveDFT logic module touch detection apparatus 300/400, each sample value table 310 is coupled to a corresponding DFT logic module to store a set of numerical magnitude values as input values to the corresponding DFT logic module. - Some embodiments of the capacitive
touch detection apparatus 300/400 also include a sampling clock (e.g., thesampling clock 315 ofFIG. 3 ) coupled to theADC 308 and communicatively coupled to the 305A, 305B . . . periodic waveform generator FN. The sampling clock (not shown onperiodic waveform generators FIG. 4 ) clocks the periodic samples into theADC 308. The sampling clock also synchronizes the 305A, 305B . . . periodic waveform generator FN to the sampling periodicities in order to provide accurate phase measurements between F_SUM and the decreased magnitude, phase-shifted version of F_SUM.periodic waveform generators - Some embodiments of the capacitive
touch detection apparatus 300/400 also include a clock divider circuit “÷M” (e.g., the ÷M circuit 318 ofFIG. 3 ). The ÷M circuit 318 lengthens the period of the sampling clock by an integer multiple M. Doing so by certain values of M such as the integer value four results in integer values in the sets of sample values generated by theADC 308. Receiving integer values may simplify DFT operations by limiting such operations to addition and subtraction and avoiding more processor-intensive multiplication and division operations. - The capacitive
touch detection apparatus 300/400 further includes one or more phase shift logic modules (e.g., the phaseshift logic module 322 ofFIG. 3 ). It is noted that components of each phase shift logic module associated with theapparatus 400 are shown inFIG. 4 and described below with reference to bothFIGS. 3 and 4 . However, for purposes of clarity, outlines and labels of the phase shift logic module blocks of theapparatus 400 are not shown inFIG. 4 . Each phase shift logic module is coupled to a 312A, 312B . . . or DFT FN of a corresponding frequency. Each phase shift logic module receives the I_OUT value and the Q_OUT value from the correspondingDFT logic module 312A, 312B . . . or DFT FN. Each phase shift logic module determines a phase shift (“φ_DIFF_F1”, “φ_DIFF_F2” . . . or “φ_DIFF_FN”) between the periodic voltage waveform of frequency F1, F2 . . . or FN and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN associated with the corresponding DFT logic module.DFT logic module - Each phase shift logic module of the
apparatus 300/400 includes an output phase calculator (e.g., the F1output phase calculator 325A and the F2output phase calculator 325B). Each output phase calculator is coupled to theDFT_F1 312A,DFT_F2 312B . . . or to the DFT_FN corresponding to the frequency of the output phase calculator. For example, the F1output phase calculator 325A is coupled to theDFT F1 312A. Each 325A, 325B . . . or FN output phase calculator determines an output phase value (“φ_OUTPUT_F1”, “_OUTPUT_F2” . . . or “_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. For example, the F1output phase calculator output phase calculator 325A determines φ_OUTPUT_F1 as equal to arctan 2(I_OUT_F1,Q_OUT_F1). The F2output phase calculator 325B determines φ_OUTPUT_F2 as equal to arctan 2(I_OUT_F2,Q_OUT_F2). The FN output phase calculator determines φ_OUTPUT_FN as equal to arctan 2(I_OUT_FN,Q_OUT_FN). - Each phase shift logic module of the
apparatus 300/400 also includes an F1input phase register 328A, an F2input phase register 328B . . . or FN input phase register. Each input phase register stores a known input phase value φ_INPUT_F1, φ_INPUT_F2 . . . or φ_INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN. - Each phase shift logic module of the
apparatus 300/400 also includes a phase shift calculator (e.g., the F1phase shift calculator 332A and the F2phase shift calculator 332B). Each phase shift calculator is coupled to an output phase calculator of a corresponding frequency and to an input phase register of the corresponding frequency. For example, the F1phase shift calculator 332A is coupled to the F1output phase calculator 325A and to the F1input phase register 328A. Each phase shift calculator determines the phase shift φ_DIFF_F1, φ_DIFF_F2 . . . or φ_DIFF_FN corresponding to the input and output waveforms of frequencies F1, F2 . . . and FN, respectively. For example, the F1phase shift calculator 332A determines φ_DIFF_F1 as equal to (φ_OUTPUT_F1)−(φ_INPUT_F1). The F2phase shift calculator 332B determines φ_DIFF_F2 as equal to (φ_OUTPUT_F2)−(φ_INPUT_F2). The FN phase shift calculator determines φ_DIFF_FN as equal to (φ_OUTPUT_FN)−(φ_INPUT_FN). - The capacitive
touch detection apparatus 300/400 includes one or more phase shift to capacitance translators (e.g., the F1 phase shift tocapacitance translator 130A and the F2 phase shift tocapacitance translator 130B). Each phase shift to capacitance translator is coupled to a corresponding phase shift logic module (e.g., the phase shift logic module 322) of a corresponding frequency. Each phase shift to 130A, 130B . . . FN phase shift to capacitance translator determines a potential value of C_TOUCH termed “C_TOUCH(φ_DIFF_F1)”, “C_TOUCH(φ_DIFF_F2)” . . . or “C_TOUCH(φ_DIFF_FN)”. Each C_TOUCH potential value C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . or C_TOUCH(φ_DIFF_FN) corresponds to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. For example, the F1 phase shift tocapacitance translator capacitance translator 130A determines C_TOUCH(φ_DIFF_F1) as equal to (tan φ_DIFF_F1)/(2*π*F1*R). The F2 phase shift tocapacitance translator 130B determines C_TOUCH(φ_DIFF_F2) as equal to (tan φ_DIFF_F2)/(2*π*F2*R). The FN phase shift to capacitance translator determines C_TOUCH(φ_DIFF_FN) as equal to (tan φ_DIFF_FN)/(2*π*FN*R). - Some embodiments of the capacitive
touch detection apparatus 300/400 also include one or more amplitude ratio logic modules (e.g., the amplituderatio logic module 340 ofFIG. 3 . It is noted that components of each amplitude ratio logic module associated with theapparatus 400 are shown inFIG. 4 and described below with reference to bothFIGS. 3 and 4 . However, for purposes of clarity, outlines and labels of the amplitude ratio logic module blocks of theapparatus 400 are not shown inFIG. 4 . Each amplitude ratio logic module is coupled to a DFT logic module of a corresponding frequency (e.g., the F1 amplitude ratio logic module is coupled to the DFTF1 logic module 312A and the F2 amplitude ratio logic module is coupled to the DFTF2 logic module 312B). Each amplitude ratio logic module receives the I_OUT value and the Q_OUT value from the corresponding DFT logic module and determines an amplitude ratio (“AR_F1”, AR_F2” . . . or “AR_FN”) of the decreased magnitude, phase-shifted version of the periodic voltage waveform associated with the corresponding DFT logic module to the periodic voltage waveform associated with the corresponding DFT logic module. - Each amplitude ratio logic module includes an output amplitude calculator (e.g., the F1
output amplitude calculator 344A and the F2output amplitude calculator 344B). Each output amplitude calculator is coupled to a DFT logic module of a corresponding frequency. For example, the F1output amplitude calculator 344A is coupled to the DFTF1 logic module 312A. Each output amplitude calculator determines an output amplitude value (“A_OUTPUT_F1”, “A_OUTPUT_F2” . . . or “A_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. For example, the F1output amplitude calculator 344A calculates A_OUTPUT_F1 as sqrt[(I_OUT_F1)**2+(Q_OUT_F1)**2]. The F2output amplitude calculator 344B calculates A_OUTPUT_F2 as sqrt[(I_OUT_F2)**2+(Q_OUT_F2)**2]. The FN output amplitude calculator calculates A_OUTPUT_FN as sqrt[(I_OUT_FN)**2+(Q_OUT_FN)**2]. - In some embodiments of the capacitive
touch detection apparatus 300/400 which include amplitude ratio logic module(s), each amplitude ratio logic module also includes an input amplitude register (e.g., the F1input amplitude register 348A and the F2input amplitude register 348B). Each input amplitude register stores the constant input amplitude value A_INPUT_F1, A_INPUT_F2 . . . or A_INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN. - Each amplitude ratio logic module also includes an amplitude ratio calculator (e.g., the F1
amplitude ratio calculator 352A and the F2amplitude ratio calculator 352B). Each amplitude ratio calculator is coupled to the an output amplitude calculator and to an input amplitude register of the corresponding frequency. For example, the F1amplitude ratio calculator 352A is coupled to the F1output amplitude calculator 344A and to the F1input amplitude register 348A. Each amplitude ratio calculator determines an amplitude ratio AR_F1, AR_F2 . . . or AR_FN of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN. For example, the F1amplitude ratio calculator 352A determines AR_F1 as equal to A_OUTPUT_F1/A_INPUT_F1. The F2amplitude ratio calculator 352B determines AR_F2 as equal to A_OUTPUT_F2/A_INPUT_F2. The FN amplitude ratio calculator determines AR_FN as equal to A_OUTPUT_FN/A_INPUT_FN. - Embodiments of the capacitive
touch detection apparatus 300/400 which include amplitude ratio logic module(s) also include one or more amplitude ratio to capacitance translators (e.g., the F1 amplitude ratio tocapacitance translator 160A and the F2 amplitude ratio tocapacitance translator 160B). Each amplitude ratio to capacitance translator is coupled to an amplitude ratio logic module (e.g., the amplitude ratio logic module 340) of a corresponding frequency. For example, the F1 amplitude ratio tocapacitance translator 160A is coupled to the F1 amplitude ratio logic module. Each amplitude ratio logic module determines a potential C_TOUCH capacitance value “C_TOUCH(AR_F1)”, “C_TOUCH(AR_F2)” . . . or “C_TOUCH(AR_FN)” corresponding to an amplitude ratio of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN. For example, the F1 amplitude ratio tocapacitance translator 160A determines C_TOUCH(AR_F1) as equal to [(1−AR_F1**2)]**½/(2*π*F1*R*AR_F1). The F2 amplitude ratio tocapacitance translator 160B determines C_TOUCH(AR_F2) as equal to [(1−AR_F2**2)]**½/(2*π*F2*R*AR_F2). The FN amplitude ratio to capacitance translator determines C_TOUCH(AR_FN) as equal to [(1−AR_FN**2)]**½/(2*π*FN*R*AR_FN). - Some embodiments of the capacitive
touch detection apparatus 300/400 includeC_TOUCH validation logic 165 as described above with respect to theapparatus 100. TheC_TOUCH validation logic 165 is coupled to the phase shift to capacitance translator(s) 130A, 130B . . . and to the Nth phase shift to capacitance translator. TheC_TOUCH validation logic 165 is also coupled to the amplitude ratio to capacitance translator(s) 160A, 160B . . . and to the Nth amplitude ratio to capacitance translator. TheC_TOUCH validation logic 165 receives one or more values of C_TOUCH(φ_DIFF) and/or one or more values of C_TOUCH(AR). - Some embodiments of the
C_TOUCH validation logic 165 compare two or more of the potential C_TOUCH values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN). The comparison operations determine whether a difference between the potential C_TOUCH values is greater than a selected value C_TOUCH_MAX_DIFFERENCE. These embodiments of theC_TOUCH validation logic 165 output a numerical average of the potential C_TOUCH values as C_TOUCH_OUT if the difference between the potential C_TOUCH values is not greater than the selected value C_TOUCH_MAX_DIFFERENCE. An invalidity flag C_TOUCH_MEASUREMENT_INVALID is output from theC_TOUCH validation logic 165 if the difference between the potential C_TOUCH values is greater than the selected value C_TOUCH_MAX_DIFFERENCE. Some embodiments of the capacitivetouch detection apparatus 300/400 also include aregister 175 coupled to theC_TOUCH validation logic 165. Theregister 175 contains the selected value C_TOUCH_MAX_DIFFERENCE. - Some embodiment of the capacitive
touch detection apparatus 300/400 perform weighted averaging operations on the potential C_TOUCH values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN). Such embodiments output a weighted average of the potential C_TOUCH values as C_TOUCH_OUT. Some such embodiments may output averages of the potential C_TOUCH values as C_TOUCH_OUT without regard to differences between the potential C_TOUCH values. -
FIG. 5 is a frequency plot illustrating a filtering effect associated with the capacitivetouch detection apparatus 300/400 according to various example embodiments. The DFT embodiments illustrated by theexample apparatus 300/400 have the advantage of creating a narrow-band filter 510 around thewaveform generator frequency 515. The narrow-band filter 510 excludes previously-discussed EMI frequency components (e.g., theEMI components 520 and 525) occurring outside of the narrow-band filter 510 associated with thewaveform generator frequency 515. However, the frequencies of the EMI components may quickly change position over time. - The
apparatus 400 may overcome this problem by implementing two or more periodic waveform generators, each of a different frequency. Theapparatus 400 may use capacitance values determined from measurements utilizing a waveform generator frequency not subject to unacceptable levels of EMI frequency components at the time of a particular instantaneous touch element capacitance measurement. Some embodiments of the capacitivetouch detection apparatus 300 may perform a similar function by changing the frequency of the single periodic waveform generator when capacitance measurements are deemed unreliable by theC_TOUCH validation logic 165. However, a subsequent C_TOUCH measurement at a different frequency may be subject to one or more EMI frequency components having moved to the new waveform generator frequency by the time the subsequent C_TOUCH measurement is made. -
FIGS. 6A-6C are a flow diagram illustrating anexample method 600 of capacitive touch detection according to various example activities. Themethod 600 commences atblock 605 with generating one or more periodic waveforms. Each periodic waveform is of a frequency F1, F2 . . . or FN, of a known phase value φ_INPUT_F1, φ_INPUT_F2 . . . or φ_INPUT_FN and of a known amplitude A_INPUT_F1, A_INPUT_F2 . . . or A_INPUT_FN. - The
method 600 continues atblock 610 with imposing a sum (“F_SUM”) of the periodic voltage waveforms across a series-connected RC network. The RC network includes a capacitive touch element C of variable capacitance C_TOUCH and a resistor R. The parameter C_TOUCH is a function of a proximity of a dielectric mass to C. - The
method 600 includes periodically sampling a decreased magnitude, phase-shifted version of F_SUM appearing across either C or R, atblock 615. The decreased magnitude, phase-shifted version of F_SUM is sampled according to a first sampling periodicity associated with the input periodic voltage waveform of frequency F1, a second sampling periodicity associated with the input periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the input periodic voltage waveform of frequency FN. - The
method 600 also includes performing DFT operations on a set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity from one or more portions of a cycle of the decreased magnitude, phase-shifted version of F_SUM, atblock 620. Themethod 600 further includes generating a real numerical output value I_OUT_F1, I_OUT_F2 . . . or I_OUT_FN and an imaginary numerical output value Q_OUT_F1, Q_OUT_F2 . . . or Q_OUT_FN from the DFT operations for each set of numerical magnitude sample values, atblock 625. - The
method 600 continues atblock 628 with determining an output phase value φ_OUTPUT_F1, φ_OUTPUT_F2 . . . or φ_OUTPUT_FN. The output phase value is associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. The output phase value is calculated as φ_OUTPUT_F1=arctan 2(I_OUT_F1,Q_OUT_F1), φ_OUTPUT_F2=arctan 2(I_OUT_F2,Q_OUT_F2) . . . and φ_OUTPUT_FN=arctan 2(I_OUT_FN,Q_OUT_FN1), respectively. - The
method 600 also includes determining a phase shift φ_DIFF_F1, φ_DIFF_F2 . . . or φ_DIFF_FN between the periodic voltage waveform of frequency F1, F2 . . . or FN and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN, atblock 633. The phase shift is calculated as φ_DIFF_F1=(φ_OUTPUT_F1)−(φ_INPUT_F1), φ_DIFF_F2=(φ_OUTPUT_F2)−(φ_INPUT_F2), and φ_DIFF_FN=(φ_OUTPUT_FN)−(φ_INPUT_FN), respectively. - The
method 600 further includes determining a potential value of C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . or C_TOUCH(φ_DIFF_FN), atblock 638. The potential value of C_TOUCH corresponds to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. The potential values of C_TOUCH are calculated as C_TOUCH(φ_DIFF_F1)=(tan φ_DIFF_F1)/(2*π*F1*R), C_TOUCH(φ_DIFF_F2)=(tan φ_DIFF_F2)/(2*π*F2*R) . . . and C_TOUCH(φ_DIFF_FN)=(tan φ_DIFF_FN)/(2*π*FN*R), respectively. - The
method 600 continues atblock 640 with determining an output amplitude value A_OUTPUT_F1, A_OUTPUT_F2 . . . or A_OUTPUT_FN associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN. The output amplitude values are calculated as A_OUTPUT_F1=sqrt[(I_OUT_F1)**2+(Q_OUT_F1)**2], A_OUTPUT_F2=sqrt[(I_OUT_F2)**2+(Q_OUT_F2)**2] . . . and A_OUTPUT_FN=sqrt[(I_OUT_FN)**2+(Q_OUT_FN)**2], respectively; - The
method 600 includes determining an amplitude ratio AR_F1, AR_F2 . . . or AR_FN of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN. The amplitude ratios are calculated as AR_F1=A_OUTPUT_F1/A_INPUT_F1, AR_F2=A_OUTPUT_F2/A_INPUT_F2 . . . and AR_FN=A_OUTPUT_FN/A_INPUT_FN, respectively. - The
method 600 also includes determining a potential value of C_TOUCH, C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . or C_TOUCH(AR_FN), atblock 650. The potential value of C_TOUCH corresponds to the amplitude ratio of the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN. The potential values of C_TOUCH are calculated as C_TOUCH(AR_F1)=[(1−AR_F1**2)]**½/(2*π*F1*R*AR_F1), C_TOUCH(AR_F2)=[(1−AR_F2**2)]**½/(2*π*F2*R*AR_F2) . . . and C_TOUCH(AR_FN)=[(1−AR_FN**2)]**½/(2*π*FN*R*AR_FN), respectively. - The
method 600 further includes comparing two or more of the potential values of C_TOUCH, C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN), atblock 655. Themethod 600 continues atblock 660 with determining whether a difference between the potential values of C_TOUCH is greater than a selected value C_TOUCH_MAX_DIFFERENCE. Themethod 600 includes generating a numerical average of the potential values of C_TOUCH as C_TOUCH_OUT if a difference between the potential values of C_TOUCH is not greater than the selected value C_TOUCH_MAX_DIFFERENCE, atblock 665. Themethod 600 also includes generating an invalidity flag C_TOUCH_MEASUREMENT_INVALID if a difference between the potential values of C_TOUCH is greater than the selected value C_TOUCH_MAX_DIFFERENCE, atblock 670. - In some example sequences, the
method 600 includes performing weighted averaging operations on the C_TOUCH potential values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN), atblock 675. The weighted averaging operations may be performed without regard to differences between the potential values of C_TOUCH. Themethod 600 may, in such case, include generating a weighted average of the potential values of C_TOUCH as C_TOUCH_OUT, atblock 680. - Methods and apparatus described herein may be useful in applications other than capacitive touch sensor detection. The
100, 300, and 400 and theapparatus method 600 are intended to provide a general understanding of the sequences of various methods and the structures of various embodiments. They are not intended to serve as complete descriptions of all elements and features of methods, apparatus and systems that might make use of these example sequences and structures. - The various embodiments may be incorporated into semiconductor analog and digital circuits for use in receptacle power converters, electronic circuitry used in computers, communication and signal processing circuitry, single-processor or multi-processor modules, single or multiple embedded processors, multi-core processors, data switches, and application-specific modules including multi-layer, multi-chip modules, among others. Such apparatus and systems may further be included as sub-components within a variety of electronic systems such as robotics, medical devices (e.g., heart monitor, blood pressure monitor, etc.), motor vehicles, televisions, cellular telephones, personal computers (e.g., laptop computers, desktop computers, handheld computers, tablet computers, etc.), workstations, radios, video players, audio players (e.g., MP3 (Motion Picture Experts Group, Audio Layer 3) players), set top boxes, household appliances and others.
- Methods and structures disclosed herein sense and measure capacitance variations from capacitive touch sensors by measuring phase shifts between sensor input and output signals. Phase shifts and amplitude ratio variations may be measured via apparatus and methods including DFT operations that filter EMI frequency components from the touch sensor signals. Sensor capacitance variations obtained from combinations of multi-frequency sensor signals, sensor input/output phase shifts and input/output signal magnitude ratio measurements may be compared to determine their validity. These structures and methods improve the sensitivity of capacitive sensor systems, including the unexpected result that capacitance variations down to single-digit femto-farads may be reliably sensed.
- By way of illustration and not of limitation, the accompanying figures show specific aspects in which the subject matter may be practiced. It is noted that arrows at one or both ends of connecting lines are intended to show the general direction of electrical current flow, data flow, logic flow, etc. Connector line arrows are not intended to limit such flows to a particular direction such as to preclude any flow in an opposite direction. The aspects illustrated are described in sufficient detail to enable those skilled in the art to practice the teachings disclosed herein. Other aspects may be used and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. This Detailed Description, therefore, is not to be taken in a limiting sense. The breadth of various aspects is defined by the appended claims and the full range of equivalents to which such claims are entitled.
- Such aspects of the inventive subject matter may be referred to herein individually or collectively by the term “invention” merely for convenience and without intending to voluntarily limit this application to any single invention or inventive concept, if more than one is in fact disclosed. Thus, although specific aspects have been illustrated and described herein, any arrangement calculated to achieve the same purpose may be substituted for the specific aspects shown. This disclosure is intended to cover any and all adaptations or variations of various aspects.
- The Abstract of the Disclosure is provided to comply with 37 C.F.R. §1.72(b) requiring an abstract that will allow the reader to quickly ascertain the nature of the technical disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In the preceding Detailed Description, various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted to require more features than are expressly recited in each claim. Rather, inventive subject matter may be found in less than all features of a single disclosed embodiment. The following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.
Claims (20)
1. A capacitive touch detection apparatus, comprising:
a periodic waveform generator coupled across a series-connected resistive-capacitive (“RC”) network, the RC network to include a capacitive touch element C of variable capacitance C_TOUCH and a resistor R, C_TOUCH being a function of a proximity of a dielectric mass to C, the periodic waveform generator to generate a periodic voltage waveform of frequency F and to impose the periodic voltage waveform across the RC network;
a phase shift detector with a first input coupled across the RC network to receive the periodic voltage waveform and a second input communicatively coupled across a selected one of C or R to receive a decreased magnitude, phase-shifted version of the periodic voltage waveform appearing across the selected one of C or R, the phase shift detector to measure a phase shift φ_DIFF between the periodic voltage waveform and the decreased magnitude, phase-shifted version of the periodic voltage waveform; and
a phase shift to capacitance translator coupled to an output of the phase shift detector to convert φ_DIFF to a first measure of C_TOUCH based upon φ_DIFF (“C_TOUCH(φ_DIFF)”) as C_TOUCH(φ_DIFF)=(tan φ_DIFF)/(2*π*ƒ*R).
2. The capacitive touch detection apparatus of claim 1 , the periodic waveform generator selected from one of a sine wave generator, a triangular wave generator, a square wave generator, and a pulse wave generator.
3. The capacitive touch detection apparatus of claim 1 , further comprising:
an amplitude ratio detector with a first input coupled across the RC network to receive the periodic voltage waveform and a second input communicatively coupled across the selected one of C or R to receive the decreased magnitude, phase-shifted version of the periodic voltage waveform, the amplitude ratio detector to measure an amplitude of the periodic voltage waveform and an amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform and to determine a ratio (“A_RATIO”) of the amplitude of the decreased magnitude, phase-shifted version of the periodic voltage waveform to the amplitude of the periodic voltage waveform.
4. The capacitive touch detection apparatus of claim 3 , further comprising:
an amplitude ratio to capacitance translator coupled to the amplitude ratio detector to convert A_RATIO to a second measure of C_TOUCH based upon A_RATIO (“C_TOUCH(A_RATIO)”) as C_TOUCH(A_RATIO)=[(1−A_RATIO**2)]**½/(2*π*ƒ*R*A_RATIO).
5. The capacitive touch detection apparatus of claim 3 , further comprising:
an amplifier input-coupled across the selected one of C or R, an output of the amplifier coupled to at least one of the second input of the phase shift detector or the second input of the amplitude ratio detector, the amplifier to reduce impedance loading of the selected one of C or R by the phase shift detector, the amplitude ratio detector, or both.
6. The capacitive touch detection apparatus of claim 5 , further comprising:
C_TOUCH validation logic coupled to the phase shift to capacitance translator and to the amplitude ratio to capacitance translator to receive C_TOUCH(φ_DIFF) and C_TOUCH(A_RATIO), to determine a difference between C_TOUCH(φ_DIFF) and C_TOUCH(A_RATIO), to determine whether the difference is greater than a maximum selected difference (“C_TOUCH_MAX_DIFF”), to output a value of C_TOUCH (“C_TOUCH_OUT) as a function of at least one of C_TOUCH(φ_DIFF) or C_TOUCH(A_RATIO) if the difference is less than or equal to C_TOUCH_MAX_DIFF, and to output an invalidity indication if the difference is greater than C_TOUCH_MAX_DIFF; and
a register coupled to the C_TOUCH validation logic to store the value of C_TOUCH_MAX_DIFF.
7. A capacitive touch detection apparatus, comprising:
at least one periodic waveform generator coupled across a series-connected resistive-capacitive (“RC”) network, the RC network to include a capacitive touch element C of variable capacitance C_TOUCH and a resistor R, C_TOUCH being a function of a proximity of a dielectric mass to C, each periodic waveform generator to generate a periodic voltage waveform of frequency F1, F2 . . . or FN of a known amplitude (“A_INPUT_F1”, “A_INPUT_F2” . . . or “A_INPUT_FN”) and a known phase value (“φ_INPUT_F1”, “φ_INPUT_F2” . . . or “φ_INPUT_FN”) and to impose a sum (“F_SUM”) of the periodic voltage waveforms across the RC network;
an analog-to-digital converter (“ADC”) communicatively coupled across a selected one of C or R to receive and to periodically sample a decreased magnitude, phase-shifted version of F_SUM appearing across the selected one of C or R according to a first sampling periodicity associated with the periodic voltage waveform of frequency F1, a second sampling periodicity associated with the periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the periodic voltage waveform of frequency FN and to output a numerical magnitude value corresponding to each periodic sample;
a discrete Fourier transform (“DFT”) logic module corresponding to each periodic waveform generator communicatively coupled to the ADC, each DFT logic module to perform DFT operations on a set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity from at least a portion of a cycle of the decreased magnitude, phase-shifted version of F_SUM, each DFT logic module to generate a real numerical output value (“I_OUT_F1”, “I_OUT_F2” . . . or “I_OUT_FN”) and an imaginary numerical output value (“Q_OUT_F1”, “Q_OUT_F2” . . . or “Q_OUT_FN”) for each set of numerical magnitude sample values;
at least one phase shift logic module, each phase shift logic module coupled to a corresponding DFT logic module to receive the I_OUT value and the Q_OUT value from the corresponding DFT logic module and to determine a phase shift (“φ_DIFF_F1”, “φ_DIFF_F2” . . . or “φ_DIFF_FN”) between the periodic voltage waveform of frequency F1, F2 . . . or FN associated with the corresponding DFT logic module and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN associated with the corresponding DFT logic module; and
at least one phase shift to capacitance translator, each phase shift to capacitance translator coupled to a corresponding phase shift logic module to determine a potential value of C_TOUCH “C_TOUCH(φ_DIFF_F1)”, “C_TOUCH(φ_DIFF_F2)” . . . or “C_TOUCH(φ_DIFF_FN)” corresponding to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as C_TOUCH(φ_DIFF_F1)=(tan φ_DIFF_F1)/(2*π*F1*R), C_TOUCH(φ_DIFF_F2)=(tan φ_DIFF_F2)/(2*π*F2*R) . . . and C_TOUCH(φ_DIFF_FN)=(tan φ_DIFF_FN)/(2*π*FN*R), respectively.
8. The capacitive touch detection apparatus of claim 7 , each DFT logic module a single bin (“SB”) DFT logic module.
9. The capacitive touch detection apparatus of claim 7 , further comprising:
at least one sample value table, each sample value table coupled to the ADC to store a corresponding set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity.
10. The capacitive touch detection apparatus of claim 7 , each phase shift logic module further comprising:
an output phase calculator to determine an output phase value (“φ_OUTPUT_F1”, “φ_OUTPUT_F2” . . . or “φ_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as φ_OUTPUT_F1=arctan 2(I_OUT_F1,Q_OUT_F1), φ_OUTPUT_F2=arctan 2(I_OUT_F2,Q_OUT_F2) . . . and φ_OUTPUT_FN=arctan 2(I_OUT_FN,Q_OUT_FN1), respectively;
an input phase register to store the known input phase value φ_INPUT_F1, φ_INPUT_F2 . . . or φ_INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN; and
a phase shift calculator coupled to the output phase calculator and to the input phase register to calculate the phase shift φ_DIFF_F1, φ_DIFF_F2 . . . or φ_DIFF_FN as φ_DIFF_F1=(φ_OUTPUT_F1)−(φ_INPUT_F1), φ_DIFF_F2=(φ_OUTPUT_F2)−(φ_INPUT_F2), and φ_DIFF_FN=(φ_OUTPUT_FN)−(φ_INPUT_FN), respectively.
11. The capacitive touch detection apparatus of claim 7 , further comprising:
C_TOUCH validation logic coupled to each phase shift to capacitance translator to compare at least two of the potential values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . and C_TOUCH(φ_DIFF_FN), to determine whether a difference between the potential values of C_TOUCH is greater than a selected value C_TOUCH_MAX_DIFFERENCE, to output a numerical average of the potential values of C_TOUCH as C_TOUCH_OUT if the difference between the potential values of C_TOUCH is not greater than the selected value C_TOUCH_MAX_DIFFERENCE, and to output an invalidity flag C_TOUCH_MEASUREMENT_INVALID if the difference between the potential values of C_TOUCH is greater than the selected value C_TOUCH_MAX_DIFFERENCE; and
a register coupled to the C_TOUCH validation logic to contain the selected value C_TOUCH_MAX_DIFFERENCE.
12. The capacitive touch detection apparatus of claim 7 , further comprising:
at least one amplitude ratio logic module, each amplitude ratio logic module coupled to a corresponding DFT logic module to receive the I_OUT value and the Q_OUT value from the corresponding DFT logic module and to determine an amplitude ratio (“AR_F1”, AR_F2” . . . or “AR_FN”) of the decreased magnitude, phase-shifted version of the periodic voltage waveform associated with the corresponding DFT logic module to the periodic voltage waveform associated with the corresponding DFT logic module; and
at least one amplitude ratio to capacitance translator coupled to a corresponding amplitude ratio logic module to determine a potential value of C_TOUCH “C_TOUCH(AR_F1)”, “C_TOUCH(AR_F2)” . . . or “C_TOUCH(AR_FN)” corresponding to an amplitude ratio of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN as C_TOUCH(AR_F1)=[(1−AR_F1**2)]**½/(2*π*F1*R*AR_F1), C_TOUCH(AR_F2)=[(1−AR_F2**2)]**½/(2*π*F2*R*AR_F2) . . . and C_TOUCH(AR_FN)=[(1−AR_FN**2)]**½/(2*π*FN*R*AR_FN), respectively.
13. The capacitive touch detection apparatus of claim 12 , each amplitude ratio logic module further comprising:
an output amplitude calculator to determine an output amplitude value (“A_OUTPUT_F1”, “A_OUTPUT_F2” . . . or “A_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as A_OUTPUT_F1=sqrt[(I_OUT_F1)**2+(Q_OUT_F1)**2], A_OUTPUT_F2=sqrt[(I_OUT_F2)**2+(Q_OUT_F2)**2] . . . and A_OUTPUT_FN=sqrt[(I_OUT_FN)**2+(Q_OUT_FN)**2], respectively;
an input amplitude register to store the constant input amplitude value A_INPUT_F1, A_INPUT_F2 . . . or A_INPUT_FN associated with the corresponding periodic voltage waveform of frequency F1, F2 . . . or FN; and
an amplitude ratio calculator coupled to the output amplitude calculator and to the input amplitude register to determine an amplitude ratio (“AR_F1”, “AR_F2” . . . or “AR_FN”) of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN as AR_F=A_OUTPUT_F1/A_INPUT_F1, AR_F2=A_OUTPUT_F2/A_INPUT_F2 . . . and AR_FN=A_OUTPUT_FN/A_INPUT_FN, respectively.
14. The capacitive touch detection apparatus of claim 12 , further comprising:
C_TOUCH validation logic coupled to each phase shift to capacitance translator and to each amplitude ratio to capacitance translator to compare at least two of the potential C_TOUCH values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN), to determine whether a difference between the potential C_TOUCH values is greater than a selected value C_TOUCH_MAX_DIFFERENCE, to output a numerical average of the potential C_TOUCH values as C_TOUCH_OUT if the difference between the potential C_TOUCH values is not greater than the selected value C_TOUCH_MAX_DIFFERENCE, and to output an invalidity flag C_TOUCH_MEASUREMENT_INVALID if the difference between the potential C_TOUCH values is greater than the selected value C_TOUCH_MAX_DIFFERENCE; and
a register coupled to the C_TOUCH validation logic to contain the selected value C_TOUCH_MAX_DIFFERENCE.
15. The capacitive touch detection apparatus of claim 12 , further comprising:
C_TOUCH validation logic coupled to each phase shift to capacitance translator and to each amplitude ratio to capacitance translator to perform weighted averaging operations on the potential C_TOUCH values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN) and to output a weighted average of the potential C_TOUCH values as C_TOUCH_OUT.
16. A method of capacitive touch detection, comprising:
imposing a sum (“F_SUM”) of at least one input periodic voltage waveform of frequency F1, F2 . . . FN of a known amplitude (“A_INPUT_F1”, “A_INPUT_F2” . . . or “A_INPUT_FN”) and known phase value (“φ_INPUT_F1”, “φ_INPUT_F2” . . . or “φ_INPUT_FN”) across a series-connected resistive-capacitive (“RC”) network, the RC network to include a capacitive touch element C of variable capacitance C_TOUCH and a resistor R, C_TOUCH a function of a proximity of a dielectric mass to C;
periodically sampling a decreased magnitude, phase-shifted version of F_SUM appearing across a selected one of C or R according to a first sampling periodicity associated with the input periodic voltage waveform of frequency F1, a second sampling periodicity associated with the input periodic voltage waveform of frequency F2 . . . and an Nth sampling periodicity associated with the input periodic voltage waveform of frequency FN;
performing discrete Fourier transform (“DFT”) operations on a set of numerical magnitude values sampled according to the first sampling periodicity, the second sampling periodicity . . . or the Nth sampling periodicity from at least a portion of a cycle of the decreased magnitude, phase-shifted version of F_SUM;
generating a real numerical output value (“I_OUT_F1”, “I_OUT_F2” . . . or “I_OUT_FN”) and an imaginary numerical output value (“Q_OUT_F1”, “Q_OUT_F2” . . . or “Q_OUT_FN”) from the DFT operations for each set of numerical magnitude sample values;
determining a phase shift (“φ_DIFF_F1”, “φ_DIFF_F2” . . . or “φ_DIFF_FN”) between the periodic voltage waveform of frequency F1, F2 . . . or FN and the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN; and
determining a potential value of C_TOUCH “C_TOUCH(φ_DIFF_F1)”, “C_TOUCH(φ_DIFF_F2)” . . . or “C_TOUCH(φ_DIFF_FN)” corresponding to the phase shift between the periodic voltage waveform of frequency F1, F2 . . . or FN and the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as C_TOUCH(φ_DIFF_F1)=(tan φ_DIFF_F1)/(2*π*F1*R), C_TOUCH(φ_DIFF_F2)=(tan φ_DIFF_F2)/(2*π*F2*R) . . . and C_TOUCH(φ_DIFF_FN)=(tan φ_DIFF_FN)/(2*π*FN*R), respectively.
17. The method of capacitive touch detection of claim 16 , further comprising:
determining an output phase value (“φ_OUTPUT_F1”, “φ_OUTPUT_F2” . . . or “φ_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as φ_OUTPUT_F1=arctan 2(I_OUT_F1,Q_OUT_F1), φ_OUTPUT_F2=arctan 2(I_OUT_F2,Q_OUT_F2) . . . and φ_OUTPUT_FN=arctan 2(I_OUT_FN,Q_OUT_FN1), respectively; and
calculating the phase shift φ_DIFF_F1, φ_DIFF_F2 . . . or φ_DIFF_FN as φ_DIFF_F1=(φ_OUTPUT_F1)−(φ_INPUT_F1), φ_DIFF_F2=(φ_OUTPUT_F2)−(φ_INPUT_F2), and φ_DIFF_FN=(φ_OUTPUT_FN)−(φ_INPUT_FN), respectively.
18. The method of capacitive touch detection of claim 16 , further comprising:
determining an output amplitude value (“A_OUTPUT_F1”, “A_OUTPUT_F2” . . . or “A_OUTPUT_FN”) associated with a corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN as A_OUTPUT_F1=sqrt[(I_OUT_F1)**2+(Q_OUT_F1)**2], A_OUTPUT_F2=sqrt[(I_OUT_F2)**2+(Q_OUT_F2)**2] . . . and A_OUTPUT_FN=sqrt[(I_OUT_FN)**2+(Q_OUT_FN)**2], respectively;
determining an amplitude ratio (“AR_F1”, “AR_F2” . . . or “AR_FN”) of the corresponding decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN as AR_F1=A_OUTPUT_F1/A_INPUT_F1, AR_F2=A_OUTPUT_F2/A_INPUT_F2 . . . and AR_FN=A_OUTPUT_FN/A_INPUT_FN, respectively; and
determining a potential value of C_TOUCH “C_TOUCH(AR_F1)”, “C_TOUCH(AR_F2)” . . . or “C_TOUCH(AR_FN)” corresponding to the amplitude ratio of the decreased magnitude, phase-shifted version of the periodic voltage waveform of frequency F1, F2 . . . or FN to the periodic voltage waveform of frequency F1, F2 . . . or FN as C_TOUCH(AR_F1)=[(1−AR_F1**2)]**½/(2*π*F1*R*AR_F1), C_TOUCH(AR_F2)=[(1−AR_F2**2)]**½/(2*π*F2*R*AR_F2) . . . and C_TOUCH(AR_FN)=[(1−AR_FN**2)]**½/(2*π*FN*R*AR_FN), respectively.
19. The method of capacitive touch detection of claim 18 , further comprising:
comparing at least two of the C_TOUCH potential values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN) to determine whether a difference between the potential values of C_TOUCH is greater than a selected value C_TOUCH_MAX_DIFFERENCE;
generating a numerical average of the potential values of C_TOUCH as C_TOUCH_OUT if the difference between the potential values of C_TOUCH is not greater than the selected value C_TOUCH_MAX_DIFFERENCE; and
generating an invalidity flag C_TOUCH_MEASUREMENT_INVALID if the difference between the potential values of C_TOUCH is greater than the selected value C_TOUCH_MAX_DIFFERENCE.
20. The method of capacitive touch detection of claim 18 , further comprising:
performing weighted averaging operations on the C_TOUCH potential values C_TOUCH(φ_DIFF_F1), C_TOUCH(φ_DIFF_F2) . . . C_TOUCH(φ_DIFF_FN), C_TOUCH(AR_F1), C_TOUCH(AR_F2) . . . and C_TOUCH(AR_FN); and
generating a weighted average of the potential values of C_TOUCH as C_TOUCH_OUT.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/345,281 US20170075497A1 (en) | 2013-07-19 | 2016-11-07 | Capacitive sensing apparatus and methods |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201361856335P | 2013-07-19 | 2013-07-19 | |
| US201361877760P | 2013-09-13 | 2013-09-13 | |
| US14/300,757 US9489093B2 (en) | 2013-07-19 | 2014-06-10 | Capacitive sensing apparatus and methods |
| US15/345,281 US20170075497A1 (en) | 2013-07-19 | 2016-11-07 | Capacitive sensing apparatus and methods |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/300,757 Continuation US9489093B2 (en) | 2013-07-19 | 2014-06-10 | Capacitive sensing apparatus and methods |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US20170075497A1 true US20170075497A1 (en) | 2017-03-16 |
Family
ID=52343199
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/300,757 Active 2034-06-23 US9489093B2 (en) | 2013-07-19 | 2014-06-10 | Capacitive sensing apparatus and methods |
| US15/345,281 Abandoned US20170075497A1 (en) | 2013-07-19 | 2016-11-07 | Capacitive sensing apparatus and methods |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/300,757 Active 2034-06-23 US9489093B2 (en) | 2013-07-19 | 2014-06-10 | Capacitive sensing apparatus and methods |
Country Status (1)
| Country | Link |
|---|---|
| US (2) | US9489093B2 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11402945B2 (en) | 2014-12-09 | 2022-08-02 | Seung-Hee Han | Touch sensing method and touch sensing device based on driving and sensing signals |
| US20180121011A1 (en) * | 2016-10-31 | 2018-05-03 | iGlass Technology, Inc. | Electrochromic touchscreen device |
| WO2018132110A1 (en) * | 2017-01-15 | 2018-07-19 | Ecosense Lighting Inc. | Lighting systems, and systems for determining periodic values of a phase angle of a waveform power input |
| CN107479776B (en) * | 2017-08-03 | 2020-07-24 | 京东方科技集团股份有限公司 | Pressure-sensing detection circuit and driving method thereof, and electronic device |
| US10483850B1 (en) | 2017-09-18 | 2019-11-19 | Ecosense Lighting Inc. | Universal input-voltage-compatible switched-mode power supply |
| KR102159067B1 (en) * | 2018-09-06 | 2020-09-23 | 주식회사 하이딥 | Touch sensor panel driving method and touch input apparatus |
| US10936119B2 (en) * | 2019-03-05 | 2021-03-02 | Stmicroelectronics Asia Pacific Pte Ltd | Self capacitance sensing based on tangent of phase shift of drive signal |
| US12164730B2 (en) * | 2021-11-19 | 2024-12-10 | Alps Alpine Co., Ltd. | Human body sensor system using signal phase shift |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI447625B (en) * | 2009-09-14 | 2014-08-01 | Au Optronics Corp | Capacitive touch detection system and detection signal receiving and waveform shaping module |
| DE102009051233B4 (en) * | 2009-10-29 | 2017-11-16 | Texas Instruments Deutschland Gmbh | Electronic device and method for impedance measurement |
| CN103116424A (en) | 2011-11-16 | 2013-05-22 | 飞思卡尔半导体公司 | Touch tablet capacitance-type sensor circuit |
-
2014
- 2014-06-10 US US14/300,757 patent/US9489093B2/en active Active
-
2016
- 2016-11-07 US US15/345,281 patent/US20170075497A1/en not_active Abandoned
Also Published As
| Publication number | Publication date |
|---|---|
| US20150022489A1 (en) | 2015-01-22 |
| US9489093B2 (en) | 2016-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9489093B2 (en) | Capacitive sensing apparatus and methods | |
| CN107561367B (en) | Wide-spectrum impedance measurement method based on compressed sensing theory | |
| CN102288821B (en) | Measuring method and measuring device for phase difference of three-phase circuit | |
| CN103616652B (en) | Error measurement method, system and application for capacitive voltage divider | |
| Malik et al. | AN-C2V: an auto-nulling bridge-based signal conditioning circuit for leaky capacitive sensors | |
| CN103487662A (en) | Capacitance detection circuit | |
| CN105974203B (en) | A kind of micro capacitance method and device | |
| TWI507952B (en) | Touch control system and capacitance detecting apparatus thereof | |
| CN102467305B (en) | Electronic device with capacitive sensing circuit carrying phase information and method thereof | |
| JP5502945B2 (en) | Touch panel control system and control method thereof | |
| CN114252837B (en) | High-precision equal sampling system and method for harmonic measurement of digital power meter | |
| KR101203041B1 (en) | Method of measuring an amplitude of a sinusoidal wave using a phase difference and apparatus thereof | |
| US20110140689A1 (en) | Signal amplitude adjustment to improve resolver-to-digital converter performance | |
| US9766759B2 (en) | Mutual capacitance touch sensing device and its sine wave measuring method | |
| CN103837748B (en) | Touch-control system and its electric capacity amount detecting device | |
| CN202257533U (en) | Control circuit of touch panel | |
| Tiwari et al. | Improved dual measurement system based on SDFT-FLL with high accuracy | |
| Lou et al. | High-precision Digital Phase Discriminator Based on Adaptive Sampling | |
| Shin et al. | An efficient, wide range time-to-digital converter using cascaded time-interpolation stages for electrical impedance spectroscopy | |
| CN111736016B (en) | Alternating current transmission characteristic detection circuit | |
| US11719663B2 (en) | Measuring apparatus | |
| JP5632398B2 (en) | Apparatus and method for digitizing impedance | |
| RU2470312C2 (en) | Phase meter with heterodyne frequency conversion | |
| US12345749B2 (en) | Device and method for measuring of the complex transfer function of an object | |
| Setiawan et al. | Design and Implementation of an Fpga-Based Direct Digital Synthesis Signal Generation for Radar Applications |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
| AS | Assignment |
Owner name: TEXAS INSTRUMENTS INCORPORATED, TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TEXAS INSTRUMENTS DEUTSCHLAND GMBH;REEL/FRAME:055314/0255 Effective date: 20210215 Owner name: TEXAS INSTRUMENTS INCORPORATED, TEXAS Free format text: ASSIGNMENT OF ASSIGNOR'S INTEREST;ASSIGNOR:TEXAS INSTRUMENTS DEUTSCHLAND GMBH;REEL/FRAME:055314/0255 Effective date: 20210215 |