| CPC H03K 17/962 (2013.01) [H01H 13/00 (2013.01); H01H 13/52 (2013.01); H03K 17/975 (2013.01); H04N 23/51 (2023.01); G06F 3/0414 (2013.01); G06F 2203/04105 (2013.01); H03K 2217/96071 (2013.01)] | 6 Claims |

|
1. A detection method comprising:
obtaining periodically and repeatedly sensor values output from a capacitive sensor, and storing, in memory, the sensor values obtained as sensor data, the sensor data being time-series data;
determining whether the sensor values obtained exceed a first threshold;
calculating, as a first difference value of each of target sensor values, a difference between the target sensor value and a sensor value immediately before the target sensor value, the target sensor values including a sensor value determined to exceed the first threshold and past sensor values in reverse chronological order from the sensor value determined to exceed the first threshold;
calculating, as a second difference value of each of the target sensor values, a difference between (i) the first difference value of the target sensor value and (ii) the first difference value of the sensor value immediately before the target sensor value;
comparing each of the second difference values calculated and a second threshold, and selecting one sensor value from the sensor data based on a result of the comparing; and
outputting the one sensor value selected.
|