CA2451417C - Method of capturing constant echo path information in a full duplex speakerphone using default coefficients - Google Patents
Method of capturing constant echo path information in a full duplex speakerphone using default coefficients Download PDFInfo
- Publication number
- CA2451417C CA2451417C CA002451417A CA2451417A CA2451417C CA 2451417 C CA2451417 C CA 2451417C CA 002451417 A CA002451417 A CA 002451417A CA 2451417 A CA2451417 A CA 2451417A CA 2451417 C CA2451417 C CA 2451417C
- Authority
- CA
- Canada
- Prior art keywords
- coefficients
- echo
- default
- signal
- error signal
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 230000008878 coupling Effects 0.000 description 7
- 238000010168 coupling process Methods 0.000 description 7
- 238000005859 coupling reaction Methods 0.000 description 7
- 238000013459 approach Methods 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002592 echocardiography Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 229910000078 germane Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000008080 stochastic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M9/00—Arrangements for interconnection not involving centralised switching
- H04M9/08—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
- H04M9/082—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic using echo cancellers
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Telephone Function (AREA)
Abstract
A method of determining when to save default coefficients in an echo canceller so as to ensure that the capture of coefficients that correspond to the best possible echo cancellation in a current condition. Coefficients are saved at varying times depending on the amount of echo removed by the echo canceller. More particularly, the present method involves constantly monitoring the error signal to the echo canceller and comparing it with the error signal that would be obtained if default coefficients were to be used instead of the current coefficients. This ensures that the default coefficients are upgraded each time the current set of coefficients is better than the saved default coefficients.
Description
METHOD OF CAPTURING CONSTANT ECHO PATH INFORMATION IN A
FULL DUPLEX SPEAKERPHONE USING DEFAULT COEFFICIENTS
Field of the Invention The present invention relates in general to speakerphones and more particularly to a method of capturing constant echo path information in a full duplex handsfree (FDHD) speakerphone.
1o Background of the Invention One of the most important performance indicators for full duplex speakerphones is convergence time (i.e. the time required by the echo cancellers within the speakerphone to reach an acceptable level of cancellation). The convergence time of the speakerphone depends both on internal Line Echo Canceller (LEC) and Acoustic Echo Canceller (AEC) convergence times. In order to converge quickly and properly, a speakerphone echo canceller requires a reference signal with correct stochastic properties. At the beginning of a call (Start-up), the reference signal is usually not sufficiently stochastic (e.g. the line signal typically comprises narrow band tones such as dial tone) or speech is not present, so that echo cancellation is unable to commence immediately. In such situations the speakerphone loop may remain unstable for a noticeable period of time. This can result in feedback or "howling" of the speakerphone during start-up, especially when the speaker volume is high.
In order to prevent such feedback, it is an objective of speakerphone design to ensure that the echo cancellers (LEC and AEC) converge rapidly to the correct echo path models at start-up. Otherwise, the speaker volumes must be reduced during start-up, which may be annoying to a user.
According to one prior art approach to reducing the problem of feedback during speakerphone start-up, howling detection has been used (see ITU-T
FULL DUPLEX SPEAKERPHONE USING DEFAULT COEFFICIENTS
Field of the Invention The present invention relates in general to speakerphones and more particularly to a method of capturing constant echo path information in a full duplex handsfree (FDHD) speakerphone.
1o Background of the Invention One of the most important performance indicators for full duplex speakerphones is convergence time (i.e. the time required by the echo cancellers within the speakerphone to reach an acceptable level of cancellation). The convergence time of the speakerphone depends both on internal Line Echo Canceller (LEC) and Acoustic Echo Canceller (AEC) convergence times. In order to converge quickly and properly, a speakerphone echo canceller requires a reference signal with correct stochastic properties. At the beginning of a call (Start-up), the reference signal is usually not sufficiently stochastic (e.g. the line signal typically comprises narrow band tones such as dial tone) or speech is not present, so that echo cancellation is unable to commence immediately. In such situations the speakerphone loop may remain unstable for a noticeable period of time. This can result in feedback or "howling" of the speakerphone during start-up, especially when the speaker volume is high.
In order to prevent such feedback, it is an objective of speakerphone design to ensure that the echo cancellers (LEC and AEC) converge rapidly to the correct echo path models at start-up. Otherwise, the speaker volumes must be reduced during start-up, which may be annoying to a user.
According to one prior art approach to reducing the problem of feedback during speakerphone start-up, howling detection has been used (see ITU-T
2 Recommendation G. 168) in combination with gain control. According to this approach, the speaker volume (or loop gain) is reduced when howling is detected. A
drawback of this approach is that the gain switching is often audible which may be annoying to the user.
Another prior art solution involves operating the speakerphone in a half duplex mode on start-up in order to prevent howling and echo from interfering with communication. The speakerphone remains in the half-duplex mode until the LEC
adapts sufficiently to ensure echo cancellation. A drawback of this approach is that the speakerphone sometimes stays in the half-duplex mode for a long time, making communication between telephone parties difficult or impossible.
Yet another prior art solution involves forcing the speakerphone to start operation at a predetermined "acceptable" low volume level which guarantees stability in the audio loop, and then gradually increasing the volume as convergence of the echo canceller is achieved. A drawback of this approach is that the volume adjustment is often noticeable to the user.
Since the LEC models a network echo path where the first echo reflection of the near end hybrid is usually reasonably constant for each connection, and the AEC
models an acoustic echo path where direct acoustic coupling or coupling through the plastic housing of the phone is always the same for a given phone, both the LEC and AEC may be loaded initially with previously captured and saved constant echo path models represented by default coefficients, and then continue to converge toward the complete echo channel models. This results in faster convergence time, and more stability as the main, strongest echo reflections will already be cancelled using the default coefficient models.
Thus, according to copending Patent Canadian Patent Application No.
3o 2,291,428, a method is provided for improving the start-up convergence time of the LEC filter, thereby resulting in a total reduced convergence time for the speakerphone. This method is based on capturing the LEC coefficients once the LEC
drawback of this approach is that the gain switching is often audible which may be annoying to the user.
Another prior art solution involves operating the speakerphone in a half duplex mode on start-up in order to prevent howling and echo from interfering with communication. The speakerphone remains in the half-duplex mode until the LEC
adapts sufficiently to ensure echo cancellation. A drawback of this approach is that the speakerphone sometimes stays in the half-duplex mode for a long time, making communication between telephone parties difficult or impossible.
Yet another prior art solution involves forcing the speakerphone to start operation at a predetermined "acceptable" low volume level which guarantees stability in the audio loop, and then gradually increasing the volume as convergence of the echo canceller is achieved. A drawback of this approach is that the volume adjustment is often noticeable to the user.
Since the LEC models a network echo path where the first echo reflection of the near end hybrid is usually reasonably constant for each connection, and the AEC
models an acoustic echo path where direct acoustic coupling or coupling through the plastic housing of the phone is always the same for a given phone, both the LEC and AEC may be loaded initially with previously captured and saved constant echo path models represented by default coefficients, and then continue to converge toward the complete echo channel models. This results in faster convergence time, and more stability as the main, strongest echo reflections will already be cancelled using the default coefficient models.
Thus, according to copending Patent Canadian Patent Application No.
3o 2,291,428, a method is provided for improving the start-up convergence time of the LEC filter, thereby resulting in a total reduced convergence time for the speakerphone. This method is based on capturing the LEC coefficients once the LEC
3 has converged, and saving them as the default coefficients for the next call.
As a result, the echo-canceling algorithm does not have to wait for a suitable reference signal to commence convergence. At start-up, the echo canceller immediately begins cancelling the line echo, based on the previously stored LEC coefficients, thereby assisting the AEC
algorithm by eliminating residual line echo from the acoustic signal which the AEC
algorithm is required to converge to, and initially making the speakerphone loop more stable. As indicated above, the same principle may also be applied to the AEC
for direct acoustic coupling or coupling through the speakerphone housing plastic, which is always the same for a given phone. The default coefficients in this case represent the constant acoustic echo path from loudspeaker to microphone and may be reused for each new call.
At start-up, the AEC immediately starts canceling the echo caused by direct acoustic coupling, while converging toward the complete acoustic echo path model that represents the combination of direct coupling and the specific room echo response.
The principle of saving default coefficients may also be applied to multiple loudspeaker-to-microphone echo paths for multiple-microphone directional systems, or even loudspeaker-to-beam echo paths for beamforming-based systems that perform echo cancellation on the output signal of a beamformer. In these cases, default coefficients can be reused from one instance to the next in each different direction (e.g.
angular sectors).
In order for such systems to work properly, the coefficients must be saved at appropriate times. If they are saved at arbitrary instants (e.g. at the end of a call), then there is a risk that the full-duplex echo cancellation algorithm will not be in a well-converged state at the instant of saving the coefficients. For example, the echo cancellation algorithm may be in the process of adapting to an echo path change related to the user moving his/her hand towards the telephone to press a button for ending the call.
Saving the default coefficients in this case and reusing them at a later stage (e.g. for the next call) may result in poor echo canceller performance until it reconverges to a set of "good" coefficients.
As a result, the echo-canceling algorithm does not have to wait for a suitable reference signal to commence convergence. At start-up, the echo canceller immediately begins cancelling the line echo, based on the previously stored LEC coefficients, thereby assisting the AEC
algorithm by eliminating residual line echo from the acoustic signal which the AEC
algorithm is required to converge to, and initially making the speakerphone loop more stable. As indicated above, the same principle may also be applied to the AEC
for direct acoustic coupling or coupling through the speakerphone housing plastic, which is always the same for a given phone. The default coefficients in this case represent the constant acoustic echo path from loudspeaker to microphone and may be reused for each new call.
At start-up, the AEC immediately starts canceling the echo caused by direct acoustic coupling, while converging toward the complete acoustic echo path model that represents the combination of direct coupling and the specific room echo response.
The principle of saving default coefficients may also be applied to multiple loudspeaker-to-microphone echo paths for multiple-microphone directional systems, or even loudspeaker-to-beam echo paths for beamforming-based systems that perform echo cancellation on the output signal of a beamformer. In these cases, default coefficients can be reused from one instance to the next in each different direction (e.g.
angular sectors).
In order for such systems to work properly, the coefficients must be saved at appropriate times. If they are saved at arbitrary instants (e.g. at the end of a call), then there is a risk that the full-duplex echo cancellation algorithm will not be in a well-converged state at the instant of saving the coefficients. For example, the echo cancellation algorithm may be in the process of adapting to an echo path change related to the user moving his/her hand towards the telephone to press a button for ending the call.
Saving the default coefficients in this case and reusing them at a later stage (e.g. for the next call) may result in poor echo canceller performance until it reconverges to a set of "good" coefficients.
4 As indicated above, the system set forth in Canadian Patent Application No.
2,291,428 tracks the degree of convergence of the full-duplex algorithm, and saves the default coefficients each time the convergence reaches a predetermined level.
In one embodiment, the amount of echo actually cancelled by the algorithm is measured, and the coefficients are saved each time this amount increases by 3dB from the previous save. One problem with this method is that if the full-duplex algorithm is subjected to narrow-band signals (e.g. in-band tones that are not detected fast enough), then it may reach excellent levels of convergence with coefficients that are very different from the useful wide-band echo-path coefficients. In such situations the system may never reach as good a level of convergence again with a wider-band signal, such that proper coefficients are never captured. This may result in annoying echo bursts for the far-end user each time these coefficients are used (for instance, at the beginning of each subsequent call). Another problem is that if the telephone is moved to a different location on a desk, where the direct echo path is more difficult to adapt to, then it may never be able to capture coefficients corresponding to its new location. It may therefore constantly reuse coefficients that do not correspond to those characterizing the real echo path, resulting in mediocre echo cancellation until the algorithm has a chance to re-converge to the real echo path.
SummarX of the Invention According to the present invention, a method is provided for determining when to save coefficients so as to ensure that the system always captures coefficients that correspond to the best possible echo cancellation in its current condition, and to recover from scenarios where 'bad' default coefficients are captured. Thus, the saving of coefficients occurs at varying times depending on the amount of echo removed by the echo canceller. More particularly, the inventive method involves constantly monitoring the error signal to the echo canceller and comparing it with the error signal that would be obtained if default coefficients were to be used instead of the current coefficients. This ensures that the default coefficients are upgraded each time the current set of coefficients is better than the saved default coefficients.
Brief Description of the Drawings A detailed description of the prior art and of a preferred embodiment of the invention is provided herein below with reference to the following drawings, in
2,291,428 tracks the degree of convergence of the full-duplex algorithm, and saves the default coefficients each time the convergence reaches a predetermined level.
In one embodiment, the amount of echo actually cancelled by the algorithm is measured, and the coefficients are saved each time this amount increases by 3dB from the previous save. One problem with this method is that if the full-duplex algorithm is subjected to narrow-band signals (e.g. in-band tones that are not detected fast enough), then it may reach excellent levels of convergence with coefficients that are very different from the useful wide-band echo-path coefficients. In such situations the system may never reach as good a level of convergence again with a wider-band signal, such that proper coefficients are never captured. This may result in annoying echo bursts for the far-end user each time these coefficients are used (for instance, at the beginning of each subsequent call). Another problem is that if the telephone is moved to a different location on a desk, where the direct echo path is more difficult to adapt to, then it may never be able to capture coefficients corresponding to its new location. It may therefore constantly reuse coefficients that do not correspond to those characterizing the real echo path, resulting in mediocre echo cancellation until the algorithm has a chance to re-converge to the real echo path.
SummarX of the Invention According to the present invention, a method is provided for determining when to save coefficients so as to ensure that the system always captures coefficients that correspond to the best possible echo cancellation in its current condition, and to recover from scenarios where 'bad' default coefficients are captured. Thus, the saving of coefficients occurs at varying times depending on the amount of echo removed by the echo canceller. More particularly, the inventive method involves constantly monitoring the error signal to the echo canceller and comparing it with the error signal that would be obtained if default coefficients were to be used instead of the current coefficients. This ensures that the default coefficients are upgraded each time the current set of coefficients is better than the saved default coefficients.
Brief Description of the Drawings A detailed description of the prior art and of a preferred embodiment of the invention is provided herein below with reference to the following drawings, in
5 which:
Figure 1 is a block diagram of a prior art speakerphone echo canceller structure;
Figure 2 is a flow chart showing the steps of the echo cancellation method according to Applicant's own prior art; and Figure 3 is a block diagram showing an adaptive filter structure for implementing a method of triggering capture of coefficients according to the present invention.
Detailed Description of Prior Art and Preferred Embodiment As discussed briefly above, a speakerphone echo canceller comprises two adaptive filters which attempt to converge to two different echo models (acoustic and network echo) at the same time. As a result, speakerphones can easily become unstable, especially during start-up.
A traditional speakerphone echo canceller is shown in Figurel, wherein essential speakerphone components which are not related to echo cancellation have been omitted for clarity (e.g. double talk detector, non-linear processor, etc.) and are not addressed herein since they are not germane to the invention. The echo canceller attempts to model the transfer function of the echo path by means of an LEC
filter and an AEC filter. The received signal (line or acoustic) is applied to the input of each filter (LEC and AEC) and to the associated echo path (network or acoustic) such that the estimated echo can be canceled by simply subtracting the signal which passes through each echo canceller from the received signal. If the transfer function of the
Figure 1 is a block diagram of a prior art speakerphone echo canceller structure;
Figure 2 is a flow chart showing the steps of the echo cancellation method according to Applicant's own prior art; and Figure 3 is a block diagram showing an adaptive filter structure for implementing a method of triggering capture of coefficients according to the present invention.
Detailed Description of Prior Art and Preferred Embodiment As discussed briefly above, a speakerphone echo canceller comprises two adaptive filters which attempt to converge to two different echo models (acoustic and network echo) at the same time. As a result, speakerphones can easily become unstable, especially during start-up.
A traditional speakerphone echo canceller is shown in Figurel, wherein essential speakerphone components which are not related to echo cancellation have been omitted for clarity (e.g. double talk detector, non-linear processor, etc.) and are not addressed herein since they are not germane to the invention. The echo canceller attempts to model the transfer function of the echo path by means of an LEC
filter and an AEC filter. The received signal (line or acoustic) is applied to the input of each filter (LEC and AEC) and to the associated echo path (network or acoustic) such that the estimated echo can be canceled by simply subtracting the signal which passes through each echo canceller from the received signal. If the transfer function of the
6 model of the echo path is exactly the same as the transfer function of the echo path, the echo signal component is completely canceled (i.e. the error signal will be zero). The error signal is used for adaptation, so that the echo canceller converges to the correct transfer function, as discussed briefly above.
Typically, an algorithm such as the NLMS (Normalized-Least-Mean-Squared) algorithm is used to approximate the echo path (see "C261(UNIC) DSP Re-engineering and Performance Report" Mitel Semiconductor, Document No. C261 AP 13, Oct.
21,1996).
From Figure 1 it will be appreciated that the residual echo after imperfect cancellation by the LEC will pass to the AEC reference signal. Since this residual echo is not correlated to the AEC received signal, this can cause the AEC filter to diverge. The extent to which AEC filter diverges depends on the level of the residual line echo. If the line echo is sufficiently canceled, its effect on the AEC behavior will be negligible.
Echo Return Loss Enhancement (ERLE) is an indicator of the amount of echo removed by an echo canceller. The ERLE is defined as:
ERLE(dB)=101 o g 10 [Power(ReceivedS ignal)/Power(ErrorS ignal)];
A generally acceptable LEC convergence time requires that the echo canceller achieve 27dB of ERLE in 0.5 sec (in ideal conditions).
Since the telephone is always connected to the same local loop (i.e. to the near-end Central Office (CO) or PBX), the impedance of the local loop remains the same for each call and consequently the near-end echoes remain fairly constant, from call to call.
Accordingly, the local loop echo coefficients can be stored and re-used from call to call, thereby improving the start-up ERLE of the LEC. Furthermore, since the direct acoustic coupling through the plastic from loudspeaker to microphone is constant for a given phone, the coefficients representing this part of the acoustic echo
Typically, an algorithm such as the NLMS (Normalized-Least-Mean-Squared) algorithm is used to approximate the echo path (see "C261(UNIC) DSP Re-engineering and Performance Report" Mitel Semiconductor, Document No. C261 AP 13, Oct.
21,1996).
From Figure 1 it will be appreciated that the residual echo after imperfect cancellation by the LEC will pass to the AEC reference signal. Since this residual echo is not correlated to the AEC received signal, this can cause the AEC filter to diverge. The extent to which AEC filter diverges depends on the level of the residual line echo. If the line echo is sufficiently canceled, its effect on the AEC behavior will be negligible.
Echo Return Loss Enhancement (ERLE) is an indicator of the amount of echo removed by an echo canceller. The ERLE is defined as:
ERLE(dB)=101 o g 10 [Power(ReceivedS ignal)/Power(ErrorS ignal)];
A generally acceptable LEC convergence time requires that the echo canceller achieve 27dB of ERLE in 0.5 sec (in ideal conditions).
Since the telephone is always connected to the same local loop (i.e. to the near-end Central Office (CO) or PBX), the impedance of the local loop remains the same for each call and consequently the near-end echoes remain fairly constant, from call to call.
Accordingly, the local loop echo coefficients can be stored and re-used from call to call, thereby improving the start-up ERLE of the LEC. Furthermore, since the direct acoustic coupling through the plastic from loudspeaker to microphone is constant for a given phone, the coefficients representing this part of the acoustic echo
7 path can also be stored and re-used from call to call, thereby improving the start-up ERLE of the AEC.
Thus, with reference to the flowchart of Figure 2, which shows operation of the method set forth in Canadian Patent Application No. 2,291,428, after start-up of the echo canceller (Step 200), any previously stored default LEC coefficients are loaded into the LEC. Although Canadian Patent Application No. 2,291,428 refers only to default coefficients being saved for the LEC, as indicated above the same principles apply to the AEC coefficients. Thus, the LEC (and/or AEC) begin(s) convergence using the well known NLMS algorithm (or other). On initial power-up of the speakerphone (i.e. prior to placing the first call), the initial coefficients are zero. Thus, the first call after power-up will always be a "training" call that results in capturing a suitable set of default coefficients for future calls. Next, at step 201,the "Call"
proceeds. Signal levels of the LEC (and/or AEC) received signal and error signal are detected (step 203) and the ERLE is calculated using the formula set forth above (step 205). When a predetermined ERLE threshold level (Th) is reached (e.g. at least 24dB
of echo is canceled), as calculated at step 207, and provided that the best LEC (and/or AEC) coefficients have not been previously saved during the call-in-progress (step 209), then the LEC (and/or AEC) coefficients of the (near) constant echo path are saved (step 211). Convergence of the LEC (and/or AEC) then proceeds as per usual and the call is completed (step 213). Once saved, the default coefficients are not recalculated again for the duration of the call (i.e. a YES decision at step 209).
However, the LEC (and/or AEC) default coefficients will be calculated once per each call to ensure the best default set is captured for the next call.
At start-up of the next call, the previously stored LEC (and/or AEC) coefficients are retrieved and used as the default coefficient set for the LEC
(and/or AEC) (step 200), instead of starting from zero.
The following pseudo code illustrates the principles of the above method in greater detail, wherein "EC" is used to indicate both the LEC and AEC:
Thus, with reference to the flowchart of Figure 2, which shows operation of the method set forth in Canadian Patent Application No. 2,291,428, after start-up of the echo canceller (Step 200), any previously stored default LEC coefficients are loaded into the LEC. Although Canadian Patent Application No. 2,291,428 refers only to default coefficients being saved for the LEC, as indicated above the same principles apply to the AEC coefficients. Thus, the LEC (and/or AEC) begin(s) convergence using the well known NLMS algorithm (or other). On initial power-up of the speakerphone (i.e. prior to placing the first call), the initial coefficients are zero. Thus, the first call after power-up will always be a "training" call that results in capturing a suitable set of default coefficients for future calls. Next, at step 201,the "Call"
proceeds. Signal levels of the LEC (and/or AEC) received signal and error signal are detected (step 203) and the ERLE is calculated using the formula set forth above (step 205). When a predetermined ERLE threshold level (Th) is reached (e.g. at least 24dB
of echo is canceled), as calculated at step 207, and provided that the best LEC (and/or AEC) coefficients have not been previously saved during the call-in-progress (step 209), then the LEC (and/or AEC) coefficients of the (near) constant echo path are saved (step 211). Convergence of the LEC (and/or AEC) then proceeds as per usual and the call is completed (step 213). Once saved, the default coefficients are not recalculated again for the duration of the call (i.e. a YES decision at step 209).
However, the LEC (and/or AEC) default coefficients will be calculated once per each call to ensure the best default set is captured for the next call.
At start-up of the next call, the previously stored LEC (and/or AEC) coefficients are retrieved and used as the default coefficient set for the LEC
(and/or AEC) (step 200), instead of starting from zero.
The following pseudo code illustrates the principles of the above method in greater detail, wherein "EC" is used to indicate both the LEC and AEC:
8 Power-up: Default coefficients = [000...0];
Start Call: EC_coefficients = Default_coefficients;
Call:
Execute EC algorithm;
Calculate power level of received signal ;
Calculate power level of error signal;
If (ERLE > Threshold) AND ( Best default set not saved) Save near echo coefficients If Not(End of the Call) Go to Call;
If New Call Go to StartCall;
Thus, each call subsequent to the initial power-up "training" call is provided with default coefficients that model the network and acoustic echo paths and guarantee small LEC and AEC error. This improves the training and tracking characteristic of the Full Duplex Handsfree Speakerphone (FDHF) and elirninates feedback during start-up. The best results are achieved when the training call uses a handset since there is no AEC-LEC loop instability and the LEC and AEC can therefore converge quickly.
According to the present invention, and in contrast with Applicant's prior method as set forth in Canadian Patent Application No. 2,291,428, instead of fixing the threshold ERLE at a value of 24 dB, the coefficients are captured and saved whenever there is an improvement in ERLE over a constantly increasing threshold value. In addition to this, the present invention constantly controls whether the saved set of the default coefficients is still valid. As shown in Figure 3, this is accomplished by continuously monitoring the error signal output from the subtractor (i.e.
input signal - echo current output from echo canceller) and comparing it to the error signal that would be obtained based on the default set of coefficients (i.e. input signal -echo_saved, depicted in Figure 3 using stippled lines). If the monitored error signal is less than that calculated using the default set of coefficients, then the current set of coefficients are saved as the new default set.
The following pseudo-code sets forth the method of the present invention in greater detail:
Start Call: EC_coefficients = Default_coefficients;
Call:
Execute EC algorithm;
Calculate power level of received signal ;
Calculate power level of error signal;
If (ERLE > Threshold) AND ( Best default set not saved) Save near echo coefficients If Not(End of the Call) Go to Call;
If New Call Go to StartCall;
Thus, each call subsequent to the initial power-up "training" call is provided with default coefficients that model the network and acoustic echo paths and guarantee small LEC and AEC error. This improves the training and tracking characteristic of the Full Duplex Handsfree Speakerphone (FDHF) and elirninates feedback during start-up. The best results are achieved when the training call uses a handset since there is no AEC-LEC loop instability and the LEC and AEC can therefore converge quickly.
According to the present invention, and in contrast with Applicant's prior method as set forth in Canadian Patent Application No. 2,291,428, instead of fixing the threshold ERLE at a value of 24 dB, the coefficients are captured and saved whenever there is an improvement in ERLE over a constantly increasing threshold value. In addition to this, the present invention constantly controls whether the saved set of the default coefficients is still valid. As shown in Figure 3, this is accomplished by continuously monitoring the error signal output from the subtractor (i.e.
input signal - echo current output from echo canceller) and comparing it to the error signal that would be obtained based on the default set of coefficients (i.e. input signal -echo_saved, depicted in Figure 3 using stippled lines). If the monitored error signal is less than that calculated using the default set of coefficients, then the current set of coefficients are saved as the new default set.
The following pseudo-code sets forth the method of the present invention in greater detail:
9 System Initialization: Default coefficients=zeros;
Start_Call: EC_coefficients = Default_coefficients;
Call:
Execute EC adaptation algorithm;
Calculate error = input signal - echo_current;
Calculate power level of received signal (Es);
Calculate power level of error signal (Ee);
Calculate ERLE as function of (Ee/Es);
If (ERLE > Threshold) Save: Save Default_coefficients Threshold= Threshold+ERLE_thr; /* Increase the ERLE requirement by ERLE_thr dB*/
End if Check is executed HERE.
If Not(End of the Call) Go to Call;
If New Call Go to Start_Call;
The foregoing is similar to the "Call" method set forth above with reference to Figure 2. The following "Check" algorithm ensures that the saved default coefficients are correct, according to the method of the present invention:
Check:
Calculate error_saved = input signal - echo_saved; /*Calculate error_saved using saved /* default coefficients and rest of */
/* coefficients in EC filter;
Calculate power level of error_saved signal (Ee_saved);
If (Ee < Ee_saved/ Error_thr) /* Current coefficients are better than saved by Error_thr dB*/
{
Counter++;
If (Counter = Time_threshold) {
Counter =0;
Save Default_coefficients;
}
}
Else {
Counter = Counter - DecThr; OR Counter-0;
}
Thus, with each executions of the "Save" algorithm, the threshold is incremented until it reaches its maximum value for a given speakerphone. Then, the "Check" algorithm is used to correct or overwrite the default coefficients in the event that they have been incorrectly determined using the "Save" algorithm (e.g.
due to narrow band training signal, phone being moved to a different location, etc.) Setting the ERLE_thr to be the same value as Error_thr , ensures that the "Save"
algorithm results in saving the default coefficients while incrementing the threshold, and the "Check"
algorithm re-saves the default coefficients only if the previously saved coefficients are no longer correct. In other words, the "Save" algorithm captures default coefficients whereas the "Check" algorithm verifies the saved coefficients.
According to the preferred embodiment, ERLE thr = 6dB, Error thr = 6db, and Time threshold = 2400 samples or 300 ms.
Other embodiments and applications of the invention are possible. For example, 5 this algorithm with some variations may also be implemented for the AEC
filter to capture the acoustic feedback through the plastic, which will be constant for the specific phone design. All such variations and modifications are believed to be within the sphere and scope of the invention as set forth in the claims appended hereto.
Start_Call: EC_coefficients = Default_coefficients;
Call:
Execute EC adaptation algorithm;
Calculate error = input signal - echo_current;
Calculate power level of received signal (Es);
Calculate power level of error signal (Ee);
Calculate ERLE as function of (Ee/Es);
If (ERLE > Threshold) Save: Save Default_coefficients Threshold= Threshold+ERLE_thr; /* Increase the ERLE requirement by ERLE_thr dB*/
End if Check is executed HERE.
If Not(End of the Call) Go to Call;
If New Call Go to Start_Call;
The foregoing is similar to the "Call" method set forth above with reference to Figure 2. The following "Check" algorithm ensures that the saved default coefficients are correct, according to the method of the present invention:
Check:
Calculate error_saved = input signal - echo_saved; /*Calculate error_saved using saved /* default coefficients and rest of */
/* coefficients in EC filter;
Calculate power level of error_saved signal (Ee_saved);
If (Ee < Ee_saved/ Error_thr) /* Current coefficients are better than saved by Error_thr dB*/
{
Counter++;
If (Counter = Time_threshold) {
Counter =0;
Save Default_coefficients;
}
}
Else {
Counter = Counter - DecThr; OR Counter-0;
}
Thus, with each executions of the "Save" algorithm, the threshold is incremented until it reaches its maximum value for a given speakerphone. Then, the "Check" algorithm is used to correct or overwrite the default coefficients in the event that they have been incorrectly determined using the "Save" algorithm (e.g.
due to narrow band training signal, phone being moved to a different location, etc.) Setting the ERLE_thr to be the same value as Error_thr , ensures that the "Save"
algorithm results in saving the default coefficients while incrementing the threshold, and the "Check"
algorithm re-saves the default coefficients only if the previously saved coefficients are no longer correct. In other words, the "Save" algorithm captures default coefficients whereas the "Check" algorithm verifies the saved coefficients.
According to the preferred embodiment, ERLE thr = 6dB, Error thr = 6db, and Time threshold = 2400 samples or 300 ms.
Other embodiments and applications of the invention are possible. For example, 5 this algorithm with some variations may also be implemented for the AEC
filter to capture the acoustic feedback through the plastic, which will be constant for the specific phone design. All such variations and modifications are believed to be within the sphere and scope of the invention as set forth in the claims appended hereto.
Claims (3)
1. A method of updating a set of default coefficients used for quick convergence of an echo canceller, wherein said echo canceller receives a reference signal and converges to an estimated echo signal of an input signal according to a current set of filter coefficients representing an echo path via feedback of a current error signal, said method including:
a) applying said default coefficients representing a constant part of the echo path to said echo canceller for generating a further echo signal;
b) subtracting said further echo signal from said input signal to generate a further error signal; and c) comparing said current error signal with said further error signal and in the event said further error signal exceeds said current error signal by a threshold amount then replacing said set of default coefficients by said current set of filter coefficients.
a) applying said default coefficients representing a constant part of the echo path to said echo canceller for generating a further echo signal;
b) subtracting said further echo signal from said input signal to generate a further error signal; and c) comparing said current error signal with said further error signal and in the event said further error signal exceeds said current error signal by a threshold amount then replacing said set of default coefficients by said current set of filter coefficients.
2. The method of claim 1, wherein said threshold amount is 6dB.
3. The method of claim 1, wherein said set of default coefficients is replaced by said current set of filter coefficients only if said further error signal continuously exceeds said current error signal by said threshold amount for at least 300 ms.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB0227885A GB2395878A (en) | 2002-11-29 | 2002-11-29 | Method of capturing constant echo path information using default coefficients |
GB0227885.1 | 2002-11-29 |
Publications (2)
Publication Number | Publication Date |
---|---|
CA2451417A1 CA2451417A1 (en) | 2004-05-29 |
CA2451417C true CA2451417C (en) | 2007-06-26 |
Family
ID=9948777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA002451417A Expired - Lifetime CA2451417C (en) | 2002-11-29 | 2003-11-28 | Method of capturing constant echo path information in a full duplex speakerphone using default coefficients |
Country Status (4)
Country | Link |
---|---|
US (1) | US7187765B2 (en) |
EP (1) | EP1424846B1 (en) |
CA (1) | CA2451417C (en) |
GB (1) | GB2395878A (en) |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1708472B1 (en) * | 2005-04-01 | 2007-12-05 | Mitel Networks Corporation | A method of accelerating the training of an acoustic echo canceller in a full-duplex beamforming-based audio conferencing system |
EP1796281B1 (en) | 2005-12-09 | 2015-08-12 | Mitel Networks Corporation | Echo canceller |
US8873742B1 (en) * | 2006-03-15 | 2014-10-28 | Sprint Communications Company L.P. | Echo canceller auditor |
US8565416B2 (en) * | 2006-03-17 | 2013-10-22 | Cisco Technology, Inc. | Cache-based echo canceller |
US8320574B2 (en) | 2006-04-20 | 2012-11-27 | Hewlett-Packard Development Company, L.P. | Methods and systems for reducing acoustic echoes in communication systems |
US7817797B2 (en) * | 2006-06-07 | 2010-10-19 | Mitel Networks Corporation | Method and apparatus for detecting echo path changes in an acoustic echo canceller |
US8411847B2 (en) * | 2008-06-10 | 2013-04-02 | Conexant Systems, Inc. | Acoustic echo canceller |
JP2010081004A (en) * | 2008-09-24 | 2010-04-08 | Nec Electronics Corp | Echo canceler, communication apparatus and echo canceling method |
GB201309779D0 (en) * | 2013-05-31 | 2013-07-17 | Microsoft Corp | Echo removal |
GB201309773D0 (en) | 2013-05-31 | 2013-07-17 | Microsoft Corp | Echo removal |
US9191494B1 (en) * | 2015-04-06 | 2015-11-17 | Captioncall, Llc | Device, system, and method for performing echo cancellation in different modes of a communication device |
US9554207B2 (en) | 2015-04-30 | 2017-01-24 | Shure Acquisition Holdings, Inc. | Offset cartridge microphones |
US9565493B2 (en) | 2015-04-30 | 2017-02-07 | Shure Acquisition Holdings, Inc. | Array microphone system and method of assembling the same |
US10367948B2 (en) | 2017-01-13 | 2019-07-30 | Shure Acquisition Holdings, Inc. | Post-mixing acoustic echo cancellation systems and methods |
EP3804356A1 (en) | 2018-06-01 | 2021-04-14 | Shure Acquisition Holdings, Inc. | Pattern-forming microphone array |
US11297423B2 (en) | 2018-06-15 | 2022-04-05 | Shure Acquisition Holdings, Inc. | Endfire linear array microphone |
WO2020061353A1 (en) | 2018-09-20 | 2020-03-26 | Shure Acquisition Holdings, Inc. | Adjustable lobe shape for array microphones |
EP3942842A1 (en) | 2019-03-21 | 2022-01-26 | Shure Acquisition Holdings, Inc. | Housings and associated design features for ceiling array microphones |
TW202044236A (en) | 2019-03-21 | 2020-12-01 | 美商舒爾獲得控股公司 | Auto focus, auto focus within regions, and auto placement of beamformed microphone lobes with inhibition functionality |
US11558693B2 (en) | 2019-03-21 | 2023-01-17 | Shure Acquisition Holdings, Inc. | Auto focus, auto focus within regions, and auto placement of beamformed microphone lobes with inhibition and voice activity detection functionality |
EP3973716A1 (en) | 2019-05-23 | 2022-03-30 | Shure Acquisition Holdings, Inc. | Steerable speaker array, system, and method for the same |
JP2022535229A (en) | 2019-05-31 | 2022-08-05 | シュアー アクイジッション ホールディングス インコーポレイテッド | Low latency automixer integrated with voice and noise activity detection |
CN114467312A (en) | 2019-08-23 | 2022-05-10 | 舒尔获得控股公司 | Two-dimensional microphone array with improved directivity |
US12028678B2 (en) | 2019-11-01 | 2024-07-02 | Shure Acquisition Holdings, Inc. | Proximity microphone |
US11552611B2 (en) | 2020-02-07 | 2023-01-10 | Shure Acquisition Holdings, Inc. | System and method for automatic adjustment of reference gain |
WO2021243368A2 (en) | 2020-05-29 | 2021-12-02 | Shure Acquisition Holdings, Inc. | Transducer steering and configuration systems and methods using a local positioning system |
WO2022165007A1 (en) | 2021-01-28 | 2022-08-04 | Shure Acquisition Holdings, Inc. | Hybrid audio beamforming system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5631900A (en) * | 1995-09-29 | 1997-05-20 | Crystal Semiconductor | Double-Talk detector for echo canceller |
SE505150C3 (en) * | 1995-10-18 | 1997-08-04 | Ericsson Telefon Ab L M | Adaptive dual filter echo leakage procedure |
FI104524B (en) * | 1997-04-18 | 2000-02-15 | Nokia Mobile Phones Ltd | An echo cancellation system and method and a mobile station |
US6266409B1 (en) * | 1997-11-14 | 2001-07-24 | Tellabs Operations, Inc. | Echo canceller employing dual-H architecture having improved double-talk detection |
GB2344500B (en) * | 1998-12-02 | 2003-06-25 | Mitel Corp | Improved method of operating a full duplex speakerphone echo canceller |
JP2001016142A (en) | 1999-07-01 | 2001-01-19 | Matsushita Electric Ind Co Ltd | Method and device for canceling echo and program recording medium |
US6865270B1 (en) * | 2000-09-21 | 2005-03-08 | Rane Corporation | Echo cancellation method and apparatus |
-
2002
- 2002-11-29 GB GB0227885A patent/GB2395878A/en not_active Withdrawn
-
2003
- 2003-11-28 US US10/722,472 patent/US7187765B2/en not_active Expired - Lifetime
- 2003-11-28 CA CA002451417A patent/CA2451417C/en not_active Expired - Lifetime
- 2003-11-28 EP EP03257532A patent/EP1424846B1/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
US7187765B2 (en) | 2007-03-06 |
EP1424846A2 (en) | 2004-06-02 |
EP1424846A3 (en) | 2005-01-26 |
US20040125944A1 (en) | 2004-07-01 |
CA2451417A1 (en) | 2004-05-29 |
GB0227885D0 (en) | 2003-01-08 |
EP1424846B1 (en) | 2012-04-04 |
GB2395878A (en) | 2004-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2451417C (en) | Method of capturing constant echo path information in a full duplex speakerphone using default coefficients | |
US6434110B1 (en) | Full-duplex speakerphone circuit including a double-talk detector | |
US6282176B1 (en) | Full-duplex speakerphone circuit including a supplementary echo suppressor | |
US6212273B1 (en) | Full-duplex speakerphone circuit including a control interface | |
TW494669B (en) | Improved system and method for implementation of an echo canceller | |
US8374851B2 (en) | Voice activity detector and method | |
US5631900A (en) | Double-Talk detector for echo canceller | |
CA2246865C (en) | Nonlinear processor for acoustic echo canceller | |
US6532289B1 (en) | Method and device for echo suppression | |
WO2007072650A1 (en) | Echo canceller | |
CN1868137B (en) | Echo canceler | |
JPH06204916A (en) | Remaining echo controller | |
CA2291428C (en) | Improved method of operating a full duplex speakerphone echo canceller | |
JP3406590B2 (en) | Voice communication apparatus and echo processing processor | |
US7613291B1 (en) | Echo path change detection using dual sparse filtering | |
KR19980086461A (en) | Hand-free phone | |
US7539300B1 (en) | Echo canceller with enhanced infinite and finite ERL detection | |
WO2006096231A2 (en) | Fast echo canceller reconvergence after tdm slips and echo level changes | |
US7221755B2 (en) | Method of capturing constant echo path information in a full duplex speakerphone | |
EP1367736A1 (en) | Echo canceller | |
US7433462B2 (en) | Techniques for improving telephone audio quality | |
JP5712350B2 (en) | Loudspeaker | |
US8737601B2 (en) | Echo canceller | |
CA2414636C (en) | Method of capturing constant echo path information in a full duplex speakerphone | |
US20050249347A1 (en) | Non stationary echo canceller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request | ||
MKEX | Expiry |
Effective date: 20231128 |