CN102866808A - Method and system for self-correcting of specially-shaped touch screen - Google Patents

Method and system for self-correcting of specially-shaped touch screen Download PDF

Info

Publication number
CN102866808A
CN102866808A CN2012103769327A CN201210376932A CN102866808A CN 102866808 A CN102866808 A CN 102866808A CN 2012103769327 A CN2012103769327 A CN 2012103769327A CN 201210376932 A CN201210376932 A CN 201210376932A CN 102866808 A CN102866808 A CN 102866808A
Authority
CN
China
Prior art keywords
screen
points
touch
point
special
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
CN2012103769327A
Other languages
Chinese (zh)
Other versions
CN102866808B (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.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji University
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 Shanghai Dianji University filed Critical Shanghai Dianji University
Priority to CN201210376932.7A priority Critical patent/CN102866808B/en
Publication of CN102866808A publication Critical patent/CN102866808A/en
Application granted granted Critical
Publication of CN102866808B publication Critical patent/CN102866808B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a method and a system for self-correcting of a specially-shaped touch screen. The method includes the following steps of selecting six points from four corners of the specially-shaped touch screen and central positions of an upper edge and a lower edge, and setting the horizontal distance between two points positioned at an upper side corner, the horizontal distance between two points of a lower side corner and the perpendicular distance of two points of the central positions of the upper and lower edges; carrying out a six-point correction testing for respectively acquiring AD values of the six points; sampling an arbitrary point on the screen and acquiring the position of the arbitrary point away from a central point by calculating through a calculation formula using the AD values of the six points; and translating the acquired position of the arbitrary point away from the central point to acquire a coordinate of the arbitrary point in an operating system according to the coordinate position of the geometric center of the touch screen on a display screen. The method and the system for self-correcting of the specially-shaped touch screen are accurate in correction and positioning accuracy of the specially-shaped touch screen can be improved.

Description

Abnormity touch-screen automatic correcting method and system
Technical field
The present invention relates to a kind of touch-screen automatic correcting method and system, particularly relate to a kind of special-shaped touch-screen automatic correcting method and system.
Background technology
The advantages such as touch-screen is a kind of common equipment that substitutes keyboard, mouse in present electronic device terminal and the human-computer interaction interface, and it has easy and simple to handle, directly perceived, and bearing accuracy is higher, and functional definition is convenient, and software programming is flexible.
General touch-screen input system forms by touching detection part, touch screen controller and microcontroller; Touch detection part and be installed in the indicator screen front, for detection of user touch location, send touch screen controller after the acceptance; And the Main Function of touch screen controller is to receive touch information from touch point detection device, and converts it to contact coordinate. give again microcontroller. and its can receive simultaneously the order that microcontroller sends and be carried out.
Based on the difference of principle, touch-screen can be divided into resistance-type, condenser type, surface acoustic wave type etc.Wherein resistance-type is to use wider a kind of touch-screen, and its principle is the coordinate that obtains the contact by measuring horizontal and vertical resistance value.
Touch-screen commonly used all is the standard rectangle, and orientation range is symmetrical, and the orientation range amplitude approaches the full width of cloth.Nonetheless, want the bearing accuracy that reaches higher, still need before use to enter the self-correcting program, demarcate through the physical coordinates at the angle of 3 to 4 points, for example, suppose it is 6.4 inches screens, 640X480 resolution, then their pixel coordinate is respectively (20,20), (20,460), (620,460) and (620,20).Like this, the use method of undetermined coefficients just can be calculated the translation relation between the coordinate system, and then can further operate, but is not that each use all will be proofreaied and correct, as long as coordinate does not drift about, does not just need again to proofread and correct.So after once proofreading and correct, as long as those several parameters are preserved, directly use the parameter that preserved last time to get final product when need next time.
Yet, for special-shaped touch-screen, because its scrambling if adopt said method often can not accurately proofread and correct, therefore can not adopt the automatic correcting method of regular touch-screen.
Summary of the invention
The deficiency that exists for overcoming above-mentioned prior art, the present invention's purpose is to provide a kind of special-shaped touch-screen automatic correcting method and system, and it is corrected accurately, can improve the bearing accuracy of special-shaped touch-screen.
For reaching above-mentioned and other purpose, the invention provides a kind of special-shaped touch-screen automatic correcting method, comprise the steps:
In four corners of this abnormity touch-screen and up and down six points are selected in the edge center position, and set the flat distance of the WAWQ that is positioned at the upside corner and be a, and the flat distance of the WAWQ in downside corner is b, and the vertical range of 2 of edge center positions is c up and down;
Carry out the test of six point calibrations, obtain respectively the AD value of these six points;
Sampled in arbitrfary point on the screen, and utilize the AD value of these six points to calculate the position of this arbitrfary point distance center point by a computing formula; And
According to the coordinate position of touch-screen geometric center in display screen, translation is done in the position of this arbitrfary point distance center point of obtain obtain the coordinate of this arbitrfary point in operating system.
Further, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT>(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
Further, the numerical range of a, b, c is 0-4095.
Further, need to adjust a according to the actual dot matrix of screen, b, c numerical value, numerical value will meet screen proportion.
Further, x1, y1, x2, y2...., x6, the expression scope of y6 is 0-4095.
For reaching above-mentioned and other purpose, the present invention also provides a kind of special-shaped touch-screen self correcting system, comprises at least:
Check point is selected module, reach up and down six points of edge center position selection in four corners of this abnormity touch-screen, and set the flat distance of the WAWQ be positioned at the upside corner and be a, the flat distance of the WAWQ in downside corner is b, the vertical range of 2 of edge center positions is up and down;
The AD value is obtained module, carries out the test of six point calibrations, obtains respectively six groups of AD values of these six points;
The sampling module is used for being sampled in arbitrfary point on this abnormity touch-screen;
Calculate module, calculate the position of this arbitrfary point distance center point according to the AD value of these six points by a computing formula; And
The translation module is done translation according to the coordinate position of touch-screen geometric center in display screen and is obtained the coordinate of this arbitrfary point in operating system.
Further, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT>(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
Further, the numerical range of a, b, c is 0-4095.
Further, x1, y1, x2, y2...., x6, the expression scope of y6 is 0-4095.
Compared with prior art, a kind of special-shaped touch-screen automatic correcting method of the present invention and system, utilize the AD value of six selected points by the position of the arbitrfary point distance center point of computing formula calculating acquisition sampling, obtain sampled point at the coordinate of operating system by translation, reached the purpose of comparatively accurately proofreading and correct special-shaped touch-screen, made special-shaped touch-screen have higher bearing accuracy.
Description of drawings
Fig. 1 is the flow chart of steps of a kind of special-shaped touch-screen automatic correcting method of the present invention;
Fig. 2 is the front schematic view of the special-shaped touch-screen of preferred embodiment of the present invention;
Fig. 3 is the system architecture diagram of a kind of special-shaped touch-screen self correcting system of the present invention.
Embodiment
Below by specific instantiation and accompanying drawings embodiments of the present invention, those skilled in the art can understand other advantage of the present invention and effect easily by content disclosed in the present specification.The present invention also can be implemented or be used by other different instantiation, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
Fig. 1 is the flow chart of steps of a kind of special-shaped touch-screen automatic correcting method of the present invention.In preferred embodiment of the present invention, special-shaped touch-screen is the resistance-type abnormity touch-screen of trapezoidal shape, and as shown in Figure 1, a kind of special-shaped touch-screen automatic correcting method of the present invention comprises the steps:
Step 101, reach up and down six points of edge center position selection in four corners of this abnormity touch-screen, and it is flat apart from being a to set the WAWQ that is positioned at the upside corner, the flat distance of the WAWQ in downside corner is b, and the vertical range of 2 of edge center positions is c up and down, and Fig. 2 is the front schematic view of the special-shaped touch-screen of preferred embodiment of the present invention, as shown in Figure 2, setting 1,3 horizontal range is a, 2,4 horizontal ranges are b, 5,6 vertical ranges are c, a, b, the numerical range 0-4095 of c, adjust a according to the actual dot matrix needs of screen, b, c numerical value, numerical value will meet screen proportion;
Step 102 is carried out the test of six point calibrations, obtains respectively the AD value of these six points, such as x1, and y1, x2, y2...., x6, y6, the expression scope of these AD values is 0-4095;
Step 103 is sampled to arbitrfary point T on the screen, and the AD value of utilizing these six points calculates the position XT of this arbitrfary point T distance center point by a computing formula, YT, wherein, and XT, the scope of YT is+/-2047, specifically, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT>(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain numerical value (d and a of horizontal width d corresponding to this yT, b meets ratio), and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2].
Step 104, according to the coordinate position X0 of touch-screen geometric center in display screen, Y0 does translation and obtains the coordinate of this arbitrfary point T point in operating system, i.e. X=XT+X0, Y=YT+Y0.
Fig. 3 is the system architecture diagram of a kind of special-shaped touch-screen self correcting system of the present invention.As shown in Figure 3, a kind of special-shaped touch-screen self correcting system of the present invention comprises: check point selects module 301, AD value to obtain module 302, sampling module 303, calculate module 304 and translation module 305.
Wherein check point selects module 301 to reach up and down six points of edge center position selection in four corners of this abnormity touch-screen, and it is flat apart from being a to set the WAWQ that is positioned at the upside corner, the flat distance of the WAWQ in downside corner is b, the vertical range of 2 of edge center positions is c up and down, wherein the numerical range of a, b, c is 0-4095, adjusts a, b according to the actual dot matrix needs of screen, c numerical value, numerical value will meet screen proportion; The AD value is obtained module 302 and is carried out the test of six point calibrations, obtains respectively six groups of AD values of these six points, such as x1, and y1, x2, y2...., x6, y6, the expression scope of these AD values is 0-4095; Sampling module 303 is used for arbitrfary point T on this abnormity touch-screen is sampled; Calculate module 304, calculate the position XT of this arbitrfary point T distance center point according to the AD value of these six points by a computing formula, YT, wherein, and XT, the scope of YT is+/-2047, specifically, this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT>(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain numerical value (d and a of horizontal width d corresponding to this yT, b meets ratio), and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2].
Translation module 305, according to the coordinate position X0 of touch-screen geometric center in display screen, Y0 does translation and obtains the coordinate of T point in operating system, X=XT+X0, Y=YT+Y0.
As seen, the present invention's special-shaped touch-screen automatic correcting method and system, utilize the AD value of six selected points by the position of the arbitrfary point distance center point of computing formula calculating acquisition sampling, obtain sampled point at the coordinate of operating system by translation, reached the purpose of comparatively accurately proofreading and correct special-shaped touch-screen, made special-shaped touch-screen have higher bearing accuracy.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not is used for restriction the present invention.Any those skilled in the art all can be under spirit of the present invention and category, and above-described embodiment is modified and changed.Therefore, the scope of the present invention should be listed such as claims.

Claims (9)

1. a special-shaped touch-screen automatic correcting method comprises the steps:
In four corners of this abnormity touch-screen and up and down six points are selected in the edge center position, and set the flat distance of the WAWQ that is positioned at the upside corner and be a, and the flat distance of the WAWQ in downside corner is b, and the vertical range of 2 of edge center positions is c up and down;
Carry out the test of six point calibrations, obtain respectively the AD value of these six points;
Sampled in arbitrfary point on the screen, and utilize the AD value of these six points to calculate the position of this arbitrfary point distance center point by a computing formula; And
According to the coordinate position of touch-screen geometric center in display screen, translation is done in the position of this arbitrfary point distance center point of obtain obtain the coordinate of this arbitrfary point in operating system.
2. special-shaped touch-screen automatic correcting method as claimed in claim 1 is characterized in that this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT〉(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
3. special-shaped touch-screen automatic correcting method as claimed in claim 2, it is characterized in that: the numerical range of a, b, c is 0-4095.
4. special-shaped touch-screen automatic correcting method as claimed in claim 3 is characterized in that: needs according to the actual dot matrix adjustment of screen a, and b, c numerical value, numerical value will meet screen proportion.
5. special-shaped touch-screen automatic correcting method as claimed in claim 3 is characterized in that: x1, and y1, x2, y2...., x6, the expression scope of y6 is 0-4095.
6. special-shaped touch-screen self correcting system comprises at least:
Check point is selected module, reach up and down six points of edge center position selection in four corners of this abnormity touch-screen, and set the flat distance of the WAWQ be positioned at the upside corner and be a, the flat distance of the WAWQ in downside corner is b, the vertical range of 2 of edge center positions is up and down;
The AD value is obtained module, carries out the test of six point calibrations, obtains respectively six groups of AD values of these six points;
The sampling module is used for being sampled in arbitrfary point on this abnormity touch-screen;
Calculate module, calculate the position of this arbitrfary point distance center point according to the AD value of these six points by a computing formula; And
The translation module is done translation according to the coordinate position of touch-screen geometric center in display screen and is obtained the coordinate of this arbitrfary point in operating system.
7. special-shaped touch-screen self correcting system as claimed in claim 6 is characterized in that this computing formula is:
YT=c*[(yT-y6)-(y5-y6)/2]/(y5-y6);
XT divides three sections calculating:
If (y2+y4)/2<yT<(y1+y3)/2, XT={{[2*yT-(y2+y4) then]/[(y1+y3)-(y2+y4)] } * (b-a)+a}*[2*xT-(x5+x6)]/[x3-x1+x4-x2];
If yT<(y2+y4)/2 or yT〉(y1+y3)/2, then table look-up according to c* (yT-y6)/(y5-y6) numerical value and obtain the numerical value of horizontal width d corresponding to this yT, and XT=d*[2*xT-(x5+x6)]/[x3-x1+x4-x2]; Wherein, x1, y1, x2, y2...., x6, y6 are respectively the AD value of these six points, and XT, YT are the position of this arbitrfary point distance center point.
8. special-shaped touch-screen self correcting system as claimed in claim 7, it is characterized in that: the numerical range of a, b, c is 0-4095.
9. special-shaped touch-screen self correcting system as claimed in claim 8 is characterized in that: x1, and y1, x2, y2...., x6, the expression scope of y6 is 0-4095.
CN201210376932.7A 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen Expired - Fee Related CN102866808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210376932.7A CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210376932.7A CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Publications (2)

Publication Number Publication Date
CN102866808A true CN102866808A (en) 2013-01-09
CN102866808B CN102866808B (en) 2015-07-15

Family

ID=47445705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210376932.7A Expired - Fee Related CN102866808B (en) 2012-09-28 2012-09-28 Method and system for self-correcting of specially-shaped touch screen

Country Status (1)

Country Link
CN (1) CN102866808B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267866A (en) * 2014-09-15 2015-01-07 福建升腾资讯有限公司 Asymmetric touch screen calibrating method and system
CN113257182A (en) * 2021-06-29 2021-08-13 卡莱特云科技股份有限公司 Lamp point position correction method and device in LED display screen correction process
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060007170A1 (en) * 2004-06-16 2006-01-12 Microsoft Corporation Calibration of an interactive display system
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN102221933A (en) * 2011-07-03 2011-10-19 吉林大学 Method for accurately calculating screen coordinates of touch points in distortion projection plane of electronic white board

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060007170A1 (en) * 2004-06-16 2006-01-12 Microsoft Corporation Calibration of an interactive display system
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN102221933A (en) * 2011-07-03 2011-10-19 吉林大学 Method for accurately calculating screen coordinates of touch points in distortion projection plane of electronic white board

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104267866A (en) * 2014-09-15 2015-01-07 福建升腾资讯有限公司 Asymmetric touch screen calibrating method and system
CN104267866B (en) * 2014-09-15 2017-04-12 福建升腾资讯有限公司 Asymmetric touch screen calibrating method and system
CN113257182A (en) * 2021-06-29 2021-08-13 卡莱特云科技股份有限公司 Lamp point position correction method and device in LED display screen correction process
CN113257182B (en) * 2021-06-29 2021-09-17 卡莱特云科技股份有限公司 Lamp point position correction method and device in LED display screen correction process
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen

Also Published As

Publication number Publication date
CN102866808B (en) 2015-07-15

Similar Documents

Publication Publication Date Title
US10234992B2 (en) Force-sensitive touch sensor compensation
US9288373B2 (en) System and method for human computer interaction
US8243047B2 (en) Calibrating apparatus and method
KR102061863B1 (en) Touch sensing device and driving method thereof
US20100220063A1 (en) System and methods for calibratable translation of position
CN105094440B (en) A kind of touch screen anti-fluttering method, system and mobile terminal based on mobile terminal
US10120501B2 (en) Touch implementation method and device and electronic device
CN102866808B (en) Method and system for self-correcting of specially-shaped touch screen
CN111189564A (en) Pressure measuring device
KR102030220B1 (en) Touch panel device and method of detecting the displacement therein
KR20180104721A (en) How to determine the change in the initial distance of the induction electrode
KR101080512B1 (en) A Touch Screen Compensation System and Method Thereof
CN109634455B (en) Calibration method and calibration system based on touch screen
CN107229407B (en) Information processing method and electronic equipment
CN106155529A (en) Method for controlling mobile terminal and mobile terminal
EP2975503A2 (en) Touch device and corresponding touch method
CN106095158A (en) The system that the computational methods of light target displacement vector, device and control cursor move
CN108153451B (en) Calibration method and system based on touch screen
CN108021260A (en) Touch detection method
CN102890585A (en) Self-correcting method and self-correcting system for special-shaped touch screen
CN103176671A (en) Touch electronic device and touch track correction method
CN106325613A (en) Touch display device and method thereof
CN102750051B (en) Position detection device and position detection method
CN105094404A (en) Adaptive effective clicking method and device
CN104978088A (en) Correcting device and correcting method for being matched with self-capacitance type touch control panel

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: 20150715

Termination date: 20180928

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