JPH0329046A - Bus switching device for control system - Google Patents

Bus switching device for control system

Info

Publication number
JPH0329046A
JPH0329046A JP16453089A JP16453089A JPH0329046A JP H0329046 A JPH0329046 A JP H0329046A JP 16453089 A JP16453089 A JP 16453089A JP 16453089 A JP16453089 A JP 16453089A JP H0329046 A JPH0329046 A JP H0329046A
Authority
JP
Japan
Prior art keywords
control
bus
signal
controlled
switching
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
JP16453089A
Other languages
Japanese (ja)
Inventor
Hideo Furuno
古野 英夫
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP16453089A priority Critical patent/JPH0329046A/en
Publication of JPH0329046A publication Critical patent/JPH0329046A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the adverse influence due to occurrence of the abnormality to other members by measuring the time intervals for transmission of signals under process which are outputted in a fixed cycle from a control part which is executing a control process to a control subject and switching forcibly a bus switch circuit when the measured time interval exceeds the limit time. CONSTITUTION:When some abnormality occurs at a control part 11a which is carrying out a control process to a part 13 which is presently under control and a runaway state is produced and the runaway state lasts over a prescribed limit time TM, the part 11a is physically separated from the part 13 and another normal part 11b. As a result, the adverse influence given to the part 13 due to the runaway or the damage of the part 13 can be minimized. At the same time, the component members of a monitor timer circuit 16 are easily obtained with combinations of digital logic circuits. Thus it is possible to obtain a miniaturized and useful bus switching device with no extreme increase of the manufacturing cost.

Description

【発明の詳細な説明】 〔発明の目的] (産業上の利用分野) 本発明は1つの被制御対象をバスを介して複数の制御部
で共用する制御システムに係わり、特に、被制御対象を
バス切換回路を用いて指定された制御部へ切換接続する
制御システムのバス切換装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a control system in which one controlled object is shared by a plurality of control units via a bus. The present invention relates to a bus switching device for a control system that uses a bus switching circuit to switch and connect to a designated control unit.

(従来の技術) 複数の制御部が1つの披制御対象を共用するコンピュー
タ等を用いた制御システムにおいては、第4図に示すよ
うに、1つの共用バス1に対して例えばCPU (中央
処理装置)等からなる複数の11 lm部(バスマスタ
)2と1つの被制御対象としての被制御部(パススレー
ブ)3が接続されている。
(Prior Art) In a control system using a computer or the like in which a plurality of control units share one controlled object, as shown in FIG. ), etc., are connected to a plurality of 11 lm units (bus masters) 2 and a controlled unit (pass slave) 3 as one controlled object.

このような制御システムにおいては、各制御部2が共用
バス1を介して被制御部3を制御する場合は、各制御部
2相互間でバスアクセス権をやりとりして、共用バス1
を使用する制御部2を決定する。よって、バスアクセス
権を獲得した制御部2のみが被制御部3を制御可能とな
る。
In such a control system, when each control unit 2 controls the controlled unit 3 via the shared bus 1, bus access rights are exchanged between the control units 2 and the shared bus 1
The control unit 2 to use is determined. Therefore, only the control section 2 that has acquired the bus access right can control the controlled section 3.

また、第5図に示すように、共用バス1の代りに、各制
御部2にそれぞれ専用の専用バス4を設け、各専用バス
4をバス切換回路5を介して被制御部3に接続した集リ
御システムも提唱されている。
Further, as shown in FIG. 5, instead of the shared bus 1, each control section 2 is provided with its own dedicated bus 4, and each dedicated bus 4 is connected to the controlled section 3 via a bus switching circuit 5. A central control system has also been proposed.

このような制御システムにおいて、一つの制御部2が被
制御部3を制御する場合、制御する制御部2 i1’J
体,又は各制御部2からのバスアクセス権要求を調停す
る図示しない外部制御装置から切換信号aをバス切換回
路5へ印加する。切換信号aが入りされたバス切換回路
5は、被制御部3をその切換信号aの指定する制御部2
の専用バス4へ切換接続する。よって、切換接続された
制御部2は波制御部3を制御できる。
In such a control system, when one control section 2 controls the controlled section 3, the controlling section 2 i1'J
A switching signal a is applied to the bus switching circuit 5 from an external control device (not shown) that arbitrates requests for bus access rights from the controller 2 or each controller 2. The bus switching circuit 5 to which the switching signal a is inputted controls the control unit 2 to which the switching signal a designates the controlled unit 3.
Switch connection to dedicated bus 4 of Therefore, the switch-connected control section 2 can control the wave control section 3.

このようなバス切換回路5を用いた!IJ御システムに
おいて、1つの制御部2が自己の専用バス4を介して被
!i Ia部3に対する制御処理の実行中は、他の制御
部2の専用バス4は被制御部3および制御実行中の制御
部2の専用バス4に対して物理的に分離されているので
、たとえ他の制御部2が異常をきたし、プログラム1り
御が暴走状態になったとしても、現在制御処理中の制御
部2および被制御部3は正常に制御処理を継続できる。
Using such a bus switching circuit 5! In the IJ control system, one control unit 2 receives data via its own dedicated bus 4! i While the control processing for the Ia unit 3 is being executed, the dedicated bus 4 of the other control unit 2 is physically separated from the controlled unit 3 and the dedicated bus 4 of the control unit 2 that is executing the control. Even if another control section 2 malfunctions and the control of the program 1 goes out of control, the control section 2 and the controlled section 3 that are currently undergoing control processing can continue the control processing normally.

したがって、高い信頼性が要求される待機冗長システム
などにおいて、本方式の制御システムが採用される。
Therefore, the control system of this method is employed in standby redundant systems and the like that require high reliability.

しかしながら、第5図のように構成された制御システム
のバス切換装置においてもまだ改良すべき次のような問
題があった。
However, even in the bus switching device of the control system configured as shown in FIG. 5, the following problems still exist that need to be improved.

すなわち、1つの制御部部2が自己の専用バス4を使用
して被制御部3に対する制御処理を実施している期間に
他の制御部2が暴走を起こしたとしても、被制御部3は
暴走による悪影響を受けることはない。しかし、バス切
換回路5を介して接続されている現在制御処理を文行し
ている制御部2が異常をきたし、暴走状態になると、例
えば制御部2自身が切換信号aをバス切換回路5へ送出
している場合には、切換信号aが解除されないので、被
制御部3は暴走状態の制御部2に接続された状態を維持
する。よって、彼制御部3がd走による悪影響を受ける
のみならず、制御部2において長時間暴走状態が継続す
ると、彼制御部3が損傷を受ける懸念もある。
In other words, even if one control unit 2 goes out of control while another control unit 2 is performing control processing for the controlled unit 3 using its own dedicated bus 4, the controlled unit 3 There are no negative effects from running wild. However, if the control unit 2 connected via the bus switching circuit 5 and currently executing the control process malfunctions and goes out of control, the control unit 2 itself, for example, sends the switching signal a to the bus switching circuit 5. If the switching signal a is being sent, the switching signal a is not released, so the controlled section 3 maintains the state connected to the control section 2 in the runaway state. Therefore, not only will the driver control section 3 be adversely affected by the d-running, but if the control section 2 continues to run out of control for a long time, there is a concern that the driver control section 3 will be damaged.

(発明が解決しようとする課題) このように従来の制御システムのバス切換装置において
は、被制御部3に現在接続されている制御部2に暴走等
の異常が発生すると被制御部3がその異常事態による悪
影響を受け、長時間その異常状態が継続すると、損傷を
受ける懸念がある。
(Problem to be Solved by the Invention) As described above, in the conventional bus switching device of the control system, when an abnormality such as runaway occurs in the control unit 2 currently connected to the controlled unit 3, the controlled unit 3 If the abnormal situation continues for a long time due to the adverse effects of the abnormal situation, there is a risk of damage.

よって、制御システム全体の信頼性が低下する問題があ
る。
Therefore, there is a problem that the reliability of the entire control system is reduced.

本発明はこのような事情に鑑みてなされたものであり、
被制御対象に対して′II1l処理を実行している制御
部から一定周期で出力される処理中信号の信号送出時間
間隔を検出することにより、制御部が異常発生すると、
直ちにバス切換回路を切換動作でき、異常発生制御部を
被制御対象および他の正常な制御部から物理的に切離す
ことができ、異常発生による他の部材に対する悪影響を
最小限に抑制でき、システム全体の信頼性を向上できる
制御システムのバス切換装置を提供することを目的とす
る。
The present invention was made in view of these circumstances, and
By detecting the signal sending time interval of the processing signal outputted at a constant cycle from the control unit executing 'II1l processing on the controlled object, it is possible to detect when an abnormality occurs in the control unit.
The bus switching circuit can be switched immediately, the abnormality control section can be physically separated from the controlled object and other normal control sections, and the adverse effects of the abnormality on other components can be minimized, and the system An object of the present invention is to provide a bus switching device for a control system that can improve overall reliability.

[発明の構成1 (課題を解決するための千段) 上記課題を解消するために本発明の制御システムのバス
切換装置においては、1つの被$り御対象をバスを介し
て複数の制御部で共用する制御システムにおいて、バス
に介挿され、入力された切換信号の指定する制御部へ被
制御対象を択一的に接続するバス切換回路と、このバス
切換回路を介して現在被制御対象を制御している制御部
から一定周期で出力される処理中信号の入力時刻から次
の処理中信号入力時刻までの経過時間を経時しその経過
時間が前記一定周期より長く設定された限界時間を越え
るとバス切換回路へ強制切換信号を送出する監視タイマ
回路とを備えている。
[Configuration 1 of the Invention (1,000 steps to solve the problem) In order to solve the above problem, in the bus switching device of the control system of the present invention, one $ controlled object is connected to a plurality of control units via a bus. In a control system that is shared by The elapsed time elapses from the input time of the processing signal that is output at a fixed period from the control unit that controls the processing signal to the input time of the next processing signal, and the elapsed time is a limit time that is set longer than the specified period. A monitoring timer circuit is provided which sends a forced switching signal to the bus switching circuit when the bus switching circuit exceeds the threshold.

(作用) このように構成された制御システムのバス切換装置によ
れば、バス切換回路を介して被制御対象に接続されてい
る制御部は、披制御対象に対して所定の制御処理を実行
している。そして、その制御処理を実行している間は、
一定周期で処理中信号を出力する。その処理中信号は監
視タイマ回路へ入力される。監視タイマ回路は1つの処
理中信号が入力すると経過時間の計時を開始し、次の処
理中信号が入力すると、先の経過時間をクリアl,て新
たに入力した処理中信号からの経過時間の計時を開始す
る。すなわち、一定周期で処理中信号が入力されている
限り、経過峙間が限界時間を越えることはない。よって
、監視タイマ回路からバス切換回路へ強制切換信号が送
出されることはない。
(Function) According to the bus switching device of the control system configured as described above, the control unit connected to the controlled object via the bus switching circuit executes predetermined control processing on the controlled object. ing. And while executing the control process,
Outputs a processing signal at regular intervals. The processing signal is input to the monitoring timer circuit. The monitoring timer circuit starts counting the elapsed time when one processing signal is input, and when the next processing signal is input, it clears the previous elapsed time and calculates the elapsed time from the newly input processing signal. Start timing. That is, as long as the processing signal is inputted at a constant cycle, the elapsed time will not exceed the limit time. Therefore, no forced switching signal is sent from the supervisory timer circuit to the bus switching circuit.

一方、被制御対象に対して所定の制御処理を実行してい
る制御部に異常が発生すると、前記一定周期毎の処理中
信号が出力されなくなる。よって、監視タイマ回路にお
いて計時されている経過時間が限界時間を越え、監視タ
イマ回路からバス切換回路へ強制切換信号が送出される
。その結果、異常の生じた制御部は強制的に被制御対象
および他の正常な制御部から切離される。
On the other hand, if an abnormality occurs in the control section that is executing predetermined control processing on the controlled object, the processing-in-progress signal is no longer output at each fixed period. Therefore, the elapsed time counted by the supervisory timer circuit exceeds the limit time, and a forced switching signal is sent from the supervisory timer circuit to the bus switching circuit. As a result, the control section in which the abnormality has occurred is forcibly separated from the controlled object and other normal control sections.

(実施例) 以下本発明の一実施例を図面を用いて説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例のバス切換装置が組込まれた制御システ
ムを示す模式図である。この実施例においては、2台の
制御部(バスマスタ)lla,1. 1 bでバス切換
回路12を介して1台の被制御対象としての被制御部(
パススレーブ)13を制御する。すなわち、各制御部1
1a,1.1bはそれぞれ専用バス14a.14bにて
バス切換回路12に接続され、また、バス切換回路12
は被制御部用バス15を介して前記被制御部13に接続
されている。
FIG. 1 is a schematic diagram showing a control system incorporating a bus switching device according to an embodiment. In this embodiment, there are two control units (bus masters) lla, 1. 1b, the controlled unit as one controlled object is connected via the bus switching circuit 12 (
(pass slave) 13. That is, each control unit 1
1a and 1.1b are respectively dedicated buses 14a. 14b is connected to the bus switching circuit 12, and the bus switching circuit 12
is connected to the controlled section 13 via a controlled section bus 15.

バス切換回路12は、通常、各制御部11a,11bか
ら出力される切換信号aにて切換制御される。例えば切
換信号aがロー(L)レベル状態で被制御部用バス15
と制御部11aの専用バス14aとが接続され、ハイ(
H)レベル状態で被制御部用バス15と制御部1lbの
専用・くス14bとが接続される。また、バス切換回路
12は監視タイマ回路16から出力される強制切換信号
bにて現在接続中の専用バス14a,14bを他方側の
専用バス14b,14aへ強制的に切換接続する。
The bus switching circuit 12 is normally switched and controlled by a switching signal a output from each control section 11a, 11b. For example, when the switching signal a is in a low (L) level state, the controlled unit bus 15
and the dedicated bus 14a of the control unit 11a are connected, and the high (
H) In the level state, the controlled unit bus 15 and the dedicated bus 14b of the control unit 1lb are connected. Further, the bus switching circuit 12 forcibly switches and connects the currently connected dedicated buses 14a, 14b to the other dedicated buses 14b, 14a using the forced switching signal b outputted from the monitoring timer circuit 16.

制御部1. 1 aは自己の専用バス14aがバス切換
回路12および被制御部用バス15を介して被制御部1
3と接続された状態でこの被制御部13に対する制御処
理中の場合は、現在自己が被制御部13を占有している
ことを示すために一定周期Toでパルス状の処理中信号
Cを出力する。そして、この処理中信号Cは監視タイマ
回路16へ印加される。同様に、他方の制御部1lbも
被制御部13に対して制御処理期間中は一定周期T。で
処理中信号dを監視タイマ回路16へ送出する。
Control unit 1. 1a, the own dedicated bus 14a is connected to the controlled unit 1 via the bus switching circuit 12 and the controlled unit bus 15.
3 and in the process of controlling the controlled unit 13, it outputs a pulse-like processing signal C at a constant cycle To to indicate that it is currently occupying the controlled unit 13. do. This processing signal C is then applied to the monitoring timer circuit 16. Similarly, the other control unit 1lb also operates the controlled unit 13 at a constant period T during the control processing period. The processing signal d is sent to the monitoring timer circuit 16.

第2図はバス切換回路12および監視タイマ回路16の
詳細回路ブロック図である。
FIG. 2 is a detailed circuit block diagram of the bus switching circuit 12 and the monitoring timer circuit 16.

バス切換回路12は、同一構成の出力信号セレクク12
aと入力信号セレクタ12bとで構戊されており、各信
号セレクタ12a,12bの各信号端子A,Bにそれぞ
れ専用バス14g,14bが接続され、共通端子Cに被
制御部用バス15が接続されている。また、制御端子G
lには切換信号aが入力され、制御端子G2には強制切
換信号bが入力される。そして、各制御端子G,,G2
に印加される切換信号a,強制切換信号bがLレベル状
態で共通端子Cを信号端子AI:切換接続し、Hレベル
状態で共通端子Cを信号端子Bに切換接続する。
The bus switching circuit 12 has the same configuration as the output signal selector 12.
A and an input signal selector 12b, dedicated buses 14g and 14b are connected to the signal terminals A and B of each signal selector 12a and 12b, respectively, and a controlled unit bus 15 is connected to the common terminal C. has been done. In addition, control terminal G
The switching signal a is input to the terminal G2, and the forced switching signal b is input to the control terminal G2. And each control terminal G,,G2
The common terminal C is switched and connected to the signal terminal AI when the switching signal a and the forced switching signal b applied to the terminal are at the L level, and the common terminal C is switched and connected to the signal terminal B when the switching signal a and the forced switching signal b applied to the terminal are at the H level.

また、監視タイマ回路16へ入力された一方の制御部1
1aからの処理中心号Cは信号選択回路17内のアンド
ゲート17aおよびオアゲート17bを介してカウンタ
18のリセット端子Rへ印加される。また、他方の制御
部1lbからの処理中心号dは信号選択回路17内のア
ンドゲート17cおよび前記オアゲート1. 7 bを
介してカウンタ18のリセット端子Rへ印加される。
Also, one control unit 1 inputted to the monitoring timer circuit 16
The processing center signal C from 1a is applied to the reset terminal R of the counter 18 via an AND gate 17a and an OR gate 17b in the signal selection circuit 17. Further, the processing center number d from the other control section 1lb is transmitted to the AND gate 17c in the signal selection circuit 17 and the OR gate 1. 7b to the reset terminal R of the counter 18.

カウンタ18のクロック端子CPにはクロック発振器1
9からクロック信号eが印加される。そして、カウンタ
18は、入力したクロック信号eのクロック数を計数す
る。そして、クロツク数か前記各処理中信号c,dの周
期T0より長く設定された限界時間TMに対応する計数
値に達すると、出力端子Qから11レベルのカウントア
ップ信号fを次のフリップフロツプ20のトリガ端子T
へ送出する。なお、計数途中でリセット端子RにHレベ
ルのリセット信号が入力すると、計数値をクリアして、
kk初からクロック信号eの計数を開始する。
A clock oscillator 1 is connected to the clock terminal CP of the counter 18.
A clock signal e is applied from 9. Then, the counter 18 counts the number of clocks of the input clock signal e. When the clock number reaches a count value corresponding to a limit time TM set longer than the cycle T0 of each processing signal c, d, an 11-level count-up signal f is sent from the output terminal Q to the next flip-flop 20. Trigger terminal T
Send to. In addition, if an H level reset signal is input to the reset terminal R during counting, the counted value is cleared and
Counting of the clock signal e is started from the beginning of kk.

ト・リガ端子にHレベルのカウントアップ信号fが入力
するとフリップフロップ20は出力端子Qの出力信号の
信号レベルを強制的に反転する。よって、この出力端子
Qの出力信号が強制切換信号bとしてバス切換回路12
へ送出される。
When the H-level count-up signal f is input to the trigger terminal, the flip-flop 20 forcibly inverts the signal level of the output signal at the output terminal Q. Therefore, the output signal of this output terminal Q is sent to the bus switching circuit 12 as the forced switching signal b.
sent to.

また、フリップフロップ20の出力端子Qにおける出力
信号は直接アンドゲート17bの他方の入力端子へ入力
されるとともに、インバータi7dを介してアンドゲー
トl7aの他方の入力端子へ入力される。
Further, the output signal at the output terminal Q of the flip-flop 20 is directly inputted to the other input terminal of the AND gate 17b, and is also inputted to the other input terminal of the AND gate l7a via the inverter i7d.

次に、このように構成された制御システムのバス切換装
置の動作を説明する。
Next, the operation of the bus switching device of the control system configured as described above will be explained.

制御部11aが被制御部13に対して制御処理を実行す
る場合、先ず、切換信号aをLレベルにしてバス切換回
路12内の各信号セレクタ12a,12bの制御端子G
,をLレベルにする。すると、共通端TCが信号端子A
に接続される。同時に、他方の制御端子G2もLレベル
へ変化する。
When the control section 11a executes control processing on the controlled section 13, first, the switching signal a is set to L level and the control terminal G of each signal selector 12a, 12b in the bus switching circuit 12 is set to L level.
, to L level. Then, the common terminal TC becomes the signal terminal A.
connected to. At the same time, the other control terminal G2 also changes to L level.

しかして、制御部1 1. 3は被制御部13と接続さ
れたので、制御部11aは被制御部13に対する制御処
理を開始するとともに、一定周期T0で処理中信号Cを
出力する。出力された処理中信号Cは監視タイマ回路1
6内のアンドゲート17aへ入力される。なお、アンド
ゲー117aの他方の入力端には制御端子G2のLレベ
ル信号がインバータ17dで反転されてHレベルとして
印加されているので、処理中信号Cはアンドゲート17
a,オアゲート17bを介してカウンタ18のリセット
端子Rへ印加される。その結果、カウンタ18の計数値
がクリアされ、再度クロック信号eのクロック数の計数
を開始する。
Therefore, the control unit 1 1. 3 is connected to the controlled unit 13, the control unit 11a starts control processing for the controlled unit 13 and outputs the processing signal C at a constant period T0. The output processing signal C is sent to the monitoring timer circuit 1.
6 is input to the AND gate 17a. Note that since the L level signal of the control terminal G2 is inverted by the inverter 17d and applied as an H level signal to the other input terminal of the AND gate 117a, the processing signal C is applied to the AND gate 17.
a, applied to the reset terminal R of the counter 18 via the OR gate 17b. As a result, the count value of the counter 18 is cleared and counting of the number of clocks of the clock signal e is started again.

そして、限界時間TMに達しないうちに次の処理中信号
Cが入力するので、計数値は再度クリアされる。よって
、カウンタ18からカウントアッブ信号fが出力される
ことはない。その結果、バス切換回路12は切換信号a
で指定された切換状態を維持する。
Then, since the next processing signal C is input before the limit time TM is reached, the count value is cleared again. Therefore, the count-up signal f is never output from the counter 18. As a result, the bus switching circuit 12 receives the switching signal a.
The switching state specified by is maintained.

制御部11aは被制御部13に対する制御処理力9冬了
すると、切換信号aをHレベルへ切換えて、「1己の専
用バス14aを被制御部13から切離す。
When the control unit 11a has reached the control processing power for the controlled unit 13, it switches the switching signal a to H level and disconnects its own dedicated bus 14a from the controlled unit 13.

同時に、一定周期で出力していた処理中信号Cを停止す
る。その結果、切換回路12が他方の制御部1lb側に
切換り、制御端子G2の信号レベルもHレベルへ変化す
る。よって、今度は制御部1lbが被制御部13に女・
1する制御処理が可能となる。そして、制御部1lbか
ら処理中信号dが監視タイマ回路16へ送出される。カ
ウンタ18はアンドゲート17cおよびオアゲート17
bを介して入力された処理中信号dでリセットされる。
At the same time, the processing signal C, which has been output at regular intervals, is stopped. As a result, the switching circuit 12 switches to the other control section 1lb side, and the signal level of the control terminal G2 also changes to H level. Therefore, this time, the control unit 1lb sends a female to the controlled unit 13.
1 control processing becomes possible. Then, the processing signal d is sent from the control unit 1lb to the monitoring timer circuit 16. The counter 18 has an AND gate 17c and an OR gate 17.
It is reset by the processing signal d input via b.

このように、制御部11a,llbが正常に動作してい
る場合は、監視タイマ回路16から強制切換信号bが出
力されないので、バス切換回路12は各制御部11a,
llbから出力される切換信号aのみにて切換制御され
る。
In this way, when the control units 11a and llb are operating normally, the forced switching signal b is not output from the monitoring timer circuit 16, so the bus switching circuit 12
Switching is controlled only by switching signal a output from llb.

次に、例えば制御部11aが被制御部l3に対する制御
処理を丈行中に、この制御部1 1 aに何等かの異常
が発生して、暴走状態になると、この制御部11aから
制御処理が終了して被制御部13を他の制御部1lbへ
切換える切換信号aが出力されることはない。また、処
理中信号Cの出力が停止する。
Next, for example, if some abnormality occurs in the control unit 11a and the control unit 11a goes into a runaway state while the control unit 11a is performing control processing on the controlled unit l3, the control processing is executed from the control unit 11a. The switching signal a for switching the controlled section 13 to another control section 1lb upon completion of the control is never output. Further, the output of the processing signal C is stopped.

処理中信号Cが途絶えると、カウンタ18がリセットさ
れなくなり、正常時に出力された処理中信号Cの出力時
刻からの経過時間が限界時間TMを越えた峙点で、カウ
ンタ18の出力端子QからHレベルのカウントアップ信
号fが出力される。
When the processing signal C is interrupted, the counter 18 is no longer reset, and at the point where the elapsed time from the output time of the processing signal C output during normal operation exceeds the limit time TM, the output terminal Q of the counter 18 becomes H. A level count-up signal f is output.

よってフリップフロップ20が動作して、フリップフロ
ツプ20の出力端子Qの信号レベルをLレベルからHレ
ベルへ強1り的に反転させる。
Therefore, the flip-flop 20 operates to strongly invert the signal level at the output terminal Q of the flip-flop 20 from the L level to the H level.

よって、監視タイマ回路16からLレベルからHレベル
へ変化する強制切換信号bがバス切換回路12へ送出さ
れ、制御端子G2の信号レベルを強制的にHレベルへ変
化させる。その結果、共通端子Cが信号端子B側に切換
接続される。同時に、制御端子G,の信号レベルがHレ
ベルに変化する。
Therefore, the forced switching signal b changing from the L level to the H level is sent from the monitoring timer circuit 16 to the bus switching circuit 12, and the signal level of the control terminal G2 is forced to change to the H level. As a result, the common terminal C is switched and connected to the signal terminal B side. At the same time, the signal level of the control terminal G changes to H level.

よって、被制御部13は正常な制御部1lbに接続され
るので、制御部1lbは被制御部13に対して通常の制
御処理を開始できる。
Therefore, since the controlled unit 13 is connected to the normal control unit 1lb, the control unit 1lb can start normal control processing for the controlled unit 13.

なお、制御部1lbが被制御部13に対して制御処理中
に暴走状態になった場合には、バス切換回路12が強制
的に切換動作されて、制御部1. 1. bが披制御部
13および他の制御部11aに対して物理的に切離され
る。
Note that if the control section 1lb goes out of control during control processing for the controlled section 13, the bus switching circuit 12 is forcibly switched and the control section 1. 1. b is physically separated from the control section 13 and the other control section 11a.

このように、現在被制御部13に対して制御処理を実行
中の制御部11aに何等かの異常が生じて、暴走状態に
なると、暴走状態の継続時間が予め定められた限界時間
TMを越えると、該当制御部11aが被制御部13およ
び正常な他の制御部11l)から物理的に切離される。
In this way, if some abnormality occurs in the control section 11a that is currently executing control processing for the controlled section 13 and the control section 11a enters a runaway state, the duration of the runaway state exceeds the predetermined limit time TM. Then, the corresponding control section 11a is physically separated from the controlled section 13 and other normal control sections 11l).

したがって、被制御部13が暴走によって悪影響を受け
たり、又は損傷することを最小限に抑制できる。その結
果、制御システム全体の信頼性を大幅に向上できる。
Therefore, it is possible to minimize the possibility that the controlled section 13 is adversely affected or damaged due to runaway. As a result, the reliability of the entire control system can be significantly improved.

また、図示するように、監視タイマ回路16を構成する
各構成部材はデジタルの論理回路を組み合わせて簡11
tに構成できるので、小型でかつ製造費を大幅に増加す
ることなく有用なバス切換装置を提供できる。
Further, as shown in the figure, each component constituting the monitoring timer circuit 16 is constructed using a simple combination of digital logic circuits.
t, it is possible to provide a small and useful bus switching device without significantly increasing manufacturing costs.

さらに、タイマ回路の性質上、各制御部11a,1lb
に異常を引き起こす主要な原因であるパルス状雑音のた
めに、監視タイマ回路16がその影響を受けたとしても
、最悪の事態でも、バス切換回路12へ誤った強制切換
信号bを送出するのみである。そして、待機している他
方の正常な!lj御部1lb,llaで被制御部13を
制御処理ができるので、上記パルス状雑音による誤動作
が制御システムの動作に対して致命的な影響を与えるこ
とが防止できる。
Furthermore, due to the nature of the timer circuit, each control section 11a, 1lb
Even if the supervisory timer circuit 16 is affected by pulse noise, which is the main cause of abnormalities in the be. And the other normal waiting! Since the lj control units 1lb and lla can control the controlled unit 13, it is possible to prevent malfunctions caused by the pulse noise from having a fatal effect on the operation of the control system.

第3図は3個以上の制御部21でバス切換回路22を介
して1台の被制御部13を共用する制御システムに組込
まれたバス切換装置を示す模式図である。各制御部21
の各専用バス23はバス切換回路22の各切換端子に接
続され、共通端子に被制御部用バス15が接続されてい
る。通常、バス切換回路22は被制御部13を各制御部
21から出力される切換信号hの指定する制御部21へ
切換接続するが、監視タイマ回路24から強制切換IJ
号gが入力すると、点線で示すように、共通端f・を制
御部21が接続されていない空の切換端f・\接続する
FIG. 3 is a schematic diagram showing a bus switching device incorporated in a control system in which three or more control units 21 share one controlled unit 13 via the bus switching circuit 22. Each control section 21
Each dedicated bus 23 is connected to each switching terminal of the bus switching circuit 22, and the controlled unit bus 15 is connected to the common terminal. Normally, the bus switching circuit 22 switches and connects the controlled unit 13 to the control unit 21 specified by the switching signal h output from each control unit 21, but the monitoring timer circuit 24 switches the controlled unit 13 to the control unit 21 specified by the switching signal h output from each control unit 21.
When the signal g is input, the common end f is connected to the empty switching end f.

監視タイマ回路24には現在被制御部13に対して制御
処理動作中の制御部21から一定周期T.の処理中信号
iが入力される。そして、処理中信号iが途絶えると前
記強制切換信号gをバス切換回路22へ送出する。
The monitoring timer circuit 24 receives a constant period T. A processing signal i is input. Then, when the processing signal i is interrupted, the forced switching signal g is sent to the bus switching circuit 22.

このように構成されたバス切換装置であったとしても、
制御処理中の制御部21が暴走状態になると、バス切換
回路22が動作して、暴走中の制御部21を被制御部1
3および他の正常な制御部21から切離すことができる
ので、先の実施例とほぼ動揺の効果を得ることができる
Even if the bus switching device is configured in this way,
When the control section 21 that is undergoing control processing becomes out of control, the bus switching circuit 22 operates to switch the control section 21 that is out of control to the controlled section 1.
3 and other normal control units 21, it is possible to obtain almost the same effect as in the previous embodiment.

なお、この場合、制御部21に異常が生じると、彼制御
部13はどの制御部21にも接続されていない待機状態
になるので、正常な制御部21から再度切換信号hを送
出して、被制御部13を制御すべき制御部21へ切換接
続する必要がある。逆にいえば、暴走中の制御部21が
被制御部13を誤った制御部21へ接続する切換信号h
を出力したとしても、被制御部13がその誤った制御部
21へ接続されるのが未然に防止される利点を持つO 〔発明の効果] 以上説明したように本発明の制御システムのバス切換装
置によれば、被制御対象に対して制御処理を実行してい
る制御部から一定周期で出力される処理中信号の信号逸
出時間間隔を計時して、時間間隔が限界時間を越えると
バス切換回路を強制切換している。したがって、被制御
対象に文・1して制御処理を実行している制御部が異常
発生ずると、直ちにバス切換回路が切換動作するので、
異常発生制御部を被制御対象および他の正常な制御部か
ら物理的に切離すことができ、異常発生による他の部材
に対する悪影響を最小限に抑制でき、制御システム全体
の信頼性を向上できる。
In this case, if an abnormality occurs in the control section 21, the control section 13 enters a standby state in which it is not connected to any control section 21, so the switching signal h is sent again from the normal control section 21. It is necessary to switch and connect the controlled section 13 to the control section 21 to be controlled. In other words, the control section 21 that is running out of control may cause the switching signal h to connect the controlled section 13 to the wrong control section 21.
Even if the controlled unit 13 is outputted, the controlled unit 13 is prevented from being connected to the wrong control unit 21. [Effect of the Invention] As explained above, the bus switching of the control system of the present invention According to the device, the signal escape time interval of the processing signal outputted at a constant cycle from the control unit that executes control processing on the controlled object is measured, and when the time interval exceeds a limit time, the bus The switching circuit is being forced to switch. Therefore, if an abnormality occurs in the control unit that executes control processing by sending a statement to the controlled object, the bus switching circuit will immediately perform a switching operation.
The abnormality occurrence control section can be physically separated from the controlled object and other normal control sections, and the adverse effects on other members caused by the occurrence of the abnormality can be minimized, and the reliability of the entire control system can be improved.

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

第1図は本発明の一実施例に係わるバス切換装置を組込
んだ制御システムの概略構成を示す模式図、第2図は同
実施例の要部を示すブロック図、第3図は本発明の他の
実施例に係わるバス切換装置を組込んだ制御システムの
概略構成を示す模式図、第4図は一般的な制御システム
を示すブロック図、第5図は従来のバス切換装置を示す
模式図である。 11a,llb,21−・・制御部、12.22・・・
バス切換回路、13・・・彼制御部、14a514b・
・・専用バス、16.24・・・監視タイマ回路、17
・・・信号選択回路、18・・・カウンタ、19・・・
クロック発振器、20・・・フリップフロップ、a,h
・・・切換信号、b,g・・・強制切換信号、c,d,
i・・・処理中信号。
FIG. 1 is a schematic diagram showing the general configuration of a control system incorporating a bus switching device according to an embodiment of the present invention, FIG. 2 is a block diagram showing the main parts of the same embodiment, and FIG. 3 is a diagram showing the invention. FIG. 4 is a block diagram showing a general control system, and FIG. 5 is a schematic diagram showing a conventional bus switching device. It is a diagram. 11a, llb, 21-...control unit, 12.22...
Bus switching circuit, 13... control unit, 14a514b.
... Dedicated bus, 16.24 ... Monitoring timer circuit, 17
...Signal selection circuit, 18...Counter, 19...
Clock oscillator, 20... flip-flop, a, h
...Switching signal, b, g...Forced switching signal, c, d,
i...Processing signal.

Claims (1)

【特許請求の範囲】[Claims] 1つの被制御対象をバスを介して複数の制御部で共用す
る制御システムにおいて、前記バスに介挿され、入力さ
れた切換信号の指定する制御部へ前記被制御対象を択一
的に接続するバス切換回路と、このバス切換回路を介し
て現在前記被制御対象を制御している制御部から一定周
期で出力される処理中信号の入力時刻から次の処理中信
号入力時刻までの経過時間を経時しその経過時間が前記
一定周期より長く設定された限界時間を越えると前記バ
ス切換回路へ強制切換信号を送出する監視タイマ回路と
を備えたことを特徴とする制御システムのバス切換装置
In a control system in which one controlled object is shared by a plurality of control units via a bus, the controlled object is selectively connected to a control unit inserted in the bus and designated by an input switching signal. The bus switching circuit and the elapsed time from the input time of the processing signal that is output at regular intervals from the control unit currently controlling the controlled object via the bus switching circuit to the input time of the next processing signal. A bus switching device for a control system, comprising: a monitoring timer circuit that sends a forced switching signal to the bus switching circuit when the elapsed time exceeds a set limit time longer than the certain period.
JP16453089A 1989-06-27 1989-06-27 Bus switching device for control system Pending JPH0329046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16453089A JPH0329046A (en) 1989-06-27 1989-06-27 Bus switching device for control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16453089A JPH0329046A (en) 1989-06-27 1989-06-27 Bus switching device for control system

Publications (1)

Publication Number Publication Date
JPH0329046A true JPH0329046A (en) 1991-02-07

Family

ID=15794919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16453089A Pending JPH0329046A (en) 1989-06-27 1989-06-27 Bus switching device for control system

Country Status (1)

Country Link
JP (1) JPH0329046A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008054492A1 (en) 2007-12-11 2009-06-18 Aisin Seiki Kabushiki Kaisha, Kariya-shi Window lift for a vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008054492A1 (en) 2007-12-11 2009-06-18 Aisin Seiki Kabushiki Kaisha, Kariya-shi Window lift for a vehicle

Similar Documents

Publication Publication Date Title
US5638510A (en) Multiplexed system with watch dog timers
JP2593915B2 (en) Double microcomputer system runaway prevention circuit
JPH0329046A (en) Bus switching device for control system
US11675652B2 (en) Semiconductor device
JP2749994B2 (en) Numerical control unit
KR0122456B1 (en) Mode detection method for hot back-up apparatus
JPS60134942A (en) Backup system for abnormal state
JPH05233374A (en) Watchdog timer device
JPH041830A (en) Cpu monitor circuit
JP2725107B2 (en) Interrupt device
JPH10143393A (en) Diagnosis and processing device
JPH08289014A (en) Sequence fault detector
JPS61187056A (en) Abnormality monitor circuit of transmission unit for multidrop serial bus
JPS62106564A (en) Using/spare processor switching control system for information processing system
JPS62277833A (en) Supervisory system for fault of terminal equipment
JPH06295291A (en) Multiprocessor semiconductor integrated circuit device
JPH01120653A (en) Processing system for recovery of abnormality
JPS62256068A (en) Cpu automatic changeover circuit
JPS6095669A (en) Common resources managing circuit
JPH04133162A (en) Operation monitor for processor
JPH02173854A (en) Peripheral controller
KR20000018958A (en) Wireless lan system having an automatic restart circuit
JPH01237859A (en) System switching system
JPS61255445A (en) Cpu supervisory circuit
JPS6038952A (en) Communication processing device