AU2004200802B2 - Digital adaptive filter and acoustic echo canceller using the same - Google Patents

Digital adaptive filter and acoustic echo canceller using the same Download PDF

Info

Publication number
AU2004200802B2
AU2004200802B2 AU2004200802A AU2004200802A AU2004200802B2 AU 2004200802 B2 AU2004200802 B2 AU 2004200802B2 AU 2004200802 A AU2004200802 A AU 2004200802A AU 2004200802 A AU2004200802 A AU 2004200802A AU 2004200802 B2 AU2004200802 B2 AU 2004200802B2
Authority
AU
Australia
Prior art keywords
filter
signal
adaptive filter
frequency band
subband
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU2004200802A
Other versions
AU2004200802A1 (en
Inventor
Werner Armbruster
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Telefonaktiebolaget LM Ericsson AB
Original Assignee
Telefonaktiebolaget LM Ericsson AB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU54092/99A external-priority patent/AU767771B2/en
Application filed by Telefonaktiebolaget LM Ericsson AB filed Critical Telefonaktiebolaget LM Ericsson AB
Priority to AU2004200802A priority Critical patent/AU2004200802B2/en
Publication of AU2004200802A1 publication Critical patent/AU2004200802A1/en
Application granted granted Critical
Publication of AU2004200802B2 publication Critical patent/AU2004200802B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Description

P001 Section 29 Regulation 3.2(2)
AUSTRALIA
Patents Act 1990 COMPLETE SPECIFICATION STANDARD PATENT Application Number: Lodged: Invention Title: Digital adaptive filter and acoustic echo canceller using the same The following statement is a full description of this invention, including the best method of performing it known to me us: Digital Adaptive Filter and Acoustic Echo Canceller Using the Same FIELD OF INVENTION The present invention relates to a digital adaptive filter and to an acoustic echo canceller using the same.
In particular, the present invention relates to a digital adaptive filter where the adaptation process is carried out on the basis of the normalized least mean square error algorithm NLMS of an error signal.
BACKGROUND OF INVENTION The growing demand of communication systems, in particular of the hands-free type has led to an increased effort in developing acoustic echo cancellers. Such acoustic echo cancellers require efficient filtering techniques with low competitional burden and delay.
As is commonly known, the use of, a handset in a vehicle during driving significantly reduces the attention of the driver and increases the risk of accidents. Here, a hands-free equipment allows the driver to concentrate more on the traffic and increases security. One reason that the hands-free equipment is not widely used is due to the poor quality of available systems. Another reason is that available hands-free equipment usually work on a switching basis thus requiring a high talking discipline by both users as only half duplex communication is possible.
An approach towards full duplex communication can be achieved by acoustic echo cancellation where the echo is not suppressed but compensated, as described, in "On the Implementation of a Partitioned Block Frequency Domain Adaptive Filter (PBFDAF) for Long Acoustic Echo Cancellation", Jos6 M.P. Borrallo, Mariano G. Otero, Signal Processing 27 (1992), pp. 309-315.
In EP 0 661 832 A2 there is described a method and apparatus for identifying a system with an adaptive filter. The adaptive filter processes a reference input signal to produce an output signal. A subtractor subtracts the output signal of the adaptive filter from an observed signal, and a power estimating circuit estimates the power of the reference input signal. A step size determining circuit determines a step size based on the estimated power of the reference input signal.
In US-A-5,734,715 there is described a process and device for adaptive identification and adaptive echo cancellation using a stepsize automatically adapted to noise conditions to which a system is subjected.
Fig. 1 shows the related fundamentals of echo cancellation. In particular, Fig. 1 shows a loudspeaker 200 and a microphone 202 of, a hands-free communication device or a teleconference, system. Further, an echo.propagation path 206 is shown in dotted lines between the loudspeaker 200 and the microphone 202.
Usually, a near end speaker of the communication device receives acoustic information via the loudspeaker 200 and transmits information to a far end speaker via the microphone 202. However, it is through the feedback propagation of sound waves outputted by to be continued on page 3) 3 loudspeaker 200 that echoes are back propagated to the far end speaker.
As shown in Fig. 1, to overcome this drawback an adaptive filter 208 may be used to generate a synthetic echo for antiphase compensation with the real echo. In other words, the adaptive filter 208 is a model of the echo path 206 and has to adapt to changing real world environments due to, movement of the near end speaker or changing of the environment where the hands-free communication device is installed.
As also shown in Fig. 1, to carry out the antiphase compensation, there is provided a summation point 210 where the real echo and the synthetic echo are subtracted.
However, as the adaptive filter 208 will usually not achieve a complete modelling of the real world environment after summation, there will remain an error signal that may then be back propagated to the far end speaker.
The adaptive filter 208 may be implemented as a time domain or a frequency domain adaptive filter. Further, the filter has _tobe adaptive. to adjust to different room environments and to the movements of the near end talker. The process of adjusting the filter coefficients is called convergence and the speed of convergence defines to a large extent the performance of the acoustic echo canceller.
The adjusting of filter coefficients relies on the input signal to the adaptive filter, an estimation of the power of this input signal and finally on the error signal between the input signal filtered in the adaptive filter and the signal received through the microphone 202, i.e.
the path 206 modelled through the adaptive filter.
Fig. 2 shows a signal flowgraph for the estimation of the power of the input signal. Here, the instantaneous power of the input signal is derived and then weighted with a factor p in a first multiplier 214. To also execute a corrector step the estimated power level is rated by a factor (1-P) through a second multiplier 216, delayed in a delay unit 218 and finally added to the instantaneous power through an adder 220, as shown in Fig. 2.
However, the approach to power level estimation shown in Fig. 2 does not take into account any information on the input signal but uses only predefined factors irrespective of the signal characteristics. Still further, any prevailing surrounding conditions have no impact on the estimation of the power level, such as surrounding noise. Therefore, the usual approach illustrated in Fig. 2 achieves only a limited convergence behaviour of the adaptive filter with the related negative impact on the communication quality.
SUMMARY OF INVENTION In view of the above, the object of the invention is to provide a digital adaptive filter with enhanced convergence speed also under background noise.
According to a first aspect of the present invention this object is achieved with a digital adaptive filter, comprising filter coefficient update means to successively update filter coefficients in accordance with an input signal, an estimated power of the input signal, and an error signal between the input signal filtered in the digital adaptive filter and the input signal propagated along an external path being modelled by the.digital adaptive filter, and input signal power estimation means adapted to perform recursive smoothing for an increasing input power and/or a decreasing input power asymmetrically.
Here, the choice of two different smoothing factors allows for a faster convergence when compared with a solution using a common factor. Also, a stepsize too large in case of a rapid increase of the input power is prohibited to avoid any instability.
According to a preferred embodiment of the present invention the input signal power estimation means performs the recursive smoothing of the estimated input power with a different weighting factor for an increasing and decreasing -input signal power level, respectively.
Therefore, it is possible to take into consideration that usually at the beginning the power level of an input signal starts and increases very sharply and then returns back to a zero level over a much longer time period. Through using a dedicated weighting factor for a sharp increase and slow decrease of the power level it is possible to achieve an overall significantly improved convergence behaviour.
According to a further preferred embodiment of the present invention the digital adaptive filter carries out the estimation of the input signal power level in the frequency domain and calculates a step size for at least one frequency band individually in dependence on the background noise level of the frequency band.
This embodiment of the present invention allows to particularly consider the background noise inside a flat spectrum or in other words that the background noise is not evenly distributed over the frequency range. Through dedicated step size calculations for the single frequency bands it is possible to achieve optimum convergence adapted to the prevailing situation and therefore an overall better performance of an acoustic echo canceller using such a digital adaptive filter.
Also, according to a further preferred embodiment of the present invention the frequency domain adaptive filter has a variable input block length that is not restricted to a power of 2.
Thus, according to the present invention the restriction that the input block length for the frequency domain adaptive filter is selected according to the power of 2 is avoided, therefore increasing the range of possible applications. One example would be GSM speech codec running on a 20 ms basis, i.e. a 160 samples.
According to a second aspect of the present invention this object is achieved through a subband adaptive filter, comprising an analysis filter bank adapted to filter an input signal according into least two frequency bands, a subband filter for each frequency band of the analysis bank to filter the related frequency band output signal, a synthesis filter bank adapted to generate a time domain output signal from the subband filter output signals, wherein each subband filter comprises filter coefficient update means to successively update filter coefficients in accordance with the related frequency band output signal supplied thereto, an estimated power thereof, and a subband error signal between the related frequency band output signal and a corresponding frequency band input signal propagated along an external path being modelled through the subband filter, and the filter coefficient update means is adapted to calculate a step size for each frequency band individually in dependence on the background noise level for each frequency band.
Further to the advantages outlined above the provision of an adaptive subband filter allows for a flexible scaling between the time domain and frequency domain range. The more frequency bands are considered, the better the convergence behaviour in case of a frequency selective disturbance will be. Still further, the lower the disturbance in a specific frequency band the larger the step size for the filter coefficient update process of the related subband filter may be to achieve a fast convergence.
According to still another preferred embodiment of the present invention there is provided an acoustic echo canceller for a communication device, comprising digital adaptive filter means receiving an input signal of the communication device and generating a synthetic echo to approximate a real echo between a speaker means and a receiving means of the communication device for antiphase compensation and communication monitoring means to detect the current communication status of the communication device and to control the digital adaptive filter means in dependence thereof, wherein the digital adaptive filter means is implemented according to one of the embodiments of the present invention outlined above.
Therefore, the digital adaptive filter according to the present invention is used within an acoustic echo canceller, in particular within a hands-free communication device. Through the improved performance of the inventive adaptive filter the synthetic echos are provided with improved matching to the real echos generated through the echo propagation path between, a loudspeaker and a microphone of the hands-free communication device.
According to yet another preferred embodiment of the present invention the acoustic echo canceller comprises an estimation means to determine a linear envelope of the input signal energy and a.background noise estimation means. Thus, the input signal energy and the background noise may be provided to an activity decision means that differs between different operation states to be handled by the acoustic echo canceller. Based on the estimated input signal energy level and background noise level it is possible to mark an interruption on the background noise and to increase the comfort through the application of the acoustic echo canceller.
BRIEF DESCRIPTION OF DRAWINGS A better understanding of the present invention may be achieved through the following detailed description of preferred embodiments when taken in conjunction with the accompanying drawings, wherein: Fig. 1 shows the basic structure underlying the adaptive filtering to cancel for echos propagated between a loudspeaker and a microphone in, a handsfree communication device; Fig. 2 shows a signal flow diagram for the estimation of a power level of an input signal to the circuit structure shown in Fig. 1; Fig. -3 shows the basic concept underlying the determination of the weighting factor for the power level estimation according to the present invention; Fig. 4 shows the schematic diagram of a power level estimation unit with selective weighting factor determination according to the present invention; Fig. 5 shows a time domain implementation of a digital adaptive filter using the asymmetric power level estimation according to the present invention; Fig. 6 shows the subband type adaptive filter implementation using the asymmetric power level estimation according to the present invention; Fig. 7 shows the basic approach underlying adaptive frequency domain filtering; Fig. 8 shows a schematic diagram for a frequency domain implementation of the digital adaptive filter using a asymmetric power level estimation according to the present invention; Fig. 9 shows a signal flow diagram for the asymmetric power level estimation in the frequency domain according to the present invention; Fig. 10 shows a block partitioned frequency domain realization of the digital adaptive filter using the asymmetric power level estimation according to the present invention; Fig. 11 shows a block diagram of the acoustic echo canceller according to the present invention; and Fig. 12 shows a block diagram of the communication monitoring unit shown in Fig. 11.
DESCRIPTION OF PREFERRED EMBODIMENTS Fig. 3 illustrates the basic concept underlying the different embodiments of the present invention, i.e. the asymmetric estimation of, an input signal power level. In Fig. 3, only a loudspeaker 10 and a microphone 12 used in, a hands-free duplex communication device are shown.
Fig. 3 illustrates the;. transmission behaviour along a path between the loudspeaker 10 and the microphone 12. In case the loudspeaker outputs a short period signal 14 at the propagation along the echo path 16 the related signal received by the microphone 12 will be an echo signal with much longer duration. The same holds true for the envelope of the loudspeaker output signal 14 and the envelope 22 of the echo signal 18.
As shown in Fig. 3, usually the envelope 20 of the loudspeaker signal 14 has approximately the same time duration for the raising and falling of the power level therof. To the contrary, for the echo signal 18 it should be noted that initially the-power level rises significantly at the beginning thereof and thereafter has the tendency to fade out over a much longer time period when compared to the loudspeaker output signal envelope 20. In other words, in estimating the power level of an echo signal in dependence on the loudspeaker output signal it should be taken into account that the rising of the power level is significantly faster than the decreasing thereof. This leads to an increased accuracy for the power level estimation and in consequence to an improved convergence behaviour.
Therefore, according to the present invention a recursive approach to the estimation of a power level according to PI1,= f-Pin, ).PI, with a different weighting 8 PI increasing l PI decreasing 8down The estimated power PIlt at time t thus is calculated from the instantaneous power PinIt at time t and from the estimated power PIt-1 at time t-1. Further, according to the present invention it is proposed that a higher weighting factor Pup is used in case of an increasing input power level and a lower weighting factor Pdown is used in case of a decreasing input power level. In other words, according to the present invention the estimation of the input signal power level is.carried out in an asymmetric manner.
In the following, it will be shown that this concept may be used either in the time domain or in the frequency domain.
In the second case, it is also possible to update the different filter coefficients in a frequency band selective way to achieve an even better convergence behaviour by considering background noise.
According to a first embodiment of the present invention the adaptive digital filter is implemented in the time domain. Therefore, the input power level estimation is implemented according to PXI
P)PXI,_,
8 PX increasing SdowPX decreasing As can be seen from the above formula, the power level of the input signal at a new time instant n is estimated from the instantaneous power of the input signal x(n) x(n) and the power level estimated for a previous time point n-1.
Fig. 4 shows a circuit diagram for the time domain implementation for the input signal power level estimation.
Here, a first multiplier 24 is used to derive the instantaneous power x 2 of the input signal. This instantaneous power is then selectively multiplied with Pup and Pdown for an increasing and decreasing input power level in a second multiplier 26, respectively. Then, the power level PX for the previous time point n-i is added to the output of the second multiplier 26 after being multiplied by 1-Pup and 1 -Pdown in case of an increasing and decreasing power level, respectively, in a third multiplier 28. This allows to derive the new value of the estimated power level.
As also shown in Fig. 4, each estimated power level value is compared to the instantaneous power or output of the first mulitplier 24 in a comparator to selectively operate switches 34 and 36 for the correct factors Pup, Pdown, 1- Pup/ 1 -Pdown, respectively. In particular, in case x 2
PX
the comparator 32 will indicate an increasing power level, while to the contrary, in case of x 2 PX the comparator 32 will indicate a decreasing power level.
Therefore, the time domain approach allows for a straightforward implementation of the power level estimation and is therefore a very efficient solution for small filter lengths. One such example of an adaptive digital filter using the asymmetric power level estimation circuit shown in Fig. 4 is illustrated in Fig. As shown in Fig. 5, an input signal x(n) is output by a loudspeaker 10, propagated along an echo path 16 and then picked up through a microphone 12. Further, as outlined above there is provided a time domain adaptive digital filter 38 to model the echo propagation path 16 for the generation of a synthetic echo for antiphase compensation.
Therefore, the output of this time domain adaptive digital
A
filter y(n) is added to the output y(n) of the microphone 12 at a summation point 40. Since the synthesis of the synthetic echo is only an approximation to the real echo
A
there will remain an error signal e(n) y(n) y(n) after the summation point 40. Another reason for this is that usually a noise signal n may in addition be picked up through the microphone 12.
As shown in Fig. 5, not only the input signal x(n) but also the error signal e(n) y(n) y(n) are input signals to the time domaindigital adaptive filter. Also, this filter divides into the usual delay units 42-1, 42-L, coefficient units 44-0, 44-1, 44-L and a summation unit 46 to add the outputs of the multiplication units 44- 0, 44-L. To flexibly adapt these coefficients Con,, L, n to the propagation conditions between the loudspeaker 10 and the microphone 12 there is also provided an adaptation unit 48 with a power estimation unit 50 and a coefficient update unit 52, respectively.
As shown in Fig. 5, the power estimation unit 50 receives the input signal of the loudspeaker 10 as input signal and derives an estimated power level therefrom using the approach and circuit structure as shown in Fig. 4. Using the estimated power level PXln or equivalently l|xll the update of the filter coefficients cn [cn, CL,n] T is carried out according to x c pe(n).
With x Here, the coefficient update unit 52 requires the estimation of the input signal power level which is implemented through an asymmetric smoothing process where the recursive smoothing is performed with different factors Oup and Idown, respectively, for an increasing and a decreasing input power level according to the recursive equation for the time domain explained above.
Therefore, the time domain implementation of the adaptive digital filter allows for a convergence of the adaptive filter which is independent of the power level of the input signal in accordance to the normalized least mean square algorithm. Further, the step size p is the degree of freedom to determine the convergence behaviour of the time domain digital adaptive filter.
According to the present invention, different P-factors allow to avoid a step size too large in case of a rapid input power increase which would eventually cause instability. Therefore, overall a faster convergence is achieved when compared with the solution using only a single factor. This leads to a better performance of the time domain adaptive filter and therefore to a better quality of devices using this time domain adaptive filter.
A further embodiment of the present invention is related to a subband adaptive digital filter as shown in Fig. 6. Here, there is provided an analysis filter bank 54 to filter an input signal x to the loudspeaker 10 into at least two frequency bands. In addition, a second analysis filter bank 56 filters the output of the microphone 12 again into at least two frequency bands corresponding to the frequency bands provided through the first analysis filter bank 54.
As shown in Fig. 6; for each frequency band provided through the first and second analysis filter bank 54 and 56, respectively, there is provided a subband filter 58-1, 58-n to model the transmission behaviour along the echo propagation path 16 in this frequency band. The output signal of each subband filter 58-1, 58-n may then be combined with the related output signal of the second analysis filter bank 56 to derive an error signal for each frequency band which may then be used to tune the related subband filter 58-1, 58-n. To derive the error signals there are provided related adders 60-1, 60-n the outputs of which feed a synthesis filter bank 62 that generates a time domain output signal for the subband output signals.
The advantage of this embodiment of the present invention is that it. allows to achieve scalability for the filtering in different frequency bands. Also, the subband adaptive filter is well suited to filter frequency selective disturbance signals on the echo propagation path as these disturbance signals may be specifically compensated for through the single subband filters. Still further, for each subband there may be chosen a respective step size for the update for filter coefficients.
A further embodiment of the present invention relies on a frequency domain approach that requires a transformation to the frequency domain and adds therefore an additional effort which pays off only in case the filter length exceeds a certain threshold length. For very long filter 18 lengths the frequency domain approach is superior over the time domain approach in terms of processing complexity.
Further, in case the frequency domain filtering technique is running on a block basis a series of input samples must be collected until the block processing can be performed.
This produces an inherent delay which is depending on the transformation length and has to be considered in the embodiment to be described in the following.
As shown in Fig. 7, the input signal is divided into segments of, equal length which are successively convolved with the impulse response, or equivalently the Fast Fourier Transform X(k) of the input signal x(n) is multiplied with the transfer function H(k) of the impulse response Then, after the inverse Fast Fourier Transform a last block of the result is saved as output signal.
Fig. 8 shows how the frequency domain adaptive filter shown in Fig. 7 may be used for echo cancellation.
Here, the input signal x(n) is the signal on the line RCV- IN being provided to the loudspeaker 10. Within the adaptive filter this signal is sub-divided by an input signal segmentation unit 64. This input signal segmentation unit 64 is connected to a FFT transformationunit 66. To the output of this FFT transformation unit 66 there is connected a conjugated complex unit 68 deriving the conjugate complex of the frequency domain representation X(k) of the input signal x(n) As also shown in Fig. 8, an error signal e(n) is provided as second input signal tothe adaptive filter via a second input signal segmentation unit 70. The output of this second input signal segmentation unit 70 is connected to a second FFT transformation unit 72. The frequency domain representation E(n) of the error signal e(n) and the conjugate complex of the frequency domain representation of the input signal is then multiplied in a first multiplication unit 74.
As also shown in Fig. 8, the output of this first multiplication unit 74 is.connected to the input of a gradient constraint unit 76 which itself is connected to the filter coefficient update unit 78. At the output of the filter coefficient update unit 78 the corresponding filter coefficients are multiplied with the frequency domain representation of the input signal X(k) to determine the frequency domain representation of the filter output signal Y(k) which is submitted to an inverse FFT transformation in a first retransformation unit 80. Finally, the last block of the time domain representation of the output signal of the adaptive filter is saved in a storage unit 82 providing the output signal.
According to the invention the filter coefficient update unit 78 is of particular importance as it completes the frequency domain adaptive filter. In particular, the structure shown in Fig. 8 is of the constraint type, as the gradient of change during the adjustment of frequency domain filter coefficient is restricted by the gradient constraint unit 76. While an unconstrained structure would result in a saving of two FFT transformations the convergence of the inventive frequency domain adaptive filter is larger due to an improved adjustment.
Fig. 9 shows a more detailed block diagram for the power estimation in the frequency domain according to the present invention'. The structure shown in Fig. 9 implements the equation PX(k), =iX ,+1 2 [p PX increasing down PX decreasing down and comprises a second conjugate complex unit 84 and a delay unit 86 to achieve the recursive estimation of the power level. As outlined above, two asymmetric smoothing factors P and 1-3, respectively, are supplied to multiplication units 88 and 90, respectively. Then both multiplication results are added in an adder 92 to calculate the estimated power of the input signal.
The filter coefficient update process for the frequency domain adaptive filter using this estimated input signal power level is carried out in the filter coefficient update unit 78 according to tk. E(k)
N
H(k) k=0, -+1 PX(k)lt 2 Here, the new coefficients H(k) lt+ are derived from the old coefficients H(k),Iby adding a certain increment that according to the invention is defined by: V(k) individual step size for each frequency bin E(k) error signal (residual signal after summation point) complex conjugate of the transformed loudspeaker signal PX(k) estimated power of the transformed loudspeaker signal G(k) gradient constraint operation due to cyclic FFT characteristics Therefore, according to the present invention the step size p(k) is calculated individually for each frequency band and depends on the background noise level in that specific frequency band. Usually, the lower the background noise, the larger the step size will be. Thus, as the background noise inside, a vehicle does not have a flat spectrum, the present invention allows for an optimum convergence adapted to the prevailing situation. In conclusion, the convergence speed may be adapted individually to the frequency characteristics of the background noise resulting in a better performance of the adaptive filter and thus in a better performance quality of the device using the frequency domain adaptive filter according tothe present invention, an acoustic echo canceller or a teleconference communication device.
Another impact of the band-specific normalization is the equivalent effect of a decorrelation of the input signal.
Therefore, the convergence for coloured signals like speech may be improved, "A Globally Optimised Frequency Domain Acoustic Echo Canceller for Adverse Environment Applications", J. Boudy, F. Chapman, P. Lockwood, 4th International Workshop on Acoustic Echo and Noise Control, 21-23 June 1995, Roros, Norway, pp. 95-98.
Further, for the structure shown in Fig. 8 the block length is not restricted to a power 2. To the contrary, in the structure shown in Fig. 8 also a input length K and a FFT length N may be chosen to satisfy N 2K Thus, this embodiment of the present invention allows for an increased range of possible applications. One example is GSM where the speech coder is running on a 20 milliseconds basis or equivalently 160 samples. This value is not a power of 2.
Further, with the adaptive frequency domain filter shown in Fig. 8, the filtering technique is running on a block basis and a series of input samples must be collected until the block processing can be performed. This produces an inherent delay which is dependent on the FFT length and has to be considered in a real time application. To overcome 23 this drawback, a large FFT transformation may be split into smaller portions, i.e. it may be partitioned. According to the present invention, this leads to a partitioned block frequency domain adaptive filter to be explained in the following.
Fig. 10 shows such a partitioned block frequency domain adaptive filter according to the present invention. As shown in Fig. 10, this embodiment of the frequency domain adaptive filter uses four partitions n 0, 3. Using four partitions results in a FFT length which is 1/4 of the original length. Thus, also the delay is reduced to 1/4.
However, according to this embodiment the computational effort is slightly increased and the decorrelation effect for the input signal x(n) is reduced due to the shorter FFT length.
As shown in Fig. 10, the partitioned.block frequency domain adaptive filter has the conjugate complex unit 68, the gradient constraint unit 76, and the filter coefficient update unit 78 duplicated into each singular block of the frequency domain adaptive filter. In particular, the different filter coefficient update units of the partitioned block frequency domain adaptive filter are denoted through the reference numerals A 0
A
1
A
2 and A 3 respectively. Also, to achieve the block partition it is necessary to provide additional delay units 94, 96, 98, respectively. Finally, the output according to each of the partition blocks in the frequency domain adaptive filter are added in a vector adding unit 100, the output of which is supplied to the first inverse FFT unit 80 already shown in Fig.8.
In considering the function of the structure shown in Fig.
10 it should be noted that the FFT length is chosen to, 128, resulting in an echo path length of 32 milliseconds, i.e. 256 taps at 8 kHz sampling frequency.
The first block H 0 contains the first 64 taps, the second block H 1 contains the next 64 taps and so on. The same holds for the input vector blocks X 0
-X
3 The delay units 94-98 symbolize a delay by one block. A partition factor of 4 has an inherent delay of 8 msec plus some processing delay.
The filter coefficient update is similar to the update performed in the time domain NLMS algorithm, i.e. the error signal is normalized by the input power and the new coefficients are derived from the old ones by adding a certain step depending on the input vector. The difference to the time domain NLMS is that the normalization is performed individually for each frequency bin and that the step size p is controlled individually for each frequency bin to optimize convergenceproperties as outlined above.
The estimation of the input power is based on the power of the block input signals X 0
-X
3 and on the old estimated input power. According to the invention a recursive smoothing is performed with different, asymmetric smoothing factors for increasing and decreasing power. Two different smoothing factors are used to avoid a too large step size incase of rapid input power increase which would cause instability. The input power is estimated for each frequency bin. The input power is denoted by PX.
3N f.(X .X k=0, -+1 r=o 2 6p PX increasing PX decreasing *8down As with the embodiments according to Fig. 8 also for the partitioned block frequency domain. adaptive filter according to the present invention the step size pi determines the stability, the speed of convergence and the final misadjustment error. A large step size will result in a fast convergence, but also in a high gradient noise and vice versa. In the presence of additional noise, car background noise, the step size has to be reduced to avoid instability.
While in the above different embodiments of a frequency domain adaptive filter according to the invention have been explained, in the following reference will be made to an acoustic echo canceller using such a frequency domain adaptive filter. One typical application of such an acoustic echo canceller would be a hands-free communication device, a teleconference communication device or a multimedia terminal.
Fig. 11 shows a block diagram of an acoustic echo canceller according to the present invention. Here, the adaptive filter generates a synthetic echo which should be identical to the real echo for antiphase compensation. Due to the limited performance of the adaptive filter, the residual echo e after the summation point is still perceivable and it is removed by a non-linear processor 102, a center clipper. However, the non-linear processor 102 eliminates not only the residual echo but also the background noise of the near end talker in front of the microphone 12. This generates a feeling of a broken line for the far end speaker. An approach to overcome this problem is to provide a comfort noise generator 104.
As shown in Fig. 11, the acoustic echo canceller is controlled by a communication monitoring unit 106 also referred to as double talk detector in the following. This double talk detector 106 distinguishes between the different states of the acoustic echo canceller and controls the adaptation process for the adaptive filter.
With respect to stability it should be noted that usually a rather high volume of the loudspeaker signal must be provided, in a car to guarantee optimum commnunication. This implies a system working above the stability margin which can lead to howling effect if the adaptive filter cannot yield sufficient attenuation. For high loudspeaker volumes the combination of voice switching and an acoustic, echo canceller is successful in the practical implementation of the invention.
As already mentioned above, the non-linear processor 102 may be implemented as a center clipper with an adaptive threshold. The threshold is chosen higher than the expected echo level after linear compensation to suppress all the residual echoes. This expected echo level is the RCV-OUT level reduced by the echo return loss and echo return loss enhancement value, respectively. The non-linear processor 102 is active only in case of a single activity of the far end speaker. It is not active if the near end speaker is active to avoid any clipping and when nobodyis talking to transmit the background noise.
Still further, the double talk detector 106 shown in Fig.
11 performs the control of the complete acoustic echo canceller. Thus, it controls the adaptive filter, the nonlinear processor 102, and the comfort noise generator 104, respectively, as shown in Fig. 11.
As shown in Fig. 12, the double talk detector 106 comprises a unit 108 to estimate the energy of the input signal, a unit 110 to estimate the background noise, and a unit 112 to decide on the activity of the near end speaker and far end speaker, respectively. In particular, the double talk detector 106 distinguishes between four states and performs different tasks depending on the state: Idle: nobody is talking S Near End Active: the person in front of the microphone is talking Far End Active: a signal is coming from the far end side Double Talk: a signal is coming from the far end and the near end speaker is active As shown in Fig. 12, the double talk detector 106 must estimate the input signal energy and the background noise so as to draw a secure state decision. According to Parseval's theorem the energy can be calculated in time domain as well as in the frequency domain: Xlx(n)' X(k)2 n=O N k-0 In the frequency domain a linear envelope "Envlin" can be calculated and recursively smoothed according to:
N
1 1 2 l. =N 1N X(k)X k 2 2 Envin Pji Envn up lin increasing down lin decreasing As also shown in Fig. 12, the double talk detector 106 comprises a background noise estimation unit.110. This is to take into consideration that, a mobile application implies a high background noise level. This noise is coming mainly from the tires and the wind and is short term stationary. It is essential to distinguish between background noise and near end talker to achieve a secure state decision.
The background noise estimation unit 110 is active for the near end signal and for the far end signal. At the far end side switching devices may be connected producing fast changing background noise levels. Also, the background noise estimation unit 110 is based on following assumptions: the background noise is long term stationary; the speech signal is instationary; and the background noise level may change rapidly.
Based on the input energy level and the estimated background noise level of the SND-IN and RCV-IN signals first activity decisions for SND-IN and RCV-IN inputs are performed by the activity decision unit 112 of the double talk detector 106. Here, if the input level exceeds the estimated background noise level by a certain threshold, the input is marked as active, otherwise as inactive. Thus, the activity decision unit 112 differs between four different states: Idle Near End Active Far End Active Double Talk Comprises/comprising and grammatical variations thereof when used in this specification are to be taken to specify the presence of stated features, integers, steps or components or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, components or groups thereof.
List of Abbreviations
AEC
BGN
CNG
DTD
Far end signal
FDAEC
FDAF
FFT
FIR
G
IFFT
k
L
N
near
NLMS
NLP
PBFDA
PX
end signal Acoustic Echo Canceller Background Noise Comfort Noise Generator Double Talk Detector Signal coming from the line and going to the loudspeaker Frequency Domain Acoustic Echo Canceller Frequency Domain Adaptive Filter Fast Fourier Transform Finite Impulse Response Gradient Constraint Inverse Fast Fourier Transform Index for Frequency Band Filter length Length of FFT Signal picked up by the microphone and going to the line Normalized Least Mean Square Non Linear Processor Partitioned Block Frequency Domain Adaptive Filter Estimated input power of loudspeaker signal Receive Receive Input (Input from far end) Receive Output (Output to loudspeaker) Send Send Input (Input from Microphone) Send Output (Output to far end) Time Domain Acoustic Echo Canceller Signal delay by one block Frequency domain representation of input signal x (n) Conjugate Complex Vector of X Smoothing Factor Step Size Time Domain Output Signal of Frequency Domain Adaptive Filter
RCV
RCV-IN
RCV-OUT
SND
SND-IN
SND-OUT
TDAEC
TB
X(k) X* (k) y(n)

Claims (18)

1. A frequency domain adaptive filter, including: Cl a) filter coefficient update means to successively update filter coefficients in accordance with 00 oO al) an input signal, a2) an estimated power of the input signal, and c a3) an error signal between the input signal filtered in the frequency domain adaptive filter and an input signal propagated along an external path being modelled by the frequency domain adaptive filter, wherein b) the filter coefficient update means is adapted to calculate a step size for each used frequency band individually in dependence on the background noise level of each frequency band.
2. The frequency domain adaptive filter according to claim 1, which further includes input signal power estimation means adapted to perform recursive smoothing for an increasing input power and/or a decreasing input power asymmetrically.
3. The frequency domain adaptive filter according to claim 1 or 2, which further includes gradient constraint means to achieve optimal convergence of the filter coefficients.
4. The frequency domain adaptive filter according to claim 2 or 3, wherein the filter coefficient update means updates the filter coefficients according to E(k) N H(k) PX(k), X k PX(k)lt 2 Swherein g(k) is the individual step size for each frequency band, E(k) is the transformed error signal as residual signal after summation point, is the complex conjugate of the transformed loudspeaker O signal, 0o PX(k) is the estimated power of the transformed loudspeaker signal, and 0 10 G(k) is the gradient constraint operation due to cyclic FFT characteristics. The frequency domain adaptive filter according to any one of claims 1 to 4, which is of the block partitioned type.
6. The frequency domain adaptive filter according to any one of claims 1 to 4, which is of the type with variable input length K chosen to satisfy N>2K, where N is the FFT length and K is not restricted to a power of 2.
7. A subband adaptive filter, including: a) an analysis filter bank adapted to filter an input signal accordingly into at least two frequency bands, b) a subband filter for each frequency band of the analysis bank to filter the related frequency band output signal, c) a synthesis filter bank adapted to generate a time domain output signal from the subband filter output signals, wherein d) each subband filter includes filter coefficient update means to successively update filter coefficients in accordance with dl) the related frequency band output signal supplied thereto, C-I d2) an estimated power thereof, and 00 d3) a subband error signal between the related frequency band output signal and a corresponding frequency band input C 10 signal propagated along an external path being modelled through c- the subband filter, and e) the filter coefficient update means is adapted to calculate a step size for each frequency band individually in dependence on the background noise level for each frequency band.
8. The subband adaptive filter according to claim 7, wherein the filter coefficient update means of each subband filter is adapted to perform recursive smoothing for an increasing input power and a decreasing input power asymmetrically.
9. The subband adaptive filter according to claim 8, wherein the input signal power estimation means performs the recursive smoothing of the input power according to PIJ, ft Pinj, l) UPI PI increasing B PI decreasing An acoustic echo canceller for a communication device, including: O a) digital adaptive filter means receiving an input signal of the Scommunication device and generating a synthetic echo to approximate a real echo between speaker means and receiving means of the communication device for antiphase compensation, C b) communication monitoring means to detect the current communication status of the communication device and to modify the oO 00 0characteristics of the digital adaptive filter means in dependence thereof, wherein c) the digital adaptive filter means is either a frequency domain C adaptive filter, according to any one of claims 1 to 6, or a subband adaptive filter, according to any one of claims 7 to 9.
11. The acoustic echo canceller according to claim 10, wherein the communication monitoring means includes: a) energy level estimation means to determine a linear envelope of the input signal energy, b) background noise estimation means performing background noise estimation for a near end signal and a far end signal, and c) activity decision means adapted to differ between four different states idle, near end active, far end active, and double talk, respectively.
12. The acoustic echo canceller according to claim 10 or 11, wherein the energy level estimation means uses an asymmetric smoothing factor to determine the envelope of the input signal energy.
13. The acoustic echo canceller according to any one of claims 10 to 12, wherein the output signals of the digital adaptive filter means are supplied to a center clipper as non-linear processing means. O 14. The acoustic echo canceller according to claim 13, wherein the output N signal of the non-linear processing means is overload with a synthetic noise t outputted by comfort noise generating means. N 15. A hands-free communication device including an echo canceller according to any one of claims 10 to 14. 0 16. A teleconference communication system including an echo canceller according to any one of claims 10 to 14.
17. Multimedia terminal equipment including an echo canceller according to any one of claims 10 to 14.
18. A frequency domain adaptive filtering method, including the steps of: a) successively updating filter coefficients in accordance with al) an input signal, a2) an estimated power of the input signal, and a3) an error signal between the input signal filtered according to the frequency domain adaptive filtering method and an input signal propagated along an external path being modelled through the frequency domain adaptive filtering method, wherein b) a step size for each used frequency band is calculated individually in dependence on the background noise level of each used frequency band.
19. The frequency domain adaptive filtering method according to claim 18, wherein a recursive smoothing for an increasing input power and/or a decreasing input power is performed asymmetrically. O 20. The frequency domain adaptive filtering method according to claim 18 or S19, wherein filter coefficients are updated according to EH(k E(k) N k=O C PX(k), 2 0wherein oo 00 t(k) is the individual step size for each frequency band, q- E(k) is the transformed error signal as residual signal after summation point, is the complex conjugate of the transformed loudspeaker signal, PX(k) is the estimated power of the transformed loudspeaker signal, and G(k) is the gradient constraint operation due to cyclic FFT characteristics.
21. A digital adaptive filtering method of the subband type, including the steps of: a) filtering an input signal accordingly into at least two frequency bands in an analysis filter bank, b) filtering the related frequency band output signals in a subband filter for each frequency band, c) generating a time domain output signal from the subband filter output signals in a synthesis filter bank, wherein d) in each subband filter, filter coefficients are successively updated in accordance with dl) the related frequency band output signal supplied thereto, d2) an estimated power thereof, and d3) a subband error signal between the related frequency band output signal and a corresponding frequency band input signal propagated along an external path being modelled through 00 the digital adaptive filtering method of the subband type, and 00 e) a step size for each used frequency band is calculated individually C 10 in dependence on the background noise level for each frequency band.
22. The digital adaptive filtering method of the subband type according to claim 21, wherein the recursive smoothing for an increasing input power and a decreasing input power is performed asymmetrically.
23. The digital adaptive filtering method according to claim 22, wherein the recursive smoothing of the input power is performed according to PI fl" Pin j3). PI up PI increasing i =down PI decreasing
24. A method for acoustic echo canceling in a communication device, including the steps of: a) receiving an input signal of the communication device at digital adaptive filter means and generating a synthetic echo to approximate a real echo between speaker means and receiving means of the communication device for anti-phase compensation, O b) detecting the current communication status of the communication C device in communication monitoring means to control the digital adaptive filter means in dependence thereof, wherein C 5 c) the digital adaptive filtering means is either a frequency domain adaptive filter, operated in accordance with the method of any one of claims 18 to 0 20, or a subband adaptive filter, operated in accordance with the method of any 00 0 one of claims 21 to 23. STELEFONAKTIEBOLAGET L M ERICSSON (PUBL) WATERMARK PATENT TRADE MARK ATTORNEYS P18880AU01
AU2004200802A 1998-07-13 2004-02-27 Digital adaptive filter and acoustic echo canceller using the same Ceased AU2004200802B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2004200802A AU2004200802B2 (en) 1998-07-13 2004-02-27 Digital adaptive filter and acoustic echo canceller using the same

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE19831320 1998-07-13
AU54092/99A AU767771B2 (en) 1998-07-13 1999-07-01 Digital adaptive filter and acoustic echo canceller using the same
AU2004200802A AU2004200802B2 (en) 1998-07-13 2004-02-27 Digital adaptive filter and acoustic echo canceller using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU54092/99A Division AU767771B2 (en) 1998-07-13 1999-07-01 Digital adaptive filter and acoustic echo canceller using the same

Publications (2)

Publication Number Publication Date
AU2004200802A1 AU2004200802A1 (en) 2004-03-25
AU2004200802B2 true AU2004200802B2 (en) 2007-05-10

Family

ID=34229833

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2004200802A Ceased AU2004200802B2 (en) 1998-07-13 2004-02-27 Digital adaptive filter and acoustic echo canceller using the same

Country Status (1)

Country Link
AU (1) AU2004200802B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10367948B2 (en) * 2017-01-13 2019-07-30 Shure Acquisition Holdings, Inc. Post-mixing acoustic echo cancellation systems and methods
CN112447175A (en) * 2019-08-29 2021-03-05 北京声智科技有限公司 Echo cancellation method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5272695A (en) * 1990-09-14 1993-12-21 Nippon Telegraph And Telephone Corporation Subband echo canceller with adjustable coefficients using a series of step sizes
US5953380A (en) * 1996-06-14 1999-09-14 Nec Corporation Noise canceling method and apparatus therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5272695A (en) * 1990-09-14 1993-12-21 Nippon Telegraph And Telephone Corporation Subband echo canceller with adjustable coefficients using a series of step sizes
US5953380A (en) * 1996-06-14 1999-09-14 Nec Corporation Noise canceling method and apparatus therefor

Also Published As

Publication number Publication date
AU2004200802A1 (en) 2004-03-25

Similar Documents

Publication Publication Date Title
EP1097562B1 (en) Adaptive filter and acoustic echo canceller using the same
EP1208689B1 (en) Acoustical echo cancellation device
US5307405A (en) Network echo canceller
US6658107B1 (en) Methods and apparatus for providing echo suppression using frequency domain nonlinear processing
KR100721034B1 (en) A method for enhancing the acoustic echo cancellation system using residual echo filter
Turbin et al. Comparison of three post-filtering algorithms for residual acoustic echo reduction
US7564964B2 (en) Echo canceller
WO1999014868A1 (en) Echo elimination method, echo canceler and voice switch
EP1786191B1 (en) Acoustic echo canceller
EP1783923B1 (en) Double-talk detector for acoustic echo cancellation
KR20050073604A (en) Statistical adaptive-filter controller
CN103460613A (en) A computation saving echo canceller for a wide band audio signal
CN111277718B (en) Echo cancellation system and method thereof
US6108412A (en) Adaptive echo cancelling system for telephony applications
CN1053337A (en) Echo suppressor
JP2003324372A (en) Improved acoustic echo cancellation
AU2004200802B2 (en) Digital adaptive filter and acoustic echo canceller using the same
CN102316231B (en) Echo cancellation method and device
US6134322A (en) Echo suppressor for a speech input dialogue system
KR100272131B1 (en) Adaptive reverbation cancelling apparatus
US20050117739A1 (en) Apparatus and method for echo cancellation
JP3403655B2 (en) Method and apparatus for identifying unknown system using subband adaptive filter
KR20020055806A (en) Method and apparatus for removing the adaptive echo
Martin et al. An improved echo shaping algorithm for acoustic echo control

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
MK14 Patent ceased section 143(a) (annual fees not paid) or expired