摘要 |
A coordinate positioning device and the method thereof for detecting the coordinate of a contact point even in an environment of periodic noises. Firstly, obtain a first and a second sampling values of the contact point at a first and a second time points, respectively. Next, determine if the absolute value of the difference between the first and the second sampling values is smaller than a first threshold value. If not, neglect this contact point; 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; if yes, use the average value of the first and second sampling values to obtain the coordinate value of the contact point.
|