Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ACOUSTIC ECHO MITIGATION APPARATUS AND METHOD, AUDIO PROCESSING APPARATUS AND VOICE COMMUNICATION TERMINAL
Document Type and Number:
WIPO Patent Application WO/2014/150211
Kind Code:
A1
Abstract:
The present application provides an acoustic echo mitigation apparatus and method, an audio processing apparatus and a voice communication terminal. According to an embodiment, an acoustic echo mitigation apparatus is provided, including: an acoustic echo canceller for cancelling estimated acoustic echo from a microphone signal and outputting an error signal; a residual echo estimator for estimating residual echo power; and an acoustic echo suppressor for further suppressing residual echo and noise in the error signal based on the residual echo power and noise power. Here, the residual echo estimator is configured to be continuously adaptive to power change in the error signal. According to the embodiments of the present application, the acoustic echo mitigation apparatus and method can, at least, be well adaptive to the change of power of the error signal after the AEC processing, such as that caused by change of double-talk status, echo path properties, noise level and etc.

Inventors:
SHI DONG (CN)
SUN XUEJING (CN)
DICKINS GLENN N (AU)
Application Number:
PCT/US2014/022591
Publication Date:
September 25, 2014
Filing Date:
March 10, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DOLBY LAB LICENSING CORP (US)
International Classes:
G10L21/0208; H04M9/08
Domestic Patent References:
WO2011010960A12011-01-27
Foreign References:
EP1978649A22008-10-08
EP2330752A12011-06-08
US20040264686A12004-12-30
US7440891B12008-10-21
Other References:
CHRISTOF FALLER; JINGDONG CHEN: "Suppressing Acoustic Echo in a Spectral Envelope Space", IEEE TRANSACTIONS ON SPEECH AND AUDIO PROCESSING, vol. 13, no. 5-2, 2005, pages 1048 - 1062, XP011137551, DOI: doi:10.1109/TSA.2005.852012
R.MARTIN: "Noise Power Spectral Density Estimation Based On Optimal Smoothing And Minimum Statistics", IEEE TRANS. SPEECH AUDIO PROCESS, vol. 9, no. 5, 2001, pages 504 - 512, XP055223631, DOI: doi:10.1109/89.928915
Attorney, Agent or Firm:
ANDERSEN, Robert L et al. (Inc.Intellectual Property Group,100 Potrero Avenu, San Francisco California, US)
Download PDF:
Claims:
WE CLAIM:

1 An acoustic echo mitigation apparatus, comprising:

an acoustic echo canceller for cancelling estimated acoustic echo from a microphone signal and outputting an error signal;

a residual echo estimator for estimating residual echo power; and

an acoustic echo suppressor for further suppressing residual echo and noise in the error signal based on the residual echo power and noise power;

wherein the residual echo estimator is configured to be continuously adaptive to power change in the error signal.

2. The acoustic echo mitigation apparatus according to Claim 1, wherein the residual echo estimator further comprises:

a first adaptive filter for obtaining a preliminary estimate of the residual echo power, the coefficient set of the first adaptive filter being adaptively updated to continuously follow the power change in the error signal;

a first buffer for holding the coefficient sets of the first adaptive filter for a first number of past frames;

a second adaptive filter for obtaining a final estimate of the residual echo power; and a coefficient adaptor for determining the coefficient set of the second adaptive filter for the present frame based on the minimum statistics of the norms of the coefficient sets held in the first buffer.

3. The acoustic echo mitigation apparatus according to Claim 2, wherein the minimum statistics of the norms comprises minimum norm or minimum absolute value of derivative of first order of the norms along the time line.

4. The acoustic echo mitigation apparatus according to Claim 2, wherein,

the second adaptive filter is configured to obtain the final estimate of the residual echo power based on history of reference signal power, and the coefficient adaptor is configured to choose the coefficient set the norm of which is of the minimum statistics among the coefficient sets held in the first buffer.

5. The acoustic echo mitigation apparatus according to Claim 4, wherein the coefficient adaptor is configured to use the coefficient set for the last frame if the fluctuation of the norms of the coefficient sets held in the first buffer reaches a predetermined degree.

6. The acoustic echo mitigation apparatus according to Claim 4, wherein the coefficient adaptor is configured to use the coefficient set for the last frame if the ratio of the maximum statistics over the minimum statistics of the norms of the coefficient sets held in the first buffer reaches a first threshold.

7. The acoustic echo mitigation apparatus according to any one of Claims 4-6, wherein the minimum statistics is the minimum norm among the norms of the coefficient sets held in the first buffer, and the coefficient adaptor is configured to use the coefficient set for the last frame if the minimum norm is greater than the norm of the coefficient set of the second adaptive filter for the last frame.

8. The acoustic echo mitigation apparatus according to Claim 4, wherein the first adaptive filter is configured to obtain the preliminary estimate of the residual echo power and update the coefficient set based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power.

9. The acoustic echo mitigation apparatus according to any one of Claims 4-6, further comprising:

a second buffer for holding a local minimum statistics of the norms of coefficient sets for every group of second number of frames, and wherein,

the coefficient adaptor is configured to choose the coefficient set the norm of which is of the minimum statistics among the local minimum statistics for a third number of past groups of frames.

10. The acoustic echo mitigation apparatus according to any one of Claims 2-6, wherein the first number is decreased where suppressing echo is more important than preserving double talk speech quality, and increased otherwise.

11. The acoustic echo mitigation apparatus according to Claim 6b, further comprising: a changing rate estimator for calculating a changing rate of the norm of the coefficient set of the first adaptive filter, and

wherein the first number is decreased where the changing rate is less than a fourth threshold for a seventh number of consecutive observations; and/or increased where the changing rate is not less than the fourth threshold for an eighth number of consecutive observations.

12. The acoustic echo mitigation apparatus according to Claim 2, wherein,

the second adaptive filter is configured to obtain the final estimate of the residual echo power and update its coefficient set based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power,

the minimum statistics is the minimum norm among the norms of the coefficient sets held in the first buffer, and

the coefficient adaptor is configured to adjust the coefficient set of the second adaptive filter where the minimum norm is less than a second threshold determined based on the norm of coefficient set of the second adaptive filter for the last frame.

13. The acoustic echo mitigation apparatus according to Claim 12, wherein the coefficient adaptor is configured to adjust the coefficient set of the second adaptive filter with a scaling factor determined as a ratio of the norm of the coefficient set of the first adaptive filter over the norm of the coefficient set of the second adaptive filter.

14. The acoustic echo mitigation apparatus according to Claim 12, wherein,

the first adaptive filter is configured to work with respect to at least one frequency band each comprising a plurality of frequency bins,

the second adaptive filter is configured to work with respect to each frequency bin, and the coefficient adaptor is configured to adjust the coefficient set of the second adaptive filter with respect to each frequency bin with a scaling factor determined as a ratio of the norm of the coefficient set of the first adaptive filter with respect to a corresponding frequency band over the mean of the respective norms of respective coefficient sets of the second adaptive filter for respective frequency bins in the corresponding frequency band.

15. The acoustic echo mitigation apparatus according to any one of Claims 1-6 and 12-14, wherein,

the acoustic echo canceller is NLMS-based; and

the residual echo estimator is configured to update filter step size in the acoustic echo canceller based on the residual echo power and the power of the error signal.

16. The acoustic echo mitigation apparatus according to Claim 15, wherein the residual echo estimator is configured to update the filter step size in the acoustic echo canceller based on the residual echo power and an expectation of the power of the error signal.

17. The acoustic echo mitigation apparatus according to any one of Claims 4-6 and 12-14, further comprising:

an echo path estimator for estimating the significance of the echo path, and switching off the acoustic echo canceller and/or the acoustic echo suppressor where the echo path is of low significance.

18. The acoustic echo mitigation apparatus according to Claim 17, wherein the minimum statistics is the minimum norm among the norms of the coefficient sets held in the first buffer, and the echo path estimator further comprises:

a third buffer for holding the minimum norms for a fourth number of past frames, wherein for each frequency bin and for the present frame, there is a long-term minimum norm among the minimum norms held in the third buffer;

an indicator calculator for calculating a sum of respective long-term minimum norms for respective frequency bins; and

the echo path estimator is configured to switch the acoustic echo canceller and/or the acoustic echo suppressor off where the sum is less than a third threshold for a fifth number of consecutive observations; and/or on where the sum is not less than the third threshold for a sixth number of consecutive observations.

19. The acoustic echo mitigation apparatus according to Claim 17, wherein the echo path estimator further comprises:

a third buffer for holding norms of coefficients set of the first adaptive filter for a fourth number of past frames, wherein for each frequency bin and for the present frame, there is a minimum norm among the norms held in the third buffer;

an indicator calculator for calculating a sum of respective minimum norms for respective frequency bins; and

the echo path estimator is configured to switch the acoustic echo canceller and/or the acoustic echo suppressor off where the sum is less than a third threshold for a fifth number of consecutive observations; and/or on where the sum is not less than the third threshold for a sixth number of consecutive observations.

20. The acoustic echo mitigation apparatus according to any one of 12-14Claims 1-6 and 12-14, wherein the acoustic echo suppressor is configured to filter the error signal by applying a gain determined based on the power of the error signal, the residual echo power and the noise power.

21. An acoustic echo mitigation method, comprising:

cancelling, with an acoustic echo canceller, estimated acoustic echo from a microphone signal, resulting in an error signal;

estimating residual echo power based on the error signal in a manner continuously adapted to power change in the error signal; and

further suppressing, with an acoustic echo suppressor, residual echo and noise in the error signal based on the residual echo power and noise power.

22. The acoustic echo mitigation method according to Claim 21, wherein the operation of estimating the residual echo power further comprises:

adaptively updating the coefficient set of a first adaptive filter during a process of obtaining a preliminary estimate of the residual echo power, so that the coefficient set continuously follows the power change in the error signal;

determining the coefficient set of a second adaptive filter for the present frame based on the minimum statistics of the norms of the coefficient sets of the first adaptive filter for a first number of past frames; and

obtaining a final estimate of the residual echo power with the second adaptive filter.

23. The acoustic echo mitigation method according to Claim 22, wherein the minimum statistics of the norms comprises minimum norm or minimum absolute value of derivative of first order of the norms along the time line.

24. The acoustic echo mitigation method according to Claim 22, wherein,

the operation of obtaining the final estimate is configured to obtain the final estimate of the residual echo power based on history of reference signal power, and

the operation of determining the coefficient set is configured to choose the coefficient set the norm of which is of the minimum statistics among the coefficient sets for the first number of past frames.

25. The acoustic echo mitigation method according to Claim 24, wherein the operation of determining the coefficient set is configured to use the coefficient set for the last frame if the fluctuation of the norms of the coefficient sets for the first number of past frames reaches a predetermined degree.

26. The acoustic echo mitigation method according to Claim 24, wherein the operation of determining the coefficient set is configured to use the coefficient set for the last frame if the ratio of the maximum statistics over the minimum statistics of the norms of the coefficient sets for the first number of past frames reaches a first threshold.

27. The acoustic echo mitigation method according to any one of Claims 24-26, wherein the minimum statistics is the minimum norm among the norms of the coefficient sets for the first number of past frames, and the operation of determining the coefficient set is configured to use the coefficient set for the last frame if the minimum norm is greater than the norm of the coefficient set of the second adaptive filter for the last frame.

28. The acoustic echo mitigation method according to Claim 26, wherein the operation of adaptively updating the coefficient set of the first adaptive filter is based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power.

29. The acoustic echo mitigation method according to any one of Claims 22-26, wherein the first number is decreased where suppressing echo is more important than preserving double talk speech quality, and increased otherwise.

30. The acoustic echo mitigation method according to Claim 29, further comprising:

calculating a changing rate of the norm of the coefficient set of the first adaptive filter, and

wherein the first number is decreased where the changing rate is less than a fourth threshold for a seventh number of consecutive observations; and/or increased where the changing rate is not less than the fourth threshold for an eighth number of consecutive observations.

31. The acoustic echo mitigation method according to Claim 22, wherein,

the operation of obtaining the final estimate of the residual echo power is based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power,

the minimum statistics is the minimum norm among the norms of the coefficient sets of the first adaptive filter for the first number of past frames, and

the operation of determining the coefficient set of the second adaptive filter is configured to adjust the coefficient set of the second adaptive filter where the minimum norm is less than a second threshold determined based on the norm of coefficient set of the second adaptive filter for the last frame.

32. The acoustic echo mitigation method according to Claim 31, wherein the operation of determining the coefficient set of the second adaptive filter comprises adjusting the coefficient set of the second adaptive filter with a scaling factor determined as a ratio of the norm of the coefficient set of the first adaptive filter over the norm of the coefficient set of the second adaptive filter.

33. The acoustic echo mitigation method according to Claim 31, wherein, the operation of adaptively updating the coefficient set of the first adaptive filter is performed with respect to at least one frequency band each comprising a plurality of frequency bins,

the operation of obtaining the final estimate of the residual echo power is performed with respect to each frequency bin, and

the operation of determining the coefficient set of the second adaptive filter comprises: determining a ratio of the norm of the coefficient set of the first adaptive filter with respect to each frequency band over the mean of the respective norms of respective coefficient sets of the second adaptive filter for respective frequency bins in the frequency band; and

adjusting the coefficient set of the second adaptive filter with respect to each frequency bin with the ratio as a scaling factor.

34. The acoustic echo mitigation method according to any one of Claims 22-26 and 31-33, wherein,

the operation of cancelling the estimated acoustic echo is performed based on an NLMS-based algorithm; and

the step size of the NLMS-based algorithm is updated based on the residual echo power and the power of the error signal.

35. The acoustic echo mitigation method according to any one of Claim 34, wherein the step size of the NLMS-based algorithm is updated based on the residual echo power and an expectation of the power of the error signal.

36. The acoustic echo mitigation method according to any one of Claims 24-26 and 13-33, further comprising:

estimating the significance of the echo path;

wherein the operation of cancelling the estimated acoustic echo and/or the operation of further suppressing the residual echo are not performed where the echo path is of low significance.

37. The acoustic echo mitigation method according to Claim 36, wherein the minimum statistics is the minimum norm among the norms of the coefficient sets for the first number of past frames, and the operation of estimating the significance of the echo path further comprises:

finding, for each frequency bin and for the present frame, a long-term minimum norm among the minimum norms for a fourth number of past frames;

calculating a sum of respective long-term minimum norms for respective frequency bins; and

wherein the operation of cancelling the estimated acoustic echo and/or the operation of further suppressing the residual echo are not performed where the sum is less than a third threshold for a fifth number of consecutive observations; and/or are performed where the sum is not less than the third threshold for a sixth number of consecutive observations.

38. The acoustic echo mitigation method according to Claim 37, wherein the operation of estimating the significance of the echo path further comprises:

finding, for each frequency bin and for the present frame, a minimum norm among the norms for a fourth number of past frames;

calculating a sum of respective minimum norms for respective frequency bins; and wherein the operation of cancelling the estimated acoustic echo and/or the operation of further suppressing the residual echo are not performed where the sum is less than a third threshold for a fifth number of consecutive observations; and/or are performed where the sum is not less than the third threshold for a sixth number of consecutive observations.

39. The acoustic echo mitigation method according to any one of Claims 22-26 and 31-33, wherein the operation of further suppressing the residual echo comprises applying to the error signal a gain determined based on the power of the error signal, the residual echo power and the noise power.

40. An audio processing apparatus comprising the acoustic echo mitigation apparatus according to any one of Claims 1-20.

41. An voice communication terminal comprising the acoustic echo mitigation apparatus according to any one of Claims 1-20.

42. A computer-readable medium having computer program instructions recorded thereon, when being executed by a processor, the instructions enabling the processor to execute an acoustic echo mitigation method, comprising:

cancelling, with an acoustic echo canceller, estimated acoustic echo from a microphone signal, resulting in an error signal;

estimating residual echo power based on the error signal in a manner continuously adapted to power change in the error signal; and

further suppressing, with an acoustic echo suppressor, residual echo and noise in the error signal based on the residual echo power and noise power.

Description:
ACOUSTIC ECHO MITIGATION APPARATUS AND METHOD, AUDIO PROCESSING APPARATUS AND VOICE COMMUNICATION TERMINAL

Cross Reference to Related Applications

[001] This application claims priority to Chinese Patent Application No. 20130084973.3, filed on 15 March 2013 and United States Provisional Patent Application No. 61/807,539, filed on 2 April 2013, each of which is hereby incorporated by reference in its entirety.

Technical Field

[002] The present application relates generally to audio signal processing. More specifically, embodiments of the present application relate to an acoustic echo mitigation apparatus and method, and an audio processing apparatus and voice communication terminal comprising the same acoustic echo mitigation apparatus. Background

[003] In voice communication, acoustic echo mitigation is a great challenge. Acoustic echo is caused by the fact that the microphone may re-capture the audio signal played out by the loudspeaker (loudspeaker signal or reference signal), and thus the talker on the other side (far- end) will hear his own voice together with the input of the near end.

[004] Conventionally there are two fundamental techniques for mitigating acoustic echo. One is acoustic echo cancellation (AEC) and the other is acoustic echo suppression (AES). Nowadays AEC is generally used to cancel most acoustic echo from the microphone signal and AES is generally used to further suppress residual echo in the error signal obtained after the AEC processing. AES might be used alone when low complexity or robustness to minor echo path changes is desired (Christof Faller, Jingdong Chen: Suppressing Acoustic Echo in a Spectral Envelope Space. IEEE Transactions on Speech and Audio Processing 13(5-2): 1048- 1062 (2005), the entirety of which is incorporated herein by reference).

[005] The proper operation of AES depends on proper gains obtained based on residual echo power estimated from the error signal output from AEC. However, it is a challenging task to estimate the residual echo power with both robustness and swiftness-due to power change in the error signal, which may be caused by various factors, such as noise, double talk (or near end talk), change of properties of the echo path (LEM, Loudspeaker-Enclosure-Microphone) such as switching between headset and loudspeaker, and etc.

[006] One solution is to employ a simple hard-decision voice activity detector for a double talk flag, then the AES may be adjusted depending on the flag so that near end talk will not be regarded as residual echo and suppressed erroneously. An example may be found in Makoto Shozakai et al., United States Patent No.7440891, patented on October 21, 2008 and originally assigned to Asahi Kasei Kabushiki Kaisha, titled "Speech Processing Method and Apparatusor Improving Speech Quality and Speech Recognition Performance" , the entirety of which is incorporated herein by reference. However, in such a solution, the hard-decision flag regarding double talk would depend on experiential selection of a threshold, which usually cannot meet requirements in all scenarios. Furthermore, such a solution tends to confuse double talk with other changes, such as echo path change, or noise level change which also result in power change in the error signal.

Summary

[007] The embodiments of the present application provide solutions at least to properly deal with power change in the error signal. Rather than making hard decisions regarding such as double talk, echo path change or noise, the present application proposes to continuously track or follow the power change in the error signal while selecting from history more reliable estimations based on a well-designed mechanism. In this way, echo path change (including noise change) is well followed and distinguished from double talk. Additionally, the proposed method proposes an approach to controlling the adaptive filter in AEC using a soft decision. This excludes the necessity of defining hard thresholds for claiming double talk/echo path change.

[008] According to an embodiment of the application, an acoustic echo mitigation apparatus is provided, including: an acoustic echo canceller for cancelling estimated acoustic echo from a microphone signal and outputting an error signal; a residual echo estimator for estimating residual echo power; and an acoustic echo suppressor for further suppressing residual echo and noise in the error signal based on the residual echo power and noise power. Here, the residual echo estimator is configured to be continuously adaptive to power change in the error signal.

[009] According to another embodiment, an acoustic echo mitigation method is also provided, including: cancelling, with an acoustic echo canceller, estimated acoustic echo from a microphone signal, resulting in an error signal; estimating residual echo power based on the error signal in a manner continuously adapted to power change in the error signal; and further suppressing, with an acoustic echo suppressor, residual echo and noise in the error signal based on the residual echo power and noise power.

[010] The present application also provides an audio processing apparatus comprising the acoustic echo mitigation apparatus as described above and a voice communication terminal comprising the acoustic echo mitigation apparatus as described above.

[011] Yet another embodiment involves a computer-readable medium having computer program instructions recorded thereon, when being executed by a processor, the instructions enabling the processor to execute an acoustic echo mitigation method as described above.

[012] According to the embodiments of the present application, the acoustic echo mitigation apparatus and method can, at least, be well adaptive to the change of power of the error signal after the AEC processing, such as that caused by change of double-talk status, echo path properties, noise level and etc.

Brief Description of Drawings

[013] The present application is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:

[014] Fig. 1 is a diagram schematically illustrating an exemplary voice communication system where embodiments of the application can be applied;

[015] Fig.2 is a diagram illustrating an acoustic echo mitigation apparatus according to an embodiment of the application;

[016] Figs.3-7 are diagrams illustrating variations of the acoustic echo mitigation apparatus according to the embodiment as shown in Fig.2;

[017] Figs.8 is a diagram illustrating an acoustic echo mitigation apparatus according to another embodiment of the application; [018] Fig.9 is a diagram illustrating an acoustic echo mitigation apparatus according to a variation of the embodiment as shown in Fig.8;

[019] Fig.10 is a block diagram illustrating an exemplary system for implementing embodiments of the present application;

[020] Figs.11-17 are flow charts illustrating acoustic echo mitigation methods for according to embodiments of the present application and some variations thereof; and

[021] Figs.18-19 are graphs illustrating the effects of the embodiments of the present application. Detailed Description

[022] The embodiments of the present application are below described by referring to the drawings. It is to be noted that, for purpose of clarity, representations and descriptions about those components and processes known by those skilled in the art but not necessary to understand the present application are omitted in the drawings and the description. In addition, the symbols in the formulae proposed in this application are consistent throughout the specification, unless otherwise recorded. Therefore, for conciseness, generally the meaning of the symbols will be explained only once at the first appearance and not be repeated thereafter.

[023] As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, a device (e.g., a cellular telephone, a portable media player, a personal computer, a server, a television set-top box, or a digital video recorder, or any other media player), a method or a computer program product. Accordingly, aspects of the present application may take the form of a hardware embodiment, a software embodiment (including firmware, resident software, microcodes, etc.) or an embodiment combining both software and hardware aspects that may all generally be referred to herein as a "circuit," "module" or "system." Furthermore, aspects of the present application may take the form of a computer program product embodied in one or more computer readable mediums having computer readable program code embodied thereon.

[024] Any combination of one or more computer readable mediums may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non- exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable readonly memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

[025] A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic or optical signal, or any suitable combination thereof.

[026] A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

[027] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[028] Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer as a stand-alone software package, or partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). [029] Aspects of the present application are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

[030] These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

[031] The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational operations to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

System Overview and Overall Solutions

[032] Fig.1 is a diagram schematically illustrating an example voice communication system where embodiments of the application can be applied.

[033] As illustrated in Fig. l, user A operates a communication terminal A, and user B operates a communication terminal B. In a voice communication session, user A and user B talk to each other through their communication terminals A and B. The communication terminals A and B are coupled through a data link 100. The data link 100 may be implemented as a point-to-point connection or a communication network. At either side of user A and user B, audio blocks are transmitted to the other user's communication terminal through the data link 100. The other user's communication terminal receives the transmitted audio blocks and stores them to entries corresponding to the same time as the audio blocks in its jitter buffer, to eliminate transmission jitters. Audio blocks in the jitter buffer are fed through decoding and processing to reproduce them at the output transducer or transducers of the communication terminal.

[034] The voice reproduced by the loudspeaker of one terminal, such as terminal B, may be captured by the microphone of the same terminal (microphone signal) and thus transmitted to the other terminal, such as terminal A. Thus user A will hear his/her own voice transmitted to terminal B (reference signal) and then returned to terminal A. This is the phenomenon of acoustic echo. Therefore, both terminals need a module for mitigating the acoustic echo.

[035] As shown in Fig.2, according to an embodiment, an acoustic echo mitigation apparatus 200 comprises an acoustic echo canceller (AEC) 400 for cancelling estimated acoustic echo from a microphone signal and outputting an error signal; a residual echo estimator (REE) 500 for estimating residual echo power; and an acoustic echo suppressor (AES) 600 for further suppressing residual echo and noise in the error signal based on the residual echo power and noise power. Wherein the REE 500 is configured to be continuously adaptive to power change in the error signal.

[036] In this embodiment, as in conventional solutions, all the input audio signals are first transformed into frequency domain and then go through these blocks. We use i and n to represent the frequency bin and frame index while X(i, ri) , D (i, ) and E(i, ri) are the reference signal (or far-end send/loudspeaker signal), microphone signal and filter output error signal, respectively. If only AEC 400 is used in the acoustic echo mitigation apparatus 200, the filter output error signal would ideally be the near-end send signal. In the proposed solutions, the error signal is further processed by REE 500 and AES 600.

[037] AEC is assumed to remove the echo from the microphone signal (i, n) , which is the loudspeaker signal X(i, n) transmitted by LEM (Loudspeaker-Enclosure-Microphone, that is, the echo path) 300 and distorted by a transfer function H(i, n) of the LEM 300.

[038] The basic operations that are carried out in the AEC block form an adaptive filter, which often employs the normalized least mean-squares (NLMS) optimization criterion that is given by:

[039] Calculating filter output, that is the estimated acoustic echo:

D(i,n) = H*(i,n- l)X(i,n) (l)

[040] Computing the error signal:

E(i,n) = D(i,n)— D(i,n) (2)

[041] Updating filter coefficient set, or the transfer function:

[042] Where X(i, n) is the reference signal history, X(i, n) = [X(i,n),X(i, n— 1), ...X(i,n— M— 1)] T , where M is a predefined constant specifying the filter length. P x (i,ri) is the power of the input signal (reference signal) X(i, n) , P x (i,Tl) = ^ Q \X 2 (i,n— p) I , and e is a small regularization factor for avoiding zero or extremely small denominator, should be as small as possible depending on data precision. H(i, n) is of the same dimension as X(i, n) and is an estimate of the real transfer function Η(ί, n). μ(ί,η) is the step-size for updating the coefficient set.

[043] The step-size may be either fixed or dynamic. In one embodiment of the present application, the residual echo estimator (REE) is configured to update the step size μ(ί,η) in the acoustic echo canceller based on the residual echo power σ| (ί, n) estimated by the REE (which will be discussed in details later), and the power \E(i, n) \ 2 of the error signal, that is

[044] In another embodiment, the power \E(i, n) | 2 of the error signal may be replace by the expectation σ (ί, n) of the error si nal power \E(L, n)| 2 :

[045] The expectation of the error signal power may be calculated in various ways, and one of them may be:

Where U is the number of frames used to calculate the expectation (mean). Of course the expectation may also be calculated as a long-term mean of the error signal power. Alternatively, the expectation may be calculated as a time-smoothed version of the error signal power. Further, the expectation can also be computed using a first order IIR filter.

[046] Formula (4) reflects the instantaneous value of the step size, and formula (5) reflects theoretically optimal step-size. When using formula (4), if there is an obvious power change such as during the presence of double talk, the step-size will decrease quickly while this will not happen in formula (5) due to delay. Therefore, using formula (4) provides more robustness against power changes such as during double talk in practice.

[047] The step-size used to update the coefficient set of the filter of the AEC is generally used in NLMS-based AEC. There are various NLMS-based algorithms, including proportionate normalized least mean square (PNLMS), improved PNLMS (IPNLMS) and affine projection algorithm (APA), etc. There are also other algorithms using step-size, or other algorithms using other parameter adaptively changed with the result of AEC.

[048] For avoiding the divergence of the adaptive filter in AEC, the step-size may be further limited : μ (ί, η) = min (i, n)^ max (7) where /½ ax is an upperbound of step-size. Usually, the ideal step-size for fastest convergence is 1 while 2 is the upper bound for avoiding divergence. In the present application the step-size may be set substantially smaller than 1. So the upper bound may be set to be 0.5 to 1 depending on specific application scenarios, such as 0.65.

[049] The residual echo power σ ¾ (ί, n) is further used in AES 600, together with the noise power estimate ^ (ί, n), to further suppress the noise and residual echo in the error signal from AEC.

[050] Generally, the AES computes a gain G (i, ri) applied to the AEC error signal as follows:

G{i, n) = mm(l max( °' | g( ^ | 2 ^ ( 2 ) " ^ ( )) ) (8) 0(i, 7i) = G(i, ri) * E(i, 7i) (9)

Where 0(i, n) is the output signal of the AES, that is, the processed near-end send signal to be transmitted to the other side such as in the voice communication system in Fig. l. The gain function (8) can also take other forms.

[051] The noise power estimate σ¾(ί, n) can be obtained through many conventional means. For example, the noise power may be estimated by detecting speech free moments and averaging the microphone signal power. In addition, one commonly used method is based on using the minimum statistics of input power. Reference may be made to the paper: R.Martin: Noise Power Spectral Density Estimation Based On Optimal Smoothing And Minimum Statistics, IEEE Trans. Speech Audio Process. 9(5), 504-512 (2001), the entirety of which is incorporated herein by reference. Residual Echo Estimation: First Embodiment

[052] Figs.3-7 illustrate some implementations of the residual echo estimator (REE).

[053] Basically, the embodiments of the present application are based on tracking the change of the output (error signal) from the AEC, and implicitly distinguishing different scenarios (such as double talk and single talk) which result in the change of the error signal through monitoring the minimum statistics of the error signal, thus providing an efficient and robust control of filter adaptation and residual echo estimation.

[054] In one embodiment, as shown in Figs.3-7, the residual echo estimator 500 (500A- 500E) may include a first adaptive filter 510 for obtaining a preliminary estimate of the residual echo power; a first buffer 530 for holding the coefficient sets of the first adaptive filter 510 for a first number of past frames; a second adaptive filter 520 for obtaining a final estimate of the residual echo power; and a coefficient adaptor 540 for determining the coefficient set of the second adaptive filter 520 for the present frame based on the minimum statistics of the norms of the coefficient sets held in the first buffer 530. In the embodiment, the coefficient set of the first adaptive filter 510 is adaptively updated to continuously follow the power change in the error signal.

[055] Thus, the second adaptive filter 520 is updated or adjusted based on monitoring the norms of the past coefficient sets of the first adaptive filter 510. By tracking the minimum statistics of the coefficient sets of the first adaptive filter 510, the impact of the power change (such as due to double talk) of the error signal on the residual echo power estimation can be significantly reduced. Here, the coefficient sets of the first adaptive filter 510 for past frames constitute the background for determining the coefficient set of the second adaptive filter 520 for the present frame, thus the first adaptive filter 510 may also be named as "background filter" and the second adaptive filter 520 as "foreground filter".

[056] Note that generally speaking, the first adaptive filter 510 and the second adaptive filter 520 may be constructed based on a principle identical or similar to that of AEC, except that the input, output and parameter settings are different. However, in a specific application, the first adaptive filter 510 and the second adaptive filter 520 may adopt different techniques from AEC.

[057] Specifically, let L FG (i, n) and L BG (i, n) denote two M' by 1 vectors which hold the coefficients (or coefficient set) of the second adaptive filter (foreground filter) and the coefficients (or coefficient set) of the first adaptive filter (background filter), respectively. The first adaptive filter 510 is configured to update its coefficient set frame by frame in a process of estimating a preliminary residual echo power, while the real (or final estimate of the) residual echo power is calculated by the second adaptive filter 520 using the coefficient set determined by the coefficient adaptor 540. Note that here the filter length M' may be the same as or different from the filter length M of AEC, whether or not AEC and REE adopt the same or different techniques. Specifically, M' may be either smaller or greater than M.

[058] In a variant, the second adaptive filter 520 is configured to obtain the final estimate of the residual echo power based on history of reference signal power, and the coefficient adaptor 540 is configured to choose the coefficient set the norm of which is of the minimum statistics among the coefficient sets held in the first buffer.

[059] For example, define the norm of coefficient set of the first adaptive filter as N BG (i, n) = |L BG (i, n) | , where |X| denotes the amplitude (norm) of the vector X. Similarly, let N FG (i, ri) = |L FG (i, n) | denote the norm of the coefficient set of the second adaptive filter. Furthermore, let F BG (i, n) be the first buffer 530 for holding the coefficient sets of the first adaptive filter for the past Q (the first number) frames, that is FBG C^' 1 ) = [L BG (i, ft), L BG (i, n— 1), ... L BG (i, n— Q— 1)] . Also define the vector N BG (i, ) = [N BG (i, n), BG (i, n— 1) ... , N BG (i, n— Q— 1)] T as a set for holding the norms of the coefficient sets of the first adaptive filter for the past Q frames. Let Λ¾¾ ίϊ1 (ί, n) and N X (i, n) denote the minimum and maximum norm in N BG (i, n), respectively. Then: al i, n) = \F FG i, n) X 2 (i, n) (10) where X 2 l, 7l) = 71 ' - l) | 2

(11)

Where L™™(i, n) is the coefficient set in F BG (i, n) corresponding to the minimum norm n) in N BG (i, n).

[060] Here we used the minimum norm as the minimum statistics. However, the minimum statistics of the norms may also be other statistics, such as minimum derivative of first order or higher order of the norms along the time line. As for the derivative of first order, it can be regarded as the changing rate of the norm of the coefficient set (and thus the coefficient set itself) with the time, in other words, with the frame index n.

[061] It can be seen that in the proposed embodiments, the second adaptive filter will trace the first adaptive filter coefficient set which has the minimum statistics (minimum norm). Usually, the minimum statistics tends to correspond to the frame where there is likely little double talk or echo path change. Therefore, by tracing the minimum statistics, the embodiments of the application may implicitly and continuously track the coefficient set corresponding to the scenarios without or with little double talk or noise, and thus obtain a proper result of residual echo estimation without affected by double talk or noise. That is, even if there is an increase of double talk or noise, the minimum statistics will still be maintained at the low level of the scenario only with acoustic echo. On the other hand, if the echo path changes (such as from headset to loudspeaker), the minimum statistics will increase also and thus it will not be misunderstood as the increase of double talk or noise.

[062] In brief, by tracing the first adaptive filter coefficients which are of minimum norm, the chance of updating the second filter with the divergent coefficient sets of the first adaptive filter is significantly reduced. Therefore, the estimated residual echo power σ (ί, n) stays close to the true value even during double talk. Therefore, the AEC can obtain more accurate step- size to do the acoustic echo cancellation processing and the AES can obtain more accurate gain to do the acoustic echo suppression processing. This finally will make the output signal (near- end send) contain only near-end speech without distortion as much as possible and with noise and acoustic echo effectively removed as much as possible. [063] The first adaptive filter L BG (i, n) may be any filter capable of estimating residual echo power by tracking the change of the error signal. In a variant, it may be an adaptive filter which tries to approximate the smoothed version of error signal E(i, ri) from the AEC. Specifically, the first adaptive filter 510 may be configured to obtain the preliminary estimate of the residual echo power and update the coefficient set based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power. Let E(i, ri) and X 2 i, n) be the smoothed versions of the error signal from the AEC and reference signal power, respectively, where

E(i, n) = aE(i, n - 1) + (1 - a) \E(i, n) \ 2 (12)

X 2 (i, n) = aX 2 (i, n - 1) + (1 - a) \X(i, n) | 2 (13) Where a is a smoothing factor in a range of [0, 1], preferably the range may be 0.7-0.95, such as 0.9 but not limited thereto. The basic operation of the first adaptive filter may be as follows:

[064] Calculating preliminary estimate of the residual echo power:

dl (i, n) = L T BG (i, n - 1) X 2 (i, n) (14)

[065] Computing the error signal output from the first adaptive filter:

E(i, n) = E(i, n) - <¾ (ί, η) - σ^(ί, η) (15)

[066] Updating filter coefficient set:

L BG (i, n) = L BG (i, n - 1) + p ° n)+ % 2 i, n)E{i, n) (16)

[067] Where X 2 (i, n) is the filter history containing the smoothed versions of reference signal power, i.e., X 2 (i, n) = [Χ 2 (ί, ), Χ 2 (ί, η— 1), ... X 2 (i, n— M'— 1)] T . μ 0 is a constant step size in the range of [0.1, 0.3] but not limited thereto. P (i, n) is calculated as:

[068] In the embodiment and variants discussed above, the coefficient set of the first adaptive filter corresponding to the minimum statistics of the norms of the coefficient sets of the first adaptive filter is determined as the coefficient set of the second adaptive filter. In further variants, there are some exceptions.

[069] In one scenario, if the coefficient set of the first adaptive filter fluctuates too significantly, then it is better not to change the second adaptive filter to avoid divergence caused by any unstable state such as unstable echo path, or frequent switch between single talk and double talk, or unstable double talk state.. This in many cases corresponds to double talk where the first adaptive filter coefficients experience substantial fluctuations. Therefore, for the past Q frames, the first adaptive filter coefficients are much less stationary than the single talk case (where there is no local speech activity). Therefore, the coefficient adaptor 540 may be configured to use the coefficient set of the second adaptive filter for the last frame if the fluctuation of the norms of the coefficient sets held in the first buffer 530 reaches a predetermined degree. In one implementation, the fluctuation may be reflected by a ratio of maximum statistics over minimum statistics among the norms of the coefficient sets of the first adaptive filter. That is, the coefficient adaptor 540 may be configured to use the coefficient set for the last frame if the ratio of the maximum statistics over the minimum statistics of the norms of the coefficient sets held in the first buffer reaches a first threshold. As discussed before, the maximum statistics and the minimum statistics may be maximum and minimum norms, or maximum and minimum derivative (of first order or higher order) of the norms with respect to time. Note that if using derivative, it should be the absolute value of the derivative. Thus the term "derivative" should be so construed throughout the present application. Take minimum and maximum norms as exam le, the coefficient set may be set as: Where the threshold TH1 is a predefined constant ranging from 1.1 to 1.5, such as 1.2 but not limited thereto.

[070] In another implementation, if the present coefficient set of the second adaptive filter already properly reflects the scenario without or with little double talk or noise, then it would be better to continue to use the present coefficient set. Thus, if the minimum statistics is the minimum norm among the norms of the coefficient sets held in the first buffer, then the coefficient adaptor 540 may be configured to use the coefficient set for the last frame if the minimum norm is greater than the norm of the coefficient set of the second adaptive filter for the last frame, that is:

[071] In a variant formula (18) and formula (19) may be combined together:

[072] It should also be pointed out that in order to improve the minimum search efficiency, the past Q frames can be further divided into smaller blocks whereas the minimum ones in each block is searched and stored. In this way, every time the frames are updated, the number of searching operations can be reduced by just comparing the minimum values of each block instead of all the Q values.

[073] Therefore, in a variant as shown in Fig.4, a second buffer 550 is provided for holding a local minimum statistics of the norms of coefficient sets for every group of second number (such as A) of frames, and wherein the coefficient adaptor 540 may be configured to choose the coefficient set whose norm is of the minimum statistics among the local minimum statistics for a third number (such as B) of past groups of frames. That is, Q=A XB.

[074] From above description, it could be seen that for finding the minimum statistics, a first number (Q) of past frames are used. In fact the present frame n is also included in the Q frames. For conciseness, just the expression "a first number of past frames" is used throughout the present application, and such expression shall be construed as either including the present frame or not including the present frame. In other words, both solutions are covered by the claims. These past frames may be regarded as selected with a sliding window having a length of Q frames and ending with the present frame (or the last frame). Incidentally, the moving step-size of the sliding window may be one or more frames. When it's more than one frame, the minimum statistics for the present frame will not change between two movements of the sliding window, although "the present frame" is constantly changing. For example, in the variant using the second buffer, the step-size may be the length of each group of frames, that is A frames.

[075] In a further variant, the size of the sliding window, that is the first number, may be adjusted depending on scenarios. For example, first number may be decreased where suppressing echo is more important than preserving double talk speech quality, and increased otherwise. That is, for instance, if single talk echo estimation is of more importance (i.e., suppressing echo is more important than preserving double talk speech quality), it might be beneficial to decrease the window size to allow quick response to changes. On the other hand, if speech quality is emphasized more, having a longer window size can improve double talk performance.

[076] If higher level context information is available (conversation context, meeting types, and so on), the window size can be changed according to different specific purposes. For instance, if the embodiment of the present application is used in telecommunication device fixed in a quiet conference room with stable echo path, the window size maybe increased for better double talk performance, whereas if it is used in a mobile device where there is strong echo and non-stationary noise, the window size can be decreased for changing echo paths. The adjustment of window size may also be dependent on operating system conditions..

[077] The high level context information may be considered during the manufacture of the apparatus incorporating the embodiments of the present application, or be provided from outside, such as via a mode- switching button provide on the apparatus incorporating the embodiments of the present application, or other devices detecting relevant events such as switch of headset and loudspeaker.

[078] However, when there is no high level information, the window size can also be variable depending on the long term history. Therefore, in a further variant, a changing rate estimator 560 is provided for calculating a changing rate of the norm of the coefficient set of the first adaptive filter, and wherein the first number (the size Q of the sliding window) may decrease where the changing rate is less than a fourth threshold for a seventh number of consecutive observations; and/or increase where the changing rate is not less than the fourth threshold for an eighth number of consecutive observations. That is, the slower the coefficient set changes, the smaller the window size is,, since low changing rate often means the error single from the AEC is relatively stable and probably there is no double talk or noise, etc, thus it is unnecessary to spend too much resource on too many past frames. On the other hand, quicker changing rate of the coefficient rate often means fluctuation of the error signal from the AEC due to power change of the microphone signal, probably including double talk, noise and etc, and thus a larger window size is necessary to ensure a real minimum statistics reflecting the real acoustic echo level may be found. Generally, we need a quicker response to the appearance of double talk or noise, thus we may set a smaller eighth number than the seventh number. Note that here the term "consecutive observations" means consecutive "present frames". That is, for each present frame, we will calculate the changing rate of the norm of the coefficient set of the first adaptive filter.

Residual Echo Estimation: Second Embodiment

[079] Figs.6 and 7 show another construction of the first and second adaptive filters different from that shown in Figs.3-5.

[080] That is, similar to the first embodiment, the first adaptive filter 510 is configured to implicitly track the change of the power of the error signal from the AEC, while the second adaptive filter 520 is configured to directly estimate the residual echo power and update its own coefficient set independently from the first adaptive filter 510, and the coefficient set of the second adaptive filter will be adjusted only when the statistics of the coefficient set of the first adaptive filter demonstrate such necessity.

[081] Then in this second embodiment, since in most cases the second adaptive filter 520 itself should be enough to obtain the real residual echo power without reference to the minimum statistics of the norm of the coefficient set of the first adaptive filter 510, the parameter settings of the second adaptive filter 520 for estimating the residual echo power and updating the coefficient set should be different from that of the first adaptive filter 510 in the first embodiment, although the second adaptive filter in the second embodiment adopts an algorithm similar to the first adaptive filter in the first embodiment. Specifically, the algorithm in the second adaptive filter 520 may be:

[082] Calculating the residual echo power:

¾ 2 (i, n) = L r rc ( - l) X 2 (i, n) (14')

[083] Computing the error signal output from the second adaptive filter:

E i, n) = E i, n)— σ # (ί, n)— a^{i, n) (15')

[084] Updating filter coefficient set: L FG (i, n) = L FG (i, n - 1) + \ 2 {i, n)E{i, n) (16')

P x2 {i,n) + e

Where μ Ρ0 is a fixed value or a dynamic value depending on external factors such as spatial properties (for multi-channel echo control), coherence between send and receive or error and receive signals, or event information from other double talk detectors, etc. For fixed μ Ρ0 , generally μ Ρ0 > μ Β0 such that the background filter adapts slower than the foreground filter. For example, μ Ρ0 = 1.2μ Β0 but not limited thereto. For dynamically varying μ Ρ0 , it can be the optimal step size as that in formulas (4) or (5) when AES is used alone.

[085] Furthermore, in this embodiment, the first adaptive filter just functions as a subsidiary or auxiliary filter where the second adaptive filter will be adjusted according to the first adaptive filter onl under certain conditions. An example rule is defined below:

L FG i, n ot erwise

[086] Where C is a predefined constant (C>1), such as 1.2 but not limited thereto. This formula implies the second adaptive filter will be adjusted with a scaling factor 5/ according to the first adaptive filter if the norm of the coefficient set of the second adaptive filter for the last frame is greater than C times of the minimum norm as discussed before for the first adaptive filter. In other words, the condition is that the minimum norm is sufficiently smaller than the norm of the coefficient set of the second adaptive filter for the last frame.

[087] Therefore, according to the second embodiment, as shown in Fig.6, the second adaptive filter 520 may be configured to obtain the final estimate of the residual echo power and update its coefficient set based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power. Wherein the minimum statistics is the minimum norm among the norms of the coefficient sets held in the first buffer 530, and the coefficient adaptor 540 may be configured to adjust the coefficient set of the second adaptive filter 520 where the minimum norm is less than a second threshold determined based on the norm of the coefficient set of the second adaptive filter 520 for the last frame.

[088] The scaling factor Si may be:

(22)

JV FG (i,n) [089] That is, the coefficient adaptor 540 may be configured to adjust the coefficient set of the second adaptive filter 520 with a scaling factor determined as a ratio of the norm of the coefficient set of the first adaptive filter 510 over the norm of the coefficient set of the second adaptive filter 520.

[090] In the embodiment, both the first and second adaptive filters work as usual for each frame and each frequency bin, and thus the complexity would be a problem to the storage capacity and the MIPS of the system. So, in a variant of the embodiment, it is meaningful to group the frequency bins for the first adaptive filter to reduce the complexity.

[091] That is, as shown in Fig.7, we can group the frequency bins (index ) into fewer frequency bands (index j) for the first adaptive filter, such as only one band (the whole band), two bands (such as a high frequency band and a low frequency band), or more than two bands but fewer than the number of all the frequency bins. For each band (comprising a plurality of frequency bins indexed with ), we can get one set of coefficients according to formulae similar to formulae (14)- (16):

[092] Calculating preliminary estimate of the residual echo power:

al (j, n = L T BG (j, n - l X 2 0» (14")

[093] Computing the error signal output from the first adaptive filter:

E j, n) = E j, n) - a (j, n) - a^{j, n) (15")

[094] Updating filter coefficient set:

V-BG

L BG 0» = L 0 ' , - 1) + p n)+ vX2 ,(j, n)E{j, n) (16")

[095] Where all the symbols used in above formulae (14") to (16") have the same meaning as those symbols used in formulae (14) to (16), just with the index i for frequency bins replaced with the index j for frequency bands.

[096] Thus, we can use the result of the first adaptive filter 510 for only fewer frequency bands to indicate whether the coefficient set of the second adaptive filter needs to be adjusted, and reduce the complexity. However, since the second adaptive filter 520 must provide residual echo power for each frequency bin to be further used by the AEC and the AES, there is a problem of how to obtain the scaling factor. [097] Then, in a further variant, we may use the mean of the norms of the coefficient sets (for the second adaptive filter 520) over the frequency bins comprised in each frequency band to calculate the scaling factors for respective frequency bins in the frequency band.

[098] Note that the processing discussed in this application is performed in frequency domain, and all the algorithms/components discussed hereinbefore are with respect to each frequency bin (index ). However, in the description hereinbefore, all the operations are the same with respect to each frequency bin, and thus we do not emphasize the frequency bin hereinbefore although all the formulae contain the index .

[099] Now in this variant, we will involve different frequency bins and different frequency bands. In terms of frequency bins/bands, all the components discussed hereinbefore function for each frequency bin/band and it may be regarded that there are, for each component, multiple replicates corresponding to the number of frequency bins/bands. But for conciseness, in the present application we regard the replicates still as one single component.

[100] Turn back to the calculation of the scaling factor. Assume a frequency band comprises F frequency bins, we can compute the scale factor as below:

S; = 5G ' — , frequency bin i £ frequency band j (23)

1 (∑i N FG (i,n))/F ' J H y J K '

[101] That is, in this variant as shown in Fig.7, the first adaptive filter 510 is configured to work with respect to at least one frequency band j each comprising a plurality of frequency bins i, the second adaptive filter 520 is configured to work with respect to each frequency bin, and the coefficient adaptor is configured to adjust the coefficient set of the second adaptive filter with respect to each frequency bin with a scaling factor determined as a ratio of the norm of the coefficient set of the first adaptive filter with respect to a corresponding frequency band over the mean of the respective norms of respective coefficient sets of the second adaptive filter for respective frequency bins in the corresponding frequency band.

[102] In this way, the first adaptive filter 510 will consume less resource.

Echo Path Estimator

[103] The AES is for further suppressing the residual acoustic echo not completely cancelled by the AEC. But when the AEC works well enough, it is unnecessary for the AES to consume the resource. Or, when there is little acoustic echo such as when using a headset, the AES (and even the AEC) is also unnecessary.

[104] Therefore, in another embodiment as shown in Fig.8, an echo path estimator (EPE) 700 is provided for estimating the significance of the echo path, and switching off the acoustic echo canceller and/or the acoustic echo suppressor when the echo path is of low significance.

[105] The echo path estimator 700 may be a high level information detector. For example, it may be a headset detector for detecting whether a headset is plugged into its jack, and such detection may be realized with existing techniques. When a headset is detected, meaning the echo path is of low significance, the AES and/or the AEC may be switched off.

[106] The echo path estimator 700 can also be realized by continuously tracking the first adaptive filter coefficients in the REE block over a predefined period of time. In particular, as discussed before, minimum statistics such as minimum norm of the coefficient set of the first adaptive filter is obtained. Let N EPE (n) denote the sum of the minimum norms of the first adaptive filter for all the frequency bins at frame n, EPE(n) =∑ i N™ n {i, Ti) (24)

[107] Then it can be determined the echo path is of low significance if N HDS (n) < TH3 for consecutive observations, where TH3 and K^ are both predefined constants. That is, the norm of the coefficient set of the first adaptive filter must be small enough for a period of time in order for switching off the AES and/or AEC. In the proposed embodiment, TH3 may be set to -40db to -60db while may be set to give the buffer a length of 5 seconds to 30 seconds, such as 20 seconds, respectively. The output of the EPE 700 is used to enable/disable the AES and/or the AEC consequently.

[108] Furthermore, in order to make the system more robust against any echo path change, if the echo path becomes significant again (such as if the user unplugs the headset), the EPE also needs to detect that and enable the AES and/or the AEC. This is done in a similar way as discussed above. In particular, the AES and/or the AEC may be enabled again if N EPE (n) > 77/3 for K 2 consecutive observations, where K 2 may be set to give the buffer a length of 3 to 6 seconds, such as 5 seconds. It should be noted that K 2 may be set less than to allow more swift recovery of AES and/or AEC once echo comes back.

[109] In the above embodiment the minimum statistics from the coefficient set held in the first buffer 530 are used, that is, the EPE 700 uses the same sliding window having a length of Q frames. However, the EPE 700 may also use a sliding window different in length from the first buffer 530. Therefore, in a variant as shown in Fig.9, the echo path estimator 700 further comprises: a third buffer 710 for holding norms of coefficients set of the first adaptive filter 510 for a fourth number of past frames, wherein for each frequency bin and for the present frame, there is a minimum norm among the norms held in the third buffer; an indicator calculator 720 for calculating a sum of respective minimum norms for respective frequency bins; and the echo path estimator may be configured to switch the acoustic echo canceller and/or the acoustic echo suppressor off where the sum is less than a third threshold for a fifth number (K^) of consecutive observations; and/or on where the sum is not less than the third threshold for a sixth number (K 2 ) of consecutive observations. Wherein the fourth number may be represented by T, which may be equal to Q, or may be different from Q.

[110] When T is equal to Q, the obtaining of the minimum statistics such as the minimum norm may share the same operation as discussed in the embodiments related to the REE. When T is greater than Q, the obtaining of the minimum statistics such as minimum may be simplified by making use of the result in the embodiments related to the REE. That is, considering that the REE has obtained the minimum norm for Q frames, the third buffer 710 may only hold the minimum norms for every Q frames, then a long-term minimum norm may be found out from the minimum norms held in the third buffer 710. In such a case, T is generally an integer multiple of Q. Thus, in a further variant, the third buffer 710 may be configured for holding the minimum norms for a fourth number (T) of past frames, wherein for each frequency bin and for the present frame, there is a long-term minimum norm among the minimum norms held in the third buffer; and the indicator calculator 720 may be configured for calculating a sum of respective long-term minimum norms for respective frequency bins. And the echo path estimator 700 is configured to switch the acoustic echo canceller and/or the acoustic echo suppressor off where the sum is less than a third threshold for a fifth number of consecutive observations; and/or on where the sum is not less than the third threshold for a sixth number of consecutive observations.

[Ill] the EPE block may run every T frames and therefore TK^ frames are needed to claim the low-echo mode while TK 2 frames are required to recover from the low-echo mode. Hence, depending on the frame length (generally 20ms but not limited thereto), T and designed response time (such as 20s or 5s mentioned before), and K 2 can be worked out, respectively. Alternatively, a sliding window of T frames may be used (with the sliding step- size being one or more frames). That is, the EPE block may run every one or more frames to check the long-term minimum norm in the sliding window. In such a situation, ¾ or K 2 multiplied with the step-size and further added with T, will be the designed response time.

Combination of Embodiments and Application Scenarios

[112] All the embodiments and variants thereof discussed above may be implemented in any combination thereof, and any components mentioned in different parts/embodiments but having the same or similar functions may be implemented as the same or separate components.

[113] For example, the embodiments shown in Figs.3-5 and the variants thereof may be implemented in any combination thereof; and these implementations may be further combined with any embodiments and/or variants described with reference to Fig.2, and/or those embodiments and/or variants described with reference to Figs.8 and 9. Furthermore, the embodiment and/or variants described with reference to Figs.2 and 6-9 may also be implemented in any combination thereof.

[114] As discussed at the beginning of the Detailed Description of the present application, the embodiment of the application may be embodied either in hardware or in software, or in both. Fig. 10 is a block diagram illustrating an exemplary system for implementing the aspects of the present application.

[115] In Fig.10, a central processing unit (CPU) 1001 performs various processes in accordance with a program stored in a read only memory (ROM) 1002 or a program loaded from a storage section 1008 to a random access memory (RAM) 1003. In the RAM 1003, data required when the CPU 1001 performs the various processes or the like are also stored as required.

[116] The CPU 1001, the ROM 1002 and the RAM 1003 are connected to one another via a bus 1004. An input / output interface 1005 is also connected to the bus 1004.

[117] The following components are connected to the input/output interface 1005: an input section 1006 including a keyboard, a mouse, or the like; an output section 1007 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), or the like, and a loudspeaker or the like; the storage section 1008 including a hard disk or the like ; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs a communication process via the network such as the internet.

[118] A drive 810 is also connected to the input/output interface 1005 as required. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 810 as required, so that a computer program read there from is installed into the storage section 1008 as required.

[119] In the case where the above-described components are implemented by the software, the program that constitutes the software is installed from the network such as the internet or the storage medium such as the removable medium 811.

[120] In addition to general-purpose computing apparatus, the embodiments of the present application may also be implemented in a special-purpose computing device, which may be a part of any kind of audio processing apparatus or any kind of voice communication terminal.

Acoustic Echo Mitigation Method

[121] In the process of describing the acoustic echo mitigation apparatus in the embodiments hereinbefore, apparently disclosed are also some processes or methods. Hereinafter a summary of these methods is given without repeating some of the details already discussed hereinbefore, but it shall be noted that although the methods are disclosed in the process of describing the acoustic echo mitigation apparatus, the methods do not necessarily adopt those components as described or are not necessarily executed by those components. For example, the embodiments of the acoustic echo mitigation apparatus may be realized partially or completely with hardware and/or firmware, while it is possible that the acoustic echo mitigation method discussed below may be realized totally by a computer-executable program, although the methods may also adopt the hardware and/or firmware of the acoustic echo mitigation apparatus.

[122] The methods will be described below with reference to Figs. 11-17.

[123] As shown in Fig.11, an embodiment of the acoustic echo mitigation method in the present application may include: cancelling (operation 1100, AEC), with an acoustic echo canceller, estimated acoustic echo from a microphone signal, resulting in an error signal; estimating (operation 1200) residual echo power based on the error signal in a manner continuously adapted to power change in the error signal; and further suppressing (operation 1300, AES), with an acoustic echo suppressor, residual echo and noise in the error signal based on the residual echo power and noise power.

[124] The operation 1100 of cancelling the estimated acoustic echo and the operation 1200 of further suppressing the residual echo noise may be realized with many existing techniques. In the present application, the operation of cancelling the estimated acoustic echo may be performed based on an NLMS-based algorithm, and the step size of the NLMS-based algorithm may be updated based on the residual echo power and the power of the error signal. In a variant, the step size of the NLMS-based algorithm may be updated based on the residual echo power and an expectation of the power of the error signal.

[125] Further, in the present application, the operation of further suppressing the residual echo may comprise applying to the error signal a gain determined based on the power of the error signal, the residual echo power and the noise power.

[126] In the embodiments and variants discussed above, the noise power may be obtained by many existing techniques not to be discussed in detail here.

[127] According to another embodiment, as shown in Fig.12, the operation 1200 of estimating the residual echo power may further comprise: adaptively updating (operation 1202) the coefficient set of a first adaptive filter during a process of obtaining a preliminary estimate of the residual echo power, so that the coefficient set continuously follows the power change in the error signal; determining (operation 1204) the coefficient set of a second adaptive filter for the present frame based on the minimum statistics of the norms of the coefficient sets of the first adaptive filter for a first number of past frames; and obtaining (operation 1206) a final estimate of the residual echo power with the second adaptive filter. Here, the minimum statistics of the norms may comprise minimum norm or minimum derivative of first order or higher order of the norms along the time line (with respect to the frame index n).

[128] Here, the operation 1202 of adaptively updating the coefficient set of the first adaptive filter is based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power.

[129] And the operation 1206 of obtaining the final estimate may be configured to obtain the final estimate of the residual echo power based on history of reference signal power. The operation 1204 of determining the coefficient set may comprise finding the minimum statistics among the coefficient sets for the first number of past frames (operation 12041 in Fig.13, or operation 12042 in Fig.14), and choosing the corresponding coefficient set, such as the coefficient set having the minimum norm, as the coefficient set of the second adaptive filter (operation 12046 in Fig.13 and Fig.14)

[130] Some limitations may be imposed to avoid diverging of the coefficient set under un- stable conditions. Therefore, the operation 1204 of determining the coefficient set may be configured to use the coefficient set for the last frame (operation 12048 in Fig.13) if the fluctuation of the norms of the coefficient sets for the first number of past frames reaches a predetermined degree ("Y" in operation 12043). The degree of the fluctuation may be measured with the ratio of the maximum statistics over the minimum statistics of the norms of the coefficient sets for the first number of past frames, such as the ratio of the maximum norm over the minimum norm.

[131] In another variation as shown in Fig.14, for more closely tracking of the "real" residual echo level and implicitly distinguishing the power change caused by double talk or noise etc., the method may retain the history minimum statistics as much as possible. Therefore, the operation 1204 of determining the coefficient set may be configured to find the minimum norm among the norms of the coefficient sets for the first number of past frames (operation 12042), and use the coefficient set for the last frame (operation 12048) if the minimum norm is greater than the norm of the coefficient set of the second adaptive filter for the last frame ("Y" in operation 12044).

[132] The variants shown in Fig.13 and Fig.14 may be combined together.

[133] In the above embodiments and variants, a sliding window for determining the first number of frames to obtain the minimum statistics is used. The first number is the length of the sliding window, and may be adjusted depending on scenarios. For example, the first number may be decreased where suppressing echo is more important than preserving double talk speech quality, and increased otherwise. That is, if there is little double talk and the main task is to cancel/suppress the acoustic echo, then the first number may be decreased.

[134] Whether acoustic echo or double talk is dominant may be determined from high level information such as the type of the audio processing apparatus (such as conference call system or mobile device), or the use of headset or loudspeaker. In a variant proposed in this application, it can also be determined by making use of the results from the first adaptive filter. For example, we can calculate a changing rate of the norm of the coefficient set of the first adaptive filter, and the first number may be decreased if the changing rate is less than a fourth threshold for a seventh number of consecutive observations; and/or increased if the changing rate is not less than the fourth threshold for an eighth number of consecutive observations.

[135] In the embodiments and variants discussed above, although the final estimate of the residual echo is given by the second adaptive filter, the first adaptive filter plays a dominant role for determining the coefficient set of the second adaptive filter.

[136] In another embodiment shown in Fig.15, the second adaptive filter plays a dominant role both in giving the final estimate of the residual echo power and in determining its own coefficient set, with its coefficient set adjusted only under certain conditions.

[137] In this embodiment, the operation 12021 of obtaining the final estimate of the residual echo power is based on history of smoothed versions of reference signal power, a smoothed version of the error signal, and the noise power. While the first adaptive filter may be the same, that is, update its coefficient set to continuously follow the power change in the error signal (operation 1202) and find the minimum statistics (the minimum norm) among the norms of the coefficient sets of the first adaptive filter for the first number of past frames (operation 12042). Then, the operation 1204 of determining the coefficient set of the second adaptive filter may be configured to adjust (operation 12047) the coefficient set of the second adaptive filter where the minimum norm is less than a second threshold determined based on the norm of the coefficient set of the second adaptive filter for the last frame ("Y" in operation 12045). Otherwise the second adaptive filter uses its coefficient set as it is ("N" in operation 12045 and operation 12049).

[138] The adjusting operation 12047 may use a scaling factor, which may be a ratio of the norm of the coefficient set of the first adaptive filter over the norm of the coefficient set of the second adaptive filter. [139] In the above embodiment, both the first adaptive filter and the second adaptive filter work in similar manners. For simplifying the solution and reducing resource consuming, in a variant it is proposed to group the frequency bins into fewer frequency bands for the first adaptive filter. That is, the operation of adaptively updating the coefficient set of the first adaptive filter is performed with respect to at least one frequency band each comprising a plurality of frequency bins, the operation of obtaining the final estimate of the residual echo power is performed with respect to each frequency bin. And the operation of determining the coefficient set of the second adaptive filter may comprise: determining a ratio of the norm of the coefficient set of the first adaptive filter with respect to each frequency band over the mean of the respective norms of respective coefficient sets of the second adaptive filter for respective frequency bins in the frequency band; and adjusting the coefficient set of the second adaptive filter with respect to each frequency bin with the ratio as a scaling factor.

[140] For reducing resource consumption, the AES and even the AEC may be disabled when the echo path is of low significance, or the echo is below a threshold. Therefore, in another embodiment, we may first estimate the significance of the echo path (operation 1402 in Fig.16). If the echo path is of low significance ("Y" in operation 1404), then the operation of cancelling the estimated acoustic echo and/or the operation of further suppressing the residual echo are not performed (operation 1406).

[141] The information about the echo path may be obtained from high level information such as the use of headset or loudspeaker, and may also be obtained by observing the minimum statistics from the operation of the first adaptive filter for updating its coefficient set (operation 1202). The minimum statistics may be the minimum norm among the norms of the coefficient sets for the first number of past frames. Then, the operation of estimating the significance of the echo path may further comprise: finding (operation 14021), for each frequency bin and for the present frame, a long-term minimum norm among the minimum norms for a fourth number of past frames; calculating (operation 14022) a sum of respective long-term minimum norms for respective frequency bins. The operation of cancelling the estimated acoustic echo and/or the operation of further suppressing the residual echo are not performed (operation 1406) where the sum is less than a third threshold ("Y" in operation 14041) for a fifth number of consecutive observations ("Y" in operation 14042); and/or are performed (operation 1407) where the sum is not less than the third threshold ("N" in operation 14041) for a sixth number of consecutive observations ("Y" in operation 1405). In other situations of course, the AES and the AEC would maintain their current states (operation 1408). The fourth number may be not less than the first number.

[142] In an alternative solution, the long-term minimum may be directly found, for each frequency bin and for the present frame, from the norms for a fourth number of past frames, but not from the minimum norms for every first number of past frames.

Examples

[143] Two examples are given to illustrate the effects of the proposed embodiments in terms of estimating the residual echo power in different scenarios.

[144] Fig.18 illustrates the coefficient norms for the coefficient sets of the first adaptive filter (background filter) and the second adaptive filter (foreground filter) for single talk followed by double talk (which takes place after frame 1370). In this case, the echo path is stable. It can be seen that the coefficient norm of the second adaptive filter remain unchanged during double talk. Hence, the residual echo power estimation is not affected by double talk. However, in Fig.18, if the size of the sliding window is smaller, or if the double talk continues, in the right part of the graph the foreground coefficient norm might rise to the valley value of the background coefficient norm.

[145] Fig. 19 shows the background and foreground coefficient norms for single talk (echo only) where there is an abrupt echo path jump at frame 3500. The two filters were both initialized with zero coefficients but as time progresses the coefficient set of the first adaptive filter is, in most cases, of larger norm than the second adaptive filter. It should be noted that the frame index starts around 3200 (with about the first 3100 frames omitted). It can be seen that the coefficient norm of the second adaptive filter follows up to the minimum norm of the coefficient set of the first adaptive filter with certain delay. Therefore, the residual echo power estimation can quickly trace the echo path change.

[146] From the above two figures, it can be seen that the proposed embodiments are robust against double talk while remaining aggressive whenever the echo path changes (which results in increase or decrease in the residual echo power). [147] Please note the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, operations, steps, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, operations, steps, elements, components, and/or groups thereof.

[148] The corresponding structures, materials, acts, and equivalents of all means or steps plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present application has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the application in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the application. The embodiment was chosen and described in order to best explain the principles of the application and the practical application, and to enable others of ordinary skill in the art to understand the application for various embodiments with various modifications as are suited to the particular use contemplated.