[go: up one dir, main page]

JPH0787380B2 - CMi decoding circuit - Google Patents

CMi decoding circuit

Info

Publication number
JPH0787380B2
JPH0787380B2 JP61195448A JP19544886A JPH0787380B2 JP H0787380 B2 JPH0787380 B2 JP H0787380B2 JP 61195448 A JP61195448 A JP 61195448A JP 19544886 A JP19544886 A JP 19544886A JP H0787380 B2 JPH0787380 B2 JP H0787380B2
Authority
JP
Japan
Prior art keywords
signal
circuit
cmi
flop
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.)
Expired - Lifetime
Application number
JP61195448A
Other languages
Japanese (ja)
Other versions
JPS6352521A (en
Inventor
善彦 阪田
治雄 野中
洋一 田中
俊明 小山
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 JP61195448A priority Critical patent/JPH0787380B2/en
Publication of JPS6352521A publication Critical patent/JPS6352521A/en
Publication of JPH0787380B2 publication Critical patent/JPH0787380B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、光ファイバ伝送方式等の2値信号伝送系で使
用されるCMi符号を復号するために使用されるCMi復号回
路に関する。
The present invention relates to a CMi decoding circuit used for decoding a CMi code used in a binary signal transmission system such as an optical fiber transmission system.

〔従来の技術〕[Conventional technology]

CMi(コーデッド・マーク・インバージョン:Coded Mark
Inversion)符号とは、第5図に示すように、論理“1
1",“00",“01"の3種類の状態を情報信号系列のスペー
スとマークに対応させ、情報信号のマーク“1"に対して
は“11"と“00"とを交互に選択し、スペース“0"に対し
ては“01"を選択する符号である。すなわち、CMi符号は
情報信号系列の1ビットを2ビットに直列変換して伝達
するもので、“0"または“1"連続による同期情報の喪失
を防止し、また伝送路上のマーク率が1/2になる等の特
徴を持っている。
CMi (Coded Mark Inversion: Coded Mark
Inversion) code means the logical "1" as shown in FIG.
Corresponding three types of states "1", "00", and "01" to the space and mark of the information signal series, and alternately select "11" and "00" for the mark "1" of the information signal. However, it is a code that selects “01” for the space “0.” That is, the CMi code serially converts one bit of the information signal sequence into two bits and transmits it, which is either “0” or “1”. "It has features such as preventing loss of synchronization information due to continuity and halving the mark ratio on the transmission path.

従来のCMi復号回路の回路図を第6図に、そのタイムチ
ャートを第7図に示す。
A circuit diagram of a conventional CMi decoding circuit is shown in FIG. 6 and its time chart is shown in FIG.

第6図に示すフリップフロップ(以下FFと略す)100,FF
102によって受信CMi信号の逆相の信号Aのビット前半レ
ベルを保持し、FF101によってビット後半レベルを保持
する。次に排他的論理和ゲート3によって、前半及び後
半レベルを比較し、レベルが同一ならばマーク、相違す
るならスペースと判定する。その結果得られる信号Fが
受信CMi信号を元の情報信号系列に復元した信号であ
る。
Flip-flop (hereinafter abbreviated as FF) 100, FF shown in FIG.
102 holds the bit first half level of the signal A having the opposite phase of the received CMi signal, and FF101 holds the bit second half level. Next, the exclusive OR gate 3 compares the first half level and the second half level, and if the levels are the same, it is determined to be a mark, and if they are different, it is determined to be a space. The resulting signal F is a signal obtained by restoring the received CMi signal to the original information signal sequence.

しかしながらこの復元信号Fには第7図に示すようなハ
ザードが発生するという問題がある。
However, this restored signal F has a problem that a hazard as shown in FIG. 7 occurs.

次に、従来のCMi復号回路を利用して伝送路上で発生し
た誤りを検出する回路を第8図に、そのタイムチャート
を第9図に示す。
Next, FIG. 8 shows a circuit for detecting an error generated on a transmission line by using a conventional CMi decoding circuit, and FIG. 9 shows a time chart thereof.

第8図において受信CMi信号のパターンにない“10"(こ
こでは受信CMi信号の極性が反転しているため“01")を
エラーとして検出するのはアンドゲート4である。
In FIG. 8, it is the AND gate 4 that detects “10” (“01” in this case because the polarity of the received CMi signal is inverted) that is not in the pattern of the received CMi signal as an error.

受信CMi信号のパターン“11"と“00"は交互に出現する
が、“11"または“00"が連続したときのエラーは、排他
的論理和ゲート5,6、アンドゲート7と分周回路103によ
って、前のマークレベルと新たに受信したマークレベル
を比較することにより検出する。このようにエラーを検
出するには、微分回路11やディレイ回路12が必要となる
が、この様な回路はLSi化に不向きである。
The patterns "11" and "00" of the received CMi signal appear alternately. However, when "11" or "00" continues, the error occurs when the exclusive OR gates 5, 6 and 7 and the divider circuit Detect by comparing the previous mark level with the newly received mark level, 103. The differential circuit 11 and the delay circuit 12 are required to detect an error in this way, but such a circuit is not suitable for LSi conversion.

なおこの分野の技術として関連するものには、たとえば
特開昭60−227549号等が挙げられる。
Note that, as a technique related to this field, for example, JP-A-60-227549 is cited.

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

上記従来技術においては、ハザードが発生する点につい
ての配慮がされておらず、このハザードを含んだ信号の
伝搬による後段論理誤動作という問題とLSi化に不向き
な論理であるという問題があった。
In the above-mentioned prior art, no consideration is given to the occurrence of a hazard, and there is a problem that the latter stage logic malfunction due to the propagation of a signal including this hazard and a problem that the logic is unsuitable for LSi implementation.

本発明の目的は、ハザードを除去するとともに、簡単な
回路構成でかつLSi化に適するCMi復号回路を提供するこ
とにある。
An object of the present invention is to provide a CMi decoding circuit that eliminates hazards, has a simple circuit configuration, and is suitable for LSi conversion.

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

上記目的は、受信CMi信号から抽出された位相の異なる
2相のクロック信号を用いてCMi復号回路を構成するこ
とにより達成される。
The above object is achieved by configuring a CMi decoding circuit using two-phase clock signals having different phases extracted from the received CMi signal.

〔作用〕[Action]

本発明によるCMi復号回路は、受信CMi信号から抽出され
る位相の異なる2相の基準クロック信号で動作し、第1
相の基準クロック信号は受信CMi信号の前半レベルの判
定に使用し、第2相の基準ケロック信号は後半レベルの
判定に使用するので、復号された信号にハザードが発生
することはなく誤動作することがない。
A CMi decoding circuit according to the present invention operates with two-phase reference clock signals having different phases extracted from a received CMi signal.
Since the phase reference clock signal is used to determine the first half level of the received CMi signal, and the second phase reference kelock signal is used to determine the second half level, a hazard does not occur in the decoded signal and it may malfunction. There is no.

また、エラー検出回路においても位相の異なる2相の基
準クロック信号で動作しているので、従来技術で必要で
あった微分回路およびディレイ回路を不要とし、LSi化
に適する回路を構成できる。
Further, since the error detection circuit also operates with the two-phase reference clock signals having different phases, the differentiation circuit and the delay circuit, which are required in the prior art, are not required, and a circuit suitable for LSi implementation can be configured.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を用いて説明す
る。第1図および第2図に示すように受信CMi信号の前
半のレベルを該CMi信号に同期した2相の基準クロック
信号の内ビット前半を示す第1相の基準クロック信号T0
によりFF200で保持する。FF200の出力と受信CMi信号と
をオアゲート21で論理和をとりその出力をビット後半を
示す第2相の基準クロック信号T1によりFF202で保持す
る。FF202から出力される信号NRZが元の情報信号系列に
復元された信号である。なおこの復号回路において、誤
りパターン“10"は伝送路上で発生したランダム誤りに
よって“11"または“00"が“10"に変化したものである
可能性が大であるから、元の情報信号はマークであると
見なす。
An embodiment of the present invention will be described below with reference to the drawings. As shown in FIGS. 1 and 2, the first-phase reference clock signal T0 indicating the first half of the bits of the two-phase reference clock signal in which the level of the first half of the received CMi signal is synchronized with the CMi signal.
Hold at FF200. The output of the FF200 and the received CMi signal are ORed by the OR gate 21, and the output is held in the FF202 by the second phase reference clock signal T1 indicating the latter half of the bit. The signal NRZ output from the FF202 is a signal restored to the original information signal sequence. In this decoding circuit, the error pattern "10" is likely to have changed from "11" or "00" to "10" due to a random error that occurred on the transmission path, so the original information signal is Consider it a mark.

次に第1のエラー検出のタイムチャートを第3図で説明
する。
Next, a time chart of the first error detection will be described with reference to FIG.

受信CMi信号AAの前半のレベルを保持した信号ADが“1"
でかつ受信CMi信号AAの後半のレベルが“0"のとき(す
なわちパターン“10"のとき)第1のCMiエラーを検出し
FF201でこれを保持する。
The signal AD that holds the level of the first half of the received CMi signal AA is "1"
And when the second half level of the received CMi signal AA is “0” (that is, when the pattern is “10”), the first CMi error is detected.
Hold this with FF201.

次に第2のエラー検出のタイムチャートを第4図で説明
する。FF203は受信CMi信号の前半のレベルを保持する。
アンドゲート22は復元された情報信号がマークのときだ
け第1相の基準クロック信号T0を通過させる。その通過
したクロック信号ALによって、FF204はマークのレベル
を保持する。FF204の出力と新たに受信されたCMi信号の
ビット前半のレベルの逆相とをゲート23により排他的論
理和をとり、その結果一致しかつ新たに受信されたCMi
信号のパターンが、“01"以外のとき(すなわち元の情
報信号がマークのとき)アンドゲート24により第2のエ
ラーを検出し、FF205で保持出力する。
Next, a second error detection time chart will be described with reference to FIG. The FF 203 holds the first half level of the received CMi signal.
The AND gate 22 passes the first-phase reference clock signal T0 only when the restored information signal is a mark. The FF 204 holds the mark level by the passed clock signal AL. The output of FF204 and the phase opposite to the first half bit level of the newly received CMi signal are exclusive ORed by gate 23, resulting in a match and newly received CMi.
When the signal pattern is other than "01" (that is, when the original information signal is a mark), the AND gate 24 detects the second error, and the FF 205 holds and outputs it.

以上のようにしてCMi復号信号NRZ、第1のエラー検出信
号ER1および第2のエラー検出信号ER2が第2相の基準ク
ロックT1に同期して得られる。
As described above, the CMi decoded signal NRZ, the first error detection signal ER1 and the second error detection signal ER2 are obtained in synchronization with the second phase reference clock T1.

〔発明の効果〕〔The invention's effect〕

本発明によれば次のような効果がある。 The present invention has the following effects.

(1) 受信CMi信号をバザードのない復号信号に変換
できる。
(1) The received CMi signal can be converted into a decoded signal without a hazard.

(2) 簡単な回路構成で、受信CMi信号の伝送路上で
の誤りを検出することができる。
(2) It is possible to detect an error on the transmission path of the received CMi signal with a simple circuit configuration.

(3) 受信CMi信号より抽出する位相の異なる2相の
基準クロック信号で動作しかつディレイ回路や微分回路
がないためLSi化に適する。
(3) It is suitable for LSi implementation because it operates with two-phase reference clock signals having different phases extracted from the received CMi signal and has no delay circuit or differentiating circuit.

【図面の簡単な説明】 第1図は本発明の一実施例を示すCMi復号及びCMiエラー
検出を行う回路の回路図、第2図〜第4図は第1図に関
するタイムチャート、第5図はCMi符号を説明する図、
第6図は従来のCMi復号回路を示す回路図、第7図はそ
のタイムチャート、第8図は第6図に示すCMi復号回路
を利用したCMiエラー検出回路を示す回路図、第9図は
そのタイムチャートである。 1,2……ノットゲート、 3,5,6,23……ゲート(排他論理和)、 4,7,10,20,22,24……アンドゲート、 8,9,21……オアゲート、 100〜102,200〜205……フリップフロップ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a circuit diagram of a circuit for performing CMi decoding and CMi error detection showing an embodiment of the present invention, FIGS. 2 to 4 are time charts relating to FIG. 1, and FIG. Is a diagram for explaining the CMi code,
FIG. 6 is a circuit diagram showing a conventional CMi decoding circuit, FIG. 7 is its time chart, FIG. 8 is a circuit diagram showing a CMi error detection circuit using the CMi decoding circuit shown in FIG. 6, and FIG. 9 is It is the time chart. 1,2 …… NOT gate, 3,5,6,23 …… gate (exclusive OR), 4,7,10,20,22,24 …… AND gate, 8,9,21 …… OR gate, 100 ~ 102,200 ~ 205 …… Flip-flop.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小山 俊明 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 (56)参考文献 特開 昭61−135231(JP,A) 特開 昭61−135230(JP,A) 特開 昭60−227549(JP,A) 特開 昭60−70848(JP,A) 特開 昭57−65943(JP,A) 特開 昭63−67055(JP,A) 特開 昭59−45763(JP,A) 特開 昭59−178051(JP,A) 特開 昭58−71752(JP,A) 特公 平3−76608(JP,B2) 特公 昭57−58096(JP,B2) ─────────────────────────────────────────────────── --- Continuation of the front page (72) Inventor Toshiaki Koyama 1 Horiyamashita, Horiyamashita, Hadano, Kanagawa Pref., Kanagawa Factory, Hiritsu Manufacturing Co., Ltd. (56) References JP-A-61-135231 (JP, A) JP-A-61 -135230 (JP, A) JP 60-227549 (JP, A) JP 60-70848 (JP, A) JP 57-65943 (JP, A) JP 63-67055 (JP, A) ) JP-A-59-45763 (JP, A) JP-A-59-178051 (JP, A) JP-A-58-71752 (JP, A) JP-B 3-76608 (JP, B2) JP-B 57- 58096 (JP, B2)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】受信CMi信号を入力して該CMi信号に同期し
た2相の基準クロック信号の内のビット前半を示す第1
相の基準クロック信号により入力信号を保持・出力する
第1のフリップフロップと、前記受信CMi信号の逆相の
信号と前記第1のフリップフロップの出力信号との論理
和をとる論理和回路と、前記論理和回路の出力信号を入
力して前記2相の基準クロック信号の内のビット後半を
示す第2相の基準クロック信号により入力信号を保持・
出力する第2のフリップフロップと、前記受信CMi信号
の逆相の信号と前記第1のフリップフロップの出力信号
との論理積をとる第1の論理積回路と、前記第1の論理
積回路の出力信号を入力して前記第2相の基準クロック
信号により入力信号を保持・出力する第3のフリップフ
ロップとを有することを特徴とするCMi復号回路。
1. A first half indicating a first half of bits of a two-phase reference clock signal which is input with a received CMi signal and which is synchronized with the CMi signal.
A first flip-flop that holds and outputs an input signal in accordance with a phase reference clock signal, and a logical sum circuit that takes the logical sum of the signal of the opposite phase of the received CMi signal and the output signal of the first flip-flop The output signal of the OR circuit is input and the input signal is held by the second phase reference clock signal indicating the latter half bit of the two phase reference clock signals.
Of the second flip-flop for outputting, the first AND circuit for ANDing the signal of the opposite phase of the received CMi signal and the output signal of the first flip-flop, and the first AND circuit A CMi decoding circuit, comprising: a third flip-flop for inputting an output signal and holding / outputting the input signal in accordance with the second phase reference clock signal.
【請求項2】特許請求の範囲第1項記載のCMi復号回路
において、前記第1のフリップフロップの出力信号を入
力して前記第2相の基準クロック信号により入力信号を
保持・出力する第4のフリップフロップと、前記第2の
フリップフロップの出力信号と前記第1相の基準クロッ
ク信号との論理積をとる第2の論理積回路と、前記第4
のフリップフロップの出力信号を入力して前記第2の論
理積回路の出力クロック信号により入力信号を保持・出
力する第5のフリップフロップと、前記第1のフリップ
フロップの出力信号の逆相の信号と前記第5のフリップ
フロップの出力信号との排他的論理和をとる排他的論理
和回路と、前記論理和回路の出力信号と前記排他的論理
和回路の出力信号との論理積をとる第3の論理積回路
と、前記第3の論理積回路の出力信号を入力して前記第
2相の基準クロック信号により入力信号を保持・出力す
る第6のフリップフロップとを有することを特徴とする
CMi復号回路。
2. A CMi decoding circuit according to claim 1, wherein the output signal of the first flip-flop is input and the input signal is held and output by the reference clock signal of the second phase. And a second AND circuit for taking a logical product of the output signal of the second flip-flop and the reference clock signal of the first phase,
A fifth flip-flop that receives the output signal of the flip-flop and holds and outputs the input signal according to the output clock signal of the second AND circuit, and a signal that is the opposite phase of the output signal of the first flip-flop. And an exclusive OR circuit that takes the exclusive OR of the output signal of the fifth flip-flop and a third product that takes the logical product of the output signal of the OR circuit and the output signal of the exclusive OR circuit. And a sixth flip-flop that receives the output signal of the third AND circuit and holds and outputs the input signal according to the reference clock signal of the second phase.
CMi decoding circuit.
JP61195448A 1986-08-22 1986-08-22 CMi decoding circuit Expired - Lifetime JPH0787380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61195448A JPH0787380B2 (en) 1986-08-22 1986-08-22 CMi decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61195448A JPH0787380B2 (en) 1986-08-22 1986-08-22 CMi decoding circuit

Publications (2)

Publication Number Publication Date
JPS6352521A JPS6352521A (en) 1988-03-05
JPH0787380B2 true JPH0787380B2 (en) 1995-09-20

Family

ID=16341235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61195448A Expired - Lifetime JPH0787380B2 (en) 1986-08-22 1986-08-22 CMi decoding circuit

Country Status (1)

Country Link
JP (1) JPH0787380B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2862076B2 (en) * 1996-05-20 1999-02-24 日本電気株式会社 Bi-phase code decoding method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5765943A (en) * 1980-10-09 1982-04-21 Fujitsu Ltd Decoding circuit for coded mark inversion code
JPS61116424A (en) * 1984-11-12 1986-06-03 Oki Electric Ind Co Ltd Cmi decoder

Also Published As

Publication number Publication date
JPS6352521A (en) 1988-03-05

Similar Documents

Publication Publication Date Title
US4204199A (en) Method and means for encoding and decoding digital data
JPH0775343B2 (en) Synchronization detection circuit and method
JPS61154321A (en) decoding circuit
JPH0787380B2 (en) CMi decoding circuit
JPH088561B2 (en) CMI block synchronization method
JPS62274948A (en) frame synchronizer
JPH0644756B2 (en) Synchronous clock generation circuit
JPS642306B2 (en)
JPH0431211B2 (en)
KR940008244Y1 (en) B6zs coding error detecting circuit
JPS5853257A (en) Digital data receiving circuit
JPS62298254A (en) Data transmission system
JPS63310222A (en) Ending error self-monitor type nrz/cmi code converter
JPH0131743B2 (en)
JPS60227549A (en) CMI decoding circuit
JPH0531973B2 (en)
JPS63296544A (en) C-bit error detecting circuit
JPH01246922A (en) Serial 2, 7 decoder
JPS59163938A (en) System for detecting code error
JPH0831848B2 (en) CMI signal timing extraction circuit
JPS61270920A (en) Code decoding system
JPH03104319A (en) Error detection circuit
JPS63226142A (en) C-bit error counter
JPH0376608B2 (en)
JPH0345948B2 (en)