TWI480778B - Touch device and method for detecting touch thereof - Google Patents

Touch device and method for detecting touch thereof Download PDF

Info

Publication number
TWI480778B
TWI480778B TW101122849A TW101122849A TWI480778B TW I480778 B TWI480778 B TW I480778B TW 101122849 A TW101122849 A TW 101122849A TW 101122849 A TW101122849 A TW 101122849A TW I480778 B TWI480778 B TW I480778B
Authority
TW
Taiwan
Prior art keywords
touch
value
point
block
values
Prior art date
Application number
TW101122849A
Other languages
Chinese (zh)
Other versions
TW201401122A (en
Inventor
Jui Ming Liu
Li Lin Liu
Chung Wen Chang
Shen Feng Tai
Original Assignee
Himax Tech 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 Himax Tech Ltd filed Critical Himax Tech Ltd
Priority to TW101122849A priority Critical patent/TWI480778B/en
Publication of TW201401122A publication Critical patent/TW201401122A/en
Application granted granted Critical
Publication of TWI480778B publication Critical patent/TWI480778B/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

觸控裝置及其觸控偵測方法Touch device and touch detection method thereof

本發明是有關於一種觸控裝置及其觸控偵測方法,且特別是有關於一種可判斷一觸控區塊是否為對應單點觸控或多點觸控的觸控裝置及應用於此觸控裝置的觸控偵測方法。The present invention relates to a touch device and a touch detection method thereof, and more particularly to a touch device capable of determining whether a touch block is a single touch or a multi touch, and is applicable to the touch device. Touch detection method of the touch device.

隨著資訊技術、無線行動通訊和資訊家電的快速發展與應用,為了達到攜帶便利、體積輕巧化以及操作人性化的目的,許多資訊產品已由傳統之鍵盤或滑鼠等輸入裝置,轉變為使用觸控面板(Touch Panel)作為輸入裝置。目前的觸控面板大致可分為電容式觸控面板以及電阻式觸控面板。並且,隨著多點觸控(multi-touch)技術的需求增加,投射電容式觸控技術已成為觸控面板技術的主流之一。With the rapid development and application of information technology, wireless mobile communication and information appliances, many information products have been transformed from traditional keyboards or mouse input devices to use for the convenience of portability, light weight and user-friendly operation. A touch panel is used as an input device. Current touch panels can be roughly classified into capacitive touch panels and resistive touch panels. Moreover, with the increasing demand for multi-touch technology, projected capacitive touch technology has become one of the mainstream of touch panel technology.

由於人體可視為良好導體,因此投射電容式觸控面板的透明電極(ITO)會與人體形成電容。在人體(如手指)靠近投射電容式觸控面板時,投射電容式觸控面板的各感測區域的電容值會變化,藉此可偵測人體的觸控點。然而,當兩個觸控點太過靠近時,電容值變化的觸控區域會相鄰,以致於這些電容值變化的觸控區域被視為對應同一觸控點,造成觸控裝置無法正確反應使用者的觸控點。Since the human body can be regarded as a good conductor, the transparent electrode (ITO) of the projected capacitive touch panel forms a capacitance with the human body. When the human body (such as a finger) approaches the projected capacitive touch panel, the capacitance value of each sensing area of the projected capacitive touch panel changes, thereby detecting the touch point of the human body. However, when the two touch points are too close, the touch areas whose capacitance values change are adjacent, so that the touch areas whose capacitance values change are regarded as corresponding to the same touch point, and the touch device cannot respond correctly. The user's touch point.

本發明提供一種觸控裝置及應用於此觸控裝置的觸 控偵測方法,其可偵測一觸控區塊是否為對應單點觸碰或多點觸碰。The invention provides a touch device and a touch applied to the touch device The control detection method can detect whether a touch block is corresponding to a single touch or a multi-touch.

本發明提出一種觸控裝置,包括觸控面板及觸控偵測單元。觸控面板具有多個觸控區域。觸控偵測單元耦接觸控面板,用以偵測這些觸控區域對應的多個觸控值,並且依據這些觸控值及觸控臨界值決定觸控區塊。觸控偵測單元依序相互比較對應觸控區塊中相鄰觸控區域的觸控值以判斷觸控區塊是否有觸控值谷點,並依據是否有觸控值谷點判斷觸控區塊為對應單點觸控或多點觸控。位於觸控區塊的這些觸控區域為彼此相鄰。The invention provides a touch device, which comprises a touch panel and a touch detection unit. The touch panel has a plurality of touch areas. The touch detection unit is coupled to the touch panel to detect a plurality of touch values corresponding to the touch areas, and the touch blocks are determined according to the touch values and the touch threshold values. The touch detection unit sequentially compares the touch values of the adjacent touch areas in the touch block to determine whether the touch block has a touch value valley, and determines whether the touch is based on whether there is a touch value. The block is corresponding to single touch or multi-touch. The touch areas located in the touch block are adjacent to each other.

在本發明之一實施例中,觸控偵測單元將對應第一最高觸控值作為第一觸控點,並且觸控偵測單元以第一觸控點為比較起始點以依序相互比較對應相鄰觸控區域的觸控值。當所述相鄰觸控區域中離第一觸控點較遠的一觸控區域對應的第一觸控值大於所述相鄰觸控區域中離第一觸控點較近的另一觸控區域對應的第二觸控值時,觸控偵測單元判斷第二觸控值為觸控值谷點,並且依據觸控值谷點判斷對應第一觸控點的這些觸控值。並且,觸控偵測單元將在非對應第一觸控點的這些觸控值中的第二最高觸控值對應的觸控區域作為第二觸控點。In an embodiment of the present invention, the touch detection unit uses the first highest touch value as the first touch point, and the touch detection unit uses the first touch point as a comparison starting point to sequentially Compare the touch values corresponding to the adjacent touch areas. The first touch value corresponding to a touch area of the adjacent touch area that is farther from the first touch point is greater than the other touch of the adjacent touch area that is closer to the first touch point. When the touch control unit determines the second touch value, the touch detection unit determines that the second touch value is the touch value valley point, and determines the touch values corresponding to the first touch point according to the touch value valley point. The touch detection unit uses the touch area corresponding to the second highest touch value of the touch values that are not corresponding to the first touch point as the second touch point.

在本發明之一實施例中,當對應觸控區塊的這些觸控值皆相互比較過時,觸控偵測單元停止判斷觸控區塊的觸控值谷點。In an embodiment of the invention, when the touch values of the corresponding touch blocks are compared with each other, the touch detection unit stops determining the touch value valley of the touch block.

在本發明之一實施例中,當沒有觸控值谷點時,觸控 偵測單元判斷觸控區塊為對應單點觸控。當有觸控值谷點時,觸控偵測單元判斷觸控區塊為對應多點觸控。In an embodiment of the invention, when there is no touch value valley, the touch The detecting unit determines that the touch block is corresponding to a single touch. When there is a touch value valley point, the touch detection unit determines that the touch block is corresponding to multi-touch.

在本發明之一實施例中,觸控面板為投射電容式觸控面板或數位式電阻觸控面板。In an embodiment of the invention, the touch panel is a projected capacitive touch panel or a digital resistive touch panel.

本發明亦提出一種觸控面板的觸控偵測方法,其包括下列步驟。取得觸控面板的多個觸控區域所對應的多個觸控值。依據這些觸控值及觸控臨界值決定觸控區塊,其中位於觸控區塊的這些觸控區域為彼此相鄰。依序相互比較對應觸控區塊中相鄰觸控區域的觸控值以判斷觸控區塊是否有觸控值谷點。依據是否有觸控值谷點判斷觸控區塊為對應單點觸控或多點觸控。The invention also provides a touch detection method for a touch panel, which comprises the following steps. Obtaining a plurality of touch values corresponding to the plurality of touch areas of the touch panel. The touch blocks are determined according to the touch values and the touch thresholds, wherein the touch areas located in the touch blocks are adjacent to each other. The touch values of the adjacent touch areas in the touch block are compared with each other to determine whether the touch block has a touch value valley. The touch block is determined to correspond to single touch or multi-touch according to whether there is a touch value valley point.

在本發明之一實施例中,依序相互比較對應觸控區塊中相鄰觸控區域的觸控值以判斷觸控區塊是否有觸控值谷點的步驟包括:將具有觸控區塊對應的這些觸控值中的第一最高觸控值的觸控區域作為第一觸控點;以第一觸控點為比較起始點依序相互比較相鄰觸控區域的觸控值;當所述相鄰觸控區域中離第一觸控點較遠的一觸控區域對應的第一觸控值大於所述相鄰觸控區域中離第一觸控點較近的另一觸控區域對應的第二觸控值時,判斷第二觸控值為觸控值谷點;依據觸控值谷點判斷對應第一觸控點的這些觸控值,並且在非對應第一觸控點的這些觸控值中的第二最高觸控值對應的觸控區域作為第二觸控點。In an embodiment of the present invention, the step of sequentially comparing the touch values of the adjacent touch areas in the touch block to determine whether the touch block has a touch value valley includes: having a touch area The touch area corresponding to the first highest touch value of the touch value of the block is used as the first touch point; and the touch value of the adjacent touch area is compared with each other by using the first touch point as a comparison starting point. a first touch value corresponding to a touch area of the adjacent touch area that is farther from the first touch point is greater than another one of the adjacent touch areas that is closer to the first touch point When the second touch value corresponding to the touch area is used, determining that the second touch value is the touch value valley point; determining the touch value corresponding to the first touch point according to the touch value valley point, and in the non-corresponding first The touch area corresponding to the second highest touch value of the touch points of the touch point is used as the second touch point.

在本發明之一實施例中,觸控面板的觸控偵測方法更包括:當對應觸控區塊的這些觸控值皆相互比較過時,停 止判斷觸控區塊的觸控值谷點。In an embodiment of the present invention, the touch detection method of the touch panel further includes: stopping when the touch values of the corresponding touch blocks are compared with each other; The touch value valley of the touch block is determined.

在本發明之一實施例中,對應觸控區塊的各個觸控值皆大於等於觸控臨界值。In an embodiment of the invention, each touch value of the corresponding touch block is greater than or equal to the touch threshold.

在本發明之一實施例中,依據是否有觸控值谷點判斷觸控區塊為對應單點觸控或多點觸控的步驟包括:當沒有觸控值谷點時,觸控區塊判斷為對應單點觸控;當有觸控值谷點時,觸控區塊為判斷對應多點觸控。In an embodiment of the present invention, the step of determining whether the touch block is corresponding to the single touch or the multi touch according to whether there is a touch value valley includes: when there is no touch value valley, the touch block It is determined that it corresponds to a single touch; when there is a touch value valley, the touch block determines the corresponding multi-touch.

基於上述,本發明實施例的觸控裝置及應用於此觸控裝置的觸控偵測方法,其依序相互比較觸控區塊中相鄰觸控區域所對應的觸控值來判斷是否有觸控值谷點,並依據是否有觸控值谷點來判斷觸控區塊為對應單點觸控或多點觸控。並且,更依據所判斷的觸控值谷點區分觸控區塊中所有觸控區域所分別對應的觸控點。Based on the above, the touch device of the embodiment of the present invention and the touch detection method applied to the touch device sequentially compare the touch values corresponding to adjacent touch regions in the touch block to determine whether there is any The touch value is determined according to whether there is a touch value valley point to determine whether the touch block corresponds to single touch or multi-touch. Moreover, the touch points corresponding to all the touch areas in the touch block are respectively determined according to the determined touch value valley points.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

圖1為依據本發明一實施例的觸控裝置的系統示意圖。請參照圖1,在本實施例中,觸控裝置100包括觸控偵測單元110及觸控面板120。觸控面板120具有多個觸控區域121,並且觸控面板120可以投射電容式觸控面板或數位式電阻觸控面板為例。觸控偵測單元110耦接觸控面板120,以偵測這些觸控區域121所對應的多個觸控值VT,並依據所偵測到的觸控值VT判斷觸控面板120是否 被觸碰以及判斷觸控面板120的觸控點。FIG. 1 is a schematic diagram of a system of a touch device according to an embodiment of the invention. Referring to FIG. 1 , in the embodiment, the touch device 100 includes a touch detection unit 110 and a touch panel 120 . The touch panel 120 has a plurality of touch areas 121, and the touch panel 120 can project a capacitive touch panel or a digital resistive touch panel as an example. The touch detection unit 110 is coupled to the touch panel 120 to detect the plurality of touch values VT corresponding to the touch areas 121, and determines whether the touch panel 120 is determined according to the detected touch value VT. The touch point of the touch panel 120 is touched and judged.

進一步來說,在取得這些觸控區域121所對應的觸控值VT後,觸控偵測單元110會依據這些觸控區域121的觸控值VT及觸控臨界值偵測觸控面板121中是否有觸控區塊。觸控偵測單元110會過濾對應的觸控值VT小於觸控臨界值的觸控區域。並且,當有觸控區域未被過濾時,這些未被過濾的觸控區域中彼此相鄰的這些觸控區域會視為同一觸控區塊。亦即,觸控區塊中的觸控區域所對應的觸控值VT會大於等於觸控臨界值且同一觸控區塊中的觸控區域會彼此相鄰。當所有觸控區域皆被過濾時,則不會有觸控區塊。Further, after the touch value VT corresponding to the touch areas 121 is obtained, the touch detection unit 110 detects the touch value VT and the touch threshold value of the touch area 121 to detect the touch panel 121. Is there a touch block? The touch detection unit 110 filters the touch area where the corresponding touch value VT is smaller than the touch threshold. Moreover, when the touch area is not filtered, the touch areas adjacent to each other in the unfiltered touch areas are regarded as the same touch block. That is, the touch value VT corresponding to the touch area in the touch block is greater than or equal to the touch threshold and the touch areas in the same touch block are adjacent to each other. When all touch areas are filtered, there will be no touch blocks.

當觸控偵測單元110偵測到觸控面板120中沒有觸控區塊時,則表示觸控面板120未被觸碰。亦即,觸控面板120不會有觸控點。此時,觸控偵測單元110會停止進一步的偵測或處理。當觸控偵測單元110偵測到一觸控區塊時,則表示觸控面板120應於被觸碰的狀態。亦即,觸控面板120至少有一觸控點。此時,觸控偵測單元120會對同一觸控區塊所對應的所有觸控值VT進行資料處理,以判斷觸控區塊是否為對應單點觸控或多點觸控以及偵測觸控區塊的觸控點。When the touch detection unit 110 detects that there is no touch block in the touch panel 120, it indicates that the touch panel 120 is not touched. That is, the touch panel 120 does not have touch points. At this time, the touch detection unit 110 stops further detection or processing. When the touch detection unit 110 detects a touch block, it indicates that the touch panel 120 should be in a touched state. That is, the touch panel 120 has at least one touch point. At this time, the touch detection unit 120 performs data processing on all the touch values VT corresponding to the same touch block to determine whether the touch block is corresponding to single touch or multi-touch and touch detection. Control the touch point of the block.

在資料處理的過程中,觸控偵測單元110會先將觸控區塊中對應最高觸控值(即第一最高觸控值)的觸控區域作為第一觸控點,並且以第一觸控點作為比較起始點依序比較對應至相鄰的觸控區域的這些觸控值VT。當兩相鄰 觸控值VT中離第一觸控點較遠的一觸控區域的觸控值VT(即第一觸控值)大於離第一觸控點較近的一觸控區域的觸控值VT(即第二觸控值)時,觸控偵測單元110判斷上述離第一觸控點較近的觸控值VT為一觸控值谷點。並且,觸控偵測單元110會依據所判斷的觸控值谷點判斷觸控區域所對應的觸控值VT是否對應第一觸控點。亦即,依據所判斷的觸控值谷點分割觸控區塊,而包含第一觸控點的這些觸控區域的這些觸控值VT為對應第一觸控點,以及未包含第一觸控點的這些觸控區域中的這些觸控值VT非對應第一觸控點。In the process of data processing, the touch detection unit 110 first uses the touch area corresponding to the highest touch value (ie, the first highest touch value) in the touch block as the first touch point, and first The touch points sequentially compare the touch values VT corresponding to the adjacent touch areas as comparison start points. When two adjacent The touch value VT (ie, the first touch value) of a touch area that is farther from the first touch point in the touch value VT is greater than the touch value VT of a touch area that is closer to the first touch point. The touch detection unit 110 determines that the touch value VT that is closer to the first touch point is a touch value valley point. The touch detection unit 110 determines whether the touch value VT corresponding to the touch area corresponds to the first touch point according to the determined touch value valley. That is, the touched area is divided according to the determined touch value, and the touch values VT of the touch areas including the first touch point are corresponding to the first touch point, and the first touch is not included. The touch values VT in the touch areas of the handle point do not correspond to the first touch point.

此外,在非對應第一觸控點的這些觸控值VT中具有最高觸控值(即第二最高觸控值)的觸控區域作為第二觸控點,並且再依據上述方式偵測是否有其他觸控值谷點存在以判斷是否有其他觸控點存在。當對應觸控區塊的所有觸控值VT彼此比較過時,表示觸控區域的資料處理已完成。因此,觸控偵測單元110會停止偵測觸控區塊的觸控值谷點。據此,觸控偵測單元110可基於是否判斷有觸控值谷點來判斷觸控區塊為對應單點觸控或多點觸控,更依據所判斷的觸控值谷點區分觸控區塊中觸控區域所對應的觸控點。In addition, the touch area having the highest touch value (ie, the second highest touch value) among the touch values VT that are not corresponding to the first touch point is used as the second touch point, and is further detected according to the foregoing manner. There are other touch value valleys to determine if there are other touch points. When all the touch values VT corresponding to the touch block are compared with each other, the data processing of the touch area is completed. Therefore, the touch detection unit 110 stops detecting the touch value valley of the touch block. Accordingly, the touch detection unit 110 can determine whether the touch block is corresponding to a single touch or a multi-touch based on whether the touch value is determined, and further distinguish the touch according to the determined touch value. The touch point corresponding to the touch area in the block.

圖2為圖1的觸控面板的觸控值分佈示意圖。請參照圖1及圖2,在本實施例中,假設觸控面板120中的觸控區域121是以6*6的矩陣排列,並且所偵測到觸控值VT如圖2的方格中所示數值。在此假設觸控臨界值為20,則 觸控值VT小於20的觸控區域會被濾除(亦即觸控值VT小於20的觸控區域不會被選取),並且由於被選取的觸控區域彼此相鄰,因此依據這些被選取的觸控區域決定出觸控區塊210。2 is a schematic diagram of a touch value distribution of the touch panel of FIG. 1 . Referring to FIG. 1 and FIG. 2 , in the embodiment, it is assumed that the touch areas 121 in the touch panel 120 are arranged in a matrix of 6*6, and the detected touch value VT is in the square of FIG. 2 . The values shown. Assume here that the touch threshold is 20, then The touch area with the touch value VT less than 20 is filtered out (ie, the touch area with the touch value VT less than 20 is not selected), and since the selected touch areas are adjacent to each other, they are selected according to these. The touch area determines the touch block 210.

在決定觸控區塊210後,觸控偵測單元110會將觸控區塊210中具有最高觸控值(在此為65)的觸控區域定義為第一觸控點TP1。接著,從第一觸控點TP1開始,相互比較觸控區塊210中兩相鄰觸控區域的觸控值,其中比較的路徑可參照箭頭所示。在本實施例中,觸控偵測單元110會先比較觸控值65與相鄰於第一觸控點TP1的觸控區域的觸控值(即32、35及45)。由於第一觸控點TP1的觸控值65大於相鄰於第一觸控點TP1的觸控區域分別對應的觸控值32、35及45,因此觸控值65不會被判斷為觸控值谷點VP。After the touch block 210 is determined, the touch detection unit 110 defines the touch area having the highest touch value (here, 65) in the touch block 210 as the first touch point TP1. Then, starting from the first touch point TP1, the touch values of the two adjacent touch areas in the touch block 210 are compared with each other, wherein the compared paths can be referred to by arrows. In this embodiment, the touch detection unit 110 compares the touch value 65 with the touch value of the touch area adjacent to the first touch point TP1 (ie, 32, 35, and 45). Since the touch value 65 of the first touch point TP1 is greater than the touch values 32, 35, and 45 corresponding to the touch areas adjacent to the first touch point TP1, the touch value 65 is not judged as touch. Valuation point VP.

如圖2所示,相鄰於第一觸控點TP1右側的觸控區域的觸控值32會與相鄰於此觸控值32對應的觸控區域下方的觸控區域的觸控值28比較。並且,上述觸控值28會與相鄰於此觸控值28對應的觸控區域下方的觸控區域的觸控值55比較。依據比較結果,觸控值32不會被判斷為觸控值谷點VP,而觸控值28被判斷為觸控值谷點VP。相鄰於第一觸控點TP1下側的觸控區域的觸控值35會與相鄰於此觸控值35對應的觸控區域下方的觸控區域的觸控值36比較,並且依據比較結果,觸控值35會被判斷為觸控值谷點VP。更者,相鄰於第一觸控點TP1左側的觸控 區域的觸控值35會與分別相鄰於此觸控值35對應的觸控區域下方、左側及上方的觸控區域的觸控值20、23及33比較。並且,上述觸控值20會與相鄰於此觸控值20對應的觸控區域下方的觸控區域的觸控值18比較,上述觸控值18會與相鄰於此觸控值18對應的觸控區域下方的觸控區域的觸控值25比較,上述觸控值23會與相鄰於此觸控值23對應的觸控區域上方的觸控區域的觸控值20比較。因此,依據比較結果,觸控值35、33、20及23不會被判斷為觸控值谷點VP,而觸控值18會被判斷為觸控值谷點VP。相鄰於第一觸控點TP1上方的觸控區域的觸控值45會與相鄰於此觸控值45對應的觸控區域右側的觸控值30比較,上述觸控值30會與相鄰於此觸控值30對應的觸控區域右側的觸控區域的觸控值24比較。依據比較結果,觸控值45、30及24不會被判斷為觸控值谷點VP。As shown in FIG. 2, the touch value 32 of the touch area adjacent to the right side of the first touch point TP1 and the touch value of the touch area below the touch area corresponding to the touch value 32 are 28 Comparison. The touch value 28 is compared with the touch value 55 of the touch area below the touch area corresponding to the touch value 28 . According to the comparison result, the touch value 32 is not determined as the touch value valley point VP, and the touch value 28 is determined as the touch value valley point VP. The touch value 35 of the touch area adjacent to the lower side of the first touch point TP1 is compared with the touch value 36 of the touch area below the touch area corresponding to the touch value 35, and is compared according to As a result, the touch value 35 is judged as the touch value valley point VP. Moreover, the touch adjacent to the left side of the first touch point TP1 The touch value 35 of the area is compared with the touch values 20, 23, and 33 of the touch area below, above, and above the touch area corresponding to the touch value 35, respectively. The touch value 20 is compared with the touch value 18 of the touch area below the touch area corresponding to the touch value 20, and the touch value 18 corresponds to the adjacent touch value 18. The touch value 25 of the touch area below the touch area is compared with the touch value 20 of the touch area above the touch area corresponding to the touch value 23 . Therefore, according to the comparison result, the touch values 35, 33, 20, and 23 are not judged as the touch value valley point VP, and the touch value 18 is determined as the touch value valley point VP. The touch value 45 of the touch area adjacent to the first touch point TP1 is compared with the touch value 30 of the right side of the touch area corresponding to the touch value 45. The touch value 30 will be compared with the touch value 30. The touch value 24 of the touch area on the right side of the touch area corresponding to the touch value 30 is compared. According to the comparison result, the touch values 45, 30, and 24 are not judged as the touch value valley point VP.

依據上述,在觸控值(如28、35及18)被判斷為觸控值谷點VP時,則這些觸控值谷點VP則在觸控值比較過程中不再與其他觸控值比較。並且,透過這些觸控值谷點VP,觸控區塊210會切割為兩個區域,(如圖2中斜線方格所示區域及空白方格所示區域),其中包括第一觸控點TP1的區域中的這些觸控區域的觸控值(如斜線方格所示)為對應第一觸控點TP1。接著,在未包含第一觸控點TP1的區域的這些觸控區域中(即具有非對應第一觸控點TP1的觸控值),觸控值(如空白方格所示)中最高觸控值(在此為55)所對應的觸控區域判斷為第二觸控點 TP2。在此之後,對應第二觸控點TP2的觸控值55分別與相鄰於第二觸控點TP2的觸控區域的觸控值(即43、48及36)比較,但不會與判定為觸控值谷點VP的觸控值28比較。由於觸控值55大於觸控值43、48及36,因此觸控值55不會被判斷為觸控值谷點VP。According to the above, when the touch values (such as 28, 35, and 18) are determined as the touch value valley point VP, the touch value valley points VP are no longer compared with other touch values during the touch value comparison process. . Moreover, through the touch value valleys VP, the touch block 210 is cut into two regions (as shown by the diagonal squares in FIG. 2 and the blank squares), including the first touch point. The touch values of the touch areas in the area of the TP1 (as indicated by the diagonal squares) correspond to the first touch points TP1. Then, in the touch areas of the area that does not include the first touch point TP1 (ie, the touch value of the non-corresponding first touch point TP1), the touch value (such as the blank square) is the highest touch. The touch area corresponding to the control value (here 55) is determined as the second touch point. TP2. After that, the touch value 55 corresponding to the second touch point TP2 is compared with the touch value of the touch area adjacent to the second touch point TP2 (ie, 43, 48, and 36), but the determination is not The touch value 28 of the touch value valley point VP is compared. Since the touch value 55 is greater than the touch values 43, 48, and 36, the touch value 55 is not determined as the touch value valley point VP.

基於圖2,相鄰於第二觸控點TP2右側的觸控區域的觸控值43會與相鄰於此觸控值43對應的觸控區域右側及下方的觸控區域的觸控值23及36比較,上述觸控值36會與相鄰於此觸控值36對應的觸控區域下方的觸控值21比較。依據比較結果,觸控值43、23及36不會被判斷為觸控值谷點VP。相鄰於第二觸控點TP2下側的觸控區域的觸控值48會與相鄰於此觸控值48對應的觸控區域左側及下方的觸控區域的觸控值40及28比較。更者,上述觸控值28會與相鄰於此觸控值28對應的觸控區域左側的觸控區域的觸控值25比較,上述觸控值40會與相鄰於此觸控值40對應的觸控區域左側的觸控值25比較。依據比較結果,觸控值48、28、40及25不會被判斷為觸控值谷點VP。並且,相鄰於第二觸控點TP2左側的觸控區域所相鄰的觸控區域的觸控值判斷為觸控值谷點VP、為對應第二觸控點TP2或已使用於觸控值比較,因此上述觸控值36不會與相鄰於此觸控值36對應的觸控區域的觸控區域的觸控值比較,以致於觸控值36不會被判斷為觸控值谷點VP。Based on FIG. 2, the touch value 43 of the touch area adjacent to the right side of the second touch point TP2 and the touch area 23 of the touch area adjacent to the touch area corresponding to the touch value 43 In comparison with the 36, the touch value 36 is compared with the touch value 21 below the touch area corresponding to the touch value 36. According to the comparison result, the touch values 43, 23, and 36 are not judged as the touch value valley point VP. The touch value 48 of the touch area adjacent to the lower side of the second touch point TP2 is compared with the touch values 40 and 28 of the touch area of the left and the lower side of the touch area corresponding to the touch value 48. . In addition, the touch value 28 is compared with the touch value 25 of the touch area on the left side of the touch area corresponding to the touch value 28, and the touch value 40 is adjacent to the touch value 40. The touch value 25 on the left side of the corresponding touch area is compared. According to the comparison result, the touch values 48, 28, 40, and 25 are not judged as the touch value valley point VP. The touch value of the touch area adjacent to the touch area adjacent to the left side of the second touch point TP2 is determined as the touch value valley point VP, corresponding to the second touch point TP2, or used for touch. The value of the touch value 36 is not compared with the touch value of the touch area adjacent to the touch area 36, so that the touch value 36 is not determined as the touch value valley. Point VP.

依據上述,觸控偵測單元110會判斷觸控區塊210為 對應多點觸控,並且透過比較兩相鄰觸控區域對應的觸控值來判斷觸控值谷點VP,以透過觸控值谷點VP判斷這些觸控區域(等同於觸控值)所對應的觸控點(如第一觸控點TP1或第二觸控點TP3)。藉此,當多個觸控點相互過近而造成對應的觸控區域相鄰時,觸控偵測單元110可透過觸控值谷點VP區分觸控點所對應的觸控區域。因此,不會誤判上述相鄰的觸控區域為對應同一觸控點。According to the above, the touch detection unit 110 determines that the touch block 210 is Corresponding to the multi-touch, and comparing the touch values corresponding to the two adjacent touch areas to determine the touch value valley point VP, and determining the touch areas (equivalent to the touch value) through the touch value valley point VP Corresponding touch points (such as the first touch point TP1 or the second touch point TP3). The touch detection unit 110 can distinguish the touch area corresponding to the touch point through the touch value valley point VP when the plurality of touch points are too close to each other to cause the corresponding touch areas to be adjacent to each other. Therefore, the adjacent touch regions are not mistakenly judged to correspond to the same touch point.

圖3為依據本發明一實施例的觸控裝置的觸控偵測方法的流程圖。請參照圖3,在本實施例中,應用於此觸控裝置的觸控偵測方法包括下列步驟。取得觸控面板的多個觸控區域分別對應的多個觸控值(步驟S310)。依據這些觸控值及觸控臨界值決定觸控區塊,其中位於觸控區塊的這些觸控區域為彼此相鄰(步驟S320)。依序相互比較觸控區塊中相鄰觸控區域對應的觸控值以判斷觸控區塊是否有觸控值谷點(步驟S330)。依據是否有觸控值谷點判斷觸控區塊為對應單點觸控或多點觸控(步驟S340)。此外,當觸控區塊中的觸控區域對應的觸控值皆用於控制值比較時,則會停止從觸控區塊中的觸控區域對應的觸控值判斷觸控值谷點。其中,上述步驟的細節可參照圖1及圖2的說明,在此則不再贅述。FIG. 3 is a flow chart of a touch detection method of a touch device according to an embodiment of the invention. Referring to FIG. 3, in the embodiment, the touch detection method applied to the touch device includes the following steps. A plurality of touch values corresponding to the plurality of touch areas of the touch panel are obtained (step S310). The touch blocks are determined according to the touch values and the touch thresholds, wherein the touch areas located in the touch blocks are adjacent to each other (step S320). The touch values corresponding to the adjacent touch areas in the touch block are compared with each other to determine whether the touch block has a touch value valley point (step S330). The touch block is determined to be a single touch or a multi-touch according to whether there is a touch value valley point (step S340). In addition, when the touch value corresponding to the touch area in the touch block is used for the control value comparison, the touch value corresponding to the touch area in the touch block is stopped to determine the touch value valley. For details of the above steps, reference may be made to the descriptions of FIG. 1 and FIG. 2, and details are not described herein again.

綜上所述,本發明實施例的觸控裝置及應用於此觸控裝置的觸控偵測方法,其依序相互比較觸控區塊中相鄰觸控區域所對應的觸控值來判斷是否有觸控值谷點,並依據是否有觸控值谷點來判斷觸控區塊為對應單點觸控或多點 觸控。並且,更依據所判斷的觸控值谷點區分觸控區塊中所有觸控區域所分別對應的觸控點。In summary, the touch device of the embodiment of the present invention and the touch detection method applied to the touch device sequentially compare the touch values corresponding to adjacent touch regions in the touch block. Whether there is a touch value valley point, and depending on whether there is a touch value valley point, the touch block is determined to correspond to a single touch or multiple points. Touch. Moreover, the touch points corresponding to all the touch areas in the touch block are respectively determined according to the determined touch value valley points.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧觸控裝置100‧‧‧ touch device

110‧‧‧觸控偵測單元110‧‧‧Touch detection unit

120‧‧‧觸控面板120‧‧‧Touch panel

121‧‧‧觸控區域121‧‧‧ Touch area

210‧‧‧觸控區塊210‧‧‧ Touch block

TP1‧‧‧第一觸控點TP1‧‧‧ first touch point

TP2‧‧‧第二觸控點TP2‧‧‧ second touch point

VP‧‧‧觸控值谷點VP‧‧‧ Touch value point

VT‧‧‧觸控值VT‧‧‧ touch value

S310、S320、S330、S340‧‧‧步驟S310, S320, S330, S340‧‧‧ steps

圖1為依據本發明一實施例的觸控裝置的系統示意圖。FIG. 1 is a schematic diagram of a system of a touch device according to an embodiment of the invention.

圖2為圖1的觸控面板的觸控值分佈示意圖。2 is a schematic diagram of a touch value distribution of the touch panel of FIG. 1 .

圖3為依據本發明一實施例的觸控裝置的觸控偵測方法的流程圖。FIG. 3 is a flow chart of a touch detection method of a touch device according to an embodiment of the invention.

S310、S320、S330、S340‧‧‧步驟S310, S320, S330, S340‧‧‧ steps

Claims (11)

一種觸控裝置,包括:一觸控面板,具有多個觸控區域;以及一觸控偵測單元,耦接該觸控面板,用以偵測該些觸控區域對應的多個觸控值,並且依據該些觸控值及一觸控臨界值決定一觸控區塊,其中該觸控偵測單元依序相互比較對應該觸控區塊中相鄰觸控區域的該些觸控值以判斷該觸控區塊是否有一觸控值谷點,並依據是否有該觸控值谷點判斷該觸控區塊為對應單點觸控或多點觸控,位於該觸控區塊的該些觸控區域為彼此相鄰。A touch device includes: a touch panel having a plurality of touch areas; and a touch detection unit coupled to the touch panel for detecting a plurality of touch values corresponding to the touch areas And determining, according to the touch values and a touch threshold, a touch block, wherein the touch detection unit sequentially compares the touch values of adjacent touch regions in the touch block Determining whether the touch block has a touch value valley point, and determining whether the touch block is corresponding to a single touch or multi-touch according to whether the touch value is located, and located in the touch block The touch areas are adjacent to each other. 如申請專利範圍第1項所述之觸控裝置,其中該觸控偵測單元將對應一第一最高觸控值的觸控區域作為一第一觸控點,並且以該第一觸控點為比較起始點以依序相互比較對應相鄰觸控區域的該些觸控值,並且當所述相鄰觸控區域中離該第一觸控點較遠的一觸控區域對應的一第一觸控值大於所述相鄰觸控區域中離該第一觸控點較近的另一觸控區域對應的一第二觸控值時,該觸控偵測單元判斷該第二觸控值為該觸控值谷點,並且依據該觸控值谷點判斷對應該第一觸控點的該些觸控值,並且在非對應該第一觸控點的該些觸控值中的一第二最高觸控值對應的觸控區域作為一第二觸控點。The touch control device of the first aspect of the invention, wherein the touch detection unit uses a touch area corresponding to a first highest touch value as a first touch point, and the first touch point Comparing the touch values corresponding to the adjacent touch areas with each other in order to compare the starting points, and corresponding one touch area corresponding to the first touch point in the adjacent touch areas When the first touch value is greater than a second touch value corresponding to another touch area of the adjacent touch area that is closer to the first touch point, the touch detection unit determines the second touch The control value is the touch value valley point, and the touch value corresponding to the first touch point is determined according to the touch value valley point, and in the touch values that are not corresponding to the first touch point The touch area corresponding to the second highest touch value is used as a second touch point. 如申請專利範圍第1項所述之觸控裝置,其中當對應該觸控區塊的該些觸控值皆相互比較過時,該觸控偵測單元停止判斷該觸控區塊的該觸控值谷點。The touch control device of claim 1, wherein the touch detection unit stops determining the touch of the touch block when the touch values of the touch blocks are compared with each other. Value point. 如申請專利範圍第1項所述之觸控裝置,其中對應該觸控區塊的各該些觸控值皆大於等於該觸控臨界值。The touch device of claim 1, wherein each of the touch values corresponding to the touch block is greater than or equal to the touch threshold. 如申請專利範圍第1項所述之觸控裝置,其中當沒有該觸控值谷點時,該觸控偵測單元判斷該觸控區塊為對應單點觸控,並且當有該觸控值谷點時,該觸控偵測單元判斷該觸控區塊為對應多點觸控。The touch device of claim 1, wherein the touch detection unit determines that the touch block is a corresponding single touch, and when the touch is present When the value is detected, the touch detection unit determines that the touch block is corresponding to multi-touch. 如申請專利範圍第1項所述之觸控裝置,其中該觸控面板為一投射電容式觸控面板或一數位式電阻觸控面板。The touch device of claim 1, wherein the touch panel is a projected capacitive touch panel or a digital resistive touch panel. 一種觸控裝置的觸控偵測方法,包括:取得該觸控面板的多個觸控區域所對應的多個觸控值;依據該些觸控值及一觸控臨界值決定一觸控區塊,其中位於該觸控區塊的該些觸控區域為彼此相鄰;依序相互比較對應該觸控區塊中相鄰觸控區域的該些觸控值以判斷該觸控區塊是否有一觸控值谷點;以及依據是否有該觸控值谷點判斷該觸控區塊為對應單點觸控或多點觸控。The touch detection method of the touch device includes: obtaining a plurality of touch values corresponding to the plurality of touch areas of the touch panel; determining a touch area according to the touch values and a touch threshold a block in which the touch areas of the touch block are adjacent to each other; and sequentially comparing the touch values of the adjacent touch areas in the touch block to determine whether the touch block is There is a touch value valley point; and determining whether the touch block is corresponding to single touch or multi-touch according to whether the touch value valley point is present. 如申請專利範圍第7項所述之觸控裝置的觸控偵測方法,其中依序相互比較對應該觸控區塊中相鄰觸控區域的該些觸控值以判斷該觸控區塊是否有該觸控值谷點的步驟包括:將具有該觸控區塊對應的該些觸控值中的一第一最高觸控值的觸控區域作為一第一觸控點; 以該第一觸控點為比較起始點依序相互比較將相鄰觸控區域的該些觸控值;當所述相鄰觸控區域中離該第一觸控點較遠的一觸控區域對應的一第一觸控值大於所述相鄰觸控區域中離該第一觸控點較近的另一觸控區域對應一第二觸控值時,判斷該第二觸控值為該觸控值谷點;以及依據該觸控值谷點判斷對應該第一觸控點的該些觸控值,並且在非對應該第一觸控點的該些觸控值中的一第二最高觸控值對應的觸控區域作為一第二觸控點。The touch detection method of the touch device according to the seventh aspect of the invention, wherein the touch values of the adjacent touch areas in the touch block are compared with each other to determine the touch block. The step of having the touch value of the touch point includes: using a touch area having a first highest touch value of the touch values corresponding to the touch block as a first touch point; Comparing the touch values of the adjacent touch areas with each other in the first touch point as a comparison starting point; when the adjacent touch areas are far from the first touch point Determining the second touch value when a first touch value corresponding to the control area is greater than a second touch value corresponding to the other touch area of the adjacent touch area that is closer to the first touch point For the touch value valley point; and determining, according to the touch value valley point, the touch values corresponding to the first touch point, and one of the touch values that are not corresponding to the first touch point The touch area corresponding to the second highest touch value serves as a second touch point. 如申請專利範圍第7項所述之觸控裝置的觸控偵測方法,更包括:當對應該觸控區塊的該些觸控值皆相互比較過時,停止判斷該觸控區塊的該觸控值谷點。The touch detection method of the touch device of the seventh aspect of the invention further includes: when the touch values corresponding to the touch block are compared with each other, stopping determining the touch block Touch value valley point. 如申請專利範圍第7項所述之觸控裝置的觸控偵測方法,其中對應該觸控區塊的各該些觸控值皆大於等於該觸控臨界值。The touch detection method of the touch device of claim 7, wherein each of the touch values corresponding to the touch block is greater than or equal to the touch threshold. 如申請專利範圍第7項所述之觸控裝置的觸控偵測方法,其中依據是否有該觸控值谷點判斷該觸控區塊為對應單點觸控或多點觸控的步驟包括:當沒有該觸控值谷點時,該觸控區塊判斷為對應單點觸控;以及當有該觸控值谷點時,該觸控區塊判斷為對應多點觸控。The touch detection method of the touch device according to the seventh aspect of the invention, wherein the step of determining whether the touch block is corresponding to single touch or multi-touch according to whether the touch value is detected includes When the touch value is not present, the touch block is determined to correspond to a single touch; and when the touch value is displayed, the touch block is determined to correspond to the multi-touch.
TW101122849A 2012-06-26 2012-06-26 Touch device and method for detecting touch thereof TWI480778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101122849A TWI480778B (en) 2012-06-26 2012-06-26 Touch device and method for detecting touch thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101122849A TWI480778B (en) 2012-06-26 2012-06-26 Touch device and method for detecting touch thereof

Publications (2)

Publication Number Publication Date
TW201401122A TW201401122A (en) 2014-01-01
TWI480778B true TWI480778B (en) 2015-04-11

Family

ID=50345072

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101122849A TWI480778B (en) 2012-06-26 2012-06-26 Touch device and method for detecting touch thereof

Country Status (1)

Country Link
TW (1) TWI480778B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI576743B (en) * 2015-09-30 2017-04-01 樂金顯示科技股份有限公司 Multi-touch sensitive display device and method for assigning touch identification therein

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250786A1 (en) * 2006-04-19 2007-10-25 Byeong Hui Jeon Touch screen device and method of displaying and selecting menus thereof
TW201013490A (en) * 2008-09-30 2010-04-01 Au Optronics Corp Detecting method for a touch panel

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250786A1 (en) * 2006-04-19 2007-10-25 Byeong Hui Jeon Touch screen device and method of displaying and selecting menus thereof
TW201013490A (en) * 2008-09-30 2010-04-01 Au Optronics Corp Detecting method for a touch panel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI576743B (en) * 2015-09-30 2017-04-01 樂金顯示科技股份有限公司 Multi-touch sensitive display device and method for assigning touch identification therein

Also Published As

Publication number Publication date
TW201401122A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
KR101439855B1 (en) Touch screen controller and method for controlling thereof
US8976146B2 (en) Method of reducing computation of water tolerance by projecting touch data
TWI478041B (en) Method of identifying palm area of a touch panel and a updating method thereof
CN106227520B (en) Application interface switching method and device
US20130265271A1 (en) Method of reducing computation of palm rejection by projecting touch data
US20110012855A1 (en) Method and device for palm rejection
US8405625B2 (en) Method for detecting tracks of touch inputs on touch-sensitive panel and related computer program product and electronic apparatus using the same
US20150033326A1 (en) System and Method for Unlocking Screen
TWI526952B (en) Touch capacitive device and object identifying method of the capacitive touch device
TWI448934B (en) Method for determining touch point
TW201135515A (en) Gesture identification method and apparatus applied in a touchpad
KR20080032901A (en) Apparatus and method for multi-touch decision
US20120249599A1 (en) Method of identifying a multi-touch scaling gesture and device using the same
AU2017203910B2 (en) Glove touch detection
TWI528271B (en) Method, apparatus and computer program product for polygon gesture detection and interaction
JP2015022745A5 (en)
US20130154965A1 (en) Touch detection system and driving method thereof
TWI494830B (en) Touch-controlled device, identifying method and computer program product thereof
TW201510828A (en) Method of recognizing touch
TWI480778B (en) Touch device and method for detecting touch thereof
US20130328617A1 (en) Touch device and method for detecting touch thereof
CN104571726A (en) Optical touch system, touch detection method and computer program product
JP6255321B2 (en) Information processing apparatus, fingertip operation identification method and program
CN107870685A (en) A kind of touch control operation recognition methods and device
CN103576945B (en) Contactor control device and its touch control detecting method