JPH0329435A - Frame synchronization circuit - Google Patents

Frame synchronization circuit

Info

Publication number
JPH0329435A
JPH0329435A JP1162977A JP16297789A JPH0329435A JP H0329435 A JPH0329435 A JP H0329435A JP 1162977 A JP1162977 A JP 1162977A JP 16297789 A JP16297789 A JP 16297789A JP H0329435 A JPH0329435 A JP H0329435A
Authority
JP
Japan
Prior art keywords
word
synchronization
frame
circuit
output
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
JP1162977A
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 JP1162977A priority Critical patent/JPH0329435A/en
Publication of JPH0329435A publication Critical patent/JPH0329435A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain the synchronization restoration even in a frame pattern with lots of bit numbers in one work in comparison with a word number in one frame by avoiding out of synchronism at the location of a frame pattern representing the head of the frame before a word synchronizing circuit enters the synchronizing establish state. CONSTITUTION:A serial parallel conversion means 3a converts an input data into a (n+1)-bit parallel signal, a latch means 4a latches and outputs the input data converted according to a word pulse. Then a logical arithmetic means 5e uses, e.g. an AND circuit to AND the output of the 1st stage of the latch circuit 4a with an output of the (n+1)-th stage, inputs the result to a synchronization protection means 8 and a discrimination means, from which a hunting pulse is generated. Since the AND logic does not go to logical '1' when outputs of the 1st stage and the (n+1)-th stage of the latch circuit 4a are not both logical '1', the AND logic goes to logical '1' before the word circuit synchronization restores and goes to logical '0' after synchronization restoration. Thus, no hunting pulse is generated, the restoration to the out of synchronism is prevented. Thus, synchronization restoration is surely implemented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、基幹伝送系、公衆網および加入者系などのデ
ィジタル伝送系の同期制御に用いられるフレーム同期回
路に利用され、特に、例えば、1フレーム内に(m−1
)個の「0」と1個の「l」を有するフレーム同期パタ
ーンが1ビットごとに分敗配置された時分割多重高速信
号をワード単位にnビット並列展開後、フレーム同期を
とるフレーム同期回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is utilized for a frame synchronization circuit used for synchronization control of digital transmission systems such as backbone transmission systems, public networks, and subscriber systems. Within one frame (m-1
A frame synchronization circuit that performs frame synchronization after expanding n-bit parallel time-division multiplexed high-speed signals in word units, in which a frame synchronization pattern having ( ) "0" and one "l" is arranged bit by bit. Regarding.

〔従来の技術〕[Conventional technology]

第4図はこの種の従来のフレーム同期回路の一例を示す
ブロック構或図である。第4図において、1は入力デー
タ、2は入力データ1に同期した入力クロック、3は直
並列変換を行うシフトレジスタ、4はラッチ回路、5a
 ,5b ,5cおよび5dはアンド回路、5a ) 
6bおよび6Cはインバータ、7はリングカウンタ、8
はワード同期保護回路、9および11は遅延回路、なら
びに10はフレームカウンタである。なお、第4図右下
×印の位置にフレーム同期保護回路を挿入して利用する
がこれは説明が複雑になるので省略してある。ここで回
路5a,6a,7、8、5bおよび9はワード同期回路
を構或し、回路5d,6b.10、5c,6cおよびl
1はフレーム同期回路を構或する。
FIG. 4 is a block diagram showing an example of a conventional frame synchronization circuit of this type. In FIG. 4, 1 is input data, 2 is an input clock synchronized with input data 1, 3 is a shift register that performs serial-to-parallel conversion, 4 is a latch circuit, and 5a
, 5b, 5c and 5d are AND circuits, 5a)
6b and 6C are inverters, 7 is a ring counter, 8
is a word synchronization protection circuit, 9 and 11 are delay circuits, and 10 is a frame counter. It should be noted that a frame synchronization protection circuit is inserted and utilized at the position marked with an x in the lower right corner of FIG. 4, but this is omitted because the explanation would be complicated. Here, circuits 5a, 6a, 7, 8, 5b and 9 constitute a word synchronization circuit, and circuits 5d, 6b. 10, 5c, 6c and l
1 constitutes a frame synchronization circuit.

次に、本従来例の動作について説明する。Next, the operation of this conventional example will be explained.

入力データ1は、第3図にその一例を示すように、1フ
レーム内にm−1゜個の「0」と1個の「l」 (フレ
ームの先頭を示す)を有するフレームパターンが1ワー
ドごとに1ビットずつ分散配置された情報列である。シ
フトレジスタ3は1ワード分(nビット)の段数を有し
ており、入力データ1と同期した入力クロソク2により
入力データ1を初段に入力し、順次後段に送る。ラッチ
回路4はシフトレジスタ3の各段の出力をワードバルス
aによりラッチする。リングカウンタ7は入力クロック
2をn分周して前記ワードバルスaを出力する。ワード
同期保護回路8は、ラッチ回路4の1段目の出力をワー
ドパルスaにより入力する。
As an example of input data 1 is shown in Fig. 3, one word is a frame pattern with m-1 degrees of "0" and one "l" (indicating the beginning of the frame) in one frame. This is an information string in which one bit is distributed for each bit. The shift register 3 has stages for one word (n bits), and input data 1 is input to the first stage by an input clock 2 synchronized with the input data 1, and is sequentially sent to the subsequent stage. The latch circuit 4 latches the output of each stage of the shift register 3 using a word pulse a. The ring counter 7 divides the input clock 2 by n and outputs the word pulse a. The word synchronization protection circuit 8 receives the output of the first stage of the latch circuit 4 using the word pulse a.

所定の数だけ連続して「1」を入力したとき、ワード同
期保護回路8はセットされ出力CにrlJを出力する。
When a predetermined number of consecutive "1"s are input, the word synchronization protection circuit 8 is set and outputs rlJ to the output C.

一方所定の数だけ連続して「0」を入力したとき、ワー
ド同期保護回路8はリセットされ、出力Cに「0」を出
力する。遅延回路9はアンド回路5bが出力されるハン
チングパルスdを2クロツク分遅延させる。フレームカ
ウンタ10はワードパルスaをm(1フレーム内のワー
ド数)分周して、フレームパルスgを出力する。遅延回
路l1は、アンド回路5Cから出力されるハンチングパ
ルスhを1ワード分遅延させる。
On the other hand, when a predetermined number of consecutive "0"s are input, the word synchronization protection circuit 8 is reset and outputs "0" to the output C. The delay circuit 9 delays the hunting pulse d output by the AND circuit 5b by two clocks. The frame counter 10 divides the word pulse a by m (the number of words in one frame) and outputs a frame pulse g. The delay circuit l1 delays the hunting pulse h output from the AND circuit 5C by one word.

同期はずれ状態では、ワード同期保護回路8は、セット
状態にあり、その出力Cは「l」となっている。同期復
帰過程において、ラッチ回路4のl段目の出力bが「1
」である場合には、出力Cが「1丁である゛ため、ハン
チングパノレスdが「IJとなり、アンド回路5aにお
いて、入力クロック2が1クロック分インヒビットされ
るため、ワード同期回路はハンチングし、次のワードパ
ルスaは通常より1クロック分遅延する。ラッチ回路4
の1段目の出力bがフレームパターンの「0」と同一符
号である場合には、ハンチングパルスdは「0」となり
、リングカウンタ7は入力クロック2によりそのままカ
ウントアップされる。もしラッチ回路4の1段目の出力
bが真のフレームパターンの「0」である場合は、ワー
ド同期回路は同期復帰する。
In the out-of-synchronization state, the word synchronization protection circuit 8 is in the set state, and its output C is "1". In the synchronization recovery process, the output b of the lth stage of the latch circuit 4 becomes "1".
'', since the output C is ``1'', the hunting panorez d becomes ``IJ'', and the input clock 2 is inhibited by 1 clock in the AND circuit 5a, so the word synchronous circuit does not hunt. , the next word pulse a is delayed by one clock than usual.Latch circuit 4
When the output b of the first stage has the same sign as "0" of the frame pattern, the hunting pulse d becomes "0", and the ring counter 7 continues to count up with the input clock 2. If the output b of the first stage of the latch circuit 4 is "0" of the true frame pattern, the word synchronization circuit returns to synchronization.

次に、連続してラッチ回路4の1段目の出力bが「0」
である場合は、ワード同期保護回路8はリセットされ、
その出力Cは「0」となりワード同期確立状態に入る。
Next, the output b of the first stage of the latch circuit 4 becomes "0"
If so, the word synchronization protection circuit 8 is reset,
The output C becomes "0" and the word synchronization establishment state is entered.

ワード同期復帰後、フレーム同期過程に入る。フレーム
同期回路は、フレームバルスgが「l」で、ラッチ回路
4の1段目の出力bが「0」である場合には、ハンチン
グパルスhが「ljとなり、フレームカウンタ10の入
力パルスJは1ビットインヒビットされるため、フレー
ム同期回路はハンチングする。もしフレームパルスgが
「1」で、ラッチ回路4のl段目の出力bが「1」であ
る場合には、ハンチングパルスhは「0」となるため、
フレームカウンタlOは、入力パルスJによりそのまま
カウンタアップされ、フレーム同期回路22は同期復帰
する。
After the word synchronization is restored, the frame synchronization process begins. In the frame synchronization circuit, when the frame pulse g is "l" and the output b of the first stage of the latch circuit 4 is "0", the hunting pulse h becomes "lj", and the input pulse J of the frame counter 10 becomes "lj". Since 1 bit is inhibited, the frame synchronization circuit hunts.If the frame pulse g is "1" and the output b of the lth stage of the latch circuit 4 is "1", the hunting pulse h is "0". ”, so
The frame counter IO is directly counted up by the input pulse J, and the frame synchronization circuit 22 returns to synchronization.

次に、第3図および第5図を用いて、本従来例の動作を
さらに説明する。
Next, the operation of this conventional example will be further explained using FIGS. 3 and 5.

第4図はlワード3ピッt− (n=3)および1フレ
ーム5ワード(n=5)としたときの入力データ1を示
す。この場合、フレームパターンは、Fo””I F, 、F2 、F. 、F.=0 とする。ここで、DI,D2、 はデータを示す。
FIG. 4 shows input data 1 when one word and three pits t- (n=3) and one frame are five words (n=5). In this case, the frame pattern is Fo""I F, , F2, F. , F. =0. Here, DI, D2, represent data.

第5図は、このような入力データ1が到来したときの動
作を示すタイムチャートである。なお第5図中に示した
記号D+ 、D4 、F3 、F4、 の符号は、第3
図に示した同記号の符号と対応している。フレームカウ
ンタlOから出力されるフレームバルスgはフレームパ
ターンF0〜F4が繰り返し現れる。
FIG. 5 is a time chart showing the operation when such input data 1 arrives. Note that the symbols D+, D4, F3, F4, shown in FIG.
This corresponds to the same symbol shown in the figure. Frame patterns F0 to F4 repeatedly appear in the frame pulse g output from the frame counter IO.

第4図の回路において、同期はずれ状態では、ワード同
期保護回路8はセット状態にあるため、その出力Cは「
1」に固定されている。いま同期はずれ状態において、
フレームカウンタlOからのフレームバルスgがF。す
なわち「1」のとき、ラッチ回路4の1段目の出力bに
はデータD1すなわち「1」が出力されているものとす
る。
In the circuit of FIG. 4, in the out-of-synchronization state, the word synchronization protection circuit 8 is in the set state, so its output C is "
It is fixed at 1. Now in an out-of-sync state,
The frame pulse g from the frame counter lO is F. That is, when it is "1", it is assumed that data D1, that is, "1" is output to the first stage output b of the latch circuit 4.

まず、ワード同期回路8の動作を説明する。この場合、
ハンチングパルスdはワードパルスa1出力bおよび出
力Cが「1」のためワードパルスaと同じ出力となる。
First, the operation of the word synchronization circuit 8 will be explained. in this case,
Hunting pulse d has the same output as word pulse a because word pulse a1 output b and output C are "1".

従って、遅延回路9の出力eは図示のようになり、リン
グカウンタ7のカウントアップクロックfは、1クロッ
ク分インヒビフトされる。このため、次のリングカウン
タ7から出力されるワードバルスaは、1ワードより1
クロック分遅延し、ラッチ回路4の1段目の出力bには
データD,すなわち「l」が現れる。この場合も、ハン
チングパルスdが「l」となるため、次のリングカウン
タ7から出力されるワードパルスaはlワードより1ク
ロック分遅延し、ラッチ回路4のl段目の出力bにはフ
レームパターンF3が現れる。この場合、ハンチングパ
ルスdは「0」となり、ワード同期回路はここで同期復
帰する。
Therefore, the output e of the delay circuit 9 becomes as shown in the figure, and the count-up clock f of the ring counter 7 is inhibited by one clock. Therefore, the next word pulse a output from the ring counter 7 is 1 word more than 1 word.
After a clock delay, data D, ie, "l" appears at the output b of the first stage of the latch circuit 4. In this case as well, since the hunting pulse d becomes "l", the word pulse a outputted from the next ring counter 7 is delayed by one clock from the l word, and the output b of the lth stage of the latch circuit 4 is a frame. Pattern F3 appears. In this case, the hunting pulse d becomes "0" and the word synchronization circuit returns to synchronization.

次のリングカウンタ7から出力されるワードパルスaに
よりラッチ回路4の1段目の出力bにはフレームパター
ンF4が現れる。ワード同期保護回路8が2段で構或さ
れているものと仮定すると、ここで、ワード同期保護回
路8はリセットされ、その出力Cは「0」となる。これ
によってワード同期回路は同期確立状態に入る。
A frame pattern F4 appears at the first stage output b of the latch circuit 4 due to the next word pulse a output from the ring counter 7. Assuming that the word synchronization protection circuit 8 has two stages, the word synchronization protection circuit 8 is reset and its output C becomes "0". This causes the word synchronization circuit to enter a synchronization establishment state.

次に、フレーム同期回路の動作を説明する。フレームカ
ウンタ10はリングカウンタ7から出力されるワードパ
ルスaによってカウントアップされるため、出力される
フレームパルスgには、ハンチングパルスhの遅延パル
スlが「0」の間は、Fo 、F+ 、F2 、F3 
、F4の順でフレームパターンが現れる。しかし、フレ
ームパルスgがF0すなわち「1」でラッチ回路4の1
段目の出力bが「0」の場合にはハンチングパルスhが
「1」となるため、フレームカウンタlOの次の入力ク
ロックJはインヒビットされ、フレームカウンタ10か
ら出力されるフレームバルスgはF。の位置にとどまる
。この動作は、ラッチ回路4の1段目の出力bがF。に
なるまで続く。ラッチ回路4の1段目の出力bがF。と
なったとき、ハンチングパルスhは「0」となり、フレ
ーム同期回路は同期復帰する。
Next, the operation of the frame synchronization circuit will be explained. Since the frame counter 10 is counted up by the word pulse a output from the ring counter 7, the output frame pulse g includes Fo, F+, F2 while the delay pulse l of the hunting pulse h is "0". , F3
, F4 appear in this order. However, when the frame pulse g is F0, that is, "1", the latch circuit 4
When the output b of the second stage is "0", the hunting pulse h becomes "1", so the next input clock J of the frame counter 10 is inhibited, and the frame pulse g output from the frame counter 10 is F. stay in position. In this operation, the output b of the first stage of the latch circuit 4 is F. It continues until The output b of the first stage of the latch circuit 4 is F. When this occurs, the hunting pulse h becomes "0" and the frame synchronization circuit returns to synchronization.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述した従来のフレーム同期回路では、ワード同期回路
2lが同期復帰後、ワード同期保護回路8がリセットさ
れて同期確立状態に入る前に、フレームパターンFoす
なわち「1」がラッチ回路4の1段目の出力bに現れた
ときは、同期はずれ状態に戻ってしまう欠点がある。例
えば、ワード同期保護回路8の段数が5の場合、第5図
において、ラッチ回路4の一段目の出力bの最初のF0
すなわち「1」が現れた時点で同期はずれとなる。
In the conventional frame synchronization circuit described above, after the word synchronization circuit 2l returns to synchronization and before the word synchronization protection circuit 8 is reset and enters the synchronization establishment state, the frame pattern Fo, that is, "1" is input to the first stage of the latch circuit 4. When it appears at the output b of For example, when the number of stages of the word synchronization protection circuit 8 is five, in FIG.
In other words, the synchronization is lost when "1" appears.

なお、これが問題となるのは、ワード同期復帰時間とワ
ード同期保護回路8の後方保護時間すなわちワード同期
復帰からワード同期確立までの時間の和が1フレーム長
より長くなる場合である。
Note that this becomes a problem when the sum of the word synchronization recovery time and the backward protection time of the word synchronization protection circuit 8, that is, the time from word synchronization recovery to establishment of word synchronization, becomes longer than one frame length.

これは、フレームパターンのF。すなわち「1」により
同期はずれ状態になっても、次のフレームパターンのF
。が到来するまでにワード同期復帰し、かつワード同期
確立状態に入ってしまえば問題ないからである。ワード
同期復帰時間および後方保護時間は、lワードのビット
数nが大きくなる程長くなる。従って、本回路で問題と
なるのは、フレーム長に体するワード長の比が大きい場
合である。
This is frame pattern F. In other words, even if "1" causes an out-of-synchronization state, the F of the next frame pattern
. This is because there is no problem as long as the word synchronization is restored and the word synchronization is established before the arrival of the word synchronization. The word synchronization recovery time and backward protection time become longer as the number of bits n of l word becomes larger. Therefore, a problem with this circuit occurs when the ratio of the word length to the frame length is large.

本発明の目的は、前記の欠点を除去することにより、ワ
ード同期回路が同期復帰後、同期確立状態に入る前に同
期はずれ状態に戻ることのないフレーム同期回路を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a frame synchronization circuit in which the word synchronization circuit does not return to an out-of-synchronization state after returning to synchronization and before entering a synchronization established state, by eliminating the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、1フレーム内に(m−1)個の一論理値と1
個の反対論理値とを有するフレーム同期パターンが1ワ
ードごとに1ビットずつ分散配置された時分割多重高速
信号からなる入力データをワード単位に並列展開後フレ
ーム同期をとる手段を備えたフレーム同期回路において
、前記入力データを(n+1)ビットの並列信号に変換
する直並列変換手段と、この直並列変換手段の出力を入
力されるワードパルスに従ってラッチするラッチ手段と
、前記入力データに同期した入力クロックをワード周期
(1/n)に分周して前記ワードパルスを出力する分周
手段、前記ラッチ手段の一段目の出力と(n+1)段目
の出力との所定の論理演算を行う論理演算手段、この論
理演算手段の出力が前記フレーム同期パターンか否かを
判定する判定手段、同期保護手段、およびこの同期保護
手段の出力が同期はずれ状態を示しかつ前記判定手段が
フレーム同期パターンでないことを検出したときに前記
分周手段の出力を前記入力クロックの1クロック分遅延
させる遅延処理手段を含む遅延シフト方式のワード同期
回路とを備えたことを特徴とする。
The present invention provides (m-1) one logical values and one logical value in one frame.
A frame synchronization circuit equipped with means for performing frame synchronization after parallel expansion of input data consisting of a time-division multiplexed high-speed signal in which a frame synchronization pattern having opposite logical values is distributed one bit per word in units of words. a serial-to-parallel converter for converting the input data into an (n+1)-bit parallel signal; a latch for latching the output of the serial-to-parallel converter according to an input word pulse; and an input clock synchronized with the input data. frequency dividing means for dividing the frequency into a word period (1/n) and outputting the word pulse; logical operation means for performing a predetermined logical operation on the output of the first stage and the output of the (n+1)th stage of the latch means; , a determining means for determining whether the output of the logical operation means is the frame synchronization pattern, a synchronization protection means, and the output of the synchronization protection means indicates an out-of-synchronization state, and the determination means detects that it is not the frame synchronization pattern. The present invention is characterized by comprising a delay shift type word synchronization circuit including a delay processing means for delaying the output of the frequency dividing means by one clock of the input clock when

〔作用〕[Effect]

直並列変換手段は入力データを(n+1)ビットの並列
信号に変換し、ラッチ手段はワードパルスに従ってこの
変換された入力データをラッチし出力する。そして、論
理演算手段は例えばアンド回路によりラッチ回路の一段
目の出力と(n+1)段目の出力との論理積をとり同期
保護手段および判定手段に入力してハンチングパルスが
生成される。前記論理積は、前記ラッチ回路の一段目お
よび(n+1)段目の出力がともに「l」でなければ「
1」とはならないので、ワード同期回路同期復帰前は「
1」、同期復帰後は「0」となる。
The serial/parallel conversion means converts the input data into an (n+1) bit parallel signal, and the latch means latches and outputs the converted input data according to the word pulse. Then, the logic operation means uses, for example, an AND circuit to logically AND the output of the first stage of the latch circuit and the output of the (n+1)th stage, and inputs the logical product to the synchronization protection means and the determination means to generate a hunting pulse. The logical product is “unless both the outputs of the first stage and the (n+1)th stage of the latch circuit are “L”.
1", so before the word synchronization circuit returns to synchronization, "
1", and becomes "0" after synchronization is restored.

これにより、ワード同期回路が同期復帰後、同期保護手
段がリセットされて同期確立状態に入る前に、フレーム
パターンF。すなわち「1」が前記ラッチ手段の一段目
の出力に現れたとしても、前記論理積は「0」であり、
ハンチングパルスが生戊されないので、同期はずれ状態
に戻ることはなくなる。
As a result, after the word synchronization circuit returns to synchronization, the frame pattern F is generated before the synchronization protection means is reset and the synchronization establishment state is entered. That is, even if "1" appears at the output of the first stage of the latch means, the logical product is "0",
Since the hunting pulse is not generated, there is no possibility of returning to the out-of-synchronization state.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック構或図である
FIG. 1 is a block diagram showing an embodiment of the present invention.

本実施例は、1フレーム内に(m−1)個の「0」と1
個の「1」とを有するフレーム同期パターンが1ワード
ごどに1ビットずつ分散配置された時分割多重高速信号
からなる入力データlをワード単位に並列展開後フレー
ム同期をとる手段を備えたフレーム同期回路において、 入力データ1を(n+1)ビットの並列信号に変換する
直並列変換手段としてのシフトレジスタ3aと、このシ
フトレジスタ3aの出力を入力されるワードパルスaに
従ってラッチするラッチ手段としてのラッチ回路4aと
、入力データ1に同期した入力クロック2をワード周期
(1/n)に分周してワードバルスaを出力する分周手
段としてのリングカウンタ7、ラッチ回路4aの一段目
の出力b,と(n+1)段目の出力b2との論理積をと
る論理演算手段としてのアンド回路5e,このアンド回
路5eの出力CIが前記フレーム同期パターンか否かを
判定する判定手段としてのアンド回路5b,同期保護手
段としてのワード同期保護回路8、ならびにこのワード
同期保護回路8の出力C2が同期はずれ状態を示してお
り、かつアンド回路5bがフレーム同期パターンでない
ことを検出したときにリングカウンタ7からのワードバ
ルスaを入力クロック2の1クロック分遅延させる遅延
処理手段としての遅延回路9、インバータ6aおよびア
ンド回路5aを含む遅延シフト方式のワード同期回路と
を備え、 さらに、アンド回路5Cおよび5d ,インバータ6b
および6C%フレームカウンタ10ならびに遅延回路1
1を含んで構戒されるフレーム同期回路を含んでいる。
In this embodiment, there are (m-1) “0” and 1 “0” in one frame.
A frame equipped with a means for performing frame synchronization after parallel expansion of input data l consisting of a time-division multiplexed high-speed signal in which a frame synchronization pattern having "1" is distributed one bit per word in units of words. In the synchronous circuit, there is a shift register 3a as a serial/parallel conversion means for converting input data 1 into an (n+1) bit parallel signal, and a latch as a latch means for latching the output of this shift register 3a according to an input word pulse a. A circuit 4a, a ring counter 7 as a frequency dividing means that divides the input clock 2 synchronized with the input data 1 into a word period (1/n) and outputs a word pulse a, and the first stage output b of the latch circuit 4a. . , the word synchronization protection circuit 8 as a synchronization protection means, and the output C2 of this word synchronization protection circuit 8 indicate an out-of-synchronization state, and when the AND circuit 5b detects that it is not a frame synchronization pattern, the ring counter 7 A delay circuit 9 as a delay processing means for delaying the word pulse a by one clock of the input clock 2, a delay shift type word synchronization circuit including an inverter 6a and an AND circuit 5a, and further includes AND circuits 5C and 5d, Inverter 6b
and 6C% frame counter 10 and delay circuit 1
The frame synchronization circuit includes a frame synchronization circuit including 1.

第1図右下x印の位置にはフレーム同期保護回路を挿入
して利用するが、これは説明が複雑になるのでここでは
省略してある。
A frame synchronization protection circuit is inserted and utilized at the position marked x in the lower right corner of FIG. 1, but this is omitted here because the explanation would be complicated.

本発明の特徴は、第1図において、シフトレジスタ3a
と、ラッチ回路4aと、アンド回路5eを含むワード同
期回路とを設けたことにある。
The feature of the present invention is that in FIG. 1, the shift register 3a
This is because a latch circuit 4a and a word synchronization circuit including an AND circuit 5e are provided.

次に、本実施例における同期はずれ状態からフレーム同
期復帰するまでの動作を第2図および第3図を用いて説
明する。ここで、第3図は入力データlを示す説明図で
、第2図は本実施例の各点の動作波形を示すタイムチャ
ートである。第2図中のD1、D3、F,、 は第3図
の同一符号の入力データと対応している。
Next, the operation from the out-of-synchronization state to the recovery of frame synchronization in this embodiment will be explained with reference to FIGS. 2 and 3. Here, FIG. 3 is an explanatory diagram showing input data l, and FIG. 2 is a time chart showing operation waveforms at various points in this embodiment. D1, D3, F, . . . in FIG. 2 correspond to input data with the same symbols in FIG. 3.

最初同期はずれ状態にあるため、ワード同期保護回路8
はセット状態にあり、その出力c2は「1」になってい
るものとする。最初ラッチ回路4aの一段目および(n
+1)段目の出力b1およびb2にそれぞれデータD3
およびD1が現れているものとすると、アンド回路5e
の出力c1 は「l」となり、ワード同期保護回路8の
出力c2が「1」であるため、アンド回路5bの出力で
あるハンチングパルスdはワードパルスaと同じになる
。このハンチングパルスdは遅延回路9により入力クロ
ック2の2周期分遅延されて、遅延パルスeとなり、イ
ンバータ6aを介して、アンド回路5aに加えられる。
Since the synchronization is initially out of synchronization, the word synchronization protection circuit 8
It is assumed that is in the set state and its output c2 is "1". Initially, the first stage of the latch circuit 4a and (n
+1) data D3 to the outputs b1 and b2 of the 1st stage, respectively.
and D1 appear, AND circuit 5e
Since the output c1 of the word synchronization protection circuit 8 is "1" and the output c2 of the word synchronization protection circuit 8 is "1", the hunting pulse d which is the output of the AND circuit 5b becomes the same as the word pulse a. This hunting pulse d is delayed by two periods of the input clock 2 by the delay circuit 9 to become a delayed pulse e, which is applied to the AND circuit 5a via the inverter 6a.

これにより、リングカウンタ7への次のカウントアップ
クロックfは停止されるため、次のワードパルスaは1
ワードより1クロック分遅延する。
As a result, the next count-up clock f to the ring counter 7 is stopped, so the next word pulse a is 1
It is delayed by one clock from the word.

このワードパルスaによりラッチ回路4aの出力b1お
よびb2にはそれぞれデータD6およびD4が現れる。
Due to this word pulse a, data D6 and D4 appear at the outputs b1 and b2 of the latch circuit 4a, respectively.

この場合も、アンド回路5eの出力c1は「l」となる
ため、ハンチングバルスdは「1」となり、従って、次
のワードパルスaは1ワードよりlクロック分遅延する
。このワードパルスaにより、ラッチ回路4aの出力b
1およびb2にはそれぞれフレームパルスF4およびF
3が現れる。この場合は、アンド回路5eの出力c1は
「0」となるため、ハンチングパルスdは「0」となる
。ここで、ワード同期回路は同期復帰する。
In this case as well, the output c1 of the AND circuit 5e becomes "l", so the hunting pulse d becomes "1", and therefore the next word pulse a is delayed by l clocks from one word. This word pulse a causes the output b of the latch circuit 4a to
1 and b2 have frame pulses F4 and F, respectively.
3 appears. In this case, the output c1 of the AND circuit 5e becomes "0", so the hunting pulse d becomes "0". At this point, the word synchronization circuit returns to synchronization.

ハンチングバルスdが「0」の場合は、リングカウンタ
7の次のカウントアップクロックfは停止されないため
、次のワードパルスaは1ワード後に出力される。以下
同様な動作をくり返し、ラッチ回路4aの出力b,およ
びb2がそれぞれフレームパルスF3およびF2になっ
たとき、ワード同期保護回路8はリセットされ、その出
力c2は「0」となり、ワード同期回路は同期確立状態
に入る。ただし、ワード同期保護回路8の保護段数を3
段としている。第2図に示すように、本実施例は、ワー
ド同期回路が同期復帰後、フレームパターンのF。すな
わち「l」の位置でハンチングパルスdは「0」となる
ため、同期はずれにならない。フレーム同期回路の動作
は第4図の従来例と同様である。
When the hunting pulse d is "0", the next count-up clock f of the ring counter 7 is not stopped, so the next word pulse a is output one word later. Thereafter, the same operation is repeated, and when the outputs b and b2 of the latch circuit 4a become frame pulses F3 and F2, respectively, the word synchronization protection circuit 8 is reset, its output c2 becomes "0", and the word synchronization circuit Enters synchronization establishment state. However, the number of protection stages of the word synchronization protection circuit 8 is set to 3.
It's in stages. As shown in FIG. 2, in this embodiment, after the word synchronization circuit returns to synchronization, F of the frame pattern. That is, since the hunting pulse d becomes "0" at the "l" position, synchronization does not occur. The operation of the frame synchronization circuit is similar to the conventional example shown in FIG.

以上述べたように、本実施例では、ワード同期回路21
aが同期復帰後、ワード同期回路が同期確立状態に入る
前に、フレームパターンのF。すなわち「1」が到来し
ても、同期はずれにならない。
As described above, in this embodiment, the word synchronization circuit 21
After a returns to synchronization and before the word synchronization circuit enters the synchronization establishment state, F of the frame pattern. In other words, even if "1" arrives, synchronization will not occur.

なお、本実施例では、入力データlとして、1フレーム
内にm−1個の「0」と1個の「1」を有するフレーム
パターンがワードごとに1ピットずつ分散配置された情
報列としたが、フレームパターンは「1」と「0」を逆
にしても、本発明は適用できる。
In this embodiment, the input data l is an information string in which a frame pattern having m-1 "0"s and one "1" in one frame is distributed with one pit per word. However, the present invention can be applied even if the frame pattern has "1" and "0" reversed.

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

以上説明したように、本発明は、ワード同期回路が同期
確立状態に入る前に、フレームの先頭を示すフレームパ
ターンの位置で同期はずれにならないため、1フレーム
内のワード数に比較して、lワードのビット数が多いフ
レームパターンにおいても必ず同期復帰できる効果があ
る。
As explained above, in the present invention, before the word synchronization circuit enters the synchronization established state, synchronization does not occur at the position of the frame pattern indicating the beginning of the frame. This has the effect that synchronization can always be recovered even in a frame pattern in which the number of word bits is large.

なお、本発明は、mBIC符号のバイオレーションによ
って、フレーム同期をとる方式において特に有効である
Note that the present invention is particularly effective in a system in which frame synchronization is achieved by a violation of the mBIC code.

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

第l図は本発明の一実施例を示すブロック構或図。 第2図はその動作を示すタイムチャート。 第3図は本発明で用いられる入力データの一例を示す説
明図。 第4図は従来例を示すブロック構或図。 第5図はその動作を示すタイムチャート。 1・・・入力データ、2・・・入力クロック、3、3a
・・・シフトレジスタ、4、4a・・・ラッチ回路、5
a〜5e・・・アンド回路、6a〜6C・・・インバー
タ、7・・・リングカウンタ、8・・・ワード同期保護
回路、9、l1・・・遅延回路、10・・・フレームカ
ウンタ。
FIG. 1 is a block diagram showing an embodiment of the present invention. FIG. 2 is a time chart showing the operation. FIG. 3 is an explanatory diagram showing an example of input data used in the present invention. FIG. 4 is a block diagram showing a conventional example. FIG. 5 is a time chart showing the operation. 1... Input data, 2... Input clock, 3, 3a
...Shift register, 4, 4a...Latch circuit, 5
a to 5e...AND circuit, 6a to 6C...inverter, 7...ring counter, 8...word synchronization protection circuit, 9, l1...delay circuit, 10...frame counter.

Claims (1)

【特許請求の範囲】 1、1フレーム内に(m−1)個の一論理値と1個の反
対論理値とを有するフレーム同期パターンが1ワードご
とに1ビットずつ分散配置された時分割多重高速信号か
らなる入力データをワード単位に並列展開後フレーム同
期をとる手段を備えたフレーム同期回路において、 前記入力データを(n+1)ビットの並列信号に変換す
る直並列変換手段(3)と、 この直並列変換手段の出力を入力されるワードパルスに
従ってラッチするラッチ手段(4)と、前記入力データ
に同期した入力クロックをワード周期(1/n)に分周
して前記ワードパルスを出力する分周手段(7)、前記
ラッチ手段の一段目の出力と(n+1)段目の出力との
所定の論理演算を行う論理演算手段(5e)、この論理
演算手段の出力が前記フレーム同期パターンか否かを判
定する判定手段(5b)、同期保護手段(8)、および
この同期保護手段の出力が同期はずれ状態を示しかつ前
記判定手段がフレーム同期パターンでないことを検出し
たときに前記分周手段の出力を前記入力クロックの1ク
ロック分遅延させる遅延処理手段(9、5a、6a)を
含む遅延シフト方式のワード同期回路と を備えたことを特徴とするフレーム同期回路。
[Claims] 1. Time division multiplexing in which a frame synchronization pattern having (m-1) one logical value and one opposite logical value is distributed in one bit per word in one frame. A frame synchronization circuit equipped with means for performing frame synchronization after parallelizing input data consisting of high-speed signals word by word, comprising: a serial-to-parallel conversion means (3) for converting the input data into an (n+1) bit parallel signal; a latch means (4) for latching the output of the serial-to-parallel converter according to an input word pulse; and a part for dividing an input clock synchronized with the input data into a word period (1/n) and outputting the word pulse. a logic operation means (5e) for performing a predetermined logical operation on the output of the first stage of the latch means and the output of the (n+1)th stage of the latch means; a determining means (5b) for determining whether the frame synchronization pattern is the same, a synchronization protection means (8), and when the output of the synchronization protection means indicates an out-of-synchronization state and the determination means detects that the pattern is not a frame synchronization pattern, the frequency division means A frame synchronization circuit comprising: a delay shift type word synchronization circuit including delay processing means (9, 5a, 6a) for delaying an output by one clock of the input clock.
JP1162977A 1989-06-26 1989-06-26 Frame synchronization circuit Pending JPH0329435A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=15764876

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0329435A (en)

Similar Documents

Publication Publication Date Title
JP2831070B2 (en) Heterogeneous signal conversion method and apparatus
JP2744690B2 (en) Frame synchronization circuit
JPH0329435A (en) Frame synchronization circuit
JPH0748725B2 (en) Frame synchronization circuit
JPH0329433A (en) Frame synchronizing circuit
JP3033543B2 (en) Frame synchronization circuit
JPH0329437A (en) Frame synchronization circuit
JPS60235549A (en) C-bit synchronism system of nb1c code signal
JPH031624A (en) Frame synchronizing circuit
JPH0329436A (en) Frame synchronization circuit
JP2897404B2 (en) Data transmission apparatus and method
SU1760631A1 (en) Ring counter
JPS63116537A (en) Synchronization protecting circuit
JP3409549B2 (en) Parallel signal conversion circuit and parallel signal synchronization circuit
JP3110057B2 (en) Asynchronous data transfer circuit
JPH01196931A (en) Synchronization detection circuit
JP2000049739A (en) Multi-frame synchronization detector
JPH0481902B2 (en)
JPH02291736A (en) Multiframe synchronizing circuit
JPH09152958A (en) Parallel interface circuit for data
JPH06125340A (en) Frame synchronization circuit for multi-frame data communication
JPH0378818B2 (en)
JPH04356834A (en) Synchronizing circuit using crc check
JPH0720088B2 (en) Frame synchronization method
JPH03201635A (en) Frame synchronizing circuit