JPH06244831A - Frame synchronization establishment circuit - Google Patents

Frame synchronization establishment circuit

Info

Publication number
JPH06244831A
JPH06244831A JP5030860A JP3086093A JPH06244831A JP H06244831 A JPH06244831 A JP H06244831A JP 5030860 A JP5030860 A JP 5030860A JP 3086093 A JP3086093 A JP 3086093A JP H06244831 A JPH06244831 A JP H06244831A
Authority
JP
Japan
Prior art keywords
sync
synchronization
bit
circuit
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5030860A
Other languages
Japanese (ja)
Other versions
JP2648430B2 (en
Inventor
Akira Inoue
章 井上
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.)
Fujitsu Ltd
Fujitsu Kansai Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Kansai Communication Systems 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 Fujitsu Ltd, Fujitsu Kansai Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP5030860A priority Critical patent/JP2648430B2/en
Publication of JPH06244831A publication Critical patent/JPH06244831A/en
Application granted granted Critical
Publication of JP2648430B2 publication Critical patent/JP2648430B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 本発明はフレーム同期確立回路に関し、特
に、M同期パターンを監視することにより疑似同期を防
ぐことを目的とする。 【構成】 入力データの各フレームからF同期パターン
とM同期パターンの二つの同期パターンと一致する同期
ビットを検出しその同期ビットから同じフレーム間隔で
M同期ビットを順次読み取る同期ビット検出回路1と、
M同期ビットをカウントするとともに所定数を越えると
リセットして読み取りのタイミングを1ビットシフトさ
せるリセット信号を出力するM同期ビットカウンタ2
と、M同期ビットカウンタ2のカウント動作を停止する
カウント停止回路3と、所定数のM同期ビットの中に
“0”があるか否か判定し、“0”があればカウント停
止回路3に停止信号を出力し、以後読み取られる所定数
のM同期ビットが正規のM同期パターンと一致するか否
か判定し、一致すればフレーム同期確立信号を出力する
M同期ビット監視回路4から構成される。
(57) [Abstract] [Object] The present invention relates to a frame synchronization establishment circuit, and particularly, an object thereof is to prevent pseudo synchronization by monitoring an M synchronization pattern. A sync bit detection circuit 1 for detecting a sync bit that matches two sync patterns of an F sync pattern and an M sync pattern from each frame of input data and sequentially reading M sync bits from the sync bit at the same frame interval,
M sync bit counter 2 which counts M sync bits and outputs a reset signal for resetting and shifting the read timing by 1 bit when a predetermined number is exceeded
And a count stop circuit 3 for stopping the counting operation of the M sync bit counter 2 and whether or not there is "0" in a predetermined number of M sync bits. The M synchronization bit monitoring circuit 4 outputs a stop signal, determines whether or not a predetermined number of M synchronization bits read thereafter match a regular M synchronization pattern, and outputs a frame synchronization establishment signal if they match. .

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ通信の回線終端装
置に搭載されるフレーム同期確立回路に関し、特に、フ
レームの同期パターンを確立する際の疑似同期を防ぐた
めのM同期パターンを監視するフレーム同期確立回路に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization establishing circuit mounted on a line terminating device for data communication, and more particularly to a frame for monitoring an M synchronization pattern for preventing pseudo synchronization when establishing a frame synchronization pattern. It relates to a synchronization establishment circuit.

【0002】[0002]

【従来の技術】先ず、一般に、回線終端装置のフレーム
同期確立回路における同期パターンと同期の確立につい
て説明する。図3は長距離モード時の同期パターンと入
力データのマルチフレームを示す説明図である。図3に
おいて、長距離モードでデータ通信を行う際に、0.2
5msの間隔で繰り返す入力データのフレームの各先頭
にはF同期パターン(F0,F1)とM同期パターンが含
んでおり、同期パターン確立回路は、フレームのF同期
パターン(F0,F1)とM同期パターンを検出し同一で
あるか否かを判定してフレーム同期を確立させている。
2. Description of the Related Art Generally, a synchronization pattern and establishment of synchronization in a frame synchronization establishment circuit of a line termination device will be described. FIG. 3 is an explanatory diagram showing a synchronization pattern and a multi-frame of input data in the long distance mode. In FIG. 3, when performing data communication in the long distance mode,
The F-sync pattern (F0, F1) and the M-sync pattern are included at the beginning of each frame of the input data that is repeated at intervals of 5 ms, and the sync-pattern establishing circuit uses the F-sync pattern (F0, F1) and the M-sync of the frame. Frame synchronization is established by detecting patterns and determining whether they are the same.

【0003】また、図4は短距離モード時の同期パター
ンと入力データのマルチフレームを示す説明図である。
図4において、短距離モードでデータ通信を行う際に、
0.125ms毎に繰り返す入力データのフレームの各
先頭にはF同期パターンとM同期パターンが含んでお
り、同期パターン確立回路は、フレームのF同期パター
ンとM同期パターンを検出し同一であるか否かを判定し
てフレーム同期を確立させている。
FIG. 4 is an explanatory diagram showing a synchronization pattern and a multi-frame of input data in the short distance mode.
In FIG. 4, when performing data communication in the short distance mode,
Each head of a frame of input data that repeats every 0.125 ms includes an F synchronization pattern and an M synchronization pattern, and the synchronization pattern establishment circuit detects the F synchronization pattern and the M synchronization pattern of the frame and determines whether they are the same. It is determined whether or not frame synchronization is established.

【0004】図5は従来のフレーム同期確立回路の構成
を示すブロック図である。図5に示すように、従来の回
線終端装置のフレーム同期確立回路は、入力データとと
もに入力される同期パターンのF同期パターン(F0,
F1)とM同期パターンとを分け、F同期確立回路51
でF同期パターン(F0,F1)を検出してでフレーム同
期を確立させ、その後、M同期確立回路52でM同期パ
ターンを検出してフレーム同期を確立させるという2段
階の同期確立回路であった。例えば、長距離短距離モー
ドでいえば、F同期パターン(F0,F1)=(1,
1),(1,0),(1,1),(1,0)・・・・の
パターンが8個続くとフレーム同期が確立し、続いて、
M=0を検出してから、8番目のフレームのM=0を検
出してマルチフレーム同期を確立させていた。
FIG. 5 is a block diagram showing the structure of a conventional frame synchronization establishing circuit. As shown in FIG. 5, the frame synchronization establishing circuit of the conventional line termination device uses the F synchronization pattern (F0, F0,
F1) and the M sync pattern are separated and the F sync establishment circuit 51
The F-sync pattern (F0, F1) is detected by to establish the frame sync with, and then the M sync establishing circuit 52 detects the M sync pattern to establish the frame sync. . For example, in the long-distance short-distance mode, the F synchronization pattern (F0, F1) = (1,
Frame synchronization is established when eight patterns of 1), (1,0), (1,1), (1,0) ... Continue, and subsequently,
After detecting M = 0, M = 0 of the eighth frame was detected to establish multiframe synchronization.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
回線終端装置のフレーム同期確立回路においては、例え
ば、図6に示す疑似同期パターンを含む入力データの一
例を示す説明図のように、入力データ中に0.25ms
の間隔で(1,1),(1,0),(1,1),(1,
0)・・・・のようなF同期パターンと同じデータが含
まれていたとすると、これを同期パターンと見なし、同
期が確立することが起こる。従って、端末立ち上げ時、
又は、交換機の系切替え時に、まず、疑似F同期が確立
されると、次いで疑似M同期を待ち続けたり、疑似M同
期も確立しても、この疑似同期パターンにより回線が接
続されなかったり、データが破壊されるという問題が生
じていた。
However, in the frame synchronization establishing circuit of the conventional line termination device, for example, as shown in the explanatory diagram showing an example of the input data including the pseudo synchronization pattern shown in FIG. 0.25 ms
(1,1), (1,0), (1,1), (1,
If the same data as the F synchronization pattern such as 0) ... Is included, this is regarded as a synchronization pattern and synchronization may be established. Therefore, when starting up the terminal,
Or, at the time of switching the system of the exchange, if the pseudo F synchronization is first established, then the pseudo M synchronization is kept waiting, or even if the pseudo M synchronization is established, the line is not connected due to this pseudo synchronization pattern, There was a problem that was destroyed.

【0006】本発明は、以上の事情を考慮してなされた
ものであり、同期パターンのF同期パターンとM同期パ
ターンを同時に監視して正規の同期パターンでのみ同期
を確立させ、疑似同期パターンの確立を防止することが
できるフレーム同期確立回路を提供するものである。
The present invention has been made in consideration of the above circumstances. The F-sync pattern and the M-sync pattern of the sync pattern are simultaneously monitored to establish the synchronization only by the regular sync pattern, and the pseudo sync pattern is generated. A frame synchronization establishment circuit capable of preventing establishment.

【0007】[0007]

【課題を解決するための手段】図1は本発明の構成を示
すブロック図である。図1において、本発明は、データ
通信の各フレームの先頭に含むF同期パターンとM同期
パターンからフレーム同期を確立するフレーム同期確立
回路において、入力データの各フレームからF同期パタ
ーンとM同期パターンの二つの同期パターンと一致する
同期ビットを検出しその同期ビットから同じフレーム間
隔でM同期ビットを順次読み取る同期ビット検出回路1
と、M同期ビットをカウントするとともに所定数を越え
るとリセットして同期ビット検出のタイミングを1ビッ
トシフトさせるリセット信号を出力するM同期ビットカ
ウンタ2と、M同期ビットカウンタ2のカウント動作を
停止するカウント停止回路3と、所定数のM同期ビット
の中に“0”があるか否か判定し、“0”があればカウ
ント停止回路3に停止信号を出力し、以後読み取られる
所定数のM同期ビットが正規のM同期パターンと一致す
るか否か判定し、一致すればフレーム同期確立信号を出
力するM同期ビット監視回路4を備えてなることを特徴
とする。
FIG. 1 is a block diagram showing the configuration of the present invention. In FIG. 1, the present invention relates to a frame synchronization establishing circuit that establishes frame synchronization from an F synchronization pattern and an M synchronization pattern included at the beginning of each frame of data communication, in which an F synchronization pattern and an M synchronization pattern are input from each frame of input data. A sync bit detection circuit 1 which detects sync bits matching two sync patterns and sequentially reads M sync bits from the sync bits at the same frame intervals.
Then, the M synchronization bit counter 2 that counts the M synchronization bits and outputs a reset signal that resets when the predetermined number is exceeded and shifts the synchronization bit detection timing by 1 bit, and the counting operations of the M synchronization bit counter 2 are stopped. The count stop circuit 3 and the predetermined number of M sync bits are judged whether or not there is "0", and if there is "0", a stop signal is output to the count stop circuit 3 and a predetermined number of M read thereafter. It is characterized in that it is provided with an M sync bit monitor circuit 4 which judges whether or not the sync bit matches the regular M sync pattern, and outputs a frame sync establishment signal if it matches.

【0008】前記M同期ビット監視回路4は、前記同期
ビット検出回路1からの所定数のM同期ビットの中に
“0”がない場合、あるいは“0”を判定した後の所定
数のM同期ビットが正規のM同期パターンと一致しない
場合に疑似同期と判定してリセット信号を出力するよう
に構成されることが好ましい。
The M sync bit monitoring circuit 4 detects the "0" in the predetermined number of M sync bits from the sync bit detecting circuit 1 or a predetermined number of M sync bits after the "0" is determined. It is preferable that when the bit does not match the regular M sync pattern, it is determined as pseudo sync and a reset signal is output.

【0009】前記同期ビット検出回路1は、M同期ビッ
トを順次読み取り中に前記M同期ビットカウンタ2また
は前記M同期ビット監視回路4からのリセット信号を受
けた際に、F同期パターンとM同期パターンの二つの同
期パターンと一致する同期ビットの検出を1ビットシフ
トしたタイミングで順次検出するように構成されること
が好ましい。
When the sync bit detecting circuit 1 receives a reset signal from the M sync bit counter 2 or the M sync bit monitoring circuit 4 while sequentially reading the M sync bits, the F sync pattern and the M sync pattern. It is preferable that the detection of the sync bit that matches the two sync patterns of 1 is sequentially detected at the timing shifted by 1 bit.

【0010】前記カウント停止回路3は、M同期ビット
監視回路4からの停止信号によりM同期ビットカウンタ
2のカウント動作を停止させリセット信号の出力を停止
させるように構成されることが好ましい。
The count stop circuit 3 is preferably configured to stop the count operation of the M sync bit counter 2 and stop the output of the reset signal by a stop signal from the M sync bit monitor circuit 4.

【0011】長距離モードでデータ通信が行われる際
に、前記同期ビット検出回路1により入力データのフレ
ームから検出される初期の同期ビット(F0、F1、M)
は、(1、0、1)、または(1、1、1)、または
(1、1、0)の同期パターンであることが好ましい。
When data communication is performed in the long distance mode, the initial sync bits (F0, F1, M) detected from the frame of the input data by the sync bit detection circuit 1 described above.
Is preferably a synchronization pattern of (1, 0, 1), (1, 1, 1), or (1, 1, 0).

【0012】なお、本発明において、データ通信の各フ
レームの先頭に含むF同期パターンとM同期パターンか
らフレーム同期を確立するフレーム同期確立回路におい
て、同期ビット検出回路1、M同期ビットカウンタ2、
カウント停止回路3、M同期ビット監視回路4としては
回線終端LSIに搭載されるフレーム同期確立回路とし
て構成される。この回線終端LSIはTTL、またはC
MOS等のゲートアレイで構成されてもよい。また、回
線終端LSIはCPU、ROM、RAM、I/Oポート
からなるマイクロコンピュータを用いてもよい。
In the present invention, in the frame synchronization establishment circuit for establishing frame synchronization from the F synchronization pattern and the M synchronization pattern included at the beginning of each frame of data communication, the synchronization bit detection circuit 1, the M synchronization bit counter 2,
The count stop circuit 3 and the M synchronization bit monitoring circuit 4 are configured as a frame synchronization establishment circuit mounted on the line termination LSI. This line termination LSI is TTL or C
It may be configured by a gate array such as MOS. Further, as the line termination LSI, a microcomputer including a CPU, ROM, RAM and I / O port may be used.

【0013】[0013]

【作用】本発明によれば、データ通信の各フレームの先
頭に含むF同期パターンとM同期パターンからフレーム
同期を確立するフレーム同期確立回路において、同期ビ
ット検出回路1が入力データの各フレームからF同期パ
ターンとM同期パターンの二つの同期パターンと一致す
る同期ビットを検出しその同期ビットから同じフレーム
間隔でM同期ビットを順次読み取ると、M同期ビットカ
ウンタ2はカウンタ停止回路3からカウント動作を停止
する停止信号が出力されるまで読み取られたM同期ビッ
トをカウントするとともに所定数を越えると疑似同期と
してリセット信号を出力し同期ビット検出回路1の読み
取りのタイミングを1ビットシフトさせる。また、M同
期ビット監視回路4は同期ビット検出回路1により同期
ビットが検出されてから所定数のM同期ビットの中に
“0”があるか否か判定し、“0”があればカウント停
止回路3に停止信号を出力しM同期ビットカウンタ2か
ら出力されるリセット信号を停止させ、以後読み取られ
る所定数のM同期ビットが正規のM同期パターンと一致
するか否か比較し、一致すればフレーム同期が確立した
と判定してフレーム同期確立信号を出力する。
According to the present invention, in the frame synchronization establishing circuit that establishes frame synchronization from the F synchronization pattern and the M synchronization pattern included at the beginning of each frame of data communication, the synchronization bit detection circuit 1 performs F from each frame of input data. When a sync bit that matches two sync patterns of the sync pattern and the M sync pattern is detected and the M sync bits are sequentially read from the sync bit at the same frame interval, the M sync bit counter 2 stops the counting operation from the counter stop circuit 3. The number of read M synchronization bits is counted until a stop signal is output, and when a predetermined number is exceeded, a reset signal is output as pseudo synchronization and the timing of reading by the synchronization bit detection circuit 1 is shifted by 1 bit. Further, the M sync bit monitoring circuit 4 judges whether or not there is "0" in a predetermined number of M sync bits after the sync bit is detected by the sync bit detection circuit 1, and if there is "0", the count is stopped. A stop signal is output to the circuit 3 to stop the reset signal output from the M sync bit counter 2, and a comparison is made as to whether or not a predetermined number of M sync bits to be read subsequently match the regular M sync pattern. It determines that frame synchronization has been established and outputs a frame synchronization establishment signal.

【0014】前記M同期ビット監視回路4は、前記同期
ビット検出回路1からの所定数のM同期ビットの中に
“0”がない場合、あるいは“0”を判定した後の所定
数のM同期ビットが正規のM同期パターンと一致しない
場合に疑似同期と判定してリセット信号を出力するので
疑似同期を確立しない。
The M sync bit monitor circuit 4 detects the "0" in the predetermined number of M sync bits from the sync bit detection circuit 1 or the predetermined number of M sync bits after the "0" is determined. If the bit does not match the regular M sync pattern, it is determined as pseudo sync and a reset signal is output, so pseudo sync is not established.

【0015】前記同期ビット検出回路1は、M同期ビッ
トを順次読み取り中に前記M同期ビットカウンタ2また
は前記M同期ビット監視回路4からのリセット信号を受
けた際に、F同期パターンとM同期パターンの二つの同
期パターンと一致する同期ビットの検出を1ビットシフ
トしたタイミングで順次検出するので同期が確立しない
場合順次同期ビットを検出することができる。
When the sync bit detecting circuit 1 receives a reset signal from the M sync bit counter 2 or the M sync bit monitoring circuit 4 while sequentially reading the M sync bits, the F sync pattern and the M sync pattern. Since the detection of the sync bit that matches the two sync patterns of 1 is sequentially detected at the timing shifted by 1 bit, the sequential sync bit can be detected when the synchronization is not established.

【0016】前記カウント停止回路3は、M同期ビット
監視回路4からの停止信号によりM同期ビットカウンタ
2のカウント動作を停止させリセット信号の出力を停止
させるので、前記M同期ビット監視回路4は“0”を判
定した後の所定数のM同期ビットが正規のM同期パター
ンと一致するか否か判定することができる。
Since the count stop circuit 3 stops the count operation of the M sync bit counter 2 and the output of the reset signal by the stop signal from the M sync bit monitor circuit 4, the M sync bit monitor circuit 4 is " It is possible to determine whether or not the predetermined number of M synchronization bits after determining "0" match the regular M synchronization pattern.

【0017】長距離モードでデータ通信が行われる際
に、前記同期ビット検出回路1により入力データのフレ
ームから検出される初期の同期ビット(F0、F1、M)
は、(1、0、1)、または(1、1、1)、または
(1、1、0)の同期パターンであるので同期ビット検
出回路の構成が簡単になる。
When data communication is performed in the long distance mode, initial sync bits (F0, F1, M) detected from the frame of the input data by the sync bit detection circuit 1
Is a synchronization pattern of (1, 0, 1), or (1, 1, 1), or (1, 1, 0), the configuration of the synchronization bit detection circuit is simplified.

【0018】[0018]

【実施例】以下図に示す実施例に基づいて本発明を詳細
する。なお、これによって本発明は限定されるものでな
い。
The present invention will be described in detail with reference to the examples shown in the drawings. The present invention is not limited to this.

【0019】図2は本発明を回線終端LSIのフレーム
同期確立回路に適用した一実施例を示すブロック図であ
る。図2において、図1と同じ構成回路は同番号を付し
ている。1は同期ビット検出回路、2はM同期ビットカ
ウンタ、3はカウント停止回路、4はM同期ビット監視
回路、5はアンドゲート、6はオアゲートとしては回線
終端LSIに搭載されるフレーム同期確立回路として構
成される。
FIG. 2 is a block diagram showing an embodiment in which the present invention is applied to a frame synchronization establishing circuit of a line termination LSI. In FIG. 2, the same components as those in FIG. 1 have the same numbers. 1 is a synchronization bit detection circuit, 2 is an M synchronization bit counter, 3 is a count stop circuit, 4 is an M synchronization bit monitoring circuit, 5 is an AND gate, and 6 is an OR gate as a frame synchronization establishment circuit mounted on a line termination LSI. Composed.

【0020】同期ビット検出回路1は、長距離モードで
データ通信する際に、先ず、入力データの各フレームか
らF同期パターンとM同期パターンの二つの同期パター
ンと一致する初期の同期ビット(F0、F1、M)が
(1、0、1)、または(1、1、1)、または(1、
1、0)の同期パターンを検出する。この同期ビットが
検出されない場合はリセット信号を出力し同期ビットの
検出を1ビットシフトしたタイミングで順次検出する。
同期ビットが検出されるとその同期ビットから同じフレ
ーム間隔(0.25ms)のタイミングでM同期ビット
を順次読み取る。
When performing data communication in the long-distance mode, the sync bit detection circuit 1 first detects an initial sync bit (F0, F0, F0, M0) that matches two sync patterns of an F sync pattern and an M sync pattern from each frame of input data. F1, M) is (1, 0, 1), or (1, 1, 1), or (1,
The sync pattern of (1, 0) is detected. When this sync bit is not detected, a reset signal is output and the sync bits are sequentially detected at the timing shifted by one bit.
When a sync bit is detected, M sync bits are sequentially read from the sync bit at the same frame interval (0.25 ms).

【0021】M同期ビット監視回路4は、同期ビット検
出回路1により同期ビットが検出されてから読み取られ
る8個のM同期ビットの中に“0”があるか否か判定
し、“0”があればカウント停止回路3に停止信号(M
=0)を出力し、“0”がない場合は検出された同期ビ
ット(F0、F1、M)が疑似同期ビットとしてリセット
信号を出力する。カウント停止回路3は、一時、停止信
号(M=0)をラッチしてM同期ビットカウンタ2に接
続されているアンドゲート2aに入力する。M同期ビッ
トカウンタ2は、入力された停止信号がM=0のときは
アンドゲート5によりM同期ビットは入力されないので
カウント動作を停止する。従って、8個以上カウントす
ることがないのでリセット信号を出力しない。しし、停
止信号がM=1のときはM同期ビットは順次カウントさ
れので8個カウント毎にリセット信号を出力する。
The M sync bit monitor circuit 4 judges whether or not there is a "0" in the eight M sync bits read after the sync bit is detected by the sync bit detection circuit 1, and the "0" is detected. If there is a stop signal (M
= 0), and if there is no "0", the detected sync bits (F0, F1, M) output a reset signal as a pseudo sync bit. The count stop circuit 3 temporarily latches the stop signal (M = 0) and inputs it to the AND gate 2 a connected to the M synchronization bit counter 2. When the input stop signal is M = 0, the M sync bit counter 2 stops the counting operation because the M sync bit is not input by the AND gate 5. Therefore, the reset signal is not output because eight or more are not counted. However, when the stop signal is M = 1, the M sync bits are sequentially counted, so that a reset signal is output every eight counts.

【0022】M同期ビット監視回路4は、カウント停止
回路3に停止信号(M=0)を出力すると、さらに8個
のM同期ビットが正規のM同期パターン(1、1、1、
1、1、1、1、0)と一致するか否か判定し、一致す
ればフレーム同期確立信号を出力する。一致しない場合
は、疑似同期パターンとしてリセット信号を出力する。
同期ビット検出回路1、M同期ビットカウンタ2、M同
期ビット監視回路4から出力されるリセット信号がオア
ゲート6を介して各回路のリセット入力端子に入力され
ることによりリセットされ同期ビットの検出が1ビット
シフトしたタイミングで順次検出されフレーム同期が確
立するまで繰り返される。
When the stop signal (M = 0) is output to the count stop circuit 3, the M sync bit monitor circuit 4 further outputs eight M sync bits to the regular M sync pattern (1, 1, 1,
(1, 1, 1, 1, 0), and if they match, a frame synchronization establishment signal is output. If they do not match, a reset signal is output as a pseudo sync pattern.
The reset signal output from the sync bit detection circuit 1, the M sync bit counter 2, and the M sync bit monitoring circuit 4 is input to the reset input terminal of each circuit via the OR gate 6 to reset the sync bit to 1 It is sequentially detected at the bit-shifted timing and is repeated until frame synchronization is established.

【0023】上記の実施例では長距離モード時の構成を
示しているが、短距離モード時において、F同期パター
ンとM同期パターンの二つの同期パターンと一致する初
期の同期ビット(F、M)が(1、1)、または(1、
0)の同期パターンを検出すると、M同期ビットが16
パターン毎に“0”であること(図4参照)を判定して
フレーム同期を確立することができる。
In the above embodiment, the structure in the long distance mode is shown. However, in the short distance mode, an initial sync bit (F, M) that matches two sync patterns of an F sync pattern and an M sync pattern. Is (1, 1), or (1,
0) the sync pattern is detected, the M sync bit is 16
It is possible to establish frame synchronization by determining that each pattern is "0" (see FIG. 4).

【0024】[0024]

【発明の効果】本発明によれば、端末立上げ時、又は交
換機の系切替え時に疑似同期が確立することがなくなる
という効果がある。よって、回線がつながらなかった
り、通信中のデータを破壊することがなくなるため、通
信の品質向上に寄与するところが大きい。
According to the present invention, it is possible to prevent the pseudo synchronization from being established when the terminal is started up or the system of the exchange is switched. Therefore, the line is not connected or the data being communicated is not destroyed, which greatly contributes to the improvement of communication quality.

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

【図1】本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】本発明を回線終端LSIのフレーム同期確立回
路に適用した一実施例を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment in which the present invention is applied to a frame synchronization establishing circuit of a line termination LSI.

【図3】長距離モード時の同期パターンと入力データの
マルチフレームを示す説明図である。
FIG. 3 is an explanatory diagram showing a synchronization pattern and a multi-frame of input data in a long distance mode.

【図4】短距離モード時の同期パターンと入力データの
マルチフレームを示す説明図である。
FIG. 4 is an explanatory diagram showing a synchronization pattern and a multi-frame of input data in the short distance mode.

【図5】従来のフレーム同期確立回路の構成を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration of a conventional frame synchronization establishing circuit.

【図6】疑似同期パターンを含む入力データの一例を示
す説明図である。
FIG. 6 is an explanatory diagram showing an example of input data including a pseudo synchronization pattern.

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

1 同期ビット検出回路 2 M同期ビットカウンタ 3 カウント停止回路 4 M同期ビット監視回路 5 アンドゲート 6 オアゲート 1 sync bit detection circuit 2 M sync bit counter 3 count stop circuit 4 M sync bit monitor circuit 5 AND gate 6 OR gate

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 データ通信の各フレームの先頭に含むF
同期パターンとM同期パターンからフレーム同期を確立
するフレーム同期確立回路において、入力データの各フ
レームからF同期パターンとM同期パターンの二つの同
期パターンと一致する同期ビットを検出しその同期ビッ
トから同じフレーム間隔でM同期ビットを順次読み取る
同期ビット検出回路(1)と、M同期ビットをカウント
するとともに所定数を越えるとリセットして同期ビット
検出のタイミングを1ビットシフトさせるリセット信号
を出力するM同期ビットカウンタ(2)と、M同期ビッ
トカウンタ(2)のカウント動作を停止するカウント停
止回路(3)と、所定数のM同期ビットの中に“0”が
あるか否か判定し、“0”があればカウント停止回路
(3)に停止信号を出力し、以後読み取られる所定数の
M同期ビットが正規のM同期パターンと一致するか否か
判定し、一致すればフレーム同期確立信号を出力するM
同期ビット監視回路(4)を備えてなることを特徴とす
るフレーム同期確立回路。
1. An F included at the beginning of each frame of data communication
In a frame synchronization establishing circuit that establishes frame synchronization from a sync pattern and an M sync pattern, a sync bit that matches two sync patterns of an F sync pattern and an M sync pattern is detected from each frame of input data, and the same frame is detected from the sync bit. A sync bit detection circuit (1) that sequentially reads M sync bits at intervals, and an M sync bit that counts the M sync bits and outputs a reset signal that resets and shifts the sync bit detection timing by 1 bit when a predetermined number is exceeded. A counter (2), a count stop circuit (3) for stopping the counting operation of the M synchronization bit counter (2), and whether or not "0" is present in a predetermined number of M synchronization bits, is determined to be "0". If there is, a stop signal is output to the count stop circuit (3) so that a predetermined number of M sync bits read thereafter are normal. Whether determined to match the M sync pattern, it outputs a frame synchronization establishment signal if they match M
A frame synchronization establishment circuit comprising a synchronization bit monitoring circuit (4).
【請求項2】 前記M同期ビット監視回路(4)は、前
記同期ビット検出回路(1)からの所定数のM同期ビッ
トの中に“0”がない場合、あるいは“0”を判定した
後の所定数のM同期ビットが正規のM同期パターンと一
致しない場合に疑似同期と判定してリセット信号を出力
することを特徴とする請求項1記載のフレーム同期確立
回路。
2. The M sync bit monitoring circuit (4) is provided when there is no "0" in the predetermined number of M sync bits from the sync bit detection circuit (1), or after determining "0". 2. The frame synchronization establishment circuit according to claim 1, wherein when a predetermined number of M synchronization bits of the above are not coincident with a regular M synchronization pattern, it is determined as pseudo synchronization and a reset signal is output.
【請求項3】 前記同期ビット検出回路(1)は、M同
期ビットを順次読み取り中に前記M同期ビットカウンタ
(2)または前記M同期ビット監視回路(4)からのリ
セット信号を受けた際に、F同期パターンとM同期パタ
ーンの二つの同期パターンと一致する同期ビットの検出
を1ビットシフトしたタイミングで順次検出することを
特徴とする請求項1記載のフレーム同期確立回路。
3. The synchronization bit detection circuit (1) receives a reset signal from the M synchronization bit counter (2) or the M synchronization bit monitoring circuit (4) while sequentially reading M synchronization bits. 2. The frame synchronization establishment circuit according to claim 1, wherein the detection of the sync bit that matches the two sync patterns of the F sync pattern and the M sync pattern is sequentially detected at a timing shifted by 1 bit.
【請求項4】 前記カウント停止回路(3)は、M同期
ビット監視回路(4)からの停止信号によりM同期ビッ
トカウンタ(2)のカウント動作を停止させリセット信
号の出力を停止させることを特徴とする特徴とする請求
項1記載のフレーム同期確立回路。
4. The count stop circuit (3) stops the count operation of the M sync bit counter (2) and the output of the reset signal by a stop signal from the M sync bit monitor circuit (4). The frame synchronization establishing circuit according to claim 1, wherein:
【請求項5】 長距離モードでデータ通信が行われる際
に、前記同期ビット検出回路(1)により入力データの
フレームから検出される初期の同期ビット(F0、F1、
M)は、(1、0、1)、または(1、1、1)、また
は(1、1、0)の同期パターンであることを特徴とす
る請求項1記載のフレーム同期確立回路。
5. An initial sync bit (F0, F1, F1) detected from a frame of input data by the sync bit detection circuit (1) when data communication is performed in a long distance mode.
2. The frame synchronization establishing circuit according to claim 1, wherein M) is a synchronization pattern of (1, 0, 1), (1, 1, 1), or (1, 1, 0).
JP5030860A 1993-02-19 1993-02-19 Frame synchronization establishment circuit Expired - Lifetime JP2648430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5030860A JP2648430B2 (en) 1993-02-19 1993-02-19 Frame synchronization establishment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5030860A JP2648430B2 (en) 1993-02-19 1993-02-19 Frame synchronization establishment circuit

Publications (2)

Publication Number Publication Date
JPH06244831A true JPH06244831A (en) 1994-09-02
JP2648430B2 JP2648430B2 (en) 1997-08-27

Family

ID=12315483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5030860A Expired - Lifetime JP2648430B2 (en) 1993-02-19 1993-02-19 Frame synchronization establishment circuit

Country Status (1)

Country Link
JP (1) JP2648430B2 (en)

Also Published As

Publication number Publication date
JP2648430B2 (en) 1997-08-27

Similar Documents

Publication Publication Date Title
US5191655A (en) Interface arrangement for facilitating data communication between a computer and peripherals
JPH07297853A (en) Extensible Round Robin Local Area Hub Network
JP2648430B2 (en) Frame synchronization establishment circuit
JP2000269988A (en) Multiple address data transmission system
US5208840A (en) Method and arrangement for detecting framing bit sequence in digital data communications system
JPS59161956A (en) Transmission controller
JP2506164B2 (en) Measuring method of network characteristics
US5426647A (en) Data communication apparatus detecting interrupt requests through data error detection
JPH0358217B2 (en)
JPH0482345A (en) Method for detecting plural master stations
JPH0448839A (en) Reception data synchronization circuit
JP2001186581A (en) Fault detection device and fault detection method
JPH06284121A (en) Synchronizing word detection system
JP3463146B2 (en) Communication control method and device
JPH0548597A (en) Frame synchronizer
JPH0846632A (en) Bus contention control system
JPH0425240A (en) Burst signal monitoring circuit
JPS6360945B2 (en)
JPH02272845A (en) System for detecting abnormal frame
JPS62200837A (en) Frame synchronizing system
JPS6028343A (en) Packet transmission and reception system
JPS5912656A (en) Communication control system
JPH0654036A (en) Remote monitoring controller
JPH01229537A (en) Frame synchronizing system
JPS61117943A (en) Transmission control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970401