JPH09139734A - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JPH09139734A
JPH09139734A JP7318522A JP31852295A JPH09139734A JP H09139734 A JPH09139734 A JP H09139734A JP 7318522 A JP7318522 A JP 7318522A JP 31852295 A JP31852295 A JP 31852295A JP H09139734 A JPH09139734 A JP H09139734A
Authority
JP
Japan
Prior art keywords
unique word
address
synchronization
ring buffer
cpu
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
JP7318522A
Other languages
Japanese (ja)
Inventor
Seigo Miyoshi
誠吾 三好
Kenzo Urabe
健三 占部
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.)
Kokusai Electric Corp
Original Assignee
Kokusai Electric 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 Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP7318522A priority Critical patent/JPH09139734A/en
Publication of JPH09139734A publication Critical patent/JPH09139734A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce mis-discrimination of synchronization establishment by discriminating it to be established synchronization when all unique word detection information having been detected and recorded in advance in two preceding frames are coincident when a CPU detects unique word information. SOLUTION: A ring buffer 2 stores unique word detection information in received data detected by a unique word detector 1 to a dual port RAM. Then a value of an address scanner 3 designating an address is latched by an address latch 4 in the case of storing the unique word to the ring buffer 2 and given to a CPU 5. The CPU 5 in the case of detecting a unique word discriminates it to be established synchronization when all unique word detection information having been detected and recorded in advance in two preceding frames are coincident.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フレーム単位でパ
ルス信号を伝送する場合に必要な送受間のフレーム同期
確立のために、特に、受信側で使用されるフレーム同期
回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization circuit used especially on the receiving side for establishing frame synchronization between transmission and reception, which is necessary when transmitting a pulse signal in frame units.

【0002】[0002]

【従来の技術】この種のフレーム同期回路として、従来
は同期検知のために各フレームの先頭位置に挿入されて
いるユニークワード(以下UWと略称する)を単に連続
して2回検出したときに同期確立がなされたとする方法
がとられている。
2. Description of the Related Art Conventionally, as a frame synchronizing circuit of this type, a unique word (hereinafter abbreviated as UW) inserted at the beginning position of each frame for detecting synchronization is simply detected twice in succession. The method is taken that synchronization has been established.

【0003】[0003]

【発明が解決しようとする課題】しかしこのような従来
の方法では、バースト誤り等によってUWと同一のビッ
トパターンが発生した場合に「同期確立」と誤認すると
いう問題が生じている。
However, such a conventional method has a problem that when the same bit pattern as UW occurs due to a burst error or the like, it is erroneously recognized as "synchronization establishment".

【0004】本発明の目的は、従来技術における前記の
如き欠点を解消し、同期確立と誤認する確率を小さく
し、信頼性の高い同期確立を行うことができるフレーム
同期回路を提供することにある。
It is an object of the present invention to provide a frame synchronization circuit which eliminates the above-mentioned drawbacks in the prior art, reduces the probability of mistaking it as establishment of synchronization, and can establish synchronization with high reliability. .

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に、本発明によるフレーム同期回路は、フレームデータ
を受信した際に、該フレームデータに含まれているユニ
ークワードの検出を行ったときにユニークワード検出パ
ルスを出力するユニークワード検出器と、該ユニークワ
ード検出器が出力したユニークワード検出情報をデュア
ルポートラムに記録するリングバッファと、前記リング
バッファが前記ユニークワードを記録する際の前記デュ
アルポートラムのアドレスの指定を行うアドレススキャ
ナと、前記アドレススキャナの値をユニークワード検出
時にラッチしておくアドレスラッチ回路と、前記ユニー
クワードの検出時に前記リングバッファと前記アドレス
ラッチの値を参照して同期が確立しているか否かを判別
するCPUとを備え、上記CPUは前記ユニークワード
検出時に前記リングバッファにおいて当該ユニークワー
ド検出前n(nは2以上の整数)フレームにわたり少な
くともkフレーム前(k=n−1)の前記ユニークワー
ド検出時に相当するアドレスに記録されているユニーク
ワード検出情報の照合を行い、すべてが一致している場
合に同期確立と判別するように構成されている。
To achieve this object, a frame synchronization circuit according to the present invention, when receiving frame data, detects a unique word included in the frame data. A unique word detector that outputs a unique word detection pulse, a ring buffer that records the unique word detection information output by the unique word detector in a dual port RAM, and the dual port RAM when the ring buffer records the unique word The address scanner that specifies the address of the address, the address latch circuit that latches the value of the address scanner when a unique word is detected, and the value of the ring buffer and the address latch when the unique word is detected are referred to for synchronization. Equipped with a CPU that determines whether or not it has been established When the unique word is detected, the CPU assigns an address corresponding to the unique word detected at least k frames before (k = n-1) in the ring buffer for n (n is an integer of 2 or more) frames before the unique word is detected. The recorded unique word detection information is collated, and if all match, it is determined that synchronization has been established.

【0006】[0006]

【発明の実施の形態】本発明では、UW検出器が検出し
たUW検出情報は少なくとも予め定めたK(2以上の整
数)個がリングメモリに順次記録されており、この記録
されたUW検出情報が同期確立の判定に用いられる。
BEST MODE FOR CARRYING OUT THE INVENTION In the present invention, at least a predetermined number of K (an integer of 2 or more) of UW detection information detected by the UW detector is sequentially recorded in the ring memory, and the recorded UW detection information is recorded. Is used to determine the establishment of synchronization.

【0007】[0007]

【実施例】図1は、本発明の実施例を示すもので、1は
受信データ0からユニークワード(UW)を検出するユ
ニークワード(UW)検出回路、2はデュアルポートラ
ムの如きリングバッファ、3はアドレススキャナ、4は
アドレスラッチ、5はCPU、6は同期確立判定出力で
ある。UW検出器1が検出したUW検出情報は、図3に
示すように順次リングバッファ2に記録される。このリ
ングバッファ2に記録されたUW検出情報は、アドレス
スキャナ3とアドレスラッチ4の制御をうけて、CPU
5において同期確立判定を行うために使用される。
1 shows an embodiment of the present invention, in which 1 is a unique word (UW) detecting circuit for detecting a unique word (UW) from received data 0, 2 is a ring buffer such as dual port RAM, 3 Is an address scanner, 4 is an address latch, 5 is a CPU, and 6 is a synchronization establishment determination output. The UW detection information detected by the UW detector 1 is sequentially recorded in the ring buffer 2 as shown in FIG. The UW detection information recorded in the ring buffer 2 is controlled by the address scanner 3 and the address latch 4, and the CPU
5 is used to make a synchronization establishment determination.

【0008】以下に、図2の処理フロー及び図3,図4
の信号のタイムチャートを参照して、この実施例の動作
をn=2の場合について説明する。 a)図3ので受信データ01からUW検出パルス11
が検出され、CPU5は割り込み処理を実行する(ステ
ップ50)。 b)アドレスラッチ4はUW検出パルス11によってア
ドレススキャナ3の値をアドレスAとしてラッチする
(ステップ51)。 c)図3のでは、リングバッファ2の現在のアドレス
の1フレーム分前のアドレス31のデータ21をサーチ
し、UW検出があるかを調べる(ステップ52)。この
場合には、K=n−1=1として1フレーム前が採用さ
れていることになる。 d)図3のでもし1フレーム前のアドレスのデータに
UW検出を表わすデータがあれば同期を確立する(ステ
ップ53,55)。しかし、1フレーム前のアドレスの
データにUW検出を表すデータがなければ同期を確立し
ない(ステップ53,54)。 以上の処理を行うことによって同期確立の判定出力61
を出力する。
Below, the processing flow of FIG. 2 and FIGS.
The operation of this embodiment will be described for the case of n = 2 with reference to the time chart of the signal of FIG. a) UW detection pulse 11 from received data 01 in FIG.
Is detected, the CPU 5 executes interrupt processing (step 50). b) The address latch 4 latches the value of the address scanner 3 as the address A by the UW detection pulse 11 (step 51). c) In FIG. 3, the data 21 of the address 31 one frame before the current address of the ring buffer 2 is searched to check whether or not there is UW detection (step 52). In this case, one frame before is adopted with K = n-1 = 1. d) If there is data representing UW detection in the data of the address one frame before in FIG. 3, synchronization is established (steps 53 and 55). However, if there is no data indicating UW detection in the data of the address one frame before, the synchronization is not established (steps 53 and 54). The determination output 61 for establishing synchronization is obtained by performing the above processing.
Is output.

【0009】一方、バースト誤り等によって、UW誤検
出を行った場合を図4に示す。アドレス32のtx で受
信データ02からUW検出パルス12が得られ、A−n
x のデータ22と1フレーム前のA−n(x-1) のデータ
22の比較を行うが、一致しないので同期は確立しな
い。また、上記の1フレーム前のアドレスデータサーチ
を、図2のステップ52に示すように、2フレーム前、
3フレーム前のUW検出データの比較を行うように処理
を拡張すれば、同期確立の信頼度を上げることができる
利点がある。
On the other hand, FIG. 4 shows a case where UW erroneous detection is performed due to a burst error or the like. At time t x of address 32, UW detection pulse 12 is obtained from received data 02,
The data 22 of x and the data 22 of A-n (x-1) one frame before are compared, but since they do not match, synchronization is not established. Further, the address data search one frame before, as shown in step 52 of FIG.
If the processing is extended so as to compare the UW detection data three frames before, there is an advantage that the reliability of synchronization establishment can be increased.

【0010】[0010]

【発明の効果】以上詳細に説明したように、本発明によ
れば、UW誤検出による同期確立の誤検出の問題を解消
することができる。
As described above in detail, according to the present invention, the problem of false detection of synchronization establishment due to false detection of UW can be solved.

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

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

【図2】本発明における処理動作を示すフローチャート
である。
FIG. 2 is a flowchart showing a processing operation in the present invention.

【図3】本発明の動作を示すタイムチャートである。FIG. 3 is a time chart showing the operation of the present invention.

【図4】本発明の動作を示すタイムチャートである。FIG. 4 is a time chart showing the operation of the present invention.

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

0 受信データ 1 ユニークワード検出器 2 リングバッファ 3 アドレススキャナ 4 アドレスラッチ 5 CPU 6 同期確立判定出力 51〜55 CPUの割り込み処理のステップ番号 01 受信データ(誤検出なし時) 11 UW検出パルス(誤検出なし時) 21 リングバッファデータ(誤検出なし時) 31 リングバッファアドレス(誤検出なし時) 61 同期確立判定出力(誤検出なし時) 02 受信データ(誤検出あり) 12 UW検出パルス(誤検出あり) 22 リングバッファデータ(誤検出あり) 32 リングバッファアドレス(誤検出あり) 62 同期確立判定出力(誤検出あり) 0 Received data 1 Unique word detector 2 Ring buffer 3 Address scanner 4 Address latch 5 CPU 6 Synchronization establishment judgment output 51 to 55 Step number of CPU interrupt processing 01 Received data (when there is no false detection) 11 UW detection pulse (wrong detection) 21) Ring buffer data (without false detection) 31 Ring buffer address (without false detection) 61 Synchronization establishment judgment output (without false detection) 02 Received data (with false detection) 12 UW detection pulse (with false detection) ) 22 ring buffer data (with erroneous detection) 32 ring buffer address (with erroneous detection) 62 synchronization establishment judgment output (with erroneous detection)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 フレームデータを受信した際に、該フレ
ームデータに含まれているユニークワードの検出を行っ
たときにユニークワード検出パルスを出力するユニーク
ワード検出器と、 該ユニークワード検出器が出力したユニークワード検出
情報をデュアルポートラムに記録するリングバッファ
と、 前記リングバッファが前記ユニークワードを記録する際
の前記デュアルポートラムのアドレスの指定を行うアド
レススキャナと、 前記アドレススキャナの値をユニークワード検出時にラ
ッチしておくアドレスラッチ回路と、 前記ユニークワードの検出時に前記リングバッファと前
記アドレスラッチの値を参照して同期が確立しているか
否かを判別するCPUとを備え、 上記CPUは前記ユニークワード検出時に前記リングバ
ッファにおいて当該ユニークワード検出前n(nは2以
上の整数)フレームにわたり少なくともkフレーム前
(k=n−1)の前記ユニークワード検出時に相当する
アドレスに記録されているユニークワード検出情報の照
合を行い、すべてが一致している場合に同期確立と判別
するように構成されたフレーム同期回路。
1. A unique word detector that outputs a unique word detection pulse when a unique word included in the frame data is detected when the frame data is received, and an output from the unique word detector. A ring buffer for recording the unique word detection information in the dual port RAM, an address scanner for designating the address of the dual port RAM when the ring buffer records the unique word, and a value of the address scanner for detecting the unique word. An address latch circuit for latching; and a CPU for determining whether or not synchronization is established by referring to the values of the ring buffer and the address latch when detecting the unique word, wherein the CPU is the unique word When detected, the ring buffer The unique word detection information recorded at the address corresponding to the unique word detection at least k frames before (k = n−1) over n (n is an integer of 2 or more) frames before unique word detection is collated, and all A frame synchronization circuit configured to determine that synchronization has been established when the two match.
JP7318522A 1995-11-14 1995-11-14 Frame synchronization circuit Pending JPH09139734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7318522A JPH09139734A (en) 1995-11-14 1995-11-14 Frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7318522A JPH09139734A (en) 1995-11-14 1995-11-14 Frame synchronization circuit

Publications (1)

Publication Number Publication Date
JPH09139734A true JPH09139734A (en) 1997-05-27

Family

ID=18100057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7318522A Pending JPH09139734A (en) 1995-11-14 1995-11-14 Frame synchronization circuit

Country Status (1)

Country Link
JP (1) JPH09139734A (en)

Similar Documents

Publication Publication Date Title
US4763339A (en) Digital word synchronizing arrangement
JP2943839B2 (en) Frame synchronization circuit for equalizer
JPH09139734A (en) Frame synchronization circuit
JP4206115B2 (en) Tone detection method and tone detection system
KR920002747B1 (en) Strip frame recognition apparatus
JPS5820051A (en) Logical level deciding circuit
JPH0621979A (en) Reception processing system
US5504749A (en) Apparatus for reading out address information
JP2715953B2 (en) Synchronous circuit
JPH06284121A (en) Synchronizing word detection system
JP2573560B2 (en) Frame synchronization method
JP2001189716A (en) Device and method for synchronizing frame
JPH09320177A (en) Frame-synchronizing signal processing circuit
JPH06152582A (en) Synchronizing protection circuit
JPH0644757B2 (en) Frame synchronization method
JP3229994B2 (en) Frame synchronization circuit for frame signal
JPH08330979A (en) Error correction device
JPH05336093A (en) Reception processing system
JP3120594B2 (en) Synchronous signal detection device
JPH05336096A (en) Frame synchronizing signal detecting circuit
JPH08107408A (en) Decoding method for frame synchronized transmitting data
JPH11196079A (en) Check system for frame synchronization word
JPS6011862B2 (en) signal detection circuit
JPH03248679A (en) Mh encoding system
US20040170241A1 (en) Frame synchronization method