JPH07327028A - Multi-frame synchronization system - Google Patents

Multi-frame synchronization system

Info

Publication number
JPH07327028A
JPH07327028A JP6117324A JP11732494A JPH07327028A JP H07327028 A JPH07327028 A JP H07327028A JP 6117324 A JP6117324 A JP 6117324A JP 11732494 A JP11732494 A JP 11732494A JP H07327028 A JPH07327028 A JP H07327028A
Authority
JP
Japan
Prior art keywords
counter
frame
bit
bits
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.)
Pending
Application number
JP6117324A
Other languages
Japanese (ja)
Inventor
Keizo Nagata
桂三 永田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6117324A priority Critical patent/JPH07327028A/en
Publication of JPH07327028A publication Critical patent/JPH07327028A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce maximum detection time by detecting a multi-frame identification code from a bit stream having a already been stored and hold. CONSTITUTION:The system is made up of a cyclic counter 1 incremented for each bit of a bit stream and runs freely by using a bit number of 1 multi-frame for an upper limit, a memory circuit 5 storing the bit stream, a counter 2 counting a bit number of the bit stream, a control circuit 4 writing the bit stream to the memory circuit 5, a counter 3 whose count is incremented by a bit number of one frame, a control circuit 4 reading the content of the memory circuit 5 at a higher speed than a bit rate of the bit stream based on the count of the counter 3, a shift register 6 identifying a multi-frame identification code, an arithmetic circuit 8 calculating the count of the counter 3 based on the output of the shift register 6 and a comparator 9 comparing the output of the arithmetic circuit 8 and the output of the cyclic counter 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチフレーム構成を
とるシリアルビットストリームを受信するシステムにお
いてマルチフレーム同期を行うマルチフレーム同期方式
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiframe synchronization system for performing multiframe synchronization in a system which receives a serial bitstream having a multiframe structure.

【0002】[0002]

【従来の技術】一般に、シリアルデータ伝送に用いられ
るマルチフレームは、一定数連続したフレームの集合に
より構成され、1フレームを構成するビット列の定めら
れた位置に1ビットのマルチフレームビットが存在す
る。
2. Description of the Related Art Generally, a multi-frame used for serial data transmission is composed of a set of a fixed number of consecutive frames, and one multi-frame bit exists at a defined position of a bit string constituting one frame.

【0003】シリアルデータと同系列で伝送されるマル
チフレームビットの検出は、各フレームを1ビットずつ
1フレーム周期で抽出し、1マルチフレーム分のマルチ
フレーム識別コードを検出している。
To detect multi-frame bits transmitted in the same series as serial data, each frame is extracted one bit at a time in one frame period, and a multi-frame identification code for one multi-frame is detected.

【0004】図7は従来例のマルチフレーム同期方式の
ブロック構成図であり、図8は従来例によるマルチフレ
ーム識別コード検出における最大検出時間を示すフレー
ム構成の説明図である。
FIG. 7 is a block diagram of a conventional multi-frame synchronization system, and FIG. 8 is an explanatory diagram of a frame configuration showing the maximum detection time in the conventional multi-frame identification code detection.

【0005】この種のマルチフレーム識別コードの検出
手段は、図7のブロック構成図に示すように、1マルチ
フレーム分のビット数をカウントするカウンタ107
と、マルチフレーム識別コードを抽出するシフトレジス
タ103と、マルチフレーム識別コードの照合用のデコ
ーダ104で構成される方式が使用されている。
As shown in the block diagram of FIG. 7, this type of multi-frame identification code detecting means is a counter 107 for counting the number of bits for one multi-frame.
, A shift register 103 for extracting the multi-frame identification code, and a decoder 104 for matching the multi-frame identification code are used.

【0006】ここで、1フレームは先頭の1ビットのフ
レームビットFと、以降連続した192ビットのシリア
ルデータで構成されているものとし、更に、1マルチフ
レームは6フレームで構成されているものとする。クロ
ック信号102は、ビットストリーム信号101に同期
した1ビット幅のクロック信号であり、カウンタ107
は193×6=1158のカウントが可能な0〜115
7のカウンタとする。
Here, it is assumed that one frame is composed of a frame bit F of 1 bit at the beginning and serial data of 192 bits continuous thereafter, and one multiframe is composed of 6 frames. To do. The clock signal 102 is a clock signal having a 1-bit width that is synchronized with the bit stream signal 101, and the counter 107
Is 0 to 115 that can count 193 × 6 = 1158
7 counter.

【0007】シフトレジスタ103は6ビットのマルチ
フレーム識別コードの保持が可能な6ビットパラレル出
力のシフトレジスタであり、デコーダ104はシフトレ
ジスタ103の出力Q0 〜Q5 がマルチフレーム識別コ
ードに一致するか否かを判定する回路である。
The shift register 103 is a 6-bit parallel output shift register capable of holding a 6-bit multi-frame identification code, and the decoder 104 determines whether the outputs Q0 to Q5 of the shift register 103 match the multi-frame identification code. This is a circuit for determining whether or not.

【0008】次に、図7のマルチフレーム同期方式の動
作を図8を用いて説明する。
Next, the operation of the multi-frame synchronization system of FIG. 7 will be described with reference to FIG.

【0009】カウンタ107はクロック信号102によ
りインクリメントし、カウンタ107の出力である制御
クロック信号108は193×N(N=0〜5)のタイ
ミングで出力され、制御クロック信号108のタイミン
グでシフトレジスタ103へビットストリーム信号10
1が入力される。
The counter 107 increments by the clock signal 102, the control clock signal 108 output from the counter 107 is output at the timing of 193 × N (N = 0 to 5), and the shift register 103 is output at the timing of the control clock signal 108. He bitstream signal 10
1 is input.

【0010】制御クロック信号108の値が「965」
(193×5)になると、シフトレジスタ103には6
番目のビットが入力され、この時の出力Q0 〜Q5 がデ
コーダ104に入力され、マルチフレーム識別コードに
一致するか否かを判定する。一致しない場合は、マルチ
フレーム同期信号105はアクティブにならない。
The value of the control clock signal 108 is "965".
When it becomes (193 × 5), 6 is stored in the shift register 103.
The second bit is input, and the outputs Q0 to Q5 at this time are input to the decoder 104, and it is determined whether or not they match the multiframe identification code. If they do not match, the multi-frame sync signal 105 does not become active.

【0011】その後、カウンタ107が「1157」を
カウントした時点で出力される制御信号109によりカ
ウンタ107のインクリメント動作を1クロック期間だ
け停止させ、以降、前述と同じシーケンスでマルチフレ
ーム識別コードの検出を行う。このとき、前シーケンス
に対し相対的に1ビット遅れた位置から動作を再開し、
マルチフレーム識別コードを検出するまで、この動作を
継続する。
After that, the increment operation of the counter 107 is stopped for one clock period by the control signal 109 output when the counter 107 counts "1157", and thereafter, the multiframe identification code is detected in the same sequence as described above. To do. At this time, the operation is restarted from a position that is delayed by 1 bit relative to the previous sequence,
This operation is continued until the multi-frame identification code is detected.

【0012】出力Q0 〜Q5 がデコーダ104に入力さ
れ、マルチフレーム識別コードに一致した場合、マルチ
フレーム同期信号105をアクティブにし、カウンタ1
07が「1157」になったときにもインクリメント動
作を停止させることなく、マルチフレーム同期した状態
でカウンタ107のカウント動作を継続する。
When the outputs Q0 to Q5 are input to the decoder 104 and match the multiframe identification code, the multiframe synchronizing signal 105 is activated and the counter 1
Even when 07 becomes “1157”, the increment operation is not stopped and the counting operation of the counter 107 is continued in the multi-frame synchronized state.

【0013】[0013]

【発明が解決しようとする課題】前述の従来例では、マ
ルチフレーム識別コードの先頭マルチフレームビット位
置の1ビットFがカウンタ107の値「0」と一致しな
ければマルチフレーム識別コードが検出できないので、
最大検出時間が 〔1マルチフレームの伝送時間〕×〔1マルチフレーム
の総ビット数〕 となり、長時間かかることになる。
In the above-mentioned conventional example, the multiframe identification code cannot be detected unless the 1-bit F at the head multiframe bit position of the multiframe identification code matches the value "0" of the counter 107. ,
The maximum detection time becomes [1 multi-frame transmission time] x [total number of bits in 1 multi-frame], which requires a long time.

【0014】また、最大検出時間を短縮する方法として
は、特開平5−110554号公報に開示されている方
法がある。
As a method for shortening the maximum detection time, there is a method disclosed in Japanese Patent Laid-Open No. 5-110554.

【0015】この公報に掲載された技術による最大検出
時間は 〔1マルチフレームの伝送時間〕×〔1フレームの総ビ
ット数〕 となり、従来例に比べ1マルチフレーム内のフレーム数
分の1に短縮されるが、まだ高速とは言えない。
The maximum detection time according to the technique disclosed in this publication is [1 multiframe transmission time] × [total number of bits in 1 frame], which is shortened to 1 / the number of frames in 1 multiframe as compared with the conventional example. It's done, but it's still not fast.

【0016】そこで、本発明は、マルチフレーム識別コ
ードの検出に最大検出時間を要するときでも、これを短
時間にできるマルチフレーム同期方式の提供を課題とす
るものである。
Therefore, an object of the present invention is to provide a multi-frame synchronization system capable of shortening the detection time of a multi-frame identification code even when it takes a maximum detection time.

【0017】[0017]

【課題を解決するための手段】請求項1にかかるマルチ
フレーム同期方式は、一定長のシリアルデータにフレー
ム識別ビットを付加して1フレームとし、かつ、所定数
の前記フレームにより1マルチフレームを構成するビッ
トストリームの受信により動作を開始し、前記ビットス
トリーム1ビット毎にインクリメントし、1マルチフレ
ームのビット数を上限としてフリーランするサイクリッ
クカウンタと、前記ビットストリームを記憶保持するメ
モリ回路と、前記ビットストリームのビット数をカウン
トし、一定ビット数に到達すると制御信号を出力する第
1カウンタと、前記第1カウンタのカウント数を基に制
御信号が出力されるまで前記メモリ回路に前記ビットス
トリームの書き込みを行う制御回路と、前記第1カウン
タの制御信号で動作を開始し、1フレームのビット数ず
つインクリメントし、そのカウント数が一定ビット数よ
り大きくなったときカウント値をリセットし、その後、
前回のカウント開始値より1だけ大きい値から再び1フ
レームのビット数ずつインクリメントを行う第2カウン
タと、前記第2カウンタのカウンタ数と前記第1カウン
タの制御信号により、前記メモリ回路の内容を前記ビッ
トストリームのビットレートより高速で読み出し、その
読み出したパターンがマルチフレーム識別コードと一致
しているか否かを判定する第1判定回路と、前記第1判
定回路の出力により前記第2カウンタのカウンタ数を演
算する演算回路と、前記演算回路の出力と前記サイクリ
ックカウンタのカウンタ数とを比較する第2判定回路と
を具備するものである。
A multi-frame synchronization system according to a first aspect of the invention is to add one frame by adding a frame identification bit to a fixed length of serial data, and construct one multi-frame by a predetermined number of the frames. A cyclic counter that starts operation upon reception of a bitstream, increments bit by bit of the bitstream, and runs freely with the number of bits of one multiframe as an upper limit; a memory circuit that stores and holds the bitstream; A first counter that counts the number of bits of the bitstream and outputs a control signal when a certain number of bits is reached; and a bitstream of the bitstream to the memory circuit until a control signal is output based on the count of the first counter. It operates by the control circuit for writing and the control signal of the first counter. The Start, incremented by the number of bits of one frame, and resets the count value when the count number is larger than a predetermined number of bits, then,
The content of the memory circuit is changed by a second counter that increments again by a bit number of one frame from a value that is larger than the previous count start value by one, and a counter signal of the second counter and a control signal of the first counter. A first determination circuit that reads out at a higher speed than the bit rate of the bit stream and determines whether the read pattern matches the multi-frame identification code, and the number of counters of the second counter based on the output of the first determination circuit And a second determination circuit that compares the output of the arithmetic circuit with the number of counters of the cyclic counter.

【0018】請求項2にかかるマルチフレーム同期方式
は、前記第1カウンタの一定ビット数の値は、マルチフ
レーム同期を行う上で最低限必要なビット数より余裕を
持たせ、マルチフレーム識別コードの検出動作を複数回
行うものである。
In the multi-frame synchronization method according to a second aspect of the present invention, the value of the constant number of bits of the first counter has a margin more than the minimum number of bits required for performing multi-frame synchronization, and the value of the multi-frame identification code is set. The detection operation is performed multiple times.

【0019】[0019]

【作用】請求項1においては、ビットフレーム受信と同
時にインクリメントを開始し、1マルチフレームの総ビ
ット数を上限値とするサイクリックカウンタを動作させ
る。同時に、ビットストリームを順次メモリ回路に記憶
保持し、このビット数が一定ビット数に達したら、これ
を検出する第1カウンタの出力により記憶保持動作を停
止する。次に、1フレーム分のビット数ずつインクリメ
ントする第2カウンタによりメモリ回路に記憶保持して
あるビットストリームを記憶保持動作時より高速レート
で読み出し、読み出したビットパターンがマルチフレー
ム識別コードと一致しているか否かを判定する。
According to the present invention, the increment is started at the same time as the reception of the bit frame, and the cyclic counter having the total number of bits of one multi-frame as the upper limit value is operated. At the same time, the bitstream is sequentially stored and held in the memory circuit, and when the number of bits reaches a certain number, the storage and holding operation is stopped by the output of the first counter which detects this. Next, the bit stream stored and held in the memory circuit is read out at a higher rate than the storage holding operation by the second counter that increments by one bit for one frame, and the read bit pattern matches the multi-frame identification code. It is determined whether or not there is.

【0020】一致していないとき、更に第2カウンタの
インクリメントを行い、一致判定を継続する。第2カウ
ンタのカウント値が一定ビット数より大きくなった場
合、カウント値をリセットし、前回カウント開始値より
1だけ大きい値から再び1フレーム分のビット数ずつイ
ンクリメントを行い、一致判定を継続する。
When they do not match, the second counter is further incremented and the match determination is continued. When the count value of the second counter becomes larger than the fixed number of bits, the count value is reset, the value incremented by 1 from the previous count start value is incremented again by the number of bits for one frame, and the match determination is continued.

【0021】一致したとき、一致した時点の第2カウン
タのカウンタ値からマルチフレームの先頭ビット位置を
演算回路にて算出し、先に動作しているサイクリックカ
ウンタの値と算出値を比較する。両値の一致する時点が
現ビットストリームのマルチフレームの先頭ビット位置
となる。また、前記一定ビット数の値は、記憶保持して
いるビットストリーム内に1マルチフレームが途中で途
切れることなく包含されていなければならないことか
ら、2マルチフレーム分より1フレーム分少ない(11
フレーム)ビット数が最低限必要となる。
When they match, the arithmetic circuit calculates the leading bit position of the multi-frame from the counter value of the second counter at the time of matching, and compares the calculated value with the value of the cyclic counter that is operating first. The time when the two values match is the start bit position of the multiframe of the current bitstream. Further, the value of the fixed number of bits is one frame less than two multiframes because one multiframe has to be included in the stored and held bitstream without interruption.
Frame) The minimum number of bits is required.

【0022】請求項2においては、マルチフレーム識別
コード検出の過程において、データの配列によりマルチ
フレーム識別コードと同じパターンが生成されることが
あり、このパターンをマルチフレーム識別コードとして
捕捉することを擬似マルチフレーム同期と呼び、これは
本来の同期ではないため、後のデータ伝送に支障をきた
し、更に、その後再度同期をとり直す必要がある。一定
ビット数の値を11フレームより多く設定し、マルチフ
レーム識別コード検出を複数回行うことにより擬似マル
チフレームを検出する確率を低減する。
In the second aspect, in the process of detecting the multi-frame identification code, the same pattern as the multi-frame identification code may be generated due to the arrangement of the data, and it is assumed that this pattern is captured as the multi-frame identification code. This is called multi-frame synchronization, and this is not the original synchronization, which hinders later data transmission, and it is necessary to resynchronize again thereafter. The probability of detecting a pseudo multi-frame is reduced by setting the value of the fixed number of bits to more than 11 frames and performing multi-frame identification code detection a plurality of times.

【0023】[0023]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0024】図1は本発明の一実施例のマルチフレーム
同期方式のブロック構成図である。また、図2は本発明
の一実施例のマルチフレーム同期方式におけるマルチフ
レーム識別コードの最大検出期間の説明図である。
FIG. 1 is a block diagram of a multi-frame synchronization system according to an embodiment of the present invention. FIG. 2 is an explanatory diagram of the maximum detection period of the multi-frame identification code in the multi-frame synchronization system according to the embodiment of the present invention.

【0025】1はビットストリーム信号12に同期し、
ビットストリーム信号12の1ビット幅の周期のクロッ
ク信号10によりインクリメントを行い、カウント値
「1158」を上限としてカウント動作を継続するサイ
クリックカウンタである。また、2はクロック信号10
によりインクリメントし、そのカウント値を出力し、カ
ウント数が「3281」になった時点で制御信号13を
出力するカウンタ、3は制御信号13により動作を開始
し、クロック信号10より高速であるクロック信号11
によりインクリメントし、そのカウント値を出力し制御
信号16によりカウント出力を保持するカウンタ、4は
クロック信号10とカウンタ2のカウント出力、クロッ
ク信号11とカウンタ3のカウント出力を入力とし、制
御信号13により両カウンタの入力を切替えて出力し、
かつ、制御信号13によりクロック信号10またはクロ
ック信号11のどちらかをアクティブにし、各々制御ク
ロック信号14,15として出力する制御回路、5は制
御回路4の出力を基にビットストリーム信号12を1ビ
ットずつ記憶保持または出力するメモリ回路、6はメモ
リ回路5の出力を制御クロック信号15により1ビット
ずつシフト入力し、12ビットパラレルで出力するシフ
トレジスタ、7はシフトレジスタ6の出力を連続したマ
ルチフレーム識別コード2つ分と一致するか否かを判定
し、一致した場合は制御信号16を出力するデコーダ、
8は制御信号16によりカウンタ3のカウント出力を演
算し、マルチフレーム先頭ビット位置を算出する演算回
路、9はサイクリックカウンタ1の出力と演算回路8の
出力を比較し、一致した時にマルチフレーム同期信号1
7を出力するコンパレータである。
1 is synchronized with the bit stream signal 12,
It is a cyclic counter that increments by the clock signal 10 having a cycle of 1-bit width of the bit stream signal 12 and continues the counting operation with the count value "1158" as the upper limit. 2 is a clock signal 10
A clock signal which is incremented by, outputs the count value thereof, and outputs the control signal 13 when the count number reaches “3281”, the clock signal 3 which is started by the control signal 13 and is faster than the clock signal 10. 11
The counter 4 which increments the count value and outputs the count value and holds the count output by the control signal 16 receives the count output of the clock signal 10 and the counter 2 and the count output of the clock signal 11 and the counter 3 and inputs the control signal 13 Switch the input of both counters and output,
In addition, the control circuit 5 which activates either the clock signal 10 or the clock signal 11 by the control signal 13 and outputs it as the control clock signals 14 and 15, respectively, has a bit stream signal 12 of 1 bit based on the output of the control circuit 4. A memory circuit for holding or outputting each of them, 6 is a shift register for shifting the output of the memory circuit 5 by 1 bit by the control clock signal 15 and outputting in 12-bit parallel, 7 is a continuous multi-frame output of the shift register 6 A decoder that determines whether or not the two identification codes match, and outputs a control signal 16 if they match.
Reference numeral 8 is an arithmetic circuit for calculating the count output of the counter 3 by the control signal 16 to calculate the multi-frame head bit position, and 9 is a comparison between the output of the cyclic counter 1 and the output of the arithmetic circuit 8. Signal 1
This is a comparator that outputs 7.

【0026】次に、図1の実施例のマルチフレーム同期
方式の動作を、図2を用いて説明する。
Next, the operation of the multi-frame synchronization system of the embodiment shown in FIG. 1 will be described with reference to FIG.

【0027】図2に示すように、192ビットのシリア
ルデータの先頭にフレームビットFを1ビット加えて1
フレームとし、更に、6フレームを1マルチフレームと
して構成するビットストリームと、このビットストリー
ムに同期したビットストリーム1ビット幅のクロック信
号10と、クロック信号10に同期してクロック信号1
0の4倍のビットレートのクロック信号11を制御回路
4に入力する。
As shown in FIG. 2, one frame bit F is added to the head of 192-bit serial data to obtain 1
A frame, and further, a bit stream that configures 6 frames as 1 multi-frame, a clock signal 10 having a 1-bit width of the bit stream synchronized with this bit stream, and a clock signal 1 synchronized with the clock signal 10.
A clock signal 11 having a bit rate four times 0 is input to the control circuit 4.

【0028】マルチフレーム同期を行うにあたっては、
最大検出時間を要する場合を考えてビットストリーム受
信を1マルチフレームの先頭ビットから1ビット遅れた
位置から開始するものとする。サイクリックカウンタ1
及びカウンタ2はクロック信号10の立ち下がりエッジ
でインクリメントを行う。
When performing multi-frame synchronization,
Considering the case where the maximum detection time is required, it is assumed that bitstream reception is started at a position delayed by 1 bit from the head bit of 1 multiframe. Cyclic counter 1
And the counter 2 increments at the falling edge of the clock signal 10.

【0029】クロック信号10及びカウンタ2のカウン
タ出力は制御回路4に入力される。カウンタ2の制御信
号13により制御回路4は、カウンタ2或いはカウンタ
3のいずれかのカウント値を選択してメモリ回路5に出
力する。更に、クロック信号10をメモリ回路5への書
き込み信号、クロック信号11をメモリ回路5からの読
み出し信号とするため、制御信号13により各々のクロ
ック信号のどちらかをアクティブにして、メモリ回路5
へ出力する。
The clock signal 10 and the counter output of the counter 2 are input to the control circuit 4. The control circuit 4 selects the count value of either the counter 2 or the counter 3 by the control signal 13 of the counter 2 and outputs it to the memory circuit 5. Further, since the clock signal 10 is used as the write signal to the memory circuit 5 and the clock signal 11 is used as the read signal from the memory circuit 5, either one of the clock signals is activated by the control signal 13 and the memory circuit 5 is activated.
Output to.

【0030】ビットストリーム受信開始時のタイミング
チャートを図3を用いて説明する。図3は本発明の一実
施例のマルチフレーム同期方式のビットストリーム受信
開始時のタイミングチャートである。
A timing chart at the start of bitstream reception will be described with reference to FIG. FIG. 3 is a timing chart at the start of bitstream reception in the multi-frame synchronization system according to the embodiment of the present invention.

【0031】制御回路4から出力されるカウンタ値をア
ドレスとし、更に、制御回路4から出力される制御クロ
ック信号14(アクティブクロック10)の立ち上がり
エッジによりビットストリーム信号12はメモリ回路5
へ順次書き込まれていく。この時点では制御クロック信
号15は出力されない。
The counter value output from the control circuit 4 is used as an address, and the bit stream signal 12 is transferred to the memory circuit 5 by the rising edge of the control clock signal 14 (active clock 10) output from the control circuit 4.
Are sequentially written into. At this point, the control clock signal 15 is not output.

【0032】サイクリックカウンタ1は1マルチフレー
ムのビット数(193×6=1158)を上限とし0〜
1157間のカウントを繰り返す。また、カウンタ2は
17フレームの総ビット数(193×17=3281)
を上限として0〜3280までカウントを行う。
The cyclic counter 1 has a maximum number of bits of one multi-frame (193 × 6 = 1158)
Repeat the count for 1157. Also, the counter 2 has a total number of bits of 17 frames (193 × 17 = 3281).
Is counted up to 0 to 3280.

【0033】次に、17フレーム分のビットストリーム
を受信終了した時のタイミングチャートを図4に示す。
Next, FIG. 4 shows a timing chart when the reception of the bit stream for 17 frames is completed.

【0034】図4は本発明の一実施例のマルチフレーム
同期方式のビットストリームを受信終了時のタイミング
チャートである。
FIG. 4 is a timing chart at the end of reception of a multi-frame synchronization type bit stream according to an embodiment of the present invention.

【0035】カウンタ2が「3280」をカウントした
後、クロック信号10の次の立ち下がりエッジでカウン
タ2の出力を「0」にリセットする。同時に、制御信号
13をアクティブにして制御回路4に対し、カウンタ出
力の切替え及び制御クロック信号14の出力停止、制御
クロック信号15の出力開始を指示する。
After the counter 2 has counted "3280", the output of the counter 2 is reset to "0" at the next falling edge of the clock signal 10. At the same time, the control signal 13 is activated to instruct the control circuit 4 to switch the counter output, stop the output of the control clock signal 14, and start the output of the control clock signal 15.

【0036】更に、制御信号13をカウンタ3に入力
し、カウンタ3の動作を開始させる。カウンタ3はクロ
ック信号10の4倍のビットレートのクロック信号11
の立ち下がりエッジによりインクリメントを行う。制御
信号13がアクティブになった後、カウンタ3のカウン
ト値をアドレスとして、更に、制御回路4から出力され
る制御クロック信号15の立ち上がりエッジによりメモ
リ回路5に記憶されているビットストリームを読み出
す。
Further, the control signal 13 is input to the counter 3 to start the operation of the counter 3. The counter 3 has a clock signal 11 having a bit rate four times that of the clock signal 10.
Increment by the falling edge of. After the control signal 13 becomes active, the count value of the counter 3 is used as an address, and the bit stream stored in the memory circuit 5 is read at the rising edge of the control clock signal 15 output from the control circuit 4.

【0037】このとき、カウンタ3は1フレームのビッ
ト数(193)ずつカウント値をインクリメントしてお
り、これによりビットストリームから193ビット間隔
のビット列の抽出を行い、マルチフレーム識別コードの
検索を行う。カウンタ3のカウント値が17フレームの
総ビット数(3281)以上になったとき、カウント値
を前カウント開始位置から1ビット進めた位置に設定
し、再び193ビットずつインクリメントを再開する。
At this time, the counter 3 increments the count value by the number of bits of one frame (193), whereby the bit string at 193 bit intervals is extracted from the bit stream and the multi-frame identification code is searched. When the count value of the counter 3 becomes equal to or more than the total number of bits (3281) of 17 frames, the count value is set to a position advanced by 1 bit from the previous count start position, and the increment is restarted by 193 bits.

【0038】図4では、カウント値が 0→193→386→579→・・・→ →2895→3088→1→194→・・・ と変化している。メモリ回路5から読み出されたビット
は制御クロック信号15の立ち下がりエッジによりシフ
トレジスタ6へ順次入力される。
In FIG. 4, the count value changes from 0 → 193 → 386 → 579 → ... →→ 2895 → 3088 → 1 → 194 → .... The bits read from the memory circuit 5 are sequentially input to the shift register 6 at the falling edge of the control clock signal 15.

【0039】今、マルチフレーム識別コードが『100
110』であると仮定する。
Now, the multi-frame identification code is "100.
110 ″.

【0040】メモリ回路5からこのパターンが出力され
れば暫定的にFビット位置を捕捉したと見ることができ
るが、確実ではない。なぜなら、Fビット以外のデータ
部分から193ビット間隔でビット抽出を行った結果、
そのビット列が『100110』である可能性があるか
らである。
If this pattern is output from the memory circuit 5, it can be considered that the F bit position has been tentatively captured, but this is not certain. Because, as a result of performing bit extraction from the data part other than F bits at 193 bit intervals,
This is because the bit string may be "100110".

【0041】また、偶然にデータの『100110』パ
ターンを検出し、この時点でFビット位置を確定する場
合が予測される。因に、これを擬似マルチフレーム同期
と呼ぶこととする。
Further, it is predicted that the "100110" pattern of the data is detected by chance and the F bit position is fixed at this point. Incidentally, this is called pseudo multi-frame synchronization.

【0042】本発明を実施する場合には、本来のマルチ
フレーム同期を行うため、擬似マルチフレーム同期を回
避しなければならない。
When the present invention is implemented, pseudo multi-frame synchronization must be avoided because the original multi-frame synchronization is performed.

【0043】本実施例では、本来のFビット位置を捕捉
する確率を高めるために、上記『100110』を検出
した後、更に、1マルチフレーム分のビットストリーム
について再度マルチフレーム識別コード検出動作を行
い、『100110』パターンを連続して2度検出した
とき、初めて、Fビット位置を確定することとする。
In the present embodiment, in order to increase the probability of capturing the original F bit position, after detecting "100110", the multiframe identification code detection operation is performed again for the bitstream for one multiframe. , The "100110" pattern is detected twice in succession, the F bit position is first determined.

【0044】これにより擬似マルチフレーム同期捕捉を
行う確率が、1度だけマルチフレーム識別コードを検出
するときに比べて、1/64に低減する。
As a result, the probability of performing the pseudo multi-frame synchronization acquisition is reduced to 1/64 as compared with the case where the multi-frame identification code is detected only once.

【0045】具体的には、シフトレジスタの出力を12
ビットとし「100110100110」の検出を行
う。
Specifically, the output of the shift register is set to 12
The bits "100110100110" are detected.

【0046】デコーダ7がこのパターンを検出すれば制
御信号16をアクティブにし、カウンタ3の動作を停止
させ、このパターン最後のビット位置を示すカウント値
を保持して出力する。図5に「10011010011
0」のパターンを検出したときのタイミングチャートを
示す。
When the decoder 7 detects this pattern, it activates the control signal 16 to stop the operation of the counter 3, and holds and outputs the count value indicating the last bit position of this pattern. In FIG. 5, “10011010011
The timing chart at the time of detecting the pattern of "0" is shown.

【0047】図5は本発明の一実施例のマルチフレーム
同期方式の『100110100110』のパターンを
検出したときのタイミングチャートである。
FIG. 5 is a timing chart when the pattern "100110100110" of the multi-frame synchronization system according to the embodiment of the present invention is detected.

【0048】デコーダ7がこのパターンを検出すれば制
御信号16をアクティブにし、カウンタ3の動作を停止
させ、このパターン最後のビット位置を示すカウント値
を保持し、更に、制御信号16により演算回路8を動作
させカウント3のカウント値からマルチフレーム識別コ
ードの先頭ビット位置を算出する。
When the decoder 7 detects this pattern, the control signal 16 is activated, the operation of the counter 3 is stopped, the count value indicating the last bit position of this pattern is held, and the arithmetic signal 8 is generated by the control signal 16. Is operated to calculate the leading bit position of the multi-frame identification code from the count value of count 3.

【0049】本実施例ではビットストリーム信号12の
受信を、マルチフレーム先頭ビットから1ビット遅れた
位置から開始しているため、『10011010011
0』のパターンを検出した時点のカウンタ3のカウンタ
値は「3280」となっている。
In this embodiment, since the reception of the bit stream signal 12 is started from the position delayed by 1 bit from the head bit of the multi-frame, "10011010011"
The counter value of the counter 3 at the time when the "0" pattern is detected is "3280".

【0050】ここで、演算回路8の動作を図6を用いて
説明する。
Here, the operation of the arithmetic circuit 8 will be described with reference to FIG.

【0051】図6は本発明の一実施例のマルチフレーム
同期方式の演算回路8の動作説明図である。
FIG. 6 is an operation explanatory diagram of the arithmetic circuit 8 of the multi-frame synchronization system according to the embodiment of the present invention.

【0052】図6において、「3280」は2度目のマ
ルチフレーム識別コードの最後部ビット位置であるので
1度目のマルチフレーム識別コードの先頭ビット位置
は、 3280−((193×5)+1158)=1157 となる。演算回路8でこの演算を行いその結果を出力す
る。
In FIG. 6, since "3280" is the last bit position of the second multiframe identification code, the first bit position of the first multiframe identification code is 3280-((193 * 5) +1158) = It becomes 1157. The calculation circuit 8 performs this calculation and outputs the result.

【0053】これを、コンパレータ9を用いてサイクリ
ックカウンタ1の出力と比較し、一致した時点がビット
ストリーム中のマルチフレーム先頭ビット位置となる。
This is compared with the output of the cyclic counter 1 by using the comparator 9, and the point of coincidence is the multi-frame head bit position in the bit stream.

【0054】このときの動作時間、即ち、最大検出時間
は、図2に示すように、4マルチフレームしか必要とせ
ず、従来例を本実施例と同じマルチフレーム構成で用い
た場合、最大1158フレームを要することに比べ、著
しく短縮できる。
The operation time at this time, that is, the maximum detection time requires only 4 multiframes as shown in FIG. 2, and when the conventional example is used in the same multiframe configuration as this embodiment, a maximum of 1158 frames is obtained. It can be remarkably shortened as compared with the case of requiring.

【0055】また、従来例を改良した特開平5−110
554号公報の技術を用いた場合の1158/6=19
3フレームに比べても短縮化できる。
Further, Japanese Patent Laid-Open No. 5-110, which is an improvement of the conventional example.
1158/6 = 19 when using the technique of Japanese Patent No. 554
It can be shortened compared to 3 frames.

【0056】ところで、本実施例のシフトレジスタ6
は、カウンタ3のカウンタ数と制御回路4の制御信号に
より、メモリ回路5の内容をビットストリームのビット
レートより高速で読み出し、その読み出したパターンが
マルチフレーム識別コードと一致しているか否かを判定
するものであり、比較回路の使用が可能であり、結果的
に、カウンタ3のカウンタ数と制御回路4の制御信号を
比較判定する判定回路であればよい。因に、これを第1
判定回路とする。
By the way, the shift register 6 of this embodiment
Reads the contents of the memory circuit 5 at a speed higher than the bit rate of the bit stream by the counter number of the counter 3 and the control signal of the control circuit 4, and determines whether the read pattern matches the multi-frame identification code. However, it is possible to use a comparison circuit, and as a result, a determination circuit for comparing and determining the counter number of the counter 3 and the control signal of the control circuit 4 may be used. By the way, this is the first
Use as a judgment circuit.

【0057】また、本実施例のコンパレータ9は、シフ
トレジスタ6の出力によりカウンタ3のカウンタ数を演
算する演算回路8と、演算回路8の出力とサイクリック
カウンタ1のカウンタ数とを比較するものであるから、
比較回路の使用が可能であり、結果的に、演算回路8の
出力とサイクリックカウンタ1のカウンタ数とを比較判
定する判定回路であればよい。因に、これを第2判定回
路とする。
Further, the comparator 9 of this embodiment compares the output of the shift register 6 with the arithmetic circuit 8 for calculating the counter number of the counter 3, and the output of the arithmetic circuit 8 with the counter number of the cyclic counter 1. Therefore,
A comparison circuit can be used, and as a result, a determination circuit that determines the output of the arithmetic circuit 8 and the counter number of the cyclic counter 1 for comparison can be used. Incidentally, this is referred to as a second determination circuit.

【0058】このように、本実施例のマルチフレーム同
期方式は、一定長のシリアルデータにフレーム識別ビッ
トを付加して1フレームとし、かつ、所定数の前記フレ
ームにより1マルチフレームを構成するビットストリー
ムの受信を行なう受信回路において、ビットストリーム
の受信により動作を開始し、前記ビットストリーム1ビ
ット毎にインクリメントし、1マルチフレームのビット
数を上限としてフリーランするサイクリックカウンタ1
と、前記ビットストリームを記憶保持するメモリ回路5
と、前記ビットストリームのビット数をカウントし、一
定ビット数に到達すると制御信号を出力するカウンタ2
からなる第1カウンタと、前記第1カウンタのカウント
数を基に制御信号が出力されるまで前記メモリ回路5に
前記ビットストリームの書き込みを行う制御回路4と、
前記制御回路4の制御信号で動作を開始し、1フレーム
のビット数ずつインクリメントし、そのカウント数が一
定ビット数より大きくなったときカウント値をリセット
し、その後、前回のカウント開始値より1だけ大きい値
から再び1フレームのビット数ずつインクリメントを行
うカウンタ3からなる第2カウンタと、前記カウンタ3
からなる第2カウンタのカウンタ数と前記制御回路4の
制御信号により、前記メモリ回路5の内容を前記ビット
ストリームのビットレートより高速で読み出し、その読
み出したパターンがマルチフレーム識別コードと一致し
ているか否かを判定するシフトレジスタ6からなる第1
判定回路と、前記シフトレジスタ6からなる第1判定回
路の出力により前記カウンタ3からなる第2カウンタの
カウンタ数を演算する演算回路8と、前記演算回路8の
出力と前記サイクリックカウンタ1のカウンタ数とを比
較するコンパレータ9からなる第2判定回路とを具備す
るものであり、これを請求項1の実施例とすることがで
きる。
As described above, in the multi-frame synchronization method of this embodiment, a frame identification bit is added to a fixed length of serial data to form one frame, and a predetermined number of the frames make up one multi-frame. A cyclic counter 1 that starts operation upon reception of a bitstream, increments bit by bit of the bitstream, and performs free-running with the number of bits of one multiframe as an upper limit in a receiving circuit for receiving
And a memory circuit 5 for storing and holding the bit stream.
And a counter 2 which counts the number of bits of the bit stream and outputs a control signal when a certain number of bits is reached.
And a control circuit 4 for writing the bit stream to the memory circuit 5 until a control signal is output based on the count number of the first counter.
The operation is started by the control signal of the control circuit 4, the number of bits of one frame is incremented by one, the count value is reset when the count number exceeds a certain number of bits, and then the count value is incremented by 1 from the previous count start value. A second counter composed of a counter 3 for incrementing the number of bits of one frame again from a large value; and the counter 3
Whether the content of the memory circuit 5 is read at a speed higher than the bit rate of the bit stream by the counter number of the second counter and the control signal of the control circuit 4, and the read pattern matches the multi-frame identification code. First composed of shift register 6 for judging whether
An arithmetic circuit 8 for calculating the number of counters of the second counter composed of the counter 3 by the output of the first judgment circuit composed of the judgment circuit and the shift register 6, the output of the arithmetic circuit 8 and the counter of the cyclic counter 1. The second determination circuit is composed of a comparator 9 for comparing the number with the second determination circuit, which can be the embodiment of claim 1.

【0059】本実施例のマルチフレーム同期方式は、次
のように動作する。
The multi-frame synchronization system of this embodiment operates as follows.

【0060】ビットフレーム受信と同時にインクリメン
トを開始し、1マルチフレームの総ビット数を上限値と
するサイクリックカウンタ1を動作させる。同時に、ビ
ットストリームを順次メモリ回路5に記憶保持し、この
ビット数が一定ビット数に達したら、これを検出するカ
ウンタ2からなる第1カウンタの出力により記憶保持動
作を停止する。次に、1フレーム分のビット数ずつイン
クリメントするカウンタ3からなる第2カウンタにより
メモリ回路5に記憶保持してあるビットストリームを記
憶保持動作時より高速レートで読み出し、読み出したビ
ットパターンがマルチフレーム識別コードと一致してい
るか否かを判定する。
At the same time when the bit frame is received, the increment is started, and the cyclic counter 1 having the total number of bits of one multi-frame as the upper limit value is operated. At the same time, the bit stream is sequentially stored and held in the memory circuit 5, and when the number of bits reaches a certain number of bits, the storage and holding operation is stopped by the output of the first counter which is the counter 2 which detects this. Next, the bit stream stored and held in the memory circuit 5 is read out at a higher speed than the storage and holding operation by the second counter composed of the counter 3 which increments the number of bits for one frame, and the read bit pattern identifies the multi-frame. Determine if it matches the code.

【0061】メモリ回路5から読み出したビットパター
ンがマルチフレーム識別コードと一致していないとき、
更にカウンタ3からなる第2カウンタのインクリメント
を行い、一致判定を継続する。カウンタ3からなる第2
カウンタのカウント値が一定ビット数より大きくなった
場合、カウント値をリセットし、前回カウント開始値よ
り1だけ大きい値から再び1フレーム分のビット数ずつ
インクリメントを行い、一致判定を継続する。
When the bit pattern read from the memory circuit 5 does not match the multi-frame identification code,
Further, the second counter, which is the counter 3, is incremented, and the match determination is continued. Second consisting of counter 3
When the count value of the counter becomes larger than the fixed number of bits, the count value is reset, the value incremented by 1 from the previous count start value is incremented again by the number of bits for one frame, and the match determination is continued.

【0062】メモリ回路5から読み出したビットパター
ンがマルチフレーム識別コードと一致したとき、一致し
た時点のカウンタ3からなる第2カウンタのカウンタ値
からマルチフレームの先頭ビット位置を演算回路8にて
算出し、先に動作しているサイクリックカウンタ1の値
と算出値を比較する。両値の一致する時点が現ビットス
トリームのマルチフレームの先頭ビット位置となる。ま
た、前記一定ビット数の値は、記憶保持しているビット
ストリーム内に1マルチフレームが途中で途切れること
なく包含されていなければならないことから、2マルチ
フレーム分より1フレーム分少ない(11フレーム)ビ
ット数が最低限必要となる。
When the bit pattern read from the memory circuit 5 coincides with the multi-frame identification code, the arithmetic circuit 8 calculates the leading bit position of the multi-frame from the counter value of the second counter composed of the counter 3 at the time of coincidence. , The value of the cyclic counter 1 operating first is compared with the calculated value. The time when the two values match is the start bit position of the multiframe of the current bitstream. In addition, the value of the fixed number of bits must be one frame less than two multiframes (11 frames) because one multiframe must be included in the stored bitstream without interruption. The minimum number of bits is required.

【0063】したがって、本実施例のマルチフレーム構
成をとるビットストリームからマルチフレーム識別コー
ドを検出する方式において、ビットストリームを記憶保
持する回路を用いて既に記憶保持してあるビットストリ
ームに対してマルチフレーム識別コードの検出動作を行
うことにより、最大検出時間の短縮化を図ることができ
る。
Therefore, in the method of detecting the multi-frame identification code from the bit stream having the multi-frame structure of the present embodiment, the multi-frame is already stored and held by the circuit for storing and holding the bit stream. By performing the detection operation of the identification code, the maximum detection time can be shortened.

【0064】故に、マルチフレーム構成をとるビットス
トリームからマルチフレーム識別コードを検出する方式
において、ビットストリームを記憶保持するメモリ回路
5を用いて既に記憶保持してあるビットストリームに対
してマルチフレーム識別コードの検出動作を行うので、
従来例のように1度のマルチフレーム分のビット数のス
キャンでマルチフレーム識別コードの検出がなされなけ
れば、1ビットずらしてさらに次の1マルチフレーム分
のビット数をスキャンする方法に比べ、最大検出時間を
要する場合に短時間でマルチフレーム識別コードの検出
を行うことができる。
Therefore, in the method of detecting a multiframe identification code from a bitstream having a multiframe structure, the memory circuit 5 for storing and holding the bitstream is used to detect the multiframe identification code for the bitstream already stored and held. Since the detection operation of
If the multi-frame identification code is not detected by scanning the number of bits for one multi-frame as in the conventional example, the maximum number of bits can be increased as compared with the method for shifting the number of bits for the next one multi-frame by shifting 1 bit. When the detection time is required, the multiframe identification code can be detected in a short time.

【0065】本実施例のマルチフレーム同期方式は、前
記カウンタ2からなる第1カウンタの一定ビット数の値
は、マルチフレーム同期を行う上で最低限必要なビット
数より余裕を持たせ、マルチフレーム識別コードの検出
動作を複数回行うものであり、これを請求項2の実施例
とすることができる。
In the multi-frame synchronization method of the present embodiment, the value of the constant number of bits of the first counter, which is the counter 2, is set to have a margin larger than the minimum number of bits required for multi-frame synchronization, so that the multi-frame synchronization is performed. The detection operation of the identification code is performed a plurality of times, and this can be the embodiment of claim 2.

【0066】本実施例においては、マルチフレーム識別
コード検出の過程において、データの配列によりマルチ
フレーム識別コードと同じパターンが生成されることが
あり、このパターンをマルチフレーム識別コードとして
捕捉することを擬似マルチフレーム同期と呼び、これは
本来の同期ではないため、後のデータ伝送に支障をきた
し、更に、その後再度同期をとり直す必要がある。一定
ビット数の値を11フレームより多く設定し、マルチフ
レーム識別コード検出を複数回行うことにより擬似マル
チフレームを検出する確率を低減する。
In this embodiment, in the process of detecting the multi-frame identification code, the same pattern as the multi-frame identification code may be generated due to the arrangement of the data, and it is assumed that this pattern is captured as the multi-frame identification code. This is called multi-frame synchronization, and this is not the original synchronization, which hinders later data transmission, and it is necessary to resynchronize again thereafter. The probability of detecting a pseudo multi-frame is reduced by setting the value of the fixed number of bits to more than 11 frames and performing multi-frame identification code detection a plurality of times.

【0067】故に、データ列に偶発的に発生するマルチ
フレーム識別コードと同じパターンを検出することによ
り発生する擬似マルチフレーム同期捕捉に対しても、マ
ルチフレーム識別コードの検出を連続して2度行うこと
によりその捕捉確率を低減することができる。
Therefore, the multi-frame identification code is detected twice consecutively even for the pseudo multi-frame synchronization acquisition which is generated by detecting the same pattern as the multi-frame identification code which is accidentally generated in the data string. As a result, the capture probability can be reduced.

【0068】[0068]

【発明の効果】以上説明したように、請求項1のマルチ
フレーム同期方式は、マルチフレーム構成をとるビット
ストリームからマルチフレーム識別コードを検出する方
式において、一定長のシリアルデータにフレーム識別ビ
ットを付加して1フレームとし、更に、所定数の前記フ
レームにより1マルチフレームを構成するビットストリ
ームを受信する受信回路において、ビットストリームを
記憶保持するメモリ回路を用いて既に記憶保持してある
ビットストリームに対してマルチフレーム識別コードの
検出動作を行うものである。したがって、従来例のよう
に1度のマルチフレーム分のビット数のスキャンでマル
チフレーム識別コードの検出がなされなければ、1ビッ
トずつずらし、更に、次の1マルチフレーム分のビット
数をスキャンする方法に比べて、最大検出時間を要する
場合に短時間でマルチフレーム識別コードの検出を行う
ことができるという効果がある。
As described above, according to the multi-frame synchronization method of claim 1, in the method of detecting a multi-frame identification code from a bit stream having a multi-frame structure, a frame identification bit is added to a fixed length of serial data. In the receiving circuit that receives a bitstream that constitutes one multiframe by a predetermined number of the frames, the memory circuit that stores and holds the bitstream is used for the bitstream that is already stored and held. To detect the multi-frame identification code. Therefore, as in the conventional example, if the multi-frame identification code is not detected by scanning the number of bits for one multi-frame once, the number of bits is shifted by one bit, and then the number of bits for the next one multi-frame is scanned. Compared with the above, there is an effect that the multi-frame identification code can be detected in a short time when the maximum detection time is required.

【0069】請求項2のマルチフレーム同期方式は、デ
ータ列により偶発的に発生するマルチフレーム識別コー
ドと同じパターンを検出することにより起こる擬似マル
チフレーム同期捕捉に対しても、マルチフレーム識別コ
ードの検出を連続して2度行うことによりその捕捉確率
を低減する効果がある。
According to the multi-frame synchronization method of the second aspect, the multi-frame identification code is detected even for the pseudo multi-frame synchronization acquisition which is caused by detecting the same pattern as the multi-frame identification code which is accidentally generated by the data string. By performing the above twice consecutively, there is an effect of reducing the capture probability.

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

【図1】図1は本発明の一実施例のマルチフレーム同期
方式のブロック構成図である。
FIG. 1 is a block diagram of a multi-frame synchronization system according to an embodiment of the present invention.

【図2】図2は本発明の一実施例のマルチフレーム同期
方式におけるマルチフレーム識別コードの最大検出期間
の説明図である。
FIG. 2 is an explanatory diagram of a maximum detection period of a multi-frame identification code in the multi-frame synchronization system according to the embodiment of the present invention.

【図3】図3は本発明の一実施例のマルチフレーム同期
方式のビットストリーム受信開始時のタイミングチャー
トである。
FIG. 3 is a timing chart at the start of bitstream reception in a multi-frame synchronization system according to an embodiment of the present invention.

【図4】図4は本発明の一実施例のマルチフレーム同期
方式のビットストリームを受信終了時のタイミングチャ
ートである。
FIG. 4 is a timing chart at the end of reception of a multi-frame synchronization type bit stream according to an embodiment of the present invention.

【図5】図5は本発明の一実施例のマルチフレーム同期
方式の『100110100110』のパターンを検出
したときのタイミングチャートである。
FIG. 5 is a timing chart when the pattern of “100110100110” of the multi-frame synchronization system of one embodiment of the present invention is detected.

【図6】図6は本発明の一実施例のマルチフレーム同期
方式の演算回路の動作説明図である。
FIG. 6 is an operation explanatory diagram of an arithmetic circuit of a multi-frame synchronization system according to an embodiment of the present invention.

【図7】図7は従来例のマルチフレーム同期方式のブロ
ック構成図である。
FIG. 7 is a block diagram of a conventional multi-frame synchronization system.

【図8】図8は従来例によるマルチフレーム識別コード
検出における最大検出時間を示すフレーム構成の説明図
である。
FIG. 8 is an explanatory diagram of a frame structure showing the maximum detection time in the conventional multi-frame identification code detection.

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

1 サイクリックカウンタ 2,3 カウンタ 4 制御回路 5 メモリ回路 6 シフトレジスタ 7 デコーダ 8 演算回路 9 12ビット2入力コンパレータ 10,11 クロック信号 12 ビットストリーム信号 13,16 制御信号 14,15 制御クロック信号 17 マルチフレーム同期信号 1 cyclic counter 2,3 counter 4 control circuit 5 memory circuit 6 shift register 7 decoder 8 arithmetic circuit 9 12 bit 2 input comparator 10,11 clock signal 12 bit stream signal 13,16 control signal 14,15 control clock signal 17 multi Frame sync signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一定長のシリアルデータにフレーム識別
ビットを付加して1フレームとし、更に、所定数の前記
フレームにより1マルチフレームを構成するビットスト
リームを受信する受信回路において、 前記ビットストリームの受信により動作を開始し、前記
ビットストリーム1ビット毎にインクリメントし、1マ
ルチフレームのビット数を上限としてフリーランするサ
イクリックカウンタと、 前記ビットストリームを記憶保持するメモリ回路と、 前記ビットストリームのビット数をカウントし、一定ビ
ット数に到達すると制御信号を出力する第1カウンタ
と、 前記第1カウンタのカウント数を基に制御信号が出力さ
れるまで前記メモリ回路に前記ビットストリームの書き
込みを行う制御回路と、 前記第1カウンタの制御信号で動作を開始し、1フレー
ムのビット数ずつインクリメントし、そのカウント数が
一定ビット数より大きくなったときカウント値をリセッ
トし、その後、前回のカウント開始値より1だけ大きい
値から再び1フレームのビット数ずつインクリメントを
行う第2カウンタと、 前記第2カウンタのカウンタ数と前記第1カウンタの制
御信号により、前記メモリ回路の内容を前記ビットスト
リームのビットレートより高速で読み出し、その読み出
したパターンがマルチフレーム識別コードと一致してい
るか否かを判定する第1判定回路と、 前記第1判定回路の出力により前記第2カウンタのカウ
ンタ数を演算する演算回路と、 前記演算回路の出力と前記サイクリックカウンタのカウ
ンタ数とを比較する第2判定回路とを具備することを特
徴とするマルチフレーム同期方式。
1. A receiving circuit for receiving a bitstream, which comprises one frame by adding a frame identification bit to a fixed length of serial data to form one frame, and receiving the bitstream. A cyclic counter that starts operation by incrementing by 1 bit for each bit of the bit stream and free-runs with the number of bits of 1 multiframe as an upper limit; a memory circuit that stores and holds the bit stream; and a number of bits of the bit stream. And a control circuit for writing the bit stream to the memory circuit until a control signal is output based on the count number of the first counter And the operation is started by the control signal of the first counter. Then, the number of bits in one frame is incremented, the count value is reset when the number of counts exceeds a certain number of bits, and then the number of bits in one frame is incremented again from a value one greater than the previous count start value. A second counter for performing the above, and the number of counters of the second counter and a control signal of the first counter, the contents of the memory circuit are read at a higher speed than the bit rate of the bit stream, and the read pattern is a multi-frame identification code. A first determination circuit for determining whether or not the output of the first determination circuit calculates the number of counters of the second counter, an output of the arithmetic circuit and a counter of the cyclic counter And a second determination circuit for comparing the number with a multi-frame. -Time synchronization method.
【請求項2】 前記第1カウンタの一定ビット数の値
は、マルチフレーム同期を行う上で最低限必要なビット
数より余裕を持たせ、マルチフレーム識別コードの検出
動作を複数回行うことを特徴とする請求項1に記載のマ
ルチフレーム同期方式。
2. The constant bit number value of the first counter has a margin larger than the minimum bit number required for multiframe synchronization, and the multiframe identification code detection operation is performed a plurality of times. The multi-frame synchronization method according to claim 1.
JP6117324A 1994-05-31 1994-05-31 Multi-frame synchronization system Pending JPH07327028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6117324A JPH07327028A (en) 1994-05-31 1994-05-31 Multi-frame synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6117324A JPH07327028A (en) 1994-05-31 1994-05-31 Multi-frame synchronization system

Publications (1)

Publication Number Publication Date
JPH07327028A true JPH07327028A (en) 1995-12-12

Family

ID=14708929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6117324A Pending JPH07327028A (en) 1994-05-31 1994-05-31 Multi-frame synchronization system

Country Status (1)

Country Link
JP (1) JPH07327028A (en)

Similar Documents

Publication Publication Date Title
JPS6226103B2 (en)
US8964794B2 (en) Low latency and self-adjusting frame synchronization algorithm for data streaming applications
JP2982731B2 (en) Synchronous signal detection method
EP0700181A2 (en) Synchronisation circuit
JPH07327028A (en) Multi-frame synchronization system
JPH06162669A (en) Synchronous code extraction circuit
JP2715953B2 (en) Synchronous circuit
JP2873059B2 (en) Pattern synchronization circuit for wireless communication system
KR20010018378A (en) Apparatus for detecting sync of transport packet
JP2655624B2 (en) Frame synchronization detection circuit
JP2002271306A (en) Serial signal receiving circuit
KR100239914B1 (en) Method for sampling synchronous pattern and apparatus for performing the same
JP3108328B2 (en) Synchronous playback circuit
JPH08125649A (en) Frame synchronization detection system
JPH10222346A (en) Information processor
JPH1116296A (en) Method and device for extracting synchronous pattern
KR0176867B1 (en) Apparatus for synchronized data processing of cd-rom decoder
JP2611722B2 (en) Error flag output circuit
JPH10308082A (en) Data separator
JPS62209934A (en) Frame synchronizing device
JPH0388535A (en) Received data processor
JPH04261237A (en) Data sink
JPH09307540A (en) Multi-frame synchronizing method
JPS61264933A (en) Circuit for detecting transition into hunting mode in instantaneous shift type synchronous circuit
JPH08149118A (en) Synchronizing signal detector