This application claims priority to Taiwan Patent Application No. 105106266, filed Mar. 2, 2016, and incorporated herein by reference in its entirety.
1. Field of the Invention
The present invention relates to a touch detection method, and more particularly, a touch detection method of a touch detection device used to perform calibration.
2. Description of the Prior Art
Presently, a touch detection device determines whether a touch event has been triggered by charging a capacitor with an output signal, and then receiving an input signal corresponding to the discharge from the capacitor. In order to charge and discharge the capacitor, the mentioned output signal and input signal should be digital signals such as square waves. A filtering process is thus difficult to be performed, and unwanted noise may not be filtered out, resulting in a high signal-to-noise ratio (SNR). Moreover, a touch panel may have a plurality of touch portions, and different touch portions may correspond to different detection sensitivities. A touch gesture may be therefore recognized unsuccessfully. For example, when the touch portions have different areas, a gesture may cause different signal variations in different touch portions because the touch portions have different areas. The effect of touch control related to a gesture may vary by the touch portion, making recognition of the gesture difficult.
An embodiment of the preset invention provides a touch detection method of a touch detection device. The touch detection device may include a processing unit, a first capacitor and a second capacitor. A first terminal of the first capacitor may be coupled to an output terminal of the processing unit. A second terminal of the first capacitor may be coupled to an input terminal of the processing unit and a first terminal of the second capacitor. A second terminal of the second capacitor may be coupled to a ground terminal. The touch detection method may include outputting a first signal via the output terminal of the processing unit; receiving a second signal via the input terminal of the processing unit, wherein a voltage level of the second signal corresponds to a voltage level of the first signal, a first capacitance of the first capacitor and a second capacitance of the second capacitor; calibrating a variation of the voltage level of the second signal by using a calibration parameter to obtain a calibrated variation; and determining a touch event has been triggered if the calibrated variation is greater than a threshold.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Va2=Va1*[Cv1/(Cv1+Cv2)] (eq-1).
Step 210: outputting a first signal Sa1 via the output terminal 1101 of the processing unit 110;
Step 220: receiving a second signal Sa2 via the input terminal 1102 of the processing unit 110;
Step 230: calibrating a variation ΔVa2 of the voltage level Va2 of the second signal Sa2 by using a calibration parameter P to obtain a calibrated variation ΔVa2′;
Step 240: determining whether the calibrated variation ΔVa2′ is greater than a threshold; if so, perform step 250; else perform step 210; and
Step 250: determining a touch event has been triggered.
In step 220, the voltage level Va2 of the second signal Sa2 may be corresponding to the voltage level Va1 of the second signal Sa1, the first capacitance Cv1 and the second capacitance Cv2. When the touch event has not been triggered yet, the voltage level Va2 may be expressed with the abovementioned equation (eq-1), and the voltage level Va2 may be kept without being changed so that the variation ΔVa2 of the voltage level Va2 may be zero substantially. In steps 230 and 240, the calibrated variation ΔVa2′ may be smaller than the threshold, so it is determined that a touch event has not been triggered yet. When a touch event has been triggered, the voltage level Va2 may vary correspondingly, and the variation ΔVa2 may be observed to be greater than the threshold in steps 230 to 240, so a touch event may be determined to be being triggered.
According to an embodiment of the present invention, the abovementioned first signal Sa1 may be a first analog signal, and the second signal Sa2 may be a second analog signal. The first signals Sa1 and the second signal Sa2 may be in the form of sine wave so as to improve the effect of noise filtering. According to an embodiment of the present invention, the calibration parameter P in step 230 may be proportional to the first capacitance Cv1. According to an embodiment of the present invention, the calibration parameter P may be proportional to the second capacitance Cv2. Details are described as below.
Va2—touch=Va1*[Cv1/(Cv1+Cv2+Cvx)] (eq-2).
Hence, the voltage levels of the second signal Sa2 before and after the touch event may be used to generate the variation ΔVa2 as the equation (eq-3):
When the touch event is triggered, a greater variation ΔVa2 is associated with a higher sensitivity of the detection. For obtaining a maximized variation ΔVa2, a relationship Cv1+Cv2>>Cvx may be assumed, and the equation (eq-3) may be used to derive a partial differential equation (eq-4):
∂ΔVa2/∂Cv1=Cvx*Va1*(Cv2^2−Cv1^2)/(Cv1+Cv2)^4 (eq-4).
When the variation ΔVa2 is of a maximum, it may be derived that ∂ΔVa2/∂Cv1=0. Cv1=Cv2 may be derived. In other words, according to an embodiment of the present invention, the first capacitance Cv1 may be adjusted to be equal to the second capacitance Cv2 substantially. When Cv1=Cv2, according to the equation (eq-1), the voltage level Va2 before the touch event is triggered may be equal to half the voltage level Va2 after the touch event has been triggered. Since the variation ΔVa2 may be of a maximum, the sensitivity of the detection of the touch detection device 100 may be optimized. The result of Cv1=Cv2 may be used in equation (eq-3), and the relationship of Cvx<−Cv2 may be considered, so the variation ΔVa2 obtained by using the voltage levels of the second signal Sa2 before and after the touch event may be described as equation (eq-5):
It is known that the variation ΔVa2 may be inversely proportional to the second capacitance Cv2 substantially. When the first capacitance Cv2 is adjusted to be equal to the second capacitance Cv2 substantially, the variation ΔVa2 may be inversely proportional to the first capacitance Cv1 substantially as well. The second capacitor C2 and the corresponding first capacitor C1 may correspond to a touch portion of a touch panel. The touch panel may include a plurality of touch portions. According to an embodiment of the present invention, the touch detection device 100 may correspond to a touch portion, and the calibration parameter P may correspond to the area of the touch portion. Details may be as below.
As shown in table 1, the touch portion Ai may correspond to the second capacitance Cv2i. As described in equation (eq-5), the variation ΔVa2i of the voltage level of the second signal generated after the touch event has been triggered may be derived as Va1i*(Cvx/4Cv2i). Hence, by setting the calibration parameter Pi proportional to the second capacitance Cv2i such as setting the calibration parameter Pi as a multiple of the second capacitance Cv2i, the calibration performed in step 230 may be multiplying the variation ΔVa2i by the calibration parameter Pi. A calibrated variation ΔVa2i′ being not affected by the second capacitance Cv2i may be obtained, where ΔVa2i′=k(Va1i*Cvx). The parameter k here may be a constant selected by engineering requirement. Similarly, the variable i mentioned above may be replaced by an integer 1 so as to obtain the calibrated variation ΔVa21′ being equal to k (Va11*Cvx). Assuming the first signal Sa1 (caused by the touch event) corresponding to the touch portion A1 is identical to the first signal Sa1 corresponding to the touch portion Ai, the calibrated variable ΔVa21′ corresponding to the touch portion A1 may be equal to the calibrated variable ΔVa2i′ corresponding to the touch portion Ai. Hence, the decrease of accuracy of touch detection caused by various areas and shapes of the touch portions may be prevented. A function cali( ) may be used to describe the calibration. Take the touch portion Ai as an example, the calibration may be performed as equation (eq-6):
Assuming that the voltage levels Va11 to Va1n of the first signal corresponding to the touch portions are identical substantially, the calibrated variations ΔVa21′ to ΔVa2n′ corresponding to an identical third capacitance Cvx may be equal to one another substantially. As mentioned above, the variation ΔVa2 may be maximized by adjusting the first capacitance Cv1 to be equal to the second capacitance Cv2 substantially, so the calibration parameter P may be proportional to the first capacitance Cv1 when the calibration parameter P is proportional to the second capacitance Cv2.
The calibration in step 230 may not be limited to multiplying the variation ΔVa2 with the calibration parameter P. According to an embodiment of the present invention, the calibration may be searching a lookup table or performing other mathematical calculation according to the calibration parameter P. The processing unit 110 and its internal function units may be integrated into a controllable hardware circuit. For example, the processing unit 110 may be implemented into an integrated circuit (IC) including digital logic gates and/or analog electronic components. According to an embodiment of the present invention, the first capacitor C1 and the processing unit 110 may be integrated into an IC.
Step 210: outputting a first signal Sa1 via the output terminal 1101 of the processing unit 110;
Step 220: receiving a second signal Sa2 via the input terminal 1102 of the processing unit 110;
Step 2210: comparing the voltage level Va2 of the second signal Sa2 with the voltage level Va1 of the first signal Sa1;
Step 2220: determining whether the voltage level Va2 of the second signal Sa2 is equal to the voltage level Va1 of the first signal Sa1 substantially; if so, perform step 230; else perform step 2230;
Step 2230: adjusting the first capacitance Cv1 to substantially equalize the voltage level Va2 of the second signal Sa2 to half the voltage level Va1 of the first signal Sa1;
Step 230: calibrating a variation ΔVa2 of the voltage level Va2 of the second signal Sa2 by using a calibration parameter P to obtain a calibrated variation ΔVa2′;
Step 240: determining whether the calibrated variation ΔVa2′ is greater than a threshold; if so, perform step 250; else perform step 210; and
Step 250: determining a touch event has been triggered.
According to an embodiment of the present invention, the first capacitor C1 may have the adjustable first capacitance Cv1. The first capacitance Cv1 may be adjusted according to the result of comparing the voltage level Va2 with the voltage level Va1 in steps 2210 to 2230 to equalize the first capacitance Cv1 to the second capacitance Cv2. By performing steps 2210 to 2230, the first capacitance Cv1 and the second capacitance Cv2 may be obtained, and the calibration parameter P corresponding to the second capacitance Cv2 may be derived. Taking
In summary, the touch detection method disclosed according to embodiments of the present invention may allow a touch detection device not to be switched into an input mode or an output mode, so the circuit structure may be simpler. By using calibration parameters, the variables of voltage levels corresponding to a plurality of touch portions may be calibrated. The gain triggered by touch events may be normalized. Error detections may be avoided effectively, and correctness of touch detection may be improved. For users and developers of smart phones, smart watch, wearable devices, automobile electronics and/or smart appliances, the present invention is believed to be helpful.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
105106266 A | Mar 2016 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
9128573 | Angelini | Sep 2015 | B2 |
9164137 | Page | Oct 2015 | B2 |
9317169 | Tokita | Apr 2016 | B2 |
9436326 | Jo | Sep 2016 | B2 |
9791986 | Ouh | Oct 2017 | B2 |
9864467 | Tai | Jan 2018 | B2 |
20110227864 | Baek | Sep 2011 | A1 |
20110261005 | Joharapurkar | Oct 2011 | A1 |
20120218222 | Shen | Aug 2012 | A1 |
20130300707 | Hershman | Nov 2013 | A1 |
20130307813 | Hanssen | Nov 2013 | A1 |
20140043279 | Pedersen | Feb 2014 | A1 |
20140104223 | Hanssen | Apr 2014 | A1 |
Number | Date | Country |
---|---|---|
201423508 | Jun 2014 | TW |
201430664 | Aug 2014 | TW |
201501004 | Jan 2015 | TW |
Number | Date | Country | |
---|---|---|---|
20170255329 A1 | Sep 2017 | US |