Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH07123238B2 - Eco-Cancerra control method - Google Patents
[go: Go Back, main page]

JPH07123238B2 - Eco-Cancerra control method - Google Patents

Eco-Cancerra control method

Info

Publication number
JPH07123238B2
JPH07123238B2 JP61121317A JP12131786A JPH07123238B2 JP H07123238 B2 JPH07123238 B2 JP H07123238B2 JP 61121317 A JP61121317 A JP 61121317A JP 12131786 A JP12131786 A JP 12131786A JP H07123238 B2 JPH07123238 B2 JP H07123238B2
Authority
JP
Japan
Prior art keywords
echo
impulse response
residual
double talk
estimated
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 - Lifetime
Application number
JP61121317A
Other languages
Japanese (ja)
Other versions
JPS62278825A (en
Inventor
和則 猪飼
光一 本間
好男 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61121317A priority Critical patent/JPH07123238B2/en
Publication of JPS62278825A publication Critical patent/JPS62278825A/en
Publication of JPH07123238B2 publication Critical patent/JPH07123238B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、電話器の2線−4線変換を行うハイブリッド
回路において、送話者エコーを打ち消すためのエコーキ
ャンセラの制御方法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a method of controlling an echo canceller for canceling a talker echo in a hybrid circuit that performs 2-wire to 4-wire conversion of a telephone. .

(従来の技術) 第2図は、一般のディジタルエコーキャンセラを用いる
系の概略ブロック図を示し、1は遠端入力信号の入力端
であり、D/A変換器2とエコーキャンセラ7に接続され
ている。3は2線−4線変換を行うハイブリッド回路、
給電器、2線回路からなるエコーパスであり、バランス
回路4、電話器5、A/D変換器6と接続されている。エ
コーキャンセラ7は遠端入力信号の入力端1、A/D変換
器6と送信出力端8に接続されている。第2図中でxj
遠端入力のディジタル信号、x(t)はそのD/A変換出
力である。また、y(t)はD/A変換出力x(t)のエ
コー信号、n(t)は送話音、室内音などの近端入力信
号、s(t)はエコー信号y(t)と近端入力信号n
(t)の和の送話信号である。sjは送話信号s(t)の
A/D変換出力、ejは残留エコーである。
(Prior Art) FIG. 2 is a schematic block diagram of a system using a general digital echo canceller. Reference numeral 1 is an input end of a far end input signal, which is connected to a D / A converter 2 and an echo canceller 7. ing. 3 is a hybrid circuit that performs 2-wire to 4-wire conversion,
The echo path is composed of a power feeder and a two-wire circuit, and is connected to the balance circuit 4, the telephone 5, and the A / D converter 6. The echo canceller 7 is connected to the input end 1 of the far end input signal, the A / D converter 6 and the transmission output end 8. In FIG. 2, x j is a digital signal of the far end input, and x (t) is its D / A conversion output. Further, y (t) is an echo signal of the D / A conversion output x (t), n (t) is a near-end input signal such as a transmission sound or a room sound, and s (t) is an echo signal y (t). Near end input signal n
It is the sum transmission signal of (t). s j is the transmission signal s (t)
A / D conversion output, e j is the residual echo.

上記の動作について説明するに、遠端入力信号xjはD/A
変換されて出力x(t)となるが、エコーパスではその
一部がエコー信号y(t)として送信側へ漏洩する。一
方送信側へは近端入力信号n(t)も重畳されるので、
結局送話信号s(t)=y(t)+n(t)をA/D変換
した出力sjが得られる。これに対し、エコーキャンセラ
は、残留エコーejと遠端入力信号列 によってエコーパスのインパルス応答を逐次推定してゆ
く。そして次のサンプル時点では推定インパルス応答 と遠端入力信号列 により擬似エコーを発生させ、送話信号s(t)をA/D
変換した値sjより引くことによってエコーy(t)を打
消す。その結果、残留エコーlj+1が送信される。
To explain the above operation, the far-end input signal x j is D / A
Although converted into an output x (t), a part of it is leaked to the transmitting side as an echo signal y (t) in the echo path. On the other hand, since the near end input signal n (t) is also superimposed on the transmission side,
Eventually, the output s j obtained by A / D converting the transmission signal s (t) = y (t) + n (t) is obtained. On the other hand, the echo canceller uses the residual echo e j and the far-end input signal sequence. The impulse response of the echo path is successively estimated by. And at the next sample time, the estimated impulse response And far end input signal sequence A pseudo echo is generated by the A / D transmission signal s (t).
The echo y (t) is canceled by subtracting from the converted value s j . As a result, the residual echo l j + 1 is transmitted.

ところが、近端入力n(t)の大きいダブルトーク状態
において推定を続けてゆくと、推定インパルス応答は実
際のインパルス応答とは全く異なった値へと発散し、逆
に送話信号s(t)をA/D変換した値sjに推定誤差を付
加してゆくようになる。そのためダブルトークの時に
は、これを検出してエコーキャンセラの推定を停止する
機能が備えられている。
However, when the estimation is continued in the double talk state in which the near-end input n (t) is large, the estimated impulse response diverges to a value completely different from the actual impulse response, and conversely the transmission signal s (t). The estimation error is added to the value s j obtained by A / D conversion of. Therefore, in the case of double talk, a function is provided to detect this and stop the estimation of the echo canceller.

ダブルトークの検出は f(j)>c(j) (1) により行う。ここでf(j)は遠端入力のディジタル信
号xj、送話信号s(t)のA/D変換出力sj、残留エコーe
jのパワーおよび瞬時値の幾つかを用いたダブルトーク
検出関数であり、またc(j)はこのダブルトーク検出
関数f(j)に対するしきい値関数であって、残留エコ
ーejと送話信号のA/D変換出力sjあるいは残留エコーej
と遠端入力のディジタル信号xjのパワー比により計算さ
れる打消量の増加に伴い減少させてゆく。
Double talk is detected by f (j)> c (j) (1). Here, f (j) is the digital signal x j of the far end input, the A / D conversion output s j of the transmission signal s (t), and the residual echo e.
a double talk detection function using a number of power and instantaneous values of j, also c (j) is a threshold function for the double talk detection function f (j), transmitting a residual echo e j A / D conversion output s j of signal or residual echo e j
And the far-end input digital signal x j .

このように式(1)によってダブルトークは高速に検出
され、インパルス応答を推定させることができるので、
近端入力信号n(t)の増加によるエコーキャンセラの
発散を制御することができる。
In this way, the double talk can be detected at high speed by the equation (1), and the impulse response can be estimated.
It is possible to control the divergence of the echo canceller due to the increase of the near-end input signal n (t).

(発明が解決しようとする問題点) しかしながら、上記の方法では、エコーパスが変化し、
推定誤差が増加した場合にも式(1)を満たしてしまう
ため、本来インパルス応答の推定演算を続けたいのに推
定を停止してしまうという問題があった。さらに残留エ
コーと遠端入力あるいは残留エコーと送信入力のパワー
比から計算されたダブルトーク検出のしきい値が実際の
打消量よりも小さくなった時には式(1)により推定が
停止され、収束速度を大きく損なうという問題があっ
た。
(Problems to be solved by the invention) However, in the above method, the echo path changes,
Since the equation (1) is satisfied even when the estimation error increases, there is a problem that the estimation is stopped even though the impulse response estimation calculation should be continued. Furthermore, when the threshold for double-talk detection calculated from the power ratio of the residual echo and the far-end input or the power ratio of the residual echo and the transmission input becomes smaller than the actual cancellation amount, the estimation is stopped by equation (1) and the convergence speed There was a problem that it greatly damages.

そこで本発明は、ダブルトーク時にはインパルス応答の
推定演算を停止し、エコーパスの変化時にはインパルス
応答の推定を行い、さらにしきい値関数c(j)の設定
誤差によりインパルス応答の推定を再開できる方法を提
供するものである。
Therefore, the present invention provides a method capable of stopping the impulse response estimation calculation during double talk, estimating the impulse response when the echo path changes, and restarting the impulse response estimation due to the setting error of the threshold value function c (j). It is provided.

(問題点を解決するための手段) 本発明は、2線−4線変換にともなうエコーを除去する
エコーキャンセラの制御方法において、 (1)遠端入力のサンプル値列とエコーキャンセラ内部
の推定インパルス応答の畳込み演算により擬似エコーを
発生し、この擬似エコーをエコー信号から差し引いて得
られる残留エコーの2乗の値をゼロに近づけるように推
定インパルス応答を逐次推定する処理と、 (2)エコーパスの推定インパルス応答と遠端入力のサ
ンプル値により擬似エコーを発生させ、この擬似エコー
をエコー信号から引くことによりエコーを打ち消し、第
1の残留エコーを計算する処理と、 (3)遠端入力と残留エコーあるいはエコー信号と残留
エコーのパワー比を計算することにより、エコーキャン
セラの打消量を逐次計算し、打消量の増加に伴いダブル
トーク検出のしきい値を高く設定していく処理と、 (4)上記(3)の処理において、計算された打消量が
上記(3)の処理において設定されたしきい値より小さ
くなった場合にダブルトークを検出する処理と、 (5)ダブルトークの検出中には検出時の推定インパル
ス応答を用いて第1の残留エコーを計算して出力すると
ともに、継続して推定された推定インパルス応答による
第2の残留エコーを計算する処理と、 (6)ダブルトークの検出中に、上記第2の残留エコー
のパワーが上記第1残留エコーのパワーの定数倍(≦
1)以下となった場合は、推定を継続した場合の推定イ
ンパルス応答を有効と判定し、以後は推定を継続した場
合の推定インパルス応答の打消量に基づいてダブルトー
ク検出のしきい量を再設定し、さらに上記第2の残留エ
コーの計算に用いた推定インパルス応答を初期値として
用いてインパルス応答の推定および第1の残留エコーの
計算を行っていく処理によって、ダブルトーク時にはイ
ンパルス応答の推定を停止し、エコーパスが変化した場
合には変化に追随してインパルス応答を行いエコーを消
去できるようにし、さらに上記(3)の処理において設
定されたダブルトーク検出用しきい値が真の打消量より
大きく下回る場合に生じる収束速度の低下を避けること
ができるようにしたものである。
(Means for Solving the Problems) The present invention relates to an echo canceller control method for removing an echo associated with 2-line to 4-line conversion, including (1) a sampled value sequence of a far-end input and an estimated impulse inside the echo canceller. Pseudo-echo is generated by convolution calculation of the response, and a process of sequentially estimating the estimated impulse response so that the square value of the residual echo obtained by subtracting the pseudo-echo from the echo signal approaches zero, and (2) echo path Pseudo-echo is generated by the estimated impulse response and the sample value of the far-end input, and the echo is canceled by subtracting this pseudo-echo from the echo signal, and the first residual echo is calculated. (3) Far-end input By calculating the residual echo or the power ratio of the echo signal and the residual echo, the cancellation amount of the echo canceller is sequentially calculated and The process of setting the threshold value of double talk detection to be high with the increase of the amount of cancellation, and (4) the cancellation amount calculated in the process of (3) above is set in the process of (3) above. The process of detecting double talk when it becomes smaller than the threshold value, and (5) While detecting double talk, the first residual echo is calculated and output using the estimated impulse response at the time of detection, and it is continued. (6) The power of the second residual echo is a constant multiple of the power of the first residual echo (≤
1) When it is below, it is judged that the estimated impulse response when the estimation is continued is valid, and thereafter, the threshold value for double talk detection is re-established based on the cancellation amount of the estimated impulse response when the estimation is continued. By setting and setting the impulse response used in the calculation of the second residual echo as an initial value to estimate the impulse response and calculate the first residual echo, the impulse response is estimated during double talk. When the echo path is changed, the echo response is followed to make it possible to eliminate the echo, and the threshold for double talk detection set in the process of (3) above is the true cancellation amount. It is possible to avoid a decrease in the convergence speed that occurs when the value is much lower.

(作用) ダブルトークを式(1)により検出した時、検出直前の
推定インパルス応答を用いて残留エコーを計算し出力す
るが、同時にインパルス応答の推定を継続させた場合の
残留エコーを計算することにより推定を停止させた場合
と停止させない場合の打消量を比較し、打消量の大きい
方を有効とするので、エコーパスの変化、ダブルトーク
検出のしきい値を小さく設定した場合に式(1)を満た
し推定が停止するのを回避できる。
(Operation) When double talk is detected by the formula (1), the residual echo is calculated and output using the estimated impulse response immediately before detection, but at the same time, the residual echo is calculated when the impulse response estimation is continued. By comparing the cancellation amounts when the estimation is stopped and when it is not stopped, the one with the larger cancellation amount is validated. Therefore, when the threshold for echo path change and double talk detection is set to a small value, equation (1) And the estimation can be prevented from stopping.

(実施例) 本発明は、ダブルトーク検出時には検出直前の推定イン
パルス応答を用いて第1の残留エコーを計算し出力する
が、推定を停止することにより生ずるプログラムステッ
プ数の余裕を利用することによりインパルス応答の推定
を継続した場合の第2残留エコーをも計算し、推定を停
止した場合と継続した場合の打消量の比較を行えるよう
にしたものである。この打消量の比較は、出力信号であ
る上記第1の残留エコーと上記第2の残留エコーのパワ
ーの比較により式(2)のように行える。
(Embodiment) The present invention calculates and outputs the first residual echo using the estimated impulse response immediately before the detection when double talk is detected, but by utilizing the margin of the number of program steps generated by stopping the estimation. The second residual echo when the estimation of the impulse response is continued is also calculated, and the cancellation amount when the estimation is stopped and when it is continued can be compared. The comparison of the cancellation amounts can be performed as shown in Expression (2) by comparing the powers of the first residual echo and the second residual echo, which are output signals.

Epj>KEpj′ (2) Epj,Epj′:ej,ej′のパワー ej:第1の残留エコー ej′:第2の残留エコー K:1以上の定数 エコーパスの変化及びダブルトーク検出のしきい値を小
さくしすぎたために推定が停止した場合、何サンプルか
後にはインパルス応答の推定を継続した場合、上記第2
の残留エコーが減少し式(2)が満たされる。そしてそ
の時はダブルトーク検出のしきい値をインパルス応答の
推定を継続させた場合の打消量に対応して再設定し、上
記第2の残留エコーの計算に用いた推定インパルス応答
を用いてエコーを消去し、インパルス応答の推定演算を
再開する。
E pj > KE pj ′ (2) Power of E pj , E pj ′: e j , e j ′ e j : First residual echo e j ′: Second residual echo K: 1 or more constant Echo path change And when the estimation is stopped because the threshold for double-talk detection is made too small, and when the impulse response estimation is continued after several samples,
(2) is satisfied by reducing the residual echo of At that time, the threshold for double talk detection is reset according to the amount of cancellation when the estimation of the impulse response is continued, and the echo is estimated using the estimated impulse response used in the calculation of the second residual echo. Erase and restart the impulse response estimation calculation.

第1図は本発明の一実施例の機能ブロック図を示し、11
は遠端入力信号の入力端であり、遠端入力のディジタル
信号列を記憶するレジスタ12,12′に接続されている。
このレジスタ12,12′は遠端入力のディジタル信号列を
記憶するためのものであり、それぞれ積和演算回路13、
レジスタ20、レジスタ21および積和演算回路13′、レジ
スタ20′、レジスタ21′に接続されている。積和演算回
路13,13′はそれぞれレジスタ12、レジスタ18およびレ
ジスタ12′、レジスタ18′の積和演算回路であり、それ
ぞれ減算器15,15′に接続されている。14はエコーに近
端入力が重畳した信号sjの入力端であり、減算器15,1
5′と演算器16,16′に接続されている。減算器15,15′
はそれぞれ信号sjから積和演算回路13,13′の出力を引
く減算器であり、演算器16、レジスタ21、第1の残留エ
コーejの入力端および演算器16′、レジスタ21′に接続
されている。演算器16,16′はそれぞれ送信入力sjと第
1の残留エコーおよび第2の残留エコーのパワー比から
打消量を計算する演算器であって、制御部17に接続され
ている。制御部17はダブルトークの検出、ダブルトーク
検出のしきい値の設定、レジスタ18とレジスタ18′の間
での推定インパルス応答の転送、エコーキャンセラの推
定演算停止、ダブルトーク検出時のインパルス応答の推
定演算開始などを行うものとであり、演算器16,16′、
レジスタ18,18′、レジスタ19に接続されている。レジ
スタ19は制御部17で設定されたダブルトーク検出のしき
い値を記憶するものである。レジスタ18,18′は推定イ
ンパルス応答、ダブルトーク検出時に推定を継続した場
合の推定インパルス応答を記憶するものであり、それぞ
れ積和演算回路13、加算器23および積和回路13′、加算
器23′に接続されている。加算器23,23′はそれぞれレ
ジスタ18とレジスタ21およびレジスタ18′とレジスタ2
1′の和を求めるためのものである。20と20′はそれぞ
れレジスタ12およびレジスタ12′内の値の2乗和を記憶
するためのレジスタである。レジスタ21と21′はそれぞ
れレジスタ18およびレジスタ18′の補正量を記憶するた
めのレジスタであり、それぞれレジスタ20、残留エコー
ejの出力端22およびレジスタ20′に接続されている。
(イ)はエコーキャンセラへの推定演算停止の制御信
号、(ロ)はダブルトーク検出時のインパルス応答の推
定演算開始の制御信号である。
FIG. 1 shows a functional block diagram of one embodiment of the present invention.
Is an input end of the far end input signal, and is connected to the registers 12 and 12 'which store the digital signal sequence of the far end input.
These registers 12 and 12 'are for storing the digital signal sequence of the far end input, and the product-sum operation circuit 13 and
The registers 20 and 21 are connected to the product-sum operation circuit 13 ', the register 20', and the register 21 '. The product-sum operation circuits 13 and 13 'are the product-sum operation circuits of the register 12, the register 18, the register 12', and the register 18 ', respectively, and are connected to the subtracters 15 and 15', respectively. Reference numeral 14 denotes an input end of the signal s j in which the near end input is superimposed on the echo, and the subtracters 15, 1
It is connected to 5'and computing units 16, 16 '. Subtractor 15,15 ′
Are subtracters for subtracting the outputs of the product-sum operation circuits 13 and 13 'from the signal s j, respectively, and input to the operation unit 16, the register 21, the first residual echo e j and the operation units 16' and 21 '. It is connected. The computing units 16 and 16 ′ are computing units that calculate the cancellation amount from the transmission input s j and the power ratio of the first residual echo and the second residual echo, respectively, and are connected to the control unit 17. The control unit 17 detects double talk, sets a threshold for double talk detection, transfers an estimated impulse response between the register 18 and the register 18 ', stops the estimation calculation of the echo canceller, and detects the impulse response at the time of double talk detection. It is supposed to start estimation calculation, etc.
It is connected to the registers 18, 18 'and the register 19. The register 19 stores the double-talk detection threshold value set by the control unit 17. Registers 18 and 18 'store the estimated impulse response and the estimated impulse response when the estimation is continued when the double talk is detected. The sum-of-products arithmetic circuit 13, the adder 23, the sum-of-products circuit 13', and the adder 23, respectively. 'It is connected to the. The adders 23 and 23 'are respectively register 18 and register 21 and register 18' and register 2
It is for finding the sum of 1 '. 20 and 20 'are registers for storing the sum of squares of the values in the register 12 and the register 12', respectively. Registers 21 and 21 'are registers for storing the correction amounts of register 18 and register 18', respectively, and register 20 and residual echo, respectively.
It is connected to the output 22 of e j and the register 20 '.
(A) is a control signal for stopping the estimation calculation to the echo canceller, and (B) is a control signal for starting the estimation calculation of the impulse response when the double talk is detected.

次に、この動作について説明する。この実施例において
近端入力n(t)のレベルの低いシングルトーク時にエ
コーキャンセラは式(3),式(4)を実行する。
Next, this operation will be described. In this embodiment, the echo canceller executes the equations (3) and (4) when the near-end input n (t) has a low level single talk.

(ただし、k=0,1,……,N−1) ej,sjのパワーは各々Epj,Spjであり、演算器16は打消
量Epj/Spjを逐次計算する。上記のようなシングルトー
ク時には、打消量Epj/Spjは単調減少する。なお、レジ
スタ19の初期値は“2"とする。ダブルトークまたはエコ
ーパスの変化による打消量の劣化検出は式(5)にて行
う。
(However, k = 0, 1, ..., N−1) The powers of e j and s j are E pj and S pj , respectively, and the calculator 16 sequentially calculates the cancellation amount E pj / S pj . During single talk as described above, the cancellation amount E pj / S pj monotonically decreases. The initial value of the register 19 is "2". Deterioration of the amount of cancellation due to double talk or change of echo path is detected by the equation (5).

Epj/Spj>2・EpM/SpM,EpM/SpM=min(Epi/Spi
(5) (ただし、i=0,1,……,j) 式(5)右辺はエコーキャンセラが収束するにつれて単
調減少するので、収束が進むほど、打消量の劣化を素速
く検出できる。打消量の劣化を検出すると、制御部17は
上記レジスタ18の推定インパルス応答Hjを上記レジスタ
18′にHMとしてコピーした後、Hjを用いて上記式(3)
の打消演算のみを実行して出力端22から出力しながら、
一方ではHjの補正演算を実行しないことによる空き時間
を用いてHMについて上記式(3)と式(4)の打消演算
および補正演算を実行する。そして上記演算器16′は打
消量劣化検出時の打消量Epj/Spjを初期値にして上記HM
に対する打消量Epj′/Spjを計算する。
E pj / S pj > 2 ・ E pM / S pM , E pM / S pM = min (E pi / S pi )
(5) (However, i = 0, 1, ..., J) Since the right side of the equation (5) decreases monotonically as the echo canceller converges, the deterioration of the cancellation amount can be detected more quickly as the echo advances. When the deterioration of the cancellation amount is detected, the control unit 17 outputs the estimated impulse response H j of the register 18 to the register.
After copying the H M to 18 ', the equation using H j (3)
While executing only the cancellation operation of and outputting from the output end 22,
On the other hand, the canceling calculation and the correction calculation of the above formulas (3) and (4) are executed for H M by using the free time due to not executing the correction calculation of H j . Then, the computing unit 16 ′ sets the cancellation amount E pj / S pj when the cancellation amount deterioration is detected to an initial value and the above H M
Calculate the cancellation amount E pj ′ / S pj for.

このような打消量の劣化が近端入力n(t)のレベルの
増加によるダブルトークによる場合は、上記式(3)と
式(4)の打消演算および補正演算を実行しても打消量
は改善しないので上記処理を継続し、近端入力n(t)
のレベルが減少して式(5)が成り立たなくなると、シ
ングルトーク処理に移って、Hjの推定を再開する。
If such deterioration of the cancellation amount is due to double talk due to an increase in the level of the near-end input n (t), the cancellation amount will not be reduced even if the cancellation calculation and the correction calculation of the equations (3) and (4) are executed. Since it does not improve, the above processing is continued and the near-end input n (t)
When the level of H j decreases and Eq. (5) does not hold, the single talk process is started and the estimation of H j is restarted.

一方、打消量の劣化がエコーパスの急峻な変化による場
合は、推定インパルスのズレによる誤差の増加なので、
上記HMについて式(3)と式(4)の打消演算および補
正演算を実行するとHMの打消量は改善し、式(6)が成
り立つようになる。
On the other hand, if the deterioration of the cancellation amount is due to a sharp change in the echo path, the error increases due to the deviation of the estimated impulse.
Canceling the amount of the H M for formula (3) and by running the bucking operation and correction calculation equation (4) H M improves, so equation (6) holds.

Epj>2・Epj′ (6) 式(6)は補正演算を継続したHMの打消量が停止させた
Hjの打消量より6dB以上良い値であることを示す。この
時、制御部17はレジスタ18′のHMをレジスタ18にコピー
してHjとし、この時の打消量Epj′/Spjをレジスタ19に
格納してEpM/SpMとし、シングルトークに移る。
E pj > 2 · E pj ′ (6) Equation (6) shows that the cancellation amount of H M that stopped the correction calculation was stopped.
It shows that the value is 6 dB or more better than the cancellation amount of H j . At this time, the control unit 17 copies H M of the register 18 ′ to the register 18 and makes it H j, and stores the cancellation amount E pj ′ / S pj at this time in the register 19 and makes it E pM / S pM , Move on to talk.

このように、近端入力n(t)のレベルの増加によるダ
ブルトーク時には補正演算を停止させ、エコーパスの急
峻な変化を生じた時は、これを検出して補正演算を実行
させることができる。また、レジスタ19内の打消量EpM
/SpMが誤って著しく低い値に設定されると、式(5)
によって補正演算が停止されて収束が遅れるが、上記実
施例では式(6)によって補正演算が再開できるので大
きな遅れにはならない。
In this way, the correction calculation can be stopped during double talk due to the increase in the level of the near-end input n (t), and when a sharp change in the echo path occurs, this can be detected and the correction calculation can be executed. Also, the amount of cancellation E pM in the register 19
If / S pM is mistakenly set to a significantly low value, equation (5)
Although the correction calculation is stopped by the above and the convergence is delayed, the correction calculation can be restarted by the equation (6) in the above-described embodiment, so that there is no large delay.

なお、上記実施例ではレジスタ18のHj、レジスタ18′の
HM共に補正演算機能を有しているが、打消量の劣化検出
時の送信出力端22への出力をHMによって求めるようにす
れば、補正演算はHjについてのみ実行すればよいように
できる。
In the above embodiment, H j of register 18 and register 18 'of register 18' are
Both H M have a correction calculation function, but if the output to the transmission output end 22 at the time of detecting the deterioration of the cancellation amount is obtained from H M , the correction calculation only needs to be executed for H j. it can.

(発明の効果) 以上の通りであるから、本発明では、ダブルトークまた
はエコーパスの変化による打消量の劣化検出をエコーキ
ャンセラの収束の進行に応じて素早く検出できる。さら
に劣化がエコーパスの急峻な変化による場合には補正を
継続した時と停止した時の打消量を比較してこれを検出
し、補正演算を再開することにより追随可能になる。ま
たこの処理により打消量の劣化検出のしきい値の設定誤
りがあっても、補正演算を再開でき、収束速度を大きく
損なうことなくエコーキヤンセラを安定して動作させる
ことができる。
(Advantages of the Invention) As described above, according to the present invention, it is possible to quickly detect the deterioration of the cancellation amount due to the change in the double talk or the echo path according to the progress of the convergence of the echo canceller. Further, when the deterioration is caused by a sharp change in the echo path, it is possible to follow the cancellation amount by comparing the cancellation amount when the correction is continued and when the correction is stopped and restarting the correction calculation. Further, by this processing, even if the threshold value for detecting the deterioration of the cancellation amount is erroneous, the correction calculation can be restarted, and the echo canceller can be stably operated without significantly impairing the convergence speed.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例のブロック図、第2図は一般
のディジタルエコーキャンセラーを用いる系の概略のブ
ロック回路図である。 11……遠端入力端、12,12′…レジスタ、13,13′……積
和演算回路、15,15′……減算器、16,16′……減算器、
17……制御部、18,18′……レジスタ、19……レジス
タ、20,20′……レジスタ、21,21′……レジスタ、22…
…出力端。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a schematic block circuit diagram of a system using a general digital echo canceller. 11 ... Far end input end, 12, 12 '... Register, 13, 13' ... Sum of products arithmetic circuit, 15, 15 '... Subtractor, 16, 16' ... Subtractor,
17 ... Control unit, 18,18 '... Register, 19 ... Register, 20,20' ... Register, 21,21 '... Register, 22 ...
… Output end.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】2線−4線変換に伴なうエコーを除去する
エコーキャンセラの制御方法において、 (1)遠端入力のサンプル値列とエコーキャンセラ内部
の推定インパルス応答の畳込み演算により擬似エコーを
発生し、この擬似エコーをエコー信号から差し引いて得
られる残留エコーの2乗の値をゼロに近づけるように推
定インパルス応答を逐次推定する処理と、 (2)エコーパスの推定インパルス応答と遠端入力のサ
ンプル値により擬似エコーを発生させ、この擬似エコー
をエコー信号から引くことによりエコーを打ち消し、第
1の残留エコーを計算する処理と、 (3)遠端入力と残留エコーあるいはエコー信号と残留
エコーのパワー比を計算することにより、エコーキャン
セラの打消量を逐次計算し、打消量の増加に伴いダブル
トーク検出のしきい値を高く設定していく処理と、 (4)上記(3)の処理において、計算された打消量が
上記(3)の処理において設定されたしきい値より小さ
くなった場合にダブルトークを検出する処理と、 (5)ダブルトークの検出中には検出時の推定インパル
ス応答を用いて第1の残留エコーを計算して出力すると
ともに、継続して推定されたインパルス応答による第2
の残留エコーを計算する処理と、 (6)ダブルトークの検出中に、上記第2の残留エコー
のパワーが上記第1残留エコーのパワーの定数倍(≦
1)以下となった場合は、推定を継続した場合の推定イ
ンパルス応答を有効と判定し、以後は推定を継続した場
合の推定インパルス応答の打消量に基づいてダブルトー
ク検出のしきい量を再設定し、さらに上記第2の残留エ
コーの計算に用いた推定インパルス応答を初期値として
用いてインパルス応答の推定および第1の残留エコーの
計算を行っていく処理によって、ダブルトーク時にはイ
ンパルス応答の推定を停止し、エコーパスが変化した場
合には変化に追随してインパルス応答を行いエコーを消
去できるようにし、さらに上記(3)の処理において設
定されたダブルトーク検出用しきい値が真の打消量より
大きく下回る場合に生じる収束速度の低下を避けること
ができるようにしたことを特徴とするエコーキャンセラ
制御方法。
1. A method of controlling an echo canceller for removing an echo associated with 2-wire to 4-wire conversion, comprising: (1) pseudo by a convolution operation of a sampled value sequence of a far-end input and an estimated impulse response inside the echo canceller. Echo is generated, and the process of sequentially estimating the estimated impulse response so that the squared value of the residual echo obtained by subtracting this pseudo echo from the echo signal approaches zero, (2) Estimated impulse response of the echo path and the far end A process of generating a pseudo echo by the input sample value, canceling the echo by subtracting the pseudo echo from the echo signal, and calculating a first residual echo, (3) Far-end input and residual echo, or echo signal and residual By calculating the power ratio of the echo, the cancellation amount of the echo canceller is sequentially calculated, and the double talk detection is performed as the cancellation amount increases. (4) In the process of (3) above, a double is set when the calculated amount of cancellation is smaller than the threshold set in the process of (3) above. Talk detection processing, and (5) during double talk detection, the first residual echo is calculated and output using the estimated impulse response at the time of detection, and the second residual echo is continuously estimated.
(6) During the double talk detection, the power of the second residual echo is a constant multiple of the power of the first residual echo (≤
1) When it is below, it is judged that the estimated impulse response when the estimation is continued is valid, and thereafter, the threshold value for double talk detection is reset based on the cancellation amount of the estimated impulse response when the estimation is continued. By setting and setting the impulse response used in the calculation of the second residual echo as an initial value to estimate the impulse response and calculate the first residual echo, the impulse response is estimated during double talk. When the echo path is changed, the echo response is followed to make an impulse response so that the echo can be eliminated. Furthermore, the threshold for double talk detection set in the processing of (3) above is the true cancellation amount. An echo canceller control method characterized in that it is possible to avoid a decrease in the convergence speed that occurs when the value is far below.
JP61121317A 1986-05-28 1986-05-28 Eco-Cancerra control method Expired - Lifetime JPH07123238B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61121317A JPH07123238B2 (en) 1986-05-28 1986-05-28 Eco-Cancerra control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61121317A JPH07123238B2 (en) 1986-05-28 1986-05-28 Eco-Cancerra control method

Publications (2)

Publication Number Publication Date
JPS62278825A JPS62278825A (en) 1987-12-03
JPH07123238B2 true JPH07123238B2 (en) 1995-12-25

Family

ID=14808252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61121317A Expired - Lifetime JPH07123238B2 (en) 1986-05-28 1986-05-28 Eco-Cancerra control method

Country Status (1)

Country Link
JP (1) JPH07123238B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04227341A (en) * 1991-04-30 1992-08-17 Matsushita Electric Ind Co Ltd echo canceller
CN118248160B (en) * 2024-05-20 2024-08-06 腾讯科技(深圳)有限公司 Audio processing method, device, equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK151919C (en) * 1979-06-28 1988-08-15 Radiometer As PROCEDURE, REFERENCE LIQUID, AND REFERENCE LIQUID SYSTEM FOR SIMILAR CALIBRATION AND / OR QUALITY CONTROL OF CALCIUM SENSITIVE ELECTRODE AND PH ELECTRODE
JPS58142641A (en) * 1982-02-18 1983-08-24 Toshiba Corp Echo cancelling device

Also Published As

Publication number Publication date
JPS62278825A (en) 1987-12-03

Similar Documents

Publication Publication Date Title
US8184818B2 (en) Double-talk detector with accuracy and speed of detection improved and a method therefor
US4479036A (en) Echo control system
JPH08288889A (en) Echo canceler device
JPH10242891A (en) Echo canceller
JPH0955687A (en) Echo canceller device
JPH09153846A (en) Echo canceler
JPH07123238B2 (en) Eco-Cancerra control method
JP3145269B2 (en) Echo canceller control method
JP2558625B2 (en) Eco-Cancer
JP2953954B2 (en) Double talk detector and echo canceller
JP3244416B2 (en) Echo canceller
JPH05218904A (en) Echo canceller control method
JP2690519B2 (en) Echo canceller tap coefficient updating method
JPH07120972B2 (en) Eco-Cancer device
JP2556195B2 (en) Echo canceller
JPS62135023A (en) echo canceller
JP2516260B2 (en) Eco-canceller
JPH02113731A (en) Echo canceller
JPH05235807A (en) Echo elimination method and echo elimination device
JPH0787406B2 (en) Eco-Cancer
JPH0683304B2 (en) Eco-Cancel method
JPH0740680B2 (en) Double talk detection method
JPH1117588A (en) Echo canceller
JPH09307483A (en) Echo canceller
JPH05152999A (en) Echo suppressing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term