JPH0646023A - Frame phase synchronizing circuit - Google Patents

Frame phase synchronizing circuit

Info

Publication number
JPH0646023A
JPH0646023A JP4195703A JP19570392A JPH0646023A JP H0646023 A JPH0646023 A JP H0646023A JP 4195703 A JP4195703 A JP 4195703A JP 19570392 A JP19570392 A JP 19570392A JP H0646023 A JPH0646023 A JP H0646023A
Authority
JP
Japan
Prior art keywords
frame
pointer
input
zero
payload
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
JP4195703A
Other languages
Japanese (ja)
Inventor
Masato Kobayashi
正人 小林
Hitoshi Uematsu
仁 上松
Hiromi Ueda
裕巳 上田
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.)
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
NEC Corp
Nippon Telegraph and Telephone Corp
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 NEC Corp, Nippon Telegraph and Telephone Corp filed Critical NEC Corp
Priority to JP4195703A priority Critical patent/JPH0646023A/en
Publication of JPH0646023A publication Critical patent/JPH0646023A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To shorten the delay time of a frame phase synchronizing circuit in the condition that bits are synchronized between input and output with respect to the transmission frame having the numerical value (pointer), which indicates the head position of a payload, in the overhead part. CONSTITUTION:A reception pointer value 12 is obtained by a pointer interpreting part 4, and the phase difference (offset pointer value 14) in the payload head position between input and output frames is obtained by an offset detecting part 6, and a substitution pointer value 15 is obtained from the sum of the reception pointer value 12 and the offset pointer value 14 by an addition processing part 7, and thereby, only the phase difference of overhead between the input and the output is absorbed through a variable shift register 8 to deliver data with a minimum delay.

Description

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

【0001】[0001]

【産業上の利用分野】本発明のフレーム位相同期回路は
ディジタル同期端局装置等において、個々の入力伝送回
路の位相を装置内の位相に合わせて多重変換・回線設定
等の処理を行うフレーム位相同期回路に関する。
BACKGROUND OF THE INVENTION The frame phase synchronizing circuit of the present invention is a frame phase synchronizing circuit for performing processing such as multiple conversion and line setting in a digital synchronizing terminal device, etc., by matching the phase of each input transmission circuit with the phase in the device. It relates to a synchronous circuit.

【0002】[0002]

【従来の技術】従来、網同期系で用いられるフレーム位
相同期化回路としては、エラスチッククストア(以下E
S)によるフレームメモリ方式のものがあげられる。
2. Description of the Related Art Conventionally, as a frame phase synchronizing circuit used in a network synchronizing system, an elastic store (hereinafter referred to as E
The frame memory system by S) can be mentioned.

【0003】図3にこの従来の回路の一例を示す。この
回路は入力された入力データ1からポインタ解釈部23
で読みとったペイロードの先頭位置の直前に、ペイロー
ドの先頭である事を示す情報として、先頭フラグ11を
ES20の書込側で挿入し、フレーム生成部9で付加す
るポインタ値の算出基準としている。また、ES20へ
の書込みアドレスと読出しアドレスとをそれぞれ出力す
る入力フレーム同期パルス2を入力とする書込みアドレ
スカウンタ(WAC)21と装置内フレーム同期パルス
10を入力とする読出しアドレスカウンタ(RAC)2
2のフレーム位相を独立に制御することによりEC20
において、受信側の入力フレームデータ1の位相を局内
側フレームの位相に合わせ、その後フレーム生成部9に
おいて新たにポインタを付加することによって、位相同
期を行ない出力データ17として出力する。このとき入
力データの位相変動量に応じてフレームメモリの遅延量
は変化する。
FIG. 3 shows an example of this conventional circuit. This circuit uses the input data 1 that has been input from the pointer interpretation unit 23.
Immediately before the head position of the payload read in step 3, a head flag 11 is inserted on the writing side of ES20 as information indicating that the payload is the head, and is used as a calculation standard for the pointer value added by the frame generation unit 9. Further, a write address counter (WAC) 21 that receives an input frame synchronization pulse 2 that outputs a write address and a read address to the ES 20, and a read address counter (RAC) 2 that receives an in-device frame synchronization pulse 10 as an input.
EC20 by controlling the frame phase of 2 independently
In (1), the phase of the input side frame data 1 on the receiving side is adjusted to the phase of the inner frame of the office, and then a new pointer is added in the frame generation section 9 to perform phase synchronization and output as output data 17. At this time, the delay amount of the frame memory changes according to the phase variation amount of the input data.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のフレー
ム同期化回路は、伝送路の遅延変動がある事を考慮して
いるため、入力信号のポインタと出力信号のポインタの
変化が同時に発生せず、そのため例えば10バイト程度
のバッファメモリが必要である。しかし、入力信号と出
力信号のクロックが同一である場合等、入力信号のポイ
ンタと出力信号のポインタとが同時に変化する場合はバ
ッファメモリは必ずしも必要ではなく、メモリによる遅
延発生が問題となる。また、装置の小型化・低消費電力
化にも不利となる問題がある。
Since the above-mentioned conventional frame synchronization circuit takes into account the delay variation of the transmission path, the pointer of the input signal and the pointer of the output signal do not change at the same time. Therefore, for example, a buffer memory of about 10 bytes is required. However, when the input signal pointer and the output signal pointer change at the same time, such as when the clocks of the input signal and the output signal are the same, the buffer memory is not always necessary, and the delay caused by the memory becomes a problem. In addition, there is a problem that it is disadvantageous to downsize the device and reduce power consumption.

【0005】[0005]

【課題を解決するための手段】本発明のフレーム同期回
路は、入力フレームデータを入力し前記入力フレームデ
ータに対応する入力フレーム同期パルスにより前記入力
フレームデータのペイロードとなる部分の信号を書込み
出力フレーム同期によりこれを読出しペイロードデータ
を出力する可変長シフトレジスタと、前記入力フレーム
データを入力し前記入力フレームデータのペイロードと
なる信号の先頭位置を示すポインタ値を読出すポインタ
解釈部と、前記入力フレームデータを入力し前記ポイン
タ値がゼロとなった時のゼロポインタパルスを出力する
ゼロポインタ検出部と前記ゼロポインタパルスを入力し
前記出力フレーム同期パスルによりこのゼロポインタパ
ルスが出力側フレーム上でゼロとなる位置を示すオフセ
ットポインタ値を出力するオフセット検出部と、前記ポ
インタ値と前記オフセットポインタ値とを入力しこの両
者を加算処理し付替ポイント値を出力する加算処理部
と、前記ペイロードデータと前記付替ポンイント値とを
入力しこの両者を含むオーバヘッドを付加した出力フレ
ームデータを出力するフレーム生成部とを備えている。
The frame synchronization circuit of the present invention inputs input frame data and writes a signal of a portion which becomes a payload of the input frame data by an input frame synchronization pulse corresponding to the input frame data and outputs the frame. A variable length shift register for reading the same in synchronization and outputting payload data, a pointer interpreting unit for inputting the input frame data and reading a pointer value indicating a head position of a signal which is a payload of the input frame data, and the input frame A zero pointer detector that inputs data and outputs a zero pointer pulse when the pointer value becomes zero and the zero pointer pulse is input, and this zero pointer pulse is zero on the output side frame due to the output frame synchronization pulse. The offset pointer value indicating the position An offset detection unit for inputting, the addition value processing unit for inputting the pointer value and the offset pointer value and adding both to output a replacement point value, and inputting the payload data and the replacement point value. And a frame generation unit for outputting output frame data to which an overhead including both of them is added.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図である。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention.

【0007】入力フレームデータ1はポインタ解釈部
4,ゼロポインタ検出部5及び可変長ソフトレジスタ8
へ分配される。可変長シフトレジスタ8への入力フレー
ムデータ1の書込みは書込みクロック発生部(WCG)
18によってペイロードのみ行う。可変長シフトレジス
タ8のデータの読出しは読出しクロック発生部(RC
G)19によって装置内フレームのペイロード部分のみ
に行われ、ペイロードデータ16として出力される。ゼ
ロポインタ検出部5は受信フレーム中でポインタゼロと
なったときにゼロポインタパルス13を出力する。この
パルスはオフセット検出部6へ入力され、出力フレーム
位相を基準としたパルスの位置を示すオフセットポイン
タ値14を割り出す。オフセットポインタ値14と、ポ
インタ解釈部4によって読み出された受信ポインタ値1
2は加算処理部7の二つの入力端子へ接続され、両者の
和をとった後、1フレーム中のペイロードのビット数を
法とする演算を行い、付替ポインタ値15を求める。
The input frame data 1 includes a pointer interpreter 4, a zero pointer detector 5, and a variable length soft register 8.
Is distributed to. The writing of the input frame data 1 to the variable length shift register 8 is performed by the write clock generator (WCG).
Only the payload is done by 18. The data read from the variable length shift register 8 is performed by the read clock generator (RC
G) 19 is performed only on the payload portion of the in-apparatus frame and is output as payload data 16. The zero pointer detector 5 outputs a zero pointer pulse 13 when the pointer becomes zero in the received frame. This pulse is input to the offset detection unit 6, and the offset pointer value 14 indicating the position of the pulse based on the output frame phase is calculated. Offset pointer value 14 and reception pointer value 1 read by the pointer interpreter 4.
Reference numeral 2 is connected to two input terminals of the addition processing unit 7, and after taking the sum of the two, an operation modulo the number of bits of the payload in one frame is performed to obtain a replacement pointer value 15.

【0008】フレーム発生部9はペイロードデータに付
替ポインタ値15を含むオーバーヘッドを付加し、出力
フレームデータ17を生成する。これらの回路からなる
ポインタ処理モジュールは受信信号数分存在する。
The frame generator 9 adds an overhead including a reassignment pointer value 15 to the payload data to generate output frame data 17. There are as many pointer processing modules as these circuits corresponding to the number of received signals.

【0009】また、これらポインタ処理モジュールの制
御を行うためのクロック及びフレーム同期パルスは、ク
ロックについては全て装置内クロックを用い、フレーム
同期パルスについてはポインタ解釈部4,ゼロポインタ
検出部5及び書込クロック発生部18においては、各入
力信号毎に対応する入力フレーム同期パルス2を用い、
オフセット検出部6,加算処理部7,読出クロック発生
部19,及びフレーム生成部9においては、装置内クロ
ックから生成した装置内フレーム同期パルス10を用い
る。
As for the clock and the frame synchronization pulse for controlling these pointer processing modules, the internal clock is used for the clock, and the pointer interpretation unit 4, the zero pointer detection unit 5 and the writing are used for the frame synchronization pulse. In the clock generator 18, the input frame synchronization pulse 2 corresponding to each input signal is used,
The offset detection unit 6, the addition processing unit 7, the read clock generation unit 19, and the frame generation unit 9 use the in-device frame synchronization pulse 10 generated from the in-device clock.

【0010】以上述べた実施例によるポインタ付替の動
作を図2に示す。ここでは1フレーム中のペイロード数
を16バイト、オーバーヘッド(図中Hで示した部分)
を2バイトとして表した。受信フレーム1のペイロード
信号は遅延時間ゼロで出力フレームを構成する。但し、
出力フレーム側でオーバーヘッド挿入を行う点から次に
受信フレーム側のオーバーヘッド部分までの領域につい
ては、可変長シフトレジスタを通してオーバーヘッドの
長さ分(ここでは1バイト)の遅延が与えられる。
The operation of pointer replacement according to the embodiment described above is shown in FIG. Here, the number of payloads in one frame is 16 bytes, overhead (the part shown by H in the figure)
Is represented as 2 bytes. The payload signal of the reception frame 1 constitutes an output frame with zero delay time. However,
In the area from the point where the overhead is inserted on the output frame side to the overhead section on the next reception frame side, a delay of the length of the overhead (here, 1 byte) is given through the variable length shift register.

【0011】受信フレームのゼロポインタ位置aは出力
フレーム位相を基準としたポインタオフセット値bで表
される。bの値は受信フレーム1の場合:b=3,受信
フレーム2の場合:b=8(この場合aの位置はオーバ
ーヘッド部分であるのでオーバーヘッド信号の次に位置
するペイロード信号のポインタ値を与えている)とな
る。このポインタオフセット値bと受信フレームのオー
バーヘッドから読みとった受信ポインタ値pを用いて次
の演算を行い、付替ポインタ値Pを求める。
The zero pointer position a of the received frame is represented by a pointer offset value b based on the output frame phase. The value of b is in the case of received frame 1: b = 3, in the case of received frame 2: b = 8 (In this case, since the position of a is an overhead part, give the pointer value of the payload signal located next to the overhead signal. It will be). The following calculation is performed by using the pointer offset value b and the reception pointer value p read from the overhead of the reception frame to obtain the replacement pointer value P.

【0012】P=[b+p]N (但し、[ ]N はNを法とする演算を表す)図2,に
おいては次のような値が得られる。 受信フレーム1の付替ポインタ値:P=[b+p]N
[6+3]16=9 受信フレーム2の付替ポインタ値:P=[b+b]N
[8+8]16=0 こうして得た付替ポインタ値Pは次の出力フレームのオ
ーバーヘッドに乗せられる。図から解るように、フレー
ム位相同期化によるペイロードの遅延量は任意の受信フ
レーム位相において最悪1バイト分(オーバーヘッド幅
相当)にとどまっている。
P = [b + p] N (where [] N represents an operation modulo N) In FIG. 2, the following values are obtained. Reassignment pointer value of received frame 1: P = [b + p] N =
[6 + 3] 16 = 9 Replacement pointer value of received frame 2: P = [b + b] N =
[8 + 8] 16 = 0 The replacement pointer value P thus obtained is added to the overhead of the next output frame. As can be seen from the figure, the amount of delay of the payload due to the frame phase synchronization is one worst byte (corresponding to the overhead width) in any received frame phase.

【0013】[0013]

【発明の効果】以上説明したように、本発明は受信フレ
ームのゼロポインタ位置から装置内フレームに対する受
信フレームのオフセット値を得、このオフセット値を受
信ポインタ値に加えることにより、受信フレームの位相
を装置内フレームの位相に合わせるためのESを可変長
シフトレジスタに置き換え、メモリ容量の削減を行って
いるので、伝送遅延の低減及び装置の小型化,低消費電
力化の効果がある。また、オフセット値として装置内フ
レーム上でみた受信フレームのポインタゼロ位置を指し
示す値を用いることにより、伝送路フレームのフォーマ
ット(特にオーバーヘッドの数,長さ)に依存せずにオ
フセット値を得ることができる効果がある。
As described above, the present invention obtains the offset value of the received frame with respect to the in-apparatus frame from the zero pointer position of the received frame and adds this offset value to the received pointer value to determine the phase of the received frame. Since the ES for matching the phase of the frame in the device is replaced with the variable length shift register to reduce the memory capacity, there are effects of reduction of transmission delay, downsizing of the device, and low power consumption. Further, by using the value indicating the pointer zero position of the received frame as seen on the in-apparatus frame as the offset value, the offset value can be obtained without depending on the format of the transmission path frame (especially the number and length of overhead). There is an effect that can be done.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1におけるフレーム構成図である。FIG. 2 is a frame configuration diagram in FIG.

【図3】従来例のブロック図である。FIG. 3 is a block diagram of a conventional example.

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

1 入力フレームデータ 2 入力フレーム同期パルス 4 ポインタ解釈部 5 ゼロポインタ検出部 6 オフセット検出部 7 加算処理部 8 可変長シフトレジスタ 9 フレーム生成部 10 装置内フレーム同期パルス 12 受信ポインタ値 13 ゼロポインタパルス 14 オフセットポインタ 15 付替ポインタ 16 ペイロードデータ 17 出力フレームデータ 18 書込クロック発生部(WCG) 19 読出クロック発生部(RCG) a 受信フレームのゼロポインタ位置 b ポインタオフセット値 p 受信ポインタ値 P 付替ポインタ値 1 Input Frame Data 2 Input Frame Synchronization Pulse 4 Pointer Interpretation Section 5 Zero Pointer Detection Section 6 Offset Detection Section 7 Addition Processing Section 8 Variable Length Shift Register 9 Frame Generation Section 10 Device Frame Synchronization Pulse 12 Receive Pointer Value 13 Zero Pointer Pulse 14 Offset pointer 15 Replacement pointer 16 Payload data 17 Output frame data 18 Write clock generation unit (WCG) 19 Read clock generation unit (RCG) a Zero pointer position of received frame b Pointer offset value p Reception pointer value P Replacement pointer value

───────────────────────────────────────────────────── フロントページの続き (72)発明者 上田 裕巳 東京都千代田区内幸町一丁目1番6号日本 電信電話株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Hiromi Ueda 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Inside Nippon Telegraph and Telephone Corporation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力フレームデータを入力し前記入力フ
レームデータに対応する入力フレーム同期パルスにより
前記入力フレームデータのペイロードとなる部分の信号
を書込み出力フレーム同期によりこれを読出しペイロー
ドデータを出力する可変長シフトレジスタと、前記入力
フレームデータを入力し前記入力フレームデータのペイ
ロードとなる信号の先頭位置を示すポインタ値を読出す
ポインタ解釈部と、前記入力フレームデータを入力し前
記ポインタ値がゼロとなった時のゼロポインタパルスを
出力するゼロポインタ検出部と前記ゼロポインタパルス
を入力し前記出力フレーム同期パスルによりこのゼロポ
インタパルスが出力側フレーム上でゼロとなる位置を示
すオフセットポインタ値を出力するオフセット検出部
と、前記ポインタ値と前記オフセットポインタ値とを入
力しこの両者を加算処理し付替ポイント値を出力する加
算処理部と、前記ペイロードデータと前記付替ポンイン
ト値とを入力しこの両者を含むオーバヘッドを付加した
出力フレームデータを出力するフレーム生成部とを備え
ることを特徴とするフレーム位相同期回路。
1. A variable length for inputting input frame data, writing a signal of a portion which becomes a payload of the input frame data by an input frame synchronization pulse corresponding to the input frame data, and reading the signal by output frame synchronization and outputting payload data. A shift register, a pointer interpreting unit for inputting the input frame data and reading a pointer value indicating a head position of a signal which is a payload of the input frame data, and inputting the input frame data, the pointer value becomes zero. Offset detection that outputs the zero pointer pulse that outputs a zero pointer pulse indicating the position where the zero pointer pulse is zero on the output side frame by the input zero frame pulse and the output frame synchronization pulse. Part and the pointer value An addition processing unit that inputs the offset pointer value and performs addition processing on both of them and outputs a replacement point value, and output frame data to which the payload data and the replacement point value are input and an overhead including the both is added And a frame generator for outputting the frame phase synchronizing circuit.
【請求項2】 前記オフセット検出部は、前記オフセッ
トポインタ値が前記出力側フレーム上でゼロとなる位置
を示す代りに出力側フレーム上でN(Nは1以上でペイ
ロードのビット数未満の整数)となる位置を示す値と
し、前記加算処理部は前記Nを減ずることを特徴とする
請求項1記載のフレーム同期回路。
2. The offset detection unit, instead of indicating the position where the offset pointer value becomes zero on the output side frame, is N on the output side frame (N is an integer of 1 or more and less than the number of bits of the payload). 2. The frame synchronization circuit according to claim 1, wherein the addition processing unit subtracts the N by setting a value indicating a position where
JP4195703A 1992-07-23 1992-07-23 Frame phase synchronizing circuit Pending JPH0646023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4195703A JPH0646023A (en) 1992-07-23 1992-07-23 Frame phase synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4195703A JPH0646023A (en) 1992-07-23 1992-07-23 Frame phase synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH0646023A true JPH0646023A (en) 1994-02-18

Family

ID=16345578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4195703A Pending JPH0646023A (en) 1992-07-23 1992-07-23 Frame phase synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH0646023A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097711A1 (en) * 2011-12-30 2013-07-04 中兴通讯股份有限公司 Frame transmission method and device in network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013097711A1 (en) * 2011-12-30 2013-07-04 中兴通讯股份有限公司 Frame transmission method and device in network

Similar Documents

Publication Publication Date Title
US5594743A (en) Fifo buffer system having an error detection and correction device
JPH0646023A (en) Frame phase synchronizing circuit
JPH05199199A (en) Stuff synchronization control system
JP2967748B2 (en) ATM cell synchronization circuit
JP3213389B2 (en) Time division multiplex communication equipment
JP4060270B2 (en) Apparatus and method for delaying video line data between transmitter and receiver
JP3246096B2 (en) Self-diagnosis device for digital equipment
JPH03198544A (en) Parity count circuit
JP2946863B2 (en) Parity counting circuit
JP2806151B2 (en) Frame correlation device
JPH05175930A (en) Destuff circuit
JPS61101142A (en) Data protection circuit
JP2000207287A (en) Storage device
JP3100475B2 (en) STM payload address generation circuit
JP2850875B2 (en) Phase adjustment memory
KR100236833B1 (en) Transport stream packet generator
JPH05120219A (en) Data transmitting circuit
JPH066331A (en) Phase control circuit
JPS6253530A (en) Control information generating circuit for tdma communication equipment
JPH08298494A (en) Frame phase crossover method, frame phase crossover circuit and pointer processing circuit
JPH0856223A (en) Cell data transmitter
JPH10334655A (en) Data delay generating circuit
JP2000173260A (en) Memory control circuit
JPH0422241A (en) Line adaptor for standard interface
JPH10135844A (en) Serial/parallel converter