JPH07120952B2 - CMI decoding circuit - Google Patents
CMI decoding circuitInfo
- Publication number
- JPH07120952B2 JPH07120952B2 JP63225418A JP22541888A JPH07120952B2 JP H07120952 B2 JPH07120952 B2 JP H07120952B2 JP 63225418 A JP63225418 A JP 63225418A JP 22541888 A JP22541888 A JP 22541888A JP H07120952 B2 JPH07120952 B2 JP H07120952B2
- Authority
- JP
- Japan
- Prior art keywords
- cmi
- code
- clock
- 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.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000002860 competitive effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Dc Digital Transmission (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はCMI符号をNRZ符号に復号するCMI復号化回路に
関する。The present invention relates to a CMI decoding circuit for decoding a CMI code into an NRZ code.
一般に、CMI符号はタイミング情報の抽出法として、受
信CMI符号系列よりタイミング波を得る自己タイミング
方式の符号として知られている。従来、この種のCMI復
号化回路は、CMI符号速度2fCの符号の立ち上り,又は立
ち下り情報よりタイミング抽出を行い、NRZ符号のデー
タ速度をfCとしたときに、CMI符号に同期した速度fCの
クロックと、その反転クロックの2系列のクロックにて
CMI符号を2系列に分けて復号する方式が用いられてい
る。Generally, the CMI code is known as a self-timing system code that obtains a timing wave from a received CMI code sequence as a method of extracting timing information. Conventionally, this type of CMI decoding circuit performs timing extraction from the rising or falling information of a code with a CMI code rate of 2f C , and when the data rate of the NRZ code is f C , the rate synchronized with the CMI code is used. With the clock of f C and its two inverted clocks
A method of dividing the CMI code into two sequences and decoding is used.
上述した従来のCMI復号回路では、受信CMI符号を識別再
生する場合に、CMI符号速度の1/2の2つの位相のクロッ
クにて2系列に識別再生する必要があり、受信識別再生
回路,CMI複号化回路の分離が難しく、CMI符号専用の受
信識別再生回路を必要とする問題がある。In the above-mentioned conventional CMI decoding circuit, when the received CMI code is identified and reproduced, it is necessary to perform identification and reproduction in two sequences with clocks of two phases of 1/2 of the CMI code rate. Separation of the decoding circuit is difficult, and there is a problem that a reception and identification reproduction circuit dedicated to CMI code is required.
本発明は単一のクロックで複号化を可能とし、回路の簡
略化を実現するCMI復号化回路を提供することを目的と
する。An object of the present invention is to provide a CMI decoding circuit which enables decoding with a single clock and realizes simplification of the circuit.
本発明のCMI復号化回路は、CMI符号則がNRZ符号の“0"
を“10"と交換する場合は“01"を、またこれを“01"と
交換する場合は“10"をCMI符号から検出する手段と、CM
I符号速度のクロック信号を1/2分周する手段と、この分
周されたクロックとその反転クロックを出力させる手段
と、前記検出手段で検出された“01"又は“10"の信号に
基づいてそれぞれパルスを出力する手段と、これらの出
力されたパルス数を計数し、かつ計数されたパルス数の
比較を行ってCMI符号の復号位相を判定し、判定された
位相により分周クロックの位相を選択する手段とを備
え、この選択された位相の分周クロックで同期をとって
CMI符号を復号とする構成としている。In the CMI decoding circuit of the present invention, the CMI coding rule is “0” of NRZ code.
To replace "10" with "10", and to replace "01" with "01", a means for detecting "10" from the CMI code, and CM
Based on the means for dividing the clock signal of the I code rate by 1/2, the means for outputting the divided clock and its inverted clock, and the signal of "01" or "10" detected by the detecting means. To output the respective pulses and to count the number of these output pulses, and compare the counted number of pulses to determine the decoding phase of the CMI code, and determine the phase of the divided clock according to the determined phase. And means for selecting, and synchronizing with the divided clock of this selected phase
The CMI code is used for decoding.
上述した構成では、選択された分周クロックによりCMI
符号を復号化でき、CMI符号速度と同じ速度である単一
クロックでの復号を可能とする。In the above configuration, the CMI depends on the selected divided clock.
The code can be decoded, and decoding is possible with a single clock, which is the same speed as the CMI code speed.
次に、本発明を図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の一実施例のブロック図である。なお、
この実施例では簡略化のため、CMI符号則はNRZ符号の
“0"が“01"に変換される例を示している。FIG. 1 is a block diagram of an embodiment of the present invention. In addition,
In this embodiment, for simplification, the CMI coding rule shows an example in which "0" of the NRZ code is converted to "01".
CMI符号入力端1に入力されたCMI符号は、2fCクロック
入力端2に入力される2fCクロックによりフリップフロ
ップ3,4に夫々読み込まれる。そして、先のデータを読
み込んだフリップフロップ4のQ出力(読み込んだデー
タと同極性のデータ)と後のデータを読み込んだフリッ
プフロップ3の出力(読み込んだデータの反転出力)
を夫々アンド回路7,8に夫々入力する。The CMI code input to the CMI code input terminal 1 is read into the flip-flops 3 and 4 by the 2f C clock input to the 2f C clock input terminal 2, respectively. Then, the Q output of the flip-flop 4 that has read the previous data (data having the same polarity as the read data) and the output of the flip-flop 3 that has read the subsequent data (the inverted output of the read data)
To the AND circuits 7 and 8, respectively.
また、各フリップフロップ3,4のQ出力は排他的論理和
回路9に入力され、更にこの排他的論理和回路9の出力
はフリップフロップ12に読み込まれる。このフリップフ
ロップ12には後述するセレクタ10の出力をクロックとし
て動作し、NRZ符号をNRZ出力端13に出力する。The Q outputs of the flip-flops 3 and 4 are input to the exclusive OR circuit 9, and the output of the exclusive OR circuit 9 is read into the flip-flop 12. The flip-flop 12 operates with the output of the selector 10 described later as a clock and outputs the NRZ code to the NRZ output terminal 13.
一方、これらアンド回路7,8には、2fCクロックを反転回
路5で反転したクロックを夫々入力し、グリッジ等を取
り除くためのRZパルスとしている。更に、2fCクロック
を1/2分周回路6で分周し、一方の正極性のクロックを
アンド回路7に、その反転クロックをアンド回路8に入
力する。なお、これら正極性,反転の各fCクロックは夫
々後述するセレクタ10にも入力する。On the other hand, to the AND circuits 7 and 8, clocks obtained by inverting the 2f C clock by the inverting circuit 5 are input, respectively, and used as RZ pulses for removing glitches and the like. Further, the 2f C clock is divided by the 1/2 divider circuit 6, one positive clock is input to the AND circuit 7, and its inverted clock is input to the AND circuit 8. The positive and negative f C clocks are also input to the selector 10, which will be described later.
更に、アンド回路7,8の出力はパルス数検出回路11に入
力され、ここでパルスが多く出力される側が判定され
る。この判定結果の出力はセレクタ10に入力され、この
セレクタ10に入力されている1/2分周されたfCのクロッ
クを選択してフリップフロップ12及びクロック出力端14
に出力させる。Further, the outputs of the AND circuits 7 and 8 are input to the pulse number detection circuit 11, where the side that outputs a large number of pulses is determined. The output of this determination result is input to the selector 10, which selects the 1/2 frequency-divided f C clock input to this selector 10 to select the flip-flop 12 and the clock output terminal 14.
To output.
以上の構成によれば、第2図に各部における信号a〜g
を示すように、入力されるCMI符号aは2fCクロックbで
フリップフロップ3,4に読み込まれ、フリップフロップ
3の出力とフリップフロップ4のQ出力が夫々アンド
回路7,8に出力される。そして、このアンド回路7,8では
正極性fCクロックeと反転fCクロックfのタイミングで
フリップフロップ3,4からの出力を通過させ、“10"を検
出したときにパルスを出力する。cはアンド回路8から
出力されるパルスである。このパルスはパルス数検出回
路11で検出され、パルスが多く出力される側を判定す
る。そして、この判定出力によりセレクタ10ではパルス
数の多い側の位相のfCクロックを選択し、この選択した
fCクロックによってフリップフロップ12を動作させる。
これにより、排他的論理和回路9の出力dはNRZ符号g
として出力されることになる。According to the above configuration, the signals a to g in each unit are shown in FIG.
As shown, the input CMI code a is read into the flip-flops 3 and 4 at the 2f C clock b, and the outputs of the flip-flop 3 and the Q output of the flip-flop 4 are output to the AND circuits 7 and 8, respectively. Then, the AND circuits 7 and 8 pass the outputs from the flip-flops 3 and 4 at the timing of the positive polarity f C clock e and the inverted f C clock f, and output a pulse when "10" is detected. c is a pulse output from the AND circuit 8. This pulse is detected by the pulse number detection circuit 11, and the side from which many pulses are output is determined. Then, based on this judgment output, the selector 10 selects the f C clock of the phase on the side with the larger number of pulses, and this is selected.
The flip-flop 12 is operated by the f C clock.
As a result, the output d of the exclusive OR circuit 9 is the NRZ code g.
Will be output as.
したがって、この回路では2fCクロックだけでCMI復号を
実現でき、受信識別再生回路等は不要となる。Therefore, in this circuit, CMI decoding can be realized with only 2f C clock, and the reception identification reproduction circuit and the like are unnecessary.
なお、NRZ符号の“0"を“10"に変換する場合には、パル
ス数検出回路11では“01"を検出した側の位相をセレク
タ10で選択するように構成する。When converting "0" of the NRZ code to "10", the pulse number detection circuit 11 is configured so that the selector 10 selects the phase on the side where "01" is detected.
また、パルス数検出回路11はCMI符号のバイオレーショ
ンを考慮して競合型カウンタ,又はアナログの積分回路
等でパルスが多く出力される側を検出する回路にて実施
できる。Further, the pulse number detection circuit 11 can be implemented by a competitive counter or a circuit that detects the side on which a large number of pulses are output by an analog integration circuit or the like in consideration of CMI code violation.
以上説明したように本発明は、CMI符号を検出した上
で、分周クロックの位相を選択し、この選択された分周
クロックによりCMI符号を復号化しているので、CMI符号
速度と同じ速度の単一クロックにて復号することが可能
となり、特殊な受信符号識別再生回路を必要とせず、回
路の簡略化を図ることができる効果がある。また、本発
明は、“01″と“10"を検出して得られたパルス数を計
数した上でこれを比較することによりCMI符号の復号位
相を判定しているので、CMI符号則違反による副信号が
多重されていても、CMI符号誤りが発生しても選択手段
におけるパルス計数判定用のビット数を増やすことによ
りCMIの位相同期が可能となり、かつ誤り検出も可能に
なるという効果も得られる。As described above, the present invention detects the CMI code, selects the phase of the divided clock, and decodes the CMI code with this selected divided clock. Since the decoding can be performed with a single clock, there is an effect that the circuit can be simplified without requiring a special reception code identification and reproduction circuit. Further, the present invention determines the decoding phase of the CMI code by counting the number of pulses obtained by detecting “01” and “10” and then comparing them, so that there is a violation of the CMI code rule. Even if a sub-signal is multiplexed, even if a CMI code error occurs, the number of bits for pulse count judgment in the selection means can be increased to achieve the CMI phase synchronization and error detection. To be
第1図は本発明の一実施例のブロック図、第2図は第1
図のa〜gの各信号の波形図である。 1……CMI符号入力端、2……2fCクロック入力端、3,4
……フリップフロップ、5……反転回路、6……1/2分
周回路、7,8……アンド回路、9……排他的論理和回
路、10……セレクタ、11……パルス数検出回路、12……
フリップフロップ、13……NRZ出力端、13……fCクロッ
ク出力端。FIG. 1 is a block diagram of an embodiment of the present invention, and FIG.
It is a wave form diagram of each signal of a-g of the figure. 1 …… CMI code input end, 2 …… 2f C clock input end, 3,4
...... Flip-flops, 5 ... Inversion circuits, 6 ... 1/2 divider circuits, 7,8 ... AND circuits, 9 ... Exclusive OR circuits, 10 ... Selectors, 11 ... Pulse number detection circuit , 12 ……
Flip-flop, 13 …… NRZ output, 13 …… f C clock output.
Claims (1)
する場合は“01"を、またこれを“01"と変換する場合は
“10"をCMI符号から検出する手段と、CMI符号速度のク
ロック信号を1/2分周する手段と、この分周されたクロ
ックとその反転クロックを出力させる手段と、前記検出
手段で検出された“01"又は“10"の信号に基づいてそれ
ぞれパルスを出力する手段と、これらの出力されたパル
ス数を計数し、かつ計数されたパルス数の比較を行って
CMI符号の復号位相を判定し、判定された位相により分
周クロックの位相を選択する手段とを備え、この選択さ
れた位相の分周クロックで同期をとってCMI符号を復号
するように構成したことを特徴とするCMI復号化回路。1. A means for detecting "01" from a CMI code when the CMI coding rule converts "0" of an NRZ code into "10", and when converting this into "01". And a means for dividing the clock signal of the CMI code rate into 1/2, a means for outputting the divided clock and its inverted clock, and a "01" or "10" signal detected by the detecting means. And a means for outputting each pulse based on the above, and counting the number of these output pulses, and comparing the counted number of pulses.
And a means for determining the decoding phase of the CMI code and selecting the phase of the divided clock according to the judged phase, and configured to decode the CMI code in synchronization with the divided clock of this selected phase. A CMI decoding circuit characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63225418A JPH07120952B2 (en) | 1988-09-08 | 1988-09-08 | CMI decoding circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63225418A JPH07120952B2 (en) | 1988-09-08 | 1988-09-08 | CMI decoding circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0273724A JPH0273724A (en) | 1990-03-13 |
| JPH07120952B2 true JPH07120952B2 (en) | 1995-12-20 |
Family
ID=16829061
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63225418A Expired - Lifetime JPH07120952B2 (en) | 1988-09-08 | 1988-09-08 | CMI decoding circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07120952B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0817323B2 (en) * | 1992-10-22 | 1996-02-21 | 日本電気株式会社 | Phase comparison circuit |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5558646A (en) * | 1978-10-27 | 1980-05-01 | Hitachi Ltd | Conversion system of phase division code to nrz code |
| JPS59144248A (en) * | 1983-02-08 | 1984-08-18 | Nec Corp | Cmi encoding and decoding circuit |
-
1988
- 1988-09-08 JP JP63225418A patent/JPH07120952B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0273724A (en) | 1990-03-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4606050A (en) | System for detecting and recovering a transmitted signal | |
| JPH0770991B2 (en) | Clock reproduction circuit | |
| US4862482A (en) | Receiver for Manchester encoded data | |
| EP0146609A1 (en) | Manchester decoder | |
| JPH07120952B2 (en) | CMI decoding circuit | |
| JP2627890B2 (en) | Decoding circuit | |
| JPH0644756B2 (en) | Synchronous clock generation circuit | |
| JPH0738535A (en) | Noise removal circuit | |
| JPS642306B2 (en) | ||
| JPS6213747B2 (en) | ||
| JP3397829B2 (en) | Phase detection circuit | |
| SU1640826A1 (en) | Manchester code adaptive decoder | |
| JP2894705B2 (en) | Synchronous signal multiplex transmission method | |
| KR920004447B1 (en) | User Bit Detection Circuit of Receive Data of Digital Audio Interface | |
| JPH0227850A (en) | Clock asynchronous data detector | |
| JPH0450777B2 (en) | ||
| SU1401630A1 (en) | Phase synchronization device | |
| JPH0588577B2 (en) | ||
| JPH08181683A (en) | Code conversion circuit | |
| JPH0568136B2 (en) | ||
| JPH0487431A (en) | Signal receiving equipment | |
| JPH0618355B2 (en) | Multiplex transmission system | |
| JPH10308082A (en) | Data separator | |
| JPH01241246A (en) | Digital signal detection circuit | |
| JPH08204692A (en) | Transmission signal clock timing extraction method |