CN101984393A - Method for improving precision of infrared touch screen - Google Patents

Method for improving precision of infrared touch screen Download PDF

Info

Publication number
CN101984393A
CN101984393A CN2010105619664A CN201010561966A CN101984393A CN 101984393 A CN101984393 A CN 101984393A CN 2010105619664 A CN2010105619664 A CN 2010105619664A CN 201010561966 A CN201010561966 A CN 201010561966A CN 101984393 A CN101984393 A CN 101984393A
Authority
CN
China
Prior art keywords
axle
coordinate
value
receiving tube
touch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105619664A
Other languages
Chinese (zh)
Other versions
CN101984393B (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.)
AVIC Huadong Photoelectric Co Ltd
Original Assignee
AVIC Huadong Photoelectric 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 AVIC Huadong Photoelectric Co Ltd filed Critical AVIC Huadong Photoelectric Co Ltd
Priority to CN2010105619664A priority Critical patent/CN101984393B/en
Publication of CN101984393A publication Critical patent/CN101984393A/en
Application granted granted Critical
Publication of CN101984393B publication Critical patent/CN101984393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention relates to a method for improving the precision of an infrared touch screen, which comprises the following steps: firstly determining the rough position through in-axis scanning, then carrying out trigonometric calculation through off-axis light and the rough position, obtaining the more accurate virtual position, and then carrying out linear interpolation for calculating the precise touch position through the virtual position according to the scanned voltage AD value. The method has the advantages that a pair of virtual lamps is created between two lamps through the off-axis scanning and the rough coordinate calculation, thereby solving the problem that the position of a touched object can not be precisely distinguished due to too large distance between the lamps.

Description

A kind of method that improves the infrared touch panel precision
[technical field]
The invention belongs to infrared touch panel, particularly the photoelectric detecting method that uses in the infrared touch panel.
[background technology]
Existing a kind of infrared touch panel composed as follows: some infrared transmitting tubes are installed on two edges of touch-screen, each power valve is the control of controlled device all, can open any time or close, on two other limit of touch-screen, infrared receiving tube is installed, the receiving tube total number is identical with the power valve total number, each receiving tube is all aimed at a power valve, and each receiving tube is the control of controlled device all, can open any time or close.Because the distance between two lamps is bigger, can there be a bit of blind area in this infrared touch panel between two lamps, when touch objects moves very small distance, can not cause the variation of touch objects both sides scan lamp AD value.
As shown in Figure 1, infrared touch panel, because distance is bigger between two lamps, when touch objects moves to solid line position POS2 by dotted line position POS1, the voltage AD conversion value of the voltage AD conversion value of the voltage AD conversion value of TH4_RH4 scanning, TH5_RH5 scanning, TH6_RH6 scanning does not change, thus adopt axle interscan method, even adopt some advanced interpolation algorithms, because inreal input reliably is not so the coordinate figure that calculates is very accurate.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of method that can accurately distinguish the raising infrared touch panel precision of touch objects position.
The present invention solves the problems of the technologies described above by the following technical programs: comprise the steps:
Step 1: open infrared receiving tube in order successively, whenever open an infrared receiving tube, open successively receiving tube over against power valve, and over against two power valves of the power valve both sides of receiving tube, be that each receiving tube correspondence is opened 3 power valves, one of them is over against power valve, is called an internal tube, and two other is the power valve from axle, be called from the axle power valve, write down interior the reaching of axle of all scanning, be designated as initial AD value, and preserve from shaft voltage analog to digital conversion value;
Step 2: with threshold ratio judged whether touch objects according to AD value in the axle, if touch, the record touch condition;
Step 3:,, then enter step 4 if touch objects is arranged if the no touch thing then returns step 1 and continues scanning;
Step 4: detect to estimate rough X coordinate and the Y coordinate of touch location by the axle interscan, average in the position of the lamp of the both sides that can block the thing that is touched or the simple linear interpolation calculation goes out rough X coordinate and Y coordinate;
Step 5: Y coordinate and X according to guestimate carry out triangulation calculation from the axle sweep trace, obtain X-axis coordinate more accurately, carry out triangulation calculation according to the X coordinate and the Y of guestimate from the axle sweep trace, obtain Y-axis coordinate more accurately;
Step 6: the coordinate of obtaining of X-axis comparatively accurately, think the axle interscan that a pair of virtual emission, the receiving tube group of transverse direction carried out, and the corresponding AD value record that obtains from axle scanning is got off, this AD value is called transverse direction virtual A D; Equally,, think the axle interscan that a pair of virtual emission, the receiving tube group of transverse direction carry out, and the corresponding voltage AD conversion values that obtains from axle scanning is noted, this AD value is called longitudinal direction virtual A D the coordinate of obtaining of Y-axis comparatively accurately;
Step 7: then according to X-axis coordinate (virtual X coordinate) and transverse direction virtual A D and initial AD value, linear interpolation calculate X-axis coordinate accurately comparatively accurately; According to Y-axis coordinate (virtual Y coordinate) and longitudinal direction virtual A D and initial AD value, linear interpolation calculate Y-axis coordinate accurately comparatively accurately.
Advantage of the present invention is: by calculating from axle scanner uni rough coordinates, between two lamps, fictionalize a pair of lamp, solve lamp apart from the problem that can not accurately distinguish the touch objects position that causes too greatly, improve the resolution of infrared touch panel, and do not need to increase the quantity of infrared transmitting tube and infrared receiving tube.
[description of drawings]
The in-problem synoptic diagram of Fig. 1 axle interscan.
Fig. 2 adopts virtual coordinates that synoptic diagram is calculated in scanning.
[embodiment]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings, can be implemented so that those skilled in the art can better understand the present invention also, but illustrated embodiment is not as a limitation of the invention.
As Fig. 2, for each receiving light, scanning can realize three emission lamps in the scope, for receiving light RHi, turn on emission lamp THi-1, THi, THi+1 successively, for receiving light RVi, turn on emission lamp TVi-1, TVi, TVi+1 successively, so corresponding three the emission lamps of each receiving light.
When initially powering on, guarantee that touch-screen is without any blocking, run-down, write down the scan values of the corresponding emission of each receiving light lamp: AD_INI_RH1_TH1, AD_INI_RH1_TH2, AD_INI_RH2_TH1, AD_INI_RH2_TH2, AD_INI_RH2_TH3........................AD_INI_RHn-1_THn, AD_INI_RHn_THn, AD_INI_RV1_TV1, AD_INI_RV1_TV2, AD_INI_RV2_TV1, AD_INI_RV2_TV2, AD_INI_RV2_TV3.....................AD_INI_RHm-1_THm, AD_INI_RHm_THm.
After initialization finishes, carry out scan round.Writing down each receiving light obtains from axle scanning and axle interscan AD value: AD_RH1_TH1, AD_RH1_TH2, AD_RH2_TH1, AD_RH2_TH2, AD_RH2_TH3 ... ADR_RHn-1_THn, AD_RHn_THn, AD_INI_RV1_TV1, AD_RV1_TV2, AD_RV2_TV1, AD_RV2_TV2, AD_RV2_TV3..AD_RHm-1_THm, AD_RHm_THm.By AD value and threshold in the axle, if the AD value is littler than threshold value in each lamp axle, touch objects has been described, otherwise, there is not touch objects.As shown in Figure 2, as an example, the position of touch objects is: the horizontal ordinate direction, between the 4th pair of lamp and the 6th pair of lamp; The ordinate direction is between the 2nd pair of lamp and the 4th pair of lamp.Begin to illustrate this method computation process below.
1, calculates touch objects center rough coordinates
If touch objects is arranged, at first calculate the rough position at the place, center of touch objects according to the axle interscan.Here adopt simple linear method of interpolation (also can adopt mean value method, decide) according to actual.The method of simple interpolation principle is:
At first block, judge and block centre coordinate between two lamps, according to two sizes, carry out corresponding calculating then the AD value of lamp according to touch.
The horizontal ordinate direction is supposed touch objects horizontal ordinate direction, left side lamp sequence number TCH_L, right side sequence number TCH_R, left side AD value is AD_TCH_L, right side AD value is AD_TCH_R, left side lamp initialization AD value is AD_INI_TCH_L, and right side initialization AD value is AD_INI_TCH_R; Side lamp sequence number TCH_T on the ordinate direction, downside sequence number TCH_B, upside AD value is AD_TCH_T, and downside AD value is AD_TCH_B, and last side lamp initialization AD value is AD_INI_TCH_T, and downside initialization AD value is AD_INI_TCH_B.
The coordinate figure at two lamp centers of X-direction:
P RCX=(TCH_L+TCH_R)/2
If (AD_TCH_L/AD_INI_TCH_L) 〉=(AD_TCH_R/AD_INI_TCH_R), touch center inclined right direction is described, computing formula calculates the rough coordinates that X-axis touches the center below adopting
P RX=P RCXIf+(AD_TCH_L/AD_INI_TCH_L-AD_TCH_R/AD_INI_TCH_R) (AD_TCH_L/AD_INI_TCH_L)<(AD_TCH_R/AD_INI_TCH_R), touch center inclined left direction is described, computing formula calculates the rough coordinates that X-axis touches the center below adopting:
P RX=P RCX-(AD_TCH_R/AD_INI_TCH_R-AD_TCH_L/AD_INI_TCH_L)
The coordinate figure at two lamp centers of Y direction:
P RCY=(TCH_T+TCH_B)/2
If (AD_TCH_T/AD_INI_TCHT) 〉=(AD_TCH_B/AD_INI_TCH_B), deflection direction down in touch center is described, computing formula calculates the rough coordinates P that Y-axis touches the center below adopting RY=P RCYIf+(AD_TCH_T/AD_INI_TCH_T-AD_TCH_B/AD_INI_TCH_B) (AD_TCH_T/AD_INI_TCH_T)<(AD_TCH_B/AD_INI_TCH_B), touch center inclined left direction is described, computing formula calculates the rough coordinates that X-axis touches the center: P below adopting RY=P RCY-(AD_TCH_B/AD_INI_TCH_B-AD_TCH_T/AD_INI_TCH_T) 2, calculate the right coordinate of the virtual lamp in touch objects both sides
After calculating rough coordinates, can calculate the coordinate of virtual lamp, virtual coordinates calculates principle: touch objects one side is judged from axle scanning whether blocked fully, if be blocked fully, then virtual coordinates is got the axle internal coordinate from the nearest homonymy that is not blocked fully of touch objects, if do not blocked fully from axle, then adopt from touch objects nearest obtain virtual coordinates from axial ray by the triangle principle.
As shown in Figure 2, the touch objects left side is not all blocked fully from axle scanning ray TH4-RH5, TH5-RH4, TH5-RH4 is nearest from touch objects, so the virtual lamp coordinate in touch objects left side adopts TH5-RH4 to carry out triangulation calculation and draws, touch objects right side TH5-RH6, TH6-RH5 are blocked fully, so adopt axle internal coordinate TH6-RH6 from the nearest homonymy that is not blocked fully of touch objects as virtual lamp coordinate, need not calculate again.The ordinate direction, principle is identical, no longer narration.
The Y-axis rough coordinates of the virtual coordinates basis of X-axis and X-axis calculate from axle scanning angle Φ.
The horizontal ordinate direction, if what adopted is that the X-axis virtual coordinates is from axle THih-RHih-1:
P VX=THih-P RY*tgΦ
The horizontal ordinate direction, if what adopted is that the X-axis virtual coordinates is from axle THih-1-RHih:
P VX=THih-1+P RY*tgΦ
The X-axis rough coordinates of the virtual coordinates basis of Y-axis and Y-axis calculate from axle scanning angle Θ.
The ordinate direction, if what adopted is that the Y-axis virtual coordinates is from axle THiv-RHiv-1:
P VY=THiv-P RX*tgΘ
The ordinate direction, if what adopted is that the Y-axis virtual coordinates is from axle THi-1-RHi:
P VY=THiv-1+P RX*tgΘ
3, calculate the touch objects precise coordinates
After having calculated virtual coordinates, according to virtual coordinates and virtual coordinates AD value, carry out linear interpolation, calculate accurate coordinates, it is identical with computing center rough coordinates value that linear interpolation is calculated principle.
The horizontal ordinate direction is if what adopted is that then virtual A D value is AD_THih_THih-1, if what adopted is that then virtual A D value is AD_THih-1_THih from axle THih-1-RHih from axle THih-RHih-1.The ordinate direction is if what adopted is that then virtual A D value is AD_THiv_THiv-1, if what adopted is that then virtual A D value is AD_THiv-1_THiv from axle THi-1-RHi from axle THiv-RHiv-1.
Carry out that then virtual lamp is carried out linear interpolation and calculate, calculate the accurate coordinates of each side of touch objects, at last the left and right sides coordinate is averaged, obtain accurate X-axis centre coordinate, the upper and lower sides accurate coordinates is averaged, calculate accurate Y-axis centre coordinate.
By the method for virtual lamp, by calculating, it is right to fictionalize lamp between two actual lamp, carries out coordinate Calculation according to virtual lamp, can solve since lamp apart from the not high problem of touch bearing accuracy that causes more greatly.
Though more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than be used for qualification to scope of the present invention; those of ordinary skill in the art are in the modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (2)

1. method that improves the infrared touch panel precision, this infrared touch panel composed as follows: some infrared transmitting tubes are installed on two edges of touch-screen, each power valve is the control of controlled device all, can open any time or close, on two other limit of touch-screen, infrared receiving tube is installed, the receiving tube total number is identical with the power valve total number, each receiving tube is all aimed at a power valve, each receiving tube is the control of controlled device all, can open any time or close, it is characterized in that: comprise the steps:
Step 1: open infrared receiving tube in order successively, whenever open an infrared receiving tube, open successively receiving tube over against power valve, and over against two power valves of the power valve both sides of receiving tube, be that each receiving tube correspondence is opened 3 power valves, one of them is over against power valve, is called an internal tube, and two other is the power valve from axle, be called from the axle power valve, write down interior the reaching of axle of all scanning, be designated as initial AD value, and preserve from shaft voltage analog to digital conversion value;
Step 2: with threshold ratio judged whether touch objects according to AD value in the axle, if touch, the record touch condition;
Step 3:,, then enter step 4 if touch objects is arranged if the no touch thing then returns step 1 and continues scanning;
Step 4: detect rough X coordinate and the Y coordinate of estimation touch location by the axle interscan;
Step 5: Y coordinate and X according to guestimate carry out triangulation calculation from the axle sweep trace, obtain X-axis coordinate more accurately, carry out triangulation calculation according to the X coordinate and the Y of guestimate from the axle sweep trace, obtain Y-axis coordinate more accurately;
Step 6: the coordinate of obtaining of X-axis comparatively accurately, think the axle interscan that a pair of virtual emission, the receiving tube group of transverse direction carried out, and the corresponding AD value record that obtains from axle scanning is got off, this AD value is called transverse direction virtual A D; Equally,, think the axle interscan that a pair of virtual emission, the receiving tube group of transverse direction carry out, and the corresponding voltage AD conversion values that obtains from axle scanning is noted, this AD value is called longitudinal direction virtual A D the coordinate of obtaining of Y-axis comparatively accurately;
Step 7: then according to X-axis coordinate and transverse direction virtual A D and initial AD value, linear interpolation calculate X-axis coordinate accurately comparatively accurately; According to Y-axis coordinate and longitudinal direction virtual A D and initial AD value, linear interpolation calculate Y-axis coordinate accurately comparatively accurately.
2. a kind of method that improves the infrared touch panel precision as claimed in claim 1 is characterized in that: in the described step 4, to average or the simple linear interpolation calculation goes out rough X coordinate and Y coordinate the position of the lamp of both sides that the thing that is touched is blocked.
CN2010105619664A 2010-11-26 2010-11-26 Method for improving precision of infrared touch screen Active CN101984393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105619664A CN101984393B (en) 2010-11-26 2010-11-26 Method for improving precision of infrared touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105619664A CN101984393B (en) 2010-11-26 2010-11-26 Method for improving precision of infrared touch screen

Publications (2)

Publication Number Publication Date
CN101984393A true CN101984393A (en) 2011-03-09
CN101984393B CN101984393B (en) 2012-11-28

Family

ID=43641563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105619664A Active CN101984393B (en) 2010-11-26 2010-11-26 Method for improving precision of infrared touch screen

Country Status (1)

Country Link
CN (1) CN101984393B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104635997A (en) * 2013-11-13 2015-05-20 天津联远融众科技有限公司 Infrared interaction electronic whiteboard and signal processing method thereof
CN104731418A (en) * 2015-03-27 2015-06-24 青岛海信电器股份有限公司 Touch screen positioning method and device and touch screen device
CN104932749A (en) * 2015-06-29 2015-09-23 青岛海信电器股份有限公司 Coordinate calculation method and device of touch point, and touch screen equipment
CN106293198A (en) * 2016-07-27 2017-01-04 中航华东光电有限公司 Auxiliary revises the method for infrared touch point

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4855590A (en) * 1987-06-25 1989-08-08 Amp Incorporated Infrared touch input device having ambient compensation
CN101075168A (en) * 2007-06-22 2007-11-21 北京汇冠新技术有限公司 Method for discriminating multiple points on infrared touch screen
CN101149656A (en) * 2007-10-26 2008-03-26 广东威创视讯科技股份有限公司 Infra red touch screen and multiple point touching positioning method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4855590A (en) * 1987-06-25 1989-08-08 Amp Incorporated Infrared touch input device having ambient compensation
CN101075168A (en) * 2007-06-22 2007-11-21 北京汇冠新技术有限公司 Method for discriminating multiple points on infrared touch screen
CN101149656A (en) * 2007-10-26 2008-03-26 广东威创视讯科技股份有限公司 Infra red touch screen and multiple point touching positioning method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104635997A (en) * 2013-11-13 2015-05-20 天津联远融众科技有限公司 Infrared interaction electronic whiteboard and signal processing method thereof
CN104731418A (en) * 2015-03-27 2015-06-24 青岛海信电器股份有限公司 Touch screen positioning method and device and touch screen device
CN104731418B (en) * 2015-03-27 2017-11-14 青岛海信电器股份有限公司 A kind of touch-screen localization method, device and touch-screen equipment
CN104932749A (en) * 2015-06-29 2015-09-23 青岛海信电器股份有限公司 Coordinate calculation method and device of touch point, and touch screen equipment
CN104932749B (en) * 2015-06-29 2018-12-11 青岛海信电器股份有限公司 A kind of Coordinate calculation method of touch point, device and touch-screen equipment
CN106293198A (en) * 2016-07-27 2017-01-04 中航华东光电有限公司 Auxiliary revises the method for infrared touch point
CN106293198B (en) * 2016-07-27 2019-03-15 中航华东光电有限公司 The method of auxiliary amendment infrared touch point

Also Published As

Publication number Publication date
CN101984393B (en) 2012-11-28

Similar Documents

Publication Publication Date Title
TWI608221B (en) Liquid level detecting system and method thereof
EP2492785B1 (en) Creative design system and method
CN101984393B (en) Method for improving precision of infrared touch screen
TWI417769B (en) Method and apparatus for detecting touch point
JP4951467B2 (en) Peak position detection method of correlation function in image correlation displacement sensor
US20130297251A1 (en) System and Method For Determining High Resolution Positional Data From Limited Number of Analog Inputs
CN103207669A (en) Ambient light based gesture detection
US9243904B2 (en) Proximity sensor and proximity sensing method using light quantity of reflection light
CN104766320A (en) Bernoulli smoothing weak target detection and tracking method under thresholding measuring
CN108089813B (en) Touch screen scribing operation processing method and device, electronic equipment and storage medium
CN102193690A (en) Infrared touch screen and multi-touch positioning method thereof
CN102419675B (en) Coordinate normalizing method of electromagnetic induction device and electromagnetic induction device
CN103263255A (en) Method for processing data of human body infrared temperature sensor
CN110125124B (en) Photovoltaic cleaning machine inclination posture detection method, controller and photovoltaic cleaning machine
US7088338B2 (en) Optical mouse and method for preventing an erroneous operation thereof
EP2402847A3 (en) Fine object positioning
CN104618634A (en) Mobile terminal and method for calibrating rotating angle of camera
KR101620580B1 (en) Method and system for dectecting run
CN101887330B (en) Electronic equipment as well as single-camera object-positioning device and method thereof
CN103600353A (en) Material edge detecting method of tooling
CN105808019B (en) Contact coordinate detection method for infrared touch screen
CN107122084B (en) Method and device for identifying touch operation on infrared touch screen and terminal equipment
CN103513826A (en) Infrared touch screen scanning method
US10379677B2 (en) Optical touch device and operation method thereof
TW201415378A (en) Optical navigation method and optical navigation apparatus

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