US8433060B2 - Method and system for stereo echo cancellation for VoIP communication systems - Google Patents
Method and system for stereo echo cancellation for VoIP communication systems Download PDFInfo
- Publication number
- US8433060B2 US8433060B2 US12/824,404 US82440410A US8433060B2 US 8433060 B2 US8433060 B2 US 8433060B2 US 82440410 A US82440410 A US 82440410A US 8433060 B2 US8433060 B2 US 8433060B2
- Authority
- US
- United States
- Prior art keywords
- signal
- echo
- near end
- echo canceller
- secondary audio
- 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 - Fee Related, expires
Links
Images
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/20—Reducing echo effects or singing; Opening or closing transmitting path; Conditioning for transmission in one direction or the other
- H04B3/23—Reducing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/002—Applications of echo suppressors or cancellers in telephonic connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/12—Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
- H04M7/1205—Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
- H04M7/129—Details of providing call progress tones or announcements
Definitions
- the present invention relates generally to telecommunications systems and more particularly to an apparatus and method for cancelling line echos in a telecommunications system.
- Speech quality has become a highly competitive factor in marketing telephony systems.
- Line or electrical echo a phenomenon typically caused by imperfect impedance matching of network transmission sections, may significantly degrade the overall speech quality of telephony systems.
- acoustic echo may also degrade the quality of speech in a telephony system.
- Acoustic echo may be seen, for example, in communication devices having a near end microphone exposed to a, loudspeaker driven by a far end signal or a secondary audio signal.
- simultaneous two-way communication is enabled where the local user can speak and listen to received speech simultaneously with the remote user.
- Such simultaneous conversation may create acoustic feedback problems which occur when the near end microphone picks up the far end loudspeaker signal and directs the far end loudspeaker signal back to the, remote end.
- the remote party may. hear a delayed version of their own speech referred to as an acoustic echo.
- Echo cancellers have been used to remove far end electrical and acoustic echo.
- echo cancellers utilize adaptive filters that model the electro/acoustical echo path.
- the algorithm coefficients of the filter are continuously adapted to represent the impulse response of the acoustic echo path, such as for example, between the loudspeaker and microphone or the impulse response between the transmit channel and the receive channel of the network interface.
- the modeled responses are then subtracted from an outgoing communication signal to yield an echo reduced communication signal.
- near end speech may act as an unwanted noise signal causing the adaptive filter to diverge. Therefore, echo cancellers typically include double talk detection logic that halts filter adaptation when near end speech is active.
- Acoustic echo cancellers and electrical echo cancellers operating in the presence of a secondary audio tone typically' utilize multiple adaptive filters.
- a secondary audio tone such as for example, a pulse metering tone
- separate adaptive filters are typically used to separately cancel the primary and secondary audio signals.
- acoustic echo cancellers typically utilize an adaptive filter to estimate the impulse response between the microphone and loudspeaker.
- a second electrical echo canceller is typically implemented across the transmit and receive channels to cancel the electric reflection of signals generated by an impedance mismatch at the hybrid interface.
- an echo canceller includes an adaptive filter having filter coefficients that may be adapted to cancel an echo of a composite far end signal having a secondary audio signal and a primary telephony signal in a near end signal.
- an echo canceller in another aspect of the present invention, includes an adaptive filter having filter coefficients that may be adapted to cancel an echo of a composite signal comprising a secondary audio signal and a far end telephony signal in a near end signal.
- FIG. 1 is a simplified schematic diagram of the two-way telephony application
- FIG. 2 shows the addition of a pulse metering tone in a public telephone
- FIG. 3 shows the addition of an audio/music signal in an integrated telephony-ready cable-set-top-box
- FIG. 4 shows the design of a VoIP system with a second adaptive filter for the removal of the echo associated with the pulse metering tone
- FIG. 5 is a simplified block diagram of an echo canceller having a single adaptive filter designed to adapt in the presence of a secondary audio tone in accordance with an exemplary embodiment of the present invention
- FIG. 6 shows the input data path wherein multiple inputs are combined to form a single reference signal input into the adaptive filter of FIG. 6 , in accordance with an exemplary embodiment of the present invention
- FIG. 7 is a simplified block diagram of an echo canceller in an integrated telephony cable set-top-box/cable modem in accordance with an exemplary embodiment of the present invention
- FIG. 8 illustrates the parallel transfer functions modeled by the adaptive filter of FIG. 7 in accordance with an exemplary embodiment of the present invention.
- FIG. 9 shows the input data path wherein multiple inputs are combined to form a single reference signal input into the adaptive filter of FIG. 7 , in accordance with an exemplary embodiment of the present invention.
- An exemplary embodiment of the present invention provides an echo canceller system that is particularly well suited for use in communications networks where an echo is liable to occur in the presence of a secondary audio signal or an interference pulse metering tone.
- a described exemplary embodiment includes an adaptive filter that adapts in the presence of a known secondary audio signal such as for example, a music signal, a pulse metering tone or the sound of a computer game.
- an exemplary echo canceller provides echo cancellation in a two-way telephony system while a movie is playing in the background via a cable-set-top box.
- echo cancellation may be provided during a double-talk condition in an interactive gaming environment where the double-talk condition may be caused by the sound of a computer game or an interference pulse metering tone at 12 kHz or 16 kHz.
- FIG. 1 is a simplified block diagram′ of a two-way telephony application where an echo is generated from an impedance mismatch created by a two-wire to four-wire interface in hybrid circuitry 100 .
- the hybrid gain would be zero to eliminate coupling between the far end and near end transmission paths.
- the operation of the hybrid 100 typically results in a frequency dependent gain of less than about one-half.
- Hybrid gain commonly results in line echos, such as the reflection of the talker's voice at the mismatch created by the two-four wire conversion.
- a reference signal 104 is input into an adaptive filter 102 that models the transfer characteristics of the dialed telephone line (i.e. the hybrid plus the tail circuit that is the telephone line from DAC to ADC).
- the unwanted echo may then be canceled by subtracting filtered reference signal 102 ( a ) from the near end digital input signal 106 in. a difference operator 108 .
- the filter adaptation is dependent on the subtracted signal 108 ( a ) output by difference operator 108 (an error feedback). Therefore, near end speech and/or noise present on the near end digital input signal 106 , typically referred to as the double talk condition, may cause the adaptive filter 102 to diverge.
- FIG. 2 shows a simplified schematic diagram of the two-way telephony application of FIG. 1 having a pulse metering tone generator 120 that generates a pulse metering tone at a frequency of either 12 kHz or 16 kHz during substantially all intervals.
- the metering pulses allow a user to monitor the cost of a call as it progresses.
- common reference numerals may be used to represent like components.
- the rate at which the pulse metering tone generator 120 transmits the metering pulses varies depending on the rate per minute of the call.
- the minimum gap between pulses is, by way of example, on the order of about 100 msec but may be much greater for inexpensive local calls.
- the amplitude of the metered pulses can be adjustable to accommodate impedance changes during the on hook, off hook and ringing states.
- the harmonics associated with this pulse metering tone within the 4 kHz bandwidth may provide false feedback information, that may cause the adaptive filter 102 to diverge, consequently degrading the performance of the echo canceller.
- FIG. 3 shows a simplified schematic diagram of the two-way telephony application of FIG. 1 wherein an audio signal or a music signal 130 is present on the far end signal resulting in near end acoustic feedback.
- the audio signal may result for example, from an integrated telephony-ready, cable-set-top-box.
- the music signal may be the result of a movie or a video game 132 playing out a speaker 134 simultaneously with a two-way phone-call, using speaker 133 and a microphone 136 .
- the music signal is acting either as a noise source or as the near-end talker's voice.
- This additional signal may create a double-talk condition at substantially all times. Therefore, the echo canceller should disable adaptation since the music signal may cause the filter 140 to diverge.
- FIG. 4 shows a simplified schematic diagram of a two-way VoIP system including multiple adaptive filters 150 and 152 .
- the second adaptive filter 152 operates at a sampling rate of 48 kHz. The higher sampling rate is necessary to avoid aliasing since the pulse metering tone has a frequency of 12 kHz or 16 kHz.
- the echo signal associated with this pulse metering tone may be canceled by subtracting filtered metered tone 152 ( a ) from near end digital input signal 154 in a difference operator 156 .
- the utilization of the second adaptive filter 152 at an increased sampling rate, generally increases the complexity and computational intensity of the echo canceller system.
- FIGS. 5 and 6 show simplified schematic diagrams of an exemplary stereo echo cancellation system that provides echo cancellation in the presence of secondary audio tones, such as for example, pulse metering tones.
- the described exemplary echo cancellation system combines a downsampled pulse metering tone 236 ( a ) from a decimator 237 and a far end reference signal 202 ( a ) into a single 8 kHz combined reference signal 237 ( a ) through a combiner 237 .
- the combined reference signal 237 ( a ) may then be input into a single 8 kHz adaptive filter 200 rather than using two adaptive filters, one at 8 kHz and the other at 48 kHz as described in connection with FIG. 4 . Therefore, the described exemplary embodiment requires less memory and processing resources.
- the adaptive filter 200 may be a linear transversal filter or other suitable finite impulse response filter.
- the adaptive filter 200 models the transfer characteristics of the dialed telephone line circuit.
- the unwanted echo is canceled by subtracting filtered reference signal 200 ( a ) from near end digital input signal 204 in a difference operator 206 .
- Near end speech and/or noise present on the near end signal 204 typically referred tows the double talk condition, may cause the adaptive filter 200 . to diverge. Therefore, double talk logic 212 detects near end speech and disables adaptation of the adaptive filter 200 when near end speech is active.
- the present invention is not limited to a particular algorithm for detecting the double talk condition.
- FIGS. 5 and 6 utilize a sample based double talk detection algorithm that provides rapid detection of near end speech in the presence of far end speech. Look ahead capability may also be included so that the double talk logic may halt filter adaptation (i.e. freeze the filter taps or coefficients) before the near end speech samples reach the difference operator 206 .
- a downsampler 208 decimates a 96 kHz near end Tx data 210 at a ratio of 12:1. The downsampler 208 forwards the decimated near end Tx data samples 208 ( a ) to the double talk logic at an 8 kHz sample rate.
- the downsampler 208 does not low pass filter the near end Tx data samples 210 prior to decimation. Aliasing components that may be created are insignificant because the output of the downsampler 208 ( a ) simply drives the double talk detection logic 212 and is not transmitted to the far end.
- An energy estimator 214 estimates the background noise level of the decimated near end Tx data signal 208 ( a ) and forwards the estimated level to the double talk logic 212 .
- the energy estimator 212 may be a low pass filter with a long time constant, on the order of about 10 seconds. With a long time constant the energy estimator tends to track the minimum energy level of the decimated near end Tx data signal 208 ( a ).
- a second energy estimator 217 estimates the short term energy of the combined reference signal 237 ( a ).
- the double talk logic 212 selectively enables the adaptive filter 200 .
- the double talk logic 212 utilizes a sample based algorithm to detect the presence of near end speech without incurring the delays associated with conventional systems in accordance with the following equation:
- the double talk logic 212 declares near end speech active when the absolute value of the near end Tx data signal 210 is greater than the product of the hybrid gain (H) and a peak statistic of the combined reference signal 237 ( a ) summed with the estimated background noise of the decimated near end Tx data signal 210 .
- the hybrid gain is generally a constant less than about one-half.
- the background noise for a typical voice channel is on the order of about ⁇ 70 dBm which is far less than average active speech levels, which are typically on the order of about ⁇ 25 dBm.
- the background noise estimate is therefore initialized to a value of about ⁇ 70 dBm and thereafter periodically updated by the energy estimator 214 .
- the peak statistic of the combined reference signal is defined by the following logic:
- Peak(n) max ⁇ A*[
- Peak(n) d*Peak(n ⁇ 1)
- A is a weighting function that is greater than zero and less than or equal to one.
- the parameter L is the number of samples over which the maximum is determined, typically in the range of zero to one hundred and twenty eight samples. In the described exemplary embodiment L is on the order of about sixty four samples.
- the parameter d is a constant that is also greater than zero and less than or equal to one and on the order of about 0.99 in the described exemplary embodiment.
- the double talk logic applies a weighting factor A to the absolute value of the current sample (Refin(n)) and previous L samples (Ref in (n ⁇ L)). If the maximum product is greater than the previous peak statistic Peak(n ⁇ 1) then the current peak statistic Peak(n) is set at the maximum of the product of the weighting factor and far end samples. Otherwise the current peak statistic Peak(n) is set equal to d times the value of the previous peak statistic Peak(n ⁇ 1).
- A, L and d are empirically determined to optimize performance and computational. load for a given application. For example, double logic 212 can more accurately detect near end speech if the maximum is determined over a larger number of samples L. However, computational intensity also increases with increasing number of samples L. A and d can be inversely related to the number of sample L, so that A and d are smaller for larger number of samples and vice versa.
- the double talk logic 200 receives downsampled near end Tx data samples 208 ( a ) with negligible delay and can process near end Tx data samples prior to their′ arrival at the difference operator 206 .
- the delay associated with the second decimator 220 provides a look-ahead of M samples allowing the double talk logic 212 to disable adaptation of the adaptive filter 200 , M samples before the near-end signal reaches the difference operator- 206 .
- the look ahead capability M is equivalent to the delay associated with the second decimator 220 and is typically two to three 8 kHz samples for a ITU-T G712 compliant system.
- an interpolater 230 up-samples the signal from the far end (Rin) from 8 to 48 kHz.
- the interpolator 230 may be implemented with a FIR filter that may be either minimum phase or linear phase.
- a minimum phase filter is preferred for voice applications that require low group delay but may tolerate group delay distortion that may be introduced by the minimum phase filter.
- a metering pulse generator 232 may be used to generate metering pulses 232 ( a ) at a frequency of 12/16 kHz.
- a decimator 236 decimates or down samples the metering pulses 232 ( a ) so that the sample rate of the music signal matches the sample rate of the far end reference signal 202 ( a ), i.e. 8 kHz in the described exemplary embodiment.
- the decimated pulse metering tones 236 ( a ) are forwarded to the combiner 237 .
- the combiner 237 combines the decimated pulse metering tones 236 ( a ) and the far end reference signal 202 ( a ) into a single 8 kHz input 237 ( a ) for the adaptive filter 200 .
- the metering pulses are summed with the interpolated signal 230 ( a ) by summer 234 .
- a second interpolater 238 upsamples the summed signal output by the summer 234 from 48 to 96 kHz.
- the interpolator 238 may again be implemented with a FIR filter.
- a digital to analog converter 240 converts the digital interpolated signal to an analog signal which is then. transmitted to the near end. Reflections at the two—four wire conversion at the hybrid 166 may create an echo including metering tone echos and far end speech echo that is fed back to the near end.
- An analog to digital converter 242 receives analog near end voice samples and converts the received analog signal to a digital format.
- the decimator 220 downsamples the received digital near end Tx data signal 210 from 96 kHz to an 8 kHz rate.
- the decimator 220 can be implemented with a FIR filter.
- the decimated signal 204 along with the output of the adaptive filter 200 ( a ) are input to the difference operator 206 that cancels unwanted echo by subtracting the decimated signal 204 from the filter output signal 200 ( a ).
- the combiner 237 of FIG. 5 may include a first buffer 250 that receives the far end reference signal 202 ( a ) and a second buffer 252 that receives the decimated pulse metering tone 236 ( a ). Buffer outputs 250 ( a ) and 252 ( a ) are then combined in a third buffer 254 whose output 254 ( a ) is forwarded to the adaptive filter 200 .
- a single buffer could be used to directly combine the decimated metering tones 236 ( a ) and far end reference signal 202 ( a ).
- the adaptive filter 200 may be based upon a normalized least mean square algorithm (NLMS) as described in S. Haykin, Adaptive Filter Theory, and T. Parsons, Voice and Speech Processing, the contents of which are incorporated herein by reference as if set forth in full.
- NLMS normalized least mean square algorithm
- an error signal 206 ( a ) at the output of the difference operator 206 that is feedback to the adaptive filter 200 for filter adaptation may be characterized as follows:
- ⁇ ⁇ j 0 , 1 , 2 ⁇ ⁇ ... ⁇ ⁇ M + N + 1
- e(n) is the error signal 206 ( a ) at time n
- Ref in (n) is the combined reference signal 237 ( a ) at time n
- Tx(n) is the decimated Tx data signal 204 input into the difference operator 206 at time n
- w 11 (j) are the coefficients of the transversal filter W 11 .
- Ref in (0) is the most recent input 250 ( a ) from the first data buffer 250
- Ref in (M) is the oldest input from the first data buffer. Therefore, Ref n (M ⁇ j) is the output of buffer one 250 delayed by M ⁇ j samples.
- Ref in (M+1) is the most recent input 252 ( a ) from the second data buffer 252 and Ref in (M+N+1) is the oldest input from the second data buffer 252 .
- M and N are parameters that may be selected to match the electrical path. Therefore in one embodiment, the dimension of the transversal filter may be the worst case echo path length.
- the short term average energy of the reference signal E1ef is the sum of the last 32 reference samples so that the convergence gain may be given by:
- a is the adaptation step size and Eref is the sum of the squares of those samples Ref in (n) that are saved in the third buffer 254 .
- a is set to zero when near end voice is detected so that the convergence gain ⁇ is equal to zero and the filter coefficients are not updated. Otherwise a is set to a constant of less than one and preferably in the range of 0.8-0.95.
- the adaptive filter may be implemented in a variety of ways, including fixed point rather than the described floating point realization. Accordingly, the described exemplary adaptation logic is by way of example only and not by way of limitation.
- FIG. 7 shows a simplified schematic diagram of an exemplary stereo echo cancellation system that provides acoustic and electric echo cancellation.
- the acoustic echo may result from a communication device such as a hands free speaker phone having a near end microphone 330 exposed to a loudspeaker 329 driven by a far end signal or a secondary audio signal.
- Acoustic feedback problems may also occur when the near end microphone 330 picks up the far end loudspeaker signal or a second audio signal and redirects it back to the remote end. As a result, the remote party may hear a delayed version of their own speech or of the secondary audio signal.
- combiner 301 combines a downsampled secondary audio signal 340 ( a ) and far end reference signal 300 into a single 8 kHz combined reference signal 301 ( a ).
- the combined reference signal 301 ( a ) may then be input into a single 8 kHz adaptive filter 200 rather than using two adaptive filters, one at 8 kHz and the other at 48 kHz as described in connection with FIG. 5 . Therefore, the described* exemplary embodiment requires less memory and processing resources.
- the described exemplary adaptive filter 200 models the impulse response of the acoustic echo path, such as for example, between the loudspeaker 329 and microphone 330 in parallel with the impulse response between the transmit channel and the receive channel of the network interface.
- the adaptive filter 200 may be a linear transversal filter or other suitable finite impulse response filter.
- the adaptive filter 200 converges or adapts only in the absence of near end speech. Therefore, near end speech and/or noise present on a decimated near end signal 336 ( a ), typically referred to as the double talk condition, may cause the adaptive filter 200 to diverge.
- double talk logic 308 selectively enables the adaptive filter 200 .
- the described exemplary embodiment is not limited to a particular algorithm for detecting the double talk condition.
- the alternate stereo echo canceller may also utilize a sample based double talk detection algorithm to provide rapid detection of near end speech in the presence of far end speech.
- An exemplary sample based algorithm again includes a look ahead capability so that double talk logic may halt filter adaptation (i.e. freeze the filter taps or coefficients) before the near end speech samples reaches the difference operator 302 .
- a downsampler 304 decimates a 96 kHz near end Tx data signal 306 at a ratio of 12:1.
- the downsampler 304 forwards decimated near end data samples 304 ( a ) to double talk logic 308 at an 8 kHz sample rate.
- the downsampler 304 does not low pass filter the near end Tx data samples 306 prior to decimation. Aliasing components that may be created are insignificant in that the output of the downsampler 304 ( a ) simply drives the double talk detection logic 308 and is not transmitted to the far end.
- An energy estimator 310 estimates the background noise level of the decimated near end signal 304 ( a ) and forwards the estimated level to the double talk logic 308 .
- the energy estimator 310 may be a low pass filter with a long time constant, on the order of about 10 seconds. With a long time constant the energy estimator tends to track the minimum energy level of the decimated near end signal 304 ( a ).
- a second energy estimator 312 estimates the short term energy. of combined reference signal 301 ( a ).
- the adaptive filter models in parallel the transfer functions of each of the three possible echo paths. Specifically, the adaptive filter models the transfer function 400 of the electrical echo path resulting from reflections of the far end voice created by the impedance mismatch at the two-four wire conversion in the hybrid. The adaptive filter also models the transfer function of the acoustic echo path 402 between the secondary audio signal being broadcast by speaker 328 and the microphone 330 as well as the transfer function of the acoustic echo path 404 between the speaker 329 broadcasting the far end voice signal and the microphone 330 .
- the double talk logic 308 utilizes a sample based algorithm to detect the. presence of near end speech without incurring the delays associated with conventional systems in accordance with the following equation:
- the double talk logic 308 declares near end speech active when the absolute value of the near end Tx data signal 306 is greater than the weighted sum of the voice signal V(n), secondary audio signal M(n), and the background noise.
- a peak statistic of the voice signal V(n) 327 is multiplied by the maximum of either the acoustic gain of the acoustic voice echo path from the speaker 329 to the microphone 330 , or the gain of the electrical echo path caused by reflections at the hybrid.
- audio signals will attenuate rapidly as a function of distance from the speaker, typically on the order of about 6 db/ft.
- the microphone is physically isolated from the unit's speakers to maximize this attenuation.
- the hybrid gain on the other hand is generally a constant typically less than about one-half. Therefore, in most applications the hybrids gain will dominate for weighing the far end voice samples.
- a peak statistic of the secondary audio signal M(n) is multiplied by the acoustic gain of the acoustic echo path from the second speaker 328 to the microphone 330 .
- the background noise for a typical voice channel is on the order of about ⁇ 70 dBm which is far less than average active speech levels, which are typically in the order of about ⁇ 25 dBm.
- the background noise estimate is therefore initialized to a value of about ⁇ 70 dBm and thereafter periodically updated by the energy estimator 310 .
- the peak statistic of the voice V(n) and the secondary audio M(n) signals are defined by the following logic:
- Peak(n) max ⁇ A[
- Peak(n) d*Peak(n ⁇ 1)
- A is a weighting function that is greater than zero and less than or equal to one.
- the parameter L is the number samples over which the maximum is determined, typically in the range of zero to one hundred and twenty eight samples. In the described exemplary embodiment L is on the order of about sixty four samples.
- the parameter d is generally a constant that is also greater than zero and less than or equal to one and in the described exemplary embodiment on the order of about 0.99. Therefore, to determine the peak statistic of the far end, the double talk logic applies a weighting factor A to the absolute value of the current sample (V(n), M(n)) and previous L samples (V(n ⁇ L), M(n ⁇ L)).
- the current peak statistic Peak(n) is set at the maximum of the product of the weighting factor and far end samples. Otherwise the current peak statistic Peak(n) is set equal to d times the value of the previous peak statistic Peak(n ⁇ 1).
- A, L and d are empirically determined to optimize performance and computational load for a given application. For example, double logic 212 can more accurately detect near end speech if the maximum is determined over a larger number of samples L. However, computational intensity also increases with increasing number of samples L. A and d can be inversely related to the number of sample L, so that A and d are smaller for larger number of samples and vice versa.
- the double talk logic 308 receives downsampled near end Tx data samples 304 ( a ) with negligible delay and can process near end Tx data samples prior to their arrival at difference operator 302 .
- the delay associated with the second decimator 336 provides a look-ahead of N samples allowing the double talk logic 308 to disable adaptation of the adaptive filter 200 N samples before the near-end signal reaches the difference operator 302 .
- the look ahead capability N is equivalent to the delay associated with the second decimator 336 and is typically two to three 8 kHz samples for a ITU-T G712 compliant system.
- An interpolater 320 upsamples the far end signal from 8 to 96 kHz.
- the interpolator 320 may be implemented with a FIR filter that may be either minimum phase or linear phase.
- a digital to analog converter 322 converts the digital interpolated signal 320 ( a ) to an analog signal 327 that is then transmitted to the near end.
- an audio/music signal may be present on the far end signal resulting in near end acoustic feedback.
- the audio signal may result for example, from an integrated telephony-ready cable-set-top-box.
- the music signal 324 may be the result of a movie or a video game 326 playing out speaker 328 transmitted via a microphone 330 during a simultaneous two-way phone-call.
- the music signal 324 may act either as a noise source or as the near-end talker's voice.
- an acoustic echo may result if near end microphone 330 is exposed to the output of the loudspeaker 329 when the loudspeaker is driven by a far end signal.
- Analog near end samples 332 having audio/music feedback and far end speech echo are received by an analog to digital converter 334 that converts the received signal 332 into a digital format.
- a decimator 336 downsamples the received digital signal 306 from 96 kHz to a 8 kHz rate.
- the decimator 336 can be implemented with a FIR filter.
- the difference operator 302 cancels unwanted echo by subtracting the decimated signal 336 ( a ) from the filter output signal 200 ( a ).
- a decimator 340 may decimate the music signal 324 so that the sample rate of the music signal matches the sample rate of the far end reference signal 300 , i.e. 8 kHz in the described exemplary embodiment.
- Combiner 301 combines decimated music signal 340 ( a ) and the far end reference signal 300 into a single 8 kHz input 301 ( a ) to the adaptive filter 200 .
- an exemplary combiner 301 may again include a first buffer 350 that receives the far end reference signal 300 and a second buffer 352 that receives the decimated music signal 340 ( a ). Buffer outputs 350 ( a ) and 352 ( a ) are combined in a third buffer 354 whose output 354 ( a ) is forwarded to the adaptive filter 200 .
- a single buffer could be used to directly combine the decimated music signal 340 ( a ) and far end reference signal 300 .
- the adaptive filter may be a linear transversal filter or other suitable finite impulse response filter.
- the adaptive filter 200 may again be based upon a normalized least mean square algorithm (NLMS) as described in S. Haykin, Adaptive Filter Theory, and T. Parsons, Voice and Speech Processing.
- NLMS normalized least mean square algorithm
- the adaptive filter 200 may again use an error signal feedback control as previously described with regards to FIG. 5 .
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Telephone Function (AREA)
- Stereo-Broadcasting Methods (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
|Near|>H*Peak{|Ref in(n)|}+Background Noise(n)
where e(n) is the error signal 206(a) at time n, Refin(n) is the combined reference signal 237(a) at time n, Tx(n) is the decimated Tx data signal 204 input into the
W n(j)=w n(j)+μ*e(n)*Ref in(n−j)
wherein w11(j) is preferably initialized to a reasonable value such as for example zero.
|Near|>MAX{H a
Claims (20)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/824,404 US8433060B2 (en) | 2000-03-15 | 2010-06-28 | Method and system for stereo echo cancellation for VoIP communication systems |
US13/872,972 US8750493B2 (en) | 2000-03-15 | 2013-04-29 | Method and system for stereo echo cancellation for VoIP communication systems |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18971300P | 2000-03-15 | 2000-03-15 | |
US09/703,264 US7747002B1 (en) | 2000-03-15 | 2000-10-31 | Method and system for stereo echo cancellation for VoIP communication systems |
US12/824,404 US8433060B2 (en) | 2000-03-15 | 2010-06-28 | Method and system for stereo echo cancellation for VoIP communication systems |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/703,264 Continuation US7747002B1 (en) | 2000-03-15 | 2000-10-31 | Method and system for stereo echo cancellation for VoIP communication systems |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/872,972 Continuation US8750493B2 (en) | 2000-03-15 | 2013-04-29 | Method and system for stereo echo cancellation for VoIP communication systems |
Publications (2)
Publication Number | Publication Date |
---|---|
US20100266118A1 US20100266118A1 (en) | 2010-10-21 |
US8433060B2 true US8433060B2 (en) | 2013-04-30 |
Family
ID=26885428
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/703,264 Expired - Fee Related US7747002B1 (en) | 2000-03-15 | 2000-10-31 | Method and system for stereo echo cancellation for VoIP communication systems |
US12/824,404 Expired - Fee Related US8433060B2 (en) | 2000-03-15 | 2010-06-28 | Method and system for stereo echo cancellation for VoIP communication systems |
US13/872,972 Expired - Fee Related US8750493B2 (en) | 2000-03-15 | 2013-04-29 | Method and system for stereo echo cancellation for VoIP communication systems |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/703,264 Expired - Fee Related US7747002B1 (en) | 2000-03-15 | 2000-10-31 | Method and system for stereo echo cancellation for VoIP communication systems |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/872,972 Expired - Fee Related US8750493B2 (en) | 2000-03-15 | 2013-04-29 | Method and system for stereo echo cancellation for VoIP communication systems |
Country Status (6)
Country | Link |
---|---|
US (3) | US7747002B1 (en) |
EP (1) | EP1264418B1 (en) |
AT (1) | ATE280453T1 (en) |
AU (1) | AU2001247463A1 (en) |
DE (1) | DE60106582T2 (en) |
WO (1) | WO2001069810A2 (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7747002B1 (en) * | 2000-03-15 | 2010-06-29 | Broadcom Corporation | Method and system for stereo echo cancellation for VoIP communication systems |
US7433463B2 (en) * | 2004-08-10 | 2008-10-07 | Clarity Technologies, Inc. | Echo cancellation and noise reduction method |
WO2007077536A1 (en) | 2006-01-06 | 2007-07-12 | Koninklijke Philips Electronics N.V. | Acoustic echo canceller |
JP4312227B2 (en) * | 2006-11-21 | 2009-08-12 | 富士通株式会社 | Echo processing method and apparatus |
US8634569B2 (en) | 2010-01-08 | 2014-01-21 | Conexant Systems, Inc. | Systems and methods for echo cancellation and echo suppression |
US8478359B2 (en) | 2010-06-04 | 2013-07-02 | Apple Inc. | User interface tone echo cancellation |
WO2012094528A1 (en) | 2011-01-05 | 2012-07-12 | Conexant Systems, Inc., A Delaware Corporation | Systems and methods for stereo echo cancellation |
US9275625B2 (en) * | 2013-03-06 | 2016-03-01 | Qualcomm Incorporated | Content based noise suppression |
JP6064927B2 (en) * | 2014-02-10 | 2017-01-25 | ソニー株式会社 | Audio device, audio processing method, audio processing program, audio output method, and audio output program |
US9607627B2 (en) * | 2015-02-05 | 2017-03-28 | Adobe Systems Incorporated | Sound enhancement through deverberation |
US10361748B2 (en) * | 2017-01-16 | 2019-07-23 | Futurewei Technologies, Inc. | Multi-stage echo cancelation scheme to run FDX in coax cable plant |
US10998863B2 (en) | 2017-10-16 | 2021-05-04 | Analog Devices, Inc. | Power amplifier with nulling monitor circuit |
US10602270B1 (en) * | 2018-11-30 | 2020-03-24 | Microsoft Technology Licensing, Llc | Similarity measure assisted adaptation control |
US11039015B2 (en) * | 2019-03-20 | 2021-06-15 | Zoom Video Communications, Inc. | Method and system for facilitating high-fidelity audio sharing |
CN110138990A (en) * | 2019-05-14 | 2019-08-16 | 浙江工业大学 | A method of eliminating mobile device voip phone echo |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3433898A (en) | 1965-09-17 | 1969-03-18 | Automatic Elect Lab | Telephone pulse metering system |
US4922530A (en) * | 1988-03-18 | 1990-05-01 | Tellabs, Inc. | Adaptive filter with coefficient averaging and method |
EP0501451A2 (en) | 1991-02-27 | 1992-09-02 | Nec Corporation | Method and arrangement for generating tap-coefficients updating inhibit signal in speakerphone |
US5396517A (en) | 1993-03-04 | 1995-03-07 | Adtran | Transversal filter useable in echo canceler, decision feedback equalizer applications for minimizing non-linear distortion in signals conveyed over full duplex two-wire communication link |
US5570295A (en) | 1994-03-18 | 1996-10-29 | Lucent Technologies Inc. | System and method of capturing encoded data transmitted over a communications network in a video system |
US5600714A (en) * | 1994-01-14 | 1997-02-04 | Sound Control Technologies, Inc. | Conference telephone using dynamic modeled line hybrid |
US5706344A (en) * | 1996-03-29 | 1998-01-06 | Digisonix, Inc. | Acoustic echo cancellation in an integrated audio and telecommunication system |
US5732134A (en) | 1994-02-28 | 1998-03-24 | Qualcomm Incorporated | Doubletalk detection by means of spectral content |
FR2762467A1 (en) | 1997-04-16 | 1998-10-23 | France Telecom | MULTI-CHANNEL ACOUSTIC ECHO CANCELLATION METHOD AND MULTI-CHANNEL ACOUSTIC ECHO CANCELLATOR |
US5905717A (en) | 1995-11-29 | 1999-05-18 | Nec Corporation | Echo canceller for a packet signal |
US6252900B1 (en) | 1997-06-30 | 2001-06-26 | Integrated Telecom Express, Inc. | Forward compatible and expandable high speed communications system and method of operation |
US7023812B1 (en) | 2000-02-15 | 2006-04-04 | Siemens Communications, Inc. | System and method for improving modem transmission through private branch exchanges, central offices, and other systems |
US7747002B1 (en) | 2000-03-15 | 2010-06-29 | Broadcom Corporation | Method and system for stereo echo cancellation for VoIP communication systems |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5330800A (en) * | 1992-11-04 | 1994-07-19 | Hughes Aircraft Company | High impedance plasma ion implantation method and apparatus |
US5928527A (en) * | 1996-04-15 | 1999-07-27 | The Boeing Company | Surface modification using an atmospheric pressure glow discharge plasma source |
US6224447B1 (en) * | 1998-06-22 | 2001-05-01 | Micron Technology, Inc. | Electrode structures, display devices containing the same, and methods for making the same |
US7329991B2 (en) * | 2001-01-17 | 2008-02-12 | Matsushita Electric Industrial Co., Ltd. | Plasma display panel provided with thinned crystal phosphor material and its corresponding method of manufacturing |
BRPI0707857B1 (en) * | 2006-02-17 | 2018-06-26 | Hypertherm, Inc. | ELECTRODE FOR A CONTACT DEPARTURE PLASMA BOW CLEANER AND CONTACT DEPARTURE PLASMA BOW CUTTER USING SUCH ELECTRODES |
-
2000
- 2000-10-31 US US09/703,264 patent/US7747002B1/en not_active Expired - Fee Related
-
2001
- 2001-03-15 WO PCT/US2001/008363 patent/WO2001069810A2/en active IP Right Grant
- 2001-03-15 EP EP01920406A patent/EP1264418B1/en not_active Expired - Lifetime
- 2001-03-15 AT AT01920406T patent/ATE280453T1/en not_active IP Right Cessation
- 2001-03-15 AU AU2001247463A patent/AU2001247463A1/en not_active Abandoned
- 2001-03-15 DE DE60106582T patent/DE60106582T2/en not_active Expired - Lifetime
-
2010
- 2010-06-28 US US12/824,404 patent/US8433060B2/en not_active Expired - Fee Related
-
2013
- 2013-04-29 US US13/872,972 patent/US8750493B2/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3433898A (en) | 1965-09-17 | 1969-03-18 | Automatic Elect Lab | Telephone pulse metering system |
US4922530A (en) * | 1988-03-18 | 1990-05-01 | Tellabs, Inc. | Adaptive filter with coefficient averaging and method |
EP0501451A2 (en) | 1991-02-27 | 1992-09-02 | Nec Corporation | Method and arrangement for generating tap-coefficients updating inhibit signal in speakerphone |
US5396517A (en) | 1993-03-04 | 1995-03-07 | Adtran | Transversal filter useable in echo canceler, decision feedback equalizer applications for minimizing non-linear distortion in signals conveyed over full duplex two-wire communication link |
US5600714A (en) * | 1994-01-14 | 1997-02-04 | Sound Control Technologies, Inc. | Conference telephone using dynamic modeled line hybrid |
US5732134A (en) | 1994-02-28 | 1998-03-24 | Qualcomm Incorporated | Doubletalk detection by means of spectral content |
US5570295A (en) | 1994-03-18 | 1996-10-29 | Lucent Technologies Inc. | System and method of capturing encoded data transmitted over a communications network in a video system |
US5905717A (en) | 1995-11-29 | 1999-05-18 | Nec Corporation | Echo canceller for a packet signal |
US5706344A (en) * | 1996-03-29 | 1998-01-06 | Digisonix, Inc. | Acoustic echo cancellation in an integrated audio and telecommunication system |
FR2762467A1 (en) | 1997-04-16 | 1998-10-23 | France Telecom | MULTI-CHANNEL ACOUSTIC ECHO CANCELLATION METHOD AND MULTI-CHANNEL ACOUSTIC ECHO CANCELLATOR |
US6556682B1 (en) | 1997-04-16 | 2003-04-29 | France Telecom | Method for cancelling multi-channel acoustic echo and multi-channel acoustic echo canceller |
US6252900B1 (en) | 1997-06-30 | 2001-06-26 | Integrated Telecom Express, Inc. | Forward compatible and expandable high speed communications system and method of operation |
US7023812B1 (en) | 2000-02-15 | 2006-04-04 | Siemens Communications, Inc. | System and method for improving modem transmission through private branch exchanges, central offices, and other systems |
US7747002B1 (en) | 2000-03-15 | 2010-06-29 | Broadcom Corporation | Method and system for stereo echo cancellation for VoIP communication systems |
Non-Patent Citations (3)
Title |
---|
Communication Relating to the Results of the Partial International Search for Application No. PCT/US01/08363, filed Mar. 15, 2001. |
International Preliminary Examination Report from the European Patent Office for International Application No. PCT/US2001/08363, dated Apr. 3, 2002, 2 pages. |
Office Action for European Patent Appl. No. 01 920 406.4, mailed Jul. 18, 2003, 6 pgs. |
Also Published As
Publication number | Publication date |
---|---|
US20130236004A1 (en) | 2013-09-12 |
WO2001069810A2 (en) | 2001-09-20 |
US8750493B2 (en) | 2014-06-10 |
AU2001247463A1 (en) | 2001-09-24 |
EP1264418B1 (en) | 2004-10-20 |
DE60106582T2 (en) | 2005-12-01 |
US7747002B1 (en) | 2010-06-29 |
ATE280453T1 (en) | 2004-11-15 |
DE60106582D1 (en) | 2004-11-25 |
WO2001069810A3 (en) | 2002-05-23 |
US20100266118A1 (en) | 2010-10-21 |
EP1264418A2 (en) | 2002-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8750493B2 (en) | Method and system for stereo echo cancellation for VoIP communication systems | |
US6961422B2 (en) | Gain control method for acoustic echo cancellation and suppression | |
EP0914721B1 (en) | Echo canceler for non-linear circuits | |
US6442272B1 (en) | Voice conferencing system having local sound amplification | |
EP2229011B1 (en) | Hearing assistance devices with echo cancellation | |
KR0158449B1 (en) | Echo-canceller suppressor speakerphone | |
US6532289B1 (en) | Method and device for echo suppression | |
JPS61502581A (en) | Full duplex speaker horn for radio and landline telephones | |
WO1995019085A1 (en) | Echo canceller using a center clipper with threshold set according to estimated echo | |
US20020101982A1 (en) | Line echo canceller scalable to multiple voice channels/ports | |
US6049606A (en) | Circuit and method of double talk detection for use in handsfree telephony terminals | |
US6108412A (en) | Adaptive echo cancelling system for telephony applications | |
US5875246A (en) | Distributed audio signal processing in a network experiencing transmission delay | |
US6608897B1 (en) | Double-talk insensitive NLMS algorithm | |
JP2861888B2 (en) | Echo / noise canceller and echo / noise elimination method | |
US8737601B2 (en) | Echo canceller | |
US6408070B2 (en) | Method and apparatus for echo control in a communication system | |
JP2002280938A (en) | Echo canceller | |
JPH0459812B2 (en) | ||
JP3355594B2 (en) | Echo canceller device | |
Vaseghi et al. | Echo Cancellation | |
JPH0514476A (en) | Loudspeaker telephone set | |
JPS6216624A (en) | Conference call transmitting and receiving device of two-wire line |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: BROADCOM CORPORATION, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:THI, JAMES C.H.;RABENKO, THEODORE F.;SIGNING DATES FROM 20001122 TO 20001205;REEL/FRAME:024601/0355 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
AS | Assignment |
Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001 Effective date: 20160201 Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:037806/0001 Effective date: 20160201 |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
AS | Assignment |
Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD., SINGAPORE Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001 Effective date: 20170120 Owner name: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BROADCOM CORPORATION;REEL/FRAME:041706/0001 Effective date: 20170120 |
|
AS | Assignment |
Owner name: BROADCOM CORPORATION, CALIFORNIA Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS;ASSIGNOR:BANK OF AMERICA, N.A., AS COLLATERAL AGENT;REEL/FRAME:041712/0001 Effective date: 20170119 |
|
AS | Assignment |
Owner name: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITE Free format text: MERGER;ASSIGNOR:AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.;REEL/FRAME:047230/0133 Effective date: 20180509 |
|
AS | Assignment |
Owner name: AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE. LIMITE Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE EFFECTIVE DATE OF MERGER TO 09/05/2018 PREVIOUSLY RECORDED AT REEL: 047230 FRAME: 0133. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER;ASSIGNOR:AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.;REEL/FRAME:047630/0456 Effective date: 20180905 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20210430 |