CN109284017B - Method and device for determining whether a line segment corresponds to a stylus tip or a conductive object - Google Patents
Method and device for determining whether a line segment corresponds to a stylus tip or a conductive object Download PDFInfo
- Publication number
- CN109284017B CN109284017B CN201810961140.3A CN201810961140A CN109284017B CN 109284017 B CN109284017 B CN 109284017B CN 201810961140 A CN201810961140 A CN 201810961140A CN 109284017 B CN109284017 B CN 109284017B
- Authority
- CN
- China
- Prior art keywords
- line segment
- slope
- length
- palm
- threshold
- 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
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本申请是申请号为201410737946.6的名称为“判断错误近接事件的方法与装置”的发明专利申请的分案申请,原申请的申请日是2014年12月05日。This application is a divisional application for an invention patent application with application number 201410737946.6 entitled "Method and Apparatus for Judging Error Proximity Events". The application date of the original application is December 5, 2014.
技术领域technical field
本发明是关于侦测触控荧幕上的近接事件,特别是关于判断出由于鬼点或水渍所造成的错误近接事件。The present invention relates to detecting proximity events on a touch screen, especially to judging false proximity events caused by ghost spots or water stains.
背景技术Background technique
侦测在触控荧幕上所发生的近接事件时,可能会侦测到由于鬼点或水渍所产生的错误近接事件。这些错误产生的近接事件可能会造成用户下达错误的指令,而造成不可挽回的结果。因此,亟需一种能够判断错误近接事件的方法与装置,以避免造成上述的后果。When detecting proximity events that occur on a touch screen, false proximity events due to ghost spots or water spots may be detected. Proximity events generated by these errors may cause the user to issue incorrect instructions with irreversible results. Therefore, there is an urgent need for a method and an apparatus capable of judging an erroneous approach event to avoid the above-mentioned consequences.
有鉴于上述现有的判断错误近接事件的方法与装置存在的缺陷,本发明人基于从事此类产品设计制造多年丰富的实务经验及专业知识,并配合学理的运用,积极加以研究创新,以期创设一种新的判断错误近接事件的方法与装置,能够改进一般现有的判断错误近接事件的方法与装置,使其更具有实用性。经过不断的研究、设计,并经过反复试作样品及改进后,终于创设出确具实用价值的本发明。In view of the defects of the above-mentioned existing methods and devices for judging errors and approaching events, the inventor of the present invention actively conducts research and innovation based on years of rich practical experience and professional knowledge in the design and manufacture of such products, and cooperates with the application of theories, in order to create A new method and device for judging an erroneous proximity event can improve the general existing method and device for judging an erroneous proximity event, making it more practical. After continuous research, design, and repeated trial production of samples and improvements, the invention with practical value was finally created.
发明内容SUMMARY OF THE INVENTION
本发明的主要目的在于,克服现有的判断错误近接事件的方法存在的缺陷,而提供一种新的判断错误近接事件的方法,所要解决的技术问题是使其取得线段范围相应的一个或多个触控信号值;计算每一个该触控信号值与基准值的差值的总和;以及当该总和小于或等于零时,认为该线段范围相应到错误的近接事件,非常适于实用。The main purpose of the present invention is to overcome the defects existing in the existing method for judging error proximity events, and provide a new method for judging error proximity events. The technical problem to be solved is to make it obtain one or more corresponding line segment ranges. touch signal value; calculate the sum of the difference between each touch signal value and the reference value; and when the sum is less than or equal to zero, it is considered that the line segment range corresponds to an erroneous proximity event, which is very suitable for practical use.
本发明的另一目的在于,提供一种新型的判断错误近接事件的装置,所要解决的技术问题是使其用于执行上述的步骤,从而更加适于实用。Another object of the present invention is to provide a novel device for judging an erroneous proximity event, and the technical problem to be solved is that it is used to perform the above steps, so that it is more suitable for practical use.
本发明的目的及解决其技术问题是采用以下技术方案来实现的。依据本发明提出的一种判断错误近接事件的方法,包含以下步骤:取得线段范围相应的一个或多个触控信号值;计算每一个该触控信号值与基准值的差值的总和;以及当该总和小于或等于零时,认为该线段范围相应到错误的近接事件。The purpose of the present invention and the solution to its technical problems are achieved by adopting the following technical solutions. A method for judging an erroneous proximity event according to the present invention includes the following steps: obtaining one or more touch signal values corresponding to a line segment range; calculating the sum of the difference between each touch signal value and a reference value; and When the sum is less than or equal to zero, the line segment range is considered to correspond to a false proximity event.
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。The purpose of the present invention and the solution to its technical problems can be further achieved by adopting the following technical measures.
前述的判断错误近接事件的方法,其中更包含以下步骤:根据内含触控信号值的双差值的壹维度感测信息,计算该线段范围。The aforementioned method for judging an erroneous proximity event further includes the following step: calculating the range of the line segment according to the one-dimensional sensing information including the double difference value of the touch signal value.
前述的判断错误近接事件的方法,其中更包含以下步骤:根据内含触控信号值的差值的壹维度感测信息,计算该内含触控信号值的双差值的壹维度感测信息。The aforementioned method for judging an erroneous proximity event further includes the following steps: calculating the one-dimensional sensing information including the double difference of the touch signal value according to the one-dimensional sensing information including the difference value of the touch signal value .
前述的判断错误近接事件的方法,其中更包含以下步骤:根据内含触控信号值的壹维度感测信息,取得该内含触控信号值的差值的壹维度感测信息。The aforementioned method for judging an erroneous proximity event further includes the following steps: obtaining the one-dimensional sensing information including the difference value of the touch signal value according to the one-dimensional sensing information including the touch signal value.
前述的判断错误近接事件的方法,其中更包含以下步骤:当该总和大于零时,计算该线段范围相应的该近接事件。The aforementioned method for judging an erroneous proximity event further includes the following steps: when the sum is greater than zero, calculating the proximity event corresponding to the range of the line segment.
本发明的目的及解决其技术问题另外再采用以下技术方案来实现。依据本发明提出的一种判断错误近接事件的装置,用于进行下列步骤:取得线段范围相应的一个或多个触控信号值;计算每一个该触控信号值与基准值的差值的总和;以及当该总和小于或等于零时,认为该线段范围相应到错误的近接事件。The purpose of the present invention and the technical problem to be solved are further achieved by the following technical solutions. A device for judging a false proximity event according to the present invention is used to perform the following steps: obtaining one or more touch signal values corresponding to a line segment range; calculating the sum of the difference between each touch signal value and a reference value ; and when the sum is less than or equal to zero, the line segment range is considered to correspond to an erroneous proximity event.
本发明的目的及解决其技术问题还可采用以下技术措施进一步实现。The purpose of the present invention and the solution to its technical problems can be further achieved by adopting the following technical measures.
前述的装置,其中更用于:根据内含触控信号值的双差值的壹维度感测信息,计算该线段范围。The aforementioned device is further used for: calculating the range of the line segment according to the one-dimensional sensing information including the double difference value of the touch signal value.
前述的装置,其中更用于:根据内含触控信号值的差值的壹维度感测信息,计算该内含触控信号值的双差值的壹维度感测信息。The aforementioned device is further used for: calculating the one-dimensional sensing information including the double difference value of the touch signal value according to the one-dimensional sensing information including the difference value of the touch signal value.
前述的装置,其中更用于:根据内含触控信号值的壹维度感测信息,取得该内含触控信号值的差值的壹维度感测信息。The aforementioned device is further used for: obtaining the one-dimensional sensing information including the difference value of the touch signal value according to the one-dimensional sensing information including the touch signal value.
前述的装置,其中更用于:当该总和大于零时,计算该线段范围相应的该近接事件。The aforementioned device is further used for: when the sum is greater than zero, calculating the proximity event corresponding to the range of the line segment.
本发明与现有技术相比具有明显的优点和有益效果。借由上述技术方案,本发明所提供的判断错误近接事件的方法与装置,可以减少甚至避免错误的近接事件被报告到主机,以至于产生不是用户想要的指令。Compared with the prior art, the present invention has obvious advantages and beneficial effects. With the above technical solutions, the method and device for judging erroneous proximity events provided by the present invention can reduce or even avoid erroneous proximity events being reported to the host, so that commands that are not intended by the user are generated.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。The above description is only an overview of the technical solution of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other objects, features and advantages of the present invention more obvious and easy to understand , the following specific preferred embodiments, and in conjunction with the accompanying drawings, are described in detail as follows.
附图说明Description of drawings
图1为根据本发明实施例的信号值、差值、与双差值的示意图。FIG. 1 is a schematic diagram of a signal value, a difference value, and a double difference value according to an embodiment of the present invention.
图2为根据本发明实施例的信号值与基准值所围面积的示意图。FIG. 2 is a schematic diagram of an area enclosed by a signal value and a reference value according to an embodiment of the present invention.
图3为根据本发明实施例的手指滑过导电液体所呈现的信号值、双差值、与线段的示意图。3 is a schematic diagram of a signal value, a double difference value, and a line segment presented by a finger sliding over the conductive liquid according to an embodiment of the present invention.
图4为根据本发明实施例的多只手指造成鬼点时所呈现的信号值与线段的示意图。FIG. 4 is a schematic diagram of signal values and line segments presented when ghost points are formed by multiple fingers according to an embodiment of the present invention.
图5A为根据本发明实施例的笔尖与大型导电物体所呈现的信号值的示意图。5A is a schematic diagram of signal values exhibited by a pen tip and a large conductive object according to an embodiment of the present invention.
图5B为根据本发明实施例的笔尖与大型导电物体所呈现的信号值的示意图。5B is a schematic diagram of signal values exhibited by a pen tip and a large conductive object according to an embodiment of the present invention.
图5C为根据本发明实施例的笔尖与大型导电物体所呈现的信号值的示意图。5C is a schematic diagram of signal values exhibited by a pen tip and a large conductive object according to an embodiment of the present invention.
图6为根据本发明实施例的由线段群判断手掌范围的示意图。FIG. 6 is a schematic diagram of judging a palm range from a line segment group according to an embodiment of the present invention.
图7为根据本发明实施例的避免多手指的线段群被误判为手掌的示意图。FIG. 7 is a schematic diagram of preventing a line segment group with multiple fingers from being misjudged as a palm according to an embodiment of the present invention.
图8为根据本发明实施例的判断错误近接事件的方法的流程示意图。FIG. 8 is a schematic flowchart of a method for judging a false proximity event according to an embodiment of the present invention.
图9为根据本发明实施例的触控系统的部份方框示意图。FIG. 9 is a partial block diagram of a touch control system according to an embodiment of the present invention.
图10A至图10D为根据本发明各个实施例的判断线段是否对应至触控笔的笔尖的流程示意图。10A to 10D are schematic flowcharts of determining whether a line segment corresponds to a tip of a stylus according to various embodiments of the present invention.
图11A至图11D为根据本发明各个实施例的判断线段是否对应至悬浮的导电物件的流程示意图。11A to 11D are schematic flowcharts of determining whether a line segment corresponds to a suspended conductive object according to various embodiments of the present invention.
图12为根据本发明实施例的排除手掌所对应的线段群的流程示意图。FIG. 12 is a schematic flowchart of excluding a line segment group corresponding to a palm according to an embodiment of the present invention.
图13为根据本发明实施例的手掌线段群的判断方法的流程示意图。13 is a schematic flowchart of a method for judging a palm line segment group according to an embodiment of the present invention.
【主要元件符号说明】【Description of main component symbols】
14:信号值14: Signal value
15:差值15: Difference
16:双差值16: Double difference
810-880:步骤810-880: Procedure
900:触控系统900: Touch System
910:近接物件910: Approaching Objects
920:触控面板920: Touch Panel
921:第一电极921: First Electrode
922:第二电极922: Second Electrode
930:触控处理装置930: Touch Processing Device
940:主机940: host
1010-1050:步骤1010-1050: Steps
1110-1150:步骤1110-1150: Procedure
1210-1280:步骤1210-1280: Steps
1310-1340:步骤1310-1340: Steps
具体实施方式Detailed ways
本发明将详细描述一些实施例如下。然而,除了所揭露的实施例外,本发明的范围并不受所述实施例的限定,乃以权利要求为准。而为了提供更清楚的描述及使该项技艺的普通人员能理解本发明的发明内容,图示内各部分并没有依照其相对的尺寸进行绘图,某些尺寸或其他相关尺度的比例可能被凸显出来而显得夸张,且不相关的细节部分并没有完全绘出,以求图示的简洁。Some embodiments of the present invention will be described in detail as follows. However, other than the disclosed embodiments, the scope of the present invention is not limited by the described embodiments, but by the claims. In order to provide a clearer description and enable those skilled in the art to understand the content of the present invention, the various parts in the drawings are not drawn according to their relative dimensions, and some dimensions or other relative dimensions may be highlighted. It is exaggerated when it comes out, and the irrelevant details are not completely drawn, in order to keep the illustration concise.
为了方便起见,提供简单的名词定义如下,但本发明的范围包含但不限于下列的定义。For convenience, simple term definitions are provided below, but the scope of the present invention includes, but is not limited to, the following definitions.
触控面板/荧幕:在基板形成感测层,其控制装置可以利用感测层侦测到靠近或接触基板的至少一个导电物件的位置。感测层可为单层或多层结构。Touch panel/screen: a sensing layer is formed on the substrate, and the control device can use the sensing layer to detect the position of at least one conductive object approaching or contacting the substrate. The sensing layer can be a single-layer or multi-layer structure.
近接:靠近或接触的统称。Proximity: A general term for approaching or touching.
外部导电物件:可以是人体的一部分,如手指或手掌。可以是与人体相接的物体,例如被动式触控笔。可以是主动式触控笔,借由发出信号令触控面板得以侦测到位置。也可以是接地的测试用导电物体,如铜圆柱体。也可能是沾滞在触控面板表面的水或导电液体。External conductive objects: can be parts of the human body, such as fingers or palms. It can be an object that interfaces with the human body, such as a passive stylus. It can be an active stylus that sends a signal to the touch panel to detect the position. It can also be a grounded conductive object for testing, such as a copper cylinder. It may also be water or conductive liquid stuck on the surface of the touch panel.
近接物件:靠近或接触基板的外部导电物件。Proximity Objects: External conductive objects near or in contact with the substrate.
近接事件:当外部导电物件靠近或接触基板,而由触控面板侦测到该外部导电物件的事件。Proximity event: when an external conductive object approaches or contacts the substrate, the touch panel detects the event of the external conductive object.
感测层:包含平行于第一轴的多条(m条)驱动电极与平行于第二轴的多条(n条)感测电极,驱动电极与感测电极互相露出,形成m乘以n个感测点。第一轴与第二轴可以正交,m可以等于n。Sensing layer: including multiple (m) drive electrodes parallel to the first axis and multiple (n) sensing electrodes parallel to the second axis, the drive electrodes and the sensing electrodes are exposed to each other, forming m times n sensing point. The first axis and the second axis may be orthogonal, and m may be equal to n.
驱动电极(第一导电条):包含平行于第一轴的多条(m条)用以发出驱动波的电极,可以是由透明或不透明的材质构成,例如氧化铟锡(ITO)或奈米碳管,可以是单层结构,也可以是双层结构。Driving electrode (first conductive strip): including a plurality of (m strips) electrodes parallel to the first axis for emitting driving waves, which can be made of transparent or opaque materials, such as indium tin oxide (ITO) or nanometer Carbon tubes can have a single-layer structure or a double-layer structure.
感测电极(第二导电条):用以侦测电容信号的电极,可以是由透明或不透明的材质构成,例如氧化铟锡或奈米碳管,可以是单层结构,也可以是双层结构。Sensing electrodes (second conductive strips): electrodes used to detect capacitive signals, which can be made of transparent or opaque materials, such as indium tin oxide or carbon nanotubes, which can be single-layered or double-layered structure.
壹维度感测信息:对应到第一轴或第二轴的多个感测信息。可以指单一条感测电极相应于m条驱动电极的m个感测点的信号值的集合,也可以指单一条驱动电极相应于n条感测电极的n个感测点的信号值的集合。换言之,壹维度感测信息可以包含m个感测点的信号值,也可以包含n个感测点的信号值。壹维度感测信息也可以包含m/n个感测点的单差值和双差值。One-dimensional sensing information: a plurality of sensing information corresponding to the first axis or the second axis. It can refer to the set of signal values of m sensing points where a single sensing electrode corresponds to m driving electrodes, or it can refer to the set of signal values of n sensing points where a single driving electrode corresponds to n sensing electrodes . In other words, the one-dimensional sensing information may include signal values of m sensing points, or may include signal values of n sensing points. The one-dimensional sensing information may also include single-difference values and double-difference values of m/n sensing points.
贰维度感测信息:多个壹维度感测信息所组合而成的感测信息,或称为影像。Two-dimensional sensing information: sensing information composed of multiple one-dimensional sensing information, or called an image.
基准值(baseline或stray):相应于某一工作频率的信号值。Baseline (baseline or stray): The signal value corresponding to a certain operating frequency.
信号值:可以是直接由感测电极所侦测到的信号,也可以是由单差值与基准值还原的信号值,两者虽有不同,但在某些实施例中可以互相替换使用。Signal value: It can be the signal directly detected by the sensing electrode, or the signal value restored by the single difference value and the reference value. Although the two are different, they can be used interchangeably in some embodiments.
单差值(或称为差值):相邻的感测点的信号值的差值。Single difference value (or called difference value): The difference value of the signal values of adjacent sensing points.
双差值:相邻的差值的差值。Double Difference: The difference between adjacent differences.
线段:壹维度感测信息的全部或连续部分。Line segment: All or a continuous part of one-dimensional sensing information.
线段群:对应至相邻的壹维度感测信息的多个线段,在相邻的轴向上至少有一感测点是相应的。Line segment group: a plurality of line segments corresponding to adjacent one-dimensional sensing information, and at least one sensing point in the adjacent axial direction is corresponding.
鬼点:不想要发生的电容感应所相应的点或区域。Ghost Point: A point or area corresponding to unwanted capacitive sensing.
触控面板/荧幕的动作可以分为三个程序,一是全屏驱动侦测程序,借由同时提供驱动信号给所有的驱动电极,可以判断是否存在至少一近接对象。其二是外部噪讯侦测程序,借由停止提供驱动信号给所有的驱动电极,可以判断外界的电磁干扰是否严重。其三则是报点程序,借由依序提供驱动信号给各个驱动电极,并且借由各个感测电极所侦测或读取的信号值对其他软件或硬件模块报告触控点与/或相关信息。The actions of the touch panel/screen can be divided into three procedures. One is the full-screen drive detection procedure. By simultaneously providing drive signals to all the drive electrodes, it can be determined whether there is at least one approaching object. The second is the external noise detection program, which can judge whether the external electromagnetic interference is serious by stopping supplying the driving signal to all the driving electrodes. The third is a point reporting program, by sequentially providing driving signals to each driving electrode, and reporting touch points and/or related information to other software or hardware modules by the signal values detected or read by each sensing electrode. .
在实施例中,以上这三种程序的执行顺序,可以先执行全屏驱动侦测程序,确定触控面板/荧幕上没有任何外部导电物件。接着再执行外部噪讯侦测程序,确定外界的电磁干扰不甚严重,或是设定新的驱动信号的工作频率。最后,再执行报点程序。In an embodiment, the execution sequence of the above three procedures can be performed first by executing the full-screen drive detection procedure to determine that there is no external conductive object on the touch panel/screen. Then, the external noise detection procedure is executed to determine that the external electromagnetic interference is not serious, or to set a new operating frequency of the driving signal. Finally, execute the reporting procedure again.
在实施例中的报点程序之后,可以重复上述的循环。After the point reporting procedure in the embodiment, the above-mentioned cycle may be repeated.
在另一实施例中,也可以重复多次报点程序之后,执行一次外部噪讯侦测程序,接着再重复多次报点程序与一次外部噪讯侦测程序。在重复多次外部噪讯侦测程序之后,再执行全屏驱动侦测程序。In another embodiment, after repeating the point reporting procedure for many times, the external noise detection procedure can be performed once, and then the point reporting procedure and the external noise detection procedure are repeated several times. After repeating the external noise detection procedure several times, execute the full-screen driver detection procedure.
本领域的普通技术人员可以理解到,以上三种程序的执行可以有无限多种组合,本发明并不限定于某一种组合。其执行程序的顺序可以是事先决定好的,也可以临时根据所遇到的状况而更动其执行程序的顺序,或是临时决定执行某一程序。Those of ordinary skill in the art can understand that the execution of the above three programs can have infinite combinations, and the present invention is not limited to a certain combination. The order in which the programs are executed can be determined in advance, or it can be temporarily changed according to the situation encountered, or it can be temporarily decided to execute a certain program.
一般来说,报点程序的目的是用于侦测近接于触控面板/荧幕的笔触与/或指尖,并且排除手掌、水(导电液体的综合代表,以后均以水作为代称)、或是不必要的电容感应。报点程序更可以包含与细分为以下的几个步骤:扫描或侦测所有感测点;针对感测电极的电气特性与基板弯曲进行校正;找出相应于上述对象的各个线段;检验各个线段以排除水及鬼点;将合格线段组成线段群以排除掉手掌;对笔触与/或指尖进行定位;追踪定位或描迹;将定位报点。虽然报点程序可以包含上述的各个步骤,但并非每一步骤都是必要的,某一些步骤可以略过。Generally speaking, the purpose of the reporting procedure is to detect the brushstrokes and/or fingertips close to the touch panel/screen, and to exclude the palm, water (the comprehensive representative of conductive liquid, and water will be used as a proxy in the future), Or unnecessary capacitive sensing. The point reporting procedure can further include and subdivide into the following steps: scan or detect all the sensing points; correct the electrical characteristics of the sensing electrodes and the curvature of the substrate; find each line segment corresponding to the above-mentioned objects; check each Line segments to exclude water and ghost points; grouping qualified line segments to exclude palms; positioning brushstrokes and/or fingertips; tracking positioning or tracing; positioning and reporting points. Although the reporting procedure can include the above steps, not every step is necessary, and some steps can be skipped.
一般来说,触控面板/荧幕的处理模块可以获得m条由各个感测电极所测得的壹维度感测信息,每条壹维度感测信息包含n个对应各个驱动电极的感测点的信息。处理模块可能直接获得信号值,也可能直接获得差值。当获得信号值时,可以计算差值。当获得差值时,也可以经由基准值来回推信号值。而且无论是获得信号值或差值的壹维度感测信息,都可以进而计算出双差值。Generally speaking, the processing module of the touch panel/screen can obtain m pieces of one-dimensional sensing information measured by each sensing electrode, and each piece of one-dimensional sensing information includes n sensing points corresponding to each driving electrode Information. The processing module may directly obtain the signal value, or may directly obtain the difference value. When the signal value is obtained, the difference value can be calculated. When the difference value is obtained, the signal value can also be pushed back and forth via the reference value. And whether the one-dimensional sensing information of the signal value or the difference value is obtained, the double difference value can be further calculated.
可以参阅图1所示,最上面的曲线14为信号值。中间的曲线15为差值。而最下面的曲线16为双差值。As shown in FIG. 1 , the
在可选的步骤当中,由于感测电极的电气特性,使得各感测点所测得的信号值有所偏差,可以针对这种偏差对信号值进行校正。此外,由于基板可能会因为近接事件而弯曲,基板本身也有可能会具有形变,也可以针对基板变形所造成的影响进行校正。In an optional step, due to the electrical characteristics of the sensing electrodes, the signal values measured at each sensing point are deviated, and the signal values may be corrected for this deviation. In addition, since the substrate may be bent due to the proximity event, the substrate itself may also have deformation, and the influence of the substrate deformation can also be corrected.
利用壹维度感测信息找出线段的步骤可以包含利用双差值、差值、与/或信号值来找出线段的范围。当获得双差值之后,可以有多种方法来撷取线段。The step of finding the line segment using the one-dimensional sensing information may include finding the range of the line segment using the double difference value, the difference value, and/or the signal value. After the double difference value is obtained, there are several ways to extract the line segment.
在实施例中,可以先找出高于双差值门坎值的高点。接着往前找到一个相对低点,称为第一点(前点),然后往后找到一个相对低点,称为第二点(后点),则该线段的范围则是从第一点到第二点。比方说有n个感测点的壹维度感测信息,在第20点时找到相对高点,往前找的相对低点是第15点,往后找的相对低点为第25点。则该线段的范围是第15点到第25点,线段的长度是11。In an embodiment, a high point above the double-difference threshold may be found first. Then find a relative low point forward, called the first point (front point), and then find a relative low point backward, called the second point (back point), then the range of the line segment is from the first point to Second point. For example, for one-dimensional sensing information with n sensing points, the relative high point is found at the 20th point, the relative low point found forward is the 15th point, and the relative low point found backward is the 25th point. Then the range of the line segment is from the 15th point to the 25th point, and the length of the line segment is 11.
但在某些例子当中,往前或往后的一个范围内找不到相对低点。当这种情况发生时,则定义往前或往后的某一段距离为线段的范围。比方说,上述的距离设定为5。那么当相对高点(第20点)往后找不到相对低点时,则定义第25点为第二点。该线段的范围是从第15点到第25点,线段的长度是11。反之,亦然。But in some instances, no relative lows were found within a range forward or backward. When this happens, define a certain distance forward or backward as the range of the line segment. For example, the above distance is set to 5. Then, when the relative high point (point 20) cannot find a relative low point afterward, the 25th point is defined as the second point. The range of the line segment is from
在上述的实施例当中,适合有高于双差值门坎值的线段。但有一些近接事件发生时,并不会产生单一个高于双差值门坎值的双差值,而是产生一个较为扁平的双差值曲线。比方说,当细长的触控笔尖或是铅笔笔尖接触时,可能不会产生单一个高于双差值门坎值的双差值。因此,如果需要侦测此种类型的近接对象时,则可以使用以下的撷取线段方法。In the above-mentioned embodiments, it is suitable to have line segments higher than the double difference threshold value. However, when some proximity events occur, a single double difference value higher than the double difference threshold value will not be generated, but a relatively flat double difference value curve will be generated. For example, when a slender stylus tip or a pencil tip makes contact, it may not produce a single double difference above the double difference threshold. Therefore, if you need to detect this type of approaching objects, you can use the following method of extracting line segments.
可以先找出连续两个正的双差值,将其加总后与前述的双差值门坎值比较,若其总和高于双差值门坎值,也可以称其为相对高点。接着,同样地往前找到一个相对低点,称为第一点(前点),然后往后找到一个相对低点,称为第二点(后点),则该线段的范围则是从第一点到第二点。相似地,当往前或往后的一个范围内找不到相对低点,则定义往前或往后的某一段距离为线段的范围。You can first find two consecutive positive double difference values, sum them up and compare them with the aforementioned double difference threshold value. If the sum is higher than the double difference threshold value, it can also be called a relative high point. Then, similarly find a relative low point forward, called the first point (front point), and then find a relative low point backward, called the second point (back point), then the range of the line segment is from the first point One point to the second point. Similarly, when a relative low point cannot be found within a range forward or backward, a certain distance forward or backward is defined as the range of the line segment.
比方说,假设双差值门坎值为5,而一段双差值的数列为[0,0,0,-1,-3,-1,1,3,3,1,-1,-3,-1,0,0,0]。在上述的线段当中,最先的两个正的双差值为1,3,但其总和小于双差值门坎值。接着,可以往后找到连续两个数值为3的部分。由于其总和为6,大于上述的双差值门坎值,所以将这两个数值视为相对高值。接着再往前和往后找第一点与第二点。For example, suppose the double difference threshold value is 5, and a series of double difference values is [0,0,0,-1,-3,-1,1,3,3,1,-1,-3, -1,0,0,0]. In the above line segment, the first two positive double difference values are 1,3, but their sum is less than the double difference threshold value. Then, you can find two consecutive parts with a value of 3. Since their sum is 6, which is greater than the double-difference threshold above, these two values are considered relatively high. Then go back and forth to find the first and second points.
值得注意的是,第二种比较两个正双差值的总和与门坎值的方法,也可以适用于有单个大于门坎值的情况。It is worth noting that the second method of comparing the sum of the two positive double differences with the threshold value can also be applied to the case where there is a single value greater than the threshold value.
当找出触控面板/荧幕上的所有线段之后,则开始对线段进行检查。对线段检查的方式可以用于排除水和鬼点。在这里可以使用双差值、差值、与/或信号值的组合来进行判断。After finding all the line segments on the touch panel/screen, start checking the line segments. The way the line segment is checked can be used to exclude water and ghost spots. A combination of double difference values, difference values, and/or signal values may be used here to make the determination.
当利用双差值找出线段之后,可以得知该线段所对应的差值与信号值。可以利用信号值与基准值计算其间所夹面积。如图2所示,当面积位于基准值下方时,称之为负值(negative),负值通常是由水或鬼点所造成。因此,当该线段的信号值面积为负值时,可以将该线段抛弃或忽略。After the line segment is found by using the double difference value, the difference value and the signal value corresponding to the line segment can be known. The area sandwiched between the signal value and the reference value can be calculated. As shown in Figure 2, when the area is below the reference value, it is called a negative value, which is usually caused by water or ghost spots. Therefore, when the signal value area of the line segment is negative, the line segment can be discarded or ignored.
请参阅图3,在某些情况下,当触控面板上有一大片水渍,而指尖划过水渍时,也可以侦测到指尖。可以根据上述的寻找线段方式,在双差值部分切出三个线段。从左至右分别是LPC1,LPC2,与LPC3。Please refer to Figure 3. In some cases, the fingertip can also be detected when there is a large water stain on the touch panel and the fingertip runs over the water stain. Three line segments can be cut out from the double difference part according to the above method of finding line segments. From left to right are LPC1, LPC2, and LPC3.
当这三个线段还原回信号值时,可以见到对应至LPC1的面积为负值,对应至LPC3的面积也是负值,只有对应至LPC2的面积为正值。因此,LPC1与LPC3在此阶段就会被抛弃或忽略,留下LPC2。When the three line segments are restored to the signal value, it can be seen that the area corresponding to LPC1 is negative, the area corresponding to LPC3 is also negative, and only the area corresponding to LPC2 is positive. Therefore, LPC1 and LPC3 are discarded or ignored at this stage, leaving LPC2.
请参阅图4,在某些情况下会有鬼点产生。比方说在触控区当中有四个近接事件同时发生。由于电流会从一个近接对象流向另一近接对象,例如从同一手掌的其中一手指流至另一手指,再回灌入感测电极当中,因此会产生鬼点。这些鬼点会在双差值中被检测出来,其中两个近接事件与两个鬼点属于同一轴线。Referring to Figure 4, in some cases ghosting occurs. Let's say there are four proximity events happening at the same time in the touch area. Since the current will flow from one proximity object to another proximity object, for example, from one finger of the same palm to another finger, and then back into the sensing electrodes, ghost dots are generated. These ghost points are detected in double difference, where the two proximity events are on the same axis as the two ghost points.
在线段撷取的步骤当中,除了分别对应到两个近接对象的LPC1与LPC5之外,也有两个线段分别对应到两个鬼点LPC2与LPC4。然而,在两个鬼点中间,也可能检测到一个线段LPC3。当检测各个线段的信号值面积时,发现LPC1与LPC5的信号值面积为正值,而其余的LPC2,LPC3,与LPC4为负值,因此可以抛弃或忽略LPC2,LPC3,与LPC4,只留下LPC1与LPC5。In the line segment extraction step, in addition to LPC1 and LPC5 corresponding to the two proximate objects respectively, there are also two line segments corresponding to the two ghost points LPC2 and LPC4 respectively. However, between the two ghost points, a line segment LPC3 may also be detected. When detecting the signal value area of each line segment, it is found that the signal value area of LPC1 and LPC5 is positive, while the remaining LPC2, LPC3, and LPC4 are negative values, so LPC2, LPC3, and LPC4 can be discarded or ignored, leaving only LPC1 and LPC5.
请参阅图5A,在某些情况下会有不想要发生的近接事件。在图的右方是接触面积很小,且造成的信号变化量也不太大的笔尖接触。图的左方是大型导电物件,比方说导电系数很好的铜柱。当铜柱离触控面板/荧幕还有一段距离时,已经开始对感测电极产生影响。这两个近接事件都会在撷取线段时被找到,但触控面板不应该对左边的近接事件进行报点。Referring to Figure 5A, in some cases there may be undesired proximity events. On the right side of the figure is a pen tip contact with a small contact area and a small amount of signal change. On the left side of the diagram are large conductive objects, such as copper pillars with good conductivity. When the copper pillar is still some distance away from the touch panel/screen, it has already begun to affect the sensing electrodes. Both proximity events will be found when capturing the line segment, but the touch panel should not report the proximity event on the left.
因此,在检验其信号值时,可以检查线段边缘的信号值斜率,以及线段的面积,或者是以长度来表示的面积。笔尖的面积2(Area 2)比较小,但其线段边缘的斜率2(Slope 2)较大。而左方近接事件的面积1A(Area 1A)较大,但线段边缘的斜率1A(Slope1A)较小。因此,可以利用斜率与面积,筛除掉左边近接事件相应的线段,以滤除不必要的近接事件。Therefore, when examining its signal value, it is possible to examine the slope of the signal value at the edge of the line segment, as well as the area of the line segment, or the area in terms of length. The area 2 (Area 2) of the pen tip is relatively small, but the slope 2 (Slope 2) of the edge of the line segment is relatively large. The area 1A (Area 1A) of the left proximity event is larger, but the slope 1A (Slope1A) of the line segment edge is smaller. Therefore, the slope and area can be used to filter out the line segment corresponding to the left proximity event to filter out unnecessary proximity events.
请参阅图5B,图左方的大型导电物件和图5A相比,要更靠近触控面板。同样地,触控面板也要滤掉左边的近接事件。因此套用图5A的检验方式,检验线段边缘的信号值斜率,以及线段的面积,或者是以长度来表示的面积。笔尖的面积2比较小,但其线段边缘的斜率2较大。而左方近接事件的面积1B(Area 1B)较大,但线段边缘的斜率1B(Slope 1B)较小。尽管图5B的面积1B要比图5A的面积1A要大,所造成的信号值也较大,但这两个线段边缘的斜率1B与1A都比笔尖造成的斜率2来得小。因此,可以利用斜率与面积,筛除掉左边近接事件相应的线段,以滤除不必要的近接事件。Referring to FIG. 5B , the large conductive object on the left side of the figure is closer to the touch panel than that of FIG. 5A . Likewise, the touch panel also filters out proximity events on the left. Therefore, the test method of FIG. 5A is applied to test the slope of the signal value at the edge of the line segment, and the area of the line segment, or the area represented by the length. The area 2 of the nib is relatively small, but the slope 2 of the edge of its line segment is relatively large. On the other hand, the area 1B (Area 1B) of the left approach event is larger, but the slope 1B (Slope 1B) of the line segment edge is smaller. Although the area 1B of FIG. 5B is larger than the area 1A of FIG. 5A and the resulting signal value is also larger, the slopes 1B and 1A of the edges of these two line segments are both smaller than the slope 2 caused by the pen tip. Therefore, the slope and area can be used to filter out the line segment corresponding to the left proximity event to filter out unnecessary proximity events.
请参阅图5C,图左方的大型导电物件和图5A与图5B相比,已经接触到触控面板,其所造成的信号值将远大于笔尖所对应的信号值。因此,其所对应的线段边缘的斜率1C(Slope 1C)也会大于先前未接触触控面板的斜率1A与1B。而其面积1C(Area 1C)也会大于先前未接触触控面板的1A与1B。因此,当利用斜率与面积筛除掉图5A与图5B左边的近接事件时,并不会删除掉图5C左边的近接事件。Please refer to FIG. 5C . Compared with FIG. 5A and FIG. 5B , the large conductive object on the left has contacted the touch panel, and the signal value caused by it will be much larger than the signal value corresponding to the pen tip. Therefore, the slope 1C (Slope 1C) of the corresponding line segment edge is also greater than the slopes 1A and 1B of the previously untouched touch panel. And its area 1C (Area 1C) will also be larger than 1A and 1B that have not touched the touch panel before. Therefore, when the proximity events on the left side of Figures 5A and 5B are removed using the slope and area filter, the proximity events on the left side of Figure 5C are not removed.
在检测完所有的线段,并且抛弃或忽略某一些由水、鬼点、或不必要的近接事件所造成的线段之后,接下来要将各个线段集合成线段群,以便找出近接事件的质心,并且剔除掉手掌接触的部分。After detecting all the line segments, and discarding or ignoring some line segments caused by water, ghost points, or unnecessary proximity events, the next step is to assemble each line segment into a line segment group in order to find the centroid of the proximity event, And remove the part that the palm touches.
请参照图6,当找出所有的线段之后,可以把各个线段在垂直部分相邻者,组合成为线段群。可以在图6上见到四个线段群,其中第四组(Group4)是由于手掌所造成的近接事件。第二组(Group2)与第三组(Group3)则是不对触控面板进行操作的手指接触所造成的近接事件,也应该要算在手掌的部分。只有第一组(Group1)是真正对触控面板进行操作的手指指尖或笔尖所造成的近接事件。换言之,触控面板/荧幕应该要将第二组,第三组,第四组归类为手掌部分,只针对第一组的部分进行报点。Referring to FIG. 6 , after finding all the line segments, the adjacent line segments in the vertical part can be combined into a line segment group. Four line segment groups can be seen in Figure 6, of which the fourth group (Group4) is the proximity event due to the palm. The second group (Group2) and the third group (Group3) are the proximity events caused by the contact of fingers that do not operate the touch panel, and should also be counted in the palm part. Only the first group (Group1) is the proximity event caused by the fingertip or pen tip that actually operates the touch panel. In other words, the touch panel/screen should classify the second group, the third group, and the fourth group as the palm part, and only report points for the first group.
在实施例中,当某一线段群具有以下其中一个条件或其任意组合时,即认为该线段群为手掌。条件一,是线段群中的某一线段的某一信号值高过手掌信号门坎值,则认为该线段群是手掌。条件二,是线段群中的某一线段的长度大于手掌长度门坎值时。条件三,是线段群的线段数量大于手掌线段数量门坎值时。手掌长度门坎值可以等于手掌线段数量门坎值,也可以不等于。In an embodiment, when a certain line segment group has one of the following conditions or any combination thereof, the line segment group is considered to be a palm. The first condition is that a certain signal value of a certain line segment in the line segment group is higher than the threshold value of the palm signal, then the line segment group is considered to be the palm. The second condition is when the length of a certain line segment in the line segment group is greater than the threshold value of the palm length. The third condition is when the number of line segments in the line segment group is greater than the threshold value of the number of palm line segments. The threshold value of the palm length may be equal to the threshold value of the number of palm line segments, or it may not be equal.
只要有任一个线段群被认为是手掌线段群之后,则可以进行合并其他线段群的步骤。在图6当中,第四组的每一线段在水平方向与垂直方向均可向外延伸。在延伸一水平距离之后,若接触到其他线段群,则被接触的线段群也会被视为手掌线段群。比方说,第二组与第三组都在第四组的水平延伸范围内,因此这两个线段群都会被归类为手掌线段群。而第一组显然较为远离第四组而没有被第四组延伸接触到,所以第一组并不会被归类为手掌线段群。As long as any line segment group is considered to be the palm line segment group, the step of merging other line segment groups can be performed. In FIG. 6 , each line segment of the fourth group can extend outward in both the horizontal direction and the vertical direction. After extending a horizontal distance, if it touches other line segment groups, the touched line segment group will also be regarded as a palm line segment group. For example, the second and third groups are both within the horizontal extension of the fourth group, so both line segments will be classified as palm line segments. The first group is obviously far away from the fourth group and is not extended and touched by the fourth group, so the first group will not be classified as a palm line segment group.
在垂直方向的部分,会将边缘的线段群向上与向下延伸,所延伸的线段群长度和边缘线段群的长度相同或成比例。比方说,第一个延伸线段长度可以是边缘线段群的八成,第二个延伸线段长度可以是第一个延伸线段长度的八成,以此类推,直到延伸线段的个数达到上限,或是延伸线段的长度低于下限为止。在图6当中,并没有任何第四组的垂直延伸线段接触到其他线段群。In the vertical part, the line segment group of the edge is extended upward and downward, and the length of the extended line segment group is the same as or proportional to the length of the edge line segment group. For example, the length of the first extension segment can be 80% of the edge segment group, the length of the second extension segment can be 80% of the length of the first extension segment, and so on, until the number of extension segments reaches the upper limit, or the extension The length of the line segment falls below the lower limit. In Figure 6, none of the vertically extending line segments of the fourth group touch other line segment groups.
要注意的是,以上的延伸可以只限于一次,亦即由原始被认为是手掌的线段群第四组延伸,而第二组与第三组则无需再延伸。但本发明也可以使被延伸到的线段群进行再次延伸,不过其水平距离可能会比原延伸的水平距离来得短,其垂直延伸的个数或其比例也可能比原延伸的个数或比例来得少。在另一范例当中,再延伸的条件也可以设成和原延伸的条件相同。It should be noted that the above extension can be limited to only one time, that is, the fourth group of the line segment group originally considered to be the palm is extended, and the second and third groups do not need to be extended. However, the present invention can also extend the extended line segment group again, but its horizontal distance may be shorter than the original extended horizontal distance, and the number or proportion of its vertical extension may also be larger than the original number or proportion of extension Come less. In another example, the re-extension conditions can also be set to be the same as the original extension conditions.
在另一个实施例当中,可以把原始的手掌线段群框出手掌矩形(palmrectangle),再依照上述的延伸精神,框出扩大手掌矩形(enlarged palm rectangle)。若其他的线段群与该扩大手掌矩形有重叠的部分,则被视为手掌线段群。In another embodiment, the original palm line segment group may be framed into a palm rectangle, and then an enlarged palm rectangle may be framed according to the above-mentioned extension spirit. If another line segment group overlaps with the enlarged palm rectangle, it is regarded as a palm line segment group.
扩大手掌矩形的方法在运算上虽然比前一种方法简单,但容易框住更多面积。如果在扩大手掌矩形的范围内有想要报点的近接事件,其所对应的线段群会被忽略不计。因此,在运算资源许可的条件下,前一种外扩的方法比较好。Although the method of expanding the palm rectangle is simpler in operation than the previous method, it is easy to frame more area. If there is an approach event that you want to report within the range of the enlarged palm rectangle, the corresponding line segment group will be ignored. Therefore, under the condition that computing resources permit, the former method of external expansion is better.
在实际书写的时候,由于手掌与指尖不断地运动,因此所接触的面积会迅速变化。有些时候,手掌的接触部分会分裂成许多独立的较小区域,而没有办法被视为手掌。因此,当某一次侦测扫描判断出有手掌线段群出现时,可以设置一个手掌旗标与/或时间戳。During actual writing, the contact area changes rapidly due to the constant movement of the palm and fingertips. There are times when the contacting part of the palm splits into many separate smaller areas that have no way of being seen as a palm. Therefore, when it is determined that a palm line segment group appears in a certain detection scan, a palm flag and/or a time stamp can be set.
在手掌旗标设置的期间,上述的三条件可以放宽。比方说,手掌信号门坎值可以缩小,手掌长度门坎值可以变短,手掌线段数量门坎值也可以变短。因此,能有较大的机率将某一线段群判断为手掌线段群。在实施例中,上述放宽的区域可以限制在扩大手掌矩形或是扩大手掌形状之内。只有和该扩大手掌矩形或形状有重叠到的线段群,才可以适用放宽的三条件。当判断不到手掌线段群时,可以检查该时间戳是否已经过期。当时间戳已经超过门坎值时,可以清除该手掌旗标。During the palm flag setting period, the above three conditions can be relaxed. For example, the threshold of palm signal can be reduced, the threshold of palm length can be shortened, and the threshold of the number of palm line segments can also be shortened. Therefore, a certain line segment group can be judged as a palm line segment group with a high probability. In an embodiment, the above-mentioned widened area may be limited to an enlarged palm rectangle or an enlarged palm shape. The three conditions for relaxation can only be applied to the line segment group that overlaps the rectangle or shape of the enlarged palm. When the palm line segment group cannot be determined, it can be checked whether the timestamp has expired. The palm flag can be cleared when the timestamp has exceeded the threshold.
本发明并不限于上述设置手掌旗标与/或时间戳的方法,只要是先前判断出现过手掌时,就可以放宽认定手掌的条件,都可以适用本发明。The present invention is not limited to the above-mentioned method of setting the palm flag and/or time stamp. As long as it is judged that a palm has appeared before, the conditions for identifying the palm can be relaxed, and the present invention can be applied.
在某一些情况下,由于近接对象非常地靠近,所以需要特殊的方法,将线段群进行拆解。请参阅图7,在四只手指头并行的情况下,依照上述的三条件,这四个指尖所分别对应的线段会被结合成为一个线段群。由于该线段群的数量大于手掌线段数量门坎值,因此会被认为是手掌线段群,也就被忽略不计。In some cases, due to the close proximity of the close objects, special methods are required to disassemble the line segment group. Referring to FIG. 7 , in the case where four fingers are in parallel, according to the above three conditions, the line segments corresponding to the four fingertips will be combined into a line segment group. Since the number of the line segment group is greater than the threshold of the number of palm line segments, it will be regarded as the palm line segment group and will be ignored.
为了避免这个情况发生,可以将手掌线段群进行分析,当它的总面积(也就是个线段的长度总和)小于其所对应的正常手掌面积时,即进行拆解步骤。或者,当手掌线段群的各线段长度沿垂直方向呈现忽大忽小的变化时,亦可进行拆解步骤。在拆解的时候,可以看到各指尖的间隔部分的信号值很小,所以可以将其拆解成四个线段群,每一个线段群对应到一个指尖。也由于拆解成四个线段群,原有的线段群就不会被认为是手掌线段群。因此,四个线段群所对应的近接事件都会被报点。In order to avoid this situation, the palm line segment group can be analyzed, and when its total area (that is, the sum of the lengths of each line segment) is smaller than its corresponding normal palm area, the dismantling step is performed. Alternatively, when the length of each line segment of the palm line segment group shows a sudden change in the vertical direction, the disassembly step can also be performed. When disassembling, it can be seen that the signal value of the interval part of each fingertip is very small, so it can be disassembled into four line segment groups, and each line segment group corresponds to a fingertip. Also because it is disassembled into four line segment groups, the original line segment group will not be regarded as the palm line segment group. Therefore, the proximity events corresponding to the four line segment groups will be reported.
另一个需要特殊处理的是笔尖的线段群。在某一些实施例中,例如感测电极的线距大约是4mm,而笔尖的直径约莫为1.5-2mm的时候,所对应的线段只有两种可能。较大的机率会对应到单一条短线段,而较小的机率会对应到由两条相邻的线段所组成的线段群,而这两条线段大约等长,但其长度也相当短。Another thing that needs special treatment is the line segment group of the pen tip. In some embodiments, for example, when the line spacing of the sensing electrodes is about 4 mm, and the diameter of the pen tip is about 1.5-2 mm, there are only two possibilities for the corresponding line segments. A larger probability would correspond to a single short line segment, while a smaller probability would correspond to a group of line segments consisting of two adjacent line segments, which are about the same length, but also quite short in length.
因此,可以在侦测到单一线段时,判断是否为笔尖。先前已经提到,判断为笔尖的条件可以包含判断线段边缘的信号值斜率。当判断为笔尖时,可以设置对应到该笔尖的笔尖旗标与/或时间戳。Therefore, when a single line segment is detected, it can be determined whether it is a pen tip. As mentioned earlier, the condition for judging the pen tip may include judging the slope of the signal value of the edge of the line segment. When it is determined to be a pen tip, a pen tip flag and/or time stamp corresponding to the pen tip can be set.
假设下一次扫描侦测时,找出线段群的特征类似笔尖时,则判断上述的笔尖旗标是否已经被设置。如果已经设置的话,可以判定该线段群为笔尖,必须报点。否则忽略不计该线段群。由于该笔尖首次近接触控面板/荧幕时,只有较小左右的机率是以线段群的方式出现,只要稍一移动,几乎肯定可以单一线段的方式出现,所以不太会影响到使用者的感受。Assuming that in the next scan and detection, when it is found that the characteristics of the line segment group are similar to the pen tip, it is determined whether the above-mentioned pen tip flag has been set. If it has been set, it can be determined that the line segment group is the tip of the pen, and the point must be reported. Otherwise, the line segment group is ignored. Since the pen tip comes into contact with the control panel/screen for the first time, there is only a small probability that it will appear in the form of a group of line segments. As long as it moves a little, it will almost certainly appear in the form of a single line segment, so it will not affect the user's performance. feel.
可以利用时间戳进行比较,在该笔尖的描迹消失后的一段期间,即可以清除该笔尖旗标。值得注意的是,如果允许多个笔尖同时接触触控面板/荧幕,上述的笔尖旗标则需要对应到某一笔尖的描迹。Timestamps can be used for comparison, and the nib flag can be cleared some time after the nib's trace disappears. It is worth noting that if multiple nibs are allowed to touch the touch panel/screen at the same time, the above-mentioned nib flag needs to correspond to the tracing of a certain nib.
报点程序之后还要进行根据线段群进行定位;追踪定位或描迹;以及将定位报点的步骤。After the point reporting procedure, positioning according to the line segment group; tracking positioning or tracing; and the steps of positioning and reporting points.
请参阅图8所示,其为根据本发明实施例的判断错误近接事件的方法的流程示意图。在图8当中,除了有因果关系的步骤除外,本发明并不限定各个步骤施行的先后顺序,也不限定在各个步骤之间插入其他的步骤。另外,还可以参阅图2至图4的实施例。Please refer to FIG. 8 , which is a schematic flowchart of a method for judging an erroneous proximity event according to an embodiment of the present invention. In FIG. 8 , except for steps having a causal relationship, the present invention does not limit the order in which the steps are performed, nor does it limit the insertion of other steps between the steps. In addition, reference may also be made to the embodiments of FIGS. 2 to 4 .
在实施例中,该方法的流程可以自步骤810开始,接收内含触控信号值的壹维度感测信息,并且根据内含触控信号值的壹维度感测信息,计算内含触控信号值的差值的壹维度感测信息。接着,执行步骤820。In an embodiment, the process of the method may start from
在另一实施例中,该方法的流程可以自步骤820开始,根据内含触控信号值的差值的壹维度感测信息,计算内含触控信号值的双差值的壹维度感测信息。接着,执行步骤830。In another embodiment, the process of the method may start from
在更一实施例中,该方法的流程可以自步骤830开始,根据内含触控信号值的双差值的壹维度感测信息,计算线段范围。接着,执行步骤840。在前述的段落当中,已经叙述了如何根据双差值来计算线段范围,故不再赘叙。In another embodiment, the process of the method may start from
值得注意的是,实作图8的方法实施例的芯片或装置,在接收壹维度感测信息,可以接收触控信号值,也可以接收触控信号值的差值,还可以接收触控信号值的双差值。本发明并不限定接收哪一种值,只要能够根据壹维度感测信息来计算线段范围即可。It is worth noting that, when the chip or device implementing the method embodiment of FIG. 8 receives one-dimensional sensing information, it can receive the touch signal value, the difference value of the touch signal value, and the touch signal. Double difference of values. The present invention does not limit which value is received, as long as the line segment range can be calculated according to the one-dimensional sensing information.
步骤840用于取得线段范围相应的一个或多个触控信号值。如前所述,本发明并不限定接收哪一种值,但在步骤840当中,必须取得与线段范围相应的触控信号值。比方说,当实作图8的方法实施例的芯片或装置接收的是双差值时,可以先还原回差值,再还原回触控信号值。当实作图8的方法实施例的芯片或装置接收的是差值时,可以还原回触控信号值。当实作图8的方法实施例的芯片或装置接收的是触控信号值时,可以截出与线段范围相应的那一段触控信号值。Step 840 is used to obtain one or more touch signal values corresponding to the line segment range. As mentioned above, the present invention does not limit which value is received, but in
步骤850用于计算每一个触控信号值与基准值的差值的总和。换言之,就是计算线段范围相应的触控信号值与基准值所围出来的面积。Step 850 is used to calculate the sum of the difference between each touch signal value and the reference value. In other words, the area enclosed by the touch signal value corresponding to the line segment range and the reference value is calculated.
接着,在步骤860当中判断该总和或面积是否小于或等于零。在实施例中,也可以判断该总和或面积是否小于零。如果是的话,流程走向步骤870,认为线段范围相应到错误的近接事件,可能是鬼点或水渍所造成的。比方说,可以抛弃掉该线段范围相应的壹维度感测信息,而无须对该近接事件做进一步的计算。若步骤860的判断结果为否,则流程进入步骤880,计算线段范围相应的近接事件。Next, in
请参阅图9所示,其为根据本发明实施例的触控系统900的示意图。触控系统900包含至少近接物件910、触控面板920、触控处理装置930与主机940。在本实施例中,上述的触控面板920形成于基板,该触控面板920可以为触控荧幕,本发明并不限定触控面板920的形式。Please refer to FIG. 9 , which is a schematic diagram of a
在实施例中,该触控面板920的触控区内包含多个第一电极921与多个第二电极922,两者重叠处形成多个感测点。这些第一电极921与第二电极922分别连接到触控处理装置930。在互电容的侦测模式下,该第一电极921可以称为第一导电条或驱动电极,该第二电极922可以称为第二导电条或感测电极。该触控处理装置930可以利用提供驱动电压(驱动信号的电压)到所述第一电极921,并量测所述第二电极922的信号变化,得知有外部导电物件靠近或接触(简称近接)该触控面板920。本领域的普通技术人员可以理解到,上述的触控处理装置930可以利用互电容或自电容的方式来侦测近接事件与近接对象,在此不再加以详述。In an embodiment, the touch area of the
在图9中还包含主机940,其可以是执行操作系统的中央处理器之类,或者是嵌入式系统内的主处理器,或是其他形式的计算机。在实施例中,该触控系统900可以是平板计算机,该主机940可以是执行平板计算机作业系统的中央处理器。比方说,该平板计算机执行安卓(Android)操作系统,该主机940为执行安卓操作系统的安谋(ARM)处理器。本发明并不限定该主机940与该触控处理装置930之间所传输的信息形式,只要所传输的信息跟该触控面板920上所发生的近接事件相关即可。Also included in FIG. 9 is a
图9所示的触控处理装置930可用于执行图8所示的方法流程图与其可能的所有变化。该触控处理装置930可以包含或连接到内存,以供储存所执行的软件、韧体、触控信号值、其差值、其双差值、以及其他计算结果或中间值。The
综上所述,本发明所提供的判断错误近接事件的方法与装置,可以减少甚至避免错误的近接事件被报告到主机,以至于产生不是用户想要的指令。To sum up, the method and apparatus for judging erroneous proximity events provided by the present invention can reduce or even avoid erroneous proximity events being reported to the host, so that commands that are not intended by the user are generated.
请参阅图10A所示,其为根据本发明实施例的判断线段是否对应至触控笔的笔尖的流程示意图。图9所示的触控处理装置930可用于执行图10A所示的方法流程图与其可能的所有变化。该触控处理装置930可以包含或连接到内存,以供储存所执行的软件、韧体、触控信号值、其差值、其双差值、以及其他计算结果或中间值。在图10A当中,除了有因果关系的步骤除外,本发明并不限定各个步骤施行的先后顺序,也不限定在各个步骤之间插入其他的步骤。另外,图10A的实施例也可以参阅图5A、图5B、图5C、与图8的实施例。Please refer to FIG. 10A , which is a schematic flowchart of determining whether a line segment corresponds to the tip of a stylus according to an embodiment of the present invention. The
在实施例中,可以如图8实施例的步骤810至840一般,取得线段与该线段相对应的触控信号值。接着,执行步骤1010,计算该线段边缘的第一斜率。此处所指的第一斜率,可以是该线段左侧边缘的斜率,也可以是该线段右侧边缘的斜率。在范例中,当第一斜率为线段左侧边缘的斜率时,可以由线段最左侧向右寻找第一个相对高点,接着计算线段左侧边缘至该第一个相对高点的第一斜率。在另一范例中,当第一斜率为线段右侧边缘的斜率时,可以由线段最右侧向左寻找第一个相对高点,接着计算线段右侧边缘至该第一个相对高点的第一斜率。除此之外,还可以利用其他的斜率计算方法。例如,可以直接计算线段边缘某一范围的斜率值,作为上述的第一斜率。In an embodiment, the touch signal value corresponding to the line segment and the line segment can be obtained as in
当计算出该第一斜率之后,可以继续执行步骤1020,判断该第一斜率是否大于斜率临界值。当判断结果为否,则执行步骤1050,认定该线段不对应至该触控笔的笔尖,或不是任何外部导电物件的小面积接触事件。当判断结果为真时,可以执行可选的步骤1030,或是直接执行步骤1040,认定该线段对应至该触控笔的笔尖,或是任何外部导电物件的小面积接触事件。After the first slope is calculated,
在可选的步骤1030当中,判断该线段的长度是否小于长度临界值。当判断结果为否时,则执行步骤1050,认定该线段不对应至该触控笔的笔尖,或不是任何外部导电物件的小面积接触事件。当判断结果为真时,执行步骤1040,认定该线段对应至该触控笔的笔尖,或是任何外部导电物件的小面积接触事件。In
请参阅图10B所示,其为根据本发明实施例的判断线段是否对应至触控笔的笔尖的流程示意图。和图10A的实施例相比,图10B的实施例沿用了步骤1030、1040、与1050。在起始步骤1015当中,除了计算第一斜率之外,还计算了第二斜率。换言之,即计算了该线段左侧边缘与右侧边缘的斜率。当第一斜率代表线段左侧边缘的斜率时,第二斜率即代表线段右侧边缘的斜率。反之,当第一斜率代表线段右侧边缘的斜率时,第二斜率即代表线段左侧边缘的斜率。Please refer to FIG. 10B , which is a schematic flowchart of determining whether a line segment corresponds to a tip of a stylus according to an embodiment of the present invention. Compared with the embodiment of FIG. 10A , the embodiment of FIG. 10B continues
接着,在步骤1025当中,判断该第一斜率与该第二斜率是否都大于斜率临界值。当判断结果为否,则执行步骤1050,认定该线段不对应至该触控笔的笔尖,或不是任何外部导电物件的小面积接触事件。当判断结果为真时,可以执行可选的步骤1030,或是直接执行步骤1040,认定该线段对应至该触控笔的笔尖,或是任何外部导电物件的小面积接触事件。Next, in
请参阅图10C所示,其为根据本发明实施例的判断线段是否对应至触控笔的笔尖的流程示意图。和图10A的实施例相比,图10C的实施例沿用了所有的步骤,只不过其顺序不同。起始时,执行步骤1030。当判断结果为否时,即执行步骤1050,否则当判断结果为真时,执行可选的步骤1010或1040。当可选的步骤1010执行之后,接着执行步骤1020。当其判断结果为否时,执行步骤1050,否则当判断结果为真时,执行步骤1040。Please refer to FIG. 10C , which is a schematic flowchart of determining whether a line segment corresponds to a tip of a stylus according to an embodiment of the present invention. Compared with the embodiment of FIG. 10A , the embodiment of FIG. 10C uses all the steps, but in a different order. Initially,
请参阅图10D所示,其为根据本发明实施例的判断线段是否对应至触控笔的笔尖的流程示意图。和图10C的实施例相比,图10D的实施例将步骤1010与1020分别换成前述的步骤1015与1025。起始时,执行步骤1030。当判断结果为否时,即执行步骤1050,否则当判断结果为真时,执行可选的步骤1015或1040。当可选的步骤1015执行之后,接着执行步骤1025。当其判断结果为否时,执行步骤1050,否则当判断结果为真时,执行步骤1040。Please refer to FIG. 10D , which is a schematic flowchart of determining whether a line segment corresponds to the tip of a stylus according to an embodiment of the present invention. Compared with the embodiment of FIG. 10C , the embodiment of FIG. 10D replaces
请参阅图11A所示,其为根据本发明实施例的判断线段是否对应至悬浮的导电物件的流程示意图。图9所示的触控处理装置930可用于执行图11A所示的方法流程图与其可能的所有变化。该触控处理装置930可以包含或连接到内存,以供储存所执行的软件、韧体、触控信号值、其差值、其双差值、以及其他计算结果或中间值。在图11A当中,除了有因果关系的步骤除外,本发明并不限定各个步骤施行的先后顺序,也不限定在各个步骤之间插入其他的步骤。另外,图11A的实施例也可以参阅图5A、图5B、图5C、图8、图10A、图10B、图10C、与图10D的实施例。Please refer to FIG. 11A , which is a schematic flowchart of determining whether a line segment corresponds to a suspended conductive object according to an embodiment of the present invention. The
在实施例中,可以如图8实施例的步骤810至840一般,取得线段与该线段相对应的触控信号值。接着,执行步骤1110,计算该线段边缘的第一斜率。此处所指的第一斜率,可以是该线段左侧边缘的斜率,也可以是该线段右侧边缘的斜率。在范例中,当第一斜率为线段左侧边缘的斜率时,可以由线段最左侧向右寻找第一个相对高点,接着计算线段左侧边缘至该第一个相对高点的第一斜率。在另一范例中,当第一斜率为线段右侧边缘的斜率时,可以由线段最右侧向左寻找第一个相对高点,接着计算线段右侧边缘至该第一个相对高点的第一斜率。除此之外,还可以利用其他的斜率计算方法。例如,可以直接计算线段边缘某一范围的斜率值,作为上述的第一斜率。In an embodiment, the touch signal value corresponding to the line segment and the line segment can be obtained as in
当计算出该第一斜率之后,可以继续执行步骤1120,判断该第一斜率是否小于斜率临界值。当结果为否时,可以执行步骤1150,认定该线段不对应至悬浮的导电物件。当判断结果为真时,可以执行可选的步骤1130,或是直接执行步骤1140,认定该线段对应至悬浮的导电物件。After the first slope is calculated,
在可选的步骤1130当中,判断该线段的长度是否小于长度临界值。当判断结果为否时,则执行步骤1150,认定该线段不对应至悬浮的导电物件。当判断结果为真时,执行步骤1140,认定该线段对应至悬浮的导电物件。In
请参阅图11B所示,其为根据本发明实施例的判断线段是否对应至悬浮的导电物件的流程示意图。和图11A的实施例相比,图11B的实施例沿用了步骤1130、1140、与1150。在起始步骤1115当中,除了计算第一斜率之外,还计算了第二斜率。换言之,即计算了该线段左侧边缘与右侧边缘的斜率。当第一斜率代表线段左侧边缘的斜率时,第二斜率即代表线段右侧边缘的斜率。反之,当第一斜率代表线段右侧边缘的斜率时,第二斜率即代表线段左侧边缘的斜率。Please refer to FIG. 11B , which is a schematic flowchart of determining whether a line segment corresponds to a suspended conductive object according to an embodiment of the present invention. Compared with the embodiment of FIG. 11A , the embodiment of FIG. 11B continues
接着,在步骤1125当中,判断该第一斜率与该第二斜率是否都大于斜率临界值。当判断结果为否,则执行步骤1150,认定该线段不对应至悬浮的导电物件。当判断结果为真时,可以执行可选的步骤1130,或是直接执行步骤1140,认定该线段对应至悬浮的导电物件。Next, in
接着,在步骤1125当中,判断该第一斜率与该第二斜率是否都大于斜率临界值。当判断结果为否,则执行步骤1150,认定该线段不对应至该悬浮的导电物件。当判断结果为真时,可以执行可选的步骤1130,或是直接执行步骤1140,认定该线段对应至悬浮的导电物件。Next, in
请参阅图11C所示,其为根据本发明实施例的判断线段是否对应至悬浮的导电物件的流程示意图。和图11A的实施例相比,图11C的实施例沿用了所有的步骤,只不过其顺序不同。起始时,执行步骤1130。当判断结果为否时,即执行步骤1150,否则当判断结果为真时,执行可选的步骤1110或1140。当可选的步骤1110执行之后,接着执行步骤1120。当其判断结果为否时,执行步骤1150,否则当判断结果为真时,执行步骤1140。Please refer to FIG. 11C , which is a schematic flowchart of determining whether a line segment corresponds to a suspended conductive object according to an embodiment of the present invention. Compared to the embodiment of FIG. 11A, the embodiment of FIG. 11C uses all the steps, but in a different order. Initially,
请参阅图11D所示,其为根据本发明实施例的判断线段是否对应至悬浮的导电物件的流程示意图。和图11C的实施例相比,图11D的实施例将步骤1110与1120分别换成前述的步骤1115与1125。起始时,执行步骤1130。当判断结果为否时,即执行步骤1150,否则当判断结果为真时,执行可选的步骤1115或1140。当可选的步骤1115执行之后,接着执行步骤1125。当其判断结果为否时,执行步骤1150,否则当判断结果为真时,执行步骤1140。Please refer to FIG. 11D , which is a schematic flowchart of determining whether a line segment corresponds to a suspended conductive object according to an embodiment of the present invention. Compared with the embodiment of FIG. 11C , the embodiment of FIG. 11D replaces
请参阅图12所示,其为根据本发明实施例的排除手掌所对应的线段群的流程示意图。图9所示的触控处理装置930可用于执行图12所示的方法流程图与其可能的所有变化。该触控处理装置930可以包含或连接到内存,以供储存所执行的软件、韧体、触控信号值、其差值、其双差值、以及其他计算结果或中间值。在图12当中,除了有因果关系的步骤除外,本发明并不限定各个步骤施行的先后顺序,也不限定在各个步骤之间插入其他的步骤。另外,第图12的实施例也可以参阅图6与图8的实施例。Please refer to FIG. 12 , which is a schematic flowchart of excluding a line segment group corresponding to a palm according to an embodiment of the present invention. The
在执行图12的实施例之前,可以先执行图8所示实施例的步骤810至830。接着,在步骤1210,将取得的各个线段组成一个以上的线段群。如图6的实施例所示,当相邻的线段有某一范围重叠,或是各个线段在垂直部分相邻者,即可以用这些线段组成一个线段群。在步骤1210之后,可以执行可选的步骤1220或是跳到步骤1250。Before executing the embodiment of FIG. 12 ,
在可选的次一步骤1220当中,判断当前时间或取得线段群的时间是否在时间戳的有效期限内。当没有设定任何时间戳,或是上述时间并不在时间戳的有效期限之内时,流程执行可选的步骤1240。假设当上述时间位在时间戳的有效期限之内,则流程执行可选的步骤1230。In an optional
先前已经提过,判断某一线段群是否为相应于手掌造成的近接事件,可以包含多种条件。如图6的实施例当中已经提到,当某一线段群具有以下其中一个条件或其任意组合时,可以认为该线段群对应至手掌。条件一,是线段群中的某一线段的某一信号值高过手掌信号门坎值,则认为该线段群是手掌。条件二,是线段群中的某一线段的长度大于手掌长度门坎值时。条件三,是线段群的线段数量大于手掌线段数量门坎值时。手掌长度门坎值可以等于手掌线段数量门坎值,也可以不等于。As mentioned earlier, judging whether a certain line segment group corresponds to a proximity event caused by a palm may include various conditions. As mentioned in the embodiment of FIG. 6 , when a certain line segment group has one of the following conditions or any combination thereof, it can be considered that the line segment group corresponds to the palm. The first condition is that a certain signal value of a certain line segment in the line segment group is higher than the threshold value of the palm signal, then the line segment group is considered to be the palm. The second condition is when the length of a certain line segment in the line segment group is greater than the threshold value of the palm length. The third condition is when the number of line segments in the line segment group is greater than the threshold value of the number of palm line segments. The threshold value of the palm length may be equal to the threshold value of the number of palm line segments, or it may not be equal.
在可选的步骤1230当中,可以放宽或降低上述条件的门坎值的部分或全部,例如上述的手掌信号门坎值、手掌长度门坎值、与手掌线段数量门坎值等。相对的,在可选的步骤1240当中,即还原步骤1230当中被放宽的门坎值。本发明并不限定放宽与还原的各种情况。In
接着,执行步骤1250,根据上述步骤1230、1240、或是各个条件固定的门坎值,判断哪一个线段群是对应至手掌的手掌线段群。假设步骤1250并没有判断出任何一个手掌线段群,则流程可以停止。反之,当步骤1250判断出一个或多个手掌线段群时,则流程可以进入可选的步骤1260或是直接进入步骤1270。Next,
步骤1260与步骤1220、1230、1240一样是可选的。在步骤1260中,由于步骤1250已经找出一个或多个手掌线段群,因此需要更新时间戳的有效期限。如果尚未设立时间戳,则可以在步骤1260建立一个新的时间戳。在执行步骤1210时,若没有设立时间戳,则流程可以直接自步骤1210跳到步骤1250。
在步骤1270当中,执行扩张手掌线段群的程序。对于每一个手掌线段群,可以执行下列步骤的其中之一或全部。步骤1270可以包含水平扩张步骤、垂直扩张步骤、以及矩形扩张步骤。In
水平扩张步骤是将该手掌线段群的各个线段沿着线段的方向分别向前后延伸固定长度或是比例长度。该比例长度可以是随着该线段的长度而改变。若该线段长度较长,则可以延伸较长的距离。若该线段长度较短,则延伸较短的距离。The step of horizontal expansion is to extend each line segment of the palm line segment group forward and backward by a fixed length or a proportional length respectively along the direction of the line segment. The proportional length may vary with the length of the line segment. If the line segment is longer, it can extend a longer distance. If the line segment is shorter in length, it extends a shorter distance.
垂直扩张步骤是将该手掌线段群边缘的最上方线段与最下方线段分别向上方与下方延伸一次或多次,所延伸的线段长度和边缘线段的长度相同或是呈比例关系。比方说,第一个延伸线段长度可以是边缘线段的八成,第二个延伸线段长度可以是第一个延伸线段长度的八成,以此类推,直到延伸线段的个数达到上限,或是延伸线段的长度低于下限为止。The vertical expansion step is to extend the uppermost line segment and the lowermost line segment of the edge of the palm line segment group upward and downward for one or more times respectively, and the length of the extended line segment is the same as or proportional to the length of the edge line segment. For example, the length of the first extension line segment can be 80% of the length of the edge line segment, the length of the second extension line segment can be 80% of the length of the first extension line segment, and so on, until the number of extension line segments reaches the upper limit, or the extension line segment length is below the lower limit.
矩形扩张步骤是找出一个扩张手掌矩形包围住该手掌线段群。在范例中,一个手掌矩形的边缘将包含最上方线段与最下方线段,以及该手掌线段群当中最左边的位置与最右边的位置。在另一实施例中,该扩张手掌矩形可以包含上述最小的手掌矩形。The step of rectangle expansion is to find an expanded palm rectangle to surround the palm line segment group. In an example, the edge of a palm rectangle will include the uppermost line segment and the lowermost line segment, and the leftmost position and the rightmost position in the palm line segment group. In another embodiment, the expanded palm rectangle may comprise the smallest palm rectangle described above.
被扩张的范围涵盖到的其他线段群,同样被视为手掌线段群。在实施例中,上述的扩张或延伸的范围只限于一次,亦即被扩张范围涵盖到的扩张手掌线段群无须再进行延伸。在另一实施例中,上述的扩张或延伸的范围可以是多次,亦即被扩张范围涵盖到的扩张手掌线段群可以再进行延伸,只不过延伸或扩张的步骤可以与原手掌线段群相同,也可以与原手掌线段群不同。The other line segment groups covered by the expanded range are also regarded as palm line segment groups. In the embodiment, the above-mentioned expansion or extension range is limited to only one time, that is, the expanded palm line segment group covered by the expansion range does not need to be extended again. In another embodiment, the above-mentioned expansion or extension range can be multiple times, that is, the expanded palm line segment group covered by the expansion range can be extended again, but the steps of extending or expanding can be the same as the original palm line segment group , and can also be different from the original palm line segment group.
最后,流程执行步骤1280,也就是排除在步骤1250所找到的手掌线段群,以及在步骤1270当中所扩张到的扩张手掌线段群。Finally, the process executes
请参阅图13所示,其为根据本发明实施例的手掌线段群的判断方法。在图9所示的触控处理装置930可用于执行图13所示的方法流程图与其可能的所有变化。该触控处理装置930可以包含或连接到内存,以供储存所执行的软件、韧体、触控信号值、其差值、其双差值、以及其他计算结果或中间值。在图13当中,除了有因果关系的步骤除外,本发明并不限定各个步骤施行的先后顺序,也不限定在各个步骤之间插入其他的步骤。另外,图13的实施例也可以参阅图7与图12的实施例。Please refer to FIG. 13 , which is a method for judging a palm line segment group according to an embodiment of the present invention. The
在实施例中,图13的实施例可以适用于图12的步骤1250当中。在步骤1250判断出一个或多个线段群为手掌线段群之后,可以再执行图13的实施例进行验证。但本发明并不限定图13的实施例一定要适用于图12的情况。In an embodiment, the embodiment of FIG. 13 may be applied in
当某一线段群被认定为手掌线段群之后,可以首先执行步骤1310,将该线段群的各线段长度的总和与手掌线段群长度临界值进行比较,当该总长度大于该手掌线段群长度临界值时,则流程可以执行步骤1340,认定该线段群为手掌线段群。否则流程可以执行步骤1330,认定该线段群非手掌线段群。After a certain line segment group is identified as the palm line segment group,
在另一实施例当中,当总长度大于该手掌线段群长度临界值时,可以再执行步骤1320,判断各线段长度是否依序变大变小达到某一次数。当达到某一次数时,流程可以执行步骤1330,认定该线段群非手掌线段群。否则执行步骤1340,认定该线段群为手掌线段群。In another embodiment, when the total length is greater than the threshold length of the palm line segment group,
在另一实施例中,当某一线段群被认定为手掌线段群之后,可以首先执行步骤1320,判断各线段长度是否依序变大变小达到某一次数。当达到某一次数时,流程可以执行步骤1330,认定该线段群非手掌线段群。否则执行步骤1340,认定该线段群为手掌线段群。In another embodiment, after a certain line segment group is identified as a palm line segment group,
在更一实施例中,当各线段长度依序变大变小达到某一次数时,可以回头来执行步骤1310。当该总长度大于该手掌线段群长度临界值时,则流程可以执行步骤1340,认定该线段群为手掌线段群。否则流程可以执行步骤1330,认定该线段群非手掌线段群。In another embodiment, when the length of each line segment increases and decreases sequentially for a certain number of times,
综上所述,可以利用步骤1310与/或1320来判断某一线段群是否真的是手掌线段群。而判断出某一线段群并非手掌线段群之后,则可以利用以下几个步骤之一将其拆解为多个线段群。比方说:可以沿着线段群的中线,找出信号值的相对低点。将线段群沿着这些相对低点进行切割。此外,也可以找出线段群中线段长度小于某一长度临界值的线段,沿着这些线段进行切割。再者,还可以找出线段群中线段长度较相邻的线段长度短的线段,沿着这些线段进行切割。假设相邻的两个线段长度相同,且小于其他相邻的两个线段长度,则这两个长度相同的相邻线段分为两个线段群。To sum up,
值得一提的是,当某一线段群被分割为多个线段群之后,这些线段群就不会被图12步骤1270影响。换言之,即便这些线段群落入扩张的手掌线段群,也不会被加入手掌线段群。It is worth mentioning that after a certain line segment group is divided into multiple line segment groups, these line segment groups will not be affected by
本发明的特征之一,在于提供一种判断错误近接事件的方法,包含:取得线段范围相应的一个或多个触控信号值;计算每一个该触控信号值与基准值的差值的总和;以及当该总和小于或等于零时,认为该线段范围相应到错误的近接事件。One of the features of the present invention is to provide a method for judging an erroneous proximity event, comprising: obtaining one or more touch signal values corresponding to a line segment range; calculating the sum of the difference between each touch signal value and a reference value ; and when the sum is less than or equal to zero, the line segment range is considered to correspond to an erroneous proximity event.
本发明的特征之一,在于提供一种判断错误近接事件的装置,用于进行下列步骤:取得线段范围相应的一个或多个触控信号值;计算每一个该触控信号值与基准值的差值的总和;以及当该总和小于或等于零时,认为该线段范围相应到错误的近接事件。One of the features of the present invention is to provide a device for judging an erroneous proximity event, for performing the following steps: obtaining one or more touch signal values corresponding to a line segment range; calculating the difference between each touch signal value and a reference value the sum of the differences; and when the sum is less than or equal to zero, the line segment range is considered to correspond to a false proximity event.
在一实施例中,该方法更包含根据内含触控信号值的双差值的壹维度感测信息,计算该线段范围。在另一实施例中,该方法更包含根据内含触控信号值的差值的壹维度感测信息,计算该内含触控信号值的双差值的壹维度感测信息。在更一实施例中,该方法更包含根据内含触控信号值的壹维度感测信息,取得该内含触控信号值的差值的壹维度感测信息。In one embodiment, the method further includes calculating the line segment range according to one-dimensional sensing information including a double difference value of the touch signal value. In another embodiment, the method further includes calculating the one-dimensional sensing information including the double difference value of the touch signal value according to the one-dimensional sensing information including the difference value of the touch signal value. In a further embodiment, the method further includes obtaining the one-dimensional sensing information including the difference value of the touch signal value according to the one-dimensional sensing information including the touch signal value.
在实施例中,当该总和大于零时,计算该线段范围相应的该近接事件。In an embodiment, when the sum is greater than zero, the proximity event corresponding to the line segment range is calculated.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的方法,该方法包含:取得线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否大于斜率临界值;当该第一斜率大于该斜率临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a method for judging whether a line segment corresponds to a stylus tip, the method comprising: obtaining a plurality of touch signal values corresponding to the line segment range; calculating the first slope of the edge of the line segment range; determining Whether the first slope is greater than the slope threshold; when the first slope is greater than the slope threshold, it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的装置,该装置用于执行下列的步骤:取得一线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否大于斜率临界值;当该第一斜率大于该斜率临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a device for judging whether a line segment corresponds to a stylus tip, the device is used for performing the following steps: obtaining a plurality of touch signal values corresponding to a line segment range; calculating the edge of the line segment range The first slope is determined; whether the first slope is greater than the slope threshold is determined; when the first slope is greater than the slope threshold, it is determined that the line segment corresponds to the stylus tip.
在实施例中,当该第一斜率大于该斜率临界值时,再判断该线段的长度是否小于长度临界值。当该线段的长度小于该长度临界值时,认定该线段对应至该触控笔笔尖。In an embodiment, when the first slope is greater than the slope threshold, it is then determined whether the length of the line segment is less than the length threshold. When the length of the line segment is less than the length threshold, it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的方法,该方法包含:取得线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与第二斜率是否都大于斜率临界值;当该第一斜率与该第二斜率都大于该斜率临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a method for judging whether a line segment corresponds to a stylus tip, the method comprising: obtaining a plurality of touch signal values corresponding to a line segment range; calculating a first slope and a first slope of the edge of the line segment range Two slopes; determine whether the first slope and the second slope are both greater than the slope threshold; when both the first slope and the second slope are greater than the slope threshold, it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的装置,该装置用于执行下列的步骤:取得线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与第二斜率是否都大于斜率临界值;当该第一斜率与该第二斜率都大于该斜率临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a device for judging whether a line segment corresponds to a stylus tip, the device is used for performing the following steps: obtaining a plurality of touch signal values corresponding to the line segment range; calculating the edge of the line segment range the first slope and the second slope; determine whether the first slope and the second slope are both greater than the slope threshold; when both the first slope and the second slope are greater than the slope threshold, it is determined that the line segment corresponds to the touch Pen nib.
在实施例中,当该第一斜率与该第二斜率都大于该斜率临界值时,再判断该线段的长度是否小于长度临界值。当该线段的长度小于该长度临界值时,认定该线段对应至该触控笔笔尖。In an embodiment, when both the first slope and the second slope are greater than the slope threshold, it is then determined whether the length of the line segment is less than the length threshold. When the length of the line segment is less than the length threshold, it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的方法,该方法包含:判断该线段的长度是否小于长度临界值;以及当该线段的长度小于该长度临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a method for judging whether a line segment corresponds to a stylus tip, the method comprising: judging whether the length of the line segment is less than a length threshold; and when the length of the line segment is less than the length threshold , it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至触控笔笔尖的装置,该装置用于执行下列的步骤:判断该线段的长度是否小于长度临界值;以及当该线段的长度小于该长度临界值时,认定该线段对应至该触控笔笔尖。One of the features of the present invention is to provide a device for judging whether a line segment corresponds to a stylus tip, the device is used for performing the following steps: judging whether the length of the line segment is less than a length threshold; and when the length of the line segment is less than When the length is the critical value, it is determined that the line segment corresponds to the tip of the stylus.
在实施例中,更包含:当该线段的长度小于该长度临界值时,取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否大于斜率临界值;当该第一斜率大于该斜率临界值时,认定该线段对应至该触控笔笔尖。In an embodiment, the method further includes: when the length of the line segment is less than the length threshold, obtaining a plurality of touch signal values corresponding to the line segment range; calculating a first slope of the edge of the line segment range; judging whether the first slope is greater than a slope threshold; when the first slope is greater than the slope threshold, it is determined that the line segment corresponds to the stylus tip.
在实施例中,更包含:当该线段的长度小于该长度临界值时,取得线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与该第二斜率是否都大于斜率临界值;当该第一斜率与第二斜率都大于该斜率临界值时,认定该线段对应至该触控笔笔尖。In an embodiment, the method further includes: when the length of the line segment is less than the length threshold, obtaining a plurality of touch signal values corresponding to the line segment range; calculating the first slope and the second slope of the edge of the line segment range; determining the first slope Whether the slope and the second slope are both greater than the slope threshold; when both the first slope and the second slope are greater than the slope threshold, it is determined that the line segment corresponds to the stylus tip.
本发明的特征之一,在于提供一种判断线段是否对应至悬浮的导电物件的方法,该方法包含:取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否小于斜率临界值;当该第一斜率小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is to provide a method for determining whether a line segment corresponds to a floating conductive object, the method comprising: obtaining a plurality of touch signal values corresponding to the line segment range; calculating a first slope of the edge of the line segment range; It is judged whether the first slope is less than the slope threshold; when the first slope is less than the slope threshold, it is determined that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于一种判断线段是否对应至悬浮的导电物件的装置,该装置用于执行下列的步骤:取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否小于斜率临界值;当该第一斜率小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is a device for judging whether a line segment corresponds to a floating conductive object, the device is used for performing the following steps: obtaining a plurality of touch signal values corresponding to the line segment range; calculating the edge of the line segment range a first slope; judging whether the first slope is less than a slope threshold value; when the first slope is less than the slope threshold value, it is determined that the line segment corresponds to the suspended conductive object.
在实施例中,当该第一斜率小于该斜率临界值时,再判断该线段的长度是否小于长度临界值。当该线段的长度小于该长度临界值时,认定该线段对应至该悬浮的导电物件。In an embodiment, when the first slope is less than the slope threshold value, it is further determined whether the length of the line segment is less than the length threshold value. When the length of the line segment is less than the length threshold, it is determined that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于提供一种判断线段是否对应至悬浮的导电物件的方法,该方法包含:取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与该第二斜率是否都小于斜率临界值;当该第一斜率与该第二斜率都小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is to provide a method for judging whether a line segment corresponds to a floating conductive object, the method comprising: obtaining a plurality of touch signal values corresponding to the line segment range; calculating the first slope of the edge of the line segment range and second slope; determine whether the first slope and the second slope are both less than a slope threshold; when both the first slope and the second slope are less than the slope threshold, determine that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于一种判断线段是否对应至悬浮的导电物件的装置,该装置用于执行下列的步骤:取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与该第二斜率是否都小于斜率临界值;当该第一斜率与该第二斜率都小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is a device for judging whether a line segment corresponds to a floating conductive object, the device is used for performing the following steps: obtaining a plurality of touch signal values corresponding to the line segment range; calculating the edge of the line segment range the first slope and the second slope; determine whether the first slope and the second slope are both less than the slope threshold; when both the first slope and the second slope are less than the slope threshold, it is determined that the line segment corresponds to the suspension conductive objects.
在实施例中,当该第一斜率与该第二斜率都小于该斜率临界值时,再判断该线段的长度是否小于长度临界值。当该线段的长度小于该长度临界值时,认定该线段对应至该悬浮的导电物件。In an embodiment, when both the first slope and the second slope are less than the slope threshold, it is then determined whether the length of the line segment is less than the length threshold. When the length of the line segment is less than the length threshold, it is determined that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于提供一种判断线段是否对应至悬浮的导电物件的方法,该方法包含:判断该线段的长度是否小于长度临界值;以及当该线段的长度小于该长度临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is to provide a method for judging whether a line segment corresponds to a floating conductive object, the method comprising: judging whether the length of the line segment is less than a length threshold; and when the length of the line segment is less than the length threshold , it is determined that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于提供一种判断线段是否对应至悬浮的导电物件的装置,该装置用于执行下列的步骤:判断该线段的长度是否小于长度临界值;以及当该线段的长度小于该长度临界值时,认定该线段对应至该悬浮的导电物件。One of the features of the present invention is to provide a device for judging whether a line segment corresponds to a suspended conductive object, the device is used for performing the following steps: judging whether the length of the line segment is less than a length threshold; and when the length of the line segment is less than When the length is the critical value, it is determined that the line segment corresponds to the suspended conductive object.
在实施例中,更包含:当该线段的长度小于该长度临界值时,取得该线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率;判断该第一斜率是否小于斜率临界值;当该第一斜率小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。In an embodiment, the method further includes: when the length of the line segment is less than the length threshold, obtaining a plurality of touch signal values corresponding to the line segment range; calculating the first slope of the edge of the line segment range; judging whether the first slope is less than a slope threshold; when the first slope is less than the slope threshold, it is determined that the line segment corresponds to the suspended conductive object.
在实施例中,更包含:当该线段的长度小于该长度临界值时,取得线段范围相应的多个触控信号值;计算该线段范围边缘的第一斜率与第二斜率;判断该第一斜率与该第二斜率是否都小于斜率临界值;当该第一斜率与第二斜率都小于该斜率临界值时,认定该线段对应至该悬浮的导电物件。In an embodiment, the method further includes: when the length of the line segment is less than the length threshold, obtaining a plurality of touch signal values corresponding to the line segment range; calculating the first slope and the second slope of the edge of the line segment range; determining the first slope Whether the slope and the second slope are both less than the slope threshold; when the first slope and the second slope are both less than the slope threshold, it is determined that the line segment corresponds to the suspended conductive object.
本发明的特征之一,在于提供一种排除手掌所对应的线段群的方法,该方法包含:获得多个线段群;判断该多个线段群当中是否存在一个或多个手掌线段群;当该手掌线段群存在时,扩张该手掌线段群;以及排除扩张后的手掌线段群。One of the features of the present invention is to provide a method for excluding line segment groups corresponding to the palm, the method comprising: obtaining a plurality of line segment groups; judging whether one or more palm line segment groups exist in the plurality of line segment groups; When the palm line segment group exists, the palm line segment group is expanded; and the expanded palm line segment group is excluded.
本发明的特征之一,在于提供一种排除手掌所对应的线段群的装置,该装置用于执行下列的步骤:获得多个线段群;根据手掌线段群的判断条件,判断该多个线段群当中是否存在一个或多个手掌线段群;当该手掌线段群存在时,扩张该手掌线段群;以及排除扩张后的手掌线段群。One of the features of the present invention is to provide a device for excluding line segment groups corresponding to the palm, the device is used for performing the following steps: obtaining a plurality of line segment groups; and judging the plurality of line segment groups according to the judgment conditions of the palm line segment groups Whether there are one or more palm line segment groups; when the palm line segment group exists, expand the palm line segment group; and exclude the expanded palm line segment group.
在实施例中,更包含:在获得该多个线段群之后,判断获得该多个线段群的时间是否在时间戳的有效期限内;当在有效期限内时,放宽手掌线段群的判断条件;当不在有效期限内时,还原手掌线段群的判断条件。在更一实施例中,更包含:当该手掌线段群存在时,更新该时间戳的有效期限。In an embodiment, it further includes: after obtaining the plurality of line segment groups, judging whether the time for obtaining the plurality of line segment groups is within the validity period of the timestamp; when within the validity period, relaxing the judgment condition of the palm line segment group; When it is not within the validity period, the judgment condition of the palm line segment group is restored. In another embodiment, the method further includes: updating the validity period of the timestamp when the palm line segment group exists.
在实施例中,该手掌线段群的判断条件包含:当该多个线段群的一线段群的某一线段的某一信号值高过手掌信号门坎值,则认为该线段群是该手掌线段群。In an embodiment, the judgment condition of the palm line segment group includes: when a certain signal value of a certain line segment of the line segment group of the plurality of line segment groups is higher than the palm signal threshold value, it is considered that the line segment group is the palm line segment group .
在实施例中,该手掌线段群的判断条件包含:当该多个线段群的一线段群的某一线段的长度大于手掌长度门坎值,则认为该线段群是该手掌线段群。In an embodiment, the judgment condition of the palm line segment group includes: when the length of a line segment of the line segment group of the plurality of line segment groups is greater than the palm length threshold, the line segment group is considered to be the palm line segment group.
在实施例中,该手掌线段群的判断条件包含当该多个线段群的一线段群的线段数量大于手掌线段群数量门坎值,则认为该线段群是该手掌线段群。In an embodiment, the judgment condition of the palm line segment group includes that when the number of line segments of the line segment group of the plurality of line segment groups is greater than the threshold value of the number of palm line segment groups, the line segment group is considered to be the palm line segment group.
在实施例中,上述放宽手掌线段群的判断条件包含降低以下门坎值的其中之一或任意组合:手掌信号门坎值;手掌长度门坎值;以及手掌线段群数量门坎值。在另一实施例中,上述还原手掌线段群的判断条件包含还原以下门坎值的其中之一或任意组合:手掌信号门坎值;手掌长度门坎值;以及手掌线段群数量门坎值。In an embodiment, the above judgment condition for relaxing the palm line segment group includes lowering one or any combination of the following threshold values: a palm signal threshold value; a palm length threshold value; and a palm line segment group quantity threshold value. In another embodiment, the above judgment condition for restoring the palm line segment group includes restoring one or any combination of the following threshold values: a palm signal threshold value; a palm length threshold value; and a palm line segment number threshold value.
在实施例中,该扩张手掌线段群的步骤更包含下列步骤的其中之一或其任意组合:水平扩张步骤;垂直扩张步骤;以及矩形扩张步骤。In an embodiment, the step of expanding the palm line segment group further includes one of the following steps or any combination thereof: a horizontal expanding step; a vertical expanding step; and a rectangular expanding step.
在实施例中,该水平扩张步骤是将该手掌线段群的各个线段沿着线段的方向分别向前后延伸固定长度或是比例长度。在另一实施例中,该比例长度随着该线段的长度而改变。In an embodiment, in the horizontal expansion step, each line segment of the palm line segment group is respectively extended forward and backward by a fixed length or a proportional length along the direction of the line segment. In another embodiment, the proportional length varies with the length of the line segment.
在实施例中,该垂直扩张步骤是将该手掌线段群边缘的最上方线段与最下方线段分别向上方与下方延伸一次或多次,所延伸的线段长度和边缘线段的长度相同或是呈比例关系。在另一实施例中,所延伸的线段长度和边缘线段的长度和延伸的次数呈现比例关系。In an embodiment, the vertical expansion step is to extend the uppermost line segment and the lowermost line segment of the edge of the palm line segment group upwards and downwards one or more times respectively, and the length of the extended line segment is the same as or proportional to the length of the edge line segment relation. In another embodiment, the length of the extended line segment and the length of the edge line segment and the number of times of extension are in a proportional relationship.
在实施例中,该矩形扩张步骤是找出一个扩张手掌矩形包围住该手掌线段群。在另一实施例中,该扩张手掌矩形包含最小的手掌矩形。In an embodiment, the step of expanding the rectangle is to find an expanded palm rectangle to surround the palm line segment group. In another embodiment, the expanded palm rectangle comprises the smallest palm rectangle.
在实施例中,更包含:在扩张该手掌线段群之前,判断该手掌线段群是否需要分割。在另一实施例中,更包含:当下列条件的其中之一或其任意组合成立时,认定该手掌线段群需要分割:判断该手掌线段群的总长度大于手掌线段群长度临界值;以及判断该手掌线段群的各线段长度依序变大变小达某一次数。In an embodiment, the method further includes: before expanding the palm line segment group, judging whether the palm line segment group needs to be divided. In another embodiment, it further includes: when one of the following conditions or any combination thereof is established, determining that the palm line segment group needs to be divided: judging that the total length of the palm line segment group is greater than a critical value of the length of the palm line segment group; and judging The length of each line segment of the palm line segment group sequentially increases and decreases for a certain number of times.
在实施例中,更包含:当判断该手掌线段群需要分割时,沿着该手掌线段群的中线,找出信号值的多个相对低点。将该手掌线段群沿着该多个相对低点进行切割。在实施例中,更包含:当判断该手掌线段群需要分割时,找出该手掌线段群中线段长度小于某一长度临界值的多个线段,沿着该多个线段进行切割。在实施例中,更包含:当判断该手掌线段群需要分割时,线段群中线段长度较相邻的线段长度短的多个线段,沿着该多个线段进行切割。在另一实施例中,当相邻的两个线段长度相同,且小于其他相邻的两个线段长度,则将这两个长度相同的相邻线段分为两个线段群。In the embodiment, when it is determined that the palm line segment group needs to be divided, finding a plurality of relative low points of the signal value along the center line of the palm line segment group. The palm line segment group is cut along the plurality of relative low points. In the embodiment, when it is determined that the palm line segment group needs to be divided, find out a plurality of line segments in the palm line segment group whose line segment length is less than a certain length threshold, and cut along the plurality of line segments. In the embodiment, when it is determined that the palm line segment group needs to be divided, a plurality of line segments in the line segment group whose line segment lengths are shorter than the adjacent line segment lengths are cut along the plurality of line segments. In another embodiment, when the lengths of two adjacent line segments are the same and smaller than the lengths of the other two adjacent line segments, the two adjacent line segments with the same length are divided into two line segment groups.
在实施例中,更包含:当该手掌线段群被分割为多个第二线段群时,该多个第二线段群不会成为该扩张的手掌线段群。In an embodiment, when the palm line segment group is divided into a plurality of second line segment groups, the plurality of second line segment groups will not become the expanded palm line segment group.
本发明的特征之一,在于提供一种判断手掌线段群是否需要分割的方法,该方法包含:当下列条件的其中之一或其任意组合成立时,认定该手掌线段群需要分割:判断该手掌线段群的总长度大于手掌线段群长度临界值;以及判断该手掌线段群的各线段长度依序变大变小达某一次数。One of the features of the present invention is to provide a method for judging whether a palm line segment group needs to be divided, the method comprising: when one of the following conditions or any combination thereof is established, it is determined that the palm line segment group needs to be divided: judging the palm line segment group The total length of the line segment group is greater than a critical value of the length of the palm line segment group; and it is judged that the length of each line segment of the palm line segment group sequentially increases and decreases for a certain number of times.
本发明的特征之一,在于提供一种判断手掌线段群是否需要分割的装置,该装置用于执行下列的步骤:当下列条件的其中之一或其任意组合成立时,认定该手掌线段群需要分割:判断该手掌线段群的总长度大于手掌线段群长度临界值;以及判断该手掌线段群的各线段长度依序变大变小达某一次数。One of the features of the present invention is to provide a device for judging whether the palm line segment group needs to be divided, the device is used for executing the following steps: when one of the following conditions or any combination thereof is established, it is determined that the palm line segment group needs to be divided Segmentation: judging that the total length of the palm line segment group is greater than a critical value of the length of the palm line segment group; and judging that the length of each line segment of the palm line segment group sequentially increases and decreases for a certain number of times.
在实施例中,更包含:当判断该手掌线段群需要分割时,沿着该手掌线段群的中线,找出信号值的多个相对低点。将该手掌线段群沿着该多个相对低点进行切割。在实施例中,更包含:当判断该手掌线段群需要分割时,找出该手掌线段群中线段长度小于某一长度临界值的多个线段,沿着该多个线段进行切割。在实施例中,更包含:当判断该手掌线段群需要分割时,线段群中线段长度较相邻的线段长度短的多个线段,沿着该多个线段进行切割。在另一实施例中,当相邻的两个线段长度相同,且小于其他相邻的两个线段长度,则将这两个长度相同的相邻线段分为两个线段群。In the embodiment, when it is determined that the palm line segment group needs to be divided, finding a plurality of relative low points of the signal value along the center line of the palm line segment group. The palm line segment group is cut along the plurality of relative low points. In the embodiment, when it is determined that the palm line segment group needs to be divided, find out a plurality of line segments in the palm line segment group whose line segment length is less than a certain length threshold, and cut along the plurality of line segments. In the embodiment, when it is determined that the palm line segment group needs to be divided, a plurality of line segments in the line segment group whose line segment lengths are shorter than the adjacent line segment lengths are cut along the plurality of line segments. In another embodiment, when the lengths of two adjacent line segments are the same and smaller than the lengths of the other two adjacent line segments, the two adjacent line segments with the same length are divided into two line segment groups.
以上叙述仅为本发明的各个实施例,本发明的界定范围将以权利要求范围为准。The above descriptions are merely various embodiments of the present invention, and the scope of the present invention shall be defined by the scope of the claims.
Claims (8)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201361912078P | 2013-12-05 | 2013-12-05 | |
US61/912,078 | 2013-12-05 | ||
CN201410737946.6A CN104699545B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging fault proximity event |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410737946.6A Division CN104699545B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging fault proximity event |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109284017A CN109284017A (en) | 2019-01-29 |
CN109284017B true CN109284017B (en) | 2022-04-15 |
Family
ID=53346707
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810961140.3A Active CN109284017B (en) | 2013-12-05 | 2014-12-05 | Method and device for determining whether a line segment corresponds to a stylus tip or a conductive object |
CN201410737946.6A Active CN104699545B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging fault proximity event |
CN201810962180.XA Active CN109144318B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging whether palm line segment group needs to be segmented |
CN201810961139.0A Active CN109117023B (en) | 2013-12-05 | 2014-12-05 | Method and device for excluding line segment group corresponding to palm |
Family Applications After (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410737946.6A Active CN104699545B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging fault proximity event |
CN201810962180.XA Active CN109144318B (en) | 2013-12-05 | 2014-12-05 | Method and device for judging whether palm line segment group needs to be segmented |
CN201810961139.0A Active CN109117023B (en) | 2013-12-05 | 2014-12-05 | Method and device for excluding line segment group corresponding to palm |
Country Status (2)
Country | Link |
---|---|
CN (4) | CN109284017B (en) |
TW (6) | TWI552047B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI554938B (en) * | 2015-09-03 | 2016-10-21 | 義隆電子股份有限公司 | Control method for a touch device |
CN107908303B (en) * | 2016-10-04 | 2021-02-12 | 禾瑞亚科技股份有限公司 | Touch processing device, electronic system and touch processing method thereof |
TWI700623B (en) * | 2017-05-11 | 2020-08-01 | 禾瑞亞科技股份有限公司 | Touch sensitive processing apparatus, system and method thereof |
US10656762B2 (en) * | 2017-11-22 | 2020-05-19 | Egalax_Empia Technology Inc. | Touch sensitive keyboard system and processing apparatus and method thereof |
CN110392161B (en) * | 2018-04-23 | 2021-09-03 | 敦泰电子有限公司 | Proximity identification method and device and terminal equipment |
TWI684910B (en) * | 2018-08-17 | 2020-02-11 | 大陸商北京集創北方科技股份有限公司 | Gesture detection method of TDDI touch screen and touch display device using the method |
CN110554804B (en) * | 2018-11-21 | 2022-12-06 | 友达光电股份有限公司 | Touch panel device and method for judging and adjusting signal attenuation thereof |
TWI708171B (en) * | 2018-11-21 | 2020-10-21 | 友達光電股份有限公司 | Touch panel device and signal attenuation determining and adjustment method thereof |
CN111078046B (en) | 2019-12-05 | 2022-04-08 | 北京集创北方科技股份有限公司 | Detection method and device and electronic equipment |
TWI724727B (en) * | 2019-12-31 | 2021-04-11 | 禾瑞亞科技股份有限公司 | Touch sensitive processing apparatus and touch system applicable when a touch panel half submerged into conductive liquid and method thereof |
TWI749968B (en) * | 2020-06-17 | 2021-12-11 | 禾瑞亞科技股份有限公司 | Touch sensitive processing apparatus and method thereof, touch system and touch panel |
CN114518806A (en) * | 2020-11-18 | 2022-05-20 | 群创光电股份有限公司 | sensing device |
CN118259779B (en) * | 2024-05-31 | 2024-09-03 | 苏州瀚瑞微电子有限公司 | Touch detection method and touch detection device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102460354A (en) * | 2009-06-12 | 2012-05-16 | 瑟克公司 | Touch pad multi-touch input method from positive slope detection data |
CN102789332A (en) * | 2011-05-17 | 2012-11-21 | 义隆电子股份有限公司 | Method for identifying palm area on touch panel and updating method thereof |
CN103019483A (en) * | 2011-09-22 | 2013-04-03 | 义隆电子股份有限公司 | Touch object identification method |
US8577644B1 (en) * | 2013-03-11 | 2013-11-05 | Cypress Semiconductor Corp. | Hard press rejection |
Family Cites Families (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7746325B2 (en) * | 2002-05-06 | 2010-06-29 | 3M Innovative Properties Company | Method for improving positioned accuracy for a determined touch input |
TW201011605A (en) * | 2008-09-01 | 2010-03-16 | Turbotouch Technology Inc E | Method capable of preventing mistakenly triggering a touch panel |
TWI387908B (en) * | 2008-09-25 | 2013-03-01 | Tpo Displays Corp | Device and method for detecting position of object and image display system using the same device |
US8502787B2 (en) * | 2008-11-26 | 2013-08-06 | Panasonic Corporation | System and method for differentiating between intended and unintended user input on a touchpad |
CN101901068A (en) * | 2009-05-26 | 2010-12-01 | 宇辰光电股份有限公司 | Method for preventing touch panel from being touched by mistake |
TWI489317B (en) * | 2009-12-10 | 2015-06-21 | Tatung Co | Method and system for operating electric apparatus |
US8194051B2 (en) * | 2009-12-15 | 2012-06-05 | Silicon Integrated Systems Corp. | Multiple fingers touch sensing method using matching algorithm |
CN102135828B (en) * | 2010-01-26 | 2012-12-12 | 禾瑞亚科技股份有限公司 | Method and device for signal measurement |
US8493356B2 (en) * | 2010-04-22 | 2013-07-23 | Maxim Integrated Products, Inc. | Noise cancellation technique for capacitive touchscreen controller using differential sensing |
CN102262470A (en) * | 2010-05-28 | 2011-11-30 | 安国国际科技股份有限公司 | Touch point judgment method and system on touch panel |
US8884631B2 (en) * | 2010-05-31 | 2014-11-11 | Egalax—Empia Technology Inc. | Method and device for automatically calibrating touch detection |
CN101882042B (en) * | 2010-06-08 | 2011-10-12 | 苏州瀚瑞微电子有限公司 | Palm judgment method of capacitive touch screen |
TWI416396B (en) * | 2010-09-06 | 2013-11-21 | Au Optronics Corp | Touch point detecting method |
JP4994489B2 (en) * | 2010-10-19 | 2012-08-08 | パナソニック株式会社 | Touch panel device |
TW201316211A (en) * | 2011-10-13 | 2013-04-16 | Novatek Microelectronics Corp | Gesture detecting method capable of filtering panel mistouch |
CN102508574B (en) * | 2011-11-09 | 2014-06-04 | 清华大学 | Projection-screen-based multi-touch detection method and multi-touch system |
TWI590134B (en) * | 2012-01-10 | 2017-07-01 | 義隆電子股份有限公司 | Scan method of a touch panel |
KR20130112350A (en) * | 2012-04-03 | 2013-10-14 | 채상우 | Touch screen apparatus based touch pattern and control method thereof |
US20130265271A1 (en) * | 2012-04-06 | 2013-10-10 | Silicon Integrated Systems Corp. | Method of reducing computation of palm rejection by projecting touch data |
US8976146B2 (en) * | 2012-04-23 | 2015-03-10 | Silicon Integrated Systems Corp. | Method of reducing computation of water tolerance by projecting touch data |
US20130300696A1 (en) * | 2012-05-14 | 2013-11-14 | N-Trig Ltd. | Method for identifying palm input to a digitizer |
TWI579797B (en) * | 2012-08-31 | 2017-04-21 | 禾瑞亞科技股份有限公司 | Processor for image segmentation |
CN102968235B (en) * | 2012-11-27 | 2015-12-02 | 深圳市汇顶科技股份有限公司 | The touch detecting method of touch sensor, system and touch control terminal |
TWI502456B (en) * | 2013-03-18 | 2015-10-01 | Focaltech Systems Co Ltd | Mutual capacitance touch screen and touch-sensitive method |
TW201445428A (en) * | 2013-05-30 | 2014-12-01 | Wintek Corp | Palm rejection method |
TW201504876A (en) * | 2013-07-23 | 2015-02-01 | Wintek Corp | Palm rejection method |
-
2014
- 2014-12-05 CN CN201810961140.3A patent/CN109284017B/en active Active
- 2014-12-05 CN CN201410737946.6A patent/CN104699545B/en active Active
- 2014-12-05 TW TW103146248A patent/TWI552047B/en active
- 2014-12-05 TW TW105118297A patent/TWI604354B/en active
- 2014-12-05 CN CN201810962180.XA patent/CN109144318B/en active Active
- 2014-12-05 CN CN201810961139.0A patent/CN109117023B/en active Active
- 2014-12-05 TW TW103146247A patent/TWI552046B/en active
- 2014-12-05 TW TW105118295A patent/TWI579748B/en active
- 2014-12-05 TW TW103146250A patent/TWI552048B/en active
- 2014-12-05 TW TW103142268A patent/TWI552045B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102460354A (en) * | 2009-06-12 | 2012-05-16 | 瑟克公司 | Touch pad multi-touch input method from positive slope detection data |
CN102789332A (en) * | 2011-05-17 | 2012-11-21 | 义隆电子股份有限公司 | Method for identifying palm area on touch panel and updating method thereof |
CN103019483A (en) * | 2011-09-22 | 2013-04-03 | 义隆电子股份有限公司 | Touch object identification method |
US8577644B1 (en) * | 2013-03-11 | 2013-11-05 | Cypress Semiconductor Corp. | Hard press rejection |
Also Published As
Publication number | Publication date |
---|---|
TW201701133A (en) | 2017-01-01 |
TWI552048B (en) | 2016-10-01 |
CN109117023B (en) | 2021-08-24 |
TW201543294A (en) | 2015-11-16 |
CN104699545B (en) | 2018-09-18 |
TW201543295A (en) | 2015-11-16 |
CN109117023A (en) | 2019-01-01 |
TWI604354B (en) | 2017-11-01 |
CN109144318B (en) | 2021-07-27 |
TWI552045B (en) | 2016-10-01 |
TW201635121A (en) | 2016-10-01 |
CN109284017A (en) | 2019-01-29 |
TWI579748B (en) | 2017-04-21 |
CN109144318A (en) | 2019-01-04 |
TW201543296A (en) | 2015-11-16 |
TW201523389A (en) | 2015-06-16 |
CN104699545A (en) | 2015-06-10 |
TWI552047B (en) | 2016-10-01 |
TWI552046B (en) | 2016-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109284017B (en) | Method and device for determining whether a line segment corresponds to a stylus tip or a conductive object | |
US10429991B2 (en) | Method and apparatus for determining mistaken approaching or touching event | |
US9569045B2 (en) | Stylus tilt and orientation estimation from touch sensor panel images | |
CN110162230B (en) | Touch position identification method and device and storage medium | |
US20130154965A1 (en) | Touch detection system and driving method thereof | |
CN104063097B (en) | Touch device and touch detection method thereof | |
TWI582652B (en) | Touch sensitive information transmission method, processor and system | |
CN102859473B (en) | Pointing position determination device and method, touch panel device, and electronic device | |
US11513636B2 (en) | Method and apparatus for excluding line piece group corresponding to palm | |
CN104423750B (en) | Touch panel capable of detecting stylus and use method thereof | |
US11199927B2 (en) | Method and apparatus for determining mistaken approaching or touching event | |
US20230168800A1 (en) | Display device, display method, recording medium recording display program | |
TWI514212B (en) | Touch panel capable of detecting a stylus and a method of using the same | |
US9317167B2 (en) | Touch control system and signal processing method thereof | |
US20230168767A1 (en) | Input detection device, input detection method, and recording medium recording input detection program | |
CN104216579A (en) | Touch system and signal processing method thereof | |
JP2019145069A (en) | Position detection circuit and position detection method |
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 |