CN101639743B - Touch detection method - Google Patents
Touch detection method Download PDFInfo
- Publication number
- CN101639743B CN101639743B CN2009101400994A CN200910140099A CN101639743B CN 101639743 B CN101639743 B CN 101639743B CN 2009101400994 A CN2009101400994 A CN 2009101400994A CN 200910140099 A CN200910140099 A CN 200910140099A CN 101639743 B CN101639743 B CN 101639743B
- Authority
- CN
- China
- Prior art keywords
- signal
- sensing
- energy
- group
- sensing point
- 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
技术领域technical field
本发明涉及触控检测领域,且特别是有关于一种触控检测方法,其输出的被触碰点位置坐标具有相当的准确性。The present invention relates to the field of touch detection, and in particular to a touch detection method, which outputs position coordinates of touched points with considerable accuracy.
背景技术Background technique
触控面板已被广泛地整合于各类电子产品上作为输入装置,使用者仅需以触碰物体(例如手指或触控笔之类的物体)在面板上滑动或接触,使光标产生相对移动或绝对坐标移动,即可完成包括文字书写、卷动视窗及虚拟按键等各种输入。其中,电容式触控面板为一种可供手指在平滑的面板上移动以控制光标移动的触控面板,当手指触碰面板时,被触控点的第一感测方向及第二感测方向上的能量大小将产生变化,通过检知能量的大小即可判断物体是否触碰电容式触控板及计算出被触碰点的位置坐标。因为电容式触控板的厚度非常薄,其能够设计于超薄的笔记本电脑、键盘、数字播放器或其他电子装置之中,而且电容式触控板并非机械式设计,在维护上非常简便,因而被广泛地采用。Touch panels have been widely integrated into various electronic products as input devices. Users only need to slide or touch objects (such as fingers or stylus) on the panel to make the cursor move relative to each other. Or move with absolute coordinates, you can complete various inputs including text writing, scrolling windows and virtual buttons. Among them, the capacitive touch panel is a kind of touch panel that can move a finger on a smooth panel to control the movement of the cursor. When the finger touches the panel, the first sensing direction and the second sensing direction of the touch point The magnitude of the energy in the direction will change. By detecting the magnitude of the energy, it can be judged whether the object touches the capacitive touch panel and the position coordinates of the touched point can be calculated. Because the thickness of the capacitive touch panel is very thin, it can be designed in ultra-thin notebook computers, keyboards, digital players or other electronic devices, and the capacitive touch panel is not mechanically designed, so it is very easy to maintain. Therefore, it is widely used.
目前,各种适用于单点触控及多点触控的触控检测方法被纷纷提出,然这些触控检测方法输出的被触碰点位置坐标的准确性却高低不一且难以满足使用者日益增加的高触控检测精度的需求,因此有必要对触控检测方法进行持续地改善。At present, various touch detection methods suitable for single-touch and multi-touch have been proposed. However, the accuracy of the position coordinates of the touched points output by these touch detection methods is different and it is difficult to satisfy users. There is an ever-increasing demand for high touch detection accuracy, so it is necessary to continuously improve the touch detection method.
发明内容Contents of the invention
本发明的目的之一就是提供一种触控检测方法,其输出的被触碰点位置坐标具有相当的准确性。One of the objectives of the present invention is to provide a touch detection method, which outputs the coordinates of the touched point with considerable accuracy.
本发明一实施例提出的一种触控检测方法,包括步骤:检测多个第一感测点,并取这些第一感测点上的能量大于第一预设临界值的至少一者为第一信号,能量小于第一预设临界值且所在的第一感测点位置与此至少一第一信号所在的第一感测点位置相接续者为第二信号;以及对此至少一第一信号与这些第二信号的能量进行加权平均,并将加权平均后所得的结果作为被触碰点的第一维度坐标,其中此至少一第一信号与这些第二信号的能量的权重是相关于此至少一第一信号与这些第二信号所在的第一感测点位置。A touch detection method proposed by an embodiment of the present invention includes the steps of: detecting a plurality of first sensing points, and taking at least one of the first sensing points whose energy is greater than a first preset critical value as the first A signal whose energy is less than a first preset critical value and whose first sensing point position is continuous with the first sensing point position of the at least one first signal is a second signal; and for this at least one first sensing point position The energy of the signal and these second signals is weighted averaged, and the result obtained after the weighted average is used as the first dimension coordinate of the touched point, wherein the weight of the at least one first signal and the energy of these second signals is related to The first sensing point where the at least one first signal and the second signals are located.
在本发明的一实施例中,上述的至少一第一信号与多个第二信号的能量的权重按照此至少一第一信号与这些第二信号所在的第一感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, the energy weights of the at least one first signal and the plurality of second signals are in accordance with the sequence of the positions of the first sensing points where the at least one first signal and the second signals are located. increment or decrement.
在本发明的一实施例中,上述的多个第二信号所在的第一感测点位置分设于此至少一第一信号所在的第一感测点位置的两侧。进一步地,在这些第二信号所在的第一感测点位置中,位于此至少一第一信号所在的第一感测点位置的一侧的数目与位于此至少一第一信号所在的第一感测点位置的另一侧的数目相等。In an embodiment of the present invention, the positions of the above-mentioned first sensing points where the plurality of second signals are located are respectively arranged on two sides of the position of the first sensing point where the at least one first signal is located. Further, among the first sensing point positions where the second signals are located, the number of sides located at the first sensing point position where the at least one first signal is located is the same as the number of sides located at the first sensing point position where the at least one first signal is located. The number on the other side of the sensing point position is equal.
在本发明的一实施例中,上述的触控检测方法更包括步骤:检测多个第二感测点,并取这些第二感测点上的能量大于第二预设临界值的至少一者为第三信号,能量小于第二预设临界值且所在的第二感测点位置与此至少一第三信号所在的第二感测点位置相接续者为第四信号;以及对此至少一第三信号与这些第四信号的能量进行加权平均,并将加权平均后所得的结果作为被触碰点的第二维度坐标,其中此至少一第三信号与这些第四信号的能量的权重相关于此至少一第三信号与这些第四信号所在的第二感测点位置。In an embodiment of the present invention, the above-mentioned touch detection method further includes the step of: detecting a plurality of second sensing points, and taking at least one of the second sensing points whose energy is greater than a second preset threshold is the third signal, the energy is less than the second preset critical value and the second sensing point position where it is located is continuous with the second sensing point position where the at least one third signal is located is the fourth signal; and for this at least one The third signal and the energy of these fourth signals are weighted averaged, and the result obtained after the weighted average is used as the second dimension coordinates of the touched point, wherein the at least one third signal is related to the weight of the energy of these fourth signals Here, at least one third signal and the second sensing point where the fourth signals are located.
在本发明的一实施例中,上述的至少一第三信号与多个第四信号的能量的权重按照此至少一第三信号与这些第四信号所在的第二感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, the energy weights of the above-mentioned at least one third signal and the plurality of fourth signals are in accordance with the sequence of the positions of the at least one third signal and the second sensing points where the fourth signals are located. increment or decrement.
在本发明的一实施例中,上述的多个第四信号所在的第二感测点位置分设于此至少一第三信号所在的第二感测点位置的两侧。进一步地,在这些第四信号所在的第二感测点位置中,位于此至少一第三信号所在的第二感测点位置的一侧的数目与位于此至少一第三信号所在的第二感测点位置的另一侧的数目相等。In an embodiment of the present invention, the positions of the second sensing points where the above-mentioned plurality of fourth signals are located are respectively arranged on two sides of the position of the second sensing point where the at least one third signal is located. Further, among the second sensing point positions where these fourth signals are located, the number of sides located at the second sensing point position where the at least one third signal is located is the same as the number of sides located at the second sensing point position where the at least one third signal is located. The number on the other side of the sensing point position is equal.
本发明再一实施例提出的一种触控检测方法,包括步骤:检测多个第一感测点,并找出这些第一感测点上的能量大于第一预设临界值的多个第一信号;依据这些第一信号中所在的第一感测点位置为连续的归为同一群组而非连续者归为不同的群组的规则将这些第一信号分成多个第一群组;以及对每一第一群组和这些第一感测点上与此第一群组相对应且能量小于第一预设临界值的多个第二信号的能量进行加权平均,并将加权平均后所得的结果作为多个被触碰点的一者的第一维度坐标,其中每一第一群组所在的第一感测点位置和与此第一群组相对应的多个第二信号所在的第一感测点位置相接续,且每一第一群组和与此第一群组相对应的多个第二信号的能量的权重相关于此第一群组与这些第二信号所在的第一感测点位置。A touch detection method proposed by yet another embodiment of the present invention includes the steps of: detecting a plurality of first sensing points, and finding a plurality of first sensing points whose energy on these first sensing points is greater than a first preset critical value A signal; dividing the first signals into multiple first groups according to the rule that the positions of the first sensing points in the first signals are consecutive and classified into the same group instead of consecutive ones into different groups; and performing weighted average on each first group and the energy of a plurality of second signals corresponding to the first group and having energy less than the first preset critical value on the first sensing points, and performing the weighted average The obtained result is used as the first dimension coordinate of one of the touched points, wherein the position of the first sensing point of each first group and the position of the plurality of second signals corresponding to the first group are The positions of the first sensing points are consecutive, and the energy weights of each first group and a plurality of second signals corresponding to the first group are related to the positions of the first group and the second signals. The position of the first sensing point.
在本发明的一实施例中,上述的每一第一群组和与此第一群组相对应的多个第二信号的能量的权重按照此第一群组与这些第二信号所在的第一感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, each of the above-mentioned first groups and the energy weights of the plurality of second signals corresponding to the first group are weighted according to the first group and the first group where the second signals are located. The sequence of the positions of a sensing point increases or decreases sequentially.
在本发明的一实施例中,上述的与这些第一群组的一个相对应的多个第二信号所在的第一感测点位置分设于此第一群组所在的第一感测点位置的两侧。进一步地,在与这些第一群组的一者相对应的这些第二信号所在的第一感测点位置中,位于此第一群组所在的第一感测点位置的一侧的数目与位于此第一群组所在的第一感测点位置的另一侧的数目相等。In an embodiment of the present invention, the positions of the above-mentioned first sensing points where the plurality of second signals corresponding to one of the first groups are located are set separately from the positions of the first sensing points where the first group is located on both sides. Further, among the first sensing point positions where the second signals corresponding to one of the first groups are located, the number of sides of the first sensing point position where the first group is located is equal to The numbers on the other side of the first sensing point where the first group is located are equal.
在本发明的一实施例中,上述的触控检测方法更包括步骤:检测多个第二感测点,并找出这些第二感测点上的能量大于第二预设临界值的多个第三信号;依据这些第三信号中所在的第二感测点位置为连续的归为同一群组而非连续者归为不同的群组的规则将这些第三信号分成多个第二群组;以及对每一第二群组和这些第二感测点上与此第二群组相对应且能量小于第二预设临界值的多个第四信号的能量进行加权平均,并将加权平均后所得的结果作为上述多个被触碰点的一者的第二维度坐标,其中每一第二群组所在的第二感测点位置和与此第二群组相对应的多个第四信号所在的第二感测点位置相接续,且每一第二群组和与此第二群组相对应的这些第四信号的能量的权重相关于此第二群组与这些第四信号所在的第二感测点位置。In an embodiment of the present invention, the above-mentioned touch detection method further includes the step of: detecting a plurality of second sensing points, and finding a plurality of the second sensing points whose energy is greater than a second preset threshold. The third signal; the third signals are divided into multiple second groups according to the rule that the second sensing point positions in the third signals are continuous and classified into the same group instead of continuous ones into different groups. and performing weighted average on each second group and the energy of a plurality of fourth signals corresponding to this second group and having energy less than a second preset critical value on these second sensing points, and performing the weighted average The obtained result is used as the second dimension coordinate of one of the above-mentioned multiple touched points, wherein the position of the second sensing point where each second group is located and the plurality of fourth sensing points corresponding to the second group The positions of the second sensing points where the signals are located are continuous, and the energy weights of each second group and the fourth signals corresponding to the second group are related to the second group and the energy weights of the fourth signals. The position of the second sensing point.
在本发明的一实施例中,上述的每一第二群组和与此第二群组相对应的多个第四信号的能量的权重按照此第二群组与这些第四信号所在的第二感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, each of the above-mentioned second groups and the energy weights of the plurality of fourth signals corresponding to the second group are based on the weights of the energy of the second group and the fourth signals where the fourth signals are located. The sequence of the positions of the two sensing points increases or decreases successively.
在本发明的一实施例中,上述的与这些第二群组的一者相对应的多个第四信号所在的第二感测点位置分设于此第二群组所在的第二感测点位置的两侧。进一步地,在与这些第二群组的一个相对应的这些第四信号所在的第二感测点位置中,位于此第二群组所在的第二感测点位置的一侧的数目与位于此第二群组所在的第二感测点位置的另一侧的数目相等。In an embodiment of the present invention, the positions of the above-mentioned second sensing points where the plurality of fourth signals corresponding to one of the second groups are located are set separately from the second sensing points where the second group is located. both sides of the position. Further, in the second sensing point positions where the fourth signals corresponding to one of the second groups are located, the number of sides of the second sensing point positions where the second group is located is the same as the number of positions located on the second sensing point where the second group is located The number on the other side of the second sensing point position where the second group is located is equal.
本发明又一实施例提出的一种触控检测方法,包括步骤:检测多个第一感测点,并获取这些第一感测点上的多个第一信号群组,其中每一第一信号群组包括能量大于第一预设临界值的至少一个第一信号以及能量小于第一预设临界值的多个第二信号,这些第二信号所在的第一感测点位置与此至少一个第一信号所在的第一感测点位置相接续;以及对每一第一信号群组中的此至少一个第一信号与这些第二信号的能量进行加权平均,并将加权平均后所得的结果作为多个被触碰点的一者的第一维度坐标,其中每一第一信号群组中的此至少一个第一信号与这些第二信号的能量的权重相关于此至少一个第一信号与这些第二信号所在的第一感测点位置。进一步地,当此至少一个第一信号的数目为多个时,这些第一信号所在的第一感测点位置彼此相接续。A touch detection method proposed by another embodiment of the present invention includes the steps of: detecting a plurality of first sensing points, and acquiring a plurality of first signal groups on these first sensing points, wherein each first The signal group includes at least one first signal whose energy is greater than a first preset critical value and a plurality of second signals whose energy is smaller than the first preset critical value, and the positions of the first sensing points where these second signals are located are at least one The positions of the first sensing points where the first signals are located are consecutive; and performing a weighted average on the energy of the at least one first signal and the energy of these second signals in each first signal group, and the result obtained after the weighted average As the first dimensional coordinate of one of the plurality of touched points, wherein the weight of the energy of the at least one first signal and the second signals in each first signal group is related to the at least one first signal and the energy of the second signals The positions of the first sensing points where the second signals are located. Further, when the number of the at least one first signal is multiple, the positions of the first sensing points where these first signals are located are consecutive to each other.
在本发明的一实施例中,上述的每一第一信号群组中的此至少一个第一信号与多个第二信号的能量的权重按照此第一信号群组中的此至少一个第一信号与这些第二信号所在的第一感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, the energy weights of the at least one first signal and the plurality of second signals in each first signal group are weighted according to the at least one first signal in the first signal group. The sequence of the signals and the positions of the first sensing points where the second signals are located increases or decreases sequentially.
在本发明的一实施例中,上述的触控检测方法更包括步骤:检测多个第二感测点,并获取这些第二感测点上的多个第二信号群组,其中每一第二信号群组包括能量大于第二预设临界值的至少一个第三信号以及能量小于第二预设临界值的多个第四信号,这些第四信号所在的第二感测点位置与此至少一个第三信号所在的第二感测点位置相接续;以及对每一第二信号群组中的此至少一个第三信号与这些第四信号的能量进行加权平均,并将加权平均后所得的结果作为上述的多个被触碰点的一个的第二维度坐标,其中每一第二信号群组中的此至少一个第三信号与这些第四信号的能量的权重相关于此至少一个第三信号与这些第四信号所在的第二感测点位置。进一步地,当此至少一个第三信号的数目为多个时,这些第三信号所在的第二感测点位置彼此相接续。In an embodiment of the present invention, the above-mentioned touch detection method further includes the step of: detecting a plurality of second sensing points, and acquiring a plurality of second signal groups on these second sensing points, wherein each first The second signal group includes at least one third signal with energy greater than a second preset critical value and a plurality of fourth signals with energy smaller than the second preset critical value, and the positions of the second sensing points where these fourth signals are located are at least the same as the second sensing point. The position of the second sensing point where a third signal is located is continuous; and the energy of the at least one third signal in each second signal group and the energy of these fourth signals are weighted average, and the weighted average is obtained The result is the second-dimensional coordinate of one of the plurality of touched points, wherein the energy weights of the at least one third signal and the fourth signals in each second signal group are related to the at least one third signal and the second sensing point where the fourth signals are located. Further, when the number of the at least one third signal is multiple, the positions of the second sensing points where these third signals are located are consecutive to each other.
在本发明的一实施例中,上述的每一第二信号群组中的此至少一个第三信号与多个第四信号的能量的权重按照此第二信号群组中的此至少一个第三信号与这些第四信号所在的第二感测点位置的先后顺序依次递增或递减。In an embodiment of the present invention, the energy weights of the at least one third signal and the plurality of fourth signals in each second signal group are weighted according to the at least one third signal in the second signal group. The sequence of the signals and the positions of the second sensing points where the fourth signals are located increases or decreases sequentially.
本发明实施例通过预先设定合适的临界值,当检知有信号其的能量超过此临界值,会将此类信号连同能量低于此临界值且其所在的感测点位置与此类信号所在的感测点位置相接续的信号,利用权重的方式,来计算出单个被触碰点的坐标,因此具有相当的准确性。本发明实施例不仅可计算出单点的坐标,同时也支持两点或两点以上的坐标计算,并且本发明实施例利用群组加上权重的方式来计算两点或两点以上的坐标,因而适用于多点触控检测。The embodiment of the present invention pre-sets an appropriate critical value. When a signal is detected whose energy exceeds the critical value, such signal, together with the position of the sensing point where the energy is lower than the critical value and where it is located, is compared with such signal The successive signals of the sensing points are weighted to calculate the coordinates of a single touched point, so the accuracy is quite high. The embodiment of the present invention can not only calculate the coordinates of a single point, but also support the calculation of the coordinates of two or more points, and the embodiment of the present invention uses the method of adding weight to the group to calculate the coordinates of two or more points, Therefore, it is suitable for multi-touch detection.
为让本发明的上述和其他目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
附图说明Description of drawings
图1绘示为相关于本发明实施例提出的一种触控检测方法的一单点触碰情形下的多个感测点的能量分布;FIG. 1 shows the energy distribution of multiple sensing points in a single-point touch situation related to a touch detection method proposed by an embodiment of the present invention;
图2绘示为相关于本发明实施例提出的触控检测方法的一多点触碰情形下的多个感测点的能量分布。FIG. 2 shows the energy distribution of multiple sensing points in a multi-touch situation related to the touch detection method proposed by the embodiment of the present invention.
其中,附图标记Among them, reference signs
101、103、201、203:预设临界值101, 103, 201, 203: preset threshold
SA、SB、SC、SD、SE、SF、SG、SH、SI:X感测方向上的感测点上的能量S A , S B , S C , S D , S E , S F , S G , SH , S I : energy on the sensing point in the X sensing direction
PA、PB、PC、PD、PE、PF、PG、PH、PI:X感测方向上的感测点位置P A , P B , P C , P D , P E , PF , PG , PH , P I : the position of the sensing point in the X sensing direction
Sa、Sb、Sc、Sb、Se、Sf、Sg、Sh、Si:Y感测方向上的感测点上的能量S a , S b , S c , S b , Se , S f , S g , Sh , S i : the energy on the sensing point in the Y sensing direction
Pa、Pb、Pc、Pd、Pe、Pf、Pg、Ph、Pi:Y感测方向上的感测点位置P a , P b , P c , P d , P e , P f , P g , P h , P i : sensing point positions in the Y sensing direction
21、22、23、24:群组21, 22, 23, 24: group
具体实施方式Detailed ways
参见图1,其绘示出相关于本发明实施例提出的一种触控检测方法的一单点触碰情形下的多个感测点上的能量分布。图1中,PA、PB、PC及PD分别为X感测方向上的第A~D个感测点的位置,其分别对应X感测方向上的第A~D个感测通道(Channel),PA、PB、PC及PD为依次相接续的位置,SA、SB、SC及SD分别为X感测方向上的第A~D个感测点上的能量。类似地,Pa、Pb、Pc及Pd分别为Y感测方向上的第a~d个感测点的位置,其分别对应Y感测方向上的第a~d个感测通道,Pa、Pb、Pc及Pd为依次相接续的位置,Sa、Sb、Sc及Sd分别为Y感测方向上的第a~d个感测点上的能量。Referring to FIG. 1 , it shows the energy distribution on multiple sensing points in a single-point touch situation related to a touch detection method proposed by an embodiment of the present invention. In Figure 1, PA , P B , PC and PD are the positions of the A~D sensing points in the X sensing direction, which correspond to the A~D sensing points in the X sensing direction respectively. Channel (Channel), P A , P B , P C and P D are sequential positions, and S A , S B , S C and S D are the A~D sensing points in the X sensing direction on the energy. Similarly, P a , P b , P c and P d are respectively the positions of the ad-th sensing points in the Y sensing direction, which respectively correspond to the a-d-th sensing channels in the Y sensing direction , P a , P b , P c and P d are consecutive positions in sequence, and Sa , S b , S c and S d are the energies of the ad-th sensing points in the Y sensing direction, respectively.
如图1所示,在X感测方向上,PB与PC位置的能量SB、SC皆超过预设临界值101而作为第一信号,第一信号所在的X感测方向上的感测点位置PB与PC彼此相接续。在计算被触碰点的X坐标时,将PB与PC旁的PA、PD位置的能量SA、SD一起去作权重计算,PA、PD位置的能量SA、SD皆低于预设临界值101而作为第二信号。在此,与能量SA、SB、SC及SD相对应第一信号及第二信号构成一信号群组,而被触碰点的X坐标的满足公式(1.1):(SA×PA+SB×PB+SC×PC+SD×PD)/(SA+SB+SC+SD)。从公式(1.1)可以得知,第一信号与第二信号的能量SB、SC及SA、SD的权重相关于第一信号与第二信号所在的X感测方向上的感测点位置PA、PB、PC及PD,并且按照第一信号与第二信号所在的X感测方向上的感测点位置PA、PB、PC及PD的先后顺序依次递增或递减,亦即PA、PB、PC与PD的取值依次递增或递减。另一方面,第二信号所在的X感测方向上的感测点位置PA、PD分设于第一信号所在的X感测方向上的感测点位置PB、PC的两侧并且两侧的数目相等。As shown in FIG. 1 , in the X sensing direction, the energies S B and S C of the positions P B and P C both exceed the preset
请再参考图1,在Y感测方向上,Pb与Pc位置的能量Sb、Sc皆超过预设临界值103而作为第一信号,第一信号所在的Y感测方向上的感测点位置Pb与Pc彼此相接续。在计算被触碰点的Y坐标时,将Pb与Pc旁的Pa、Pd位置的能量Sa、Sd一起去作权重计算,Pa、Pd位置的能量Sa、Sd皆低于预设临界值103而作为第二信号。在此,与能量Sa、Sb、Sc及Sd相对应第一信号及第二信号构成一信号群组,而被触碰点的Y坐标的满足公式(1.3):(Sa×Pa+Sb×Pb+Sc×Pc+Sd×Pd)/(Sa+Sb+Sc+Sd)。从公式(1.3)可以得知,第一信号与第二信号的能量Sb、Sc及Sa、Sd的权重相关于第一信号与第二信号所在的Y感测方向上的感测点位置Pa、Pb、Pc及Pd,并且按照第一信号与第二信号所在的Y感测方向上的感测点位置Pa、Pb、Pc及Pd的先后顺序依次递增或递减,亦即Pa、Pb、Pc与Pd的取值依次递增或递减。另一方面,第二信号所在的Y感测方向上的感测点位置Pa、Pd分设于第一信号所在的Y感测方向上的感测点位置Pb、Pc的两侧并且两侧的数目相等。Please refer to FIG. 1 again. In the Y sensing direction, the energies S b and S c at the positions of P b and P c both exceed the preset
至此,即可获得单个被触碰点的二维坐标,亦即本实施例中的X坐标与Y坐标。So far, the two-dimensional coordinates of a single touched point can be obtained, that is, the X coordinate and the Y coordinate in this embodiment.
参见图2,其绘示出相关于本发明实施例提出的触控检测方法的一多点(图2中示出两点仅作为举例而并非用来限制本发明)触碰情形下的多个感测点上的能量分布。图2中,PA、PB、PC、PD、PE、PF、PG、PH及PI分别为X感测方向上的第A~I个感测点的位置,其对应X感测方向上的第A~I个感测通道,PA、PB、PC、PD、PE、PF、PG、PH及PI为依次相接续的位置,SA、SB、SC、SD、SE、SF、SG、SH及SI为X感测方向上的第A~I个感测点上的能量。类似地,Pa、Pb、Pc、Pd、Pe、Pf、Pg、Ph及Pi分别为Y感测方向上的第a~i个感测点的位置,其对应Y感测方向上的第a~i个感测通道,Pa、Pb、Pc、Pd、Pe、Pf、Pg、Ph及Pi为依次相接续的位置,Sa、Sb、Sc、Sd、Se、Sf、Sg、Sh及Si为Y感测方向上的第a~i个感测点上的能量。Referring to FIG. 2, it depicts a multi-point (two points shown in FIG. 2 are only for example and not intended to limit the present invention) touch situations related to the touch detection method proposed by the embodiment of the present invention. Energy distribution at the sensing point. In Fig. 2, PA , P B , PC , PD , PE , PF , PG , PH and P I are the positions of the A~I sensing points in the X sensing direction respectively, and the Corresponding to the A~I sensing channels in the X sensing direction, PA , P B , PC C , PD , PE , PF , PG , PH and PI are successive positions, and S A , S B , S C , SD , S E , S F , S G , SH and S I are the energies of the A-I th sensing points in the X sensing direction. Similarly, P a , P b , P c , P d , P e , P f , P g , P h and P i are respectively the positions of the a~i-th sensing points in the Y sensing direction, which correspond to The a~i-th sensing channels in the Y sensing direction, P a , P b , P c , P d , P e , P f , P g , P h and P i are successive positions, S a , S b , S c , S d , Se , S f , S g , Sh and S i are the energies of the a~i-th sensing points in the Y sensing direction.
如图2所示,在X感测方向上,PB、PC及PG位置的能量SB、SC及SG皆超过预设临界值201而作为第一信号,由于PB与PC连续的位置且两者与PG不连续,因此能量SB、SC所对应的第一信号被归为同一群组21,而能量SG所对应的第一信号被归为另一群组23。在使用群组21计算被触碰点的X坐标时,将PB与PC旁的PA、PD位置的能量SA、SD一起去作权重计算,PA、PD位置的能量SA、SD皆低于预设临界值201而作为第二信号;在此,与能量SA、SB、SC及SD相对应第一信号及第二信号构成一信号群组,而被触碰点的X坐标满足公式(2.1):(SA×PA+SB×PB+SC×PC+SD×PD)/(SA+SB+SC+SD)。从公式(2.1)可以得知,第一信号与第二信号的能量SB、SC及SA、SD的权重相关于第一信号与第二信号所在的X感测方向上的感测点位置PA、PB、PC及PD,并且按照第一信号与第二信号所在的X感测方向上的感测点位置PA、PB、PC及PD的先后顺序依次递增或递减,亦即PA、PB、PC与PD的取值依次递增或递减。另一方面,第二信号所在的X感测方向上的感测点位置PA、PD分设于第一信号所在的X感测方向上的感测点位置PB、PC的两侧并且两侧的数目相等。As shown in FIG. 2 , in the X sensing direction, the energies S B , S C and S G of the positions of P B , PC and PG all exceed the preset critical value 201 as the first signal. Since P B and P The position of C is continuous and the two are discontinuous with PG , so the first signals corresponding to the energy S B and S C are classified into the same group 21, while the first signals corresponding to the energy S G are classified into another group Group 23. When using group 21 to calculate the X coordinate of the touched point, P B and the energy S A and SD of the positions of PA and PD next to PC are used for weight calculation, and the energy of the positions of PA and PD S A , S D are both lower than the preset critical value 201 as the second signal; here, the first signal and the second signal corresponding to the energy S A , S B , S C and SD constitute a signal group, The X coordinate of the touched point satisfies the formula (2.1): (S A ×P A +S B ×P B +S C ×P C +S D ×P D )/(S A +S B +S C + SD ). It can be known from formula (2.1) that the weights of the energy S B , S C and SA , SD of the first signal and the second signal are related to the sensing in the X sensing direction where the first signal and the second signal are located. point positions P A , P B , PC and PD , and in the order of the sensing point positions PA , P B , PC and PD in the X sensing direction where the first signal and the second signal are located Incremental or decremental, that is, the values of PA, PB , PC and PD are sequentially incremented or decremented. On the other hand, the sensing point positions PA and PD in the X sensing direction where the second signal is located are located on both sides of the sensing point positions P B and PC in the X sensing direction where the first signal is located and There are equal numbers on both sides.
再者,在使用群组23计算被触碰点的X坐标时,将PG旁的PF、PH位置的能量SF、SH一起去作权重计算,PF、PH位置的能量SF、SH皆低于预设临界值而作为第二信号;在此,与能量SF、SG及SH相对应的第一信号与第二信号构成另一信号群组,而被触碰点的X坐标满足公式(2.3):(SF×PF+SG×PG+SH×PH)/(SF+SG+SH)。从公式(2.3)可以得知,第一信号与第二信号的能量SF、SG及SH的权重相关于第一信号与第二信号所在的X感测方向上的感测点位置PF、PG及PH,并且按照第一信号与第二信号所在的X感测方向上的感测点位置PF、PG及PH的先后顺序依次递增或递减,亦即PF、PG及PH的取值依次递增或递减。另一方面,第二信号所在的X感测方向上的感测点位置PF、PH分设于第一信号所在的X感测方向上的感测点位置PG的两侧并且两侧的数目相等。可以理解的是,本实施例中,还可将能量SE及SI以及相对应的X感测方向上的感测点位置PE及PI纳入公式(2.3)中作为计算被触碰点的X坐标使用;换而言之,在X感测方向上,同一信号群组中的第二信号的数目可依据实际需要进行合理设定。Furthermore, when using the group 23 to calculate the X coordinate of the touched point, the energy S F and S H of the PF and PH positions next to PG are used for weight calculation together, and the energy of the PF and PH positions Both S F and S H are lower than the preset critical value as the second signal; here, the first signal and the second signal corresponding to the energy S F , S G and S H constitute another signal group, and are The X coordinate of the touch point satisfies the formula (2.3): (S F ×P F +S G ×P G +S H ×P H )/(S F +S G +S H ). From the formula (2.3), it can be known that the weights of the energy S F , S G and SH of the first signal and the second signal are related to the sensing point position P in the X sensing direction where the first signal and the second signal are located F , PG and PH , and are sequentially increased or decreased according to the order of the sensing point positions PF , PG and PH in the X sensing direction where the first signal and the second signal are located, that is, PF , The values of PG and PH are sequentially increased or decreased. On the other hand, the sensing point positions PF and PH in the X sensing direction where the second signal is located are respectively set on both sides of the sensing point position PG in the X sensing direction where the first signal is located, and on both sides The numbers are equal. It can be understood that in this embodiment, the energy S E and S I and the corresponding sensing point positions PE and P I in the X sensing direction can also be included in the formula (2.3) as the calculation of the touched point In other words, in the X sensing direction, the number of second signals in the same signal group can be reasonably set according to actual needs.
请再参考图2,在Y感测方向上,Pb、Pf及Pg位置的能量Sb、Sf及Sg皆超过预设临界值203而作为第一信号,由于Pf与Pg连续的位置且两者与Pb不连续,因此能量Sf、Sg所对应的第一信号被归为同一群组24,而能量Sb所对应的第一信号被归为另一群组22。在使用群组22计算被触碰点的Y坐标时,将Pb旁的Pa、Pc位置的能量Sa、Sc一起去作权重计算,Pa、Pc位置的能量Sa、Sc皆低于预设临界值而作为第二信号;在此,与能量Sa、Sb及Sc相对应的第一信号与第二信号构成一信号群组,而被触碰点的Y坐标满足公式(2.2):(Sa×Pa+Sb×Pb+Sc×Pc)/(Sa+Sb+Sc)。从公式(2.2)可以得知,第一信号与第二信号的能量Sa、Sb及Sc的权重相关于第一信号与第二信号所在的Y感测方向上的感测点位置Pa、Pb及Pc,并且按照第一信号与第二信号所在的Y感测方向上的感测点位置Pa、Pb及Pc的先后顺序依次递增或递减,亦即Pa、Pb及Pc的取值依次递增或递减。另一方面,第二信号所在的Y感测方向上的感测点位置Pa、Pc分设于第一信号所在的Y感测方向上的感测点位置Pb的两侧并且两侧的数目相等。Please refer to FIG. 2 again. In the Y sensing direction, the energies S b , S f , and S g at the positions of P b , P f , and P g all exceed the preset critical value 203 as the first signal. Since P f and P The positions where g is continuous and both are discontinuous with P b , so the first signals corresponding to energy S f and S g are classified into the
再者,在使用群组24计算被触碰点的Y坐标时,将Pf与Pg旁的Pe、Ph位置的能量Se、Sh一起去作权重计算,Pe、Ph位置的能量Se、Sh皆低于预设临界值203而作为第二信号;在此,与能量Se、Sf、Sg及Sh相对应第一信号及第二信号构成另一信号群组,而被触碰点的Y坐标满足公式(2.4):(Se×Pe+Sf×Pf+Sg×Pg+Sh×Ph)/(Se+Sf+Sg+Sh)。从公式(2.4)可以得知,第一信号与第二信号的能量Sf、Sg及Se、Sh的权重相关于第一信号与第二信号所在的Y感测方向上的感测点位置Pe、Pf、Pg及Ph,并且按照第一信号与第二信号所在的Y感测方向上的感测点位置Pe、Pf、Pg及Ph的先后顺序依次递增或递减,亦即Pe、Pf、Pg与Ph的取值依次递增或递减。另一方面,第二信号所在的Y感测方向上的感测点位置Pe、Ph分设于第一信号所在的Y感测方向上的感测点位置Pf、Pg的两侧并且两侧的数目相等。可以理解的是,本实施例中,还可将能量Sd及Si以及相对应的Y感测方向上的感测点位置Pd及Pi纳入公式(2.4)中作为计算被触碰点的Y坐标使用;换而言之,在Y感测方向上,同一信号群组中的第二信号的数目可依据实际需要进行合理设定。Furthermore, when using the
至此,即可获得多个被触碰点位置的二维坐标,亦即本实施例中的多个X坐标与多个Y坐标。So far, the two-dimensional coordinates of the positions of the touched points can be obtained, that is, the multiple X coordinates and the multiple Y coordinates in this embodiment.
综上所述,本发明前述实施例透过预先设定合适的临界值,当检知有信号其的能量超过此临界值,会将此类信号连同能量低于此临界值且所在的感测点位置与此类信号所在的感测点位置相接续的信号,利用权重的方式,来计算出单个被触碰点的坐标,因此具有相当的准确性。本发明实施例不仅可计算出单点的坐标,同时也支持两点或两点以上的坐标计算,并且本发明实施例利用群组加上权重的方式来计算两点或两点以上的坐标,因而适用于多点触控检测。。To sum up, the foregoing embodiments of the present invention pre-set a suitable threshold value. When a signal is detected whose energy exceeds the threshold value, such signal, together with the sensor whose energy is lower than the threshold value and is located, will be detected. The signal whose point position is continuous with the sensing point where this type of signal is located uses weights to calculate the coordinates of a single touched point, so it has considerable accuracy. The embodiment of the present invention can not only calculate the coordinates of a single point, but also support the calculation of the coordinates of two or more points, and the embodiment of the present invention uses the method of adding weight to the group to calculate the coordinates of two or more points, Therefore, it is suitable for multi-touch detection. .
另外,本领域技术人员可对本发明实施例提出的触控检测方法进行适当变更,例如同一信号群组中的第二信号所在的感测点位置在第一信号所在的感测点位置两侧的数目不相等,及/或改变同一信号群组中第二信号的数目等等。In addition, those skilled in the art can make appropriate changes to the touch detection method proposed in the embodiment of the present invention, for example, in the same signal group, the sensing point where the second signal is located is on both sides of the sensing point where the first signal is located unequal numbers, and/or change the number of second signals in the same signal group, etc.
当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101400994A CN101639743B (en) | 2009-07-06 | 2009-07-06 | Touch detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101400994A CN101639743B (en) | 2009-07-06 | 2009-07-06 | Touch detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101639743A CN101639743A (en) | 2010-02-03 |
CN101639743B true CN101639743B (en) | 2011-04-27 |
Family
ID=41614750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101400994A Active CN101639743B (en) | 2009-07-06 | 2009-07-06 | Touch detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101639743B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859202B (en) * | 2010-06-13 | 2012-04-18 | 友达光电股份有限公司 | Threshold Compensation Method |
CN101866241B (en) * | 2010-06-22 | 2012-06-27 | 友达光电股份有限公司 | Method for reducing noise for touch panel |
CN102830834B (en) * | 2011-06-14 | 2016-02-10 | 矽创电子股份有限公司 | Recognition device and method for identifying motion of object |
CN103713760B (en) * | 2012-10-09 | 2018-07-27 | 鸿富锦精密工业(深圳)有限公司 | Touch control induction device and method |
CN103116432B (en) * | 2013-03-04 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Three-dimensional manipulating control method, device and the mobile terminal thereof of a kind of touch-screen |
CN114415857B (en) * | 2022-01-19 | 2024-02-09 | 惠州Tcl移动通信有限公司 | Terminal operation method and device, terminal and storage medium |
-
2009
- 2009-07-06 CN CN2009101400994A patent/CN101639743B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101639743A (en) | 2010-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI467423B (en) | Touch detection method | |
US9128603B2 (en) | Hand gesture recognition method for touch panel and associated apparatus | |
US8115750B2 (en) | Base capacitance compensation for a touchpad sensor | |
CN100346274C (en) | Input method, control module and product defined by starting position and moving direction | |
CN101639743B (en) | Touch detection method | |
TWI459250B (en) | Method for detecting multiple touch positions on touch panel | |
US8743061B2 (en) | Touch sensing method and electronic device | |
US8743065B2 (en) | Method of identifying a multi-touch rotation gesture and device using the same | |
CN101458586B (en) | Method for operating object on touch screen by multiple fingers | |
TWI489331B (en) | Touch point coordinate detection method | |
WO2007121676A1 (en) | Method and device for controlling information display output and input device | |
US20120249471A1 (en) | Method of identifying a multi-touch rotation gesture and device using the same | |
GB2510333A (en) | Emulating pressure sensitivity on multi-touch devices | |
CN101493742B (en) | Touch control detecting method and capacitance touch control system | |
WO2012129989A1 (en) | Method of identifying translation gesture and device using the same | |
CN101526865B (en) | How the touchpad detects multiple touches | |
US20120050184A1 (en) | Method of controlling driving of touch panel | |
CN101393496B (en) | Touch point detection method of touch panel | |
CN102214028B (en) | Gesture recognition method and device for touch panel | |
WO2013149029A1 (en) | Single and multiple finger extraction and position calculation using a weighted mask | |
CN103176671B (en) | Touch electronic device and touch track correction method | |
CN102073408A (en) | How to accelerate cursor movement by sliding two fingers on the touchpad | |
CN101004651A (en) | Multi-object motion detection method for touchpad | |
CN103914170A (en) | Gesture recognition method of touch pad | |
CN104345956A (en) | Method for preventing palm from touching by mistake |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180706 Address after: Hongkong Chinese Tsuen Tai Chung Road No. 8 TCL industrial center 13 floor Patentee after: Huaxing Optoelectronic International (Hong Kong) Co.,Ltd. Address before: Hsinchu, Taiwan, China Patentee before: AU OPTRONICS Corp. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231227 Address after: 9-2 Tangming Avenue, Guangming New District, Shenzhen City, Guangdong Province Patentee after: TCL China Star Optoelectronics Technology Co.,Ltd. Address before: Hongkong Chinese Tsuen Tai Chung Road No. 8 TCL industrial center 13 floor Patentee before: Huaxing Optoelectronic International (Hong Kong) Co.,Ltd. |
|
TR01 | Transfer of patent right |