US 12,242,663 B2
Sensor unit with on-device unsupervised learning and classification
Swapnil Sayan Saha, Fremont, CA (US); and Mahesh Chowdhary, San Jose, CA (US)
Assigned to STMICROELECTRONICS, INC., Coppell, TX (US)
Filed by STMICROELECTRONICS, INC., Coppell, TX (US)
Filed on Dec. 8, 2022, as Appl. No. 18/063,584.
Prior Publication US 2024/0192762 A1, Jun. 13, 2024
Int. Cl. G06F 3/01 (2006.01); G06F 1/16 (2006.01); G06F 3/0346 (2013.01)
CPC G06F 3/011 (2013.01) [G06F 1/163 (2013.01); G06F 3/017 (2013.01); G06F 3/0346 (2013.01)] 22 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving, with an electronic device, a request from a user to train a sensor unit of the electronic device to recognize a first motion;
prompting, with the electronic device, the user to remain stationary for a selected period of time;
prompting, with the electronic device, the user to perform the first motion after remaining stationary for the selected period of time;
generating, with the sensor unit, sensor data while the user performs the first motion;
calculating a variance for each of three axes from the sensor data;
selecting, from the three axes, two axes having two largest variances among the calculated variances;
generating, with the sensor unit, a first template for the first motion based on the sensor data from the two axes, wherein the first template is two-dimensional based on the selected two axes having the two largest variances; and
storing the first template in a memory of the sensor unit.