CN105759151B - A kind of detection method and device of the touch screen linearity - Google Patents
A kind of detection method and device of the touch screen linearity Download PDFInfo
- Publication number
- CN105759151B CN105759151B CN201610225611.5A CN201610225611A CN105759151B CN 105759151 B CN105759151 B CN 105759151B CN 201610225611 A CN201610225611 A CN 201610225611A CN 105759151 B CN105759151 B CN 105759151B
- Authority
- CN
- China
- Prior art keywords
- scribing line
- central area
- line
- test point
- touch screen
- 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
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
Abstract
The invention discloses a kind of detection methods and device of the touch screen linearity.This method includes:It carries out the scribing line of horizontal direction, vertical direction and diagonal in the whole region of touch screen successively according to the scribing line spacing of setting, and the test point of every scribing line is obtained according to the report of setting point rate during scribing line;The corresponding fitting a straight line of every scribing line of horizontal direction, vertical direction and diagonal is calculated using least square method;The distance for calculating the corresponding fitting a straight line of each test point of every scribing line, obtains the error information of each test point;The error information of all test points is ranked up, and removes the worst error data of predetermined quantity according to the statistics normal distribution rule of thumb, using maximum error information in remainder error data as the linearity of the touch screen.Compared with the prior art, technical scheme of the present invention can effectively improve the accuracy of the detection touch screen linearity.
Description
Technical field
The present invention relates to testing touch screen technical field, more particularly to a kind of the detection method and dress of the touch screen linearity
It sets.
Background technology
Currently, touch screen is widely used in the various handheld devices such as mobile phone, tablet computer, game paddle, user only needs
The icon or word on touch screen are touched, the input operation to equipment is can be achieved with.Therefore, it has broken away from outer to keyboard or mouse etc.
The dependence of the human-computer interaction device connect keeps human-computer interaction more convenient.It is had become currently more easily in view of touch screen technology
Input equipment, thus the quality of the quality of touch screen directly determines the performance of equipment.
In the property indices of touch screen, the linearity is mostly important one, and levels of precision directly influences
The accuracy of touch screen.The prior art is when being detected touch screen, generally by using the method for fixed test point to touching
The coordinate value for touching several or multiple test points of screen is detected analysis.But in high-precision touch screen, this to several or
The method that multiple test points are tested cannot meet the requirement of the detection linearity, because even in same batch products
In, the absolute coordinate of the identical point physically of touch screen is also impossible to be the same, uses advance fixed test point
The method of coordinate value can reduce the accuracy of linearity test, need to propose more accurate detection method to improve the standard of detection
Exactness.
Invention content
In view of the above problems, existing to solve the present invention provides a kind of detection method and device of the touch screen linearity
The problem of the linearity testing result accuracy difference of technology touch screen.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
On the one hand, the present invention provides a kind of detection method of the touch screen linearity, the method includes:
Horizontal direction, vertical direction and diagonal are carried out in the whole region of touch screen successively according to the scribing line spacing of setting
The scribing line in line direction, and the test point of every scribing line is obtained according to the report of setting point rate during scribing line;
The corresponding fitting of every scribing line that horizontal direction, vertical direction and diagonal are calculated using least square method is straight
Line;
The distance for calculating the corresponding fitting a straight line of each test point of every scribing line, obtains the error of each test point
Data;
The error information of all test points is ranked up, and predetermined number is removed according to the statistics normal distribution rule of thumb
The worst error data of amount, using maximum error information in remainder error data as the linearity of the touch screen.
Preferably, described to calculate every horizontal direction, vertical direction and diagonal scribing line pair using least square method
The fitting a straight line answered includes:
Determine the central area of the touch screen;
It in central area or is projected on the test point in central area using in the scribing line of horizontal direction every and calculates
The corresponding fitting a straight line of every scribing line of horizontal direction;
It in central area or is projected on the test point in central area using in the scribing line of vertical direction every and calculates
The corresponding fitting a straight line of every scribing line of vertical direction;
Meet the test point being located in every of fitting condition scribing line in central area using diagonal, to calculate pair
Linea angulata direction meets the corresponding fitting a straight line of every scribing line of fitting condition;Wherein, meet being marked as fitting condition:In being located at
Test point quantity in heart district domain is more than the scribing line of setting amount threshold.
It is further preferred that being located in central area or being projected in central area using in every scribing line of horizontal direction
Test point includes to calculate the corresponding fitting a straight line of the scribing line of horizontal direction every:
According to y=a1+b1X calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Wherein,N is that horizontal direction scribing line is upper
In in central area or the number of test point that is projected in central area, (xi,yi) it is in being located in horizontal direction test scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤i≤N;
It is described using in the scribing line of vertical direction every in central area or the test point that is projected in central area come
Calculating the corresponding fitting a straight line of every scribing line of vertical direction includes:
According to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;
The test point being located in every scribing line for meeting fitting condition using diagonal in central area, to count
It calculates diagonal and meets the corresponding fitting a straight line of every of fitting condition scribing line and include:
According to y=a3+b3X or x=a4+b4Y calculates diagonal and meets the corresponding fitting of every scribing line of fitting condition directly
Line;Wherein, Q is that diagonal meets in the scribing line of fitting condition in central area
The number of test point, (xk,yk) it is the test point coordinate being located in diagonal scribing line in central area, 1≤k≤Q.
Preferably, the scribing line spacing according to setting carries out horizontal direction in the whole region of touch screen, erects successively
Scribing line to direction and diagonal includes:
Metal finger is controlled according to the movement speed of setting and the scribing line spacing of setting in the touch screen using mechanical arm
Whole region in carry out horizontal direction, vertical direction and diagonal scribing line;
It is described during scribing line according to setting report point rate obtain every scribing line on test point be specially:According to institute
It states the movement speed of report the point rate and the metal finger of setting in scratching process and obtains the test point in every scribing line.
It is further preferred that the air line distance between the edge of the central area and the edge of the touch screen is metal
Finger radius length.
On the other hand, the present invention provides a kind of detection device of the touch screen linearity, which includes:
Scribing unit, for according to setting scribing line spacing successively in the whole region of touch screen progress horizontal direction,
The scribing line of vertical direction and diagonal;
Test point determination unit, for obtaining the test of every scribing line according to the report of setting point rate during scribing line
Point;
Fitting unit, for calculating every horizontal direction, vertical direction and diagonal scribing line according to least square method
Corresponding fitting a straight line;
Error information computing unit, for calculate every scribing line the corresponding fitting a straight line of each test point away from
From obtaining the error information of each test point;
Linearity determination unit is ranked up for the error information to all test points, and according to statistics normal state point
The cloth rule of thumb removes the worst error data of predetermined quantity, is touched using maximum error information in remainder error data as described
Touch the linearity of screen.
Preferably, the fitting unit includes:
Central area determining module, the central area for determining the touch screen;
First computing module, for using being located in central area or be projected on central area in the scribing line of horizontal direction every
Interior test point calculates the corresponding fitting a straight line of the scribing line of horizontal direction every;
Second computing module is located in central area or is projected in central area using in every scribing line of vertical direction
Test point calculates the corresponding fitting a straight line of the scribing line of vertical direction every;
Third computing module meets the survey being located in every scribing line of fitting condition in central area using diagonal
Pilot, to calculate the corresponding fitting a straight line of every scribing line that diagonal meets fitting condition;Wherein, meet fitting condition
It is marked as:Test point quantity in central area is more than the scribing line of setting amount threshold.
It is further preferred that first computing module, according to y=a1+b1It is corresponding that x calculates every scribing line of horizontal direction
Fitting a straight line;Wherein, N is cross
It is located at the number for the test point in central area or being projected in central area, (x in the scribing line of directioni,yi) drawn for horizontal direction
It is located at the test point coordinate in central area or being projected in central area, 1≤i≤N on line;
Second computing module, according to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;
The third computing module, according to y=a3+b3X or x=a4+b4Y calculates diagonal and meets fitting
The corresponding fitting a straight line of every scribing line of condition;Wherein,
Q is that diagonal meets the number for being located at the test point in central area in the scribing line of fitting condition, (xk,yk) it is diagonal line
The test point coordinate being located in the scribing line of direction in central area, 1≤k≤Q.
Preferably, scribing unit specifically utilizes movement speed and setting of the mechanical arm control metal finger according to setting
Scribing line spacing the scribing line of horizontal direction, vertical direction and diagonal is carried out in the whole region of the touch screen;
Then test point determination unit, the specifically shifting according to the report of the setting point rate and metal finger in scratching process
Dynamic speed obtains the test point in every scribing line.
It is further preferred that the air line distance between the edge of central area and the edge of the touch screen is metal finger
Radius length.
The advantageous effect of the embodiment of the present invention is:One aspect of the present invention passes through to the lateral, vertical and diagonal of touch screen
Line direction is crossed, and is read the test point in every scribing line according to the report of setting point rate during scribing line, is obtained remote more
In the number of checkpoints of prior art, and the whole region of obtained test point uniform fold touch screen, come improve for
The accuracy of the linearity testing result of touch screen;It is corresponding that another aspect of the present invention using least square method calculates every scribing line
Fitting a straight line, the error information of all test points of distance statistics based on point to straight line, and according to statistics normal distribution experience
Rule handles error information, to obtain the linearity of touch screen, eliminates due to test equipment and production technology etc.
The influence of external factor, to ensure the accuracy of the linearity testing result of touch screen.
Description of the drawings
Fig. 1 is the detection method flow chart for the touch screen linearity that embodiment one provides;
Fig. 2 a are the whole region for the touch screen that embodiment one provides and its schematic diagram of central area;
Fig. 2 b are the horizontal direction scribing line design sketch being located in Fig. 2 a in whole region that embodiment one provides;
Fig. 2 c are the vertical direction scribing line design sketch being located in Fig. 2 a in whole region that embodiment one provides;
Fig. 2 d are the diagonal scribing line design sketch being located in Fig. 2 a in whole region that embodiment one provides;
Fig. 3 a are the corresponding fitting a straight line schematic diagram of every scribing line of horizontal direction that embodiment one provides;
Fig. 3 b are the corresponding fitting a straight line schematic diagram of every scribing line of vertical direction that embodiment one provides;
Fig. 3 c are the corresponding fitting a straight line schematic diagram of every scribing line of diagonal that embodiment one provides;
Fig. 4 is the structure of the detecting device block diagram for the touch screen linearity that embodiment two provides.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one:
Fig. 1 is the detection method flow chart of the touch screen linearity provided in this embodiment, as shown in Figure 1, the method in Fig. 1
Including:
S110 carries out horizontal direction, vertical direction in the whole region of touch screen successively according to the scribing line spacing of setting
With the scribing line of diagonal, and during scribing line according to setting report point rate obtain every scribing line test point.
The present embodiment obtains the test point of every scribing line by following manner:
Using mechanical arm control metal finger according to the movement speed of setting and the scribing line spacing of setting in the whole of touch screen
The scribing line of horizontal direction, vertical direction and diagonal is carried out in a region;
The test in every scribing line is obtained according to the movement speed of the report of setting point rate and metal finger in scratching process
Point.
The present embodiment preferably determines scribing line spacing according to the resolution ratio of touch screen.
S120, every scribing line that horizontal direction, vertical direction and diagonal are calculated using least square method are corresponding
Fitting a straight line.
The fitting a straight line that this step calculates every scribing line by least square method can be eliminated by test equipment, generate technique
Etc. external factors influence, improve detection the touch screen linearity accuracy.
S130 calculates the distance of the corresponding fitting a straight line of each test point of every scribing line, obtains each test point
Error information.
S140 is ranked up the error information of all test points, and is removed according to the statistics normal distribution rule of thumb
The worst error data of predetermined quantity, using maximum error information in remainder error data as the linearity of the touch screen.
On the one hand the present embodiment is crossed by lateral, the vertical and diagonal to touch screen, in scribing line
The test point in every scribing line is read according to the report of setting point rate in the process, obtains the test point far more than prior art
Number, and the whole region of obtained test point uniform fold touch screen obtain the number of test point by increasing, and make to obtain
Test point uniform fold touch screen whole region, to improve the accuracy of the linearity testing result for touch screen;Separately
On the one hand the corresponding fitting a straight line of every scribing line, all tests of distance statistics based on point to straight line are calculated using least square method
The error information of point, and all error informations are handled according to the statistics normal distribution rule of thumb, to obtain touch screen
The linearity, to further increase the accuracy of the linearity testing result of touch screen.
In order to which the advantageous effect of the present embodiment is described in more detail, illustrated below by a specific implementation.
In this specific implementation, assume that the whole region of touch screen is rectangle for ease of description, the half of metal finger
Diameter is 4mm.With reference to shown in figure 2a, Fig. 2 a are the whole region schematic diagram of touch screen provided in this embodiment, in this implementation
In, the origin origin of the whole region of touch screen is set as the vertex (0,0) of upper left side in Fig. 2 a, and the size of whole region is
42.8×22mm2。
This specific implementation is by the control metal hand fingering row straight line scribing line of high-precision mechanical arm, specifically:
Control metal finger using high-precision mechanical arm, make metal finger on the touchscreen with the movement speed of setting and
Horizontal direction, vertical direction and the scribing line of diagonally adjacent straight line are carried out with scribing line spacing;Metal finger on the touchscreen into
During row straight line is crossed, test equipment is made to read the test point in every scribing line according to the report point rate of setting.Due to this reality
It is to read the test point of scribing line according to its report point rate while metal hand fingering row straight line is crossed using test equipment to apply example, because
This, the number of the test point in every scribing line of the present embodiment is common by the movement speed of metal finger and the report point rate of test equipment
It determines.The scheme of linearity detection is carried out by the several test points of fixation in compared with the prior art, the present embodiment can obtain
The number of checkpoints for obtaining twice of order of magnitude of existing scheme or twice of order of magnitude or more carries out linearity detection.
It should be noted that the spacing in the present embodiment on progress horizontal direction between two scribing line is with vertical direction and diagonally
Spacing on line direction between two scribing line is identical so that obtained test point is evenly distributed, the linearity to calculate more subject to
Really;The present embodiment preferably determines scribing line spacing according to the resolution ratio of touch screen.
Based on the size of the whole region of touch screen shown in Fig. 2 a, the movement speed that metal finger can be arranged is 5mm/
S, the report point rate of test equipment are 200pt/min, and scribing line spacing is 1.1mm, then according to above-mentioned scribble method on the touchscreen into
The design sketch of row straight line scribing line is as shown in Fig. 2 b to Fig. 2 d, wherein Fig. 2 b to Fig. 2 d are followed successively by provided in this embodiment positioned at tactile
Touch horizontal direction scribing line design sketch, vertical direction scribing line effect and the diagonal scribing line design sketch in screen whole region.This
Embodiment is according to above-mentioned scribing line spacing, in the whole region of touch screen shown in Fig. 2 a, obtains 20 (including upper and lower two sides
Edge line) scribing line on horizontal direction, the scribing line in 40 (including two edge lines in left and right) vertical directions, 70 diagonals
On scribing line.
This specific implementation calculates the fitting a straight line of every scribing line by the following method:
The central area for determining touch screen, using being located in central area or be projected on center in the scribing line of horizontal direction every
Test point in region calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Using being located in the scribing line of vertical direction every
In central area or the test point in central area is projected on to calculate the corresponding fitting a straight line of every scribing line of vertical direction;It utilizes
Diagonal meets the test point in central area in every scribing line of fitting condition, meets to calculate diagonal
The corresponding fitting a straight line of every scribing line of fitting condition;Wherein, meet being marked as fitting condition:Survey in central area
Pilot quantity is more than the scribing line of setting amount threshold.
For the central area in this specific implementation, preferably the edge of the edge of the central area and touch screen it
Between air line distance be metal finger radius length.As shown in Fig. 2 a to Fig. 2 d, in Fig. 2 a to Fig. 2 d at the center of whole region
The region that rectangular box surrounds is the central area of this specific implementation.It should be noted that the present embodiment is preferably set
The shape for setting central area is identical as the shape of touch screen whole region, and such as when whole region is rectangle, central area is also
Rectangle;When whole region is round, central area corresponds to circle.
This specific implementation is utilized in every corresponding fitting a straight line of scribing line on calculating horizontal direction and vertical direction
It is located at the test point in central area or being projected in central area in every scribing line to be calculated, so that obtained fitting is straight
Line is more accurate;When calculating the diagonally adjacent corresponding fitting a straight line of every scribing line, only calculates and meet fitting on diagonal line
The fitting a straight line of the scribing line of condition such as can only calculate the fitting for scribing line of the test point quantity more than 7 being located in central area
Straight line;Every of fitting condition scribing line is met for diagonal, using the test point in scribing line in central area come
Calculate corresponding fitting a straight line of crossing.
It should be noted that with reference to shown in figure 2b to Fig. 2 d, the scribing line in this specific implementation in all directions can divide
For the scribing line by central area and the scribing line without central area, for the scribing line of both types, this specific implementation is square
Case calculates its corresponding fitting a straight line using two schemes, so that obtained fitting a straight line is more accurate.It is directed in
The scribing line (referring mainly to horizontal direction, vertical direction and diagonally adjacent scribing line) in heart district domain, using directly being fallen in the scribing line
Enter the test point in central area to calculate corresponding fitting a straight line;And for (referring mainly to cross without the scribing line of central area
Scribing line on direction and vertical direction, the diagonally adjacent scribing line without central area are regarded as being unsatisfactory for fitting condition
Straight line not calculate), corresponding fitting a straight line is calculated using the test point for being projected on central area in scribing line.
The test point being projected in central area can be understood as:Without stroke of the horizontal direction of central area
Line, elongation center region left and right edges, without the extension for being located at central area in the scribing line of the horizontal direction of central area
Test point in region is the test point for being projected on central area of the present embodiment meaning;And without the vertical of central area
The scribing line in direction, can be with two edges above and below elongation center region, in being located in the scribing line without the vertical direction of central area
Test point in the extended area in heart district domain is the test point for being projected on central area of the present embodiment meaning.
After the test point for obtaining calculating the corresponding fitting a straight line of every scribing line, every scribing line pair is calculated using following manner
The fitting a straight line answered:
Specifically, using the test point in central area or being projected in central area is located in every scribing line of horizontal direction
It is specially to calculate the corresponding fitting a straight line of every scribing line of horizontal direction:
According to y=a1+b1X calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Wherein,N is that horizontal direction scribing line is upper
In in central area or the number of test point that is projected in central area, (xi,yi) it is in being located in horizontal direction test scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤i≤N;With reference to shown in figure 3a, Fig. 3 a show lateral side
To the corresponding fitting a straight line of every scribing line.
It in central area or is projected on the test point in central area using in the scribing line of vertical direction every and calculates
The corresponding fitting a straight line of the scribing line of vertical direction every includes:
According to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;With reference to shown in figure 3b, Fig. 3 b show vertical side
To the corresponding fitting a straight line of every scribing line.
Meet the test point being located in every of fitting condition scribing line in central area using diagonal, to calculate pair
Linea angulata direction meets the corresponding fitting a straight line of every of fitting condition scribing line:
According to y=a3+b3X or x=a4+b4Y calculates diagonal and meets the corresponding fitting of every scribing line of fitting condition directly
Line;Wherein, Q is that diagonal meets in the scribing line of fitting condition in central area
The number of test point, (xk,yk) it is the test point coordinate being located in diagonal scribing line in central area, 1≤k≤Q;With reference to
Shown in Fig. 3 c, Fig. 3 c show the corresponding fitting a straight line of every scribing line of diagonal.
After obtaining the corresponding fitting a straight line of every scribing line, using the computational methods of the distance of point to straight line, calculate each
For test point to the distance of its fitting a straight line, which is the error information of the test point.Fitting for y=a+bx types
Straight line, the range formula put to straight line areFor the fitting a straight line of x=a+by types, point arrives
The range formula of straight line is
After the error information for obtaining all test points, the error information of all test points is ranked up, and according to system
Meter learns the worst error data of normal distribution rule of thumb removal predetermined quantity, by maximum error information in remainder error data
The linearity as the touch screen.The error information for such as abandoning maximum 0.3% takes in remaining 99.7% error information most
The linearity of the big value as touch screen in this specific implementation.
This specific implementation also shows the test point of every scribing line and its corresponding quasi- using associated display device
Straight line is closed, with reference to shown in figure 3a to Fig. 3 c, as associated display device is to horizontal direction, vertical direction and diagonally adjacent
Each scribing line and its corresponding fitting a straight line show design sketch so that operator was capable of more intuition sees the big of error information
It is small.
I.e. this, this specific implementation can be obtained the linearity of touch screen by the above method, detection method it is simple and
Clear logic is not only applicable to the linearity detection of high-precision touch screen, can be also used for common touch screen.
Embodiment two:
Based on technical concept identical with embodiment one, the present invention also provides a kind of detection of touch screen linearity dresses
It sets.
Fig. 4 is the structure diagram of the detection device of the touch screen linearity provided in this embodiment, as shown in figure 4, the detection
Device includes:
Scribing unit 41 carries out transverse direction side in the whole region of touch screen successively for the scribing line spacing according to setting
To, the scribing line of vertical direction and diagonal.
Test point determination unit 42, for obtaining the test of every scribing line according to the report of setting point rate during scribing line
Point.
Preferably, the scribing unit 41 in the present embodiment is specifically the shifting according to setting using mechanical arm control metal finger
Dynamic speed and the scribing line spacing of setting carry out horizontal direction, vertical direction and diagonal line side in the whole region of the touch screen
To scribing line;Test point determination unit 42, the specifically movement according to the report of setting point rate and metal finger in scratching process
Speed obtains the test point in every scribing line.
Fitting unit 43 is drawn for calculating horizontal direction, vertical direction and diagonal every according to least square method
The corresponding fitting a straight line of line.
Error information computing unit 44, for calculate every scribing line the corresponding fitting a straight line of each test point away from
From obtaining the error information of each test point.
Linearity determination unit 45 is ranked up for the error information to all test points, and according to statistics normal state
The worst error data of rule of thumb removal predetermined quantity are distributed, using maximum error information in remainder error data as described in
The linearity of touch screen.
In a specific implementation of the present embodiment, fitting unit 43 includes:Central area determining module, the first meter
Calculate module, the second computing module and third computing module.
Central area determining module, the central area for determining touch screen, the preferably edge of central area and touch
Air line distance between the edge of screen is metal finger radius length;
First computing module, for using being located in central area or be projected on central area in the scribing line of horizontal direction every
Interior test point calculates the corresponding fitting a straight line of the scribing line of horizontal direction every;
Second computing module is located in central area or is projected in central area using in every scribing line of vertical direction
Test point calculates the corresponding fitting a straight line of the scribing line of vertical direction every;
Third computing module meets the survey being located in every scribing line of fitting condition in central area using diagonal
Pilot, to calculate the corresponding fitting a straight line of every scribing line that diagonal meets fitting condition;Wherein, meet fitting condition
It is marked as:Test point quantity in central area is more than the scribing line of setting amount threshold.
Wherein, the first computing module, according to y=a1+b1X calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Its
In,N crosses for horizontal direction
The upper number for being located at the test point in central area or being projected in central area, (xi,yi) it is in being located in horizontal direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤i≤N;
Second computing module, according to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;
Third computing module, according to y=a3+b3X or x=a4+b4Y calculates diagonal and meets fitting item
The corresponding fitting a straight line of every scribing line of part;Wherein,
Q is that diagonal meets the number for being located at the test point in central area in the scribing line of fitting condition, (xk,yk) it is diagonal line
The test point coordinate being located in the scribing line of direction in central area, 1≤k≤Q.
The specific working mode of each unit module of apparatus of the present invention embodiment may refer to the embodiment of the method for the present invention,
Details are not described herein.
In conclusion the invention discloses a kind of detection method and device of the touch screen linearity, one aspect of the present invention is logical
It crosses and crosses to lateral, the vertical and diagonal of touch screen, read according to the report of setting point rate during scribing line
The test point in every scribing line is taken, obtains the number of checkpoints far more than prior art, and obtained test point is uniformly covered
The whole region of lid touch screen, i.e., by increasing the test point uniform fold touch screen for obtaining the number of test point, and making
Whole region, to improve the accuracy of the linearity testing result for touch screen;Another aspect of the present invention utilizes minimum two
Multiplication calculates the fitting a straight line of every scribing line, the error information of all test points of distance statistics based on point to straight line, and according to
The statistics normal distribution rule of thumb handles error information, to obtain the linearity of touch screen;Pass through comprehensive profit
The linearity of touch screen is calculated with least square fitting straight line and statistics normal distribution rule of thumb processing error information,
The influence by external factors such as test equipment and production technologies is eliminated, to further increase the linearity testing result of touch screen
Accuracy.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in the embodiment of invention, use " first ",
Printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can manage
The printed words such as solution " first ", " second " are not defined quantity and execution order.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of detection method of the touch screen linearity, which is characterized in that the method includes:
Horizontal direction, vertical direction and diagonal line side are carried out in the whole region of touch screen successively according to the scribing line spacing of setting
To scribing line, and during scribing line according to setting report point rate obtain every scribing line test point;
The corresponding fitting a straight line of every scribing line of horizontal direction, vertical direction and diagonal is calculated using least square method;
The distance for calculating the corresponding fitting a straight line of each test point of every scribing line, obtains the margin of error of each test point
According to;
The error information of all test points is ranked up, and predetermined quantity is removed according to the statistics normal distribution rule of thumb
Worst error data, using maximum error information in remainder error data as the linearity of the touch screen.
2. the detection method of the touch screen linearity according to claim 1, which is characterized in that described to utilize least square method
Calculating horizontal direction, vertical direction and the corresponding fitting a straight line of every scribing line of diagonal includes:
Determine the central area of the touch screen;
It in central area or is projected on the test point in central area using in the scribing line of horizontal direction every and calculates transverse direction
The corresponding fitting a straight line of every, direction scribing line;
Using in the scribing line of vertical direction every in central area or to be projected on the test point in central area vertical to calculate
The corresponding fitting a straight line of every, direction scribing line;
Meet the test point being located in every scribing line of fitting condition in central area using diagonal, to calculate diagonal line
Direction meets the corresponding fitting a straight line of every scribing line of fitting condition;Wherein, meet being marked as fitting condition:Positioned at center
Test point quantity in domain is more than the scribing line of setting amount threshold.
3. the detection method of the touch screen linearity according to claim 2, which is characterized in that
It is described in central area or to be projected on the test point in central area using in the scribing line of horizontal direction every and calculate
The corresponding fitting a straight line of the scribing line of horizontal direction every includes:
According to y=a1+b1X calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Wherein,N is that horizontal direction scribing line is upper
In in central area or the number of test point that is projected in central area, (xi,yi) it is to be located at center in horizontal direction scribing line
In domain or the test point coordinate that is projected in central area, 1≤i≤N;
It is described in central area or to be projected on the test point in central area using in the scribing line of vertical direction every and calculate
The corresponding fitting a straight line of the scribing line of vertical direction every includes:
According to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;
It is described to meet the test point being located in every of fitting condition scribing line in central area using diagonal, to calculate pair
Linea angulata direction meets the corresponding fitting a straight line of every of fitting condition scribing line:
According to y=a3+b3X or x=a4+b4Y calculates the corresponding fitting a straight line of every scribing line that diagonal meets fitting condition;Its
In, Q is that diagonal meets in the scribing line of fitting condition in central area
The number of test point, (xk,yk) it is the test point coordinate being located in diagonal scribing line in central area, 1≤k≤Q.
4. the detection method of the touch screen linearity according to claim 2, which is characterized in that the scribing line according to setting
The scribing line of progress horizontal direction, vertical direction and diagonal includes spacing in the whole region of touch screen successively:
Using mechanical arm control metal finger according to the movement speed of setting and the scribing line spacing of setting in the whole of the touch screen
The scribing line of horizontal direction, vertical direction and diagonal is carried out in a region;
It is described during scribing line according to setting report point rate obtain every scribing line on test point be specially:It is set according to described
Movement speed of fixed report the point rate and the metal finger in scratching process obtains the test point in every scribing line.
5. the detection method of the touch screen linearity according to claim 4, which is characterized in that the edge of the central area
Air line distance between the edge of the touch screen is metal finger radius length.
6. a kind of detection device of the touch screen linearity, which is characterized in that the detection device includes:
Scribing unit, for according to setting scribing line spacing successively in the whole region of touch screen carry out horizontal direction, vertically
The scribing line in direction and diagonal;
Test point determination unit, for obtaining the test point of every scribing line according to the report of setting point rate during scribing line;
Fitting unit, for calculating horizontal direction according to least square method, the every scribing line of vertical direction and diagonal corresponds to
Fitting a straight line;
Error information computing unit, the distance of the corresponding fitting a straight line of each test point for calculating every scribing line, obtains
To the error information of each test point;
Linearity determination unit is ranked up for the error information to all test points, and is passed through according to statistics normal distribution
The worst error data for testing rule removal predetermined quantity, using maximum error information in remainder error data as the touch screen
The linearity.
7. detection device according to claim 6, which is characterized in that the fitting unit includes:
Central area determining module, the central area for determining the touch screen;
First computing module, for being located in central area or being projected in central area using in every scribing line of horizontal direction
Test point calculates the corresponding fitting a straight line of the scribing line of horizontal direction every;
Second computing module, using being located at the test in central area or being projected in central area in the scribing line of vertical direction every
It puts to calculate the corresponding fitting a straight line of every scribing line of vertical direction;
Third computing module meets the test being located in every scribing line of fitting condition in central area using diagonal
Point, to calculate the corresponding fitting a straight line of every scribing line that diagonal meets fitting condition;Wherein, meet drawing for fitting condition
Line is:Test point quantity in central area is more than the scribing line of setting amount threshold.
8. detection device according to claim 7, which is characterized in that
First computing module, according to y=a1+b1X calculates the corresponding fitting a straight line of every scribing line of horizontal direction;Wherein,N is that horizontal direction scribing line is upper
In in central area or the number of test point that is projected in central area, (xi,yi) it is to be located at center in horizontal direction scribing line
In domain or the test point coordinate that is projected in central area, 1≤i≤N;
Second computing module, according to x=a2+b2Y calculates the corresponding fitting a straight line of every scribing line of vertical direction;Wherein,M crosses for vertical direction
The upper number for being located at the test point in central area or being projected in central area, (xj,yj) it is in being located in vertical direction scribing line
In heart district domain or the test point coordinate that is projected in central area, 1≤j≤M;
The third computing module, according to y=a3+b3X or x=a4+b4It is quasi- that y calculates diagonal satisfaction
The corresponding fitting a straight line of every scribing line of conjunction condition;Wherein,
Q is that diagonal meets the number for being located at the test point in central area in the scribing line of fitting condition, (xk,yk) it is diagonal line
The test point coordinate being located in the scribing line of direction in central area, 1≤k≤Q.
9. detection device according to claim 7, which is characterized in that
The scribing unit specifically utilizes mechanical arm to control metal finger according between the movement speed of setting and the scribing line of setting
Away from the scribing line for carrying out horizontal direction, vertical direction and diagonal in the whole region of the touch screen;
The test point determination unit, the specifically movement according to the report of the setting point rate and metal finger in scratching process
Speed obtains the test point in every scribing line.
10. detection device according to claim 9, which is characterized in that the edge of the central area and the touch screen
Edge between air line distance be metal finger radius length.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610225611.5A CN105759151B (en) | 2016-04-12 | 2016-04-12 | A kind of detection method and device of the touch screen linearity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610225611.5A CN105759151B (en) | 2016-04-12 | 2016-04-12 | A kind of detection method and device of the touch screen linearity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105759151A CN105759151A (en) | 2016-07-13 |
CN105759151B true CN105759151B (en) | 2018-07-31 |
Family
ID=56333770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610225611.5A Active CN105759151B (en) | 2016-04-12 | 2016-04-12 | A kind of detection method and device of the touch screen linearity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105759151B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1475963A (en) * | 2002-08-13 | 2004-02-18 | 联想(北京)有限公司 | Testing method of contact screen linerarity |
CN101763196A (en) * | 2010-01-18 | 2010-06-30 | 友达光电股份有限公司 | Method for detecting linearity of touch panel |
CN102314387A (en) * | 2011-09-26 | 2012-01-11 | 惠州Tcl移动通信有限公司 | Method for measuring accuracy of touch screen |
CN202854776U (en) * | 2012-09-14 | 2013-04-03 | 东华大学 | Surface capacitive flexible touch control device based on conductive fabrics |
CN105093013A (en) * | 2015-07-23 | 2015-11-25 | 中国科学院上海光学精密机械研究所 | Touch screen detection apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101472080B1 (en) * | 2012-12-27 | 2014-12-17 | (주)멜파스 | Touch sensing apparatus and method |
-
2016
- 2016-04-12 CN CN201610225611.5A patent/CN105759151B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1475963A (en) * | 2002-08-13 | 2004-02-18 | 联想(北京)有限公司 | Testing method of contact screen linerarity |
CN101763196A (en) * | 2010-01-18 | 2010-06-30 | 友达光电股份有限公司 | Method for detecting linearity of touch panel |
CN102314387A (en) * | 2011-09-26 | 2012-01-11 | 惠州Tcl移动通信有限公司 | Method for measuring accuracy of touch screen |
CN202854776U (en) * | 2012-09-14 | 2013-04-03 | 东华大学 | Surface capacitive flexible touch control device based on conductive fabrics |
CN105093013A (en) * | 2015-07-23 | 2015-11-25 | 中国科学院上海光学精密机械研究所 | Touch screen detection apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105759151A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9569045B2 (en) | Stylus tilt and orientation estimation from touch sensor panel images | |
CN103616972B (en) | Touch screen control method and terminal device | |
CN102694915A (en) | Display control method and system for mobile phone with touch screen | |
CN105975132B (en) | A kind of detection method and device of touch screen accuracy | |
US11841999B2 (en) | Pen state detection circuit, system, and method | |
TW201044235A (en) | Touch point coordinate detection method | |
CN111025039B (en) | Method, device, equipment and medium for testing accuracy of touch display screen | |
CN105589588A (en) | Touch system, touch pen, touch device and control method thereof | |
US10228798B2 (en) | Detecting method of touch system for avoiding inadvertent touch | |
US10678381B2 (en) | Determining handedness on multi-element capacitive devices | |
CN103577006A (en) | Self-capacitance type touch panel | |
CN105759151B (en) | A kind of detection method and device of the touch screen linearity | |
US11669193B2 (en) | Position detection circuit and position detection method | |
US20200057549A1 (en) | Analysis device equipped with touch panel device, method for display control thereof, and program | |
CN107037948A (en) | It is a kind of to realize the method and system that list is slided | |
CN106547394A (en) | A kind of calibration steps of touch display screen, apparatus and system | |
CN105094404A (en) | Adaptive effective clicking method and device | |
CN110045868A (en) | Touch point modification method, touch device and electronic equipment based on algorithm of birdsing of the same feather flock together | |
US11880526B2 (en) | Maintaining pressure input paths | |
KR101143276B1 (en) | Adaptive type noise removing method for improving the accuracy of the position measurement of touch input | |
KR102601375B1 (en) | Method and apparatus for detecting the convenience of touch depending on the position on the touch panel | |
CN106020651A (en) | Method and system for controlling image display based on touch | |
Ren et al. | The influence of target size, distance and direction on the design of selection strategies | |
CN103176669B (en) | Capacitance type input mechanism and the method determining effective touch point thereof | |
KR101186368B1 (en) | Apparatus for inputting information of touchpad |
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 |