JPH06315176A - Transmission controller - Google Patents

Transmission controller

Info

Publication number
JPH06315176A
JPH06315176A JP12468193A JP12468193A JPH06315176A JP H06315176 A JPH06315176 A JP H06315176A JP 12468193 A JP12468193 A JP 12468193A JP 12468193 A JP12468193 A JP 12468193A JP H06315176 A JPH06315176 A JP H06315176A
Authority
JP
Japan
Prior art keywords
signal
line
frequency
station device
standby
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
JP12468193A
Other languages
Japanese (ja)
Other versions
JP2850703B2 (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 JP5124681A priority Critical patent/JP2850703B2/en
Publication of JPH06315176A publication Critical patent/JPH06315176A/en
Application granted granted Critical
Publication of JP2850703B2 publication Critical patent/JP2850703B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Interface Circuits In Exchanges (AREA)

Abstract

PURPOSE:To simplify the handling by unnecessitating the operation procedure at the time of an installation or a disconnection recovery by constituting that either one of a main station device and a slave station device always transmits a measuring signal and the other performs a measurement, receiving it, even if the power source of either one of the main station device or the slave station device is turned on earlier at the starting of an initialization operation. CONSTITUTION:An inband ringer 1 is connected between a two-wire type line and a PBX, and the ringer and the PBX 2 are connected by a six-line type SR exclusive line interface. The inband ringer installed in a slave station transmits a test signal for measuring the characteristic of the exclusive line earlier and the inband ringer set at a main station starts the setting of the gain of an amplifier, etc., receiving it. As a test signal, a signal where the sine wave signal in the vicinity of the center of a transmission band and the sine wave signal in the vicinity of the end of the transmission band are added is used, the setting of the gain of the amplifier is performed by the sine wave signal power in the vicinity of the center of the transmission band and the selection of equalizer characteristic is performed by the sine wave signal power ratio in the vicinity of the end and the center of the transmission band.

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線式専用線で同等の機
能および性能を実現したいとの要求がある。
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.

【0003】2線式専用線を用いる場合、専用線の両端
で2線4線変換をする必要があるが、2線4線変換部で
の回り込み抑圧量が少ないと、過大な側音あるいはエコ
ー、鳴音を発生させることになり著しく通話品質を劣化
させる。すなわち図20に示すように、長距離伝送を行
なう中継PBXを介して2線式専用線を縦続接続した場
合、回り込みおよびは遅延が少ないので過大な側音
として話者に聞こえ、回り込みとは話者Bにエコー
となって聞こえ、回り込みとは話者Aにエコーとな
って聞こえる。鳴音は、回り込みとPBX内回り込み
、回り込みと回り込み、あるいは回り込みとP
BX内回り込みが形成するループ経路で発生する。従
来2線式インバンドリンガでは、回り込みに起因する上
記通話品質劣化を、工事業者が設置時に2線4線変換部
のバランス回路網を調整することで、低減していた。
When using a two-wire type dedicated line, it is necessary to perform two-line to four-line conversion at both ends of the dedicated line. However, if the wraparound suppression amount in the two-line to four-line conversion unit is small, excessive sidetone or echo is generated. , Which causes a ringing sound, and significantly deteriorates the call quality. That is, as shown in FIG. 20, when two-wire type dedicated lines are connected in series via a relay PBX that performs long-distance transmission, wraparound and delay are small, so that the speaker hears as an excessive sidetone, The person B hears as an echo, and the wraparound is heard by the speaker A as an echo. Sounds are wraparound and wraparound in PBX, wraparound and wraparound, or wraparound and P
It occurs in the loop path formed by the BX inflow. In the conventional two-wire in-band ringer, the above-mentioned deterioration in call quality caused by wraparound has been reduced by a contractor adjusting the balance circuit network of the two-wire to four-wire conversion unit at the time of installation.

【0004】また、2線式に限らずインバンドリンガで
は、専用線の減衰量に見合う増幅器利得の設定、および
高域周波数での減衰を補償して振幅周波数特性を平坦に
するイコライザの設定が必要であるが、これらも設置時
に工事業者が調整していた。すなわち専用線の一方の端
からあらかじめ定められた信号を送出し、他端でこの信
号を観測することで劣化の程度を知り、増幅器利得を設
定し、イコライザの特性を選択し設定していた。
In addition to the two-wire type, in the in-band ringer, setting of the amplifier gain commensurate with the amount of attenuation of the dedicated line and setting of the equalizer for compensating the attenuation at the high frequency and flattening the amplitude frequency characteristic are performed. Although necessary, these were also adjusted by the contractor at the time of installation. That is, a predetermined signal is transmitted from one end of the dedicated line, and the degree of deterioration is known by observing this signal at the other end, the amplifier gain is set, and the characteristic of the equalizer is selected and set.

【0005】また、インバンドリンガには専用線の断線
検出を行なう機能が必要となる。この機能がないと、利
用者が機器異常を保守管理者に伝え、保守管理者が専用
線貸与業者とともに原因調査し、断線と判断した時点で
断線している専用線を特定するといった手順が必要にな
り、復旧までの時間がかかってしまい多大な迷惑をかけ
ることになる。断線検出の方法としては、伝送帯域の一
部を用い正弦波信号を常時伝送しておき、その信号が受
信側で検出できなかったときに断線とするのが一般的で
ある。すなわち、送信側では音声信号を帯域阻止フィル
タに通すことで正弦波信号の伝送帯域を確保した後に正
弦波信号を重畳し、受信側では帯域通過フィルタを用い
て正弦波信号を検出するとともに、帯域阻止フィルタで
正弦波信号を除去し音声信号のみを受信信号として出力
する。
Further, the in-band ringer is required to have a function of detecting disconnection of the dedicated line. Without this function, it is necessary for the user to notify the maintenance manager of the device abnormality, to investigate the cause together with the leased line lender, and to identify the broken leased line when it is judged that the line is broken. It will take a lot of time to recover and cause a great deal of trouble. As a method of detecting the disconnection, it is general that a sine wave signal is constantly transmitted using a part of the transmission band, and the signal is disconnected when the signal cannot be detected on the receiving side. That is, on the transmission side, the sine wave signal is superimposed after securing the transmission band of the sine wave signal by passing the voice signal through the band elimination filter, and on the reception side, the sine wave signal is detected using the band pass filter and The blocking filter removes the sine wave signal and outputs only the audio signal as the received signal.

【0006】また、インバンドリンガではダイヤル中あ
るいは通話中に制御信号を重畳して伝送するが、インバ
ンドリンガ内部ではこの制御信号を除去し話者に聞こえ
ないようにする必要がある。制御信号を除去するには送
信側が送出する信号周波数と受信側の除去フィルタの中
心周波数が正確に一致してしている必要があり、抵抗器
やコンデンサといったアナログ部品で構成される発振器
あるいはフィルタを用いると複雑な調整が必要となり製
造しにくいといった問題があった。これを解決する方法
として、正確な基準周波数を用いてデジタル信号処理技
術により発振器あるいは除去フィルタを構成することで
無調整化を実現する方法がある。
Further, in the in-band ringer, a control signal is superimposed and transmitted during dialing or during a call, but 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.

【0007】[0007]

【発明が解決しようとする課題】従来のインバンドリン
ガの増幅器利得の設定およびイコライザの設定では、専
用線の送信端から測定信号を送出し、他端において増幅
器およびイコライザを通した後の信号を観測することで
最適な設定を行なう必要があるが、この場合、専用線の
両端に工事者がいなければならず設置工事のための人件
費が高くなるといった問題があった。また、従来の断線
検出では、断線検出を目的とした信号を伝送するために
音声信号の一部周波数成分を強制的に取り除くので、通
話品質を劣化させてしまうという問題点もあった。
In the setting of the amplifier gain and the equalizer of the conventional in-band ringer, the measurement signal is sent from the transmission end of the leased line and the signal after passing through the amplifier and the equalizer at the other end is set. It is necessary to make the optimum setting by observing, but in this case, there was a problem that construction workers had to be at both ends of the leased line and the labor cost for installation work was high. Further, in the conventional disconnection detection, a part of frequency components of the voice signal is forcibly removed in order to transmit a signal for the purpose of detecting the disconnection, which causes a problem that the communication quality is deteriorated.

【0008】本発明の目的は、従来例の問題点を解決
し、主局と従局間での制御信号のやり取りを確実に実行
でき、増幅器利得の設定およびイコライザの選択を人手
を介さずに自動的に行なえ、さらに音声信号の伝送中に
は全ての帯域を音声信号に開放し、かつ断線検出が行な
えるような伝送制御装置を提供することにある。
An object of the present invention is to solve the problems of the conventional example, to reliably exchange control signals between a master station and a slave station, and to automatically set an amplifier gain and select an equalizer without human intervention. In addition, it is an object of the present invention to provide a transmission control device in which all bands can be opened to the audio signal and disconnection can be detected during the transmission of the audio signal.

【0009】[0009]

【課題を解決するための手段】本発明は、回線を介して
対向するインバンドリンガの間で確実に手順の同期が取
れるリセット手順、トレーニング手順等を設定し、トレ
ーニングにおいては他方のインバンドリンガから多周波
測定信号を送出し、一方の側では各周波数での受信電力
を測定し、その結果得られる振幅周波数特性から最適の
イコライザ特性および増幅器利得を選択することを特徴
とする。また、音声信号の伝送を行う状態と行わない状
態に分け、音声信号の伝送を行わない状態では専用線を
介した双方のインバンドリンガが互いに応答信号を送受
信するよう構成し、応答信号が受信できなかった場合に
断線と判定し、音声信号の伝送を行う状態では一切の応
答信号を伝送せず、終話時点で終話信号を送り、それに
対する応答が定められた時間内に受信できなかった場合
に断線と判定するところに特徴がある。
SUMMARY OF THE INVENTION The present invention sets a reset procedure, a training procedure, and the like that can surely synchronize procedures between opposing in-band ringers via a line, and in training, the other in-band ringer is set. It is characterized in that a multi-frequency measurement signal is transmitted from one side, the reception power at each frequency is measured on one side, and the optimum equalizer characteristic and amplifier gain are selected from the amplitude frequency characteristics obtained as a result. In addition, it is divided into a state in which the audio signal is transmitted and a state in which it is not transmitted.In a state in which the audio signal is not transmitted, both in-band ringers are configured to send and receive a response signal to each other via a dedicated line, and the response signal is received. If it is not possible, it is judged as a disconnection, no response signal is transmitted in the state of transmitting the voice signal, the end signal is sent at the end of the call, and the response to it cannot be received within the specified time. The feature is that it is judged as a disconnection when it is.

【0010】[0010]

【作用】本発明では、専用線を介して対向する主局装置
および従局装置の間に制御手順を設け、テスト信号を伝
送帯域中心付近の正弦波信号と伝送帯域端付近の正弦波
信号とを加えた信号として、両者の電源が投入された時
点を契機に従局装置からテスト信号を出力し、また主局
装置の設定あるいは選択動作が終了した後に主局装置か
らテスト信号を出力するようにしたから、主局および従
局ともに伝送帯域中心付近の正弦波信号電力により増幅
器利得設定、伝送帯域端付近と伝送帯域中心付近の正弦
波信号電力比からイコライザ特性の選択を自動的に行う
ことができる。
In the present invention, a control procedure is provided between the master station device and the slave station device that are opposed to each other via the leased line, and the test signal is divided into a sine wave signal near the center of the transmission band and a sine wave signal near the end of the transmission band. As the added signal, a test signal is output from the slave device when the power of both is turned on, and a test signal is output from the main device after the setting or selection operation of the main device is completed. Therefore, both the master station and the slave station can automatically set the amplifier gain by the sine wave signal power near the center of the transmission band, and automatically select the equalizer characteristic from the sine wave signal power ratio near the end of the transmission band and near the center of the transmission band.

【0011】また、音声信号の伝送を行わない場合は相
互に応答信号を送信し、それを相手装置が規定時間内に
検出することで断線を検出でき、また音声信号の伝送を
行っている場合は、断線があれば話者が気付き終話とす
るから、それを契機として終話信号を送出した側の装置
がタイマ監視し、相手装置から終話信号に対する応答信
号を規定時間内に受信することで断線を検出できる。
Further, when the voice signal is not transmitted, the disconnection can be detected by transmitting the response signals to each other and the partner device detecting the response signal within the specified time, and when the voice signal is transmitted. If there is a disconnection, the speaker notices that the call has ended, and the device that sent the end signal monitors the timer with this as a trigger, and receives the response signal to the end signal from the partner device within the specified time. Therefore, disconnection can be detected.

【0012】[0012]

【実施例】図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.

【0013】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.

【0014】ADCb16はH13の4線側出力(AG
C出力)をデジタル信号に変換するためのアナログ−デ
ジタル変換器、DACb12はデジタル信号をアナログ
信号に変換するためのデジタル−アナログ変換器であ
る。ADCa11は入力音声信号をデジタル信号に変換
するためのアナログ−デジタル変換器、DACa17は
デジタル信号をアナログ信号に変換するためのデジタル
−アナログ変換器である。フォトカプラ18はSS信号
を受信し、DSP10の制御バス20に出力する。リレ
ー19はDSP10の制御により、制御信号をSR線に
送出する。
ADCb16 is an output of 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.

【0015】図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.

【0016】図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.

【0017】MODはダイヤルパルスを変調する変調
器、OSCは1周波あるいは2周波からなる制御信号を
出力するための可変周波数発振器、BEFaはMOD又
はOSCから出力される制御信号の占有帯域に相当する
成分をPBX側より入力される音声信号から除去する帯
域阻止フィルタ、SWaは通話モード時に音声信号の全
帯域を通すためのスイッチ、DETは1周波あるいは2
周波からなる制御信号を受信し、その電力を測定すると
ともに信号の有無を判定する信号受信器、DEMはダイ
ヤルパルス変調波の復調を行う復調器、SWcは通話モ
ード時に音声信号の全帯域を通すためのスイッチ、BE
Fbは専用線から受信した信号中から制御信号の帯域に
相当する成分を除去する帯域阻止フィルタである。
MOD is a modulator for modulating the dial pulse, OSC is a variable frequency oscillator for outputting a control signal of one frequency or two frequencies, and BEFa corresponds to the 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.

【0018】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.

【0019】ここで上記各ブロックのうち機能が複雑な
ものについて信号処理方法を説明しておく。図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.

【0020】エコーキャンセラ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.

【0021】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.

【0022】信号受信器DETにおける信号検出は図1
6に示すように、先ず0.3〜3.4kHzの全ての帯
域内の電力Paを測定し、次に所望周波数の正弦波を通
過させる帯域通過フィルタにより信号帯域を選択し、そ
の選択された信号の電力Psを測定し、検出判定に当た
っては比Ps/Paが1のとき(実際にはノイズや誤差
があるので1より小さな値rp以上のとき)所望信号有
りと判定する。比Ps/Paが小さいときは受信信号が
所望信号以外の成分を多く含んでおり、誤検出となる可
能性が高いので合格判定としない。なおDETにおい
て、電力測定は時間窓内の平均を計算することで実現
し、帯域通過フィルタはIIRフィルタで構成してあ
り、複数の通過特性に対応した分母係数および分子係数
をROMに記憶しておき、検出周波数に応じてこれら係
数を選択演算し、また2周波の場合は帯域阻止フィルタ
と同様に2回演算することで実現する。復調器DEMは
帯域通過フィルタと捕捉信号の位相変化を判定する検出
器とで構成され、ダイヤルパルスを復調する。イコライ
ザEQおよび雑音低減器NRについては後に詳述する。
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.

【0023】次に本発明によるインバンドリンガの初期
設定動作に入る手順及び初期設定動作終了後の待機状態
について図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 the 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.

【0024】電源投入が行われると、主局装置は図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.

【0025】従局装置は図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.

【0026】図2(a)は主局装置の電源が先に投入さ
れ、主局装置が設定動作を開始するまでのシーケンスを
示し、図2(b)は従局装置の電源が先に投入され主局
装置で設定動作が開始されるまでのシーケンスを示す。
図2(a)および図2(b)から明らかなように、本発
明の手順によれば主局従局の電源投入順序によらず制御
手順の同期がとられることになるから、常に主局側の初
期設定が開始され、従局はそれに必要な信号を出力す
る。すなわち同期をとることで両者の装置の一方がテス
ト信号を出力し、それをもとに他方が専用線の特性を知
り補正することで人手を介さない初期設定が可能とな
る。
FIG. 2A shows a 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.

【0027】リセット信号に先立ち、待機信号を送出す
るように構成した理由は、インバンドリンガの動作途中
において、リセットスイッチ等により強制的に初期設定
を開始させる場合にも、一旦両者を待機状態に移行さ
せ、確実にリセット信号を検出するためである。すなわ
ち、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 the reset switch or the like during the operation of the in-band ringer, both of them are once 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.

【0028】次に本発明による初期設定動作について説
明する。主局装置は図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.

【0029】次に主局装置は周波数feの電力を測定し
(処理上は時分割処理で実現しているから、fcとfe
の電力測定は同時、即ち1サンプル内に行なわれ
る。)、これとfc電力との比をもとにイコライザ特性
を選択する。イコライザ特性の選択法については後に詳
述する。主局装置はイコライザ特性の選択終了後に終了
信号S14を出力する。S14送出中にfc電力がなく
なったならバランス回路網BNの選択に進む。テスト信
号S23(fc)の停止は無音そのものを検出すべきで
あるが、雑音が存在するため直接検出することは困難で
ある。従ってテスト信号S23の検出ができないことを
もって無音検出に代える(以降における無音検出も同様
の扱いである)。バランス回路網BNの選択において
は、WHNaから白色雑音を2線4線変換部Hに印加し
た状態で行なうが、詳細は後述する。
Next, the main station device measures the power of the frequency fe (since the processing is realized by time division processing, fc and fe
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.

【0030】バランス回路網の選択後、主局装置はエコ
ーキャンセラECbのタップ係数のトレーニングを前述
のごとく行ない、トレーニング終了後、終了信号S15
を送出する。S15送出中に従局装置からテスト要求信
号S25を受信したならテスト信号S13の出力を開始
する。テスト信号S13は前記S23と同じ周波数構成
の信号である。S13を送出する期間は、従局装置がA
GCおよびEQの設定を行う時間であり予め定められ
る。その期間を過ぎても終了信号S24を検出できない
場合は、専用線の断線あるいは従局装置故障が考えられ
るので、アラーム表示を行う。S24を受信したなら信
号送出を停止し、従局装置が自ら白色雑音を出力し行う
トレーニングを妨害しないようにする。無音送出につい
ても一定時間経過後に終了信号が受信されないなら断線
あるいは故障と判断し、アラーム表示を行う。
After selecting the balance circuit network, the main station apparatus 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.

【0031】従局の終了信号は、全ての初期設定動作が
終了した後であるから待機信号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. .

【0032】従局装置の初期設定動作は図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 station 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.

【0033】前記説明のアラーム表示において、主局装
置あるいは従局装置はアラームランプを点灯するととも
に、相手装置に待機信号を送出するアラーム状態にとど
まり、人手によりアラームの原因が除去された後に行わ
れるリセットにより再度初期設定動作に入る。図3は前
記説明の初期設定動作を主局装置と従局装置を対向させ
てシーケンス図として表わしたものである。
In the alarm display described above, the master station device or the slave station device lights the alarm lamp and remains in an alarm state in which a standby signal is sent to the partner device, and is reset 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.

【0034】次に図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. 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.

【0035】次に図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).

【0036】次に図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.

【0037】バランス回路網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 circuit 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.

【0038】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.

【0039】次に図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.

【0040】待機状態では図8に示すように待機信号S
11を送出し、従局からのリセット信号S22を受信し
たなら初期設定動作へ移行し、自局の発呼を検出したな
ら待機信号S11の送出を停止して発呼状態へ移行し、
従局から捕捉信号S29を受信したなら待機信号S11
の送出を停止して被呼状態へ移行し、従局から待機信号
S21を受信したなら待機状態に留まり、前記いずれの
信号も一定時間以上受信できない場合は専用線の断線で
あるからオペレータに断線を知らせるためアラーム表示
を行う。
In the standby state, as shown in FIG. 8, the standby signal S
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.

【0041】発呼状態では図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.

【0042】相手装置からの捕捉応答信号の停止を検出
すると無音を出力し、音声信号に全ての帯域を開放し通
話状態に移行するが、後に述べるウィンクスタートによ
る応答方式があるので、タイマを設け、一定期間以上捕
捉応答信号の停止状態が続いたことを確認してから通話
状態に移行する。エコーキャンセラECaのトレーニン
グは捕捉応答信号の停止を検出した時点直後に実施す
る。ECaは既に説明したようにPBXの通話路を含め
た回り込み経路の伝達関数を同定するものであるから、
発呼側PBXが通話路を形成した時点、すなわち発呼側
インバンドリンガが被呼応答をPBXに通知した時点直
後にトレーニングを行なう必要がある。ただし、後に述
べるウィンクスタートによる応答方式があるので、タイ
マを設けウィンクパルスの継続時間以上捕捉応答信号の
停止が検出された場合にのみタップ係数を固定し通話状
態に移行する。
When the stop of the capture response signal from the partner device is detected, a silent signal is output, the voice signal is released in the entire band, and the communication state is entered. However, since there is a wink start response system 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.

【0043】被呼状態では図10に示すように、最初に
捕捉応答信号S18を出力する。同時にパルスダイヤル
の復調を行う。PBダイヤルの場合、捕捉信号S29は
変調されていないからPBXに対しダイヤルパルスは出
力されない。自局が捕捉応答信号S18を停止する前に
相手装置からの捕捉信号S29が一定時間以上受信され
ない場合は専用線の断線であるからアラーム表示を行
う。自局の回線捕捉(応答)を検出すると無音を出力
し、音声信号に全ての帯域を開放し、同時にエコーキャ
ンセラECaのトレーニングを行う。被呼の場合、応答
検出直後にPBX通話路が形成されるので、この時点で
ECaのトレーニングを行いタップ係数を固定し、通話
状態に移行する。ただし、後に述べるウィンクスタート
による応答方式があるので、タイマを設け、ウィンクパ
ルスの最長継続時間以上応答検出がなされた場合にのみ
タップ係数を固定し通話状態に移行する。
In the called state, as shown in FIG. 10, the capture response signal S18 is first output. 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.

【0044】通話状態では図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 restoration 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.

【0045】以上説明したように各状態において制御信
号を送出した場合には予定時間内に予定の応答が返って
くることを検出し、断線検出を行なうので、何時でも断
線検出ができる。図8〜図11において断線アラーム状
態では待機信号を出力し、アラームランプを点灯させて
その状態に留まり、強制リセットがなされると初期設定
動作に移る。
As described above, when the control signal is transmitted in each state, it is detected that a 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.

【0046】図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 calling state described above, and notifies the end of the calling 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.

【0047】次に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.

【0048】これを解決するためには、図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-execute the training 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.

【0049】次に雑音低減器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,
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 this broadband noise has a level 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, since the presence of a voice signal is rare in the calling state, the calling speaker perceives noise.

【0050】本発明の実施例ではAD変換により生じた
雑音を知覚されない程度に低減するため雑音低減器NR
をBEFbの後段に挿入している。図18及び図19を
用いて雑音低減器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 used in order to reduce the noise generated by the AD conversion to the extent that it is not perceived.
Is inserted in the latter stage of BEFb. The operation of the noise reducer NR will be described with reference to FIGS. 18 and 19. When a high power signal such as a voice signal is superimposed on the quantization noise,
Since it is masked and noise is not a concern, 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, and when the signal power is P1 or less, the amplification gain is G1.
(Attenuation), G0 (gain 1) when the signal power is P2 or more, and the gain is determined in proportion to the signal power when P1 or more and P2 or less. 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,
The gain is determined 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, in order to reduce the quantization noise, the quantization step is uniform regardless of the signal amplitude, and the resolution equivalent to the non-linear quantization is provided. A high resolution analog-to-digital converter is required.

【0051】[0051]

【発明の効果】以上の説明から明らかなように本発明は
以下に示すような効果がある。 (a)初期設定動作の開始にあたっては、主局装置ある
いは従局装置のいずれが先に電源投入されてもまた強制
リセットされても、常に一方が測定信号を送出し他方が
それを受けて測定するよう構成したので、設置時あるい
は断線回復時の操作手順が不要となり扱いが容易にな
る。 (b)終了信号の検出において全帯域内電力を参照して
検出するようにして白色雑音を誤検出しないようにした
ので、バランス回路網選択あるいはエコーキャンセラの
トレーニング時に全帯域信号を用いて測定できる。 (c)AGC及びイコライザの設定において、制御信号
によりハンドシェイクを行なうことで、一方が送出する
複数周波数の測定信号の開始時期を知り、専用線の特性
を測定するようにしたので、人手を介さずに設定が可能
になり、かつ短時間で設定できる。 (d)待機状態、発呼状態、被呼状態及び通話状態にお
いて信号送出側が予定した時間内に予定した応答信号が
受信できたか否かで断線を判定するが、特に通話状態に
おいては話者の断線識別による捕捉解除時点からの断線
判定をおこなうことで通話中の制御信号重畳をなくした
ので全ての帯域を通話目的に使用できる。 (e)また本発明によれば、PBX側の2線4線変換部
に対し並列にエコーキャンセラを備え、ウィンクスター
ト方式の採用何如に関わらず、PBXの通話路が確実に
形成されている時点でトレーニングを行なうようにした
から、PBX内2線4線変換部あるいはインバンドリン
ガ内PBX側2線4線変換部に起因する側音およびエコ
ーを極めて少なくできる。
As is apparent from the above description, the present invention has the following effects. (A) When starting the initial setting operation, whether the master station device or the slave station device is powered on first or is forcibly reset, one always sends a measurement signal and the other one receives it for measurement. Since it is configured as described above, the operation procedure at the time of installation or at the time of disconnection recovery is unnecessary and the handling becomes easy. (B) Since white noise is not erroneously detected by detecting the end band signal by referring to the power in the entire band, it is possible to perform measurement using the whole band signal when selecting the balance network or training the echo canceller. . (C) In setting the AGC and the equalizer, by performing a handshake with the control signal, it is possible to know the start time of the measurement signals of a plurality of frequencies sent by one side and measure the characteristics of the leased line. It is possible to set without setting, and it can be set in a short time. (D) The disconnection is judged depending on whether the signal sending side can receive the scheduled response signal within the scheduled time in the waiting state, the calling state, the called state, and the talking state. Since the control signal superimposition during the call is eliminated by performing the disconnection determination from the release point of time by the disconnection identification, all the bands can be used for the communication purpose. (E) Further, according to the present invention, an echo canceller is provided in parallel with the 2-wire / 4-wire conversion unit on the PBX side, and the point where the PBX communication path is reliably formed regardless of the adoption of the wink start method. Since the training is carried out at 2, the sidetone and the echo caused by the 2-line 4-line converter in the PBX or the 2-line 4-line converter in the PBX on the in-band ringer can be extremely reduced.

【図面の簡単な説明】[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.

【符号の説明】[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 (5)

【特許請求の範囲】[Claims] 【請求項1】 2線式回線を用いて発呼被呼制御を行う
伝送制御装置において、 主局装置あるいは従局装置のいずれかとして動作するよ
うに設定する設定手段と、 電源投入検出あるいは外部からの強制リセットにより、
一定時間待機信号を出力した後、続けてリセット信号を
出力する手段と、 主局装置として設定された場合には、従局装置からの待
機信号に続くリセット信号を受信して、リセット信号を
送出する手段と、 従局装置として設定された場合には、主局装置からの待
機信号に続くリセット信号を受信して、初期設定動作を
開始するためのテスト信号を送出する手段とを備えたこ
とを特徴とする伝送制御装置。
1. A transmission control device for controlling outgoing / incoming calls using a two-wire line, setting means for setting to operate as either a master station device or a slave station device, and power-on detection or from the outside. By the forced reset of
A means for continuously outputting a reset signal after outputting a standby signal for a certain period of time, and when it is set as a master station device, it receives a reset signal following the standby signal from a slave station device and sends out a reset signal. And a means for receiving a reset signal following the standby signal from the master station device and transmitting a test signal for starting the initial setting operation when set as the slave station device. Transmission control device.
【請求項2】 2線式回線を用いて発呼被呼制御を行う
伝送制御装置において、 回線に、伝送帯域の中心付近の周波数の信号と伝送帯域
の端付近の周波数の信号とから成るテスト信号を送信す
る手段と、 回線から受信した信号の周波数特性を補正するフィルタ
手段と、 前記フィルタ手段のタップ係数を複数組記憶するタップ
係数記憶手段と回線から受信したテスト信号の、伝送帯
域の中心付近の周波数の信号の受信レベルと、伝送帯域
の端付近の周波数の信号の受信レベルとの比を求めるレ
ベル比検出手段と、 前記比に基づいて、前記タップ係数記憶手段から最適な
タップ係数を読み出し、フィルタ手段に設定するフィル
タ制御手段とを備えたことを特徴とする伝送制御装置。
2. A transmission control device for controlling call origination and termination using a two-wire line, wherein the line comprises a signal having a frequency near the center of the transmission band and a signal having a frequency near the end of the transmission band. A means for transmitting a signal, a filter means for correcting the frequency characteristic of a signal received from a line, a tap coefficient storage means for storing a plurality of sets of tap coefficients of the filter means, and a center of a transmission band of a test signal received from the line Level ratio detection means for obtaining a ratio between the reception level of the signal of the frequency near and the reception level of the signal of the frequency near the end of the transmission band, and based on the ratio, the optimum tap coefficient from the tap coefficient storage means A transmission control device comprising: filter control means for reading and setting the filter means.
【請求項3】 2線式回線を用いて発呼被呼制御を行う
伝送制御装置において、 回線に、平坦な周波数スペクトラムを持つトレーニング
信号を送信する手段と、 回線に、トレーニング終了信号として単一周波数信号を
送信する終了信号送信手段と、 受信信号の伝送帯域内の全電力を測定する全電力測定手
段と、 受信信号の、前記終了信号送信手段から出力される信号
の周波数と同一の周波数における電力を測定する単一周
波数電力測定手段と、 前記全電力測定手段および単一周波数電力測定手段の出
力に基づいて、トレーニング終了信号を受信したか否か
を判断する判断手段とを備えたことを特徴とする伝送制
御装置。
3. A transmission control device for controlling call origination and termination using a two-wire line, a means for transmitting a training signal having a flat frequency spectrum to the line, and a single line as a training end signal for the line. A termination signal transmitting means for transmitting a frequency signal, a total power measuring means for measuring the total power in the transmission band of the reception signal, and a reception signal at the same frequency as the frequency of the signal output from the termination signal transmitting means. A single frequency power measuring means for measuring power; and a judging means for judging whether or not a training end signal is received based on the outputs of the total power measuring means and the single frequency power measuring means. Characteristic transmission control device.
【請求項4】 2線式回線を用いて発呼被呼制御を行う
伝送制御装置において、 発呼時に送出する捕捉信号の応答としての捕捉応答信号
を検出する手段と、 捕捉応答信号の停止直後から一定時間内に回線側のエコ
ーキャンセラのトレーニングを行う手段とを備えたこと
を特徴とする伝送制御装置。
4. A transmission control device for controlling call origination and termination using a two-wire line, means for detecting a capture response signal as a response to a capture signal sent at the time of calling, and immediately after the capture response signal is stopped. And a means for training the echo canceller on the line side within a fixed time from the above.
【請求項5】 2線式回線を用いて発呼被呼制御を行う
伝送制御装置において、 待機状態において、待機信号を送出する手段と、 発呼検出時から被呼応答時までは捕捉信号を送出する手
段と、 前記捕捉信号の受信時から被呼応答時までは、捕捉応答
信号を送出する手段と、 回線から受信される各種信号の検出手段と、 タイマ手段と、 装置の状態と、前記検出手段の出力、および前記タイマ
手段の出力を入力し、待機状態においては前記待機信号
が検出されない場合に断線と判定し、被呼状態において
は前記捕捉信号が検出されない場合に断線と判定し、発
呼状態においては前記捕捉応答信号が検出されない場合
に断線と判定し、通話復旧検出時には、待機信号を送出
すると共に、タイマ手段を起動し、一定時間以内に待機
信号が受信されない場合に断線と判定する判定手段とを
備えたことを特徴とする伝送制御装置。
5. A transmission control device for controlling outgoing / incoming calls using a two-wire line, in a standby state, means for transmitting a standby signal, and a capture signal from the time when a call is detected to the time when a response is received. Means for sending, a means for sending a capture response signal from the time of receiving the capture signal to the time of a called response, a means for detecting various signals received from the line, a timer means, a state of the device, Input the output of the detection means, and the output of the timer means, in the standby state to determine the disconnection when the standby signal is not detected, in the called state to determine the disconnection when the capture signal is not detected, When the capture response signal is not detected in the calling state, it is determined that the line is broken, and when the call recovery is detected, the standby signal is sent out and the timer means is activated so that the standby signal is not received within a certain time. A transmission control device comprising: a determination unit that determines disconnection when there is no connection.
JP5124681A 1993-04-30 1993-04-30 Transmission control device Expired - Fee Related JP2850703B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPH06315176A true JPH06315176A (en) 1994-11-08
JP2850703B2 JP2850703B2 (en) 1999-01-27

Family

ID=14891443

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP2850703B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011040886A (en) * 2009-08-07 2011-02-24 Denso Corp Diagnostic device and diagnosis system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5733843A (en) * 1980-08-08 1982-02-24 Toshiba Corp Echo cancelling device
JPS59200535A (en) * 1983-04-26 1984-11-13 Nec Corp Transversal type equalizer
JPS60249457A (en) * 1984-05-25 1985-12-10 Fujitsu Ltd Terminating trunk testing system
JPS63224531A (en) * 1987-03-13 1988-09-19 Nec Corp Digital transmission circuit
JPH01305756A (en) * 1988-06-03 1989-12-11 Toyo Commun Equip Co Ltd In-voice-band signaling equipment
JPH04123620A (en) * 1990-09-14 1992-04-23 Nec Eng Ltd Amplitude equalizing system
JPH04213263A (en) * 1990-12-07 1992-08-04 Nippon Telegr & Teleph Corp <Ntt> Broken wire detection notice device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5733843A (en) * 1980-08-08 1982-02-24 Toshiba Corp Echo cancelling device
JPS59200535A (en) * 1983-04-26 1984-11-13 Nec Corp Transversal type equalizer
JPS60249457A (en) * 1984-05-25 1985-12-10 Fujitsu Ltd Terminating trunk testing system
JPS63224531A (en) * 1987-03-13 1988-09-19 Nec Corp Digital transmission circuit
JPH01305756A (en) * 1988-06-03 1989-12-11 Toyo Commun Equip Co Ltd In-voice-band signaling equipment
JPH04123620A (en) * 1990-09-14 1992-04-23 Nec Eng Ltd Amplitude equalizing system
JPH04213263A (en) * 1990-12-07 1992-08-04 Nippon Telegr & Teleph Corp <Ntt> Broken wire detection notice device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011040886A (en) * 2009-08-07 2011-02-24 Denso Corp Diagnostic device and diagnosis system

Also Published As

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

Similar Documents

Publication Publication Date Title
US5029204A (en) Operational status controller for echo canceling
US5933494A (en) Echo canceling method and apparatus in a communication device
JP2904637B2 (en) Communication network signaling method
JPH05122325A (en) Radio loudspeaking telephone system
JP2850703B2 (en) Transmission control device
JPH11196178A (en) Automatic level adjusting device
JP2850702B2 (en) Transmission control device
JPH06315174A (en) Transmission controller
JP2002280938A (en) Echo canceller
JP3036944B2 (en) In-band signaling device
JP2604886B2 (en) Line disconnection detection method
JP4364880B2 (en) Tone detection device, facsimile device and communication terminal device
JP3319552B2 (en) Telephone equipment
JPH11177657A (en) Method for echo cancellor to detect cas signal and telephone system device
JPH07336432A (en) Telephone system
JP3580738B2 (en) Echo canceller controller
JP3459566B2 (en) Telephone equipment
AU6999698A (en) Digital signal processor-based telephone test set
JPH10271047A (en) Monitor device for echo canceller
JPH10224273A (en) Deterioration decision and signal detecting circuit
JPH04165825A (en) Echo canceler device
JP2932042B2 (en) Switching device for charging terminal equipment
JP2001057588A (en) In-band ringer
JPS60226265A (en) Incoming and outgoing collision prevention system of interior equipment
JPH1188237A (en) Echo canceller

Legal Events

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20071113

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)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20081113

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091113

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