CN102129326B - Positioning method for optical touch device and optical touch device - Google Patents

Positioning method for optical touch device and optical touch device Download PDF

Info

Publication number
CN102129326B
CN102129326B CN201010000335.5A CN201010000335A CN102129326B CN 102129326 B CN102129326 B CN 102129326B CN 201010000335 A CN201010000335 A CN 201010000335A CN 102129326 B CN102129326 B CN 102129326B
Authority
CN
China
Prior art keywords
group
wall
detecting element
image detecting
section
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.)
Expired - Fee Related
Application number
CN201010000335.5A
Other languages
Chinese (zh)
Other versions
CN102129326A (en
Inventor
高铭璨
郑信基
许登伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN201010000335.5A priority Critical patent/CN102129326B/en
Publication of CN102129326A publication Critical patent/CN102129326A/en
Application granted granted Critical
Publication of CN102129326B publication Critical patent/CN102129326B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to a positioning method for an optical touch device and the optical touch device. The positioning method for the optical touch device is applied to the optical touch device, and is used for calculating the position of a shade. The optical touch device comprises a plurality of image sensing elements, wherein each image sensing element comprises a plurality of pixels arranged along a linear direction. The positioning method for the optical touch device comprises the following steps of: dividing the pixels of each image sensing element into at least a first group and a second group, calculating the position of a dark spot by using a first algorithm when the first group senses the dark spot caused by the shade, and calculating the position of the dark spot by using a second algorithm when the second group senses the dark spot caused by the shade. By the positioning method for the optical touch device, the optical touch device can accurately calculate the position of the shade. In addition, the invention discloses the optical touch device applicable to the positioning method.

Description

The localization method of optical touch control apparatus and optical touch control apparatus
Technical field
The present invention relates to a kind of contactor control device, particularly relate to a kind of localization method of optical touch control apparatus and be suitable for the optical touch control apparatus of this localization method.
Background technology
Touch controllable function has become one of common function of many electronic installations now, and contactor control device is the electronic component realized needed for touch controllable function.The kind of current contactor control device mainly comprises resistance-type, condenser type, optical profile type etc., electronic installation can according to different touch-control demands different types of contactor control device of arranging in pairs or groups.
Fig. 1 is a kind of structural representation of known optical contactor control device.Please refer to shown in Fig. 1, optical touch control apparatus 100 comprises light guide module 110, light source module 120 and an image detecting module 130.Wherein, light guide module 110 comprises reflecting strips 112a that three limits along a rectangular path are arranged in order, 112b, 112c.Reflecting strips 112a is relative with reflecting strips 112c, and reflecting strips 112b is between reflecting strips 112a and reflecting strips 112c, and the region in above-mentioned rectangular path is a sensing area 114.In addition, light source module 120 comprises light-emitting component 122a, 122b, and this two light emitting 122a, 122b are arranged at one end away from reflecting strips 112b of reflecting strips 112a, 112c respectively.Light source module 120 is in order to provide light to reflecting strips 112a, 112b, 112c, and the light that reflecting strips 112a, 112b, 112c provide in order to reflection source module 120.In addition, image detecting module 130 comprises image detecting element 132a, 132b, and this two image detectings element 132a, 132b are also arranged at one end away from reflecting strips 112b of reflecting strips 112a, 112b respectively.Image detecting element 132a, 132b comprise multiple pixels 135 of direction arrangement along a straight line respectively.These pixels 135 for detecting the shade (i.e. touch point) being positioned at sensing area 114, thus calculate the position (or claiming coordinate) of shade further according to detected information.
In more detail, reflecting strips 112b, 112c are contained in the visual field of image detecting element 132a, and that is, these pixels 135 of image detecting element 132a are respectively in order to sense a part of reflecting strips 112b, 112c.When shade is positioned at sensing area 114, the dim spot caused by shade that image detecting element 132a detects is the junction being positioned at reflecting strips 112b, reflecting strips 112c or reflecting strips 112b, 112c, and this dim spot can be detected by the partial pixel 135 of image detecting element 132a.In like manner, reflecting strips 112a, 112b are contained in the visual field of image detecting element 132b, and that is, these pixels 135 of image detecting element 132b are respectively in order to sense a part of reflecting strips 112a, 112b.When shade is positioned at sensing area 114, the dim spot caused by shade that image detecting element 132b detects is the junction being positioned at reflecting strips 112a, reflecting strips 112b or reflecting strips 112a, 112b, and this dim spot can be detected by the partial pixel 135 of image detecting element 132b.
Known optical contactor control device 100 normally adopts center algorithm or center of gravity algorithm to calculate the position of the dim spot that shade causes, and then positions shade.But, adopt center algorithm or center of gravity algorithm can not determine the position of the dim spot that all shades being positioned at sensing area 114 cause accurately.Specifically, when adopting center algorithm, in the sensing area 114 of known optical contactor control device 100, there is a non-sensitive district (insensitive area) 114a.When shade is positioned at non-sensitive district 114a, because the angle of deviation of light is comparatively large, so the position of the dim spot calculated by center algorithm easily produces error.In addition, when adopting center of gravity algorithm, when the dim spot that shade causes is positioned at the junction of two adjacent reflecting strips, the position of the dim spot calculated by center of gravity algorithm easily produces error.
As shown in Figure 2, for image detecting element 132b, when the position of the dim spot A1 that the shade A adopting center algorithm to calculate to be positioned at non-sensitive district 114a causes, the n-th pixel 135n to r pixel 135r of image detecting element 132b detects the dim spot A1 being positioned at reflecting strips 112a that shade A causes.The center of the dim spot A1 that the center algorithm of above calculates equals (n+r)/2, that is the center of dim spot A1 should correspond to (n+r)/2 pixel 135m.But in fact, link pixel 135m ' by the straight line L at the center of shade A and the center of dim spot A1.That is, the correct center of dim spot A1 is the pixel 135m ' corresponded to, but not pixel 135m.In like manner, also there is similar problem in image detecting element 132a, during the position of the dim spot A1 that the shade A therefore adopting center algorithm to calculate to be positioned at non-sensitive district 114a causes, is easier to produce error.
As shown in Figure 3, the position of the dim spot B1 that the shade B adopting center of gravity algorithm to calculate to be positioned at sensing area 114 causes is described for image detecting element 132a.The xth pixel 135x to y pixel 135y of image detecting element 132a detects the dim spot B1 that shade B causes.The computing formula of above-mentioned center of gravity algorithm is as follows:
Cg = Σ w = x y | bg [ w ] - img [ w ] | × w Σ w = x y | bg [ w ] - img [ w ] |
In formula, w represents w pixel, the background value that bg [w] detects for w pixel, the brightness value of image that img [w] detects for w pixel, and Cg is the position of centre of gravity of the dim spot B1 that the shade B that calculates causes.But, as shown in Figure 3, when the dim spot B1 that shade B causes be positioned at adjacent two reflecting strips 112b, 112c junction time, because optical touch control apparatus 100 is more weak at the light of the junction of adjacent two reflecting strips 112b, 112c, the detecting of background value and brightness value of image is caused easily to produce larger error.So, be there is larger error in the physical location of the position and dim spot B1 of causing calculated dim spot B1.
Based on above-mentioned, the algorithm adopted due to known technology easily produces larger error when calculating dim spot, causes known optical contactor control device to have the inaccurate problem in location.
As can be seen here, the localization method of above-mentioned existing optical touch control apparatus and optical touch control apparatus, in product structure, manufacture method and use, obviously still have inconvenience and defect, and are urgently further improved.In order to solve above-mentioned Problems existing, relevant manufactures there's no one who doesn't or isn't seeks solution painstakingly, but have no applicable design for a long time to be completed by development always, and common product and method do not have appropriate structure and method to solve the problem, this is obviously the anxious problem for solving of relevant dealer.Therefore how to found a kind of localization method and optical touch control apparatus of new optical touch control apparatus, one of current important research and development problem of real genus, also becomes the target that current industry pole need be improved.
Summary of the invention
The object of the invention is to, the defect that the localization method overcoming existing optical touch control apparatus exists, and provide a kind of localization method of new optical touch control apparatus, technical problem to be solved makes its position accurately determining shade, is very suitable for practicality.
Another object of the present invention is to, overcome the defect that existing optical touch control apparatus exists, and provide a kind of new optical touch control apparatus, technical problem to be solved makes its position accurately determining shade, thus be more suitable for practicality.
The object of the invention to solve the technical problems realizes by the following technical solutions.The localization method of a kind of optical touch control apparatus proposed according to the present invention, it is applicable to an optical touch control apparatus, to calculate the position of a shade.This optical touch control apparatus comprises multiple image detecting element, and each image detecting element comprises multiple pixels of direction arrangement along a straight line.The localization method of this optical touch control apparatus these pixels of each image detecting element is at least divided into one first group and one second group, the detecting visual field non-overlapping copies of the detecting visual field of first group and second group, wherein when detecting the dim spot that shade causes for first group, the position of dim spot is calculated by one first algorithm, and when detecting the dim spot that shade causes for second group, calculate the position of dim spot by one second algorithm.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
In one embodiment of this invention, the first above-mentioned algorithm is center of gravity algorithm, and the second algorithm is center algorithm.
In one embodiment of this invention, above-mentioned optical touch control apparatus has a sensing region, and a corner of sensing region image detecting elements relative is therewith contained in the detecting visual field of second group of each image detecting element.
In one embodiment of this invention, these pixels of each above-mentioned image detecting element are divided into first group, second group and one the 3rd group, and the 3rd group between first group and second group.The equal non-overlapping copies in the detecting visual field of the detecting visual field of the 3rd group and the detecting visual field of first group and second group, when detecting the dim spot that shade causes for the 3rd group, calculates the position of dim spot by one the 3rd algorithm.
In one embodiment of this invention, the algorithm steps of the 3rd above-mentioned algorithm comprises: utilize the first algorithm and the second algorithm to calculate the position of the dim spot that shade causes respectively, to obtain one first numerical value and a second value; First numerical value is multiplied by one first weight α, to obtain a third value, and second value is multiplied by one second weight (1-α), to obtain one the 4th numerical value, and 0 < α < 1; And third value is added with the 4th numerical value.
In one embodiment of this invention, in these pixels of above-mentioned the 3rd group, when these pixels more near first group detect the dim spot that shade causes, the first weight α that the 3rd algorithm uses is larger.
In one embodiment of this invention, these pixels of each above-mentioned image detecting element are divided into first group, second group, the 3rd group and one the 4th group, second group between the 3rd group and the 4th group, the detecting visual field of the 4th group and the detecting visual field of first group, the detecting visual field of second group and the equal non-overlapping copies in the detecting visual field of the 3rd group, when detecting the dim spot that shade causes for the 4th group, calculate the position of dim spot by one of them of the first algorithm and the 3rd algorithm.
The object of the invention to solve the technical problems also realizes by the following technical solutions.According to a kind of optical touch control apparatus that the present invention proposes, it comprises a framework, a light source module, one first image detecting element and one second image detecting element.Framework comprises one first wall, one second wall, one the 3rd wall and a wall.First wall is relative with the 3rd wall, and the second wall is relative with wall, and the inner side of framework is a sensing region.Light source module is in order to provide light to sensing region.First image detecting element is arranged between the adjacent both ends of the first wall and the second wall, and the 3rd wall and wall is contained in its visual field.Second image detecting element is arranged between the adjacent both ends of the second wall and the 3rd wall, and the first wall and wall are contained in its visual field.Wherein, first image detecting element and the second image detecting element comprise multiple pixels that direction along a straight line arranges respectively, and these pixels at least comprise one first group and one second group, the detecting visual field non-overlapping copies of the detecting visual field of first group and second group, when detecting the dim spot that the shade that is positioned at sensing region causes for first group, the position of dim spot is calculated by one first algorithm, and when detecting the dim spot that the shade that is positioned at sensing region causes for second group, calculate the position of dim spot by one second algorithm.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
In one embodiment of this invention, the 3rd above-mentioned wall comprises a first paragraph of connection second wall and connects a second segment of wall.First group of detecting first paragraph of the first image detecting element, and second group of the first image detecting element detecting second segment and wall.First wall comprises one the 3rd section of connection second wall and the 4th section of connection wall.First group of detecting the 3rd section of the second image detecting element, and second group of the second image detecting element detecting the 4th section and wall.
In one embodiment of this invention, these pixels of above-mentioned each first image detecting element and the second image detecting element are more divided out one the 3rd group.3rd group between first group and second group, the equal non-overlapping copies in the detecting visual field of the detecting visual field of the 3rd group and the detecting visual field of first group and second group.When detecting the dim spot that the shade that is positioned at sensing region causes for the 3rd group, calculate the position of dim spot by one the 3rd algorithm.
In one embodiment of this invention, the 3rd above-mentioned wall comprise connection second wall a first paragraph, connect wall a second segment and be connected to 1 between first paragraph and second segment the 5th section.First group of detecting first paragraph of the first image detecting element, second group of detecting second segment of the first image detecting element and wall, and the 3rd of the first image detecting element the group is detected the 5th section.First wall comprises one the 3rd section of connection second wall, connect one the 4th section of wall and the 6th section of being connected between the 3rd section and the 4th section.First group of detecting the 3rd section of the second image detecting element, second group of detecting the 4th section and the wall of the second image detecting element, and the 3rd of the second image detecting element the group is detected the 6th section.
In one embodiment of this invention, these pixels of above-mentioned each first image detecting element and the second image detecting element are more divided out one the 3rd group and one the 4th group.3rd group between first group and second group, and second group between the 3rd group and the 4th group.The detecting visual field of the 4th group and the detecting visual field of first group, the detecting visual field of second group and the equal non-overlapping copies in the detecting visual field of the 3rd group.When detecting the dim spot that the shade that is positioned at sensing region causes for the 3rd group, the position of dim spot is calculated by one the 3rd algorithm, and when detecting the dim spot that the shade that is positioned at sensing region causes for the 4th group, calculate the position of dim spot by one of them of the 3rd algorithm and the first algorithm.
In one embodiment of this invention, the 3rd above-mentioned wall comprise connection second wall a first paragraph, connect wall a second segment and be connected to 1 between first paragraph and second segment the 5th section.Detect one section of first paragraph, second group of detecting second segment of the first image detecting element and vicinity the 3rd wall of wall for first group of first image detecting element, the 3rd group of detectings the 5th section of the first image detecting element, and one section of vicinity first wall of the 4th of the first image detecting element the group of detecting walls.First wall comprises one the 3rd section of connection second wall, connect one the 4th section of wall and the 6th section of being connected between the 3rd section and the 4th section.First group of detecting the 3rd section of the second image detecting element, one section of vicinity first wall of second group of the second image detecting element detecting the 4th section and wall, the 3rd group of detectings the 6th section of the second image detecting element, and one section of vicinity the 3rd wall of the 4th of the second image detecting element the group of detecting walls.
In one embodiment of this invention, above-mentioned optical touch control apparatus more comprises multiple light-guide device, and these light-guide devices are at least arranged at the first wall, the 3rd wall and wall.
By technique scheme, the localization method of optical touch control apparatus of the present invention and optical touch control apparatus at least have following advantages and beneficial effect: the localization method of optical touch control apparatus of the present invention and optical touch control apparatus are that the pixel of each image detecting element is divided into multigroup, during to detect dim spot that shade causes in the pixel of distinct group, more suitable algorithm is adopted to calculate the position of dim spot.So, accurately can calculate the position of dim spot, to promote the degree of accuracy of the location of shade.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of description, and can become apparent to allow above and other object of the present invention, feature and advantage, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, be described in detail as follows.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of known optical contactor control device.
The schematic diagram of the position of the dim spot that the shade that Fig. 2 calculates for employing center algorithm the non-sensitive district being positioned at Fig. 1 causes.
The schematic diagram of the position of the dim spot that the shade that Fig. 3 calculates for employing center of gravity algorithm the sensing area being positioned at Fig. 1 causes.
Fig. 4 is the schematic diagram that the localization method of the optical touch control apparatus of one embodiment of the invention is applied to an optical touch control apparatus.
Fig. 5 localization method illustrated as the optical touch control apparatus of another embodiment of the present invention is applied to the schematic diagram of an optical touch control apparatus.
Fig. 6 localization method illustrated as the optical touch control apparatus of further embodiment of this invention is applied to the schematic diagram of an optical touch control apparatus.
100: known optical contactor control device 110: light guide module
112a, 112b, 112c: reflecting strips 114: sensing area
114a: non-sensitive district 120: light source module
122a, 122b: light-emitting component 130: image detecting module
132a, 132b: image detecting element 135: pixel
135n: the n-th pixel 135r: a r pixel
135m: the (n+r)/2 pixel 135m ': pixel
135x: xth the pixel 135y: the y pixel
200: optical touch control apparatus 210: framework
201: the first wall 202: the second walls
203: the three wall 204: the walls
2031: first paragraph 2032: second segment
2035: the five sections 2013: the three sections
2014: the four sections 2016: the six sections
One section of vicinity the 3rd wall of 2041: the walls
One section of vicinity first wall of 2042: the walls
214: sensing region 214a: the subregion of sensing region
220: light source module 222a: the first light-emitting component
222b: the second light-emitting component 232a: the first image detecting element
232b: the second image detecting element 235: pixel
G1: the first group G2: the second group
G 3: the three crowds G4: the four crowd
Detailed description of the invention
For further setting forth the present invention for the technological means reaching predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to localization method and its detailed description of the invention of optical touch control apparatus, structure, method, step, feature and effect thereof of the optical touch control apparatus proposed according to the present invention, be described in detail as follows.
Please refer to shown in Fig. 4, it is the schematic diagram that the localization method of the optical touch control apparatus of first embodiment of the invention is applied to an optical touch control apparatus, and hereafter will specifically describe the localization method of optical touch control apparatus of the present invention for optical touch control apparatus 200.It is noted that the localization method of optical touch control apparatus of the present invention does not limit only can be used for optical touch control apparatus 200, the localization method of this optical touch control apparatus its also can be used on the optical touch control apparatus of other frameworks.
Optical touch control apparatus 200 comprises framework 210, light source module 220, a 1 first image detecting element 232a and one second image detecting element 232b.In the present embodiment, framework 210 is such as a rectangular box, and it comprises one first wall 201,1 second wall 202, the 3rd wall 203 and a wall 204.First wall 201 is relative with the 3rd wall 203, second wall 202 is relative with wall 204, and inside framework 210, be a sensing region 214, that is the region that first wall 201, second wall 202, the 3rd wall 203 and wall 204 cross is sensing region 214, and this sensing region 214 is such as rectangle sensing region.Light source module 220 is in order to provide light to sensing region 214.First image detecting element 232 and the second image detecting element 234 are positioned at the optical information of the shade of sensing region 214 in order to detecting.
In addition, in the present embodiment, the first wall 201 of framework 210, wall 204 and the 3rd wall 203 can be provided with the light-guide device (not shown) as light-strip or reflecting strips, and the second wall 202 also can be provided with light-guide device.
Light source module 220 comprises the first light-emitting component 222a and the second light-emitting component 222b.First light-emitting component 222a is arranged between the first wall 201 of framework 210 and the adjacent both ends of the second wall 202.Second light-emitting component 222b is arranged between the second wall 202 of framework 210 and the adjacent both ends of the 3rd wall 203.In the present embodiment, the first light-emitting component 222a and the second light-emitting component 222b is luminous towards sensing region 214.In addition, the first light-emitting component 222a and the second light-emitting component 222b of light source module 220 are such as respectively a light emitting diode, but not as limit.
First image detecting element 232a is arranged between the first wall 201 of framework 210 and the adjacent both ends of the second wall 202, and the 3rd wall 203 and wall 204 of framework 210 is contained in the visual field of the first image detecting element 232a.Second image detecting element 232b is arranged between the second wall 202 of framework 210 and the adjacent both ends of the 3rd wall 203, and the first wall 201 and wall 204 of framework 210 is contained in the visual field of the second image detecting element 232b.First image detecting element 232a and the second image detecting element 232b comprises multiple pixels 235 that direction along a straight line arranges respectively.In addition, the first image detecting element 232a and the second image detecting element 232b also can comprise a digital signal processing unit (not shown) respectively.The signal that digital signal processing unit detects in order to process pixel 235, and transmit signals to a CPU (not shown), to calculate the position of shade by CPU.The signal that above-mentioned pixel 235 detects is such as the position of the dim spot that pixel 235 detects.
The specific descriptions being applicable to the localization method of above-mentioned optical touch control apparatus 200 are as follows.
First, respectively these pixels 235 of the first image detecting element 232a and the second image detecting element 232b are divided.Hereafter will be described in detail for the first image detecting element 232a.These pixels 235 of first image detecting element 232a are divided into one first crowd of G1 and one second crowd G2.Wherein, when first crowd of G1 detects the dim spot that the shade in sensing region 214 causes, the position of dim spot is calculated by one first algorithm, and when second crowd of G2 detects the dim spot that the shade in sensing region 214 causes, by the position of one second algorithm calculating dim spot.
In other words, the pixel 235 due to the first image detecting element 232a is divided into first crowd of G1 and second crowd G2, so the 3rd wall 203 is divided into a first paragraph 2031 of connection second wall 202 accordingly and connects a second segment 2032 of wall 204.The dim spot being formed at the first paragraph 2031 of the 3rd wall 203 can be detected by first crowd of G1, and calculates the position of this dim spot by the first algorithm, to position shade.And the dim spot being formed at the second segment 2032 of wall 204 and the 3rd wall 203 can be detected by second crowd of G2, and calculate the position of this dim spot by the second algorithm, to position shade.The junction of the second segment 2032 of wall 204 and the 3rd wall 203 is a corner of sensing region 214, and this corner is relative with the first image detecting element 232a.In other words, the corner relative with the first image detecting element 232a of sensing region 214 is contained in the detecting visual field of second crowd of G2 of the first image detecting element 232a.In the present embodiment, the first algorithm is such as center of gravity algorithm, and the second algorithm is such as center algorithm, but not as limit.
With regard to the first image detecting element 232a, the dim spot being formed in the first paragraph 2031 of the 3rd wall 203 is that the shade of the subregion 214a (i.e. the non-sensitive district of known technology) being positioned at sensing region 214 causes mostly.Because the present embodiment calculates the position of the dim spot that the shade that is positioned at region 214a causes and non-central algorithm, so can promote positional accuracy by center of gravity algorithm.In addition, with regard to the first image detecting element 232a, the dim spot being formed in the junction of wall 204 and the 3rd wall 203 is the second segment 2032 being positioned at wall 204 and the 3rd wall 203.In the present embodiment, when dim spot is formed in the second segment 2032 of wall 204 and the 3rd wall 203, be by center algorithm to calculate the position of dim spot and non-gravity algorithm, so can positional accuracy be promoted.
In addition, there is the division methods about the pixel 235 of the second image detecting element 232b similar to the division methods of the pixel 235 of the first image detecting element 232a, will no longer describe in detail at this.Correspondingly, the first wall 201 comprises one the 3rd section (figure does not indicate) of connection second wall 202 and connects one the 4th section (figure does not indicate) of wall 204.First crowd of G1 of the second image detecting element 232b detects the 3rd section, and second crowd of G2 of the second image detecting element 232b detects the 4th section of wall 204 and the first wall 201.The computational methods that first crowd of G1 of the second image detecting element 232b adopts when detecting dim spot with second crowd of G2 are identical with the first image detecting element 232a, will no longer repeat at this.
Based on above-mentioned, the pixel 235 of the first image detecting element 232a and the second image detecting element 232b is divided into multigroup by the localization method of the optical touch control apparatus of the present embodiment, during to detect dim spot that the shade in sensing region 214 causes in the pixel 235 of distinct group, more suitable algorithm is adopted to calculate the position of dim spot.Therefore, the localization method of the optical touch control apparatus of the present embodiment accurately can determine the position of the dim spot that shade causes, and then promotes the positional accuracy of shade.
Fig. 5 is the schematic diagram that the localization method of the optical touch control apparatus of second embodiment of the invention is applied to an optical touch control apparatus.Refer to shown in Fig. 5, the localization method of the optical touch control apparatus of the present embodiment is similar to the first embodiment, and difference is in, in the present embodiment, these pixels 235 of the first image detecting element 232a and the second image detecting element 232b is divided into three groups respectively.Hereafter will be described in detail for the second image detecting element 232b.The pixel 235 of the second image detecting element 232b is divided into first crowd of G1, second crowd of G2 and the 3rd crowd G3, and wherein the 3rd crowd of G3 are between first crowd of G1 and second crowd G2.
In other words, pixel 235 due to the second image detecting element 232b is divided into first crowd of G1, second crowd of G2 and the 3rd crowd G3, so the first wall 201 is divided into one the 3rd section 2013 of connection second wall 202 accordingly, connects one the 4th section 2014 of wall 204 and the 6th section 2016 of being connected between the 3rd section 2013 and the 4th section 2014.The dim spot being formed at the 3rd section 2013 of the first wall 201 can be detected by first crowd of G1, the dim spot of the 4th section 2014 being formed at wall 204 and the first wall 201 can be detected by second crowd of G2, and the dim spot being formed at the 6th section 2016 of the first wall 201 can be detected by the 3rd crowd of G3.The junction of the 4th section 2014 of wall 204 and the first wall 201 is a corner of sensing region 214, and this corner is relative with the second image detecting element 232b.In other words, sensing region 214 corner relative with the second image detecting element 232b is contained in the detecting visual field of second crowd of G2 of the second image detecting element 232b.
Similar to the first embodiment, when first crowd of G1 detects the dim spot that the shade in sensing region 214 causes, calculate the position of dim spot by the first algorithm, to position shade.When second crowd of G2 detects the dim spot that the shade in sensing region 214 causes, calculate the position of dim spot by the second algorithm, to position shade.In addition, when the 3rd crowd of G 3 detect the dim spot that the shade in sensing region 214 causes, the position of dim spot is calculated by the 3rd algorithm, to position shade.
In the present embodiment, the first algorithm is such as center of gravity algorithm, and the second algorithm is such as center algorithm, but not as limit.In addition, the 3rd algorithm is such as comprehensive first algorithm and the second algorithm.Particularly, the algorithm steps of the 3rd algorithm is as follows:
First, utilize the first algorithm and the second algorithm to calculate the position of the dim spot that shade causes respectively, to obtain one first numerical value and a second value.For example, when the 3rd crowd of G3 of the second image detecting element 232b detect the dim spot that shade causes, the first algorithm (as center of gravity algorithm) and the second algorithm (as center algorithm) is utilized to calculate the position of dim spot, to obtain the first numerical value Ci and second value Cm.First numerical value Ci represents the result calculated by the first algorithm, and second value Cm is the result calculated by the second algorithm.
Then, first numerical value Ci is multiplied by one first weight α, to obtain a third value Ci ', and second value Cm is multiplied by one second weight (1-α), to obtain one the 4th numerical value Cm ', and 0 < α < 1.Wherein, the first weight α can be fixed value, that is when any pixel 235 of the 3rd crowd of G3 detects dim spot, the first weight α is all identical.In another embodiment, the first weight α also can be variation value, that is when the different pixels 235 of the 3rd crowd of G3 detects dim spot, the first weight α is also not identical.For example, more when the pixel 235 of first crowd of G1 detects dim spot, the first weight α is larger, and the second weight 1-α is less.
Afterwards, third value Ci ' is added with the 4th numerical value Cm ', to obtain the position of dim spot, to position shade.
In the present embodiment, there is the division methods about the pixel 235 of the first image detecting element 232a similar to the division methods of the pixel 235 of the second image detecting element 232b, will no longer describe in detail at this.Correspondingly, the 3rd wall 203 comprise connection second wall 202 a first paragraph (figure do not indicate), connect wall 204 a second segment (figure does not indicate) and be connected to 1 between first paragraph and second segment the 5th section (figure does not indicate).First crowd of G1 detects the first paragraph of the 3rd wall 203, second crowd of G2 of the first image detecting element 232a detects the 3rd wall 203 second segment and the wall 204 of the first image detecting element 232a, and the 3rd crowd of G3 of the first image detecting element 232a detect the 5th section of the 3rd wall 203.The computational methods that first crowd of G1 of the first image detecting element 232a, second crowd of G2 adopt when detecting dim spot with the 3rd crowd of G3 are identical with the second image detecting element 232b, will no longer repeat at this.
Fig. 6 is the schematic diagram that the localization method of the optical touch control apparatus of third embodiment of the invention is applied to an optical touch control apparatus.Refer to shown in Fig. 6, the localization method of the optical touch control apparatus of the present embodiment is similar to the second embodiment, and difference is in, in the present embodiment, these pixels 235 of the first image detecting element 232a and the second image detecting element 232b is divided into four groups respectively.Hereafter will be described in detail for the first image detecting element 232a.The pixel 235 of the first image detecting element 232a is divided into first crowd of G1, second crowd of G2, the 3rd crowd of G3 and the 4th crowd G4, and wherein second crowd of G2 is between the 3rd crowd of G3 and the 4th crowd G4.
In other words, due to the first image detecting element 232a pixel 235 be divided into first crowd of G1, second crowd of G2, the 3rd crowd of G3 and the 4th crowd G4, so the 3rd wall 203 is divided into the first paragraph 2031 comprising connection second wall 202, the second segment 2032 connecting wall 204 accordingly and is connected to 1 between first paragraph 2031 and second segment 2032 the 5th section 2035.Wall 204 is divided into one section 2042 of one section 2041 of contiguous 3rd wall and contiguous first wall 201 accordingly.The dim spot being formed at the first paragraph 2031 of the 3rd wall 203 can be detected by first crowd of G1, the dim spot of one section 2041 being formed at the second segment 2032 of the 3rd wall 203 and vicinity the 3rd wall 203 of wall 204 can be detected by second crowd of G2, the dim spot being formed at the 5th section 2035 of the 3rd wall 203 can be detected by the 3rd crowd of G3, and the dim spot of a section 2042 being formed at vicinity first wall 201 of wall 204 can be detected by the 4th crowd of G4.One section 2041 of vicinity the 3rd wall of wall 204 and the junction of the second segment 2032 of the 3rd wall 203 are a corner of sensing region 214, and this corner is relative with the first image detecting element 232a.In other words, sensing region 214 corner relative with the first image detecting element 232a is contained in the detecting visual field of second crowd of G2 of the first image detecting element 232a.
Similar to the second embodiment, when first crowd of G1 detects the dim spot that the shade in sensing region 214 causes, calculate the position of dim spot by the first algorithm, to position shade.When second crowd of G2 detects the dim spot that the shade in sensing region 214 causes, calculate the position of dim spot by the second algorithm, to position shade.When the 3rd crowd of G3 detect the dim spot that the shade in sensing region 214 causes, calculate the position of dim spot by the 3rd algorithm, to position shade.In addition, when the 4th crowd of G4 detect the dim spot that the shade in sensing region 214 causes, the position of dim spot is calculated by the first algorithm or the 3rd algorithm, to position shade.
First algorithm, second algorithm of the present embodiment are such as identical with the second embodiment with the 3rd algorithm.In addition, there is the division methods about the pixel 235 of the second image detecting element 232b similar to the division methods of the pixel 235 of the first image detecting element 232a, will no longer describe in detail at this.Correspondingly, the first wall 201 comprises the 3rd section (figure does not indicate), the 4th section (figure does not indicate) connecting wall 204 and the 6th section (scheming not indicate) being connected between the 3rd section and the 4th section of connection second wall 202.First crowd of G1 of the second image detecting element 232b detects the 3rd section, second crowd of G2 of the second image detecting element 232b detects one section of vicinity first wall 201 of the 4th section and wall 204, the 3rd crowd of G3 of the second image detecting element 232b detect the 6th section, and the 4th crowd of G4 of the second image detecting element 232b detect one section of vicinity the 3rd wall 203 of wall 204.The computational methods that first crowd of G1 of the second image detecting element 232b, second crowd of G2, the 3rd crowd of G3 adopt when detecting dim spot with the 4th crowd of G4 are identical with the first image detecting element 232a, will no longer repeat at this.
In sum, the pixel of each image detecting element is divided into multigroup by the localization method of optical touch control apparatus of the present invention and optical touch control apparatus, during to detect dim spot that shade causes in the pixel of distinct group, more suitable algorithm is adopted to calculate the position of dim spot.Such as, the position of the dim spot that the shade adopting center of gravity algorithm to calculate the non-sensitive district being positioned at known technology causes, and the center algorithm of employing calculates the position of the dim spot of the junction being positioned at adjacent two reflecting strips.So, accurately can calculate the position of dim spot, to promote the degree of accuracy of the location of shade.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, when the method and technology contents that can utilize above-mentioned announcement are made a little change or be modified to the Equivalent embodiments of equivalent variations, in every case be the content not departing from technical solution of the present invention, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (14)

1. the localization method of an optical touch control apparatus, be applicable to an optical touch control apparatus with a sensing region, to calculate the position being positioned at a shade of this sensing region, this optical touch control apparatus comprises multiple image detecting element, each this image detecting element comprises multiple pixels of direction arrangement along a straight line, it is characterized in that the localization method of this optical touch control apparatus comprises:
Those pixels of each this image detecting element are at least divided into one first group and one second group, this detecting visual field of first group and this detecting visual field non-overlapping copies of second group, wherein for each this image detecting element, the dim spot that this shade in this sensing region only causes, when detecting this dim spot that this shade causes for this first group, the position of this dim spot is calculated by one first algorithm, and when detecting this dim spot that this shade causes for this second group, calculate the position of this dim spot by one second algorithm.
2. the localization method of optical touch control apparatus as claimed in claim 1, it is characterized in that wherein this first algorithm is center of gravity algorithm, and this second algorithm is center algorithm.
3. the localization method of optical touch control apparatus as claimed in claim 2, is characterized in that this this detecting visual field of second group of each image detecting element contains this sensing region with a corner that is this image detecting elements relative.
4. the localization method of optical touch control apparatus as claimed in claim 1, it is characterized in that those pixels of wherein each image detecting element are also divided out one the 3rd group further, 3rd group between this first group and this second group, the detecting visual field of the 3rd group and this this detecting visual field of first group and this this equal non-overlapping copies in detecting visual field of second group, when detecting this dim spot that this shade causes for the 3rd group, calculate the position of this dim spot by one the 3rd algorithm.
5. the localization method of optical touch control apparatus as claimed in claim 4, is characterized in that the algorithm steps of wherein the 3rd algorithm comprises:
This first algorithm and this second algorithm is utilized to calculate the position of this dim spot that this shade causes respectively, to obtain one first numerical value and a second value;
This first numerical value is multiplied by one first weight α, to obtain a third value, and this second value is multiplied by one second weight (1-α), to obtain one the 4th numerical value, and 0 < α < 1; And
This third value is added with the 4th numerical value.
6. the localization method of optical touch control apparatus as claimed in claim 4, it is characterized in that in those pixels of wherein the 3rd group, when more detecting near these those pixels of first group this dim spot that this shade causes, this first weight α that the 3rd algorithm uses is larger.
7. the localization method of optical touch control apparatus as claimed in claim 4, it is characterized in that those pixels of wherein each image detecting element are also divided out one the 4th group further, this second group between the 3rd group and the 4th group, this equal non-overlapping copies in detecting visual field of the detecting visual field of the 4th group and this this detecting visual field of first group, this this detecting visual field of second group and the 3rd group, when detecting this dim spot that this shade causes for the 4th group, calculate the position of this dim spot by one of them of this first algorithm and the 3rd algorithm.
8. an optical touch control apparatus, is characterized in that comprising:
One framework, comprise one first wall, one second wall, one the 3rd wall and a wall, this first wall is relative with the 3rd wall, and this second wall is relative with this wall, and the inner side of this framework is a sensing region;
One light source module, in order to provide light to this sensing region;
One first image detecting element, is arranged between this first wall and adjacent both ends of this second wall, and the 3rd wall and this wall are contained in the visual field of this first image detecting element; And
One second image detecting element, between the adjacent both ends being arranged at this second wall and the 3rd wall, and this first wall and this wall are contained in the visual field of this second image detecting element,
Wherein, this the first image detecting element and this second image detecting element comprise multiple pixels that direction along a straight line arranges respectively, and those pixels at least comprise one first group and one second group, this detecting visual field of first group and this detecting visual field non-overlapping copies of second group, for this first image detecting element or this second image detecting element, the dim spot that this shade in this sensing region only causes, when detecting this dim spot that this shade of being positioned at this sensing region causes for this first group, the position of this dim spot is calculated by one first algorithm, and when detecting this dim spot that this shade of being positioned at this sensing region causes for this second group, the position of this dim spot is calculated by one second algorithm.
9. optical touch control apparatus as claimed in claim 8, it is characterized in that wherein the 3rd wall comprises the first paragraph connecting this second wall and the second segment connecting this wall, this first group this first paragraph of detecting of this first image detecting element, this second group this second segment of detecting of this first image detecting element and this wall, this first wall comprises one the 4th section that connects one the 3rd section of this second wall and connect this wall, this the first group detecting the 3rd section of this second image detecting element, and this second group detecting the 4th section and this wall of this second image detecting element.
10. optical touch control apparatus as claimed in claim 8, it is characterized in that those pixels of wherein each this first image detecting element and this second image detecting element are also divided out one the 3rd group, 3rd group between this first group and this second group, the detecting visual field of the 3rd group and this this detecting visual field of first group and this this equal non-overlapping copies in detecting visual field of second group, when detecting this dim spot that this shade of being positioned at this sensing region causes for the 3rd group, calculate the position of this dim spot by one the 3rd algorithm.
11. optical touch control apparatus as claimed in claim 10, it is characterized in that wherein the 3rd wall comprises the first paragraph connecting this second wall, connect a second segment of this wall and be connected to 1 between this first paragraph and this second segment the 5th section, this first group this first paragraph of detecting of this first image detecting element, this second group this second segment of detecting of this first image detecting element and this wall, the 3rd group of detectings the 5th section of this first image detecting element, and this first wall comprises one the 3rd section that connects this second wall, connect one the 4th section of this wall and the 6th section of being connected between the 3rd section and the 4th section, this the first group detecting the 3rd section of this second image detecting element, this second group detecting the 4th section and this wall of this second image detecting element, the 3rd group of detectings the 6th section of this second image detecting element.
12. optical touch control apparatus as claimed in claim 8, it is characterized in that those pixels of wherein each this first image detecting element and this second image detecting element are also divided out one the 3rd group and one the 4th group, 3rd group between this first group and this second group, and this second group between the 3rd group and the 4th group, the detecting visual field of the 4th group and this this detecting visual field of first group, this equal non-overlapping copies in detecting visual field of this this detecting visual field of second group and the 3rd group, when detecting this dim spot that this shade of being positioned at this sensing region causes for the 3rd group, the position of this dim spot is calculated by one the 3rd algorithm, when detecting this dim spot that this shade of being positioned at this sensing region causes for the 4th group, the position of this dim spot is calculated by one of them of the 3rd algorithm and this first algorithm.
13. optical touch control apparatus as claimed in claim 12, wherein the 3rd wall comprises the first paragraph connecting this second wall, connect a second segment of this wall and be connected to 1 between this first paragraph and this second segment the 5th section, this first group this first paragraph of detecting of this first image detecting element, detect one section of vicinity the 3rd wall of this second segment and this wall for this second group of this first image detecting element, the 3rd group of detectings the 5th section of this first image detecting element, detect one section of this first wall of vicinity of this wall for the 4th group of this first image detecting element, and this first wall comprises one the 3rd section that connects this second wall, connect one the 4th section of this wall and the 6th section of being connected between the 3rd section and the 4th section, this the first group detecting the 3rd section of this second image detecting element, one section of this first wall of vicinity of this second group of this second image detecting element detecting the 4th section and this wall, the 3rd group of detectings the 6th section of this second image detecting element, detect one section of vicinity the 3rd wall of this wall for the 4th group of this second image detecting element.
14. optical touch control apparatus as claimed in claim 8, characterized by further comprising multiple light-guide device, are at least arranged at this first wall, the 3rd wall and this wall.
CN201010000335.5A 2010-01-19 2010-01-19 Positioning method for optical touch device and optical touch device Expired - Fee Related CN102129326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010000335.5A CN102129326B (en) 2010-01-19 2010-01-19 Positioning method for optical touch device and optical touch device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010000335.5A CN102129326B (en) 2010-01-19 2010-01-19 Positioning method for optical touch device and optical touch device

Publications (2)

Publication Number Publication Date
CN102129326A CN102129326A (en) 2011-07-20
CN102129326B true CN102129326B (en) 2015-03-25

Family

ID=44267430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010000335.5A Expired - Fee Related CN102129326B (en) 2010-01-19 2010-01-19 Positioning method for optical touch device and optical touch device

Country Status (1)

Country Link
CN (1) CN102129326B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981142B (en) * 2011-09-02 2017-04-05 原相科技股份有限公司 Optical positioning system
CN103164085A (en) * 2011-12-16 2013-06-19 冠捷投资有限公司 Touch device
CN104182086B (en) * 2013-05-22 2017-04-26 原相科技股份有限公司 Optical touch control device as well as relevant image detecting module and positioning method thereof
TWI658393B (en) * 2017-12-19 2019-05-01 友達光電股份有限公司 Optical touch system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060132454A1 (en) * 2004-12-16 2006-06-22 Deng-Peng Chen Systems and methods for high resolution optical touch position systems
JP4455391B2 (en) * 2005-04-15 2010-04-21 キヤノン株式会社 Coordinate input device, control method therefor, and program
JP2008077188A (en) * 2006-09-19 2008-04-03 Optrex Corp Optical touch panel
JP5175136B2 (en) * 2008-05-22 2013-04-03 株式会社ジャパンディスプレイウェスト Electro-optical device and electronic apparatus

Also Published As

Publication number Publication date
CN102129326A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
RU2649795C2 (en) Mobile device and screen module thereof
KR102056898B1 (en) Flexible display and method for measuring angle of the same
CN102129326B (en) Positioning method for optical touch device and optical touch device
US20180136125A1 (en) Method for detecting clarity of transparent display panel and detecting apparatus thereof
CN104077989B (en) Display panel
US20130207934A1 (en) Input device and touch position detecting method thereof
CN105372857A (en) Glass substrate, liquid crystal display panel and liquid crystal display device
CN109814757B (en) Touch detection method and device, touch equipment, computer equipment and readable medium
US10642439B2 (en) Resistive touch panel detecting touch based on variation of transmission path, composite touch panel, method of driving touch panel, and display apparatus
CN101187845A (en) Digit and analog combined grid type touch screen
CN105427448A (en) Method and device of obtaining banknote security thread boundary
CN104199579A (en) Capacitive touch display device, touch detection method and integrated circuit IC
CN102470268B (en) Single light source and flat surface sensor portion is utilized to measure the method for the physical quantity of object and utilize the virtual golf system of the method
CN105352566A (en) Electronic oil level detection device
CN105022413B (en) Electric multiblade optical grating encoder closed-loop control system
CN107843992A (en) A kind of display panel
US20150062085A1 (en) Optical-touch calibration method and optical-touch panel
CN205139027U (en) 360 degree body assembly line visual inspection device in a poor light
US20130120308A1 (en) Touch panel and method for detecting touch position thereof and touch display apparatus
KR102223667B1 (en) Flexible display and method for measuring angle of the same
CN102213681B (en) Novel method for detecting sewage in anti-skidding region at bottom of glass bottle
US11143497B2 (en) Determination of a flexible display
CN203298777U (en) Magnetic navigation sensor array suitable for AGV (automated guided vehicle)
US20160179282A1 (en) Background signal processing system and background signal processing method
CN104729450A (en) Method for detecting accuracy of arc alignment of continuous casting segments

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150325

Termination date: 20190119