JPH11353293A - Failure detector - Google Patents

Failure detector

Info

Publication number
JPH11353293A
JPH11353293A JP10157161A JP15716198A JPH11353293A JP H11353293 A JPH11353293 A JP H11353293A JP 10157161 A JP10157161 A JP 10157161A JP 15716198 A JP15716198 A JP 15716198A JP H11353293 A JPH11353293 A JP H11353293A
Authority
JP
Japan
Prior art keywords
communication
failure
devices
duplex
failure determination
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.)
Pending
Application number
JP10157161A
Other languages
Japanese (ja)
Inventor
Yukio Maniwa
幸雄 馬庭
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP10157161A priority Critical patent/JPH11353293A/en
Publication of JPH11353293A publication Critical patent/JPH11353293A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)
  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a failure detector which detects only the failure of a duplex communication device. SOLUTION: The failure detectors installed in two duplex communication devices which perform the communication with each opposite party device have the communication break detection means 21 and 31 which detect that the communication commands given from the opposite party devices are broken for the communication break detection time, the state notification means 22 and 32 which notify the opposite party devices of the communication unable states based on the detection results of the means 21 and 31, and the failure decision means 23 and 33 which decide the failures of the opposite party devices when one of both duplex communication devices is unable to perform the communication and then decide the failures of their own devices when one of both duplex communication devices is enable to perform the communication when the failure decision time passed after the breaks of communication are detected by the means 21 and 31.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、相手機器と通信を
行う二重化通信機器の故障検出装置に関し、二重化通信
機器の故障のみを検出する故障検出装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure detection device for a duplex communication device for communicating with a partner device, and more particularly to a failure detection device for detecting only a failure of a duplex communication device.

【0002】[0002]

【従来の技術】従来、上位側機器(通信マスタ)と下位
側機器(通信スレーブ)との間で通信を行うシステムに
おいて、下位側機器は、通信異常を通信マスタからの通
信コマンドが一定時間途絶えたことを内部の通信断検出
手段により検出をしている。
2. Description of the Related Art Conventionally, in a system for performing communication between a higher-level device (communication master) and a lower-level device (communication slave), the lower-level device causes a communication error from the communication master to be interrupted for a predetermined time due to a communication abnormality. Is detected by the internal communication disconnection detecting means.

【0003】このような装置を図3に示し説明する。図
において、上位側機器1は、通信ラインLを介して、下
位側機器2,3と通信を行っている。下位側機器2,3
は、二重化通信機器を構成し、一方の機器が故障した
ら、他方の機器に切り替わる。そして、下位側機器2,
3は、それぞれ通信断検出手段21,31を有する。通
信断検出手段21,31は、上位側機器1からの通信コ
マンドが一定時間途絶えたことを検出する。
[0003] Such an apparatus is shown and described in FIG. In the figure, an upper device 1 is communicating with lower devices 2 and 3 via a communication line L. Lower device 2, 3
Constitutes a duplex communication device, and if one device fails, switches to the other device. And the lower device 2,
3 has communication disconnection detecting means 21 and 31, respectively. The communication disconnection detecting means 21 and 31 detect that the communication command from the upper device 1 has been interrupted for a certain period of time.

【0004】このような装置の動作を以下に説明する。
通信断検出手段21,31は、上位側機器1からの通信
コマンドを監視し、一定時間、通信コマンドが途絶えた
ことを検出する。この検出結果により、下位側機器2,
3は、他方の下位側機器3,2に、切替信号により切り
替えを要求し、自身を故障として動作を停止し、他方の
下位側機器3,2が、通信動作を開始する。
[0004] The operation of such a device will be described below.
The communication disconnection detecting units 21 and 31 monitor communication commands from the upper device 1 and detect that the communication commands have been interrupted for a certain period of time. The lower device 2,
3 requests the other lower-side devices 3 and 2 to switch by a switching signal, stops the operation of itself as a failure, and the other lower-side devices 3 and 2 start a communication operation.

【0005】[0005]

【発明が解決しようとする課題】このような装置では、
通信断検出手段21,31により、通信異常の監視を行
っていたとしても、下位側機器2,3の故障か上位側の
故障(通信ラインLの断線、または上位側機器1の故
障)かを判定することができない。
In such a device,
Even if the communication failure is monitored by the communication disconnection detecting means 21 and 31, it is determined whether the lower device 2 or 3 has failed or the upper device has failed (the communication line L has been disconnected or the upper device 1 has failed). Cannot be determined.

【0006】このような場合、上位側の故障のときは、
下位側機器2,3が同時に動作を停止し、切り替わり要
求を出し続けてしまう。
In such a case, in the case of a failure on the upper side,
The lower-side devices 2 and 3 stop operating at the same time, and keep issuing switching requests.

【0007】また、下位側機器2,3がアナログ出力を
する場合、切り替わり時はどうしてもトランジェントな
出力になってしまうので、上位側の故障で、下位側機器
2,3が切り替わることを防止したいが、防止できない
という問題点があった。
Further, when the lower devices 2 and 3 perform analog output, a transient output is inevitably generated at the time of switching. Therefore, it is desired to prevent the lower devices 2 and 3 from switching due to an upper fault. There was a problem that it could not be prevented.

【0008】そして、点検等のため、上位側機器1を外
した場合、下位側機器2,3が切り替わるという不要な
切り替え防止ができなかった。
[0008] When the upper device 1 is removed for inspection or the like, it is not possible to prevent unnecessary switching such that the lower devices 2 and 3 are switched.

【0009】そこで、本発明の目的は、二重化通信機器
の故障のみを検出する故障検出装置を実現することにあ
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a failure detecting device that detects only a failure of a duplex communication device.

【0010】[0010]

【課題を解決するための手段】本発明は、相手機器と通
信を行う二重化通信機器に設けられる故障検出装置にお
いて、前記相手機器からの通信コマンドが通信断検出時
間途絶えたことを検出する通信断検出手段と、この通信
断検出手段の検出により、前記二重化通信機器の他方に
通信不能を通知する状態通知手段と、前記通信断検出手
段の通信断検出から故障判定時間経過後、前記二重化通
信機器の他方が通信不能のとき、前記相手機器側の故障
と判定し、他方が通信可能のとき、自通信機器の故障と
判定する故障判定手段とを有することを特徴とするもの
である。
According to the present invention, there is provided a failure detecting apparatus provided in a duplex communication device for communicating with a partner device, wherein the communication disconnection detecting that the communication command from the partner device has lost the communication disconnection detection time. Detecting means, state notifying means for notifying the other of the redundant communication devices that communication is impossible by detecting the communication disconnection detecting means, and after the failure determination time elapses from the communication disconnection detection of the communication disconnection detecting means, the duplex communication device And a failure determination unit that determines that the other device is out of order when the other device is not communicable, and determines that the other device is out of service when the other device is communicable.

【0011】このような本発明では、通信断検出手段
が、通信コマンドが通信断検出時間途絶えたことを検出
する。この検出により、状態通知手段が、二重化通信機
器の他方に通信不能を通知する。そして、故障判定手段
が、通信断検出から故障判定時間経過後、二重化通信機
器の他方の状態により、相手通信機器側の故障か、自通
信機器の故障かを判定する。
According to the present invention, the communication disconnection detecting means detects that the communication command has been interrupted during the communication disconnection detection time. By this detection, the status notification means notifies the other of the redundant communication devices that communication is impossible. Then, after the failure determination time elapses from the detection of the communication disconnection, the failure determination means determines whether the other communication device has a failure or its own communication device based on the other state of the duplex communication device.

【0012】[0012]

【発明の実施の形態】以下図面を用いて本発明を説明す
る。図1は本発明の一実施例を示した構成図である。図
において、上位側機器1は相手機器で、通信ラインLを
介して、下位側機器2,3と通信を行っている。下位側
機器2,3は、二重化通信機器を構成し、一方の機器が
故障したら、他方の機器に切り替わる。そして、下位側
機器2,3は、それぞれ通信断検出手段21,31と状
態通知手段22,32と故障判定手段23,33とを有
する。通信断検出手段21,31,状態通知手段22,
32,故障判定手段23,33は、故障検出装置を構成
し、これらは、一般的に、プログラムで作成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing one embodiment of the present invention. In the figure, an upper device 1 is a partner device and communicates with lower devices 2 and 3 via a communication line L. The lower devices 2 and 3 constitute a duplex communication device, and if one device fails, the lower device 2 or 3 switches to the other device. The lower-level devices 2 and 3 have communication disconnection detecting units 21 and 31, status notifying units 22 and 32, and failure determining units 23 and 33, respectively. Communication disconnection detecting means 21 and 31, state notifying means 22,
32 and the failure determination means 23 and 33 constitute a failure detection device, and these are generally created by a program.

【0013】通信断検出手段21,31は、上位側機器
1からの通信コマンドが通信断検出時間Ta途絶えたこ
とを検出する。状態通知手段22,32は、通信断検出
手段21,31の検出により、それぞれ下位側機器3,
2に通信不能を通知する。故障判定手段23,33は、
それぞれ通信断検出手段21の通信断検出から故障判定
時間Tb経過後、他方の下位側機器3,2が通信不能の
とき、上位側故障と判定し、他方の下位側機器3,2が
通信可能のとき、自下位側機器2,3の故障と判定す
る。ここで、例えば、故障判定時間Tb=(上位側機器
1からの下位側機器2,3への順番に通信する通信コマ
ンド間隔)+(通信断時間Taの時間カウントの誤差時
間)とする。
The communication disconnection detecting means 21 and 31 detect that the communication command from the upper device 1 has been interrupted for the communication disconnection detection time Ta. The status notifying means 22 and 32 detect the communication disconnection detecting means 21 and 31, respectively,
Notify 2 that communication is not possible. The failure determination means 23, 33
After the failure determination time Tb elapses after the communication disconnection detection unit 21 detects the communication disconnection, when the other lower-side devices 3 and 2 cannot communicate, it determines that the upper-side device has failed and the other lower-side devices 3 and 2 can communicate. At this time, it is determined that the local lower-side devices 2 and 3 are out of order. Here, for example, the failure determination time Tb = (interval communication command interval from the higher-level device 1 to the lower-level devices 2 and 3) + (error time of the time count of the communication disconnection time Ta).

【0014】このような装置の動作を以下で説明する。
図2は図1の装置の動作を説明する図である。図におい
て、左側が下位側機器2の状態を示し、右側が下位側機
器3の状態を示す。
The operation of such a device is described below.
FIG. 2 is a diagram for explaining the operation of the device of FIG. In the figure, the left side shows the state of the lower device 2, and the right side shows the state of the lower device 3.

【0015】ここで、始め、下位側機器2がサービス
で、下位側機器3がスタンバイとする。正常動作時、下
位側機器2,3の状態通知手段22,32は、通信可能
状態であるCOMRDY(COMUNICASION READY)信号
(ハイレベル)を出力する(S1)。
At first, it is assumed that the lower device 2 is a service and the lower device 3 is on standby. During normal operation, the status notification means 22, 32 of the lower-level devices 2, 3 output a COMRDY (COMUNICASION READY) signal (high level) in a communicable state (S1).

【0016】そして、下位側機器2の通信断検出手段2
2が、上位側機器1からの通信コマンドが通信断検出時
間Ta途絶えると、通信不能状態である!COMRDY
信号(ロウレベル)を出力する。このとき、下位側機器
2,3は状態が変わらず、それぞれ、下位側機器2はサ
ービスで、下位側機器3がスタンバイとなる(S2)。
The communication disconnection detecting means 2 of the lower device 2
2 is in a communication disabled state when the communication command from the upper device 1 is interrupted by the communication disconnection detection time Ta! COMDY
Outputs a signal (low level). At this time, the states of the lower-side devices 2 and 3 do not change, and the lower-side device 2 is in service and the lower-side device 3 is on standby (S2).

【0017】故障判定手段23が、故障判定時間Tbが
経過して、下位側機器3の状態通知手段32からの信号
が、COMRDY信号ならば、下位側機器2の故障と判
定する。これにより、下位側機器2は、フェイルとな
り、下位側機器3に切替信号を送り、下位側機器3は、
サービスとなる(S3)。
If the failure determination time Tb has elapsed and the signal from the status notification means 32 of the lower device 3 is a COMRDY signal, the failure determination device 23 determines that the lower device 2 has failed. As a result, the lower device 2 fails and sends a switching signal to the lower device 3, and the lower device 3
It becomes a service (S3).

【0018】また、故障判定手段23が、故障判定時間
Tbが経過して、下位側機器3の状態通知手段32から
の信号が、!COMRDY信号ならば、上位側故障と判
定する。これにより、下位側機器2,3は状態を変化さ
せない。つまり、下位側機器2はサービスで、下位側機
器3はスタンバイである(S4)。
When the failure determination time Tb elapses, the failure determination means 23 outputs a signal from the state notification means 32 of the lower device 3 to! If the signal is a COMRDY signal, it is determined that an upper failure has occurred. Thus, the lower-side devices 2 and 3 do not change the state. That is, the lower device 2 is a service, and the lower device 3 is on standby (S4).

【0019】また、正常状態(S1)から、下位側機器
3の通信断検出手段32が、上位側機器1からの通信コ
マンドが通信断検出時間Ta途絶えると、通信不能状態
である!COMRDY信号(ロウレベル)を出力する。
このとき、下位側機器2,3は状態が変わらず、それぞ
れ、下位側機器2はサービスで、下位側機器3がスタン
バイとなる(S5)。
Also, from the normal state (S1), when the communication disconnection detecting means 32 of the lower device 3 loses the communication disconnection detection time Ta from the upper device 1, the communication is disabled! Outputs COMRDY signal (low level).
At this time, the state of the lower-side devices 2 and 3 does not change, and the lower-side device 2 is in service and the lower-side device 3 is in standby (S5).

【0020】故障判定手段33が、故障判定時間Tbが
経過して、下位側機器2の状態通知手段22からの信号
が、COMRDY信号ならば、故障と判定する。これに
より、下位側機器3は、フェイルとなり、下位側機器2
は、サービスのままである(S6)。
The failure determination means 33 determines that a failure has occurred if the failure determination time Tb has elapsed and the signal from the state notification means 22 of the lower device 2 is a COMRDY signal. As a result, the lower device 3 fails, and the lower device 2
Remains a service (S6).

【0021】また、故障判定手段33が、故障判定時間
Tbが経過して、下位側機器2の状態通知手段22から
の信号が、!COMRDY信号ならば、上位側故障と判
定する。これにより、下位側機器2,3は状態を変化さ
せない。つまり、下位側機器2はサービスで、下位側機
器3はスタンバイである(S4)。
Further, when the failure determination time Tb elapses, the failure determination means 33 outputs a signal from the state notification means 22 of the lower device 2 to! If the signal is a COMRDY signal, it is determined that an upper failure has occurred. Thus, the lower-side devices 2 and 3 do not change the state. That is, the lower device 2 is a service, and the lower device 3 is on standby (S4).

【0022】このように、状態通知手段22,32によ
り、他方の通信状態が通知され、この通知と自身の通信
状態とにより、故障判定手段23,33が、自下位側機
器2,3の故障か、上位側の故障かを判定するので、自
下位側機器2,3の故障の場合のみ、自下位側機器2,
3を故障とすることができる。つまり、下位側機器2,
3を切り替えなければならないときだけ、切り替わり、
不要な切り替え動作がなくなる。
As described above, the other communication states are notified by the state notification means 22 and 32, and the failure determination means 23 and 33 determine the failure of the lower-level devices 2 and 3 based on this notification and their own communication states. It is determined whether the failure is in the upper-level device or in the upper-level device.
3 can be a failure. That is, the lower device 2,
Switch only when you have to switch 3,
Unnecessary switching operation is eliminated.

【0023】なお、本発明はこれに限定されるものでは
なく、上位側機器1を二重化して同様に、構成してもよ
い。つまり、上位側機器1が二重化通信機器となり、下
位側機器2,3が相手機器となる。
The present invention is not limited to this, and the higher-level device 1 may be duplicated and similarly configured. That is, the upper device 1 is a duplex communication device, and the lower devices 2 and 3 are partner devices.

【0024】[0024]

【発明の効果】本発明によれば、以下のような効果があ
る。状態通知手段により、二重化通信機器の他方の通信
状態が通知され、この通知と自身の通信状態とにより、
故障判定手段が、自通信機器の故障か、相手機器側の故
障かを判定するので、自通信機器の故障の場合のみ、二
重化通信機器の他方へ切り替えを行うことができる。つ
まり、二重化通信機器の切り替えを行わなければならな
いときだけ切り替わり、不要な切り替え動作がなくな
る。
According to the present invention, the following effects can be obtained. The other communication state of the duplex communication device is notified by the state notification unit, and by this notification and its own communication state,
Since the failure determination means determines whether the failure is in the own communication device or the failure in the partner device, it is possible to switch to the other duplex communication device only in the case of the failure in the own communication device. In other words, switching is performed only when switching of the redundant communication device is required, and unnecessary switching operation is eliminated.

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

【図1】本発明の一実施例を示した構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】図1の装置の動作を説明する図である。FIG. 2 is a diagram for explaining the operation of the device of FIG. 1;

【図3】従来の故障判定装置を示した構成図である。FIG. 3 is a configuration diagram showing a conventional failure determination device.

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

1 上位側機器 2,3 下位側機器 21,31 通信断検出手段 22,32 状態通知手段 23,33 故障判定手段 DESCRIPTION OF SYMBOLS 1 Upper device 2, 3 Lower device 21, 31 Communication disconnection detection means 22, 32 Status notification means 23, 33 Failure determination means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 相手機器と通信を行う二重化通信機器に
設けられる故障検出装置において、 前記相手機器からの通信コマンドが通信断検出時間途絶
えたことを検出する通信断検出手段と、 この通信断検出手段の検出により、前記二重化通信機器
の他方に通信不能を通知する状態通知手段と、 前記通信断検出手段の通信断検出から故障判定時間経過
後、前記二重化通信機器の他方が通信不能のとき、前記
相手機器側の故障と判定し、他方が通信可能のとき、自
通信機器の故障と判定する故障判定手段とを有すること
を特徴とする故障検出装置。
1. A failure detection device provided in a duplex communication device that communicates with a counterpart device, comprising: a communication disconnection detection unit configured to detect that a communication command from the counterpart device has lost communication disconnection detection time; By means of the detection, state notification means for notifying the other of the redundant communication devices that communication is impossible, and after the failure determination time elapses from the communication disconnection detection of the communication disconnection detection means, when the other of the redundant communication equipment is unable to communicate, A failure detection device comprising: a failure determination unit that determines that the other device has failed and determines that the own communication device has failed when the other device is communicable.
JP10157161A 1998-06-05 1998-06-05 Failure detector Pending JPH11353293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10157161A JPH11353293A (en) 1998-06-05 1998-06-05 Failure detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10157161A JPH11353293A (en) 1998-06-05 1998-06-05 Failure detector

Publications (1)

Publication Number Publication Date
JPH11353293A true JPH11353293A (en) 1999-12-24

Family

ID=15643528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10157161A Pending JPH11353293A (en) 1998-06-05 1998-06-05 Failure detector

Country Status (1)

Country Link
JP (1) JPH11353293A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012243249A (en) * 2011-05-24 2012-12-10 Toshiba Mitsubishi-Electric Industrial System Corp Duplex control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012243249A (en) * 2011-05-24 2012-12-10 Toshiba Mitsubishi-Electric Industrial System Corp Duplex control system

Similar Documents

Publication Publication Date Title
JP2007285969A (en) Switch fault detection circuit
JPH0778039A (en) Clock selection control system
US8831912B2 (en) Checking of functions of a control system having components
JPH11353293A (en) Failure detector
JP2626484B2 (en) System switching test method
JP2019079288A (en) Reception panel
JP3528825B2 (en) Redundant line switching device and redundant line switching system
KR100394736B1 (en) Method And Apparatus For Fail Recovery And Board Selecting In Dual System
JP3107104B2 (en) Standby redundancy method
JP2002319927A (en) Transmission line switching device and transmission system
JPS5920056A (en) Setting system of unit in use in duplicated constituting device
JPS61169036A (en) System supervisory device
JPS62206602A (en) Controller containing multiplexed detector
JPH03145249A (en) Monitor control system for duplex system
JPH10262098A (en) Line protection system
JP2677200B2 (en) Normal system immediate selection circuit
KR200270668Y1 (en) A duplicated device with be reflected of controller state
JPH03105631A (en) Duplex switching control system
JP2001298459A (en) System changeover device
JPH09325811A (en) Duplex redundant system and diagnostic method
JPS62140155A (en) Automatic switching circuit for data bus of device
JPH0695903A (en) Fault resisting computer system
JPH0879281A (en) Diagnostic system for bus fault
JPH0294748A (en) Automatic diagnostic system
JPH0512595A (en) Communication equipment for elevator