JPH05199217A - Frame synchronization circuit for digital transmission - Google Patents

Frame synchronization circuit for digital transmission

Info

Publication number
JPH05199217A
JPH05199217A JP4027213A JP2721392A JPH05199217A JP H05199217 A JPH05199217 A JP H05199217A JP 4027213 A JP4027213 A JP 4027213A JP 2721392 A JP2721392 A JP 2721392A JP H05199217 A JPH05199217 A JP H05199217A
Authority
JP
Japan
Prior art keywords
signal
pattern detection
frame synchronization
detection signal
synchronization signal
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
JP4027213A
Other languages
Japanese (ja)
Inventor
Kenichi Takano
憲一 高野
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.)
Japan Radio Co Ltd
Nagano Japan Radio Co Ltd
Original Assignee
Japan Radio Co Ltd
Nagano Japan Radio 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 Japan Radio Co Ltd, Nagano Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP4027213A priority Critical patent/JPH05199217A/en
Publication of JPH05199217A publication Critical patent/JPH05199217A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】 ハンティング動作の時間を大幅に短縮すると
ともに、データ通信における高信頼性を確保する。 【構成】 符号列からフレーム同期信号と同一のパター
ンを検出して得るパターン検出信号Shを書込むととも
に、読出したパターン検出信号により内部同期信号発生
部3から当該パターン検出信号に一致する内部同期信号
Siを出力させるFIFOメモリ6aを用いた記憶部6
と、不一致パルスPkをL(例えば、L=N−1)個出
力した後の1フレーム期間に相当する第一期間Tfにお
けるパターン検出信号Sh(対比信号Shm)を記憶部
6に書込み、かつ続く1フレーム期間に相当する第二期
間Tsの開始と同時に、記憶部6に記憶した対比信号S
hmを最初から読出す制御部7を備える。
(57) [Summary] [Purpose] To significantly reduce the time for hunting operation and to ensure high reliability in data communication. A pattern detection signal Sh obtained by detecting the same pattern as a frame synchronization signal from a code string is written, and an internal synchronization signal that matches the pattern detection signal from the internal synchronization signal generator 3 by the read pattern detection signal. Storage unit 6 using FIFO memory 6a for outputting Si
And write the pattern detection signal Sh (comparison signal Shm) in the first period Tf corresponding to one frame period after outputting L (for example, L = N−1) mismatch pulses Pk to the storage unit 6 and continuing. Simultaneously with the start of the second period Ts corresponding to one frame period, the comparison signal S stored in the storage unit 6
A control unit 7 for reading hm from the beginning is provided.

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 for digital transmission, which detects a frame synchronization signal from a code string received from a transmission line to establish frame synchronization.

【0002】[0002]

【従来の技術】一般に、ディジタル伝送における受信装
置には、伝送路誤りによる同期外れを抑制するととも
に、同期外れを発生した場合には、速やかにそれを検出
して正規のフレーム同期状態に復帰させるフレーム同期
回路を内蔵する。
2. Description of the Related Art In general, a receiver in digital transmission suppresses out-of-sync due to a transmission path error, and when out-of-sync occurs, it is promptly detected and restored to a normal frame synchronization state. Built-in frame synchronization circuit.

【0003】図5は従来のフレーム同期回路を示す。な
お、図6は図5中における各部の信号のタイミングチャ
ートを示す。
FIG. 5 shows a conventional frame synchronization circuit. Note that FIG. 6 shows a timing chart of signals of respective parts in FIG.

【0004】図5に示すフレーム同期回路50は、フレ
ーム同期信号と同一のパターンを検出してパターン検出
信号Sbを出力するパターン検出部51、内部同期信号
Scを出力する内部同期信号発生部52、内部同期信号
Scの位置にパターン検出信号Sbの位置が一致したと
きに一致パルスPgを出力し、かつ不一致の時に不一致
パルスPfを出力する同期信号検出部53、連続した不
一致パルスPfを所定数計数した後に同期外れ信号Sd
を出力し、かつ連続した一致パルスPgを所定数計数し
た後に同期外れ信号Sdの出力を停止する同期保護回路
54、一致パルスPg、不一致パルスPf及び同期外れ
信号Sdの状態に応じて内部同期信号発生部52を制御
するNAND回路55とRSフリップフロップ56から
なる。
A frame synchronization circuit 50 shown in FIG. 5 detects a pattern identical to a frame synchronization signal and outputs a pattern detection signal Sb, a pattern detection section 51, an internal synchronization signal generation section 52 which outputs an internal synchronization signal Sc, A synchronization signal detection unit 53 that outputs a coincidence pulse Pg when the position of the pattern detection signal Sb coincides with the position of the internal synchronization signal Sc, and outputs a disagreement pulse Pf when there is a disagreement, and counts a predetermined number of consecutive disagreement pulses Pf. Out of sync signal Sd
And a sync protection circuit 54 that stops the output of the out-of-sync signal Sd after counting a predetermined number of consecutive coincidence pulses Pg, an internal sync signal in accordance with the states of the coincidence pulse Pg, the non-coincidence pulse Pf and the out-of-sync signal Sd. It comprises a NAND circuit 55 for controlling the generator 52 and an RS flip-flop 56.

【0005】よって、フレーム同期回路50は次のよう
に動作する。まず、パターン検出部51の入力側には図
6(A)に示す符号列(受信データ)Dが入力する。な
お、符号列Dはデータ部Daとフレーム同期パターン部
(フレーム同期信号)Dbからなる単位フレームの連続
する時系列信号である。パターン検出部51は符号列D
からフレーム同期信号と同一のパターンビット「110
0」を検出し、図6(B)に示すパターン検出信号Sb
を同期信号検出部53の入力側に付与する。また、内部
同期信号発生部52は図6(C)に示す内部同期信号S
cを同期信号検出部53に付与する。同期信号検出部5
3は内部同期信号Scの位置に対してパターン検出信号
Sbの位置が一致するか否かを検出し、一致した場合に
は図6(G)に示す一致パルスPgを出力するととも
に、不一致の場合には図6(F)に示す不一致パルスP
fを出力する。
Therefore, the frame synchronization circuit 50 operates as follows. First, the code string (received data) D shown in FIG. 6A is input to the input side of the pattern detection unit 51. The code string D is a continuous time-series signal of a unit frame including a data portion Da and a frame synchronization pattern portion (frame synchronization signal) Db. The pattern detection unit 51 uses the code string D
From the same pattern bit “110
0 "is detected, and the pattern detection signal Sb shown in FIG.
Is applied to the input side of the synchronization signal detection unit 53. In addition, the internal synchronization signal generator 52 has an internal synchronization signal S shown in FIG.
c is provided to the synchronization signal detection unit 53. Sync signal detector 5
3 detects whether or not the position of the pattern detection signal Sb coincides with the position of the internal synchronization signal Sc, and outputs a coincidence pulse Pg shown in FIG. The non-matching pulse P shown in FIG.
Output f.

【0006】一方、同期保護回路54は前方保護動作と
後方保護動作を行う。前方保護動作は同期外れが発生
し、ある程度継続した際にハンティング動作を実行させ
るためのもので、具体的には連続した不一致パルスPf
を計数し、例えば、6個の不一致パルスPfを計数した
なら同期外れ信号Sdを出力する。図6の場合、不一致
パルスPfsからハンティング動作に入り、同期外れ信
号Sdが出力する。また、後方保護動作はハンティング
動作の終了後、同期復帰が確実に行われたことを確認す
るもので、具体的には連続した一致パルスPgを計数
し、例えば、2個の一致パルスPgを計数したなら同期
外れ信号Sdの出力を停止する。
On the other hand, the synchronization protection circuit 54 performs a front protection operation and a rear protection operation. The forward protection operation is for executing the hunting operation when the synchronization loss occurs and the operation is continued to some extent, and specifically, the continuous disagreement pulse Pf.
Is counted, and if, for example, six mismatch pulses Pf are counted, the out-of-synchronization signal Sd is output. In the case of FIG. 6, the hunting operation starts from the mismatch pulse Pfs, and the out-of-synchronization signal Sd is output. The backward protection operation is for confirming that the synchronous recovery is surely performed after the hunting operation is completed. Specifically, the continuous match pulses Pg are counted, and for example, two match pulses Pg are counted. If so, the output of the out-of-sync signal Sd is stopped.

【0007】他方、ハンティング動作は次のように行わ
れる。まず、内部同期信号発生部52はカウンタを内蔵
し、図6(E)に示すように、内部同期信号Scの出力
と同時にカウンタがリセットされるとともに、次のパタ
ーン検出信号Sbの出力と同時にセットされる。そし
て、カウンタは単位フレーム期間Toだけカウントした
後、次の内部同期信号Scを出力する。また、この出力
と同時にリセットされる。以上のハンティング動作を繰
り返し実行すれば、内部同期信号Scの位置に一致する
パターン検出信号Sb、即ち、真のパターン同期信号を
検出することができ、同期信号検出部53からは一致パ
ルスPgが出力する。よって、フレーム同期状態に復帰
させることができ、この時点でハンティング動作は終了
する。そして、前記後方保護動作に基づく処理が行われ
る。
On the other hand, the hunting operation is performed as follows. First, the internal synchronization signal generator 52 has a built-in counter, and as shown in FIG. 6E, the counter is reset at the same time as the output of the internal synchronization signal Sc and set at the same time as the output of the next pattern detection signal Sb. To be done. Then, the counter counts only the unit frame period To and then outputs the next internal synchronization signal Sc. Also, it is reset at the same time as this output. If the above hunting operation is repeatedly executed, the pattern detection signal Sb that coincides with the position of the internal synchronization signal Sc, that is, the true pattern synchronization signal can be detected, and the synchronization signal detector 53 outputs the coincidence pulse Pg. To do. Therefore, it is possible to return to the frame synchronization state, and at this point the hunting operation ends. Then, the processing based on the backward protection operation is performed.

【0008】[0008]

【発明が解決しようとする課題】しかし、上述した従来
のフレーム同期回路50は、単位フレームから検出する
パターン検出信号に対して真のフレーム同期信号か否か
をシリアルに判別するため、特に、単位フレーム内にパ
ターン検出信号が多い場合には、ハンティング動作に要
するフレーム数は百数十フレーム以上にも達し、同期復
帰にかなりの時間が必要となり、データの誤通信を発生
するなど、信頼性を大きく損なう問題点があった。
However, since the above-described conventional frame synchronization circuit 50 serially determines whether or not the pattern detection signal detected from the unit frame is a true frame synchronization signal, it is particularly necessary to When there are many pattern detection signals in a frame, the number of frames required for the hunting operation reaches more than one hundred tens of frames, and it takes a considerable time to recover the synchronization, resulting in erroneous data communication. There was a serious loss.

【0009】本発明はこのような従来の技術に存在する
課題を解決したものであり、特に、ハンティング動作の
時間を大幅に短縮できるとともに、データ通信における
高信頼性を確保できるディジタル伝送用フレーム同期回
路の提供を目的とする。
The present invention solves the problems existing in the prior art as described above, and particularly, the frame synchronization for digital transmission which can greatly shorten the time of hunting operation and ensure high reliability in data communication. The purpose is to provide a circuit.

【0010】[0010]

【課題を解決するための手段】本発明は図1に示すよう
に、伝送路から受信した符号列よりフレーム同期信号を
検出してフレーム同期をとるディジタル伝送用フレーム
同期回路1を構成するに際して、符号列からフレーム同
期信号と同一のパターンを検出してパターン検出信号S
hを出力するパターン検出部2と、内部同期信号Siを
出力する内部同期信号発生部3と、内部同期信号Siの
位置に対してパターン検出信号Shの位置が一致したと
きに一致パルスPjを出力し、かつ不一致のときに不一
致パルスPkを出力する同期信号検出部4と、連続した
不一致パルスPkをN個計数したときに同期外れ信号S
mを出力し、かつ連続した一致パルスPjをM個計数し
たときに同期外れ信号Smの出力を停止する同期保護回
路5と、パターン検出信号Shを書込むとともに、読出
したパターン検出信号により内部同期信号発生部3から
当該パターン検出信号に一致する内部同期信号Siを出
力させるFIFOメモリ6aを用いた記憶部6と、不一
致パルスPkをL(例えば、L=N−1)個出力した後
の1フレーム期間に相当する第一期間Tfにおけるパタ
ーン検出信号Sh(対比信号Shm)を記憶部6に書込
み、かつ続く1フレーム期間に相当する第二期間Tsの
開始と同時に、記憶部6に記憶した対比信号Shmを最
初から読出す制御部7を備えることを特徴とする。この
場合、対比信号Shmにおけるパターン検出信号Shの
位置は相対アドレスA1、A2、A3、A4、A5…に
変換して記憶部6に記憶する。また、記憶部6は読出時
にFIFOメモリ6aが空(アドレス値0)になったこ
とを検出するメモリ空検出部6cを備える。
According to the present invention, as shown in FIG. 1, in constructing a frame synchronization circuit 1 for digital transmission, which detects a frame synchronization signal from a code string received from a transmission line to establish frame synchronization, The pattern detection signal S by detecting the same pattern as the frame synchronization signal from the code string
The pattern detection unit 2 that outputs h, the internal synchronization signal generation unit 3 that outputs the internal synchronization signal Si, and the coincidence pulse Pj when the position of the pattern detection signal Sh coincides with the position of the internal synchronization signal Si. And the sync signal detection unit 4 that outputs a mismatch pulse Pk when there is a mismatch, and the sync loss signal S when N consecutive mismatch pulses Pk are counted.
The sync protection circuit 5 that outputs m and stops the output of the out-of-sync signal Sm when counting M consecutive continuous pulses Pj and the pattern detection signal Sh are written, and the internal synchronization is performed by the read pattern detection signal. The storage unit 6 that uses the FIFO memory 6a that outputs the internal synchronization signal Si that matches the pattern detection signal from the signal generation unit 3 and 1 after outputting L (for example, L = N-1) mismatch pulses Pk. The pattern detection signal Sh (comparison signal Shm) in the first period Tf corresponding to the frame period is written in the storage unit 6 and, at the same time as the start of the second period Ts corresponding to the subsequent one frame period, the comparison stored in the storage unit 6 is started. It is characterized by including a control unit 7 for reading the signal Shm from the beginning. In this case, the position of the pattern detection signal Sh in the comparison signal Shm is converted into relative addresses A1, A2, A3, A4, A5 ... And stored in the storage unit 6. The storage unit 6 also includes a memory empty detection unit 6c that detects that the FIFO memory 6a has become empty (address value 0) at the time of reading.

【0011】[0011]

【作用】本発明に係るフレーム同期回路1によれば、パ
ターン検出部2の入力側には伝送路から符号列(受信デ
ータ)Dが入力する。パターン検出部2は符号列Dから
フレーム同期信号と同一のパターンを検出し、これより
得るパターン検出信号Shを同期信号検出部4の入力側
及び制御部7に付与する。
According to the frame synchronizing circuit 1 of the present invention, the code string (received data) D is input to the input side of the pattern detecting section 2 from the transmission line. The pattern detection unit 2 detects the same pattern as the frame synchronization signal from the code string D, and applies the pattern detection signal Sh obtained from this to the input side of the synchronization signal detection unit 4 and the control unit 7.

【0012】また、内部同期信号発生部3は内部同期信
号Siを出力し、同期信号検出部4の入力側に付与す
る。同期信号検出部4は内部同期信号Siの位置に対し
てパターン検出信号Shの位置が一致するか否かを検出
し、一致した場合には一致パルスPjを出力するととも
に、不一致の場合には不一致パルスPkを出力する。
The internal sync signal generator 3 also outputs an internal sync signal Si to the input side of the sync signal detector 4. The sync signal detection unit 4 detects whether or not the position of the pattern detection signal Sh matches the position of the internal sync signal Si, outputs a match pulse Pj when they match, and outputs a match pulse Pj when they do not match. The pulse Pk is output.

【0013】一方、同期保護回路5は前方保護動作と後
方保護動作を行う。前方保護動作は同期外れが発生し、
ある程度継続した際にハンティング動作を実行させるた
めのもので、連続した不一致パルスPkを計数し、N個
の不一致パルスPkを計数したなら同期外れ信号Smを
出力する。また、後方保護動作はハンティング動作の終
了後、同期復帰が確実に行われたことを確認するもの
で、連続した一致パルスPjを計数し、M個の一致パル
スPjを計数したなら同期外れ信号Smの出力を停止す
る。
On the other hand, the synchronization protection circuit 5 performs a front protection operation and a rear protection operation. Forward protection operation is out of sync,
This is for performing a hunting operation when it continues to some extent, and counts consecutive unmatched pulses Pk, and outputs an out-of-synchronization signal Sm when N unmatched pulses Pk are counted. The backward protection operation is for confirming that the synchronous recovery is surely performed after the end of the hunting operation. When the continuous coincidence pulses Pj are counted and M coincidence pulses Pj are counted, the out-of-synchronization signal Sm is obtained. Stop the output of.

【0014】他方、ハンティング動作は次のように行
う。まず、不一致パルスPkをL個出力した後の1フレ
ーム期間に相当する第一期間Tfにおけるパターン検出
信号Sh(対比信号Shm)を記憶部6に記憶する。こ
の際、パターン検出信号Shの位置は相対アドレスA
1、A2、A3…に変換し、記憶部6に記憶する。そし
て、続く1フレーム期間に相当する第二期間Tsの開始
と同時に、記憶部6に記憶した対比信号Shmを最初か
ら読出す。記憶部6から読出された対比信号Shmは内
部同期信号発生部3に入力し、内部同期信号発生部3は
対比信号Shmに一致する内部同期信号Siを同期信号
検出部3に付与する。よって、内部同期信号発生部3に
対しては、第二期間Tsの開始と同時にパターン検出部
2から付与されるパターン検出信号Shの位置と内部同
期信号発生部3から付与される対比信号Shmの位置を
順次対比し、パターン検出信号Shの位置と対比信号S
hmの位置が一致すれば、そのときのパターン検出信号
Shは真のパターン同期信号として検出される。即ち、
同期信号検出部3から一致パルスPjが出力し、フレー
ム同期状態に復帰させることができる。この時点でハン
ティング動作は終了し、前記後方保護動作に基づく処理
が行われる。なお、真のパターン同期信号が検出されな
い場合には同様の処理が繰り返される。
On the other hand, the hunting operation is performed as follows. First, the storage unit 6 stores the pattern detection signal Sh (comparison signal Shm) in the first period Tf corresponding to one frame period after outputting L mismatch pulses Pk. At this time, the position of the pattern detection signal Sh is set to the relative address A.
It is converted into 1, A2, A3 ... And stored in the storage unit 6. Then, simultaneously with the start of the second period Ts corresponding to the subsequent one frame period, the comparison signal Shm stored in the storage unit 6 is read from the beginning. The comparison signal Shm read from the storage unit 6 is input to the internal synchronization signal generation unit 3, and the internal synchronization signal generation unit 3 provides the synchronization signal detection unit 3 with the internal synchronization signal Si that matches the comparison signal Shm. Therefore, the position of the pattern detection signal Sh provided from the pattern detection unit 2 and the comparison signal Shm provided from the internal synchronization signal generation unit 3 to the internal synchronization signal generation unit 3 at the same time when the second period Ts starts. The positions are sequentially compared, and the position of the pattern detection signal Sh and the comparison signal S are compared.
If the positions of hm match, the pattern detection signal Sh at that time is detected as a true pattern synchronization signal. That is,
The coincidence pulse Pj is output from the synchronization signal detector 3 and the frame synchronization state can be restored. At this point, the hunting operation ends, and the processing based on the backward protection operation is performed. Incidentally, when the true pattern synchronization signal is not detected, the same processing is repeated.

【0015】[0015]

【実施例】次に、本発明に係る好適な実施例を挙げ、図
面に基づき詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, preferred embodiments according to the present invention will be described in detail with reference to the drawings.

【0016】まず、本発明の一実施例に係るフレーム同
期回路の構成について、図2を参照して説明する。
First, the structure of a frame synchronization circuit according to an embodiment of the present invention will be described with reference to FIG.

【0017】2は入力側を伝送路に接続したパターン検
出部であり、パターン検出器2aを備える。パターン検
出器2aの出力側は同期信号検出部4の入力側に接続す
るとともに、シフトレジスタ2bを介して制御部7にお
けるメモリ制御部7aに接続する。
Reference numeral 2 is a pattern detecting section whose input side is connected to a transmission line, and is provided with a pattern detector 2a. The output side of the pattern detector 2a is connected to the input side of the synchronization signal detecting section 4 and is connected to the memory control section 7a in the control section 7 via the shift register 2b.

【0018】3は内部同期信号発生部であり、アップダ
ウンカウンタを利用する。内部同期信号発生部3の出力
側は同期信号検出部4の入力側に接続するとともに、さ
らに、内部同期信号発生部3は制御部7におけるアップ
ダウンカウンタ制御部7bに接続する。
Reference numeral 3 denotes an internal synchronizing signal generator which utilizes an up / down counter. The output side of the internal sync signal generator 3 is connected to the input side of the sync signal detector 4, and the internal sync signal generator 3 is further connected to the up / down counter controller 7 b of the controller 7.

【0019】また、同期信号検出部4における出力側は
同期保護回路5及びアップダウンカウンタ制御部7bに
接続する。なお、同期保護回路5の出力側はアップダウ
ンカウンタ制御部7b及びメモリ制御部7aに接続す
る。
The output side of the sync signal detector 4 is connected to the sync protection circuit 5 and the up / down counter controller 7b. The output side of the synchronization protection circuit 5 is connected to the up / down counter controller 7b and the memory controller 7a.

【0020】一方、6は記憶部であり、FIFOメモリ
6aと、FIFOメモリ6aに接続したアップカウンタ
6bと、FIFOメモリ6aが空(アドレス値0)にな
ったことを検出するメモリ空検出部6cを備える。ま
た、FIFOメモリ6aの出力側(出力ポート)は内部
同期信号発生部3の入力側(入力ポート)に接続すると
ともに、FIFOメモリ6a及びアップカウンタ6bは
それぞれメモリ制御部7aに接続する。また、FIFO
メモリ6aの出力側はメモリ空検出部6cに接続すると
ともに、メモリ空検出部6cの出力側はメモリ制御部7
a及びカウンタ制御部7bに接続する。
On the other hand, reference numeral 6 denotes a storage unit, which includes a FIFO memory 6a, an up-counter 6b connected to the FIFO memory 6a, and a memory empty detection unit 6c for detecting that the FIFO memory 6a is empty (address value 0). Equipped with. The output side (output port) of the FIFO memory 6a is connected to the input side (input port) of the internal synchronization signal generator 3, and the FIFO memory 6a and the up counter 6b are connected to the memory controller 7a. Also, the FIFO
The output side of the memory 6a is connected to the memory empty detection unit 6c, and the output side of the memory empty detection unit 6c is connected to the memory control unit 7c.
a and the counter controller 7b.

【0021】次に、図2に示すフレーム同期回路1の動
作について、図3及び図4を参照して説明する。
Next, the operation of the frame synchronization circuit 1 shown in FIG. 2 will be described with reference to FIGS. 3 and 4.

【0022】まず、パターン検出器2aの入力側には伝
送路から図3(A)に示す符号列(受信データ)Dが入
力する。なお、Daはデータ部、Dbはフレーム同期パ
ターン部(フレーム同期信号)である。パターン検出器
2aは符号列Dからフレーム同期信号と同一のパターン
ビット(通常、「1100」)を検出し、図3(B)に
示すパターン検出信号Shを同期信号検出部4の入力側
及びシフトレジスタ2bを介して制御部7におけるメモ
リ制御部7aに付与する。
First, the code string (received data) D shown in FIG. 3A is input to the input side of the pattern detector 2a from the transmission line. Note that Da is a data part, and Db is a frame synchronization pattern part (frame synchronization signal). The pattern detector 2a detects the same pattern bit (usually "1100") as the frame synchronization signal from the code string D, and shifts the pattern detection signal Sh shown in FIG. It is given to the memory control unit 7a in the control unit 7 via the register 2b.

【0023】また、内部同期信号発生部3は図3(F)
に示す内部同期信号Siを出力し、同期信号検出部4の
入力側に付与する。同期信号検出部4は内部同期信号S
iの位置に対してパターン検出信号Shの位置が一致す
るか否かを検出し、一致した場合には図3(H)に示す
一致パルスPjを出力するとともに、不一致の場合には
図3(G)に示す不一致パルスPkを出力する。
Further, the internal synchronizing signal generator 3 is shown in FIG.
The internal synchronization signal Si shown in is output and applied to the input side of the synchronization signal detector 4. The synchronization signal detector 4 uses the internal synchronization signal S
It is detected whether or not the position of the pattern detection signal Sh coincides with the position of i, and if coincident, the coincidence pulse Pj shown in FIG. The mismatch pulse Pk shown in G) is output.

【0024】次に、前方保護動作、ハンティング動作及
び後方保護動作について説明する。前方保護動作は同期
外れが発生し、ある程度継続した際にハンティング動作
を実行させるためのもので、連続した不一致パルスPk
を計数し、N個(通常、6個)の不一致パルスPkを計
数したなら同期外れ信号Smを出力する(ステップ3
1、32、35、36)。図3の場合、不一致パルスP
ksからハンティング動作に入り、図3(C)に示す同
期外れ信号Smが出力する。また、後方保護動作はハン
ティング動作の終了後、同期復帰が確実に行われたこと
を確認するもので、連続した一致パルスPjを計数し、
M個(通常、2個)の一致パルスPjを計数したなら同
期外れ信号Smの出力を停止する(ステップ39、4
0、41、31)。
Next, the front protection operation, the hunting operation, and the rear protection operation will be described. The forward protection operation is for executing the hunting operation when the synchronization is lost and continues for some time.
Is counted, and if N (usually 6) mismatch pulses Pk are counted, an out-of-synchronization signal Sm is output (step 3).
1, 32, 35, 36). In the case of FIG. 3, the mismatch pulse P
The hunting operation starts from ks, and the out-of-synchronization signal Sm shown in FIG. Further, the backward protection operation is for confirming that the synchronous recovery is surely performed after the end of the hunting operation, and counts consecutive coincidence pulses Pj,
When M (usually 2) coincidence pulses Pj are counted, the output of the out-of-synchronization signal Sm is stopped (steps 39 and 4).
0, 41, 31).

【0025】他方、ハンティング動作は次のように行わ
れる。まず、不一致パルスPkをL(L=N−1)個、
即ち、5個出力した後の1フレーム期間に相当する第一
期間Tfにおけるパターン検出信号Sh(対比信号Sh
m)をFIFOメモリ6aに記憶する(ステップ33、
34)。対比信号Shmは図3(B)に示す。この際、
パターン検出信号Shの位置は相対アドレスA1、A
2、A3…に変換して記憶する。即ち、記憶部6におけ
るアップカウンタ6bを起動するとともに、対比信号S
hmにおけるパターン検出信号Shの検出毎にアップカ
ウンタ6bの初期値を1にセットし、これにより、相対
アドレスA1…を生成する。また、同時に検出したパタ
ーン検出信号ShをFIFOメモリ6aのライトイネー
ブル信号として使用し、生成した相対アドレスA1…を
FIFOメモリ6aに書込む(図3(D))。
On the other hand, the hunting operation is performed as follows. First, L (L = N−1) mismatch pulses Pk,
That is, the pattern detection signal Sh (the comparison signal Sh) in the first period Tf corresponding to one frame period after outputting five
m) is stored in the FIFO memory 6a (step 33,
34). The comparison signal Shm is shown in FIG. On this occasion,
The position of the pattern detection signal Sh is relative address A1, A
2, converted into A3 ... and stored. That is, the up counter 6b in the storage unit 6 is activated and the comparison signal S
Each time the pattern detection signal Sh in hm is detected, the initial value of the up counter 6b is set to 1, and thereby the relative address A1 ... Is generated. Further, the pattern detection signal Sh detected at the same time is used as a write enable signal of the FIFO memory 6a, and the generated relative addresses A1 ... Are written in the FIFO memory 6a (FIG. 3 (D)).

【0026】そして、続く1フレーム期間に相当する第
二期間Tsの開始と同時に、図3(E)に示すFIFO
メモリ6aに記憶した対比信号Shmを最初から読出す
(ステップ37)。この場合、同期信号検出部4からの
出力である不一致パルスPkをリードイネーブル信号と
して使用し、FIFOメモリ6aから相対アドレスA1
…を読出し、内部同期信号作成部3におけるアップダウ
ンカウンタの初期値として設定するとともに、このとき
のダウンカウンタの計数値が1となった時点で内部同期
信号Siを生成する。よって、内部同期信号発生部3は
対比信号Shmに一致する内部同期信号Siを同期信号
検出部4に付与する(図3(F)参照)。これにより、
内部同期信号発生部3に対しては、第二期間Tsの開始
と同時にパターン検出部2から付与されるパターン検出
信号Shの位置と内部同期信号発生部3から付与される
対比信号Shmの位置を順次対比し、パターン検出信号
Shの位置と対比信号Shmの位置が一致すれば、その
ときのパターン検出信号Shは真のパターン同期信号と
して検出される(ステップ38)。即ち、同期信号検出
部3から一致パルスPjが出力し、フレーム同期状態に
復帰させることができる。この時点でハンティング動作
は終了し、続いて前記後方保護動作に基づく処理が行わ
れる(ステップ39、40、41)。なお、真のパター
ン同期信号が検出されない場合にはFIFOメモリ6a
のアドレス値0が出力されるため、メモリ空検出部6c
によりこれを検出し、FIFOメモリ6aに再書込みを
行うことで、同様の処理を繰り返し行う(ステップ3
8、42、43)。
Then, at the same time as the start of the second period Ts corresponding to the subsequent one frame period, the FIFO shown in FIG.
The comparison signal Shm stored in the memory 6a is read from the beginning (step 37). In this case, the mismatch pulse Pk output from the synchronization signal detector 4 is used as a read enable signal, and the relative address A1 is read from the FIFO memory 6a.
Is read out and set as the initial value of the up / down counter in the internal synchronization signal creating section 3, and the internal synchronization signal Si is generated when the count value of the down counter at this time becomes 1. Therefore, the internal synchronization signal generation unit 3 gives the internal synchronization signal Si that matches the comparison signal Shm to the synchronization signal detection unit 4 (see FIG. 3F). This allows
For the internal synchronization signal generator 3, the position of the pattern detection signal Sh provided by the pattern detector 2 and the position of the comparison signal Shm provided by the internal synchronization signal generator 3 are determined at the same time when the second period Ts starts. When the positions of the pattern detection signal Sh and the position of the comparison signal Shm coincide with each other in sequence, the pattern detection signal Sh at that time is detected as a true pattern synchronization signal (step 38). That is, the coincidence pulse Pj is output from the synchronization signal detector 3 and the frame synchronization state can be restored. At this point, the hunting operation ends, and subsequently, the processing based on the backward protection operation is performed (steps 39, 40, 41). If the true pattern synchronization signal is not detected, the FIFO memory 6a
Since the address value of 0 is output, the memory empty detection unit 6c
This is detected by, and the same processing is repeated by rewriting to the FIFO memory 6a (step 3).
8, 42, 43).

【0027】以上、実施例について詳細に説明したが、
本発明はこのような実施例に限定されるものではなく、
細部の回路構成、数値等において、本発明の要旨を逸脱
しない範囲で任意に変更できる。
The embodiment has been described in detail above.
The present invention is not limited to such an embodiment,
The detailed circuit configuration, numerical values, etc. can be arbitrarily changed without departing from the scope of the present invention.

【0028】[0028]

【発明の効果】このように、本発明に係るフレーム同期
回路は符号列から得たパターン検出信号を書込むととも
に、読出したパターン検出信号により内部同期信号発生
部から当該パターン検出信号に一致する内部同期信号を
出力させる記憶部と、不一致パルスをL個出力した後の
1フレーム期間に相当する第一期間におけるパターン検
出信号(対比信号)を記憶部に書込み、かつ続く1フレ
ーム期間に相当する第二期間の開始と同時に、記憶部に
記憶した対比信号を最初から読出す制御部を備えてなる
ため、特に、ハンティング動作の時間を大幅に短縮でき
るとともに、データ通信における高信頼性を確保できる
という顕著な効果を奏する。
As described above, the frame synchronizing circuit according to the present invention writes the pattern detection signal obtained from the code string, and the read pattern detection signal causes the internal synchronization signal generator to match the internal pattern detection signal. A storage unit that outputs a synchronization signal, and a pattern detection signal (comparison signal) in a first period corresponding to one frame period after outputting L non-matching pulses are written in the storage unit and that corresponds to the following one frame period. At the same time as the start of the two periods, a control unit for reading the contrast signal stored in the storage unit from the beginning is provided, so that the time of the hunting operation can be greatly shortened and high reliability in data communication can be ensured. Has a remarkable effect.

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

【図1】本発明に係るフレーム同期回路のブロック回路
図、
FIG. 1 is a block circuit diagram of a frame synchronization circuit according to the present invention,

【図2】本発明に係るフレーム同期回路を具体化したブ
ロック回路図、
FIG. 2 is a block circuit diagram embodying a frame synchronization circuit according to the present invention;

【図3】図2の各部における信号のタイムチャート、FIG. 3 is a time chart of signals in each part of FIG.

【図4】前方保護動作、ハンティング動作及び後方保護
動作のアルゴリズムを示すフローチャート、
FIG. 4 is a flowchart showing an algorithm of a front protection operation, a hunting operation, and a rear protection operation,

【図5】従来の技術に係るフレーム同期回路のブロック
回路図、
FIG. 5 is a block circuit diagram of a frame synchronization circuit according to a conventional technique,

【図6】図5の各部における信号のタイムチャート、FIG. 6 is a time chart of signals in each part of FIG.

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

1 フレーム同期回路 2 パターン検出部 3 内部同期信号発生部 4 同期信号検出部 5 同期保護回路 6 記憶部 6a FIFOメモリ 6c メモリ空検出部 7 制御部 A1… 相対アドレス Sh パターン検出信号 Si 内部同期信号 Pj 一致パルス Pk 不一致パルス Sm 同期外れ信号 Shm 対比信号 Tf 第一期間 Ts 第二期間 1 frame synchronization circuit 2 pattern detection unit 3 internal synchronization signal generation unit 4 synchronization signal detection unit 5 synchronization protection circuit 6 storage unit 6a FIFO memory 6c empty memory detection unit 7 control unit A1 ... Relative address Sh pattern detection signal Si internal synchronization signal Pj Matching pulse Pk Mismatching pulse Sm Out-of-sync signal Shm Contrasting signal Tf First period Ts Second period

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 伝送路から受信した符号列よりフレーム
同期信号を検出してフレーム同期をとるディジタル伝送
用フレーム同期回路において、符号列からフレーム同期
信号と同一のパターンを検出してパターン検出信号を出
力するパターン検出部と、内部同期信号を出力する内部
同期信号発生部と、内部同期信号の位置に対してパター
ン検出信号の位置が一致したときに一致パルスを出力
し、かつ不一致のときに不一致パルスを出力する同期信
号検出部と、連続した不一致パルスをN個計数したとき
に同期外れ信号を出力し、かつ連続した一致パルスをM
個計数したときに同期外れ信号の出力を停止する同期保
護回路と、パターン検出信号を書込むとともに、読出し
たパターン検出信号により内部同期信号発生部から当該
パターン検出信号に一致する内部同期信号を出力させる
記憶部と、不一致パルスをL個出力した後の1フレーム
期間に相当する第一期間におけるパターン検出信号(対
比信号)を記憶部に書込み、かつ続く1フレーム期間に
相当する第二期間の開始と同時に、記憶部に記憶した対
比信号を最初から読出す制御部を備えてなることを特徴
とするディジタル伝送用フレーム同期回路。
1. A frame synchronization circuit for digital transmission, which detects a frame synchronization signal from a code string received from a transmission line to establish frame synchronization, detects the same pattern as the frame synchronization signal from the code string, and outputs a pattern detection signal. Outputs a pattern detection unit, an internal synchronization signal generation unit that outputs an internal synchronization signal, and outputs a match pulse when the position of the pattern detection signal matches the position of the internal synchronization signal, and when they do not match, does not match A sync signal detection unit that outputs a pulse and an out-of-sync signal when N consecutive disagreement pulses have been counted, and a succession coincidence pulse M
A sync protection circuit that stops the output of the out-of-sync signal when counting the number, and a pattern detection signal is written, and the internal sync signal that matches the pattern detection signal is output from the internal sync signal generator by the read pattern detection signal. And a pattern detection signal (comparison signal) in the first period corresponding to one frame period after outputting L number of mismatch pulses to the storage unit, and starting the second period corresponding to the following one frame period. At the same time, a frame synchronization circuit for digital transmission, comprising a control unit for reading the comparison signal stored in the storage unit from the beginning.
【請求項2】 L=N−1に設定することを特徴とする
請求項1記載のディジタル伝送用フレーム同期回路。
2. The frame synchronization circuit for digital transmission according to claim 1, wherein L = N-1 is set.
【請求項3】 対比信号におけるパターン検出信号の位
置は相対アドレスに変換して記憶部に記憶することを特
徴とする請求項1記載のディジタル伝送用フレーム同期
回路。
3. The frame synchronization circuit for digital transmission according to claim 1, wherein the position of the pattern detection signal in the comparison signal is converted into a relative address and stored in the storage unit.
【請求項4】 記憶部はFIFOメモリを用いることを
特徴とする請求項1記載のディジタル伝送用フレーム同
期回路。
4. The frame synchronization circuit for digital transmission according to claim 1, wherein the storage section uses a FIFO memory.
【請求項5】 記憶部は読出時にFIFOメモリが空に
なったことを検出するメモリ空検出部を備えることを特
徴とする請求項1記載のディジタル伝送用フレーム同期
回路。
5. The frame synchronization circuit for digital transmission according to claim 1, wherein the storage section includes a memory empty detection section that detects that the FIFO memory has become empty at the time of reading.
JP4027213A 1992-01-17 1992-01-17 Frame synchronization circuit for digital transmission Pending JPH05199217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4027213A JPH05199217A (en) 1992-01-17 1992-01-17 Frame synchronization circuit for digital transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4027213A JPH05199217A (en) 1992-01-17 1992-01-17 Frame synchronization circuit for digital transmission

Publications (1)

Publication Number Publication Date
JPH05199217A true JPH05199217A (en) 1993-08-06

Family

ID=12214830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4027213A Pending JPH05199217A (en) 1992-01-17 1992-01-17 Frame synchronization circuit for digital transmission

Country Status (1)

Country Link
JP (1) JPH05199217A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6840567B2 (en) 2002-07-31 2005-01-11 Mazda Motor Corporation Sliding door structure for vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6840567B2 (en) 2002-07-31 2005-01-11 Mazda Motor Corporation Sliding door structure for vehicle

Similar Documents

Publication Publication Date Title
US5818886A (en) Pulse synchronizing module
JP2948837B2 (en) Communication link interface initialization and synchronization method and communication link receiver
JPH05199217A (en) Frame synchronization circuit for digital transmission
US6765932B1 (en) Method and apparatus for synchronizing a data stream
JPH10242950A (en) Data processing device and method, and data storage control device using the same
JPH08249822A (en) Sync detection method and sync detection circuit
CA2052811C (en) Framing bit sequence detection in digital data communication systems
WO1996007254A1 (en) Receiver
JPS585543B2 (en) frame synchronizer
JP3001414B2 (en) Code error correction device
JPH03178236A (en) Single frame synchronization detection protective-system
JP2862926B2 (en) Frame synchronization protection circuit
JP2655624B2 (en) Frame synchronization detection circuit
JPH0744538B2 (en) Frame synchronization detection circuit
JP3108328B2 (en) Synchronous playback circuit
JP2549472Y2 (en) Frame synchronization protection circuit
JPS5827451A (en) Communication controller
JPH065832B2 (en) Receive synchronization circuit
JPS5821458B2 (en) Frame synchronization circuit
KR0120033Y1 (en) 155M (155M) Synchronous Optical Transmitter Non-One (B1) Byte Section Error Inspection Circuit
JPS6141426B2 (en)
JPH0430234A (en) Error detection circuit
JPH0628265A (en) Memory circuit with check function
JPH03154449A (en) Signal discrimination circuit
JPH0821923B2 (en) Synchronous circuit