JPS60176331A - Encoder and decoder - Google Patents
Encoder and decoderInfo
- Publication number
- JPS60176331A JPS60176331A JP3215684A JP3215684A JPS60176331A JP S60176331 A JPS60176331 A JP S60176331A JP 3215684 A JP3215684 A JP 3215684A JP 3215684 A JP3215684 A JP 3215684A JP S60176331 A JPS60176331 A JP S60176331A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- signal
- exclusive
- code
- 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.)
- Granted
Links
Landscapes
- Dc Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
発明の属する技術分野
本発明は、光フアイバ伝送方式、同軸伝送方式、データ
リンク等において送信符号を伝送に適した符号形式に変
換出力するための符号器、および該符号器によって伝送
路に送出された信号を受信して元の送信符号に復元する
復号器に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an encoder for converting and outputting a transmission code into a code format suitable for transmission in an optical fiber transmission system, a coaxial transmission system, a data link, etc.; The present invention relates to a decoder that receives a signal sent to a transmission path by a transmitter and restores it to the original transmission code.
従来技術
各種伝送方式において、零符号の連続によってタイミン
グ情報が喪失することを防止し、符号伝送特性を確保す
るために各種の符号変換が工夫されている。その1つに
DMI符号が使用されていることは公知である。これは
、送信データのl“に対しては、その半分のビット間隔
で“1.0”または“0.1”を交互に送出し、送信デ
ータの“O”に対しては’1.1”または“”o、o”
を交互に送出し、受信側では受信したDMI符号を元の
送信データに復号するようにしたものである。In various conventional transmission systems, various code conversions have been devised to prevent timing information from being lost due to consecutive zero codes and to ensure code transmission characteristics. It is well known that one of them is the DMI code. This means that "1.0" or "0.1" is sent out alternately at half the bit interval for "l" of the transmission data, and '1.1' for "O" of the transmission data. ” or “o, o”
are sent out alternately, and the receiving side decodes the received DMI code into the original transmission data.
第1図および第2図は、それぞれ従来のDMI符号器お
よびその復号器の一例を示す回路図である。すなわち、
第1図に示すように、周波数f0のクロック信号に同期
して送信符号入力端子lから入力される送信符号列In
(NRZ符号)と、f0クロック入力端子2から入力
する周波数fo 、デユーティ50%のクロック信号C
とをNOR回路3に入力させ、さらにNOR回路3の出
力信号と2f、クロック入力端子4から入力する周波数
2f、、チューティ50%のクロック信号C2とをN0
Ru路5に人力させて、NOR回路5の出力信号をl/
2分周器6に人力させ、172分周器6の出力によって
DMI符号に変換された信号列XnをDMI符号出力端
子7を介して伝送路へ送出する。FIG. 1 and FIG. 2 are circuit diagrams showing an example of a conventional DMI encoder and its decoder, respectively. That is,
As shown in FIG. 1, the transmission code string In is input from the transmission code input terminal l in synchronization with the clock signal of frequency f0.
(NRZ code), the frequency fo input from the f0 clock input terminal 2, and the clock signal C with a duty of 50%.
is input to the NOR circuit 3, and the output signal of the NOR circuit 3 and 2f, the frequency 2f input from the clock input terminal 4, and the clock signal C2 of 50% of the tutee are input to N0.
By manually inputting the Ru path 5, the output signal of the NOR circuit 5 is
The 2 frequency divider 6 is operated manually, and the signal sequence Xn converted into a DMI code by the output of the 172 frequency divider 6 is sent out to the transmission line via the DMI code output terminal 7.
受信側の復号器は、第2図に示すように、DMI符号入
力端子8から入力する受信信号列Xnと、該受信信号列
Xnを1ビット遅延回路9によって1ヒツト期間(周波
数2f0)遅延サセた信号とを排他的論理和回路10に
入力させて差分変換し、排他的論理和回路10の出力信
号Gを、1ヒツI・遅延回路11とυ11他的論理和路
12によって構成される差分変換回路によってもう1度
差分変換して、排他的論理和回路12の出力によって元
の送信符号に復元し、復号信号出力端子13から出力す
るようにしている。As shown in FIG. 2, the decoder on the receiving side receives the received signal string Xn input from the DMI code input terminal 8 and delays the received signal string Xn by one hit period (frequency 2f0) by a 1-bit delay circuit 9. The output signal G of the exclusive OR circuit 10 is input to the exclusive OR circuit 10 and the output signal G is converted into a difference signal formed by the one hit I/delay circuit 11 and the The conversion circuit performs differential conversion once more, and the output of the exclusive OR circuit 12 restores the original transmission code, which is output from the decoded signal output terminal 13.
第3図(A)〜(J)は、」1記従来の符号器および復
号器の各部信号を示すタイムチャー)・である。同図(
A)は送信符号入力端子lから入力する送信符号列In
を示し、同図(13)はf0クロック入力端子2から入
力する周波数f0のクロック信号Cを示し、同図(C)
は反転したクロック信号C′を示し、同図(D)はNO
R回路3の出力信号を、同図(E)は2f0クロツク入
力端子4から入力される周波数2f0のクロック信号C
2を示し、同図(F)はNOR回路5の出力信号を、同
図CG)はDMI符号出力端子7から出力されるDMI
変換された信号列Xnを示す。この場合、f0クロック
入力端子2から入力されるクロック信号が同図(C)に
示すような反転されたクロック信号C′である場合は、
DMI符号出力端子7から送出される符号列Xn’は同
図(H)に示すように同図(G)に示す符号列Xnの反
転されたものとなる。FIGS. 3A to 3J are time charts showing signals of each part of a conventional encoder and decoder. Same figure (
A) is the transmission code string In input from the transmission code input terminal l.
, and (13) in the same figure shows the clock signal C of frequency f0 input from the f0 clock input terminal 2, and (C) in the same figure shows
shows the inverted clock signal C', and (D) in the same figure shows the inverted clock signal C'.
The output signal of the R circuit 3 is shown in FIG.
2, (F) in the figure shows the output signal of the NOR circuit 5, and (CG) in the same figure shows the DMI signal output from the DMI code output terminal 7.
A converted signal sequence Xn is shown. In this case, if the clock signal input from the f0 clock input terminal 2 is an inverted clock signal C' as shown in FIG.
The code string Xn' sent out from the DMI code output terminal 7 is an inverted version of the code string Xn shown in (G) of the same figure, as shown in FIG.
同図(I)は符号列XnまたはXn’が(第2図の)D
MI’符号入力端子8から入力した場合のυ11他的論
理和路jOの出力信号Gを示す。すなわち、第1図のD
MI符号器でクロック信号Cの位相が反転した場合でも
、第2図の復号器の排他的論理和回路10の出力信号G
は同じである。そして、杉1他的論理和回路12の出力
には同図(J)に示すような復号された信号Hが現れる
。Figure (I) shows that the code string Xn or Xn' is D (in Figure 2).
The output signal G of the υ11 transitive OR circuit jO when input from the MI' code input terminal 8 is shown. In other words, D in Figure 1
Even if the phase of the clock signal C is reversed in the MI encoder, the output signal G of the exclusive OR circuit 10 of the decoder in FIG.
are the same. Then, at the output of the Sugi1 alistic OR circuit 12, a decoded signal H as shown in (J) of the same figure appears.
上述の従来の符号器は、送信符号を2倍の周波数のクロ
ック信号C2を用いて処理する必要があり、動作速度の
点で不利となるという欠点がある。また、復号器では、
出力の不確足性を除去するために差分変換を2回行なう
必要があるため回路規模が大きくなるという欠点がある
。The conventional encoder described above has the disadvantage that it is necessary to process the transmitted code using the clock signal C2 of twice the frequency, which is disadvantageous in terms of operating speed. Also, in the decoder,
Since it is necessary to perform differential conversion twice in order to eliminate uncertainty in the output, there is a drawback that the circuit scale becomes large.
発明の目的
本発明の目的は、上述の従来の欠点を解決し、送信符号
の2倍の周波数のクロック信号を使用することなく、”
o ”連続を防止した符号に変換して送出し、受信側
では確実に元の符号に復元することが可能な符号器およ
び復号器を提供することにある。OBJECTS OF THE INVENTION It is an object of the present invention to solve the above-mentioned drawbacks of the prior art and to provide a clock signal with a frequency twice that of the transmitted code.
The object of the present invention is to provide an encoder and a decoder that can convert the code into a code that prevents continuity and send it out, and that can reliably restore the original code on the receiving side.
発明の構成
本発明の符号器は、クロック信号に同期して人力する送
信符号の和分変換を行なう和分変換回路と、該和分変換
回路の出力信号と前記クロック信号とのυ1他的論理和
を出力する排他的論理和回路とを備えたことを特徴とす
る。Structure of the Invention The encoder of the present invention includes a summation conversion circuit that performs summation conversion of a manually generated transmission code in synchronization with a clock signal, and a υ1-alternative logic between the output signal of the summation conversion circuit and the clock signal. The present invention is characterized by comprising an exclusive OR circuit that outputs a sum.
また、本発明の復号器は、入力信号とクロック信号とを
入力する排他的論理和回路と、該排他的論理和回路の出
力信号を差分変換する差分変換回路とを備えて、該差分
変換回路の出力によって入力信号を復号した元の符号を
得ることを特徴とする。Further, the decoder of the present invention includes an exclusive OR circuit that inputs an input signal and a clock signal, and a difference conversion circuit that differentially converts an output signal of the exclusive OR circuit. It is characterized in that the original code obtained by decoding the input signal is obtained by the output of the input signal.
発明の実施例
次に、本発明について、図面を参照して詳細に説明する
。Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings.
第4図は、本発明の一実施例の符号器を示す回路図であ
る。すなわち、周波数f0のクロック信号に同期して送
信符号入力端子14から入力されるNRZ符号の符号列
Inを排他的論理和回路15の一方の入力に入力させ、
排他的論理和回路15のもう一方の入力には、該排他的
論理和回路15の出力を1ビット遅延回路1Gによって
1ビット期間遅延させた信号を入力させる。」;記排他
的論理和回路15と1ビツト遅延回路18とで和分変換
回路を構成している。該和分変換回路の出力信号Snと
、f0クロック入力端子17かも入力される周波数f0
、チューティ50%のクロック信号Cとを排他的論理
和回路18に入力させ、上記両入力の排他的論理和をと
って送信信号出力端子18に出力する。送信信号出力端
子18かも出力される信号列Xnは°°O゛連続が防止
された符号列である。本実施例は、第1図に示した従来
の符号器のように1周波数2f、のクロックで動作5せ
る必要がないから、動作速度上有利になるという効果が
ある。FIG. 4 is a circuit diagram showing an encoder according to an embodiment of the present invention. That is, the code string In of the NRZ code inputted from the transmission code input terminal 14 in synchronization with the clock signal of frequency f0 is inputted to one input of the exclusive OR circuit 15,
The other input of the exclusive OR circuit 15 is supplied with a signal obtained by delaying the output of the exclusive OR circuit 15 by a 1 bit period by a 1 bit delay circuit 1G. The exclusive OR circuit 15 and the 1-bit delay circuit 18 constitute a sum conversion circuit. The output signal Sn of the summing conversion circuit and the frequency f0 which is also input to the f0 clock input terminal 17
, and the clock signal C with a 50% duty ratio are input to the exclusive OR circuit 18, and the exclusive OR circuit 18 calculates the exclusive OR of both inputs and outputs the result to the transmission signal output terminal 18. The signal string Xn that is also output from the transmission signal output terminal 18 is a code string that is prevented from being continuous. This embodiment has an advantage in operating speed because it does not need to operate with a clock of 1 frequency 2f unlike the conventional encoder shown in FIG.
第5図は、本発明の一実施例の復号器を示す回路図であ
る。すなわち、受信信号入力端子20から入力される符
号列Xnとf0クロック入力端子21から入力される周
波数f0のクロック信号Cとを排他的論理和回路22に
入力させ、排他的論理和回路22の出力信号Rnを排他
的論理和回路24とlビット遅延回路23とから構成さ
れる差分変換回路によって差分変換して、元の符号列I
nを復元する。この復号器は、第2図に示した従来例の
ように差分変換を2回行なわないため回路が簡易化され
るという効果がある。FIG. 5 is a circuit diagram showing a decoder according to an embodiment of the present invention. That is, the code string Xn input from the received signal input terminal 20 and the clock signal C of frequency f0 input from the f0 clock input terminal 21 are input to the exclusive OR circuit 22, and the output of the exclusive OR circuit 22 is The signal Rn is differentially converted by a difference conversion circuit consisting of an exclusive OR circuit 24 and an l-bit delay circuit 23, and is converted into the original code string I.
Restore n. This decoder has the effect of simplifying the circuit because it does not perform differential conversion twice as in the conventional example shown in FIG.
次に、第6図を参照して、本実施例の動作について説明
する。第6図は、上記実施例の各部信号を示すタイムチ
ャートである。今、第6図(A)に示すようなNRZ符
号列Inが前記排他的論理和回路15に入力されると、
排他的論理和回路15の出力、すなわち和分変換回路の
出力信号Snは同図(B)に示すようになる。この符号
列Snと同図(C)に示すような周波数f。のクロック
信号との排他的論理和は同図(E)に示すような符号列
Xnとなる。この94号列Xnが、第5図に示す受信側
の復号器に入力されると、排他的論理和回路22の出力
Rnは第6図(F)に示すようになる。従って、該信号
を差分変換した符号列Inノよ、同図(H)に示すよう
になる。これは、元の送信符号列と回じである。ここで
、符号器と復号器のクロック信号の位相同期が180°
ずれて、排他的論理和回路18に入力するクロック信号
C′が第6図(D)に示すようになったときは、υ1他
的論理和回路22の出力Rn ′は、同図(G)に示す
ように前記Rnの極性が反転したfq号列となる。Next, the operation of this embodiment will be explained with reference to FIG. FIG. 6 is a time chart showing signals of each part in the above embodiment. Now, when the NRZ code string In as shown in FIG. 6(A) is input to the exclusive OR circuit 15,
The output of the exclusive OR circuit 15, ie, the output signal Sn of the sum conversion circuit, is as shown in FIG. This code string Sn and the frequency f as shown in the same figure (C). The exclusive OR with the clock signal results in a code string Xn as shown in FIG. When this No. 94 column Xn is input to the receiving side decoder shown in FIG. 5, the output Rn of the exclusive OR circuit 22 becomes as shown in FIG. 6(F). Therefore, the code string In obtained by differentially converting the signal becomes as shown in FIG. This is the same as the original transmission code string. Here, the phase synchronization of the encoder and decoder clock signals is 180°
When the clock signal C' input to the exclusive OR circuit 18 shifts as shown in FIG. 6(D), the output Rn' of the υ1 passive OR circuit 22 becomes as shown in FIG. As shown in , the fq sequence is obtained with the polarity of Rn inverted.
しかし、該符号列Rn ’を差分変換した信号は、やは
り同図(H)にン卜すようになり、送信側の符号列が正
しく復号される。従って、本実施例の勾号器および復号
器を使用すれば、クロックの位相検出制御をする必要が
なく、そのだめの回路か不要となるため回路の大幅な簡
易化が達成される。However, the signal obtained by differentially converting the code string Rn' is still shown in (H) in the same figure, and the code string on the transmitting side is correctly decoded. Therefore, if the gradient encoder and decoder of this embodiment are used, there is no need to perform clock phase detection control and no additional circuit is required, resulting in a significant simplification of the circuit.
発明の効果
以1−のように、本発明においては、送信符号列を和分
変換した信号とクロック信号との刊他的論理和を出力す
るように符号器を構成し、受信側では、入力(M号とク
ロック信号との排他的論理和をとった信号を差分変換す
ることによって元の右号列を復元するように復号器を構
成したから、本符号器および復号器を使用すれば、符号
器と復号器間のクロック信号の位相が反転しても正しい
復号を行なうことが可能である。このため、クロックの
位相検出をして正しい情報符号列を出力するだめの複雑
な回路は不要であり、簡単な回路で正しく情報を伝送で
きるという効果かある。また、本発明の符号器および復
号器は、いずれも送信符号列のビット間隔と同し周波数
のクロック信号によって動作するものであり、従来のよ
うに2倍の周波数のクロック信号を使用する必要がなく
、動作速度−1−極めて有利となる。Effects of the Invention As described in 1-, in the present invention, the encoder is configured to output the logical OR of the signal obtained by adding and converting the transmission code string and the clock signal, and on the receiving side, the input (Since the decoder is configured to restore the original right code sequence by differentially converting the signal obtained by taking the exclusive OR of the M code and the clock signal, if this encoder and decoder are used, Correct decoding is possible even if the phase of the clock signal between the encoder and decoder is reversed.Therefore, there is no need for a complicated circuit to detect the phase of the clock and output the correct information code string. This has the effect of correctly transmitting information with a simple circuit.Furthermore, both the encoder and decoder of the present invention are operated by a clock signal having the same frequency as the bit interval of the transmission code string. , it is not necessary to use a clock signal of twice the frequency as in the conventional case, and the operating speed is extremely advantageous.
第1図は従来のDMI符号器の一例を示す回路図、第2
図は従来のDMI復号器の一例を示す回路図、第3図は
上記従来例の各部信号を示すタイムチャート、第4図は
本発明の符号器の一実施例を示す回路図、第5図は本発
明の復号器の一実施例を示す回路図、第6図は上記実施
例の各部信号を示すタイムチャー1・である。
図において、1:送信符号入力端子、2:f0クロック
入力端子、3 : NOR回路、4:2f。
クロツタ入力端子、5:NO’R回路、6 : 1/2
分周器、7nDMI勾号出力端子、8 : DMI符号
入力端子、9.If:1ビツト遅延回路、10゜+2.
15.18,22,24:排他的論理和回路、13二復
号信号出力端子、14:送信符号入力端子、18.23
=1ビット遅延回路、17,21:、f、クロック入力
端子、19:送信信号出力端子、20:受信信号入力端
子、25:復号信号出力端子。
出願人 日本電信電話公社
代理人 弁理士 住田俊宗
第1図
;/3’ 201Figure 1 is a circuit diagram showing an example of a conventional DMI encoder, Figure 2 is a circuit diagram showing an example of a conventional DMI encoder;
FIG. 3 is a circuit diagram showing an example of a conventional DMI decoder, FIG. 3 is a time chart showing various signals of the conventional example, FIG. 4 is a circuit diagram showing an embodiment of the encoder of the present invention, and FIG. 6 is a circuit diagram showing one embodiment of the decoder of the present invention, and FIG. 6 is a time chart 1 showing signals of various parts of the above embodiment. In the figure, 1: transmission code input terminal, 2: f0 clock input terminal, 3: NOR circuit, 4: 2f. Crochet input terminal, 5: NO'R circuit, 6: 1/2
Frequency divider, 7nDMI gradient output terminal, 8: DMI sign input terminal, 9. If: 1-bit delay circuit, 10°+2.
15.18, 22, 24: Exclusive OR circuit, 132 decoded signal output terminal, 14: Transmission code input terminal, 18.23
=1-bit delay circuit, 17, 21:, f, clock input terminal, 19: transmission signal output terminal, 20: reception signal input terminal, 25: decoded signal output terminal. Applicant Nippon Telegraph and Telephone Public Corporation Agent Patent Attorney Toshimune Sumita Figure 1; /3' 201
Claims (2)
分変換を行なう和分変換回路と、該和分変換回路の出力
信号と前記クロック信号との排他的論理和を出力する排
他的論理和回路とを備えたことを特徴とする符号器。(1) A summation conversion circuit that performs summation conversion of a transmission code input in synchronization with a clock signal, and an exclusive OR that outputs an exclusive OR of the output signal of the summation conversion circuit and the clock signal. An encoder characterized by comprising a circuit.
理和回路と、該排他的論理和回路の出力信号を差分変換
する差分変換回路とを備えて、該差分変換回路の出力に
よって入力信号を復号した元の符号を得ることを特徴と
する復号器。(2) An exclusive OR circuit that manually inputs an input signal and a clock signal, and a differential conversion circuit that differentially converts the output signal of the exclusive OR circuit, and converts the input signal by the output of the differential conversion circuit. A decoder characterized in that it obtains a decoded original code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3215684A JPH0612880B2 (en) | 1984-02-22 | 1984-02-22 | Decoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3215684A JPH0612880B2 (en) | 1984-02-22 | 1984-02-22 | Decoder |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4686692A Division JPH0575473A (en) | 1992-03-04 | 1992-03-04 | Encoder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60176331A true JPS60176331A (en) | 1985-09-10 |
| JPH0612880B2 JPH0612880B2 (en) | 1994-02-16 |
Family
ID=12351056
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3215684A Expired - Lifetime JPH0612880B2 (en) | 1984-02-22 | 1984-02-22 | Decoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0612880B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02149029A (en) * | 1988-11-30 | 1990-06-07 | Nec Home Electron Ltd | Jitterless single-wire two-way optical transmission equipment |
| JP2013211921A (en) * | 2009-07-28 | 2013-10-10 | Panasonic Corp | Communication system and communication terminal |
-
1984
- 1984-02-22 JP JP3215684A patent/JPH0612880B2/en not_active Expired - Lifetime
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02149029A (en) * | 1988-11-30 | 1990-06-07 | Nec Home Electron Ltd | Jitterless single-wire two-way optical transmission equipment |
| JP2013211921A (en) * | 2009-07-28 | 2013-10-10 | Panasonic Corp | Communication system and communication terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0612880B2 (en) | 1994-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5127023A (en) | Retiming decoder/encoder | |
| US4524462A (en) | System for jointly transmitting high-frequency and low-frequency digital signals over a fiber-optical carrier | |
| US4325053A (en) | Method and a circuit for decoding a C.M.I. encoded binary signal | |
| US6396877B1 (en) | Method and apparatus for combining serial data with a clock signal | |
| EP0066620B1 (en) | Circuit for clock recovery | |
| EP0379279A2 (en) | Data transmission synchroniser | |
| JPS60176331A (en) | Encoder and decoder | |
| US4928289A (en) | Apparatus and method for binary data transmission | |
| JPH03270526A (en) | Error inflection suppressing system in differential encoding | |
| JPH02274139A (en) | Data transmission system | |
| JPS59123337A (en) | Frame synchronizing system | |
| JP2668968B2 (en) | Frame synchronization method | |
| JPH0575473A (en) | Encoder | |
| RU2206181C1 (en) | Data coding/decoding device | |
| JPS59163937A (en) | Decoding system of digital code | |
| RU2214044C1 (en) | Data coding/decoding device | |
| SU1223385A1 (en) | Communication system with multibase coding | |
| JPH0123016B2 (en) | ||
| GB1417325A (en) | Method of indicating slippage during data transmission | |
| JPS6324581B2 (en) | ||
| JPH0558299B2 (en) | ||
| SU1615769A1 (en) | Device for receiving data | |
| JPS63139428A (en) | Manchester code decoder circuit | |
| JPH0531973B2 (en) | ||
| JPS59163938A (en) | System for detecting code error |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |