JPS5816778B2 - Frame synchronization method - Google Patents
Frame synchronization methodInfo
- Publication number
- JPS5816778B2 JPS5816778B2 JP12247577A JP12247577A JPS5816778B2 JP S5816778 B2 JPS5816778 B2 JP S5816778B2 JP 12247577 A JP12247577 A JP 12247577A JP 12247577 A JP12247577 A JP 12247577A JP S5816778 B2 JPS5816778 B2 JP S5816778B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- correlation
- bit
- shift register
- gate
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Time-Division Multiplex Systems (AREA)
Description
【発明の詳細な説明】 本発明はフレーム同期方式に関するものである。[Detailed description of the invention] The present invention relates to a frame synchronization method.
例えば、時分割PCM伝送装置において、ビットストリ
ーム中のマーカービットの位置を、各フレーム中の相応
するビットの間の相関関係を調べることにより検出し、
フレーム同期をとるようにしたフレーム同期方式が知ら
れている。For example, in a time-division PCM transmission device, the position of a marker bit in a bitstream is detected by examining the correlation between corresponding bits in each frame;
A frame synchronization method that performs frame synchronization is known.
すなわち、第6図に示されるような受信ビットストリー
ムをフレーム長Nで任意に区切った場合に各フレームの
特定のビット位置k(第6図では区切りから3ビツト目
)に互いに同一のビット内容、すなわち、(a)=(b
)−(c)−(d)=・・・・・・ (1)ま
たはフレーム毎に反転したビット内容、すなわち、
(a)−(b)=(C)=(d)=・・・・・−(2)
が存在する場合に、「ビット位置kについてフレーム間
相関あり」と判定され、とのkに対しても(1)または
(2)の関係が存在しない場合に、「フレーム間相関な
し」と判定される。That is, when a received bitstream as shown in FIG. 6 is arbitrarily divided by frame length N, bit contents that are the same as each other are placed at a specific bit position k of each frame (the third bit from the division in FIG. 6). That is, (a)=(b
) - (c) - (d) = ... (1) or the bit contents inverted for each frame, that is, (a) - (b) = (C) = (d) = ...・-(2)
If exists, it is determined that there is an inter-frame correlation for bit position k, and if the relationship (1) or (2) does not exist for k, it is determined that there is no inter-frame correlation. be done.
このようなフレーム同期方式としては、2段スタック・
メモリ3ビツト・パターン検出−1ビット即時シフト方
式或いは3段スタック・メモリ4ビツト・パターン検出
−1ビット即時シフト方式等があるが、これらの方式の
欠点は第1に再同期時間が比較的長いこと、第2に回路
が複雑であり、装置の価格が高くなること、第3にメモ
リの容量を増やすと再同期時間は短か(なる傾向を有し
ているがある程度容量を増やすとそれ以上容量を増して
も再同期時間はほとんど減少しなくなり、かなり長い再
同期時間に収束してしまうことである。Two-stage stack and frame synchronization methods are used for this type of frame synchronization.
There is a 3-bit memory pattern detection - 1-bit immediate shift method, a 3-stage stack memory 4-bit pattern detection - 1-bit immediate shift method, etc., but the disadvantage of these methods is first that the resynchronization time is relatively long. Second, the circuit is complicated, which increases the price of the device. Third, increasing the memory capacity will shorten the resynchronization time (although it tends to become shorter if you increase the memory capacity to a certain extent). Even if the capacity is increased, the resynchronization time hardly decreases, and ends up converging to a considerably long resynchronization time.
従って、本発明の目的は上記従来技術の欠点を除去した
回路が比較的簡単で済み、メモリのためのレジスタ長を
長くしてメモリ容量を増すにしたがって再同期時間の極
限値がほぼ零となるフレーム同期方式を提供することに
ある。Therefore, an object of the present invention is to provide a relatively simple circuit that eliminates the drawbacks of the prior art described above, and as the memory capacity increases by increasing the register length for the memory, the limit value of the resynchronization time becomes almost zero. The objective is to provide a frame synchronization method.
上記目的を達成するための本発明の方式の特徴は、各フ
レーム中の所定ディジット位置のM(=1.2、・・・
・・・・・・)ビットを選択し、これらのディジット位
置について少な(とも1ビツトで構成されるフレーム表
示パターン検出結果のフレーム間相関を取る手段と、こ
の相間演算結果を記憶するMビット長のシフトレジスタ
とを備え、該シフトレジスタの内容が相関なしを示す場
合は次フレーム或いは次の演算フレーム以後にお℃・て
前記Mビットの後のMビットのディジット位置を選択し
てフレーム間相関をとるようにし、相関有りの場合には
相関有りとされたフレーム数を計数し、この計数値が一
定値を越え且つ前記シフトレジスタ中における相関あり
を表示するディジットが1ビツトのみとなった場合に、
次フレーム或は次の演算フレーム以後において、相関有
りを表示する該ディジットが前記シフトレジスタの後端
にくるようにして検出開始ディジット位置を常に相関有
りを表示する該ディジット位置に合せるようにしたフレ
ーム同期方式にある。The feature of the method of the present invention for achieving the above object is that M(=1.2,...
. . . ) bits, and a means for calculating the inter-frame correlation of the frame display pattern detection results consisting of a small number of bits (all consisting of 1 bit) for these digit positions, and an M-bit length for storing the inter-correlation calculation results. and a shift register, and if the contents of the shift register indicate no correlation, select the digit position of the M bit after the M bit in the next frame or after the next calculation frame to calculate the interframe correlation. If there is a correlation, the number of frames determined to be correlated is counted, and when this counted value exceeds a certain value and the number of digits indicating the presence of correlation in the shift register is only one bit. To,
A frame in which the detection start digit position is always aligned with the digit position indicating the presence of correlation in the next frame or after the next calculation frame so that the digit indicating the presence of correlation is located at the rear end of the shift register. It is in a synchronous method.
以下図示の実施例により本発明の方式を詳細に説明する
。The system of the present invention will be explained in detail below with reference to the illustrated embodiments.
第1図には本発明の方式を適用したフレーム同期回路の
一実施例が示される。FIG. 1 shows an embodiment of a frame synchronization circuit to which the method of the present invention is applied.
第1図のフレーム同期回路の目的は、受信ビットストリ
ームに対してフレーム長Nが与えられた場合に相関関係
にある特定のビット位置k(第6図参照)をできるだけ
少ないフレームを用いて検出することにある。The purpose of the frame synchronization circuit shown in Figure 1 is to detect a specific correlated bit position k (see Figure 6) using as few frames as possible, given the frame length N of the received bitstream. There is a particular thing.
このフレーム同期回路1は入力端子2から入力される1
フレームが386ビツトで構成されるビットシリアルの
PCM入力信号S1のフレーム同期をとるようになって
いる。This frame synchronization circuit 1 receives 1 input from an input terminal 2.
Frame synchronization is achieved with a bit-serial PCM input signal S1 whose frame consists of 386 bits.
PCM入力信号S1は、各フレーム中の先頭の1デイジ
ツトがフレーム表示パターンとされており、このディジ
ットの論理レベルは隣接するフレームにおいて常に反対
の論理レベルをとるように図示しない送信側で定められ
る。In the PCM input signal S1, the first digit in each frame is used as a frame display pattern, and the logic level of this digit is determined by a transmitting side (not shown) so that adjacent frames always have opposite logic levels.
従ってフレーム表示パターンは連続するフレームにおい
て「1」と「0」とが交互に現われることになる。Therefore, in the frame display pattern, "1" and "0" alternately appear in consecutive frames.
入力PCM信号S1はフレームパターン検出部3に入力
され、検出部3内において該信号S1中に存在するフレ
ームパターンと思われるディジットが入力されると、こ
の入力に対応してそのレベルが「l」となる検出パルス
S2が検出部3の出力端子3aから出力される。The input PCM signal S1 is input to the frame pattern detection section 3, and when a digit that is considered to be a frame pattern existing in the signal S1 is input into the detection section 3, its level changes to "l" in response to this input. A detection pulse S2 is output from the output terminal 3a of the detection section 3.
すなわち、フレームパターン検出部3はビットストリー
ム中に含まれるマーカビットと同じパターンのものを相
関の有無にかかわらず検出する。That is, the frame pattern detection unit 3 detects the same pattern as the marker bit included in the bitstream, regardless of whether there is a correlation or not.
(ビットストリーム中にはフレームパターンと同一ノハ
ターンを有するがフレーム相関のないもの、すなわち擬
似フレームパターンが含まれていることがある。(The bitstream may contain a pattern that has the same pattern as the frame pattern but has no frame correlation, that is, a pseudo frame pattern.
)PCM入力信号S1の各フレーム中の所定ディジット
位置の5ビツトに対応する検出パルスS2を選択して取
出すと共にフレームパターン検出部からのフレームパタ
ーン検出結果である検出パルスS2のフレーム間の相関
をとるため、相関検出回路4が設けられている。) Select and extract the detection pulse S2 corresponding to 5 bits at a predetermined digit position in each frame of the PCM input signal S1, and also take the correlation between frames of the detection pulse S2 which is the frame pattern detection result from the frame pattern detection section. Therefore, a correlation detection circuit 4 is provided.
相関検出回路4は5ビツトのシフトレジスタ5と、アン
ドゲート6と、オアゲート1とから構成されており、ア
ンドゲート6には検出パルスS2 と、シフトレジスタ
5の出力信号S3と5ビツト/10ビツトカウンタ8か
らの第一5ビツトゲ一ト信号S4 とが入力されてい
る。The correlation detection circuit 4 is composed of a 5-bit shift register 5, an AND gate 6, and an OR gate 1. The AND gate 6 receives a detection pulse S2, an output signal S3 of the shift register 5, and a 5-bit/10-bit A first 5-bit gate signal S4 from the counter 8 is input.
5ビツト/10ビツトカウンタ8はフレームカウンタ9
からのリセットパルスS5によりリセットされ、クロッ
ク入力端子10から入力さレルクロツクパルスS6カイ
ンバータ11,12を介してそのクロック端子8aにク
ロック信号として印加されている。5 bit/10 bit counter 8 is frame counter 9
The clock pulse S6 is reset by a reset pulse S5 from the clock input terminal 10 and is applied as a clock signal to the clock terminal 8a via the inverters 11 and 12.
カウンタ8はリセットパルスS5の入力により第一5ビ
ツトゲ一ト信号S4の他に所定のタイミングにて第二5
ビツトゲ一ト信号S7及び10ビツトゲ一ト信号S8を
第2図a乃至eに示される如く出力するようになってい
る。In addition to the first 5-bit gate signal S4, the counter 8 receives the second 5-bit gate signal S4 at a predetermined timing by inputting the reset pulse S5.
A bit gate signal S7 and a 10-bit gate signal S8 are output as shown in FIGS. 2a to 2e.
第二5ビツトゲ一ト信号S7はナントゲート13に反転
クロックパルスに6 と共に入力され、ナントゲート1
3の出力はD−フリップ70ツブ14のq出力と共にナ
ントゲート15に入力され、ナントゲート15から第一
5ビツトゲ一ト信号S4がrtJレベルの期間中のみシ
フトレジスタ5にシフトクロックS、を5パルス分のみ
供給する。The second 5-bit gate signal S7 is input to the Nant gate 13 together with the inverted clock pulse 6, and the Nant gate 1
The output of 3 is input to the Nant gate 15 together with the q output of the D-flip 70 tube 14, and the shift clock S is input to the shift register 5 only during the period when the first 5-bit gate signal S4 from the Nant gate 15 is at the rtJ level. Supplies only pulses.
従って、相関検出回路4は先ず最初のフレームの所定の
ディジット位置の5ビツトのフレームパターン検出結果
がシフトレジスタ5に順次入力され、次のフレームから
はその所定のディジット位置の5ビツトの期間内におい
ては第一5ビットゲート信号S4によってアンドゲート
6が開かれることとなり、この時シフトクロックS、に
よりシフトレジスタ5の内容が検出パルスS2が出力端
子3aから出力されるのに同期してアンドゲート6に出
力され、アントゲアトロにて前のフレームの検出結果と
このフレームの検出結果と各ビット毎に相関がとられ、
この相関結果はシフトレジスタ5に開かれているオアゲ
ート7を介して順次格納される。Therefore, in the correlation detection circuit 4, first, the 5-bit frame pattern detection results at a predetermined digit position of the first frame are sequentially input into the shift register 5, and from the next frame onwards, the 5-bit frame pattern detection results at a predetermined digit position are sequentially inputted into the shift register 5. The AND gate 6 is opened by the first 5-bit gate signal S4, and at this time, the contents of the shift register 5 are changed by the shift clock S to the AND gate 6 in synchronization with the detection pulse S2 being output from the output terminal 3a. The detection result of the previous frame and the detection result of this frame are correlated for each bit in Antogeatro.
This correlation result is sequentially stored in the shift register 5 via the OR gate 7 opened.
この相関結果は一方の入力に反転クロックパルスS6が
入力されているアンドゲート16の他方の入力に印加さ
れ、アンドゲート16の出力はリセットパルスS5によ
ってリセットされているR8−フリップ・フロップ17
のセット入力に入力される。This correlation result is applied to the other input of an AND gate 16, one input of which receives an inverted clock pulse S6, the output of which is an R8 flip-flop 17 which is reset by a reset pulse S5.
is input to the set input of
従って、若し、この所定の5デイジツト位置のいずれの
ディジット位置においても相関なしの判定結果が出れば
(即ちアンドゲート6からの出力がいずれのディジット
位置に関してもrOJであれば)、R8−フリップ・フ
ロップ17の出力信号SsOは「1」のままであり、リ
セットパルスS、によってリセットされたD−フリップ
・フロップ18のQ出力も「1」のままである。Therefore, if a determination result indicating no correlation is obtained for any of the predetermined 5 digit positions (that is, if the output from the AND gate 6 is rOJ for any digit position), the R8-flip - The output signal SsO of the flop 17 remains at "1", and the Q output of the D-flip-flop 18 reset by the reset pulse S also remains at "1".
このR8−フリップ・フロップ17とD−フリップ・7
0ツグ18とはシフトレジスタ5の内容がオールゼロと
なったか否か、換言すれば全問題としている5ビツトの
中にフレーム間において強い相関を示すディジットがな
いか又はあるかを検出している。This R8-flip flop 17 and D-flip 7
0ZG 18 detects whether the contents of the shift register 5 have become all zeros, in other words, it is detected whether or not there is a digit that exhibits a strong correlation between frames among all the 5 bits in question.
シフトレジスタ5の内容がオールゼロの場合に、全調査
した5デイジツト位置の次の5デイジツト位置について
同様の操作を繰返すため、D−フリップ・フロッグ18
の出力はフレームカウンタ9を5ビツトシフトさせるた
めのシフト回路20に入力されている。When the contents of the shift register 5 are all zeros, the D-flip frog 18 is used to repeat the same operation for the next 5 digit positions after all the 5 digit positions investigated.
The output is input to a shift circuit 20 for shifting the frame counter 9 by 5 bits.
すなわち、次の5デイジツトの相関検出を行うためにシ
フトレジスタ5に入力されるクロック信号S、に10ビ
ツトのシフトパルスが現われ、前の5デイジツトに対す
る結果はシフトアウトされる。That is, a 10-bit shift pulse appears on the clock signal S input to the shift register 5 to perform the correlation detection of the next 5 digits, and the results for the previous 5 digits are shifted out.
レジスタ5には信号515(すべて「1」である)がシ
フトインされるので、次の5デイジツトの検出において
は検出パルスS2 ・がそのままレジスタ5に書込まれ
る。Since the signal 515 (all 1's) is shifted into the register 5, the detection pulse S2 is written into the register 5 as is in the detection of the next five digits.
シフト回路20はナントゲート21、ノアゲート22.
23で構成されている。The shift circuit 20 includes a Nant gate 21, a NOR gate 22 .
It consists of 23.
ナントゲート21の入力にはD−フリップ・フロップ1
8のQ出力と10ビツトゲ一ト信号S8とが入力されて
おり、Q出力が「1」であるとナンドケート21の出力
は「0」となる。The input of the Nant gate 21 is a D-flip-flop 1.
The Q output of 8 and the 10 bit gate signal S8 are input, and when the Q output is "1", the output of the NAND gate 21 is "0".
ノアゲート22の一方の入力は、後で詳しく述べるよう
に制御回路24の同期信号S1□が同期外れ状態を検知
しているときに11」レベルになっていると、「0」レ
ベルとなっているため、ノアゲート23は閉じられてお
り、反転クロックパルスS6のフレームカウンタ9への
入力が禁止される。As will be described in detail later, one input of the NOR gate 22 becomes the "0" level when the synchronization signal S1□ of the control circuit 24 is at the "11" level when an out-of-synchronization state is detected. Therefore, the NOR gate 23 is closed, and input of the inverted clock pulse S6 to the frame counter 9 is prohibited.
この禁止状態は10ビツトゲ一ト信号S8が「1」レベ
ルから「0」レベルになるまで続くので、結局反転クロ
ックパルスg6は5ビツト分だけ入力されないことにな
る。This inhibited state continues until the 10-bit gate signal S8 changes from the "1" level to the "0" level, so that in the end only 5 bits of the inverted clock pulse g6 are not input.
従って、フレームカウンタ9からのリセットパルスは通
常の場合よりも5ビツト分遅れて出力されるので、次の
フレームで相関をとるための5デイジツトの位置は前の
フレームの5デイジツト位置に対して5ビツト分だけ後
方へずれることになる。Therefore, the reset pulse from the frame counter 9 is output with a delay of 5 bits compared to the normal case, so the position of the 5 digits for correlation in the next frame is 5 digits relative to the 5 digit position of the previous frame. It will be shifted backward by one bit.
このように、アンドゲート6において着目した5デイジ
ツト位置についてのフレーム間相関をとった結果が相関
なしと判定された場合には、この5デイジツト位置を上
記のように次々と5ビツトシフトして同様の動作を繰返
す。In this way, if it is determined that there is no correlation as a result of taking the inter-frame correlation for the 5 digit positions of interest in the AND gate 6, the 5 digit positions are successively shifted by 5 bits as described above and the same process is performed. Repeat the action.
次に、フレーム間の相関をとった結果が、少なくとも1
デイジツトについて相関ありと判定された場合の動作に
ついて説明する。Next, the result of correlation between frames is at least 1
The operation when it is determined that the digits are correlated will be explained.
所定の5デイジツトの内の少なくとも1つのディジット
において相関ありと判定されると、D−フリップ・フロ
ッグ18のQ出力は「0」となるので、前の説明からす
ぐ理解されるように、シフト回路20のノアゲート23
は閉じられることがなく、フレームカウンタ9は前のリ
セットパルスS5の発生時点から386パルス目のクロ
ックパルスによって再びリセットパルスS、を出力する
。If it is determined that there is a correlation in at least one of the predetermined five digits, the Q output of the D-flip frog 18 becomes "0", so as will be readily understood from the previous explanation, the shift circuit 20 noah gate 23
is not closed, and the frame counter 9 outputs the reset pulse S again in response to the 386th clock pulse from the generation point of the previous reset pulse S5.
従って、相関検出回路4においては、次のフレームにお
いて再び前のフレームの時と同じディジット位置の検出
パルスS2をシフトレジスタ5の内容と順次比較して相
関をとることになる。Therefore, in the next frame, the correlation detection circuit 4 again sequentially compares the detection pulse S2 at the same digit position as in the previous frame with the contents of the shift register 5 to determine the correlation.
この時、再びシフトレジスタ5の内容に1つでも「1」
が入っていれば相関検出のための各フレームにおける5
デイジツト位置を変更することなく更にもう一度同様の
動作を繰返す。At this time, the contents of shift register 5 must be "1" again.
5 in each frame for correlation detection.
Repeat the same operation once again without changing the digit position.
この繰返し動作は後方保護を図るためであり、その回数
はD−フリップ・フロップ1,8のq出力とリセットパ
ルスS5 とによって制御回路24内にて計数されてお
り、この動作の繰返し回数が所定数を越えたか否かによ
り該5デイジツト中にフレーム同期ビット(又はパター
ン)があるか否かを判定するようになっている。This repeated operation is for backward protection, and the number of times this operation is repeated is counted in the control circuit 24 using the q outputs of the D-flip-flops 1 and 8 and the reset pulse S5. It is determined whether or not there is a frame synchronization bit (or pattern) in the five digits based on whether the number exceeds the number.
また、この時同時にシフトレジスタ5の内容の「1」の
数をチェックし、繰返1一回数が所定数を越えており且
つシフトレジスタ5の内容に「1」が1つしか入ってい
ない場合に同期信号S1□は「0」レベルとなる。Also, at this time, the number of "1"s in the contents of the shift register 5 is checked, and if the number of repetitions of 1 exceeds a predetermined number and only one "1" is included in the contents of the shift register 5. The synchronizing signal S1□ becomes "0" level.
同期出力信号SllはR8−7リツプ・フロップ25の
一方の入力に印加されており、他方の入力にはシフトレ
ジスタ5からの出力信号S3が入力されているので、信
号S1□が「0」となると、その出力からは反転された
出力信号S3が出力され、インバータ26によって再び
反転されてノアゲート22の入力に印加される。The synchronous output signal Sll is applied to one input of the R8-7 lip-flop 25, and the output signal S3 from the shift register 5 is input to the other input, so the signal S1□ is "0". Then, an inverted output signal S3 is outputted from the output, which is inverted again by the inverter 26 and applied to the input of the NOR gate 22.
この時のシフトレジスタの内容が(00010)であっ
たとすると、D−フリップ・フロップ18のQ出力の信
号S12はシフトレジスタ5の出力から1−1」が出力
された時に「0」から「1」に変化するので、ナントゲ
ート21の出力信号313は反転クロックパルスS6
に対して第3図に示すような波形となる。Assuming that the contents of the shift register at this time are (00010), the signal S12 of the Q output of the D-flip-flop 18 changes from "0" to "1" when "1-1" is output from the output of the shift register 5. ”, the output signal 313 of the Nant gate 21 becomes the inverted clock pulse S6.
3, the waveform becomes as shown in FIG.
従って、インバータ26がらの信号S14は第3図eに
示すような波形となっているが、出力信号S13と共に
ノア回路22に入力されるのでノア回路22の出力信号
St5は第3図dに示す如き波形と=なる。Therefore, the signal S14 from the inverter 26 has a waveform as shown in FIG. 3e, but since it is input to the NOR circuit 22 together with the output signal S13, the output signal St5 of the NOR circuit 22 is as shown in FIG. 3d. The waveform becomes =.
従って、フレームカウンタ9にノアゲート23を介して
印加される反転クロックパルスに6は3ビツト分インヒ
ビットされるため、次のリセットパルスの出力タイミン
グが3ビツトスレ、シフトレジスタ5内の相関ありな示
すディジットが。Therefore, since the inverted clock pulse 6 applied to the frame counter 9 via the NOR gate 23 is inhibited by 3 bits, the output timing of the next reset pulse is shifted by 3 bits, and the digits indicating the correlation in the shift register 5 are inhibited by 3 bits. .
この3ピツトスれたリセットパルスのためにシフトレジ
スタ5の後端にくることとなり、検出開始ディジット位
置を常に相関ありを示すこのディジット位置に合せるこ
とができる。Because of this 3-pit reset pulse, it comes to the rear end of the shift register 5, and the detection start digit position can always be aligned with this digit position indicating that there is a correlation.
このようにして体同期引込が完了する。In this way, body synchronization is completed.
この同期状態はインバータ27とナントゲート28とに
より常に監視されており、ナントゲート28からのエラ
ーパルス信号が所定のパルス密度を越えると、制御回路
24においてフレーム同期が外れたと判断し、上述の動
作を再び繰返して同期引込を行なう。This synchronization state is constantly monitored by the inverter 27 and the Nant gate 28, and when the error pulse signal from the Nant gate 28 exceeds a predetermined pulse density, the control circuit 24 determines that frame synchronization has been lost, and performs the above-mentioned operation. Repeat again to perform synchronous pull-in.
尚この動作をフローチャートによって示すと第4図の如
(なる。This operation is shown in a flowchart as shown in FIG.
上記実施例では5ビツトのシフトレジスタを用い、■フ
レーム中の5ビツトを取出してフレーム間の相関をとる
ようにしたが、5ビツトに限らず任意のビット数として
よい。In the above embodiment, a 5-bit shift register is used, and 5 bits in a frame are taken out to obtain a correlation between frames. However, the number of bits is not limited to 5 bits, but any number of bits may be used.
また、フレーム同期パターン用のビット数は1ビツトに
限らス何ビットでもよいことは勿論である。Further, it goes without saying that the number of bits for the frame synchronization pattern is limited to 1 bit and any number of bits may be used.
今、このビット数をMビットとして本発明の方式による
再同期時間の平均値<T>を求めると次のようになる。Now, assuming that this number of bits is M bits, the average value <T> of the resynchronization time according to the method of the present invention is calculated as follows.
先ず、相関ありを1″、相関なしを0″で表現し、ルー
ピングをn回繰返した後でのシフトレジスタの内容を調
べるため、パターン検出の結果Dnを
Dn = (X、n、 X2 n、・・・+−+4Mn
) −−−・(1)と表わす。First, express correlation as 1'' and no correlation as 0'', and in order to check the contents of the shift register after repeating looping n times, the pattern detection result Dn is expressed as Dn = (X, n, X2 n, ...+-+4Mn
) ---・(1).
ここでnはルーピング番号で何回目であるかを示し、X
inはレジスタのiビット目に入るべきディジット(x
inεGF2)である。Here, n is the looping number and indicates the number of times, and
in is the digit (x
inεGF2).
n回層−ピング後のシフトレジスタiビット目” (X
ir、 r=1〜n )のすべてが1である″という事
象の補が起る確率であり、
である。"i-th bit of shift register after n-layer ping" (X
ir, r=1 to n) are all 1, which is the probability that the complement of the event occurs, and is.
ここでPeはX1j−1となる確率である。従って、n
回目のルーピングでシフトレジスタの内容が全零となる
確率PnS は
PnS=(1−(Pe)n)M・・・曲曲曲(4)とな
る。Here, Pe is the probability that X1j-1. Therefore, n
The probability PnS that the contents of the shift register become all zeros in the second looping is PnS=(1-(Pe)n)M...Song (4).
全零となるとMビット分シフトするのであるから、これ
がシフト確率となる。When it becomes all zero, it is shifted by M bits, so this becomes the shift probability.
第(4)式を用いてn +1何回目ルーピングへ向う確
率PnLを求めると、
Pn −1−pns ・・・・〜−−−−・・・・
・−・・・・−・・−・・・・(5)PnL= 1
(1(Pe ) n) ”−−(6)となる。Using equation (4) to find the probability PnL of looping for n+1 times, Pn -1-pns ...... ~------...
・−・・・−・・−・・・・(5) PnL= 1
(1(Pe)n)''--(6).
これらからn回目のルーピング後に初めてシフトが起る
確率PnFSTが
と求まる。From these, the probability PnFST that a shift occurs for the first time after the nth looping is determined.
従って、Mビットシフトが起るまでの平均のルーピング
回数< n >は
となり、しかして再同期時間<T>はルーピング時間を
τフレーム長をLとすると
となる。Therefore, the average number of looping <n> until the M-bit shift occurs, and the resynchronization time <T> becomes, where τ is the looping time and L is the frame length.
このため、レジスタ長Mを増すと、<T>はおnM
よそ−に従って減少することになり、Mを増すだけで<
T>を小さくすることができ、その極限値は略零になる
。Therefore, if we increase the register length M, <T> will decrease by nM, and if we simply increase M, <T> will decrease by nM.
T> can be made small, and its limit value becomes approximately zero.
しかし乍ら、従来の他の方式ではレジスタ長を増しても
ある程度<T>は小さくなるが、その極限値は零でない
所定の一定値に近づ(のみである。However, in other conventional methods, even if the register length is increased, <T> becomes smaller to some extent, but its ultimate value approaches (only) a predetermined constant value that is not zero.
この様子が第5図に示されている。This situation is shown in FIG.
本発明によれば、上記の如くレジスタ長を増すだけで再
同期時間を略零に近づけることができると共に、所定の
Mビットについての前フレームととの相関をとってレジ
スタにその結果を入れる動作のみに高速性を要求される
だけであり、その後の処理は1ルーピング中に行なえば
よいので低速処理部分が多く、回路を安価に構成するこ
とができる。According to the present invention, the resynchronization time can be brought close to approximately zero by simply increasing the register length as described above, and the operation of correlating the predetermined M bits with the previous frame and storing the result in the register is also possible. High speed is only required for this process, and the subsequent processing can be performed during one loop, so there are many low-speed processing parts, and the circuit can be constructed at low cost.
また、アルゴリズムが従来の方式に比べて比較的簡単で
あるので回路が簡単で済む等の優れた効果を有する。Furthermore, since the algorithm is relatively simple compared to conventional systems, it has excellent effects such as a simpler circuit.
第1図は本発明の方式による実施例の回路図、第2図a
乃至第2図e及び第3図a乃至第3図dは動作説明のた
めのタイムチャート、第4図は第1図の回路の動作を示
すフローチャート、第5図はレジスタ長を増した場合の
再同期時間の平均値の変化の様子を示すための図、第6
図はピットストリーム中にフレーム間相関の有無を説明
するための図である。
1・・・・・・フレーム同期回路、3・・・・・・フレ
ームパターン検出部、4・・−・・・相関検出回路、5
・・・・・・シフトレジスタ、8・・・・・・5ビツト
/10ビツトカウンタ、9・°−゛°・フレームカウン
タ、20・°・・−シフト回路、24・・・・・−制御
回路、Sl・・・・・−PCM入力信号、S2・・・・
・・検出パルス、S4 ・・・・・・第一5ビツトゲ一
ト信号、S5・・・・・・リセットパルス、S6・・・
・・・クロックパルス、S7・・・・・・第二5ビツト
ゲ一ト信号、S8・・・・・・10ビツトゲ一ト信号、
S、・・・・・・シフトクロック、Sll・・・・・・
同期出力信号。Fig. 1 is a circuit diagram of an embodiment according to the method of the present invention, Fig. 2a
2e to 3e and 3a to 3d are time charts for explaining the operation, FIG. 4 is a flowchart showing the operation of the circuit in FIG. 1, and FIG. 5 is a diagram showing the operation when the register length is increased. Diagram 6 to show how the average value of resynchronization time changes
The figure is a diagram for explaining the presence or absence of interframe correlation in a pit stream. DESCRIPTION OF SYMBOLS 1... Frame synchronization circuit, 3... Frame pattern detection section, 4... Correlation detection circuit, 5
...Shift register, 8...5-bit/10-bit counter, 9°-゛° frame counter, 20°...-shift circuit, 24...-control Circuit, Sl...-PCM input signal, S2...
...detection pulse, S4 ...first 5-bit gate signal, S5 ...reset pulse, S6 ...
...Clock pulse, S7...Second 5-bit gate signal, S8...10-bit gate signal,
S...Shift clock, Sll...
Synchronous output signal.
Claims (1)
、・・・・・−・・・)ビットを選択し、これらのディ
ジット位置について少な(とも1ビツトで構成されるフ
レーム表示パターン検出結果のフレーム間相関を取る手
段と、この相間演算結果を記憶するMビット長のシフト
レジスタとを備え、該シフトレジスタの内容が相関なし
を示す場合は次フレーム或いは次の演算フレーム以後に
おいて前記Mビットの後のMビットのディジット位置を
選択してフレーム間相関をとるようにし、相関有りの場
合には相関有りとされたフレーム数を計数し、この計数
値が一定値を越え且つ前記シフトレジスタ中における相
関ありな表示するディジットが1ビツトのみとなった場
合に、次フレーム或は次の演算フレーム以後において、
相関有りを表示する該ディジットが前記シフトレジスタ
の後端にくるようにして検出開始ディジット位置を常に
相関有りを表示する該ティジット位置に合せるようにし
たことを特徴とするフレーム同期方式。1 M (=1.2
, . . . - . . If the contents of the shift register indicate no correlation, the digit position of the M bits after the M bits is selected in the next frame or after the next calculation frame to perform interframe correlation. If there is a correlation, the number of frames determined to be correlated is counted, and if this counted value exceeds a certain value and the number of digits in the shift register that are displayed as correlated is only 1 bit. Then, in the next frame or after the next calculation frame,
A frame synchronization method characterized in that the digit indicating the presence of correlation is placed at the rear end of the shift register so that the detection start digit position is always aligned with the digit position indicating the presence of correlation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12247577A JPS5816778B2 (en) | 1977-10-14 | 1977-10-14 | Frame synchronization method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12247577A JPS5816778B2 (en) | 1977-10-14 | 1977-10-14 | Frame synchronization method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5456347A JPS5456347A (en) | 1979-05-07 |
| JPS5816778B2 true JPS5816778B2 (en) | 1983-04-02 |
Family
ID=14836759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12247577A Expired JPS5816778B2 (en) | 1977-10-14 | 1977-10-14 | Frame synchronization method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5816778B2 (en) |
-
1977
- 1977-10-14 JP JP12247577A patent/JPS5816778B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5456347A (en) | 1979-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6226103B2 (en) | ||
| JPH0374542B2 (en) | ||
| KR970014304A (en) | Data segment sync detection circuit and method | |
| US3940736A (en) | Digital code monitor system | |
| KR100694920B1 (en) | Transmitters, Receivers, and Methods in Telecommunication Systems for Generating PNC Sequences for Multiple User Channels | |
| JPS5816778B2 (en) | Frame synchronization method | |
| JPS6037666B2 (en) | Pseudo pull-in prevention method in start-stop synchronization transmission system | |
| JPS648942B2 (en) | ||
| JPS5952586B2 (en) | synchronous circuit | |
| JP2979852B2 (en) | Frame synchronization circuit | |
| SU1610601A1 (en) | Device for assessing phase of recurrent pulsed signal | |
| RU1777245C (en) | Error detector for digital data transmission channel | |
| SU1465870A1 (en) | Device for measuring a series of time intervals | |
| JP2883554B2 (en) | Data encoding method, data reproducing method, data forming device and data reproducing device | |
| JPH07115412A (en) | Synchronous control method | |
| SU1167714A1 (en) | Device for synchronizing standard and reference digital measurement signals | |
| JPS5838980B2 (en) | synchronous circuit | |
| RU2450465C2 (en) | Frame synchronisation device | |
| SU1092738A1 (en) | Device for automatic discrimination of discrete communication channel errors | |
| JPS593056B2 (en) | Synchronization method | |
| SU1172052A1 (en) | Cycle synchronization device | |
| SU1014036A1 (en) | Logic storage | |
| JP2680993B2 (en) | Frame synchronization detection circuit | |
| RU1795474C (en) | Correlation device for delay time measuring | |
| SU677125A2 (en) | Cyclic synchronisation device |