主权项 |
1. A method for implementation of capacitive touch pad output on a single chip microcomputer, utilizing single-chip microcomputer equipment comprising an 8-bit master control single-chip microcomputer module, a self-checking capacitance sensing module and a capacitive touch pad, wherein the 8-bit master control single-chip microcomputer module controls the self-checking capacitance sensing module to obtain source data acquired by the self-checking capacitance sensing module from the capacitive touch pad, and wherein the source data are subjected to touch position computing by the 8-bit master control single-chip microcomputer to obtain an original coordinate of a touch point, and wherein a coordinate position is obtained through an optimizing computation processing, wherein, the touch position optimizing computation processing of the original coordinate, which is made by the 8-bit master control single-chip microcomputer module, comprises the steps of:
(a) filtering coordinate data by a Kalman filter having a Kalman gain that is set to a constant value; (b) processing the filtered coordinate data obtained by the step (a) with a continuous midpoint value algorithm; and (c) processing the coordinate data processed in accordance with the step (b) via a digital low-pass filter. |