JPH06326756A - Communication abnormality detecting device - Google Patents

Communication abnormality detecting device

Info

Publication number
JPH06326756A
JPH06326756A JP5115678A JP11567893A JPH06326756A JP H06326756 A JPH06326756 A JP H06326756A JP 5115678 A JP5115678 A JP 5115678A JP 11567893 A JP11567893 A JP 11567893A JP H06326756 A JPH06326756 A JP H06326756A
Authority
JP
Japan
Prior art keywords
communication
abnormality detection
pulse
serial data
reference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5115678A
Other languages
Japanese (ja)
Other versions
JP3095576B2 (en
Inventor
Chikasuke Nakamura
愼祐 中村
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP05115678A priority Critical patent/JP3095576B2/en
Publication of JPH06326756A publication Critical patent/JPH06326756A/en
Application granted granted Critical
Publication of JP3095576B2 publication Critical patent/JP3095576B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the communication abnormality detecting device which can detect a bit error between adjacent bits of serial data by detecting pulses in the serial data during the generation period of a reference signal for abnormality detection. CONSTITUTION:A reference signal generator 3 for abnormality detection generates a reference signal 13 for abnormality detection which has a period T and pulse width (T-W) from a time W later by using the 1st pulse of the serial data 12 from a receiving device 1 as a trigger, where W is the pulse width of the serial data and T is the period. An abnormality detector 4 generates an abnormality detection signal 14 once a pulse is detected in the data 12 during the generation period of the signal 13. A communication end detector 5 generates a communication end detection signal 15 once detecting one end of a communication of the data 12 to stop the reference signal generator 3. This constitution detects the pulse being abnormal data due to a bit error between two adjacent bits of the data 12 when the pulse is detected in the data 12 during the period wherein the signal 13 is generated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は通信異常検出装置に係
り、特にプラントの通信制御に用いられる通信システム
などの受信装置に適用される通信異常検出装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication error detecting device, and more particularly to a communication error detecting device applied to a receiving device such as a communication system used for communication control of a plant.

【0002】[0002]

【従来の技術】一般に、この種の通信システムにおいて
は、ネットワークを構成する通信装置に対する不適当な
終端方法、通信ケーブルの断線等により発生する信号の
反射や外来ノイズによって、通信データにエラーが発生
する。このような通信異常を検出するため、従来より通
信データに誤り制御コードを付加して受信側で判定する
方式や、送信データと受信データの照合を行う方式が用
いられていた。
2. Description of the Related Art Generally, in a communication system of this type, an error occurs in communication data due to an improper termination method for a communication device forming a network, signal reflection caused by disconnection of a communication cable, or external noise. To do. In order to detect such a communication abnormality, conventionally, a method of adding an error control code to communication data to make a determination on the receiving side and a method of collating transmission data with reception data have been used.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の通信異
常検出方式では、基本的なビットエラーの検出はできる
が、シリアルデータの隣り合う2つのビット間へのノイ
ズの混入によるビットエラーについては検出が困難であ
った。
Although the above-mentioned conventional communication abnormality detection method can detect a basic bit error, it detects a bit error due to the mixing of noise between two adjacent bits of serial data. Was difficult.

【0004】本発明は、このような問題点を解決するた
めになされたもので、シリアルデータの隣り合う2つの
ビット間でのビットエラーを検出することができる通信
異常検出装置を提供することを目的とする。
The present invention has been made in order to solve such a problem, and it is an object of the present invention to provide a communication abnormality detecting apparatus capable of detecting a bit error between two adjacent bits of serial data. To aim.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するた
め、本発明は通信終了から次の通信開始まで所定値以上
の間隔をとるプロトコルによってシリアルデータを通信
データとして伝送する通信システムにおける通信異常を
受信側で検出する通信異常検出装置において、前記シリ
アルデータのパルス幅をW、周期をTとしたとき、該シ
リアルデータの最初のパルスをトリガとして時間W後か
ら周期Tでパルス幅が(T−W)の異常検出用基準信号
を発生する異常検出用基準信号発生器と、前記異常検出
用基準信号が発生されている期間中に前記シリアルデー
タ中にパルスが検出されたとき異常検出信号を発生する
異常検出信号発生器と、前記通信システムの通信終了を
検出して前記異常検出用基準信号発生器を停止させる通
信終了検出器とを具備することを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is directed to a communication error in a communication system in which serial data is transmitted as communication data by a protocol having a predetermined interval or more from the end of communication to the start of next communication. In a communication abnormality detection device that detects on the receiving side, when the pulse width of the serial data is W and the cycle is T, the pulse width is (T- W) an abnormality detection reference signal generator for generating an abnormality detection reference signal, and an abnormality detection signal when a pulse is detected in the serial data during the period in which the abnormality detection reference signal is being generated. And a communication end detector that detects the end of communication of the communication system and stops the reference signal generator for abnormality detection. Characterized in that it.

【0006】[0006]

【作用】通信終了検出器によって通信終了が検出される
までの期間動作する異常検出用基準信号発生器は、シリ
アルデータのパルス幅W、周期Tに対して、シリアルデ
ータの最初のパルスをトリガとして時間W後から周期T
でパルス幅(T−W)の異常検出用基準信号を発生す
る。この異常検出用基準信号の発生期間は、シリアルデ
ータのビットから次のビットまでの遷移期間T−Wに対
応している。従って、この異常検出用基準信号が発生さ
れている期間(遷移期間)内にシリアルデータ中にパル
スが検出されれば、このパルスはシリアルデータの隣り
合う2つのビット間でのビットエラーによる異常データ
であることが異常検出器によって検出される。
The abnormality detection reference signal generator, which operates until the end of communication is detected by the end-of-communication detector, uses the first pulse of serial data as a trigger for the pulse width W and period T of serial data. Cycle T after time W
Generates a reference signal for abnormality detection of pulse width (T-W). The generation period of this abnormality detection reference signal corresponds to the transition period TW from the bit of the serial data to the next bit. Therefore, if a pulse is detected in the serial data within the period (transition period) in which the abnormality detection reference signal is generated, this pulse is an abnormal data due to a bit error between two adjacent bits of the serial data. Is detected by the anomaly detector.

【0007】[0007]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は、本発明の一実施例に係る通信異常検出装
置の構成を示すブロック図である。本実施例は、1回の
最大通信データ量に上限があるために通信終了から次の
通信開始まで所定値以上の間隔をとるプロトコルによっ
てシリアルデータを通信データとして伝送する通信シス
テムにおける受信側に適用される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a communication abnormality detection device according to an embodiment of the present invention. This embodiment is applied to the receiving side in a communication system that transmits serial data as communication data by a protocol that takes an interval of a predetermined value or more from the end of communication to the start of next communication because there is an upper limit on the maximum communication data amount for one time. To be done.

【0008】図1において、受信装置1は送信側からシ
リアル伝送されてきた通信データ11を受信し、通信デ
ータ11に対応したシリアルデータ(パルス列)12を
生成する。シリアルデータ12の各パルスのパルス幅は
W、周期はTとする。シリアルデータ12は通信異常検
出装置2と受信信号処理装置6に入力される。
In FIG. 1, the receiving device 1 receives the communication data 11 serially transmitted from the transmitting side and generates serial data (pulse train) 12 corresponding to the communication data 11. The pulse width of each pulse of the serial data 12 is W and the period is T. The serial data 12 is input to the communication abnormality detection device 2 and the reception signal processing device 6.

【0009】通信異常検出装置2は、異常検出用基準信
号発生器3と異常検出器4および通信終了検出器5から
なる。異常検出用基準信号発生器3は、シリアルデータ
12の最初のパルスをトリガとしてW時間後から周期T
でパルス幅が(T−W)の異常検出用基準信号13を発
生し、異常検出器4に送る。
The communication abnormality detection device 2 comprises an abnormality detection reference signal generator 3, an abnormality detector 4 and a communication end detector 5. The anomaly detection reference signal generator 3 uses the first pulse of the serial data 12 as a trigger to start the cycle T after the time W has elapsed.
Then, the abnormality detection reference signal 13 having a pulse width of (TW) is generated and sent to the abnormality detector 4.

【0010】異常検出器4は、異常検出用基準信号13
が発生されている期間中にシリアルデータ12中にパル
スが検出されたとき異常検出信号14を発生し、通信終
了検出器5に送る。
The abnormality detector 4 is provided with an abnormality detection reference signal 13
When a pulse is detected in the serial data 12 during the period when is generated, the abnormality detection signal 14 is generated and sent to the communication end detector 5.

【0011】通信終了検出器5は、通信システムの通信
終了、すなわちシリアルデータ12の一回の通信終了を
検出すると、通信終了検出信号15を発生する。この通
信終了検出信号15が発生すると、異常検出用基準信号
発生器3が停止する。
The communication end detector 5 generates a communication end detection signal 15 when detecting communication end of the communication system, that is, one end of communication of the serial data 12. When the communication end detection signal 15 is generated, the abnormality detection reference signal generator 3 is stopped.

【0012】受信信号処理装置6は、受信装置1から出
力されるシリアルデータ12と異常検出器4からの異常
検出信号14を受け、異常検出信号14が発生している
期間中にシリアルデータ12に含まれているパルスは、
エラーによるものと判断することになる。
The reception signal processing device 6 receives the serial data 12 output from the reception device 1 and the abnormality detection signal 14 from the abnormality detector 4, and outputs the serial data 12 during the period when the abnormality detection signal 14 is generated. The included pulse is
It will be judged as an error.

【0013】図2は、図1をより具体的に示す回路図で
ある。異常検出用基準信号発生器3は、フリップフロッ
プ(F/F)31、非安定マルチバイブレータ32、A
ND回路33および遅延素子34からなる。異常検出器
4は、AND回路41からなる。通信終了検出器5は、
カウンタ51,52、クロック発生器53、NOT回路
54およびAND回路55からなる。
FIG. 2 is a circuit diagram showing FIG. 1 more specifically. The abnormality detection reference signal generator 3 includes a flip-flop (F / F) 31, an astable multivibrator 32, and A.
It comprises an ND circuit 33 and a delay element 34. The abnormality detector 4 comprises an AND circuit 41. The communication end detector 5 is
It comprises counters 51 and 52, a clock generator 53, a NOT circuit 54 and an AND circuit 55.

【0014】受信装置1からシリアルデータ12の最初
のパルスが出力されると、このパルスをトリガとしてフ
リップフロップ31がセットされる。これにより非安定
マルチバイブレータ32が周期T、パルス幅(T−W)
の方形パルス35を発生し始める。フリップフロップ3
1がセットされているため、方形パルス35はAND回
路33を通過して遅延素子34に入力され、ここで時間
Wだけ遅延された後、異常検出用基準信号13として異
常検出器4に入力される。
When the first pulse of the serial data 12 is output from the receiver 1, the flip-flop 31 is set by using this pulse as a trigger. As a result, the unstable multivibrator 32 has a period T and a pulse width (T-W).
Begins to generate square pulses 35 of. Flip flop 3
Since 1 is set, the rectangular pulse 35 passes through the AND circuit 33 and is input to the delay element 34, where it is delayed by the time W and then input to the abnormality detector 4 as the abnormality detection reference signal 13. It

【0015】ここで、異常検出用基準信号13がHレベ
ルの期間中に受信装置1からパルスが出力されると、す
なわちシリアルデータ12の本来のパルスとパルスの間
にノイズの混入等によるパルスが存在していると、異常
検出器4の出力はHレベルとなり、これが異常検出信号
14となる。
Here, when a pulse is output from the receiver 1 while the abnormality detection reference signal 13 is at the H level, that is, a pulse due to mixing of noise between the original pulse of the serial data 12 and the pulse is generated. If present, the output of the abnormality detector 4 becomes H level, and this becomes the abnormality detection signal 14.

【0016】一方、シリアルデータ12のパルスの生成
開始をトリガとして、通信終了検出器5におけるカウン
タ51,52のクロック発生器53からのクロック56
のカウント動作も開始される。カウンタ51,52は、
シリアルデータ12のパルスをトリガとして次のパルス
が入力されるまでの期間クロック56を順次0からカウ
ントし、次のパルスが入力されるとリセットされ、再び
0からカウントを開始する。
On the other hand, triggered by the start of pulse generation of the serial data 12, the clock 56 from the clock generator 53 of the counters 51 and 52 in the communication end detector 5 is used.
The counting operation of is also started. The counters 51 and 52 are
The pulse of the serial data 12 is used as a trigger, and the period clock 56 is sequentially counted from 0 until the next pulse is input. When the next pulse is input, the clock 56 is reset, and the counting is restarted from 0.

【0017】カウンタ51,52のカウント値が通信終
了を示す所定値に達すると、カウンタ52のQB 端子が
Hレベル、QC 端子がLレベルとなり、NOT回路54
およびAND回路55を経て通信終了検出信号15が発
生される。この通信終了検出信号15により、異常検出
用基準信号発生器3内のフリップフロップ31がリセッ
トされ、異常検出用基準信号発生器3の動作が停止され
ることによって、以後の通信に備えられる。
When the count values of the counters 51 and 52 reach a predetermined value indicating the end of communication, the Q B terminal of the counter 52 becomes H level, the Q C terminal becomes L level, and the NOT circuit 54.
Then, the communication end detection signal 15 is generated via the AND circuit 55. The communication end detection signal 15 resets the flip-flop 31 in the abnormality detection reference signal generator 3 to stop the operation of the abnormality detection reference signal generator 3, thereby preparing for the subsequent communication.

【0018】[0018]

【発明の効果】以上説明したように、本発明によれば従
来では検出が困難であったシリアルデータの隣り合う2
つのビット間へのノイズの混入等によるビットエラーを
容易に検出することができる。
As described above, according to the present invention, the two adjacent serial data, which have been difficult to detect in the past, are adjacent to each other.
It is possible to easily detect a bit error due to mixing of noise between two bits.

【0019】また、本発明による通信異常検出装置は、
通信システムのネットワークを構成する通信装置に対す
る終端方法の不適や、通信ケーブルの断線等により発生
する信号の反射や外来ノイズによって通信データに発生
するエラーをリアルタイムで検出する上で、特に効果的
である。
Further, the communication error detecting device according to the present invention is
It is particularly effective in detecting in real time errors that occur in communication data due to signal reflection and external noise that are caused by improper termination methods for communication devices that make up a network of a communication system, disconnection of communication cables, etc. .

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

【図1】本発明の一実施例に係る通信異常検出装置の構
成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a communication abnormality detection device according to an embodiment of the present invention.

【図2】図1の通信異常検出装置をより具体的に示す回
路図
FIG. 2 is a circuit diagram more specifically showing the communication error detection device of FIG.

【符号の説明】[Explanation of symbols]

1…受信装置 2…通信異常検出
装置 3…異常検出用基準信号発生器 4…異常検出器 5…通信終了検出器 6…受信信号処理
装置 11…通信データ 12…シリアルデ
ータ 13…異常検出用基準信号 14…異常検出信
号 15…通信終了検出信号 31…フリップフ
ロップ 32…非安定マルチバイブレータ 33…AND回路 34…遅延素子 35…パルス 41…AND回路 51…カウンタ 52…カウンタ 53…クロック発
生器 54…NOT回路 55…AND回路 56…クロック
DESCRIPTION OF SYMBOLS 1 ... Receiving device 2 ... Communication abnormality detection device 3 ... Abnormality detection reference signal generator 4 ... Abnormality detector 5 ... Communication end detector 6 ... Received signal processing device 11 ... Communication data 12 ... Serial data 13 ... Abnormality detection reference Signal 14 ... Abnormality detection signal 15 ... Communication end detection signal 31 ... Flip-flop 32 ... Unstable multivibrator 33 ... AND circuit 34 ... Delay element 35 ... Pulse 41 ... AND circuit 51 ... Counter 52 ... Counter 53 ... Clock generator 54 ... NOT circuit 55 ... AND circuit 56 ... Clock

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】通信終了から次の通信開始まで所定値以上
の間隔をとるプロトコルによってシリアルデータを通信
データとして伝送する通信システムにおける通信異常を
受信側で検出する通信異常検出装置において、 前記シリアルデータのパルス幅をW、周期をTとしたと
き、該シリアルデータの最初のパルスをトリガとして時
間W後から周期Tでパルス幅が(T−W)の異常検出用
基準信号を発生する異常検出用基準信号発生器と、 前記異常検出用基準信号が発生されている期間中に前記
シリアルデータ中にパルスが検出されたとき異常検出信
号を発生する異常検出信号発生器と、 前記通信システムの通信終了を検出して前記異常検出用
基準信号発生器を停止させる通信終了検出器とを具備す
ることを特徴とする通信異常検出装置。
1. A communication error detecting device for detecting a communication error in a communication side in a communication system for transmitting serial data as communication data according to a protocol having an interval of a predetermined value or more from the end of communication to the start of next communication, said serial data Where W is the pulse width and T is the period, an abnormality detecting reference signal for generating an abnormality having a pulse width (TW) at the period T after the time W is triggered by the first pulse of the serial data. A reference signal generator, an abnormality detection signal generator that generates an abnormality detection signal when a pulse is detected in the serial data during the period in which the abnormality detection reference signal is generated, and communication end of the communication system And a communication end detector that detects the error and stops the reference signal generator for abnormality detection.
JP05115678A 1993-05-18 1993-05-18 Communication error detection device Expired - Fee Related JP3095576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05115678A JP3095576B2 (en) 1993-05-18 1993-05-18 Communication error detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05115678A JP3095576B2 (en) 1993-05-18 1993-05-18 Communication error detection device

Publications (2)

Publication Number Publication Date
JPH06326756A true JPH06326756A (en) 1994-11-25
JP3095576B2 JP3095576B2 (en) 2000-10-03

Family

ID=14668578

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05115678A Expired - Fee Related JP3095576B2 (en) 1993-05-18 1993-05-18 Communication error detection device

Country Status (1)

Country Link
JP (1) JP3095576B2 (en)

Also Published As

Publication number Publication date
JP3095576B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
US4549297A (en) Data retransmitting system
Fang et al. Design and simulation of UART serial communication module based on VHDL
US4495617A (en) Signal generation and synchronizing circuit for a decentralized ring network
US6405328B1 (en) Method for resetting processor, and watchdog
JP3095576B2 (en) Communication error detection device
JP4356051B2 (en) Method and apparatus for exchanging data
JPH0983608A (en) Time synchronization device
US7802150B2 (en) Ensuring maximum reaction times in complex or distributed safe and/or nonsafe systems
US5661736A (en) Multiple use timer and method for pulse width generation, echo failure detection, and receive pulse width measurement
JPH07264263A (en) Serial communication interface device
JP2690602B2 (en) Cable connector disconnection detection circuit
JPH0413337A (en) Baud rate discrimination method for serial data
JPS58104566A (en) Recorder automatic stop system in facsimile communication
JPH02295325A (en) Data monitoring device
US5530719A (en) Method and a circuit for identifying the nominal frequency of a logic signal through use of trains of clock pulses having respective predetermined time durations
US5003582A (en) Method of adjusting the end of transmission in a modem
JPS5847350A (en) Data communication system
JPH0425240A (en) Burst signal monitoring circuit
CN117792536A (en) Transponder message transmission simulation method, device, system and medium
EP1031209A1 (en) Bus loading meter using digital envelope detector
JPH0519853B2 (en)
JPH0426578B2 (en)
JPH05225128A (en) Serial transfer circuit
JPH0338928A (en) H/w connection checking system for optical interface cable
JPS6139746A (en) Data transmission system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000704

LAPS Cancellation because of no payment of annual fees