JP2549152B2 - Code error detection circuit - Google Patents

Code error detection circuit

Info

Publication number
JP2549152B2
JP2549152B2 JP63195094A JP19509488A JP2549152B2 JP 2549152 B2 JP2549152 B2 JP 2549152B2 JP 63195094 A JP63195094 A JP 63195094A JP 19509488 A JP19509488 A JP 19509488A JP 2549152 B2 JP2549152 B2 JP 2549152B2
Authority
JP
Japan
Prior art keywords
violation
code
mask pulse
detection circuit
code error
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 - Lifetime
Application number
JP63195094A
Other languages
Japanese (ja)
Other versions
JPH0243852A (en
Inventor
健直 竹村
浩市 篠崎
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 JP63195094A priority Critical patent/JP2549152B2/en
Publication of JPH0243852A publication Critical patent/JPH0243852A/en
Application granted granted Critical
Publication of JP2549152B2 publication Critical patent/JP2549152B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 I.実施例と第1図との対応関係 II.実施例の構成 (i)全体の構成 (ii)マスクパルス発生回路の構成 III.実施例の動作 IV.実施例のまとめ V.発明の変形態様 発明の効果 〔概 要〕 バイポーラ符号化された通信の符号誤りを監視する符
号誤り検出回路に関し、 符号誤りを正確に検出することを目的とし、 バイポーラ符号化された入力信号の符号則違反を検出
する違反検出手段と、違反検出手段の検出信号に基づい
て所定の長さのマスクパルスを発生するマスクパルス発
生手段と、マスクパルスの発生している期間、違反検出
手段で検出された符号則違反を符号則違反でないと判別
する判別手段と、を具えて信号の符号誤りを検出するよ
うに構成する。
DETAILED DESCRIPTION OF THE INVENTION [Table of Contents] Outline Industrial field of use Conventional technology Problems to be solved by the invention Means for solving the problem Action Example I. Correspondence between Example and FIG. 1 II Configuration of Embodiment (i) Overall Configuration (ii) Configuration of Mask Pulse Generation Circuit III. Operation of Embodiment IV. Summary of Embodiment V. Modification of Invention Effect of Invention [Overview] Bipolar coded Regarding a code error detection circuit for monitoring a communication code error, for the purpose of accurately detecting a code error, a violation detection means for detecting a code rule violation of a bipolar encoded input signal, and a detection signal of the violation detection means A mask pulse generating means for generating a mask pulse of a predetermined length based on, a discriminating means for discriminating a coding rule violation detected by the violation detecting means as a coding rule violation, while the mask pulse is generated, With Configured to detect a code error of the signal.

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

本発明は、バイポーラ符号化方式のうち、例えばB8ZS
方式,B6ZS方式のように、所定のデータに対して故意に
符号則に違反する符号を当てる符号化方式によって符号
化された通信を監視する符号誤り検出回路に関し、特
に、故意に入れられた符号則違反を検出しないようにし
た符号誤り検出回路に関するものである。
The present invention is based on, for example, B8ZS among the bipolar encoding methods.
Method, B6ZS method, such as a code error detection circuit for monitoring communication coded by a coding method that intentionally applies a code that violates the coding rule to predetermined data, and in particular, a code intentionally inserted The present invention relates to a code error detection circuit that does not detect a rule violation.

〔従来の技術〕[Conventional technology]

デジタル通信において通信しようとするデータは、通
信回線における伝送に適するように符号化されてから伝
送される。この符号化の方式の一つとして、バイポーラ
符号化方式があり、原則として通信しようとするデータ
の中の隣あった“1"は、異なる極性の符号を交互に当て
て示される。このような異なる極性の符号をバイポーラ
ビット(Bビット)と呼ぶことにする。
Data to be communicated in digital communication is transmitted after being encoded so as to be suitable for transmission on a communication line. As one of the encoding methods, there is a bipolar encoding method, and in principle, adjacent "1" s in data to be communicated are indicated by alternately applying codes of different polarities. Codes of such different polarities will be called bipolar bits (B bits).

第6図は、バイポーラ符号化方式によって符号化され
たデータの説明図である。
FIG. 6 is an explanatory diagram of data encoded by the bipolar encoding method.

例えば、8ビットのデータ“10011010"を示す符号
は、第6図ののように、“B00BB0B0"となる。
For example, the code indicating the 8-bit data "10011010" is "B00BB0B0" as shown in FIG.

上述のように、通信されるデータは、同じ極性のパル
スが連続しないように符号化されているから、受信側の
符号則違反検出回路は、第6図ののように同じ極性の
ビットを連続して受信すると、伝送路における雑音など
によって生じる符号誤りとして検出する。
As described above, since the data to be communicated is encoded so that pulses of the same polarity do not continue, the coding rule violation detection circuit on the receiving side continuously outputs bits of the same polarity as shown in FIG. Then, it is detected as a code error caused by noise on the transmission path.

このような符号則違反をバイポーラバイオレーション
と呼び、符号則違反ビットをバイオレーションビット
(Vビット)と呼ぶことにする。
Such a code rule violation is called a bipolar violation, and a code rule violation bit is called a violation bit (V bit).

通信回線を通しての通信の中継および監視を行なう端
局装置には、上述のような符号誤りを検出する符号則違
反検出回路と、この符号則違反検出回路によって検出さ
れた符号則違反を一定時間Tだけ蓄積し、その数(バイ
オレーションレート)に基づいて、通信を続行する上で
障害となるか否かを判別するエラー判定部が設けられて
いる。
In a terminal device that relays and monitors communication through a communication line, a code rule violation detection circuit for detecting a code error as described above and a code rule violation detected by the code rule violation detection circuit are detected for a predetermined time T. There is provided an error determination unit that determines whether or not it is an obstacle for continuing communication based on the number (violation rate).

エラー判定部は、バイオレーションレートが所定数RV
を越えると、通信回線または端局装置に異常が発生した
ため端局装置に入力されている入力信号が誤っていると
判断して、復号部などの後続の装置に対して警報を発す
る。
The error determination unit has a violation rate R V
When it exceeds the threshold, it is determined that the input signal input to the terminal device is incorrect because an abnormality has occurred in the communication line or the terminal device, and an alarm is issued to the subsequent device such as the decoding unit.

この警報を出力した後、エラー判定部は更に所定の回
数だけバイオレーションレートを測定し、その結果が常
に所定数RV以下であれば、入力信号が正しいと判断し
て、入力信号の処理を再開させる。
After outputting this alarm, the error determination unit further measures the violation rate a predetermined number of times, and if the result is always less than or equal to the predetermined number R V , it is determined that the input signal is correct, and the input signal is processed. Resume.

ところで、バイポーラ符号化方式の中には、B8ZS方式
やB6ZS方式のように、通信データを符号化する際に、デ
ータに含まれる連続した“0"ビットに対応して、符号則
に違反するバイオレーションビット(Vビット)を故意
に含んだ所定の符号を出力する方式がある。
By the way, some of the bipolar encoding methods, such as the B8ZS method and the B6ZS method, correspond to consecutive “0” bits included in the data when encoding communication data, and violate the coding rule. There is a method of outputting a predetermined code that intentionally includes a relative bit (V bit).

例えばB8ZS方式に基づいた符号化装置は、データの中
の8ビット連続した“0"に対応して、第6図ののよう
に、“000VB0VB"を出力する。受信側の符号則違反検出
回路は、この通信データを受信すると、通信データに含
まれているバイオレーションビットを符号誤りとして検
出しないで、8ビット連続した“0"であると解釈する。
For example, an encoding device based on the B8ZS system outputs "000VB0VB" as shown in FIG. 6 in response to 8 consecutive "0s" in the data. Upon receipt of this communication data, the coding rule violation detection circuit on the receiving side does not detect the violation bit included in the communication data as a code error, and interprets it as a continuous “0” of 8 bits.

一方、8ビット連続した“0"を示す通信データ(第6
図参照)が、第6図のように変形して伝送された場
合は、第6図のに示したように、本来の符号誤り(1
ビット)に加えて、故意に入れられた2つのバイオレー
ションビットをも符号誤りとして検出される。
On the other hand, communication data (0
(See FIG. 6) is transmitted after being transformed as shown in FIG. 6, the original code error (1
In addition to (bit), two intentionally entered violation bits are also detected as code errors.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

ところで、上述した従来の符号則違反検出回路にあっ
ては、通信データに含まれる符号則違反を全て雑音など
による符号誤りとして検出してしまうので、実際に生じ
ている符号誤りよりも多数の符号誤りが検出されてしま
い、符号誤りの数を正しく把握することができないとい
う問題点があった。
By the way, in the above-mentioned conventional coding rule violation detection circuit, all the coding rule violations included in the communication data are detected as code errors due to noises, etc. Therefore, a larger number of codes than actual code errors are generated. There is a problem that an error is detected and the number of code errors cannot be correctly grasped.

このように、符号違反検出回路が符号誤りの数を正し
く把握できず、実際よりも多数の符号誤りを検出する
と、通信品質の向上の要望に対応するために、端局装置
の符号誤りの許容範囲を小さく設定した場合、エラー判
定部により頻繁に警報が出力されて通信の処理が一時停
止してしまうことが考えられる。
In this way, when the code violation detection circuit cannot correctly grasp the number of code errors and detects a larger number of code errors than the actual one, in order to meet the demand for improvement of communication quality, the code error tolerance of the terminal device is tolerated. When the range is set small, it is possible that the error determination unit frequently outputs an alarm and the communication process is temporarily stopped.

また、符号誤りの許容範囲を小さく設定する際には、
符号誤りを蓄積する時間Tを以前よりも長く設定されて
いる。このため、エラー判定部により本当に入力信号が
異常であるか否かを判定するために必要な時間が長くな
るので、端局装置が一時停止している時間が長くなって
しまう。
Also, when setting the allowable range of code error to be small,
The time T for accumulating code errors is set longer than before. For this reason, the time required for the error determination unit to determine whether or not the input signal is truly abnormal becomes long, and the time during which the terminal device is temporarily stopped becomes long.

本発明は、このような点にかんがみて創作されたもの
であり、故意に入れられたバイオレーションビットを符
号誤りとして検出しないで、符号誤りを正確に検出する
ようにした符号誤り検出回路を提供することを目的とし
ている。
The present invention has been made in view of such a point, and provides a code error detection circuit for accurately detecting a code error without detecting a deliberately entered violation bit as a code error. The purpose is to do.

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

第1図は、本発明の符号誤り検出回路の原理ブロック
図である。
FIG. 1 is a block diagram of the principle of the code error detection circuit of the present invention.

図において、違反検出手段101は、バイポーラ符号化
された入力信号の符号則違反を検出する。
In the figure, a violation detecting means 101 detects a coding rule violation of a bipolar-coded input signal.

マスクパルス発生手段102は、違反検出手段101の検出
信号に基づいて所定の長さのマスクパルスを発生する。
The mask pulse generation means 102 generates a mask pulse of a predetermined length based on the detection signal of the violation detection means 101.

判別手段103は、マスクパルスの発生している期間、
違反検出手段で検出された符号則違反を符号則違反でな
い、と判別する。
The determination means 103 is a period during which the mask pulse is generated,
It is determined that the coding rule violation detected by the violation detection means is not a coding rule violation.

〔作 用〕[Work]

違反検出手段101によって入力信号の符号則違反が検
出されると、マスクパルス発生手段102は、その検出信
号に基づいて所定の長さのマスクパルスを発生させる。
When the violation detection means 101 detects a code rule violation of the input signal, the mask pulse generation means 102 generates a mask pulse of a predetermined length based on the detection signal.

判別手段103は、違反検出手段101による検出信号とマ
スクパルス発生手段102のマスクパルスの出力状態に基
づいて、検出信号が故意に入れられた符号則違反に対応
しているか否かを判別する。
The determination means 103 determines whether or not the detection signal corresponds to a deliberately entered code rule violation, based on the detection signal from the violation detection means 101 and the mask pulse output state of the mask pulse generation means 102.

本発明にあっては、故意に入れられた符号則違反を示
す検出信号を判別するので、これを符号誤りとして出力
することはなく、信号の符号誤りを正確に検出すること
ができる。
In the present invention, since the detection signal indicating the coding rule violation intentionally entered is discriminated, it is not output as a code error and the code error of the signal can be accurately detected.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の一実施例における符号誤り検出回
路を用いた通信監視部の構成を示す。
FIG. 2 shows the configuration of the communication monitoring section using the code error detection circuit in one embodiment of the present invention.

I.実施例と第1図との対応関係 ここで、本発明の実施例と第1図との対応関係を示し
ておく。
I. Correspondence between Embodiment and FIG. 1 Here, the correspondence between the embodiment of the present invention and FIG. 1 will be described.

違反検出手段101は、符号則違反検出回路201に相当す
る。
The violation detection means 101 corresponds to the coding rule violation detection circuit 201.

マスクパルス発生手段102は、マスクパルス発生回路2
10に相当する。
The mask pulse generating means 102 is a mask pulse generating circuit 2
Equivalent to 10.

判別手段103は、論理和ゲート203に相当する。 The discrimination means 103 corresponds to the OR gate 203.

以上のような対応関係があるものとして、以下本発明
の実施例について説明する。
An embodiment of the present invention will be described below on the basis of the above correspondence.

II.実施例の構成 (i)通信監視部全体の構成 第2図において、実施例における符号誤り検出回路を
用いた通信監視部は、入力されるバイポーラ信号の中か
ら符号則に違反しているパルス(バイオレーションビッ
ト)を検出する符号則違反検出回路201と、符号則違反
検出回路201の検出信号に基づいてクロック信号の3周
期分の長さのマスクパルスを発生するマスクパルス発生
回路210と、検出信号とマスクパルス発生回路210によっ
て出力されたマスクパルスの論理和をとる論理和ゲート
203と、論理和ゲート203の出力である誤り検出信号に基
づいてバイオレーションレートを測定し、その結果に基
づいて警報を出力するエラー判定部240とで形成されて
いる。
II. Configuration of Embodiment (i) Overall Configuration of Communication Monitoring Unit In FIG. 2, the communication monitoring unit using the code error detection circuit in the embodiment violates the coding rule from the input bipolar signals. A code rule violation detection circuit 201 that detects a pulse (violation bit), and a mask pulse generation circuit 210 that generates a mask pulse having a length of three cycles of a clock signal based on a detection signal of the code rule violation detection circuit 201. , A logical sum gate that takes the logical sum of the detection signal and the mask pulse output by the mask pulse generation circuit 210
203 and an error determination section 240 that measures the violation rate based on the error detection signal output from the OR gate 203 and outputs an alarm based on the result.

エラー判定部240は、誤り検出信号を蓄積するカウン
タ242と、カウンタ242による誤り検出信号の蓄積時間を
所定時間Tに限定するタイマ241と、カウンタ242に蓄積
されたバイオレーションレートに基づいて通信回線に異
常があるか否かを判定する判定部243とで形成されてい
る。
The error determination unit 240 includes a counter 242 that accumulates an error detection signal, a timer 241 that limits the accumulation time of the error detection signal by the counter 242 to a predetermined time T, and a communication line based on the violation rate accumulated in the counter 242. And a determination unit 243 that determines whether or not there is an abnormality.

ここで、入力信号は、クロック信号に同期して入力さ
れているものとする。
Here, it is assumed that the input signal is input in synchronization with the clock signal.

(ii)マスクパルス発生回路の構成 第3図は、第2図に示した実施例におけるマスクパル
ス発生回路210の構成図である。
(Ii) Configuration of Mask Pulse Generation Circuit FIG. 3 is a configuration diagram of the mask pulse generation circuit 210 in the embodiment shown in FIG.

図において、マスクパルス発生回路210は、クロック
信号と符号則違反検出回路201の検出信号の論理和をと
る論理和ゲート211と、ラッチ回路を構成しているナン
ドゲート214a,214bと、論理和ゲート211の出力をクロッ
ク(CK)入力として、ラッチ回路のセット入力信号を出
力するフリップフロップ212と、ナンドゲート214aの出
力を反転してフリップフロップ212をクリアするインバ
ータ213と、タイマの役割をしている3つのフリップフ
ロップ215a,215b,215cとで形成されている。
In the figure, a mask pulse generation circuit 210 includes a logical sum gate 211 that performs a logical sum of a clock signal and a detection signal of the code rule violation detection circuit 201, NAND gates 214a and 214b that form a latch circuit, and a logical sum gate 211. Is used as a clock (CK) input to output a set input signal of the latch circuit, an inverter 213 that inverts the output of the NAND gate 214a and clears the flip-flop 212, and a timer 3 It is formed of two flip-flops 215a, 215b, 215c.

フリップフロップ212の出力端子はナンドゲート214
bの入力端子の一方に接続されていおり、入力端子Dに
は、電源電圧が入力されており、常に“1"の状態となっ
ている。
The output terminal of the flip-flop 212 is a NAND gate 214
It is connected to one of the input terminals of b, the power supply voltage is input to the input terminal D, and is always in the "1" state.

また、ナンドゲート214bの入力端子の他方は、ナンド
ゲート214aの出力端子とインバータ213の入力側に接続
されており、ナンドゲート214bの出力端子は、ナンドゲ
ート214aのフリップフロップ215a,215b,215cのクリア
(CL)端子と入力端子の一方に接続されている。ナンド
ゲート214aの入力端子の他方には、フリップフロップ21
5cの出力端子が接続されている。
The other input terminal of the NAND gate 214b is connected to the output terminal of the NAND gate 214a and the input side of the inverter 213, and the output terminal of the NAND gate 214b is clear (CL) of the flip-flops 215a, 215b, 215c of the NAND gate 214a. It is connected to one of the terminal and the input terminal. The flip-flop 21 is connected to the other input terminal of the NAND gate 214a.
The output terminal of 5c is connected.

フリップフロップ215a,215b,215cのクロック(CK)端
子には、それぞれクロック信号が入力されており、フリ
ップフロップ215aの入力端子Dには電源電圧が入力され
ている。フリップフロップ215aの出力端子Qは、フリッ
プフロップ215bの入力端子Dに接続されており、フリッ
プフロップ215bの出力端子Qは、フリップフロップ215c
の入力端子Dに接続されている。
Clock signals are input to the clock (CK) terminals of the flip-flops 215a, 215b, and 215c, respectively, and the power supply voltage is input to the input terminal D of the flip-flop 215a. The output terminal Q of the flip-flop 215a is connected to the input terminal D of the flip-flop 215b, and the output terminal Q of the flip-flop 215b is the flip-flop 215c.
Is connected to the input terminal D.

III.実施例の動作 第4図,第5図は、第2図における実施例の動作を説
明するタイミング図である。
III. Operation of the Embodiment FIGS. 4 and 5 are timing charts for explaining the operation of the embodiment shown in FIG.

以下、第2図〜第5図を参照して実施例の動作を説明
する。
The operation of the embodiment will be described below with reference to FIGS.

第4図のは、8ビット連続した“0"をB8ZS方式によ
って符号化した信号(第4図参照)が、伝送中の雑音
などによって第0ビットに例えば極性“+”のパルスが
混入して伝送された場合の受信信号を示す。
In Fig. 4, a signal obtained by encoding 8-bit consecutive "0s" by the B8ZS system (see Fig. 4) is mixed with pulses of polarity "+" in the 0th bit due to noise during transmission. The received signal when transmitted is shown.

このような信号が符号則違反検出回路201に入力され
ると、第0ビット,第3ビットおよび第6ビットにおい
て符号則違反が検出されて、第4図のような検出信号
が出力される。
When such a signal is input to the code rule violation detection circuit 201, a code rule violation is detected in the 0th bit, the 3rd bit and the 6th bit, and a detection signal as shown in FIG. 4 is output.

ここで、入力信号(第4図参照)は、第4図に示
したクロック信号に同期して入力されるものとする。
Here, the input signal (see FIG. 4) is assumed to be input in synchronization with the clock signal shown in FIG.

マスクパルス発生回路210に入力された検出信号およ
びクロック信号は、論理和ゲート211によって論理和が
とられて(第4図参照)、フリップフロップ212のク
ロック(CK)端子に入力される。
The detection signal and the clock signal input to the mask pulse generation circuit 210 are ORed by the OR gate 211 (see FIG. 4) and input to the clock (CK) terminal of the flip-flop 212.

論理和ゲート211の出力が立ち上がると、フリップフ
ロップ212の出力端子は、逆に“0"(第4図参照)
となる。一方、フリップフロップ215cはクリアされてい
るので、ナンドゲート214aとナンドゲート214bとで形成
されているラッチ回路への入力は、ナンドゲート214a側
が“1",214b側が“0"となり、ラッチ回路はリセットさ
れて、ナンドゲート214bの出力(即ちマスクパルス)は
立ち上がる(第4図参照)。
When the output of the OR gate 211 rises, the output terminal of the flip-flop 212 is reversed to "0" (see FIG. 4).
Becomes On the other hand, since the flip-flop 215c is cleared, the input to the latch circuit formed by the NAND gate 214a and the NAND gate 214b becomes "1" on the NAND gate 214a side and "0" on the 214b side, and the latch circuit is reset. , The output of the NAND gate 214b (that is, the mask pulse) rises (see FIG. 4).

マスクパルスにより、フリップフロップ215a,215b,21
5cのクリアが解除されるので、クロック信号(第4図
参照)の立ち上がりにおいて、フリップフロップ215a,2
15b,215cの順にそれぞれの出力端子Qに“1"がセットさ
れる。
Flip-flops 215a, 215b, 21 by mask pulse
Since the clear of 5c is released, the flip-flops 215a, 2f are set at the rising edge of the clock signal (see FIG. 4).
"1" is set to each output terminal Q in the order of 15b and 215c.

クリアが解除されてから3つ目のクロック信号の立ち
上がりで、フリップフロップ215cの出力端子は“0"と
なる。これにより、ナンドゲート214aの出力は“1"とな
り、これがインバータ213により極性を反転されてフリ
ップフロップ212をクリアするので、フリップフロップ2
12の出力端子は“1"となる(第4図参照)。
The output terminal of the flip-flop 215c becomes "0" at the rising edge of the third clock signal after the clear is released. As a result, the output of the NAND gate 214a becomes "1", the polarity of which is inverted by the inverter 213 and the flip-flop 212 is cleared.
The 12 output terminals are "1" (see Fig. 4).

ラッチ回路への入力は、ナンドゲート214a側が“0",2
14b側が“1"となるので、ラッチ回路はセットされて、
ナンドゲート214bの出力は“0"となるので、マスクパル
スは立ち下がる(第4図参照)。また、フリップフロ
ップ215a,215b,215cは再びクリアされる。
Input to the latch circuit is “0”, 2 on the NAND gate 214a side.
Since the 14b side becomes "1", the latch circuit is set,
Since the output of the NAND gate 214b becomes "0", the mask pulse falls (see FIG. 4). Also, the flip-flops 215a, 215b, 215c are cleared again.

このようにして、マスクパルス発生回路210は、最初
のバイオレーションパルスを検出すると、クロックの3
周期分のマスクパルス(第4図参照)を出力する。
In this manner, the mask pulse generation circuit 210 detects the first 3
A mask pulse for a period (see FIG. 4) is output.

論理和ゲート203は、第4図に示したバイオレーシ
ョンパルスと第4図に示したマスクパルスの論理和を
とって、誤り検出信号(第4図の)とする。
The logical sum gate 203 takes the logical sum of the violation pulse shown in FIG. 4 and the mask pulse shown in FIG. 4 to obtain an error detection signal (shown in FIG. 4).

従って、最初のバイオレーションパルスの後、クロッ
クの3周期以内に符号則違反検出回路201によって検出
された第3ビットに対応したバイオレーションパルスが
削除される。しかし、第6ビットに対応したバイオレー
ションパルスは削除されないので、符号誤りは、本当の
符号誤りよりも1つ多い2個とみなされる。
Therefore, the violation pulse corresponding to the third bit detected by the coding rule violation detection circuit 201 is deleted within three cycles of the clock after the first violation pulse. However, since the violation pulse corresponding to the 6th bit is not deleted, the code error is regarded as two, which is one more than the true code error.

ところで、上述のマスクパルスによって符号則違反検
出回路201の検出信号を削除すると、本当の符号誤りを
示す検出信号も同様に削除される可能性がある。
By the way, if the detection signal of the coding rule violation detection circuit 201 is deleted by the mask pulse described above, the detection signal indicating a true code error may be deleted as well.

例えば、第5図ののような信号が符号則違反検出回
路201に入力されると、符号違反の検出信号は第5図
のようになる。
For example, when the signal as shown in FIG. 5 is input to the code rule violation detection circuit 201, the code violation detection signal becomes as shown in FIG.

マスクパルス発生回路210によって発生されるマスク
パルスは、第5図ののようになるので、論理和ゲート
203から出力される符号誤り検出信号は第5図のよう
になり、本来の符号誤りよりも少ない2個の符号誤りだ
けが検出される。
The mask pulse generated by the mask pulse generation circuit 210 is as shown in FIG.
The code error detection signal output from 203 is as shown in FIG. 5, and only two code errors smaller than the original code error are detected.

しかし、第5図のように、符号誤りによって3つの
連続した同符号のパルスが残るような信号が受信される
確率は小さい。
However, as shown in FIG. 5, the probability of receiving a signal in which three consecutive pulses of the same code remain due to a code error is small.

一方、マスクパルスの長さを例えばクロックの6周期
分の長さに伸ばせば、第6ビットに対応したバイオレー
ションパルスも削除することができる。しかし、このよ
うにマスクパルスを長くすると、それに伴って本当の符
号誤りに対応したバイオレーションパルスを削除してし
まう確率が高くなる。
On the other hand, if the length of the mask pulse is extended to, for example, the length of six clock cycles, the violation pulse corresponding to the sixth bit can also be deleted. However, if the mask pulse is lengthened in this way, the probability of deleting the violation pulse corresponding to the true code error increases accordingly.

これらのことを考慮して、実施例においては、マスク
パルスの長さをクロックの3周期分に設定した。
In consideration of these matters, the length of the mask pulse is set to three clock cycles in the embodiment.

上述のようにして得られた誤り検出信号は、エラー判
定部240に入力され、タイマ241に設定された所定の時間
Tの間242に蓄積される。
The error detection signal obtained as described above is input to the error determination unit 240 and accumulated in 242 for a predetermined time T set in the timer 241.

判定部243は、242に蓄積された誤り検出信号の数(バ
イオレーションレート)が、所定の値RV以上になると、
通信回線あるいは端局装置に異常が発生している可能性
があると判断して警報を出力する。
When the number of error detection signals (violation rate) accumulated in 242 becomes a predetermined value R V or more, the determination unit 243 determines that
An alarm is output when it is judged that an abnormality may have occurred in the communication line or the terminal device.

その後エラー判定部240は、更に所定の回数だけバイ
オレーションレートを測定し、その結果、常にバイオレ
ーションレートが許容範囲以内であった場合は、通信回
線あるいは端局装置に異常はないと判断する。
After that, the error determination unit 240 further measures the violation rate a predetermined number of times. As a result, if the violation rate is always within the allowable range, it is determined that there is no abnormality in the communication line or the terminal device.

一方、バイオレーションレートの測定結果が常に許容
範囲を越えている場合は、本当に通信回線あるいは端局
装置に異常が発生していると判断する。
On the other hand, when the measurement result of the violation rate always exceeds the allowable range, it is determined that the communication line or the terminal device is truly abnormal.

IV.実施例のまとめ 上述のように、マスクパルス発生回路210によって出
力されるクロックの3周期分の長さを持つマスクパルス
で、符号則違反検出回路201によって検出されたバイオ
レーションの検出信号をマスクする。
IV. Summary of Embodiments As described above, the detection signal of the violation detected by the coding rule violation detection circuit 201 is detected by the mask pulse having the length of three cycles of the clock output by the mask pulse generation circuit 210. To mask.

従って、符号則違反検出回路201が故意に符号中に入
れられたバイオレーションを符号誤りとして検出してし
まった場合にも、これに対応した符号則違反検出回路20
1の検出信号の内、少なくとも1ビット分のバイオレー
ションパルスを削除することができる。
Therefore, even when the coding rule violation detection circuit 201 intentionally detects a violation that is included in the code as a code error, the coding rule violation detection circuit 20 corresponding thereto is detected.
It is possible to delete at least one bit of the violation pulse from the one detection signal.

これにより、符号誤り検出回路が、符号誤りの数を正
確に把握して、通信を監視することができるので、端局
装置が頻繁に動作を停止することを防ぐことができる。
As a result, the code error detection circuit can accurately grasp the number of code errors and monitor the communication, so that it is possible to prevent the terminal device from frequently stopping its operation.

V.発明の変形態様 なお、上述した本発明の実施例にあっては、クロック
の3周期分の長さを持つマスクパルスによって検出信号
を削除する場合を考えたが、これに限らず、所定の長さ
のマスクパルスによって検出信号を削除するものであれ
ば適用できる。
V. Modified Embodiment of the Invention In the above-described embodiment of the present invention, the case where the detection signal is deleted by the mask pulse having the length of three clock cycles is considered, but the present invention is not limited to this. Any method can be applied as long as the detection signal is deleted by the mask pulse of length.

また、「I.実施例と第1図との対応関係」において、
本発明と実施例との対応関係を説明しておいたが、これ
に限られることはなく、本発明には各種の変形態様があ
ることは当業者であれば容易に推考できるであろう。
In addition, in “I. Correspondence between Example and FIG. 1”,
Although the correspondence between the present invention and the embodiments has been described, the present invention is not limited to this, and those skilled in the art can easily contemplate that the present invention has various modifications.

〔発明の効果〕〔The invention's effect〕

上述したように、本発明によれば、所定の長さのマス
クパルスによって、符号のなかに故意に入れられた符号
則違反に対応する検出信号を判別して削除する。
As described above, according to the present invention, the detection signal corresponding to the code rule violation intentionally inserted in the code is discriminated and deleted by the mask pulse having the predetermined length.

これにより、符号誤りの数を正確に把握して通信を監
視することが可能となるので、例えば端局装置の動作が
頻繁に停止することを防ぐことができるので、実用的に
は極めて有用である。
As a result, it is possible to accurately grasp the number of code errors and monitor the communication. For example, it is possible to prevent the operation of the terminal device from frequently stopping, which is extremely useful in practice. is there.

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

第1図は本発明の符号誤り検出回路の原理ブロック図、 第2図は本発明の一実施例による符号誤り検出回路を示
す構成ブロック図、 第3図は第2図に示した実施例による符号誤り検出回路
のマスクパルス発生回路の構成図、 第4図は第2図に示した実施例による符号誤り検出回路
の動作を表すタイミング図、 第5図は第2図に示した実施例による符号誤り検出回路
の動作を表すタイミング図、 第6図はバイポーラ符号の説明図である。 図において、 101は違反検出手段、 102はマスクパルス発生手段、 103は判別手段、 201は符号則違反検出回路、 210はマスクパルス発生手段、 203は論理和ゲート、 240はエラー判定部、 211は論理和ゲート、 212,215はフリップフロップ、 213はインバータ、 214はナンドゲート、 241はタイマ、 242はカウンタ、 243は判定部である。
FIG. 1 is a block diagram showing the principle of a code error detecting circuit according to the present invention, FIG. 2 is a block diagram showing a code error detecting circuit according to an embodiment of the present invention, and FIG. 3 is according to the embodiment shown in FIG. FIG. 4 is a timing diagram showing the operation of the code error detection circuit according to the embodiment shown in FIG. 2, and FIG. 5 is a view showing the mask pulse generation circuit of the code error detection circuit according to the embodiment shown in FIG. FIG. 6 is a timing diagram showing the operation of the code error detection circuit, and FIG. 6 is an explanatory diagram of the bipolar code. In the figure, 101 is a violation detecting means, 102 is a mask pulse generating means, 103 is a determining means, 201 is a code rule violation detecting circuit, 210 is a mask pulse generating means, 203 is an OR gate, 240 is an error determining section, 211 is 211 An OR gate, 212 and 215 are flip-flops, 213 is an inverter, 214 is a NAND gate, 241 is a timer, 242 is a counter, and 243 is a judgment unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】バイポーラ符号化された入力信号の符号則
違反を検出する違反検出手段と、 前記違反検出手段の検出信号に基づいて所定の長さのマ
スク・パルスを発生するマスクパルス発生手段と、 前記マスクパルスの発生している期間、前記違反検出手
段で検出された符号則違反を符号則違反で無いと判断す
る判別手段と、 を具えて、信号の符号誤りを検出するように構成したこ
とを特徴とする符号誤り検出回路。
1. Violation detection means for detecting a coding rule violation of a bipolar-encoded input signal, and mask pulse generation means for generating a mask pulse of a predetermined length based on a detection signal of the violation detection means. A period in which the mask pulse is being generated, a determination unit that determines that the code rule violation detected by the violation detection unit is not a code rule violation, and is configured to detect a code error in a signal. A code error detection circuit characterized by the above.
JP63195094A 1988-08-03 1988-08-03 Code error detection circuit Expired - Lifetime JP2549152B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63195094A JP2549152B2 (en) 1988-08-03 1988-08-03 Code error detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63195094A JP2549152B2 (en) 1988-08-03 1988-08-03 Code error detection circuit

Publications (2)

Publication Number Publication Date
JPH0243852A JPH0243852A (en) 1990-02-14
JP2549152B2 true JP2549152B2 (en) 1996-10-30

Family

ID=16335430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63195094A Expired - Lifetime JP2549152B2 (en) 1988-08-03 1988-08-03 Code error detection circuit

Country Status (1)

Country Link
JP (1) JP2549152B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6424159B1 (en) * 2000-04-25 2002-07-23 Ge Medical Systems Global Technology Company, Llc Methods and apparatus for monitoring contact slipring disconnections

Also Published As

Publication number Publication date
JPH0243852A (en) 1990-02-14

Similar Documents

Publication Publication Date Title
GB2069204A (en) Rate decorder
JP2621884B2 (en) Communication method and encoding device
US3949394A (en) Read amplifier having retriggerable, variable duty cycle inhibit pulse generator
JP2549152B2 (en) Code error detection circuit
US3439330A (en) Error detection in paired selected ternary code trains
US4658399A (en) Circuit arrangement designed to pick up the error rate in numerical transmission systems
US4122441A (en) Error detection and indication system for bi-phase encoded digital data
JP2000258537A (en) Signal detecting device
US5249186A (en) Apparatus for detecting the start of frame in bipolar transmission systems
JPH088561B2 (en) CMI block synchronization method
US4502142A (en) Apparatus for detecting errors in a digital data stream encoded in a double density code
KR0135334B1 (en) Circuit for detecting data errors in digital transmitting hierarchical signal
EP0638213B1 (en) Data signal decoding device
JPS63219226A (en) Decoding circuit
GB2147477A (en) Data transmitter, data receiver and data transmission system
JPH02206945A (en) Detector for state of line
JPS63232625A (en) Hdb-3 decoder circuit
JPH0124386B2 (en)
JPH0360248A (en) Detection circuit for input interruption of cmi signal
JPH07115442A (en) Decoding circuit for transmission line code
SU1193689A1 (en) Device for checking system for automatic stabilizing of parameters
JPS61202547A (en) System for supervising margin of repeater
KR920008321B1 (en) Circuit for detecting bit error rate of digital transmission system
JPS6357970B2 (en)
JPH0136743B2 (en)