1. Field of the Invention
The invention relates to a touch device and a driving method of a touch panel thereof. More specifically, the invention relates to a touch device and a driving method of a touch panel thereof for improving a circumstance of a touch position misjudgement caused by a voltage noise.
2. Description of Related Art
With the rapid development of technology, most electronic devices, such as notebook computers, mobile phones or portable multimedia players, usually have touch panels serving as input interfaces of a new generation. Based on different sensing types, a touch-sensing panel can be generally categorized into a resistance touch-sensing panel, a capacitive touch-sensing panel, an optical touch-sensing panel, an acoustic-wave touch-sensing panel and an electromagnetic touch-sensing panel. The capacitive touch sensing panel is characterized by short response speed, favorable reliability, satisfactory durability, and so on. Therefore, the capacitive touch-sensing panel is widely used in the electronic products.
The capacitive touch panels are operated by approaching or touching the touch panels with a finger or a conductive material to change capacitances of the touch panel. When a capacitance variation is detected, a position approached or touched by the finger or the conductive material is determined.
In recent day, as limited by the restriction of the battery capacity, it is quite often that the electronic products such as the cell phone and tablet computer may be used while charging. However, when an electronic product is connected to a charger, a noise may be generated by the charger during a process of converting AC voltage to DC voltage. The noise may affect a detected result of the capacitances through a ground terminal of a chip circuit in the electronic product, causing circumstance that reduces the quality in use, such as misjudgement to the touched point or reduction of the touch sensitiveness.
Although the touch-sensing method of the conventional capacitive touch panel may effectively determine the touch position of the user, the problem of the touch position misjudgement caused by the noises generated by the charger is still unavoidable. As shown in
The invention is directed to a touch device and a driving method of a touch panel thereof, for improving a circumstance of a touch position misjudgement caused by a voltage noise.
The invention provides a driving method of a touch panel, in which the touch panel includes a plurality of scan lines and a plurality of sense lines, the driving method includes the following steps: randomly driving the plurality of scan lines during a sensing period, wherein each of the plurality of scan lines is respectively driven once during the sensing period; receiving a plurality of touch-sensing signals from the plurality of sense lines; and determining a touch position of the touch panel according to the plurality of touch-sensing signals.
According to an embodiment of the invention, in which the step of determining the touch position of the touch panel according to the plurality of touch-sensing signals further includes the following steps: generating a plurality of count values according to the plurality of the touch-sensing signals; performing a spatial filtering to the plurality of count values; and determining the touch position of the touch panel according to a result of the spatial filtering.
The invention further provides a touch device, including a touch panel, a driving module, a sensing unit and a processing unit. In which the touch panel includes a plurality of scan lines and a plurality of sense lines; The driving module is coupled to the plurality of scan lines, configured for randomly driving the plurality of scan lines during a sensing period, in which each of the plurality of scan lines is respectively driven once during the sensing period. The sensing unit is coupled to the plurality of sense lines, configured for receiving a plurality of touch-sensing signals form the plurality of sense lines and generating a plurality of count values according to the plurality of the touch-sensing signals. The processing unit is coupled to the driving module and the sensing unit, configured for determining a touch position of the touch panel according to the plurality of count values.
According to an embodiment of the invention, in which the processing unit further performs a spatial filtering to the plurality of count values, and determines the touch position of the touch panel according to a result of the spatial filtering.
According to an embodiment of the invention, the driving module includes a random number generator and a driving unit. In which, the random number generator is configured for generating a random number value. The driving unit is coupled to the random number generator, the plurality of scan lines and the processing unit, configured for randomly driving the plurality of scan lines according to the random number value.
According to an embodiment of the invention, the sensing unit includes an integrator, an analog-to-digital converter and a counter. In which the integrator is coupled to the plurality of sense lines, configured for performing an integration respectively to the plurality of touch-sensing signals to obtain a plurality of touch-sensing voltages. The analog-to-digital converter is coupled to the integrator, configured for converting the plurality of touch-sensing voltages to a plurality of digital signals; and the counter is coupled to the analog-to-digital converter and the processing unit, configured for generating the plurality of count values according to the digital signals.
Based on above, by randomly driving the touch panel, the invention may improve a circumstance of a touch position misjudgement caused by a voltage noise.
To make the above features and advantages of the invention more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
When a touch-detecting is performed by the touch device 200, the driving module 204 drives the plurality of scan lines TX on the touch panel 202 respectively during different sensing periods, in which each of the scan lines TX is driven once during each sensing period. The scan lines TX are randomly driven by the driving module 204 during each period.
Further, the driving module 204 may include a driving unit 210 and a random number generator 212, in which the random number generator 212 is coupled to the driving unit 210, the driving unit 210 is coupled to the plurality of scan lines TX and the processing unit 208. The random number generator 212 generates a random number value, so that the driving unit 210 may randomly drive the plurality of scan lines TX according to the random number value and transmit an driving order of the scan lines TX to the processing unit 208.
The sensing unit 206 receives touch-sensing signals form the plurality of sense lines RX and generates a plurality of count values according to the received touch-sensing signals. Further, the sensing unit 206 may include an integrator 214, an analog-to-digital converter 216 and a counter 218. The integrator 214 is coupled to the sense lines RX, the analog-to-digital converter 216 is coupled to integrator 214, the counter 214 and the processing unit 218. The integrator 214 performs an integration respectively to the plurality of touch-sensing signals received from the scan lines RX to obtain a plurality of touch-sensing voltages. The analog-to-digital converter 216 converts the touch-sensing voltages to a plurality of digital signals. The counter 218 generates the plurality of count values according to the plurality of digital signals.
The processing unit 208 determines a touch position of the touch panel 202 according to the plurality of count values outputted by the sensing unit 206. For example, the processing unit 208 may perform a spatial filtering to the count values received to further reduce affection of a voltage noise, thereby determining an accurate touch position based on a result of the spatial filtering.
As a result of randomly driving the scan lines TX, the voltage noise may be distributed non-adjacent scan lines, thereby reducing the affection of the voltage noise.
In addition, the count values corresponding to the voltage noise may also be reduced by randomly driving the scan lines TX.
As illustrated in
In view of above, by randomly driving the scan lines, the invention may distribute the voltage noise to the non-adjacent scan lines, thereby reducing the signal strength of the voltage noise. Further, by performing a spatial filtering to the count values corresponding to the voltage noise, the circumstance of the touch position misjudgement caused by voltage noise may be improved.
Although the invention has been described with reference to the above embodiments, it is apparent to one of the ordinary skill in the art that modifications to the described embodiments 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.