Abstract:
A touch sensing method adapted for an electronic apparatus including a touch panel is provided. A touch sensing method includes the following steps: obtaining a mutual-mode data by sensing a gesture applied on the touch panel in a mutual capacitance mode during a first period of a sensing frame; obtaining a self-mode data by sensing the gesture applied on the touch panel in a self capacitance mode during a second period of the sensing frame; and determining a touch location associated with the gesture on the touch panel based on the self-mode data or the mutual-mode data. Furthermore, an electronic apparatus to which the foregoing touch sensing method is applied is also provided.

Description:
BACKGROUND OF THE INVENTION 
       [0001]    1. Field of the Invention 
         [0002]    The invention relates to a sensing method and an electronic apparatus using the same, and more particularly relates to a touch sensing method and an electronic apparatus using the same. 
         [0003]    2. Description of Related Art 
         [0004]    In this information era, reliance on electronic products is increasing day by day. The electronic products including notebook computers, mobile phones, personal digital assistants (PDAs), digital walkmans, and so on are indispensable in our daily lives. Each of the aforesaid electronic products has an input interface for a user to input his or her command, such that an internal system of each of the electronic product spontaneously runs the command. At this current stage, the most common input interface includes a keyboard and a mouse. 
         [0005]    From the user&#39;s aspect, it is sometimes rather inconvenient to use the conventional input interface including the keyboard and the mouse. Manufacturers aiming to resolve said issue thus start to equip the electronic products with touch input interfaces, e.g. touch pads or touch panels, so as to replace the conditional keyboards and mice. At present, the users&#39; commands are frequently given to the electronic products by physical contact or sensing relationship between users&#39; fingers or styluses and the touch input interfaces. 
         [0006]    For a smart phone, capacitive touch input interfaces are usually highly sensitive, and battery charging is an important topic. The transformer with a USB core is common used for battery charging. However, charging voltages from an AC power supply easily bring AC noise into a touch sensing controller of the smart phone which results in error points reported. Accordingly, how to prevent the touch sensing controller from reporting error points is one of the important issues at present. 
       SUMMARY OF THE INVENTION 
       [0007]    The invention is directed to a touch sensing method capable of preventing the touch controller from reporting error points. 
         [0008]    The invention is directed to an electronic apparatus capable of preventing the touch controller from reporting error points. 
         [0009]    The invention provides a touch sensing method adapted for an electronic apparatus including a touch panel. The touch sensing method includes the following steps: obtaining a mutual-mode data by sensing a gesture applied on the touch panel in a mutual capacitance mode during a first period of a sensing frame; obtaining a self-mode data by sensing the gesture applied on the touch panel in a self capacitance mode during a second period of the sensing frame; and determining a touch location associated with the gesture on the touch panel based on the self-mode data or the mutual-mode data. 
         [0010]    In an embodiment of the invention, the touch sensing method further includes the following step: determining whether the electronic apparatus is connected to an alternating-current (AC) power supply. If the electronic apparatus is not connected to the AC power supply, the touch location associated with the gesture on the touch panel is determined based on the mutual-mode data. 
         [0011]    In an embodiment of the invention, if the electronic apparatus is connected to the AC power supply, the touch sensing method further includes the following step: determining whether the self-mode data and the mutual-mode data are equivalent. If the self-mode data and the mutual-mode data are equivalent, the touch location associated with the gesture on the touch panel is determined based on the mutual-mode data. 
         [0012]    In an embodiment of the invention, if the self-mode data and the mutual-mode data are not equivalent, the touch location associated with the gesture on the touch panel is determined based on the self-mode data. 
         [0013]    The invention provides an electronic apparatus including a touch panel and a touch sensing controller. The touch panel includes a plurality of sensing blocks and senses a gesture applied thereon based on capacitive variations of the sensing blocks. The touch panel senses the gesture applied on the touch panel in a mutual capacitance mode during a first period of a sensing frame and senses the gesture applied on the touch panel in a self capacitance mode during a second period of the sensing frame. The touch sensing controller is connected to the touch panel and determines a touch location associated with the gesture on the touch panel based on the self-mode data or the mutual-mode data. 
         [0014]    In an embodiment of the invention, the touch sensing controller further determines whether the electronic apparatus is connected to an alternating-current (AC) power supply, and if the electronic apparatus is not connected to the AC power supply, the touch sensing controller determines the touch location associated with the gesture on the touch panel based on the mutual-mode data. 
         [0015]    In an embodiment of the invention, if the electronic apparatus is connected to the AC power supply, the touch sensing controller determines whether the self-mode data and the mutual-mode data are equivalent, and if the self-mode data and the mutual-mode data are equivalent, the touch sensing controller determines the touch location associated with the gesture on the touch panel based on the mutual-mode data. 
         [0016]    In an embodiment of the invention, if the self-mode data and the mutual-mode data are not equivalent, the touch sensing controller determines the touch location associated with the gesture on the touch panel based on the self-mode data. 
         [0017]    In an embodiment of the invention, the first period is longer than the second period in the sensing frame. 
         [0018]    In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanying figures are described in detail below. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0019]    The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. 
           [0020]      FIG. 1A  shows a block diagram of an electronic apparatus according to an embodiment of the invention. 
           [0021]      FIG. 1B  shows a timing diagram of each sensing according to an embodiment of the invention. 
           [0022]      FIG. 2  shows a schematic diagram of the touch panel of the electronic apparatus working under a normal status according to an embodiment of the invention. 
           [0023]      FIG. 3  shows a schematic diagram of the touch panel of the electronic apparatus working under a charging status according to an embodiment of the invention. 
           [0024]      FIG. 4  shows a schematic diagram of the touch panel of the electronic apparatus working under the charging status according to another embodiment of the invention. 
           [0025]      FIG. 5  shows a flowchart of the touch sensing method according to an embodiment of the invention. 
           [0026]      FIG. 6  shows a flowchart of the touch sensing method according to another embodiment of the invention. 
       
    
    
     DESCRIPTION OF EMBODIMENTS 
       [0027]      FIG. 1A  shows a block diagram of an electronic apparatus according to an embodiment of the invention. Referring to  FIG. 1A , the electronic apparatus  100  of the present embodiment has multi-touch function for sensing users&#39; gestures and includes a touch panel  110  and a touch sensing controller  120 . The touch panel  110  is configured to sense users&#39; gestures applied thereon, and the touch sensing controller  120  is connected to the touch panel  110  and configured to control the electronic apparatus  100  to perform various functions associated with the users&#39; gestures. In order to prevent the touch controller  120  from reporting error touch locations, a touch sensing method combining a self capacitance mode and a mutual capacitance mode is adopted for sensing users&#39; gestures in the electronic apparatus  100 . 
         [0028]      FIG. 1B  shows a timing diagram of each sensing according to an embodiment of the invention. Referring to  FIG. 1A  and  FIG. 1B , the touch panel  110  of the present embodiment senses sense users&#39; gestures in a mutual capacitance mode during a first period of each sensing frame and senses the users&#39; gestures in a self capacitance mode during a second period of each sensing frame. In the present embodiment, the first period is longer than the second period in the sensing frame. 
         [0029]    Herein, the electronic apparatus  100  may be a portable product (e.g. a mobile phone, a camcorder, a camera, a laptop computer, a game player, a watch, a music player, an e-mail receiver and sender, a map navigator, a digital picture, or the like), an audio-video product (e.g. an audio-video player or the like), a screen, a television, a bulletin, or a panel in a projector. 
         [0030]      FIG. 2  shows a schematic diagram of the touch panel of the electronic apparatus working under a normal status according to an embodiment of the invention. Referring to  FIG. 1  and  FIG. 2 , in the present embodiment, the touch panel  110  senses users&#39; gestures in the mutual capacitance mode during the first period of the sensing frame. The touch panel  110  of the present embodiment includes a plurality of sensing blocks  112  for sensing a gesture  200  applied thereon. The touch panel  110  senses the gesture  200  based on capacitive variations of the sensing blocks  112  in a mutual capacitance mode. The touch panel  110  is driven by a plurality of scanning signals TX and outputs a plurality of sensing signals RX to the touch sensing controller  120 . The touch sensing controller  120  determines a correct touch location P associated with the gesture  200  on the touch panel  110  based on the mutual-mode data which is obtained from the touch panel  110  sensing in the mutual capacitance mode. As shown in  FIG. 2 , the mutual-mode data shows the touched blocks associated with the gesture  200  are a black block and a neighboring gray block. When the electronic apparatus  100  works under the normal status, the touch sensing controller  120  properly determines that the touched blocks associated with the gesture  200  correspond to a correct touch location on the touch panel  110  based on the mutual-mode data. This way, no error touch locations are determined in the present embodiment. 
         [0031]      FIG. 3  shows a schematic diagram of the touch panel of the electronic apparatus working under a charging status according to an embodiment of the invention. Referring to  FIG. 1  and  FIG. 3 , in the present embodiment, the touch panel  110  still senses users&#39; gestures in the mutual capacitance mode. Under the charging status, the electronic apparatus  100  is connected to an alternating-current (AC) power supply  300  for battery charging. However, the AC power supply  300  easily brings AC noise into the touch sensing controller  120 . That is to say, except for the touched blocks, other sensing blocks of the touch panel  110  are affected by the AC noise in the mutual capacitance mode and thus erroneously determined as the touched blocks. As a result, when the electronic apparatus  100  works under the charging status and senses in the mutual capacitance mode, the touch sensing controller  120  may erroneously determines that a plurality of sensing blocks correspond to the touch location associated with the gesture  200 . Accordingly, error touch locations circled in dotted lines are determined due to the AC noise. 
         [0032]      FIG. 4  shows a schematic diagram of the touch panel of the electronic apparatus working under the charging status according to another embodiment of the invention. Referring to  FIG. 1  and  FIG. 4 , in the present embodiment, the touch panel  110  senses users&#39; gestures in the self capacitance mode during the second period of the sensing frame. Similarly, during this period, the AC noise is also easily brought into the touch sensing controller  120  by the AC power supply  300  under the charging status. However, based on the property of self capacitance mode, even if AC noise is brought into the touch sensing controller  120 , the touch sensing controller  120  still properly determines a correct touch location on the touch panel  110  for the touched blocks associated with the gesture  200 . This way, no error touch locations are determined in the present embodiment. 
         [0033]      FIG. 5  shows a flowchart of the touch sensing method according to an embodiment of the invention. Referring to  FIG. 1A  to  FIG. 5 , the touch sensing method of the present embodiment combines the self capacitance mode and the mutual capacitance mode for sensing users&#39; gestures to prevent the touch controller  120  from reporting error touch locations. In step S 500 , the touch panel  110  first senses the gesture  200  applied thereon in the mutual capacitance mode during the first period of the sensing frame and then senses the identical gesture  200  in the self capacitance mode during the second period of the sensing frame in step S 502 . It should be noted that the order of sensing gestures in the self capacitance mode and in the mutual capacitance mode is exemplary, and the invention is not limited thereto. After receiving the self-mode data and the mutual-mode data during the sensing frame, the touch sensing controller  120  determines the touch location associated with the gesture  200  on the touch panel  110  based on the self-mode data or the mutual-mode data in step S 504 . 
         [0034]      FIG. 6  shows a flowchart of the touch sensing method according to another embodiment of the invention. Referring to  FIG. 1A ,  FIG. 1B , and  FIG. 6 , in step S 600 , the touch sensing controller  120  determines whether the electronic apparatus  100  is connected to an AC power supply  300 . If not, it represents that the electronic apparatus  100  works under the normal status, and thus, in step S 602 , the touch sensing controller  120  determines the touch location associated with the gesture  200  based on the mutual-mode data, which is obtained during the first period of the sensing frame. Next, the flow goes to step S 610 , and a correct touch location associated with the gesture  200  is reported. 
         [0035]    If the electronic apparatus  100  is connected to the AC power supply, it represents that the electronic apparatus  100  works under the charging status. Under this status, the touch sensing controller  110  compares the mutual-mode data and the mutual-mode data in step S 604 , and then determines whether the self-mode data and the mutual-mode data are equivalent in step S 606 . 
         [0036]    If the self-mode data and the mutual-mode data are equivalent, the flow goes to step S 602 , and then the touch sensing controller  120  still determines the touch location associated with the gesture  200  based on the mutual-mode data. Accordingly, the correct touch location associated with the gesture  200  is reported in step S 610 . 
         [0037]    On the contrary, if the self-mode data and the mutual-mode data are not equivalent, it represents that the mutual-mode data is affected by the AC noise, and the mutual-mode data has some errors. In this situation, the flow goes to step S 608 , and the touch sensing controller  120  determines the touch location associated with the gesture  200  based on the self-mode data, which is obtained during the second period of the sensing frame. Accordingly, the correct touch location associated with the gesture  200  is reported in step S 610 . That is to say, the touch sensing controller  120  determines the touch location based on the self-mode data under the charging status, and thus ghost points, e.g. error touch locations circled in dotted lines as shown in  FIG. 3 , can be eliminated. 
         [0038]    In summary, in the exemplary embodiments of the invention, the touch sensing method combines the self capacitance mode and the mutual capacitance mode during each sensing frame. Under different statuses, the touch controller determines the touch location associated with users&#39; gestures based on data obtained in different modes to prevent from reporting error touch locations. 
         [0039]    Although the invention has been described with reference to the above embodiments, it will be apparent to one of the ordinary skill in the art that modifications to the described embodiment may be made without departing from the spirit of the invention. Accordingly, the scope of the invention will be defined by the attached claims not by the above detailed descriptions.