JP2005286796A - Loudspeaker call device - Google Patents
Loudspeaker call device Download PDFInfo
- Publication number
- JP2005286796A JP2005286796A JP2004099436A JP2004099436A JP2005286796A JP 2005286796 A JP2005286796 A JP 2005286796A JP 2004099436 A JP2004099436 A JP 2004099436A JP 2004099436 A JP2004099436 A JP 2004099436A JP 2005286796 A JP2005286796 A JP 2005286796A
- Authority
- JP
- Japan
- Prior art keywords
- gain matrix
- step gain
- signal
- echo
- setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Interconnected Communication Systems, Intercoms, And Interphones (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、インターホンなどに用いられる拡声通話装置に関し、特に浴室などの高反響空間に設置される拡声通話装置に関するものである。 The present invention relates to a loudspeaker device used for intercoms and the like, and more particularly to a loudspeaker device installed in a high reverberation space such as a bathroom.
この種の拡声通話装置では、マイクロホンとスピーカの音響結合により形成される音響側の帰還経路や、相手側の通話端末との間で形成される回線側の帰還経路によって不快なエコー(音響エコーあるいは回線エコー)が聞こえてしまう場合があり、あるいは、上記帰還経路などにより任意の周波数成分における一巡利得が1倍を超えるような閉ループが通話系に形成されると当該周波数にてハウリングが生じてしまう場合があるので、上述のような不快なエコー及びハウリングの発生を防止するためにエコーキャンセラ並びに音声スイッチを備えている。 In this type of loudspeaker, an uncomfortable echo (acoustic echo or acoustic echo) is caused by an acoustic return path formed by acoustic coupling of a microphone and a speaker, or a line-side return path formed between the other party's call terminal. Line echo) may be heard, or howling occurs at the frequency when a closed loop in which the loop gain in an arbitrary frequency component exceeds 1 is formed in the communication system by the feedback path or the like. In some cases, an echo canceller and a voice switch are provided to prevent the generation of unpleasant echoes and howling as described above.
音声スイッチは、通話状態(送話状態、受話状態)を常時推定し、推定結果に基づき適切な配分で送話側及び受話側の信号経路に対して損失を挿入するものである。また、エコーキャンセラは、帰還経路のインパルス応答を適応的に同定して帰還経路への入力信号から帰還経路の擬似エコー成分を推定する適応フィルタと、適応フィルタで推定された擬似エコー成分を帰還経路からの出力信号より減算する減算器とで構成されるものである。ここで、エコーキャンセラの適応フィルタが帰還経路のインパルス応答を同定するのに通常数秒の学習時間を要するため、通話開始直後からの数秒間にはエコーキャンセラによるエコーの抑制効果が十分に期待できず、通話系に閉ループが形成された状態にあり、不快なエコーやハウリングが生じる虞がある。 The voice switch constantly estimates the call state (sending state, receiving state) and inserts a loss into the signal path on the transmitting side and the receiving side with an appropriate distribution based on the estimation result. The echo canceller adaptively identifies the impulse response of the feedback path and estimates the pseudo echo component of the feedback path from the input signal to the feedback path, and the pseudo echo component estimated by the adaptive filter as the feedback path. And a subtracter that subtracts from the output signal from the. Here, the adaptive filter of the echo canceller usually requires several seconds of learning time to identify the impulse response of the feedback path, so the echo suppression effect by the echo canceller cannot be expected sufficiently in the few seconds immediately after the start of the call. There is a possibility that an unpleasant echo or howling may occur because a closed loop is formed in the call system.
そこで本出願人は、通話開始直後における不快なエコーやハウリングの抑制を可能とした拡声通話装置を既に提案している(特許文献1参照)。 Therefore, the present applicant has already proposed a loudspeaker device that can suppress unpleasant echoes and howling immediately after the start of a call (see Patent Document 1).
この従来例では、通話開始直後のエコーキャンセラが収束していない状態においては、音声スイッチが信号経路に挿入する損失の総量(総損失量)を十分に大きい初期値に固定する固定モードで動作することで不快なエコーやハウリングを抑制し、エコーキャンセラが十分に収束した状態においては、音声スイッチが総損失量を随時更新する更新モードで動作することで双方向の同時通話を実現している。
ところで、拡声通話装置の使用場所(設置場所)は、例えば一般的なインターホンシステムにおいては住宅の居間などの比較的に広い空間であるが、最近では浴室に設置される場合もある。浴室のように比較的に狭い空間は反響が大きくなるので、比較的に広いリビング空間(低反響空間)に比較してエコーキャンセラが収束するまでに長い時間を要する。ここで、ディジタルのFIRフィルタにより構成される適応フィルタでは、擬似エコー成分の減算で消去されなかった消去誤差を最小とするように動作するアルゴリズムによってフィルタ係数を逐次修正しており、上記従来例のものでは消去誤差の自乗平均値を最小化するアルゴリズム(例えば、LMS(Least-Mean-Square)法)が用いられていた。このLMS法では、フィルタ係数の修正の大きさを調整する修正幅(ステップゲイン)がスカラ量として与えられており、浴室のような高反響空間においては音声信号のような有色信号に対する収束時間が相当長くなってしまうので、通話開始直後から音声スイッチが固定モードで動作する時間が相対的に長くなり、片方向の通話しかできない状態が長く続いてしまうという問題があった。 By the way, the use place (installation place) of the loudspeaker device is a relatively wide space such as a living room in a general intercom system, for example, but recently it may be installed in a bathroom. Since a relatively narrow space such as a bathroom has a large reverberation, it takes a long time for the echo canceller to converge as compared to a relatively large living space (low reverberation space). Here, in the adaptive filter constituted by the digital FIR filter, the filter coefficient is sequentially corrected by an algorithm that operates so as to minimize the erasure error that has not been eliminated by subtraction of the pseudo echo component. However, an algorithm (for example, LMS (Least-Mean-Square) method) that minimizes the root mean square value of the erasure error has been used. In this LMS method, a correction range (step gain) for adjusting the correction magnitude of the filter coefficient is given as a scalar quantity, and the convergence time for a colored signal such as an audio signal in a high reverberation space such as a bathroom. Since it becomes considerably long, there is a problem that the time during which the voice switch operates in the fixed mode becomes relatively long immediately after the start of the call, and the state where only one-way call can be made continues for a long time.
本発明は上記事情に鑑みて為されたものであり、その目的は、浴室などの高反響空間に設置されたときでもエコーキャンセラの収束時間を短縮して早期に双方向の同時通話が実現できる拡声通話装置を提供することにある。 The present invention has been made in view of the above circumstances, and the purpose thereof is to shorten the convergence time of the echo canceller even when installed in a high reverberation space such as a bathroom, thereby realizing two-way simultaneous conversation at an early stage. An object is to provide a loudspeaker.
請求項1の発明は、上記目的を達成するために、マイクロホン及びスピーカと、相手側の通話端末から送られてくる受話信号をスピーカに伝送する受話側信号経路並びにマイクロホンで集音された送話信号を伝送して相手側の通話端末へ送る送話側信号経路に損失を挿入することで通話状態を受話及び送話に切り換える音声スイッチと、マイクロホンとスピーカの音響結合によって生じる音響エコーを抑制するエコーキャンセラとを備えた拡声通話装置において、音声スイッチは、送話側の信号経路に損失を挿入する送話側損失挿入手段と、受話側の信号経路に損失を挿入する受話側損失挿入手段と、送話側及び受話側の各損失挿入手段から挿入する損失量を制御する挿入損失量制御手段とを具備し、挿入損失量制御手段は、受話側損失挿入手段の出力点から音響エコー経路を介して送話側損失挿入手段の入力点へ帰還する経路の音響側帰還利得を推定するとともに、送話側損失挿入手段の出力点から回線エコー経路を介して受話側損失挿入手段の入力点へ帰還する経路の回線側帰還利得を推定し、音響側及び回線側の各帰還利得の推定値に基づいて閉ループに挿入すべき損失量の総和を算出する総損失量算出部と、送話信号及び受話信号を監視して通話状態を推定し、この推定結果と総損失量算出部の算出値に応じて送話側損失挿入手段及び受話側挿入損失手段の各挿入損失量の配分を決定する挿入損失量分配処理部とからなり、総損失量算出部は、各帰還利得の推定値に基づいて閉ループに挿入すべき損失量の総和を算出して適応更新する更新モード、並びに総損失量を所定の初期値に固定する固定モードの2つの動作モードを有し、相手側通話端末との通話開始からエコーキャンセラが充分に収束するまでの期間には固定モードで動作するとともに、エコーキャンセラが充分に収束した後の期間には更新モードで動作し、エコーキャンセラは、スピーカとマイクロホンの音響結合により形成される帰還経路のインパルス応答を適応的に同定して帰還経路への入力信号から帰還経路の擬似エコー成分を推定する適応フィルタと、適応フィルタで推定された擬似エコー成分を帰還経路からの出力信号より減算する減算器とを具備し、適応フィルタは、ディジタルのFIRフィルタにより構成され、擬似エコー成分の減算で消去されなかった消去誤差を最小とするように動作するアルゴリズムによってフィルタ係数を逐次修正するとともに、フィルタ係数の修正の大きさを調整するために対角行列で表されるステップゲイン行列を用いることを特徴とする。
In order to achieve the above object, the invention of
この発明によれば、フィルタ係数の修正の大きさを調整するステップゲインをスカラ量からベクトル量、すなわち、対角行列で表されるステップゲイン行列に拡張したため、有色信号である音声信号に対するエコーキャンセラの収束時間を短縮することができる。その結果、浴室などの高反響空間に設置されたときでもエコーキャンセラの収束時間を短縮して早期に双方向の同時通話が実現できる。 According to the present invention, the step gain for adjusting the correction magnitude of the filter coefficient is expanded from the scalar amount to the vector amount, that is, the step gain matrix represented by the diagonal matrix, so that the echo canceller for the speech signal that is a colored signal. The convergence time can be shortened. As a result, even when installed in a high reverberation space such as a bathroom, the convergence time of the echo canceller can be shortened and two-way simultaneous calls can be realized at an early stage.
請求項2の発明は、請求項1の発明において、適応フィルタのフィルタ係数を順番に複数のブロックに均等に割り振り、各ブロックに割り振られたフィルタ係数に対してステップゲイン行列の対角要素を設定するステップゲイン行列設定手段を備えたことを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the filter coefficients of the adaptive filter are equally allocated to a plurality of blocks in order, and the diagonal elements of the step gain matrix are set for the filter coefficients allocated to each block. Step gain matrix setting means is provided.
この発明によれば、複数のブロックについて共通のステップゲイン行列を割り当てることができ、フィルタ係数毎にステップゲイン行列の対角要素を割り当てる必要がないから、対角要素を記憶しておくためのメモリ領域を節約してコストダウンが図れる。 According to the present invention, a common step gain matrix can be assigned to a plurality of blocks, and there is no need to assign a diagonal element of the step gain matrix for each filter coefficient. Therefore, a memory for storing diagonal elements Cost can be reduced by saving area.
請求項3の発明は、請求項1の発明において、適応フィルタの単調に減衰するステップゲイン行列の対角要素を、その最大値、減衰率及び設定間隔の3つのパラメータにより階段状に近似して設定するステップゲイン行列設定手段を備えたことを特徴とする。 According to a third aspect of the present invention, in the first aspect of the invention, the diagonal elements of the step gain matrix that monotonically attenuates the adaptive filter are approximated in a stepped manner by three parameters of the maximum value, the attenuation rate, and the set interval. Step gain matrix setting means for setting is provided.
この発明によれば、ステップゲイン行列の対角要素を3つのパラメータで設定できるために対角要素の調整が容易になる。 According to the present invention, since the diagonal elements of the step gain matrix can be set with three parameters, the diagonal elements can be easily adjusted.
請求項4の発明は、請求項1の発明において、単調に減衰するステップゲイン行列の対角要素を記憶した記憶手段と、記憶手段に記憶した対角要素を随時読み出してステップゲイン行列を設定するステップゲイン行列設定手段とを備えたことを特徴とする。 According to a fourth aspect of the present invention, in the first aspect of the invention, the storage means storing the diagonal elements of the step gain matrix that monotonously attenuates, and the diagonal elements stored in the storage means are read as needed to set the step gain matrix. Step gain matrix setting means.
この発明によれば、ステップゲイン行列の対角要素としてインパルス応答への近似精度が高い値を用いることができてエコーキャンセラの収束時間を確実に短縮することができる。 According to the present invention, a value having a high approximation accuracy to the impulse response can be used as a diagonal element of the step gain matrix, and the convergence time of the echo canceller can be surely shortened.
請求項5の発明は、請求項4の発明において、前記ステップゲイン行列設定手段は、前記記憶手段から対角要素を随時読み出してステップゲイン行列を設定する処理と、単調に減衰するステップゲイン行列の対角要素を、その最大値、減衰率及び設定間隔の3つのパラメータにより階段状に近似して設定する処理とを択一的に切り換えて実行することを特徴とする。 According to a fifth aspect of the present invention, in the invention of the fourth aspect, the step gain matrix setting means reads the diagonal elements from the storage means as needed to set the step gain matrix, and the step gain matrix monotonically attenuates. A process of approximating and setting a diagonal element in a staircase pattern according to three parameters of its maximum value, attenuation rate, and setting interval is selectively switched and executed.
この発明によれば、設置場所における反響の大きさなどの条件に応じてステップゲイン行列の対角要素の設定方法を変えることができる。 According to the present invention, the method of setting the diagonal elements of the step gain matrix can be changed according to conditions such as the magnitude of reverberation at the installation location.
請求項6の発明は、請求項1の発明において、エコーキャンセラは、遠端側の信号の瞬時パワーを推定する遠端信号パワー推定部と、帰還経路からの出力信号と帰還経路への入力信号と減算器の出力信号のうちの複数の信号の相互相関を利用してダブルトークを検出するダブルトーク検出部と、近端側の信号の瞬時パワーを推定する近端信号パワー推定部と、遠端信号パワー推定部の推定値に対する近端信号パワー推定部の推定値の比が所定のしきい値よりも大きい場合に適応フィルタにおけるステップゲイン行列の対角要素を、当該対角要素に1未満の所定の係数を乗算した値に設定するステップゲイン設定部とを備えたことを特徴とする。 According to a sixth aspect of the present invention, in the first aspect of the invention, the echo canceller includes a far-end signal power estimating unit that estimates the instantaneous power of the far-end signal, an output signal from the feedback path, and an input signal to the feedback path. A double-talk detector that detects double-talk using the cross-correlation of a plurality of signals from the output signal of the subtractor, a near-end signal power estimator that estimates the instantaneous power of the near-end signal, When the ratio of the estimated value of the near-end signal power estimator to the estimated value of the end signal power estimator is greater than a predetermined threshold, the diagonal element of the step gain matrix in the adaptive filter is less than 1 in the diagonal element. And a step gain setting unit that sets a value obtained by multiplying the predetermined coefficient.
この発明によれば、ダブルトークか否かにかかわらず、遠端信号パワー推定部の推定値に対する近端信号パワー推定部の推定値の比がしきい値よりも大きければ適応フィルタにおけるフィルタ係数の収束の速さを相対的に遅くすることでエコーキャンセラの発散を未然に防止して抑制することができる。しかも、所定の係数を対角要素に乗算することでステップゲイン行列を変更することができるから、2通りのステップゲイン行列をメモリに保存しておく場合に比べてメモリ領域の節約によるコストダウンが図れる。 According to the present invention, regardless of whether or not it is double talk, if the ratio of the estimated value of the near-end signal power estimator to the estimated value of the far-end signal power estimator is larger than the threshold value, the filter coefficient of the adaptive filter By making the convergence speed relatively slow, the divergence of the echo canceller can be prevented and suppressed in advance. In addition, since the step gain matrix can be changed by multiplying the diagonal element by a predetermined coefficient, the cost can be reduced by saving the memory area compared to the case where the two step gain matrices are stored in the memory. I can plan.
請求項7の発明は、請求項1の発明において、適応フィルタのタップ長を調整するタップ長調整手段を備えたことを特徴とする。
The invention of claim 7 is characterized in that in the invention of
この発明によれば、設置場所の反響の大きさに応じた適当なタップ長に調整することができるため、所望のエコーキャンセル量を確保することができる。 According to the present invention, since it is possible to adjust the tap length to an appropriate value according to the magnitude of the echo at the installation location, a desired echo cancellation amount can be ensured.
請求項8の発明は、請求項1の発明において、送話側信号経路に低域通過フィルタを挿入したことを特徴とする。
The invention of
この発明によれば、浴室などの高反響空間では高域が強調されてしまうため、低域通過フィルタで高域をカットすることにより通話者に不快感を与えることがなく、快適な通話が実現できる。 According to the present invention, since a high frequency is emphasized in a high reverberation space such as a bathroom, a comfortable call can be realized without causing discomfort to the caller by cutting the high frequency with a low-pass filter. it can.
請求項9の発明は、請求項1の発明において、受話側信号経路並びに送話側信号経路にアッテネータを挿入したことを特徴とする。
The invention of claim 9 is characterized in that, in the invention of
この発明によれば、マイクロホンから入力する入力信号(送話信号)やスピーカへ出力する出力信号(受話信号)の音量レベルを適当な値に調整することができる。 According to the present invention, the volume level of the input signal (speech signal) input from the microphone and the output signal (received signal) output to the speaker can be adjusted to an appropriate value.
請求項10の発明は、請求項7の発明において、設置空間の残響時間を計測する残響時間計測手段と、残響時間計測手段で計測される残響時間に応じて適応フィルタのタップ長を調整する前記タップ長調整手段とを備えたことを特徴とする。
The invention of
この発明によれば、設置場所における残響時間の実測値に基づいてタップ長を調整するので、より適切なタップ長に設定することができる。 According to the present invention, since the tap length is adjusted based on the actually measured value of the reverberation time at the installation location, it can be set to a more appropriate tap length.
請求項11の発明は、請求項1の発明において、設置空間の残響時間を計測する残響時間計測手段を備え、音声スイッチの総損失量算出部は、残響時間計測手段で計測される残響時間が所定の閾値を超えるときには固定モードで動作するとともに、前記残響時間が閾値を超えないときにはエコーキャンセラが充分に収束した後の期間に更新モードで動作することを特徴とする。
The invention of claim 11 is the invention of
この発明によれば、設置場所における残響時間が所定の閾値を超える状況においては、固定モードで動作する総損失量算出部によって総損失量が充分に大きい初期値に固定されるために不快なエコーやハウリングの発生を抑制して安定した半二重通話が実現でき、残響時間が所定の閾値を超えないときには、エコーキャンセラが充分に収束した後に更新モードで動作する総損失量算出部によって総損失量が随時更新されるために双方向の同時通話が実現できる。 According to the present invention, in a situation where the reverberation time at the installation location exceeds a predetermined threshold, the total loss amount is fixed to a sufficiently large initial value by the total loss amount calculation unit operating in the fixed mode, so that an unpleasant echo If the reverberation time does not exceed the predetermined threshold, the total loss is calculated by the total loss calculator that operates in the update mode after the echo canceller has sufficiently converged. Since the amount is updated as needed, two-way simultaneous calls can be realized.
請求項12の発明は、請求項1の発明において、既製の浴室に設置されるものであって、寸法が異なる複数種類の浴室毎に適応フィルタにおけるステップゲイン行列の対角要素の最適値を記憶した対角要素記憶手段と、複数種類の浴室のうちから1種類を選択する選択手段と、選択手段で選択された浴室に対応する対角要素の最適値を対角要素記憶手段から読み出してステップゲイン行列を設定するステップゲイン行列設定手段とを備えたことを特徴とする。
The invention of
この発明によれば、設置場所である浴室の種類に応じた最適なステップゲイン行列を適応フィルタに設定することができるから、エコーキャンセラの収束時間をさらに短縮することができる。 According to the present invention, since the optimum step gain matrix corresponding to the type of bathroom that is the installation location can be set in the adaptive filter, the convergence time of the echo canceller can be further shortened.
請求項13の発明は、請求項3の発明において、既製の浴室に設置されるものであって、寸法が異なる複数種類の浴室毎にステップゲイン行列の対角要素を設定する最大値、減衰率及び設定間隔の3つのパラメータの最適値を記憶したパラメータ記憶手段と、複数種類の浴室のうちから1種類を選択する選択手段と、選択手段で選択された浴室に対応するパラメータの最適値をパラメータ記憶手段から読み出し、読み出したパラメータにより求めた対角要素をステップゲイン行列に設定するステップゲイン行列設定手段とを備えたことを特徴とする。 A thirteenth aspect of the present invention is the invention according to the third aspect of the present invention, wherein the maximum value and the attenuation rate are set in the step gain matrix for each of a plurality of types of bathrooms that are installed in a ready-made bathroom and have different dimensions. And parameter storage means for storing the optimum values of the three parameters of the set interval, selection means for selecting one type from among a plurality of types of bathrooms, and optimum values of the parameters corresponding to the bathroom selected by the selection means Step gain matrix setting means for setting a diagonal element obtained by reading from the storage means and using the read parameters to a step gain matrix is provided.
この発明によれば、設置場所である浴室の種類に応じた最適なステップゲイン行列に設定することができるから、エコーキャンセラの収束時間をさらに短縮することができる。 According to the present invention, since it is possible to set an optimal step gain matrix according to the type of bathroom as the installation location, it is possible to further shorten the convergence time of the echo canceller.
本発明によれば、フィルタ係数の修正の大きさを調整するステップゲインをスカラ量からベクトル量、すなわち、対角行列で表されるステップゲイン行列に拡張したため、有色信号である音声信号に対するエコーキャンセラの収束時間を短縮することができ、その結果、浴室などの高反響空間に設置されたときでもエコーキャンセラの収束時間を短縮して早期に双方向の同時通話が実現できるという効果がある。 According to the present invention, the step gain for adjusting the correction magnitude of the filter coefficient is expanded from the scalar quantity to the vector quantity, that is, the step gain matrix represented by the diagonal matrix, so that the echo canceller for the speech signal that is a colored signal is provided. The convergence time can be shortened. As a result, even when installed in a highly reverberant space such as a bathroom, the convergence time of the echo canceller can be shortened and two-way simultaneous calls can be realized at an early stage.
以下、本発明を住宅の浴室に設置される拡声通話装置(インターホン端末)に適用した実施形態について図面を参照して詳細に説明する。但し、本発明はこれに限定されるものではなく、浴室以外の高反響空間全般に設置される拡声通話装置であれば良い。 Hereinafter, embodiments in which the present invention is applied to a loudspeaker communication apparatus (interphone terminal) installed in a bathroom of a house will be described in detail with reference to the drawings. However, the present invention is not limited to this, and may be a loudspeaker device installed in a high reverberation space other than the bathroom.
(実施形態1)
本実施形態は、図1に示すようにマイクロホン1、スピーカ2、2線−4線変換回路3、マイクロホンアンプG1、回線(2線の伝送路)への送話信号を増幅する回線出力アンプG2、回線からの受話信号を増幅する回線入力アンプG3、スピーカアンプG4、送話音量調整用増幅器G5、受話音量調整用増幅器G6、音声スイッチ10並びに第1及び第2のエコーキャンセラ30A,30Bで構成される。
(Embodiment 1)
In the present embodiment, as shown in FIG. 1, a
第1のエコーキャンセラ30Aは適応フィルタ31Aと減算器32Aからなる従来周知の構成を有し、スピーカ2−マイクロホン1間の音響結合により形成される帰還経路(音響エコー経路)HACのインパルス応答を適応フィルタ31Aにより適応的に同定し、参照信号(スピーカアンプG4への入力信号)から推定した擬似エコー成分(音響エコー)を減算器32AによりマイクロホンアンプG1の出力信号から減算することで音響エコーを抑制するものである。また、第2のエコーキャンセラ30Bも適応フィルタ31Bと減算器32Bからなる従来周知の構成を有し、2線−4線変換回路3と伝送路との間のインピーダンスの不整合による反射および相手の通話端末(例えば、インターホンシステムのドアホン子機など)におけるスピーカ−マイクロホン間の音響結合とにより形成される帰還経路(回線エコー経路)HLINのインパルス応答を適応フィルタ31Bにより適応的に同定し、参照信号(回線出力アンプG2への入力信号、すなわち送話信号)から推定した擬似エコー成分(回線エコー)を減算器32Bにより受話信号から減算することで回線エコーを抑制するものである。
The first echo canceller 30A includes a well-known structure composed of the
音声スイッチ10は、送話側の信号経路に損失を挿入する送話側減衰器11と、受話側の信号経路に損失を挿入する受話側減衰器12と、送話側及び受話側の各減衰器11,12から挿入する損失量を制御する挿入損失量制御部13とを具備する。挿入損失量制御部13は、受話側減衰器12の出力点Routから音響エコー経路HACを介して送話側減衰器11の入力点Tinへ帰還する経路(以下、「音響側帰還経路」という)の音響側帰還利得αを推定するとともに、送話側減衰器11の出力点Toutから回線エコー経路HLINを介して受話側減衰器12の入力点Rinへ帰還する経路(以下、「回線側帰還経路」という)の回線側帰還利得βを推定し、音響側及び回線側の各帰還利得α,βの推定値α’,β’に基づいて閉ループに挿入すべき損失量の総和(送話側減衰器11の挿入損失量と受話側減衰器12の挿入損失量の和)を算出する総損失量算出部14と、送話信号及び受話信号を監視して通話状態を推定し、この推定結果と総損失量算出部14の算出値に応じて送話側減衰器11及び受話側減衰器12の各挿入損失量の配分を決定する挿入損失量分配処理部15とからなる。なお、本実施形態における第1及び第2のエコーキャンセラ30A,30B並びに音声スイッチ10は、DSP(Digital Signal Processor)のハードウェアをエコーキャンセラ用並びに音声スイッチ用のソフトウェア(プログラム)で制御することによって実現されている。従って、以下の説明における音声スイッチ10並びに第1及び第2のエコーキャンセラ30A,30Bの入出力信号(受話信号及び送話信号)は所定のサンプリング周期でサンプリングされ、且つA/D変換器により量子化されている。
The
総損失量算出部14では、整流平滑器や低域通過フィルタ等を用いて送話側減衰器11の入力信号の短時間における時間平均パワーを推定し、同じく整流平滑器や低域通過フィルタ等を用いて受話側減衰器12の出力信号の短時間における時間平均パワーを推定し、音響側帰還経路HACにて想定される最大遅延時間において受話側減衰器12の出力信号の時間平均パワーの推定値の最小値を求め、この最小値で送話側減衰器11の入力信号の時間平均パワーの推定値を除算した値を音響側帰還利得αの推定値α’とするとともに、整流平滑器や低域通過フィルタ等を用いて受話側減衰器12の入力信号の短時間における時間平均パワーを推定し、同じく整流平滑器や低域通過フィルタ等を用いて送話側減衰器11の出力信号の短時間における時間平均パワーを推定し、回線側帰還経路HLINにて想定される最大遅延時間において送話側減衰器11の出力信号の時間平均パワーの推定値の最小値を求め、この最小値で受話側減衰器12の入力信号の時間平均パワーの推定値を除算した値を回線側帰還利得βの推定値β’とする。そして、総損失量算出部14は音響側帰還利得α及び回線側帰還利得βの各推定値α’,β’から所望の利得余裕MGを得るために必要な総損失量Ltを算出し、その値Ltを挿入損失量分配処理部15に出力する。
The total loss
挿入損失量分配処理部15では、送話側減衰器11の入出力信号及び受話側減衰器12の入出力信号を監視し、これらの信号のパワーレベルの大小関係並びに音声信号の有無などの情報から通話状態(受話状態、送話状態等)を判定するとともに、判定された通話状態に応じた割合で総損失量Ltを送話側減衰器11と受話側減衰器12に分配するように各減衰器11,12の挿入損失量を調整する。
The insertion loss amount
ところで本実施形態における総損失量算出部14は、上述のように各帰還利得α,βの推定値α’,β’に基づいて閉ループに挿入すべき損失量の総和を算出して適応更新する更新モード、並びに総損失量を所定の初期値に固定する固定モードの2つの動作モードを有し、相手側の通話端末との通話開始から第1及び第2のエコーキャンセラ30A,30Bが充分に収束するまでの期間には固定モードで動作するとともに第1及び第2のエコーキャンセラ30A,30Bが充分に収束した後の期間には更新モードで動作する。すなわち、総損失量算出部14では音響側帰還利得α及び回線側帰還利得βの推定値α’,β’がともに通話開始から所定時間(数百ミリ秒)以上継続して所定の閾値ε(例えば、通話開始時における各推定値α’,β’に対して10dB〜15dB小さい値)を下回った時点で第1及び第2のエコーキャンセラ30A,30Bが充分に収束したものとみなし、上記時点以前には総損失量を初期値に固定する固定モードで動作し、上記時点以降には各推定値α’,β’に基づいて総損失量を適応更新する更新モードに動作モードを切り換える。なお、固定モードにおける総損失量の初期値は更新モードにおいて随時更新される総損失量よりも充分に大きな値に設定される。
By the way, as described above, the total loss
而して、通話開始直後の第1及び第2のエコーキャンセラ30A,30Bが充分に収束していない状態においては、固定モードで動作する総損失量算出部14によって充分に大きな値に設定される初期値の総損失量が閉ループに挿入されるため、不快なエコー(音響エコー並びに回線エコー)やハウリングの発生を抑制して安定した半二重通話を実現することができる。また、通話開始から時間が経過して第1及び第2のエコーキャンセラ30A,30Bが充分に収束した状態においては、総損失量算出部14の動作モードが固定モードから更新モードに切り換わって閉ループに挿入する総損失量が初期値よりも充分に低い値に減少するため、双方向の同時通話が実現できるものである。
Thus, when the first and second echo cancellers 30A and 30B immediately after the start of the call are not sufficiently converged, the total loss
ここで、更新モードにおける総損失量算出部14の具体的な動作を図2のフローチャートを参照して説明する。
Here, the specific operation of the total loss
総損失量算出部14は、固定モードから更新モードに移行した時点(t=t1)から所定のサンプリング周期で音響側帰還利得α並びに回線側帰還利得βの推定処理を実行してその推定値α'(n),β'(n)を算出し(ステップ1)、これら2つの推定値α'(n),β'(n)の積と利得余裕MGとから、閉ループの利得余裕をMG[dB]に保つために必要とされる総損失量所望値Lr(n)を下式により算出する(ステップ2)。
The total loss
Lr(n)=20log|α'(n)・β'(n)|+MG[dB]
なお、α'(n),β'(n),Lr(n)はそれぞれ更新モード移行時点からn回目のサンプリングによって算出された帰還利得の推定値並びに総損失量所望値を示す。さらに、総損失量算出部14は上式から算出したn回目の総損失量所望値Lr(n)と、前回(n−1回目)の総損失量Lt(n-1)、すなわち前回の処理で決定されて実際に挿入された総損失量に対して今回算出した総損失量所望値Lr(n)が大きい場合、前回の総損失量Lt(n-1)に微少な増加量Δi[dB]を加算した値を今回の総損失量Lt(n)=Lt(n-1)+Δiとし(ステップ3、ステップ4)、前回の総損失量Lt(n-1)に対して今回算出した総損失量所望値Lr(n)が小さい場合、前回の総損失量Lt(n-1)から微少な減少量Δd[dB]を減算した値を今回の総損失量Lt(n)=Lt(n-1)−Δdとする(ステップ5、ステップ6)。
Lr (n) = 20 log | α ′ (n) · β ′ (n) | + MG [dB]
Note that α ′ (n), β ′ (n), and Lr (n) indicate an estimated value of feedback gain and a desired total loss amount calculated by sampling n times from the update mode transition point, respectively. Further, the total loss
このように総損失量算出部14による総損失量の増減をΔi又はΔdの微少な値に抑えることにより、相手側の通話端末との通話開始直後のように第1及び第2のエコーキャンセラ30A,30Bが収束に向かって活発に係数を更新しているために音響側帰還利得α及び回線側帰還利得βの変化が激しい状態においても、聴感上の違和感をなくすことができる。
Thus, by suppressing the increase / decrease in the total loss amount by the total loss
次に、本発明の要旨である第1のエコーキャンセラ30Aについて説明する。
Next, the
第1のエコーキャンセラ30Aが具備する適応フィルタ31Aは、ディジタルのFIRフィルタにより構成され、擬似エコー成分の減算で消去されなかった消去誤差を最小とするように動作するアルゴリズムによってフィルタ係数を逐次修正するとともに、フィルタ係数の修正の大きさを調整するために対角行列で表されるステップゲイン行列を用いている。ここで、従来例では上記アルゴリズムとしてLMS法を用いていたが、本実施形態では従来周知の射影法を用いている。射影法は、アルゴリズム内部において入力信号の自己相関を取り除くことにより、音声信号のような有色信号に対する収束速度を改善したものである。2次の射影法により適応フィルタ31Aのフィルタ係数(タップ係数ともいう)h(n)が下記の式(1)に従って逐次修正される。
The
h(n+1)=h(n)+μ[δ(n)x(n)+ε(n)x(n-1)] (1)
但し、
h(n)=(h1(n),h2(n),…,hL(n))T
T:ベクトルの転置
n:サンプリング時間
L:タップ長(タップ数)
μ:ステップゲイン(スカラ量)
x(n)=(x(n),x(n-1),…,x(n-L+1))T:入力信号(受話信号)ベクトル
δ(n),ε(n)は下記の連立方程式(2),(3)から求められる定数である。
h (n + 1) = h (n) + μ [δ (n) × (n) + ε (n) × (n−1)] (1)
However,
h (n) = (h 1 (n), h 2 (n),..., h L (n)) T
T : Vector transposition n: Sampling time L: Tap length (number of taps)
μ: Step gain (scalar amount)
x (n) = (x (n), x (n-1),..., x (n-L + 1)) T : input signal (received signal) vector δ (n), ε (n) This is a constant obtained from simultaneous equations (2) and (3).
δ(n)x(n)Tx(n)+ε(n)x(n-1)Tx(n)=e(n) (2)
δ(n)x(n-1)Tx(n)+ε(n)x(n-1)Tx(n-1)=(1-μ)e(n-1) (3)
但し、e(n)は真のエコー成分と擬似エコー成分との差(消去誤差)である。
δ (n) × (n) T x (n) + ε (n) × (n−1) T x (n) = e (n) (2)
δ (n) × (n−1) T x (n) + ε (n) × (n−1) T x (n−1) = (1−μ) e (n−1) (3)
However, e (n) is the difference (erasure error) between the true echo component and the pseudo echo component.
そして本実施形態では、スカラ量として与えられているステップゲインμをステップゲイン行列Mという対角行列に拡張する、いわゆるES法を上記射影法に組み合わせることにより、適応フィルタ31Aのフィルタ係数h(n)を下記の式(4)に従って逐次修正する。
In this embodiment, the filter coefficient h (n) of the
h(n+1)=h(n)+M[δ(n)x(n)+ε(n)x(n-1)] (4)
但し、
M=diag[μ1,μ2,…,μL]
μi=μ0λi-1(i=1,2,…,L)
λ:インパルス応答変動量の減衰率(0<λ≦1)
ここで、FIRフィルタにインパルスを入力したときの出力(インパルス応答)がフィルタ係数そのものとなるから、フィルタ係数の修正の大きさは、設置空間(例えば、浴室)におけるインパルス応答の変動量と一致することになる。一般に、反響の程度に関わらず室内におけるインパルス応答は指数関数的に減衰し、インパルス応答の変動量もインパルス応答と同じ減衰率で減衰することが知られている。従って、ES法においては、変動が大きいインパルス応答初期のフィルタ係数は大きなステップゲインで修正し、変動が小さくなったインパルス応答の後期のフィルタ係数は小さなステップゲインで修正するように重み付けする。具体的には、ステップゲイン行列Mの対角要素μi(i=1,2,…,L)を図3に示すようにiの増加に伴って最大値μ0からインパルス応答の減衰特性と同じ傾きで減衰させることにより、結果的に収束時間を短縮することができる。
h (n + 1) = h (n) + M [δ (n) x (n) + ε (n) x (n-1)] (4)
However,
M = diag [μ 1 , μ 2 ,..., Μ L ]
μ i = μ 0 λ i-1 (i = 1, 2,..., L)
λ: Attenuation rate of impulse response fluctuation (0 <λ ≦ 1)
Here, since the output (impulse response) when the impulse is input to the FIR filter becomes the filter coefficient itself, the magnitude of the correction of the filter coefficient coincides with the fluctuation amount of the impulse response in the installation space (for example, bathroom). It will be. In general, it is known that the impulse response in the room is exponentially attenuated regardless of the degree of reverberation, and the fluctuation amount of the impulse response is also attenuated at the same attenuation rate as the impulse response. Therefore, in the ES method, weighting is performed so that the filter coefficient at the initial stage of the impulse response with large fluctuation is corrected with a large step gain, and the filter coefficient at the later stage of the impulse response with small fluctuation is corrected with a small step gain. Specifically, the diagonal elements μ i (i = 1, 2,..., L) of the step gain matrix M are changed from the maximum value μ 0 to the attenuation characteristic of the impulse response as i increases as shown in FIG. By attenuating with the same inclination, the convergence time can be shortened as a result.
而して、適応フィルタ31Aでは、サンプリング周期毎に取り込んだ入力信号(受話信号)を受話信号ベクトルx(n)とし、x(n)Tx(n),x(n-1)Tx(n),x(n-1)Tx(n),x(n-1)Tx(n-1)を演算するとともに、メモリに記憶した消去誤差e(n)並びにステップゲイン行列Mの対角要素μiを読み出し、式(2)、(3)の連立方程式を解くことで定数δ(n),ε(n)を求め、さらに求めた定数δ(n),ε(n)とメモリから読み出したステップゲイン行列Mを用いて式(4)の右辺第2項を演算し、これをメモリから読み出したフィルタ係数h(n)に加算して次のフィルタ係数h(n+1)を演算することによりフィルタ係数h(n+1)を逐次修正し、フィルタ係数h(n+1)を真のインパルス応答に近付けていく処理を行っている。
And Thus, the
上述のように本実施形態によれば、第1のエコーキャンセラ30Aの適応フィルタ31Aにおいて射影法とES法を組み合わせたES射影法のアルゴリズムによりフィルタ係数を適応的に同定させているので、従来のLMS法や学習同定法に比較して、浴室のような高反響空間におけるフィルタ係数の収束時間を短縮することができる。しかも、本実施形態では、第1のエコーキャンセラ30Aが収束するまでは音声スイッチ10を固定モードで動作させることで不快なエコーやハウリングの発生を抑制した半二重通話を実現し、第1のエコーキャンセラ30Aが収束したら音声スイッチ10を更新モードで動作させることで双方向の同時通話を実現しており、第1のエコーキャンセラ30Aの収束時間を短縮することで音声スイッチ10が固定モードで動作する期間、すなわち、半二重通話となる期間を短縮して早期に双方向の同時通話に移行させることができる。その結果、浴室のような高反響空間においても快適な拡声通話が行えるものである。
As described above, according to the present embodiment, the filter coefficients are adaptively identified by the algorithm of the ES projection method that combines the projection method and the ES method in the
ところで、予めメモリに記憶しておいたステップゲイン行列Mの対角要素μi(i=1,2,…,L)を随時読み出して適応フィルタ31Aに対して設定するステップゲイン行列設定手段を備える構成であれば、対角要素としてインパルス応答への近似精度が高い値を用いることができて第1のエコーキャンセラ30Aの収束時間を確実に短縮することができるという利点がある。なお、ステップゲイン行列設定手段はエコーキャンセラ30Aと同様にDSPのハードウェアをソフトウェアで制御することにより実現される。しかしながら、タップ長Lの増加に伴って対角要素μiの個数も増加するから、メモリの記憶領域も増えてコストアップを招く虞がある。
By the way, there is provided step gain matrix setting means for reading out the diagonal elements μ i (i = 1, 2,..., L) of the step gain matrix M stored in the memory in advance and setting them in the
そこで、図4に示すようにステップゲイン行列Mの対角要素μiを、その最大値μ0、減衰率λ及び設定間隔Dの3つのパラメータにより階段状に近似して設定するステップゲイン行列設定手段を備えれば、メモリの記憶領域を大幅に削減できるとともに対角要素μiの調整も容易に行える。但し、このように3つのパラメータによって対角要素μiを設定する構成では、各対角要素μiをメモリに記憶する上記構成に比べてインパルス応答への近似精度が低くなるというデメリットがあるので、ステップゲイン行列設定手段がメモリから各対角要素μiを読み出してステップゲイン行列Mを作成する前者の処理と、最大値μ0、減衰率λ及び設定間隔Dの3つのパラメータで対角要素μiを階段状に近似してステップゲイン行列Mを作成する処理とを択一的に切り換えて実行するようにしても良い。そうすれば、設置場所における反響の大きさなどの条件に応じてステップゲイン行列Mの対角要素μiの設定方法を適切な方法に変えることができる。 Therefore, as shown in FIG. 4, the step gain matrix setting for setting the diagonal elements μ i of the step gain matrix M by approximating the diagonal elements μ i by the three parameters of the maximum value μ 0 , the attenuation factor λ, and the setting interval D. If the means is provided, the storage area of the memory can be greatly reduced and the diagonal element μ i can be easily adjusted. However, the configuration in which the diagonal element μ i is set by three parameters as described above has a demerit that the approximation accuracy to the impulse response is lower than the above configuration in which each diagonal element μ i is stored in the memory. The step gain matrix setting means reads out each diagonal element μ i from the memory and creates the step gain matrix M, and the diagonal element with the three parameters of the maximum value μ 0 , the attenuation factor λ, and the set interval D The process of creating the step gain matrix M by approximating μ i in a staircase pattern may be alternatively switched and executed. Then, the setting method of the diagonal element μ i of the step gain matrix M can be changed to an appropriate method according to conditions such as the magnitude of reverberation at the installation location.
また、適応フィルタ31Aが、設置場所の反響の大きさに応じてタップ長Lを適当な値に調整するタップ長調整手段を備える構成とすれば、設置場所の反響の大きさに応じた所望のエコーキャンセル量を確保することができる。なお、タップ長調整手段はエコーキャンセラ30Aと同様にDSPのハードウェアをソフトウェアで制御することにより実現される。
Further, if the
ところで、浴室のような高反響空間では音の高域が強調されて通話者に不快感を与えてしまうので、図5に示すように送話側信号経路の回線出力アンプG2と2線−4線変換回路3の間に低域通過フィルタ(LPF)40を挿入して上記高域をカットし、通話者に不快感を与えないようにして快適な通話を実現することが望ましい。さらに、受話側信号経路におけるマイクロホンアンプG1の後段並びに送話側信号経路におけるスピーカアンプG4の前段にアッテネータ41,42を挿入し、マイクロホン1から入力する送話信号やスピーカ2へ出力する受話信号の音量レベルを適当な値に調整するようにしても良い(図5参照)。
By the way, in a high reverberation space such as a bathroom, the high frequency range of the sound is emphasized and the caller is uncomfortable. Therefore, as shown in FIG. It is desirable to insert a low-pass filter (LPF) 40 between the
(実施形態2)
本実施形態の構成は実施形態1と共通であるから図示は省略する。本実施形態が実施形態1と異なる点は、第1のエコーキャンセラ30Aの適応フィルタ31Aにおいて、フィルタ係数hi(n)(i=1,2,…,L)を順番に複数のブロックに均等に割り振り、各ブロックに割り振られたフィルタ係数hi(n)に対してステップゲイン行列の対角要素を設定することを特徴とする。
(Embodiment 2)
Since the configuration of this embodiment is the same as that of
例えば、L個のフィルタ係数hi(n)を順番に1〜N(2≦N≦L/2)のブロック番号のブロックに均等に割り振ることで下記の表のようにN個のブロックに分割する。ここで、一つのブロックに含まれるフィルタ係数hi(n)の個数はL/N(=D)個となる。
For example, the L filter coefficients h i (n) are divided into N blocks as shown in the following table by evenly allocating them to blocks with
そして、適応フィルタ31Aにおいては、1番からN番の各ブロックに含まれるフィルタ係数hi(n)に対して共通のステップゲイン行列M(対角要素μ1〜μD)を割り当て、受話信号x(n)が所定のサンプリング周期で取り込まれる毎に各ブロックのフィルタ係数hi(n)をブロック番号の順に一つずつ更新する処理を行う。すなわち、適応フィルタ31Aがステップゲイン行列設定手段となる。
Then, in the
このような構成によれば、L個のフィルタ係数hi(n)の全てに対してステップゲイン行列Mの対角要素μi(i=1,2,…,L)を割り当てる必要がないから、対角要素μi(i=1,2,…,D)を記憶しておくためのメモリ領域を節約してコストダウンが図れるものである。 With such a configuration, it is not necessary to assign the diagonal elements μ i (i = 1, 2,..., L) of the step gain matrix M to all of the L filter coefficients h i (n). Thus, the memory area for storing the diagonal elements μ i (i = 1, 2,..., D) can be saved and the cost can be reduced.
(実施形態3)
本実施形態は第1のエコーキャンセラ30Aの構成に特徴があり、他の構成及び動作は実施形態1と共通であるから、本実施形態の特徴となる構成についてのみ図示及び説明し、実施形態1と共通の構成については図示並びに説明を省略する。
(Embodiment 3)
The present embodiment is characterized in the configuration of the first echo canceller 30A, and other configurations and operations are the same as those in the first embodiment. Therefore, only the configuration that is a feature of the present embodiment is illustrated and described. The illustration and description of the common configuration is omitted.
本実施形態における第1のエコーキャンセラ30Aは、図6に示すように遠端側の信号(受話信号)x(n)の瞬時パワーを推定する遠端信号パワー推定部33と、適応フィルタ31Aの収束を劣化させるレベルの信号が近端側の信号(送話信号)y(n)に含まれているか否かにより、本拡声通話装置と相手側の通話端末とで話者がほぼ同時に話す状態(ダブルトーク)を検出するダブルトーク検出部34と、送話信号y(n)の瞬時パワーを推定する近端信号パワー推定部35と、遠端信号パワー推定部33の推定値Px(n)並びに近端信号パワー推定部35の推定値Py(n)に基づいて適応フィルタ31Aにおけるステップゲイン行列Mを設定するステップゲイン設定部36とを備えている。
As shown in FIG. 6, the
ステップゲイン設定部36は、受話信号x(n)の瞬時パワー推定値Px(n)に対する送話信号y(n)の瞬時パワー推定値Py(n)の比(=Py(n)/Px(n))を求め、この推定値の比が所定のしきい値よりも大きいか否かを判定する。そして、上記比がしきい値よりも大きいと判定した場合、ステップゲイン設定部36は適応フィルタ31Aにおけるステップゲイン行列Mの対角要素μi(i=1,2,…,L)に所定の係数η(0<η<1)を乗算した値に設定して適応フィルタ31Aにおけるフィルタ係数hi(n)の収束を相対的に遅くする。反対に上記比がしきい値よりも大きくないと判定した場合は係数ηを乗算せずに元の値に設定して適応フィルタ31Aにおけるフィルタ係数hi(n)の収束を相対的に速くする。なお、上記しきい値は通常の使用状況におけるエコー経路(音響エコー経路HAC)の利得に応じた値、例えば、拡声通話装置の設置環境において実測した上記エコー経路の利得に所定のマージンを加えた値とすればよい。
The step
而して、ダブルトーク検出部34では相互相関を利用してダブルトークを検出することでエコーに埋もれたダブルトーク成分でも精度良く検出することができるものの、相互相関を求めるために要する周期に比例してダブルトーク検出における遅延や検出ミスが生じる虞があるが、上述のように瞬時パワー推定値の比(Py(n)/Px(n))がしきい値よりも大きい場合に適応フィルタ31Aにおけるフィルタ係数hi(n)の収束の速さを相対的に遅くすれば、ダブルトーク検出部34でダブルトークが検出される前にフィルタ係数hi(n)が発散(消去誤差e(n)を小さくする方向へフィルタ係数hi(n)が修正されない状態)する可能性が低くなり、発散を未然に防止して抑制することができる。また、瞬時パワー推定値の比(Py(n)/Px(n))がしきい値よりも大きくない場合には、適応フィルタ31Aにおけるフィルタ係数hi(n)の収束の速さを相対的に速くすることで第1のエコーキャンセラ30Aの応答の遅れを防止することができる。しかも本実施形態では、所定の係数ηを対角要素μiに乗算することでステップゲイン行列Mを変更することができるから、大小2通りのステップゲイン行列Mをメモリに保存しておく場合に比べてメモリ領域の節約によるコストダウンが図れるという利点がある。
Thus, although the double
(実施形態4)
本実施形態の構成は実施形態1と共通であるから図示は省略する。本実施形態が実施形態1と異なる点は、設置空間の残響時間を計測する残響時間計測手段と、残響時間計測手段で計測される残響時間に応じて適応フィルタ31Aのタップ長Lを調整するタップ長調整手段とを備えた点にある。
(Embodiment 4)
Since the configuration of this embodiment is the same as that of
図7は本実施形態における要部のブロック図であり、TSP信号発生部50、インパルス応答演算部51並びに残響時間算出部52によって残響時間計測手段を構成し、タップ長調整部53にてタップ長調整手段を構成している。なお、これらの各部はエコーキャンセラ30A,30Bや音声スイッチ10と同様にDSPのハードウェアを専用のソフトウェアで制御することによって実現される。
FIG. 7 is a block diagram of the main part in the present embodiment. A reverberation time measuring means is configured by the TSP
設置空間のインパルス応答を測定するには、スピーカ2から大振幅のインパルス信号を出力すればよいが、一般的にスピーカユニットのボイスコイルはインパルス信号のような瞬時的で大きな振幅を有する音を出力するのには適していないため、測定に必要な音量を得ることが困難となる。そこで、インパルス信号の代わりに、正弦波の周波数を短時間に高い値から低い値まで連続的にスイープしたTSP(Time Stretched Pulse)信号を用いることが一般に行われており、本実施形態ではTSP信号発生部50で発生したTSP信号をスピーカアンプG4で増幅した後にスピーカ2から出力させている。そして、マイクロホン1で集音された応答信号y(k)に、TSP信号の逆特性を持つ信号(TSP信号を時間的に反転させた信号)を畳み込み演算すればインパルス応答が求められる。しかしながら、単純な畳み込み演算でインパルス応答を求めようとすると、演算量が膨大になり処理時間も相当に長くなってしまう。
In order to measure the impulse response of the installation space, it is only necessary to output an impulse signal having a large amplitude from the
そこで、インパルス応答演算部51では、TSP信号発生部50から取り込んだTSP信号と応答信号y(k)をフーリエ変換(離散的フーリエ変換)した後にこれらの内積を計算し、これを逆フーリエ変換(離散的逆フーリエ変換)することでインパルス応答を演算している。このようにフーリエ変換したTSP信号と応答信号y(k)の内積を逆フーリエ変換した結果は畳み込み演算と同じ結果となり、単純な畳み込み演算に比較して演算量が大幅に減少できる。
Therefore, the impulse
残響時間算出部52では、インパルス応答演算部51で求めたインパルス応答h(τ)から下記の式(5)により残響エネルギ曲線r(t)を求め、さらに最小自乗法などを用いて任意の区間における残響エネルギ曲線r(t)の回帰式を算出し、この回帰式の傾きより、定常状態から60dB減衰する時間(残響時間)を算出する。
The reverberation
タップ長調整部53は、残響時間算出部52で算出された残響時間に応じて、すなわち、残響時間が長くなるに従ってタップ長Lを大きくするように調整し、第1のエコーキャンセラ30Aの適応フィルタ31Aに対して調整したタップ長Lを設定する。なお、このような残響時間の測定並びにその測定結果に応じたタップ長Lの調整処理は、本実施形態の拡声通話装置を浴室などの設置空間に設置する施工の際に行えば良く、実際に使用を開始した後は特に行う必要はない。
The tap
而して、本実施形態によれば、設置場所における残響時間の実測値に基づいてタップ長Lを調整するので、より適切なタップ長Lに設定することができ、第1のエコーキャンセラ30Aの収束時間をさらに短縮することができる。
Thus, according to the present embodiment, since the tap length L is adjusted based on the actually measured value of the reverberation time at the installation location, it can be set to a more appropriate tap length L, and the
ここで、音声スイッチ10の総損失量算出部14が、算出された残響時間が所定の閾値を超えるときには固定モードで動作するとともに、残響時間が閾値を超えないときには第1及び第2のエコーキャンセラ30A,30Bが充分に収束した後の期間に更新モードで動作する構成とすれば、設置場所における残響時間が所定の閾値を超える状況においては、固定モードで動作する総損失量算出部14によって総損失量が充分に大きい初期値に固定されるために不快なエコーやハウリングの発生を抑制して安定した半二重通話が実現でき、残響時間が所定の閾値を超えず且つエコーキャンセラ30A,30Bが充分に収束した状態においては、更新モードで動作する総損失量算出部14によって総損失量が随時更新されるために双方向の同時通話が実現できる。
Here, when the calculated reverberation time exceeds a predetermined threshold, the total loss
(実施形態5)
本実施形態は、既製の浴室に設置されるものであって、図8に示すように寸法が異なる複数種類の浴室毎に適応フィルタにおけるステップゲイン行列の対角要素の最適値を記憶した対角要素記憶手段たるメモリ部50と、複数種類の浴室のうちから1種類を選択する選択手段たる操作入力部51と、操作入力部51で選択された浴室に対応する対角要素の最適値をメモリ部50から読み出して第1のエコーキャンセラ30Aの適応フィルタ31Aに対してステップゲイン行列Mを設定するステップゲイン行列設定手段たる制御部52とを備えた点に特徴がある。
(Embodiment 5)
This embodiment is installed in an off-the-shelf bathroom, and stores diagonal values storing the optimum values of the diagonal elements of the step gain matrix in the adaptive filter for each of a plurality of types of bathrooms having different dimensions as shown in FIG.
すなわち、戸建て及び集合住宅の何れの場合でも一般的に既製の浴室が使用されるから、予め浴室の種類(品番)毎にインパルス応答を実測するなどしてステップゲイン行列Mの対角要素μi(i=1,2,…,L)の最適値を求めておくことが可能である。このようにして求めた対角要素μiの最適値を浴室の品番に対応付けたデータテーブルを作成し、このデータテーブルを不揮発性のメモリ素子からなるメモリ部50に記憶させておく。
That is, since a ready-made bathroom is generally used in either a detached house or an apartment house, diagonal elements μ i of the step gain matrix M are measured by measuring impulse responses in advance for each bathroom type (part number). It is possible to obtain an optimum value of (i = 1, 2,..., L). A data table in which the optimum value of the diagonal element μ i obtained in this way is associated with the product number of the bathroom is created, and this data table is stored in the
操作入力部51はテンキースイッチなどを具備し、施工者がテンキースイッチなどを操作して浴室の品番を入力することができるように構成されている。そして、操作入力部51で入力された浴室の品番(品番データ)が、CPUを主構成要素とする制御部52に出力される。制御部52は、操作入力部51から品番データを取り込むとメモリ部50のデータテーブルを参照して品番データに対応する対角要素μiの最適値データを読み出し、第1のエコーキャンセラ30Aの適応フィルタ31Aに対して、読み出した最適値データを対角要素μiに設定する。これにより、第1のエコーキャンセラ30Aの適応フィルタ31Aでは、設置場所である浴室に最適化されたステップゲイン行列でフィルタ係数を適応的に同定することができるから、収束時間をさらに短縮することができるものである。
The
但し、ステップゲイン行列Mの対角要素μiを、その最大値μ0、減衰率λ及び設定間隔Dの3つのパラメータにより階段状に近似し、浴室の種類に対応付けてこれら3つのパラメータの最適値をメモリ部50のデータテーブルに記憶しておき、操作入力部51で入力された品番に対応するパラメータを制御部52がメモリ部50から読み出して対角要素μiを算出するようにしても構わない。このような構成とすれば、メモリ部50に記憶するデータテーブル用の記憶領域を減らすことができるという利点がある。
However, the diagonal element μ i of the step gain matrix M is approximated in a staircase pattern by three parameters of the maximum value μ 0 , the attenuation factor λ, and the set interval D, and these three parameters are associated with the type of bathroom. The optimum value is stored in the data table of the
1 マイクロホン
2 スピーカ
10 音声スイッチ
30A 第1のエコーキャンセラ
31A 適応フィルタ
32A 減算器
DESCRIPTION OF
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004099436A JP4075835B2 (en) | 2004-03-30 | 2004-03-30 | Loudspeaker |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004099436A JP4075835B2 (en) | 2004-03-30 | 2004-03-30 | Loudspeaker |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005286796A true JP2005286796A (en) | 2005-10-13 |
JP4075835B2 JP4075835B2 (en) | 2008-04-16 |
Family
ID=35184701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004099436A Expired - Fee Related JP4075835B2 (en) | 2004-03-30 | 2004-03-30 | Loudspeaker |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4075835B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007194740A (en) * | 2006-01-17 | 2007-08-02 | Matsushita Electric Works Ltd | Loudspeaker call device |
JP2008288718A (en) * | 2007-05-15 | 2008-11-27 | Yamaha Corp | Sound echo canceler |
JP2010273316A (en) * | 2009-04-21 | 2010-12-02 | Panasonic Electric Works Co Ltd | Speakerphone |
JP2011151629A (en) * | 2010-01-21 | 2011-08-04 | Panasonic Electric Works Co Ltd | Speakerphone apparatus |
JP2012510779A (en) * | 2008-12-02 | 2012-05-10 | クゥアルコム・インコーポレイテッド | System and method for double-talk detection in acoustically harsh environments |
JP2013110510A (en) * | 2011-11-18 | 2013-06-06 | Nippon Telegr & Teleph Corp <Ntt> | Radio communication device, radio communication method, and radio communication program |
JP2013181978A (en) * | 2013-02-15 | 2013-09-12 | Toshiba Corp | Measuring device and measuring method |
CN107483762A (en) * | 2017-08-29 | 2017-12-15 | 苏州裕太车通电子科技有限公司 | A kind of echo cancelltion method and communication equipment based on wire communication |
-
2004
- 2004-03-30 JP JP2004099436A patent/JP4075835B2/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007194740A (en) * | 2006-01-17 | 2007-08-02 | Matsushita Electric Works Ltd | Loudspeaker call device |
JP4725330B2 (en) * | 2006-01-17 | 2011-07-13 | パナソニック電工株式会社 | Loudspeaker |
JP2008288718A (en) * | 2007-05-15 | 2008-11-27 | Yamaha Corp | Sound echo canceler |
JP2012510779A (en) * | 2008-12-02 | 2012-05-10 | クゥアルコム・インコーポレイテッド | System and method for double-talk detection in acoustically harsh environments |
JP2010273316A (en) * | 2009-04-21 | 2010-12-02 | Panasonic Electric Works Co Ltd | Speakerphone |
JP2011151629A (en) * | 2010-01-21 | 2011-08-04 | Panasonic Electric Works Co Ltd | Speakerphone apparatus |
JP2013110510A (en) * | 2011-11-18 | 2013-06-06 | Nippon Telegr & Teleph Corp <Ntt> | Radio communication device, radio communication method, and radio communication program |
JP2013181978A (en) * | 2013-02-15 | 2013-09-12 | Toshiba Corp | Measuring device and measuring method |
CN107483762A (en) * | 2017-08-29 | 2017-12-15 | 苏州裕太车通电子科技有限公司 | A kind of echo cancelltion method and communication equipment based on wire communication |
CN107483762B (en) * | 2017-08-29 | 2020-07-03 | 苏州裕太车通电子科技有限公司 | Echo cancellation method based on wired communication |
Also Published As
Publication number | Publication date |
---|---|
JP4075835B2 (en) | 2008-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8160239B2 (en) | Echo canceller and speech processing apparatus | |
JP4483761B2 (en) | Loudspeaker | |
JP5086769B2 (en) | Loudspeaker | |
JP2001077729A (en) | Automatic gain controller | |
JP2003324370A (en) | Echo canceler | |
JP4075835B2 (en) | Loudspeaker | |
US6608897B1 (en) | Double-talk insensitive NLMS algorithm | |
JP4650163B2 (en) | Loudspeaker | |
JP4475155B2 (en) | Echo canceller | |
JP2007274714A (en) | Echo canceller | |
JP3268572B2 (en) | Apparatus and method for canceling echo | |
JP4900185B2 (en) | Loudspeaker | |
JP4349194B2 (en) | Loudspeaker | |
JPH08256089A (en) | Echo canceler | |
JP2006067127A (en) | Method and apparatus of reducing reverberation | |
JP4725330B2 (en) | Loudspeaker | |
JPS634742B2 (en) | ||
JP4371002B2 (en) | Loudspeaker | |
JP3248551B2 (en) | Echo canceler | |
JP4131252B2 (en) | Loudspeaker | |
JP2005348147A (en) | Loud telephone conversation device | |
JP3941580B2 (en) | Loudspeaker | |
JPH11122144A (en) | Echo cancellation method and system | |
JP4380421B2 (en) | Loudspeaker | |
JP3248550B2 (en) | Echo canceler |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060719 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071002 |
|
A521 | Written amendment |
Effective date: 20071203 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
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: 20080108 |
|
A61 | First payment of annual fees (during grant procedure) |
Effective date: 20080121 Free format text: JAPANESE INTERMEDIATE CODE: A61 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110208 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 3 Free format text: PAYMENT UNTIL: 20110208 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120208 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 5 Free format text: PAYMENT UNTIL: 20130208 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 5 Free format text: PAYMENT UNTIL: 20130208 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20140208 |
|
LAPS | Cancellation because of no payment of annual fees |