JPS6070848A - Code converting circuit - Google Patents

Code converting circuit

Info

Publication number
JPS6070848A
JPS6070848A JP58178000A JP17800083A JPS6070848A JP S6070848 A JPS6070848 A JP S6070848A JP 58178000 A JP58178000 A JP 58178000A JP 17800083 A JP17800083 A JP 17800083A JP S6070848 A JPS6070848 A JP S6070848A
Authority
JP
Japan
Prior art keywords
output
input
flip
flop
code
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
JP58178000A
Other languages
Japanese (ja)
Inventor
Katsumasa Ono
小野 勝正
Naofumi Nagai
直文 永井
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
Nippon Telegraph and Telephone Corp
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone Corp
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, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP58178000A priority Critical patent/JPS6070848A/en
Publication of JPS6070848A publication Critical patent/JPS6070848A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4906Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes
    • H04L25/4908Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes
    • H04L25/491Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes using 1B2B codes
    • H04L25/4912Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using binary codes using mBnB codes using 1B2B codes using CMI or 2-HDB-3 code

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To realize CMI/NRZ code conversion with high reliability and simple circuit constitution by allowing a circuit converting the CMI code into the NRZ code to perform the detection of violation bit. CONSTITUTION:When the CMI code is inputted to a terminal 1, each delay clock signal is inputted from terminals 2, 3. An NRZ signal is outputted to a terminal 5 by flip-flops 7-9 and an AND circuit 12. A violation bit is outputted from a terminal 6 by a violation circuit comprising flip-flops 10, 11, an AND circuit 13, exclusive OR circuit 14, and an OR circuit 15.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、符号変換回路に係り、さらに詳しく述べると
、内線伝送システムにおいて、アイジタル内線伝送に用
いられるC :vl I符号をINRZ符号に変換する
のに好適な符号変換回路に関す第1図はC1vlI符号
列にバイオレーションピットが加わった場合のタイムチ
ャートであって図中、AはNRZ符号 BはNRZ符号
をCMI符号に変換したものを示しである。図示の如く
NRZ符号Aの11″符号が、CM I符号化された場
合にけゝ1“と″0“の符号が交番して出力されるが、
バイオレーションが加わった場合には符号N″1“と1
0“かくずれ、1%1/′、′1“、まだは′0″、″
″0“と続く符号列となり、通常の変換則と違った変換
を行なう。なお、破線Cはバイオレーションが加わらな
い場合の理想的なCMI符号列である。第1図に示すよ
うに、CMI符号にバイオレーションが加わった場合、
それを検出し、交番がくずれたことを適確に検出し訂正
しなければならないが、それを構成する回路は複雑で、
コスト高になるという欠点があった。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a code conversion circuit, and more specifically, in an extension transmission system, converts a C:vl I code used for digital extension transmission into an INRZ code. FIG. 1 is a time chart of a code conversion circuit suitable for the C1vlI code string when a violation pit is added to the C1vlI code string. It is. As shown in the figure, when the 11" code of the NRZ code A is CM I encoded, the codes of "1" and "0" are alternately output.
If a violation is added, the code N″1″ and 1
0" collapse, 1% 1/', '1", still '0'',''
It becomes a code string that continues with "0", and the conversion is performed differently from the normal conversion rule. Note that the broken line C is an ideal CMI code string when no violation is added. As shown in Figure 1, when a violation is added to the CMI code,
It is necessary to detect this, accurately detect and correct the breakdown of the alternating box, but the circuit that makes up this is complex.
The disadvantage was that the cost was high.

また、符号変換回路とバイオレーション検出回路とは別
々に構成するものであって、やはり複雑なものとなって
いた。
Furthermore, the code conversion circuit and the violation detection circuit are constructed separately, and are still complicated.

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

本発明は、前述の要求に応じ、小形、安価で簡単な回路
構成で符号変換ができ、併せてバイオレーションビット
検出が可能な(1\i I符号をN RZ符号に変換す
る回路を提供することを目的とする。
In response to the above-mentioned requirements, the present invention provides a circuit that is capable of code conversion with a small, inexpensive, and simple circuit configuration, and is also capable of detecting violation bits (1ZI code to NRZ code). The purpose is to

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

本発明は、crν’1 ■符号をデータ端子入力とじ該
CMI符号と同期したクロック信号より1/4周期遅れ
たクロック信号をクロック端子に入力した第1の7リツ
プフロツプ(7)と、CMI符号をデータ端子入力とし
、該CiVI I符号と同IUjl。
The present invention consists of a first 7-lip-flop (7) which inputs a crν'1 code into a data terminal and inputs into its clock terminal a clock signal delayed by 1/4 period from a clock signal synchronized with the CMI code; The data terminal input is the same IUjl as the CiVI I code.

たクロック信号より3/4周期遅れたクロック信号をク
ロック端子に入力した第2のフリップフロップ(8)と
、第1のフリップフロップ(7)のC出力と第2の7リ
ツプフロツプ(8)のC出力の論理積出力をデータ端子
入力とし、煮出力を1”J RZ符号出力とすると共に
、クロック端子にクロック信号入力がなされる第6のフ
リップフロップ(9)と、前記CMI信号と同期したク
ロックより1/4周期遅れたクロック信号と前記4+5
の7リツプフロツプ(9)のφ出力との論理オ、”(出
方をクロック信号入力とし、前記第2のフリップフロッ
グのC出力をデータ入力とした第4のフリップフロッグ
(10)と、該第4のフリップフロップ(10)のC出
力と第2の7リツプフロツプのC出力の排他的論理オロ
をとり、その出力と第5のフリップフロッグ(9)への
入力データとの論理和出力をデータ入力とすると共に、
クロック端子にクロック信号入力がなされ、出力頁をバ
イオレーション検出信号とする第5のフリップフロップ
(11)とから構成されることを特徴とする符号変換回
路である。
The second flip-flop (8) inputs a clock signal delayed by 3/4 period from the clock signal input to the clock terminal, and the C output of the first flip-flop (7) and the C output of the second 7-lip-flop (8). A sixth flip-flop (9) whose AND output is used as a data terminal input, and whose output is used as a 1" J RZ code output, and a clock signal is input to its clock terminal, and a clock synchronized with the CMI signal. The clock signal delayed by 1/4 period and the 4+5
A fourth flip-flop (10) whose output is a clock signal input and whose C output of the second flip-flop is a data input; Take the exclusive logical OR of the C output of the 4th flip-flop (10) and the C output of the 2nd 7 flip-flop, and use the OR output of the output and the input data to the 5th flip-flop (9) as data input. In addition,
This code conversion circuit is characterized by comprising a fifth flip-flop (11) to which a clock signal is input to a clock terminal and whose output page is a violation detection signal.

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

以下、第2図、第6図に従って本発明の一実施例を説明
する。第2図はその具体的な回路構成を示!〜たもので
あって、図中、7〜11はD形のフリップフロッグ、フ
リップフロッグ7.8のD入力端子にけCMI符号1が
入力しである。
An embodiment of the present invention will be described below with reference to FIGS. 2 and 6. Figure 2 shows the specific circuit configuration! In the figure, 7 to 11 are D-type flip-frogs, and CMI code 1 is input to the D input terminal of flip-frog 7.8.

フリップフロップ7と10のクロック入力端子CKには
クロック信号4に対して1/4ビツトデイレーするクロ
ック信号2が入力され、そのうちフリップフロップ10
にはAND回路13によりフリップフロップ9のC出力
との論理私金とったものを入力しである、またフリップ
フロッグ8のクロック入力端子Ct<にけクロンフィコ
;号4に対して574ビツトテイレーしたクロック信号
3が入力しである。A N f)回路12ハ、フリップ
フロップ7の出力石と、フリップ70ツブ8の出力Qの
論理積を、E X −’OR回路14はフリップフロッ
プ8の出力Qと7リツプフロツプ1oの出力Qの排他的
論理和を、OR回路15は、AND回路12の出力とE
)’−OR回路14の出力の論理オロをとるゲート回路
である。また、フリップ70ツブ9の出力頁なる端子5
には、C!VI I符号をNRZ符号に変換1〜だ正確
な符号用′力が得られ、フリップフロップ11の出力頁
なる端子6にはバイオレーションビット出力が得られ、
その出力を処理することによってバイオレーションがあ
ったことを検知する。
Clock signal 2 delayed by 1/4 bit with respect to clock signal 4 is input to the clock input terminals CK of flip-flops 7 and 10.
The logical output of the C output of the flip-flop 9 is input to the AND circuit 13, and the clock signal obtained by delaying 574 bits from the clock input terminal Ct of the flip-flop 8 to the C output of the flip-flop 8 is inputted to the AND circuit 13. 3 is input. A N f) The circuit 12c performs the AND of the output of the flip-flop 7 and the output Q of the flip-flop 8, and the The OR circuit 15 performs an exclusive OR on the output of the AND circuit 12 and E.
)' - This is a gate circuit that takes a logical OR of the output of the OR circuit 14. In addition, the output terminal 5 of the flip 70 knob 9
C! By converting VII code to NRZ code, an accurate code power is obtained, and a violation bit output is obtained at terminal 6, which is the output page of flip-flop 11.
By processing the output, it is possible to detect a violation.

第3図(イ)〜(す)は第2図の回路動作を示すもので
あり、各回路部の入出力パルスを示しである。
3(A) to 3(S) show the operation of the circuit shown in FIG. 2, and show the input/output pulses of each circuit section.

なお、パルス波形(ロ)の1′はCM I符号入力1の
パルス波形をNRZ符号に表わしたものを示しである。
Note that 1' in pulse waveform (b) shows the pulse waveform of CMI code input 1 expressed in NRZ code.

第2図において、端子1にCM I符号入力があると同
時に、それぞれのディレィクロック信号が端子2.5よ
り入力されることによって、フリップフロップ7〜9並
びにAND回路12で構成される回路により端子5より
NRZ信号出力を得る。そして、第3図のタイムチャー
トにも示すように、フリップフロップ10.11 、A
ND回路13.zx−oa回路14.OR回路15で構
成される回路により、バイオレーション回路を構成し、
端子6よりバイオレーションピラトラ出力する。なお、
このバイオレーション回路は、NRZ符号が1″の時の
みAND回路16を開きプリップフロップ10にそのと
きの情報を印加し記憶させることによって、バイオレー
ションを検出できる様にしており、また、EX−OR回
路14の出力eOR回路15の一方の入力とし、他方の
入力としてAND回路12の出力を入力しであるので、
バイオレーション出力が1ビツトだけ出力するようにし
である。したがって、端子1より入力されたC〜)■信
号(イ)(rこバイオレーションCがあったとしても、
端子5より出力されるN RZ符号としては、バイオレ
ーションの々いものが得られ、しかも、バイオレーショ
ン出力を単独で端子6より検出できる。
In FIG. 2, when the CM I code is input to terminal 1, each delayed clock signal is input from terminal 2.5, so that the circuit consisting of flip-flops 7 to 9 and AND circuit 12 inputs the CM NRZ signal output is obtained from 5. As shown in the time chart of FIG. 3, the flip-flops 10.11, A
ND circuit 13. zx-oa circuit 14. A violation circuit is constituted by a circuit constituted by the OR circuit 15,
Violation signal is output from terminal 6. In addition,
This violation circuit can detect a violation by opening the AND circuit 16 only when the NRZ code is 1'' and applying and storing the information at that time to the flip-flop 10. Since the output of the circuit 14 is used as one input of the eOR circuit 15, and the output of the AND circuit 12 is input as the other input,
The violation output is set to output only 1 bit. Therefore, even if there is a C~)■ signal (A)(r) violation C input from terminal 1,
The NRZ code outputted from the terminal 5 has a high level of violation, and the violation output can be detected independently from the terminal 6.

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

上述の実施例からも明らかなように本発明((よれば、
簡単な回路朽成で信頒性の高いCM I符号/NRZ符
号の変換回路を得ることができるト共ニ、バイオレーシ
ョンビットの検出も単独でできるという利点もある。
As is clear from the above-mentioned examples, the present invention ((according to
In addition to being able to obtain a highly reliable CM I code/NRZ code conversion circuit with a simple circuit structure, there is also the advantage that violation bits can be detected independently.

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

第1図はCMI符号がN RZ符号に変換されたことを
説明するタイムチャート、第2図1−1l:本発明の一
実施例を示す符号変換回路の具体的な回路図、第6図は
第2図の回路jjLl1作を説明するだめのタイムチャ
ートである。 1・・CMI符号入力端子 2・・・CIVII符号に
同期したクロック信号より1/4 JId期遅れたクロ
ック信号 6・・CMI符号に同期したクロック信号よ
り3l4周期遅れたクロック信号4・・・クロック信号
 5・・・NRZ符号出力端子6・・・バイオレーショ
ン検出端子 7〜11・・・フリップフロップ 12.
13・・・AND回路 14・・・EX−OR回路 1
5・・・OR回路 菫 1 霞 C 為 Z 図 ワ 窮 3 図 (す) 6
Fig. 1 is a time chart explaining that a CMI code is converted to an N RZ code, Fig. 2 is a specific circuit diagram of a code conversion circuit showing an embodiment of the present invention, and Fig. 6 is a This is a time chart for explaining the circuit jjLl1 of FIG. 2. 1... CMI code input terminal 2... Clock signal delayed by 1/4 JId period from the clock signal synchronized with the CIVII code 6... Clock signal delayed by 3l4 periods from the clock signal synchronized with the CMI code 4... Clock Signal 5...NRZ code output terminal 6...Violation detection terminal 7-11...Flip-flop 12.
13...AND circuit 14...EX-OR circuit 1
5...OR circuit Sumire 1 Kasumi C Tame Z Diagram 3 Diagram (Su) 6

Claims (1)

【特許請求の範囲】[Claims] ディジタル信号伝送に用いるCMI符号をNRZ符号に
変換する符号変換回路において、CMI符号をデータ端
子入力とし、該CM IF号と同期したクロック信号よ
り1/4周期遅れたクロック信号をクロック端子に入力
した第1のフリップフロップ(7)と、CMI符号をデ
ータ端子入力とし、該CMI符号と同期したクロック信
号より3/4周期遅れたクロック信号をクロック端子に
入力した第2のフリップフロップ(8)と第1のフリッ
プフロップ(7)のζ出力と第2のフリップフロッグ(
8)のζ出力の論理積出力をデータ端子入力とし、算出
力をN RZ 4:、:号出力とすると共に、クロック
端子にクロック信号入力がなされる第5のフリップフロ
ッグ(9)と、前記CMI信号と同期したクロックより
1/4周期遅れたクロック信号と前記第3の7リツプフ
ロツプ(9)のζ出力との論理積出力をクロツク1言号
入力とし、前記第2のフリップフロップのζ出力をデー
タ入力とした第4のフリップフロップ(10)と、該第
4のフリップフロッグ(1Q)のζ出力と第2のフリッ
プフロッグのζ出力の排他的論岬和をとり、その出力と
第3の7リツプフロンプ(9)への入力データとの論理
和出力をデータ入力とすると共に、クロック端子にクロ
ック信号入力がなされ、出力点をバイオレーション検出
信号とする第5の7リツプフロツプ(11)とから構成
されることを%徴とする符号変換回路0
In a code conversion circuit that converts CMI codes used for digital signal transmission into NRZ codes, the CMI code is input to the data terminal, and a clock signal delayed by 1/4 period from the clock signal synchronized with the CM IF code is input to the clock terminal. A first flip-flop (7), a second flip-flop (8) which has a CMI code as its data terminal input, and has a clock terminal inputted with a clock signal delayed by 3/4 period from a clock signal synchronized with the CMI code. The ζ output of the first flip-flop (7) and the second flip-flop (
A fifth flip-frog (9) whose logical product of the ζ outputs of 8) is input as a data terminal input, the calculation output is output as N RZ 4:, :, and a clock signal is input to its clock terminal; The AND output of a clock signal delayed by 1/4 cycle from the clock synchronized with the CMI signal and the ζ output of the third 7-lip-flop (9) is used as a clock 1 word input, and the ζ output of the second flip-flop is The fourth flip-flop (10) with data input is the exclusive logical sum of the ζ output of the fourth flip-flop (1Q) and the ζ output of the second flip-flop. and a fifth 7-lip flop (11) whose data input is the OR output with the input data to the 7-lip flop (9), a clock signal is input to the clock terminal, and the output point is the violation detection signal. Code conversion circuit 0 that is configured as a % sign
JP58178000A 1983-09-28 1983-09-28 Code converting circuit Pending JPS6070848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58178000A JPS6070848A (en) 1983-09-28 1983-09-28 Code converting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58178000A JPS6070848A (en) 1983-09-28 1983-09-28 Code converting circuit

Publications (1)

Publication Number Publication Date
JPS6070848A true JPS6070848A (en) 1985-04-22

Family

ID=16040791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58178000A Pending JPS6070848A (en) 1983-09-28 1983-09-28 Code converting circuit

Country Status (1)

Country Link
JP (1) JPS6070848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS632427A (en) * 1986-06-21 1988-01-07 Nec Corp Code conversion circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS632427A (en) * 1986-06-21 1988-01-07 Nec Corp Code conversion circuit

Similar Documents

Publication Publication Date Title
KR20100060616A (en) Data transmission device, data receiving device, data transmitting system and method for transmitting data
JPS60217734A (en) Manchester decoder
US3705398A (en) Digital format converter
JPS6070848A (en) Code converting circuit
JPH0656958B2 (en) Information data restoration device
JPS62274948A (en) Frame synchronizing system
JPH0323714Y2 (en)
JPS642306B2 (en)
JPS59156049A (en) Signal detecting circuit
JPH067385Y2 (en) Interface circuit
JPS61210747A (en) Violation circuit
JPS60191542A (en) Transmitter of infrared ray air propagation data
JPS6324581B2 (en)
JP2536489B2 (en) Compressed data decoding device
JPH0129340B2 (en)
JPS5853257A (en) Digital data receiving circuit
JPS6016147B2 (en) Pulse transmission method
JPS63288521A (en) Decoder circuit for fm code
KR950004542Y1 (en) Sub-code interface circuit
JPS61227431A (en) Code converting device
JPS62168442A (en) Data error controller
JPH10215185A (en) Asynchronous read circuit for binary counter
KR840001725A (en) Digital Serial Interface with Decode Logic
JPH0335619A (en) Additional code generating method
JPS6038944A (en) Timing extraction circuit