METHOD OF DETECTING FLOATING MODE OF A TOUCH PANEL

Information

  • Patent Application
  • 20130176280
  • Publication Number
    20130176280
  • Date Filed
    December 18, 2012
    12 years ago
  • Date Published
    July 11, 2013
    11 years ago
Abstract
A method of detecting floating mode of a touch panel has steps of reading a sensing cluster and presetting a detection window; taking each sensing point of the sensing cluster as a center point of the detection window; after determining that the center point has a negative sensing value qualifying to be generated under a floating mode, further determining a count of the sensing points other than the center point having the sensing values generated under a grounding mode and incrementing an accumulative number by one if the count exceeds a first critical value; keeping incrementing the accumulative number until each sensing point in the sensing cluster has been taken as the center point of the detection window for scanning; and determining if the accumulative number exceeds a second critical value, and if positive, further determining that the current sensing cluster is generated under the floating mode.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to a method of detecting floating mode of a touch panel and more particularly to a method of detecting floating mode of sensing clusters of a capacitive touch panel generated under the floating mode.


2. Description of the Related Art


The touch concept of a capacitive touch panel is an approach detecting positions touched by users according to capacitance variations changed by static electricity on human body. To effectively respond to the signal of static electricity on human body, a metal housing generally used by a capacitive touch panel is connected to a grounding signal of the capacitive touch panel to constitute an electric ground structure so that users' hands are definitely in contact with the capacitive touch panel.


The widespread tablet personal computers (PC) and smart phones with large screens allow users to touch the touch panels of the electronic equipment with fingers or palms only. However, because of the ungrounded nature, irregular capacitance variations of the touch panels arise from the operation of the ungrounded touch panels or a floating mode of the touch panels.


With reference to FIGS. 6A to 6C, when a capacitive touch panel is operated under a grounding mode, a touch event generates an analog sensing signal variation. A value of capacitance variation (dV value) is obtained by subtracting a magnitude of the analog sensing signal from a preset base value of the touch panel and the peak value of the capacitance variation is positive. With reference to FIG. 7A, in a sensing frame 10 with full-frame sensors detecting continuously reporting hexadecimal sensing values, the sensing values of a sensing cluster 11 corresponding to the capacitance variation are shown.


With reference to FIG. 6D, if the touch event takes place under the floating mode, the peak value of the values of capacitance variation (dV value) is negative. With reference to FIG. 7B, in a sensing frame 10 with full-frame sensors detecting continuously reporting hexadecimal sensing values, the sensing values of central sensing points 111 of the sensing cluster 11 are negative, namely −150 and −100 (hexadecimal values). As the coordinates of a touch object are determined by the maximum value of the sensing cluster, the direct impact is incorrectly determined coordinates caused by the irregular capacitance variation.


Hence, the error rate of identifying touch objects increases if capacitive touch panels are operated under the floating mode.


SUMMARY OF THE INVENTION

An objective of the present invention is to provide a method of detecting floating mode of a touch panel capable of correctly determining a sensing cluster generated under the floating mode for the purpose of subsequent compensation and avoiding erroneous determination of the coordinates of a touch object detected under the floating mode.


To achieve the foregoing objective, the method of detecting floating mode of a touch panel has steps of:


reading a sensing cluster and presetting a detection window;


taking each sensing point of the sensing cluster as a center point of the detection window to perform scanning;


after determining that the center point has a negative sensing value qualifying to be generated under a floating mode, further determining a count of the sensing points other than the center point having the sensing values generated under a grounding mode and incrementing an accumulative number by one if the count exceeds a first critical value;


keeping incrementing the accumulative number until each sensing point in the sensing cluster has been taken as the center point of the detection window for scanning; and


determining if the accumulative number exceeds a second critical value, and if positive, further determining that the current sensing cluster is generated under the floating mode.


The present invention employs the detection window to scan a sensing cluster. As the central sensing points of the sensing cluster in the detection window have a negative peak value and other sensing points in the detection window have a normal distribution of the sensing values, the sensing cluster can satisfy the foregoing steps and can be correctly considered as one sensing value generated under the floating mode.


Other objectives, advantages and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a first embodiment of a method of detecting floating mode of a touch panel in accordance with the present invention;



FIG. 2 is a schematic view of a sensing cluster of a touch panel outputted under the floating mode in accordance with the present invention;



FIGS. 3A to 3D are flow diagrams of the sensing cluster in FIG. 2 when the sensing cluster is scanned;



FIG. 4 is a second embodiment of a method of detecting floating mode of a touch panel in accordance with the present invention;



FIG. 5 is a schematic view of multiple sensing clusters of a touch panel generated by corresponding touch objects under the floating mode in accordance with the present invention;



FIG. 6A is a waveform diagram of a preset base value of a conventional touch panel;



FIG. 6B is a waveform diagram of an analog sensing signal of the conventional touch panel in FIG. 6A touched under the grounding mode;



FIG. 6C is a waveform diagram of a capacitance variation of the conventional touch panel in FIG. 6A touched under the grounding mode;



FIG. 6D is a waveform diagram of a capacitance variation of the conventional touch panel in FIG. 6A touched under the floating mode; and



FIG. 7A is a schematic view of a sensing cluster of a conventional touch panel outputted under the grounding mode; and



FIG. 7B is a schematic view of a sensing cluster of a conventional touch panel outputted under the floating mode.





DETAILED DESCRIPTION OF THE INVENTION

With reference to FIGS. 1 and 2, a first embodiment of a method of detecting floating mode of a touch panel in accordance with the present invention has the following steps.


Step S10: Read a sensing cluster 11 having multiple sensing points 111 and preset a detection window. In the present embodiment, the sensing cluster is obtained from a scanned sensing frame. The size of the detection window preferably corresponds to that of a matrix containing corresponding number of capacitance sensing unit and matching the size of a finger. Given a touch panel with capacitance sensing units spaced apart by a gap in a range of 5.3 mm˜4.5 mm as an example, the detection window matches a 3×3 matrix in size.


Step S11: Take each sensing point 111 of the sensing cluster 11 as a center point of the detection window to perform scanning. With reference to FIG. 3A, the detection window having the 3×3 matrix corresponds to 9 sensing points 111 of the sensing cluster 11.


Step 12: After determining that the center point has a negative sensing value qualifying to be generated under the floating mode, further determine a count of other sensing points in the detection window having the sensing values generated under the grounding mode and increment an accumulative number by one if the count exceeds a first critical value. In the present embodiment, the first critical value is not less than 2. The sensing value of any sensing point having no sensing value in the detection window is replaced by a zero.


Step 13: Keep incrementing the accumulative number until all the sensing points in the sensing cluster have been taken as the center point of the detection window for scanning.


Step 14: Determine if the accumulative number is greater than a second critical value, and if positive, further determine that the current sensing cluster is generated under the floating mode. In the present embodiment, the second critical value is not less than 2.


For a sensing cluster 11 generated under the floating mode, only the central sensing points 111 at the center of the sensing cluster 11 have negative sensing values. With reference to FIGS. 3A to 3D, the sensing cluster 11 is detected for 12 times by taking each sensing point in the sensing cluster 11 as a center point of the detection window, and the central sensing points have two negative values, namely −150 and −100 (hexadecimal values). Hence, at least two detection windows with the respective central sensing points as the center points are applied for detection, and the condition exceeding the first critical value is met and the condition exceeding the second critical value is also met. Accordingly, the current sensing cluster 11 shown in FIG. 2 is generated under the floating mode.


The foregoing detection only focuses on if a single sensing cluster is generated under the floating mode. With reference to FIG. 4, given a sensing frame with full-frame sensors, a second embodiment of a method of detecting floating mode in accordance with the present invention has the following steps.


S20: Read a sensing frame having multiple sensing points and preset a detection window. In the present embodiment, the size of the detection window preferably corresponds to that of a matrix containing corresponding number of capacitance sensing unit and matching the size of a finger. Given a touch panel with capacitance sensing units spaced apart by a gap in a range of 5.3 mm˜4.5 mm as an example, the detection window matches a 3×3 matrix in size.


Step S21: Take each sensing point of the sensing frame as a center point of the detection window to perform scanning. With reference to FIG. 3A, the detection window having the 3×3 matrix corresponds to 9 sensing points 111 of the sensing frame 10.


Step 22: After determining that the center point has a negative sensing value qualifying to be generated under the floating mode, further determine a count of other sensing points in the detection window having the sensing values generated under the grounding mode and increment an accumulative number by one if the count exceeds a first critical value. In the present embodiment, the first critical value is not less than two. The sensing value of any sensing point having no sensing value in the detection window is replaced by a zero.


Step 23: Keep incrementing the accumulative number until all the sensing points in the sensing frame have been taken as the center point of the detection window for scanning.


Step 24: Determine if the accumulative number is greater than a second critical value, and if positive, further determine that the current sensing frame is generated under the floating mode. In the present embodiment, the second critical value is not less than two.


With reference to FIG. 5, a sensing frame 10 generated under the floating mode has two sensing clusters 11. In the present embodiment, all the sensing points 111 in the sensing frame 10 are scanned by the detection window. Likewise, as the sensing values of the central sensing points in the detection window are far less than those of other sensing points in the detection window, the comparison condition associated with the first critical value and the second critical value can thus be met. Accordingly, a sensing frame generated under the floating mode can be correctly detected.


In step 12, a first floating margin can be set up for determining if a sensing value is less than the first floating margin. If positive, the sensing value is considered as one sensing value generated under the floating mode. Besides, a second floating margin is set up to be less than the first floating margin for determining if a sensing value falls within the second floating margin and the first floating margin. If positive, the sensing value is considered as one sensing value generated under the floating mode. Similarly, a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin. If positive, the sensing value is considered as one sensing value generated under the grounding mode. Besides, a second grounding margin is set up for determining if a sensing value falls within the first grounding margin and the second grounding margin. If positive, the sensing value is considered as one sensing value generated under the grounding mode. By setting up the first floating margin to be less than a negative noise threshold and the first grounding margin to be greater than a positive noise threshold, erroneous determination result arising from noise interference can be ruled out.


In sum, the present invention can correctly determine if the current sensing cluster or the sensing frame is generated under the floating mode. Subsequent compensation can be performed based on the determination result and helps identify the coordinates of a touch object detected under the floating mode.


Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only. Changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.

Claims
  • 1. A method of detecting floating mode of a touch panel, comprising steps of: (a) reading a sensing cluster having multiple sensing points and presetting a detection window;(b) taking each sensing point of the sensing cluster as a center point of the detection window to perform scanning;(c) after determining that the center point has a negative sensing value qualifying to be generated under a floating mode, further determining a count of other sensing points in the detection window having the sensing values generated under a grounding mode and incrementing an accumulative number by one if the count exceeds a first critical value;(d) keeping incrementing the accumulative number until all the sensing points in the sensing cluster have been taken as the center point of the detection window for scanning; and(e) determining if the accumulative number is greater than a second critical value, and if positive, further determining that the current sensing cluster is generated under the floating mode.
  • 2. The method as claimed in claim 1, wherein in step (c), a first floating margin is set up for determining if a sensing value is less than the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 3. The method as claimed in claim 1, wherein in step (c), a first floating margin and a second floating margin being less than the first floating margin are set up for determining if a sensing value falls within the second floating margin and the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 4. The method as claimed in claim 1, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 5. The method as claimed in claim 2, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 6. The method as claimed in claim 3, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 7. The method as claimed in claim 1, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 8. The method as claimed in claim 2, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 9. The method as claimed in claim 3, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 10. The method as claimed in claim 2, wherein the first floating margin is less than a negative noise threshold.
  • 11. The method as claimed in claim 3, wherein the first floating margin is less than a negative noise threshold.
  • 12. The method as claimed in claim 4, wherein the first grounding margin is greater than a positive noise threshold.
  • 13. The method as claimed in claim 5, wherein the first grounding margin is greater than a positive noise threshold.
  • 14. The method as claimed in claim 6, wherein the first grounding margin is greater than a positive noise threshold.
  • 15. The method as claimed in claim 7, wherein the first grounding margin is greater than a positive noise threshold.
  • 16. The method as claimed in claim 8, wherein the first grounding margin is greater than a positive noise threshold.
  • 17. The method as claimed in claim 9, wherein the first grounding margin is greater than a positive noise threshold.
  • 18. The method as claimed in claim 1, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 19. The method as claimed in claim 2, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 20. The method as claimed in claim 3, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 21. The method as claimed in claim 4, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 22. The method as claimed in claim 5, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 23. The method as claimed in claim 6, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 24. The method as claimed in claim 7, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 25. The method as claimed in claim 8, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 26. The method as claimed in claim 9, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 27. A method of detecting floating mode of a touch panel, comprising steps of: (a) reading a sensing frame and presetting a detection window;(b) taking each of multiple sensing points selected from the sensing frame as a center point of the detection window to perform scanning;(c) after determining that the center point has a negative sensing value qualifying to be generated under a floating mode, further determining a count of other sensing points in the detection window having the sensing values generated under a grounding mode and incrementing an accumulative number by one if the count exceeds a first critical value;(d) keeping incrementing the accumulative number until all the selected sensing points in the sensing frame have been taken as the center point of the detection window for scanning; and(e) determining if the accumulative number is greater than a second critical value, and if positive, further determining that the selected sensing points of the current sensing frame are generated under the floating mode.
  • 28. The method as claimed in claim 27, wherein in step (b), each of entire sensing points of the sensing frame is taken as a center point of the detection window for scanning; andin step (d), the accumulative number is kept incrementing until entire sensing points in the sensing frame have been taken as the center point of the detection window for scanning.
  • 29. The method as claimed in claim 27, wherein in step (c), a first floating margin is set up for determining if a sensing value is less than the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 30. The method as claimed in claim 28, wherein in step (c), a first floating margin is set up for determining if a sensing value is less than the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 31. The method as claimed in claim 27, wherein in step (c), a first floating margin and a second floating margin being less than the first floating margin are set up for determining if a sensing value falls within the second floating margin and the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 32. The method as claimed in claim 28, wherein in step (c), a first floating margin and a second floating margin being less than the first floating margin are set up for determining if a sensing value falls within the second floating margin and the first floating margin, and if positive, the sensing value is considered as one sensing value generated under the floating mode.
  • 33. The method as claimed in claim 27, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 34. The method as claimed in claim 28, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 35. The method as claimed in claim 29, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 36. The method as claimed in claim 30, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 37. The method as claimed in claim 31, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 38. The method as claimed in claim 32, wherein in step (c), a first grounding margin is set up for determining if a sensing value is greater than the first grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 39. The method as claimed in claim 27, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 40. The method as claimed in claim 28, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 41. The method as claimed in claim 29, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 42. The method as claimed in claim 30, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 43. The method as claimed in claim 31, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 44. The method as claimed in claim 32, wherein in step (c), a first grounding margin and a second grounding margin being greater than the first grounding margin are set up for determining if a sensing value falls within the first grounding margin and the second grounding margin, and if positive, the sensing value is considered as one sensing value generated under the grounding mode.
  • 45. The method as claimed in claim 29, wherein the first floating margin is less than a negative noise threshold.
  • 46. The method as claimed in claim 30, wherein the first floating margin is less than a negative noise threshold.
  • 47. The method as claimed in claim 31, wherein the first floating margin is less than a negative noise threshold.
  • 48. The method as claimed in claim 32, wherein the first floating margin is less than a negative noise threshold.
  • 49. The method as claimed in claim 33, wherein the first grounding margin is greater than a positive noise threshold.
  • 50. The method as claimed in claim 34, wherein the first grounding margin is greater than a positive noise threshold.
  • 51. The method as claimed in claim 39, wherein the first grounding margin is greater than a positive noise threshold.
  • 52. The method as claimed in claim 40, wherein the first grounding margin is greater than a positive noise threshold.
  • 53. The method as claimed in claim 27, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 54. The method as claimed in claim 28, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 55. The method as claimed in claim 29, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 56. The method as claimed in claim 30, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 57. The method as claimed in claim 31, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 58. The method as claimed in claim 32, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 59. The method as claimed in claim 33, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 60. The method as claimed in claim 34, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 61. The method as claimed in claim 39, wherein the first critical value is not less than two, and the second critical value is not less than two.
  • 62. The method as claimed in claim 40, wherein the first critical value is not less than two, and the second critical value is not less than two.
Priority Claims (1)
Number Date Country Kind
101100581 Jan 2012 TW national