TWI692711B - Method of detecting liquid on capacitive touch panel and controller thereof - Google Patents
Method of detecting liquid on capacitive touch panel and controller thereof Download PDFInfo
- Publication number
- TWI692711B TWI692711B TW107132695A TW107132695A TWI692711B TW I692711 B TWI692711 B TW I692711B TW 107132695 A TW107132695 A TW 107132695A TW 107132695 A TW107132695 A TW 107132695A TW I692711 B TWI692711 B TW I692711B
- Authority
- TW
- Taiwan
- Prior art keywords
- sensing
- axis
- information
- sensing information
- electrodes
- Prior art date
Links
Images
Abstract
Description
本發明係關於一種電容式觸控板上之物件檢測方法,尤指一種電容式觸控板上之液體檢測方法。 The invention relates to an object detection method on a capacitive touch panel, in particular to a liquid detection method on a capacitive touch panel.
電容式觸控板是根據電容量的變化來判斷物件的觸控資訊,例如物件的種類。當電容式觸控板上存在有液體(例如水)而且使用者的手指與該液體接觸時,習知的電容式觸控板控制器無法辨識出有液體存在於電容式觸控板上。 The capacitive touchpad determines the touch information of an object according to the change in capacitance, such as the type of object. When there is liquid (such as water) on the capacitive touch panel and the user's finger is in contact with the liquid, the conventional capacitive touch panel controller cannot recognize that liquid is present on the capacitive touch panel.
本發明的主要發明目的係提供一種電容式觸控板上之液體檢測方法及其控制器。 The main object of the present invention is to provide a liquid detection method and controller for a capacitive touch panel.
根據本發明的一實施例,一電容式觸控板上之液體檢測方法包含有以下步驟(a)至(d);其中,該電容式觸控板係包含有多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;(a)對該多個第一感應電極進行自電容量測,獲得第一感應資訊,該第一感應資訊包括每一該第一感應電極的感應量; (b)對該多個感應點進行互電容量測,獲得每一該感應點的感應量;(c)分別計算每一第一感應電極上的多個該感應點的感應量的總和,獲得一第二感應資訊;以及(d)根據該第一感應資訊與該第二感應資訊,判斷是否有液體存在於該電容式觸控板上。 According to an embodiment of the invention, a liquid detection method on a capacitive touch panel includes the following steps (a) to (d); wherein, the capacitive touch panel includes multiple first sensing electrodes and multiple A second sensing electrode, the intersection of the plurality of first sensing electrodes and the plurality of second sensing electrodes constitutes a plurality of sensing points; (a) performing self-capacitance measurement on the plurality of first sensing electrodes to obtain the first sensing Information, the first sensing information includes the sensing amount of each of the first sensing electrodes; (b) Perform mutual capacitance measurement on the multiple sensing points to obtain the inductance of each of the sensing points; (c) Calculate the sum of the inductances of the multiple sensing points on each first sensing electrode to obtain A second sensing information; and (d) according to the first sensing information and the second sensing information, determine whether liquid exists on the capacitive touch panel.
根據本發明的一實施例,一電容式觸控板之控制器用以檢測一觸控板上是否存在液體,該觸控板包括多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該控制器包含有:一儲存媒體及一處理器;其中該儲存媒體係用以儲存韌體程式,而該處理器係耦接該儲存媒體,且該處理器藉由執行該韌體程式執行前揭步驟(a)至(d)。 According to an embodiment of the present invention, a controller of a capacitive touchpad is used to detect whether liquid exists on a touchpad. The touchpad includes a plurality of first sensing electrodes and a plurality of second sensing electrodes. The intersection of the first sensing electrode and the plurality of second sensing electrodes constitutes a plurality of sensing points; the controller includes: a storage medium and a processor; wherein the storage medium is used to store firmware programs, and the processor It is coupled to the storage medium, and the processor executes the preemptive steps (a) to (d) by executing the firmware program.
根據本發明的一實施例,電容式觸控板在X方向包括有多個第一感應電極,在Y方向包括多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;(a)對該多個第一感應電極及第二感應電極進行自電容量測,獲得第一X軸感應資訊及第一Y軸感應資訊,該第一X軸感應資訊包括每一該第一感應電極的感應量,該第一Y軸感應資訊包括每一該第二感應電極的感應量;(b)對該多個感應點進行互電容量測,獲得每一該感應點的感應量;(c)分別計算每一該第一感應電極上的多個該感應點的感應量的總和,獲得一第二X軸感應資訊,以及分別計算每一該第二感應電極上的多個該感應點的感應量的總和,獲得第二Y軸感應資訊;以及(d)根據該第一X軸感應資訊及第一Y軸感應資訊與該第二X軸感應資訊及該第二Y軸感應資訊,判斷是否有液體存在於該電容式觸控板上。 According to an embodiment of the invention, the capacitive touch panel includes a plurality of first sensing electrodes in the X direction and a plurality of second sensing electrodes in the Y direction, the plurality of first sensing electrodes and the plurality of second sensing The intersection of the electrodes constitutes a plurality of sensing points; (a) performing self-capacitance measurement on the plurality of first and second sensing electrodes to obtain first X-axis sensing information and first Y-axis sensing information, the first X The axis sensing information includes the sensing amount of each of the first sensing electrodes, and the first Y-axis sensing information includes the sensing amount of each of the second sensing electrodes; (b) performing mutual capacitance measurement on the plurality of sensing points to obtain The amount of induction of each of the sensing points; (c) separately calculating the sum of the amounts of induction of the plurality of sensing points on each of the first sensing electrodes to obtain a second X-axis sensing information, and calculating each of the first The sum of the sensing amounts of the plurality of sensing points on the two sensing electrodes to obtain second Y-axis sensing information; and (d) according to the first X-axis sensing information and the first Y-axis sensing information and the second X-axis sensing Information and the second Y-axis sensing information to determine whether liquid exists on the capacitive touch panel.
藉由本發明提供的方法及實施該方法的控制器,可以識別該電容式觸控板上的液體。 With the method provided by the present invention and the controller implementing the method, the liquid on the capacitive touch panel can be identified.
1:電容式觸控裝置 1: Capacitive touch device
10:電容式觸控板 10: Capacitive touchpad
100:感應點 100: Sensing point
20:控制器 20: Controller
21:驅動單元 21: Drive unit
22:感測單元 22: Sensing unit
221:感測電路 221: Sensing circuit
222:取樣保持電路 222: Sample and hold circuit
23:處理器 23: processor
231:儲存媒體 231: Storage media
30:液體 30: liquid
圖1為本發明電容式觸控裝置的一架構示意圖。 FIG. 1 is a schematic structural diagram of a capacitive touch device of the present invention.
圖2A為根據本發明之電容式觸控板的液體檢測方法的流程圖。 2A is a flowchart of a liquid detection method of a capacitive touch panel according to the present invention.
圖2B說明圖2A步驟S40的一實施例。 FIG. 2B illustrates an embodiment of step S40 of FIG. 2A.
圖3提供電容式觸控板之第一X軸感應資訊及第一Y軸感應資訊。 FIG. 3 provides first X-axis sensing information and first Y-axis sensing information of the capacitive touch panel.
圖4A提供電容式觸控板之多個感應點的感應量。 FIG. 4A provides the sensing quantities of multiple sensing points of the capacitive touch panel.
圖4B為電容式觸控板之第二X軸感應資訊及第二Y軸感應資訊的一示意圖。 4B is a schematic diagram of the second X-axis sensing information and the second Y-axis sensing information of the capacitive touch panel.
圖4C為電容式觸控板之第三X軸感應資訊及第三Y軸感應資訊的一示意圖。 4C is a schematic diagram of the third X-axis sensing information and the third Y-axis sensing information of the capacitive touch panel.
圖4D為電容式觸控板之X軸差異資訊及Y軸差異資訊的一示意圖。 FIG. 4D is a schematic diagram of X-axis difference information and Y-axis difference information of the capacitive touch panel.
圖5說明圖1中控制器的組成。 FIG. 5 illustrates the composition of the controller in FIG.
圖6提供圖5中感測單元的一實施例 FIG. 6 provides an embodiment of the sensing unit in FIG. 5
圖7A至圖7D的訊號波形圖說明根據本發明之控制器在進行自電容式量測與互電容量測時所使用的驅動信號以及感測的時間。 7A to 7D are signal waveform diagrams illustrating the driving signals and the sensing time used by the controller according to the present invention when performing self-capacitance measurement and mutual capacitance measurement.
首先請參閱圖1所示,一電容式觸控裝置1包含一電容式觸控板10及一控制器20。該電容式觸控板10可以是透明的,也可以是不透明的。該電容式觸控板10在X方向上包含有複數條感應電極X1~Xn,在Y方向上包括複數
條感應電極Y1~Ym,且該些感應電極X1~Xn及該些感應電極Y1~Ym的交會構成複數感應點100。圖1中該些感應電極X1~Xn與該些感應電極Y1~Ym的位置只是示意,並無意限制本發明。控制器20耦接該電容式觸控板10,用以偵測複數感應電極X1~Xn、複數感應電極Y1~Ym以及複數個感應點100的感應量。圖號30是代表液體(例如水),出現在電容式觸控板10上。一導體(例如手指F)接觸該液體30,使得液體30接地。
First, please refer to FIG. 1, a
為方便說明,在圖3、圖4A至圖4D提供的例子中,電容式觸控板10在X方向包含7個第一感應電極X1~X7,在Y方向包括12個第二感應電極Y1~Y12。第一感應電極X1~X7及第二感應電極Y1~Y12的交會構成84個感應點100。
For convenience of description, in the examples provided in FIG. 3, FIG. 4A to FIG. 4D, the
請配合參閱圖2A所示,係為根據本發明之電容式觸控板10的液體檢測方法的一流程圖,該液體檢測方法包含以下步驟S10~S40。
Please refer to FIG. 2A for a flow chart of the liquid detection method of the
於步驟S10中,該控制器20對於X方向上的第一感應電極X1~X7以及Y方向上的第二感應電極Y1~Y12進行自電容量測(self-capacitance measurement),獲得如圖3所示的一第一X軸感應資訊dV_Self_X與第一Y軸感應資訊dV_Self_Y。該第一X軸感應資訊dV_Self_X包含每一個第一感應電極X1~X7的感應量。如圖3所示,第一感應電極X1的感應量為8,第一感應電極X7的感應量為22。該第一Y軸感應資訊dV_Self_Y包含每一個第二感應電極Y1~Y12的感應量。如圖3所示,第二感應電極Y1的感應量為0,第二感應電極Y12的感應量為4。
In step S10, the
前述的自電容量測包括同時驅動多條感應電極。在一實施例中,當驅動及讀取其中一條第一感應電極或第二感應電極時,也對該被驅動的第一或第二感應電極的相鄰第一或第二感應電極同時輸出具有相同相位的驅動信號。例如,當量測第一感應電極X3的感應量時,控制器20同時輸出驅動信號
予該第一感應電極X3,以及與該第一感應電極X3相鄰的二條第一感應電極X2、X4。當量測該第二感應電極Y3的感應量時,控制器20同時輸該驅動信號予該第二感應電極Y3,以及與該第二感應電極Y3相鄰的二條第二感應電極Y2、Y4。在另一實施例中,該自電容量測係對全部的第一感應電極X1~X7同時輸出相同相位的驅動信號,再一起接收該些第一感應電極X1~X7的信號,也對全部的第二感應電極Y1~Y12輸出相同相位的驅動信號,再一起接收該些第二感應電極Y1~Y12的信號。
The aforementioned self-capacitance measurement includes driving multiple sensing electrodes simultaneously. In one embodiment, when one of the first sensing electrode or the second sensing electrode is driven and read, the adjacent first or second sensing electrode of the driven first or second sensing electrode also has Drive signals of the same phase. For example, when measuring the sensing amount of the first sensing electrode X3, the
在步驟S20中,控制器20對於多個感應點100進行互電容量測(mutual-capacitance measurement),獲得多個感應點100的感應量係如圖4A所示。在圖4A中,第一感應電極X1與第二感應電極Y1構成的感應點100的感應量為3,第一感應電極X3與第二感應電極Y7構成的感應點100的感應量為178。互電容量測的詳細內容為熟習觸控技術領域者所熟知,在此不在詳述。
In step S20, the
步驟S10與步驟S20的順序可以交換。在一實施例中,係先進行步驟S20,再進行步驟S10。 The order of step S10 and step S20 can be exchanged. In one embodiment, step S20 is performed first, and then step S10 is performed.
獲得複數感應點100的感應量之後,進行步驟S30,分別計算每一個第一感應電極X1~X7上的多個該感應點100的感應量的總和,獲得第二X軸感應資訊dVsum_Mutual_X,以及分別計算每一個第二感應電極Y1~Y12上的多個該感應點100的感應量的總和,獲得第二Y軸感應資訊dVsum_Mutual_Y。圖4B顯示第二X軸感應資訊dVsum_Mutual_X與第二Y軸感應資訊dVsum_Mutual_Y。每一個第一感應電極X1~X7與每一第二感應電極Y1~Y12各自對應一個累加的感應量。舉例來說,在圖4B中,第一感應電極X1包括12個感應點100,這12個感應點100的感應量的總和為103。第二感應電極Y1包括7個感應點100,這7個感應點100的感應量的總和為24。
After obtaining the sensing amount of the plurality of sensing
步驟S40係根據該第一X軸感應資訊dV_Self_X、該第二X軸感應資訊dVsum_Mutual_X、該第一Y軸感應資訊dV_Self_Y以及該第二Y軸感應資訊dVsum_Mutual_Y判斷是否有液體存在於該電容式觸控板10上。
Step S40 is based on the first X-axis sensing information dV_Self_X, the second X-axis sensing information dVsum_Mutual_X, the first Y-axis sensing information dV_Self_Y, and the second Y-axis sensing information dVsum_Mutual_Y to determine whether liquid exists in the capacitive touch On
步驟S40的一個實施例,包括根據該第一X軸感應資訊dV_Self_X與該第二X軸感應資訊dVsum_Mutual_X決定一X軸差異資訊dV_diff_X,根據該第一Y軸感應資訊dV_Self_Y與該第二Y軸感應資訊dVsum_Mutual_Y決定一Y軸差異資訊dV_diff_Y,以及根據該X軸差異資訊dV_diff_X及/或該Y軸差異資訊dV_diff_Y判斷是否有液體存在於該電容式觸控板10上。更詳細的步驟係如圖2B所示。
An embodiment of step S40 includes determining an X-axis difference information dV_diff_X based on the first X-axis sensing information dV_Self_X and the second X-axis sensing information dVsum_Mutual_X, and sensing based on the first Y-axis sensing information dV_Self_Y and the second Y-axis sensing information The information dVsum_Mutual_Y determines a Y-axis difference information dV_diff_Y, and determines whether liquid exists on the
步驟S401是根據該第一X軸感應資訊dV_Self_X對該第二X軸感應資訊dVsum_Mutual_X進行正規化運算,獲得一第三X軸感應資訊Normalized_dVsum_Mutual_X,在一實施例中,係根據對應於第二X軸感應資訊dVsum_Mutual_X中最大值”466”的第一感應電極X3的感應量”46”,對該第二X軸感應資訊dVsum_Mutual_X進行正規化運算,獲得如圖4C所示的第三X軸感應資訊Normalized_dVsum_Mutual_X。該正規化運算是將第二X軸感應資訊dVsum_Mutual_X的所有數值乘上一個比值46/466,其中分母”466”是第二X軸感應資訊dVsum_Mutual_X中的最大值,對應第一感應電極X3,分子”46”是該第一感應電極X3的感應量。 Step S401 is to normalize the second X-axis sensing information dVsum_Mutual_X according to the first X-axis sensing information dV_Self_X to obtain a third X-axis sensing information Normalized_dVsum_Mutual_X. In an embodiment, the second X-axis sensing information is normalized_dVsum_Mutual_X. The sensing amount "46" of the first sensing electrode X3 of the maximum value "466" in the sensing information dVsum_Mutual_X is normalized to the second X-axis sensing information dVsum_Mutual_X to obtain the third X-axis sensing information Normalized_dVsum_Mutual_X as shown in FIG. 4C . The normalization operation is to multiply all values of the second X-axis sensing information dVsum_Mutual_X by a ratio of 46/466, where the denominator "466" is the maximum value in the second X-axis sensing information dVsum_Mutual_X, corresponding to the first sensing electrode X3, the numerator "46" is the inductance of the first sensing electrode X3.
步驟S402是根據該第一Y軸感應資訊dV_Self_Y對該第二Y軸感應資訊dVsum_Mutual_Y進行正規化運算,獲得一第三Y軸感應資訊Normalized_dVsum_Mutual_Y。在一實施例中,係根據對應於第二Y軸感應資訊dVsum_Mutual_Y中最大值”564”的第二感應電極Y8的感應量”209”,對該第二Y軸感應資訊dVsum_Mutual_Y進行正規化運算,獲得如圖4C所示的第三Y軸感應資訊Normalized_dVsum_Mutual_Y。該正規化運算是將第二Y軸感應資
訊dVsum_Mutual_Y的所有數值乘上一個比值209/564,其中分母”564”是第二Y軸感應資訊dVsum_Mutual_Y中的最大值,對應第二感應電極Y8,分子”209”是該第二感應電極Y8的感應量。
Step S402 is to normalize the second Y-axis sensing information dVsum_Mutual_Y according to the first Y-axis sensing information dV_Self_Y to obtain a third Y-axis sensing information Normalized_dVsum_Mutual_Y. In one embodiment, the second Y-axis sensing information dVsum_Mutual_Y is normalized based on the sensing amount "209" of the second sensing electrode Y8 corresponding to the maximum value "564" in the second Y-axis sensing information dVsum_Mutual_Y. The third Y-axis sensing information Normalized_dVsum_Mutual_Y shown in FIG. 4C is obtained. The normalization operation is to convert the second Y-axis induction data
All values of dVsum_Mutual_Y are multiplied by a
步驟S403是將該第一X軸感應資訊dV_Self_X減去第三X軸感應資訊Normalized_dVsum_Mutual_X,獲得一X軸差值資訊包括多個X軸差值。該多個X軸差值係如圖4D的X軸差值資訊dV_diff_X所示。舉例來說,在第一X軸感應資訊dV_Self_X中,第一感應電極X3的感應量為46,在第三X軸感應資訊Normalized_dVsum_Mutual_X,第一感應電極X3對應的數值為46。將46減去46,即為圖4D中第一感應電極X3所對應的X軸差值0。
Step S403 is to subtract the third X-axis sensing information Normalized_dVsum_Mutual_X from the first X-axis sensing information dV_Self_X to obtain X-axis difference information including multiple X-axis difference values. The multiple X-axis difference values are shown in the X-axis difference information dV_diff_X in FIG. 4D. For example, in the first X-axis sensing information dV_Self_X, the sensing amount of the first sensing electrode X3 is 46, and in the third X-axis sensing information Normalized_dVsum_Mutual_X, the corresponding value of the first sensing electrode X3 is 46. Subtract 46 from 46, which is the
步驟S404是將該第一Y軸感應資訊dV_Self_Y減去第三Y軸感應資訊Normalized_dVsum_Mutual_Y,獲得一Y軸差值資訊包括多個Y軸差值。該多個Y軸差值係如圖4D的差值資訊dV_diff_Y所示。舉例來說,在第一Y軸感應資訊dV_Self_Y中,第二感應電極Y9的感應量為146,在第三Y軸感應資訊Normalized_dVsum_Mutual_Y,第二感應電極Y9對應的數值為72。將146減去72,即為圖4C中第二感應電極Y9所對應的Y軸差值74。
Step S404 is to subtract the third Y-axis sensing information Normalized_dVsum_Mutual_Y from the first Y-axis sensing information dV_Self_Y to obtain a Y-axis difference information including multiple Y-axis difference values. The multiple Y-axis differences are shown in the difference information dV_diff_Y of FIG. 4D. For example, in the first Y-axis sensing information dV_Self_Y, the sensing amount of the second sensing electrode Y9 is 146, and in the third Y-axis sensing information Normalized_dVsum_Mutual_Y, the corresponding value of the second sensing electrode Y9 is 72. Subtracting 72 from 146 is the Y-
在步驟S405中,係將X軸差值資訊dV_diff_X與Y軸差值資訊dV_diff_Y的多個差值與一臨界值作比較,以判斷大於該臨界值的差值的數量。舉例來說,假設臨界值為50,將X軸差值資訊dV_diff_X中的多個X軸差值與臨界值50作比較,可以獲得大於臨界值的X軸差值的數量為2,將Y軸差值資訊dV_diff_Y中的多個Y軸差值與臨界值50作比較,可以獲得大於臨界值的Y軸差值的數量為2。 In step S405, a plurality of differences between the X-axis difference information dV_diff_X and the Y-axis difference information dV_diff_Y are compared with a threshold value to determine the number of differences greater than the threshold value. For example, assuming that the critical value is 50, comparing multiple X-axis difference values in the X-axis difference information dV_diff_X with the critical value 50, the number of X-axis difference values greater than the critical value is 2 and the Y-axis By comparing multiple Y-axis differences in the difference information dV_diff_Y with the critical value 50, the number of Y-axis differences greater than the critical value can be obtained as 2.
步驟S406是根據步驟S405獲得的大於該臨界值的差值的數量,判斷是否有液體存在於該電容式觸控板10上。步驟S406的一個實施例是當大於該臨界值的差值的數量大於0時(不論是在X方向或Y方向),即判斷有液體存在
於該電容式觸控板10上。根據前述步驟S405的比較結果,有四個差值大於該臨界值,因此步驟S406即判斷有液體存在於該電容式觸控板10上。
Step S406 is to determine whether liquid exists on the
上述實施例的各個步驟的順序可以被改變。從上述實施例可以了解,控制器20根據單一方向(X或Y)的差值資訊即可判斷是否有液體存在於觸控板10上。因此,將圖2A及2B的某些步驟省略是可行的。舉例來說,獲得第一Y軸感應資訊與第二Y軸感應資訊以及Y軸差值資訊的步驟可以省略,控制器20根據X軸差值資訊中大於臨界值50的差值的數量為2,即可判斷有液體存在於觸控板10上。
The order of the various steps of the above-described embodiment can be changed. It can be understood from the foregoing embodiment that the
從上述的說明,可以理解本發明提供一種電容式觸控板上之液體檢測方法,該電容式觸控板係包含有多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該液體檢測方法包括以下步驟:(a)對該多個第一感應電極進行自電容量測,獲得第一感應資訊,該第一感應資訊包括每一第一感應電極的感應量;(b)對該多個感應點進行互電容量測,獲得每一該感應點的感應量;(c)分別計算每一第一感應電極上的多個該感應點的感應量的總和,獲得一第二感應資訊;以及(d)根據該第一感應資訊與該第二感應資訊,判斷是否有液體存在於該電容式觸控板上。 From the above description, it can be understood that the present invention provides a liquid detection method for a capacitive touch panel. The capacitive touch panel includes a plurality of first sensing electrodes and a plurality of second sensing electrodes. The intersection of the sensing electrode and the plurality of second sensing electrodes constitutes a plurality of sensing points; the liquid detection method includes the following steps: (a) performing self-capacitance measurement on the plurality of first sensing electrodes to obtain first sensing information, the The first sensing information includes the sensing amount of each first sensing electrode; (b) performing mutual capacitance measurement on the plurality of sensing points to obtain the sensing amount of each sensing point; (c) calculating each first sensing separately The sum of the sensing amounts of the plurality of sensing points on the electrode to obtain a second sensing information; and (d) according to the first sensing information and the second sensing information, determine whether there is liquid in the capacitive touch panel on.
圖5顯示控制器20的一個實施例。控制器20包含一驅動單元21、一感測單元22、一處理器23及一儲存媒體231。處理器23耦接該儲存媒體231、驅動單元21與感測單元22。處理器23執行該儲存媒體231所儲存的韌體程式,以控制驅動單元21與感測單元22的操作,以及根據感測單元22的輸出產生觸控資訊,例如物件位置,數量等等。在一實施例中,控制器20用於對該些第一感
應電極X1~Xn及該些第二感應電極Y1~Ym進行自電容量測(self-capacitance measurement),以及對多個感應點100進行互電容量測(mutual-capacitance measurement)。該自電容量測的一個實施例,係由驅動單元21提供驅動信號給第一感應電極X1~Xn及第二感應電極Y1~Ym,以及由感測單元22感測第一感應電極X1~Xn與第二感應電極Y1~Ym,以獲得各第一及第二感應電極的感應量。該互電容量測的一個實施例,是由驅動單元21提供驅動信號給X方向的第一感應電極X1~Xn,以及由感測單元22感測Y方向的第二感應電極Y1~Ym,以獲得多個感應點100的感應量。該處理器21藉由執行儲存媒體231所儲存的韌體程式,實現前述的液體檢測方法。
FIG. 5 shows an embodiment of the
在一實施例中,感測單元22包括至少一個感測電路221與至少一取樣保持(Sample and Hold)電路222。感測電路221與取樣保持電路222的一個實施例係如圖6所示,感測電路221包括一感測電容C1,一開關SW1以及一運算放大器OP。感測電容C1連接在運算放大器OP的一第一輸入端IN1與輸出端OUT之間,開關SW1與感測電容C1並聯。運算放大器OP之輸出端OUT連接取樣保持電路222,取樣保持電路222包括一開關SW2與一取樣電容C2,開關SW2連接在運算放大器OP的輸出端OUT與取樣電容C2之間,取樣電容C2的一端接地,另一端連接取樣保持電路222的輸出端O/P。
In one embodiment, the
以下說明感測電路221的操作,在第一階段,開關SW1導通,使得感測電容C1的電荷量為0。在第二階段開關SW1斷開,開關SW2導通,並且運算放大器OP的第一輸入端IN1連接待測對象(即感應點100、第一感應電極或第二感應電極)以進行感測。在開關SW2導通時,運算放大器OP的輸出電壓對取樣電容C2充電,取樣電容C2的電壓值即等於運算放大器OP的輸出電壓。
The operation of the
取樣電容C2的電壓與開關SW2導通的時間長度RT有關。在一實施例中,時間長度RT是根據運算放大器OP的輸出電壓到達穩定的時間來決 定。在不同的實施例中,亦可以控制時間長度RT,使開關SW2在運算放大器OP的輸出電壓到達穩定之前就斷開。在開關SW2斷開之後,取樣電容C2的電壓被用於決定一感應量。 The voltage of the sampling capacitor C 2 is related to the length RT of the switch SW 2 being turned on. In one embodiment, the length of time RT is determined according to the time when the output voltage of the operational amplifier OP reaches a stable time. In different embodiments, the length RT can also be controlled so that the switch SW 2 is turned off before the output voltage of the operational amplifier OP reaches a stable level. After the switch SW 2 is turned off, the voltage of the sampling capacitor C 2 is used to determine an inductance.
取樣電容C2的電壓經由一類比數位轉換器(圖中未示出)轉換成一數位值,在一實施例中,係以該數位值減去一基準值作為感應量,該基準值是在沒有物件接觸時,該類比數位轉換器的輸出值。各個感應點100或各個第一及第二感應電極X1~Xn與Y1~Ym的基準值並非都相同。並且,因應不同的驅動信號,該基準值亦不相同。 The voltage of the sampling capacitor C 2 is converted into a digital value by an analog-to-digital converter (not shown in the figure). In one embodiment, the digital value minus a reference value is used as the inductance. The output value of the analog-to-digital converter when the object touches. The reference values of the sensing points 100 or the first and second sensing electrodes X1 to Xn and Y1 to Ym are not all the same. In addition, the reference value is different according to different driving signals.
在一實施例中,步驟S10的自電容量測使用圖7A所示的第一驅動信號TX1,用以控制開關SW2的控制信號的波形如圖7B所示。步驟S20的互電容量測使用圖7C所示的第二驅動信號TX2,用以控制開關SW2的控制信號的波形則如圖7D所示。第一驅動信號TX1具有第一頻率f1,在圖7A中,該第一頻率f1為500KHz。第二驅動信號TX2具有第二頻率f2,在圖7C中,第二頻率f2為2MHz。請參閱圖7B與圖7D,當控制信號為1時,開關SW2導通,當控制信號為0時,開關SW2斷開。開關SW2每次導通的時間長度為第一期間RT1,第一期間RT1可以被理解為是感測一第一(或第二)感應電極的時間長度。在這個第一期間RT1內,感測電路221對第一或第二感應電極進行感測。在開關SW2斷開之後,取樣保持電路222獲得一輸出電壓,該輸出電壓被用來計算感應量。藉由對第一感應電極X1~Xn與第二感應電極Y1~Ym進行上述的驅動及感測程序,即可獲得第一X軸感應資訊dV_Self_X與第一Y軸感應資訊dV_Self_Y。第二期間RT2可以被理解為是感測一感應點100的時間長度。在這個第二期間RT2內,感測電路221對一感應點100進行感測。在開關SW2斷開之後,取樣保持電路222獲得一輸出電壓,該輸出電壓被用來計算該感應點100的感應量。藉由對所有的感應點100進行驅動及感測程序,即可獲得所有感應點100的感應量。
In one embodiment, the self-capacitance measurement in step S10 uses the first driving signal TX1 shown in FIG. 7A, and the waveform of the control signal for controlling the switch SW 2 is shown in FIG. 7B. The mutual capacitance measurement in step S20 uses the second driving signal TX2 shown in FIG. 7C, and the waveform of the control signal for controlling the switch SW 2 is shown in FIG. 7D. The first driving signal TX1 has a first frequency f1, which is 500 KHz in FIG. 7A. The second driving signal TX2 has a second frequency f2. In FIG. 7C, the second frequency f2 is 2 MHz. See FIG. 7B and 7D, the control signal is 1 when the switch SW 2 is turned on, when the control signal is 0, switch SW 2 is turned off. The length of time each time the switch SW 2 is turned on is the first period RT1. The first period RT1 can be understood as the length of time for sensing a first (or second) sensing electrode. During this first period RT1, the
在其他實施例中,第一頻率f1可以大於、等於或小於第二頻率f2。第一期間RT1的長度可以大於、等於或小於第二期間RT2的長度。在一實施例中,第二頻率f2是1MHz以上,例如1MHz~2MHz範圍中的任一頻率。第二期間RT2小於等於0.28125us,例如在0.28125us~0.09375us之間。一般來說,驅動信號的頻率愈高,對應的感測時間愈短。在進行互電容量測時,第二驅動信號TX2的頻率愈高,或者第二期間RT2的長度愈短,液體造成的互容感應量會愈小,進而使得一第一或第二感應電極的自容感應量與互容感應量的總和之間的差異變大,本發明即利用此一特性來判斷是否有液體存在。 In other embodiments, the first frequency f1 may be greater than, equal to or less than the second frequency f2. The length of the first period RT1 may be greater than, equal to or less than the length of the second period RT2. In an embodiment, the second frequency f2 is above 1 MHz, such as any frequency in the range of 1 MHz to 2 MHz. In the second period, RT2 is less than or equal to 0.28125us, for example, between 0.28125us and 0.09375us. Generally speaking, the higher the frequency of the driving signal, the shorter the corresponding sensing time. When performing mutual capacitance measurement, the higher the frequency of the second driving signal TX2, or the shorter the length of RT2 in the second period, the smaller the mutual capacitance induction caused by the liquid, which in turn makes a first or second sensing electrode The difference between the sum of the self-capacitance induction amount and the mutual-capacitance induction amount becomes larger, and the present invention uses this characteristic to determine whether there is liquid.
在其他實施例中,當判斷有液體存在於該電容式觸控板10上之後,該控制器即使用該第二驅動信號TX2,或者其他更高頻的驅動信號,對該觸控板10進行互電容量測,並根據該互電容量測獲得的感應資訊,計算一接觸物件的位置。在每隔一段時間之後,再進行上述的液體檢測方法,以確認是否仍有液體在觸控板10上。
In other embodiments, after determining that liquid is present on the
從上述說明可以了解,當手指觸碰觸控板上的液體時,根據本發明提供的方法可以辨識出來有該液體的存在。以上所述僅是本發明的實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以實施例揭露如上,然而並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。 It can be understood from the above description that when a finger touches the liquid on the touch panel, the method according to the present invention can recognize the presence of the liquid. The above is only an embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field of the art, Within the scope of not departing from the technical solution of the present invention, when the technical contents disclosed above can be used to make some modifications or modifications to equivalent embodiments of equivalent changes, but any content that does not depart from the technical solution of the present invention, based on the technical essence of the present invention Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solution of the present invention.
Claims (27)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811378195.8A CN110568502A (en) | 2018-06-05 | 2018-11-19 | Liquid detection method on capacitive touch pad and controller thereof |
US16/417,841 US20190369803A1 (en) | 2018-06-05 | 2019-05-21 | Method of detecting liquid on a capacitive touchpad and controller thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201862680591P | 2018-06-05 | 2018-06-05 | |
US62/680,591 | 2018-06-05 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202004469A TW202004469A (en) | 2020-01-16 |
TWI692711B true TWI692711B (en) | 2020-05-01 |
Family
ID=69941878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107132695A TWI692711B (en) | 2018-06-05 | 2018-09-17 | Method of detecting liquid on capacitive touch panel and controller thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI692711B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI502458B (en) * | 2013-05-02 | 2015-10-01 | Elan Microelectronics Corp | Method of identifying a liquid object on a touch panel |
CN106170750A (en) * | 2013-12-02 | 2016-11-30 | 谱瑞科技有限公司 | Water repellent on capacitance type sensor |
TWI566154B (en) * | 2011-10-14 | 2017-01-11 | 禾瑞亞科技股份有限公司 | Device and method for detecting touch screen |
TWI610215B (en) * | 2016-11-21 | 2018-01-01 | 意象無限股份有限公司 | Touch sensitive panel and polarized material detection method using the same |
-
2018
- 2018-09-17 TW TW107132695A patent/TWI692711B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI566154B (en) * | 2011-10-14 | 2017-01-11 | 禾瑞亞科技股份有限公司 | Device and method for detecting touch screen |
TWI502458B (en) * | 2013-05-02 | 2015-10-01 | Elan Microelectronics Corp | Method of identifying a liquid object on a touch panel |
CN106170750A (en) * | 2013-12-02 | 2016-11-30 | 谱瑞科技有限公司 | Water repellent on capacitance type sensor |
TWI610215B (en) * | 2016-11-21 | 2018-01-01 | 意象無限股份有限公司 | Touch sensitive panel and polarized material detection method using the same |
Also Published As
Publication number | Publication date |
---|---|
TW202004469A (en) | 2020-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5193942B2 (en) | Capacitive touch panel device | |
US9152287B2 (en) | System and method for dual-touch gesture classification in resistive touch screens | |
TWI386656B (en) | Capacitance measurement circuit and method | |
TWI528250B (en) | Object Detector and Method for Capacitive Touchpad | |
TWI401597B (en) | Method and apparatus for drift compensation of capacitive touch panel | |
TWI507949B (en) | Touch sensing system, capacitance sensing circuit and capacitance sensing method thereof | |
US20190369803A1 (en) | Method of detecting liquid on a capacitive touchpad and controller thereof | |
JP2011170617A (en) | Electrostatic capacity type touch sensor | |
KR101198359B1 (en) | A touch screen device, a driving device and a driving method for a touch screen device | |
US9367190B2 (en) | Touch recognition method and system for a capacitive touch apparatus | |
JP2010113717A (en) | Multipoint sensing method for capacitive touch panel | |
US20130194234A1 (en) | Sensing circuit and method for a capacitive touch panel | |
US7804490B2 (en) | Method for multiple gesture detection and verification on a touchpad | |
CN109426380B (en) | Touch device, sensing method thereof and touch sensing circuit | |
TWI416396B (en) | Touch point detecting method | |
US10915209B2 (en) | Liquid detecting method and controller for a capacitive touch pad | |
TWI692711B (en) | Method of detecting liquid on capacitive touch panel and controller thereof | |
TWI479400B (en) | Sensing circuit relating to capacitive touch panel and mehod thereof using the same | |
JP5814704B2 (en) | Touch panel controller, touch panel control method, input device using the same, and electronic device | |
US11853498B2 (en) | System, method, and apparatus for passive shielding of a capacitive sensing button | |
KR101112630B1 (en) | Digital Apparatus for Touch Screen and Method for Compensating its distorted coordinate Therefore | |
TWI709897B (en) | Detecting method of touch device and detecting module thereof | |
US20190155441A1 (en) | Touch sensor circuit and touch sensor method | |
JP6543590B2 (en) | Input device | |
KR101531652B1 (en) | Digitizer and Method for filtering noise thereof |