CA2199566C

An echo canceller for decreasing a deterioration factor of speech quality

Abstract

The echo canceller of the present invention comprises a means for estimating an echogain from a reception signal and a transmission signal; first level calculating means forcalculating the power of the reception signal; second level calculating means For calculatingthe power of the transmission signal; echo gain estimating means for estimating an echo gainbased on the power of the reception signal and the power of the transmission signal; and echolevel estimating means for adding the estimated echo gain to the power of the reception signalto obtain an estimated echo level, third level calculating means for calculating the power ofa residual signal; and comparator means for comparing the estimated echo level with thepower of the residual signal after the echo cancellation; wherein the echo of the receptionsignal contained in the transmission signal is cancelled when said estimated echo level exceedsthe value obtained by adding a margin to the power of the residual signal. The various powersmay be logarithmic values.

CA2199566C, drawing sheet 1
Sheet 1 of 19

Term

Term ended

Expired 10 March 2017, 9.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

2 claims: 1 independent, 1 dependent

  1. 1
    What is claimed is:1. An echo canceller comprising an adaptive filter (3) responsive to a reception signal (Rin(k)) and an adaptation control signal (FLGa) to produce a pseudo error signal (Tin'(k)), means for subtracting said pseudo error signal (Tin'(k)) from a transmission signal (Tirt(k)) to produce a residual signal (Res(k)), and adaptation control means (4) responsive to the residual signal (Res(k)) and the reception signal (Rin(k)) to provide said adaptation control signal (FLGa), wherein said adaptation control means (4) comprises: first level calculating means (5) for calculating the logarithmically converted power (Lrm(k)) of the reception signal (Rin(k));second level calculating means (16) for calculating the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k));echo gain estimation means (37) for estimating an echo gain (BG) based upon the logarithmically converted power (Lrin(k)) of the reception signal (Rin(k)) and the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k));echo level estimating means (18) for adding the estimated echo gain (EG) to the logarithmically converted power (Lrin(k)) of said reception signal (Rin(k)) to obtain an estimated logarithmic echo level (Lech(k));and comparator means ( 19;20) for providing said adaptation control signal (FLGa;FLGb) in dependence upon a comparison between said estimated logarithmic echo level (Lech(k)) and a signal derived from or comprising said transmission signal (Tin(k)), wherein said first level calculating means (5) calculates the logarithmically converted power (Lrin(k)) of the reception signal (Rin(k)) according to the following formula, Irin (k) log io where k represents a certain time of digital signal, L represents a time for L-th sampling time, and Rin(k) represents a reception signal at k, said second level calculating means (16) calculates the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k)) according to the following formula, Ltin(kp log 1Q Tin (if where Tin(k) represents a transmission signal at k, said echo gain estimation means (17) estimates said echo gain (EG) according to the following formula, CA 02199566 2004-08-24 k EG « {Ltin (i) - Lrin (/)} /7 /W+l where 1 represents a preselected average sampling number, Ltin(i) represents the logarithmically converted power of the transmission signal Tin(k) at /, and Lrin(i) represents the logarithmically converted power of the reception signal level (Rin(k)) at /, and said echo level estimating means (18) outputs said estimated logarithmic echo level (Lech (k)) according to the following formula. Lech (A) Lrin (A) + EG 2. An echo canceller according to claim 1, wherein said adaptation control means (4) ftirther comprises: third level calculating means (6) for calculating logarithmically converted power (Lres(k)) of the residual signal level (Res(k));and said comparator means (19) compares the estimated logarithmic echo level (Lcch(k)) with the logarithmically converted power (Lres(k)) of the residual signal (Res(k)) and produces said adaptation control signal (FLGa) such that the echo of the reception signal contained in the transmission signal (Tin(k)) is cancelled when said estimated logarithmic echo level (Lech(k)) exceeds said logarithmically converted power (Lres(k)) of the residual stgnal(Res(k)) by a prescribed margin(a). 3. An echo canceller according to claim 2, wherein: said third level calculating means (6) calculates the logarithmically converted power (Lres(k)) of the residual signal level (Re$(k)) according to the following formula, Zrej(A) = Iog, 0 · £ Res(i) where Res(i) represents a residual signal in which the echo component is cancelled. 4. An echo canceller according to claim 1 7 wherein said comparator means (20) is operable to compare the estimated logarithmic echo level (Lech(k) with the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k)) to produce said adaptation control signal (FLGb) such that the echo of the reception signal (Rin(k)) contained in the transmission signal (Tin(k)) is cancelled when said estimated logarithmic echo level (Lech(k)) exceeds a value obtained by subtracting a predetermined margin (β) from the logarithmically converted power (Ltin(k)) of said transmission signal (Tin(k)). CA 02199566 2004-08-24 5. An echo canceller according to claim 1, wherein tho adaptation control means (4) further comprises: third level calculating means (6) for calculating the logarithmically converted power (Lres(k)) of a residual signal (Res(k));and said comparator means comprises: first comparator means (19) for comparing the estimated logarithmic echo level (Lech(k)) with the logarithmically converted power (Lres(k)) of the residual signal (Res(k)) after the echo cancellation and providing a first adaptive control signal (FLGa) in dependence thereupon;and second comparator means (20) for comparing the estimated logarithmic echo level (Lech(k)) with the logarithmically converted power (Ltin(k)) ofthe transmission signal (Tin(k)) and providing a second adaptive control signal (FLGb) In dependence thereon;a selector (22) for selecting the first adaptive control signal (FLGa) or the second adaptive control signal (FLGb);and echo cancellation amount estimating means (21) for estimating an amount of echo cancellation (ERLE) from the logarithmically converted power (Ltin(k)) ofthe transmission signal (Tin(k)) and the logarithmically converted power (Lres(k)) of the residual signal (Res(k)) and controlling the selector (22) to output either the first adaptive control signal (FLGa) or the second adaptive control signal (FLGb) as said adaptation control signal (FLG) in dependence upon the amount of echo cancellation (ERLE), such that: the echo ofthe reception signal (Rin(k)) included in the transmission signal (Tîn(k)) is cancelled if the estimated logarithmic echo level (Lech(k)) exceeds the value obtained by adding a first margin (a) to the logarithmically converted power (Lres(k)) ofthe residual signal level (Res(k) in the event that the amount of echo cancellation (ERLE) exceeds a threshold value;and the echo of the reception signal (Rin(k)) contained in the transmission signal (Tin(k)) is cancelled if the estimated logarithmic echo level (Lech(k)) exceeds a value obtained by subtracting a second margin (β) from the logarithmically converted power (Ltin(k)) of the transmission signal level (Tin(k)) in the event that the amount of the echo cancellation does not exceed the threshold value. 6. An echo canceller according to claim 5, wherein: said third level calculating means (6) calculates the logarithmically converted power (Lres(k)) of the residual signal level (Res(k)) according to the following formula, Zw(fc) = log CA 02199566 2004-08-24 where Res(i) represents a residual signal in which the echo component is cancelled. Ί. An echo canceller according to claim 5 or 6, wherein said echo cancellation amount estimating means (21) outputs said estimated echo cancellation amount (ERLE) based upon the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k)) and the logarithmically converted power (Lres(k)) of the residual signal (Res(k)) according to the following formula, * ERLE = £ VLtto(t)-Lns(i)}IK. where Lres (i) represents the logarithmically converted power of the residual signal at i. 8. An echo canceller comprising an adaptive filter (3) responsive to a reception signal (Rin(k)) and an adaptation control signal (FLGa) to produce a pseudo error signal (Tin'(k)) r means for subtracting said pseudo error signal (Tin'(k)) from a transmission signal (Tin(k)) to produce a residual signal (Res(k)), and adaptation control means (4) responsive to the residual signal (Res(k)) and the reception signal (Rin(k)) to provide said adaptation control signal (FLGa), wherein said adaptation control means (4) comprises: first level calculating means (5) for calculating the power (Lrin(k)) of the reception signal (Rin(k));second level calculating means (16) for calculating the power (Ltin(k)) of the transmission signal (Tin(k));echo gain estimation means (17) for estimating an echo gain (EG) based upon the power (Lrin(k)) of the reception signal (Rin(k)) and the power (Ltin(k)) of the transmission signal (Tin(k));echo level estimating means (18) for adding the estimated echo gain (EG) to the power (Lrin(k)) of said reception signal (Rin(k)) io obtain an estimated echo level (Lech(k));and comparator means (19,20) for providing said adaptation control signal (FLGa;FLGb) in dependence upon a comparison between said estimated echo level (Lech(k)) and a signal derived from or comprising said transmission signal (Tin(k)), wherein said first level calculating means (5) calculates the power (Lrin(k)) of the reception signal (Rin(k)) according to the following formula, ί Lrm w = Σ iff CA 02199566 2004-08-24 where k represents a certain time of digital signal, L represents a time for L-th sampling time, and Rin(k) represents a reception signal at k, said second level calculating means (16) calculates the power (Ltin(k)) of the transmission signal (Tin(k)) according to the following formula, Ltin(k) = £ Tin (if where Tin (k) represents a transmission signal at k, said echo gain estimation means (17) estimates said echo gain (EG) according to the following formula, » EG· £ WW+1 where I represents a preselected average sampling number, Ltin(i) represents the power of the transmission signal (Tin(k)) at /, and Lrin(i) represents the power of the reception signal (Rin(k)) at /, and said echo level estimating means ( 18) outputs said estimated echo level (Lech (k)) according to the following formula. Lech (i) » Lrin (A) * EG 9. An echo canceller according to claim 8, wherein said adaptation control means (4) further comprises: third level calculating means (6) for calculating the power (Lres(k)) of the residual signal (Res(k));and said comparator means (19) compares the estimated echo level (Lech(k)) with the power (Lresfk)) of the residual signal level (Res(k)) and produces said adaptation control signal (FLGa) such that the echo of the reception signal contained in the transmission signal (Tln(k)) is cancelled when said estimated echo level (Lech(k)) exceeds the power (Lres(k)) of said residual signal level (Res(k)) by a prescribed margin (a). 10. An echo canceller according to claim 9, wherein: said third level calculating means (6) calculates the power (Lres(k)) of a residual signal(Res(k)) according to the following formula, * fray (A) = J} Res (ft 2 CA 02199566 2004-08-24 where Res(i) represents a residual signal in which the echo component is cancelled. 11. An echo canceller according to claim 8, wherein said comparator means (20) is operable to compare the estimated echo level (Lech(k) with the power (Ltin(k)) of the 5 transmission signal (Tin(k)) to produce said adaptation control signal (FLGb) such that the echo of the reception signal (Rin(k)) contained in the transmission signal (Tin(k)) is cancelled when said estimated echo level (Lech(k)) exceeds a value obtained by subtracting a predetermined margin (β) from said power (Ltin(k)) of the transmission signal (Tin(k)). 10 12. An echo canceller according to claim 8, wherein the adaptation control means (4) further comprises: third level calculating means (6) for calculating the power (Lres(k)) of a residual signal Rcs(k);and said comparator means comprises: 15 first comparator means ( 19) for comparing the estimated echo level (Lech(k)) with the power (Lres(k)) of the residual signal (Res(k)) after the echo cancellation and providing a first adaptive control signal (FLGa) in dependence thereupon;and second comparator means (20) for comparing the estimated echo level (Lech(k)) with the power (Ltin(k)) of the transmission signal (Tin(k)) and providing a 20 second adaptive control signal (FLGb) in dependence thereon, a selector (22) for selecting the first adaptive control signal (FLGa) or the second adaptive control signal (FLGb);and echo cancellation amount estimating means (21) for estimating an amount of echo cancellation (ERLE) from the power (Ltin(k)) of the transmission signal (Tin(k)) and the 25 power (Lres(k)) of the residual signal (Res(k)) and controlling the selector (22) to output either the first adaptive control signal (FLGa) or the second adaptive control signal (FLGb) as said adaptation control signal (FLG) in dependence upon the amount of echo cancellation (ERLE), such that: the echo of the reception signal (Rin(k)) included in the transmission signal 30 (Tin(k)) is cancelled if the estimated echo level (Lech(k)) exceeds the value obtained by adding a first margin (a) to the power (Lres(k)) of the residual signal (Res(k)) in the event that the amount of echo cancellation (ERLE) exceeds a threshold value;and the echo of the reception signal (Rin(k)) contained in the transmission signal (Tin(k)) is cancelled if the estimated echo level (Lech(k)) exceeds a value obtained 35 by subtracting a second margin (β) from the power (Ltin(k)) of the transmission signal (Tin(k)) in the event that the amount of the echo cancellation does not exceed the threshold value. CA 02199566 2004-08-24 13. An echo canceller according to claim 12, wherein: said third level calculating means (6) calculates the power (Lres(k)) of the residual signal (Res(k)) according to the following formula, Zw(jfc)- Λβτφ) 2 where Res(i) represents a residual signal in which the echo component is cancelled. 14. Anecho canceller according to claim 12or 13, wherein said echo cancellation amount estimating means (21) outputs said estimated echo cancellation amount (ERLE) based upon the power (Ltin(k)) of the transmission signal (Tin(k)) and the power (Lres(k)) ofthe residual signal (Res(k)) according to the following formula, k ERLE = where Lres (i) represents the power of the residual signal level at L 15. An echo canceller for deriving a pseudo echo signal (Tin'(k)) and subtracting the pseudo echo signal from a transmission signal (Tin(k)) to produce a residual signal (Res(k)), comprising: a first memory (10) for storing a first filter coefficient (HQ)) for adaptation;a second memory ( 13) for storing a second filter coefficient (HmQ)) in parallel during the adaptation process for a predetermined period of time during which cancellation is determined to be effective;coefficient substitution means (15) for calculating the logarithmically converted power (Ltin(k)) of the transmission signal (Tin(k)) and the logarithmically converted power (Lres(k)) of the residual signal (Res(k)) and for controlling whether the first filter coefficient in the first memory is updated or not according to the difference between the logarithmically converted power (Ltinfk)) of the transmission signal ffin(k)) and the logarithmically converted power (Lre$(k)) of the residual signal (Rea(k));interpolating means (23) for interpolating between the value of the first filter coefficient (H(j)) in the first memory and the value of the second filter coefficient (Hm(j)) in the second memory;a filter coefficient updater ( 14) for updating the first filter coefficient (H(j)) in the first memory according to the transmission signal (Tin(k)) and the residual signal (Res(k));CA 02199566 2004-08-24 calculator means ( 11) for generating the pseudo echo signal (Tin‘(k)) by carrying out a convolution operation upon the reception signal (Rin(k) and the first filter coefficient (H(j)) stored in the first memory;and an echo subtractor for subtracting the pseudo echo signal (Tin‘(k)) from the 5 transmission signal (Tin(k)) to produce the residual signal (Res(k));wherein said coefficient substitution means ( 15) controls substitution of the first filter coefficient (H(j)) by the second filter coefficient (Hm(j)) in the event that the adaptation does not provide a desired level of echo cancellation, and said interpolation means (23) carries out interpolation and updates for a second predetermined period of time so that the value of the 10 first filter coefficient (H(j) is continuous to the value of the second filter coefficient (Hm(j)). 1/14 c c ω £ F ce AGENT FOR APPLICANT 2/14
  2. 2
    2)97566
Independent claims2