JPH0329436A - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JPH0329436A
JPH0329436A JP1162978A JP16297889A JPH0329436A JP H0329436 A JPH0329436 A JP H0329436A JP 1162978 A JP1162978 A JP 1162978A JP 16297889 A JP16297889 A JP 16297889A JP H0329436 A JPH0329436 A JP H0329436A
Authority
JP
Japan
Prior art keywords
circuit
frame
bit
word
synchronization
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
JP1162978A
Other languages
Japanese (ja)
Inventor
Hideo Tatsuno
秀雄 龍野
Nobuyuki Tokura
戸倉 信之
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP1162978A priority Critical patent/JPH0329436A/en
Publication of JPH0329436A publication Critical patent/JPH0329436A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the time from the asynchronizing state till the synchronization restoration by avoiding a word synchronization from executing resynchronization every execution of resynchronization by a frame synchronizing circuit. CONSTITUTION:When the circuit executes the resynchronization from an asynchronous state, the word synchronization by a ring counter 15 is executed independently of the frame synchronization by a frame counter 23 in the timing when logical 1 appears at the output of an exclusive NOR circuit 19. The frame synchronization by the frame counter 23 is executed when dissidence appears at the detection output of a frame coincidence detection circuit 21 and the resynchronization of the frame synchronization is executed by revising the phase of the frame counter 23 independently. That is, even when the dissidence of the frame pattern is detected by the frame synchronization circuit, the phase of the frame counter 23 is changed without giving effect onto the word synchronization. Thus, the time till the synchronization establishment is reduced as a whole.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はディジタル通信に利用する。[Detailed description of the invention] [Industrial application field] The present invention is used in digital communications.

本発明は、基幹伝送系、公衆通信網、加入者系その他デ
ィジタル伝送系のフレーム同期に利用する。
INDUSTRIAL APPLICABILITY The present invention is used for frame synchronization of a backbone transmission system, a public communication network, a subscriber system, and other digital transmission systems.

本発明は、0連続を避けるための伝送路符号であるmB
 I C符号のバイオレーションによりフレーム同期を
とる方式に利用する。
The present invention is based on the mB
Used for frame synchronization based on IC code violations.

〔従来の技術〕[Conventional technology]

一連のディジタル信号をフレーム構成により伝送すると
き、その一つのフレームがmワード構戊であり、さらに
一つのワードがn−1ビットのデータと1ビットのC符
号(補符号)または補符号の反対符号からなるnビット
構成であるとき、つのフレーム内のm−1個のワードの
各ワード内の特定位置の1ビットはそのビットの一つ前
のビットまたは一つ後のビットの補符号(Cビット)で
構戊し、残りの1ワード内の特定位置のビットはそのビ
ットの一つ前のビットまたは一つ後のビットと同一符号
(Cビットのバイオレーション符号τと呼ぶ)で構成し
たデータ列を伝送し、前記Cビットのバイオレーション
符号が到来するタイミングをフレーム同期タイミングと
して識別してフレーム同期をとる方式が知られている。
When transmitting a series of digital signals using a frame structure, one frame has a structure of m words, and one word consists of n-1 bits of data and a 1-bit C code (complementary code) or the opposite of the complementary code. When the n-bit structure consists of a code, one bit at a specific position in each word of m-1 words in one frame is the complementary code (C bit), and the bit at a specific position within the remaining word has the same code as the bit before or after that bit (referred to as C-bit violation code τ). A method is known in which frame synchronization is achieved by transmitting a frame and identifying the timing at which the C-bit violation code arrives as the frame synchronization timing.

第8図はこのための従来例回路のブロック構成図である
。この回路は、一つのフレーム内のワード数をmワード
とするとき、一つのフレーム内にm−1個のCビットと
1個のCビットのバイオレーション符号でか1ビットず
つ分散配置された直列データを入力し、フレーム同期を
とる回路である。
FIG. 8 is a block diagram of a conventional circuit for this purpose. When the number of words in one frame is m words, this circuit is a series circuit in which m-1 C bits and 1 C-bit violation code are distributed in one bit each. This is a circuit that inputs data and performs frame synchronization.

第8図に示す回路は、端子11に入力する直列データを
並列データに変換するシフトレジスタ13と、端子12
に入力するその直列データのクロックにより駆動されワ
ードパルスを発生するリングカウンタ15と、このワー
ドパルスにより前記シフトレジスタ13の内容をラッチ
するラッチ回路14と、ランチ回路14の各ビットの内
CビットまたはCビソトのバイオレーション符号τビッ
トが到来すべきビットと、そのビットより一つ前のビッ
トとの排他的論理和の反対論理をとる排他的否定論理和
回路(EX−NOR回路)19 と、ワードごとにフレ
ームパターンを発生するフレームカウンタ23と、排他
的否定論理和回路19の出力とフレームカウンタ23と
の出力との不一致を検出するフレーム一致検出回路21
を備え、このフレーム一致検出回路21が不一致出力を
送出したとき再同期動作を実行するように構戊されてい
る。
The circuit shown in FIG. 8 includes a shift register 13 that converts serial data input to a terminal 11 into parallel data, and a terminal 12.
a ring counter 15 that is driven by the clock of the serial data inputted to the input terminal and generates a word pulse; a latch circuit 14 that latches the contents of the shift register 13 using the word pulse; Exclusive OR circuit (EX-NOR circuit) 19 that takes the opposite logic of the exclusive OR of the bit where the violation code τ bit of C bisoto is to arrive and the bit immediately before that bit, and the word a frame counter 23 that generates a frame pattern every time, and a frame coincidence detection circuit 21 that detects a mismatch between the output of the exclusive NOR circuit 19 and the output of the frame counter 23.
The frame coincidence detection circuit 21 is configured to perform a resynchronization operation when the frame coincidence detection circuit 21 sends out a mismatch output.

この回路では、Cビットはその直前のビットの補符号(
反対符号)であり、Cビットのバイオレーション符号τ
ビットはその直前のビットと同一符号であるものとして
いる。このため、同期状態にあるときは、排他的否定論
理和回路19の出力にはフレームパターンが現れる。
In this circuit, the C bit is the complementary sign of the bit immediately before it (
opposite sign), and the C-bit violation code τ
It is assumed that a bit has the same sign as the bit immediately before it. Therefore, when in the synchronized state, a frame pattern appears at the output of the exclusive NOR circuit 19.

前記再同期動作は、このフレーム一致検出回路21に出
力が送出されると、ゲート回路18からワードパルスの
タイミングで遅延回路l7に信号が送られる。遅延回路
l7では2クロック以上lワード以下のタイミングだけ
信号を遅延させて、ゲート回路I6に送り、リングカウ
ンタ15の計数動作を1クロック分だけ欠落させて、ワ
ードパルスの発生タイミングを遅らせるようにして行わ
れる。このワードパルスはフレームカウンタ23に計数
入力として与えられ、その出力からフレーム一致検出回
路21に対してあらかじめ設定したフレームパターンが
分散配置されたタイミングで送出される。
In the resynchronization operation, when an output is sent to the frame coincidence detection circuit 21, a signal is sent from the gate circuit 18 to the delay circuit 17 at the timing of the word pulse. The delay circuit 17 delays the signal by a timing of 2 clocks or more and 1 word or less, and sends it to the gate circuit I6, so that the counting operation of the ring counter 15 is missed by 1 clock, and the timing of word pulse generation is delayed. It will be done. This word pulse is given as a count input to the frame counter 23, and its output is sent to the frame coincidence detection circuit 21 at timings at which a preset frame pattern is distributed.

したがって、リングカウンタ15から発生されるワード
パルスが正しいタイミングで発生してワード同期が威立
し、フレームカウンタ23が正しいタイミングでフレー
ムパターンを発生しているときには、安定な同期状態で
ありフレーム一致検出回路21の出力には信号がない。
Therefore, when the word pulse generated from the ring counter 15 is generated at the correct timing and word synchronization is achieved, and the frame counter 23 is generating a frame pattern at the correct timing, it is a stable synchronization state and frame coincidence is detected. There is no signal at the output of circuit 21.

実用的な回路では第8図の右下に符号Xで示す位置にフ
レーム同期保護回路を挿入して、フレーム一致検出回路
21が再同期を指示してもそれが所定回数連続して現れ
ないかぎり再同期を実行しないように構戊されている。
In a practical circuit, a frame synchronization protection circuit is inserted at the position indicated by the symbol X in the lower right corner of FIG. It is configured not to perform resynchronization.

ここでは説明が複雑になることを避けるために符号Xの
位置のフレーム同期保護回路は省略して説明する。
Here, in order to avoid complicating the explanation, the frame synchronization protection circuit at the position of symbol X will be omitted from the explanation.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

この回路は分敗配置されたフレームパターンを検出して
フレーム同期をとる優れた回路であるが、非同期状態か
ら同期を確立するためには、はじめにリングカウンタ1
5によるワード同期が復帰し、フレームカウンタ23に
よるフレーム同期動作が実行されるが、フレームカウン
タ23から送出されるフレームパターンと排他的否定論
理和回路19の出力との不一致が検出されると、その都
度リングカウンタ15の再同期動作が実行される。この
ためフレームパターンの不一致ごとに、ワード同期が復
帰しても、リングカウンタ15によるワード同期動作お
よびフレーム同期動作を実行することになり、再同期動
作に時間を要する欠点がある。
This circuit is an excellent circuit that detects a frame pattern arranged in a divided manner and synchronizes the frame, but in order to establish synchronization from an asynchronous state, first the ring counter 1
5 is restored, and the frame counter 23 executes the frame synchronization operation. However, when a mismatch between the frame pattern sent from the frame counter 23 and the output of the exclusive NOR circuit 19 is detected, the A resynchronization operation of the ring counter 15 is performed each time. Therefore, even if word synchronization is restored for each mismatch of frame patterns, the word synchronization operation and the frame synchronization operation are executed by the ring counter 15, which has the disadvantage that the resynchronization operation takes time.

本発明はこれを改良するもので、再同期動作に要する時
間を短縮することを目的とする。
The present invention improves this and aims to shorten the time required for the resynchronization operation.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の回路は、フレーム一致検出回路(21)とは別
に、排他的否定論理回路(19)の出力が反対論理値(
前述の従来例に合わせると論理「1」)であることを検
出するワード非同期検出回路(18)を設け、このワー
ド非同期検出回路の検出出力により前記リングカウンタ
の計数動作を一時禁止してフレーム同期とは独立してワ
ード同期をとる手段を備えたことを特徴とする。
In the circuit of the present invention, in addition to the frame coincidence detection circuit (21), the output of the exclusive NOT logic circuit (19) is set to the opposite logic value (
In accordance with the conventional example described above, a word asynchronous detection circuit (18) is provided to detect the logic "1"), and the detection output of this word asynchronous detection circuit temporarily inhibits the counting operation of the ring counter to synchronize the frame. It is characterized by having means for synchronizing words independently of the .

〔作用〕[Effect]

回路が非同期状態から再同期動作を実行するときには、
リングカウンタ(15)によるワード同期は、排他的否
定論理和回路(19)の出力に論理「1」が現れるタイ
ミングで、フレームカウンタ(23)によるフレーム同
期とは独立して実行される。フレームカウンタ(23)
によるフレーム同期は、フレーム一致検出回路(21)
の検出出力に不一致が現れたときに、フレーム同期の再
同期はフレームカウンタ(23〉の位相を独立に変更し
て実行される。すなわち、本発明の回路では、フレーム
同期回路にフレームパターンの不一致が検出されても、
その都度ワード同期に影響を与えることなく、フレーム
カウンタ(23)の位相を変更することができる。
When a circuit performs a resynchronization operation from an asynchronous state,
Word synchronization by the ring counter (15) is performed independently of frame synchronization by the frame counter (23) at the timing when logic "1" appears at the output of the exclusive NOR circuit (19). Frame counter (23)
Frame synchronization is performed by the frame coincidence detection circuit (21)
When a mismatch appears in the detected output of Even if detected,
The phase of the frame counter (23) can be changed each time without affecting the word synchronization.

これは、ワード同期が正しい状態にあってフレーム同期
が正しくないとき、すなわち、フレーム同期回路はフレ
ームパターンが現れるべきビットを正しく見ているが、
そのピットに現れるフレームパターンとフレームカウン
タ(23)が発生するフレームパターンが不−tであり
、フレ゜−ムカウンタの位相を変更することにより同期
状態に入れるときにきわめて有効である。
This occurs when the word synchronization is correct but the frame synchronization is not, i.e. the frame synchronization circuit is correctly looking at the bits where the frame pattern should appear, but
The frame pattern appearing in the pit and the frame pattern generated by the frame counter (23) are different from each other, and it is extremely effective to enter a synchronized state by changing the phase of the frame counter.

このように、全体として同期確立までの時間を短縮する
ことができる。
In this way, the overall time required to establish synchronization can be shortened.

〔実施例〕〔Example〕

第1図は本発明第一実施例回路のブロック構成図である
FIG. 1 is a block diagram of a circuit according to a first embodiment of the present invention.

この実施例回路は、一つのフレーム内のワード数をmワ
ードとするとき、一つのフレーム内にm−1個のCビッ
トと1個のCビットのバイオレーション符号てのビット
が1ビットずつ分散配置された直列データを入力してフ
レーム同期をとるための回路である。ここではCビット
はそのビソトの直前のビットの補符号、τビットはその
ビットの直前のビットと同一符号とする。入力データの
一例を表1に示す。
In this example circuit, when the number of words in one frame is m words, m-1 C bits and 1 C bit violation code bit are distributed one bit at a time in one frame. This is a circuit for inputting arranged serial data and synchronizing frames. Here, the C bit is the complementary code of the bit immediately before the bit, and the τ bit is the same code as the bit immediately before that bit. Table 1 shows an example of input data.

入力直列データは端子11に到来する。この実施例回路
はその直列データを並列データに変換するシフトレジス
タ13と、この直列データのクロックにより駆動されワ
ードパルスを発生するリングカウンタ15と、このワー
ドパルスによりシフトレジスタ13の内容をラッチする
ラッチ回路14と、ラッチ回路14の各ビットの内、前
記Cビットまたはτビットが到来すべきビットとそのビ
ットの直前のビットとの排他的論理和の反対論理をとる
排他的否定論理和回路19とこの排他的否定論理和回路
19の出力に現れるべきフレームパターンの各ビットと
同一系列のビットを発生するフレームカウンタ23と、
排他的否定論理和回路19の出力とフレームカウンタ2
3の出力との一致または不一致を検出するフレーム一致
検出回路21とを備える。
Input serial data arrives at terminal 11. This embodiment circuit includes a shift register 13 that converts the serial data into parallel data, a ring counter 15 that is driven by the clock of this serial data and generates a word pulse, and a latch that latches the contents of the shift register 13 using the word pulse. circuit 14; and an exclusive NOR circuit 19 that takes the opposite logic of the exclusive OR of the bit where the C bit or τ bit is to arrive and the bit immediately before that bit among the bits of the latch circuit 14; a frame counter 23 that generates bits of the same series as each bit of the frame pattern that should appear in the output of the exclusive NOR circuit 19;
Output of exclusive NOR circuit 19 and frame counter 2
The frame matching detection circuit 21 detects matching or mismatching with the output of No. 3.

ここで本発明の回路の特徴は、フレームカウンタ23に
よるフレーム同期と、リングカウンタ15によるワード
同期とが、それぞれ独立に再同期動作を実行することが
できるように構戊されたところにある。
Here, the feature of the circuit of the present invention is that the frame synchronization by the frame counter 23 and the word synchronization by the ring counter 15 are configured so that resynchronization operations can be executed independently.

すなわち、フレーム一致検出回路21が不一致を検出し
たときに、フレームカウンタ23の計数動作を一時禁止
してフレーム同期の再同期を実行するための手段として
、遅延回路22およびゲート回路20を備える。また、
このフレーム一致検出回路21とは別に、排他的否定論
理和回路l9の出力に論理値「1」が現れたことを検出
するワード非同期検出回路としてのゲート回路l8を設
け、このゲート回路18の検出出力によりリングカウン
タl5の計数動作を一時禁止してフレーム同期とは別に
ワード同期をとる手段として、遅延回路l7およびゲー
ト回路16を備える。
That is, a delay circuit 22 and a gate circuit 20 are provided as means for temporarily inhibiting the counting operation of the frame counter 23 and resynchronizing frame synchronization when the frame coincidence detection circuit 21 detects a mismatch. Also,
Separately from this frame coincidence detection circuit 21, a gate circuit 18 is provided as a word asynchronous detection circuit for detecting the appearance of a logical value "1" in the output of the exclusive NOR circuit 19. A delay circuit 17 and a gate circuit 16 are provided as a means for temporarily inhibiting the counting operation of the ring counter 15 and achieving word synchronization in addition to frame synchronization based on the output.

また、この実施例回路では、ワード同期確立状態にあっ
ては、排他的否定論理和回路l9の出力に連続する複数
ワードにわたり論理値「1」が検出されたときく前方保
護〉にかぎり、ゲート回路l8を有効にし、ワード同期
確立状態にないときには、排他的否定論理和回路19の
出力に連続する複数ワードにわたり論理値「0」が検出
されたとき(後方保護)にかぎり、ゲート回路18を無
効にする保護回路24を備える。
In addition, in this embodiment circuit, in the word synchronization established state, the gate circuit operates only when the logic value "1" is detected over a plurality of consecutive words in the output of the exclusive NOR circuit l9. When 18 is enabled and word synchronization is not established, the gate circuit 18 is disabled only when a logic value "0" is detected in the output of the exclusive NOR circuit 19 over a plurality of consecutive words (backward protection). A protection circuit 24 is provided.

実用的な回路では、フレーム同期を安定に維持するため
に第1図の右下の符号Xの位置にフレーム同期保護回路
を挿入することがよいが、ここでは説明が複雑になるの
でこれを省略する。なおこれは後述の第3図、第4図お
よび第7図においても同様である。
In a practical circuit, it is recommended to insert a frame synchronization protection circuit at the position indicated by symbol X in the lower right corner of Figure 1 in order to maintain stable frame synchronization, but this is omitted here as the explanation will be complicated. do. Note that this also applies to FIGS. 3, 4, and 7, which will be described later.

第2図はこの第一実施例回路の動作タイムチャートであ
る。第2図の符号as bs dl Sd2、e−k,
pおよびqは第1図に示す対応する符号の点の波形を示
す。説明を簡単化するための一例として、1ワードが3
ビット (n=3)で、■フレームが5ワード(m=5
)として、入力直列データの例を表1に示す。また表l
には、排他的否定論理和回路19により生成されるフレ
ームパターンも合わせて示す。
FIG. 2 is an operation time chart of this first embodiment circuit. Symbols in FIG. 2 as bs dl Sd2, e-k,
p and q indicate the waveforms of points with corresponding symbols shown in FIG. As an example to simplify the explanation, 1 word is 3
bits (n=3), ■ frame is 5 words (m=5
), an example of input serial data is shown in Table 1. Also table l
The frame pattern generated by the exclusive NOR circuit 19 is also shown.

Fo FI  F2 F3 F4 は順に10000と
なる。また、保護回路24の後方保護段数は、ここでは
説明を簡単にするためにとりあえず2とする。
Fo FI F2 F3 F4 becomes 10000 in order. Further, the number of backward protection stages of the protection circuit 24 is assumed to be two for the sake of simplicity.

表 1 D・・・データ、C,〜C,・・・Cビット、co・・
・Cビットのバイオレーション符号τビット、F・・・
フレームパルスフレームカウンタ23の出力jにはフレ
ームパターンF0〜F4が順に繰り返し現れる。同期が
確立されていない状態では、保護回路24の出力fが「
1」である。このとき再同期動作が実行されて、ゲート
回路1Bからハンチングパルスgが送出される。これに
よりリングカウンタ15の駆動パルス1が間引かれて、
リングカウンタ15の位相がずれて行く。排他的否定論
理和回路19の出力eに生或されたフレームパルスF,
が現れるとゲート回路18は禁止状態となり、ハンチン
グパルスgはなくなり、ワード同期が復帰状態になる。
Table 1 D...data, C, ~C,...C bit, co...
・Violation code τ bit of C bit, F...
Frame patterns F0 to F4 repeatedly appear in order at the output j of the frame pulse frame counter 23. In a state where synchronization is not established, the output f of the protection circuit 24 is "
1”. At this time, a resynchronization operation is executed and a hunting pulse g is sent out from the gate circuit 1B. As a result, the drive pulse 1 of the ring counter 15 is thinned out,
The phase of the ring counter 15 shifts. The frame pulse F generated at the output e of the exclusive NOR circuit 19,
When the gate circuit 18 appears, the gate circuit 18 becomes inhibited, the hunting pulse g disappears, and the word synchronization is restored.

ワード同期が復帰すると、排他的否定論理和回路19の
出力eには生或されたフレームパルスが循環して現れる
When the word synchronization is restored, the generated frame pulse appears in circulation at the output e of the exclusive NOR circuit 19.

この同期復帰状態が後方保護段数分くここでは2回)繰
り返されると、保護回路24はリセットされて出力fは
「0」となる。これによりワード同期が確立された状態
になる。
When this synchronization return state is repeated for the number of backward protection stages (twice here), the protection circuit 24 is reset and the output f becomes "0". As a result, word synchronization is established.

フレームカウンタ23は出力jにワードパルスbにより
駆動されてフレームパルスに相応するF0〜F,を繰り
返し送出する。しかし、フレームヵウンタ23の出力J
がF。となったとき、排他的否定論理和回路l9の出力
eがF0以外である場合には、フレーム一致検出回路2
1で不一致となり、次のワードからフレームカウンタ2
3の駆動パルスqが禁止されるから、フレームカウンタ
23の出力jはF。で固定される。これは次に排他的否
定論理和回路19の出力eにF。が生或されるまで枇続
し、この信号がF0になった次のワードでフレームカウ
ンタ23が駆動状態に入る。この状態でフレーム同期が
復帰する。
The frame counter 23 is driven by the word pulse b to the output j and repeatedly sends out F0 to F corresponding to the frame pulse. However, the output J of the frame counter 23
is F. When the output e of the exclusive NOR circuit 19 is other than F0, the frame coincidence detection circuit 2
1 indicates a mismatch, and the frame counter 2 starts from the next word.
Since the drive pulse q of 3 is prohibited, the output j of the frame counter 23 is F. is fixed. This is then F to the output e of the exclusive NOR circuit 19. This continues until F0 is generated, and at the next word when this signal becomes F0, the frame counter 23 enters the driving state. Frame synchronization is restored in this state.

フレーム同期が確立された状態になると、保護回路24
はひきつづきリセット状態でありその出力fは「0」を
継続する。したがってゲート回路18は禁止状態が継続
されて再同期動作は禁止される。
When frame synchronization is established, the protection circuit 24
continues to be in the reset state and its output f continues to be "0". Therefore, the gate circuit 18 continues to be in the prohibited state and resynchronization operation is prohibited.

この実施例回路では、フレーム同期回路が再同期を実行
するときに、その都度ワード同期回路に再同期を実行さ
せる必要がない。すなわち、リングカウンタ15による
ワード同期について同期復帰状態であり、排他的否定論
理和回路19の出力eにはフレームパターンが正しく現
れているが、この出力eのフレームパターンとフレーム
カウンタ23が送出する出力Jのフレームパターンとが
一致しない状態であるときには、フレーム一致検出回路
21の出力kにしたがって、遅延回路22およびゲート
回路20の動作により、ワード同期とは独立にフレーム
カウンタ23の位相を変更することができる。
In this embodiment circuit, there is no need to cause the word synchronization circuit to perform resynchronization each time the frame synchronization circuit performs resynchronization. In other words, the word synchronization by the ring counter 15 has returned to synchronization, and the frame pattern appears correctly in the output e of the exclusive NOR circuit 19, but the frame pattern of this output e and the output sent out by the frame counter 23 When the frame pattern of J does not match, the phase of the frame counter 23 is changed independently of word synchronization by the operation of the delay circuit 22 and gate circuit 20 according to the output k of the frame match detection circuit 21. I can do it.

このときワード同期は再同期動作を実行しない。At this time, word synchronization does not perform a resynchronization operation.

したがって、全体の再同期動作に要する時間は第8図に
示す従来例回路に比べて短縮される。
Therefore, the time required for the entire resynchronization operation is shortened compared to the conventional circuit shown in FIG.

次にこの短縮の程度について検討する。■フレームがm
ワード構戒であり、1ワードがnビット構成であるとき
、非同期状態でパターンの不一致検出確率を2とすると
、この第1図に示す第一実施例回路が非同期状態から同
期復帰するまでに要する最大所要時間T1は、非同期状
態からワード同期復帰までの最悪平均ワード同期復帰時
間Twとワード同期復帰からフレーム同期復帰までの最
悪時間Tfとの和となる(「最悪」とは偶然に最も時間
のかかるタイミングに当たった場合をいう。)前記ワー
ド同期復帰時間TWについては、ワード同期カウンタは
1ビットの遅延シフトに相当するから、 T+=(n+ 1 +n)(n − 1)/n    
(1)ワード である。この計算式については、 小塚「スタッフ同期方式の伝送特性」研究実用化報告第
18巻第6号日本電信電話公社発行、■969年6月 その他に詳しい記載があるのでここでは説明を省略する
。また、前記フレーム同期復帰に要する最悪時間Tfに
ついては、ワード同期復帰時点がちょうどフレームカウ
ンタ23のカウンタ値F1 に当たった場合であり、フ
レームカウンタ23の値が次にF0になるまでに約1フ
レームの時間、その後に入力のフレームパターンにF。
Next, consider the degree of this shortening. ■Frame is m
When a word structure is used and one word is composed of n bits, and the probability of pattern mismatch detection in an asynchronous state is 2, the time required for the circuit of the first embodiment shown in Fig. 1 to return to synchronization from an asynchronous state is The maximum required time T1 is the sum of the worst average word synchronization recovery time Tw from an asynchronous state to word synchronization recovery and the worst time Tf from word synchronization recovery to frame synchronization recovery ("worst" coincidentally means the longest time (This refers to the case where such timing occurs.) Regarding the word synchronization return time TW, since the word synchronization counter corresponds to a 1-bit delay shift, T+ = (n+ 1 + n) (n - 1)/n
(1) It is a word. This calculation formula is described in detail in Kozuka's "Transmission Characteristics of Staff Synchronization Method" Research and Practical Application Report, Vol. 18, No. 6, Published by Nippon Telegraph and Telephone Public Corporation, ■June 1969, and other publications, so the explanation will be omitted here. The worst time Tf required for frame synchronization recovery is the case where the word synchronization recovery point just hits the counter value F1 of the frame counter 23, and it takes approximately one frame until the next value of the frame counter 23 reaches F0. time, then F to the input frame pattern.

が現れるまでにさらに約1フレームの時間を要すること
になるから、全体で約2フレームの時間である。したが
って、実用的な値としてm−72、n=9の場合には、
T+ = Tw+ T r =17ワード+2フレーム z2.2フレーム となる。比較例として第8図に示す従来例では、フレー
ムパターンが不一致になる都度ワード同期の再同期を実
行するから、全体の同期が復帰するまでの最悪時間T。
Approximately one additional frame is required for this to appear, so the total time is approximately two frames. Therefore, in the case of m-72 and n=9 as practical values,
T+=Tw+Tr=17 words+2 frames z2.2 frames. As a comparative example, in the conventional example shown in FIG. 8, word synchronization is resynchronized every time the frame patterns become inconsistent, so the worst case period is T until the overall synchronization is restored.

は、同じく前記文献によればTo=(n+ 1 +n)
(mn =1)/mn  (2)フレーム である。これに前記m=72、n=9の場合を代入する
と、 T.=19  フレーム となる。すなわち最悪時間で比べるとこの実施例の効果
は、非同期状態から同期状態にいたるまでの時間は、わ
ずか11.6%に短縮されることになる。
According to the above-mentioned document, To=(n+ 1 +n)
(mn = 1)/mn (2) frame. Substituting the above case of m=72 and n=9 into this, we get T. =19 frames. That is, compared to the worst case time, the effect of this embodiment is that the time from an asynchronous state to a synchronous state is shortened to only 11.6%.

第3図は本発明の第二実施例回路のブロック構成図であ
る。
FIG. 3 is a block diagram of a circuit according to a second embodiment of the present invention.

この実施例回路は、第l図の第一実施例と同様ワード同
期回路がフレーム同期回路とは独立に動作するため、第
一実施例同様従来例と比較して同期復帰時間が短縮され
る。この実施例回路の特徴は、シフトレジスタ13とラ
ッチ回路14の段数を1ワード(n段)より2段分多く
して、CビットまたはCビットのバイオレーション符号
のτビットが到来すべきビットとその一つ前のビットと
の排他的論理和の反対論理をとる第一の排他的否定論理
和回路19とは別に、前記Cビットまたはτビットが到
来すべきピットよりlワード前のCビットまたはτビッ
トが到来すべきビットとそのビットの一つ前のビットと
の排他的論理和の反対論理をとる第二の排他的否定論理
和回路25を設け、さらに、排他的否定論理和回路l9
と25との出力の論理和をとる論理和回路26を設けた
ことにる。
In this embodiment circuit, the word synchronization circuit operates independently of the frame synchronization circuit as in the first embodiment shown in FIG. The feature of this embodiment circuit is that the number of stages of the shift register 13 and latch circuit 14 is two stages larger than one word (n stages), so that the C bit or the τ bit of the violation code of the C bit is the bit that should arrive. Separately from the first exclusive NOR circuit 19 which takes the opposite logic of the exclusive OR with the previous bit, the C bit or A second exclusive NOR circuit 25 is provided which takes the opposite logic of the exclusive OR between the bit where the τ bit is to arrive and the bit immediately before that bit, and further includes an exclusive NOR circuit l9.
This is because an OR circuit 26 is provided to OR the outputs of and 25.

これはいわゆる多点監視方式に相当し、非同期状態にあ
り、したがって保護回路24の出力が「1」である場合
には、排他的否定論理和回路19および25の少なくと
も一方の出力が「l」であると、ゲート回路18の出力
にはハンチングパルスが現れるため、ワード同期回路の
再同期動作が第一実施例に比較して早くなる。このため
、この実施例回路のワード復帰時間は、第一実施例より
短くなる。
This corresponds to a so-called multi-point monitoring system, and is in an asynchronous state. Therefore, when the output of the protection circuit 24 is "1", the output of at least one of the exclusive NOR circuits 19 and 25 is "l". In this case, a hunting pulse appears at the output of the gate circuit 18, so that the resynchronization operation of the word synchronization circuit becomes faster than in the first embodiment. Therefore, the word recovery time of this embodiment circuit is shorter than that of the first embodiment.

ワード同期復帰後フレーム同期復帰までの時間は第一実
施例と同じである。
The time from recovery of word synchronization to recovery of frame synchronization is the same as in the first embodiment.

なお、この実施例回路では、フレーム一致検出回路21
の一方の入力に排他的否定論理和回路19の出力が与え
られているが、これは排他的否定論理和回路25の出力
を与えてもよい。また第3図では保護回路24の入力に
排他的否定論理和回路19の出力が与えられているが、
これは排他的否定論理和回路25の出力または論理和回
路26の出力を与えてもよい。
Note that in this embodiment circuit, the frame coincidence detection circuit 21
Although the output of the exclusive NOR circuit 19 is given to one input of the , the output of the exclusive NOR circuit 25 may also be given. Furthermore, in FIG. 3, the output of the exclusive NOR circuit 19 is given to the input of the protection circuit 24;
This may provide the output of the exclusive NOR circuit 25 or the output of the OR circuit 26.

ところで、第一実施例および第二実施例では、このよう
に再同期が実行されて同期が復帰するまでの時間を短く
することができるが、同期が復帰した後、保護回路24
が未だリセットされないうちに、すなわちワード同期が
確立される前に、たまたま排他的否定論理和回路19の
出力にフレームパターンの「1」が現れると、ワード同
期は再同期動作を実行してしまう。これを回避するには
、1フレームのワード数m,lワードのビット数n1保
護回路24の後方保護段数lとの間に、mn>(n+1
+n)(n−1)+Jn   (3)なる条件が必要で
ある。(3)式は第一実施例に対する条件である。第二
実施例では、ワード同期復帰時間が第一実施例より短く
なるため、この条件より緩くなる。
By the way, in the first embodiment and the second embodiment, it is possible to shorten the time until the resynchronization is executed and the synchronization is restored in this way, but after the synchronization is restored, the protection circuit 24
If the frame pattern "1" happens to appear at the output of the exclusive NOR circuit 19 before the word synchronization is yet reset, that is, before the word synchronization is established, the word synchronization will execute a resynchronization operation. To avoid this, mn>(n+1
+n)(n-1)+Jn (3) The following condition is required. Equation (3) is a condition for the first embodiment. In the second embodiment, the word synchronization recovery time is shorter than in the first embodiment, so this condition is less strict.

この(3)式の左辺は1フレーム時間であり、右辺の第
1項は(1)式で与えられるビット数で表示したワード
同期復帰時間、第2項はワード同期復帰後に後方保護動
作により保護回路24がリセットされるまでの時間であ
る。
The left side of equation (3) is one frame time, the first term on the right side is the word synchronization recovery time expressed in the number of bits given by equation (1), and the second term is protection by backward protection operation after word synchronization recovery. This is the time until the circuit 24 is reset.

一方保護回路の後方保護段数lは、誤同期確立を避ける
ために、同期状態を何回検出したら確立状態とすべきか
により決定すべきものであり、この値については、 大竹他、rPCM−400M多重変換装置の実用化」日
本電信電話公社発行研究実用化報告第25巻第1号19
76 に検討の結果を利用すると、一致検出確率をq。、誤同
期危険率をρ、、1ワードのビット数をnとすると が適当であるとされている。実用的な数値として、誤同
期危険率をρ5を1%、一致検出確率をq。
On the other hand, the number of backward protection stages l of the protection circuit should be determined based on how many times the synchronization state must be detected to establish the synchronization state in order to avoid false synchronization establishment.This value is determined by Otake et al. "Practical Application of Equipment" Research and Practical Application Report published by Nippon Telegraph and Telephone Public Corporation, Vol. 25, No. 1, 19
Using the results of the study in 76, the probability of matching detection is q. It is considered appropriate to set the false synchronization risk rate to ρ, and the number of bits in one word to n. As practical values, the false synchronization risk rate is 1%, and the coincidence detection probability is q.

を0.5 として、一例としてn=17とすると、前記
(4)式から、 l≧11 が求まる。かりにl=11とすると、(3)式を満たす
mの値は44以上となり、44に満たないワード数のフ
レームを用いる場合にはフレーム同期復帰ができないこ
とがわかる。つまり、保護回路24の後方保護段数lに
関連して、1フレーム内のワード数mと1ワード内のビ
ット数nの間に制約条件があることになる。
Assuming that 0.5 and n=17 as an example, l≧11 can be found from the above equation (4). If l=11, then the value of m that satisfies equation (3) will be 44 or more, and it can be seen that frame synchronization cannot be recovered if a frame with a word count less than 44 is used. In other words, in relation to the number l of backward protection stages of the protection circuit 24, there is a constraint between the number m of words in one frame and the number n of bits in one word.

これを改良した回路が第4図に示す本発明第三実施例回
路である。この実施例回路は、排他的否定論理和回路1
9の出力に論理値「1」が2回つづけて到来したことを
検出する不一致検出回路を設けたものである。すなわち
、論理積回路27の一方には排他的否定論理和回路19
の出力の現在値を与え、この論理積回路27の他方には
一つ前のワード同期判定時点の排他的否定論理和回路1
9の出力の値をフリップフロップ28で保持してこれを
与える。
A circuit improved from this is a circuit according to a third embodiment of the present invention shown in FIG. This embodiment circuit is an exclusive NOR circuit 1
A mismatch detection circuit is provided for detecting that the logic value "1" has arrived twice in a row at the output of the circuit 9. That is, the exclusive NOR circuit 19 is connected to one side of the AND circuit 27.
The current value of the output of the AND circuit 27 is given to the other side of the AND circuit 27.
The value of the output of 9 is held in a flip-flop 28 and provided.

この論理積回路27の出力はゲート回路18に与えてリ
ングカウンタ15の計数動作を一時禁止してフレーム同
期とは別にワード同期をとる手段を備える。
The output of the AND circuit 27 is supplied to the gate circuit 18 to temporarily inhibit the counting operation of the ring counter 15, thereby providing word synchronization in addition to frame synchronization.

さらに、このワード同期をとる手段は、排他的否定論理
和回路19の出力に論理値「1」が2回つづけて到来し
ても、現同期判定位置がリングカウンタ15の計数動作
を一時禁止した次の同期判定位置であり、かつその2回
のうちの1回目の「1」の検出時点において、ラッチ回
路l4のCビットまたはCビットのバイオレーション符
号Cビットが到来すべきビットとそのビットより1ビッ
ト後のビットとの排他的論理和の反対論理をとる排他的
否定論理和回路32の出力が論理値「0」であるときに
は、再同期動作の実行を禁止するように構成したことを
特徴とする。
Furthermore, this word synchronization means is such that even if the logic value "1" arrives twice in succession at the output of the exclusive NOR circuit 19, the current synchronization determination position temporarily prohibits the counting operation of the ring counter 15. At the next synchronization determination position and at the time of detection of the first "1" of the two times, the C bit of the latch circuit l4 or the violation code C bit of the C bit is from the bit to which it should arrive and that bit. When the output of the exclusive NOR circuit 32 which takes the opposite logic of the exclusive OR with the bit after one bit is a logic value "0", execution of the resynchronization operation is prohibited. shall be.

すなわち、シフトレジスタ13およびラッチ回路14の
サイズを1ビット大きくして、排他的否定論理和回路3
2により、前のワード同期検出時点の排他的論理和の反
対論理をとる排他的否定論理和回路32の二つの入力よ
り1ビット後方にずれた二つの入力の排他的論理和の反
対論理を検出できるようにし、ゲート回路30、フリッ
プフロップ29およびゲート回路31によりこれを実現
した。
That is, the sizes of the shift register 13 and latch circuit 14 are increased by 1 bit, and the exclusive NOR circuit 3 is
2, detects the opposite logic of the exclusive OR of two inputs shifted one bit later than the two inputs of the exclusive NOR circuit 32, which takes the opposite logic of the exclusive OR at the time of previous word synchronization detection. This was realized by the gate circuit 30, the flip-flop 29, and the gate circuit 31.

第5図にその第三実施例回路の動作タイムチャートを示
す。また第6図にこの第三実施例回路の入力データの一
例とワード同期判定位置および論理積回v427が論理
積を検出するビットを図示する。
FIG. 5 shows an operation time chart of the circuit of the third embodiment. FIG. 6 shows an example of the input data of the third embodiment circuit, the word synchronization determination position, and the bits on which the AND circuit v427 detects the AND.

この実施例回路では、排他的否定論理和回路19の出力
e,にワード同期判定位置で2回連続して論理「1」が
現れると、再同期動作を起動させるが、現同期判定位置
がリングカウンタ15の計数動作を一時禁止した次の同
期判定位置であり、かつ、この2回のうちの1回目の判
定位置において、排他的否定論理和回路32の出力e2
に、フレームパターンの「0」が生或されているときに
は、再同期動作を実行する必要がないから、この場合に
再同期動作の実行を禁止する。したがって、保護回路2
4が保護動作を開始する前にフレームパターンの「l」
が検出されても、直ちに再同期動作を開始することはな
くなり、保護回路24の後方保護段数lに関連してフレ
ーム内のワード数mとの間に特定の条件で同期動作が実
行できなくなるような矛盾はなくなる。
In this embodiment circuit, when a logic "1" appears twice in a row at the word synchronization determination position at the output e of the exclusive NOR circuit 19, the resynchronization operation is activated, but the current synchronization determination position is At the next synchronization determination position where the counting operation of the counter 15 is temporarily inhibited, and at the first of these two determination positions, the output e2 of the exclusive NOR circuit 32
In addition, when the frame pattern "0" is generated, there is no need to perform the resynchronization operation, so in this case, the execution of the resynchronization operation is prohibited. Therefore, protection circuit 2
"l" in the frame pattern before 4 starts protection operation.
is detected, the resynchronization operation is no longer started immediately, and the synchronization operation cannot be performed under certain conditions between the number of words in the frame m and the number of backward protection stages l of the protection circuit 24. There will be no contradiction.

第7図は本発明第四実施例回路のブロック構戊図である
。この実施例回路は、第一、第二実施例の欠点を補うも
う一つの回路である。
FIG. 7 is a block diagram of a circuit according to a fourth embodiment of the present invention. This embodiment circuit is another circuit that compensates for the drawbacks of the first and second embodiments.

本実施例回路の特徴は、第3図の第二実施例において、
論理和回路26のかわりに論理積回路33を用いている
点にある。排他的否定論理和回路19および25より互
いに1ワード離れた隣りあう2ビットの排他的論理和の
反対論理を検出し、論理積回路33によりその論理積を
とっているため、排他的否定論理和回路19の出力にフ
レームパターンの「1」が生或されても、排他的否定論
理和回路25の出力にはフレームパターンの「0」が生
或されるので、論理積回路33の出力は「O」となり、
ゲート回路18の出力にハンチングパルスが発生しない
The features of this embodiment circuit are as follows in the second embodiment shown in FIG.
The difference is that an AND circuit 33 is used instead of the OR circuit 26. The exclusive NOR circuits 19 and 25 detect the opposite logic of the exclusive OR of two adjacent bits that are one word apart from each other, and the AND circuit 33 calculates the logical product. Even if the frame pattern “1” is generated at the output of the circuit 19, the frame pattern “0” is generated at the output of the exclusive NOR circuit 25, so the output of the AND circuit 33 is “1”. O”,
No hunting pulse is generated at the output of the gate circuit 18.

したがって、本実施例回路は、ワード復帰後、いまだ保
護回路24が後方保護動作に入っていない状態すなわち
その出力が「1」となっている状態において、排他的否
定論理和回路l9の出力にフレームパターンの「1」が
生或されても、ワード同期回路は再同期動作を開始する
ことはなくなり、保護回路24の後方保護段数lに関連
して、1フレーム内のワード数mと1ワードのビット数
nとの間に特定の条件で同期動作が実行できなくなるよ
うな矛盾はなくなる。
Therefore, in the circuit of this embodiment, in a state where the protection circuit 24 has not yet entered the backward protection operation after word recovery, that is, in a state where its output is "1", the output of the exclusive NOR circuit 19 is set to frame. Even if the pattern "1" is generated, the word synchronization circuit no longer starts resynchronization operation, and in relation to the number l of backward protection stages of the protection circuit 24, the number m of words in one frame and the number of words in one word are There is no contradiction with the number of bits n that would make it impossible to perform a synchronous operation under specific conditions.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、フレーム同期回
路について、再同期動作を実行する都度ワード同期回路
が再同期動作を実行するようなことがないから、非同期
状態から同期復帰までの時間がいちじるしく短縮される
効果がある。
As explained above, according to the present invention, since the word synchronization circuit does not execute a resynchronization operation every time a resynchronization operation is performed regarding the frame synchronization circuit, it takes a long time to return to synchronization from an asynchronous state. It has the effect of significantly shortening the length.

さらに、請求項2および請求項3記載の発明では、前記
効果の他に、保護回路の後方保護段数に関連してフレー
ム内のワード数とワード内のビット数との間に特定の制
約条件を設ける必要がなくなり、自由度の大きい設計が
可能になる効果がある。
Furthermore, in the invention according to claims 2 and 3, in addition to the above-mentioned effects, a specific constraint condition is set between the number of words in a frame and the number of bits in a word in relation to the number of backward protection stages of the protection circuit. There is no need to provide this, which has the effect of allowing a greater degree of freedom in design.

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

第1図は本発明の第一実施例回路のブロック構成図。 第2図はその第一実施例回路の動作タイムチャート。 第3図は本発明の第二実施例回路のブロック構成図。 第4図は本発明の第三実施例回路のブロック構成図。 第5図はその第三実施例回路の動作タイムチャート。 第6図はその第三実施例回路の入力データの一例を示す
説明図。 第7図は本発明の第四実施例回路のブロック構成図。 第8図は従来例回路のブロック構成図。 IL 12・・・端子、13・・・シフトレジスタ、1
4・・・ランチ回路、l5・・・リングカウンタ、16
、l8、20、30、31・・・ゲート回路、17、2
2・・・遅延回路、19、25、32・・・排他的否定
論理和回路、21・・・フレーム一致検出回路、23・
・・フレームカウンタ、24・・・保護回路、26・・
・論理和回路、27、33・・・論理積回路、28、2
9・・・フリップフロップ。
FIG. 1 is a block diagram of a circuit according to a first embodiment of the present invention. FIG. 2 is an operation time chart of the circuit of the first embodiment. FIG. 3 is a block diagram of a circuit according to a second embodiment of the present invention. FIG. 4 is a block diagram of a circuit according to a third embodiment of the present invention. FIG. 5 is an operation time chart of the third embodiment circuit. FIG. 6 is an explanatory diagram showing an example of input data of the third embodiment circuit. FIG. 7 is a block diagram of a circuit according to a fourth embodiment of the present invention. FIG. 8 is a block diagram of a conventional circuit. IL 12...Terminal, 13...Shift register, 1
4... Launch circuit, l5... Ring counter, 16
, l8, 20, 30, 31... gate circuit, 17, 2
2... Delay circuit, 19, 25, 32... Exclusive NOR circuit, 21... Frame coincidence detection circuit, 23...
...Frame counter, 24...Protection circuit, 26...
・OR circuit, 27, 33...AND circuit, 28, 2
9...Flip-flop.

Claims (1)

【特許請求の範囲】 1、一つのフレーム内のm−1ワードの各ワード内の特
定位置のcビットをそのcビットの一つ前または一つ後
のbビットの反対論理値とし、残りの1ワード内の特定
位置のcビットをそのcビットの一つ前または一つ後の
bビットと同一論理値とした1フレームmワードから構
成される直列データ(mB1C符号データ)を入力し、
この直列データを並列データに変換するシフトレジスタ
(13)と、 前記直列データのクロックにより駆動されたワードパル
スを発生するリングカウンタ(15)と、このワードパ
ルスにより前記シフトレジスタの内容をラッチするラッ
チ回路(14)と、 ワードごとにフレームパターンを発生するフレームカウ
ンタ(23)と、 前記ラッチ回路の前記cビットが到来すべきビットと前
記bビットが到来すべきビットとの排他的論理和の反対
論理をとる第一の論理回路(19)と、この第一の論理
回路の出力と前記フレームカウンタの出力との不一致を
検出するフレーム一致検出回路(21)と、このフレー
ム一致検出回路が不一致を検出したときに前記フレーム
カウンタの計数動作を一時禁止してフレーム同期をとる
手段と を備えたフレーム同期回路において、 前記フレーム一致検出回路とは別に、前記第一の論理回
路の出力論理値が「1」であること検出するワード非同
期検出回路(18)を設け、このワード非同期検出回路
の検出出力により前記リングカウンタの計数動作を一時
禁止してフレーム同期とは別にワード同期をとる手段と
、ワード同期状態にあるときには、前記第一の論理回路
の出力論理値が複数回連続して「1」とならないかぎり
ワード同期をとる手段の動作を禁止する保護回路(24
)と を備えたことを特徴とするフレーム同期回路。 2、一つのフレーム内のm−1ワードの各ワード内の特
定位置のcビットをそのcビットの一つ前または一つ後
のbビットの反対論理値とし、残りの1ワード内の特定
位置のcビットをそのcビットの一つ前または一つ後の
bビットと同一論理値とした1フレームmワードから構
成される直列データ(mB1C符号データ)を入力し、
この直列データを並列データに変換するシフトレジスタ
(13)と、 前記直列データのクロックにより駆動されたワードパル
スを発生するリングカウンタ(15)と、このワードパ
ルスにより前記シフトレジスタの内容をラッチするラッ
チ回路(14)と、 ワードごとにフレームパターンを発生するフレームカウ
ンタ(23)と、 前記ラッチ回路の前記cビットが到来すべきビットと前
記bビットが到来すべきビットとの排他的論理和の反対
論理をとる第一の論理回路(19)と、この第一の論理
回路の出力と前記フレームカウンタの出力との不一致を
検出するフレーム一致検出回路(21)と、この検出回
路が不一致を検出したときに前記フレームカウンタの計
数動作を一時禁止してフレーム同期をとる手段と を備えたフレーム同期回路において、 前記ラッチ回路の前記cビットが到来すべきビットより
1ワード離れた前記cビットが到来すべきビットと前記
bビットが到来すべきビットより1ワード離れた前記b
ビットが到来すべきビットとの排他的論理和の反対論理
をとる第二の論理回路(25)と、 前記フレーム一致検出回路とは別に、前記第一の論理回
路と前記第二の論理回路との論理和または論理積をとる
回路(26、32)の出力論理値が「1」であることを
検出するワード非同期検出回路(18)を設け、 このワード非同期検出回路(18)の検出出力により前
記リングカウンタの計数動作を一時禁止してフレーム同
期とは別にワード同期をとる手段と、ワード同期状態に
あるときには、前記第一の論理回路または前記第二の論
理回路または前記第一の論理回路と前記第二の論理回路
との論理和または論理積をとる回路の出力論理値が複数
回連続して「1」とならないかぎりワード同期をとる手
段の動作を禁止する保護回路(24)と を備えたことを特徴とするフレーム同期回路。 3、一つのフレーム内のm−1ワードの各ワード内の特
定位置のcビットをそのcビットの一つ前または一つ後
のbビットの反対論理値とし、残りの1ワード内の特定
位置のcビットをそのcビットの一つ前または一つ後の
bビットと同一論理値とした1フレームmワードから構
成される直列データ(mB1C符号データ)を入力し、
この直列データを並列データに変換するシフトレジスタ
(13)と、 前記直列データのクロックにより駆動されたワードパル
スを発生するリングカウンタ(15)と、このワードパ
ルスにより前記シフトレジスタの内容をラッチするラッ
チ回路(14)と、 ワードごとにフレームパターンを発生するフレームカウ
ンタ(23)と、 前記ラッチ回路の前記cビットが到来すべきビットと前
記bビットが到来すべきビットの排他的論理和の反対論
理をとる第一の論理回路(19)と、前記第一の論理回
路の出力と前記フレームカウンタの出力との不一致を検
出するフレーム一致検出回路(21)と、 このフレーム一致検出回路が不一致を検出したときに前
記フレームカウンタの計数動作を一時禁止してフレーム
同期をとる手段と を備えたフレーム同期回路において、 前記ラッチ回路の前記cビットが到来すべきビットと前
記bビットが到来すべきビットのうち後から到来すべき
ビットとその後から到来すべきビットの一つ後のビット
との排他的論理和の反対論理をとる第三の論理回路(3
2)と、 前記フレーム一致検出回路とは別に、前記第一の論理回
路の出力論理値が2回つづてけ「1」であることを検出
する不一致検出回路(18、27、28)を設け、 この不一致検出回路の検出出力により前記リングカウン
タの計数動作を一時禁止してフレーム同期とは別にワー
ド同期をとる手段を備え、 前記第一の論理回路の出力論理値が2回つづけて「1」
であっても、現同期判定位置が前記リングカウンタの計
数動作を一時禁止した次の同期判定位置であり、かつそ
の2回のうちの1回目の「1」論理値を検出した時点の
前記第三の論理回路の出力論理値が「0」である場合に
は前記ワード同期をとる手段の動作を禁止する手段(2
9、30、31)と を備え、 さらに、ワード同期状態にあるときには、前記第一の論
理回路の出力論理値が複数回連続して「1」とならない
かぎりワード同期をとる手段の動作を禁止する保護回路
(24)とを備えたことを特徴とするフレーム同期回路
[Claims] 1. The c bit at a specific position in each word of m-1 words in one frame is set to the opposite logical value of the b bit before or after the c bit, and the remaining Input serial data (mB1C code data) consisting of 1 frame m words in which the c bit at a specific position in 1 word has the same logical value as the b bit before or after the c bit,
A shift register (13) that converts this serial data into parallel data, a ring counter (15) that generates a word pulse driven by the clock of the serial data, and a latch that latches the contents of the shift register using this word pulse. a circuit (14); a frame counter (23) for generating a frame pattern word by word; and the opposite of the exclusive OR of the bit where the c bit should arrive and the bit where the b bit of the latch circuit should arrive. A first logic circuit (19) that takes logic; a frame coincidence detection circuit (21) that detects a mismatch between the output of the first logic circuit and the output of the frame counter; and a frame coincidence detection circuit (21) that detects a mismatch. In the frame synchronization circuit, the frame synchronization circuit includes means for temporarily inhibiting the counting operation of the frame counter to achieve frame synchronization when a frame coincidence detection circuit is detected, in which the output logic value of the first logic circuit is a word asynchronization detection circuit (18) for detecting that the word asynchronous detection circuit (18) is "1"; When in the synchronized state, a protection circuit (24
) A frame synchronization circuit characterized by comprising: 2. Set the c bit at a specific position in each word of m-1 words in one frame to the opposite logical value of the b bit before or after the c bit, and set the c bit at a specific position in the remaining one word. Input serial data (mB1C code data) consisting of m words of 1 frame in which the c bit of is the same logical value as the b bit before or after the c bit,
A shift register (13) that converts this serial data into parallel data, a ring counter (15) that generates a word pulse driven by the clock of the serial data, and a latch that latches the contents of the shift register using this word pulse. a circuit (14); a frame counter (23) for generating a frame pattern word by word; and the opposite of the exclusive OR of the bit where the c bit should arrive and the bit where the b bit of the latch circuit should arrive. a first logic circuit (19) that takes logic; a frame coincidence detection circuit (21) that detects a mismatch between the output of the first logic circuit and the output of the frame counter; In the frame synchronization circuit, the frame synchronization circuit includes means for temporarily inhibiting counting operation of the frame counter to achieve frame synchronization, when the c bit of the latch circuit arrives one word away from the bit to which the c bit should arrive. The exponent bit and the b bit are one word away from the bit that should arrive.
a second logic circuit (25) that takes the opposite logic of the exclusive OR of the bit with the bit that should arrive; and, apart from the frame coincidence detection circuit, the first logic circuit and the second logic circuit; A word asynchronous detection circuit (18) is provided to detect that the output logic value of the circuit (26, 32) that takes the logical sum or logical product of is "1", and the detected output of this word asynchronous detection circuit (18) means for temporarily inhibiting the counting operation of the ring counter to achieve word synchronization separately from frame synchronization; and when in the word synchronization state, the first logic circuit, the second logic circuit, or the first logic circuit. and the second logic circuit, the protection circuit (24) prohibits the operation of the word synchronization means unless the output logic value of the circuit that takes the OR or AND of the logic circuit and the second logic circuit becomes "1" several times in succession. A frame synchronization circuit characterized by: 3. Set the c bit at a specific position in each word of m-1 words in one frame to the opposite logical value of the b bit before or after the c bit, and set the c bit at a specific position in the remaining one word. Input serial data (mB1C code data) consisting of m words of 1 frame in which the c bit of is the same logical value as the b bit before or after the c bit,
A shift register (13) that converts this serial data into parallel data, a ring counter (15) that generates a word pulse driven by the clock of the serial data, and a latch that latches the contents of the shift register using this word pulse. a circuit (14); a frame counter (23) that generates a frame pattern for each word; and an opposite logic of exclusive OR of the bit where the c bit should arrive and the bit where the b bit of the latch circuit should arrive. a first logic circuit (19) which detects a mismatch between the output of the first logic circuit and the output of the frame counter; a frame match detection circuit (21) that detects a mismatch between the output of the first logic circuit and the output of the frame counter; In the frame synchronization circuit, the c bit of the latch circuit is configured to synchronize the bit that should arrive and the b bit of the latch circuit to synchronize the frame by temporarily inhibiting the counting operation of the frame counter when A third logic circuit (3
2), separate from the frame coincidence detection circuit, a mismatch detection circuit (18, 27, 28) is provided for detecting that the output logic value of the first logic circuit is "1" twice in a row; Means is provided for temporarily inhibiting the counting operation of the ring counter based on the detection output of the mismatch detection circuit to achieve word synchronization in addition to frame synchronization, and the output logic value of the first logic circuit becomes "1" twice in a row.
Even if the current synchronization determination position is the next synchronization determination position where the counting operation of the ring counter is temporarily prohibited, and the first logical value of "1" among the two times is detected, When the output logic value of the third logic circuit is "0", means for inhibiting the operation of the word synchronization means (2)
9, 30, 31), and further, when in the word synchronization state, the operation of the means for synchronizing the word is prohibited unless the output logic value of the first logic circuit becomes "1" several times in succession. A frame synchronization circuit comprising a protection circuit (24).
JP1162978A 1989-06-26 1989-06-26 Frame synchronization circuit Pending JPH0329436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1162978A JPH0329436A (en) 1989-06-26 1989-06-26 Frame synchronization circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1162978A JPH0329436A (en) 1989-06-26 1989-06-26 Frame synchronization circuit

Publications (1)

Publication Number Publication Date
JPH0329436A true JPH0329436A (en) 1991-02-07

Family

ID=15764896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1162978A Pending JPH0329436A (en) 1989-06-26 1989-06-26 Frame synchronization circuit

Country Status (1)

Country Link
JP (1) JPH0329436A (en)

Similar Documents

Publication Publication Date Title
JPH0637746A (en) Frame synchronization control system
JPH03244235A (en) Frame synchronizing circuit
US6288656B1 (en) Receive deserializer for regenerating parallel data serially transmitted over multiple channels
JPH0628288A (en) Apparatus for recovery of short waiting time data and synchronizing method of message data
EP0212327B1 (en) Digital signal transmission system having frame synchronization operation
JPH05304519A (en) Frame synchronization circuit
EP0379279A2 (en) Data transmission synchroniser
US3678200A (en) Frame synchronization system
JPH0748725B2 (en) Frame synchronization circuit
JP2947074B2 (en) Frame synchronization detection circuit
JPH0329436A (en) Frame synchronization circuit
EP0450148A2 (en) Decoding circuit for inhibiting error propagation
JPH031624A (en) Frame synchronizing circuit
JPH0329437A (en) Frame synchronization circuit
JP2944319B2 (en) Parallel deployment type frame synchronization method
JPS5952586B2 (en) synchronous circuit
US6885714B1 (en) Independently roving range control
JP3033543B2 (en) Frame synchronization circuit
JPS63116537A (en) Synchronization protecting circuit
JPH0818549A (en) Multi-frame synchronization protection circuit
KR0120533B1 (en) Multiplex analog component
JP3411197B2 (en) Line termination equipment
JPH0720087B2 (en) Frame synchronization circuit
JPH03201635A (en) Frame synchronizing circuit
JPH02291736A (en) Multiframe synchronizing circuit