JPS63226142A - C-bit error counter - Google Patents
C-bit error counterInfo
- Publication number
- JPS63226142A JPS63226142A JP5894687A JP5894687A JPS63226142A JP S63226142 A JPS63226142 A JP S63226142A JP 5894687 A JP5894687 A JP 5894687A JP 5894687 A JP5894687 A JP 5894687A JP S63226142 A JPS63226142 A JP S63226142A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- bit
- exclusive
- counter
- signal
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 12
- 230000005540 biological transmission Effects 0.000 claims abstract description 4
- 238000009937 brining Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はディジタル中継装置の符号誤ヤ検出回路に係シ
、特にmBIC符号則のCビットの符号誤りを検出し、
カウントするCビット・エラー・カウンタに関するもの
である。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a code error detection circuit for a digital relay device, and in particular detects a code error in the C bit of the mBIC code rule.
Concerning the counting C-bit error counter.
従来のこの種のCビット・エラー・カウンタは、クロッ
ク分周回路と誤り検出回路お、よびブロック同期回路な
どによ多構成されていた。Conventional C-bit error counters of this type are comprised of a clock frequency divider circuit, an error detection circuit, a block synchronization circuit, and the like.
上述した従来のCビット・エラー・カウンタは以上のよ
うに、クロック分周回路、誤シ検出回路、ブロック同期
回路などによ多構成されておシ、回路構成が複雑で、規
模が大きくなるという問題点があった。また、構成の複
雑化に伴ない経済的でないという問題点があった。As mentioned above, the conventional C-bit error counter described above is composed of a clock frequency dividing circuit, an error detection circuit, a block synchronization circuit, etc., and the circuit structure is complicated and the scale is large. There was a problem. Furthermore, there is a problem that it is not economical due to the complexity of the structure.
本発明のCビット・エラー・カウンタは、伝送路符号則
にmBIC符号を使用しているディジタル信号に対して
、そのCビットの誤りを検出し、カウントする回路であ
って、信号ビットとその直前ビットとを排他的論理和す
る回路と、上記排他的論理和した信号を直並列変換する
直並列変換回路と、この直並列変換回路の出力並列信号
のうち1つを選ぶセレクタ回路と、このセレクタ回路の
パルス出力をカウントするカウンタ回路とを備えてなる
ようにしたものである。The C-bit error counter of the present invention is a circuit that detects and counts C-bit errors in a digital signal using an mBIC code for the transmission line coding rule, and detects and counts errors in the C-bit and a circuit for exclusive-ORing bits, a serial-to-parallel conversion circuit for serial-to-parallel conversion of the exclusive-OR signal, a selector circuit for selecting one of the output parallel signals of this serial-to-parallel conversion circuit, and this selector. A counter circuit that counts the pulse output of the circuit is provided.
本発明においては、伝送路符号則にmBIC符号を使用
しているディジタル信号に対して、そのCビットの誤り
を検出し、カウントする。In the present invention, C-bit errors are detected and counted for digital signals that use mBIC codes as transmission path coding rules.
以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第1図は本発明の一実施例を示す回路図で、mBIC符
号則のうち、特にm = 4としたとき、すなわち、4
BICの場合を示すものである。FIG. 1 is a circuit diagram showing an embodiment of the present invention, in which mBIC coding rules are used, especially when m = 4, that is, 4
This shows the case of BIC.
図において、1は信号ビットとその直前ビットとを排他
的論理和する排他的論理和回路で、データ入力端子5か
らのデータ信号とクロック入力端子6からのクロック信
号とを入力とするフリップフロップ回路(以下、FFと
略称する)l−1とこのFFl−1の出力を入力とする
FF1−2およびFFl−1の出力とFFl−2の出力
を入力とする排他的論理和回路1−3によって構成され
ている。2はこの排他的論理和回路1によって排他的論
理和した信号を直並列変換する直並列変換回路で、排他
的論理和回路1−3の出力とクロック入力端子6からの
クロック信号を入力とするFF2−1とこ0FF2−1
に縦続接続されたFF2−2.2−3@・・優2−5お
よび上記FF 2−1〜2−5の各出力と5分周回路2
−11mの出力をそれぞれ入力とするFF2−6.2−
7・・・・2−10によって構成されている。In the figure, 1 is an exclusive OR circuit that exclusively ORs a signal bit and its immediately preceding bit, and is a flip-flop circuit that receives a data signal from a data input terminal 5 and a clock signal from a clock input terminal 6. (Hereinafter, abbreviated as FF) l-1 and FF1-2 which receives the output of this FFl-1 as inputs, and an exclusive OR circuit 1-3 which receives the outputs of FFl-1 and FFl-2 as inputs. It is configured. Reference numeral 2 denotes a serial-to-parallel conversion circuit for serial-to-parallel conversion of the exclusive ORed signal by this exclusive OR circuit 1, which receives the output of the exclusive OR circuits 1-3 and the clock signal from the clock input terminal 6. FF2-1 and 0FF2-1
FF2-2.2-3@...U2-5 and each output of the above FF2-1 to 2-5 and 5 frequency divider circuit 2 connected in cascade to
-FF2-6.2- with each output of 11m as input
7...2-10.
そして、上記5分周回路2−11aはクロック入力端子
6からのクロック信号を入力とし、これを設定した分局
比で分周するように構成されている0
3は上記直並列変換回路2の出力並列信号の1つを選ぶ
セレクタ回路で、反転論理和回路3−1.3−2@・・
−3−6と反転回路3−7および縦続接続されたFF3
−8.3−9・・・3−12ならびにこれらFF3−8
〜3−11の各出力を入力とする論理和回路3−13に
よって構成されている04はFF3−12の出力を入力
とするバルスカウンタで、このパルスカウンタ4はセレ
クタ回路3のパルス出力をカウントするカウンタ回路を
構成している。The 5 frequency divider circuit 2-11a receives the clock signal from the clock input terminal 6 and is configured to divide the clock signal according to a set division ratio.03 is the output of the serial-parallel converter circuit 2 A selector circuit that selects one of the parallel signals, inverting OR circuit 3-1.3-2@...
-3-6, inversion circuit 3-7 and cascade-connected FF3
-8.3-9...3-12 and these FF3-8
04 is a pulse counter that receives the output of FF 3-12 as input, and this pulse counter 4 counts the pulse output of the selector circuit 3. It constitutes a counter circuit.
つぎにこの第1図に示す実施例の動作を説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained.
まず、動作を説明する前に、本発明の理解を容易にする
ためmBIC符号則について説明する。First, before explaining the operation, the mBIC coding rule will be explained to facilitate understanding of the present invention.
mBIC符号則とは(m+1)ビットを基本ブロックと
し、mビット目の符号の補符号を(m−1−1)ビット
目の符号とするものである。The mBIC coding rule is such that (m+1) bits are used as a basic block, and the complementary code of the m-th bit code is the (m-1-1)-th bit code.
つまシ、mビット目が1ONであれば(m+1)ビット
目はゝl〃であシ、mビット目がvAINであれは(m
+1)ビット目はゝ0〃 となる。If the mth bit is 1ON, the (m+1)th bit is l, and if the mth bit is vAIN, it is (m
+1) bit becomes 0.
この(m+1)ビット目をCヒ゛ットという。This (m+1)th bit is called the C hit.
いま、仮にm = 4として第1図を示す。Now, FIG. 1 is shown assuming that m=4.
4BICのデータは第1のFF 1−1に入力され、そ
の出力は2つに分岐され、一方は第2OFF 1−2に
入力され、この第1のFF’l−1の出力の他方および
第2OFFI−2の出力は排他的論理和回路1−3に入
力される。The data of 4BIC is input to the first FF 1-1, and its output is branched into two, one is input to the second OFF 1-2, and the other of the output of this first FF'l-1 and the The output of 2OFFI-2 is input to exclusive OR circuit 1-3.
この排他的論理和1−3の出力を直並列変換回路2に入
力し、5個の並列信号が出力される。The outputs of the exclusive ORs 1-3 are input to the serial/parallel conversion circuit 2, and five parallel signals are output.
そして、この5個の並列信号のうち1は4ビツト目と5
ビツト目(Cビット)との排他的論理和の信号である。Then, one of these five parallel signals is the 4th bit and the 5th bit.
This is an exclusive OR signal with the th bit (C bit).
ただし、これがどこにあるかは不明である。However, it is unclear where this is located.
つぎに、5つの並列信号のうち、セレクタ回路3によ)
ある1つの信号が選ばれる。このセレクタ回路3の出力
i=%1#から%o〃に変化すると、その出力によシセ
レクタが動作し、順次、次の並列信号を選ぶ。Next, among the five parallel signals, selector circuit 3)
One signal is selected. When the output of the selector circuit 3 changes from i=%1# to %o, the selector operates based on the output and sequentially selects the next parallel signal.
そして、4ビツト目と5ビツト目の排他的論理和の出力
はCビット(5ビツト目)に誤ρがなければ、常にvk
l#であるから、セレクタはその位置を保持する。また
、Cビットに誤シがあれば、セレクタ回路3が動作し、
順次信号を選んでいき、再び4ビツト目と5ビツト目の
排他的論理和の出力の位置で保持する。Then, the output of the exclusive OR of the 4th and 5th bits is always vk unless there is an error ρ in the C bit (5th bit).
l#, the selector retains its position. Also, if there is an error in the C bit, the selector circuit 3 will operate,
The signals are sequentially selected and held again at the output position of the exclusive OR of the 4th and 5th bits.
そこで、このセレクタの動作をカウンタ回路4でカウン
トすることにより、Cビットの誤りを検出しカウントす
ることができる。Therefore, by counting the operation of this selector with the counter circuit 4, errors in the C bit can be detected and counted.
第2図は本発明の他の実施例を示す回路図で、mBIC
のときを示すものである。FIG. 2 is a circuit diagram showing another embodiment of the present invention.
This indicates when.
この第2図において第1図と同一部分には同一符号を付
して説明を省略する。2−11bは(m+1)分局回路
である。In FIG. 2, parts that are the same as those in FIG. 1 are given the same reference numerals and explanations will be omitted. 2-11b is a (m+1) branch circuit.
そして、この第2図に示すmBICのときの動作も前述
の第1図に示す4BICの場合と同様に動作するので、
ここでの説明を省略する。The operation of the mBIC shown in FIG. 2 is similar to that of the 4BIC shown in FIG. 1, so
The explanation here will be omitted.
以上説明したように、本発明によれば、排他的論理和回
路と直並列変換回路およびセレクタ回路ならびにカウン
タ回路の簡単な構成によ、り、mBIC符号則のCビッ
トの誤りを検出しカウントすることができるので、実用
上の効果は極めて大である。また、構成の簡素化に伴っ
て経済的であるという点において極めて有効である。As explained above, according to the present invention, errors in the C bit of the mBIC coding rule can be detected and counted using a simple configuration of an exclusive OR circuit, a serial/parallel conversion circuit, a selector circuit, and a counter circuit. Therefore, the practical effect is extremely large. Further, it is extremely effective in that it is economical due to the simplification of the configuration.
第1図は本発明の一実施例を示す回路図、第2図は本発
明の他の実施例を示す回路図である。
1拳・・拳排他的論理和回路、2・・・・直並列変換回
路、3・・・・セレクタ回路、4・・・・カウンタ回路
。FIG. 1 is a circuit diagram showing one embodiment of the invention, and FIG. 2 is a circuit diagram showing another embodiment of the invention. 1: fist exclusive OR circuit, 2: serial-to-parallel conversion circuit, 3: selector circuit, 4: counter circuit.
Claims (1)
信号に対して、そのCビットの誤りを検出し、カウント
する回路であって、信号ビットとその直前ビットとを排
他的論理和する回路と、前記排他的論理和した信号を直
並列変換する直並列変換回路と、この直並列変換回路の
出力並列信号のうち1つを選ぶセレクタ回路と、このセ
レクタ回路のパルス出力をカウントするカウンタ回路と
を備えてなることを特徴とするCビット・エラー・カウ
ンタ。A circuit for detecting and counting errors in C bits of a digital signal using an mBIC code as a transmission line coding rule, the circuit performing exclusive OR of the signal bit and its immediately preceding bit; A serial-to-parallel conversion circuit for serial-to-parallel conversion of the exclusive ORed signal, a selector circuit for selecting one of the output parallel signals of the serial-to-parallel conversion circuit, and a counter circuit for counting the pulse output of this selector circuit. A C-bit error counter comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5894687A JPS63226142A (en) | 1987-03-16 | 1987-03-16 | C-bit error counter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5894687A JPS63226142A (en) | 1987-03-16 | 1987-03-16 | C-bit error counter |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63226142A true JPS63226142A (en) | 1988-09-20 |
Family
ID=13098996
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5894687A Pending JPS63226142A (en) | 1987-03-16 | 1987-03-16 | C-bit error counter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63226142A (en) |
-
1987
- 1987-03-16 JP JP5894687A patent/JPS63226142A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4498174A (en) | Parallel cyclic redundancy checking circuit | |
US6393082B1 (en) | Signal synchronism detecting circuit | |
US4993051A (en) | Johnson counter circuit with invalid counter position detection and correction mechanism | |
JPS63226142A (en) | C-bit error counter | |
CA1074920A (en) | Detection of errors in digital signals | |
JPS642306B2 (en) | ||
JPS63196130A (en) | Signal detection system | |
JPH0644756B2 (en) | Synchronous clock generation circuit | |
JPS5842668B2 (en) | Pulse Densou Houshiki | |
SU855995A1 (en) | Time-to-code converter | |
JP2591113B2 (en) | Hamming encoder | |
JPS63310251A (en) | C bit error counter | |
JPS63116537A (en) | Synchronization protecting circuit | |
JPS63310222A (en) | Ending error self-monitor type nrz/cmi code converter | |
JP3312391B2 (en) | Circuit for detecting m consecutive matches of n parallel data | |
JP2591164B2 (en) | Parity operation circuit | |
JPH0787380B2 (en) | CMi decoding circuit | |
JPH0981367A (en) | Pattern detection circuit | |
JPS59169254A (en) | Code converting system | |
JPH03104319A (en) | Error detection circuit | |
JPH0352416A (en) | B8zs pattern detection circuit | |
JPH04298133A (en) | Frame synchronizing circuit | |
JPS6254257B2 (en) | ||
JPH06276248A (en) | Data format converter | |
JPH01225249A (en) | Error pattern generating circuit for testing self-synchronizing type error counter |