JPH03109828A - Method and instrument for measuring flat delay length, echo canceller and telephone set terminal - Google Patents

Method and instrument for measuring flat delay length, echo canceller and telephone set terminal

Info

Publication number
JPH03109828A
JPH03109828A JP24629289A JP24629289A JPH03109828A JP H03109828 A JPH03109828 A JP H03109828A JP 24629289 A JP24629289 A JP 24629289A JP 24629289 A JP24629289 A JP 24629289A JP H03109828 A JPH03109828 A JP H03109828A
Authority
JP
Japan
Prior art keywords
echo
signal
delay length
flat delay
flat
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.)
Pending
Application number
JP24629289A
Other languages
Japanese (ja)
Inventor
Gichu Ota
義注 太田
Tomohiro Ezaki
智宏 江崎
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP24629289A priority Critical patent/JPH03109828A/en
Publication of JPH03109828A publication Critical patent/JPH03109828A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain accurate measurement even in calling by inputting plural sinusoidal wave signals in mutually prime frequency relation to the input section of an echo path, detecting the signals at the output section of the echo path and measuring the flat delay length depending on the time difference. CONSTITUTION:A means 7 generating two sinusoidal wave signals in prime frequency relation to each other is provided on the input of an echo path and a means 8 detecting the two sinusoidal wave signals is provided on the output of the echo path and the flat delay length of the echo path is measured by a flat delay length measuring circuit 9 depending on the time difference between a generated signal and a detected signal. Thus, the length is detected even in calling without giving any unpleasant feeling to talkers, no calculation processing is required, and the method and instrument for measuring the flat delay length capable of measuring the flat delay length with inexpensive hardware constitution are realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電話伝送路の平坦遅延長の計測方法およびこ
の計測方法により得た平坦遅延長をもとに構成される電
話伝送路の反響音を消去する反響消去装置ならびに電話
端末に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for measuring the flat delay length of a telephone transmission line, and a method for measuring the echo of the telephone transmission line constructed based on the flat delay length obtained by this measuring method. The present invention relates to an echo canceling device for canceling sound and a telephone terminal.

〔従来の技術〕[Conventional technology]

電話回線における音声伝送は、2線双方向線路と、1組
の単方向線路からなる4線線路とで構成される回路網に
よって行なわれる。2線と4線線路間の接続は、ハイブ
リッド変成器あるいはハイ1、/リッド変換回路によっ
てなされる。
Voice transmission on a telephone line is carried out by a circuit network consisting of a two-wire bidirectional line and a four-wire line consisting of a set of unidirectional lines. The connection between the 2-wire and 4-wire lines is made by a hybrid transformer or high 1/lid conversion circuit.

しかし、これらは、全周波数帯域にわたってインピーダ
ンスが整合した状態で動作することが困難であるため、
2線と4線線路の接続点において反響(エコー)を生ず
る。
However, it is difficult for these to operate with impedance matching over the entire frequency band, so
An echo is produced at the junction of the 2-wire and 4-wire lines.

また、IE電話端末おける送話および受話の単方向線路
においても、送話器から受話器への音響結合による廻り
込み反響を生ずる。特にマイクおよびスピーカを用いた
ハンズフリー電話端末においては、大きな反響を生ずる
Also, in the unidirectional lines for sending and receiving calls in IE telephone terminals, wrap-around echoes occur due to acoustic coupling from the transmitter to the receiver. In particular, hands-free telephone terminals that use microphones and speakers cause a great reaction.

これらの結果、1つの単方向線路上の音声信号の一部が
、他の単方向線路を通って送話者に送り戻される。つま
り、回路網で信号の一部ループが形成され、−巡利得が
1を越えればハウリング、1以下では反餐音妨害を生ず
ることになる。
As a result, a portion of the audio signal on one unidirectional line is sent back to the speaker through the other unidirectional line. In other words, a partial loop of the signal is formed in the circuit network, and if the loop gain exceeds 1, it will cause howling, and if it is less than 1, it will cause noise interference.

近距離通話あるいは音響経路が短い場合には、話者の口
からの発声と耳までのフィードバックの遅延は極めて短
いので、音響音は気付かれず、特に問題とならない。と
ころが、長距離通話、例えば、通信衛星を介しての通話
あるいは会議室でのハンズフリー通話(会議電話)では
、音声信号とこれに対応して生じた反響音の間に大きな
遅延を生じ、これが通話感に大きな影響を及ぼす。
In short-distance calls or when the acoustic path is short, the delay between the speech from the speaker's mouth and the feedback to the ear is so short that the acoustic sound is unnoticeable and poses no particular problem. However, long-distance calls, such as calls via communications satellites or hands-free calls in conference rooms (conference calls), result in large delays between the voice signal and the corresponding echoes. It has a big impact on the feel of the call.

従って、これら反響音は、除去されなければならない。Therefore, these echoes must be removed.

反響音を除去する方法は、すでに種々提案されている。Various methods for removing echo sounds have already been proposed.

。これらは、大きく2つに分類される。1つは反響音を
抑圧、1つは反響音を消去する方法である。
. These are broadly classified into two types. One method is to suppress reverberant sounds, and the other is to eliminate reverberant sounds.

前者は、1対の単方向線路上のエネルギレベルを比較し
、それぞれの線路上に設けられたスイッチを相補的に制
御するものである。つまり、送話、受話をエネルギレベ
ルの比較で交互に自動的に切り換えるものである。この
方法では、原理的に通話品質の劣化(語頭、語尾の切断
)が避けられない。
The former method compares the energy levels on a pair of unidirectional lines and controls switches provided on each line in a complementary manner. In other words, the system automatically switches between sending and receiving calls based on a comparison of energy levels. In principle, with this method, deterioration in speech quality (cutting off the beginnings and endings of words) is unavoidable.

後者は、−の単方向線路上の信号からディジタルフィル
タによって反響の複製を作成し、他の単方向線路上の反
響で乱された信号からこれを差し引くことにより反響を
消去するものである。この方法は、前者に比べより効果
的で高品質であるが、ハードウェア規模は大きい。これ
は、次のような理由による。
The latter method uses a digital filter to create a replica of the echo from the signal on the - unidirectional line, and subtracts it from the signal disturbed by the echo on the other unidirectional line, thereby canceling the echo. This method is more effective and has higher quality than the former, but the hardware scale is large. This is due to the following reasons.

反響の複製には、単方向線路上の信号を用いてディジタ
ルフィルタのタップ係数をy4整する必要がある。この
フィルタのインパルス応答は、反響経路の応答を総合し
たものでなければならない。
To reproduce the echo, it is necessary to adjust the tap coefficients of the digital filter by y4 using the signal on the unidirectional line. The impulse response of this filter must be the sum of the echo path responses.

つまり、フィルタの遅延線路は、反響経路と同じ長さ(
遅延時間の意味)でなければならない。このことは、多
数のタップ係数を調整する必要があり、このためには、
高い計算能力が必要となる。
In other words, the delay line of the filter has the same length as the echo path (
(meaning of delay time). This requires adjusting a large number of tap coefficients, and for this,
High computational ability is required.

例えば、国際電話のように反響経路が400m5長で、
音声信号が8 kHzで標本化されるものとすると、こ
のディジタルフィルタのタップ係数は3200であり、
フィルタ計算と係数の調整におよそ10000回/12
5μSの乗算が必要となる。そして、この計算に要する
ハードウェアの規模は、膨大なものとなる。
For example, like an international phone call, the echo path is 400m5 long.
Assuming that the audio signal is sampled at 8 kHz, the tap coefficients of this digital filter are 3200,
Approximately 10,000 times/12 for filter calculation and coefficient adjustment
A multiplication of 5 μS is required. The scale of hardware required for this calculation is enormous.

ところで、反響経路のインパルス応答は、平坦の遅延と
これに続くハイブリッド変成器等の煙いインパルス応答
で近似できる。特に、国際回線では、地上衛星間の電波
伝搬遅延がインパルス応答長のほとんどで、これは平坦
な遅延である。
Incidentally, the impulse response of the echo path can be approximated by a flat delay followed by a smoke impulse response such as a hybrid transformer. In particular, in international links, most of the impulse response length is due to radio wave propagation delay between terrestrial satellites, which is a flat delay.

この平坦な遅延が正確に調整されれば、音声伝送回路網
における反響消去装置に要求される計算能力を著しく削
減することができる。例えば、ハイブリッド変成器のイ
ンパルス応答長は、およそ6ms長であり、先の400
m5長の1側根度に過ぎない。このときディジタルフィ
ルタのタップ係数の数は、槌である。
If this flat delay is precisely adjusted, it can significantly reduce the computational power required for echo cancellers in audio transmission networks. For example, the impulse response length of a hybrid transformer is approximately 6 ms long, which is 400 ms long.
It is only one side root degree of m5 length. At this time, the number of tap coefficients of the digital filter is a mallet.

以上の背景から、平坦遅延長(flat delay 
len−gth)  を推定する種々の方法が提案され
ている。
From the above background, the flat delay length
Various methods have been proposed for estimating len-gth).

例えば、特開昭62− t16025号公報に記載のよ
うに、音声通話が始まる前に、トレーニング信号を送出
して、反響経路のインパルス応答を推定し、このサンプ
ル値系列の最大値を求め、平坦遅延長を推定する方法が
提案されている。このトレーニング信号は、インパルス
応答を推定するために全帯域成分からなるガウス雑音等
が用いられる。
For example, as described in Japanese Patent Application Laid-Open No. 62-t16025, before a voice call starts, a training signal is sent out, the impulse response of the echo path is estimated, the maximum value of this sample value series is found, and a flat A method for estimating delay length has been proposed. For this training signal, Gaussian noise or the like consisting of all band components is used to estimate the impulse response.

上記方法は、多くの利点を持つが、次のような問題点を
有している。第1は、短時間とは言え、通話に先立って
耳障りなトレーニング信号を送出し、それをモニタする
必要がある点、第2は、インパルス応答の推定に高い計
算能力とメモリを必要とする点である。
Although the above method has many advantages, it also has the following problems. Firstly, it is necessary to send and monitor a harsh training signal prior to the call, albeit for a short time.Secondly, estimating the impulse response requires high computational power and memory. It is.

他の方法として、例えば、特開昭62−107533号
公報に記載のように、音声信号のエネルギデータの相互
相関値から平坦遅延長を推定する方法も提案されている
。これは、前述の方法に比べ、特別な信号送出が不要な
点およびそれ程大きな計算能力を必要としない点で改善
されているが、相互相関計算が必要であり、このための
ハードウェアコストもまだ高い。
As another method, a method of estimating a flat delay length from a cross-correlation value of energy data of an audio signal has been proposed, for example, as described in Japanese Patent Laid-Open No. 107533/1983. Although this is an improvement over the previously described methods in that it does not require special signaling and does not require as much computational power, it still requires cross-correlation calculations and the hardware cost for this is still high. expensive.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、通話者の不快感、あるいは、ハードウ
ェアコストの増加の点について配慮がされておらず、低
品質・高価となるという問題があった。
The above-mentioned conventional technology does not take into account the discomfort of the caller or the increase in hardware cost, resulting in a problem of low quality and high cost.

本発明の目的は、通話者に不快感を与えることなく、通
話中であっても検出が可能であり、計算処理の必要がな
く、かつ、安価なハードウェア構成により平坦遅延長の
計測を行なえる平坦遅延長の計測方法および装置を提供
することにある。
The purpose of the present invention is to enable detection even during a call without causing discomfort to the caller, and to be able to measure flat delay length without the need for calculation processing and with an inexpensive hardware configuration. An object of the present invention is to provide a method and device for measuring flat delay length.

本発明の他の目的は、上記検出法で得る平坦遅延長を調
整し、反響消去装置に要求される計算能力を削減し、そ
のハードウェア規模を低減し、価格を下げることができ
る反響消去装置および電話端末を提供することにある。
Another object of the present invention is an echo canceler capable of adjusting the flat delay length obtained by the above detection method, reducing the computational power required for the echo canceler, reducing the hardware scale thereof, and lowering the price. and to provide telephone terminals.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため屹、本発明は、互いに素の周波
数関係にある2つの正弦仮信号を発生する手段を反響経
路の入力に、前記2つの正弦仮信号を検出する手段を反
響経路の出力に設け、前記発生信号と検出信号の時間差
が反響経路の平坦遅延長を計測するよう構成したもので
ある。
In order to achieve the above object, the present invention provides means for generating two temporary sinusoidal signals having mutually prime frequency relationships at the input of an echo path, and means for detecting the two temporary sinusoidal signals at the output of the echo path. and is configured such that the time difference between the generated signal and the detected signal measures the flat delay length of the echo path.

上記他の目的を達成するために、本発明は、反響消去装
置において、反響の複製を作成する適応ディジタルフィ
ルタのフィルタ遅延線をタップおよび係数を持つ固定遅
延長の遅延線と、平坦遅延を与えその遅延長が前記信号
発生手段と検出手段とで計測した反響経路の平坦遅延長
により制御される遅延線上から構成したものである。
To achieve the above and other objects, the present invention provides a filter delay line of an adaptive digital filter that creates an echo replica with a fixed delay length delay line having taps and coefficients and a flat delay in an echo cancellation device. It is constructed on a delay line whose delay length is controlled by the flat delay length of the echo path measured by the signal generating means and the detecting means.

本発明において、反響経路に入力される正弦仮信号はバ
ースト信号であることが好ましい。このバースト信号と
しては、例えば、電話端末におけるDTMF信号の1つ
を用いることができる。
In the present invention, it is preferable that the sinusoidal temporary signal input to the echo path is a burst signal. As this burst signal, for example, one of the DTMF signals in a telephone terminal can be used.

また、前記正弦仮信号を発生する手段と前記正弦波検出
手段とは、複数設けてもよい。この場合、前記バースト
信号を複数種類、複数回発生し、各発生毎に得られる平
坦遅延長を統計処理した値を前記反響経路の平坦遅延長
とすることができる。
Further, a plurality of the means for generating the temporary sine signal and the means for detecting the sine wave may be provided. In this case, it is possible to generate a plurality of types of burst signals a plurality of times and statistically process the flat delay length obtained each time the burst signal is generated, and use a value as the flat delay length of the echo path.

〔作用〕[Effect]

前記2周波信号発生手段は、反響経路に互いに素な周波
数の関係にある2つの正弦仮信号を、例えば、バースト
信号として入力する。前記バースト信号は、反響経路の
平坦遅延長の時間分遅れて、前記2周波信号検出手段に
到達する。前記2周波信号検出手段は、これを検出する
。この信号発生時点と検出時点の時間差により反響路の
平坦遅延長を得る。そして、音声信号はピッチ周波数を
基本波とする調波構造を持つがゆえに、前記互いに素な
る周波数関係にある2周波検出に影響を与えない。従っ
て、本方法によれば音声通話中であっても正確な平坦遅
延長を得ることができる。
The two-frequency signal generating means inputs two temporary sinusoidal signals having mutually prime frequencies to the echo path, for example, as a burst signal. The burst signal reaches the two-frequency signal detection means with a delay of a flat delay length of the echo path. The two-frequency signal detection means detects this. The flat delay length of the echo path is obtained by the time difference between the time of signal generation and the time of detection. Since the audio signal has a harmonic structure with the pitch frequency as the fundamental wave, it does not affect the detection of two frequencies having a mutually prime frequency relationship. Therefore, according to this method, an accurate flat delay length can be obtained even during a voice call.

反響消去装置内の適応ディジタルフィルタは、タップ係
数を持つ固定遅延長遅延線と前記方法で得た平坦遅延長
を持つ平坦遅延線とで構成され、反響経路の全応答を正
確に複製した信号を作成する。そして反響信号からこれ
を差し引き、反響信号を消去する。反響信号複製のため
の計算はタップ係数を持つ固定遅延長の分だけとなるた
め遅延線すべてにタップ係数を持たせた場合に比べ、大
幅な計算能力の削減とハードウェア規模の低減が達成で
きる。
The adaptive digital filter in the echo canceler consists of a fixed delay length delay line with tap coefficients and a flat delay line with the flat delay length obtained by the above method, and produces a signal that exactly replicates the entire response of the echo path. create. This is then subtracted from the echo signal to eliminate the echo signal. The calculation for echo signal replication is only for the fixed delay length with tap coefficients, so compared to the case where all delay lines have tap coefficients, a significant reduction in calculation power and hardware size can be achieved. .

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

実施例の説明に先立ち、実施例の適用対象となる電話回
線網について説明する。
Prior to explaining the embodiment, a telephone line network to which the embodiment is applied will be explained.

第2図は現在の地上電話網を示す図である。FIG. 2 is a diagram showing the current landline telephone network.

加入者電話端装置 1と対局の加入者電話癩装置2は、
加入者線路L1およびL2と地上回線交換網RPTNと
を介して接続され、通話が行なわれる。
The subscriber telephone terminal device 1 and the opposing subscriber telephone terminal device 2 are as follows:
The subscriber lines L1 and L2 are connected via the terrestrial switched network RPTN, and calls are made.

加入者電話漏装置Iおよび置2は、各 々送話器Tl、T2、および、受話器R1,R2を1組
ずつ持つ。送話および受話信号は、端末内の各々2線線
路をなし、両方で4線線路をなす1対の単方向線路TL
I、RLIおよびTL2.Rb2を流れる。これらは、
端末内のハイブリッド変成器H1および′H2で4線線
路から2線線路に変換され、加入者線路L1およびり、
2Jこ接続される。
Each of the subscriber telephone leakage devices I and 2 has a pair of transmitters Tl, T2 and a receiver R1, R2. Sending and receiving signals are transmitted through a pair of unidirectional lines TL, each forming a 2-wire line within the terminal, and both forming a 4-wire line.
I, RLI and TL2. It flows through Rb2. these are,
The hybrid transformers H1 and 'H2 in the terminal convert the 4-wire line into a 2-wire line, and the subscriber lines L1 and
2J are connected.

2線(双方向)線路である加入者線路L1およびL2は
、地上回線交換網RPTN内の最下層である市内交換局
(図示せず)のハイブリッド変成器HYBIおよび)I
YB2で4線線路に変換される。
The subscriber lines L1 and L2, which are two-wire (bidirectional) lines, are connected to hybrid transformers HYBI and )I of a local exchange (not shown), which is the lowest layer in the terrestrial switched network RPTN.
It is converted to a 4-wire line at YB2.

地上回線交換網RPTN内では、送受話信号が、各々2
線線路をなし、両方で4線線路をなす1対の単方向線路
Ti、T2を流れる。国際電話のときは、地上回線交換
網RPTN内に国際回線(図示せず)が挿入される。
Within the terrestrial switched network RPTN, transmitting and receiving signals are each
It flows through a pair of unidirectional lines Ti and T2, both of which form a four-wire line. For international calls, an international line (not shown) is inserted into the terrestrial switched network RPTN.

第3図は現在の自動車電話網を示す図である。FIG. 3 is a diagram showing the current car telephone network.

自動車′電話端末M置 1と対局である加入者電話端装
置2は、自動車電話回線交換網MPTNと地上回線交換
網RPTNおよび加入者線路L2を介して接続され通話
が行なわれる。
The mobile telephone terminal M 1 and the subscriber telephone terminal device 2, which corresponds to the mobile telephone terminal M, are connected via the mobile telephone line switching network MPTN, the land line switching network RPTN, and the subscriber line L2, and a telephone call is performed.

自動車電話端末M置Iと自動車′1話回線交換網MPT
Nの最下層である基地局MB 8 (市内交換局に相当
)は、それぞれ無線機RAIおよびBRAを持つ。これ
らの無線機RAIおよびBRAは独立な2つの無線チャ
ネルを持ち、それぞれ送話受話信号を流す。
Car phone terminal M-I and car's 1-talk line switching network MPT
Base station MB 8 (corresponding to a local exchange), which is the lowest layer of N, has radios RAI and BRA, respectively. These radios RAI and BRA have two independent radio channels, and each transmits a transmitting/receiving signal.

第3図において第2図と異なる点は、自動車電話端末M
置I内にハイブリッド変成器がなく、送話、受話信号は
、この端末から自動車電話回線交換網MPTNを通して
、地上回線交換網RPTN内最下層の市内交換局のハイ
ブリッド変成器HYB2までは、各々2線線路をなし、
両方で4線線路をなす1対の単方向線路Tl(TLI)
、T2(R:[,1)を介して流れることである。他は
、第2図と同様である。
The difference in Fig. 3 from Fig. 2 is that the car phone terminal M
There is no hybrid transformer in Station I, and the transmitting and receiving signals are transmitted from this terminal through the mobile telephone switched network MPTN to the hybrid transformer HYB2 at the local switching office at the lowest layer in the land switched network RPTN. It forms a two-track line,
A pair of unidirectional lines Tl (TLI) both forming a 4-wire line
, T2(R:[,1). The rest is the same as in FIG. 2.

L11 第2図および第3図において、4線線路から2線線路あ
るいはその逆の変換は、ノ1イブリッド変成器H1、R
2,HYBl 、)iYB2で行なわれ、このときイン
ピーダンス不整合による反響が起こる。
L11 In Figures 2 and 3, the conversion from a 4-wire line to a 2-wire line or vice versa is performed using hybrid transformers H1 and R.
2, HYBl, )iYB2, and at this time, echoes occur due to impedance mismatch.

いま、送話器T1からの音声信号送出を考える。Now, let us consider the transmission of an audio signal from the transmitter T1.

第2図において、送話信号の大部分は、TLI。In FIG. 2, most of the transmit signals are TLI.

T1.RL2上を流れるが、一部分は、Hl、HYBI
、HYB2.R2で反響し、T2.RLI上を流れる。
T1. Flows on RL2, but part of it flows on Hl, HYBI
, HYB2. Echoed at R2, T2. Flows on RLI.

な2、ここでは、送話器、受話器間の音響結合による反
響は無視する。もつとも、マイク、スピーカを用いたハ
ンズフリー電話端末の場合は、大きな反響があり、無視
できないことに注意を要する。この場合(第2図)にお
ける送話器T1と受話器R1間の総合した反響経路のイ
ンパルス応答を第4因に示す。
2.Here, we ignore the reverberations caused by the acoustic coupling between the transmitter and the receiver. However, it should be noted that hands-free telephone terminals that use microphones and speakers have a huge impact and cannot be ignored. The impulse response of the combined echo path between the transmitter T1 and the receiver R1 in this case (FIG. 2) is shown in the fourth factor.

第2図において、端末内の単方向線路TLI。In FIG. 2, the unidirectional line TLI in the terminal.

RLIと加入者線路LlおよびR2の線路長は短く(加
入者線路の長さは平均7ム)、ここでの電気信号の伝搬
遅延は無視できる。従9て、第4図に示すように、最初
は、変成器H1およびI(YBlの混合された伝達関数
のインパルス応答a1が現れる。これによる反響音つま
り話者の口からの発声と耳までのフィードバックの遅延
は6ms程度と短く、気付かれることがないため、問題
とならない。むしろ側音として、ハンドセットで耳をふ
さいだ場合には発声の助けになる。
The line lengths of the RLI and the subscriber lines Ll and R2 are short (the average length of the subscriber lines is 7 mm), and the propagation delay of electrical signals there can be ignored. Therefore, as shown in Fig. 4, an impulse response a1 of the mixed transfer function of transformers H1 and I (YBl) appears at first.This causes the echo sound, that is, the sound from the speaker's mouth and the sound from the speaker's ear to the ear. The feedback delay is as short as about 6ms, so it is not noticeable, so it is not a problem.In fact, it acts as a sidetone, which helps when speaking when you cover your ears with a handset.

地上回線交換網RPTN内の単方向線路TI。Unidirectional line TI in the terrestrial switched network RPTN.

T2は、長距離あるいは国際通話の場合には数千から数
万ムの長さになり、ここでの電気信号の伝搬遅延は数百
maに及ぶことがある。これは、第4図にblで示す平
坦遅延となる。
In the case of long-distance or international calls, T2 is several thousand to tens of thousands of meters long, and the propagation delay of electrical signals here can reach several hundreds of meters. This results in a flat delay shown as bl in FIG.

次に、最初と同様に、変成器I(YB2およびR2の混
合された伝達関数のインパルス応答a2が現れる。これ
による反響音、つまり、話者の口からの発声と耳までの
フィードバックの遅延は、数十mBから数百m8となり
、反響妨害として著しく通話品質を劣化させる。
Then, as at the beginning, the impulse response a2 of the mixed transfer function of transformer I (YB2 and R2 appears. The resulting echo, i.e. the delay between the speech from the speaker's mouth and the feedback to the ear, is , from several tens of mB to several hundred m8, and significantly degrades speech quality as echo interference.

第3図における送話器T1と受話器R1間の総合した反
響経路のインパルス応答を第5因に示す。
The impulse response of the integrated echo path between the transmitter T1 and the receiver R1 in FIG. 3 is shown in the fifth factor.

第4図に関する説明と同様に、端末から自動車電話回線
交換網MPTN、地上回線交換網RPTN内の単方向線
路TI、T2による数百mBに及ぶ平坦遅延b1と、変
成器HYB 2およびR2の混合された伝達関数による
インパルス応答a2とに分けられる。
Similar to the explanation regarding FIG. 4, a flat delay b1 of several hundred mB due to the unidirectional line TI, T2 from the terminal to the mobile phone switched network MPTN, the terrestrial switched network RPTN, and the mixture of transformers HYB 2 and R2. The impulse response is divided into an impulse response a2 based on the transfer function.

これによる数十m8から数百maの音響音は、第4図説
明と同様に、反響妨害として通話品質を著しく劣化させ
る。
The resulting acoustic sound from several tens of m8 to several hundred ma greatly degrades speech quality as a reverberant disturbance, similar to the explanation in FIG.

第6図は反響を消去するための通常の反響消去装置を示
す。
FIG. 6 shows a conventional echo canceling device for canceling echoes.

第6図において、1はハイブリッド変成器、2は反響消
去装置である。反響消去装置2は、ディジタルフィルタ
3と、タップ係数設定回路4と、減算器5とを備え、か
つ、アナログ/ディジタル(A/D )変換器201お
よび203と、ディジタル/アナログ(D/A ’)変
換器202および204とが接続されている。
In FIG. 6, 1 is a hybrid transformer and 2 is an echo canceller. The echo canceller 2 includes a digital filter 3, a tap coefficient setting circuit 4, and a subtracter 5, and also includes analog/digital (A/D) converters 201 and 203, and a digital/analog (D/A' ) transducers 202 and 204 are connected.

ハイブリッド変成器1は、第4図あるいは第5図のイン
パルス応答と等価なものとする。
The hybrid transformer 1 is assumed to have an impulse response equivalent to that shown in FIG. 4 or 5.

ディジタルフィルタ3は、出経路に接続され、ディジタ
ル信号サンプルx (n)が供給される。フィルタ3の
タップ係数h (k)は、タップ係数設定回路4で設定
され、A/D変換器203に送られる反響信号y (t
)のディジタル表現y (n)の正確な複製である信号
y (n)を発生しなければならない。
A digital filter 3 is connected to the output path and supplied with digital signal samples x (n). The tap coefficient h (k) of the filter 3 is set by the tap coefficient setting circuit 4 and the echo signal y (t
) must be generated a signal y (n) that is an exact replica of the digital representation y (n) of y (n).

このフィルタ3の出力を減算器5で減算し、反響信号y
 (n)を消去する。
The output of this filter 3 is subtracted by a subtracter 5, and the echo signal y
Delete (n).

動作時のタップ係数設定は、通常、ディジタル信号サン
プルx (n)と、減算器の出力信号である誤差信号e
 (n)とを用いて、最急降下法で行なわれ、数十から
数百m8の時間を経て、正確な複製が得られるように行
なわれる。これらの設定値は、回線接続状態の変動に追
随すべく時々更新されなければならない。
The tap coefficient setting during operation is usually based on the digital signal sample x (n) and the error signal e which is the output signal of the subtracter.
(n) using the steepest descent method, and is performed over a period of several tens to hundreds of m8 to obtain an accurate replica. These settings must be updated from time to time to keep up with changes in line connection conditions.

前に説明したように、フィルタ3は、完全に反響経路に
整合しなければならないため、多数のタップとその係数
を必要とする。実際のフィルタ3の動作は、サンプルx
 (n)に対して各タップ係数h (k)を乗算し、そ
の結果を加算するプログラム制御プロセッサで行なわれ
る。
As explained earlier, the filter 3 requires a large number of taps and their coefficients since it must perfectly match the echo path. The actual operation of filter 3 is sample x
(n) is multiplied by each tap coefficient h (k) and the results are added by a program-controlled processor.

完全な複製発生装置であるフィルタ3は、反響経路のイ
ンパルス応答と完全に一致するインパルス応答を持つ必
要がある。反響経路のインパルス応答は、第4図および
第5図に示すように、平坦な遅延とハイブリッド変成器
のインパルス応答からなる。
The filter 3, being a perfect replica generator, must have an impulse response that perfectly matches the impulse response of the echo path. The impulse response of the echo path consists of a flat delay and a hybrid transformer impulse response, as shown in FIGS. 4 and 5.

反響の複製発生装置も同じ全応答を与えなくてはならな
い。しかし、インパルス応答が400m5長であり、標
本化周波数が8 kHzとするとタップおよび係数は3
200に及び、計算の作業量はかなり多くなり、所定時
間(125μ8)内に全計算を行なうのは不可能となる
The echo replicator must also give the same total response. However, if the impulse response is 400 m5 long and the sampling frequency is 8 kHz, the taps and coefficients are 3.
200, the amount of calculation work becomes considerably large, and it becomes impossible to perform all the calculations within the predetermined time (125μ8).

この処理負担を抑える方法は、第4図および第5図に示
す平坦遅延部分を効果的に利用することである。
A way to reduce this processing load is to effectively utilize the flat delay portions shown in FIGS. 4 and 5.

平坦遅延部分は、タップ係数が零に相当し、この部分の
乗算および加算は行なう必要がない。従って、第6図に
示したフィルタの前後に平坦遅延線を使用することで処
理負担を低減できる。
The flat delay portion corresponds to a tap coefficient of zero, and there is no need to perform multiplication and addition in this portion. Therefore, by using flat delay lines before and after the filter shown in FIG. 6, the processing load can be reduced.

ここで、問題となるのは、平坦遅延線の長さをどのよう
に調整するかである。つまり、第4図。
The problem here is how to adjust the length of the flat delay line. In other words, Figure 4.

第5図における平坦遅延長を如何に計測し、この結果に
より平坦遅延線の長さを如何に調整するかである。
How to measure the flat delay length in FIG. 5, and how to adjust the length of the flat delay line based on this result.

本発明は、このような課題を解決するものであって、以
下、実施例について詳細に説明する。
The present invention solves these problems, and examples thereof will be described in detail below.

第1図は、第5図に示すインパルス応答を持つ反響経路
に対する実施例を示す図である。
FIG. 1 is a diagram illustrating an embodiment for a reverberation path with the impulse response shown in FIG.

本実施例は、回線の平坦遅延長を検出する平坦遅延長計
測装置100、および、この平坦遅延長計測装置100
にて検出される平坦遅延長を用いて反響消去を行なう反
響消去装置2を備えて構成される。
This embodiment describes a flat delay length measuring device 100 that detects a flat delay length of a line, and a flat delay length measuring device 100 that detects a flat delay length of a line.
The present invention includes an echo canceling device 2 that performs echo canceling using the flat delay length detected at .

反響消去装置2は、ディジタルフィルタ3と、タップ係
数設定回路4と、減算器5と、可変平坦遅延線6とを備
え、かつ、A/D変換器201および203と、D/A
変換器202および204を接続して構成される。
The echo canceling device 2 includes a digital filter 3, a tap coefficient setting circuit 4, a subtracter 5, and a variable flat delay line 6, and also includes A/D converters 201 and 203, and a D/A
It is configured by connecting converters 202 and 204.

ここで、可変平坦遅延線6は、例えば、後述する第11
図に示すように構成され、平坦遅延長針側装置100か
ら送られる平坦遅延長に対応して遅延長を可変でき、平
坦な遅延を与える。また、他の構成要素は、前述した第
6図に示すものと同一である。従って、同一の符号を付
することとして、説明を繰り返さない。
Here, the variable flat delay line 6 is, for example, the eleventh delay line described later.
It is constructed as shown in the figure, and the delay length can be varied in accordance with the flat delay length sent from the flat delay length hand device 100, giving a flat delay. Further, other components are the same as those shown in FIG. 6 described above. Therefore, the same reference numerals are given and the description will not be repeated.

平坦遅延長計測装置100は、互いに素の周波数関係化
ある2つの正弦仮信号を発生する2周波信号発生回路7
と、2周波信号発生回路7の発生する2つの正弦仮信号
を検出する2周波信号検出回路8と、2周波信号発生回
路7および2周波信号検出回路8を用いて平坦遅延長を
計測し、可変平坦遅延線6#こその結果を出力する平坦
遅延長計測回路9と、平坦遅延長計測回路9に計測開始
などを指示する計測制御回路10と、混合回路11とを
備えて構成される。
The flat delay length measurement device 100 includes a two-frequency signal generation circuit 7 that generates two temporary sinusoidal signals having mutually prime frequency relationships.
and a two-frequency signal detection circuit 8 that detects two temporary sinusoidal signals generated by the two-frequency signal generation circuit 7, and measures the flat delay length using the two-frequency signal generation circuit 7 and the two-frequency signal detection circuit 8, It is configured to include a flat delay length measurement circuit 9 that outputs the result of the variable flat delay line 6#, a measurement control circuit 10 that instructs the flat delay length measurement circuit 9 to start measurement, etc., and a mixing circuit 11.

この平坦遅延長計測装置100は、反響経路に対して、
互いに素の周波数関係にある2つの正弦仮信号を混合し
た複合信号をバースト的に入力し、その遅れ時間から直
接平坦遅延長を計測するものである。
This flat delay length measurement device 100 has the following characteristics for the echo path:
A composite signal obtained by mixing two temporary sinusoidal signals having relatively prime frequency relationships is input in a burst manner, and the flat delay length is directly measured from the delay time.

第7図は2周波信号発生回路7の一実施例を示す図であ
る。
FIG. 7 is a diagram showing an embodiment of the two-frequency signal generating circuit 7. In FIG.

この2周波信号発生回路7は、第1周波数発振回路70
1と、第2周波数発振回路702と、混合回路703と
、ゲート回路704とを備える。
This two-frequency signal generation circuit 7 includes a first frequency oscillation circuit 70
1, a second frequency oscillation circuit 702, a mixing circuit 703, and a gate circuit 704.

第1および第2の周波数発振回路701 、702は、
互いに素の周波数関係(ftおよびfl)にある正弦仮
信号S1および&を発生する。これらの出力は、混合回
路703で混合され、2周波信号となり、ゲート信号入
力端子705から入力されるゲート信号によりゲート回
路704でゲーティングされ、2周波信号出力端子70
6からバースト信号として出力される。
The first and second frequency oscillation circuits 701 and 702 are
Sine temporary signals S1 and & having a relatively prime frequency relationship (ft and fl) are generated. These outputs are mixed in a mixing circuit 703 to become a two-frequency signal, which is gated in a gate circuit 704 by a gate signal input from a gate signal input terminal 705, and then output to a two-frequency signal output terminal 70.
6 is output as a burst signal.

第8図は2周波信号検出回路8の一実施例である。FIG. 8 shows an embodiment of the dual frequency signal detection circuit 8.

2周波信号検出回路8は、第1周波数バンドパスフィル
タ(BPF)802および第2周波数バンドパスフィル
タ(BPF)803と、第1周波数検出回路804およ
び第2周波数検出回路805と、アンド回路806とを
備えて構成される。
The two-frequency signal detection circuit 8 includes a first frequency band-pass filter (BPF) 802, a second frequency band-pass filter (BPF) 803, a first frequency detection circuit 804, a second frequency detection circuit 805, and an AND circuit 806. It is composed of:

検出信号入力端子801に入力される信号は、第1およ
び第2の周波数バンドパスフィルタ802゜803に導
かれる。これらのバンドパスフィルタ802および80
3は、互い化素の周波数関係にある周波数i1bよびf
、近傍の信号のみを濾波する。第1および第2の周波数
バンドパスフィルタ802 、803の出力は、第1お
よび第2の周波数検出回路804゜805に出力される
。ここで、正弦仮信号S8および&は平滑検波され、そ
の存在を検出される。
A signal input to the detection signal input terminal 801 is guided to first and second frequency band pass filters 802 and 803. These bandpass filters 802 and 80
3 is the frequency i1b and f which are in the frequency relationship of the mutual compound
, filter only nearby signals. The outputs of the first and second frequency bandpass filters 802 and 803 are output to first and second frequency detection circuits 804 and 805. Here, the sine temporary signals S8 and & are subjected to smooth detection to detect their presence.

これらの出力は、7ンド回路806に導かれ論理積がと
られる。この結果は、検出信号として、検出信号出力端
子807から出力される。つまり&およびS、が同時に
存在したときのみ出力される。
These outputs are led to a 7nd circuit 806 and ANDed. This result is output from the detection signal output terminal 807 as a detection signal. In other words, it is output only when & and S exist simultaneously.

第9図は平坦遅延長計測回路9の一実施例である。FIG. 9 shows an embodiment of the flat delay length measuring circuit 9.

平坦遅延長計測回路9は、カウンタ901と、クロック
信号発生回路902と、ゲート回路903と、カウンタ
レジスタ904と、タイミング回路906とを有して構
成される。
The flat delay length measurement circuit 9 includes a counter 901, a clock signal generation circuit 902, a gate circuit 903, a counter register 904, and a timing circuit 906.

カウンタ901は、クロック信号発生回路902のクロ
ック信号を計数する。カウンタ901へのクロック信号
入力は、ゲート回路903で、ある時間間隔ゲーティン
グされる。この時間が、後に説明する平坦遅延長である
Counter 901 counts clock signals from clock signal generation circuit 902. A clock signal input to the counter 901 is gated at a certain time interval by a gate circuit 903. This time is the flat delay length, which will be explained later.

カウンタ901の計数値は、レジスタリード信号でカウ
ンタレジスタ904に読み込まれ、その値は、計測結果
出力端子905に出力される。
The count value of the counter 901 is read into the counter register 904 using a register read signal, and the value is output to the measurement result output terminal 905.

タイミング回路906は、平坦遅延長を計測するための
各種タイミング信号を発生する。このタイミング回路9
06は、計測制御回路1oからのスタート信号をスター
ト信号入力端子907に受け、2周波検出回路8からの
検出信号を検出信号入力端子908に受け、また、カウ
ンタゲート信号、カウンタリセット信号およびレジスタ
リード信号を出方すると共に、信号出力ゲート信号出力
端子909に信号出力ゲート信号を出力する。
A timing circuit 906 generates various timing signals for measuring the flat delay length. This timing circuit 9
06 receives a start signal from the measurement control circuit 1o at a start signal input terminal 907, receives a detection signal from the dual frequency detection circuit 8 at a detection signal input terminal 908, and also receives a counter gate signal, a counter reset signal, and a register lead. In addition to outputting a signal, a signal output gate signal is output to a signal output gate signal output terminal 909.

第10因に平坦遅延長計測のタイミングチャートを示す
。以下これに沿って説明する。
The tenth factor shows a timing chart for flat delay length measurement. This will be explained below.

計測制御回路10からのスタート信号で、ますカウンタ
901がリセットされる。そして、信号出力ゲート信号
を2周波信号発生回路7に送り、2周波信号を混合回路
11を介して反響経路にバースト的に送出する。それと
同時に、カウンタゲート信号を出力し、ゲート回路90
3を開き、クロック信号をカウンタ901に入力し、計
数を開始する。
The square counter 901 is reset by a start signal from the measurement control circuit 10. Then, the signal output gate signal is sent to the two-frequency signal generation circuit 7, and the two-frequency signal is sent out in bursts to the echo path via the mixing circuit 11. At the same time, a counter gate signal is output and the gate circuit 90
3 is opened, a clock signal is input to the counter 901, and counting is started.

前記バースト2周波信号は、遅延して2周波信号検出回
路8に入力され、ここで検出される。タイミング回路9
06は、検出信号の立上りを検出して、カウンタゲート
信号の出力を停止し、これによって、カウンタ901の
計数が停止される。そして、レジスタリード信号で、カ
ウンタ計数値はカウンタレジスタに読み地味れ、この値
は、計測結果出力端子905に出力される。
The burst two-frequency signal is delayed and input to the two-frequency signal detection circuit 8, where it is detected. timing circuit 9
06 detects the rising edge of the detection signal and stops outputting the counter gate signal, thereby stopping the counting of the counter 901. Then, with the register read signal, the counter count value is read into the counter register, and this value is output to the measurement result output terminal 905.

クロック信号の周波数が8 )cHzであれば、このカ
ウンタ計数値Nに125μsを乗じた値が平坦遅延長と
なる。
If the frequency of the clock signal is 8) kHz, the value obtained by multiplying this counter count value N by 125 μs becomes the flat delay length.

第11図は可変平坦遅延線6の一実施例を示す図可変平
坦遅延線6は、5段シフトレジスタ602と、データセ
レクタ603と、デコーダ605とを有して構成される
FIG. 11 shows an embodiment of the variable flat delay line 6. The variable flat delay line 6 includes a five-stage shift register 602, a data selector 603, and a decoder 605.

サンプルデータx (n)は、データ入力端子601か
ら5段シフトレジスタ602に入力される。5段シフト
レジスタ602は、一定クロック周波数でデータシフト
を繰り返す。また、M段毎(図ではM=4)にデータ出
力を持ち、この出力は、データセレクタ603に接続さ
れ、この内1つが選択され、データ出力端子604から
出力される。デコーダ605には、計数入力端子606
から平坦遅延長が入力される。
Sample data x (n) is input from a data input terminal 601 to a five-stage shift register 602 . The five-stage shift register 602 repeats data shifts at a constant clock frequency. Furthermore, each M stage (M=4 in the figure) has a data output, and this output is connected to a data selector 603, one of which is selected and output from a data output terminal 604. The decoder 605 has a counting input terminal 606
The flat delay length is input from .

シフトレジスタ602のデータシフトクロック周波数を
8 、kHzであれば、シフトレジスタ1段は125μ
sの平坦遅延に相当する。従って、データセレクタ60
3で選択するデータ出力が、シフトレジスタの入力側か
ら1つ目であれば、MX125μs1P番目であれば%
PXMX125μSのデータ遅延、つまり、平坦遅延線
となる。
If the data shift clock frequency of the shift register 602 is 8kHz, one stage of the shift register is 125μ.
corresponds to a flat delay of s. Therefore, data selector 60
If the data output selected in step 3 is the first one from the input side of the shift register, MX125μs1Pth, then %
PXMX has a data delay of 125 μS, ie, a flat delay line.

7 カウンタ計数値がNのとき、デコーダ605は、N/M
=P番目のデータ出力を選択し、計測した平坦遅延長(
PXMX125μ8)に等しい平坦遅延線となる。なお
、N7Mが整数でないききは、小数点以下を切り上げた
整数値にすればよい。
7 When the counter count value is N, the decoder 605
= Select the Pth data output and measure the flat delay length (
This results in a flat delay line equal to PXMX125μ8). Note that if N7M is not an integer, it may be rounded up to an integer value after the decimal point.

もちろん、Lの値は、考えられる最大の平坦遅延長を考
えて設定しておく必要がある。
Of course, the value of L must be set in consideration of the maximum possible flat delay length.

なお、可変平坦遅延線としては、RAM(ランダムアク
セスメモリ)上にプログラムでリングバッファを構成し
、読出し書込み速度を1サンプル/125μsとし、こ
のアドレスポインタを先のカウンタ計数値Nで操作する
ことでも得ることができる。そして、この場合には、1
25μs単位の平坦遅延線を得ることができる。
Note that a variable flat delay line can also be created by configuring a ring buffer in RAM (random access memory) using a program, setting the read/write speed to 1 sample/125 μs, and manipulating this address pointer with the previous counter count value N. Obtainable. And in this case, 1
A flat delay line of 25 μs can be obtained.

第11図の例では、MX125μBの単位でしか得られ
ない。これは、1段毎にデータ出力を持つとデータセレ
クタ603、デコーダ605のハードウェアが大きくな
るためである。
In the example of FIG. 11, it is possible to obtain only a unit of MX125 μB. This is because the hardware of the data selector 603 and decoder 605 becomes large if each stage has a data output.

さて、電話@練絹に流れる音声信号は、周知のように、
ピッチ周波数を基本波とする調波構造をあ 持つ。従って、本発明のごとく互いに素の周波数関係番
こある2つの正弦仮信号のうち1つは音声信号にマスク
されつるが、マスクされたときでも必ず他の1つの正弦
仮信号はマスクされる心配はない。逆に、音声信号では
、2周波信号検出回路8の検出信号出力はない。つまり
、本発明の方法によれば、音声信号が存在しても(通話
中であっても)、平坦遅延長を検出することが可能とな
る。
Now, as is well known, the audio signal flowing through the telephone @Renkinu is
It has a harmonic structure with the pitch frequency as the fundamental wave. Therefore, as in the present invention, one of the two temporary sine signals with relatively prime frequency relations is masked by the audio signal, but even when masked, there is a worry that the other temporary sine signal will always be masked. There isn't. Conversely, in the case of an audio signal, there is no detection signal output from the two-frequency signal detection circuit 8. In other words, according to the method of the present invention, it is possible to detect a flat delay length even if a voice signal is present (even during a call).

そして、周波数成分そのものを検出するために、反響経
路の伝達関数に影響されることもない。例えば、697
Hzの正弦仮信号は、反響経路の伝達関数によって、レ
ベル、位相は変動しても、周波数は697Hzのままで
ある。
Furthermore, since the frequency component itself is detected, it is not affected by the transfer function of the echo path. For example, 697
Although the level and phase of the Hz temporary sinusoidal signal vary depending on the transfer function of the echo path, the frequency remains at 697 Hz.

第12図は本発明の他の一実施例の構成を示す因である
FIG. 12 shows the structure of another embodiment of the present invention.

本実施例は、第4図に示す、インパルス応答を持つ反響
経路に対する実施例であって、平坦遅延長計測装置10
0および反響消去装置2を有して構成される。
This embodiment is an embodiment for the echo path having an impulse response shown in FIG.
0 and an echo canceller 2.

反響消去装[2は、ディジタルフィルタ12を付加され
ているほかは、前述した第1図に示すものと同じである
。また、平坦遅延長計測装置100も、前述した第1図
に示すものと同じである。従って、同一構成要素に同一
の符号を付することとして、ここでは説明を繰り返さな
い。
The echo canceller [2 is the same as that shown in FIG. 1 described above, except that a digital filter 12 is added. Further, the flat delay length measuring device 100 is also the same as that shown in FIG. 1 described above. Therefore, the same components will be given the same reference numerals and the description will not be repeated here.

ディジタルフィルタ12は、第4メ番こ示す81部分の
インパルス応答による反響の複製を作るものである。
The digital filter 12 reproduces the echo caused by the impulse response of the 81 part shown in the fourth part.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

第12因に示す実施例の動作は、はぼ第1図に示す実施
例の動作と同様であるが、平坦遅延長計測回路9内のタ
イミング回路906が発生するカウンタゲート信号が異
なる。第13図に第12図のタイミングチャートを示す
The operation of the embodiment shown in the twelfth factor is essentially the same as that of the embodiment shown in FIG. 1, but the counter gate signal generated by the timing circuit 906 in the flat delay length measuring circuit 9 is different. FIG. 13 shows the timing chart of FIG. 12.

2周波信号検出回路8には、第13図のように、2周波
信号送出と同時に信号が入力される。これは、第4図に
示す81部分のインパルス応答による反響音である。続
いて長い平坦遅延の後に再度信号が入力される。これは
、a2部分のインパルス応答による反響音である。
As shown in FIG. 13, a signal is input to the two-frequency signal detection circuit 8 at the same time as the two-frequency signal is sent out. This is a reverberant sound due to the impulse response of section 81 shown in FIG. The signal is then input again after a long flat delay. This is a reverberation sound due to the impulse response of the a2 portion.

カウンタゲート信号は、信号出力ゲート信号き第1反響
音の検出信号との論理積をとった第1のカウンタゲート
信号と、第1反響音の検出信号の立下がりから、第2の
反響音の検出信号の立上りまでの第2のカウンタゲート
信号とからなる。2周波信号検出回路8への人力のうち
後半のテイル部分は、インパルス応答a1による遅延で
あり、この部分は、ディジタルフィルタ12で対応する
ため、この遅延時間を除いた部分が、第4図に示すイン
パルス応答の平坦遅延b1に相当する。このため、上記
のごとくカウンタゲート信号を2つの部分に分割してい
る、。他の動作は、第1図と同様のため説明を省略する
The counter gate signal is generated from the first counter gate signal obtained by performing the logical product of the signal output gate signal and the first reverberant detection signal, and the second reverberant sound from the falling edge of the first reverberant detection signal. and a second counter gate signal up to the rising edge of the detection signal. The tail portion of the latter half of the human input to the two-frequency signal detection circuit 8 is a delay due to the impulse response a1, and this portion is handled by the digital filter 12, so the portion excluding this delay time is shown in FIG. This corresponds to the flat delay b1 of the impulse response shown. For this reason, the counter gate signal is divided into two parts as described above. Other operations are the same as those in FIG. 1, so explanations will be omitted.

g14図は本発明のさらに他の一実施例の構成を示す。Figure g14 shows the configuration of yet another embodiment of the present invention.

本実施例は、第1図に示す実施例とは異なり、マイク1
3とスピーカ14の音響結合iこよる反響経路に、平坦
遅延長計測装置100右よび反響消去装置2を適用した
ものである。
This embodiment differs from the embodiment shown in FIG.
The flat delay length measuring device 100 and the echo canceling device 2 are applied to the echo path caused by the acoustic coupling i between the speaker 14 and the speaker 14.

マイク13とスピーカ14で構成される反響経路の1 場合、平坦遅延は、マイク13とスピーカ14との間の
直接波による音波伝搬遅延である。特に、会議電話端末
等、マイク・スピーカを長い距離はなして設置したハン
ズフリー電話端末では、この平坦遅延は数十msに及び
、この平坦遅延は反響消去装置のハードウェア規模の増
大につながる。本実施例は、これを防止するものである
In the case of a reverberation path consisting of microphone 13 and speaker 14, the flat delay is the sound wave propagation delay due to the direct wave between microphone 13 and speaker 14. In particular, in hands-free telephone terminals such as conference telephone terminals in which microphones and speakers are installed at a long distance, this flat delay reaches several tens of milliseconds, and this flat delay leads to an increase in the hardware scale of the echo canceling device. This embodiment prevents this.

本実施例における他の構成および動作は、すべて第1図
実施例と同様のため、同一構成要素に同一符号を付して
、説明を省く。
All other configurations and operations in this embodiment are the same as those in the embodiment shown in FIG.

次に、第15図は本発明のさらに他の一実施例の構成を
示す。
Next, FIG. 15 shows the configuration of yet another embodiment of the present invention.

第15図において、第1図と同一符号は同一物を示す。In FIG. 15, the same symbols as in FIG. 1 indicate the same parts.

本実施例は、2周波信号検出回路8の検出遅延を自動補
正すべく構成したもので、そのための切換スイッチ15
を平坦遅延長計測装置100に備える。なお、他の構成
は、前記第1図に示す実施例と同様であるので、同一符
号を付して説明を省略する。
This embodiment is configured to automatically correct the detection delay of the dual-frequency signal detection circuit 8, and a changeover switch 15 is used for this purpose.
is provided in the flat delay length measuring device 100. Note that the other configurations are the same as those of the embodiment shown in FIG. 1, so the same reference numerals are given and the explanation will be omitted.

2 入力信号を切り換える。この切換は、計測制御回路10
により制御される。
2 Switch the input signal. This switching is performed by the measurement control circuit 10.
controlled by

2周波信号検出回路8は、内部のバンドパスフィルタの
群遅延、平滑検波の時定数等により、検出に時間遅延(
タイムラグ)を生ずる。従って、平坦遅延長計測正こ、
この遅延が影響し、正確な計測ができない恐れが生ずる
The two-frequency signal detection circuit 8 has a time delay (
(time lag). Therefore, the flat delay length measurement is correct.
This delay has an effect, and there is a possibility that accurate measurement may not be possible.

本実施例では、これを防止するために、切換スイッチ1
5を介して、2周波信号検出回路8をまず2周波信号発
生回路7の出力部に接続し、次に、反響経路の出力部に
接続して、平坦遅延長計測に前記時間遅延が含まれない
ようにしたものである。
In this embodiment, in order to prevent this, the changeover switch 1
5, the two-frequency signal detection circuit 8 is first connected to the output of the two-frequency signal generation circuit 7 and then to the output of the echo path so that the flat delay length measurement includes the time delay. I tried to avoid it.

第16図に本実施例のタイミングチャートを示す。FIG. 16 shows a timing chart of this embodiment.

本実施例の動作が第10図に記載のタイミングチャート
と異なるのは、タイミング回路906で作成されるカウ
ンタゲート信号である。カウンタゲート信号は、切換ス
イッチ15が、e側つまり2周波信号検出回路8が2周
波信号発生回路7の出力に接続されているときの検出信
号の立上りから、f側つまり本来の反響経路出力側に接
続されているときの検出信号の立上りまで出力される。
The operation of this embodiment differs from the timing chart shown in FIG. 10 in the counter gate signal generated by the timing circuit 906. The counter gate signal is switched from the e side, that is, the rise of the detection signal when the two-frequency signal detection circuit 8 is connected to the output of the two-frequency signal generation circuit 7, to the f side, that is, the original echo path output side. is output until the rising edge of the detection signal when connected to

なお、第1図実施例では、信号出力ゲート信号の立上り
からカウンタゲート信号が出力される。このような操作
によれば、2周波信号検出回路8の検出遅れに影響され
ない平坦遅延長計測が可能となる。
In the embodiment shown in FIG. 1, the counter gate signal is output from the rising edge of the signal output gate signal. According to such an operation, flat delay length measurement that is not affected by the detection delay of the two-frequency signal detection circuit 8 becomes possible.

第17図は本発明の他の一実施例の構成を示す図である
FIG. 17 is a diagram showing the configuration of another embodiment of the present invention.

本実施例は、ハンズフリー自動車電話端末に本発明を適
用したものであり、第1図に示す実施例化示すものと同
様の反響消去装置と従来の反響消去装置17を組み合わ
せたものである。従って、ここでは、特徴点についての
み説明し、前述したものと同一の構成要素については、
同一符号を付して、説明を省略する。
This embodiment is an application of the present invention to a hands-free car telephone terminal, and is a combination of an echo canceling device similar to that shown in the embodiment shown in FIG. 1 and a conventional echo canceling device 17. Therefore, only the feature points will be explained here, and the same components as those mentioned above will be explained.
The same reference numerals are used to omit the explanation.

反響消去装置16は、ハイブリッド変成器等からなる反
響経路の反響音を消去し、反響消去装置17は、スピー
カ14からマイク13への音の廻り込み(音響結合)に
よる反響経路の反響音を消去するように動作する。両反
響消去装置間で信号はサンプル値として伝達される。
The echo canceler 16 cancels the echo sound in the echo path consisting of a hybrid transformer, etc., and the echo canceler 17 cancels the echo sound in the echo path caused by sound going around from the speaker 14 to the microphone 13 (acoustic coupling). It works like that. Signals are transmitted between the two echo cancellers as sample values.

また、両装置間の受話信号路には、音量調整回路18を
配しである。これは、サンプル値に所定の値を乗算する
ことにより、スピーカ14の受話音量を調整する。
Further, a volume adjustment circuit 18 is arranged in the reception signal path between both devices. This adjusts the listening volume of the speaker 14 by multiplying the sample value by a predetermined value.

音量調整回路18をこの位置に配したのは、反響消去装
置17が対処すべき反響経路利得(D/A変換器からA
/D変換器までの利得)が音量調整により変化するのを
防止するためである。もし、D/A変換器とスピーカ間
に音量調整回路を挿入すると、音量調整により反響経路
利得が変化し、反響消去装置17の反響消去能力(ER
LE)が劣化する。
The reason why the volume adjustment circuit 18 is placed in this position is because the echo path gain (from the D/A converter to the A
This is to prevent the gain up to the /D converter from changing due to volume adjustment. If a volume adjustment circuit is inserted between the D/A converter and the speaker, the echo path gain will change due to the volume adjustment, and the echo cancellation ability (ER) of the echo cancellation device 17 will change.
LE) deteriorates.

本実施例では、反響消去装[17に従来構成を用いたが
、これは自動車電話の場合、マイクとスピーカとの間の
距離は概ね1m前後であり、これによる平坦遅延長は3
msであり、可変平坦遅延線を導入する効果が少ないか
らである。もちろん、会議電話端末のようにマイクとス
ピーカとの間の距離が長い場合には、第14図に示す実
施例を反響消去装置17に適用すべきである。他の動作
は、第1図および第6図で説明したのでここでは省略す
る。
In this example, a conventional configuration was used for the echo canceller [17], but in the case of a car phone, the distance between the microphone and the speaker is approximately 1 m, and the flat delay length due to this is approximately 3 m.
ms, and the effect of introducing a variable flat delay line is small. Of course, if the distance between the microphone and the speaker is long, such as in a conference telephone terminal, the embodiment shown in FIG. 14 should be applied to the echo canceling device 17. Other operations have been explained with reference to FIGS. 1 and 6, and will therefore be omitted here.

以上、本実施例によれば低価格なハンズフIJ +自動
車電話端末を得ることができる。
As described above, according to this embodiment, a low-cost hands-on IJ + car telephone terminal can be obtained.

以上に説明した各実施例では、簡単のため1こ互いに素
の周波数関係にある2周波信号を用いたが、本発明は、
これに限ることはなく、互いに素の周波数関係lこある
3周波あるいはそれ以上の多周波信号を用いてもよいこ
とは明らかである。ただその場合には、信号発生回路7
および検出回路8のハードウェア規模が比例して増大す
るのは否めない。
In each of the embodiments described above, two-frequency signals having a relatively prime frequency relationship are used for simplicity, but the present invention
It is clear that the present invention is not limited to this, and that multi-frequency signals of three or more frequencies having a mutually prime frequency relationship may be used. However, in that case, the signal generation circuit 7
It is undeniable that the hardware scale of the detection circuit 8 increases proportionally.

電話端末では、ブツシュボタン(PB)ダイヤル信号発
生器としていわゆるDTMF信号発生器を有するものが
ある。この発生器の例えば番号lに相当する2周波信号
(697Hzと1209Hz  )は、互いに素の周波
数関係にあるため、本発明の2周波信号発生回路7に流
用することが可能である。
Some telephone terminals have a so-called DTMF signal generator as a pushbutton (PB) dial signal generator. The two-frequency signals (697 Hz and 1209 Hz) corresponding to the number 1 of this generator, for example, have a mutually prime frequency relationship, and therefore can be used in the two-frequency signal generating circuit 7 of the present invention.

これを流用すれば、平坦遅延長計測にかかるコストを低
減することが可能となる。
By utilizing this, it becomes possible to reduce the cost required for flat delay length measurement.

2周波信号検出回路8は、音声信号に応答しなあ いことは述べたが、回線上の雑音に応答して検出信号を
出力することもありうる。
Although it has been mentioned that the dual frequency signal detection circuit 8 does not respond to audio signals, it may output a detection signal in response to noise on the line.

雑音に応答した場合には、第1θ図のタイミングチャー
トに示すよう番こ、検出信号の立上りでカウンタゲート
信号を終了するため、平坦遅延長の計測を誤ることにな
る。これを防止するためには、雑音などによる検出信号
は長時間継続しないことを利用して、検出信号に時間フ
ィルタ(time dom−ain filter)例
えば、ハイブリッド変成器のインパルス応答長(およそ
6m8)よりも短い検出信号は、これを無視するように
すればよい。
In the case of responding to noise, the counter gate signal ends at the rising edge of the detection signal as shown in the timing chart of FIG. 1θ, resulting in an error in measuring the flat delay length. In order to prevent this, taking advantage of the fact that the detection signal does not continue for a long time due to noise etc., a time filter (time dom-ain filter) is applied to the detection signal, for example, from the impulse response length (about 6m8) of the hybrid transformer. If the detection signal is too short, it may be ignored.

あるいは、検出信号の継続時間を計測し、バースト信号
の信号長、すなわち、信号出力ゲート信号(これはタイ
ミング回路が制御するため既知である)の継続時間と比
較し、差が所定値(ハイブリッド変成器のインパルス応
答長が目安となる)よりも大きいときは、このときの計
測平坦遅延長を無視して、再度計測し直すようにすれば
よい。
Alternatively, the duration of the detection signal is measured and compared to the signal length of the burst signal, i.e. the duration of the signal output gate signal (which is known as it is controlled by the timing circuit), and the difference is determined by a predetermined value (hybrid transformation If the impulse response length of the device is larger than the reference value, the measured flat delay length can be ignored and the measurement can be performed again.

また、前記説明は、1つの2周波バースト信号で平坦遅
延長を計測し、これで可変平坦遅延線を制御する場合を
述べたが、2周波バースト信号を、考えられる最長の平
坦遅延長以上の時間間隔で複数回発生し、複数回平坦遅
延長を計測し、これらの結果を、統計処理、例えば、平
均値マを算出し、この値で、可変平坦遅延線6を制御す
れば、さらに正確なものとなる。
Furthermore, in the above explanation, the flat delay length is measured using one two-frequency burst signal, and the variable flat delay line is controlled using this. It occurs multiple times at time intervals, the flat delay length is measured multiple times, these results are subjected to statistical processing, for example, the average value is calculated, and this value is used to control the variable flat delay line 6. Become something.

さらに、2周波発生回路7と2周波検出回路8を複数用
意し、上述のように複数の2周波バースト信号を複数回
発生し、複数回平坦遅延長を計測し、統計処理した値を
用いてもよい。
Furthermore, a plurality of two-frequency generation circuits 7 and two-frequency detection circuits 8 are prepared, a plurality of two-frequency burst signals are generated multiple times as described above, the flat delay length is measured multiple times, and the statistically processed values are used. Good too.

計測した平坦遅延長は、誤差を含む。従りて、第5図の
インパルス応答の真の平坦遅延長をDFlmaとすると
、計測される平坦遅延長は、DPI。
The measured flat delay length includes an error. Therefore, if the true flat delay length of the impulse response in FIG. 5 is DFLma, the measured flat delay length is DPI.

±α(αは誤差)となる。そして、ディジタルフィルタ
3の遅延線の長さは、固定ADFLで十分にハイブリッ
ド変成器のインパルス応答a2をカバーすると仮定する
±α (α is the error). It is assumed that the length of the delay line of the digital filter 3 is such that a fixed ADFL sufficiently covers the impulse response a2 of the hybrid transformer.

いま、計測した平坦遅延長がDFL+αであり、この値
で可変平坦遅延線を制御すれば、第18図に示すように
、適応ディジタルフィルタのフィルタ遅延線は、長さD
FL+αの平坦遅延線とタップ係数を設定できる長さA
DFLの遅延線で構成され、適応フィルタで複製するイ
ンパルス応答は、同1ffl (b)に示すものにしか
なりえないことが分かる。
Now, the measured flat delay length is DFL+α, and if the variable flat delay line is controlled with this value, the filter delay line of the adaptive digital filter will have a length D as shown in FIG.
FL+α flat delay line and length A that can set tap coefficients
It can be seen that the impulse response configured by the DFL delay line and replicated by the adaptive filter can only be that shown in 1ffl (b).

つまり、図中破線で示すインパルス応答は複製できず、
反響消去装置の消去能力が劣化するのは明らかである。
In other words, the impulse response shown by the broken line in the figure cannot be duplicated.
It is clear that the cancellation ability of the echo cancellation device is degraded.

これは、たとえ計測した平坦遅延長を統計処理して、正
確を期しても避けられない危険性である。
This is an unavoidable risk even if the measured flat delay length is statistically processed to ensure accuracy.

第19医は本発明の他の一実施例の構成を示す図である
The nineteenth doctor is a diagram showing the configuration of another embodiment of the present invention.

第19図において、本実施例は、前述した第1図に示す
ものと同じ反響消去装置2と、平坦遅延長計測装置10
0を備え、かつ、その平坦遅延長計測装置100に、統
計処理回路19、所定値回路20および減算器21を有
して構成される。なお、他の構成要素は、前述した第1
図に示すものと同じであるから、説明を省略する。
In FIG. 19, this embodiment uses the same echo canceling device 2 and flat delay length measuring device 10 as shown in FIG.
0, and the flat delay length measuring device 100 includes a statistical processing circuit 19, a predetermined value circuit 20, and a subtracter 21. Note that the other components are the first
Since it is the same as that shown in the figure, the explanation will be omitted.

統計処理回路19は、複数回計測された平坦遅延長をメ
モリに蓄え、これを統計処理、例えば、平9 均fif Xを求め、出力する。所定値回路は、予め決
めた値βを蓄えである。減算器21は、平均値マから所
定値βを引き、X−βを可変平坦遅延線6に出力する。
The statistical processing circuit 19 stores the flat delay lengths measured a plurality of times in a memory, performs statistical processing on the flat delay lengths, for example, calculates the average fif X, and outputs it. The predetermined value circuit stores a predetermined value β. The subtracter 21 subtracts a predetermined value β from the average value Ma and outputs X−β to the variable flat delay line 6.

βを考えられる誤差αより大きな値さすれば、本実施例
で与えられる複製インパルス応答は、第18図(b)の
ようにすることができる。(x;DFL)言い換えると
計測した平坦遅延長より短めの値を使い、先に説明した
危険性を回避する。この場合、短めにする分だけディジ
タルフィルタ3の固定遅延線長ADFLに余裕を見込ん
でおくことが必要である。
If β is set to a value larger than the possible error α, the replicated impulse response given in this embodiment can be as shown in FIG. 18(b). (x; DFL) In other words, a value shorter than the measured flat delay length is used to avoid the danger described above. In this case, it is necessary to allow a margin for the fixed delay line length ADFL of the digital filter 3 to compensate for the shorter length.

本実施例では、複数回の計測の場合を示したが、1回の
計測であっても計測値を短めにして(−βする)、可変
平坦遅延線を制御しても有効であるのは明らかである。
In this example, the case of multiple measurements is shown, but it is also effective to shorten the measured value (-β) and control the variable flat delay line even for one measurement. it is obvious.

また、所定値βを予め決めた固定値としたが、この値を
、例えば、統計処理で得られる分散値σ2を用いて、β
=3σとしてもよい。
In addition, although the predetermined value β is a predetermined fixed value, this value can be changed to β using, for example, the variance value σ2 obtained by statistical processing.
= 3σ may be used.

他の動作は、第1図と同様であるため、説明は省略する
The other operations are the same as those in FIG. 1, so their explanation will be omitted.

以上、本実施例によれば、反響消去能力が高くかつ低価
格な反響消去装置を得ることができる。
As described above, according to this embodiment, it is possible to obtain an echo canceling device that has high echo canceling ability and is inexpensive.

第20図に本発明の他の一実施例の構成を示す。FIG. 20 shows the configuration of another embodiment of the present invention.

第20図において、本実施例は、前述した第1図に示す
ものと同じ反響消去装置2と平坦遅延長針側装置100
を備え、さらに、反響消去装置2の消去能力の増減すな
わち反響減衰量増強を検出する手段と、この検出結果と
平坦遅延長計測装置100にて計測される平坦遅延長と
により可変平坦遅延線を制御する手段とを備えて構成さ
れる。なお、他の構成要素は第1図番こ示すものと同じ
である。
In FIG. 20, this embodiment has the same echo canceling device 2 and flat delay long hand side device 100 as shown in FIG.
and a means for detecting an increase or decrease in the cancellation ability of the echo canceling device 2, that is, an increase in the amount of echo attenuation, and a variable flat delay line based on the detection result and the flat delay length measured by the flat delay length measuring device 100. and control means. Note that the other components are the same as those shown in the first figure.

第20図において、反響減衰量増強を検出する手段は、
電力計測回路22および器と、ERI、E算出回路冴を
有して構成される。才た、平坦遅延線を制御する手段は
、平坦遅延長計測回路番こより構成される。
In FIG. 20, the means for detecting the echo attenuation enhancement is as follows:
The power measurement circuit 22 includes a power measurement circuit 22, a power measurement circuit 22, and an ERI and E calculation circuit. The means for controlling the long, flat delay line consists of a flat delay length measuring circuit.

反響消去装置2の減算器5の前後に接続された電力計測
回路22 、23は、反響信号の装置への入力信号と出
力信号の電力をそれぞれ計測する。反響消去装置2の消
去能力は、前記電力計測回路22の計測電力P、と計測
回路nの計測電力P、の比P+ /Rで与えられる。こ
れを、一般に、反響減衰量増強(Echo Retur
n Lama Enhancement : E RL
 E )と呼ぶ。ERL、E算出回路24は、このER
LE値を算出する。
Power measurement circuits 22 and 23 connected before and after the subtractor 5 of the echo canceling device 2 measure the power of the input signal and the output signal of the echo signal to the device, respectively. The cancellation ability of the echo cancellation device 2 is given by the ratio P+/R of the measured power P of the power measuring circuit 22 and the measured power P of the measuring circuit n. This is generally referred to as echo attenuation enhancement.
n Lama Enhancement: ERL
E). The ERL, E calculation circuit 24 calculates this ER
Calculate the LE value.

平坦遅延長調整回路25は、このERLE値をもとに、
平坦遅延長計測回路9で得た平坦遅延長を調整し、修正
を加えて、可変平坦遅延線6に出力する。
Based on this ERLE value, the flat delay length adjustment circuit 25
The flat delay length obtained by the flat delay length measurement circuit 9 is adjusted, corrected, and output to the variable flat delay line 6.

第18図番こついての説明で述べたよう化、計測した平
坦遅延長が誤差を含む場合には、反響消去能力が低下す
る。つまり、ERLE値は小さい。そこで、このERL
E値が大きくなるように計測した平坦遅延長を微調整す
るのが本実施例の主旨である。
If the measured flat delay length includes an error, as described in the explanation of the trick in Figure 18, the echo cancellation ability will be reduced. In other words, the ERLE value is small. Therefore, this ERL
The gist of this embodiment is to finely adjust the measured flat delay length so that the E value increases.

第21図に平坦遅延長調整回路25の一実施例を示す。FIG. 21 shows an embodiment of the flat delay length adjustment circuit 25.

第21図において、251は切換スイッチ、252はバ
ッファレジスタ、253は力σ算器、254は選択スイ
ッチ、255はキザミ幅回路、256はキザミ幅選択制
御回路、257は増減検出回路、258はERLE値レ
ジスタである。
In FIG. 21, 251 is a changeover switch, 252 is a buffer register, 253 is a force σ calculator, 254 is a selection switch, 255 is a cut width circuit, 256 is a cut width selection control circuit, 257 is an increase/decrease detection circuit, and 258 is an ERLE. It is a value register.

第21図をもとに第四図実施例の動作を説明する。The operation of the embodiment shown in FIG. 4 will be explained based on FIG. 21.

談ず、計測した平坦遅延長は、切換スイッチ251を通
してバッファレジスタ252に一時記憶され、この平坦
遅延長で、可変平坦遅延線6は制御され、反響消去装置
2が動作する。このときのERLE値は、ERLE値レ
ジスタ258化−時記憶される。
In addition, the measured flat delay length is temporarily stored in the buffer register 252 through the changeover switch 251, and the variable flat delay line 6 is controlled by this flat delay length, and the echo canceling device 2 is operated. The ERLE value at this time is stored in the ERLE value register 258.

次に、キザミ幅選択制御回路256は、選択スイッチ2
54を制御して、キザミ幅回路255化記憶されている
キザミ幅Δ(例えば±1.25m5に相当するカウンタ
値±100あるいは零)の1つ(零は除く)を選択し、
加算器253をと入力する。いま、プラスキザミ幅+Δ
を選択したとする。
Next, the kizami width selection control circuit 256 selects the selection switch 2.
54 to select one of the increment widths Δ (for example, a counter value of ±100 or zero corresponding to ±1.25 m5) stored in the increment width circuit 255 (excluding zero);
Input the adder 253 as . Now, plus width +Δ
Suppose you select

加算器253は、バッファレジスタの平坦遅延長に10
0を加えた値を、再びバッファレジスタに入力する。そ
して、このときのERLE値と先に記憶したERLE値
とを増減検出回路257で比較し、ERLE値の増加あ
るいは減少あるいは不変の情報をキザミ幅選択制御回路
256に出力する。
Adder 253 adds 10 to the flat delay length of the buffer register.
The value with 0 added is input into the buffer register again. Then, the increase/decrease detection circuit 257 compares the ERLE value at this time with the previously stored ERLE value, and outputs information on whether the ERLE value increases, decreases, or remains unchanged to the kizami width selection control circuit 256.

キザミ幅選択制御回路256は、この結果から再びキザ
ミ幅値を選択する。例えば、ERLE値が減少したなら
ば−Δを、増加したならば再度十Δを選択し、バッファ
レジスタの平坦遅延長を更新する。
The incision width selection control circuit 256 selects the incision width value again from this result. For example, if the ERLE value decreases, -Δ is selected, and if it increases, 10Δ is selected again to update the flat delay length of the buffer register.

上記の動作を繰り返し収束することにより、最適(ER
LE値が最大となる)な平坦遅延長を得ることができる
By repeating the above operations and converging, the optimal (ER
It is possible to obtain a flat delay length in which the LE value is maximum.

以上、本実施例は、ERLE値の増減を目安に、当初計
測した平坦遅延長を順次あるキザミ幅で更新し、最適な
平坦遅延長とする。
As described above, in this embodiment, the initially measured flat delay length is sequentially updated by a certain increment width using the increase/decrease in the ERLE value as a guide to obtain the optimal flat delay length.

以上、本発明の実施例について説明したが、本発明は、
これらの実施例に限定されるものではない。例えば、各
実施例の特徴点を組み合わせることが考えられる。
The embodiments of the present invention have been described above, but the present invention includes
The present invention is not limited to these examples. For example, it is possible to combine the features of each embodiment.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように構成されるので以下に記
載されるような効果を奏する。
Since the present invention is configured as described above, it produces the effects described below.

(1)  通話中であっても、反響経路の平坦遅延長を
正確に計測できる。
(1) Even during a call, the flat delay length of the echo path can be accurately measured.

(2)前記計測は、簡略なハードウェアで構成でき、経
済的である。さらに、前記ハードウェアを電話端末にお
けるダイヤル信号であるDTMF信号とすれば、その経
済効果はさらに高才る。
(2) The measurement can be configured with simple hardware and is economical. Furthermore, if the hardware is a DTMF signal, which is a dial signal in a telephone terminal, the economic effect will be even greater.

(3)反響消去装置の適応ディジタルフィルタのフィル
タ達延線を、タップ係数を持つ固定遅延長遅延線と、前
記本発明によって計測される平坦遅延長で制御される可
変平坦遅延線とで構成して、大幅な計算能力の削減とハ
ードウェア規模の低減を達成でき、経済的である。
(3) The filter extension line of the adaptive digital filter of the echo canceller is configured with a fixed delay length delay line having a tap coefficient and a variable flat delay line controlled by the flat delay length measured by the present invention. This makes it possible to achieve a significant reduction in computing power and hardware scale, making it economical.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は現在の地上電話回線網を示すブロック図、第3図
は現在の自動車電話回線網を示すブロック図、第4図お
よびM5図はインパルス応答を示す波形図、第6図は従
来の反響消去装置を示すブロック図、第7図は2周波信
号発生回路の一実施例を示すブロック図、第8図は2周
波信号検出回路の一実施例を示すブロック図、第9図は
平坦遅延長計測回路の一実施例を示すブロック図、第1
0図は第1図の実施例における信号を示すタイミングチ
ャート、第11図は可変平坦遅延線の一実施例を示すブ
ロック図、第12図は本発明の他の一実施例の構成を示
すブロック図、第13図は第12図の実施例における信
号を示すタイミングチャート、第14囚は本発明の他の
一実施例の構成を示すブロック図、第15図は本発明の
他の一実施例の構成を示すブロック図、第16図は第1
5図の実施例における信号を示すタイミングチャート、
第17図は本発明の他の一実施例の構成を示すブロック
図、第18図はインパルス応答を示す波形図、第19図
は本発明の他の一実施例の構成を示すブロック図、第四
図は本発明の他の一実施例の構成を示すブロック図、第
21図は平坦遅延長調整回路の一実施例を示すブロック
図である。 2・・・反響消去装置   3・・・ディジタルフィル
タ4・・・タップ係数設定回路 5・・・減算器      6・・・可変平坦遅延線7
・・・2周波信号発生回路 8・・・2周波信号検出回路 9・・・平坦遅延長計測回路 15・・切換スイッチ 20・・・所定値回路 25・・・平坦遅延長調整回路 100・・・平坦遅延長計測装置 19・・・統計処理回路 21・・・減算器 7
Fig. 1 is a block diagram showing the configuration of an embodiment of the present invention, Fig. 2 is a block diagram showing the current landline telephone line network, Fig. 3 is a block diagram showing the current car telephone line network, and Fig. 4 and M5 are waveform diagrams showing impulse responses, FIG. 6 is a block diagram showing a conventional echo canceller, FIG. 7 is a block diagram showing an embodiment of a two-frequency signal generation circuit, and FIG. 8 is a two-frequency signal FIG. 9 is a block diagram showing an embodiment of the detection circuit; FIG. 9 is a block diagram showing an embodiment of the flat delay length measuring circuit;
0 is a timing chart showing signals in the embodiment of FIG. 1, FIG. 11 is a block diagram showing an embodiment of the variable flat delay line, and FIG. 12 is a block diagram showing the configuration of another embodiment of the present invention. Figure 13 is a timing chart showing the signals in the embodiment of Figure 12, Figure 14 is a block diagram showing the configuration of another embodiment of the present invention, and Figure 15 is another embodiment of the present invention. A block diagram showing the configuration of the
A timing chart showing signals in the embodiment of FIG. 5,
FIG. 17 is a block diagram showing the configuration of another embodiment of the present invention, FIG. 18 is a waveform diagram showing an impulse response, and FIG. 19 is a block diagram showing the configuration of another embodiment of the present invention. FIG. 4 is a block diagram showing the configuration of another embodiment of the present invention, and FIG. 21 is a block diagram showing an embodiment of a flat delay length adjustment circuit. 2... Echo cancellation device 3... Digital filter 4... Tap coefficient setting circuit 5... Subtractor 6... Variable flat delay line 7
... Two-frequency signal generation circuit 8 ... Two-frequency signal detection circuit 9 ... Flat delay length measurement circuit 15 ... Changeover switch 20 ... Predetermined value circuit 25 ... Flat delay length adjustment circuit 100 ...・Flat delay length measuring device 19...Statistical processing circuit 21...Subtractor 7

Claims (1)

【特許請求の範囲】 1、反響経路の入力部に、互いに素の周波数関係にある
複数の正弦波信号を入力し、前記反響経路の出力部から
前記正弦波信号を検出して、前記入力信号と前記検出信
号との時間差により前記反響経路の平坦遅延長を計測す
ることを特徴とする反響経路の平坦遅延長計測方法。 2、反響経路の入力部に接続され、互いに素の周波数関
係にある複数の正弦仮信号を発生する手段と、前記反響
経路の出力部に接続され、前記正弦波信号を検出する手
段と、前記発生信号と前記検出信号との時間差により前
記反響経路の平坦遅延長を計測する手段とを備えること
を特徴とする反響経路の平坦遅延長計測装置。 3、前記発生信号がバースト信号であることを特徴とす
る請求項2記載の反響経路の平坦遅延長計測装置。 4、反響経路への入力信号から反響信号の複製を作成す
る適応ディジタルフィルタを有し、前記反響経路の反響
信号から前記反響信号の複製を差し引くことにより反響
信号を消去する反響消去装置において、前記フィルタの
フィルタ遅延線をタップおよび係数を持つ固定遅延長の
遅延線と、平坦遅延を与え、その遅延長が反響経路の平
坦遅延長計測手段から得た平坦遅延長により制御される
可変平坦遅延線とを備え、前記平坦遅延長計測手段とし
て、請求項2または3記載の平坦遅延長計測装置を接続
することを特徴とする反響消去装置。 5、反響経路への入力信号から反響信号の複製を作成す
る適応ディジタルフィルタを有し、前記反響経路の反響
信号から前記反響信号の複製を差し引くことにより反響
信号を消去する反響消去装置において、前記フィルタの
フィルタ遅延線をタップおよび係数を持つ第1および第
2の固定遅延長の遅延線と、平坦遅延を与え、その遅延
長が反響経路の平坦遅延長計測手段から得られる平坦遅
延長により制御される可変平坦遅延線とを備え、前記可
変平坦遅延線を前記第1および第2の遅延線の間に設け
、かつ、前記平坦遅延長計測手段として、請求項2また
は3記載の平坦遅延長計測装置を接続することを特徴と
する反響消去装置。 6、請求項4または5記載の反響消去装置を有すること
を特徴とする電話端末。 7、請求項4または5記載の反響消去装置を有する自動
車電話端末。 8、マイク・スピーカ間の音響結合による音響反響経路
への入力信号から反響信号の複製を作成する適応ディジ
タルフィルタを有し、前記音響反響経路の反響信号から
前記反響信号の複製を差し引くことにより反響信号を消
去する音響反響消去装置と、電話回線内のハイブリッド
変成器等による回線反響経路への入力信号から反響信号
の複製を作成する適応ディジタルフィルタを有し、前記
回線反響経路の反響信号から前記反響信号の複製を差し
引くことにより反響信号を消去する回線反響消去装置を
持つ電話端末において、前記回線反響消去装置を、請求
項4または5記載の反響消去装置とすることを特徴とす
る電話端末。 9、請求項8記載の電話端末において、前記音響反響消
去装置を、請求項4記載の反響消去装置とすることを特
徴とする電話端末。 10、反響路への入力信号から反響信号の複製を作成す
る適応ディジタルフィルタを有し、前記反響経路の反響
信号から前記反響信号の複製を差し引くことにより反響
信号を消去する反響消去装置において、前記フィルタの
フィルタ遅延線をタップおよび係数を持つ固定遅延長の
遅延線と、平坦遅延を与えその遅延長が可変である可変
平坦遅延線とで形成し、前記反響消去装置の消去能力の
増減を検出する手段と、前記増減情報と平坦遅延長計測
手段から得られる前記反響経路の平坦遅延長とから前記
可変平坦遅延線を制御する平坦遅延長調整手段とを設け
、前記調整手段は、前記消去能力が増加する方向で前記
平坦遅延長に所定の値の加算あるいは減算を繰り返し与
える機能を有し、かつ、前記平坦遅延長計測手段として
、請求項2または3記載の平坦遅延長計測装置を接続す
ることを特徴とする反響消去装置。
[Claims] 1. A plurality of sine wave signals having mutually prime frequency relationships are input to the input section of the echo path, the sine wave signals are detected from the output section of the echo path, and the input signal is A method for measuring a flat delay length of an echo path, characterized in that the flat delay length of the echo path is measured based on the time difference between the detection signal and the detection signal. 2. means connected to the input of the echo path for generating a plurality of pseudo sinusoidal signals having mutually prime frequency relationships; means connected to the output of the echo path for detecting the sinusoidal signal; A device for measuring a flat delay length of an echo path, comprising means for measuring a flat delay length of the echo path based on a time difference between a generated signal and the detection signal. 3. The echo path flat delay length measuring device according to claim 2, wherein the generated signal is a burst signal. 4. An echo cancellation device having an adaptive digital filter that creates a replica of the echo signal from an input signal to the echo path, and canceling the echo signal by subtracting the replica of the echo signal from the echo signal of the echo path, A delay line with a fixed delay length that taps the filter delay line of the filter and has a coefficient, and a variable flat delay line that gives a flat delay and whose delay length is controlled by the flat delay length obtained from the flat delay length measurement means of the echo path. 4. An echo cancellation device comprising: a flat delay length measuring device according to claim 2 or 3 connected as said flat delay length measuring means. 5. An echo cancellation device having an adaptive digital filter that creates a replica of the echo signal from an input signal to the echo path, and canceling the echo signal by subtracting the replica of the echo signal from the echo signal of the echo path, The filter delay line of the filter is tapped and has first and second fixed delay length delay lines having coefficients and a flat delay, and the delay length is controlled by the flat delay length obtained from the flat delay length measuring means of the echo path. 4. A flat delay length according to claim 2, wherein the variable flat delay line is provided between the first and second delay lines, and the flat delay length measuring means is a flat delay length measuring means. An echo canceling device characterized by connecting a measuring device. 6. A telephone terminal comprising the echo canceling device according to claim 4 or 5. 7. A car telephone terminal comprising the echo canceling device according to claim 4 or 5. 8. An adaptive digital filter that creates a replica of a reverberation signal from an input signal to an acoustic reverberation path due to acoustic coupling between a microphone and a speaker; an acoustic echo canceler for canceling the signal; and an adaptive digital filter for creating a replica of the echo signal from the input signal to the line echo path, such as by a hybrid transformer in the telephone line; 6. A telephone terminal having a line echo canceling device for canceling echo signals by subtracting copies of echo signals, characterized in that said line echo canceling device is the echo canceling device according to claim 4 or 5. 9. The telephone terminal according to claim 8, wherein the acoustic echo canceling device is the echo canceling device according to claim 4. 10. An echo cancellation device comprising an adaptive digital filter that creates a replica of the echo signal from an input signal to the echo path, and cancels the echo signal by subtracting the replica of the echo signal from the echo signal of the echo path, A filter delay line of the filter is formed of a fixed delay length delay line having taps and coefficients, and a variable flat delay line that gives a flat delay and whose delay length is variable, and detects an increase or decrease in the cancellation ability of the echo cancellation device. flat delay length adjusting means for controlling the variable flat delay line from the increase/decrease information and the flat delay length of the echo path obtained from the flat delay length measuring means; The device has a function of repeatedly adding or subtracting a predetermined value to the flat delay length in a direction in which the flat delay length increases, and the flat delay length measuring device according to claim 2 or 3 is connected as the flat delay length measuring means. An echo canceling device characterized by:
JP24629289A 1989-09-25 1989-09-25 Method and instrument for measuring flat delay length, echo canceller and telephone set terminal Pending JPH03109828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24629289A JPH03109828A (en) 1989-09-25 1989-09-25 Method and instrument for measuring flat delay length, echo canceller and telephone set terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24629289A JPH03109828A (en) 1989-09-25 1989-09-25 Method and instrument for measuring flat delay length, echo canceller and telephone set terminal

Publications (1)

Publication Number Publication Date
JPH03109828A true JPH03109828A (en) 1991-05-09

Family

ID=17146381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24629289A Pending JPH03109828A (en) 1989-09-25 1989-09-25 Method and instrument for measuring flat delay length, echo canceller and telephone set terminal

Country Status (1)

Country Link
JP (1) JPH03109828A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010068213A (en) * 2008-09-10 2010-03-25 Mitsubishi Electric Corp Echo canceler
JP2016177153A (en) * 2015-03-20 2016-10-06 日本電信電話株式会社 Communication system, communication method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010068213A (en) * 2008-09-10 2010-03-25 Mitsubishi Electric Corp Echo canceler
JP2016177153A (en) * 2015-03-20 2016-10-06 日本電信電話株式会社 Communication system, communication method, and program

Similar Documents

Publication Publication Date Title
EP0898816B1 (en) Echo suppressor and non-linear processor of echo canceller
Murano et al. Echo cancellation and applications
EP0204718B1 (en) Full duplex speakerphone for radio and landline telephones
KR100233077B1 (en) Echo canceller and echo path estimationg method
US6904146B2 (en) Full duplex echo cancelling circuit
US5117418A (en) Frequency domain adaptive echo canceller for full-duplex data transmission
US5390244A (en) Method and apparatus for periodic signal detection
CN1842110B (en) Echo eliminating device and method
US8433060B2 (en) Method and system for stereo echo cancellation for VoIP communication systems
US20070092074A1 (en) Echo canceller
US20020101982A1 (en) Line echo canceller scalable to multiple voice channels/ports
Yasukawa et al. Acoustic echo control for high quality audio teleconferencing
JPH03109828A (en) Method and instrument for measuring flat delay length, echo canceller and telephone set terminal
JPS634985B2 (en)
JPS6038962A (en) Conference telephone system
JP2001016319A (en) Calling device having talking speed converter
JPH07303067A (en) Echo canceler
JP3212796B2 (en) Echo canceller
JPS61201525A (en) Echo signal cancelling device
JPH0459812B2 (en)
JPS58114555A (en) Howling preventing device
JPH07303072A (en) Method and device for detecting double talk
JPS6218836A (en) Method and circuit for suppression of howling
JPH07303061A (en) Echo canceler and echo path estimating method
JPH08213939A (en) Echo canceler