JP3095576B2 - Communication error detection device - Google Patents

Communication error detection device

Info

Publication number
JP3095576B2
JP3095576B2 JP05115678A JP11567893A JP3095576B2 JP 3095576 B2 JP3095576 B2 JP 3095576B2 JP 05115678 A JP05115678 A JP 05115678A JP 11567893 A JP11567893 A JP 11567893A JP 3095576 B2 JP3095576 B2 JP 3095576B2
Authority
JP
Japan
Prior art keywords
communication
abnormality detection
serial data
reference signal
pulse
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 - Fee Related
Application number
JP05115678A
Other languages
Japanese (ja)
Other versions
JPH06326756A (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.)
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

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 In general, in this type of communication system, an error occurs in communication data due to an inappropriate termination method for a communication device constituting a network, signal reflection or external noise generated by disconnection of a communication cable, and the like. I do. In order to detect such a communication abnormality, a method of adding an error control code to communication data and making a determination on the receiving side, or a method of collating transmission data with reception data have been conventionally used.

【0003】[0003]

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

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

【0005】[0005]

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

【0006】[0006]

【作用】通信終了検出器によって通信終了が検出される
までの期間動作する異常検出用基準信号発生器は、シリ
アルデータのパルス幅W、周期Tに対して、シリアルデ
ータの最初のパルスをトリガとして時間W後から周期T
でパルス幅(T−W)の異常検出用基準信号を発生す
る。この異常検出用基準信号の発生期間は、シリアルデ
ータのビットから次のビットまでの遷移期間T−Wに対
応している。従って、この異常検出用基準信号が発生さ
れている期間(遷移期間)内にシリアルデータ中にパル
スが検出されれば、このパルスはシリアルデータの隣り
合う2つのビット間でのビットエラーによる異常データ
であることが異常検出器によって検出される。
The reference signal generator for abnormality detection which operates until the end of communication is detected by the end-of-communication detector uses the first pulse of the serial data as a trigger for the pulse width W and the period T of the serial data. Cycle T after time W
Generates an abnormality detection reference signal having a pulse width (T-W). The period during which the abnormality detection reference signal is generated corresponds to a transition period TW from a bit of serial data to the next bit. Therefore, if a pulse is detected in the serial data during the period (transition period) during which the abnormality detection reference signal is generated, the pulse is detected as an abnormal data due to a bit error between two adjacent bits of the serial data. Is detected by the abnormality 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 a configuration of a communication abnormality detection device according to one embodiment of the present invention. This embodiment is applied to a receiving side in a communication system in which serial data is transmitted as communication data by a protocol having an interval of a predetermined value or more from the end of communication to the start of the next communication because there is an upper limit in the maximum amount of communication data at one time. Is done.

【0008】図1において、受信装置1は送信側からシ
リアル伝送されてきた通信データ11を受信し、通信デ
ータ11に対応したシリアルデータ(パルス列)12を
生成する。シリアルデータ12の各パルスのパルス幅は
W、周期はTとする。シリアルデータ12は通信異常検
出装置2と受信信号処理装置6に入力される。
In FIG. 1, a receiving device 1 receives communication data 11 serially transmitted from a 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 cycle 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 detecting device 2 comprises an abnormality detection reference signal generator 3, an abnormality detector 4, and a communication end detector 5. The abnormality detection reference signal generator 3 uses the first pulse of the serial data 12 as a trigger and sets a period T after W time.
Generates an abnormality detection reference signal 13 having a pulse width of (T−W) and sends it to the abnormality detector 4.

【0010】異常検出器4は、異常検出用基準信号13
が発生されている期間中にシリアルデータ12中にパル
スが検出されたとき異常検出信号14を発生し、通信終
了検出器5に送る。
The abnormality detector 4 receives an abnormality detection reference signal 13
When a pulse is detected in the serial data 12 during the period in which the error occurs, an 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 the communication end of the communication system, that is, the end of one communication of the serial data 12 is detected. When the communication end detection signal 15 is generated, the abnormality detection reference signal generator 3 stops.

【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 converts the serial data 12 into a serial data 12 while the abnormality detection signal 14 is being generated. The included pulses are
It will be determined to be due to 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 more specifically showing FIG. The abnormality detection reference signal generator 3 includes a flip-flop (F / F) 31, an unstable multivibrator 32,
It comprises an ND circuit 33 and a delay element. The abnormality detector 4 includes an AND circuit 41. The communication end detector 5
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 receiving apparatus 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).
To generate a square pulse 35. Flip-flop 3
Since 1 is set, the square 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. You.

【0015】ここで、異常検出用基準信号13がHレベ
ルの期間中に受信装置1からパルスが出力されると、す
なわちシリアルデータ12の本来のパルスとパルスの間
にノイズの混入等によるパルスが存在していると、異常
検出器4の出力はHレベルとなり、これが異常検出信号
14となる。
Here, if a pulse is output from the receiving apparatus 1 during the period when the abnormality detection reference signal 13 is at the H level, that is, a pulse due to noise mixing between the original pulse of the serial data 12 and the like is generated. If there is, the output of the abnormality detector 4 becomes H level, which 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 the 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.
Is also started. The counters 51 and 52 are
The pulse 56 of the serial data 12 is used as a trigger to count the clock 56 sequentially from 0 until the next pulse is input. When the next pulse is input, the clock 56 is reset and starts counting from 0 again.

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

【0018】[0018]

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

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

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

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

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

【符号の説明】[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 apparatus 2 ... Communication abnormality detection apparatus 3 ... Abnormality detection reference signal generator 4 ... Abnormality detector 5 ... Communication end detector 6 ... Received signal processing apparatus 11 ... Communication data 12 ... Serial data 13 ... Abnormality detection reference Signal 14 ... Abnormality detection signal 15 ... Communication end detection signal 31 ... Flip-flop 32 ... Astable 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)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】通信終了から次の通信開始まで所定値以上
の間隔をとるプロトコルによってシリアルデータを通信
データとして伝送する通信システムにおける通信異常を
受信側で検出する通信異常検出装置において、 前記シリアルデータのパルス幅をW、周期をTとしたと
き、該シリアルデータの最初のパルスをトリガとして時
間W後から周期Tでパルス幅が(T−W)の異常検出用
基準信号を発生する異常検出用基準信号発生器と、 前記異常検出用基準信号が発生されている期間中に前記
シリアルデータ中にパルスが検出されたとき異常検出信
号を発生する異常検出信号発生器と、 前記通信システムの通信終了を検出して前記異常検出用
基準信号発生器を停止させる通信終了検出器とを具備す
ることを特徴とする通信異常検出装置。
1. A communication error detecting device for detecting a communication error on a receiving 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 the next communication. Is the pulse width of W and the cycle is T, and the first pulse of the serial data is used as a trigger to generate an abnormality detection reference signal having a pulse width of (T−W) with a cycle T after time W. A reference signal generator, an abnormality detection signal generator that generates an abnormality detection signal when a pulse is detected in the serial data while the abnormality detection reference signal is being generated, and communication termination of the communication system. And a communication end detector for stopping the abnormality detection reference signal generator and detecting the abnormality.
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 JPH06326756A (en) 1994-11-25
JP3095576B2 true 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
JPH06326756A (en) 1994-11-25

Similar Documents

Publication Publication Date Title
US4549297A (en) Data retransmitting system
AU718652B2 (en) Method for resetting processor, and watchdog
JP2753915B2 (en) Communication control device
JP3095576B2 (en) Communication error detection device
JP2819898B2 (en) Monitoring circuit for communication equipment
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
JP2559237Y2 (en) Serial data sampling signal generator
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
JP2003263404A (en) Serial communication system and microcomputer using the same
JPH0425240A (en) Burst signal monitoring circuit
JPH0519853B2 (en)
US5870437A (en) Apparatus and method for detecting end of serial bit stream
JPH0413337A (en) Baud rate discrimination method for serial data
JPS6222296B2 (en)
JPS63207246A (en) Automatic discriminating circuit for communication speed
JP2859222B2 (en) Frame converter
JPH04157938A (en) Communication error check method in communication system
JPH05225128A (en) Serial transfer circuit
JPH0426578B2 (en)
JPS5827718B2 (en) Dial pulse signal processing method
JPH0521466B2 (en)
JPH0124456B2 (en)

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