JPS61199334A - Cmi code converting circuit - Google Patents

Cmi code converting circuit

Info

Publication number
JPS61199334A
JPS61199334A JP3873285A JP3873285A JPS61199334A JP S61199334 A JPS61199334 A JP S61199334A JP 3873285 A JP3873285 A JP 3873285A JP 3873285 A JP3873285 A JP 3873285A JP S61199334 A JPS61199334 A JP S61199334A
Authority
JP
Japan
Prior art keywords
clock signal
code
signal
cmi
flip
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.)
Granted
Application number
JP3873285A
Other languages
Japanese (ja)
Other versions
JPH0787379B2 (en
Inventor
Toshiaki Koyama
俊明 小山
Yoshihiko Sakata
阪田 善彦
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3873285A priority Critical patent/JPH0787379B2/en
Publication of JPS61199334A publication Critical patent/JPS61199334A/en
Publication of JPH0787379B2 publication Critical patent/JPH0787379B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To prevent generation of glitch by applying code conversion from an NRZ code to a CMI code while keeping a frequency of an input clock signal the same as that of the speed of a binary-coding signal. CONSTITUTION:An input clock signal T having a frequency corresponding to an input data NRZ is given to a delay circuit DLY to obtain a clock signal TD retarding the input clock signal T. Then two kinds of clock pulses T0 synchronously with the leading of the input clock signal T and T1 synchronously with the trailing are generated by ANDing the input clock signal T and an inverted clock signal TD retarding the signal T and ANDing the inverting T and the TD. Then the two kinds of the clock signals are used as a flip-flop deciding the polarity of the first half of the CMI code and as a flip-flop deciding the polarity of the latter half to prevent the glitch.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、PMCff1号の伝送符号として使用されて
いるC M I (Coded Mark I nve
rsion)符号を、NRZ信号とクロック信号とかな
作成するCMI符号変換回路に係り、特に必要なりロッ
ク信号の周波数を低くおさえたCMI符号変換回路に関
する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is directed to CMI (Coded Mark I nve) used as a transmission code of PMCff1.
The present invention relates to a CMI code conversion circuit that creates NRZ signals, clock signals, etc., and particularly relates to a CMI code conversion circuit that suppresses the frequency of the lock signal as necessary.

〔発明の背景〕[Background of the invention]

CMI符号は、CCITTにおいて勧告G703により
139264K bij/Sのインターフェース符号と
して規定されているほか、我が国においても、高速ディ
ジタル伝送など、網同期を必要とする伝送系に適した符
号形式として積極的導入が図られている。
The CMI code is specified by CCITT as a 139264K bij/S interface code in Recommendation G703, and is also being actively introduced in Japan as a code format suitable for transmission systems that require network synchronization, such as high-speed digital transmission. It is planned.

CMI符号は、論理II O4′のバイナリ信号に対し
てはCMI符号として論理” 01 ”を対応させ、論
理″′1″のバイナリ信号に対してはCMI符号として
論理1+ 11 B又はII OO11を交互に対応さ
せるという簡易な符号則により合成される二値符号であ
る。
The CMI code corresponds to a logic "01" as a CMI code for a binary signal of logic II O4', and alternates logic 1+11 B or II OO11 as a CMI code for a binary signal of logic "'1". It is a binary code that is synthesized using a simple code rule that corresponds to .

この符号はB S I (Bit 5equence 
 I ndendence)という特長を有し、同一符
号の連続によるタイミング消失がなく、タンク回路に入
力することにより容易にバイナリ信号の情報速度f 、
  bit/seeのタイミング抽出が可能なことが知
られている。
This code is BSI (Bit 5equence
It has the feature that there is no loss of timing due to the succession of the same code, and the information rate f of the binary signal can be easily changed by inputting it to the tank circuit.
It is known that bit/see timing extraction is possible.

しかし、CMI符号の情報速度は、前述の符号則により
、対応するバイナリ信号の情報速度f。
However, the information rate of the CMI code is equal to the information rate f of the corresponding binary signal due to the code rule described above.

bi七/seeの2倍であるため、受信したCMI符号
からタイミングを抽出し、そのタイミングに同期してC
MI符号を送信する必要のある網同期方式の伝送には次
のような技術的な問題があった。第1に、CMI符号か
らf。の2倍のクロックを抽出して、これを送信タイミ
ングとして使用する方法では、 P L L (Pha
se Locked Loop)技術を必要とし、電圧
制御発振器、位相比較器など、回路規模の増大は避けら
れない。第2に、バイナリ信号の情報速度f。 bij
/secと同一周波数のクロックを用いてCMI符号に
変換する方法では、クロックの抽出は容易であるが、例
えば特開昭59−LO4846公報で指摘しているよう
に、グリッチ防止を行う必要がある。
bi7/see, so the timing is extracted from the received CMI code and the CMI code is synchronized with that timing.
Transmission using the network synchronization method that requires transmitting MI codes has the following technical problems. First, f from the CMI code. In the method of extracting twice the clock of Pha
(Locked Loop) technology is required, and an increase in the circuit scale such as a voltage controlled oscillator and a phase comparator is unavoidable. Second, the information rate f of the binary signal. bij
In the method of converting to CMI code using a clock with the same frequency as /sec, clock extraction is easy, but as pointed out in Japanese Patent Application Laid-Open No. 59-LO4846, it is necessary to prevent glitches. .

上記後者の問題に対して、特開昭59−104846号
公報では、変換中に発生したグリッチを付加回路でマス
クしてしまう方法をとっているが、以下に述べる理由で
グリッチ発生防止は十分とはいえない。
To address the latter problem, JP-A-59-104846 uses a method of masking glitches that occur during conversion using an additional circuit, but this method is insufficient to prevent glitches from occurring for the reasons described below. No, no.

第3図は特開昭59−10486号公報林開示されてい
るCMI符号変換回路で、ゲートG7゜G8.G9およ
びフリップ・フロップF4.f5がグリッチをマスクす
るための付加回路であるや動作の詳細は、ここでは省略
するが、第4図のタイムチャー1−で示されるように、
入力データであるNRZ符号S2を、対応するバイナリ
信号の情報速度f。 bit/seeに等しい入力クロ
ック信号S1に同期してフリップ・プロップF2Fに取
り込む際、セット・アップタイム及びホールドタイムが
保証されないため、グリッチ100が発生する。このグ
リッチは、そのまま、CMI符号の出力に伝搬し、波形
歪として符号誤りの原因となる。
FIG. 3 shows a CMI code conversion circuit disclosed in Japanese Patent Application Laid-Open No. 59-10486 Hayashi, in which gates G7°G8. G9 and flip-flop F4. Although f5 is an additional circuit for masking glitches and the details of its operation are omitted here, as shown in time chart 1- in FIG.
The input data, NRZ code S2, is converted to the information rate f of the corresponding binary signal. When loading into flip-flop F2F in synchronization with input clock signal S1 equal to bit/see, glitch 100 occurs because set-up time and hold time are not guaranteed. This glitch propagates as it is to the output of the CMI code, causing code errors as waveform distortion.

第4図で斜線部102が不確定状態を示す。In FIG. 4, a shaded area 102 indicates an uncertain state.

上記特開昭59−10486号は、変換中に発生したグ
リッチを付加回路を設けてマスクする方法で、グリッチ
除去を行おうとするものであるが。
The above-mentioned Japanese Patent Laid-Open No. 59-10486 attempts to remove glitches by providing an additional circuit to mask glitches that occur during conversion.

グリッチ発生を防止しようとした場所以外でグリッチが
発生してしまう問題があった。
There was a problem in which glitches would occur in locations other than those intended to be prevented.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、入力クロック信号をバイナリ信号2値
符号の速度と同一の周波数のままでNRR符号からCM
I符号への符号変換を行い、しかもグリッチの発生が十
分に防止できるCMI符号変換回路を提供することにあ
る。
The object of the present invention is to convert the input clock signal from NRR code to CM while keeping the same frequency as the speed of the binary signal binary code.
It is an object of the present invention to provide a CMI code conversion circuit which can perform code conversion to I code and can sufficiently prevent the occurrence of glitches.

〔発明の概要〕[Summary of the invention]

本発明は、データ速度に対応した周波数を有する入力ク
ロック信号Tとそれを遅延させたクロック信号T。とか
ら、TとTI、の論理積およびTとT I+の論理積を
とることにより、入力クロック信号丁の立ち上がりに同
期したパルスT。および立ち下がりに同期したパルスT
、の2種類のタロツクパルスを作成し、この2種類のク
ロックパルスを、それぞれCMI符号の前半の極性を決
めるためのフリップ・フロップのクロック信号および後
半の極性を決めるためのフリップ・フロップのクロック
信号として使用することにより、グリッチ発生を防止す
るものである。
The present invention provides an input clock signal T having a frequency corresponding to a data rate and a clock signal T delayed from the input clock signal T. By taking the logical product of T and TI and the logical product of T and TI+, a pulse T synchronized with the rising edge of the input clock signal D is obtained. and pulse T synchronized with the falling edge.
, and use these two types of clock pulses as the flip-flop clock signal for determining the polarity of the first half of the CMI code and the clock signal of the flip-flop for determining the polarity of the second half, respectively. By using this, glitches can be prevented.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明のCMI符号変換回路の一実施例を示し
、第2図はその動作を説明するタイムチャートを示す。
FIG. 1 shows an embodiment of the CMI code conversion circuit of the present invention, and FIG. 2 shows a time chart explaining its operation.

第1図において、入力データNRZに対応した周波数を
有する入力クロック信号Tを遅延回路DLYに与えて、
入力クロック信号Tを遅延させたクロック信号T、、を
得る。入力クロック信号Tの立ち上がりに同期したクロ
ック信号TQは、入力クロック信号Tとクロック信号T
。を反転ゲートGCで反転した信号T。との論理積をア
ンドゲートでとることにより作成する。また、入力クロ
ック信号Tの立ち上下がりに同期したクロック信号T、
は、入力クロック信号Tを反転ゲートGDで反転した信
号Tとクロック信号Toとの論理積をアンドゲートGB
でとることにより作成する6クロツク信号T、は、CM
I符号の前半の極性を決定するためのフリップ・フロッ
プのクロック信号として使用し、クロック信号T0は、
CMI符号の後半の極性を決定するためのフリップ・フ
ロップのクロック信号として使用する。
In FIG. 1, an input clock signal T having a frequency corresponding to input data NRZ is applied to a delay circuit DLY,
A clock signal T, , which is obtained by delaying the input clock signal T, is obtained. Clock signal TQ synchronized with the rising edge of input clock signal T is synchronized with input clock signal T and clock signal T.
. A signal T which is inverted by an inversion gate GC. It is created by taking the logical AND with the AND gate. In addition, a clock signal T synchronized with the falling edge of the input clock signal T,
is the AND gate GB of the logical product of the input clock signal T inverted by the inverting gate GD and the clock signal To.
The six clock signals T, created by taking the CM
The clock signal T0 is used as a clock signal for a flip-flop to determine the polarity of the first half of the I code.
It is used as a flip-flop clock signal to determine the polarity of the second half of the CMI code.

アンドゲートA1、フリップ・フロップFFI。AND gate A1, flip-flop FFI.

FF2は、直前に送出した111 ″の極性を保持して
おいてそれを反転して出力する回路である。ここで、ア
ンドゲートA1は、入力データであるNRZ符号がrz
 l ′1のときのみクロック信号T。を通過させ、ゲ
ー領A1の出力として、トリガが信号J1を得る。フリ
ップ・フロップFFIは、常に次に送出すべき、N R
Z = ” 1 ”の極性を保持しているブリップ・フ
ロップであって、NRZ=”1”の条件で、現在送出す
べきNRZの極性が11 ]、 TIであることを示す
信号J3の反転出力信号J4を取り込むように動作する
。ブリップ・プロップFF2は、同相転送防止用のフリ
ップ・フロップであり、CMI符号の前半部分を決定す
る信号J2を、クロック信号T1から1/2周期遅延し
て、クロック信号Tnによって、取り込むことにより、
クロック信号Tnに同期して出力信号J3.J4を得る
。このFF2の出力信号J3.J4は、クロック信号T
1と同期をとってCMI符号出力となるFF4のセット
/リセット作成信号に使われる。
FF2 is a circuit that holds the polarity of 111'' sent out immediately before, inverts it, and outputs it.
Clock signal T only when l'1. , and the trigger obtains the signal J1 as the output of the game area A1. Flip-flop FFI should always send out next, N R
It is a flip-flop that maintains the polarity of Z = "1", and under the condition of NRZ = "1", the inverted output of the signal J3 indicating that the polarity of the NRZ to be currently transmitted is 11], TI. It operates to capture signal J4. Blip-prop FF2 is a flip-flop for preventing in-phase transfer, and by delaying the signal J2, which determines the first half of the CMI code, by 1/2 period from the clock signal T1 and using the clock signal Tn,
Output signal J3. in synchronization with clock signal Tn. Get J4. This FF2 output signal J3. J4 is the clock signal T
It is used as a set/reset creation signal for FF4, which synchronizes with 1 and outputs a CMI code.

フリップ・プロップFF3、アンドゲートA2゜A3、
オアゲートA6は、CMI符号符号フカフリップロップ
FF/Iのセット信号を作成する回路である。ここで、
オアゲート6は、ゲートAの出力であるセット信号J6
とアンドゲートA3の出力であるセット信号J7を論理
和することしこより、CMI符号符号フカフリップロッ
プFF4に対して、セット信号JIOを出力する。アン
ドゲートA2は、入力データNRZ=”1”で、かつ現
在送出すべきNRZの極性がN I IIであることを
示す信号J3=”1”のとき、クロック信号T、を通過
させ、オアゲートA6に対して、論理1llII+をセ
ントするためのセット信号J6を出力する。フリップ・
フロップFF3は、入力データであるNRZ符号をクロ
ック信号T、で取り込み、1/2周期遅延させた信号の
反転である信号J5を出力する。
Flip prop FF3, and gate A2゜A3,
The OR gate A6 is a circuit that creates a set signal for the CMI code flip-flop FF/I. here,
OR gate 6 is the set signal J6 which is the output of gate A.
By ORing the set signal J7 which is the output of the AND gate A3, a set signal JIO is outputted to the CMI code flip-flop FF4. AND gate A2 passes clock signal T when input data NRZ="1" and signal J3="1" indicating that the polarity of NRZ to be currently sent is NII II, and OR gate A6 , a set signal J6 for setting the logic 1llII+ is output. Flip
The flop FF3 takes in the NRZ code as input data using the clock signal T, and outputs a signal J5 which is the inverse of the signal delayed by 1/2 period.

この信号J5がII L Hのとき、アンドゲートA3
は。
When this signal J5 is II L H, AND gate A3
teeth.

クロック信号T、、を通過させ、オアゲート八6に対し
て論理”01”の論理rr Orrをセットするための
セット信号J7を出力する。
The clock signal T, .

反転ゲートA8、アンドゲートA、、A5、オアゲート
A7は、CMI符号符号フカフリップロップFF4のリ
セット信号を作成する回路である。
The inverting gate A8, the AND gates A, , A5, and the OR gate A7 are circuits that create a reset signal for the CMI-coded flip-flop FF4.

ここで、オアゲートA7は、アンドゲートA4の出力で
あるリセット信号J8とアントゲ−1−A5の出力であ
るリセット信号J9を論理和することにより、CMI符
号符号フカフリップロップFF4に対して、リセット信
号Jllを出力する。アンドゲートA4は、入力データ
NRZ=”1”で、かつ現在送出すべきNRZの極性が
II O2gであることを示す信号J4=”V’のとき
、クロック信号T、を通過させ、オアゲートA7に対し
て、論理re OOsrをセットするためのリセット信
号J8を出力する。反転ゲートA8は、入力データであ
るNRZ符号がrr Orrのとき、クロックT、をゲ
ートするための信号を出力する。この信号により、アン
ドゲートA5は、クロック信号T、を通過させ、オアゲ
ートA7に対して論理rr OIIをセットするための
リセット信号J9を出力する。
Here, the OR gate A7 provides a reset signal to the CMI code flip-flop FF4 by ORing the reset signal J8 which is the output of the AND gate A4 and the reset signal J9 which is the output of the AND gate 1-A5. Output Jll. AND gate A4 passes clock signal T when input data NRZ="1" and signal J4="V" indicating that the polarity of NRZ to be currently sent is II O2g, and passes clock signal T to OR gate A7. In contrast, it outputs a reset signal J8 for setting the logic reOOsr.When the NRZ code that is input data is rr Orr, the inverting gate A8 outputs a signal for gating the clock T.This signal Accordingly, AND gate A5 passes clock signal T, and outputs a reset signal J9 for setting logic rr OII to OR gate A7.

上記のようにして得られたセット信号JIO及びリセッ
ト信号Jllによって、フリップ・フロップFF4を制
御することにより、最終的な出力データであるCMI符
号がFF4の出力として得られる。
By controlling flip-flop FF4 using the set signal JIO and reset signal Jll obtained as described above, the CMI code, which is the final output data, is obtained as the output of FF4.

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

本発明によれば、NRZ符号からCMI符号への符号変
換回路において、入力クロックを、バイナリ値符号と同
一で、2倍のクロックを必要とせず、かつ、グリッチを
発生させない回路が実現できる。2倍のクロックを作成
する回路は複雑となる。
According to the present invention, in a code conversion circuit from an NRZ code to a CMI code, a circuit can be realized in which the input clock is the same as that of a binary code, does not require twice the clock, and does not generate glitches. A circuit that creates twice as many clocks becomes complex.

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

第1図は本発明のCMI符号変換回路の一実施例の回路
図、第2図は第1図の動作のタイミング図、第3図は従
来のグリッチ発生防止回路を付加した回路図、第4図は
第3図の動作タイミング図である。 NRZ・・・入力符号、 T・・・入力クロック信号、
CM丁・・・出力符号、  FFI〜FF4・・・フリ
ップ・フロップ、 DLY・・・遅延回路、A1〜A5
.OA、GB・・アンドゲート、A、6.A7・・・オ
アゲート、 A8.GC,GD・・・反転ゲート。 N               )−0こ 第  2  図 −4゜− 第3図 G 「5 第  4  図
FIG. 1 is a circuit diagram of an embodiment of the CMI code conversion circuit of the present invention, FIG. 2 is a timing diagram of the operation of FIG. 1, FIG. 3 is a circuit diagram with a conventional glitch prevention circuit added, and FIG. The figure is an operation timing diagram of FIG. 3. NRZ...input code, T...input clock signal,
CM digit...output code, FFI-FF4...flip-flop, DLY...delay circuit, A1-A5
.. OA, GB...andgate, A, 6. A7...Orgate, A8. GC, GD...inversion gate. N)-0ko 2nd Figure-4゜-Figure 3G ``5 Figure 4

Claims (1)

【特許請求の範囲】[Claims] (1)fnビット/秒の速度を有するバイナリ2値符号
を、通応するfnHzのクロック信号に基づいてCMI
符号に変換するCMI符号変換回路において、入力クロ
ック信号の立上りに同期したパルスと、立下りに同期し
たパルスの2種類のパルスを作成する手段を設け、この
2種類のパルスをそれぞれCMI符号の前半の極性を決
めるためのフリップ・フロップのクロック信号、および
後半の極性を決めるためのフリップ・フロップのクロッ
ク信号として使用することを特徴とするCMI符号変換
回路。
(1) A binary binary code with a speed of fn bits/second is transmitted through CMI based on a corresponding fnHz clock signal.
In the CMI code conversion circuit that converts the input clock signal into a code, means is provided to create two types of pulses, one synchronized with the rising edge of the input clock signal and the other pulse synchronized with the falling edge, and these two types of pulses are converted into the first half of the CMI code, respectively. A CMI code conversion circuit characterized in that it is used as a clock signal of a flip-flop for determining the polarity of the second half of the clock and a clock signal of a flip-flop for determining the polarity of the second half.
JP3873285A 1985-03-01 1985-03-01 CMI code conversion circuit Expired - Lifetime JPH0787379B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3873285A JPH0787379B2 (en) 1985-03-01 1985-03-01 CMI code conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3873285A JPH0787379B2 (en) 1985-03-01 1985-03-01 CMI code conversion circuit

Publications (2)

Publication Number Publication Date
JPS61199334A true JPS61199334A (en) 1986-09-03
JPH0787379B2 JPH0787379B2 (en) 1995-09-20

Family

ID=12533496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3873285A Expired - Lifetime JPH0787379B2 (en) 1985-03-01 1985-03-01 CMI code conversion circuit

Country Status (1)

Country Link
JP (1) JPH0787379B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6411421A (en) * 1987-07-03 1989-01-17 Fujitsu Ltd Code converting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6411421A (en) * 1987-07-03 1989-01-17 Fujitsu Ltd Code converting circuit

Also Published As

Publication number Publication date
JPH0787379B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
US4222009A (en) Phase lock loop preconditioning circuit
US3894246A (en) Clock recovering apparatus and method
US5126602A (en) Digital phase detector in an NRZ bit synchronous system
US5127023A (en) Retiming decoder/encoder
IE45458B1 (en) Miller-encoded message decoder
US3705398A (en) Digital format converter
US4325053A (en) Method and a circuit for decoding a C.M.I. encoded binary signal
US5550878A (en) Phase comparator
US4740998A (en) Clock recovery circuit and method
JPH0683192B2 (en) Method and apparatus for reducing jitter in a synchronous digital train to restore its bitrate
AU616217B2 (en) Two-stage synchronizer
US4007421A (en) Circuit for encoding an asynchronous binary signal into a synchronous coded signal
JPS61199334A (en) Cmi code converting circuit
SE9301327D0 (en) COMPOSED CLOCK SIGNAL
US4855735A (en) Recovery of data clock signals
JP2752654B2 (en) Data transmission method of scrambled code
JPH0210619B2 (en)
US4327442A (en) Clock recovery device
KR910009093B1 (en) Coded mark inversion coding circuit
US4879730A (en) Jitter tolerant circuit for dual rail data
JPS62230242A (en) Non return zero data receiving circuit
JPH0323714Y2 (en)
JPH0562850B2 (en)
JP3088433B2 (en) MSK demodulator
KR910001163B1 (en) Syncronizing signal generating circuit for digital data transmission system