WO1998028857A1 - Double talk and echo path change detection in a telephony system - Google Patents

Double talk and echo path change detection in a telephony system Download PDF

Info

Publication number
WO1998028857A1
WO1998028857A1 PCT/SE1997/002076 SE9702076W WO9828857A1 WO 1998028857 A1 WO1998028857 A1 WO 1998028857A1 SE 9702076 W SE9702076 W SE 9702076W WO 9828857 A1 WO9828857 A1 WO 9828857A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
echo
double talk
echo path
path change
Prior art date
Application number
PCT/SE1997/002076
Other languages
French (fr)
Inventor
Tonu Trump
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
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
Application filed by Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Priority to AU53516/98A priority Critical patent/AU5351698A/en
Priority to PL97334048A priority patent/PL186221B1/en
Priority to JP52867498A priority patent/JP4205169B2/en
Priority to DE69732917T priority patent/DE69732917T2/en
Priority to EP97950543A priority patent/EP0947057B1/en
Priority to CA002275662A priority patent/CA2275662C/en
Priority to BR9713754-5A priority patent/BR9713754A/en
Publication of WO1998028857A1 publication Critical patent/WO1998028857A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/20Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other
    • H04B3/23Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other using a replica of transmitted signal in the time domain, e.g. echo cancellers
    • H04B3/234Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other using a replica of transmitted signal in the time domain, e.g. echo cancellers using double talk detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/08Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
    • H04M9/082Two-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

Definitions

  • the present invention relates in general to the telecommunications field and, in particular, to echo cancellation in telephony systems.
  • Echo is a phenomenon that can occur in a telephony system whenever a portion of transmitted speech signal energy is reflected back to a sender. These reflections are caused by impedance mismatches in analog portions of the telephony network.
  • There can be many different sources of echo such as, for example, a hybrid circuit that converts a 4 -wire line to a 2 -wire line in a Public Switched Telephone Network (PSTN) subscriber interface, or acoustical cross-talk in a mobile radiotelephone.
  • PSTN Public Switched Telephone Network
  • the presence of echo along with a substantial delay can severely degrade the quality of the speech signals being processed.
  • An echo canceller is a device that is commonly used in telephony systems to suppress or remove echoes in long distance traffic.
  • PLMNs Public Land Mobile Networks
  • MSCs mobile services switching centers
  • Echo cancellers are also used in mobile radiotelephones and " andsfree" telephone equipment to compensate for acoustical echoes .
  • a general description of an existing echo cancellation technique can be found in the paper entitled: "A Double Talk Detector Based on Coherence" by Gansler et al, Signal Processing Group, Dept . of Elec . Eng. and Comp . Science, Lund Universi ty, Sweden .
  • FIGURE 1 is a simplified schematic block diagram of a conventional echo canceller (10) .
  • the main component of such an echo canceller is an adaptive finite-impulse- response (FIR) filter 12.
  • FIR finite-impulse- response
  • filter 12 models the impulse response of the echo path.
  • NLP non-linear processor
  • DTD double-talk detector
  • the block denoted by 18 represents the echo source in the telephony system which generates the "desired" signal, y(t), as a function of the "far end” signal, x(t), and the "near end” signal, v(t) .
  • the quality of the echo path estimation made is determined primarily by the step size used in the adaptation algorithm. In order to obtain a small estimation error, a small step size can be used. However, one result of using a small step size is a slow adaptation rate, and fast adaptation is desired during the initial adaptation stages. A practical trade-off is to use a large step size during the initial adaptation stage (for a high adaptation rate) , and after a prescribed period of time, reduce the step size (to obtain a low estimation error) .
  • Double talk is assumed to be present if the "desired" signal level, y L (t), exceeds the maximum “far end” signal level multiplied by the expected hybrid circuit attenuation, inside a window "length” that is equal to the filter "length”. In other words, double talk is assumed to be present if: y L (t) > ⁇ (max)(x L (t),... ,x L (t-N)) (3)
  • Another approach used to solve a double talk problem is to determine if there is any linear dependence between the "far end" and "desired” signals. If there is a large amount of linear dependence between the two signals, it is assumed that the "desired” signal is dominated by echo, and the FIR filter (12) adaptation is advanced. If little or no linear dependence between the two signals is found, then it is assumed that double talk is present and the FIR filter (12) adaptation is inhibited.
  • a double talk detector should be capable of distinguishing between actual double talk and a change in the echo path impulse response (referred to hereafter as "echo path change") .
  • echo path change a change in the echo path impulse response
  • both double talk and echo path changes appear as increases in residual echo power.
  • the two results require opposite adaptation actions. For example, when double talk is present, the adaptation process should be inhibited, but when the echo path is changed, the adaptation rate should be increased so the FIR filter (12) can quickly model the new signal environment.
  • the existing double talk detection approaches do not provide useful information about echo path changes .
  • a double talk and echo path change detector that determines whether a residual signal is dominated by echo or by a "near end" signal. In order to make this determination, a first measure of linear dependency is computed between the residual signal and an echo estimate, and a second measure of linear dependency is computed between the residual signal and a desired signal. The two results are compared with each other, and if they are of about the same order, no further action is needed. However, if the comparison determines that the dependence between the residual signal and the desired signal is much stronger than the dependence between the residual signal and the echo estimate, the present detector assumes that double talk has been detected and an appropriate signal denoting that result is output.
  • the detector assumes that an echo path change has been detected and an appropriate signal denoting that result is output.
  • a reliable and computationally effective method and apparatus are provided to give an echo canceller useful information about double talk and echo path changes that have occurred.
  • FIGURE 1 is a simplified schematic block diagram of a conventional echo canceller
  • FIGURE 2 is a schematic block diagram of a double talk and echo path change detector, which can be used to implement the apparatus and method of the present invention.
  • a double talk and echo path change detector which functions based on making a determination about whether the residual signal, e(t), is dominated by echo or the "near end" signal.
  • a measure of linear dependency is computed between the residual signal, e(t), and the echo estimate, s"(t), on the one side, and between the residual signal, e(t), and the desired signal, y(t), on the other side.
  • the two resulting measurements are then compared with each other, and if they are of about the same order, no further action is taken. However, if the comparison determines that the dependence between e(t) and y(t) is much stronger than the dependence between e(t) and s ⁇ (t) , then double talk is detected. On the other hand, if the dependence between e(t) and y(t) is much weaker than the dependence between e(t) and s ⁇ (t) , then an echo path change is detected. Albeit, these determinations are made only if the signals being processed have a significant amount of power.
  • a linear dependence measurement can be obtained by considering the coherence function, ⁇ 2 xy (f) between the two stationary random processes, x(t) and y(t), which is defined by:
  • S xy (f) l/T*E [X * (f) Y (f) ] is the cross-spectral density between x(t) and y(t), and S xx (f) and S ⁇ f) are the corresponding auto-spectral densities.
  • the coherence function is a measure of a possible linear relationship between the stationary random processes involved, and it is bounded between zero and one. If a perfect linear relationship exists between those stationary random processes for some frequency, then the coherence will be equal to unity at that frequency. If no such linear relationship exists, then the coherence function will be equal to zero.
  • a scalar linear dependence measure can be obtained by computing a mean value for the coherence function.
  • An approach that can be used to detect echo path changes is based on the observation that under the principle of orthogonality, there can be no linear relationship between the residual signal, e(t), and the echo estimate, s ⁇ (t) , if the echo estimate is produced by an optimal estimator and, therefore, the coherence function is equal to zero.
  • the coherence function will be close to zero if the adaptive algorithm is converged.
  • a strong linear relationship will appear between the signals, e(t) and s ⁇ (t) , and therefore, the coherence function will be large.
  • the coherence function will be small. If the "near end" signal is strong, then the residual signal is dominated by the "near end” component, v(t), and the coherence function will be close to unity. Notably, if the FIR filter's coefficients are initialized to zero, then a linear relationship will exist between the residual signal and the desired signal during the initial adaptation stage.
  • test variable (d) In order to detect both double talk and echo path changes, the following test variable (d) can be used:
  • f 1 and f 2 are the borders of the frequency band of interest.
  • the value of the test variable, d will be close to zero during normal operation of the detector
  • FIGURE 2 is a schematic block diagram of a double talk and echo path change detector, which can be used to implement the apparatus and method of the present invention.
  • Detector 100 includes a first coherence measurement unit 102 and second coherence measurement unit 104.
  • First coherence measurement unit 102 computes the linear dependency between the residual signal, e(t), and the echo path estimate, s ⁇ (t).
  • Second coherence measurement unit 104 computes the linear dependency between the residual signal, e(t), and the desired signal, y(t) .
  • the output of each of the two measurement units is compared at comparator 106. This comparison is accomplished in accordance with Equation 5 described above.
  • the output of comparator 106 is coupled to an input of a first test unit 110 and a second test unit 112.
  • First test unit 110 compares the output value (e.g., test variable d) of comparator 106 with a first predetermined threshold level, thl .
  • Second test unit 112 compares the output value (d) of comparator 106 with a second predetermined threshold value, th2.
  • the value of test variable, d is close to zero during a normal operation, and no filter adaptation occurs. If, however, the value of test variable, d, is greater than threshold level thl , then first test unit 110 outputs a signal (preferably to an appropriate stage in echo canceller 12) denoting that double talk has been detected. Consequently, the adaptive algorithm for the FIR filter (12) is inhibited.
  • test variable, d If the value of test variable, d, is less than threshold level th2 , then second test unit 112 outputs a signal (preferably to an appropriate stage in echo canceller 12) denoting that an echo path change has been detected. Consequently, the adaptive algorithm for the FIR filter (12) is advanced.
  • a timer 108 is used to decouple the output of comparator 106 to ensure that the filter adaptation process occurs during the initial test period. For this embodiment, timer 108 is set for about 20 times the "length" of the FIR filter used.
  • the coherence functions can be estimated by replacing the mathematical expectations with time averages, and computing the spectra by using discrete Fourier transforms (or some other orthogonal transform) .
  • the integration performed above in Equation 5 can be replaced by summation over discrete frequencies .
  • the adaptive algorithm computes the coherence functions using an 8 -point Fast Fourier Transform (FFT) .
  • FFT Fast Fourier Transform
  • the present invention is not intended to be limited to any specific FFT value, and any appropriate value (e.g., any other positive value) can be used instead of "8".
  • positive values should be used that allow the use of FFT algorithms (e.g., powers of 2) .
  • time averaging is performed over 64 consecutive transforms, which overlap in seven samples
  • an element of the discrete coherence vector can be defined as:
  • a is a regularization constant, which controls errors in division when the denominator otherwise is small.
  • the regularization constant can be a design variable that allows a measure of control over the detector's sensitivity.
  • the value of the regularization constant is preferably comparable to the fourth power of the signal levels expected.
  • Equation 9 results from an element-wise division of vectors, the elements of which have dimensions of the fourth powers of the corresponding signals. In other words, the dynamic range of these elements is four times greater than that of the signals involved. This result may be undesirable if the above-described math is to be implemented with fixed point arithmetic. Consequently, the following normalization vector may be used instead:
  • the value of the regularization constant, a, should be selected to be comparable to the power levels of the signals expected to be involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

A double talk and echo path change detector (100) is provided for use in an echo canceller (10) that makes a determination about whether a residual signal is dominated by echo or by a 'near end' signal. In order to make this determination, a first measure of linear dependency is computed between the residual signal and an echo estimate, and a second measure of linear dependency is computed between the residual signal and a desired signal. The two results are compared with each other, and if they are of about the same order, no further action is needed. However, if the comparison determines that the dependence between the residual signal and the desired signal is much stronger than the dependence between the residual signal and the echo estimate, the present detector (100) assumes that double talk has been detected and a signal denoting that result is output. On the other hand, if the dependence between the residual signal and the desired signal is much weaker than the dependence between the residual signal and the echo estimate, the detector (100) assumes that an echo path change has been detected and a signal denoting that result is output. As such, a reliable and computationally effective method and apparatus are provided to give the echo canceller (10) useful information about double talk and echo path changes that have occurred.

Description

DOUBLE TALK AND ECHO PATH CHANGE DETECTION IN A TELEPHONY SYSTEM
BACKGROUND OF THE INVENTION Technical Field of the Invention
The present invention relates in general to the telecommunications field and, in particular, to echo cancellation in telephony systems.
Description of Related Art
"Echo" is a phenomenon that can occur in a telephony system whenever a portion of transmitted speech signal energy is reflected back to a sender. These reflections are caused by impedance mismatches in analog portions of the telephony network. There can be many different sources of echo, such as, for example, a hybrid circuit that converts a 4 -wire line to a 2 -wire line in a Public Switched Telephone Network (PSTN) subscriber interface, or acoustical cross-talk in a mobile radiotelephone. The presence of echo along with a substantial delay (e.g., physical distance or processing delay) can severely degrade the quality of the speech signals being processed.
An echo canceller is a device that is commonly used in telephony systems to suppress or remove echoes in long distance traffic. For example, in cellular Public Land Mobile Networks (PLMNs) , echo cancellers are used in mobile services switching centers (MSCs) to suppress or remove echoes in speech traffic. Echo cancellers are also used in mobile radiotelephones and " andsfree" telephone equipment to compensate for acoustical echoes . A general description of an existing echo cancellation technique can be found in the paper entitled: "A Double Talk Detector Based on Coherence" by Gansler et al, Signal Processing Group, Dept . of Elec . Eng. and Comp . Science, Lund Universi ty, Sweden .
FIGURE 1 is a simplified schematic block diagram of a conventional echo canceller (10) . The main component of such an echo canceller is an adaptive finite-impulse- response (FIR) filter 12. Under the control of an adaptation algorithm (e.g., in software), filter 12 models the impulse response of the echo path. A non-linear processor (NLP) 14 is used to remove residual echo that may remain after linear processing of the input signal. A double-talk detector (DTD) 16 is used to control and inhibit the adaptation process, when the echo signal to "near end" signal ratio is of such a value that no additional improvement in the echo path estimation can be obtained by further adaptation of filter 12. The block denoted by 18 represents the echo source in the telephony system which generates the "desired" signal, y(t), as a function of the "far end" signal, x(t), and the "near end" signal, v(t) . The quality of the echo path estimation made is determined primarily by the step size used in the adaptation algorithm. In order to obtain a small estimation error, a small step size can be used. However, one result of using a small step size is a slow adaptation rate, and fast adaptation is desired during the initial adaptation stages. A practical trade-off is to use a large step size during the initial adaptation stage (for a high adaptation rate) , and after a prescribed period of time, reduce the step size (to obtain a low estimation error) .
Any one of a number of existing approaches can be used to solve a double talk detection problem. A standard approach uses an algorithm based on a comparison of signal levels between the "far end" signal, x(t), and the "desired" signal, y(t), shown in FIGURE 1. These signal levels, xL and y, can be measured by an exponential "windowing" technique and expressed as: xL(t+\)=(l -τ)xL(t)+τ |x(t)| (1) yL(t+\ (\ -τ)yL(t)+τ \y(t)\ (2)
Double talk is assumed to be present if the "desired" signal level, yL(t), exceeds the maximum "far end" signal level multiplied by the expected hybrid circuit attenuation, inside a window "length" that is equal to the filter "length". In other words, double talk is assumed to be present if: yL(t) > α(max)(xL(t),... ,xL(t-N)) (3)
Typically, a hybrid circuit with 6 dB attenuation is assumed, so α is equal to .
Another approach used to solve a double talk problem is to determine if there is any linear dependence between the "far end" and "desired" signals. If there is a large amount of linear dependence between the two signals, it is assumed that the "desired" signal is dominated by echo, and the FIR filter (12) adaptation is advanced. If little or no linear dependence between the two signals is found, then it is assumed that double talk is present and the FIR filter (12) adaptation is inhibited.
An important performance characteristic of a double talk detector is that it should be capable of distinguishing between actual double talk and a change in the echo path impulse response (referred to hereafter as "echo path change") . Notably, both double talk and echo path changes appear as increases in residual echo power. However, the two results require opposite adaptation actions. For example, when double talk is present, the adaptation process should be inhibited, but when the echo path is changed, the adaptation rate should be increased so the FIR filter (12) can quickly model the new signal environment. Unfortunately, the existing double talk detection approaches do not provide useful information about echo path changes .
SUMMARY OF THE INVENTION It is an object of the present invention to distinguish between double talk and echo path changes in a telephony network.
It is another object of the present invention to provide reliable and useful information about double talk and echo path changes for echo cancellation purposes.
It is yet another object of the present invention to provide a computationally effective method for providing an echo canceller with useful information about double talk and echo path changes for echo cancellation purposes . It is still another object of the present invention to provide a digital method for implementing double talk and echo path change detection.
In accordance with the present invention, the foregoing and other objects are achieved by a double talk and echo path change detector that determines whether a residual signal is dominated by echo or by a "near end" signal. In order to make this determination, a first measure of linear dependency is computed between the residual signal and an echo estimate, and a second measure of linear dependency is computed between the residual signal and a desired signal. The two results are compared with each other, and if they are of about the same order, no further action is needed. However, if the comparison determines that the dependence between the residual signal and the desired signal is much stronger than the dependence between the residual signal and the echo estimate, the present detector assumes that double talk has been detected and an appropriate signal denoting that result is output. On the other hand, if the dependence between the residual signal and the desired signal is much weaker than the dependence between the residual signal and the echo estimate, the detector assumes that an echo path change has been detected and an appropriate signal denoting that result is output. As such, a reliable and computationally effective method and apparatus are provided to give an echo canceller useful information about double talk and echo path changes that have occurred.
BRIEF DESCRIPTION OF THE DRAWINGS
A more complete understanding of the method and apparatus of the present invention may be had by reference to the following detailed description when taken in conjunction with the accompanying drawings wherein:
FIGURE 1 is a simplified schematic block diagram of a conventional echo canceller; and FIGURE 2 is a schematic block diagram of a double talk and echo path change detector, which can be used to implement the apparatus and method of the present invention.
DETAILED DESCRIPTION OF THE DRAWINGS
The preferred embodiment of the present invention and its advantages are best understood by referring to FIGURES 1-2 of the drawings, like numerals being used for like and corresponding parts of the various drawings. Essentially, in accordance with the present invention, a double talk and echo path change detector is provided, which functions based on making a determination about whether the residual signal, e(t), is dominated by echo or the "near end" signal. In order to make this determination, a measure of linear dependency is computed between the residual signal, e(t), and the echo estimate, s"(t), on the one side, and between the residual signal, e(t), and the desired signal, y(t), on the other side. The two resulting measurements are then compared with each other, and if they are of about the same order, no further action is taken. However, if the comparison determines that the dependence between e(t) and y(t) is much stronger than the dependence between e(t) and sΛ (t) , then double talk is detected. On the other hand, if the dependence between e(t) and y(t) is much weaker than the dependence between e(t) and sΛ (t) , then an echo path change is detected. Albeit, these determinations are made only if the signals being processed have a significant amount of power.
A linear dependence measurement can be obtained by considering the coherence function, γ2 xy(f) between the two stationary random processes, x(t) and y(t), which is defined by:
Figure imgf000008_0001
where Sxy (f) =l/T*E [X* (f) Y (f) ] is the cross-spectral density between x(t) and y(t), and Sxx(f) and S^f) are the corresponding auto-spectral densities. The coherence function is a measure of a possible linear relationship between the stationary random processes involved, and it is bounded between zero and one. If a perfect linear relationship exists between those stationary random processes for some frequency, then the coherence will be equal to unity at that frequency. If no such linear relationship exists, then the coherence function will be equal to zero. A scalar linear dependence measure can be obtained by computing a mean value for the coherence function. An approach that can be used to detect echo path changes is based on the observation that under the principle of orthogonality, there can be no linear relationship between the residual signal, e(t), and the echo estimate, sΛ (t) , if the echo estimate is produced by an optimal estimator and, therefore, the coherence function is equal to zero. Using an adaptive algorithm with a FIR filter to model the echo path, the coherence function will be close to zero if the adaptive algorithm is converged. However, if an echo path change occurs, a strong linear relationship will appear between the signals, e(t) and sΛ (t) , and therefore, the coherence function will be large. Considering the coherence between the desired signal, y(t) , and the residual signal, e(t), if the adaptive algorithm is converged and the "near end" signal, v(t), is weak, the coherence function will be small. If the "near end" signal is strong, then the residual signal is dominated by the "near end" component, v(t), and the coherence function will be close to unity. Notably, if the FIR filter's coefficients are initialized to zero, then a linear relationship will exist between the residual signal and the desired signal during the initial adaptation stage.
In order to detect both double talk and echo path changes, the following test variable (d) can be used:
Figure imgf000009_0001
where f1 and f2 are the borders of the frequency band of interest. The value of the test variable, d, will be close to zero during normal operation of the detector
(e.g, no double talk or echo path change detected) .
However, test variable d will be close to unity when double talk is detected, and it will go negative if an echo path change is detected. Consequently, in accordance with the present invention, the adaptive algorithm used for a FIR filter in an echo canceller (e.g., filter 12) can compare the test variable, d, with two predetermined threshold levels, thl and th2 , where 0<thl<l, and - l<t 2<0. If the test variable d>t l, then it is assumed that double talk has been detected. If d<fch2, then it is assumed that an echo path change has been detected. The absolute values of thl and th2 can be used to control the sensitivity of the detector. In the preferred embodiment, the threshold level are set at t l=0.8 and t 2=-0.5.
FIGURE 2 is a schematic block diagram of a double talk and echo path change detector, which can be used to implement the apparatus and method of the present invention. Detector 100 includes a first coherence measurement unit 102 and second coherence measurement unit 104. First coherence measurement unit 102 computes the linear dependency between the residual signal, e(t), and the echo path estimate, sΛ(t). Second coherence measurement unit 104 computes the linear dependency between the residual signal, e(t), and the desired signal, y(t) . The output of each of the two measurement units is compared at comparator 106. This comparison is accomplished in accordance with Equation 5 described above. The output of comparator 106 is coupled to an input of a first test unit 110 and a second test unit 112. First test unit 110 compares the output value (e.g., test variable d) of comparator 106 with a first predetermined threshold level, thl . Second test unit 112 compares the output value (d) of comparator 106 with a second predetermined threshold value, th2. As described above, the value of test variable, d, is close to zero during a normal operation, and no filter adaptation occurs. If, however, the value of test variable, d, is greater than threshold level thl , then first test unit 110 outputs a signal (preferably to an appropriate stage in echo canceller 12) denoting that double talk has been detected. Consequently, the adaptive algorithm for the FIR filter (12) is inhibited.
If the value of test variable, d, is less than threshold level th2 , then second test unit 112 outputs a signal (preferably to an appropriate stage in echo canceller 12) denoting that an echo path change has been detected. Consequently, the adaptive algorithm for the FIR filter (12) is advanced. A timer 108 is used to decouple the output of comparator 106 to ensure that the filter adaptation process occurs during the initial test period. For this embodiment, timer 108 is set for about 20 times the "length" of the FIR filter used.
In a digital implementation of the preferred embodiment, the coherence functions can be estimated by replacing the mathematical expectations with time averages, and computing the spectra by using discrete Fourier transforms (or some other orthogonal transform) . The integration performed above in Equation 5 can be replaced by summation over discrete frequencies .
Specifically, since a detected echo path change is compensated for by an adaptive algorithmic process over a period of time, it is preferable to select relatively short window lengths. Consequently, for the preferred embodiment, the adaptive algorithm computes the coherence functions using an 8 -point Fast Fourier Transform (FFT) . However, the present invention is not intended to be limited to any specific FFT value, and any appropriate value (e.g., any other positive value) can be used instead of "8". Preferably, positive values should be used that allow the use of FFT algorithms (e.g., powers of 2) . In this embodiment, time averaging is performed over 64 consecutive transforms, which overlap in seven samples
(using a sliding rectangular window) . Notably, however, other types of windows may be used for averaging (e.g., an exponential window) .
In solving these echo cancellation problems, the signals involved are real signals, and consequently, the real parts of their Fourier transforms are symmetric and the imaginary parts are asymmetric. Consequently, for this embodiment, an NxN transform matrix for N=8 can be defined as:
Figure imgf000012_0001
where cnk=cos2πnk/N and snk=sin2πnk/N. Substituting these values for cnk and snk in the matrix of Equation 6, the following values are obtained:
where
Figure imgf000012_0002
The transform of the last N samples of signal x, x (t ) = [x (t) , ... , x(t-N+l)]τ, is given by a matrix vector multiplication Fx(t) . The discrete coherence function can be defined in this transform domain, by replacing Sxy with diagonal elements of :
Figure imgf000012_0003
where the diag() operator forms a diagonal matrix from the argument vector. Denoting the vector of the diagonal elements of Uxy(t) by uxy(t), an element of the discrete coherence vector can be defined as:
Figure imgf000013_0001
where a is a regularization constant, which controls errors in division when the denominator otherwise is small. The regularization constant can be a design variable that allows a measure of control over the detector's sensitivity. The value of the regularization constant is preferably comparable to the fourth power of the signal levels expected.
The coherence vector described by Equation 9 results from an element-wise division of vectors, the elements of which have dimensions of the fourth powers of the corresponding signals. In other words, the dynamic range of these elements is four times greater than that of the signals involved. This result may be undesirable if the above-described math is to be implemented with fixed point arithmetic. Consequently, the following normalization vector may be used instead:
Figure imgf000013_0002
The value of the regularization constant, a,, should be selected to be comparable to the power levels of the signals expected to be involved.
Although a preferred embodiment of the method and apparatus of the present invention has been illustrated in the accompanying Drawings and described in the foregoing Detailed Description, it will be understood that the invention is not limited to the embodiment disclosed, but is capable of numerous rearrangements, modifications and substitutions without departing from the spirit of the invention as set forth and defined by the following claims .

Claims

WHAT IS CLAIMED IS:
1. A double talk and echo path change detector, comprising: a first measurement unit for determining a first linear dependency between a first input signal and a second input signal; a second measurement unit for determining a second linear dependency between said first input signal and a third input signal; a comparator for comparing said first linear dependency with said second linear dependency, and generating an output signal; and a threshold unit for comparing said output signal with a first predetermined threshold level and a second predetermined threshold level and thereby indicating an occurrence of double talk and echo path change, respectively.
2. The double talk and echo path change detector of Claim 1, wherein said first measurement unit comprises a coherence function measurement unit.
3. The double talk and echo path change detector of Claim 1, wherein said second measurement unit comprises a coherence function measurement unit .
4. The double talk and echo path change detector of Claim 1, wherein said first input signal comprises a residual signal.
5. The double talk and echo path change detector of Claim 1, wherein said second input signal comprises an echo estimation signal.
6. The double talk and echo path change detector of Claim 1, wherein said third input signal comprises a desired signal .
7. The double talk and echo path detector of Claim 1, further comprising a timer for decoupling a signal between said comparator and said threshold unit during a predetermined period of time.
8. A method for detecting double talk and an echo path change in a telephony network, comprising the steps of: computing a first linear dependency between a first input signal and a second input signal; computing a second linear dependency between said first input signal and a third input signal; comparing said first linear dependency with said second linear dependency and generating an output signal based on said comparing; and comparing said output signal with a first predetermined threshold level and a second predetermined threshold level and thereby indicating an occurrence of double talk and echo path change, respectively.
9. The method of Claim 8, wherein said step of computing a first linear dependency comprises the step of computing a first coherence function.
10. The method of Claim 8, wherein said step of computing a second linear dependency comprises the step of computing a second coherence function.
11. The method of Claim 8, wherein said output signal comprises a test variable.
PCT/SE1997/002076 1996-12-20 1997-12-12 Double talk and echo path change detection in a telephony system WO1998028857A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
AU53516/98A AU5351698A (en) 1996-12-20 1997-12-12 Double talk and echo path change detection in a telephony system
PL97334048A PL186221B1 (en) 1996-12-20 1997-12-12 Method of and apparatus for detecting back crosstalks and echo changes in a telephone system
JP52867498A JP4205169B2 (en) 1996-12-20 1997-12-12 Double talk and echo path change detection in telephony systems
DE69732917T DE69732917T2 (en) 1996-12-20 1997-12-12 INTERCOM AND ECHOPFAD CHANGE DETECTION IN A TELEPHONE SYSTEM
EP97950543A EP0947057B1 (en) 1996-12-20 1997-12-12 Double talk and echo path change detection in a telephony system
CA002275662A CA2275662C (en) 1996-12-20 1997-12-12 Double talk and echo path change detection in a telephony system
BR9713754-5A BR9713754A (en) 1996-12-20 1997-12-12 Detector and process for detecting double talk and echo path variation.

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/770,908 US6035034A (en) 1996-12-20 1996-12-20 Double talk and echo path change detection in a telephony system
US08/770,908 1996-12-20

Publications (1)

Publication Number Publication Date
WO1998028857A1 true WO1998028857A1 (en) 1998-07-02

Family

ID=25090083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SE1997/002076 WO1998028857A1 (en) 1996-12-20 1997-12-12 Double talk and echo path change detection in a telephony system

Country Status (12)

Country Link
US (1) US6035034A (en)
EP (1) EP0947057B1 (en)
JP (1) JP4205169B2 (en)
CN (1) CN1127813C (en)
AU (1) AU5351698A (en)
BR (1) BR9713754A (en)
CA (1) CA2275662C (en)
DE (1) DE69732917T2 (en)
MY (1) MY118091A (en)
PL (1) PL186221B1 (en)
TR (1) TR199901384T2 (en)
WO (1) WO1998028857A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2371191A (en) * 2001-01-11 2002-07-17 Mitel Corp Detecting double-talk and path changes in echo cancellers

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19805942C1 (en) * 1998-02-13 1999-08-12 Siemens Ag Method for improving the acoustic return loss in hands-free equipment
JP3267556B2 (en) * 1998-02-18 2002-03-18 沖電気工業株式会社 Echo canceller and transmitter
US6226380B1 (en) * 1998-02-19 2001-05-01 Nortel Networks Limited Method of distinguishing between echo path change and double talk conditions in an echo canceller
US7423983B1 (en) * 1999-09-20 2008-09-09 Broadcom Corporation Voice and data exchange over a packet based network
US7920697B2 (en) * 1999-12-09 2011-04-05 Broadcom Corp. Interaction between echo canceller and packet voice processing
TW461191B (en) * 2000-02-25 2001-10-21 Winbond Electronics Corp Method to cancel echo
US6895086B2 (en) 2001-11-13 2005-05-17 Inmate Telephone, Inc. 3-Way call detection system and method
US20030185402A1 (en) * 2002-03-27 2003-10-02 Lucent Technologies, Inc. Adaptive distortion manager for use with an acoustic echo canceler and a method of operation thereof
US7359504B1 (en) * 2002-12-03 2008-04-15 Plantronics, Inc. Method and apparatus for reducing echo and noise
AU2004303075B2 (en) * 2003-08-05 2009-06-25 Dsi-Iti, Llc Three-way call detection using steganography
GB0402102D0 (en) 2004-01-30 2004-03-03 Mitel Networks Corp Method for detecting echo path changes in echo cancellers
US7555117B2 (en) * 2005-07-12 2009-06-30 Acoustic Technologies, Inc. Path change detector for echo cancellation
US8275120B2 (en) * 2006-05-30 2012-09-25 Microsoft Corp. Adaptive acoustic echo cancellation
US7817797B2 (en) * 2006-06-07 2010-10-19 Mitel Networks Corporation Method and apparatus for detecting echo path changes in an acoustic echo canceller
US7853214B2 (en) * 2007-01-05 2010-12-14 Microtune (Texas), L.P. Dynamic multi-path detection device and method
US8219872B2 (en) * 2007-01-05 2012-07-10 Csr Technology Inc. Extended deinterleaver for an iterative decoder
US8542802B2 (en) 2007-02-15 2013-09-24 Global Tel*Link Corporation System and method for three-way call detection
US20080201158A1 (en) 2007-02-15 2008-08-21 Johnson Mark D System and method for visitation management in a controlled-access environment
US8411846B2 (en) * 2008-05-09 2013-04-02 Agere Systems Llc Echo path change detection in telecommunications networks
US8295474B2 (en) * 2008-08-08 2012-10-23 Freescale Semiconductor, Inc. Echo canceller with heavy double-talk estimation
CN102224710B (en) * 2008-09-15 2014-08-20 卓然公司 Dynamic multi-path detection device and method
US8630726B2 (en) * 2009-02-12 2014-01-14 Value-Added Communications, Inc. System and method for detecting three-way call circumvention attempts
US9225838B2 (en) 2009-02-12 2015-12-29 Value-Added Communications, Inc. System and method for detecting three-way call circumvention attempts
CN103179296B (en) * 2011-12-26 2017-02-15 中兴通讯股份有限公司 Echo canceller and echo cancellation method
DK2613566T3 (en) * 2012-01-03 2016-10-17 Oticon As A listening device and method for monitoring the placement of an earplug for a listening device
CN104050971A (en) 2013-03-15 2014-09-17 杜比实验室特许公司 Acoustic echo mitigating apparatus and method, audio processing apparatus, and voice communication terminal
GB2515592B (en) 2013-12-23 2016-11-30 Imagination Tech Ltd Echo path change detector
WO2017053490A1 (en) * 2015-09-25 2017-03-30 Microsemi Semiconductor (U.S.) Inc. Acoustic echo path change detection apparatus and method
CN105791611B (en) * 2016-02-22 2020-07-07 腾讯科技(深圳)有限公司 Echo cancellation method, device, terminal and storage medium
US10572961B2 (en) 2016-03-15 2020-02-25 Global Tel*Link Corporation Detection and prevention of inmate to inmate message relay
US9609121B1 (en) 2016-04-07 2017-03-28 Global Tel*Link Corporation System and method for third party monitoring of voice and video calls
US10027797B1 (en) 2017-05-10 2018-07-17 Global Tel*Link Corporation Alarm control for inmate call monitoring
US10225396B2 (en) 2017-05-18 2019-03-05 Global Tel*Link Corporation Third party monitoring of a activity within a monitoring platform
US10860786B2 (en) 2017-06-01 2020-12-08 Global Tel*Link Corporation System and method for analyzing and investigating communication data from a controlled environment
US9930088B1 (en) 2017-06-22 2018-03-27 Global Tel*Link Corporation Utilizing VoIP codec negotiation during a controlled environment call
JP7054668B2 (en) 2018-11-08 2022-04-14 株式会社日立製作所 Dynamic production planning system and dynamic production planning equipment
US10827076B1 (en) 2020-03-11 2020-11-03 Cirrus Logic, Inc. Echo path change monitoring in an acoustic echo canceler
US11620976B2 (en) * 2020-06-09 2023-04-04 Meta Platforms Technologies, Llc Systems, devices, and methods of acoustic echo cancellation based on display orientation
US11586407B2 (en) 2020-06-09 2023-02-21 Meta Platforms Technologies, Llc Systems, devices, and methods of manipulating audio data based on display orientation
US11340861B2 (en) 2020-06-09 2022-05-24 Facebook Technologies, Llc Systems, devices, and methods of manipulating audio data based on microphone orientation
CN111970610B (en) * 2020-08-26 2022-05-20 展讯通信(上海)有限公司 Echo path detection method, audio signal processing method and system, storage medium, and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03159423A (en) * 1989-11-17 1991-07-09 Fujitsu Ltd Double talk detecting system in echo cancellor
EP0439139A2 (en) * 1990-01-24 1991-07-31 Nec Corporation Arrangement and method for rapidly detecting double talk in long distance telephone communications system
JPH07288493A (en) * 1994-04-18 1995-10-31 Fujitsu Ltd Double talk detecting device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4282411A (en) * 1979-06-04 1981-08-04 Tellabs, Inc. Residual echo suppressor for echo canceller
US4360712A (en) * 1979-09-05 1982-11-23 Communications Satellite Corporation Double talk detector for echo cancellers
JPS6053336A (en) * 1983-09-02 1985-03-27 Nec Corp Echo canceller
US4918727A (en) * 1988-06-09 1990-04-17 Tellabs Incorporated Double talk detector for echo canceller and method
JP2595090B2 (en) * 1989-04-19 1997-03-26 株式会社日立製作所 Echo canceller with test function and communication device having the echo canceller
NL9002790A (en) * 1990-12-18 1992-07-16 Philips Nv ECHO COMPENSATOR WITH IMPROVED DOUBLE-VOICE DETECTION.
JP2836277B2 (en) * 1991-03-14 1998-12-14 国際電信電話株式会社 Echo cancellation device
JP2538176B2 (en) * 1993-05-28 1996-09-25 松下電器産業株式会社 Eco-control device
JP3395388B2 (en) * 1994-08-16 2003-04-14 ソニー株式会社 Signal adaptive processing device and echo suppression device
US5657384A (en) * 1995-03-10 1997-08-12 Tandy Corporation Full duplex speakerphone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03159423A (en) * 1989-11-17 1991-07-09 Fujitsu Ltd Double talk detecting system in echo cancellor
EP0439139A2 (en) * 1990-01-24 1991-07-31 Nec Corporation Arrangement and method for rapidly detecting double talk in long distance telephone communications system
JPH07288493A (en) * 1994-04-18 1995-10-31 Fujitsu Ltd Double talk detecting device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PATENT ABSTRACTS OF JAPAN vol. 15, no. 394 (E - 1119) 7 October 1991 (1991-10-07) *
PATENT ABSTRACTS OF JAPAN vol. 96, no. 2 29 February 1996 (1996-02-29) *
T. GÄNSLER ET AL.: "A Double-Talk Detector Based on Coherence", IEEE TRANSACTION ON COMMUNICATIONS, vol. 44, no. 11, November 1996 (1996-11-01), pages 1421 - 1427, XP000674158 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2371191A (en) * 2001-01-11 2002-07-17 Mitel Corp Detecting double-talk and path changes in echo cancellers
GB2371191B (en) * 2001-01-11 2005-06-15 Mitel Corp Double-talk and path change detection using a matrix of correlation coefficients
US6944288B2 (en) 2001-01-11 2005-09-13 Zarlink Semiconductor Inc. Double-talk and path change detection using a matrix of correlation coefficients

Also Published As

Publication number Publication date
PL186221B1 (en) 2003-11-28
MY118091A (en) 2004-08-30
AU5351698A (en) 1998-07-17
CA2275662A1 (en) 1998-07-02
DE69732917D1 (en) 2005-05-04
CN1127813C (en) 2003-11-12
CA2275662C (en) 2006-06-13
DE69732917T2 (en) 2006-04-13
CN1247652A (en) 2000-03-15
PL334048A1 (en) 2000-01-31
EP0947057B1 (en) 2005-03-30
JP4205169B2 (en) 2009-01-07
EP0947057A1 (en) 1999-10-06
TR199901384T2 (en) 1999-09-21
US6035034A (en) 2000-03-07
JP2001508609A (en) 2001-06-26
BR9713754A (en) 2000-02-01

Similar Documents

Publication Publication Date Title
US6035034A (en) Double talk and echo path change detection in a telephony system
EP1183848B1 (en) System and method for near-end talker detection by spectrum analysis
Gansler et al. A double-talk detector based on coherence
US8792649B2 (en) Echo canceller used for voice communication
US5732134A (en) Doubletalk detection by means of spectral content
JP2949601B2 (en) Method for determining echo reflection loss in echo canceling device
EP0878060B1 (en) A system and method for performing echo cancellation in a communications network employing a mixed mode lms adaptive balance filter
US5920548A (en) Echo path delay estimation
US20040264610A1 (en) Interference cancelling method and system for multisensor antenna
US9407320B2 (en) Detection of double talk in telecommunications networks
EP1350339B1 (en) Double-talk and path change detection using a matrix of correlation coefficients
US7570608B2 (en) Echo canceller disabler for modulated data signals
US5793864A (en) Nonintrusive measurement of echo power and echo path delay present on a transmission path
US20040260738A1 (en) Sparse echo canceller
JP4410098B2 (en) Delay time estimation for equalization
JP4009143B2 (en) Delay profile measuring apparatus and delay profile measuring method
JP2949989B2 (en) Echo cancellation device
Ho et al. A new sampling of echo paths in North American networks
Verteletskaya et al. Delay Estimator and Improved Proportionate Multi-Delay Adaptive Filtering Algorithm.
JPS63234733A (en) Echo canceller
JPH0740680B2 (en) Double talk detection method
JPS62122339A (en) Echo canceller

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 97181911.4

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT UA UG UZ VN YU ZW AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AT BE CH DE DK ES FI FR GB GR IE IT

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWE Wipo information: entry into national phase

Ref document number: 1997950543

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1999/01384

Country of ref document: TR

ENP Entry into the national phase

Ref document number: 2275662

Country of ref document: CA

Ref document number: 2275662

Country of ref document: CA

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: PA/a/1999/005734

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 1998 528674

Country of ref document: JP

Kind code of ref document: A

WWP Wipo information: published in national office

Ref document number: 1997950543

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1997950543

Country of ref document: EP