JPH06164571A - Synchronism detection circuit - Google Patents

Synchronism detection circuit

Info

Publication number
JPH06164571A
JPH06164571A JP4306696A JP30669692A JPH06164571A JP H06164571 A JPH06164571 A JP H06164571A JP 4306696 A JP4306696 A JP 4306696A JP 30669692 A JP30669692 A JP 30669692A JP H06164571 A JPH06164571 A JP H06164571A
Authority
JP
Japan
Prior art keywords
bits
latch means
gates
circuit
signal
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
JP4306696A
Other languages
Japanese (ja)
Inventor
Kazuhiko Nakamura
和彦 中村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP4306696A priority Critical patent/JPH06164571A/en
Publication of JPH06164571A publication Critical patent/JPH06164571A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To establish word synchronism from parallel data and parallel clocks before low speed word synchronism by taking the AND of the storage output of the presence or absence of the realization of an auxiliary code relation and the corresponding bits of exclusive OR gates. CONSTITUTION:A serial transmission signal is converted into a parallel signal A without being word-synchronized in an S/P conversion circuit, and it is inputted to a synchronism detection circuit. The signal A is latched by the parallel clock B synchronized with parallel data in the latch means 1, and it is set to be the signal of the (K+2) bit of C1-Ck+1. The signals C0-Ck+1 are inputted to the (K+1)-number of exclusive OR gates 2 recognizing the auxiliary relation of the adjacent bits, and the result is supplied to the (K+1)-number of latch means 4 through AND gates 3. All the bits of the means 4 are preset to '1' by a timing signal. Thus, a pair of bits where the auxiliary code relation is continuously realized for a prescribed period are detected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル信号の補符号
による符号変換を用いたシリアル伝送における同期検出
回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronization detection circuit in serial transmission using code conversion of digital signals by complementary codes.

【0002】[0002]

【従来の技術】シリアルデジタル伝送方式に於いては、
長期間の同符号連続を防止するために種々の方法が用い
られており、その一つとして、元のデータの間にその補
符号を挿入する方法が知られている。この補符号を利用
した伝送方式に於いては、受信側にて補符号を利用して
ワードの同期を確立する必要があるが、そのための方法
としては図4に示すように、シリアルデータSをシフト
レジスタ1に入力し、その(L−1)ビット離れたビッ
トの補符号関係を排他的論理和ゲート3で(K+1)ク
ロック毎に監視する方法がある。なお、図4において、
2、6、9、12はゲート回路、4は1/(K+1)分
周回路、7は1/M分周カウンタ、8は1/P分周カウ
ンタ、10、13はフリップフロップ回路、11はシフ
トレジスタである(特開昭62−48144号公報参
照)。
2. Description of the Related Art In the serial digital transmission system,
Various methods are used to prevent the same code continuation for a long period of time, and as one of them, a method of inserting the complementary code between original data is known. In the transmission method using the complementary code, it is necessary for the receiving side to establish the word synchronization by using the complementary code. As a method for this, as shown in FIG. There is a method of inputting to the shift register 1 and monitoring the complementary sign relation of the bits separated by (L-1) bits at every (K + 1) clock by the exclusive OR gate 3. In addition, in FIG.
2, 6, 9, and 12 are gate circuits, 4 is a 1 / (K + 1) frequency dividing circuit, 7 is a 1 / M frequency dividing counter, 8 is a 1 / P frequency dividing counter, 10 and 13 are flip-flop circuits, and 11 is It is a shift register (see Japanese Patent Laid-Open No. 62-48144).

【0003】[0003]

【発明が解決しようとする課題】しかし、この方法では
同期回路にシリアルデータ及びシリアルクロックを扱う
部分があるため、同期回路のLSI化を考えた場合、非
常に高速のプロセスを使用することになり、高価でかつ
消費電力が大きなLSIとなってしまう。特に同期保護
部分にて複雑なアルゴリズムを採用しようとすると、こ
の傾向が顕著である。
However, in this method, since the synchronous circuit has a portion for handling serial data and serial clock, when considering the LSI of the synchronous circuit, a very high speed process is used. However, the LSI is expensive and consumes a large amount of power. This tendency is particularly noticeable when a complex algorithm is adopted in the synchronization protection part.

【0004】[0004]

【課題を解決するための手段】このような問題を解決す
るために本発明では、ワード同期前のパラレルデータを
ラッチする第一のラッチ手段と、前記第一のラッチ手段
の出力及び前記パラレルデータのうちシリアルデータ上
で連続な(K+1+L)ビットを取り出しこれらのうち
の(L−1)ビット離れたビットどうしの補符号関係を
調べる(K+1)個の排他的論理和ゲートと、補符号関
係の成立の有無を記憶する(K+1)ビットの第二のラ
ッチ手段と、この第二のラッチ手段の出力と前記排他的
論理和ゲートの対応ビット同士の論理積をとり前記第二
のラッチ手段の入力とする(K+1)個のANDゲート
と、前記第二のラッチ手段のすべてのビットを1にセッ
トするプリセット手段とを有する。
In order to solve such a problem, according to the present invention, first latch means for latching parallel data before word synchronization, an output of the first latch means and the parallel data are provided. Out of consecutive (K + 1 + L) bits on the serial data, the (K + 1) exclusive OR gates for checking the complementary sign relation of the bits separated from each other by (L-1) bits and the complementary sign relation A second (K + 1) -bit latch means for storing the presence / absence of the condition, and a logical product of the output of the second latch means and the corresponding bits of the exclusive OR gate is input to the second latch means. (K + 1) AND gates and preset means for setting all the bits of the second latch means to 1.

【0005】[0005]

【作用】上記の手段により、本発明によれば直接高速の
シリアルクロック及びシリアルデータを扱うこと無く、
低速なワード同期前のパラレルデータとパラレルクロッ
クからワード同期を確立することができる。
By the above means, according to the present invention, the high-speed serial clock and serial data are not directly handled,
It is possible to establish word synchronization from low-speed parallel data before word synchronization and a parallel clock.

【0006】[0006]

【実施例】以下、本発明の一実施例を示す。L=1、す
なわち最下位ビットの補符号をその前に挿入して伝送し
た場合の同期検出回路の実施例を図1に示す。この同期
検出回路を使用した同期装置全体の概略ブロック図を図
2に、また、一例としてK=6,L=1の場合の同期装
置の各信号内容を図3に示す。
EXAMPLE An example of the present invention will be described below. FIG. 1 shows an embodiment of the synchronization detection circuit in the case where L = 1, that is, the complementary code of the least significant bit is inserted before it and transmitted. FIG. 2 shows a schematic block diagram of the entire synchronizer using this synchronization detecting circuit, and FIG. 3 shows the signal contents of the synchronizer when K = 6 and L = 1 as an example.

【0007】シリアル伝送信号PはS/P変換回路10
にてワード同期をとられること無く(K+1)ビットの
パラレル信号Aに変換され,この信号は同期検出回路1
1に入力される。図1において、同期検出回路11内で
は、このパラレル信号Aはラッチ手段1にてパラレルデ
ータに同期したパラレルクロックBのタイミングでラッ
チされ、これによりC0〜Ck+1の(K+2)ビットの信
号が得られる。なお、同期検出回路1はラッチ手段1
a、1bにより構成される。このC0〜Ck+1の信号は、
となり同士のビットの補数関係を確認する(K+1)個
の排他的論理和ゲート2に入力され、その結果は(K+
1)個の論理積ゲート3を介して(K+1)個のラッチ
手段4でラッチされる。
The serial transmission signal P is sent to the S / P conversion circuit 10
Is converted into a (K + 1) -bit parallel signal A without word synchronization at
Input to 1. In FIG. 1, in the synchronization detection circuit 11, the parallel signal A is latched by the latch means 1 at the timing of the parallel clock B synchronized with the parallel data, whereby the (K + 2) bits of C 0 to C k + 1 are latched. The signal is obtained. The synchronization detection circuit 1 is a latch means 1.
It is composed of a and 1b. The signals C 0 to C k + 1 are
It is input to (K + 1) exclusive-OR gates 2 for confirming the complementary relationship of adjacent bits, and the result is (K +).
It is latched by (K + 1) latch means 4 via 1) AND gates 3.

【0008】タイミング回路5では、パラレルクロック
BのN周期に1回のタイミング信号Fを生成し、このタ
イミング信号Fによってラッチ手段4のすべてのビット
はセットされる。その後、このラッチ手段4の出力と補
符号関係を確認する排他的論理和ゲート2の出力との論
理積がパラレルクロックごとにラッチ手段4でラッチさ
れるので、次のタイミング信号Fのタイミングの直前で
はパラレルクロックN周期の間、常に補符号関係が成り
立っていたビット対に対応するラッチ手段4の出力のみ
が1となり、他の出力は0となる。
The timing circuit 5 generates the timing signal F once every N cycles of the parallel clock B, and the timing signal F sets all the bits of the latch means 4. After that, since the logical product of the output of the latch means 4 and the output of the exclusive OR gate 2 for confirming the complementary sign relation is latched by the latch means 4 every parallel clock, immediately before the timing of the next timing signal F. Then, during the N cycles of the parallel clock, only the output of the latch means 4 corresponding to the bit pair for which the complementary sign relationship is always established becomes 1 and the other outputs become 0.

【0009】したがって、このラッチ手段4の出力をタ
イミング信号Fの直前のタイミングでラッチするラッチ
手段6の補符号位置検出出力Dを用いることにより、パ
ラレルデータ中の補符号位置を知ることができるので、
同期保護回路12にて補符号位置検出出力Dの同期保護
を行ったのち、バレルシフタ13でワード同期を回復し
ワード同期のとれたパラレルデータTを得ることができ
る。
Therefore, the complementary code position in the parallel data can be known by using the complementary code position detection output D of the latch means 6 which latches the output of the latch means 4 at the timing immediately before the timing signal F. ,
After the synchronization protection circuit 12 performs the synchronization protection of the complementary code position detection output D, the barrel shifter 13 restores the word synchronization and the parallel data T with the word synchronization can be obtained.

【0010】[0010]

【発明の効果】以上のように、本発明によれば直接高速
のシリアルクロック及びシリアルデータを扱うこと無
く、低速なワード同期前のパラレルデータとパラレルク
ロックからワード同期を確立することができる。したが
って、LSI化を考えた場合、S/P変換部分のみ高速
なプロセスを使用すれば良く、同期検出回路を含めた他
のブロックをすべて低速のプロセスで実現できる。この
ため、安価で低消費電力の同期装置を構成することがで
きる。また、同期回復後のパラレル信号は通常さらに多
重化分離などの別の処理を受けることが多いが、これら
の処理を行うLSIに同期回路部分を含めてしまうこと
も可能となる。
As described above, according to the present invention, the word synchronization can be established from the parallel data and the parallel clock before the low-speed word synchronization without directly handling the high-speed serial clock and serial data. Therefore, when considering an LSI, it is sufficient to use a high-speed process only for the S / P conversion portion, and all the other blocks including the synchronization detection circuit can be realized by a low-speed process. Therefore, an inexpensive and low power consumption synchronizer can be configured. Further, the parallel signal after recovery of synchronization is usually subjected to another processing such as multiplexing and demultiplexing, and it is possible to include a synchronous circuit portion in an LSI that performs these processing.

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

【図1】本発明において最下位ビットの補符号をその前
に挿入して伝送した場合の同期検出回路の一実施例を示
す構成図
FIG. 1 is a configuration diagram showing an embodiment of a synchronization detection circuit in the case where a complementary code of a least significant bit is inserted before and transmitted in the present invention.

【図2】本発明の同期検出回路を用いた同期装置のブロ
ック図
FIG. 2 is a block diagram of a synchronization device using the synchronization detection circuit of the present invention.

【図3】図2に示した同期装置の各部信号の説明図FIG. 3 is an explanatory diagram of signals of respective parts of the synchronizer shown in FIG.

【図4】従来の同期検出回路の一例を示す構成図FIG. 4 is a configuration diagram showing an example of a conventional synchronization detection circuit.

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

1 ラッチ手段 2 排他的論理和ゲート 3 論理積ゲート 4 ラッチ手段 5 タイミング発生回路 6 ラッチ手段 10 S/P変換手段 11 同期検出回路 12 同期保護回路 13 バレルシフタ DESCRIPTION OF SYMBOLS 1 latch means 2 exclusive OR gate 3 AND gate 4 latch means 5 timing generation circuit 6 latch means 10 S / P conversion means 11 sync detection circuit 12 sync protection circuit 13 barrel shifter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】Kビット(Kは1以上の整数)を1ワード
とし、その第L番目(Lは1以上でK以下の整数)の情
報の補符号を挿入してシリアルに変換し伝送する伝送方
式において、 ワード同期前のパラレルデータをラッチする第一のラッ
チ手段と、前記第一のラッチ手段の出力及び前記パラレ
ルデータのうちシリアルデータ上で連続な(K+1+
L)ビットを取り出しこれらの内の(L−1)ビット離
れたビットどうしの補符号関係を調べる(K+1)個の
排他的論理和ゲートと、補符号関係の成立の有無を記憶
する(K+1)ビットの第二のラッチ手段と、この第二
のラッチ手段の出力と前記排他的論理和ゲートの対応ビ
ット同士の論理積をとり前記第二のラッチ手段の入力と
する(K+1)個のANDゲートと、前記第二のラッチ
手段のすべてのビットを1にセットするプリセット手段
と、前記プリセット手段に一定期間毎にプリセットタイ
ミング信号を供給するタイミング回路を有し、前記一定
期間ごとに前記第二のラッチ手段のすべてのビットを1
にセットすることにより、前記一定期間連続して補符号
関係が成立するビット対を検出することを特徴とする同
期検出回路。
1. A K-bit (K is an integer of 1 or more) is defined as one word, and a complementary code of the L-th (L is an integer of 1 or more and K or less) information is inserted and serially converted and transmitted. In the transmission method, first latch means for latching parallel data before word synchronization, continuous (K + 1 +) on serial data among the output of the first latch means and the parallel data.
L) bits are taken out and (K + 1) exclusive-OR gates for checking the complementary sign relation of the bits separated from each other by (L-1) bits and the existence of the complementary sign relation are stored (K + 1). The second latch means for the bit, and (K + 1) AND gates which take the logical product of the output of the second latch means and the corresponding bits of the exclusive OR gate and are the input of the second latch means. A preset circuit for setting all bits of the second latch circuit to 1; and a timing circuit for supplying a preset timing signal to the preset circuit at regular intervals. 1 for every bit in the latch means
The sync detecting circuit detects a bit pair for which a complementary sign relationship is established continuously for a certain period of time by setting to.
JP4306696A 1992-11-17 1992-11-17 Synchronism detection circuit Pending JPH06164571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4306696A JPH06164571A (en) 1992-11-17 1992-11-17 Synchronism detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4306696A JPH06164571A (en) 1992-11-17 1992-11-17 Synchronism detection circuit

Publications (1)

Publication Number Publication Date
JPH06164571A true JPH06164571A (en) 1994-06-10

Family

ID=17960211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4306696A Pending JPH06164571A (en) 1992-11-17 1992-11-17 Synchronism detection circuit

Country Status (1)

Country Link
JP (1) JPH06164571A (en)

Similar Documents

Publication Publication Date Title
US4965884A (en) Data alignment method and apparatus
JPH05304519A (en) Frame synchronization circuit
JPH0748725B2 (en) Frame synchronization circuit
JPH06164571A (en) Synchronism detection circuit
KR100270335B1 (en) Frame synchronization apparatus for rounding synchronization protection information
JPH10247919A (en) Atm cell synchronization circuit
JPS60235549A (en) C-bit synchronism system of nb1c code signal
JP2679607B2 (en) Pointer processing circuit
KR960000541B1 (en) Bit synchronization circuit having passive optical network for data transmission
KR930007593Y1 (en) Control signal oscillating circuit for data input & output between apparatus
JPH01180141A (en) Frame synchronization protection circuit
JPH0730534A (en) Frame synchronization circuit
JPH0548588A (en) Parity block synchronizing system
JPH11187006A (en) Pcm digital communication equipment
JPH0220937A (en) Synchronous detecting circuit
JPS636942A (en) Data receiving circuit
JPH0399540A (en) Synchronizing clock circuit
JPS6352521A (en) Cmi decoding circuit
JPH0329437A (en) Frame synchronization circuit
JPH01149542A (en) Synchronizing step-out detecting circuit
JPH04165832A (en) Data transferring device
JPS61131655A (en) Service code insertion control system
JPS62143541A (en) Change point encoding circuit
JPH06237247A (en) Data transmission system
JPH05235916A (en) Data transfer device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees