JPS61172438A - Code error detection circuit - Google Patents

Code error detection circuit

Info

Publication number
JPS61172438A
JPS61172438A JP1261685A JP1261685A JPS61172438A JP S61172438 A JPS61172438 A JP S61172438A JP 1261685 A JP1261685 A JP 1261685A JP 1261685 A JP1261685 A JP 1261685A JP S61172438 A JPS61172438 A JP S61172438A
Authority
JP
Japan
Prior art keywords
signal
output
circuit
code
flip
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
JP1261685A
Other languages
Japanese (ja)
Inventor
Hirohisa Ekoshi
広弥 江越
Koji Nishizaki
西崎 浩二
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 JP1261685A priority Critical patent/JPS61172438A/en
Publication of JPS61172438A publication Critical patent/JPS61172438A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To detect a code error by inverting one bit in (m+1)-bit of an mBIP code, extracting a DC component of a flip-flop inverted by a bit of level '1' and detecting a level change. CONSTITUTION:An output signal (f) of a NOR circuit G1 goes to '1' once in (m+1)-bit, that is, once in 8 bits. Since the output signal (f) is fed to an exclusive OR circuit G2, when the output signal (f) is at '1', the mBIP code signal (a) is inverted and fed to the AND circuit 1 together with a clock signal (b). Since the number of 1s in the (m+1)-bit is an even number, its output signal (h) is fed to a clock terminal C of the flip-flop 2, a signal of output terminals Q, Q' is fed to low pass filters 3, 4, and output signals (j, k) are fed to a comparator 5. Thus, a detection signal (l) representing the level change in the output signals (j, k) is outputted from an output terminal 8 and a code error is detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル高速伝送系に於いて、mビットの
情報ビットに1ビットのパリティビットを付加したmB
 I P符号の伝送誤りを検出する符号誤り検出回路に
関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention is applicable to a digital high-speed transmission system in which mB bits in which one parity bit is added to m bits of information bits are used.
This invention relates to a code error detection circuit that detects transmission errors in IP codes.

〔従来の技術〕[Conventional technology]

ディジタル音声信号等を多重化したディジタル高速伝送
系に於いては、伝送効率を低下させることなく伝送誤り
を検出できるように、mビットの情報ビットに1ビット
のパリティビットを付加し、このパリティビットを含む
(m+1)ビット中の“1”の数が偶数個となるように
パリティビットを選定するmB I P符号が用いられ
ている。
In digital high-speed transmission systems that multiplex digital audio signals, etc., one parity bit is added to m information bits so that transmission errors can be detected without reducing transmission efficiency. An mBIP code is used in which parity bits are selected so that the number of "1"s among the (m+1) bits containing "1" is an even number.

このmB I P符号の受信側に於ける従来の符号誤り
検出回路は、従来、第3図に示す構成を有するものであ
った。同図に於いて、11はアンド回路、12はフリッ
プフロップ、13.14は低域通過フィルタ、15は比
較器、16はmB1P符号の入力端子、17はクロック
信号の入力端子、18は誤り検出信号の出力端子である
。受信したmB1P符号信符号信号上のmB1P符号信
号から再生したクロック信号すとがそれぞれ入力端子1
6.17からアンド回路11に加えられ、そのアンド回
路11の出力信号Cはフリップフロップ12のクロック
端子Cに加えられ、出力信号Cによってフリップフロッ
プ12は反転動作するものである。
A conventional code error detection circuit on the receiving side of this mBIP code has conventionally had the configuration shown in FIG. In the figure, 11 is an AND circuit, 12 is a flip-flop, 13.14 is a low-pass filter, 15 is a comparator, 16 is an mB1P code input terminal, 17 is a clock signal input terminal, and 18 is an error detection terminal. This is a signal output terminal. The clock signals reproduced from the mB1P code signal on the received mB1P code signal are respectively input to input terminal 1.
6.17, the output signal C of the AND circuit 11 is applied to the clock terminal C of the flip-flop 12, and the output signal C causes the flip-flop 12 to perform an inverting operation.

このフリップフロップ12の出力端子ことデータ端子り
とが接続され、且つ出力端子Q、 ?hにそれぞれ低域
通過フィルタ13.14が接続され、低域通過フィルタ
13.14によってフリップフロップ12の出力の直流
成分が抽出される。この低域通過フィルタ13.14の
出力信号f、gは比較器15に加えられ、出力信号f、
gのレベル変化に対応して比較器15の出力信号りは反
転するので、それを伝送誤りの検出信号とすることがで
きるものである。そして、この検出信号りは出力端子1
8から監視回路等に転送され、誤り率測定等が行われる
ものである。
The output terminal of this flip-flop 12 is connected to the data terminal, and the output terminals Q, ? A low-pass filter 13.14 is connected to each of the low-pass filters 13.14, and the DC component of the output of the flip-flop 12 is extracted by the low-pass filter 13.14. The output signals f, g of this low-pass filter 13.14 are applied to a comparator 15, and the output signals f,
Since the output signal of the comparator 15 is inverted in response to a change in the level of g, it can be used as a transmission error detection signal. This detection signal is output from the output terminal 1.
8 to a monitoring circuit, etc., where error rate measurement and the like are performed.

第4図はm=7としたmB1P符号を用いた場合の動作
説明図であり、(a)〜(h)は第3図の各部の信号a
 w hの一例を示すものであって、(a)に於けるP
はパリティビットを示し、このパリティビットPを含む
8ビット中の“1′″の数が偶数個となるように選定さ
れている。受信したmB1P符号信号aが第4図の(a
)の実線で示す場合、アンド回路11に、この信号aと
(b)に示すクロ7り信号すとが加えられ、アンド回路
11の出力信号Cは第4図の(0)の実線で示すものと
なる。フリップフロップ12はアンド回路11の出力信
号Cにより反転動作するもので、出力端子Qの信号dは
第4図の(d)に示すものとなる。
FIG. 4 is an explanatory diagram of the operation when using the mB1P code with m=7, and (a) to (h) are the signals a of each part in FIG.
This shows an example of w h, where P in (a)
indicates a parity bit, which is selected so that the number of "1's" among the 8 bits including this parity bit P is an even number. The received mB1P code signal a is shown in Fig. 4 (a
), this signal a and the black signal shown in (b) are added to the AND circuit 11, and the output signal C of the AND circuit 11 is shown by the solid line in (0) in FIG. Become something. The flip-flop 12 is inverted by the output signal C of the AND circuit 11, and the signal d at the output terminal Q is as shown in FIG. 4(d).

フリップフロップ12は、(m+1)ビット中の“1″
の数が偶数個であるから、パリティビットPにより初期
状態に戻ることになる。従って、フリップフロップ12
の初期状態として、出力端子Qが“1”であると、パリ
ティビットPの位置では1”となり、又これと反対に初
期状態に出力端子Qが“0”であると、パリティビット
Pの位置でO”となる。又mビットの情報ビットの61
′″、′0”の発生確率を1/2とするのが一般的であ
るから、フリップフロップ12の出力端子Qを初期状態
に“0”とすると、パリティビットP毎に出力端子Qは
“0”となり、又出力端子dは“1″となるから、低域
通過フィルタ13の出力信号fは第4図の(f)に示す
ようにローレベル(L)となり、低域通過フィルタ14
の出力信号gは第4図の(幻に示すようにハイレベル(
H)となる。比較器15は出力信号f、gを比較するの
で、比較器15の出力信号りは第4図の(h)に示すよ
うにローレベル(L)となる。
The flip-flop 12 selects “1” among (m+1) bits.
Since the number of is an even number, the parity bit P returns to the initial state. Therefore, flip-flop 12
In the initial state, if the output terminal Q is "1", the position of the parity bit P will be "1", and conversely, if the output terminal Q is "0" in the initial state, the position of the parity bit P will be "1". becomes O”. Also, 61 of the m-bit information bits
'', '0'' is generally set to 1/2, so if the output terminal Q of the flip-flop 12 is initially set to ``0'', the output terminal Q for each parity bit P becomes ``0''. 0" and the output terminal d becomes "1", so the output signal f of the low-pass filter 13 becomes a low level (L) as shown in FIG.
The output signal g of is at a high level (as shown in Fig. 4).
H). Since the comparator 15 compares the output signals f and g, the output signal of the comparator 15 becomes low level (L) as shown in FIG. 4(h).

又伝送誤りにより、第4図の(a)の点線で示すように
、“O”の情報ビットが“1”となった場合は、アンド
回路11の出力信号Cも第4図の(C)の点線で示すよ
うに1”となる。この点線で示す“1”によってフリッ
プフロップ12が反転動作するから、出力端子Qの信号
は第4図の(elに示すものとなる。即ち、伝送誤りビ
ットの位置からフリップフロップ12の出力端子Qの極
性が正常な場合に対して反転することになる。それによ
って、パリティビットPの位置で“0”であったものが
“1”となり、低域通過フィルタ13の出力信号fは所
定期間後に点線で示すようにハイレベル(H)となり、
低域通過フィルタ14の出力信号gは点線で示すように
ローレベル(L)となるから、比較器15の出力信号り
も第4図の(h)の点線で示すようにハイレベル(H)
となる、即ち、伝  −送誤りが発生すると、誤り検出
信号りは、ローレベル(L)からハイレベル(H)に、
又はハイレベル(H)からローレベル(L)に変化する
ことになる。
Furthermore, if the information bit of "O" becomes "1" as shown by the dotted line in (a) of FIG. 4 due to a transmission error, the output signal C of the AND circuit 11 also changes to (C) of FIG. 1" as shown by the dotted line. Since the flip-flop 12 performs an inverting operation due to the "1" shown by the dotted line, the signal at the output terminal Q becomes as shown in (el) in FIG. From the position of the bit, the polarity of the output terminal Q of the flip-flop 12 is reversed compared to the normal case.As a result, what was "0" at the position of the parity bit P becomes "1", and the low frequency After a predetermined period of time, the output signal f of the pass filter 13 becomes high level (H) as shown by the dotted line.
Since the output signal g of the low-pass filter 14 is at a low level (L) as shown by the dotted line, the output signal of the comparator 15 is also at a high level (H) as shown by the dotted line in FIG. 4(h).
In other words, when a transmission error occurs, the error detection signal changes from low level (L) to high level (H).
Or it changes from high level (H) to low level (L).

このような誤り検出信号りのレベル変化を単位時間毎に
計数することによって誤り率を求めることも可能となる
。従って、ディジタル高速伝送系の監視を行うことかで
きるものである。
It is also possible to determine the error rate by counting such level changes of the error detection signal every unit time. Therefore, it is possible to monitor digital high-speed transmission systems.

〔発明が解決しようとする問題点〕 ディジタル高速伝送系に於いては、情報ビット以外の余
分なビットはできるだけ用いないように考慮されている
ものであり、mB1P符号に於いては、伝送系の特性等
を考慮してmの値が選定され、例えば24或いはそれ以
上の値に選定されるものである。そして、前述のように
、伝送誤りがなければ、パリティビットの位置でフリ7
プフロツプ12の出力端子Q、 Glが初期状態となる
ように、偶数パリティが採用されているものである。
[Problems to be solved by the invention] In digital high-speed transmission systems, extra bits other than information bits are considered to be avoided as much as possible, and in mB1P code, the transmission system The value of m is selected in consideration of characteristics and the like, and is selected to be, for example, 24 or more. As mentioned above, if there is no transmission error, there is a free 7 at the parity bit position.
Even parity is adopted so that the output terminals Q and Gl of the flip-flop 12 are in the initial state.

しかし、mビットの情報ビットがオール“O”の場合は
、パリティビットPも“0″となるから、“0”が連続
することになる。このような状態の場合には、受信側で
クロック信号の再生が困難と。
However, if the m information bits are all "0", the parity bit P will also be "0", so "0" will continue. In such a situation, it is difficult to reproduce the clock signal on the receiving side.

なる欠点があった。又パリティビットを含む(m+1)
ビット中の“1”の数が奇数個となるようにパリティビ
ットPを選定して、“0”連続を防止することが考えら
れるが、その場合には、フリップフロップ12の出力信
号dがパリティビットPの位置で初期状態とはならず、
交互に“1”と“0“とになるから、第3図に示す構成
では伝送誤りを検出できないことになる。
There was a drawback. Also includes parity bit (m+1)
It is conceivable to select the parity bit P so that the number of "1"s in the bit is an odd number to prevent consecutive "0"s, but in that case, the output signal d of the flip-flop 12 is It is not in the initial state at the position of bit P,
Since the signal becomes "1" and "0" alternately, the configuration shown in FIG. 3 cannot detect a transmission error.

本発明は、前述のような欠点を改善することを目的とす
るものである。
The present invention aims to improve the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の符号誤り検出回路は、第1図を参照して説明す
ると、mビットの情報ビットに対して′1ビットのパリ
ティビットを付加した(m+1)ビット中の“1”の数
を奇数個としたmB1P符号を伝送し、このmB1P符
号の伝送誤りを検出する符号誤り検出回路であって、カ
ウンタや排他的オア回路等により構成されて前記mB 
I P符号の(m+1)ビット中の1ビットを反転させ
る回路9と、この回路の出力信号の“1”のビットで反
転動作するフリップフロップ2と、このフリップフロッ
プ2の出力の直流成分を検出する低域通過フィルタ3.
4と、この低域通過フィルタ3.4の出力レベルの変化
を検出する比較器5とから構成されているものである。
The code error detection circuit of the present invention will be explained with reference to FIG. 1. The code error detection circuit of the present invention will be described with reference to FIG. This is a code error detection circuit that transmits an mB1P code with
A circuit 9 that inverts 1 bit among (m+1) bits of the IP code, a flip-flop 2 that performs an inverting operation on the "1" bit of the output signal of this circuit, and a DC component of the output of this flip-flop 2 is detected. Low pass filter 3.
4, and a comparator 5 for detecting changes in the output level of the low-pass filter 3.4.

〔作用〕[Effect]

(m+1)ビット中の“1゛の数を奇数個とすることに
よって、mビットの情報ビットがオール″0”であって
も、パリティビットは“1”となるから、“0”の連続
は最大でmビットとなり、受信側に於けるクロック信号
の再生が容易となる、そして、このmB I P符号の
(m+1)ビット中の1ビットを回路9によって反転さ
せることにより、(m+1)ビット中の“1”の数は偶
数個となるから、フリップフロップと低域通過フィルタ
と比較器とからなる従来の構成でもって伝送誤りを検出
することができるものとなる。
By setting the number of "1"s in (m+1) bits to an odd number, even if the m bits of information bits are all "0", the parity bit will be "1", so continuous "0" will be The maximum number of bits is m, making it easy to reproduce the clock signal on the receiving side.By inverting 1 bit among the (m+1) bits of this mBIP code by the circuit 9, Since the number of "1"s is an even number, transmission errors can be detected using the conventional configuration consisting of a flip-flop, a low-pass filter, and a comparator.

〔実施例〕〔Example〕

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

第1図は本発明の実施例のブロック図であり、1はアン
ド回路、2はフリップフロップ、3.4は低域通過フィ
ルタ、5は比較器、6はmB I P符号信号aの入力
端子、7はクロック信号すの入力端子、8は誤り検出信
号lの出力端子、9はmB1P符号の(m+1)ビット
中の1ビットを反転させる為の回路、FFI〜FF3は
フリップフロップ、G1はノア回路、G2は排他的オア
回路である。回路9に於けるフリップフロップFFI〜
FF3は、m−7とした場合に対応し、第1段のフリッ
プフロップFFIのクロック端子Cにクロック信号すが
加えられ、この出力端子Qと第2段のフリップフロップ
FF2のクロック端子Cとが接続され、この出力端子Q
と第3段のフリップフロップのクロック端子Cとが接続
され、第1段と第2段のフリップフロップの出力端子Q
と第3段の出力端子ことがノア回路G1に接続され、ノ
ア回路G1の出力信号fと、入力端子6からのmB1P
符号信号aとが排他的オア回路G2に加えられて、その
出力信号gとクロック信号すとがアンド回路1に加えら
れる。
FIG. 1 is a block diagram of an embodiment of the present invention, in which 1 is an AND circuit, 2 is a flip-flop, 3.4 is a low-pass filter, 5 is a comparator, and 6 is an input terminal for mB I P code signal a. , 7 is an input terminal for the clock signal S, 8 is an output terminal for the error detection signal l, 9 is a circuit for inverting 1 bit out of (m+1) bits of the mB1P code, FFI to FF3 are flip-flops, and G1 is a NOR Circuit G2 is an exclusive-OR circuit. Flip-flop FFI in circuit 9
FF3 corresponds to the case of m-7, a clock signal is applied to the clock terminal C of the first stage flip-flop FFI, and this output terminal Q and the clock terminal C of the second stage flip-flop FF2 are connected. connected, and this output terminal Q
is connected to the clock terminal C of the third stage flip-flop, and the output terminal Q of the first and second stage flip-flops is connected to the clock terminal C of the third stage flip-flop.
and the output terminal of the third stage are connected to the NOR circuit G1, and the output signal f of the NOR circuit G1 and mB1P from the input terminal 6 are connected to the NOR circuit G1.
The code signal a is applied to the exclusive OR circuit G2, and its output signal g and the clock signal S are applied to the AND circuit 1.

第2図はm−7としたmB1P符号を用いた場合の動作
説明図であり、(a)〜<Il)は第1図の各部の信号
aweの一例を示すものであって、(a)に於けるPは
パリティビットを示す。このパリティビットは、m−7
ビットの情報ビット中の′1”が偶数個の場合にl′″
として、(m+1)ビット中の“1”の数が奇数個とな
るように選定されるものである。従って、m冨7の情報
ビットがオール“0”の場合に、パリティビットPは1
”となるから、′0”連続は8以上となることはなく、
受信側のクロック信号再生が容易となるものである。
FIG. 2 is an explanatory diagram of the operation when using the mB1P code with m-7, and (a) to <Il) show examples of the signals awe in each part of FIG. P in represents a parity bit. This parity bit is m-7
If there is an even number of '1's in the bit information bits, l'''
, the number of "1"s in (m+1) bits is selected to be an odd number. Therefore, when the information bits of m-depth 7 are all “0”, the parity bit P is 1
”, so consecutive ’0’s cannot be more than 8,
This facilitates clock signal reproduction on the receiving side.

受信したmB1P符号信号aが第2図の(a)に示す場
合、伽)に示すクロック信号すがアンド回路1とフリッ
プフロップFFIのクロック端子Cとに加えられ、フリ
ップフロップFF1の出力端子Qの信号Cは第2図の(
C)、フリップフロップFF2の出力端子Qの信号dは
(d)、フリップフロップFF3の出力端子この信号e
は(e)にそれぞれ示すものとなり、ノア回路Glの出
力信号fは(f)に示すように、(m+1>ビット中に
1回、即ち8ビット中に1回“1”となるものである。
When the received mB1P code signal a is shown in FIG. 2(a), the clock signal shown in FIG. Signal C is shown in Figure 2 (
C), the signal d at the output terminal Q of the flip-flop FF2 is (d), the signal e at the output terminal of the flip-flop FF3
are as shown in (e), and the output signal f of the NOR circuit Gl is "1" once in (m+1> bits, that is, once in 8 bits), as shown in (f). .

この出力信号fはmB I P符号信号aと共に排他的
オア回路G2に加えられるので、出力信号fが“1”の
時に、mB1P符号信号aは反転され、その出力信号g
は第2図の(g)に示すものとなり、クロック信号すと
共にアンド回路1に加えられる。
This output signal f is applied to the exclusive OR circuit G2 together with the mB1P code signal a, so when the output signal f is "1", the mB1P code signal a is inverted and the output signal g
is as shown in FIG. 2(g), and is applied to the AND circuit 1 together with the clock signal.

このアンド回路1の出力信号りは、第2図の(h)に示
すように、(m+1)ビット中の“1”の数が偶数個と
なるから、その出力信号りをフリップフロップ2のクロ
ック信号Cに加え、出力端子Q、この信号を低域通過フ
ィルタ3,4に加えて、それらの出力信号j、kを比較
器5に加えることにより、出力信号j、にのレベル変化
を示す検出信号lが出力端子8から出力される。
As shown in FIG. 2 (h), the output signal of the AND circuit 1 is an even number of "1"s among the (m+1) bits, so the output signal is applied to the clock of the flip-flop 2. In addition to the signal C, the output terminal Q, this signal is applied to the low-pass filters 3, 4, and their output signals j, k are applied to the comparator 5, thereby detecting a level change in the output signal j, A signal l is output from the output terminal 8.

前述のように、アンド回路1の出力信号りは、(m+1
)ビット中の“1”の数が偶数個となるものであるから
、パリティビットP位置のフリップフロップ2の出力信
号iは初期状態に戻ることになり、出力端子Qの信号i
の初期状態が“0”であるとすると、低域通過フィルタ
3の出力信号jは第2図の0)に示すようにローレベル
(L)となり、低域通過フィルタ4の出力信号には第2
図の(ト))に示すようにハイレベル(H)となる、従
って、比較器5の出力信号lは第2図の(A’)に示す
ようにローレベル(L)となる。
As mentioned above, the output signal of AND circuit 1 is (m+1
) Since the number of "1"s in the bits is an even number, the output signal i of the flip-flop 2 at the parity bit P position returns to the initial state, and the signal i at the output terminal Q
Assuming that the initial state of is "0", the output signal j of the low-pass filter 3 becomes a low level (L) as shown at 0) in FIG. 2, and the output signal of the low-pass filter 4 has a 2
The output signal 1 of the comparator 5 becomes a high level (H) as shown in (g) of the figure. Therefore, the output signal l of the comparator 5 becomes a low level (L) as shown in (A') of FIG.

受信mB I P符号信号aが第2図の(a)の点線で
示すように伝送誤りにより“O”が“1”となった場合
、アンド回路1の出力信号りも(h)の点線で示すよう
に61”となり、それによってフリップフロップ2は反
転動作し、その出力信号iは(1)の点線で示すように
、正常時と反対となる。即ぢ、パリティビットPの位置
で“0”であった出力信号iは1”となるから、低域通
過フィルタ3の出力信号jは、(」)の点線で示すよう
にハイレベル(H)となり、低域通過フィルタ4の出力
信号には、(k)の点線で示すようにローレベル(L)
となる。従って、比較器5の出力信号lは、(1)の点
線で示すようにハイレベル(H)となり、この出力信号
Eのレベル変化で伝送誤り検出を示すものとなる。
When the received mBIP code signal a becomes "1" due to a transmission error as shown by the dotted line in (a) of Figure 2, the output signal of AND circuit 1 becomes "1" as shown by the dotted line in (h). 61'' as shown in FIG. Since the output signal i that was ``1'' becomes 1, the output signal j of the low-pass filter 3 becomes a high level (H) as shown by the dotted line (''), and the output signal of the low-pass filter 4 becomes is low level (L) as shown by the dotted line in (k)
becomes. Therefore, the output signal l of the comparator 5 becomes high level (H) as shown by the dotted line in (1), and this level change of the output signal E indicates the detection of a transmission error.

回路9は、(m+1)ビット中の任意の位置を定めて、
そのビットを反転する構成であれば良いものであり、ク
ロック信号すをカウントする種々の構成を採用すること
ができるものである。
The circuit 9 determines an arbitrary position among (m+1) bits, and
Any configuration that inverts the bits is sufficient, and various configurations that count the clock signal can be adopted.

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

以上説明したように、本発明は、mビットの情報ビット
に対して1ピントのパリティビットを付加した(m+1
)ビット中の11の数を奇数個としたmB1P符号を伝
送することにより、情報ビットが“θ′″連続であって
もパリティビットを“1”とすることにより、“0”連
続を防止することができる。それによって、受信側に於
けるクロック信号の再生が容易となる利点がある。そし
て、回路9により(m+1)ビット中の1ビットを反転
させることにより、(m+1)ビット中の11”の数は
偶数個となるから、フリップフロップ2の出力信号はパ
リティビットPの位置で初期状態に戻ることになる。従
って、フリップフロップ2の出力の直流成分を低域通過
フィルタ3.4によって抽出することができ、この直流
成分のレベルの変化を比較器5によって検出して、伝送
誤り検出信号とすることができるものである。
As explained above, the present invention adds one pinto parity bit to m information bits (m+1
) By transmitting the mB1P code in which the number of 11s in the bits is an odd number, even if the information bits are “θ′” consecutive, the parity bit is set to “1” to prevent “0” consecutive. be able to. This has the advantage that the clock signal can be easily reproduced on the receiving side. Then, by inverting 1 bit among (m+1) bits by circuit 9, the number of 11''s among (m+1) bits becomes an even number, so the output signal of flip-flop 2 is initialized at the position of parity bit P. Therefore, the DC component of the output of the flip-flop 2 can be extracted by the low-pass filter 3.4, and the change in the level of this DC component is detected by the comparator 5 to eliminate transmission errors. This can be used as a detection signal.

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

第1図は本発明の実施例のブロック図、第2図はm−7
とした場合の動作説明図、第3図は従来の符号誤り検出
回路のブロック図、第4図はその動作説明図である。 1はアンド回路、2はフリップフロップ、3゜4は低域
通過フィルタ、5は比較器、6はmB1P符号信号の入
力端子、7はクロック信号の入力端子、8は誤り検出信
号の出力端子、9は(m+1)ビット中の1ビットを反
転する為の回路、FF1〜FF3はフリップフロップ、
G1はノア回路、G2は排他的オア回路である。
Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is an m-7
FIG. 3 is a block diagram of a conventional code error detection circuit, and FIG. 4 is a diagram explaining its operation. 1 is an AND circuit, 2 is a flip-flop, 3°4 is a low-pass filter, 5 is a comparator, 6 is an input terminal for the mB1P code signal, 7 is an input terminal for a clock signal, 8 is an output terminal for an error detection signal, 9 is a circuit for inverting 1 bit among (m+1) bits, FF1 to FF3 are flip-flops,
G1 is a NOR circuit, and G2 is an exclusive OR circuit.

Claims (1)

【特許請求の範囲】[Claims] mビットの情報ビットに対し1ビットのパリテイビット
を付加した(m+1)ビット中の“1”の数を奇数個と
したmB1P符号を伝送し、該mB1P符号の伝送誤り
を検出する符号誤り検出回路であって、前記mB1P符
号の(m+1)ビット中の1ビットを反転させる回路と
、該回路の出力信号の“1”のビットで反転動作するフ
リップフロップと、該フリップフロップの出力の直流成
分を検出する低域通過フィルタと、該低域通過フィルタ
の出力レベルの変化を検出する比較器とからなることを
特徴とする符号誤り検出回路。
Code error detection that transmits an mB1P code with an odd number of "1"s among (m+1) bits in which 1 parity bit is added to m information bits, and detects transmission errors in the mB1P code. A circuit that inverts one bit out of (m+1) bits of the mB1P code, a flip-flop that performs an inversion operation on a "1" bit of an output signal of the circuit, and a DC component of the output of the flip-flop. 1. A code error detection circuit comprising: a low-pass filter that detects a change in the output level of the low-pass filter; and a comparator that detects a change in the output level of the low-pass filter.
JP1261685A 1985-01-28 1985-01-28 Code error detection circuit Pending JPS61172438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1261685A JPS61172438A (en) 1985-01-28 1985-01-28 Code error detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1261685A JPS61172438A (en) 1985-01-28 1985-01-28 Code error detection circuit

Publications (1)

Publication Number Publication Date
JPS61172438A true JPS61172438A (en) 1986-08-04

Family

ID=11810310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1261685A Pending JPS61172438A (en) 1985-01-28 1985-01-28 Code error detection circuit

Country Status (1)

Country Link
JP (1) JPS61172438A (en)

Similar Documents

Publication Publication Date Title
JPS5831136B2 (en) Digital signal transmission method
US4481648A (en) Method and system for producing a synchronous signal from _cyclic-redundancy-coded digital data blocks
JPS61172438A (en) Code error detection circuit
JPS61172437A (en) Code error detection circuit
JPH03250935A (en) Variable length data transmission system and its transmitter-receiver
JPS61148939A (en) Frame synchronization system
JPS61239740A (en) Synchronous signal detecting device
JPH0347613B2 (en)
JPH11146022A (en) Manchester code error detection circuit and reception circuit
US5832033A (en) Clock disturbance detection based on ratio of main clock and subclock periods
JPS61161026A (en) Code error detection circuit
JPS63152238A (en) Error detecting circuit for mb1p code
JPH0472933A (en) Synchronizing pattern detection method
JPH0118607B2 (en)
JPS61133747A (en) Code error detecting circuit
JPH056808B2 (en)
KR100226022B1 (en) A system for showing an action completion state of equalizer
JP2576526B2 (en) I / O signal monitoring circuit
JP2594314B2 (en) Data structure conversion method
JPH083078Y2 (en) AIS transmission circuit in digital multiplexer
JP2759607B2 (en) Synchronous signal detection device
JPS62192982A (en) Burst error detection circuit for compact disk
JPH05244012A (en) Cmi coding/decoding device
JPH07202706A (en) Demodulation circuit of pulse width modulated signal into digital signal
JPS61129947A (en) Code error detection circuit