JPH04247748A - Hdb3 code decoder - Google Patents
Hdb3 code decoderInfo
- Publication number
- JPH04247748A JPH04247748A JP1324091A JP1324091A JPH04247748A JP H04247748 A JPH04247748 A JP H04247748A JP 1324091 A JP1324091 A JP 1324091A JP 1324091 A JP1324091 A JP 1324091A JP H04247748 A JPH04247748 A JP H04247748A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- polarity
- input
- bipolar
- 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.)
- Withdrawn
Links
Landscapes
- Dc Digital Transmission (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、NRZ信号を特定の符
号則で符号化して生成した信号を復号する復号器に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoder for decoding a signal generated by encoding an NRZ signal using a specific coding rule.
【0002】0002
【従来の技術】PCM伝送にあっては、その用いている
符号則に応じた復号器が要求されており、その一つとし
てHDB3符号復号器がある。このHDB3符号復号器
は、4連続の‘0’の原信号を符号化して4連続の‘0
’を或る特定パターンの‘1001’又は‘0001’
に変換して正極側信号または負極側信号に挿入する。な
お‘1001’を‘B00V’、又‘0001’を‘0
00V’と書き、且つこのBは‘1’の値のバイポーラ
則符号( 以下、符号Bと称す)、Vは‘1’の値のバ
イオレーション符号(以下、符号Vと称す)である。
HDB3符号では、図5(A) 〜(C) に示すよ
うに、先行する符号V0 と4連続の‘0’の直前の原
信号‘1’つまり信号B1 が同極性ならば先行するV
0 の異極性側の正極側に対して‘B2 00V2 ’
を挿入する。
また図5(D) 〜(F)に示すように、先行する符号
V0 と信号B1 が異極性ならば先行する符号V0
の異極性側に‘000V2 ’を挿入する。以下におい
て、図6の従来例の復号器の説明を図7と図8を併用し
説明する。2. Description of the Related Art In PCM transmission, a decoder that is compatible with the coding rules used is required, and one example of such a decoder is an HDB3 code decoder. This HDB3 code decoder encodes the original signal of 4 consecutive '0's and generates 4 consecutive '0's.
' with a certain pattern of '1001' or '0001'
Convert it to and insert it into the positive side signal or negative side signal. Note that '1001' is 'B00V', and '0001' is '0'.
00V', B is a bipolar law code with a value of '1' (hereinafter referred to as code B), and V is a violation code with a value of '1' (hereinafter referred to as code V).
In the HDB3 code, as shown in FIGS. 5(A) to 5(C), if the preceding code V0 and the original signal '1' immediately before four consecutive '0's, that is, the signal B1, have the same polarity, the preceding code V0
'B2 00V2' for the positive side of the different polarity side of 0
Insert. Furthermore, as shown in FIGS. 5(D) to (F), if the preceding code V0 and signal B1 have different polarities, the preceding code V0
Insert '000V2' to the opposite polarity side. Below, the conventional decoder shown in FIG. 6 will be explained using FIGS. 7 and 8 together.
【0003】図7(a) に示す様なNRZ信号を原信
号とすると、(b) 〜(d) に示すクロック及びH
DB3符号則により変換された正極側信号と負極側信号
とがフリップフロップ回路( 以下FFと称す)41と
FF42に入力し保持される。FF41とFF42の出
力は、バイポーラ則識別部4を構成する論理積のAND
ゲート23a,23b と論理和のORゲート23c
からなるセレクタ23に入力するが、J−KFF26の
J入力とK入力にはセレクタ23からの出力信号(e)
が入力しているので、該出力信号(e) が‘1’にな
る毎にJ−KFF26の出力(h) 及び該出力(h)
と逆極性の出力(h’)(7図への記載を略す) が
トグルされてセレクタ23に加わる。従って、セレクタ
23では正極側信号と負極側信号が交互に取り出されて
、出力としてバイポーラ則に従う信号(バイポーラ則信
号)(e) を得る。
一方、FF41の出力はANDゲート24に入力し、ま
たFF42から出力はANDゲート25に入力し、AN
Dゲート24からは正極側のバイポーラ則に反する信号
(バイポーラ則違反信号)つまり正極側の符号Vとエラ
ーパルスEよりなるバイポーラ則違反信号(f) を出
力する。同様に、ANDゲート25からは負極側のバイ
ポーラ則違反信号(g) を出力する。即ち、バイポー
ラ識別部4からは、バイポーラ則信号、及び正極側信号
および負極側信号より原信号とバイポーラ符号Bを除去
したバイポーラ則違反信号を出力する。If the NRZ signal shown in FIG. 7(a) is the original signal, the clock and H signals shown in FIG. 7(b) to (d) are
The positive side signal and the negative side signal converted according to the DB3 code rule are input to a flip-flop circuit (hereinafter referred to as FF) 41 and an FF 42 and held therein. The outputs of FF41 and FF42 are the AND of the logical products that constitute the bipolar rule identification section 4.
OR gate 23c of logical sum with gates 23a and 23b
The output signal (e) from the selector 23 is input to the J input and K input of the J-KFF26.
is input, so every time the output signal (e) becomes '1', the output (h) of J-KFF26 and the output (h)
The output (h') (not shown in FIG. 7) having the opposite polarity is toggled and applied to the selector 23. Therefore, in the selector 23, the positive side signal and the negative side signal are taken out alternately, and a signal (bipolar law signal) (e) according to the bipolar law is obtained as an output. On the other hand, the output of FF41 is input to the AND gate 24, and the output from FF42 is input to the AND gate 25.
The D gate 24 outputs a signal that violates the bipolar rule on the positive side (bipolar rule violation signal), that is, a bipolar rule violation signal (f) consisting of the positive side sign V and the error pulse E. Similarly, the AND gate 25 outputs a negative bipolar rule violation signal (g). That is, the bipolar identification unit 4 outputs a bipolar rule signal and a bipolar rule violation signal obtained by removing the original signal and bipolar code B from the positive side signal and the negative side signal.
【0004】FF27〜30はバイポーラ信号シフト部
5であり、クロック(b) にてセレクタ23から出力
される信号(e) を叩いて各FF27,28,29,
30 にてそれぞれ1ビットづつシフトさせ、FF28
より反転出力(j) 、FF29より反転出力(k)
、FF30より出力(l)を出力する。バイオレーショ
ン極性識別部6のJ−KFF31のJ入力には信号(f
) 、またK入力には信号(g) が加えられおり、該
信号(g) のうち符号Vの極性に応じてJ−KFF3
1の出力(m) の極性は変化する。またFF32はJ
−KFF31の極性の情報を1ビットシフトして保持し
ている。該FF32の出力(n) とJ−KFF31の
出力(m) の排他的論理和(以下EORと称す)をE
ORゲート33でとり、該EORゲート33の出力(O
) としてエラーパルスEを消去した極性識別の符号V
1 、V2 を出力する。つまり正極側信号(c) と
負極側信号(d) の中の符号V1 、V2 は、正極
側と負極側が必ず交互になる点に着目し、先行するバイ
ポーラ則違反のエラーパルスEを消去する。[0004] FFs 27 to 30 are a bipolar signal shift section 5, and each FF 27, 28, 29,
30, shift by 1 bit each, and FF28
Inverted output (j) from FF29, inverted output (k) from FF29
, the output (l) is output from the FF30. A signal (f
), and a signal (g) is added to the K input, and depending on the polarity of the sign V of this signal (g), J-KFF3
The polarity of the output (m) of 1 changes. Also, FF32 is J
-The polarity information of KFF31 is shifted by 1 bit and held. The exclusive OR (hereinafter referred to as EOR) of the output (n) of the FF32 and the output (m) of the J-KFF31 is expressed as E
The output of the EOR gate 33 (O
) as the polarity identification code V that erases the error pulse E.
1, outputs V2. That is, the symbols V1 and V2 in the positive side signal (c) and the negative side signal (d) are focused on the fact that the positive side and the negative side always alternate, and the preceding error pulse E that violates the bipolar rule is erased.
【0005】次に、信号復号部7の否定論理積のNAN
Dゲート34にはFF28,29 の反転出力(j),
(k) とEORゲート33の出力(o) の3信号が
入力しており、EORゲート33は符号V1 を出力す
るときFF28の反転出力(j) は‘1’となり、次
にV2 を出力するときはFF29の反転出力(k)
が‘1’となり、従って、NANDゲート34の出力は
信号(p) となる。この信号(p) とFF30の出
力(l) をANDゲート35に入力し論理積をとると
、NANDゲート34の出力(p)のV2 の位置にあ
るB2 を消去することにより原信号と同一の復号信号
(q) を得る。この復号信号(q) をFF32でク
ロックにより叩きNRZ復号信号を送出する。Next, NAN of the NAND of the signal decoding unit 7
The D gate 34 has the inverted output (j) of FF28, 29,
Three signals are input: (k) and the output (o) of the EOR gate 33, and when the EOR gate 33 outputs the code V1, the inverted output (j) of the FF 28 becomes '1', and then outputs V2. When is the inverted output of FF29 (k)
becomes '1', and therefore the output of the NAND gate 34 becomes the signal (p). When this signal (p) and the output (l) of the FF 30 are input to the AND gate 35 and a logical product is taken, by erasing B2 at the V2 position of the output (p) of the NAND gate 34, the same signal as the original signal is obtained. Obtain the decoded signal (q). This decoded signal (q) is clocked by the FF 32 and an NRZ decoded signal is sent out.
【0006】上記の図7の如く、例えばタイミング■で
付加されたエラーパルスEが原信号の‘1’と同じ位置
にありかつ異極性の負極側に付加された場合、つまりタ
イミング■で付加されたエラーパルスEによって正極側
と負極側が同時に‘1’になる際、エラーパルスEによ
り正極側と負極側が同時に‘1’になっても、先行する
タイミング■の符号V2 が負極側であり、同時入力さ
れる直前のタイミング■の位置における信号の極性が負
極側であることから、図5に示す如くHDB3符号の性
質より明らかに同時入力の負極側の信号がエラーパルス
Eであることが判り正確に復号ができる。つまり先行す
るタイミング■の符号V2 とタイミング■のエラーパ
ルスEとの間に存在する信号数が偶数個になる場合は、
この従来の回路で復号ができる。As shown in FIG. 7 above, for example, if the error pulse E added at timing ■ is at the same position as the '1' of the original signal and is added to the negative side of a different polarity, that is, if the error pulse E is added at timing ■. When the positive and negative sides become '1' at the same time due to the error pulse E, even if the positive and negative sides become '1' at the same time due to the error pulse E, the symbol V2 of the preceding timing ■ is on the negative side, and the simultaneous Since the polarity of the signal at the position of timing ■ immediately before input is negative, it is clear from the nature of the HDB3 code as shown in Figure 5 that the signal on the negative side of the simultaneous input is the error pulse E, and it is accurate. can be decrypted. In other words, if the number of signals existing between the code V2 of the preceding timing ■ and the error pulse E of the timing ■ becomes an even number, then
This conventional circuit can perform decoding.
【0007】しかし、図8に示す様に、先行するタイミ
ング■においての符号V2 が負極側にあり、同時入力
される直前のタイミング■の位置における信号の極性が
正極側という様に、先行するタイミング■における符号
V2と同時入力される直前のタイミング■の位置におけ
る信号の極性が異極性になっている場合には、同時入力
された時どちらの極性の信号がエラーパルスEであるか
の区別がつかない。例えば、図8の正極側の信号(c)
と負極側の信号(d) とを比較すると、入力される
信号が同時入力された時点まで全く同じ信号パルスであ
り、この時どちらの極性の信号をエラーパルスEと識別
して消去すればよいのか判断ができない。このために復
号信号(q) では、符号V1 とV2 によるデータ
の消去やデータの付加を生じるようになる。つまり先行
するタイミング■の符号V2 とタイミング■のエラー
パルスEとの間に存在する信号数が奇数個になる場合は
、従来回路では正常な復号ができなくなる。However, as shown in FIG. 8, the sign V2 at the preceding timing ■ is on the negative side, and the polarity of the signal at the position of the timing ■ immediately before being simultaneously input is on the positive side. If the polarity of the signal at the position of the timing ■ immediately before the symbol V2 in ■ is input simultaneously is different, it is difficult to distinguish which polarity of the signal is the error pulse E when input simultaneously. Not stick. For example, the signal (c) on the positive side in FIG.
Comparing the signal (d) on the negative side and the signal (d) on the negative side, it is found that the input signals are exactly the same signal pulse until they are input simultaneously, and at this time, which polarity of the signal should be identified as the error pulse E and erased. I can't decide. For this reason, in the decoded signal (q), data is erased or data is added by codes V1 and V2. In other words, if the number of signals existing between the code V2 of the preceding timing (2) and the error pulse E of the timing (2) is an odd number, the conventional circuit cannot perform normal decoding.
【0008】[0008]
【発明が解決しようとする課題】上記したように、先行
する符号Vと同時入力の直前の信号の極性が異極性の場
合、挿入されたエラーパルスを識別できず消去できない
という問題がある。本発明は、正極側と負極側に同時に
信号が入力されたとき、どちらがエラーパルスであるか
を識別し、消去する機能を付加することにより正確に復
号ができるHDB3符号復号器を提供することを目的と
する。As described above, when the polarity of the preceding code V and the signal immediately before simultaneous input are different in polarity, there is a problem that the inserted error pulse cannot be identified and cannot be erased. The present invention aims to provide an HDB3 code decoder that can accurately decode by adding a function to identify and erase which pulse is an error pulse when signals are input to the positive and negative sides at the same time. purpose.
【0009】[0009]
【課題を解決するための手段】上記の目的を達成するた
め本発明では、HDB3符号則にて符号化された正極側
信号と負極側信号の中から、原信号が4連続の‘0’信
号にあるときに符号化される特定パターンを監視して復
号するものにおいて、上記両極側信号を4ビットシフト
するシフトレジスタ手段1と、上記両極側信号の同時入
力直後の極性を監視する極性監視手段2と、該極性監視
手段2と極性比較監視手段7との出力を入力し、上記同
時入力信号の中のエラーパルスを消去するエラーパルス
消去手段3と、バイポーラ則識別部4からのバイポーラ
則信号の極性とバイオレーション極性識別部6からの先
行するバイオレーション符号の極性とが同一か否かを監
視する極性比較監視手段7とを設け、信号同時入力のと
きに何れの側の信号がエラーパルスであるかを識別して
消去し、信号復号部8において原信号に復号できるよう
に構成する。[Means for Solving the Problems] In order to achieve the above object, in the present invention, the original signal is a four consecutive '0' signal from among the positive side signal and the negative side signal encoded according to the HDB3 coding rule. Shift register means 1 for shifting the bipolar signals by 4 bits, and polarity monitoring means for monitoring the polarity immediately after the simultaneous input of the bipolar signals. 2, an error pulse erasing means 3 which inputs the outputs of the polarity monitoring means 2 and the polarity comparison monitoring means 7 and erases error pulses in the simultaneous input signal, and a bipolar law signal from the bipolar law identification section 4. A polarity comparison monitoring means 7 is provided to monitor whether the polarity of the code is the same as the polarity of the preceding violation code from the violation polarity identification unit 6, and when the signals are input simultaneously, which side of the signal is an error pulse. The configuration is such that the signal can be identified and erased, and decoded into the original signal in the signal decoding section 8.
【0010】0010
【作用】本発明では図1に示すように、シフトレジスタ
手段1では入力する正極側信号と負極側信号を保持しか
つ4ビットシフトを行うようにし、極性監視手段2では
前記正極側と負極側信号を加えて同時入力された直後の
入力信号の極性を監視するようにし、又エラーパルス消
去手段3では該極性監視手段2の出力と極性比較監視手
段7の出力を入力し、信号同時入力された際に正極側と
負極側のいずれの信号がエラーパルスであるかを識別し
消去するようにし、更にバイポーラ則識別部4からのバ
イポーラ則信号とバイオレーション符号の極性の信号を
入力し極性の比較監視を行う極性比較監視手段7とを設
けるようにしている。[Operation] In the present invention, as shown in FIG. 1, the shift register means 1 holds the input positive and negative signals and performs a 4-bit shift, and the polarity monitoring means 2 holds the input positive and negative signals. The polarity of the input signal is monitored immediately after the signals are input simultaneously, and the error pulse erasing means 3 inputs the output of the polarity monitoring means 2 and the output of the polarity comparison monitoring means 7. When a signal on the positive side or the negative side is an error pulse, it is identified and erased, and the bipolar law signal from the bipolar law identification unit 4 and the signal of the polarity of the violation code are inputted to determine the polarity. A polarity comparison monitoring means 7 for carrying out comparison monitoring is provided.
【0011】従って、バイポーラ則識別部4のバイポー
ラ則信号をシフトさせたバイポーラ信号シフト部5の出
力とバイオレーション極性識別部6が出力するバイオレ
ーション符号の位置を示す信号とを比較することにより
、NRZ信号を得ることができる。Therefore, by comparing the output of the bipolar signal shifter 5 which has shifted the bipolar law signal of the bipolar law identifier 4 with the signal indicating the position of the violation code outputted by the violation polarity detector 6, NRZ signal can be obtained.
【0012】0012
【実施例】以下、図2の回路の説明を図3、4を併用し
行う。なお図3と図4中の(a) 〜(y) は、図2
の中に示す位置の信号波形である。シフトレジスタ部1
1はシフトレジスタ手段1に対応した回路であり、5直
列のFF11a 〜FF11e と5直列のFF11f
〜FF11j の二つの4ビットシフトレジスタを形
成し、図3に示すNRZ信号を原信号(a) とすると
クロック(b) と正極側信号(c)及び負極側信号(
d) が入力する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The circuit shown in FIG. 2 will be explained below with reference to FIGS. 3 and 4. Note that (a) to (y) in Figures 3 and 4 refer to Figure 2.
This is the signal waveform at the position shown in . Shift register section 1
1 is a circuit corresponding to the shift register means 1, which includes 5 series FF11a to FF11e and 5 series FF11f.
~FF11j are formed, and if the NRZ signal shown in Fig. 3 is the original signal (a), the clock (b), the positive side signal (c), and the negative side signal (
d) input.
【0013】信号が同時入力する極性監視手段2は、論
理積のANDゲート12,13,14と交互フリップフ
ロップ動作のJ−KFF15,16 と否定論理和のN
ORゲート17により構成される。正極側信号(c)
と負極側信号(d) が同時入力されたタイミング■で
は、ANDゲート12の出力信号(e) が‘1’にな
り、それに伴ってJ−KFF15,16 の出力(f)
,(g) がともに‘0’になりNORゲート17が‘
1’になる。従って、ANDゲート13,14 の片側
の入力がともに‘1’になるので、次に入力される信号
が正極側ならばJ−KFF15の信号(f) が‘1’
となり、又負極側ならばJ−KFF16の出力(g)
は‘1’になる。故にJ−KFF15,16 の出力信
号(f),(g) によって信号同時入力された直後の
信号の極性が明らかになり、この極性監視の情報をJ−
KFF15,16 にそれぞれ保持する。The polarity monitoring means 2 to which signals are simultaneously input consists of AND gates 12, 13, 14 for logical products, J-KFFs 15, 16 for alternating flip-flop operations, and N for negative logical sums.
It is composed of an OR gate 17. Positive side signal (c)
At timing ⑥ when the negative side signal (d) and the negative side signal (d) are simultaneously input, the output signal (e) of the AND gate 12 becomes '1', and the output (f) of the J-KFFs 15 and 16 becomes '1'.
, (g) both become '0' and the NOR gate 17 becomes '
It becomes 1'. Therefore, since the inputs on one side of AND gates 13 and 14 are both '1', if the next input signal is the positive side, the signal (f) of J-KFF15 will be '1'.
And if it is on the negative side, the output of J-KFF16 (g)
becomes '1'. Therefore, the polarity of the signal immediately after the signals are simultaneously input is revealed by the output signals (f) and (g) of J-KFF15 and 16, and this polarity monitoring information is transmitted to J-KFF15 and J-KFF16.
They are held in KFF15 and KFF16, respectively.
【0014】エラーパルス消去手段3は、論理積のAN
Dゲート18、21,22 と否定論理積のNANDゲ
ート19,20 により構成される。ANDゲート18
の出力(h) は、信号同時入力されたときFF11e
,FF11j からの出力が‘1’になり、またNAN
Dゲート19,20 ではANDゲート18の出力(h
) とタイミング■の先行する符号Vの極性と後続する
タイミング■〜■の信号の極性監視のENORゲート3
4からの帰還出力(r) とJ−KFF15,16 の
出力(f),(g) のうちの一つの3信号が入力して
いる。つまり信号同時入力されたときNANDゲート1
9,20 の出力(i),(j) の何れかが‘0’を
出力することから、ANDゲート21又はANDゲート
22でエラーパルスEを消去することができる。すなわ
ち、信号同時入力された時にどちらの極性の信号を消去
するかを決定する方法は、先行する符号Vの極性と信号
同時入力された直前の信号が異極性の時、信号同時入力
された直後の信号が正極性側ならば正極性側の同時入力
されたエラーパルスE信号を消去し、信号同時入力され
た直後の信号が負極性側ならば負極性側の同時入力され
たエラーパルスE信号を消去する。The error pulse erasing means 3 is an AND
It is composed of D gates 18, 21, 22 and NAND gates 19, 20 for negative AND. AND gate 18
The output (h) of FF11e is when the signals are simultaneously input.
, the output from FF11j becomes '1', and the NAN
In the D gates 19 and 20, the output of the AND gate 18 (h
) and the polarity of the preceding sign V at timing ■ and the polarity of the signals at subsequent timings ■ to ■ ENOR gate 3
Three signals are input: the feedback output (r) from J-KFF 4 and one of the outputs (f) and (g) of J-KFF 15 and 16. In other words, when signals are input simultaneously, NAND gate 1
Since either output (i) or (j) of 9 or 20 outputs '0', error pulse E can be erased by AND gate 21 or AND gate 22. In other words, the method for determining which polarity of the signal to erase when signals are simultaneously input is that when the polarity of the preceding code V and the signal immediately before the signal is simultaneously input are of different polarities, immediately after the signal is simultaneously input. If the signal is on the positive polarity side, the simultaneously input error pulse E signal on the positive polarity side is erased, and if the signal immediately after the signal is simultaneously input is on the negative polarity side, the simultaneously input error pulse E signal on the negative polarity side is erased. Erase.
【0015】バイポーラ則識別部4は従来例の通り、A
NDゲート23a,23b 及びORゲート23c か
らなるセレクタ23とANDゲート24,25 とJ−
KFF26より構成する。セレクタ23から‘1’にな
る信号(m) が出力すると、J−KFF26では信号
(m) によりトグルし次の信号では逆の極性の信号を
選択するので、信号(m) としてバイポーラ則に従う
信号が得られる。J−KFF26からの信号(p) は
、選択したバイポーラ則信号が正極側信号ならば‘0’
、負極側信号ならば‘1’になる。As in the conventional example, the bipolar rule identification unit 4
A selector 23 consisting of ND gates 23a, 23b and an OR gate 23c, AND gates 24, 25, and J-
Consists of KFF26. When the selector 23 outputs a signal (m) that becomes '1', the J-KFF 26 toggles with the signal (m) and selects a signal with the opposite polarity for the next signal, so the signal (m) is a signal that follows the bipolar rule. is obtained. The signal (p) from J-KFF26 is '0' if the selected bipolar law signal is the positive side signal.
, if it is a negative side signal, it becomes '1'.
【0016】一方、ANDゲート24,25 からは、
それぞれ正極側、負極側のバイポーラ則違反信号( 符
号VとエラーパルスE) としての(n) と(0)
を得る。バイポーラ信号シフト部5はFF27、28,
29,30により構成され、またバイオレーション極性
識別部6は、J−KFF31とFF32とEORゲート
33により構成する。On the other hand, from the AND gates 24 and 25,
(n) and (0) as bipolar rule violation signals (sign V and error pulse E) on the positive and negative sides, respectively
get. The bipolar signal shift section 5 includes FFs 27, 28,
29 and 30, and the violation polarity identifying section 6 is composed of a J-KFF 31, an FF 32, and an EOR gate 33.
【0017】ANDゲート24からのバイポーラ則に反
する正極側信号(n) とANDゲート25からのバイ
ポーラ則に違反する負極側信号(o) をJ−KFF3
1のJ入力およびK入力にそれぞれ入力する。J−KF
F31の出力の信号(q) は、入力した符号Vが正極
側ならば‘1’、負極側ならば‘0’を出力し保持する
。先行するタイミング■の符号Vと後続する信号の極性
比較監視手段7は、否定論理和のENORゲート34に
より構成される。J−KFF26からのバイポーラ則信
号の極性を示す出力(p) とJ−KFF31からの先
行する符号Vの極性を示す出力(q) とがENORゲ
ート34に入力すると、ENORゲート34の出力(r
) は同極性ならば‘0’となり、異極性ならば‘1’
となる。The positive side signal (n) that violates the bipolar rule from the AND gate 24 and the negative side signal (o) that violates the bipolar rule from the AND gate 25 are connected to J-KFF3.
1 to the J input and K input respectively. J-KF
The output signal (q) of F31 is output and held as '1' if the input code V is on the positive side, and '0' if it is on the negative side. The polarity comparison/monitoring means 7 between the sign V of the preceding timing (2) and the following signal is constituted by an ENOR gate 34 of a negative logical sum. When the output (p) indicating the polarity of the bipolar law signal from J-KFF 26 and the output (q) indicating the polarity of the preceding sign V from J-KFF 31 are input to the ENOR gate 34, the output (r
) is '0' if the polarity is the same, and '1' if the polarity is different.
becomes.
【0018】信号復号部8は、従来例通りNANDゲー
ト35とANDゲート36により構成される。EORゲ
ート33の出力 (s)が‘1’のときがエラーパルス
Eを消去した符号Vを示す出力である。この出力(s)
およびFF28の反転出力(u) とFF29の反転
出力(v) の3信号をNANDゲート35に加えて否
定論理積の信号(x) を求め、そして、該信号(x)
とFF30の出力(w) とをANDゲート36に加
え復号を図る。そしてFF37において復号されたNR
Z信号を1クロックの間だけ保持して出力するものであ
る。The signal decoding section 8 is composed of a NAND gate 35 and an AND gate 36 as in the conventional example. When the output (s) of the EOR gate 33 is '1', it is an output indicating the code V with the error pulse E erased. This output (s)
The three signals, the inverted output (u) of FF28 and the inverted output (v) of FF29, are added to the NAND gate 35 to obtain a NAND signal (x).
and the output (w) of the FF 30 are added to the AND gate 36 for decoding. Then, the NR decoded in FF37
It holds the Z signal for only one clock and outputs it.
【0019】図3と図4を図8と図9と対比するとき、
図2の復号器は正確に原信号を復号していることを示し
ている。図3は信号同時入力に対して正極側の信号をエ
ラーパルスEとみなし復号した例を示し、図4は逆に負
極側の信号をエラーパルスEとみなし復号した例を示す
。When comparing FIGS. 3 and 4 with FIGS. 8 and 9,
The decoder of FIG. 2 is shown to be accurately decoding the original signal. FIG. 3 shows an example in which a signal on the positive side is regarded as an error pulse E and decoded when signals are simultaneously input, and FIG. 4 shows an example in which a signal on the negative side is regarded as an error pulse E and decoded.
【0020】[0020]
【発明の効果】以上のように本発明によれば、エラーパ
ルスによって正極側信号と負極側信号に同時に‘1’が
入力した場合でも、常に正確に復号することができ、従
ってエラーパルスによって信号が劣下するという問題点
は解決できる。As described above, according to the present invention, even if '1' is input to the positive side signal and the negative side signal at the same time due to the error pulse, it is possible to always accurately decode the signal. The problem of deterioration can be solved.
【図1】 本発明の原理構成を示す図である。FIG. 1 is a diagram showing the principle configuration of the present invention.
【図2】 本発明の一実施例の回路構成を示す図であ
る。FIG. 2 is a diagram showing a circuit configuration of an embodiment of the present invention.
【図3】 本発明の一実施例回路の第1のタイムチャ
ートを示す図である。FIG. 3 is a diagram showing a first time chart of a circuit according to an embodiment of the present invention.
【図4】 本発明の一実施例回路の第2のタイムチャ
ートを示す図である。FIG. 4 is a diagram showing a second time chart of a circuit according to an embodiment of the present invention.
【図5】 HDB3符号の説明図である。FIG. 5 is an explanatory diagram of HDB3 code.
【図6】 従来例の回路構成を示す図である。FIG. 6 is a diagram showing a circuit configuration of a conventional example.
【図7】 従来例回路の第1のタイムチャートを示す
図である。FIG. 7 is a diagram showing a first time chart of a conventional example circuit.
【図8】 従来例回路の第2のタイムチャートを示す
図である。FIG. 8 is a diagram showing a second time chart of the conventional example circuit.
1はシフトレジスタ手段 2は極性監視手段 3はエラーパルス消去手段 4はバイポーラ則識別部 5はバイポーラ信号シフト部 6はバイオレーション極性識別部 7は極性比較監視手段 8は信号復号部 1 is shift register means 2 is polarity monitoring means 3 is error pulse erasing means 4 is the bipolar rule identification part 5 is a bipolar signal shift section 6 is violation polarity identification section 7 is polarity comparison monitoring means 8 is a signal decoding section
Claims (1)
側信号と負極側信号の中から、原信号が4連続の‘0’
信号にあるときに符号化される特定パターンを監視して
復号するものにおいて、上記両極側信号を4ビットシフ
トするシフトレジスタ手段(1) と、上記両極側信号
の同時入力直後の極性を監視する極性監視手段(2)
と、該極性監視手段(2) と極性比較監視手段(7)
との出力を入力し、上記同時入力信号の中のエラーパ
ルスを消去するエラーパルス消去手段(3) と、バイ
ポーラ則識別部(4) からのバイポーラ則信号の極性
とバイオレーション極性識別部(6) からの先行する
バイオレーション符号の極性とが同一か否かを監視する
極性比較監視手段(7) とを設け、信号同時入力のと
きに何れの側の信号がエラーパルスであるかを識別して
消去し、信号復号部(8) において原信号に復号でき
るようにしたことを特徴とするHDB3符号復号器。[Claim 1] The original signal consists of four consecutive '0's from among the positive side signal and negative side signal encoded according to the HDB3 coding rule.
In a device that monitors and decodes a specific pattern encoded when present in a signal, the shift register means (1) shifts the bipolar signals by 4 bits, and monitors the polarity immediately after simultaneous input of the bipolar signals. Polarity monitoring means (2)
, the polarity monitoring means (2), and the polarity comparison monitoring means (7)
an error pulse erasing means (3) for erasing error pulses in the simultaneous input signal; ) is provided to monitor whether the polarity of the preceding violation code is the same as that of the previous violation code (7), and to identify which side of the signal is an error pulse when signals are input simultaneously. An HDB3 code decoder characterized in that the signal can be erased and decoded into an original signal in a signal decoding section (8).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1324091A JPH04247748A (en) | 1991-02-04 | 1991-02-04 | Hdb3 code decoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1324091A JPH04247748A (en) | 1991-02-04 | 1991-02-04 | Hdb3 code decoder |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04247748A true JPH04247748A (en) | 1992-09-03 |
Family
ID=11827677
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1324091A Withdrawn JPH04247748A (en) | 1991-02-04 | 1991-02-04 | Hdb3 code decoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04247748A (en) |
-
1991
- 1991-02-04 JP JP1324091A patent/JPH04247748A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU634124B2 (en) | Method and circuit for decoding a manchester code signal | |
| US4603322A (en) | High-speed sequential serial Manchester decoder | |
| JPH0351335B2 (en) | ||
| GB1578635A (en) | Dc free encoding for data transmission system | |
| US4218770A (en) | Delay modulation data transmission system | |
| US4310860A (en) | Method and apparatus for recording data on and reading data from magnetic storages | |
| JPS63296425A (en) | Communication system | |
| EP0059224A1 (en) | System for coding and decoding binary data | |
| EP0090047B1 (en) | Encoding and decoding system for binary data | |
| US4954826A (en) | Digital code conversion apparatus | |
| EP0122083B1 (en) | Method and apparatus for encoding a binary data stream into a binary code stream | |
| JPH04247748A (en) | Hdb3 code decoder | |
| US3742199A (en) | Binary code communication system | |
| US4502142A (en) | Apparatus for detecting errors in a digital data stream encoded in a double density code | |
| US5510786A (en) | CMI encoder circuit | |
| JPH03163916A (en) | Hdb-3 decoder | |
| JPS63209325A (en) | n-bit m-bit code conversion control system | |
| JP2606194B2 (en) | Digital signal transmission equipment | |
| JP2549152B2 (en) | Code error detection circuit | |
| JP2668901B2 (en) | Encoding device | |
| JPH01260928A (en) | Code rule error detection circuit | |
| RU2018937C1 (en) | Microprogram automaton | |
| JPS60214141A (en) | Decoding circuit | |
| JPH02206945A (en) | Detector for state of line | |
| JPH01321732A (en) | HDB-3 code rule error detection circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |