CN113220168B - Multi-mode operation method of capacitive touch panel - Google Patents

Multi-mode operation method of capacitive touch panel Download PDF

Info

Publication number
CN113220168B
CN113220168B CN202010071069.9A CN202010071069A CN113220168B CN 113220168 B CN113220168 B CN 113220168B CN 202010071069 A CN202010071069 A CN 202010071069A CN 113220168 B CN113220168 B CN 113220168B
Authority
CN
China
Prior art keywords
touch
value
mode
waterproof
sensing
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010071069.9A
Other languages
Chinese (zh)
Other versions
CN113220168A (en
Inventor
王佑仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Silicon Integrated Systems Corp
Original Assignee
Hycon Technology Corp
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 Hycon Technology Corp filed Critical Hycon Technology Corp
Priority to CN202010071069.9A priority Critical patent/CN113220168B/en
Publication of CN113220168A publication Critical patent/CN113220168A/en
Application granted granted Critical
Publication of CN113220168B publication Critical patent/CN113220168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a multi-mode operation method for a capacitive touch panel and a computing device, wherein the multi-mode operation method for the capacitive touch panel comprises the following steps: taking the mutual capacitance value of the panel at the initial time as a reference value; the mutual capacitance value obtained after the initial step is taken as an original value; comparing the original value with the reference value to obtain an induction value; comparing the current sensing value with the previous sensing value to obtain a first comparison result; a correction step, when the touch cell has an induction value smaller than 0 and the induction value of any one of the other touch cells in the vertical direction and the horizontal direction of the touch cell is larger than the effective touch standard value, obtaining a calculated value according to the induction value of the touch cell and the absolute value of the touch cell, and taking the calculated value as the induction value of the touch cell; and a determining step, selecting a normal mode or a waterproof mode according to the first comparison result and all the lattice sensing values after the correcting step.

Description

电容式触控面板的多模式作业方法Multi-mode operation method of capacitive touch panel

技术领域Technical field

本发明关于电容式触控面板的多模式操作,特别是关于使用互控式扫描的电容式触控面板的防水模式操作。The present invention relates to the multi-mode operation of a capacitive touch panel, and in particular to the waterproof mode operation of a capacitive touch panel using mutual control scanning.

背景技术Background technique

电容式触控面板已广泛应用于各式样的电子或计算装置,特别是移动电话、平板电脑、笔记本电脑等电子设备。电容式触控面板经常面临差异极大的操作环境,举例而言,水或导电度高的液体溅洒于触控垫上的情形、污染物附着的情形等等。为了解决这些异常的使用状态,美国专利US8823678及中国台湾专利TWI490764,分别揭示被水污染的位置的判断方法。美国专利US8823678是根据干式模式及湿式模式中的测得的电容位准来判断及决定有无污染物存在的情形。中国台湾专利TWI490764是根据自容模式扫描方式,将不同列的扫描信号结果相互比对以辨识有水的位置。但是,现有技术仅识别受水影响的区域但无法辨识这些区域是否被有效触控。Capacitive touch panels have been widely used in various electronic or computing devices, especially electronic devices such as mobile phones, tablet computers, and notebook computers. Capacitive touch panels often face extremely different operating environments. For example, water or highly conductive liquids are spilled on the touch pad, contaminants are attached, and so on. In order to solve these abnormal usage conditions, U.S. Patent US8823678 and Taiwan Patent TWI490764 respectively disclose methods for determining the location of water contamination. US Patent No. 8823678 is based on the measured capacitance levels in dry mode and wet mode to determine the presence or absence of contaminants. Taiwan Patent TWI490764 is based on the self-capacitance mode scanning method and compares the scanning signal results of different columns with each other to identify the location of water. However, existing technology only identifies areas affected by water but cannot discern whether these areas are effectively touched.

此外,现有技术也无法区别受盐水等导电度高的液体污染的情形,以致判断被触控点的准确率低。In addition, the existing technology cannot differentiate between contamination by highly conductive liquids such as salt water, resulting in low accuracy in determining the touched point.

因此需要在多种不同模式中都能够降低误判而有高报点率的电容式触控面板技术。Therefore, there is a need for capacitive touch panel technology that can reduce misjudgments and have a high reporting rate in a variety of different modes.

发明内容Contents of the invention

为了提供能准确地判断各种操作模式以及在各种操作模式中都具有高报点率的技术,本发明提出一种用于电容式触控面板的多模式作业方法,该面板具有多个触控格,以互容扫描方式取得该多个触控格的一感应数值,包含一正常模式以及一防水模式,并依据下述判断一防水条件决定进入该防水模式:该多个触控格的该感应数值中最大值大于一上阈值,以及该多个触控格的该感应数值中最小值小于一下阈值;该多个触控格的该感应数值中最大值减掉最小值大于一第一预定值;该多个触控格的该感应数值中大于该上阈值的总格数大于一上防水格数,以及小于该下阈值的总格数大于一下防水格数;以及所有小于该下阈值的该多个感应数值的绝对值总和大于一第二预定值,只要符合两项以上条件,就会判断进入该防水模式。In order to provide technology that can accurately determine various operating modes and have a high reporting rate in various operating modes, the present invention proposes a multi-mode operating method for a capacitive touch panel. The panel has multiple touch points. The control grid uses mutual capacitance scanning to obtain a sensing value of the multiple touch grids, including a normal mode and a waterproof mode, and determines to enter the waterproof mode based on the following judgment of a waterproof condition: the multiple touch grids The maximum value of the sensing values is greater than an upper threshold, and the minimum value of the sensing values of the multiple touch grids is less than a lower threshold; the maximum value minus the minimum value of the sensing values of the multiple touch grids is greater than a first Predetermined value; among the sensing values of the plurality of touch cells, the total number of cells that are greater than the upper threshold is greater than the number of upper waterproof cells, and the total number of cells that are smaller than the lower threshold is greater than the number of lower waterproof cells; and all cells that are smaller than the lower threshold are The sum of the absolute values of the plurality of sensing values is greater than a second predetermined value. As long as two or more conditions are met, it will be determined that the waterproof mode is entered.

依据本发明的构想,该多个感应数值较佳需要判断两次以上符合上述条件,才会进入该防水模式。According to the concept of the present invention, the multiple sensing values preferably need to be judged to meet the above conditions more than twice before entering the waterproof mode.

依据本发明的构想,在执行判断前,该多个感应数值会先进行下述处理步骤:在该面板初始时,取得各触控格互容扫描的该感应数值作为各触控格的基准值;之后每次取得各触控格互容扫描的该感应数值,把该感应数值扣除该各触控格的基准值,再执行该判断防水条件。According to the concept of the present invention, before performing the judgment, the plurality of sensing values will first undergo the following processing steps: when the panel is initialized, the sensing values of the mutual capacitance scan of each touch grid are obtained as the reference value of each touch grid. ; After that, each time the sensing value of the mutual capacitance scan of each touch grid is obtained, the sensing value is deducted from the reference value of each touch grid, and then the waterproof condition is determined.

依据本发明的构想,在执行判断前,该多个感应数值会先进行校正处理,当触控格具有小于0的感应数值,以及该触控格的垂直方向及水平方向的其它触控格中分别有任一触控格的感应数值大于一有效触控标准值,以及该触控格的水平方向的所有其它触控格中任一格的感应数值大于该有效触控标准值时,则根据该触控格的感应数值与该触控格的绝对值取得一计算值,以作为该触控格的感应数值。According to the concept of the present invention, before performing the judgment, the multiple sensing values will be corrected first. When the touch grid has a sensing value less than 0, and in other touch grids in the vertical and horizontal directions of the touch grid, When the sensing value of any touch grid is greater than an effective touch standard value, and when the sensing value of any other touch grid in the horizontal direction of the touch grid is greater than the effective touch standard value, the The sensing value of the touch grid and the absolute value of the touch grid obtain a calculated value as the sensing value of the touch grid.

依据本发明的构想,若侦测到一触控事件,该判断防水条件中的该上阈值、该下阈值、该第一预定值、该上防水格数、该下防水格数、该第二预定值或判断次数的数值,可随着触控事件的数量而提升。According to the concept of the present invention, if a touch event is detected, the upper threshold value, the lower threshold value, the first predetermined value, the upper waterproof grid number, the lower waterproof grid number, and the second waterproof grid number in the judgment waterproof condition are The predetermined value or the value of the number of judgments can increase with the number of touch events.

依据本发明的构想,在进入该防水模式后,包含一回到正常模式的一判断无水条件,该判断无水条件与该判断防水条件的标准相同,或者可以缩小该上阈值、该下阈值、该第一预定值、该上防水格数、该下防水格数或该第二预定值的数值,形成缓冲效果。According to the concept of the present invention, after entering the waterproof mode, it includes a determination of a water-free condition to return to the normal mode. The water-free condition is the same as the standard for judging the waterproof condition, or the upper threshold and the lower threshold can be reduced. , the first predetermined value, the upper waterproof grid number, the lower waterproof grid number or the second predetermined value form a buffering effect.

本发明亦提出一种用于电容式触控面板的多模式作业方法,该面板具有多个触控格,以互容扫描方式取得该多个触控格的一感应数值,其中包含一正常模式以及一防水模式,并且在该防水模式中,针对未判定为触摸的一区域,如果有感应量的变化视为水引起的变化,并依此建立一防水基准值,每个触控格的感应数值扣除该防水基准值后,再判断一触摸效果。The present invention also proposes a multi-mode operation method for a capacitive touch panel. The panel has a plurality of touch grids, and a sensing value of the multiple touch grids is obtained by mutual capacitance scanning, including a normal mode. And a waterproof mode, and in the waterproof mode, for an area that is not determined to be touched, if there is a change in the sensing amount, it is regarded as a change caused by water, and a waterproof reference value is established accordingly. The sensing of each touch grid After deducting the waterproof reference value from the numerical value, the touch effect is then judged.

依据本发明的构想,在该防水模式中,一防水模式有效触控标准值设定成大于该正常模式中的一正常模式有效触控标准值,以及根据感测值大于该防水模式有效触控标准值的触控格的上、下、左及右邻接触控格的感应数值设定一周围判断条件,判断该触控格是否被有效触控。According to the concept of the present invention, in the waterproof mode, a waterproof mode effective touch standard value is set to be greater than a normal mode effective touch standard value in the normal mode, and according to the sensed value is greater than the waterproof mode effective touch standard value The sensing values of the upper, lower, left and right adjacent touch cells of the standard value touch cell set a surrounding judgment condition to determine whether the touch cell is effectively touched.

依据本发明的构想,在该防水模式中,当未判定触控事件发生时,可以提高该防水模式有效触控标准值,或者提高该周围判断条件的标准,发生触控事件后,再回到原本的该防水模式有效触控标准值,或者回到原本的该周围判断条件的标准。According to the concept of the present invention, in the waterproof mode, when a touch event is not determined to occur, the effective touch standard value of the waterproof mode can be increased, or the standard of the surrounding judgment conditions can be increased. After a touch event occurs, return to The original waterproof mode effective touch standard value, or return to the original standard for judging conditions around the environment.

依据本发明的构想,在该防水模式中,当该多个触控格的该感应数值中大于一上阈值的总数大于一正面积格数或者小于一下阈值的总数大于一负面积格数的变化量大于一面积变化格数时,可以提高该防水模式有效触控标准值,或者提高该周围判断条件的标准。According to the concept of the present invention, in the waterproof mode, when the total number of sensing values of the plurality of touch grids that are greater than an upper threshold is greater than a number of positive area grids or the total number of values that are smaller than a lower threshold is greater than a number of negative area grids, When the amount is greater than the number of changes in an area, you can increase the effective touch standard value of the waterproof mode, or increase the standard of the surrounding judgment conditions.

依据本发明的构想,在该防水模式中,当判定触控事件发生时,一触控坐标周围设定一保护范围,该保护范围内加强稳定处理,提高报点标准,或者强制限定不会产生新的触控事件。According to the concept of the present invention, in the waterproof mode, when it is determined that a touch event occurs, a protection range is set around a touch coordinate. Within this protection range, stable processing is strengthened, the reporting standard is improved, or forced limitation will not occur. New touch events.

依据本发明的构想,在该防水模式中,将该触控面板边缘的触控格的该有效触控标准值设定成小于该防水有效触控标准值,或者将在该触控面板角落的触控格的该有效触控标准值设定成大于该防水有效触控标准值,根据感测值大于该防水模式有效触控标准值的触控格的上、下、左及右邻接该触控格的感应数值,判断该触控格是否被有效触控;或者针对各触控格的感应数值加强滤波或稳定处理,提升触控效果的稳定度。According to the concept of the present invention, in the waterproof mode, the effective touch standard value of the touch grid on the edge of the touch panel is set to be smaller than the waterproof effective touch standard value, or the touch panel at the corner of the touch panel is set to be smaller than the waterproof effective touch standard value. The effective touch standard value of the touch grid is set to be greater than the waterproof effective touch standard value. According to the touch grid whose sensing value is greater than the waterproof mode effective touch standard value, the top, bottom, left and right adjacent to the touch grid are The sensing value of the touch grid is used to determine whether the touch grid is effectively touched; or the filtering or stabilization processing is enhanced for the sensing value of each touch grid to improve the stability of the touch effect.

依据本发明的构想,在该防水模式中,当判定触控对象造成触控事件后,如果该触控对象离开该触控面板后一段预定时间内,则强制停留在该防水模式中操作,或者假使目前感应数值与先前感应数值的差值大于预定值的触控格的总数大于一预定格数时,则仍留在该防水模式一段预定时间但不执行有效触控判断。According to the concept of the present invention, in the waterproof mode, after it is determined that the touch object causes a touch event, if the touch object leaves the touch panel within a predetermined period of time, the operation is forced to stay in the waterproof mode, or If the difference between the current sensing value and the previous sensing value is greater than the predetermined value and the total number of touch cells is greater than a predetermined number of cells, the waterproof mode will remain in the waterproof mode for a predetermined period of time but no effective touch judgment will be performed.

本发明还提出一种用于电容式触控面板的多模式作业方法,该面板具有多个触控格,以互容扫描方式取得该多个触控格的一感应数值,其中包含一正常模式以及一水中操作模式,并且利用一水中开关设定或者依据下述一判断水中条件判定进入该水中操作模式:该多个触控格的该感应数值在一短时间内增加的变化量大于一有效触控标准值,并且该多个触控格的该感应数值在一预设时间内的感应数值都维持稳定;另外在判定进入该水中操作模式后,建立一水中基准值,并且该多个触控格的该感应数值取绝对值或取负值再做一触控判断。The present invention also proposes a multi-mode operating method for a capacitive touch panel. The panel has a plurality of touch grids, and a sensing value of the multiple touch grids is obtained by mutual capacitance scanning, including a normal mode. And an underwater operation mode, and use an underwater switch setting or enter the underwater operation mode based on the following judgment of underwater conditions: the change amount of the sensing values of the multiple touch grids increased in a short period of time is greater than an effective Touch standard value, and the sensing values of the multiple touch grids remain stable within a preset time; in addition, after it is determined that the underwater operation mode is entered, an underwater reference value is established, and the multiple touch The sensing value of the control grid takes an absolute value or a negative value and then makes a touch judgment.

依据本发明的构想,该方法还包含一防水模式,在该防水模式中可依据该水中开关设定或者该判断水中条件判定进入该水中操作模式。According to the concept of the present invention, the method further includes a waterproof mode, in which the underwater operation mode can be entered according to the underwater switch setting or the underwater condition determination.

依据本发明的构想,在判定进入该水中操作模式后,该多个触控格的该感应数值可以再放大或者进行触控判断时放宽判断标准,其中该放宽判断标准的方法包含一水中模式有效触控标准值设定成小于该正常模式中的一正常模式有效触控标准值,或者根据感测值大于该水中模式有效触控标准值的该触控格的上、下、左及右邻接该触控格的感应数值设定周围判断条件的标准值降低,判断该触控格是否被有效触控。According to the concept of the present invention, after it is determined that the underwater operation mode has been entered, the sensing values of the multiple touch grids can be further amplified or the judgment criteria can be relaxed when making touch judgments, wherein the method of relaxing the judgment criteria includes an underwater mode valid The touch standard value is set to be less than a normal mode effective touch standard value in the normal mode, or according to the upper, lower, left and right adjacencies of the touch grid whose sensing value is greater than the underwater mode effective touch standard value. The sensing value of the touch grid lowers the standard value of the surrounding judgment conditions to determine whether the touch grid is effectively touched.

依据本发明的构想,在判定进入水中操作模式后,另外依据下述判断离开水中条件判定离开水中操作模式,并且回到防水模式或正常模式:该多个触控格的该感应数值在一短时间内减少的总变化量大于一水中判定值,并且该多个触控格的该感应数值在一预设时间内的总变化量都小于一稳定预设值。According to the concept of the present invention, after it is determined that the water operation mode has been entered, it is also determined to leave the water operation mode according to the following conditions for leaving the water, and return to the waterproof mode or the normal mode: the sensing values of the multiple touch grids are within a short period of time. The total change amount decreased within a time period is greater than a water determination value, and the total change amount of the sensing values of the plurality of touch grids within a preset time period is less than a stable preset value.

本发明还提出一种计算设备,包含:一中央处理单元;一触控面板,用于显示及允许使用者以触控方式操作;一控制器,与该触控面板及该中央处理单元相互通讯,或者具有针对一触控感应数值进行判断一触控效果的功能;其中该中央处理单元及该控制器协力操作以执行前述几个方法。The present invention also proposes a computing device, including: a central processing unit; a touch panel for display and allowing the user to operate in a touch mode; and a controller that communicates with the touch panel and the central processing unit. , or have the function of judging a touch effect based on a touch sensing value; wherein the central processing unit and the controller cooperate to perform the aforementioned methods.

根据本发明,可以区别负触效应及污染物附着的情形,在触控屏幕沾到大量水的情形中仍能准确辨识有效触控,能够区别导电度高的液体附着于触控面板与戴着手套触控的情形,因而相较于现有技术,具有相当高的有效触控辨识能力。According to the present invention, the negative touch effect and the adhesion of contaminants can be distinguished, the effective touch can still be accurately identified when the touch screen is stained with a large amount of water, and the liquid with high conductivity attached to the touch panel can be distinguished from the one worn on the touch screen. In the case of glove touch, it has a much higher effective touch recognition capability compared to the existing technology.

附图说明Description of drawings

图1为概要显示互容式触控面板的视图;Figure 1 is a schematic view showing a mutual capacitance touch panel;

图2A及图2B分别显示举例说明正常手指触控面板时各触控格感应数值及有水存在于触控面板时的各触控格感应数值;Figures 2A and 2B respectively show examples of the sensing values of each touch grid when a normal finger touches the panel and the sensing values of each touch grid when water exists on the touch panel;

图3为流程图,用于说明根据本发明的实施例的互容电容信号处理;Figure 3 is a flow chart for illustrating mutual capacitance signal processing according to an embodiment of the present invention;

图4为流程图,用于说明根据本发明的实施例的追踪及负触效应处理;Figure 4 is a flow chart for illustrating tracking and negative touch effect processing according to an embodiment of the present invention;

图5为显示触控面板的众多格感应数值,用以说明负触效应;Figure 5 shows numerous grid sensing values of the touch panel to illustrate the negative touch effect;

图6为流程图,用于说明“防水模式”判断及处理作业;Figure 6 is a flow chart to illustrate the "waterproof mode" judgment and processing operations;

图7为方块图,显示根据一实施例的计算设备。Figure 7 is a block diagram illustrating a computing device according to an embodiment.

附图标记说明:500-计算设备;502-触控面板;504-控制器;506-中央处理单元。Explanation of reference signs: 500-computing device; 502-touch panel; 504-controller; 506-central processing unit.

具体实施方式Detailed ways

为了助于了解本发明的精神及原理,将简要说明电容式触控面板的布置及感测方式。参考图1,触控面板100设有N列及M行的扫描线。在本说明书中,将两个相邻行与两个相邻列之间的区域称为格,将整片触控面板称为框。一般而言,电容式触控面板是在面板表面产生一感应电场以取得等效电容值,手指触摸时,感应电场的强度产生变化而等效电容值也会改变,一般而言变化量级约pF(10-12法拉),如此取得的信号会由例如模拟对数字转换器等装置转换成数字信号及接受其它处理,以产生对应的数值,以便用于执行不同处理或运算。一般而言,扫描触控面板取得感应数值的扫描方式主要有两种,其一为自容式扫描,另一种为互容式扫描,本发明主要使用互容式扫描以取得感应数值。In order to help understand the spirit and principle of the present invention, the arrangement and sensing method of the capacitive touch panel will be briefly described. Referring to FIG. 1 , the touch panel 100 is provided with N columns and M rows of scan lines. In this specification, the area between two adjacent rows and two adjacent columns is called a grid, and the entire touch panel is called a frame. Generally speaking, a capacitive touch panel generates an induced electric field on the surface of the panel to obtain an equivalent capacitance value. When a finger touches, the intensity of the induced electric field changes and the equivalent capacitance value also changes. Generally speaking, the change magnitude is about pF (10 -12 Farads), the signal thus obtained will be converted into a digital signal by a device such as an analog-to-digital converter and subjected to other processing to generate corresponding values for use in performing different processes or operations. Generally speaking, there are two main scanning methods for scanning a touch panel to obtain sensing values. One is self-capacitance scanning and the other is mutual capacitance scanning. The present invention mainly uses mutual capacitance scanning to obtain sensing values.

此处,将电容式触控面板在感应电场下的电容感应数值称为原始数据,在外物触碰、附着等不同的环境条件下,电容感应数值也会不同。在未被外物碰触或接触的初始条件下取得的原始数据于下称为基准值。在手指触摸电容式触控面板时取得原始值,此原始值减掉基准值的差异值就是手指触摸而产生的变化量值,亦即差异值=原始值-基准值。举例而言,图2A显示正常情形下手指触摸时各触控格的变化量值,亦即,图中所示的数值都是差异值。如图2A所示,值1197的格及其周围格的值显著大于其它触控格,因而被视为手指触控。于下,变化量值会称为感应数值。Here, the capacitive sensing value of the capacitive touch panel under the induced electric field is called raw data. The capacitive sensing value will also be different under different environmental conditions such as contact and attachment of foreign objects. The original data obtained under the initial conditions without being touched or contacted by foreign objects is referred to as the baseline value below. The original value is obtained when the finger touches the capacitive touch panel. The difference value of this original value minus the reference value is the change value caused by the finger touch, that is, the difference value = original value - reference value. For example, FIG. 2A shows the change magnitude of each touch grid when a finger is touched under normal circumstances, that is, the values shown in the figure are all difference values. As shown in Figure 2A, the value of the grid with a value of 1197 and its surrounding grids are significantly larger than other touch grids, and thus are regarded as finger touches. In the following, the change value will be called the sensing value.

一般而言,触控面板的操作模式主要有正常模式及防水模式两种模式。防水模式指有水存在于触控面板时的操作模式,此一种模式以外的操作模式即为正常模式。Generally speaking, the operation modes of touch panels mainly include normal mode and waterproof mode. The waterproof mode refers to the operating mode when water exists on the touch panel. The operating modes other than this mode are the normal modes.

图3为流程图,用以说明根据本发明的互容电容信号处理100。如图3所示,在步骤S100,在开机初始时,以互容方式扫描整个触控面板以取得互容电容值信号,以及对信号进行A/D处理等处理而取得对应的数值作为基准值。举例而言,在干净环境及无外物触碰下,取得的各触控格的基准值会在一定范围之内,例如在±30之内。然后进入步骤S102。FIG. 3 is a flow chart illustrating mutual capacitance signal processing 100 according to the present invention. As shown in Figure 3, in step S100, at the beginning of booting, the entire touch panel is scanned in the mutual capacitance mode to obtain the mutual capacitance value signal, and the signal is subjected to A/D processing and other processing to obtain the corresponding value as a reference value. . For example, in a clean environment and without foreign objects touching, the obtained reference value of each touch grid will be within a certain range, for example, within ±30. Then proceed to step S102.

在步骤S102中,以互容方式扫描整个触控面板以取得互容电容值信号,以及对信号进行A/D处理等处理而取得对应的数值作为原始值。然后,在步骤S104,将原始值减掉基准值,取得差异值(=原始值-基准值)作为目前感应数值,以供后续处理之用。一般而言,在开机初始后即进入正常操作模式。举例而言,在整个触控面板具有28x16格的情形中,有效触控标准值(或简称标准值)预设为400,亦即,格的数值大于或等于400时会被视为被有效触控。假使触控面板开机后进入正常模式中时,手指触摸处的最大感应数值为1200。In step S102, the entire touch panel is scanned in a mutual capacitance manner to obtain a mutual capacitance value signal, and the signal is subjected to A/D processing and other processing to obtain a corresponding value as an original value. Then, in step S104, the original value is subtracted from the reference value, and the difference value (=original value-reference value) is obtained as the current sensing value for subsequent processing. Generally speaking, it enters the normal operating mode after initial startup. For example, in the case where the entire touch panel has 28x16 grids, the effective touch standard value (or standard value for short) is preset to 400, that is, when the value of the grid is greater than or equal to 400, it will be regarded as being effectively touched. control. If the touch panel enters normal mode after being turned on, the maximum sensing value at the finger touch is 1200.

根据本发明的实施例,如上取得的感应数值会接受追踪及负触效应处理200,以用于模式判断及模式处理。如图4所示,在S202中,执行追踪处理,比较各触控格目前的感应数值与先前感应数值,比较结果可以提供触控面板上的触控点信息等等。举例而言,根据比较结果,可以知道是否有新的触控事件发生,以及,知道手指等触控对象的移动轨迹。According to an embodiment of the present invention, the sensing value obtained as above will undergo tracking and negative touch effect processing 200 for mode judgment and mode processing. As shown in Figure 4, in S202, tracking processing is performed to compare the current sensing value of each touch grid with the previous sensing value. The comparison result can provide touch point information on the touch panel and so on. For example, based on the comparison results, you can know whether a new touch event occurs and the movement trajectory of touch objects such as fingers.

负触效应指当两根以上的手指碰触触控面而造成两个以上的触控点时,在这些有效触控点之间会产生负的感应值,此效应称为负触效应。当根据追踪处理的比较结果,发现触碰事件发生且有些格的值为负时,会进行负触效应处理。举例而言,如图5所示,有两个触控点存在(图中最暗阴影显示的多个格),框中有多个格的数值为负值,这些负值是因负效应而造成的。但是,有些格会因为被污染物影响而产生负值,因此,为了避免负触效应被判定为污染物,会对具有负值的格执行负触效应处理。在步骤S206,判断格是否受负触效应影响。假使格感应数值小于有效触控标准值以及该触控格的垂直方向及水平方向均有大于标准值的格,则该触控格被认为受负触效应影响。举例而言,图5中具有-153的格符合负触效应。假使判定结果为是,则继续进行至步骤S208。The negative touch effect means that when two or more fingers touch the touch surface and create more than two touch points, negative sensing values will be generated between these effective touch points. This effect is called the negative touch effect. When it is found that a touch event occurs and the values of some cells are negative according to the comparison results of tracking processing, negative touch effect processing will be performed. For example, as shown in Figure 5, there are two touch points (multiple cells shown by the darkest shadow in the figure), and the values of many cells in the box are negative values. These negative values are due to negative effects. Caused. However, some grids will have negative values due to being affected by pollutants. Therefore, in order to avoid negative touch effects being judged as pollutants, negative touch effect processing will be performed on grids with negative values. In step S206, it is determined whether the grid is affected by the negative touch effect. If the grid sensing value is less than the effective touch standard value and the touch grid has grids greater than the standard value in both the vertical and horizontal directions, the touch grid is considered to be affected by the negative touch effect. For example, the grid with -153 in Figure 5 corresponds to the negative touch effect. If the determination result is yes, continue to step S208.

在步骤S208中,以下式计算取得的值取代该触控格的目前值:In step S208, the current value of the touch grid is replaced with the value calculated by the following formula:

Ccal=C+(|C|-|Noffset|)/RC cal =C+(|C|-|N offset |)/R

其中,Ccal:负效应计算值,C:格值,Noffset:负触效应偏移,R:比例值。Among them, C cal : negative effect calculation value, C: grid value, N offset : negative touch effect offset, R: scale value.

因此,-153的格的值经过处理后会变成-153+(|-153|-|90|)/2≈-132。如此,在进行防水模式条件判断之前,受负触效应影响的格不会被误判为受污染点,进一步增加判断准确度。Therefore, the value of the -153 grid will become -153+(|-153|-|90|)/2≈-132 after processing. In this way, before the waterproof mode condition is judged, grids affected by the negative touch effect will not be mistakenly judged as contaminated points, further increasing the judgment accuracy.

根据本发明的实施例,上述追踪及负触效应处理后的感应数值会提供给模式判断处理及/或各模式处理使用。According to an embodiment of the present invention, the sensing values after the above tracking and negative touch effect processing will be provided to the mode judgment processing and/or each mode processing.

接着,说明根据本发明的实施例的模式判断及相关的模式处理。首先,说明根据本发明的实施例的“防水模式”判断及处理作业。防水模式是指在有水存在于触控面板时的情形。Next, mode determination and related mode processing according to embodiments of the present invention are described. First, the "waterproof mode" determination and processing operations according to the embodiment of the present invention will be described. Waterproof mode refers to the situation when water exists on the touch panel.

图6是流程图,用于说明“防水模式”判断及处理作业300。在步骤S302中,根据经过追踪及负触效应处理后的触控面板感应数值,先判断是否触控面板上有水存在,以决定是否要维持在正常模式或是进入防水模式或者要从防水模式切换到正常模式,倘若判断触控面板上有水存在就会进入防水模式,反之则维持在正常模式或者从防水模式切换到正常模式。举例而言,如果符合下述五个条件,就会被判定为有水存在而进入防水模式中操作:1.触控面板所有格感测值中最大的值大于上防水阈值,例如200,或者最小的值小于下防水阈值,例如-200;2.(最大的格感测值)-(最小的格感测值)>预定值,例如300;3.所有格感测值中个别格的感测值大于上防水阈值(例如200)的总格数多于上防水格数(例如>4格)以及小于下阈值(例如-180)的总格数多于下防水格数(例如>8格);4.所有格感应数值中小于下阈值(例如-180)的各触控格感应数值的绝对值减掉防水偏移值(例如200)的总和大于预定值(例如>420)。举例而言,如图2B中较大粗框中标示的四个格感应数值总和为(|-259|+|-370|+|-226|)>420;5.至少连续两次扫描所有格感应数值,同时符合以上条件1至4。值得注意的是,较佳地,上述各阈值、偏移值或预定值可以视触控面板的尺寸、格子数量等等特性而定。如果符合上述五条件,即符合有水的条件,则继续前进至步骤S304以进入防水模式操作。FIG. 6 is a flow chart illustrating the "waterproof mode" determination and processing operation 300. In step S302, based on the touch panel sensing value after tracking and negative touch effect processing, it is first determined whether there is water on the touch panel to determine whether to maintain the normal mode, enter the waterproof mode, or switch from the waterproof mode. Switch to normal mode. If it is determined that there is water on the touch panel, it will enter waterproof mode. Otherwise, it will remain in normal mode or switch from waterproof mode to normal mode. For example, if the following five conditions are met, it will be judged as the presence of water and enter the waterproof mode: 1. The largest value among the possessive sensing values of the touch panel is greater than the upper waterproof threshold, such as 200, or The minimum value is less than the lower waterproof threshold, for example -200; 2. (Maximum cell sensing value) - (Minimum cell sensing value) > predetermined value, such as 300; 3. The sensitivity of individual cells in the possessive cell sensing value The total number of cells with measured values greater than the upper waterproof threshold (for example, 200) is greater than the number of upper waterproof cells (for example, >4 cells), and the total number of cells with measured values less than the lower threshold (for example, -180) is more than the number of lower waterproof cells (for example, >8 cells). ); 4. The sum of the absolute value of each touch grid sensing value minus the waterproof offset value (for example, 200) among the possessive grid sensing values that is less than the lower threshold (for example, -180) is greater than the predetermined value (for example, >420). For example, the sum of the induction values of the four cells marked in the larger bold box in Figure 2B is (|-259|+|-370|+|-226|)>420; 5. Scan all cells at least twice in a row Sensing value, meeting the above conditions 1 to 4 at the same time. It is worth noting that preferably, each of the above thresholds, offset values or predetermined values may depend on the size, number of grids and other characteristics of the touch panel. If the above five conditions are met, that is, the water condition is met, continue to step S304 to enter the waterproof mode operation.

在步骤S304中,设定比正常模式更高的有效触控标准值。举例而言,在正常模式操作时,有效触控标准值设为400,但防水模式中,有效触控标准值设为600。此外,根据本发明的实施例,为了准确判别触控面板边缘及角落积水的情形,以降低误判,会将触控面板边缘及角落的触控格的有效触控标准值设定成与其它触控格不同。举例而言,在其它触控格的有效触控标准值设定为600时,将触控面板的边缘的触控格的有效触控标准值降低,例如降为550,而在角落的触控格的有效触控标准值进一步提高,例如700。如此,可以避免误报有效触控点。然后,继续进行至步骤S306。In step S304, an effective touch standard value higher than that in the normal mode is set. For example, in normal mode operation, the effective touch standard value is set to 400, but in waterproof mode, the effective touch standard value is set to 600. In addition, according to embodiments of the present invention, in order to accurately determine the situation of water accumulation at the edges and corners of the touch panel and reduce misjudgments, the effective touch standard values of the touch grids at the edges and corners of the touch panel are set to be equal to Other touch grids are different. For example, when the effective touch standard value of other touch grids is set to 600, the effective touch standard value of the touch grid on the edge of the touch panel is lowered, for example, to 550, and the touch standard value of the touch grid in the corner is set to 600. The effective touch standard value of the grid is further increased, for example, 700. In this way, false positives of valid touch points can be avoided. Then, proceed to step S306.

在步骤S306中,根据可能的被触控格及其周围相邻格的感应数值与有效触控标准及多个预设阈值的比较,判断该触控格是否被有效触控。举例而言,判断可能被触控格的感测值是否大于有效触控标准值(例如600)以及是否大于或等于所有相邻的格(上、下、左及右)的感应数值。此处,周围相邻格是指该触控格垂直及水平方向相接邻的格,举例而言,最上列及下列的格只有3个相邻格,中央的格会有4个相邻的格等等。接着,判断该触控格的相邻格的值是否都大于0、上下相邻格的总和是否大于第一预定阈值(例如600)、左右相邻格的值的总和是否大于第二预定阈值(例如600)或上下左右总和大于第三预定阈值(例如900)。如果符合,则该触控格会被判定为被有效触控,而被判定为被有效触控后,才会将触控结果输出。举例而言,如图2B所示,较小粗框标示的感应数值为603的格虽然大于有效触控标准值,但是其右邻的值为-193,并不符合邻居都要大于0的条件,因而不会被判定为有效触控。须了解,上述用于判断的标准值或相关阈值仅为举例说明,它们可以视列与行的间距等等条件而不同。举例而言,可能依据大量的测量数据而决定相关阈值。In step S306, it is determined whether the touch grid is effectively touched based on the comparison of the sensing values of the possible touched grid and its surrounding neighboring grids with valid touch standards and multiple preset thresholds. For example, it is determined whether the sensing value of the potentially touched cell is greater than the effective touch standard value (for example, 600) and whether it is greater than or equal to the sensing values of all adjacent cells (up, down, left, and right). Here, the surrounding adjacent cells refer to the vertically and horizontally adjacent cells of the touch cell. For example, the cells in the top row and below have only 3 adjacent cells, and the center cell has 4 adjacent cells. grid and so on. Next, it is determined whether the values of the adjacent cells of the touch cell are all greater than 0, whether the sum of the upper and lower adjacent cells is greater than a first predetermined threshold (for example, 600), and whether the sum of the values of the left and right adjacent cells is greater than a second predetermined threshold (for example, 600). For example, 600) or the sum of the up, down, left, and right is greater than the third predetermined threshold (for example, 900). If it matches, the touch grid will be determined to be effectively touched, and the touch result will not be output until it is determined to be effectively touched. For example, as shown in Figure 2B, although the cell with a sensing value of 603 marked by a smaller thick frame is greater than the effective touch standard value, the value of its right neighbor is -193, which does not meet the condition that all neighbors are greater than 0. , so it will not be judged as a valid touch. It should be understood that the above-mentioned standard values or related thresholds used for judgment are only examples, and they may differ depending on conditions such as the spacing between columns and rows. For example, the relevant threshold may be determined based on a large amount of measurement data.

此外,在判断有效触控点存在时,当两指触控点距离在6格内时,仅留下感应量较大的触控点,将另一点忽略。再者,为了避免触控对象在接触触控面板后,触控面板上的水被触控对象拨开造成步骤S302在判定是否有水存在时的误判,而从防水模式切换到正常模式,在步骤S302判定为无水存在并准备从防水模式切换到正常模式之前,会就是否要离开防水模式先进行判断(S308),当进行步骤S302之前已处于防水模式时,在判定触控对象造成触控事件后,如果该触控对象离开该触控面板后一段预定时间内,则还是会强制停留在该防水模式中操作,或者假使目前感应数值与先前感应数值的差值大于预定值的触控格的总数大于一预定格数时,则仍会留在防水模式一段预定时间但不执行有效触控判断。换言之,倘若符合步骤S302判定为无水存在的条件时,则会再就以下2项进行判断:1.判断在进入步骤S302之前是否处于防水模式;2.目前感应数值与先前感应数值的差值大于预定值的触控格的总数是否大于一预定格数。符合前述2项其中任一项时,即便步骤S302判定为无水状态,仍然会维持在防水模式一段预定时间,而不直接切换到正常模式,并接着进行步骤S304。反之,则离开防水模式并直接切换到正常模式,并接着进行步骤S306。In addition, when determining the existence of valid touch points, when the distance between the two finger touch points is within 6 grids, only the touch point with a large sensing amount is left, and the other point is ignored. Furthermore, in order to avoid the water on the touch panel being pushed away by the touch object after the touch object touches the touch panel, causing a misjudgment in determining whether there is water in step S302, and switching from the waterproof mode to the normal mode, Before step S302 determines that there is no water and prepares to switch from the waterproof mode to the normal mode, it will first be judged whether to leave the waterproof mode (S308). When it is already in the waterproof mode before step S302, it is judged that the touch object causes After a touch event, if the touch object leaves the touch panel for a predetermined period of time, it will still be forced to stay in the waterproof mode, or if the difference between the current sensing value and the previous sensing value is greater than the predetermined value. When the total number of control grids is greater than a predetermined number of grids, it will still remain in the waterproof mode for a predetermined period of time but will not perform effective touch judgment. In other words, if the conditions for determining that there is no water in step S302 are met, the following two items will be determined: 1. Determining whether it is in waterproof mode before entering step S302; 2. The difference between the current sensing value and the previous sensing value Whether the total number of touch cells greater than the predetermined value is greater than a predetermined number of cells. When any one of the above two items is met, even if it is determined to be an anhydrous state in step S302, the waterproof mode will still be maintained for a predetermined period of time without directly switching to the normal mode, and step S304 will then be performed. Otherwise, leave the waterproof mode and directly switch to the normal mode, and then proceed to step S306.

在步骤S308中,判断是否要离开防水模式。在此步骤中的判断条件会比判断进入防水模式的条件更加严苛,以避免在边界条件情况时,在两个不同模式之间频繁切换。举例而言,假定触控垫在完全无水的情况下,值为0时,而在很多水而无法操作的情况下值为100时,判断进入防水模式的某阈值设定为80,则离开防水模式的某阈值会设定为60,当进入防水模式后,值在60与80之间时,仍然维持在防水模式操作。In step S308, it is determined whether to leave the waterproof mode. The judgment conditions in this step will be more stringent than the conditions for judging entering waterproof mode to avoid frequent switching between two different modes in boundary conditions. For example, assuming that the touch pad has a value of 0 when there is no water at all, and a value of 100 when there is a lot of water and cannot be operated, a certain threshold for judging whether to enter waterproof mode is set to 80, and then leave. A certain threshold in waterproof mode is set to 60. After entering waterproof mode, when the value is between 60 and 80, it will still operate in waterproof mode.

此外,当判定手指触控后手指抬起时,会留在防水模式中至少一段时间,例如0.5秒,且仍然执行有效触控点辨识处理。或者,在感应数值与先前的感应数值的差值大于预定变化值的总格数大于例如相当于拇指宽度的预定格数时,例如2格,则仍留在防水模式中至少一段时间,例如0.5秒,但不作任何有效触控点辨识处理。In addition, when the finger is lifted after being determined to be touched, it will remain in the waterproof mode for at least a period of time, such as 0.5 seconds, and still perform effective touch point identification processing. Alternatively, when the difference between the sensing value and the previous sensing value is greater than the predetermined change value and the total number of divisions is greater than, for example, the predetermined number of divisions equivalent to the width of the thumb, such as 2 divisions, then the system remains in the waterproof mode for at least a period of time, such as 0.5 seconds, but no valid touch point recognition processing is performed.

在步骤S308中判定离开防水模式时会回至正常模式,否则,回至步骤S306。When it is determined in step S308 that the waterproof mode is left, it will return to the normal mode; otherwise, it will return to step S306.

以本实施例来说,针对步骤S308中判定是否要离开防水模式回到正常模式,有以下五个条件,符合条件就会判定为要离开防水模式回到正常模式:1.触控面板所有格感测值中最大的值大于上防水阈值,例如150,或者最小的值小于下防水阈值,例如-150;2.(最大的格感测值)-(最小的格感测值)>预定值,例如210;3.所有格感测值中个别格的感测值大于上防水阈值(例如150)的总格数多于上防水格数(例如>3格)以及小于下阈值(例如-150)的总格数多于下防水格数(例如>6格);4.所有格感应数值中小于下阈值(例如-150)的各触控格感应数值的绝对值减掉防水偏移值(例如150)的总和大于预定值(例如>420)。举例而言,如图2B中较大粗框中标示的四个格感应数值总和为(|-259|+|-370|+|-226|)>420;5.至少连续两次扫描所有格感应数值,同时符合以上条件1至4。值得注意的是,较佳地,上述各阈值、偏移值或预定值可以视触控面板的尺寸、格子数量等等特性而定。如果符合上述五条件,即符合要离开防水模式回到正常模式的条件,则进入正常模式操作。In this embodiment, for determining whether to leave the waterproof mode and return to the normal mode in step S308, there are the following five conditions. If the conditions are met, it will be determined to leave the waterproof mode and return to the normal mode: 1. Touch panel possessive case The largest value among the sensing values is greater than the upper waterproof threshold, such as 150, or the smallest value is less than the lower waterproof threshold, such as -150; 2. (Maximum grid sensing value) - (Minimum grid sensing value) > predetermined value , such as 210; 3. The total number of cells where the sensing value of individual cells in the possessive sensing value is greater than the upper waterproof threshold (for example, 150) is more than the number of upper waterproof cells (for example, >3 cells) and is smaller than the lower threshold (for example, -150 ) is more than the number of lower waterproof cells (for example, >6 cells); 4. The absolute value of the sensing value of each touch cell in all cells that is less than the lower threshold (for example, -150) minus the waterproof offset value ( The sum of (e.g. 150) is greater than a predetermined value (e.g. >420). For example, the sum of the induction values of the four cells marked in the larger bold box in Figure 2B is (|-259|+|-370|+|-226|)>420; 5. Scan all cells at least twice consecutively Sensing value, meeting the above conditions 1 to 4 at the same time. It is worth noting that preferably, each of the above thresholds, offset values or predetermined values may depend on the size, number of grids and other characteristics of the touch panel. If the above five conditions are met, that is, the conditions for leaving the waterproof mode and returning to the normal mode are met, then the normal mode operation will be entered.

如上所述,触控面板的操作模式主要有正常模式及防水模式两种模式。防水模式指有水存在于触控面板时的操作模式,此一种模式以外的操作模式即为正常模式。依照本发明,只要有少量的水存在于触控面板时,就会进入防水模式。虽然屏幕整个浸在水中时,亦可广义视为有水存在于触控面板上,但若细究,两者还是有所差异。更明确的说,当只有少量的水存在于触控面板时,可根据其与周围相邻格的感应数值与有效触控标准及多个预设阈值的比较来判断其为水渍或是被有效触控。然而,当屏幕整个浸在水中时,屏幕上所有的触控格就会处于一种有水的状态,使得整体的感应数值都会提高,在这样的状态下,即使手指触控屏幕,其感应数值增加的变化量就会相对的变得小,很难清楚的判断与察觉。因此,本发明针对屏幕整个浸在水中的状态另外设定了一水中模式。不同于少量的水存在于触控面板时,水渍或手指所接触的触控格的感应数值会因施压而明显增加,当屏幕整个浸在水中时,由于屏幕上所有的触控格都处于一种有水的状态,手指在触控面板上滑动时会将触控面板上的水拨开,反而会造成所接触的触控格的感应数值下降,因而可藉以判断是否为有效触控。As mentioned above, the operation modes of the touch panel mainly include normal mode and waterproof mode. The waterproof mode refers to the operating mode when water exists on the touch panel. The operating modes other than this mode are the normal modes. According to the present invention, as long as a small amount of water exists on the touch panel, it will enter the waterproof mode. Although when the entire screen is immersed in water, it can also be broadly regarded as the presence of water on the touch panel, but if you look closely, there are still differences between the two. To be more clear, when only a small amount of water exists on the touch panel, it can be judged to be water stains or damaged based on the comparison between the sensing value of the surrounding adjacent cells and the effective touch standards and multiple preset thresholds. Effective touch. However, when the screen is completely immersed in water, all the touch grids on the screen will be in a state of water, causing the overall sensing value to increase. In this state, even if a finger touches the screen, its sensing value The increased amount of change will become relatively small, making it difficult to clearly judge and detect. Therefore, the present invention sets an additional underwater mode for the state where the screen is completely immersed in water. Unlike when a small amount of water exists on the touch panel, the sensing value of the touch grid touched by water stains or fingers will increase significantly due to the pressure. When the screen is completely immersed in water, because all the touch grids on the screen are In a state where there is water, when your finger slides on the touch panel, the water on the touch panel will be pushed away, which will cause the sensing value of the touched touch grid to decrease, so it can be used to determine whether it is a valid touch. .

水中模式可通过一水中开关来进行设定或者依据下述条件来判定是否要进入水中模式:触控格的感应数值在一短时间内增加的变化量大于一有效触控标准值且该触控格的感应数值在一预设时间(例如0.5秒)内维持稳定。在判定进入水中模式后,系统会建立一水中基准值,再依照触控格的感应数值取绝对值或取负值进行一触控判断。The underwater mode can be set through an underwater switch or whether to enter the underwater mode is determined based on the following conditions: the change in the sensing value of the touch grid in a short period of time is greater than an effective touch standard value and the touch The sensor value of the grid remains stable within a preset time (for example, 0.5 seconds). After determining that the water mode has been entered, the system will establish a water reference value, and then perform a touch judgment based on the absolute value or negative value of the sensing value of the touch grid.

由于屏幕上所有的触控格在屏幕整个浸在水中时,其感应数值会整体提高,因此,在判定进入水中模式后,为了有效判定手指的触控,触控格的感应数值可以设定再放大或者在进行触控判断时再另外设定一放宽判断标准。而放宽判断标准的方法包含:将一水中模式有效触控标准值设定成小于一正常模式中的一正常模式有效触控标准值,或者根据感测值大于该水中模式有效触控标准值的该触控格的上、下、左及右邻接该触控格的感应数值设定周围判断条件的标准值降低,判断该触控格是否被有效触控。Since the sensing values of all the touch grids on the screen will increase as a whole when the screen is immersed in water, in order to effectively determine the finger touch after entering the underwater mode, the sensing values of the touch grids can be set again. Zoom in or set an additional relaxed judgment standard when performing touch judgment. The method of relaxing the judgment standard includes: setting the effective touch standard value of an underwater mode to be smaller than a normal mode effective touch standard value in a normal mode, or based on the sensed value being greater than the effective touch standard value of the underwater mode. The upper, lower, left and right sensing values of the touch grid adjacent to the touch grid set the standard value of the surrounding judgment conditions to decrease to determine whether the touch grid is effectively touched.

在判定进入水中模式后,可再依据下述判断离开水中模式并回到防水模式或正常模式:触控格的感应数值在一短时间内减少的总变化量大于一水中判定值,并且触控格的感应数值在一预设时间内的总变化量都小于一稳定预设值。After it is determined that it has entered the underwater mode, you can leave the underwater mode and return to the waterproof mode or normal mode according to the following judgment: the total change in the sensing value of the touch grid decreased in a short period of time is greater than the underwater judgment value, and the touch The total change amount of the grid's sensing value within a preset time is less than a stable preset value.

相较于现有技术,根据本发明,可以显著地降低误判的情形,大幅提供有效触控的准确度。有相当大的水量存在时,现有技术的防水模式经常误判或者是无法执行,但是,根据本发明的防水模式仍然能正确判别有效触控。Compared with the existing technology, according to the present invention, the situation of misjudgment can be significantly reduced and the accuracy of effective touch control can be greatly improved. When there is a considerable amount of water, the waterproof mode of the prior art often misjudges or cannot be executed. However, the waterproof mode according to the present invention can still correctly determine the effective touch.

图7为方块图,显示根据一实施例的计算设备500。如图所示,计算设备500包含触控面板502、控制器504、中央处理单元506。触控面板502用于显示及允许使用者以触控方式操作。控制器506可从触控面板取得输入信号,并可以根据输入信号,与中央处理单元508协力执行根据本发明的上述多种模式中的至少之一。计算设备500能够执行根据本发明的防水模式处理,具有高的触控点准确率。Figure 7 is a block diagram showing a computing device 500 according to one embodiment. As shown in the figure, the computing device 500 includes a touch panel 502, a controller 504, and a central processing unit 506. The touch panel 502 is used for display and allowing the user to perform touch operations. The controller 506 can obtain an input signal from the touch panel, and can cooperate with the central processing unit 508 to execute at least one of the above-mentioned multiple modes according to the present invention according to the input signal. The computing device 500 is capable of performing waterproof mode processing according to the present invention with high touch point accuracy.

虽然已于上述中说明本发明的较佳实施例,但是,这些仅为说明之用且不应被解释为限定本发明的范围,在不悖离本发明的精神之下,习于此技艺者可以执行很多修改,权利要求涵盖所有这些落在发明的范围及精神之内的修改。Although the preferred embodiments of the present invention have been described above, these are for illustrative purposes only and should not be construed as limiting the scope of the present invention. Without departing from the spirit of the present invention, those skilled in the art may Many modifications may be made, and the claims cover all such modifications as fall within the scope and spirit of the invention.

Claims (19)

1. A multi-mode operation method for a capacitive touch panel is characterized in that the panel is provided with a plurality of touch cells, an induction value of the plurality of touch cells is obtained in a mutual capacitance scanning mode, the operation mode of the touch panel comprises a normal mode and a waterproof mode, and the touch panel is determined to enter the waterproof mode according to one of the following judging waterproof conditions:
(1) The maximum value of the sensing values of the plurality of touch cells is larger than an upper threshold value, and the minimum value of the sensing values of the plurality of touch cells is smaller than a lower threshold value;
(2) The maximum value minus the minimum value in the sensing values of the plurality of touch cells is larger than a first preset value;
(3) The total number of the sensing values of the plurality of touch control grids, which is larger than the upper threshold value, is larger than an upper waterproof grid number, and the total number of the sensing values, which is smaller than the lower threshold value, is larger than a lower waterproof grid number; and
(4) The absolute value sum of all the sensing values smaller than the lower threshold is larger than a second preset value;
and (3) if two or more of the conditions (1) to (4) are met, judging that the waterproof mode is entered.
2. The multi-mode operation method for a capacitive touch panel according to claim 1, wherein the waterproof mode is entered when the plurality of sensing values are judged to be in accordance with the conditions described in (1) to (4) of claim 1 twice or more.
3. The method of claim 1, wherein the sensing values are processed as follows before performing the determining:
when the panel is initially, the sensing value of each touch cell mutual capacitance scanning is obtained as a reference value of each touch cell; and
And then obtaining the sensing value of each touch cell mutual capacity scanning every time, deducting the sensing value from the reference value of each touch cell, and then executing the waterproof judgment condition.
4. The method of claim 1, wherein the plurality of sensing values are corrected before the determination is performed, and when the sensing value of the touch cell has a sensing value smaller than 0, and the sensing value of any one of the other touch cells in the vertical direction and the horizontal direction of the touch cell is larger than an effective touch standard value, and the sensing value of any one of the other touch cells in the horizontal direction of the touch cell is larger than the effective touch standard value, a calculated value is obtained according to the sensing value of the touch cell and the absolute value of the touch cell to be used as the sensing value of the touch cell.
5. The method of claim 1, wherein the values of the upper threshold, the lower threshold, the first predetermined value, the upper number of waterproof cases, the lower number of waterproof cases, or the second predetermined value in the waterproof condition are increased with the number of touch events if a touch event is detected.
6. The method of claim 2, wherein the upper threshold, the lower threshold, the first predetermined value, the upper number of waterproof cases, the lower number of waterproof cases, the second predetermined value, or the number of judgment times in the judgment waterproof condition increases with the number of touch events if a touch event is detected.
7. The method of claim 1, wherein after entering the waterproof mode, a judging anhydrous condition is included, wherein the judging anhydrous condition is the same as the standard of the judging waterproof condition, or the upper threshold, the lower threshold, the first predetermined value, the upper waterproof number, the lower waterproof number or the second predetermined value is reduced to form a buffering effect.
8. The method according to claim 1, wherein in the waterproof mode, after a touch event is determined by a touch object, the touch object is forcedly left in the waterproof mode for a predetermined time after leaving the touch panel, or when the total number of touch cells having a difference between a current sensing value and a previous sensing value greater than a predetermined value is greater than a predetermined number of cells, the touch object is left in the waterproof mode for a predetermined time without performing effective touch judgment.
9. The method of claim 1, wherein in the waterproof mode, if there is a change in the sensing amount for an area not determined to be touched, the change is regarded as a change caused by water, and a waterproof reference value is established accordingly, and after the sensing value of each touch cell is subtracted from the waterproof reference value, a touch effect is determined.
10. The method of claim 9, wherein in the waterproof mode, a waterproof mode effective touch standard value is set to be greater than a normal mode effective touch standard value in the normal mode, and a surrounding judgment condition is set according to sensing values of upper, lower, left and right adjacent touch cells of the touch cell whose sensing value is greater than the waterproof mode effective touch standard value, so as to judge whether the touch cell is effectively touched.
11. The method of claim 10, wherein in the waterproof mode, when the touch event is not determined to occur, the effective touch standard value of the waterproof mode is increased, or the standard of the surrounding determination condition is increased, and after the touch event occurs, the original effective touch standard value of the waterproof mode is returned, or the original standard of the surrounding determination condition is returned.
12. The method of claim 10, wherein in the waterproof mode, when a difference between a total number of the sensing values of the plurality of touch cells greater than an upper threshold and a positive area cell number is greater than an area change cell number or a difference between a total number of the sensing values of the plurality of touch cells less than a lower threshold and a negative area cell number is greater than an area change cell number, the waterproof mode effective touch standard value is increased or the surrounding judgment condition standard is increased.
13. The method of claim 9, wherein in the waterproof mode, when it is determined that a touch event occurs, a protection range is set around a touch coordinate, and the protection range is used to enhance a stabilization process, improve a reporting standard, or force a definition that no new touch event occurs.
14. The multi-mode operation method for capacitive touch panel according to claim 10, wherein in the waterproof mode, an effective touch standard value of a touch cell at an edge of the touch panel is set smaller than the waterproof mode effective touch standard value, or an effective touch standard value of the touch cell at a corner of the touch panel is set larger than the waterproof mode effective touch standard value, and whether the touch cell is effectively touched is judged according to an induction value of the touch cell with a sensing value larger than the waterproof mode effective touch standard value, wherein the upper, lower, left and right adjacent to the touch cell; or the filtering or stabilizing treatment is enhanced aiming at the sensing numerical value of each touch cell, so that the stability of the touch effect is improved.
15. The method of claim 1, wherein the operation modes of the touch panel include the normal mode and an underwater operation mode, and the underwater operation mode is entered by a underwater switch setting or according to a determination underwater condition as follows:
the change amount of the sensing values of the plurality of touch cells in a short time is larger than an effective touch standard value, and the sensing values of the plurality of touch cells in a preset time are stable;
in addition, after the underwater operation mode is judged, an underwater reference value is established, and the sensing values of the plurality of touch control grids take absolute values or take negative values to carry out touch control judgment.
16. The method of claim 15, wherein the entering into the underwater operation mode is determined according to the underwater switch setting or the underwater condition determination in the waterproof mode.
17. The method according to claim 15 or 16, wherein after determining that the in-water operation mode is entered, the sensing values of the plurality of touch cells are further amplified or the determination criteria are relaxed when performing touch determination, wherein the method of relaxing the determination criteria includes setting an in-water mode valid touch criterion value to be smaller than a normal mode valid touch criterion value in the normal mode, or setting a decrease in the criterion value of surrounding determination conditions according to the sensing values of the touch cells adjacent to the up, down, left and right of the in-water mode valid touch criterion value to determine whether the touch cell is valid.
18. The multi-mode operation method for a capacitive touch panel according to claim 15 or 16, wherein after determining to enter the in-water operation mode, the out-of-water operation mode is additionally determined according to the following determination out-of-water conditions, and returns to the waterproof mode or the normal mode:
the total variation of the sensing values of the plurality of touch cells in a short time is larger than a water judgment value, and the total variation of the sensing values of the plurality of touch cells in a preset time is smaller than a stable preset value.
19. A computing device, comprising:
a central processing unit;
a touch panel for displaying and allowing a user to operate in a touch manner;
the controller is communicated with the touch panel and the central processing unit or has the function of judging a touch effect according to a touch sensing value;
wherein the central processing unit and the controller operate cooperatively to perform the method of claim 1.
CN202010071069.9A 2020-01-21 2020-01-21 Multi-mode operation method of capacitive touch panel Active CN113220168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010071069.9A CN113220168B (en) 2020-01-21 2020-01-21 Multi-mode operation method of capacitive touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010071069.9A CN113220168B (en) 2020-01-21 2020-01-21 Multi-mode operation method of capacitive touch panel

Publications (2)

Publication Number Publication Date
CN113220168A CN113220168A (en) 2021-08-06
CN113220168B true CN113220168B (en) 2024-02-09

Family

ID=77085454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010071069.9A Active CN113220168B (en) 2020-01-21 2020-01-21 Multi-mode operation method of capacitive touch panel

Country Status (1)

Country Link
CN (1) CN113220168B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681742A (en) * 2012-05-26 2012-09-19 汕头超声显示器(二厂)有限公司 Touch signal detection method for capacitive touch screen
CN103197787A (en) * 2012-01-09 2013-07-10 义隆电子股份有限公司 Noise elimination method of touch panel
CN104142768A (en) * 2013-05-10 2014-11-12 株式会社东海理化电机制作所 Touch type input device and method for detecting touch of touch panel
CN104238842A (en) * 2013-06-11 2014-12-24 义隆电子股份有限公司 Method for identifying non-common-ground object
CN104657009A (en) * 2013-11-20 2015-05-27 义隆电子股份有限公司 touch device and data processing method thereof
CN105122195A (en) * 2013-11-25 2015-12-02 华为终端有限公司 Information processing method and electronic device
CN106062688A (en) * 2014-01-16 2016-10-26 三星电子株式会社 Method and apparatus for processing input using touch screen
CN109614016A (en) * 2019-01-11 2019-04-12 中国联合网络通信集团有限公司 Touch recognition method, device and electronic device for capacitive touch screen

Family Cites Families (3)

* 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
US9310934B2 (en) * 2014-02-21 2016-04-12 Qualcomm Incorporated Systems and methods of moisture detection and false touch rejection on touch screen devices
US10437384B2 (en) * 2015-03-13 2019-10-08 Parade Technologies, Ltd. Water detection and wipe detection algorithms for touchscreen proximity sensing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197787A (en) * 2012-01-09 2013-07-10 义隆电子股份有限公司 Noise elimination method of touch panel
CN102681742A (en) * 2012-05-26 2012-09-19 汕头超声显示器(二厂)有限公司 Touch signal detection method for capacitive touch screen
CN104142768A (en) * 2013-05-10 2014-11-12 株式会社东海理化电机制作所 Touch type input device and method for detecting touch of touch panel
CN104238842A (en) * 2013-06-11 2014-12-24 义隆电子股份有限公司 Method for identifying non-common-ground object
CN104657009A (en) * 2013-11-20 2015-05-27 义隆电子股份有限公司 touch device and data processing method thereof
CN105122195A (en) * 2013-11-25 2015-12-02 华为终端有限公司 Information processing method and electronic device
CN106062688A (en) * 2014-01-16 2016-10-26 三星电子株式会社 Method and apparatus for processing input using touch screen
CN109614016A (en) * 2019-01-11 2019-04-12 中国联合网络通信集团有限公司 Touch recognition method, device and electronic device for capacitive touch screen

Also Published As

Publication number Publication date
CN113220168A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US8982097B1 (en) Water rejection and wet finger tracking algorithms for truetouch panels and self capacitance touch sensors
JP5520336B2 (en) Device for detecting edge grip of touch panel and method for detecting edge grip of touch panel
KR101352319B1 (en) Detecting Method And Device of Touch Position, And Flat Panel Display Using It
US9041684B2 (en) Senseline data adjustment method, circuit, and system to reduce the detection of false touches in a touch screen
US8866778B2 (en) Method of detecting floating mode of a touch panel
AU2015202763B2 (en) Glove touch detection
US8624861B2 (en) Method for determining touch point
US10824270B1 (en) Multi-mode operation method for capacitive touch panel
WO2024093978A1 (en) Touch-control object identification method, touch-control device and storage medium
CN102945109A (en) Method for detecting touch area of mutual capacitance screen
US9632612B2 (en) Circuits, systems, and methods for processing the proximity of large objects, including large objects on touch screens
JP5712339B1 (en) Input device, input method, and program
US20200218425A1 (en) Touch positioning method and apparatus, and electronic device
CN107807747B (en) Touch system and touch detection method thereof
KR102013592B1 (en) Touch sensing system and touch sensing method
TWI724628B (en) Multi-mode operation method for capacitive touch panel
CN113220168B (en) Multi-mode operation method of capacitive touch panel
TWI718886B (en) Multi-mode operation method for capacitive touch panel
KR20110072619A (en) Touch detection method
CN101430627B (en) Touch detection method of photosensitive touch panel and touch electronic device using same
CN113377224B (en) Multi-mode operating method and computing device for capacitive touch panel
TWI716213B (en) Touch detection method, touch device and information processing device
US10599257B2 (en) Touch screen device having improved floating mode entry conditions
US12293036B2 (en) Waterproof-state recognition and processing method and device applicable to capacitive touch screen
WO2017185467A1 (en) Method and apparatus for moving touch control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250402

Address after: No. 180, Section 2, Gongdao 5th Road, East District, Hsinchu, Taiwan, China, China

Patentee after: SILICON INTEGRATED SYSTEMS Corp.

Country or region after: TaiWan, China

Address before: Taipei City, Taiwan, China

Patentee before: HYCON TECHNOLOGY Inc.

Country or region before: TaiWan, China

TR01 Transfer of patent right