JPH0118607B2 - - Google Patents

Info

Publication number
JPH0118607B2
JPH0118607B2 JP59125386A JP12538684A JPH0118607B2 JP H0118607 B2 JPH0118607 B2 JP H0118607B2 JP 59125386 A JP59125386 A JP 59125386A JP 12538684 A JP12538684 A JP 12538684A JP H0118607 B2 JPH0118607 B2 JP H0118607B2
Authority
JP
Japan
Prior art keywords
circuit
exclusive
bit
output signal
data
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.)
Expired
Application number
JP59125386A
Other languages
Japanese (ja)
Other versions
JPS615629A (en
Inventor
Koji Nishizaki
Satoshi Inano
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 JP59125386A priority Critical patent/JPS615629A/en
Publication of JPS615629A publication Critical patent/JPS615629A/en
Publication of JPH0118607B2 publication Critical patent/JPH0118607B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、mB1C符号を用いたデータ伝送方式
に於いて、伝送誤りを簡単な構成によつて検出す
ることができる誤り検出方式に関するものであ
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an error detection method that can detect transmission errors with a simple configuration in a data transmission method using mB1C codes. be.

〔従来の技術〕[Conventional technology]

伝送誤り検出の為に種々の符号形式が提案され
ている。例えば、mB1P符号mB1C符号等が知ら
れている。前者のmB1P符号は、第5図に示すよ
うに、mビツトのデータにパリテイビツトPを付
加して(m+1)ビツトとする符号形式であり、
(m+1)ビツト中の“1”が偶数個となるよう
にパリテイビツトPが決定される偶数パリテイを
用いるものである。
Various code formats have been proposed for transmission error detection. For example, mB1P code, mB1C code, etc. are known. The former mB1P code is a code format in which a parity bit P is added to m-bit data to make it (m+1) bits, as shown in FIG.
Even parity is used in which the parity bit P is determined so that there is an even number of "1"s among (m+1) bits.

このmB1P符号を用いたデータ伝送に於いて
は、受信側では、例えば、第6図に示す構成によ
り伝送誤りを検出することができるものである。
即ち、受信データとクロツク信号とがそれぞれ入
力端子31,32に加えられ、アンド回路33か
らクロツク信号に同期した受信データがフリツプ
フロツプ34のクロツク端子Cに加えられ、端
子出力がデータ端子Dに加えられているので、受
信データの“1”毎に反転動作することになり、
初期状態のQ端子出力が“1”であると、(m+
1)ビツト受信する毎に、Q端子出力は初期状態
と同じ“1”となる。mビツトのデータの“1”
の発生確率が1/2である時、フリツプフロツプ3
4のQ端子出力をローパスフイルタ35を介して
出力端子36に出力することにより、伝送誤りが
なければ、直流レベルはハイレベルとなる。
In data transmission using this mB1P code, transmission errors can be detected on the receiving side using the configuration shown in FIG. 6, for example.
That is, received data and a clock signal are applied to input terminals 31 and 32, respectively, received data synchronized with the clock signal from an AND circuit 33 is applied to a clock terminal C of a flip-flop 34, and a terminal output is applied to a data terminal D. Therefore, the inversion operation is performed for each “1” of received data.
If the Q terminal output in the initial state is “1”, (m+
1) Every time a bit is received, the Q terminal output becomes "1", which is the same as the initial state. “1” of m bits of data
When the probability of occurrence of is 1/2, flip-flop 3
By outputting the Q terminal output of No. 4 to the output terminal 36 via the low-pass filter 35, the DC level becomes high level if there is no transmission error.

第7図は動作説明図であり、aに示すように、
(m+1)ビツト毎にフリツプフロツプ34のQ
端子出力は初期状態と同じ例えば“1”となり、
Eで示すように1ビツトの伝送誤りが発生する
と、(m+1)ビツト中の“1”が奇数個となる
から、フリツプフロツプ34のQ端子出力は、
(m+1)ビツト受信後に“0”となる。それ以
後に伝送誤りがなければ(m+1)ビツト毎にフ
リツプフロツプ34のQ端子出力は“0”とな
り、又伝送誤りがあれば、“1”となる。従つて、
ローパスフイルタ35の出力信号は、bに示すよ
うに、(m+1)ビツト毎にフリツプフロツプ3
4のQ端子出力が“1”の時ハイレベルHであつ
たものが、伝送誤り発生により、(m+1)ビツ
ト後に“0”となるから、ローレベルLとなる。
このローパスフイルタ35の出力信号のレベル比
較により、伝送誤り発生を検出することができる
ものである。
FIG. 7 is an explanatory diagram of the operation, and as shown in a,
Q of flip-flop 34 for every (m+1) bits
The terminal output is the same as the initial state, for example "1",
When a 1-bit transmission error occurs as shown by E, there will be an odd number of "1"s among (m+1) bits, so the Q terminal output of the flip-flop 34 will be:
It becomes "0" after receiving (m+1) bits. If there is no transmission error thereafter, the Q terminal output of the flip-flop 34 becomes "0" for every (m+1) bits, and if there is a transmission error, it becomes "1". Therefore,
The output signal of the low-pass filter 35 is passed through the flip-flop 3 every (m+1) bits, as shown in b.
When the Q terminal output of 4 is "1", it is at high level H, but becomes "0" after (m+1) bits due to the occurrence of a transmission error, so it becomes low level L.
By comparing the levels of the output signals of the low-pass filter 35, it is possible to detect the occurrence of a transmission error.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述のmB1P符号は、誤り検出の為の構成が比
較的簡単となる利点があるが、偶数パリテイを用
いる関係上、“0”の連続が生じ易い欠点がある。
即ち、mビツトがオール“0”の場合、パリテイ
ビツトPも“0”となるから、“0”の連続とな
り、中継装置や受信端局に於けるクロツク再生が
困難となる欠点がある。
The above-mentioned mB1P code has the advantage that the configuration for error detection is relatively simple, but has the disadvantage that a series of "0"s are likely to occur because it uses even parity.
That is, when the m bits are all "0", the parity bit P is also "0", resulting in a series of "0"s, which has the drawback of making it difficult to reproduce the clock at the relay device or receiving terminal station.

そこで、前述のmB1C符号が用いられる。この
mB1C符号は、第8図に示すように、mビツトの
データの最後のビツトLBに対してそれを反転し
たチエツクビツトCを付加し、(m+1)ビツト
とするものであり、mビツトがオール“0”の場
合は、最後のビツトLBが“0”であることによ
り、チエツクビツトCを“1”として付加するも
のである。従つて、“0”の連続は(m+1)ビ
ツト以下となり、mを8とすれば、“0”の最大
連続数は、その前のチエツクビツトCが“0”で
ある場合で、9となり、次に“1”のチエツクビ
ツトCが付加されるので、受信側に於けるクロツ
ク再生が容易となるものである。
Therefore, the aforementioned mB1C code is used. this
As shown in FIG. 8, the mB1C code adds a check bit C, which is the inversion of the last bit LB of m-bit data, to make (m+1) bits, and m bits are all "0". In the case of ``, check bit C is added as ``1'' because the last bit LB is ``0''. Therefore, the number of consecutive "0"s is less than or equal to (m+1) bits, and if m is 8, the maximum number of consecutive "0"s is 9 when the previous check bit C is "0", and the next Since a check bit C of "1" is added to the clock, clock reproduction on the receiving side is facilitated.

しかし、このmB1C符号の受信データの誤り検
出は、第6図に示す簡単な構成で検出することは
できないものである。即ち、(m+1)ビツト中
の“1”の個数が偶数か奇数か決まらないので、
第6図に於けるフリツプフロツプ34のQ端子出
力は、(m+1)ビツト毎に伝送誤りの有無に関
係なく変化することになる。その為、mB1C符号
の伝送誤り検出は、(m+1)ビツト毎の同期を
とつて、最後のビツトLBとチエツクビツトCと
の比較を行うことになる。受信端局に於いては、
同期化手段を備えているが、中継装置に於いて
は、同期化手段を備えていないので、伝送誤り検
出の為に同期化回路を設けなければならなくな
り、中継装置の構成が複雑となると共に、コスト
アツプとなる欠点があつた。
However, error detection in the received data of this mB1C code cannot be detected with the simple configuration shown in FIG. In other words, since it is not determined whether the number of "1"s in (m+1) bits is even or odd,
The Q terminal output of the flip-flop 34 in FIG. 6 changes every (m+1) bits regardless of the presence or absence of a transmission error. Therefore, to detect a transmission error in the mB1C code, the last bit LB and check bit C are compared with each other by synchronizing each (m+1) bit. At the receiving end station,
However, since the relay device is not equipped with a synchronization means, a synchronization circuit must be provided to detect transmission errors, which complicates the configuration of the relay device. However, it had the disadvantage of increasing costs.

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

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

本発明は、mB1C符号を用いたデータ伝送に於
ける誤り検出方式に於いて、mB1C符号のデータ
と、このデータを1ビツト遅延させたデータとの
排他的論理和をとる第1の排他的論理和回路と、
(m+1)ビツト遅延させる遅延回路と、前記第
1の排他的論理和回路の出力信号と前記遅延回路
の出力信号とを加える第2の排他的論理和回路
と、この第2の排他的論理和回路の出力信号を反
転して前記遅延回路に加える反転回路と、前記第
2の排他的論理回路の出力信号を加えるローパス
フイルタとを設けて、このローパスフイルタの出
力信号レベルの変化点を検出して、伝送誤りを検
出するものである。
In an error detection method in data transmission using mB1C code, the present invention provides a first exclusive logic that calculates the exclusive OR of data of mB1C code and data obtained by delaying this data by 1 bit. sum circuit and
(m+1) bit delay circuit; a second exclusive OR circuit that adds the output signal of the first exclusive OR circuit and the output signal of the delay circuit; An inverting circuit that inverts the output signal of the circuit and applies it to the delay circuit, and a low-pass filter that applies the output signal of the second exclusive logic circuit are provided, and a point of change in the output signal level of the low-pass filter is detected. This is used to detect transmission errors.

〔作用〕[Effect]

第1の排他的論理和回路により、相互に1ビツ
トずれたmB1C符号の受信データの比較が行わ
れ、mビツトの最後のビツトLBとチエツクビツ
トCとが比較されることになる。又第2の排他的
論理和回路により、第1の排他的論理和回路の出
力信号と、その第2の排他的論理和回路の出力信
号を反転して(m+1)ビツト遅延させた信号と
の比較が行われ、伝送誤りがなければ、(m+1)
ビツト毎に同一極性の信号が出力され、伝送誤り
があれば、極性が反転された信号が出力される。
従つて、ローパスフイルタの出力信号は、伝送誤
り発生によりレベルが変化することになり、その
出力信号レベル変化を識別することにより、伝送
誤りを検出するものである。
The first exclusive OR circuit compares the received data of mB1C codes that are shifted by one bit from each other, and the last bit LB of m bits is compared with the check bit C. Further, the second exclusive OR circuit outputs the output signal of the first exclusive OR circuit and a signal obtained by inverting the output signal of the second exclusive OR circuit and delaying it by (m+1) bits. If the comparison is made and there is no transmission error, then (m+1)
A signal with the same polarity is output for each bit, and if there is a transmission error, a signal with the polarity inverted is output.
Therefore, the output signal of the low-pass filter changes in level due to the occurrence of a transmission error, and transmission errors are detected by identifying the change in the output signal level.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例のブロツク図であ
り、1はmB1C符号の受信データの入力端子、2
は1ビツトの遅延回路、3は第1の排他的論理和
回路、4は第2の排他的論理和回路、5はインバ
ータ、6は(m+1)ビツトの遅延回路、7はロ
ーパスフイルタ、8は出力端子である。受信デー
タは、入力端子1から一方は直接、他方は1ビツ
トの遅延回路2を介してそれぞれ排他的論理和回
路3に加えられ、その出力信号は第2の排他的論
理和回路4の一方の入力となり、その排他的論理
和回路4の出力信号は、インバータ5とローパス
フイルタ7とに加えられ、インバータ5の出力信
号は(m+1)ビツトの遅延回路6を介して排他
的論理和回路4の他方の入力となる。
FIG. 1 is a block diagram of an embodiment of the present invention, in which 1 is an input terminal for mB1C code reception data, 2
is a 1-bit delay circuit, 3 is a first exclusive OR circuit, 4 is a second exclusive OR circuit, 5 is an inverter, 6 is a (m+1) bit delay circuit, 7 is a low-pass filter, and 8 is a It is an output terminal. The received data is applied directly from the input terminal 1 to the exclusive OR circuit 3, and the other is applied to the exclusive OR circuit 3 via the 1-bit delay circuit 2, and the output signal is applied to one of the second exclusive OR circuits 4. The output signal of the exclusive OR circuit 4 is applied to the inverter 5 and the low-pass filter 7, and the output signal of the inverter 5 is applied to the exclusive OR circuit 4 via the (m+1)-bit delay circuit 6. This becomes the other input.

第2図は、本発明の実施例の動作説明図であ
り、aは受信データの一例を示し、mビツトの最
後のビツトLBが“0”であると、チエツクビツ
トCは“1”、最後のビツトLBが“1”である
と、チエツクビツトCは“0”として付加される
ことになり、このような(m+1)ビツトのデー
タが受信されるものであり、Eは最後のビツト
LBが伝送誤りをおこしたことを示すものである。
FIG. 2 is an explanatory diagram of the operation of the embodiment of the present invention, where a shows an example of received data. When the last bit LB of m bits is "0", the check bit C is "1", and the last bit LB is "0". When bit LB is "1", check bit C is added as "0", and such (m+1) bits of data are received, and E is the last bit.
This indicates that the LB has caused a transmission error.

又bは遅延回路2により1ビツト遅延された受
信データを示し、排他的論理和回路3に於いて
は、相互に1ビツトずれた受信データを比較する
ものであり、従つて、(m+1)ビツト毎に最後
のビツトLBとチエツクビツトCとを比較するこ
とになる。この排他的論理和回路3の出力信号
は、cに示すように、チエツクビツトCの位置に
於いて、伝送誤りがなければ、“1”となり、最
後のビツトLB或いはチエツクビツトCの伝送誤
りがあると、“0”となる。この“0”を検出す
ることにより伝送誤り発生を検出できるが、(m
+1)ビツトの同期をとらないと、他のデータと
の比較出力との区別ができないことになる。
Further, b indicates the received data delayed by 1 bit by the delay circuit 2, and the exclusive OR circuit 3 compares the received data shifted by 1 bit with each other. Therefore, (m+1) bits are The last bit LB and check bit C are compared each time. As shown in c, the output signal of this exclusive OR circuit 3 becomes "1" if there is no transmission error at the position of check bit C, and if there is a transmission error in the last bit LB or check bit C. , becomes "0". By detecting this “0”, it is possible to detect the occurrence of a transmission error, but (m
+1) If the bits are not synchronized, it will not be possible to distinguish the comparison output from other data.

そこで、第2の排他的論理和回路4、反転回路
としてのインバータ5、(m+1)ビツトの遅延
回路6及びローパスフイルタ7からなる構成によ
り、伝送誤りによつて第1の排他的論理和回路3
の出力信号が“0”となつたことを容易に検出で
きるようにするものである。即ち、排他的論理和
回路4には、第1の排他的論理和回路3の出力信
号と、排他的論理和回路4の出力信号をインバー
タ5により反転し、遅延回路6により(m+1)
ビツト遅延した信号とが入力されるもので、伝送
誤りがなければ、排他的論理和回路4の出力信号
は(m+1)ビツト毎に、例えば、“1”となり、
インバータ5の出力信号は、(m+1)ビツト毎
に“0”、遅延回路6の出力信号も(m+1)ビ
ツト毎に“0”となる。しかし、前述のEで示す
伝送誤りにより、第1の排他的論理和回路3の出
力信号は、cに示すものとなり、且つ遅延回路6
の出力信号はdに示すものとなる。従つて、第2
の排他的論理和回路4の出力信号はeに示すもの
となり、伝送誤りがない時は、(m+1)ビツト
毎に、例えば、“1”であるが、伝送誤りが発生
すると、反転して“0”となる。その後に又伝送
誤りが発生すると、(m+1)ビツト毎に再び反
転して“1”となる。
Therefore, by using a configuration consisting of the second exclusive OR circuit 4, an inverter 5 as an inverting circuit, an (m+1) bit delay circuit 6, and a low-pass filter 7, the transmission error can cause the first exclusive OR circuit 3 to
This makes it possible to easily detect that the output signal of has become "0". That is, in the exclusive OR circuit 4, the output signal of the first exclusive OR circuit 3 and the output signal of the exclusive OR circuit 4 are inverted by the inverter 5, and (m+1) is output by the delay circuit 6.
A bit-delayed signal is input, and if there is no transmission error, the output signal of the exclusive OR circuit 4 will be, for example, "1" every (m+1) bits.
The output signal of the inverter 5 becomes "0" every (m+1) bits, and the output signal of the delay circuit 6 also becomes "0" every (m+1) bits. However, due to the above-mentioned transmission error indicated by E, the output signal of the first exclusive OR circuit 3 becomes as indicated by c, and the output signal of the first exclusive OR circuit 3 becomes as indicated by c.
The output signal of is shown in d. Therefore, the second
The output signal of the exclusive OR circuit 4 is as shown in e. When there is no transmission error, each (m+1) bit is, for example, "1", but when a transmission error occurs, it is inverted and becomes "1". 0”. If a transmission error occurs again after that, each (m+1) bit is inverted again and becomes "1".

ローパスフイルタ7の出力信号は、fに示すよ
うに、(m+1)ビツト毎に“1”となる時は、
mビツトのデータの“1”の発生確率が1/2であ
ることにより、ハイレベルHとなり、伝送誤りが
発生して(m+1)ビツト毎に“0”となる時
は、ローレベルLとなる。従つて、このハイレベ
ルHとローレベルLとのレベル反転を検出するこ
とにより、伝送誤りが発生したことを検出するこ
とができる。このようなレベル反転の検出手段
は、既に知られている種々の手段を採用すること
ができるものである。
When the output signal of the low-pass filter 7 becomes "1" every (m+1) bits, as shown in f,
Since the probability of occurrence of "1" in m-bit data is 1/2, it becomes a high level H, and when a transmission error occurs and every (m+1) bit becomes "0", it becomes a low level L. . Therefore, by detecting the level inversion between the high level H and the low level L, it is possible to detect that a transmission error has occurred. As such level reversal detection means, various known means can be employed.

第3図は、本発明の他の実施例のブロツク図で
あり、第1図と同一符号は同一部分を示し、9,
10はフリツプフロツプ、CLKはクロツク信号
の入力端子である。受信データは入力端子1から
フリツプフロツプ9のデータ端子Dに加えられ、
クロツク信号は、フリツプフロツプ9,10のク
ロツク端子Cに加えられるので、フリツプフロツ
プ9,10のQ端子からクロツク信号に同期した
データが出力され、それぞれ排他的論理和回路3
の入力となる。又フリツプフロツプ9のQ端子出
力に対して、フリツプフロツプ10のQ端子出力
は1クロツク信号分即ち1ビツト遅延されたもの
となる。従つて、フリツプフロツプ9,10は、
クロツク信号に受信データを同期させ、且つ1ビ
ツト遅延回路を構成するものである。
FIG. 3 is a block diagram of another embodiment of the present invention, in which the same reference numerals as in FIG. 1 indicate the same parts;
10 is a flip-flop, and CLK is an input terminal for a clock signal. The received data is applied from input terminal 1 to data terminal D of flip-flop 9,
Since the clock signal is applied to the clock terminals C of the flip-flops 9 and 10, data synchronized with the clock signal is output from the Q terminals of the flip-flops 9 and 10, and the data is outputted from the Q terminals of the flip-flops 9 and 10, respectively.
becomes the input. Also, with respect to the Q terminal output of flip-flop 9, the Q terminal output of flip-flop 10 is delayed by one clock signal, that is, one bit. Therefore, the flip-flops 9 and 10 are
It synchronizes received data with a clock signal and constitutes a 1-bit delay circuit.

排他的論理和回路3の出力信号を加える第2の
排他的論理和回路4、インバータ5、遅延回路6
及びローパスフイルタ7による動作は、前述の実
施例と同様であり、重複する説明となるので省略
する。
A second exclusive OR circuit 4 to which the output signal of the exclusive OR circuit 3 is added, an inverter 5, and a delay circuit 6
The operations of the low-pass filter 7 and the low-pass filter 7 are the same as those of the above-mentioned embodiments, and the explanation will be omitted since it will be redundant.

第4図は本発明の更に他の実施例のブロツク図
であり、11はフリツプフロツプ、12は1ビツ
トの遅延回路、13は第1の排他的論理和回路、
14な反転出力端子を有する第2の排他的論理和
回路、15,17,20はナンド回路、19はゲ
ート回路、16は(m+1)ビツトの遅延回路、
18はフリツプフロツプ、21はローパスフイル
タ、22は増幅器、23は比較器、24は単安定
マルチバイブレータ、25は基準電圧入力端子、
26は出力端子、27は受信データの入力端子、
28はクロツク信号の入力端子である。
FIG. 4 is a block diagram of still another embodiment of the present invention, in which 11 is a flip-flop, 12 is a 1-bit delay circuit, 13 is a first exclusive OR circuit,
a second exclusive OR circuit having 14 inverted output terminals; 15, 17, and 20 are NAND circuits; 19 is a gate circuit; 16 is a (m+1)-bit delay circuit;
18 is a flip-flop, 21 is a low-pass filter, 22 is an amplifier, 23 is a comparator, 24 is a monostable multivibrator, 25 is a reference voltage input terminal,
26 is an output terminal, 27 is an input terminal for receiving data,
28 is an input terminal for a clock signal.

受信データは、入力端子27からフリツプフロ
ツプ11のデータ端子Dに加えられ、又クロツク
信号は、ナンド回路20を介してフリツプフロツ
プ11,18のクロツク端子Cに加えられる。フ
リツプフロツプ11のQ端子出力はそのまま第1
の排他的論理和回路13に加えられ、端子出力
は、1ビツト遅延回路12を介して排他的論理和
回路13に加えられる。従つて、排他的論理和回
路13には、相互に1ビツトずれて且つ反転され
た受信データが入力されることになり、最後のビ
ツトLBとチエツクビツトCとの比較結果は、伝
送誤りがない時、“1”となり、伝送誤りがある
時は、“0”となる。即ち、第1図及び第3図に
於ける第1の排他的論理和回路3の出力信号と反
対の関係となる。
The received data is applied from input terminal 27 to data terminal D of flip-flop 11, and the clock signal is applied via NAND circuit 20 to clock terminal C of flip-flops 11 and 18. The Q terminal output of flip-flop 11 is directly connected to the first
The terminal output is applied to the exclusive OR circuit 13 via the 1-bit delay circuit 12. Therefore, the received data that is mutually shifted by one bit and inverted is input to the exclusive OR circuit 13, and the comparison result between the last bit LB and check bit C is the same as when there is no transmission error. , becomes "1", and becomes "0" when there is a transmission error. That is, the relationship is opposite to the output signal of the first exclusive OR circuit 3 in FIGS. 1 and 3.

又第2の排他的論理和回路14は非反転出力端
子からの出力信号をローパスフイルタ21に加
え、反転出力端子からの出力信号をナンド回路1
5を介して遅延回路16に加え、その出力信号を
ナンド回路17により波形整形して、フリツプフ
ロツプ18のデータ端子Dに加え、そのQ端子出
力をゲート回路19を介して排他的論理和回路1
4に加える。ゲート回路19は、第1の排他的論
理和回路13の出力信号と、フリツプフロツプ1
8のQ端子出力信号との位相を合わせる為のもの
である。
Further, the second exclusive OR circuit 14 applies the output signal from the non-inverting output terminal to the low-pass filter 21, and applies the output signal from the inverting output terminal to the NAND circuit 1.
5 to the delay circuit 16, the output signal is waveform-shaped by the NAND circuit 17, and is applied to the data terminal D of the flip-flop 18, and the Q terminal output is sent to the exclusive OR circuit 1 via the gate circuit 19.
Add to 4. The gate circuit 19 receives the output signal of the first exclusive OR circuit 13 and the flip-flop 1.
This is to match the phase with the Q terminal output signal of No.8.

第1の排他的論理和回路13の出力信号が、前
述の第1図及び第3図に示す実施例と反対となつ
たとしても、第2の排他的論理和回路14の出力
信号は、同じものとなるから、伝送誤りが発生し
た時、第2の排他的論理和回路14の(m+1)
ビツト毎の出力信号が反転し、ローパスフイルタ
21の出力信号レベルも反転し、増幅器22によ
り増幅して、比較器23により、ハイレベルHと
ローレベルLとの中間点に相当する基準電圧を入
力端子25に加えて比較すると、ローパスフイル
タ21の出力信号レベルの反転により比較器23
の出力信号も反転し、その信号の反転時に単安定
マルチバイブレータ24がトリガされて、出力端
子26から所定のパルス幅の伝送誤り発生検出信
号が出力されることになる。
Even if the output signal of the first exclusive OR circuit 13 is opposite to the embodiment shown in FIGS. 1 and 3, the output signal of the second exclusive OR circuit 14 is the same. Therefore, when a transmission error occurs, (m+1) of the second exclusive OR circuit 14
The output signal for each bit is inverted, the output signal level of the low-pass filter 21 is also inverted, and the amplifier 22 amplifies it, and the comparator 23 inputs a reference voltage corresponding to the midpoint between high level H and low level L. In addition to the terminal 25, when compared, the inversion of the output signal level of the low-pass filter 21 causes the comparator 23 to
The output signal of is also inverted, and when the signal is inverted, the monostable multivibrator 24 is triggered, and a transmission error occurrence detection signal with a predetermined pulse width is output from the output terminal 26.

この検出信号を所定時間毎にカウントすること
により、伝送路の誤り率を求めることが可能であ
るから、伝送路の監視を容易に行うことができる
ことになる。
By counting this detection signal at predetermined time intervals, it is possible to determine the error rate of the transmission path, so that the transmission path can be easily monitored.

前述の実施例に於いて、遅延回路6,16は、
(m+1)ビツトの遅延を行う構成であれば、遅
延線、シフトレジスタ等の任意の構成を採用する
ことが可能であり、又ローパスフイルタ7,21
は、データ速度やmの値等に対応して、遮断周波
数が選定されるものである。又本発明は前述の実
施例にのみ限定されるものではなく、種々付加変
更することができるものである。
In the embodiments described above, the delay circuits 6 and 16 are
Any configuration such as a delay line, shift register, etc. can be adopted as long as the configuration performs a delay of (m+1) bits, and low-pass filters 7 and 21 can be used.
The cutoff frequency is selected depending on the data rate, the value of m, etc. Furthermore, the present invention is not limited to the above-described embodiments, but can be modified in various ways.

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

以上説明したように、本発明は、mB1C符号を
用いた伝送方式に於いて、受信データと、これを
1ビツト遅延させたデータとを第1の排他的論理
和回路3,13により排他的論理和をとることに
よつて、(m+1)ビツト毎に伝送誤りがない時
に“1”(又は“0”)、伝送誤りがある時に“0”
(又は“1”)となるから、この第1の排他的論理
和回路3,13の出力信号と、第2の排他的論理
和回路4,14の出力信号を反転して(m+1)
ビツト遅延させた信号とを、第2の排他的論理和
回路4,14により比較し、それにより、(m+
1)ビツト毎の比較出力信号は、伝送誤り発生に
より反転するので、ローパスフイルタ7,21に
より直流分を取り出して、レベル識別を行うこと
により、伝送誤り発生を容易に検出することがで
き、且つ同期回路を必要としないので、中継装置
にも容易に適用することが可能となり、経済的な
伝送系の障害監視手段を構成することができる利
点がある。
As explained above, in a transmission system using mB1C codes, the present invention provides exclusive logic processing of received data and data delayed by 1 bit using first exclusive OR circuits 3 and 13. By calculating the sum, each (m+1) bit becomes "1" (or "0") when there is no transmission error, and "0" when there is a transmission error.
(or "1"), so the output signals of the first exclusive OR circuits 3 and 13 and the output signals of the second exclusive OR circuits 4 and 14 are inverted to (m+1).
The bit-delayed signal is compared by the second exclusive OR circuits 4 and 14, and (m+
1) Since the comparison output signal for each bit is inverted when a transmission error occurs, the occurrence of a transmission error can be easily detected by extracting the DC component using the low-pass filters 7 and 21 and performing level identification. Since no synchronous circuit is required, it can be easily applied to relay devices, and has the advantage of being able to constitute an economical means for monitoring faults in transmission systems.

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

第1図は本発明の一実施例のブロツク図、第2
図は本発明の実施例の動作説明図、第3図及び第
4図は本発明のそれぞれ異なる実施例のブロツク
図、第5図はmB1P符号の説明図、第6図は従来
のmB1P符号を用いたデータ伝送に於ける誤り検
出手段の要部ブロツク図、第7図は伝送誤り発生
検出の動作説明図、第8図はmB1C符号の説明図
である。 1,27は受信データの入力端子、2,12は
1ビツト遅延回路、3,13は第1の排他的論理
和回路、4,14は第2の排他的論理和回路、5
はインバータ、6,16は(m+1)ビツトの遅
延回路、7,21はローパスフイルタ、8,26
は出力端子、9,10,11,18はフリツプフ
ロツプ、22は増幅器、23は比較器、24は単
安定マルチバイブレータ(MMV)である。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
The figure is an explanatory diagram of the operation of the embodiment of the present invention, Figures 3 and 4 are block diagrams of different embodiments of the present invention, Figure 5 is an explanatory diagram of the mB1P code, and Figure 6 is the conventional mB1P code. FIG. 7 is an explanatory diagram of the operation of detecting the occurrence of a transmission error, and FIG. 8 is an explanatory diagram of the mB1C code. 1 and 27 are input terminals for received data, 2 and 12 are 1-bit delay circuits, 3 and 13 are first exclusive OR circuits, 4 and 14 are second exclusive OR circuits, and 5
is an inverter, 6 and 16 are (m+1) bit delay circuits, 7 and 21 are low-pass filters, and 8 and 26 are
is an output terminal, 9, 10, 11, and 18 are flip-flops, 22 is an amplifier, 23 is a comparator, and 24 is a monostable multivibrator (MMV).

Claims (1)

【特許請求の範囲】[Claims] 1 mB1C符号を用いたデータ伝送に於ける誤り
検出方式に於いて、前記mB1C符号のデータと、
該データを1ビツト遅延させたデータとの排他的
論理和をとる第1の排他的論理和回路と、(m+
1)ビツト遅延させる遅延回路と、前記第1の排
他的論理和回路の出力信号と前記遅延回路の出力
信号とを加える第2の排他的論理和回路と、該第
2の排他的論理和回路の出力信号を反転して前記
遅延回路に加える反転回路と、前記第2の排他的
論理回路の出力信号を加えるローパスフイルタと
を備え、該ローパスフイルタの出力信号のレベル
反転を検出して誤りを検出することを特徴とする
誤り検出方式。
1 In an error detection method in data transmission using mB1C code, data of the mB1C code and
a first exclusive OR circuit that performs exclusive OR of the data with data delayed by 1 bit;
1) A delay circuit that delays bits, a second exclusive OR circuit that adds the output signal of the first exclusive OR circuit and the output signal of the delay circuit, and the second exclusive OR circuit. an inverting circuit that inverts the output signal of the second exclusive logic circuit and applies it to the delay circuit, and a low-pass filter that applies the output signal of the second exclusive logic circuit, and detects a level inversion of the output signal of the low-pass filter to detect an error. An error detection method characterized by detecting errors.
JP59125386A 1984-06-20 1984-06-20 Error detection system Granted JPS615629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59125386A JPS615629A (en) 1984-06-20 1984-06-20 Error detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59125386A JPS615629A (en) 1984-06-20 1984-06-20 Error detection system

Publications (2)

Publication Number Publication Date
JPS615629A JPS615629A (en) 1986-01-11
JPH0118607B2 true JPH0118607B2 (en) 1989-04-06

Family

ID=14908848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59125386A Granted JPS615629A (en) 1984-06-20 1984-06-20 Error detection system

Country Status (1)

Country Link
JP (1) JPS615629A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2800313B2 (en) * 1989-10-23 1998-09-21 キヤノン株式会社 Image playback device

Also Published As

Publication number Publication date
JPS615629A (en) 1986-01-11

Similar Documents

Publication Publication Date Title
US4040022A (en) Missing clock detection circuit
US5127023A (en) Retiming decoder/encoder
US4581741A (en) Error detection apparatus for data dependent coding circuitry
JPH0118607B2 (en)
US3491202A (en) Bi-polar phase detector and corrector for split phase pcm data signals
JP3217993B2 (en) Parity check circuit
JPH08316946A (en) Clock loss detection circuit
US4809301A (en) Detection apparatus for bi-phase signals
US5832033A (en) Clock disturbance detection based on ratio of main clock and subclock periods
JPS61148939A (en) Frame synchronization system
US5148450A (en) Digital phase-locked loop
JP2619939B2 (en) Synchronous pattern detection circuit
JPS61133747A (en) Code error detecting circuit
JPS63152238A (en) Error detecting circuit for mb1p code
JPH0531973B2 (en)
JPS63312754A (en) Error generation circuit
JP2000174838A (en) Data receiver
JPS63219226A (en) Decoding circuit
JPH03184446A (en) Manchester code decoder circuit
JPS63311665A (en) Synchronizing signal detecting method
JPH04354421A (en) Error parity recovery circuit
JPS606143B2 (en) Input data state change detection circuit
JPS63310222A (en) Ending error self-monitor type nrz/cmi code converter
JPS61158232A (en) Sequential preamble signal detecting circuit
JPH0420138A (en) Serial data transmission system