TW201508600A - Method for determining touch position - Google Patents
Method for determining touch position Download PDFInfo
- Publication number
- TW201508600A TW201508600A TW102131072A TW102131072A TW201508600A TW 201508600 A TW201508600 A TW 201508600A TW 102131072 A TW102131072 A TW 102131072A TW 102131072 A TW102131072 A TW 102131072A TW 201508600 A TW201508600 A TW 201508600A
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- capacitance
- value
- touch position
- determining
- Prior art date
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本發明是有關於一種觸控技術,且特別是有關於一種觸控位置的判斷方法。 The present invention relates to a touch technology, and in particular to a method for judging a touch position.
隨著技術的日新月異,無論是筆記型電腦、手機或是可攜式多媒體播放器等電子裝置的製造商,皆有利用觸控面板來取代傳統鍵盤以做為新一代輸入介面的趨勢。更詳細而言,目前的觸控面板大致可分為電容式觸控面板以及電阻式觸控面板,使用者只需用手指或觸控筆便可進行輸入文字或選取選單等操作動作。 With the rapid development of technology, manufacturers of electronic devices such as notebook computers, mobile phones, and portable multimedia players have used touch panels to replace traditional keyboards as a new generation of input interfaces. In more detail, the current touch panel can be roughly divided into a capacitive touch panel and a resistive touch panel, and the user can perform an operation such as inputting a text or selecting a menu by simply using a finger or a stylus.
其中,電容式觸控面板為經由手指或導體材質靠近或觸碰觸控面板,而使觸控面板的電容值產生變化。當觸控面板偵測到電容值變化時,便可判斷出手指或導體材質靠近或觸碰的位置,並且執行觸碰位置所對應之功能操作。電容式觸控面板具有多指觸控之特性,可提供人性化地操作模式,因而逐漸受到市場的青睞。 The capacitive touch panel changes the capacitance value of the touch panel by approaching or touching the touch panel via a finger or a conductor material. When the touch panel detects a change in the capacitance value, it can determine the position where the finger or conductor material is close to or touched, and perform the function operation corresponding to the touch position. The capacitive touch panel has the characteristics of multi-finger touch and can provide a user-friendly operation mode, which is gradually favored by the market.
本發明提供一種觸控位置的判斷方法,可提高觸控裝置的使用便利性。 The invention provides a method for determining a touch position, which can improve the convenience of use of the touch device.
本發明的觸控位置的判斷方法,適用於觸控裝置,觸控位置的判斷方法包括下列步驟。偵測是否接收到輸入工具的觸控操作,其中輸入工具於進行觸控操作時於其書寫路徑上留下導電殘留物。若接收到輸入工具的觸控操作,每間隔一單位時間紀錄觸控裝置上的感應電容變化值。依據最新兩個單位時間所對應之觸控裝置的感應電容變化值決定觸控裝置的觸控位置。 The method for determining the touch position of the present invention is applicable to a touch device, and the method for determining the touch position includes the following steps. Detecting whether a touch operation of the input tool is received, wherein the input tool leaves a conductive residue on the writing path of the touch operation. If the touch operation of the input tool is received, the value of the sensing capacitance change on the touch device is recorded every one unit time. The touch position of the touch device is determined according to the change value of the sensing capacitance of the touch device corresponding to the latest two unit time.
在本發明的一實施例中,上述依據最新兩個單位時間所對應之觸控裝置的感應電容變化值決定觸控位置的步驟包括下列步驟。將最新產生的觸控裝置的感應電容變化值減去前一單位時間所記錄的觸控裝置的感應電容變化值,以得到相減電容值分佈。依據相減電容值分佈決定該觸控位置。 In an embodiment of the invention, the step of determining the touch position according to the change value of the sensing capacitance of the touch device corresponding to the latest two unit time includes the following steps. The value of the induced capacitance change of the touch device that is recorded in the previous unit time is subtracted from the value of the induced capacitance change of the newly generated touch device to obtain a subtraction capacitance value distribution. The touch position is determined according to the subtraction capacitance value distribution.
在本發明的一實施例中,上述依據相減電容值分佈決定觸控位置的步驟包括判斷相減電容值分佈的最大值是否大於預設值。若相減電容值分佈的最大值大於預設值,以相減後電容變化值最大的位置做為觸控位置。若相減電容值分佈的最大值小於或等於預設值,將前一單位時間所判斷出的觸控位置做為觸控位置。 In an embodiment of the invention, the step of determining the touch position according to the subtractive capacitance value distribution comprises determining whether a maximum value of the subtractive capacitance value distribution is greater than a preset value. If the maximum value of the subtractive capacitance value distribution is greater than the preset value, the position where the capacitance change value is the largest after subtraction is used as the touch position. If the maximum value of the subtraction capacitor value distribution is less than or equal to the preset value, the touch position determined by the previous unit time is used as the touch position.
在本發明的一實施例中,上述觸控位置的判斷方法,更包括對相減電容值分佈進行訊號平衡補償。 In an embodiment of the invention, the method for determining the touch position further includes performing signal balance compensation on the subtraction capacitance value distribution.
在本發明的一實施例中,上述依據相減電容值分佈決定 觸控位置的步驟包括將進行訊號平衡補償後的該相減電容值分佈的中心位置做為該觸控位置。 In an embodiment of the invention, the foregoing is determined according to a distribution of subtractive capacitance values The step of touching the position includes using a center position of the subtraction capacitance value distribution after the signal balance compensation as the touch position.
在本發明的一實施例中,上述紀錄該觸控裝置上的感應電容變化值的步驟包括紀錄該觸控裝置上各位置的感應電容變化值或紀錄感應電容值發生改變的位置的感應電容變化值。 In an embodiment of the invention, the step of recording the change value of the sensing capacitance on the touch device includes recording a change in the sense capacitance of each position on the touch device or a change in the sense capacitance at a position where the value of the sensed capacitance is changed. value.
在本發明的一實施例中,上述的輸入工具為鉛筆,導電殘留物為石墨粉末。 In an embodiment of the invention, the input tool is a pencil and the conductive residue is graphite powder.
在本發明的一實施例中,上述的輸入工具為裝有導電墨水的筆,導電殘留物為導電墨水。 In an embodiment of the invention, the input tool is a pen filled with conductive ink, and the conductive residue is conductive ink.
基於上述,本發明藉由最新兩個單位時間所對應之觸控裝置的感應電容變化值決定觸控裝置的觸控位置,以讓使用者在非複寫模式下使用會留下導電殘留物的輸入工具仍能正常地進行觸控操作,提高觸控裝置的使用便利性。 Based on the above, the present invention determines the touch position of the touch device by the value of the sensing capacitance change of the touch device corresponding to the latest two unit time, so that the user can use the input that will leave conductive residue in the non-overwrite mode. The tool can still perform the touch operation normally, and the use convenience of the touch device is improved.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.
S102~S116、S302~S304‧‧‧觸控位置的判斷方法步驟 S102~S116, S302~S304‧‧‧Steps for judging the touch position
P1、P2‧‧‧觸控位置 P1, P2‧‧‧ touch position
圖1繪示為本發明一實施例之觸控位置的判斷方法的流程示意圖。 FIG. 1 is a schematic flow chart of a method for determining a touch position according to an embodiment of the invention.
圖2A~2B繪示為本發明實施例之觸控裝置的感應電容變化值的示意圖。 2A-2B are schematic diagrams showing changes in induced capacitance of a touch device according to an embodiment of the invention.
圖2C繪示為本發明一實施例之相減電容值分佈的示意圖。 2C is a schematic diagram showing the distribution of subtractive capacitance values according to an embodiment of the invention.
圖3繪示為本發明另一實施例之觸控位置的判斷方法的流程示意圖。 FIG. 3 is a schematic flow chart of a method for determining a touch position according to another embodiment of the present invention.
圖4繪示為本發明另一實施例之相減電容值分佈的訊號平衡補償示意圖。 FIG. 4 is a schematic diagram of signal balance compensation of a subtractive capacitance value distribution according to another embodiment of the present invention.
圖1繪示為本發明一實施例之觸控位置的判斷方法的流程示意圖。此觸控方法適用於觸控裝置,例如智慧型手機、平板電腦、筆記型電腦等具有觸控功能的電子產品。觸控裝置可接收來自輸入工具的觸控操作,輸入工具可在書寫路徑上留下導電殘留物,輸入工具例如為鉛筆或者是裝有導電墨水的筆(例如原子筆、鋼筆等等),亦即導電殘留物可例如為石墨粉末或導電墨水。觸控裝置可切換為在一般模式或複寫模式下運作,其中觸控裝置在複寫模式下可記錄輸入工具的書寫路徑,而在一般模式下觸控裝置僅反應輸入工具目前所觸碰的位置,而不記錄輸入工具的書寫路徑。 FIG. 1 is a schematic flow chart of a method for determining a touch position according to an embodiment of the invention. The touch method is suitable for a touch device, such as a touch-enabled electronic product such as a smart phone, a tablet computer, or a notebook computer. The touch device can receive a touch operation from an input tool, and the input tool can leave a conductive residue on the writing path, such as a pencil or a pen with conductive ink (such as a ball pen, a pen, etc.). That is, the conductive residue may be, for example, graphite powder or conductive ink. The touch device can be switched to operate in a normal mode or a copy mode, wherein the touch device can record the writing path of the input tool in the copy mode, and in the normal mode, the touch device only reflects the current touch position of the input tool. The writing path of the input tool is not recorded.
由於輸入工具會在書寫路徑上留下導電殘留物,在複寫模式下觸控裝置可感測書寫路徑上的導電殘留物以記錄書寫路徑,然在一般模式下書寫路徑上的導電殘留物將會影響觸控裝置判讀輸入工具目前的觸控位置,因而圖1實施例提供解決此問題的觸控位置判斷方法,讓觸控裝置在一般模式下亦可正確地判斷 出輸入工具目前的觸控位置。請參照圖1,首先,偵測是否接收到輸入工具的觸控操作(步驟S102)。若接收到輸入工具的觸控操作,每間隔一單位時間紀錄觸控裝置上的感應電容變化值(步驟S104)。然後再依據最新兩個單位時間所對應之觸控裝置的感應電容變化值決定觸控裝置的觸控位置(步驟S106),以避免書寫路徑上的導電殘留物影響對輸入工具目前的觸控位置的判讀。相反地,若未接收到輸入工具的觸控操作,則繼續偵測是否接收到輸入工具的觸控操作。 Since the input tool leaves conductive residue on the writing path, the touch device can sense the conductive residue on the writing path to record the writing path in the copy mode, but the conductive residue on the writing path in the normal mode will Influencing the touch device to determine the current touch position of the input tool, the embodiment of FIG. 1 provides a touch position determination method for solving the problem, so that the touch device can correctly judge in the normal mode. Enter the current touch position of the input tool. Referring to FIG. 1, firstly, it is detected whether a touch operation of the input tool is received (step S102). If the touch operation of the input tool is received, the change in the sense capacitance on the touch device is recorded every unit time (step S104). Then, the touch position of the touch device is determined according to the change value of the sensing capacitance of the touch device corresponding to the latest two unit time (step S106), so as to prevent the conductive residue on the writing path from affecting the current touch position of the input tool. Interpretation. Conversely, if the touch operation of the input tool is not received, it continues to detect whether the touch operation of the input tool is received.
進一步來說,依據最新兩個單位時間所對應之觸控裝置的感應電容變化值決定觸控裝置的觸控位置的步驟可例如圖1所示,先將最新產生的觸控裝置的感應電容變化值減去前一單位時間所記錄的觸控裝置的感應電容變化值,以得到相減電容值分佈(S108),而後再依據相減電容值分佈決定觸控位置(步驟S110)。值得注意的是,感應電容變化值的記錄方式可例如為紀錄觸控裝置上各個位置的感應電容變化值(亦即感應電容變化值為0的位置的感應電容變化值亦一同記錄),亦或是僅紀錄感應電容值發生改變的位置的感應電容變化值(亦即僅記錄感應電容變化值大於0的位置的感應電容變化值)。 Further, the step of determining the touch position of the touch device according to the change value of the sensing capacitance of the touch device corresponding to the latest two unit time may be, for example, as shown in FIG. 1 , first changing the sensing capacitance of the newly generated touch device. The value of the sensing capacitance change of the touch device recorded in the previous unit time is subtracted to obtain a subtraction capacitance value distribution (S108), and then the touch position is determined according to the subtraction capacitance value distribution (step S110). It should be noted that the recording method of the sensing capacitance change value may be, for example, recording the change value of the sensing capacitance at each position on the touch device (that is, the value of the sensing capacitance change at the position where the value of the sensing capacitance change is 0), or It is only the value of the induced capacitance change at the position where the value of the sensed capacitance is changed (that is, only the value of the sensed capacitance at the position where the value of the sensed capacitance is greater than 0 is recorded).
詳細來說,依據相減電容值分佈決定觸控位置的步驟可例如先判斷相減電容值分佈的最大值是否大於預設值(步驟S112)。其中預設值可例如設定為等於或略低於一般利用輸入工具進行觸控操作時觸控裝置所對應感測到之感應電容變化值,然並 不以此為限,使用者可依實際應用的情形調整觸控的敏感度,亦即若欲提高觸控裝置的觸控敏感度,可降低預設值。相反地,若欲降低觸控裝置的觸控敏感度,則可提高預設值。 In detail, the step of determining the touch position according to the subtraction capacitance value distribution may, for example, first determine whether the maximum value of the subtraction capacitance value distribution is greater than a preset value (step S112). The preset value can be set, for example, to be equal to or slightly lower than the value of the sensed capacitance sensed by the touch device when the touch operation is generally performed by the input tool, and Without limitation, the user can adjust the sensitivity of the touch according to the actual application, that is, if the touch sensitivity of the touch device is to be improved, the preset value can be lowered. Conversely, if the touch sensitivity of the touch device is to be reduced, the preset value can be increased.
若相減電容值分佈的最大值大於預設值,則以相減後電容變化值最大的位置做為觸控位置(步驟S114)。舉例來說,圖2A~2B繪示為本發明實施例之觸控裝置的感應電容變化值的示意圖,圖2C繪示為本發明一實施例之相減電容值分佈的示意圖。其中圖2A、圖2B為相鄰兩單位時間觸控裝置所偵測到的感應電容變化值,圖2A之感應電容變化值的感測時間早於圖2B之感應電容變化值的感測時間。如圖2A、2B所示,輸入工具在前一單位時間位於觸控位置P1,並在下一單位時間由觸控位置P1移動到觸控位置P2。由於輸入工具會在書寫路徑上留下導電殘留物,因此即使輸入工具已移動到觸控位置P2,觸控位置P1上仍可感應出感應電容變化值,若依據圖2B的感測結果來判斷輸入工具的觸控位置將會使得判斷出的觸控位置與實際的觸控位置有所偏移。藉由將圖2A與2B的感應電容變化值相減可得到如圖2C所示之相減電容值分佈,由圖2C可看出將圖2A與2B的感應電容變化值相減後所得到的相減電容值分佈僅在觸控位置P2有最大值,原先觸控位置P1的感應電容變化值已透過相減運算而被消去,因此由圖2C的相減電容值分佈即可獲得正確的觸控位置。 If the maximum value of the subtraction capacitance value distribution is greater than the preset value, the position where the capacitance change value after subtraction is the largest is used as the touch position (step S114). For example, FIG. 2A and FIG. 2B are schematic diagrams showing changes in induced capacitance of a touch device according to an embodiment of the present invention, and FIG. 2C is a schematic diagram showing distribution of subtractive capacitance values according to an embodiment of the invention. 2A and 2B show the change values of the induced capacitance detected by the adjacent two-unit time touch device, and the sensing time of the sense capacitance change value of FIG. 2A is earlier than the sensing time of the sense capacitance change value of FIG. 2B. As shown in FIGS. 2A and 2B, the input tool is located at the touch position P1 in the previous unit time, and is moved from the touch position P1 to the touch position P2 in the next unit time. Since the input tool leaves a conductive residue on the writing path, even if the input tool has moved to the touch position P2, the sensing capacitance change value can be sensed at the touch position P1, if judged according to the sensing result of FIG. 2B. The touch position of the input tool will cause the determined touch position to be offset from the actual touch position. By subtracting the sense capacitance change values of FIGS. 2A and 2B, the subtraction capacitance value distribution as shown in FIG. 2C can be obtained. As can be seen from FIG. 2C, the value of the sense capacitance change of FIGS. 2A and 2B is subtracted. The subtractive capacitance value distribution has a maximum value only at the touch position P2, and the value of the induced capacitance change of the original touch position P1 has been eliminated by the subtraction operation, so that the correct touch can be obtained by the subtraction capacitance value distribution of FIG. 2C. Control position.
相反地,若相減電容值分佈的最大值小於或等於預設值,則代表此時輸入工具持續停留於觸控裝置上的同一個位置或 是輸入工具以非常緩慢的速度移動其觸控的位置,因此最新產生的感應電容變化值與前一單位時間產生的感應電容變化值幾乎相同,而使得相減電容值分佈的值其將接近0(可能為正值或負值)或等於0,亦即相減電容值分佈的最大值將小於或等於預設值。在此情形下,觸控裝置將前一單位時間所判斷出的觸控位置做為觸控位置(步驟S116)。 Conversely, if the maximum value of the subtractive capacitance value distribution is less than or equal to the preset value, it means that the input tool continues to stay at the same position on the touch device or The input tool moves its touch position at a very slow speed, so the newly generated induced capacitance change value is almost the same as the sense capacitance change value generated in the previous unit time, so that the value of the subtraction capacitance value distribution will be close to 0. (may be positive or negative) or equal to 0, that is, the maximum value of the subtractive capacitance value distribution will be less than or equal to the preset value. In this case, the touch device uses the touch position determined by the previous unit time as the touch position (step S116).
值得注意的是,圖1之實施例決定觸控位置的方式為直接以相減電容值分佈的最大值所對應的位置做為觸控位置,然在部分實施例中亦可能以不同的方式來決定觸控位置,例如相減電容值分佈的中心位置作為觸控位置。圖3繪示為本發明另一實施例之觸控位置的判斷方法的流程示意圖。請參照圖3,本實施例之觸控位置的判斷方法與圖1實施例的不同之處在於,在步驟S108後,觸控位置不直接以相減電容值分佈的最大值所對應的位置做為觸控位置,而是先對相減電容值分佈進行訊號平衡補償(步驟S302),而後再將進行訊號平衡補償後的相減電容值分佈的中心位置做為觸控位置(步驟S304)。如圖4所繪示之相減電容值分佈的訊號平衡補償示意圖所示,觸控位置可對相減電容值分佈左半部的部份(如虛線所示)進行補償,使相減電容值分佈呈現對稱的分布,如此可避免觸控位置直接以進行訊號平衡補償前的相減電容值分佈的中心位置做為觸控位置,而使觸控裝置所判斷出的觸控位置與實際上的觸控位置有所偏差。 It should be noted that the embodiment of FIG. 1 determines the position of the touch position by directly using the position corresponding to the maximum value of the subtraction capacitance value distribution as the touch position. However, in some embodiments, the touch position may be different. The touch position is determined, for example, the center position of the subtraction capacitance value distribution is used as the touch position. FIG. 3 is a schematic flow chart of a method for determining a touch position according to another embodiment of the present invention. Referring to FIG. 3, the method for determining the touch position of the present embodiment is different from the embodiment of FIG. 1 in that, after step S108, the touch position is not directly at the position corresponding to the maximum value of the subtraction capacitance value distribution. For the touch position, the signal balance compensation is performed on the subtraction capacitance value distribution (step S302), and then the center position of the subtraction capacitance value distribution after the signal balance compensation is performed as the touch position (step S304). As shown in the signal balance compensation diagram of the subtractive capacitance value distribution shown in FIG. 4, the touch position can compensate the portion of the left half of the subtractive capacitance value distribution (as indicated by the dotted line) to make the subtraction capacitance value. The distribution is symmetrically distributed, so that the touch position can be directly used as the touch position by the center position of the subtraction capacitor value distribution before the signal balance compensation, and the touch position determined by the touch device is actually The touch position is deviated.
綜上所述,本發明藉由最新兩個單位時間所對應之觸控 裝置的感應電容變化值決定觸控裝置的觸控位置,以讓使用者在非複寫模式下使用會留下導電殘留物的輸入工具仍能正常地進行觸控操作,而不須改用不會留下導電殘留物的輸入工具來進行觸控操作,因而可提高觸控裝置的使用便利性。 In summary, the present invention adopts the touch corresponding to the latest two unit time The value of the sensing capacitance of the device determines the touch position of the touch device, so that the user can still perform the touch operation normally by using the input tool that leaves the conductive residue in the non-overwrite mode, without using it. The input tool for leaving the conductive residue is used for the touch operation, thereby improving the usability of the touch device.
S102~S116‧‧‧觸控位置的判斷方法步驟 S102~S116‧‧‧Steps for judging the touch position
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102131072A TW201508600A (en) | 2013-08-29 | 2013-08-29 | Method for determining touch position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102131072A TW201508600A (en) | 2013-08-29 | 2013-08-29 | Method for determining touch position |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201508600A true TW201508600A (en) | 2015-03-01 |
Family
ID=53186252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102131072A TW201508600A (en) | 2013-08-29 | 2013-08-29 | Method for determining touch position |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201508600A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI743526B (en) * | 2019-07-30 | 2021-10-21 | 緯創資通股份有限公司 | Adaptive touch panel system and adaptive method thereof |
-
2013
- 2013-08-29 TW TW102131072A patent/TW201508600A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI743526B (en) * | 2019-07-30 | 2021-10-21 | 緯創資通股份有限公司 | Adaptive touch panel system and adaptive method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103593100B (en) | A kind of capacitance plate method of toch control and its relevant device | |
US8933905B2 (en) | Touch-sensitive button with two levels | |
TWI515621B (en) | Input apparatus and inputing mode siwthcing method thereof and computer apparatus | |
TWI584164B (en) | Emulating pressure sensitivity on multi-touch devices | |
US20090167719A1 (en) | Gesture commands performed in proximity but without making physical contact with a touchpad | |
CN101957681A (en) | Can detect the touch-sensitive device and the method and system thereof of its ground connection situation | |
TWI501138B (en) | Portable device and key hit area adjustment method thereof | |
JP4073449B2 (en) | Touch gesture detection method | |
CN103164067A (en) | Method for judging touch input and electronic device | |
JP2014032450A (en) | Display control device, display control method and computer program | |
TWI480792B (en) | Operating method of electronic apparatus | |
TWI502427B (en) | Touch device and measuring voltage dynamic adjustment method thereof | |
CN106155437B (en) | Operation mode judging method, touch point position judging method and touch control circuit | |
TW201508600A (en) | Method for determining touch position | |
CN103761033A (en) | Virtual keyboard amplification method and device | |
KR20120029210A (en) | Touch screen apparatus | |
CN103713840B (en) | Portable apparatus and its key hit area adjustment method | |
WO2017098526A1 (en) | A system and method for detecting keystrokes in a passive keyboard in mobile devices | |
US20150169102A1 (en) | Touch display apparatus and touch mode switching method thereof | |
KR20160000534U (en) | Smartphone having touch pad | |
KR20080063537A (en) | Media device having touch sensor, and control method for the same | |
Haran | Technologies and Requirements for Digital Pens | |
WO2017107065A1 (en) | Touch interaction method for touch screen, and electronic terminal | |
TWI605364B (en) | Touch display apparatus and touch mode switching method thereof | |
TW201802633A (en) | Gesture and handwriting input method and system |