CPC G06F 3/0447 (2019.05) [G01L 1/142 (2013.01); G06F 3/0445 (2019.05); H03K 17/975 (2013.01); G06F 2203/04105 (2013.01); H03K 2217/9651 (2013.01)] | 13 Claims |
1. A sensing apparatus comprising:
a displacement sensor comprising capacitance measurement circuitry configured to provide a displacement sensor output signal indicative of a separation between a frame element and a displacement element movably mounted with respect to the frame element;
a touch sensor comprising measurement circuitry configured to provide a touch sensor output signal indicative of when an object is determined to be touching the displacement element; and
a processor configured to output a detection signal to indicate there is determined to be a displacement of the displacement element relative to the frame element in response to determining the touch sensor output signal indicates an object is touching the displacement element and a difference between the displacement sensor output signal and a baseline displacement sensor output signal exceeds a threshold value, wherein when the touch sensor outputs a touch sensor output signal indicative of when an object is determined to be touching the displacement element, the processor is configured to determine the baseline displacement sensor output signal for a duration of the detected touch of the object from the displacement sensor output signal during a time period defined by when the touch sensor output signal initially indicates the object is touching the displacement element, such that the baseline displacement sensor output signal maintains a fixed value for the duration of the detected touch of the object, wherein the baseline displacement sensor output signal is set to the displacement sensor output signal when no touch of an object is sensed by the touch sensor.
|