CN103853391B - A kind of method improving infrared touch panel touch precision - Google Patents

A kind of method improving infrared touch panel touch precision Download PDF

Info

Publication number
CN103853391B
CN103853391B CN201210515305.7A CN201210515305A CN103853391B CN 103853391 B CN103853391 B CN 103853391B CN 201210515305 A CN201210515305 A CN 201210515305A CN 103853391 B CN103853391 B CN 103853391B
Authority
CN
China
Prior art keywords
lamp
infrared
offset
petting area
effective petting
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
CN201210515305.7A
Other languages
Chinese (zh)
Other versions
CN103853391A (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.)
Beijing Unitop New Technology Co Ltd
Original Assignee
Beijing Unitop New Technology Co Ltd
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 Beijing Unitop New Technology Co Ltd filed Critical Beijing Unitop New Technology Co Ltd
Priority to CN201210515305.7A priority Critical patent/CN103853391B/en
Publication of CN103853391A publication Critical patent/CN103853391A/en
Application granted granted Critical
Publication of CN103853391B publication Critical patent/CN103853391B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The present invention relates to a kind of method improving infrared touch panel touch precision, by first lamp, end lamp and the distance on effective Petting Area border and the lamp spacing of infrared transmitting tube and number, obtain the size of effective Petting Area, the mapping proportionate relationship of the two obtained compared with effective Petting Area size by the size of viewing area again, is mapped to the touch point position coordinates in effective Petting Area in viewing area according to this mapping proportionate relationship;Further, owing to considering first lamp, end lamp and the distance on effective Petting Area border, when obtaining touch point position coordinates in effective Petting Area, it is possible to obtain result more accurately.When therefore using method of the present invention to be mapped to by coordinate position in effective Petting Area in viewing area, there is less coordinate offset, touch precision can be effectively improved.

Description

A kind of method improving infrared touch panel touch precision
Technical field
The present invention relates to a kind of method improving infrared touch panel touch precision, belong to the touch point detection of infrared touch panel Technical field.
Background technology
Infrared touch panel of the prior art, as it is shown in figure 1, be provided with infrared on the frame touching detection region surrounding To pipe array, this infrared tube array includes infrared transmitting tube and infrared receiving tube one to one, and at a time only Have infrared transmitting tube to launch scanning ray, thus the most corresponding receive that pipe can only receive on a direction red UV light, when when touching detection Nei You touch point, region, the infrared light between infrared transmitting tube and infrared receiving tube is touched Point stops, i.e. can determine that the positional information of touch point according to the positional information of the infrared receiving tube that can not receive Infrared.
In infrared touch panel research and development and test phase, the effective touch often varied in size in the viewing area with display In district, touch screen is tested;And in the actual application of infrared touch panel, also can there is effective Petting Area and display The situation that the viewing area of device varies in size.By touching on effective Petting Area of touch screen, in the display of display The touch point that the display of corresponding position, region is corresponding.Effective Petting Area and the viewing area size of display due to touch screen Difference, so needing to be mapped on the coordinate in the viewing area of display the touch point coordinate on effective Petting Area, to protect Card test result is accurately and reliably.In order to realize above-mentioned mapping proportionate relationship, in prior art, touch screen is horizontal and vertical The district that first lamp (first infrared transmitting tube/infrared receiving tube), end lamp (last infrared transmitting tube/infrared receiving tube) determine Mapping between territory and viewing area, method is as follows:
(1) touch point position coordinates (X, Y) in effective Petting Area is determined:
As it is shown in figure 1, the quantity setting transversely infrared transmitting tube and infrared receiving tube is H_Num, in longitudinal direction infrared The quantity penetrating pipe and infrared receiving tube is V_Num, and the lamp spacing between adjacent two infrared transmitting tube/infrared receiving tubes is Interv, on the basis of the horizontal frame of installation infrared transmitting tube, be followed successively by the infrared transmitting tube being arranged on longitudinal frame and Infrared receiving tube arranges sequence number VN(0 < VN≤ V_Num, and be integer);In like manner, with longitudinal frame of installation infrared transmitting tube as base Standard, is followed successively by the infrared transmitting tube being arranged on horizontal frame and infrared receiving tube arranges sequence number HN(0 < HN≤ H_Num, and be whole Number);The sequence number of each infrared transmitting tube/infrared receiving tube is stored.Within a scan period, control each successively Infrared transmitting tube is launched Infrared (scan line) and is scanned touching detection region, after each scan period terminates, and root According to the horizontal infrared transmitting tube sequence number corresponding to the Infrared that touched point is blocked or infrared receiving tube sequence number HNWith the reddest Emission pipe sequence number or infrared receiving tube sequence number VN, and the position coordinates that lamp distance computation touch point is in effective Petting Area (X, Y):
X=Interv*(HN-1)、Y=Interv*(VN-1);
(2) mapping proportionate relationship is determined:
The area size determined according to first lamp horizontal and vertical in effective Petting Area, end lamp is ([Interv* (H_ Num-1)], [Interv* (V_Num-1)]).For viewing area, can be obtained it by the way of measurement horizontal To a length of W, longitudinal length is H, then the size of viewing area is (W, H).The mapping ratio of the two is determined according to below equation Relation is:
Rx= W/[Interv*(H_Num - 1);Ry= H/ Interv*(V_Num - 1)。
According to above-mentioned mapping proportionate relationship (Rx, Ry) in viewing area, determine the position coordinates of touch point: X '=X* Rx, Y’ =Y*Ry
Obviously, above-mentioned mapping method is by district determined by between first lamp horizontal and vertical in effective Petting Area and end lamp What territory was proportional is mapped to viewing area, is directly by institute between horizontal and vertical first lamp and end lamp really the most in the prior art Fixed region is as effective Petting Area.But in the preparation process of infrared touch panel, due to user's need to display sizes Ask different, the infrared transmitting tube that frame is installed and infrared receiving tube, first lamp, between end lamp and frame, it is not necessarily coincidence, Often there is a certain distance, and be arranged at the infrared transmitting tube on laterally/longitudinal frame and infrared receiving tube be all with The geometric center of laterally/longitudinal frame is that axis of symmetry is symmetrically arranged, the most laterally/the most first lamp, between end lamp and frame Apart from identical.If the distance between the most first lamp, end lamp and effective Petting Area border is xoffset, the most first lamp, end lamp touch with effective Touching the distance between border, district is yoffset.Due to xoffsetAnd yoffsetExistence, region and reality determined by between first lamp and end lamp The effective Petting Area in border also differs, and the mapping relations obtained exist error.And, said method step (1) is determining touch point During position coordinates in effective Petting Area, be the most only consider the infrared transmitting tube of distance frame or the sequence number of infrared receiving tube and Lamp spacing, does not but account for closing between the actual boundary of infrared transmitting tube or the physical location of infrared receiving tube and effective Petting Area System, and then cause the touch point obtained position coordinates in effective Petting Area to have bigger deviation.
In sum, in prior art when effective Petting Area is mapped to viewing area, it maps proportionate relationship not Accurately, and also have relatively large deviation when determining the position coordinates of touch point.According to this mapping proportionate relationship and position, touch point Putting coordinate, the result being mapped in viewing area can produce bigger skew (i.e. coordinate expansion or contraction), causes when user wants When touching a certain position in viewing area, but there is certain deviation amount the actual position touched on effective Petting Area, from And cause the maloperation to infrared touch panel, the mistaken touch even situation of no touch occur, makes the touch precision of infrared touch panel Reduce.
Summary of the invention
To be solved by this invention is directly to be arrived by the area maps between lamp first in effective Petting Area, end lamp in prior art Viewing area produces relatively large deviation, the problem causing mistaken touch, no touch, and then provides a kind of by the seat in effective Petting Area Mark considers in being mapped to viewing area that first lamp, end lamp touch precision with the infrared touch panel that can improve of the spacing of frame constantly Method.
For solving above-mentioned technical problem, the present invention is achieved by the following technical solutions:
A kind of method improving infrared touch panel touch precision, comprises the steps:
S1: obtain the lateral length W of effective Petting AreahWith longitudinal length Wv
Obtain distance x between infrared touch panel laterally first lamp, end lamp and effective Petting Area borderoffset, the most first lamp, end Distance y between lamp and effectively Petting Area borderoffset, and lamp spacing Interv;
Obtain the lateral length W and longitudinal length H of viewing area;
S2: according to the mapping proportionate relationship of the below equation effective Petting Area of calculating with viewing area:
Rx= W/Wh; Ry=H/Wv
S3: obtain the horizontal infrared transmitting tube sequence number or red corresponding to the Infrared that touch point is blocked at effective Petting Area External closed tube sequence number HNWith longitudinal infrared transmitting tube sequence number or infrared receiving tube sequence number VN, calculate touch point according to below equation and exist The effectively position coordinates (X, Y) in Petting Area:
X=xoffset+Interv*(HN-1)、Y=yoffset+Interv*(VN-1);
S4: described touch point position coordinates (X, Y) in effective Petting Area is mapped according to described mapping proportionate relationship To viewing area, obtain touch point coordinate in viewing area (X ', Y ') by below equation:
X’=RX* X=(W/Wh) * (xoffset+Interv*(HN-1));
Y’=RY* Y=(H/Wv) * (yoffset+Interv*(VN-1))。
In described step S1, obtained the lateral length W of effective Petting Area by the method for tape measurehWith longitudinal length Wv
In described step S1:
Effective Petting Area is obtained according to horizontal infrared transmitting tube or quantity H_Num of infrared receiving tube and lamp spacing Interv Lateral length Wh=2*xoffset+Interv*(H_Num-1);
Effective Petting Area is obtained according to longitudinal infrared transmitting tube or quantity V_Num of infrared receiving tube and lamp spacing Interv Longitudinal length Wv=2* yoffset+ Interv*( V_Num - 1 )。
In described step S1, obtained the lateral length W and longitudinal length H of viewing area by the method for tape measure.
When horizontal and vertical first lamp and end lamp are positioned at the border of effective Petting Area, xoffsetAnd yoffsetJust take;
When horizontal and vertical first lamp and end lamp are positioned at outside the border of effective Petting Area, xoffsetAnd yoffsetTake negative.
The technique scheme of the present invention has the advantage that compared to existing technology
(1) method that raising infrared touch panel of the present invention touches precision, obtains the lateral length of effective Petting Area WhWith longitudinal length Wv, and the lateral length W and longitudinal length H of viewing area, according to the actual size of effective Petting Area with aobvious Show that the actual size in region is mapped proportionate relationship more accurately;Further, touch point seat in effective Petting Area is being obtained Timestamp, in the horizontal infrared transmitting tube sequence number considered corresponding to the Infrared that effective Petting Area blocks or infrared receiving tube sequence number HNWith longitudinal infrared transmitting tube sequence number or infrared receiving tube sequence number VNOutside, it is also contemplated that first lamp, end lamp and effective Petting Area border it Between distance, the result obtained is more accurate;Therefore basis mapping proportionate relationship more accurately and more accurately touch point coordinate letter Breath, when being mapped to touch point in viewing area, has less coordinate offset, can be effectively improved touch precision.
(2) method that raising infrared touch panel of the present invention touches precision, by first lamp, end lamp and effective Petting Area The distance on border and the lamp spacing of infrared transmitting tube and number, obtain the actual size of effective Petting Area, then with viewing area The between the two actual mapping proportionate relationship that size obtains compared with effective Petting Area size.
(3) method that raising infrared touch panel of the present invention touches precision, considers first, last infrared tube effectively Situation outside in Petting Area border and effective Petting Area border, it is adaptable to all situations of infrared touch panel, and calculating is simple, Accuracy is high.
Accompanying drawing explanation
In order to make present disclosure be more likely to be clearly understood, below in conjunction with the accompanying drawings, the present invention is made the most in detail Thin explanation, wherein,
Fig. 1 is that first lamp of the present invention is positioned at the position relationship schematic diagram within effective Petting Area border with end lamp;
Fig. 2 is that effective Petting Area internal coordinate of the present invention is mapped to viewing area internal coordinate schematic diagram;
Fig. 3 is that first lamp of the present invention is positioned at the position relationship schematic diagram outside effective Petting Area border with end lamp.
In figure, reference is expressed as: 1-effective Petting Area border, 2-viewing area, 3-infrared transmitting tube, 4-is infrared to be connect Closed tube.
Detailed description of the invention
Embodiment 1
The present embodiment provides a kind of and improves the method that infrared touch panel touches precision, comprises the steps:
S1: obtain the lateral length W of effective Petting AreahWith longitudinal length Wv, obtain the size (W of effective Petting Areah, Wv); Further, as it is shown in figure 1, obtain infrared touch panel laterally first lamp, end lamp and effective distance between Petting Area horizontal boundary xoffset, longitudinally distance y between head lamp, end lamp and effective Petting Area borderoffset, and lamp spacing Interv;
Obtain the lateral length W and longitudinal length H of viewing area 2, obtain the region (W, H) of viewing area 2;
S2: according to the mapping proportionate relationship of the below equation effective Petting Area of calculating with viewing area:
Rx= W/Wh; Ry= H/ Wv
S3: obtain the horizontal infrared transmitting tube sequence number or red corresponding to the Infrared that touch point is blocked at effective Petting Area External closed tube sequence number HNWith longitudinal infrared transmitting tube sequence number or infrared receiving tube sequence number VN, calculate touch point according to below equation and exist The effectively position coordinates (X, Y) in Petting Area:
X=xoffset+Interv*(HN-1)、Y=yoffset+Interv*(VN-1);
S4: as in figure 2 it is shown, according to described mapping proportionate relationship by described touch point position coordinates in effective Petting Area (X, Y) is mapped to viewing area, obtains touch point coordinate in viewing area (X ', Y ') by below equation:
X’=RX* X=(W/Wh) * (xoffset+Interv*(HN-1));
Y’=RY* Y=(H/Wv) * (yoffset+Interv*(VN-1))。
According to above-mentioned formula, it is known that if effectively Petting Area is identical with the size of viewing area 2: RX=1, Ry=1, then may be used With the coordinate in viewing area 2 after obtaining coordinate (X, Y) in effective Petting Area and having mapped for (X ', Y ') coincidence.Root According to above-mentioned formula, if the infrared transmitting tube serial number (1,1) that the Infrared blocked of touch point is corresponding is (the most horizontal and vertical all Headed by lamp) time, it is known that for (x when it is mapped in viewing area 2offset, yoffset).
Clearly as the distance considered between first lamp, end lamp and effective Petting Area border 1, use the side in the present embodiment Method, it is possible to obtain accurate touch point position coordinates and map proportionate relationship, position, touch point in effective Petting Area is sat Mark also is able to avoid the skew of coordinate after being mapped to viewing area 2, greatly enhance touch precision.
Embodiment 2
The present embodiment, as the further restriction of embodiment 1, in wherein said step S1, is obtained by the method for tape measure Take the lateral length W of effective Petting AreahWith longitudinal length Wv;And, the horizontal stroke of viewing area 2 is obtained by the method for tape measure To length W and longitudinal length H.Usually, effective Petting Area of touch screen is exactly touch screen frame area defined, so, The lateral length of measurement touch screen frame area defined and longitudinal length can be obtained by the lateral length of effective Petting Area WhWith longitudinal length Wv
Embodiment 3
The present embodiment improvement further on the basis of embodiment 2 is as follows:
In conjunction with Fig. 1, it is known that in described step S1:
Effective Petting Area is obtained according to horizontal infrared transmitting tube or quantity H_Num of infrared receiving tube and lamp spacing Interv Lateral length Wh=2*xoffset+Interv*(H_Num-1);According to longitudinal infrared transmitting tube or quantity V_ of infrared receiving tube Num and lamp spacing Interv obtain the longitudinal length W of effective Petting Areav=2* yoffset+ Interv*( V_Num - 1 )。
When the overlapping margins of first lamp and end lamp and effective Petting Area, xoffset=yoffset=0。
The first lamp that the present embodiment is given and end lamp are all the situations in effective Petting Area border 1, but it is also possible that out Existing first lamp or end lamp situation outside effective Petting Area border 1, the most first lamp and end lamp are all effectively touching as shown in Figure 3 Situation outside border, district 1.When horizontal and vertical first lamp and end lamp are positioned at effective Petting Area border 1, xoffsetAnd yoffset Just take;Horizontal and vertical first lamp and end lamp be positioned at effective Petting Area border 1 outer time, xoffsetAnd yoffsetTake negative.The most permissible The said method enabling the present invention is applicable to various infrared touch panel.
Obviously, above-described embodiment is only for clearly demonstrating example, and not restriction to embodiment.Right For those of ordinary skill in the field, can also make on the basis of the above description other multi-form change or Variation.Here without also cannot all of embodiment be given exhaustive.And the obvious change thus extended out or Change among still in the protection domain of the invention.

Claims (3)

1. one kind is improved the method that infrared touch panel touches precision, it is characterised in that comprise the steps:
S1: obtain the lateral length W of effective Petting AreahWith longitudinal length Wv
Obtain distance x between infrared touch panel laterally first lamp, end lamp and effective Petting Area borderoffset, longitudinally first lamp, end lamp with Effectively distance y between Petting Area borderoffset, and lamp spacing Interv;
Obtain the lateral length W and longitudinal length H of viewing area;
S2: according to the mapping proportionate relationship of the below equation effective Petting Area of calculating with viewing area:
Rx=W/Wh;Ry=H/Wv
S3: obtain the horizontal infrared transmitting tube sequence number corresponding to the Infrared that touch point is blocked at effective Petting Area or infrared connect Closed tube sequence number HNWith longitudinal infrared transmitting tube sequence number or infrared receiving tube sequence number VN, calculate touch point effectively according to below equation Position coordinates (X, Y) in Petting Area:
X=xoffset+Interv*(HN-1), Y=yoffset+Interv*(VN-1);
S4: described touch point position coordinates (X, Y) in effective Petting Area is mapped to aobvious according to described mapping proportionate relationship Show region, obtain touch point coordinate in viewing area (X ', Y ') by below equation:
X '=RX* X=(W/Wh)*(xoffset+Interv*(HN-1));
Y '=RY* Y=(H/Wv)*(yoffset+Interv*(VN-1));
In described step S1:
The horizontal stroke of effective Petting Area is obtained according to horizontal infrared transmitting tube or quantity H_Num of infrared receiving tube and lamp spacing Interv To length Wh=2*xoffset+Interv*(H_Num-1);
The vertical of effective Petting Area is obtained according to longitudinal infrared transmitting tube or quantity V_Num of infrared receiving tube and lamp spacing Interv To length Wv=2*yoffset+Interv*(V_Num-1)。
2. according to the arbitrary described method improving infrared touch panel touch precision of claim 1, it is characterised in that:
In described step S1, obtained the lateral length W and longitudinal length H of viewing area by the method for tape measure.
3. according to the arbitrary described method improving infrared touch panel touch precision of claim 1, it is characterised in that:
When horizontal and vertical first lamp and end lamp are positioned at the border of effective Petting Area, xoffsetAnd yoffsetJust take;
When horizontal and vertical first lamp and end lamp are positioned at outside the border of effective Petting Area, xoffsetAnd yoffsetTake negative.
CN201210515305.7A 2012-12-05 2012-12-05 A kind of method improving infrared touch panel touch precision Expired - Fee Related CN103853391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210515305.7A CN103853391B (en) 2012-12-05 2012-12-05 A kind of method improving infrared touch panel touch precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210515305.7A CN103853391B (en) 2012-12-05 2012-12-05 A kind of method improving infrared touch panel touch precision

Publications (2)

Publication Number Publication Date
CN103853391A CN103853391A (en) 2014-06-11
CN103853391B true CN103853391B (en) 2016-12-21

Family

ID=50861139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210515305.7A Expired - Fee Related CN103853391B (en) 2012-12-05 2012-12-05 A kind of method improving infrared touch panel touch precision

Country Status (1)

Country Link
CN (1) CN103853391B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415655B (en) * 2018-02-08 2020-10-23 广州华欣电子科技有限公司 Touch data processing method and device, all-in-one machine and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1433557A (en) * 1999-12-02 2003-07-30 伊罗接触系统公司 Apparatus and method to improve resolution of infrared touch systems
CN101320307A (en) * 2007-06-04 2008-12-10 北京汇冠新技术有限公司 Method for recognizing multiple touch points on infrared touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012017698A1 (en) * 2010-08-06 2012-02-09 株式会社 翔栄 Input device using touch panel and input method thereof
US8786577B2 (en) * 2010-11-03 2014-07-22 Toshiba Tec Kabushiki Kaisha Apparatus and method for recognizing coordinates

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1433557A (en) * 1999-12-02 2003-07-30 伊罗接触系统公司 Apparatus and method to improve resolution of infrared touch systems
CN101320307A (en) * 2007-06-04 2008-12-10 北京汇冠新技术有限公司 Method for recognizing multiple touch points on infrared touch screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
红外线感应电子白板的设计与实现;董冠涛;《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》;20090915;第2009年卷(第09期);第I137-15页,第2.1节 *

Also Published As

Publication number Publication date
CN103853391A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103365480B (en) Touch recognition method and system for multi-point infrared touch screen
CN103578347B (en) Method and device for displaying POI in electronic map and mobile terminal
KR20140016987A (en) Method and electronic device for virtual handwritten input
CN109814757A (en) Touch control detecting method and device, touch control device, computer equipment and readable medium
TWI433003B (en) Touch-control system and touch-sensing method thereof
TW201250561A (en) Touch detection method and touch sensor
CN104034269A (en) Monocular vision measuring method and monocular vision measuring device
CN105043381A (en) Magnetic nail-based positioning method
EP2682846A3 (en) Coordinate compensation method and apparatus in digitizer, and electronic pen used in the same
CN103853391B (en) A kind of method improving infrared touch panel touch precision
CN104345989A (en) Optical touch system and touch display system
CN206311100U (en) A kind of verticality measuring instrument
CN108683896A (en) A kind of calibration method of projection device, device, projection device and terminal device
EP3410930B1 (en) Sensor arrangement and catheter comprising a sensor arrangement
CN105405134A (en) Camera calibration mark center coordinate extraction method
JP2016206732A (en) Display and touch detection system
CN104764465B (en) A kind of measuring method of remote sensing satellite ground resolution
CN104123314B (en) Mark preventing collision method and device
CN106293260A (en) Optical touch device and sensing method thereof
CN102866808B (en) Method and system for self-correcting of specially-shaped touch screen
CN106297551A (en) A kind of road sign for determining robot location and coding checkout method thereof
CN102393576A (en) Visual checking machine of glass baseplate in liquid crystal display and checking method thereof
CN114972714A (en) Dial reading method, device, system and computer readable storage medium
CN104483103B (en) Method for testing resolution of display screen
CN106056049B (en) Chinese character writing stroke detection method and device

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

Granted publication date: 20161221

Termination date: 20181205

CF01 Termination of patent right due to non-payment of annual fee