[go: up one dir, main page]

JP4705893B2 - Echo canceller - Google Patents

Echo canceller Download PDF

Info

Publication number
JP4705893B2
JP4705893B2 JP2006218125A JP2006218125A JP4705893B2 JP 4705893 B2 JP4705893 B2 JP 4705893B2 JP 2006218125 A JP2006218125 A JP 2006218125A JP 2006218125 A JP2006218125 A JP 2006218125A JP 4705893 B2 JP4705893 B2 JP 4705893B2
Authority
JP
Japan
Prior art keywords
signal
echo
linear prediction
coefficient
whitened
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.)
Active
Application number
JP2006218125A
Other languages
Japanese (ja)
Other versions
JP2008042816A (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.)
Lapis Semiconductor Co Ltd
Original Assignee
Oki Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Semiconductor Co Ltd filed Critical Oki Semiconductor Co Ltd
Priority to JP2006218125A priority Critical patent/JP4705893B2/en
Publication of JP2008042816A publication Critical patent/JP2008042816A/en
Application granted granted Critical
Publication of JP4705893B2 publication Critical patent/JP4705893B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Interface Circuits In Exchanges (AREA)

Description

本発明は、スピーカからマイクロホンへの受話音声の回り込みや、2線・4線変換のハイブリッド・トランスにおける受信信号の送信側への回り込みによって生ずるエコーを消去するためのエコーキャンセラに関するものである。   The present invention relates to an echo canceller for canceling echo generated by wraparound of a received voice from a speaker to a microphone or wraparound of a received signal to a transmission side in a hybrid transformer of two-wire / four-wire conversion.

図2は、従来のエコーキャンセラの構成図である。
エコーキャンセラは、遠端から入力された受信信号x(t)が、DAC(ディジタル・アナログ変換器)1でアナログ信号に変換され、近端のスピーカ2から出力されてマイクロホン3に音響信号として回り込み、ADC(アナログ・ディジタル変換器)4でディジタル信号に変換されてエコーとして遠端に送信されることを防止するものである。
FIG. 2 is a configuration diagram of a conventional echo canceller.
In the echo canceller, the received signal x (t) input from the far end is converted into an analog signal by a DAC (digital-to-analog converter) 1 and output from the near-end speaker 2 to wrap around the microphone 3 as an acoustic signal. The analog signal is converted into a digital signal by an ADC (analog / digital converter) 4 and transmitted to the far end as an echo.

このエコーキャンセラ5は、離散時刻tにおける受信信号x(t)をタップ係数H(t)で演算して擬似エコーr(t)を生成する適応フィルタ5aと、ADC4から出力される送信信号y(t)から擬似エコーr(t)を差し引いて残差信号e(t)を出力する加算器5bで構成されている。残差信号e(t)は、送信回線に出力されると共に、適応フィルタ5aにタップ係数更新用の信号として与えられるようになっている。   The echo canceller 5 calculates a reception signal x (t) at a discrete time t with a tap coefficient H (t) and generates a pseudo echo r (t), and a transmission signal y ( The adder 5b outputs a residual signal e (t) by subtracting the pseudo echo r (t) from t). The residual signal e (t) is output to the transmission line and is given to the adaptive filter 5a as a tap coefficient update signal.

マイクロホン3には、音声信号s(t)の他、背景雑音n(t)やスピーカ2からの音響エコーd(t)が入力され、これらがADC4でディジタル信号に変換されて送信信号y(t)として出力される。ここで、音響エコーd(t)のエコー経路のインパルス応答をm次のFIR(有限インパルス応答)フィルタで近似できると仮定すると、離散時刻tにおける適応フィルタ5aのタップ係数H(t)と、この適応フィルタ5aに入力される受信信号x(t)は、それぞれ次のように表される。
H(t)=[h1(t),h2(t),…,hm(t)]
X(t)=[x(t),x(t−1),…,x(t−m+1)]
但し、Tはベクトルの転置を表す。
In addition to the audio signal s (t), the background noise n (t) and the acoustic echo d (t) from the speaker 2 are input to the microphone 3, and these are converted into digital signals by the ADC 4 to be transmitted signals y (t ) Is output. Assuming that the impulse response of the echo path of the acoustic echo d (t) can be approximated by an mth-order FIR (finite impulse response) filter, the tap coefficient H (t) of the adaptive filter 5a at the discrete time t and this The received signal x (t) input to the adaptive filter 5a is expressed as follows.
H (t) = [h1 (t), h2 (t),..., Hm (t)] T
X (t) = [x (t), x (t−1),..., X (t−m + 1)] T
However, T represents transposition of a vector.

これにより、擬似エコーr(t)と残差信号e(t)は、次のように表される。
r(t)=H(t)X(t)
e(t)=y(t)−r(t)
Thus, the pseudo echo r (t) and the residual signal e (t) are expressed as follows.
r (t) = H (t) T X (t)
e (t) = y (t) -r (t)

即ち、残差信号e(t)は、送信信号y(t)から擬似エコーr(t)を差し引いてエコーをキャンセルした信号である。   That is, the residual signal e (t) is a signal obtained by subtracting the pseudo echo r (t) from the transmission signal y (t) and canceling the echo.

タップ係数H(t)の更新は、一般に次のように表される。
H(t+1)=H(t)+μΔH(t)
The update of the tap coefficient H (t) is generally expressed as follows.
H (t + 1) = H (t) + μΔH (t)

ここで、μはタップ係数の収束速度を調整するステップサイズで、更新ベクトルΔH(t)は適応アルゴリズムの種類によって異なる。   Here, μ is a step size for adjusting the convergence speed of the tap coefficient, and the update vector ΔH (t) varies depending on the type of the adaptive algorithm.

適応アルゴリズムとしては、LMSアルゴリズム(最小自乗平均法)や、RLSアルゴリズム(再帰最小自乗法)等が広く知られているが、比較的計算量が少なくて良好な収束特性を示すNLMSアルゴリズム(学習同定法)がよく用いられる。NLMSアルゴリズムによるタップ係数H(t)の更新は、次のように表される。
H(t+1)=H(t)+μ[e(t)X(t)]/‖X(t)‖
この場合のμは、0<μ<2である。
As an adaptive algorithm, an LMS algorithm (least mean square method), an RLS algorithm (recursive least square method), and the like are widely known, but an NLMS algorithm (learning identification) that has a relatively small amount of calculation and exhibits good convergence characteristics Method) is often used. Update of the tap coefficient H (t) by the NLMS algorithm is expressed as follows.
H (t + 1) = H (t) + μ [e (t) X (t)] / ‖X (t) ‖ 2
In this case, μ is 0 <μ <2.

なお、タップ係数H(t)の更新は、受信信号x(t)は存在するが音声信号s(t)の存在しないシングルトーク状態のときにのみ行われ、受信信号x(t)と音声信号s(t)が共に存在するダブルトーク状態のときと、受信信号x(t)が存在しないときには更新は行われない。また、一般に、背景雑音n(t)が大きいほどエコーキャンセル量は低下する。   The tap coefficient H (t) is updated only in a single talk state where the received signal x (t) is present but the voice signal s (t) is not present, and the received signal x (t) and the voice signal are updated. Updating is not performed when the double talk state where both s (t) exist and when the reception signal x (t) does not exist. In general, the amount of echo cancellation decreases as the background noise n (t) increases.

特開2002−94419号公報JP 2002-94419 A 特開平10−301600号公報JP-A-10-301600

しかしながら、前記エコーキャンセラでは、適応フィルタ5aに入力される受信信号x(t)が、音声のような有色信号(スペクトル分布が一様でない信号)の場合、収束速度が著しく低下するという問題点があった。その解決策として、前記特許文献1では、逆フィルタによって入力信号を白色信号(スペクトル分布が一様な信号)に変換して収束速度を高速化する方法が提案されている。しかし、提案された方法の構成では、エコー遅延時間が大きい場合や入力信号が元々白色信号の場合、エコーキャンセル処理の精度が低下するという問題があった。また、音声のスペクトルは全体的に傾斜(母音の場合、約−6dB/Oct)しているため、逆フィルタは高域強調特性を持つことになり、送信信号に背景雑音が含まれるとその雑音成分が著しく増幅され、エコーキャンセル量が低下するという問題があった。   However, in the echo canceller, when the received signal x (t) input to the adaptive filter 5a is a colored signal such as speech (a signal having a nonuniform spectrum distribution), the convergence speed is significantly reduced. there were. As a solution to this problem, Patent Document 1 proposes a method of increasing the convergence speed by converting an input signal into a white signal (a signal having a uniform spectral distribution) using an inverse filter. However, the configuration of the proposed method has a problem that the accuracy of the echo cancellation process is lowered when the echo delay time is large or when the input signal is originally a white signal. Further, since the speech spectrum is generally inclined (about -6 dB / Oct in the case of vowels), the inverse filter has a high frequency emphasis characteristic. If background noise is included in the transmission signal, the noise is reduced. There was a problem that the component was remarkably amplified and the amount of echo cancellation decreased.

本発明は、受信信号の特性に拘らず収束速度が速いエコーキャンセラを提供することを目的としている。   An object of the present invention is to provide an echo canceller having a high convergence speed regardless of the characteristics of a received signal.

本発明のうちの請求項1に係る発明のエコーキャンセラは、受信信号を遅延させて遅延受信信号を出力する遅延バッファと、前記受信信号から反射係数と線形予測係数を算出する線形予測部と、前記線形予測係数を用いて前記遅延受信信号を白色化し、白色化受信信号を生成する第1の逆フィルタと、前記遅延受信信号と前記白色化受信信号をそれぞれ同一のタップ係数で演算して擬似エコーと白色化擬似エコーを出力すると共に、与えられた残差信号に従って該タップ係数を更新する適応フィルタと、前記適応フィルタのタップ係数に基づいてエコーの遅延時間を推定し、前記線形予測部から出力された前記線形予測係数を該遅延時間だけ遅延させて出力する遅延制御部と、前記遅延制御部から出力された線形予測係数を用いて送信信号を白色化し、白色化送信信号を生成する第2の逆フィルタと、前記送信信号から前記擬似エコーを差し引いて第1の残差信号を出力する第1の加算器と、前記白色化送信信号から前記白色化擬似エコーを差し引いて第2の残差信号を出力する第2の加算器と、前記反射係数に基づいて前記受信信号が白色性信号か否かを判定する広帯域信号判定部と、前記タップ係数が収束しておらず、かつ前記受信信号が白色性信号でないときには前記第2の残差信号を選択し、該タップ係数が収束しているかまたは該受信信号が白色性信号であるときには前記第1の残差信号を選択し、その選択した残差信号を前記適応フィルタに与える残差信号切替部と、を備えたことを特徴とする。
請求項2に係る発明のエコーキャンセラは、請求項1に係る発明のエコーキャンセラにおいて、前記反射係数に基づいて前記受信信号がトーン性信号か否かを判定する狭帯域信号判定部を設け、該受信信号がトーン性信号と判定されたときに、前記適応フィルタにおけるタップ係数の更新を停止するように構成したことを特徴とする。
請求項3に係る発明のエコーキャンセラは、請求項1または2に係る発明のエコーキャンセラにおいて、前記送信信号と前記第1の残差信号、または前記白色化送信信号と前記第2の残差信号に基づいて、該送信信号に含まれる前記エコーと該送信信号に含まれる背景雑音との比である信号対雑音比を算出する信号対雑音比算出部を設け、該信号対雑音比に基づいて前記適応フィルタにおけるタップ係数の更新時のステップサイズを調整するように構成したことを特徴とする。
請求項4に係る発明のエコーキャンセラは、請求項1、2または3に係る発明のエコーキャンセラにおいて、前記線形予測部で算出された線形予測係数を書き込み、前記遅延制御部からの要求に応じて該線形予測係数をその書き込んだ順に読み出して出力する先入れ先出しバッファを設けたことを特徴とする。
請求項5に係る発明のエコーキャンセラは、受信信号を遅延させて遅延受信信号を出力する遅延バッファと、前記受信信号から線形予測係数を算出する線形予測部と、前記線形予測係数を用いて前記遅延受信信号を白色化し、白色化受信信号を生成する第1の逆フィルタと、前記遅延受信信号と前記白色化受信信号をそれぞれ同一のタップ係数で演算して擬似エコーと白色化擬似エコーを出力すると共に、与えられた残差信号に従って該タップ係数を更新する適応フィルタと、前記適応フィルタのタップ係数に基づいてエコーの遅延時間を推定し、前記線形予測部から出力された前記線形予測係数を該遅延時間だけ遅延させて出力する遅延制御部と、前記遅延制御部から出力された線形予測係数を用いて送信信号を白色化し、白色化送信信号を生成する第2の逆フィルタと、前記送信信号から前記擬似エコーを差し引いて第1の残差信号を出力する第1の加算器と、前記白色化送信信号から前記白色化擬似エコーを差し引いて第2の残差信号を出力する第2の加算器と、前記タップ係数が収束していないときには前記第2の残差信号を選択し、該タップ係数が収束した時点で前記第1の残差信号を選択し、その選択した残差信号を前記適応フィルタに与える残差信号切替部と、を備えたエコーキャンセラであって、前記送信信号と前記第1の残差信号、または前記白色化送信信号と前記第2の残差信号に基づいて、該送信信号に含まれる前記エコーと該送信信号に含まれる背景雑音との比である信号対雑音比を算出する信号対雑音比算出部を設け、該信号対雑音比に基づいて前記適応フィルタにおけるタップ係数の更新時のステップサイズを調整するように構成したことを特徴とする。
An echo canceller according to claim 1 of the present invention includes a delay buffer that delays a received signal and outputs a delayed received signal, a linear prediction unit that calculates a reflection coefficient and a linear prediction coefficient from the received signal, A first inverse filter for whitening the delayed received signal using the linear prediction coefficient to generate a whitened received signal, and the delayed received signal and the whitened received signal are each calculated with the same tap coefficient and simulated. An echo and whitened pseudo echo are output, an adaptive filter that updates the tap coefficient according to a given residual signal, an echo delay time is estimated based on the tap coefficient of the adaptive filter, and the linear prediction unit A delay control unit that outputs the output linear prediction coefficient by delaying the delay time, and a transmission signal using the linear prediction coefficient output from the delay control unit. A second inverse filter for colorizing and generating a whitened transmission signal; a first adder for subtracting the pseudo echo from the transmission signal to output a first residual signal; and A second adder that subtracts the whitened pseudo echo and outputs a second residual signal ; a wideband signal determination unit that determines whether the received signal is a white signal based on the reflection coefficient; and the tap When the coefficient is not converged and the received signal is not a white signal, the second residual signal is selected, and when the tap coefficient is converged or the received signal is a white signal, the second residual signal is selected. select 1 of the residual signal to the residual signal switching unit providing the selected residual signal to the adaptive filter, comprising the.
An echo canceller according to a second aspect of the present invention is the echo canceller according to the first aspect of the present invention, further comprising a narrowband signal determining unit that determines whether the received signal is a tone signal based on the reflection coefficient, When the received signal is determined to be a tone signal, updating of the tap coefficient in the adaptive filter is stopped.
The echo canceller according to a third aspect of the present invention is the echo canceller according to the first or second aspect, wherein the transmission signal and the first residual signal, or the whitened transmission signal and the second residual signal are used. A signal-to-noise ratio calculating unit that calculates a signal-to-noise ratio that is a ratio between the echo included in the transmission signal and the background noise included in the transmission signal, and based on the signal-to-noise ratio The step size at the time of updating the tap coefficient in the adaptive filter is adjusted.
An echo canceller according to a fourth aspect of the invention is the echo canceller according to the first, second or third aspect, wherein the linear prediction coefficient calculated by the linear prediction unit is written, and in response to a request from the delay control unit A first-in first-out buffer for reading out and outputting the linear prediction coefficients in the order of writing is provided.
The echo canceller of the invention according to claim 5 uses the delay buffer that delays the received signal and outputs the delayed received signal, the linear prediction unit that calculates the linear prediction coefficient from the received signal, and the linear prediction coefficient The delayed reception signal is whitened, the first inverse filter that generates the whitened reception signal, and the delayed reception signal and the whitened reception signal are calculated with the same tap coefficient, and a pseudo echo and a whitened pseudo echo are output. And an adaptive filter that updates the tap coefficient according to a given residual signal, an echo delay time is estimated based on the tap coefficient of the adaptive filter, and the linear prediction coefficient output from the linear prediction unit is A delay control unit that outputs the signal after being delayed by the delay time, and a whitened transmission signal using the linear prediction coefficient output from the delay control unit A second inverse filter to be generated; a first adder that subtracts the pseudo echo from the transmission signal to output a first residual signal; and a white adder that subtracts the whitened pseudo echo from the whitened transmission signal. A second adder that outputs a residual signal of 2 and the second residual signal when the tap coefficient has not converged, and the first residual signal when the tap coefficient has converged And an echo canceller comprising: a residual signal switching unit that supplies the selected residual signal to the adaptive filter, wherein the transmission signal and the first residual signal or the whitened transmission signal And a signal-to-noise ratio calculation unit that calculates a signal-to-noise ratio that is a ratio between the echo included in the transmission signal and the background noise included in the transmission signal based on the second residual signal, Based on the signal-to-noise ratio, Characterized by being configured to adjust the step size for updating the tap coefficients in the filter.

本発明のうちの請求項1に係る発明によれば、適応フィルタのタップ係数が収束しておらず、かつ受信信号が白色性信号でないときには、白色化送信信号から白色化擬似エコーを差し引いて得られた第2の残差信号を使用し、適応フィルタのタップ係数が収束しているか、または受信信号が白色性信号であるときには、送信信号から擬似エコーを差し引いて得られた第1の残差信号を使用して、タップ係数の更新を行うようにしているので、受信信号の特性に拘らずこのタップ係数を迅速に収束させることができる。
特に、白色化送信信号を生成する第2の逆フィルタでは、線形予測部から出力された線形予測係数を適応フィルタのタップ係数に基づいて推定されたエコーの遅延時間だけ遅延させ、この遅延させた線形予測係数を用いて送信信号を白色化しているので、エコーの遅延時間を考慮した残差信号が得られ、迅速かつ的確にタップ係数を収束させることが出来る。更に、高帯域信号判定部を有しているので、受信信号が白色性信号の場合に、残差信号切替部による切り替えのタイミングを待たずに、直ちに適応フィルタのタップ係数の更新を通常の状態に切り替えて、安定した状態に移行することが出来る。
According to the first aspect of the present invention, when the tap coefficients of the adaptive filter are not converged and the received signal is not a whiteness signal, the whitened pseudo echo is subtracted from the whitened transmission signal. The first residual obtained by subtracting the pseudo echo from the transmitted signal when the tap coefficient of the adaptive filter is converged or the received signal is a whiteness signal. Since the tap coefficient is updated using the signal, the tap coefficient can be quickly converged regardless of the characteristics of the received signal.
In particular, in the second inverse filter that generates the whitened transmission signal, the linear prediction coefficient output from the linear prediction unit is delayed by the delay time of the echo estimated based on the tap coefficient of the adaptive filter. Since the transmission signal is whitened using the linear prediction coefficient, a residual signal in consideration of the echo delay time can be obtained, and the tap coefficients can be converged quickly and accurately. In addition, since it has a high-band signal determination unit, when the received signal is a whiteness signal, the adaptive filter tap coefficient is immediately updated without waiting for the switching timing by the residual signal switching unit. To switch to a stable state.

請求項2に係る発明によれば、狭帯域信号判定部を設け、受信信号がトーン性信号と判定されたときに、適応フィルタにおけるタップ係数の更新を停止するように構成しているので、受信信号がトーン性信号の場合にタップ係数の発散を防止することが出来る。According to the second aspect of the present invention, the narrowband signal determination unit is provided, and when the received signal is determined to be a tone signal, the updating of the tap coefficient in the adaptive filter is stopped. Divergence of tap coefficients can be prevented when the signal is a tone signal.
請求項3に係る発明によれば、S/N(信号対雑音比)算出部を設け、送信信号に含まれるエコーと背景雑音との比であるS/Nに応じて、タップ係数を更新するステップサイズの大きさを調整するように構成しているので、例えば、送信信号に背景雑音が多く存在する場合には、タップ係数の更新量を小さくすることで、収束速度は低下するものの第2の逆フィルタによって増幅される高域雑音成分の影響を少なくして、エコーキャンセル量の低下を軽減することが出来る。また、送信信号に背景雑音があまり存在しない場合には、タップ係数の更新量を大きくして収束速度を向上することが出来る。According to the invention of claim 3, the S / N (signal-to-noise ratio) calculation unit is provided, and the tap coefficient is updated according to the S / N that is the ratio of the echo and the background noise included in the transmission signal. Since the configuration is such that the step size is adjusted, for example, when there is a lot of background noise in the transmission signal, the update speed of the tap coefficient is decreased to reduce the convergence speed. The influence of the high-frequency noise component amplified by the inverse filter can be reduced, and the reduction in the amount of echo cancellation can be reduced. Further, when there is not much background noise in the transmission signal, the convergence rate can be improved by increasing the update amount of the tap coefficient.
請求項4に係る発明によれば、FIFO(先入れ先出し)バッファを設けたので、エコー遅延時間に拘らず、的確にタップ係数を収束させることが出来る。According to the invention of claim 4, since the FIFO (first-in first-out) buffer is provided, the tap coefficients can be accurately converged regardless of the echo delay time.

請求項5に係る発明によれば、請求項1に係る発明と同様に、線形予測部から出力された線形予測係数を遅延制御部により、適応フィルタのタップ係数に基づいて推定されたエコーの遅延時間だけ遅延させ、この遅延させた線形予測係数を用いて第2の逆フィルタにより、送信信号を白色化しているので、エコーの遅延時間を考慮した残差信号が得られ、迅速かつ的確にタップ係数を収束させることが出来る。更に、S/N算出部を設けたので、請求項3に係る発明と同様に、例えば、送信信号に背景雑音が多く存在する場合には、タップ係数の更新量を小さくすることで、収束速度は低下するものの第2の逆フィルタによって増幅される高域雑音成分の影響を少なくして、エコーキャンセル量の低下を軽減することが出来る。また、送信信号に背景雑音があまり存在しない場合には、タップ係数の更新量を大きくして収束速度を向上することが出来る。According to the fifth aspect of the invention, as in the first aspect of the invention, the delay of the echo estimated based on the tap coefficient of the adaptive filter by the delay control unit using the linear prediction coefficient output from the linear prediction unit. Since the transmission signal is whitened by the second inverse filter using the delayed linear prediction coefficient, the residual signal taking into account the echo delay time is obtained, and taps quickly and accurately. The coefficient can be converged. Furthermore, since the S / N calculation unit is provided, as in the invention according to claim 3, for example, when there is a lot of background noise in the transmission signal, the update rate of the tap coefficient is reduced to reduce the convergence speed. However, the influence of the high-frequency noise component amplified by the second inverse filter can be reduced, and the reduction in the echo cancellation amount can be reduced. Further, when there is not much background noise in the transmission signal, the convergence rate can be improved by increasing the update amount of the tap coefficient.

この発明の前記並びにその他の目的と新規な特徴は、次の好ましい実施例の説明を添付図面と照らし合わせて読むと、より完全に明らかになるであろう。但し、図面は、もっぱら解説のためのものであって、この発明の範囲を限定するものではない。   The above and other objects and novel features of the present invention will become more fully apparent when the following description of the preferred embodiment is read in conjunction with the accompanying drawings. However, the drawings are for explanation only, and do not limit the scope of the present invention.

図1は、本発明の実施例1を示すエコーキャンセラの構成図である。なお、図中の実線は音声信号の流れを示し、破線は制御信号の流れを示している。   FIG. 1 is a configuration diagram of an echo canceller showing Embodiment 1 of the present invention. The solid line in the figure indicates the flow of the audio signal, and the broken line indicates the flow of the control signal.

エコーキャンセラは、遠端から入力された受信信号が、DAC1でアナログ信号に変換され、近端のスピーカ2から出力されてマイクロホン3に音響信号として回り込み、ADC4でディジタル信号に変換されてエコーとして遠端に送信されることを防止するものである。   In the echo canceller, the received signal input from the far end is converted into an analog signal by the DAC 1, output from the near-end speaker 2, and circulates as an acoustic signal to the microphone 3, and converted to a digital signal by the ADC 4 to be distant as an echo. This prevents transmission to the end.

このエコーキャンセラ10は、遠端から入力された受信信号x(t+N)を離散時間Nだけ遅延させた受信信号x(t)を出力する遅延バッファ11と、この受信信号x(t+N)からp次の反射係数と線形予測係数LPC1を算出する線形予測部12を有している。遅延バッファ11から出力される受信信号x(t)は、DAC1に与えられると共に、逆フィルタ13と適応フィルタ14に与えられ、線形予測部12から出力される線形予測係数LPC1は、逆フィルタ13と遅延制御部15に与えられるようになっている。   The echo canceller 10 outputs a reception signal x (t) obtained by delaying the reception signal x (t + N) input from the far end by a discrete time N, and a p-th order from the reception signal x (t + N). The linear prediction unit 12 for calculating the reflection coefficient and the linear prediction coefficient LPC1. The received signal x (t) output from the delay buffer 11 is supplied to the DAC 1 and is also supplied to the inverse filter 13 and the adaptive filter 14. The linear prediction coefficient LPC 1 output from the linear prediction unit 12 is the same as that of the inverse filter 13. The delay control unit 15 is provided.

逆フィルタ13は、線形予測係数LPC1を用いて受信信号x(t)を白色化した受信信号xw(t)を生成し、適応フィルタ14に与えるものである。適応フィルタ14は、受信信号x(t),xw(t)を、それぞれタップ係数H(t)で演算して擬似エコーr(t),rw(t)を生成するものである。また、遅延制御部15は、適応フィルタ14のタップ係数H(t)に基づいてエコーの遅延時間を推定し、入力された線形予測係数LPC1を、その推定した遅延時間だけ遅れたタイミングで線形予測係数LPC2として出力するものである。   The inverse filter 13 generates a reception signal xw (t) obtained by whitening the reception signal x (t) using the linear prediction coefficient LPC1, and supplies the reception signal xw (t) to the adaptive filter 14. The adaptive filter 14 calculates pseudo echoes r (t) and rw (t) by calculating received signals x (t) and xw (t) with tap coefficients H (t), respectively. Further, the delay control unit 15 estimates the echo delay time based on the tap coefficient H (t) of the adaptive filter 14, and linearly predicts the input linear prediction coefficient LPC1 at a timing delayed by the estimated delay time. This is output as the coefficient LPC2.

更に、このエコーキャンセラ10は、ADC4から送信信号y(t)が与えられる逆フィルタ16と加算器17を有している。逆フィルタ16は、遅延制御部15から与えられる線形予測係数LPC2を用いて送信信号y(t)を白色化した送信信号yw(t)を生成し、加算器18に与えるものである。   Further, the echo canceller 10 includes an inverse filter 16 and an adder 17 to which a transmission signal y (t) is given from the ADC 4. The inverse filter 16 generates a transmission signal yw (t) obtained by whitening the transmission signal y (t) using the linear prediction coefficient LPC2 provided from the delay control unit 15 and supplies the transmission signal yw (t) to the adder 18.

加算器17は、送信信号y(t)から適応フィルタ14で生成された擬似エコーr(t)を差し引いて残差信号e(t)を出力するもので、この残差信号e(t)が送信回線に出力されると共に、切替スイッチ19の一方の入力側に与えられている。また、加算器18は、送信信号yw(t)から適応フィルタ14で生成された白色化された擬似エコーrw(t)を差し引いて残差信号ew(t)を出力するもので、この残差信号ew(t)が切替スイッチ19の他方の入力側に与えられている。   The adder 17 subtracts the pseudo echo r (t) generated by the adaptive filter 14 from the transmission signal y (t) and outputs a residual signal e (t). The residual signal e (t) It is output to the transmission line and given to one input side of the changeover switch 19. The adder 18 subtracts the whitened pseudo echo rw (t) generated by the adaptive filter 14 from the transmission signal yw (t) and outputs a residual signal ew (t). A signal ew (t) is given to the other input side of the changeover switch 19.

切替スイッチ19は、切替制御部20から与えられる切替信号SWに基づいて残差信号e(t),ew(t)のいずれか一方を選択し、適応フィルタ14にタップ係数更新用の信号として与えるものである。切替制御部20は、このエコーキャンセラ10に対する動作許可信号ENが与えられた後、適応フィルタ14のタップ係数の更新回数が所定の回数になるまでの間、切替スイッチ19に対して残差信号ew(t)を選択させ、その後は残差信号e(t)を選択させるための切替信号SWを出力するものである。   The changeover switch 19 selects one of the residual signals e (t) and ew (t) based on the changeover signal SW given from the changeover control unit 20, and gives it to the adaptive filter 14 as a tap coefficient update signal. Is. After the operation permission signal EN is given to the echo canceller 10, the switching control unit 20 provides a residual signal ew to the changeover switch 19 until the tap coefficient of the adaptive filter 14 is updated a predetermined number of times. (T) is selected, and thereafter, a switching signal SW for selecting the residual signal e (t) is output.

切替制御部20は、例えばカウンタで構成され、ダブルトーク検出部21の検出信号WTによってシングルトーク状態が出力されているときに、図示しない処理用の共通のクロック信号をカウントして一定のカウント値に達したときに、切替スイッチ19を残差信号ew(t)からe(t)に切り替えるように構成されている。なお、ダブルトーク検出部21は、受信信号x(t)と残差信号e(t)の各レベルを比較判定することにより、シングルトークやダブルトークの状態を検出するものである。なお、図示していないが、ダブルトーク検出部21の検出信号WTに基づいて、シングルトーク状態のときにのみ、適応フィルタ14のタップ係数更新動作が行われるようになっている。   The switching control unit 20 is configured by, for example, a counter, and counts a common clock signal for processing (not shown) and outputs a constant count value when a single talk state is output by the detection signal WT of the double talk detection unit 21. The switch 19 is configured to switch from the residual signal ew (t) to e (t). The double talk detector 21 detects the state of single talk or double talk by comparing and determining the levels of the received signal x (t) and the residual signal e (t). Although not shown, the tap coefficient updating operation of the adaptive filter 14 is performed only in the single talk state based on the detection signal WT of the double talk detector 21.

次に動作を説明する。
線形予測部12のp次の線形予測係数LPC1をa0,a1,…,apとし、逆フィルタ13,16を次のようにする。
Next, the operation will be described.
The p-th order linear prediction coefficient LPC1 of the linear prediction unit 12 is a0, a1,..., Ap, and the inverse filters 13 and 16 are as follows.

Figure 0004705893
Figure 0004705893

線形予測部12に分析フレーム単位に相当するN個の受信信号x(t),x(t+1),…,x(t+N−1)が入力されると、この線形予測部12は、これらの受信信号から自己相関法、共分散法、Burg法等を用いて反射係数c1,c2,…,cpを計算し、更に計算した反射係数に基づいて線形予測係数LPC1(a0,a1,…,ap)を算出し、この線形予測係数LPC1を逆フィルタ13に設定する。   When N received signals x (t), x (t + 1),..., X (t + N−1) corresponding to analysis frame units are input to the linear predictor 12, the linear predictor 12 receives these signals. The reflection coefficients c1, c2,..., Cp are calculated from the signal using the autocorrelation method, covariance method, Burg method, etc., and the linear prediction coefficient LPC1 (a0, a1,..., Ap) is calculated based on the calculated reflection coefficients. And the linear prediction coefficient LPC1 is set in the inverse filter 13.

また、N個の受信信号x(t)〜x(t+N−1)は、遅延バッファ11によってNサンプル分遅延されて逆フィルタ13に与えられる。これにより、受信信号x(t)〜x(t+N−1)は、これらの受信信号から算出された線形予測係数LPC1を用いて逆フィルタリングされ、精度よく白色化された受信信号xw(t)が逆フィルタ13から出力される。   Further, the N received signals x (t) to x (t + N−1) are delayed by N samples by the delay buffer 11 and given to the inverse filter 13. As a result, the received signals x (t) to x (t + N−1) are inversely filtered using the linear prediction coefficient LPC1 calculated from these received signals, and the received signal xw (t) that has been whitened with high accuracy is obtained. Output from the inverse filter 13.

更に、線形予測部12で算出された線形予測係数LPC1は遅延制御部15に与えられ、この遅延制御部15によってエコー遅延時間だけ遅れたタイミングで、線形予測係数LPC2として逆フィルタ16に設定される。この遅延制御部15では、適応フィルタ14のタップ係数H(t)の最大絶対値の位置に基づいてエコーの遅延時間を推定する。例えば、サンプリング周波数が8kHzで、80番目のタップ係数が最大の絶対値を持つとすると、遅延制御部15は、図3に示すように、エコー遅延時間を10ms(=0.125ms×80)と判断し、線形予測係数LPC1が与えられたタイミングから10ms遅れて、線形予測係数LPC2を逆フィルタ16に設定する。   Further, the linear prediction coefficient LPC1 calculated by the linear prediction unit 12 is provided to the delay control unit 15, and is set in the inverse filter 16 as the linear prediction coefficient LPC2 at a timing delayed by the echo delay time by the delay control unit 15. . The delay control unit 15 estimates the echo delay time based on the position of the maximum absolute value of the tap coefficient H (t) of the adaptive filter 14. For example, if the sampling frequency is 8 kHz and the 80th tap coefficient has the maximum absolute value, the delay control unit 15 sets the echo delay time to 10 ms (= 0.125 ms × 80) as shown in FIG. Judgment is made, and the linear prediction coefficient LPC2 is set in the inverse filter 16 with a delay of 10 ms from the timing when the linear prediction coefficient LPC1 is given.

一方、マイクロホン3には、音声信号s(t)の他、背景雑音n(t)や音響エコーd(t)が入力され、これらがADC4でディジタル信号に変換されて送信信号y(t)として出力される。送信信号y(t)は、逆フィルタ16と加算器17に与えられる。   On the other hand, in addition to the audio signal s (t), the background noise n (t) and the acoustic echo d (t) are input to the microphone 3, and these are converted into digital signals by the ADC 4 and used as the transmission signal y (t). Is output. The transmission signal y (t) is given to the inverse filter 16 and the adder 17.

逆フィルタ16において、送信信号y(t)は線形予測係数LPC2を用いて白色化され、送信信号yw(t)が生成されて加算器18に与えられる。加算器17では、送信信号y(t)から、適応フィルタ14から出力された擬似エコーr(t)が差し引かれ、残差信号e(t)が出力される。また、加算器18では、送信信号yw(t)から、適応フィルタ14から出力された擬似エコーrw(t)が差し引かれ、残差信号ew(t)が出力される。   In the inverse filter 16, the transmission signal y (t) is whitened using the linear prediction coefficient LPC 2, and the transmission signal yw (t) is generated and given to the adder 18. The adder 17 subtracts the pseudo echo r (t) output from the adaptive filter 14 from the transmission signal y (t), and outputs a residual signal e (t). Further, the adder 18 subtracts the pseudo echo rw (t) output from the adaptive filter 14 from the transmission signal yw (t), and outputs a residual signal ew (t).

残差信号e(t)は、送信回線を通して遠端に出力される。また、残差信号e(t),ew(t)は、切替スイッチ19に与えられ、切替制御部20からの切替信号SWに従っていずれか一方が選択されて、適応フィルタ14にタップ係数更新用の信号として与えられる。   The residual signal e (t) is output to the far end through the transmission line. Further, the residual signals e (t) and ew (t) are given to the changeover switch 19, and one of them is selected according to the changeover signal SW from the changeover control unit 20, and the adaptive filter 14 is used for updating the tap coefficient. Given as a signal.

動作許可信号ENによってエコーキャンセラ10の動作が開始された後、適応フィルタ14のタップ係数の更新回数が所定の回数になるまでの間、切替制御部20から切替スイッチ19に対して残差信号ew(t)を選択させる切替信号SWが出力される。   After the operation of the echo canceller 10 is started by the operation permission signal EN, the residual signal ew is sent from the switch control unit 20 to the switch 19 until the tap coefficient of the adaptive filter 14 is updated a predetermined number of times. A switching signal SW for selecting (t) is output.

このとき、離散時刻tにおける適応フィルタ14のタップ係数H(t)と、この適応フィルタ14への入力信号、即ち逆フィルタ13から出力される信号Xw(t)は、それぞれ次のように表される。
H(t)=[h1(t),h2(t),…,hm(t)]
Xw(t)=[xw(t),xw(t−1),…,xw(t−m+1)]
At this time, the tap coefficient H (t) of the adaptive filter 14 at the discrete time t and the input signal to the adaptive filter 14, that is, the signal Xw (t) output from the inverse filter 13 are respectively expressed as follows. The
H (t) = [h1 (t), h2 (t),..., Hm (t)] T
Xw (t) = [xw (t), xw (t−1),..., Xw (t−m + 1)] T

これにより、擬似エコーrw(t)と残差信号ew(t)は、次のように表される。
rw(t)=H(t)Xw(t)
ew(t)=yw(t)−rw(t)
Thus, the pseudo echo rw (t) and the residual signal ew (t) are expressed as follows.
rw (t) = H (t) T Xw (t)
ew (t) = yw (t) -rw (t)

また、タップ係数H(t)の更新は、次のように表される。
H(t+1)=H(t)+μ[ew(t)Xw(t)]/‖Xw(t)‖
The update of the tap coefficient H (t) is expressed as follows.
H (t + 1) = H (t) + μ [ew (t) Xw (t)] / ‖Xw (t) ‖ 2

ここで、xw(t),yw(t)は、それぞれ自己相関が除去された白色信号であるので、タップ係数H(t)は高速度で収束する。   Here, since xw (t) and yw (t) are white signals from which autocorrelation has been removed, the tap coefficient H (t) converges at a high speed.

適応フィルタ14のタップ係数の更新回数が所定の回数に達すると、タップ係数H(t)は収束したものと見なして、切替制御部20から切替スイッチ19に対して残差信号e(t)を選択させる切替信号SWが出力される。   When the number of updates of the tap coefficient of the adaptive filter 14 reaches a predetermined number, the tap coefficient H (t) is considered to have converged, and the residual signal e (t) is sent from the switching control unit 20 to the changeover switch 19. A switching signal SW to be selected is output.

これにより、このエコーキャンセラ10は、従来のエコーキャンセラ5と同様の構成となり、離散時刻tにおける適応フィルタ14のタップ係数H(t)と、この適応フィルタ14への入力信号、即ち受信信号X(t)は、それぞれ次のように表される。
H(t)=[h1(t),h2(t),…,hm(t)]
X(t)=[x(t),x(t−1),…,x(t−m+1)]
As a result, the echo canceller 10 has the same configuration as the conventional echo canceller 5, and the tap coefficient H (t) of the adaptive filter 14 at the discrete time t and the input signal to the adaptive filter 14, that is, the received signal X ( t) is expressed as follows.
H (t) = [h1 (t), h2 (t),..., Hm (t)] T
X (t) = [x (t), x (t−1),..., X (t−m + 1)] T

また、擬似エコーr(t)と残差信号e(t)は、次のように表される。
r(t)=H(t)X(t)
e(t)=y(t)−r(t)
The pseudo echo r (t) and the residual signal e (t) are expressed as follows.
r (t) = H (t) T X (t)
e (t) = y (t) -r (t)

そして、タップ係数H(t)の更新は、従来と同様に次のように表される。
H(t+1)=H(t)+μ[e(t)X(t)]/‖X(t)‖
Then, the update of the tap coefficient H (t) is expressed as follows as in the conventional case.
H (t + 1) = H (t) + μ [e (t) X (t)] / ‖X (t) ‖ 2

以上のように、この実施例1のエコーキャンセラ10は、線形予測部12の分析フレームに相当するサンプル分の受信信号をバッファリングする遅延バッファ11を設け、この線形予測部12で算出された線形予測係数LPC1を用いて遅延バッファ11から出力される受信信号x(t)を逆フィルタ13で逆フィルタリングするように構成しているので、この逆フィルタ13の白色化の精度が向上する。更に、適応フィルタ14のタップ係数H(t)の最大絶対値の位置から推定したエコー遅延時間に応じて、逆フィルタ16に設定する線形予測係数LPC2のタイミングを制御する遅延制御部15を設けているので、この逆フィルタ16の白色化の精度が向上する。従って、エコーキャンセラ10の動作が開始された初期の段階で、逆フィルタ13,16から出力される白色化された受信信号xw(t)と送信信号yw(t)を用いて適応フィルタ14のタップ係数H(t)を更新することにより、高速かつ精度良くこのタップ係数H(t)を収束させることが出来る。   As described above, the echo canceller 10 according to the first embodiment is provided with the delay buffer 11 for buffering the received signals for the samples corresponding to the analysis frame of the linear prediction unit 12, and the linearity calculated by the linear prediction unit 12 is provided. Since the reception signal x (t) output from the delay buffer 11 using the prediction coefficient LPC1 is inversely filtered by the inverse filter 13, the whitening accuracy of the inverse filter 13 is improved. Furthermore, a delay control unit 15 is provided for controlling the timing of the linear prediction coefficient LPC2 set in the inverse filter 16 according to the echo delay time estimated from the position of the maximum absolute value of the tap coefficient H (t) of the adaptive filter 14. Therefore, the whitening accuracy of the inverse filter 16 is improved. Therefore, at the initial stage when the operation of the echo canceller 10 is started, the tap of the adaptive filter 14 is performed using the whitened reception signal xw (t) and transmission signal yw (t) output from the inverse filters 13 and 16. By updating the coefficient H (t), the tap coefficient H (t) can be converged at high speed and with high accuracy.

更に、タップ係数H(t)が収束した後は、逆フィルタ13,16を使用せずに、従来どおり、受信信号x(t)と送信信号y(t)を用いて適応フィルタ14のタップ係数H(t)を更新するように切替スイッチ19を切り替えるので、エコーキャンセルの精度を高く保持することが出来るという利点がある。   Further, after the tap coefficient H (t) has converged, the tap coefficients of the adaptive filter 14 are used by using the reception signal x (t) and the transmission signal y (t) as usual without using the inverse filters 13 and 16. Since the changeover switch 19 is switched so as to update H (t), there is an advantage that the accuracy of echo cancellation can be kept high.

図4は、本発明の実施例2を示すエコーキャンセラの構成図であり、図1中の要素と共通の要素には共通の符号が付されている。   FIG. 4 is a block diagram of an echo canceller showing Embodiment 2 of the present invention, and common elements to those in FIG. 1 are denoted by common reference numerals.

このエコーキャンセラ10Aは、図1のエコーキャンセラ10に対して、線形予測部12から出力される線形予測係数LPC1を保持し、保持した線形予測係数を遅延制御部15Aからの読み出し要求に従って読み出して出力するFIFO(先入れ先出し)バッファ22を設けたものである。なお、遅延制御部15Aは図1中の遅延制御部15と同様の機能に加えて、線形予測部12から出力される線形予測係数LPC1の出力タイミングから所定の遅延時間後にFIFOバッファ22を読み出し、線形予測係数LPC2として逆フィルタ15へ出力する機能が付加されている。その他の構成は、図1と同様である。   The echo canceller 10A holds the linear prediction coefficient LPC1 output from the linear prediction unit 12 with respect to the echo canceller 10 of FIG. 1, and reads and outputs the held linear prediction coefficient in accordance with a read request from the delay control unit 15A. A FIFO (first-in first-out) buffer 22 is provided. In addition to the same function as the delay control unit 15 in FIG. 1, the delay control unit 15A reads the FIFO buffer 22 after a predetermined delay time from the output timing of the linear prediction coefficient LPC1 output from the linear prediction unit 12, A function of outputting to the inverse filter 15 as a linear prediction coefficient LPC2 is added. Other configurations are the same as those in FIG.

図5は、図1と図4のエコーキャンセラの動作を比較するための説明図である。
線形予測部12においてi番目の分析フレームで計算されたp次の線形予測係数LPC1を、次のように表す。
Ai=[a0i,a1i,…,api]
FIG. 5 is an explanatory diagram for comparing the operations of the echo cancellers of FIG. 1 and FIG.
The p-th order linear prediction coefficient LPC1 calculated in the i-th analysis frame in the linear prediction unit 12 is expressed as follows.
Ai = [a0i, a1i, ..., api]

図1のエコーキャンセラ10では、図5(a)に示すように、逆フィルタ13に設定した線形予測係数LPC1を、エコー遅延時間TDだけ遅れて線形予測係数LPC2として逆フィルタ16に設定するように制御している。このため、エコー遅延時間TDが分析フレームの時間TFよりも長い場合、線形予測係数LPC1が次の分析フレームに対する線形予測係数に更新されてしまい、逆フィルタ16に正しい線形予測係数LPC2を設定することが出来なくなってしまう。   In the echo canceller 10 of FIG. 1, as shown in FIG. 5A, the linear prediction coefficient LPC1 set in the inverse filter 13 is set in the inverse filter 16 as the linear prediction coefficient LPC2 with a delay of the echo delay time TD. I have control. For this reason, when the echo delay time TD is longer than the time TF of the analysis frame, the linear prediction coefficient LPC1 is updated to the linear prediction coefficient for the next analysis frame, and the correct linear prediction coefficient LPC2 is set in the inverse filter 16. Will not be able to.

これに対して、この実施例2のエコーキャンセラ10Aでは、図5(b)に示すように、線形予測係数LPC1を一時的にFIFOバッファ22に格納し、遅延制御部15Aからの読み出し要求に従って読み出して線形予測係数LPC2として逆フィルタ16に設定するように制御している。これにより、エコー遅延時間TDが分析フレームの時間TFよりも長くても、常に逆フィルタ16に正しい線形予測係数LPC2を設定することが出来る。   On the other hand, in the echo canceller 10A according to the second embodiment, as shown in FIG. 5B, the linear prediction coefficient LPC1 is temporarily stored in the FIFO buffer 22 and read according to the read request from the delay control unit 15A. Thus, the inverse filter 16 is controlled as the linear prediction coefficient LPC2. Thereby, even if the echo delay time TD is longer than the time TF of the analysis frame, the correct linear prediction coefficient LPC2 can always be set in the inverse filter 16.

従って、この実施例2のエコーキャンセラ10Aは、図1のエコーキャンセラ10と同様の利点に加えて、エコー遅延時間TDに拘らず、的確にタップ係数H(t)を収束させることが出来るという利点がある。   Therefore, the echo canceller 10A of the second embodiment has the advantage that the tap coefficient H (t) can be accurately converged regardless of the echo delay time TD in addition to the same advantages as the echo canceller 10 of FIG. There is.

図6は、本発明の実施例3を示すエコーキャンセラの構成図であり、図1中の要素と共通の要素には共通の符号が付されている。   FIG. 6 is a block diagram of an echo canceller showing Embodiment 3 of the present invention. Elements common to those in FIG. 1 are denoted by common reference numerals.

このエコーキャンセラ10Bは、図1のエコーキャンセラ10に広帯域信号判定部23とOR(論理和)ゲート24を追加したものである。広帯域信号判定部23は、線形予測部12から出力される2次の反射係数c2を閾値TH1と比較して、この反射係数c2が閾値TH1よりも小さいときに、受信信号x(t)のスペクトルが分散して白色信号に近い特性であると判定し、残差信号e(t)を選択するように切り替えるための検出信号DWを出力するものである。ORゲート24は、切替制御部20から出力される残差信号e(t)を選択するように切り替えるための信号と、広帯域信号判定部23から出力される検出信号DWの論理和を選択信号SWとして切替スイッチ19に与えるものである。   The echo canceller 10B is obtained by adding a wideband signal determination unit 23 and an OR (logical sum) gate 24 to the echo canceller 10 of FIG. The broadband signal determination unit 23 compares the second-order reflection coefficient c2 output from the linear prediction unit 12 with the threshold value TH1, and when the reflection coefficient c2 is smaller than the threshold value TH1, the spectrum of the received signal x (t) Are detected and the characteristics are close to those of a white signal, and a detection signal DW for switching to select the residual signal e (t) is output. The OR gate 24 selects the logical sum of the signal for switching so as to select the residual signal e (t) output from the switching control unit 20 and the detection signal DW output from the wideband signal determination unit 23 as a selection signal SW. Is given to the changeover switch 19.

このエコーキャンセラ10Bでは、線形予測部12の計算過程で導出される2次の反射係数c2を閾値TH1と比較している。2次の反射係数c2は、全帯域に対するスペクトルの疎/密の度合い、即ち、分散/集中の度合いを表している。従って、反射係数c2の値が予め設定した閾値TH1よりも小さい場合、スペクトルが分散して白色信号に近い特性であると判定することが出来る。これにより、広帯域信号判定部23から検出信号DWが出力されると、切替制御部20からの信号に拘らず、切替スイッチ19は、残差信号e(t)を選択するように切り替えられる。   In this echo canceller 10B, the second-order reflection coefficient c2 derived in the calculation process of the linear prediction unit 12 is compared with the threshold value TH1. The second-order reflection coefficient c2 represents the degree of sparse / dense spectrum, that is, the degree of dispersion / concentration with respect to the entire band. Therefore, when the value of the reflection coefficient c2 is smaller than the preset threshold value TH1, it can be determined that the spectrum is dispersed and the characteristic is close to that of a white signal. Thus, when the detection signal DW is output from the wideband signal determination unit 23, the changeover switch 19 is switched to select the residual signal e (t) regardless of the signal from the switching control unit 20.

以上のように、この実施例3のエコーキャンセラ10Bは、線形予測部12から出力される2次の反射係数c2に基づいて、受信信号x(t)が白色信号に近い特性であると判定したときに、残差信号e(t)を選択するように切り替えるための広帯域信号判定部23を有している。これにより、この実施例3は、実施例1と同様の利点に加えて、受信信号x(t)が白色信号に近い場合に、切替制御部20による切り替えのタイミングを待たずに、直ちに適応フィルタ14のタップ係数H(t)の更新を通常の状態に切り替えて、安定した状態に移行することができるという利点がある。   As described above, the echo canceller 10B according to the third embodiment determines that the received signal x (t) has characteristics close to those of the white signal based on the secondary reflection coefficient c2 output from the linear prediction unit 12. Sometimes, it has a broadband signal determination unit 23 for switching to select the residual signal e (t). As a result, in addition to the same advantages as the first embodiment, the third embodiment immediately adapts the adaptive filter without waiting for the switching timing by the switching control unit 20 when the received signal x (t) is close to a white signal. There is an advantage that the update of the 14 tap coefficients H (t) can be switched to a normal state to shift to a stable state.

図7は、本発明の実施例4を示すエコーキャンセラの構成図であり、図1中の要素と共通の要素には共通の符号が付されている。   FIG. 7 is a configuration diagram of an echo canceller showing Embodiment 4 of the present invention, and common elements to those in FIG. 1 are denoted by common reference numerals.

このエコーキャンセラ10Cは、図1のエコーキャンセラ10にS/N検出部25を追加すると共に、適応フィルタ14に代えて機能の追加された適応フィルタ14Aを設けたものである。S/N検出部25は、送信信号y(t)と残差信号e(t)からS/N(信号対雑音比)を算出して検出信号SNを出力するものである。一方、適応フィルタ14Aは、S/N検出部25から与えられる検出信号SNに従って、タップ係数H(t)の更新処理におけるステップサイズμが制御されるように構成されたものである。その他の構成は、図1と同様である。   The echo canceller 10C is obtained by adding an S / N detector 25 to the echo canceller 10 of FIG. 1 and providing an adaptive filter 14A having a function added in place of the adaptive filter 14. The S / N detector 25 calculates an S / N (signal-to-noise ratio) from the transmission signal y (t) and the residual signal e (t) and outputs a detection signal SN. On the other hand, the adaptive filter 14A is configured such that the step size μ in the updating process of the tap coefficient H (t) is controlled according to the detection signal SN given from the S / N detection unit 25. Other configurations are the same as those in FIG.

このエコーキャンセラ10Cでは、先ず、S/N検出部25において次式により、送信信号y(t)に含まれるエコーの信号レベルSLV(t)が、この送信信号y(t)の絶対値の移動平均から求められる。
SLV(t)=α×SLV(t−1)+(1−α)×|y(t)|
但し、0<α<1 である。
In this echo canceller 10C, first, the signal level SLV (t) of the echo included in the transmission signal y (t) is shifted by the S / N detection unit 25 according to the following equation: the absolute value of the transmission signal y (t) It is obtained from the average.
SLV (t) = α × SLV (t−1) + (1−α) × | y (t) |
However, 0 <α <1.

次に、S/N検出部25において、例えば前記特許文献2に記載された方法により、残差信号e(t)のレベルの長期平均と短期平均に基づいて、送信信号に含まれる背景雑音レベルNLV(t)が求められる。   Next, in the S / N detection unit 25, the background noise level included in the transmission signal based on the long-term average and the short-term average of the level of the residual signal e (t), for example, by the method described in Patent Document 2 above. NLV (t) is determined.

こうして求めた送信信号に含まれる信号レベルSLV(t)と背景雑音レベルNLV(t)から、次式に従って送信信号y(t)のS/N(t)が算出される。
S/N(t)=20×log{SLV(t)/NLV(t)}
From the signal level SLV (t) and the background noise level NLV (t) included in the transmission signal thus obtained, the S / N (t) of the transmission signal y (t) is calculated according to the following equation.
S / N (t) = 20 × log {SLV (t) / NLV (t)}

S/N検出部25で算出されたS/N(t)は、検出信号SNとして適応フィルタ14Aに与えられる。なお、背景雑音レベルNLV(t)を、送信信号y(t)からではなく残差信号e(t)から求める理由は、図1の送信信号y(t)に含まれる信号のうち、音響エコーd(t)と背景雑音n(t)の比をS/N(t)として算出するためである。即ち、背景雑音レベルNLV(t)を送信信号y(t)から算出すると、背景雑音n(t)がほとんど存在しない環境であっても、音響エコーd(t)に雑音成分が多く含まれていれば、S/Nは小さい値を示してしまうからである。   The S / N (t) calculated by the S / N detection unit 25 is given to the adaptive filter 14A as the detection signal SN. The reason for obtaining the background noise level NLV (t) not from the transmission signal y (t) but from the residual signal e (t) is that the acoustic echo among the signals included in the transmission signal y (t) in FIG. This is because the ratio of d (t) and background noise n (t) is calculated as S / N (t). That is, when the background noise level NLV (t) is calculated from the transmission signal y (t), the acoustic echo d (t) contains a lot of noise components even in an environment where the background noise n (t) hardly exists. This is because S / N shows a small value.

また、上記のS/N(t)の式には、送信信号y(t)に含まれる音声信号s(t)が考慮されていないが、送信信号y(t)に音声信号s(t)が含まれる場合は、ダブルトーク検出器21によって適応フィルタ14Aのタップ係数H(t)の更新が停止されるので、この音声信号s(t)が存在する場合のステップサイズμの大きさについては特に考慮する必要がない。   In addition, the above S / N (t) expression does not consider the audio signal s (t) included in the transmission signal y (t), but the audio signal s (t) is included in the transmission signal y (t). Since the update of the tap coefficient H (t) of the adaptive filter 14A is stopped by the double talk detector 21, the size of the step size μ when the audio signal s (t) exists is There is no particular need to consider.

適応フィルタ14Aでは、S/N検出部25から与えられる検出信号SNに応じて、タップ係数H(t)の収束速度を調整するステップサイズμが調整される。即ち、送信信号y(t)に背景雑音が少なくS/N(t)が大きいときには、ステップサイズμは大きな値に設定される。また、送信信号y(t)に背景雑音が多くS/N(t)が小さいときには、ステップサイズμは小さな値に設定される。 In the adaptive filter 14A, the step size μ for adjusting the convergence speed of the tap coefficient H (t) is adjusted according to the detection signal SN given from the S / N detection unit 25. That is, when the transmission signal y (t) has little background noise and S / N (t) is large, the step size μ is set to a large value. When the transmission signal y (t) has a lot of background noise and the S / N (t) is small, the step size μ is set to a small value.

以上のように、この実施例4のエコーキャンセラ10Cによれば、送信信号y(t)のS/Nに応じて、タップ係数H(t)を更新するステップサイズμの大きさを調整するように構成している。これにより、送信信号y(t)に背景雑音が多く存在する場合には、タップ係数H(t)の更新量を小さくすることで、収束速度は低下するものの逆フィルタ16によって増幅される高域雑音成分の影響を少なくして、エコーキャンセル量の低下を軽減することが出来る。また、送信信号y(t)に背景雑音があまり存在しない場合には、タップ係数H(t)の更新量を大きくして収束速度を向上することが出来るという利点が有る。   As described above, according to the echo canceller 10C of the fourth embodiment, the size of the step size μ for updating the tap coefficient H (t) is adjusted according to the S / N of the transmission signal y (t). It is configured. As a result, when there is a lot of background noise in the transmission signal y (t), the update rate of the tap coefficient H (t) is reduced to reduce the convergence speed but the high frequency band amplified by the inverse filter 16 The influence of the noise component can be reduced to reduce the echo cancellation amount. Further, when there is not much background noise in the transmission signal y (t), there is an advantage that the convergence rate can be improved by increasing the update amount of the tap coefficient H (t).

図8は、本発明の実施例5を示すエコーキャンセラの構成図であり、図6及び図7中の要素と共通の要素には共通の符号が付されている。   FIG. 8 is a block diagram of an echo canceller showing a fifth embodiment of the present invention. Elements common to those in FIGS. 6 and 7 are given common reference numerals.

このエコーキャンセラ10Dは、広帯域信号判定部23の検出信号DWによって切替スイッチ19の切り替えを制御すると共に、S/N検出部25の検出信号SNによって適応フィルタ14Aのステップサイズμを調整するように構成している。その他の構成は、図6及び図7と同様である。従って、このエコーキャンセラ10Dでは、第3の実施例と第4の実施例の双方の利点を有する。   The echo canceller 10D is configured to control switching of the selector switch 19 by the detection signal DW of the wideband signal determination unit 23 and adjust the step size μ of the adaptive filter 14A by the detection signal SN of the S / N detection unit 25. is doing. Other configurations are the same as those in FIGS. 6 and 7. Therefore, this echo canceller 10D has the advantages of both the third embodiment and the fourth embodiment.

図9は、本発明の実施例6を示すエコーキャンセラの構成図であり、図8中の要素と共通の要素には共通の符号が付されている。   FIG. 9 is a block diagram of an echo canceller showing Embodiment 6 of the present invention. Elements common to those in FIG. 8 are denoted by common reference numerals.

このエコーキャンセラ10Eは、図8のエコーキャンセラ10Dに狭帯域信号判定部26を追加したものである。狭帯域信号判定部26は、線形予測部12から出力される2次の反射係数c2を閾値TH2と比較し、その大小判定結果に応じて適応フィルタ14Aのタップ係数H(t)の更新動作を制御するための検出信号DNを出力するものである。   The echo canceller 10E is obtained by adding a narrowband signal determination unit 26 to the echo canceller 10D of FIG. The narrowband signal determination unit 26 compares the second-order reflection coefficient c2 output from the linear prediction unit 12 with the threshold value TH2, and performs an update operation of the tap coefficient H (t) of the adaptive filter 14A according to the magnitude determination result. A detection signal DN for control is output.

この狭帯域信号判定部26は、トーン性信号による学習によってタップ係数H(t)が発散することを防止するために、線形予測部12から出力される2次の反射係数c2を予め設定した閾値TH2と比較し、反射係数c2がこの閾値TH2よりも大きい場合に、受信信号x(t)のスペクトルが集中してトーン性信号に近い特性であると判定し、適応フィルタ14Aのタップ係数H(t)の更新動作を停止させるための検出信号DNを出力する。   The narrowband signal determination unit 26 uses a preset threshold value for the secondary reflection coefficient c2 output from the linear prediction unit 12 in order to prevent the tap coefficient H (t) from diverging due to learning by the tone characteristic signal. When the reflection coefficient c2 is larger than the threshold value TH2 as compared with TH2, it is determined that the spectrum of the reception signal x (t) is concentrated and is close to the tone signal, and the tap coefficient H ( The detection signal DN for stopping the update operation of t) is output.

以上のように、この実施例6のエコーキャンセラ10Eは、受信信号x(t)がトーン性信号に近い特性である場合に、適応フィルタ14Aのタップ係数H(t)の更新動作を停止させる狭帯域信号判定部26を有しているので、実施例5と同様の利点に加えて、受信信号x(t)がトーン性信号に近い場合にタップ係数H(t)の発散を防止することが出来るという利点がある。   As described above, the echo canceller 10E according to the sixth embodiment narrows down the updating operation of the tap coefficient H (t) of the adaptive filter 14A when the received signal x (t) has characteristics close to the tone signal. Since the band signal determination unit 26 is provided, in addition to the same advantages as in the fifth embodiment, it is possible to prevent the tap coefficient H (t) from diverging when the reception signal x (t) is close to the tone signal. There is an advantage that you can.

図10は、本発明の実施例7を示すエコーキャンセラの構成図である。
このエコーキャンセラは、適応フィルタ31と、加算器32と、S/N検出部33とで構成されている。
FIG. 10 is a block diagram of an echo canceller showing Embodiment 7 of the present invention.
The echo canceller includes an adaptive filter 31, an adder 32, and an S / N detector 33.

適応フィルタ31は、離散時刻tにおける受信信号x(t)をタップ係数H(t)で演算して擬似エコーr(t)を生成すると共に、S/N検出部33から与えられる検出信号SNの値に応じたステップサイズμで、タップ係数H(t)を更新するものである。   The adaptive filter 31 calculates the reception signal x (t) at the discrete time t with the tap coefficient H (t) to generate a pseudo echo r (t), and also detects the detection signal SN given from the S / N detection unit 33. The tap coefficient H (t) is updated with the step size μ corresponding to the value.

加算器32は、送信信号y(t)から擬似エコーr(t)を差し引いて残差信号e(t)を出力するものである。   The adder 32 subtracts the pseudo echo r (t) from the transmission signal y (t) and outputs a residual signal e (t).

S/N検出部33は、例えば図6中のS/N検出部25と同様に、送信信号y(t)に含まれるエコーの信号レベルSLV(t)と、背景雑音レベルNLV(t)に基づいてS/N(t)を算出し、検出信号SNとして適応フィルタ31に与えるものである。   For example, the S / N detection unit 33 sets the echo signal level SLV (t) included in the transmission signal y (t) and the background noise level NLV (t) in the same manner as the S / N detection unit 25 in FIG. Based on this, S / N (t) is calculated and given to the adaptive filter 31 as the detection signal SN.

このエコーキャンセラでは、音声信号s(t)の他、背景雑音n(t)や音響エコーd(t)が、ディジタル信号に変換されて送信信号y(t)として入力される。   In this echo canceller, in addition to the audio signal s (t), background noise n (t) and acoustic echo d (t) are converted into digital signals and input as transmission signals y (t).

一方、適応フィルタ31には遠端から受信信号x(t)が入力されるが、ここで、音響エコーd(t)のエコー経路のインパルス応答Hをm次のFIRフィルタで近似できると仮定すると、離散時刻tにおける適応フィルタ31のタップ係数H(t)と、この適応フィルタ31に入力される受信信号x(t)は、それぞれ次のように表される。
H(t)=[h1(t),h2(t),…,hm(t)]
X(t)=[x(t),x(t−1),…,x(t−m+1)]
On the other hand, the received signal x (t) is input to the adaptive filter 31 from the far end. Here, it is assumed that the impulse response H of the echo path of the acoustic echo d (t) can be approximated by an m-th order FIR filter. The tap coefficient H (t) of the adaptive filter 31 at the discrete time t and the received signal x (t) input to the adaptive filter 31 are respectively expressed as follows.
H (t) = [h1 (t), h2 (t),..., Hm (t)] T
X (t) = [x (t), x (t−1),..., X (t−m + 1)] T

これにより、適応フィルタ31から出力される擬似エコーr(t)と、加算器33から出力される残差信号e(t)は、次のように表される。
r(t)=H(t)X(t)
e(t)=y(t)−r(t)
Thus, the pseudo echo r (t) output from the adaptive filter 31 and the residual signal e (t) output from the adder 33 are expressed as follows.
r (t) = H (t) T X (t)
e (t) = y (t) -r (t)

また、適応フィルタ31のタップ係数H(t)の更新は、NLMSアルゴリズムの場合、次のように表される。
H(t+1)=H(t)+μ[e(t)X(t)]/‖X(t)‖
The update of the tap coefficient H (t) of the adaptive filter 31 is expressed as follows in the case of the NLMS algorithm.
H (t + 1) = H (t) + μ [e (t) X (t)] / ‖X (t) ‖ 2

なお、タップ係数H(t)の更新は、図示しないダブルトーク検出部等の制御により、受信信号x(t)は存在するが音声信号s(t)の存在しないシングルトーク状態のときにのみ行われ、受信信号x(t)と音声信号s(t)が共に存在するダブルトーク状態のときと、受信信号x(t)が存在しないときには更新の動作は停止される。   The tap coefficient H (t) is updated only in a single talk state in which the received signal x (t) is present but the audio signal s (t) is not present, under the control of a double talk detector (not shown) or the like. The update operation is stopped when the double talk state in which both the reception signal x (t) and the audio signal s (t) exist and when the reception signal x (t) does not exist.

S/N検出部33では、送信信号y(t)に含まれるエコーの信号レベルSLV(t)と、背景雑音レベルNLV(t)に基づいてS/N(t)が算出され、検出信号SNとして適応フィルタ31に与えられる。   The S / N detector 33 calculates S / N (t) based on the echo signal level SLV (t) included in the transmission signal y (t) and the background noise level NLV (t), and the detection signal SN As given to the adaptive filter 31.

適応フィルタ31では、S/N検出部33から与えられる検出信号SNに応じて、タップ係数H(t)の収束速度を調整するステップサイズμが調整される。即ち、送信信号y(t)に背景雑音が少なくS/N(t)が大きいときには、ステップサイズμは大きな値に設定され、送信信号y(t)に背景雑音が多くS/N(t)が小さいときには、ステップサイズμは小さな値に設定される。 In the adaptive filter 31, the step size μ for adjusting the convergence speed of the tap coefficient H (t) is adjusted according to the detection signal SN provided from the S / N detection unit 33. That is, when the transmission signal y (t) has little background noise and S / N (t) is large, the step size μ is set to a large value, and the transmission signal y (t) has much background noise and S / N (t). Is small, the step size μ is set to a small value.

以上のように、この実施例7のエコーキャンセラによれば、送信信号y(t)のS/Nに応じてタップ係数H(t)を更新するステップサイズμの大きさを調整するように構成している。これにより、送信信号y(t)に背景雑音が多く存在する場合には、タップ係数H(t)の更新量を小さくすることで収束速度は低下するものの、エコーキャンセル量の低下を軽減することが出来る。また、送信信号y(t)に背景雑音があまり存在しない場合には、タップ係数H(t)の更新量を大きくして収束速度を向上することが出来るという利点が有る。   As described above, according to the echo canceller of the seventh embodiment, the step size μ for updating the tap coefficient H (t) is adjusted according to the S / N of the transmission signal y (t). is doing. As a result, when there is a lot of background noise in the transmission signal y (t), the update rate of the tap coefficient H (t) can be reduced to reduce the convergence speed, but the reduction of the echo cancellation amount can be reduced. I can do it. Further, when there is not much background noise in the transmission signal y (t), there is an advantage that the convergence rate can be improved by increasing the update amount of the tap coefficient H (t).

なお、本発明は、上記実施例に限定されず、種々の変形が可能である。この変形例としては、例えば、次のようなものがある。
(1) 図1等において、切替制御部20は、適応フィルタ14のタップ係数の更新回数に応じて切替信号SWを出力するように構成しているが、実際のタップ係数の収束状況に応じて切替信号SWを出力するように構成することが出来る。その場合、例えば、シングルトーク時の残差信号e(t)のパワーレベルを監視し、そのパワーレベルが一定レベル以下になったときに、残差信号e(t)を選択する切替信号SWを出力するように構成する。
(2) 図7等において、S/N検出部25は、送信信号y(t)と残差信号e(t)からS/Nを算出しているが、送信信号yw(t)と残差信号ew(t)からS/Nを算出するように構成しても良い。
(3) 図7等において、適応フィルタ14Aは、検出信号SNに基づいてタップ係数H(t)の更新時のステップサイズμの大きさを調整するように構成されているが、S/N検出部25及び検出信号SNを用いずに、切替信号SWを用いてステップサイズμを2段階に切り替えるようにしても良い。
(4) 図6〜図9に、図4と同様のFIFOバッファ22を設けても良い。
In addition, this invention is not limited to the said Example, A various deformation | transformation is possible. Examples of this modification include the following.
(1) In FIG. 1 and the like, the switching control unit 20 is configured to output the switching signal SW according to the number of tap coefficient updates of the adaptive filter 14, but according to the actual tap coefficient convergence state. The switching signal SW can be output. In this case, for example, the power level of the residual signal e (t) at the time of single talk is monitored, and when the power level falls below a certain level, the switching signal SW for selecting the residual signal e (t) is set. Configure to output.
(2) In FIG. 7 and the like, the S / N detector 25 calculates the S / N from the transmission signal y (t) and the residual signal e (t), but the transmission signal yw (t) and the residual are calculated. The S / N may be calculated from the signal ew (t).
(3) In FIG. 7 and the like, the adaptive filter 14A is configured to adjust the step size μ when the tap coefficient H (t) is updated based on the detection signal SN. Instead of using the unit 25 and the detection signal SN, the step size μ may be switched between two stages using the switching signal SW.
(4) A FIFO buffer 22 similar to that shown in FIG. 4 may be provided in FIGS.

本発明の実施例1を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 1 of this invention. 従来のエコーキャンセラの構成図である。It is a block diagram of the conventional echo canceller. タップ係数から推定されるエコー遅延時間の説明図である。It is explanatory drawing of the echo delay time estimated from a tap coefficient. 本発明の実施例2を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 2 of this invention. 図1と図4のエコーキャンセラの動作を比較するための説明図である。FIG. 5 is an explanatory diagram for comparing operations of the echo cancellers of FIG. 1 and FIG. 4. 本発明の実施例3を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 3 of this invention. 本発明の実施例4を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 4 of this invention. 本発明の実施例5を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 5 of this invention. 本発明の実施例6を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 6 of this invention. 本発明の実施例7を示すエコーキャンセラの構成図である。It is a block diagram of the echo canceller which shows Example 7 of this invention.

符号の説明Explanation of symbols

11 遅延バッファ
12 線形予測部
13,16 逆フィルタ
14,14A 適応フィルタ
15 遅延制御部
17,18 加算器
19 切替スイッチ
20 切替制御部
21 ダブルトーク検出部
22 FIFOバッファ
23 広帯域信号判定部
25 S/N検出部
26 狭帯域信号判定部
DESCRIPTION OF SYMBOLS 11 Delay buffer 12 Linear prediction part 13, 16 Inverse filter 14, 14A Adaptive filter 15 Delay control part 17, 18 Adder 19 Changeover switch 20 Switching control part 21 Double talk detection part 22 FIFO buffer 23 Broadband signal determination part 25 S / N Detection unit 26 Narrow band signal determination unit

Claims (5)

受信信号を遅延させて遅延受信信号を出力する遅延バッファと、
前記受信信号から反射係数と線形予測係数を算出する線形予測部と、
前記線形予測係数を用いて前記遅延受信信号を白色化し、白色化受信信号を生成する第1の逆フィルタと、
前記遅延受信信号と前記白色化受信信号をそれぞれ同一のタップ係数で演算して擬似エコーと白色化擬似エコーを出力すると共に、与えられた残差信号に従って該タップ係数を更新する適応フィルタと、
前記適応フィルタのタップ係数に基づいてエコーの遅延時間を推定し、前記線形予測部から出力された前記線形予測係数を該遅延時間だけ遅延させて出力する遅延制御部と、
前記遅延制御部から出力された線形予測係数を用いて送信信号を白色化し、白色化送信信号を生成する第2の逆フィルタと、
前記送信信号から前記擬似エコーを差し引いて第1の残差信号を出力する第1の加算器と、
前記白色化送信信号から前記白色化擬似エコーを差し引いて第2の残差信号を出力する第2の加算器と、
前記反射係数に基づいて前記受信信号が白色性信号か否かを判定する広帯域信号判定部と、
前記タップ係数が収束しておらず、かつ前記受信信号が白色性信号でないときには前記第2の残差信号を選択し、該タップ係数が収束しているかまたは該受信信号が白色性信号であるときには前記第1の残差信号を選択し、その選択した残差信号を前記適応フィルタに与える残差信号切替部と
備えたことを特徴とするエコーキャンセラ。
A delay buffer that delays the received signal and outputs a delayed received signal;
A linear prediction unit that calculates a reflection coefficient and a linear prediction coefficient from the received signal;
A first inverse filter for whitening the delayed received signal using the linear prediction coefficient to generate a whitened received signal;
An adaptive filter that computes the delayed received signal and the whitened received signal with the same tap coefficient to output a pseudo echo and a whitened pseudo echo, and updates the tap coefficient according to a given residual signal;
A delay control unit that estimates a delay time of an echo based on the tap coefficient of the adaptive filter and outputs the linear prediction coefficient output from the linear prediction unit by delaying the delay time;
A second inverse filter for whitening a transmission signal using the linear prediction coefficient output from the delay control unit and generating a whitened transmission signal;
A first adder for subtracting the pseudo echo from the transmission signal to output a first residual signal;
A second adder for subtracting the whitened pseudo echo from the whitened transmission signal to output a second residual signal;
A broadband signal determination unit that determines whether the received signal is a whiteness signal based on the reflection coefficient;
When the tap coefficient is not converged and the received signal is not a white signal, the second residual signal is selected, and when the tap coefficient is converged or the received signal is a white signal A residual signal switching unit that selects the first residual signal and provides the selected residual signal to the adaptive filter ;
Echo canceller, characterized in that it comprises a.
前記反射係数に基づいて前記受信信号がトーン性信号か否かを判定する狭帯域信号判定部を設け、該受信信号がトーン性信号と判定されたときに、前記適応フィルタにおけるタップ係数の更新を停止するように構成したことを特徴とする請求項1記載のエコーキャンセラ。A narrowband signal determination unit that determines whether or not the received signal is a tone signal based on the reflection coefficient, and updates the tap coefficient in the adaptive filter when the received signal is determined to be a tone signal. The echo canceller according to claim 1, wherein the echo canceller is configured to stop. 前記送信信号と前記第1の残差信号、または前記白色化送信信号と前記第2の残差信号に基づいて、該送信信号に含まれる前記エコーと該送信信号に含まれる背景雑音との比である信号対雑音比を算出する信号対雑音比算出部を設け、該信号対雑音比に基づいて前記適応フィルタにおけるタップ係数の更新時のステップサイズを調整するように構成したことを特徴とする請求項1または2記載のエコーキャンセラ。Based on the transmission signal and the first residual signal, or the whitened transmission signal and the second residual signal, a ratio between the echo included in the transmission signal and background noise included in the transmission signal A signal-to-noise ratio calculating unit for calculating a signal-to-noise ratio is provided, and the step size at the time of updating the tap coefficient in the adaptive filter is adjusted based on the signal-to-noise ratio. The echo canceller according to claim 1 or 2. 前記線形予測部で算出された線形予測係数を書き込み、前記遅延制御部からの要求に応じて該線形予測係数をその書き込んだ順に読み出して出力する先入れ先出しバッファを設けたことを特徴とする請求項1、2または3記載のエコーキャンセラ。2. A first-in first-out buffer for writing linear prediction coefficients calculated by the linear prediction unit and reading and outputting the linear prediction coefficients in the order of writing in response to a request from the delay control unit. 2. The echo canceller according to 2 or 3. 受信信号を遅延させて遅延受信信号を出力する遅延バッファと、A delay buffer that delays the received signal and outputs a delayed received signal;
前記受信信号から線形予測係数を算出する線形予測部と、A linear prediction unit for calculating a linear prediction coefficient from the received signal;
前記線形予測係数を用いて前記遅延受信信号を白色化し、白色化受信信号を生成する第1の逆フィルタと、A first inverse filter for whitening the delayed received signal using the linear prediction coefficient to generate a whitened received signal;
前記遅延受信信号と前記白色化受信信号をそれぞれ同一のタップ係数で演算して擬似エコーと白色化擬似エコーを出力すると共に、与えられた残差信号に従って該タップ係数を更新する適応フィルタと、An adaptive filter that computes the delayed received signal and the whitened received signal with the same tap coefficient to output a pseudo echo and a whitened pseudo echo, and updates the tap coefficient according to a given residual signal;
前記適応フィルタのタップ係数に基づいてエコーの遅延時間を推定し、前記線形予測部から出力された前記線形予測係数を該遅延時間だけ遅延させて出力する遅延制御部と、A delay control unit that estimates a delay time of an echo based on the tap coefficient of the adaptive filter and outputs the linear prediction coefficient output from the linear prediction unit by delaying the delay time;
前記遅延制御部から出力された線形予測係数を用いて送信信号を白色化し、白色化送信信号を生成する第2の逆フィルタと、A second inverse filter for whitening a transmission signal using the linear prediction coefficient output from the delay control unit and generating a whitened transmission signal;
前記送信信号から前記擬似エコーを差し引いて第1の残差信号を出力する第1の加算器と、A first adder for subtracting the pseudo echo from the transmission signal to output a first residual signal;
前記白色化送信信号から前記白色化擬似エコーを差し引いて第2の残差信号を出力する第2の加算器と、A second adder for subtracting the whitened pseudo echo from the whitened transmission signal to output a second residual signal;
前記タップ係数が収束していないときには前記第2の残差信号を選択し、該タップ係数が収束した時点で前記第1の残差信号を選択し、その選択した残差信号を前記適応フィルタに与える残差信号切替部と、When the tap coefficient has not converged, the second residual signal is selected, and when the tap coefficient has converged, the first residual signal is selected, and the selected residual signal is sent to the adaptive filter. A residual signal switching section to provide,
を備えたエコーキャンセラであって、An echo canceller with
前記送信信号と前記第1の残差信号、または前記白色化送信信号と前記第2の残差信号に基づいて、該送信信号に含まれる前記エコーと該送信信号に含まれる背景雑音との比である信号対雑音比を算出する信号対雑音比算出部を設け、該信号対雑音比に基づいて前記適応フィルタにおけるタップ係数の更新時のステップサイズを調整するように構成したことを特徴とするエコーキャンセラ。Based on the transmission signal and the first residual signal, or the whitened transmission signal and the second residual signal, a ratio between the echo included in the transmission signal and background noise included in the transmission signal A signal-to-noise ratio calculating unit for calculating a signal-to-noise ratio is provided, and the step size at the time of updating the tap coefficient in the adaptive filter is adjusted based on the signal-to-noise ratio. Echo canceller.
JP2006218125A 2006-08-10 2006-08-10 Echo canceller Active JP4705893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006218125A JP4705893B2 (en) 2006-08-10 2006-08-10 Echo canceller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006218125A JP4705893B2 (en) 2006-08-10 2006-08-10 Echo canceller

Publications (2)

Publication Number Publication Date
JP2008042816A JP2008042816A (en) 2008-02-21
JP4705893B2 true JP4705893B2 (en) 2011-06-22

Family

ID=39177300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006218125A Active JP4705893B2 (en) 2006-08-10 2006-08-10 Echo canceller

Country Status (1)

Country Link
JP (1) JP4705893B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109243476A (en) * 2018-10-18 2019-01-18 电信科学技术研究院有限公司 The adaptive estimation method and device of reverberation power spectrum after in reverberation voice signal

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6363324B2 (en) * 2010-10-08 2018-09-12 日本電気株式会社 Signal processing apparatus, signal processing method, and signal processing program
US9830900B2 (en) * 2011-05-10 2017-11-28 Mitsubishi Electric Corporation Adaptive equalizer, acoustic echo canceller device, and active noise control device
CN112583431B (en) * 2019-09-29 2022-05-17 瑞昱半导体股份有限公司 Receiver and related signal processing method
WO2021131346A1 (en) * 2019-12-26 2021-07-01 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Sound pick-up device, sound pick-up method and sound pick-up program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6367924A (en) * 1986-09-10 1988-03-26 Fujitsu Ltd echo canceller
JP2002094419A (en) * 2001-07-25 2002-03-29 Toshiba Corp Echo canceller
JP2003188776A (en) * 2001-12-21 2003-07-04 Nippon Telegr & Teleph Corp <Ntt> Acoustic echo erasing method and device, and acoustic echo erasure program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6367924A (en) * 1986-09-10 1988-03-26 Fujitsu Ltd echo canceller
JP2002094419A (en) * 2001-07-25 2002-03-29 Toshiba Corp Echo canceller
JP2003188776A (en) * 2001-12-21 2003-07-04 Nippon Telegr & Teleph Corp <Ntt> Acoustic echo erasing method and device, and acoustic echo erasure program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109243476A (en) * 2018-10-18 2019-01-18 电信科学技术研究院有限公司 The adaptive estimation method and device of reverberation power spectrum after in reverberation voice signal
CN109243476B (en) * 2018-10-18 2021-09-03 电信科学技术研究院有限公司 Self-adaptive estimation method and device for post-reverberation power spectrum in reverberation voice signal

Also Published As

Publication number Publication date
JP2008042816A (en) 2008-02-21

Similar Documents

Publication Publication Date Title
JP2538176B2 (en) Eco-control device
US7203308B2 (en) Echo canceller ensuring further reduction in residual echo
US5473686A (en) Echo cancellation apparatus
EP0518383B1 (en) Method and arrangement of echo elimination in digital telecommunications system
US8315380B2 (en) Echo suppression method and apparatus thereof
JP2853455B2 (en) Echo canceller
CA2162570C (en) Echo canceler and echo path estimating method
JP4457639B2 (en) Echo canceller
US5247512A (en) Echo canceller
EP1786191B1 (en) Acoustic echo canceller
WO2005024787A1 (en) Signal processing method and apparatus
JP4705893B2 (en) Echo canceller
US8824667B2 (en) Time-domain acoustic echo control
JP4410819B2 (en) Echo canceller
US20170310360A1 (en) Echo removal device, echo removal method, and non-transitory storage medium
JP4411309B2 (en) Double talk detection method
US6865270B1 (en) Echo cancellation method and apparatus
JP5963077B2 (en) Telephone device
EP0929174B1 (en) Voice switching system capable of improving a quality of conversation
US20100002866A1 (en) Voice communication apparatus
JP4544040B2 (en) Echo cancellation device, telephone using the same, and echo cancellation method
JP4475155B2 (en) Echo canceller
JP4543896B2 (en) Echo cancellation method, echo canceller, and telephone repeater
JP4324036B2 (en) Echo cancellation device
JP2650208B2 (en) Echo canceller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080815

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20081210

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101012

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110314

R150 Certificate of patent or registration of utility model

Ref document number: 4705893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350