CN106293198A - Auxiliary revises the method for infrared touch point - Google Patents

Auxiliary revises the method for infrared touch point Download PDF

Info

Publication number
CN106293198A
CN106293198A CN201610595715.5A CN201610595715A CN106293198A CN 106293198 A CN106293198 A CN 106293198A CN 201610595715 A CN201610595715 A CN 201610595715A CN 106293198 A CN106293198 A CN 106293198A
Authority
CN
China
Prior art keywords
infrared
coordinate points
axis
preset value
distance
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
CN201610595715.5A
Other languages
Chinese (zh)
Other versions
CN106293198B (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 CN201610595715.5A priority Critical patent/CN106293198B/en
Publication of CN106293198A publication Critical patent/CN106293198A/en
Application granted granted Critical
Publication of CN106293198B publication Critical patent/CN106293198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)
  • Position Input By Displaying (AREA)

Abstract

The method that the open auxiliary of the present invention revises infrared touch point, including: 1, perform infrared touch scanning, the voltage AD value between record infrared discharge lamps and infrared receiver lamp;2, according to the voltage AD value between voltage AD value and the infrared receiver lamp of infrared discharge lamps, calculate the coordinate points blocking a position of touch screen;3, judge according to the distance blocked between position a little that this blocks a position and adjacent last time, in the case of this distance is more than the first preset value, it is determined that for discontinuous touch, this is blocked the coordinate points of a position as new coordinate points, and directly perform 5;In the case of this distance is less than the first preset value, it is determined that for touching continuously, perform 4;4, in the case of this distance is more than the second preset value, calculate new coordinate points;Otherwise, this is blocked the coordinate points of a position as new coordinate points;5, update the position revising infrared touch point.This invention achieves the auxiliary correction of infrared touch point.

Description

Auxiliary revises the method for infrared touch point
Technical field
The present invention relates to the position correction field of infrared touch panel, in particular it relates to auxiliary revises the side of infrared touch point Method.
Background technology
Existing a kind of infrared touch panel: its infrared light board is provided with emission lamp and receives lamp, its emission lamp and reception lamp are one by one Corresponding.The control of the controlled device of each transmitting tube, can open or close any time;Each pipe that receives is sent out with one Penetrate pipe alignment, each control receiving the controlled device of pipe, can open any time or close.
This infrared touch panel, owing to the distance between two lamps is relatively big, when touch objects moves very small distance, Bu Huiyin Playing the change of touch objects both sides scan lamp AD value, touch point coordinate will not change.Therefore, when touching continuously, last Touch coordinate and next time touch coordinate can produce jumping characteristic change, and impact touches comfort level.
Summary of the invention
It is an object of the invention to provide a kind of method assisting and revising infrared touch point, this auxiliary correction infrared touch point Method overcomes touch screen of the prior art when touching continuously, and last touch coordinate and next time touch coordinate can produce Jumping characteristic changes, the problem that impact touches comfort level, it is achieved that the auxiliary correction of infrared touch point.
To achieve these goals, the invention provides a kind of method assisting and revising infrared touch point, the method includes:
Step 1, performs infrared touch scanning, the voltage AD value between record infrared discharge lamps and infrared receiver lamp;
Step 2, according to the voltage AD value between voltage AD value and the infrared receiver lamp of infrared discharge lamps, calculates touch screen Block the coordinate points of a position;
Step 3, judges according to the distance blocked between position a little that this blocks a position and adjacent last time,
In the case of this distance is more than the first preset value, it is determined that for discontinuous touch, this is blocked the seat of a position Punctuate is as new coordinate points, and directly performs step 5;
In the case of this distance is less than the first preset value, it is determined that for touching continuously, perform step 4;
Step 4, in the case of this distance is more than the second preset value, calculates new coordinate points;
In the case of this distance is less than the second preset value, this is blocked the coordinate points of a position as new coordinate Point;
Step 5, updates the position revising infrared touch point, to the new coordinate points of System Reports correction;
Described first preset value is more than described second preset value.
Preferably, in step 1, X-axis and Y-axis are respectively provided with infrared discharge lamps and infrared receiver lamp, each infrared The corresponding infrared receiver lamp of emission lamp.
Preferably, in step 2, the coordinate points blocking a position of touch screen is calculated according to equation below;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, Xst and Xend respectively blocks first place in the X-axis a little blocked and put and tail Position;
Ycur is that Y-axis blocks a position, Yst and Yend respectively blocks first place in the Y-axis a little blocked and put and tail position.
Preferably, in step 4, new coordinate points is calculated by equation below:
Xnew=Xlast+K* (Xcur-Xlast);
Ynew=Ylast+K* (Ycur-Ylast);
Wherein, K is preset ratio coefficient;Xlast is the coordinate points of the last X-axis blocking position a little;Ylast is The coordinate points of the last Y-axis blocking position a little;
Xnew is the new coordinate points of X-axis;Ynew is the new coordinate points of Y-axis.
Preferably, described first preset value is 1.0;
Described second preset value is 0.05.
Be blocked when the present invention is by writing scan position, calculates true point coordinates position.When occurring to touch, minute book The coordinate of secondary touch, compares this touch coordinate and the distance of touch coordinate last time, when this distance is less than the first preset value, it is judged that Occur to touch continuously.If it occur that touch continuously, by this touch coordinate of auxiliary control method correction.Implementation method of the present invention May be used for single-touch and multiple point touching, it is achieved method is simple, it is easy to promote.
Other features and advantages of the present invention will be described in detail in detailed description of the invention part subsequently.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and constitutes the part of description, with following tool Body embodiment is used for explaining the present invention together, but is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the mounting structure schematic diagram of a kind of infrared discharge lamps that the present invention is described;
Fig. 2 is a kind of flow chart assisting the method revising infrared touch point that the present invention is described;And
Fig. 3 is that state simulation schematic diagram when a kind of touch screen of the present invention touches is described.
Detailed description of the invention
Below in conjunction with accompanying drawing, the detailed description of the invention of the present invention is described in detail.It should be appreciated that this place is retouched The detailed description of the invention stated is merely to illustrate and explains the present invention, is not limited to the present invention.
The present invention provides a kind of method assisting and revising infrared touch point, and the method needs infrared touch panel.Infrared touch The X-axis of screen and Y-axis are provided with emission lamp and receive lamp, its emission lamp and receive lamp one_to_one corresponding, and infrared discharge lamps and reception lamp Can open and close any time, the method includes:
Step 1, performs infrared touch scanning, the voltage AD value between record infrared discharge lamps and infrared receiver lamp;
Step 2, according to the voltage AD value between voltage AD value and the infrared receiver lamp of infrared discharge lamps, calculates touch screen Block the coordinate points of a position;
Step 3, judges according to the distance blocked between position a little that this blocks a position and adjacent last time,
In the case of this distance is more than the first preset value, it is determined that for discontinuous touch, this is blocked the seat of a position Punctuate is as new coordinate points, and directly performs step 5;
In the case of this distance is less than the first preset value, it is determined that for touching continuously, perform step 4;
Step 4, in the case of this distance is more than the second preset value, calculates new coordinate points;
In the case of this distance is less than the second preset value, this is blocked the coordinate points of a position as new coordinate Point;
Step 5, updates the position revising infrared touch point, to the new coordinate points of System Reports correction;
Described first preset value is more than described second preset value.
In the prior art, when occurring to touch continuously, owing to the distance between two lamps is relatively big, last touch coordinate Touch coordinate can produce jumping characteristic change next time, and impact touches comfort level.The present invention is by simple method correction contact Coordinate, allows contact produce seriality, solves the jumping characteristic change of contact, adds and touch comfort continuously.This method is simple Reliably, it is easy to promote, may be used for multiple point touching field simultaneously.
In a kind of detailed description of the invention of the present invention, in order to realize the determination of position, in step 1, in X-axis and Y-axis On be respectively provided with infrared discharge lamps and infrared receiver lamp, the corresponding infrared receiver lamp of each infrared discharge lamps.
In this kind of embodiment, in step 2, the coordinate blocking a position of touch screen is calculated according to equation below Point;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, Xst and Xend respectively blocks first place in the X-axis a little blocked and put and tail Position;
Ycur is that Y-axis blocks a position, Yst and Yend respectively blocks first place in the Y-axis a little blocked and put and tail position.
By above-mentioned embodiment, it is possible to achieve the calculating of the coordinate points blocking a position of touch screen, position will be blocked Put the coordinate figure position being converted to reality.
In this kind of embodiment, in step 4, new coordinate points is calculated by equation below:
Xnew=Xlast+K* (Xcur-Xlast);
Ynew=Ylast+K* (Ycur-Ylast);
Wherein, K is preset ratio coefficient;Xlast is the coordinate points of the last X-axis blocking position a little;Ylast is The coordinate points of the last Y-axis blocking position a little;
Xnew is the new coordinate points of X-axis;Ynew is the new coordinate points of Y-axis.
By above-mentioned embodiment, the position of new coordinate points can be calculated, in the case of for touching continuously, permissible By independently modifying so that the coordinate points position of its reality is more nearly actual value.Wherein, the span of K is 1 to 5 Between
In this kind of embodiment, described first preset value is 1.0;(the adjacent lighting of infrared lamp away from for 1.0).
Described second preset value is 0.05.
In a kind of detailed description of the invention of the present invention, it is illustrated in figure 2 auxiliary infrared touch panel contact coordinate correction system System control flow chart, S1 control chip MCU starts infrared touch scanning, starts X-axis and all infrared discharge lamps of Y-axis successively and connect Receive lamp, record the every pair of infrared lamp voltage AD value through opto-electronic conversion, enter step S2.As it is shown on figure 3, S2 is according to X-axis and Y-axis The AD value of infrared lamp, with the infrared lamp AD threshold ratio set relatively, calculate touch screen X-axis and block position Xst and Xend;Y-axis Block position Yst and Yend.Enter step S3, calculate contact X-axis coordinate Xcur=(Xst+Xend)/2;Y-axis blocks a position Put Ycur=(Yst+Yend)/2, enter step S4.Note infrared lamp consecutive points distance is 1.0, calculates current touch point coordinates cur With distance Dist of last touch point coordinate last, if Dist is more than 1.0 (infrared lamp consecutive points distance is), it is judged that this Touch as discontinuous touch, new coordinate points new=cur, entrance step S7;Otherwise it is assumed that this touches as touching continuously, enter Enter step S5.This touches as touching continuously, calculates new coordinate points, touches with last again according to touch point coordinate cur Distance Dist of point coordinates last, if Dist is more than 0.05, (infrared lamp consecutive points distance is 1.0, enters step S6.Otherwise, New coordinate points new=cur, enters step S7 and calculates new coordinate points Xnew=Xlast+K* of X-axis (Xcur-Xlast) respectively; Coordinate points Ynew=Ylast+K* (Ycur-Ylast) that Y-axis is new, wherein, K is proportionality coefficient, needs to touch test by reality Regulation Proportional coefficient K value size, enters step S7, updates last coordinate points last=new;Coordinate to System Reports correction Point new.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention is not limited to above-mentioned reality Execute the detail in mode, in the technology concept of the present invention, technical scheme can be carried out multiple letter Monotropic type, these simple variant belong to protection scope of the present invention.
It is further to note that each the concrete technical characteristic described in above-mentioned detailed description of the invention, at not lance In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the present invention to various can The compound mode of energy illustrates the most separately.
Additionally, combination in any can also be carried out between the various different embodiment of the present invention, as long as it is without prejudice to this The thought of invention, it should be considered as content disclosed in this invention equally.

Claims (5)

1. one kind assists the method revising infrared touch point, it is characterised in that the method includes:
Step 1, performs infrared touch scanning, the voltage AD value between record infrared discharge lamps and infrared receiver lamp;
Step 2, according to the voltage AD value between voltage AD value and the infrared receiver lamp of infrared discharge lamps, calculates blocking of touch screen The coordinate points of some position;
Step 3, judges according to the distance blocked between position a little that this blocks a position and adjacent last time,
In the case of this distance is more than the first preset value, it is determined that for discontinuous touch, this is blocked the coordinate points of a position As new coordinate points, and directly perform step 5;
In the case of this distance is less than the first preset value, it is determined that for touching continuously, perform step 4;
Step 4, in the case of this distance is more than the second preset value, calculates new coordinate points;
In the case of this distance is less than the second preset value, this is blocked the coordinate points of a position as new coordinate points;
Step 5, updates the position revising infrared touch point, to the new coordinate points of System Reports correction;
Described first preset value is more than described second preset value.
The method that auxiliary the most according to claim 1 revises infrared touch point, it is characterised in that in step 1, in X-axis On infrared discharge lamps and infrared receiver lamp are set, and infrared discharge lamps and infrared receiver lamp, each infrared emission are set in Y-axis The corresponding infrared receiver lamp of lamp.
The method that auxiliary the most according to claim 2 revises infrared touch point, it is characterised in that in step 2, according to such as Lower formula calculates the coordinate points blocking a position of touch screen;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, Xst and Xend respectively blocks first place in the X-axis a little blocked and put and tail position Put;
Ycur is that Y-axis blocks a position, Yst and Yend respectively blocks first place in the Y-axis a little blocked and put and tail position.
The method that auxiliary the most according to claim 3 revises infrared touch point, it is characterised in that in step 4, by such as The coordinate points that the calculating of lower formula is new:
Xnew=Xlast+K* (Xcur-Xlast);
Ynew=Ylast+K* (Ycur-Ylast);
Wherein, K is preset ratio coefficient;Xlast is the coordinate points of the last X-axis blocking position a little;Ylast is upper one The coordinate points of the secondary Y-axis blocking position a little;
Xnew is the new coordinate points of X-axis;Ynew is the new coordinate points of Y-axis.
The method that auxiliary the most according to claim 3 revises infrared touch point, it is characterised in that described first preset value is 1.0;Wherein, 1.0 be adjacent two adjacent lightings of infrared lamp away from;
Described second preset value is 0.05;Wherein, 0.05 be adjacent two adjacent lightings of infrared lamp away from 0.05 times.
CN201610595715.5A 2016-07-27 2016-07-27 The method of auxiliary amendment infrared touch point Active CN106293198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610595715.5A CN106293198B (en) 2016-07-27 2016-07-27 The method of auxiliary amendment infrared touch point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610595715.5A CN106293198B (en) 2016-07-27 2016-07-27 The method of auxiliary amendment infrared touch point

Publications (2)

Publication Number Publication Date
CN106293198A true CN106293198A (en) 2017-01-04
CN106293198B CN106293198B (en) 2019-03-15

Family

ID=57652538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610595715.5A Active CN106293198B (en) 2016-07-27 2016-07-27 The method of auxiliary amendment infrared touch point

Country Status (1)

Country Link
CN (1) CN106293198B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067775A (en) * 2007-06-14 2007-11-07 吴琼 Scanning method for trapping and tracking moving target on infrared touch screen
CN101984393A (en) * 2010-11-26 2011-03-09 中航华东光电有限公司 Method for improving precision of infrared touch screen
CN102193690A (en) * 2011-05-31 2011-09-21 中航华东光电有限公司 Infrared touch screen and multi-touch positioning method thereof
EP2390763A2 (en) * 2010-05-24 2011-11-30 Samsung Electronics Co., Ltd. Pointing device and display apparatus
CN102289330A (en) * 2011-09-29 2011-12-21 中航华东光电有限公司 Display with infrared touch panel and method for judging touch points thereof
US20130147765A1 (en) * 2011-12-08 2013-06-13 Pixart Imaging Inc. Optical touch device, and light source assembly and display module thereof
CN105202380A (en) * 2014-06-24 2015-12-30 欧普照明股份有限公司 LED light-emitting module and lamp with same
CN105404433A (en) * 2015-12-04 2016-03-16 青岛海信电器股份有限公司 Touch identification method and display apparatus based on infrared touch screen
CN105426022A (en) * 2015-12-24 2016-03-23 深圳市东方中原电子科技有限公司 Infrared touch screen and multi-point positioning method based on the infrared touch screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067775A (en) * 2007-06-14 2007-11-07 吴琼 Scanning method for trapping and tracking moving target on infrared touch screen
EP2390763A2 (en) * 2010-05-24 2011-11-30 Samsung Electronics Co., Ltd. Pointing device and display apparatus
CN101984393A (en) * 2010-11-26 2011-03-09 中航华东光电有限公司 Method for improving precision of infrared touch screen
CN102193690A (en) * 2011-05-31 2011-09-21 中航华东光电有限公司 Infrared touch screen and multi-touch positioning method thereof
CN102289330A (en) * 2011-09-29 2011-12-21 中航华东光电有限公司 Display with infrared touch panel and method for judging touch points thereof
US20130147765A1 (en) * 2011-12-08 2013-06-13 Pixart Imaging Inc. Optical touch device, and light source assembly and display module thereof
CN105202380A (en) * 2014-06-24 2015-12-30 欧普照明股份有限公司 LED light-emitting module and lamp with same
CN105404433A (en) * 2015-12-04 2016-03-16 青岛海信电器股份有限公司 Touch identification method and display apparatus based on infrared touch screen
CN105426022A (en) * 2015-12-24 2016-03-23 深圳市东方中原电子科技有限公司 Infrared touch screen and multi-point positioning method based on the infrared touch screen

Also Published As

Publication number Publication date
CN106293198B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
KR101565451B1 (en) Synchronous light pen electronic whiteboard system
CN104940005A (en) Indoor intelligent navigation crutch
US20170092176A1 (en) Driving Method for Display Panel, Driving Circuit and Display Device
CN104182092B (en) Infrared touch screen positioning method and system
US20100045636A1 (en) Error detecting apparatus and method, and computer program
EP3086223A1 (en) Suspended input method, apparatus, and computer storage medium
CN106919174A (en) A kind of bootstrap technique of intelligently guiding robot
CN106293198A (en) Auxiliary revises the method for infrared touch point
CN103699276A (en) Infrared geminate transistor touch screen scanning method and system
CN103699273B (en) The touch point recognition methods of infrared touch panel and system thereof
KR102419041B1 (en) System for controlling the illumination of user device in accordance with the inner illumination of a car
CN108920076A (en) A kind of operation recognition methods of user gesture and identifying system
CN104097574A (en) Image display method and system
CN106527775A (en) Interactive device and trajectory generation method and device
JP6233072B2 (en) Lighting control apparatus, lighting system, lighting control method and program
CN104978078A (en) Touch point recognition method based on infrared touch screen
HK1059459A1 (en) Bit using excavator
JPWO2014115239A1 (en) Signal recognition device, control method, program, and storage medium
JP3262692B2 (en) Coordinate input device
US8952938B2 (en) Method for compensating position of pointing device and pointing device employing the same
CN101441543A (en) Infrared positioning method and implementing apparatus thereof
CN106055175A (en) Infrared touch screen scanning method and device, and touch screen system
KR200494444Y1 (en) Multifunctional voice guidance system using voice induction machine
CN104571730A (en) Acquiring method of touch point, infrared touch device and display devic
CN105005416B (en) Reducing sensor degradation leads to the method for precision of infrared touch screen error

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant