US 12,299,214 B2
Low power lift-up gesture detection with shake rejection
Stefano Paolo Rivolta, Desio (IT); Federico Rizzardini, Settimo Milanese (IT); and Lorenzo Bracco, Chivasso (IT)
Assigned to STMicroelectronics International N.V., Geneva (CH)
Filed by STMicroelectronics International N.V., Geneva (CH)
Filed on Aug. 9, 2023, as Appl. No. 18/447,147.
Prior Publication US 2025/0053246 A1, Feb. 13, 2025
Int. Cl. G06F 3/01 (2006.01); G06F 3/0346 (2013.01)
CPC G06F 3/0346 (2013.01) [G06F 3/017 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A device, comprising:
an accelerometer, which, in operation, generates a first acceleration measurement along a first axis, a second acceleration measurement along a second axis transverse to the first axis, and a third acceleration measurement along a third axis transverse to the first axis and the second axis;
processing circuitry, which, in operation, receives the first, second, and third acceleration measurements; and
memory coupled to the processing circuitry, wherein, using the memory, the processing circuitry, in operation:
filters the second acceleration measurement with a band pass filter;
detects an orientation change of the device in a case where the second acceleration measurement is greater than a first threshold value for a first threshold amount of time;
filters the first, second, and third acceleration measurements with a low pass filter;
detects an initial lift-up gesture of the device in a case where an absolute value of the filtered first acceleration measurement is less than or equal to a second threshold value, the filtered second acceleration measurement is greater than a third threshold value, and the filtered third acceleration measurement is greater than a fourth threshold value for a second threshold amount of time;
sets a counter to a time out value in a case where a norm of the filtered first, second, and third acceleration measurements is greater than a fifth threshold value, wherein the time out value is greater than a sum of the first threshold amount of time and the second threshold amount of time;
decrements the counter by one at a determined interval in a case where the norm of the filtered first, second, and third acceleration measurements is not greater than the fifth threshold value;
detects a non-shaking state of the device in a case where the counter is equal to zero; and
outputs a lift-up gesture state in response to the orientation change, the initial lift-up gesture, and the non-shaking state being detected,
wherein the lift-up gesture state is not output if the non-shaking state of the device is not detected.