JP2003143042A - Echo canceller - Google Patents

Echo canceller

Info

Publication number
JP2003143042A
JP2003143042A JP2001337783A JP2001337783A JP2003143042A JP 2003143042 A JP2003143042 A JP 2003143042A JP 2001337783 A JP2001337783 A JP 2001337783A JP 2001337783 A JP2001337783 A JP 2001337783A JP 2003143042 A JP2003143042 A JP 2003143042A
Authority
JP
Japan
Prior art keywords
maximum value
value
echo
signal
held
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
JP2001337783A
Other languages
Japanese (ja)
Other versions
JP3862548B2 (en
Inventor
Shinsuke Takada
真資 高田
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 JP2001337783A priority Critical patent/JP3862548B2/en
Publication of JP2003143042A publication Critical patent/JP2003143042A/en
Application granted granted Critical
Publication of JP3862548B2 publication Critical patent/JP3862548B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a echo canceller, capable of removing echoes of both of a periodic signal and an audio signal at a low cost. SOLUTION: This echo canceller comprises a first means 6 for computing an attenuation amount of the echo signal by each constant time interval, a second means 9 for tracking and holding the maximum value of the computed attenuation amount, a third means 10 for decreasing at a fixed ratio the maximum value of the attenuation amount output from the second means by each of the constant time intervals, when the value of the maximum value of the attenuation amount held in the second means subtracted by the current value of the attenuation amount of the echo signal exceeds a first threshold and holding the obtained values, and a fourth means 11 for computing the difference between the maximum value of the attenuation amount held in the second means and the values held in the third means by each of the fixed time intervals. When the difference exceeds a second threshold, both the maximum value of the attenuation amount, held in the second means and the values held in the third means, are reset to the current value of the attenuation amount of the echo signal, and filter coefficient updating operation for an adaptive filter is started.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信ラインのイン
ピーダンス不整合等により発生するエコー信号を除去す
るために電話システム等に使用されるエコーキャンセラ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an echo canceller used in a telephone system or the like for removing an echo signal generated by impedance mismatch of a communication line.

【0002】[0002]

【従来の技術】エコーキャンセラに呼制御用の周期信号
(例えば、呼び出し信号RBT)が入力するとき、該周
期信号の擬似エコー信号を生成し、該周期信号のエコー
をキャンセルするために適応フィルタのフィルタ係数を
更新するようにすると、次に音声信号が入力されたと
き、適応フィルタは再びフィルタ係数を更新して行く必
要があるのでエコーは直ちには除去されず、通話品質が
低下するという問題がある。
2. Description of the Related Art When a periodic signal for call control (for example, a ringing signal RBT) is input to an echo canceller, a pseudo echo signal of the periodic signal is generated and an adaptive filter of an adaptive filter is used to cancel the echo of the periodic signal. When the filter coefficient is updated, the echo filter is not immediately removed because the adaptive filter needs to update the filter coefficient again the next time a voice signal is input, which causes a problem that the call quality deteriorates. is there.

【0003】この問題に対処するため、エコーキャンセ
ラに入力される信号が周期信号か音声信号かを判別し、
周期信号であれはエコーキャンセラの適応フィルタの係
数更新を停止し、音声信号であればエコーキャンセラの
適応フィルタの係数更新を行うことが例えば特開200
1-024778号公報に開示されている。
In order to deal with this problem, it is determined whether the signal input to the echo canceller is a periodic signal or a voice signal,
For example, for a periodic signal, the coefficient update of the adaptive filter of the echo canceller is stopped, and for a voice signal, the coefficient update of the adaptive filter of the echo canceller is performed.
It is disclosed in Japanese Patent Publication No. 1-024778.

【0004】図12を参照して、この公報に開示された
エコーキャンセラの動作を簡単に説明する。図12は、
インターネット電話(Voip)にエコーキャンセラを使
用する例を示している。ここでは、近端者話者側のエコ
ーキャンセラ101について説明する。近端話者Aが遠
端話者Bに電話をかける場合、まず、呼び出し信号RB
Tが遠端話者Bに送られる。
The operation of the echo canceller disclosed in this publication will be briefly described with reference to FIG. Figure 12
An example of using an echo canceller for an Internet telephone (Voip) is shown. Here, the echo canceller 101 on the near-end talker side will be described. When the near-end talker A calls the far-end talker B, first, the call signal RB
T is sent to far-end speaker B.

【0005】この呼び出し信号RBTは、近端話者側の
エコーキャンセラ101とインターネット回線との間の
ゲートウェイ103、あるいは遠端話者側の不図示のゲ
ートウェイまたは遠端話者側の不図示のPBXが発生す
る。この呼び出し信号は近端話者Aにも送られ、近端話
者Aは「プルルー」というような呼び出し音を聞くことが
できる。
This call signal RBT is a gateway 103 between the echo canceller 101 on the near-end talker side and the Internet line, or a gateway (not shown) on the far-end talker side or a PBX (not shown) on the far-end talker side. Occurs. This calling signal is also sent to the near-end speaker A, who can hear a ringing sound such as "pururu".

【0006】この時、遠端話者Bが不在等の理由により
電話に出ないとき、近端話者Aは通話をあきらめ受話器
を下ろすが、この時、一般には、近端話者側のPBX10
6はこれを検知して、話中信号BTを出力する。この話
中信号BTは、エコーキャンセラ101を通過し、ゲー
トウェイ103に入力する。ゲートウェイ103がこの
話中信号BTを検出すると、近端話者Aが回線の確立を
放棄したとみなし、回線を開放する。
At this time, when the far-end talker B does not answer the telephone due to absence or the like, the near-end talker A gives up the call and hangs down the receiver. At this time, generally, the near-end talker side PBX 10
6 detects this and outputs a busy signal BT. The busy signal BT passes through the echo canceller 101 and is input to the gateway 103. When the gateway 103 detects the busy signal BT, it is considered that the near-end talker A has abandoned the establishment of the line, and the line is released.

【0007】[0007]

【発明が解決しようとする課題】しかし、上記したよう
にこのエコーキャンセラ101は、周期信号が入力され
た時点でフィルタ係数の更新を停止しているので、周期
信号のエコーを打ち消す能力が無い。そのため、近端話
者Aがダイヤルし終えた時点でゲートウェイ103から
近端話者側に送られる呼び出し信号RBTのエコーはエ
コーキャンセラ101によって除去されることなく、そ
のままゲートウェイ103の送信側入力端子に入る。そ
の後、近端話者Aが通話をあきらめて受話器を置くと、
例えばPBX106が生成した話中信号BTはハイブリ
ッドトランス104及びエコーキャンセラ101を経由
してゲートウェイの送信側入力端子に入る。従ってこの
時点では、ゲートウェイ103の送信側入力端子には呼
び出し信号RBTのエコー信号と話中信号BTの2種類
の信号が重畳されて到来することになる。
However, as described above, since the echo canceller 101 stops updating the filter coefficient when the periodic signal is input, it does not have the ability to cancel the echo of the periodic signal. Therefore, the echo of the call signal RBT sent from the gateway 103 to the near-end talker side when the near-end talker A finishes dialing is not removed by the echo canceller 101, and is directly input to the transmission-side input terminal of the gateway 103. enter. After that, when the near-end speaker A gives up the call and puts the handset,
For example, the busy signal BT generated by the PBX 106 enters the transmission side input terminal of the gateway via the hybrid transformer 104 and the echo canceller 101. Therefore, at this point, two types of signals, the echo signal of the calling signal RBT and the busy signal BT, are superimposed and arrive at the transmission side input terminal of the gateway 103.

【0008】話中信号BTと呼び出し信号RBTは周波
数が同ーであるシステムも多い。例えば日本国内では、
話中信号BT及び呼び出し信号RBTは信号の断続周期
こそ異なっているが、周波数はともに400Hzの周期
信号である。また信号の最大振幅もほぼ等しい。このよ
うな場合、ゲートウェイ103は両者が混在した信号か
ら話中信号BTを見つけることができず、回線を開放す
ることができないので回線を新たな通信に使用すること
ができなくなるという問題がある。
In many systems, the busy signal BT and the call signal RBT have the same frequency. For example, in Japan,
The busy signal BT and the call signal RBT differ in the intermittent period of the signals, but both are periodic signals of 400 Hz. Also, the maximum amplitudes of the signals are almost equal. In such a case, the gateway 103 cannot find the busy signal BT from the mixed signals, and cannot open the line, which causes a problem that the line cannot be used for new communication.

【0009】一方、この問題に対処するため、周期信号
が入力されたときにもフィルタ係数を更新するようにす
ると以下のような別の問題が発生することになる。
On the other hand, in order to deal with this problem, if the filter coefficient is updated even when the periodic signal is input, another problem as described below will occur.

【0010】即ち、エコーキャンセラ101には、周期
信号で学習するエコー経路の様子(伝達経路波形)と、音
声信号のようなある程度の周波数帯域を有する信号で学
習するエコー経路の様子は異なるものとして観測され
る。回線接続初期の周期信号のやり取り時の学習を優先
させる場合、エコーキャンセラ101は周期信号の周波
数成分(例えば400Hz)のエコー経路成分を良く学習
するが、他の周波数成分に関してはまったくの未学習状
態となる。例えば呼び出し信号RBT信号に応答し、遠
端話者が受話器を取り上げると、次に始まるのは音声信
号による会話であるが、音声信号は電話回線上では、3
40Hz-4000Hz程度の周波数的広がりを持つ信
号である。この時、エコーキャンセラ101にとって
は、エコー経路の様子が急に変化することになる。特に
音声信号の周波数成分のうちの未学習の周波数成分に関
しては、どのような推定アルゴリズムを用いても、エコー
を十分に除去できるようになるまでには学習時間が必要
であり、通話品質が低下する。
That is, in the echo canceller 101, the state of an echo path learned by a periodic signal (transmission path waveform) and the state of an echo path learned by a signal having a certain frequency band such as a voice signal are different. To be observed. When giving priority to learning when exchanging periodic signals in the initial stage of line connection, the echo canceller 101 well learns the echo path component of the frequency component (for example, 400 Hz) of the periodic signal, but it is completely unlearned for other frequency components. Becomes For example, in response to a ringing signal RBT signal, when the far-end speaker picks up the handset, the speech signal starts next, but the speech signal is 3 on the telephone line.
The signal has a frequency spread of about 40 Hz to 4000 Hz. At this time, for the echo canceller 101, the state of the echo path suddenly changes. Especially for the unlearned frequency components of the voice signal, learning time is required until the echo can be sufficiently removed by using any estimation algorithm, and the call quality deteriorates. To do.

【0011】この問題は、ほとんどのエコーキャンセラ
には簡単なダブルトーク検出器が実装されているという
理由からより大きくなる。ダブルトークとは、遠端話者
の音声信号と近端話者の音声信号が同時に存在する状態
を意味し、通常、この状態ではエコー信号と伝送すべき
音声信号とを区別することが困難であり適応フィルタの
係数更新を停止する。例えば、周期信号のエコーを除去
する期間が終ると、エコーキャンセラ101は遠端話者
の音声信号のエコー除去する期間に入るが、上に述べた
ように、エコーキャンセラ101は音声信号エコーを消
す為の正しいエコー経路の波形を学習していないので遠
端話者の音声信号のエコーを除去することができない。
そのため、送信側出力端子Soutに観測されるエコー
信号のレベルが高くなるので、特に、受信側入力端子R
inに入る音声信号のレベルと送信側出力端子Sout
から出る音声信号のレベルとを比較してダブルトークを
検出する通常のエコーキャンセラの場合、ダブルトーク
状態と誤判定し、適応フィルタ係数更新を停止してしま
うケースが多くなる。このとき、エコーキャンセラは継
続的に適応フィルタの係数更新を停止したままとなり、
話者はエコーの多い劣悪な通話を強いられることにな
る。
This problem is exacerbated because most echo cancellers have a simple double-talk detector implemented. Double talk means a state in which the voice signal of the far-end speaker and the voice signal of the near-end speaker are present at the same time, and in this state, it is usually difficult to distinguish the echo signal from the voice signal to be transmitted. Yes Stop updating adaptive filter coefficients. For example, after the period for canceling the echo of the periodic signal ends, the echo canceller 101 enters the period for canceling the echo of the voice signal of the far-end speaker, but as described above, the echo canceller 101 cancels the voice signal echo. Since the waveform of the correct echo path for learning is not learned, the echo of the voice signal of the far-end speaker cannot be removed.
As a result, the level of the echo signal observed at the output terminal Sout on the transmission side becomes high.
Level of audio signal entering in and output terminal Sout of transmission side
In the case of a normal echo canceller that detects the double talk by comparing the level of the audio signal output from the normal echo canceller, there are many cases in which the adaptive filter coefficient update is stopped due to the erroneous determination of the double talk state. At this time, the echo canceller continuously stops updating the coefficient of the adaptive filter,
The speaker is forced to make a bad call with many echoes.

【0012】以上説明したように、上記の従来の構成の
エコーキャンセラでは、周期信号入力時にフィルタ係数
の更新を停止するようにすれば、呼び出し信号のエコー
と話中信号とが混在した場合、話中信号を検出できなく
なるので回線を開放することができず、一方、周期信号
のエコー除去を優先すると、肝心の会話中のエコー感を
残してしまうという問題がる。
As described above, in the above-described conventional echo canceller, if the update of the filter coefficient is stopped when the periodic signal is input, when the echo of the calling signal and the busy signal are mixed, Since the medium signal cannot be detected, the line cannot be opened. On the other hand, if echo elimination of the periodic signal is prioritized, there is a problem that an important echo feeling during conversation is left.

【0013】それに加え、上記の従来のエコーキャンセ
ラは、呼制御信号(周期信号)と音声信号が連続するよう
な時はエコーを除去するためにエコーキャンセラを複雑
に制御する必要があり、装置規模、あるいはソフトウェア
規模が大きく、周期信号と音声信号の判別の為に複雑な
信号検出器を必要とするので製造コストが高いという問
題もある。
In addition to the above, the conventional echo canceller described above requires complicated control of the echo canceller in order to remove the echo when the call control signal (periodic signal) and the voice signal are continuous. Alternatively, the scale of software is large, and a complicated signal detector is required to discriminate a periodic signal from a voice signal, so that there is a problem that the manufacturing cost is high.

【0014】本発明は、上記の問題に鑑みなされたもの
であり、周期信号と音声信号の両方のエコーを除去する
ことのできるエコーキャンセラを低コストで提供するこ
とを課題とする。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an echo canceller capable of removing echoes of both a periodic signal and a voice signal at low cost.

【0015】[0015]

【課題を解決するための手段】上記課題を解決すべく、
請求項1に記載の発明は、受信信号のエコー信号が送信
側に戻ることを防止するために、該エコー信号に加算さ
れ、該エコー信号を減衰させる擬似エコー信号を生成す
る適応フィルタを有するエコーキャンセラにおいて、受
信信号のパワーと擬似エコー信号の加算されたエコー信
号のパワーとからエコー信号の減衰量を一定の時間間隔
毎に計算する第1の手段と、前記第1の手段により計算
された減衰量の最大値を追跡し、保持する第2の手段
と、前記第2の手段の保持する減衰量の最大値からエコ
ー信号の減衰量の現在値を差し引いた値が第1の閾値を
超えたときに、該第2の手段から出力された減衰量の最
大値を前記一定の時間間隔毎に一定の比率で減少させ、
その値を保持する第3の手段と、前記第2の手段の保持
する減衰量の最大値と前記第3の手段の保持する値の乖
離幅を前記一定の時間間隔で計算する第4の手段とを備
え、前記第4の手段が計算した乖離幅が第2の閾値を超
えたときに、前記第2の手段の保持する減衰量の最大値
と前記第3の手段の保持する値の両方をエコー信号の減
衰量の現在値にリセットするとともに、前記適応フィル
タのフィルタ係数更新動作を開始することを特徴とす
る。
[Means for Solving the Problems] In order to solve the above problems,
In order to prevent the echo signal of the received signal from returning to the transmission side, the invention according to claim 1 has an adaptive filter which is added to the echo signal to generate a pseudo echo signal for attenuating the echo signal. In the canceller, first means for calculating the attenuation amount of the echo signal from the power of the received signal and the power of the echo signal to which the pseudo echo signal is added are calculated at fixed time intervals; and the first means. Second means for tracking and holding the maximum value of the attenuation amount, and a value obtained by subtracting the current value of the attenuation amount of the echo signal from the maximum value of the attenuation amount held by the second means exceeds a first threshold value. The maximum value of the attenuation amount output from the second means is decreased at a constant rate at the constant time intervals,
Third means for holding the value and fourth means for calculating a deviation width between the maximum value of the attenuation amount held by the second means and the value held by the third means at the constant time interval. Both the maximum value of the attenuation amount held by the second means and the value held by the third means when the deviation width calculated by the fourth means exceeds a second threshold value. Is reset to the current value of the attenuation amount of the echo signal, and the filter coefficient updating operation of the adaptive filter is started.

【0016】請求項2に記載の発明は、請求項1に記載
の発明において、前記第2の手段の保持する減衰量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する減衰量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する減衰量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とす
る。
According to a second aspect of the present invention, in the first aspect of the invention, there is provided a fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means is updated.
When the fifth means outputs that the maximum value of the attenuation amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the attenuation held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0017】請求項3に記載の発明は、請求項2に記載
の発明において、ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする。
The invention according to claim 3 is the invention according to claim 2, further comprising a sixth means for detecting whether or not the double talk state is present, and the double talk state is detected by the sixth means. The filter coefficient updating operation of the adaptive filter is stopped when this occurs, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double-talk state.

【0018】請求項4に記載の発明は、請求項3に記載
の発明において、前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする。
According to a fourth aspect of the present invention, in the invention according to the third aspect, the start and stop of the filter coefficient updating operation of the adaptive filter is controlled by the output of the fourth means>
The output of the fifth means> the output of the sixth means is performed in the order of priority.

【0019】請求項5に記載の発明は、請求項1から4
のいずれか一項に記載の発明において、前記第1の手段
は、該第1の手段に入力される受信信号及び擬似エコー
信号の加算されたエコー信号のそれぞれについて、入力
信号のパワーを一定の時間間隔毎に計算するパワー計算
手段と、計算されたパワーの最大値を保持するととも
に、該保持された最大値が更新されないとき、該保持す
る最大値を前記一定の時間間隔毎に一定の比率で減少さ
せる最大値追跡/リーク手段とを備え、該最大値追跡/
リーク手段の出力する最大値に基づいてエコー信号の減
衰量を計算することを特徴とする。
The invention described in claim 5 is the invention according to claims 1 to 4.
In the invention as described in any one of 1 above, the first means keeps the power of the input signal constant for each of the echo signal to which the received signal and the pseudo echo signal added to the first means are added. A power calculation means for calculating at each time interval, and holding a maximum value of the calculated power, and when the held maximum value is not updated, the held maximum value is kept at a constant ratio for every fixed time interval. Maximum value tracking / leak means for reducing the maximum value tracking /
It is characterized in that the attenuation amount of the echo signal is calculated based on the maximum value output by the leak means.

【0020】上記課題を解決すべく、請求項6に記載の
発明は、受信信号のエコー信号が送信側に戻ることを防
止するために、該エコー信号に加算され、該エコー信号
を減衰させる擬似エコー信号を生成する適応フィルタを
有するエコーキャンセラにおいて、受信信号のパワーと
擬似エコー信号の加算されたエコー信号のパワーとから
エコー信号の減衰量を一定の時間間隔毎に計算する第1
の手段と、前記第1の手段により計算された減衰量の最
大値を追跡し、保持する第2の手段と、前記第2の手段
の保持する減衰量の最大値からエコー信号の減衰量の現
在値を差し引いた値が所定の閾値を超えたときに、前記
第2の手段から出力された減衰量の最大値を前記一定の
時間間隔毎に一定の比率で減少させ、その値を保持する
第3の手段と、前記第2の手段の保持する減衰量の最大
値と前記第3の手段の保持する値とが乖離し始めてから
経過した時間の長さを計測する第4の手段とを備え、前
記第4の手段が計測した時間が所定の値に達したとき
に、前記第2の手段の保持する減衰量の最大値と前記第
3の手段の保持する値の両方をエコー信号の減衰量の現
在値にリセットするとともに、前記適応フィルタのフィ
ルタ係数更新動作を開始することを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 6 is a pseudo-attenuator that adds an echo signal of a received signal to the echo signal and attenuates the echo signal in order to prevent the echo signal from returning to the transmission side. In an echo canceller having an adaptive filter for generating an echo signal, first calculating the attenuation amount of the echo signal from the power of the received signal and the power of the echo signal to which the pseudo echo signal is added
Means for tracking and holding the maximum value of the attenuation amount calculated by the first means, and the second means for holding the maximum value of the attenuation amount, and the maximum value of the attenuation amount held by the second means When the value obtained by subtracting the current value exceeds a predetermined threshold value, the maximum value of the attenuation amount output from the second means is decreased at a constant rate at the constant time interval and the value is held. The third means and the fourth means for measuring the length of time that has elapsed since the maximum value of the attenuation amount held by the second means and the value held by the third means started to deviate from each other. When the time measured by the fourth means reaches a predetermined value, both the maximum value of the attenuation amount held by the second means and the value held by the third means are converted into echo signals. While resetting the current attenuation value, update the filter coefficient of the adaptive filter. Characterized in that it started.

【0021】請求項7に記載の発明は、請求項6に記載
の発明において、前記第2の手段の保持する減衰量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する減衰量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する減衰量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とす
る。
The invention according to claim 7 is the invention according to claim 6, further comprising: fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means is updated.
When the fifth means outputs that the maximum value of the attenuation amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the attenuation held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0022】請求項8に記載の発明は、請求項7に記載
の発明において、ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする。
The invention described in claim 8 is the same as the invention described in claim 7, further comprising a sixth means for detecting whether or not the double talk state is present, and the double talk state is detected by the sixth means. The filter coefficient updating operation of the adaptive filter is stopped when this occurs, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double-talk state.

【0023】請求項9に記載の発明は、請求項8に記載
の発明において、前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする。
According to a ninth aspect of the invention, in the eighth aspect of the invention, the control of the start and stop of the filter coefficient updating operation of the adaptive filter is performed by the output of the fourth means>
The output of the fifth means> the output of the sixth means is performed in the order of priority.

【0024】請求項10に記載の発明は、請求項6から
9のいずれか一項に記載の発明において、前記第1の手
段は、該第1の手段に入力される受信信号及び擬似エコ
ー信号の加算されたエコー信号のそれぞれについて、入
力信号のパワーを一定の時間間隔毎に計算するパワー計
算手段と、計算されたパワーの最大値を保持するととも
に、該保持された最大値が更新されないとき、該保持す
る最大値を前記一定の時間間隔毎に一定の比率で減少さ
せる最大値追跡/リーク手段とを備え、該最大値追跡/
リーク手段の出力する最大値に基づいてエコー信号の減
衰量を計算することを特徴とする。
According to a tenth aspect of the invention, in the invention according to any one of the sixth to ninth aspects, the first means is a reception signal and a pseudo echo signal input to the first means. Power calculating means for calculating the power of the input signal for each constant time interval for each of the added echo signals of, and holding the maximum value of the calculated power, and when the held maximum value is not updated. , Maximum value tracking / leak means for reducing the held maximum value at a constant rate at the constant time interval,
It is characterized in that the attenuation amount of the echo signal is calculated based on the maximum value output by the leak means.

【0025】上記課題を解決すべく、請求項11に記載
の発明は、受信信号のエコー信号が送信側に戻ることを
防止するために、該エコー信号に加算され、該エコー信
号を減衰させる擬似エコー信号を生成する適応フィルタ
を有するエコーキャンセラにおいて、受信信号のパワー
とび擬似エコー信号の加算されたエコー信号のパワーと
からエコー信号の減衰量を一定の時間間隔で計算する第
1の手段と、前記第1の手段により計算された減衰量の
最大値を追跡し、保持する第2の手段と、前記第2の手
段の保持する減衰量の最大値からエコー信号の減衰量の
現在値を差し引いた値が第1の閾値を超えたときに、該
第2の手段から出力された減衰量の最大値を前記一定の
時間間隔で一定の比率で減少させ、その値を保持する第
3の手段と、前記第2の手段の保持する減衰量の最大値
と前記第3の手段の保持する値の乖離幅を前記一定の時
間間隔毎に計算し、且つ該第2の手段の保持する減衰量
の最大値と前記第3の手段の保持する値とが乖離し始め
てから経過した時間の長さを計測する第4の手段とを備
え、前記第4の手段が計算した乖離幅が第2の閾値を超
えるかあるいは該第4の手段が計測した時間が所定の値
を超えたときに、前記第2の手段の保持する減衰量の最
大値と前記第3の手段の保持する値の両方をエコー信号
の減衰量の現在値にリセットするとともに、前記適応フ
ィルタのフィルタ係数更新動作を開始することを特徴と
する。
In order to solve the above-mentioned problems, the invention according to claim 11 is a pseudo signal which is added to an echo signal of a received signal to attenuate the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. In an echo canceller having an adaptive filter for generating an echo signal, first means for calculating the attenuation amount of the echo signal from the power of the received signal and the power of the echo signal to which the pseudo echo signal is added, at constant time intervals, Second means for tracking and holding the maximum value of the attenuation amount calculated by the first means, and subtracting the present value of the attenuation amount of the echo signal from the maximum value of the attenuation amount held by the second means. Third means for reducing the maximum value of the attenuation amount output from the second means at a constant rate at the constant time interval and holding the value when the value exceeds the first threshold value. And the above The difference between the maximum value of the attenuation amount held by the second means and the value held by the third means is calculated at each of the constant time intervals, and the maximum value of the attenuation amount held by the second means is calculated. And a fourth means for measuring the length of time that has elapsed since the value held by the third means began to deviate, and whether the deviation width calculated by the fourth means exceeds a second threshold value. Alternatively, when the time measured by the fourth means exceeds a predetermined value, both the maximum value of the attenuation amount held by the second means and the value held by the third means are attenuated in the echo signal. It is characterized in that the filter coefficient updating operation of the adaptive filter is started while resetting the current value of the quantity.

【0026】請求項12に記載の発明は、請求項11に
記載の発明において、前記第2の手段の保持する減衰量
の最大値が更新されたか否かを検出する第5の手段を備
え、前記第2の手段の保持する減衰量の最大値が更新さ
れたことを該第5の手段が出したときに前記適応フィル
タのフィルタ係数更新動作を開始し、前記第2の手段の
保持する減衰量の最大値が一定の期間に渡り更新されな
かったことを該第5の手段が検出したときに前記適応フ
ィルタのフィルタ係数更新動作を停止することを特徴と
する。
According to a twelfth aspect of the present invention, in the eleventh aspect of the present invention, there is provided a fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means is updated. When the fifth means outputs that the maximum value of the attenuation amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the attenuation held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0027】請求項13に記載の発明は、請求項12に
記載の発明において、ダブルトーク状態にあるか否かを
検出する第6の手段を備え、ダブルトーク状態が該第6
の手段により検出されたときに前記適応フィルタのフィ
ルタ係数更新動作を停止し、該第6の手段がダブルトー
ク状態を検出しなくなったときに前記適応フィルタのフ
ィルタ係数更新動作を開始することを特徴とする。
The thirteenth aspect of the present invention is the invention according to the twelfth aspect, further comprising sixth means for detecting whether or not the double talk state is present.
The filter coefficient updating operation of the adaptive filter is stopped when detected by the means, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double talk state. And

【0028】請求項14に記載の発明は、請求項13に
記載の発明において、前記適応フィルタのフィルタ係数
更新動作の開始及び停止の制御が、前記第4の手段の出
力>前記第5の手段の出力>前記第6の手段の出力の順
の優先順位で行われることを特徴とする。
According to a fourteenth aspect of the present invention, in the invention according to the thirteenth aspect, the start and stop of the filter coefficient updating operation of the adaptive filter is controlled by the output of the fourth means> the fifth means. Output> the output of the sixth means is performed in the order of priority.

【0029】請求項15に記載の発明は、請求項11か
ら14のいずれか一項に記載の発明において、前記第1
の手段は、該第1の手段に入力される受信信号及び擬似
エコー信号の加算されたエコー信号のそれぞれについ
て、入力信号のパワーを一定の時間間隔毎に計算するパ
ワー計算手段と、計算されたパワーの最大値を保持する
とともに、該保持された最大値が更新されないとき、該
保持する最大値を前記一定の時間間隔毎に一定の比率で
減少させる最大値追跡/リーク手段とを備え、該最大値
追跡/リーク手段の出力する最大値に基づいてエコー信
号の減衰量を計算することを特徴とする。
The invention described in claim 15 is the same as the invention described in any one of claims 11 to 14,
Means for calculating the power of the input signal for each of the echo signals to which the received signal and the pseudo echo signal added to the first means are added, at a constant time interval; A maximum value tracking / leak means for holding the maximum value of the power and reducing the held maximum value at a constant rate at the constant time interval when the retained maximum value is not updated; It is characterized in that the attenuation amount of the echo signal is calculated based on the maximum value output from the maximum value tracking / leakage means.

【0030】上記課題を解決すべく、請求項16に記載
の発明は、受信信号のエコー信号が送信側に戻ることを
防止するために、該エコー信号に加算され、該エコー信
号を消去する擬似エコー信号を生成する適応フィルタを
有するエコーキャンセラにおいて、エコー信号のパワー
と擬似エコー信号の加算されたエコー信号のパワーとか
らエコー信号の消去量を一定の時間間隔毎に計算する第
1の手段と、前記第1の手段により計算された消去量の
最大値を追跡し、保持する第2の手段と、前記第2の手
段の保持する消去量の最大値からエコー信号の消去量の
現在値を差し引いた値が第1の閾値を超えたときに、該
第2の手段から出力された消去量の最大値を前記一定の
時間間隔毎に一定の比率で減少させ、その値を保持する
第3の手段と、前記第2の手段の保持する消去量の最大
値と前記第3の手段の保持する値の乖離幅を前記一定の
時間間隔で計算する第4の手段とを備え、前記第4の手
段が計算した乖離幅が第2の閾値を超えたときに、前記
第2の手段から出力された消去量の最大値と前記第3の
手段の保持する値の両方をエコー信号の消去量の現在値
にリセットするとともに、前記適応フィルタのフィルタ
係数更新動作を開始することを特徴とする。
In order to solve the above-mentioned problems, the invention as set forth in claim 16 is a pseudo signal which is added to an echo signal of a received signal to eliminate the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. In an echo canceller having an adaptive filter for generating an echo signal, a first means for calculating the amount of cancellation of the echo signal at constant time intervals from the power of the echo signal and the power of the echo signal to which the pseudo echo signal is added, A second means for tracking and holding the maximum value of the erasing amount calculated by the first means, and a current value of the erasing amount of the echo signal from the maximum value of the erasing amount held by the second means. When the subtracted value exceeds the first threshold value, the maximum value of the erase amount output from the second means is reduced at a constant rate at the constant time intervals, and the value is held. And the means of The fourth means calculates the deviation width between the maximum value of the erase amount held by the second means and the value held by the third means at the constant time interval, and the fourth means calculates When the deviation width exceeds the second threshold value, both the maximum value of the erasing amount output from the second means and the value held by the third means are reset to the current value of the erasing amount of the echo signal. At the same time, the filter coefficient updating operation of the adaptive filter is started.

【0031】請求項17に記載の発明は、請求項16に
記載の発明において、前記第2の手段の保持する消去量
の最大値が更新されたか否かを検出する第5の手段を備
え、前記第2の手段の保持する消去量の最大値が更新さ
れたことを該第5の手段が出したときに前記適応フィル
タのフィルタ係数更新動作を開始し、前記第2の手段の
保持する消去量の最大値が一定の期間に渡り更新されな
かったことを該第5の手段が検出したときに前記適応フ
ィルタのフィルタ係数更新動作を停止することを特徴と
する。
The invention according to claim 17 is the invention according to claim 16, further comprising a fifth means for detecting whether or not the maximum value of the erase amount held by the second means is updated. When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0032】請求項18に記載の発明は、請求項17に
記載の発明において、ダブルトーク状態にあるか否かを
検出する第6の手段を備え、ダブルトーク状態が該第6
の手段により検出されたときに前記適応フィルタのフィ
ルタ係数更新動作を停止し、該第6の手段がダブルトー
ク状態を検出しなくなったときに前記適応フィルタのフ
ィルタ係数更新動作を開始することを特徴とする。
The invention according to claim 18 is the invention according to claim 17, further comprising a sixth means for detecting whether or not the state is the double talk state, and the double talk state is the sixth state.
The filter coefficient updating operation of the adaptive filter is stopped when detected by the means, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double talk state. And

【0033】請求項19に記載の発明は、請求項18に
記載の発明において、前記適応フィルタのフィルタ係数
更新動作の開始及び停止の制御が、前記第4の手段の出
力>前記第5の手段の出力>前記第6の手段の出力の順
の優先順位で行われることを特徴とする。
According to a nineteenth aspect of the present invention, in the invention according to the eighteenth aspect, the start and stop of the filter coefficient updating operation of the adaptive filter is controlled by the output of the fourth means> the fifth means. Output> the output of the sixth means is performed in the order of priority.

【0034】上記課題を解決すべく、請求項20に記載
の発明は、受信信号のエコー信号が送信側に戻ることを
防止するために、該エコー信号に加算され、該エコー信
号を消去する擬似エコー信号を生成する適応フィルタを
有するエコーキャンセラにおいて、エコー信号のパワー
と擬似エコー信号の加算されたエコー信号のパワーとか
らエコー信号の消去量を一定の時間間隔毎に計算する第
1の手段と、前記第1の手段により計算された消去量の
最大値を追跡し、保持する第2の手段と、前記第2の手
段の保持する消去量の最大値からエコー信号の消去量の
現在値を差し引いた値が所定の閾値を超えたときに、前
記第2の手段から出力された消去量の最大値を前記一定
の時間間隔毎に一定の比率で減少させ、その値を保持す
る第3の手段と、前記第2の手段の保持する消去量の最
大値と前記第3の手段の保持する値とが乖離し始めてか
ら経過した時間の長さを計測する第4の手段とを備え、
前記第4の手段が計測した時間が所定の値に達したとき
に、前記第2の手段の保持する消去量の最大値と前記第
3の手段の保持する値の両方をエコー信号の消去量の現
在値にリセットするとともに、前記適応フィルタのフィ
ルタ係数更新動作を開始することを特徴とする。
In order to solve the above-mentioned problems, the invention as set forth in claim 20, in order to prevent the echo signal of the received signal from returning to the transmission side, it is added to the echo signal to eliminate the echo signal. In an echo canceller having an adaptive filter for generating an echo signal, a first means for calculating the amount of cancellation of the echo signal at constant time intervals from the power of the echo signal and the power of the echo signal to which the pseudo echo signal is added, A second means for tracking and holding the maximum value of the erasing amount calculated by the first means, and a current value of the erasing amount of the echo signal from the maximum value of the erasing amount held by the second means. When the subtracted value exceeds a predetermined threshold value, the maximum value of the erase amount output from the second means is decreased at a constant rate at the constant time intervals, and the third value is held. Means and And a fourth means for measuring the length of time elapsed from the serial and the value held in the maximum value and the third means of cancellation amount held by the second means starting to divergence,
When the time measured by the fourth means reaches a predetermined value, both the maximum value of the erase amount held by the second means and the value held by the third means are set as the erase amount of the echo signal. Is reset to the present value, and the filter coefficient updating operation of the adaptive filter is started.

【0035】請求項21に記載の発明は、請求項20に
記載の発明において、前記第2の手段の保持する消去量
の最大値が更新されたか否かを検出する第5の手段を備
え、前記第2の手段の保持する消去量の最大値が更新さ
れたことを該第5の手段が出したときに前記適応フィル
タのフィルタ係数更新動作を開始し、前記第2の手段の
保持する消去量の最大値が一定の期間に渡り更新されな
かったことを該第5の手段が検出したときに前記適応フ
ィルタのフィルタ係数更新動作を停止することを特徴と
する。
According to a twenty-first aspect of the invention, in the twenty-first aspect of the invention, there is provided a fifth means for detecting whether or not the maximum value of the erase amount held by the second means has been updated. When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0036】請求項22に記載の発明は、請求項20に
記載の発明において、ダブルトーク状態にあるか否かを
検出する第6の手段を備え、ダブルトーク状態が該第6
の手段により検出されたときに前記適応フィルタのフィ
ルタ係数更新動作を停止し、該第6の手段がダブルトー
ク状態を検出しなくなったときに前記適応フィルタのフ
ィルタ係数更新動作を開始することを特徴とする。
The invention according to claim 22 is the invention according to claim 20, further comprising a sixth means for detecting whether or not the state is the double talk state, and the double talk state is the sixth state.
The filter coefficient updating operation of the adaptive filter is stopped when detected by the means, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double talk state. And

【0037】請求項23に記載の発明は、請求項22に
記載の発明において、前記適応フィルタのフィルタ係数
更新動作の開始及び停止の制御が、前記第4の手段の出
力>前記第5の手段の出力>前記第6の手段の出力の順
の優先順位で行われることを特徴とする。
According to a twenty-third aspect of the invention, in the twenty-third aspect of the invention, the control of the start and stop of the filter coefficient updating operation of the adaptive filter is performed by the output of the fourth means> the fifth means. Output> the output of the sixth means is performed in the order of priority.

【0038】上記課題を解決すべく、請求項24に記載
の発明は、受信信号のエコー信号が送信側に戻ることを
防止するために、該エコー信号に加算され、該エコー信
号を消去する擬似エコー信号を生成する適応フィルタを
有するエコーキャンセラにおいて、エコ信号のパワーと
擬似エコー信号の加算されたエコー信号のパワーとから
エコー信号の消去量を一定の時間間隔で計算する第1の
手段と、前記第1の手段により計算された消去量の最大
値を追跡し、保持する第2の手段と、前記第2の手段の
保持する消去量の最大値からエコー信号の消去量の現在
値を差し引いた値が第1の閾値を超えたときに、該第2
の手段から出力された消去量の最大値を前記一定の時間
間隔で一定の比率で減少させ、その値を保持する第3の
手段と、前記第2の手段の保持する消去量の最大値と前
記第3の手段の保持する値の乖離幅を前記一定の時間間
隔毎に計算し、且つ前記第2の手段の保持する消去量の
最大値と前記第3の手段の保持する値とが乖離し始めて
から経過した時間の長さを計測する第4の手段とを備
え、前記第4の手段が計算した乖離幅が第2の閾値を超
えるかあるいは該第4の手段が計測した時間が所定の値
を超えたときに、前記第2の手段の保持する消去量の最
大値と前記第3の手段の保持する値の両方をエコー信号
の減衰量の現在値にリセットするとともに、前記適応フ
ィルタのフィルタ係数更新動作を開始することを特徴と
する。
In order to solve the above-mentioned problems, the invention as set forth in claim 24, in order to prevent the echo signal of the received signal from returning to the transmitting side, is added to the echo signal and erases the echo signal. In an echo canceller having an adaptive filter for generating an echo signal, a first means for calculating the amount of cancellation of the echo signal at constant time intervals from the power of the echo signal and the power of the echo signal added with the pseudo echo signal, Second means for tracking and holding the maximum value of the erasing amount calculated by the first means, and subtracting the current value of the erasing amount of the echo signal from the maximum value of the erasing amount held by the second means. When the value exceeds the first threshold, the second
The maximum value of the erasing amount output from the means is reduced by a constant ratio at the constant time interval, and the third means holds the value, and the maximum value of the erasing amount held by the second means. The deviation width of the value held by the third means is calculated for each of the constant time intervals, and the maximum value of the erase amount held by the second means and the value held by the third means are deviated. A fourth means for measuring the length of time that has elapsed since the start of the operation, and the deviation width calculated by the fourth means exceeds a second threshold value or the time measured by the fourth means is predetermined. Is exceeded, both the maximum value of the amount of cancellation held by the second means and the value held by the third means are reset to the current value of the attenuation amount of the echo signal, and the adaptive filter The filter coefficient updating operation is started.

【0039】請求項25に記載の発明は、請求項24に
記載の発明において、前記第2の手段の保持する消去量
の最大値が更新されたか否かを検出する第5の手段を備
え、前記第2の手段の保持する消去量の最大値が更新さ
れたことを該第5の手段が出したときに前記適応フィル
タのフィルタ係数更新動作を開始し、前記第2の手段の
保持する消去量の最大値が一定の期間に渡り更新されな
かったことを該第5の手段が検出したときに前記適応フ
ィルタのフィルタ係数更新動作を停止することを特徴と
する。
A twenty-fifth aspect of the invention is the invention according to the twenty-fourth aspect, further comprising fifth means for detecting whether or not the maximum value of the erase amount held by the second means is updated. When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. It is characterized in that the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period.

【0040】請求項26に記載の発明は、請求項25に
記載の発明において、ダブルトーク状態にあるか否かを
検出する第6の手段を備え、ダブルトーク状態が該第6
の手段により検出されたときに前記適応フィルタのフィ
ルタ係数更新動作を停止し、該第6の手段がダブルトー
ク状態を検出しなくなったときに前記適応フィルタのフ
ィルタ係数更新動作を開始することを特徴とする。
According to a twenty-sixth aspect of the present invention, in the twenty-fifth aspect of the present invention, there is provided a sixth means for detecting whether or not the double-talk state is present.
The filter coefficient updating operation of the adaptive filter is stopped when detected by the means, and the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double talk state. And

【0041】請求項27に記載の発明は、請求項26に
記載の発明において、前記適応フィルタのフィルタ係数
更新動作の開始及び停止の制御が、前記第4の手段の出
力>前記第5の手段の出力>前記第6の手段の出力の順
の優先順位で行われることを特徴とする。
According to a twenty-seventh aspect of the present invention, in the invention according to the twenty-sixth aspect, the start and stop of the filter coefficient updating operation of the adaptive filter is controlled by the output of the fourth means> the fifth means. Output> the output of the sixth means is performed in the order of priority.

【0042】[0042]

【発明の実施の形態】第1の実施形態 図1は本発明の第1の実施形態のエコーキャンセラの構
成を示すブロック図であり、同図においてRinは受信
側入力端子(以下、Rin端子と呼ぶ)、Routは受
信側出力端子(以下、Rout端子と呼ぶ)、Sinは
送信側入力端子(以下、Sin端子と呼ぶ)、Sout
は送信側出力端子(以下、Sout端子と呼ぶ)、5及
び7はパワー計算機、6はエコー減衰量計算機、9は最
大値追跡器、8は最大値更新判定器、10は最大値リーク
計算機、11は乖離幅判定器、12はダブルトーク検出
器、13は適応フィルタ係数更新制御回路である。以下
にこのエコーキャンセラの動作を説明する。ここでは、
最初に受信側入力端子Rinに周期信号である呼び出し
信号RBT(以下、RBT信号と呼ぶ)が入力されるも
のと仮定する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a block diagram showing a configuration of an echo canceller according to a first embodiment of the present invention, in which Rin is a receiving side input terminal (hereinafter, referred to as Rin terminal). , Rout is a receiving side output terminal (hereinafter, referred to as Rout terminal), Sin is a transmitting side input terminal (hereinafter, referred to as Sin terminal), Sout
Is a transmission-side output terminal (hereinafter referred to as Sout terminal), 5 and 7 are power calculators, 6 is an echo attenuation calculator, 9 is a maximum value tracker, 8 is a maximum value update determination device, 10 is a maximum value leak calculator, Reference numeral 11 is a deviation width determiner, 12 is a double talk detector, and 13 is an adaptive filter coefficient update control circuit. The operation of this echo canceller will be described below. here,
First, it is assumed that a call signal RBT (hereinafter, referred to as an RBT signal) which is a periodic signal is input to the reception side input terminal Rin.

【0043】Rin端子からエコーキャンセラに入るR
BT信号はパワー計算機5及び7、ダブルトーク検出器
12、適応フィルタ15に入力される。この時、Sin端
子には信号は入力されない。パワー計算機7はRin端
子から入力された信号のレベルを計算し、計算結果をエ
コー減衰量計算機6に出力する。Rin端子から入力さ
れた信号はダブルトーク検出器12にも入力されるが、
Sin端子に入力する信号は無いのでダブルトーク検出
器12は何の信号も出力しない。
R entering the echo canceller from the Rin terminal
The BT signal is input to the power calculators 5 and 7, the double talk detector 12, and the adaptive filter 15. At this time, no signal is input to the Sin terminal. The power calculator 7 calculates the level of the signal input from the Rin terminal, and outputs the calculation result to the echo attenuation amount calculator 6. The signal input from the Rin terminal is also input to the double talk detector 12,
Since there is no signal input to the Sin terminal, the double talk detector 12 does not output any signal.

【0044】適応フィルタ15は、「学習同定法」等の公
知のアルゴリズムを用い、やがてSin端子に到来する
であろうエコーyの反対信号(疑似エコー)y'を生成す
る。Sin端子に到来したエコーyは加算器14で疑似
エコーy'と加算され相殺される。加算器14の出力する
信号(Res信号と呼ぶ)はダブルトーク検出器12、
適応フィルタ15,パワー計算機5に出力される。
The adaptive filter 15 uses a well-known algorithm such as the "learning identification method" to generate an opposite signal (pseudo echo) y'of the echo y which will eventually arrive at the Sin terminal. The echo y arriving at the Sin terminal is added to the pseudo echo y ′ by the adder 14 and cancelled. The signal output from the adder 14 (referred to as the Res signal) is the double-talk detector 12,
It is output to the adaptive filter 15 and the power calculator 5.

【0045】ダブルトーク検出器12は、Rin端子か
ら入る信号(以下、Rin信号と呼ぶ)のレベルと、加
算器14の出力するRes信号のレベルとを比較し、例
えば、Res信号レベル×2>Rin信号レベルであれ
ば、ダブルトーク状態であると判定する。ダブルトーク
検出器12がダブルトーク状態を検出すると、適応フィ
ルタ係数更新制御回路13は適応フィルタ15の係数更
新を停止する。ダブルトーク検出器12のダブルトーク
状態の検出には、上記の信号レベルの比較以外の任意の
公知の方法を用いることができる。
The double talk detector 12 compares the level of the signal input from the Rin terminal (hereinafter referred to as the Rin signal) with the level of the Res signal output from the adder 14, and, for example, Res signal level × 2> If it is at the Rin signal level, it is determined to be in the double talk state. When the double talk detector 12 detects the double talk state, the adaptive filter coefficient update control circuit 13 stops the coefficient update of the adaptive filter 15. To detect the double-talk state of the double-talk detector 12, any known method other than the above-mentioned signal level comparison can be used.

【0046】一方、パワー計算機5はRes信号のレベ
ルを計算し、エコー減衰量計算機6に出力する。また、
パワー計算機7はRin信号のレベルを計算しエコー減
衰量計算機6に出力する。パワー計算機5及び7のそれ
ぞれは、例えば入力信号のレベルxを下記の式から求め
る。
On the other hand, the power calculator 5 calculates the level of the Res signal and outputs it to the echo attenuation amount calculator 6. Also,
The power calculator 7 calculates the level of the Rin signal and outputs it to the echo attenuation amount calculator 6. Each of the power calculators 5 and 7 calculates the level x of the input signal from the following formula, for example.

【0047】 x(k) = x(k−1) × (1-δ)+|x(k)| × δ1 …(1) ここでkはサンプル番号1,2,3,…,n、x(0)は0で
ある。δ1は平滑定数(0< δ1 < 1)であり、本実施形
態ではδ1 = 2-7 である。δ1の値を大きくすると信号
の大まかな変化をよく表すことができ、一方、小さくす
ると信号レベルの変化に敏感となる。
X (k) = x (k−1) × (1−δ) + | x (k) | × δ1 (1) where k is sample number 1, 2, 3, ..., N, x (0) is 0. δ1 is a smoothing constant (0 <δ1 <1), and in this embodiment, δ1 = 2 −7 . When the value of δ1 is increased, the rough change of the signal can be well represented, while when it is decreased, the change of the signal level becomes sensitive.

【0048】エコー減衰量計算機6はパワー計算機5,
7からの2つの信号のレベルからエコー減衰量を計算す
る。具体的にはRin信号のレベルをL_rin(k)、Res
信号のレベルをL_res(k)とするとき、エコー減衰量iaco
m(k)を下記の式に従って計算する。
The echo attenuation amount calculator 6 is a power calculator 5,
Echo attenuation is calculated from the levels of the two signals from 7. Specifically, the level of the Rin signal is L_rin (k), Res
When the signal level is L_res (k), the echo attenuation amount iaco
Calculate m (k) according to the following formula.

【0049】 iacom(k) = 20 × LOG10 (L_rin(k))/L_res(k)) …(2) (2)式の計算は、Rin端子に信号入力があるときに
実行される。Rin端子への信号入力の有無は、レベル
測定回路などの公知の手段を用いて行うことができる。
Iacom (k) = 20 × LOG 10 (L_rin (k)) / L_res (k)) (2) The calculation of the equation (2) is executed when a signal is input to the Rin terminal. Whether or not a signal is input to the Rin terminal can be determined by using a known means such as a level measuring circuit.

【0050】エコー減衰量iacom(k)は最大値追跡器9に
入力され、最大値追跡器9はiacom(k)が、その時点まで
に計算したエコー減衰量の中で最大であれば、最大値追
跡変数imax_iacom(k)を imax_iacom(k) = iacom(k) …(3) とし、そうでなければ、 imax_iacom(k) = imax_iacom(k-1) …(4) として以前の値を保持する。但し、iacom(0) = 0 であ
る。
The echo attenuation amount iacom (k) is input to the maximum value tracer 9, and the maximum value tracer 9 outputs the maximum value if iacom (k) is the maximum among the echo attenuation amounts calculated up to that point. The value tracking variable imax_iacom (k) is set to imax_iacom (k) = iacom (k)… (3), otherwise imax_iacom (k) = imax_iacom (k-1)… (4) and the previous value is retained. . However, iacom (0) = 0.

【0051】最大値追跡器9は最大値追跡変数imax_iac
om(k)を最大値更新判定器8と最大値リーク計算機10
とに出力する。最大値リーク計算機10の動作に関して
は後述する。最大値更新判定器8はimax_iacom(k-1)と
imax_iacom(k)とを比較し、 imax_iacom(k-1) < imax_iacom(k) …(5) であれば適応フィルタ係数更新制御回路13に係数更新
信号adp(k)を出力し、係数更新動作を実行させる。一
方、 imax_iacom(k-1) ≧ imax_iacom(k) …(6) の時は、最大値更新判定器8は最大値が上昇していない
と判断し、不図示の最大値上昇なしカウンタimax_iacom_
sgc_comp_counterのカウンタ値を1だけ増加させる。そ
して imax_iacom_sgc_comp_counter < K …(7) である間は適応フィルタ係数更新制御回路13に係数更
新信号adp(k)を出力し、係数更新動作を実行させる。ま
た、 imax_iacom_sgc_comp_counter ≧ K …(8) になった時には適応フィルタ係数更新制御回路13に係
数更新信号not_adp(k)を出力し、係数更新動作を停止さ
せる。本実施形態ではK = 8000としたが、これに限定さ
れるものではない。
The maximum value tracker 9 is a maximum value tracking variable imax_iac.
om (k) maximum value update judgment device 8 and maximum value leak calculator 10
And output to. The operation of the maximum value leak calculator 10 will be described later. The maximum value update determiner 8 is imax_iacom (k-1)
When imax_iacom (k) is compared with imax_iacom (k) and imax_iacom (k-1) <imax_iacom (k) (5), the coefficient update signal adp (k) is output to the adaptive filter coefficient update control circuit 13 to perform the coefficient update operation. Let it run. On the other hand, when imax_iacom (k-1) ≥ imax_iacom (k) (6), the maximum value update determination unit 8 determines that the maximum value has not risen, and the maximum value non-increasing counter imax_iacom_
Increase the counter value of sgc_comp_counter by 1. Then, while imax_iacom_sgc_comp_counter <K (7), the coefficient update signal adp (k) is output to the adaptive filter coefficient update control circuit 13 to execute the coefficient update operation. When imax_iacom_sgc_comp_counter ≧ K (8), the coefficient update signal not_adp (k) is output to the adaptive filter coefficient update control circuit 13 to stop the coefficient update operation. In this embodiment, K = 8000, but the present invention is not limited to this.

【0052】次に最大値リーク計算機10の動作を説明
する。最大値リーク計算機10は、 iacom(k) < imax_iacom(k) - α …(9) のとき、最大値リーク変数imax_iacom_sgc_save(k)を下
記の式に従い計算する。ここでαは定数であり、本実施
形態では10dBであるが、これに限定されるものでは
ない。
Next, the operation of the maximum leak calculator 10 will be described. The maximum leak calculator 10 calculates the maximum leak variable imax_iacom_sgc_save (k) according to the following formula when iacom (k) <imax_iacom (k) -α ... (9). Here, α is a constant, which is 10 dB in the present embodiment, but is not limited to this.

【0053】 imax_iacom_sgc_save(k) = imax_iacom_sgc_save(k-1) × δ2 …(10) 但しimax_iacom_sgc_save(0) = 0であり、また、(9)
式が成立しない場合は、(10)式の動作は実行しな
い。(即ち、imax_iacom_sgc_save(k)を以前の値に保持
する)。本実施形態ではδ2 = 0.99しているがこれに限
定されるものではない。
Imax_iacom_sgc_save (k) = imax_iacom_sgc_save (k-1) × δ2 (10) However, imax_iacom_sgc_save (0) = 0, and (9)
If the expression is not satisfied, the operation of the expression (10) is not executed. (That is, hold imax_iacom_sgc_save (k) at the previous value). In the present embodiment, Δ2 = 0.99, but the present invention is not limited to this.

【0054】乖離幅判定器11には、最大値追跡変数im
ax_iacom(k)が最大値追跡器9から供給され、また最大
値リーク変数imax_iacom_sgc_save(k)が最大値リーク計
算機10から供給される。乖離幅判定器11は、 imax_iacom_sgc_save(k) × δ3 < imax_iacom(k) となった時、適応フィルタ係数更新制御回路13に係数
更新信号adpを出力し、適応フィルタ15の係数の更新
を開始させる。本実施形態ではδ3=2.0倍(dB表示では6d
B)としているが、これに限定されるものではない。尚、
倍率A1とdB表示A2との間にはA2(dB) = 20 × LOG1OA1
(倍)の関係がある。
The divergence width determiner 11 includes a maximum value tracking variable im
The ax_iacom (k) is supplied from the maximum value tracker 9, and the maximum value leak variable imax_iacom_sgc_save (k) is supplied from the maximum value leak calculator 10. When the difference width imax_iacom_sgc_save (k) × δ3 <imax_iacom (k), the deviation width determiner 11 outputs the coefficient update signal adp to the adaptive filter coefficient update control circuit 13 to start updating the coefficient of the adaptive filter 15. In this embodiment, δ3 = 2.0 times (6d in dB display
B), but is not limited to this. still,
A2 (dB) = 20 × LOG 1O A1 between the magnification A1 and dB display A2
There is a (double) relationship.

【0055】また、最大値追跡器9はこのとき、最大値
追跡変数imax_iacom(k)及び最大値リーク変数imax_iaco
m_sgc_save(k)を下記の式に従い、その時点のエコー減
衰量iacom(k)にリセットする。
At this time, the maximum value tracking device 9 has a maximum value tracking variable imax_iacom (k) and a maximum value leak variable imax_iaco.
m_sgc_save (k) is reset to the echo attenuation amount iacom (k) at that time according to the following formula.

【0056】 imax_iacom_sgc-save(k) = imax_iacom(k) = iacom(k) …(11) 最大値更新判定器8、ダブルトーク検出器12、乖離幅
判定器11のいずれかから係数更新信号が入力されると
適応フィルタ係数更新制御回路13は適応フィルタ15
の係数更新を開始または停止するが、その優先度は、乖
離幅判定器11>最大値更新判定器8>ダブルトーク検
出器12の順である。即ち、乖離幅判定器11からの係
数更新の開始または停止の指示が最も優先され、次に最
大値更新判定器8からの係数更新の開始または停止の指
示が優先される。
Imax_iacom_sgc-save (k) = imax_iacom (k) = iacom (k) (11) A coefficient update signal is input from any of the maximum value update determiner 8, the double talk detector 12, and the deviation width determiner 11. Then, the adaptive filter coefficient update control circuit 13 causes the adaptive filter 15
The coefficient update is started or stopped, but the priority is in the order of deviation width determiner 11> maximum value update determiner 8> double talk detector 12. That is, the instruction to start or stop the coefficient update from the deviation width determiner 11 has the highest priority, and then the instruction to start or stop the coefficient update from the maximum value update determiner 8 has the highest priority.

【0057】次に、上記構成のエコーキャンセラにおけ
る、エコー減衰量iacom(k)、最大値追跡変数imax_iacom
(k)、最大値リーク変数imax_iacom_sgc_save(k)の時間
的変化の例を図2を参照して説明する。図2は、最初に
Rin端子にRBT信号が入力され、その後、音声信号が
入力されたときのエコー減衰量iacom(k)、最大値追跡変
数imax_iacom(k)、係数更新信号adp、最大値リーク変数im
ax_iacom_sgc_save(k)、δ3(乖離度)の変化の様子を
示している。
Next, in the echo canceller having the above configuration, the echo attenuation amount iacom (k) and the maximum value tracking variable imax_iacom
(k), an example of a temporal change of the maximum leak variable imax_iacom_sgc_save (k) will be described with reference to FIG. In FIG. 2, the RBT signal is first input to the Rin terminal, and then the echo attenuation amount iacom (k), the maximum value tracking variable imax_iacom (k), the coefficient update signal adp, and the maximum value leak when the voice signal is input. Variable im
It shows how ax_iacom_sgc_save (k) and δ3 (deviation degree) change.

【0058】時刻T1において、imax_iacom_sgc_comp_c
ounter = 8000が成立し、一旦、係数更新が完全に停止さ
れる。この後、時刻T2においてエコーキャンセラに入
力する信号がRBT信号から音声信号に変化すると、エ
コー減衰量iacom(k)は急激に減少する。なぜならエコー
キャンセラは音声帯域におけるエコーパスを学習してい
ないからである。そのため、このとき、エコー減衰量ia
com(k)と最大値追跡変数imax_iacom(k)との差は閾値α
を超え、上記(10)式の動作により最大値リーク変数
imax_iacom_sgc_save(k)も徐々に減少して行く。最大値
追跡変数imax_iacom(k)と最大値リーク変数imax_iacom_
sgc_save(k)の乖離がδ3に達した時点で係数更新信号ad
pが乖離幅判定器11から適応フィルタ係数更新制御回
路13に出力されるとともに、最大値追跡変数imax_iaco
m(k)及び最大値リーク変数imax_iacom_sgc_save(k)がそ
の時点のエコー減衰量iacom(k)にリセットされる。この
後、最大値追跡変数の更新が行われている間はフィルタ
係数が更新される。
At time T1, imax_iacom_sgc_comp_c
When ounter = 8000 is established, coefficient update is completely stopped. After that, when the signal input to the echo canceller changes from the RBT signal to the voice signal at time T2, the echo attenuation amount iacom (k) sharply decreases. This is because the echo canceller has not learned the echo path in the voice band. Therefore, at this time, the echo attenuation ia
The difference between com (k) and the maximum tracking variable imax_iacom (k) is the threshold α
The maximum value leak variable due to the operation of the above equation (10)
imax_iacom_sgc_save (k) also gradually decreases. Maximum value tracking variable imax_iacom (k) and maximum value leak variable imax_iacom_
When the deviation of sgc_save (k) reaches δ3, the coefficient update signal ad
p is output from the deviation width determiner 11 to the adaptive filter coefficient update control circuit 13, and the maximum value tracking variable imax_iaco
m (k) and the maximum leak variable imax_iacom_sgc_save (k) are reset to the echo attenuation amount iacom (k) at that time. After that, the filter coefficient is updated while the maximum value tracking variable is being updated.

【0059】以上説明したように、本発明のエコーキャ
ンセラは、周期信号と音声信号とを判別する特段の検出
器を用いること無しに、エコーキャンセラに入力する信
号が周期信号から音声信号に変化すると再学習を自動的
に開始することができる。
As described above, in the echo canceller of the present invention, when the signal input to the echo canceller changes from the periodic signal to the voice signal without using a special detector for discriminating the periodic signal and the voice signal. Re-learning can be started automatically.

【0060】また、本発明のエコーキャンセラは、話中
信号BT及び呼び出し信号RBTのエコーが同時にエコ
ーキャンセラに入力している状態でも話中信号BTを検
出することができ、従来のように話中信号BTが検出で
きず、回線が開放されなくなるという問題も生じない。
その理由を以下に説明する。
Further, the echo canceller of the present invention can detect the busy signal BT even when the echoes of the busy signal BT and the call signal RBT are simultaneously input to the echo canceller, and the busy signal BT is used as in the conventional case. The problem that the signal BT cannot be detected and the line is not released does not occur.
The reason will be described below.

【0061】前述したように、遠端話者が電話に出ず、
近端話者が呼び出し音(RBT信号)を聞いている状態
で電話を切った場合、BT信号(話中信号)が生成され
エコーキャンセラに入力される。この場合、エコーキャ
ンセラのRin端子にRBT信号が数回入力されたあ
と、Sin端子にBT信号が入力されることになる。図
2を参照して説明したようにRBT信号受信中の時刻T
1でエコーキャンセラの係数更新は停止され、その時点
でRBT信号についてのエコー経路の学習は完全に終了
しているので時刻T1以降、RBT信号のエコーはほぼ
完全に除去される。従って、時刻T1以降にSin端子
からBT信号(話中信号)が入力されたとしても、RB
T信号のエコーだけがほぼ完全に除去されるので、BT
信号は打ち消されることなくSout端子から出力され
る。なぜなら、時刻T1において、エコーキャンセラの学
習動作が停止しており、エコーキャンセラはもはやRB
T信号のエコーを打ち消す信号以外の信号を生成しない
からである。
As described above, the far-end talker does not answer the telephone,
When the near-end speaker hangs up while listening to the ringing tone (RBT signal), a BT signal (busy signal) is generated and input to the echo canceller. In this case, the RBT signal is input to the Rin terminal of the echo canceller several times, and then the BT signal is input to the Sin terminal. As described with reference to FIG. 2, time T during reception of the RBT signal
At 1, the coefficient update of the echo canceller is stopped, and the learning of the echo path for the RBT signal is completely completed at that point, so that after time T1, the echo of the RBT signal is almost completely removed. Therefore, even if the BT signal (busy signal) is input from the Sin terminal after time T1, RB
Since only the echo of the T signal is almost completely removed, BT
The signal is output from the Sout terminal without being canceled. This is because at time T1, the learning operation of the echo canceller has stopped and the echo canceller is no longer in the RB.
This is because no signal other than the signal for canceling the echo of the T signal is generated.

【0062】以上、説明したように、本発明の第1の実
施形態では、Rin端子、Sin端子から入力する信号の
パワーを計算するパワー計算機5,7を設け、計算された
パワーからエコー減衰量を計算するエコー減衰量計算機
6を設け、エコー減衰量計算機6の出力の最大値を追跡
する最大値追跡器9を設け、最大値が新たな最大値に更
新されているかどうかを判定する最大値更新判定器8を
設け、最大値が更新されないとき、保持している最大値を
リークして徐々に減少させる最大値リーク計算機10を
設け、最大値リーク計算機10の出力と最大値追跡器9
の出力との乖離を計算する乖離幅判定器11を設け、適
応フィルタ15の係数更新の開始及び停止の制御を行う
適応フィルタ15係数制御回路13を設け、最大値更新
判定器8が、あらかじめ定めた回数だけ最大値が更新さ
れないときに適応フィルタ15の係数更新を停止し、R
BTエコー信号の除去を確実に行いBT信号を打ち消す
ことなく透過できるようにし、最大値更新判定器8が適
応フィルタ15の係数更新を停止した後でも、乖離幅判
定器11の判定結果によって、入力信号がRBT信号か
ら音声信号に変化した際には自動的にエコーキャンセラ
が学習を再開できるようにしたので、回線を開放できな
くなる従来の問題を解決し、なおかつ、周期信号と音声信
号とを判別するための複雑な装置を用いなくても、周期
信号、音声信号両方のエコーを除去できる。
As described above, in the first embodiment of the present invention, the power calculators 5 and 7 for calculating the power of the signal input from the Rin terminal and the Sin terminal are provided, and the echo attenuation amount is calculated from the calculated power. Is provided with the echo attenuation amount calculator 6 and the maximum value tracker 9 for tracking the maximum value of the output of the echo attenuation amount computer 6 is provided, and the maximum value for determining whether or not the maximum value is updated to a new maximum value An update determining unit 8 is provided, and a maximum value leak calculator 10 that leaks the maximum value held and gradually decreases when the maximum value is not updated is provided, and the output of the maximum value leak calculator 10 and the maximum value tracker 9 are provided.
The deviation width determiner 11 that calculates the deviation from the output of the adaptive filter 15 is provided, and the adaptive filter 15 coefficient control circuit 13 that controls the start and stop of the coefficient update of the adaptive filter 15 is provided. When the maximum value is not updated for the number of times
The BT echo signal is surely removed so that the BT signal can be transmitted without being canceled, and even after the maximum value update determination unit 8 stops updating the coefficient of the adaptive filter 15, the determination result of the deviation width determination unit 11 determines the input. When the signal changes from the RBT signal to the voice signal, the echo canceller can restart the learning automatically, which solves the conventional problem that the line cannot be opened and distinguishes the periodic signal from the voice signal. Echoes of both the periodic signal and the voice signal can be removed without using a complicated device for doing so.

【0063】第2の実施形態 図3は本発明の第2の実施形態のエコーキャンセラの構
成を示すブロック図である。第2の実施形態は、乖離幅
判定器11に代えて乖離時間判定器20を用いる点で第
1の実施形態と異なり、その他の構成は同じである。従
って以下では乖離時間判定器20と適応フィルタ係数更
新制御回路13の動作について説明し、その他に関して
は説明を省略する。
Second Embodiment FIG. 3 is a block diagram showing the configuration of an echo canceller according to the second embodiment of the present invention. The second embodiment is different from the first embodiment in that the deviation time determiner 20 is used in place of the deviation width determiner 11, and the other configurations are the same. Therefore, the operations of the deviation time determination unit 20 and the adaptive filter coefficient update control circuit 13 will be described below, and the description of the others will be omitted.

【0064】最大値追跡器9での最大値更新の停止後、
エコー減衰量iacom(k)と最大値追跡変数imax_iacom(k)
との差が閾値αを超えるときは、最大値リーク計算機1
0が出力する最大値リーク変数imax_iacom_sgc_save(k)
が徐々に低下するのは第1の実施形態と同じである。図
4に示すように、乖離時間判定器20は最大値追跡器9
の出力が最大値リーク計算機10の出力から乖離した状
態が時間t1に渡って続いたとき、係数更新信号adpを適
応フィルタ係数更新制御回路13に出力する。適応フィ
ルタ係数更新制御回路13は係数更新信号adpに応答
し、第1の実施形態と同様、適応フィルタ15の係数更
新を再開し、エコー経路の再学習を開始させる。
After stopping the maximum value update in the maximum value tracker 9,
Echo attenuation iacom (k) and maximum tracking variable imax_iacom (k)
When the difference between and exceeds the threshold value α, the maximum leak calculator 1
Maximum value leak variable imax_iacom_sgc_save (k) output by 0
Is gradually reduced as in the first embodiment. As shown in FIG. 4, the divergence time determination unit 20 is the maximum value tracking unit 9
When the state where the output of ∘ is deviated from the output of the maximum leak calculator 10 continues for time t1, the coefficient update signal adp is output to the adaptive filter coefficient update control circuit 13. The adaptive filter coefficient update control circuit 13 responds to the coefficient update signal adp, restarts the coefficient update of the adaptive filter 15 and starts the re-learning of the echo path, as in the first embodiment.

【0065】第2の実施形態は、エコー減衰量が一定の
値まで低下するのを待つことなく、エコー経路の再学習
開始タイミングを時間で制御することを可能にする。
尚、実施の形態2では、乖離時間判定器20は最大値追
跡器9の出力が最大値リーク計算機10の出力から乖離
した状態が時間t1に渡って続いたとき、係数更新信号ad
pを適応フィルタ係数更新制御回路13に出力するが、必
ずしも両者が完全に一致している状態でなく、両者の差
が所定の閾値内に入らない状態が時間t1に渡って続い
たとき係数更新信号adpを適応フィルタ係数更新制御回
路13に出力するようにしてもよい。
The second embodiment makes it possible to control the relearning start timing of the echo path by time without waiting for the echo attenuation amount to decrease to a certain value.
In the second embodiment, when the output of the maximum value tracking unit 9 is separated from the output of the maximum value leak calculator 10 for a time t1, the deviation time determination unit 20 determines that the coefficient update signal ad
Although p is output to the adaptive filter coefficient update control circuit 13, the two are not necessarily completely in agreement and the coefficient update is performed when the difference between the two does not fall within a predetermined threshold for a time t1. The signal adp may be output to the adaptive filter coefficient update control circuit 13.

【0066】以上説明したように第2の実施形態は、乖
離時間判定器20を設け、最大値追跡器9の出力が最大
値リーク計算機10の出力から乖離した状態が時間t1
に渡って続いたとき、係数更新信号adpを適応フィルタ係
数更新制御回路13に出力するように構成したので、第
1の実施形態と同じ効果を奏するエコーキャンセラを、
エコー経路の再学習開始タイミングをエコー減衰量の劣
化でなく時間で制御する構成とすることができる。
As described above, in the second embodiment, the deviation time determining unit 20 is provided, and the state in which the output of the maximum value tracking unit 9 deviates from the output of the maximum value leak computer 10 is time t1.
Since it is configured to output the coefficient update signal adp to the adaptive filter coefficient update control circuit 13 when it continues over, the echo canceller having the same effect as that of the first embodiment,
The re-learning start timing of the echo path can be controlled not by deterioration of the echo attenuation amount but by time.

【0067】第3の実施形態 図5は本発明の第3の実施形態のエコーキャンセラの構
成を示すブロック図である。第3の実施形態は、乖離時
間判定器20に代えてが乖離幅/乖離時間判定器30を
用いた点で第2の実施形態と異なり、その他の構成は同
じである。従って以下では乖離幅/乖離時間判定器30
の動作についてのみ説明する。
Third Embodiment FIG. 5 is a block diagram showing the configuration of an echo canceller according to a third embodiment of the present invention. The third embodiment is different from the second embodiment in that a deviation width / deviation time determiner 30 is used instead of the deviation time determiner 20, and the other configurations are the same. Therefore, in the following, the deviation width / deviation time determination device 30
Only the operation of will be described.

【0068】乖離幅/乖離時間判定器30は、第1の実
施形態と同様、最大値リーク変数imax_iacom_sgc_save
(k)と最大値追跡変数imax_iacom(k)との乖離幅がδ3に
達したとき、あるいは、第2の実施形態と同様、最大値リ
ーク変数imax_iacom_sgc_save(k)が最大値追跡変数imax
_iacom(k)から乖離した状態が一定の時間t1に渡って続
いたときの少なくとも一方が成立したときに、適応フィ
ルタ係数更新制御回路13に係数更新信号adpを出力し、
適応フィルタ15の係数更新を再開する。
As in the first embodiment, the deviation width / deviation time determination unit 30 determines the maximum value leak variable imax_iacom_sgc_save.
When the deviation width between (k) and the maximum value tracking variable imax_iacom (k) reaches δ3, or as in the second embodiment, the maximum value leak variable imax_iacom_sgc_save (k) is set to the maximum value tracking variable imax.
When at least one of the cases where the state deviating from _iacom (k) continues for a certain time t1 is satisfied, the coefficient update signal adp is output to the adaptive filter coefficient update control circuit 13,
The coefficient update of the adaptive filter 15 is restarted.

【0069】第3の実施形態によれば、第1及び第2の
実施形態よりもより精緻に適応フィルタ15の係数更新
タイミングを制御することができる。なぜなら、エコー
除去量が急速に劣化する時でも、一定時間が経過すれば
自動的にエコー経路の再学習が開始されるからであり、
これにより通話品質の低下を防止することができる。
According to the third embodiment, the coefficient update timing of the adaptive filter 15 can be controlled more precisely than in the first and second embodiments. This is because even if the echo removal amount rapidly deteriorates, relearning of the echo path will automatically start after a certain period of time.
This makes it possible to prevent the call quality from deteriorating.

【0070】第4の実施形態 図6は本発明の第4の実施形態のエコーキャンセラの構
成を示すブロック図である。第4の実施形態は、エコー
減衰量計算機6とパワー計算機5との間、及びエコー減
衰量計算機6とパワー計算機7との間に、最大値検出/
リーク計算機40及び42をそれぞれ設けた点で第1の
実施形態と異なる。本実施形態で最大値検出/リーク計
算機40及び42を設けた理由を以下に説明する。
Fourth Embodiment FIG. 6 is a block diagram showing the configuration of an echo canceller according to a fourth embodiment of the present invention. In the fourth embodiment, maximum value detection / detection is performed between the echo attenuation amount calculator 6 and the power calculator 5 and between the echo attenuation amount calculator 6 and the power calculator 7.
This is different from the first embodiment in that leak calculators 40 and 42 are provided respectively. The reason why the maximum value detection / leakage calculators 40 and 42 are provided in this embodiment will be described below.

【0071】第1の実施形態において、エコー減衰量を
計算するには比較的長い時間の平滑定数を用いなければ
ならない。なぜなら、エコー経路は一般的に初期遅延を
含み、この初期遅延のために、エコー信号がエコーキャン
セラに入力するタイミングと参照信号(エコーの元にな
る信号)がエコーキャンセラに入力するタイミングとの
間にずれがあるからである。例えば、エコー経路が次の
ような特性であったとする。すなわち、遅延時間が10
0サンプル、減衰量が6dB(振幅で0.5倍に相当する)の
エコー経路を考えよう。エコーキャンセラに常にトーン
信号のような一定のレベル、ー定の周期の信号が入力さ
れるとき、エコーは常に100サンプル遅延後に観測さ
れ、その振幅は0.5倍になるので、観測したエコーが
参照信号のどの部分のエコーであるのかを見出し、エコ
ー信号と参照信号の冒頭部分を正しくタイミング合わせ
することは容易である。
In the first embodiment, the smoothing constant for a relatively long time must be used to calculate the echo attenuation amount. This is because the echo path generally includes an initial delay, and this initial delay causes the echo signal to enter the echo canceller and the reference signal (the signal that causes the echo) to enter the echo canceller. This is because there is a gap in For example, assume that the echo path has the following characteristics. That is, the delay time is 10
Consider an echo path with 0 samples and 6 dB of attenuation (corresponding to 0.5 times the amplitude). When a signal with a constant level like a tone signal and a constant period is always input to the echo canceller, the echo is always observed after a delay of 100 samples and its amplitude becomes 0.5 times, so the observed echo is It is easy to find out which part of the reference signal is the echo and to correctly time the echo signal and the beginning part of the reference signal.

【0072】しかし、参照信号がトーン信号からが音声
信号に切り替わったとき、困難が発生する。なぜなら、
音声信号はその振幅がランダムに変化するので、エコー
を観測したとき、それが参照信号のどの部分のエコーで
あるのか分からず、エコー信号と参照信号の冒頭部分を
正しくタイミング合わせすることができなくなる。エコ
ー信号と参照信号の冒頭部分を正しくタイミング合わせ
しない限り、参照信号の振幅がどれだけ減少しているか
を求めることができない。すなわちエコー減衰量を正確
に求めることはできない。
However, when the reference signal is switched from the tone signal to the voice signal, difficulty occurs. Because
Since the amplitude of the audio signal changes randomly, when observing the echo, it is not possible to know which part of the reference signal is the echo, and it is not possible to correctly time the echo signal and the beginning of the reference signal. . It is not possible to determine how much the amplitude of the reference signal has decreased unless the echo signal and the beginning of the reference signal are properly timed. That is, the echo attenuation amount cannot be accurately obtained.

【0073】このように、周期信号から音声信号への切
り替わり時、エコー経路は未学習であることからエコー
信号と参照信号の冒頭部分を正確にタイミング合わせす
ることができない。従って、実施の形態1では、エコー
信号の大局的な変化からエコー減衰量を求めるようにし
ており、そのため上述の式(1)では比較的大きな平滑
定数でパワーを計算している。しかしながら、平滑定数
を大きくするとエコーキャンセラの動作が緩慢になり応
答速度が低下することは避けられない。第4の実施形態
では、最大値検出/リーク計算機40及び42を設ける
ことにより応答速度を速くしている。
As described above, at the time of switching from the periodic signal to the voice signal, since the echo path has not been learned, it is not possible to accurately match the timings of the beginning portions of the echo signal and the reference signal. Therefore, in the first embodiment, the echo attenuation amount is obtained from the global change of the echo signal, and therefore the power is calculated with a relatively large smoothing constant in the above equation (1). However, increasing the smoothing constant inevitably slows down the operation of the echo canceller and lowers the response speed. In the fourth embodiment, the response speed is increased by providing the maximum value detection / leakage calculators 40 and 42.

【0074】以下に第4の実施形態のエコーキャンセラ
のパワー計算機5,7及び最大値検出/リーク計算機4
0,42の動作を説明する。他の素子の動作は第1の実
施形態と同じであるので、その説明は省略する。
The power calculators 5 and 7 and the maximum value detection / leakage calculator 4 of the echo canceller of the fourth embodiment will be described below.
The operation of 0, 42 will be described. The operation of the other elements is the same as that of the first embodiment, and therefore its explanation is omitted.

【0075】パワー計算機5,7は第1の実施形態と同
様の方法でパワーを計算するが、第4の実施形態では平
滑定数はδ1 = 2-3に小さくし、変化に対する応答性を
高めている。
The power calculators 5 and 7 calculate power in the same manner as in the first embodiment, but in the fourth embodiment, the smoothing constant is reduced to δ 1 = 2 -3 to improve the responsiveness to changes. There is.

【0076】例えば、パワー計算機7では、Rin信号
のレベルL_rin(k)を、 L_irin(k) = L_irin(k-1) × (1-δ1) + |L_irin(k)| × δ1 …(12 ) として計算する。
For example, in the power calculator 7, the level L_rin (k) of the Rin signal is L_irin (k) = L_irin (k-1) x (1-δ1) + | L_irin (k) | x δ1 (12) Calculate as.

【0077】パワー計算機5,7で計算された信号レベ
ルは最大値検出/リーク計算機40,42にそれぞれ入
力される。例えば、Rin端子側の最大値検出/リーク
計算機42は、Rin信号のパワーの最大値imax_irin
を下記の式(13)に従って計算し、最大値を追跡する。
The signal levels calculated by the power calculators 5 and 7 are input to maximum value detection / leakage calculators 40 and 42, respectively. For example, the maximum value detection / leakage calculator 42 on the Rin terminal side determines the maximum value imax_irin of the power of the Rin signal.
Is calculated according to the following equation (13) and the maximum value is traced.

【0078】L_rin(k)がその時点までに計算したパワー
の中で最大であれば、 imax_irin(k) = L_irin(k) …(13) もしそうでなければ、 imax_irin(k) = imax_irin(k-1) …(14) 但しimax_irin(0) = 0である。
If L_rin (k) is the maximum among the powers calculated up to that point, imax_irin (k) = L_irin (k) (13) If not, imax_irin (k) = imax_irin (k -1) (14) However, imax_irin (0) = 0.

【0079】上記同様に、加算器14の出力信号Res
についても、最大値検出/リーク計算機40がimax_ires
(k)を計算し、その最大値を追跡する。本実施形態では、
追跡した最大値が更新されないときにはその値をリーク
させ、徐々に減少させる。
Similarly to the above, the output signal Res of the adder 14
Also regarding the maximum value detection / leakage calculator 40, imax_ires
Calculate (k) and track its maximum. In this embodiment,
When the tracked maximum value is not updated, it is leaked and gradually decreased.

【0080】エコー減衰量計算機6では、最大値検出/
リーク計算機40,42から出力される最大値imax_iri
n(k)及びimax_ires(k)を第1の実施形態におけるRin
信号レベルL_rin(k)及びRes信号レベルL_res(k)と同
様に扱い、エコー減衰量を計算する。以降の動作は第1
の実施形態と同様であるのでここでは説明しない。
The echo attenuation amount calculator 6 detects the maximum value /
Maximum value imax_iri output from the leak calculator 40, 42
Let n (k) and imax_ires (k) be Rin in the first embodiment.
The signal level L_rin (k) and the Res signal level L_res (k) are treated in the same manner, and the echo attenuation amount is calculated. The subsequent operation is the first
Since it is the same as the embodiment described above, it will not be described here.

【0081】本実施形態は、参照信号が極大となるとき
には、通常そのエコーも極大となるという性質を利用し
たものであり、この性質を用いる限り、信号の時間軸合わ
せを行う必要がなくなる。以上説明したように、本発明
の第4の実施形態によれば、平滑したパラメータ同士を
比較するのでなく、瞬時に検出でき、しかも遅延の影響
を受けにくいパラメータ即ち、送信信号(参照信号)及
び受信信号(エコー信号)のそれぞれの「最大振幅部分」
のパワーをパラメータとしてエコー減衰量を計算するよ
うにしたので、応答速度の速いエコーキャンセラが得ら
れる。
The present embodiment utilizes the property that the echo usually becomes maximum when the reference signal becomes maximum, and as long as this property is used, it is not necessary to perform time-axis alignment of the signal. As described above, according to the fourth embodiment of the present invention, parameters that can be detected instantaneously without being compared with smoothed parameters and that are less susceptible to delay, that is, a transmission signal (reference signal) and "Maximum amplitude part" of each received signal (echo signal)
Since the echo attenuation amount is calculated using the power of as a parameter, an echo canceller with a fast response speed can be obtained.

【0082】第5の実施形態 図7は本発明の第5の実施形態のエコーキャンセラの構
成を示すブロック図である。第5の実施形態は、第4の
実施形態の構成と第2の実施形態の構成とを組み合わせ
たものであり、乖離幅判定器11に代えて乖離時間判定
器20を用いた点で実施の形態4と異なる。乖離時間判
定器20の動作に関してはすでに説明した通りであるの
でここでは説明しない。第5の実施形態によれば、第4
の実施形態の適応フィルタ15の再学習タイミングをエ
コー減衰量の劣化ではなく、時間で制御することが可能
になる。
Fifth Embodiment FIG. 7 is a block diagram showing the configuration of an echo canceller according to the fifth embodiment of the present invention. The fifth embodiment is a combination of the configuration of the fourth embodiment and the configuration of the second embodiment, and is implemented in that a deviation time determining unit 20 is used instead of the deviation width determining unit 11. Different from the form 4. The operation of the deviation time determination unit 20 has already been described, and will not be described here. According to the fifth embodiment, the fourth
It becomes possible to control the re-learning timing of the adaptive filter 15 of the embodiment of the present invention not by deterioration of the echo attenuation amount but by time.

【0083】第6の実施形態 図8は本発明の第6の実施形態のエコーキャンセラの構
成を示すブロック図である。第6の実施形態は、第4の
実施形態と第3の実施形態とを組み合わせたものであ
り、乖離幅判定器11に代えて乖離幅/乖離時間判定器
30を用いる点で第4の実施形態と異なる。乖離幅/乖
離時間判定器30の動作に関してはすでに説明した通り
であるのでここでは説明しない。
Sixth Embodiment FIG. 8 is a block diagram showing the structure of an echo canceller according to a sixth embodiment of the present invention. The sixth embodiment is a combination of the fourth embodiment and the third embodiment, and the fourth embodiment is that the deviation width / deviation time judgment device 30 is used instead of the deviation width judgment device 11. Different from the form. The operation of the deviation width / deviation time determination unit 30 has already been described, and will not be described here.

【0084】第6の実施形態によれば、第4の実施形態
の利点に加え、第3の実施形態の利点、即ち、より精緻
にエコーキャンセラの再学習タイミングを制御できると
いう利点を有するエコーキャンセラが得られる。
According to the sixth embodiment, in addition to the advantages of the fourth embodiment, the echo canceller has the advantage of the third embodiment, that is, the advantage that the re-learning timing of the echo canceller can be controlled more precisely. Is obtained.

【0085】第7の実施形態 図9は本発明の第7の実施形態のエコーキャンセラの構
成を示すブロック図である。第7の実施形態は、Rin
端子に接続されるパワー計算機7に代えてSin端子に
接続されるパワー計算機70を用いる点、及びエコー減
衰量計算機6に代えてエコー消去量計算機71を用いる
点で第1の実施形態と異なる。以下に、パワー計算機7
0とエコー消去量計算機71の動作を説明する。他の素
子の動作は第1の実施形態と同じであるのでその説明は
省略する。
Seventh Embodiment FIG. 9 is a block diagram showing the configuration of an echo canceller according to the seventh embodiment of the present invention. In the seventh embodiment, Rin
It differs from the first embodiment in that a power calculator 70 connected to the Sin terminal is used in place of the power calculator 7 connected to the terminal, and an echo cancellation amount calculator 71 is used in place of the echo attenuation amount calculator 6. Below, power calculator 7
The operation of 0 and the echo cancellation amount calculator 71 will be described. The operation of the other elements is the same as that of the first embodiment, and therefore its explanation is omitted.

【0086】パワー計算機70はSin端子から加算器
14に入力する信号のパワーL_Sin(k)を式(15)に従っ
て計算し、パワー計算機5は、加算器14から出力され
る信号のパワーL_Res(k)を式(16)に従って計算する。
The power calculator 70 calculates the power L_Sin (k) of the signal input from the Sin terminal to the adder 14 according to the equation (15), and the power calculator 5 calculates the power L_Res (k of the signal output from the adder 14. ) Is calculated according to equation (16).

【0087】 L_Sin(k) = L_Sin(k-1) × (1-δ) + |Sin(k)| × δ4 …(15) L_Res(k) = L_Res(k-1) × (1-δ) + |Res(k)| × δ4 …(16) ここでδ4 = 2-3である。δ4は第1の実施形態よりも大
きな値(応答が速い)に設定してもよい。計算されたパワ
ーL_Sin(k)及びL_Res(k)はエコー消去量計算機71に出
力される。エコー消去量計算機71は式(17)に従いエ
コー消去量iacanc(k)を計算する。
L_Sin (k) = L_Sin (k-1) × (1-δ) + | Sin (k) | × δ4 (15) L_Res (k) = L_Res (k-1) × (1-δ) + | a × δ4 ... (16) where δ4 = 2 -3 | Res (k ). δ4 may be set to a larger value (faster response) than that in the first embodiment. The calculated powers L_Sin (k) and L_Res (k) are output to the echo cancellation amount calculator 71. The echo cancellation amount calculator 71 calculates the echo cancellation amount iacanc (k) according to the equation (17).

【0088】 iacanc(k) = 20 × LOG1O (L_Sin(k)/L_Res(k)) …(17) エコー消去量計算機71はiacanc(k)を最大値追跡器9
に出力する。最大値追跡器9はこのエコー消去量iacanc
(k)をエコー減衰量iacom(k)と同様に扱って最大値を追
跡する。最大値追跡器9以降の素子の動作は第1の実施
形態と同様であるのでここでは説明しない。
Iacanc (k) = 20 × LOG 1O (L_Sin (k) / L_Res (k)) (17) The echo cancellation amount calculator 71 uses iacanc (k) as the maximum value tracker 9
Output to. The maximum value tracker 9 uses this echo cancellation amount iacanc
The maximum value is tracked by treating (k) in the same manner as the echo attenuation amount iacom (k). The operation of the elements after the maximum value tracker 9 is similar to that of the first embodiment, and will not be described here.

【0089】第7の実施形態では、パワー計算機70及
びパワー計算機5を加算器14の入力側及び出力側にそ
れぞれ設けたので、エコー消去量の計算はエコー経路の
遅延の影響を一切受けない。そのため、小さい平滑定数
を用いることによりSin端子に入る信号の最大値及び
Res信号の最大値を検出しなくても応答速度を向上さ
せることができる。更に、最大値検出機構が不要な分、
ソフト、ハードの規模を小さくすることができる。
In the seventh embodiment, since the power calculator 70 and the power calculator 5 are provided on the input side and the output side of the adder 14, the calculation of the echo cancellation amount is not affected by the delay of the echo path at all. Therefore, by using a small smoothing constant, the response speed can be improved without detecting the maximum value of the signal entering the Sin terminal and the maximum value of the Res signal. Furthermore, the maximum value detection mechanism is unnecessary,
The scale of software and hardware can be reduced.

【0090】第8の実施形態 図10は本発明の第8の実施形態のエコーキャンセラの
構成を示すブロック図である。第8の実施形態は、乖離
幅判定器11に代えて乖離時間判定器20を用いる点で
第7の実施形態と異なる。乖離時間判定器20と乖離幅
判定器11の動作の違いについては第2の実施形態で説
明した通りであるのでここでは説明しない。
Eighth Embodiment FIG. 10 is a block diagram showing the configuration of an echo canceller according to the eighth embodiment of the present invention. The eighth embodiment differs from the seventh embodiment in that the deviation time determiner 20 is used instead of the deviation width determiner 11. The difference in operation between the deviation time determiner 20 and the deviation width determiner 11 is as described in the second embodiment, and will not be described here.

【0091】第8の実施形態によれば、第7の実施形態
の利点に加え、エコー経路の再学習タイミングを、エコ
ー減衰量でなく時間的に制御できるという利点を有する
エコーキャンセラが得られる。
According to the eighth embodiment, in addition to the advantages of the seventh embodiment, it is possible to obtain an echo canceller having the advantage that the re-learning timing of the echo path can be controlled temporally instead of the echo attenuation amount.

【0092】第9の実施形態 図11は本発明の第9の実施形態のエコーキャンセラの
構成を示すブロック図である。第9の実施形態は、乖離
幅判定器11に代えて乖離幅/乖離時間判定器30を用
いる点で第7の実施形態と異なる。乖離幅/乖離時間判
定器30と乖離幅判定器11の動作の違いについては第
3の実施形態で説明した通りであるのでここでは説明し
ない。
Ninth Embodiment FIG. 11 is a block diagram showing the arrangement of an echo canceller according to the ninth embodiment of the present invention. The ninth embodiment is different from the seventh embodiment in that the deviation width / deviation time judgment device 30 is used instead of the deviation width judgment device 11. The difference in operation between the deviation width / deviation time determiner 30 and the deviation width determiner 11 is as described in the third embodiment, and will not be described here.

【0093】第9の実施形態によれば、第7の実施形態
の利点に加え、エコー経路の再学習タイミングを時間、
及びエコー減衰量の劣化の両方で制御できるという利点
を有するエコーキャンセラが得られる。
According to the ninth embodiment, in addition to the advantages of the seventh embodiment, the re-learning timing of the echo path is set to the time,
And an echo canceller having the advantage of being controllable by both deterioration of the echo attenuation amount.

【0094】以上、本発明のエコーキャンセラをインタ
ーネット電話に使用した例について説明したが、本発明
のエコーキャンセラの用途はこれに限定されるものでは
なく、一般の電話回線、移動電話、自動車電話、テレビ会
議装置等、エコーを除去する必要のある任意の装置及び
システムに適用できる。
Although the example in which the echo canceller of the present invention is used for the Internet telephone has been described above, the application of the echo canceller of the present invention is not limited to this, and general telephone lines, mobile telephones, car telephones, It can be applied to any device and system that needs to remove echo, such as a video conference device.

【0095】[0095]

【発明の効果】本発明によれば、周期信号と音声信号の
両方のエコーを除去することのできるエコーキャンセラ
を低コストで提供することができる。
According to the present invention, it is possible to provide an echo canceller capable of removing echoes of both a periodic signal and a voice signal at low cost.

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

【図1】 本発明の第1の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an echo canceller according to a first embodiment of the present invention.

【図2】 第1の実施形態のエコーキャンセラにおける
エコー減衰量、最大値追跡変数及び最大値リーク変数の
時間的変化の例を示す図である。
FIG. 2 is a diagram showing an example of changes over time in an echo attenuation amount, a maximum value tracking variable, and a maximum value leak variable in the echo canceller of the first embodiment.

【図3】 本発明の第2の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an echo canceller according to a second embodiment of the present invention.

【図4】 第2の実施形態のエコーキャンセラにおける
エコー減衰量、最大値追跡変数及び最大値リーク変数の
時間的変化の例を示す図である。
FIG. 4 is a diagram showing an example of temporal changes of an echo attenuation amount, a maximum value tracking variable, and a maximum value leak variable in the echo canceller of the second embodiment.

【図5】 本発明の第3の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an echo canceller according to a third embodiment of the present invention.

【図6】 本発明の第4の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of an echo canceller according to a fourth embodiment of the present invention.

【図7】 本発明の第5の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of an echo canceller according to a fifth embodiment of the present invention.

【図8】 本発明の第6の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of an echo canceller according to a sixth embodiment of the present invention.

【図9】 本発明の第7の実施形態のエコーキャンセラ
の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of an echo canceller according to a seventh embodiment of the present invention.

【図10】 本発明の第8の実施形態のエコーキャンセ
ラの構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of an echo canceller according to an eighth embodiment of the present invention.

【図11】 本発明の第9の実施形態のエコーキャンセ
ラの構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of an echo canceller according to a ninth embodiment of the present invention.

【図12】 従来のエコーキャンセラの動作を説明する
図である。
FIG. 12 is a diagram illustrating the operation of a conventional echo canceller.

【符号の説明】[Explanation of symbols]

101 エコーキャンセラ、 102 エコーキャンセ
ラ、 103 ゲートウェイ、 104 ハイブリッド
トランス、 105 ハイブリッドトランス、106
PBX、 5 パワー計算機、 6 エコー減衰量計算
機、 7 パワー計算機、 8 最大値更新判定器、
9 最大値追跡器、 10 最大値リーク計算機、 1
1 乖離幅判定器、 12 ダブルトーク検出器、 1
3 適応フィルタ係数更新制御回路、 14 加算器、
15 適応フィルタ、 20乖離時間判定器、 30
乖離幅/乖離時間判定器、 40 最大値検出/リー
ク回路、 42 最大値検出/リーク回路、 70 パ
ワー計算機、 71エコー消費量計算機。
101 echo canceller, 102 echo canceller, 103 gateway, 104 hybrid transformer, 105 hybrid transformer, 106
PBX, 5 power calculator, 6 echo attenuation calculator, 7 power calculator, 8 maximum value update judging device,
9 Maximum Tracker, 10 Maximum Leakage Calculator, 1
1 Deviation width determiner, 12 Double talk detector, 1
3 adaptive filter coefficient update control circuit, 14 adder,
15 Adaptive filter, 20 Deviation time determination device, 30
Deviation width / deviation time determination device, 40 maximum value detection / leak circuit, 42 maximum value detection / leak circuit, 70 power calculator, 71 echo consumption calculator.

Claims (27)

【特許請求の範囲】[Claims] 【請求項1】 受信信号のエコー信号が送信側に戻るこ
とを防止するために、該エコー信号に加算され、該エコ
ー信号を減衰させる擬似エコー信号を生成する適応フィ
ルタを有するエコーキャンセラにおいて、 受信信号のパワーと擬似エコー信号の加算されたエコー
信号のパワーとからエコー信号の減衰量を一定の時間間
隔毎に計算する第1の手段と、 前記第1の手段により計算された減衰量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する減衰量の最大値からエコー信
号の減衰量の現在値を差し引いた値が第1の閾値を超え
たときに、該第2の手段から出力された減衰量の最大値
を前記一定の時間間隔毎に一定の比率で減少させ、その
値を保持する第3の手段と、 前記第2の手段の保持する減衰量の最大値と前記第3の
手段の保持する値の乖離幅を前記一定の時間間隔で計算
する第4の手段とを備え、 前記第4の手段が計算した乖離幅が第2の閾値を超えた
ときに、前記第2の手段の保持する減衰量の最大値と前
記第3の手段の保持する値の両方をエコー信号の減衰量
の現在値にリセットするとともに、前記適応フィルタの
フィルタ係数更新動作を開始することを特徴とするエコ
ーキャンセラ。
1. An echo canceller having an adaptive filter for generating a pseudo echo signal that is added to the echo signal to attenuate the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating the attenuation amount of the echo signal at fixed time intervals from the power of the signal and the power of the echo signal to which the pseudo echo signal is added; and the maximum attenuation amount calculated by the first means. Second means for tracking and holding the value, and a value obtained by subtracting the current value of the attenuation amount of the echo signal from the maximum value of the attenuation amount held by the second means exceeds a first threshold value, A third means for reducing the maximum value of the attenuation amount output from the second means at a constant rate for each of the constant time intervals and holding the value, and an attenuation amount retained by the second means. And the maximum of Means for calculating the deviation width of the value held by the means at the constant time interval, and when the deviation width calculated by the fourth means exceeds a second threshold value, the second means Both the maximum value of the attenuation amount held by the means and the value held by the third means are reset to the current value of the attenuation amount of the echo signal, and the filter coefficient updating operation of the adaptive filter is started. Echo canceller.
【請求項2】 前記第2の手段の保持する減衰量の最大
値が更新されたか否かを検出する第5の手段を備え、前
記第2の手段の保持する減衰量の最大値が更新されたこ
とを該第5の手段が出したときに前記適応フィルタのフ
ィルタ係数更新動作を開始し、前記第2の手段の保持す
る減衰量の最大値が一定の期間に渡り更新されなかった
ことを該第5の手段が検出したときに前記適応フィルタ
のフィルタ係数更新動作を停止することを特徴とする請
求項1に記載のエコーキャンセラ。
2. A fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means is updated, and the maximum value of the attenuation amount held by the second means is updated. That is, when the fifth means outputs, the filter coefficient updating operation of the adaptive filter is started, and the maximum value of the attenuation amount held by the second means is not updated for a certain period. The echo canceller according to claim 1, wherein the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects it.
【請求項3】 ダブルトーク状態にあるか否かを検出す
る第6の手段を備え、ダブルトーク状態が該第6の手段
により検出されたときに前記適応フィルタのフィルタ係
数更新動作を停止し、該第6の手段がダブルトーク状態
を検出しなくなったときに前記適応フィルタのフィルタ
係数更新動作を開始することを特徴とする請求項2に記
載のエコーキャンセラ。
3. A sixth means for detecting whether or not there is a double-talk state, wherein when the double-talk state is detected by the sixth means, the filter coefficient updating operation of the adaptive filter is stopped. 3. The echo canceller according to claim 2, wherein the filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting the double talk state.
【請求項4】 前記適応フィルタのフィルタ係数更新動
作の開始及び停止の制御が、前記第4の手段の出力>前
記第5の手段の出力>前記第6の手段の出力の順の優先
順位で行われることを特徴とする請求項3に記載のエコ
ーキャンセラ。
4. The control for starting and stopping the filter coefficient updating operation of the adaptive filter is performed in the order of priority of output of the fourth means> output of the fifth means> output of the sixth means. The echo canceller according to claim 3, which is performed.
【請求項5】 前記第1の手段は、該第1の手段に入力
される受信信号及び擬似エコー信号の加算されたエコー
信号のそれぞれについて、 入力信号のパワーを一定の時間間隔毎に計算するパワー
計算手段と、 計算されたパワーの最大値を保持するとともに、該保持
された最大値が更新されないとき、該保持する最大値を
前記一定の時間間隔毎に一定の比率で減少させる最大値
追跡/リーク手段とを備え、 該最大値追跡/リーク手段の出力する最大値に基づいて
エコー信号の減衰量を計算することを特徴とする請求項
1から4のいずれか一項に記載のエコーキャンセラ。
5. The first means calculates the power of the input signal for each constant time interval for each of the echo signals added to the reception signal and the pseudo echo signal input to the first means. A power calculation means for holding the maximum value of the calculated power and, when the held maximum value is not updated, for reducing the held maximum value at a constant rate at the constant time interval; 5. The echo canceller according to any one of claims 1 to 4, further comprising: / leak means for calculating the attenuation amount of the echo signal based on the maximum value output from the maximum value tracking / leak means. .
【請求項6】 受信信号のエコー信号が送信側に戻るこ
とを防止するために、該エコー信号に加算され、該エコ
ー信号を減衰させる擬似エコー信号を生成する適応フィ
ルタを有するエコーキャンセラにおいて、 受信信号のパワーと擬似エコー信号の加算されたエコー
信号のパワーとからエコー信号の減衰量を一定の時間間
隔毎に計算する第1の手段と、 前記第1の手段により計算された減衰量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する減衰量の最大値からエコー信
号の減衰量の現在値を差し引いた値が所定の閾値を超え
たときに、前記第2の手段から出力された減衰量の最大
値を前記一定の時間間隔毎に一定の比率で減少させ、そ
の値を保持する第3の手段と、 前記第2の手段の保持する減衰量の最大値と前記第3の
手段の保持する値とが乖離し始めてから経過した時間の
長さを計測する第4の手段とを備え、 前記第4の手段が計測した時間が所定の値に達したとき
に、前記第2の手段の保持する減衰量の最大値と前記第
3の手段の保持する値の両方をエコー信号の減衰量の現
在値にリセットするとともに、前記適応フィルタのフィ
ルタ係数更新動作を開始することを特徴とするエコーキ
ャンセラ。
6. An echo canceller having an adaptive filter for generating a pseudo echo signal that is added to the echo signal and attenuates the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating the attenuation amount of the echo signal at fixed time intervals from the power of the signal and the power of the echo signal to which the pseudo echo signal is added; and the maximum attenuation amount calculated by the first means. Second means for tracking and holding a value; and a value obtained by subtracting the current value of the attenuation amount of the echo signal from the maximum value of the attenuation amount held by the second means exceeds a predetermined threshold value. A third means for reducing the maximum value of the attenuation amount output from the second means at a constant rate for each of the constant time intervals and holding the value, and an attenuation amount held by the second means. Maximum and above And a fourth means for measuring the length of time that has elapsed since the value held by the third means starts to deviate, and when the time measured by the fourth means reaches a predetermined value, Resetting both the maximum value of the attenuation amount held by the second means and the current value of the attenuation amount of the echo signal, and starting the filter coefficient updating operation of the adaptive filter. Echo canceller featuring.
【請求項7】 前記第2の手段の保持する減衰量の最大
値が更新されたか否かを検出する第5の手段を備え、前
記第2の手段の保持する減衰量の最大値が更新されたこ
とを該第5の手段が出したときに前記適応フィルタのフ
ィルタ係数更新動作を開始し、前記第2の手段の保持す
る減衰量の最大値が一定の期間に渡り更新されなかった
ことを該第5の手段が検出したときに前記適応フィルタ
のフィルタ係数更新動作を停止することを特徴とする請
求項6に記載のエコーキャンセラ。
7. A fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means has been updated, and the maximum value of the attenuation amount held by the second means is updated. That is, when the fifth means outputs, the filter coefficient updating operation of the adaptive filter is started, and the maximum value of the attenuation amount held by the second means is not updated for a certain period. The echo canceller according to claim 6, wherein the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects it.
【請求項8】 ダブルトーク状態にあるか否かを検出す
る第6の手段を備え、ダブルトーク状態が該第6の手段
により検出されたときに前記適応フィルタのフィルタ係
数更新動作を停止し、該第6の手段がダブルトーク状態
を検出しなくなったときに前記適応フィルタのフィルタ
係数更新動作を開始することを特徴とする請求項7に記
載のエコーキャンセラ。
8. A sixth means for detecting whether or not a double talk state is present, wherein the filter coefficient updating operation of the adaptive filter is stopped when the double talk state is detected by the sixth means, 8. The echo canceller according to claim 7, wherein when the sixth means stops detecting the double talk state, the filter coefficient updating operation of the adaptive filter is started.
【請求項9】 前記適応フィルタのフィルタ係数更新動
作の開始及び停止の制御が、前記第4の手段の出力>前
記第5の手段の出力>前記第6の手段の出力の順の優先
順位で行われることを特徴とする請求項8に記載のエコ
ーキャンセラ。
9. The control of the start and stop of the filter coefficient updating operation of the adaptive filter is performed in the order of priority of output of the fourth means> output of the fifth means> output of the sixth means. The echo canceller according to claim 8, which is performed.
【請求項10】 前記第1の手段は、該第1の手段に入
力される受信信号及び擬似エコー信号の加算されたエコ
ー信号のそれぞれについて、 入力信号のパワーを一定の時間間隔毎に計算するパワー
計算手段と、 計算されたパワーの最大値を保持するとともに、該保持
された最大値が更新されないとき、該保持する最大値を
前記一定の時間間隔毎に一定の比率で減少させる最大値
追跡/リーク手段とを備え、 該最大値追跡/リーク手段の出力する最大値に基づいて
エコー信号の減衰量を計算することを特徴とする請求項
6から9のいずれか一項に記載のエコーキャンセラ。
10. The first means calculates the power of the input signal for each constant time interval for each of the echo signals to which the reception signal and the pseudo echo signal added to the first means are added. A power calculation means for holding the maximum value of the calculated power and, when the held maximum value is not updated, for reducing the held maximum value at a constant rate at the constant time interval; 10. The echo canceller according to any one of claims 6 to 9, further comprising: / leak means for calculating the attenuation amount of the echo signal based on the maximum value output from the maximum value tracking / leak means. .
【請求項11】 受信信号のエコー信号が送信側に戻る
ことを防止するために、該エコー信号に加算され、該エ
コー信号を減衰させる擬似エコー信号を生成する適応フ
ィルタを有するエコーキャンセラにおいて、 受信信号のパワーとび擬似エコー信号の加算されたエコ
ー信号のパワーとからエコー信号の減衰量を一定の時間
間隔で計算する第1の手段と、 前記第1の手段により計算された減衰量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する減衰量の最大値からエコー信
号の減衰量の現在値を差し引いた値が第1の閾値を超え
たときに、該第2の手段から出力された減衰量の最大値
を前記一定の時間間隔で一定の比率で減少させ、その値
を保持する第3の手段と、 前記第2の手段の保持する減衰量の最大値と前記第3の
手段の保持する値の乖離幅を前記一定の時間間隔毎に計
算し、且つ該第2の手段の保持する減衰量の最大値と前
記第3の手段の保持する値とが乖離し始めてから経過し
た時間の長さを計測する第4の手段とを備え、 前記第4の手段が計算した乖離幅が第2の閾値を超える
かあるいは該第4の手段が計測した時間が所定の値を超
えたときに、前記第2の手段の保持する減衰量の最大値
と前記第3の手段の保持する値の両方をエコー信号の減
衰量の現在値にリセットするとともに、前記適応フィル
タのフィルタ係数更新動作を開始することを特徴とする
エコーキャンセラ。
11. An echo canceller having an adaptive filter for generating a pseudo echo signal that is added to the echo signal and attenuates the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating the attenuation amount of the echo signal from the power of the signal and the power of the echo signal to which the pseudo echo signal has been added at constant time intervals, and the maximum value of the attenuation amount calculated by the first means And a second means for tracking and holding, and a value obtained by subtracting the current value of the attenuation amount of the echo signal from the maximum value of the attenuation amount held by the second means exceeds a first threshold value. A third means for reducing the maximum value of the attenuation amount output from the second means at a constant rate at the constant time interval and holding the value, and a maximum attenuation value held by the second means. Value and above The deviation width of the value held by the means is calculated for each of the constant time intervals, and after the maximum value of the attenuation amount held by the second means and the value held by the third means start to deviate. A fourth means for measuring the length of the elapsed time, wherein the deviation width calculated by the fourth means exceeds a second threshold value, or the time measured by the fourth means has a predetermined value. When it exceeds, both the maximum value of the attenuation amount held by the second means and the value held by the third means are reset to the current value of the attenuation amount of the echo signal, and the filter coefficient of the adaptive filter is set. An echo canceller characterized by starting an update operation.
【請求項12】 前記第2の手段の保持する減衰量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する減衰量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する減衰量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とする
請求項11に記載のエコーキャンセラ。
12. A fifth means for detecting whether or not the maximum value of the attenuation amount held by the second means has been updated,
When the fifth means outputs that the maximum value of the attenuation amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the attenuation held by the second means is started. 12. The echo canceller according to claim 11, wherein the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period. .
【請求項13】 ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする請求項12
に記載のエコーキャンセラ。
13. A sixth means for detecting whether or not a double talk state is present, wherein the filter coefficient updating operation of the adaptive filter is stopped when the double talk state is detected by the sixth means, 13. The filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting a double talk state.
Echo canceller described in.
【請求項14】 前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする請求項13に記載の
エコーキャンセラ。
14. The control of the start and stop of the filter coefficient updating operation of the adaptive filter is performed by the output of the fourth means>
14. The echo canceller according to claim 13, wherein the output of the fifth means> the output of the sixth means is performed in the order of priority.
【請求項15】 前記第1の手段は、該第1の手段に入
力される受信信号及び擬似エコー信号の加算されたエコ
ー信号のそれぞれについて、 入力信号のパワーを一定の時間間隔毎に計算するパワー
計算手段と、 計算されたパワーの最大値を保持するとともに、該保持
された最大値が更新されないとき、該保持する最大値を
前記一定の時間間隔毎に一定の比率で減少させる最大値
追跡/リーク手段とを備え、 該最大値追跡/リーク手段の出力する最大値に基づいて
エコー信号の減衰量を計算することを特徴とする請求項
11から14のいずれか一項に記載のエコーキャンセ
ラ。
15. The first means calculates the power of an input signal for each of the echo signals to which the received signal and the pseudo echo signal added to the first means are added, at regular time intervals. A power calculation means for holding the maximum value of the calculated power and, when the held maximum value is not updated, for reducing the held maximum value at a constant rate at the constant time interval; 15. The echo canceller according to any one of claims 11 to 14, further comprising: / leak means for calculating the attenuation amount of the echo signal based on the maximum value output by the maximum value tracking / leak means. .
【請求項16】 受信信号のエコー信号が送信側に戻る
ことを防止するために、該エコー信号に加算され、該エ
コー信号を消去する擬似エコー信号を生成する適応フィ
ルタを有するエコーキャンセラにおいて、 エコー信号のパワーと擬似エコー信号の加算されたエコ
ー信号のパワーとからエコー信号の消去量を一定の時間
間隔毎に計算する第1の手段と、 前記第1の手段により計算された消去量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する消去量の最大値からエコー信
号の消去量の現在値を差し引いた値が第1の閾値を超え
たときに、該第2の手段から出力された消去量の最大値
を前記一定の時間間隔毎に一定の比率で減少させ、その
値を保持する第3の手段と、 前記第2の手段の保持する消去量の最大値と前記第3の
手段の保持する値の乖離幅を前記一定の時間間隔で計算
する第4の手段とを備え、 前記第4の手段が計算した乖離幅が第2の閾値を超えた
ときに、前記第2の手段から出力された消去量の最大値
と前記第3の手段の保持する値の両方をエコー信号の消
去量の現在値にリセットするとともに、前記適応フィル
タのフィルタ係数更新動作を開始することを特徴とする
エコーキャンセラ。
16. An echo canceller having an adaptive filter for generating a pseudo echo signal which is added to the echo signal and which cancels the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating an erasing amount of the echo signal at fixed time intervals from the power of the signal and the power of the echo signal to which the pseudo echo signal is added; and the maximum erasing amount calculated by the first means. Second means for tracking and holding the value, and a value obtained by subtracting the current value of the erasing amount of the echo signal from the maximum erasing amount held by the second means exceeds a first threshold value, A third means for reducing the maximum value of the erase amount output from the second means at a constant rate at the constant time intervals and holding the value, and an erase amount held by the second means. And the maximum value of Third means for calculating the deviation width of the value held by the third means at the constant time interval, and when the deviation width calculated by the fourth means exceeds a second threshold value, Resetting both the maximum value of the cancellation amount output from the second means and the value held by the third means to the current value of the cancellation amount of the echo signal, and starting the filter coefficient updating operation of the adaptive filter. Echo canceller featuring.
【請求項17】 前記第2の手段の保持する消去量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する消去量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する消去量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とする
請求項16に記載のエコーキャンセラ。
17. A fifth means for detecting whether or not the maximum value of the erase amount held by the second means is updated,
When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. 17. The echo canceller according to claim 16, wherein when the fifth means detects that the maximum value of the quantity has not been updated for a certain period of time, the filter coefficient updating operation of the adaptive filter is stopped. .
【請求項18】 ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする請求項17
に記載のエコーキャンセラ。
18. A sixth means for detecting whether or not a double talk state is present, wherein when the double talk state is detected by the sixth means, the filter coefficient updating operation of the adaptive filter is stopped. 18. The filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting a double talk state.
Echo canceller described in.
【請求項19】 前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする請求項18に記載の
エコーキャンセラ。
19. The control of the start and stop of the filter coefficient updating operation of the adaptive filter is performed by the output of the fourth means>
19. The echo canceller according to claim 18, wherein the output of the fifth means> the output of the sixth means is performed in order of priority.
【請求項20】 受信信号のエコー信号が送信側に戻る
ことを防止するために、該エコー信号に加算され、該エ
コー信号を消去する擬似エコー信号を生成する適応フィ
ルタを有するエコーキャンセラにおいて、 エコー信号のパワーと擬似エコー信号の加算されたエコ
ー信号のパワーとからエコー信号の消去量を一定の時間
間隔毎に計算する第1の手段と、 前記第1の手段により計算された消去量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する消去量の最大値からエコー信
号の消去量の現在値を差し引いた値が所定の閾値を超え
たときに、前記第2の手段から出力された消去量の最大
値を前記一定の時間間隔毎に一定の比率で減少させ、そ
の値を保持する第3の手段と、 前記第2の手段の保持する消去量の最大値と前記第3の
手段の保持する値とが乖離し始めてから経過した時間の
長さを計測する第4の手段とを備え、 前記第4の手段が計測した時間が所定の値に達したとき
に、前記第2の手段の保持する消去量の最大値と前記第
3の手段の保持する値の両方をエコー信号の消去量の現
在値にリセットするとともに、前記適応フィルタのフィ
ルタ係数更新動作を開始することを特徴とするエコーキ
ャンセラ。
20. An echo canceller having an adaptive filter for generating a pseudo echo signal which is added to the echo signal and which cancels the echo signal, in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating an erasing amount of the echo signal at fixed time intervals from the power of the signal and the power of the echo signal to which the pseudo echo signal is added; and the maximum erasing amount calculated by the first means. Second means for tracking and holding a value; and a value obtained by subtracting the current value of the erasing amount of the echo signal from the maximum erasing amount held by the second means exceeds a predetermined threshold value. A third means for reducing the maximum value of the erase amount output from the second means at a constant rate for each of the constant time intervals and holding the value, and an erase amount of the erase amount held by the second means. Maximum and before A fourth means for measuring the length of time that has elapsed since the value held by the third means began to deviate, and when the time measured by the fourth means reaches a predetermined value, Both the maximum value of the cancellation amount held by the second means and the value held by the third means are reset to the current value of the cancellation amount of the echo signal, and the filter coefficient updating operation of the adaptive filter is started. An echo canceller that is characterized.
【請求項21】 前記第2の手段の保持する消去量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する消去量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する消去量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とする
請求項20に記載のエコーキャンセラ。
21. A fifth means for detecting whether or not the maximum value of the erase amount held by the second means is updated,
When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. 21. The echo canceller according to claim 20, wherein when the fifth means detects that the maximum value of the quantity has not been updated for a certain period of time, the filter coefficient updating operation of the adaptive filter is stopped. .
【請求項22】 ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする請求項21
に記載のエコーキャンセラ。
22. A sixth means for detecting whether or not there is a double talk state is provided, and when the double talk state is detected by the sixth means, the filter coefficient updating operation of the adaptive filter is stopped, 22. The filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting a double talk state.
Echo canceller described in.
【請求項23】 前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする請求項22に記載の
エコーキャンセラ。
23. The output of the fourth means controls the start and stop of the filter coefficient updating operation of the adaptive filter.
23. The echo canceller according to claim 22, wherein the output of the fifth means> the output of the sixth means is performed in order of priority.
【請求項24】 受信信号のエコー信号が送信側に戻る
ことを防止するために、該エコー信号に加算され、該エ
コー信号を消去する擬似エコー信号を生成する適応フィ
ルタを有するエコーキャンセラにおいて、 エコ信号のパワーと擬似エコー信号の加算されたエコー
信号のパワーとからエコー信号の消去量を一定の時間間
隔で計算する第1の手段と、 前記第1の手段により計算された消去量の最大値を追跡
し、保持する第2の手段と、 前記第2の手段の保持する消去量の最大値からエコー信
号の消去量の現在値を差し引いた値が第1の閾値を超え
たときに、該第2の手段から出力された消去量の最大値
を前記一定の時間間隔で一定の比率で減少させ、その値
を保持する第3の手段と、 前記第2の手段の保持する消去量の最大値と前記第3の
手段の保持する値の乖離幅を前記一定の時間間隔毎に計
算し、且つ前記第2の手段の保持する消去量の最大値と
前記第3の手段の保持する値とが乖離し始めてから経過
した時間の長さを計測する第4の手段とを備え、 前記第4の手段が計算した乖離幅が第2の閾値を超える
かあるいは該第4の手段が計測した時間が所定の値を超
えたときに、前記第2の手段の保持する消去量の最大値
と前記第3の手段の保持する値の両方をエコー信号の減
衰量の現在値にリセットするとともに、前記適応フィル
タのフィルタ係数更新動作を開始することを特徴とする
エコーキャンセラ。
24. An echo canceller having an adaptive filter for generating a pseudo echo signal which is added to the echo signal to cancel the echo signal in order to prevent the echo signal of the received signal from returning to the transmission side. First means for calculating an erasing amount of the echo signal from the power of the signal and the power of the echo signal to which the pseudo echo signal is added at constant time intervals, and the maximum value of the erasing amount calculated by the first means A second means for tracking and holding the value, and a value obtained by subtracting the current value of the cancellation amount of the echo signal from the maximum value of the cancellation amount held by the second means exceeds a first threshold, A third means for reducing the maximum value of the erase amount output from the second means at a constant rate at the constant time interval and holding the value, and a maximum erase amount held by the second means. Value and the third The deviation width of the value held by the step is calculated at each of the constant time intervals, and it has elapsed since the deviation of the maximum value of the erase amount held by the second means and the value held by the third means has started. And a fourth means for measuring the length of time, the deviation width calculated by the fourth means exceeds a second threshold value, or the time measured by the fourth means exceeds a predetermined value. At this time, both the maximum value of the cancellation amount held by the second means and the value held by the third means are reset to the current value of the attenuation amount of the echo signal, and the filter coefficient of the adaptive filter is updated. An echo canceller characterized by starting operation.
【請求項25】 前記第2の手段の保持する消去量の最
大値が更新されたか否かを検出する第5の手段を備え、
前記第2の手段の保持する消去量の最大値が更新された
ことを該第5の手段が出したときに前記適応フィルタの
フィルタ係数更新動作を開始し、前記第2の手段の保持
する消去量の最大値が一定の期間に渡り更新されなかっ
たことを該第5の手段が検出したときに前記適応フィル
タのフィルタ係数更新動作を停止することを特徴とする
請求項24に記載のエコーキャンセラ。
25. A fifth means for detecting whether or not the maximum value of the erase amount held by the second means is updated,
When the fifth means outputs that the maximum value of the erasure amount held by the second means is updated, the filter coefficient updating operation of the adaptive filter is started, and the erasure held by the second means is started. 25. The echo canceller according to claim 24, wherein the filter coefficient updating operation of the adaptive filter is stopped when the fifth means detects that the maximum value of the quantity has not been updated for a certain period. .
【請求項26】 ダブルトーク状態にあるか否かを検出
する第6の手段を備え、ダブルトーク状態が該第6の手
段により検出されたときに前記適応フィルタのフィルタ
係数更新動作を停止し、該第6の手段がダブルトーク状
態を検出しなくなったときに前記適応フィルタのフィル
タ係数更新動作を開始することを特徴とする請求項25
に記載のエコーキャンセラ。
26. A sixth means for detecting whether or not in a double talk state is provided, and when the double talk state is detected by the sixth means, the filter coefficient updating operation of the adaptive filter is stopped, 26. The filter coefficient updating operation of the adaptive filter is started when the sixth means stops detecting a double talk state.
Echo canceller described in.
【請求項27】 前記適応フィルタのフィルタ係数更新
動作の開始及び停止の制御が、前記第4の手段の出力>
前記第5の手段の出力>前記第6の手段の出力の順の優
先順位で行われることを特徴とする請求項26に記載の
エコーキャンセラ。
27. The start and stop of the filter coefficient updating operation of the adaptive filter is controlled by the output of the fourth means>
27. The echo canceller according to claim 26, wherein the output of the fifth means> the output of the sixth means is performed in order of priority.
JP2001337783A 2001-11-02 2001-11-02 Echo canceller Expired - Fee Related JP3862548B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001337783A JP3862548B2 (en) 2001-11-02 2001-11-02 Echo canceller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001337783A JP3862548B2 (en) 2001-11-02 2001-11-02 Echo canceller

Publications (2)

Publication Number Publication Date
JP2003143042A true JP2003143042A (en) 2003-05-16
JP3862548B2 JP3862548B2 (en) 2006-12-27

Family

ID=19152373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001337783A Expired - Fee Related JP3862548B2 (en) 2001-11-02 2001-11-02 Echo canceller

Country Status (1)

Country Link
JP (1) JP3862548B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006190109A (en) * 2005-01-06 2006-07-20 Fujitsu Ltd Apparatus, method and program for delivering monitoring information
JP2006203357A (en) * 2005-01-18 2006-08-03 Oki Electric Ind Co Ltd Echo canceler

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006190109A (en) * 2005-01-06 2006-07-20 Fujitsu Ltd Apparatus, method and program for delivering monitoring information
JP4700969B2 (en) * 2005-01-06 2011-06-15 富士通株式会社 Monitoring information providing apparatus, monitoring information providing method, and monitoring information providing program
JP2006203357A (en) * 2005-01-18 2006-08-03 Oki Electric Ind Co Ltd Echo canceler

Also Published As

Publication number Publication date
JP3862548B2 (en) 2006-12-27

Similar Documents

Publication Publication Date Title
US8184818B2 (en) Double-talk detector with accuracy and speed of detection improved and a method therefor
JP2538176B2 (en) Eco-control device
JP2518433B2 (en) Double talk detection circuit
CA2590745C (en) Improved method and apparatus for detecting echo path changes in an acoustic echo canceller
JPH06188789A (en) Two-way speaking state detecting circuit
JP2004153483A (en) Echo canceller
JPH06204916A (en) Remaining echo controller
WO1995031051A1 (en) Echo canceler and its learning method
JPS6050092B2 (en) Adaptive control echo rejection device
JP2005142756A (en) Echo canceller
JP3862548B2 (en) Echo canceller
JP2009218849A (en) Acoustic echo cancel control method and apparatus
JP2002280938A (en) Echo canceller
JPH07288493A (en) Double talk detecting device
JPS6156526A (en) Echo signal eliminator
JP3303524B2 (en) Echo canceller learning method
JP3499055B2 (en) Echo canceller
JP3304609B2 (en) Echo canceller learning method
JP4442381B2 (en) Echo canceller control method and apparatus.
JP4835611B2 (en) Echo reduction method and apparatus
JP3187716B2 (en) Echo canceller
JPH07303070A (en) Double talk detecting method
JPS61161034A (en) Echo cancelling device
JPH07283859A (en) Echo canceller
KR101009867B1 (en) Apparatus and method for canceling acoustic echo in communication terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060120

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060926

R150 Certificate of patent or registration of utility model

Ref document number: 3862548

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101006

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111006

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121006

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131006

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees