TWI457817B - Zoom gesture determination method and touch control chip - Google Patents
Zoom gesture determination method and touch control chip Download PDFInfo
- Publication number
- TWI457817B TWI457817B TW100126453A TW100126453A TWI457817B TW I457817 B TWI457817 B TW I457817B TW 100126453 A TW100126453 A TW 100126453A TW 100126453 A TW100126453 A TW 100126453A TW I457817 B TWI457817 B TW I457817B
- Authority
- TW
- Taiwan
- Prior art keywords
- touch point
- touch
- position difference
- zoom
- determining
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 20
- 230000008859 change Effects 0.000 claims description 20
- 230000007246 mechanism Effects 0.000 claims description 10
- 239000003990 capacitor Substances 0.000 description 15
- 238000001514 detection method Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 4
- 230000001965 increasing effect Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本發明係指一種縮放手勢判斷方法及觸控感應控制晶片,尤指一種可用於一自容式(self-capacitative)觸控感應裝置之縮放手勢判斷方法,及相關觸控感應控制晶片。The present invention relates to a zoom gesture determination method and a touch sense control chip, and more particularly to a zoom gesture determination method that can be used for a self-capacitative touch sensing device, and a related touch sensing control chip.
觸控裝置具有操作方便、反應速度快及節省空間的優點,能提供使用者更直覺與便利的操控方式,因而成為重要的輸入介面,廣泛地用於各式的消費性電子產品中。具體而言,觸控裝置係由一感測電路及複數條以矩陣方式排列的走線,感測電路可感測這些走線的電氣訊號,並將之轉換為數位形式的感應資料值,以判讀觸碰事件。然而,習知觸控裝置主要適用於單點觸控,若針對多點觸控的情況時,將可能面臨誤判的問題。The touch device has the advantages of convenient operation, fast response speed and space saving, and can provide a more intuitive and convenient control mode for the user, and thus becomes an important input interface, and is widely used in various consumer electronic products. Specifically, the touch device is a sensing circuit and a plurality of traces arranged in a matrix manner, and the sensing circuit can sense the electrical signals of the traces and convert them into digital sensing data values. Interpret the touch event. However, the conventional touch device is mainly suitable for single touch, and if it is for multi-touch, it may face the problem of misjudgment.
舉例來說,請參考第1圖,第1圖為習知一投射電容感應裝置10之示意圖。投射電容感應裝置10包含有感應電容串列X1 ~Xm 與Y1 ~Yn ,每一感應電容串列係由多個感應電容所串接成的一維結構。習知觸控偵測方式為偵測每一感應電容串列之電容值,來判斷是否有觸控事件發生。假設感應電容串列X1 有a個感應電容,每一感應電容之電容值為C,則正常情況下,感應電容串列X1 之電容值為aC。若人體(例如手指)接觸到感應電容串列X1 上之某一感應電容時的電容變化量為△C,當偵測到感應電容串列X1 之電容值為(aC+△C)時,即表示目前手指正接觸於感應電容串列X1 上之某處。然而,針對多點觸控的情況,如第1圖所示,由於同時有兩隻手指接觸到投射電容感應裝置10,感應電容串列X3 、Xm-1 、Y3 、Yn-1 會同時感應到電容變化,因而將會判斷成在(X3 ,Y3 )、(X3 ,Yn-1 )、(Xm-1 ,Y3 )、(Xm-1 ,Yn-1 )處有觸控事件發生。但是,實際上,僅有(X3 ,Y3 )與(Xm-1 ,Yn-1 )為真實觸控點,而(X3 ,Yn-1 )、(Xm-1 ,Y3 )並非真實觸控點。在此情況下,投射電容感應裝置10發生錯誤判斷的結果,而使偵測結果誤報了兩個非真實觸控點,也就是導致了所謂幽靈鍵(ghost key)的情況。因此,當有多點觸控的情形時(如進行縮放手勢時),僅能得知有哪些感應電容串列之交會處可能有觸控事件發生,而無法確實判斷出真實觸控點及縮放手勢。For example, please refer to FIG. 1 , which is a schematic diagram of a conventional projected capacitive sensing device 10 . The projected capacitance sensing device 10 includes an inductive capacitance series X 1 to X m and Y 1 to Y n , and each of the sensing capacitance series is a one-dimensional structure in which a plurality of sensing capacitors are connected in series. The conventional touch detection method is to detect the capacitance value of each sensing capacitor string to determine whether a touch event occurs. Assuming that the sense capacitor series X 1 has a sense capacitor, and the capacitance of each sense capacitor is C, the capacitance value of the sense capacitor string X 1 is normally aC. If the human body (for example, a finger) touches a certain sensing capacitance on the sensing capacitor string X 1 , the capacitance change amount is ΔC, and when the capacitance value of the sensing capacitor string X 1 is detected (aC+ΔC), That is to say, the finger is currently in contact with somewhere on the sensing capacitor string X 1 . However, in the case of multi-touch, as shown in FIG. 1, since two fingers are in contact with the projected capacitance sensing device 10, the sensing capacitance series X 3 , X m-1 , Y 3 , Y n-1 At the same time, a change in capacitance is sensed, and thus it will be judged as being at (X 3 , Y 3 ), (X 3 , Y n-1 ), (X m-1 , Y 3 ), (X m-1 , Y n- 1 ) There is a touch event happening. However, in reality, only (X 3 , Y 3 ) and (X m-1 , Y n-1 ) are true touch points, while (X 3 , Y n-1 ), (X m-1 , Y 3 ) Not a real touch point. In this case, the projected capacitance sensing device 10 has a result of erroneous determination, and the detection result falsely reports two non-real touch points, that is, a situation called a ghost key. Therefore, when there is a multi-touch situation (such as when performing a zoom gesture), it is only known that there may be a touch event at the intersection of the sensing capacitors, and the actual touch point and zoom cannot be surely determined. gesture.
因此,本發明之主要目的在於提供一種縮放手勢判斷方法及一種觸控感應控制晶片。Therefore, the main object of the present invention is to provide a zoom gesture determination method and a touch sensing control chip.
本發明揭露一種縮放手勢判斷方法,用於一觸控感應裝置。該縮放手勢判斷方法包含有偵測一第一觸控點及一第二觸控點,判斷該第一觸控點及一第二觸控點之間的一位置差值,以及根據該位置差值之變化,決定該第一觸控點與該第二觸控點所代表之一縮放手勢。The invention discloses a zoom gesture judging method for a touch sensing device. The zoom gesture determining method includes detecting a first touch point and a second touch point, determining a position difference between the first touch point and a second touch point, and determining the position difference according to the position difference. The change of the value determines a zoom gesture represented by the first touch point and the second touch point.
本發明另揭露一種觸控感應控制晶片,用於一觸控感應裝置。該觸控感應控制晶片包含有一偵測單元,用來偵測一第一觸控點及一第二觸控點,一判斷單元,用來判斷該第一觸控點及一第二觸控點之間的一位置差值,以及一決定單元,用來根據該位置差值之變化,決定該第一觸控點與該第二觸控點所代表之一縮放手勢。The invention further discloses a touch sensing control chip for a touch sensing device. The touch sensing control chip includes a detecting unit for detecting a first touch point and a second touch point, and a determining unit for determining the first touch point and a second touch point A position difference between the two, and a determining unit, configured to determine a zoom gesture represented by the first touch point and the second touch point according to the change of the position difference.
請參考第2圖,第2圖為本發明實施例之一觸控感應系統20之方塊架構圖。觸控感應系統20係由一觸控感應裝置200及一觸控感應控制晶片202所組成。觸控感應控制晶片202包含有一偵測單元206、一判斷單元208及一決定單元210。偵測單元206用來根據來自觸控感應裝置200之偵測訊號CX1 ~CXm 、CY1 ~CYn ,以偵測一第一觸控點T1及一第二觸控點T2。判斷單元208進而判斷第一觸控點T1及一第二觸控點T2之間的一位置差值D。最後,決定單元210根據位置差值D之變化,決定第一觸控點T1與第二觸控點T2所代表之一縮放手勢ZG。其中,偵測單元206根據來自觸控感應裝置200之偵測訊號CX1 ~CXm 、CY1 ~CYn ,以偵測第一觸控點T1及第二觸控點T2的方法與習知投射電容感應裝置10類似。然而,不同於習知電容感應裝置在多點觸控的情形下會產生幽靈鍵的情況,以致造成縮放手勢的誤判,決定單元210係透過第一觸控點T1及第二觸控點T2之間的位置差值D之變化,以決定縮放手勢ZG。因此,觸控感應控制晶片202可搭配自容(self-capacitance)或互容(mutual-capacitance)等兩種感應方式之觸控感應裝置200,以判斷縮放手勢ZG。Please refer to FIG. 2 , which is a block diagram of a touch sensing system 20 according to an embodiment of the present invention. The touch sensing system 20 is composed of a touch sensing device 200 and a touch sensing control chip 202. The touch sensing control chip 202 includes a detecting unit 206, a determining unit 208, and a determining unit 210. The detecting unit 206 is configured to detect a first touch point T1 and a second touch point T2 according to the detection signals CX 1 - CX m and CY 1 - CY n from the touch sensing device 200. The determining unit 208 further determines a position difference D between the first touch point T1 and the second touch point T2. Finally, the determining unit 210 determines one of the zoom gestures ZG represented by the first touch point T1 and the second touch point T2 according to the change of the position difference D. The detecting unit 206 detects the first touch point T1 and the second touch point T2 according to the detection signals CX 1 ~ CX m and CY 1 ~ CY n from the touch sensing device 200. The projected capacitance sensing device 10 is similar. However, unlike the case where the conventional capacitive sensing device generates a ghost key in the case of multi-touch, so as to cause a misjudgment of the zoom gesture, the determining unit 210 transmits the first touch point T1 and the second touch point T2. The change in position difference D between them determines the zoom gesture ZG. Therefore, the touch sensing control chip 202 can be combined with two sensing modes of the touch sensing device 200 such as self-capacitance or mutual-capacitance to determine the zoom gesture ZG.
詳細而言,請參考第3圖,第3圖為第2圖中之觸控感應控制晶片202偵測兩觸控點T1、T2之間的位置差值D之示意圖。如第3圖所示,觸控感應控制晶片202之判斷單元係分別判斷第一觸控點T1及第二觸控點T2之間的一水平位置差值△X及一垂直位置差值△Y,以判斷第一觸控點T1與第二觸控點T2之間的位置差值D。當位置差值D呈現連續遞增或遞減時,觸控感應控制晶片202可分別決定第一觸控點T1及第二觸控點T2所代表之縮放手勢ZG係一放大(Zoom-in)或一縮小(Zoom-out)手勢。利用位置差值D呈連續遞增或遞減以判斷縮放手勢ZG的目的在於避免縮放手勢操作過程當中,發生座標彈跳(bounce)現象,導致誤判。以第3圖為例,當第一觸控點T1及第二觸控點T2分別往左上及右下方向移動時,第一觸控點T1及第二觸控點T2之間的水平位置差值△X及垂直位置差值△Y分別遞增,而位置差值D亦隨之遞增。因此,決定單元210可據以決定第一觸控點T1及第二觸控點T2所代表之縮放手勢ZG為放大(Zoom-in)手勢。然而,若在過程中,第一觸控點T1及第二觸控點T2其中之一離開觸控感應裝置200,則決定單元210判斷位置差值D非呈現連續變化,因而決定縮放手勢ZG沒有發生。For details, please refer to FIG. 3 . FIG. 3 is a schematic diagram of the touch sensing control chip 202 in FIG. 2 detecting the position difference D between the two touch points T1 and T2 . As shown in FIG. 3, the determining unit of the touch sensing control chip 202 determines a horizontal position difference ΔX and a vertical position difference ΔY between the first touch point T1 and the second touch point T2, respectively. To determine the position difference D between the first touch point T1 and the second touch point T2. When the position difference D is continuously incremented or decremented, the touch sensing control chip 202 can determine a zoom gesture ZG represented by the first touch point T1 and the second touch point T2, respectively, or a zoom-in or a Zoom out gestures. The purpose of judging the zoom gesture ZG by continuously increasing or decreasing the position difference D is to avoid a coordinate bounce phenomenon during the zoom gesture operation, resulting in a false positive. Taking FIG. 3 as an example, when the first touch point T1 and the second touch point T2 move to the upper left and lower right directions respectively, the horizontal position difference between the first touch point T1 and the second touch point T2 The value ΔX and the vertical position difference ΔY are respectively increased, and the position difference D is also increased. Therefore, the determining unit 210 can determine that the zoom gesture ZG represented by the first touch point T1 and the second touch point T2 is a zoom-in gesture. However, if one of the first touch point T1 and the second touch point T2 leaves the touch sensing device 200, the determining unit 210 determines that the position difference D does not exhibit a continuous change, and thus determines that the zoom gesture ZG is not present. occur.
此外,當使用自容(self-capacitance)感應方式時,有可能出現雙指接觸觸控感應裝置200之斜對角,使得決定單元210誤判為兩水平觸控點或兩垂直觸控點。請參考第4A、4B圖,第4A、4B圖為第2圖中之觸控感應晶片202搭配自容感應之觸控感應裝置時,可能出現誤判情形之示意圖。在第4A圖中,有兩隻手指分別觸碰觸控感應裝置200上(Xm-1 ,Y3 )、(X3 ,Yn+1 )兩點,然而其中一指之垂直座標Yn+1 已超出觸控感應裝置200之垂直感應電容串列Y1 ~Yn 之一偵測範圍。因此,此時僅有感應電容串列X3 、Xm-1 、Y3 會同時感應到電容變化,因而錯誤判斷在(X3 ,Y3 )、(Xm-1 ,Y3 )兩點有觸控事件發生。也就是說,判斷單元208於判斷該兩點觸控點之間的一位置差值時,將誤判兩點間之垂直位置差值△Y為零,如此將造成後續判斷縮放手勢時亦發生誤判。同理,請參考第4B圖,當兩指分別觸碰觸控感應裝置200上(X0 ,Yn-1 )、(Xm-1 ,Y3 )兩點時,其中一指之水平座標X0 已超出觸控感應裝置200之水平感應電容串列X1 ~Xn 之偵測範圍。因此,此時僅有感應電容串列Xm-1 、Y3 、Yn-1 會同時感應到電容變化,因而錯誤判斷在(Xm-1 ,Y3 )、(Xm-1 ,Yn-1 )兩點有觸控事件發生。也就是說,判斷單元208於判斷該兩點觸控點之間的位置差值時,將誤判兩點間之水平位置差值△X為零,如此將造成後續判斷縮放手勢時亦發生誤判。In addition, when the self-capacitance sensing mode is used, the diagonal direction of the two-finger touch touch sensing device 200 may occur, so that the determining unit 210 misjudges the two horizontal touch points or the two vertical touch points. Please refer to FIG. 4A and FIG. 4B. FIG. 4A and FIG. 4B are schematic diagrams showing a misjudgment situation when the touch sensing chip 202 of FIG. 2 is combined with a self-capacitance sensing touch sensing device. In FIG. 4A, two fingers touch two points (X m-1 , Y 3 ), (X 3 , Y n+1 ) on the touch sensing device 200, respectively, but one of the vertical coordinates Y n +1 has exceeded the detection range of one of the vertical sensing capacitor strings Y 1 ~ Y n of the touch sensing device 200. Therefore, at this time, only the sense capacitor series X 3 , X m-1 , and Y 3 will sense the capacitance change at the same time, and thus the error is judged at two points (X 3 , Y 3 ), (X m-1 , Y 3 ). A touch event has occurred. That is to say, when determining the position difference between the two touch points, the determining unit 208 will misjudge the vertical position difference ΔY between the two points to be zero, which will cause misjudgment when the subsequent zoom gesture is judged. . For the same reason, please refer to FIG. 4B. When the two fingers touch the two points (X 0 , Y n-1 ), (X m-1 , Y 3 ) on the touch sensing device 200 respectively, the horizontal coordinates of one of the fingers X 0 has exceeded the detection range of the horizontal sensing capacitor series X 1 to X n of the touch sensing device 200. Therefore, only the sense capacitor series X m-1 , Y 3 , and Y n-1 will sense the change of capacitance at the same time, so the error is judged at (X m-1 , Y 3 ), (X m-1 , Y N-1 ) Two touch events occurred. That is to say, when judging the position difference between the two touch points, the judging unit 208 will misjudge the horizontal position difference ΔX between the two points to be zero, which will cause a misjudgment when the subsequent zoom gesture is judged.
因此,本發明實施例決定單元210進一步利用一反彈跳(De-bounce)機制,濾除雙指接觸觸控感應裝置200斜對角,卻出現短暫錯誤的兩水平觸控點或兩垂直觸控點之情形,並藉此克服自容感應方式之先天物理特性。具體而言,偵測單元206首先偵測第一觸控點T1及第二觸控點T2是否皆存在。若偵測單元206偵測到觸控感應裝置200上僅有單一觸控點或無觸控點之情形下,可直接結束該反彈跳機制,不需進行後續判斷。若偵測單元206偵測到第一觸控點T1及第二觸控點T2皆存在,且判斷單元208判斷第一觸控點T1及第二觸控點T2之間的水平位置差值△X或垂直位置差值△Y皆不為零,則代表兩觸控點位於觸控感應裝置200上之一斜對角位置,且皆在水平及垂直感應電容串列X1 ~Xn 、Y1 ~Yn 的偵測範圍內,故亦可結束該反彈跳機制,以進行正常縮放手勢判斷。然而,若判斷單元208判斷第一觸控點T1及第二觸控點T2之間的水平位置差值△X或垂直位置差值△Y其中有一者為零時,則需進一步判斷第一觸控點T1及第二觸控點T2是否真正為水平或垂直排列,或其中一者已超出觸控感應裝置200之偵測範圍,造成誤判。故此時可利用一計數器計數第一觸控點T1與第二觸控點T2之間水平位置差值△X或垂直位置差值△Y為零之次數,以產生一累計值。若該累計值大於一臨界值,始判斷第一觸控點T1及第二觸控點T2真正為水平或垂直排列。Therefore, the determining unit 210 of the embodiment of the present invention further utilizes a de-bounce mechanism to filter out the diagonally opposite angles of the two-finger touch sensing device 200, but the two horizontal touch points or the two vertical touches have a short error. Point to the situation, and thereby overcome the innate physical characteristics of the self-capacitance sensing method. Specifically, the detecting unit 206 first detects whether the first touch point T1 and the second touch point T2 are both present. If the detecting unit 206 detects that there is only a single touch point or no touch point on the touch sensing device 200, the bounce mechanism can be directly ended, and no subsequent judgment is needed. If the detecting unit 206 detects that both the first touch point T1 and the second touch point T2 are present, the determining unit 208 determines the horizontal position difference between the first touch point T1 and the second touch point T2. The X or the vertical position difference ΔY is not zero, which means that the two touch points are located at an oblique diagonal position on the touch sensing device 200, and both are in the horizontal and vertical sensing capacitance series X 1 ~X n , Y The detection range of 1 ~ Y n can also end the bounce mechanism for normal zoom gesture judgment. However, if the determining unit 208 determines that one of the horizontal position difference ΔX or the vertical position difference ΔY between the first touch point T1 and the second touch point T2 is zero, the first touch needs to be further determined. Whether the handle point T1 and the second touch point T2 are actually arranged horizontally or vertically, or one of them has exceeded the detection range of the touch sensing device 200, causing a false positive. Therefore, a counter can be used to count the number of times the horizontal position difference ΔX or the vertical position difference ΔY between the first touch point T1 and the second touch point T2 is zero to generate an accumulated value. If the accumulated value is greater than a threshold, it is determined that the first touch point T1 and the second touch point T2 are actually horizontally or vertically aligned.
舉例而言,若第一觸控點T1及第二觸控點T2分別位於第4A圖所示之位置,而臨界值為3的情況下,在起始時,判斷單元208判斷第一觸控點T1與第二觸控點T2之間水平位置差值△X為零,而計數器之累計值遞增。假使第一觸控點T1及第二觸控點T2逐漸靠近,當第一觸控點T1再度進入觸控感應裝置200之垂直偵測範圍,此時累計值歸零,而判斷單元208可正確判斷第一觸控點T1與第二觸控點T2為一斜對角排列,而非水平排列,因此決定單元210亦可正確判斷ZG手勢為一縮小手勢。反之,若兩觸控點分別位於第4A圖所示之T1’及T2之位置,並互相沿水平方向遠離,則計數器將逐步計數T1’與T2之間垂直位置差值△Y為零之次數,而累計值超過臨界值3時,判斷單元208及決定單元210可正確判斷T1’及T2確實為水平排列,且代表一放大手勢,而不會出現誤判之情形。如此一來,可濾除雙指接觸觸控感應裝置200斜對角,卻出現短暫錯誤的兩水平觸控點或兩垂直觸控點之情形。For example, if the first touch point T1 and the second touch point T2 are respectively located at the position shown in FIG. 4A and the threshold value is 3, at the beginning, the determining unit 208 determines the first touch. The horizontal position difference ΔX between the point T1 and the second touch point T2 is zero, and the cumulative value of the counter is incremented. If the first touch point T1 and the second touch point T2 are gradually approaching, when the first touch point T1 enters the vertical detection range of the touch sensing device 200 again, the accumulated value is reset to zero, and the determining unit 208 is correct. It is determined that the first touch point T1 and the second touch point T2 are arranged diagonally diagonally instead of horizontally. Therefore, the determining unit 210 can also correctly determine that the ZG gesture is a zoom-out gesture. On the other hand, if the two touch points are located at the positions of T1' and T2 shown in FIG. 4A and are away from each other in the horizontal direction, the counter will gradually count the number of times the vertical position difference ΔY between T1' and T2 is zero. When the accumulated value exceeds the critical value of 3, the determining unit 208 and the determining unit 210 can correctly determine that T1' and T2 are indeed horizontally arranged, and represent a zoom-in gesture without a misjudgment. In this way, the two-finger touch sensing device 200 can be filtered diagonally, but the two horizontal touch points or the two vertical touch points of the short-term error occur.
需注意的是,本發明之主要目的在於利用位置差值之變化,判斷縮放手勢,凡依此所做之各種變化皆屬本發明之範疇。此外,上述關於決定單元210根據位置差值之變化,決定縮放手勢ZG,可歸納為一縮放手勢判斷流程50,如第5圖所示,其包含以下步驟:It should be noted that the main purpose of the present invention is to determine the zoom gesture by using the change in the position difference, and all the changes made in this manner are within the scope of the present invention. In addition, the determining unit 210 determines the zoom gesture ZG according to the change of the position difference, which can be summarized into a zoom gesture determining process 50. As shown in FIG. 5, the method includes the following steps:
步驟500:開始。Step 500: Start.
步驟502:偵測第一觸控點T1及第二觸控點T2。Step 502: Detect the first touch point T1 and the second touch point T2.
步驟504:判斷第一觸控點T1及第二觸控點T2之間的位置差值D。Step 504: Determine a position difference D between the first touch point T1 and the second touch point T2.
步驟506:於位置差值D呈現連續遞增或遞減時,判斷第一觸控點T1及第二觸控點T2所代表之縮放手勢ZG為放大或縮小手勢。Step 506: When the position difference D is continuously incremented or decremented, it is determined that the zoom gesture ZG represented by the first touch point T1 and the second touch point T2 is an enlargement or reduction gesture.
步驟508:結束。Step 508: End.
同理,關於反彈跳(De-bounce)機制之運作,可歸納為一反彈跳機制流程60,如第6圖所示,其包含以下步驟:Similarly, the operation of the De-bounce mechanism can be summarized as a bounce mechanism process 60, as shown in Figure 6, which includes the following steps:
步驟600:開始。Step 600: Start.
步驟602:判斷觸控感應裝置200上是否有第一觸控點T1及第二觸控點T2。若是,進行步驟604;若否,進行步驟610。Step 602: Determine whether there is a first touch point T1 and a second touch point T2 on the touch sensing device 200. If yes, go to step 604; if no, go to step 610.
步驟604:判斷第一觸控點T1及第二觸控點T2之間的水平位置差值△X及垂直位置差值△Y是否皆不為零。若是,進行步驟610;若否,進行步驟606。Step 604: Determine whether the horizontal position difference ΔX and the vertical position difference ΔY between the first touch point T1 and the second touch point T2 are not zero. If yes, go to step 610; if no, go to step 606.
步驟606:計數第一觸控點T1及第二觸控點T2之間的水平位置差值△X及垂直位置差值△Y非皆不為零之次數,以產生一累計值。若該累計值大於一臨界值,則進行步驟608;若否,進行步驟612。Step 606: Count the number of times the horizontal position difference ΔX and the vertical position difference ΔY between the first touch point T1 and the second touch point T2 are not zero, to generate an accumulated value. If the accumulated value is greater than a threshold, proceed to step 608; if no, proceed to step 612.
步驟608:根據該第一觸控點及該第二觸控點之間的水平位置差值△X及垂直位置差值△Y,判斷第一觸控點T1及第二觸控點T2為水平或垂直排列。Step 608: Determine that the first touch point T1 and the second touch point T2 are horizontal according to the horizontal position difference ΔX and the vertical position difference ΔY between the first touch point and the second touch point. Or arranged vertically.
步驟610:將該累計值歸零。Step 610: Zero the accumulated value.
步驟612:結束。Step 612: End.
縮放手勢判斷流程50或反彈跳機制流程60之詳細說明或變化可參考前述,於此不贅述。For a detailed description or change of the zoom gesture determination process 50 or the bounce jump mechanism process 60, reference may be made to the foregoing, and details are not described herein.
更進一步地,經由適當地搭配一觸控感應裝置及一主機,可將上述實施例之觸控感應系統20擴充,以實現一電腦系統。請參考第7圖,第7圖為本發明實施例之一電腦系統70之功能方塊示意圖。如第7圖所示,電腦系統70主要由第2圖中之觸控感應系統20及一主機704所組成。觸控感應裝置200可感應一待測物體(如手指、筆等)並產生代表該待測物體於一偵測面板(未顯示)上之位置的偵測訊號。觸控感應控制晶片202可利用上述縮放手勢判斷方法,透過觸控感應裝置200上兩個觸控點之間位置差值之變化,決定該兩個觸控點所代表之縮放手勢ZG。最後,觸控感應控制晶片202可將代表縮放手勢ZG之一封包Pac傳送至主機704。較佳地,封包Pac可包含有一位元之一縮放手勢代碼(zoom ID code)及一位元之一縮放方向代碼(zoom direction code),以指示主機704一縮放手勢發生,及該縮放手勢之方向為放大(zoom-in)或縮小(zoom-out)。然而,封包Pac之格式不在此限,本領域具通常知識者當可據以進行修飾或變化。Further, the touch sensing system 20 of the above embodiment can be expanded to achieve a computer system by appropriately matching a touch sensing device and a host. Please refer to FIG. 7. FIG. 7 is a functional block diagram of a computer system 70 according to an embodiment of the present invention. As shown in FIG. 7, the computer system 70 is mainly composed of the touch sensing system 20 and a host 704 in FIG. The touch sensing device 200 can sense an object to be measured (such as a finger, a pen, etc.) and generate a detection signal representing a position of the object to be tested on a detecting panel (not shown). The touch sensing control chip 202 can determine the zoom gesture ZG represented by the two touch points by using the zoom gesture determination method to change the position difference between the two touch points on the touch sensing device 200. Finally, the touch sensitive control wafer 202 can transmit a packet Pac representing the zoom gesture ZG to the host 704. Preferably, the packet Pac may include a zoom ID code and a zoom direction code to indicate that the zoom gesture occurs on the host 704, and the zoom gesture The direction is zoom-in or zoom-out. However, the format of the packet Pac is not limited thereto, and those skilled in the art can modify or change it according to the knowledge.
需注意的是,上述實施例利用兩個觸控點之間位置差值之變化,以判斷多點手勢(multi-touch gesture)的方法亦不在此限,本領域具通常知識者當可據以進行修飾或變化。例如,判斷單元208及決定單元210亦可能進一步根據兩個觸控點之間位置差值之變化,判斷該兩個觸控點所代表之手勢為一旋轉(rotation)手勢。舉例而言,在第3圖中,若T1及第二觸控點T2之間的位置差值D不變,且垂直位置差值△Y遞減時,可判斷T1及T2代表一逆時針(counter-clockwise)旋轉手勢。It should be noted that the above embodiment uses the change of the position difference between the two touch points to determine the multi-touch gesture, and the general knowledge in the field can be relied upon. Make modifications or changes. For example, the determining unit 208 and the determining unit 210 may further determine that the gesture represented by the two touch points is a rotation gesture according to the change of the position difference between the two touch points. For example, in FIG. 3, if the position difference D between T1 and the second touch point T2 is constant, and the vertical position difference ΔY is decreased, it can be judged that T1 and T2 represent a counterclockwise (counter -clockwise) Rotate the gesture.
綜上所述,本發明之縮放手勢判斷方法利用偵測兩個觸控點之間位置差值之變化,決定兩個觸控點所代表之一縮放手勢,因此可搭配自容(self-capacitance)或互容(mutual-capacitance)等兩種感應方式之觸控感應裝置,改善了習知利用自容感應方式之觸控感應裝置受先天物理特性所限而出現誤判的問題。In summary, the zoom gesture judging method of the present invention determines the zoom gesture represented by the two touch points by detecting the change of the position difference between the two touch points, so that it can be matched with self-capacitance. Or two sensing methods such as mutual-capacitance, which improve the problem that the touch sensing device using the self-capacitance sensing method is limited by the innate physical characteristics and is misjudged.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
10...投射電容感應裝置10. . . Projected capacitance sensing device
20...觸控感應系統20. . . Touch sensing system
70...電腦系統70. . . computer system
200‧‧‧觸控感應裝置200‧‧‧ touch sensing device
202‧‧‧觸控感應控制晶片202‧‧‧Touch sensor control chip
206‧‧‧偵測單元206‧‧‧Detection unit
208‧‧‧判斷單元208‧‧‧judging unit
210‧‧‧決定單元210‧‧‧Decision unit
704‧‧‧主機704‧‧‧Host
CX1~CXm、CYI~CYn‧‧‧偵測訊號CX1~CXm, CYI~CYn‧‧‧ detection signals
T1、T2、T1’、T2’‧‧‧觸控點T1, T2, T1', T2'‧‧‧ touch points
D‧‧‧位置差值D‧‧‧ position difference
△X‧‧‧水平位置差值△X‧‧‧ horizontal position difference
△Y‧‧‧垂直位置差值△Y‧‧‧Vertical position difference
ZG‧‧‧縮放手勢ZG‧‧‧ zoom gesture
X1~Xm、Y1~Yn‧‧‧感應電容串列X1~Xm, Y1~Yn‧‧‧Inductance Capacitor Series
Pac‧‧‧封包Pac‧‧‧Package
第1圖為習知一投射電容感應裝置之示意圖。FIG. 1 is a schematic diagram of a conventional projection capacitance sensing device.
第2圖為依據一實施例之一觸控感應系統之方塊架構圖。FIG. 2 is a block diagram of a touch sensing system according to an embodiment.
第3圖,第3圖為第2圖中之觸控感應控制晶片偵測兩觸控點之間的一位置差值之示意圖。FIG. 3 is a schematic diagram showing the position difference between the two touch points detected by the touch sensing control chip in FIG. 2 .
第4A、4B圖為第2圖中之觸控感應晶片搭配自容感應之觸控感應裝置時,可能出現誤判情形之示意圖。4A and 4B are schematic diagrams of a misjudgment situation when the touch sensing chip of FIG. 2 is combined with a self-capacitance sensing touch sensing device.
第5圖為依據一實施例之一縮放手勢判斷流程。FIG. 5 is a flow chart of a zoom gesture determination according to an embodiment.
第6圖為依據一實施例之一反彈跳機制流程。Figure 6 is a flow chart of a bounce mechanism according to an embodiment.
第7圖為依據一實施例之一電腦系統之方塊架構圖。Figure 7 is a block diagram of a computer system in accordance with an embodiment.
20...觸控感應系統20. . . Touch sensing system
200...觸控感應裝置200. . . Touch sensing device
202...觸控感應控制晶片202. . . Touch sensing control chip
206...偵測單元206. . . Detection unit
208...判斷單元208. . . Judging unit
210...決定單元210. . . Decision unit
CX1~CXm、CY1~CYn...偵測訊號CX1~CXm, CY1~CYn. . . Detection signal
T1、T2...觸控點T1, T2. . . Touch point
D...位置差值D. . . Position difference
ZG...縮放手勢ZG. . . Zoom gesture
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100126453A TWI457817B (en) | 2011-07-26 | 2011-07-26 | Zoom gesture determination method and touch control chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100126453A TWI457817B (en) | 2011-07-26 | 2011-07-26 | Zoom gesture determination method and touch control chip |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201305898A TW201305898A (en) | 2013-02-01 |
TWI457817B true TWI457817B (en) | 2014-10-21 |
Family
ID=48169187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100126453A TWI457817B (en) | 2011-07-26 | 2011-07-26 | Zoom gesture determination method and touch control chip |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI457817B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI493437B (en) * | 2013-06-19 | 2015-07-21 | 義隆電子股份有限公司 | Method of opening window control bar by identification of edge swipe gesture and touch system using the method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060001650A1 (en) * | 2004-06-30 | 2006-01-05 | Microsoft Corporation | Using physical objects to adjust attributes of an interactive display application |
US20060026521A1 (en) * | 2004-07-30 | 2006-02-02 | Apple Computer, Inc. | Gestures for touch sensitive input devices |
US20110080351A1 (en) * | 2009-10-07 | 2011-04-07 | Research In Motion Limited | method of controlling touch input on a touch-sensitive display when a display element is active and a portable electronic device configured for the same |
TW201122954A (en) * | 2009-12-31 | 2011-07-01 | Au Optronics Corp | Touch panel and touch sensing method thereof |
-
2011
- 2011-07-26 TW TW100126453A patent/TWI457817B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060001650A1 (en) * | 2004-06-30 | 2006-01-05 | Microsoft Corporation | Using physical objects to adjust attributes of an interactive display application |
US20060026521A1 (en) * | 2004-07-30 | 2006-02-02 | Apple Computer, Inc. | Gestures for touch sensitive input devices |
US20110080351A1 (en) * | 2009-10-07 | 2011-04-07 | Research In Motion Limited | method of controlling touch input on a touch-sensitive display when a display element is active and a portable electronic device configured for the same |
TW201122954A (en) * | 2009-12-31 | 2011-07-01 | Au Optronics Corp | Touch panel and touch sensing method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW201305898A (en) | 2013-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI514248B (en) | Method for preventing from accidentally triggering edge swipe gesture and gesture triggering | |
TWI605359B (en) | Gesture identification method and apparatus applied in a touchpad | |
US8013842B2 (en) | Method for gesture detection on a capacitive touchpad | |
US8743061B2 (en) | Touch sensing method and electronic device | |
CN102214031B (en) | Touch determining method and correlated touch gesture determining method | |
CN103718141B (en) | Peak detection schemes for touch position detection | |
TWI467425B (en) | Method and device for identifying multipoint rotating movement | |
US7804490B2 (en) | Method for multiple gesture detection and verification on a touchpad | |
WO2009026553A1 (en) | Recognizing the motion of two or more touches on a touch-sensing surface | |
CN108874284B (en) | Gesture triggering method | |
US7710404B2 (en) | Method for gesture detection on a touchpad | |
TWI597626B (en) | Control device of touch panel, method for determining single-point-multiple-finger gesture and touch pen for generating single-point-multiple-finger gesture | |
US9360961B2 (en) | Methods and apparatus to associate a detected presence of a conductive object | |
TWI419037B (en) | Touch control system and touch control method and computer system of the same | |
CN102214028B (en) | Gesture recognition method and device for touch panel | |
TWI457817B (en) | Zoom gesture determination method and touch control chip | |
CN101751194A (en) | Touch panel with multi-point touch function and multi-point touch detection method | |
US9891758B2 (en) | Zoom gesture determination method and touch control chip | |
US7982717B2 (en) | Method for gesture detection on a touchpad | |
CN107807747A (en) | touch system and touch detection method thereof | |
TWI475440B (en) | Touch device and gesture identifying method thereof | |
US8922504B2 (en) | Click gesture determination method, touch control chip, touch control system and computer system | |
US9317167B2 (en) | Touch control system and signal processing method thereof | |
CN100416482C (en) | Signal processing method of resistance type touch control panel | |
WO2011091729A1 (en) | Method and system for detecting finger contact on touchpad |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |