[go: up one dir, main page]

TWI842551B - Capacitive touch area recognition method, touch device and information processing device - Google Patents

Capacitive touch area recognition method, touch device and information processing device Download PDF

Info

Publication number
TWI842551B
TWI842551B TW112120750A TW112120750A TWI842551B TW I842551 B TWI842551 B TW I842551B TW 112120750 A TW112120750 A TW 112120750A TW 112120750 A TW112120750 A TW 112120750A TW I842551 B TWI842551 B TW I842551B
Authority
TW
Taiwan
Prior art keywords
touch
operator
gradients
gradient
touch area
Prior art date
Application number
TW112120750A
Other languages
Chinese (zh)
Other versions
TW202449579A (en
Inventor
邊火丁
Original Assignee
大陸商北京集創北方科技股份有限公司
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 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW112120750A priority Critical patent/TWI842551B/en
Application granted granted Critical
Publication of TWI842551B publication Critical patent/TWI842551B/en
Publication of TW202449579A publication Critical patent/TW202449579A/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

一種電容式觸控區域識別方法,係由一控制電路實現,且其包括:自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域;利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;以及在該些代表梯度中找出具有一最大長度之一目標梯度,依該最大長度之一比例值決定一閾值,依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。A capacitive touch region recognition method is implemented by a control circuit and includes: obtaining a frame of capacitance sensing data from a capacitance sensor array and dividing the frame of capacitance sensing data into multiple sub-regions; using a gradient operator to perform a convolution calculation on each of the sub-regions to obtain a representative gradient of each of the sub-regions; and finding a target gradient with a maximum length among the representative gradients, determining a threshold value according to a ratio of the maximum length, comparing the threshold value with the lengths of the representative gradients to find multiple valid gradients with lengths greater than the threshold value, and determining at least one touch region according to the corresponding positions of the valid gradients in the frame of capacitance sensing data.

Description

電容式觸控區域識別方法、觸控裝置及資訊處理裝置Capacitive touch area identification method, touch device and information processing device

本發明係關於觸控偵測方法,尤指一種電容式觸控區域識別方法。The present invention relates to a touch detection method, and more particularly to a capacitive touch area recognition method.

隨著材料與電子技術的發展,電容式觸控屏已廣泛應用於手機、電腦、觸控板、觸控按鍵等產品。電容式觸控屏係由電容感測器陣列和控制電路組成,其中,電容感測器陣列係嵌入在螢幕中,當手指或電容筆觸摸時,其電容量會發生變化;控制電路主要包括感測器驅動與採集、資料處理等模組,一般是由晶片和週邊電路組成。於操作時,控制電路會週期性地驅動並採集各電容感測器的電容值,採集到的電容值資料以矩陣或陣列等形式存儲在記憶體中,控制電路對電容值資料進行處理並劃分出觸摸區域,然後根據觸摸區域計算出觸摸的位置座標。With the development of materials and electronic technology, capacitive touch screens have been widely used in mobile phones, computers, touch panels, touch buttons and other products. Capacitive touch screens are composed of capacitive sensor arrays and control circuits. The capacitive sensor array is embedded in the screen. When a finger or capacitive pen touches it, its capacitance changes. The control circuit mainly includes sensor drive and acquisition, data processing and other modules, which are generally composed of chips and peripheral circuits. During operation, the control circuit will periodically drive and collect the capacitance value of each capacitance sensor. The collected capacitance value data is stored in the memory in the form of a matrix or array. The control circuit processes the capacitance value data and divides the touch area, and then calculates the touch position coordinates based on the touch area.

為提升觸控識別的準確度與效率,現有技術中已有基於區域生長理論的觸控識別方案,其係採用固定閾值與動態閾值結合的方式對電容值資料進行多次遞迴處理以產生觸摸區域。然而,其仍有識別效率偏低、閾值的選取嚴重依賴經驗及對不同螢幕適應性差等缺點。In order to improve the accuracy and efficiency of touch recognition, there are touch recognition solutions based on the regional growth theory in the prior art, which use a combination of fixed threshold and dynamic threshold to perform multiple recursive processing on the capacitance data to generate the touch area. However, it still has the disadvantages of low recognition efficiency, heavy reliance on experience in threshold selection, and poor adaptability to different screens.

為解決上述的問題,本領域亟需一種新穎的電容式觸控區域識別方法。In order to solve the above problems, a novel capacitive touch area recognition method is urgently needed in the art.

本發明之一目的在於揭露一種電容式觸控區域識別方法,其可藉由低複雜度的處理程序準確地識別劃分觸摸區域。One purpose of the present invention is to disclose a capacitive touch area recognition method, which can accurately identify and divide the touch area through a low-complexity processing procedure.

本發明之另一目的在於揭露一種電容式觸控區域識別方法,其可藉由通用性高的處理程序適用於不同螢幕。Another object of the present invention is to disclose a capacitive touch area recognition method that can be applied to different screens through a highly universal processing procedure.

本發明之另一目的在於揭露一種觸控裝置,其可藉由前述之方法提升觸控檢測效率,從而提升操作者之使用體驗。Another object of the present invention is to disclose a touch device that can improve touch detection efficiency through the aforementioned method, thereby improving the operator's experience.

本發明之又一目的在於揭露一種資訊處理裝置,其可藉由前述之觸控裝置提升觸控檢測效率,從而提升操作者之使用體驗。Another object of the present invention is to disclose an information processing device that can improve the touch detection efficiency by using the aforementioned touch device, thereby improving the operator's experience.

為達到前述目的,一種電容式觸控區域識別方法乃被提出,其 係由一控制電路實現,且其包括: 自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域; 利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;以及 在該些代表梯度中找出具有一最大長度之一目標梯度,依該最大長度之一比例值決定一閾值,依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。 To achieve the above-mentioned purpose, a capacitive touch region identification method is proposed, which is implemented by a control circuit and includes: obtaining a frame of capacitance sensing data from a capacitance sensor array and dividing the frame of capacitance sensing data into multiple sub-regions; using a gradient operator to perform a convolution calculation on each of the sub-regions to obtain a representative gradient of each sub-region; and finding a target gradient with a maximum length among the representative gradients, determining a threshold value according to a ratio of the maximum length, comparing the threshold value with the lengths of the representative gradients to find multiple valid gradients with a length greater than the threshold value, and determining at least one touch region according to the corresponding positions of the valid gradients in the frame of capacitance sensing data.

在一實施例中,所述之電容式觸控區域識別方法進一步包括:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。In one embodiment, the capacitive touch area recognition method further includes: performing a weighted average operation on each touch area to obtain an equivalent touch coordinate of each touch area.

在可能的實施例中,該梯度運算元可為Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元或Canny運算元。In possible embodiments, the gradient operator may be a Roberts operator, a Sobel operator, a Prewitt operator, a Marr-Hildreth operator or a Canny operator.

在一實施例中,該比例值係一小於1的正實數。In one embodiment, the ratio value is a positive real number less than 1.

為達到前述目的,本發明進一步提出一種觸控裝置,其具有一電容感測器陣列及一控制電路,其中,該控制電路係用以執行一電容式觸控區域識別程序,該電容式觸控區域識別程序包括: 自該電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域; 利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;以及 在該些代表梯度中找出具有一最大長度之一目標梯度,依該最大長度之一比例值決定一閾值,依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。 To achieve the aforementioned purpose, the present invention further proposes a touch device having a capacitance sensor array and a control circuit, wherein the control circuit is used to execute a capacitive touch area identification procedure, and the capacitive touch area identification procedure includes: Obtaining a frame of capacitance sensing data from the capacitance sensor array, and dividing the frame of capacitance sensing data into a plurality of sub-areas; Using a gradient operator to perform a convolution calculation on each of the sub-areas to obtain a representative gradient of each of the sub-areas; and Find a target gradient with a maximum length among the representative gradients, determine a threshold value according to a ratio value of the maximum length, compare the threshold value with the lengths of the representative gradients to find multiple effective gradients with lengths greater than the threshold value, and determine at least one touch area according to the corresponding positions of the effective gradients in the frame of capacitance sensing data.

在一實施例中,該電容式觸控區域識別方法進一步包括:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。In one embodiment, the capacitive touch area recognition method further includes: performing a weighted average operation on each of the touch areas to obtain an equivalent touch coordinate of each of the touch areas.

在可能的實施例中,該梯度運算元可為Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元或Canny運算元。In possible embodiments, the gradient operator may be a Roberts operator, a Sobel operator, a Prewitt operator, a Marr-Hildreth operator or a Canny operator.

在一實施例中,該比例值係一小於1的正實數。In one embodiment, the ratio value is a positive real number less than 1.

為達到前述目的,本發明進一步提出一種資訊處理裝置,其具有一中央處理單元及如前述之觸控裝置,其中,該中央處理單元係用以與該觸控裝置通信。To achieve the aforementioned object, the present invention further proposes an information processing device having a central processing unit and the aforementioned touch device, wherein the central processing unit is used to communicate with the touch device.

在可能的實施例中,所述之資訊處理裝置可為一智慧型手機、一攜帶型電腦或一車用電腦。In possible embodiments, the information processing device may be a smart phone, a portable computer or a car computer.

為使  貴審查委員能進一步瞭解本發明之結構、特徵、目的、與其優點,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable the Review Committee to further understand the structure, features, purpose, and advantages of the present invention, the following are attached with drawings and detailed descriptions of preferred specific embodiments.

本發明之原理在於:The principle of the present invention is:

(一)將一幀電容感測資料劃分成多個子區域;(1) Dividing a frame of capacitance sensing data into multiple sub-areas;

(二)對各該子區域均進行一梯度運算以獲得各該子區域之一代表梯度;(2) performing a gradient operation on each of the sub-regions to obtain a representative gradient for each of the sub-regions;

(三)在該些代表梯度中找出具有一最大長度之一目標梯度,並依該最大長度之一比例值決定一閾值;(iii) finding a target gradient having a maximum length among the representative gradients, and determining a threshold value according to a ratio value of the maximum length;

(四)依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域;以及(iv) comparing the threshold value with the lengths of the representative gradients to find a plurality of effective gradients having lengths greater than the threshold value, and determining at least one touch region according to corresponding positions of the effective gradients in the frame of capacitance sensing data; and

(五)對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。(V) Performing a weighted average operation on each touch area to obtain an equivalent touch coordinate of each touch area.

依此,本發明即可提升觸控檢測效率,且可適用於不同尺寸的觸控屏。Accordingly, the present invention can improve the touch detection efficiency and can be applied to touch screens of different sizes.

請參照圖1,其繪示本發明之觸控裝置之一實施例之方塊圖。如圖1所示,一觸控裝置100具有一電容感測器陣列110及一控制電路120,其中,控制電路120係用以執行一電容式觸控區域識別程序,該電容式觸控區域識別程序包括:Please refer to FIG. 1, which shows a block diagram of an embodiment of the touch device of the present invention. As shown in FIG. 1, a touch device 100 has a capacitive sensor array 110 and a control circuit 120, wherein the control circuit 120 is used to execute a capacitive touch area recognition procedure, and the capacitive touch area recognition procedure includes:

(一)控制電路120自電容感測器陣列110獲得一幀電容感測資料D CAP,並將該幀電容感測資料D CAP劃分成多個子區域; (i) The control circuit 120 obtains a frame of capacitance sensing data D CAP from the capacitance sensor array 110 and divides the frame of capacitance sensing data D CAP into a plurality of sub-regions;

(二)控制電路120利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;(ii) the control circuit 120 uses a gradient operator to perform a convolution calculation on each of the sub-regions to obtain a representative gradient of each of the sub-regions;

(三)控制電路120在該些代表梯度中找出具有一最大長度之一目標梯度,並依該最大長度之一比例值決定一閾值;(iii) the control circuit 120 finds a target gradient with a maximum length among the representative gradients, and determines a threshold value according to a ratio value of the maximum length;

(四)控制電路120依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料D CAP中的對應位置定出至少一觸摸區域;以及 (iv) the control circuit 120 compares the lengths of the representative gradients with the threshold value to find out a plurality of effective gradients whose lengths are greater than the threshold value, and determines at least one touch area according to corresponding positions of the effective gradients in the frame of capacitance sensing data D CAP ; and

(五)對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。(V) Performing a weighted average operation on each touch area to obtain an equivalent touch coordinate of each touch area.

詳細而言,梯度運算元(也稱為卷積核)可為現有的Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元或Canny運算元。以Roberts運算元為例,Roberts運算元分為水平運算元S x和垂直運算元S y,如下所示: In detail, the gradient operator (also called convolution kernel) can be an existing Roberts operator, Sobel operator, Prewitt operator, Marr-Hildreth operator or Canny operator. Taking the Roberts operator as an example, the Roberts operator is divided into a horizontal operator S x and a vertical operator Sy , as shown below:

, .

假設所述子區域之2*2的原始資料為 ,則該2*2的原始資料與Roberts運算元通過卷積計算可獲得所述子區域之代表梯度的資料(G x, G y),其公式如下所示: Assume that the original data of the 2*2 sub-area is , then the 2*2 original data and the Roberts operator can be used to obtain the data representing the gradient of the sub-region (G x , G y ) through convolution calculation, and the formula is as follows: .

另外,該些代表梯度的長度G可表為:In addition, the lengths G representing the gradients can be expressed as:

.

接著,控制電路120在該些代表梯度中找出具有最大長度G max之一目標梯度,並依該最大長度G max之一比例值決定所述之閾值,例如,所述之閾值可等於0.5*G maxNext, the control circuit 120 finds a target gradient with a maximum length G max among the representative gradients, and determines the threshold value according to a ratio of the maximum length G max . For example, the threshold value may be equal to 0.5*G max .

接著,控制電路120依該閾值(0.5*G max)與該些代表梯度之長度G進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料D CAP中的對應位置定出至少一觸摸區域。 Next, the control circuit 120 compares the threshold (0.5*G max ) with the lengths G of the representative gradients to find out a plurality of effective gradients whose lengths are greater than the threshold, and determines at least one touch region according to corresponding positions of the effective gradients in the frame of capacitance sensing data D CAP .

另外,由於Sobel運算元、Prewitt運算元、Marr-Hildreth運算元和Canny運算元均為習知技術,故在此不擬贅述。In addition, since the Sobel operator, Prewitt operator, Marr-Hildreth operator and Canny operator are all known techniques, they are not described in detail here.

由上述可知,本發明揭露了一種電容式觸控區域識別方法。請參照圖2,其繪示本發明之電容式觸控區域識別方法之一實施例的流程圖,其係由一控制電路實現。如圖2所示,該方法包括:自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域(步驟a);利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度(步驟b);在該些代表梯度中找出具有一最大長度之一目標梯度,並依該最大長度之一比例值決定一閾值(步驟c);依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域(步驟d);以及對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標(步驟e)。As can be seen from the above, the present invention discloses a capacitive touch area recognition method. Please refer to FIG2, which shows a flow chart of an embodiment of the capacitive touch area recognition method of the present invention, which is implemented by a control circuit. As shown in FIG2, the method includes: obtaining a frame of capacitance sensing data from a capacitance sensor array, and dividing the frame of capacitance sensing data into a plurality of sub-areas (step a); using a gradient operator to perform a convolution calculation on each of the sub-areas to obtain a representative gradient for each of the sub-areas (step b); finding a target gradient with a maximum length among the representative gradients, and dividing the target gradient according to the maximum length. A ratio value is used to determine a threshold value (step c); the threshold value is compared with the lengths of the representative gradients to find a plurality of effective gradients whose lengths are greater than the threshold value, and at least one touch area is determined according to the corresponding positions of the effective gradients in the frame of capacitance sensing data (step d); and a weighted average operation is performed on each of the touch areas to obtain an equivalent touch coordinate of each of the touch areas (step e).

在上述的步驟中,梯度運算元可為現有的Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元或Canny運算元。另外,該比例值可為一小於1的正實數。In the above steps, the gradient operator can be an existing Roberts operator, Sobel operator, Prewitt operator, Marr-Hildreth operator or Canny operator. In addition, the ratio value can be a positive real number less than 1.

依上述的說明,本發明進一步提出一種資訊處理裝置。請參照圖3,其繪示本發明之資訊處理裝置之一實施例的方塊圖。如圖3所示,一資訊處理裝置200具有一中央處理單元210及一觸控裝置220,其中,觸控裝置220係由觸控裝置100實現,且中央處理單元210係用以與觸控裝置220通信以接收觸摸座標資料。According to the above description, the present invention further proposes an information processing device. Please refer to FIG. 3, which shows a block diagram of an embodiment of the information processing device of the present invention. As shown in FIG. 3, an information processing device 200 has a central processing unit 210 and a touch device 220, wherein the touch device 220 is implemented by the touch device 100, and the central processing unit 210 is used to communicate with the touch device 220 to receive touch coordinate data.

另外,資訊處理裝置200可為一智慧型手機、一攜帶型電腦或一車用電腦。In addition, the information processing device 200 may be a smart phone, a portable computer or a car computer.

藉由前述所揭露的設計,本發明乃具有以下的優點:Through the above disclosed design, the present invention has the following advantages:

一、本發明之電容式觸控區域識別方法可藉由低複雜度的處理程序準確地識別劃分觸摸區域。1. The capacitive touch area recognition method of the present invention can accurately identify and divide the touch area through a low-complexity processing procedure.

二、本發明之電容式觸控區域識別方法可藉由通用性高的處理程序適用於不同螢幕。2. The capacitive touch area recognition method of the present invention can be applied to different screens through a highly universal processing procedure.

三、本發明之觸控裝置可藉由前述之方法提升觸控檢測效率,從而提升操作者之使用體驗。3. The touch device of the present invention can improve the touch detection efficiency through the aforementioned method, thereby improving the operator's experience.

四、本發明之資訊處理裝置可藉由前述之觸控裝置提升觸控檢測效率,從而提升操作者之使用體驗。4. The information processing device of the present invention can improve the touch detection efficiency through the aforementioned touch device, thereby improving the operator's experience.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。The invention disclosed in this case is a preferred embodiment. Any partial changes or modifications that are derived from the technical concept of this case and are easily inferred by people familiar with the art do not deviate from the scope of the patent rights of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。In summary, this case shows that its purpose, means and effects are all different from the known technology, and it is the first invention that is practical and indeed meets the patent requirements for invention. We sincerely request the review committee to examine this carefully and grant a patent as soon as possible to benefit the society. This is our utmost prayer.

100:觸控裝置 110:電容感測器陣列 120:控制電路 200:資訊處理裝置 210:中央處理單元 220:觸控裝置 步驟a:自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域。 步驟b:利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度。 步驟c:在該些代表梯度中找出具有一最大長度之一目標梯度,並依該最大長度之一比例值決定一閾值。 步驟d:依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。 步驟e:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。 100: Touch device 110: Capacitor sensor array 120: Control circuit 200: Information processing device 210: Central processing unit 220: Touch device Step a: Obtain a frame of capacitance sensing data from a capacitor sensor array, and divide the frame of capacitance sensing data into multiple sub-regions. Step b: Perform a convolution calculation on each of the sub-regions using a gradient operator to obtain a representative gradient for each of the sub-regions. Step c: Find a target gradient with a maximum length among the representative gradients, and determine a threshold value according to a ratio of the maximum length. Step d: Compare the threshold value with the lengths of the representative gradients to find multiple effective gradients whose lengths are greater than the threshold value, and determine at least one touch area according to the corresponding positions of the effective gradients in the frame of capacitance sensing data. Step e: Perform a weighted average operation on each of the touch areas to obtain the equivalent touch coordinates of each of the touch areas.

圖1繪示本發明之觸控裝置之一實施例之方塊圖。 圖2繪示本發明之電容式觸控區域識別方法之一實施例的流程圖。 圖3繪示本發明之資訊處理裝置之一實施例的方塊圖。 FIG. 1 is a block diagram of an embodiment of a touch device of the present invention. FIG. 2 is a flow chart of an embodiment of a capacitive touch area identification method of the present invention. FIG. 3 is a block diagram of an embodiment of an information processing device of the present invention.

步驟a:自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域 Step a: Obtain a frame of capacitance sensing data from a capacitance sensor array, and divide the frame of capacitance sensing data into multiple sub-areas

步驟b:利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度 Step b: Use a gradient operator to perform a convolution calculation on each sub-region to obtain a representative gradient for each sub-region.

步驟c:在該些代表梯度中找出具有一最大長度之一目標梯度,並依該最大長度之一比例值決定一閾值 Step c: Find a target gradient with a maximum length among the representative gradients, and determine a threshold value according to a ratio of the maximum length

步驟d:依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域 Step d: Compare the threshold value with the lengths of the representative gradients to find multiple effective gradients whose lengths are greater than the threshold value, and determine at least one touch area according to the corresponding positions of the effective gradients in the frame of capacitance sensing data

步驟e:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標 Step e: Perform a weighted average operation on each touch area to obtain the equivalent touch coordinates of each touch area.

Claims (10)

一種電容式觸控區域識別方法,係由一控制電路實現,且其包括: 自一電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域; 利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;以及 在該些代表梯度中找出具有一最大長度之一目標梯度,依該最大長度之一比例值決定一閾值,依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。 A capacitive touch region identification method is implemented by a control circuit and includes: Obtaining a frame of capacitance sensing data from a capacitance sensor array and dividing the frame of capacitance sensing data into multiple sub-regions; Using a gradient operator to perform a convolution calculation on each of the sub-regions to obtain a representative gradient for each of the sub-regions; and Finding a target gradient with a maximum length among the representative gradients, determining a threshold value according to a ratio of the maximum length, comparing the threshold value with the lengths of the representative gradients to find multiple valid gradients with lengths greater than the threshold value, and determining at least one touch region according to the corresponding positions of the valid gradients in the frame of capacitance sensing data. 如請求項1所述之電容式觸控區域識別方法,其進一步包括:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。The capacitive touch area identification method as described in claim 1 further includes: performing a weighted average operation on each touch area to obtain an equivalent touch coordinate of each touch area. 如請求項1所述之電容式觸控區域識別方法,其中,該梯度運算元係由Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元和Canny運算元所組成群組所選擇的一種運算元。A capacitive touch area recognition method as described in claim 1, wherein the gradient operator is an operator selected from a group consisting of Roberts operators, Sobel operators, Prewitt operators, Marr-Hildreth operators and Canny operators. 如請求項1所述之電容式觸控區域識別方法,其中,該比例值係一小於1的正實數。A capacitive touch area identification method as described in claim 1, wherein the ratio value is a positive real number less than 1. 一種觸控裝置,具有一電容感測器陣列及一控制電路,其中,該控制電路係用以執行一電容式觸控區域識別程序,該電容式觸控區域識別程序包括: 自該電容感測器陣列獲得一幀電容感測資料,並將該幀電容感測資料劃分成多個子區域; 利用一梯度運算元對各該子區域均進行一卷積計算以獲得各該子區域之一代表梯度;以及 在該些代表梯度中找出具有一最大長度之一目標梯度,依該最大長度之一比例值決定一閾值,依該閾值與該些代表梯度之長度進行比較以找出長度大於該閾值之多個有效梯度,並依該些有效梯度在該幀電容感測資料中的對應位置定出至少一觸摸區域。 A touch device has a capacitance sensor array and a control circuit, wherein the control circuit is used to execute a capacitive touch area identification procedure, the capacitive touch area identification procedure comprising: Obtaining a frame of capacitance sensing data from the capacitance sensor array, and dividing the frame of capacitance sensing data into a plurality of sub-areas; Using a gradient operator to perform a convolution calculation on each of the sub-areas to obtain a representative gradient of each of the sub-areas; and Find a target gradient with a maximum length among the representative gradients, determine a threshold value according to a ratio value of the maximum length, compare the threshold value with the lengths of the representative gradients to find multiple effective gradients with lengths greater than the threshold value, and determine at least one touch area according to the corresponding positions of the effective gradients in the frame of capacitance sensing data. 如請求項5所述之觸控裝置,其中該電容式觸控區域識別方法進一步包括:對各該觸摸區域均進行一加權平均運算以獲得各該觸摸區域之等效觸摸座標。The touch device as described in claim 5, wherein the capacitive touch area identification method further includes: performing a weighted average operation on each of the touch areas to obtain equivalent touch coordinates of each of the touch areas. 如請求項5所述之觸控裝置,其中,該梯度運算元係由Roberts運算元、Sobel運算元、Prewitt運算元、Marr-Hildreth運算元和Canny運算元所組成群組所選擇的一種運算元。A touch control device as described in claim 5, wherein the gradient operator is an operator selected from a group consisting of Roberts operator, Sobel operator, Prewitt operator, Marr-Hildreth operator and Canny operator. 如請求項5所述之觸控裝置,其中,該比例值係一小於1的正實數。A touch device as described in claim 5, wherein the ratio value is a positive real number less than 1. 一種資訊處理裝置,其具有一中央處理單元及如請求項5至8中任一項所述之觸控裝置,其中,該中央處理單元係用以與該觸控裝置通信。An information processing device having a central processing unit and a touch device as described in any one of claims 5 to 8, wherein the central processing unit is used to communicate with the touch device. 如請求項9所述之資訊處理裝置,其係由一智慧型手機、一攜帶型電腦和一車用電腦所組成群組所選擇的一種裝置。The information processing device as described in claim 9 is a device selected from the group consisting of a smart phone, a portable computer and a car computer.
TW112120750A 2023-06-02 2023-06-02 Capacitive touch area recognition method, touch device and information processing device TWI842551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112120750A TWI842551B (en) 2023-06-02 2023-06-02 Capacitive touch area recognition method, touch device and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112120750A TWI842551B (en) 2023-06-02 2023-06-02 Capacitive touch area recognition method, touch device and information processing device

Publications (2)

Publication Number Publication Date
TWI842551B true TWI842551B (en) 2024-05-11
TW202449579A TW202449579A (en) 2024-12-16

Family

ID=92076981

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112120750A TWI842551B (en) 2023-06-02 2023-06-02 Capacitive touch area recognition method, touch device and information processing device

Country Status (1)

Country Link
TW (1) TWI842551B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201211869A (en) * 2010-09-15 2012-03-16 Advanced Silicon Sa Method for detecting an arbitrary number of touches from a multi-touch device
TW201937359A (en) * 2019-01-08 2019-09-16 英屬開曼群島商敦泰電子有限公司 Method for calculating center of touch area, touch system and touch device
TW202042025A (en) * 2019-05-02 2020-11-16 友達光電股份有限公司 Touch and display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201211869A (en) * 2010-09-15 2012-03-16 Advanced Silicon Sa Method for detecting an arbitrary number of touches from a multi-touch device
TW201937359A (en) * 2019-01-08 2019-09-16 英屬開曼群島商敦泰電子有限公司 Method for calculating center of touch area, touch system and touch device
TW202042025A (en) * 2019-05-02 2020-11-16 友達光電股份有限公司 Touch and display device

Also Published As

Publication number Publication date
TW202449579A (en) 2024-12-16

Similar Documents

Publication Publication Date Title
US8659557B2 (en) Touch finding method and apparatus
TWI584179B (en) Method and system for multi-touch decoding
TWI426439B (en) Method, medium and equipment for detecting an arbitrary number of touches from a multi-touch device
CN108509909B (en) Fingerprint collection method and device
CN105981045A (en) Fingerprint authentication using touch sensor data
WO2019223461A1 (en) Touch detection method and computer-readable storage medium
US20160054831A1 (en) Capacitive touch device and method identifying touch object on the same
CN104133600A (en) Liquid identification method of touch panel
TWI237798B (en) Detection method of relative motion between finger and sensor plane
CN103324964A (en) System and method for identity recognition
TWI842551B (en) Capacitive touch area recognition method, touch device and information processing device
CN103513835B (en) A kind of touch coordinate detection method based on mutual capacitance touchscreens
CN106485719B (en) A method and system for positioning scan lines during capacitive touch screen testing
CN108958565A (en) Coordinate calculation method, touch device and mobile terminal for multiple spot capacitance touching control
US20210373739A1 (en) Method for touch sensing enhancement implemented in single chip, single chip capable of achieving touch sensing enhancement, and computing apparatus
EP4459430A1 (en) Knuckle operation recognition method and electronic device
CN118196017A (en) Defect detection method and device and electronic equipment
TWI756723B (en) A method for recognizing false touches on a foldable touch display device, a foldable touch display device, and an information processing device
CN110058734B (en) Touch screen interference processing method, touch screen and electronic equipment based on clustering algorithm
CN115909426A (en) Fingerprint identification device, module, method, electronic equipment and computer program product
TWI802831B (en) Characteristic image extension method and control chip, touch display device and handheld device using the same
CN110659536B (en) Fingerprint recognition device resolution testing method, device, system and storage medium
TW202101181A (en) Circular touch screen sensing method, touch display and data processor allowing the boundary of a circular touch control sensing area to approximate a standard circle
CN113569602A (en) Display device, multi-finger fingerprint detection device and operation method thereof
CN120747119B (en) Electronic element defect detection method and system based on image recognition