IP Library › Granted Patent US 10,388,301
Granted Patent B2
US 10,388,301 · App. 16/033,841 · Granted Aug 20, 2019

Method for processing audio signal and electronic device for supporting the same

Inventors: Choon-Ho Kim (Suwon-si, KR); Kyuhan Kang (Suwon-si, KR); Gangyoul Kim (Seongnam-si, KR); Kiwon Kim (Seongnam-si, KR); Minseok Kim (Yongin-si, KR); Jin-Woo Park (Seongnam-si, KR); Gunhyuk Yoon (Suwon-si, KR); Sangphil Hong (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G10L21/0232H04R1/403H04R3/04H04R3/12G10L2021/02082
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,388,301
App. No.
16/033,841
Granted
Aug 20, 2019
Kind
B2
Abstract

An electronic device for processing an audio signal is provided. The electronic device includes a communication circuit, a microphone, a connector and a processor. The processor identifies whether the external cable connected with a first external electronic device and including a resistor having a resistance value equal to or greater than a designated resistance value is connected to the connector, and in response to identifying that the external cable is connected to the connector, transmit a first audio signal to the first external electronic device through the external cable, and receive a second audio signal including an echo signal and a voice signal through the microphone, and cancel the echo signal corresponding to the first audio signal, based at least partly on a delay time corresponding to the external cable and a parameter related with a filter corresponding to the external cable.

Claims (50)

1. An electronic device comprising:

a communication circuit;

at least one microphone;

a connector configured to connect with an external cable or an external electronic device; and

a processor configured to:

identify whether the external cable, which is connected with a first external electronic device and comprises a resistor having a resistance value equal to or greater than a designated resistance value, is connected to the connector,

in response to identifying that the external cable is connected to the connector, control the communication circuit to transmit a first audio signal to the first external electronic device through the external cable,

receive a second audio signal comprising an echo signal and a voice signal, the echo signal being output from the first external electronic device and corresponding to the first audio signal, the voice signal being input by a user through the at least one microphone, and

cancel the echo signal corresponding to the first audio signal, based at least partly on a delay time corresponding to the external cable and a parameter related with a filter corresponding to the external cable, among a plurality of delay times related with the echo signal and a plurality of parameters related with the filter, which are set to respectively correspond to one of a second external electronic device or the external cable being connected to the connector, the second external electronic device being connectable to the connector with a second cable comprising a resistor having a resistance value less than the designated resistance value.

2. The electronic device of claim 1 , wherein the processor is further configured to:

identify that the external electronic device is connected to the connector; and

in response to identifying that the external electronic device is connected to the connector, identify whether the external electronic device comprises the external cable or the second external electronic device.

3. The electronic device of claim 2 ,

wherein the second external electronic device comprises a 3-pole terminal or a 4-pole terminal, and

wherein the processor is further configured to, in response to identifying that the external electronic device is connected to the connector, identify whether the external electronic device comprises the external cable, or whether the external electronic device comprises the second external electronic device comprising the 3-pole terminal or the 4-pole terminal.

4. The electronic device of claim 2 , further comprising:

a plurality of speakers,

wherein the processor is further configured to:

in response to identifying that the external electronic device is not connected to the connector, while outputting an audio signal through one speaker among the plurality of speakers, receive, through the at least one microphone, the echo signal output from the one speaker and the voice signal input by the user; and

cancel the echo signal outputted from the one speaker, based at least partly on a delay time corresponding to the one speaker and a parameter related with a filter corresponding to the one speaker, among the plurality of delay times related with the echo signal and the plurality of parameters related with the respective filter, which are set to correspond to the plurality of speakers, respectively.

5. The electronic device of claim 1 ,

wherein the filter comprises a linear filter and a non-linear filter, and

wherein the processor is further configured to cancel the echo signal corresponding to the first audio signal, based at least partly on a delay time and a parameter related with at least one of the linear filter or the non-linear filter, which correspond to the external cable.

6. The electronic device of claim 5 , wherein the delay time corresponding to the external cable is set at a longer time than the delay time corresponding to the second external electronic device.

7. The electronic device of claim 5 , wherein the parameter related with the non-linear filter corresponding to the external cable is set to apply a greater echo signal cancellation level to the echo signal, compared to a parameter related with a non-linear filter corresponding to the second external electronic device.

8. The electronic device of claim 5 , wherein, in response to the non-linear filter comprising a plurality of non-linear parameters, the processor is further configured to cancel a non-linear echo component of the echo signal by using more non-linear parameters among the plurality of non-linear parameters when the external cable is connected to the connector.

9. The electronic device of claim 1 , wherein the external cable comprises an auxiliary cable.

10. The electronic device of claim 1 , wherein the processor is further configured to control the communication circuit to transmit the first audio signal to the first external electronic device through the external cable during an execution of at least one of a call application, a voice recognition application, an audio reproduction application, or an application for providing a voice message.

11. A method for processing an audio signal, the method comprising:

identifying whether an external cable, which is connected with a first external electronic device and comprises a resistor having a resistance value equal to or greater than a designated resistance, is connected to a connector;

in response to identifying that the external cable is connected to the connector, transmitting a first audio signal to the first external electronic device through the external cable;

receiving a second audio signal comprising an echo signal and a voice signal, the echo signal being output from the first external electronic device and corresponding to the first audio signal, the voice signal being input by a user through at least one microphone; and

cancelling the echo signal corresponding to the first audio signal, based at least partly on a delay time corresponding to the external cable and a parameter related with a filter corresponding to the external cable, among a plurality of delay times related with the echo signal and a plurality of parameters related with the filter, which are set to respectively correspond to one of a second external electronic device or the external cable being connected to the connector, the second external electronic device being connectable to the connector with a second cable comprising a resistor having a resistance value less than the designated resistance value.

12. The method of claim 11 , wherein the identifying of whether the external cable is connected to the connector comprises:

identifying that an external electronic device is connected to the connector; and

in response to identifying that the external electronic device is connected to the connector, identifying whether the external electronic device comprises the external cable or the second external electronic device.

13. The method of claim 12 ,

wherein the second external electronic device comprises a 3-pole terminal or a 4-pole terminal, and

wherein the identifying of whether the external electronic device comprises the external cable or the second external electronic device comprises, in response to identifying that the external electronic device is connected to the connector, identifying whether the external electronic device comprises the external cable, or whether the external electronic device comprises the second external electronic device comprising the 3-pole terminal or the 4-pole terminal.

14. The method of claim 12 , further comprising:

in response to identifying that the external electronic device is not connected to the connector, while outputting an audio signal through one speaker among a plurality of speakers, receiving, through the at least one microphone, the echo signal output from the one speaker and the voice signal input by the user; and

cancelling the echo signal output from the one speaker, based at least partly on a delay time corresponding to the one speaker and a parameter related with a filter corresponding to the one speaker, among the plurality of delay times related with the echo signal and the plurality of parameters related with the filter, which are set to correspond to the plurality of speakers, respectively.

15. The method of claim 11 ,

wherein the filter comprises a linear filter and a non-linear filter, and

wherein the cancelling of the echo signal corresponding to the first audio signal comprises cancelling the echo signal corresponding to the first audio signal, based at least partly on a delay time and a parameter related with at least one of the linear filter or the non-linear filter, which correspond to the external cable.

16. The method of claim 15 , further comprising setting the delay time corresponding to the external cable at a longer time than the delay time corresponding to the second external electronic device.

17. The method of claim 15 , further comprising setting the parameter related with the non-linear filter corresponding to the external cable to apply a greater echo signal cancellation level to the echo signal, compared to a parameter related with a non-linear filter corresponding to the second external electronic device.

18. The method of claim 15 , wherein, in response to the non-linear filter comprising a plurality of non-linear parameters, the cancelling of the echo signal corresponding to the first audio signal comprises cancelling a non-linear echo component of the echo signal by using more non-linear parameters among the plurality of non-linear parameters, when the external cable is connected to the connector.

19. The method of claim 11 , wherein the external cable comprises an auxiliary cable.

20. The method of claim 11 , wherein the transmitting of the first audio signal to the first external electronic device through the external cable comprises transmitting the first audio signal to the first external electronic device through the external cable during an execution of at least one of a call application, a voice recognition application, an audio reproduction application, or an application for providing a voice message.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2018
From: KIM, CHOON-HO; KANG, KYUHAN; KIM, GANGYOUL; KIM, KIWON; KIM, MINSEOK; PARK, JIN-WOO; YOON, GUNHYUK; HONG, SANGPHIL
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 046335/0313 →
Priority Claims (1)
KR 10-2017-0138187 · Oct 24, 2017 · national
Continuity (1)
Related Publication 20190122687A1 · Apr 25, 2019
Cited By (1)
US 12,418,746