CN101430627A - Touch detection method of light-sensing touch control plate and touch control electronic device using the same - Google Patents
Touch detection method of light-sensing touch control plate and touch control electronic device using the same Download PDFInfo
- Publication number
- CN101430627A CN101430627A CNA2008101840504A CN200810184050A CN101430627A CN 101430627 A CN101430627 A CN 101430627A CN A2008101840504 A CNA2008101840504 A CN A2008101840504A CN 200810184050 A CN200810184050 A CN 200810184050A CN 101430627 A CN101430627 A CN 101430627A
- Authority
- CN
- China
- Prior art keywords
- data points
- touch
- data
- preset
- relative distance
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000005259 measurement Methods 0.000 claims 1
- 230000000903 blocking effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000001788 irregular Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
本发明公开了一种光感式触控板的触碰检测方法及应用其的触控式电子装置。在所述方法中,首先是扫描光感式触控板,以取得画面。接着,将此画面的数据中,亮度值介于预设亮度值至第一亮度临界值之间的数据的分布区域定义为第一感测区域,并将此画面的数据中,亮度值介于预设亮度值至第二亮度临界值之间的数据的分布区域定义为第二感测区域。然后,依据多个第一数据点之一及相对应的多个第二数据点之一的相对距离,来判断是否可能有实际触碰的情形发生,其中上述的第一数据点位于第一感测区域中,而上述的第二数据点位于第二感测区域中。
The invention discloses a touch detection method of a light-sensitive touch panel and a touch electronic device using the touch detection method. In the method, firstly, the light-sensitive touch panel is scanned to obtain an image. Next, in the data of this picture, the distribution area of the data whose luminance value is between the preset luminance value and the first luminance critical value is defined as the first sensing area, and among the data of this picture, the luminance value is between The data distribution area between the preset brightness value and the second brightness critical value is defined as the second sensing area. Then, according to the relative distance between one of the multiple first data points and the corresponding one of the multiple second data points, it is judged whether there may be an actual touch. In the detection area, and the above-mentioned second data point is located in the second sensing area.
Description
技术领域 technical field
本发明是有关于触控领域的技术,且特别是有关于光感式触控板的触碰检测方法及应用此方法的触控式电子装置。The invention relates to the technology in the field of touch control, and in particular to a touch detection method of a photosensitive touch panel and a touch electronic device using the method.
背景技术 Background technique
请参照图1,其为在现有技术中,如何检测光感式触控板(photo sensor touchpanel)所感测到的触碰区域的中心位置的示意图。在此图中,标示100表示为扫描光感式触控板(未绘示)所取得的画面,此画面100的数据是由排成16行×16列的矩阵的256个数据点(如标示102所示)所组成。Please refer to FIG. 1 , which is a schematic diagram of how to detect the center position of a touch area sensed by a photo sensor touch panel in the prior art. In this figure, the
所述现有技术乃是将此画面100的数据中,亮度值小于一亮度临界值的数据的分布区域定义为触碰区域,如图中的深色区域所示,而亮度值大于等于前述亮度临界值的数据的分布区域则定义为非触碰区域,如图中的白色区域所示。因此,只要知道触碰区域中的数据点104、106、108及110的坐标值,然后再求得这四个数据点的坐标值的平均值,便可得到位于触碰区域中心的数据点112的坐标值。The prior art is to define the distribution area of the data in the
然而,这种检测触碰区域的中心位置的方式受到阴影及光的影响非常大。举例来说,当使用者以食指来触碰光感式触控板的时候,手部所造成的阴影区域是不规则的形状,使得定义出来的触碰区域可能也是不规则的形状,因此若使用前述检测触碰区域的中心位置的方式,便很容易误判实际触碰处的中心位置,进而导致光感式触控板的坐标定位的准确度不佳。However, this way of detecting the center position of the touch area is greatly affected by shadows and lights. For example, when the user touches the light-sensitive touch panel with the index finger, the shadow area caused by the hand is irregular in shape, so that the defined touch area may also be in irregular shape, so if Using the aforementioned method of detecting the center position of the touch area, it is easy to misjudge the center position of the actual touch point, which leads to poor accuracy of the coordinate positioning of the light-sensitive touch panel.
发明内容 Contents of the invention
本发明的目的就是在提供光感式触控板的触碰检测方法,其可让使用光感式触控板的装置避免误判实际触碰处的中心位置,以较准确地进行坐标定位。The purpose of the present invention is to provide a touch detection method for a light-sensitive touch panel, which can prevent the device using the light-sensitive touch panel from misjudging the center position of the actual touch point, so as to more accurately locate the coordinates.
本发明的另一目的是提供运用了前述方法的触控式电子装置,其可避免误判实际触碰处的中心位置,以较准确地进行坐标定位。Another object of the present invention is to provide a touch-sensitive electronic device using the aforementioned method, which can avoid misjudgment of the center position of the actual touch point, so as to perform coordinate positioning more accurately.
本发明提出光感式触控板的触碰检测方法。在此方法中,首先是扫描光感式触控板,以取得画面。接着,将此画面的数据中,亮度值介于预设亮度值至第一亮度临界值之间的数据的分布区域定义为第一感测区域,并将此画面的数据中,亮度值介于预设亮度值至第二亮度临界值之间的数据的分布区域定义为第二感测区域。然后,依据多个第一数据点之一及相对应的多个第二数据点之一的相对距离来判断是否可能有实际触碰的情形发生。其中,上述的所有第一数据点皆位于第一感测区域中,而上述的所有第二数据点皆位于第二感测区域中。The invention proposes a touch detection method for a photosensitive touch panel. In this method, the light-sensitive touch panel is first scanned to obtain a picture. Next, in the data of this picture, the distribution area of the data whose luminance value is between the preset luminance value and the first luminance critical value is defined as the first sensing area, and among the data of this picture, the luminance value is between The data distribution area between the preset brightness value and the second brightness critical value is defined as the second sensing area. Then, according to the relative distance between one of the multiple first data points and the corresponding one of the multiple second data points, it is judged whether there may be an actual touch. Wherein, all the above-mentioned first data points are located in the first sensing area, and all the above-mentioned second data points are located in the second sensing area.
本发明另提出触控式电子装置。此触控式电子装置包括有光感式触控板及控制电路。控制电路用以扫描光感式触控板,以取得画面,并将此画面的数据中,亮度值介于预设亮度值至第一亮度临界值之间的数据的分布区域定义为第一感测区域,以及将此画面的数据中,亮度值介于前述预设亮度值至第二亮度临界值之间的数据的分布区域定义为第二感测区域,以便依据多个第一数据点之一及相对应的多个第二数据点之一的相对距离来判断是否可能有实际触碰的情形发生。其中,上述的所有第一数据点皆位于第一感测区域中,而上述的所有第二数据点皆位于第二感测区域中。The invention further provides a touch-sensitive electronic device. The touch electronic device includes a photosensitive touch panel and a control circuit. The control circuit is used to scan the light-sensitive touch panel to obtain a picture, and define the distribution area of the data whose luminance value is between the preset luminance value and the first luminance critical value in the data of the picture as the first sensor detection area, and define the distribution area of the data whose luminance value is between the aforementioned preset luminance value and the second luminance critical value in the data of this screen as the second sensing area, so that according to the first data points One and the relative distance of one of the corresponding multiple second data points to determine whether an actual touch may occur. Wherein, all the above-mentioned first data points are located in the first sensing area, and all the above-mentioned second data points are located in the second sensing area.
本发明乃是利用二个不同的亮度临界值来进行操作,其中一个亮度临界值可用来找出画面中,因指示物(pointer)遮蔽光线而造成的阴影区域,而另一个亮度临界值则可用来找出前述的阴影区域中,光线被遮蔽到特定程度的区域。接下来,便可以利用上述这二个区域中,相对位置上的各一数据点的相对距离,来判断是否可能有实际触碰的情形发生。只要上述的相对距离小于预设距离,便判断为可能有实际触碰的情形发生。而一旦判断为可能有实际触碰的情形发生时,便可进一步计算在上述光线被遮蔽到特定程度的区域中,相对距离小于预设距离的数据点的个数是否达到预定数量,若是,便判断为真的有实际触碰的情形发生。甚至,当上述相对距离小于预设距离的数据点的个数达到预定数量时,还可再更进一步判断前述的阴影区域的宽度及长度是否有分别符合预设接触物体(例如手指)的宽度及长度,若前述的阴影区域的宽度及长度也分别符合预设接触物体的宽度及长度,便判断为真的有实际触碰的情形发生。因此,本发明可有效地辨识出实际触碰处及阴影造成的噪声,不会误判实际触碰处的中心位置,故受阴影及光的影响很小,进一步使得光感式触控板的坐标定位的准确度得以提升。The present invention uses two different brightness thresholds to operate, one brightness threshold can be used to find out the shadow area caused by the indicator (pointer) blocking the light in the picture, and the other brightness threshold can be used To find out the area where the light is blocked to a certain extent in the aforementioned shadow area. Next, the relative distance of each data point at the relative position in the above two areas can be used to determine whether an actual touch may occur. As long as the above-mentioned relative distance is smaller than the preset distance, it is determined that there may be an actual touch. And once it is judged that there may be an actual touch situation, it can be further calculated whether the number of data points whose relative distance is less than the preset distance reaches a predetermined number in the area where the above-mentioned light is shaded to a certain degree, and if so, then It is judged that there is an actual touch. Even, when the number of data points whose relative distance is less than the preset distance reaches a predetermined number, it can be further judged whether the width and length of the aforementioned shaded area meet the width and length of the preset contact object (such as a finger) respectively. length, if the width and length of the aforementioned shadow area also match the width and length of the preset contact object, it is determined that there is actually an actual touch. Therefore, the present invention can effectively identify the noise caused by the actual touch point and the shadow, and will not misjudge the center position of the actual touch point, so it is less affected by the shadow and light, further making the light-sensitive touch panel The accuracy of coordinate positioning is improved.
为让本发明的上述和其它目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下。In order to make the above and other objects, features and advantages of the present invention more comprehensible, preferred embodiments are described below in detail with accompanying drawings.
附图说明 Description of drawings
图1为在现有技术中,如何检测光感式触控板所感测到的触碰区域的中心位置的示意图。FIG. 1 is a schematic diagram of how to detect the center position of a touch area sensed by an optical touch panel in the prior art.
图2绘示依照本发明一实施例的触控式电子装置;FIG. 2 illustrates a touch-sensitive electronic device according to an embodiment of the present invention;
图3绘示依照本发明一实施例的光感式触控板的触碰检测方法的流程;FIG. 3 illustrates the flow of a touch detection method for a photosensitive touch panel according to an embodiment of the present invention;
图4绘示依照步骤S304所述方式定义出感测区域的一说明图。FIG. 4 is an explanatory diagram of defining the sensing area according to the manner described in step S304.
【主要组件符号说明】[Description of main component symbols]
100、400、500:画面100, 400, 500: picture
102~112、402:数据点102~112, 402: data points
200:触控式电子装置200: Touch Electronic Devices
202:光感式触控板202: Light-sensitive touchpad
204:控制电路204: control circuit
S304~S312:步骤S304~S312: steps
具体实施方式 Detailed ways
图2绘示依照本发明一实施例的触控式电子装置。此触控式电子装置200包括有光感式触控板202及控制电路204。图3则绘示依照本发明一实施例的光感式触控板的触碰检测方法的流程。请依照说明的需要而参照图2及图3。控制电路204用以扫描光感式触控板202,以取得一画面,并将此画面的数据中,亮度值介于预设亮度值至第一亮度临界值之间的数据的分布区域定义为第一感测区域,以及将此画面的数据中,亮度值介于前述预设亮度值至第二亮度临界值之间的数据的分布区域定义为第二感测区域(如图3的步骤S304所示)。一般来说,步骤S304的执行方式有二种做法,一种是先取得一个完整画面的数据,然后再进行感测区域的界定,而另一种是一边取得画面的数据,一边进行感测区域的界定。为了说明的方便,以下先介绍取得一个完整画面的数据时的做法。FIG. 2 illustrates a touch-sensitive electronic device according to an embodiment of the present invention. The touch
假设第二亮度临界值小于第一亮度临界值,而第二亮度临界值又大于预设亮度值,那么在步骤S304中所定义出来的感测区域,便可以由图4来进行解释。图4绘示依照步骤S304所述方式定义出感测区域的说明图。在图4中,标示400即表示藉由扫描光感式触控板202所取得的一个画面,此画面400的数据是由排成16行×16列的矩阵的256个数据点(如标示402所示)所组成。另外,在有颜色的区域中,颜色较浅者即是定义出来的第一感测区域,例如是因食指遮蔽光线而造成的阴影区域,而颜色较深者则是定义出来的第二感测区域,也就是在前述的阴影区域中,光线被遮蔽到特定程度的区域。Assuming that the second brightness threshold is smaller than the first brightness threshold, and the second brightness threshold is greater than the preset brightness value, then the sensing area defined in step S304 can be explained by FIG. 4 . FIG. 4 is an explanatory diagram of defining a sensing area according to the manner described in step S304. In FIG. 4 , the
请依照说明的需要而参照图3及图4。在执行完步骤S304之后,接下来,控制电路204便可在第一感测区域及第二感测区域中随意各取一数据点,然后再判断这二个数据点的相对距离与预设距离的关系(如图3的步骤S306所示)。在此例中,为了方便计算相对距离并符合现行的扫描方式(即由第0列扫描至第15列,每一列由第0行开始至第15行结束),控制电路204是以上述二个感测区域的数据点中,位于同一行的数据点为相对应的数据点,且是利用第一感测区域的边缘上的数据点来计算相对距离,再以图4来详细说明之。Please refer to FIG. 3 and FIG. 4 as needed for description. After step S304 is executed, next, the
请参照图4。所谓相对应的数据点,以图4的第7行的数据点为例,在此第7行的数据点中,属于第一感测区域的数据点,就是属于第二感测区域的数据点的对应数据点;反过来说,属于第二感测区域的数据点,就是属于第一感测区域的数据点的对应数据点。而所谓第一感测区域的边缘上的数据点,就是在依照由第0列扫描至第15列的扫描方式下,于同一行中是第一个属于第一感测区域的数据点,以图4来说明的话,就是坐标为第7行第2列的数据点、坐标为第8行第2列的数据点、坐标为第6行第3列的数据点以及坐标为第9行第3列的数据点,分别以数据点(7,2)、数据点(8,2)、数据点(6,3)及数据点(9,3)来表示之。此外,在这个例子中,计算相对距离的方式,是以形成二个数据点的八个边中,与列的方向平行且最相近的二个边之间的距离来进行计算。Please refer to Figure 4. The so-called corresponding data points, take the data points in the 7th row of Figure 4 as an example, among the data points in the 7th row, the data points belonging to the first sensing area are the data points belonging to the second sensing area corresponding data points; conversely, the data points belonging to the second sensing area are the corresponding data points of the data points belonging to the first sensing area. The so-called data point on the edge of the first sensing area is the first data point belonging to the first sensing area in the same row in the scanning mode from the 0th column to the 15th column, so that As shown in Figure 4, it is the data point whose coordinates are the 7th row and the 2nd column, the coordinates are the data point of the 8th row and the 2nd column, the coordinates are the data point of the 6th row and the 3rd column, and the coordinates are the 9th row and the 3rd The data points in the column are respectively represented by data point (7, 2), data point (8, 2), data point (6, 3) and data point (9, 3). In addition, in this example, the method of calculating the relative distance is to calculate the distance between the two closest sides parallel to the column direction among the eight sides forming two data points.
请再参照图3及图4。假设控制电路204是随意取第一感测区域中的数据点(7,2)及第二感测区域中的数据点(7,6)来计算相对距离,且假设所述预设距离为图4中所标示的预设距离的长度,此时,控制电路204就会判断这二个数据点的相对距离与预设距离的关系。由于这二个数据点的相对距离小于预设距离,于是控制电路204便判断数据点(7,6)附近可能有实际触碰的情形发生(如图3的步骤S308所示)。一但判断数据点(7,6)附近可能有实际触碰的情形发生时,控制电路204就会在数据点(7,6)附近寻找其它相对距离也是小于预设距离,且是属于第二感测区域的数据点,并计算在第二感测区域中,相对距离小于预设距离的数据点的个数是否达到预定数量;而一但判断为是,控制电路204便判断此处是真的有实际触碰的情形发生(如步骤S310所示),再以图4来详细说明之。Please refer to FIG. 3 and FIG. 4 again. Assume that the
假设预定数量为六个数据点,因此以图4所示的情形,控制电路204最后会得到数据点(7,6)、数据点(8,6)、数据点(7,5)、数据点(8,5)、数据点(7,4)以及数据点(8,4)的相对距离都是小于前述的预设距离,且这些数据点的个数已达到预定数量,因此控制电路204会判定这六个数据点所在之处是真的有实际触碰的情形发生,于是便会将这六个数据点所在之处视为实际触碰处,然后再进一步计算实际触碰处的中心位置。Assume that the predetermined number is six data points, so in the situation shown in FIG. The relative distances of (8,5), data point (7,4) and data point (8,4) are all less than the aforementioned preset distance, and the number of these data points has reached a predetermined number, so the
请再参照图3及图4。在另一个实施例中,假设控制电路204是随意取第一感测区域中的数据点(7,2)及第二感测区域中的数据点(7,8)来计算相对距离,那么控制电路204就会判断出这二个数据点的相对距离大于等于前述的预设距离。接着,控制电路204便会从数据点(7,8)开始,逐列地往第0列的方向寻找,以便检测在第二感测区域中是否有相对距离小于预设距离的数据点,并对第二感测区域中,相对距离小于预设距离的数据点进行计数。一但控制电路204判断出在第二感测区域中,相对距离小于预设距离的数据点的个数未达到前述的预定数量时,就会判定数据点(7,8)附近只是阴影所造成的噪声而没有实际触碰的情形发生(如步骤S312所示)。换句话说,只要光线被遮蔽到特定程度的区域中,相对距离小于预设距离的数据点的个数不够多的话,就会被视为是阴影而将此情况予以排除。Please refer to FIG. 3 and FIG. 4 again. In another embodiment, assuming that the
藉由上述的说明可知,只要适当地设定上述的第一亮度临界值、第二亮度临界值、预设距离及预定数量,本发明可有效地辨识出实际触碰处及阴影造成的噪声,不会误判实际触碰处的中心位置,故受阴影及光的影响很小,进一步使得光感式触控板的坐标定位的准确度得以提升。From the above description, it can be seen that as long as the above-mentioned first brightness threshold value, second brightness threshold value, preset distance and predetermined number are properly set, the present invention can effectively identify the actual touch point and the noise caused by the shadow, The center position of the actual touch point will not be misjudged, so it is less affected by shadow and light, which further improves the accuracy of the coordinate positioning of the light-sensitive touch panel.
接下来,将描述判断是否有实际触碰的另一种方式,此方式就是在逐列扫描光感式触控板202的时候,控制电路204就一边计数属于第二感测区域的数据点中,相对距离小于预设距离的个数。再以图4所示的画面400来进行说明,请参照图4。当扫描由第0列开始而至第4列的时候,由于每一列数据的取得是由第0行开始至第15行结束,是以控制电路204会先取得第二感测区域的数据点(7,4)。由于数据点(7,4)与数据点(7,2)的相对距离小于前述的预设距离,因此控制电路204会判定数据点(7,4)附近可能有实际触碰的情形发生。然后,控制电路204会以数据点(7,4)来作为第二感测区域的一个起始数据点,并顺着由左至右的数据取得方向,以及由上而下的扫描方式,开始计数第二感测区域中,相对距离小于预设距离的数据点的数目。Next, another way of judging whether there is an actual touch will be described. This way is when the
所以,在判断出坐标为(7,4)及(7,2)这二个数据点的相对距离小于预设距离之后,控制电路204接下来还会依序判断出坐标为(8,4)及(8,2)这二个数据点、坐标为(7,5)及(7,2)这二个数据点、坐标为(8,5)及(8,2)这二个数据点、(7,6)及(7,2)这二个数据点,还有(8,6)及(8,2)这二个数据点的相对距离也都小于预设距离,并判断出截至目前为止,在第二感测区域中,相对距离小于预设距离的数据点的数目已达到前述的预定数量(即六个数据点),于是控制电路204就会判定数据点(7,4)、数据点(8,4)、数据点(7,5)、数据点(8,5)、数据点(7,6)以及数据点(8,6)的所在之处是真的有实际触碰的情形发生。这种逐列判断的方式有一种好处,就是仅需使用到少量的内存就可达成触碰检测。Therefore, after determining that the relative distance between the two data points whose coordinates are (7, 4) and (7, 2) is less than the preset distance, the control circuit 204 will then sequentially determine that the coordinates are (8, 4) And (8, 2) these two data points, the coordinates are (7, 5) and (7, 2) these two data points, the coordinates are (8, 5) and (8, 2) these two data points, The relative distances of the two data points (7, 6) and (7, 2), and the two data points (8, 6) and (8, 2) are also less than the preset distance, and it is judged that as of now So far, in the second sensing area, the number of data points whose relative distance is less than the preset distance has reached the aforementioned predetermined number (that is, six data points), so the control circuit 204 will determine that the data points (7, 4), Data point (8, 4), data point (7, 5), data point (8, 5), data point (7, 6) and data point (8, 6) are where there is a real physical touch situation occurs. This method of column-by-column judgment has an advantage, that is, only a small amount of memory can be used to achieve touch detection.
值得一提的是,在前述的实施例中,控制电路204必须对食指所造成的阴影区域中,属于第二感测区域的数据点进行计数。然而,若是阴影区域呈现出来的是数个指头或是整个手掌的形状,那么控制电路204就必须针对每个指头所造成的阴影区域中,属于第二感测区域的数据点来进行计数。如此,便可实现多点触碰的辨识功能。It is worth mentioning that, in the foregoing embodiments, the
此外,虽然在前述实施例的说明中,控制电路204是以上述二个感测区域的数据点中,位于同一行的数据点为相对应的数据点,且是以依照现行的扫描方式下(即由第0列扫描至第15列,每一列由第0行开始至第15行结束),于同一行中是第一个属于第一感测区域的数据点来计算相对距离。然而,控制电路204也可以再搭配其它的方式来进行相对距离的计算,例如再以上述二个感测区域的数据点中,位于同一列的数据点为相对应的数据点,并再以依照现行的扫描方式下,于同一列中分别是第一个及最后一个属于第一感测区域的数据点来计算相对距离。再以图4来说明之。In addition, although in the description of the foregoing embodiments, the
请参照图4。以图4的第4列的数据点为例,在此第4列的数据点中,属于第一感测区域的数据点,就是属于第二感测区域的数据点的对应数据点;反过来说,属于第二感测区域的数据点,就是属于第一感测区域的数据点的对应数据点。而所谓依照现行的扫描方式下,于同一列中分别是第一个及最后一个属于第一感测区域的数据点,以图4来说明的话,就是数据点(7,2)与数据点(8,2),以及在第6行及第9行中,属于第一感测区域的数据点。Please refer to Figure 4. Taking the data points in the fourth column of Figure 4 as an example, among the data points in the fourth column, the data points belonging to the first sensing area are the corresponding data points of the data points belonging to the second sensing area; conversely In other words, the data points belonging to the second sensing area are the corresponding data points of the data points belonging to the first sensing area. The so-called according to the current scanning method, in the same column are the first and last data points belonging to the first sensing area respectively. If illustrated in FIG. 4, it is the data point (7, 2) and the data point ( 8, 2), and in
接续上述。因此,控制电路204除了可以去判断坐标为(7,4)及(7,2)这二个数据点,以及坐标为(8,4)及(8,2)这二个数据点的相对距离之外,还可以再去判断坐标为(7,4)及(6,4)这二个数据点、坐标为(8,4)及(9,4)这二个数据点、坐标为(7,5)及(6,5)这二个数据点、坐标为(8,5)及(9,5)这二个数据点、坐标为(7,6)及(6,6)这二个数据点、坐标为(8,6)及(9,6)这二个数据点、坐标为(7,7)及(6,7)这二个数据点、坐标为(8,7)及(9,7)这二个数据点、坐标为(7,8)及(6,8)这二个数据点、以及坐标为(8,8)及(9,8)这二个数据点的相对距离。当上述的所有相对距离皆小于先前所述的预设距离时,控制电路204便判断数据点(7,4)、数据点(8,4)、数据点(7,5)、数据点(8,5)、数据点(7,6)、数据点(8,6)、数据点(7,7)、数据点(8,7)、数据点(7,8)以及数据点(8,8)的所在之处可能有实际触碰的情形发生。于是,控制电路204接下来便可进一步去计算在第二感测区域中,相对距离小于预设距离的数据点的个数是否达到前述的预定数量。如此一来,就可降低触控式电子装置200误判实际触碰处的机率。Continue above. Therefore, the
进一步地,当上述相对距离小于预设距离的数据点的个数达到预定数量时,控制电路204还可再更进一步判断前述的第一感测区域(即因食指遮蔽光线而造成的阴影区域)的宽度及长度是否有分别符合一般手指的宽度及长度,若第一感测区域的宽度及长度也分别符合一般手指的宽度及长度,那么控制电路204便判断为真的有实际触碰的情形发生。如此一来,又可再进一步降低触控式电子装置200误判实际触碰处的机率。当然,控制电路204并不限定于只能判断前述的第一感测区域的宽度及长度是否有分别符合一般手指的宽度及长度,假若前述的第一感测区域是由其它的预设接触物体(例如一指示棒)遮蔽光线而造成的阴影区域,那么控制电路204也可以是判断前述的第一感测区域的宽度及长度是否有分别符合此预设接触物体的宽度及长度。Furthermore, when the number of data points whose relative distance is less than the preset distance reaches a predetermined number, the
另外,在上述各实施例中,控制电路204可以是依据一画面平均亮度值的一个第一百分比及一个第二百分比来定义上述的第一亮度临界值及第二亮度临界值。当然,所述的画面平均亮度值包括是于画面400(或画面500)的前扫描光感式触控板202而得的一先前画面的平均亮度值。In addition, in the above-mentioned embodiments, the
综上所述,本发明乃是利用二个不同的亮度临界值来进行操作,其中一个亮度临界值可用来找出画面中,因指示物遮蔽光线而造成的阴影区域,而另一个亮度临界值则可用来找出前述的阴影区域中,光线被遮蔽到特定程度的区域。接下来,便可以利用上述这二个区域中,相对位置上的各一数据点的相对距离,来判断是否可能有实际触碰的情形发生。只要上述的相对距离小于预设距离,便判断为可能有实际触碰的情形发生。而一旦判断为可能有实际触碰的情形发生时,便可进一步计算在上述光线被遮蔽到特定程度的区域中,相对距离小于预设距离的数据点的个数是否达到预定数量,若是,便判断为真的有实际触碰的情形发生。甚至,当上述相对距离小于预设距离的数据点的个数达到预定数量时,还可再更进一步判断前述的阴影区域的宽度及长度是否有分别符合预设接触物体的宽度及长度,若前述的阴影区域的宽度及长度也分别符合预设接触物体的宽度及长度,便判断为真的有实际触碰的情形发生。因此,本发明可有效地辨识出实际触碰处及阴影造成的噪声,不会误判实际触碰处的中心位置,故受阴影及光的影响很小,进一步使得光感式触控板的坐标定位的准确度得以提升。To sum up, the present invention uses two different brightness thresholds to operate, one of which can be used to find out the shadow area caused by the indicator blocking light in the picture, and the other brightness threshold Then it can be used to find out the area where the light is blocked to a certain degree in the aforementioned shadow area. Next, the relative distance of each data point at the relative position in the above two areas can be used to determine whether an actual touch may occur. As long as the above-mentioned relative distance is smaller than the preset distance, it is determined that there may be an actual touch. And once it is judged that there may be an actual touch situation, it can be further calculated whether the number of data points whose relative distance is less than the preset distance reaches a predetermined number in the area where the above-mentioned light is shaded to a certain degree, and if so, then It is judged that there is an actual touch. Even, when the number of data points whose relative distance is less than the preset distance reaches a predetermined number, it can be further judged whether the width and length of the aforementioned shaded area meet the width and length of the preset contact object respectively, if the aforementioned If the width and length of the shaded area also match the width and length of the preset contact object, it is determined that there is an actual touch. Therefore, the present invention can effectively identify the noise caused by the actual touch point and the shadow, and will not misjudge the center position of the actual touch point, so it is less affected by the shadow and light, further making the light-sensitive touch panel The accuracy of coordinate positioning is improved.
虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art can make various corresponding modifications according to the present invention without departing from the spirit and essence of the present invention. Changes and deformations, but these corresponding changes and deformations should fall within the scope of protection of the appended claims of the present invention.
Claims (24)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101840504A CN101430627B (en) | 2008-12-15 | 2008-12-15 | Touch detection method of photosensitive touch panel and touch electronic device using same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101840504A CN101430627B (en) | 2008-12-15 | 2008-12-15 | Touch detection method of photosensitive touch panel and touch electronic device using same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101430627A true CN101430627A (en) | 2009-05-13 |
CN101430627B CN101430627B (en) | 2010-06-30 |
Family
ID=40646042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101840504A Active CN101430627B (en) | 2008-12-15 | 2008-12-15 | Touch detection method of photosensitive touch panel and touch electronic device using same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101430627B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011054278A1 (en) * | 2009-11-05 | 2011-05-12 | 上海精研电子科技有限公司 | Infrared touch screen device and multipoint locating method thereof |
CN102221926A (en) * | 2011-03-21 | 2011-10-19 | 友达光电股份有限公司 | Touch point judgment method |
WO2017118207A1 (en) * | 2016-01-05 | 2017-07-13 | 京东方科技集团股份有限公司 | Touch determining device, method and display device |
-
2008
- 2008-12-15 CN CN2008101840504A patent/CN101430627B/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011054278A1 (en) * | 2009-11-05 | 2011-05-12 | 上海精研电子科技有限公司 | Infrared touch screen device and multipoint locating method thereof |
CN102221926A (en) * | 2011-03-21 | 2011-10-19 | 友达光电股份有限公司 | Touch point judgment method |
US8624861B2 (en) | 2011-03-21 | 2014-01-07 | Au Optronics Corp. | Method for determining touch point |
WO2017118207A1 (en) * | 2016-01-05 | 2017-07-13 | 京东方科技集团股份有限公司 | Touch determining device, method and display device |
US10037097B2 (en) | 2016-01-05 | 2018-07-31 | Boe Technology Group Co., Ltd. | Touch determining device and method, and display device |
US10228792B2 (en) | 2016-01-05 | 2019-03-12 | Boe Technology Group Co., Ltd. | Touch determining device and method, and display device |
Also Published As
Publication number | Publication date |
---|---|
CN101430627B (en) | 2010-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI403940B (en) | Detecting method for photo sensor touch panel and touch control electronic apparatus using the same | |
CN103019483B (en) | Touch object identification method | |
JP4897983B1 (en) | Touch panel device and indicator distinguishing method | |
TWI433004B (en) | Method for determining touch points on touch panel and system thereof | |
US20120299856A1 (en) | Mobile terminal and control method thereof | |
US9753578B2 (en) | Touch sensing method capable of dynamically adjusting tough threshold value | |
US9436383B2 (en) | Operating device | |
WO2019223461A1 (en) | Touch detection method and computer-readable storage medium | |
CN105353927B (en) | Capacitive touch device and object identification method thereof | |
TWI533181B (en) | Optical touch sensing device and touch signal determination method thereof | |
TWI441060B (en) | Image processing method for optical touch system | |
CN101526865B (en) | How the touchpad detects multiple touches | |
CN101430627B (en) | Touch detection method of photosensitive touch panel and touch electronic device using same | |
CN105843461A (en) | Touch device with fingerprint identification function and coordinate operation method thereof | |
CN109101127A (en) | Palm touch detection in a touch screen device with a floating ground or thin touch panel | |
TWI602098B (en) | Touch Sensor Device And Sensing Method For Touch Point | |
WO2022017247A1 (en) | Touch sensor, touch detection apparatus, and electronic device | |
CN105653101B (en) | Touch point sensing method and optical touch system | |
JP6709022B2 (en) | Touch detection device | |
TWI463366B (en) | Hybrid floating compensation method of touch panel | |
CN112035003B (en) | Touch device and method for preventing mistaken touch | |
KR20100010011A (en) | Method for detecting double touch of the image sensor touch screen | |
TWI626423B (en) | Tapping detecting device, tapping detecting method and smart projecting system using the same | |
WO2014002315A1 (en) | Operation device | |
KR100912100B1 (en) | How to Handle Cursors on the Touch Screen |
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: 20240914 Address after: Gyeonggi Do, South Korea Patentee after: SAMSUNG DISPLAY Co.,Ltd. Country or region after: Republic of Korea Address before: China Taiwan Patentee before: AU OPTRONICS Corp. Country or region before: TaiWan, China |
|
TR01 | Transfer of patent right |