JP4600423B2 - Echo canceller - Google Patents

Echo canceller Download PDF

Info

Publication number
JP4600423B2
JP4600423B2 JP2007122461A JP2007122461A JP4600423B2 JP 4600423 B2 JP4600423 B2 JP 4600423B2 JP 2007122461 A JP2007122461 A JP 2007122461A JP 2007122461 A JP2007122461 A JP 2007122461A JP 4600423 B2 JP4600423 B2 JP 4600423B2
Authority
JP
Japan
Prior art keywords
echo
signal
double talk
adaptive filter
double
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007122461A
Other languages
Japanese (ja)
Other versions
JP2007274714A (en
Inventor
実 福島
博昭 竹山
裕子 前田
章 寺澤
彰洋 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works 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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2007122461A priority Critical patent/JP4600423B2/en
Publication of JP2007274714A publication Critical patent/JP2007274714A/en
Application granted granted Critical
Publication of JP4600423B2 publication Critical patent/JP4600423B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Telephone Function (AREA)

Description

本発明は、拡声通話機能を有する電話機やインターホンなどの拡声通話装置に用いられるエコーキャンセラに関するものである。   The present invention relates to an echo canceller used in a loudspeaker device such as a telephone or an interphone having a loudspeaker function.

マイクロホン及びスピーカを用いて拡声通話(ハンズフリー通話)を実現する電話機やインターホンなどの拡声通話装置においては、スピーカから送出される受話音声の一部がマイクロホンに回り込み、これが送話音声(送話信号)となって相手側の通話端末に伝送されるため、相手側の通話者には自分の発した音声がエコーとなって聞こえてしまい、そのレベルが高い場合には不快感を生じてしまうことになる。そこで、従来より、上述のようなエコーを抑圧する技術が提案あるいは提供されており、その一つの手段としてエコーキャンセラがある。   In a loudspeaker device such as a telephone or an interphone that implements a loudspeaker call (hands-free call) using a microphone and a speaker, a part of the received voice sent from the speaker goes around the microphone, and this is transmitted voice (speech signal) ) Is transmitted to the other party's call terminal, so that the other party's caller hears his / her voice as an echo, which can cause discomfort if the level is high. become. Therefore, conventionally, techniques for suppressing the echo as described above have been proposed or provided, and one of the means is an echo canceller.

マイクロホン及びスピーカを用いて拡声通話(ハンズフリー通話)を実現する電話機やインターホンなどの拡声通話装置においては、スピーカから送出される受話音声の一部がマイクロホンに回り込み、これが送話音声(送話信号)となって相手側の通話端末に伝送されるため、相手側の通話者には自分の発した音声がエコーとなって聞こえてしまい、そのレベルが高い場合には不快感を生じてしまうことになる。そこで、従来より、上述のようなエコーを抑圧する技術が提案あるいは提供されており、その一つの手段としてエコーキャンセラがある。   In a loudspeaker device such as a telephone or an interphone that implements a loudspeaker call (hands-free call) using a microphone and a speaker, a part of the received voice sent from the speaker goes around the microphone, and this is transmitted voice (speech signal) ) Is transmitted to the other party's call terminal, so that the other party's caller hears his / her voice as an echo, which can cause discomfort if the level is high. become. Therefore, conventionally, techniques for suppressing the echo as described above have been proposed or provided, and one of the means is an echo canceller.

エコーキャンセラは、スピーカとマイクロホンの音響結合などにより形成される帰還経路(エコー経路)のインパルス応答を適応的に同定して帰還経路への入力信号(受話信号)から上記帰還経路のエコー成分を推定する適応フィルタと、適応フィルタで推定されたエコー成分を帰還経路からの出力信号(送話信号)より減算する減算器とを備えている。適応フィルタは可変の係数を有するプロセッサと係数を随時決定していくアルゴリズムからなる従来周知のものであって、減算器の出力信号の自乗平均値を最小化するアルゴリズム、例えば、LMS(Least-Mean-Square)アルゴリズムにより可変のフィルタ係数を適応更新することによって帰還経路のエコー成分(帰還経路を介した受話信号の回り込み成分)を推定する。そして、適応フィルタで推定されたエコー成分を減算器において送話信号から減算することにより、送話信号に含まれるエコー成分のみを相殺し、マイクロホンで集音されたエコー以外の成分(マイクロホンに対して通話者から発せられた音声や周囲の騒音)に対しては損失を与えないものである。   The echo canceller adaptively identifies the impulse response of the feedback path (echo path) formed by the acoustic coupling of the speaker and microphone, etc., and estimates the echo component of the feedback path from the input signal (received signal) to the feedback path And an subtractor for subtracting an echo component estimated by the adaptive filter from an output signal (transmission signal) from the feedback path. The adaptive filter is a conventionally well-known one comprising a processor having a variable coefficient and an algorithm for determining the coefficient as needed, and an algorithm for minimizing the mean square value of the output signal of the subtracter, for example, LMS (Least-Mean -Square) The echo component of the feedback path (the wraparound component of the received signal via the feedback path) is estimated by adaptively updating the variable filter coefficient using the algorithm. Then, by subtracting the echo component estimated by the adaptive filter from the transmission signal in the subtractor, only the echo component contained in the transmission signal is canceled, and components other than the echo collected by the microphone (for the microphone) Thus, there is no loss for voices and ambient noises emitted from the caller.

図2はエコーキャンセラを備えた拡声通話装置としてのインターホン親機(以下、「親機」と略す)M’と、相手側通話端末としてのドアホン子機Sとからなり、双方向の同時通話を実現可能とした所謂ハンズフリーインターホンの従来例を示すブロック図である。親機M’は、マイクロホン1、スピーカ2、2線−4線変換回路3、マイクロホンアンプG1、回線(2線の伝送路)への送話信号を増幅する回線出力アンプG2、回線からの受話信号を増幅する回線入力アンプG3、スピーカアンプG4、送話音量調整用増幅器G5、受話音量調整用増幅器G6、並びに第1及び第2のエコーキャンセラ30A’,30B’で構成される。また、ドアホン子器Sはマイクロホン1’、スピーカ2’、2線−4線変換回路3’、マイクロホンアンプG1’並びにスピーカアンプG4’で構成される。   FIG. 2 includes an interphone master unit (hereinafter abbreviated as “master unit”) M ′ as a loudspeaker device equipped with an echo canceller, and a doorphone slave unit S as a counterpart call terminal, and allows two-way simultaneous calls. It is a block diagram which shows the prior art example of what is called a hands-free intercom made realizable. Base unit M ′ includes microphone 1, speaker 2, two-wire / four-wire conversion circuit 3, microphone amplifier G 1, line output amplifier G 2 that amplifies a transmission signal to the line (two-wire transmission line), and reception from the line. A line input amplifier G3 for amplifying a signal, a speaker amplifier G4, a transmission volume adjustment amplifier G5, a reception volume adjustment amplifier G6, and first and second echo cancellers 30A ′ and 30B ′. The doorphone slave unit S includes a microphone 1 ', a speaker 2', a two-wire / four-wire conversion circuit 3 ', a microphone amplifier G1', and a speaker amplifier G4 '.

第1のエコーキャンセラ30A’は適応フィルタ31Aと減算器32Aからなり、上述のようにスピーカ2−マイクロホン1間の音響結合により形成される帰還経路(音響エコー経路)HACのインパルス応答を適応フィルタ31Aにより適応的に同定し、遠端側の入力信号(スピーカアンプG4へ入力する受話信号)Xnから推定したエコー成分(音響エコー)Gnを減算器32AによりマイクロホンアンプG1から出力する近端側の入力信号Yn(図2における点Aの送話信号)から減算することでエコー成分gnを相殺して消去する。また、第2のエコーキャンセラ30B’も適応フィルタ31Bと減算器32Bからなり、2線−4線変換回路3と伝送路との間のインピーダンスの不整合による反射およびドアホン子機Sにおけるスピーカ2’−マイクロホン1’間の音響結合とにより形成される帰還経路(回線エコー経路)HLINのインパルス応答を適応フィルタ31Bにより適応的に同定し、参照信号(回線出力アンプG2への入力信号、すなわち送話信号)から推定したエコー成分(回線エコー)を減算器32Bにより受話信号(図2における点Cの信号)から減算することでエコー成分を相殺して消去する。 The first echo canceller 30A 'consists adaptive filter 31A and a subtractor 32A, adapting the impulse response of the feedback path (acoustic echo path) H AC formed by the acoustic coupling between the speaker 2 microphone 1 as described above filter The near end that is adaptively identified by 31A and that outputs the echo component (acoustic echo) G n estimated from the far-end input signal (received signal input to the speaker amplifier G4) X n from the microphone amplifier G1 by the subtractor 32A By subtracting from the input signal Y n on the side (the transmission signal at point A in FIG. 2), the echo component g n is canceled and eliminated. The second echo canceller 30B ′ also includes an adaptive filter 31B and a subtractor 32B. Reflection due to impedance mismatch between the two-wire / four-wire conversion circuit 3 and the transmission line, and the speaker 2 ′ in the doorphone slave unit S. The impulse response of the feedback path (line echo path) H LIN formed by the acoustic coupling between the microphones 1 ′ is adaptively identified by the adaptive filter 31B, and the reference signal (the input signal to the line output amplifier G2, ie, the transmission signal) The echo component (line echo) estimated from the speech signal) is subtracted from the received signal (signal at point C in FIG. 2) by the subtractor 32B to cancel and cancel the echo component.

さらに第1のエコーキャンセラ30A’を例に適応フィルタ31Aの動作を詳しく説明すると、LMSアルゴリズムにおいては次式によってフィルタ係数(「タップ重み」ともいう)Hn(m)を再帰的に更新していく。 Further, the operation of the adaptive filter 31A will be described in detail by taking the first echo canceller 30A ′ as an example. In the LMS algorithm, the filter coefficient (also referred to as “tap weight”) H n (m) is recursively updated by the following equation. Go.

n+1(m)=Hn(m)+μEn・Xn-m
但し、mはタップ番号、nはサンプル時間を示す。
H n + 1 (m) = H n (m) + μE n · X nm
However, m shows a tap number and n shows a sample time.

ここで、Enは、遠端側(ドアホン子器S)からのみ発声が行われて近端側(親機M’)では発声が行われていない、いわゆるシングルトークの状態である場合にEn=gn−Gnとなり、サンプル時間nにおけるエコー成分gnの推定誤差(瞬時誤差)を表し、μは毎回の繰り返しにおける補正量の大きさ(すなわち、収束の速さ)を制御するための定数であるステップゲイン(あるいは「ステップサイズパラメータ」ともいう)を表す。なお、エコー成分gnの推定値Gnは上記フィルタ係数Hn(m)と受話信号Xnとから次式によって求められる。 Here, E n is E in the case of a so-called single talk state in which speech is made only from the far end side (doorphone slave unit S) and no speech is made on the near end side (base unit M ′). n = g n −G n , which represents an estimation error (instantaneous error) of the echo component g n at the sample time n, and μ is for controlling the magnitude of the correction amount (that is, the speed of convergence) in each iteration. Represents a step gain (also referred to as a “step size parameter”). Incidentally, the estimated value G n of the echo component g n is determined by the following equation from the filter coefficient H n (m) and the received signal X n.

Figure 0004600423
Figure 0004600423

そして、フィルタ係数Hn(m)を再帰的に更新することで上記推定誤差Enの平均自乗誤差を最小とする最適解に到達する(収束する)と、その最適解のフィルタ係数Hn(m)から求められるエコー成分の推定値Gnを送話信号Ynから減算することでエコー成分を相殺した出力信号Enが得られることになる。 Then, the filter coefficient H n (m) recursively update it in reaching the optimal solution that minimizes the mean square error of the estimated error E n (the converged), the optimum filter coefficients of the solution H n ( the output signal E n which offset the echo component by subtracting the estimated value G n of the echo component obtained from m) from the transmitting signal Y n will be obtained.

而して、第1及び第2のエコーキャンセラ30A’,30B’により帰還経路HACおよびHLINのエコー成分を相殺して閉ループを断ち切るため、不快なエコーを抑制することができる。また、上記従来例によれば、マイクロホンアンプG1の出力信号に含まれるエコー以外の成分、すなわち、親機M’に対して通話者が発声した音声信号および親機M’の周囲の騒音については全く損失を与えずにドアホン子機S側へ伝送することができ、同様に受話信号に含まれるエコー以外の成分、すなわち、ドアホン子機Sに対して通話者が発声した音声信号およびドアホン子機Sの周囲の騒音については全く損失を与えずに親機M’側へ伝送することができる。 Thus, since the first and second echo cancellers 30A ′ and 30B ′ cancel the closed loop by canceling the echo components of the feedback paths H AC and H LIN , unpleasant echoes can be suppressed. Further, according to the above conventional example, components other than the echo included in the output signal of the microphone amplifier G1, that is, the voice signal uttered by the caller to the master unit M ′ and the noise around the master unit M ′. It can be transmitted to the doorphone slave unit S without any loss. Similarly, components other than the echo included in the received signal, that is, the voice signal and the doorphone slave unit spoken to the doorphone slave unit S by the caller The noise around S can be transmitted to the base M ′ without any loss.

ところで、親機M’とドアホン子器Sで同時に発声が行われる、いわゆるダブルトークの状態においてエコーキャンセラ30A’,30B’の適応フィルタ31A,31Bがフィルタ係数Hn(m)の更新を継続すると、フィルタ係数Hn(m)が収束せずに発散してしまう虞がある。例えば図2の第1のエコーキャンセラ30A’において、マイクロホン1から入力するダブルトーク成分Nnが存在する場合、送話信号YnはYn=Nn+gnとなり、推定誤差EnはEn=Nn+(gn−Gn)と表される。このとき、フィルタ係数Hn(m)を再帰的に更新することで推定誤差Enの平均自乗誤差を最小とする最適解を求めようとすると、参照信号(受話信号Xn)と相関のないダブルトーク成分Nnの項が推定誤差Enに含まれているためにフィルタ係数Hn(m)が収束せず、逆に発散する虞がある。すなわち、ダブルトーク成分Nnは適応フィルタ31Aの動作においては外乱成分となる。 By the way, if the adaptive filters 31A and 31B of the echo cancellers 30A ′ and 30B ′ continue to update the filter coefficient H n (m) in a so-called double talk state in which the utterance is simultaneously performed by the master unit M ′ and the door phone slave unit S. The filter coefficient H n (m) may diverge without converging. In example, the first echo canceller 30A in FIG. 2 ', if the double talk component N n to be input from the microphone 1 is present, transmission signal Y n is Y n = N n + g n, and the estimated error E n is E n = N n + (g n −G n ) At this time, when the mean square error of the estimation error E n by updating the filter coefficients H n (m) recursively attempts to find the optimal solution that minimizes, not correlated with the reference signal (received signal X n) filter coefficient H n (m) is not converged to claim double talk component n n is included in the estimated error E n, there is a possibility that diverges reversed. That is, the double talk component N n becomes a disturbance component in the operation of the adaptive filter 31A.

そこで本発明者らは、図3に示すように参照信号(受話信号Xn)の瞬時パワーを推定する遠端信号パワー推定部33Aと、ダブルトークを検出するダブルトーク検出部34Aとを設け、適応フィルタ31Aが遠端信号パワー推定部33Aの推定値が参照信号Xnに音声成分が含まれると見なせる所定の閾値を超え、且つダブルトーク検出処理部34Aによりダブルトークが検出されない状態でのみフィルタ係数Hn(m)を更新するとともに、その他の状態ではフィルタ係数Hn(m)を更新せずにそれ以前の値に固定するようにして、上述のようなフィルタ係数Hn(m)の発散を防止したエコーキャンセラ30A”を既に提案している。
特開2000−270089号公報
Therefore, the present inventors provide a far-end signal power estimation unit 33A for estimating the instantaneous power of the reference signal (received signal X n ) and a double-talk detection unit 34A for detecting double talk, as shown in FIG. The filter coefficient is applied only when the adaptive filter 31A exceeds a predetermined threshold value at which the estimated value of the far-end signal power estimator 33A can be regarded as including a speech component in the reference signal Xn, and no double talk is detected by the double talk detection processing unit 34A. and updates H n the (m), the other conditions be fixed to the previous value without updating the filter coefficients H n (m), the divergence of the filter coefficients H n (m) as described above An echo canceller 30A ″ that prevents the above has already been proposed.
JP 2000-270089 A

ところで、一般に広く用いられているダブルトークの検出方法は、帰還経路への入力信号(参照信号)Xnと帰還経路からの出力信号Ynの瞬時パワーの比(PYn/PXn)を求め、この値が所定のしきい値を越えた場合をダブルトークと判別するものである。この方法はエコー経路の利得変動が少ない系において使用する場合には有効である。しかしながら、マイクロホン1やスピーカ2の前に手をかざしたり顔を近づけたりすることでエコー経路の利得が頻繁に変動する系に使用する場合には、ダブルトークの状態とエコー経路の利得が変動した状態とを判別することができず、また、エコー成分gnに対してダブルトーク成分Nnのパワーが小さい場合にはダブルトークの検出が困難となる。 By the way, the detection method of double talk generally used widely is to obtain the ratio (P Yn / P Xn ) of the instantaneous power of the input signal (reference signal) X n to the feedback path and the output signal Y n from the feedback path. When this value exceeds a predetermined threshold value, it is determined as double talk. This method is effective when used in a system in which the gain variation of the echo path is small. However, when used in a system in which the gain of the echo path frequently fluctuates by holding the hand in front of the microphone 1 or the speaker 2 or bringing the face close thereto, the double talk state and the state of the echo path gain fluctuating. Cannot be discriminated, and when the power of the double talk component N n is smaller than the echo component g n , it is difficult to detect double talk.

これに対して、帰還経路への入力信号Xnと帰還経路からの出力信号Ynの瞬時パワーを単純に比較するのではなく、例えば、入力信号Xnと推定誤差(減算器32Aの出力)Enとの相互相関を利用することでエコーに埋もれた微少なダブルトーク成分も精度良く検出することができる方法がある。すなわち、シングルトーク状態では推定誤差Enが純粋な残留エコー成分を表し、入力信号Xnと推定誤差Enとの相互相関は大きいが、ダブルトーク状態においては推定誤差Enとダブルトーク成分Nnとがほぼ等しくなって相互相関が小さくなるという性質を利用している。 In contrast, instead of simply comparing the instantaneous power of the output signal Y n from the input signal X n and the feedback path to the feedback path, for example, the input signal X n and the estimated error (output of the subtracter 32A) minute double talk component buried in echo by utilizing cross-correlation between E n is also a method that can be accurately detected. That represents a pure residual echo component estimated error E n is a single talk state, the input signal X n and the estimated Although the cross-correlation of the error E n is large, estimation is in the double-talk state error E n and double talk component N It uses the property that n is almost equal and the cross-correlation is small.

しかしながら、上述のように相互相関を利用してダブルトークを検出する場合、相互相関を求めるために要する周期に比例してダブルトーク検出における遅延が大きくなり、逆に相互相関を求める周期が短すぎるとダブルトークの検出精度が低下して適応フィルタにおけるフィルタ係数の発散を防止することが困難になってしまう。   However, when detecting double talk using cross-correlation as described above, the delay in double-talk detection increases in proportion to the period required to obtain cross-correlation, and conversely, the period for obtaining cross-correlation is too short. Thus, the detection accuracy of double talk is lowered, and it becomes difficult to prevent the divergence of filter coefficients in the adaptive filter.

本発明は上記事情に鑑みて為されたものであり、その目的は、ダブルトーク状態において適応フィルタのフィルタ係数の発散を抑制することができるエコーキャンセラを提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an echo canceller capable of suppressing the divergence of filter coefficients of an adaptive filter in a double talk state.

請求項1の発明は、上記目的を達成するために、マイクロホンとスピーカを用いて拡声通話を行う拡声通話系に用いられ、スピーカからマイクロホンへの回り込みなどによって生じるエコーを抑圧するエコーキャンセラであって、スピーカとマイクロホンの音響結合などにより形成される帰還経路のインパルス応答を適応的に同定して帰還経路への入力信号から帰還経路のエコー成分を推定する適応フィルタと、適応フィルタで推定されたエコー成分を帰還経路からの出力信号より減算する減算器と、遠端側の信号の瞬時パワーを推定する遠端信号パワー推定部と、帰還経路からの出力信号と帰還経路への入力信号と減算器の出力信号のうちの複数の信号の相互相関を利用してダブルトークを検出するダブルトーク検出部とを有し、適応フィルタは、遠端信号パワー推定部の推定値が遠端側の信号に音声成分が含まれると見なせる所定の閾値を超え、且つダブルトーク検出部によりダブルトークが検出されない状態でのみフィルタ係数を更新するとともに、その他の状態ではフィルタ係数を固定してなるエコーキャンセラにおいて、ダブルトーク検出部にてダブルトークが検出されていない状態における近端側の信号のパワーに対する減算器の出力信号のパワーの比が、ダブルトーク検出部のダブルトーク検出に要する時間よりも充分に長い時間以上連続してしきい値を上回った場合を発散状態として検出するとともに発散状態にあることを検出した場合に適応フィルタ、減算器、遠端信号パワー推定部並びにダブルトーク検出部の処理及び変数を初期化する発散検出処理部を備え、前記しきい値は、適応フィルタのフィルタ係数が収束していない状態における最低エコー抑圧量の設計値から算出されることを特徴とする。 In order to achieve the above object, an invention according to claim 1 is an echo canceller that is used in a loudspeaker communication system that performs a loudspeaker call using a microphone and a speaker, and that suppresses echoes caused by wraparound from the speaker to the microphone. An adaptive filter that adaptively identifies the impulse response of the feedback path formed by the acoustic coupling of the speaker and microphone, etc., and estimates the echo component of the feedback path from the input signal to the feedback path, and the echo estimated by the adaptive filter A subtractor that subtracts the component from the output signal from the feedback path, a far-end signal power estimation unit that estimates the instantaneous power of the far-end signal, an output signal from the feedback path, an input signal to the feedback path, and a subtractor A double talk detector for detecting double talk using the cross-correlation of a plurality of signals of the output signal of The filter coefficient is updated only when the estimated value of the far-end signal power estimator exceeds a predetermined threshold that the far-end signal can be regarded as containing a speech component and no double-talk is detected by the double-talk detector. In addition, in an echo canceller in which the filter coefficient is fixed in other states, the ratio of the power of the output signal of the subtractor to the power of the signal on the near end side when the double talk detector does not detect double talk. Is an adaptive filter that detects when the threshold value is continuously exceeded for a time sufficiently longer than the time required for double-talk detection by the double-talk detection unit as a divergent state and detects that the divergent state is present, subtractor comprises a diverging detection processing unit for initializing the far-end signal power estimation section and the double talk detector processes and variables Said threshold is characterized in that the filter coefficients of the adaptive filter is calculated from the design value of the minimum echo suppression amount in a state that does not converge.

本発明によれば、仮に適応フィルタにおけるフィルタ係数が発散したとしても発散状態を検出した発散検出処理部が直ちに適応フィルタ、減算器、遠端信号パワー推定部並びにダブルトーク検出部の処理及び変数を初期化するため、発散を早期に解消して抑制することができる。   According to the present invention, even if the filter coefficient in the adaptive filter diverges, the divergence detection processing unit that detects the divergence state immediately changes the processing and variables of the adaptive filter, the subtractor, the far-end signal power estimation unit, and the double talk detection unit. Since initialization is performed, divergence can be eliminated and suppressed at an early stage.

以下、本発明を従来例で説明した親機M’の音響エコー経路のエコーを抑圧する第1のエコーキャンセラに適用した実施形態について説明する。但し、本発明を回線エコー経路のエコーを抑圧する第2のエコーキャンセラに適用可能であることは言うまでもない。   Hereinafter, an embodiment in which the present invention is applied to a first echo canceller that suppresses echoes in the acoustic echo path of the base unit M ′ described in the conventional example will be described. However, it goes without saying that the present invention can be applied to the second echo canceller that suppresses the echo of the line echo path.

図1は本実施形態のエコーキャンセラ30を用いた拡声通話装置の一部省略したブロック図である。なお、本実施形態の基本構成は図3に示した従来例と共通であるから、共通の構成要素には同一の符合(但し、「A」の文字は省略する)を付して説明を省略する。   FIG. 1 is a block diagram in which a part of a loudspeaker apparatus using the echo canceller 30 of this embodiment is omitted. Since the basic configuration of the present embodiment is the same as that of the conventional example shown in FIG. 3, the same components are denoted by the same reference numerals (the letter “A” is omitted) and the description thereof is omitted. To do.

本実施形態は、適応フィルタ31におけるフィルタ係数Hn(m)が発散状態にあるか否かを検出するとともに発散状態にあることを検出した場合に適応フィルタ31、減算器32、遠端信号パワー推定部33並びにダブルトーク検出部34の処理及び変数を初期化する発散検出処理部37を備えた点に特徴がある。 This embodiment detects whether or not the filter coefficient H n (m) in the adaptive filter 31 is in a divergent state, and when detecting that it is in a divergent state, the adaptive filter 31, the subtractor 32, the far-end signal power It is characterized in that it includes a divergence detection processing unit 37 that initializes processing and variables of the estimation unit 33 and the double talk detection unit 34.

発散検出処理部37は、近端側の信号(送話信号)Ynと適応フィルタ31によるエコー成分の推定値Gnとの相互相関Rを下記の式2により演算し、この相互相関Rに基づいて発散状態を検出している。 The divergence detection processing unit 37 calculates a cross-correlation R between the near-end side signal (transmission signal) Y n and the estimated value G n of the echo component by the adaptive filter 31 according to the following equation (2). Based on this, the divergent state is detected.

Figure 0004600423
Figure 0004600423

但し、J=相関を求める際の周期(数10ms程度)/サンプリング周期とする。この相互相関Rの値は、適応フィルタ31のフィルタ係数Hn(m)が収束に向かうにつれて1に近づき、逆にフィルタ係数Hn(m)が発散していくにつれて1よりも小さくなっていく。したがって、発散検出処理部37では、ダブルトーク検出部34でダブルトークが検出されていない状況において、通常の使用環境におけるエコーキャンセラ30の収束(適応フィルタ31のフィルタ係数Hn(m)の収束)に要する時間よりも若干長い時間以上連続してしきい値R0(≪1)を下回った場合を発散状態として検出する。 However, J = cycle (about several tens of ms) for obtaining correlation / sampling cycle. The value of the cross-correlation R approaches 1 as the filter coefficient H n (m) of the adaptive filter 31 converges, and conversely becomes smaller than 1 as the filter coefficient H n (m) diverges. . Therefore, the divergence detection processing unit 37 converges the echo canceller 30 in the normal use environment (convergence of the filter coefficient H n (m) of the adaptive filter 31) in a situation where the double talk is not detected by the double talk detection unit 34. When the value is continuously below the threshold value R0 (<< 1) for a time slightly longer than the time required for the above, it is detected as a divergent state.

而して、適応フィルタ31のフィルタ係数Hn(m)が一端発散してしまった場合、そのままフィルタ係数Hn(m)の更新処理を継続しても再度収束させることは困難であるから、このような場合には発散を早期に検出してエコーキャンセラ30の動作を初期化してしまう方が有効である。また、通話系においてはエコーキャンセラ30の発散の早期解消はハウリングやブロッキングを未然に又は早期に抑圧することにつながる。 Thus, if the filter coefficient H n (m) of the adaptive filter 31 has once diverged, it is difficult to converge again even if the update process of the filter coefficient H n (m) is continued as it is. In such a case, it is more effective to initialize the operation of the echo canceller 30 by detecting divergence at an early stage. Further, in a call system, early cancellation of the divergence of the echo canceller 30 leads to suppressing howling and blocking in advance or early.

本実施形態は上述のように構成したものであるから、仮に適応フィルタ31におけるフィルタ係数Hn(m)が発散したとしても発散状態を検出した発散検出処理部37が直ちに適応フィルタ31、減算器32、遠端信号パワー推定部33並びにダブルトーク検出部34の処理及び変数を初期化するため、発散を早期に解消することができるものである。 Since the present embodiment is configured as described above, even if the filter coefficient H n (m) in the adaptive filter 31 diverges, the divergence detection processing unit 37 that detects the divergence state immediately applies the adaptive filter 31 and the subtractor. 32, since the processing and variables of the far-end signal power estimation unit 33 and the double talk detection unit 34 are initialized, the divergence can be eliminated at an early stage.

なお、発散検出処理部37における発散状態の検出方法は上記の方法以外にも次のような方法でも構わない。   The detection method of the divergence state in the divergence detection processing unit 37 may be the following method in addition to the above method.

すなわち、遠端側の信号(受話信号)Xnのパワーに対する適応フィルタ31によるエコー成分の推定値Gnの比Sを下記の式3により演算し、その比Sに基づいて発散状態を検出する方法がある。 That is, the ratio S of the estimated value G n of the echo component by the adaptive filter 31 with respect to the power of the far-end side signal (received signal) X n is calculated by the following expression 3, and the divergence state is detected based on the ratio S. There is a way.

Figure 0004600423
Figure 0004600423

但し、K=パワーを求める際の周期(≫エコー遅延時間)/サンプリング周期とする。この比Sの値は、適応フィルタ31のフィルタ係数Hn(m)が収束に向かうにつれてエコー経路(音響エコー経路HAC)の帰還利得を自乗した値に近付き、逆にフィルタ係数Hn(m)が発散していくにつれて時間とともに増加する。したがって、発散検出処理部37では、通常の使用環境におけるエコー遅延時間よりも充分に長い時間以上連続してしきい値S0を上回った場合を発散状態として検出する。なお、しきい値S0は通常の使用環境における上記帰還利得よりも充分に大きい値に設定される。 However, K = cycle for obtaining power (>> echo delay time) / sampling cycle. The value of the ratio S approaches a value obtained by squaring the feedback gain of the echo path (acoustic echo path H AC ) as the filter coefficient H n (m) of the adaptive filter 31 approaches convergence, and conversely, the filter coefficient H n (m ) Increases with time as it diverges. Therefore, the divergence detection processing unit 37 detects a case where the threshold value S0 is continuously exceeded for a time sufficiently longer than the echo delay time in a normal use environment as a divergence state. The threshold value S0 is set to a value sufficiently larger than the feedback gain in the normal use environment.

あるいは他の方法として、ダブルトーク検出部34にてダブルトークが検出されていない状態における近端側の信号(送話信号)Ynのパワーに対する減算器32の出力信号Enのパワーの比Tを下記式4により演算し、その比Tに基づいて発散状態を検出する方法がある。 Or as another method, the power of the output signal E n of the subtracter 32 to the power of the near end of the signal (transmission signal) Y n in a state in which double-talk is not detected by the double-talk detector 34 ratio T Is calculated by the following equation 4 and a divergence state is detected based on the ratio T.

Figure 0004600423
Figure 0004600423

但し、L=パワーを求める際の周期(数10ms程度)/サンプリング周期とする。この比Tの値は、適応フィルタ31のフィルタ係数Hn(m)が収束に向かうにつれて0に近づき、逆にフィルタ係数Hn(m)が発散していくにつれて時間とともに増加する。したがって、発散検出処理部37では、ダブルトーク検出部34でダブルトークが検出されていない状況において、通常の使用環境におけるダブルトーク検出部34でのダブルトーク検出に要する時間よりも充分に長い時間以上連続してしきい値T0を上回った場合を発散状態として検出する。なお、しきい値T0は、エコーキャンセラ30が非収束状態(学習開始直後など)における最低エコー抑圧量の設計値から算出される値である。 However, L = cycle for obtaining power (about several tens of ms) / sampling cycle. The value of this ratio T approaches 0 as the filter coefficient H n (m) of the adaptive filter 31 approaches convergence, and conversely increases with time as the filter coefficient H n (m) diverges. Therefore, in the divergence detection processing unit 37, in a situation where the double talk is not detected by the double talk detection unit 34, a time sufficiently longer than the time required for the double talk detection by the double talk detection unit 34 in a normal use environment. A case where the threshold value T0 is continuously exceeded is detected as a divergent state. The threshold value T0 is a value calculated from the design value of the minimum echo suppression amount when the echo canceller 30 is in a non-convergence state (such as immediately after the start of learning).

本発明の実施形態を示すブロック図である。It is a block diagram which shows embodiment of this invention. 従来のエコーキャンセラを用いた拡声通話装置を示すブロック図である。It is a block diagram which shows the loudspeaker apparatus using the conventional echo canceller. 他の従来例を示すブロック図である。It is a block diagram which shows another prior art example.

符号の説明Explanation of symbols

1 マイクロホン
2 スピーカ
30 エコーキャンセラ
31 適応フィルタ
32 減算器
33 遠端信号パワー推定部
34 ダブルトーク検出部
37 発散検出処理部
DESCRIPTION OF SYMBOLS 1 Microphone 2 Speaker 30 Echo canceller 31 Adaptive filter 32 Subtractor 33 Far end signal power estimation part 34 Double talk detection part 37 Divergence detection process part

Claims (1)

マイクロホンとスピーカを用いて拡声通話を行う拡声通話系に用いられ、スピーカからマイクロホンへの回り込みなどによって生じるエコーを抑圧するエコーキャンセラであって、スピーカとマイクロホンの音響結合などにより形成される帰還経路のインパルス応答を適応的に同定して帰還経路への入力信号から帰還経路のエコー成分を推定する適応フィルタと、適応フィルタで推定されたエコー成分を帰還経路からの出力信号より減算する減算器と、遠端側の信号の瞬時パワーを推定する遠端信号パワー推定部と、帰還経路からの出力信号と帰還経路への入力信号と減算器の出力信号のうちの複数の信号の相互相関を利用してダブルトークを検出するダブルトーク検出部とを有し、適応フィルタは、遠端信号パワー推定部の推定値が遠端側の信号に音声成分が含まれると見なせる所定の閾値を超え、且つダブルトーク検出部によりダブルトークが検出されない状態でのみフィルタ係数を更新するとともに、その他の状態ではフィルタ係数を固定してなるエコーキャンセラにおいて、ダブルトーク検出部にてダブルトークが検出されていない状態における近端側の信号のパワーに対する減算器の出力信号のパワーの比が、ダブルトーク検出部のダブルトーク検出に要する時間よりも充分に長い時間以上連続してしきい値を上回った場合を発散状態として検出するとともに発散状態にあることを検出した場合に適応フィルタ、減算器、遠端信号パワー推定部並びにダブルトーク検出部の処理及び変数を初期化する発散検出処理部を備え、前記しきい値は、適応フィルタのフィルタ係数が収束していない状態における最低エコー抑圧量の設計値から算出されることを特徴とするエコーキャンセラ。 An echo canceller that is used in a loudspeaker call system that performs a loudspeaker call using a microphone and a speaker, and suppresses an echo caused by a sneak from the speaker to the microphone. An adaptive filter that adaptively identifies the impulse response and estimates the echo component of the feedback path from the input signal to the feedback path; a subtractor that subtracts the echo component estimated by the adaptive filter from the output signal from the feedback path; The far-end signal power estimation unit that estimates the instantaneous power of the far-end signal, and the cross-correlation of the output signal from the feedback path, the input signal to the feedback path, and the output signal of the subtractor are used. A double-talk detector that detects double-talk, and the adaptive filter has a far-end signal power estimator estimated by the far-end In an echo canceller that updates a filter coefficient only in a state where a signal exceeds a predetermined threshold that can be regarded as including an audio component and no double talk is detected by the double talk detection unit, and the filter coefficient is fixed in other states. The ratio of the power of the output signal of the subtractor to the power of the near-end signal when double talk is not detected by the double talk detector is sufficiently longer than the time required for double talk detection by the double talk detector. When the threshold value is continuously exceeded for a long time or longer, it is detected as a divergence state, and when it is detected that it is in a divergence state, processing of an adaptive filter, a subtractor, a far-end signal power estimation unit, and a double talk detection unit comprising a diverging detection processing unit for initializing the variables, the threshold value, the filter coefficient of the adaptive filter Echo canceller characterized in that it is calculated from the design value of the minimum echo suppression amount in a state that does not converge.
JP2007122461A 2007-05-07 2007-05-07 Echo canceller Expired - Fee Related JP4600423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007122461A JP4600423B2 (en) 2007-05-07 2007-05-07 Echo canceller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007122461A JP4600423B2 (en) 2007-05-07 2007-05-07 Echo canceller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002127558A Division JP3979169B2 (en) 2002-04-26 2002-04-26 Echo canceller

Publications (2)

Publication Number Publication Date
JP2007274714A JP2007274714A (en) 2007-10-18
JP4600423B2 true JP4600423B2 (en) 2010-12-15

Family

ID=38676945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007122461A Expired - Fee Related JP4600423B2 (en) 2007-05-07 2007-05-07 Echo canceller

Country Status (1)

Country Link
JP (1) JP4600423B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8315379B2 (en) * 2004-11-10 2012-11-20 Matech, Inc. Single transducer full duplex talking circuit
CN101729459B (en) * 2008-10-31 2016-01-13 华为技术有限公司 A kind of method, system and device of rapidly withdrawing from training
JP4377952B1 (en) 2008-11-14 2009-12-02 有限会社ケプストラム Adaptive filter and echo canceller having the same
JP6087762B2 (en) * 2013-08-13 2017-03-01 日本電信電話株式会社 Reverberation suppression apparatus and method, program, and recording medium
KR20170032603A (en) 2015-09-15 2017-03-23 삼성전자주식회사 Electric device, acoustic echo cancelling method of thereof and non-transitory computer readable recording medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63238727A (en) * 1987-03-26 1988-10-04 Oki Electric Ind Co Ltd Method for controlling double talk detection of echo canceler
JPH0290818A (en) * 1988-09-28 1990-03-30 Hitachi Ltd System for resetting echo cancellor
JPH03173229A (en) * 1989-12-01 1991-07-26 Nec Corp Bidirectional calling state detecting system
JPH03178227A (en) * 1989-12-06 1991-08-02 Fujitsu Ltd Echo canceller
JPH03254530A (en) * 1990-03-05 1991-11-13 Fujitsu Ltd Echo canceller
JPH05206898A (en) * 1992-01-29 1993-08-13 Nec Corp Echo canceller
JPH10502785A (en) * 1995-01-26 1998-03-10 ノーザン・テレコム・リミテッド Adaptive control of echo canceller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2650208B2 (en) * 1987-06-30 1997-09-03 沖電気工業株式会社 Echo canceller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63238727A (en) * 1987-03-26 1988-10-04 Oki Electric Ind Co Ltd Method for controlling double talk detection of echo canceler
JPH0290818A (en) * 1988-09-28 1990-03-30 Hitachi Ltd System for resetting echo cancellor
JPH03173229A (en) * 1989-12-01 1991-07-26 Nec Corp Bidirectional calling state detecting system
JPH03178227A (en) * 1989-12-06 1991-08-02 Fujitsu Ltd Echo canceller
JPH03254530A (en) * 1990-03-05 1991-11-13 Fujitsu Ltd Echo canceller
JPH05206898A (en) * 1992-01-29 1993-08-13 Nec Corp Echo canceller
JPH10502785A (en) * 1995-01-26 1998-03-10 ノーザン・テレコム・リミテッド Adaptive control of echo canceller

Also Published As

Publication number Publication date
JP2007274714A (en) 2007-10-18

Similar Documents

Publication Publication Date Title
US7856097B2 (en) Echo canceling apparatus, telephone set using the same, and echo canceling method
JP4569618B2 (en) Echo canceller and speech processing apparatus
EP0914721B1 (en) Echo canceler for non-linear circuits
US8160239B2 (en) Echo canceller and speech processing apparatus
JP3979169B2 (en) Echo canceller
JP2009065699A (en) Gain control method for executing acoustic echo cancellation and suppression
JP4483761B2 (en) Loudspeaker
JP4600423B2 (en) Echo canceller
KR100547765B1 (en) Method and apparatus for removing acoustic echo according to simultaneous call section detection
JP5712350B2 (en) Loudspeaker
JP4650163B2 (en) Loudspeaker
KR20050021472A (en) Echo canceller with model mismatch compensation
JP4475155B2 (en) Echo canceller
JP4396449B2 (en) Reverberation removal method and apparatus
JP2006033802A (en) Echo-canceling apparatus, telephone set using the same, and echo-canceling method
JP2005286796A (en) Loudspeaker call device
JPH09116469A (en) Echo noise cancellor and echo noise canceling method
JP4900185B2 (en) Loudspeaker
JP2013538478A (en) Echo canceller
JP4900184B2 (en) Loudspeaker
JP5297396B2 (en) Loudspeaker
KR101009867B1 (en) Apparatus and method for canceling acoustic echo in communication terminal
JP2001189795A (en) Communication equipment
JP3403891B2 (en) Echo canceller
JP2005159941A (en) Apparatus and method of echo cancel control

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100601

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100802

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: 20100831

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100913

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

Free format text: PAYMENT UNTIL: 20131008

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4600423

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20131008

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees