JP3110387B2 - Multi-frame synchronization detector - Google Patents

Multi-frame synchronization detector

Info

Publication number
JP3110387B2
JP3110387B2 JP10226598A JP22659898A JP3110387B2 JP 3110387 B2 JP3110387 B2 JP 3110387B2 JP 10226598 A JP10226598 A JP 10226598A JP 22659898 A JP22659898 A JP 22659898A JP 3110387 B2 JP3110387 B2 JP 3110387B2
Authority
JP
Japan
Prior art keywords
frame
synchronization
pattern
signal
circuit
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.)
Expired - Fee Related
Application number
JP10226598A
Other languages
Japanese (ja)
Other versions
JP2000049739A (en
Inventor
真弘 猪野
隆司 大屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10226598A priority Critical patent/JP3110387B2/en
Publication of JP2000049739A publication Critical patent/JP2000049739A/en
Application granted granted Critical
Publication of JP3110387B2 publication Critical patent/JP3110387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マルチフレーム
(multi-frame )同期検出装置、さらに詳しくはディジ
タルデータの複数フレームでマルチフレームを構成し、
マルチフレーム単位にビットシリアル(bit serial)の
形で伝送される場合のマルチフレーム同期検出装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-frame (multi-frame) synchronization detecting device, and more particularly, to a multi-frame synchronizing detecting device comprising a plurality of frames of digital data.
The present invention relates to a multi-frame synchronization detecting device in a case where data is transmitted in a bit serial format in units of multi-frames.

【0002】[0002]

【従来の技術】本発明の先行技術としては、例えば特開
平9−307540号公報で開示された「マルチフレー
ム同期方法」(以下、先行文献という)がある。この先
行文献では、マルチフレームの中の各フレームの位相
(フレーム番号)を表す状態ビットのうちの所定ビット
を、マルチフレーム同期ビットとして用いている。先行
文献に示す数値例では20フレームで1マルチフレーム
を構成しているので、各フレームの位相を表す状態ビッ
トには5ビットが必要となる。従って、受信側では、受
信データ中の同期ビット位置を検出するパターン検出部
と、このパターン検出部で検出した同期ビット位置で各
フレームの同期ビットのデータ(論理)を取り込み、取
り込んだデータをメモリに書き込む受信マルチフレーム
ビットカウンタとを備えていて、メモリに書き込んだデ
ータパターンと予め定められている同期ビットパターン
とを比較して同期検出を行っている。
2. Description of the Related Art As a prior art of the present invention, there is, for example, a "multi-frame synchronization method" (hereinafter referred to as a prior art) disclosed in Japanese Patent Application Laid-Open No. 9-307540. In this prior document, a predetermined bit among the status bits indicating the phase (frame number) of each frame in the multiframe is used as a multiframe synchronization bit. In the numerical examples shown in the prior art documents, one multi-frame is composed of 20 frames, and therefore, five bits are required as the state bits representing the phase of each frame. Therefore, on the receiving side, a pattern detector for detecting the position of the synchronization bit in the received data, the synchronization bit data (logic) of each frame is fetched at the synchronization bit position detected by the pattern detector, and the fetched data is stored in the memory. And a reception multi-frame bit counter for writing data to the memory, and performs synchronization detection by comparing the data pattern written to the memory with a predetermined synchronization bit pattern.

【0003】[0003]

【発明が解決しようとする課題】上述のような先行文献
の方法では、以下のような問題が生じる。すなわち、状
態ビットを各フレーム毎に挿入するため、マルチフレー
ムを構成するフレーム数が多数である場合、状態ビット
のビット数が多くなり、それだけ有効データとして使用
できるエリア(area)が少なくなる。また、同期ビット
を各フレームに分散する形式を取っているため、同期ビ
ットの作成方法、及びその検出方法にやや複雑な回路を
必要とする。
The above-mentioned prior art method has the following problems. That is, since the state bits are inserted for each frame, when the number of frames forming the multi-frame is large, the number of state bits increases, and the area that can be used as valid data decreases accordingly. In addition, since the format in which the synchronization bits are distributed to each frame is used, a slightly complicated circuit is required for the method of creating the synchronization bits and the method of detecting the synchronization bits.

【0004】本発明はかかる問題点を解決するためにな
されたものであり、比較的小数のビットのビットパター
ン、且つ比較的簡単な回路で、マルチフレームの同期を
検出するマルチフレーム同期検出回路を提供することを
目的としている。特に、320フレーム(1フレーム8
ビット)で、1マルチフレームを構成する一次群速度イ
ンタフェース(interface )の2.048Mbps系の
マルチフレームの同期検出に適したマルチフレーム同期
検出回路を提供することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem. A multi-frame synchronization detecting circuit for detecting multi-frame synchronization with a relatively small number of bit patterns and a relatively simple circuit is provided. It is intended to provide. In particular, 320 frames (1 frame 8
It is an object of the present invention to provide a multi-frame synchronization detection circuit suitable for detecting the synchronization of a 2.048 Mbps multi-frame of a primary rate interface (interface) constituting one multi-frame.

【0005】[0005]

【課題を解決するための手段】本発明は、マルチフレー
ムを構成するフレームの中で2つ以上のフレームを同期
ビットのフレームとして、この同期ビットのフレームの
ビットパターンが予め定めるビットパターンに合致する
か否かを検査してマルチフレームの同期を検出すること
とした。例えば8ビットで1フレームを構成し、320
フレームで1マルチフレームを構成する場合、320フ
レームに0〜319のフレーム番号を付け、第0番のフ
レームの8ビットを同期パターンデータ1とし、第15
9番のフレームの8ビットを同期パターンデータ2とし
て同期検出を行った。
According to the present invention, two or more frames among frames constituting a multi-frame are set as frames of synchronization bits, and the bit pattern of the frames of the synchronization bits matches a predetermined bit pattern. It is determined whether or not the multi-frame synchronization is detected by checking whether or not this is the case. For example, one frame is composed of 8 bits, and 320
When one frame is composed of one frame, 320 frames are numbered from 0 to 319, and 8 bits of the 0th frame are used as synchronization pattern data 1, and
Synchronization was detected using 8 bits of the ninth frame as synchronization pattern data 2.

【0006】すなわち本発明のマルチフレーム同期検出
装置は、1フレーム(frame )がn(nは任意の自然
数)ビットで構成され、1マルチフレーム(multi-fram
e )はN(Nは任意の自然数)フレームで構成され、1
マルチフレーム内のN個のフレームに0〜N−1の番号
を付け、第A(0≦A<N−1)番のフレームを同期パ
ターン1で構成し、第B(A<B<N−1)番のフレー
ムを同期パターン2で構成する場合のマルチフレーム同
期検出装置において、フレームの区切りを示すフレーム
信号を計数するフレームカウンタ、ビットシリアル(bi
t serial)の形で伝送されるマルチフレーム信号をnビ
ット並列の1フレームの並列データに変換する直・並列
変換回路、完全同期信号が論理「L」の間、同期パター
ン1検出回路により前記直・並列変換回路の出力をフレ
ーム毎に前記同期パターン1と比較し、一致した場合前
記フレームカウンタの計数値に数値Aをプリセット(pr
eset)する手段、このプリセットの後、前記フレームカ
ウンタの計数値がBであるとき、同期パターン2検出回
路により、前記直・並列変換回路の出力を前記同期パタ
ーン2と比較し、一致した場合仮同期確立信号を同期保
護回路へ出力する手段、同期保護回路で前記仮同期確立
信号が第1の所定数値だけ連続受信されたときは、前記
完全同期信号の論理を「H」とし、前記完全同期信号の
論理が「H」の間は前記同期パターン1検出回路の出力
を無視し、前記同期パターン2検出回路の出力が不一致
を示すときは、仮非同期確立信号を同期保護回路へ出力
する手段、同期保護回路で前記仮非同期確立信号が第2
の所定数値だけ連続受信されたときは、前記完全同期信
号の論理を「L」とし、前記同期パターン1検出回路の
出力により前記フレームカウンタのリセットを開始する
手段を備えたことを特徴とする。
That is, in the multi-frame synchronization detecting device of the present invention, one frame is composed of n (n is an arbitrary natural number) bits, and one multi-frame is detected.
e) is composed of N (N is an arbitrary natural number) frames and 1
The N frames in the multi-frame are numbered from 0 to N−1, and the A-th (0 ≦ A <N−1) -th frame is configured by the synchronization pattern 1 and the B-th frame (A <B <N− In the multi-frame synchronization detecting apparatus when the 1st frame is configured by the synchronization pattern 2, a frame counter for counting a frame signal indicating a frame delimiter, a bit serial (bi)
t serial), a serial / parallel conversion circuit for converting a multi-frame signal transmitted in the form of n-bit parallel data into one frame of parallel data. -The output of the parallel conversion circuit is compared with the synchronization pattern 1 for each frame, and if they match, a numerical value A is preset to the count value of the frame counter (pr
eset), after the preset, when the count value of the frame counter is B, the output of the serial / parallel conversion circuit is compared with the synchronous pattern 2 by the synchronous pattern 2 detection circuit, and Means for outputting a synchronization establishment signal to a synchronization protection circuit, wherein when the temporary synchronization establishment signal is continuously received by the first predetermined value by the synchronization protection circuit, the logic of the complete synchronization signal is set to "H", Means for ignoring the output of the synchronization pattern 1 detection circuit while the signal logic is "H", and outputting a temporary asynchronous establishment signal to the synchronization protection circuit when the output of the synchronization pattern 2 detection circuit indicates a mismatch. In the synchronization protection circuit, the temporary asynchronous establishment signal is
Means for setting the logic of the perfect synchronizing signal to "L" when the predetermined number of signals is continuously received, and for starting the resetting of the frame counter by the output of the synchronizing pattern 1 detecting circuit.

【0007】また、前記フレーム番号のAは、A=0で
あり、前記フレームカウンタの計数値にAをプリセット
することは、前記フレームカウンタをリセットすること
を意味するマルチフレーム同期検出装置を特徴とする。
The frame number A is A = 0, and presetting A to the count value of the frame counter means resetting the frame counter. I do.

【0008】また、n=8、N=320、A=0、B=
159であることを特徴とする。前記第1の数値も前記
第2の数値も共に1以上16以下に選定されることを特
徴とする。前記第1の数値も前記第2の数値も共に2に
選定されることを特徴とする。前記同期パターン1はレ
ジスタdに設定され、前記同期パターン2はレジスタe
に設定されることを特徴とする。
Further, n = 8, N = 320, A = 0, B =
159. It is characterized in that both the first numerical value and the second numerical value are selected from 1 or more and 16 or less. It is characterized in that both the first numerical value and the second numerical value are selected to be 2. The synchronization pattern 1 is set in a register d, and the synchronization pattern 2 is set in a register e.
Is set.

【0009】更に、前記第1の数値と前記第2の数値と
は、共に外部から前記同期保護回路に設定されることを
特徴とする。
Further, the first numerical value and the second numerical value are both externally set to the synchronization protection circuit.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は本発明の一実施形態を示す
ブロック図、図2は一次群速度インタフェース2.04
8Mbps系インタフェースのデータを時分割多重した
ときのマルチフレームの構成を示すフォーマット図であ
る。図1を参照すると、本実施形態では、回線側から入
力される直列データaを8ビットの並列データbに変換
する直・並列変換回路11と、上述の8ビット並列デー
タbと外部から設定される同期パターン1のデータdと
を毎フレーム比較し、両者が一致したとき、0から31
9までカウントするフレームカウンタ(図1には図示せ
ず、図4で説明する)の値を0に設定する同期パターン
1検出回路12と、前記フレームカウンタの値が159
の時に直・並列変換回路11から与えられる8ビット並
列データbと外部から設定される同期パターン2のデー
タeを比較し、両者が一致したとき仮同期確立信号iを
出力する同期パターン2検出回路13とを備えている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a primary rate interface 2.04.
FIG. 4 is a format diagram showing a configuration of a multi-frame when data of an 8 Mbps interface is time-division multiplexed. Referring to FIG. 1, in the present embodiment, a serial / parallel conversion circuit 11 for converting serial data a input from the line side into 8-bit parallel data b, and the above-described 8-bit parallel data b and externally set The data d of the synchronization pattern 1 is compared with each frame every frame.
A synchronization pattern 1 detection circuit 12 for setting a value of a frame counter (not shown in FIG. 1 and described in FIG. 4) counting up to 9 to 0, and a value of 159 for the frame counter
, The 8-bit parallel data b supplied from the serial-parallel conversion circuit 11 is compared with the data e of the synchronization pattern 2 set from the outside, and a synchronization pattern 2 detection circuit for outputting a temporary synchronization establishment signal i when they match. 13 is provided.

【0011】更に誤同期を防止するため、同期保護回路
14を備えていて、非同期時には仮同期確立信号iが所
定回数(例えばX回とし、Xを後方保護段数という)連
続して到来したときに同期が確立したと見做してフレー
ムカウンタのリセットを中止し、同期時に仮非同期確立
信号jが所定回数(例えばY回とし、Yを前方保護段数
という)連続して到来したときに同期外れと見做し、再
同期の動作を起動するよう制御する。
Further, in order to prevent erroneous synchronization, a synchronization protection circuit 14 is provided, and when the temporary synchronization establishment signal i arrives continuously for a predetermined number of times (for example, X times and X is called the number of backward protection stages) during asynchronous operation. Assuming that synchronization has been established, the resetting of the frame counter is stopped, and when the temporary asynchronous establishment signal j arrives for a predetermined number of times (for example, Y times and Y is referred to as the number of forward protection stages) during synchronization, it is determined that the synchronization is lost. It is assumed that the resynchronization operation is started.

【0012】図4は、図1のブロック図を説明の便宜の
ために詳細にしたブロック図であり、図4において、図
1と同一符号、同一記号は同一部分を示し、符号41は
フレームカウンタ、符号42はフレームカウンタのデコ
ーダ、符号43はレジスタd、符号44はレジスタe、
符号45はアンドゲートである。
FIG. 4 is a detailed block diagram of the block diagram of FIG. 1 for convenience of explanation. In FIG. 4, the same reference numerals and the same reference numerals denote the same parts as in FIG. 1, and reference numeral 41 denotes a frame counter. , Reference numeral 42 denotes a frame counter decoder, reference numeral 43 denotes a register d, reference numeral 44 denotes a register e,
Reference numeral 45 denotes an AND gate.

【0013】以下、図1、図2及び図4を用いて、本実
施形態の動作について説明する。直・並列変換回路11
は、回線側から入力される1フレーム8ビットの直列デ
ータaを8ビットの並列データbに変換する。この変換
のためには、ビット同期とフレーム同期が取れているこ
とが必要であるが、これらは既に同期が取れていて、こ
こではマルチフレームの同期だけが問題となるものとす
る。従って、フレームの区切りを示すフレーム信号cも
生成されていて、これをモジュロ320のカウンタ41
で計数する。従って、このカウンタ41の計数値はフレ
ーム番号(図2参照)を示す。
The operation of this embodiment will be described below with reference to FIGS. 1, 2 and 4. Serial-parallel conversion circuit 11
Converts 8-bit serial data a per frame input from the line side into 8-bit parallel data b. For this conversion, it is necessary that the bit synchronization and the frame synchronization are established, but these are already synchronized, and here, it is assumed that only the synchronization of the multi-frame is a problem. Accordingly, a frame signal c indicating a frame break is also generated, and this is
Count with. Therefore, the count value of the counter 41 indicates the frame number (see FIG. 2).

【0014】同期パターン1のデータdは外部からレジ
スタdに設定される。同期パターン1検出回路12は、
並列データbとレジスタdの内容を常時比較しており、
両者が合致したときに論理「H」の信号を出力する。同
期保護回路14が完全同期信号を論理「H」にして出力
してない場合は、再同期要求信号kを論理「H」にして
出力している(すなわち、この両信号は同一信号の反対
論理で表されると考えてもよい)から、同期パターン1
検出回路12からの同期検出信号はアンドゲート45を
通過して、フレームカウンタ41をリセットする。すな
わち、同期パターン1検出回路12で同期検出した時点
をフレームカウンタ41の計数値0の位相とする。
The data d of the synchronization pattern 1 is externally set in the register d. The synchronization pattern 1 detection circuit 12
The contents of the parallel data b and the register d are constantly compared,
When both match, a logic "H" signal is output. When the synchronization protection circuit 14 does not output the complete synchronization signal at logic "H" and outputs it, the resynchronization request signal k is output at logic "H" (that is, both signals are the opposite logic of the same signal). Can be considered to be represented by
The synchronization detection signal from the detection circuit 12 passes through the AND gate 45, and resets the frame counter 41. That is, the time when synchronization is detected by the synchronization pattern 1 detection circuit 12 is defined as the phase of the count value 0 of the frame counter 41.

【0015】デコーダ42は、フレームカウンタ41の
計数値が159である位相の期間だけ論理「H」の信号
を出力する。同期パターン2検出回路13はデコーダ4
2の出力が論理「H」のときだけ動作するよう制御され
る。すなわち、この時だけ並列データbとレジスタe4
4の内容とを比較する。レジスタe44には同期パター
ン2のデータeが格納されているので、フレーム番号1
59の並列データbがレジスタe44の内容と一致する
ことは、同期が確立されていることを意味するので仮同
期確立信号iを同期保護回路14に出力する。同期保護
回路14には後方保護段数Xと前方保護段数Yとの数値
が予め設定されているので、仮同期確立信号iが連続し
てX回到来すると完全同期信号を論理「H」にして出力
する。この場合、再同期要求信号kの論理は「L」とな
り、フレームカウンタ41のリセットはアンドゲート4
5の出力では行われなくなり、同期パターン2検出回路
13の出力だけが監視されることになる。
The decoder 42 outputs a signal of logic "H" only during a phase in which the count value of the frame counter 41 is 159. The synchronization pattern 2 detection circuit 13 is a decoder 4
2 is controlled so as to operate only when the output is logic "H". That is, only at this time, the parallel data b and the register e4
Compare with the contents of 4. Since the data e of the synchronization pattern 2 is stored in the register e44, the frame number 1
Since the fact that the 59 parallel data b matches the content of the register e44 means that synchronization has been established, the temporary synchronization establishment signal i is output to the synchronization protection circuit 14. Since the values of the rear protection stage number X and the front protection stage number Y are set in advance in the synchronization protection circuit 14, when the temporary synchronization establishment signal i arrives X times in succession, the complete synchronization signal is set to logic "H" and output. I do. In this case, the logic of the resynchronization request signal k becomes "L", and the frame counter 41 is reset by the AND gate 4.
5 is not performed, and only the output of the synchronous pattern 2 detection circuit 13 is monitored.

【0016】フレームカウンタ41の計数値が159の
時点で、並列データbがレジスタe44の内容と合致し
ている間は、完全同期状態にあるので、仮同期確立信号
iが同期保護回路14に送られるだけで、同期保護回路
14は何らの動作も行わない。フレームカウンタ41の
計数値が159の時点で、並列データbがレジスタe4
4の内容と合致しないときは同期外れを疑ってみる。然
しながらこの時、直ちに同期外れであるとは断定せず、
仮非同期確立信号jを同期保護回路14に送る。仮非同
期確立信号jが連続してY回到来すると同期外れと断定
し、完全同期信号を論理「L」にする。再同期要求信号
kの論理が「H」となり、同期パターン1検出回路12
の検出出力でフレームカウンタ41がリセットされ、再
同期が開始される。
At the time when the count value of the frame counter 41 is 159, as long as the parallel data b matches the contents of the register e44, the synchronization is complete. The synchronization protection circuit 14 does not perform any operation. When the count value of the frame counter 41 is 159, the parallel data b is stored in the register e4.
If the content does not match the content of No. 4, suspect out of synchronization. However, at this time, I did not conclude that it was out of sync immediately,
The temporary asynchronous establishment signal j is sent to the synchronization protection circuit 14. When the temporary asynchronous establishment signal j arrives Y times in succession, it is determined that the synchronization has been lost, and the complete synchronization signal is set to logic "L". The logic of the resynchronization request signal k becomes “H”, and the synchronization pattern 1 detection circuit 12
, The frame counter 41 is reset, and resynchronization is started.

【0017】後方保護段数Xと前方保護段数Yとの値は
設計により適宜な数値が選ばれるが、同期保護を確実に
し、かつ同期引き入れに要する時間を短くする必要があ
るため、両者とも1以上16以下の数が選ばれる。レジ
スタd43、レジスタe44に設定されるビットパター
ン、すなわちフレーム番号0と159の同期パターンデ
ータ1または2は、他のフレームのビットパターンとし
て発生する確率の小さいものを選び、00h〜FFh
(但しhは16進表示を示す)の間の数値のビットパタ
ーンを設定する。
The values of the number of rear protection stages X and the number of front protection stages Y are appropriately selected depending on the design. However, since it is necessary to ensure the synchronization protection and to shorten the time required for synchronizing, both of them are 1 or more. A number of 16 or less is chosen. As the bit patterns set in the registers d43 and e44, that is, the synchronization pattern data 1 or 2 of the frame numbers 0 and 159, those having a low probability of occurring as bit patterns of other frames are selected.
(However, h indicates hexadecimal notation) Set the bit pattern of the numerical value between.

【0018】先に説明したように、完全同期が確立する
とそれ以後は同期パターン1検出回路12の検出信号を
棄て、フレーム信号cによってフレームカウンタ42が
自走するのにまかせてある。それは同期パターン1検出
回路12は、並列データbがフレーム番号0以外におい
ても、同期パターン1のデータdに偶然一致して誤検出
をすることがあっても、フレーム信号cが欠落してフレ
ームカウンタが誤動作することはないと考えられるから
である。従って図1に示すように仮同期確立信号iも仮
非同期確立信号jも共に、同期パターン2検出回路13
からだけ出力されている。
As described above, when the perfect synchronization is established, the detection signal of the synchronization pattern 1 detection circuit 12 is discarded thereafter, and the frame counter 42 is left to run by the frame signal c. That is, even if the parallel data b is other than the frame number 0 and the coincidence with the data d of the synchronization pattern 1 is erroneously detected, the frame signal c is lost and the frame counter c Is not considered to malfunction. Therefore, as shown in FIG. 1, both the provisional synchronization establishment signal i and the provisional asynchronous establishment signal j
Is output only from.

【0019】図3は、図1の後方保護段数Xも前方保護
段数Yも、共に2とした場合の各部の動作を示す動作タ
イムチャートであり、完全同期信号の論理が「L」の間
は再同期要求信号kの論理は「H」であって、同期パタ
ーン1検出回路12の検出出力によってフレームカウン
タ41がリセットされ、その計数値が0になる。次にこ
の計数値が159の時、同期パターン2検出回路13で
一致が検出されたとき、仮同期確立信号iが同期保護回
路14に1回送られ、次にフレームカウンタ41の計数
値が0になった時、同期パターン1検出回路12から信
号が出てフレームカウンタ41をリセットする。この時
フレームカウンタ41の計数値は0であるので、ここは
念のためのリセットになる。
FIG. 3 is an operation time chart showing the operation of each unit when both the number of rear protection stages X and the number of front protection stages Y in FIG. 1 are set to 2, and while the logic of the complete synchronization signal is "L". The logic of the resynchronization request signal k is “H”, the frame counter 41 is reset by the detection output of the synchronization pattern 1 detection circuit 12, and its count value becomes zero. Next, when the count value is 159, when a match is detected by the synchronization pattern 2 detection circuit 13, the temporary synchronization establishment signal i is sent once to the synchronization protection circuit 14, and then the count value of the frame counter 41 becomes zero. When this happens, a signal is output from the synchronization pattern 1 detection circuit 12 and the frame counter 41 is reset. At this time, since the count value of the frame counter 41 is 0, this is a reset just in case.

【0020】その次にこの計数値が159の時、同期パ
ターン2検出回路13で一致が検出されると、仮同期確
立信号iがもう1回送られ、仮同期確立信号iの合計回
数が設定された後方保護段数Xに達するので、完全同期
信号が論理「H」となり、再同期要求信号kの論理は
「L」になって、論理パターン1検出回路12の出力は
無視される。完全同期信号が論理「H」の間に、同期パ
ターン2検出回路13から仮非同期確立信号jが連続し
て2回出力されると、完全同期信号の論理は「L」とな
る。
Next, when the count value is 159, if a match is detected by the synchronization pattern 2 detection circuit 13, a temporary synchronization establishment signal i is sent once again, and the total number of temporary synchronization establishment signals i is set. Since the number of backward protection stages X has reached, the complete synchronization signal becomes logic "H", the logic of the resynchronization request signal k becomes "L", and the output of the logic pattern 1 detection circuit 12 is ignored. When the temporary asynchronous establishment signal j is output twice consecutively from the synchronization pattern 2 detection circuit 13 while the complete synchronization signal is at logic “H”, the logic of the complete synchronization signal becomes “L”.

【0021】以上は1フレームが8ビットで構成され、
1マルチフレームが320フレームで構成される場合に
ついて本発明を説明している。然しながら本発明は、1
フレームのビット数、1マルチフレームのフレーム数に
は関係なく適用できることは明らかである。また本発明
では、同期パターン1データdを第0番のフレームに入
れ、同期パターン1検出回路12の検出出力でフレーム
カウンタをリセットしたが、同期パターン1データdを
第A番のフレームに入れ、同期パターン1検出回路12
の検出出力でフレームカウンタを数値Aにプリセットす
ることとしても良い。
In the above, one frame is composed of 8 bits.
The present invention has been described for the case where one multi-frame is composed of 320 frames. However, the present invention
Obviously, the present invention can be applied regardless of the number of bits of a frame and the number of frames of a multi-frame. In the present invention, the synchronization pattern 1 data d is put in the 0th frame, and the frame counter is reset by the detection output of the synchronization pattern 1 detection circuit 12. However, the synchronization pattern 1 data d is put in the Ath frame. Synchronous pattern 1 detection circuit 12
, The frame counter may be preset to a numerical value A at the detection output.

【0022】更に本発明では、同期パターンのデータを
1と2の2種類にして、同期パターン1のデータが到来
したときフレームカウンタ41をリセットし、フレーム
カウンタ41の計数値が159のときの並列データbが
同期パターン2のビットパターンに合致するとき仮同期
確立信号iを出力することとしたが、同期パターンのデ
ータを1と2と3の3種類にして、同期パターン1のデ
ータをフレーム番号0のフレームに入れ、同期パターン
2のデータを例えばフレーム番号100のフレームに入
れ、同期パターン3のデータを例えばフレーム番号20
0のフレームに入れ、同期パターン1に合致したときフ
レームカウンタ41をリセットし、このリセット後、フ
レーム番号100と200の時、ビットパターンの合致
の度に仮同期確立信号iを出力するように設計しても良
い。同期パターンの数を増加すると、後方保護段数、前
方保護段数を減少することなく、同期引き込み時間を短
縮することができる。
Further, according to the present invention, the data of the synchronization pattern is made into two types, 1 and 2, and when the data of the synchronization pattern 1 arrives, the frame counter 41 is reset. When the data b matches the bit pattern of the synchronization pattern 2, the provisional synchronization establishment signal i is output. However, the data of the synchronization pattern is divided into three types of 1, 2, and 3, and the data of the synchronization pattern 1 is set to the frame number. 0, the data of the synchronization pattern 2 is inserted into the frame of the frame number 100, for example, and the data of the synchronization pattern 3 is inserted into the frame of the frame number 20.
0, the frame counter 41 is reset when it matches the synchronization pattern 1, and after this reset, when the frame numbers are 100 and 200, the temporary synchronization establishment signal i is output every time the bit pattern matches. You may. When the number of synchronization patterns is increased, the synchronization pull-in time can be reduced without reducing the number of rear protection stages and the number of front protection stages.

【0023】[0023]

【発明の効果】以上述べたように本発明によれば、同期
を取るための同期パターンデータを、マルチフレーム中
の先頭(第0番)のフレームとほぼ中央(第M番)のフ
レームに入れ、先頭のフレームの同期パターンを検出し
た時に、フレームカウンタをリセットし、このリセット
後、第M番のフレームで一致検出があった時に仮同期確
立信号iを出力するようにし、且つ同期保護回路を設け
て誤同期を防止する構成としたので、簡単な回路構成で
確実なマルチフレーム同期を確立することができるとい
う効果がある。
As described above, according to the present invention, the synchronization pattern data for synchronizing is inserted into the head (No. 0) frame and the substantially center (M-th) frame in the multiframe. When the synchronization pattern of the first frame is detected, the frame counter is reset, and after this reset, a temporary synchronization establishment signal i is output when a match is detected in the M-th frame, and the synchronization protection circuit is Since the configuration is provided to prevent erroneous synchronization, there is an effect that reliable multi-frame synchronization can be established with a simple circuit configuration.

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

【図1】本発明の一実施形態を説明するためのブロック
図である。
FIG. 1 is a block diagram illustrating an embodiment of the present invention.

【図2】本発明が適用されるマルチフレームの構成例を
示すフォーマット図である。
FIG. 2 is a format diagram showing a configuration example of a multi-frame to which the present invention is applied.

【図3】図1の装置の動作を示す動作タイミングチャー
トである。
FIG. 3 is an operation timing chart showing an operation of the device of FIG. 1;

【図4】図1の装置の詳細部分を示すブロック図であ
る。
FIG. 4 is a block diagram showing details of the apparatus of FIG. 1;

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

11 直・並列変換回路 12 同期パターン1検出回路 13 同期パターン2検出回路 14 同期保護回路 41 フレームカウンタ 42 フレームカウンタ 43 レジスタd 44 レジスタe Reference Signs List 11 serial / parallel conversion circuit 12 synchronization pattern 1 detection circuit 13 synchronization pattern 2 detection circuit 14 synchronization protection circuit 41 frame counter 42 frame counter 43 register d 44 register e

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−264744(JP,A) 特開 平7−7500(JP,A) 特開 平6−37746(JP,A) 特開 平4−4627(JP,A) 特開 昭56−56058(JP,A) 特開 昭55−44263(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04J 3/00 - 3/26 H04L 7/00 - 7/10 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-264744 (JP, A) JP-A-7-7500 (JP, A) JP-A-6-37746 (JP, A) JP-A-4- 4627 (JP, A) JP-A-56-56058 (JP, A) JP-A-55-44263 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04J 3/00-3 / 26 H04L 7/00-7/10

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1フレーム(frame )がn(nは任意の
自然数)ビットで構成され、1マルチフレーム(multi-
frame )はN(Nは任意の自然数)フレームで構成さ
れ、1マルチフレーム内のN個のフレームに0〜N−1
の番号を付け、第A(0≦A<N−1)番のフレームを
同期パターン1で構成し、第B(A<B<N−1)番の
フレームを同期パターン2で構成する場合のマルチフレ
ーム同期検出装置において、 フレームの区切りを示すフレーム信号を計数するフレー
ムカウンタ、 ビットシリアル(bit serial)の形で伝送されるマルチ
フレーム信号をnビット並列の1フレームの並列データ
に変換する直・並列変換回路、 完全同期信号が論理「L」の間、同期パターン1検出回
路により前記直・並列変換回路の出力をフレーム毎に前
記同期パターン1と比較し、一致した場合前記フレーム
カウンタの計数値に数値Aをプリセット(preset)する
手段、 このプリセットの後、前記フレームカウンタの計数値が
Bであるとき、同期パターン2検出回路により、前記直
・並列変換回路の出力を前記同期パターン2と比較し、
一致した場合仮同期確立信号を同期保護回路へ出力する
手段、 同期保護回路で前記仮同期確立信号が第1の所定数値だ
け連続受信されたときは、前記完全同期信号の論理を
「H」とし、前記完全同期信号の論理が「H」の間は前
記同期パターン1検出回路の出力を無視し、前記同期パ
ターン2検出回路の出力が不一致を示すときは、仮非同
期確立信号を同期保護回路へ出力する手段、 同期保護回路で前記仮非同期確立信号が第2の所定数値
だけ連続受信されたときは、前記完全同期信号の論理を
「L」とし、前記同期パターン1検出回路の出力により
前記フレームカウンタのリセットを開始する手段、 を備えたことを特徴とするマルチフレーム同期検出装
置。
1. One frame (frame) is composed of n (n is an arbitrary natural number) bits, and one multi-frame (multi-
frame) is composed of N (N is an arbitrary natural number) frames, and N frames in one multi-frame have 0 to N−1.
, The A-th (0 ≦ A <N−1) -th frame is configured by the synchronization pattern 1 and the B-th (A <B <N−1) -th frame is configured by the synchronization pattern 2 In the multi-frame synchronization detecting device, a frame counter for counting a frame signal indicating a frame delimiter, and a direct / multi-frame signal for converting a multi-frame signal transmitted in the form of bit serial into n-bit parallel one-frame parallel data. Parallel conversion circuit, While the complete synchronization signal is at logic "L", the output of the serial / parallel conversion circuit is compared with the synchronization pattern 1 for each frame by a synchronization pattern 1 detection circuit, and when they match, the count value of the frame counter Means for presetting the numerical value A to the preset value. After the preset, when the count value of the frame counter is B, the synchronous pattern 2 detecting circuit The output of the serial-parallel conversion circuit compared to the sync pattern 2,
Means for outputting a provisional synchronization establishment signal to the synchronization protection circuit if they match, when the synchronization protection circuit continuously receives the provisional synchronization establishment signal by a first predetermined value, the logic of the complete synchronization signal is set to "H" When the logic of the complete synchronization signal is "H", the output of the synchronization pattern 1 detection circuit is ignored, and when the output of the synchronization pattern 2 detection circuit indicates a mismatch, the temporary asynchronous establishment signal is sent to the synchronization protection circuit. Means for outputting; when the temporary asynchronous establishment signal is continuously received by the synchronization protection circuit by a second predetermined value, the logic of the complete synchronization signal is set to “L”, and the frame is output by the synchronization pattern 1 detection circuit. Means for starting reset of a counter.
【請求項2】 請求項1記載のマルチフレーム同期検出
装置において、 前記フレーム番号のAは、A=0であり、前記フレーム
カウンタの計数値にAをプリセットすることは、前記フ
レームカウンタをリセットすることを意味するマルチフ
レーム同期検出装置。
2. The multi-frame synchronization detecting device according to claim 1, wherein A of the frame number is A = 0, and presetting A to the count value of the frame counter resets the frame counter. Multi-frame synchronization detecting device.
【請求項3】 請求項2記載のマルチフレーム同期検出
装置において、 n=8、N=320、A=0、B=159であることを
特徴とするマルチフレーム同期検出装置。
3. The multi-frame synchronization detecting device according to claim 2, wherein n = 8, N = 320, A = 0, and B = 159.
【請求項4】 請求項1記載のマルチフレーム同期検出
装置において、 前記第1の数値も前記第2の数値も共に1以上16以下
に選定されることを特徴とするマルチフレーム同期検出
装置。
4. The multi-frame synchronization detecting device according to claim 1, wherein both the first numerical value and the second numerical value are selected from 1 or more and 16 or less.
【請求項5】 請求項4記載のマルチフレーム同期検出
装置において、 前記第1の数値も前記第2の数値も共に2に選定される
ことを特徴とするマルチフレーム同期検出装置。
5. The multi-frame synchronization detecting device according to claim 4, wherein both the first numerical value and the second numerical value are selected to be 2.
【請求項6】 請求項1記載のマルチフレーム同期検出
装置において、 前記同期パターン1はレジスタdに設定され、前記同期
パターン2はレジスタeに設定されることを特徴とする
マルチフレーム同期検出装置。
6. The multi-frame synchronization detection device according to claim 1, wherein the synchronization pattern 1 is set in a register d, and the synchronization pattern 2 is set in a register e.
【請求項7】 請求項1記載のマルチフレーム同期検出
装置において、 前記第1の数値と前記第2の数値とは、共に外部から前
記同期保護回路に設定されることを特徴とするマルチフ
レーム同期検出装置。
7. The multi-frame synchronization detecting apparatus according to claim 1, wherein both the first numerical value and the second numerical value are externally set in the synchronization protection circuit. Detection device.
JP10226598A 1998-07-28 1998-07-28 Multi-frame synchronization detector Expired - Fee Related JP3110387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10226598A JP3110387B2 (en) 1998-07-28 1998-07-28 Multi-frame synchronization detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10226598A JP3110387B2 (en) 1998-07-28 1998-07-28 Multi-frame synchronization detector

Publications (2)

Publication Number Publication Date
JP2000049739A JP2000049739A (en) 2000-02-18
JP3110387B2 true JP3110387B2 (en) 2000-11-20

Family

ID=16847710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10226598A Expired - Fee Related JP3110387B2 (en) 1998-07-28 1998-07-28 Multi-frame synchronization detector

Country Status (1)

Country Link
JP (1) JP3110387B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3715623B2 (en) 2002-12-25 2005-11-09 株式会社東芝 Synchronization signal detection apparatus and synchronization signal detection method

Also Published As

Publication number Publication date
JP2000049739A (en) 2000-02-18

Similar Documents

Publication Publication Date Title
JP2732759B2 (en) Frame synchronization control method
US5202904A (en) Pulse stuffing apparatus and method
US4680765A (en) Autosync circuit for error correcting block decoders
JP3110387B2 (en) Multi-frame synchronization detector
JP2967748B2 (en) ATM cell synchronization circuit
JP2697421B2 (en) Frame synchronization circuit for digital transmission system
JP2948894B2 (en) Frame synchronization circuit
JP2715953B2 (en) Synchronous circuit
JP2698287B2 (en) Receiver circuit for asynchronous communication
JP3073856B2 (en) ATM cell processing equipment
JP3010634B2 (en) Frame synchronous multiplex processing
JPH02288741A (en) Frame pull-in circuit
KR20010018378A (en) Apparatus for detecting sync of transport packet
JP2962061B2 (en) Cross connect device
JPH11239121A (en) Digital communications equipment
JPH0787435B2 (en) Multiplex channel receiver
JPH0327636A (en) Predioclonus buffer device
JPH0530067A (en) Channel detector
JPS588782B2 (en) Multi-frame synchronizer
JPH1032554A (en) Signal processing circuit for transmitter/repeater
JPH09307540A (en) Multi-frame synchronizing method
JPH0736547B2 (en) Word interleaved multiplex signal separation device
JPH03261234A (en) Frame synchronizing method, frame synchronizing circuit and multiplex converter
JP2000307563A (en) Frame synchronization detection circuit
JPH05304522A (en) Synchronization detection controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees