技术领域technical field
本发明涉及触控式屏幕,更具体地说,涉及一种利用针孔结构收集反射光来感应触控点的装置与方法。The present invention relates to a touch screen, and more specifically, to a device and method for sensing touch points by collecting reflected light using a pinhole structure.
背景技术Background technique
触控式界面已广泛使用在各种电子装置中,例如手持式行动装置或者是显示面板。现有技术中,感应触碰点的位置的方式通常是使用与电阻式或电容式的感应数组,迭合在操作界面上以侦测触碰位置。然而对于大型显示面板而言,要运作感应数组的成本极高。另外一方面,有些传统的触控式界面采用影像侦测的方式,利用摄影器材判断触控感应的表层是否接受到触碰。然而,摄影器材的运作额外增加了感光组件和镜头的成本,而且遇到多点触碰的情况时,往往必须设置多组感光组件和镜头同时运作,才有办法区分多个触碰点的位置。因此,传统触控感应的制作成本总是相当昂贵。Touch interfaces have been widely used in various electronic devices, such as handheld mobile devices or display panels. In the prior art, the way of sensing the position of the touch point is usually to use a resistive or capacitive sensing array, superimposed on the operation interface to detect the touch position. However, for large display panels, the cost of operating the sensing array is extremely high. On the other hand, some traditional touch interfaces use image detection to determine whether the touch-sensitive surface is touched by using photographic equipment. However, the operation of photographic equipment increases the cost of photosensitive components and lenses, and in the case of multi-touch, it is often necessary to set multiple groups of photosensitive components and lenses to operate simultaneously in order to distinguish the positions of multiple touch points . Therefore, the production cost of traditional touch sensing is always quite expensive.
发明内容Contents of the invention
本发明提出一种触控感应,可在不使用高成本摄影器材的前提下感应触控点的位置。本发明实施例的触控感应装置,包含一触控垫,受到四个边框的围绕。其中第一、第二及第三边框上包含倒反射(retro-reflection)材质。本发明实施例在两侧边框设置光源和针孔,并在触控垫外缘的针孔后方设置感光组件接收所述针孔投射的成像。所述第一、第二、第三边框上的倒反射材质可将光源反射至针孔而投射在感光组件上形成影像。通过判断成像中的阴影位置,可判断触碰点在所述触控垫上的位置。The present invention proposes a touch sensor, which can sense the position of a touch point without using high-cost photographic equipment. The touch sensing device according to the embodiment of the present invention includes a touch pad surrounded by four frames. The first, second and third borders contain retro-reflection materials. In the embodiment of the present invention, a light source and a pinhole are arranged on both sides of the frame, and a photosensitive component is arranged behind the pinhole on the outer edge of the touch pad to receive the image projected by the pinhole. The reflective material on the first, second and third frames can reflect the light source to the pinhole and project it on the photosensitive component to form an image. By judging the position of the shadow in the imaging, the position of the touch point on the touch pad can be judged.
一第一光源和第一针孔设置于所述第一边框和所述第四边框的交界处。第一光源发出第一光束照射第二边框和第三边框,以产生第一反射光。另一方面,一第二光源和第二针孔设置于所述第二边框和所述第四边框的交界处。所述第二光源发出第二光束照射所述第一边框和第三边框,以产生一第二反射光。一第一感光模块设置于所述触碰垫外缘与所述第一针孔相隔一特定距离处,用于感应所述第一反射光透过所述第一针孔投射于所述第一感光模块上的一第一成像。一第二感光模块设置于所述触碰垫外缘与所述第二针孔相隔所述特定距离处,用于感应所述第二反射光透过所述第二针孔投射于所述第二感光模块上的一第二成像。所述第一感光模块及所述第二感光模块接收所述第一成像和所述第二成像之后传送至一处理器。A first light source and a first pinhole are disposed at the junction of the first frame and the fourth frame. The first light source emits a first light beam to irradiate the second frame and the third frame to generate first reflected light. On the other hand, a second light source and a second pinhole are disposed at the junction of the second frame and the fourth frame. The second light source emits a second light beam to irradiate the first frame and the third frame to generate a second reflected light. A first photosensitive module is arranged at a certain distance between the outer edge of the touch pad and the first pinhole, and is used to sense the first reflected light projected on the first pinhole through the first pinhole. A first imaging on the photosensitive module. A second photosensitive module is disposed at the outer edge of the touch pad at the specified distance from the second pinhole, for sensing the second reflected light projected on the first pinhole through the second pinhole A second imaging on the second photosensitive module. The first photosensitive module and the second photosensitive module receive the first image and the second image and send them to a processor.
当至少一物体碰触于所述触控垫时,所述处理器可根据所述第一成像以及所述第二成像进行一影像分析程序,以判断所述至少一物体与所述触控垫的触碰点的坐标位置。When at least one object touches the touch pad, the processor can perform an image analysis program according to the first image and the second image to determine the at least one object and the touch pad The coordinate position of the touch point of .
本发明另一实施例是基于上述触控感应装置所执行的触碰点侦测方法。详细实施例将搭配图示于下段说明。Another embodiment of the present invention is based on the touch point detection method performed by the above touch sensing device. The detailed embodiment will be illustrated in the next section with the diagram.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1为本发明实施例的一触控感应装置;FIG. 1 is a touch sensing device according to an embodiment of the present invention;
图2为本发明感应一触碰点的实施例;Fig. 2 is an embodiment of sensing a touch point of the present invention;
图3为本发明同时感应两个触碰点的实施例;Fig. 3 is an embodiment of the present invention that simultaneously senses two touch points;
图4a为本发明同时感应两个触碰点的实施例;Figure 4a is an embodiment of the present invention that simultaneously senses two touch points;
图4b为本发明同时感应两个触碰点的实施例;Figure 4b is an embodiment of the present invention that simultaneously senses two touch points;
图5为本发明感应一触碰点的实施例的流程图;以及FIG. 5 is a flowchart of an embodiment of the present invention for sensing a touch point; and
图6为本发明同时感应两个触碰点的实施例的流程图。FIG. 6 is a flow chart of an embodiment of the present invention for simultaneously sensing two touch points.
【主要元件符号说明】:[Description of main component symbols]:
具体实施方式Detailed ways
相对于现有触控侦测技术,本发明实施例采用针孔投射原理来产生成像,减低了使用镜头及摄影装置的成本。除此之外,触控感应的设置方式也经过特定的安排,以便于多点触控的侦测。图1为本发明实施例的一触控感应装置100。该触控感应装置100中设置有一触控垫150,作为接受触碰的界面。在该触控垫150的四周,设置了一第一边框110、一第二边框120、一第三边框130和一第四边框140。其中为了说明起见,定义该第一边框110和第二边框120分立触控垫150的左右两侧,而该第三边框130和第四边框140分别摆设于触控垫150的上侧与下侧。Compared with the existing touch detection technology, the embodiment of the present invention adopts the principle of pinhole projection to generate imaging, which reduces the cost of using lenses and photographing devices. In addition, the setting method of touch sensing is also specially arranged to facilitate multi-touch detection. FIG. 1 is a touch sensing device 100 according to an embodiment of the present invention. The touch sensing device 100 is provided with a touch pad 150 as an interface for receiving touch. Around the touch pad 150 , a first frame 110 , a second frame 120 , a third frame 130 and a fourth frame 140 are disposed. Wherein for the sake of illustration, the first frame 110 and the second frame 120 are defined to separate the left and right sides of the touch pad 150, and the third frame 130 and the fourth frame 140 are arranged on the upper side and the lower side of the touch pad 150 respectively. .
该第一、第二及第三边框上设置了一种倒反射(retro-reflection)材质,可让任何角度的入射光沿着原来入射路径反射回去。倒反射的材质运用可搭配各种广泛的既有技术而实施,因此详细作法不在此介绍。在触控垫150的右上角,第一边框110和第四边框140的交界处,设置了一第一针孔112和一第一光源114。该第一光源114可发出一视野范围为90度的第一光束,恰好完全照射该第二边框120和该第三边框130的全部区域。而该第一针孔112可收集该第二边框120和第三边框130反射回来的第一反射光。在该触控垫150外缘与该第一针孔112相隔一特定距离处,设置了一第一感光模块116。该第一反射光可透过该第一针孔112投射于该第一感光模块116上,形成一第一成像。基本上,只要第一光源114和第二边框120、第三边框130之间没有遮蔽物,该第一成像呈现出来的即是第二边框120和第三边框130本身的倒影。A retro-reflection material is provided on the first, second and third borders to allow incident light from any angle to be reflected back along the original incident path. The material application of retroreflection can be implemented with a wide range of existing technologies, so the detailed method will not be introduced here. At the upper right corner of the touch pad 150 , at the junction of the first frame 110 and the fourth frame 140 , a first pinhole 112 and a first light source 114 are disposed. The first light source 114 can emit a first light beam with a field of view of 90 degrees, which just completely illuminates the entire area of the second frame 120 and the third frame 130 . The first pinhole 112 can collect the first reflected light reflected by the second frame 120 and the third frame 130 . A first photosensitive module 116 is disposed at a certain distance between the outer edge of the touch pad 150 and the first pinhole 112 . The first reflected light can pass through the first pinhole 112 and project on the first photosensitive module 116 to form a first image. Basically, as long as there is no shelter between the first light source 114 and the second frame 120 and the third frame 130 , the first image is the reflection of the second frame 120 and the third frame 130 themselves.
同样地,一第二针孔122和一第二光源124设置于触控垫150的左上角,第二边框120和第四边框140的交界处。该第二光源124可发出一视角范围为90度的第二光束,恰好照射该第一边框110和该第三边框130的全部区域。由该第一边框110和第三边框130产生的第二反射光,则可由该第二针孔122负责收集。一第二感光模块126设置于该触碰垫外缘与该第二针孔122相隔该特定距离处,用于感应该第二反射光透过该第二针孔122投射于该第二感光模块126上的一第二成像。Likewise, a second pinhole 122 and a second light source 124 are disposed at the upper left corner of the touch pad 150 at the junction of the second frame 120 and the fourth frame 140 . The second light source 124 can emit a second light beam with a viewing angle range of 90 degrees, which just illuminates the entire area of the first frame 110 and the third frame 130 . The second reflected light generated by the first frame 110 and the third frame 130 can be collected by the second pinhole 122 . A second photosensitive module 126 is disposed at the outer edge of the touch pad and the second pinhole 122 at the specific distance, for sensing the second reflected light projected on the second photosensitive module through the second pinhole 122 A second imaging on 126 .
换言之,只要有任何物体接近或碰触该触控垫150的表面任何位置,该第一感光模块116上的第一成像和该第二感光模块126上的第二成像中的对应位置会出现颜色、亮度或样纹的改变。举例来说,该第一光源114及该第二光源124可以是特定灯具或发光二极管,用于产生特定射线例如雷射光、红外线甚或是冷光,而该第一感光模块116和第二感光模块126可为对应的接收器。更进一步的说,可见光也可应用于本实施中来作为光源,本发明的实际应用并无限制。In other words, as long as any object approaches or touches any position on the surface of the touch pad 150, the corresponding positions in the first image on the first photosensitive module 116 and the second image on the second photosensitive module 126 will appear in color. , brightness or pattern changes. For example, the first light source 114 and the second light source 124 can be specific lamps or light emitting diodes, which are used to generate specific rays such as laser light, infrared rays or even cold light, and the first photosensitive module 116 and the second photosensitive module 126 can be a corresponding receiver. Furthermore, visible light can also be used as a light source in this embodiment, and the practical application of the present invention is not limited.
本发明实施例利用侦测这些改变来判断触碰点的位置。在触控感应装置100中,有一运算单元160耦接该第一感光模块116及该第二感光模块126,用于接收该第一成像和该第二成像以进行影像分析。当至少一物体碰触于该触控垫150时,该运算单元160根据该第一成像以及该第二成像以判断该至少一物体与该触控垫150的触碰点的坐标位置。至于详细的判断方式,将于下段详细说明。The embodiment of the present invention utilizes detecting these changes to determine the position of the touch point. In the touch sensing device 100 , a computing unit 160 is coupled to the first photosensitive module 116 and the second photosensitive module 126 for receiving the first image and the second image for image analysis. When at least one object touches the touch pad 150 , the computing unit 160 determines the coordinate position of the touch point between the at least one object and the touch pad 150 according to the first image and the second image. The detailed judgment method will be described in detail in the next paragraph.
图2为本发明感应第一触碰点P1的实施例。为了方便说明起见,图2简化了图1以呈现触控垫150上的光线路径。在本发明实施例中,为了方便计算,第一感光模块116与第二感光模块126的长度可以设定为相同,表示为S。第一感光模块116与第四边框140呈45度夹角,中垂线指向该第一针孔112,使第一感光模块116的两端点和第一针孔112的连线形成一等腰三角形,可以透过第一针孔112完整的接收触控垫150中任何位置投射进来的光线,尤其是来自第二边框120和第三边框130的反射光。同样的,第二感光模块126的两端点和第一针孔112的连线也形成一等腰三角形,可接收来自第一边框110和第三边框130的反射光。FIG. 2 is an embodiment of sensing the first touch point P1 of the present invention. For convenience of illustration, FIG. 2 simplifies FIG. 1 to show the light path on the touch pad 150 . In the embodiment of the present invention, for the convenience of calculation, the lengths of the first photosensitive module 116 and the second photosensitive module 126 can be set to be the same, denoted as S. The angle between the first photosensitive module 116 and the fourth frame 140 is 45 degrees, and the vertical line points to the first pinhole 112, so that the line connecting the two ends of the first photosensitive module 116 and the first pinhole 112 forms an isosceles triangle , can pass through the first pinhole 112 to completely receive the light projected from any position in the touch pad 150 , especially the reflected light from the second frame 120 and the third frame 130 . Similarly, the line connecting the two ends of the second photosensitive module 126 and the first pinhole 112 also forms an isosceles triangle, which can receive reflected light from the first frame 110 and the third frame 130 .
当有一物体例如手指或触控笔接触了触控垫150的第一触碰点P1时,第二边框120和第三边框130的反射光被遮蔽而到达不了该第一针孔112,因而在第一感光模块116上的t1位置投射了一个影子j1。同样的,在第二感光模块126上的t2处,第一触碰点P1透过第二针孔122投射了一个影子j2。由于触控垫150是平面,第一感光模块116和第二感光模块126只需要感测一维(即线性)的影像即可判断第一触碰点P1的位置,因此该第一感光模块116和该第二感光模块126可以是特定的单行结构,不需要大面积画素数组。而且此应用场合中,只需要感测特定光源的变化,例如灰阶,未必需要精细的颜色阶调。因此成本比起传统的感光组件,是相当低廉。举例来说,该第一感光模块116和第二感光模块126上的第一成像和该第二成像呈现出来即是特定颜色的细长线条影像。When an object such as a finger or a stylus touches the first touch point P1 of the touch pad 150, the reflected light from the second frame 120 and the third frame 130 is blocked and cannot reach the first pinhole 112, thus The position t1 on the first photosensitive module 116 casts a shadow j1. Similarly, at t2 on the second photosensitive module 126 , the first touch point P1 casts a shadow j2 through the second pinhole 122 . Since the touch pad 150 is flat, the first photosensitive module 116 and the second photosensitive module 126 only need to sense a one-dimensional (ie linear) image to determine the position of the first touch point P1, so the first photosensitive module 116 And the second photosensitive module 126 can be a specific single-row structure, which does not require a large-area pixel array. Moreover, in this application, it is only necessary to sense the change of a specific light source, such as gray scale, and does not necessarily require fine color gradation. Therefore, the cost is quite low compared to traditional photosensitive components. For example, the first image and the second image on the first photosensitive module 116 and the second photosensitive module 126 are presented as slender line images of a specific color.
如图2所示,该第一边框110及第二边框120的长度即为触控垫150的高度,表示为H,而第三边框130和第四边框140的长度,也代表触控垫150的宽度,表示为W。为了计算出该第一触碰点P1所在的坐标(x,y),本发明实施例利用图1的运算单元160进行了一影像分析程序,主要包含夹角换算和坐标换算两个步骤。如图2所示,本发明定义第一触碰点P1至第一针孔112的连线与第一边框110的夹角为θ1,而第一触碰点P1至第二针孔122的连线与第二边框120的夹角为θ2。As shown in FIG. 2, the length of the first frame 110 and the second frame 120 is the height of the touch pad 150, denoted as H, and the length of the third frame 130 and the fourth frame 140 also represents the height of the touch pad 150. The width, denoted as W. In order to calculate the coordinates (x, y) of the first touch point P1, the embodiment of the present invention utilizes the computing unit 160 in FIG. 1 to perform an image analysis program, which mainly includes two steps of angle conversion and coordinate conversion. As shown in FIG. 2 , the present invention defines that the angle between the line connecting the first touch point P1 to the first pinhole 112 and the first frame 110 is θ1 , and the angle between the line connecting the first touch point P1 to the second pinhole 122 is θ 1 . The included angle between the connecting line and the second frame 120 is θ2 .
在第一感光模块116和第二感光模块126感测到阴影j1和j2之后,运算单元160遂根据下列公式进行夹角换算:After the first photosensitive module 116 and the second photosensitive module 126 sense the shadows j1 and j2, the calculation unit 160 performs angle conversion according to the following formula:
其中θ表示由针孔至感光组件上的投影点的连线,与纵轴(如第一边框110和第二边框120)的夹角。t代表投影点在感光组件上的位置,而S为感光组件的总长度。以第一感光模块116和第二感光模块126的长度皆为S为例,图2中的θ1和θ2可根据j 1和j2的位置代入第(1)式而得:Where θ represents the angle between the line from the pinhole to the projection point on the photosensitive component and the vertical axis (such as the first frame 110 and the second frame 120 ). t represents the position of the projection point on the photosensitive component, and S is the total length of the photosensitive component. Taking the lengths of the first photosensitive module 116 and the second photosensitive module 126 as S as an example,θ1 andθ2 in FIG. 2 can be obtained by substituting the positions of j1 and j2 into equation (1):
上述公式基于第一感光模块116和第二感光模块126与第四边框140呈45度角设置方式所推得。若是第一感光模块116和第二感光模块126的摆设角度有所不同,则获得的公式也会不同。本发明并不限定实际的做法。然而只要是透过第一针孔112和第二针孔122,事实上该触控垫150上不论是任何一点的坐标,皆可在第一感光模块116和第二感光模块126上产生一对一的对应关系。因此,只要透过适当的换算公式,即可根据j1和j2算出坐标(x,y)。The above formula is derived based on the arrangement of the first photosensitive module 116 , the second photosensitive module 126 and the fourth frame 140 at an angle of 45 degrees. If the arrangement angles of the first photosensitive module 116 and the second photosensitive module 126 are different, the obtained formulas will also be different. The present invention does not limit the actual practice. However, as long as it passes through the first pinhole 112 and the second pinhole 122, in fact no matter the coordinates of any point on the touch pad 150, a pair of coordinates can be generated on the first photosensitive module 116 and the second photosensitive module 126. One correspondence. Therefore, the coordinates (x, y) can be calculated according to j1 and j2 as long as an appropriate conversion formula is used.
更确切地说,以图2为例,由于第一触碰点P1为由第一针孔112和第二针孔122延伸出来的两条直线的交点,在求得θ1,θ2之后,运算单元160可进一步根据该θ1,θ2,触控垫150的高度H以及宽度W进行一转换运算,以三角函数的联立方程式求得该第一触碰点P1的位置坐标。而本例中所使用的转换运算所使用的公式,省略推导过程后,可直接表示结果如下:More precisely, taking FIG. 2 as an example, since the first touch point P1 is the intersection point of two straight lines extending from the first pinhole 112 and the second pinhole 122, after obtaining θ1 and θ2 , The computing unit 160 can further perform a conversion operation according to the θ1 , θ2 , the height H and the width W of the touch pad 150 , and obtain the position coordinates of the first touch point P1 by simultaneous equations of trigonometric functions. However, the formula used in the conversion operation used in this example, after omitting the derivation process, can directly express the result as follows:
由第(4)式和第(5)式可知,基本上第一触碰点P1的坐标(x,y)是由角度各为θ1和θ2的两条线段交叉的联立方程式解,再根据触控垫150的长宽换算而得。实际的方程式可能随着针孔的摆设位置以及触控垫150的长宽不同而异。因此本发明实施例并不限定第(4)式和第(5)式的详细计算方式。为了简化后续说明,在此将转换函式在此一般化地表示为:It can be seen from formulas (4) and (5) that basically the coordinates (x, y) of the first touch point P1 are the solution to the simultaneous equations in which two line segments whose angles are respectively θ1 and θ2 intersect, Then it is calculated according to the length and width of the touch pad 150 . The actual equation may vary depending on the location of the pinholes and the length and width of the touch pad 150 . Therefore, the embodiment of the present invention does not limit the detailed calculation methods of formulas (4) and (5). In order to simplify the subsequent description, the conversion function is generally expressed here as:
P(x,y)=F(θa,θb) (6)P(x,y)=F(θa ,θb ) (6)
其中P(x,y)表示任一点P的坐标,而F(θa,θb)可概括代表第(4)式和第(5)式的运算过程,意指代入任何数值的θa和θb皆可在交叉点找出一组对应的坐标(x,y)。举例来说,将θ1,θ2代入第(6)式,即可求得第一触碰点P1的坐标值,表示如下:Among them, P(x,y) represents the coordinates of any point P, and F(θa ,θb ) can generally represent the operation process of formula (4) and formula (5), which means that θa and θb can find a set of corresponding coordinates (x, y) at the intersection point. For example, by substituting θ1 and θ2 into the formula (6), the coordinate value of the first touch point P1 can be obtained, expressed as follows:
P1(x,y)=F(θ1,θ2) (7)P1(x,y)=F(θ1 ,θ2 ) (7)
更进一步地,本发明可应用在多点触控的场合。图3为本发明同时感应第一触碰点P1和第二触碰点P2的实施例。在触控垫150中,由于同时出现两个触碰点P1和P2,该第二边框120和第三边框130的第一反射光受到遮蔽而在第一感光模块116上产生两个阴影K1和K2,而同样地,该第二感光模块126上出现两个阴影K3和K4。将阴影K1、K2、K3和K4的位置代入第(1)式,可得到对应第一针孔112的两个角度θ1、θ2,以及对应第二针孔122的两个角度为了反推出两个触碰点P1和P2的实际坐标,运算单元160的计算逻辑是,以第一针孔112和第二针孔122出发点,各别以角度θ1,θ2,及延伸出两条直线,在触控垫150上产生四个交叉点P1、P2、Q1和Q2。根据第(6)式,其坐标可表示为:Furthermore, the present invention can be applied in the occasion of multi-touch. FIG. 3 is an embodiment of simultaneously sensing the first touch point P1 and the second touch point P2 of the present invention. In the touch pad 150, due to two touch points P1 and P2 appearing at the same time, the first reflected light of the second frame 120 and the third frame 130 is blocked to produce two shadows K1 and K2, and similarly, two shadows K3 and K4 appear on the second photosensitive module 126 . Substituting the positions of the shadows K1, K2, K3 and K4 into the formula (1), two angles θ1 and θ2 corresponding to the first pinhole 112 and two angles corresponding to the second pinhole 122 can be obtained In order to deduce the actual coordinates of the two touch points P1 and P2 in reverse, the calculation logic of the computing unit 160 is to start from the first pinhole 112 and the second pinhole 122, and take angles θ1 , θ2 , and Two straight lines are extended to generate four intersection points P1 , P2 , Q1 and Q2 on the touch pad 150 . According to formula (6), its coordinates can be expressed as:
P1(x,y)=F(θ1,θ2) (8)P1(x,y)=F(θ1,θ2) (8)
换言之,对运算单元160而言,可能的解有两组,一组是(P1,P2),而另一组是(Q1,Q2)。如果第一触碰点在P1,则第二触碰点必然在P2。相对的,如果第一触碰点在Q1,则第二触碰点必然在Q2。由于单凭四个投影K1、K2、K3和K4无法确定何为真正的解,P1、P2、Q1和Q2只能列为候选解。为了确认真正的解,本发明实施例进一步提出下列做法。In other words, for the operation unit 160, there are two groups of possible solutions, one group is (P1, P2) and the other group is (Q1, Q2). If the first touch point is at P1, then the second touch point must be at P2. In contrast, if the first touch point is at Q1, then the second touch point must be at Q2. Since the four projections K1, K2, K3 and K4 alone cannot determine what is the real solution, P1, P2, Q1 and Q2 can only be listed as candidate solutions. In order to confirm the real solution, the embodiment of the present invention further proposes the following methods.
图4a为本发明同时感应第一触碰点P1和第二触碰点P2的另一实施例。在第四边框140的中点,额外设置了一第三针孔132,用于捕捉额外一组成像,由此辅助第一针孔112和第二针孔122判断多点触控的正确解。由于第三针孔132的视野范围有180度,可在其外缘设置左半部感光器136和右半部感光器146。左半部感光器136和右半部感光器146具有相同长度,互相垂直摆设而形成等腰三角形。而该左半部感光器136及该右半部感光器146的中垂线各正对该第三针孔132。由此,可透过第三针孔132完整捕捉180度的视野,收集第一边框110,第二边框120和第三边框130的反射光投射出来的成像。其中左半部感光器136可侦测的视野范围为触控垫150的左半部,而右半部感光器146的视野范围为触控垫150的右半部,因此在触控垫150中任何位置的触碰点的阴影皆可透过第三针孔132被侦测到。虽然在此感光模块的设置方式为左半部感光器136和右半部感光器146垂直摆设,但是也可能有其它捕捉180度视角的操作方式,例如以第三针孔132为圆心设置一个半圆弧形的感光组件。本发明并不限定其操作方式。FIG. 4 a is another embodiment of the present invention that simultaneously senses the first touch point P1 and the second touch point P2 . At the midpoint of the fourth frame 140 , a third pinhole 132 is additionally provided for capturing an additional set of images, thereby assisting the first pinhole 112 and the second pinhole 122 to determine the correct solution of the multi-touch. Since the field of view of the third pinhole 132 is 180 degrees, a left half of the photoreceptor 136 and a right half of the photoreceptor 146 can be arranged on its outer edge. The left half of the photoreceptor 136 and the right half of the photoreceptor 146 have the same length and are arranged perpendicular to each other to form an isosceles triangle. The vertical lines of the left half of the photoreceptor 136 and the right half of the photoreceptor 146 are respectively facing the third pinhole 132 . Thus, a 180-degree field of view can be fully captured through the third pinhole 132 , and images projected from the reflected light of the first frame 110 , the second frame 120 and the third frame 130 can be collected. Wherein the left half photoreceptor 136 can detect the field of view of the left half of the touch pad 150, and the right half photoreceptor 146 has a field of view of the right half of the touch pad 150, so in the touch pad 150 The shadow of the touch point at any position can be detected through the third pinhole 132 . Although the arrangement of the photosensitive module here is that the left half of the photoreceptor 136 and the right half of the photoreceptor 146 are arranged vertically, there may also be other operation methods for capturing a 180-degree viewing angle, such as setting a semicircle with the third pinhole 132 as the center of the circle Curved photosensitive components. The invention does not limit its mode of operation.
以图4a为例,若是有两个物体同时接触该触控垫150的点P1和P2处,则在第一感光模块116上形成阴影K1和K2,在第二感光模块126上形成阴影K3和K4。其中第一触碰点P1实际上位于触控垫150的右半部,因此落入右半部感光器146的成像范围,在右半部感光器146上形成了阴影K5。另一方面,第二触碰点P2实际上位于触控垫150的左半部,所以在左半部感光器136上形成阴影K6。当左半部感光器136和右半部感光器146感测到此状况,运算单元160可依照第(1)式,从第一感光模块116上的阴影K1、K2,和第二感光模块126上的阴影K3、K4各推导出两个角度θ1,θ2,及角度接着依照第(8)、(9)、(10)、(11)式找出两组可能的候选解(P1、P2)和(Q1、Q2)。另一方面,左半部感光器136所侦测到的阴影K6代入第(1)式后可得θ3,其延伸直线与第二针孔122延伸而来的角度为θ2和的两条直线交叉于R1和P2两点,坐标值根据第(6)式可推得为:Taking Figure 4a as an example, if two objects touch the points P1 and P2 of the touch pad 150 at the same time, shadows K1 and K2 will be formed on the first photosensitive module 116, and shadows K3 and K2 will be formed on the second photosensitive module 126. K4. The first touch point P1 is actually located on the right half of the touch pad 150 , thus falling into the imaging range of the right half of the photoreceptor 146 , forming a shadow K5 on the right half of the photoreceptor 146 . On the other hand, the second touch point P2 is actually located on the left half of the touch pad 150 , so a shadow K6 is formed on the left half of the photoreceptor 136 . When the left half of the photoreceptor 136 and the right half of the photoreceptor 146 sense this situation, the computing unit 160 can follow the first formula (1), from the shadows K1, K2 on the first photosensitive module 116, and the second photosensitive module 126 The shadows K3 and K4 on each deduce two angles θ1 , θ2 , and the angle Then find out two groups of possible candidate solutions (P1, P2) and (Q1, Q2) according to formulas (8), (9), (10), and (11). On the other hand, after substituting the shadow K6 detected by the photoreceptor 136 in the left half into equation (1), θ3 can be obtained, and the angle between the extended line and the second pinhole 122 is θ2 and The two straight lines intersect at two points R1 and P2, and the coordinate values can be deduced according to formula (6):
R1(x,y)=F(θ3,θ2) (12)R1(x,y)=F(θ3,θ2) (12)
再另一方面,右半部感光器146侦测到的阴影K5代入第(1)式后可得θ4,其延伸直线与第一针孔112延伸而来的θ1和交叉于R2和P1两点,坐标值根据第(6)式可推得为:On the other hand, after substituting the shadow K5 detected by the right photoreceptor 146 into the formula (1), θ4 can be obtained, and its extension line is the same as θ 1 and θ1 extended from the first pinhole 112 Intersecting at two points R2 and P1, the coordinate value can be deduced according to formula (6):
P1(x,y)=F(θ1,θ4) (15)P1(x,y)=F(θ1,θ4) (15)
由第(12)式至第(15)式的四个解可知,单凭左半部感光器136上的阴影K6和第二感光模块126上的阴影K3、K4只能判断出两个可能结果R1和P2,而单凭右半部感光器146上的阴影K5和第一感光模块116上的阴影K1、K2只能判断出两个可能结果R2和P1。然而将第(12)至(15)式与先前第(8)至(11)式比较,可以立刻发现(P1、P2)是两组候选解的交集,至此已可确认(P1、P2)就是实际触碰点的位置。From the four solutions of formulas (12) to (15), it can be seen that only two possible results can be judged based on the shadow K6 on the left photoreceptor 136 and the shadows K3 and K4 on the second photosensitive module 126 R1 and P2, and only two possible results R2 and P1 can be determined based on the shadow K5 on the right half photoreceptor 146 and the shadows K1 and K2 on the first photosensitive module 116 . However, comparing equations (12) to (15) with previous equations (8) to (11), it can be immediately found that (P1, P2) is the intersection of two sets of candidate solutions. So far, it has been confirmed that (P1, P2) is The location of the actual touch point.
在某些状况中,第一触碰点P1和P2可能同时位于左半部,或同时位于右半部。但是推算的原理基本上相同,并不受到位置差异的影响。举例来说,图4b为本发明同时感应第一触碰点P1和第二触碰点P2的另一情况。有两个触控物体同时接触该触控垫150的第一触碰点P1和P2处,则在第一感光模块116上形成阴影K1和K2,在第二感光模块126上形成阴影K3和K4。其中第一触碰点P1和P2实际上皆位于触控垫150的右半部,因此落入右半部感光器146的成像范围,在右半部感光器146上形成了阴影K5和K6。至此,运算单元160可依照第(1)式,从第一感光模块116上的阴影K1、K2,和第二感光模块126上的阴影K3、K4各推导出两组角度θ1、θ2,及接着依照第(8)、(9)、(10)、(11)式找出两组可能的候选解(P1、P2)和(Q1、Q2)。另一方面,右半部感光器146所侦测到的阴影K5和K6代入第(1)式后可得θ3和其延伸直线与第一针孔112延伸而来的θ1和总共交叉于P1、P2、R1和R2四点,坐标值根据第(6)式可推得为:In some situations, the first touch points P1 and P2 may be located in the left half or in the right half at the same time. But the principle of reckoning is basically the same and is not affected by the difference in location. For example, FIG. 4 b shows another situation in which the first touch point P1 and the second touch point P2 are simultaneously sensed in the present invention. If two touch objects touch the first touch points P1 and P2 of the touch pad 150 at the same time, shadows K1 and K2 will be formed on the first photosensitive module 116 , and shadows K3 and K4 will be formed on the second photosensitive module 126 . The first touch points P1 and P2 are actually located on the right half of the touch pad 150 , thus falling into the imaging range of the right half of the photoreceptor 146 , forming shadows K5 and K6 on the right half of the photoreceptor 146 . So far, the computing unit 160 can derive two sets of angles θ 1 andθ 2 from the shadows K1 and K2 on the first photosensitive module 116 and the shadows K3 and K4 on the second photosensitive module126 according to the formula (1), and Then find out two groups of possible candidate solutions (P1, P2) and (Q1, Q2) according to formulas (8), (9), (10), and (11). On the other hand, after substituting the shadows K5 and K6 detected by the right half photoreceptor 146 into the formula (1),θ3 and Its extended straight line and θ1 extended from the first pinhole 112 and A total of four points intersect P1, P2, R1 and R2, and the coordinate values can be deduced according to formula (6):
P1(x,y)=F(θ1,θ3) (16)P1(x,y)=F(θ1 ,θ3 ) (16)
由第(16)式至第(19)式的四个解可知,单凭右半部感光器146上的阴影K5、K6和第一感光模块116上的阴影K1、K2只能判断出可能的候选结果有(P1、P2)或(R1、R2)两种。然而将第(16)至(19)式与先前第(8)至(11)式比较,可以立刻发现(P1、P2)是两组候选解皆符合的交集,至此已可确认(P1、P2)就是实际触碰点的位置。From the four solutions of formula (16) to formula (19), we can only judge the possible Candidate results are (P1, P2) or (R1, R2). However, comparing equations (16) to (19) with previous equations (8) to (11), it can be immediately found that (P1, P2) is the intersection of the two sets of candidate solutions, so far it has been confirmed that (P1, P2 ) is the position of the actual touch point.
另一方面基于相同原理,若是利用第二感光模块126测得的角度θ2,与右半部感光器146测得的角度θ3,联立代入第(6)式,也同样可以找出多个可能候选解,但是其中必然与第(8)至(11)式存在交集,也就是(P1、P2)。更进一步地说,在某些情况下,求得的候选解可能超出了触控垫150的范围,则可以直接排除其可能性,由此加速判定真正的触碰点坐标。On the other hand, based on the same principle, if the angle θ2 measured by the second photosensitive module 126 is used, The angle θ3 measured with the right half photoreceptor 146, Simultaneously substituting into equation (6), multiple possible candidate solutions can also be found, but there must be an intersection with equations (8) to (11), that is, (P1, P2). Furthermore, in some cases, the obtained candidate solution may exceed the range of the touch pad 150, so the possibility can be directly ruled out, thereby speeding up the determination of the real touch point coordinates.
综上所述,多点触控的判定方式实际上是在解联立方程式。欲确认两个触碰点的位置,至少需要两条联立方程式。第一感光模块116搭配第二感光模块126的条件足以提供第一组候选解答,而左右两半部感光器136/146搭配第一/第二感光模块116/126可提供第二组候选解答。第一组和第二组候选解答的交集,即具有充分的联立方程式解答条件。同理,若是有N个以上的触碰点发生于该触控垫150上,可通过N+1组针孔,配合同样的运算规则而判断每一触碰点的位置。To sum up, the judgment method of multi-touch is actually solving simultaneous equations. To determine the positions of two touch points, at least two simultaneous equations are required. The first photosensitive module 116 combined with the second photosensitive module 126 is sufficient to provide the first set of candidate solutions, and the left and right photoreceptor halves 136/146 combined with the first/second photosensitive modules 116/126 can provide the second set of candidate solutions. The intersection of the first group and the second group of candidate solutions has sufficient simultaneous equation solution conditions. Similarly, if there are more than N touch points on the touch pad 150 , the position of each touch point can be determined through N+1 sets of pinholes and the same algorithm.
图5为本发明感应第一触碰点P1的实施例的流程图。图2的运算过程可以简单归纳为下列流程。首先在步骤501中,启动如图1所示的触控感应装置100。第一光源114和第二光源124发出光束,而第一针孔112和第二针孔122利用针孔投射原理将第一边框110,第二边框120和第三边框130的反射光投射在第一感光模块116和第二感光模块126上。触控垫150上接受一物体的触碰,而触碰点位于第一触碰点P1。在步骤503中,第一感光模块116的t1处侦测到一阴影j1。由第(1)式可求得该第一触碰点P1至第一针孔112连线与该第一边框110的夹角θ1。另一方面,在步骤505中,第二感光模块126在t2处侦测到一阴影j2,进而推算出θ2。接着在步骤507中,将θ1和θ2代入如第(4)和第(5)式所述的联立方程式,即可求得第一触碰点P1的坐标。FIG. 5 is a flowchart of an embodiment of sensing the first touch point P1 of the present invention. The operation process in Fig. 2 can be simply summarized as the following flow. Firstly, in step 501 , start the touch sensing device 100 shown in FIG. 1 . The first light source 114 and the second light source 124 emit light beams, and the first pinhole 112 and the second pinhole 122 use the pinhole projection principle to project the reflected light of the first frame 110, the second frame 120 and the third frame 130 on the second frame. On the first photosensitive module 116 and the second photosensitive module 126 . The touch pad 150 is touched by an object, and the touch point is located at the first touch point P1. In step 503 , a shadow j1 is detected at t1 of the first photosensitive module 116 . The included angle θ1 between the line connecting the first touch point P1 to the first pinhole 112 and the first frame 110 can be obtained from the formula (1). On the other hand, in step 505 , the second photosensitive module 126 detects a shadow j2 at t2 , and then calculates θ2 . Then in step 507, the coordinates of the first touch point P1 can be obtained by substitutingθ1 andθ2 into the simultaneous equations described in equations (4) and (5).
图6为本发明同时感应第一触碰点P1和第二触碰点P2的实施例的流程图。首先在步骤601中启动如图1所示的触控感应装置100,并同时接受多点触碰。在步骤603中,由第一感光模块116和第二感光模块126感测到的成像,可求得第一组候选解,例如第(8)至(11)式所示的坐标值。在步骤605中,由第一/第二感光模块116/126和左右半部感光器136/146感测到的成像联立求解,可得到第二组候选解,例如第(12)至(15)式所示的坐标值。在步骤607中,比较第一组候选解和第二组候选解中的交集,即可判定实际触碰点的坐标。例如第(13)和(15)式所述的第一触碰点P1和第二触碰点P2的坐标值。FIG. 6 is a flowchart of an embodiment of simultaneously sensing the first touch point P1 and the second touch point P2 of the present invention. Firstly, in step 601 , the touch sensing device 100 shown in FIG. 1 is activated and simultaneously accepts multi-point touches. In step 603 , a first group of candidate solutions can be obtained from the images sensed by the first photosensitive module 116 and the second photosensitive module 126 , such as the coordinate values shown in equations (8) to (11). In step 605, the imaging sensed by the first/second photosensitive module 116/126 and the left and right halves of photoreceptors 136/146 are simultaneously solved to obtain a second group of candidate solutions, such as (12) to (15 ) coordinate value shown in the formula. In step 607, the coordinates of the actual touch point can be determined by comparing the intersection of the first group of candidate solutions and the second group of candidate solutions. For example, the coordinate values of the first touch point P1 and the second touch point P2 described in formulas (13) and (15).
本发明实施例的触控感应装置100可应用在手持式行动装置中,或者大型投影幕、触控面板或手写版。触控垫,边框与针孔的实际摆设可视实际运用而有不同的长宽变化及相对位置的调整。例如第一光源114和第二光源124的位置可以是设置在不影响针孔接收反射光的任何位置。触控垫150的范围大小可以小于等于第一边框110,第二边框120,第三边框130和第四边框140所围起来的面积。运算单元160可以是专门执行成像的分析运算的硬件线路,也可以是由一可执行作业统及软件来达成功能的处理器。The touch sensing device 100 of the embodiment of the present invention can be applied in a handheld mobile device, or a large projection screen, a touch panel or a handwriting tablet. The actual layout of the touch pad, frame and pinholes may vary in length and width and relative position adjustments depending on the actual application. For example, the positions of the first light source 114 and the second light source 124 may be set at any position that does not affect the pinholes to receive reflected light. The range of the touch pad 150 may be smaller than or equal to the area enclosed by the first frame 110 , the second frame 120 , the third frame 130 and the fourth frame 140 . The computing unit 160 may be a hardware circuit dedicated to performing imaging analysis operations, or may be a processor that can execute an operating system and software to achieve the function.
虽然本发明以较佳实施例说明如上,但可以理解的是本发明的范围未必如此限定。相对的,任何基于相同精神或对本发明所属技术领域中具有通常知识者为显而易见的改良皆在本发明涵盖范围内。因此专利要求范围必须以最广义的方式解读。Although the present invention has been described above with preferred embodiments, it should be understood that the scope of the present invention is not necessarily so limited. On the contrary, any modification based on the same spirit or obvious to those with ordinary knowledge in the technical field of the present invention is within the scope of the present invention. The scope of patent claims must therefore be read in the broadest possible manner.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010131744.9ACN102163106B (en) | 2010-02-23 | 2010-02-23 | Touch sensing device and touch point detection method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010131744.9ACN102163106B (en) | 2010-02-23 | 2010-02-23 | Touch sensing device and touch point detection method |
| Publication Number | Publication Date |
|---|---|
| CN102163106A CN102163106A (en) | 2011-08-24 |
| CN102163106Btrue CN102163106B (en) | 2015-05-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010131744.9AActiveCN102163106B (en) | 2010-02-23 | 2010-02-23 | Touch sensing device and touch point detection method |
| Country | Link |
|---|---|
| CN (1) | CN102163106B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI564773B (en)* | 2015-08-05 | 2017-01-01 | 緯創資通股份有限公司 | Optical touch system and optical touch apparatus thereof |
| CN111610894B (en)* | 2020-06-08 | 2023-03-07 | 宁波视睿迪光电有限公司 | Touch device, display panel and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1635541A (en)* | 2003-12-26 | 2005-07-06 | 北京汇冠新技术有限公司 | Photoelectric detection positioning system and method for computer touch screen |
| CN101398725A (en)* | 2007-09-25 | 2009-04-01 | 广达电脑股份有限公司 | System and method for distinguishing multiple touch points |
| CN101582001A (en)* | 2009-07-07 | 2009-11-18 | 松翰科技股份有限公司 | Touch screen, touch module and control method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4746770A (en)* | 1987-02-17 | 1988-05-24 | Sensor Frame Incorporated | Method and apparatus for isolating and manipulating graphic objects on computer video monitor |
| US6335724B1 (en)* | 1999-01-29 | 2002-01-01 | Ricoh Company, Ltd. | Method and device for inputting coordinate-position and a display board system |
| US7355593B2 (en)* | 2004-01-02 | 2008-04-08 | Smart Technologies, Inc. | Pointer tracking across multiple overlapping coordinate input sub-regions defining a generally contiguous input region |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1635541A (en)* | 2003-12-26 | 2005-07-06 | 北京汇冠新技术有限公司 | Photoelectric detection positioning system and method for computer touch screen |
| CN101398725A (en)* | 2007-09-25 | 2009-04-01 | 广达电脑股份有限公司 | System and method for distinguishing multiple touch points |
| CN101582001A (en)* | 2009-07-07 | 2009-11-18 | 松翰科技股份有限公司 | Touch screen, touch module and control method |
| Publication number | Publication date |
|---|---|
| CN102163106A (en) | 2011-08-24 |
| Publication | Publication Date | Title |
|---|---|---|
| TWI498785B (en) | Touch sensor apparatus and touch point detection method | |
| EP2353069B1 (en) | Stereo optical sensors for resolving multi-touch in a touch detection system | |
| CN102169394B (en) | Multi-point touch panel and gesture recognition method thereof | |
| CN103576994B (en) | Method and system for determining true touch point on input touch panel using sensing module | |
| TWI461975B (en) | Electronic device and method for correcting touch position | |
| CN105589607B (en) | Touch-control system, touch control display system and touch-control exchange method | |
| CN102929438B (en) | Optical touch device and method for detecting coordinates of touch points thereof | |
| TW201137708A (en) | Imaging device based touch system | |
| CN104461176A (en) | Information processor, processing method, and projection system | |
| CN102968218B (en) | Optical image type touch device and touch image processing method | |
| US10037107B2 (en) | Optical touch device and sensing method thereof | |
| CN102163106B (en) | Touch sensing device and touch point detection method | |
| CN104679352B (en) | Optical touch device and touch point detection method | |
| US20120127129A1 (en) | Optical Touch Screen System and Computing Method Thereof | |
| CN102622140B (en) | Image pick-up multi-point touch system | |
| CN202443449U (en) | Photographic multi-point touch system | |
| CN105653101B (en) | Touch point sensing method and optical touch system | |
| CN105718121A (en) | Optical touch device | |
| TW201510822A (en) | Optical coordinate input device | |
| TWI419011B (en) | Method and system for tracking touch point | |
| TWI464651B (en) | Optical touch system and touch object separating method thereof | |
| CN103064560B (en) | A kind of multi-point touch panel | |
| TWI439905B (en) | Touch module and touch detecting method | |
| CN102479002B (en) | Optical touch system and sensing method thereof | |
| TWI553531B (en) | Optical touch device and method for calculating coordinate of touch point |
| 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 |