Information
-
Patent Application
-
20030223382
-
Publication Number
20030223382
-
Date Filed
May 28, 200321 years ago
-
Date Published
December 04, 200320 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
Abstract
An echo canceller comprising a digital filter having adaptive coefficients which are updated to simulate an echo response, a temporary register for storing default coefficients, and a controller for monitoring ERLE and in the event the ERLE is greater than a first predetermined threshold then enabling the digital filter and replacing the default coefficients in the temporary register with the adaptive coefficients, and in the event the ERLE is less than a second predetermined threshold then disabling the digital filter and replacing the adaptive coefficients with said the default coefficients from the temporary register.
Description
FIELD OF THE INVENTION
[0001] This invention relates generally to echo cancellers, and more particularly to an H-register echo canceller incorporating a register for storing default coefficients for use in the event that the echo canceller diverges.
BACKGROUND OF THE INVENTION
[0002] Echo cancellers (ECs) are well known in the art for providing cancellation of echoes resulting from imperfect impedance matching by hybrids in two-to-four wire signal conversion or in the case of Acoustic Echo Cancellers, providing cancellation of echoes resulting from acoustic coupling from the handsfree speaker to the handsfree microphone. Prior art adaptive line echo cancellers (LECs) and acoustic echo cancellers (AEC) employing the Least Mean Square (LMS) algorithm are useful in quickly adapting to changes in the echo path response. However, such echo cancellers suffer from poor performance in the presence of “double talk” (a condition that occurs when the near end and far end speakers are talking at the same time). Several approaches have attempted to overcome the problem of poor echo cancellation in the presence of “double talk” by incorporating a dual-H architecture wherein a first filter having non-adaptive coefficients simulates the echo response in conjunction with a second adaptive filter. Both filters provide filtering and the residual echo generated by both filters is compared. If the residual echo from the second filter is smaller than the residual echo from the first filter then the adaptive filter coefficients are transferred into the first filter. Examples of such prior art systems are described in the following patents:
[0003] U.S. Pat. No. 6,219,418: Adaptive dual filter echo cancellation method; Eriksson; Anders, Karlsen; Johnny; Telefonaktiebolaget LM Erricsson, Stockholm, Sweden; Apr. 17, 2001;
[0004] U.S. Pat. No. 6,181,793: Echo canceller employing dual-H architecture having improved coefficient transfer; Laberteaux; Kenneth P., Younce; Richard C., Tellabs Operations, Inc., Lisle, Ill.; Jan. 30, 2001;
[0005] U.S. Pat. No. 6,031,908: Echo canceller employing dual-H architecture having variable adaptive gain settings; Laberteaux; Kenneth P., Younce; Richard C., Dunne; Bruce E., Farrell; David S.; Tellabs Operations, Inc., Lisle, Ill., Feb. 29, 2000;
[0006] U.S. Pat. No. 6,028,929: Echo canceller employing dual-H architecture having improved non-linear echo path detection; Laberteaux; Kenneth; Tellabs Operations, Inc., Lisle, Ill.; Feb. 22, 2000;
[0007] U.S. Pat. No. 5,663,955: Echo canceller system with shared coefficient memory; Iyengar; Vasu; Lucent technology Inc, Allentown, Pa., Sep. 2, 1997; and
[0008] U.S. Pat. No. 5,664,011; Echo canceller with adaptive and non-adaptive filters; Crochiere; Ronald Eldon, Iyenegar; Vasu; Lucent Technology Inc. Murray Hill, N.J.; Sep. 2, 1997.
SUMMARY OF THE INVENTION
[0009] According to the present invention, the echo canceller EC coefficients are captured and stored once the EC is converged, for use as default coefficients in the event that the EC diverges in the presence of double talk or while tracking the statistical variations of the signal. A novel method is set forth for controlling the criteria for capturing these coefficients for use by the active EC, thereby resulting in highly stable EC operation under many different signal conditions.
[0010] More particularly, according to the present invention, an adaptive filter is used in conjunction with a temporary register in which coefficients and an echo return loss enhancement (ERLE) are stored. A controller monitors ERLE and selectively enables and disables the adaptation process and transfers the default coefficients into the filter. In contrast with the prior art, a single adaptive filter carries out the filtering process, thereby reducing the calculation complexity over the prior art. However, the resulting performance is similar to that of prior art dual-H register systems.
BRIEF DESCRIPTION OF THE DRAWINGS
[0011] A detailed description of the invention is set forth herein below, with reference to the accompanying block diagram of an echo canceller according to the preferred embodiment.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[0012] In the system of FIG. 1, an incoming signal Rin from a remote telephone system is received and applied to a near end telephone ear piece of speakerphone via Rout. A near end signal Sin is received for transmission to the far end telephone system. However, as a result of impedance mismatches a portion of the signal Rout is echoed back to the far end through echo path 3 and added to the near end signal Sin. An adaptive filter 4 simulates the echo path impulse response using coefficients Ca and creates an echo replica by minimization of the echo energy E. The echo is canceled during the call within subtractor 5.
[0013] A temporary register 9 is provided for storing default coefficients Ct and temporary values of ERLE. Controller 6 enables transfer of coefficients Ca and Ct between the filter 4 and register 9.
[0014] In operation, at the start of a call the ERLE=0 is written into the temporary register 9 as ERLE max. Once the convergence reaches an initial state (e.g. ERLE>16 dB), if the short term average of ERLE is greater than ERLE max then the coefficients of the adaptive filter Ca are transferred to the temporary register 9 and stored as Ct, and the ERLE is stored as ERLE max. In the event ERLE<ERLE max*ERLE_threshold1 (e.g. ERLE is less than ERLE max by 20 dB where ERLE_threshold1=0.1), the adaptive filter coefficients Ca are replaced by coefficients Ct from the temporary register 9. The Ct coefficients remain as Ca until and unless ERLE>ERLE max*ERLE_threshold2 (e.g. ERLE_threshold2=0.5), in which case ERLE max=ERLE, and the process of copying the adaptive coefficients Ca and the ERLE to the temporary register 9 continues, provided that ERLE>ERLE max.
[0015] When the coefficients Ca are replaced by Ct then a timing-counter 8 starts counting speech samples while the short term energy average of the Rin signal exceeds a predetermined Rin_threshold (i.e. while the Rin signal is above the noise floor). If the equation ERLE>ERLE max*ERLE_threshold2 is satisfied the timing-counter is set to zero. In the event that the timing counter exceeds a predetermined value of time_max (e.g. 3 seconds) then the low ERLE has been caused by a change of the echo path impulse response. Therefore, the adaptive coefficients Ca, temporary register coefficients Ct and ERLE max are set to zero. The adaptation process then re-starts from these initial conditions.
[0016] The echo canceller is disabled for in-band signals and the adaptive filter 4 is deactivated.
[0017] The following pseudo-code exemplifies the echo cancellation algorithm according to the present invention:
1|
|
Adapt = 0 adaptation disabled;
Adapt = 1 adaptation enabled;
ERLE_init - early convergence state
Initialization
ERLEmax = 0;
Ct = Ca = 0;
Cntr = 0;
Adapt = 1;
Flag = 0;
If (in-band tone)
{
Adapt = 0;
}
Start:
If (Adapt == 1)
{
do Adaptation on Ca;
}
if (ERLE > ERLE_init)
{
if (ERLE >= ERLEmax)
{
ERLEmax = ERLE;
Ct = Ca;
}
if(ERLE < ERLEmax* ERLE_threshold1)
{
Ca = Ct;
Set flag = 1;
If(Rin > Rin_threshold)
{
Cntr++;
}
}
if(flag = 1 && ERLE > ERLEmax* ERLE_threshold2)
{
ERLEmax = ERLE;
Ct = Ca;
Flag = 0;
}
if((cntr == cntr_threshold)
{
Ct = Ca = 0.0;
ERLE = ERLEmax = 0.0;
Adapt = 1;
}
)
|
[0018] A person of skill in the art will appreciate that the principles of the invention may be used in many applications involving adaptive processes, such as acoustic echo cancellers used for full duplex handsfree speakerphones.
[0019] Modifications and alternative embodiments of the invention are possible without departing from the sphere and scope of the invention as set forth in the claims appended hereto.
Claims
- 1. An echo canceller comprising:
a digital filter having adaptive coefficients which are updated to simulate an echo response; a temporary register for storing default coefficients; and a controller for monitoring ERLE and in the event the ERLE is less than a first predetermined threshold then replacing said adaptive coefficients with said default coefficients from said temporary register, and in the event the ERLE is greater than a second predetermined threshold then replacing said default coefficients in said temporary register with said adaptive coefficients.
- 2. The echo canceller of claim 1, further comprising a counter for counting speech samples of an incoming signal while the short term energy average of said signal exceeds a further predetermined threshold and, in the event that said counter counts in excess of a predetermined counter threshold then initializing said adaptive coefficients, said default coefficients and the ERLE to zero.
- 3. The echo canceller of claim 1, wherein said digital filter is an adaptive filter.
- 4. For use in an echo canceller having a digital filter with adaptive coefficients which are updated to simulate an echo response, and a temporary register for storing default coefficients, a method of selecting said coefficients comprising:
monitoring ERLE output from said echo canceller; in the event the ERLE is greater than an initial threshold then setting the ERLE to ERLE max and replacing said default coefficients in said temporary register with said adaptive coefficients while ERLE remains greater than ERLE max; in the event the ERLE is less than a first predetermined threshold then replacing said adaptive coefficients with said default coefficients from said temporary register; and in the event the ERLE is greater than a second predetermined threshold then setting the ERLE to ERLE max and replacing said default coefficients in said temporary register with said adaptive coefficients while ERLE remains greater than ERLE max.
- 5. The method of claim 4, further comprising counting speech samples of an incoming signal while the short term energy average of said signal exceeds a further predetermined threshold and, in the event that said counter counts in excess of a predetermined counter threshold then initializing said adaptive coefficients, said default coefficients and the ERLE to zero.
Priority Claims (1)
Number |
Date |
Country |
Kind |
0212298.4 |
May 2002 |
GB |
|