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 PDF

Info

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
Application number
TW107132695A
Other languages
Chinese (zh)
Other versions
TW202004469A (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 CN201811378195.8A priority Critical patent/CN110568502A/en
Priority to US16/417,841 priority patent/US20190369803A1/en
Publication of TW202004469A publication Critical patent/TW202004469A/en
Application granted granted Critical
Publication of TWI692711B publication Critical patent/TWI692711B/en

Links

Images

Abstract

The present invention relates to a method of detecting liquid on capacitive touch panel and controller thereof. In the detecting method, a sensed value of each of multiple first sensing electrodes of the capacitive touch panel is obtained and used as a first sensing information. Another sensed value of each of multiple sensing points of the capacitive touch panel is further obtained. The sensed value of the sensing points on each first sensing electrode are added to generate a second sensing information. According to the first and second sensing information, a difference information is determined. A liquid on the capacitive touch panel is determined according to the difference information.

Description

電容式觸控板上之液體檢測方法及其控制器Liquid detection method and controller on capacitive touch panel

本發明係關於一種電容式觸控板上之物件檢測方法,尤指一種電容式觸控板上之液體檢測方法。 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 capacitive touch device 1 includes a capacitive touch panel 10 and a controller 20. The capacitive touch panel 10 may be transparent or opaque. The capacitive touch panel 10 includes a plurality of sensing electrodes X1~Xn in the X direction, and includes a plurality of sensing electrodes in the Y direction The sensing electrodes Y1~Ym, and the intersection of the sensing electrodes X1~Xn and the sensing electrodes Y1~Ym constitute a plurality of sensing points 100. The positions of the sensing electrodes X1 to Xn and the sensing electrodes Y1 to Ym in FIG. 1 are only schematic, and are not intended to limit the present invention. The controller 20 is coupled to the capacitive touch panel 10 for detecting the sensing amounts of the plurality of sensing electrodes X1~Xn, the plurality of sensing electrodes Y1~Ym, and the plurality of sensing points 100. The reference number 30 represents a liquid (for example, water) and appears on the capacitive touch panel 10. A conductor (eg, finger F) contacts the liquid 30, so that the liquid 30 is grounded.

為方便說明,在圖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 capacitive touch panel 10 includes 7 first sensing electrodes X1~X7 in the X direction and 12 second sensing electrodes Y1~ in the Y direction Y12. The intersection of the first sensing electrodes X1~X7 and the second sensing electrodes Y1~Y12 constitute 84 sensing points 100.

請配合參閱圖2A所示,係為根據本發明之電容式觸控板10的液體檢測方法的一流程圖,該液體檢測方法包含以下步驟S10~S40。 Please refer to FIG. 2A for a flow chart of the liquid detection method of the capacitive touch panel 10 according to the present invention. The liquid detection method includes the following steps S10 to S40.

於步驟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 controller 20 performs self-capacitance measurement on the first sensing electrodes X1~X7 in the X direction and the second sensing electrodes Y1~Y12 in the Y direction, as shown in FIG. 3 The first X-axis sensing information dV_Self_X and the first Y-axis sensing information dV_Self_Y are shown. The first X-axis sensing information dV_Self_X includes the sensing amount of each of the first sensing electrodes X1~X7. As shown in FIG. 3, the inductance of the first sensing electrode X1 is 8, and the inductance of the first sensing electrode X7 is 22. The first Y-axis sensing information dV_Self_Y includes the sensing amount of each second sensing electrode Y1~Y12. As shown in FIG. 3, the induction of the second induction electrode Y1 is 0, and the induction of the second induction electrode Y12 is 4.

前述的自電容量測包括同時驅動多條感應電極。在一實施例中,當驅動及讀取其中一條第一感應電極或第二感應電極時,也對該被驅動的第一或第二感應電極的相鄰第一或第二感應電極同時輸出具有相同相位的驅動信號。例如,當量測第一感應電極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 controller 20 simultaneously outputs a driving signal The first sensing electrode X3 and two first sensing electrodes X2 and X4 adjacent to the first sensing electrode X3. When measuring the sensing amount of the second sensing electrode Y3, the controller 20 simultaneously transmits the driving signal to the second sensing electrode Y3 and the two second sensing electrodes Y2 and Y4 adjacent to the second sensing electrode Y3. In another embodiment, the self-capacitance measuring system outputs the driving signals of the same phase to all the first sensing electrodes X1~X7 at the same time, and then receives the signals of the first sensing electrodes X1~X7 together. The second sensing electrodes Y1~Y12 output driving signals of the same phase, and then receive the signals of the second sensing electrodes Y1~Y12 together.

在步驟S20中,控制器20對於多個感應點100進行互電容量測(mutual-capacitance measurement),獲得多個感應點100的感應量係如圖4A所示。在圖4A中,第一感應電極X1與第二感應電極Y1構成的感應點100的感應量為3,第一感應電極X3與第二感應電極Y7構成的感應點100的感應量為178。互電容量測的詳細內容為熟習觸控技術領域者所熟知,在此不在詳述。 In step S20, the controller 20 performs mutual-capacitance measurement on the plurality of sensing points 100, and obtaining the sensing amounts of the plurality of sensing points 100 is shown in FIG. 4A. In FIG. 4A, the induction amount of the induction point 100 formed by the first induction electrode X1 and the second induction electrode Y1 is 3, and the induction amount of the induction point 100 formed by the first induction electrode X3 and the second induction electrode Y7 is 178. The details of mutual capacitance measurement are well known to those skilled in the field of touch technology, and will not be described in detail here.

步驟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 points 100, step S30 is performed to respectively calculate the sum of the sensing amounts of the plurality of sensing points 100 on each of the first sensing electrodes X1~X7 to obtain the second X-axis sensing information dVsum_Mutual_X, and respectively The sum of the sensing amounts of the plurality of sensing points 100 on each of the second sensing electrodes Y1~Y12 is calculated to obtain the second Y-axis sensing information dVsum_Mutual_Y. FIG. 4B shows the second X-axis sensing information dVsum_Mutual_X and the second Y-axis sensing information dVsum_Mutual_Y. Each of the first sensing electrodes X1~X7 and each of the second sensing electrodes Y1~Y12 respectively correspond to an accumulated sensing quantity. For example, in FIG. 4B, the first sensing electrode X1 includes 12 sensing points 100, and the sum of the sensing amounts of the 12 sensing points 100 is 103. The second sensing electrode Y1 includes 7 sensing points 100, and the sum of the sensing amounts of the 7 sensing points 100 is 24.

步驟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 board 10.

步驟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 capacitive touch panel 10 according to the X-axis difference information dV_diff_X and/or the Y-axis difference information dV_diff_Y. More detailed steps are shown in Figure 2B.

步驟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 ratio 209/564, where the denominator "564" is the maximum value in the second Y-axis sensing information dVsum_Mutual_Y, corresponding to the second sensing electrode Y8, and the numerator "209" is the value of the second sensing electrode Y8 Induction.

步驟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 X-axis difference value 0 corresponding to the first sensing electrode X3 in FIG. 4D.

步驟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-axis difference 74 corresponding to the second sensing electrode Y9 in FIG. 4C.

在步驟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 capacitive touch panel 10 according to the number of differences greater than the threshold obtained in step S405. An embodiment of step S406 is that when the number of differences greater than the critical value is greater than 0 (whether in the X or Y direction), it is determined that there is liquid On the capacitive touch panel 10. According to the comparison result of the foregoing step S405, there are four differences greater than the critical value, so step S406 determines that liquid is present on the capacitive touch panel 10.

上述實施例的各個步驟的順序可以被改變。從上述實施例可以了解,控制器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 controller 20 can determine whether liquid exists on the touch panel 10 according to the difference information in a single direction (X or Y). Therefore, it is feasible to omit some steps of FIGS. 2A and 2B. For example, the steps of obtaining the first Y-axis sensing information, the second Y-axis sensing information, and the Y-axis difference information can be omitted, and the controller 20 according to the number of differences in the X-axis difference information greater than the critical value 50 is 2 , It can be judged that liquid exists on the touch panel 10.

從上述的說明,可以理解本發明提供一種電容式觸控板上之液體檢測方法,該電容式觸控板係包含有多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該液體檢測方法包括以下步驟:(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 controller 20. The controller 20 includes a driving unit 21, a sensing unit 22, a processor 23 and a storage medium 231. The processor 23 is coupled to the storage medium 231, the driving unit 21 and the sensing unit 22. The processor 23 executes the firmware program stored in the storage medium 231 to control the operation of the driving unit 21 and the sensing unit 22 and generate touch information, such as the position and number of objects, according to the output of the sensing unit 22. In an embodiment, the controller 20 is used for The self-capacitance measurement is performed on the response electrodes X1~Xn and the second sensing electrodes Y1-Ym, and the mutual-capacitance measurement is performed on the multiple sensing points 100. In one embodiment of the self-capacitance measurement, the driving unit 21 provides a driving signal to the first sensing electrodes X1~Xn and the second sensing electrodes Y1~Ym, and the sensing unit 22 senses the first sensing electrodes X1~Xn And the second sensing electrodes Y1~Ym to obtain the inductance of each of the first and second sensing electrodes. An embodiment of the mutual capacitance measurement is that the driving unit 21 provides a driving signal to the first sensing electrodes X1~Xn in the X direction, and the second sensing electrodes Y1~Ym in the Y direction are sensed by the sensing unit 22 to The inductance of multiple inductance points 100 is obtained. The processor 21 implements the aforementioned liquid detection method by executing the firmware program stored in the storage medium 231.

在一實施例中,感測單元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 sensing unit 22 includes at least one sensing circuit 221 and at least one sample and hold circuit 222. One embodiment of the sensing circuit 221 and the sample-and-hold circuit 222 is shown in FIG. 6. The sensing circuit 221 includes a sensing capacitor C 1 , a switch SW 1 and an operational amplifier OP. Sensing capacitor C 1 is connected between a first input terminal of the operational amplifier OP IN 1 and the output terminal OUT, out switch SW 1 in parallel with the sensing capacitance C 1. The output terminal OUT of the operational amplifier OP is connected to the sample-and-hold circuit 222. The sample-and-hold circuit 222 includes a switch SW 2 and a sampling capacitor C 2. The switch SW 2 is connected between the output terminal OUT of the operational amplifier OP and the sampling capacitor C 2 . One end of the capacitor C 2 is grounded, and the other end is connected to the output terminal O/P of the sample-and-hold circuit 222.

以下說明感測電路221的操作,在第一階段,開關SW1導通,使得感測電容C1的電荷量為0。在第二階段開關SW1斷開,開關SW2導通,並且運算放大器OP的第一輸入端IN1連接待測對象(即感應點100、第一感應電極或第二感應電極)以進行感測。在開關SW2導通時,運算放大器OP的輸出電壓對取樣電容C2充電,取樣電容C2的電壓值即等於運算放大器OP的輸出電壓。 The operation of the sensing circuit 221 is described below. In the first stage, the switch SW 1 is turned on, so that the charge amount of the sensing capacitor C 1 is zero. Out switch SW 1 turned off in a second phase, the switch SW 2 is turned on, and a first input terminal of the operational amplifier OP is connected to IN 1 object to be measured (i.e. sensing point 100, the first sensing electrode or the second sensing electrode) for sensing . When the switch SW 2 is turned on, the output voltage of the operational amplifier OP 2 on the sampling capacitor C charged, the voltage value of the sampling capacitor C 2 is equal to the output voltage of the operational amplifier OP.

取樣電容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 sensing circuit 221 senses the first or second sensing electrode. After the switch SW 2 is turned off, the sample-and-hold circuit 222 obtains an output voltage, which is used to calculate the inductance. By performing the above driving and sensing procedures on the first sensing electrodes X1~Xn and the second sensing electrodes Y1~Ym, the first X-axis sensing information dV_Self_X and the first Y-axis sensing information dV_Self_Y can be obtained. The second period RT2 can be understood as the length of time for sensing a sensing point 100. During this second period RT2, the sensing circuit 221 senses a sensing point 100. After the switch SW 2 is turned off, the sample-and-hold circuit 222 obtains an output voltage, which is used to calculate the inductance of the sensing point 100. By driving and sensing all the sensing points 100, the sensing quantities of all the sensing points 100 can be obtained.

在其他實施例中,第一頻率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 capacitive touch panel 10, the controller uses the second driving signal TX2, or other higher frequency driving signals, to perform Mutual capacitance measurement, and based on the sensing information obtained by the mutual capacitance measurement, calculate the position of a contact object. After a certain period of time, the above liquid detection method is performed again to confirm whether there is still liquid on the touch panel 10.

從上述說明可以了解,當手指觸碰觸控板上的液體時,根據本發明提供的方法可以辨識出來有該液體的存在。以上所述僅是本發明的實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以實施例揭露如上,然而並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。 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)

一種電容式觸控板上之液體檢測方法,該電容式觸控板係包含有多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該液體檢測方法包括以下步驟: (a) 對該多個第一感應電極進行自電容量測,獲得第一感應資訊,該第一感應資訊包括每一該第一感應電極的感應量; (b) 對該多個感應點進行互電容量測,獲得每一該感應點的感應量; (c) 分別計算每一該第一感應電極上的多個該感應點的感應量的總和,獲得一第二感應資訊;以及 (d) 根據該第一感應資訊與該第二感應資訊,判斷是否有液體存在於該電容式觸控板上。A liquid detection method on a capacitive touch panel, the capacitive touch panel includes a plurality of first sensing electrodes and a plurality of second sensing electrodes, the plurality of first sensing electrodes and the plurality of second sensing electrodes The intersection will constitute multiple sensing points; the liquid detection method includes the following steps: (a) performing self-capacitance measurement on the multiple first sensing electrodes to obtain first sensing information, the first sensing information including each of the first sensing information The sensing amount of the sensing electrode; (b) performing mutual capacitance measurement on the plurality of sensing points to obtain the sensing amount of each sensing point; (c) calculating the plurality of sensing points on each of the first sensing electrodes separately The second sensor information is obtained by the sum of the sensing quantities of and; and (d) According to the first sensor information and the second sensor information, it is determined whether liquid exists on the capacitive touch panel. 如請求項1所述之液體檢測方法,其中該步驟(a)的自電容量測包括同時驅動多個該第一感應電極。The liquid detection method according to claim 1, wherein the self-capacitance measurement in step (a) includes simultaneously driving a plurality of the first sensing electrodes. 如請求項1所述之液體檢測方法,其中上述步驟(d)步驟包括: (d1) 根據該第一感應資訊,對該第二感應資訊進行正規化運算,獲得一第三感應資訊; (d2) 將該第一感應資訊減去該第三感應資訊,獲得多個第一差值; (d3) 分別將該多個第一差值與一臨界值作比較,判斷大於該臨界值的該差值的數量;以及 (d4) 根據步驟(d3)獲得的該數量,判斷是否有液體存在於該電容式觸控板上。The liquid detection method according to claim 1, wherein the step (d) includes: (d1) normalizing the second sensing information according to the first sensing information to obtain a third sensing information; (d2 ) Subtracting the third sensing information from the first sensing information to obtain a plurality of first differences; (d3) comparing the plurality of first differences with a critical value to determine the difference greater than the critical value The number of values; and (d4) According to the number obtained in step (d3), determine whether there is liquid on the capacitive touch panel. 如請求項3所述之液體檢測方法,其中在上述步驟(d1)的正規化運算係將該第二感應資訊的所有數值乘上一個比值;其中該比值的分母為該第二感應資訊中的最大值,該比值的分子為該最大值所對應的該第一感應電極的感應量。The liquid detection method according to claim 3, wherein the normalization operation in the above step (d1) is to multiply all values of the second sensing information by a ratio; wherein the denominator of the ratio is the value of the second sensing information The maximum value, the numerator of the ratio is the inductance of the first sensing electrode corresponding to the maximum value. 如請求項1所述之液體檢測方法,該步驟(b)的互電容量測係包括對每一該感應點進行第二期間的感測,該第二期間的長度小於或等於0.28125us。According to the liquid detection method of claim 1, the mutual capacitance measurement in the step (b) includes sensing each of the sensing points for a second period, the length of the second period is less than or equal to 0.28125us. 如請求項5所述之液體檢測方法,其中該步驟(a)的自容式量測,包括對每一該第一感應電極進行第一期間的感測,該第二期間的長度小於或等於該第一期間的長度。The liquid detection method according to claim 5, wherein the self-capacity measurement in step (a) includes sensing each first sensing electrode for a first period, and the length of the second period is less than or equal to The length of the first period. 如請求項1所述之液體檢測方法,其中該步驟(b)的該互電容量測包括以具有一第二頻率的第二驅動信號驅動各該感應點,該第二頻率大於或等於1MHz。The liquid detection method according to claim 1, wherein the mutual capacitance measurement in step (b) includes driving each of the sensing points with a second driving signal having a second frequency, the second frequency being greater than or equal to 1 MHz. 如請求項7所述之液體檢測方法,其中該步驟(a)的該自容式量測包括以具有一第一頻率的第一驅動信號驅動每一該第一感應電極,該第二頻率大於或等於該第一頻率。The liquid detection method according to claim 7, wherein the self-capacity measurement in step (a) includes driving each of the first sensing electrodes with a first driving signal having a first frequency, the second frequency is greater than Or equal to the first frequency. 如請求項7所述之液體檢測方法,其中當步驟(d)判斷有液體存在於該電容式觸控板上之後,該控制器使用大於或等於該第二頻率的驅動信號驅動各該感應點以進行該互電容量測,以獲得一接觸物件的位置。The liquid detection method according to claim 7, wherein after step (d) determines that liquid exists on the capacitive touch panel, the controller drives each sensing point with a driving signal greater than or equal to the second frequency The mutual capacitance measurement is performed to obtain the position of a contact object. 一種控制器,用以檢測一觸控板上是否存在液體,該觸控板包括多個第一感應電極與多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該控制器包括: 一儲存媒體,用以儲存韌體程式; 一處理器,耦接該儲存媒體,該處理器藉由執行該韌體程式,執行以下步驟: (a) 對該多個第一感應電極進行自電容量測,獲得第一感應資訊,該第一感應資訊包括每一該第一感應電極的感應量; (b) 對該多個感應點進行互電容量測,獲得每一該感應點的感應量; (c) 分別計算每一該第一感應電極上的多個該感應點的感應量的總和,獲得一第二感應資訊;以及 (d) 根據該第一感應資訊與該第二感應資訊,判斷是否有液體存在於該電容式觸控板上。A controller for detecting whether liquid exists on a touch panel, the touch panel includes a plurality of first sensing electrodes and a plurality of second sensing electrodes, the plurality of first sensing electrodes and the plurality of second sensing electrodes The intersection constitutes multiple sensing points; the controller includes: a storage medium for storing the firmware program; a processor coupled to the storage medium, the processor executes the following steps by executing the firmware program: ( a) Perform self-capacitance measurement on the plurality of first sensing electrodes to obtain first sensing information, the first sensing information includes the inductance of each of the first sensing electrodes; (b) Perform mutual interaction on the plurality of sensing points Capacitance measurement to obtain the inductance of each of the sensing points; (c) Calculate the sum of the inductances of each of the plurality of sensing points on each of the first sensing electrodes to obtain a second sensing information; and (d) According to the first sensing information and the second sensing information, it is determined whether liquid exists on the capacitive touch panel. 如請求項10所述之控制器,其中該步驟(a)的自電容量測包括同時驅動多個該第一感應電極。The controller according to claim 10, wherein the self-capacitance measurement in step (a) includes driving a plurality of the first sensing electrodes simultaneously. 如請求項10所述之控制器,其中上述步驟(d)包括: (d1) 根據該第一感應資訊,對該第二感應資訊進行正規化運算,獲得一第三感應資訊; (d2) 將該第一感應資訊減去該第三感應資訊,獲得多個差值; (d3) 分別將該多個差值與一臨界值作比較,判斷大於該臨界值的該差值的數量;以及 (d4) 根據步驟(d3)獲得的該數量,判斷是否有液體存在於該電容式觸控板上。The controller according to claim 10, wherein the step (d) includes: (d1) normalizing the second sensing information according to the first sensing information to obtain a third sensing information; (d2) Subtracting the third sensing information from the first sensing information to obtain a plurality of differences; (d3) comparing the plurality of differences with a threshold to determine the number of the differences greater than the threshold; and ( d4) According to the quantity obtained in step (d3), determine whether there is liquid on the capacitive touch panel. 如請求項12所述之控制器,其中在上述步驟(d1) 的正規化運算係將該第二感應資訊的所有數值乘上一個比值;其中該比值的分母為該第二感應資訊中的最大值,該比值的分子為該最大值所對應的該第一感應電極的感應量。The controller according to claim 12, wherein the normalization operation in the above step (d1) is to multiply all values of the second sensing information by a ratio; wherein the denominator of the ratio is the maximum value in the second sensing information Value, the numerator of the ratio is the inductance of the first sensing electrode corresponding to the maximum value. 如請求項10所述之控制器,該步驟(b)的互電容量測係包括對每一感應點進行第二期間的感測,該第二期間的長度小於或等於0.28125us。According to the controller described in claim 10, the mutual capacitance measurement in step (b) includes sensing each sensing point for a second period, and the length of the second period is less than or equal to 0.28125 us. 如請求項14所述之控制器,其中該步驟(a)的自容式量測包括對每一該第一感應電極進行第一期間的感測,該第二期間的長度小於或等於該第一期間的長度。The controller according to claim 14, wherein the self-capacity measurement in the step (a) includes sensing each first sensing electrode for a first period, and the length of the second period is less than or equal to the first The length of a period. 如請求項14所述之控制器,其中該步驟(b)的該互電容量測包括以具有一第二頻率的第二驅動信號驅動各該感應點,該第二頻率大於或等於1MHz。The controller according to claim 14, wherein the mutual capacitance measurement in step (b) includes driving the sensing points with a second driving signal having a second frequency, the second frequency being greater than or equal to 1 MHz. 如請求項16所述之控制器,其中該步驟(a)的該自容式量測包括以具有一第一頻率的第一驅動信號驅動每一該第一感應電極,該第二頻率大於或等於該第一頻率。The controller according to claim 16, wherein the self-capacity measurement in step (a) includes driving each of the first sensing electrodes with a first driving signal having a first frequency, the second frequency is greater than or Is equal to the first frequency. 如請求項16所述之控制器,其中當步驟(d)判斷有液體存在於該電容式觸控板上之後,該控制器使用高於或等於該第二頻率的驅動信號驅動各該感應點以進行該互電容量測,以獲得一接觸物件的位置。The controller according to claim 16, wherein after step (d) determines that liquid is present on the capacitive touch panel, the controller uses a driving signal higher than or equal to the second frequency to drive the sensing points The mutual capacitance measurement is performed to obtain the position of a contact object. 一種電容式觸控板上之液體檢測方法,該電容式觸控板在X方向包括有多個第一感應電極,在Y方向包括多個第二感應電極,該多個第一感應電極與該多個第二感應電極的交會構成多個感應點;該液體檢測方法包括以下步驟: (a) 對該多個第一感應電極及第二感應電極進行自電容量測,獲得第一X軸感應資訊及第一Y軸感應資訊,該第一X軸感應資訊包括每一該第一感應電極的感應量,該第一Y軸感應資訊包括每一該第二感應電極的感應量; (b) 對該多個感應點進行互電容量測,獲得每一該感應點的感應量; (c) 分別計算每一該第一感應電極上的多個該感應點的感應量的總和,獲得一第二X軸感應資訊,以及分別計算每一該第二感應電極上的多個該感應點的感應量的總和,獲得第二Y軸感應資訊;以及 (d) 根據該第一X軸感應資訊及第一Y軸感應資訊與該第二X軸感應資訊及該第二Y軸感應資訊,判斷是否有液體存在於該電容式觸控板上。A liquid detection method for a capacitive touch panel. 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 The intersection of 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 and the second sensing electrode to obtain the first X-axis sensing Information and first Y-axis sensing information, the first X-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) 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 of the first sensing electrodes to obtain a first Two X-axis sensing information, and separately calculating the sum of the sensing amounts of each of the plurality of sensing points on each second sensing electrode to obtain second Y-axis sensing information; and (d) according to the first X-axis sensing information and The first Y-axis sensing information, the second X-axis sensing information, and the second Y-axis sensing information determine whether liquid exists on the capacitive touch panel. 如請求項19所述之液體檢測方法,於上述步驟(a)中,對該多個第一感應電極進行的該自電容量測包括同時驅動多個該第一感應電極,且對該多個第二感應電極進行的該自電容量測包括同時驅動多個該第二感應電極。The liquid detection method according to claim 19, in the above step (a), the self-capacitance measurement performed on the plurality of first sensing electrodes includes simultaneously driving a plurality of the first sensing electrodes, and The self-capacitance measurement performed by the second sensing electrode includes simultaneously driving a plurality of the second sensing electrodes. 如請求項19所述之液體檢測方法,其中上述步驟(d)步驟包括: (d1) 根據該第一X軸感應資訊,對該第二X軸感應資訊進行正規化運算,獲得一第三X軸感應資訊,且根據該第一Y軸感應資訊,對該第二Y軸感應資訊進行正規化運算,獲得一第三Y軸感應資訊; (d2) 將該第一X軸感應資訊減去該第三X軸感應資訊,獲得多個第一X軸差值,且將該第一Y軸感應資訊減去該第三Y軸感應資訊,獲得多個第一Y軸差值; (d3) 分別將該多個第一X差值及該多個第一Y軸差值與一臨界值作比較,判斷大於該臨界值的該第一X差值與該第二Y軸差值的數量;以及 (d4) 根據步驟(d3)獲得的該數量,判斷是否有液體存在於該電容式觸控板上。The liquid detection method according to claim 19, wherein the step (d) includes: (d1) normalizing the second X-axis sensing information according to the first X-axis sensing information to obtain a third X Axis sensing information, and based on the first Y axis sensing information, normalize the second Y axis sensing information to obtain a third Y axis sensing information; (d2) subtract the first X axis sensing information from the The third X-axis sensing information obtains a plurality of first X-axis difference values, and subtracts the third Y-axis sensing information from the first Y-axis sense information to obtain a plurality of first Y-axis difference values; (d3) respectively Comparing the plurality of first X difference values and the plurality of first Y axis difference values with a threshold value to determine the number of the first X difference value and the second Y axis difference value greater than the threshold value; and (d4) According to the quantity obtained in step (d3), determine whether liquid exists on the capacitive touch panel. 如請求項21所述之液體檢測方法,其中在上述步驟(d1)中: 對該第二X軸感應資訊進行正規化運算係將該第二X軸感應資訊的所有數值乘上一第一比值,其中該第一比值的分母為該第二X軸感應資訊中的最大值,該第一比值的分子為該第二X軸感應資訊中的最大值所對應的該第一感應電極的感應量;以及 對該第二Y軸感應資訊進行正規化運算係將該第二Y軸感應資訊的所有數值乘上一第二比值,其中該第二比值的分母為該第二Y軸感應資訊中的最大值,該第二比值的分子為該第二Y軸感應資訊中的最大值所對應的該第二感應電極的感應量The liquid detection method according to claim 21, wherein in the above step (d1): normalizing the second X-axis sensing information is to multiply all values of the second X-axis sensing information by a first ratio , Where the denominator of the first ratio is the maximum value in the second X-axis sensing information, and the numerator of the first ratio is the inductance of the first sensing electrode corresponding to the maximum value in the second X-axis sensing information And normalizing the second Y-axis sensing information is to multiply all values of the second Y-axis sensing information by a second ratio, where the denominator of the second ratio is the second Y-axis sensing information The maximum value, the numerator of the second ratio is the inductance of the second sensing electrode corresponding to the maximum value in the second Y-axis sensing information 如請求項19所述之液體檢測方法,該步驟(b)的互電容量測係包括對每一該感應點進行第二期間的感測,該第二期間的長度小於或等於0.28125us。According to the liquid detection method described in claim 19, the mutual capacitance measurement in step (b) includes sensing each of the sensing points for a second period, and the length of the second period is less than or equal to 0.28125us. 如請求項23所述之液體檢測方法,其中該步驟(a)的自容式量測,包括對每一該第一感應電極及每一該第二感應電極進行第一期間的感測,該第二期間的長度小於或等於該第一期間的長度。The liquid detection method according to claim 23, wherein the self-capacity measurement in step (a) includes sensing each of the first sensing electrodes and each of the second sensing electrodes for a first period, the The length of the second period is less than or equal to the length of the first period. 如請求項19所述之液體檢測方法,其中該步驟(b)的該互電容量測包括以具有一第二頻率的第二驅動信號驅動各該感應點,該第二頻率大於或等於1MHz。The liquid detection method according to claim 19, wherein the mutual capacitance measurement in step (b) includes driving each of the sensing points with a second driving signal having a second frequency, the second frequency being greater than or equal to 1 MHz. 如請求項25所述之液體檢測方法,其中該步驟(a)的該自容式量測包括以具有一第一頻率的第一驅動信號驅動每一該第一感應電極及每一該第二感應電極,該第二頻率大於或等於該第一頻率。The liquid detection method according to claim 25, wherein the self-capacity measurement in step (a) includes driving each of the first sensing electrodes and each of the second with a first driving signal having a first frequency For the sensing electrode, the second frequency is greater than or equal to the first frequency. 如請求項25所述之液體檢測方法,其中當步驟(d)判斷有液體存在於該電容式觸控板上之後,該控制器使用大於或等於該第二頻率的驅動信號驅動各該感應點以進行該互電容量測,以獲得一接觸物件的位置。The liquid detection method according to claim 25, wherein after step (d) determines that liquid is present on the capacitive touch panel, the controller uses a drive signal greater than or equal to the second frequency to drive the sensing points The mutual capacitance measurement is performed to obtain the position of a contact object.
TW107132695A 2018-06-05 2018-09-17 Method of detecting liquid on capacitive touch panel and controller thereof TWI692711B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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