This application is based on and claims priority from Japanese Patent Application No. 2014-028211, filed on Feb. 18, 2014, the contents of which are hereby incorporated by reference in their entirety.
1. Technical Field
This disclosure relates to a method for detecting a touched position on a touch panel; a method for inspecting a touch panel, using the touched position detecting method; and a touch panel inspecting apparatus.
2. Related Art
In a known touch panel, a touched position has been detected by a centroid method that involves measuring capacitances of sensing areas arranged in a lattice form, and calculating a centroid position, based on capacitance values in the respective sensing areas (refer to, for example, JP 2013-134698 A).
According to the method of detecting, as the touched position, the centroid position based on the capacitance values in the respective sensing areas, however, the touched position is detected with low accuracy.
An exemplary embodiment of the disclosure provides a method for detecting a touched position on a touch panel, the method capable of detecting the touched position with improved accuracy; a method for inspecting a touch panel, using the touched position detecting method; and a touch panel inspecting apparatus.
An exemplary embodiment of the disclosure provides a method for detecting a touched position on a touch panel having a touch screen divided into a plurality of sensing areas arranged in a lattice form and designated with two-dimensional coordinates, the method including: acquiring a detection value detected in each sensing area; a correcting step of correcting each detection value, based on a correlation value corresponding to a numerical influence to be exerted on the detection value in each sensing area by the detection value in the sensing area adjacent to each sensing area, and calculating a correlation correction value for each sensing area; retrieving the maximum value from among the correlation correction values; and a touched position acquiring step of defining the sensing area for which the correlation correction value is the maximum value, as a maximum area, calculating a centroid position as to an area including the maximum area and the sensing areas adjacent to the maximum area, based on the correlation correction values, and acquiring the calculated centroid position as a touched position.
According to this configuration, the method involves correcting the detection value detected in each sensing area on the touch panel, based on the correlation value corresponding to the numerical influence exerted on the detection value in each sensing area by the detection value in the sensing area adjacent to each sensing area; and calculating the correlation correction value for each sensing area. The method also involves retrieving the maximum value from among the correlation correction values thus obtained; calculating the centroid position as to the area including the maximum area for which the correlation correction value is the maximum area and the sensing areas adjacent to the maximum area, based on the correlation correction values; and acquiring the centroid position as the touched position. According to the method, the touched position is acquired based on the correlation correction value with the influence of the sensing area adjacent to each sensing area taken into consideration. Therefore, it is possible to detect the touched position with improved accuracy.
Preferably, the method further includes: decreasing the correlation correction value for the maximum area after the acquisition of the touched position in the touched position acquiring step; and subsequently acquiring a new touched position by repeating the maximum value retrieving step and the touched position acquiring step again after the execution of the preparing step.
According to this configuration, the method is capable of detecting the plurality of touched positions, based on the correlation correction values. Therefore, it is possible to realize a so-called multi-touch function.
Preferably, further, the correlation correction values for the sensing areas surrounding the maximum area are corrected based on the correlation correction values for the outer sensing areas adjacent to and located outward of the sensing areas surrounding the maximum area.
According to this configuration, it is possible to eliminate the influence of touch exerted on the touched position which has been detected, with higher accuracy upon retrieval of the new touched position.
Preferably, the new touched position is not acquired when a ratio of the maximum value retrieved in the repeated maximum value retrieving step to the maximum value retrieved initially in the maximum value retrieving step is less than a preset reference ratio.
According to this configuration, it is possible to reduce a possibility of erroneously detecting, as the touched position, the sensing area in which the ratio to the maximum value retrieved initially, that is, the correlation correction value obtained based on the detection value detected upon the touch of the touch panel is less than the reference ratio.
Preferably, the correlation values include a target area correlation value specified for a target area corresponding to the sensing area to be processed, a first correlation value specified for each first sensing area adjacent to the target area in a row direction or a column direction, and a second correlation value specified for each second sensing area adjacent to the target area in a diagonal direction, the first correlation value is smaller than the target area correlation value, the second correlation value is smaller than the first correlation value, and the correcting step includes calculating the correlation correction value for the target area by allocating the sensing areas to the target area in sequence, and adding a value obtained by multiplying the detection value in the target area by the target area correlation value, a value obtained by multiplying the detection value in each first sensing area by the first correlation value, and a value obtained by multiplying the detection value in each second sensing area by the second correlation value.
According to this configuration, a tangent to the target area is long. Moreover, the first correlation value in the first sensing area which exerts a large influence on the target area is larger than the second correlation value in the second sensing area which is in slight contact with the target area. As a result, it is possible to appropriately reflect the degree of the influence exerted on the target area, on the first and second correlation values.
Preferably, the correlation correction value for the sensing area located on an edge of the touch screen, among the plurality of sensing areas is set to be equal to the correlation correction value for the sensing area adjacent to and located inward of the sensing area located on the edge of the touch screen.
The number of sensing areas adjacent to the sensing area located on the edge of the touch screen is smaller than the number of sensing areas adjacent to the sensing area located inward of the touch screen. Therefore, when the correlation correction value for the sensing area located on the edge is calculated in a manner similar to that for calculating the correlation correction value for the sensing area located inward of the touch screen, the calculated correlation correction value is not appropriate in some cases. According to this configuration, on the other hand, the correlation correction value for the sensing area located on the edge of the touch screen is set to be equal to the correlation correction value for the sensing area adjacent to and located inward of the sensing area located on the edge. Therefore, it is possible to improve the appropriateness of the correlation correction value for the sensing area located on the edge.
An exemplary embodiment of the disclosure provides a method for inspecting a touch panel, the method including: bringing one or more pseudo fingers into contact with a touch screen of a touch panel, the touch screen divided into a plurality of sensing areas arranged in a lattice form and designated with two-dimensional coordinates; performing the foregoing touched position detecting method on the touch panel; and determining whether or not at least one of deviation amounts between one or more detected touched positions and one or more contact positions on the touch screen with the one or more pseudo fingers in the touch processing step exceeds a preset reference amount.
According to this configuration, the method involves determining whether or not the deviation amount between the touched position which is detected by the foregoing touched position detecting method with high accuracy and the contact position on the touch screen with the pseudo finger exceeds the reference amount. Therefore, it is possible to inspect the touch panel with improved accuracy.
An exemplary embodiment of the disclosure provides a touch panel inspecting apparatus including: a touch mechanism configured to bring one or more pseudo fingers into contact with a touch screen of a touch panel, the touch screen divided into a plurality of sensing areas arranged in a lattice form and designated with two-dimensional coordinates; a touched position detecting part configured to perform the foregoing touched position detecting method on the touch panel; and a determining part configured to determine whether or not at least one of deviation amounts between one or more touched positions detected by the touched position detecting part and one or more contact positions on the touch screen with the one or more pseudo fingers by the touch mechanism exceeds a preset reference amount.
According to this configuration, the touch panel inspecting apparatus determines whether or not the deviation amount between the touched position which is detected by the foregoing touched position detecting method with high accuracy and the contact position on the touch screen with the pseudo finger exceeds the reference amount. Therefore, it is possible to inspect the touch panel with improved accuracy.
An exemplary embodiment of the disclosure provides a touch panel inspecting apparatus including: a touch mechanism configured to bring one or more pseudo fingers into contact with a touch screen of a touch panel, the touch screen divided into a plurality of sensing areas arranged in a lattice form and designated with two-dimensional coordinates; a detection processing part configured to acquire a detection value detected in each sensing area; a correcting part configured to correct each detection value, based on a correlation value corresponding to a numerical influence to be exerted on the detection value in each sensing area by the detection value in the sensing area adjacent to each sensing area, and to calculate a correlation correction value for each sensing area; a maximum value retrieving part configured to retrieve the maximum value from among the correlation correction values; a touched position acquiring part configured to define the sensing area for which the correlation correction value is the maximum value, as a maximum area, to calculate a centroid position as to an area including the maximum area and the sensing areas adjacent to the maximum area, based on the correlation correction values, and to acquire the calculated centroid position as a touched position; and a determining part configured to determine whether or not at least one of deviation amounts between one or more touched positions detected by the touched position acquiring part and one or more contact positions on the touch screen with the one or more pseudo fingers by the touch mechanism exceeds a preset reference amount.
According to this configuration, the touch panel inspecting apparatus acquires the touched position, based on the correlation correction value with the influence of the sensing area adjacent to each sensing area taken into consideration, in a manner similar to that according to the foregoing touched position detecting method. Therefore, it is possible to detect the touched position with improved accuracy. Moreover, the touch panel inspecting apparatus determines whether or not the deviation amount between the touched position detected with high accuracy and the contact position on the touch panel with the pseudo finger exceeds the reference amount. Therefore, it is possible to inspect the touch panel with improved accuracy.
According to the method for detecting a touched position on a touch panel, the method for inspecting a touch panel, and the touch panel inspecting apparatus, it is possible to detect a touched position with improved accuracy.
The foregoing and other objects, features, aspects, and advantages of the disclosed invention will become more apparent from the following detailed description, when taken in conjunction with the accompanying drawings.
Various embodiments of the disclosure will be described below with reference to the drawings. In the respective drawings, constituents denoted with the same reference sign are identical with one another; therefore, the repeated description thereof will not be given here.
The touch panel inspecting apparatus 1 includes a base 51, a workpiece holder 52, pseudo fingers 21a, 21b, and 21c, and a pseudo finger drive mechanism 2 (a touch mechanism). The pseudo finger drive mechanism 2 includes an X-Y movement mechanism 53, a Z movement mechanism 54, and a pseudo finger mechanism 55. The base 51 has a horizontal upper surface, and an X axis and a Y axis which are orthogonal to each other are defined within a plane parallel with the horizontal upper surface. Moreover, a Z axis is defined in a direction perpendicular to the X-Y plane.
The workpiece holder 52 on the base 51 holds a flat plate-shaped touch panel 100, which is an inspection target, with a front surface of the touch panel 100 directed upward. The touch panel 100 is formed into a substantially rectangular shape. The touch panel 100 has a touch screen divided into a plurality of sensing areas arranged in a substantially lattice form. Each sensing area can be designated with two-dimensional coordinates.
The touch panel 100 to be inspected may be of, for example, a capacitive type or a resistive film type. The touch panel inspecting apparatus 1 is capable of inspecting various types of touch panels. In the following, a description will be given of a case where the touch panel 100 is of the capacitive type. The touch screen of the touch panel 100 has a plurality of X electrodes 102 formed at predetermined intervals along an X direction (row direction) so as to extend in a Y direction (column direction), and a plurality of Y electrodes 103 formed at predetermined intervals along the Y direction so as to extend in the X direction (see
The touch screen of the touch panel 100 is divided into the plurality of sensing areas arranged in the lattice form. Each sensing area can be selected by a combination of the X electrode 102 with the Y electrode 103. The touch panel inspecting apparatus 1 selects the X electrodes 102 and the Y electrodes 103 one by one, and measures the capacitance between the selected X electrode 102 and the selected Y electrode 103. Thus, the touch panel inspecting apparatus 1 measures a capacitance value (detection value) in the sensing area on coordinates designated with the selected X electrode 102 and the selected Y electrode 103. In the case where the touch panel 100 is of, for example, the resistive film type, the touch panel inspecting apparatus 1 detects a resistance value as the detection value.
When a user touches the touch screen with, for example, his/her finger, the capacitance increases in the sensing area on the touch screen touched by the user. Accordingly, it is possible to identify the sensing area on the touch screen touched by the user by selecting the X electrodes 102 and the Y electrodes 103 in sequence and measuring the capacitance value in each sensing area. In other words, it is possible to detect the position touched by the user (i.e., the touched position). At this time, the capacitance value also varies in the sensing area located around the sensing area corresponding to the touched position, depending on a length from the touched position.
Hence, arithmetic processing is performed based on the capacitance values detected in the plurality of sensing areas. Thus, it is possible to detect the touched position with a high resolution. As described in Related Art, heretofore, a touched position has been detected by calculating a centroid position based on capacitance values detected in sensing areas.
The inventors have found that a capacitance between a certain sensing area and a user's finger and a capacitance between a different sensing area and the user's finger exert an influence on a capacitance value in each sensing area. Moreover, the inventors have found that a touched position is calculated by the centroid method with degraded accuracy because of the influence exerted between the sensing areas. Particularly, the influence exerted between the sensing areas becomes remarkable in a case of touching a touch screen with plural fingers, that is, in a case of a multi-touch. As a result, it is difficult to detect the positions touched with the respective fingers because of degradation in detection accuracy.
Upon actual use of a touch panel installed in equipment, typically, an IC (Integrated Circuit) chip is incorporated in the touch panel in order to calculate a touched position from a detection value. In a case of inspecting the touch panel having the IC chip incorporated therein, however, if the touch panel is a defective, the IC chip incorporated in the defective touch panel is wasted.
Hence, the touch panel inspecting apparatus 1 performs the touched position detecting method on a touch panel having incorporated therein no IC chip for calculating a touched position, thereby detecting a touched position. The touch panel inspecting apparatus 1 inspects the touch panel, based on the touched position thus obtained.
The X-Y movement mechanism 53 corresponds to a biaxial planar movement mechanism and is mounted on the base 51. The X-Y movement mechanism 53 allows the pseudo finger mechanism 55 to move to an arbitrary position within the X-Y plane parallel with a surface of the base 51 (i.e., a surface of the touch panel 100 to be described later). The Z movement mechanism 54 is attached to the X-Y movement mechanism 53. The Z movement mechanism 54 allows the pseudo finger mechanism 55 to move in a Z-axis direction orthogonal to the X-Y plane.
Specifically, the X-Y movement mechanism 53 includes linear guides 66 and 66, a first carriage 63, and a second carriage 65. The linear guides 66 and 66 are disposed to extend in parallel with the Y axis. The first carriage 63 extends in parallel with the X axis and is capable of translating in a Y-axis direction along the linear guides 66 and 66. The second carriage 65 is supported by the first carriage 63 and is capable of rectilinearly moving in an X-axis direction along the first carriage 63.
The second carriage 65 supports a bracket 67 so as to drive the bracket 67 in the Z-axis direction. The pseudo finger mechanism 55 is attached to the bracket 67. Thus, the second carriage 65 allows the pseudo finger mechanism 55 to move along the Z-axis direction.
The pseudo finger mechanism 55 holds, for example, the three pseudo fingers 21a, 21b, and 21c linearly arranged at equal intervals. Each of the pseudo fingers 21a, 21b, and 21c is formed of a rod-shaped member extending in the Z-axis direction. The pseudo finger mechanism 55 allows the pseudo fingers 21a, 21b, and 21c to protrude toward the touch panel 100 such that the pseudo fingers 21a, 21b, and 21c touch (contact with) the touch panel 100. Examples of the pseudo finger mechanism 55 may include various actuators such as an air cylinder and a solenoid.
The pseudo finger mechanism 55 is supported by the bracket 67 via a pivot extending in the Z-axis direction so as to be rotatable about the pivot. This configuration allows a change in alignment angle of the pseudo fingers 21a, 21b, and 21c.
The invention is not limited to the example that the X-Y movement mechanism 53 moves the pseudo fingers 21a, 21b, and 21c. For example, the touch panel 100 may be moved by an X-Y table.
The pseudo finger drive mechanism 2 allows each of the pseudo fingers 21a, 21b, and 21c to touch an arbitrary coordinate position on the touch panel 100, in accordance with a control signal from the control part 10. The X-line connection circuit 31 is connected to the X electrodes 102 of the touch panel 100.
The X-line connection circuit 31 corresponds to a switch circuit that selects one of the X electrodes 102 in accordance with a control signal from the control part 10, and then connects the selected X electrode 102 to the capacitance measurement circuit 3. The Y-line connection circuit 32 corresponds to a switch circuit that selects one of the Y electrodes 103 in accordance with a control signal from the control part 10, and then connects the selected Y electrode 103 to the capacitance measurement circuit 3.
The capacitance measurement circuit 3 measures the capacitance of the sensing area 101 designated with the X electrode 102 selected by the X-line connection circuit 31 and the Y electrode 103 selected by the Y-line connection circuit 32, and outputs the capacitance value to the control part 10.
The display part 4 may be, for example, a liquid crystal display device or a display device including an LED (Light Emitting Diode). The display part 4 displays thereon an inspection result of the touch panel 100.
The control part 10 includes, for example, a CPU (Central Processing Unit) for executing predetermined arithmetic processing, a RAM (Random Access Memory) for temporarily storing data, a ROM (Read Only Memory) or an HDD (Hard Disk Drive) for storing a predetermined control program, and peripheral circuits of these components.
The control part 10 executes, for example, the control program stored in the ROM, thereby functioning as a touch processing part 11, a detection processing part 12, a correcting part 13, a maximum value retrieving part 14, a touched position acquiring part 15, a preparing part 16, a subsequent touched position acquiring part 17, and a determining part 18.
The touch processing part 11 executes a touch processing step in which the pseudo finger drive mechanism 2 allows the pseudo fingers 21a, 21b, and 21c to touch (contact with) inspection coordinates on the touch panel 100, respectively. In an illustrative embodiment, the touch processing part 11 controls the pseudo finger drive mechanism 2 such that the pseudo finger 21a touches an inspection coordinate TP1 on the touch panel 100 and the pseudo finger 21c touches an inspection coordinate TP2 on the touch panel 100.
The detection processing part 12 controls the X-line connection circuit 31 and the Y-line connection circuit 32 such that the X-line connection circuit 31 and the Y-line connection circuit 32 select the sensing areas 101 in sequence. Moreover, the detection processing part 12 controls the capacitance measurement circuit 3 such that the capacitance measurement circuit 3 measures the capacitance value in each sensing area 101. Thus, the detection processing part 12 acquires the capacitance value detected in each sensing area 101.
The correcting part 13 executes a correcting step of correcting each capacitance value, based on a correlation value table that stores therein a numerical influence to be exerted on the capacitance value in each sensing area 101 by the capacitance value in the sensing area 101 adjacent to each sensing area 101, and then calculating a correlation correction value for each sensing area 101.
The maximum value retrieving part 14 executes a maximum value retrieving step of retrieving the maximum value from among the correlation correction values.
The touched position acquiring part 15 executes a touched position acquiring step of defining the sensing area for which the correlation correction value is the maximum value, as a maximum area, calculating a centroid position as to an area including the maximum area and the sensing areas adjacent to the maximum area, based on the correlation correction values, and acquiring the calculated centroid position as a touched position.
The preparing part 16 executes a preparing step of decreasing the correlation correction value for the maximum area after the touched position acquiring part 15 acquires the touched position. In the preparing step, moreover, the preparing part 16 corrects the correlation correction values for the sensing areas surrounding the maximum area, based on the correlation correction values for the outer sensing areas adjacent to and located outward of the sensing areas surrounding the maximum area.
The subsequent touched position acquiring part 17 repeats the maximum value retrieving step and the touched position acquiring step again after the execution of the preparing step, thereby acquiring a new touched position.
The determining part 18 determines that the touch panel 100 is a defective, when at least one of deviation amounts between one or more touched positions acquired in the touched position acquiring step and one or more contact positions on the touch screen with the one or more pseudo fingers in the touch processing step exceeds a preset reference amount.
Next, the detection processing part 12 controls the capacitance measurement circuit 3 such that the capacitance measurement circuit 3 measures the capacitance value in each sensing area 101, and acquires the capacitance value detected in each sensing area 101 (step S2: detection processing step).
In the example illustrated in
Next, the correcting part 13 executes the correcting step in steps S3 to S6. First, the correcting part 13 sets one of the sensing areas 101 at a target area (step S3). Next, the correcting part 13 calculates a correlation correction value for the target area, based on the capacitance value in the target area, the capacitance values in the sensing areas adjacent to the target area, and the correlation value table obtained by a correlation function method (step S4).
Specifically, the correcting part 13 selects the sensing area 101 on coordinates (1, 1) as a target area, and extracts a processing target area 104 corresponding to a 3 by 3 matrix of sensing areas 101 including the target area and the sensing areas 101 adjacent to the target area.
In other words, the first correlation value 61 is set to be smaller than the target area correlation value 60, and the second correlation value 62 is set to be smaller than the first correlation value 61. The target area correlation value 60, the first correlation value 61, and the second correlation value 62 are set at values obtained by experiment so as to increase as an influence of the detection value in the sensing area 101 adjacent to the target area is large.
The correcting part 13 calculates the correlation correction value C(n,m) for the target area, that is, the sensing area on the coordinates (n, m), based on the following equation (1) on the assumption that the sensing area on the coordinates (X, Y) has the capacitance value DATA(X,Y), the sensing area on the coordinates (X, Y) has the correlation value MAT(X,Y) in the correlation value table 6, and the target area is located on the coordinates (n, m).
C(n,m)=MAT(n−1,m−1)×DATA(n−1,m−1)+MAT(n,m−1)×DATA(n,m−1)+MAT(n+1,m−1)×DATA(n+1,m−1)+MAT(n−1,m)×DATA(n−1,m)+MAT(n,m)×DATA(n,m)+MAT(n+1,m)×DATA(n+1,m)+MAT(n−1,m+1)×DATA(n−1,m+1)+MAT(n,m+1)×DATA(n,m+1)+MAT(n+1,m+1)×DATA(n+1,m+1) (1)
Next, the correcting part 13 determines whether or not the correlation correction values are acquired for all the sensing areas 101 (step S5). When the correlation correction values are not acquired for all the sensing areas 101 yet (NO in step S5), the correcting part 13 changes the target area to the sensing area 101 for which the correlation correction value is not acquired yet (step S6), and repeats steps S4 and S5 again.
Thus, the correlation correction value illustrated in
In step S4, preferably, the correlation correction value C(n,m) for an area 105 other than the end sensing areas is calculated based on the above equation (1). As to the end sensing areas shown with a broken line in
When the correlation correction values are acquired for all the sensing areas 101 as described above (YES in step S5), the processing proceeds to step S11.
In step S11, next, the maximum value retrieving part 14 substitutes 1 for a variable i (step S11), and then retrieves the maximum value MAX from among all the correlation correction values (step S12: maximum value retrieving step). In the example illustrated in
Next, the subsequent touched position acquiring part 17 determines whether or not the variable i is 1 (step S13: subsequent touched position acquiring step). When the variable i is 1 (YES in step S13), the maximum value MAX retrieved in step S12 is determined as the maximum value MAX which is initially retrieved. Therefore, the subsequent touched position acquiring part 17 sets the maximum value MAX as an initial maximum value MAX0 (step S14: subsequent touched position acquiring step), and then the processing proceeds to step S16.
In step S16, next, the touched position acquiring part 15 calculates a centroid position as to an extraction area including the maximum area and the sensing areas adjacent to the maximum area, based on the correlation correction values (step S16: touched position acquiring step).
The touched position acquiring part 15 calculates, as a lengthwise total value A, a sum of the correlation correction values on the coordinates (3, 8), (3, 9), and (3, 10) arranged in the lengthwise direction (Y direction). Moreover, the touched position acquiring part 15 calculates, as a lengthwise total value B, a sum of the correlation correction values on the coordinates (4, 8), (4, 9), and (4, 10) arranged in the lengthwise direction. Further, the touched position acquiring part 15 calculates, as a lengthwise total value C, a sum of the correlation correction values on the coordinates (5, 8), (5, 9), and (5, 10) arranged in the lengthwise direction. On the other hand, the touched position acquiring part 15 calculates, as a widthwise total value D, a sum of the correlation correction values on the coordinates (3, 8), (4, 8), and (5, 8) arranged in the widthwise direction (X direction). Moreover, the touched position acquiring part 15 calculates, as a widthwise total value E, a sum of the correlation correction values on the coordinates (3, 9), (4, 9), and (5, 9) arranged in the widthwise direction. Further, the touched position acquiring part 15 calculates, as a widthwise total value F, a sum of the correlation correction values on the coordinates (3, 10), (4, 10), and (5, 10) arranged in the widthwise direction.
The touched position acquiring part 15 calculates the X coordinate J of the centroid position, based on the following equations (2) to (4). Moreover, the touched position acquiring part 15 calculates the Y coordinate K of the centroid position, based on the following equations (5) to (7). It is assumed herein that the maximum area is located on the coordinates (G, H).
S=(A−2×B+C)/2=(267.5−2×292.9+212)/2=−53.15 (2)
T=(C−A)/2=(212−267.5)/2=−27.75 (3)
X coordinate J of centroid position=(−T/S/2)+G={−(−27.75)/(−53.15)/2}+4=3.74 (4)
U=(D−2×E+F)/2=(255.1−2×287.1+230.2)/2=−44.45 (5)
V=(F−D)/2=(230.2−255.1)/2=−12.45 (6)
Y coordinate K of centroid position=(−V/U/2)+H={−(−12.45)/(−44.45)/2}+9=8.86 (7)
Thus, the coordinates (J, K), that is, the coordinates (3.74, 8.86) of the centroid position are obtained based on the above equations (2) to (7).
Next, the touched position acquiring part 15 acquires, as a touched position P(i), the centroid position on the coordinates (J, K) of (3.74, 8.86) thus obtained (step S17: touched position acquiring step). In this case, in steps S3 to S6, the correlation correction value is calculated in consideration of the influence of the sensing area 101 adjacent to each sensing area, using the correlation value table 6, and the touched position P(i) is obtained based on the correlation correction value. Thus, the positional accuracy of the touched position P(i) is improved.
Next, the preparing part 16 executes the preparing step in steps S18 to S20. First, the preparing part 16 sets the correlation correction value for the maximum area at 0 (step S18). In the example illustrated in
As illustrated in
As illustrated in
Next, the subsequent touched position acquiring part 17 adds 1 to the variable i (step S21), and then the processing returns to step S12 again. In step S12, the maximum value retrieving part 14 retrieves the maximum value MAX from among all the correlation correction values (step S12: maximum value retrieving step). In the example illustrated in
In step S13, since the variable i is equal to 2 (i.e., the variable i is not 1) (NO in step S13), the processing proceeds to step S15. In step S15, the subsequent touched position acquiring part 17 compares a value obtained by multiplying the initial maximum value MAX0 by a reference ratio of 0.7 with the new maximum value MAX (step S15). When the maximum value MAX is equal to or more than the value of MAX0×0.7 (NO in step S15), the presence of a subsequent touched position is considered. Therefore, the processing in and after step S16 is executed. Thus, the second touched position P(2) of (4.82, 2.43) is obtained in step S17 as illustrated in
Thereafter, the processing in steps S18 to S21 is executed, and then the processing in step S12 is executed again. In step S12, the subsequent maximum value MAX is 70.2 on the coordinates (4, 7). In this case, in step S15, the subsequent maximum value MAX of 70.2 is less than the value of MAX0×0.7 (YES in step S15). In other words, since the correlation correction value on the coordinates (4, 7) is excessively smaller than the initial maximum value MAX0, the absence of a subsequent (third) touched position is considered. Therefore, when the maximum value MAX is less than the value of MAX0×0.7 (YES in step S15), the touched position acquiring step is finished. Then, the processing proceeds to step S31 in order to determine whether or not the touch panel 100 is a defective.
In step S31 (determining step), next, the determining part 18 determines whether or not the number of touched positions detected in step S17 is equal to the number of touches in step S1. Specifically, the number of touches is two in step S1. Moreover, when the detected number of touched positions is two, the value of the variable i is 3. Therefore, the determining part 18 determines whether or not the value of the variable i is 3. The variable i which is not 3 (NO in step S31) indicates that the number of touches in step S1 cannot be correctly detected. Therefore, the determining part 18 determines that the touch panel 100 is a defective, and sends the determination result to the display part 4 such that the display part 4 displays the determination result (step S37). Then the processing is finished.
On the other hand, the variable i which is 3 (YES in step S31) indicates that the number of touches in step S1, that is, the two touches can be correctly detected. Therefore, the processing proceeds to step S32 in order that the determining part 18 determines the touched position detection accuracy.
Next, the determining part 18 calculates a deviation amount D1 between the inspection coordinate TP1 and the touched position P(1) (step S32: determining step). Specifically, the deviation amount D1 is calculated based on, for example, the following equation (8) on the assumption that the inspection coordinate TP1 is located on coordinates (Xt1, Yt1) and the touched position P(1) is located on coordinates (X1, Y1).
D1=√{(Xt1−X1)2+(Yt1×Y1)2} (8)
Next, the determining part 18 compares a preset reference amount Ref with the deviation amount D1, as an allowable range of an error upon detection of the touched position on the touch panel 100 (hereinafter, such an error is referred to as a “touched position detection error”) (step S33: determining step). The deviation amount D1 exceeding the reference amount Ref (YES in step S33) indicates that the touched position detection accuracy deviates from the allowable range. Therefore, the determining part 18 determines that the touch panel 100 is a defective, and sends the determination result to the display part 4 such that the display part 4 displays the determination result (step S37). Then the processing is finished.
On the other hand, when the deviation amount D1 is equal to or less than the reference amount Ref (NO in step S33), the processing proceeds to step S34 in order that the determining part 18 makes a determination on the subsequent touched position. In step S34, the determining part 18 calculates a deviation amount D2 between the inspection coordinate TP2 and the touched position P(2) (step S34: determining step). Specifically, the deviation amount D2 is calculated based on, for example, the following equation (9) on the assumption that the inspection coordinate TP2 is located on coordinates (Xt2, Yt2) and the touched position P(2) is located on coordinates (X2, Y2).
D2=√{(Xt2−X2)2+(Yt2−Y2)2} (9)
Next, the determining part 18 compares the reference amount Ref with the deviation amount D2 (step S35: determining step). The deviation amount D2 exceeding the reference amount Ref (YES in step S35) indicates that the touched position detection accuracy deviates from the allowable range. Therefore, the determining part 18 determines that the touch panel 100 is a defective, and sends the determination result to the display part 4 such that the display part 4 displays the determination result (step S37). Then the processing is finished.
On the other hand, when the deviation amount D2 is equal to or less than the reference amount Ref (NO in step S35), the determining part 18 determines that the touch panel 100 is a non-defective, and sends the determination result to the display part 4 such that the display part 4 displays the determination result (step S36). Then the processing is finished.
The determining part 18 does not necessarily calculate the deviation amounts D1 and D2, based on the above equations (8) and (9) in steps S32 and S34. For example, the determination part 18 may compare the deviation amount in the X direction and the deviation amount in the Y direction with the reference amount, respectively.
The processing in steps S31 to S37 allows a determination whether or not the touch panel 100 is a defective, based on the touched position acquired with high accuracy in step S17. Therefore, it is possible to inspect the touch panel 100 with improved accuracy.
In an illustrative embodiment, the touch panel inspecting apparatus 1 includes the three pseudo fingers; however, the number of pseudo fingers is not limited to three. In an illustrative embodiment, the touch panel 100 is touched at two positions in step S1; however, the number of touches may be one or may be equal to or more than three. The processing in steps S31 to S35 may be appropriately changed in accordance with the number of touches on the touch panel 100.
The foregoing disclosure has been specifically described and illustrated in connection with certain illustrative embodiments. However, it is clearly understood that the embodiments are by way of illustration and example only and are not to be taken by way of limitation. The spirit and scope of the invention are limited only by the terms of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-028211 | Feb 2014 | JP | national |