AU2005242180B2 - Improved system and method for implementation of an echo canceller - Google Patents

Improved system and method for implementation of an echo canceller Download PDF

Info

Publication number
AU2005242180B2
AU2005242180B2 AU2005242180A AU2005242180A AU2005242180B2 AU 2005242180 B2 AU2005242180 B2 AU 2005242180B2 AU 2005242180 A AU2005242180 A AU 2005242180A AU 2005242180 A AU2005242180 A AU 2005242180A AU 2005242180 B2 AU2005242180 B2 AU 2005242180B2
Authority
AU
Australia
Prior art keywords
attenuation
value
acoustic
attenuation factor
factor
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.)
Ceased
Application number
AU2005242180A
Other versions
AU2005242180A1 (en
Inventor
Samir K Gupta
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qualcomm Inc
Original Assignee
Qualcomm Inc
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
Priority claimed from AU34606/01A external-priority patent/AU3460601A/en
Application filed by Qualcomm Inc filed Critical Qualcomm Inc
Priority to AU2005242180A priority Critical patent/AU2005242180B2/en
Publication of AU2005242180A1 publication Critical patent/AU2005242180A1/en
Application granted granted Critical
Publication of AU2005242180B2 publication Critical patent/AU2005242180B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

n Regulation 3.2
O
CN AUSTRALIA 0 PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT o ORIGINAL In Name of Applicant: Qualcomm Incorporated Actual Inventor/s: Samir K Gupta Address for Service: MADDERNS, 1st Floor, 64 Hindmarsh Square, Adelaide, South Australia, Australia Invention title: IMPROVED SYSTEM AND METHOD FOR IMPLEMENTATION OF AN ECHO CANCELLER The following statement is a full description of this invention, including the best method of performing it known to us.
(PatAU131 tfl IMPROVED SYSTEM AND METHOD FOR IMPLEMENTATION OF AN ECHO CANCELLER 0 Background of the Invention I. Field of the Invention The present invention relates generally to echo cancellers. More particularly, the present invention relates to a novel and improved system and method for reducing the chopiness heard in full-duplex systems that use echo cancellers. The teachings of the present invention apply to acoustic echo cancellers, as well as to echo cancellers in networks and other non-acoustic systems.
II. Descrip~tion of the Related Art Acoustic echo-cancellers (AEC) are used in teleconferencing and handsfree telephony applications to eliminate acoustic feedback between a loudspeaker and a microphone. In a cellular telephone system where the driver uses a hands-free telephone, acoustic echo cancellers are used in the mobile station to provide full-duplex communications. A block diagram of a traditional acoustic echo canceller is illustrated in FIG. 1.
For reference purposes, the driver is the near-end talker with input speech signal v(n) and the person at the other end of the connection is the farend talker with input digital speech signal The speech of the far-end talker is broadcast out of loudspeaker 2 in the mobile telephone. If this speech is picked up by microphone 10, the far-end talker hears an annoying echo of his or her own voice. The output of microphone 10, is a digital signal. Typically the functions performed by microphone 10 may be accomplished by a 2 0 microphone, which would convert the audio signal to an analog electrical signal and an analog to digital converter. The AEC identifies the impulse response between speaker 2 and microphone 10, generates a replica of the echo O using adaptive filter 14, and subtracts it in summer 12 from the microphone output, to cancel the far-end talker echo Since the adaptive filter 00 Scannot generally remove all of the echo, some form of echo suppression Sprovided by residual echo suppression element 18 a non-linear post O processor) is typically employed to remove any residual echo.
In FIG. 1, the far end talker echo signal y(n) is illustrated as the output of an acoustic echo path element 4, which is an artifact of the proximity of the loudspeaker 2 and microphone 10. To the far end talker echo signal y(n) is added noise signal w(n) and near-end speech signal illustrated by summing elements 6 and 8 respectively. It should be noted that summing elements 6 and 8 and acoustic echo path 4 are artifacts of the mobile environment and are presented for illustrative purposes.
Adaptive filter 14 uses the far-end speech x(n) as a reference signal. If adaptive filter 14 is allowed to adapt in the presence of the near-end speech will be added to the error signal which drives the filter tap coefficient adaptation, corrupting the estimate of acoustic echo path 4. It is therefore necessary to disable coefficient adaptation when both talkers are speaking, a condition referred to as doubletalk. During doubletalk, residual echo suppression element 18 must also be disabled to prevent corruption of the near-end speech. A doubletalk detector (not shown) typically detects the 3 I presence of doubletalk and provides control signals to disable adaptive filter 14 and residual echo suppression element 18 when doubletalk is present.
q As shown in FIG. 2, in prior art echo cancellation systems, residual echo supression element 18 functions to cancel any residual echo by muting gating-off) its output whenever an echo is detected by the adaptive filter 14.
00 This aspect of element 18 is shown in portion of FIG. 2. The upper half of portion of FIG.2 illustrates the detection of an echo condition resulting from acoustic feedback between loudspeaker 2 and a microphone 10 when the word "HELLO" is spoken by a far-end talker. The lower half of portion of FIG. 2 shows that, as soon as the echo is detected at the output of element 18 is muted-off entirely. Thereafter, as soon as the echo ceases to be present at t 2 the output of element 18 is unmuted.
In addition, in instances where the output of residual echo supression element 18 is muted because adaptive filter 14 has detected an echo and the double-talk detector simultaneouesly detects double-talk, residual echo supression element 18 will unmute its output during the double-talk period.
This aspect of element 18 is shown in portion of FIG. 2. The upper half of portion of FIG.2 illustrates the detection of a double-talk condition at t, at a time when the output of element 18 is being muted as a result of the detection of an echo condition between t, and The double-talk condition results from simultaneous speech by the far-end and near-end talkers the near-end talker is saying "HI" during the time that the far-end talker is saying "HELLO"). The lower half of portion of FIG. 2 shows that, as soon as the double-talk is detected at the output of element 18 is unmuted. Thereafter, as 4 soon as the double-talk condition ceases to beprsnatthouutf NI element 18 is muted again. The output of element 18 remains fully muted until the echo resulting from the word "HELLO" spoken by the far end talker ceases at t 6.Aas soon as the echo ceases to be present at the output of element 18 is unmuted.
00 Portion of FIG. 2 similarly illustrates an example where the output of ci element 18 remains unmuted when a double-talk condition is detected between C) t, and y. Thereafter, as soon as the double-talk condition ceases to be present at the output of element 18 is muted again because of an ongoing echo condition. The output of element 18 remains fully muted until this echo condition ceases at thereby causing muting of the word "TUP" from the nearend talker between t. anid As soon as the echo ceases to be present at the output of element 18 is unmuted.
Referring still to the prior art system of Figure 1, when the echo component y(n) dominates the near-end speech signal v(n) during particular periods, the near-end speech will be muted out by element 18. This situation can result in an undesireable chopiness in the audible signal heard by the user.
One purpose of the present invention is smooth this chopiness, which can be unpleasant and annoying to the user.
In addition to be annoying to the user, this chopiness often results in the presentation of an uinsmooth energy curve to the vocoder used for encoding the near-end speech signal. In applications where variable rate vocoders are used, the chopiness in the energy curve can cause the vocoder to transmit at the full data rate more often than is necessary, thereby wasting limited system capacity.
Thus, it is a further object of the present invention to present a smoother energy curve to the vocoder, thereby improving its performance.
O
SUMMARY OF THE INVENTION 0 In a first aspect, the present invention accordingly provides a method of o00 cancelling an echo signal, including the steps of: a) providing an input waveform to an acoustic processor; b) determining whether said input waveform includes information c, 10 representative of said echo signal; and c) forming an output waveform by attenuating a residual waveform with said acoustic processor if said input waveform includes information representative of said echo signal, wherein forming the output waveform includes: calculating an attenuation threshold as a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response, wherein said residual waveform is attenuated by an attenuation factor that gradually changes from an initial attenuation value to a final attenuation value during said attenuating.
In a second aspect, the present invention accordingly provides a method for adjusting an acoustic signal from a muted state to an unmuted state by varying an attenuation factor applied to an acoustic signal by an acoustic processor, including the steps of: a) providing said acoustic signal to an acoustic processor; b) forming an output waveform from said processor by adjusting said attenuation factor from the muted state to a first attenuation value associated with said unmuted state; and c) after said attenuation factor is adjusted to said first attenuation value in step forming said output waveform by gradually changing said attenuation factor from said first attenuation value to a second attenuation value, wherein forming the output waveform includes: calculating an attenuation threshold as a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, 00 and a prediction gain for a filter; ccomparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response, S 10 wherein said input waveform is attenuated by a smaller amount when said second attenuation value is applied to said acoustic signal than when said first attenuation value is applied to said acoustic signal.
In a third aspect, the present invention accordingly provides a system for cancelling an echo signal in a code-division-multiple-access modulated signal, including: an acoustic processor that receives an input waveform; an adaptive filter that determines whether said input waveform includes information representative of said echo signal; and said acoustic processor including a variable attenuator that forms an output waveform by attenuating a residual waveform if said input waveform includes information representative of said echo signal; wherein said variable attenuator attenuates said residual waveform by an attenuation factor that gradually changes from an initial attenuation value to a final attenuation value if said input waveform includes information representative of said echo signal, wherein said acoustic processor forms an output waveform by: calculating an attenuation threshold as a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response.
C-I
In a fourth aspect, the present invention accordingly provides a system for adjusting an acoustic signal from a muted state to an unmated state by varying an attenuation factor applied to an acoustic signal by an acoustic processor, including: 0an acoustic processor that receives an acoustic signal; 00 said acoustic processor including a variable attenuator that forms an output waveform by first adjusting said attenuation factor from the muted state to a first Sattenuation value associated with said non-muted state and, after said attenuation factor c, 10 is adjusted to said first attenuation value, forming said output waveform by gradually changing said attenuation factor from said first attenuation value to a second attenuation value; wherein said acoustic processor calculates an attenuation threshold, compares the attenuation threshold to said attenuation factor, and adjusts the attenuation factor in response; wherein the attenuation threshold is a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; wherein said input waveform is attenuated by a smaller amount when said second attenuation value is applied to said acoustic signal than when said first attenuation value is applied to said acoustic signal.
In a fifth aspect, the present invention accordingly provides an apparatus for cancelling an echo signal, including: means for providing an input waveform to an acoustic processor; means for determining whether said input waveform includes information representative of said echo signal; and means for forming an output waveform by attenuating a residual waveform with said acoustic processor if said input waveform includes information representative of said echo signal, wherein forming the output waveform includes: O calculating an attenuation threshold as a function of an energy estimate of the ("4 o input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response, 0 wherein said residual waveform is attenuated by an attenuation factor that gradually 00oO Schanges from an initial attenuation value to a final attenuation value during said Sattenuating.
cN 10 BRIEF DESCRIPTION OF THE DRAWINGS The features, objects and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout and wherein: SFigure 1 is a block diagram of a prior art acoustic echo canceller.
SFigure 2 is a timing diagram showing the operation of the prior art Sresidual echo supression element shown in Figure 1.
00 0 5 Figure 3 is a block diagram of a novel non-linear post processor that Ci functions in accordance with a preferred embodiment of the present invention.
Figure 4 is a flow diagram showing the method of operation of the nonlinear post processor shown in Figure 3.
Figure 5 is a timing diagram showing the operation of the non-linear post-processor shown in Figure 3 in instances where echo and double-talk conditions are present.
Figure 6 is a timing diagram showing the operation of the non-linear post-processor of Figure 3 when bursty noise is present at the far-end talker.
Detailed Description of the Preferred Embodiments Referring now to Figure 3, there is shown a block diagram of an acoustic processor 300 that functions in accordance with a preferred embodiment of the present invention. Acoustic processor 300 is a non-linear post processor that accepts as its input, for example, the error signal e(n) described above in connection with Figure 1. Acoustic processor 300 includes a switch 310 for varying the state of the processor between an off state and an up/down state. When acoustic processor 300 is operating in its off state, the input signal e(n) is applied to a muting means 320 which functions to O completely gate-off the input signal, thereby producing an output signal at the Soutput of processor 300 that is entirely muted off. When acoustic processor 300 is operating in its up/down state, the input signal e(n) is applied to a variable attentuator 330 which produces an output signal by partially attenuating the 00 5 input signal. The attenuation factor that is applied to the input signal by the variable attenuator 330 is calculated and adjusted using method 400 shown in Figure 4. As explained more fully below, the variable attenuator 330 has three states, namely UP, DOWN and OFF. These states are alternatively used depending on whether the variable attenuator is ramping-up the attenuation factor being applied to the input signal ramping-down the attenuation factor that is being applying to the input signal or off.
Referring now to Figure 4, there is shown a flow diagram illustrating a method 400 of operation of the acoustic processor shown in Figure 3. Method 400 is used to control switch 310 (thereby switching the processor between its off and up/down states) and to vary the attenuation factor applied to the input signal by the variable attenuator 330. Method 400 may be implemented in software using controller 340 in acoustic processor 300. Method 400 is particularly well-suited for controlling an acoustic processor used for processing signals sent between a base station and a mobile telephone using CDMA modulation. The use of CDMA techniques in a multiple access communication system is well known and disclosed, for example, in U.S. Pat.
No. 4,901,307, entitled "SPREAD SPECTRUM MULTIPLE ACCESS COMMUNICATION SYSTEM USING SATELLITE OR TERRESTRIAL 9 REPEATERS," assigned to the assignee of the present invention and Sincorporated by reference herein.
SReferring still to Figure 4, in step 402, the system tests whether processor 300 is about to begin attenuating the input signal Step 402 will determine that attenuation of the input signal e(n) is about to begin, for example, when an 00oO echo condition is first detected by adaptive filter 14, when bursty noise is present at the far-end talker or when an echo condition remains present Sfollowing the end of a double-talk period. If a determination is made in step 402 that the attenuating of the input signal is about to begin, then processing proceeds to step 404 where the state of processor 300 is set to up/down switch 310 directs the input signal to variable attenuator 330), the state of variable attenuator is set to UP, and the current value of the attenuation factor applied to the input signal by attenuator 330 is set to 0 db. Next, in step 406, the current value of the attenuation factor is compared to a threshold kup which is calculated in accordance with equation below: K.p a 232* bnS Gprr,) (12 E)) 0 5 (1) where E represents an energy estimate of the input waveform e(n) over M samples, bnS is a background noise scale value associated with the uniformly distributed random noise generator used for generating and Gpr is the prediction gain of a LPC shaping filter associated with the CDMA modulation used for transmission and reception of the speech signal x(n) between a base station and a mobile station. The constant o: is preferably set to 1.0. In alternate embodiments where it is desirable to cause the attenuation of e(n) to ramp-up more quickly, o will preferably be set to a value greater than 1.0. The values bnS and Gpred are preferably calculated as set forth in U.S. Patent No. 5,646,691, entitled "Noise Replacement Ssytm in an Echo Canceller," incorporated herein Sby reference.
00 5 If in step 406 it is determined that the current value of the attenuation factor is not less than threshold then processing proceeds back to step S402. In cases where a determination was made in the previous iteration of step 402 that the attenuating of the input signal e(n) was about to begin, the current state of variable attenuator 330 will be set to UP, the testing in step 402 will return a NO value and the testing in step 408 (which tests to determine if attenuation of the input signal has just ended) will similarly return a NO value.
In such cases, processing thereafter proceeds to step 410 which tests to determine if the current state of the variable attenuator is UP. If the current state of the variable attenuator is UP, then in step 412 the current value of the attenuation factor applied to the input signal is ramped-up. In a preferred embodiment, the attenuation factor is ramped-up an amount equal to -1.5 db msec interval; however, it will be understood by those skilled in the art that the ramp-up amount applied to k in each iteration of step 412 is a matter of design choice and may be greater or less than -1.5 db per step. Next, in step 406, the current value of the attenuation factor is compared to the threshold If in step 406 it is determined that the current value of the attenuation factor is not less than threshold kp then the processing loop described above continues to repeat until, as a result of repeated ramping of the value of k in 11 step 412, the current value of the attenuation factor is determined to be less Nthan the threshold ku in step 406.
SWhen the current value of the attenuation factor is determined to be less than the max of the threshold kup or gamma gamma 30dB) in step 00 5 406, then in steps 414 and 416, the state of processor 300 is changed from its up/down to its off state switch 310 redirects the input signal from variable attenuator 330 to muting means 320), the current value of the attenuation factor is reset to 0, and the state of variable attenuator 330 is set to OFF.
Thus, in cases where the attenuating of the input signal e(n) is initiated because, for example, an echo condition is first detected by adaptive filter 14, bursty noise is present at the far-end talker or an echo condition remains present following the end of a double-talk period, the attenuation is ramped-up gradually (in a step-wise manner at -1.5 db 5 msec interval) until the current value of the attenuation factor reaches at which point the input signal is entirely muted. An example of this aspect of the invention is illustrated in Figure 5 which shows the gradual ramping-up of the attenuation factor (k) starting at t, when an echo condition first begins. The gradual ramping-up of the attenuation factor continues from t 1 until when the value of the attenuation factor reaches k.P. Immediately following t 2 the variable attenuator 330 is turned off and the input signal is entirely muted gatedoff). By gradually ramping-up the attentuation factor prior to gating-off the input signal at t 2 the present invention substantially reduces the "chopiness" in the audible signal that is typically heard by users of prior art echo cancellers.
12 The gradual ramping-up of the attenuation factor when an echo condition first begins is also shown as occuririg from t, to t, in Figure In Figure 5 there is also shown an example of the operation of the present invention in a case where an echo condition remains present following the end 0_ 5 of a double-talk period. In particular, at the double-talk condition resulting from simultaneous uttering of "HEY" (by the far-end talker) and the beginning 0 of the phrase "WHATS UP" by the near-end talker, ceases to exist. However, at this same time, an echo condition remains as a result of, for example, acoustic coupling of speaker 2 and microphone 10. Gradual ramping-up of the attenuation factor starts at ti, when the double-talk period ends and the echo condition remains present. The gradual ramping-up of the attenuation factor continues from t 1 until t2, when the value of the attenuation factor (k) reaches k.P Immediately following t, the variable attenuator 330 is turned off and the input signal is entirely muted gated-off). Significantly by gradually ramping-up the attentuation prior to gating-off the input signal at t 12 the present invention permits the portion of the phrase "WHAT'S UP" (from the near-end talker) remaining after cessation of the double-talk period to be transmitted through processor 300, albeit in a partially attenuated form. This result stands in contrast to that achieved by prior art residual echo suppression element 18 (shown in Figure 2) which, in the identical situation, would entirely gate-off the input signal following cessation of the double-talk period (cessation of the double-talk period occurs at t% in Figure 2) thereby precluding any portion of the phrase "WHAT'S UP" (from the near-end talker) remaining after 13 o cessation of the double-talk period to be transmitted through to the far-end O talker. In addition, by gradually ramping-up the attentuation factor prior to Sgating-off the input signal at the present invention substantially reduces the "chopiness" in the audible signal that is typically heard by users of prior art echo cancellers.
00 Referring again to Figure 4, in step 408, the system tests whether Sprocessor 300 is about to cease muting the input signal Step 408 will determine that the attenuation of the input signal e(n) is about to cease, for example, when adaptive filter 14 determines that a previously detected echo condition is no longer present, when previous bursty noise at the far-end talker ceases to be present or when a double-talk period begins during the existence of an echo condition. If a determination is made in step 408 that the attenuating of the input signal is about to cease, then processing proceeds to step 418 where the state of the variable attenuator is changed to DOWN. In step 420, the system tests to determine if the previous state of the variable attenuator 330 was UP. If so, processing proceeds to step 422 where the state of processor 300 is set to up/down switch 310 directs the input signal to variable attenuator 330), and the current value of the attenuation factor applied to the input signal by attenuator 330 is set to kdo, where kdo is calculated in accordance with equation below: kd. 2n* bnS Gp,) (12 5 (2) where E represents an energy estimate of the input waveform over M samples, bnS is a background noise scale value for the uniformly distributed random 14 C noise generator used for generating and Gpred is the prediction gain of a LPC shaping filter associated with the CDMA modulation used for transmission and reception of the speech signal x(n) between a base station and Sa mobile station. The constant B is preferably set to 1.0. In alternate embodiments where it is desirable to cause the attenuation of e(n) to ramp- 00oO C down more quickly, B will preferably be set to a value greater than Next, processing proceeds back to step 402. In cases where a determination was made in the previous iteration of step 408 that the attenuating of the input signal e(n) was about to cease, the current state of variable attenuator 330 will be set to DOWN, the testing in step 402 will return a NO value and the testing in step 408 will similarly return a NO value. In such cases, processing thereafter proceeds to step 426 which tests to determine if the current state of the variable attenuator is DOWN. If the current state of the variable attenuator is DOWN, then in step 428 the current value of the attenuation factor applied to the input signal is ramped-down. In a preferred embodiment, the attenuation factor is ramped-down an amount equal to 1.5 dB 5 msec interval; however, it will be understood by those skilled in the art that the ramp-down amount applied to k in each iteration of step 428 is a matter of design choice and may be greater or less than 1.5 db per step. Next, in step 430, the current value of the attenuation factor is compared to 0 db. If in step 430 it is determined that the current value of the attenuation factor is less than 0 db, then the processing loop described above continues to repeat until, as a result of repeated ramping of the value of k in step 428, the current value of the attenuation factor is determined to be greater than or equal to 0 N db in step 430. When the current value of the attenuation factor is Sdetermined to be greater than or equal to 0 db in step 430, then in step 416 the state of variable attenuator 330 is set to OFF.
0 0 o 5 Thus, in cases where the attenuating of the input signal e(n) is terminated because, for example, adaptive filter 14 determines that a previously detected echo condition is no longer present, bursty noise that was previously present at the far-end source ceases to be present or a double-talk period begins during the existence of an echo condition, the attenuation factor is initally set to kd,,.
Thereafter, the attenuation factor is ramped-down gradually (in a step-wise manner at 1.0 dB 5 msec interval) until the current value of the attenuation factor reaches 0 dB. An example of this aspect of the invention is illustrated in Figure 5 which shows the setting of the attenuation factor to k d,at t, when an echo condition first ceases and thereafter the gradual ramping-down of the attenuation factor until t, when the attenuation factor reaches 0 db. By gradually ramping-down the attentuation factor until reaching 0 db at t, the present invention substantially reduces the "chopiness" in the audible signal that is typically heard by users of prior art echo cancellers. Examples where, upon cessation of an echo condition, the attenuation factor is intially set to kdo and then gradually ramped-down until it reaches 0 db are also shown as occuring from t, to and from to t, 14 in Figure In Figure 5 there is also shown an example of the operation of the present invention in a case where a double-talk period begins during the 16 existence of an echo condition. In particular, at t, a double-talk condition begins as a result of the phase "HI" being spoken by the near-end talker while the phrase "HELLO" is being spoken by the far-end talker. However, immeidately Spreceeding t, an echo condition already existed as a result of the uttering of the beginning of the phrase "HELLO" by the far-end talker. When the double-talk 00 C- period first begins during an echo at ty,the attenuation factor is initally set to Skdow,, and then gradually ramped-down until the double-talk period ceases at t 8 At t, a double-talk period has ended and an echo condition remains present.
Normally, as explained above, when an echo condition remains present following a double-talk period gradual ramping-up of the attenuation factor (k) until it reaches k.p begins. However, since at t 8 the attenuation factor is already less than k.p the input signal is simply muted-off at t 8 At the beginning and ends of words, voice segments are typically of low energy but still important for understanding. The smooth transition between states in the present invention allows otherwise unvoiced segments to get through, albeit in an attenuated fashion making the speech more understandable.
Referring now to Figure 6, there is shown an example of the operation of the present invention in a case where bursty noise is present at the far-end talker. As shown in Figure 6, each time a short segment of bursty noise appears at the far-end talker, a condition that is analagous to the echo conditions described above occurs. Thus, at the beginning of each bursty noise segment, the attenuation factor begins ramping-up. However, since each bursty-noise 17 3 segment is relatively short, the bursty-noise segment ends before the system C reaches At the end of each bursty noise segment, the attenuation factor begins ramping-down until it reaches 0 db. Unlike the ramping-down that Stypically occurs at the end of an echo condition, the ramping-down that occurs at the end of a bursty noise segment does not begin at k o because, due to the 00 brevity of each bursty noise segment, the attenuation factor usually does not N',i reach kdo, during the ramping-up that occurs during the bursty noise segment.
This gradual ramping-up and down of the attenuation factor during bursty noise segments stands in contrast to the operation at achieved by prior art residual echo suppression element 18 which, in the identical situation, would entirely gate-off the input signal during each bursty noise segment. By gradually ramping-up and down the attentuation factor for each burstynoise segment (rather than entirely gating-off the input signal during each such segment), the present invention substantially reduces the "chopiness" in the audible signal that is typically heard by users of prior art echo cancellers.
Although the preferred embodiments of the present invention have been described above in connection with mobile telephones that use CDMA modulation, it will be understood by those skilled in the art that the present invention may be used for implementing an echo canceller in a mobile telephone system that uses alternative modulation techniques such as, for example, time-division multiple-access modulation systems. Moreover, it will be understood by those skilled in the art that the present invention may be used to improve echo cancellation in acoustic systems other than mobile telephone Ssystems, and that the teachings of the present invention may be used in non-acoustic
O
N echo cancellers such as those used in network applications.
The previous description of the preferred embodiments is provided to enable any person skilled in the art to make or use the present invention. The various modifications 0to these embodiments will be readily apparent to those skilled in the art, and the generic 00 principles defined herein may be applied to other embodiments without the use of Sinventive faculty. Thus, the present invention is not intended to be limited to the methods and apparatuses shown herein but is to be accorded the widest scope consistent with the claims set forth below.
It will be understood that the term "comprise" and any of its derivatives (eg.
comprises, comprising) as used in this specification is to be taken to be inclusive of features to which it refers, and is not meant to exclude the presence of any additional features unless otherwise stated or implied.

Claims (17)

  1. 2. The method of claim 1, wherein said attenuation factor decreases linearly from said initial attenuation value to said final attenuation value during said attenuation step.
  2. 3. The method of claim 1 or 2, further including the step of: d) after said residual waveform is attenuated by said final attenuation amount during said attenuation step, muting said output waveform.
  3. 4. The method of any one of claims 1 to 3, wherein said initial attenuation value is equal to 0 db. The method of any one of claims 1 to 3, wherein said attenuation factor is decreased from said initial attenuation value to said final attenuation value in equal stepwise increments during said attenuation step.
  4. 6. The method of claim 5, wherein said attenuation factor is decreased from said initial Oattenuation value to said final attenuation value at a rate of 1 db every 5 ms during said attenuation step. 0
  5. 7. The method of any one of claims 1 to 6, wherein said attenuation threshold (Kup) is 00 calculated in accordance with the following equation: N K,,p a((M 232 bnS Gpred) (12 E))0 wherein E represents an energy estimate of said input waveform over M samples, bnS is a background noise scale value for a uniformly distributed random noise generator, and Gpred is the predication gain of a LPC shaping filter associated with CDMA modulation.
  6. 8. The method of any one of claims 1 to 7, wherein said echo signal is representative of an acoustic echo resulting from coupling of a microphone and a speaker located at a position associated with a far-end talker.
  7. 9. The method of any one of claims 1 to 7, wherein said echo signal corresponds to bursty noise supplied into a transmission channel at a position associated with a far-end talker. A method for adjusting an acoustic signal from a muted state to an unmuted state by varying an attenuation factor applied to an acoustic signal by an acoustic processor, including the steps of: a) providing said acoustic signal to an acoustic processor; b) forming an output waveform from said processor by adjusting said attenuation factor from the muted state to a first attenuation value associated with said unmuted state; and c) after said attenuation factor is adjusted to said first attenuation value in step forming said output waveform by gradually changing said attenuation factor from said first attenuation value to a second attenuation value, wherein forming the output waveform includes: t calculating an attenuation threshold as a function of an energy estimate of the input Swaveform over a predetermined number of samples, a background noise value, and a Oprediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response, wherein said input waveform is attenuated by a smaller amount when said second OC attenuation value is applied to said acoustic signal than when said first attenuation value is 00 applied to said acoustic signal.
  8. 11. The method of claim 10, wherein said attenuation factor is increased from said first C attenuation value to said second attenuation value in equal stepwise increments during step
  9. 12. The method of claim 11, wherein said attenuation factor is increased from said first attenuation value to said second attenuation value at a rate of 1 db every 5 ms during said step
  10. 13. A method of any one of claims 10 to 12 wherein said attenuation threshold is equal to 0db.
  11. 14. The method of any one of claims 10 to 13, wherein said second attenuation value (Kowin) is calculated in accordance with the following equation: 232 6nS* (12 E)) wherein E represents an energy estimate of said input waveform over M samples, bnS is a background noise scale value for a uniformly distributed random noise generator, and Gpre is the prediction gain of a LPC shaping filter associated with said CDMA modulation. The method of any one of claims 10 to 14, wherein said echo signal is representative of an acoustic blip occurring at a position associated with a near-end talker. 3 16. A system for cancelling an echo signal in a code-division-multiple-access modulated signal, including: Uan acoustic processor that receives an input waveform; an adaptive filter that determines whether said input waveform includes information 0 5 representative of said echo signal; and said acoustic processor including a variable attenuator that forms an output oO waveform by attenuating a residual waveform if said input waveform includes information C representative of said echo signal; N, wherein said variable attenuator attenuates said residual waveform by an attenuation factor that gradually changes from an initial attenuation value to a final attenuation value if said input waveform includes information representative of said echo signal, wherein said acoustic processor forms an output waveform by: calculating an attenuation threshold as a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response.
  12. 17. A system for adjusting an acoustic signal from a muted state to an unmated state by varying an attenuation factor applied to an acoustic signal by an acoustic processor, including: an acoustic processor that receives an acoustic signal; said acoustic processor including a variable attenuator that forms an output waveform by first adjusting said attenuation factor from the muted state to a first attenuation value associated with said non-muted state and, after said attenuation factor is adjusted to said first attenuation value, forming said output waveform by gradually changing said attenuation factor from said first attenuation value to a second attenuation value; wherein said acoustic processor calculates an attenuation threshold, compares the attenuation threshold to said attenuation factor, and adjusts the attenuation factor in response; tft wherein the attenuation threshold is a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain Ofor a filter; wherein said input waveform is attenuated by a smaller amount when said second attenuation value is applied to said acoustic signal than when said first attenuation value is applied to said acoustic signal. 00 C 18. An apparatus for cancelling an echo signal, including: C means for providing an input waveform to an acoustic processor; 0 10 means for determining whether said input waveform includes information C representative of said echo signal; and means for forming an output waveform by attenuating a residual waveform with said acoustic processor if said input waveform includes information representative of said echo signal, wherein forming the output waveform includes: calculating an attenuation threshold as a function of an energy estimate of the input waveform over a predetermined number of samples, a background noise value, and a prediction gain for a filter; comparing the attenuation threshold to said attenuation factor; and adjusting the attenuation factor in response, wherein said residual waveform is attenuated by an attenuation factor that gradually changes from an initial attenuation value to a final attenuation value during said attenuating.
  13. 19. A method as claimed in claim 1, substantially as herein described with reference to the accompanying drawings. A method as claimed in claim 10, substantially as herein described with reference to the accompanying drawings.
  14. 21. A system as claimed in claim 16, substantially as herein described with reference to the accompanying drawings.
  15. 22. A system as claimed in claim 17, substantially as herein described with oreference to the accompanying drawings.
  16. 23. An apparatus as claimed in claim 18, substantially as herein described with reference to the accompanying drawings. 00oO C 24. A method substantially as herein described with reference to any one of the N embodiments of the invention illustrated in the accompanying drawings. A system substantially as herein described with reference to any one of the embodiments of the invention illustrated in the accompanying drawings.
  17. 26. An apparatus substantially as herein described with reference to any one of the embodiments of the invention illustrated in the accompanying drawings. DATED this 9 th day of December 2005 QUALCOMM INCORPORATED By its Patent Attorneys MADDERNS
AU2005242180A 2000-01-27 2005-12-09 Improved system and method for implementation of an echo canceller Ceased AU2005242180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2005242180A AU2005242180B2 (en) 2000-01-27 2005-12-09 Improved system and method for implementation of an echo canceller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US09491933 2000-01-27
AU34606/01A AU3460601A (en) 2000-01-27 2001-01-26 Improved system and method for implementation of an echo canceller
AU2005242180A AU2005242180B2 (en) 2000-01-27 2005-12-09 Improved system and method for implementation of an echo canceller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU34606/01A Division AU3460601A (en) 2000-01-27 2001-01-26 Improved system and method for implementation of an echo canceller

Publications (2)

Publication Number Publication Date
AU2005242180A1 AU2005242180A1 (en) 2006-01-12
AU2005242180B2 true AU2005242180B2 (en) 2007-08-09

Family

ID=35811464

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2005242180A Ceased AU2005242180B2 (en) 2000-01-27 2005-12-09 Improved system and method for implementation of an echo canceller

Country Status (1)

Country Link
AU (1) AU2005242180B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999035814A2 (en) * 1998-01-09 1999-07-15 Ericsson Inc. Methods and apparatus for improved echo suppression in communications systems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999035814A2 (en) * 1998-01-09 1999-07-15 Ericsson Inc. Methods and apparatus for improved echo suppression in communications systems

Also Published As

Publication number Publication date
AU2005242180A1 (en) 2006-01-12

Similar Documents

Publication Publication Date Title
US6606382B2 (en) System and method for implementation of an echo canceller
EP0648397B1 (en) Method for fail-safe operation in a speaker phone system
US5657384A (en) Full duplex speakerphone
US5099472A (en) Hands free telecommunication apparatus and method
US6570985B1 (en) Echo canceler adaptive filter optimization
US6961422B2 (en) Gain control method for acoustic echo cancellation and suppression
US20060018460A1 (en) Acoustic echo devices and methods
US20060018458A1 (en) Acoustic echo devices and methods
US6385176B1 (en) Communication system based on echo canceler tap profile
JPH09172485A (en) Speaker phone and method for adjusting and controlling amplitude of transmission and reception signal therein
US7092513B1 (en) Limiting maximum gain in duplex communications devices including telephone sets
US6608897B1 (en) Double-talk insensitive NLMS algorithm
CA2207529A1 (en) Apparatus and method for providing a telephone user with control of the threshold volume at which the user's voice will take control of a half-duplex speakerphone conversation
WO1998008324A2 (en) Microprocessor-controlled full-duplex speakerphone using automatic gain control
AU2005242180B2 (en) Improved system and method for implementation of an echo canceller
JP2006505218A (en) Technology to improve phone audio quality
WO1998007263A2 (en) Dynamic optimization of handsfree microphone gain
JP4380688B2 (en) Telephone device
JP3903933B2 (en) Telephone device
JP2002050987A (en) Interference signal dependent adaptive echo suppression
Eriksson et al. Mobile crosstalk control—Enhancing speech quality in digital cellular networks

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
MK14 Patent ceased section 143(a) (annual fees not paid) or expired