Background
When a touch device such as a touch pad is used, the touch pad is often prone to a false touch phenomenon due to the proximity of the palm of a user, and in order to prevent the unexpected false touch phenomenon of the palm, a touch firmware is required to calculate whether the sensing characteristic value meets the false touch phenomenon, so as to suppress the false touch behavior and avoid unexpected clicking and moving.
The conventional touch device prevents a wrong touch by mainly determining whether the touch is a wrong touch by a palm or other unexpected fingers according to the magnitude of an induction generated by an object touch, so that how to well determine whether the touch is a wrong touch by a palm or a real touch by a palm becomes important.
Taking a touch pad of a notebook computer as an example, as shown in fig. 1, the sensing amounts of the touches on thefirst area 11 in the center of thetouch pad 10 and thesecond area 13 close to the boundary are usually different, because the touch on thesecond area 13 usually has a part of palm touch exceeding the sensed boundary and cannot be sensed by the sensing circuit of thetouch pad 10, and therefore, the touch sensing information at the boundary is usually less than the complete sensing at the center. Accordingly, in the design of preventing the touch panel from being touched by mistake, the algorithm threshold value for preventing the palm from being touched by mistake in thefirst area 11 is usually relatively higher than the threshold value in thesecond area 13, that is, the touch by mistake is not easily established in thefirst area 11, and since the algorithm threshold value for preventing the palm from being touched by mistake in thesecond area 13 close to the boundary is lower, a smaller touch sensing amount can be determined as the touch by mistake, so that the touch panel can meet the actual application situation.
Therefore, the conventional method for preventing the palm miss-touch first needs to determine whether the palm hit is close to thesecond area 13 of the boundary by finding whether the position of the Peak (Peak) of the relatively high point in the touch sensing area falls within the boundary range, and if so, the threshold value of the algorithm for preventing the palm miss-touch is set to a lower value. However, under the condition of large-area touch of the palm, the peak distribution in the touch sensing area usually shows a gentle top phenomenon, so that the peak value is likely to jump and change positions, the peak value position is not fixed, and even the peak value can jump out of a boundary range, and further an incorrect threshold value is set; moreover, because how far the peak position is from the boundary cannot be accurately known, and because the position determination is based on the distance (Sensor pitch) of each touch Sensor, the accuracy is poor and it is difficult to meet the actual requirement; in addition, due to the fact that only a plurality of fixed threshold value conditions are switched among different areas, the problem that the algorithm is discontinuous in judging the false touch is easily caused, the false touch is judged sometimes, and the problem of jumping of legal touch is judged sometimes.
Therefore, the conventional touch device still has many defects in the design of preventing the erroneous touch, and needs to be improved.
Drawings
Fig. 1 is a configuration diagram of a conventional touch panel that can switch to touch operation or digital input.
Fig. 1 schematically shows different touch areas of a touch panel of a conventional notebook computer.
Fig. 2 is a schematic view of a touch device according to an embodiment of the invention.
Fig. 3(a) schematically shows the touch sensing value distribution of the touch sensing units located in the area range a of the central portion of the touch surface.
Fig. 3(B) schematically shows the touch sensing value distribution of the touch sensing units located in the area range B of the boundary of the touch surface.
FIG. 4 is a flowchart of a touch method for preventing erroneous touch on a touch device.
Fig. 5(a) and 5(B) are schematic diagrams respectively illustrating an object touching the center of the touch surface and an object touching the boundary of the touch surface to show an example of the present invention.
Fig. 6(a) shows that the variation relationship between the distance between the touch range and the boundary of the touch surface and the false touch threshold is a linear relationship.
Fig. 6(B) shows that the variation relationship between the distance between the touch range and the boundary of the touch surface and the false touch threshold is a polynomial relationship.
Fig. 6(C) shows that the variation relationship between the distance between the touch range and the boundary of the touch surface and the false touch threshold is a natural logarithm relationship.
Fig. 7(a) and 7(B) are schematic diagrams respectively illustrating an object touching an upper boundary of the proximity touch surface and an object touching a lower boundary of the proximity touch surface to show another example of the present invention.
Description of the symbols:
first region 11 oftouchpad 10
Second area 13touch device 20
Touch control surface 21touch control controller 23
Touch sensing units 211, 2111, 2113, 2115
Central regions 51, 53, 71, 73
Framing edges 55, 57, 75, 77
Area Range A, B Steps S401-S409
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific examples described herein are merely illustrative of the embodiments of the invention and are not intended to limit the invention.
Fig. 2 is a schematic diagram of atouch device 20 according to an embodiment of the invention, in which thetouch device 20 has atouch surface 21 and atouch controller 23 coupled to thetouch surface 21, thetouch controller 23 is used for controlling a touch operation of a user on thetouch surface 21 and performing a process of making an erroneous touch, thetouch surface 21 may have a plurality oftouch sensing units 211, eachtouch sensing unit 211 has a touch sensing value during the touch operation, and eachtouch sensing unit 211 corresponds to a sensing area formed by a driving line electrode and a sensing line electrode, for example, as known by those skilled in the touch technology, so details thereof will not be described. Furthermore, when an object touches thetouch surface 21, the touch sensing value of thetouch sensing unit 211 in an area range affected by the touch will become larger, and thetouch controller 23 can know the occurrence of the touch event by reading the touch sensing values of thetouch sensing units 211, that is, when the touch sensing value of thetouch sensing unit 211 in an area range becomes larger, it can be determined that an object touches thetouch sensing unit 211 in the area range.
In thetouch device 20 of the present invention, the touch sensing value of thetouch sensing unit 211 in an area range read by thetouch controller 23 is used to calculate whether the touch area range is located at the center of thetouch surface 21 or near the boundary of thetouch surface 21. In fig. 2, an area range a and an area range B affected by the object touch are respectively shown, wherein the area range a is located at the center of thetouch surface 21, the area range B is located at the boundary of thetouch surface 21, and the area range affected by the object touch is shown by a dotted line for easy and clear description.
Fig. 3(a) schematically shows the distribution of touch sensing values of thetouch sensing units 211 located in the area range a of the central portion of thetouch surface 21, wherein the pressure of the object touching the area range a decreases from the touch pressure point to the outside, so the distribution of touch sensing values during large-area touch appears to decrease in a gradient manner from the touch pressure center of thetouch sensing unit 211 to the outside of thetouch sensing unit 211. While fig. 3(B) schematically shows the touch sensing value distribution of thetouch sensing units 211 located in the area range B of the boundary of thetouch surface 21, similar to fig. 3(a), the touch sensing value distribution is also decreased in a gradient manner from thetouch sensing unit 211 at the pressing center to thetouch sensing unit 211 at the outside, however, when approaching the boundary of thetouch surface 21, the touch sensing value of thetouch sensing unit 211 at the boundary is still relatively close to the touch sensing value of thetouch sensing unit 211 at the pressing center because the actual area range B exceeds thetouch surface 21. In summary, it can be known that the closer the touch sensing value at the edge of the area range affected by the object touch is to the touch sensing value at the center of the area range, the smaller the distance between the area range and thetouch surface 21 boundary is, that is, the distance between the area range and thetouch surface 21 boundary can be represented by the ratio of the touch sensing value at the edge of the area range to the touch sensing value at the center of the area range, and the closer the ratio is to 1, the smaller the distance between the touch area range and the touch surface boundary is.
Based on the distribution of the touch sensing values shown in fig. 3(a) and fig. 3(B), thetouch controller 23 can determine that an area range affected by the object touch is located in the center of thetouch surface 21 or close to the boundary of thetouch surface 21 according to the ratio, and further set a mis-touch threshold value for determining whether the touch is a normal touch or a mis-touch. Fig. 4 is a flowchart illustrating a touch method for preventing erroneous touch on a touch device, and please refer to fig. 5(a) and 5(B) which respectively illustrate schematic diagrams of an object touching the center of thetouch surface 21 and an object touching the boundary of thetouch surface 21 to show an example of the present invention, wherein, as described above, thetouch surface 21 of thetouch device 20 has a plurality of touch sensing units, and the plurality oftouch sensing units 211 are arranged in rows (row) and columns (column), eachtouch sensing unit 211 has a touch sensing value during touch operation, and 15 rows and 9 columns oftouch sensing units 211 are shown in fig. 5(a) and 5(B), but the values of the rows and the columns are only schematic diagrams for convenience of illustration, and when there are more rows and columns in practical applications.
First, in step S401, thetouch controller 23 obtains touch sensing values of all thetouch sensing units 211 on thetouch surface 21, and finds thetouch sensing unit 211 with the largest touch sensing value as a peak touch sensing unit, as shown in fig. 5(a), it can find thetouch sensing unit 2111 with the largest touch sensing value (1869), so thetouch sensing unit 2111 is the found peak touch sensing unit, and in fig. 5(B), it can find thetouch sensing unit 2113 with the largest touch sensing value (1869), so thetouch sensing unit 2113 is the found peak touch sensing unit.
Next, in step S403, thetouch controller 23 takes the peak touch sensing unit as a starting point to find a touch sensing unit having a touch sensing value greater than a predetermined area threshold value from the surrounding area, to form a frame-selected area range affected by the object touch, in the embodiment, the preset area threshold is taken as 400 as an example, as shown in fig. 5(a), thetouch sensing units 211 with touch sensing values greater than 400 (e.g., thetouch sensing units 211 marked by oblique lines in fig. 5 a) can be found from thetouch sensing unit 2111 to the surroundings, so as to determine a minimum quadrilateral range (i.e., a quadrilateral range surrounded by thetouch sensing units 211 in the 1 st row, the 6 th row and the 11 th row) including thetouch sensing units 211 with touch sensing values greater than the predetermined area threshold, thereby forming the frame selection area range. Similarly, in fig. 5(B), thetouch sensing unit 2113 can find thetouch sensing units 211 with touch sensing values greater than 400 (e.g., thetouch sensing units 211 marked by oblique lines in fig. 5 (B)) to determine a minimum quadrilateral range (i.e., the quadrilateral range surrounded by thetouch sensing units 211 of the 1 st row, the 5 th row, the 6 th row and the 11 th row) including thetouch sensing units 211 with touch sensing values greater than the predetermined area threshold value, thereby forming the frame selection area range. In this example, the frame selection area range may be a quadrilateral area based on the row-column arrangement of thetouch sensing units 211, but the invention is not limited thereto.
In step S405, thetouch controller 23 searches for a central area of the frame area range according to the edge of the frame area range, wherein thetouch controller 23 may calculate the central area of the frame area range by using the left edge and the right edge of the frame area range based on rows (columns), as shown in fig. 5(a), since the left edge and the right edge of the frame area range are respectivelyrow 1 androw 6, according to the following formula: similarly, in fig. 5(B), since the Center is the sequence representing the central area, the Right is the sequence representing the Right edge, and the Left is the sequence representing the Left edge, thecentral area 51 of the frame selection area range is thetouch sensing unit 211 of the 4 th column in the frame selection area range, and the Left edge and the Right edge of the frame selection area range are the 1 st column and the 5 th column respectively, according to the formula: since the Center ═ Left + ((Right-Left +1)/2) ═ 1+ ((5-1+1)/2) ═ 3.5, and the integer is 3, thecentral area 53 in the frame selection area range is the 3 rd row oftouch sensing units 211 in the frame selection area range. In the embodiment, thetouch controller 23 selects the left edge and the right edge of the frame area range based on the rows to find the central area of the frame area range, but the invention is not limited thereto, and it is conceivable that thetouch controller 23 may select the upper edge and the lower edge of the frame area range based on the rows to calculate the central area of the frame area range.
Furthermore, thetouch controller 23 searches for a frame selection edge of the frame selection area range according to the edge of the frame selection area range and the boundary of thetouch surface 21, as shown in fig. 5(a), since the left edge of the frame selection area range is closest to the boundary of thetouch surface 21, the left edge of the frame selection area range is set as theframe selection edge 55, and similarly, as shown in fig. 5(B), the left edge of the frame selection area range is also closest to the boundary of thetouch surface 21, so the left edge of the frame selection area range is set as theframe selection edge 57.
Further, thetouch controller 23 accumulates the touch sensing values of thetouch sensing units 211 in theframe edge 55 or 57 of the frame area range as a first value, accumulates the touch sensing values of thetouch sensing units 211 in thecentral area 51 or 53 of the frame area range as a second value, and calculates a ratio of the first value to the second value, as described above, the ratio may represent a distance between the frame area range and the boundary of thetouch surface 21. In fig. 5(a), the first value is 26+146+550+492+126+42, 1382, the second value is 1232+1812+1514+1201+1582+1665, 9006, and the ratio of the first value to the second value is 1382/9006, 0.153, since the ratio is much smaller than 1, the distance between the frame-selected area range and the boundary of thetouch surface 21 is large, and it can be determined that the object touches the center of thetouch surface 21 rather than the boundary. On the contrary, in fig. 5(B), the first value 445+1533+1732+1869+1514+411 is 7152, the second value 1348+1585+1610+1816+1769+1420 is 8923, and the ratio of the first value to the second value 7152/8923 is 0.801, since the ratio is very close to 1, the distance between the frame area and the boundary of thetouch surface 21 is very small, and it can be determined that the object touches the boundary of thetouch surface 21. Accordingly, the above ratio can be used as a judgment of the distance between the range of the object touching thetouch surface 21 and the boundary of thetouch surface 21, and the closer the touching range is to the boundary, the closer the ratio is to 1, and the more relaxed the condition for making a false touch is.
In step S407, thetouch controller 23 sets a false touch threshold according to the ratio to determine whether a false touch is detected (i.e., a false touch is determined when the touch sensing amount is greater than the false touch threshold), wherein the false touch threshold is smaller when the ratio is closer to 1, so that the condition of the false touch is more relaxed. Furthermore, the variation relationship between the boundary distance (the distance between the area range affected by the object touch and the boundary of the touch control surface 21) represented by the ratio and the false touch threshold value may be a continuous variation relationship such as a linear relationship shown in fig. 6(a), a polynomial relationship shown in fig. 6(B), or a natural logarithmic relationship shown in fig. 6(C), so that the problem of jitter caused by discontinuity in determining false touch in the prior art can be avoided.
In step S409, when thetouch controller 23 determines that there is a false touch, the operating system performs a false touch processing procedure to eliminate the possible influence of the false touch.
To illustrate that thetouch controller 23 may also select the upper edge and the lower edge of the frame area range based on the rows to calculate the central area of the frame area range in the aforementioned step S405, fig. 7(a) and 7(B) respectively show schematic diagrams of an object touching the upper boundary of theproximity touch surface 21 and an object touching the lower boundary of theproximity touch surface 21 to show another example of the present invention.
In fig. 7 a, the touch sensing unit 2115 can be found as the touch sensing unit with the largest touch sensing value (1611), so the touch sensing unit 2115 is used as the peak touch sensing unit, and the touch sensing unit 211 with the touch sensing value larger than the preset area threshold (400) is found around, as shown by the touch sensing unit 211 marked by the oblique line in fig. 7 a, so as to form a frame selection area range (the range enclosed by the touch sensing units 211 in the rows 9, 14, 2, and 7) affected by the object touch, and then the touch controller 23 forms the frame selection area range according to the formula: up + ((Down-Up +1)/2) ═ 2+ ((7-1+1)/2) ═ 5.5, where the integer is 5, where Center is the row sequence representing the central area, Up is the row sequence representing the upper edge, and Down is the row sequence representing the lower edge, the central area 71 of the frame selection area range is calculated as the touch sensing unit 211 of the 5 th row in the frame selection area range, furthermore, since the upper edge of the frame selection area range is closest to the boundary of the touch surface, the upper edge of the frame selection area range is set as the frame selection edge 75, further, the touch controller 23 accumulates the touch sensing value of the touch sensing unit 211 in the frame selection edge 75 of the frame selection area range to be a first value (161+840+1139+838+201+ 3189), and the accumulated binary sensing value of the touch sensing unit 211 in the central area 71 of the frame selection area range to be a first value (1402 + 761 +1306+ 31 + (1402 +1306+ 99)), and calculating the ratio of the first value to the second value as 3189/7699 being 0.414, since the ratio is close to the middle value between 0 and 1, it can be determined that the object touches the center of the touch surface 21 close to the boundary.
In fig. 7B, thetouch sensing unit 2117 can be found to have the largest touch sensing value (1671), so thetouch sensing unit 2117 is used as the peak touch sensing unit, and thetouch sensing unit 211 with the touch sensing value larger than the preset area threshold value (400) is found around, as thetouch sensing unit 211 marked by the oblique line in fig. 7B, so as to form a frame selection area range (the range enclosed by the touch sensing units 211 in the rows 10, 15, 10, and 15) affected by the object touch, and then the touch controller 23 forms the frame selection area range according to the formula: calculating Center-Up + ((Down-Up +1)/2) 10+ ((15-10+1)/2) 13, calculating the central region 73 of the frame selection area range as the touch sensing unit 211 in the 13 th row of the frame selection area range, setting the lower edge of the frame selection area range as the frame selection edge 77 because the lower edge of the frame selection area range is closest to the boundary of the touch surface 21, further, the touch controller 23 adds the touch sensing value of the touch sensing unit 211 in the frame selection edge 77 of the frame selection area range to a first value (84+894+1230+1013+281+ 1) 3503), and adds the touch sensing value of the touch sensing unit 211 in the central region 73 of the frame selection area range to a first value (1657+ 1408+1480+ 491 +1569+ 8102), and calculates the ratio of the first value to the second value as 1490. 3503/8102, since the ratio is close to the middle of 0 and 1, it can be determined that the object touches the center of thetouch surface 21 close to the boundary.
As can be seen from the above description, the touch device and method for preventing erroneous touch according to the present invention can accurately know the position of the object, such as the palm, from the boundary of the touch surface during touch, and set a suitable erroneous touch threshold value accordingly, so that the touch area does not need to be divided into different areas, thereby improving the inaccuracy problem caused by the peak value jumping due to the fact that the peak value position is only used as the palm position in the prior art.
The above-described embodiments are merely exemplary for convenience in explanation, and the scope of the claims of the present invention should be determined by the claims rather than by the limitations of the above-described embodiments.