# US 10,959,018 B1 · Method for autonomous loudspeaker room adaptation

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

- Number: US 10,959,018 B1
- Document ID: US10959018B1
- Status: Granted
- Kind: B1
- Application number: 16/252,066
- Filed: 2019-01-18
- Granted: 2021-03-23
- Earliest claimed: 2019-01-18
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Guangji Shi; Jan Aage Abildgaard Pedersen; Trausti Thor Kristjansson; Philip Ryan Hilmes
- Web page: https://patentgrep.com/patent/US10959018B1

## CPC

- G06N 3/08: Learning methods
- H04R 3/005: {for combining the signals of two or more microphones (specially adapted for hearing aids H04R25/407)}
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- H04R 3/04: for correcting frequency response
- H04R 5/027: Spatial or constructional arrangements of microphones, e.g. in dummy heads
- H04R 5/04: Circuit arrangements, {e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments (combinations of amplifiers H03F3/68; stereophonic systems H04S)}
- H04S 7/301: {Automatic calibration of stereophonic sound system, e.g. with test microphone}
- H04R 2430/20: Processing of the output signals of the acoustic transducers of an array for obtaining a desired directivity characteristic (H04R2203/12 takes precedence)
- H04R 2430/21: Direction finding using differential microphone array [DMA]
- H04R 2430/25: Array processing for suppression of unwanted side-lobes in directivity characteristics, e.g. a blocking matrix
- H04S 7/305: {Electronic adaptation of stereophonic audio signals to reverberation of the listening space (H04S7/301 takes precedence)}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)
- H04S: STEREOPHONIC SYSTEMS

## Abstract

A system that performs wall detection, range estimation, and/or corner detection to determine a position of a device relative to acoustically reflective surfaces. The device generates output audio using a loudspeaker, generates microphone audio data using a microphone array, performs beamforming to generate directional audio data and then generates impulse response data for each of a plurality of directions. The device may detect a peak in the impulse response data and determine a distance and/or direction to a reflective surface based on the peak. Based on a number of reflected surfaces and/or direction(s) of the reflected surfaces detected by the device, the device may classify the different directions and estimate where it is in the room, such as whether the device is in a corner, along one wall, or in an open area. By knowing its position relative to the room surfaces, the device may improve sound equalization.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a device located in an environment, first audio data associated with a first microphone, the first audio data including a first representation of audible sound output by a loudspeaker;
receiving, by the device, second audio data associated with a second microphone, the second audio data including a second representation of the audible sound;
determining, using at least the first audio data and the second audio data: a first audio signal corresponding to a first direction, and a second audio signal corresponding to a second direction; determining, using the first audio signal, first impulse response data representing first acoustic characteristics corresponding to the first direction;
determining, using the second audio signal, second impulse response data representing second acoustic characteristics corresponding to the second direction;
determining, based on the first impulse response data and the second impulse response data, first data indicating a first position of the device relative to one or more acoustically reflective surfaces;
determining, based on the first data and from among a plurality of pre-stored parameters, first pre-stored parameters corresponding to the first position, wherein the plurality of pre-stored parameters include:
the first pre-stored parameters, and
second pre-stored parameters associated with a second position of the device; and using the first pre-stored parameters to improve speech recognition processing.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
generating, using a first model and the first impulse response data, second data indicating whether a first acoustically reflective surface is in the first direction relative to the device; and generating, using the first model and the second impulse response data, third data indicating whether a second acoustically reflective surface is in the second direction relative to the device;
wherein the first data is determined using the second data and the third data.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
processing, using a first model, the first impulse response data and the second impulse response data to determine the first data, wherein the first data indicates that the device is positioned in proximity to:
a first acoustically reflective surface in the first direction relative to the device, and
a second acoustically reflective surface in the second direction relative to the device.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
processing, using a first model, the first impulse response data and the second impulse response data to determine the first data, wherein the first data indicates that the device is positioned in proximity to a single acoustically reflective surface.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
processing, using a first model, the first impulse response data and the second impulse response data to determine the first data, wherein the first data indicates that the device is positioned away from the one or more acoustically reflective surfaces.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
sending, prior to receiving the first audio data, third audio data to the loudspeaker to be output as the audible sound, wherein:
determining the first impulse response data further comprises performing a first cross-spectrum analysis between the first audio signal and the third audio data, and determining the second impulse response data further comprises performing a second cross-spectrum analysis between the second audio signal and the third audio data.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving third audio data to output to the loudspeaker;
generating, using the first pre-stored parameters and the third audio data, fourth audio data; and
sending the fourth audio data to the loudspeaker to generate output audio.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising: detecting, in the first impulse response data, a first peak indicating that a first acoustically
reflective surface is in the first direction relative to the device;
determining, using the first impulse response data, a first time delay corresponding to the first peak; and
determining, using the first time delay, a first distance corresponding to the first acoustically reflective surface
wherein the first data is determined using at least the first distance and the first direction.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the audible sound corresponds to content output in response to a user command.

### Claim 10

A computer-implemented method comprising:
receiving, by a device located in an environment, first audio data associated with a first microphone, the first audio data including a first representation of audible sound output by a loudspeaker;
receiving, by the device, second audio data associated with a second microphone, the second audio data including a second representation of the audible sound;
determining first impulse response data representing first acoustic characteristics of the environment;
determining second impulse response data representing second acoustic characteristics of the environment;
processing, using a first model, the first impulse response data and the second impulse response data to generate first data indicating a first position of the device relative to one or more acoustically reflective surfaces;
determining, based on the first data and from among a plurality of pre-stored parameters, first pre-stored parameters corresponding to the first position, wherein the plurality of pre-stored parameters include:
the first pre-stored parameters, and
second pre-stored parameters associated with a second position of the device; and using the first pre-stored parameters to improve speech recognition processing.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, further comprising:
sending, prior to receiving the first audio data, third audio data to the loudspeaker to be output as the audible sound, wherein:
determining the first impulse response data further comprises performing a first cross-spectrum analysis between the first audio data and the third audio data, and
determining the second impulse response data further comprises performing a second cross-spectrum analysis between the second audio data and the third audio data.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, further comprising:
sending, prior to receiving the first audio data, third audio data to the loudspeaker to be output as the audible sound; and
determining, using at least the first audio data and the second audio data: a first audio signal corresponding to a first direction, and a second audio signal corresponding to a second direction,
wherein:
the first impulse response data is determined using the first audio signal and the third audio data, the first impulse response data corresponding to the first direction; and the second impulse response data is determined using the second audio signal and the third audio data, the second impulse response data corresponding to the second direction.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising:
determining third impulse response data using the first audio data and the third audio data,
wherein the first data is generated by processing the third impulse response data using the first model.

### Claim 14 (depends on 12)

The computer-implemented method of claim 12, further comprising:
generating, using the first model and the first impulse response data, second data indicating whether a first acoustically reflective surface is detected in the first direction relative to the device; and
generating, using the first model and the second impulse response data, third data indicating whether a second acoustically reflective surface is detected in the second direction relative to the device,
wherein the first data is generated using the second data and the third data.

### Claim 15 (depends on 12)

The computer-implemented method of claim 12, further comprising:
detecting, in the first impulse response data using the first model, a first peak indicating that a first acoustically reflective surface is in the first direction relative to the device;
determining, using the first impulse response data, a first time delay corresponding to the first peak; and
determining, using the first time delay, a first distance corresponding to the first acoustically reflective surface,
wherein the first data is generated using at least the first distance and the first direction.

### Claim 16 (depends on 10)

The computer-implemented method of claim 10, further comprising:
receiving third audio data to output to the loudspeaker;
generating, using the first pre-stored parameters and the third audio data, fourth audio data; and
sending the fourth audio data to the loudspeaker to generate output audio.

### Claim 17 (depends on 10)

The computer-implemented method of claim 10, wherein the audible sound corresponds to content output in response to a user command.
