JP2748775B2 - Data line failure detection circuit - Google Patents

Data line failure detection circuit

Info

Publication number
JP2748775B2
JP2748775B2 JP4134517A JP13451792A JP2748775B2 JP 2748775 B2 JP2748775 B2 JP 2748775B2 JP 4134517 A JP4134517 A JP 4134517A JP 13451792 A JP13451792 A JP 13451792A JP 2748775 B2 JP2748775 B2 JP 2748775B2
Authority
JP
Japan
Prior art keywords
data
control unit
unit
failure
flag
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
JP4134517A
Other languages
Japanese (ja)
Other versions
JPH05308397A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4134517A priority Critical patent/JP2748775B2/en
Publication of JPH05308397A publication Critical patent/JPH05308397A/en
Application granted granted Critical
Publication of JP2748775B2 publication Critical patent/JP2748775B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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 data line used for data communication, and more particularly to a circuit for detecting a failure in the data line.

【0002】[0002]

【従来の技術】従来のデータ回線の障害検出回路は、図
2に示すように制御部2と、制御部2からのデータバス
9によって接続されたデータ送受信部3と、制御部2に
一定時間毎の割り込みを与えるためのタイマ部11とか
らなる。そして、データ送受信部3には送信データ7と
受信データ8が接続され、制御部2には外部装置とのイ
ンターフェース用バス10が接続されている。タイマ部
11は一定時間t1 毎に割り込みが発生するようになっ
ている。
2. Description of the Related Art As shown in FIG. 2, a conventional data line fault detection circuit includes a control unit 2, a data transmission / reception unit 3 connected by a data bus 9 from the control unit 2, and a control unit 2 for a fixed time. And a timer unit 11 for giving an interrupt every time. The transmission / reception data 7 and the reception data 8 are connected to the data transmission / reception unit 3, and the interface bus 10 to an external device is connected to the control unit 2. Timer unit 11 is adapted interrupt occurs every fixed time t 1.

【0003】この回路構成において、データ送信要求を
インターフェース用バス10から制御部2が受け取る
と、制御部2では必要によりデータの編集等の処理を
し、データバス9を通してデータ送受信部3にデータ送
信を指示する。データ送受信部3ではデータ回線のプロ
トコルに従って送信データ7を作り、相手装置へ送信す
る。相手装置では受信データ8を受けるとデータ送受信
部3にてプロトコルに従ってデータを抽出しデータバス
9を通して制御部2へデータを渡す。制御部2ではデー
タの解析をし、必要によりインターフェース用バス10
を通して外部へデータを渡す。
In this circuit configuration, when the control unit 2 receives a data transmission request from the interface bus 10, the control unit 2 performs processing such as editing data as necessary, and transmits data to the data transmission / reception unit 3 through the data bus 9. Instruct. The data transmission / reception unit 3 creates transmission data 7 in accordance with the protocol of the data line and transmits it to the partner device. When the other device receives the received data 8, the data transmission / reception unit 3 extracts the data according to the protocol and passes the data to the control unit 2 through the data bus 9. The control unit 2 analyzes the data, and if necessary, the interface bus 10.
Pass data to the outside through

【0004】制御部2は送信すべきデータが発生すると
タイマ部11をリセットすることにより、送信すべきデ
ータがない状態が一定時間t1 以上あると、タイマ部1
1より割り込みが発生し、制御部2に対して試験信号の
送信を要求する。制御部2では試験信号を作成しデータ
送受信部3を通して試験信号を送信することにより、送
信データ7に送信データがない時間はt1 以下となるよ
うにしている。正常な相手装置では、タイマ部11は一
定時間t2 毎に割り込みが発生するようになっている。
2 はt1 より長く設定される。受信データ8はデータ
送受信部3及びデータバス9を通り制御部2に渡され、
制御部2ではデータ受信をする毎にタイマ部11をリセ
ットする。データ受信がt2 以上ないとタイマ部11は
制御部2に割り込みをかけ、制御部2は相手装置からデ
ータが送信されていないと判断し相手装置を含むデータ
回線の異常と判断し警報を出すと共にデータ回線を閉塞
する。
The control unit 2 resets the timer unit 11 when data to be transmitted is generated. If there is no data to be transmitted for a certain period of time t 1 or more, the timer unit 1 resets.
An interrupt is generated from the control unit 1 and requests the control unit 2 to transmit a test signal. By transmitting a test signal through to the data transmitting and receiving unit 3 creates a control unit 2, the test signal, the time there is no transmission data in the transmission data 7 is set to be t 1 below. In normal counterpart device, the timer unit 11 is adapted interrupt is generated every predetermined time t 2.
t 2 is set to be longer than t 1. The received data 8 is passed to the control unit 2 through the data transmitting / receiving unit 3 and the data bus 9,
The control unit 2 resets the timer unit 11 every time data is received. And data reception is t 2 or not the timer unit 11 interrupts the control unit 2, the control unit 2 issues an abnormality and determines alarm data lines including the decision to the other unit and data is not transmitted from the other unit Together with the data line.

【0005】[0005]

【発明が解決しようとする課題】この従来のデータ回線
の障害検出回路は、相手装置からのデータが一定時間に
渡って来ないということで障害の検出を行っているた
め、データ送信側で試験信号を送ることとなっている
が、有効な信号の妨げにならないように試験信号の間隔
1 を短くすることはできない。したがって、障害検出
までの時間t2 も短くできず障害のある装置を含むデー
タ回線の障害検出の時間が遅くなり、回線閉塞が遅くな
るという問題点があった。本発明の目的は、データ回線
の障害検出を迅速に検出するようにした障害検出回路を
提供することにある。
Since the conventional data line fault detection circuit detects a fault because data from a partner device does not arrive for a certain period of time, a test is performed on the data transmission side. Although a signal is to be sent, the interval t 1 between test signals cannot be shortened so as not to interfere with a valid signal. Therefore, the time t 2 until the failure detection cannot be shortened, and the time for detecting the failure of the data line including the faulty device is delayed, and the line blocking is delayed. SUMMARY OF THE INVENTION It is an object of the present invention to provide a failure detection circuit which can quickly detect a failure in a data line.

【0006】[0006]

【課題を解決するための手段】本発明は、フラグ信号で
同期をとる同期方式のシリアルデータ伝送装置におい
て、受信データのフラグ断を検出する手段と、制御部の
障害を検出する手段と、制御部の障害を検出した時に送
信データのフラグを強制的に断とする手段とを備える。
SUMMARY OF THE INVENTION The present invention relates to a synchronous serial data transmission apparatus for synchronizing with a flag signal, a means for detecting a flag break in received data, a means for detecting a failure in a control unit, and a control unit. Means for forcibly turning off a flag of transmission data when a failure of the unit is detected.

【0007】[0007]

【作用】受信データのフラグ断を検出することで、障害
のある装置を含めた回線障害を正常な相手装置により直
ちに検出できる。
By detecting the disconnection of the flag of the received data, a line failure including a faulty device can be immediately detected by a normal partner device.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例のブロック図であり、障害
検出回路はシリアルデータ伝送装置に設けられる。同図
において、1は障害検出部、2は制御部、3はデータ送
受信部、4はフラグ断検出部、5はインバータ、6はア
ンドゲートである。前記制御部2は外部からのインター
フェース用バス10からのデータを受けてデータ編集等
の処理及びシリアルデータ伝送装置全体を制御する。制
御部2によって処理されたデータはデータバス9を通り
データ送受信部3にデータ送信を指示する。データ送受
信部3ではデータ回線のプロトコルに従って送信データ
を作り、アンドゲート6を通り送信データ7を送信す
る。受信データ8はデータ送受信部3とフラグ断検出部
4に渡され、データ送受信部3ではプロトコルに従って
データを抽出し、データバス9を通り制御部2へデータ
を渡す。制御部2ではデータの解析を行い、必要により
インターフェース用バス10を通して外部へデータを渡
す。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of one embodiment of the present invention, and a failure detection circuit is provided in a serial data transmission device. In FIG. 1, reference numeral 1 denotes a failure detection unit, 2 denotes a control unit, 3 denotes a data transmission / reception unit, 4 denotes a flag disconnection detection unit, 5 denotes an inverter, and 6 denotes an AND gate. The control unit 2 receives data from the interface bus 10 from outside and controls processes such as data editing and controls the entire serial data transmission device. The data processed by the control unit 2 passes through the data bus 9 and instructs the data transmission / reception unit 3 to transmit data. The data transmission / reception unit 3 generates transmission data according to the protocol of the data line, and transmits the transmission data 7 through the AND gate 6. The received data 8 is passed to the data transmission / reception unit 3 and the flag disconnection detection unit 4. The data transmission / reception unit 3 extracts data according to a protocol and passes the data to the control unit 2 through the data bus 9. The control unit 2 analyzes the data and transfers the data to the outside through the interface bus 10 if necessary.

【0009】前記 フラグ断検出部4はフラグが連続で
一定時間にわたり断になるのを検出し、制御部2へ通報
する。制御部2ではフラグ断の検出をすると相手装置を
含めたデータ回線の障害と判断し警報を出すと共にデー
タ回線を閉塞とする。制御部2には障害検出部1が接続
され、制御部2の異常を検出する。例えば、制御部2の
クロック断,プログラム領域以外からの命令フェッチ,
RAMのパリティエラー又は命令コード以外の命令フェ
ッチ等の検出,又はこれらの組み合わせの検出により制
御部2の障害を検出する。障害が検出されるとインバー
タ5を通して論理“0”がアンドゲート6へ送られ送信
データをオール“0”の信号とすることにより正常な相
手装置でフラグ断が検出される。
The flag disconnection detecting section 4 detects that the flag is continuously disconnected for a predetermined time, and notifies the control section 2 of the detection. When the control unit 2 detects the disconnection of the flag, it determines that a failure has occurred in the data line including the partner device, issues an alarm, and closes the data line. The controller 2 is connected to the failure detector 1 and detects an abnormality of the controller 2. For example, the clock of the control unit 2 is cut off, an instruction fetch from outside the program area,
A failure of the control unit 2 is detected by detecting a parity error of the RAM, an instruction fetch other than the instruction code, or a combination thereof. When a failure is detected, a logic "0" is sent to the AND gate 6 through the inverter 5, and the transmission data is made a signal of all "0".

【0010】[0010]

【発明の効果】以上説明したように本発明はシリアルデ
ータ伝送装置の障害を障害検出部で検出し、送信データ
に含まれるフラグを断とし、障害発生をフラグ断という
形で正常な相手装置に伝え、正常な相手装置ではフラグ
断の検出をすることにより、障害のある相手装置を含む
データ回線の障害を迅速に検出することができる。
As described above, according to the present invention, the failure of the serial data transmission device is detected by the failure detection unit, the flag included in the transmission data is turned off, and the occurrence of the fault is sent to the normal partner device by cutting the flag. In other words, the normal partner device can promptly detect a failure in the data line including the failed partner device by detecting the flag disconnection.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】従来の障害検出回路の一例のブロック図であ
る。
FIG. 2 is a block diagram of an example of a conventional fault detection circuit.

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

1 障害検出回路 2 制御部 3 データ送受信部 4 フラグ断検出部 5 インバータ 6 アンドゲート DESCRIPTION OF SYMBOLS 1 Fault detection circuit 2 Control part 3 Data transmission / reception part 4 Flag disconnection detection part 5 Inverter 6 AND gate

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 フラグ信号で同期をとる同期方式のシリ
アルデータ伝送装置において、受信データのフラグ断を
検出する手段と、制御部の障害を検出する手段と、制御
部の障害を検出した時に送信データのフラグを強制的に
断とする手段とを備えることを特徴とするデータ回線の
障害検出回路。
In a synchronous serial data transmission apparatus that synchronizes with a flag signal, a means for detecting a flag break in received data, a means for detecting a failure in a control unit, and transmitting when a failure in the control unit is detected. Means for forcibly turning off a data flag.
JP4134517A 1992-04-28 1992-04-28 Data line failure detection circuit Expired - Lifetime JP2748775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4134517A JP2748775B2 (en) 1992-04-28 1992-04-28 Data line failure detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4134517A JP2748775B2 (en) 1992-04-28 1992-04-28 Data line failure detection circuit

Publications (2)

Publication Number Publication Date
JPH05308397A JPH05308397A (en) 1993-11-19
JP2748775B2 true JP2748775B2 (en) 1998-05-13

Family

ID=15130180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4134517A Expired - Lifetime JP2748775B2 (en) 1992-04-28 1992-04-28 Data line failure detection circuit

Country Status (1)

Country Link
JP (1) JP2748775B2 (en)

Also Published As

Publication number Publication date
JPH05308397A (en) 1993-11-19

Similar Documents

Publication Publication Date Title
JP2748775B2 (en) Data line failure detection circuit
JPH06202764A (en) Power source disconnecting device
US7003696B1 (en) Fault management system for switching equipment
JPH0629927A (en) Power-saving optical transmission system
JP3052646B2 (en) Multiplex communication device
JPH02223248A (en) Data bus terminal equipment of command response system
JP2513121B2 (en) Transmission device for serial bus
JP2800765B2 (en) Optical burst signal output control circuit
JPH0524761A (en) Remotely monitoring device for elevator
JPH0879171A (en) Intra-device monitoring system
JPH04275661A (en) Data transfer device
JPS6124345A (en) Signal output gate control system
JPH10207745A (en) Method for confirming inter-processor existence
JPH01282939A (en) Communication terminal equipment
JP2778691B2 (en) Bus monitoring circuit
JP2687800B2 (en) Communication error detection device
JPH05236639A (en) Compensator for transmission line
JPH0338937A (en) Network module
JPH0523529B2 (en)
JPS5912657A (en) Transmission line protecting system of multidrop type information transmission system
JPH01112851A (en) Data communication system
JPH0685770A (en) Defect detection system for transmission standby circuit
JPH06175869A (en) Duplex computer system
JPH07264182A (en) Method for confirming communication data
JPH1084352A (en) Fault state transmission method and device therefor