[go: up one dir, main page]

TWI853385B - Touch detection method of touch panel and touch display - Google Patents

Touch detection method of touch panel and touch display Download PDF

Info

Publication number
TWI853385B
TWI853385B TW111149745A TW111149745A TWI853385B TW I853385 B TWI853385 B TW I853385B TW 111149745 A TW111149745 A TW 111149745A TW 111149745 A TW111149745 A TW 111149745A TW I853385 B TWI853385 B TW I853385B
Authority
TW
Taiwan
Prior art keywords
touch
touch panel
signal value
signal
time counting
Prior art date
Application number
TW111149745A
Other languages
Chinese (zh)
Other versions
TW202316254A (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 TW111149745A priority Critical patent/TWI853385B/en
Priority to CN202310075330.6A priority patent/CN115951798A/en
Publication of TW202316254A publication Critical patent/TW202316254A/en
Application granted granted Critical
Publication of TWI853385B publication Critical patent/TWI853385B/en

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

A touch detection method for a touch panel is provided. The touch detection method includes: executing the following steps with a processor: alternately driving the touch panel in a plurality of polarity inversion modes; for each touch unit of the touch panel, the signal value of the touch unit is detected within a predetermined time interval, the signal value is compared with a signal threshold, and the retained signal value of each touch unit is used as a touch result. The predetermined time interval includes a plurality of time counting units; if the signal value remains higher than a signal threshold for a predetermined continuous count, the signal value is retained, otherwise the signal value is filtered out.

Description

觸控面板的觸控偵測方法以及觸控顯示器Touch detection method for touch panel and touch display

本發明係關於觸控面板的技術,尤其關於一種對觸控面板的雜訊偵測與濾除的方法。The present invention relates to the technology of touch panel, and more particularly to a method for detecting and filtering noise of the touch panel.

電容式觸控面板目前已廣泛行動裝置及穿戴式裝置,觸控的準確性受面板雜訊所影響,一直是本領域亟待解決的問題。目前觸控對於面板雜訊處理, 主要以頻率跳頻,或使用同步訊號在面板的空白間隙(Display Blanking)期間接收觸控訊號以避開雜訊的干擾。然而,頻率跳頻的方式採用的是固定頻率,無法對應於外在環境因素的影響作調整。此外,同步訊號的方式受限於面板的空白間隙的時間限制,這影響到接收及處理觸控訊號的速度。因此,即便現有技術已提出一些方案來進行雜訊處理,但在環境條件不佳的情況下仍會將雜訊誤判為觸控操作。Capacitive touch panels are now widely used in mobile devices and wearable devices. The accuracy of touch is affected by panel noise, which has always been a problem that needs to be solved urgently. Currently, touch panels mainly deal with panel noise by frequency hopping or using synchronization signals to receive touch signals during the blanking period of the panel to avoid noise interference. However, the frequency hopping method uses a fixed frequency and cannot be adjusted according to the influence of external environmental factors. In addition, the synchronization signal method is limited by the time limit of the blanking period of the panel, which affects the speed of receiving and processing touch signals. Therefore, even though the prior art has proposed some solutions to process noise, under bad environmental conditions, the noise may still be misjudged as a touch operation.

綜上所述,實有需要一種更準確且較不受外在環境及面板自身特性影響的方案來偵測及濾除觸控面板的雜訊,以更準確地識別觸控操作。In summary, there is a need for a more accurate solution that is less affected by the external environment and the panel's own characteristics to detect and filter the noise of the touch panel so as to more accurately identify the touch operation.

針對以上需求,本案提出一種對面板雜訊偵測與濾除的方法,使得相關產品對於觸控事件的判斷更加穩定。In response to the above requirements, this case proposes a method for panel noise detection and filtering, which makes the judgment of touch events of related products more stable.

本發明一實施例提供了一種用於觸控面板的觸控偵測方法,包含以複數種極性反轉模式交替地驅動該觸控面板;針對該觸控面板的每一觸控單位,於一預定時間區間內偵測該觸控單位的訊號值,並且將該訊號值與一訊號門檻值進行比較,且以該每一觸控單位保留的該訊號值作為觸控結果。其中,該預定時間區間包含複數個時間計數單位;若該訊號值維持高於該訊號門檻值的狀態達一預定連續計數,則保留該訊號值,否則濾除該訊號值。An embodiment of the present invention provides a touch detection method for a touch panel, comprising driving the touch panel alternately in a plurality of polarity reversal modes; for each touch unit of the touch panel, detecting the signal value of the touch unit within a predetermined time interval, and comparing the signal value with a signal threshold value, and taking the signal value retained by each touch unit as a touch result. The predetermined time interval includes a plurality of time counting units; if the signal value maintains a state higher than the signal threshold value for a predetermined continuous count, the signal value is retained, otherwise the signal value is filtered out.

本發明另一實施例提供了一種觸控顯示器,包含一觸控面板以及一處理器,其中處理器提供複數種極性反轉模式以交替地驅動該觸控面板,且該觸控面板具有至少一觸控單位,該處理器於一預定時間區間內偵測該至少一觸控單位的一訊號值,並將該訊號值與一訊號門檻值進行比較,其中該預定時間區間包含複數個時間計數單位;若該訊號值高於一訊號門檻值達一預定連續計數,則保留該訊號值;若該訊號值並未高於該訊號門檻值達該預定連續計數,則濾除該訊號值。Another embodiment of the present invention provides a touch display, including a touch panel and a processor, wherein the processor provides a plurality of polarity inversion modes to alternately drive the touch panel, and the touch panel has at least one touch unit, the processor detects a signal value of the at least one touch unit within a predetermined time interval, and compares the signal value with a signal threshold value, wherein the predetermined time interval includes a plurality of time counting units; if the signal value is higher than a signal threshold value for a predetermined continuous count, the signal value is retained; if the signal value is not higher than the signal threshold value for the predetermined continuous count, the signal value is filtered.

綜上所述,本發明透過穿插不同極性反轉模式來有效判斷出觸控面板所感受到的訊號值是來自於真實觸控操作或極性反轉產生的雜訊,藉此保留實際觸控所產生的訊號值並濾除雜訊。如此一來,觸控面板識別觸控操作的精準度可以大幅提高,且本發明的方法不受外在環境及面板自身特性影響的方案,故能夠有效解決先前技術所面臨的問題。In summary, the present invention effectively determines whether the signal value sensed by the touch panel is from a real touch operation or the noise generated by the polarity reversal by interlacing different polarity reversal modes, thereby retaining the signal value generated by the actual touch and filtering out the noise. In this way, the accuracy of the touch panel in identifying the touch operation can be greatly improved, and the method of the present invention is not affected by the external environment and the characteristics of the panel itself, so it can effectively solve the problems faced by the previous technology.

本發明特別以下述例子加以描述,這些例子僅係用以舉例說明而已,因為對於熟習此技藝者而言,在不脫離本揭示內容之精神和範圍內,當可作各種之更動與潤飾,因此本揭示內容之保護範圍當視後附之申請專利範圍所界定者為準。在通篇說明書與申請專利範圍中,除非內容清楚指定,否則「一」以及「該」的意義包含這一類敘述包括「一或至少一」元件或成分。此外,如本發明所用,除非從特定上下文明顯可見將複數排除在外,否則單數冠詞亦包括複數個元件或成分的敘述。而且,應用在此描述中與下述之全部申請專利範圍中時,除非內容清楚指定,否則「在其中」的意思可包含「在其中」與「在其上」。在通篇說明書與申請專利範圍所使用之用詞(terms),除有特別註明,通常具有每個用詞使用在此領域中、在此揭露之內容中與特殊內容中的平常意義。某些用以描述本發明之用詞將於下或在此說明書的別處討論,以提供從業人員(practitioner)在有關本發明之描述上額外的引導。在通篇說明書之任何地方之例子,包含在此所討論之任何用詞之例子的使用,僅係用以舉例說明,當然不限制本發明或任何例示用詞之範圍與意義。同樣地,本發明並不限于此說明書中所提出之各種實施例。The present invention is particularly described with the following examples, which are used for illustration only, because for those skilled in the art, various changes and modifications can be made without departing from the spirit and scope of the present disclosure, so the scope of protection of the present disclosure shall be determined by the scope of the attached patent application. Throughout the specification and the patent application, unless the content clearly specifies otherwise, the meaning of "one" and "the" includes such a description including "one or at least one" element or component. In addition, as used in the present invention, unless it is obvious from the specific context that the plurality is excluded, the singular article also includes the description of plural elements or components. Moreover, when applied in this description and the entire patent application below, unless the content clearly specifies otherwise, the meaning of "in which" may include "in which" and "on which". The terms used throughout the specification and the patent application generally have the ordinary meaning of each term used in the field, in the content disclosed herein and in the specific content, unless otherwise noted. Certain terms used to describe the present invention will be discussed below or elsewhere in this specification to provide practitioners with additional guidance on the description of the present invention. Examples anywhere throughout the specification, including the use of examples of any term discussed herein, are used for illustrative purposes only and certainly do not limit the scope and meaning of the present invention or any exemplified term. Similarly, the present invention is not limited to the various embodiments presented in this specification.

在此所使用的用詞「實質上(substantially)」、「大約(around)」、「約(about)」或「近乎(approximately)」應大體上意味在給定值或範圍的20%以內,較佳係在10%以內。此外,在此所提供之數量可為近似的,因此意味著若無特別陳述,可以用詞「大約」、「約」或「近乎」加以表示。當數量、濃度或其他數值或參數有指定的範圍、較佳範圍或表列出上下理想值之時,應視爲特別揭露由任何上下限之數對或理想值所構成的所有範圍,不論等範圍是否分別揭露。舉例而言,如揭露範圍某長度為X公分到Y公分,應視為揭露長度為H公分且H可為X到Y之間之任意實數。As used herein, the terms "substantially", "around", "about" or "approximately" shall generally mean within 20%, preferably within 10%, of a given value or range. In addition, the quantities provided herein may be approximate, so it is meant that unless otherwise stated, they may be expressed using the terms "about", "approximately" or "approximately". When a quantity, concentration or other numerical value or parameter has a specified range, a preferred range or lists upper and lower ideal values, it should be deemed to specifically disclose all ranges consisting of any upper and lower limit pairs or ideal values, regardless of whether the same ranges are disclosed separately. For example, if a length is disclosed as X cm to Y cm, it should be deemed to disclose a length of H cm and H can be any real number between X and Y.

此外,若使用「電(性)耦接」或「電(性)連接」一詞在此係包含任何直接及間接的電氣連接手段。舉例而言,若文中描述第一裝置電性耦接于第二裝置,則代表第一裝置可直接連接于第二裝置,或透過其他裝置或連接手段間接地連接至第二裝置。另外,若描述關于電訊號之傳輸、提供,熟習此技藝者應可以瞭解電訊號之傳遞過程中可能伴隨衰减或其他非理想性之變化,但電訊號傳輸或提供之來源與接收端若無特別叙明,實質上應視爲同一訊號。舉例而言,若由電子電路之端點A傳輸(或提供)電訊號S給電子電路之端點B,其中可能經過電晶體開關之源汲極兩端及/或可能之雜散電容而產生電壓降,但此設計之目的若非刻意使用傳輸(或提供)時産生之衰减或其他非理想性之變化而達到某些特定的技術效果,電訊號S在電子電路之端點A與端點B應可視為實質上為同一訊號。In addition, if the term "electrically coupled" or "electrically connected" is used, it includes any direct and indirect electrical connection means. For example, if the text describes that a first device is electrically coupled to a second device, it means that the first device can be directly connected to the second device, or indirectly connected to the second device through other devices or connection means. In addition, if the transmission and provision of electrical signals are described, those familiar with this technology should understand that the transmission process of electrical signals may be accompanied by attenuation or other non-ideal changes, but if the source and receiving end of the transmission or provision of electrical signals are not specifically stated, they should be regarded as the same signal in essence. For example, if an electrical signal S is transmitted (or provided) from terminal A of an electronic circuit to terminal B of the electronic circuit, a voltage drop may be generated through the source and drain terminals of a transistor switch and/or possible stray capacitance. However, if the purpose of this design is not to intentionally use the attenuation or other non-ideal changes generated during transmission (or provision) to achieve certain specific technical effects, the electrical signal S at terminals A and B of the electronic circuit should be considered to be essentially the same signal.

可瞭解如在此所使用的用詞「包含(comprising)」、「包含(including)」、「具有(having)」、「含有(containing)」、「包含(involving)」等等,為開放性的(open-ended),即意指包含但不限於。另外,本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之申請專利範圍。It is understood that the terms "comprising", "including", "having", "containing", "involving", etc. used herein are open-ended, meaning including but not limited to. In addition, any embodiment or patent application scope of the present invention does not need to achieve all the objects, advantages or features disclosed in the present invention. In addition, the abstract part and the title are only used to assist the search for patent documents, and are not used to limit the scope of the patent application of the present invention.

有鑑於面板雜訊來源大部分為畫素排列亮/暗的極性轉換與參考電壓(VCOM)之間的耦合(Coupling)所引起,本發明利用多種不同極性轉換所表現出的訊號(雜訊)差異來判斷出面板雜訊,再加以濾除。In view of the fact that the panel noise source is mostly caused by the coupling between the polarity conversion of the pixel arrangement light/dark and the reference voltage (VCOM), the present invention uses the signal (noise) difference represented by a variety of different polarity conversions to determine the panel noise and then filter it.

請參見圖1,圖1係為本發明一種觸控顯示器100的示意圖。如圖1所示,觸控顯示器100包含一觸控面板110以及一處理器120,處理器120控制複數種極性反轉模式交替地驅動觸控面板,更確切來說,用不同的極性反轉模式去反轉液晶。接著,針對觸控面板110的每一觸控單位,處理器120於一預定時間區間內偵測每一觸控單位的訊號值,其中每一觸控單位可以是單一畫素,或是一組3×3的畫素組,本發明不特別限制觸控單位的尺寸。偵測到的訊號值進一步與訊號門檻值進行比較,訊號門檻值可以根據實際設計需求作調整,主要功能是用來比對訊號值以排除環境雜訊(例如白雜訊)造成的訊號成分。其中,預定時間區間包含複數個時間計數單位;若訊號值維持高於訊號門檻值達一預定連續計數,則保留訊號值;若訊號值維持高於訊號門檻值未達預定連續計數,則濾除訊號值(即雜訊成分)。承上所述,處理器120更用於濾除雜訊,且處理器120於濾除雜訊後,將以每一觸控單位最後保留的訊號值作為觸控結果。Please refer to FIG. 1, which is a schematic diagram of a touch display 100 of the present invention. As shown in FIG. 1, the touch display 100 includes a touch panel 110 and a processor 120. The processor 120 controls a plurality of polarity inversion modes to alternately drive the touch panel, more specifically, uses different polarity inversion modes to invert the liquid crystal. Then, for each touch unit of the touch panel 110, the processor 120 detects the signal value of each touch unit within a predetermined time interval, wherein each touch unit can be a single pixel or a group of 3×3 pixels. The present invention does not particularly limit the size of the touch unit. The detected signal value is further compared with the signal threshold value. The signal threshold value can be adjusted according to the actual design requirements. The main function is to compare the signal value to exclude the signal component caused by the environmental noise (such as white noise). Among them, the predetermined time interval includes a plurality of time counting units; if the signal value remains higher than the signal threshold value for a predetermined continuous count, the signal value is retained; if the signal value remains higher than the signal threshold value but does not reach the predetermined continuous count, the signal value (i.e., the noise component) is filtered out. As mentioned above, the processor 120 is further used to filter out noise, and after filtering out the noise, the processor 120 will use the last retained signal value of each touch unit as the touch result.

舉例來說,圖2A、圖2B分別示意了於不同幀對觸控面板的畫素偵測訊號值的示意圖。,其中TX0~TX8分別表示列畫素,RX0~RX8分別表示行畫素,圖中每個畫素標注的數字大小代表處理器120偵測到的訊號值大小。參見圖2A,當畫面在第1幀時(以“Frame 1”表示),所採用的極性反轉類型為點反轉(以“Dot”表示,進一步示例可參閱圖3B),觸控面板110分別於左下角若干畫素(以座標為(TX7,RX1)的畫素為中心的3×3畫素組)以及左上角若干畫素(即座標為(TX1,RX0)、(TX1,RX2)、(TX1,RX4)、(TX2,RX2)、(TX2,RX3)的畫素)偵測到訊號值(扣除掉訊號門檻值後仍呈現正值)。接著參見圖2B,當畫面在第2幀時(以Frame 2表示),所採用的極性反轉類型為“2V+1”反轉(進一步示例可參閱圖3B)“2V+1”表示),觸控面板110分別於左下角若干畫素(以座標為(TX7,RX1)的畫素為中心的3×3畫素組)以及右下角若干畫素(即座標為(TX6,RX5)、(TX6,RX6)、(TX6,RX7)、(TX7,RX7)、(TX7,RX8)的畫素)偵測到訊號值。從圖2A所示的第1幀與圖2B所示的第2幀比較可得知,左下角若干有訊號值的畫素偵測到的訊號值大小維持不變,故可知屬於真實觸控所貢獻的訊號值;反之,左上角若干有訊號值的畫素僅在第1幀偵測到有訊號值,於第2幀則偵測不到訊號值(扣除掉訊號門檻值後為零或負值),亦即這些左上角的畫素的訊號值無法維持達兩幀,即可判定這些左上角的畫素為雜訊值,之後由處理器120濾除這些左上角的畫素的訊號值。以上舉例係以兩幀為預定連續計數(即訊號值持續多少幀數方可被視為由實際觸控所產生,而非由雜訊所產生),但在本發明其他實施例中此判斷條件可以不同。需要注意的是,本文中「濾除」一詞可實作為在統計觸控位置時不將「被濾除的畫素位置」列入計算;另外,也可產生反相訊號將「被濾除的畫素位置」的訊號值抵消,本發明主要著重於判斷出雜訊出現的畫素位置(相當於「偽觸控」的位置),並不限制濾除雜訊的作法。請注意,以上所述偵測到的訊號值或雜訊值皆是與訊號門檻值比較後仍為正值的成分,而低於訊號門檻值的成分則被視為環境雜訊(例如白雜訊)並加以濾除。For example, FIG. 2A and FIG. 2B respectively illustrate the pixel detection signal values of the touch panel in different frames. TX0-TX8 represent row pixels, RX0-RX8 represent column pixels, and the number marked on each pixel in the figure represents the signal value detected by the processor 120. Referring to FIG. 2A , when the image is in the first frame (indicated by “Frame 1”), the polarity inversion type adopted is dot inversion (indicated by “Dot”, and further examples can be seen in FIG. 3B ), and the touch panel 110 detects signal values (positive values are still presented after deducting the signal threshold value) at a number of pixels in the lower left corner (a 3×3 pixel group centered on the pixel with coordinates (TX7, RX1)) and a number of pixels in the upper left corner (i.e., pixels with coordinates (TX1, RX0), (TX1, RX2), (TX1, RX4), (TX2, RX2), and (TX2, RX3)). Next, referring to FIG. 2B , when the image is in the second frame (represented by Frame 2), the polarity inversion type adopted is “2V+1” inversion (for further example, see FIG. 3B ) represented by “2V+1”), and the touch panel 110 detects signal values at a number of pixels in the lower left corner (a 3×3 pixel group centered on the pixel with coordinates (TX7, RX1)) and a number of pixels in the lower right corner (i.e., pixels with coordinates (TX6, RX5), (TX6, RX6), (TX6, RX7), (TX7, RX7), and (TX7, RX8)). By comparing the first frame shown in FIG. 2A with the second frame shown in FIG. 2B , it can be seen that the signal values detected by some pixels with signal values in the lower left corner remain unchanged, so it can be known that they are signal values contributed by real touch; on the contrary, some pixels with signal values in the upper left corner are only detected as having signal values in the first frame, and no signal values are detected in the second frame (zero or negative value after deducting the signal threshold value), that is, the signal values of these pixels in the upper left corner cannot be maintained for two frames, and it can be determined that these pixels in the upper left corner are noise values, and then the signal values of these pixels in the upper left corner are filtered by the processor 120. The above example uses two frames as the predetermined continuous count (i.e., the signal value must continue for a certain number of frames to be considered as being generated by actual touch rather than noise), but this judgment condition may be different in other embodiments of the present invention. It should be noted that the term "filtering" in this article can be implemented as not including the "filtered pixel position" in the calculation when counting the touch position; in addition, an inverted signal can be generated to offset the signal value of the "filtered pixel position". The present invention mainly focuses on determining the pixel position where noise appears (equivalent to the position of "false touch"), and does not limit the method of filtering noise. Please note that the detected signal values or noise values mentioned above are all components that are still positive after being compared with the signal threshold value, while components below the signal threshold value are regarded as environmental noise (such as white noise) and are filtered out.

以觸控面板110的操作頻率為60Hz為例,預定時間區間可包含60個時間計數單位(即60幀),如此一來,最大預定連續計數為59,預定連續計數可為2~59中一整數。一般而言,預定連續計數設定為2即可有效判斷出量測到的訊號是否實際觸控所產生,但有時不同極性反轉模式也有可能在相同兩幀中的相同畫素位置出現雜訊,對此,只需要調高預定連續計數的值即可避免將雜訊誤判為觸控訊號的情形,惟預定連續計數不得超出最大預定連續計數。For example, if the operating frequency of the touch panel 110 is 60 Hz, the predetermined time interval may include 60 time count units (i.e., 60 frames). Thus, the maximum predetermined continuous count is 59, and the predetermined continuous count may be an integer between 2 and 59. Generally speaking, the predetermined continuous count is set to 2 to effectively determine whether the measured signal is actually generated by a touch. However, sometimes different polarity inversion modes may also cause noise to appear at the same pixel position in the same two frames. In this case, the predetermined continuous count value may be increased to avoid misjudging the noise as a touch signal. However, the predetermined continuous count may not exceed the maximum predetermined continuous count.

參閱圖3A,其為將圖2A、圖2B中兩種極性反轉模式交互使用並進行計數的示意圖,其中個畫素標注的數字代表畫素到目前為止的幀數內有訊號成分(上述訊號值減去訊號門檻值後仍大於或等於0)的當前計數值(即累加次數)。如圖3A所示,在統計了兩幀後,僅座標為(TX6,RX5)、(TX6,RX6)、(TX6,RX7)、(TX7,RX7)、(TX7,RX8)的畫素的計數值為2,故這些畫素上的訊號值會保留,其它一些計數值為1的畫素上的訊號值則會被濾除。Refer to FIG. 3A, which is a schematic diagram of using the two polarity inversion modes in FIG. 2A and FIG. 2B interchangeably and counting, wherein the number annotated on each pixel represents the current count value (i.e., the accumulated number of times) of the pixel having a signal component (the above signal value minus the signal threshold value is still greater than or equal to 0) in the frame so far. As shown in FIG. 3A, after counting two frames, only the pixels with coordinates (TX6, RX5), (TX6, RX6), (TX6, RX7), (TX7, RX7), (TX7, RX8) have a count value of 2, so the signal values on these pixels will be retained, and the signal values on other pixels with a count value of 1 will be filtered out.

圖3B係為多種極性反轉模式的示意圖,其列舉了幾種常見(但並非全部類型)的極性反轉模式,分別為圖框反轉(Frame Inversion)、列反轉(Line Inversion)、欄反轉(Column Inversion)、點反轉(Dot Inversion)、及(2V+1)反轉,本發明在判斷雜訊時會執行多種極性反轉模式中至少二者,例如圖3A的實施例採用點反轉和(2V+1)反轉兩種模式,但在其他實施例中可採用三種或以上的極性反轉模式來過濾雜訊。FIG3B is a schematic diagram of various polarity inversion modes, which lists several common (but not all types) polarity inversion modes, namely frame inversion, line inversion, column inversion, dot inversion, and (2V+1) inversion. The present invention will execute at least two of the various polarity inversion modes when determining noise. For example, the embodiment of FIG3A adopts two modes, dot inversion and (2V+1) inversion, but in other embodiments, three or more polarity inversion modes may be used to filter noise.

參閱圖4,圖4係為本發明用於觸控面板的觸控偵測方法的架構圖,其可搭配圖2A、圖2B、圖3A及圖3B來理解。步驟S402會選取至少兩種極性反轉模式,諸如列舉於圖3B中的極性反轉模式,並且交替地驅動液晶,其中交替模式可如表1所示,但本發明不以此為限。 表1 模式1:頻率=60Hz,N=2,等比例插入 模式2: 頻率=60Hz,N=3,非等比例插入 Frame 1 點反轉 Frame 1 點反轉 Frame 2 (2V+1)反轉 Frame 2 點反轉 Frame 3 點反轉 Frame 3 (2V+1)反轉 Frame 4 (2V+1)反轉 Frame 4 點反轉 Frame 5 點反轉 Frame 5 點反轉 Frame 6 (2V+1)反轉 Frame 6 (2V+1)反轉 Frame 59 點反轉 Frame 59 點反轉 Frame 60 (2V+1)反轉 Frame 60 (2V+1)反轉 Refer to FIG. 4, which is a schematic diagram of the touch detection method for a touch panel of the present invention, which can be understood in conjunction with FIG. 2A, FIG. 2B, FIG. 3A and FIG. 3B. Step S402 selects at least two polarity inversion modes, such as the polarity inversion modes listed in FIG. 3B, and drives the liquid crystal alternately, wherein the alternating modes can be as shown in Table 1, but the present invention is not limited thereto. Table 1 Mode 1: Frequency = 60Hz, N = 2, proportional insertion Mode 2: Frequency = 60Hz, N = 3, non-proportional insertion Frame 1 Point Reverse Frame 1 Point Reverse Frame 2 (2V+1) Reverse Frame 2 Point Reverse Frame 3 Point Reverse Frame 3 (2V+1) Reverse Frame 4 (2V+1) Reverse Frame 4 Point Reverse Frame 5 Point Reverse Frame 5 Point Reverse Frame 6 (2V+1) Reverse Frame 6 (2V+1) Reverse Frame 59 Point Reverse Frame 59 Point Reverse Frame 60 (2V+1) Reverse Frame 60 (2V+1) Reverse

在表1中,觸控面板的操作頻率為60Hz,預定時間區間可包含60個時間計數單位(即60幀,表中以“Frame”表示),其中模式1係為等比例插入模式的一例,且模式2係為非等比例插入模式的一例。模式1、模式2皆包含點反轉以及(2V+1) 兩種反轉模式,N=2代表每兩幀會有一幀插入(2V+1)反轉模式,N=3代表每三幀會有一幀會插入(2V+1)反轉模式。在步驟S404~S414中,可參見圖3A,對於一觸控單位而言,偵測到的訊號值維持大於訊號門檻值達預定連續計數(例如計數達到2~59中任一整數)才會保留,否則進行濾除。在步驟416中,所有觸控單位最後保留下來的訊號值會作為最終的觸控結果,且觸控單位的數量可為單一或複數個。In Table 1, the operating frequency of the touch panel is 60Hz, and the predetermined time interval may include 60 time counting units (i.e., 60 frames, represented by "Frame" in the table), wherein Mode 1 is an example of an equal-proportional insertion mode, and Mode 2 is an example of a non-equal-proportional insertion mode. Mode 1 and Mode 2 both include two inversion modes, namely, dot inversion and (2V+1). N=2 means that a (2V+1) inversion mode is inserted into one frame every two frames, and N=3 means that a (2V+1) inversion mode is inserted into one frame every three frames. In steps S404 to S414, see FIG. 3A. For a touch unit, the detected signal value will be retained only if it remains greater than the signal threshold value for a predetermined continuous count (e.g., the count reaches any integer between 2 and 59), otherwise it will be filtered. In step 416, the signal values finally retained by all touch units are used as the final touch result, and the number of touch units can be single or multiple.

進一步而言,在模式1中,從第一幀(Frame 1)至最後一幀(Frame 60),於奇數幀以點反轉模式驅動觸控面板,且於偶數幀係以(2V+1)反轉模式驅動觸控面板。在模式2中,從第一幀至最後一幀,第(3N-1)幀、第(3N-2)幀係以點反轉模式驅動觸控面板,且第3N時間計數單位係以 (2V+1)反轉模式驅動觸控面板,其中N為正整數。請注意,表1所揭露之模式1和模式2中的點反轉模式和(2V+1)反轉模式皆遵循一有次序的排程交替地驅動觸控面板,然而在本發明其他實施例亦可根據隨機排程來交替地驅動觸控面板,亦即(2V+1)反轉模式並非週期性地出現。此外,表1所揭露之模式1和模式2中的點反轉模式和(2V+1)反轉模式可置換為圖3B中任二極性反轉模式。Further, in mode 1, from the first frame (Frame 1) to the last frame (Frame 60), the touch panel is driven in the dot inversion mode in the odd frames, and the touch panel is driven in the (2V+1) inversion mode in the even frames. In mode 2, from the first frame to the last frame, the (3N-1)th frame and the (3N-2)th frame are driven in the dot inversion mode, and the 3Nth time counting unit is driven in the (2V+1) inversion mode, where N is a positive integer. Please note that the dot inversion mode and (2V+1) inversion mode in Mode 1 and Mode 2 disclosed in Table 1 both follow an ordered schedule to alternately drive the touch panel, but in other embodiments of the present invention, the touch panel may also be alternately driven according to a random schedule, that is, the (2V+1) inversion mode does not appear periodically. In addition, the dot inversion mode and (2V+1) inversion mode in Mode 1 and Mode 2 disclosed in Table 1 may be replaced by any of the diode inversion modes in FIG. 3B.

請參考圖5,圖5係為根據本發明一實施例的觸控面板的觸控偵測方法的流程圖。請注意,假若可獲得實質上相同的結果,則這些步驟並不一定要遵照圖5所示的執行次序來執行。圖5所示之觸控偵測方法可被圖1所示之觸控顯示器100所採用,並可簡單歸納為下列步驟: 步驟S502:    以複數種極性反轉模式交替地驅動觸控面板; 步驟S504:    於預定時間區間內偵測觸控面板的每一觸控單位的訊號值; 步驟S506:    將每一觸控單位的訊號值與訊號門檻值進行比較,若訊號值維持高於訊號門檻值的狀態達預定連續計數,則保留此訊號值;若否(訊號值維持高於訊號門檻值的狀態未達預定連續計數),則濾除此訊號值; 步驟S508:    以每一觸控單位保留的訊號值作為觸控結果。 Please refer to FIG5, which is a flow chart of a touch detection method for a touch panel according to an embodiment of the present invention. Please note that if substantially the same result can be obtained, these steps do not necessarily have to be executed in the execution order shown in FIG5. The touch detection method shown in FIG. 5 can be adopted by the touch display 100 shown in FIG. 1 and can be simply summarized into the following steps: Step S502:    Alternately drive the touch panel in a plurality of polarity reversal modes; Step S504:    Detect the signal value of each touch unit of the touch panel within a predetermined time interval; Step S506:    Compare the signal value of each touch unit with the signal threshold value. If the signal value maintains a state higher than the signal threshold value for a predetermined continuous count, retain the signal value; if not (the signal value does not maintain a state higher than the signal threshold value for a predetermined continuous count), filter out the signal value; Step S508:    The signal value retained by each touch unit is used as the touch result.

綜上所述,本發明透過穿插不同極性反轉模式來有效判斷出觸控面板所感受到的訊號值是來自於真實觸控操作或極性反轉產生的雜訊,藉此保留實際觸控所產生的訊號值並濾除雜訊。如此一來,觸控面板識別觸控操作的精準度可以大幅提高,且本發明的方法不受外在環境及面板自身特性影響的方案,故能夠有效解決先前技術所面臨的問題。In summary, the present invention effectively determines whether the signal value sensed by the touch panel is from a real touch operation or the noise generated by the polarity reversal by interlacing different polarity reversal modes, thereby retaining the signal value generated by the actual touch and filtering out the noise. In this way, the accuracy of the touch panel in identifying the touch operation can be greatly improved, and the method of the present invention is not affected by the external environment and the characteristics of the panel itself, so it can effectively solve the problems faced by the previous technology.

由於熟習技藝者在閱讀完以上段落後應可輕易瞭解圖5中每一步驟的細節,為簡潔之故,在此將省略進一步的描述。Since a skilled person can easily understand the details of each step in FIG. 5 after reading the above paragraphs, further description will be omitted here for the sake of brevity.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed as above by way of embodiments, they are not intended to limit the present invention. A person having ordinary knowledge in the technical field to which the present invention belongs may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined in the attached patent application.

100:觸控顯示器 110:觸控面板 120:處理器 S402-S416,S502-S508:步驟 100: Touch display 110: Touch panel 120: Processor S402-S416, S502-S508: Steps

圖1係為本發明一種觸控顯示器的示意圖。 圖2A、圖2B分別示意了於不同幀對觸控面板的畫素偵測訊號值的示意圖。 圖3A係為將圖2中兩種極性反轉模式交互使用並進行計數的示意圖。 圖3B係為多種極性反轉模式的示意圖。 圖4係為本發明用於觸控面板的觸控偵測方法的架構圖。 圖5係為根據本發明一實施例的觸控面板的觸控偵測方法的流程圖。 FIG. 1 is a schematic diagram of a touch display of the present invention. FIG. 2A and FIG. 2B are schematic diagrams of pixel detection signal values of a touch panel in different frames, respectively. FIG. 3A is a schematic diagram of using the two polarity inversion modes in FIG. 2 interchangeably and counting. FIG. 3B is a schematic diagram of multiple polarity inversion modes. FIG. 4 is a schematic diagram of a touch detection method for a touch panel of the present invention. FIG. 5 is a flow chart of a touch detection method for a touch panel according to an embodiment of the present invention.

S502-S508:步驟 S502-S508: Steps

Claims (9)

一種用於觸控面板的觸控偵測方法,包含:以複數種極性反轉模式交替地驅動該觸控面板;對於該觸控面板的每一觸控單位進行以下步驟:於一預定時間區間內偵測該觸控單位的一訊號值,該預定時間區間包含複數個時間計數單位;以及將該訊號值與一訊號門檻值進行比較,其中若該訊號值維持高於該訊號門檻值的狀態達一預定連續計數,則保留該訊號值,否則濾除該訊號值;以及以該每一觸控單位保留的該訊號值作為觸控結果;其中該複數種極性反轉模式包括以一非等比例的方式交替地驅動該觸控面板。 A touch detection method for a touch panel, comprising: driving the touch panel alternately in a plurality of polarity reversal modes; performing the following steps for each touch unit of the touch panel: detecting a signal value of the touch unit within a predetermined time interval, the predetermined time interval comprising a plurality of time counting units; and comparing the signal value with a signal threshold value, wherein if the signal value maintains a state higher than the signal threshold value for a predetermined continuous count, the signal value is retained, otherwise the signal value is filtered out; and taking the signal value retained by each touch unit as a touch result; wherein the plurality of polarity reversal modes include driving the touch panel alternately in a non-proportional manner. 如請求項1述之觸控偵測方法,其中該觸控面板的操作頻率為60Hz,該預定時間區間包含60個時間計數單位,該預定連續計數為2~59中一整數。 As described in claim 1, the touch detection method, wherein the operating frequency of the touch panel is 60 Hz, the predetermined time interval includes 60 time counting units, and the predetermined continuous count is an integer between 2 and 59. 如請求項1所述之觸控偵測方法,複數種極性反轉模式包含圖框反轉(Frame Inversion)、列反轉(Line Inversion)、欄反轉(Column Inversion)、點反轉(Dot Inversion)、及(2V+1)反轉中至少二者。 In the touch detection method described in claim 1, the plurality of polarity inversion modes include at least two of frame inversion, line inversion, column inversion, dot inversion, and (2V+1) inversion. 如請求項1所述之觸控偵測方法,其中該複數種極性反轉模式包括以一等比例的方式交替地驅動該觸控面板。 A touch detection method as described in claim 1, wherein the plurality of polarity reversal modes include driving the touch panel alternately in a proportional manner. 如請求項4所述之觸控偵測方法,其中該等比例的方式交替地驅動該觸控面板的步驟包含:於該複數個時間計數單位中的奇數時間計數單位以一第一種極性反轉模式驅動該觸控面板;以及於該複數個時間計數單位中的偶數時間計數單位以一第二種極性反轉模式驅動該觸控面板。 The touch detection method as described in claim 4, wherein the step of driving the touch panel alternately in a proportional manner comprises: driving the touch panel in a first polarity inversion mode for odd-numbered time counting units among the plurality of time counting units; and driving the touch panel in a second polarity inversion mode for even-numbered time counting units among the plurality of time counting units. 如請求項1所述之觸控偵測方法,其中該非等比例的方式交替地驅動該觸控面板的步驟包含:於該複數個時間計數單位中的第(3N-1)、第(3N-2)時間計數單位以一第一種極性反轉模式驅動該觸控面板,其中N為正整數;以及於該複數個時間計數單位中的第3N時間計數單位以一第二種極性反轉模式驅動該觸控面板。 The touch detection method as described in claim 1, wherein the step of alternately driving the touch panel in a non-proportional manner comprises: driving the touch panel in a first polarity inversion mode in the (3N-1)th and (3N-2)th time counting units among the plurality of time counting units, wherein N is a positive integer; and driving the touch panel in a second polarity inversion mode in the 3Nth time counting unit among the plurality of time counting units. 一種觸控顯示器,包含一觸控面板以及一處理器,其中處理器提供複數種極性反轉模式以交替地驅動該觸控面板,且該觸控面板具有至少一觸控單位,該處理器於一預定時間區間內偵測該至少一觸控單位的一訊號值,並將該訊號值與一訊號門檻值進行比較,其中該預定時間區間包含複數個時間計數單位;若該訊號值高於一訊號門檻值達一預定連續計數,則保留該訊號值;若該訊號值並未高於該訊號門檻值達該預定連續計數,則濾除該訊號值;其中該複數種極性反轉模式包括以一非等比例的方式交替地驅動該觸控面板。 A touch display includes a touch panel and a processor, wherein the processor provides a plurality of polarity inversion modes to alternately drive the touch panel, and the touch panel has at least one touch unit, the processor detects a signal value of the at least one touch unit within a predetermined time interval, and compares the signal value with a signal threshold value, wherein the predetermined time interval includes a plurality of time counting units; if the signal value is higher than a signal threshold value for a predetermined continuous count, the signal value is retained; if the signal value is not higher than the signal threshold value for the predetermined continuous count, the signal value is filtered; wherein the plurality of polarity inversion modes include alternately driving the touch panel in a non-proportional manner. 如請求項7所述之觸控顯示器,其中該至少一觸控單位為單一畫素。 A touch display as described in claim 7, wherein the at least one touch unit is a single pixel. 如請求項7所述之觸控顯示器,其中該至少一觸控單位包含複數個畫素。 A touch display as described in claim 7, wherein the at least one touch unit comprises a plurality of pixels.
TW111149745A 2022-12-23 2022-12-23 Touch detection method of touch panel and touch display TWI853385B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW111149745A TWI853385B (en) 2022-12-23 2022-12-23 Touch detection method of touch panel and touch display
CN202310075330.6A CN115951798A (en) 2022-12-23 2023-01-16 Touch detection method of touch panel and touch display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111149745A TWI853385B (en) 2022-12-23 2022-12-23 Touch detection method of touch panel and touch display

Publications (2)

Publication Number Publication Date
TW202316254A TW202316254A (en) 2023-04-16
TWI853385B true TWI853385B (en) 2024-08-21

Family

ID=85897727

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111149745A TWI853385B (en) 2022-12-23 2022-12-23 Touch detection method of touch panel and touch display

Country Status (2)

Country Link
CN (1) CN115951798A (en)
TW (1) TWI853385B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201115443A (en) * 2009-06-29 2011-05-01 Sony Corp Electrostatic capacitive type touch panel and display device equipped with a touch detection function
CN103299359A (en) * 2011-04-08 2013-09-11 夏普株式会社 Display device, method for driving same, and electronic apparatus
CN103577017A (en) * 2012-08-07 2014-02-12 株式会社日本显示器 Display device with touch sensor and electronic device
US20210397280A1 (en) * 2020-06-23 2021-12-23 Solomon Systech (Shenzhen) Limited Integrated display system circuitry and a method for driving thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201115443A (en) * 2009-06-29 2011-05-01 Sony Corp Electrostatic capacitive type touch panel and display device equipped with a touch detection function
CN103299359A (en) * 2011-04-08 2013-09-11 夏普株式会社 Display device, method for driving same, and electronic apparatus
CN103577017A (en) * 2012-08-07 2014-02-12 株式会社日本显示器 Display device with touch sensor and electronic device
US20210397280A1 (en) * 2020-06-23 2021-12-23 Solomon Systech (Shenzhen) Limited Integrated display system circuitry and a method for driving thereof
CN113838432A (en) * 2020-06-23 2021-12-24 晶门科技(中国)有限公司 Integrated display system circuit and driving method thereof

Also Published As

Publication number Publication date
CN115951798A (en) 2023-04-11
TW202316254A (en) 2023-04-16

Similar Documents

Publication Publication Date Title
US11526224B2 (en) Display device with display and detection periods that share the drive electrode
TWI543034B (en) Display device having touch sensor and method for driving the same
TWI488091B (en) Optical touch display panel
JP5979988B2 (en) Liquid crystal display
TWI541710B (en) Liquid crystal display device with touch panel
US10365755B2 (en) Display device with touch detection function and display method
US8872790B2 (en) Operating method of capacitive touch panel and touch control barrier-type 3D display device
US20150199060A1 (en) Liquid crystal display device
US9645639B2 (en) Apparatus and method for driving touch sensor
CN107578754B (en) Overcurrent protection system and overcurrent protection method of liquid crystal display panel
KR101808462B1 (en) Display device and input device
CN104156106B (en) Touch device and driving method thereof
JP2012038311A (en) Display device
US9069412B2 (en) Touch-sensor-equipped display device comrpising photodetecting elements
CN113703616A (en) Display device including means for supplying signal to panel driving integrated circuit
KR20130078142A (en) Apparatus and method for driving touch sensor
TWI853385B (en) Touch detection method of touch panel and touch display
US9373295B2 (en) Liquid crystal display device with touch panel
CN104238836A (en) Touch display device and driving and sensing method thereof
CN104793775B (en) Touch display device, driving method thereof, and touch sensing method
TWI658394B (en) Touch panel and touch detection circuit thereof
CN101622658A (en) Liquid crystal display device
JP2015087608A (en) Liquid crystal display device with touch panel
WO2014129825A1 (en) Coordinate selection circuit and method in differential touch sensing system
KR20130078116A (en) Apparatus and method for driving touch sensor using interpolation method