# US 2021/0341512 A1 · System and method for determining whether an electronic device is located on a stationary or stable surface

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0341512 A1
- Document ID: US20210341512A1
- Status: Published application
- Kind: A1
- Application number: 17/375,297
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2018-10-30
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMicroelectronics S.r.l.
- Inventors: Stefano Paolo Rivolta; Federico Rizzardini
- Web page: https://patentgrep.com/patent/US20210341512A1

## CPC

- G01P 15/18: in two or more dimensions
- G06F 1/3231: Monitoring the presence, absence or movement of users
- G01P 15/14: by making use of gyroscopes (gyroscopes per se G01C19/00)
- G06N 20/00: Machine learning
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G01P: MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT (measuring or recording blood flow A61B5/02, A61B8/06; monitoring speed or deceleration of electrically-propelled vehicles B60L3/00; vehicle lighting systems adapted to indicate speed B60Q1/54; determining position or course in navigation, measuring ground distance in geodesy or surveying G01C; combined measuring devices for measuring two or more variables of movement G01C23/00; measuring velocity of sound G01H; measuring velocity of light G01J7/00; measuring direction or velocity of solid objects by reception or emission of radiowaves or other waves and based on propagation effects, e.g. Doppler effect, propagation time, direction of propagation, G01S; measuring speed of nuclear radiation G01T; measuring acceleration of gravity G01V; {measuring or recording the speed of trains B61L23/00; speed indicators incorporated in motor vehicles B60K35/00; measuring frequency or phase G01R; traffic control G08G})
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

An embodiment system includes: a first motion sensor configured to generate first sensor data indicative of a first type of movement of an electronic device; a first feature detection circuit configured to determine at least one orientation-independent feature based on the first sensor data; and a classifying circuit configured to determine whether or not the electronic device is located on a stationary surface based on the at least one orientation-independent feature.

## Claims

### Claim 1

An electronic device comprising:
a first motion sensor configured to generate first motion sensor data indicative of a first type of movement of the electronic device; and
circuitry configured to
determine a first orientation-independent feature based on the first motion sensor data, the first orientation-independent feature comprising a mean-cross value associated with an acquisition time window of the first motion sensor, and
determine whether or not the electronic device is located on a stationary surface based on the first orientation-independent feature.

### Claim 2 (depends on 1)

The device of claim 1, wherein the first motion sensor comprises an accelerometer of the electronic device.

### Claim 3 (depends on 1)

The device of claim 1, wherein the first motion sensor comprises a gyroscope of the electronic device.

### Claim 4 (depends on 1)

The device of claim 1, wherein the first motion sensor data comprises a plurality of samples within the acquisition time window, wherein the circuitry is further configured to
determine a norm of each of the plurality of samples of the first motion sensor data within the acquisition time window,
determine, based on the norm of each of the plurality of samples of the first motion sensor data within the acquisition time window, a mean of the norm within the acquisition time window, and
determine the mean-cross value associated with the acquisition time window, wherein the mean-cross value comprises a number of times the norm of the plurality of samples of the first motion sensor data within the acquisition time window crosses the mean of the norm within the acquisition time window.

### Claim 5 (depends on 4)

The device of claim 4, wherein the circuitry is further configured to:
determine a variance of the norm of the plurality of samples of the first motion sensor data within the acquisition time window, wherein the first orientation-independent feature further comprises the variance of the norm of the plurality of samples of the first motion sensor data within the acquisition time window.

### Claim 6 (depends on 4)

The device of claim 4, wherein the acquisition time window is one of a plurality of acquisition time windows that are consecutive and non-overlapping.

### Claim 7 (depends on 6)

The device of claim 6, wherein each of the plurality of acquisition time windows has a duration of 1 second.

### Claim 8 (depends on 1)

The device of claim 1, further comprising:
a second motion sensor configured to generate second motion sensor data indicative of a second type of movement of the electronic device, wherein the circuitry is further configured to
determine a second orientation-independent feature based on the second motion sensor data, wherein the second orientation-independent feature comprises a mean-cross value associated with the acquisition time window of the second motion sensor, and
determine whether or not the electronic device is located on the stationary surface based on the second orientation-independent feature.

### Claim 9 (depends on 1)

The device of claim 1, wherein the circuitry is configured to perform a machine learning classification to determine whether or not the electronic device is located on the stationary surface.

### Claim 10 (depends on 9)

The device of claim 9, wherein the circuitry is configured to perform the machine learning classification by performing a logistic regression classification, a naive Bayes classification, a support vector machine classification, a decision tree classification, a boosted tree classification, a random forest classification, a neural network classification, or a nearest neighbor classification.

### Claim 11 (depends on 1)

The device of claim 1, wherein the circuitry is further configured to:
assign a label indicating that the electronic device is located or not located on the stationary surface during the acquisition time window;
determine a subsequent first orientation-independent feature associated with a subsequent acquisition time window of the first motion sensor;
assign a subsequent label indicating that the electronic device is located or not located on the stationary surface during the subsequent acquisition time window; and
determine whether or not the electronic device is located on a stationary surface based on the label and the subsequent label.

### Claim 12

An electronic device comprising:
a first motion sensor configured to generate first motion sensor data indicative of a first type of movement of the electronic device;
a second motion sensor configured to generate second motion sensor data indicative of a second type of movement of the electronic device; and
circuitry configured to
determine a first orientation-independent feature based on the first motion sensor data,
determine a second orientation-independent feature based on the second motion sensor data, and
determine whether the electronic device is located on a stationary surface based on the first orientation-independent feature and the second orientation-independent feature.

### Claim 13 (depends on 12)

The device of claim 12, wherein the first motion sensor data comprises a first plurality of samples within a first acquisition time window, and wherein the second motion sensor data comprises a second plurality of samples within the first acquisition time window, wherein the first orientation-independent feature comprises a variance of norms of each of the first plurality of samples, and the second orientation-independent feature comprises a variance of norms of each of the second plurality of samples.

### Claim 14 (depends on 12)

The device of claim 12, wherein the first motion sensor comprises an accelerometer of the electronic device, and wherein the second motion sensor comprises a gyroscope of the electronic device.

### Claim 15 (depends on 12)

The device of claim 12, wherein the circuitry is configured to perform a machine learning classification to determine whether or not the electronic device is located on the stationary surface.

### Claim 16 (depends on 12)

The device of claim 12, wherein the first orientation-independent feature comprises a first mean-cross value associated with a first acquisition time window of the first motion sensor, and wherein the second orientation-independent feature comprises a second mean-cross value associated with the first acquisition time window of the second motion sensor.

### Claim 17 (depends on 16)

The device of claim 16, wherein the first motion sensor data comprises a first plurality of samples within the first acquisition time window, and wherein the second motion sensor data comprises a second plurality of samples within the first acquisition time window, wherein the first mean-cross value comprises a number of times a first norm of the first plurality of samples of the first motion sensor data within the first acquisition time window crosses a first mean of the first norm within the first acquisition time window, wherein the second mean-cross value comprises a number of times a second norm of the second plurality of samples of the second motion sensor data within the first acquisition time window crosses a second mean of the second norm within the first acquisition time window.

### Claim 18

An electronic device comprising:
circuitry configured to
determine a first orientation-independent feature based on a first motion sensor data from a first motion sensor measured within an acquisition time window, the first motion sensor data being indicative of a first type of movement of the electronic device, the first motion sensor data comprising a plurality of samples within a acquisition time window,
determine a norm of each of the plurality of samples of the first motion sensor data within the acquisition time window,
determine, based on the norm of each of the plurality of samples of the first motion sensor data within the acquisition time window, a metric of the norm within the acquisition time window, and
determine whether or not the electronic device is located on a stationary surface based on the metric of the norm.

### Claim 19 (depends on 18)

The device of claim 18, wherein the metric comprises a mean-cross value associated with the acquisition time window, wherein the circuitry is configured to
determine, based on the norm of each of the plurality of samples of the first motion sensor data within the acquisition time window, a mean of the norm within the acquisition time window, and
determine the mean-cross value associated with the acquisition time window, wherein the mean-cross value comprises a number of times the norm of the plurality of samples of the first motion sensor data within the acquisition time window crosses the mean of the norm within the acquisition time window.

### Claim 20 (depends on 18)

The device of claim 18, wherein the metric comprises a variance of the norm of the plurality of samples, wherein the circuitry is further configured to:
determine a variance of the norm of the plurality of samples of the first motion sensor data within the acquisition time window, wherein the first orientation-independent feature further comprises the variance of the norm of the plurality of samples of the first motion sensor data within the acquisition time window.

### Claim 21 (depends on 18)

The device of claim 18, wherein the circuitry is further configured to:
assign a label indicating that the electronic device is located or not located on the stationary surface during the acquisition time window;
determine a subsequent first orientation-independent feature associated with a subsequent acquisition time window of the first motion sensor;
assign a subsequent label indicating that the electronic device is located or not located on the stationary surface during the subsequent acquisition time window; and
determine whether or not the electronic device is located on a stationary surface based on the label and the subsequent label.
