CN103744559B - The multipoint positioning method of infrared touch panel - Google Patents

The multipoint positioning method of infrared touch panel Download PDF

Info

Publication number
CN103744559B
CN103744559B CN201310672662.9A CN201310672662A CN103744559B CN 103744559 B CN103744559 B CN 103744559B CN 201310672662 A CN201310672662 A CN 201310672662A CN 103744559 B CN103744559 B CN 103744559B
Authority
CN
China
Prior art keywords
point
infrared
deltay
deltax
grating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310672662.9A
Other languages
Chinese (zh)
Other versions
CN103744559A (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.)
CETC 55 Research Institute
Original Assignee
CETC 55 Research Institute
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 CETC 55 Research Institute filed Critical CETC 55 Research Institute
Priority to CN201310672662.9A priority Critical patent/CN103744559B/en
Publication of CN103744559A publication Critical patent/CN103744559A/en
Application granted granted Critical
Publication of CN103744559B publication Critical patent/CN103744559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of multipoint positioning algorithm of infrared touch panel, it is characterized in that it is by the switch of microprocessor control infrared launcher and infrared receiving device, read the voltage AD value after opto-electronic conversion, then carry out touch point judgement, in the time being judged as multiple point touching, according to the direction control infrared launcher tilting and the switch of infrared receiving device, under new coordinate system, calculate the distance of each point in X ' and Y ' direction, carry out the elimination of pseudo-point according to the magnitude relationship of putting distance under different coordinates. The present invention to infrared launcher and infrared receiving device without the requirement of special mounting angle, by forward and the oblique twice sweep of infrared facility, the accurate location that has solved multiple point touching, reliability is high, applied widely, does not increase cost.

Description

The multipoint positioning method of infrared touch panel
Technical field
The present invention relates to a kind of touch screen technology, especially a kind of horizontal vertical infrared emission of utilizing single-point touches receives realizing the clothes of multipoint positioning, specifically a kind of multipoint positioning method of infrared touch panel.
Background technology
At present, touch-screen as one easily and efficiently computer media interactive device be widely used in a lot of fields, as a branch of touch-screen, infrared touch panel is because its production technology is simple, cost is lower and be convenient to be arranged in the frame of existing display, obtain very large development, be widely used.
Through the development of more than 20 years, single-point infrared touch panel technology reached its maturity, and along with the progress of computer technology, people have been not content with single-point touches, but the stronger multiple point touching of turning function completes more complicated function by gesture identification. The existing infrared multi-point touch decision method method based on Design assistant circuit conventionally; receive equity as increased oblique infrared emission of arranging at the infrared frame back side; the system composition that all needs to change existing infrared frame, increases hardware complexity, and the components and parts of pcb board are arranged and the increase requirement of connecting up. In addition, also have and do not change hardware at present, by judging that the sequencing that touch event occurs identifies the method for multiple touch points, but between multiple touch points without relatively moving, do not have yet the shape size value of touch point can the situation of reference under, easily judge by accident.
Summary of the invention
The object of the invention is for existing infrared multi-point touch decision method circuit complexity or the not high problem of precision, invent a kind of horizontal vertical infrared emission based on single-point touches and receive the multipoint positioning method of right infrared touch panel.
Technical scheme of the present invention is:
A multipoint positioning method for infrared touch panel, is characterized in that it comprises the following steps:
A microprocessor starts infrared touch panel, enables infrared emission receive rightly according to device number order, forms the first grating array of forward scan; Record every pair of voltage AD value after infrared facility opto-electronic conversion, jump to step B;
B microprocessor is according to the AD value array of record, the AD value array comparison of recording when initializing, and what judgement may be blocked counts, if be judged as unobstructedly, jump to steps A and carries out next round scanning; If be judged as single-point touches, jump to step C; If be judged as multiple point touching, jump to step D;
C microprocessor, according to AD value array, calculates the coordinate of touch objects, completes and locates and return steps A;
D microprocessor, according to AD value array, calculates the coordinate of all possible touch point, and calculates the rectangle length of side DeltaX and the DeltaY that are made up of these points, jumps to step e and carries out the elimination of pseudo-point;
E microprocessor is by the mode driving one by one, enable infrared launcher by device number order, infrared receiving device with skew n, form the second grating array of oblique scanning, wherein the size of n is relevant with the grating angle of the pattern of wants, and unidirectional the second grating and the first grating angle should ensure at-30 degree ~+30 degree; Record the voltage AD value after the opto-electronic conversion of each infrared receiving device, jump to step F;
F, according to the AD value array of second grating array, calculates the coordinate of all possible touch point in this coordinate system, and calculates by these 4 the rectangle length of side DeltaX ' that form and DeltaY ' and jump to step G;
G is the magnitude relationship with DeltaX and DeltaY according to DeltaX ' and DeltaY ', judges the position of two touch points, eliminates pseudo-point, and the coordinate figure calculating according to step D returns to the coordinate of two points, jumps to steps A and carries out next round scanning.
In the time that step e drives the second grating array, should ensure that the angle of cut following, the oblique grating in limit, left and right is vertical; When causing the angle of cut cannot be vertical time because touch-screen size and infrared facility discharge pitch problems, suppose that above following oblique grating is as with reference to limit, a virtual perpendicular straight line, angle by the oblique grating of this straight line and limit, left and right carries out triangulation calculation, and a virtual rectangle is brought judgement into again.
Upper following infrared facility, emitter is arranged on, and receiving system is arranged on down; The infrared facility on limit, left and right, emitter is arranged on a left side, and receiving system is arranged on the right side; In the time that step G judges the size of DeltaX ' and DeltaY ' and DeltaX and DeltaY, infrared launcher right-to-left scanning in the vertical direction, horizontal direction infrared launcher from up to down scans in the grating array of formation, in the time that DeltaX ' is greater than DeltaX and DeltaY ' and is less than DeltaY, being judged as the point in the rectangle upper left corner and the point in the lower right corner is true point; Otherwise in the time that DeltaX ' is less than DeltaX and DeltaY ' and is greater than DeltaY, being judged as the point in the rectangle upper right corner and the point in the lower left corner is true point.
When touch point is during more than 2, can adopt the method for step F and G judge respectively to contiguous two touch points.
The present invention adopts the horizontal vertical infrared emission of single-point touches to receive as framing signal harvester.
Beneficial effect of the present invention:
1. to realize the algorithm of multipoint positioning simpler in the present invention, touch point position judgment accurately, convenient, reliable.
2. the present invention is widely used, and without particular/special requirement, can adopt the horizontal vertical infrared emission reception of traditional single-point touches right to the setting angle of infrared launcher and infrared receiving device, does not increase hardware cost.
3. it is right that the present invention can adopt the horizontal vertical infrared emission reception of traditional single-point touches, only need to adopt multi-point recognizing method of the present invention can carry out multiple point touching location, do not increase hardware cost, and False Rate is low, has good prospect of the application.
4. the present invention passes through forward and the oblique twice sweep of infrared facility, the accurate location that has solved multiple point touching, and reliability is high, applied widely, does not increase cost.
Brief description of the drawings
Fig. 1 is the schematic diagram that the present invention scans two point under conventional coordinates.
Fig. 2 is the schematic diagram that the present invention scans two point under inclination coordinate system.
Fig. 3 is that the present invention is to forming the schematic diagram that rectangle compares under two coordinate systems.
Fig. 4 is touch localization method schematic flow sheet of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further illustrated.
As Figure 1-4.
Infrared touch panel involved in the present invention comprises infrared touch panel body, and the infrared launcher on the adjacent both sides of touch-screen, at the infrared receiving device on the another both sides of touch-screen. The multipoint positioning algorithm of infrared touch panel relates to: by level and vertical direction infrared launcher and infrared receiving device corresponding the first grating array forming one by one; The second grating array being formed by horizontal direction and the non-just right infrared launcher of vertical direction and infrared receiving device. Touch point maps out different pseudo-points in two grating array, locates real touch point by touch point and the shape that pseudo-point forms rectangle.
Infrared touch panel multipoint positioning method of the present invention, by the switch of microprocessor control infrared launcher and infrared receiving device, read the voltage AD value after opto-electronic conversion, then carry out touch point judgement, in the time being judged as multiple point touching, according to the direction control infrared launcher tilting and the switch of infrared receiving device, under new coordinate system, calculate the distance of each point in X ' and Y ' direction, carry out the elimination of pseudo-point according to the magnitude relationship of putting distance under different coordinates, concrete steps are as follows:
A microprocessor starts infrared touch panel, enables infrared emission receive rightly according to device number order, forms the first grating array of forward scan. Record every pair of voltage AD value after infrared facility opto-electronic conversion, jump to step B;
B microprocessor is according to the AD value array of record, the AD value array comparison of recording when initializing, and what judgement may be blocked counts, if be judged as unobstructedly, jump to steps A and carries out next round scanning; If be judged as single-point touches, jump to step C; If be judged as multiple point touching, jump to step D;
C microprocessor, according to AD value array, calculates the coordinate of touch objects, completes and locates and return steps A;
D microprocessor, according to AD value array, calculates the coordinate of all possible touch point, and calculates the rectangle length of side DeltaX and the DeltaY that are made up of these points, jumps to step e and carries out the elimination of pseudo-point;
E microprocessor is by the mode driving one by one, enable infrared launcher by device number order, infrared receiving device with skew n, form the second grating array of oblique scanning, wherein the size of n is relevant with the grating angle of the pattern of wants, and unidirectional the second grating and the first grating angle should ensure at-30 degree ~+30 degree; Record the voltage AD value after the opto-electronic conversion of each infrared receiving device, jump to step F;
F, according to the AD value array of second grating array, calculates the coordinate of all possible touch point in this coordinate system, and calculates by these 4 the rectangle length of side DeltaX ' that form and DeltaY ' and jump to step G;
G is the magnitude relationship with DeltaX and DeltaY according to DeltaX ' and DeltaY ', judges the position of two touch points, eliminates pseudo-point, and the coordinate figure calculating according to step D returns to the coordinate of two points, jumps to steps A and carries out next round scanning.
In the time that step e drives the second grating array, should ensure that the angle of cut of oblique grating is vertical. When causing the angle of cut cannot be vertical time because touch-screen size and infrared facility discharge pitch problems, suppose that above following oblique grating is as with reference to limit, a virtual perpendicular straight line, angle by the oblique grating of this straight line and limit, left and right carries out triangulation calculation, and a virtual rectangle is brought judgement into again.
Suppose upper following infrared facility, emitter is arranged on, and receiving system is arranged on down; The infrared facility on limit, left and right, emitter is arranged on a left side, and receiving system is arranged on the right side. In the time that step G judges the size of DeltaX ' and DeltaY ' and DeltaX and DeltaY, infrared launcher right-to-left scanning in the horizontal direction, vertical direction infrared launcher from up to down scans in the grating array of formation, in the time that DeltaX ' is greater than DeltaX and DeltaY ' and is less than DeltaY, being judged as the point in the rectangle upper left corner and the point in the lower right corner is true point; Otherwise in the time that DeltaX ' is less than DeltaX and DeltaY ' and is greater than DeltaY, being judged as the point in the rectangle upper right corner and the point in the lower left corner is true point.
When touch point is during more than 2, can adopt the method for step F and G judge respectively to contiguous two touch points.
Details are as follows:
Fig. 1 is the schematic diagram that the present invention scans two point under conventional coordinates. In figure, the 101st, the circuit board of infrared launcher and infrared receiving device is installed, the 102nd, infrared launcher, the 103rd, infrared receiving device, the 104, the 105th, real touch point, as shown in the figure, in the grating array being formed by vertical-horizontal infrared facility, in the time having touch point to operate in surveyed area, due to blocking of touch point, can make the voltage AD value after corresponding infrared receiving device opto-electronic conversion change, block thereby judge. Detect principle for this kind, except detecting true touch point 104,105, also can detect pseudo-point 106,107. These four points form a rectangle.
Fig. 2 is the schematic diagram that the present invention scans two point under inclination coordinate system. The infrared light that infrared launcher sends has certain angle, and the light that infrared launcher sends can be irradiated to adjacent multiple infrared receiving devices simultaneously. Formed the X ' axle 203 of the second grating array by the infrared launcher 201 that is arranged on vertical direction and the infrared receiving device 202 that is arranged on vertical direction, formed the Y ' axle 206 of the second grating array by the infrared launcher 204 that is arranged on horizontal direction and the infrared receiving device 205 that is arranged on horizontal direction. It should be noted that for detecting object accurately, can adjust grating angle by the interval of adjusting the oblique scanning of infrared facility, make 203 and 206 to intersect vertically. In 203 and 206 coordinate systems that form, consistent with the XOY coordinate system that the first grating array forms to the detection mode of touch point. In like manner, except true touch point 207,208, also can detect pseudo-point 209,210. These four points form a rectangle.
Fig. 3 is that the present invention is to truly putting the schematic diagram comparing with the rectangle of each group of pseudo-some formation under two coordinate systems. In the first grating array, true point is 301 with the rectangle that pseudo-point forms, and in the second grating array, true point is 302 with the rectangle that pseudo-point forms. By relatively finding, true touch point 303 is respectively DeltaX, DeltaY with the distance of the puppet point 304,305 that it forms at the first grating array, true touch point 303 is respectively DeltaX ', DeltaY ' with the distance of the puppet point 306,307 that it forms at the second grating array, can intuitively find that DeltaX ' is less than DeltaX, DeltaY ' is greater than DeltaY. Can judge thus the actual position of touch point. In like manner, in the time of the position opposite to that indicated in the drawings of the position of touch point and pseudo-point, in the second grating array, can form the diverse rectangle of shape, also can remove pseudo-point by identical method.
Comprehensive foregoing, Fig. 4 is multipoint positioning method schematic flow sheet of the present invention, mainly comprises the following steps:
1 starts forward scan, records every pair of voltage AD value after infrared facility opto-electronic conversion;
2 according to AD array calculate the coordinate of touch point in the first grating array of forward scan likely, and calculate thus two length of sides that formed rectangle by true touch point and pseudo-point;
3 start oblique scanning, record the voltage AD value after every pair of infrared facility opto-electronic conversion on oblique line;
4 according to AD array calculate the coordinate of touch point in the second grating array of oblique scanning likely, and calculate thus two length of sides that formed rectangle by true touch point and pseudo-point;
5 remove pseudo-point according to the relation of the different rectangle length of sides, locate real touch point, and the coordinate in the first grating array are sent as final coordinate using it.
The foregoing is only one embodiment of the present of invention, the scanning dead angle that in fact the second grating array as shown in Figure 2 exists can compensate by changing the mode of scanning angle; The touch point of enumerating in embodiment only has two, and the touch point that can realize according to the inventive method can be two or more.
Obviously; those of ordinary skill in the art is according to grasped technological know-how and customary means; according to above said content, can make the various ways that does not depart from basic fundamental thought of the present invention, these pro forma changes and non-material change include within the protection domain of this patent.
The part that the present invention does not relate to all prior art that maybe can adopt same as the prior art is realized.

Claims (4)

1. a multipoint positioning method for infrared touch panel, is characterized in that it comprises the following steps:
A microprocessor starts infrared touch panel, enables infrared emission receive rightly according to device number order, forms the first grating array of forward scan; Record every pair of voltage AD value after infrared facility opto-electronic conversion, jump to step B;
B microprocessor is according to the AD value array of record, the AD value array comparison of recording when initializing, and what judgement may be blocked counts, if be judged as unobstructedly, jump to steps A and carries out next round scanning; If be judged as single-point touches, jump to step C; If be judged as multiple point touching, jump to step D;
C microprocessor, according to AD value array, calculates the coordinate of touch objects, completes and locates and return steps A;
D microprocessor, according to AD value array, calculates the coordinate of all possible touch point, and calculates the rectangle length of side DeltaX and the DeltaY that are made up of these points, jumps to step e and carries out the elimination of pseudo-point;
E microprocessor is by the mode driving one by one, enable infrared launcher by device number order, infrared receiving device with skew n, form the second grating array of oblique scanning, wherein the size of n is relevant with the grating angle of the pattern of wants, and unidirectional the second grating and the first grating angle should ensure at-30 degree ~+30 degree; Record the voltage AD value after the opto-electronic conversion of each infrared receiving device, jump to step F;
F, according to the AD value array of second grating array, calculates the coordinate of all possible touch point in this coordinate system, and calculates by these 4 the rectangle length of side DeltaX ' that form and DeltaY ' and jump to step G;
G is the magnitude relationship with DeltaX and DeltaY according to DeltaX ' and DeltaY ', judges the position of two touch points, eliminates pseudo-point, and the coordinate figure calculating according to step D returns to the coordinate of two points, jumps to steps A and carries out next round scanning;
Upper following infrared facility, emitter is arranged on, and receiving system is arranged on down; The infrared facility on limit, left and right, emitter is arranged on a left side, and receiving system is arranged on the right side; In the time that step G judges the size of DeltaX ' and DeltaY ' and DeltaX and DeltaY, infrared launcher right-to-left scanning in the vertical direction, horizontal direction infrared launcher from up to down scans in the grating array of formation, in the time that DeltaX ' is greater than DeltaX and DeltaY ' and is less than DeltaY, being judged as the point in the rectangle upper left corner and the point in the lower right corner is true point; Otherwise in the time that DeltaX ' is less than DeltaX and DeltaY ' and is greater than DeltaY, being judged as the point in the rectangle upper right corner and the point in the lower left corner is true point.
2. method according to claim 1, is characterized in that: in the time that step e drives the second grating array, should ensure that the angle of cut following, the oblique grating in limit, left and right is vertical; When causing the angle of cut cannot be vertical time because touch-screen size and infrared facility discharge pitch problems, suppose that above following oblique grating is as with reference to limit, a virtual perpendicular straight line, angle by the oblique grating of this straight line and limit, left and right carries out triangulation calculation, and a virtual rectangle is brought judgement into again.
3. method according to claim 1, is characterized in that: when touch point is during more than 2, can adopt the method for step F and G judge respectively to contiguous two touch points.
4. method according to claim 1, is characterized in that: its adopts the horizontal vertical infrared emission of single-point touches to receive as framing signal harvester.
CN201310672662.9A 2013-12-12 2013-12-12 The multipoint positioning method of infrared touch panel Active CN103744559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310672662.9A CN103744559B (en) 2013-12-12 2013-12-12 The multipoint positioning method of infrared touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310672662.9A CN103744559B (en) 2013-12-12 2013-12-12 The multipoint positioning method of infrared touch panel

Publications (2)

Publication Number Publication Date
CN103744559A CN103744559A (en) 2014-04-23
CN103744559B true CN103744559B (en) 2016-05-25

Family

ID=50501583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310672662.9A Active CN103744559B (en) 2013-12-12 2013-12-12 The multipoint positioning method of infrared touch panel

Country Status (1)

Country Link
CN (1) CN103744559B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571728B (en) * 2015-01-13 2017-05-31 滨州学院 A kind of infrared touch panel and the method for quick 2 points of identification
CN105426022B (en) * 2015-12-24 2018-08-14 深圳市东方中原电子科技有限公司 A kind of infrared touch panel and the multipoint positioning method based on infrared touch panel
CN108108115B (en) * 2018-01-22 2020-10-02 河北华发教育科技股份有限公司 Shortcut execution method and system based on touch screen

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365492A (en) * 2013-08-01 2013-10-23 北京东方中原教育科技有限公司 Multi-point touch identification method for infrared touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200941306A (en) * 2008-03-21 2009-10-01 Egalax Empia Technology Inc Multi-contact-point infrared type touch panel and control method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365492A (en) * 2013-08-01 2013-10-23 北京东方中原教育科技有限公司 Multi-point touch identification method for infrared touch screen

Also Published As

Publication number Publication date
CN103744559A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN102364415B (en) Infrared touch screen multi-touch-point recognition method and device
CN102722291B (en) Method for driving infrared multi-point touch screen
CN102193690B (en) Infrared touch screen and multi-touch positioning method thereof
CN103365480B (en) Touch recognition method and system for multi-point infrared touch screen
CN103294401A (en) Icon processing method and device for electronic instrument with touch screen
CN102693048A (en) Infrared touch screen
CN102339170B (en) Method for scanning and calculating signal of infrared touch system and infrared touch system
CN101957721B (en) Method for displaying connecting line of touch screen
CN103744559B (en) The multipoint positioning method of infrared touch panel
CN104598082B (en) A kind of method and device for determining candidate touch point
CN104615310A (en) Method and device for determining candidate touch points
CN103365492A (en) Multi-point touch identification method for infrared touch screen
CN105260064A (en) Touch point identification method and apparatus, and display device
CN103092438B (en) A kind of infrared touching device and multi-point touch locating method
CN102364417B (en) Infrared touch screen multi-point recognition method and device
CN102419664B (en) Multi-point identification method and system of infrared touch screen
CN103853390A (en) Method for improving touch precision of infrared touch screen
CN102339171B (en) Infrared touch system and multipoint signal scanning and calculating method
CN102419662A (en) Multipoint identification method and system for infrared touch screen
CN103984445A (en) Infrared touch screen and touch point positioning method thereof
CN102339172B (en) Multi-axis signal scanning calculation method and system of infrared touch system
CN103984443A (en) Infrared touch screen and touch point positioning method
CN102270071A (en) Multi-point touch identification method and device
CN102253778B (en) Method for positioning capacitance sensor
CN103853388A (en) Method for improving touch precision of infrared touch screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant