JP2850703B2 - Transmission control device - Google Patents

Transmission control device

Info

Publication number
JP2850703B2
JP2850703B2 JP5124681A JP12468193A JP2850703B2 JP 2850703 B2 JP2850703 B2 JP 2850703B2 JP 5124681 A JP5124681 A JP 5124681A JP 12468193 A JP12468193 A JP 12468193A JP 2850703 B2 JP2850703 B2 JP 2850703B2
Authority
JP
Japan
Prior art keywords
signal
band
state
frequency
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.)
Expired - Fee Related
Application number
JP5124681A
Other languages
Japanese (ja)
Other versions
JPH06315176A (en
Inventor
直行 山口
鈴木  誠
勝 篠原
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.)
Iwasaki Tsushinki KK
Original Assignee
Iwasaki Tsushinki KK
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 Iwasaki Tsushinki KK filed Critical Iwasaki Tsushinki KK
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)

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 apparatus, and more particularly to a transmission control apparatus for transmitting and receiving a control signal such as a line capture signal or a dial signal within a voice signal band using a line such as a two-wire dedicated line. The present invention relates to a transmission control device (in-band ringer) for correcting an attenuation characteristic 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) using a line such as a dedicated line. In such a device, since a good communication quality is easily obtained and the structure is simple, a 4-wire dedicated line is generally used. However, there is a problem that maintenance costs such as rent for a dedicated line are increased in a 4-wire system, and therefore there is a demand for realizing equivalent functions and performance with a 2-wire dedicated line.

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

【0004】また、2線式に限らずインバンドリンガで
は、専用線の減衰量に見合う増幅器利得の設定、および
高域周波数での減衰を補償して振幅周波数特性を平坦に
するイコライザの設定が必要であるが、これらも設置時
に工事業者が調整していた。すなわち専用線の一方の端
からあらかじめ定められた信号を送出し、他端でこの信
号を観測することで劣化の程度を知り、増幅器利得を設
定し、イコライザの特性を選択し設定していた。
In addition to the two-wire system, in the in-band ringer, the setting of the amplifier gain corresponding to the attenuation of the dedicated line and the setting of the equalizer for compensating the attenuation in the high frequency band and flattening the amplitude frequency characteristics are required. 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 the signal at the other end, the amplifier gain is set, and the characteristics of the equalizer are selected and set.

【0005】また、インバンドリンガには専用線の断線
検出を行なう機能が必要となる。この機能がないと、利
用者が機器異常を保守管理者に伝え、保守管理者が専用
線貸与業者とともに原因調査し、断線と判断した時点で
断線している専用線を特定するといった手順が必要にな
り、復旧までの時間がかかってしまい多大な迷惑をかけ
ることになる。断線検出の方法としては、伝送帯域の一
部を用い正弦波信号を常時伝送しておき、その信号が受
信側で検出できなかったときに断線とするのが一般的で
ある。すなわち、送信側では音声信号を帯域阻止フィル
タに通すことで正弦波信号の伝送帯域を確保した後に正
弦波信号を重畳し、受信側では帯域通過フィルタを用い
て正弦波信号を検出するとともに、帯域阻止フィルタで
正弦波信号を除去し音声信号のみを受信信号として出力
する。
In addition, the in-band ringer needs a function of detecting disconnection of a dedicated line. Without this function, a procedure is required in which the user reports the equipment error to the maintenance manager, the maintenance manager investigates the cause together with the leaser, and identifies the dedicated line that has been disconnected when it is determined to be disconnected. And it takes a long time to recover, causing a lot of trouble. As a method of disconnection detection, it is common to always transmit a sine wave signal using a part of the transmission band and to disconnect the signal when the signal cannot be detected on the receiving side. That is, the transmission side secures the transmission band of the sine wave signal by passing the audio signal through the band rejection filter, and then superimposes the sine wave signal, and the reception side detects the sine wave signal using the band pass filter, and The sine wave signal is removed by the rejection filter, and only the audio signal is output as the reception signal.

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

【0007】[0007]

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

【0008】本発明の目的は、従来例の問題点を解決
し、主局と従局間での制御信号のやり取りを確実に実行
でき、増幅器利得の設定およびイコライザの選択を人手
を介さずに自動的に行なえ、さらに音声信号の伝送中に
は全ての帯域を音声信号に開放し、かつ断線検出が行な
えるような伝送制御装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the problems of the prior art, 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 manual intervention. Another object of the present invention is to provide a transmission control device that can open all bands to audio signals during transmission of audio signals and can detect disconnection.

【0009】[0009]

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

【0010】[0010]

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

【0011】また、音声信号の伝送を行わない場合は相
互に応答信号を送信し、それを相手装置が規定時間内に
検出することで断線を検出でき、また音声信号の伝送を
行っている場合は、断線があれば話者が気付き終話とす
るから、それを契機として終話信号を送出した側の装置
がタイマ監視し、相手装置から終話信号に対する応答信
号を規定時間内に受信することで断線を検出できる。
In the case where the transmission of the audio signal is not performed, the response signal is mutually transmitted, and the disconnection can be detected by detecting the response signal within a specified time by the partner apparatus. When the disconnection occurs, the speaker notices and ends the call, so that the device on the side that transmitted the end signal monitors the timer with this as a trigger, and receives a response signal to the end signal from the partner device within the specified time Thus, 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線の伝送線に送受音声信
号と回線捕捉信号、呼び出し信号、ダイヤル信号等の制
御信号とを重畳する方法もある。
FIG. 21 is a block diagram showing a hardware configuration of an in-band ringer according to the present invention. The in-band ringer 1 is connected between the two-wire line and the PBX 2,
PBX2 is, for example, a 6-line SR dedicated line interface as shown in FIG. 21 (TTC standard JJ-21.10)
Connected by Transmission line 4WS, reception line 4WR
Transmits the audio signal in each direction, and the uplink control line S
S and the downlink control line SR transmit control signals such as calling, dialing and answering in each direction. The interface with the PBX or the like also includes a method of superimposing a transmission / reception voice signal and a control signal such as a line capture signal, a call signal, and a dial signal on the two transmission lines.

【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 denotes a CPU having a high-speed operation function. FIG.
It is a block diagram showing an example of the structure of SP. Various types of DSPs are commercially available and well-known, so detailed description is omitted. By incorporating an appropriate program into the DSP, various digital signal processing such as filters, signal generation and detection can be performed. It is also possible to control external circuits. H13 is a 2-wire 4-wire conversion circuit, BN
Reference numeral 14 denotes a balance network including a plurality of circuits for balancing H13 (these circuits will be described later),
The AGC 15 is a variable gain amplifier (also described later) for compensating the signal attenuation in the dedicated line.

【0014】ADCb16はH13の4線側出力(AG
C出力)をデジタル信号に変換するためのアナログ−デ
ジタル変換器、DACb12はデジタル信号をアナログ
信号に変換するためのデジタル−アナログ変換器であ
る。ADCa11は入力音声信号をデジタル信号に変換
するためのアナログ−デジタル変換器、DACa17は
デジタル信号をアナログ信号に変換するためのデジタル
−アナログ変換器である。フォトカプラ18はSS信号
を受信し、DSP10の制御バス20に出力する。リレ
ー19はDSP10の制御により、制御信号をSR線に
送出する。
The ADCb16 is a 4-wire output of the H13 (AG
An analog-to-digital converter for converting C output into a digital signal, and DACb12 is a digital-to-analog converter for converting a digital signal to an analog signal. ADCa11 is an analog-to-digital converter for converting an input audio signal to a digital signal, and DACa17 is a digital-to-analog converter for converting a digital signal to 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 is set in the master station apparatus or the slave station apparatus. In the present invention, the in-band ringer set to the slave station first transmits a test signal for measuring the characteristics of the leased line, and the in-band ringer set to the master station:
In response, the setting of the amplifier gain and the like is started. The setting for the master station or the slave station distinguishes which one transmits the test signal first, and whether to use the frequency for the master station or the frequency for the slave station as the control signal. Since the master station and the slave station 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.

【0016】図1において、ECbは2線4線変換部H
で生じる回り込み成分の伝達関数を推定するエコーキャ
ンセラ、ADbはECbの出力とHの4線側出力を減算
し回り込みを抑圧する減算器、WHNaは白色雑音発生
器、SWbはバランス回路網BNの選択あるいはエコー
キャンセラECbの適応フィルタタップ係数設定時に白
色雑音をHの4線側入力に入力するための切替えスイッ
チである。
In FIG. 1, ECb is a two-wire / four-wire converter H
Echo canceller for estimating the transfer function of the sneak component generated in the above, ADb is a subtractor for subtracting the output of ECb and the 4-wire side output of H to suppress sneak, WHNa is a white noise generator, and SWb is a selection of a balance network BN. Alternatively, it is a changeover switch for inputting white noise to the H 4-wire input 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 a dial pulse, OSC is a variable frequency oscillator for outputting a control signal having one or two frequencies, and BEFa is an occupied band of a control signal output from the MOD or OSC. A band rejection filter for removing components from the audio signal input from the PBX side, SWa is a switch for passing the entire band of the audio signal in the call mode, DET is one frequency or two
A signal receiver that receives a control signal consisting of a frequency and measures its power and determines the presence / absence of a signal. DEM is a demodulator that demodulates a dial pulse modulation wave. SWc passes the entire band of a voice signal in a call mode. Switch for BE
Fb is a band rejection 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 is used in accordance with the power of the received voice signal to reduce 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 a transfer function of a wraparound component generated in a 2-wire 4-wire conversion circuit of a PBX subscriber circuit. The echo canceller ADa to be estimated is a subtracter that subtracts the output of ECa from the signal of the transmission line 4WS and suppresses the wraparound. CONT
Controls the functional blocks via the control bus. IN
T is an interface with the SS line and the SR line.
The control signal received from the S line is transferred to CONT, and
The control signal from the ONT is transmitted to the SR line.

【0019】ここで上記各ブロックのうち機能が複雑な
ものについて信号処理方法を説明しておく。図22に回
路図を示す可変利得増幅器AGCは演算増幅器で構成さ
れ、増幅利得は複数の帰還回路(R1〜Rn)のうち1
つを選択することで実現され、帰還回路の選択はアナロ
グスイッチSWにバイナリコードを与えることで行な
う。
Here, a signal processing method for a block having a complicated function among the above blocks will be described. The variable gain amplifier AGC whose circuit diagram is shown in FIG. 22 is composed of an operational amplifier, and the amplification gain is one of a plurality of feedback circuits (R1 to Rn).
The feedback circuit is selected 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:
Subtractor A when white noise is input to the 2-wire 4-wire conversion unit
It is a preset echo canceller that adjusts tap coefficients so that the output of Da or ADb is minimized, and after adjusting the tap coefficients, retains the value. The identification algorithm uses, for example, a learning identification method. Note that ECa and EC
During the training of b, the white noise is applied at the same level as the audio signal so that the training is performed reliably.
There is no problem in the case of ECb, which is performed during the initial setting operation. However, in the case of ECa, training is performed after a PBX communication path is formed, so that the speaker hears as a large unpleasant noise. In order to reduce discomfort, the called party performs training immediately after the detection of the capture of the line or the calling party performs training immediately after the stop of the capture response signal, so that there is a masking effect due to a speech switching sound or the like. In the white noise generators WHNa and WHNb, for example, a random signal generated in advance by a computer is stored in a ROM, and is generated by reading it out. The modulator MOD is realized by, for example, phase modulation that outputs a positive-phase sine wave during a break period of a dial pulse and outputs a negative-phase sine wave during a make period. In the case of phase modulation, signal power always exists and can be detected by a single frequency detecting means, which is convenient. Variable frequency oscillator O
For 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 the 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 coefficients cos (2πfi / fs) and si corresponding to the oscillation frequency
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 constituted by an IIR filter, and the denominator coefficient and the numerator coefficient corresponding to a plurality of
The coefficients are stored in M, and these coefficients are selected and operated as needed in the communication procedure. In removing the two-frequency signal, the coefficient is selected twice during the processing of one sample, and a 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については後に詳述する。
The signal detection in the signal receiver DET is shown in FIG.
As shown in FIG. 6, first, the power Pa in all the bands of 0.3 to 3.4 kHz is measured, and then a signal band is selected by a band-pass filter that passes a sine wave having a desired frequency, and the selected signal band is selected. The 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 (when there is actually noise or an error and the value rp is smaller than 1 or more). When the ratio Ps / Pa is small, the received signal contains many components other than the desired signal, and there is a high possibility of erroneous detection. In the DET, the power measurement is realized by calculating an average within a time window, the bandpass filter is constituted by an IIR filter, and denominator coefficients and numerator coefficients corresponding to a plurality of pass characteristics are stored in a ROM. These coefficients are selected and calculated in accordance with the detection frequency. In the case of two frequencies, the calculation is performed twice as in the case of the band rejection filter. The demodulator DEM includes a band-pass filter and a detector that determines a phase change of a captured signal, and demodulates a dial pulse. The equalizer EQ and the noise reducer NR will be described later in detail.

【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 (a).
This will be described with reference to FIG. When installing the in-band ringer, a construction contractor connects a transmission line to a PBX or the like and a two-wire dedicated line, sets a master station or a slave station, 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 master station device
As shown in (a), the standby signal S11 having two frequencies is transmitted 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. (Hereinafter, unless otherwise specified, when the master station device or the slave station outputs a control signal from the OSC or MOD, SWa falls to the BEFa side, and BEFa is programmed to block the same frequency component as the output signal. SWc is also tilted to the BEFb side when receiving the control signal.) After a lapse of a predetermined time (for example, one second), the master station device outputs a reset signal S12 of one frequency to instruct the slave station device to start an initial setting operation, and to provide an attenuation characteristic measurement which also serves as a response from the slave station device. Wait for the test signal S23 to be sent. Test signal S2
Upon receiving 3, the process proceeds to the initial setting operation. In the standby state, the master station device issues a reset signal S2 from the slave station device.
When the power-on signal is received, the reset signal S12 is output, and the initial setting operation is started in the same sequence as when the power is turned on.

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

【0026】図2(a)は主局装置の電源が先に投入さ
れ、主局装置が設定動作を開始するまでのシーケンスを
示し、図2(b)は従局装置の電源が先に投入され主局
装置で設定動作が開始されるまでのシーケンスを示す。
図2(a)および図2(b)から明らかなように、本発
明の手順によれば主局従局の電源投入順序によらず制御
手順の同期がとられることになるから、常に主局側の初
期設定が開始され、従局はそれに必要な信号を出力す
る。すなわち同期をとることで両者の装置の一方がテス
ト信号を出力し、それをもとに他方が専用線の特性を知
り補正することで人手を介さない初期設定が可能とな
る。
FIG. 2A shows a sequence from when the power of the master station is turned on first to when the master station starts the setting operation. FIG. 2B shows the sequence when the power of the slave station is turned on first. 4 shows a sequence until a setting operation is started in the master station device.
As is clear from FIGS. 2A and 2B, according to the procedure of the present invention, the control procedure is synchronized regardless of the power-on sequence of the master and slave stations. Is started, and the slave station outputs a signal required for the initialization. That is, by synchronizing, one of the two devices outputs a test signal, and the other device learns and corrects the characteristics of the dedicated line based on the test signal, thereby enabling initialization 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 when the initialization is forcibly started by a reset switch or the like during the operation of the in-band ringer, both are temporarily set to the standby state. This is for the purpose of shifting and reliably detecting the reset signal. In other words, the standby signal consisting of two frequencies can be easily distinguished from the audio signal, and the possibility of erroneous detection due to noise is extremely small. Can return to the state. In the standby state, no audio signal is output to the dedicated line, and a single-frequency signal such as a reset signal can be reliably detected. Although the reset signal can be composed of two frequencies, it is disadvantageous to use both the standby signal and the reset signal as a two-frequency signal because of the following situation, and only the standby signal is composed of the two frequencies.
That is, 2 kHz or less of the 3.4 kHz band is not allocated to a signal that forcibly changes the operation because there is an MF signal for dial transmission. Need frequency, 3k
When the frequency is around Hz, there is a situation that the attenuation due to the dedicated line is large and it is inappropriate to use it as a control signal. Therefore, it is detected that both the reset signal and the standby signal are pushed into a narrow band as a signal having a two-frequency configuration. Disadvantageous above.

【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 the EQ when receiving the test signal S23. The test signal S23 is a signal composed of two frequencies, that is, a frequency fc (eg, 1.5 kHz) near the center of the transmission band and a frequency fe (eg, 3 kHz) near the end of the transmission band. Is done. The signal of the frequency fc is a signal for both measuring the amount of attenuation of the dedicated line and notifying the start of the initial setting operation of the slave station, and the signal of the frequency fe is a signal for measuring the amount of attenuation in a high frequency band. fe may be multi-frequency in order to increase measurement accuracy. The master station device detects the test signal S23, that is, the frequency fc, with the signal receiver DET, refers to the amplifier gain value table stored in the ROM based on the fc power at that time, and sets the corresponding gain value to the variable gain amplifier AGC. Set.

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

【0030】バランス回路網の選択後、主局装置はエコ
ーキャンセラECbのタップ係数のトレーニングを前述
のごとく行ない、トレーニング終了後、終了信号S15
を送出する。S15送出中に従局装置からテスト要求信
号S25を受信したならテスト信号S13の出力を開始
する。テスト信号S13は前記S23と同じ周波数構成
の信号である。S13を送出する期間は、従局装置がA
GCおよびEQの設定を行う時間であり予め定められ
る。その期間を過ぎても終了信号S24を検出できない
場合は、専用線の断線あるいは従局装置故障が考えられ
るので、アラーム表示を行う。S24を受信したなら信
号送出を停止し、従局装置が自ら白色雑音を出力し行う
トレーニングを妨害しないようにする。無音送出につい
ても一定時間経過後に終了信号が受信されないなら断線
あるいは故障と判断し、アラーム表示を行う。
After selecting the balance network, the master station device performs the training of the tap coefficients of the echo canceller ECb as described above, and after the training is completed, the termination signal S15.
Is sent. If the test request signal S25 is received from the slave station during the transmission of S15, the output of the test signal S13 is started. The test signal S13 is a signal having the same frequency configuration as S23. During the period of sending S13, the slave station
This is the time for setting the GC and EQ, which is predetermined. If the end signal S24 cannot be detected even after that period, an alarm is displayed because the disconnection of the dedicated line or the failure of the slave station may be considered. If S24 is received, the signal transmission is stopped, and the slave station outputs its own white noise so as not to disturb the training. If no end signal is received after a certain period of time for silent transmission, it is determined that a disconnection or failure has occurred 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 after all the initial setting operations have been completed. The standby signal is output by the slave station device after the white noise, but the white noise also includes a standby signal component. Therefore, if no countermeasures are taken, the master station will erroneously detect the standby signal. In order to prevent erroneous detection, the DET refers to the ratio between the total band power and the desired signal power as described above, and determines that a true end signal has been received when the two are almost equal. This eliminates the need for the transmitting side to remove the end signal component from the white noise in advance and transmit the signal. If it is necessary to remove a component from white noise and perform BN selection or tap coefficient setting of an echo canceller, no information can be obtained for the removed band, so that 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 is started from the transmission of the test signal S23 as shown in FIG. S2
If the end signal S14 has not been sent from the master station device even after a certain period of time has elapsed during the transmission of No.3, an alarm is displayed because the dedicated line may be disconnected or the master station device may be broken. If S14 is received, the signal transmission is stopped, timer monitoring is performed, and if a certain time has elapsed, it is regarded as a disconnection or failure, and an alarm is displayed. If the end signal S15 is detected by the DET within a certain time, the test request signal S
25, and waits for reception of a signal (fc) near the center of the transmission band included in the test signal S13. If S13 is detected, AGC gain setting is performed, an equalizer characteristic is selected, and an end signal S24 is output. After the transmission of S24, when the test signal S13 is no longer detected, white noise is applied to the two-wire / four-wire conversion unit, and training of the balance network BN and the echo canceller ECb is performed. After these operations are completed, a standby signal S21 also serving as an end signal is output, and a transition is made to a standby state.

【0033】前記説明のアラーム表示において、主局装
置あるいは従局装置はアラームランプを点灯するととも
に、相手装置に待機信号を送出するアラーム状態にとど
まり、人手によりアラームの原因が除去された後に行わ
れるリセットにより再度初期設定動作に入る。図3は前
記説明の初期設定動作を主局装置と従局装置を対向させ
てシーケンス図として表わしたものである。
In the above-described alarm display, the master station or the slave station turns on the alarm lamp, stays in the alarm state in which a standby signal is transmitted to the partner apparatus, and resets after the cause of the alarm is manually removed. Starts the initial setting operation again. FIG. 3 is a sequence diagram showing the initial setting operation described above with the master station apparatus and the slave station apparatuses 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 an 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, and when the leased line is a medium distance, the attenuation in the high band is larger than that in the low band 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 band and the high band becomes extremely large. If this state is left as it is and the correction by the equalizer is not performed, the intelligibility of the voice deteriorates, and the call is hindered. In FIG. 12, fc is the frequency near the center of the transmission band described above, and fe is the frequency at the end of the transmission band. In the figure, the amplitude frequency characteristic is represented by being normalized by the amplitude value at fc.
Also, r1, r2, and r3 are threshold values for determining the equalizer characteristics, and are expressed using the attenuation (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 an 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.
And the ratio r = Le / Lc between the two is determined, and the determined ratio r
Then, the magnitudes of r1, r2, and r3 are compared, and the corresponding correction characteristic, that is, the inverse characteristic of the amplitude frequency characteristic shown in FIG. 12 is selected. In the equalizer setting method of the present invention, for example, r
For a dedicated line whose is measured as a value in a range of r1 or more and smaller 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 show that the number of characteristics is 4 for convenience of explanation.
Although there are books, at least about 8 books are actually required. The measurement of the amplitude level is performed in DET,
The output of the band pass 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 constituting the FIR filter, and is held until the initialization operation is performed again. The method of the present invention can be completed in a very short time (band-pass filter) as compared with a method of manually inputting a measurement signal from the other party, manually measuring the signal level on the measurement side, and selecting the optimum correction filter. If the output time is averaged and the measurement time is set to 100 ms, two frequencies can be measured at the same time, and the selection operation ends 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. FIG. 14 is a circuit diagram integrally showing the two-wire / four-wire conversion unit H of FIG. 1 and the balance network BN. In the figure, Z11 and Z21 in the frame indicated by BN
Constitutes a set of voltage dividing circuits, and 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. 2
The line-to-line converter is a bridge circuit, and a transmission signal is applied between points c and d and output to ZL, and Z0 and ZL
If the potential at the connection point a is equal to the potential at the voltage dividing circuit connection point b in the BN, no voltage is generated between the two points, and the transmission signal does not wrap around to 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を比較する。
The balance network Z11.Z21, Z12.
Z22, Z13 and Z23, and Z14 and Z24 are designed so that the divided potentials become equal as much as possible in consideration of some cases (four cases in FIG. 14) of ZL that vary depending on the line type and the transmission distance. Designed using Next, a method of selecting an optimal one from among these balance networks will be described with reference to FIG. First, a signal (white noise) having a flat spectrum in a band is applied between points c and d in FIG. Next, the temporary 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組以上の中から最適なもの
を選び出すといった方法に較べ、明らかに効率が良く設
定時間は極めて短縮される。
When n = 1, Pa is always smaller, so that Pmin = Pa and Nmin = 1. Next, n = 2, S12 and S22 are closed (S11 and S21 are open),
The received signal power Pa is measured, Pmin and Pa are compared, and if Pa is smaller, Pmin = Pa and Nmin = 2 are updated, and if Pa is larger, Pmin and Nmin are not updated and the next balance is updated. In order to select a network, n is incremented so that n = 3. Thereafter, Pmin and Nmin are updated by selecting a balance network in the same manner and performing Pa measurement, and the number stored in Nmin is set as the number of the optimal balance network when all the balance networks have been measured. , Fix the state of the selection switch. Thereafter, this state is maintained until the initial setting operation is restarted.
For the sake of explanation, the number of balance networks is four, but in reality, the number of dedicated lines is large, so that at least about eight sets are necessary to reduce the amount of wraparound. BN of the present invention
Is significantly more efficient and the setting time is significantly reduced as compared with a method of manually measuring the amount of wraparound for a number of frequency points and selecting an optimum one from among eight or more sets.

【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 apparatus, but the operation of the slave station apparatus is exactly the same, except for the signal symbols (for example, S11 and S21, S19 and S29, etc.).

【0040】待機状態では図8に示すように待機信号S
11を送出し、従局からのリセット信号S22を受信し
たなら初期設定動作へ移行し、自局の発呼を検出したな
ら待機信号S11の送出を停止して発呼状態へ移行し、
従局から捕捉信号S29を受信したなら待機信号S11
の送出を停止して被呼状態へ移行し、従局から待機信号
S21を受信したなら待機状態に留まり、前記いずれの
信号も一定時間以上受信できない場合は専用線の断線で
あるからオペレータに断線を知らせるためアラーム表示
を行う。
In the standby state, as shown in FIG.
11 when the reset signal S22 from the slave station is received, the process proceeds to the initial setting operation, and when the call of the own station is detected, the transmission of the standby signal S11 is stopped and the process proceeds to the calling state,
When the capture signal S29 is received from the slave station, the standby signal S11
Is stopped, the state shifts to the called state, and if the standby signal S21 is received from the slave station, the state remains in the standby state. If none of the above signals can be received for a certain period of time or more, the dedicated line 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.
No. 19 is transmitted to notify the partner device of the line capture. After the transmission of the capture signal S19, it waits for the capture response signal S28 to be transmitted from the partner device. If the captured response signal cannot be detected within a predetermined time, an alarm is displayed because the dedicated line is broken. When the capture response signal S28 is received, pulse dial modulation is performed. Pulse dial modulation is performed for the capture signal S1.
This is performed using a frequency of 9 as a carrier. In the case of the PB dial signal, the capture signal S19 is not modulated because no pulse is transmitted from the PBX. It waits for the capture response signal S28 to stop at the same time as the pulse dial modulation (including the case where no modulation is performed). In the embodiment of the present invention, all the control signals are not output in the call state, and the entire band is provided for the call. That is, the called device receives the acquisition signal, and performs the PB while calling the PBX in parallel with the acquisition 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, silence is output, all bands are released to the voice signal, and a transition is made to the talking state. However, since there is a response method based on wink start described later, a timer is provided. Then, after confirming that the stop state of the capture response signal has continued for a certain period or more, the state shifts to the call state. The training of the echo canceller ECa is performed immediately after detecting the stop of the capture response signal. As described above, ECa identifies the transfer function of the sneak path including the PBX communication path.
It is necessary to perform training immediately after the calling PBX forms a communication path, that is, immediately after the calling inband ringer notifies the PBX of the called response. However, since there is a response method based on wink start described later, a timer is provided and the tap coefficient is fixed only when the stop of the capture response signal is detected for the duration of the wink pulse, and the state shifts to a call state.

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

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

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

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

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

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

【0049】次に雑音低減器NRについて説明する。発
呼状態において、話者が回線捕捉してから相手が応答す
るまでの間は捕捉信号及び捕捉応答信号が伝送帯域の一
部を使って相互に伝送される。そしてこれら制御信号は
受信側の帯域阻止フィルタBEFbによって除去され、
残りが通話信号として話者に聞こえる。特に発呼側の話
者はこれら制御信号の伝送中にも受話器を耳にあててい
るので、BEFbで除去できない制御信号に起因する雑
音が聞こえると不快な思いをする。さらに詳しく説明す
るなら、制御信号は通話レベルと同等なレベルで伝送さ
れるから、PCMコーデックのような非線形AD変換器
を通すと大きな振幅部分で量子化間隔が粗くなり量子化
雑音が増える。すなわち制御信号をAD変換すると原信
号のもつスペクトラムの他に広帯域スペクトラムをもつ
量子化雑音(白色雑音)が加わることになる。原信号ス
ペクトラムはBEFbによって除かれるが広帯域雑音は
除去されない。この広帯域雑音は音声信号に較べればレ
ベルが小さいので制御信号と同時に音声信号が伝送され
ているときはマスキングされ問題とならない。しかし発
呼状態の場合は音声信号の存在が稀であるから、発呼側
話者は雑音を知覚する。
Next, the noise reducer NR will be described. In the calling state, the captured signal and the captured response signal are mutually transmitted using a part of the transmission band from the time when the speaker captures the line to the time when the other party answers. Then, these control signals are removed by a band rejection filter BEFb on the receiving side,
The rest is heard by the speaker as a call signal. In particular, since the caller talks to the receiver during transmission of these control signals, he / she feels uncomfortable when he hears noise caused by control signals that cannot be removed by BEFb. More specifically, since the control signal is transmitted at a level equivalent to the communication level, when the signal passes through a non-linear AD converter such as a PCM codec, the quantization interval becomes coarse in a large amplitude portion and quantization noise increases. That is, when the control signal is AD-converted, quantization noise (white noise) having a broadband 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 smaller than that of the voice signal, it is masked when the voice signal is being transmitted simultaneously with the control signal, so that there is no problem. However, in the case of a calling state, the presence of a voice signal is rare, so that 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, a noise reducer NR is used to reduce the noise generated by the AD conversion to a level that is not perceptible.
Is inserted after BEFb. The operation of the noise reducer NR will be described with reference to FIGS. When a large power signal such as a voice signal is superimposed on the quantization noise,
No processing is required because the noise is not bothered by the masking. On the other hand, when the quantization noise occupies most of the power, it is perceived and attenuated. This is expressed in FIG. 18, where the amplification gain is G1 when the signal power is P1 or less.
(Attenuation), G0 (gain 1) when the signal power is P2 or more, and the gain is determined in proportion to the signal power when the signal power is P1 or more and P2 or less. FIG. 19 is a flowchart for explaining the operation. First, the signal power P is measured. The power is measured, for example, by calculating a moving average with a 5 ms window.
Next, the measured power P is compared with the threshold values P1 and P2,
Determine the gain according to the power range. Since it is not necessary to operate the noise reducer in the call state, for example, the measured power P is forcibly set to a value equal to or higher than P2 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 is equivalent to the nonlinear quantization. A high-resolution analog-to-digital converter is required.

【0051】[0051]

【発明の効果】 以上の説明から明らかなように、本発
明によれば、リセット信号に先立ち待機信号を一定時間
出力することで、相手局がいかなる状態(初期設定動
作、待機状態、発呼状態、被呼状態、通話状態)であっ
ても確実にリセットを通知できるようにしたので、両局
間で初期設定動作を開始できるようになる。したがっ
て、設置時、あるいは断線回復時はいずれかの局が先に
電源投入されてもまたは強制リセットされても初期設定
動作を行うことができるので、特に複雑な操作手順もな
く扱いが容易となる。
As is clear from the above description, according to the present invention, by outputting the standby signal for a certain period of time before the reset signal, the destination station can be set in any state (initial setting operation, standby state, calling state). , Call state, call state), the reset can be reliably notified, so that the initial setting operation can be started between both stations. Therefore, at the time of installation, or at the time of recovery from disconnection, the initial setting operation can be performed even if any of the stations is first turned on or forcibly reset, so that it is easy to handle without particularly complicated operation procedures. .

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

【図1】 本発明の実施例の構成を示す機能ブロック図
である。
FIG. 1 is a functional block diagram showing a configuration of an 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 mode 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 call 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 master station device.

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

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

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

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

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

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

【図18】 雑音低減器の特性説明図である。FIG. 18 is a diagram illustrating characteristics of a 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-wire dedicated lines are cascaded 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 illustrating an example of an 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 4-wire conversion circuit, 14 ... balanced network, 15
... AGC circuit, 18 ... Photo coupler, 19 ... Relay

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04Q 3/42 104 H04Q 1/444 H04B 1/76 H04B 3/00Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04Q 3/42 104 H04Q 1/444 H04B 1/76 H04B 3/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2線式回線を用いて発呼被呼制御を行う伝
送制御装置において、 主局装置あるいは従局装置のいずれかとして動作するよ
うに設定する設定手段と、 電源投入検出あるいは外部からの強制リセットにより、
−定時間待機信号を出力した後、続けてリセット信号を
出力する手段と、 主局装置として設定された場合には、従局装置からの待
機信号に続くリセット信号を受信して、リセット信号を
送出する手段と、 従局装置として設定された場合には、主局装置からの待
機信号に続くリセット信号を受信して、初期設定動作を
開始するためのテスト信号を送出する手段とを備えたこ
とを特徴とする伝送制御装置。
1. A transmission control apparatus for controlling a calling and a called operation using a two-wire circuit, a setting means for setting the apparatus to operate as either a master station or a slave station, Force reset of
-A means for outputting a reset signal continuously after outputting a standby signal for a fixed period of time; and, when set as a master station, receiving a reset signal following a standby signal from a slave station and sending a reset signal. Means for receiving a reset signal following a standby signal from the master station apparatus when set as a slave station apparatus, and sending a test signal for starting an initial setting operation. Characteristic transmission control device.
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 JPH06315176A (en) 1994-11-08
JP2850703B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4844658B2 (en) * 2009-08-07 2011-12-28 株式会社デンソー Diagnostic device and diagnostic 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

Also Published As

Publication number Publication date
JPH06315176A (en) 1994-11-08

Similar Documents

Publication Publication Date Title
CA2258618C (en) Echo suppressor and non-linear processor of echo canceller
AU741749B2 (en) Multi-user wireless telephone having dual echo cancellers
US8090094B2 (en) Echo canceller
US5029204A (en) Operational status controller for echo canceling
US6516062B1 (en) Echo canceling method and apparatus in a communication device
JPH09130315A (en) Method and device to cancel echo of data of cellular method
US5379450A (en) Radio loudspeaker telephone device capable of automatically preventing howling on execution of calling operation
JP2850703B2 (en) Transmission control device
JPH11196178A (en) Automatic level adjusting device
JP2850702B2 (en) Transmission control device
JPH06315174A (en) Transmission controller
JP3319552B2 (en) Telephone equipment
JPH071882Y2 (en) Data communication / voice communication switching device
JPH11177657A (en) Method for echo cancellor to detect cas signal and telephone system device
JPH05207164A (en) In-band signal equipment
JPS6317388B2 (en)
JP2001309406A (en) In-voice band signal unit and communication method in the in-voice band signal unit
JP3459566B2 (en) Telephone equipment
JP2932042B2 (en) Switching device for charging terminal equipment
JPH10224273A (en) Deterioration decision and signal detecting circuit
JPH04165825A (en) Echo canceler device
JP2002077386A (en) In-voice-band signal device
JP2001057588A (en) In-band ringer
Eriksson et al. Mobile crosstalk control—Enhancing speech quality in digital cellular networks
JPH1188237A (en) Echo canceller

Legal Events

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

Free format text: PAYMENT UNTIL: 20071113

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20081113

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091113

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091113

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101113

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20111113

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20111113

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20121113

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees