JPH1013310A - Echo canceller - Google Patents

Echo canceller

Info

Publication number
JPH1013310A
JPH1013310A JP9005397A JP539797A JPH1013310A JP H1013310 A JPH1013310 A JP H1013310A JP 9005397 A JP9005397 A JP 9005397A JP 539797 A JP539797 A JP 539797A JP H1013310 A JPH1013310 A JP H1013310A
Authority
JP
Japan
Prior art keywords
level
echo
signal
adaptation
estimated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9005397A
Other languages
Japanese (ja)
Other versions
JP3386327B2 (en
Inventor
Koichi Shiraki
宏一 白木
Ikuo Kajiyama
郁夫 梶山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP00539797A priority Critical patent/JP3386327B2/en
Publication of JPH1013310A publication Critical patent/JPH1013310A/en
Application granted granted Critical
Publication of JP3386327B2 publication Critical patent/JP3386327B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To control an execution/stop of an adaptive processing of an adaptive filter with high accuracy by allowing an adaptive processing control means to make decision through the use of an estimate echo level and a residual signal level. SOLUTION: An adaptive processing control means is provided on the echo canceller and inputs a reception signal Rin(k), a transmission signal Tin(k), and a residual signal Res(k) being digital signals and outputs an adaptive processing control flag FLGa. Further, level calculation means 5, 16, and 6 respectively calculate a reception signal level Lrin(k), a transmission signal level Ltin(k) and a residual signal level Lres(k) and outputs them. An echo gain estimate circuit 17 calculates an estimate echo gain EG from the reception signal level Lrin(k) and the transmission signal level Ltin(k) when the reception signal level Lrin(k) clearly exceeds a harmful threshold level. Thus, a mean value of level differences of the reception signal is used when the reception signal is clearly harmful.

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 for canceling an echo signal, which is a cause of deterioration of communication quality in satellite communications, loudspeakers and the like.

【0002】[0002]

【従来の技術】従来のエコーキャンセラにおける適応化
制御手段としては、例えば、(1)「エコーキャンセラ
技術」(昭61−12−20)日本工業技術センターp
129−p130に記載されているものが、また、従来
のエコーキャンセラのフィルタ係数置換方法としては、
例えば、(2)特開昭62−24726号公報に記載さ
れているものがある。以下、その構成を図を用いて説明
する。図8は、前記文献(1)に記載された従来のエコ
ーキャンセラのブロック図である。kはディジタル信号
の時刻であり、Rin(k)は時刻kにおける受信信
号、即ち、遠端話者の音声を表している。エコー経路1
は、拡声電話用のエコーキャンセラの場合には、スピー
カから再生された遠端話者の音声がスピーカから音響空
間を経由してマイクへ回り込む経路に相当し、また、衛
星通信の回線用エコーキャンセラの場合には、2線4線
変換のハイブリッドトランスのインピーダンス不整合に
より、遠端話者の音声が遠端側へ漏洩する経路に相当す
る。受信信号Rin(k)は、エコー経路1を経ること
でエコー信号となって近端音声Nin(k)に重畳す
る。従って、送信信号Tin(k)は近端音声のみでは
なく、遠端音声のエコーが重畳した信号になっており、
このまま遠端側に送信されると通信品質が劣化する。エ
コーキャンセラでは適応フィルタ3により疑似エコー信
号Tin’(k)を生成しエコー減算器2で送信信号T
in(k)から疑似エコー信号Tin’(k)を差し引
くことで残差信号、即ち、エコー消去後の残差信号Re
s(k)を生成し、遠端側へ送信する。適応化制御手段
4は適応フィルタ3の適応化の制御を行うもので、ダブ
ルトーク検出時、即ち、遠端話者と近端話者が同時に発
話している時には、適応フィルタの適応化を停止させ、
遠端話者のみが発話している時には、適応化を実行させ
るために、適応化制御フラグFLGを適応フィルタへ出
力する。
2. Description of the Related Art As an adaptation control means in a conventional echo canceller, for example, (1) "Echo canceller technology" (Showa 61-12-20), Japan Industrial Technology Center
129-p130, as a filter coefficient replacement method of a conventional echo canceller,
For example, there is one described in (2) JP-A-62-24726. Hereinafter, the configuration will be described with reference to the drawings. FIG. 8 is a block diagram of a conventional echo canceller described in the above reference (1). k is the time of the digital signal, and Rin (k) represents the received signal at time k, that is, the voice of the far-end speaker. Echo path 1
In the case of an echo canceller for a loudspeaker, it corresponds to a path in which the voice of the far-end speaker reproduced from the speaker goes around from the speaker to the microphone via the acoustic space. In the case of, due to the impedance mismatch of the two-wire / four-wire conversion hybrid transformer, this corresponds to a path in which the voice of the far-end speaker leaks to the far-end side. The received signal Rin (k) passes through the echo path 1 to become an echo signal and is superimposed on the near-end voice Nin (k). Accordingly, the transmission signal Tin (k) is a signal on which echoes of not only the near-end voice but also the far-end voice are superimposed.
If the signal is transmitted to the far end as it is, the communication quality deteriorates. In the echo canceller, a pseudo echo signal Tin '(k) is generated by the adaptive filter 3 and the transmission signal T is generated by the echo subtractor 2.
By subtracting the pseudo echo signal Tin ′ (k) from in (k), the residual signal, that is, the residual signal Re after echo cancellation is obtained.
Generate s (k) and transmit to the far end. The adaptation control means 4 controls the adaptation of the adaptive filter 3, and stops the adaptation of the adaptive filter when double talk is detected, that is, when the far-end speaker and the near-end speaker are simultaneously speaking. Let
When only the far-end speaker is speaking, an adaptation control flag FLG is output to the adaptive filter in order to execute the adaptation.

【0003】次に、図9を用いて前記適応化制御手段4
をさらに詳しく説明する。図9は、前記文献(1)に記
載された従来のエコーキャンセラの適応化制御手段4の
ブロック図である。レベル計算手段5は、受信信号Ri
n(k)の対数変換されたパワー、即ち、受信信号レベ
ルLrin(k)を式(1)に従って計算して出力し、
レベル計算手段6は、残差信号Res(k)の対数変換
されたパワー、即ち、残差信号レベルLres(k)を
式(2)に従って計算して出力する。そして、レベル差
計算手段7は、受信信号レベルLrin(k)と残差信
号レベルLres(k)のレベル差DL(k)を、式
(3)に従って計算する。
[0003] Next, referring to FIG.
Will be described in more detail. FIG. 9 is a block diagram of the conventional adaptation control means 4 of the echo canceller described in the above reference (1). The level calculating means 5 receives the received signal Ri.
The logarithmically converted power of n (k), that is, the received signal level Lrin (k) is calculated according to equation (1) and output,
The level calculating means 6 calculates the logarithmically converted power of the residual signal Res (k), that is, the residual signal level Lres (k) according to equation (2) and outputs the result. Then, the level difference calculating means 7 calculates a level difference DL (k) between the received signal level Lrin (k) and the residual signal level Lres (k) according to the equation (3).

【0004】[0004]

【数1】 (Equation 1)

【0005】レベル差DL(k)は、エコー経路1によ
るエコーの損失量とエコーキャンセラによるエコー消去
量の和を意味する。レベル補正手段8は、推定残差信号
レベルLres’(k)を、式(4)に従って計算す
る。 Lres’(k)=Lrin(k)−DL(k)(4) ここで推定残差信号レベルLres’(k)は、送信信
号Tin(k)に受信信号のエコー信号のみが存在する
時、即ち、遠端話者のみが発話している時の残差信号レ
ベルLres(k)の推定値に相当する。比較手段9
は、残差信号レベルLres(k)と推定残差信号レベ
ルLres’(k)を比較し、以下の条件式(5)を満
たす時には遠端話者、近端話者双方が発話状態、即ち、
ダブルトーク状態であると判定し、適応フィルタの適応
化を停止させるために適応化制御フラグFLGを0に設
定する。 Lres(k)>Lres’(k) (5) ここでFLG=1は、適応フィルタに対する適応化の実
行指示を示し、FLG=0は、適応化の停止指示を示
す。
[0005] The level difference DL (k) means the sum of the amount of echo loss by the echo path 1 and the amount of echo cancellation by the echo canceller. The level correcting means 8 calculates the estimated residual signal level Lres' (k) according to the equation (4). Lres ′ (k) = Lrin (k) −DL (k) (4) Here, the estimated residual signal level Lres ′ (k) is obtained when only the echo signal of the reception signal exists in the transmission signal Tin (k). That is, it corresponds to the estimated value of the residual signal level Lres (k) when only the far end speaker is speaking. Comparison means 9
Compares the residual signal level Lres (k) with the estimated residual signal level Lres ′ (k), and when the following conditional expression (5) is satisfied, both the far-end speaker and the near-end speaker are in the utterance state, that is, ,
It is determined that the state is the double talk state, and the adaptation control flag FLG is set to 0 in order to stop the adaptation of the adaptive filter. Lres (k)> Lres ′ (k) (5) Here, FLG = 1 indicates an instruction to execute adaptation for the adaptive filter, and FLG = 0 indicates an instruction to stop adaptation.

【0006】適応化制御は、近端音声が適応化処理の妨
害となるレベルであるか否かを判定し、適応化の実行、
停止を制御する処理である。近端音声が適応化処理の妨
害となるのは、そのレベルが遠端信号によるエコー信号
のレベルを上回った時であるから、適応化の実行と停止
は、送信信号Tin(k)中のエコー信号レベルと近端
音声のレベルの大小関係により制御するべきものであ
る。即ち、図10で示すように、エコー信号レベルが近
端音声のレベルを越えた時、或いは、近端音声のレベル
にマージンを加えた値を越えた時に適応化を実行すべき
である。しかし、従来の技術では、残差信号レベルLr
es(k)と推定残差信号レベルLres’(k)から
ダブルトーク状態を検知するものであるが、図11また
は図12に示すように残差信号レベルLres(k)と
推定残差信号レベルLres’(k)は、ほぼ同じ値を
とるため、区間aのように、送信信号Tin(k)にエ
コー信号しか含まれていない区間においても、部分的に
ダブルトーク状態と誤検知して適応化を停止してしま
う。また、ダブルトーク時には、残差信号レベルLre
s(k)は、推定残差信号レベルLres’(k)を上
回るため、図11または図12の区間bのように、エコ
ー信号レベルが近端音声のレベルを越えていて適応化が
可能な区間でも、適応化を停止してしまう。
The adaptation control determines whether or not the near-end speech is at a level that interferes with the adaptation processing, and executes the adaptation.
This is a process for controlling the stop. Since the near-end voice interferes with the adaptation processing when its level exceeds the level of the echo signal due to the far-end signal, the execution and stop of the adaptation are performed by the echo in the transmission signal Tin (k). It should be controlled by the magnitude relationship between the signal level and the level of the near-end voice. That is, as shown in FIG. 10, when the echo signal level exceeds the level of the near-end audio, or when the level exceeds the value obtained by adding a margin to the level of the near-end audio, the adaptation should be performed. However, in the conventional technique, the residual signal level Lr
The double talk state is detected from es (k) and the estimated residual signal level Lres ′ (k). As shown in FIG. 11 or FIG. 12, the residual signal level Lres (k) and the estimated residual signal level Since Lres ′ (k) takes substantially the same value, even in a section where only the echo signal is included in the transmission signal Tin (k), as in the section a, the double-talk state is erroneously detected and adaptively performed. Will be stopped. At the time of double talk, the residual signal level Lre
Since s (k) exceeds the estimated residual signal level Lres ′ (k), the echo signal level exceeds the level of the near-end voice and adaptation is possible, as shown in section b in FIG. 11 or FIG. The adaptation stops even in the section.

【0007】次に、従来のエコーキャンセラのフィルタ
係数置換方法の構成を図を用いて説明する。図13は、
前記文献(2)に記載された従来のエコーキャンセラの
ブロック図である。図13の従来例が図8の従来例と構
成上異なる点は、適応化制御手段4を備えず、切り替え
手段12、待避用メモリ13、係数置換制御手段15を
備える点である。また、図13の適応用メモリ10、積
和演算手段11及びフィルタ係数更新手段14は、図8
における適応フィルタを機能毎に分割して示したもので
あるので、これらは図13の従来例と図8の従来例の構
成上の相違点ではない。なお、以後の説明で図8と重複
する部分については、説明を省略する。適応用メモリ1
0は、送信信号とエコー消去後の残差信号からアルゴリ
ズムを用いて更新される適応化のためのフィルタ係数を
記憶する。待避メモリ13は、適応化が妥当と判断され
る間は上記適応用メモリ10のフィルタ係数を所定の区
間分平行して記憶する。係数置換制御手段15は、上記
送信信号レベルと上記残差信号レベルとの差をみて適応
フィルタの適応化のためのフィルタ係数の更新の適否を
制御する。まず、フィルタ係数更新手段14は、送信信
号Tin(k)及び残差信号Res(k)から例えば、
N−LMS法(学習同定法)などの適応フィルタアルゴ
リズムに従って、適応用メモリ10の第1のフィルタ係
数H(j)を更新する。積和演算手段11は、受信信号
Rin(k)と適応用メモリ10の第1のフィルタ係数
H(j)の畳み込み演算を行うことで、疑似エコー信号
を生成する。一方、係数置換制御手段15は送信信号レ
ベルLtin(k)と残差信号レベルLres(k)
を、それぞれ式(6)、式(2)に従って計算し、さら
に、Ltin(k)とLres(k)の差のDs(k)
を、式(7)に従って計算する。
Next, the configuration of a conventional filter canceling method for an echo canceller will be described with reference to the drawings. FIG.
It is a block diagram of the conventional echo canceller described in the above-mentioned literature (2). The conventional example of FIG. 13 differs from the conventional example of FIG. 8 in configuration in that it does not include the adaptation control unit 4 but includes a switching unit 12, a save memory 13, and a coefficient replacement control unit 15. The adaptation memory 10, the product-sum operation unit 11 and the filter coefficient update unit 14 of FIG.
Are divided for each function, and these are not the differences in configuration between the conventional example of FIG. 13 and the conventional example of FIG. In the following description, a description of the same parts as those in FIG. 8 will be omitted. Adaptation memory 1
0 stores a filter coefficient for adaptation updated using an algorithm from the transmission signal and the residual signal after echo cancellation. The save memory 13 stores the filter coefficients of the adaptation memory 10 in parallel for a predetermined interval while the adaptation is determined to be valid. The coefficient replacement control unit 15 controls the update of the filter coefficient for adapting the adaptive filter based on the difference between the transmission signal level and the residual signal level. First, the filter coefficient updating unit 14 converts, for example, the transmission signal Tin (k) and the residual signal Res (k) into, for example,
The first filter coefficient H (j) of the adaptive memory 10 is updated according to an adaptive filter algorithm such as an N-LMS method (learning identification method). The product-sum operation unit 11 generates a pseudo echo signal by performing a convolution operation of the received signal Rin (k) and the first filter coefficient H (j) of the adaptation memory 10. On the other hand, the coefficient replacement control means 15 transmits the transmission signal level Ltin (k) and the residual signal level Lres (k).
Are calculated in accordance with the equations (6) and (2), respectively, and the difference Ds (k) between Ltin (k) and Lres (k) is calculated.
Is calculated according to equation (7).

【0008】[0008]

【数2】 (Equation 2)

【0009】さらに、係数置換制御手段15は、Ds
(k)の時系列を観察し、Ds(k)が大きくなる時に
は、適応フィルタの適応化が正しく進行していると判断
し、適応用メモリ10の第1のフィルタ係数を待避用メ
モリ13に転送する指令を切り替え手段12に与え、切
り替え手段12は、指令に従った転送を行い、その結果
適応用メモリ10の第1のフィルタ係数と同一の値が、
待避用メモリ13の第2のフィルタ係数として保存され
る。また、係数置換制御手段15は、Ds(k)が小さ
くなる時には、適応フィルタの適応化が誤って進行して
いると判断し、適応用メモリ10の第1のフィルタ係数
を待避用メモリ13に保存されている第2のフィルタ係
数の値で置換する指令を切り替え手段12に与え、切り
替え手段12は、指令に従った転送を行う。図14は、
Ds(k)の時間変化と切り替え手段12による転送処
理と置換処理のタイミングを示している。図中のH
(j)は適応用メモリ10の第1のフィルタ係数であ
り、Hm(j)は待避用メモリ13の第2のフィルタ係
数である。図中では、Ds(k)が大きくなり、適応用
メモリ10の第1のフィルタ係数H(j)が待避用メモ
リ13の第2のフィルタ係数Hm(j)へ保存のために
転送されるタイミングを「H(j)からHm(j)への
保存タイミング」のパルスで示し、また、Ds(k)が
小さくなり、待避用メモリ13の第2のフィルタ係数H
m(j)が適応用メモリ10の第1のフィルタ係数H
(j)へ転送されるタイミングを「H(j)のHm
(j)による置換タイミング」のパルスで示している。
Further, the coefficient replacement control means 15 calculates
Observing the time series of (k), when Ds (k) becomes large, it is determined that the adaptation of the adaptive filter is proceeding correctly, and the first filter coefficient of the adaptive memory 10 is stored in the save memory 13. A command to be transferred is given to the switching unit 12, and the switching unit 12 performs the transfer according to the command. As a result, the same value as the first filter coefficient of the adaptation memory 10 becomes
It is stored as the second filter coefficient in the save memory 13. When Ds (k) becomes small, the coefficient replacement control unit 15 determines that the adaptation of the adaptive filter is erroneously progressing, and stores the first filter coefficient of the adaptive memory 10 in the save memory 13. An instruction to replace with the stored value of the second filter coefficient is given to the switching unit 12, and the switching unit 12 performs transfer according to the instruction. FIG.
3 shows the time change of Ds (k) and the timing of the transfer process and the replacement process by the switching unit 12. H in the figure
(J) is a first filter coefficient of the adaptation memory 10, and Hm (j) is a second filter coefficient of the save memory 13. In the figure, Ds (k) increases and the first filter coefficient H (j) of the adaptation memory 10 is transferred to the second filter coefficient Hm (j) of the save memory 13 for storage. Is indicated by a pulse of “save timing from H (j) to Hm (j)”, and Ds (k) decreases, and the second filter coefficient H
m (j) is the first filter coefficient H of the adaptation memory 10
The timing at which data is transferred to (j) is represented by “Hm of H (j)”.
(J) Replacement timing ".

【0010】[0010]

【発明が解決しようとする課題】従来のエコーキャンセ
ラは上記のように構成されているので、ダブルトーク状
態の検出が適当でなくて、適応化が可能な区間でも適応
化が停止し、適応化の停止が頻発するため適応化の進行
が遅くてエコーが消去されずに残るという課題があっ
た。また、適応フィルタによるエコー消去量が小さい場
合にも同様にエコーが残って聞きづらいという課題があ
った。また、従来の適応用メモリのフィルタ係数を待避
値で置換する構成は、置換対象の値が大きく違っている
場合には、置換の瞬間に適応用メモリのフィルタ係数が
瞬時に大きく変化するため、その瞬間に積和演算器の出
力が不連続になり、その結果残差信号に異音が生じると
いう課題があった。
Since the conventional echo canceller is configured as described above, the detection of the double talk state is not appropriate, and the adaptation is stopped even in a section where adaptation is possible. However, there is a problem that echoes remain without being canceled because the adaptation progresses slowly due to frequent stoppages. Also, when the amount of echo cancellation by the adaptive filter is small, there is also a problem that the echo remains and it is difficult to hear. Further, in the conventional configuration in which the filter coefficient of the adaptation memory is replaced with the saved value, if the value to be replaced is greatly different, the filter coefficient of the adaptation memory instantaneously changes greatly at the moment of replacement. At that moment, the output of the product-sum operation unit becomes discontinuous, and as a result, there is a problem that abnormal noise is generated in the residual signal.

【0011】本発明は上記の課題を解決するためになさ
れたもので、ダブルトークの区間を的確に判断して適応
化を行うエコーキャンセラを得ることを目的とする。ま
た、適応用メモリのフィルタ係数を待避値で置換しても
置換の瞬間に値が不連続でなく異音が生じない音質の優
れたエコーキャンセラを得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and has as its object to obtain an echo canceller that accurately determines a double talk section and performs adaptation. It is another object of the present invention to provide an echo canceller with excellent sound quality in which the values are not discontinuous and no abnormal noise occurs at the moment of replacement even when the filter coefficients of the adaptation memory are replaced with the saved values.

【0012】[0012]

【課題を解決するための手段】この発明に係るエコーキ
ャンセラは、受信信号のレベルと送信信号のレベルから
エコーゲインを推定する手段と、受信信号に推定された
エコーゲインを加えて得られる推定エコーレベルとエコ
ー消去後の残差信号のレベルとを比較する比較手段を設
け、上記推定エコーレベルが上記残差信号にマージンを
加えた値より大きい場合に送信信号に含まれる受信信号
のエコーを消去する適応化制御を行うようにした適応化
制御手段を備えた。
An echo canceller according to the present invention comprises: means for estimating an echo gain from the level of a received signal and the level of a transmitted signal; and an estimated echo obtained by adding the estimated echo gain to the received signal. Comparing means for comparing the level with the level of the residual signal after echo cancellation is provided, and when the estimated echo level is larger than a value obtained by adding a margin to the residual signal, the echo of the received signal included in the transmission signal is eliminated. And an adaptive control means for performing adaptive control.

【0013】または、受信信号のレベルと送信信号のレ
ベルからエコーゲインを推定する手段と、受信信号に推
定されたエコーゲインを加えて得られる推定エコーレベ
ルと送信信号のレベルとを比較する比較手段を設け、上
記推定エコーレベルが上記送信信号からマージンを減じ
た値より大きい場合に、送信信号に含まれる受信信号の
エコーを消去する適応化制御を行うようにした適応化制
御手段を備えた。
[0013] Alternatively, means for estimating an echo gain from the level of the received signal and the level of the transmitted signal, and comparing means for comparing an estimated echo level obtained by adding the estimated echo gain to the received signal with the level of the transmitted signal. And when the estimated echo level is greater than a value obtained by subtracting a margin from the transmission signal, an adaptation control means for performing an adaptation control for canceling an echo of the reception signal included in the transmission signal is provided.

【0014】または、受信信号のレベルと送信信号のレ
ベルからエコーゲインを推定する手段と、受信信号に推
定されたエコーゲインを加えて得られる推定エコーレベ
ルとエコー消去後の残差信号のレベルとを比較する第1
の比較手段と、受信信号に推定されたエコーゲインを加
えて得られる推定エコーレベルと送信信号のレベルとを
比較する第2の比較手段と、送信信号のレベルと残差信
号のレベルからエコー消去量を推定するエコー消去量推
定手段を設けて、エコー消去量が閾値より大きい場合
は、推定エコーレベルが残差信号にマージンを加えた値
より大きいと送信信号に含まれる受信信号のエコーを消
去する適応化制御を行い、エコー消去量が閾値を越えな
い場合は、推定エコーレベルが送信信号からマージンを
減じた値より大きいと送信信号に含まれる受信信号のエ
コーを消去する適応化制御を行うようにした適応化制御
手段を備えた。
[0014] Alternatively, means for estimating an echo gain from the level of the received signal and the level of the transmitted signal, an estimated echo level obtained by adding the estimated echo gain to the received signal, and a level of the residual signal after echo cancellation. The first to compare
A comparison means, a second comparison means for comparing an estimated echo level obtained by adding an estimated echo gain to the reception signal and a transmission signal level, and echo cancellation from the transmission signal level and the residual signal level An echo canceling amount estimating means for estimating the amount is provided, and when the echo canceling amount is larger than the threshold, the echo of the received signal included in the transmission signal is canceled if the estimated echo level is larger than a value obtained by adding a margin to the residual signal. If the amount of echo cancellation does not exceed the threshold, if the estimated echo level is larger than the value obtained by subtracting the margin from the transmission signal, the adaptive control for canceling the echo of the reception signal included in the transmission signal is performed. The adaptive control means is provided.

【0015】または、送信信号とエコー消去後の残差信
号からアルゴリズムを用いて更新される適応化のための
フィルタ係数を記憶する適応用メモリと、適応化が妥当
と判断される間は適応用メモリのフィルタ係数を所定の
区間分平行して記憶する待避用メモリと、送信信号レベ
ルと残差信号レベルとの差をみて適応フィルタの適応化
のためのフィルタ係数の更新の適否を制御する係数置換
制御手段と、上記適応用メモリ中の第1のフィルタ係数
の値と、上記待避用メモリ中の第2のフィルタ係数の値
を比較して補間する補間手段を備え、係数置換制御手段
が適応化が妥当ではなくて上記第1のフィルタ係数の値
を上記第2のフィルタ係数の値で置換するよう制御する
と、補間手段は第1のフィルタ係数の値と第2のフィル
タ係数の値とが連続な値となるよう所定のタイミング回
数で補間して順次更新するようにした。
Alternatively, an adaptation memory for storing a filter coefficient for adaptation updated by using an algorithm from a transmission signal and a residual signal after echo cancellation, and an adaptation memory while adaptation is determined to be valid. A save memory for storing filter coefficients of a memory in parallel for a predetermined interval, and a coefficient for controlling the suitability of updating the filter coefficient for adapting the adaptive filter based on the difference between the transmission signal level and the residual signal level A replacement control means, and an interpolation means for comparing and interpolating the value of the first filter coefficient in the adaptation memory with the value of the second filter coefficient in the save memory. When the value of the first filter coefficient is replaced with the value of the second filter coefficient, and the value of the first filter coefficient is replaced with the value of the second filter coefficient, Communicating And so as to sequentially updated by interpolation at a predetermined timing number so as to be a value.

【0016】[0016]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.適応フィルタの適応化制御を改良した実
施の形態について述べる。図1は、本発明の実施の形態
1における適応化制御手段のブロック図である。この図
において、図9と同一の部分については、同一の符号を
付し説明を省略する。適応化制御手段は、図8のエコー
キャンセラに設けられる手段であり、ディジタル信号で
ある受信信号Rin(k)、送信信号Tin(k)、残
差信号Res(k)を入力とし、適応化制御フラグFL
Gaを出力する。また、レベル計算手段5,16,6
は、受信信号レベルLrin(k)、送信信号レベルL
tin(k)、残差信号レベルLres(k)を計算し
て出力する。ここでレベルとは、例えば、パワーの対数
変換値を指す。エコーゲイン推定手段17は、受信信号
レベルLrin(k)が明らかに有音である閾値を越え
た時に、受信信号レベルLrin(k)と送信信号レベ
ルLtin(k)から推定エコーゲインEGを、式
(8)に従って計算する。つまり、受信信号がエコー経
路で送信端に表れる等価利得を、前区間いくつかの平均
値として求める。これは通常は、システムで決まった値
であるが、これを時として計算する。適応化制御手段
は、受信信号が明らかに有音である時の受信信号と送信
信号のレベル差の平均値を用いるので、エコーゲインを
精度良く推定できる。
Embodiment 1 FIG. An embodiment in which the adaptive control of the adaptive filter is improved will be described. FIG. 1 is a block diagram of the adaptation control means according to Embodiment 1 of the present invention. In this figure, the same parts as those in FIG. 9 are denoted by the same reference numerals, and description thereof is omitted. The adaptation control means is a means provided in the echo canceller shown in FIG. 8, and receives the received signal Rin (k), the transmission signal Tin (k) and the residual signal Res (k) which are digital signals, and performs the adaptation control. Flag FL
Ga is output. Level calculation means 5, 16, 6
Are the reception signal level Lrin (k) and the transmission signal level L
tin (k) and the residual signal level Lres (k) are calculated and output. Here, the level indicates, for example, a logarithmic conversion value of power. When the received signal level Lrin (k) exceeds a threshold value for clearly producing a sound, the echo gain estimating means 17 calculates an estimated echo gain EG from the received signal level Lrin (k) and the transmitted signal level Ltin (k) according to the following equation. Calculate according to (8). That is, the equivalent gain at which the received signal appears at the transmitting end on the echo path is calculated as an average value of several values in the previous section. This is usually a system-determined value, but it is sometimes calculated. Since the adaptation control means uses the average value of the level difference between the reception signal and the transmission signal when the reception signal is clearly a sound, the echo gain can be accurately estimated.

【0017】[0017]

【数3】 (Equation 3)

【0018】エコーレベル推定手段18は、推定エコー
レベルLech(k)を、式(9)に従って計算する。
即ち、近端信号がないとしたときに、送信信号の中に受
信信号がエコーとして表れる量を推定することになる。 Lech(k)=Lrin(k)+EG (9) 比較手段19は、残差信号レベルLres(k)にマー
ジンαを加えた値を推定エコーレベルLech(k)と
比較し、以下の条件式(10)を満たす時に適応化制御
フラグFLGaを1に、満たさない時に0に設定し出力
する。 Lech(k)≧Lres(k)+α (10)
The echo level estimating means 18 calculates the estimated echo level Lech (k) according to the equation (9).
That is, when there is no near-end signal, the amount by which the received signal appears as an echo in the transmitted signal is estimated. Lech (k) = Lrin (k) + EG (9) The comparing means 19 compares the value obtained by adding the margin α to the residual signal level Lres (k) with the estimated echo level Lech (k), and the following conditional expression ( 10) When the condition is satisfied, the adaptive control flag FLGa is set to 1; Lech (k) ≧ Lres (k) + α (10)

【0019】本発明の動作をエコー消去量の大きい場
合、即ち、適応化が進んでエコーが十分にキャンセルさ
れる場合を示した図2を用いて説明する。本発明におけ
る適応化制御フラグFLGaの設定には、条件式(1
0)に示すように残差信号レベルLres(k)を推定
エコーレベルLech(k)と比較する。図2は、残差
信号レベルLres(k)と推定エコーレベルLech
(k)の時間変化を示している。残差信号レベルLre
s(k)は、エコー消去量が大きい場合は、近端音声レ
ベルとほぼ等しく、また推定エコーレベルLech
(k)は、エコー信号レベルとほぼ等しい。前述したよ
うに、適応化の制御に用いる理想的なパラメータは、近
端音声レベルとエコー信号レベルであるので、本発明で
は、従来例で使用した残差信号レベルLres(k)と
推定残差信号レベルLres’(k)よりも、望ましい
パラメータを使用している。そのため、従来例を説明し
た図11に比べ、多くの区間で適応化を実行することが
できる。即ち、図2の区間aのように、送信信号Tin
(k)にエコー信号しか含まれていない区間では、推定
エコーレベルLech(k)が近端音声レベルの近似で
ある残差信号レベルを常に上回るので、継続的に適応化
制御フラグFLGaを1に設定する動作となる。また、
図2の区間bのように、ダブルトーク区間中のエコー信
号レベルが近端音声レベルを上回っている区間でも、区
間aと同様に推定エコーレベルLech(k)が残差信
号レベルを上回るので、適応化制御フラグFLGaを1
に設定する動作となる。
The operation of the present invention will be described with reference to FIG. 2 showing a case where the amount of echo cancellation is large, that is, a case where the adaptation proceeds and the echo is sufficiently canceled. The setting of the adaptation control flag FLGa in the present invention is based on the conditional expression (1).
As shown in (0), the residual signal level Lres (k) is compared with the estimated echo level Lech (k). FIG. 2 shows the residual signal level Lres (k) and the estimated echo level Lech.
The time change of (k) is shown. Residual signal level Lre
When the amount of echo cancellation is large, s (k) is almost equal to the near-end voice level, and the estimated echo level Lech
(K) is substantially equal to the echo signal level. As described above, the ideal parameters used for the adaptation control are the near-end voice level and the echo signal level. Therefore, in the present invention, the residual signal level Lres (k) and the estimated residual A more desirable parameter is used than the signal level Lres' (k). For this reason, adaptation can be performed in many sections as compared with FIG. 11 illustrating the conventional example. That is, as shown in section a of FIG.
In the section where only the echo signal is included in (k), the estimated echo level Lech (k) always exceeds the residual signal level which is an approximation of the near-end voice level, so that the adaptation control flag FLGa is continuously set to 1. This is the operation to be set. Also,
Even in a section where the echo signal level in the double talk section exceeds the near-end voice level as in the section b in FIG. 2, the estimated echo level Lech (k) exceeds the residual signal level as in the section a. Adaptation control flag FLGa is set to 1
Operation.

【0020】なお、比較の条件式(10)におけるマー
ジンαは、近端音声レベルを残差信号レベルLres
(k)で近似した誤差と、推定エコーレベルLech
(k)が推定値であるために、真のエコーレベルに対し
て持つ誤差を吸収するためのものである。以上説明した
ように、本発明によれば、エコー消去量の大きい場合に
は、上記構成の信号比較により良好な適応化制御を行う
ことができる。
The margin α in the conditional expression (10) for comparison is obtained by changing the near-end voice level to the residual signal level Lres.
The error approximated by (k) and the estimated echo level Lech
Since (k) is an estimated value, it is for absorbing an error with respect to a true echo level. As described above, according to the present invention, when the amount of echo cancellation is large, good adaptation control can be performed by comparing the signals of the above configuration.

【0021】実施の形態2.適応フィルタの適応化制御
を改良した他の実施の形態を述べる。図3は、本発明の
実施の形態2における適応化制御手段のブロック図であ
る。この図において、図1及び図9と同一の部分につい
ては、同一の符号を付し説明を省略する。この適応化制
御手段は、図8のエコーキャンセラに設けられる手段で
あり、ディジタル信号である受信信号Rin(k)、送
信信号Tin(k)を入力とし、適応化制御フラグFL
Gbを出力する。また、レベル計算手段5,16は、実
施の形態1と同様に、受信信号レベルLrin(k)と
送信信号レベルLtin(k)を計算して出力する。エ
コーゲイン推定手段17とエコーレベル推定手段18
は、実施の形態1と同様に、推定エコーゲインEGと推
定エコーレベルLech(k)を計算する。比較手段2
0は、送信信号レベルLtin(k)、マージンβ、推
定エコーレベルLech(k)による以下の条件式(1
1)を満たす時に適応化制御フラグFLGbを1に、満
たさない時に0に設定し出力する。 Lech(k)≧Ltin(k)−β (11)
Embodiment 2 FIG. Another embodiment in which the adaptive control of the adaptive filter is improved will be described. FIG. 3 is a block diagram of the adaptation control means according to Embodiment 2 of the present invention. In this figure, the same parts as those in FIGS. 1 and 9 are denoted by the same reference numerals, and description thereof will be omitted. This adaptation control means is a means provided in the echo canceller shown in FIG. 8 and receives a received signal Rin (k) and a transmission signal Tin (k) which are digital signals as inputs, and applies an adaptation control flag FL.
Gb is output. The level calculating means 5 and 16 calculate and output the reception signal level Lrin (k) and the transmission signal level Ltin (k), as in the first embodiment. Echo gain estimating means 17 and echo level estimating means 18
Calculates the estimated echo gain EG and the estimated echo level Lech (k), as in the first embodiment. Comparison means 2
0 is the following conditional expression (1) based on the transmission signal level Ltin (k), the margin β, and the estimated echo level Lech (k).
When 1) is satisfied, the adaptation control flag FLGb is set to 1; Lech (k) ≧ Ltin (k) −β (11)

【0022】本発明の動作をエコー消去量の小さい場
合、即ち、適応化が未だ進まずにエコーのキャンセルが
充分でない場合を示した図4を用いて説明する。本発明
における適応化制御フラグFLGbの設定には、条件式
(11)に示すように、送信信号レベルLtin(k)
を推定エコーレベルLech(k)と比較する。図4
は、送信信号レベルLtin(k)と推定エコーレベル
Lech(k)の時間変化を示している。送信信号レベ
ルLtin(k)は、送信信号中に近端音声が含まれて
いない場合は、エコー信号レベルを表すため、推定エコ
ーレベルLech(k)とほぼ等しくなり、また、近端
音声と遠端音声が重なるダブルトーク時には、近端音声
とエコー信号が重畳した信号のレベルを表すため、推定
エコーレベルLech(k)を上回る。そのため、送信
信号レベルLtin(k)と推定エコーレベルLech
(k)を比較することで、送信信号Tin(k)にエコ
ー信号しか含まれていない区間を推定し、適応化制御フ
ラグFLGbを1に設定する。従来例を説明した図12
と比較してわかるように、図4ではより多くの区間で適
応化を実行する動作となる。
The operation of the present invention will be described with reference to FIG. 4 showing a case where the echo cancellation amount is small, that is, a case where the adaptation has not yet proceeded and the echo cancellation is not sufficient. In setting the adaptation control flag FLGb in the present invention, as shown in the conditional expression (11), the transmission signal level Ltin (k)
Is compared with the estimated echo level Lech (k). FIG.
Indicates a temporal change of the transmission signal level Ltin (k) and the estimated echo level Lech (k). The transmission signal level Ltin (k) represents an echo signal level when a near-end voice is not included in the transmission signal, and is therefore substantially equal to the estimated echo level Lech (k). At the time of double talk where the end voices overlap, the level of the signal in which the near-end voice and the echo signal are superimposed indicates the level of the signal, and therefore exceeds the estimated echo level Lech (k). Therefore, the transmission signal level Ltin (k) and the estimated echo level Lech
By comparing (k), a section in which only the echo signal is included in the transmission signal Tin (k) is estimated, and the adaptation control flag FLGb is set to 1. FIG. 12 illustrating a conventional example
As can be seen from comparison with FIG. 4, the operation of executing the adaptation in more sections is performed in FIG.

【0023】なお、比較の条件式(11)におけるマー
ジンβは、推定エコーレベルLech(k)が推定値で
あるために、真のエコーレベルに対して持つ誤差を吸収
するためのものである。以上説明したように、本発明に
よれば、エコー消去量の小さい場合には、上記構成の信
号比較により良好な適応化制御を行うことができる。
The margin β in the conditional expression (11) for comparison is to absorb an error with respect to a true echo level because the estimated echo level Lech (k) is an estimated value. As described above, according to the present invention, when the amount of echo cancellation is small, good adaptation control can be performed by comparing the signals with the above configuration.

【0024】実施の形態3.更に、他の改良された適応
フィルタの適応化制御の形態について述べる。図5は、
本発明の実施の形態3における適応化制御手段のブロッ
ク図である。この図において、図9及び図1と同一の部
分については、同一の符号を付し説明を省略する。この
適応化制御手段も、図8のエコーキャンセラに設けられ
る手段であり、入出力は、図1,図3の構成と同様であ
る。レベル計算手段5,16,6は、実施の形態1と同
様に、受信信号レベルLrin(k)、送信信号レベル
Ltin(k)、残差信号レベルLres(k)を計算
して出力する。ここでレベルとは、例えば、パワーの対
数変換値を指す。エコーゲイン推定手段17とエコーレ
ベル推定手段18は、上記実施の形態と同様に、推定エ
コーゲインEGと推定エコーレベルLech(k)を計
算する。適応化制御手段は、受信信号が明らかに有音で
ある時の受信信号と残差信号のレベル差の平均値を用い
るので、エコー消去量を精度良く推定できる。比較手段
19,20は、それぞれ実施の形態1,実施の形態2と
同様に、適応化制御フラグFLGa,FLGbを設定し
フラグ選択手段22に出力する。また、エコー消去量推
定手段21は、受信信号レベルLrin(k)が明らか
に有音である閾値を越えた時に、送信信号レベルLti
n(k)と残差信号レベルLres(k)から推定エコ
ー消去量ERLEを、式(12)に従って計算する。
Embodiment 3 FIG. Further, another form of adaptive control of the adaptive filter will be described. FIG.
FIG. 13 is a block diagram of an adaptation control unit according to Embodiment 3 of the present invention. In this figure, the same parts as those in FIGS. 9 and 1 are denoted by the same reference numerals, and description thereof is omitted. This adaptation control means is also means provided in the echo canceller of FIG. 8, and the input and output are the same as those of the configurations of FIGS. The level calculation means 5, 16, and 6 calculate and output the received signal level Lrin (k), the transmitted signal level Ltin (k), and the residual signal level Lres (k), as in the first embodiment. Here, the level indicates, for example, a logarithmic conversion value of power. The echo gain estimating means 17 and the echo level estimating means 18 calculate the estimated echo gain EG and the estimated echo level Lech (k) as in the above embodiment. Since the adaptation control means uses the average value of the level difference between the received signal and the residual signal when the received signal is clearly a sound, the echo cancellation amount can be accurately estimated. The comparing means 19 and 20 set the adaptation control flags FLGa and FLGb and output them to the flag selecting means 22 as in the first and second embodiments, respectively. When the received signal level Lrin (k) exceeds a threshold value for clearly producing a sound, the echo canceling amount estimating means 21 outputs the transmission signal level Lti.
The estimated echo cancellation amount ERLE is calculated from n (k) and the residual signal level Lres (k) according to equation (12).

【0025】[0025]

【数4】 (Equation 4)

【0026】フラグ選択手段22は、推定エコー消去量
ERLEが閾値を越えた時、即ち、大きい時には、比較
手段19の出力する適応化制御フラグFLGaを、ま
た、推定エコー消去量ERLEが閾値を越えない時、即
ち、小さい時には、比較手段20の出力する適応化制御
フラグFLGbを、最終的な適応化制御フラグFLGと
して出力する。ここでFLG=1は、適応フィルタに対
する適応化の実行指示を示し、FLG=0は、適応化の
停止指示を示す。ここで適応フィルタによるエコー消去
量に応じて適応化制御フラグFLGaとFLGbを使い
分けるのは、エコー消去量の大小に関わらず、良好な適
応化制御を行うためである。既に、実施の形態1と実施
の形態2で説明したように、良好な適応化制御のために
はエコー消去量が大きい時には、適応化制御フラグFL
Gaが有効であり、エコー消去量が小さい時には、適応
化制御フラグFLGbが有効である。
When the estimated echo canceling amount ERLE exceeds the threshold, that is, when the estimated echo canceling amount ERLE is large, the flag selecting unit 22 sets the adaptation control flag FLGa output from the comparing unit 19 and the estimated echo canceling amount ERLE exceeds the threshold. When there is no such signal, that is, when it is small, the adaptive control flag FLGb output from the comparing means 20 is output as the final adaptive control flag FLG. Here, FLG = 1 indicates an instruction to execute adaptation to the adaptive filter, and FLG = 0 indicates an instruction to stop adaptation. Here, the reason why the adaptive control flags FLGa and FLGb are selectively used in accordance with the amount of echo cancellation by the adaptive filter is to perform good adaptation control regardless of the magnitude of the amount of echo cancellation. As described in the first and second embodiments, when the amount of echo cancellation is large for good adaptation control, the adaptation control flag FL
When Ga is effective and the amount of echo cancellation is small, the adaptation control flag FLGb is effective.

【0027】以上説明したように、本発明によれば、エ
コー消去量に応じて適応化制御フラグFLGaとFLG
bを使い分けるので、エコー消去量の大小に関わらず、
良好な適応化制御を行うことができる。なお、α,βの
マージンは、それぞれ近端音声レベルを残差信号レベル
Lres(k)で近似した誤差と推定エコーレベルが推
定値としたために持つ誤差を吸収する効果がある。
As described above, according to the present invention, the adaptation control flags FLGa and FLG are set in accordance with the amount of echo cancellation.
Since b is used properly, regardless of the amount of echo cancellation,
Good adaptation control can be performed. The margins α and β have an effect of absorbing an error caused by approximating the near-end voice level with the residual signal level Lres (k) and an error caused by the estimated echo level being an estimated value.

【0028】実施の形態4.適応化制御による積和演算
器のフィルタ係数切換時の異音発生をなくす構成と動作
を説明する。図6は、本発明の実施の形態4におけるフ
ィルタ係数置換手段を備えるエコーキャンセラのブロッ
ク図である。この図において、図13と同一の動作をす
る部分については説明を省略する。図において、切り替
え手段12は、係数置換制御手段15より適応用メモリ
10の第1のフィルタ係数の値を待避用メモリ13に転
送する指令を受けるとその指令に従った転送を行う点は
従来例と同一であるが、適応用メモリ10の第1のフィ
ルタ係数の値を待避用メモリ13の第2のフィルタ係数
値で置換する指令を受けた時には何もしない点は従来例
とは異なる。新しい要素である補間手段23は、係数置
換制御手段15より適応用メモリ10の第1のフィルタ
係数の値を待避用メモリ13の値で置換する指令を受け
た時には、即ち、現在の適応化が妥当でなくフィルタ係
数を置換する時には、適応用メモリ10の第1のフィル
タ係数H(j)と待避用メモリ13の第2のフィルタ係
数Hm(j)を比較し、その値の差分を計算し、M回に
分割して補間する場合の1回の変更幅DL(j),j=
1,2,...,Jを、式(13)に従って計算し、待
避用メモリ13に変更幅DL(j),j=1,
2,...,Jを保存する。なお、ここでJは適応フィ
ルタのtap数である。
Embodiment 4 A configuration and operation for eliminating generation of abnormal noise when the filter coefficient of the product-sum operation unit is switched by the adaptation control will be described. FIG. 6 is a block diagram of an echo canceller including a filter coefficient replacement unit according to Embodiment 4 of the present invention. In this figure, the description of the parts performing the same operations as in FIG. 13 is omitted. In the drawing, the switching means 12 performs the transfer according to the command when the command for transferring the value of the first filter coefficient of the adaptation memory 10 to the save memory 13 is received from the coefficient replacement control means 15. Is different from the conventional example in that when a command for replacing the value of the first filter coefficient of the adaptation memory 10 with the second filter coefficient value of the save memory 13 is received, nothing is performed. The interpolation means 23, which is a new element, receives a command from the coefficient replacement control means 15 to replace the value of the first filter coefficient of the adaptation memory 10 with the value of the save memory 13, that is, the current adaptation is stopped. When the filter coefficient is replaced improperly, the first filter coefficient H (j) of the adaptive memory 10 is compared with the second filter coefficient Hm (j) of the save memory 13, and the difference between the values is calculated. , M, and one change width DL (j), j =
1, 2,. . . , J according to equation (13), and the change width DL (j), j = 1,
2,. . . , J is saved. Here, J is the number of taps of the adaptive filter.

【0029】図7は、Ds(k)の時間変化と切り替え
手段12による転送処理のタイミングと補間手段23に
よる補間処理のタイミングを示している。すなわち、D
s(k)が大きくなり、適応用メモリ10の第1のフィ
ルタ係数H(j)が待避用メモリ13の第2のフィルタ
係数Hm(j)へ保存のために転送されるタイミングを
「H(j)からHm(j)への保存タイミング」のパル
スで示し、また、Ds(k)が小さくなり、適応用メモ
リ10の第1をフィルタ係数H(j)の待避用メモリ1
3に保存されている第2のフィルタ係数Hm(j)へ変
更するためのM回の補間のタイミングを「H(j)の補
間タイミング」のパルスで示している。従来例を説明し
た図14では、適応用メモリ10の第1のフィルタ係数
H(j)を待避用メモリ13の第2のフィルタ係数Hm
(j)へ変更する処理が1回の置換であったのに対し、
本発明を説明した図8ではこの変更する処理がM回の補
間であるので、本発明で補間前の第1のフィルタ係数と
第2のフィルタ係数とが大きく異なっている場合でも、
適応用メモリ10の第1のフィルタ係数を徐々に変更す
ることができる。 DL(j)={Hm(j)−H(j)}/M j=1,2,...,J (13) 次に、補間手段23は、1回目の補間時には適応用メモ
リ10の第1のフィルタ係数H(j)に変更幅DL
(j)の値を加算する処理を、j=1,2,...,J
について行う。以降、M回目の補間時まで適応用メモリ
10の第1のフィルタ係数に、変更幅DL(j),j=
1,2,...,Jの値を加算する動作を繰り返す。そ
の結果、M回目の補間が終了する時には、適応用メモリ
10の第1のフィルタ係数の値は、補間開始前の待避用
メモリ13の第2のフィルタ係数Hm(j),j=1,
2,...,Jと同一の値になる。
FIG. 7 shows the time change of Ds (k), the timing of the transfer processing by the switching means 12, and the timing of the interpolation processing by the interpolation means 23. That is, D
s (k) increases, and the timing at which the first filter coefficient H (j) of the adaptation memory 10 is transferred to the second filter coefficient Hm (j) of the save memory 13 for storage is set to “H (k). j) from Hm (j), and Ds (k) becomes smaller, and the first of the adaptation memories 10 is stored in the save memory 1 of the filter coefficient H (j).
The timing of M times of interpolation for changing to the second filter coefficient Hm (j) stored in No. 3 is indicated by a pulse of “H (j) interpolation timing”. In FIG. 14 illustrating the conventional example, the first filter coefficient H (j) of the adaptive memory 10 is replaced with the second filter coefficient Hm of the save memory 13.
While the process of changing to (j) was a single replacement,
In FIG. 8 for explaining the present invention, since the process of changing is M times of interpolation, even if the first filter coefficient and the second filter coefficient before interpolation in the present invention are significantly different,
The first filter coefficient of the adaptation memory 10 can be gradually changed. DL (j) = {Hm (j) -H (j)} / M j = 1, 2,. . . , J (13) Next, at the time of the first interpolation, the interpolation means 23 changes the first filter coefficient H (j) of the adaptation memory 10 to the change width DL.
Processing for adding the value of (j) is performed by j = 1, 2,. . . , J
Do about. Thereafter, the change width DL (j), j = j is added to the first filter coefficient of the adaptive memory 10 until the M-th interpolation.
1, 2,. . . , J are repeated. As a result, when the M-th interpolation is completed, the value of the first filter coefficient of the adaptive memory 10 becomes the second filter coefficient Hm (j), j = 1,
2,. . . , J.

【0030】実施の形態5.実施の形態1,2,3にお
けるレベル計算手段5,16,6で計算される受信信号
レベルLrin(k)、送信信号レベルLtin
(k)、残差信号レベルLres(k)は、パワーの対
数変換値としたが、これをパワーで代用しても良い。本
実施の形態では、適応化制御手段に実施の形態1,2,
3と同じ動作をさせるために、式(8)の計算は式(1
4)に、式(9)の計算は式(15)に、条件式(1
0)の計算は式(16)に、条件式(11)の計算は式
(18)に、式(12)の計算は式(20)にそれぞれ
変更される。ただし、α’は、以下の式(17)で表さ
れる。ただし、β’は、以下の式(19)で表される。
Embodiment 5 Received signal level Lrin (k) and transmission signal level Ltin calculated by level calculation means 5, 16, and 6 in the first, second, and third embodiments.
(K) The residual signal level Lres (k) is a logarithmic converted value of power, but this may be substituted by power. In the present embodiment, the adaptive control means according to the first, second,
In order to perform the same operation as that of the equation (3), the calculation of the equation (8) is performed by the equation (1).
In equation (4), equation (9) is calculated in equation (15), and in conditional equation (1).
The calculation of (0) is changed to Expression (16), the calculation of Conditional Expression (11) is changed to Expression (18), and the calculation of Expression (12) is changed to Expression (20). Here, α ′ is represented by the following equation (17). Here, β ′ is represented by the following equation (19).

【0031】[0031]

【数5】 (Equation 5)

【0032】また更に、推定エコーゲインEGの計算式
(14)及び推定エコー消去量ERLEの計算式(2
0)は、それぞれ式(21)、式(22)で代用しても
良い。
Further, the equation (14) for calculating the estimated echo gain EG and the equation (2) for calculating the estimated echo cancellation amount ERLE
0) may be substituted by equations (21) and (22), respectively.

【0033】[0033]

【数6】 (Equation 6)

【0034】[0034]

【発明の効果】以上のように、本発明によれば、適応化
制御手段は、推定エコーレベルと残差信号レベルを用い
た判定を行うので、エコー消去量が大きい場合には、送
信信号中の近端信号レベルとエコー信号レベルを精度良
く推定でき、その結果適応フィルタの適応化の実行、停
止を精度良く制御できる効果がある。
As described above, according to the present invention, the adaptation control means makes a decision using the estimated echo level and the residual signal level. Can accurately estimate the near-end signal level and the echo signal level, and as a result, there is an effect that the execution and stop of the adaptation of the adaptive filter can be accurately controlled.

【0035】また、適応化制御手段は推定エコーレベル
と送信信号レベルを用いた判定を行うので、エコー消去
量が小さい場合でも、送信信号がエコー信号のみである
か否かを判定でき、その結果適応フィルタの適応化の実
行、停止を精度良く制御できる効果がある。
Further, since the adaptation control means makes a determination using the estimated echo level and the transmission signal level, it is possible to determine whether or not the transmission signal is only an echo signal even if the amount of echo cancellation is small. There is an effect that execution and stop of adaptation of the adaptive filter can be controlled with high accuracy.

【0036】また、適応化制御手段は送信信号のレベル
と残差信号のレベルからエコー消去量を推定し、エコー
消去量により適応化制御手段は、フラグを使い分けるの
で、エコー消去量の大小に関係なく適応フィルタの適応
化の実行、停止を精度良く制御できる効果がある。
Further, the adaptation control means estimates the amount of echo cancellation from the level of the transmission signal and the level of the residual signal, and the adaptation control means uses different flags depending on the amount of echo cancellation. In addition, there is an effect that the execution and stop of the adaptation of the adaptive filter can be accurately controlled.

【0037】また、フィルタ係数置換の際に、置換前の
適応用メモリのフィルタ係数と待避用メモリのフィルタ
係数の値を補間しながら置換するので、置換前の適応用
メモリのフィルタ係数の値と待避用メモリのフィルタ係
数の値が大きく違っていても、積和演算器の出力信号が
不連続とならず、その結果残差信号に異音を生じなくな
るという効果がある。
Also, at the time of filter coefficient replacement, the filter coefficients of the adaptation memory before replacement and the filter coefficients of the save memory are replaced while being interpolated. Even if the values of the filter coefficients of the save memory are significantly different, the output signal of the product-sum calculator does not become discontinuous, and as a result, there is an effect that abnormal noise does not occur in the residual signal.

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

【図1】 この発明の実施の形態1における適応化制御
手段の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an adaptation control unit according to Embodiment 1 of the present invention.

【図2】 この発明の実施の形態1における適応化制御
手段の動作を説明する図である。
FIG. 2 is a diagram illustrating an operation of an adaptation control unit according to the first embodiment of the present invention.

【図3】 この発明の実施の形態2における適応化制御
手段の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an adaptation control unit according to Embodiment 2 of the present invention.

【図4】 この発明の実施の形態2における適応化制御
手段の動作を説明する図である。
FIG. 4 is a diagram illustrating an operation of an adaptation control unit according to the second embodiment of the present invention.

【図5】 この発明の実施の形態3における適応化制御
手段の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of an adaptation control unit according to Embodiment 3 of the present invention.

【図6】 この発明の実施の形態4におけるフィルタ係
数置換手段を含むエコーキャンセラを示すブロック図で
ある。
FIG. 6 is a block diagram showing an echo canceller including a filter coefficient replacement unit according to Embodiment 4 of the present invention.

【図7】 この発明の実施の形態4における係数置換手
段の動作を説明する図である。
FIG. 7 is a diagram illustrating an operation of a coefficient replacement unit according to Embodiment 4 of the present invention.

【図8】 エコーキャンセラの全体構成を示すブロック
図である。
FIG. 8 is a block diagram illustrating an overall configuration of an echo canceller.

【図9】 従来の適応化制御手段の構成を示すブロック
図である。
FIG. 9 is a block diagram showing a configuration of a conventional adaptation control means.

【図10】 適応フィルタの適応化を実行すべき区間の
例を示した図である。
FIG. 10 is a diagram illustrating an example of a section in which adaptation of an adaptive filter is to be performed.

【図11】 従来の適応フィルタの適応化の実行区間の
例を示した図である。
FIG. 11 is a diagram showing an example of an execution section of adaptation of a conventional adaptive filter.

【図12】 従来の適応フィルタの適応化の実行区間の
例を示した図である。
FIG. 12 is a diagram illustrating an example of an execution section of adaptation of a conventional adaptive filter.

【図13】 従来のフィルタ係数置換方法を含むエコー
キャンセラを示すブロック図である。
FIG. 13 is a block diagram showing an echo canceller including a conventional filter coefficient replacement method.

【図14】 従来の係数置換方法の動作を説明する図で
ある。
FIG. 14 is a diagram illustrating the operation of a conventional coefficient replacement method.

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

1 エコー経路、2 エコー減算器、3 適応フィル
タ、4 適応化制御手段、5,6,16 レベル計算手
段、7 レベル差計算手段、8 レベル補正手段、9
比較手段、10 適応用メモリ、11 積和演算手段、
12 切り替え手段、13 待避用メモリ、14 フィ
ルタ係数更新手段、15 係数置換制御手段、17 エ
コーゲイン推定手段、18 エコーレベル推定手段、1
9,20比較手段、21 エコー消去量推定手段、22
フラグ選択手段、23 補間手段。
Reference Signs List 1 echo path, 2 echo subtractor, 3 adaptive filter, 4 adaptation control means, 5, 6, 16 level calculation means, 7 level difference calculation means, 8 level correction means, 9
Comparison means, 10 adaptation memory, 11 product-sum operation means,
12 switching means, 13 save memory, 14 filter coefficient updating means, 15 coefficient replacement control means, 17 echo gain estimating means, 18 echo level estimating means, 1
9, 20 comparison means, 21 echo cancellation amount estimation means, 22
Flag selection means, 23 interpolation means.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 受信信号のレベルと送信信号のレベルか
らエコーゲインを推定する手段と、 上記受信信号に上記推定されたエコーゲインを加えて得
られる推定エコーレベルとエコー消去後の残差信号のレ
ベルとを比較する比較手段を設け、 上記推定エコーレベルが上記残差信号にマージンを加え
た値より大きい場合に、送信信号に含まれる受信信号の
エコーを消去する適応化制御を行うようにした適応化制
御手段を備えたエコーキャンセラ。
A means for estimating an echo gain from a level of a received signal and a level of a transmitted signal; and an estimated echo level obtained by adding the estimated echo gain to the received signal, and a residual signal after echo cancellation. A comparing means for comparing the residual echo signal with a margin and a margin when the estimated echo level is larger than a value obtained by adding a margin to the residual signal. Echo canceller with adaptive control means.
【請求項2】 受信信号のレベルと送信信号のレベルか
らエコーゲインを推定する手段と、 上記受信信号に上記推定されたエコーゲインを加えて得
られる推定エコーレベルと上記送信信号のレベルとを比
較する比較手段を設け、 上記推定エコーレベルが上記送信信号からマージンを減
じた値より大きい場合に、送信信号に含まれる受信信号
のエコーを消去する適応化制御を行うようにした適応化
制御手段を備えたエコーキャンセラ。
2. A means for estimating an echo gain from a level of a received signal and a level of a transmitted signal, and comparing an estimated echo level obtained by adding the estimated echo gain to the received signal and a level of the transmitted signal. An adaptive control means for performing an adaptive control for canceling an echo of a received signal included in a transmission signal when the estimated echo level is larger than a value obtained by subtracting a margin from the transmission signal. Equipped echo canceller.
【請求項3】 受信信号のレベルと送信信号のレベルか
らエコーゲインを推定する手段と、 上記受信信号に上記推定されたエコーゲインを加えて得
られる推定エコーレベルとエコー消去後の残差信号のレ
ベルとを比較する第1の比較手段と、 上記受信信号に上記推定されたエコーゲインを加えて得
られる推定エコーレベルと上記送信信号のレベルとを比
較する第2の比較手段と、 上記送信信号のレベルと上記残差信号のレベルから推定
エコー消去量を推定するエコー消去量推定手段を設け
て、 上記エコー消去量が閾値より大きい場合は、上記推定エ
コーレベルが上記残差信号にマージンを加えた値より大
きいと送信信号に含まれる受信信号のエコーを消去する
適応化制御を行い、上記エコー消去量が閾値を越えない
場合は、上記推定エコーレベルが上記送信信号からマー
ジンを減じた値より大きいと送信信号に含まれる受信信
号のエコーを消去する適応化制御を行うようにした適応
化制御手段を備えたエコーキャンセラ。
3. A means for estimating an echo gain from a level of a received signal and a level of a transmitted signal, and an estimated echo level obtained by adding the estimated echo gain to the received signal and a residual signal after echo cancellation. First comparing means for comparing the level of the transmission signal with the level of the transmission signal; first comparison means for comparing the level of the transmission signal with an estimated echo level obtained by adding the estimated echo gain to the reception signal; And an echo canceling amount estimating means for estimating an estimated echo canceling amount from the level of the residual signal and a level of the residual signal. If the echo canceling amount is larger than a threshold, the estimated echo level adds a margin to the residual signal. If the echo cancellation amount does not exceed the threshold, the adaptive control for canceling the echo of the reception signal included in the transmission signal is performed. Echo canceller bell with adaptation control means to perform the adaptation control to cancel the echo of the reception signal included in the transmission signal greater than the value obtained by subtracting a margin from the transmission signal.
【請求項4】 送信信号とエコー消去後の残差信号から
アルゴリズムを用いて更新される適応化のためのフィル
タ係数を記憶する適応用メモリと、 適応化が妥当と判断される間は上記適応用メモリのフィ
ルタ係数を所定の区間分平行して記憶する待避用メモリ
と、 上記送信信号レベルと上記残差信号レベルとの差をみて
適応フィルタの適応化のためのフィルタ係数の更新の適
否を制御する係数置換制御手段と、 上記適応用メモリ中の第1のフィルタ係数の値と上記待
避用メモリ中の第2のフィルタ係数の値を比較して補間
する補間手段を備え、 上記係数置換制御手段が適応化が妥当ではなくて上記第
1のフィルタ係数の値を上記第2のフィルタ係数の値で
置換するよう制御すると、補間手段は上記第1のフィル
タ係数の値と第2のフィルタ係数の値とが連続な値とな
るよう所定のタイミング回数で補間して順次更新するよ
うにしたエコーキャンセラ。
4. An adaptation memory for storing a filter coefficient for adaptation updated using an algorithm from a transmission signal and a residual signal after echo cancellation, and the adaptation memory while adaptation is determined to be valid. An evacuation memory for storing filter coefficients of a memory for a predetermined interval in parallel; and determining whether the update of the filter coefficients for adapting the adaptive filter is appropriate based on the difference between the transmission signal level and the residual signal level. Coefficient replacement control means for controlling; and interpolation means for comparing and interpolating the value of the first filter coefficient in the adaptation memory with the value of the second filter coefficient in the save memory. When the means controls the replacement of the value of the first filter coefficient with the value of the second filter coefficient when the adaptation is not appropriate, the interpolation means controls the value of the first filter coefficient and the value of the second filter coefficient. Echo canceller to be sequentially updated by interpolation at a predetermined timing number so that the number of values becomes a continuous value.
JP00539797A 1996-04-25 1997-01-16 Echo canceller Expired - Lifetime JP3386327B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00539797A JP3386327B2 (en) 1996-04-25 1997-01-16 Echo canceller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-105538 1996-04-25
JP10553896 1996-04-25
JP00539797A JP3386327B2 (en) 1996-04-25 1997-01-16 Echo canceller

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001344026A Division JP3631459B2 (en) 1996-04-25 2001-11-09 Echo canceller

Publications (2)

Publication Number Publication Date
JPH1013310A true JPH1013310A (en) 1998-01-16
JP3386327B2 JP3386327B2 (en) 2003-03-17

Family

ID=26339329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00539797A Expired - Lifetime JP3386327B2 (en) 1996-04-25 1997-01-16 Echo canceller

Country Status (1)

Country Link
JP (1) JP3386327B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003517751A (en) * 1999-05-20 2003-05-27 シグナルワークス, インコーポレイテッド System and method for near-end speaker detection by spectral analysis
KR100394291B1 (en) * 1999-08-31 2003-08-09 루센트 테크놀러지스 인크 Echo cancellation device with self deactivation
JP2009164670A (en) * 2007-12-28 2009-07-23 Mitsubishi Electric Corp Echo canceler

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007083349A1 (en) 2006-01-17 2007-07-26 Mitsubishi Electric Corporation Echo erase device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003517751A (en) * 1999-05-20 2003-05-27 シグナルワークス, インコーポレイテッド System and method for near-end speaker detection by spectral analysis
KR100394291B1 (en) * 1999-08-31 2003-08-09 루센트 테크놀러지스 인크 Echo cancellation device with self deactivation
JP2009164670A (en) * 2007-12-28 2009-07-23 Mitsubishi Electric Corp Echo canceler

Also Published As

Publication number Publication date
JP3386327B2 (en) 2003-03-17

Similar Documents

Publication Publication Date Title
JP2853455B2 (en) Echo canceller
JP4457639B2 (en) Echo canceller
JP3139405B2 (en) Echo canceller
KR100225055B1 (en) An echo canceller
JP4403776B2 (en) Echo canceller
JPH1013310A (en) Echo canceller
JP3631459B2 (en) Echo canceller
JPS6222290B2 (en)
JP3244416B2 (en) Echo canceller
JPH07226697A (en) Echo canceler, echo canceling method and transmitter/ receiver having echo canceler
JP3121998B2 (en) Acoustic echo canceller
JP2907706B2 (en) Voice switch control method used with echo canceller
JP3217614B2 (en) Acoustic echo canceller
JP3248551B2 (en) Echo canceler
JP3217618B2 (en) Acoustic echo canceller
JP3187716B2 (en) Echo canceller
JP3217619B2 (en) Acoustic echo canceller
JP3248550B2 (en) Echo canceler
JP2002016691A (en) Echo canceller
JP2000165300A (en) Method and system for identifying unknown system using sub band adaptive filter
JP3152822B2 (en) Acoustic echo canceller
JP3152815B2 (en) Acoustic echo canceller
JP3121997B2 (en) Acoustic echo canceller
JPH07212278A (en) Echo erasing device
JP3121969B2 (en) Acoustic echo canceller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021210

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

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term