JPH02223248A - Data bus terminal equipment of command response system - Google Patents

Data bus terminal equipment of command response system

Info

Publication number
JPH02223248A
JPH02223248A JP1011056A JP1105689A JPH02223248A JP H02223248 A JPH02223248 A JP H02223248A JP 1011056 A JP1011056 A JP 1011056A JP 1105689 A JP1105689 A JP 1105689A JP H02223248 A JPH02223248 A JP H02223248A
Authority
JP
Japan
Prior art keywords
bus
data bus
data
terminal device
time
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
JP1011056A
Other languages
Japanese (ja)
Other versions
JPH0728295B2 (en
Inventor
Hideaki Matsuzawa
松澤 英明
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
NEC 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 NEC Corp filed Critical NEC Corp
Publication of JPH02223248A publication Critical patent/JPH02223248A/en
Publication of JPH0728295B2 publication Critical patent/JPH0728295B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To detect a fault in a short time by detecting a bus silent state where no command or data, etc., exists on a data bus line, and generating interruption when the bus silent state continues exceeding prescribed time due to the fault of a bus controller. CONSTITUTION:A bus silent detection circuit 12 detects the bus silent state of the data bus line 5 i.e., a state where no command, etc., exists on the data bus line 5. And a time-out detection circuit 13 generates a time-out signal by measuring the continuous time of a detected bus silent state when the time continues exceeding the prescribed time, and an interruption generation circuit 14 generates the interruption when the time-out signal is outputted. In such a way, the fault of the bus controller can be quickly detected without complicating the program of data bus terminal equipment.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータバス端末装置に関し、特に複数のデータ
バス端末装置と少なくとも1個のバス制御装置とがデー
タバスラインを介して相互に接続され、これらデータバ
ス端末装置間およびデータバス端末装置とバス制御装置
間の全てのデータ転送を、バス制御装置から送出するコ
マンドによって起動するコマンド・レスポンス方式にお
けるデータバス端末装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data bus terminal device, and particularly to a data bus terminal device in which a plurality of data bus terminal devices and at least one bus control device are interconnected via a data bus line. , relates to a data bus terminal device using a command-response method in which all data transfers between these data bus terminal devices and between a data bus terminal device and a bus control device are started by a command sent from a bus control device.

〔従来の技術〕[Conventional technology]

従来、コマンド・レスポンス方式のデータバス端末装置
は、MIL−5TD−1553Bとして規格化され航空
機用のデータバスなど高い信頼性の要求されるシステム
に使用されていることは、良く知られている。コマンド
・レスポンス方式のデータバスでは、全てのデータ転送
が、バス制御装置から送出されるコマンドによって起動
され、データバス端末装置はそのコマンドに対するレス
ポンス、すなわちデータの送受信とステータスの送信を
行う、従って、バス制御装置の故障はシステムダウンを
招来するため、バス制御装置に故障が発生した場合、そ
れを速やかに検出し、それをバックアップすることが重
要となる。この為、従来においては、データバス端末装
置の主たる制御を司るマイクロプロセッサのプログラム
によってバス制御装置から自局宛に送出されるコマンド
の送出間隔をモニタし、成る時間を超えても自局宛のコ
マンドが送出されてこないときに、バス制御装置に故障
が発生したものとして検出していた。
It is well known that conventional command-response type data bus terminal devices have been standardized as MIL-5TD-1553B and are used in systems that require high reliability, such as aircraft data buses. In a command-response type data bus, all data transfer is initiated by a command sent from the bus control device, and the data bus terminal device responds to the command, that is, sends and receives data and sends status. A failure in a bus control device causes a system failure, so when a failure occurs in a bus control device, it is important to promptly detect it and back it up. For this reason, conventionally, the microprocessor program that controls the main control of the data bus terminal device monitors the sending interval of commands sent from the bus control device to the local station, and even if the interval exceeds the specified time, the commands sent to the local station are When no commands were sent, it was detected that a failure had occurred in the bus control device.

そして、故障を検出したデータバス端末装置が、故障し
たバス制御装置に代わって新たなバス制御装置として機
能することにより、システムダウンを防止していた。
The data bus terminal device that detected the failure functions as a new bus control device in place of the failed bus control device, thereby preventing system down.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述のように従来のデータバス端末装置においてもバス
制御装置の故障の検出およびそのバックアップが可能で
あるが、次のような問題があった。
As described above, the conventional data bus terminal device is also capable of detecting a failure of the bus control device and backing up the failure, but it has the following problems.

(1)バス制御装置の故障を検出するためには、データ
バス端末装置のマイクロプロセッサのプログラムによっ
て、バス制御装置が送信したコマンドを、その受信毎に
チエツクし、次のコマンドまでの時間を計測する為の処
理を行い、更にタイムアウトの判定処理を行わなければ
ならず、マイクロプロセッサが実行すべきプログラムが
複雑になり、マイクロプロセッサの負荷が増大する。
(1) In order to detect a failure in the bus control device, the microprocessor program of the data bus terminal device checks the command sent by the bus control device each time it is received, and measures the time until the next command. Therefore, the program to be executed by the microprocessor becomes complicated and the load on the microprocessor increases.

<2)  受(iコマンドのモニタによる故障検出では
、自局へのコマンドの送出間隔がデータ転送スケジュー
ル変更などによって変動し得ること、データバス端末装
置が多く接続されている場合には自局へのコマンドの送
出間隔が長くなることを考慮して、タイムアウト設定時
間を長くする必要があり、バス制御装置が故障してから
データバス端末装置でそれが検出されるまでの時間遅れ
が大きくなり、速やかなバックアップが困難になる。
<2) When detecting failures by monitoring i-commands, it is important to note that the interval at which commands are sent to the own station may change due to changes in the data transfer schedule, etc., and that when many data bus terminal devices are connected, In consideration of the longer command sending interval, it is necessary to increase the timeout setting time, which increases the time delay between when the bus controller fails and when it is detected by the data bus terminal equipment. Prompt backup becomes difficult.

本発明はこのような事情に鑑みてなされたものであり、
その目的は、データバス端末装置のプログラムを複雑に
することなく、バス制御装置の故障を速やかに検出し得
るデータバス端末装置を提供することにある。
The present invention was made in view of these circumstances, and
The purpose is to provide a data bus terminal device that can quickly detect a failure in a bus control device without complicating the program of the data bus terminal device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のコマンド・レスポンス方式データバス端末装置
は、上記の目的を達成するために、データバスラインの
バスサイレント状態を検出するバスサイレント検出回路
と、このバスサイレント検出回路で検出されたバスサイ
レント状態の継続時間を計測し、予め定められた時間以
上バスサイレント状態が継続したとき、タイムアウト信
号を発生するタイムアウト検出回路と、このタイムアウ
ト検出回路からタイムアウト信号が出力されたとき割り
込みを発生させる割り込み発生回路とを有している。
In order to achieve the above object, the command-response type data bus terminal device of the present invention includes a bus silent detection circuit that detects a bus silent state of a data bus line, and a bus silent state detected by this bus silent detection circuit. A timeout detection circuit that measures the duration of the bus and generates a timeout signal when the bus remains silent for a predetermined period of time, and an interrupt generation circuit that generates an interrupt when the timeout signal is output from the timeout detection circuit. It has

〔作用〕[Effect]

本発明のコマンド・レスポンス方式データバス端末装置
においては、バスサイレント検出回路が、データバスラ
インのバスサイレント状態すなわちデータバスラインに
コマンド等が存在しない状態を検出し、タイムアウト検
出回路が、その検出されたバスサイレント状態の継続時
間を計測して予め定められた時間以上継続したときにタ
イムアウト信号を発生し、このタイムアウト信号の出力
時に割り込み発生回路が割り込みを発生させる。
In the command-response type data bus terminal device of the present invention, the bus silent detection circuit detects the bus silent state of the data bus line, that is, the state where no command etc. is present on the data bus line, and the timeout detection circuit detects the bus silent state of the data bus line, and the timeout detection circuit detects the bus silent state of the data bus line. A timeout signal is generated when the duration of the bus silent state continues for a predetermined time or more, and an interrupt generation circuit generates an interrupt when the timeout signal is output.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して詳細に説
明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、双方向
性のデータバスライン5に複数台のデータバス端末装置
1,2.3と1台のバス制御装置4とを接続したシステ
ムを示す、このシステムにおいて、バス制御装置4が正
常な場合、バス制御装置4から所定のデータ転送スケジ
ュールにより各データバス端末装置1〜3にデータバス
ライン5を経由してコマンドが送出され、各データバス
端末装置1〜3はそのコマンドに対するレスポンスとし
てデータの送受信やステータスの送信を行っている。従
って、バス制御装置4が正常なうちは、データバスライ
ン5上にコマンド、データ、ステータス等が頻繁に現れ
、成る時間以上継続してそれらが全く出現しないという
バスサイレント状態が生じることはない0本発明はこの
ようなバスサイレント状態に着目してバス制御装置4の
故障検出を行うものである。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a bidirectional data bus line 5 is connected to a plurality of data bus terminal devices 1, 2.3 and one bus control device 4. In this system, when the bus control device 4 is normal, commands are sent from the bus control device 4 to each data bus terminal device 1 to 3 via the data bus line 5 according to a predetermined data transfer schedule. The data bus terminal devices 1 to 3 send and receive data and send status in response to the command. Therefore, as long as the bus control device 4 is normal, a bus silent state in which commands, data, status, etc. frequently appear on the data bus line 5 and no commands, data, status, etc. appear for a continuous period of time does not occur. The present invention detects a failure in the bus control device 4 by paying attention to such a bus silent state.

次に、バス制御装置4の故障検出および故障検出時のバ
ックアップを行うデータバス端末装置1の構成および動
作について説明する。
Next, the configuration and operation of the data bus terminal device 1 that detects a failure in the bus control device 4 and performs backup when a failure is detected will be described.

データバス端末装置lは、データバスライン5を直接駆
動したりデータバスライン5上の信号を検出するライン
トライバレシーバ回路10と、データバスプロトコルに
従ってデータを送受信するデータ送受信回路11と、バ
スサイレント検出回路12と、タイムアウト検出回路1
3と、割り込み発生回路14と、図示しないマイクロプ
ロセッサとを有している。このマイクロプロセッサはデ
ータバス端末装置1がデータバス端末装置として機能す
る為に必要なプログラムの他に、故障したバス制御装置
4に代わってバス制御装置として機能するように制御す
る第1図のデータバス制i1Jプログラム15を実行す
る。
The data bus terminal device l includes a line receiver receiver circuit 10 that directly drives the data bus line 5 or detects a signal on the data bus line 5, a data transmitting/receiving circuit 11 that transmits and receives data according to the data bus protocol, and a bus silent Detection circuit 12 and timeout detection circuit 1
3, an interrupt generation circuit 14, and a microprocessor (not shown). In addition to the programs necessary for the data bus terminal device 1 to function as a data bus terminal device, this microprocessor uses the data shown in FIG. The bus system i1J program 15 is executed.

バスサイレント検出回路12は、データバスライン5上
にコマンド、データ、ステータス等の何れもが現れてい
ないバスサイレント状態を検出し、バスサイレント状態
中、バスサイレント信号S1を例えば論理″1”にする
回路である。
The bus silent detection circuit 12 detects a bus silent state in which no command, data, status, etc. appear on the data bus line 5, and sets the bus silent signal S1 to, for example, logic "1" during the bus silent state. It is a circuit.

タイムアウト検出回路13は、バスサイレント信号S1
が論理“0”から論理“1”に変化した時点から計時を
開始してバスサイレント信号Slが論理“1”になって
いる継続時間を計測し、所定時間以上論理“1”が継続
すると、タイムアウト信号S2を例えば論理“1“とす
る回路である。
The timeout detection circuit 13 receives the bus silent signal S1.
Timing is started from the time when the bus silent signal Sl changes from logic "0" to logic "1", and the duration of the bus silent signal Sl being logic "1" is measured, and when logic "1" continues for a predetermined time or more, This circuit sets the timeout signal S2 to logic "1", for example.

ここで、上記の所定時間は、バス制御装置4が正常なと
きデータバスライン5に現れることがないバスサイレン
ト状態継続時間の最低時間に見合った時間に設定されて
いる。従って、バス制御装置4が故障した場合、タイム
アウト検出回路13からのタイムアウト信号S2が論理
“1″になるものである。
Here, the above-mentioned predetermined time is set to a time commensurate with the minimum duration of the bus silent state that does not appear on the data bus line 5 when the bus control device 4 is normal. Therefore, if the bus control device 4 fails, the timeout signal S2 from the timeout detection circuit 13 becomes logic "1".

割り込み発生回路14は、タイムアウト信号S2を入力
とし、それが論理″1″になるとその状態をラッチし、
割り込み信号S3を発生する回路である。この割り込み
信号S3によって図示しないマイクロプロセッサに割り
込みが発生し、データバス制御プログラム15が起動さ
れる。なお、割り込み発生回路14はその後割り込みリ
セット信号S9によってリセットされる。
The interrupt generation circuit 14 receives the timeout signal S2 as an input, and latches the state when it becomes logic "1".
This is a circuit that generates an interrupt signal S3. This interrupt signal S3 generates an interrupt in a microprocessor (not shown), and the data bus control program 15 is activated. Note that the interrupt generation circuit 14 is then reset by an interrupt reset signal S9.

データバス制御プログラム15は起動されると、当該デ
ータバス端末装置1をバス制御装置として機能させる。
When started, the data bus control program 15 causes the data bus terminal device 1 to function as a bus control device.

バス制御装置として送信するコマンドワードおよびデー
タワードは、送信データS6としてデータ送受信回路1
1へ送られ、それに応じてデータ送受信回路11が出力
する送信信号S5は、ライントライバレシーバ回路10
を介してデータバスライン5上に送出される。また、他
のデータバス端末装置2,3がデータバスライン5上に
送信したステータスワードおよびデータワードは、ライ
ントライバレシーバ回路lOを介して受信信号S4とし
て入力され、データ送受信回路11にてプロトコルに従
って受信される。この受信゛データS7は、データバス
制御プログラム15によって読み出され、データバスシ
ステムの制御の目的で、データバス制御プログラム15
は受信データのチエツクを行う、またデータバス制御プ
ログラム15は、制御信号S8によりデータ送受信回路
11の動作を制御する。
The command word and data word transmitted by the bus control device are transmitted to the data transmitting/receiving circuit 1 as transmission data S6.
1, and the data transmitting/receiving circuit 11 outputs the transmission signal S5 accordingly.
is sent out onto the data bus line 5 via the data bus line 5. In addition, the status word and data word transmitted on the data bus line 5 by the other data bus terminal devices 2 and 3 are inputted as a reception signal S4 via the line receiver receiver circuit IO, and are sent to the data transmission/reception circuit 11 according to the protocol. Received according to. This received data S7 is read out by the data bus control program 15, and is sent to the data bus control program 15 for the purpose of controlling the data bus system.
checks the received data, and the data bus control program 15 controls the operation of the data transmitting/receiving circuit 11 using a control signal S8.

以上のようにして、バス制御装置4に故障が発生すると
、それがデータバス端末装置1で検出され、データバス
端末装置1がバス制御装置4に代わってバス制御装置と
して機能し、システムの動作が継続される。
As described above, when a failure occurs in the bus control device 4, it is detected by the data bus terminal device 1, and the data bus terminal device 1 functions as a bus control device instead of the bus control device 4, and the system operates. will continue.

本実施例では、バスサイレント検出回路12の入力とし
て、データバスライン5を使用したが、データバスライ
ン5の代わりにライントライバレシーバ回路10から出
される受信信号S4をバスサイレント検出回路12に入
力し、バスサイレント状態の検出を行わせることもでき
る。受信信号S4にはデータバスライン5上と同じ信号
が現れる為、これによってもバス制御装置4の故障を上
記の実施例と同様に速やかに検出することが可能である
。同様の変形は次に述べる実施例にも施すことが可能で
ある。
In this embodiment, the data bus line 5 is used as an input to the bus silent detection circuit 12, but instead of the data bus line 5, the received signal S4 output from the line receiver receiver circuit 10 is input to the bus silent detection circuit 12. However, it is also possible to detect the bus silent state. Since the same signal as that on the data bus line 5 appears in the received signal S4, it is possible to quickly detect a failure in the bus control device 4 as in the above embodiment. Similar modifications can be made to the embodiments described below.

第2図は本発明の別の実施例のブロック図であり、第1
図と同一符号は同一部分を示し、100゜200.30
0,400はデータバス端末装置、130はタイムアウ
ト検出回路、131は固有時間設定回路である0本実施
例は、複数のデータバス端末装置100,200,30
0,400の各々にバスterm装置としての機能を持
たせ、システムの稼働中はその内の1個のデータバス端
末装置のみをバス制御装置として機能させると共に、他
のデータバス端末装置において、バス制御装置として機
能するデータバス端末装置の故障の検出を行い、最も早
くその故障を検出した1個のデータバス端末装置が新た
なバス制御装置として機能するようにしたものである。
FIG. 2 is a block diagram of another embodiment of the present invention;
The same numbers as in the figure indicate the same parts, 100°200.30
0,400 is a data bus terminal device, 130 is a timeout detection circuit, and 131 is a unique time setting circuit.0 This embodiment includes a plurality of data bus terminal devices 100, 200, 30.
Each of the 0 and 400 data bus terminals has a function as a bus term device, and while the system is in operation, only one of the data bus terminal devices functions as a bus control device. A failure of a data bus terminal device functioning as a control device is detected, and one data bus terminal device that detects the failure earliest functions as a new bus control device.

今、データバス端末装置400がバス制御装置として正
常に機能している場合、データバス端末装置400から
所定のデータ転送スケジュールにより他のデータバス端
末装置100,200,300にデータバスライン5を
経由してコマンドが送出され、各データバス端末装置1
00,200,300はそのコマンドに対するレスポン
スとしてデータの送受信やステータスの送信を行ってい
る。従って、データバス端末装置400が正常なうちは
、データパスライン5上にコマンド、データ、ステータ
ス等が頻繁に現れ、成る時間以上継続してそれらが全く
出現しないというバスサイレント状態が生じることはな
い0本実施例はこのようなバスサイレント状態に着目し
て現にバス制御装置として機能しているデータバス端末
袋2400の故障検出を、残りのデータバス端末装置1
1F100,200,300で行うものである。
Now, when the data bus terminal device 400 is functioning normally as a bus control device, the data bus terminal device 400 is transferred to other data bus terminal devices 100, 200, 300 via the data bus line 5 according to a predetermined data transfer schedule. A command is sent to each data bus terminal device 1.
00, 200, and 300 send and receive data and send status as a response to the command. Therefore, as long as the data bus terminal device 400 is normal, a bus silent state in which commands, data, status, etc. frequently appear on the data path line 5 and none of them appear for a continuous period of time will not occur. 0 This embodiment focuses on such a bus silent state and detects a failure in the data bus terminal bag 2400 that is currently functioning as a bus control device.
This is done at 1F 100, 200, and 300.

各データバス端末装置の内部構成は、データバス端末装
置100に例示する如く、すべて同じ構成になっている
。第1図に示した実施例と相違するところは、各データ
バス端末装置には、自装置に固有の特定の時間を設定す
る固有時間設定回路131が設けられ、タイムアウト検
出回路130はバスサイレント信号S1が論理“1″に
なっている継続時間すなわちデータバスライン5のバス
サイレント状態の継続時間が固有時間設定回路131に
設定された固有時間以上に達したとき、タイムアウト信
号S2を論理“1”にして割り込み発生回路14にてデ
ータバス制御プログラム15に割り込みを発生させるよ
うにした点にある。そして、各データバス端末装置の固
有時間設定回路(131)に設定する固有時間には差を
持たせている。今、データバス端末装置100,200
゜300.400に設定された固有時間をそれぞれTI
、T2.T3.T4とし、TI<72<73<T4の関
係にあるとすると、バス制御装置として機能しているデ
ータバス端末装置1F400が故障した場合、固有時間
の最も短いデータバス端末袋ziooが最初にその故障
を検出して新たなバス制御装置として機能することにな
る。また、バス制御装置として機能したデータバス端末
装置100が故障した場合には、次に固有時間の短いデ
ータバス端末装置200が最初にその故障を検出して新
たなバス制御装置として機能することになる。
The internal configuration of each data bus terminal device is the same as illustrated in data bus terminal device 100. The difference from the embodiment shown in FIG. 1 is that each data bus terminal device is provided with a unique time setting circuit 131 that sets a specific time unique to the data bus terminal device, and a timeout detection circuit 130 is provided with a bus silent signal. When the duration of time that S1 is at logic "1", that is, the duration of the bus silent state of data bus line 5, reaches the specific time set in the specific time setting circuit 131 or more, the timeout signal S2 is set to logic "1". The feature is that the interrupt generating circuit 14 generates an interrupt to the data bus control program 15. The unique times set in the unique time setting circuits (131) of each data bus terminal device are different. Now, data bus terminal equipment 100,200
TI each characteristic time set to ゜300.400
, T2. T3. Assuming T4 and the relationship TI<72<73<T4, if the data bus terminal device 1F400 functioning as a bus control device fails, the data bus terminal bag zioo with the shortest characteristic time will first respond to the failure. It will function as a new bus control device. Furthermore, if the data bus terminal device 100 that functions as a bus control device fails, the data bus terminal device 200 with the next shortest characteristic time will be the first to detect the failure and function as a new bus control device. Become.

なお、データバス端末装置に設定される固有時間の内の
最小時間は、バス制御装置として機能するデータバス端
末装置が正常なときデータバスライン5に現れることが
ないバスサイレント状態継続時間の最低時間に見合った
時間に設定されていることは勿論のことである。
Note that the minimum time among the unique times set in the data bus terminal device is the minimum time of the bus silent state duration that does not appear on the data bus line 5 when the data bus terminal device functioning as a bus control device is normal. Needless to say, the time should be set to be appropriate.

一般に、この種のシステムでは同時に複数のデータバス
端末装置がバス制御装置として動作することは許されな
い、これを保証する方式として、バス制御装置として機
能する権利を現にバス制御装置として機能するデータバ
ス端末装置から他の唯一のデータバス端末装置に特殊な
コマンドによって委譲する方式がある。しかし、この方
式では権利を委譲するデータバス端末装置が権利の委譲
が完結するまで正常に動作していることが必要となり、
その故障時には特殊なコマンドの送出による権利の委譲
が困難になるので、他のデータバス端末装置で故障を検
出してもバス制御装置として機能する権利を譲り受ける
ことができなくなる。
Generally, in this type of system, multiple data bus terminal devices are not allowed to operate as bus control devices at the same time.As a method to ensure this, the right to function as a bus control device is assigned to a data bus terminal device that actually functions as a bus control device. There is a method in which a terminal device transfers data to the only other data bus terminal device using a special command. However, this method requires that the data bus terminal device that transfers rights is operating normally until the transfer of rights is completed.
In the event of a failure, it becomes difficult to transfer rights by sending a special command, so even if another data bus terminal device detects a failure, it will not be able to transfer the right to function as a bus control device.

これに対し本実施例では、現にバス制御装置として機能
しているデータバス端末装置がその機能を停止すること
によって、特殊なコマンドによる権利の委譲処理なしに
、唯1個のデータバス端末装置にバス制御装置としての
機能を移すことが可能さなる。なお、このようなデータ
バス端末装置に対するバス制御装置としての機能の委譲
は、バス制御装置として機能するデータバス端末装置の
故障時のみでなく、独立して電源の0N10FF。
In contrast, in this embodiment, by stopping the data bus terminal device that is currently functioning as a bus control device, the data bus terminal device becomes the only data bus terminal device without the need for a special command to transfer rights. It becomes possible to transfer the function as a bus control device. Note that the transfer of the function as a bus control device to such a data bus terminal device is performed not only when the data bus terminal device functioning as the bus control device fails, but also when the power supply is independently turned on and off.

機能のON10 F Fが行われる端末装置群を接続す
るシステムにあっては、必ず1個のバス制御装置を速や
かに立上げることを可能にする効果もある。
In a system that connects a group of terminal devices in which the function is ON10FF, there is also the effect that one bus control device can always be started up quickly.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のコマンド・レスポンス方
式データバス端末装置においては、データバスラインに
コマンドやデータ等が存在しないというバスサイレント
状態を検出し、バス制御装置の故障によりバスサイレン
ト状態が所定時間以上継続したときに割り込みを発生さ
せるようにしたので、次のような効果を得ることができ
る。
As explained above, the command-response type data bus terminal device of the present invention detects a bus silent state in which there is no command or data on the data bus line, and detects a bus silent state when a failure of the bus control device occurs. Since an interrupt is generated when the process continues for more than a certain amount of time, the following effects can be obtained.

(1)データバス端末装置の制御を司るマイクロプロセ
ッサは、割り込みによってバス制御装置に故障が発生し
たことを知ることができ、バス制御装置の故障検出の為
にプログラムが複雑化したり、マイクロプロセッサの負
荷が増大することがなくなる。
(1) The microprocessor that controls the data bus terminal device can learn that a failure has occurred in the bus control device through an interrupt. The load will not increase.

(2)バス制御装置が正常なときデータバスラインには
バス制御装置から各データバス端末装置へのコマンドや
各データバス端末装置からのレスポンスが頻繁に現れて
いるので、1つのデータバス端末装置へのコマンド送出
間隔によりバス制御装置の故障を検出していた従来装置
よりも、データバスラインのサイレント状態によりバス
制御装置の故障を検出する本発明の方が、短時間で故障
の検出が可能となる。このため、速やかなバックアップ
が可能となり、データバスシステム全体の信顧性を向上
することができる。
(2) When the bus control device is normal, commands from the bus control device to each data bus terminal device and responses from each data bus terminal device frequently appear on the data bus line, so one data bus terminal device The present invention, which detects bus control device failures based on the silent state of the data bus line, can detect failures in a shorter time than conventional devices that detect bus control device failures based on the interval between commands sent to the data bus line. becomes. Therefore, prompt backup is possible, and reliability of the entire data bus system can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のブロック図および、第2図
は本発明の別の実施例のブロック図である。 図において、 1.2,3,100,200,300゜400・・・デ
ータバス端末装置 4・・・バス制御装置 5・・・データバスライン 10・・・ライントライバレシーバ回路11・・・デー
タ送受信回路 12・・・バスサイレント検出回路 13.130・・・タイムアウト検出回路14・・・割
り込み発生回路 15・・・データバス制御プログラム 131・・・固有時間設定回路
FIG. 1 is a block diagram of one embodiment of the invention, and FIG. 2 is a block diagram of another embodiment of the invention. In the figure, 1.2, 3, 100, 200, 300° 400...data bus terminal device 4...bus control device 5...data bus line 10...line tri-receiver circuit 11... Data transmission/reception circuit 12...bus silent detection circuit 13.130...timeout detection circuit 14...interrupt generation circuit 15...data bus control program 131...specific time setting circuit

Claims (1)

【特許請求の範囲】 コマンド・レスポンス方式データバス端末装置において
、 データバスラインのバスサイレント状態を検出するバス
サイレント検出回路と、 該バスサイレント検出回路で検出されたバスサイレント
状態の継続時間を計測し、予め定められた時間以上バス
サイレント状態が継続したとき、タイムアウト信号を発
生するタイムアウト検出回路と、 該タイムアウト検出回路からタイムアウト信号が出力さ
れたとき割り込みを発生させる割り込み発生回路とを具
備したことを特徴とするコマンド・レスポンス方式デー
タバス端末装置。
[Claims] A command-response type data bus terminal device includes a bus silent detection circuit that detects a bus silent state of a data bus line, and a bus silent detection circuit that measures the duration of the bus silent state detected by the bus silent detection circuit. , comprising a timeout detection circuit that generates a timeout signal when the bus silent state continues for a predetermined period of time or more, and an interrupt generation circuit that generates an interrupt when the timeout signal is output from the timeout detection circuit. Characteristic command-response type data bus terminal device.
JP1105689A 1988-11-10 1989-01-20 Command / response method data bus terminal device Expired - Lifetime JPH0728295B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP28418588 1988-11-10
JP63-284185 1988-11-10

Publications (2)

Publication Number Publication Date
JPH02223248A true JPH02223248A (en) 1990-09-05
JPH0728295B2 JPH0728295B2 (en) 1995-03-29

Family

ID=17675275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1105689A Expired - Lifetime JPH0728295B2 (en) 1988-11-10 1989-01-20 Command / response method data bus terminal device

Country Status (1)

Country Link
JP (1) JPH0728295B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02229086A (en) * 1989-03-01 1990-09-11 Konica Corp Thermal transfer recording medium
JPH04160833A (en) * 1990-10-24 1992-06-04 Yamatake Honeywell Co Ltd Channel abnormality noticing method in lan
US6251972B1 (en) * 1992-09-25 2001-06-26 Ciba Specialty Chemicals Corp. Process for the stabilization of and stabilizer mixtures for single-material recycled plastics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS572755U (en) * 1981-01-22 1982-01-08
JPS59200560A (en) * 1983-04-27 1984-11-13 Hitachi Ltd Talk time monitoring device
JPS6215951A (en) * 1985-07-15 1987-01-24 Canon Inc network system
JPS62136144A (en) * 1985-12-10 1987-06-19 Matsushita Electric Ind Co Ltd Home bus line capture monitoring system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS572755U (en) * 1981-01-22 1982-01-08
JPS59200560A (en) * 1983-04-27 1984-11-13 Hitachi Ltd Talk time monitoring device
JPS6215951A (en) * 1985-07-15 1987-01-24 Canon Inc network system
JPS62136144A (en) * 1985-12-10 1987-06-19 Matsushita Electric Ind Co Ltd Home bus line capture monitoring system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02229086A (en) * 1989-03-01 1990-09-11 Konica Corp Thermal transfer recording medium
JPH04160833A (en) * 1990-10-24 1992-06-04 Yamatake Honeywell Co Ltd Channel abnormality noticing method in lan
US6251972B1 (en) * 1992-09-25 2001-06-26 Ciba Specialty Chemicals Corp. Process for the stabilization of and stabilizer mixtures for single-material recycled plastics

Also Published As

Publication number Publication date
JPH0728295B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
US7120820B2 (en) Redundant control system and control computer and peripheral unit for a control system of this type
US4860289A (en) Reset circuit for electrically isolated circuits communicating via uart
JPH02223248A (en) Data bus terminal equipment of command response system
JPS6165319A (en) Trouble detection system of multiple power unit
JPH0588926A (en) Automatic switching circuit for monitor and control system
JPH02217099A (en) Load controller
JP2706027B2 (en) Programmable controller
JPS631023B2 (en)
JP2886674B2 (en) Line monitoring device and line monitoring method using the same
JPH02184199A (en) terminal equipment interface
JPS6259435A (en) Data transfer supervisory equipment
JPS644705B2 (en)
JPS62102646A (en) Self-diagnosis method
JP2614926B2 (en) Power control system
JP3107104B2 (en) Standby redundancy method
JPH01231622A (en) Power source control system
JP3263932B2 (en) Data transmission equipment
JPS63318823A (en) Trouble detecting system
JPH0756762A (en) Data transmission equipment
KR960020388A (en) Broadcasting automatic control system
JPH05327735A (en) Central control system
JPS6394394A (en) Controller for master slave type vending machine
JPH0113572B2 (en)
JPS60121852A (en) Circuit monitoring circuit
JPH06202766A (en) Power source controller