The present invention relates generally to tone detection in echo canceling systems, and more particularly to a method of monitoring oscillations of adaptive filter coefficients for narrow band tone detection in echo cancellation systems.
The signal path between two telephones, involving a call other than a local one, requires amplification using a four-wire circuit. The-cost and cabling required discourages extending a four-wire circuit to a subscriber's premise from the local exchange. For this reason, the four-wire trunk circuits are coupled to two-wire local circuits, using a device called a hybrid.
Hybrid echo, the primary source of echo generated from the public-switched telephone network (PSTN) is created as voice signals are transmitted across the network via the hybrid connection at the two-wire/four-wire PSTN conversion points.
Unfortunately, the hybrid is by nature a leaky device. As voice signals pass from the four-wire to the two-wire portion of the network, the energy in the four-wire section is reflected back, creating an echo of the speech signal. Provided that the total round-trip delay occurs within just a few milliseconds, the echo generates a sense that the call is live by adding sidetone, thereby making a positive contribution to the quality of the call.
In cases where the total network delay exceeds 36 ms, however, the positive benefits disappear, and intrusive echo results. The actual amount of signal that is reflected back depends on how well the balance circuit of the hybrid matches the two-wire line. In the vast majority of cases, the match is poor, resulting in a considerable level of signal being reflected back.
The effective removal of hybrid echo is one key to maintaining and improving perceived voice quality on a call. This has led to intensive research into the area of echo cancellation, with the aim of providing solutions that can reduce echo from hybrid. By employing this technology, the overall speech quality is improved significantly.
It is known in the art to employ adaptive filtering to address hybrid echo cancellation. In an adaptive filter, the filter coefficients are based, in part, on feedback of filter output. Normalized Least Mean Square (NLMS) adaptive filtering is one method, popular in echo cancellation, to address reflections in the telephony system.
Where an excitation is highly correlated, e.g. a continuous tone, the NLMS algorithm performs poorly. Where NLMS adaptive filtering is employed, tone signals, such as those employed in telephony tone dialing systems, may have a detrimental effect on other components, such as noise level calculators, Echo Return Loss (ERL) calculator, and Echo Return Loss Enhancement (ERLE) calculator, etc.
U.S. Pat. No. 4,363,100 discloses a tone detector in the form of a digital correlator, in which PCM signal samples are delayed in a RAM for the correlation period. Although U.S. Pat. No. 4,363,100 addresses tone detection which could be used in an echo cancelling system, it does not use the infrastructure of echo cancelling system to detect the tones.
U.S. Pat. No. 4,669,114 discloses a digital progress tone detector, for connection to a telephone line and a PABX. Again, this disclosure could be used in an echo cancelling system but it does not use the infrastructure of echo cancelling system to detect the tones.
What is needed is a method of detecting tones in a NLMS adaptive filter echo canceling system, and alerting this system to the presence of such tones.
It is an object of an aspect of this invention to detect tones in an echo canceling system.
In an aspect of the invention, there is provided a method for using the adaptive filter of an echo canceling system for detecting tones. In this method, a determination is made as to whether coefficients of the adaptive filter oscillate or do not oscillate. If the coefficients oscillate, the echo canceling system is notified that a tone is present.
An embodiment of the present invention will now be described, by way of example only, with reference to the attached Figures, wherein:
Referring to
Echo Return Loss (ERL) is a measure of the actual amount of signal reflected back. The higher the ERL, the lower the reflected signal back to the talker, and vice versa.
Referring to
For each discrete time k, signal x(k) is input to un-adapted signal path 210 and adaptive filter 220. The path 210 outputs the signal d(k) which is a combination of the echo from original signal x(k), noise, and near end speech. The adaptive filter 220 output is y(k) for each discrete time k. The subtractor 230 generates an error e(k) as follows:
e(k)=d(k)−y(k). (1)
The adaptive filter output y(k) is based on a number, N, of previous inputs x(k) according to the formula
wherein wi is the coefficient relating to the (i)th input previous to the current input x(n). Normalised least mean square (NMLS) algorithm is one method of
There is a drawback to employing adaptive filtering in telephony echo canceling systems. Highly correlated inputs, such as the continuous tones generated in Dual Tone Multifrequency (DTMF) tone dialing subsystems, can have a negative effect. In the presence of highly correlated signals, the NLMS adaptive filter does not reflect the transfer function of the hybrid; the reflection position cannot be exactly located.
Referring to
y(t)=x(t){circle around (×)}h(t)
Referring to
When all coefficients have been compared, i.e. the coefficient counter equals the number of coefficients, branch 430 is taken to branch 475, where the counter (CoefsAboveMaxRplRatio) of all coefficients above the threshold is compared to a predetermined ToneTriggered value. At the same time, the ERLE (Echo Return Loss Enhancement) is monitored to ensure that it is above a minimumERLE threshold. This condition is used to prevent false tone triggers, when the coefficients have diverged or just starting to converge, in which case the current ERLE will be smaller than the minimumERLE. If there are more coefficients above the MaxRplRatio than the predetermined ToneTriggered value, and the Echo Return Loss Enhancement is higher than the minimumERLE threshold, then the narrow band detector reports a tone detected to the echo canceller system (step 480), and further execution (step 490) is in accordance with the method 300.
It will be appreciated that, although embodiments of the invention have been described and illustrated in detail, various modifications and changes may be made. Different implementations may be made by those familiar with the art, without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
0402096.2 | Jan 2004 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
4363100 | Agnew et al. | Dec 1982 | A |
4669114 | Reesor et al. | May 1987 | A |
5592548 | Sih | Jan 1997 | A |
5689556 | Gupta et al. | Nov 1997 | A |
20030016815 | Kurtz et al. | Jan 2003 | A1 |
20030235244 | Pessoa et al. | Dec 2003 | A1 |
20030235312 | Pessoa et al. | Dec 2003 | A1 |
20040001450 | He et al. | Jan 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20050169458 A1 | Aug 2005 | US |