JPH01120924A - Frame synchronizing circuit - Google Patents

Frame synchronizing circuit

Info

Publication number
JPH01120924A
JPH01120924A JP62279520A JP27952087A JPH01120924A JP H01120924 A JPH01120924 A JP H01120924A JP 62279520 A JP62279520 A JP 62279520A JP 27952087 A JP27952087 A JP 27952087A JP H01120924 A JPH01120924 A JP H01120924A
Authority
JP
Japan
Prior art keywords
frame
frame number
signal
flag
synchronization
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
JP62279520A
Other languages
Japanese (ja)
Inventor
Koji Takatomi
高冨 浩司
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP62279520A priority Critical patent/JPH01120924A/en
Publication of JPH01120924A publication Critical patent/JPH01120924A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To decrease the time from the asynchronous state till the establishment of synchronization by fixing no frame number for detecting its coincidence at zero but predicting the frame number at which a frame flag synchronizing signal is sent out and comparing the input frame number with the predicted frame number. CONSTITUTION:A frame flag detection circuit 4 compares a frame flag in a reception signal with a built-in frame flag and when they are dissident, the bit is shifted by one by one, the shift is stopped when they are coincident and a frame flag synchronizing signal is sent to a frame number latch circuit 51 and a frame number prediction circuit 52 when M-time of coincidence takes place consecutively. Then the predicted frame number read from a ROM and the frame number after one frame detected actually are compared and when they are coincident, a frame number coincident signal is fed from the frame number prediction circuit 52 to a synchronizing protection circuit 53. The synchronizing protection circuit 53 gives a synchronizing establishment signal to the reception circuit.

Description

【発明の詳細な説明】 〔概要〕 例えば、ループ型LANを用いてステーション間でデー
タ通信を行う際にステーション受信部で使用されるフレ
ーム同期回路に関し、 同期外れ状態から同期確立までの時間の短縮を目的とし
、 フレームフラグとフレーム番号とを含むフレームで構成
された信号を用いてステーション間のデータ通信を行う
データ通信システムにおいて、受信信号中のフレームフ
ラグをM回連続して検出した時にフレームフラグ同期信
号を送出し、該フレームフラグ同期信号送出後、フレー
ムフラグをN回連続して検出できなかった時にフレーム
フラグ同期無効信号を送出するフレームフラグ検出回路
と、該フレームフラグ検出回路から該フレームフラグ同
期信号が入力した時に対応する受信信号中のフレーム番
号を蓄えて次のフレーム番号を予測し。
[Detailed Description of the Invention] [Summary] For example, regarding a frame synchronization circuit used in a station reception section when performing data communication between stations using a loop type LAN, the present invention relates to a frame synchronization circuit that is used in a station receiving section when performing data communication between stations using a loop type LAN. In a data communication system that performs data communication between stations using a signal consisting of a frame including a frame flag and a frame number, the frame flag is detected when the frame flag in the received signal is detected M times consecutively. A frame flag detection circuit that sends out a frame flag synchronization signal and sends out a frame flag synchronization invalid signal when the frame flag cannot be detected N times in a row after sending out the frame flag synchronization signal; When a synchronization signal is input, the frame number in the corresponding received signal is stored and the next frame number is predicted.

検出したフレーム番号と一致した時にフレーム番号一致
信号を送出するが、該フレームフラグ同期無効信号が入
力した時は該蓄えたフレーム番号及〔産業上の利用分野
〕 本発明は、例えばループ型LAN(Local are
a network )を用いてステーション間でデー
タ通信を行う際に゛ステーション受信部で使用されるフ
レーム同期回路に関するものである。
When the frame number matches the detected frame number, a frame number match signal is sent out, but when the frame flag synchronization invalidation signal is input, the stored frame number and Local area
The present invention relates to a frame synchronization circuit used in a station receiving section when performing data communication between stations using a network.

先ず、第3図のループ型LANシステム説明図に示す様
に9例えばマスクステーションとステーション1〜ステ
ーシヨン3とで構成されたループ型LANシステムを用
いてデータ通信を行うとする。
First, let us assume that data communication is carried out using a loop type LAN system consisting of nine mask stations and stations 1 to 3, for example, as shown in the explanatory diagram of the loop type LAN system in FIG.

マスターステーションは第4図のフレーム構成図の一例
の中の■、■に示す様に、1バイトのフレームフラグ、
フレーム番号、6バイトの送信先アドレス、送信元アド
レス等のフレームヘッダとデータが挿入されるnバイト
のスロットとで構成されたフレームを一定時間間隔で伝
送路に送出するとともに、伝送路を一周してきた信号は
伝送路とステーションの遅延時間の変動により上記の一
定時間間隔からずれるので、これが一定時間間隔になる
様に更新する。
The master station receives a 1-byte frame flag, as shown in ■ and ■ in the example frame configuration diagram in Figure 4.
A frame consisting of a frame header containing a frame number, a 6-byte destination address, a source address, etc., and an n-byte slot into which data is inserted is sent out to the transmission path at regular intervals, and the frame is sent around the transmission path once. Since the signals deviate from the above-mentioned constant time interval due to variations in the delay time between the transmission path and the station, they are updated so that they become constant time intervals.

尚、フレームは第4図−〇に示す様に1例えば30フレ
ームで1マルチフレームを構成し、1バイトのフレーム
フラグは擬似同期が生じ難いパターンを持ち、1フレー
ム毎に反転される。
Incidentally, as shown in FIG. 4--, one multiframe is made up of, for example, 30 frames, and the 1-byte frame flag has a pattern that makes it difficult to cause pseudo synchronization, and is inverted every frame.

次に、ステーション1は受信信号中のフレームフラグ及
びフレーム番号を用いてフレーム同期を確立させた後、
ステーション2に送出する。
Next, station 1 establishes frame synchronization using the frame flag and frame number in the received signal, and then
Send to station 2.

ステーション2はステーション1と同様にフレーム同期
を確立させた後、ステーション3に送出する。この様に
全てのステーションのフレーム同期が確立した後は、各
ステーションで正しくデータの送受が行われる。
Station 2 establishes frame synchronization in the same way as station 1, and then sends it to station 3. After frame synchronization of all stations is established in this way, data is correctly transmitted and received at each station.

そこで、同期外れの状態から同期確立までの時間を短縮
して伝送効率の向上を図る必要がある。
Therefore, it is necessary to improve transmission efficiency by shortening the time from the state of being out of synchronization to the establishment of synchronization.

〔従来の技術〕[Conventional technology]

第5図は従来例のブロック図を、第6図は第5図の動作
説明図を示す。
FIG. 5 is a block diagram of a conventional example, and FIG. 6 is an explanatory diagram of the operation of FIG. 5.

先ず、第4図−■に示すフレーム構成の信号を受信する
と一部はフレームフラグ検出回路1に加えられる。ここ
には正しいフレームフラグが蓄えられており、パターン
を比較器(図示せず)で比較し、不一致の時は一致する
まで受信信号を1ビツトずつシフトし、一致したらシフ
トを停止し。
First, when a signal having the frame structure shown in FIG. The correct frame flag is stored here, and the patterns are compared with a comparator (not shown). If they do not match, the received signal is shifted one bit at a time until they match, and when they match, the shifting is stopped.

更に連続N回検出できた時にフレームフラグ同期確立と
して2例えばLレベルのフレームフラグ同期信号をフレ
ーム番号O検出回路と受信回路3に送出する。
Furthermore, when the frame flag synchronization can be detected N times in succession, a frame flag synchronization signal of 2, for example, L level is sent to the frame number O detection circuit and the reception circuit 3 to establish frame flag synchronization.

尚、このフレームフラグ同期信号はフレームフラグ同期
確立中はLレベルになっている。
Note that this frame flag synchronization signal is at L level while frame flag synchronization is being established.

次に、フレーム番号O検出回路2では入力したLレベル
のフレームフラグ同期信号により第6図(a)のAND
ゲート21がオンになり、受信信号の一部が内蔵のフレ
ーム番号0比較器(図示せず)に加える。ここにはフレ
ーム番号Oに対応するパターンが蓄えられているので、
不一致の時は一致するまで受信信号をシフトし、一致し
た所でシフトを停止し、例えば連続して所定回数だけフ
レーム番号0を検出した時にフレーム番号O検出信号を
受信回路3に送出する。
Next, in the frame number O detection circuit 2, the AND of FIG.
Gate 21 is turned on and a portion of the received signal is applied to an internal frame number 0 comparator (not shown). Since the pattern corresponding to frame number O is stored here,
When they do not match, the received signals are shifted until they match, and when they match, the shifting is stopped. For example, when frame number 0 is detected a predetermined number of times in succession, a frame number O detection signal is sent to the receiving circuit 3.

そこで、受信回路3では第6図(b)に示す様にフレー
ムフラグ同期信号とフレーム番号0検出信号とが共にL
レベルの時にはNORゲート32から1(レベルが出力
してANDゲート31がオンになるので。
Therefore, in the receiving circuit 3, both the frame flag synchronization signal and the frame number 0 detection signal are L as shown in FIG. 6(b).
When it is at level, the NOR gate 32 outputs 1 (because the level is output and the AND gate 31 is turned on.

入力した受信信号がこのANDゲートを通過して信号処
理部分(図示せず)に入り、指定されたフレーム番号を
有するスロットに送出すべきデータを挿入し、又は前記
スロット中に挿入されているデータを抽出してステーシ
ョン間でデータの送受が行われる。
The input received signal passes through this AND gate and enters the signal processing section (not shown), and inserts the data to be transmitted into the slot having the designated frame number, or inserts the data inserted into the slot. data is extracted and data is sent and received between stations.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ここで、フレームフラグの同期が確立した後。 Now, after frame flag synchronization is established.

フレーム番号0を所定回数だけ連続して検出することに
よりフレーム番号Oの同期確立としている為、例えば第
4図−〇の構成の場合は第1フレームでフレームフラグ
の同期が確立した時は29フレーム後でないとフレーム
番号0のフレームがフレーム番号0検出回路に入力せず
、同期外れ状態から同期確立までに時間がかかると云う
問題点がある。
Since synchronization of frame number O is established by continuously detecting frame number 0 a predetermined number of times, for example, in the case of the configuration shown in Figure 4-0, when frame flag synchronization is established in the first frame, it is 29 frames. There is a problem that the frame with frame number 0 will not be input to the frame number 0 detection circuit until later, and it will take time to establish synchronization from an out-of-synchronization state.

〔問題点を解決する為の手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

図中、4は受信信号中のフレームフラグをM回連績して
検出した時にフレームフラグ同期信号を送出し、該フレ
ームフラグ同期信号送出後、フレームフラグを8回連続
して検出できなかった時にフレームフラグ同期無効信号
を送出するフレームフラグ検出回路で、5は該フし・−
ムフラグ検出回路から該フレームフラグ同期信号が入力
した時に対応する受信信号中のフレーム番号を蓄えて次
のフレーム番号を予測し、検出したフレーム番号と一致
した時にフレーム番号一致信号を送出するが、該フレー
ムフラグ同期無効信号が入力した時は該〔作用〕 本発明はフレームフラグ検出回路4で受信信号と内蔵の
フレームフラグとを比較してM回連績して一致した時、
ここからフレームフラグ同期信号を送出し、フレーム番
号検出手段5に加える。
In the figure, 4 indicates that a frame flag synchronization signal is sent when the frame flag in the received signal is detected M times in a row, and when the frame flag cannot be detected 8 times in a row after the frame flag synchronization signal is sent. 5 is a frame flag detection circuit that sends out a frame flag synchronization invalidation signal;
When the frame flag synchronization signal is input from the frame flag detection circuit, the frame number in the corresponding received signal is stored to predict the next frame number, and when it matches the detected frame number, a frame number match signal is sent out. [Operation] When the frame flag synchronization invalidation signal is input, the present invention compares the received signal and the built-in frame flag in the frame flag detection circuit 4, and when they match M times in a row,
A frame flag synchronization signal is sent from here and applied to the frame number detection means 5.

フレーム番号検出手段5は対応するフレーム番号を蓄え
て次のフレーム番号を予測し、実際に検出したフレーム
番号と予測フレーム番号とが一致したら所定レベルのフ
レーム番号一致信号を受信回路(図示せず)に送出し、
受信回路は入力した受信信号を処理する。
The frame number detection means 5 stores the corresponding frame number and predicts the next frame number, and when the actually detected frame number and the predicted frame number match, a receiving circuit (not shown) receives a frame number matching signal of a predetermined level. Send to,
The receiving circuit processes the input received signal.

しかし、フレームフラグ同期信号送出後、8回連続して
フレームフラグが検出できなかった時は同期外れとなり
、フレームフラグ検出回路4からフレームフラグ同期無
効信号がフレーム番号検出手段5に送出され、蓄えられ
たフレーム番号と予測フレーム番号とがリセットされて
初期状態に戻る。
However, if the frame flag cannot be detected eight times in a row after sending out the frame flag synchronization signal, synchronization is lost, and a frame flag synchronization invalid signal is sent from the frame flag detection circuit 4 to the frame number detection means 5 and stored. The predicted frame number and predicted frame number are reset and returned to the initial state.

即ち、フレーム番号の一致を見るのにフレーム番号0と
固定化せず、フレームフラグ同期信号を送出した時のフ
レーム番号の次のフレーム番号を予測し、入力したフレ
ーム番号と比較する様にした。これにより、同期外れ状
態から同期確立までの時間が短縮される。
That is, to check whether the frame numbers match, instead of fixing the frame number to 0, the frame number next to the frame number when the frame flag synchronization signal was sent is predicted and compared with the input frame number. This shortens the time from an out-of-synchronization state to establishment of synchronization.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図を示す。 FIG. 2 shows a block diagram of an embodiment of the invention.

尚、フレーム番号ラッチ回路51.フレーム番号予測回
路52.同期保護回路53はフレーム番号検出手段5の
構成部分を示す。以下、図の動作を説明する。
Note that the frame number latch circuit 51. Frame number prediction circuit 52. A synchronization protection circuit 53 represents a component of the frame number detection means 5. The operation of the figure will be explained below.

先ず、フレームフラグ検出回路4で受信信号中のフレー
ムフラグを内蔵のフレームフラグと比較し、不一致の場
合には一致するまで1ビツトずつシフトし、一致したら
シフトを停止し、以後連続M回一致ればフレームフラグ
について同期確立として、フレームフラグ同期信号をフ
レーム番号ラッチ回路51とスレーム番号予測回路52
とに送出するので、フレーム番号ランチ回路でその時の
フレーム番号がラッチされる。
First, the frame flag detection circuit 4 compares the frame flag in the received signal with the built-in frame flag, and if they do not match, it is shifted one bit at a time until they match, and when they match, it stops shifting, and after that it matches M consecutive times. For example, to establish synchronization for frame flags, a frame flag synchronization signal is sent to the frame number latch circuit 51 and the frame number prediction circuit 52.
Since the frame number is sent out at the same time, the frame number at that time is latched by the frame number launch circuit.

一方、フレーム番号予測回路52にはフレーム番号ラッ
チ回路51にランチされたフレーム番号(以下、ラッチ
レーム番号と省略する)の1フレーム後のフレーム番号
(以下、予測フレーム番号と云う)がラッチフレーム番
号をアドレスとして、内蔵のROM  (図示せず)に
書き込まれている。
On the other hand, the frame number prediction circuit 52 determines that the frame number (hereinafter referred to as the predicted frame number) one frame after the frame number launched by the frame number latch circuit 51 (hereinafter referred to as the latch frame number) is the latch frame number. The address is written in a built-in ROM (not shown).

そこで、ROMから読み出された予測フレーム番号と実
際に検出した1フレーム後のフレーム番号とを比較して
一致していれば、フレーム番号予測回路52よりフレー
ム番号一致信号を同期保護回路53に加える。
Therefore, the predicted frame number read from the ROM is compared with the actually detected frame number one frame later, and if they match, a frame number matching signal is applied from the frame number prediction circuit 52 to the synchronization protection circuit 53. .

同期保護回路53は同期が確立したとして同期確立信号
が受信回路に加えられるが、これにより受倍回路は受信
信号に対して受信処理を行う。
The synchronization protection circuit 53 assumes that synchronization has been established and applies a synchronization establishment signal to the receiving circuit, which causes the duplication circuit to perform reception processing on the received signal.

即ち、同期外れの状態から同期確立までの時間が短縮さ
れる。
That is, the time from the state of being out of synchronization to the establishment of synchronization is shortened.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば同期外れから同
期確立までの時間が短縮されると云う効果がある。これ
により伝送効率が向上する。
As described above in detail, the present invention has the effect of shortening the time from synchronization loss to synchronization establishment. This improves transmission efficiency.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図はループ
型LANシステム説明図、第4図はフレーム構成図の一
例、 第5図は従来例のブロック図、 第6図は第5図の動作説明図を示す。 図において、 4はフレームフラグ検出回路、 イ疋来判のプ゛ロ1.フ図 *  5  (2) 茅 5 G1の1カ41絞り月C] 茅  ら  図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of a loop type LAN system, Fig. 4 is an example of a frame configuration diagram, and Fig. 5 is a conventional Example block diagram FIG. 6 is an explanatory diagram of the operation of FIG. 5. In the figure, 4 is a frame flag detection circuit; Figure * 5 (2) Kaya 5 G1's 1 Ka 41 Squeezed Moon C] Kaya et al.

Claims (1)

【特許請求の範囲】[Claims]  フレームフラグとフレーム番号とを含むフレームで構
成された信号を用いてステーション間のデータ通信を行
うデータ通信システムにおいて、受信信号中のフレーム
フラグをM回(Mは正の整数)連続して検出した時にフ
レームフラグ同期信号を送出し、該フレームフラグ同期
信号送出後にフレームフラグをN回(Nは正の整数)連
続して検出できなかった時にフレームフラグ同期無効信
号を送出するフレームフラグ検出回路(4)と、該フレ
ームフラグ検出回路から該フレームフラグ同期信号が入
力した時に対応する受信信号中のフレーム番号を蓄えて
次のフレーム番号を予測し、検出したフレーム番号と一
致した時にフレーム番号一致信号を送出するが、該フレ
ームフラグ同期無効信号が入力した時は該蓄えたフレー
ム番号及び予測フレーム番号をリセットするフレーム番
号検出手段(5)とを有することを特徴とするフレーム
同期回路。
In a data communication system that performs data communication between stations using a signal consisting of a frame including a frame flag and a frame number, a frame flag in a received signal is detected consecutively M times (M is a positive integer). A frame flag detection circuit (4) that sends out a frame flag synchronization signal when the frame flag synchronization signal is sent out, and sends out a frame flag synchronization invalidation signal when the frame flag cannot be detected N times (N is a positive integer) consecutively after sending out the frame flag synchronization signal. ), and when the frame flag synchronization signal is input from the frame flag detection circuit, the frame number in the corresponding received signal is stored and the next frame number is predicted, and when it matches the detected frame number, a frame number match signal is generated. A frame synchronization circuit characterized in that it has frame number detection means (5) for resetting the stored frame number and predicted frame number when the frame flag synchronization invalidation signal is input.
JP62279520A 1987-11-05 1987-11-05 Frame synchronizing circuit Pending JPH01120924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62279520A JPH01120924A (en) 1987-11-05 1987-11-05 Frame synchronizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62279520A JPH01120924A (en) 1987-11-05 1987-11-05 Frame synchronizing circuit

Publications (1)

Publication Number Publication Date
JPH01120924A true JPH01120924A (en) 1989-05-12

Family

ID=17612172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62279520A Pending JPH01120924A (en) 1987-11-05 1987-11-05 Frame synchronizing circuit

Country Status (1)

Country Link
JP (1) JPH01120924A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04129435A (en) * 1990-09-20 1992-04-30 Nec Corp Frame synchronization system
EP0772311A2 (en) 1995-10-30 1997-05-07 Nec Corporation Frame identification of a wireless selective calling receiver
JP2012109707A (en) * 2010-11-16 2012-06-07 Mitsubishi Electric Corp Data phase synchronization device and data phase synchronization method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04129435A (en) * 1990-09-20 1992-04-30 Nec Corp Frame synchronization system
EP0772311A2 (en) 1995-10-30 1997-05-07 Nec Corporation Frame identification of a wireless selective calling receiver
US5854592A (en) * 1995-10-30 1998-12-29 Nec Corporation Paging receiver with improved synchronization techniques
JP2012109707A (en) * 2010-11-16 2012-06-07 Mitsubishi Electric Corp Data phase synchronization device and data phase synchronization method

Similar Documents

Publication Publication Date Title
KR100330335B1 (en) Method and system for synchronizing data transmission over two-way link
JP2732759B2 (en) Frame synchronization control method
US5963564A (en) Synchronizing the transmission of data via a two-way link
JPS63142742A (en) Method and apparatus for detecting expected bit pattern in successive bit stream
JP2001094542A (en) Frame synchronizing circuit
JPH03102939A (en) Cell synchronizing system
JPH0879230A (en) Transmitting device for transmitting and detecting information on starting position of frame of frame synchronous signal
JPH01120924A (en) Frame synchronizing circuit
JPH0365692B2 (en)
EP0534030B1 (en) A frame transfer device for a fixed format frame transmission network
JPH04137935A (en) Device and method for clock generation and data transmission-reception
EP0725514A1 (en) Port address resolution device
US5276859A (en) Accelerated token ring network
US5557615A (en) Method and apparatus for identifying embedded framing bits
US20030072328A1 (en) Framing data in a control circuit
FI91690C (en) Hierarchical synchronization procedure and a data traffic system that uses message-based synchronization
JPH11163848A (en) Synchronization establishment circuit
JPS5894253A (en) Detecting system for code error
JPH11187006A (en) Pcm digital communication equipment
JPH10173617A (en) Major frame synchronism detection method and system therefor
JPH06284121A (en) Synchronizing word detection system
JPS62213336A (en) Frame synchronizing system
JPH042235A (en) Synchronization detecting system
JPH01136439A (en) Frame synchronizing system
JPH0294839A (en) Block synchronizing system