JPH01134633A - Controlling method for duplicated controller - Google Patents

Controlling method for duplicated controller

Info

Publication number
JPH01134633A
JPH01134633A JP62294663A JP29466387A JPH01134633A JP H01134633 A JPH01134633 A JP H01134633A JP 62294663 A JP62294663 A JP 62294663A JP 29466387 A JP29466387 A JP 29466387A JP H01134633 A JPH01134633 A JP H01134633A
Authority
JP
Japan
Prior art keywords
control
control device
input
output
transmitting
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
JP62294663A
Other languages
Japanese (ja)
Inventor
Teruhisa Suzuki
輝久 鈴木
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.)
Toyo Electric Manufacturing Ltd
Original Assignee
Toyo Electric Manufacturing 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 Toyo Electric Manufacturing Ltd filed Critical Toyo Electric Manufacturing Ltd
Priority to JP62294663A priority Critical patent/JPH01134633A/en
Publication of JPH01134633A publication Critical patent/JPH01134633A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To receive input data, to execute the same processing and to prevent the shock of the switching of a duplicated control even at a standby side by connecting two control devices to share an input device, executing the supervision of a transmission line, detecting the abnormality of control devices and executing the switching from the standby side to the control side. CONSTITUTION:Control devices 2' and 3' are connected to an input output device 1 by a transmission line 4' and the connection constitution to share the device 1 is executed. The control device 2' is made into a control side, the control device 3' is made into a standby side, and by the transmitting invitation instruction to the device 1 of the transmitting control part of the control device 2', the transmitting control part of the control device 3' executes the machine only to receive simultaneously the input data transmitted to the control device 2' by the device 1. Based on the input data, the control device 3' executes the same operation as the control device 2' and an arithmetic result is not transferred to the device 1. On the other hand, the supervising part of the control device 3' supervises the receiving instruction of the transmitting instruction arithmetic result of the input data between the device 1 and the control device 2', and when the abnormality occurs at the control device 2', informs the transmitting control part.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入出力装置を共有とする2台の制御装置を用い
た二重化システム方式による二重化制御装置に係り、特
に二重化システムの自動切替を行う二重化制御装置の制
御方法lこ関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a redundant control device using a redundant system method using two control devices that share input/output devices, and particularly to a redundant control device that automatically switches a redundant system. This invention relates to a control method for a duplex control device.

〔従来技術〕[Prior art]

一般に、制御システムの多重化そのものを実現するとす
れば高価なものとなり、また制御システムの多重化を大
規模な入出力装置への採用まで行うことに無理が生じる
ため、その二重化システム方式として第3図に示すもの
が用いられている。
In general, it would be expensive to realize control system multiplexing itself, and it would be unreasonable to apply control system multiplexing to large-scale input/output devices. The one shown in the figure is used.

第3図は従来例の二重化制御装置のシステム概要を示す
もので、1は入出力装置、2,3は制御装置、4は伝送
路、5は切替器である。
FIG. 3 shows a system outline of a conventional redundant control device, in which 1 is an input/output device, 2 and 3 are control devices, 4 is a transmission path, and 5 is a switch.

すなわち、入出力装置1の手前に制御装置2゜3のいず
れかを選択するための切替器5を備え、この切替器5に
よる伝送路4の切替を行うものとなっていた。
That is, a switch 5 for selecting one of the control devices 2 and 3 is provided in front of the input/output device 1, and the transmission line 4 is switched by the switch 5.

そして、制御装置2が制御権をもつとき、図示しない自
動追従装置を用いることにより、その制御権をもつ制御
側制御装置に対して、待機側の制御装置3は制御装置2
に常時追従するようにしているO かような状態で制御装置2に故障が発生すると1制御装
置2から発生される故障信号が切替器5に与えられ、よ
って切替器5が効用されて制御装置2から制御装置3へ
のショックレスな切替が行われ、以降の制御は制御装置
3によって引き続き行れるものとなる。
When the control device 2 has the control right, by using an automatic follow-up device (not shown), the standby control device 3 can control the control device 2 with respect to the control device having the control right.
When a failure occurs in the control device 2 in such a state, a failure signal generated from the control device 2 is given to the switch 5, and the switch 5 is activated and the control device A shockless switching from the control device 2 to the control device 3 is performed, and subsequent control can be continued by the control device 3.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、第3図に示した如き従来の二重化制御装
置の制御方法を用いてなるものは、つぎのような問題点
を有していた。すなわち、(1)制御装置2.3の故障
を完全にキャッチすることに困難があり、そのため制御
装置が故障しても切替器に故障信号が与えられない場合
、システムダウンlこなってしまう。
However, the conventional duplex control device using the control method shown in FIG. 3 has the following problems. That is, (1) it is difficult to completely detect a failure in the control device 2.3, and therefore, even if the control device fails, if a failure signal is not given to the switch, the system will go down.

(2)切替器自体、接触不良や不動作が生じる危険を有
している。
(2) The switch itself has the risk of poor contact or non-operation.

(3)また自動追従装置が故障する可能性を有し、この
ような場合切替指令が送出されると制御系へのショック
が大きく、システムダウンをまねく危険がある。
(3) Furthermore, there is a possibility that the automatic follow-up device may break down, and in such a case, if a switching command is sent out, there will be a large shock to the control system, and there is a risk that the system will go down.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上述したような点に鑑み、各制御装置に伝送路
の動作監視を行う診断手段を保有するとともに、入出力
装置を共有する如く伝送路に各制御装置を接続する系を
なし、入出力装置からの入力のみ制御側、待機側の両制
御装置が可能として、制御権の有無に拘らず制御演算を
行い、かつ待機側の入出力装置への出力のみを抑制する
機能を有キ するものなした格別な装置を実現し得る制御方法を提供
するものである。
In view of the above-mentioned points, the present invention has a system in which each control device has a diagnostic means for monitoring the operation of the transmission path, and also connects each control device to the transmission path so that the input/output device is shared. It has the function of allowing both the control side and standby side control devices to receive input from the output device, performs control calculations regardless of the presence or absence of control authority, and suppresses only the output to the standby side input/output device. The present invention provides a control method that can realize an exceptional device.

〔作 用〕[For production]

しかして本発明は、制御側制御装置、待機側制御装置の
両者は、同じ設定値、パラメータのもとに、同じ入出力
装置からの入力によって制御演算を行うため、その制御
側制御装置が入出力装置からデータを入力するとき、同
時に待機側制御装置もデータを入力するものとなる。
Therefore, in the present invention, since both the control side control device and the standby side control device perform control calculations based on the same setting values and parameters and input from the same input/output device, the control side control device receives input from the same input/output device. When data is input from the output device, the standby control device also inputs data at the same time.

また、各制御装置が具備する診断手段は、待機側制御装
置がその演算結果を入出力装置に出力するのを抑制する
作用をも行うものである。
Further, the diagnostic means included in each control device also functions to suppress output of the calculation result by the standby side control device to the input/output device.

以下、本発明を図面に基づいて詳細説明する。Hereinafter, the present invention will be explained in detail based on the drawings.

〔実 施 例〕〔Example〕

第1図および第2図は本発明の基本概念およびその理解
を容易1こするため示したもので t21 、3/は制
御装置である。図中、第3図と同符号のものは同じ機能
を有する部分を示す。ここに、制御装置2’ 、 3’
はそれぞれ伝送路4′を導入する伝送制御部OTR,監
視部SPvを備えてなる。
1 and 2 are shown to facilitate understanding of the basic concept of the present invention, and t21 and 3/ are control devices. In the figure, the same reference numerals as in FIG. 3 indicate parts having the same function. Here, control devices 2' and 3'
are each equipped with a transmission control unit OTR and a monitoring unit SPv, each of which introduces a transmission path 4'.

すなわち1入出力装置1に制御装置2’ 、 3’を伝
送路4′により接続し、入出力装f1を共用する接続構
成をなす。さらに、制御装置τ、3′は内部に伝送路4
′を通して、入出力装置1とデータ伝送を行うための伝
送制御部OTR,およびデータ伝送が行われているか否
かを検知するための監視部SPYを保有している。かか
る構成の機能を第2図を参照してつぎに詳述する。
That is, the control devices 2' and 3' are connected to one input/output device 1 through a transmission line 4', forming a connection configuration in which the input/output device f1 is shared. Furthermore, the control device τ, 3' has a transmission line 4 inside.
', it has a transmission control unit OTR for performing data transmission with the input/output device 1, and a monitoring unit SPY for detecting whether data transmission is being performed. The function of such a configuration will now be described in detail with reference to FIG.

ここで、制御装置2′が制御側、制御装置3′が待機側
とした場合で説明する。
Here, a case will be explained in which the control device 2' is on the control side and the control device 3' is on the standby side.

いま、制御装R2′の伝送制御部が伝送路4′を経由し
て入出力装置lとのデータ伝送を制御する。
Now, the transmission control section of the control device R2' controls data transmission with the input/output device 1 via the transmission line 4'.

このデータ伝送は所定のデータ伝送制御手順を用いて行
われるが、中心となる機能は、入出力装置に対するその
入力データを制御装置2′へ送信勧誘指示、入力データ
の受信処理および入出力装置1に対する制御装置2′の
演算結果の受信指示である。
This data transmission is performed using a predetermined data transmission control procedure, but the main functions are to instruct the input/output device to send the input data to the control device 2', process the input data, and process the input data to the input/output device 1. This is an instruction to receive the calculation results of the control device 2'.

制御装置3′の伝送制御部は、制御装置2′の伝送制御
部の入出力装置に対する送信勧誘指示により、入出力装
置1が制御装置2′に送信している入力データを、同時
に受信する機のみ実行する。この入力データに基づき制
御装置3′は制御装置2′と同一の演算を行う。ここで
、制御装置3′の演算結果は制御装置3′が待機側のた
め、入出力装置1には伝送されない。
The transmission control section of the control device 3' is configured to simultaneously receive the input data that the input/output device 1 is transmitting to the control device 2' in response to a transmission invitation instruction to the input/output device of the transmission control section of the control device 2'. Execute only. Based on this input data, the control device 3' performs the same calculation as the control device 2'. Here, the calculation results of the control device 3' are not transmitted to the input/output device 1 because the control device 3' is on the standby side.

一方、制御装置3′の監視部は、制御装f 2’と入出
力装置1との間で行われる入力データの送信勧誘指示あ
るいは演算結果の受信指示を監視し、定められた時間を
経過してもなおかつ、これら送信勧誘指示、受信指示が
検知されないとき、制御部fIt、2′に異常が発生し
て入出力装置1とのデータ伝送が不能になったと判断の
うえ、制御装置3′の伝送制御部に制御装置2′の異常
を通知する。
On the other hand, the monitoring unit of the control device 3' monitors the input data transmission invitation instruction or the calculation result reception instruction performed between the control device f2' and the input/output device 1, and waits for a predetermined period of time to pass. However, if these transmission solicitation instructions and reception instructions are not detected, it is determined that an abnormality has occurred in the control unit fIt, 2' and data transmission with the input/output device 1 is no longer possible, and the control unit 3' is The abnormality of the control device 2' is notified to the transmission control section.

制御装置3′の伝送制御部は、監視部上りの制御装置2
異常を通知されると、直ちに待機側より制御側に移り、
伝送路4′を経由して入出力装置1に対して、その入力
データの送信勧誘指示および制御装置3′の演算結果の
受信指示を行う。
The transmission control section of the control device 3' is connected to the control device 2 upstream of the monitoring section.
When notified of an abnormality, the system immediately shifts from the standby side to the control side.
Via the transmission path 4', the input/output device 1 is instructed to invite the input data to be sent and to receive the calculation results of the control device 3'.

このよう1こして、制御装置2’ 、 3’において制
御装置2′の異常を制御装置3′は検知し、さらに制御
装置3′は自動的に待機側より制御側に切替ることがで
きる。また、制御装置3′が制御側で、制御装置τが待
機側であっても、同様に切替ることは明らかである。
In this way, the control device 3' can detect an abnormality in the control device 2' in the control devices 2' and 3', and furthermore, the control device 3' can be automatically switched from the standby side to the control side. Furthermore, it is clear that even if the control device 3' is on the control side and the control device τ is on the standby side, switching can be performed in the same way.

なお、その制御装置2’ 、 3’は前述した如き切替
機能を奏して、切替の際のショックを防止し得るもので
あることから、特殊なハードウェアが不要であることは
言うまでもない。
Note that since the control devices 2' and 3' perform the switching function as described above and can prevent shocks during switching, it goes without saying that no special hardware is required.

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

以上説明したようζζ本発明によれば、入出力装置を共
有とした2個の制御装置を接続するとともに、その伝送
路の監視を行うことによって確実に制御装置の異常を検
知し、待機側から制御側への切替を実行し、待機側にお
いても入力データの受信を行いかつ制御側と同一の演習
を行うことにより、その切替のショックを防止し得る有
用な二重化制御装置の制御方法を提供できる。
As explained above, ζζAccording to the present invention, by connecting two control devices that share an input/output device and monitoring their transmission paths, it is possible to reliably detect an abnormality in the control device, and from the standby side. By executing the switch to the control side, receiving input data on the standby side, and performing the same exercises as the control side, it is possible to provide a useful control method for a redundant control device that can prevent the shock of the switch. .

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

第1図は本発明の基本概念を示す図、第2図は第1図の
説明のため示した動作フロー図、第3図は従来例を示す
システム概要図である。 1・・・・・・入出力装置、2 、3 、2’ 、 3
’・・・・・・制御装置、4.4′・旧・・伝送路。
FIG. 1 is a diagram showing the basic concept of the present invention, FIG. 2 is an operation flow diagram shown to explain FIG. 1, and FIG. 3 is a system outline diagram showing a conventional example. 1...Input/output device, 2, 3, 2', 3
'...Control device, 4.4' Old transmission line.

Claims (1)

【特許請求の範囲】[Claims] 入出力装置を共有とする2台の制御装置、該2台の制御
装置にそれぞれ伝送路の動作監視を行う診断手段を具備
するとともに、一方を制御側制御装置として他方を待機
側制御装置として設け、前記待機側制御装置を、前記制
御側制御装置が入出力装置からデータを入力するとき同
時に読取りかつ同じ演算を行い、演算終了ごとに、制御
側制御装置が演算結果を伝送路を介して入出力装置へデ
ータとして出力しているか否かを診断することにより、
該制御側制御装置が入出力装置へデータを出力していな
い場合に伝送路の制御権を自動的に取得し、かつ待機側
制御装置の演算結果を伝送路を介して入出力装置へデー
タとして出力するようにしたことを特徴とする二重化制
御装置の制御方法。
Two control devices that share an input/output device, each of the two control devices is equipped with a diagnostic means for monitoring the operation of a transmission path, and one is provided as a control side control device and the other as a standby side control device. , when the control side control device inputs data from the input/output device, the standby side control device simultaneously reads the data and performs the same calculation, and each time the calculation is completed, the control side control device inputs the calculation result via the transmission path. By diagnosing whether or not data is being output to the output device,
When the control side control device is not outputting data to the input/output device, the control right of the transmission path is automatically acquired, and the calculation result of the standby side control device is sent as data to the input/output device via the transmission path. A control method for a redundant control device, characterized in that the control device outputs an output.
JP62294663A 1987-11-20 1987-11-20 Controlling method for duplicated controller Pending JPH01134633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62294663A JPH01134633A (en) 1987-11-20 1987-11-20 Controlling method for duplicated controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62294663A JPH01134633A (en) 1987-11-20 1987-11-20 Controlling method for duplicated controller

Publications (1)

Publication Number Publication Date
JPH01134633A true JPH01134633A (en) 1989-05-26

Family

ID=17810688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62294663A Pending JPH01134633A (en) 1987-11-20 1987-11-20 Controlling method for duplicated controller

Country Status (1)

Country Link
JP (1) JPH01134633A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014153902A (en) * 2013-02-08 2014-08-25 Mitsubishi Electric Corp Dual system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59211143A (en) * 1983-05-17 1984-11-29 Nissan Motor Co Ltd Car control circuit using microcomputer
JPS61213932A (en) * 1985-03-18 1986-09-22 Hitachi Ltd Decentralized duplex computer system and its control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59211143A (en) * 1983-05-17 1984-11-29 Nissan Motor Co Ltd Car control circuit using microcomputer
JPS61213932A (en) * 1985-03-18 1986-09-22 Hitachi Ltd Decentralized duplex computer system and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014153902A (en) * 2013-02-08 2014-08-25 Mitsubishi Electric Corp Dual system

Similar Documents

Publication Publication Date Title
JPH01134633A (en) Controlling method for duplicated controller
JPH0644093A (en) System for changing-over duplicating device
JPH08152905A (en) Duplex system for programmable controller
JPH01145701A (en) Data link system for programmable controller
JPS6053398A (en) Remote supervisory controller
JP4431262B2 (en) Control device
JPH0439707A (en) Emergency stop device for numerical controller
JPS60134942A (en) Backup system for abnormal state
JPH01154202A (en) Duplex process controller
JPS61276497A (en) Method for recognizing deadlock
JPH07253802A (en) Duplicate system for controller
JPS62196702A (en) Output controlling circuit for programmable controller
JP2005122592A (en) Distributed control device
JPH08106400A (en) Duplex controller with duplexed process input/output device
JPH0273432A (en) Duplex system for control part
JPS6097402A (en) Arithmetic controller
JPH0314398A (en) Digital cont roller system
JPS62278601A (en) Logical control unit
JPH04192739A (en) Maintenance system
JPH1185202A (en) Maintenance method for doubled system
JPS63735A (en) Automatic switching system for service processor
JPS62256162A (en) Change over controller for duplex computer system
JPH0250737A (en) Duplex system
JPH01120653A (en) Processing system for recovery of abnormality
JPS60258608A (en) Diagnosis system of controller