# US 2022/0035001 A1 · Indoor/outdoor detection using wireless signals

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

- Number: US 2022/0035001 A1
- Document ID: US20220035001A1
- Status: Published application
- Kind: A1
- Application number: 16/941,810
- Filed: 2020-07-29
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Harsha Shirahatti; Sujeet Milind Patole; Jouya Jadidian; Mikheil Tsiklauri; Shun Liu; Vaneet Pathak; Lei Wang; Kumar Gaurav Chhokra
- Web page: https://patentgrep.com/patent/US20220035001A1

## CPC

- G01S 7/412: {based on a comparison between measured values and known or stored values}
- G01C 5/06: by using barometric means
- G01C 25/00: Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass (testing, calibrating or compensating compasses G01C17/38)
- G01S 13/08: Systems for measuring distance only (indirect measurement G01S13/46)
- G01S: RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)

## Abstract

An electronic device may utilize various methods or systems to determine whether the electronic device is indoors or outdoors. The electronic device transmits wireless signals (e.g., radio detection and ranging (RADAR) signals). The electronic device receives reflections of the wireless signals. Using these received reflections of the wireless signals, the electronic device determines whether a power amplitude of the reflections is greater than or equal to a threshold value. In response to a determination that the power amplitude is not greater than or equal to the threshold value, the electronic device operates in an outdoor mode or an indoor mode.

## Claims

### Claim 1

A method, comprising:
transmitting wireless signals from an electronic device;
receiving reflections of the wireless signals at the electronic device;
determining whether a power amplitude of the reflections is greater than or equal to a threshold value; and
in response to a determination that the power amplitude is not greater than or equal to the threshold value, operating the electronic device in an outdoor mode.

### Claim 2 (depends on 1)

The method of claim 1, wherein transmitting the wireless signals comprises transmitting the wireless signals in an upward direction from the electronic device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the wireless signals comprise radio detection and ranging signals.

### Claim 4 (depends on 2)

The method of claim 2, comprising detecting an orientation of the electronic device to determine which direction is the upward direction.

### Claim 5 (depends on 1)

The method of claim 1, wherein transmitting the wireless signals from the electronic device comprises broadcasting from multiple directions using multiple transmitters located at multiple locations in or on the electronic device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the outdoor mode comprises:
initiating calibration of a barometer of the electronic device; or
detecting an altitude of the electronic device using outdoor settings and the barometer.

### Claim 7 (depends on 1)

The method of claim 1, wherein the outdoor mode comprises activating global positioning detection.

### Claim 8 (depends on 1)

The method of claim 1, wherein the outdoor mode comprises deactivating a WiFi network connection and switching to a cellular data connection for data transfers.

### Claim 9 (depends on 1)

The method of claim 1, comprising setting the threshold value using empirical testing of a plurality of thresholds.

### Claim 10 (depends on 9)

The method of claim 9, wherein setting the threshold value comprises:
setting a testing threshold to a minimum threshold; and
for each threshold of the plurality of thresholds:
measuring reflection power at multiple distances;
estimating whether the electronic device is indoors or outdoors based on the respective threshold for each of the multiple distances;
comparing the estimates to indoor statuses of the multiple distances;
determining an accuracy of the testing threshold based on the comparison of the estimates to the indoor statuses; and
incrementing the testing threshold to a next threshold of the plurality of thresholds; and
selecting the threshold from the plurality of thresholds based at least in part on the accuracies of the plurality of thresholds.

### Claim 11 (depends on 10)

The method of claim 10, wherein measuring reflection power at the multiple distances comprises organizing the multiple distances into a plurality of bins, determining the accuracy comprises determining bin accuracies for each bin and averaging the bin accuracies together.

### Claim 12 (depends on 11)

The method of claim 11, wherein averaging the bin accuracies together comprises weighting distances in the averaging.

### Claim 13 (depends on 12)

The method of claim 12, wherein distances corresponding to common ceiling distances are weighted more heavily than other distances.

### Claim 14 (depends on 10)

The method of claim 10, wherein selecting the threshold from the plurality of thresholds based at least in part on the accuracies of the plurality of thresholds comprises selecting the threshold as corresponding to a highest accuracy for the plurality of thresholds.

### Claim 15 (depends on 10)

The method of claim 10, wherein measuring reflection power at multiple distances comprises combining multiple measurements from within a sliding time window.

### Claim 16

An electronic device, comprising:
one or more antennas;
mapping circuitry configured to:
set a testing threshold to a first value for power amplitudes of received reflected wireless signals received at the one or more antennas, wherein the testing threshold is configured to indicate whether an electronic device is indoors based on a determination of a presence of a ceiling above the electronic device;
measure the power amplitudes at one or more distances;
estimate whether the electronic device is indoors based at least in part on the power amplitudes and the testing threshold for one or more distances;
determine whether the estimate is accurate for the one or more distances as one or more accuracies;
assign a combined accuracy for the first value by averaging the one or more accuracies;
determine combined accuracies for one or more additional threshold values;
select a threshold value from the first value and the one or more additional threshold values based on the respective combined accuracies; and
determine whether the electronic device is indoors based at least in part on the threshold value.

### Claim 17 (depends on 16)

The electronic device of claim 16, wherein determining whether the electronic device is indoors comprises determining that the electronic device is indoors when subsequent received reflected wireless signals that are received after the received reflected wireless signals have a lower power amplitude than the threshold value.

### Claim 18 (depends on 16)

The electronic device of claim 16, comprising a barometer, wherein the mapping circuitry is configured to initiate a calibration of the barometer based at least in part on a determination that the electronic device is not indoors.

### Claim 19 (depends on 16)

The electronic device of claim 16, comprising a barometer, wherein the mapping circuitry is configured to initiate a calibration of the barometer based at least in part on a determination that the electronic device is not indoors.

### Claim 20

Tangible, non-transitory, and computer-readable medium having instructions stored thereon that, when executed by a processor, are configured to cause the processor to:
compare a strength of received reflected wireless signals to a respective threshold for each of a plurality of thresholds;
estimate that an electronic device is indoors when the strength of the received reflected wireless signals is greater than or equal to the respective threshold for each of the plurality of thresholds;
determine the accuracy as a function of variance between an indoor status of the electronic device in comparison with the estimation that the electronic device is indoors for each of the plurality of thresholds;
select a selected threshold from the plurality of thresholds based at least in part on respective accuracies of the plurality of thresholds;
determine whether subsequent reflected signals are greater than or equal to the selected threshold; and
operate the electronic device in a corresponding indoor mode or outdoor mode based at least in part on the determination of whether the subsequent reflected signals are greater than or equal to the selected thresholds.
