JPH02207621A - Decoder circuit - Google Patents

Decoder circuit

Info

Publication number
JPH02207621A
JPH02207621A JP2748689A JP2748689A JPH02207621A JP H02207621 A JPH02207621 A JP H02207621A JP 2748689 A JP2748689 A JP 2748689A JP 2748689 A JP2748689 A JP 2748689A JP H02207621 A JPH02207621 A JP H02207621A
Authority
JP
Japan
Prior art keywords
signal
pulse
code
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.)
Granted
Application number
JP2748689A
Other languages
Japanese (ja)
Other versions
JPH088492B2 (en
Inventor
Yukio Suda
幸夫 須田
Takenao Takemura
竹村 健直
Satoshi Owada
聡 大和田
Toru Kosugi
亨 小杉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2748689A priority Critical patent/JPH088492B2/en
Publication of JPH02207621A publication Critical patent/JPH02207621A/en
Publication of JPH088492B2 publication Critical patent/JPH088492B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To detect a correct BnZS code and to convert the code to an NRZ code by comparing an output signal from an output step near the shift position of a second violation pulse with a detection signal from a detection circuit when a first violation pulse is detected an identifying whether the pulse is erroneous pulse or not. CONSTITUTION:First and second shift registers 1 and 2 are equipped with the number of shift steps corresponding to an (n) bit of the BnZS code and in a condition that a negative polarity signal is shifted to the shift registers 1 and 2 next to a positive polarity signal, a detection circuit 3 judges the signal as a regular bipolar signal. When the positive polarity signal is continuously shifted next to the positive polarity signal or the negative polarity signal is continuously shifted next to the negative polarity signal, the circuit 3 judges the pulse as the violation pulse. By using the output signal from the output step near the shift position of the second violation pulse by the first and second shift registers 1 and 2 when the first violation pulse is detected by the detection circuit 3, a comparator circuit 5 detects the presence and absence of the mixing of the erroneous pulse. Thus, concerning the correct BnZS code, it can be defined as the unipolar signal of the NRZ code.

Description

【発明の詳細な説明】 〔概要〕 BnZS符号を検出してバイオレーションパルスを除去
し、NRZ符号に変換するデコーダ回路に関し、 正しいBnZS符号を検出してNRZ符号に変換するこ
とを目的とし、 BnZS符号の受信バイポーラ信号を正極性信号と負極
性信号とに分離してそれぞれシフトする第1.第2のシ
フトレジスタと、該第1.第2のシフトレジスタの所定
段からの出力信号により第1のバイオレーションパルス
を検出する検出回路と、該検出回路により第1のバイオ
レーションパルスを検出した時点の前記第1.第2のシ
フトレジスタの複数段の出力信号からBnZS符号を検
出して、前記受信バイポーラ信号をNRZ符号のユニポ
ーラ信号に変換して出力する検出出力部とからなるデコ
ーダ回路に於いて、前記検出回路により前記第1のバイ
オレーションパルスを検出した時点に於ける前記第1.
第2のシフトレジスタの第2のバイオレーションパルス
のシフト位置近傍の出力段からの出力信号と、前記検出
回路からの検出信号とを比較して、誤りパルスか否か識
別する比較回路を設けて構成した。
[Detailed Description of the Invention] [Summary] Regarding a decoder circuit that detects a BnZS code, removes violation pulses, and converts it into an NRZ code, the present invention aims to detect a correct BnZS code and convert it into an NRZ code. The first step separates the received bipolar signal of the code into a positive polarity signal and a negative polarity signal and shifts them respectively. a second shift register; a detection circuit that detects a first violation pulse based on an output signal from a predetermined stage of a second shift register; In a decoder circuit comprising a detection output section that detects a BnZS code from output signals of a plurality of stages of a second shift register and converts the received bipolar signal into a unipolar signal of an NRZ code and outputs it, the detection circuit The first violation pulse at the time when the first violation pulse is detected.
A comparison circuit is provided that compares the output signal from the output stage near the shift position of the second violation pulse of the second shift register with the detection signal from the detection circuit to determine whether or not it is an error pulse. Configured.

〔産業上の利用分野〕[Industrial application field]

本発明は、BnZS符号を検出してバイオレーションパ
ルスを除去し、NRZ符号に変換するデコーダ回路に関
するものである。
The present invention relates to a decoder circuit that detects a BnZS code, removes violation pulses, and converts it into an NRZ code.

バイポーラ信号は、例えば、“1”を交互に正極性信号
と負極性信号とに変換し、“0”はOレベルとするもの
であり、従って、“0″が連続する場合は、バイポーラ
信号はθレベルの連続となるから、受信側ではクロック
信号の抽出ができないことになる。そこで、送信側では
、nビットの“0′連続毎にバイオレーションパルスを
挿入するBnZS符号が使用されている。それにより、
受信側ではバイポーラ信号の変化点が多くなるから、ク
ロック信号の抽出が容易となる。しかし、挿入されたバ
イオレーションパルスを除去する必要があり、その為に
デコーダ回路が設けられている。このデコーダ回路は、
誤りなくBnZS符号を検出することが必要である。
In a bipolar signal, for example, "1" is alternately converted into a positive polarity signal and a negative polarity signal, and "0" is set to O level. Therefore, when "0" continues, the bipolar signal is Since the θ level is continuous, the receiving side cannot extract the clock signal. Therefore, on the transmitting side, a BnZS code is used that inserts a violation pulse every time n bits of "0" are consecutive.
On the receiving side, the bipolar signal has many changing points, making it easier to extract the clock signal. However, it is necessary to remove the inserted violation pulse, and a decoder circuit is provided for this purpose. This decoder circuit is
It is necessary to detect BnZS codes without error.

〔従来の技術〕[Conventional technology]

BnZS符号のn−8としたB8ZS符号の従来例のデ
コーダ回路は、例えば、第4図に示す構成を有するもの
であり、Fil〜F18.F21〜F28は第1.第2
のシフトレジスタを構成するフリップフロップ、F29
はB8ZS符号検出によりセットされるフリップフロッ
プ、F30は出力用のフリップフロップ、11〜13は
インバータ、14〜21はナンド回路、22はアンド回
路、23は出力端子である。
A conventional decoder circuit for the B8ZS code with n-8 of the BnZS code has the configuration shown in FIG. 4, for example, and has the configuration shown in FIG. F21 to F28 are the first. Second
F29 is a flip-flop that constitutes the shift register of
is a flip-flop set by B8ZS code detection, F30 is an output flip-flop, 11 to 13 are inverters, 14 to 21 are NAND circuits, 22 is an AND circuit, and 23 is an output terminal.

B8ZS符号のバイポーラ信号は、図示を省略したバイ
ポーラ・ユニポーラ変換部により、正極性信号PSと負
極性信号NSとに分離されて、それぞれシフトレジスタ
を構成するフリップフロップFi1.F21のデータ端
子りに加えられる。
The bipolar signal of the B8ZS code is separated into a positive polarity signal PS and a negative polarity signal NS by a bipolar/unipolar converter (not shown), and each of them is sent to a flip-flop Fi1. It is added to the data terminal of F21.

又受信バイポーラ信号から抽出されたクロック信号CL
Kがインバータ11.12を介してフリップフロップF
il〜F1B、F21〜F2B、F30のクロック端子
Cに、更にインバータ13を介してフリップフロップF
29のクロック端子Cにそれぞれ加えられる。
Also, the clock signal CL extracted from the received bipolar signal
K is connected to flip-flop F through inverters 11 and 12.
The flip-flop F is further connected to the clock terminal C of il~F1B, F21~F2B, and F30 via the inverter 13.
29 clock terminals C, respectively.

従って、正極性信号PSはフリップフロップF11〜F
18からなる第1のシフトレジスタに順次シフトされ、
又負極性信号NSはフリップフロップF21〜2日から
なる第2のシフトレジスタに順次シフトされる。又ナン
ド回路14〜17によりバイオレーションパルスを検出
する検出回路が構成されている。又ナンド回路18〜2
1と、フリップフロップF29.F30と、アンド回路
22とにより検出出力部が構成されている。
Therefore, the positive polarity signal PS is applied to the flip-flops F11-F.
are sequentially shifted into a first shift register consisting of 18,
Further, the negative polarity signal NS is sequentially shifted to a second shift register consisting of flip-flops F21-2. Further, the NAND circuits 14 to 17 constitute a detection circuit for detecting violation pulses. Also, NAND circuit 18-2
1 and a flip-flop F29. F30 and the AND circuit 22 constitute a detection output section.

初期設定信号Is(“0”)により、検出回路のナンド
回路14.15によるラッチ部と、フリップフロップF
30とはリセットされ、又切替信号ABSを“0”とす
るとAMI符号のデコード機能となり、“1′とすると
B8ZS符号のデコード機能となる。
The initial setting signal Is (“0”) causes the latch section by the NAND circuit 14 and 15 of the detection circuit and the flip-flop F
30 is reset, and when the switching signal ABS is set to "0", it becomes an AMI code decoding function, and when it is set to "1', it becomes a B8ZS code decoding function.

第5図は動作説明図であり、(a)はクロック信号CL
K、(b)はB8ZS符号のバイポーラ信号を示す、デ
ータビットDBの後に、ビットB1〜B8が連続“0゛
の場合、送信側では、ビン)B4を第1のバイオレーシ
ョンパルス■、ビットB5を第1のバイポーラ則パルス
B、ビットB7を第2のバイオレーションパルスv1ビ
ットBBを第2のバイポーラ則パルスBとして挿入する
ものであり、データビットDBが正極性信号の場合に、
(b)に示すバイポーラ信号となるから、正極性信号P
Sは(C)、負極性信号NSは(d)に示すものとなる
FIG. 5 is an explanatory diagram of the operation, and (a) shows the clock signal CL.
K, (b) shows a bipolar signal of B8ZS code. After the data bit DB, if bits B1 to B8 are consecutive "0", on the transmitting side, bin) B4 is used as the first violation pulse ■, bit B5 is inserted as the first bipolar law pulse B, bit B7 is the second violation pulse v1, bit BB is inserted as the second bipolar law pulse B, and when the data bit DB is a positive polarity signal,
Since the bipolar signal shown in (b) is obtained, the positive polarity signal P
S is as shown in (C), and the negative polarity signal NS is as shown in (d).

又データピッ)DBが負極性信号の場合は、(C)が負
極性信号NS、(d)が正極性信号となる。
Further, when the data pin DB is a negative polarity signal, (C) is a negative polarity signal NS, and (d) is a positive polarity signal.

フリップフロップF18〜Filに、(C)に示す正極
性信号PSがシフトされ、フリップフロップF28〜F
21に、(d)に示す負極性信号NSがシフトされた状
態となると、第1のバイオレーションパルスVはフリッ
プフロップF15に、第2のバイオレーションパルスV
はフリップフロップF22にそれぞれシフトされ、又第
1のバイポーラ則パルスBはフリップフロップF25に
、第2のバイポーラ則パルスBはフリッププロップFi
lにそれぞれシフトされていることになり、ナンド回路
19の入力はオール′1”となって、その出力信号は“
0”となる、その場合に、ナンド回路20の入力には“
0”が含まれているから、その出力信号は“1”となる
The positive polarity signal PS shown in (C) is shifted to the flip-flops F18-Fil, and the flip-flops F28-F
21, when the negative polarity signal NS shown in (d) is shifted, the first violation pulse V is transferred to the flip-flop F15, and the second violation pulse V is transferred to the flip-flop F15.
are shifted to the flip-flop F22, the first bipolar law pulse B is shifted to the flip-flop F25, and the second bipolar law pulse B is shifted to the flip-flop Fi.
Therefore, the inputs of the NAND circuit 19 are all '1', and the output signal is '1'.
In that case, the input of the NAND circuit 20 is “0”.
Since it contains "0", its output signal becomes "1".

従って、ナンド回路21の出力信号は“1”となり、イ
ンバータ13を介してクロック端子Cにクロック信号C
LKが加えられるフリップフロップF29の出力端子d
は“0”となる。従って、アンド回路22の出力信号は
“0”となり、そのO”の出力信号によりフリップフロ
ップF12〜F18.F22〜F28は、総てリセット
される。
Therefore, the output signal of the NAND circuit 21 becomes "1", and the clock signal C is sent to the clock terminal C via the inverter 13.
Output terminal d of flip-flop F29 to which LK is applied
becomes “0”. Therefore, the output signal of the AND circuit 22 becomes "0", and the flip-flops F12 to F18 and F22 to F28 are all reset by the output signal of O.

又フリップフロップF16.F26の出力端子dが共に
“1″の場合に、ナンド回路18の出力信号は“0”と
なり、それ以外の時は1”となるから、正極性信号PS
と負極性信号NSとの何れか一方が“1″の場合に、フ
リップフロップF30の出力端子Qは“1”となる、し
かし、前述のように、B8ZSパターン検出によりアン
ド回路22の出力信号が“0゛となると、フリップフロ
ップF16.F26もリセットされるから、フリップフ
ロップF30の出力端子QはO″となる。即ち、送信側
に於いて挿入したバイオレーションパルス■及びバイポ
ーラ則パルスBを除去したNRZ符号のユニポーラ信号
を第5図の(e)に示すように出力することができる。
Also flip-flop F16. When the output terminals d of F26 are both "1", the output signal of the NAND circuit 18 is "0", and otherwise it is "1", so the positive polarity signal PS
When either the negative polarity signal or the negative polarity signal NS is "1", the output terminal Q of the flip-flop F30 becomes "1". However, as described above, the output signal of the AND circuit 22 is When it becomes "0", the flip-flops F16 and F26 are also reset, so the output terminal Q of the flip-flop F30 becomes "O". That is, a unipolar signal of the NRZ code from which the violation pulse (2) and the bipolar law pulse B inserted on the transmitting side are removed can be output as shown in FIG. 5(e).

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

受信バイポーラ信号に誤りパルスが含まれている場合、
或いは正極性信号と負極性信号とを分離した時に誤りパ
ルスが混入された場合、例えば、第5図の(f)に示す
正極性信号PSに対して、負極性信号NSが(蜀に示す
ように、第1のバイポーラ則ハルスBと第2のバイオレ
ーションパルスVとの間に誤りパルスEが混入された場
合、シフトレジスタFil〜F18に正極性信号PSが
シフトされ、シフトレジスタF21〜F2Bに負極性信
号NSがシフトされた時に、誤りパルスEはフリップフ
ロップF23にシフトされていることになる。
If the received bipolar signal contains an error pulse,
Alternatively, if an error pulse is mixed in when the positive polarity signal and the negative polarity signal are separated, for example, the negative polarity signal NS (as shown in Shu) with respect to the positive polarity signal PS shown in FIG. When an error pulse E is mixed between the first bipolar law Hals B and the second violation pulse V, the positive polarity signal PS is shifted to the shift registers Fil to F18, and the positive polarity signal PS is shifted to the shift registers F21 to F2B. When the negative polarity signal NS is shifted, the error pulse E is shifted to the flip-flop F23.

しかし、正極性信号PSに例えば第1のバイオレーショ
ンパルスVと第2のバイポーラ則パルスBとが含まれ、
又負極性信号NSに第1のバイポーラ則パルスBと第2
のバイオレーションパルスVとが含まれている場合は、
誤りパルスEが含まれていても、(h)に示すように、
B8ZS符号をデコードしたNRZ符号のユニポーラ信
号が出力される。即ち、誤りパルスE等を含むことによ
り、B8ZS符号の条件を満足しない場合でも、B8Z
S符号としてデコードする欠点があった。換言すれば、
誤りパルスEの混入を検出することができないものであ
った。
However, if the positive polarity signal PS includes, for example, the first violation pulse V and the second bipolar law pulse B,
In addition, the first bipolar law pulse B and the second bipolar pulse are applied to the negative polarity signal NS.
If violation pulse V is included,
Even if the error pulse E is included, as shown in (h),
A unipolar signal of the NRZ code obtained by decoding the B8ZS code is output. In other words, even if the conditions of the B8ZS code are not satisfied due to the inclusion of an error pulse E, etc., the B8Z
There was a drawback that it was decoded as S code. In other words,
It was not possible to detect the inclusion of the error pulse E.

本発明は、正しいBnZS符号を検出してNRZ符号に
変換することを目的とするものである。
The present invention aims to detect a correct BnZS code and convert it into an NRZ code.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデコーダ回路は、BnZS符号のバイポーラ信
号をNRZ符号のユニポーラ信号に変換するものであり
、第1図を参照して説明する。
The decoder circuit of the present invention converts a BnZS code bipolar signal into an NRZ code unipolar signal, and will be explained with reference to FIG.

BnZS符号の受信バイポーラ信号をバイポーラ・ユニ
ポーラ変換部(B/U)6により正極性信号と負極性信
号とに分離し、それぞれ第1.第2のシフトレジスタ1
.2にシフトさせ、この第1、第2のシフトレジスタ1
,2の所定段がらの出力信号により第1のバイオレーシ
ョンパルスを検出する検出回路3と、この検出回路3に
より第1のバイオレーションパルスを検出した時点の第
1、第2のシフトレジスタ1.2の複数段の出力信号か
らBnZS符号を検出して、受信バイポーラ信号をNR
Z符号のユニポーラ信号に変換して出力する検出出力部
4とからなるデコーダ回路に於いて、検出回路3により
第1のバイオレーションパルスを検出した時点に於ける
第1.第2のシフトレジスタ1.2の第2のバイオレー
ションパルスのシフト位置近傍の出力段がらの出力信号
と、検出回路3からの検出信号とを比較して、誤りパル
スか否か識別する比較回路5を設けたものである。
A received bipolar signal of the BnZS code is separated into a positive polarity signal and a negative polarity signal by a bipolar/unipolar converter (B/U) 6, and the first . second shift register 1
.. 2, and the first and second shift registers 1
, 2, and the first and second shift registers 1., 2 at the time when the detection circuit 3 detects the first violation pulse. The BnZS code is detected from the output signals of multiple stages of 2, and the received bipolar signal is converted to NR.
In a decoder circuit comprising a detection output section 4 that converts the signal into a Z-code unipolar signal and outputs it, the first violation pulse is detected at the time when the detection circuit 3 detects the first violation pulse. A comparison circuit that compares the output signal from the output stage near the shift position of the second violation pulse of the second shift register 1.2 with the detection signal from the detection circuit 3 to identify whether or not it is an error pulse. 5.

〔作用〕[Effect]

第1.第2のシフトレジスタ1,2は、BnZS符号の
nビットに対応したシフト段数を有するものであり、検
出回路3は、正極性信号の次に負極性信号が第1.第2
のシフトレジスタ1,2にシフトされる状態では正規の
バイポーラ信号と判断し、正極性信号の次に正極性信号
或いは負極性信号の次に負極性信号が引き続きシフトさ
れる状態の場合に、バイオレーションパルスと判断し、
検出出力部4では、バイオレーションパルス検出信号が
得られた時点に於いて、第1.第2のシフトレジスタ1
,2の複数段の出力信号を用いてBnZS符号を検出し
、挿入されたバイオレーションパルスを除去してNRZ
符号のユニポーラ信号を出力するものであるが、検出回
路3により第1のバイオレーションパルスを検出した時
点に於ける第1.第2のシフトレジスタ1.2の第2の
バイオレーションパルスのシフト位置近傍の出力段から
の出力信号を用いて、比較回路5は誤りパルスの混入の
有無を検出し、誤りパルスが混入されている場合は、検
出出力部4からバイオレーションパルスを除去したNR
Z符号のユニポーラ信号を出力させ、誤りパルスが混入
されている場合は、BnZS符号と見做さないでNRZ
符号のユニポーラ信号を出力するものである。
1st. The second shift registers 1 and 2 have the number of shift stages corresponding to n bits of the BnZS code, and the detection circuit 3 detects that the negative polarity signal is the first . Second
If the signal is shifted to shift registers 1 and 2, it is determined to be a regular bipolar signal, and if the signal is shifted to the positive polarity signal after the positive polarity signal or the negative polarity signal is shifted to the negative polarity signal, the bipolar signal is determined to be a normal bipolar signal. ration pulse,
In the detection output section 4, at the time when the violation pulse detection signal is obtained, the first. second shift register 1
, 2 is used to detect the BnZS code, the inserted violation pulse is removed, and the NRZ
It outputs a unipolar signal with a code of the first . Using the output signal from the output stage near the shift position of the second violation pulse of the second shift register 1.2, the comparator circuit 5 detects the presence or absence of an error pulse, and detects the presence or absence of an error pulse. If there is, the NR from which the violation pulse has been removed from the detection output section 4
If a Z-code unipolar signal is output and an error pulse is mixed in, it is not considered to be a BnZS code and is output as NRZ.
It outputs a unipolar signal of the code.

〔実施例〕 以下図面を参照して本発明の実施例について詳細に説明
する。
[Examples] Examples of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の実施例のブロック図であり、B8ZS
符号に適用した場合を示し、第4図と同一符号は同一部
分を示す。同図に於いて、24゜25は比較回路を構成
するノア回路であり、検出回路を構成するナンド回路1
4〜17は、フリップフロップF16.F26の出力端
子この出力信号によりナンド回路14.15からなるラ
ッチ部の出力信号が反転し、その出力信号とフリップフ
ロップF、15.F25の出力端子Qの出力信号とをナ
ンド回路16.17に加えて、第1のバイオレーション
パルスを検出することになる。
FIG. 2 is a block diagram of an embodiment of the present invention.
The same reference numerals as in FIG. 4 indicate the same parts. In the same figure, 24° and 25 are NOR circuits that constitute the comparison circuit, and NAND circuit 1 that constitutes the detection circuit.
4 to 17 are flip-flops F16. This output signal from the output terminal of F26 inverts the output signal of the latch section consisting of NAND circuits 14 and 15, and the output signal and the flip-flops F, 15. The first violation pulse is detected by applying the output signal of the output terminal Q of F25 to the NAND circuits 16 and 17.

そのナンド回路16.17の出力信号と、フリップフロ
ップF23.F1aの出力端子Qの出力信号とをノア回
路24.25により比較するものである。
The output signals of the NAND circuits 16 and 17 and the flip-flops F23. The output signal of the output terminal Q of F1a is compared by NOR circuits 24 and 25.

第3図は本発明の実施例の動作説明図であり、(a)は
クロック信号、(b)はBnZS符号の受信バイポーラ
信号を示し、正極性信号のデータビフ)DBの次に8ビ
ット以上連続して“0”の場合に、送信側で第1.第2
のバイオレーションパルスVと第1.第2のバイポーラ
則パルスBとを挿入したことにより、正極性信号psは
(C)、負極性信号NSは(d)に示すものとなり、第
1のバイオレーションパルスVがフリップフロップF1
5にシフトされた時点に於いて、第2のバイポーラ則パ
ルスBはフリップフロップFilにシフトされており、
又第1のバイポーラ則パルスはフリップフロップF24
に、第2のバイオレーションパルスVはフリップフロッ
プF22にそれぞれシフトされている。
FIG. 3 is an explanatory diagram of the operation of the embodiment of the present invention, in which (a) shows a clock signal, and (b) shows a received bipolar signal of a BnZS code, in which 8 or more consecutive bits of positive polarity signal (data bif) DB are shown. is "0", the first . Second
violation pulse V and the first. By inserting the second bipolar law pulse B, the positive polarity signal ps becomes as shown in (C), the negative polarity signal NS as shown in (d), and the first violation pulse V becomes the one shown in the flip-flop F1.
5, the second bipolar law pulse B is shifted to the flip-flop Fil,
Also, the first bipolar law pulse is applied to the flip-flop F24.
In addition, the second violation pulse V is shifted to the flip-flop F22.

従って、誤りパルスがなければ、フリップフロップF2
3の出力端子Qの出方信号は“0”であり、又ナンド回
路16の出力信号は“0”となるから、ノア回路24の
出力信号は“1”となり、従来例に於ける場合と同様に
、ナンド回路19の出力信号は“0”、ナンド回路21
の出力信号は“1″、フリップフロップF29の出方端
子dは“0”、アンド回路22の出力信号は“0”とな
るから、第1.第2のシフトレジスタを構成するフリッ
プフロップの中のフリップフロップF12〜F18.F
22〜F2Bがリセットされ、ナンド回路18とフリッ
プフロップF30とを介して出力されるNRZ符号のユ
ニポーラ(t 号ハ“0”となる。即ち、第3図の+e
)に示すように、送信側で挿入されたバイオレーション
パルス等は除去すれる。
Therefore, if there is no error pulse, the flip-flop F2
Since the output signal of the output terminal Q of 3 is "0" and the output signal of the NAND circuit 16 is "0", the output signal of the NOR circuit 24 is "1", which is different from the case in the conventional example. Similarly, the output signal of the NAND circuit 19 is "0", and the output signal of the NAND circuit 21 is "0".
The output signal of the first . Flip-flops F12 to F18 . of the flip-flops constituting the second shift register. F
22 to F2B are reset, and the unipolar (t) of the NRZ code outputted via the NAND circuit 18 and the flip-flop F30 becomes "0". That is, +e in FIG.
), violation pulses etc. inserted on the transmitting side are removed.

又正極性信号Psが第3図の(fl、負極性信号NSが
(幻にそれぞれ示すように、誤りパルスEを含む場合、
フリップフロップF24に第1のパイボ−ラ則パルスB
、フリップフロップF22に第2のバイオレーションパ
ルス■がシフトされた時、フリップフロップF23の出
力端子Qの出力信号は“1”となる。この出力信号はノ
ア回路24に入力されるから、第1のバイオレーション
パルス■を検出することにより、ナンド回路16の出力
信号が“O”となっても、ノア回路24の出力信号は“
O”となり、誤りパルスEを検出できることになる。従
って、ナンド回路19の出力信号は“1″のままとなり
、第1.第2のシフトレジスタを構成するフリップフロ
ップFil−F18゜F21〜F28はリセットされな
いので、第1゜第2のシフトレジスタにシフトされた内
容に従ってナンド回路18とフリップフロップF30と
を介して出力されるNRZ符号のユニポーラ信号は、(
h)に示すものとなる。このようなユニポーラ信号は、
パリティチエツク等により誤り発生を検出することがで
きる。
Furthermore, if the positive polarity signal Ps contains an error pulse E as shown in FIG.
The first pi-bolar law pulse B is applied to the flip-flop F24.
, when the second violation pulse (2) is shifted to the flip-flop F22, the output signal at the output terminal Q of the flip-flop F23 becomes "1". This output signal is input to the NOR circuit 24, so even if the output signal of the NAND circuit 16 becomes "O" by detecting the first violation pulse (2), the output signal of the NOR circuit 24 becomes "O".
0", and the error pulse E can be detected. Therefore, the output signal of the NAND circuit 19 remains "1", and the flip-flops Fil-F18°F21 to F28 constituting the first and second shift registers Since it is not reset, the unipolar signal of the NRZ code output via the NAND circuit 18 and the flip-flop F30 according to the contents shifted to the first and second shift registers is (
h). Such a unipolar signal is
The occurrence of an error can be detected by a parity check or the like.

前述のように、誤りパルスEが混入された場合には、B
8ZS符号と見做さないものであり、従って、B8ZS
符号のみを検出してNRZ符号に変換できることになる
。又n=8以外のBnZS符号に対しても適用可能であ
り、バイオレーションパルスの挿入位置等に対応して、
検出回路、比較回路、及び検出出力部に加える第1.第
2のシフトレジスタの出力段が選定されることになる。
As mentioned above, when error pulse E is mixed, B
8ZS code, therefore, B8ZS
This means that only the code can be detected and converted into the NRZ code. It can also be applied to BnZS codes other than n=8, and depending on the insertion position of the violation pulse, etc.
The first circuit added to the detection circuit, comparison circuit, and detection output section. The output stage of the second shift register will be selected.

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

以上説明したように、本発明は、比較回路5を設けて、
BnZS符号中に誤りパルスが混入されているか否か識
別するものであるから、正しいBnZS符号についての
み、送信側で挿入したバイオレーションパルス等を除去
して、NRZ符号のユニポーラ信号とすることができる
利点がある。
As explained above, the present invention provides the comparison circuit 5,
Since it is used to identify whether or not an error pulse is mixed in the BnZS code, it is possible to remove violation pulses etc. inserted on the transmitting side only for correct BnZS codes, and make it a unipolar signal of the NRZ code. There are advantages.

又比較回路5は、ノア回路24.25のような簡単な構
成で済むから、回路構成が複雑となることもなく、又コ
ストアップとなることもない利点がある。
Furthermore, since the comparator circuit 5 can have a simple configuration such as the NOR circuits 24 and 25, there is an advantage that the circuit configuration does not become complicated and the cost does not increase.

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

第1図は本発明の原理説明図、第2図は本発明の実施例
のブロック図、第3図は本発明の実施例の動作説明図、
第4図は従来例のブロック図、第5図は従来例の動作説
明図である。 ■、2は第1.第2のシフトレジスタ、3は検出回路、
4は検出出力部、5は比較回路である。
FIG. 1 is an explanatory diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of the operation of an embodiment of the present invention.
FIG. 4 is a block diagram of the conventional example, and FIG. 5 is an explanatory diagram of the operation of the conventional example. ■、2 is the first. a second shift register; 3 is a detection circuit;
4 is a detection output section, and 5 is a comparison circuit.

Claims (1)

【特許請求の範囲】 BnZS符号の受信バイポーラ信号を正極性信号と負極
性信号とに分離してそれぞれシフトする第1、第2のシ
フトレジスタ(1、2)と、該第1、第2のシフトレジ
スタ(1、2)の所定段からの出力信号により第1のバ
イオレーションパルスを検出する検出回路(3)と、 該検出回路(3)により第1のバイオレーションパルス
を検出した時点の前記第1、第2のシフトレジスタ(1
、2)の複数段の出力信号からBnZS符号を検出して
、前記受信バイポーラ信号をNRZ符号のユニポーラ信
号に変換して出力する検出出力部(4)とからなるデコ
ーダ回路に於いて、 前記検出回路(3)により前記第1のバイオレーション
パルスを検出した時点に於ける前記第1、第2のシフト
レジスタ(1、2)の第2のバイオレーションパルスの
シフト位置近傍の出力段からの出力信号と、前記検出回
路(3)からの検出信号とを比較して、誤りパルスか否
か識別する比較回路(5)を設けた ことを特徴とするデコーダ回路。
[Claims] First and second shift registers (1, 2) that separate a received bipolar signal of a BnZS code into a positive polarity signal and a negative polarity signal and shift them respectively; a detection circuit (3) for detecting a first violation pulse based on an output signal from a predetermined stage of the shift register (1, 2); The first and second shift registers (1
, 2) detects a BnZS code from the output signals of the plurality of stages, and converts the received bipolar signal into a unipolar signal of the NRZ code and outputs the decoder circuit (4). Output from the output stage near the shift position of the second violation pulse of the first and second shift registers (1, 2) at the time when the first violation pulse is detected by the circuit (3) A decoder circuit characterized in that a comparison circuit (5) is provided for comparing a signal and a detection signal from the detection circuit (3) to determine whether or not it is an error pulse.
JP2748689A 1989-02-08 1989-02-08 Decoder circuit Expired - Lifetime JPH088492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2748689A JPH088492B2 (en) 1989-02-08 1989-02-08 Decoder circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2748689A JPH088492B2 (en) 1989-02-08 1989-02-08 Decoder circuit

Publications (2)

Publication Number Publication Date
JPH02207621A true JPH02207621A (en) 1990-08-17
JPH088492B2 JPH088492B2 (en) 1996-01-29

Family

ID=12222459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2748689A Expired - Lifetime JPH088492B2 (en) 1989-02-08 1989-02-08 Decoder circuit

Country Status (1)

Country Link
JP (1) JPH088492B2 (en)

Also Published As

Publication number Publication date
JPH088492B2 (en) 1996-01-29

Similar Documents

Publication Publication Date Title
US20020071367A1 (en) Apparatus and method for detecting a predetermined pattern of bits in a bitstream
US5285459A (en) HDB3 code violation detector
JPH02207621A (en) Decoder circuit
EP0284164B1 (en) Decoding unit for CMI-encoded signals
JPH05284037A (en) High-speed serial binary data receiver
US4502142A (en) Apparatus for detecting errors in a digital data stream encoded in a double density code
EP0282924B1 (en) Bipolar with eight-zeros substitution and bipolar with six-zeros substitution coding circuit
JP2748765B2 (en) Majority circuit
US5914965A (en) Serial output self-test circuit
JP2705625B2 (en) Optical fiber cable break detection method
US5267250A (en) Circuit arrangement for detection of an erroneous selection signal supplied to selection means
JPH0124386B2 (en)
JPH06188920A (en) Ami violation detecting circuit
JPS60144046A (en) Frame synchronization circuit
JP2548340B2 (en) Chattering removal circuit
KR950013803B1 (en) Decoder with multdecoded mode
RU1805470C (en) Output unit of tester for digital units
JPS62298254A (en) Data transmission system
JPS63164643A (en) Polarity detecting method
US5283576A (en) Disparity detection circuit for a 2-bit to 4-bit coded signal decoder
IE47297B1 (en) Binary data transmission method and corresponding decoding devices
JPS5819065A (en) Mn modulator
KR900006965B1 (en) Circuit for detecting bipolar violation at transmission using hdb 3 code
KR100219596B1 (en) Apparatus for discriminating state of transmission line
KR0168021B1 (en) Monostable signal independently generated on multi-bit bus detecting and transmission circuits