This application claims the benefit of Taiwan application Serial No. 092129685, filed Oct. 24, 2003, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general relates to a coordinate positioning device and the method thereof, and more particularly, to an anti-noise coordinate positioning device and the method thereof.
2. Description of the Related Art
Coordinate positioning devices are widely applied in man-machine interface to facilitate the communication between the user and the electronic product. The coordinate positioning device, such as a mouse or a film positioning device for instance, detects the position and further has the position indicated on the screen by means of a cursor. The film positioning device, which includes two pieces of resistance-type films or capacitance-type films, detects the coordinates of the contact point touched by the user.
Referring to
When the user touches the film positioning device 100, the thin film X and the thin film Y will be connected at a contact point whose resistance is R_touch. On the thin film X, the resistance at points above the contact point is R_up, while the resistance at points below the contact point is R_down. On the thin film Y, the resistance at points to the left of the contact point is R_left, while the resistance at points to the right of the contact point is R_right. The thin film positioning device 100 will obtain the Y-coordinate of the contact point according to the ratio between R_up and R_down, and will obtain the X-coordinate of the contact point according to the ratio between R_right and R_left.
When applied in an electronic device, a thin film positioning device is likely to be coupled to plenty of noises which will cause errors to the coordinates obtained. For example, despite the user presses at the same contact point, however, due to the interference of the noise, the obtained coordinates of the contact point may be changeable. The general practice is to have multiple samplings of the contact point, say, 8 samplings, within a specific period of time, then use the average values of the 8 samplings as the coordinates of the contact point. However, using multiple sampling to determine the coordinates of the contact point is both time-consuming and energy consuming.
It is therefore an object of the invention to provide a noise canceling coordinate positioning device and the method thereof.
According to the object of the invention, a positioning method is provided to be applied in a thin film positioning device for detecting the coordinates of a contact point even in an environment of periodic noises. The steps of the positioning method are disclosed below. Firstly, obtain a first sampling value of the contact point at a first time point and a second sampling value of the contact point at a second time point in succession. Next, determine if the absolute value of the difference between the first sampling value and the second sampling value is smaller than a first threshold value or not. If not, neglect this contact point and end the process of this method; if yes, obtain a third sampling value of the contact point at a third time point. Lastly, determine if the absolute value of the difference between the first sampling value and the third sampling value is smaller than a second threshold value or not: if not, neglect this contact point and end the process of this method; if yes, use the average values of the first sampling value and the second sampling value to obtain the coordinates of the contact point.
Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
When applied in an electronic device, a thin film positioning device is likely to be coupled to plenty of noises which will cause errors to the coordinates obtained. These noises are periodic. Take the thin film positioning device disposed on the touch panel of a personal digital assistant (PDA) for example. The liquid crystal display screen has high-frequency signals such as pixel clock signal, horizontal synchronization signals, and vertical synchronization signal to maintain an updating frequency of 30 frames per second. According to actual observation, these high-frequency signals will become periodic noises when coupled to an electric device.
Referring to
If the voltage at point XP shows a periodic pattern as that in
Next, considering the voltage at point XP might surge up if the user applies too weak a force, so a further check is conducted in step 440. If the user applies too weak a force at the positioning device 100, the resistance at R_touch will surge up. Referring to
In step 440, a third sampling value S3 is obtained at a third time point. The interval between the first time point and the third time point is substantially a multiple of T, the period of the periodic noise. Next, proceed to step 450 to determine if the absolute value of the difference between the first and the third sampling values S1 and S3 is smaller than a second threshold value H2 or not: if yes, the average value of the first and the second sampling values S1 and S2 is used as the sampling value of point XP to obtain the X-coordinate of point XP accordingly; if not, proceed to step 435 and neglect the contact point. Theoretically, since the noise is periodic, the third sampling value S3 should be much the same as the sampling value S1 while threshold value H2 should be smaller than threshold value H1. However, if the user applies too weak a force at the positioning device 100, S3 will surge up as shown in
The above disclosure uses the detection of the voltage at point XP as an example. However, the above procedures can also be applied to the detection of the voltage at points YP, YM, or XM as well. With only three samplings, the invention can promptly obtain the X-coordinate or the Y-coordinate of the contact point under an environment of periodic noises, avoiding the error of estimate due to the instant instability of the noise and due to too weak a force is applied at the contact point, thereby having the advantages of both promptness and preciseness.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
92129685 A | Oct 2003 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5053757 | Meadows | Oct 1991 | A |
5831599 | Inoue | Nov 1998 | A |
6366866 | Kanagawa et al. | Apr 2002 | B1 |
6411278 | Kage et al. | Jun 2002 | B1 |
6610936 | Gillespie et al. | Aug 2003 | B2 |
6657615 | Harada | Dec 2003 | B2 |
20020044137 | Kim | Apr 2002 | A1 |
20030206162 | Roberts | Nov 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20050088406 A1 | Apr 2005 | US |