CN106293198B - Auxiliary method for correcting infrared touch points - Google Patents
Auxiliary method for correcting infrared touch points Download PDFInfo
- Publication number
- CN106293198B CN106293198B CN201610595715.5A CN201610595715A CN106293198B CN 106293198 B CN106293198 B CN 106293198B CN 201610595715 A CN201610595715 A CN 201610595715A CN 106293198 B CN106293198 B CN 106293198B
- Authority
- CN
- China
- Prior art keywords
- infrared
- coordinate points
- axis
- touch
- preset value
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [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/03547—Touch pads, in which fingers can move on a surface
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0421—Digitisers, 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 present invention discloses auxiliary amendment infrared touch point, comprising: 1, infrared touch scanning is executed, the voltage AD value between infrared discharge lamps and infrared receiver lamp is recorded;2, according to the voltage AD value between the voltage AD value and infrared receiver lamp of infrared discharge lamps, calculate the coordinate points for blocking a position of touch screen;3, a position is blocked according to this and the distance between the position of adjacent last time blocked a little is judged, in the case where the distance is greater than the first preset value, is determined as discontinuous touch, this is blocked into the coordinate points of position as new coordinate points, and directly executes 5;In the case where the distance is less than the first preset value, it is determined as continuous touch, executes 4;4, in the case where the distance is greater than the second preset value, calculate new coordinate points;Otherwise, this is blocked into the coordinate points of position as new coordinate points;5, update the position of amendment infrared touch point.The invention realizes the auxiliary amendment of infrared touch point.
Description
Technical field
The present invention relates to the position correction fields of infrared touch panel, and in particular, to the side of auxiliary amendment infrared touch point
Method.
Background technique
A kind of existing infrared touch panel: its infrared light board is equipped with emission lamp and receives lamp, and emission lamp and reception lamp are one by one
It is corresponding.Each transmitting tube can be turned on or off by the control of controller with any time;Each reception pipe and a hair
Pipe alignment is penetrated, each reception pipe can be turned on or off by the control of controller with any time.
This infrared touch panel, since the distance between two lamps are larger, when the mobile very little of touch objects apart from when, Bu Huiyin
The variation of touch objects two sides scan lamp AD value is played, touch point coordinate will not change.Therefore, last in continuous touch
Touch coordinate and next time touch coordinate can generate jumping characteristic variation, influence to touch comfort level.
Summary of the invention
The object of the present invention is to provide a kind of method of auxiliary amendment infrared touch point, which corrects infrared touch point
Method overcomes touch screen in the prior art in continuous touch, and last touch coordinate and next time touch coordinate can generate
Jumping characteristic variation, influences the problem of touching comfort level, realizes the auxiliary amendment of infrared touch point.
To achieve the goals above, the present invention provides a kind of methods of auxiliary amendment infrared touch point, this method comprises:
Step 1, infrared touch scanning is executed, the voltage AD value between infrared discharge lamps and infrared receiver lamp is recorded;
Step 2, according to the voltage AD value between the voltage AD value of infrared discharge lamps and infrared receiver lamp, touch screen is calculated
Block the coordinate points of a position;
Step 3, position is blocked according to this and the distance between the position of adjacent last time blocked a little is judged,
In the case where the distance is greater than the first preset value, it is determined as discontinuous touch, this is blocked to the seat of position
Punctuate directly executes step 5 as new coordinate points;
In the case where the distance is less than the first preset value, it is determined as continuous touch, executes step 4;
Step 4, in the case where the distance is greater than the second preset value, new coordinate points are calculated;
In the case where the distance is less than the second preset value, this is blocked into the coordinate points of position as new coordinate
Point;
Step 5, the position for updating amendment infrared touch point, to the modified new coordinate points of System Reports;
First preset value is greater than second preset value.
Preferably, in step 1, infrared discharge lamps and infrared receiver lamp are respectively set in X-axis and Y-axis, it is each infrared
Emission lamp corresponds to an infrared receiver lamp.
Preferably, in step 2, the coordinate points for blocking a position of touch screen are calculated according to the following formula;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, and Xst and Xend are respectively to block first place in a little blocked X-axis to set and tail
Position;
Ycur is that Y-axis blocks a position, and Yst and Yend are respectively to block first place in a little blocked Y-axis to set and tail position.
Preferably, in step 4, new coordinate points are calculated by following formula:
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 for blocking position a little;Ylast is
The coordinate points of the last Y-axis for blocking position a little;
Xnew is the new coordinate points of X-axis;Ynew is the new coordinate points of Y-axis.
Preferably, first preset value is 1.0;
Second preset value is 0.05.
The present invention is blocked position when passing through writing scan, calculates true point coordinate position.When touching, minute book
The coordinate of secondary touch compares the distance of this touch coordinate and last time touch coordinate, when the distance is less than the first preset value, judgement
Continuous touch occurs.In case of continuous touch, this touch coordinate is corrected by auxiliary control method.Implementation method of the present invention
It can be used for single-touch and multiple point touching, implementation method is simple, easy to spread.
Other features and advantages of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, and constitutes part of specification, with following tool
Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the mounting structure schematic diagram for illustrating a kind of infrared discharge lamps of the invention;
Fig. 2 is the flow chart for illustrating a kind of method of auxiliary amendment infrared touch point of the invention;And
Fig. 3 is the state simulation schematic diagram illustrated when a kind of touch screen of the invention touches.
Specific embodiment
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched
The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
The present invention provides a kind of method of auxiliary amendment infrared touch point, and this method needs infrared touch panel.Infrared touch
The X-axis and Y-axis of screen are equipped with emission lamp and reception lamp, and emission lamp and reception lamp correspond, and infrared discharge lamps and reception lamp
It can be opened and closed with any time, this method comprises:
Step 1, infrared touch scanning is executed, the voltage AD value between infrared discharge lamps and infrared receiver lamp is recorded;
Step 2, according to the voltage AD value between the voltage AD value of infrared discharge lamps and infrared receiver lamp, touch screen is calculated
Block the coordinate points of a position;
Step 3, position is blocked according to this and the distance between the position of adjacent last time blocked a little is judged,
In the case where the distance is greater than the first preset value, it is determined as discontinuous touch, this is blocked to the seat of position
Punctuate directly executes step 5 as new coordinate points;
In the case where the distance is less than the first preset value, it is determined as continuous touch, executes step 4;
Step 4, in the case where the distance is greater than the second preset value, new coordinate points are calculated;
In the case where the distance is less than the second preset value, this is blocked into the coordinate points of position as new coordinate
Point;
Step 5, the position for updating amendment infrared touch point, to the modified new coordinate points of System Reports;
First preset value is greater than second preset value.
In the prior art, when continuous touch occurs, since the distance between two lamps are larger, last touch coordinate
Touch coordinate can generate jumping characteristic variation next time, influence to touch comfort level.The present invention corrects contact by simple method
Coordinate allows contact to generate continuity, solves the jumping characteristic variation of contact, increases continuous touch comfort.This method is simple
Reliably, easy to spread, while can be used for multiple point touching field.
In a kind of specific embodiment of the invention, in order to realize the determination of position, in step 1, in X-axis and Y-axis
On be respectively set infrared discharge lamps and infrared receiver lamp, the corresponding infrared receiver lamp of each infrared discharge lamps.
In this embodiment, in step 2, the coordinate for blocking a position of touch screen is calculated according to the following formula
Point;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, and Xst and Xend are respectively to block first place in a little blocked X-axis to set and tail
Position;
Ycur is that Y-axis blocks a position, and Yst and Yend are respectively to block first place in a little blocked Y-axis to set and tail position.
By above-mentioned embodiment, the calculating of the coordinate points for blocking a position of touch screen may be implemented, position will be blocked
It sets and is converted to actual coordinate value position.
In this embodiment, in step 4, new coordinate points are calculated by following formula:
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 for blocking position a little;Ylast is
The coordinate points of the last Y-axis for 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, it, can be with for continuous touch
By independently modifying, so that its actual coordinate points position is more nearly actual value.Wherein, the value range of K is 1 to 5
Between
In this embodiment, first preset value is 1.0;(the adjacent lighting of infrared lamp away from be 1.0).
Second preset value is 0.05.
In a kind of specific embodiment of the invention, it is illustrated in figure 2 auxiliary infrared touch panel contact coordinate amendment system
System control flow chart, S1 control chip MCU starting infrared touch scanning, successively start X-axis and all infrared discharge lamps of Y-axis and connect
Lamp is received, voltage AD value of each pair of infrared lamp Jing Guo photoelectric conversion is recorded, enters step S2.As shown in figure 3, S2 is according to X-axis and Y-axis
Infrared lamp AD value, the infrared lamp AD threshold value comparison with setting, calculate touch screen X-axis block position an Xst and Xend;Y-axis
Block position a Yst and Yend.S3 is entered step, is calculated contact X axis coordinate Xcur=(Xst+Xend)/2;Y-axis blocks point
Ycur=(Yst+Yend)/2 is set, S4 is entered step.Remember that infrared lamp consecutive points distance is 1.0, calculates current touch point coordinate cur
This touching is judged if Dist is greater than 1.0 (the adjacent lightings of infrared lamp away from) with the distance Dist of last touch point coordinate last
It touches as discontinuous touch, new coordinate points new=cur enters step S7;Otherwise it is assumed that it is continuous touch that this, which is touched, enter
Step S5.It is continuous touch that this, which is touched, calculates new coordinate points, again according to touch point coordinate cur and last touch point
The distance Dist of coordinate last enters step S6 if Dist is greater than 0.05 (the adjacent lighting of infrared lamp away from be 1.0).Otherwise, newly
Coordinate points new=cur, enter step S7 and calculate separately the new coordinate points Xnew=Xlast+K* (Xcur-Xlast) of X-axis;Y
The new coordinate points Ynew=Ylast+K* (Ycur-Ylast) of axis, wherein K is proportionality coefficient, needs to touch test by practical
Proportional coefficient K value size is adjusted, S7 is entered step, updates last coordinate points last=new;To the modified coordinate of System Reports
Point new.
It is described the prefered embodiments of the present invention in detail above in conjunction with attached drawing, still, the present invention is not limited to above-mentioned realities
The detail in mode is applied, within the scope of the technical concept of the present invention, a variety of letters can be carried out to technical solution of the present invention
Monotropic type, these simple variants all belong to the scope of protection of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the present invention to it is various can
No further explanation will be given for the combination of energy.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally
The thought of invention, it should also be regarded as the disclosure of the present invention.
Claims (5)
1. a kind of method of auxiliary amendment infrared touch point, which is characterized in that this method comprises:
Step 1, infrared touch scanning is executed, the voltage AD value between infrared discharge lamps and infrared receiver lamp is recorded;
Step 2, according to the voltage AD value between the voltage AD value of infrared discharge lamps and infrared receiver lamp, blocking for touch screen is calculated
The coordinate points of point position;
Step 3, position is blocked according to this and the distance between the position of adjacent last time blocked a little is judged,
In the case where the distance is greater than the first preset value, it is determined as discontinuous touch, this is blocked to the coordinate points of position
As new coordinate points, and directly execute step 5;
In the case where the distance is less than the first preset value, it is determined as continuous touch, executes step 4;
Step 4, in the case where the distance is greater than the second preset value, new coordinate points are calculated;
In the case where the distance is less than the second preset value, this is blocked into the coordinate points of position as new coordinate points;
Step 5, the position for updating amendment infrared touch point, to the modified new coordinate points of System Reports;
First preset value is greater than second preset value.
2. the method for auxiliary amendment infrared touch point according to claim 1, which is characterized in that in step 1, in X-axis
Upper setting infrared discharge lamps and infrared receiver lamp, and infrared discharge lamps and infrared receiver lamp, each infrared emission are set in Y-axis
Lamp corresponds to an infrared receiver lamp.
3. the method for auxiliary amendment infrared touch point according to claim 2, which is characterized in that in step 2, according to such as
Lower formula calculates the coordinate points for blocking a position of touch screen;
Xcur=(Xst+Xend)/2;Ycur=(Yst+Yend)/2;
Wherein, Xcur is that X-axis blocks a position, and Xst and Xend are respectively to block first place in a little blocked X-axis to set and tail position
It sets;
Ycur is that Y-axis blocks a position, and Yst and Yend are respectively to block first place in a little blocked Y-axis to set and tail position.
4. the method for auxiliary amendment infrared touch point according to claim 3, which is characterized in that in step 4, by such as
Lower formula calculates new coordinate points:
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 for blocking position a little;Ylast is upper one
The coordinate points of the secondary Y-axis for blocking position a little;
Xnew is the new coordinate points of X-axis;Ynew is the new coordinate points of Y-axis.
5. the method for auxiliary amendment infrared touch point according to claim 3, which is characterized in that first preset value is
1.0;Wherein, 1.0 for the adjacent lighting of two neighboring infrared lamp away from;
Second preset value is 0.05;Wherein, 0.05 for the adjacent lighting of two neighboring infrared lamp away from 0.05 times.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610595715.5A CN106293198B (en) | 2016-07-27 | 2016-07-27 | Auxiliary method for correcting infrared touch points |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610595715.5A CN106293198B (en) | 2016-07-27 | 2016-07-27 | Auxiliary method for correcting infrared touch points |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106293198A CN106293198A (en) | 2017-01-04 |
| CN106293198B true 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 | Auxiliary method for correcting infrared touch points |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106293198B (en) |
Citations (8)
| 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 |
| 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 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI526900B (en) * | 2011-12-08 | 2016-03-21 | 原相科技股份有限公司 | Optical touch apparatus, and light source unit and display module for the same |
-
2016
- 2016-07-27 CN CN201610595715.5A patent/CN106293198B/en active Active
Patent Citations (8)
| 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 |
| 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 |
|---|---|
| CN106293198A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104182143B (en) | The back light brightness regulating method and system of a kind of mobile terminal | |
| Kohatsu-Higa et al. | Weak rate of convergence of the Euler–Maruyama scheme for stochastic differential equations with non-regular drift | |
| US20160029462A1 (en) | Method for the relative activation of a luminaire, control unit and lighting system | |
| US20140232664A1 (en) | Synchronized touch input recognition | |
| JP2009252233A (en) | Capacitive touch control device and data transmission method applied to the device | |
| CN106293198B (en) | Auxiliary method for correcting infrared touch points | |
| US20160308447A1 (en) | Control circuit, control method and flyback converter of primary-side feedback control thereof | |
| US9363113B2 (en) | Method and apparatus for canceling a peak of an input signal | |
| US20180304815A1 (en) | Intelligent light reflection adjusting device, adjusting method thereof and anti-dazzle rearview mirror | |
| KR20220098967A (en) | Apparatus and method for controlling screen brightness of avn system automatically | |
| JP2013182811A (en) | Illumination control apparatus and illumination system | |
| CN106103188B (en) | Vehicle control system and its method of operating | |
| CN102571021B (en) | Infrared receiving circuit for automatically adjusting gain of band-pass filter | |
| CN204539537U (en) | A kind of gesture controls illuminator | |
| CN105808054A (en) | Control method and control device for control icon, terminal | |
| Pekcan | Nonlocal coupled HI-MKdV systems | |
| CN104978078B (en) | A kind of touch point recognition methods based on infrared touch screen | |
| CN111488418B (en) | Vehicle posture correction method, device, equipment and storage medium | |
| US8952938B2 (en) | Method for compensating position of pointing device and pointing device employing the same | |
| CN108021290A (en) | A kind of infrared touch-control scan method | |
| US20190385501A1 (en) | Scan driver and a driving method of scan driver | |
| CN105991110A (en) | Clock switching method and clock switching device | |
| CN110207227B (en) | Gesture recognition control circuit for range hood and method thereof | |
| CN106550517A (en) | A kind of method and terminal of control indicator lamp brightness | |
| CN106452418B (en) | A kind of non-overlapping switching circuit of multichannel |
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 | ||
| EE01 | Entry into force of recordation of patent licensing contract | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20170104 Assignee: Anhui AVIC Display Technology Co.,Ltd. Assignor: Avic Huadong Photoelectric Contract record no.: X2025980020425 Denomination of invention: Method for assisting in correcting infrared touch points Granted publication date: 20190315 License type: Common License Record date: 20250905 |