JPH06315173A - Transmission controller - Google Patents

Transmission controller

Info

Publication number
JPH06315173A
JPH06315173A JP12467993A JP12467993A JPH06315173A JP H06315173 A JPH06315173 A JP H06315173A JP 12467993 A JP12467993 A JP 12467993A JP 12467993 A JP12467993 A JP 12467993A JP H06315173 A JPH06315173 A JP H06315173A
Authority
JP
Japan
Prior art keywords
signal
gain
output
power
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP12467993A
Other languages
Japanese (ja)
Other versions
JP2850702B2 (en
Inventor
Naoyuki Yamaguchi
直行 山口
Makoto Suzuki
鈴木  誠
Masaru Shinohara
勝 篠原
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.)
Iwatsu Electric Co Ltd
Original Assignee
Iwatsu Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iwatsu Electric Co Ltd filed Critical Iwatsu Electric Co Ltd
Priority to JP5124679A priority Critical patent/JP2850702B2/en
Publication of JPH06315173A publication Critical patent/JPH06315173A/en
Application granted granted Critical
Publication of JP2850702B2 publication Critical patent/JP2850702B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To compulsorily lower the noise level at the time of transmitting a control signal by measuring reception power after a control signal is eliminated, not imparting attenuation to a reception signal when power is large and imparting attenuation when power is small. CONSTITUTION:A power measuring means measures the power of an input signal. Set values P1 and P2 in two comparators to be the components of a gain setting means and signal power are compared, and which one of three ranges of >=P2, <=P1 and between P1 and P2 signal power is discriminated. When signal power is >=P2, gain G0 (gain 1) is outputted, when signal power is <=P1, gain G1 (smaller than gain 1) is outputted and when signal power is between P1 and P2, gain proportional to signal power is outputted. A variable amplifier means amplifies an input signal by the gain determined by the gain setting means. A memory such as ROM, etc., is used as the setting means.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は伝送制御装置に関し、特
に2線式専用線などの回線を用いて音声信号帯域内で回
線捕捉信号あるいはダイヤル信号等の制御信号を送受信
し、また専用線の減衰特性等を補正する伝送制御装置
(インバンドリンガ)に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission control device, and more particularly, it uses a line such as a two-wire type dedicated line to transmit and receive control signals such as a line capture signal or a dial signal within a voice signal band, The present invention relates to a transmission control device (in-band ringer) that corrects attenuation characteristics and the like.

【0002】[0002]

【従来の技術】インバンドリンガは、専用線等の回線を
用いて音声信号帯域内(0.3〜3.4kHz)で音声
信号あるいは回線捕捉信号等の制御信号を伝送する装置
である。このような装置では、良好な通話品質を得やす
く構造が簡単であるため、4線式の専用線を利用するの
が一般的である。しかし4線式では専用線の賃借料等維
持費が高くなる問題があるため2線式専用線で同等の機
能および性能を実現したいとの要求がある。図20は、
長距離伝送を行なう中継PBXを介して2線式専用線を
縦続接続した場合のシステム全体の構成図である。
2. Description of the Related Art An in-band ringer is a device for transmitting a control signal such as a voice signal or a line capture signal within a voice signal band (0.3 to 3.4 kHz) by using a line such as a dedicated line. In such a device, it is common to use a four-line dedicated line because it is easy to obtain good call quality and has a simple structure. However, the 4-wire system has a problem that the maintenance cost of the leased line is high, and therefore there is a demand to realize the same function and performance with the 2-wire system dedicated line. 20
It is a block diagram of the whole system at the time of cascade-connecting a two-wire type | formula exclusive line via the relay PBX which performs long distance transmission.

【0003】インバンドリンガではダイヤル中あるいは
通話中に制御信号を重畳して伝送するが、インバンドリ
ンガ内部ではこの制御信号を除去し、話者に聞こえない
ようにする必要がある。制御信号を除去するには送信側
が送出する信号周波数と受信側の除去フィルタの中心周
波数が正確に一致してしている必要があり、抵抗器やコ
ンデンサといったアナログ部品で構成される発振器ある
いはフィルタを用いると、複雑な調整が必要となり、製
造しにくいといった問題があった。これを解決する方法
として、正確な基準周波数を用いてデジタル信号処理技
術により発振器あるいは除去フィルタを構成することで
無調整化を実現する方法がある。
In the in-band ringer, a control signal is superimposed and transmitted during dialing or during a call. However, it is necessary to remove the control signal in the in-band ringer so that the speaker cannot hear it. In order to remove the control signal, the signal frequency sent by the transmitter and the center frequency of the receiver filter on the receiver must match exactly.Therefore, use an oscillator or filter composed of analog parts such as resistors and capacitors. If it is used, there is a problem that complicated adjustment is required and it is difficult to manufacture. As a method of solving this, there is a method of realizing no adjustment by configuring an oscillator or a removal filter by a digital signal processing technique using an accurate reference frequency.

【0004】[0004]

【発明が解決しようとする課題】インバンドリンガ間で
用いる制御信号を正確に除去するためにデジタル信号処
理を行なうには、音声信号を含めて信号は全て量子化信
号に変換されねばならない。量子化信号には必ず量子化
雑音が含まれており、音声信号が存在しその電力が大き
い場合は量子化雑音電力は相対的に小さいので問題とな
らないが、音声信号が無い場合は量子化雑音が相対的に
大きくなり、話者に対し不快感を与えるという問題があ
った。特に、μ則のような非線形な振幅量子化を行なう
アナログデジタル変換器では振幅の大きな部分の量子化
間隔が広いため、振幅の大きい制御信号を変換すると比
較的大きなレベルの白色雑音が発生し、制御信号が除去
された後はその白色雑音が残ることになるから、その時
の音声信号電力が小さいと、マスキング効果が働かない
ために白色雑音が耳障りな音として聞こえてしまうとい
う問題点があった。本発明の目的は、伝送制御装置にお
いて、無音時に顕著となる雑音を不快感を与えない程度
に低減することにある。
In order to perform digital signal processing in order to accurately remove a control signal used between in-band ringers, all signals including a voice signal must be converted into a quantized signal. Quantized signals always contain quantization noise, and if there is a speech signal and its power is large, the quantization noise power is relatively small, so there is no problem, but if there is no speech signal, the quantization noise does not occur. Has a problem that it becomes relatively large and gives discomfort to the speaker. In particular, in an analog-digital converter that performs non-linear amplitude quantization such as μ-law, since the quantization interval of a large amplitude part is wide, when a control signal with a large amplitude is converted, a relatively large level of white noise occurs, Since the white noise remains after the control signal is removed, if the audio signal power at that time is small, the white noise will be heard as an offensive sound because the masking effect does not work. . It is an object of the present invention to reduce noise, which is noticeable when there is no sound, in a transmission control device to the extent that it does not cause discomfort.

【0005】[0005]

【課題を解決するための手段】本発明は、制御信号を除
去した後の受信電力を測定し、電力が大きい場合は受信
信号に減衰を与えず、電力が小さい場合は減衰を与える
ことにより、制御信号伝送時の雑音レベルを強制的に下
げるところに特徴がある。
According to the present invention, the received power after removing the control signal is measured, the received signal is not attenuated when the power is high, and the received signal is attenuated when the power is low. It is characterized in that the noise level during control signal transmission is forcibly reduced.

【0006】[0006]

【作用】本発明では、音声信号が無音のときは振幅を極
端に小さくしても違和感を与えることは少ないから、受
信信号電力を測定し、電力が小さい場合は電力に応じて
受信信号に減衰を与えることにより、話者に違和感を与
えることなく受信制御信号の量子化に起因する白色雑音
を減衰させることができる。
In the present invention, when the voice signal is silent, there is little discomfort even if the amplitude is extremely reduced. Therefore, the received signal power is measured, and when the power is small, the received signal is attenuated according to the power. By applying, the white noise caused by the quantization of the reception control signal can be attenuated without giving a feeling of strangeness to the speaker.

【0007】[0007]

【実施例】図21は本発明のインバンドリンガのハード
ウェア構成を示すブロック図である。インバンドリンガ
1は、2線式の回線とPBX2の間に接続されており、
PBX2とは、例えば図21に示すような6線式SR専
用線インターフェース(TTC標準JJ−21.10)
によって接続されている。送話線4WS、受話線4WR
はそれぞれの方向の音声信号を伝送し、上り制御線S
S、下り制御線SRはそれぞれの方向に、発呼、ダイヤ
ル、応答等の制御信号を伝送する。なお、PBX等との
インタフェースはこの他に、2線の伝送線に送受音声信
号と回線捕捉信号、呼び出し信号、ダイヤル信号等の制
御信号とを重畳する方法もある。
21 is a block diagram showing the hardware structure of an in-band ringer according to the present invention. The in-band ringer 1 is connected between the 2-wire line and the PBX2,
The PBX2 is, for example, a 6-wire SR dedicated line interface (TTC standard JJ-21.10) as shown in FIG.
Connected by. Transmission line 4WS, reception line 4WR
Transmits audio signals in each direction, and the uplink control line S
The S and downlink control lines SR transmit control signals for calling, dialing, responding, etc. in the respective directions. In addition to this, as an interface with the PBX or the like, there is also a method of superposing a transmission / reception voice signal and a control signal such as a line capture signal, a call signal, and a dial signal on a two-line transmission line.

【0008】DSP(デジタルシグナルプロセッサ)1
0は高速の演算機能を備えたCPUである。図23はD
SPの構造の一例を示すブロック図である。DSP自体
は各種のものが市販されており、周知であるので詳細な
説明は省略するが、DSPに適当なプログラムを組み込
むことにより、フィルタ、信号の発生、検出など様々な
デジタル信号処理が可能となり、また外部の回路の制御
を行うこともできる。H13は2線4線変換回路、BN
14はH13の平衡をとるための複数個の回路を含むバ
ランス回路網(これらの回路については後述する。)、
AGC15は専用線での信号減衰量を補償するための可
変利得増幅器(これについても後述する。)である。
DSP (Digital Signal Processor) 1
Reference numeral 0 is a CPU having a high-speed arithmetic function. Figure 23 is D
It is a block diagram which shows an example of a structure of SP. Since various DSPs are commercially available and well known, detailed description thereof will be omitted. However, by incorporating an appropriate program into the DSP, various digital signal processing such as filtering, signal generation, and detection becomes possible. It is also possible to control an external circuit. H13 is a 2-wire to 4-wire conversion circuit, BN
14 is a balance circuit network including a plurality of circuits for balancing H13 (these circuits will be described later),
The AGC 15 is a variable gain amplifier (which will also be described later) for compensating for the amount of signal attenuation on the dedicated line.

【0009】ADCb16はH13の4線側出力(AG
C出力)をデジタル信号に変換するためのアナログ−デ
ジタル変換器、DACb12はデジタル信号をアナログ
信号に変換するためのデジタル−アナログ変換器であ
る。ADCa11は入力音声信号をデジタル信号に変換
するためのアナログ−デジタル変換器、DACa17は
デジタル信号をアナログ信号に変換するためのデジタル
−アナログ変換器である。フォトカプラ18はSS信号
を受信し、DSP10の制御バス20に出力する。リレ
ー19はDSP10の制御により、制御信号をSR線に
送出する。
The ADCb16 outputs the H13 on the 4-wire side (AG
The Cb) is an analog-digital converter for converting a digital signal, and the DACb12 is a digital-analog converter for converting a digital signal into an analog signal. ADCa11 is an analog-digital converter for converting an input audio signal into a digital signal, and DACa17 is a digital-analog converter for converting a digital signal into an analog signal. The photocoupler 18 receives the SS signal and outputs it to the control bus 20 of the DSP 10. The relay 19 sends a control signal to the SR line under the control of the DSP 10.

【0010】図1は本発明の2線式インバンドリンガの
機能を示す機能ブロック図である。本発明のインバンド
リンガは設置時に図示してない設定手段(例えばスイッ
チ)により機能選択がなされ、主局装置あるいは従局装
置に設定される。本発明では、従局に設定されたインバ
ンドリンガが先に専用線の特性を測定するためのテスト
信号を送信し、主局に設定されたインバンドリンガは、
それを受けて増幅器利得等の設定を開始する。主局ある
いは従局への設定は、いずれが先にテスト信号の送信を
行うか、また制御信号として主局用の周波数を用いるか
従局用の周波数を用いるかを区別するものである。主
局、従局ともに同一の構成であるから、図1を用いて各
構成要素を説明し、その後図2以降を用いて動作を説明
する。
FIG. 1 is a functional block diagram showing the function of the two-wire in-band ringer of the present invention. The function of the in-band ringer of the present invention is selected by setting means (for example, a switch) not shown at the time of installation, and the function is set to the master station device or the slave station device. In the present invention, the in-band ringer set in the slave station first transmits a test signal for measuring the characteristics of the leased line, and the in-band ringer set in the master station is
In response to this, setting of amplifier gain and the like is started. The setting for the master station or the slave station distinguishes which of the test signals is transmitted first and which of the master station frequency and the slave station frequency is used as the control signal. Since the master station and the slave stations have the same configuration, each component will be described with reference to FIG. 1, and then the operation will be described with reference to FIG. 2 and subsequent figures.

【0011】図1において、ECbは2線4線変換部H
で生じる回り込み成分の伝達関数を推定するエコーキャ
ンセラ、ADbはECbの出力とHの4線側出力を減算
し回り込みを抑圧する減算器、WHNaは白色雑音発生
器、SWbはバランス回路網BNの選択あるいはエコー
キャンセラECbの適応フィルタタップ係数設定時に白
色雑音をHの4線側入力に入力するための切替えスイッ
チである。
In FIG. 1, ECb is a 2-line to 4-line converter H.
, An echo canceller for estimating the transfer function of the wraparound component, ADb is a subtractor for suppressing the wraparound by subtracting the output of ECb and the output on the 4th line of H, WHNa is a white noise generator, and SWb is the selection of the balance network BN. Alternatively, it is a changeover switch for inputting white noise to the 4-wire side input of H when the adaptive filter tap coefficient of the echo canceller ECb is set.

【0012】MODはダイヤルパルスを変調する変調
器、OSCは1周波あるいは2周波からなる制御信号を
出力するための可変周波数発振器、BEFaはMOD又
はOSCから出力される制御信号の占有帯域に相当する
成分をPBX側より入力される音声信号から除去する帯
域阻止フィルタ、SWaは通話モード時に音声信号の全
帯域を通すためのスイッチ、DETは1周波あるいは2
周波からなる制御信号を受信し、その電力を測定すると
ともに信号の有無を判定する信号受信器、DEMはダイ
ヤルパルス変調波の復調を行う復調器、SWcは通話モ
ード時に音声信号の全帯域を通すためのスイッチ、BE
Fbは専用線から受信した信号中から制御信号の帯域に
相当する成分を除去する帯域阻止フィルタである。
MOD is a modulator for modulating dial pulses, OSC is a variable frequency oscillator for outputting a control signal having one frequency or two frequencies, and BEFa is an occupied band of the control signal output from the MOD or OSC. A band elimination filter that removes the component from the voice signal input from the PBX side, SWa is a switch for passing the entire band of the voice signal in the call mode, DET is one frequency or two
A signal receiver that receives a control signal consisting of a frequency, measures its power, and determines the presence / absence of a signal, DEM is a demodulator that demodulates a dial pulse modulated wave, and SWc passes the entire band of a voice signal in a call mode. Switch for BE
Fb is a band elimination filter that removes a component corresponding to the band of the control signal from the signal received from the dedicated line.

【0013】EQは複数のイコライザカーブを持ち、そ
のうちの1つを用いて受信音声信号の高域減衰を補正す
るイコライザ、NRは、量子化雑音を低減するために受
信音声信号の電力に応じて利得を変える雑音低減器、W
HNbは白色雑音発生器、SWdはECaのタップ係数
設定時に白色雑音を受話線4WRに入力するためのスイ
ッチ、ECaはPBXの加入者回路の2線4線変換回路
で生じる回り込み成分の伝達関数を推定するエコーキャ
ンセラ、ADaは送話線4WSの信号からECaの出力
を減算し、回り込みを抑圧する減算器である。CONT
は制御バスを介してかく機能ブロックを制御する。IN
TはSS線、SR線とのインターフェース部であり、S
S線から受信した制御信号をCONTに転送し、またC
ONTからの制御信号をSR線に伝送する。
The EQ has a plurality of equalizer curves, one of which is used to correct the high frequency attenuation of the received voice signal, and the NR corresponds to the power of the received voice signal in order to reduce the quantization noise. Noise reducer that changes gain, W
HNb is a white noise generator, SWd is a switch for inputting white noise to the receiving line 4WR when the tap coefficient of ECa is set, and ECa is the transfer function of the wraparound component generated in the 2-wire 4-wire conversion circuit of the PBX subscriber circuit. The echo canceller ADa for estimating is a subtracter for subtracting the output of ECa from the signal of the transmission line 4WS and suppressing the wraparound. CONT
Controls the functional blocks thus over the control bus. IN
T is an interface section with SS line and SR line, and S
Transfers control signal received from S line to CONT,
The control signal from the ONT is transmitted to the SR line.

【0014】ここで上記各ブロックのうち機能が複雑な
ものについて信号処理方法を説明しておく。図22に回
路図を示す可変利得増幅器AGCは演算増幅器で構成さ
れ、増幅利得は複数の帰還回路(R1〜Rn)のうち1
つを選択することで実現され、帰還回路の選択はアナロ
グスイッチSWにバイナリコードを与えることで行な
う。
Here, a signal processing method will be described for the above-mentioned blocks having complicated functions. The variable gain amplifier AGC whose circuit diagram is shown in FIG. 22 is configured by an operational amplifier, and the amplification gain is one of a plurality of feedback circuits (R1 to Rn).
This is realized by selecting one of them, and the selection of the feedback circuit is performed by giving a binary code to the analog switch SW.

【0015】エコーキャンセラECaおよびECbは、
2線4線変換部に白色雑音を入力している時に減算器A
DaあるいはADbの出力が最小になるようタップ係数
を調整し、タップ係数の調整後はその値を保持するプリ
セット型エコーキャンセラであり、同定アルゴリズムに
は例えば学習同定法を用いる。なお、ECaおよびEC
bのトレーニング時には、確実にトレーニングが行なわ
れるよう白色雑音は音声信号と同レベルで印加される。
ECbの場合、初期設定動作中に行われるので問題は無
いが、ECaの場合にはPBXの通話路が形成されてか
らトレーニングを行うので、話者には大きな不快な雑音
として聞こえてしまう。不快感を軽減するには、被呼側
では回線捕捉検出直後あるいは発呼側では捕捉応答信号
停止直後にトレーニングを行ない、通話路切替音等によ
るマスクキング効果があるようにする。白色雑音発生器
WHNaおよびWHNbでは、例えば予め計算機で発生
させたランダム信号をROMに記憶しておき、それを読
み出すことで発生させる。変調器MODは、例えばダイ
ヤルパルスのブレーク期間に正相正弦波を出力し、メイ
ク期間に逆相正弦波を出力する位相変調で実現する。位
相変調であれば常時信号電力が存在し、単一周波数検出
手段で検出可能であり都合がよい。可変周波数発振器O
SCは例えば発振周波数をfiとしサンプリング周波数
をfsとしたときn番目の正弦波サンプル値は次式の実
数部または虚数部で表わされる。
The echo cancellers ECa and ECb are
When white noise is being input to the 2-line to 4-line converter, the subtractor A
This is a preset echo canceller that adjusts the tap coefficient so that the output of Da or ADb is minimized and holds the value after the adjustment of the tap coefficient. For example, a learning identification method is used for the identification algorithm. ECa and EC
During the training of b, the white noise is applied at the same level as the voice signal so that the training is surely performed.
In the case of ECb, there is no problem because it is performed during the initial setting operation, but in the case of ECa, since training is performed after the PBX speech path is formed, the speaker hears it as a large unpleasant noise. In order to reduce the discomfort, the called side performs training immediately after the line acquisition is detected or the calling side immediately after the acquisition response signal is stopped so that there is a masking effect due to a voice switching sound. In the white noise generators WHNa and WHNb, for example, a random signal generated in advance by a computer is stored in the ROM and is read out to generate the random signal. The modulator MOD is realized by phase modulation that outputs a positive-phase sine wave during the break period of the dial pulse and outputs a negative-phase sine wave during the make period, for example. In the case of phase modulation, signal power is always present and can be detected by the single frequency detecting means, which is convenient. Variable frequency oscillator O
In SC, for example, when the oscillation frequency is fi and the sampling frequency is fs, the nth sine wave sample value is represented by the real part or imaginary part of the following equation.

【0016】exp(j2πnfi/fs) =exp(j2π(n-1)fi/fs)
・ exp(j2πfi/fs) . 従って、この式の右辺を逐次的に計算することで、すな
わち発振周波数に対応した係数cos(2 πfi/fs)およびsi
n(2 πfi/fs)を用いて複素演算を行うことで、所望の周
波数の正弦波を発生できる。帯域阻止フィルタBEFa
あるいはBEFbはIIRフィルタで構成してあり、複
数の阻止特性に対応した分母係数および分子係数をRO
Mに記憶しておき、通信手順上の必要に応じて、これら
係数を選択し演算する。2周波信号の除去にあたっては
1サンプルの処理中に2回前記係数を選び、フィルタ演
算を行なう。
Exp (j2πnfi / fs) = exp (j2π (n-1) fi / fs)
・ Exp (j2πfi / fs). Therefore, by sequentially calculating the right side of this equation, that is, the coefficient cos (2πfi / fs) and si corresponding to the oscillation frequency are
By performing a complex operation using n (2 πfi / fs), a sine wave having a desired frequency can be generated. Band stop filter BEFa
Alternatively, BEFb is composed of an IIR filter, and the denominator coefficient and the numerator coefficient corresponding to a plurality of blocking characteristics are RO
These coefficients are stored in M, and these coefficients are selected and calculated according to the needs of the communication procedure. In removing the two-frequency signal, the coefficient is selected twice during the processing of one sample, and the filter operation is performed.

【0017】信号受信器DETにおける信号検出は図1
6に示すように、先ず0.3〜3.4kHzの全ての帯
域内の電力Paを測定し、次に所望周波数の正弦波を通
過させる帯域通過フィルタにより信号帯域を選択し、そ
の選択された信号の電力Psを測定し、検出判定に当た
っては比Ps/Paが1のとき(実際にはノイズや誤差
があるので1より小さな値rp以上のとき)所望信号有
りと判定する。比Ps/Paが小さいときは受信信号が
所望信号以外の成分を多く含んでおり、誤検出となる可
能性が高いので合格判定としない。なおDETにおい
て、電力測定は時間窓内の平均を計算することで実現
し、帯域通過フィルタはIIRフィルタで構成してあ
り、複数の通過特性に対応した分母係数および分子係数
をROMに記憶しておき、検出周波数に応じてこれら係
数を選択演算し、また2周波の場合は帯域阻止フィルタ
と同様に2回演算することで実現する。復調器DEMは
帯域通過フィルタと捕捉信号の位相変化を判定する検出
器とで構成され、ダイヤルパルスを復調する。イコライ
ザEQおよび雑音低減器NRについては後に詳述する。
The signal detection in the signal receiver DET is shown in FIG.
As shown in FIG. 6, first, the electric power Pa in all the bands of 0.3 to 3.4 kHz is measured, and then the signal band is selected by the band pass filter that passes the sine wave of the desired frequency. The electric power Ps of the signal is measured, and in the detection determination, it is determined that the desired signal is present when the ratio Ps / Pa is 1 (actually, noise or an error causes a value rp smaller than 1). When the ratio Ps / Pa is small, the received signal contains a large amount of components other than the desired signal, and there is a high possibility of false detection. In DET, power measurement is realized by calculating the average within a time window, the band pass filter is composed of an IIR filter, and the denominator coefficient and the numerator coefficient corresponding to a plurality of pass characteristics are stored in ROM. Every time, these coefficients are selectively calculated according to the detected frequency, and in the case of 2 frequencies, it is realized by calculating twice like the band stop filter. The demodulator DEM is composed of a bandpass filter and a detector that determines the phase change of the captured signal, and demodulates the dial pulse. The equalizer EQ and the noise reducer NR will be described in detail later.

【0018】次に本発明によるインバンドリンガの初期
設定動作に入る手順及び初期設定動作終了後の待機状態
について図2(a)、図2(b)、図6(a)及び図6
(b)を用いて説明する。インバンドリンガの設置にあ
たっては工事業者がPBX等との伝送線及び2線式専用
線を接続し主局装置か従局装置かの設定を行い電源を投
入する。
Next, the procedure for entering the initial setting operation of the in-band ringer according to the present invention and the standby state after completion of the initial setting operation will be described with reference to FIGS. 2 (a), 2 (b), 6 (a) and 6
An explanation will be given using (b). When installing the in-band ringer, the contractor connects the transmission line with the PBX or the like and the two-wire dedicated line, sets the master station device or the slave station device, and turns on the power.

【0019】電源投入が行われると、主局装置は図6
(a)に示すように2周波で成る待機信号S11をOS
Cから出力する。このときSWaはBEFa側に倒れ、
BEFaはS11を構成する2周波を阻止するようプロ
グラムされる。(以下特に断らない限り主局装置あるい
は従局装置ともOSCあるいはMODから制御信号を出
力する場合、SWaはBEFa側に倒れ、BEFaは出
力信号と同一周波数成分を阻止するようプログラムされ
るものとし、またSWcについても制御信号を受信する
状態ではBEFb側に倒すものとする)。主局装置は一
定時間(例えば1秒)の経過後、1周波でなるリセット
信号S12を出力して、従局装置に初期設定動作の開始
を指示し、従局装置から応答を兼ねた減衰特性測定用の
テスト信号S23が送られるのを待つ。テスト信号S2
3を受信すると初期設定動作へ移行する。なお、主局装
置は、待機状態において従局装置からリセット信号S2
2を受信するとリセット信号S12を出力し、電源投入
時と同じシーケンスで初期設定動作が起動されるように
する。
When the power is turned on, the main station device is shown in FIG.
As shown in (a), the standby signal S11 having two frequencies is set to the OS.
Output from C. At this time, SWa falls to the BEFa side,
BEFa is programmed to block the two frequencies that make up S11. (Unless otherwise specified, when the master station device or the slave station device outputs a control signal from OSC or MOD, SWa falls to the BEFa side, and BEFa is programmed to block the same frequency component as the output signal, and SWc is also set to the BEFb side when receiving the control signal). The master station device outputs a reset signal S12 of one frequency after a lapse of a certain time (for example, 1 second) to instruct the slave station device to start the initial setting operation, and the slave station device for measuring the attenuation characteristic that also serves as a response. Waits for the test signal S23 to be sent. Test signal S2
When 3 is received, the operation shifts to the initial setting operation. The master station device receives the reset signal S2 from the slave station device in the standby state.
When 2 is received, the reset signal S12 is output, and the initialization operation is activated in the same sequence as when the power is turned on.

【0020】従局装置は図6(b)に示すように電源投
入直後、2周波からなる待機信号S21を一定時間出力
した後、リセット信号S22を出力し、主局装置に初期
設定動作の開始を指示し、主局装置から応答を兼ねたリ
セット信号S12が送られるのを待つ。従局装置はリセ
ット信号S12を受信すると直ちに減衰特性測定用テス
ト信号S23を出力し初期設定動作へ移行する。
As shown in FIG. 6B, the slave station device outputs the standby signal S21 consisting of two frequencies for a certain period of time immediately after the power is turned on, and then outputs the reset signal S22 to start the initial setting operation to the master station device. It gives an instruction and waits for the main station device to send a reset signal S12 which also serves as a response. Upon receiving the reset signal S12, the slave device immediately outputs the attenuation characteristic measuring test signal S23 and shifts to the initial setting operation.

【0021】図2(a)は主局装置の電源が先に投入さ
れ、主局装置が設定動作を開始するまでのシーケンスを
示し、図2(b)は従局装置の電源が先に投入され主局
装置で設定動作が開始されるまでのシーケンスを示す。
図2(a)および図2(b)から明らかなように、本発
明の手順によれば主局従局の電源投入順序によらず制御
手順の同期がとられることになるから、常に主局側の初
期設定が開始され、従局はそれに必要な信号を出力す
る。すなわち同期をとることで両者の装置の一方がテス
ト信号を出力し、それをもとに他方が専用線の特性を知
り補正することで人手を介さない初期設定が可能とな
る。
FIG. 2A shows the sequence until the master station device is powered on first and the master station device starts the setting operation, and FIG. 2B shows the slave station device is powered on first. The sequence until the setting operation is started in the master station device is shown.
As is apparent from FIGS. 2 (a) and 2 (b), according to the procedure of the present invention, the control procedure is synchronized regardless of the power-on sequence of the master station slave stations. The initial setting of is started, and the slave station outputs the signal required for it. That is, by synchronizing, one of the two devices outputs a test signal, and based on that, the other learns and corrects the characteristics of the leased line, thereby enabling initial setting without human intervention.

【0022】リセット信号に先立ち、待機信号を送出す
るように構成した理由は、インバンドリンガの動作途中
において、リセットスイッチ等により強制的に初期設定
を開始させる場合にも、一旦両者を待機状態に移行さ
せ、確実にリセット信号を検出するためである。すなわ
ち、2周波からなる待機信号は音声信号との区別もつけ
易く、また雑音による誤検出の可能性も極めて少ないか
ら、インバンドリンガがどの状態にあっても確実に受信
し、強制的に待機状態に復帰できる。待機状態では音声
信号は専用線に出力されず、リセット信号のような単周
波信号でも確実に検出できる。なおリセット信号を2周
波で構成することも可能であるが、次に述べる事情から
待機信号とリセット信号の両者を2周波信号とすること
は不利であり、待機信号のみを2周波構成としている。
すなわち3.4kHzの帯域のうち2kHz以下はダイ
ヤル伝送用のMF信号があるため強制的に動作を変更さ
せるような信号には割り当てられないこと、2周波構成
の場合、主局用従局用で4周波が必要になること、3k
Hz付近になると専用線による減衰が大きく制御信号と
して使用するには不適切であること等の事情が有り、リ
セット信号と待機信号の両者を2周波構成の信号として
狭い帯域に押し込むのは検出する上で不利となる。
The reason why the standby signal is transmitted prior to the reset signal is that even if the initial setting is forcibly started by a reset switch or the like during the operation of the in-band ringer, both of them are put in the standby state. This is because the shift signal is transferred and the reset signal is reliably detected. In other words, the standby signal consisting of two frequencies can be easily distinguished from the voice signal, and the possibility of false detection due to noise is extremely low, so that the in-band ringer can reliably receive the signal and forcibly wait. Can return to the state. In the standby state, the voice signal is not output to the dedicated line, and even a single frequency signal such as a reset signal can be reliably detected. Although it is possible to configure the reset signal with two frequencies, it is disadvantageous to use both the standby signal and the reset signal as a two-frequency signal because of the circumstances described below, and only the standby signal has a two-frequency configuration.
In other words, 2 kHz or less of the 3.4 kHz band is not assigned to a signal that forcibly changes the operation because there is an MF signal for dial transmission. Frequency required, 3k
At around Hz, there is a reason that it is unsuitable for use as a control signal due to large attenuation by a dedicated line. Therefore, it is detected that both the reset signal and the standby signal are pushed into a narrow band as signals of dual frequency configuration. Will be at a disadvantage.

【0023】次に本発明による初期設定動作について説
明する。主局装置は図7(a)に示すように、テスト信
号S23を受信するとAGCとEQの設定を行なう。テ
スト信号S23は伝送帯域の中心付近の周波数fc(例
えば1.5kHz)と伝送帯域端付近の周波数fe(例
えば3kHz)の2周波で構成される信号で、従局装置
から2周波とも等しい振幅で送出される。周波数fcの
信号は専用線の減衰量の測定と従局装置の初期設定動作
の開始報知を兼ねた信号であり、周波数feの信号は高
域の減衰量を測定するための信号である。feは測定精
度をあげるために多周波としてもよい。主局装置はテス
ト信号S23すなわち周波数fcを信号受信器DETで
検出し、その時のfc電力をもとにROMに記憶されて
いる増幅器利得値表を参照し、該当する利得値に可変利
得増幅器AGCを設定する。
Next, the initial setting operation according to the present invention will be described. As shown in FIG. 7A, the master station device sets the AGC and EQ when receiving the test signal S23. The test signal S23 is a signal composed of two frequencies of a frequency fc (for example, 1.5 kHz) near the center of the transmission band and a frequency fe (for example, 3 kHz) near the end of the transmission band, and is transmitted from the slave station device with the same amplitude for both frequencies. To be done. The signal of frequency fc is a signal that also serves to measure the amount of attenuation of the dedicated line and to notify the start of the initial setting operation of the slave station device, and the signal of frequency fe is a signal for measuring the amount of attenuation in the high frequency band. The fe may be multi-frequency in order to improve the measurement accuracy. The main station device detects the test signal S23, that is, the frequency fc by the signal receiver DET, refers to the amplifier gain value table stored in the ROM based on the fc power at that time, and refers to the variable gain amplifier AGC to the corresponding gain value. To set.

【0024】次に主局装置は周波数feの電力を測定し
(処理上は時分割処理で実現しているから、fcとfe
の電力測定は同時、即ち1サンプル内に行なわれ
る。)、これとfc電力との比をもとにイコライザ特性
を選択する。イコライザ特性の選択法については後に詳
述する。主局装置はイコライザ特性の選択終了後に終了
信号S14を出力する。S14送出中にfc電力がなく
なったならバランス回路網BNの選択に進む。テスト信
号S23(fc)の停止は無音そのものを検出すべきで
あるが、雑音が存在するため直接検出することは困難で
ある。従ってテスト信号S23の検出ができないことを
もって無音検出に代える(以降における無音検出も同様
の扱いである)。バランス回路網BNの選択において
は、WHNaから白色雑音を2線4線変換部Hに印加し
た状態で行なうが、詳細は後述する。
Next, the main station apparatus measures the power of the frequency fe (since the processing is realized by time division processing, fc and fe are
Power measurements are performed simultaneously, that is, within one sample. ), And the equalizer characteristic is selected based on the ratio between this and fc power. The method of selecting the equalizer characteristic will be described in detail later. The main station device outputs the end signal S14 after the selection of the equalizer characteristic is completed. If the fc power is exhausted during S14 transmission, the process proceeds to the selection of the balance circuit network BN. The stop of the test signal S23 (fc) should detect the silence itself, but it is difficult to detect it directly because of the presence of noise. Therefore, the silence detection is replaced by the fact that the test signal S23 cannot be detected (silence detection thereafter is the same). The balance circuit network BN is selected with white noise applied from the WHNa to the 2-wire to 4-wire conversion unit H, which will be described later in detail.

【0025】バランス回路網の選択後、主局装置はエコ
ーキャンセラECbのタップ係数のトレーニングを前述
のごとく行ない、トレーニング終了後、終了信号S15
を送出する。S15送出中に従局装置からテスト要求信
号S25を受信したならテスト信号S13の出力を開始
する。テスト信号S13は前記S23と同じ周波数構成
の信号である。S13を送出する期間は、従局装置がA
GCおよびEQの設定を行う時間であり予め定められ
る。その期間を過ぎても終了信号S24を検出できない
場合は、専用線の断線あるいは従局装置故障が考えられ
るので、アラーム表示を行う。S24を受信したなら信
号送出を停止し、従局装置が自ら白色雑音を出力し行う
トレーニングを妨害しないようにする。無音送出につい
ても一定時間経過後に終了信号が受信されないなら断線
あるいは故障と判断し、アラーム表示を行う。
After selecting the balance circuit network, the main station device performs the training of the tap coefficient of the echo canceller ECb as described above, and after the training is completed, the end signal S15.
Is sent. When the test request signal S25 is received from the slave device during the transmission of S15, the output of the test signal S13 is started. The test signal S13 has the same frequency structure as S23. During the period when S13 is sent, the slave station device
It is the time for setting the GC and EQ and is set in advance. If the end signal S24 cannot be detected even after the period has passed, it is considered that the dedicated line is broken or the slave station device is broken, and an alarm is displayed. When S24 is received, the signal transmission is stopped so that the slave station device does not interfere with the training by outputting white noise by itself. For silent transmission, if the end signal is not received after a certain period of time, it is determined that the wire is broken or there is a failure, and an alarm is displayed.

【0026】従局の終了信号は、全ての初期設定動作が
終了した後であるから待機信号S21で兼ねる。待機信
号S21は従局装置が白色雑音に続けて出力するが、白
色雑音中には待機信号成分も含まれるので、何らかの対
策を行わないと主局は誤検出に至る。誤検出を防ぐた
め、前記説明のようにDETでは全帯域電力と所望信号
電力との比を参照し、両者が同程度であるときに真の終
了信号を受信したと判定する。このようにすれば送出側
で予め白色雑音から終了信号成分を除去して送出しなく
ても済む。白色雑音からある成分を除去してBN選択あ
るいはエコーキャンセラのタップ係数設定を行なわねば
ならないとしたら除去した帯域については情報が得られ
ないことになるから、正しい選択あるいは設定が行われ
ないことになる。
The end signal of the slave station is also used as the standby signal S21 since all the initial setting operations have been completed. The standby signal S21 is output from the slave device following the white noise, but the standby signal component is also included in the white noise, so that the master station may make an erroneous detection unless some measures are taken. In order to prevent erroneous detection, in the DET as described above, the ratio between the total band power and the desired signal power is referred to, and when both are approximately the same, it is determined that the true end signal has been received. In this way, the sending side does not have to remove the end signal component from the white noise in advance and send it. If a certain component must be removed from the white noise to perform BN selection or tap coefficient setting of the echo canceller, no information can be obtained about the removed band, and thus correct selection or setting cannot be performed. .

【0027】従局装置の初期設定動作は図7(b)に示
すようにテスト信号S23の送出から開始される。S2
3の送出中に一定の時間経過しても終了信号S14が主
局装置から送られてこない場合は、専用線の断線あるい
は主局装置の故障が考えられるのでアラーム表示を行
う。S14を受信したなら信号送出を停止し、タイマ監
視を行い、一定時間経過するようなら断線あるいは故障
とみなし、アラーム表示を行う。一定時間以内に終了信
号S15を前記DETで検出したならテスト要求信号S
25を出力し、テスト信号S13に含まれる前記伝送帯
域中心付近の信号(fc)の受信を待つ。S13を検出
したならAGCの利得設定を行い、イコライザ特性を選
択し、終了信号S24を出力する。S24送出後、テス
ト信号S13が検出されなくなったら、2線4線変換部
に白色雑音を印加し、バランス回路網BN及びエコーキ
ャンセラECbのトレーニングを行う。これらの動作が
終了した後、終了信号を兼ねた待機信号S21を出力し
待機状態に移る。
The initial setting operation of the slave device is started from the transmission of the test signal S23 as shown in FIG. 7 (b). S2
If the end signal S14 is not sent from the main station device even after a certain time elapses during the sending of 3, the alarm line is displayed because the disconnection of the dedicated line or the failure of the main station device is considered. If S14 is received, signal transmission is stopped, timer monitoring is performed, and if a certain time elapses, it is regarded as disconnection or failure and an alarm is displayed. If the end signal S15 is detected by the DET within a fixed time, the test request signal S
25 is output to wait for reception of the signal (fc) near the center of the transmission band included in the test signal S13. If S13 is detected, the gain of the AGC is set, the equalizer characteristic is selected, and the end signal S24 is output. When the test signal S13 is no longer detected after sending S24, white noise is applied to the 2-wire to 4-wire converter to train the balance circuit BN and the echo canceller ECb. After these operations are completed, the standby signal S21 that also serves as the termination signal is output and the standby state is entered.

【0028】前記説明のアラーム表示において、主局装
置あるいは従局装置はアラームランプを点灯するととも
に、相手装置に待機信号を送出するアラーム状態にとど
まり、人手によりアラームの原因が除去された後に行わ
れるリセットにより再度初期設定動作に入る。図3は前
記説明の初期設定動作を主局装置と従局装置を対向させ
てシーケンス図として表わしたものである。
In the alarm display described above, the main station device or the slave station device lights the alarm lamp and remains in the alarm state in which the standby signal is sent to the other device, and the reset is performed after the cause of the alarm is manually removed. Then, the initial setting operation starts again. FIG. 3 is a sequence diagram showing the initial setting operation described above with the master station device and the slave station device facing each other.

【0029】次に図12及び図13を用いてイコライザ
特性の選択法について説明する。専用線は図12に示す
ように様々な振幅周波数特性を持つ。すなわち専用線が
短距離の場合、C4で示すように振幅周波数特性はほぼ
平坦であり、中距離の場合C3あるいはC2で示すよう
に低域に較べ高域の減衰が大きくなり、長距離の場合C
1に示すように低域と高域の減衰差は極めて大きくな
る。この状態を放置し、イコライザによる補正を行わな
いと音声の明瞭度が悪くなり、通話に支障をきたす。図
12でfcは前記説明の伝送帯域中心付近の周波数であ
り、feは伝送帯域端部の周波数である。図では振幅周
波数特性をfcでの振幅値で規格化して表現してあり、
またr1、r2、r3はイコライザ特性判定用の域値で
ありfeにおける減衰量(比)を用いて表わす。
Next, a method of selecting the equalizer characteristic will be described with reference to FIGS. 12 and 13. The dedicated line has various amplitude frequency characteristics as shown in FIG. That is, when the leased line is a short distance, the amplitude frequency characteristic is almost flat as shown by C4, when it is a medium distance, the attenuation in the high range is larger than that in the low range as shown by C3 or C2, and when the long line is long. C
As shown in Fig. 1, the attenuation difference between the low range and the high range becomes extremely large. If this state is left as it is and the correction by the equalizer is not performed, the clarity of the voice is deteriorated and the call is disturbed. In FIG. 12, fc is a frequency near the center of the transmission band described above, and fe is a frequency at the end of the transmission band. In the figure, the amplitude frequency characteristic is expressed by standardizing the amplitude value at fc,
Further, r1, r2, and r3 are threshold values for equalizer characteristic determination, and are represented by using the attenuation amount (ratio) at fe.

【0030】次に図13を用いてイコライザ特性の選択
法を説明する。テスト信号を受信したら、先ずfcでの
振幅レベルLcを測定し、次にfeでの振幅レベルLe
を測定し、両者の比r=Le/Lcを求め、求めた比r
と前記r1、r2、r3の大小比較を行い、該当する補
正特性すなわち図12に示した振幅周波数特性の逆特性
を選択する。本発明のイコライザ設定法では、例えばr
がr1以上でr2より小さい範囲の値として測定される
専用線に対しては、線種、伝送距離に関わらず最適特性
をC2の逆特性として判定する。従って準備する補正特
性の数が少ないと過補償あるいは補償不足になる危険が
多くなる。図12、図13は説明の都合で特性の数を4
本としているが、実際には8本程度は少なくとも必要で
ある。なお振幅レベルの測定はDETにおいてなされ、
帯域通過フィルタの出力を用いる。選択されるイコライ
ザ特性はROMにFIRフィルタのタップ係数として記
憶されており、選択後のタップ係数はFIRフィルタを
構成する係数RAMに転送され、以降再度初期設定動作
が行われるまで保持される。本発明の方法は、人手によ
り相手側から測定信号を入力し、測定側で同じく人手に
より信号レベルを測定し、最適補正フィルタを選択する
方法に較べれば、極めて短時間で終了する(帯域通過フ
ィルタの出力を平均し、測定する時間を100msにと
ったとすれば測定は2周波同時に行なえるから、選択動
作は100ms程度で終了する)。
Next, a method of selecting the equalizer characteristic will be described with reference to FIG. When the test signal is received, first the amplitude level Lc at fc is measured, and then the amplitude level Le at fe is measured.
Is measured, the ratio r = Le / Lc between the two is calculated, and the calculated ratio r
And r1, r2, r3 are compared in magnitude to select the corresponding correction characteristic, that is, the inverse characteristic of the amplitude frequency characteristic shown in FIG. In the equalizer setting method of the present invention, for example, r
For a dedicated line measured as a value in the range of r1 or more and less than r2, the optimum characteristic is determined as the inverse characteristic of C2 regardless of the line type and the transmission distance. Therefore, if the number of correction characteristics to be prepared is small, the risk of overcompensation or undercompensation increases. 12 and 13, the number of characteristics is 4 for convenience of explanation.
Although there are books, at least about eight books are actually necessary. In addition, the measurement of the amplitude level is made in DET,
The output of the bandpass filter is used. The selected equalizer characteristic is stored in the ROM as the tap coefficient of the FIR filter, and the selected tap coefficient is transferred to the coefficient RAM configuring the FIR filter and held until the initialization operation is performed again thereafter. The method of the present invention is completed in an extremely short time as compared with the method of manually inputting a measurement signal from the other side, measuring the signal level by the measurement side and manually selecting the optimum correction filter (bandpass filter). If the output is averaged and the measurement time is set to 100 ms, the measurement can be performed at two frequencies simultaneously, so the selection operation is completed in about 100 ms).

【0031】次に図14及び図15を用いてBNの選択
について説明する。図14は図1の2線4線変換部Hと
バランス回路網BNを一体にして表わした回路図であ
る。図において、BNで表示した枠内のZ11とZ21
は1組の分圧回路を構成し、選択スイッチS11とS2
1を閉じることで選択される。同様にZ12〜Z14と
Z22〜Z24もそれぞれ分圧回路を構成し、選択スイ
ッチS12〜S14とS22〜S24により選択され
る。S11〜S14、S21〜S24はアナログスイッ
チICで実現される。ZLは専用線のインピーダンスを
表わし、Z0はZLと対になり分圧回路を構成する。2
線4線変換部はブリッジ回路であり、送信信号はcおよ
びd点の間に印加されてZLに出力され、Z0及びZL
の接続点aの電位とBN内の分圧回路接続点bの電位が
等しければ、両点の間に電圧は発生せず、送信信号の受
信信号への回り込みはない。
Next, the selection of BN will be described with reference to FIGS. 14 and 15. FIG. 14 is a circuit diagram showing the 2-line to 4-line converter H and the balance circuit network BN of FIG. In the figure, Z11 and Z21 in the frame indicated by BN
Constitutes a pair of voltage dividing circuits, and includes selection switches S11 and S2.
Selected by closing 1. Similarly, Z12 to Z14 and Z22 to Z24 also constitute voltage dividing circuits, and are selected by the selection switches S12 to S14 and S22 to S24. S11 to S14 and S21 to S24 are realized by analog switch ICs. ZL represents the impedance of the dedicated line, and Z0 is paired with ZL to form a voltage dividing circuit. Two
The line-to-line conversion unit is a bridge circuit, and the transmission signal is applied between points c and d and output to ZL.
If the potential of the connection point a is equal to the potential of the voltage dividing circuit connection point b in the BN, no voltage is generated between both points, and the transmission signal does not sneak into the reception signal.

【0032】バランス回路網Z11・Z21、Z12・
Z22、Z13・Z23、及びZ14・Z24は、線種
及び伝送距離に依存して変化するZLの幾つかの場合
(図14では4つの場合)を考慮し、分圧電位がなるべ
く等しくなるよう計算機等を使い設計される。次にこれ
らのバランス回路網の中から最適なものを選ぶ選択法を
図15を用いて説明する。先ず図14のc点とd点の間
に、帯域内で平坦なスペクトラムを有する信号(白色雑
音)を印加する。次に仮の最小電力Pmin を極めて大き
な値に、最小電力を出力するバランス回路網番号Nmin
を0に初期化する。次にバランス回路網番号nを1と
し、図14のS11とS21を閉じ、図14a点とb点
の間に発生する受信電力をDETにおいて全電力Paと
して測定し、Pmin とPaを比較する。
Balance network Z11, Z21, Z12
Z22, Z13 / Z23, and Z14 / Z24 are calculated so that the divided potentials are as equal as possible in consideration of some cases of ZL (four cases in FIG. 14) that vary depending on the line type and the transmission distance. It is designed using. Next, a selection method for selecting an optimum one from these balance circuit networks will be described with reference to FIG. First, a signal (white noise) having a flat spectrum in the band is applied between points c and d in FIG. Next, the provisional minimum power Pmin is set to an extremely large value, and the balance network number Nmin for outputting the minimum power is set.
Is initialized to 0. Next, the balance network number n is set to 1, S11 and S21 in FIG. 14 are closed, the received power generated between points a and b in FIG. 14 is measured as the total power Pa in DET, and Pmin and Pa are compared.

【0033】n=1のときは必ずPaの方が小さいの
で、Pmin =Pa、Nmin =1となる。次にn=2とし
てS12とS22を閉じて(S11とS21は開く)、
受信信号電力Paを測定し、Pmin とPaの比較を行な
い、Paの方が小さければPmin =Pa、Nmin =2と
更新し、Paの方が大きければPmin 、Nmin を更新し
ないで、次のバランス回路網を選択するためnをインク
リメントし、n=3とする。以降同様にバランス回路網
を選択し、Pa測定を行なうことでPmin 、Nmin を更
新し、全てのバランス回路網について測定が終了した段
階でNmin に記憶されている番号を最適バランス回路網
の番号とし、選択スイッチの状態を固定する。以降、初
期設定動作が再起動されるまではこの状態を維持する。
なお説明の都合上、バランス回路網の数を4つとした
が、実際には専用線の線種数が多いので回り込み量を少
なくするため8組程度は最低必要である。本発明のBN
の選択は、人手により多数の周波数ポイントについて回
り込み量を測定し、例えば8組以上の中から最適なもの
を選び出すといった方法に較べ、明らかに効率が良く設
定時間は極めて短縮される。
Since Pa is always smaller when n = 1, Pmin = Pa and Nmin = 1. Next, set n = 2 and close S12 and S22 (open S11 and S21),
The received signal power Pa is measured, and Pmin and Pa are compared. If Pa is smaller, Pmin = Pa and Nmin = 2 are updated. If Pa is larger, Pmin and Nmin are not updated, and the next balance is calculated. In order to select the network, n is incremented and n = 3. Similarly, after selecting a balance network and measuring Pa, Pmin and Nmin are updated, and when the measurement is completed for all balance networks, the number stored in Nmin is taken as the optimum balance network number. , Fix the state of the selection switch. After that, this state is maintained until the initial setting operation is restarted.
For the sake of convenience of explanation, the number of balance circuit networks is four, but in reality, since the number of line types of dedicated lines is large, at least about eight pairs are necessary to reduce the amount of wraparound. BN of the present invention
In comparison with the method of manually selecting the wrap-around amount for a large number of frequency points and selecting the optimum one from, for example, eight or more sets, the selection of is clearly efficient and the setting time is extremely shortened.

【0034】次に図8〜図11を用いて待機状態、発呼
状態、被呼状態及び通話状態の動作について説明する。
図8〜図11は主局装置の動作を示すフローチャートで
あるが、従局装置も全く同様な動作であり、信号の記号
(例えばS11とS21、S19とS29等)が異なる
だけである。
Next, the operations in the standby state, the calling state, the called state and the talking state will be described with reference to FIGS.
8 to 11 are flowcharts showing the operation of the master station device, the slave station device also has exactly the same operation, and only signal symbols (for example, S11 and S21, S19 and S29, etc.) are different.

【0035】待機状態では図8に示すように待機信号S
11を送出し、従局からのリセット信号S22を受信し
たなら初期設定動作へ移行し、自局の発呼を検出したな
ら待機信号S11の送出を停止して発呼状態へ移行し、
従局から捕捉信号S29を受信したなら待機信号S11
の送出を停止して被呼状態へ移行し、従局から待機信号
S21を受信したなら待機状態に留まり、前記いずれの
信号も一定時間以上受信できない場合は専用線の断線で
あるからオペレータに断線を知らせるためアラーム表示
を行う。
In the standby state, the standby signal S as shown in FIG.
11 is transmitted, and when the reset signal S22 from the slave station is received, the operation shifts to the initial setting operation, and when the call origination of the own station is detected, the transmission of the standby signal S11 is stopped and the operation transits to the call origination state.
If the capture signal S29 is received from the slave station, the standby signal S11
When the standby signal S21 is received from the slave station, it remains in the standby state, and when none of the signals can be received for a certain period of time or more, it is a disconnection of the leased line and the operator is disconnected. An alarm is displayed to inform you.

【0036】発呼状態では図9に示すように捕捉信号S
19を送出し、相手装置に回線捕捉を通知する。捕捉信
号S19の送出後、相手装置から捕捉応答信号S28が
送られるのを待つ。もし捕捉応答信号が一定時間以内に
検出できない場合、専用線の断線であるからアラーム表
示を行う。捕捉応答信号S28を受信したならパルスダ
イヤル変調を行う。パルスダイヤル変調は捕捉信号S1
9の周波数を搬送波とし行われる。なおPBダイヤル信
号の時はパルスがPBXから送出されないので捕捉信号
S19は変調されない。パルスダイヤル変調(変調され
ない場合も含める)と同時に捕捉応答信号S28が停止
されるのを待つ。本発明の実施例では通話状態で一切の
制御信号を出力せず、全ての帯域を通話に提供する。す
なわち被呼側装置は捕捉信号を受信し、捕捉応答信号出
力と並行してPBXに対し呼出しを行っている間にPB
Xから応答があると捕捉応答信号を停止する。
In the calling state, as shown in FIG.
19 is sent to notify the partner device of line capture. After sending the capture signal S19, the system waits for the capture response signal S28 to be sent from the partner device. If the capture response signal cannot be detected within a certain period of time, an alarm is displayed because the leased line is broken. When the capture response signal S28 is received, pulse dial modulation is performed. Pulse dial modulation is the acquisition signal S1
The frequency of 9 is used as the carrier wave. In the case of the PB dial signal, the pulse is not transmitted from the PBX, so the capture signal S19 is not modulated. It waits for the acquisition response signal S28 to be stopped at the same time as the pulse dial modulation (including the case where it is not modulated). In the embodiment of the present invention, no control signal is output in the call state, and all the bands are provided for the call. That is, the called device receives the capture signal and outputs PB while calling the PBX in parallel with the capture response signal output.
When there is a response from X, the capture response signal is stopped.

【0037】相手装置からの捕捉応答信号の停止を検出
すると無音を出力し、音声信号に全ての帯域を開放し通
話状態に移行するが、後に述べるウィンクスタートによ
る応答方式があるので、タイマを設け、一定期間以上捕
捉応答信号の停止状態が続いたことを確認してから通話
状態に移行する。エコーキャンセラECaのトレーニン
グは捕捉応答信号の停止を検出した時点直後に実施す
る。ECaは既に説明したようにPBXの通話路を含め
た回り込み経路の伝達関数を同定するものであるから、
発呼側PBXが通話路を形成した時点、すなわち発呼側
インバンドリンガが被呼応答をPBXに通知した時点直
後にトレーニングを行なう必要がある。ただし、後に述
べるウィンクスタートによる応答方式があるので、タイ
マを設けウィンクパルスの継続時間以上捕捉応答信号の
停止が検出された場合にのみタップ係数を固定し通話状
態に移行する。
When the stop of the capture response signal from the partner device is detected, a silence is output, the voice signal is released in all bands, and a call state is entered. However, since there is a wink start response method described later, a timer is provided. After confirming that the capture response signal has been stopped for a certain period of time or more, the communication state is entered. Training of the echo canceller ECa is performed immediately after the stop of the acquisition response signal is detected. Since ECa identifies the transfer function of the detour path including the PBX speech path as already described,
It is necessary to perform training immediately after the calling side PBX forms a communication path, that is, immediately after the calling side in-band ringer notifies the PBX of the called response. However, since there is a wink start response system described later, a timer is provided and the tap coefficient is fixed only when the stop of the capture response signal is detected for more than the duration of the wink pulse and the state is changed to the call state.

【0038】被呼状態では図10に示すように、最初に
捕捉応答信号S18を出力する。同時にパルスダイヤル
の復調を行う。PBダイヤルの場合、捕捉信号S29は
変調されていないからPBXに対しダイヤルパルスは出
力されない。自局が捕捉応答信号S18を停止する前に
相手装置からの捕捉信号S29が一定時間以上受信され
ない場合は専用線の断線であるからアラーム表示を行
う。自局の回線捕捉(応答)を検出すると無音を出力
し、音声信号に全ての帯域を開放し、同時にエコーキャ
ンセラECaのトレーニングを行う。被呼の場合、応答
検出直後にPBX通話路が形成されるので、この時点で
ECaのトレーニングを行いタップ係数を固定し、通話
状態に移行する。ただし、後に述べるウィンクスタート
による応答方式があるので、タイマを設け、ウィンクパ
ルスの最長継続時間以上応答検出がなされた場合にのみ
タップ係数を固定し通話状態に移行する。
In the called state, the capture response signal S18 is first output as shown in FIG. At the same time, the pulse dial is demodulated. In the case of the PB dial, since the capture signal S29 is not modulated, the dial pulse is not output to the PBX. If the capture signal S29 from the partner device is not received for a certain period of time before the local station stops the capture response signal S18, an alarm is displayed because it is a disconnection of the dedicated line. When it detects the line capture (response) of its own station, it outputs a silent sound, opens the entire band to the voice signal, and at the same time, trains the echo canceller ECa. In the case of a call, since the PBX communication path is formed immediately after the response is detected, the ECa is trained at this point to fix the tap coefficient and shift to the communication state. However, since there is a response system by wink start, which will be described later, a timer is provided and the tap coefficient is fixed only when the response is detected for the longest duration of the wink pulse and the state is changed to the talking state.

【0039】通話状態では図11に示すように制御信号
として無音を出力するとともに、待機信号S21の検
出、復旧検出(回線解放検出)を行う。待機信号S21
を検出したなら自局の復旧検出を行った後に待機状態に
戻る。相手装置より先に復旧を検出したなら待機信号S
11を出力し相手から待機信号21による応答があるの
を待つ。本発明による実施例では、通話中に断線検出用
の制御信号を流していないので直接的な断線検出はでき
ない。しかし、もし通話中に断線が発生したとするなら
話者は通話を継続させることができず受話器を置くはず
である。主局側の話者が先に受話器を置いたとする。待
機信号S11を出力すると断線でない場合、数秒以内に
相手側も受話器を置くから相手装置の待機信号S21が
受信されるが、断線の場合は一定時間(例えば1分)経
過しても受信されない。このことを利用し、自局から待
機信号S11を送出し一定時間経過後に待機信号S21
が受信されない場合は断線アラーム表示を行う。一定時
間内に待機信号S21が受信できた場合は待機状態に戻
る。
In the call state, as shown in FIG. 11, silence is output as the control signal, and the standby signal S21 is detected and the recovery is detected (line release detection). Standby signal S21
If is detected, it returns to the standby state after detecting the recovery of its own station. If recovery is detected before the other device, the standby signal S
It outputs 11 and waits for a response by the standby signal 21 from the other party. In the embodiment according to the present invention, since the control signal for detecting the disconnection is not sent during the call, the disconnection cannot be detected directly. However, if a disconnection occurs during a call, the speaker cannot continue the call and should hang up the handset. It is assumed that the speaker on the main station side puts the handset first. If the standby signal S11 is output and the wire is not broken, the other party also puts the handset within a few seconds and the standby signal S21 of the partner device is received. Utilizing this fact, the standby signal S21 is transmitted from the own station, and after a lapse of a certain time, the standby signal S21
If is not received, the disconnection alarm is displayed. When the standby signal S21 can be received within the fixed time, the process returns to the standby state.

【0040】以上説明したように各状態において制御信
号を送出した場合には予定時間内に予定の応答が返って
くることを検出し、断線検出を行なうので、何時でも断
線検出ができる。図8〜図11において断線アラーム状
態では待機信号を出力し、アラームランプを点灯させて
その状態に留まり、強制リセットがなされると初期設定
動作に移る。
As described above, when the control signal is transmitted in each state, it is detected that the scheduled response is returned within the scheduled time and the disconnection is detected, so that the disconnection can be detected at any time. In FIGS. 8 to 11, in the disconnection alarm state, a standby signal is output, the alarm lamp is lit up and remains in that state, and when the forced reset is performed, the initial setting operation is started.

【0041】図4はこれまでに説明した発呼状態、被呼
状態及び通話状態を主局装置が発呼し、かつ先に通話終
了を通知する場合について説明するシーケンス図であ
る。図中ダイヤルトーンあるいはリングバックトーンは
被呼側PBXが出力する。図5は、図4でリングバック
トーンが出力されるまでのシーケンスを、SR専用線イ
ンタフェースを使いウィンクスタート方式で実行するシ
ーケンスに置き代えたものである。ウィンクスタート方
式では発呼側PBXは蓄積しているダイヤルを被呼側P
BXが出すウィンクパルスを受信してから送出する。本
発明の実施例では被呼側装置はウィンクパルスを捕捉応
答信号の停止に対応させて変調送出し、発呼側装置はこ
れを復調しPBXに伝達する。この場合、捕捉応答信号
が一定時間停止するので被呼応答と一致することになる
が、発呼側装置はウィンクパルスの継続時間に相当する
時間については発呼状態を保持し、所定時間以上捕捉応
答信号の停止が続いたら通話状態に移る。
FIG. 4 is a sequence diagram for explaining a case where the main station device makes a call in the calling state, the called state, and the call state described above, and notifies the end of the call first. The dial tone or ring back tone in the figure is output by the called PBX. FIG. 5 is a diagram in which the sequence until the ringback tone is output in FIG. 4 is replaced with the sequence executed by the wink start method using the SR leased line interface. In the wink start method, the calling side PBX uses the accumulated dials for the called side PBX.
The wink pulse emitted by the BX is received and then transmitted. In the embodiment of the present invention, the called device modulates and outputs the wink pulse in response to the stop of the capture response signal, and the calling device demodulates and transmits it to the PBX. In this case, since the capture response signal stops for a certain period of time, it will coincide with the called response, but the calling device holds the calling state for the time corresponding to the duration of the wink pulse, and captures for a predetermined time or longer. If the response signal continues to stop, the call state is entered.

【0042】次にECaの被呼状態におけるトレーニン
グについて図17を用いて説明する。ウィンクスタート
の場合はウインクパルスが出力されている間のPBXの
状態は通話路を形成している状態にないので、この間で
トレーニングを行うと誤った回り込み伝達関数を同定す
ることになる。すなわち図17に示すようにウィンクス
タート方式をとらない場合(a)では応答がなされた時
点で通話路が形成されるのに対し、ウィンクスタート方
式をとる場合(b)ではインバンドリンガから見ると回
線捕捉が2回行われることになり、1回目の応答では通
話路は形成されず、2回目の応答直後から通話路が形成
される。インバンドリンガを利用する者にとってPBX
間のハンドシェーク方式が異なるからといってインバン
ドリンガの機種が異なったり設定が異なるといったこと
はない方が望ましい。従ってウィンクスタート方式であ
ってもそれ以外であっても区別せずにエコーキャンセラ
のトレーニングが正常に行えなければならない。
Next, the training of the ECa in the called state will be described with reference to FIG. In the case of wink start, the state of the PBX during the output of the wink pulse is not in the state of forming a speech path, so if training is performed during this period, an incorrect loop transfer function will be identified. That is, as shown in FIG. 17, when the wink start method is not adopted (a), the communication path is formed at the time when the response is made, whereas when the wink start method is adopted (b), when viewed from the in-band ringer. Since the line is captured twice, the communication path is not formed in the first response, and the communication path is formed immediately after the second response. PBX for those who use in-band ringer
It is desirable not to have different inband ringer models or different settings even if the handshake method between them is different. Therefore, the training of the echo canceller must be performed normally regardless of whether the wink start method is used or not.

【0043】これを解決するためには、図17(c)に
示すように回線捕捉が行われた直後に必ずトレーニング
をやり直すことにすれば良い。そのため本発明の実施例
の被呼状態では図10に示すように、応答を検出したら
タイマを起動し、タイマが満了とならない間はPBX通
話路の形成如何に関わらずECaのトレーニングを行
い、タイマが満了したらタップ係数を固定する。なお、
ECaのトレーニングでは回り込み減衰量の測定を行っ
ており、回り込み減衰量が予定以上になったらタップ係
数の更新を行わないようにしている。また白色雑音を用
いて学習しているのでトレーニング時間は短時間(50
ms以内)である。従って応答検出時にセットされるタ
イマの時間とECaのトレーニングとは直接的な関係は
なく、トレーニングはウィンクパルス幅に較べれば十分
短い時間で終了する。発呼状態のECaのトレーニング
とウィンクスタート方式との関わりを説明すると、PB
Xの通話路が確実に形成される時点は、発呼側インバン
ドリンガが捕捉応答信号の停止を検出し応答信号をPB
Xに対し出力した時点であるから、図9に示すように通
話状態への移行直前のECaのトレーニング結果を採用
すれば、ウィンクスタート方式であるか否かに関わらず
正常なトレーニングができる。
In order to solve this, it is necessary to always re-train immediately after the line is captured as shown in FIG. 17 (c). Therefore, in the called state of the embodiment of the present invention, as shown in FIG. 10, when the response is detected, the timer is started, and while the timer does not expire, the ECa is trained regardless of whether the PBX communication path is formed or not. When is expired, the tap coefficient is fixed. In addition,
In the ECa training, the wraparound attenuation amount is measured, and the tap coefficient is not updated when the wraparound attenuation amount exceeds a predetermined amount. In addition, since training is performed using white noise, the training time is short (50
within ms). Therefore, there is no direct relationship between the time of the timer set when the response is detected and the ECa training, and the training is completed in a time sufficiently shorter than the wink pulse width. Explaining the relationship between the training of the calling ECa and the wink start method, PB
At the time when the speech path of X is reliably formed, the calling side in-band ringer detects the stop of the acquisition response signal and sends the response signal to the PB.
Since it is the time of outputting to X, if the training result of ECa immediately before the transition to the talking state is adopted as shown in FIG. 9, normal training can be performed regardless of whether the wink start method or not.

【0044】次に雑音低減器NRについて説明する。発
呼状態において、話者が回線捕捉してから相手が応答す
るまでの間は、捕捉信号及び捕捉応答信号が伝送帯域の
一部を使って相互に伝送される。そしてこれら制御信号
は受信側の帯域阻止フィルタBEFbによって除去さ
れ、残りが通話信号として話者に聞こえる。特に発呼側
の話者はこれら制御信号の伝送中にも受話器を耳にあて
ているので、BEFbで除去できない制御信号に起因す
る雑音が聞こえると不快な思いをする。さらに詳しく説
明するなら、制御信号は通話レベルと同等なレベルで伝
送されるから、PCMコーデックのような非線形AD変
換器を通すと大きな振幅部分で量子化間隔が粗くなり量
子化雑音が増える。すなわち制御信号をAD変換すると
原信号のもつスペクトラムの他に広帯域スペクトラムを
もつ量子化雑音(白色雑音)が加わることになる。原信
号スペクトラムはBEFbによって除かれるが広帯域雑
音は除去されない。この広帯域雑音は音声信号に較べれ
ばレベルが小さいので、制御信号と同時に音声信号が伝
送されているときはマスキングされ問題とならない。し
かし発呼状態の場合は音声信号の存在が稀であるから、
発呼側話者は雑音を知覚する。
Next, the noise reducer NR will be described. In the calling state, the capture signal and the capture response signal are mutually transmitted using a part of the transmission band from the time the speaker captures the line until the other party responds. Then, these control signals are removed by the band stop filter BEFb on the receiving side, and the rest is heard by the speaker as a call signal. In particular, the calling party speaker puts his / her ear on the ear during transmission of these control signals, so that it is uncomfortable to hear noise caused by the control signals that cannot be removed by BEFb. More specifically, since the control signal is transmitted at a level equivalent to the speech level, if a non-linear AD converter such as a PCM codec is used, the quantization interval becomes coarse in a large amplitude portion and the quantization noise increases. That is, when the control signal is AD-converted, quantization noise (white noise) having a wide band spectrum is added to the spectrum of the original signal. The original signal spectrum is removed by BEFb but the broadband noise is not removed. Since the level of this broadband noise is lower than that of the voice signal, it is masked when the voice signal is being transmitted at the same time as the control signal, so that there is no problem. However, the presence of voice signals is rare in the calling state,
The calling speaker perceives noise.

【0045】本発明の実施例ではAD変換により生じた
雑音を知覚されない程度に低減するために、雑音低減器
NRをBEFbの後段に挿入している。図18及び図1
9を用いて雑音低減器NRの動作を説明する。量子化雑
音に音声信号等の大きな電力の信号が重畳されている場
合はマスキングされ、雑音は気にならないから、何ら処
理を施さなくて良い。一方、量子化雑音が殆どの電力を
占める場合は知覚されるので減衰させる。これを表現し
たのが図18で、信号電力がP1以下の場合は増幅利得
をG1(減衰)とし、信号電力がP2以上の場合はG0
(利得1)とし、P1以上P2以下の場合は信号電力に
比例させて利得を決める。図19は動作を説明するフロ
ーチャートであり、最初に信号電力Pを測定する。電力
は例えば5ms窓による移動平均を計算することで測定
する。次に測定電力Pと域値P1及びP2との比較を行
ない、電力範囲に応じて利得を決定する。なお通話状態
においては雑音低減器を動作させる必要はないから、例
えば測定電力PをP2以上の値に強制設定し、動作を停
止させる。なお、本発明の実施例による雑音低減器を挿
入しない場合には、量子化雑音を少なくするため信号振
幅によらず量子化ステップが一様であり、かつ非線形量
子化に相当する分解能を持たせるため高分解能なアナロ
グデジタル変換器が必要になる。
In the embodiment of the present invention, the noise reducer NR is inserted after BEFb in order to reduce the noise generated by the AD conversion to the extent that it is not perceived. 18 and 1
The operation of the noise reducer NR will be described with reference to FIG. When a high power signal such as a voice signal is superimposed on the quantization noise, it is masked and noise is not a concern, so no processing is required. On the other hand, when the quantization noise occupies most of the power, it is perceived and is attenuated. This is expressed in FIG. 18, where the amplification gain is G1 (attenuation) when the signal power is P1 or less, and G0 when the signal power is P2 or more.
(Gain 1), and if P1 or more and P2 or less, the gain is determined in proportion to the signal power. FIG. 19 is a flow chart for explaining the operation. First, the signal power P is measured. The power is measured, for example, by calculating the moving average over a 5 ms window. Next, the measured power P is compared with the threshold values P1 and P2 to determine the gain according to the power range. Since it is not necessary to operate the noise reducer in a call state, for example, the measured power P is forcibly set to a value of P2 or more and the operation is stopped. When the noise reducer according to the embodiment of the present invention is not inserted, the quantization step is uniform regardless of the signal amplitude in order to reduce the quantization noise, and the resolution equivalent to the non-linear quantization is provided. Therefore, a high resolution analog-to-digital converter is required.

【0046】図24は、図19のフローチャートの機能
を実現するための、雑音低減器の内部構成を示す機能ブ
ロック図である。電力測定手段は入力信号の電力を測定
(算出)する。利得設定手段の構成要素である2個の比
較器は、図18におけるP1およびP2の値と信号電力
とを比較し、信号電力がP2以上、P2とP1の間、P
1以下の3つの範囲のいずれに属するかを識別する。利
得演算手段では、信号電力がP2以上の時には利得G0
(利得1)を出力し、P1以下の時には利得G1(G1
<G0、例えば0.3)を出力し、P1とP2の間の時
は信号電力に比例した利得G(G1<G<G0)で、例
えば、G=G1+{(P−P1)/(P2−P1)}・
(G0−G1)を出力する。可変増幅手段は、利得設定
手段で決められた利得で入力信号を増幅する。なお、設
定手段としてROM等のメモリを用いることも可能であ
る。
FIG. 24 is a functional block diagram showing the internal structure of the noise reducer for realizing the function of the flowchart of FIG. The power measuring means measures (calculates) the power of the input signal. Two comparators, which are components of the gain setting means, compare the values of P1 and P2 in FIG. 18 with the signal power, and the signal power is P2 or more, between P2 and P1, P
It identifies which of the following three ranges it belongs to. In the gain calculation means, when the signal power is P2 or more, the gain G0
(Gain 1) is output, and gain G1 (G1
<G0, for example 0.3) is output, and when it is between P1 and P2, the gain G is proportional to the signal power (G1 <G <G0), for example, G = G1 + {(P-P1) / (P2 -P1)} ・
(G0-G1) is output. The variable amplification means amplifies the input signal with the gain determined by the gain setting means. It is also possible to use a memory such as a ROM as the setting means.

【0047】[0047]

【発明の効果】以上の説明から明らかなように本発明は
以下に示すような効果がある。 (a)音声信号が無いときに知覚される量子化雑音を、
量子化雑音が信号電力の支配的構成電力であることを検
出し、その場合にのみ減衰させるようにしたから音声信
号に異常を与えることなく雑音低減ができる。 (b)雑音低減器を挿入することで分解能の高い高価な
アナログデジタル変換器を用いなくても話者に不快な雑
音を知覚させないようにできる。
As is apparent from the above description, the present invention has the following effects. (A) quantizing noise perceived when there is no audio signal,
Since it is detected that the quantization noise is the dominant constituent power of the signal power and the attenuation is performed only in that case, the noise can be reduced without giving an abnormality to the voice signal. (B) By inserting a noise reducer, it is possible to prevent the speaker from perceiving unpleasant noise without using an expensive analog-digital converter with high resolution.

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

【図1】 本発明の実施例の構成を示す機能ブロック図
である。
FIG. 1 is a functional block diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】 リセット直後の動作シーケンス図である。FIG. 2 is an operation sequence diagram immediately after reset.

【図3】 初期設定動作のシーケンス図である。FIG. 3 is a sequence diagram of an initial setting operation.

【図4】 通話状態を含むシーケンス図である。FIG. 4 is a sequence diagram including a call state.

【図5】 ウィンクスタート方式動作でのシーケンス図
である。
FIG. 5 is a sequence diagram in a wink start system operation.

【図6】 リセット処理を説明するフローチャートであ
る。
FIG. 6 is a flowchart illustrating a reset process.

【図7】 初期設定動作を説明するフローチャートであ
る。
FIG. 7 is a flowchart illustrating an initial setting operation.

【図8】 待機状態動作を説明するフローチャートであ
る。
FIG. 8 is a flowchart illustrating a standby state operation.

【図9】 主局装置の発呼状態動作を説明するフローチ
ャートである。
FIG. 9 is a flowchart illustrating a calling state operation of the master station device.

【図10】 主局装置の被呼状態動作を説明するフロー
チャートである。
FIG. 10 is a flowchart illustrating a called state operation of the master station device.

【図11】 主局装置の通話状態動作を説明するフロー
チャートである。
FIG. 11 is a flowchart illustrating a call state operation of the main station device.

【図12】 イコライザ特性の説明図である。FIG. 12 is an explanatory diagram of equalizer characteristics.

【図13】 イコライザ特性選択動作を説明するフロー
チャートである。
FIG. 13 is a flowchart illustrating an equalizer characteristic selection operation.

【図14】 2線4線変換部及びバランス回路網の回路
図である。
FIG. 14 is a circuit diagram of a 2-wire / 4-wire conversion unit and a balance circuit network.

【図15】 バランス回路網選択動作を説明するフロー
チャートである。
FIG. 15 is a flowchart illustrating a balance circuit network selecting operation.

【図16】 受信信号検出を説明するフローチャートで
ある。
FIG. 16 is a flowchart illustrating detection of a received signal.

【図17】 ウィンクスタート方式を示すタイムチャー
トである。
FIG. 17 is a time chart showing a wink start method.

【図18】 雑音低減器の特性説明図である。FIG. 18 is a characteristic explanatory diagram of the noise reducer.

【図19】 雑音低減動作を説明するフローチャートで
ある。
FIG. 19 is a flowchart illustrating a noise reduction operation.

【図20】 中継PBXを介して2線式専用線を縦続接
続したネットワークの構成図である。
FIG. 20 is a configuration diagram of a network in which two-line dedicated lines are cascade-connected via a relay PBX.

【図21】 本発明装置のハードウェアブロック図であ
る。
FIG. 21 is a hardware block diagram of the device of the present invention.

【図22】 AGC回路の回路図である。FIG. 22 is a circuit diagram of an AGC circuit.

【図23】 DSPの内部構成の一例を示すブロック図
である。
FIG. 23 is a block diagram showing an example of the internal configuration of a DSP.

【図24】 雑音低減器の内部構成の一例を示す機能ブ
ロック図である。
FIG. 24 is a functional block diagram showing an example of an internal configuration of a noise reducer.

【符号の説明】[Explanation of symbols]

1…インバンドリンガ、2…PBX、10…DSP、1
1、16…A/D変換器、12、17…D/A変換器、
13…2線4線変換回路、14…バランス回路網、15
…AGC回路、18…フォトカプラ、19…リレー
1 ... in-band ringer, 2 ... PBX, 10 ... DSP, 1
1, 16 ... A / D converter, 12, 17 ... D / A converter,
13 ... 2-wire to 4-wire conversion circuit, 14 ... Balance circuit network, 15
… AGC circuit, 18… Photo coupler, 19… Relay

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2線式回線を用いて、デジタル信号処理
により発呼被呼制御を行う伝送制御装置において、 受信した信号から制御信号を除去する帯域除去フィルタ
手段と、 前記帯域除去フィルタ手段の出力信号の電力を測定する
測定手段と、 前記測定手段の出力値に応じて利得値を設定する利得設
定手段と、 前記利得設定手段の出力利得値によって利得が制御され
る可変利得増幅手段とを備え、 前記利得設定手段は、前記測定手段の出力値が所定のレ
ベル以下である場合には、利得を通常の値よりも小さく
することを特徴とする伝送制御装置。
1. A transmission control device for controlling a call origination / reception by a digital signal processing using a two-wire line, a band elimination filter unit for eliminating a control signal from a received signal, and the band elimination filter unit. Measuring means for measuring the power of the output signal; gain setting means for setting a gain value according to the output value of the measuring means; and variable gain amplifying means whose gain is controlled by the output gain value of the gain setting means. The transmission control device, wherein the gain setting means reduces the gain below a normal value when the output value of the measuring means is below a predetermined level.
【請求項2】 前記利得設定手段は、測定手段の出力と
第1の所定値とを比較する第1の比較手段と、測定手段
の出力と前記第1の所定値よりも小さい第2の所定値と
を比較する第2の比較手段と、2つの比較器の出力に基
づいて、測定手段の出力が第1の設定値よりも大きい時
には第1の設定値を、測定手段の出力が第2の設定値よ
りも小さい時には第2の設定値を、測定手段の出力が第
1の設定値と第2の設定値の間にある時には、第1の設
定値と第2の設定値との間で測定手段の出力値に比例し
た値を出力する設定手段とから成ることを特徴とする請
求項1に記載の伝送制御装置。
2. The gain setting means comprises a first comparing means for comparing the output of the measuring means with a first predetermined value, and a second predetermined value smaller than the output of the measuring means and the first predetermined value. Based on the outputs of the second comparing means for comparing the value with the two comparators, the first setting value is output when the output of the measuring means is larger than the first setting value, and the output of the measuring means is second output. When the output of the measuring means is between the first set value and the second set value, the second set value is set between the first set value and the second set value. 2. The transmission control device according to claim 1, further comprising setting means for outputting a value proportional to the output value of the measuring means.
JP5124679A 1993-04-30 1993-04-30 Transmission control device Expired - Fee Related JP2850702B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5124679A JP2850702B2 (en) 1993-04-30 1993-04-30 Transmission control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5124679A JP2850702B2 (en) 1993-04-30 1993-04-30 Transmission control device

Publications (2)

Publication Number Publication Date
JPH06315173A true JPH06315173A (en) 1994-11-08
JP2850702B2 JP2850702B2 (en) 1999-01-27

Family

ID=14891393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5124679A Expired - Fee Related JP2850702B2 (en) 1993-04-30 1993-04-30 Transmission control device

Country Status (1)

Country Link
JP (1) JP2850702B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS642455A (en) * 1987-06-24 1989-01-06 Nec Corp Automatic level control circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS642455A (en) * 1987-06-24 1989-01-06 Nec Corp Automatic level control circuit

Also Published As

Publication number Publication date
JP2850702B2 (en) 1999-01-27

Similar Documents

Publication Publication Date Title
CA2258618C (en) Echo suppressor and non-linear processor of echo canceller
US5029204A (en) Operational status controller for echo canceling
US5933494A (en) Echo canceling method and apparatus in a communication device
JP2850702B2 (en) Transmission control device
JP2850703B2 (en) Transmission control device
JPH11196178A (en) Automatic level adjusting device
JPH06315174A (en) Transmission controller
JPS581337A (en) Echo suppressing device
JP2604886B2 (en) Line disconnection detection method
JP3036944B2 (en) In-band signaling device
JP3383164B2 (en) Digital wireless telephone device
JP3319552B2 (en) Telephone equipment
JP3382091B2 (en) Modem
AU6999698A (en) Digital signal processor-based telephone test set
JP2001057588A (en) In-band ringer
JPH10271047A (en) Monitor device for echo canceller
JPH11177657A (en) Method for echo cancellor to detect cas signal and telephone system device
JP2932042B2 (en) Switching device for charging terminal equipment
JP2991078B2 (en) Two-wire audio conferencing equipment
JPH10164252A (en) Telephone system
JP2001309406A (en) In-voice band signal unit and communication method in the in-voice band signal unit
JPH10224273A (en) Deterioration decision and signal detecting circuit
JPH03109828A (en) Method and instrument for measuring flat delay length, echo canceller and telephone set terminal
JPH04241562A (en) In-band signaling transmitter
JPH1188237A (en) Echo canceller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071113

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091113

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091113

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

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20111113

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

Free format text: PAYMENT UNTIL: 20111113

Year of fee payment: 13

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

Year of fee payment: 14

Free format text: PAYMENT UNTIL: 20121113

LAPS Cancellation because of no payment of annual fees