TW201237719A - Capacitive touch panel multi-touch detection method - Google Patents

Capacitive touch panel multi-touch detection method Download PDF

Info

Publication number
TW201237719A
TW201237719A TW100108004A TW100108004A TW201237719A TW 201237719 A TW201237719 A TW 201237719A TW 100108004 A TW100108004 A TW 100108004A TW 100108004 A TW100108004 A TW 100108004A TW 201237719 A TW201237719 A TW 201237719A
Authority
TW
Taiwan
Prior art keywords
touch
capacitance
row
column
point
Prior art date
Application number
TW100108004A
Other languages
Chinese (zh)
Inventor
jing-kai Zhang
Yan Guo
liang-hua Mo
Original Assignee
Focaltech Systems Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Focaltech Systems Ltd filed Critical Focaltech Systems Ltd
Priority to TW100108004A priority Critical patent/TW201237719A/en
Publication of TW201237719A publication Critical patent/TW201237719A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a capacitive touch panel multi-touch detection method, including the following steps: performing scanning inspection of the capacitance of the rows and columns of a touch panel matrix for obtaining capacitance data of the rows and columns of the touch panel matrix respectively; acquiring an initial capacitance threshold value, and obtaining calculation capacitance value of each row and each column by subtracting initial capacitance threshold value from the capacitance data of each row and each column; determining if a curvilinear segment with capacitance value larger than zero exists in the rows and columns of calculation capacitance value curve, if yes, then calculating gravity center of each segment with capacitance value larger than zero for being used as corresponding contact point coordinate of the curvilinear segment, if no, then identification means there is no touch; and sending the row coordinate and column coordinate of each contact point to a processor for process. The invention not only reduces data quantity to be processed for decreasing workload of the processor but also increases interference immunity of the system for reducing error touch probability.

Description

201237719 六、發明說明: 【發明所屬之技術領域】 本發明涉及觸摸屏技術’尤其涉及一種電容觸摸屏的多點 觸摸檢測方法。 【先前技術】 觸摸屏可以有多種實現原理,流行的觸摸屏包括電阻式 觸摸屏、電容式觸摸屏、表面紅外觸摸屏等等。其中,電阻式 觸摸屏因為其減本、胃實現、控料優點流行多年。近 來’電容式觸摸屏以其透光率高、耐磨損、耐環境(溫度、濕 度等)變化、哥命長、可實現高級複雜功能,如多點觸摸,而 受到大眾的歡迎。 啁误屏一股由兩層組战, 2, ’ -層接掃描線。以_個單點為例,1()為掃· 二r3G觸摸時,1G上的等效電容大小為兩層_合 二20 ’即Cx ; t有手指觸摸時,由於手指有—個等 電C谷4。’㈣,則此咖線10對應的等效電容大小為 心通齡_财後f容的从,村、 有觸摸發生。當多個點構成矩陣陣列 否 的等效電路。 成了弟2圖所示 檢測嶋25352娜了—姆_模_方法4 細用分時複用技術,在觸摸屏的轴分別採;; 3 201237719 ♦值和穀值檢測法檢測觸摸。即每個時間只掃描—行或者一 列,如先掃描Y方向,得到γ的觸摸座標,然後再掃描χ方向, 得到X座標。當2個手指(第3圖中的實線同心圓)32〇觸碰 在觸摸屏表面的時候,《軸和丫軸上的電容的分佈會呈現如 第3圖所示的波浪形狀。 、第3圖中,由於手指的觸摸作用,在Υ方向會呈現-個 波峰’如310所示’在X方向會呈現兩個波峰34〇和咖以 及-個波谷360,如330所示。在檢測觸摸座標時,美國專利 US5825352魏檢測第—個鱗咖,贿再檢驗峰值旁邊 . ㈤波谷360 ’接著檢測波谷後面的波峰350,依次類推。如果 、存在-個明顯的波谷,則表示有兩個電容點發生觸摸動作, 如果有兩個明顯的波谷,則表示有三個電容點發生觸摸動 桃測方法按照座標方向依次檢測電容峰值和穀值,然 後再按照峰值和穀值結合的辦法來分辨觸摸的座標,這樣,需 要處理整屏的資料,增加了處理器的負擔。 而 【發明内容】 本發明要解決的技綱題是提供-種需處理資料少,能 夠減輕處理H負擔的電容趣屏多_摸檢測方法。 為了解決上述技術問題’本發明採用的技術方案是,〜 種電谷觸摸屏多點觸摸檢測方法,包括以下步驟: 201237719 1〇ι)對觸摸屏矩陣的行和列的電容進行掃描檢測分別獲取 觸摸屏矩陣行和列的電料料; &quot; _獲取初始電容,將各行和各列的電容資料分別減去 初始電翔值後,得到各行各_計算電容值; )^斷行和列打電容值曲線巾衫存在電容值大於零的 崎’如彳’則計算每段f容值大於零的曲線段的重心作為 摘私對應的接槪座標;如無,職^為沒有觸摸; 104)將各接觸點列座標和行座標發送給處理器進行處理。 —X上所述的電痛摸屏多‘賴摸檢測方法,觸摸屏矩陣的 母行和母列,均有各自的初始電容閾值。 —以上所述的電容觸摸屏多點觸摸檢測方法,觸摸屏矩陣 母行的電容閾值為該行的掃福電容值與行電容值增量之和,每 列的電容為該列的掃描電容值與列電容值增量之和;所述 的掃描電容值為觸摸屏矩陣的行或列在沒有觸摸的條件下的 電容值。 以上所述的電容觸摸屏多點觸摸檢測方法,在沒有觸摸 的條件下,觸摸屏矩陣每掃描_個迴圈,更新—次電容間值。 以上所述的電容觸摸屏多點觸摸檢測方法,在步驟103 中,判斷行和列計算電容值曲線中存在電容值大於零的曲線段 之後,首先通·步提高電雜鱗縣段餘敍於零的曲 線段的最高點,按照駿的寬度值保留所述最高點兩側的電容 值曲線段,然後計縣段電容值轉段的重_為該曲線段對 201237719 應的接觸點座標。 以上所述的電容觸摸屏多點觸摸檢測方法,當兩個鄰近 接觸點的行和列的座標小於預設的座標時,把這兩個鄰近 接觸點座標按算術平均合併細摸點座標。 以上所述的電容觸摸屏多點觸摸檢測方法,在只有i個 觸摸點的情沉下,該麵點在登幕上的移動,判定為對圖像進 行拖拽。 以上所述的電容觸摸屏多點觸摸檢測方法,當2個既定 觸摸點之間的直線的距離發生變化時,判定為對圖像進行縮 放;當1個既定觸摸點繞另1個既定觸摸點旋轉時,判定為對 圖像進行旋轉。 以上所述的電容觸摸屏多點觸摸檢測方法,當2個既定 賴點之_直線的距離發生變化的同時,2個既賴摸點之 Μ喊生相對旋轉時’如旋轉_度小於職值,湖定為對 圖像進行縮放,如旋轉的肖度大於預設值,則判定為對圖像進 行旋轉。 以上所述的電容觸摸屏多點觸摸檢測方法,當2個既定 觸摸點中的1個不動,另一個移動時,如移動觸摸點移動方向 與2個既定觸摸點連線之間的失角小於預設角度,則判定為對 圖像進行縮放,如移動觸摸點移動方向與2個既定觸摸點連線 之間的夾角大於預設角度,則判定為對圖像進行旋轉。 本4明電谷觸摸屏多點觸摸檢測方法對檢測電容設置了 201237719 一個門限值,處理器只要處理高於門限值的電容資料,既降低 了需處理資料量,減輕了處職的卫作負擔,又在—定程度增 加了系統的抗干擾性,降低了誤觸摸機率。 下面結合附圖和具體實施方式對本發明作進一步詳細的 說明。 【實施方式】 在第4a圖中,a圖中的41〇為原始採樣資料,每個觸摸 行或者列由一個個不同大小電容構成的一個個“山峰”。 US5825352即對410進行直接處理得到440、450、460、470 - 每個“山峰”對應的峰值和榖值,B圖中的420即為本發明由 - 行和列電容閾值構成的初始“海平面,,,這個“海平面,,可 以是溫度、濕度和構成矩陣電容行列的函數。由行和列電容 閾值構成的“海平面”高,抗干擾能力增強,靈敏度降低; “海平面”低,抗干擾能力降低,靈敏度增強。在C圖中, 經過由行和列電容閾值構成的“海平面,,420處理後,得到 441 451和471所示的高於“海平面”,電容值大於零的曲 線段構成的“山峰,,。如果在c圖中沒有“山峰’,存在,則 表示沒有觸摸發生。 從第4a圖中c圖可以看出,觸摸點形成的“山峰,,被 海平面分離’在每段電容值大於零的曲線段“山峰,,的 兩側是平坦的“平面,’,這樣可以方便地按照下面求重心座 201237719 標的公式1)求出顧點的座標。為了更加精確,還可以進行 下面的步驟: 在D圖中’430為從“海平面’,42〇再次升高的新的“海 平面,海平面升咼的高度以出現孤點472為宜。 在第4b圖中,以第4a圖D圖中的472為中心點,左右 對稱從第4a圖圖C中的471十取出2K+1個資料(1(預設的自 然數,如卜2、3……)’可以得到分離的“山峰,,473。然後 按照下面求重心座標的公式υ求出473區域的座標,這樣待 處理的結果大大減少,同時也增加了系統的抗干擾能力(如 去掉了第4a圖圖Α中由干擾產生的電容“山峰,,4⑷。 Σ(Ίς) Σ (少,Δς) _ 求重心座標的公式 1): 如果在形成孤點472後,“海平面” 43〇上還有電容“山 峰”’如442和452存在’則可以繼續增加“海平面,,的高 度’直至出現下-個電容值孤點,否者認為所有的電容“山 峰”均被分離。 如前所述’由行和列電容閾值構成的“海平面,,與溫 度、濕度和構成矩陣的行列電容有關,為了避免出現“誤回 應”或者“不回應,'這個“海平面,,需要作即時調整。參 閱第5a〜5b _自我調整技術,即在每鱗描結束後,判斷 201237719 是否有觸摸,如果沒有觸摸,則彳艮據掃描結果更新電容閾值。 也就是說’在沒有觸摸的條件下,觸摸屏矩陣每掃描一個迴 圈,更新一次電容閾值,不僅反映了觸摸屏矩陣構造的不均 一因素對矩陣行列電容的影響,而且將溫度、濕度的變化對 矩陣行列電容的影響即時反映到電容閾值中。這樣,由行和 列電谷閾值構成的海平面”也不是一個真的“平面”,由 於生產工藝的不同,觸摸屏對應矩陣的每個行或者列,均可 有一個電容閾值,這些電容閾值即構成了略有起伏的初始 海平面”。 第5a圖為本發明電容觸摸屏多點觸摸檢測方法一個迴圈 的流程圖’啟動掃描程式後,首絲出每行每列的電容閣值 資料娜(n從◦到Η ’其中N為電容觸摸屏行數)和咖 (m從0到Μ-卜其中Μ為電容觸摸屏列數 取了電容閾值資料後,接著進行行列掃描,首先掃描 行’從第-行掃描到Ν行,每姻f描電容資料加減去對應 行的電容職Cyhn為gyn,即是門限值以上第η行的電容 值,存儲_和咖。對△加的處理根據如下法則:如果 該差值⑽賴W ’顺_△_ 〇,否者存儲 門限值(電額值)以上的餘值ACyn。 當行掃描完成後,即可以進行 以夂老μ π 峰分離。分離方法 可以參考第4b圖中的473和第 先判斷在初始“海平面,,上是否有“田:了㈣元成時,首 峰如果有,則升 2UI237719 门海平面直至第—個電容孤點出現 仍出現。以第如圖圖^ 。如第4a圖圖D中的 船1個資料構成新的“山峰,,。騎心對稱,從471中取 上是否還有“山峰”六― 接著再列斷新的“海平面” f 存在,如果右“ 高“海平面,,得到第二個電容孤點,蜂”存在’則繼續升 繼續升高“海平面,,直至所有“‘、%成第二個“山峰’,。 形成新的分離“_,,峰”的電容孤點被取出並 示分離完成。 胃_面”上沒孤立電容時,表 元成山峰”合雜你 -T- “山峰,,$彳 &quot;以按照公式1)對每個分離的 L細料㈣‘‘崎 峰的中心行座標。 1可丨回山 的方法,同樣可以求出每個山峰的中心列座標。 虽母個山峰的行標求出後,可 觸摸點座標。A 仃m衣出 — 為了敎干擾概的—個_山峰出現多個電 遍的問題’可以設置-個座標閾值(如5麵)。即當兩個 «觸摸點的行和_座標小於這_值時,可以把這兩個 座標按异術平均射,卜個_賴,這_標_摸點座 標0 攸上面的”析可崎出,這種檢測方法和賴的點數沒 有關係。 在每几成-巾貞電容掃描後’首先繼是否有觸摸發生, ρ行或列疋否冑山峰’如有觸摸發生,則將觸摸座標發 201237719 送給處理器以完成相應的動作。如果沒有觸摸發生,即ACyn 和△Cxm全部為零’則更新全部電容閾值。處理方法為取出存 儲的Cyn和Cxm,新的電容閾值即為Cyhn=Cyn+ACy, Cxhm=Cxm+/\Cx,其中電容值增量^cy和為固定的常數, 如果要求靈敏度高,可以把電容值增量ACy和ACx設置低一 點,如果要求抗干擾能力強’可以把電容值增量ACy和ACx 設置高一點。 第5a〜5b圖中參數定義如下: 名稱 定義 N 行數 Μ 列數 Cyn 第n行的掃描電容值 △ Cyn 閾值以上第η行可見的電容值 Cyhn 對應於η行的電容閾值 Cxm 第m列的掃描電容值 △ Cxm 閾值以上第m列可見的電容值 Cxhm 對應於m列的電容閾值 △ Cy 構成初始電容“海平面”的行電容值增量 △ Cx 構成初始電容“海平面”的列電容值增量 e 第e個被分離的“山峰” K 預設的自然數(2K+1為取電容資料的長度或 201237719 者分離山峰的寬度)201237719 VI. Description of the Invention: [Technical Field] The present invention relates to a touch screen technology', and more particularly to a multi-touch detection method for a capacitive touch screen. [Prior Art] The touch screen can have various implementation principles, and the popular touch screen includes a resistive touch screen, a capacitive touch screen, a surface infrared touch screen, and the like. Among them, the resistive touch screen has been popular for many years because of its reduction in cost, stomach implementation, and control of materials. Recently, capacitive touch screens have been popular with the public because of their high light transmittance, wear resistance, environmental resistance (temperature, humidity, etc.), longevity, and advanced complex functions such as multi-touch. The false screen is composed of two layers of battle, 2, ’-layered scan lines. Taking _ a single point as an example, when 1() is a sweeping two r3G touch, the equivalent capacitance on 1G is two layers _ two 20's, ie Cx; when there is a finger touch, because the finger has an equal power C Valley 4. </ RTI> (4), the corresponding capacitor size corresponding to this coffee line 10 is the heart-passing age _ after the financial f capacity, the village, there is a touch. When multiple points form the equivalent circuit of the matrix array No. It is shown in the picture of the brother 2, which is detected by 嶋25352. - _ _ _ method 4 uses time-sharing multiplexing technology, respectively, on the axis of the touch screen;; 3 201237719 ♦ value and valley detection method to detect touch. That is, only scan-row or one column at a time, such as scanning the Y direction first, obtaining the touch coordinates of γ, and then scanning the χ direction to obtain the X coordinate. When two fingers (solid line concentric circles in Fig. 3) are touched on the surface of the touch screen, the distribution of the capacitance on the shaft and the x-axis will assume a wave shape as shown in Fig. 3. In Fig. 3, due to the touch action of the finger, a peak will appear in the Υ direction as shown by 310. In the X direction, two peaks 34 〇 and café and - trough 360 will be present, as indicated by 330. In the detection of the touch coordinates, the US patent US5825352 Wei detects the first scale, and then checks the peak next to the peak. (5) The trough 360 ′ then detects the peak 350 behind the trough, and so on. If there is an obvious trough, it means that there are two capacitive points touching. If there are two obvious troughs, it means that there are three capacitive points. The touch detection method detects the peak and valley of the capacitance in turn according to the coordinate direction. Then, according to the combination of peak and valley values, the coordinates of the touch are distinguished, so that the entire screen needs to be processed, which increases the burden on the processor. SUMMARY OF THE INVENTION The technical problem to be solved by the present invention is to provide a multi-touch detection method for a capacitive screen that requires less processing data and can reduce the H load. In order to solve the above technical problem, the technical solution adopted by the present invention is that the multi-touch detection method of the electric valley touch screen includes the following steps: 201237719 1〇ι) scanning and detecting the capacitance of the row and column of the touch screen matrix respectively to obtain the touch screen matrix Row and column of electrical materials; &quot; _ obtain the initial capacitance, the capacitance data of each row and column are respectively subtracted from the initial hoisting value, to obtain the _calculated capacitance value of each row;) ^ broken line and column capacitance value curve The towel has a capacitance value greater than zero, and the center of gravity of each curve segment with a value greater than zero is calculated as the corresponding coordinate of the singularity; if not, the job is no touch; 104) the contact Point coordinates and row coordinates are sent to the processor for processing. - The electric pain touch screen described above is based on the multiple detection method. The mother and mother columns of the touch screen matrix each have their own initial capacitance thresholds. - The capacitive touch screen multi-touch detection method described above, the capacitance threshold of the matrix of the touch screen matrix is the sum of the value of the sweep capacitor and the row capacitance increment of the row, and the capacitance of each column is the scan capacitance value and column of the column. The sum of the capacitance value increments; the scan capacitance value is a capacitance value of a row or column of the touch screen matrix without a touch. The capacitive touch screen multi-touch detection method described above, in the absence of a touch, the touch screen matrix is updated every time _ loops are scanned, and the inter-capacitor value is updated. In the above-mentioned capacitive touch screen multi-touch detection method, in step 103, after judging that there is a curve segment in which the capacitance value is greater than zero in the row and column calculation capacitance value curve, firstly, the electric multi-scale county segment is further reduced to zero. The highest point of the curve segment, the capacitance value curve segment on both sides of the highest point is retained according to the width value of the crown, and then the weight _ of the segment value of the county segment capacitance value is the coordinate of the contact point of the curve segment to 201237719. In the above capacitive touch screen multi-touch detection method, when the coordinates of the rows and columns of two adjacent contact points are smaller than the preset coordinates, the coordinates of the two adjacent contact points are arithmetically averaged and combined with the fine touch coordinates. In the above capacitive touch screen multi-touch detection method, when only one touch point is swollen, the movement of the face point on the screen is determined to drag the image. The capacitive touch screen multi-touch detection method described above determines that the image is scaled when the distance between the straight lines between the two predetermined touch points changes; when one predetermined touch point rotates around another predetermined touch point At this time, it is determined that the image is rotated. In the above capacitive touch screen multi-touch detection method, when the distance between the two straight lines of the predetermined point is changed, the two screams of the touch point are relatively rotated, such as the rotation _ degree is less than the value, The lake is set to scale the image. If the degree of rotation is greater than the preset value, it is determined to rotate the image. The capacitive touch screen multi-touch detection method described above, when one of the two predetermined touch points does not move, and the other one moves, such as the difference between the moving direction of the moving touch point and the connection between the two established touch points is less than If the angle is set, it is determined that the image is scaled. If the angle between the moving direction of the moving touch point and the line connecting the two predetermined touch points is greater than the preset angle, it is determined to rotate the image. The multi-touch detection method of the 4th electric valley touch screen sets a threshold value of 201237719 for the detection capacitance, and the processor only needs to process the capacitance data higher than the threshold value, thereby reducing the amount of data to be processed and reducing the burden of the service. In addition, the degree of anti-interference of the system is increased to a certain extent, and the probability of false touch is reduced. The invention will now be described in further detail with reference to the drawings and specific embodiments. [Embodiment] In Fig. 4a, 41〇 in the a diagram is the original sample data, and each touch row or column is composed of a single “mountain peak” composed of capacitors of different sizes. US5825352 directly processes 410 to obtain 440, 450, 460, 470 - peaks and 榖 values corresponding to each "mountain peak", and 420 in Figure B is the initial "sea level" composed of - row and column capacitance thresholds of the present invention. ,,,, this "sea level," can be a function of temperature, humidity, and the matrix of the capacitors. The “sea level” consisting of the row and column capacitance thresholds is high, the anti-interference ability is enhanced, and the sensitivity is reduced; the “sea level” is low, the anti-interference ability is reduced, and the sensitivity is enhanced. In the C diagram, after the "sea level", which is composed of the row and column capacitance thresholds, 420 is processed, the peaks above the "sea level" shown in 441 451 and 471, and the curve segments with capacitance values greater than zero are formed. ,. If there is no "mountain peak" in the c picture, it means that no touch occurs. From the c picture in Fig. 4a, it can be seen that the "mountain peak, separated by sea level" formed by the touch point is greater than zero in each segment. The curve segment "mountain peak," is flat on both sides of the plane, ', so you can easily find the coordinates of the point according to the following formula 1). In order to be more precise, the following steps can also be carried out: In the D picture, '430 is the new "sea level" from the "sea level", 42 〇 again, the height of the sea level ascending 以 is appropriate to the occurrence of the isolated point 472. In Fig. 4b, taking 472 in Fig. 4a and Fig. D as the center point, the left and right symmetry is taken out from 471 in Fig. 4 of Fig. 4A and 2K+1 data (1 (preset natural number, such as 3...) 'You can get the separated "mountain peak," 473. Then find the coordinates of the 473 region according to the formula for the center of gravity coordinate below, so that the results to be processed are greatly reduced, and the anti-interference ability of the system is also increased (such as Remove the capacitance generated by the interference in Figure 4a. “Mountain peak, 4(4). Σ(Ίς) Σ (less, Δς) _ Seek the formula of the centroid of the center of gravity): If after forming the orphan point 472, “sea level” On the 43th, there is a capacitor "mountain peak" such as 442 and 452 exists, then you can continue to increase the "sea level, the height" until the next - capacitance value is isolated, otherwise the capacitor "mountain" is separated As mentioned above, 'the sea level, which consists of the row and column capacitance thresholds, is related to the temperature, humidity, and the matrix capacitance of the constituent matrix. In order to avoid "false response" or "no response," this "sea level," Need to make immediate adjustments. See sections 5a~5b _ self-adjustment The whole technology, that is, after each scale is drawn, it is judged whether there is a touch in 201237719. If there is no touch, the capacitance threshold is updated according to the scan result. That is to say, 'without touch, the touch screen matrix scans one loop every time, Updating the capacitance threshold not only reflects the influence of the non-uniformity of the touch screen matrix structure on the matrix row and column capacitance, but also the effect of the temperature and humidity changes on the matrix row and column capacitance is immediately reflected in the capacitance threshold. Thus, the row and column voltage valleys The sea level formed by the threshold is not a true "plane". Due to different production processes, each row or column of the touch screen corresponding to the matrix can have a capacitance threshold. These capacitance thresholds constitute a slightly undulating initial sea. Fig. 5a is a flow chart of a loop of the multi-touch detection method of the capacitive touch screen of the present invention. After starting the scanning program, the first wire shows the capacitance value of each column and column (n from ◦ to Η ' where N For the number of capacitive touch screen lines) and coffee (m from 0 to Μ-b, where the capacitance threshold data is taken for the number of capacitive touch screen columns, For the row and column scan, the scan line first scans from the first line to the limp line. The capacitance data of each row is added and subtracted, and the capacitance of the corresponding line is Cyyn, which is the capacitance value of the ηth line above the threshold value, and stores _ and The processing of Δ is based on the following rule: If the difference (10) depends on W 'shun_△_ 〇, otherwise the residual value ACyn above the threshold value (electricity value) is stored. Separation of the old μ π peak. The separation method can refer to the 473 in Fig. 4b and the first judgment at the initial “sea level,” is there a “field: (4) elementary, if the first peak is present, then 2UI237719 The sea level continues to appear until the first capacitor's orphan point appears. As shown in Fig. ^. As shown in Fig. 4a, the ship's 1 data constitutes a new "mountain peak,". Riding the heart symmetrically, take the 471 from the "mountain peak" six - and then break the new "sea level" f exists, if the right "high" sea level, get the second capacitor orphan, the bee exists 'Continue to continue to raise the sea level, until all "', % into the second "mountain peak". A capacitor isolated point forming a new separated "_,, peak" is taken out and the separation is completed. When there is no isolated capacitance on the stomach _ face, the table element becomes a mountain peak" mixed with you -T- "mountain peak,, $ 彳 &quot; to follow the formula 1) for each separate L fine material (four) ''the peak center line Coordinates. 1 The method of returning to the mountain can also find the coordinates of the center column of each mountain. Although the line of the parent mountain can be found, the coordinates can be touched. A 仃m clothing - for the purpose of interference - The problem of multiple electric passes in the mountain _ can be set - a coordinate threshold (such as 5 faces). That is, when the rows and _ coordinates of the two «touch points are smaller than this _ value, the two coordinates can be used. The average shot, Bu _ Lai, this _ standard _ touch point coordinates 0 攸 above the "analysis can be out, this detection method and the number of points does not matter. After every few ray-capacitance scans, 'first whether or not a touch occurs, ρ line or column 疋 胄 胄 mountain peak', if a touch occurs, the touch block is issued 201237719 to the processor to complete the corresponding action. If no touch occurs, ie ACyn and ΔCxm are all zero' then all capacitance thresholds are updated. The processing method is to take out the stored Cyn and Cxm, and the new capacitance threshold is Cyhn=Cyn+ACy, Cxhm=Cxm+/\Cx, where the capacitance value increment ^cy sum is a fixed constant. If the sensitivity is high, the capacitor can be used. The value increments ACy and ACx are set lower. If the anti-interference ability is required, the capacitance value increments ACy and ACx can be set a little higher. The parameters in the 5a~5b diagram are defined as follows: Name defines the number of N rows Μ Number of columns Cyn Scanning capacitance value of the nth row △ Cyn The capacitance value Cyhn corresponding to the η row above the threshold value corresponds to the capacitance threshold Cxm of the η row Scanning capacitance value △ Cxm Above the threshold value, the capacitance value Cxhm visible in the mth column corresponds to the capacitance threshold of the m column Δ Cy The line capacitance value increment Δ Cx constituting the initial capacitance “sea level” constitutes the column capacitance value of the initial capacitance “sea level” Increment e The e-separated "mountain peak" K Preset natural number (2K+1 is the length of the capacitance data or the width of the mountain peak of 201237719)

Yel/Ye2.. ----- Xel/Xe2. ~---- 觸摸點對應的γ座標 ~---~~_ 觸摸點對應的X座標 本發明技術方案帶來的有益效果是: 才木用了電令間值技術後,對檢測電容設置了一個門限 值,既降低了待處理㈣量,又在—定程度增加了系統的抗 干擾性,可以降低誤觸摸的幾率。 操作實施例: 基於電額值的自電容多闕摸演算法,可以靈活的處 理各種圖像操作,如則的飾、縮放、旋。具體示意 圖見第Μ圖、第7a〜7_、第㈣圖。 在第6a〜6b圖、第7a〜7b圖、第8純圖,帶箭頭的實 線為手指或者圖像的移動軌跡,同心圓表示移動前的手指, 虛線同心圓表示移動後的手指。 第6a 6b圖為單點觸摸實現圖像的移動。在圖像移動過 1中,單手指必須_在屏上,即相當於在屏上·,該線 德九跡即糊像的移動細,這個給好的 像進行拖拽。 τ口 個^ 9〜%圖為兩點實現圖像的放大縮小功能。為完成這 n’兩個手指也必_摸在屏上,因為兩個手指都不離 二、’兩個觸摸點為既定觸摸點。可以兩個手指同時移動, 了以-個手指不動,另外—個手指移動。根據移動前的距 12 201237719 離和移動後的距離的比例M係確定圖像_放關關係。為 了和圖像的旋轉分開,手指移動的軌跡儘量在—個方向上。 在第9圖中,當檢測到第9圖的χ和γ轴的“山峰,,時 β(即手‘不在電谷朗—行或者列),處理跳不能判斷手指 是處在第9财左圖巾的狀祕是處在第9时右圖的狀 態’即我們所說的“鬼影,,。從第9 _左圖和右圖中可以 看出’這兩個圖中觸摸點之_距離姻,這樣,如果只是 對圖像做縮放魏,即按照屏的中心對獅縮放圖像,可以 通過計算兩辦指之間移動前後的轉得_像縮放比例。 如果需要得顧像的旋轉方向,則可以制第μ圖所示 的方法。 第8a〜8b圖為兩點實現圖像的旋轉,這個功能的實現充 分考慮了人體的動作習慣,實购來轉轉。實現過程如 下.先將-個手指,如袖’放在觸摸屏上,紐放上另外 手才曰如U曰拇♦曰不動,按順時針或者逆時鐘方向旋轉 &lt;指。食指移動的角度和方向即為圖像移動的角度和方向。 2指移動的過程中,食指也必須放在觸摸屏上。圖像的旋 轉過程以拇指為支點’食指為旋轉點。同理,肝也可以以 食指為支點’拇指為旋轉點,這完全取決於用戶的習慣,立 軟,的處理方法完全相同。採用支點的辦法,可以解決· 鬼影”導致軟體不能區分旋轉方向的問題。 在圖像的旋轉過程中,支點的位移必須控制在一定範 13 201237719 圍。為了區分圖像的縮放和旋轉,可以設置一個臨界角度值, 如25。’如旋轉的角度在25。以内,可以認為是圖片的縮放, 旋轉的角度在25。以外,可以認為是圖片的旋轉。 也可以下面的方法,當2個既定觸摸點中的支點不動, 另一個觸摸點移動時,如移動觸摸點移動方向與2個既定觸 摸點連線之間的失角小於45度,則判定為對圖像進行縮放; 如移動觸摸點移動方向與2個既定觸摸點連線之間的夾角小 於45度,則判定為對圖像進行旋轉。 【圖式簡單說明】 - 第1圖是現有技術觸摸屏觸摸檢測原理圖。 - 第2圖是現有技術自電容觸摸屏的等效電路圖。 第3圖是現有技術觸摸電容大小分佈圖。 第4a圖是本發明與現有技術觸摸檢測方法比較圖,其為 “海平面”示意圖。 第4b圖是本發明與現有技術觸摸檢測方法比較圖,其為座 標計算示意圖。 第5a圖是本發明電容觸摸屏多點觸模檢測方法的流程圖, 其為觸摸座標計算流程圖。 第5b圖是本發日㈣簡摸屏多點_檢測方法的流程圖, 其為“山峰”分離流程圖。 第6a圖是本發明本發明電容觸摸屏多點觸摸檢刺方法實 201237719 施例圖像的移動的不意圖’其細像軸手指賴動作示意 圖。 第6b圖疋本發明本發明電容職屏多點觸摸檢測方法實施 例圖像的軸的示意®,其為®像移動示意圖。 第7a圖疋本發明本㈣電容觸摸屏多點觸摸檢測方法實施 姻像放大(或者縮小)料錢,其為圖像驗手指觸摸 動作示意圖。 第^圖是本發明本發明電容觸摸屏多點麵檢測方法實施 麵像放大U者削、)辦侧,其糊像騎示音圖。 例湖物職測方法實施 第8b圖\—其為圖像旋轉手指峨動作示意圖。 例Hi ㈣^聰衫點__方法實施 例圖像的㈣的示意圖,其為圖像旋轉示意圖。 第9圖是自電容多點觸摸“鬼影,,機理示意圖。 【主要元件符號說明】 3〇 手指 4〇 等效對地電容 420、430海平面 山峰 10 掃描線 20 電容 210 掃描線 310 波峰 320 手指 410原始採樣資料 440、450、460、470 44卜451、471 山峰 442 ^ 452 山峰 15 201237719 472 473 孤點 山峰Yel/Ye2.. ----- Xel/Xe2. ~---- The γ coordinate corresponding to the touch point~---~~_ The X-symbol corresponding to the touch point The beneficial effects brought by the technical solution of the invention are: After using the electric-interval technology, the wood sets a threshold value for the detection capacitor, which reduces the amount of the (four) to be processed, and increases the anti-interference of the system to a certain extent, which can reduce the probability of false touch. Operational example: Based on the self-capacitance multi-function algorithm of the electric value, it is possible to flexibly handle various image operations, such as decoration, scaling, and rotation. For details, see the figure, 7a~7_, and (4). In the 6th to 6thth, 7th to 7th, and 8th pure, the solid line with the arrow is the movement trajectory of the finger or the image, the concentric circle indicates the finger before the movement, and the dotted concentric circle indicates the moved finger. Figure 6a 6b shows the movement of the image with a single touch. In the case of image movement 1, a single finger must be _ on the screen, which is equivalent to on the screen. The line is a fine movement of the paste, which is to drag the good image. τ mouth ^ 9 ~% picture is two points to achieve the image zooming and reducing function. In order to complete this n' two fingers must also touch the screen, because the two fingers are not separated from the two, 'two touch points are the intended touch points. You can move two fingers at the same time, with one finger not moving and the other one moving. According to the distance before the movement 12 201237719, the ratio of the distance from the moving distance M determines the image_release relationship. In order to separate from the rotation of the image, the trajectory of the finger movement is as far as possible in one direction. In Fig. 9, when the "peak" of the χ and γ axes of Fig. 9 is detected, when β (ie, the hand is not in the electric valley-row or column), the processing jump cannot judge that the finger is at the 9th fiscal left. The secret of the towel is the state of the right picture at the 9th time, that is, what we call "ghost,,. From the 9th _ left and right images, you can see that the distance between the touch points in the two graphs is such that if you just zoom in on the image, you can zoom in on the image according to the center of the screen. Calculate the zoom ratio before and after the movement between the two fingers. If you need to look at the direction of rotation of the image, you can make the method shown in Figure μ. Figures 8a to 8b show the rotation of the image at two points. The realization of this function fully considers the movement habits of the human body and purchases it to transfer. The implementation process is as follows: first put a finger, such as the sleeve, on the touch screen, and put another hand on it, such as U 曰 曰 曰 , , , , , , , , , , , , , , , , 。 。 。 。 。 。 。 。 。 指 指 指 指The angle and direction of the index finger movement is the angle and direction of the image movement. In the process of 2 finger movement, the index finger must also be placed on the touch screen. The rotation of the image is centered on the thumb and the index finger is the point of rotation. In the same way, the liver can also use the index finger as the fulcrum. The thumb is the rotation point. It depends entirely on the user's habits. The treatment method is the same. Using the fulcrum method can solve the problem that the ghost can not distinguish the direction of rotation. During the rotation of the image, the displacement of the fulcrum must be controlled to a certain range 13 201237719. In order to distinguish the scaling and rotation of the image, Set a critical angle value, such as 25. 'If the angle of rotation is within 25, it can be considered as the zoom of the picture, and the angle of rotation is 25. In addition, it can be considered as the rotation of the picture. You can also use the following method, when 2 If the fulcrum in the predetermined touch point does not move, when the other touch point moves, if the angle of loss between the moving direction of the moving touch point and the line connecting the two predetermined touch points is less than 45 degrees, it is determined to scale the image; If the angle between the point movement direction and the line connecting the two predetermined touch points is less than 45 degrees, it is determined that the image is rotated. [Simplified Schematic] - Fig. 1 is a schematic diagram of the touch screen detection of the prior art touch screen. The figure is an equivalent circuit diagram of a prior art self-capacitance touch screen. Figure 3 is a prior art touch capacitance size distribution diagram. Figure 4a is the present invention and prior art touch Comparison of detection methods, which is a schematic diagram of "sea level". Figure 4b is a comparison diagram of the present invention and the prior art touch detection method, which is a coordinate calculation diagram. Fig. 5a is a flow of the multi-point touch detection method of the capacitive touch screen of the present invention Figure 5 is a flow chart of the calculation of the touch coordinates. Figure 5b is a flow chart of the multi-point detection method of the present day (four), which is a "mountain peak separation" flow chart. Figure 6a is a multi-capacitive touch screen of the present invention. Point touch sniffer method 201237719 The purpose of the movement of the image of the embodiment is not intended to be a schematic diagram of the image of the fine image axis. FIG. 6b is a schematic diagram of the axis of the image of the embodiment of the capacitive screen multi-touch detection method of the present invention. ®, which is a schematic diagram of the movement of the image. Fig. 7a is a schematic diagram of the present invention. (4) The multi-touch detection method of the capacitive touch screen implements the enlargement (or reduction) of the image, which is a schematic diagram of the finger touch action of the image. The invention relates to a multi-point surface detecting method for a capacitive touch screen of the present invention, which implements a surface image magnifying U, and a side of the method, and the smear image of the sound image is taken. (Iv) a schematic view of an embodiment of an image rotation Bauer schematic operation of a finger. Example (iv) Hi ^ __ Cong shirt point method, a schematic view of an image rotation. FIG. 9 is a self-capacitance multi-touch "ghost ,, schematic mechanism. [Main component symbol description] 3〇Finger 4〇Equivalent to earth capacitance 420,430 sea level mountain peak 10 Scan line 20 Capacitance 210 Scan line 310 Wave crest 320 Finger 410 original sampling data 440, 450, 460, 470 44 Bu 451, 471 Mountain peak 442 ^ 452 Mountain peak 15 201237719 472 473 Lonely mountain peak

Claims (1)

201237719 七、申請專利範圍: 1. 一種電容觸摸屏多點觸摸檢測方法,其特徵在於,包括以下步 驟: 101) 對觸摸屏矩陣的行和列的電容進行掃描檢測,分別獲 取觸摸屏矩陣行和列的電容資料; 102) 獲取初始電容閾值,將各行和各列的電容資料分別減 去初始電容閾值後,得到各行各列的計算電容值; 103) 判斷行和算電容㈣射是钟在電容值大於 零的曲線段’如有,騎算每段電容值大於零_線段的重心 作為該曲線段對應的摘點座標;如無,翁定為沒有觸摸; 10 4)將各細點列座標和行座標發送給處理器進行處理。 2.如申請專利範圍第!項所述的電容觸摸屏多點觸摸檢測方法, 其特徵在於,觸摸屏矩陣的每行和每列,均有各自的初始電容 3. 如申請翔關第2顧賴電容難衫轉摸檢測方法, 其龍在於’難屏矩陣每行的電容難為該行的掃描電容值 與行電_增量之和,每列的電容閣值為該列 列雜值增量之和;所述的掃描電容值為_屏_的行朗 在'又有觸拉的條件下的電容值。 〆 4. =申請專利範圍第3項所述的電容觸摸屏多點_檢測方法, :特:,於’在沒有觸摸的條件下’觸摸屏矩陣每掃描一個迴 圈,更新一次電容閾值。 17 201237719 5·如申請專利細第1項所述的電容糖屏多點麵檢測方法, 其特徵在於,在步驟1〇3中,判斷行和列計算電容值曲線中存 在電谷值大於零的曲紐之後,首先通過逐步提高電容間值尋 找每段電容值大於零的曲線段的最高點,按照預設的寬度值保 留所述最高點兩侧的電容值曲線段,然後計算每段電容值曲線 的重心作為該曲線段對應的接觸點座標。 6. 如_請專利細第5項所賴f容聰屏多闕摸檢測方法, &quot;特徵在於’當兩個鄰近接觸點的行和列的座標小於預設的座 ‘閾值時’把這兩個鄰近接娜座標按算術平均合併成觸摸點 座標。 7. 如申請專利麵第丨概第6項其中任—項所述的電容觸摸屏 夕點觸摸檢測方法,其特徵在於,在只有丨侧摸關情況下, 該觸摸點在螢幕上的轉’判定為對圖像進行拖拽。 8. 如申μ專她圍第丨項至第6項其中任—項所述的電容觸摸屏 夕點觸摸牙双測方法’其特徵在於,當2個既定觸摸點之間的直 線的距離發錢鱗,狀為_像進行縮放 ;當1個既定觸 摸點繞另1個既定觸摸點旋轉時,判定為對圖像進行旋轉。 9. 如申料伽目帛8項所触電容麵屏乡點顧檢測方法, 了特徵在於’自2個既定觸摸點之_直線的距離發生變化的 同時2舰痛迦之間還產生崎旋轉時,如旋轉的角度 小於預設值’則判定為對圖像進行縮放;如旋轉的角度大於預 201237719 設值’則判定為對圖像進行旋轉。 10.如申請專利範圍第8項所述的電容願屏多點觸摸檢測方 法,其特徵在於,當2個既定觸摸點中的1個不動,另—個移 動時’如移動觸摸點移動方向與2個既定觸摸點連線之間的夾 角小於預设角度,則判定為對圖像進行縮放;如移動觸摸點移 動方向與2個既定觸摸點連線之間的夾角大於預設角度,則判 疋為對圖像進行旋轉。201237719 VII. Patent application scope: 1. A multi-touch detection method for capacitive touch screen, which is characterized in that it comprises the following steps: 101) Scanning and detecting the capacitance of the row and column of the touch screen matrix, respectively obtaining the capacitance of the row and column of the touch screen matrix 102) Obtain the initial capacitance threshold, and subtract the initial capacitance threshold from the capacitance data of each row and each column to obtain the calculated capacitance value of each row and column; 103) judge the row and calculate the capacitance (four) shot is the capacitance value greater than zero If there is, the center of gravity of each segment of the capacitor is greater than zero _ line segment as the coordinates of the point corresponding to the curve segment; if not, Weng Ding is no touch; 10 4) send the coordinates of each fine point column and row coordinates Process the processor. 2. If you apply for a patent scope! The capacitive touch screen multi-touch detection method according to the invention is characterized in that each row and each column of the touch screen matrix has its own initial capacitance 3. If the application is applied to the second detection capacitor, the detection method is The dragon is located in the capacitance of each row of the difficult screen matrix. The capacitance of the row is difficult to be the sum of the scan capacitance value and the row power_increment of the row. The capacitance of each column is the sum of the hash increments of the column; the scan capacitance value is The value of the capacitance of the _ screen _ is in the condition of 'touching again'. 〆 4. = Capacitor touch screen multi-point detection method described in item 3 of the patent scope, : special:, under the condition of 'no touch', the touch screen matrix is scanned once for each revolution, and the capacitance threshold is updated once. 17 201237719 5. The method for detecting a multi-point surface of a capacitive sugar screen according to the first aspect of the invention, characterized in that in step 1〇3, it is determined that the electric valley value in the row and column calculation capacitance value curve is greater than zero. After the curve, first find the highest point of the curve segment whose capacitance value is greater than zero by gradually increasing the capacitance value, and retain the capacitance value curve segment on both sides of the highest point according to the preset width value, and then calculate the capacitance value of each segment. The center of gravity of the curve serves as the contact point coordinate corresponding to the curve segment. 6. If _ please patent fine item 5 depends on frong screen multi-touch detection method, &quot; characteristic is 'when the coordinates of the rows and columns of two adjacent contact points are smaller than the preset seat 'threshold' The two adjacent sigma coordinates are merged into touch point coordinates by arithmetic mean. 7. The method for detecting a touch screen of a capacitive touch screen according to the above-mentioned item of claim 6 is characterized in that, in the case of only the side touch, the touch point is turned on the screen. To drag and drop images. 8. For example, the capacitive touch screen touch point double touch method described in the second item of the second item of the invention is characterized in that the distance between the straight lines between the two established touch points is made. The scale is shaped like a zoom; when one predetermined touch point is rotated about another predetermined touch point, it is determined to rotate the image. 9. As for the method of detecting the capacitance of the touch screen, the characteristic of the line is that the distance between the two straight lines of the two touch points changes. If the angle of rotation is less than the preset value, it is determined to scale the image; if the angle of rotation is greater than the value of pre-201237719, it is determined to rotate the image. 10. The method according to claim 8, wherein the one of the two predetermined touch points does not move, and the other one moves as the mobile touch point moves. If the angle between the two connected touch points is less than the preset angle, it is determined to scale the image; if the angle between the moving direction of the moving touch point and the line connecting the two established touch points is greater than the preset angle, The trick is to rotate the image.
TW100108004A 2011-03-10 2011-03-10 Capacitive touch panel multi-touch detection method TW201237719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100108004A TW201237719A (en) 2011-03-10 2011-03-10 Capacitive touch panel multi-touch detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100108004A TW201237719A (en) 2011-03-10 2011-03-10 Capacitive touch panel multi-touch detection method

Publications (1)

Publication Number Publication Date
TW201237719A true TW201237719A (en) 2012-09-16

Family

ID=47223213

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100108004A TW201237719A (en) 2011-03-10 2011-03-10 Capacitive touch panel multi-touch detection method

Country Status (1)

Country Link
TW (1) TW201237719A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133600A (en) * 2013-05-02 2014-11-05 义隆电子股份有限公司 Liquid identification method of touch panel

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133600A (en) * 2013-05-02 2014-11-05 义隆电子股份有限公司 Liquid identification method of touch panel
CN104133600B (en) * 2013-05-02 2017-06-30 义隆电子股份有限公司 Liquid identification method of touch panel

Similar Documents

Publication Publication Date Title
US9182884B2 (en) Pinch-throw and translation gestures
US9870137B2 (en) Speed/positional mode translations
Rosenberg et al. The UnMousePad: an interpolating multi-touch force-sensing input pad
TWI378378B (en) Device and method for preventing the influence of conducting material from point detection of projected capacitive touch panel
TWI496041B (en) Two-dimensional touch sensors
US8179408B2 (en) Projective capacitive touch apparatus, and method for identifying distinctive positions
JP5674674B2 (en) Occurrence of gestures tailored to the hand placed on the surface
US7924271B2 (en) Detecting gestures on multi-event sensitive devices
TWI529574B (en) Electronic device and operation method thereof
US8970503B2 (en) Gestures for devices having one or more touch sensitive surfaces
US7777732B2 (en) Multi-event input system
US7877707B2 (en) Detecting and interpreting real-world and security gestures on touch and hover sensitive devices
US20110221701A1 (en) Multi-touch detection method for capacitive touch screens
CN101840295A (en) Multipoint touch detection method of capacitance touch screen
CN105992992B (en) Low shape TrackPoint
KR20150143671A (en) Grip force sensor array for one-handed and multimodal interaction on handheld devices and methods
TW201234279A (en) User input utilizing dual line scanner apparatus and method
TW201013490A (en) Detecting method for a touch panel
JP2012530964A (en) Detection of contact on a curved surface
KR20100072207A (en) Detecting finger orientation on a touch-sensitive device
JP2012522317A (en) Detection of contact on a curved surface
KR20140022477A (en) Detection of gesture orientation on repositionable touch surface
TW201015394A (en) Method of tracking touch inputs and related touch input tracking device and computer system
CN106462350A (en) Mobile terminal
CN104885043B (en) Touch-sensing device and method