JPH0243852A - Code error detection circuit - Google Patents
Code error detection circuitInfo
- Publication number
- JPH0243852A JPH0243852A JP19509488A JP19509488A JPH0243852A JP H0243852 A JPH0243852 A JP H0243852A JP 19509488 A JP19509488 A JP 19509488A JP 19509488 A JP19509488 A JP 19509488A JP H0243852 A JPH0243852 A JP H0243852A
- Authority
- JP
- Japan
- Prior art keywords
- code
- violation
- mask pulse
- signal
- detection circuit
- 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.)
- Granted
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
〔目 次]
概要
産業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段
作用
実施例
■、実施例と第1図との対応関係
H0実施例の構成
(1)全体の構成
(ii)マスクパルス発生回路の構成
■、実施例の動作
■、実施例のまとめ
■0発明の変形態様
発明の効果
〔概 要〕
バイポーラ符号化された通信の符号誤りを監視する符号
誤り検出回路に関し、
符号誤りを正確に検出することを目的とし、バイポーラ
符号化された入力信号の符号則違反を検出する違反検出
手段と、違反検出手段の検出信号に基づいて所定の長さ
のマスクパルスを発生ずるマスクパルス発生手段と、マ
スクパルス発生手段の出力状態に基づいて、違反検出手
段によって検出された符号則違反が信号の符号誤りであ
るか否かを判別する判別手段と、を具えて信号の符号誤
りを検出するように構成する。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Action Example ■, Correspondence between the Example and FIG. 1 H0 Configuration of Example (1) Overall Configuration (ii) Configuration of Mask Pulse Generation Circuit ■, Operation of Example ■, Summary of Example ■0 Variations of the Invention Effects of the Invention [Summary] Bipolar encoded communication Regarding a code error detection circuit that monitors code errors, the purpose of the code error detection circuit is to detect code errors accurately. mask pulse generation means for generating a mask pulse of a predetermined length based on the mask pulse generation means; and based on the output state of the mask pulse generation means, it is determined whether or not the coding rule violation detected by the violation detection means is a code error in the signal. and discriminating means for discriminating, and is configured to detect a code error in a signal.
(産業上の利用分野]
本発明は、バイポーラ符号化方式のうち、例えばBSZ
S方式、B6ZS方式のように、所定のデータに対して
故意に符号則に違反する符号を当てる符号化方式によっ
て符号化された通信を監視する符号誤り検出回路に関し
、特に、故意に入れられた符号則違反を検出しないよう
にした符号誤り検出回路に関するものである。(Field of Industrial Application) The present invention is applicable to bipolar encoding systems, such as BSZ
Regarding code error detection circuits that monitor communications encoded by encoding methods that intentionally apply codes that violate coding rules to predetermined data, such as the S method and the B6ZS method, The present invention relates to a code error detection circuit that does not detect code rule violations.
〔従来の技術]
デジタル通信において通信しようとするデータは、通信
回線における伝送に適するように符号化されてから伝送
される。この符号化の方式の一つとして、バイポーラ符
号化方式があり、原則として通信しようとするデータの
中の隣あった“1°”は、異なる極性の符号を交互に当
てて示される。[Prior Art] Data to be communicated in digital communication is encoded to be suitable for transmission over a communication line and then transmitted. One of these encoding methods is a bipolar encoding method, in which adjacent "1 degrees" in the data to be communicated are indicated by alternately assigning codes of different polarities.
このような異なる極性の符号をバイポーラビット(Bビ
ット)と呼ぶことにする。Such codes of different polarity will be referred to as bipolar bits (B bits).
第6図は、バイポーラ符号化方式によって符号化された
データの説明図である。FIG. 6 is an explanatory diagram of data encoded by the bipolar encoding method.
例えば、8ビツトのデーラダ“10011010’“を
示す符号は、第6図の■のように、“”BOOBB O
B O”となる。For example, the code indicating the 8-bit data ladder “10011010’” is “”BOOBB O” as shown in ■ in Figure 6.
BO”.
上述のように、通信されるデータは、同じ極性のパルス
が連続しないように符号化されているから、受信側の符
号則違反検出回路は、第6図の■のように同し極性のビ
ットを連続して受信すると、伝送路における雑音などに
よって生しる符号誤りとして検出する。As mentioned above, the data to be communicated is encoded so that pulses of the same polarity do not continue, so the coding rule violation detection circuit on the receiving side detects bits of the same polarity as shown in (■) in Figure 6. When received continuously, it is detected as a code error caused by noise in the transmission path.
このような符号則違反をバイポーラバイオレーションと
呼び、符号則違反ビットをバイオレーションビット(V
ビット)と呼ぶことにする。Such a violation of the coding rule is called a bipolar violation, and the bit that violates the coding rule is called a violation bit (V
We will call it bit.
通信回線を通しての通信の中継および監視を行なう端局
装置には、上述のような符号誤りを検出する符号則違反
検出回路と、この符号則違反検出回路によって検出され
た符号則違反を一定時間Tだけ蓄積し、その数(バイオ
レーションレート)に基づいて、通信を続行する上で障
害となるか否かを判別するエラー判定部が設けられてい
る。A terminal device that relays and monitors communications through a communication line includes a code rule violation detection circuit that detects code errors as described above, and a code rule violation detection circuit that detects code rule violations detected by this code rule violation detection circuit for a certain period of time T. An error determination section is provided that accumulates the number of violations (violation rate) and determines, based on the number (violation rate), whether or not there is a problem in continuing communication.
エラー判定部は、バイオレーションレートが所定数Rν
を越えると、通信回線または端局装置に異常が発生した
ため端局装置に入力されている入力信号が誤っていると
判断して、復号部などの後続の装置に対して警報を発す
る。The error determination unit determines that the violation rate is a predetermined number Rν.
If it exceeds this, it is determined that an abnormality has occurred in the communication line or the terminal equipment and that the input signal being input to the terminal equipment is incorrect, and an alarm is issued to subsequent equipment 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 the predetermined number Rv, it determines that the input signal is correct and resumes input signal processing. let
ところで、バイポーラ符号化方式の中には、BBZS方
式やB6ZS方式のように、通信データを符号化する際
に、データに含まれる連続した“′O°′ビットに対応
して、符号則に違反するバイオレーションビット(Vビ
ット)を故意に含んだ所定の符号を出力する方式がある
。By the way, some bipolar encoding methods, such as the BBZS method and B6ZS method, violate the coding rules in response to consecutive "'O°" bits included in the data when encoding communication data. There is a method of outputting a predetermined code that intentionally includes a violation bit (V bit).
例えばBBZS方式に基づいた符号化装置は、データの
中の8ビツト連続した“0パに対応して、第6図の■の
ように、“’0OOVBOVB’“を出力する。受信側
の符号則違反検出回路は、この通信データを受信すると
、通信データに含まれているハ・イオレーションピット
を符号誤りとして検出しないで、8ビツト連続した“O
o“であると解釈する。For example, an encoding device based on the BBZS system outputs "'0OOVBOVB'" as shown in ■ in Fig. 6 in response to 8 consecutive bits of "0" in the data. When the violation detection circuit receives this communication data, it does not detect the high error pit included in the communication data as a code error, but detects 8 consecutive bits of “O”.
o”.
一方、8ビツト連続した“0″”を示す通信データ(第
6図■参照)が、第6図■のように変形して伝送された
場合は、第6図の■に示したように、本来の符号誤り(
1ビツト)に加えて、故意に入れられた2つのバイオレ
ーションピントをも符号誤りとして検出される。On the other hand, if the communication data indicating 8 consecutive bits of "0" (see ■ in Figure 6) is transformed and transmitted as shown in ■ in Figure 6, then as shown in ■ in Figure 6, Original sign error (
In addition to 1 bit), two intentional violation focus points are also detected as code errors.
〔発明が解決しようとする課題]
ところで、上述した従来の符号則違反検出回路にあって
は、通信データに含まれる符号則違反を全て雑音などに
よる符号誤りとして検出してしまうので、実際に生じて
いる符号誤りよりも多数の符号誤りが検出されてしまい
、符号誤りの数を正しく把握することができないという
問題点があった。[Problems to be Solved by the Invention] By the way, in the conventional coding rule violation detection circuit described above, all coding rule violations contained in communication data are detected as code errors due to noise, etc. There is a problem in that a larger number of code errors than the number of code errors are detected, making it impossible to accurately determine the number of code errors.
このように、符号違反検出回路が符号誤りの数を正しく
把握できず、実際よりも多数の符号誤りを検出すると、
通信品質の向上の要望に対応するために、端局装置の符
号誤りの許容範囲を小さく設定した場合、エラー判定部
により頻繁に警報が出力されて通信の処理が一時停止し
てしまうことが考えられる。In this way, if the code violation detection circuit cannot accurately grasp the number of code errors and detects a larger number of code errors than the actual number,
If the tolerance range for code errors in terminal equipment is set to a small value in order to meet the demand for improved communication quality, it is possible that the error determination unit will output alarms frequently and communication processing will be temporarily halted. It will be done.
また、符号誤りの許容範囲を小さく設定する際には、符
号誤りを蓄積する時間Tを以前よりも長く設定されてい
る。このため、エラー判定部により本当に入力信号が異
常であるか否かを判定するために必要な時間が長くなる
ので、端局装置が一時停止している時間が長くなってし
まう。Furthermore, when setting the allowable range of code errors 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 section to determine whether the input signal is truly abnormal becomes longer, and the time during which the terminal equipment is temporarily stopped becomes longer.
本発明は、このような点にかんがみて創作されたもので
あり、故意に入れられたバイオレーションピットを符号
誤りとして検出しないで、符号誤りを正確に検出するよ
うにした符号誤り検出回路を提供することを目的として
いる。The present invention was created in view of these points, and provides a code error detection circuit that accurately detects code errors without detecting intentional violation pits as code errors. It is intended to.
第1図は、本発明の符号誤り検出回路の原理ブロック図
である。FIG. 1 is a principle block diagram of a code error detection circuit according to the present invention.
図において、違反検出手段101は、バイポーラ符号化
された入力信号の符号則違反を検出する。In the figure, violation detection means 101 detects a violation of the coding rule in a bipolar encoded input signal.
マスクパルス発生手段102は、違反検出手段101の
検出信号に基づいて所定の長さのマスクパルスを発生す
る。The mask pulse generating means 102 generates a mask pulse of a predetermined length based on the detection signal of the violation detecting means 101.
判別手段103は、マスクパルス発生手段1゜2の出力
状態に基づいて、違反検出手段101によって検出され
た符号則違反が信号の符号誤りであるか否かを判別する
。The determining means 103 determines whether or not the code rule violation detected by the violation detecting means 101 is a code error in the signal, based on the output state of the mask pulse generating means 1.about.2.
違反検出手段101によって入力信号の符号則違反が検
出されると、マスクパルス発生手段102は、その検出
信号に基づいて所定の長さのマスクパルスを発生させる
。When the violation detection means 101 detects a violation of the sign rule in 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 determining means 103 determines whether the detection signal corresponds to a violation of the code rule intentionally entered, based on the detection signal from the violation detecting means 101 and the output state of the mask pulse from the mask pulse generating means 102.
本発明にあっては、故意に入れられた符号則違反を示す
検出信号を判別するので、これを符号誤りとして出力す
ることはなく、信号の符号誤りを正確に検出することが
できる。In the present invention, since a detection signal indicating a violation of the coding rule that has been intentionally inserted is determined, this is not outputted as a code error, and a code error in a signal can be accurately detected.
I、 と 1 との 応
ここで、本発明の実施例と第1図との対応関係を示して
おく。I, and 1 Here, the correspondence between the embodiments of the present invention and FIG. 1 will be shown.
違反検出手段101は、符号則違反検出回路201に相
当する。The violation detection means 101 corresponds to the code rule violation detection circuit 201.
マスクパルス発生手段102は、マスクパルス発生回路
210に相当する。The mask pulse generation means 102 corresponds to the mask pulse generation circuit 210.
判別手段103は、論理和ゲート203に相当する。The determining means 103 corresponds to the OR gate 203.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例における符号誤り検出回路
を用いた通信監視部の構成を示す。FIG. 2 shows the configuration of a communication monitoring section using a code error detection circuit in an embodiment of the present invention.
第2図において、実施例における符号誤り検出回路を用
いた通信監視部は、入力されるバイポーラ信号の中から
符号則に違反しているパルス(バイオレーションピット
)を検出する符号則違反検出回路201と、符号則違反
検出回路201の検出信号に基づいてクロック信号の3
周期分の長さのマスクパルスを発生するマスクパルス発
生回路210と、検出信号とマスクパルス発生回路21
0によって出力されたマスクパルスの論理和をとる論理
和ゲート203と、論理和ゲート203の出力である誤
り検出信号に基づいてバイオレーションレートを測定し
、その結果に基づいて警報を出力するエラー判定部24
0とで形成されている。In FIG. 2, the communication monitoring unit using the code error detection circuit in the embodiment includes a code rule violation detection circuit 201 that detects pulses (violation pits) that violate code rules from input bipolar signals. 3 of the clock signal based on the detection signal of the coding rule violation detection circuit 201.
A mask pulse generation circuit 210 that generates a mask pulse with a period length, and a detection signal and mask pulse generation circuit 21
Error determination that measures the violation rate based on the OR gate 203 that ORs the mask pulses output by 0 and the error detection signal that is the output of the OR gate 203, and outputs an alarm based on the result. Part 24
0.
エラー判定部240は、誤り検出信号を蓄積するカウン
タ242と、カウンタ242による誤り検出信号の蓄積
時間を所定時間Tに限定するタイマ241と、カウンタ
242に蓄積されたバイオレーションレートに基づいて
通信回線に異常があるか否かを判定する判定部243と
で形成されている。The error determination unit 240 includes a counter 242 that accumulates error detection signals, a timer 241 that limits the accumulation time of error detection signals 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 section 243 that determines whether or not there is an abnormality.
ここで、人力信号は、クロック信号に同期して入力され
ているものとする。Here, it is assumed that the human input signal is input in synchronization with the clock signal.
(ii マスクパルス 生 の
第3図は、第2図に示した実施例におけるマスクパルス
発生回路210の構成図である。(ii Mask Pulse Generation) FIG. 3 is a configuration diagram of the mask pulse generation circuit 210 in the embodiment shown in FIG. 2.
図において、マスクパルス発生回路210は、クロック
信号と符号則違反検出回路201の検出信号の論理和を
とる論理和ゲー)211と、ランチ回路を構成している
ナンドゲー)214a、214bと、論理和ゲート21
1の出力をクロック(CK)入力として、ランチ回路の
セット入力信号を出力するフリップフロップ212と、
ナントゲート214aの出力を反転してフリップフロッ
プ212をクリアするインバータ213と、タイマの役
割をしている3つのフリップフロップ215a、215
b、215cとで形成されている。In the figure, the mask pulse generation circuit 210 includes an OR game) 211 that ORs the clock signal and the detection signal of the sign rule violation detection circuit 201, and NAND games) 214a and 214b forming a launch circuit. gate 21
a flip-flop 212 that uses the output of 1 as a clock (CK) input and outputs a set input signal of the launch circuit;
An inverter 213 that inverts the output of the Nant gate 214a and clears the flip-flop 212, and three flip-flops 215a and 215 that function as timers.
b, 215c.
フリップフロップ212の出力端子dはナンドゲ−1−
214bの入力端子の一方に接続されていおり、入力端
子りには、電源電圧が入力されており、常に″ビ′の状
態となっている。The output terminal d of the flip-flop 212 is a NAND game-1-
It is connected to one of the input terminals of 214b, and the power supply voltage is input to the input terminal, so that it is always in the "V" state.
また、ナントゲート214bの入力端子の他方は、ナン
トゲート214aの出力端子とインパーク213の入力
側に接続されており、ナントゲート214bの出力端子
は、ナントゲート214aのフリップフa 7プ215
a、215b、215Cのクリア(CL)端子と入力端
子の一方に接続されている。ナントゲート214aの入
力端子の他方には、フリップフロップ215cの出力端
子dが接続されている。Further, the other input terminal of the Nante gate 214b is connected to the output terminal of the Nante gate 214a and the input side of the impark 213, and the output terminal of the Nante gate 214b is connected to the flip-flop 215 of the Nante gate 214a.
It is connected to one of the clear (CL) terminal and input terminal of a, 215b, and 215C. The output terminal d of the flip-flop 215c is connected to the other input terminal of the Nant gate 214a.
フリップフo ツブ215a 215b 215C
のクロ・ツク(CK)端子には、それぞれクロック信号
が人力されており、フリップフロップ2I5aの入力端
子りには電源電圧が入力されている。Flip flop o Tsubu 215a 215b 215C
A clock signal is inputted to each clock (CK) terminal of the flip-flop 2I5a, and a power supply voltage is inputted to the input terminal of the flip-flop 2I5a.
フリップフロップ215aの出力端子Qは、フリップフ
ロップ215bの入力端子りに接続されており、フリッ
プフロップ215bの出力端子Qは、フリップフロップ
215Cの入力端子りに接続されている。The output terminal Q of the flip-flop 215a is connected to the input terminal of the flip-flop 215b, and the output terminal Q of the flip-flop 215b is connected to the input terminal of the flip-flop 215C.
皿−」(施1顔l匪作
第4図、第5図は、第2図における実施例の動作を説明
するタイミング図である。Figures 4 and 5 are timing diagrams illustrating the operation of the embodiment shown in Figure 2.
以下、第2図〜第5図を参照して実施例の動作を説明す
る。The operation of the embodiment will be described below with reference to FIGS. 2 to 5.
第4図の■は、8ビツト連続した“′0゛をB8ZS方
式によって符号化した信号(第4図■参照)が、伝送中
の雑音などによって第0ビツトに例えば極性′″+”の
パルスが混入して伝送された場合の受信信号を示す。■ in Figure 4 shows that a signal encoded with 8 consecutive bits of ``0'' using the B8ZS method (see ■ in Figure 4) has a pulse of polarity ``+'' on the 0th bit due to noise during transmission. This shows the received signal when it is transmitted mixed with
このような信号が符号則違反検出回路201に人力され
ると、第Oビット第3ビットおよび第6ビツトにおいて
符号則違反が検出されて、第4図■のような検出信号が
出力される。When such a signal is inputted manually to the coding rule violation detection circuit 201, the violation of the coding rule is detected at the third and sixth bits of the Oth bit, and a detection signal as shown in FIG. 4 is output.
ここで、入力信号(第4図■参照)は、第4図■に示し
たクロック信号に同期して入力されるものとする。Here, it is assumed that the input signal (see FIG. 4 (2)) is input in synchronization with the clock signal shown in FIG. 4 (2).
マスクパルス発生回路210に入力された検出信号およ
びクコツク信号は、論理和ゲート211によって論理和
がとられて(第4図■参照)、フリップフロップ212
のクロック(CK)端子に入力される。The detection signal and the mask signal input to the mask pulse generation circuit 210 are logically summed by the logical sum gate 211 (see FIG.
It is input to the clock (CK) terminal of.
論理和ゲート211の出力が立ち上がると、フリップフ
ロップ212の出力端子dは、逆に“0゛(第4図■参
照)となる。一方、フリップフロップ215cはクリア
されているので、ナントゲート244 aとナントゲー
ト214 bとで形成されているランチ回路への入力は
、ナンドゲー)214a側が”1”、214b側が′0
°゛となり、ラッチ回路はリセットされて、ナントゲー
ト214bの出力(即ちマスクパルス)は立ち上がる(
第4図■参照)。When the output of the OR gate 211 rises, the output terminal d of the flip-flop 212 becomes "0" (see Figure 4).On the other hand, since the flip-flop 215c is cleared, the Nant gate 244a The input to the launch circuit formed by the NAND gate 214b is "1" on the NAND gate 214a side and '0' on the 214b side.
°, the latch circuit is reset, and the output (i.e. mask pulse) of the Nant gate 214b rises (
(See Figure 4 ■).
マスクパルスにより、フリップフロップ215a 、
215b 、 215cのクリアが解除されるので
、クロック信号(第4図■参照)の立ち上がりにおいて
、フリップフロップ215a 、 215b 。Due to the mask pulse, the flip-flops 215a,
Since clearing of the flip-flops 215b and 215c is canceled, the flip-flops 215a and 215b are cleared at the rising edge of the clock signal (see FIG. 4).
215cの順にそれぞれの出力端子Qに“1°°がセン
トされる。“1°° is sent to each output terminal Q in the order of 215c.
クリアが解除されてから3つ目のクロック信号の立ち上
がりで、フリップフロップ215cの出力端子dは“0
′”となる。これにより、ナントゲート214aの出力
は1”となり、これがインバータ213により極性を反
転されてフリップフロップ212をクリアするので、フ
リップフロップ212の出力端子dは“1′′となる(
第4図■参照)。At the third rising edge of the clock signal after clearing is released, the output terminal d of the flip-flop 215c becomes "0".
As a result, the output of the Nant gate 214a becomes 1'', and the polarity of this is inverted by the inverter 213 to clear the flip-flop 212, so the output terminal d of the flip-flop 212 becomes 1'' (
(See Figure 4 ■).
ラッチ回路への入力は、ナントゲート214a側が0”
、214b側が“1゛′となるので、ラッチ回路はセッ
トされて、ナントゲート214bの出力は0°′となる
ので、マスクパルスは立ち下がる(第4図■参照)。ま
た、フリップフロップ215a 、 215b 、
215cは再びクリアされる。The input to the latch circuit is 0'' on the Nant gate 214a side.
, 214b side becomes "1", the latch circuit is set, and the output of the Nant gate 214b becomes 0°', so the mask pulse falls (see Figure 4 ■).Furthermore, the flip-flop 215a, 215b,
215c is cleared again.
このようにして、マスクパルス発生回路210は、最初
のバイオレーションパルスを検出すると、クロックの3
周期分のマス1クパルス(第4回■参照)を出力する。In this way, when the mask pulse generation circuit 210 detects the first violation pulse, the mask pulse generation circuit 210
Output one mask pulse for one cycle (see Part 4).
論理和ゲート203は、第4図■に示したバイオレーシ
ョンパルスと第4図■に示したマスクパルスの論理和を
とって、誤り検出信号(第4図の■)とする。The OR gate 203 takes the logical sum of the violation pulse shown in FIG. 4 (■) and the mask pulse shown in FIG. 4 (■) to generate an error detection signal (■ in FIG. 4).
従って、最初のバイオレーションパルスの後、クロック
の3周期以内に符号則違反検出回路201によって検出
された第3ビツトに対応したバイオレーションパルスが
削除される。しかし、第6ビツトに対応したバイオレー
ションパルスは削除されないので、符号誤りは、本当の
符号誤りよりも1つ多い2個とみなされる。Therefore, after the first violation pulse, the violation pulse corresponding to the third bit detected by the coding rule violation detection circuit 201 within three clock cycles is deleted. However, since the violation pulse corresponding to the sixth bit is not deleted, the number of code errors is considered to be two, one more than the true code error.
ところで、上述のマスクパルスによって符号則違反検出
回路201の検出信号を削除すると、本当の符号誤りを
示す検出信号も同様に削除される可、化性がある。By the way, if the detection signal of the code rule violation detection circuit 201 is deleted by the above-mentioned mask pulse, there is a possibility that the detection signal indicating a real code error will be deleted as well.
例えば、第5図の■のような信号が符号則違反検出回路
201に入力されると、符号違反の検出信号は第5図■
のようになる。For example, when a signal such as ■ in FIG. 5 is input to the code rule violation detection circuit 201, the code violation detection signal is
become that way.
マスクパルス発生回路210によって発生されるマスク
パルスは、第5図の■のようになるので、論理和ゲート
203から出力される符号誤り検出信号は第5図■のよ
うになり、本来の符号誤りよりも少ない2個の符号誤り
だけが検出される。Since the mask pulse generated by the mask pulse generation circuit 210 is as shown in (■) in FIG. 5, the code error detection signal output from the OR gate 203 is as shown in (■) in FIG. Only less than two code errors 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ビノトに対応したバイオレーシ
ョンパルスも削除することができる。しかし、このIよ
うにマスクパルスを長くすると、それに伴って本当の符
号誤りに対応したバイオレーションパルスを削除してし
まう確率が高くなる。On the other hand, by increasing the length of the mask pulse to, for example, six clock cycles, the violation pulse corresponding to the sixth cycle can also be deleted. However, if the mask pulse is made longer like this I, the probability that a violation pulse corresponding to a real code error will be deleted increases accordingly.
これらのことを考慮して、実施例においては、マスクパ
ルスの長さをクロックの3周期分に設定した。Taking these things into consideration, in the example, the length of the mask pulse was set to three periods of the clock.
上述のようにして得られた誤り検出信号は、エラー判定
部240に入力され、タイマ241に設定された所定の
時間Tの間242に蓄積される。The error detection signal obtained as described above is input to the error determination section 240 and accumulated in the timer 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 the error detection signal 242 exceeds a predetermined value Rv, the determination unit 243 determines that there is a possibility that an abnormality has occurred in the communication line or the terminal equipment. outputs a warning.
その後エラー判定部240は、更に所定の回数だけバイ
オレーションレートを測定し、その結果、常にバイオレ
ーションレートが許容範囲以内であった場4合は、通信
回線あるいは端局装置に異常はないと判断する。After that, the error determination unit 240 further measures the violation rate a predetermined number of times, and 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 equipment. do.
−J、バイオレーションレートの測定結果が常に許容範
囲を越えている場合は、本当に通信回線あるいは端局装
置に異常が発生していると判断する。-J. If the violation rate measurement results always exceed the allowable range, it is determined that an abnormality has indeed occurred in the communication line or terminal equipment.
■、 1のまとめ
上述のように、マスクパルス発生回路210によって出
力されるクロックの3周期分の長さを持つマスクパルス
で、符号則違反検出回路201によって検出されたバイ
オレーションの検出信号をマスクする。■Summary of 1 As mentioned above, the violation detection signal detected by the coding rule violation detection circuit 201 is masked with a mask pulse having a length of three clock cycles output by the mask pulse generation circuit 210. do.
従って、符号則違反検出回路201が故意に符号中に入
れられたバイオレーションを符号誤りとして検出してし
まった場合にも、これに対応した符号則違反検出回路2
01の検出信号の内、少なくとも1ビット分のバイオレ
ーションパルスを削除することができる。Therefore, even if the coding rule violation detection circuit 201 detects a violation intentionally inserted into the code as a code error, the corresponding coding rule violation detection circuit 201
It is possible to delete at least one bit of the violation pulse from the 01 detection signal.
これにより、符号誤り検出回路が、符号誤りの数を正確
に把握して、通信を監視することができるので、端局装
置が頻繁に動作を停止することを防ぐことができる。This allows the code error detection circuit to accurately grasp the number of code errors and monitor communication, thereby preventing the terminal device from frequently stopping its operation.
■、Oの・ユし。■, O's Yushi.
なお、上述した本発明の実施例にあっては、クロックの
3周期分の長さを持つマスクパルスによって検出信号を
削除する場合を考えたが、これに限らず、所定の長さの
マスクパルスによって検出信号を削除するものであれば
適用できる。In the embodiment of the present invention described above, a case has been considered in which the detection signal is deleted by a mask pulse having a length of three clock cycles, but the present invention is not limited to this, and a mask pulse having a predetermined length can be used. This method can be applied as long as the detection signal is deleted by the method.
また、rl、実施例と第1図との対応関係」において、
本発明と実施例との対応関係を説明しておいたが、これ
に限られることはなく、本発明には各種の変形態様があ
ることは当業者であれば容易に推考できるであろう。In addition, in ``correspondence between Examples and Figure 1'',
Although the correspondence between the present invention and the embodiments has been described, those skilled in the art will easily assume that the present invention is not limited to this and that there are various modifications.
上述したように、本発明によれば、所定の長さのマスク
パルスによって、符号のなかに故意に入れられた符号則
違反に対応する検出信号を判別して削除する。As described above, according to the present invention, a detection signal corresponding to a code rule violation intentionally included in a code is determined and deleted using a mask pulse of a predetermined length.
これにより、符号誤りの数を正確に把握して通信を監視
することが可能となるので、例えば端局装置の動作が頻
繁に停止することを防くことができるので、実用的には
極めて有用である。This makes it possible to accurately determine the number of code errors and monitor communications, which is extremely useful in practice, as it can prevent terminal equipment from frequently stopping its operation, for example. It is.
第1図は本発明の符号誤り検出回路の原理ブロック図、
第2図は本発明の一実施例による符号誤り検出回路を示
す構成ブo 7り図、
第3図は第2図に示した実施例による符号誤り検出回路
のマスクパルス発生回路の構成図、第4図は第2図に示
した実施例による符号誤り検出回路の動作を表すタイミ
ング図、
第5図は第2図に示した実施例による符号誤り検出回路
の動作を表すタイミング図、
第6図はバイポーラ符号の説明図である。
0はマスクパルス発生手段、
3は論理和ゲート、
0はエラー判定部、
1は論理和ゲート、
2215はフリップフロップ、
3はインハーク、
4はナントゲート、
■はタイマ、
2はカウンタ、
3は判定部である。
図において、
101は違反検出手段、
102はマスクパルス発生手段、
103は判別手段、
201は符号則違反検出回路、
実各回イ列のb/兵2kjイタイニングD口第
図
デ施作シ釦イ丁Σ恐Jヴ9イ三ンツ°゛図第
図
○
○
○
/ぐイガチー製刊η説2月図Fig. 1 is a principle block diagram of a code error detection circuit according to the present invention, Fig. 2 is a block diagram showing the configuration of a code error detection circuit according to an embodiment of the present invention, and Fig. 3 is a block diagram of the code error detection circuit according to an embodiment of the present invention. A configuration diagram of the mask pulse generation circuit of the code error detection circuit according to the embodiment, 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. A timing diagram showing the operation of the code error detection circuit according to the embodiment. FIG. 6 is an explanatory diagram of a bipolar code. 0 is a mask pulse generation means, 3 is an OR gate, 0 is an error judgment unit, 1 is an OR gate, 2215 is a flip-flop, 3 is an in-hake, 4 is a Nant gate, ① is a timer, 2 is a counter, 3 is a judgment Department. In the figure, 101 is a violation detection means, 102 is a mask pulse generation means, 103 is a discrimination means, 201 is a code rule violation detection circuit, and 101 is a violation detection means. Figure ○ ○ ○ / Guigachi Seisaku η theory February map
Claims (1)
検出する違反検出手段(101)と、 前記違反検出手段(101)の検出信号に基づいて所定
の長さのマスクパルスを発生するマスクパルス発生手段
(102)と、 前記マスクパルス発生手段(102)の出力状態に基づ
いて、前記違反検出手段(101)によって検出された
符号則違反が信号の符号誤りであるか否かを判別する判
別手段(103)と、を具えて、信号の符号誤りを検出
するように構成したことを特徴とする符号誤り検出回路
。(1) Violation detection means (101) that detects a violation of the coding rule of a bipolar encoded input signal, and a mask pulse that generates a mask pulse of a predetermined length based on the detection signal of the violation detection means (101). generating means (102); and determining whether or not the coding rule violation detected by the violation detecting means (101) is a signal coding error based on the output state of the mask pulse generating means (102). A code error detection circuit comprising means (103) and configured to detect code errors in a signal.
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 true JPH0243852A (en) | 1990-02-14 |
| JP2549152B2 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) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002065658A (en) * | 2000-04-25 | 2002-03-05 | Ge Medical Systems Global Technology Co Llc | Method and apparatus for monitoring intermittent slip ring contact |
-
1988
- 1988-08-03 JP JP63195094A patent/JP2549152B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002065658A (en) * | 2000-04-25 | 2002-03-05 | Ge Medical Systems Global Technology Co Llc | Method and apparatus for monitoring intermittent slip ring contact |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2549152B2 (en) | 1996-10-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0243852A (en) | Code error detection circuit | |
| JP2000258537A (en) | Signal detection device | |
| JPS6034860B2 (en) | Line error rate monitoring method | |
| JPH01268330A (en) | CMI block synchronization method | |
| KR900006965B1 (en) | Bipolar Violation Detection Circuit in HDB3 Code | |
| JPS61115141A (en) | Self-inspection type sequence circuit | |
| JPS63219226A (en) | Decoding circuit | |
| JPS58123247A (en) | Circuit monitoring device of optical transmission system | |
| JP2988300B2 (en) | Bipolar clock disturbance detection circuit | |
| KR100208295B1 (en) | Clock monitor | |
| JPS59112745A (en) | Asynchronous binary signal transmission system | |
| JPH07114401B2 (en) | Clock signal abnormality detection circuit | |
| KR0173962B1 (en) | Transmission line status monitoring device | |
| JPH02290323A (en) | Clock disconnection detection circuit | |
| KR0135334B1 (en) | Circuit for detecting data errors in digital transmitting hierarchical signal | |
| SU1298750A1 (en) | Device for detecting contention in synchronized digital blocks | |
| SU1193689A1 (en) | Device for checking system for automatic stabilizing of parameters | |
| JPS59231948A (en) | System for preventing collision of transmission signal | |
| JPH02206945A (en) | Detector for state of line | |
| JPH02190944A (en) | Reset system for processor | |
| JPS62232016A (en) | Clock break detecting circuit | |
| JPH06188920A (en) | Ami violation detecting circuit | |
| JPH02112344A (en) | Synchronous pattern detecting circuit | |
| JPS61161025A (en) | Circuit for detecting code rule violation | |
| JPS61236233A (en) | Supervision equipment for transmission system |