JPH02230831A - Synchronization detecting circuit - Google Patents
Synchronization detecting circuitInfo
- Publication number
- JPH02230831A JPH02230831A JP1051208A JP5120889A JPH02230831A JP H02230831 A JPH02230831 A JP H02230831A JP 1051208 A JP1051208 A JP 1051208A JP 5120889 A JP5120889 A JP 5120889A JP H02230831 A JPH02230831 A JP H02230831A
- Authority
- JP
- Japan
- Prior art keywords
- synchronization
- data
- protection
- parallel data
- parallel
- 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
Links
Landscapes
- Time-Division Multiplex Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
高次群信号をN並列の信号に分離した後にフレーム同期
を確立する同期検出回路に関し、複数並列のデータの同
期確立を簡易な回路構成で効率良く行うことが出来る同
期検出回路を提供することを目的とし、
N並列のデータのデータビットの並び状態が相違するN
通りのフレームパターンからパターン検出部が検出・出
力するN通りの一致パルスのうち、ラッチ手段にラッチ
されない時のフレームパターンは同期はずれとして保護
手段で同#J1確立のための保護処理を行い、保護手段
にて同期確立のための保護処理を行う時のN並列のデー
タパターンのチャンネル入替部における入れ替えを、保
護手段が後方保護1段目で行うように条件設定手段にて
条件設定するように構成する。[Detailed Description of the Invention] [Summary] Regarding a synchronization detection circuit that establishes frame synchronization after separating a high-order group signal into N parallel signals, it is possible to efficiently establish synchronization of multiple parallel data with a simple circuit configuration. The purpose is to provide a synchronization detection circuit that can detect N parallel data in which the arrangement of data bits is different.
Among the N types of matching pulses detected and output by the pattern detection unit from the regular frame patterns, the frame pattern that is not latched by the latch means is considered out of synchronization, and the protection means performs protection processing to establish the same #J1. The condition setting means is configured to set a condition so that the protection means performs switching in the channel switching section of the N parallel data patterns when the protection processing for establishing synchronization is performed by the means in the first stage of backward protection. do.
本発明は、高次群信号をN並列の信号に分離した後にフ
レーム同期を確立する同期検出回路に関する。The present invention relates to a synchronization detection circuit that establishes frame synchronization after separating a high-order group signal into N parallel signals.
N並列のデータのフレーム同期を確立するためには、N
並列のデータよりデータビットの並び順序の組み合わせ
状態で考えられるN通りのフレームパターンを検出し、
そのN通りのフレームパターン毎に同期保護を取るため
のN個の同期保護回路を設けているのが一般的であり、
従って並列のデータ数が増加すれば比例して同期保護回
路数が増加することになる。To establish frame synchronization of N parallel data, N
Detects N possible frame patterns based on combinations of data bit order from parallel data,
Generally, N synchronization protection circuits are provided to protect each of the N frame patterns.
Therefore, as the number of parallel data increases, the number of synchronization protection circuits increases proportionally.
一方、N並列のデータが非同期である場合はそのパター
ン順序が不定となるため、同期を確立した後に同期状態
に並び替えする必要があるが、この並び替えの時期が通
常後方保護で同期が確立した後に行われている。そのた
め、同期処理時間が後方保護の段数により左右されるこ
とになる。On the other hand, if N parallel data is asynchronous, the pattern order is undefined, so it is necessary to rearrange it into a synchronous state after establishing synchronization, but this rearrangement is usually done when synchronization is established during backward protection. It is done after that. Therefore, the synchronization processing time depends on the number of stages of backward protection.
回路規模が小型化し、しかも高速処理が要望される中で
はかかる問題点を解消した同期検出回路の実現が望まれ
る。As circuit scale becomes smaller and high-speed processing is desired, it is desired to realize a synchronization detection circuit that eliminates these problems.
第3図は同期検出回路の従来例を説明する図、第4図は
同期検出回路の使用例を説明する図、第5図はシリアル
データからパラレルデータへの分離例を説明する図をそ
れぞれ示す。Figure 3 is a diagram explaining a conventional example of a synchronization detection circuit, Figure 4 is a diagram explaining an example of how the synchronization detection circuit is used, and Figure 5 is a diagram explaining an example of separating serial data into parallel data. .
第3図に示す従来例の同期検出回路(以下FSYNCと
称する)300はパターン検出部1,同期保護部3.タ
イミング作成部4及びチャネル(以下CHと略称する)
入替部5とを具備して構成しており、
上述のパターン検出部1は、パラレルに分離した後のデ
ータパターンを検出するためにパラレルデータビットの
同期監視を行うものであり、(n+1)個のフリップフ
ロップ回路(以下F,F回路と称する)1〜F,F回路
n+1を直列に接続し、このF.F回路の直列をパラレ
ルデータ数に応じた数並列に並べている。A conventional synchronization detection circuit (hereinafter referred to as FSYNC) 300 shown in FIG. 3 includes a pattern detection section 1, a synchronization protection section 3. Timing creation unit 4 and channel (hereinafter abbreviated as CH)
The above-mentioned pattern detection section 1 performs synchronous monitoring of parallel data bits in order to detect a data pattern after being separated in parallel, and has (n+1) bits of parallel data. Flip-flop circuits (hereinafter referred to as F, F circuits) 1 to F, F circuits n+1 are connected in series, and this F. A number of series F circuits are arranged in parallel according to the number of parallel data.
尚、第3図に示すパターン検出部1のF. F回路1
〜F, F回路n+1は、代表した1列を示すもので
ある。Incidentally, F. of the pattern detection section 1 shown in FIG. F circuit 1
~F, F circuit n+1 shows one representative column.
次に、並列に並べたF.F回路1〜F, F回路n+
lのN通りのデータパターン出力の内データパターンが
全て同期ビットで一致した時に出力される一致パルスを
取り出すためのn個のゲート回路G1〜Gnを具備して
いる。Next, F. F circuit 1 to F, F circuit n+
The device is equipped with n gate circuits G1 to Gn for extracting a matching pulse output when all of the data patterns among the N data pattern outputs match in synchronization bits.
又、同期保護部3は、n個のゲート回路G1〜Gnから
取り出されたN個の一致パルスにてN並列のデータの同
期保護を確立するためのn個の同期保護回路#l〜同期
保護回路#nと、同期保護部3のn個の出力をゲーティ
ングするゲート回路33とを具備しており、
タイミング作成部4はn個のゲート回路G1〜Onから
の出力の論理和を取る論理和回路(以下OR回路と称す
る)41と、図示省略したクロック発生器等から出力さ
れるクロックCLKをカウントするフレームカウンタ4
2と、OR回路41の出力とフレームカウンタ42の出
力との一致/不一致を検出する不一致検出回路43と、
同期保護部3内ゲート回路33の出力とクロックCLK
とを論理積する論理積回路(以下AND回路と称する)
44とを具備している。Further, the synchronization protection unit 3 includes n synchronization protection circuits #l to synchronization protection for establishing synchronization protection of N parallel data using N coincidence pulses taken out from n gate circuits G1 to Gn. It is equipped with a circuit #n and a gate circuit 33 for gating the n outputs of the synchronization protection section 3, and the timing generation section 4 has a logic that takes the logical sum of the outputs from the n gate circuits G1 to On. A sum circuit (hereinafter referred to as an OR circuit) 41 and a frame counter 4 that counts a clock CLK output from a clock generator (not shown) or the like.
2, a mismatch detection circuit 43 that detects coincidence/mismatch between the output of the OR circuit 41 and the output of the frame counter 42;
Output of gate circuit 33 in synchronization protection section 3 and clock CLK
An AND circuit (hereinafter referred to as an AND circuit) that ANDs the
44.
尚、上述しているパラレルデータ数Nは、本例ではN=
8とした場合とする。Note that the number N of parallel data mentioned above is N=
In this case, it is set to 8.
第4図はFSYNC3 0 0を高速モジュールの一部
に用いた時の構成を示す。FIG. 4 shows a configuration in which FSYNC300 is used as part of a high-speed module.
即ち、FSFNC300を例えば光ケーブル(a)を通
じて伝送される多重化されたシリアルデータをパラレル
データに変換し、その同期を取り多重化されたデータを
複数のパラレルデータに分離して使用する高速モジュー
ルの1つの例を示し、その構成は光ケーブル(a)を介
して伝送される光信号を電気信号に変換するO/E変換
部100と、0/E変換部100で電気信号に変換され
たシリアルデータを例えば8列のパラレルデータに変換
するS/P変換部200及び第3図に示すFSFNC3
0 0と、
スクランブルが施されているデータイデスクランブルす
るDSRB400と、
多重化されている8列のパラレルデータを3つの8列の
パラレルデータに分離するDMUX500とを具備して
いる。That is, the FSFNC300 is one of the high-speed modules that converts multiplexed serial data transmitted through an optical cable (a) into parallel data, synchronizes the data, and separates the multiplexed data into a plurality of parallel data. The configuration includes an O/E converter 100 that converts an optical signal transmitted via an optical cable (a) into an electrical signal, and a serial data converter 100 that converts an optical signal into an electrical signal. For example, an S/P converter 200 that converts into 8 columns of parallel data and an FSFNC 3 shown in FIG.
00, a DSRB 400 that descrambles scrambled data, and a DMUX 500 that separates multiplexed 8-column parallel data into three 8-column parallel data.
次に、第5図はFSYNC3 0 0に入力するパラレ
ルデータをシリアルデータから分離した例を示し、第5
図(A)はS/P変換部200へ入力するシリアルデー
タのフォーマットを示し、図中の符号A−Hはデータビ
ットを示し、それぞれ1ビットからなっている。Next, FIG. 5 shows an example in which parallel data input to FSYNC300 is separated from serial data.
Figure (A) shows the format of serial data input to the S/P converter 200, and symbols A to H in the figure represent data bits, each consisting of one bit.
このシリアルデータをS/P変換部200にて第5図(
B)に示すように8列のパラレルデータに変換し、1つ
のパターンとしてFSFNC300へ送出する。This serial data is processed by the S/P converter 200 as shown in FIG.
As shown in B), it is converted into eight columns of parallel data and sent to the FSFNC 300 as one pattern.
第5図(B)(1)〜(3)は8列のパラレルデータパ
ターンに変換された時の例であり、符号(ハ)〜[有]
)“は8列のパラレルデータパターンに変換された時の
各位相ポイントを示す。FIG. 5(B) (1) to (3) are examples when converted to an 8-column parallel data pattern, and symbols (C) to [Yes]
)" indicates each phase point when converted into an 8-column parallel data pattern.
例えば、(b)位相ポイントではAデータビットから順
番にHデータビットと8列のパラレルデータに変換され
た例であり、これを正常なデータパターン例とする。For example, at the phase point (b), the A data bit is sequentially converted into H data bits and 8 columns of parallel data, and this is an example of a normal data pattern.
又、(b)′位相ポイントではAデータビットが8列目
にあり、次の位相の1列目がBデータビット2列目がC
データビットと続いているデータパターン例であり、し
)″位相ポイントは7列目がAデータビットでBデータ
ビットが8列目,次の位相の1列目がCデータビットに
なっているデータパターン例である。Also, at the (b)' phase point, the A data bit is in the 8th column, and the 1st column of the next phase is the B data bit, and the 2nd column is C.
This is an example of a data pattern that continues with data bits, and the phase point is data where the 7th column is the A data bit, the B data bit is in the 8th column, and the 1st column of the next phase is the C data bit. This is an example of a pattern.
FSFNC300ではこの位相ポイントにて8列のデー
タパターンが全て同期ビットの場合を検出してデータの
同期を確立させるものである。尚、本例では同期ビット
が32ビットで構成されているものとする。The FSFNC 300 establishes data synchronization by detecting the case where all eight columns of data patterns are synchronous bits at this phase point. In this example, it is assumed that the synchronization bit is composed of 32 bits.
即ち、パターン検出部1で8通りのデータパターンの内
8列のデータパターンの全てが同期ビット(例えば、“
11110110”の同期パターンで表示される)であ
るデータパターンを検出する。That is, in the pattern detection unit 1, all eight columns of data patterns out of eight data patterns have synchronization bits (for example, "
11110110'') is detected.
そしてそのデータパターンが例えば、1列目がAデータ
ビットから順次A′データビット,Aデータビットと繰
り返し、2列目がBデータビッ1−, B’データビ
ット.Bデータビットの繰り返し、8列目がHデータビ
ッl−, H’データビット,Hデータビットの繰り
返しである(ロ)位相ポイントが正常なデータパターン
の位相で同期状態にあるものとする。The data pattern is, for example, the first column repeats A data bit, A' data bit, A data bit sequentially, and the second column repeats B data bit 1-, B' data bit, and so on. It is assumed that the B data bit is repeated, and the 8th column is the H data bit l-, H' data bit, and H data bit are repeated.
テ
次に、パターン検出部1では例えば、第4図( B )
(1)のようなし)位相ポイントでの8通りの繰り返
し位相ポイントにおけるデータパターンが全て同期ビッ
トで一致している場合、8通りのデータパターンにおけ
る一致パルスをゲート01〜G8で取り出し、そのデー
タパターンの同期確立を対応する同期保護回路#1〜同
期保護回路#8で図る。Next, in the pattern detection section 1, for example, as shown in FIG.
(1)) 8 repetitions at phase points If the data patterns at the phase points all match in synchronization bits, the matching pulses at the 8 data patterns are extracted by gates 01 to G8, and the data pattern Establishment of synchronization is attempted by corresponding synchronization protection circuits #1 to #8.
そして、同期保護回路#l〜同期保護回路#8の保護処
理の結果を各位相ポイントにおけるデータのチャネル入
替えを行うチャネル入替部5の制御信号として送出する
。Then, the results of the protection processing of the synchronization protection circuits #l to #8 are sent out as a control signal to the channel switching section 5 that switches channels of data at each phase point.
尚、各同期保護回路#1〜同期保護回路#8において同
期保護を取るタイミングは、ゲートG1〜G8から一致
パルスを取りしたタイミングと図示省略した例えばクロ
ック発生器からのクロックCLKを計数してその計数値
をフレームカウンタ42から出力した時のタイミングが
一致した時とする。The timing for taking synchronization protection in each synchronization protection circuit #1 to synchronization protection circuit #8 is determined by counting the timing when a coincidence pulse is taken from the gates G1 to G8 and the clock CLK from a clock generator (not shown), for example. It is assumed that the timing when the count value is output from the frame counter 42 matches.
又、各同期保護回路#1〜同期保護回路#8における同
期保護の結果を出力している時はゲート回路31を介し
てAND回路44をクロックCLKが通過することを一
時的に阻止する。Further, when outputting the results of the synchronization protection in each of the synchronization protection circuits #1 to #8, the clock CLK is temporarily blocked from passing through the AND circuit 44 via the gate circuit 31.
更に、各同期保護回路#1〜同期保護回路#8における
同期保護の結果、第5図( B ) (1)の(b)位
相ポイントのデータパターンのように同期が取れている
時はゼロ信号を出力するようにし、この時はチャネル入
替部5における8列のパラレルデータの入替えを行わず
に出力する。Furthermore, as a result of synchronization protection in each synchronization protection circuit #1 to synchronization protection circuit #8, when synchronization is achieved as shown in the data pattern of the phase point (b) in Figure 5 (B) (1), a zero signal is generated. At this time, the channel switching unit 5 outputs the eight columns of parallel data without switching them.
一方、第5図( B ) (2)や(3)のような位相
ポイント(b)’,(b)″を有するデータパターンの
ように非同期状態の時にはCH入替部5を同期保護の結
果を制御信号とし、8列のパラレルデータの入れ替えを
パターン検部1の最終列のF.F回路n+1からのN=
8列の出力と、その直前のF, F回路nからの(N
−1)=7列の出力との間で行う。On the other hand, when the data pattern is in an asynchronous state such as the data pattern having phase points (b)' and (b)'' as shown in FIG. N= from the F.F circuit n+1 of the last column of the pattern detection section 1 is used as a control signal to replace the parallel data of 8 columns.
The output of 8 columns and (N
-1) = 7 column output.
例えば、第5図( B ’) (2), (3)のよう
な位相ポイン}(b)’,(b)“で8列のデータに分
離された場合は、同期はずれ状態にあるとして各同期保
護回路#1〜同期保護回路#8で同期確立を図った後チ
ャネル入替部5ではF, F回路n+1における8列
のデータとF,F回路nにおける7列のデー夕を用いて
8列のデータを、第5図( B ) (2), (3)
のデータパターンから第5図(C)のデータパターン出
力のように入れ替えする。For example, if the data is separated into 8 columns at the phase points }(b)' and (b)'' as shown in Figure 5 (B') (2) and (3), each column is assumed to be out of synchronization. After synchronization is established in synchronization protection circuit #1 to synchronization protection circuit #8, the channel switching unit 5 converts 8 columns using the 8 columns of data in F, F circuit n+1 and the 7 columns of data in F, F circuit n+1. The data in Figure 5 (B) (2), (3)
The data pattern is replaced as shown in the data pattern output shown in FIG. 5(C).
即ち、第5図( B ) (2)の場合8列目のAデー
タビットを1列目になるようにし、2列目をBデータビ
ットに,3列目をCデータビットとなるように入れ替え
、第5図(3)の場合7列目のAデータビットを1列目
になるようにし、8列目のBデータビットを2列目にな
るようにし、次の位相の1列目のCデータビットを3列
目になるように入れ替えする。That is, in the case of Figure 5 (B) (2), the A data bit in the 8th column is placed in the 1st column, the 2nd column is replaced with the B data bit, and the 3rd column is replaced with the C data bit. , in the case of Fig. 5 (3), the A data bit in the 7th column is placed in the 1st column, the B data bit in the 8th column is placed in the 2nd column, and the C data bit in the 1st column of the next phase is placed in the 1st column. Swap the data bits so that they are in the third column.
これらの入れ替えは、上述のように各同期保護回路#1
〜同期保護回路#8で同期を確立した後後方保護を取り
出力される信号を制御信号として行われる。These replacements are performed for each synchronization protection circuit #1 as described above.
After synchronization is established in synchronization protection circuit #8, backward protection is performed and the output signal is used as a control signal.
第3図で説明したような従来例の回路構成、即ち、シリ
アルデータをN列のパラレルデータに変換した時のN通
りのデータパターンを検出してそれぞれにおける同期検
出を行う場合、N通りのデータパターンのそれぞれに同
期保護回路を必要とするため、パラレルデータ数が多く
なればなる程その回路規模が大きくなり、小型化された
装置に実装することが困難な場合が発生する。In the conventional circuit configuration as explained in FIG. 3, that is, when serial data is converted into N columns of parallel data, N types of data patterns are detected and synchronization is detected for each. Since a synchronization protection circuit is required for each pattern, the larger the number of parallel data, the larger the circuit scale, which may make it difficult to implement in a miniaturized device.
又、非同期状態が検出された場合は同期状態になるよう
な同期確立を図り、その保護を取った後(後方保護後)
にデータを正規のデータパターン状態に入れ替えするた
め、その処理が後方保護段数分長くなると言う問題点等
がある。Also, if an asynchronous state is detected, try to establish synchronization so that it becomes a synchronous state, and after taking that protection (after backward protection)
Since the data is replaced with the normal data pattern state, there is a problem that the processing becomes longer by the number of backward protection stages.
本発明は、複数並列のデータの同期確立を簡易な回路構
成で効率良く行うことが出来る同期検出回路を提供する
ことを目的とする。An object of the present invention is to provide a synchronization detection circuit that can efficiently establish synchronization of a plurality of parallel data with a simple circuit configuration.
第1図は本発明の同期検出回路の原理を説明する図を示
す。FIG. 1 shows a diagram explaining the principle of the synchronization detection circuit of the present invention.
第1図に示す本発明の同期検出回路の原理図は、第3図
で説明したパターン検出部1,タイミング作成部4及び
チャネル入替部5に、ラッチ手段20と、保護手段30
と、条件設定手段60とを設け構成したものであり、
上述のラッチ手段20は、パターン検出部1で検出した
N通りのデータパターンのデータ全てが同期ビットで一
致した時出力されるN通りの一致パルスを順次ラッチす
るものであり、
保護手段30は、パターン検出部1で検出したN通りの
一致パルスをラッチ手段20の出力により順次選択し、
それぞれの一致パルスに基づきN並列のデータの同期保
護を取るものであり、条件設定手段60は、保護千段3
0が同期保護を取る時のタイミングに基づきチャネル入
替部5でのN並列データの入れ替えを制御する信号を送
出するための条件を設定するものであり、かかる手段を
具備することにより本課題を解決するための手段とする
。The principle diagram of the synchronization detection circuit of the present invention shown in FIG.
and a condition setting means 60. The latch means 20 described above has N types of data that are output when all the data of the N types of data patterns detected by the pattern detection section 1 match with the synchronization bits. The protection means 30 sequentially selects the N types of coincidence pulses detected by the pattern detection section 1 by the output of the latching means 20, and
The condition setting means 60 protects the synchronization of N parallel data based on each matching pulse.
This is to set the conditions for sending out a signal that controls the switching of N parallel data in the channel switching unit 5 based on the timing when 0 takes synchronization protection, and by providing such means, this problem is solved. as a means to do so.
[作 用]
パターン検出部1で検出されたデータパターンに基づき
出力される一致パルスをラッチ手段20にラッチし、そ
のラッチ出力により1つの保護手段30で順次選択した
一致パルスに基づきパラレルデータの同期保護を取る。[Function] The matching pulse output based on the data pattern detected by the pattern detection section 1 is latched in the latch means 20, and the synchronization of parallel data is performed based on the matching pulses sequentially selected by one protection means 30 using the latch output. Take protection.
そして、1つの保護手段30におけ後方保護1段目のタ
イミングでN並列のデータパターンの入れ替えを行うた
めの制御信号をチャネル入替部5に出力する。Then, a control signal for exchanging N parallel data patterns at the timing of the first stage of backward protection in one protection means 30 is output to the channel exchanging unit 5.
この保護手段30におけ後方保護1段目でのチャネル入
替部5におけるN並列のデータパターンの入れ替えを行
うための制御信号の出力条件は条件設定手段60で設定
して出力する。The output conditions of the control signal for switching the N parallel data patterns in the channel switching unit 5 in the first stage of backward protection in the protection unit 30 are set and outputted by the condition setting unit 60.
このようにN並列のデータのN通りのデータパターンに
対して保護手段30を1つで構成し、しかもN並列のデ
ータの入れ替えを最初の同期確立時に行うことにより、
回路規模が並列データ数に比例して増加することなく、
しかも効率的に並列のデータの入れ替えを行うことが可
能となる。In this way, by configuring one protection means 30 for N types of data patterns of N parallel data, and replacing the N parallel data at the time of first establishing synchronization,
The circuit size does not increase in proportion to the number of parallel data.
Moreover, it becomes possible to efficiently exchange data in parallel.
以下本発明の要旨を第2図に示す実施例により具体的に
説明する。The gist of the present invention will be specifically explained below with reference to an embodiment shown in FIG.
第2図は本発明の同期検出回路の実施例を説明する図を
示す。尚、全図を通じて同一符号は同一対象物を示す。FIG. 2 shows a diagram illustrating an embodiment of the synchronization detection circuit of the present invention. Note that the same reference numerals indicate the same objects throughout the figures.
第2図における同期検出回路300は第3図で説明した
のと同様にシリアルデータを8列のパラレルデータに分
離するものであり、その構成は第1図で説明したラッチ
手段20としてラッチ部20a、保護手段30として同
期保護部30a、条件設定手段40として条件設定部6
0aから構成した例である。The synchronization detection circuit 300 in FIG. 2 separates serial data into eight columns of parallel data in the same way as explained in FIG. , a synchronization protection section 30a as the protection means 30, and a condition setting section 6 as the condition setting section 40.
This is an example configured from 0a.
尚、第2図の本実施例は上述の機能ブロック20a,3
0a,60aの他に第3図で説明したのと同様な動作を
行うパターン検出部1,タイミング作成部4及びCH入
替部5を具備して構成したものである。Note that the present embodiment shown in FIG.
In addition to 0a and 60a, the pattern detection section 1, timing generation section 4, and CH switching section 5, which perform the same operations as those described in FIG. 3, are provided.
上述のラッチ部20aはパターン検出部1で検出し出力
される8通のデータパターン(n=8とした場合の例)
の内8列のデータ全てが同期ビットで一致している場合
に出力される8通りの一致パルスを8つのゲート回路0
1〜G8を介して出力されるものをそれぞれラッチする
8つのF.F回路にて構成したものであり、第2図はそ
の代表のF.F回路を示すものである。The above-mentioned latch unit 20a detects and outputs eight data patterns by the pattern detection unit 1 (an example when n=8).
The 8 types of coincidence pulses that are output when all 8 columns of data match with the synchronization bits are sent to 8 gate circuits.
Eight F.1 to G8 latches outputs respectively. It is composed of F.F circuits, and FIG. 2 shows a representative F.F. This shows the F circuit.
又、同期保護部30aは各ゲート回路01〜G8から取
り出される一致パルスのうち1つを順次選択するセレク
タ(SEL)31と、セレクタ(SEL)3 1で選択
した一致パルスによりパラレルデータの同期保護を取る
同期保護回路32とからなり、
条件設定部60aは同期保護回路32の結果出力を後方
保護1段目とするための条件設定を論理演算するAND
@路から構成した実施例である。The synchronization protection unit 30a also includes a selector (SEL) 31 that sequentially selects one of the coincidence pulses taken out from each gate circuit 01 to G8, and synchronization protection of parallel data using the coincidence pulse selected by the selector (SEL) 31. The condition setting unit 60a performs an AND operation to set the conditions for making the result output of the synchronization protection circuit 32 the first stage of backward protection.
This is an example constructed from @ roads.
尚、第2図の実施例のタイミング作成部4も図示省略し
たクロック発生器からのクロックCLKをタイミング信
号として用いるものとする。It is assumed that the timing generator 4 in the embodiment shown in FIG. 2 also uses the clock CLK from a clock generator (not shown) as a timing signal.
ラッチ部20aはゲートG1〜G8を通じて出力される
パターン検出部1からの8通りの一致パルスの出力をそ
れぞれラッチし、このラッチ出力により同期保護部30
a内セレクタ(SEL)3■は例えばゲー1−Glの出
力からゲー1−G8と順次1つずつ選択する。The latch unit 20a latches eight types of coincidence pulses outputted from the pattern detection unit 1 through the gates G1 to G8, and uses this latch output to cause the synchronization protection unit 30 to
The internal selector (SEL) 3■ selects the outputs of the gates 1-Gl, one by one, sequentially from the outputs of the gates 1-G1, for example.
そして、セレクタ(SEL)31で選択した一致パルス
に基づき同期保護回路32でパラレルデータの同期保護
を取る。Then, based on the coincidence pulse selected by the selector (SEL) 31, the synchronization protection circuit 32 protects the parallel data from synchronization.
尚、この同期保護を取るタイミングは、タイミング検出
部4内不一致検出回路43でパターン検出部1の出力と
クロックCLKをフレームカウンタ42で計数した時の
出力とが一致したことを検出した時の信号による。The timing for taking this synchronization protection is determined by the signal when the mismatch detection circuit 43 in the timing detection section 4 detects that the output of the pattern detection section 1 and the output when the clock CLK is counted by the frame counter 42 match. by.
又、フレームカウンタ42で計数した時の出力は条件設
定部60aをなすAND回路の3つの入力の1つとして
引き込まれ、AND回路の3つの入力のうち他の1つは
同期保護回路32の出力であり、もう1つはゲートG1
〜G8の出力を論理和したOR回路41のインバートさ
れた出力からなり、これにより同期保護回路32におけ
る後方保護1段目で下記のような制御信号を出力する条
件を作る。Further, the output when counted by the frame counter 42 is taken in as one of the three inputs of the AND circuit forming the condition setting section 60a, and the other one of the three inputs of the AND circuit is the output of the synchronization protection circuit 32. and the other is gate G1
It consists of the inverted output of the OR circuit 41 which is the logical sum of the outputs of G8 to G8, thereby creating the conditions for outputting the following control signal at the first stage of backward protection in the synchronization protection circuit 32.
即ち、ラッチ部20aにラッチしているデータを取り出
しセレクタ(SEL)31の選択制御信号とすると共に
、CH入替部5におけるCH入替え制御信号とする。That is, the data latched in the latch section 20a is taken out and used as a selection control signal for the selector (SEL) 31, and also as a CH switching control signal for the CH switching section 5.
尚、CH入替部5において入れ替えするデータパターン
は第3図で説明したのと同一のパターン検出部1の出力
とする。Note that the data pattern to be replaced in the CH replacement section 5 is the output of the same pattern detection section 1 as explained in FIG.
第2図の実施例はパラレルデータに分離する数が多くな
っても、セレクタ(SEL)31で選択する本数を対応
して増加させると共にラッチ部20aをなすF.F回路
数が増加するのみで構成出来る。In the embodiment shown in FIG. 2, even if the number of parallel data to be separated increases, the number selected by the selector (SEL) 31 is correspondingly increased, and the F. It can be constructed by simply increasing the number of F circuits.
又、CH入替部5において入れ替えするタイミングは、
同期保護回路32で後方保護1段目に入れ替えを実施す
ることにより、早期に入れ替え処理が行え、全体的な処
理時間が短縮され効率化することが可能となる。Also, the timing of switching in the CH switching section 5 is as follows:
By performing replacement at the first stage of backward protection in the synchronization protection circuit 32, replacement processing can be performed early, and overall processing time can be shortened and efficiency can be improved.
以上のような本発明によれば、簡易な構成でしかも効率
的な同期確立が図られる同期検出回路を提供することが
出来る。According to the present invention as described above, it is possible to provide a synchronization detection circuit that has a simple configuration and can establish efficient synchronization.
第1図は本発明の同期検出回路の原理を説明する図、
第2図は本発明の同期検出回路の実施例を説明する図、
第3図は椿同期検出回路の従来例を説明する図、第4図
は同期検出回路の使用例を説明する図、第5図はシリア
ルデータからパラレルデータへの分離例を説明する図、
をそれぞれ示す。
図において、
lはパターン検出部、 3.30aは同期保護部、
4はタイミング作成部、 5はCH入替部、20はラッ
チ手段、 20aはラッチ部、30は保護手段
、
31はセレクタ(SEL)、32は同期保護回路、33
はゲート回路、 41はOR回路、42はフレー
ムカウンタ、
43は不一致検出回路、
60は条件設定手段、
をそれぞれ示す。
44はAND回路、
60aは条件設定部、
第1図
第4図
固共且#ボ回路0翁」―列E部已明工ろ凹察3 回
S
(b)″
S
〜
シリアルデータからパラレルデータへの分X9Jを説明
する囲第5図Figure 1 is a diagram explaining the principle of the synchronization detection circuit of the present invention, Figure 2 is a diagram explaining an embodiment of the synchronization detection circuit of the invention, and Figure 3 is a diagram explaining a conventional example of the Tsubaki synchronization detection circuit. , FIG. 4 is a diagram illustrating an example of the use of the synchronization detection circuit, and FIG. 5 is a diagram illustrating an example of separating serial data into parallel data. In the figure, l is a pattern detection section, 3.30a is a synchronization protection section,
4 is a timing generation section, 5 is a CH switching section, 20 is a latch means, 20a is a latch section, 30 is a protection means, 31 is a selector (SEL), 32 is a synchronization protection circuit, 33
41 is a gate circuit, 41 is an OR circuit, 42 is a frame counter, 43 is a mismatch detection circuit, and 60 is a condition setting means. 44 is an AND circuit, and 60a is a condition setting section. Figure 5 explains the minute X9J to
Claims (1)
にて、N並列のパラレルデータに変換した時、データビ
ットを並列に並べる順序に基づきN並列がパラレルデー
タが取るN通りのフレームパターンを検出し、前記N通
りのデータパターンのデータの全てが同期ビットで一致
した時に出力される一致パルスをN通り出力するパター
ン検出部(1)と、 前記N通りの一致パルスに基づきN並列データの同期保
護を取る時のタイミングを作成するタイミング作成部(
4)と、 前記パターン検出部(1)から出力されるN並列のデー
タを同期状態のパターンに入れ替えするチャンネル入替
部(5)とを備えてなる同期検出回路(300)であっ
て、 前記パターン検出部(1)で検出・出力されるN通りの
一致パルスを順次ラッチするラッチ手段(20)と、 前記N通りの一致パルスを前記ラッチ手段(20)の出
力に応じて順次選択し、それぞれの一致パルスに基づき
N並列のデータの同期保護を取る保護手段(30)と、 非同期状態のデータパターンを同期状態のパターンに前
記チャンネル入替部(5)で入れ替えを行うタイミング
を前記保護手段(30)が後方保護1段目を処理した時
点にするための条件を設定する条件設定手段(60)と
を設けたことを特徴とする同期検出回路。[Claims] Serial data to serial/parallel converter (200)
When converting to N-parallel data, N-parallel detects N frame patterns of the parallel data based on the order in which the data bits are arranged in parallel, and all of the data in the N-parallel data patterns are synchronized. a pattern detection unit (1) that outputs N types of matching pulses that are output when bits match; and a timing creation unit (1) that creates timing for taking synchronization protection for N parallel data based on the N types of matching pulses.
4); and a channel switching unit (5) for replacing N parallel data outputted from the pattern detection unit (1) to a synchronous pattern, the synchronization detection circuit (300) comprising: a latch means (20) for sequentially latching the N types of coincidence pulses detected and output by the detection section (1); a protection means (30) that protects the synchronization of N parallel data based on the coincidence pulses of the channel switching unit (5); ) is provided with a condition setting means (60) for setting a condition for setting the time when the first stage of rearward protection is processed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1051208A JPH02230831A (en) | 1989-03-03 | 1989-03-03 | Synchronization detecting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1051208A JPH02230831A (en) | 1989-03-03 | 1989-03-03 | Synchronization detecting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02230831A true JPH02230831A (en) | 1990-09-13 |
Family
ID=12880492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1051208A Pending JPH02230831A (en) | 1989-03-03 | 1989-03-03 | Synchronization detecting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02230831A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5141913A (en) * | 1974-10-07 | 1976-04-08 | Fujitsu Ltd | HEIRETSUGATAFUREEMUDOKIHOSHIKI |
| JPS615641A (en) * | 1984-06-20 | 1986-01-11 | Fujitsu Ltd | Frame synchronizing control system |
-
1989
- 1989-03-03 JP JP1051208A patent/JPH02230831A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5141913A (en) * | 1974-10-07 | 1976-04-08 | Fujitsu Ltd | HEIRETSUGATAFUREEMUDOKIHOSHIKI |
| JPS615641A (en) * | 1984-06-20 | 1986-01-11 | Fujitsu Ltd | Frame synchronizing control system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6393082B1 (en) | Signal synchronism detecting circuit | |
| US5426784A (en) | Serial to parallel data converting circuit | |
| CN111224649B (en) | Fixed time delay circuit of high-speed interface | |
| US7924185B2 (en) | Semiconductor integrated circuit device, pattern detection method and serial-parallel conversion method | |
| JP2744690B2 (en) | Frame synchronization circuit | |
| JP3859268B2 (en) | Pointer processing apparatus in SDH transmission system | |
| JPH02230831A (en) | Synchronization detecting circuit | |
| KR100272945B1 (en) | High speed asynchronous serial to parallel data converter | |
| US6597706B1 (en) | Parity bit extraction and insertion arrangement for a data system | |
| JPH1032555A (en) | Channel selection type separation circuit | |
| JP2671834B2 (en) | Error detection circuit | |
| JP3566342B2 (en) | Parallel operation high-speed counter device | |
| JP4945800B2 (en) | Demultiplexer circuit | |
| JPH0398346A (en) | Cell synchronization circuit | |
| JP2592685B2 (en) | Cell synchronization circuit | |
| JPH08307405A (en) | Frame synchronism detection device | |
| CN119743151A (en) | A multi-mode serial-to-parallel conversion circuit and deserializer | |
| JP2727927B2 (en) | Interface device | |
| JP2546286B2 (en) | Parallel synchronous circuit | |
| JP3038948B2 (en) | Frame synchronization circuit | |
| KR100298844B1 (en) | A device of reframing for stm-1 and stm-4 | |
| KR950005611B1 (en) | Optical cable tv system | |
| KR100376319B1 (en) | Apparatus for scrambling for 4 channel STM-1 and 1 channel STM-4 | |
| SU983705A1 (en) | Device for binary number arithmetic and logic processing | |
| JP2580641B2 (en) | Block synchronization circuit |