JPH0870289A - Data transmission system, stuff multiplex transmitter and receiver used therefor - Google Patents

Data transmission system, stuff multiplex transmitter and receiver used therefor

Info

Publication number
JPH0870289A
JPH0870289A JP7020716A JP2071695A JPH0870289A JP H0870289 A JPH0870289 A JP H0870289A JP 7020716 A JP7020716 A JP 7020716A JP 2071695 A JP2071695 A JP 2071695A JP H0870289 A JPH0870289 A JP H0870289A
Authority
JP
Japan
Prior art keywords
data
clock signal
stuff
read
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7020716A
Other languages
Japanese (ja)
Inventor
Hiroaki Asano
弘明 浅野
Shinako Nishioka
信成子 西岡
Osamu Tanaka
治 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7020716A priority Critical patent/JPH0870289A/en
Publication of JPH0870289A publication Critical patent/JPH0870289A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To attain stable operation even on the occurrence of a fault in a transmission line with low power consumption with a small size and to minimize the effect of jitter in the cascade connection. CONSTITUTION: Input data from a terminal equipment 8 to a communication node are written in a buffer memory in a stuff multiplex transmission section 10, in which a prescribed additional bit is inserted and the resulting data are sent to a transmission line 6. The data are received by an opposite station node, in which the additional bit is eliminated and the resulting data are written in a buffer memory in a stuff multiplex reception section 20, in which data before stuff multiplex are reproduced. In the position reset operation of a write/ read clock signal in the stuff multiplex transmission section 10, a position reset service code as the additional bit is inserted in transmission data and the result is sent to an opposite station. A stuff multiplex reception section 20 of the opposite station executes the position reset operation similarly to that.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、データ伝送システム
に関し、より特定的には、ディジタル通信方式で採用さ
れるスタッフ同期多重技術を利用したデータ伝送システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system, and more particularly to a data transmission system using a staff synchronous multiplex technique adopted in a digital communication system.

【0002】[0002]

【従来の技術】周知のごとく、スタッフ同期方式は、時
分割多重通信方式を利用したディジタル通信の分野で利
用される同期方式の一種である。このスタッフ同期方式
では、同期化の信号の基本繰り返し周波数を元の信号
(非同期信号)のそれよりやや高く選んでおき、必要に
応じて同期化信号に情報伝送を行わないスタッフパルス
と称する無効ビットを設けて、1ビットの間、非同期信
号の読み出しを停止し、位相偏差の修正を行う。スタッ
フパルスの位置情報は別途受信側に伝達され、その情報
に基づき、受信側でデスタッフされ、かつ位相変化が修
正されて、元の非同期信号が再生される。
2. Description of the Related Art As is well known, the stuff synchronization method is a kind of synchronization method used in the field of digital communication using a time division multiplex communication method. In this stuff synchronization method, the basic repetition frequency of the synchronization signal is selected to be slightly higher than that of the original signal (asynchronous signal), and an invalid bit called a stuff pulse that does not transmit information to the synchronization signal as necessary. Is provided, the reading of the asynchronous signal is stopped for one bit, and the phase deviation is corrected. The position information of the stuff pulse is separately transmitted to the receiving side, and based on the information, the receiving side destuffs it and corrects the phase change to reproduce the original asynchronous signal.

【0003】従来、上記のようなスタッフ同期方式を実
現する装置として、例えば「ディジタル通信回路」(産
業図書株式会社平成2年2月発行122〜124ペー
ジ)に記載されたような装置が知られている。以下、図
17および図18を参照して、上記文献に示された従来
のスタッフ同期技術について説明する。
Conventionally, as a device for realizing the stuff synchronization system as described above, a device described in, for example, "Digital Communication Circuit" (Sangyo Tosho Co., Ltd., February 1990, pages 122 to 124) is known. ing. Hereinafter, the conventional stuff synchronization technique disclosed in the above document will be described with reference to FIGS. 17 and 18.

【0004】図17は、上記文献に記載された従来のス
タッフ多重送信装置を示している。図17において、こ
のスタッフ多重送信装置は、バッファメモリ101と、
位相比較器102と、スタッフ&フレーム制御回路10
3と、付加ビット発生回路104と、多重化回路105
と、出力クロック発振器106と、ANDゲート107
と、禁止ゲート108とを備えている。
FIG. 17 shows a conventional stuff multiplex transmission apparatus described in the above document. In FIG. 17, this stuff multiplex transmission device includes a buffer memory 101,
Phase comparator 102 and stuff & frame control circuit 10
3, additional bit generation circuit 104, and multiplexing circuit 105
Output clock oscillator 106 and AND gate 107
And a prohibition gate 108.

【0005】次に、図17に示すスタッフ多重送信装置
の動作を説明する。まず、バッファメモリ101には、
図示しない端末(パーソナルコンピュータ等)から入力
データおよび入力クロック信号が与えられる。なお、入
力クロック信号は、書き込みクロック信号としてバッフ
ァメモリ101に与えられる。従って、上記端末からの
入力データは、当該入力クロック信号のタイミングに同
期してバッファメモリ101に蓄積される。出力クロッ
ク発振器106は、伝送路Lの伝送クロックと同期し、
かつ上記入力ロック信号よりも高い周波数を有する出力
クロック信号を発生する。この出力クロック信号は、禁
止ゲート108を介し、読み出しクロック信号としてバ
ッファメモリ101に与えられる。従って、バッファメ
モリ101からは、当該出力クロック信号に同期し、か
つ蓄積時よりも速い速度でデータが読み出される。
Next, the operation of the stuff multiplex transmission device shown in FIG. 17 will be described. First, in the buffer memory 101,
Input data and an input clock signal are given from a terminal (a personal computer or the like) not shown. The input clock signal is given to the buffer memory 101 as a write clock signal. Therefore, the input data from the terminal is stored in the buffer memory 101 in synchronization with the timing of the input clock signal. The output clock oscillator 106 synchronizes with the transmission clock of the transmission line L,
It also produces an output clock signal having a higher frequency than the input lock signal. This output clock signal is supplied to the buffer memory 101 as a read clock signal via the prohibition gate 108. Therefore, data is read from the buffer memory 101 in synchronization with the output clock signal and at a speed faster than that at the time of storage.

【0006】位相比較器102は、バッファメモリ10
1の書き込みクロック信号と読み出しクロック信号との
位相差を常時監視し、その差が一定値未満になった場合
(すなわち、読み出しクロック信号が書き込みクロック
信号を追い越す直前)にスタッフビットをフレームに挿
入する要求をスタッフ&フレーム制御回路103に出力
する。応じて、スタッフ&フレーム制御回路103は、
読み出し禁止パルスを発生し、禁止ゲート108に出力
する。禁止ゲート108は、この読み出し禁止パルスに
応答して閉成され、出力クロック発振器106からバッ
ファメモリ101への出力クロック信号の付与を禁止す
る。これにより、バッファメモリ101に与えられる出
力クロック信号は歯抜け状態となる。この歯抜け部分で
は、バッファメモリ101から意味のないデータ、すな
わちスタッフビットが読み出される。
The phase comparator 102 includes a buffer memory 10
The phase difference between the write clock signal of 1 and the read clock signal is constantly monitored, and when the difference becomes less than a certain value (that is, immediately before the read clock signal overtakes the write clock signal), the stuff bit is inserted into the frame. The request is output to the stuff & frame control circuit 103. Accordingly, the stuff & frame control circuit 103
A read inhibit pulse is generated and output to the inhibit gate 108. The inhibition gate 108 is closed in response to the read inhibition pulse, and inhibits the output clock signal from the output clock oscillator 106 to the buffer memory 101. As a result, the output clock signal provided to the buffer memory 101 is in a missing state. In this missing portion, meaningless data, that is, the stuff bit is read from the buffer memory 101.

【0007】また、相手局へ警報等の情報を伝達するた
めの付加ビットを送出する場合、付加ビット発生回路1
04は、スタッフ&フレーム制御回路103から通知さ
れたフレーム内の所定の位置で付加ビットを発生する。
この付加ビットは、ANDゲート107において、バッ
ファメモリ101から読み出されたデータに挿入され
る。多重化回路105は、ANDゲート107の出力デ
ータを、図示しない他のスタッフ多重送信装置からの出
力データと時分割多重し、伝送路L上に送出する。
When an additional bit for transmitting information such as an alarm to the partner station is transmitted, the additional bit generating circuit 1
04 generates an additional bit at a predetermined position in the frame notified from the stuff & frame control circuit 103.
This additional bit is inserted into the data read from the buffer memory 101 in the AND gate 107. The multiplexing circuit 105 time-division-multiplexes the output data of the AND gate 107 with the output data from another stuff multiplex transmission device (not shown), and sends out the data onto the transmission line L.

【0008】なお、伝送路L上を多重伝送される各信号
は、周期的に連続するフレームから構成され、各フレー
ムはデータを乗せる情報部と、フレームの識別を行うた
めのフレーム同期フラグや伝送路監視情報等を含むサー
ビス符号部とから構成される。サービス符号部には、端
末からの入力データを伝送路L上へ多重伝送する際に同
期をとるために利用されるスタッフビットも含まれる。
Each signal multiplexed and transmitted on the transmission line L is composed of periodically continuous frames, and each frame has an information section for carrying data, a frame synchronization flag for identifying the frame, and transmission. It is composed of a service encoding unit including road monitoring information and the like. The service code portion also includes stuff bits used for synchronization when the input data from the terminal is multiplexed on the transmission line L.

【0009】図18は、前述の文献に記載された従来の
スタッフ多重受信装置を示している。図18において、
このスタッフ多重受信装置は、分離回路201と、フレ
ーム同期回路202と、付加ビット除去制御回路203
と、バッファメモリ204と、PLL(フェイズ・ロッ
クド・ループ)回路205と、禁止ゲート206とを備
えている。なお、PLL回路205は、位相比較器20
5aと、低域通過フィルタ205bと、VCO(電圧制
御発振器)205cとを含む。
FIG. 18 shows a conventional stuff multiplex receiver described in the above-mentioned document. In FIG.
This stuff multiplex reception apparatus includes a separation circuit 201, a frame synchronization circuit 202, and an additional bit removal control circuit 203.
A buffer memory 204, a PLL (Phase Locked Loop) circuit 205, and an inhibit gate 206. The PLL circuit 205 is used for the phase comparator 20.
5a, a low pass filter 205b, and a VCO (voltage controlled oscillator) 205c.

【0010】次に、図18に示すスタッフ多重受信装置
の動作を説明する。伝送路L上を多重伝送されてきた複
数の信号は、分離回路201により各スタッフ多重受信
装置毎に受信データと受信クロック信号とに分離され
る。フレーム同期回路202は、受信データを監視す
る。また、フレーム同期回路202は、受信クロック信
号を計数することにより、フレーム同期を検出する。付
加ビット除去制御回路203は、フレーム同期回路20
2からフレーム同期の検出結果を得ると、予め規定され
たフレーム構造に従って、情報ビット以外の付加ビット
が受信クロック信号に出現するタイミングで付加ビット
除去パルスを発生し、禁止ゲート206に出力する。禁
止ゲート206は、付加ビット除去パルスに応答して閉
成され、受信クロック信号から付加ビットを除去する。
これによって、受信クロック信号は、付加ビットが除去
された部分が歯抜け状態となっている入力クロック信号
に変換される。当該入力クロック信号は、書き込みクロ
ック信号としてバッファメモリ204に与えられる。従
って、バッファメモリ204には、当該入力クロック信
号に同期するタイミングで受信データが蓄積される。
Next, the operation of the stuff multiplex receiver shown in FIG. 18 will be described. The demultiplexing circuit 201 demultiplexes a plurality of signals multiplexed and transmitted on the transmission line L into reception data and a reception clock signal for each stuff multiplex reception device. The frame synchronization circuit 202 monitors the received data. Further, the frame synchronization circuit 202 detects frame synchronization by counting the received clock signals. The additional bit removal control circuit 203 includes the frame synchronization circuit 20.
When the detection result of the frame synchronization is obtained from 2, the additional bit removing pulse is generated at the timing when the additional bits other than the information bits appear in the reception clock signal according to the predetermined frame structure, and the pulse is output to the prohibiting gate 206. The inhibit gate 206 is closed in response to the additional bit removal pulse to remove additional bits from the received clock signal.
As a result, the reception clock signal is converted into an input clock signal in which the portion from which the additional bits have been removed is in a toothless state. The input clock signal is given to the buffer memory 204 as a write clock signal. Therefore, the reception data is accumulated in the buffer memory 204 at the timing synchronized with the input clock signal.

【0011】一方、PLL回路205では、バッファメ
モリ204の書き込みクロック信号と読み出しクロック
信号との位相差を位相比較器205aで検出し、当該位
相比較器205aの出力を低域通過フィルタ205bで
平滑化し、当該低域通過フィルタ205bの出力電圧に
応じた周波数を有する出力クロック信号をVCO205
cで発生する。これによって、歯抜け部を有する書き込
みクロック信号が平滑化され、図17のスタッフ多重送
信装置100に入力される入力クロック信号(図示しな
い端末から入力されるクロック信号)と同一の周波数を
有する出力クロック信号として再生される。この出力ク
ロック信号は、読み出しクロック信号としてバッファメ
モリ204に与えられる。従って、バッファメモリ20
4からは、当該出力クロック信号に同期して出力データ
が読み出される。
On the other hand, in the PLL circuit 205, the phase difference between the write clock signal and the read clock signal of the buffer memory 204 is detected by the phase comparator 205a, and the output of the phase comparator 205a is smoothed by the low pass filter 205b. , An output clock signal having a frequency according to the output voltage of the low pass filter 205b is input to the VCO 205.
It occurs at c. As a result, the write clock signal having the missing part is smoothed, and the output clock having the same frequency as the input clock signal input to the stuff multiplex transmission device 100 of FIG. 17 (clock signal input from a terminal not shown). It is reproduced as a signal. This output clock signal is given to the buffer memory 204 as a read clock signal. Therefore, the buffer memory 20
From 4, the output data is read in synchronization with the output clock signal.

【0012】[0012]

【発明が解決しようとする課題】以上説明した従来のス
タッフ同期方式によれば、送信側のバッファメモリ10
1および受信側のバッファメモリ204に対するデータ
の書き込み、読み出しは、それぞれビット毎にシリアル
に行われるため、伝送路L上のデータ伝送速度が高速に
なればECL等の高速素子を多数用いなくてはならな
い。しかしながら、ECL等の高速素子は集積度が低い
ため、そのような素子を多数用いると、バッファメモリ
101,204の回路規模が大きくなるとともに、消費
電力が大となる問題点があった。
According to the conventional stuff synchronization method described above, the buffer memory 10 on the transmission side is provided.
Since writing and reading of data to and from the buffer memory 204 of 1 and the receiving side are performed serially for each bit, if the data transmission speed on the transmission line L becomes high, many high-speed elements such as ECL must be used. I won't. However, since high-speed elements such as ECL have a low degree of integration, using a large number of such elements causes a problem that the circuit scale of the buffer memories 101 and 204 becomes large and the power consumption becomes large.

【0013】また、図18に示す従来のスタッフ多重受
信装置では、バッファメモリ204に与える読み出しク
ロック信号は、書き込みクロック信号との位相差を基に
PLL回路205を利用して再生するわけであるが、例
えば伝送路Lに異常が発生してフレーム同期が外れたよ
うな場合には、フレーム構造を基にして生成される書き
込みクロック信号が異常となり、書き込みクロック信号
を平滑化して再生される読み出しクロック信号も異常と
なる。その結果、書き込みクロック信号と読み出しクロ
ック信号とが所定の位置関係からずれて、読み出しクロ
ック信号が書き込みクロック信号を追い越してしまい、
全てのビットがエラーとなるような、いわゆるバースト
エラーが発生するおそれがあった。
Further, in the conventional stuff multiplex receiver shown in FIG. 18, the read clock signal given to the buffer memory 204 is reproduced using the PLL circuit 205 based on the phase difference from the write clock signal. For example, when an abnormality occurs in the transmission line L and the frame synchronization is lost, the write clock signal generated based on the frame structure becomes abnormal, and the read clock that is reproduced by smoothing the write clock signal. The signal will also be abnormal. As a result, the write clock signal and the read clock signal deviate from the predetermined positional relationship, and the read clock signal overtakes the write clock signal,
There is a risk that a so-called burst error may occur in which all bits are in error.

【0014】また、スタッフ多重受信装置とスタッフ多
重送信装置とが縦列に接続されて構成されるネットワー
クの場合、従来では、スタッフ多重受信装置において再
生されたクロックを利用し、そのクロックにより次段の
伝送路へデータを伝送することになる。しかしながら、
再生されたクロックには、スタッフジッタが重畳してい
るため、縦列に接続された下流の装置ほど、そこでの再
生クロックにはスタッフジッタが累積して重畳すること
になり、信頼性に問題が生じる。
Further, in the case of a network in which the stuff multiplex receivers and the stuff multiplex transmitters are connected in cascade, conventionally, a clock regenerated in the stuff multiplex receiver is used, and the clock is used in the next stage. Data will be transmitted to the transmission line. However,
Since the stuff jitter is superimposed on the recovered clock, the stuff jitter accumulates and superimposes on the recovered clock in the downstream devices connected in cascade, which causes a problem in reliability. .

【0015】それゆえに、本発明の第1の目的は、小型
でかつ消費電力の少ないスタッフ多重送信装置および受
信装置を提供することである。この発明の第2の目的
は、伝送路に異常が発生した場合でも、伝送路が安定し
た時点で読み出しクロック信号と書き込みクロック信号
との関係が速やかに所定の関係に復帰することが可能な
データ伝送システムを提供することである。この発明の
第3の目的は、スタッフ多重送信装置とスタッフ多重受
信装置をリング状に接続したネットワークにおいて、ス
タッフジッタの累積を最小限にとどめることを可能とす
るデータ伝送システムを提供することである。
Therefore, a first object of the present invention is to provide a stuff multiplex transmission apparatus and a reception apparatus which are small in size and consume less power. A second object of the present invention is to provide data capable of promptly restoring the relationship between the read clock signal and the write clock signal to a predetermined relationship when the transmission path becomes stable even when an abnormality occurs in the transmission path. It is to provide a transmission system. A third object of the present invention is to provide a data transmission system capable of minimizing the accumulation of stuff jitter in a network in which a stuff multiplex transmitter and a stuff multiplex receiver are connected in a ring shape. .

【0016】[0016]

【課題を解決するための手段】請求項1に係る発明は、
入力クロック信号に同期してシリアル入力される入力デ
ータをスタッフ多重して、当該入力クロック信号と非同
期に動作する伝送路上にフレーム毎にシリアル出力する
スタッフ多重送信装置であって、入力クロック信号を1
/m分周して書き込みクロック信号を生成する1/m分
周手段、入力データをmビット幅のパラレルデータに変
換するシリアル/パラレル変換手段、伝送路上の伝送ク
ロック信号と同期し、かつ入力クロック信号よりも高い
周波数を有する出力クロック信号を発生する出力クロッ
ク信号発生手段、出力クロック信号を1/n分周して読
み出しクロック信号を生成する1/n分周手段、少なく
ともkビット(k>n,m)のデータを一時的に記憶保
持する記憶手段、書き込みクロック信号に同期して、シ
リアル/パラレル変換手段の出力データをmビット順次
に記憶手段に書き込む書き込み制御手段、読み出しクロ
ック信号に同期して、記憶手段からフレーム構造に対応
するビット幅(0〜nビット幅)のデータを読み出す読
み出し制御手段、書き込みクロック信号と読み出しクロ
ック信号との間の位相差を検出する位相差検出手段、記
憶手段から読み出されたデータに対し、予め定められた
フレーム位置で、または位相差検出手段により検出され
た位相差が所定値以下になったときに、付加ビットを挿
入し、nビット幅のパラレルデータを出力する付加ビッ
ト挿入手段、および付加ビット挿入手段から出力される
nビット幅のパラレルデータをシリアルデータに変換す
るパラレル/シリアル変換手段を備えている。
The invention according to claim 1 is
A stuff multiplexing transmitter that stuff-multiplexes input data serially input in synchronization with an input clock signal and serially outputs each frame on a transmission line that operates asynchronously with the input clock signal.
/ M frequency division means for generating a write clock signal by frequency division / m, serial / parallel conversion means for converting input data into parallel data having an m-bit width, and an input clock synchronized with the transmission clock signal on the transmission path. Output clock signal generating means for generating an output clock signal having a frequency higher than that of the signal, 1 / n frequency dividing means for generating a read clock signal by dividing the output clock signal by 1 / n, at least k bits (k> n) , M) for temporarily storing and holding the data, and in synchronization with the write clock signal, the write control means for writing the output data of the serial / parallel conversion means into the memory means in order of m bits in synchronization with the read clock signal. Read control means for reading data of a bit width (0 to n bit width) corresponding to the frame structure from the storage means, Phase difference detection means for detecting a phase difference between the clock signal and the read clock signal, data read from the storage means is detected at a predetermined frame position or by the phase difference detection means. When the phase difference becomes less than or equal to a predetermined value, an additional bit is inserted and parallel data having an n-bit width is output, and parallel data having an n-bit width output from the additional bit inserting means is converted into serial data. It is equipped with parallel / serial conversion means for converting to.

【0017】請求項2に係る発明は、請求項1の発明に
おいて、書き込みクロック信号と読み出しクロック信号
との間の位置関係を所定の位置関係にリセットするため
の位置リセット手段をさらに備えることを特徴とする。
The invention according to claim 2 is the invention according to claim 1, further comprising position reset means for resetting the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship. And

【0018】請求項3に係る発明は、請求項2の発明に
おいて、付加ビット挿入手段は、位置リセット手段が位
置リセット動作を実行したとき、記憶手段から読み出さ
れたデータに対し、予め定められたフレーム位置で位置
リセット用サービス符号を挿入することを特徴とする。
According to a third aspect of the invention, in the second aspect of the invention, the additional bit inserting means is predetermined for the data read from the storage means when the position resetting means executes the position resetting operation. The service code for position reset is inserted at the frame position.

【0019】請求項4に係る発明は、伝送路からスタッ
フ多重されたデータおよびクロック信号を受信し、これ
ら受信データおよび受信クロック信号をスタッフ多重前
の元のデータおよび元のクロック信号に変換するための
スタッフ多重受信装置であって、受信クロック信号を1
/n分周して書き込みクロック信号を生成する1/n分
周手段、受信データをnビット幅のパラレルデータに変
換するシリアル/パラレル変換手段、受信データにおけ
る付加ビットの挿入位置を判定する判定手段、判定手段
の判定結果に基づき、読み出しクロック信号を生成する
読み出しクロック生成手段、少なくともkビット(k>
n,m)のデータを一時的に記憶保持する記憶手段、判
定手段の判定結果に基づいて、シリアル/パラレル変換
手段の出力データから付加ビットを除去すると共に、当
該付加ビットの除去されたデータを書き込みクロック信
号に同期して記憶手段に書き込む書き込み制御手段、お
よび読み出しクロック信号に同期して、記憶手段からm
ビット幅のパラレルデータを順次的に読み出す読み出し
制御手段を備えている。
According to a fourth aspect of the present invention, the stuff-multiplexed data and clock signal are received from the transmission line, and the received data and the received clock signal are converted into original data and original clock signal before stuff-multiplexing. Stuff multiplex receiver of the
/ N frequency-dividing means for generating a write clock signal by frequency division, serial / parallel conversion means for converting received data into parallel data having an n-bit width, and determination means for determining the insertion position of the additional bit in the received data. Read clock generation means for generating a read clock signal based on the determination result of the determination means, at least k bits (k>
(n, m) data is temporarily stored and held, and the additional bit is removed from the output data of the serial / parallel conversion means based on the determination result of the determining means, and the data from which the additional bit is removed is removed. M from the storage means in synchronization with the write control means for writing to the storage means in synchronization with the write clock signal and the read clock signal.
A read control unit for sequentially reading parallel data having a bit width is provided.

【0020】請求項5に係る発明は、請求項4の発明に
おいて、判定手段が受信データに位置リセット用サービ
ス符号が挿入されていることを判定したとき、書き込み
クロック信号と読み出しクロック信号との間の位置関係
を所定の位置関係にリセットするための位置リセット手
段をさらに備えることを特徴とする。
According to a fifth aspect of the invention, in the invention of the fourth aspect, when the determining means determines that the position reset service code is inserted in the received data, the write clock signal and the read clock signal are between It is further characterized by further comprising a position resetting means for resetting the positional relationship of (1) to a predetermined positional relationship.

【0021】請求項6に係る発明は、請求項5の発明に
おいて、mビット幅のパラレルデータは、データ符号と
制御符号と無効符号とから成るブロック符号を構成し、
読み出し制御手段が読み出すパラレルデータを原データ
に復元するブロック符号デコード部、およびブロック符
号デコード部において、無効符号を連続的に受信した場
合に、書き込みクロック信号と読み出しクロック信号と
の間の位置関係を所定の位置関係にリセットするための
位置リセット手段をさらに備えることを特徴とする。
According to a sixth aspect of the present invention, in the fifth aspect of the invention, the parallel data having an m-bit width constitutes a block code composed of a data code, a control code and an invalid code,
In the block code decoding unit that restores the parallel data read by the read control unit to the original data, and the block code decoding unit, when invalid codes are continuously received, the positional relationship between the write clock signal and the read clock signal is shown. It is characterized by further comprising position reset means for resetting to a predetermined positional relationship.

【0022】請求項7に係る発明は、それぞれに端末が
接続された複数の通信ノードをリング型の伝送路によっ
て相互に通信可能に結合したデータ伝送システムであっ
て、各通信ノードは、端末からの入力クロック信号に同
期してシリアル入力される入力データをスタッフ多重し
て、当該入力クロック信号と非同期に動作する伝送路上
にフレーム毎にシリアル出力するスタッフ多重送信装置
と、伝送路からスタッフ多重されたデータおよびクロッ
ク信号を受信し、これら受信データおよび受信クロック
信号をスタッフ多重前の元のデータおよび元のクロック
信号に変換するためのスタッフ多重受信装置とを備え、
伝送路は、通常運用時に使用される通常系と、通常系と
伝送方向が反対に選ばれており、かつ伝送路の異常発生
時に通常系と協動して異常発生位置の手前でループバッ
クされた非常用伝送路を構成する予備系とを備え、スタ
ッフ多重受信装置は、受信クロック信号を1/n分周し
て書き込みクロック信号を生成する1/n分周手段と、
受信データをnビット幅のパラレルデータに変換するシ
リアル/パラレル変換手段と、受信データにおける付加
ビットの挿入位置を判定する判定手段と、判定手段の判
定結果に基づき、読み出しクロック信号を生成する読み
出しクロック生成手段と、少なくともkビット(k>
n,m)のデータを一時的に記憶保持する記憶手段と、
判定手段の判定結果に基づいて、シリアル/パラレル変
換手段の出力データから付加ビットを除去すると共に、
当該付加ビットの除去されたデータを書き込みクロック
信号に同期して記憶手段に書き込む書き込み制御手段
と、読み出しクロック信号に同期して、記憶手段からm
ビット幅のパラレルデータを順次的に読み出す読み出し
制御手段と、判定手段が受信データに位置リセット用サ
ービス符号が挿入されていることを判定したとき、書き
込みクロック信号と読み出しクロック信号との間の位置
関係を所定の位置関係にリセットするための位置リセッ
ト手段とを含み、予備系には、予め全ての伝送路符号に
位置リセット用サービス符号と同一論理の符号がセット
されており、それによって伝送路の異常発生時に通常系
と予備系とが協動して非常用伝送路を形成したとき、ル
ープバックされた下流の通信ノードにおけるスタッフ多
重受信装置は、予備系にセットされた符号を位置リセッ
ト用符号として受信することにより、内部の位置リセッ
ト手段が書き込みクロック信号と読み出しクロック信号
との間の位置関係を所定の位置関係にリセットすること
を特徴とする。
According to a seventh aspect of the present invention, there is provided a data transmission system in which a plurality of communication nodes each having a terminal connected thereto are communicably coupled to each other through a ring type transmission line, and each communication node is connected to Stuff-multiplexing device that stuff-multiplexes input data that is serially input in synchronism with the input clock signal and serially outputs each frame on a transmission line that operates asynchronously with the input clock signal, and stuff-multiplexing is performed from the transmission line. And a stuff multiplex receiver for converting the received data and the received clock signal into the original data and the original clock signal before the stuff multiplex,
The transmission path is selected so that the normal system used during normal operation and the transmission direction are opposite to those of the normal system, and when an error occurs in the transmission path, it cooperates with the normal system and loops back before the abnormal position. The stuff multiplex receiver comprises a 1 / n frequency dividing means for frequency-dividing the received clock signal by 1 / n to generate a write clock signal,
A serial / parallel conversion means for converting the received data into parallel data having an n-bit width, a determination means for determining the insertion position of the additional bit in the received data, and a read clock for generating a read clock signal based on the determination result of the determination means. Generating means and at least k bits (k>
(n, m) storage means for temporarily storing and holding data,
Based on the determination result of the determination means, the additional bit is removed from the output data of the serial / parallel conversion means, and
Write control means for writing the data from which the additional bits are removed to the storage means in synchronization with the write clock signal, and m from the storage means in synchronization with the read clock signal.
A positional relationship between the write clock signal and the read clock signal when the read control means for sequentially reading parallel data having a bit width and the determination means determine that the position reset service code is inserted in the received data. Position resetting means for resetting the position to a predetermined positional relationship, and in the backup system, a code having the same logic as the position reset service code is set in advance in all transmission line codes, whereby the transmission line When the normal system and the standby system cooperate with each other to form an emergency transmission line when an abnormality occurs, the stuff multiplex receiver in the downstream communication node looped back changes the code set in the standby system to the position reset code. By receiving as a positional relationship between the write clock signal and the read clock signal by the internal position reset means. Characterized by resetting a predetermined positional relationship.

【0023】請求項8に係る発明は、それぞれに端末が
接続された複数の通信ノードをリング型の伝送路によっ
て相互に通信可能に結合したデータ伝送システムであっ
て、各通信ノードは、伝送路からスタッフ多重されたデ
ータおよびクロック信号を受信し、スタッフ多重前の元
のデータおよび元のクロック信号に変換するスタッフ多
重受信装置と、端末からの入力クロックにほぼ等しい周
波数の動作クロックを発生する動作クロック源と、端末
からの入力クロック信号に同期して入力される入力デー
タを当該入力クロック信号に同期して格納し、動作クロ
ックに同期して格納データを読み出す第1のエラスティ
ックバッファと、スタッフ多重受信装置から出力される
元のデータを元のクロック信号に同期して格納し、動作
クロックに同期して格納データを読み出す第2のエラス
ティックバッファと第1または第2のエラスティックバ
ッファから読み出されたデータを、動作クロックと非同
期に動作する伝送路上に、フレーム毎にスタッフ多重し
てシリアル出力するスタッフ多重送信装置とを備えてい
る。
According to an eighth aspect of the present invention, there is provided a data transmission system in which a plurality of communication nodes, each of which is connected to a terminal, are communicably coupled to each other via a ring type transmission line, and each communication node is a transmission line. A stuff multiplex receiver that receives the stuff-multiplexed data and clock signal from the stuff-multiplexer and converts them to the original data and the original clock signal before stuff-multiplexing, and an operation that generates an operating clock with a frequency approximately equal to the input clock from the terminal A clock source and a first elastic buffer that stores input data that is input in synchronization with an input clock signal from a terminal in synchronization with the input clock signal and reads out stored data in synchronization with an operation clock, and a stuff The original data output from the multiplex receiver is stored in synchronization with the original clock signal and synchronized with the operating clock. Stuff that stuff-multiplexes the data read from the second elastic buffer for reading stored data and the first or second elastic buffer for each frame and serially outputs the data on a transmission line that operates asynchronously with the operation clock. And a multiplex transmission device.

【0024】[0024]

【作用】請求項1に係る発明においては、記憶手段に対
するデータの書き込みと読み出しとをパラレルに行って
いるため、たとえ伝送路の伝送速度が高速でも、記憶手
段を消費電力が少なくかつ集積度の高い低速の回路素子
で構成できる。その結果、装置の小型化および低消費電
力化を図ることができる。
According to the first aspect of the present invention, since writing and reading of data to and from the storage means are performed in parallel, the power consumption of the storage means is low and the integration degree is high even if the transmission speed of the transmission line is high. It can be composed of high and low speed circuit elements. As a result, it is possible to reduce the size and power consumption of the device.

【0025】請求項2に係る発明においては、書き込み
クロック信号と読み出しクロック信号との間の位置関係
を所定の位置関係にリセットするための位置リセット手
段を備えることにより、通信開始時や再始動時において
書き込みクロック信号と読み出しクロック信号との位相
合わせが行え、バーストエラー等の発生を防止できる。
According to the second aspect of the present invention, by providing the position resetting means for resetting the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship, at the time of starting communication or restarting. In, the phase of the write clock signal and the read clock signal can be matched, and the occurrence of burst errors and the like can be prevented.

【0026】請求項3に係る発明においては、位置リセ
ット手段が位置リセット動作を実行したとき、記憶手段
から読み出されたデータに対し、予め定められたフレー
ム位置で位置リセット用サービス符号を挿入することに
より、通信相手局に対して位置リセットの実行を指示す
ることができる。
In the invention according to claim 3, when the position resetting means executes the position resetting operation, the position resetting service code is inserted into the data read from the storing means at a predetermined frame position. As a result, it is possible to instruct the communication partner station to execute the position reset.

【0027】請求項4に係る発明においては、記憶手段
に対するデータの書き込みと読み出しとをパラレルに行
っているため、たとえ伝送路の伝送速度が高速でも、記
憶手段を消費電力が少なくかつ集積度の高い低速の回路
素子で構成できる。その結果、装置の小型化および低消
費電力化を図ることができる。
According to the fourth aspect of the present invention, since the data writing and the data reading are performed in parallel to the storage means, even if the transmission speed of the transmission line is high, the storage means consumes less power and has a high degree of integration. It can be composed of high and low speed circuit elements. As a result, it is possible to reduce the size and power consumption of the device.

【0028】請求項5に係る発明においては、判定手段
が受信データに位置リセット用サービス符号が挿入され
ていることを判定したとき、書き込みクロック信号と読
み出しクロック信号との間の位置関係を所定の位置関係
にリセットするようにしているので、送信先のスタッフ
多重送信装置における位置リセット動作に応答して内部
で位置リセットを実行することが可能となる。
In the invention according to claim 5, when the judging means judges that the position reset service code is inserted in the received data, the positional relationship between the write clock signal and the read clock signal is determined to be predetermined. Since the position is reset, the position can be reset internally in response to the position reset operation in the stuff multiplex transmission device at the transmission destination.

【0029】請求項6に係る発明においては、ブロック
符号デコード部が無効符号を連続的に受信した場合に、
位置リセット手段が書き込みクロック信号と読み出しク
ロック信号との間の位置関係を所定の位置関係にリセッ
トするようにしているので、機器異常の発生時に速やか
に位置リセットを実行することが可能となる。
In the invention according to claim 6, when the block code decoding section continuously receives invalid codes,
Since the position resetting means resets the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship, it becomes possible to promptly perform the position reset when a device abnormality occurs.

【0030】請求項7に係る発明においては、伝送路に
異常が発生して通常系と予備系とによって非常用伝送路
を形成されたとき、ループバックされた下流の通信ノー
ドにおけるスタッフ多重受信装置は、予備系に予めセッ
トされた符号を位置リセット用符号として受信すること
により、内部の位置リセット手段が書き込みクロック信
号と読み出しクロック信号との間の位置関係を所定の位
置関係にリセットすることができる。従って、伝送路に
異常が発生した場合にも、記憶手段の書き込みクロック
信号と読み出しクロック信号とが常に一定の間隔を保ち
ながら動作し、再生するデータにバーストエラーが発生
せずに安定した運用が可能となる。
In the invention according to claim 7, when an abnormality occurs in the transmission line and an emergency transmission line is formed by the normal system and the standby system, the stuff multiplex reception apparatus in the downstream communication node looped back. The internal position reset means can reset the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship by receiving a code preset in the standby system as a position reset code. it can. Therefore, even when an abnormality occurs in the transmission path, the write clock signal and the read clock signal of the storage means always operate with a constant interval, and stable operation can be performed without causing a burst error in the reproduced data. It will be possible.

【0031】請求項8に係る発明においては、端末から
の入力データは、第1のエラスティックバッファに格納
される。また、伝送路から受信したデータは、元のデー
タに変換後、第2のエラスティックバッファに格納され
る。第1のエラスティックバッファへのデータの格納
は、端末からの入力クロックに同期して行われ、第2の
エラスティックバッファへのデータの格納は、伝送路か
ら受信したクロックから得られる元のクロックに同期し
て行われる。第1または第2のエラスティックバッファ
から読み出されたデータは、伝送路にスタッフ多重によ
り送信される。各通信ノードには、独立の動作クロック
源が設けられており、第1および第2のエラスティック
バッファからのデータの読み出しは、この動作クロック
源から発生される動作クロックに同期して行われる。こ
れによって、スタッフ多重送信装置とスタッフ多重受信
装置とが連続して接続される場合に問題となるスタッフ
ジッタの低減が可能となる。
In the invention according to claim 8, the input data from the terminal is stored in the first elastic buffer. In addition, the data received from the transmission line is stored in the second elastic buffer after being converted into the original data. The first elastic buffer stores data in synchronization with the input clock from the terminal, and the second elastic buffer stores data in the original clock obtained from the clock received from the transmission path. It is done in synchronization with. The data read from the first or second elastic buffer is transmitted to the transmission path by stuff multiplexing. Each communication node is provided with an independent operation clock source, and reading of data from the first and second elastic buffers is performed in synchronization with the operation clock generated from this operation clock source. This makes it possible to reduce stuff jitter, which is a problem when the stuff multiplex transmission device and the stuff multiplex reception device are continuously connected.

【0032】[0032]

【実施例】【Example】

(実施例1)図1は、本発明の第1の実施例に係るスタ
ッフ多重送信装置および受信装置を用いたリング型伝送
システムの構成を示すブロック図である。図1におい
て、複数の通信ノード500a〜500dは、スタッフ
多重されたリング型の幹線伝送路6によって相互に通信
可能に結合されている。また、各通信ノード500a〜
500dには、支線伝送路7を介して1つまたは複数の
端末(パーソナルコンピュータ等)8が接続されてい
る。
(Embodiment 1) FIG. 1 is a block diagram showing the configuration of a ring type transmission system using a stuff multiplex transmission apparatus and a reception apparatus according to the first embodiment of the present invention. In FIG. 1, a plurality of communication nodes 500a to 500d are communicatively coupled to each other by a stuff-multiplexed ring type trunk transmission line 6. Also, each communication node 500a-
One or a plurality of terminals (personal computers, etc.) 8 are connected to 500d via a branch transmission line 7.

【0033】上記各通信ノード500a〜500dは、
幹線伝送路6の伝送状態を制御する伝送路制御部300
と、端末8との間でデータ入出力のインタフェイスを行
う端末収容部400と、端末8からの送信データをスタ
ッフ多重技術を利用して幹線伝送路6へスタッフビット
等の制御ビットを含めて送信する機能を有するスタッフ
多重送信部10と、幹線伝送路6から受信したデータか
らスタッフビット等の制御ビットを削除して情報部のみ
を取り出し端末収容部400へ通知する機能を有するス
タッフ多重受信部20とを備えている。
Each of the communication nodes 500a to 500d has
Transmission line control unit 300 for controlling the transmission state of the main transmission line 6
And a terminal accommodating unit 400 for performing data input / output interface with the terminal 8, and transmitting data from the terminal 8 to the trunk transmission line 6 using a stuff multiplexing technique, including control bits such as stuff bits. A staff multiplex transmission unit 10 having a function of transmitting, and a staff multiplex reception unit having a function of deleting control bits such as stuff bits from data received from the trunk transmission line 6 and extracting only an information unit to notify the terminal accommodating unit 400. 20 and 20 are provided.

【0034】幹線伝送路6としては、通常系61と、予
備系62との2系等が準備される。予備系2は、その伝
送方向が通常系61のそれと反対方向に選ばれている。
通常運用時の通信は、通常系61を利用して行われる。
伝送路に異常が発生した場合等には、図2に示されるよ
うに通常系61と予備系62とが協動して異常発生位置
の手前でループバックされた非常用伝送路を形成し、こ
れによって通信障害が回避される。
As the main transmission line 6, two systems such as a normal system 61 and a standby system 62 are prepared. The transmission direction of the standby system 2 is selected to be opposite to that of the normal system 61.
Communication during normal operation is performed using the normal system 61.
When an abnormality occurs in the transmission line, as shown in FIG. 2, the normal system 61 and the backup system 62 cooperate to form an emergency transmission line looped back before the position where the abnormality occurs, This avoids communication failures.

【0035】幹線伝送路6における通常系61のフレー
ム構造は、各伝送路における上流の通信ノード内におけ
るスタッフ多重送信部10が生成する。例えば、通信ノ
ード500aと500d間の通常系61を伝送されるフ
レームは、通信ノード500a内のスタッフ多重送信部
10が生成する。通常運用時には、幹線伝送路6の予備
系62はフレーム構造を持たずに、全てのビットすなわ
ち伝送路符号が“1”になるように伝送路制御部300
において制御される。
The frame structure of the normal system 61 in the main transmission line 6 is generated by the stuff multiplex transmission unit 10 in the upstream communication node in each transmission line. For example, the stuff multiplex transmission unit 10 in the communication node 500a generates a frame transmitted in the normal system 61 between the communication nodes 500a and 500d. In normal operation, the backup system 62 of the trunk transmission line 6 does not have a frame structure, and all the bits, that is, the transmission line code, are set to "1".
Controlled in.

【0036】後述するように、各通信ノード内のスタッ
フ多重受信部20は、位置リセット回路を備え、位置リ
セット用サービス符号に“1”がセットされたフレーム
を受信すると、内部のバッファメモリの書き込みクロッ
ク信号と読み出しクロック信号とを所定の位置にリセッ
トする機能を有している。
As will be described later, the stuff multiplex reception section 20 in each communication node is provided with a position reset circuit, and when a frame in which the position reset service code is set to "1" is received, the internal buffer memory is written. It has a function of resetting the clock signal and the read clock signal to predetermined positions.

【0037】図3は、図1におけるスタッフ多重送信部
10に含まれる1つのスタッフ多重送信装置100の構
成を示すブロック図である。なお、このようなスタッフ
多重送信装置100は、通信ノードに接続される端末8
のそれぞれについて設けられる。図3において、このス
タッフ多重送信装置100は、1/m分周器111と、
シリアル/パラレル変換器112と、バッファメモリ1
13と、出力クロック発振器114と、1/n分周器1
15と、位相比較器116と、スタッフ&フレーム制御
回路117と、読み出しビット制御回路118と、付加
ビット発生回路119と、パラレル/シリアル変換器1
20と、位置リセット指示回路121とを備えている。
なお、バッファメモリ113は、選択信号発生回路11
3aと、送信入力分配器113bと、メモリ回路113
cと、送信出力セレクタ113dと、パラレルポート1
13eとを含む。
FIG. 3 is a block diagram showing the configuration of one stuff multiplex transmission device 100 included in the stuff multiplex transmission unit 10 shown in FIG. It should be noted that such a staff multiplex transmission device 100 is used for the terminal 8 connected to the communication node.
It is provided for each of. In FIG. 3, the stuff multiplex transmission device 100 includes a 1 / m frequency divider 111,
Serial / parallel converter 112 and buffer memory 1
13, output clock oscillator 114, and 1 / n frequency divider 1
15, a phase comparator 116, a stuff & frame control circuit 117, a read bit control circuit 118, an additional bit generation circuit 119, and a parallel / serial converter 1.
20 and a position reset instruction circuit 121.
It should be noted that the buffer memory 113 includes the selection signal generator 11
3a, transmission input distributor 113b, and memory circuit 113
c, the transmission output selector 113d, and the parallel port 1
13e and.

【0038】図4は、図3のバッファメモリ113にお
ける書き込み側の構成をより詳細に示すブロック図であ
る。図4において、選択信号発生回路113aには、1
/m分周器111からの書き込みクロック信号と、位置
リセット指示回路121からのリセットパルスとが与え
られる。選択信号発生回路113aは、k/m本の選択
信号を発生する。なお、kはmの整数倍に選ばれてい
る。
FIG. 4 is a block diagram showing in more detail the configuration of the write side in the buffer memory 113 of FIG. In FIG. 4, the selection signal generation circuit 113a includes 1
The write clock signal from the / m frequency divider 111 and the reset pulse from the position reset instruction circuit 121 are applied. The selection signal generation circuit 113a generates k / m selection signals. Note that k is selected to be an integral multiple of m.

【0039】メモリ回路113cは、並列に配置された
k個のD型フリップフロップF(1)〜F(k)により
構成されている。これらk個のD型フリップフロップ
は、m個ずつk/m組のグループに分割されている。選
択信号発生回路113aから出力されるk/m本の選択
信号は、それぞれ対応するグループに属するD型フリッ
プフロップの各クロック端子に与えられる。例えば、第
1本目の選択信号は、第1番目のグループに属するD型
フリップフロップF(1)〜F(m)の各クロック端子
に与えられる。第2本目の選択信号は、第2番目のグル
ープに属するD型フリップフロップF(m+1)〜F
(2m)の各クロック端子に与えられる。以下同様にし
て、第k/m本目の選択信号は、第k/m番目のグルー
プに属するフリップフロップF(k−m+1)〜F
(k)の各クロック入力端子に与えられる。
The memory circuit 113c is composed of k D-type flip-flops F (1) to F (k) arranged in parallel. These k D-type flip-flops are divided into k / m groups each having m pieces. The k / m selection signals output from the selection signal generation circuit 113a are applied to the respective clock terminals of the D-type flip-flops belonging to the corresponding groups. For example, the first selection signal is given to each clock terminal of the D-type flip-flops F (1) to F (m) belonging to the first group. The second selection signals are D-type flip-flops F (m + 1) to F belonging to the second group.
It is given to each clock terminal of (2 m). Similarly, the k / mth selection signals are flip-flops F (k−m + 1) to F belonging to the k / mth group.
(K) is given to each clock input terminal.

【0040】送信入力分配器113bは、シリアル/パ
ラレル変換器112から出力されるmビットのパラレル
データを、メモリ回路113cの各グループのD型フリ
ップフロップに分配する。例えば、シリアル/パラレル
変換器112の第1ビット目のデータは、各グループの
1番目のD型フリップフロップF(1),F(m+1)
…,F(k−m+1)のデータ入力端子に与えられる。
また、第2ビット目のデータは、各グループの2番目の
D型フリップフロップF(2),F(m+2)…,F
(k−m+2)のデータ入力端子に与えられる。以下同
様にして、第mビット目のデータは、各グループのm番
目のD型フリップフロップF(m),F(2m)…,F
(k)のデータ入力端子に与えられる。
The transmission input distributor 113b distributes the m-bit parallel data output from the serial / parallel converter 112 to the D flip-flops of each group of the memory circuit 113c. For example, the first bit data of the serial / parallel converter 112 is the first D-type flip-flops F (1) and F (m + 1) of each group.
,, F (k-m + 1) data input terminal.
The data of the second bit is the second D-type flip-flops F (2), F (m + 2) ..., F of each group.
It is given to the data input terminal of (km + 2). Similarly, the m-th bit data is the m-th D-type flip-flop F (m), F (2m) ..., F of each group.
It is given to the data input terminal of (k).

【0041】図5は、図3のバッファメモリ113にお
ける読み出し側の構成をより詳細に示すブロック図であ
る。図5において、送信出力セレクタ113dは、n個
のセレクタS(1)〜S(n)により構成されている。
セレクタS(1)〜S(n)の各々には、メモリ回路1
13cの各D型フリップフロップF(1)〜F(m)か
らkビットのパラレルデータが並列的に与えられる。ま
た、各セレクタS(1)〜S(n)には、読み出しビッ
ト制御回路118から読み出しビットの先頭値を表すポ
インタ値と、読み出しビット幅を表すレングスデータと
が与えられる。各セレクタS(1)〜S(n)は、これ
らポインタ値およびビット幅データをデコードする機能
も備え、そのデコード結果に基づいて、kビットのパラ
レルデータの中からそれぞれ1ビットのデータを選択
し、パラレルポート113eに出力する。パラレルポー
ト113eには、付加ビット発生回路119からの付加
ビットデータも与えられる。パラレルポート113e
は、セレクタS(1)〜S(n)の出力データおよび付
加ビット発生回路119から与えられた付加ビットデー
タを合成し、nビットのパラレルデータを出力し、パラ
レル/シリアル変換器120に与える。
FIG. 5 is a block diagram showing the structure of the read side in the buffer memory 113 of FIG. 3 in more detail. In FIG. 5, the transmission output selector 113d is composed of n selectors S (1) to S (n).
Each of the selectors S (1) to S (n) has a memory circuit 1
Parallel data of k bits is provided in parallel from the D-type flip-flops F (1) to F (m) of 13c. In addition, each of the selectors S (1) to S (n) is supplied from the read bit control circuit 118 with a pointer value representing the leading value of the read bit and length data representing the read bit width. Each of the selectors S (1) to S (n) also has a function of decoding the pointer value and the bit width data, and selects 1-bit data from the k-bit parallel data based on the decoding result. , To the parallel port 113e. The additional bit data from the additional bit generating circuit 119 is also applied to the parallel port 113e. Parallel port 113e
Is configured to combine the output data of the selectors S (1) to S (n) and the additional bit data given from the additional bit generation circuit 119, output n-bit parallel data, and give it to the parallel / serial converter 120.

【0042】図6は、図1におけるスタッフ多重受信部
20に含まれる1つのスタッフ多重受信装置200の構
成を示すブロック図である。なお、このようなスタッフ
多重受信装置200は、通信ノードに接続される端末8
のそれぞれについて設けられる。図6において、このス
タッフ多重受信装置200は、1/n分周器211と、
シリアル/パラレル変換器212と、フレーム同期回路
213と、付加ビット除去制御回路214と、書き込み
ビット制御回路215と、バッファメモリ216と、P
LL回路217と、位置リセット回路218と、ブロッ
ク符号デコード部219とを備えている。なお、バッフ
ァメモリ216は、受信入力セレクタ216aと、メモ
リ回路216bと、受信出力セレクタ216cと、リン
グカウンタ216dとを含む。また、PLL回路217
は、位相比較器217aと、低域通過フィルタ217b
と、VCO217cとを含む。
FIG. 6 is a block diagram showing the configuration of one stuff multiplex receiving apparatus 200 included in the stuff multiplex receiving section 20 shown in FIG. It should be noted that such a staff multiplex reception device 200 is provided in the terminal 8 connected to the communication node.
It is provided for each of. In FIG. 6, the stuff multiplex reception device 200 includes a 1 / n frequency divider 211,
Serial / parallel converter 212, frame synchronization circuit 213, additional bit removal control circuit 214, write bit control circuit 215, buffer memory 216, P
An LL circuit 217, a position reset circuit 218, and a block code decoding unit 219 are provided. The buffer memory 216 includes a reception input selector 216a, a memory circuit 216b, a reception output selector 216c, and a ring counter 216d. In addition, the PLL circuit 217
Is a phase comparator 217a and a low pass filter 217b.
And VCO 217c.

【0043】図7は、図6のバッファメモリ216にお
ける書き込み側の構成をより詳細に示すブロック図であ
る。図7において、受信入力セレクタ216aは、k個
のセレクタS’(1)〜S’(k)によって構成されて
いる。また、メモリ回路216bは、k個のD型フリッ
プフロップF’(1)〜F’(k)によって構成されて
いる。セレクタS’(1)〜S’(k)の各々には、シ
リアル/パラレル変換器212からnビットのパラレル
データが並列的に与えられる。また、セレクタS’
(1)〜S’(k)には、それぞれ、対応するD型フリ
ップフロップF’(1)〜F’(k)の出力がフィード
バックして入力される。さらに、各セレクタS’(1)
〜S’(k)には、書き込みビット制御回路215から
書き込みビットの先頭値を表すポインタ値と、書き込み
ビット幅を表すレングスデータとが与えられる。各セレ
クタS’(1)〜S’(k)は、これらポインタ値およ
びビット幅データをデコードする機能も備え、そのデコ
ード結果に基づいて、nビットのパラレルデータおよび
対応するD型フリップフロップのフィードバック入力の
中から1ビットのデータを選択し、それぞれ、対応する
D型フリップフロップF’(1)〜F’(k)のデータ
端子に出力する。また、各D型フリップフロップF’
(1)〜F’(k)のクロック端子には、1/n分周器
211から書き込みクロック信号が与えられる。
FIG. 7 is a block diagram showing in more detail the configuration of the write side in the buffer memory 216 of FIG. In FIG. 7, the reception input selector 216a is composed of k selectors S ′ (1) to S ′ (k). The memory circuit 216b is composed of k D-type flip-flops F ′ (1) to F ′ (k). Each of the selectors S ′ (1) to S ′ (k) is provided with n-bit parallel data from the serial / parallel converter 212 in parallel. Also, the selector S '
The outputs of the corresponding D-type flip-flops F ′ (1) to F ′ (k) are fed back and input to (1) to S ′ (k), respectively. Furthermore, each selector S '(1)
The write bit control circuit 215 supplies a pointer value representing the leading value of the write bit and length data representing the write bit width to S ′ (k). Each of the selectors S ′ (1) to S ′ (k) also has a function of decoding the pointer value and the bit width data, and based on the decoding result, feedback of n-bit parallel data and the corresponding D-type flip-flop. 1-bit data is selected from the inputs and output to the data terminals of the corresponding D-type flip-flops F ′ (1) to F ′ (k). Also, each D-type flip-flop F ′
A write clock signal is applied from the 1 / n frequency divider 211 to the clock terminals (1) to F ′ (k).

【0044】図8は、図6のバッファメモリ216にお
ける受信側の構成をより詳細に示すブロック図である。
図8において、受信出力セレクタ216cは、m個のセ
レクタS”(1)〜S”(m)によって構成されてい
る。各セレクタS”(1)〜S”(m)には、上記メモ
リ回路216bの出力がmビット置きに与えられる。例
えば、セレクタS”(1)には、第1ビット,第m+1
ビット,…第k−m+1ビットの出力が与えられる。ま
た、セレクタS”(2)には、第2ビット,第m+2ビ
ット,…第k−m+2ビットの出力が与えられる。以下
同様にして、セレクタS”(m)には、第mビット,第
2mビット,…第kビットの出力が与えられる。リング
カウンタ216dには、PLL回路217の出力クロッ
ク信号と、位置リセット回路218からのリセットパル
スとが与えられる。リングカウンタ216dはPLL回
路217の出力クロック信号を計数し、その計数信号は
各セレクタS”(1)〜S”(m)に選択ビット指示信
号として与えられる。各セレクタS”(1)〜S”
(m)は、リングカウンタ216dからの計数信号に従
って、所定番目のビット入力を選択し、出力する。
FIG. 8 is a block diagram showing the configuration of the receiving side in the buffer memory 216 of FIG. 6 in more detail.
In FIG. 8, the reception output selector 216c is composed of m selectors S ″ (1) to S ″ (m). The output of the memory circuit 216b is provided to every selector S "(1) to S" (m) every m bits. For example, the selector S ″ (1) has the first bit and the m + 1th bit.
The output of the bit, ..., The (k−m + 1) th bit is given. Further, the selector S ″ (2) is provided with the output of the second bit, the m + 2th bit, ..., The k−m + 2th bit. An output of 2m bits, ..., Kth bit is given. The ring counter 216d is supplied with the output clock signal of the PLL circuit 217 and the reset pulse from the position reset circuit 218. The ring counter 216d counts the output clock signal of the PLL circuit 217, and the count signal is given to each of the selectors S ″ (1) to S ″ (m) as a selection bit instruction signal. Each selector S "(1) to S"
(M) selects and outputs the predetermined bit input according to the count signal from the ring counter 216d.

【0045】図9は、ブロック符号の一例として、4ビ
ットデータが伝送路符号として5ビットの伝送路符号に
変換される4B5Bブロック符号の変換内容を示してい
る。図9において、データ部91は原信号がデータの場
合に変換される伝送路符号の集合を指し、制御部92は
伝送路符号として制御符号に利用される符号の集合を指
し、無効部93は伝送路符号として利用されない符号の
集合を指している。なお、図9において、内部データ表
現の先頭1ビット(左端のビット)は、データ部か制御
部か無効部かを表すビットであり、データとしての意味
はない。
FIG. 9 shows the conversion contents of a 4B5B block code in which 4-bit data is converted into a 5-bit transmission line code as a transmission line code, as an example of the block code. In FIG. 9, a data section 91 indicates a set of transmission path codes converted when the original signal is data, a control section 92 indicates a set of codes used as a control code as a transmission path code, and an invalid section 93 indicates It refers to a set of codes that are not used as transmission line codes. In FIG. 9, the first 1 bit (the leftmost bit) of the internal data representation is a bit indicating the data part, the control part, or the invalid part, and has no meaning as data.

【0046】図10は、図3に示すスタッフ多重送信装
置100におけるデータ書き込み時の動作を説明するた
めのタイミングチャートである。図11は、図3に示す
スタッフ多重送信装置100におけるデータ読み出し時
の動作を説明するためのタイミングチャートである。図
12は、図4に示すスタッフ多重受信装置200におけ
るデータ書き込み時の動作を説明するためのタイミング
チャートである。図13は、図4に示すスタッフ多重受
信装置200におけるデータ読み出し時の動作を説明す
るためのタイミングチャートである。以下、これら図1
0〜図13を参照して、図1に示すリング型伝送システ
ムの動作を説明する。
FIG. 10 is a timing chart for explaining the operation at the time of writing data in the stuff multiplex transmission device 100 shown in FIG. FIG. 11 is a timing chart for explaining an operation at the time of reading data in the stuff multiplex transmission device 100 shown in FIG. FIG. 12 is a timing chart for explaining the operation at the time of writing data in the stuff multiplex reception device 200 shown in FIG. FIG. 13 is a timing chart for explaining the operation at the time of reading data in the stuff multiplex reception device 200 shown in FIG. Below, these Figure 1
The operation of the ring type transmission system shown in FIG. 1 will be described with reference to FIGS.

【0047】今、ある通信ノード500aに属する端末
8において、他の通信ノードの端末8に送信すべきデー
タが発生したとする。このデータは、クロック信号と共
に、支線伝送路7および端末収容部400を介してスタ
ッフ多重送信部10内の対応するスタッフ多重送信装置
100に入力される。
It is now assumed that the terminal 8 belonging to a certain communication node 500a has data to be transmitted to the terminal 8 of another communication node. This data is input to the corresponding stuff multiplex transmission device 100 in the stuff multiplex transmission unit 10 via the branch line 7 and the terminal accommodating unit 400 together with the clock signal.

【0048】(1)スタッフ多重送信装置100におけ
るデータ書き込み動作 スタッフ多重送信装置100に入力された端末8からの
入力データは、シリアル/パラレル変換器112によっ
てmビットのパラレルデータに変化された後、送信入力
分配器113bに与えられる。一方、端末8からの入力
クロック信号は、1/m分周器111によって1/m分
周された後、書き込みクロック信号として選択信号発生
回路113aに与えられる。選択信号発生回路113a
は、図10に示すように、それぞれが同一の周期(1/
m分周器111の出力をk/m分周した周期)を有し、
かつ相互に1周期ずつ位相のずれたk/m本の選択信号
を発生する。前述したように、選択信号発生回路113
aから出力されるk/m本の選択信号は、メモリ回路1
13cにおける対応するグループに属するD型フリップ
フロップの各クロック端子に与えられる。また、送信入
力分配器113bは、シリアル/パラレル変換器112
から入力されるmビットのパラレルデータを、メモリ回
路113cの各グループのD型フリップフロップに分配
する。
(1) Data Writing Operation in Stuff Multiplexing Transmitter 100 The input data from the terminal 8 input to the stuffing multiplex transmitter 100 is converted into m-bit parallel data by the serial / parallel converter 112, and thereafter, It is given to the transmission input distributor 113b. On the other hand, the input clock signal from the terminal 8 is 1 / m frequency-divided by the 1 / m frequency divider 111 and then given to the selection signal generation circuit 113a as a write clock signal. Selection signal generation circuit 113a
As shown in FIG. 10, each has the same period (1 /
a period obtained by dividing the output of the m divider 111 by k / m),
In addition, k / m selection signals whose phases are shifted from each other by one cycle are generated. As described above, the selection signal generation circuit 113
The k / m selection signals output from a are stored in the memory circuit 1
13c is given to each clock terminal of the D-type flip-flop belonging to the corresponding group. Further, the transmission input distributor 113b is a serial / parallel converter 112.
The m-bit parallel data input from is distributed to the D flip-flops of each group of the memory circuit 113c.

【0049】選択信号発生回路113aの第1本目の選
択信号がハイレベルになると、図10に示すように、メ
モリ回路113cにおける第1グループのD型フリップ
フロップF(1)〜F(m)が選択されてシリアル/パ
ラレル変換器112からの最初のパラレルデータを取り
込み、記憶保持する。次に、選択信号発生回路113a
の第2本目の選択信号がハイレベルになると、メモリ回
路113cにおける第2グループのD型フリップフロッ
プF(m+1)〜F(2m)が選択されてシリアル/パ
ラレル変換器112からの次のパラレルデータを取り込
み、記憶保持する。以下同様にして、選択信号発生回路
113aの各選択信号が順次的にハイレベルになるに従
って、対応するグループに属するD型フリップフロップ
が選択されてシリアル/パラレル変換器112からのパ
ラレルデータを順番に取り込んで記憶保持する。
When the first selection signal of the selection signal generation circuit 113a becomes high level, as shown in FIG. 10, the D-type flip-flops F (1) to F (m) of the first group in the memory circuit 113c are turned on. The first parallel data selected and fetched from the serial / parallel converter 112 is stored and held. Next, the selection signal generation circuit 113a
When the second selection signal of the above becomes high level, the second group of D-type flip-flops F (m + 1) to F (2m) in the memory circuit 113c are selected and the next parallel data from the serial / parallel converter 112 is selected. Capture and store. Similarly, as the selection signals of the selection signal generation circuit 113a sequentially become high level, the D-type flip-flops belonging to the corresponding group are selected and the parallel data from the serial / parallel converter 112 are sequentially output. Capture and retain memory.

【0050】(2)スタッフ多重送信装置100におけ
るデータ読み出し動作 出力クロック発振器114は、幹線伝送路6の伝送クロ
ックと同期し、かつ端末8からの入力クロック信号より
も高い周波数を有する出力クロック信号を発生する。こ
の出力クロック信号は、1/n分周器115によって1
/n分周された後、読み出しクロック信号として読み出
しビット制御回路118に与えられる。また、スタッフ
&フレーム制御回路117は、幹線伝送路6に伝送すべ
きデータのフレーム構造に合わせて、メモリ回路113
cから読み出すデータのビット幅を読み出しビット制御
回路118に通知する。応じて、読み出しビット制御回
路118は、図11に示すように、メモリ回路113c
から読み出すデータの先頭ビット位置を示すポインタ値
と、読み出すデータのビット幅を示すレングスデータと
を、上記読み出しクロック信号に同期するタイミングで
送信出力セレクタ113d内の各セレクタS(1)〜S
(n)に出力する。
(2) Data read operation in the stuff multiplex transmission device 100 The output clock oscillator 114 synchronizes with the transmission clock of the trunk transmission line 6 and outputs an output clock signal having a higher frequency than the input clock signal from the terminal 8. appear. This output clock signal is output to 1 by the 1 / n frequency divider 115.
After being divided by / n, it is given to the read bit control circuit 118 as a read clock signal. The stuff & frame control circuit 117 also adjusts the memory circuit 113 according to the frame structure of data to be transmitted to the trunk transmission line 6.
The bit width of the data read from c is notified to the read bit control circuit 118. In response, the read bit control circuit 118, as shown in FIG.
From the selectors S (1) to S (1) to S (1) in the transmission output selector 113d at the timing of synchronizing the pointer value indicating the leading bit position of the data read from
Output to (n).

【0051】なお、読み出しビット制御回路118から
出力されるレングスデータは、0からnのいずれかの値
を取る。また、読み出しビット制御回路118から出力
されるポインタ値は、直前のレングスデータが加算され
ることにより更新されていく。例えば、現在のポインタ
値が「1」でレングスデータが「n」の場合、次のポイ
ンタ値は「n+1」となる。また、現在のポインタ値が
「n+1」でレングスデータが「n−3」の場合、次の
ポインタ値は「2n−2」となる。
The length data output from the read bit control circuit 118 takes any value from 0 to n. The pointer value output from the read bit control circuit 118 is updated by adding the immediately preceding length data. For example, when the current pointer value is "1" and the length data is "n", the next pointer value is "n + 1". When the current pointer value is "n + 1" and the length data is "n-3", the next pointer value is "2n-2".

【0052】今、上記ポインタ値が「1」でレングスデ
ータが「n」であるとすると、これらポインタ値および
レングスデータは、セレクタS(1)〜S(n)によっ
てデコードされる。その結果、ポインタ値に対応する位
置からレングスデータで指定されるビット幅分の範囲に
属するセレクタがメモリ回路113cからの読み出しデ
ータを選択して出力すべきことを認識する。この場合、
セレクタS(1)〜S(n)がメモリ回路113cから
の読み出しデータを選択して出力すべきことを認識す
る。すなわち、セレクタS(1)〜S(n)は、それぞ
れ、メモリ回路113cにおけるD型フリップフロップ
F(1)〜F(n)の記憶情報を選択し、パラレルポー
ト113eに出力する。従って、メモリ回路113dか
らは、nビットのデータが読み出されることになる。
Now, assuming that the pointer value is "1" and the length data is "n", the pointer value and the length data are decoded by the selectors S (1) to S (n). As a result, the selector belonging to the range corresponding to the bit width designated by the length data from the position corresponding to the pointer value recognizes that the read data from the memory circuit 113c should be selected and output. in this case,
The selectors S (1) to S (n) recognize that the read data from the memory circuit 113c should be selected and output. That is, the selectors S (1) to S (n) respectively select the storage information of the D-type flip-flops F (1) to F (n) in the memory circuit 113c and output it to the parallel port 113e. Therefore, n-bit data is read from the memory circuit 113d.

【0053】D型フリップフロップF(1)〜F(n)
からの読み出しが終了すると、上記ポインタ値は直前の
レングスデータ「n」を加算した値「n+1」に更新さ
れる。このとき、パラレルポート113eから出力され
るnビットパラレルデータの最後の2ビットに付加ビッ
トを挿入しようとする場合、レングスデータは「n−
2」となる。これらポインタ値「n+1」およびレング
スデータ「n−2」は、セレクタS(1)〜S(n)に
よってデコードされ、セレクタS(1)〜S(n−2)
がメモリ回路113cからの読み出しデータを選択して
出力すべきことを認識する。すなわち、セレクタS
(1)〜S(n−2)は、それぞれ、D型フリップフロ
ップF(n+1)〜F(2n−1)の記憶情報を選択
し、パラレルポート113eに出力する。このとき、他
のセレクタS(n−1),S(n)は、D型フリップフ
ロップF(1)〜F(k)のいずれの記憶情報も選択し
ない。従って、メモリ回路113dからは、n−2ビッ
トのデータが読み出されることになる。
D-type flip-flops F (1) to F (n)
When the reading from is completed, the pointer value is updated to the value "n + 1" obtained by adding the immediately preceding length data "n". At this time, if an additional bit is to be inserted into the last 2 bits of the n-bit parallel data output from the parallel port 113e, the length data is "n-
2 ”. The pointer value "n + 1" and the length data "n-2" are decoded by the selectors S (1) to S (n), and the selectors S (1) to S (n-2) are decoded.
Recognizes that the read data from the memory circuit 113c should be selected and output. That is, the selector S
(1) to S (n-2) respectively select the storage information of the D-type flip-flops F (n + 1) to F (2n-1) and output them to the parallel port 113e. At this time, the other selectors S (n-1) and S (n) do not select any stored information of the D-type flip-flops F (1) to F (k). Therefore, n-2 bits of data are read from the memory circuit 113d.

【0054】一方、付加ビット発生回路119は、スタ
ッフ&フレーム制御回路117から通知されたフレーム
内の所定の位置で2ビットの付加ビットを発生する。こ
の付加ビットは、パラレルポート113eに与えられ
る。その結果、パラレルポート113eからは、2ビッ
トの付加ビットが挿入されたnビットのパラレルデータ
が出力される。以下同様にして、メモリ回路113dか
らは、読み出しビット制御回路118によって指定され
るポインタ値およびレングスデータに従って、対応する
ビット位置から所定のビット幅分のデータが順次的に読
み出されていき、必要に応じて所定ビット数の付加ビッ
トが挿入されて出力される。
On the other hand, the additional bit generation circuit 119 generates two additional bits at a predetermined position in the frame notified by the stuff & frame control circuit 117. This additional bit is given to the parallel port 113e. As a result, the parallel port 113e outputs n-bit parallel data with the additional 2 bits inserted. Similarly, data of a predetermined bit width is sequentially read from the corresponding bit position from the memory circuit 113d in accordance with the pointer value and the length data designated by the read bit control circuit 118. According to the above, a predetermined number of additional bits are inserted and output.

【0055】(3)スタッフ多重送信装置100におけ
るスタッフビット挿入動作 位相比較器116は、バッファメモリ113の書き込み
クロック信号(1/m分周器111の出力信号)と読み
出しクロック信号(1/n分周器115の出力信号)と
の位相差を常時監視し、その差が一定値未満になった場
合(すなわち、読み出しクロック信号が書き込みクロッ
ク信号を追い越す直前)にスタッフビットをフレームに
挿入する要求をスタッフ&フレーム制御回路117に出
力する。位相比較器116からの要求に応答して、スタ
ッフ&フレーム制御回路117は、スタッフビットの挿
入を行うことおよびスタッフビットを挿入すべきフレー
ム位置を、読み出しビット制御回路118および付加ビ
ット発生回路119に通知する。応じて、読み出しビッ
ト制御回路118は、「n−1」以下の所定の値を有す
るレングスデータを送信出力セレクタ113dに出力す
る。また、付加ビット発生回路119は、スタッフビッ
トを挿入するフレーム位置において、図11に示すよう
なスタッフ挿入パルスを発生する。このスタッフ挿入パ
ルスは、パラレルポート113eに与えられ、メモリ回
路113cから読み出されたデータ(n−1ビット以下
のパラレルデータ)に1ビットのスタッフビットとして
挿入される。
(3) Stuff bit insertion operation in the stuff multiplex transmission device 100 The phase comparator 116 writes the write clock signal (output signal of the 1 / m frequency divider 111) of the buffer memory 113 and the read clock signal (1 / n amount). The output signal from the frequency divider 115) is constantly monitored, and if the difference is less than a certain value (that is, immediately before the read clock signal overtakes the write clock signal), a request to insert the stuff bit into the frame is issued. Output to the stuff & frame control circuit 117. In response to the request from the phase comparator 116, the stuff & frame control circuit 117 inserts the stuff bit and the frame position where the stuff bit should be inserted into the read bit control circuit 118 and the additional bit generation circuit 119. Notice. In response, the read bit control circuit 118 outputs the length data having a predetermined value of "n-1" or less to the transmission output selector 113d. Further, the additional bit generation circuit 119 generates a stuff insertion pulse as shown in FIG. 11 at the frame position where the stuff bit is inserted. This stuffing pulse is applied to the parallel port 113e and is inserted as 1-bit stuff bit into the data (parallel data of n-1 bits or less) read from the memory circuit 113c.

【0056】上記のように、読み出しクロック信号が書
き込みクロック信号を追い越す直前に、メモリ回路11
3cからの読み出しデータにスタッフビットを挿入すれ
ば、メモリ回路113cの実質的な読み出し速度が低下
し、メモリ回路113cが空になって誤ったデータが読
み出されるのを防止することができる。
As described above, immediately before the read clock signal overtakes the write clock signal, the memory circuit 11
By inserting the stuff bit in the read data from 3c, it is possible to prevent the reading speed of the memory circuit 113c from being substantially reduced, and prevent the memory circuit 113c from becoming empty and reading erroneous data.

【0057】(4)スタッフ多重送信装置100におけ
るリセット動作 通信の開始時には、伝送路制御部300からスタッフ多
重送信装置100の位置リセット指示回路121に対
し、通信開始信号が与えられる。応じて、位置リセット
指示回路121は、スタッフ&フレーム制御回路117
の出力から判定したフレームの先頭の時点でリセットパ
ルスを発生し、選択信号発生回路113a,読み出しビ
ット制御回路118および付加ビット発生回路119に
出力する。選択信号発生回路113aは、このリセット
パルスに応答してリセットされ、1/m分周器111か
らの書き込みクロック信号の次の立ち上がりから選択信
号の発生動作を再開する。一方、読み出しビット制御回
路118は、上記リセットパルスに応答して、ポインタ
値が初期値にリセットされる。これによって、バッファ
メモリ113における書き込みクロック信号と読み出し
クロック信号との間の位置関係が所定の位置関係にリセ
ットされる。
(4) Reset Operation in Stuff Multiplexing Transmitter 100 At the start of communication, a transmission start signal is given from the transmission path controller 300 to the position reset instruction circuit 121 of the stuff multiplex transmitter 100. In response, the position reset instruction circuit 121 causes the stuff & frame control circuit 117
A reset pulse is generated at the beginning of the frame determined from the output of 1) and output to the selection signal generation circuit 113a, the read bit control circuit 118, and the additional bit generation circuit 119. The selection signal generation circuit 113a is reset in response to this reset pulse, and restarts the generation operation of the selection signal from the next rising edge of the write clock signal from the 1 / m frequency divider 111. On the other hand, the read bit control circuit 118 resets the pointer value to the initial value in response to the reset pulse. As a result, the positional relationship between the write clock signal and the read clock signal in the buffer memory 113 is reset to the predetermined positional relationship.

【0058】また、読み出しビット制御回路118は、
通信相手局へ位置リセットの実行を指示するための位置
リセット用サービス符号を送信データに挿入するべく、
「n−1」以下の所定の値を有するレングスデータを送
信出力セレクタ113dに出力する。一方、付加ビット
発生回路119は、予め位置リセット用サービス符号に
割り当てられているフレーム位置において、サービス符
号“1”を発生する。応じて、このサービス符号“1”
は、パラレルポート113eに与えられ、メモリ回路1
13cから読み出されたデータに挿入される。
Further, the read bit control circuit 118 is
To insert a position reset service code for instructing the communication partner station to execute a position reset,
The length data having a predetermined value of "n-1" or less is output to the transmission output selector 113d. On the other hand, the additional bit generation circuit 119 generates the service code “1” at the frame position previously assigned to the position reset service code. According to this service code "1"
Is supplied to the parallel port 113e, and the memory circuit 1
It is inserted into the data read from 13c.

【0059】パラレルポート113eから出力されるn
ビットのパラレルデータは、パラレル/シリアル変換器
120に与えられ、シリアルデータに変換される。この
シリアルデータは、出力クロック発振器114から出力
される出力クロック信号に同期しており、端末8から入
力されるシリアルデータに比べて周波数が高くなってい
る。パラレル/シリアル変換器120から出力されるシ
リアルデータは、伝送路制御部300に与えられ、スタ
ッフ多重送信部10に含まれる他のスタッフ多重送信装
置100からの送信データと多重されて幹線伝送路6の
通常系61上に送出される。
N output from the parallel port 113e
The bit parallel data is given to the parallel / serial converter 120 and converted into serial data. This serial data is synchronized with the output clock signal output from the output clock oscillator 114, and has a higher frequency than the serial data input from the terminal 8. The serial data output from the parallel / serial converter 120 is given to the transmission path control unit 300, is multiplexed with the transmission data from the other stuff multiplex transmission device 100 included in the stuff multiplex transmission unit 10, and is multiplexed into the main line transmission line 6 Is sent to the normal system 61.

【0060】(5)スタッフ多重受信装置200におけ
るデータ書き込み動作 幹線伝送路6の通常系61上を伝送されるデータは、通
信相手先の通信ノードにおける伝送路制御部300で受
信され、受信データと受信クロック信号とに分離され
る。分離された受信データは、シリアル/パラレル変換
器212によってnビットのパラレルデータに変換され
る。一方、分離された受信クロック信号は、1/n分周
器211によって1/n分周され、書き込みクロック信
号が生成される。シリアル/パラレル変換器212およ
び1/n分周器211の出力は、フレーム同期回路21
3に与えられ、フレーム同期が確保される。
(5) Data Writing Operation in Stuff Multiplexing Reception Device 200 The data transmitted on the normal system 61 of the trunk transmission line 6 is received by the transmission line control unit 300 in the communication node of the communication partner and It is separated into a reception clock signal. The separated reception data is converted into n-bit parallel data by the serial / parallel converter 212. On the other hand, the separated reception clock signal is frequency-divided by 1 / n by the 1 / n frequency divider 211 to generate a write clock signal. The outputs of the serial / parallel converter 212 and the 1 / n frequency divider 211 are the frame synchronization circuit 21.
3 to secure the frame synchronization.

【0061】フレーム同期回路213によってフレーム
の先頭が認識されると、フレームを構成する情報部以外
のサービス符号部を削除するため、付加ビット除去制御
回路214によって付加ビットの有無およびその数が書
き込みビット制御回路215に通知される。応じて、書
き込みビット制御回路215は、メモリ回路216bに
書き込むビット数を、受信入力セレクタ216aに対し
て指定する。すなわち、書き込みビット制御回路215
は、書き込みビットの先頭値を表すポインタ値と、書き
込みビット幅を表すレングスデータとを出力し、受信入
力セレクタ216aにおける各セレクタS’(1)〜
S’(k)に与える。
When the frame synchronization circuit 213 recognizes the head of the frame, the service code part other than the information part forming the frame is deleted. The control circuit 215 is notified. In response, the write bit control circuit 215 specifies the number of bits to be written in the memory circuit 216b for the reception input selector 216a. That is, the write bit control circuit 215
Outputs a pointer value representing the leading value of the write bit and length data representing the write bit width, and each selector S ′ (1) to
Give to S '(k).

【0062】なお、書き込みビット制御回路215から
出力されるレングスデータは、0からnのいずれかの値
を取る。また、書き込みビット制御回路215から出力
されるポインタ値は、直前のレングスデータが加算され
ることにより更新されていく。例えば、現在のポインタ
値が「1」でレングスデータが「n」の場合、次のポイ
ンタ値は「n+1」となる。また、現在のポインタ値が
「n+1」でレングスデータが「n−3」の場合、次の
ポインタ値は「2n−2」となる。
The length data output from the write bit control circuit 215 takes any value from 0 to n. The pointer value output from the write bit control circuit 215 is updated by adding the immediately preceding length data. For example, when the current pointer value is "1" and the length data is "n", the next pointer value is "n + 1". When the current pointer value is "n + 1" and the length data is "n-3", the next pointer value is "2n-2".

【0063】今、上記ポインタ値が「1」でレングスデ
ータが「n」であるとすると、これらポインタ値および
レングスデータは、セレクタS’(1)〜S’(k)に
よってデコードされる。その結果、ポインタ値に対応す
る位置からレングスデータで指定されるビット幅分の範
囲に属するセレクタがシリアル/パラレル変換器215
からのnビットパラレルデータを選択して出力すべきこ
とを認識する。この場合、セレクタS’(1)〜S’
(n)がシリアル/パラレル変換器215からのnビッ
トパラレルデータを選択して出力すべきことを認識す
る。すなわち、セレクタS’(1)〜S’(n)は、そ
れぞれ、nビットパラレルデータの第1ビット〜第nビ
ットを選択し、対応するD型フリップフロップF’
(1)〜F’(n)に出力する。このとき、他のセレク
タS’(n+1)〜S’(k)は、それぞれ、対応する
D型フリップフロップF’(n+1)〜F’(k)から
フィードバックされる出力を選択し、対応するD型フリ
ップフロップF’(n+1)〜F’(k)に再入力す
る。
Now, assuming that the pointer value is "1" and the length data is "n", the pointer value and the length data are decoded by the selectors S '(1) to S' (k). As a result, the selector belonging to the range corresponding to the bit width designated by the length data from the position corresponding to the pointer value is the serial / parallel converter 215.
It is recognized that n-bit parallel data from is to be selected and output. In this case, the selectors S '(1) to S'
(N) recognizes that n-bit parallel data from the serial / parallel converter 215 should be selected and output. That is, the selectors S ′ (1) to S ′ (n) respectively select the first bit to the nth bit of the n-bit parallel data, and the corresponding D-type flip-flop F ′.
(1) to F ′ (n). At this time, the other selectors S ′ (n + 1) to S ′ (k) select the outputs fed back from the corresponding D-type flip-flops F ′ (n + 1) to F ′ (k), and the corresponding D Type flip-flops F ′ (n + 1) to F ′ (k).

【0064】メモリ回路216bにおける各D型フリッ
プフロップF’(1)〜F’(k)は、1/n分周器2
11からの書き込みクロック信号に同期して、それぞれ
対応するセレクタS’(1)〜S’(k)の出力を記憶
保持する。従って、上記の場合、D型フリップフロップ
F’(1)〜F’(n)のみがシリアル/パラレル変換
器212からのnビットパラレルデータを記憶保持し、
他のD型フリップフロップF’(n+1)〜F’(k)
の記憶内容は変更されない。
Each D-type flip-flop F '(1) to F' (k) in the memory circuit 216b has a 1 / n frequency divider 2
In synchronization with the write clock signal from 11, the outputs of the corresponding selectors S ′ (1) to S ′ (k) are stored and held. Therefore, in the above case, only the D-type flip-flops F ′ (1) to F ′ (n) store and hold the n-bit parallel data from the serial / parallel converter 212,
Other D-type flip-flops F '(n + 1) to F' (k)
The memory content of is not changed.

【0065】D型フリップフロップF’(1)〜F’
(n)への書き込みが終了すると、上記ポインタ値は直
前のレングスデータ「n」を加算した値「n+1」に更
新される。このとき、シリアル/パラレル変換器211
からのnビットパラレルデータのうち例えば最後の2ビ
ットが付加ビットであるとすると、レングスデータは
「n−2」となる。これらポインタ値「n+1」および
レングスデータ「n−2」は、セレクタS’(1)〜
S’(k)によってデコードされ、セレクタS’(n+
1)〜S’(2n−1)がシリアル/パラレル変換器2
15からのnビットパラレルデータを選択して出力すべ
きことを認識する。すなわち、セレクタS’(n+1)
〜S’(2n−1)は、それぞれ、nビットパラレルデ
ータの第1ビット〜第n−2ビットを選択し、対応する
D型フリップフロップF’(n+1)〜F’(2n−
1)に出力する。従って、D型フリップフロップF’
(n+1)〜F’(2n−1)にnビットパラレルデー
タの第1ビット〜第n−2ビットが書き込まれる。この
とき、他のセレクタS’(1)〜S’(n),S’(2
n)〜S’(k)は、それぞれ、対応するD型フリップ
フロップF’(1)〜F’(n),F’(2n)〜F’
(k)からフィードバックされる出力を選択し、対応す
るD型フリップフロップF’(1)〜F’(n),F’
(2n)〜F’(k)に再入力する。従って、D型フリ
ップフロップF’(1)〜F’(n),F’(2n)〜
F’(k)の記憶内容は書き換えられない。上記のよう
にして、メモリ回路216bには、nビットパラレルデ
ータのうち最終2ビットの付加ビットを除く、第1ビッ
ト〜第n−2ビットが書き込まれる。以下同様にして、
メモリ回路216bには、付加ビットの除去された情報
ビットのみが、1/n分周器211からの書き込みクロ
ック信号に同期して書き込まれていく。
D-type flip-flops F '(1) to F'
When the writing to (n) is completed, the pointer value is updated to the value "n + 1" obtained by adding the immediately preceding length data "n". At this time, the serial / parallel converter 211
If, for example, the last 2 bits of the n-bit parallel data from 1 to 2 are additional bits, the length data will be "n-2". The pointer value “n + 1” and the length data “n-2” are stored in the selectors S ′ (1) to S ′ (1).
Decoded by S '(k), selector S' (n +
1) to S '(2n-1) are serial / parallel converters 2
Recognize that n-bit parallel data from 15 should be selected and output. That is, the selector S '(n + 1)
~ S '(2n-1) selects the 1st bit to the n-2th bit of the n-bit parallel data, and the corresponding D-type flip-flops F' (n + 1) to F '(2n-).
Output to 1). Therefore, the D-type flip-flop F '
The first bit to the n-2th bit of the n-bit parallel data are written in (n + 1) to F '(2n-1). At this time, the other selectors S '(1) to S' (n), S '(2
n) to S '(k) are respectively corresponding D-type flip-flops F' (1) to F '(n) and F' (2n) to F '.
The output fed back from (k) is selected and the corresponding D-type flip-flops F ′ (1) to F ′ (n), F ′ are selected.
Re-enter in (2n) to F '(k). Therefore, the D-type flip-flops F ′ (1) to F ′ (n) and F ′ (2n) to
The stored contents of F '(k) are not rewritten. As described above, the first bit to the (n−2) th bit of the n-bit parallel data, excluding the last two additional bits, are written in the memory circuit 216b. And so on
Only the information bits from which the additional bits have been removed are written in the memory circuit 216b in synchronization with the write clock signal from the 1 / n frequency divider 211.

【0066】(6)スタッフ多重受信装置200におけ
る読み出しクロック再生動作 PLL回路217において、位相比較器217aの一方
入力端には書き込みビット制御回路215から前述のレ
ングスデータが与えられ、その他方入力端にはVCO2
17cから出力クロック信号が与えられる。位相比較器
217aは、書き込みビット制御回路215から与えら
れたレングスデータに基づいて、付加ビット除去部分が
歯抜けになった書き込みクロック信号を生成する。そし
て、位相比較器217aは、当該生成した書き込みクロ
ック信号とVCO217cからの出力クロック信号との
位相差を検出する。この位相比較器217aの検出出力
は、低域通過フィルタ217bで平滑化される。VCO
217cは、低域通過フィルタ217bの出力電圧に応
じた周波数を有する出力クロック信号を発生する。これ
によって、歯抜け部を有する書き込みクロック信号が平
滑化され、端末8からの入力クロック信号(図3参照)
と同一の周波数を有する出力クロック信号として再生さ
れる。
(6) Read Clock Reproducing Operation in Stuff Multiplexing Receiver 200 In the PLL circuit 217, the above-mentioned length data is given from the write bit control circuit 215 to one input end of the phase comparator 217a, and the other input end thereof. Is VCO2
An output clock signal is given from 17c. The phase comparator 217a generates a write clock signal in which the additional bit removed portion is missing based on the length data provided from the write bit control circuit 215. Then, the phase comparator 217a detects the phase difference between the generated write clock signal and the output clock signal from the VCO 217c. The detection output of the phase comparator 217a is smoothed by the low pass filter 217b. VCO
217c generates an output clock signal having a frequency according to the output voltage of the low pass filter 217b. As a result, the write clock signal having the missing tooth portion is smoothed, and the input clock signal from the terminal 8 (see FIG. 3).
Is reproduced as an output clock signal having the same frequency as.

【0067】上記のようにして、PLL回路217で再
生された出力クロック信号は、読み出しクロック信号と
してバッファメモリ216内のリングカウンタ216d
に与えられる。従って、メモリ回路216bからは、当
該読み出しクロック信号に同期して記憶データが読み出
される。以下には、メモリ回路216bからのデータの
読み出し動作を説明する。
The output clock signal reproduced by the PLL circuit 217 as described above is used as the read clock signal in the ring counter 216d in the buffer memory 216.
Given to. Therefore, the stored data is read from the memory circuit 216b in synchronization with the read clock signal. The operation of reading data from the memory circuit 216b will be described below.

【0068】(7)スタッフ多重受信装置200におけ
るデータ読み出し動作 リングカウンタ216dは、PLL回路217からの読
み出しクロック信号を計数することにより、図13に示
すような複数ビットの計数信号を出力する。当該計数信
号は、受信出力セレクタ216cの各セレクタS”
(1)〜S”(m)に選択ビット指示信号として与えら
れる。各セレクタS”(1)〜S”(m)は、リングカ
ウンタ216dの計数信号で示される計数値に対応する
入力ポートから入力される信号を選択して出力する。例
えば、リングカウンタ216dの計数信号で示される計
数値が「0」の場合、各セレクタS”(1)〜S”
(m)は、それぞれ、第1番目の入力ポートから入力さ
れるD型フリップフロップF’(1)〜F’(m)の出
力を選択して出力する。また、リングカウンタ216d
の計数信号で示される計数値が「1」になると、各セレ
クタS”(1)〜S”(m)は、それぞれ、第2番目の
入力ポートから入力されるD型フリップフロップF’
(m+1)〜F’(2m)の出力を選択して出力する。
以下同様にして、メモリ回路216bからは、mビット
順次にデータが読み出されていく。
(7) Data Read Operation in Stuff Multiplexing Reception Device 200 The ring counter 216d counts the read clock signal from the PLL circuit 217 to output a multi-bit count signal as shown in FIG. The count signal corresponds to each selector S ″ of the reception output selector 216c.
The selectors S ″ (1) to S ″ (m) are provided as selection bit instruction signals to (1) to S ″ (m). Each selector S ″ (1) to S ″ (m) is input from the input port corresponding to the count value indicated by the count signal of the ring counter 216d. For example, when the count value indicated by the count signal of the ring counter 216d is “0”, the selectors S ″ (1) to S ″ are selected and output.
(M) selects and outputs the output of each of the D-type flip-flops F ′ (1) to F ′ (m) input from the first input port. In addition, the ring counter 216d
When the count value indicated by the count signal of “1” becomes “1”, each of the selectors S ″ (1) to S ″ (m) receives a D-type flip-flop F ′ input from the second input port.
Outputs of (m + 1) to F '(2m) are selected and output.
Similarly, data is sequentially read from the memory circuit 216b in m bits.

【0069】受信出力セレクタ216cによってメモリ
回路216bから読み出された出力データは、ブロック
符号デコード部219でデコードされた後、図1の端末
収容部400でパラレル/シリアル変換され、対応する
端末8に与えられる。また、PLL回路217で再生さ
れた出力クロック信号は、図1の端末収容部400でm
逓倍された後、対応する端末8に与えられる。
The output data read from the memory circuit 216b by the reception output selector 216c is decoded by the block code decoding unit 219 and then parallel / serial converted by the terminal accommodating unit 400 of FIG. Given. In addition, the output clock signal reproduced by the PLL circuit 217 is stored in the terminal accommodating portion 400 of FIG.
After being multiplied, it is given to the corresponding terminal 8.

【0070】(8)スタッフ多重受信装置200におけ
るリセット動作 なお、付加ビット除去制御回路214は、フレーム同期
回路213の出力に基づき、予め定められた位置リセッ
ト用サービス符号のフレーム位置を位置リセット回路2
18に通知する。位置リセット回路218は、付加ビッ
ト除去制御回路214からの通知に基づき、シリアル/
パラレル変換器212から該当するフレーム位置のビッ
トデータを取り込んで確保する。もし、“1”にセット
された位置リセット用サービス符号を受信した場合、位
置リセット回路218は、フレーム同期回路213の出
力を基に、フレームの開始時点において図13に示すよ
うなリセットパルスを発生し、書き込みビット制御回路
215およびリングカウンタ216dに出力する。応じ
て、書き込みビット制御回路215は、受信入力セレク
タ216aに与えるポインタ値を初期値にリセットす
る。なお、この場合の初期値は、メモリ回路216bへ
の書き込みとそこからの読み出しとがオーバーラップし
ない値が選ばれる。一方、リングカウンタ216dは、
読み出しクロック信号の計数値を初期値にリセットする
(図13参照)。これによって、通信開始時等におい
て、バッファメモリ216における書き込みクロック信
号と読み出しクロック信号との間の位置関係が速やかに
所定の位置関係にリセットされ、バーストエラーの発生
を防止することができる。
(8) Reset Operation in Stuff Multiplexing Reception Device 200 The additional bit removal control circuit 214 sets the frame position of the predetermined position reset service code to the position reset circuit 2 based on the output of the frame synchronization circuit 213.
Notify 18. The position reset circuit 218 receives the serial / serial signal based on the notification from the additional bit removal control circuit 214.
The bit data at the corresponding frame position is fetched and secured from the parallel converter 212. If the position reset service code set to “1” is received, the position reset circuit 218 generates a reset pulse as shown in FIG. 13 at the start of the frame based on the output of the frame synchronization circuit 213. Then, the data is output to the write bit control circuit 215 and the ring counter 216d. In response, the write bit control circuit 215 resets the pointer value given to the reception input selector 216a to the initial value. The initial value in this case is selected such that writing to the memory circuit 216b and reading from the memory circuit 216b do not overlap with each other. On the other hand, the ring counter 216d is
The count value of the read clock signal is reset to the initial value (see FIG. 13). As a result, at the start of communication or the like, the positional relationship between the write clock signal and the read clock signal in the buffer memory 216 is quickly reset to the predetermined positional relationship, and the occurrence of burst errors can be prevented.

【0071】(9)機器に異常が発生した場合の動作 ブロック符号デコード部219が受信出力セレクタ21
6cからの出力データをデコードする場合、通常運用時
にはデータ部91もしくは制御部92に示される符号の
みが検出されるが、スタッフ多重送信装置もしくはスタ
ッフ多重受信装置に異常が発生した場合には、ブロック
符号デコード部219において無効部93が連続して検
出される。無効部93が連続して検出された場合には、
通信ノードの監視部(図示せず)へ通知されると同時
に、異常発生によりバッファメモリ216の書き込みク
ロック信号と読み出しクロック信号との間の位置関係に
異常が生じているため、位置リセット回路218に通知
される。これにより、位置リセット回路218からリセ
ットパルスが発生されるため、機器に異常が発生した場
合のバーストエラーを防止することができる。
(9) Operation when abnormality occurs in equipment The block code decoding unit 219 causes the reception output selector 21 to operate.
When decoding the output data from 6c, only the code shown in the data section 91 or the control section 92 is detected during normal operation, but if an abnormality occurs in the stuff multiplex transmitting apparatus or the stuff multiplex receiving apparatus, block The code decoding unit 219 continuously detects the invalid unit 93. When the invalid portion 93 is continuously detected,
At the same time as being notified to the monitoring unit (not shown) of the communication node, the position reset circuit 218 has an abnormality in the positional relationship between the write clock signal and the read clock signal of the buffer memory 216 due to the abnormality. Be notified. As a result, a reset pulse is generated from the position reset circuit 218, so that it is possible to prevent a burst error when an abnormality occurs in the device.

【0072】(10)幹線伝送路6に異常が発生した場
合の動作 図2に示すように、例えば通信ノード500aと500
bとの間の幹線伝送路6に異常が発生した場合の動作を
説明する。この場合、通信ノード500aおよび500
bは、その内部において幹線伝送路6の通常系61と予
備系62とを利用してループバック構成をとる。このと
き、予備系62を伝送されるフレームは通信ノード50
0bがその内部のスタッフ多重送信装置100において
生成したフレームであり、そのフレームは通信ノード5
00c、500dを中継されて通信ノード500a内部
のスタッフ多重受信装置200が受信する。ここで、通
信ノード500aのスタッフ多重受信装置200は、予
備系62に当初設定された連続した“1”を受信した後
に、通信ノード500bが生成した正規のフレームを受
信することになる。したがって、連続した“1”を受信
したスタッフ多重受信装置200は、受信したフレーム
構造が不連続となることにより、PLL回路217によ
り再生される読み出しクロック信号が一時不安定とな
る。しかしながら、受信信号が連続して全て“1”であ
るため、当初位置リセット用サービス符号に割り当てら
れていたビットの部分も“1”となる。その結果、この
受信データを受信する通信ノード500a内のスタッフ
多重受信装置200は、ループバック構成にされた場
合、位置リセット回路218の働きにより、続いて受信
するフレームの先頭の時点でバッファメモリ216の書
き込みクロック信号と読み出しクロック信号との関係が
所定の位置にリセットされることになる。したがって、
その後スタッフ多重受信装置200においてバーストエ
ラーが発生するのを回避でき、伝送路故障発生後の動作
再開時にも誤動作しない通信ノードを得ることができ
る。
(10) Operation When Abnormality Occurs in Trunk Line 6 As shown in FIG. 2, for example, communication nodes 500a and 500
The operation in the case where an abnormality occurs in the trunk transmission line 6 between the point b and b will be described. In this case, the communication nodes 500a and 500
The loop b has a loopback configuration in which the normal system 61 and the standby system 62 of the trunk transmission line 6 are utilized. At this time, the frame transmitted through the backup system 62 is the communication node 50.
0b is a frame generated in the internal stuff multiplex transmission device 100, and the frame is the communication node 5
00c and 500d are relayed and received by the stuff multiplex reception device 200 inside the communication node 500a. Here, the stuff multiplex reception device 200 of the communication node 500a receives the regular frame initially generated in the backup system 62, and then receives the regular frame generated by the communication node 500b. Therefore, in the stuff multiplex reception apparatus 200 that has received consecutive "1" s, the read clock signal reproduced by the PLL circuit 217 becomes temporarily unstable due to the discontinuous frame structure. However, since the received signals are all "1" in succession, the bit portion initially assigned to the position reset service code also becomes "1". As a result, when the stuff multiplex reception device 200 in the communication node 500a that receives this received data is set in the loopback configuration, the position reset circuit 218 causes the buffer memory 216 at the beginning of the frame to be subsequently received. The relationship between the write clock signal and the read clock signal is reset to a predetermined position. Therefore,
After that, it is possible to avoid the occurrence of a burst error in the stuff multiplex reception device 200, and it is possible to obtain a communication node that does not malfunction even when the operation is restarted after a transmission line failure occurs.

【0073】(実施例2)図14は、本発明の第2の実
施例に係るスタッフ多重送信装置および受信装置を用い
たリング型伝送システムの構成を示すブロック図であ
る。図14において、複数の通信ノード161a〜16
1cは、スタッフ多重されたリング型の幹線伝送路16
によって相互に通信可能に結合されている。また、各通
信ノード161a〜161cには、支線伝送路160を
介して1つまたは複数の端末(パーソナルコンピュータ
等)162が接続されている。
(Embodiment 2) FIG. 14 is a block diagram showing the configuration of a ring type transmission system using a stuff multiplex transmission apparatus and a reception apparatus according to the second embodiment of the present invention. In FIG. 14, a plurality of communication nodes 161a-16
1c is a stuff-multiplexed ring type trunk transmission line 16
Are communicatively coupled to each other by. Further, one or a plurality of terminals (personal computers or the like) 162 are connected to each of the communication nodes 161a to 161c via a branch transmission line 160.

【0074】各通信ノード161a〜161cは、時分
割多重された信号を受信して複数の低次群信号に分離す
る多重分離部163と、同期化された複数の低次群信号
を多重して伝送路160に送信する多重送信部164
と、分離された低次群信号を処理する複数の低次群信号
処理部165とを備えている。
Each of the communication nodes 161a to 161c multiplexes a plurality of synchronized low-order group signals with a demultiplexer 163 which receives the time-division-multiplexed signals and separates them into a plurality of low-order group signals. Multiplexing unit 164 for transmitting to transmission path 160
And a plurality of low-order group signal processing units 165 that process the separated low-order group signals.

【0075】低次群処理部165は、受信クロックを再
生するために利用されるPLL167を含みスタッフ多
重化された信号を受信してクロックとデータを再生する
スタッフ多重受信部166と、非同期データを伝送路ク
ロックに同期化しスタッフ多重化して送信するスタッフ
多重送信部168と、独立して用意される動作クロック
源169と、端末からの送信データよりクロックを再生
するPLL171を含み端末162を収容する端末収容
部170と、PLL171で再生されるクロックに従っ
て端末162から受信されたデータが書き込まれ、動作
クロック源169で発生される動作クロックに従って読
み出しが行われる第1のエラスティックバッファ172
と、PLL167で再生されたクロックに従って伝送路
160を介して受信されたデータが書き込まれ、動作ク
ロック源169で発生される動作クロックに従って読み
出しが行われる第2のエラスティックバッファ173
と、第1および第2のエラスティックバッファ172お
よび173の出力を入力し、スタッフ多重送信部168
もしくは端末収容部170へと振り分けるスイッチ部1
74とを備えている。なお、第1および第2のエラステ
ィックバッファ172および173は、FIFO(ファ
ーストイン・ファーストアウト)メモリ等によって構成
されている。
The low-order group processing section 165 includes a stuff multiplex reception section 166 for receiving a stuff-multiplexed signal including a PLL 167 used for reproducing a reception clock and reproducing the clock and data, and an asynchronous data. A terminal accommodating a terminal 162 including a stuff multiplex transmission unit 168 which synchronizes with a transmission line clock and performs stuff multiplexing transmission, an operation clock source 169 independently prepared, and a PLL 171 which reproduces a clock from transmission data from the terminal. The first elastic buffer 172 in which the data received from the terminal 162 is written according to the clock reproduced by the accommodating unit 170 and the PLL 171, and is read according to the operation clock generated by the operation clock source 169.
And the second elastic buffer 173 in which the data received via the transmission path 160 is written according to the clock reproduced by the PLL 167 and is read according to the operation clock generated by the operation clock source 169.
And the outputs of the first and second elastic buffers 172 and 173 are input to the stuff multiplex transmission unit 168.
Alternatively, the switch unit 1 for allocating to the terminal accommodating unit 170
And 74. The first and second elastic buffers 172 and 173 are configured by a FIFO (first in / first out) memory or the like.

【0076】上記のような構成を有する各通信ノード1
61a〜161cにおいて、スタッフ多重受信部166
は、多重分離部163において分離された信号を受信す
る。受信した信号を基に、PLL167により受信クロ
ックが再生される。この再生された受信クロックは、第
2のエラスティックバッファ173へのデータの書き込
みに利用される。すなわち、スタッフ多重受信部166
で受信されたデータは、上記PLL167で再生された
受信クロックに同期して、第2のエラスティックバッフ
ァ173に書き込まれる。第2のエラスティックバッフ
ァ173に格納されたデータは、動作クロック源169
で発生される動作クロックに同期して読み出され、スイ
ッチ部174へと送られる。
Each communication node 1 having the above configuration
61a to 161c, the stuff multiplex reception unit 166
Receives the signal separated by the demultiplexer 163. The PLL 167 regenerates the reception clock based on the received signal. The reproduced reception clock is used for writing data in the second elastic buffer 173. That is, the stuff multiplex reception unit 166
The data received in (1) is written in the second elastic buffer 173 in synchronization with the reception clock reproduced by the PLL 167. The data stored in the second elastic buffer 173 is the operation clock source 169.
Is read out in synchronization with the operation clock generated in step S1, and sent to the switch unit 174.

【0077】端末収容部170は、端末162から伝送
路160を介して受信した信号を基に、PLL171で
クロックを再生する。この再生されたクロックは、第1
のエラスティックバッファ172へのデータの書き込み
に利用される。すなわち、端末162からの受信データ
は、上記PLL171で再生されたクロックに同期し
て、第1のエラスティックバッファ172へ書き込まれ
る。第1のエラスティックバッファ172に格納された
データは、動作クロック源169で発生される動作クロ
ック169に同期して読み出され、スイッチ部174へ
と送られる。
The terminal accommodating section 170 reproduces a clock in the PLL 171 based on the signal received from the terminal 162 via the transmission path 160. This recovered clock is the first
It is used to write data to the elastic buffer 172 of the. That is, the received data from the terminal 162 is written in the first elastic buffer 172 in synchronization with the clock reproduced by the PLL 171. The data stored in the first elastic buffer 172 is read in synchronization with the operation clock 169 generated by the operation clock source 169 and sent to the switch unit 174.

【0078】図15は、第1のエラスティックバッファ
172もしくは第2のエラスティックバッファ173を
介して送られるデータのフォーマットを示している。図
示のごとく、データの先頭には、プリアンブルフィール
ドが付加されている。
FIG. 15 shows the format of data sent via the first elastic buffer 172 or the second elastic buffer 173. As shown, a preamble field is added to the beginning of the data.

【0079】図16に示すように、第1のエラスティッ
クバッファ172および第2のエラスティックバッファ
173は、データを書き込む際に、バッファの先頭から
書き込みを開始し、バッファ中心まで書き込みが終了し
た時点で読み出しが開始される。書き込みクロックと読
み出しクロックとの速度差により、書き込みクロックの
速度の方が速い場合には“+”の方向に読み出しのポイ
ンタが移動していくことになる。読み出しクロックの速
度の方が速い場合には、“−”の方向に読み出しのポイ
ンタが移動していくことになる。エラスティックバッフ
ァの容量は、データ長と、読み出しクロックと書き込み
クロックとの速度差を基に、あふれることの無い容量に
規定される。書き込みクロックの方が速い場合には、エ
ラスティックバッファを通過した場合にデータ長は短く
なるため、プリアンブルフィールドを削減する。一方、
読み出しクロックのほうが速い場合には、エラスティッ
クバッファを通過した場合にデータ長は長くなるため、
プリアンブルフィールドを追加する。このようにするこ
とで、データの内容は保存したまま、そのタイミングの
みを動作クロックに同期させることが可能となる。
As shown in FIG. 16, the first elastic buffer 172 and the second elastic buffer 173, when writing data, start writing from the head of the buffer and finish writing to the center of the buffer. The reading starts with. Due to the speed difference between the write clock and the read clock, the read pointer moves in the “+” direction when the write clock speed is faster. When the read clock speed is faster, the read pointer moves in the "-" direction. The capacity of the elastic buffer is defined as a capacity that does not overflow, based on the data length and the speed difference between the read clock and the write clock. When the write clock is faster, the data length becomes shorter when passing through the elastic buffer, so the preamble field is reduced. on the other hand,
If the read clock is faster, the data length will be longer when passing through the elastic buffer.
Add a preamble field. By doing so, it is possible to synchronize only the timing with the operation clock while keeping the data content.

【0080】通常動作時には、スイッチ部174を介し
て、第2のエラスティックバッファ173からの出力デ
ータは端末収容部に送られ、第1のエラスティックバッ
ファ172からの出力データはスタッフ多重送信部16
8へと送られる。
During normal operation, the output data from the second elastic buffer 173 is sent to the terminal accommodating section via the switch section 174, and the output data from the first elastic buffer 172 is sent to the stuff multiplex transmission section 16.
Sent to 8.

【0081】スタッフ多重送信部168は、動作クロッ
ク源169で発生される動作クロックに同期したデータ
を基にスタッフ多重による同期化を行い、多重部164
へ送る。多重部164は、送られてきた信号を多重して
伝送路へ送信する。
The stuff multiplex transmission section 168 performs synchronization by stuff multiplex based on the data synchronized with the operation clock generated by the operation clock source 169, and the multiplexing section 164
Send to. The multiplexing unit 164 multiplexes the transmitted signals and sends them to the transmission path.

【0082】全ての通信ノードに備わる動作クロック源
169は、ほぼ同一の発振周波数を有するものが選ばれ
る。スタッフ多重受信部166内のPLL167により
再生される再生クロックは、上流の通信ノードにおける
時分割多重された1つのタイムスロットを利用する低次
群信号処理部165内の動作クロックにスタッフジッタ
が重畳されたクロックとなる。ただし、この再生クロッ
クは、第2のエラスティックバッファ173へのデータ
の書き込みに利用されるのみである。すなわち、これ以
降の処理は、通信ノード161内部に備わる動作クロッ
ク源169からの動作クロックを基に実現されるので、
スタッフジッタの影響を最低限に抑えることが可能とな
る。
The operation clock sources 169 provided in all communication nodes are selected to have substantially the same oscillation frequency. The recovered clock reproduced by the PLL 167 in the stuff multiplex reception unit 166 has the stuff jitter superimposed on the operation clock in the low order group signal processing unit 165 that uses one time slot time-division multiplexed in the upstream communication node. It becomes a clock. However, this reproduction clock is only used for writing data to the second elastic buffer 173. That is, since the subsequent processing is realized based on the operation clock from the operation clock source 169 provided inside the communication node 161,
It is possible to minimize the influence of stuff jitter.

【0083】端末162や、伝送路160に異常が発生
した場合には、端末収容部170が受信信号断を検出し
て、これをスイッチ部174に通知する。スイッチ部1
74は、この信号を受信した場合、その接続を変更し、
第1のエラスティックバッファ172からの出力を端末
収容部170へ接続し、第2のエラスティックバッファ
173からの出力をスタッフ多重送信部168へと接続
する。これによって、端末162をリングネットワーク
から切り離すことができる。
When an abnormality occurs in the terminal 162 or the transmission path 160, the terminal accommodating section 170 detects a reception signal disconnection and notifies the switch section 174 of this. Switch part 1
74 will change its connection when it receives this signal,
The output from the first elastic buffer 172 is connected to the terminal accommodating section 170, and the output from the second elastic buffer 173 is connected to the stuff multiplex transmitting section 168. This allows the terminal 162 to be separated from the ring network.

【0084】スタッフ多重送信部168においては、ス
タッフ多重による同期化を行うため、伝送路クロックと
送信データのクロックとの差を伝送路フレーム毎にカウ
ントする必要があるが、スイッチ174からの出力は端
末162からのデータであっても、スタッフ多重受信部
166からのデータであっても、動作クロック源169
からの動作クロックに同期している。従って、スタッフ
多重送信部168では、スタッフ多重による同期化を行
う場合に、動作クロック源169からの動作クロックと
伝送路クロックとの差分を監視し続けるのみでよく、伝
送路160や端末162に異常が発生した場合にも、常
に同期化したデータを多重化させることが可能となる。
In the stuff multiplex transmission section 168, since the stuff multiplex synchronization is performed, it is necessary to count the difference between the transmission path clock and the clock of the transmission data for each transmission path frame, but the output from the switch 174 is Whether the data is from the terminal 162 or the stuff multiplex reception unit 166, the operation clock source 169
It is synchronized with the operating clock from. Therefore, the stuff multiplex transmission unit 168 only needs to continue to monitor the difference between the operation clock from the operation clock source 169 and the transmission path clock when performing the synchronization by the stuff multiplexing, and the transmission path 160 or the terminal 162 has an abnormality. Even in the case of occurrence of, it is possible to always multiplex the synchronized data.

【0085】[0085]

【発明の効果】請求項1の発明によれば、記憶手段に対
するデータの書き込みと読み出しとをパラレルに行って
いるので、たとえ伝送路の伝送速度が高速でも、記憶手
段を消費電力が少なくかつ集積度の高い低速の回路素子
で構成できる。その結果、装置の小型化および低消費電
力化を図ることができる。
According to the first aspect of the present invention, since the data writing and the data reading are performed in parallel to the storage means, the storage means consumes less power and is integrated even if the transmission speed of the transmission line is high. It can be composed of high-speed and low-speed circuit elements. As a result, it is possible to reduce the size and power consumption of the device.

【0086】請求項2の発明によれば、書き込みクロッ
ク信号と読み出しクロック信号との間の位置関係を所定
の位置関係にリセットするための位置リセット手段を備
えるようにしているので、通信開始時や再始動時におい
て書き込みクロック信号と読み出しクロック信号との位
相合わせが行え、バーストエラー等の発生を防止でき
る。
According to the second aspect of the invention, the position resetting means for resetting the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship is provided. At the time of restart, the write clock signal and the read clock signal can be aligned in phase, and the occurrence of burst errors and the like can be prevented.

【0087】請求項3の発明によれば、位置リセット手
段が位置リセット動作を実行したとき、記憶手段から読
み出されたデータに対し、予め定められたフレーム位置
で位置リセット用サービス符号を挿入するようにしてい
るので、通信相手局に対して位置リセットの実行を指示
することができる。
According to the third aspect of the invention, when the position resetting means executes the position resetting operation, the position resetting service code is inserted into the data read from the storing means at a predetermined frame position. Therefore, the communication partner station can be instructed to execute the position reset.

【0088】請求項4の発明によれば、記憶手段に対す
るデータの書き込みと読み出しとをパラレルに行ってい
るので、たとえ伝送路の伝送速度が高速でも、記憶手段
を消費電力が少なくかつ集積度の高い低速の回路素子で
構成できる。その結果、装置の小型化および低消費電力
化を図ることができる。
According to the invention of claim 4, the writing and reading of data to and from the storage means are performed in parallel, so that even if the transmission speed of the transmission path is high, the storage means consumes less power and has a high degree of integration. It can be composed of high and low speed circuit elements. As a result, it is possible to reduce the size and power consumption of the device.

【0089】請求項5の発明によれば、判定手段が受信
データに位置リセット用サービス符号が挿入されている
ことを判定したとき、書き込みクロック信号と読み出し
クロック信号との間の位置関係を所定の位置関係にリセ
ットするようにしているので、送信先のスタッフ多重送
信装置における位置リセット動作に応答して内部で位置
リセットを実行することが可能となる。
According to the fifth aspect of the present invention, when the determining means determines that the position reset service code is inserted in the received data, the positional relationship between the write clock signal and the read clock signal is predetermined. Since the position is reset, the position can be reset internally in response to the position reset operation in the stuff multiplex transmission device at the transmission destination.

【0090】請求項6の発明によれば、ブロック符号デ
コード部が無効符号を連続的に受信した場合に、位置リ
セット手段が書き込みクロック信号と読み出しクロック
信号との間の位置関係を所定の位置関係にリセットする
ようにしているので、機器異常の発生時に速やかに位置
リセットを実行することが可能となる。
According to the sixth aspect of the present invention, when the block code decoding section continuously receives invalid codes, the position resetting means determines the positional relationship between the write clock signal and the read clock signal by a predetermined positional relationship. Since it is reset to, it is possible to promptly perform the position reset when the device abnormality occurs.

【0091】請求項7の発明によれば、伝送路に異常が
発生して通常系と予備系とによって非常用伝送路を形成
されたとき、ループバックされた下流の通信ノードにお
けるスタッフ多重受信装置は、予備系に予めセットされ
た符号を位置リセット用符号として受信するので、内部
の位置リセット手段によって書き込みクロック信号と読
み出しクロック信号との間の位置関係が所定の位置関係
に自動的にリセットされる。従って、伝送路に異常が発
生した場合にも、記憶手段の書き込みクロック信号と読
み出しクロック信号とが常に一定の間隔を保ちながら動
作し、再生するデータにバーストエラーが発生せずに安
定した運用が可能となる。
According to the seventh aspect of the present invention, when an abnormality occurs in the transmission line and an emergency transmission line is formed by the normal system and the standby system, the stuff multiplex reception device is looped back in the downstream communication node. Receives a code preset in the standby system as a code for position resetting, so that the internal position resetting means automatically resets the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship. It Therefore, even when an abnormality occurs in the transmission path, the write clock signal and the read clock signal of the storage means always operate with a constant interval, and stable operation can be performed without causing a burst error in the reproduced data. It will be possible.

【0092】請求項8の発明によれば、スタッフジッタ
の重畳された伝送路からの再生クロックは、第2のエラ
スティックバッファにデータを書き込むためだけに利用
されるので、複数のノードが接続されたネットワークに
おいてもスタッフジッタの影響を最小限に抑えることが
可能となる。さらに、端末からの受信データを、第1の
エラスティックバッファを介して通信ノード内部の動作
クロックに同期化して扱うようにしているので、例えば
端末や支線に異常の発生した場合に、その出力先を切り
換えたとしても、スタッフ多重送信装置における同期化
の処理には影響が及ばない処理が可能となる。
According to the invention of claim 8, the recovered clock from the transmission line on which the stuff jitter is superimposed is used only for writing the data in the second elastic buffer, so that a plurality of nodes are connected. It is possible to minimize the effect of stuff jitter even on a network. Further, since the data received from the terminal is handled in synchronization with the operation clock inside the communication node via the first elastic buffer, for example, when an abnormality occurs in the terminal or a branch line, its output destination is output. Even if is switched, it is possible to perform processing that does not affect the synchronization processing in the stuff multiplex transmission device.

【0093】[0093]

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

【図1】本発明の第1の実施例に係るスタッフ多重送信
装置および受信装置を用いたリング型伝送システムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a ring type transmission system using a stuff multiplex transmission apparatus and a reception apparatus according to a first embodiment of the present invention.

【図2】図1の伝送システムにおいて、伝送路故障時に
おけるループバック構成を示す図である。
FIG. 2 is a diagram showing a loopback configuration at the time of a transmission line failure in the transmission system of FIG.

【図3】図1におけるスタッフ多重送信部10に含まれ
る1つのスタッフ多重送信装置の構成を示すブロック図
である。
3 is a block diagram showing a configuration of one stuff multiplex transmission device included in a stuff multiplex transmission unit 10 in FIG.

【図4】図3のバッファメモリ113における書き込み
側の構成をより詳細に示すブロック図である。
4 is a block diagram showing in more detail the configuration of the write side in the buffer memory 113 of FIG.

【図5】図3のバッファメモリ113における読み出し
側の構成をより詳細に示すブロック図である。
5 is a block diagram showing in more detail the configuration of the read side in the buffer memory 113 of FIG.

【図6】図1におけるスタッフ多重受信部20に含まれ
る1つのスタッフ多重受信装置の構成を示すブロック図
である。
6 is a block diagram showing a configuration of one stuff multiplex reception device included in a stuff multiplex reception unit 20 in FIG.

【図7】図6のバッファメモリ216における書き込み
側の構成をより詳細に示すブロック図である。
7 is a block diagram showing in more detail the configuration of the write side in the buffer memory 216 of FIG.

【図8】図6のバッファメモリ216における読み出し
側の構成をより詳細に示すブロック図である。
8 is a block diagram showing in more detail the configuration of the read side in the buffer memory 216 of FIG.

【図9】4B5Bブロック符号の内容を示す図である。FIG. 9 is a diagram showing the contents of a 4B5B block code.

【図10】図3に示すスタッフ多重送信装置100にお
けるデータ書き込み時の動作を説明するためのタイミン
グチャートである。
10 is a timing chart for explaining an operation at the time of writing data in the stuff multiplex transmission device 100 shown in FIG.

【図11】図3に示すスタッフ多重送信装置100にお
けるデータ読み出し時の動作を説明するためのタイミン
グチャートである。
11 is a timing chart for explaining an operation at the time of reading data in the stuff multiplex transmission device 100 shown in FIG.

【図12】図4に示すスタッフ多重受信装置200にお
けるデータ書き込み時の動作を説明するためのタイミン
グチャートである。
12 is a timing chart for explaining an operation at the time of writing data in the stuff multiplex reception device 200 shown in FIG.

【図13】図4に示すスタッフ多重受信装置200にお
けるデータ読み出し時の動作を説明するためのタイミン
グチャートである。
13 is a timing chart for explaining an operation at the time of reading data in the stuff multiplex reception device 200 shown in FIG.

【図14】本発明の第2の実施例に係るスタッフ多重送
信装置および受信装置を用いたリング型伝送システムの
構成を示すブロック図である。
FIG. 14 is a block diagram showing a configuration of a ring type transmission system using a stuff multiplex transmission apparatus and a reception apparatus according to a second embodiment of the present invention.

【図15】図14における第1のエラスティックバッフ
ァ172もしくは第2のエラスティックバッファ173
を介して送られるデータのフォーマットを示す図であ
る。
15 is a first elastic buffer 172 or a second elastic buffer 173 in FIG.
It is a figure which shows the format of the data transmitted via.

【図16】図14におけるエラスティックバッファの動
作状態を説明するための図である。
16 is a diagram for explaining an operating state of the elastic buffer in FIG.

【図17】従来のスタッフ多重送信装置の構成を示すブ
ロック図である。
FIG. 17 is a block diagram showing a configuration of a conventional stuff multiplex transmission device.

【図18】従来のスタッフ多重受信装置の構成を示すブ
ロック図である。
FIG. 18 is a block diagram showing a configuration of a conventional stuff multiplex reception device.

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

10…スタッフ多重送信部 20…スタッフ多重受信部 6…幹線伝送路 61…通常系 62…予備系 7…支線伝送路 8…端末 300…伝送路制御部 400…端末収容部 500a〜500c…通信ノード 91…データ部 92…制御部 93…無効部 111…1/m分周器 112…シリアル/パラレル変換器 113…バッファメモリ 113a…選択信号発生回路 113b…送信入力分配器 113c…メモリ回路 113d…送信出力セレクタ 113e…パラレルポート 114…出力クロック発振器 115…1/n分周器 116…位相比較器 117…スタッフ&フレーム制御回路 118…読み出しビット制御回路 119…付加ビット発生回路 120…パラレル/シリアル変換器 121…位置リセット指示回路 211…1/n分周器 212…パラレル/シリアル変換器 213…フレーム同期回路 214…付加ビット除去回路 215…書き込みビット制御回路 216…バッファメモリ 216a…受信入力セレクタ 216b…メモリ回路 216c…受信出力セレクタ 216d…リングカウンタ 217…PLL回路 217a…位相比較器 217b…低域通過フィルタ 217c…VCO 218…位置リセット回路 16…幹線伝送路 160…支線伝送路 161a〜161c…通信ノード 162…端末 163…多重分離部 164…多重送信部 165…低次群信号処理部 166…スタッフ多重受信部 167,171…PLL 168…スタッフ多重送信部 169…動作クロック源 170…端末収容部 172…第1のエラスティックバッファ 173…第2のエラスティックバッファ 174…スイッチ部 10 ... Staff multiplex transmitter 20 ... Staff multiplex receiver 6 ... Trunk transmission line 61 ... Normal system 62 ... Standby system 7 ... Branch line transmission line 8 ... Terminal 300 ... Transmission line control unit 400 ... Terminal accommodating unit 500a to 500c ... Communication node 91 ... Data part 92 ... Control part 93 ... Invalid part 111 ... 1 / m frequency divider 112 ... Serial / parallel converter 113 ... Buffer memory 113a ... Selection signal generating circuit 113b ... Transmission input distributor 113c ... Memory circuit 113d ... Transmission Output selector 113e ... Parallel port 114 ... Output clock oscillator 115 ... 1 / n frequency divider 116 ... Phase comparator 117 ... Stuff & frame control circuit 118 ... Read bit control circuit 119 ... Additional bit generation circuit 120 ... Parallel / serial converter 121 ... Position reset instruction circuit 211 ... 1 / n frequency divider 21 Parallel / serial converter 213 Frame synchronization circuit 214 Additional bit removal circuit 215 Write bit control circuit 216 Buffer memory 216a Reception input selector 216b Memory circuit 216c Reception output selector 216d Ring counter 217 PLL circuit 217a ... phase comparator 217b ... low-pass filter 217c ... VCO 218 ... position reset circuit 16 ... trunk transmission line 160 ... branch transmission lines 161a to 161c ... communication node 162 ... terminal 163 ... demultiplexing unit 164 ... multiplex transmission unit 165 ... low Next group signal processing unit 166 ... Stuff multiplex reception unit 167, 171 ... PLL 168 ... Stuff multiplex transmission unit 169 ... Operating clock source 170 ... Terminal accommodating unit 172 ... First elastic buffer 173 ... Second elastic buffer § 174 ... switch unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力クロック信号に同期してシリアル入
力される入力データをスタッフ多重して、当該入力クロ
ック信号と非同期に動作する伝送路上にフレーム毎にシ
リアル出力するスタッフ多重送信装置であって、 前記入力クロック信号を1/m分周して書き込みクロッ
ク信号を生成する1/m分周手段、 前記入力データをmビット幅のパラレルデータに変換す
るシリアル/パラレル変換手段、 前記伝送路上の伝送クロック信号と同期し、かつ前記入
力クロック信号よりも高い周波数を有する出力クロック
信号を発生する出力クロック信号発生手段、 前記出力クロック信号を1/n分周して読み出しクロッ
ク信号を生成する1/n分周手段、 少なくともkビット(k>n,m)のデータを一時的に
記憶保持する記憶手段、 前記書き込みクロック信号に同期して、前記シリアル/
パラレル変換手段の出力データをmビット順次に前記記
憶手段に書き込む書き込み制御手段、 前記読み出しクロック信号に同期して、前記記憶手段か
らフレーム構造に対応するビット幅(0〜nビット幅)
のデータを読み出す読み出し制御手段、 前記書き込みクロック信号と前記読み出しクロック信号
との間の位相差を検出する位相差検出手段、 前記記憶手段から読み出されたデータに対し、予め定め
られたフレーム位置で、前記位相差検出手段により検出
された位相差が所定値以下になったときに、付加ビット
を挿入し、nビット幅のパラレルデータを出力する付加
ビット挿入手段、および前記付加ビット挿入手段から出
力されるnビット幅のパラレルデータをシリアルデータ
に変換するパラレル/シリアル変換手段を備える、スタ
ッフ多重送信装置。
1. A stuff multiplex transmission device for stuff-multiplexing input data serially input in synchronization with an input clock signal, and serially outputting frame by frame on a transmission line that operates asynchronously with the input clock signal. 1 / m frequency dividing means for dividing the input clock signal by 1 / m to generate a write clock signal, serial / parallel converting means for converting the input data into parallel data having an m-bit width, transmission clock on the transmission path Output clock signal generating means for generating an output clock signal having a frequency higher than that of the input clock signal in synchronization with the signal; 1 / n minute for dividing the output clock signal by 1 / n to generate a read clock signal Peripheral means, storage means for temporarily storing and holding at least k-bit (k> n, m) data, the write clock In synchronization with the lock signal, the serial /
A write control means for writing output data of the parallel conversion means to the storage means in order of m bits, and a bit width (0 to n bit width) corresponding to a frame structure from the storage means in synchronization with the read clock signal.
Read-out control means for reading out data, phase-difference detection means for detecting a phase difference between the write-clock signal and the read-clock signal, at a predetermined frame position with respect to the data read out from the storage means. An additional bit inserting means for inserting an additional bit and outputting parallel data having an n-bit width when the phase difference detected by the phase difference detecting means becomes equal to or less than a predetermined value, and output from the additional bit inserting means A stuff multiplex transmission device comprising parallel / serial conversion means for converting parallel data having an n-bit width to serial data.
【請求項2】 前記書き込みクロック信号と前記読み出
しクロック信号との間の位置関係を所定の位置関係にリ
セットするための位置リセット手段をさらに備える、請
求項1に記載のスタッフ多重送信装置。
2. The stuff multiplex transmission device according to claim 1, further comprising position reset means for resetting a positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship.
【請求項3】 前記付加ビット挿入手段は、前記位置リ
セット手段が位置リセット動作を実行したとき、前記記
憶手段から読み出されたデータに対し、予め定められた
フレーム位置で位置リセット用サービス符号を挿入する
ことを特徴とする、請求項2に記載のスタッフ多重送信
装置。
3. The additional bit inserting means, when the position resetting means performs a position resetting operation, adds a position resetting service code to a data read from the storing means at a predetermined frame position. The stuff multiplex transmission device according to claim 2, wherein the stuff multiplex transmission device is inserted.
【請求項4】 伝送路からスタッフ多重されたデータお
よびクロック信号を受信し、これら受信データおよび受
信クロック信号をスタッフ多重前の元のデータおよび元
のクロック信号に変換するためのスタッフ多重受信装置
であって、 前記受信クロック信号を1/n分周して書き込みクロッ
ク信号を生成する1/n分周手段、 前記受信データをnビット幅のパラレルデータに変換す
るシリアル/パラレル変換手段、 前記受信データにおける付加ビットの挿入位置を判定す
る判定手段、 前記判定手段の判定結果に基づき、読み出しクロック信
号を生成する読み出しクロック生成手段、 少なくともkビット(k>n,m)のデータを一時的に
記憶保持する記憶手段、 前記判定手段の判定結果に基づいて、前記シリアル/パ
ラレル変換手段の出力データから付加ビットを除去する
と共に、当該付加ビットの除去されたデータを前記書き
込みクロック信号に同期して前記記憶手段に書き込む書
き込み制御手段、および前記読み出しクロック信号に同
期して、前記記憶手段からmビット幅のパラレルデータ
を順次的に読み出す読み出し制御手段を備える、スタッ
フ多重受信装置。
4. A stuff multiplex receiving device for receiving stuff-multiplexed data and clock signals from a transmission line and converting these received data and received clock signals into original data and original clock signals before stuff-multiplexing. A 1 / n frequency dividing unit that divides the received clock signal by 1 / n to generate a write clock signal; a serial / parallel conversion unit that converts the received data into parallel data having an n-bit width; Determining means for determining the insertion position of the additional bit in, read clock generating means for generating a read clock signal based on the determination result of the determining means, and temporarily storing and holding at least k bits (k> n, m) of data Storage means for outputting the output of the serial / parallel conversion means based on the determination result of the determination means The additional bit is removed from the data, and the data from which the additional bit is removed is written to the storage means in synchronization with the write clock signal, and the write control means is synchronized with the read clock signal. A stuff multiplex reception device comprising a read control means for sequentially reading parallel data having a bit width.
【請求項5】 前記判定手段が前記受信データに位置リ
セット用サービス符号が挿入されていることを判定した
とき、前記書き込みクロック信号と前記読み出しクロッ
ク信号との間の位置関係を所定の位置関係にリセットす
るための位置リセット手段をさらに備える、請求項4に
記載のスタッフ多重受信装置。
5. The positional relationship between the write clock signal and the read clock signal is set to a predetermined positional relationship when the determination means determines that a position reset service code is inserted in the received data. The stuff multiplex reception device according to claim 4, further comprising position reset means for resetting.
【請求項6】 前記mビット幅のパラレルデータは、デ
ータ符号と制御符号と無効符号とから成るブロック符号
を構成し、 前記読み出し制御手段が読み出すパラレルデータを原デ
ータに復元するブロック符号デコード部、および前記ブ
ロック符号デコード部において、前記無効符号を連続的
に受信した場合に、前記書き込みクロック信号と前記読
み出しクロック信号との間の位置関係を所定の位置関係
にリセットするための位置リセット手段をさらに備え
る、請求項5に記載のスタッフ多重受信装置。
6. A block code decoding unit that restores the parallel data read by the read control unit to original data, wherein the m-bit-width parallel data forms a block code composed of a data code, a control code, and an invalid code. Further, the block code decoding unit further includes position reset means for resetting a positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship when the invalid code is continuously received. The stuff multiplex reception apparatus according to claim 5, comprising.
【請求項7】 それぞれに端末が接続された複数の通信
ノードをリング型の伝送路によって相互に通信可能に結
合したデータ伝送システムであって、 各前記通信ノードは、 前記端末からの入力クロック信号に同期してシリアル入
力される入力データをスタッフ多重して、当該入力クロ
ック信号と非同期に動作する前記伝送路上にフレーム毎
にシリアル出力するスタッフ多重送信装置と、 前記伝送路からスタッフ多重されたデータおよびクロッ
ク信号を受信し、これら受信データおよび受信クロック
信号をスタッフ多重前の元のデータおよび元のクロック
信号に変換するためのスタッフ多重受信装置とを備え、 前記伝送路は、 通常運用時に使用される通常系と、 前記通常系と伝送方向が反対に選ばれており、かつ前記
伝送路の異常発生時に前記通常系と協動して異常発生位
置の手前でループバックされた非常用伝送路を構成する
予備系とを備え、 前記スタッフ多重受信装置は、 前記受信クロック信号を1/n分周して書き込みクロッ
ク信号を生成する1/n分周手段と、 前記受信データをnビット幅のパラレルデータに変換す
るシリアル/パラレル変換手段と、 前記受信データにおける付加ビットの挿入位置を判定す
る判定手段と、 前記判定手段の判定結果に基づき、読み出しクロック信
号を生成する読み出しクロック生成手段と、 少なくともkビット(k>n,m)のデータを一時的に
記憶保持する記憶手段と、 前記判定手段の判定結果に基づいて、前記シリアル/パ
ラレル変換手段の出力データから付加ビットを除去する
と共に、当該付加ビットの除去されたデータを前記書き
込みクロック信号に同期して前記記憶手段に書き込む書
き込み制御手段と、 前記読み出しクロック信号に同期して、前記記憶手段か
らmビット幅のパラレルデータを順次的に読み出す読み
出し制御手段と、 前記判定手段が前記受信データに位置リセット用サービ
ス符号が挿入されていることを判定したとき、前記書き
込みクロック信号と前記読み出しクロック信号との間の
位置関係を所定の位置関係にリセットするための位置リ
セット手段とを含み、 前記予備系には、予め全ての伝送路符号に前記位置リセ
ット用サービス符号と同一論理の符号がセットされてお
り、それによって前記伝送路の異常発生時に前記通常系
と前記予備系とが協動して前記非常用伝送路を形成した
とき、ループバックされた下流の前記通信ノードにおけ
る前記スタッフ多重受信装置は、前記予備系にセットさ
れた符号を前記位置リセット用符号として受信すること
により、内部の前記位置リセット手段が前記書き込みク
ロック信号と前記読み出しクロック信号との間の位置関
係を所定の位置関係にリセットすることを特徴とする、
データ伝送システム。
7. A data transmission system in which a plurality of communication nodes, each of which is connected to a terminal, are communicatively coupled to each other through a ring type transmission line, each communication node being an input clock signal from the terminal. A stuff-multiplexing device that stuff-multiplexes input data serially input in synchronization with each other and serially outputs each frame on the transmission line that operates asynchronously with the input clock signal; and stuff-multiplexed data from the transmission line. And a stuff multiplex receiving device for receiving the clock signal and converting the received data and the received clock signal into the original data before the stuff multiplexing and the original clock signal, the transmission line being used during normal operation. The normal system and the transmission direction of the normal system are opposite to each other, and the The stuff multiplex reception device divides the reception clock signal by 1 / n, and a standby system that cooperates with the normal system to form an emergency transmission line looped back before the position where the abnormality occurs. 1 / n frequency dividing means for generating a write clock signal, serial / parallel converting means for converting the received data into parallel data having an n-bit width, and determining means for determining an insertion position of an additional bit in the received data, A read clock generation unit that generates a read clock signal based on the determination result of the determination unit, a storage unit that temporarily stores and holds at least k-bit (k> n, m) data, and a determination result of the determination unit Based on the above, the additional bits are removed from the output data of the serial / parallel conversion means, and A write control unit that writes to the storage unit in synchronization with a write clock signal; a read control unit that sequentially reads parallel data of m-bit width from the storage unit in synchronization with the read clock signal; and the determination unit. Position reset means for resetting the positional relationship between the write clock signal and the read clock signal to a predetermined positional relationship when it is determined that the position reset service code is inserted in the received data. In the standby system, all the transmission line codes are set in advance with a code having the same logic as the position reset service code, whereby the normal system and the standby system are set when an abnormality occurs in the transmission line. When the emergency transmission path is formed in cooperation with each other, the loopback is performed in the downstream communication node. The tuff multiplex receiving device receives the code set in the standby system as the position reset code so that the internal position resetting means determines a positional relationship between the write clock signal and the read clock signal. Characterized by resetting to the positional relationship of
Data transmission system.
【請求項8】 それぞれに端末が接続された複数の通信
ノードをリング型の伝送路によって相互に通信可能に結
合したデータ伝送システムであって、 各前記通信ノードは、 前記伝送路からスタッフ多重されたデータおよびクロッ
ク信号を受信し、スタッフ多重前の元のデータおよび元
のクロック信号に変換するスタッフ多重受信装置と、 前記端末からの入力クロックにほぼ等しい周波数の動作
クロックを発生する動作クロック源と、 前記端末からの入力クロック信号に同期して入力される
入力データを当該入力クロック信号に同期して格納し、
前記動作クロックに同期して格納データを読み出す第1
のエラスティックバッファと、 前記スタッフ多重受信装置から出力される前記元のデー
タを前記元のクロック信号に同期して格納し、前記動作
クロックに同期して格納データを読み出す第2のエラス
ティックバッファと前記第1または第2のエラスティッ
クバッファから読み出されたデータを、前記動作クロッ
クと非同期に動作する前記伝送路上に、フレーム毎にス
タッフ多重してシリアル出力するスタッフ多重送信装置
とを備える、データ伝送システム。
8. A data transmission system in which a plurality of communication nodes, each of which is connected to a terminal, are communicatively coupled to each other through a ring type transmission line, wherein each of the communication nodes is stuff-multiplexed from the transmission line. Stuff multiplex reception device for receiving the data and the clock signal, and converting them to the original data and the original clock signal before the stuff multiplex; Storing input data input in synchronization with an input clock signal from the terminal in synchronization with the input clock signal,
First to read stored data in synchronization with the operation clock
Elastic buffer, and a second elastic buffer for storing the original data output from the stuff multiplex reception device in synchronization with the original clock signal and reading the stored data in synchronization with the operation clock. A stuff multiplexing transmitter that stuff-multiplexes the data read from the first or second elastic buffer on a frame-by-frame basis and serially outputs the data on the transmission path that operates asynchronously with the operation clock. Transmission system.
JP7020716A 1994-02-10 1995-02-08 Data transmission system, stuff multiplex transmitter and receiver used therefor Pending JPH0870289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7020716A JPH0870289A (en) 1994-02-10 1995-02-08 Data transmission system, stuff multiplex transmitter and receiver used therefor

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-16421 1994-02-10
JP1642194 1994-02-10
JP7020716A JPH0870289A (en) 1994-02-10 1995-02-08 Data transmission system, stuff multiplex transmitter and receiver used therefor

Publications (1)

Publication Number Publication Date
JPH0870289A true JPH0870289A (en) 1996-03-12

Family

ID=26352766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7020716A Pending JPH0870289A (en) 1994-02-10 1995-02-08 Data transmission system, stuff multiplex transmitter and receiver used therefor

Country Status (1)

Country Link
JP (1) JPH0870289A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007259118A (en) * 2006-03-23 2007-10-04 Nec Corp Radio transmission method taking relay transmission into consideration and device thereof
JP2021528881A (en) * 2018-05-01 2021-10-21 デジラム コーポレーション Systems and methods for completing the cascading clock ring bus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007259118A (en) * 2006-03-23 2007-10-04 Nec Corp Radio transmission method taking relay transmission into consideration and device thereof
JP2021528881A (en) * 2018-05-01 2021-10-21 デジラム コーポレーション Systems and methods for completing the cascading clock ring bus

Similar Documents

Publication Publication Date Title
US4667324A (en) Network multiplex structure
EP0565305B1 (en) Transmission of a clock signal over an asynchronous data channel
JPH03179830A (en) Frame phase synchronizing system
EP0500243B1 (en) Distributed bit-by-bit destuffing circuit for byte-stuffed multiframe data
US6396888B1 (en) Digital data transmission system
JPH08204666A (en) Transmission system with control circuit and control circuitwith comparator
US7068679B1 (en) Asynchronous payload mapping using direct phase transfer
US5680422A (en) Method and apparatus for reducing waiting time jitter in pulse stuffing synchronized digital communications
JPH0870289A (en) Data transmission system, stuff multiplex transmitter and receiver used therefor
US5325354A (en) Synchronous terminal station receiving system
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JP3317742B2 (en) Stuff synchronous transmission device
JP4685131B2 (en) Moving average calculation processing method when clock deviation changes
JPH11234237A (en) Communication terminal station device, operation clock selection method therefor and storage medium recorded with control program therefor
JPH10247882A (en) Sdh transmitter
US6442177B1 (en) Method for transmitting a service channel in a plesiochronous frame of said service channel and corresponding transmission system
JP3368516B2 (en) Repeater for New Synchronous Digital Hierarchy
KR930007133B1 (en) Waiting time gitter dropping circuit of synchronous muliple apparatus
EP0282990A2 (en) Digital data multiple conversion system for converting data having a frequency to data having another frequency by a digital stuffing method
JP3031779B2 (en) Parallel staff synchronization method
JPH1022968A (en) Stuff circuit and de-stuff circuit
JPH09247118A (en) Jitter restricting circuit
JP3171087B2 (en) ATM transmission equipment
JPH05244113A (en) Data transmission device
JPH088870A (en) Alarm transfer system in stuff multiplexer