主权项 |
1. A touch-type input device comprising:
a touch panel including a sensor array and an operation surface, wherein the sensor array includes drive electrodes and sensor electrodes insulated from and stacked on the drive electrodes, wherein the drive electrodes and the sensor electrodes are arranged in a grid-shaped pattern that forms capacitors at intersections of the drive electrodes and the sensor electrodes; and a controller that applies a drive signal to the drive electrodes and detects touching of the operation surface of the touch panel from changes in a capacitance of each capacitor, wherein the controller is configured so that:
the controller determines whether or not a conductive foreign matter exists on the operation surface from raw data values, each indicating a change amount in the capacitance of each capacitor from an initial reference value that is set in advance for each capacitor;the controller determines whether or not the operation surface has been touched from control data values, each indicating a change amount in the capacitance of each capacitor from a control reference value that is changed for each capacitor in accordance with whether or not the conductive foreign matter exists;when the controller determines from the raw data values that the conductive foreign matter exists on the operation surface, the controller sets the control reference value of each capacitor to a raw data reference value corresponding to the present raw data value;when the controller determines from the raw data values that the conductive foreign matter does not exist on the operation surface, the controller sets the control reference value of each capacitor to the initial reference value;the controller updates the initial reference value, when the touch-type input device is activated, to correctly determine whether or not the operation surface has been touched; andthe controller updates the control reference value when determining that the control reference value is erroneous. |