# US 2019/0244628 A1 · Device and method for cancelling echo

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

- Number: US 2019/0244628 A1
- Document ID: US20190244628A1
- Status: Published application
- Kind: A1
- Application number: 16/207,005
- Filed: 2018-11-30
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Beijing Baidu Netcom Science Technology Co., Ltd.
- Applicants: Beijing Baidu Netcom Science and Technology Co., Ltd.
- Inventors: Lei GENG
- Web page: https://patentgrep.com/patent/US20190244628A1

## CPC

- G10L 21/0232: Processing in the frequency domain
- G10L 21/0208: Noise filtering
- H04R 1/326: {for microphones (H04R1/34 and H04R1/40 take precedence)}
- G10L 2021/02082: {the noise being echo, reverberation of the speech}
- G10L 2021/02166: {Microphone arrays; Beamforming}
- H04R 3/04: for correcting frequency response
- H04R 2430/00: Signal processing covered by H04R, not provided for in its groups
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- 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)

## Abstract

Embodiments of the present disclosure provide a method and a device for cancelling an echo, and a computer readable storage medium. The device includes a loudspeaker configured to play an acoustic signal corresponding to an analog audio signal. The device further includes a microphone configured to convert a mixed acoustic signal received into a mixed audio signal. The mixed acoustic signal includes an echo of the acoustic signal played and an acoustic signal from a user. The device further includes an analog-to-digital converter configured to convert the analog audio signal into a digital signal as an echo reference signal. The device further includes an echo canceller, configured to cancel an echo component from the mixed audio signal using the echo reference signal to obtain a user audio signal corresponding to the acoustic signal from the user.

## Claims

### Claim 1

An electronic device, comprising:
a loudspeaker, configured to play an acoustic signal corresponding to an analog audio signal;
a microphone, configured to convert a mixed acoustic signal received into a mixed audio signal; the mixed acoustic signal comprising an echo of the acoustic signal played and an acoustic signal from a user;
an analog-to-digital convertor, configured to convert the analog audio signal into a digital signal as an echo reference signal; and
an echo canceller, configured to cancel an echo component from the mixed audio signal using the echo reference signal to obtain a user audio signal corresponding to the acoustic signal from the user.

### Claim 2 (depends on 1)

The electronic device according to claim 1, further comprising:
an audio processor, configured to generate a digital audio signal; and
a digital power amplifier, configured to:
amplify power of the digital audio signal to obtain a power-amplified digital audio signal; and
generate the analog audio signal based on the power-amplified digital audio signal.

### Claim 3 (depends on 1)

The electronic device according to claim 1, further comprising:
a voice recognizer, configured to recognize a control command from the user based on the user audio signal, to control the electronic device.

### Claim 4 (depends on 1)

The electronic device according to claim 1, wherein the echo canceller is further configured to:
establish a far-end echo voice model based on the echo reference signal; and
adaptively filter the mixed audio signal based on the voice model, to cancel the echo component from the mixed audio signal.

### Claim 5 (depends on 1)

The electronic device according to claim 1, wherein the echo canceller is further configured to:
perform a residual echo cancellation process on the user audio signal.

### Claim 6 (depends on 1)

The electronic device according to claim 1, wherein the echo canceller is further configured to:
determine a portion of the user audio signal, wherein an attenuation amount of the portion of the user audio signal reaches a threshold attenuation amount; and
perform a cutting process on the portion.

### Claim 7 (depends on 1)

The electronic device according to claim 1, wherein the echo canceller is realized at a main processor or an audio codec of the electronic device.

### Claim 8 (depends on 1)

The electronic device according to claim 1, further comprising at least one of:
a beam former, configured to perform a beam forming process on the user audio signal;
a noise reducer, configured to perform a noise reduction process on the user audio signal;
a sound source locater, configured to perform a sound source location process on the user audio signal; and
a signal amplifier, configured to perform a signal amplification process on the user audio signal.

### Claim 9 (depends on 1)

The electronic device according to claim 1, wherein the electronic device comprises at least one of: a smart sound box, a smart home appliance, a smart on-vehicle device and a robot.

### Claim 10

An echo cancellation method, comprising:
enabling an acoustic signal corresponding to an analog audio signal to be played via a loudspeaker of an electronic device;
enabling a mixed acoustic signal received through a microphone of the electronic device to be converted into a mixed audio signal, the mixed acoustic signal comprising an echo of the acoustic signal played and an acoustic signal from a user;
acquiring an echo reference signal, the echo reference signal being generated by converting the analog audio signal into a digital signal; and
canceling an echo component from the mixed audio signal using the echo reference signal to obtain a user audio signal corresponding to the acoustic signal from the user.

### Claim 11 (depends on 10)

The method according to claim 10, further comprising:
generating a digital audio signal;
amplifying power of the digital audio signal to obtain a power-amplified digital audio signal; and
generating the analog audio signal based on the power-amplified digital audio signal.

### Claim 12 (depends on 10)

The method according to claim 10, further comprising:
recognizing a control command from the user based on the user audio signal, to control the electronic device.

### Claim 13 (depends on 10)

The method according to claim 10, wherein canceling the echo component from the mixed audio signal using the echo reference signal comprises:
establishing a far-end echo voice mode based on the echo reference signal; and
adaptively filtering the mixed audio signal based on the voice mode, to cancel the echo component from the mixed audio signal.

### Claim 14 (depends on 10)

The method according to claim 10, further comprising:
performing a residual echo cancellation process on the user audio signal.

### Claim 15 (depends on 10)

The method according to claim 10, further comprising:
determining a portion of the user audio signal, wherein an attenuation amount of the user audio signal reaches a threshold attenuation amount; an
performing a cutting processing on the portion.

### Claim 16 (depends on 10)

The method according to claim 10, further comprising at least one of:
performing a beam forming process on the user audio signal;
performing a noise reduction process on the user audio signal;
performing a sound source location process on the user audio signal; and
performing a signal amplification process on the user audio signal.

### Claim 17 (depends on 10)

The method according to claim 10, wherein the electronic device includes at least one of: a smart sound box, a smart home appliance, a smart on-vehicle device and a robot.

### Claim 18

A non-transitory computer readable storage medium, having computer programs stored thereon, wherein when the computer programs are executed by a processor, an echo cancellation method is executed, the echo cancellation method comprises:
enabling an acoustic signal corresponding to an analog audio signal to be played via a loudspeaker of an electronic device;
enabling a mixed acoustic signal received through a microphone of the electronic device to be converted into a mixed audio signal, the mixed acoustic signal comprising an echo of the acoustic signal played and an acoustic signal from a user;
acquiring an echo reference signal, the echo reference signal being generated by converting the analog audio signal into a digital signal; and
canceling an echo component from the mixed audio signal using the echo reference signal to obtain a user audio signal corresponding to the acoustic signal from the user.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium according to claim 18, wherein the echo cancellation method further comprises:
generating a digital audio signal;
amplifying power of the digital audio signal to obtain a power-amplified digital audio signal; and
generating the analog audio signal based on the power-amplified digital audio signal.

### Claim 20 (depends on 18)

The non-transitory computer readable storage medium according to claim 18, wherein the echo cancellation method further comprises:
recognizing a control command from the user based on the user audio signal, to control the electronic device.
