TW201514811A - Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate - Google Patents

Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate Download PDF

Info

Publication number
TW201514811A
TW201514811A TW102136096A TW102136096A TW201514811A TW 201514811 A TW201514811 A TW 201514811A TW 102136096 A TW102136096 A TW 102136096A TW 102136096 A TW102136096 A TW 102136096A TW 201514811 A TW201514811 A TW 201514811A
Authority
TW
Taiwan
Prior art keywords
touch
sensing
data
point
differential
Prior art date
Application number
TW102136096A
Other languages
Chinese (zh)
Other versions
TWI493424B (en
Inventor
Chi-Tien Yeh
Foma Lian-Xing Feng
Original Assignee
Holtek Semiconductor Inc
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 Holtek Semiconductor Inc filed Critical Holtek Semiconductor Inc
Priority to TW102136096A priority Critical patent/TWI493424B/en
Priority to CN201310499964.0A priority patent/CN104516569B/en
Publication of TW201514811A publication Critical patent/TW201514811A/en
Application granted granted Critical
Publication of TWI493424B publication Critical patent/TWI493424B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

A method for detecting multi-touch includes scanning a sensing line to obtain an analog data, converting the analog data into a digital data, performing a differential processing for the digital data to obtain a differential data, determining at least one touch point corresponding to the sensing line according to a threshold and the differential data, and calculating a coordinate for each touch point according to the digital data corresponding to the touch point.

Description

具有多點觸控功能之觸控裝置、其多點觸控的偵測方法及其座標計算方法 Touch device with multi-touch function, multi-touch detection method and coordinate calculation method thereof

本發明是關於一種觸控技術,特別是關於一種具有多點觸控功能之觸控裝置、其多點觸控的偵測方法及其座標計算方法。 The invention relates to a touch technology, in particular to a touch device with multi-touch function, a multi-touch detection method and a coordinate calculation method thereof.

觸控面板是目前電子產品中常見的一種使用者介面。較常見的觸控技術包括電阻式、電容式以及光學式等。其中,電容式觸控面板由於具有高準確率、多點觸控、高耐用性以及高觸控解析度等特點。 The touch panel is a common user interface in current electronic products. More common touch technologies include resistive, capacitive, and optical. Among them, the capacitive touch panel has the characteristics of high accuracy, multi-touch, high durability and high touch resolution.

在習知觸控偵測方法中,首先,在一週期內,固定掃瞄觸控面板上全部的電容感測器並記錄其電容值。接著,在一預定時間內,將各點之電容值與一臨界值相比較。並且,當電容值在預定時間內持續超過臨界值,則判斷存在一有效單點觸控。反之,當電容值當中沒有任何電容值持續超過臨界值,則判斷不存在有效單點觸控。然而,在多點觸控上,以硬體的角度而言,硬體式先後偵測到兩指的觸碰,如此會造成硬體執行錯誤的指令。舉例而言,當硬體偵測到第一指的觸碰時,立即執行相對應的觸控指令,然而實際上 使用者卻是欲執行多點觸控。因此,隨之發展出多點觸控的偵測方法,以避免將多點觸控誤判斷為單點觸控,造成誤動作。 In the conventional touch detection method, first, all the capacitive sensors on the touch panel are fixedly scanned and the capacitance values are recorded in one cycle. Next, the capacitance value of each point is compared with a threshold value for a predetermined time. And, when the capacitance value continues to exceed the critical value for a predetermined time, it is determined that there is an effective single touch. Conversely, when none of the capacitance values exceeds the critical value, it is determined that there is no effective single touch. However, in multi-touch, in terms of hardware, the hardware detects the touch of two fingers in succession, which causes the hardware to execute the wrong command. For example, when the hardware detects the touch of the first finger, the corresponding touch command is executed immediately, but actually The user is trying to perform multi-touch. Therefore, a multi-touch detection method has been developed to avoid misjudging multi-touch as a single touch and causing malfunction.

一種習知多點觸控的偵測方法是以軸交錯式(Axis intersect)技術實現,其是以偵測波峰波谷來判斷手指的數目並以質心公式計算座標。在觸控偵測時,感測控制器會分別掃描水平軸與垂直軸,並且將各軸的電容值變化經由類比數位轉換器(ADC)轉換為數位信號後再進行判斷。於此,在產生電容偶合的水平或垂直感應點會出現上升的波峰(peak),而這兩軸的交會處即判斷為有效的觸控點。判定觸控點後,再以質心公式計算對應之座標值。然而,由於類比數位轉換器的輸出值易遭受雜訊的汙染,因而導致計算得的觸控點的座標不正確。 A conventional multi-touch detection method is implemented by an Axis intersecting technique, which detects the number of fingers by detecting peaks and valleys and calculates coordinates by a centroid formula. In the touch detection, the sensing controller scans the horizontal axis and the vertical axis respectively, and converts the capacitance value of each axis into a digital signal through an analog digital converter (ADC) before judging. Here, a rising peak appears at the horizontal or vertical sensing point where the capacitive coupling occurs, and the intersection of the two axes is judged to be a valid touch point. After determining the touch point, calculate the corresponding coordinate value by the centroid formula. However, since the output value of the analog digital converter is susceptible to noise pollution, the coordinates of the calculated touch points are incorrect.

在一實施例中,一種多點觸控的偵測方法包括:掃描一感應線以得到一類比資料、將類比資料轉換成數位資料、對數位資料進行微分計算以得到一微分資料、根據一閥值以及微分資料判斷對應感應線的至少一觸控點、以及根據各觸控點所對應的數位資料計算一坐標值。 In an embodiment, a multi-touch detection method includes: scanning a sensing line to obtain an analog data, converting the analog data into digital data, and performing differential calculation on the digital data to obtain a differential data according to a valve. The value and the differential data determine at least one touch point of the corresponding sensing line, and calculate a coordinate value according to the digital data corresponding to each touch point.

在一實施例中,一種座標計算方法包括:掃描一感應線以得到一類比資料、將類比資料轉換成數位資料、根據一閥值以及數位資料判斷對應感應線的至少一觸控點、以及根據各觸控點所臨近的複數個感應點之間的差動值計算一坐標值。其中,各感應點為整數。 In one embodiment, a coordinate calculation method includes: scanning a sensing line to obtain an analog data, converting the analog data into digital data, determining at least one touch point of the corresponding sensing line according to a threshold value and digital data, and A differential value between a plurality of sensing points adjacent to each touch point calculates a coordinate value. Wherein, each sensing point is an integer.

在一實施例中,一種具有多點觸控功能之觸控裝置包括:複數條第一感應線、複數條第二感應線、一第一驅動單元、一第二驅動單元以及一控制單元。 In one embodiment, a touch device having a multi-touch function includes: a plurality of first sensing lines, a plurality of second sensing lines, a first driving unit, a second driving unit, and a control unit.

此些第一感應線相互平行配置。複數條第二感應線相互平行配置並且與第一感應線交錯。第一驅動單元電性連接第一感應線,而第二驅動單元電性連接第二感應線。 The first sensing lines are arranged in parallel with each other. The plurality of second sensing lines are arranged in parallel with each other and are interleaved with the first sensing line. The first driving unit is electrically connected to the first sensing line, and the second driving unit is electrically connected to the second sensing line.

控制單元致能第一驅動單元與第二驅動單元,以致使第一驅動單元依序掃描第一感應線而產生對應各第一感應線的第一類比資料,以及第二驅動單元依序掃描第二感應線而產生對應各第二感應線的第二類比資料。第一驅動單元與第二驅動單元分別將第一類比資料與第二類比資料轉換成第一數位資料與第二數位資料。控制單元根據至少一閥值、各第一數位資料的微分資料與各第二數位資料的微分資料判斷至少一有效觸控位置。其中,各有效觸控位置是由在一第一感應線上的一觸控點與在一第二感應線上的另一觸控點所構成。 The control unit enables the first driving unit and the second driving unit, so that the first driving unit sequentially scans the first sensing line to generate first analog data corresponding to each first sensing line, and the second driving unit sequentially scans The second sensing line generates a second analog data corresponding to each of the second sensing lines. The first driving unit and the second driving unit respectively convert the first analog data and the second analog data into the first digital data and the second digital data. The control unit determines at least one effective touch position according to the at least one threshold value, the differential data of each first digital data, and the differential data of each second digital data. The effective touch positions are formed by one touch point on a first sensing line and another touch point on a second sensing line.

綜上,根據本發明之具有多點觸控功能之觸控裝置、其多點觸控的偵測方法及其座標計算方法以差動方式來判斷手指的數目及/或計算座標,以提升對雜訊的耐受力。 In summary, the touch device with multi-touch function, the multi-touch detection method and the coordinate calculation method thereof according to the present invention determine the number of fingers and/or calculate the coordinates in a differential manner to enhance the pair. The tolerance of noise.

110‧‧‧觸控面板 110‧‧‧Touch panel

112‧‧‧第一感應線 112‧‧‧First induction line

114‧‧‧第二感應線 114‧‧‧Second induction line

130‧‧‧第一驅動單元 130‧‧‧First drive unit

150‧‧‧第二驅動單元 150‧‧‧Second drive unit

170‧‧‧控制單元 170‧‧‧Control unit

171‧‧‧微分模組 171‧‧‧Differential Module

173‧‧‧辨識模組 173‧‧‧ Identification Module

175‧‧‧比較模組 175‧‧‧Comparative Module

177‧‧‧計算模組 177‧‧‧Computation Module

210‧‧‧掃描各感應線以得到對應之類比資料 210‧‧‧ Scan each sensor line to get the corresponding analog data

230‧‧‧將此類比資料轉換成數位資料 230‧‧‧ Converting such ratio data into digital data

250‧‧‧對此數位資料進行微分計算以得到一微分資料 250‧‧‧Differentiate the digital data to obtain a differential data

270‧‧‧根據各觸控點所對應的數位資料計算對應的坐標值 270‧‧‧ Calculate the corresponding coordinate value according to the digital data corresponding to each touch point

S1‧‧‧數位資料 S1‧‧‧ digital data

S2‧‧‧數位資料 S2‧‧‧ digital data

f(x)‧‧‧函數 f (x)‧‧‧ function

(x-1)‧‧‧感應點 (x-1)‧‧‧Feeling points

x‧‧‧感應點 X‧‧‧ sensing points

(x+1)‧‧‧感應點 (x+1)‧‧‧Feeling points

(x+δ)‧‧‧坐標值 (x+ δ ) ‧ ‧ coordinates

第1圖是根據本發明一實施例之具有多點觸控功能之觸控裝置的概要示意圖。 FIG. 1 is a schematic diagram of a touch device with multi-touch function according to an embodiment of the invention.

第2圖是根據本發明一實施例之多點觸控的偵測方法的 流程圖。 FIG. 2 is a diagram of a method for detecting multi-touch according to an embodiment of the invention flow chart.

第3圖是第1圖之控制單元的一實施例的概要示意圖。 Fig. 3 is a schematic diagram showing an embodiment of a control unit of Fig. 1.

第4圖是數位資料的一實施例的波形示意圖。 Figure 4 is a waveform diagram of an embodiment of digital data.

第5圖是一次微分資料的一實施例的數位感測值-座標關係圖。 Figure 5 is a digital sensed value-coordinate relationship diagram of an embodiment of a differential data.

第6圖是二次微分資料的一實施例的微分數值-座標關係圖。 Fig. 6 is a differential numerical value-coordinate relationship diagram of an embodiment of the second differential data.

第7圖是數位資料的另一實施例的數位感測值-座標關係圖。 Figure 7 is a digital sensed value-coordinate relationship diagram of another embodiment of digital data.

參照第1圖,一種具有多點觸控功能之觸控裝置包括一觸控面板110、一第一驅動單元130、一第二驅動單元150、以及一控制單元170。 Referring to FIG. 1 , a touch device having a multi-touch function includes a touch panel 110 , a first driving unit 130 , a second driving unit 150 , and a control unit 170 .

觸控面板110包括多條感應線。於此,此些感應線主要區分成複數條第一感應線112以及複數條第二感應線114。第一感應線112均以第一方向延伸、彼此平行且間隔配置。第二感應線114均以第二方向延伸、彼此平行且間隔配置。第一方向與第二方向交錯。較佳地,第一方向是大致上垂直於第二方向。換言之,此些第一感應線112與此些第二感應線114交錯,且第一感應線112大致上垂直於第二感應線114。其中,第一感應線112與第二感應線114的相交處是個別絕緣間隔。 The touch panel 110 includes a plurality of sensing lines. Here, the sensing lines are mainly divided into a plurality of first sensing lines 112 and a plurality of second sensing lines 114. The first sensing lines 112 each extend in the first direction, are parallel to each other, and are arranged at intervals. The second sensing lines 114 each extend in the second direction and are arranged parallel to each other and at intervals. The first direction is interleaved with the second direction. Preferably, the first direction is substantially perpendicular to the second direction. In other words, the first sensing lines 112 are interlaced with the second sensing lines 114 , and the first sensing lines 112 are substantially perpendicular to the second sensing lines 114 . The intersection of the first sensing line 112 and the second sensing line 114 is an individual insulating interval.

第一驅動單元130電性連接第一感應線112,而第二驅動單元150電性連接第二感應線114。控制單元170電 性連接第一驅動單元130以及第二驅動單元150。 The first driving unit 130 is electrically connected to the first sensing line 112 , and the second driving unit 150 is electrically connected to the second sensing line 114 . Control unit 170 The first driving unit 130 and the second driving unit 150 are connected.

搭配參照第2圖,控制單元170致能第一驅動單元130以及第二驅動單元150,以致使第一驅動單元130驅動一掃描信號依序掃描第一感應線112,而第二驅動單元150驅動另一掃描信號依序掃描第二感應線114(步驟210)。 Referring to FIG. 2, the control unit 170 enables the first driving unit 130 and the second driving unit 150 to cause the first driving unit 130 to drive a scan signal to sequentially scan the first sensing line 112, and the second driving unit 150 to drive Another scan signal sequentially scans the second sensing line 114 (step 210).

於掃描時,第一驅動單元130能自所掃描的第一感應線112偵測一類比資料(以下稱之為第一類比資料)(步驟210)。第一類比資料具有分別對應此第一感應線112上的多個感應點的感測值。第一驅動單元130中具有一類比數位轉換器。此類比數位轉換器將第一類比資料轉換成數位資料S1(以下稱之為第一數位資料S1),並將第一數位資料S1輸出給控制單元170(步驟230)。 During scanning, the first driving unit 130 can detect an analog data (hereinafter referred to as a first analog data) from the scanned first sensing line 112 (step 210). The first analog data has sensing values respectively corresponding to the plurality of sensing points on the first sensing line 112. The first driving unit 130 has an analog digital converter. Such a ratio digital converter converts the first analog data into digital data S1 (hereinafter referred to as first digital data S1), and outputs the first digital data S1 to the control unit 170 (step 230).

於掃描時,第二驅動單元150能自所掃描的第二感應線114偵測一類比資料(以下稱之為第二類比資料)(步驟210)。第二類比資料具有分別對應此第二感應線114上的多個感應點的感測值。第二驅動單元150中具有一類比數位轉換器。此類比數位轉換器將第二類比資料轉換成數位資料S2(以下稱之為第二數位資料S2)後,並將第二數位資料S2輸出給控制單元170(步驟230)。 During scanning, the second driving unit 150 can detect an analog data (hereinafter referred to as a second analog data) from the scanned second sensing line 114 (step 210). The second analog data has sensing values respectively corresponding to the plurality of sensing points on the second sensing line 114. The second driving unit 150 has an analog-to-digital converter. Such a ratio analog converter converts the second analog data into digital data S2 (hereinafter referred to as second digital data S2), and outputs the second digital data S2 to the control unit 170 (step 230).

控制單元170則根據第一數位資料S1以及第二數位資料S2判斷是否存在一個或多個有效觸控位置,藉以產生對應有效觸控位置的指令。於此,控制單元170對接收到的各組數位資料(第一數位資料S1或第二數位資料S2)進行微分計算以得到一微分資料,再根據一閥值以及微分資料判 斷發生在感應線上的至少一觸控點(步驟250)。於此,在第一感應線112上的一觸控點與在第二感應線114上的另一觸控點能構成一有效觸控位置。 The control unit 170 determines whether there is one or more effective touch positions according to the first digital data S1 and the second digital data S2, thereby generating an instruction corresponding to the effective touch position. Here, the control unit 170 differentially calculates the received digital data (the first digital data S1 or the second digital data S2) to obtain a differential data, and then judges according to a threshold value and differential data. Breaking at least one touch point occurring on the sensing line (step 250). In this case, a touch point on the first sensing line 112 and another touch point on the second sensing line 114 can form an effective touch position.

當發現觸控點存在時,控制單元170根據各觸控點所對應的數位資料計算對應的坐標值(步驟270)。 When the touch point is found, the control unit 170 calculates a corresponding coordinate value according to the digital data corresponding to each touch point (step 270).

參照第3圖,在一些實施例中,控制單元170包括一微分模組171、一辨識模組173以及一比較模組175。 Referring to FIG. 3, in some embodiments, the control unit 170 includes a differential module 171, an identification module 173, and a comparison module 175.

微分模組171的輸入電性連接第一驅動單元130以及第二驅動單元150,而微分模組171的輸出電性連接辨識模組173。辨識模組173電性連接在微分模組171與比較模組175之間。 The input of the differential module 171 is electrically connected to the first driving unit 130 and the second driving unit 150, and the output of the differential module 171 is electrically connected to the identification module 173. The identification module 173 is electrically connected between the differentiation module 171 and the comparison module 175.

以第一方向為X軸方向以及第二方向為Y軸方向為例,控制單元170於此X軸座標(對應第一感應線112)與Y軸座標(對應第二感應線114)的處理方式相同,故以下僅以X軸座標進行詳細說明。 Taking the first direction as the X-axis direction and the second direction as the Y-axis direction, the control unit 170 processes the X-axis coordinates (corresponding to the first sensing line 112) and the Y-axis coordinates (corresponding to the second sensing line 114). The same, so the following only describes the X-axis coordinates in detail.

於此,類比數位轉換器輸出給微分模組171的對應一感應線的數位資料如第4圖所示。 Here, the digital data output from the analog digital converter to the corresponding sensing line of the differential module 171 is as shown in FIG. 4.

參照第4圖,圖式中所顯示的數位資料具有一波峰(peak)。一般來講,當此波峰的數位感測值超過閥值時即表示一觸控點存在。 Referring to Figure 4, the digital data shown in the figure has a peak. Generally speaking, when the digital sensed value of the peak exceeds the threshold, a touch point exists.

於此,控制單元170可以微分資料進行判斷,以提高對雜訊的耐受力。 Here, the control unit 170 can differentiate the data for judgment to improve the tolerance to noise.

在一些實施例中,微分模組171將接收到的數位資料(第一數位資料S1或第二數位資料S2)進行二次微分以 得到一筆二次微分資料。 In some embodiments, the differentiation module 171 performs the second derivative of the received digital data (the first digital data S1 or the second digital data S2). Get a second differential data.

以第4圖顯示之數位資料為例,將數位資料進行微分,即執行f(x)-f(x-1),以得一次微分資料(如第5圖所示)。由第5圖可見,在第4圖中顯示波峰的對應位置有一從正值到負值的交會點。 Taking the digital data shown in Figure 4 as an example, the digital data is differentiated, that is, f ( x )- f ( x -1) is executed to obtain a differential data (as shown in Fig. 5). As can be seen from Fig. 5, in Fig. 4, the corresponding position of the peak is shown to have a point of intersection from a positive value to a negative value.

再將第5圖的一次微分資料進行微分,即執行f(x)=(f(x+1)-f(x))-(f(x)-f(x-1)),以得二次微分資料(如第6圖所示)。由第5圖可見,在第4圖中顯示波峰的對應位置有一極值。 Then differentiate the first differential data in Fig. 5, that is, execute f ( x )=( f ( x +1)- f ( x ))-( f ( x )- f ( x -1)) to get two Sub-differential data (as shown in Figure 6). As can be seen from Fig. 5, in Fig. 4, the corresponding position of the peak is shown to have an extreme value.

因此,辨識模組173接收來自微分模組171的二次微分資料,並且偵測二次微分資料的極值。比較模組175再將辨識模組173得到的極值取絕對值,並將此絕對值與一閥值比較。當此絕對值大於閥值時,比較模組175判定此極值所在位置有一觸控發生,即觸控點存在。當此絕對值不大於閥值時,比較模組175則判定此極值所在位置無觸控發生,即非觸控點存在。 Therefore, the identification module 173 receives the secondary differential data from the differential module 171 and detects the extreme value of the secondary differential data. The comparison module 175 then takes the absolute value obtained by the identification module 173 as an absolute value and compares the absolute value with a threshold. When the absolute value is greater than the threshold, the comparison module 175 determines that a touch occurs at the location of the extreme value, that is, the touch point exists. When the absolute value is not greater than the threshold, the comparison module 175 determines that there is no touch at the location of the extreme value, that is, the non-touch point exists.

於此,控制單元170更包括一計算模組177。比較模組175電性連接在辨識模組173與計算模組177之間。當比較模組175判斷觸控點存在時,計算模組177則根據此觸控點所對應的數位資料計算坐標值。 Here, the control unit 170 further includes a calculation module 177. The comparison module 175 is electrically connected between the identification module 173 and the calculation module 177. When the comparison module 175 determines that the touch point exists, the calculation module 177 calculates the coordinate value according to the digital data corresponding to the touch point.

於此,計算模組177的計算原理如下。 Here, the calculation principle of the calculation module 177 is as follows.

假設對應一第一感應線112的數位資料如第7圖所示。其中,函數f(x)表示通過感應點(x-1)、x、(x+1)等3點的數位感測值的曲線。波峰的最高點發生於坐標值(x+δ),即 觸控點。 Assume that the digital data corresponding to a first sensing line 112 is as shown in FIG. Here, the function f (x) represents a curve of the digital sensed value passing through three points of the sensing point (x-1), x, (x+1), and the like. The highest point of the peak occurs at the coordinate value (x + δ ), which is the touch point.

針對f‘(x+δ)執行泰勒展開式,如下式1所示:f '(x+δ)=f '(x)+δf "(x)+… 式1 The Taylor expansion is performed for f '(x+ δ ), as shown in the following equation: f ' ( x + δ ) = f ' (x) + δ . f " ( x )+... Equation 1

由於最高點的斜率為0,即f‘(x+δ)=0,並且忽略泰勒展該式的高次項,因此可得到下式2:f '(x)+δf "(x)=0 式2 Since the slope of the highest point is 0, that is, f '(x + δ ) = 0, and Taylor's high-order term is ignored, the following equation 2 can be obtained: f ' ( x ) + δ . f " ( x ) = 0

並由式2可推得下式3: And Equation 2 can be derived from Equation 2:

因此,由感應點x的函數f(x)的一次微分f‘(x)與二次微分f“(x)即可求得最高點的坐標值(x+δ)。 Therefore, the coordinate value (x+ δ ) of the highest point can be obtained by the first derivative f '(x) of the function f (x) of the sensing point x and the second derivative f "(x).

其中,一次微分f‘(x)與二次微分f“(x)分別為下式4與式5: Among them, the first differential f '(x) and the second differential f "(x) are the following formulas 4 and 5, respectively:

f "(x)=f(x+1)-2f(x)+f(x-1) 式5 f " ( x )= f ( x +1) - 2 f ( x ) + f ( x -1)

將式4與式5代入式3可得到下式6: Substituting Equations 4 and 5 into Equation 3 yields Equation 6 below:

由式6可知,計算模組177可利用感應點x與感應點(x+1)的差動值(f(x+1)-f(x))以及感應點(x-1)與感應點x的差動值(f(x)-f(x-1))計算得觸控點的坐標值(x+δ)。 As can be seen from Equation 6, the calculation module 177 can utilize the differential value ( f ( x +1) - f ( x )) of the sensing point x and the sensing point (x+1) and the sensing point (x-1) and the sensing point. The differential value of x ( f ( x )- f ( x -1)) is calculated as the coordinate value (x+ δ ) of the touch point.

再以第4圖顯示之數位資料為例,波峰的最高點 出現在x=9(其數位資料的數位感測值為24),而最高點兩側的感應點分別為x=8(其數位感測值為22)以及x=10(其數位感測值為21)。計算模組177根據式6及對應之數位資料計算觸控點的坐標值(x+δ),可得到x+δ=8.9。也就是,觸控點的質心座標位於8.9。 Taking the digital data shown in Figure 4 as an example, the highest point of the peak appears at x=9 (the digital sensed value of the digital data is 24), and the sensing points on both sides of the highest point are x=8 (the digit thereof) The sensed value is 22) and x = 10 (the digital sensed value is 21). The calculation module 177 calculates the coordinate value (x+ δ ) of the touch point according to Equation 6 and the corresponding digital data, and obtains x+ δ = 8.9. That is, the centroid coordinates of the touch point are located at 8.9.

綜上,根據本發明之具有多點觸控功能之觸控裝置、其多點觸控的偵測方法及其座標計算方法以差動方式來判斷手指的數目及/或計算座標,以提升對雜訊的耐受力。 In summary, the touch device with multi-touch function, the multi-touch detection method and the coordinate calculation method thereof according to the present invention determine the number of fingers and/or calculate the coordinates in a differential manner to enhance the pair. The tolerance of noise.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in the foregoing embodiments, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

210‧‧‧掃描各感應線以得到對應之類比資料 210‧‧‧ Scan each sensor line to get the corresponding analog data

230‧‧‧將此類比資料轉換成數位資料 230‧‧‧ Converting such ratio data into digital data

250‧‧‧對此數位資料進行微分計算以得到一微分資料 250‧‧‧Differentiate the digital data to obtain a differential data

270‧‧‧根據各觸控點所對應的數位資料計算對應的坐標值 270‧‧‧ Calculate the corresponding coordinate value according to the digital data corresponding to each touch point

Claims (10)

一種多點觸控的偵測方法,包括:掃描複數條感應線以得到各自對應的類比資料;將各該類比資料轉換成一數位資料;對各該數位資料進行微分計算以得到一微分資料;根據一閥值以及各該微分資料判斷發生在對應之該感應線上的至少一觸控點;以及根據各該觸控點所對應的該數位資料計算一坐標值。 A multi-touch detection method includes: scanning a plurality of sensing lines to obtain corresponding analog data; converting each analog data into a digital data; performing differential calculation on each digital data to obtain a differential data; A threshold value and each of the differential data determine at least one touch point that occurs on the corresponding sensing line; and calculate a coordinate value according to the digital data corresponding to each touch point. 如請求項1所述之多點觸控的偵測方法,其中該微分計算的步驟為對該數位資料進行二次微分。 The method for detecting multi-touch according to claim 1, wherein the step of calculating the differential is to perform secondary differentiation on the digital data. 如請求項1所述之多點觸控的偵測方法,其中該偵測步驟包括:比較該微分資料中的每一極值的絕對值與該閥值;以及當該絕對值大於該閥值時,判定有該觸控點存在。 The method for detecting multi-touch according to claim 1, wherein the detecting step comprises: comparing an absolute value of each extreme value in the differential data with the threshold; and when the absolute value is greater than the threshold When it is determined that the touch point exists. 如請求項1所述之多點觸控的偵測方法,其中該計算步驟為依據下列公式計算該坐標值: 其中,該X+δ代表該坐標值、該X為該觸控點的前一感應點、該f()為通過對應感應點的曲線的函數、以及各該感應點為整數。 The method for detecting multi-touch according to claim 1, wherein the calculating step calculates the coordinate value according to the following formula: Wherein, the X+ δ represents the coordinate value, the X is a previous sensing point of the touch point, the f () is a function of a curve passing through the corresponding sensing point, and each of the sensing points is an integer. 一種座標計算方法,包括:掃描複數條感應線以得到各自對應的類比資料; 將各該類比資料轉換成一數位資料;根據一閥值以及各該數位資料判斷發生在對應之該感應線上的至少一觸控點;以及根據各該觸控點所臨近的複數個感應點之間的複數個差動值計算一坐標值,其中各該感應點為整數。 A coordinate calculation method includes: scanning a plurality of sensing lines to obtain respective corresponding analog data; Converting each of the analog data into a digital data; determining, according to a threshold value and each of the digital data, at least one touch point occurring on the corresponding sensing line; and between the plurality of sensing points adjacent to each of the touch points The plurality of differential values calculate a coordinate value, wherein each of the sensing points is an integer. 如請求項5所述之座標計算方法,其中該計算步驟為依據下列公式計算該坐標值: 其中,該X+δ代表該坐標值、該X為該觸控點的前一感應點、該f()為通過對應感應點的曲線的函數、以及各該感應點為整數。 The coordinate calculation method according to claim 5, wherein the calculating step calculates the coordinate value according to the following formula: Wherein, the X+ δ represents the coordinate value, the X is a previous sensing point of the touch point, the f () is a function of a curve passing through the corresponding sensing point, and each of the sensing points is an integer. 一種具有多點觸控功能之觸控裝置,包括:複數條第一感應線,相互平行配置;複數條第二感應線,相互平行配置並且與該些第一感應線交錯;一第一驅動單元,電性連接該些第一感應線,以依序掃描該些第一感應線而產生對應各該第一感應線的一第一類比資料,並將各該第一類比資料轉換成一第一數位資料;一第二驅動單元,電性連接該些第二感應線,以依序掃描該些第二感應線而產生對應各該第二感應線的一第二類比資料,並將各該第二類比資料轉換成一第二數位資料;以及 一控制單元,以致能該第一驅動單元與該第二驅動單元,以及根據至少一閥值、各該第一數位資料的微分資料與各該第二數位資料的微分資料判斷至少一有效觸控位置,其中各該有效觸控位置是由在該些第一感應線中之一上的一觸控點與在該些第二感應線中之一上的另一觸控點所構成。 A touch device with multi-touch function includes: a plurality of first sensing lines arranged in parallel with each other; and a plurality of second sensing lines arranged in parallel with each other and interlaced with the first sensing lines; a first driving unit Electrically connecting the first sensing lines to sequentially scan the first sensing lines to generate a first analog data corresponding to each of the first sensing lines, and converting each of the first analog data into a first digital position a second driving unit electrically connecting the second sensing lines to sequentially scan the second sensing lines to generate a second analog data corresponding to each of the second sensing lines, and each of the second Converting analog data into a second digit data; a control unit for determining the first driving unit and the second driving unit, and determining at least one effective touch according to the at least one threshold, the differential data of each of the first digital data, and the differential data of each of the second digital materials a position, wherein each of the effective touch positions is formed by a touch point on one of the first sensing lines and another touch point on one of the second sensing lines. 如請求項7所述之具有多點觸控功能之觸控裝置,其中各該微分資料為一二次微分資料。 The touch device with multi-touch function as described in claim 7, wherein each of the differential data is a second-order differential data. 如請求項7所述之具有多點觸控功能之觸控裝置,其中該控制單元用以比較各該微分資料中的每一極值的絕對值與該閥值,以及當該絕對值大於該閥值時,判定有該觸控點存在。 The touch device with multi-touch function as described in claim 7, wherein the control unit is configured to compare an absolute value of each extreme value in each of the differential data with the threshold, and when the absolute value is greater than the At the threshold, it is determined that the touch point exists. 如請求項7所述之具有多點觸控功能之觸控裝置,其中該控制單元用以依據下列公式計算各該觸控點的坐標值: 其中,該X+δ代表該坐標值、該X為該觸控點的前一感應點、該f()為通過對應感應點的曲線的函數、以及各該感應點為整數。 The touch device with multi-touch function as described in claim 7, wherein the control unit is configured to calculate coordinate values of each touch point according to the following formula: Wherein, the X+ δ represents the coordinate value, the X is a previous sensing point of the touch point, the f () is a function of a curve passing through the corresponding sensing point, and each of the sensing points is an integer.
TW102136096A 2013-10-04 2013-10-04 Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate TWI493424B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102136096A TWI493424B (en) 2013-10-04 2013-10-04 Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate
CN201310499964.0A CN104516569B (en) 2013-10-04 2013-10-22 Touch device, multi-point touch detection method thereof and coordinate calculation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102136096A TWI493424B (en) 2013-10-04 2013-10-04 Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate

Publications (2)

Publication Number Publication Date
TW201514811A true TW201514811A (en) 2015-04-16
TWI493424B TWI493424B (en) 2015-07-21

Family

ID=52792000

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102136096A TWI493424B (en) 2013-10-04 2013-10-04 Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate

Country Status (2)

Country Link
CN (1) CN104516569B (en)
TW (1) TWI493424B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404420A (en) * 2015-11-04 2016-03-16 宸鸿科技(厦门)有限公司 Pressure sensing signal processing method and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021260B (en) * 2016-10-28 2021-06-11 矽统科技股份有限公司 Touch detection method
CN108958565B (en) * 2018-09-26 2021-05-04 深圳市德明利技术股份有限公司 Coordinate calculation method for multi-point capacitive touch, touch device and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663607B2 (en) * 2004-05-06 2010-02-16 Apple Inc. Multipoint touchscreen
CN100412766C (en) * 2003-08-29 2008-08-20 诺基亚公司 Method and device for recognizing dual point user input on touch based user input device
TWI387914B (en) * 2008-08-13 2013-03-01 Au Optronics Corp Projective capacitive touch apparatus, and method for identifying multi-touched positions
CN100594475C (en) * 2008-08-26 2010-03-17 友达光电股份有限公司 Projection type capacitance touch control device and method for recognizing different contact position
US9417739B2 (en) * 2009-05-29 2016-08-16 3M Innovative Properties Company High speed multi-touch touch device and controller therefor
KR101398238B1 (en) * 2010-10-01 2014-05-22 엘지디스플레이 주식회사 Display device having touch screen panel
CN103186304B (en) * 2013-01-21 2016-01-27 敦泰科技有限公司 Realize individual layer self-capacitance touch screen and the data processing method thereof of multiple point touching identification

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404420A (en) * 2015-11-04 2016-03-16 宸鸿科技(厦门)有限公司 Pressure sensing signal processing method and system
TWI588707B (en) * 2015-11-04 2017-06-21 宸鴻科技(廈門)有限公司 A pressure-sensitive signal processing method and system thereof
CN105404420B (en) * 2015-11-04 2018-03-09 宸鸿科技(厦门)有限公司 Pressure-sensing signal processing method and its system

Also Published As

Publication number Publication date
CN104516569A (en) 2015-04-15
TWI493424B (en) 2015-07-21
CN104516569B (en) 2017-10-24

Similar Documents

Publication Publication Date Title
TWI590134B (en) Scan method of a touch panel
US9069427B2 (en) High noise immunity sensing methods and apparatus for a capacitive touch device
TWI463389B (en) Capacitive touch system and method of operating a capacitive touch system
US8497851B2 (en) Method and device for analyzing positions
US8816987B2 (en) Method and device for signal detection
TWI400645B (en) Touch determining method and touch gesture determining method thereof
KR20070111266A (en) Apparatus and method for sensing movement of fingers using multi-touch sensor arrays
TW201342167A (en) Sensing method and apparatus to improve noise interference of capacitive type touch control device
JP2013065275A (en) Margin grip detection method of touch panel and device regarding the margin grip detection method of touch panel
US9471186B2 (en) Method for improving linearity of touch system coordinates
TWI483159B (en) Touch apparatus and touch method using the same
TWI448934B (en) Method for determining touch point
US20110050633A1 (en) Detector circuit and detect method of a capacitive touch panel
US20110157074A1 (en) Touch detecting device and method
TWI493424B (en) Multi-touch device, method for detecting multi-touch thereof and method for calculating coordinate
TWI427518B (en) Touch sensing circuit and touch sensing method
TWI428809B (en) Two - dimensional structure of the capacitive touchpad positioning method
CN103164087A (en) Detection method of touch position of capacitive touch screen
TWI448947B (en) Capacitive touchpad detection method
TWI507960B (en) Touch control system and coordinate correcting method thereof
KR20140104734A (en) Circuit and method for selecting coordinates in differential touch sensing system
TWI463366B (en) Hybrid floating compensation method of touch panel
TWI470521B (en) Self-capacitive touch control apparatus and control method thereof
US20180121021A1 (en) Touch detection method
TWI421755B (en) Touch panel and touching point detection method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees