Method for improving linearity of touch system coordinates
A method for improving linearity of touch system coordinates first reads two-dimensional raw data of a capacitive touch panel. Next, it reads a pixel and adjacent pixels of the pixel from the two-dimension raw data. Then, it determines whether the value of the pixel is great than a pre-determined threshold. If the value of the pixel is not greater than the pre-determined threshold, it then determines whether there is a value of the adjacent pixels is greater than the pre-determined threshold. If there is no value of the adjacent pixels greater than the pre-determined threshold, it sets the value of the pixel to a pre-determined value. Otherwise, it reserves the value of the pixel in order to increase the linearity of two-dimensional raw data so as to avoid the interference of noise to the two-dimensional raw data.
Latest ORISE TECHNOLOGY CO., LTD. Patents:
- Driving frequency selection method for capacitive multi-touch system
- DC-DC converter with auto-switching between PWM and PFM and OLED display using the same
- Capacitive touch panel having mutual capacitance and self capacitance sensing modes and sensing method thereof
- Low power switching mode driving and sensing method for capacitive multi-touch system
- Unity-gain buffer with enhanced slew rate
1. Field of the Invention
The present invention relates to the technical field of touch panels and, more particularly, to a method for improving linearity of touch system coordinates.
2. Description of Related Art
The operation principle of touch panels is to sense a voltage, a current, an acoustic wave or an infrared when a finger or other medium touches on a touch screen, so as to detect the coordinates of touching points. For example, a resistive touch panel uses the voltage difference between upper and lower electrodes to calculate the location where a force is applied, to thereby detect the touching point. A capacitive touch panel uses the current or the voltage originated from capacitance changes in a static electricity combination of transparent electrodes in row and column with human body to detect the touching coordinate.
Mutual capacitance sensing scheme is known as projected capacitive sensing techniques. When there is a touch occurred, the mutual capacitance sensing indicates that a capacitance coupling is generated between two adjacent conductor lines.
The way of driving the mutual capacitive touch panel is to sense a magnitude change of mutual capacitance Cm, so as to determine whether the object is approached to the touch panel. The mutual capacitance Cm is not a physical capacitor but a mutual capacitance between the conductor line in a first direction and the conductor line in a second direction.
Such a mutual capacitance sensing has the advantages as follows:
(1) It is easily determined whether a touch is generated from a human body since a signal generated from a floating conductor is in a different direction than a grounded conductor.
(2) Every touch point is indicated by a real coordinate, and the real position of each point can be found when multiple points are concurrently touched, so that such a mutual capacitance sensing can easily support the multi-touch applications.
Also, there are some disadvantages as follows:
(1) A single image raw data has an amount of n×m, which is relatively large.
(2) A one-by-one scanning is operated in a selected direction. For example, when there are 20 conductor lines in the first direction (Y), the sensing operation is performed 20 times for obtaining a complete image raw data. Also, due to the large amount of data, the time required for converting a sensed signal from analog into digit is relatively increased.
(3) Due to the large amount of data, the power consumption is thus increased on data processing.
The mutual capacitance sensing technique is typically used in a specific capacitive touch panel. By two-dimensional (X direction and Y directional) driving and sensing, it is able to obtain two-dimensional voltage change related to capacitors from the capacitive touch panel. The voltage change is known as raw data, and the raw data may include variation caused by the influences of touch and environmental noise.
The raw data has to be processed by certain algorithm or interpolation method so as to compute the touch coordinate, thereby determining the position of the touch panel at which the user touches. In the prior art, for processing the raw data, a threshold is typically configured to determine whether there is effective touch data.
As shown in
However, such a prior art may cause a serious problem, i.e., the linearity of the raw data and whether the sensing value is excellent or not are greatly influenced by the electrode pattern of the capacitive touch panel.
In addition, the electrode pattern design of the capacitive touch panel has a great influence to the values of the raw data.
To solve the problem, a direct approach is employed to reduce the threshold for increasing the linearity. However, such an approach may cause the generation of noise points.
That is, the design of threshold is very difficult. If the threshold is too high, it will be hard to determine the touch control, resulting in unsatisfactory linearity in subsequent coordinate conversion. On the other hand, if the threshold is too low, the linearity exhibition can be preserved but it is likely to be influenced by noise interference, resulting in the occurrence of many unpredicted coordinate points in addition to the specific touch position.
Furthermore, the aforementioned method may exhibit different linearity due to different electrode patterns on the touch panel. Some touch panel may have a specifically designed electrode pattern to increase the linearity and sensing value. However, not all touch control system manufacturers can adapt such a specifically designed electrode pattern and the problems still exist. Therefore, it is desired to provide a method for improving linearity of touch system coordinates.
SUMMARY OF THE INVENTIONThe object of the present invention is to provide a method for improving linearity of touch system coordinates, which can increase the linearity of raw data in touch control and prevent the raw data from noise interference, thereby providing excellent touch efficiency while using the general electrode pattern.
To achieve the object, there is provided a method for improving linearity of touch system coordinates applied in a capacitive multi-touch system including a capacitive touch panel and a control device. The method comprises the steps of (A) the control device reading two-dimensional raw data of the capacitive touch panel; (B) the control device reading a target pixel of the two-dimensional raw data and pixels adjacent to the target pixel; (C) the control device determining whether pixel value of the target pixel is greater than a predetermined value; (D) when the pixel value of the target pixel is not greater than the predetermined value, the control device further determining whether at least one of the pixels adjacent to the target pixel has a pixel value greater than the predetermined value; (E) when none of the pixels adjacent to the target pixel has a pixel value greater than the predetermined value, the pixel value of the target pixel is set to be a first setting value; (F) the control device determining whether all pixels of the two-dimensional raw data have been processed and, if no, executing step (B); and (G) when all pixels of the two-dimensional raw data have been processed, the control device performing a feature point capture on the two-dimensional raw data and, based on captured feature points, dividing the two-dimensional raw data into at least one touch area which is assigned with an identification code.
Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
In step (A) of the method, the control device reads the two-dimensional raw data of the capacitive touch panel 21. The control device 22 obtains values of capacitance change from the capacitive touch panel 21. The capacitance change is two-dimensional data corresponding to coordinates formed by intersecting X-axis and Y-axis.
In step (B), the control device reads one pixel of the two-dimensional raw data and its adjacent pixels.
In step (C), the control device 22 determines whether the pixel value of the pixel p(i, j) is greater than a predetermined value. As shown in
In step (D), when the pixel value of the pixel p(i, j) is not greater than the predetermined value, it further determines whether at least one of the pixels adjacent to the pixel p(i, j) has a pixel value greater than the predetermined value and, if yes, step (I) is executed.
In step (E), the pixel value of the pixel is set to be a first setting value, which is 0 for example.
In step (F), it determines whether all pixels of the two-dimensional raw data have been processed and, if no, step (B) is executed again to process the next pixel.
Step (F) determines whether the two-dimensional raw data has been completely scanned. If a complete scanning is achieved, the result as shown in
Step (G) is executed, when step (F) determines that all pixels of the two-dimensional raw data have been processed, to perform a feature point capture on the two-dimensional raw data. Based on the captured feature points, the two-dimensional raw data is divided into at least one touch area which is assigned with an identification code.
In step (H), based on the identification code, the touch area is performed with coordinate conversion so as to output a corresponding touch coordinate. As shown in
In step (I), when it determines that the pixel value of the pixel is greater than the predetermined value, the pixel value of the pixel is retained and step (F) is then executed.
In the prior capacitive touch system, the touch position is likely to be influenced by the structure and electrode pattern of the touch panel. However, the electrode pattern of the capacitive touch panel is the core technology for each touch panel manufacturer, which cannot be freely used by other manufacturers. Therefore, based on the consideration of cost, many handheld touch devices still use those unsatisfactory capacitive touch panel structures and electrode patterns, which are defective in linearity exhibition. Accordingly, with the method of the present invention, the capacitive touch system is provided with increased linearity exhibition when using different touch panels.
Furthermore, it is difficult to change the situation that many system manufacturers still use unsatisfactory capacitive touch panel structures and electrode patterns. However, the method for improving linearity of touch system coordinates in accordance with the present invention can change the method of processing the two-dimensional raw data of touch panel in the prior capacitive touch control technique, so as to avoid noise influence and increase coordinate linearity exhibition for the capacitive touch system, thereby reducing the limitation on using different electrode patterns of capacitive touch panel. For the manufacturers that develop capacitive touch systems, the developed systems are not restricted by using different electrode patterns and all have excellent linearity exhibition, thereby effectively increasing the competitiveness and compatibility of the product.
The method of the present invention undertakes the original two-dimensional raw data obtained from the capacitive touch panel. In comparison, the prior art directly sets a threshold to determine whether there is effective touch. If measured data is not over the threshold, it is deemed as noise or small change, which will not be further processed. However, with the setting of decreased threshold, although the linearity exhibition of the raw data can be effectively improved, the other non-touch areas are likely to be influenced by noises, resulting in the problem of having unpredicted touch points (noise points). By considering the adjacent area, the present invention is able to not only effectively improve the linearity exhibition of the raw data but also avoid noise influence to the non-touch positions.
Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.
Claims
1. A method for improving linearity of touch system coordinates applied in a capacitive multi-touch system including a capacitive touch panel and a control device, the method comprising the steps of:
- (A) the control device reading two-dimensional raw data from the capacitive touch panel;
- (B) the control device reading a target pixel from the two-dimensional raw data and pixels adjacent to the target pixel;
- (C) the control device determining whether pixel value of the target pixel is greater than a predetermined value;
- (D) if the pixel value of the target pixel is not greater than the predetermined value, the control device further determining whether at least one of the pixels adjacent to the target pixel has a pixel value greater than the predetermined value;
- (E) if none of the pixels adjacent to the target pixel is greater than the predetermined value, the pixel value of the target pixel is set to be a first setting value;
- (F) the control device determining whether all pixels of the two-dimensional raw data have been processed and, if no, executing step (B); and
- (G) if all pixels of the two-dimensional raw data have been processed, the control device perform feature point capture on the two-dimensional raw data and, and then divide the two-dimensional raw data into at least one touch area which is assigned with an identification code.
2. The method for improving linearity of touch system coordinates as claimed in claim 1, further comprising a step of:
- (H) based on the identification code, the control device performing a coordinate conversion on the at least one touch area corresponding to the identification code so as to output a touch coordinate.
3. The method for improving linearity of touch system coordinates as claimed in claim 2, further comprising a step of:
- (I) when step (C) determines that the pixel value of the target pixel is greater than the predetermined value, the control device retaining the pixel value of the target pixel and then executing step (F).
4. The method for improving linearity of touch system coordinates as claimed in claim 3, wherein when step (D) determines that the pixels adjacent to the target pixel has a pixel value greater than the predetermined value, step (I) is executed.
5. The method for improving linearity of touch system coordinates as claimed in claim 4, wherein the pixel value of the target pixel is p(i, j), and the pixels adjacent to the target pixel have pixel values of p(i−1, j−1), p(i, j−1), p(i+1, j−1),p(i−1, j), p(i+1, j), p(i−1, j+1), p(i, j+1), p(i+1, j+1), where i and j are indexes respectively.
6. The method for improving linearity of touch system coordinates as claimed in claim 5, wherein the two-dimensional raw data is obtained by mutual capacitance sensing technique
7. The method for improving linearity of touch system coordinates as claimed in claim 1, wherein the capacitive touch panel includes M first conductor lines arranged in a first direction and N second conductor lines arranged in a second direction, where the first direction is perpendicular to the second direction, and M and N are positive integers respectively.
8. The method for improving linearity of touch system coordinates as claimed in claim 7, wherein the two-dimensional raw data has M×N pixels and said pixels has a pixel value of p(i, j), where i is in the range of 0 to (M−1), and j is in the range of 0 to (N−1).
9. The method for improving linearity of touch system coordinates as claimed in claim 2, wherein in step (H), a first-order momentum method is employed to perform coordinate conversion so as to output the corresponding touch coordinate.
Type: Application
Filed: Oct 8, 2013
Publication Date: May 1, 2014
Patent Grant number: 9471186
Applicant: ORISE TECHNOLOGY CO., LTD. (Hsinchu)
Inventors: Hsin-Mao HUANG (Hsinchu City), Chih-Hung KUNG (Miaoli County), Hsiang-Cheng YU (Hsinchu City), Shih-Hsin HUANG (Taoyuan County)
Application Number: 14/048,544
International Classification: G06F 3/044 (20060101);