JP2907706B2 - Voice switch control method used with echo canceller - Google Patents
Voice switch control method used with echo cancellerInfo
- Publication number
- JP2907706B2 JP2907706B2 JP34210093A JP34210093A JP2907706B2 JP 2907706 B2 JP2907706 B2 JP 2907706B2 JP 34210093 A JP34210093 A JP 34210093A JP 34210093 A JP34210093 A JP 34210093A JP 2907706 B2 JP2907706 B2 JP 2907706B2
- Authority
- JP
- Japan
- Prior art keywords
- echo
- echo canceller
- output
- epm
- spj
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Interconnected Communication Systems, Intercoms, And Interphones (AREA)
- Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、電話回線のエコー排除
機能を持つエコーキャンセラと併用される音声スイッチ
の制御方式に関し、特に、安定なスイッチ動作を行なわ
せるように制御するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control system for a voice switch used together with an echo canceller having an echo canceling function for a telephone line, and more particularly to a control system for performing a stable switch operation.
【0002】[0002]
【従来の技術】電話回線の2線式回線と4線式回線との
接続部では、インピーダンス不整合のために受信信号の
一部が送信側に漏れる、いわゆるエコーが発生する。同
様のエコーは電子会議システム等でも発生する。2. Description of the Related Art At a connection between a two-wire telephone line and a four-wire telephone line, a so-called echo occurs in which a part of a received signal leaks to a transmitting side due to impedance mismatch. A similar echo occurs in an electronic conference system or the like.
【0003】このエコーを抑圧する機能を持つエコーキ
ャンセラは、図2に示すように、受信入力端1から入力
した受信入力列Xjを記憶するシフトレジスタ31と、受
信出力端2から送信入力端4に至るエコー経路のインパ
ルス応答の推定値Hjを記憶するメモリ32と、受信入力
列Xjとエコーの推定値Hjとを畳込み演算して擬似エ
コーを発生する畳込み演算器33と、送信入力から擬似エ
コーを差引いた値を送信出力端8に出力する減算器34
と、エコーの推定値Hjを補正する制御部37と、この補
正のための演算を行なう乗算器35および加算器36とを備
えている。As shown in FIG. 2, an echo canceller having a function of suppressing this echo is provided with a shift register 31 for storing a reception input sequence Xj inputted from a reception input terminal 1 and a reception output terminal 2 to a transmission input terminal 4. A memory 32 for storing the estimated value Hj of the impulse response of the echo path leading to the input signal, a convolution calculator 33 for convolving the received input sequence Xj and the estimated value Hj of the echo to generate a pseudo echo, A subtractor 34 for outputting a value obtained by subtracting the pseudo echo to the transmission output terminal 8
And a control unit 37 for correcting the estimated value Hj of the echo, and a multiplier 35 and an adder 36 for performing an operation for this correction.
【0004】このエコーキャンセラは、受信入力端1か
ら受信入力xjが入力すると、それをシフトレジスタ31
にベクトルXjとして取り込む。受信入力xjは、同時
に受信出力端2から出力され、その一部がエコーYjと
なって送信入力端4に入力する。In this echo canceller, when a reception input xj is input from a reception input terminal 1, it is input to a shift register 31.
As a vector Xj. The reception input xj is output from the reception output terminal 2 at the same time, and a part of the reception input xj is input to the transmission input terminal 4 as an echo Yj.
【0005】送信入力端4には、その他に周囲騒音等を
も含む送信信号njが入力する。従って、送信入力端4
には、sj=Yj+njの信号が入力し、送信信号nj
は、エコー信号Yjに対する外乱として影響する。The transmission input terminal 4 receives a transmission signal nj including ambient noise and the like. Therefore, the transmission input terminal 4
, A signal of sj = Yj + nj is input, and a transmission signal nj
Affects as a disturbance to the echo signal Yj.
【0006】一方、エコーキャンセラ内部のメモリ32に
は、受信出力端2から送信入力端4に至るエコー経路の
推定インパルス応答がベクトルHjとして記憶されてお
り、畳込み演算器33は、このHjと受信入力列Xjとの
畳込み演算を行なって擬似エコーyjを発生する。On the other hand, an estimated impulse response of an echo path from the reception output terminal 2 to the transmission input terminal 4 is stored as a vector Hj in a memory 32 inside the echo canceller. A convolution operation with the received input sequence Xj is performed to generate a pseudo echo yj.
【0007】減算器34は、送信入力sjから擬似エコー
yjを差引いた残留エコーej=sj−yjを算出し、
これを送信出力端8から送信する。その結果、エコーの
戻りが抑制される。The subtracter 34 calculates a residual echo ej = sj-yj by subtracting the pseudo echo yj from the transmission input sj,
This is transmitted from the transmission output terminal 8. As a result, the return of the echo is suppressed.
【0008】次に、制御部37は、受信入力列の2乗ノル
ム値‖Xj‖2 を計算し、この値と減算器34から出力さ
れた残留エコーejとを用いて、推定値Hjの補正係数
α・ej/‖Xj‖2 を計算し、計算結果を乗算器35に
出力する。乗算器35は、シフトレジスタ31から出力され
た受信入力列ベクトルXjと前記補正係数とを掛合わ
せ、その結果を加算器36に出力し、加算器36は、推定イ
ンパルス列ベクトルHjに乗算器35の出力値を加え、こ
の加算値でメモリ32に記憶された推定値Hjを補正す
る。Next, the control unit 37 calculates a square norm value {Xj} 2 of the received input sequence, and corrects the estimated value Hj using this value and the residual echo ej output from the subtractor 34. The coefficient α · ej / {Xj} 2 is calculated, and the calculation result is output to the multiplier 35. The multiplier 35 multiplies the received input column vector Xj output from the shift register 31 by the correction coefficient and outputs the result to an adder 36. The adder 36 multiplies the estimated impulse column vector Hj by the multiplier 35. And the estimated value Hj stored in the memory 32 is corrected by the added value.
【0009】エコーキャンセラは、学習同定法と呼ばれ
るアルゴリズムにより、エコーを消去するための演算
と、推定値を補正するための演算とを交互に実行し、推
定値を真の値に漸次近づける。The echo canceller alternately executes an operation for canceling an echo and an operation for correcting an estimated value by an algorithm called a learning identification method, and gradually brings the estimated value closer to a true value.
【0010】エコーを消去する演算および推定値を補正
する演算は、次式(1)、(2)によって行なわれる。 エコー消去演算;The operation of canceling the echo and the operation of correcting the estimated value are performed by the following equations (1) and (2). Echo cancellation operation;
【数1】 推定値補正演算;(Equation 1) Estimated value correction operation;
【数2】 N : タップ数 xj : 受信入力 sj : 送信入力(=エコーyj+外乱nj) ej : 送信出力(=残留エコー) hj(m):推定インパルス応答(時刻j,mサンプル
目) α : ステップゲイン (0<α<2)。(Equation 2) N: number of taps xj: reception input sj: transmission input (= echo yj + disturbance nj) ej: transmission output (= residual echo) hj (m): estimated impulse response (time j, mth sample) α: step gain (0) <Α <2).
【0011】学習同定法の手順に従い、式(1)のエコ
ー消去演算と式(2)の推定値補正演算とを交互に実行
すると、送信信号njのレベルがエコーYjのレベルよ
り低い期間(シングルトークの期間)においては、Hj
は真のインパルス応答に漸近収束し、エコー抑圧効果が
増大する。When the echo cancellation operation of equation (1) and the estimation value correction operation of equation (2) are alternately performed in accordance with the procedure of the learning identification method, a period (single period) where the level of the transmission signal nj is lower than the level of the echo Yj Talk period), Hj
Converges asymptotically to the true impulse response, increasing the echo suppression effect.
【0012】また、受信入力xjのレベルが低下し、送
信信号njのレベルがエコーYjのレベルを上回る期間
は、ダブルトーク状態と呼ばれ、この期間に式(2)の
補正演算を行なうと推定値が大きく乱れる。そのため、
制御部37は、送信入力sjと送信出力ejとのレベル比
(Spj/Epj)を、シングルトーク時に測定された
送信入力と送信出力とのレベル比(打消量(Spm/E
pm))と比較し、前者が後者を下回ったときにはダブ
ルトーク状態と判定し、式(2)の補正演算を停止す
る。A period during which the level of the reception input xj decreases and the level of the transmission signal nj exceeds the level of the echo Yj is called a double talk state, and it is estimated that the correction operation of the equation (2) is performed during this period. The value is greatly disturbed. for that reason,
The control unit 37 determines the level ratio (Spj / Epj) of the transmission input sj and the transmission output ej to the level ratio of the transmission input and the transmission output measured during single talk (the cancellation amount (Spm / E
pm)), when the former falls below the latter, it is determined that a double talk state has occurred, and the correction calculation of Expression (2) is stopped.
【0013】このように、エコーキャンセラでは、送信
出力からエコー成分を打消すための擬似エコーが、推定
値の補正により、時間の経過と共に真のエコーの大きさ
に近づき、それに伴い、エコー抑制効果が急速に上昇す
る。しかし、エコー経路に回路雑音や非線形歪があると
打消量に制限を受けて大きな残留エコーが残る。また、
エコーキャンセラ電源の投入直後やエコー経路の変化直
後では打消量が減少して充分にエコーを抑圧することが
できない。As described above, in the echo canceller, the pseudo echo for canceling the echo component from the transmission output approaches the true echo size with the lapse of time due to the correction of the estimated value. Rise rapidly. However, if there is circuit noise or non-linear distortion in the echo path, the amount of cancellation is limited and a large residual echo remains. Also,
Immediately after turning on the echo canceller power supply or immediately after a change in the echo path, the amount of cancellation is reduced, and the echo cannot be sufficiently suppressed.
【0014】そのため、エコーキャンセラに音声スイッ
チを併設して、エコーキャンセラから出力される残留エ
コーejを更に抑圧することも行なわれている。この音
声スイッチは、受信回線の受信入力レベルxjとエコー
キャンセラから出力される送信回線の残留エコーレベル
ejとを比較し、レベルの小さい方の回線に大きなロス
(減衰)を挿入するもので、実質的に回線を一方向に絞
ることによってエコーの戻りを防止している。For this reason, a voice switch is provided in addition to the echo canceller to further suppress the residual echo ej output from the echo canceller. This voice switch compares the reception input level xj of the reception line with the residual echo level ej of the transmission line output from the echo canceller, and inserts a large loss (attenuation) into the line with the smaller level. The return of the echo is prevented by narrowing the line in one direction.
【0015】[0015]
【発明が解決しようとする課題】しかし、エコーキャン
セラと音声スイッチとを併用する従来のエコー抑圧方式
では、受信入力レベルや残留エコーレベルのレベル計算
およびそれらの比較判定に時間が掛かるため、送受信信
号レベルの変化に素早く追随して、挿入されている大き
なロスの切替えを行なうことができず、話の始めの音が
抑圧される、いわゆる話頭切れが発生する。However, in the conventional echo suppression system using both an echo canceller and a voice switch, it takes time to calculate the level of the received input level and the residual echo level and to compare and judge them. Switching of the inserted large loss cannot be performed quickly following the level change, and the sound at the beginning of the speech is suppressed, that is, a so-called break of the beginning of the speech occurs.
【0016】また、エコー経路に大きな遅延がある場合
には、受信入力レベルと残留エコーレベルの変化に時間
的ズレが起きるため、ロスの挿入時期の選択に誤りが生
じるという問題点を有している。Further, when there is a large delay in the echo path, there is a problem in that a change in the received input level and the residual echo level causes a time lag, so that an error occurs in selection of the insertion time of the loss. I have.
【0017】また、エコーキャンセラと併用する音声ス
イッチでは、ダブルトーク状態のときにロスの挿入をオ
フにする必要があるが、このダブルトークの検出を、送
信入力sjおよび送信出力ejのレベル比(Spj/E
pj)と、打消量(Spm/Epm)とを比較する従来
の方式で行なう場合には、打消量が上限付近にまで収束
している状態では、送信信号njに含まれる周囲雑音の
僅かな変動によっても検出結果が違って現れる。そのた
め頻繁にダブルトークとシングルトークとが切替わり、
音声スイッチは、それに連動して不安定にオン/オフを
繰返す動作を行ない、安定してエコーを抑圧することが
できない。In a voice switch used in combination with an echo canceller, it is necessary to turn off insertion of a loss in a double talk state. The detection of the double talk is determined by the level ratio of the transmission input sj and the transmission output ej ( Spj / E
pj) and the amount of cancellation (Spm / Epm), when the conventional method is used, when the amount of cancellation converges to near the upper limit, slight fluctuations in the ambient noise included in the transmission signal nj And the detection result appears differently. For that reason, double talk and single talk are frequently switched,
The voice switch performs an unstable on / off operation in conjunction with the voice switch, and cannot stably suppress the echo.
【0018】本発明は、こうした従来の問題点を解決す
るものであり、エコー経路の遅延の影響を受けずに、ま
た、話頭切れを発生させずに、安定したスイッチ動作に
よって残留エコーを抑圧することができる音声スイッチ
の制御方式を提供することを目的としている。The present invention solves such a conventional problem, and suppresses the residual echo by a stable switch operation without being affected by the delay of the echo path and without causing the start of speech. It is an object of the present invention to provide a control method of a voice switch that can be used.
【0019】[0019]
【課題を解決するための手段】そこで、本発明では、エ
コーキャンセラと併用する音声スイッチの制御方式にお
いて、シングルトーク時のエコー信号を含む送信信号レ
ベルSpjとエコーキャンセラの出力信号レベルEpj
との比を打消量(EpM/SpM)として記憶し、予め
定めたエコー抑圧量に対してこの打消量で不足する分を
挿入ロスLOSSとして求め、その後に入力する送信信
号レベルSpjとエコーキャンセラの出力信号レベルE
pjとの比(Spj/Epj)と打消量(EpM/Sp
M)とを比較して、0<C1<C2<1の関係にあると
き、(1)Spj/Epj≦C1*(SpM/EpM)
の場合には、エコーキャンセラにおける推定値の補正を
停止し、音声スイッチから、エコーキャンセラの出力を
そのまま出力させ、(2)C1*(SpM/EpM)<
Spj/Epj<C2*(SpM/EpM)の場合に
は、エコーキャンセラにおける推定値の補正を停止し、
音声スイッチから、エコーキャンセラの出力に前記挿入
ロスLOSSを付加して出力させ、(3)Spj/Ep
j≧C2*(SpM/EpM)の場合には、エコーキャ
ンセラにおいて推定値の補正を行なわせ、音声スイッチ
から、エコーキャンセラの出力に前記挿入ロスLOSS
を付加して出力させる制御を行なっている。Therefore, in the present invention, in a control method of a voice switch used together with an echo canceller, a transmission signal level Spj including an echo signal at the time of single talk and an output signal level Epj of the echo canceller are provided.
Is stored as the amount of cancellation (EpM / SpM), the shortage of the predetermined amount of echo suppression with the amount of cancellation is determined as the insertion loss LOSS, and the transmission signal level Spj and the echo canceller of the echo canceller subsequently input. Output signal level E
pj and the amount of cancellation (EpM / Spj)
M) and when 0 <C 1 <C 2 <1, (1) Spj / Epj ≦ C 1 * (SpM / EpM)
In the case of ( 1 ), the correction of the estimated value in the echo canceller is stopped, and the output of the echo canceller is directly output from the voice switch, and (2) C 1 * (SpM / EpM) <
If Spj / Epj <C 2 * (SpM / EpM), stop the correction of the estimated value in the echo canceller,
(3) Spj / Ep is output from the voice switch by adding the insertion loss LOSS to the output of the echo canceller.
When j ≧ C 2 * (SpM / EpM), the estimated value is corrected in the echo canceller, and the insertion loss LOSS is output from the voice switch to the output of the echo canceller.
Is added and output is performed.
【0020】[0020]
【作用】この制御方式では、エコー経路の遅延による影
響を受けないデータを選んで音声スイッチの制御を行な
っている。従って、その制御がエコー経路の遅延によっ
て狂わされる虞れが無い。In this control method, the voice switch is controlled by selecting data which is not affected by the delay of the echo path. Therefore, there is no possibility that the control is disturbed by the delay of the echo path.
【0021】また、挿入ロスLOSS量は、所望のエコ
ー抑圧量を得るためにエコーキャンセラのエコー抑圧量
を補う必要のある最小限の量に限定している。従って、
会話の冒頭の音声信号が挿入ロスによって減衰されるこ
とがあったとしても、その量は僅かであるため、話頭切
れの発生が回避できる。Further, the insertion loss LOSS amount is limited to a minimum amount that needs to compensate for the echo suppression amount of the echo canceller in order to obtain a desired echo suppression amount. Therefore,
Even if the speech signal at the beginning of the conversation is attenuated by the insertion loss, the amount is small, so that the occurrence of the beginning of the talk can be avoided.
【0022】また、エコーキャンセラの出力に対して挿
入ロスLOSSの付与を停止する基準点を、エコーキャ
ンセラがダブルトークと判定する基準点よりもさらに低
い位置に定めている。従って、周囲雑音の僅かな変化に
より、ダブルトークとシングルトークとが頻繁に切替わ
る状態のときには、音声スイッチは、エコーキャンセラ
の出力に対して安定して挿入ロスLOSSを付与し続
け、完全にダブルトーク状態に達した時点で挿入ロスL
OSSの付与が停止される。Further, the reference point at which the application of the insertion loss LOSS to the output of the echo canceller is stopped is set to a position lower than the reference point at which the echo canceller determines that double talk is performed. Therefore, when the double talk and the single talk are frequently switched due to a slight change in the ambient noise, the voice switch continues to apply the insertion loss LOSS stably to the output of the echo canceller, and complete the double double talk. When the talk state is reached, the insertion loss L
The application of the OSS is stopped.
【0023】[0023]
【実施例】本発明の制御方式を実施する音声スイッチ
は、図1に示すように、挿入ロスの量を算出すると共に
そのロスを挿入するかどうを判定する挿入ロス算出部5
と、挿入ロス算出部5で算出された値の減衰量をエコー
キャンセラ3の送信出力に加える可変減衰部6と、挿入
ロス算出部5の判定結果に基づいて送信出力へのロス挿
入をオン/オフするスイッチ7とを備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 1, an audio switch implementing a control method of the present invention calculates an insertion loss amount and determines whether to insert the loss.
A variable attenuator 6 for adding the attenuation of the value calculated by the insertion loss calculator 5 to the transmission output of the echo canceller 3; and turning on / off insertion of a loss into the transmission output based on the determination result of the insertion loss calculator 5. And a switch 7 for turning off.
【0024】エコーキャンセラ3は、受信入力端1から
受信入力xjが入力すると、これを取込み、先に説明し
た動作によって、擬似エコーを生成する。The echo canceller 3 receives the input xj from the input terminal 1 and takes it in, and generates a pseudo echo by the operation described above.
【0025】受信入力xjは、受信出力端2から出力さ
れるが、その一部がエコーYjとなって送信入力端4に
入力する。送信入力端4には、抑圧すべきエコー信号Y
jの他に、抑圧してはならない送信信号njが重畳して
入力し、結果的に、送信入力端4からは送信入力sj=
nj+Yjが入力する。The reception input xj is output from the reception output terminal 2, and a part of the reception input xj is input to the transmission input terminal 4 as an echo Yj. The transmission input terminal 4 has an echo signal Y to be suppressed.
j, a transmission signal nj which should not be suppressed is superimposed and input. As a result, the transmission input sj =
nj + Yj is input.
【0026】エコーキャンセラ3は、送信入力sjから
擬似エコーを減算した残留エコーejを出力する。同時
にエコーキャンセラ3は、シングルトーク状態(受信入
力xjのレベルが十分大きく、そのためにエコーYjの
レベルが送信信号njのレベルを大きく上回る場合)の
とき、残留エコーejの二乗値が最小となるように、記
憶している推定インパルス応答を逐次補正する。この補
正により、推定インパルス応答が真の値に向かって収束
され、それに伴って残留エコーejの電力が低下し、エ
コーが抑圧される。The echo canceller 3 outputs a residual echo ej obtained by subtracting a pseudo echo from the transmission input sj. At the same time, when the echo canceller 3 is in the single talk state (when the level of the reception input xj is sufficiently large and the level of the echo Yj greatly exceeds the level of the transmission signal nj), the square value of the residual echo ej is minimized. Then, the stored estimated impulse response is sequentially corrected. By this correction, the estimated impulse response converges toward the true value, and accordingly, the power of the residual echo ej decreases, and the echo is suppressed.
【0027】このようなエコーキャンセラ3の性能を表
わす量として、シングルトーク状態における送信入力s
jのレベルSpjと、残留エコーejのレベルEpjと
の比を表わした「打消量SpM/EpM」を定義する。
この打消量は、シングルトーク状態における複数のサン
プル値の平均レベルとして求めることができ、或いは、
エコーが充分に抑圧されたシングルトーク状態における
サンプルの送信入力レベルと残留エコーレベルとから求
めることができる。また、打消量SpM/EpMは、必
要に応じて、所定時間が経過した後のシングルトーク期
間において更新することができる。なお、添字のMは、
シングルトーク状態において記憶され、ダブルトーク状
態では変化しない量であることを表わしている。The quantity representing the performance of the echo canceller 3 includes a transmission input s in a single talk state.
The “cancellation amount SpM / EpM” that represents the ratio between the level Spj of j and the level Epj of the residual echo ej is defined.
This cancellation amount can be obtained as an average level of a plurality of sample values in the single talk state, or
It can be obtained from the transmission input level of the sample and the residual echo level in the single talk state where the echo is sufficiently suppressed. Further, the cancellation amount SpM / EpM can be updated in a single talk period after a lapse of a predetermined time, if necessary. The subscript M is
The amount is stored in the single talk state and does not change in the double talk state.
【0028】推定インパルス応答の補正は、ダブルトー
ク状態の下では送信信号njによって推定値が乱される
ので、この状態のときには行なわない。このダブルトー
ク状態を判定するため、エコーキャンセラ3は、そのと
きの送信入力レベルSpjと残留エコーレベルEpjと
の比(Spj/Epj)が次式(3)の関係を満たすか
どうかを調べる。これを満たすときは、ダブルトーク状
態と判定し、前記補正演算の実行を停止する。The correction of the estimated impulse response is not performed in the double talk state because the estimated value is disturbed by the transmission signal nj in this state. In order to determine the double talk state, the echo canceller 3 checks whether or not the ratio (Spj / Epj) between the transmission input level Spj and the residual echo level Epj at that time satisfies the following equation (3). When this is satisfied, it is determined that the state is the double talk state, and the execution of the correction calculation is stopped.
【0029】 Spj/Epj<C2*(SpM/EpM),C2=1/2 (3) 一方、挿入ロス算出部5は、送信入力信号sjとエコー
キャンセラ3の出力信号ejとを受けて、送信入力信号
レベルSpjとエコーキャンセラの出力信号レベルEp
jとを計算し、これらを基にシングルトーク時における
SpjとEpjとの比を表わす打消量SpM/EpMを
求め、それを記憶する。Spj / Epj <C 2 * (SpM / EpM), C 2 = 1/2 (3) On the other hand, the insertion loss calculator 5 receives the transmission input signal sj and the output signal ej of the echo canceller 3. , The transmission input signal level Spj and the output signal level Ep of the echo canceller
j is calculated, and the cancellation amount SpM / EpM representing the ratio of Spj and Epj at the time of single talk is calculated based on these j and is stored.
【0030】次いで、挿入ロス算出部5は、挿入ロスL
OSSを次式(4)によって決定する。Next, the insertion loss calculator 5 calculates the insertion loss L
OSS is determined by the following equation (4).
【0031】 LOSS=L*(SpM/EpM),L=10-(50/20) (4) ここで、Lは、このシステム、つまり、エコーキャンセ
ラ3および音声スイッチ、の双方の働きによってエコー
を抑圧しようとする所望のエコー抑圧量であり、LOS
Sは、Lを得るためにエコーキャンセラ3の抑圧だけで
は不足する分を表わしている。LOSS = L * (SpM / EpM), L = 10 − (50/20) (4) Here, L represents an echo by the action of both the system, ie, the echo canceller 3 and the voice switch. The desired amount of echo suppression to be suppressed, LOS
S represents an amount that is insufficient to suppress the echo canceller 3 alone to obtain L.
【0032】さらに、挿入ロス算出部5は、新たに入力
した送信入力信号sjおよびエコーキャンセラ3の出力
信号ejのレベル比(Spj/Epj)と、打消量Sp
M/EpMとを次式(5)によって比較し、それを基
に、式(4)で求めた挿入ロスLOSSを実際に与える
かどうかを判定する。Further, the insertion loss calculator 5 calculates the level ratio (Spj / Epj) of the newly input transmission input signal sj and the output signal ej of the echo canceller 3 and the cancellation amount Sp.
M / EpM is compared by the following equation (5), and based on the comparison, it is determined whether or not the insertion loss LOSS calculated by the equation (4) is actually given.
【0033】 Spj/Epj<C1*(SpM/EpM),C1=1/4 (5) 式(5)を満たすときは、完全なダブルトーク状態であ
るから、エコーキャンセラ3の出力に対して挿入ロスL
OSSは与えない。逆に、式(5)を満たさないときに
は、挿入ロスLOSSを与える。Spj / Epj <C 1 * (SpM / EpM), C 1 = 1/4 (5) When the expression (5) is satisfied, a complete double talk state is established. Insertion loss L
No OSS is given. Conversely, when the equation (5) is not satisfied, an insertion loss LOSS is given.
【0034】スイッチ7は、挿入ロス算出部5の式
(5)による判定結果を踏まえて、式(5)が成立つと
きは、エコーキャンセラ3の出力をそのまま送信出力端
8に出力し、式(5)が成立たないときは、可変減衰部
6で減衰されたエコーキャンセラ3の出力を送信出力端
8に出力する。The switch 7 outputs the output of the echo canceller 3 to the transmission output terminal 8 as it is when the equation (5) is satisfied, based on the determination result of the equation (5) by the insertion loss calculator 5, and If (5) does not hold, the output of the echo canceller 3 attenuated by the variable attenuator 6 is output to the transmission output terminal 8.
【0035】従って、エコーキャンセラ3および音声ス
イッチは、新たに入力する送信信号レベルSpjおよび
エコーキャンセラ3の出力信号レベルEpjの比(Sp
j/Epj)の大きさに応じて、次の3段階の動作を行
なう(但し、0<C1<C2<1の関係にあるものとす
る)。 (1)Spj/Epj≦C1*(SpM/EpM)の
時、完全なダブルトークであり、エコーキャンセラ3
は、推定値の補正を停止し、音声スイッチは、エコーキ
ャンセラ3の出力をそのまま出力する。 (2)C1*(SpM/EpM)<Spj/Epj<C2
*(SpM/EpM)の時、エコーキャンセラ3は、ダ
ブルトークと判定して推定値の補正を停止する。音声ス
イッチは、エコーキャンセラ3の出力に対して、式
(5)で求めた挿入ロスLOSSを加えて出力する。 (3)Spj/Epj≧C2*(SpM/EpM)の
時、エコーキャンセラ3は、シングルトークと判定して
推定値の補正を行ない、音声スイッチは、エコーキャン
セラ3の出力に式(5)で求めた挿入ロスLOSSを加
えて出力する。Accordingly, the echo canceller 3 and the voice switch provide the ratio (Sp) between the newly input transmission signal level Spj and the output signal level Epj of the echo canceller 3.
The following three-stage operation is performed according to the magnitude of (j / Epj) (provided that 0 <C 1 <C 2 <1). (1) When Spj / Epj ≦ C 1 * (SpM / EpM), complete double talk is performed, and echo canceller 3
Stops the correction of the estimated value, and the voice switch outputs the output of the echo canceller 3 as it is. (2) C 1 * (SpM / EpM) <Spj / Epj <C 2
In the case of * (SpM / EpM), the echo canceller 3 determines double talk and stops correcting the estimated value. The voice switch outputs the output of the echo canceller 3 by adding the insertion loss LOSS calculated by the equation (5). (3) When Spj / Epj ≧ C 2 * (SpM / EpM), the echo canceller 3 determines that the signal is a single talk and corrects the estimated value. The insertion loss LOSS calculated in step (1) is added and output.
【0036】このように、実施例の制御方式では、エコ
ーキャンセラ3の出力に対して挿入ロスLOSSの付与
を停止する基準点を、エコーキャンセラ3がダブルトー
クと判定する基準点よりもさらに低い位置に定めてい
る。その結果、周囲雑音の変化等により、ダブルトーク
とシングルトークとが頻繁に切替わる状態のときには、
音声スイッチは、エコーキャンセラ3の出力に対して安
定して挿入ロスLOSSを付与し続け、完全にダブルト
ーク状態に達した時点で挿入ロスLOSSの付与を停止
する。As described above, in the control method of the embodiment, the reference point at which the application of the insertion loss LOSS to the output of the echo canceller 3 is stopped is lower than the reference point at which the echo canceller 3 determines that double talk is performed. Stipulated. As a result, when double talk and single talk are frequently switched due to changes in ambient noise, etc.,
The audio switch stably applies the insertion loss LOSS to the output of the echo canceller 3, and stops applying the insertion loss LOSS when the double talk state is completely reached.
【0037】また、この音声スイッチでは、エコー経路
で繋がれた二つの回線の内、送信入力端4側の回線のデ
ータのみを用いて、挿入ロスの算出、ダブルトーク状態
の判定およびロス挿入停止時期の判定等を行なってい
る。そのため、音声スイッチの動作は、エコー経路の遅
延による影響を全く受けない。In this voice switch, of only two lines connected by the echo path, data of the line on the transmission input terminal 4 side is used to calculate an insertion loss, determine a double talk state, and stop loss insertion. The timing is determined. Therefore, the operation of the voice switch is completely unaffected by the echo path delay.
【0038】また、この音声スイッチでは、挿入ロスL
OSSとして、エコーキャンセラ3のエコー抑圧量を補
うための必要最小限の減衰量を設定している。そのた
め、ロスの挿入時期がズレて、会話の開始時期と多少重
なったとしても音声信号を大きく減衰することが避けら
れ、話頭切れの発生を回避することができる。In this voice switch, the insertion loss L
As the OSS, a minimum necessary attenuation for compensating the echo suppression amount of the echo canceller 3 is set. Therefore, even if the insertion time of the loss is shifted and slightly overlaps with the start time of the conversation, it is possible to avoid a large attenuation of the audio signal, and to avoid occurrence of the beginning of the talk.
【0039】[0039]
【発明の効果】以上の実施例の説明から明らかなよう
に、本発明の音声スイッチの制御方式では、エコー経路
の遅延による影響を受けずに、スイッチ動作を行なわせ
ることができる。As is apparent from the above description of the embodiment, in the voice switch control method of the present invention, the switch operation can be performed without being affected by the delay of the echo path.
【0040】また、エコーキャンセラの打消量が上限付
近にまで収束した状態においても、安定して音声スイッ
チを動作させることができる。Further, even when the cancellation amount of the echo canceller has converged to near the upper limit, the voice switch can be operated stably.
【0041】さらに、話頭切れの発生が回避でき、通話
品質の劣化を防ぐことができる。Further, it is possible to avoid occurrence of the beginning of a talk, and to prevent deterioration of speech quality.
【図1】本発明の制御方式を実施する音声スイッチの構
成を示すブロック図、FIG. 1 is a block diagram illustrating a configuration of a voice switch that implements a control method according to the present invention;
【図2】従来のエコーキャンセラの構成を示すブロック
図である。FIG. 2 is a block diagram showing a configuration of a conventional echo canceller.
1 受信入力端 2 受信出力端 3 エコーキャンセラ 31 受信位置列Xjを記憶するシフトレジスタ 32 エコー経路の推定インパルス応答Hjを記憶するメ
モリ 33 畳込み演算器 34 減算器 35 乗算器 36 加算器 37 制御部 4 送信入力端 5 挿入ロス算出部 6 可変減衰部 7 スイッチ 8 送信出力端Reference Signs List 1 reception input terminal 2 reception output terminal 3 echo canceller 31 shift register storing reception position sequence Xj 32 memory storing estimated impulse response Hj of echo path 33 convolution calculator 34 subtractor 35 multiplier 36 adder 37 controller 4 Transmission input terminal 5 Insertion loss calculator 6 Variable attenuation unit 7 Switch 8 Transmission output terminal
Claims (1)
チの制御方式において、 シングルトーク時のエコー信号を含む送信信号レベルS
pjとエコーキャンセラの出力信号レベルEpjとの比
を打消量(EpM/SpM)として記憶し、 予め定めたエコー抑圧量に対して前記打消量で不足する
分を挿入ロスLOSSとして求め、 その後に入力する送信信号レベルSpjと前記エコーキ
ャンセラの出力信号レベルEpjとの比(Spj/Ep
j)と前記打消量(EpM/SpM)とを比較して、0
<C1<C2<1の関係にあるとき、 Spj/Epj≦C1*(SpM/EpM)の場合に
は、前記エコーキャンセラにおける推定値の補正を停止
し、音声スイッチから、前記エコーキャンセラの出力を
そのまま出力させ、 C1*(SpM/EpM)<Spj/Epj<C2*(S
pM/EpM)の場合には、前記エコーキャンセラにお
ける推定値の補正を停止し、音声スイッチから、前記エ
コーキャンセラの出力に前記挿入ロスLOSSを付加し
て出力させ、 Spj/Epj≧C2*(SpM/EpM)の場合に
は、前記エコーキャンセラにおいて推定値の補正を行な
わせ、音声スイッチから、前記エコーキャンセラの出力
に前記挿入ロスLOSSを付加して出力させることを特
徴とする音声スイッチ制御方式。1. A control method of a voice switch used together with an echo canceller, wherein a transmission signal level S including an echo signal at the time of single talk is provided.
The ratio between pj and the output signal level Epj of the echo canceller is stored as the amount of cancellation (EpM / SpM), and the shortage of the predetermined amount of echo suppression relative to the amount of cancellation is obtained as the insertion loss LOSS. The ratio (Spj / Ep) of the transmission signal level Spj to be output to the output signal level Epj of the echo canceller
j) and the cancellation amount (EpM / SpM),
If the relationship of <C 1 <C 2 <1, and if Spj / Epj ≦ C 1 * (SpM / EpM), the correction of the estimated value in the echo canceller is stopped, and the echo switch is switched from the voice switch to the echo canceller. Is output as it is, and C 1 * (SpM / EpM) <Spj / Epj <C 2 * (S
In the case of (pM / EpM), the correction of the estimated value in the echo canceller is stopped, and the output of the echo canceller is added with the insertion loss LOSS from the voice switch to be output. Spj / Epj ≧ C 2 * ( In the case of (SpM / EpM), the echo canceller corrects an estimated value, and a voice switch outputs the echo canceller with the insertion loss LOSS added thereto. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34210093A JP2907706B2 (en) | 1993-12-14 | 1993-12-14 | Voice switch control method used with echo canceller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP34210093A JP2907706B2 (en) | 1993-12-14 | 1993-12-14 | Voice switch control method used with echo canceller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07170337A JPH07170337A (en) | 1995-07-04 |
| JP2907706B2 true JP2907706B2 (en) | 1999-06-21 |
Family
ID=18351160
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP34210093A Expired - Fee Related JP2907706B2 (en) | 1993-12-14 | 1993-12-14 | Voice switch control method used with echo canceller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2907706B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3139405B2 (en) * | 1997-02-28 | 2001-02-26 | 日本電気株式会社 | Echo canceller |
| JP4503158B2 (en) * | 2000-09-25 | 2010-07-14 | 京セラ株式会社 | Echo canceller |
| CN109961797B (en) * | 2017-12-25 | 2023-07-18 | 阿里巴巴集团控股有限公司 | Echo cancellation method, device and electronic equipment |
-
1993
- 1993-12-14 JP JP34210093A patent/JP2907706B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07170337A (en) | 1995-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0667700B1 (en) | Echo cancelling method and apparatus using fast projection scheme | |
| US5289539A (en) | Echo canceller using impulse response estimating method | |
| JP4011288B2 (en) | Double talk detector, echo canceller using double talk detector, and echo suppressor using double talk detector | |
| WO1995031052A1 (en) | Echo canceler and echo path estimating method | |
| JPH04286218A (en) | Echo canceling system | |
| WO1999014868A1 (en) | Echo elimination method, echo canceler and voice switch | |
| JPH0879136A (en) | Echo canceler | |
| JP4457639B2 (en) | Echo canceller | |
| JP3139405B2 (en) | Echo canceller | |
| JPWO2000051262A1 (en) | Double-talk detection device, echo canceller using double-talk detection device, and echo suppressor using double-talk detection device | |
| US6757384B1 (en) | Robust double-talk detection and recovery in a system for echo cancelation | |
| US6947550B2 (en) | Acoustic echo cancellation | |
| JP2907706B2 (en) | Voice switch control method used with echo canceller | |
| JP3002374B2 (en) | Control method of voice switch used together with echo canceller | |
| JP3982823B2 (en) | Audio processing apparatus, audio processing method, and audio processing program | |
| JP3145269B2 (en) | Echo canceller control method | |
| JPS6222290B2 (en) | ||
| JP3386327B2 (en) | Echo canceller | |
| JP3244416B2 (en) | Echo canceller | |
| JP3248551B2 (en) | Echo canceler | |
| JPH07226697A (en) | Echo canceller, echo canceller, and handset having echo canceller | |
| JP3452341B2 (en) | Echo canceller | |
| JP3631459B2 (en) | Echo canceller | |
| JP2551869B2 (en) | Echo canceller | |
| JP2841952B2 (en) | Echo cancellation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080402 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090402 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100402 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 12 Free format text: PAYMENT UNTIL: 20110402 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120402 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |