JPH03106231A - Echo canceller - Google Patents

Echo canceller

Info

Publication number
JPH03106231A
JPH03106231A JP24394689A JP24394689A JPH03106231A JP H03106231 A JPH03106231 A JP H03106231A JP 24394689 A JP24394689 A JP 24394689A JP 24394689 A JP24394689 A JP 24394689A JP H03106231 A JPH03106231 A JP H03106231A
Authority
JP
Japan
Prior art keywords
circuit
signal
correction coefficient
echo
value
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.)
Granted
Application number
JP24394689A
Other languages
Japanese (ja)
Other versions
JP2516260B2 (en
Inventor
Haruhiro Shiino
椎野 玄博
Kenji Horiguchi
堀口 健治
Masao Iida
飯田 政雄
Yasuo Shoji
庄司 保夫
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1243946A priority Critical patent/JP2516260B2/en
Publication of JPH03106231A publication Critical patent/JPH03106231A/en
Application granted granted Critical
Publication of JP2516260B2 publication Critical patent/JP2516260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Filters That Use Time-Delay Elements (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

PURPOSE:To devise the canceller such that the S/N is always converged in an excellent way and the disturbance in the estimate value of an echo path is suppressed lower by using a correction coefficient decision circuit so as to select a larger correction coefficient when the S/N is increasing at a large value. CONSTITUTION:A correction coefficient control circuit consists of an S/N estimate circuit 30 estimating the S/N from a reception signal x(k) and a residual signal e(k), a change quantity generating circuit 40 obtaining the change in the estimate with the calculation and a correction coefficient decision circuit 50 using the S/N estimate value and the change quantity to decide a correction coefficient alpha. The estimate circuit 30 obtains the estimate of the S/N by a power ratio of the reception signal and the residual signal or the like and the change quantity generating circuit 40 obtains a difference of the S/N estimate value and a change in the peak value or the like with calculation or the like. The correction coefficient decision circuit 50 increases the correction coefficient given to the correction quantity generating circuit only when the S/N estimate is large and the S/N is increasing. Thus, even when the S/N is deteriorated, excellent convergence is attained and the disturbance of the estimate of an echo path even at a double talk is suppressed lower.

Description

【発明の詳細な説明】 (産業上の利用分野〉 本発明は、衛星通信、音声パケット通信等の通信回線に
おいて2線−4線変換部で発生するエコーを消去するエ
コーキャンセラに関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an echo canceller that cancels echoes generated in a 2-wire to 4-wire converter in communication lines such as satellite communication and voice packet communication.

(従来の技術) 従来、このような分野の技術としては、次のような文献
1,2に記載されるものがあった。
(Prior Art) Conventionally, as technologies in this field, there have been those described in the following documents 1 and 2.

文献1;「ディジタル信号処理の応用」3版(昭58−
7−10>電子通信学会、P. 212−221 文献2;特開昭60−174536号公報前記文献1に
記載されているように、電話回線では、加入者線の2線
回線と伝送路の4R回線との間の信号の変換を行なうハ
イブリッド回路が用いられているが、このハイブリッド
回路でのインピーダンスのミスマッチングによって受信
信号が送信路に漏れてエコーが生ずる。衛星通信のよう
に伝送路の遅延が大きい場合にはこのエコーが通話の障
害となるため、エコーキャンセラを用いてエコーを消去
している。
Reference 1: “Applications of Digital Signal Processing” 3rd edition (1982-
7-10> Institute of Electronics and Communication Engineers, P. 212-221 Document 2: Japanese Unexamined Patent Application Publication No. 60-174536 As described in the above document 1, in the telephone line, signal conversion between the 2-line line of the subscriber line and the 4R line of the transmission line is carried out. However, due to impedance mismatching in this hybrid circuit, the received signal leaks into the transmission path, causing an echo. In cases where the delay in the transmission path is large, such as in satellite communications, this echo becomes a hindrance to communication, so an echo canceller is used to cancel the echo.

また、音声、画像、データを統合して取り扱う統合網で
は、音声をパケット化して通信を行なうため、国内回線
においても大きな遅延を生じるのでエコーキャンセラを
用いてエコーを充分消去する必要がある。
Furthermore, in an integrated network that handles voice, images, and data in an integrated manner, voice is packetized for communication, which causes large delays even on domestic lines, so it is necessary to use an echo canceller to sufficiently cancel echoes.

電話回路に適用される従来のエラーキャンセラの一例を
第2図に示す。
An example of a conventional error canceller applied to a telephone circuit is shown in FIG.

第2図は、前記文献2Gご記載された従来のエコーキャ
ンセラの一構成例を示すブロック図である。
FIG. 2 is a block diagram showing an example of the configuration of a conventional echo canceller described in the above-mentioned document 2G.

電話回線に設けられる電話機上は、加入者線2を介して
ハイブリッド回路(H〉3に接続されている。ハイブリ
ッド回路3は、ディジタル/アナログ変換器(以下、D
/A変換器という〉4及びアナログ/ディジタル変換器
(以下、A/D変換器という〉5を介してエコーキャン
セラ10に接続されている。
The telephone installed on the telephone line is connected to a hybrid circuit (H>3) via the subscriber line 2.The hybrid circuit 3 is connected to a digital/analog converter (hereinafter referred to as D
It is connected to an echo canceller 10 via an analog/digital converter (hereinafter referred to as an A/D converter) 4 and an analog/digital converter (hereinafter referred to as an A/D converter) 5.

エコーキャンセラ10は、受信側入力端子11、D/A
変換器4に接続される受信側出力端子12、A/D変換
器5に接続される送信側入力端子13、及び送信側出力
端子14を有している。入力端子l3と出力端子14間
に、減算器15が接続され、その減算器15には、畳み
込み演′JL回路16を介してXレジスタ〈第1のレジ
スタ〉17とHレジスタ(第2のレジスタ>18が接続
されている。
The echo canceller 10 has a receiving side input terminal 11, a D/A
It has a receiving side output terminal 12 connected to the converter 4, a transmitting side input terminal 13 connected to the A/D converter 5, and a transmitting side output terminal 14. A subtracter 15 is connected between the input terminal l3 and the output terminal 14, and the subtracter 15 is connected to the X register (first register) 17 and the H register (second register) >18 are connected.

減算器15は送信信号s (k)から擬似エコー信号9
(k〉を差し引いて残差信号e (k)を出力する回路
、Xレジスタ17は受信信号x (k)を格納する回路
である。Hレジスタ18は、D/A変換器4からハイブ
リッド回路3を通ってA/D変換器5に至る系(これを
エコーパスという〉の、推定インパルス応答を格納する
回路である。また、畳み込み演算回路16は、Xレジス
タ17とHレジスタ18の内容に基づき擬似エコー信号
9(k〉を生成する機能を有している。
The subtracter 15 subtracts the pseudo echo signal 9 from the transmitted signal s(k).
(k>) and outputs the residual signal e (k). The X register 17 is a circuit that stores the received signal x (k). This circuit stores the estimated impulse response of the system (called an echo path) that reaches the A/D converter 5 through the It has a function of generating an echo signal 9(k>).

Hレジスタ18には加算器19が接続され、その加算器
19に修正量生成回路20が接続されている。修正量生
成回路20は、受信信号系列X(k)、残差信号e (
k)及び修正係数αに基づき、エコーパスの推定インパ
ルス応答の修正量ΔHl  (k>を演算により求める
回路である。
An adder 19 is connected to the H register 18, and a correction amount generation circuit 20 is connected to the adder 19. The correction amount generation circuit 20 generates a received signal sequence X(k), a residual signal e (
This circuit calculates the correction amount ΔHl (k>) of the estimated impulse response of the echo path based on the correction coefficient α and the correction coefficient α.

次に、動作を説明する。Next, the operation will be explained.

遠端からの受信信号x (k)は、D/A変換器4によ
ってアナログ信号x(t)に変換されてハイブリッド回
路3に入力され、2線信号として加入者線2を通して電
話機1に伝送される。このとき、ハイブリッド回路3の
インピーダンスミスマッチングにより、受信信号x(t
)が送信路に漏れ、エコー信号y (t>として送出さ
れてしまう。
The received signal x(k) from the far end is converted into an analog signal x(t) by the D/A converter 4, inputted to the hybrid circuit 3, and transmitted to the telephone set 1 through the subscriber line 2 as a two-wire signal. Ru. At this time, due to the impedance mismatching of the hybrid circuit 3, the received signal x(t
) leaks into the transmission path and is sent out as an echo signal y (t>).

一方、電話機}からの近端入力信号n(t)は、ハイブ
リッド回路3によって4線信号に変換され、送信路に送
出される。すなわち、送信信号s (t>はエコー信号
y (t)と近端入力信号n (t)との和として、 s (t)=y (t)+n (t) と表される。この送信信号s (t>は、A/D変換器
5によってディジタル信号s (k)に変換される。
On the other hand, the near-end input signal n(t) from the telephone is converted into a four-wire signal by the hybrid circuit 3 and sent to the transmission path. That is, the transmitted signal s (t>) is expressed as the sum of the echo signal y (t) and the near-end input signal n (t), as s (t)=y (t)+n (t). This transmitted signal s (t>) is converted into a digital signal s (k) by the A/D converter 5.

エコーキャンセラ10には、受信側入力端子11より受
信1言号x (k)と、送信側入力端子13より送信信
号s (k)とが、それぞれ入力され、Xレジスタエ7
は過去Nサンプル分の受信信号X(k)を格納する。畳
み込み演算回路16は、Xレジスタ17内の受信信号系
列X (k)と、Hレジスタ18に格納されたエコーパ
スのインパルス応答の推定値H (k)との、畳み込み
演算により、擬似エコー信号9{k}を作り、これを、
減算器l5で送信信号s (k)から差し引くことによ
ってエコーを消去する。減算器15から出力される残差
信号e (k)は、送信側出力端子14に送られる。
The echo canceller 10 receives one reception word x (k) from the reception side input terminal 11 and the transmission signal s (k) from the transmission side input terminal 13, and inputs the X register area 7.
stores the past N samples of received signals X(k). The convolution calculation circuit 16 generates a pseudo echo signal 9{ k} and make this,
The echo is canceled by subtracting it from the transmitted signal s (k) in a subtractor l5. The residual signal e (k) output from the subtracter 15 is sent to the transmission side output terminal 14.

エコーパスの特性を推定するアルゴリズムには、種々の
方法があるが、ハードウエアが簡単で、収束の保証され
る学習同定法が多く用いられている。
There are various algorithms for estimating echo path characteristics, but the learning identification method, which requires simple hardware and guarantees convergence, is often used.

この学習同定法によるエコーパスのインパルス応答の推
定値H(k)は、 [−1 (k+1)=H (k>+ΔH (k)・・・
・・・(1)・・・・・・(2) で与えられ、残差信号e (k)のパワーを最小にする
ように収束する。また、αは修正係数と呼ばれる量で、
エコーキャンセラの場合、0くα≦1なる定数を用いる
The estimated value H(k) of the impulse response of the echo path using this learning identification method is [-1 (k+1)=H (k>+ΔH (k)...
...(1) ...(2) It converges to minimize the power of the residual signal e (k). Also, α is a quantity called a correction coefficient,
In the case of an echo canceller, a constant of 0 and α≦1 is used.

従って、エコーパスの推定インパルス応答の計算は、修
正量生成回路20において、受信信号系列X (k)と
残差信号e (k)と修正係数αとから、エコーパスの
推定インパルス応答の修正量Δ1{ (k>を〈2〉式
によって計算し、これを加算器1つで、Hレジスタ18
内の現サンプルの推定インパルス応答1{ (k>に加
えて次サンプルのエコーパスの推定インパルス応答I{
(k+1>としてHレジスタ18に格納することによっ
て行われる。
Therefore, the estimated impulse response of the echo path is calculated by the correction amount generation circuit 20, from the received signal sequence X (k), the residual signal e (k), and the correction coefficient α, the correction amount Δ1{ (Calculate k> using formula <2>, and use one adder to calculate H register 18
The estimated impulse response of the current sample in 1{ (k> plus the estimated impulse response of the echo path of the next sample I{
This is done by storing it in the H register 18 as (k+1>).

前記学習同定法では、一定の修正係数αに対して推定精
度、すなわちエコー打ち消し量と収束速度とはトレード
オフの関係(矛盾する関係)があり、推定精度をよくす
るにはαの値を小さくし、収束速度を速くするにはαの
値を大きくする必要がある。
In the above learning identification method, there is a trade-off relationship (contradictory relationship) between the estimation accuracy, that is, the amount of echo cancellation and the convergence speed, for a fixed correction coefficient α, and in order to improve the estimation accuracy, it is necessary to reduce the value of α. However, in order to increase the convergence speed, it is necessary to increase the value of α.

そこで、この欠点をなくすために、前記文献2の技術で
は、修正係数αを残差信号系列の平均値に比例した値と
して制御する方法を採用している。
Therefore, in order to eliminate this drawback, the technique of Document 2 adopts a method of controlling the correction coefficient α as a value proportional to the average value of the residual signal sequence.

この方法は、推定が進むにつれて残差信号が減少するた
め、それに比例してαは小さな値となり推定精度をよく
する、すなわちエコー打ち消し量を増やすものである。
In this method, as the estimation progresses, the residual signal decreases, so that α decreases in proportion to this, improving the estimation accuracy, that is, increasing the amount of echo cancellation.

ところで、実際の残差信号e (k)には近端入力信号
n (k)が含まれており、エコー信号y(k}のレベ
ルに対するn (k>のレベルが大きい信号対雑音比〈
以下、S/Nという〉の悪い状態になると、(1)、{
2}式によるインパルス応答の推定が正しく行われなく
なる。これを防ぐためには、修正係数αを小さくすれば
よいが、αを小さくすると、前述したように収束速度が
遅くなる。このようなS/N比の悪い状態は、通常、ダ
ブルトーク(両方向同時通話時)の時に起こるので、修
正係数αは0.5〜1程度の大きな値とし、前記文献1
に記載されているように、ダブルトーク検出器を設けて
S/Nの劣化を検出し、エコーパスの推定を止めている
By the way, the actual residual signal e (k) includes the near-end input signal n (k), and the signal-to-noise ratio <
When the S/N ratio becomes poor (hereinafter referred to as S/N), (1), {
2} Estimation of the impulse response using the equation will not be performed correctly. In order to prevent this, the correction coefficient α may be made small, but if α is made small, the convergence speed will be slowed down as described above. Since such a poor S/N ratio usually occurs during double talk (simultaneous conversation in both directions), the correction coefficient α should be set to a large value of about 0.5 to 1, as described in the above-mentioned document 1.
As described in , a double talk detector is provided to detect S/N deterioration and stop estimation of the echo path.

(発明が解決しようとする課題〉 しかしながら、上記構成のエコーキャンセラでは、次の
ような課題があった。
(Problems to be Solved by the Invention) However, the echo canceller having the above configuration has the following problems.

従来のエコーキャンセラでは、修正係数αを残差信号系
列の平均値に比例した値としているため、ダブルトーク
時には、ダブルトーク検出器の検出遅れのために、ダブ
ルトークを検出した時には、αは大きな値となってイン
パルス応答の推定値が乱れてしまう場合があった。また
、ダブルトーク状態ではなくても、近端の周囲雑音が大
きく、ダブルトーク検出閾値程度の悪いS/Nが長時間
続く場合には、修正係数αは大きい値のままで推定を行
なうので、推定精度が悪く、インパルス応答の推定値が
正しく収束しないという問題があった。
In conventional echo cancellers, the correction coefficient α is set to a value proportional to the average value of the residual signal sequence, so when double talk is detected, α becomes large due to the detection delay of the double talk detector. In some cases, the estimated value of the impulse response was distorted. Furthermore, even if there is no double talk state, if the ambient noise at the near end is large and the S/N ratio is as poor as the double talk detection threshold for a long time, the correction coefficient α is estimated with a large value. There was a problem in that the estimation accuracy was poor and the estimated value of the impulse response did not converge correctly.

本発明は前記従来技術が持っていた課題として、ダブル
トーク時に、ダブルトーク検出器の検出遅れのためにエ
コーパスのインパルス応答の推定値が乱れてしまう点と
、近端話者の周囲雑音が大きくてS/Nが悪いときに正
しく収束しないという点について解決したエコーキャン
セラを提供するものである。
The present invention solves the problems that the prior art had, in that during double talk, the estimated value of the impulse response of the echo path is disturbed due to the detection delay of the double talk detector, and that the surrounding noise of the near-end speaker is large. The present invention provides an echo canceller that solves the problem of not converging correctly when the S/N is poor.

(課題を解決するための手段〉 本発明は前記課題を解決するために、受信信号を格納す
る第1のレジスタと、エコーパスの推定インパルス応答
を格納する第2のレジスタと、前記第1および第2のレ
ジスタの内容から擬似エコー信号を生或する畳み込み演
算回路と、送信信号から前記擬似エコー信号を差し引い
て残差信号を出力する減算器と、前記受信信号、前記残
差信号及び修正係数に基づき前記エコーパスの推定イン
パルス応答の修正量を求める修正量生成回路と、前記第
2のレジスタに格納された現サンプルのエコーパスの推
定インパルス応答と前記修正量とを加算して次サンプル
のエコーパス推定インパルス応答を求めそれを前記第2
のレジスタに格納させる加算器とを、備えたエコーキャ
ンセラにおいて,次のような回路を設けたものである。
(Means for Solving the Problems) In order to solve the above problems, the present invention provides a first register for storing a received signal, a second register for storing an estimated impulse response of an echo path, and a second register for storing an estimated impulse response of an echo path. a convolution calculation circuit that generates a pseudo-echo signal from the contents of the register No. 2; a subtracter that subtracts the pseudo-echo signal from the transmission signal and outputs a residual signal; a correction amount generation circuit that calculates a correction amount of the estimated impulse response of the echo path based on the correction amount; and a correction amount generating circuit that calculates the correction amount of the estimated impulse response of the echo path of the echo path of the next sample by adding the estimated impulse response of the echo path of the current sample stored in the second register with the correction amount. Find the response and put it in the second
This echo canceller is equipped with an adder for storing data in a register, and is provided with the following circuit.

すなわち、前記受信信号及び残差信号に基づきS/Nの
推定値を求める推定回路と、前記S/N推定値の変化量
を求める変化量検出回路と、前記S/N推定値が大きく
、かつ前記変化量に基づき前記S/N推定値が増加中で
あると判定された時だけ修正係数を大きな値として前記
修正量生或回路へ与える修正係数決定回路とを、従来の
エコーキャンセラに設けている。
That is, an estimation circuit that calculates an estimated value of S/N based on the received signal and the residual signal, a change amount detection circuit that calculates the amount of change in the estimated S/N value, and The conventional echo canceller is provided with a correction coefficient determination circuit that applies a large correction coefficient to the correction amount generation circuit only when it is determined that the estimated S/N value is increasing based on the amount of change. There is.

前記推定回路は、例えば前記受信信号と前記残差信号の
パワー比により前記S/N推定値を算出する機能を有し
ている。また、修正係数決定回路は、例えば前記S/N
の推定値が過去のS/N推定値のピーク値よりも大きい
時にS/Nが大きいと判定する機能を有している。
The estimation circuit has a function of calculating the S/N estimated value based on, for example, a power ratio between the received signal and the residual signal. Further, the correction coefficient determining circuit may be configured to, for example,
It has a function of determining that the S/N is large when the estimated value of is larger than the peak value of past S/N estimated values.

(作用) 本発明によれば、以上のようにエコーキャンセラを構成
したので、推定回銘は、受信信号と残差信号のパワー比
等より、S/Hの推定値を求める。
(Operation) According to the present invention, since the echo canceller is configured as described above, the estimated value of S/H is obtained from the power ratio of the received signal and the residual signal.

変化量生成回路は、S/N推定値における差分値やピー
ク値等の変化量を計算等により求める。修正係数決定回
路は、例えばS/N推定値が過去のS/N推定値のピー
ク値よりも大きい時にS/Nが大きい等と判定し、その
判定結果を用いてS/N推定値が大きく、かつ前記変化
量に基づきS/N推定値が増加中であると判定した時だ
け、修正量生成回路へ与える修正係数を大きな値にする
The change amount generation circuit obtains the change amount of the difference value, peak value, etc. in the estimated S/N value by calculation or the like. For example, the correction coefficient determining circuit determines that the S/N is large when the S/N estimated value is larger than the peak value of past S/N estimated values, and uses the judgment result to determine whether the S/N estimated value is large. , and only when it is determined that the estimated S/N value is increasing based on the amount of change, the correction coefficient given to the correction amount generation circuit is set to a large value.

これにより、S/Nが悪い状態でも良好に収束し、かつ
ダブルトーク時にもエコーパスの推定値の乱れを小さく
抑えることが可能となる。従って、前記課題を解決でき
るのである。
This makes it possible to achieve good convergence even when the S/N is poor, and to suppress disturbances in the estimated value of the echo path to a small level even during double talk. Therefore, the above problem can be solved.

(実施例〉 第1図は、本発明の実施例を示すエコーキャンセラの構
成ブロック図であり、従来の第2図中の要素と共通の要
素には共通の符号が付されている。
(Embodiment) FIG. 1 is a configuration block diagram of an echo canceller showing an embodiment of the present invention, and elements common to the conventional elements in FIG. 2 are given the same reference numerals.

このエコーキャンセラIOAでは、第2図のエコーキャ
ンセラ10中に修正係数制御回n21を付加した点のみ
が異なっている。修正係数制御回路21は、修正量生成
回路20へ与える修正係数αを可変制御する機能を有し
ている。
This echo canceller IOA differs only in that a correction coefficient control circuit n21 is added to the echo canceller 10 of FIG. 2. The modification coefficient control circuit 21 has a function of variably controlling the modification coefficient α given to the modification amount generation circuit 20.

第3図は、第1図中の修正係数制御回路21の一構成例
を示すブロック図である。
FIG. 3 is a block diagram showing an example of the configuration of the correction coefficient control circuit 21 in FIG. 1.

この修正係数制御回路21は、受信信号x (k)及び
残差信号e (k>よりS/Nの推定値を計算するS/
N推定回路30と、前記S/Nの推定値よりその推定値
の変化量(例えば、差分値、ピーク値)を演算により求
める変化量生成回路4oと、前記S/N推定値及び変化
量を用いて修正係数αを決定する修正係数決定回路5o
とで、構成されている。
This correction coefficient control circuit 21 calculates the estimated S/N value from the received signal x (k) and the residual signal e (k>).
N estimating circuit 30, a change amount generating circuit 4o which calculates the amount of change in the estimated value (for example, a difference value, a peak value) from the estimated S/N value, and a correction coefficient determination circuit 5o that determines the correction coefficient α using
It is made up of.

S/N推定回路30は、パワー計算回路31,32、対
数変換回路33.34及び減算器35より構成されてい
る。変化量生成回路4oは、S/N推定値の差分値を計
算する差分値計算回路41と、ピーク値を計算するピー
ク値計算回路42とで、構成されている。また、修正係
数決定回路50は、乗算器51,比較回路52.53及
び修正係数選択回路54より構成されている。
The S/N estimation circuit 30 includes power calculation circuits 31 and 32, logarithmic conversion circuits 33 and 34, and a subtracter 35. The change generation circuit 4o is configured with a difference value calculation circuit 41 that calculates a difference value between S/N estimated values, and a peak value calculation circuit 42 that calculates a peak value. Further, the modification coefficient determination circuit 50 is composed of a multiplier 51, comparison circuits 52 and 53, and a modification coefficient selection circuit 54.

以上の構成において、第l図のエコーキャンセラIOA
は、修正係数制御回路21を除き、従来のエコーキャン
セラIOとほぼ同様の動作をするので、その修正係数制
御回路21の動作を以下説明する。
In the above configuration, the echo canceller IOA shown in FIG.
operates almost the same as a conventional echo canceller IO except for the modification coefficient control circuit 21, so the operation of the modification coefficient control circuit 21 will be explained below.

第3図のS/N推定回路30では、次の(3)式で表さ
れる受信信号x(k)と残差信号e (k>のパワー比
により、S/Nの推定値を計算する。
The S/N estimation circuit 30 in FIG. 3 calculates the estimated value of S/N based on the power ratio of the received signal x(k) and the residual signal e (k>) expressed by the following equation (3). .

ただし、X (k).E (k>はそれぞれ、x(k)
とe (k>のパワーである。このため、受信信号x(
k)と残差信号e (k)を入力し、パワー計算回路3
1.32でこれらx (k) , e (k)のパワー
X (k>,E (k>を算出し、次に対数変換回路3
3.34にて各パワーの対数値L  (k)X ,L(k)を計算した後、減算器35で、これe らの信号の差(L  (k)−L  (k))としてx
           e AooIl1(k)を求める。
However, X (k). E (k> is x(k), respectively)
and e (k> power. Therefore, the received signal x(
k) and residual signal e (k), and power calculation circuit 3
1.32, calculate the power X (k>, E (k>) of these x (k), e (k), and then logarithmic conversion circuit 3
After calculating the logarithm value L(k)X, L(k) of each power in 3.34, the subtracter 35 calculates x as the difference (L(k)-L(k)) between these signals.
e Find AooIl1(k).

次に、差分値計算回路41でその差分値AComd (
k>を(4)式により求める。
Next, the difference value calculation circuit 41 uses the difference value AComd (
k> is determined using equation (4).

Aoomd(k) =Acom ( k )  Acom ( k  n 
)  ( n > O )・・・・・・(4) ?らに..(5)式に基づき、Aco■ (k>のピー
ク値A。omp(k)をピーク値計算回路42で計算す
る。
Aoomd (k) = Acom (k) Acom (k n
) (n>O)...(4)? And more. .. Based on equation (5), the peak value calculation circuit 42 calculates the peak value A.omp(k) of Aco■ (k>).

AcoIIIp(k〉 =IIlax(AooIIlp(k−1),AooIl
l(k〉〉・・・・・・{5} 修正係数決定回路50では、これらACOm (k〉,
AooIIld(k)およびA(om p( k )の
各値を用いて修正係数αを決定する。まず、比較回路5
2で、AComd〈k〉と正の閾値thを比較する。
AcoIIIp(k〉 =IIlax(AooIIlp(k-1), AooIIl
l(k〉〉...{5} In the correction coefficient determination circuit 50, these ACOm (k〉,
The correction coefficient α is determined using each value of AooIIld(k) and A(omp(k). First, the comparison circuit 5
2, AComd<k> is compared with a positive threshold th.

これと同時に、kをO<k≦1なる定数として乗算器5
1でK ・Acom p ( k )を求め、比較回路
53により、AooIII(k〉とK − Aoomp
 (k)とを比較する。修正係数選択回路54では、こ
れら比較回#152.53の比較結果を用いて、Aoo
md(k〉〉th かつ  A  (k〉〉K−ACOIllP(k〉CO
m ならば α=α1          ・・・(6〉?
o0, d (k>≦th または A   (k)≦K−A(■II1p (k)
COm ならば α=α2         ・・・・・・(7
〉(ただし、O≦α2くα1≦■〉 となるように修正係数αを選ぶ。この修正係数αは、第
1図の修正量生成回路20へ与えられる。
At the same time, the multiplier 5 sets k to a constant O<k≦1.
1 to obtain K・Acomp (k), and the comparison circuit 53 calculates AooIII(k〉 and K − Aoomp
Compare with (k). The correction coefficient selection circuit 54 uses the comparison results of these comparison times #152.53 to determine Aoo
md(k〉〉th AND A (k〉〉K-ACOIllP(k〉CO
If m, α=α1...(6〉?
o0, d (k>≦th or A (k)≦K−A(■II1p (k)
COm then α=α2 ・・・・・・(7
(However, the correction coefficient α is selected so that O≦α2, α1≦■>. This correction coefficient α is given to the correction amount generation circuit 20 in FIG.

次に、上記動作の原理について説明する。Next, the principle of the above operation will be explained.

まず、{3}式で求めたA。0.(k〉がS/Nの推定
値となることを示す。エコーパスのインパルス応答をH
とするとエコーキャンセラIOAの各部の信号は、 S (k) 一’l (k> +n (k)=}l −
 X (k) +n (k)・・・・・・(8) 9 (k) =}I (k>・X(k>・・・・・・(
9〉 e (k> =s (k>  9 (k>” (H  
}l (k) ) ・X (1<) +n (k)・・
・・・・(10) となる。受信側入力端子11がら入力される受信信号x
(k)と、送信側入力端子13がら入力される近端入力
信号n (k)とが、無相関であることから、残差信号
(6)式のパワーは、E (k) =llH−}{ (k> I12X (k> +N (
k)・・・・・・(11) となる。したがって、 2 Aoom(k) =−1ocog1o( Ill{−H
 l) Itとなる。ここで、III{−H (k> 
I+2は、エコーパスのインパルス応答の推定誤差を表
す量で、推定が充分収束していれば非常に小さな値とな
るから、(12)式はS/Nを表す。また、収束中であ
れば、IIH−H (k)I+2は時間とともに減少す
るので、A,。IIl(k〉は増加する。したがって、
(4〉式の差分値A   d(k>はA。oII1(k
)COm の変化を表す量であるから、この値が、ある適当な正の
閾値thよりも大きいとき、収束中で推定誤差が減少中
か、S/Nが増加中であると判定できる。このとき、S
/Nが過去の値よりも大きければ、推定精度は現在より
もさらによくなるので、修正係数αを大きくしてすばや
く収束させた方が有利である。したがって、〈6〉式に
よりαを大きな値α1とする。
First, A is calculated using the formula {3}. 0. (k〉 is the estimated value of S/N. The impulse response of the echo path is H
Then, the signals of each part of the echo canceller IOA are S (k) 1'l (k> +n (k)=}l −
X (k) +n (k)・・・・・・(8) 9 (k) =}I (k>・X(k>・・・・・・(
9〉 e (k> =s (k>9 (k>” (H
}l (k) ) ・X (1<) +n (k)...
...(10) becomes. Received signal x input from receiving side input terminal 11
(k) and the near-end input signal n (k) input from the transmitting side input terminal 13 are uncorrelated, so the power of the residual signal equation (6) is E (k) = llH- }{ (k> I12X (k> +N (
k)...(11) Therefore, 2 Aoom(k) =-1ocog1o(Ill{-H
l) It becomes It. Here, III{−H (k>
I+2 is a quantity representing the estimation error of the impulse response of the echo path, and if the estimation has converged sufficiently, it will be a very small value, so the equation (12) represents the S/N. Also, if convergence is in progress, IIH-H (k)I+2 decreases with time, so A,. IIl(k〉 increases. Therefore,
(4> The difference value A d(k> is A.oII1(k
) COm, so when this value is larger than a certain appropriate positive threshold th, it can be determined that the estimation error is decreasing due to convergence or the S/N is increasing. At this time, S
If /N is larger than the past value, the estimation accuracy will be even better than the current one, so it is advantageous to increase the correction coefficient α and quickly converge. Therefore, α is set to a large value α1 using equation <6>.

逆に、差分値A。oII!d(k)が閾値thよりも小
さくなったとき、収束状態でかつS/Nの増加する割合
が小さくなってきているので、修正係数αを小さな値と
して推定した方が、推定精度がよくなると同時に、S/
Nが急激に劣化したとき推定値の乱れを少なくできる。
Conversely, the difference value A. oII! When d(k) becomes smaller than the threshold th, it is in a converged state and the rate of increase in S/N is decreasing, so estimating the correction coefficient α as a small value will improve the estimation accuracy. At the same time, S/
When N rapidly deteriorates, disturbances in estimated values can be reduced.

また、S/Hの値が過去の値よりも小さいときは、大き
なαで推定を行うと推定値が劣化してしまうので、αを
小さな値としなければならない。したがって、(7〉式
によりαを小さな値α2とする。
Further, when the value of S/H is smaller than the past value, the estimated value deteriorates if estimation is performed with a large α, so α must be set to a small value. Therefore, α is set to a small value α2 using equation (7>).

このように、本実施例では、S/N推定回路30、変化
量生成回路40及び修正係数決定回路50で構成される
修正係数制御回路21を設け、該修正係数決定回路50
により、S/Nが増加中で、その値が大きい時だけ修正
係数αを大きく選ぶようにしたので、S/Nの値および
その変化に応じて適切に修正係数αを制御することがで
きる。従って、近端の周囲雑音が太き<S/Nが常に悪
い状態でも良好に収束し、かつダブルトーク時にもエコ
ーパスの推定値の乱れを小さく抑えることができる。
As described above, in this embodiment, the modification coefficient control circuit 21 composed of the S/N estimation circuit 30, the change amount generation circuit 40, and the modification coefficient determination circuit 50 is provided, and the modification coefficient determination circuit 50
Therefore, since the correction coefficient α is selected to be large only when the S/N is increasing and the value is large, the correction coefficient α can be appropriately controlled according to the S/N value and its change. Therefore, even when the near-end ambient noise is large and S/N is always bad, convergence can be achieved well, and disturbances in the estimated value of the echo path can be suppressed to a small level even during double talk.

音声信号を用いたシミュレーションの結果では、ダブル
トークの場合のエコー打ち消し量の平均値は、従来方式
では15dB、本実施例では24dBであった。また、
S/Nが悪い場合の特性は、平均近端入力信号レベル−
35dBm○のとき、本実方1例では19dBの平均エ
コー打ち消し量が得られた。従来方式では、この条件の
場合、エコー打ち消し量はほとんど零であったことから
、本実施例による効果は非常に大きい。
As a result of a simulation using an audio signal, the average value of the amount of echo cancellation in the case of double talk was 15 dB in the conventional method and 24 dB in this embodiment. Also,
The characteristics when the S/N is poor are the average near-end input signal level -
At 35 dBm○, an average echo cancellation amount of 19 dB was obtained in this example. In the conventional method, the amount of echo cancellation was almost zero under this condition, so the effect of this embodiment is very large.

なお、本発明は図示の実施例に限定されず、種々の変形
が可能である。その変形例としては、例えば次のような
ものがある。
Note that the present invention is not limited to the illustrated embodiment, and various modifications are possible. Examples of such modifications include the following.

(a)  上記実施例では、修正係数αを2種類の値α
1,α2で制御しているが、S/Nの推定値やその変化
量の判定間値thを増やせば、さらに細かく修正係数を
制御することも可能である。
(a) In the above embodiment, the correction coefficient α is set to two types of values α.
1 and α2, but it is possible to control the correction coefficient more finely by increasing the estimated S/N value and the inter-judgment value th of the amount of change thereof.

(b)  上記実施例では、ダブルトーク検出器等のよ
うな、通常エコーキャンセラに備えられている回路や機
能について説明を省略しているが、当然、これらの回路
や機能を備えたエコーキャンセラについても適用される
(b) In the above embodiments, descriptions of circuits and functions normally provided in echo cancellers, such as double talk detectors, etc. are omitted, but of course, descriptions of echo cancelers equipped with these circuits and functions are omitted. also applies.

(発明の効果) 以上詳細に説明したように、本発明によれば、S/Nを
推定する推定回路、S/N推定値の変化量を求める変化
量生成回路、及び修正係数決定回路を設け、該修正係数
決定回路により、前記S/Nが増加中で、その値が大き
い時だけ修正係数を大きく選ぶようにしたので、S/N
の値およびその変化に応じて適切に修正係数を制御する
ことができる。従って、近端の周囲雑音が太き( S/
Nが常に悪い状態でも良好に収束し、かつダブルトーク
時にもエコーパスの推定値の乱れを小さく抑えることが
できる。
(Effects of the Invention) As described in detail above, according to the present invention, an estimation circuit for estimating S/N, a change amount generation circuit for calculating the amount of change in the estimated S/N value, and a correction coefficient determination circuit are provided. , the correction coefficient determining circuit selects a large correction coefficient only when the S/N is increasing and its value is large, so that the S/N
The correction coefficient can be appropriately controlled according to the value of and its change. Therefore, the ambient noise at the near end is thick (S/
Good convergence is achieved even when N is always bad, and disturbances in the estimated value of the echo path can be kept small even during double talk.

また、推定回路を、受信信号と残差信号のパワー比によ
りS/N推定値を算出する構成にすれば、簡単な回路構
成で、的確なS/N推定値が得られる。さらに、修正係
数決定回路を、S/N推定値が過去のS/N推定値のピ
ーク値よりも大きい時にS/Nが大きいと判定する構成
にすれば、簡単で、高精度な判定結果が得られる。
Further, if the estimation circuit is configured to calculate the S/N estimated value based on the power ratio of the received signal and the residual signal, an accurate S/N estimated value can be obtained with a simple circuit configuration. Furthermore, if the correction coefficient determination circuit is configured to determine that the S/N is large when the S/N estimated value is larger than the peak value of past S/N estimated values, a simple and highly accurate determination result can be obtained. can get.

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

第1図は本発明の実施例を示すエコーキャンセラの構成
ブロック図、第2図は従来のエコーキャンセラの構成ブ
ロック図、第3図は第1図中の修正係数制御回路の構成
ブロック図である。 10A・・・・・・エコーキャンセラ、15・・・・・
・減算器、16・・・・・・畳み込み演算回路、17・
・・・・・Xレジスタ、18・・・・・・Hレジスタ、
19・・・・・・加算器、20・・・・・・修正量生成
回路、2l・・・・・・修正係数制御回路、30・・・
・・・S/N推定回路、40・・・・・・変化量生成回
路、50・・・・・・修正係数決定回路。
FIG. 1 is a block diagram of the structure of an echo canceller showing an embodiment of the present invention, FIG. 2 is a block diagram of the structure of a conventional echo canceller, and FIG. 3 is a block diagram of the correction coefficient control circuit in FIG. . 10A...Echo canceller, 15...
・Subtractor, 16... Convolution operation circuit, 17.
...X register, 18...H register,
19... Adder, 20... Correction amount generation circuit, 2l... Correction coefficient control circuit, 30...
... S/N estimation circuit, 40 ... variation generation circuit, 50 ... correction coefficient determination circuit.

Claims (1)

【特許請求の範囲】 1、受信信号を格納する第1のレジスタと、エコーパス
の推定インパルス応答を格納する第2のレジスタと、前
記第1および第2のレジスタの内容に基づき畳み込み演
算を行って擬似エコー信号を生成する畳み込み演算回路
と、送信信号から前記擬似エコー信号を差し引いて残差
信号を出力する減算器と、前記受信信号、前記残差信号
及び修正係数に基づき前記エコーパスの推定インパルス
応答の修正量を求める修正量生成回路と、前記第2のレ
ジスタに格納された現サンプルのエコーパスの推定イン
パルス応答と前記修正量とを加算して次サンプルのエコ
ーパス推定インパルス応答を求めそれを前記第2のレジ
スタに格納させる加算器とを、備えたエコーキャンセラ
において、 前記受信信号及び残差信号に基づき信号対雑音比の推定
値を求める推定回路と、 前記推定値の変化量を求める変化量生成回路と、前記推
定値が大きく、かつ前記変化量に基づき前記推定値が増
加中であると判定された時だけ修正係数を大きな値とし
て前記修正量生成回路へ与える修正係数決定回路とを、 設けたことを特徴とするエコーキャンセラ。 2、請求項1記載のエコーキャンセラにおいて、前記推
定回路は、前記受信信号と前記残差信号のパワー比によ
り前記推定値を算出する構成にしたエコーキャンセラ。 3、請求項1記載のエコーキャンセラにおいて、前記修
正係数決定回路は、前記信号対雑音比の推定値が過去の
推定値のピーク値よりも大きい時に信号対雑音比が大き
いと判定する構成にしたエコーキャンセラ。
[Claims] 1. A first register that stores a received signal, a second register that stores an estimated impulse response of an echo path, and a convolution operation based on the contents of the first and second registers. a convolution calculation circuit that generates a pseudo echo signal; a subtracter that subtracts the pseudo echo signal from a transmission signal and outputs a residual signal; and an estimated impulse response of the echo path based on the received signal, the residual signal, and a correction coefficient. a correction amount generation circuit for calculating the correction amount of the second sample; and a correction amount generating circuit that adds the estimated impulse response of the echo path of the current sample stored in the second register and the correction amount to obtain the estimated impulse response of the echo path of the next sample, and calculates the estimated impulse response of the echo path of the next sample. In the echo canceller, the echo canceller includes: an estimating circuit that calculates an estimated value of the signal-to-noise ratio based on the received signal and the residual signal; and a change amount generation unit that calculates the amount of change in the estimated value. and a correction coefficient determination circuit that applies a large correction coefficient to the correction amount generation circuit only when it is determined that the estimated value is large and that the estimated value is increasing based on the amount of change. An echo canceller characterized by: 2. The echo canceller according to claim 1, wherein the estimation circuit calculates the estimated value based on a power ratio between the received signal and the residual signal. 3. The echo canceller according to claim 1, wherein the correction coefficient determining circuit is configured to determine that the signal-to-noise ratio is large when the estimated value of the signal-to-noise ratio is larger than a peak value of past estimated values. echo canceller.
JP1243946A 1989-09-20 1989-09-20 Eco-canceller Expired - Fee Related JP2516260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1243946A JP2516260B2 (en) 1989-09-20 1989-09-20 Eco-canceller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1243946A JP2516260B2 (en) 1989-09-20 1989-09-20 Eco-canceller

Publications (2)

Publication Number Publication Date
JPH03106231A true JPH03106231A (en) 1991-05-02
JP2516260B2 JP2516260B2 (en) 1996-07-24

Family

ID=17111391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1243946A Expired - Fee Related JP2516260B2 (en) 1989-09-20 1989-09-20 Eco-canceller

Country Status (1)

Country Link
JP (1) JP2516260B2 (en)

Also Published As

Publication number Publication date
JP2516260B2 (en) 1996-07-24

Similar Documents

Publication Publication Date Title
US7856097B2 (en) Echo canceling apparatus, telephone set using the same, and echo canceling method
JP2518433B2 (en) Double talk detection circuit
US6198819B1 (en) Echo canceller having improved non-linear processor
JP2001077729A (en) Automatic gain controller
JPS6251529B2 (en)
US6215880B1 (en) Two-wire conference apparatus with echo canceler without training
US5737408A (en) Echo cancelling system suitable for voice conference
JP5293952B2 (en) Signal processing method, signal processing apparatus, and signal processing program
JP3145269B2 (en) Echo canceller control method
JP2516260B2 (en) Eco-canceller
JP3244416B2 (en) Echo canceller
JP2949989B2 (en) Echo cancellation device
JP3176825B2 (en) Echo canceller device
JP3094634B2 (en) Echo removal method and echo removal device
JP3037386B2 (en) Echo canceller
JP3187716B2 (en) Echo canceller
JPH07303066A (en) Double talk detector and echo canceler
JP4474522B2 (en) Residual suppression variable echo canceller
JPH11234177A (en) Filter coefficient updating controller of echo canceller
JPH02113731A (en) Echo canceller
JPS63234733A (en) Echo canceller
JPH08251079A (en) Echo canceler
JPH0131731B2 (en)
JPH04262627A (en) Echo canceller
JPH03280725A (en) Echo canceller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees