Claims
- 1. An apparatus for canceling echo in a system where echo of a far-end speech signal is combined with a signal from a near-end, comprising:
an adaptive filter having a plurality of filter tap coefficients for generating an echo estimate signal, said filter tap coefficients updated in response to a first control signal; a controller for generating said first control signal in accordance with the rate of said far-end speech signal and the rate of a near-end signal which combines said signal from said near-end and said echo signal, said rates being ones of a predetermined set of rates in a variable rate communications system; comprising:
energy computation unit adapted to measure the energy of input signals; background noise estimator adapted to determine the noise energy when no speech is present; and a rate estimator adapted to determine data rates of the far-end and near-end signals; and a summer for subtracting said echo estimate signal from said near-end signal to generate an echo residual signal.
- 2. The apparatus of claim 1, wherein said controller generates said first control signal further in accordance with an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 3. The apparatus of claim 1, wherein said controller generates said first control signal further in accordance with a double talk hangover indicator which is set to prevent filter adaptation when both said far-end and said near-end are active or when said near-end is active but said far-end is inactive, said far-end or near-end being considered active when speech is detected at said far-end or near-end, respectively.
- 4. The apparatus of claim 3, wherein said near-end active status is determined using a state machine based on the rate of said near-end signal, an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal, and the status of a timer.
- 5. The apparatus of claim 3, wherein said double talk hangover indicator is set further based on an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 6. The apparatus of claim 5, wherein said double talk hangover indicator is set further based on the status of a timer.
- 7. The apparatus of claim 6, wherein said controller generates said first control signal further in accordance with said acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 8. The apparatus of claim 7, wherein the rates of said far-end speech signal and said near-end signal are chosen from a set of rates comprising a full rate, a half rate, a quarter rate, and an eighth rate.
- 9. The apparatus of claim 8, wherein said controller generates said first control signal to specify update of said filter tap coefficients when said double talk hangover indicator is not set, said far-end speech signal is of full rate, said near-end signal is of at least quarter rate, and said acoustic loss measure is between a first threshold and a second threshold.
- 10. The apparatus of claim 1, wherein said controller generates a second control signal specifying the adaptation step size of said adaptive filter based on an error return loss enhancement measure representative of a ratio of the energy of said near-end signal to the energy of said echo residual signal.
- 11. The apparatus of claim 10, wherein said controller generates said second control signal further based on the status of a timer.
- 12. The apparatus of claim 1, further comprising a comfort noise generator for generating synthesized noise, wherein said controller generates a third control signal specifying that said echo residual signal should be replaced by said synthesized noise when said far-end is active indicative of speech originating from said far-end, and said near-end is inactive indicative of an absence of speech originating from said near-end.
- 13. The apparatus of claim 12, wherein the rates of said far-end speech signal and said near-end signal are chosen from a set of rates comprising a full rate, a half rate, a quarter rate, and an eighth rate.
- 14. The apparatus of claim 13, wherein said far-end is considered active when said far-end speech signal is of full rate or half rate, and either said near-end signal is of quarter rate or eighth rate, or said near-end signal is of full rate or half rate and an error return loss enhancement measure is above a third threshold, said error return loss enhancement measure being representative of a ratio of the energy of said near-end signal to the energy of said echo residual signal.
- 15. The apparatus of claim 12, wherein said near-end active status is determined using a state machine based on the rate of said near-end signal, an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal, and the status of a timer.
- 16. An apparatus for canceling echo in a system where echo of a far-end speech signal is combined with a signal from a near-end, comprising:
means for generating a first control signal in accordance with the rate of said far-end speech signal and the rate of a near-end signal which combines said signal from said near-end and said echo signal, said rates being ones of a predetermined set of rates in a variable rate communications system; means for updating a plurality of filter tap coefficients of an adaptive filter based on said first control signal; means for generating an echo estimate signal using said adaptive filter; and means for subtracting said echo estimate signal from said near-end signal to generate an echo residual signal.
- 17. The apparatus of claim 16, wherein the means for generating a first control signal generates said first control signal further in accordance with an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 18. The apparatus of claim 16, wherein said means for generating a first control signal generates said first control signal further in accordance with a double talk hangover indicator which is set to prevent filter adaptation when both said far-end and said near-end are active or when said near-end is active but said far-end is inactive, said far-end or near-end being considered active when speech is detected at said far-end or near-end, respectively.
- 19. The apparatus of claim 18, further comprising means for determining said near-end active status using a state machine based on the rate of said near-end signal, an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal, and the status of a timer.
- 20. The apparatus of claim 19, wherein the rate of said near-end signal is chosen from a set of rates comprising a full rate, a half rate, a quarter rate, and an eighth rate.
- 21. The apparatus of claim 20, wherein said means for determining said near-end status comprises:
means for transitioning from an idle state to a start-up state when said near-end signal is of full rate and said acoustic loss measure is less than a first threshold; means for transitioning from said start-up state to said idle state when said near-end signal is less than full rate and said acoustic loss measure is greater than said first threshold; means for transitioning from said start-up state to an active state when said near-end signal is of full rate and said acoustic loss measure is less than said first threshold for a first predetermined amount of time; means for remaining in said active state when said near-end signal is of at least half rate and said acoustic loss measure is less than a second threshold; means for transitioning from said active state to a fade-away state when said near-end signal is of less than half rate or when said acoustic loss measure is less than said second threshold; means for transitioning from said fade-away state to said active state when said near-end signal is of at least half rate and said acoustic measure is less than said first threshold; and means for transitioning from said fade-away state to said idle state after being in said fade-away state for a second predetermined amount of time.
- 22. The apparatus of claim 18, wherein said double talk hangover indicator is set further based on an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 23. The apparatus of claim 22, wherein said double talk hangover indicator is set further based on the status of a timer.
- 24. The apparatus of claim 23, wherein said means for generating a first control signal generates said first control signal further in accordance with said acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal.
- 25. The apparatus of claim 24, wherein the rates of said far-end speech signal and said near-end signal are chosen from a set of rates comprising a full rate, a half rate, a quarter rate, and an eighth rate.
- 26. The apparatus of claim 25, wherein said means for generating a first control signal generates said first control signal when said double talk hangover indicator is not set, said far-end speech signal is of full rate, said near-end signal is of at least quarter rate, and said acoustic loss measure is between a first threshold and a second threshold.
- 27. The apparatus of claim 16, further comprising means for generating a second control signal specifying the adaptation step size of said adaptive filter based on an error return loss enhancement measure representative of a ratio of the energy of said near-end signal to the energy of said echo residual signal
- 28. The apparatus of claim 27, wherein the means for generating a second control signal generates said second control signal further based on the status of a time.
- 29. The apparatus of claim 16, further comprising:
means for synthesizing a comfort noise signal; means for generating a third control signal when said far-end is active indicative of speech originating from said far-end, and said near-end is inactive indicative of an absence of speech originating from said near-end; and means for replacing said echo residual signal by said comfort noise signal based on said third control signal.
- 30. The apparatus of claim 29, wherein the rates of said far-end speech signal and said near-end signal are chosen from a set of rates comprising a full rate, a half rate, a quarter rate, and an eighth rate.
- 31. The apparatus of claim 30, wherein said far-end is considered active when said far-end speech signal is of full rate or half rate, and either said near end signal is of quarter rate or eighth rate, or said near-end signal is of full rate or half rate and an error return loss enhancement measure is above a third threshold, said error return loss enhancement measure being representative of a ratio of the energy of said near-end signal to the energy of said echo residual signal.
- 32. The apparatus of claim 29, wherein said near-end active status is determined using a state machine based on the rate of said near-end signal, an acoustic loss measure representative of a ratio of the energy of said far-end speech signal to the energy of said near-end signal, and the status of a timer.
CLAIM OF PRIORITY UNDER 35 U.S.C. §120
[0001] The present Application for Patent is a Continuation and claims priority to patent application Ser. No. 09/199,530 entitled “ACOUSTIC ECHO CANCELLER” filed Nov. 26, 1998, now allowed, and assigned to the assignee hereof and hereby expressly incorporated by reference herein.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60066562 |
Nov 1997 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09199530 |
Nov 1998 |
US |
Child |
10368888 |
Feb 2003 |
US |