# US 2008/0304361 A1 · Acoustic Ranging

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

- Number: US 2008/0304361 A1
- Document ID: US20080304361A1
- Status: Published application
- Kind: A1
- Application number: 11/868,515
- Filed: 2007-10-07
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Microsoft Corporation
- Inventors: Chunyi Peng; Guobin Shen; Kun Tan; Yongguang Zhang
- Web page: https://patentgrep.com/patent/US20080304361A1

## CPC

- G01S 15/74: Systems using reradiation of acoustic waves, e.g. IFF, i.e. identification of friend or foe
- G06F 3/1446: {display composed of modules, e.g. video walls}
- G09G 2300/026: Video wall, i.e. juxtaposition of a plurality of screens to create a display screen of bigger dimensions
- G09G 2356/00: Detection of the display position w.r.t. other display screens
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

Acoustic ranging may involve determining a distance between a first device and at least one other device using one or more acoustic signals. In an example embodiment, a first device emits a first acoustic signal and then receives the first acoustic signal at a first time. The first device also receives a second acoustic signal at a second time, with the second acoustic signal having been emitted by a second device. The first device ascertains a first value that reflects a difference between the first time and the second time. Responsive to at least the ascertained first value, the first device determines a distance between the first device and the second device.

## Claims

### Claim 1

A method for a first device, the method comprising:
emitting a first acoustic signal;
receiving the first acoustic signal at a first time;
receiving a second acoustic signal at a second time, the second acoustic signal emitted by a second device;
ascertaining a first value reflecting a difference between the first time and the second time;
receiving from the second device at least a second value reflecting a difference between when the second device received the first acoustic signal and the second acoustic signal; and
determining a distance between the first device and the second device responsive to at least the first value and the second value.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein:
the act of emitting a first acoustic signal comprises an act of emitting the first acoustic signal using a speaker of the first device;
the act of receiving the first acoustic signal at a first time comprises an act of receiving the first acoustic signal at the first time using a microphone of the first device; and
the act of receiving a second acoustic signal at a second time comprises an act of receiving the second acoustic signal at the second time using the microphone of the first device.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the act of determining a distance between the first device and the second device responsive to at least the first value and the second value comprises an act of determining the distance between the first device and the second device responsive to at least the first value, the second value, a first dimension reflecting a distance between a speaker and a microphone of the first device, and a second dimension reflecting a distance between a speaker and a microphone of the second device.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein the act of ascertaining a first value reflecting a difference between the first time and the second time comprises an act of ascertaining the first value based at least in part on a first time index of a first sample point corresponding to the first time and a second time index of a second sample point corresponding to the second time, the first sample point and the second sample point relating to sample points of an analog-to-digital (A/D) converter of the first device.

### Claim 5 (depends on 4)

The method as recited in claim 4, wherein the act of ascertaining a first value reflecting a difference between the first time and the second time further comprises an act of ascertaining the first value based at least in part on a sampling frequency for the sample points of the analog-to-digital (A/D) converter.

### Claim 6 (depends on 1)

The method as recited in claim 1, further comprising:
calculating the first time at which the first acoustic signal is received using a coarse-to-fine grained approach that starts by using window energy and progresses to using at least one cross-correlation computation.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein the act of calculating comprises acts of:
locating a maximal window energy in an acoustic recording to a satisfactory precision by reducing a size of windows within which energy of the acoustic recording is being determined; and
locating a high cross-correlation result of the at least one cross-correlation computation while reducing a size of windows within which the cross-correlation computation is being performed.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein:
the first value comprises a first elapsed time between two time-of-arrivals (ETOA) of the first and second acoustic signals, and the second value comprises a second ETOA of the first and second acoustic signals; and the act of determining a distance between the first device and the second device responsive to at least the first value and the second value comprises an act of determining a difference between the first ETOA and the second ETOA; or
the first value comprises a first difference between two index sample points at the first device, and the second value comprises a second difference between two index sample points at the second device.

### Claim 9 (depends on 1)

The method as recited in claim 1, further comprising:
determining a relative left/right positioning between the first device and the second device using (i) at least one of two speakers or two microphones of the first device or the second device and (ii) separate computations for a left distance and a right distance.

### Claim 10 (depends on 1)

The method as recited in claim 1, further comprising:
determining a relative left/right positioning between the first device and the second device using (i) at least one of two speakers or two microphones of the first device or the second device and (ii) separate computations for a left received signal energy and a right received signal energy.

### Claim 11 (depends on 1)

The method as recited in claim 1, further comprising:
receiving multiple respective acoustic signals at multiple respective times, the multiple respective acoustic signals emitted by multiple respective devices;
receiving from the multiple respective device at least multiple respective values reflecting respective differences between when the multiple respective devices received the first acoustic signal and respective ones of the multiple respective acoustic signals; and
determining respective distances between the first device and each of the multiple respective devices responsive to at least the first value and respective ones of the multiple respective values.

### Claim 12 (depends on 11)

The method as recited in claim 11, wherein the act of receiving multiple respective acoustic signals at multiple respective times comprises an act of receiving the multiple respective acoustic signals within multiple respective time windows that are respectively assigned to the multiple respective devices.

### Claim 13 (depends on 1)

The method as recited in claim 1, further comprising:
transmitting to multiple other devices an acoustic ranging procedure initiation message that includes an acoustic signal order and a time window length; the acoustic signal order assigning respective time windows for acoustic signal emission to respective ones of the multiple other devices, and the time window length indicating a length of each of the respective time windows.

### Claim 14 (depends on 1)

The method as recited in claim 1, further comprising:
transmitting to multiple other devices an acoustic ranging procedure initiation message that includes an assignment of a respective code to each respective one of the multiple other devices;
receiving multiple other acoustic signals that are coded in accordance with the assigned respective code for each respective one of the multiple other devices; and
identifying individual ones of the multiple other acoustic signals using the assigned respective code for each respective one of the multiple other devices.

### Claim 15 (depends on 1)

The method as recited in claim 1, further comprising at least one of:
transmitting an acoustic ranging procedure initiation message to the second device, the acoustic ranging procedure initiation message including one or more parameters specifying how to participate in an acoustic ranging procedure; or
receiving an acoustic ranging procedure initiation message from the second device.

### Claim 16

One or more processor-accessible storage media comprising processor-executable instructions that, when executed, direct a first device to perform acts comprising:
emitting a first acoustic signal;
receiving the first acoustic signal at a first time;
receiving a second acoustic signal at a second time, the second acoustic signal emitted by a second device;
ascertaining a first value reflecting a difference between the first time and the second time;
receiving from the second device at least a second value reflecting a difference between when the second device received the first acoustic signal and the second acoustic signal; and
determining a distance between the first device and the second device responsive to at least the first value and the second value.

### Claim 17

A first device comprising:
at least one speaker;
at least one microphone;
an actuator to emit, in conjunction with the speaker, a first acoustic signal;
a sensor to receive, in conjunction with the microphone, the first acoustic signal at a first time and a second acoustic signal at a second time, the second acoustic signal emitted by a second device; and
a calculator to ascertain a first value reflecting a difference between the first time and the second time and to determine a distance between the first device and the second device responsive to at least the first value.

### Claim 18 (depends on 17)

The device as recited in claim 17, further comprising:
a communicator to receive, via a communication channel from the second device, at least a second value reflecting a difference between when the second device received the first acoustic signal and the second acoustic signal;
wherein the calculator is further to determine the distance between the first device and the second device responsive to at least the first value and the second value.

### Claim 19 (depends on 17)

The device as recited in claim 17, further comprising:
an application programming interface (API) to expose an acoustic ranging capability to other applications; and
an acoustic ranging controller to control performance of acoustic ranging procedures by controlling at least the calculator and to interact with the other applications via the API by receiving acoustic ranging procedure requests from the other applications and by sending calculated distances back to the other applications.

### Claim 20 (depends on 17)

The device as recited in claim 17, further comprising:
a signal generator to generate a waveform for the first acoustic signal and to feed the generated waveform to the actuator; and
a detector to detect the first time and the second time;
wherein the sensor is to record incoming sound data into a buffer and feed the recorded sound data to the detector; and
wherein the detector is further to detect a first sample point corresponding to the first time and a second sample point corresponding to the second time by analyzing the recorded sound data and a reference version of the generated waveform, the first sample point and the second sample point relating to sample points of an analog-to-digital (A/D) converter of the first device.
