JPS5911403A - Backup system of sequence control - Google Patents

Backup system of sequence control

Info

Publication number
JPS5911403A
JPS5911403A JP12014382A JP12014382A JPS5911403A JP S5911403 A JPS5911403 A JP S5911403A JP 12014382 A JP12014382 A JP 12014382A JP 12014382 A JP12014382 A JP 12014382A JP S5911403 A JPS5911403 A JP S5911403A
Authority
JP
Japan
Prior art keywords
controller
index
main controller
transferred
control
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
JP12014382A
Other languages
Japanese (ja)
Inventor
Tatsuya Izumina
泉名 達也
Masao Shima
島 正雄
Kiyoshi Mochizuki
望月 清
Yasuo Tomita
富田 保雄
Toru Abe
徹 阿部
Shoichi Koibuchi
鯉「淵」 正一
Souichirou Uchinuma
創一朗 内沼
Atsushi Magai
真貝 厚
Hideyuki Shimizu
清水 英行
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP12014382A priority Critical patent/JPS5911403A/en
Publication of JPS5911403A publication Critical patent/JPS5911403A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Feedback Control In General (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To ensure a smooth operation of a backup controller when a main controller has a fault, by transferring an index showing the executing unit of a control sequence to the backup controller via a switch. CONSTITUTION:Both a main controller MDC and a backup controller BDC contain fixed memories ROMM and ROMB, variable memories RAMM and RAMB, and input/output circuits I/OM and I/OB centering on processors CPUM and CPUB respectively. The CPUM usually executes the instruction of the ROMM and controls the I/OM in accordance with a data base DB. At the same time, a CPUS of a switch SW transfers periodically the DB of the RAMM to an RAMS. A pointer area is provided to each RAM to store an index showing the executing unit of a control sequence. This index RAMS is transferred in response to the transfer of the DB to the SW. When the MDC has a fault, a fault signal COS is applied to the BCD via the SW. Then the index is transferred to the pointer of the DBMB, and at the same time the start is indicated to the CPUB to substitute the control.

Description

【発明の詳細な説明】 本発明は、シーケンス制御装置へ適用されるバックアッ
プ方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a backup method applied to a sequence control device.

制御装置のバックアップ方式としては、コントローラ1
台毎に予備コントローラを設け、並行運転を行なうデュ
アル方式と、数台のコントローラに対して1台の予備コ
ン)1=−ラを設けるデユーブレックス方式とがあり、
デュアル方式では、並行運転を行ないながら現用と予備
とのコントローラ出力を比較照合のうえ、両川力の不一
致によシ障害を検知し、現用と予備との切替制御を行な
っているが、不一致検出の論理構成が複雑化すると共に
、予備コントローラの台数が増加するため不経済であ勺
、一般にデユーブレックス方式が採用されている。
As a backup method for the control device, controller 1
There is a dual system in which a spare controller is provided for each controller to perform parallel operation, and a duplex system in which one spare controller is installed for several controllers.
In the dual system, the controller outputs of the active and standby controllers are compared and verified while running in parallel, and failures due to discrepancies between the two rivers are detected and control is performed to switch between the active and standby systems. Since the logic configuration becomes complicated and the number of standby controllers increases, it is uneconomical, so the duplex method is generally adopted.

しかし、デユーブレックス方式ではシーケンス制御の場
合、主コントローラが障害を生じ予備コントローラへ制
御の切替を行なう際、待機中の予(<flコントローラ
が新らたに制御動作を開始するため、制御動作の開始状
況が不特定であυ、制御動作の引継ぎが円滑とならない
欠点を生じている。
However, in the duplex system, in the case of sequence control, when the main controller fails and the control is switched to the standby controller, the standby controller (<fl) starts a new control operation, so the control operation is The starting situation is unspecified υ, resulting in the disadvantage that the control operation cannot be taken over smoothly.

本発明は、従来のか\る欠点を根本的に排除する目的を
有し、各々がプロセッサおよびメモリを有する主コント
ローラ、切替器および予備コントローラからなるバック
アップ方式において、各メモリへ制御シーケンスの実行
単位を示す指標を格納するポインタエリヤを設け、主コ
ントローラにおけるポインタエリヤの指標をデータベー
スの転送に応じて切替器のポインタエリヤへ転送してお
き、主コントローラに障害を生じたとき切替器のポイン
タエリヤから予備コントローラのポインタエリヤへ指標
を転送し、との指標に基づいて予備コントローラが制御
動作の代行を開始するものとした極めて効果的な、シー
ケンス制御のバックアップ方式を提供するものである。
The present invention has the purpose of fundamentally eliminating such disadvantages of the conventional system, and uses a backup system consisting of a main controller, a switch, and a standby controller, each having a processor and a memory, to transfer execution units of control sequences to each memory. A pointer area is provided to store the index indicated, and the index in the pointer area in the main controller is transferred to the pointer area of the switch in accordance with the database transfer, and when a failure occurs in the main controller, the index is transferred from the pointer area of the switch to the standby pointer area. An extremely effective backup method for sequence control is provided in which an index is transferred to the pointer area of the controller, and a standby controller starts performing control operations on behalf of the controller based on the index.

以下、実施例を示す図によって本発明の詳細な説明する
Hereinafter, the present invention will be explained in detail with reference to figures showing examples.

同図は、全構成を示すブロック図であシ、主コントロー
ラMDCおよび予備コントローラBDCは、マイクロプ
ロセッサ等のプロセッサCPUM%CPUBを中心とし
、固定メモリROMM、ROMB。
The figure is a block diagram showing the entire configuration, and the main controller MDC and backup controller BDC are centered around a processor such as a microprocessor CPUM%CPUB, and fixed memories ROMM and ROMB.

可変メモリRAMM、RAMBおよび入出力回路I /
 OM 、I / OBを周辺へ配し、これらを母線B
HM %13)In により接続しておシ、常時は、プ
ロセッサCPUMが固定メモリROMMへ格納された命
令を実行し、可変メモIJRAMMへ格納されたデータ
ベースに基づき制御動作を行ない、入出力回路I / 
OMを介する外部とのデータ授受によシ、プロセス等に
対するシーケンス制御を行なっている。
Variable memory RAMM, RAMB and input/output circuit I/
Arrange OM, I/OB around the periphery and connect them to bus line B.
Normally, the processor CPU executes instructions stored in the fixed memory ROMM and performs control operations based on the database stored in the variable memory IJRAMM.
Sequence control for processes, etc. is performed by exchanging data with the outside via the OM.

また、切替器SWにも、同様のプロセッサCPU sお
よび可変メモリRAM5が備えてあシ、インターフェイ
スI/Faを介して主コントローラMDCのバッファメ
モリBMMおよびレジスタRGMと接続されておシ、可
変メモリRA MMのデータベースを、バッファメモリ
BMMを介して受取シ、可変メモリRAM5へ格納する
転送制御を周期的に行なっている。
The switch SW also includes a similar processor CPU s and variable memory RAM 5, and is connected to the buffer memory BMM and register RGM of the main controller MDC via the interface I/Fa. Transfer control is periodically performed to receive and store the MM database into the variable memory RAM 5 via the buffer memory BMM.

このため、可変メモリRAM、には、可変メモリRA 
M Mのデータベースと同一へのデータベースが格納さ
れるものとなっておυ、主コントローラMDCに障害を
生じた場合、可変メモ!J RAM5のデータベースが
予備コントローラBDCの可変メモリRA M Bへ転
送されるものとなっている。
For this reason, the variable memory RAM has variable memory RAM.
The same database as the M M database is stored, so if the main controller MDC fails, variable memo! The database in the JRAM 5 is to be transferred to the variable memory RAM B of the standby controller BDC.

1 すなわち、インターフェイスIZFbを介して予備
コントローラBDCのレジスタRG Bおよびバッファ
メモリBMBと接続されておシ、主コントローラMDC
の自己診断による障害信号(COS)または、図上省略
したウォッチドッグタイマーが障害検出々力WDTOU
Tを生ずれば、ORゲート軸を介して障害指令(ps)
がインターフェイスI/Faへ与えられ、これに応じて
プロセッサCPU5が可変メモリRA M s内のデー
タベースを、レジスタRG +f:介して可変メモIJ
 RAMBへ転送すると共に、プロセッサCPUBに対
し制御動作代行の開始を指令するものとなっている。
1 That is, it is connected to the register RGB and buffer memory BMB of the spare controller BDC via the interface IZFb, and the main controller MDC
The failure signal (COS) by self-diagnosis of
If T occurs, a fault command (ps) is sent via the OR gate axis.
is given to the interface I/Fa, and in response, the processor CPU 5 transfers the database in the variable memory RAM s to the variable memory IJ via the register RG +f:
In addition to transferring the data to RAMB, it also instructs processor CPUB to start acting as a control operation.

このため、予備コントローラBDCにおいては、プロセ
ッサCPUnが固定メモリROM Mと同様の格納内容
を有する固定メモIJROMB内の命令を実行し、可変
メモIJRAM、内の転送された゛データベースに基づ
き制御動作を行ない、入出力回路I10゜を介してプロ
セス等とデータの授受を開始して制御動作の代行を行な
う。
Therefore, in the backup controller BDC, the processor CPUn executes the instructions in the fixed memory IJROMB having the same storage contents as the fixed memory ROMM, and performs control operations based on the transferred database in the variable memory IJRAM. It starts exchanging data with processes etc. via the input/output circuit I10° and performs control operations on behalf of it.

なお、主コントローラMDCと予備コントローラBDC
とは同一の構成となっているため、若し、予備コントロ
ーラBDCに障害を生ずれば、予備コントローラBDC
のORゲートCB ?介して障害指令(DS )が送出
され、前述とは逆方向の制御によシ、主コントローラM
DCが制御動作を開始するものとなっている。
In addition, the main controller MDC and the backup controller BDC
Since they have the same configuration, if a failure occurs in the backup controller BDC, the backup controller BDC
OR gate CB? A fault command (DS) is sent out via the main controller M for control in the opposite direction to that described above.
The DC initiates the control operation.

たyし、可変メモリRA M M s RAM S %
 RAM Bには、制御シーケンスの実行単位を示す指
標を格納するポインタエリヤ(以下、ポインタ)が設け
てあυ、次表に示すとおシ、常時は主コントローラRi
DCの制御シーケンス進行に伴ない、実行単位を示す指
標A〜工等が実行順位にしたがい、プログラムカウンタ
等によシ逐次更新のうえ格納されるものとなっている。
However, variable memory RAM M s RAM S %
RAM B is provided with a pointer area (hereinafter referred to as pointer) that stores an index indicating the execution unit of the control sequence.
As the control sequence of the DC progresses, indicators A to A, etc. indicating execution units are sequentially updated and stored in a program counter or the like in accordance with the order of execution.

すなわち、主コントローラMDCにおいては、1ポイン
タの内容〃がAから1へと更新されるのに伴ない、これ
と対応して気実行シーケンス”がaからiへと推移する
が、時刻t8とt、との間においてゝデータベース転送
Iが行なわれ\ば、これに応じて指標の転送も行なわれ
、切替器swにおける“ポインタの内容Iが今寸でのX
からDへ更新される。
In other words, in the main controller MDC, as the content of the 1 pointer is updated from A to 1, the qi execution sequence changes from a to i, but at times t8 and t. If the database transfer I is carried out between
is updated from to D.

また、時刻t、。がら主コントローラMDCの動作が不
安定となシ、時刻ttlにおいて障害指令(DS )が
送出されると、切替器swのプロセッサCPU5が指標
の転送を予備コントローラBDCに対し時刻t5におい
て行なうため、予備コントローラBDCにおける1ポイ
ンタの内容〃がDとなシ、これを基阜として予備コント
ローラBDCが主コントローラMDCと同様の動作を開
始し、DからG等へ指標の更新を行なう。
Also, time t. However, when the operation of the main controller MDC is unstable, when a failure command (DS) is sent at time ttl, the processor CPU5 of the switch sw transfers the index to the backup controller BDC at time t5. The content of the 1 pointer in the controller BDC is D, and based on this, the backup controller BDC starts the same operation as the main controller MDC, and updates the index from D to G, etc.

このため、予備コントローラBDCにおける気実行シー
ケンス〃はd−gとなシ、主コントローラMDCの1実
行シーケンス“と若干は重複するが、はソ、主コントロ
ーラMDCが今まで実行した制御をそのま\継続するも
のとなり、予備コントローラBDCが制御動作を円滑に
引継ぐものとなる。
Therefore, although the execution sequence in the standby controller BDC overlaps slightly with the execution sequence in the main controller MDC, it is possible to continue the control that the main controller MDC has executed until now. The backup controller BDC will smoothly take over the control operation.

なお、″データベース転送〃の時間的間隔は、状況に応
じて定めればよく、主コントローラMDCおよび、これ
と対応する切替器謂の台数は、任意に定められるもので
あシ、本発明は種々の変形が自在である。
Note that the time interval for "database transfer" may be determined depending on the situation, and the number of main controllers MDC and corresponding switching devices may be determined arbitrarily. can be freely modified.

以上の説明によυ明らかなとおり本発明によれば、主コ
ントローラに障害を生じた場合、今までの制御シーケン
スをはyそのま\の状態によシ予備コントローラが引継
ぐものとなシ、主コントローラから予備コントローラへ
の切替えによる制御状況が円滑となるため、各種用途の
シーケンス制御において顕著な効果が得られる。
As is clear from the above explanation, according to the present invention, if a failure occurs in the main controller, the backup controller will take over the previous control sequence as it is. Since the control situation is smoothed by switching from the controller to the standby controller, remarkable effects can be obtained in sequence control for various applications.

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

図は本発明の実施例を示すブロック図である。 MDC−−・・主コントローラ、SW・拳・・切替器、
BDC@−・・予備コントローラ、CP U MsCP
Us% CPUB@拳−・プロセッサ、RAMM。 RAM5. RAMB ” ・・”可変メモリ。 %吐出願人   山武ハネウェル林式会社代  理  
人   山 川 政 樹(ほか1名)東京都大田区西六
郷4丁目28番 1号山武ハネウェル株式会社蒲 出玉場内 0発 明 者 鯉渕正− 東京都太田区西六郷4丁目28番 1号山武ハネウェル株式会社蒲 出玉場内 0発 明 者 内沼側−朗 東京都大田区西六郷4丁目28番 1号山武ハネウェル株式会社蒲 出玉場内 0発 明 者 真貝厚 東京都大田区西六郷4丁目28番 1号山武ハネウェル株式会社蒲 出玉場内 0発 明 者 清水美行 東京都大田区西六郷4丁目28番 1号山武ハネウェル株式会社蒲 田工場内
The figure is a block diagram showing an embodiment of the present invention. MDC--Main controller, SW/Fist...Switcher,
BDC@--Spare controller, CPU MsCP
Us% CPUB@Fist- Processor, RAMM. RAM5. RAMB "..." Variable memory. Applicant: Yamatake Honeywell Hayashiki Company Agent
Person Masaki Yamakawa (and 1 other person) 4-28-1 Nishirokugo, Ota-ku, Tokyo Yamatake Honeywell Co., Ltd. Kamadamaba 0 Inventor Tadashi Koibuchi - 4-28-1 Nishirokugo, Ota-ku, Tokyo Yamatake Honeywell Co., Ltd. Kamide Ballpark 0 Inventor: Uchinuma side - Ro 4-28-1 Nishirokugo, Ota-ku, Tokyo Yamabu Honeywell Co., Ltd. Kamide Ballpark 0 Inventor: Magai Atsushi 4-28 Nishirokugo, Ota-ku, Tokyo No. 1 Yamatake Honeywell Co., Ltd. Kamata Tamaba 0 Inventor Miyuki Shimizu 4-28-1 Nishirokugo, Ota-ku, Tokyo Inside Yamatake Honeywell Co., Ltd. Kamata Factory

Claims (1)

【特許請求の範囲】[Claims] 制御動作を行なうプロセッサおよびデータベースを格納
するメモリを備えた主コントローラと、前記メモリのデ
ータベースが転送されるメモリおよび転送制御を行なう
プロセッサを備えた切替器と、前記主コントローラに障
害を生じたとき前記切替器のメモリからデータベースの
転送を受けるメモリおよび該データベースに基づき前記
主コントローラの制御動作を代行するプロセッサを備え
た予備コントローラとからなるバックアップ方式におい
て、前記各メモリへ制御シーケンスの実行単位を示す指
標を格納するポインタエリヤを設け、前記主コントロー
ラにおけるポインタエリヤの指標をデータベースの転送
に応じて前記切替器のポインタエリヤへ転送し、前記主
コントローラに障害を生じたとき前記ポインタエリヤの
指標を前記予備コントローラのポインタエリヤへ転送す
るととを特徴としたシーケンス制御のバックアップ方式
a main controller including a processor that performs control operations and a memory that stores a database; a switching device that includes a memory to which the database in the memory is transferred; and a processor that performs transfer control; In a backup system comprising a memory that receives a database transferred from a memory of a switching device and a backup controller equipped with a processor that performs control operations on behalf of the main controller based on the database, an index indicating an execution unit of a control sequence to each of the memories. A pointer area is provided for storing the index of the pointer area in the main controller, and the index of the pointer area in the main controller is transferred to the pointer area of the switch in accordance with the transfer of the database, and when a failure occurs in the main controller, the index of the pointer area is transferred to the reserve. A sequence control backup method characterized by data transfer to the pointer area of the controller.
JP12014382A 1982-07-10 1982-07-10 Backup system of sequence control Pending JPS5911403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12014382A JPS5911403A (en) 1982-07-10 1982-07-10 Backup system of sequence control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12014382A JPS5911403A (en) 1982-07-10 1982-07-10 Backup system of sequence control

Publications (1)

Publication Number Publication Date
JPS5911403A true JPS5911403A (en) 1984-01-21

Family

ID=14779025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12014382A Pending JPS5911403A (en) 1982-07-10 1982-07-10 Backup system of sequence control

Country Status (1)

Country Link
JP (1) JPS5911403A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5444171A (en) * 1977-09-13 1979-04-07 Honeywell Inc Process control system with back up process controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5444171A (en) * 1977-09-13 1979-04-07 Honeywell Inc Process control system with back up process controller

Similar Documents

Publication Publication Date Title
US5696989A (en) Microcomputer equipped with DMA controller allowed to continue to perform data transfer operations even after completion of a current data transfer operation
US4941087A (en) System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations
JP2886856B2 (en) Redundant bus connection method
US5481756A (en) DMA controller mailing auto-initialize halting unit
JPS5911403A (en) Backup system of sequence control
JPH0285941A (en) Data processing system
JP3299115B2 (en) Redundant system
EP0500967B1 (en) Method of nonsynchronous access to shared memory
JPH0683314B2 (en) Call information rescue method
JPS6239792B2 (en)
JPH04158457A (en) Duplex system
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JPH0659923A (en) Duplex system using cpu
JPH02183342A (en) Interruption controller
JPH0546530A (en) Computer control circuit
JPS5849903B2 (en) Computer parallel connection system
JPH0375857A (en) Multi-processor system
JPH0440534A (en) Stand-by device switching system
JPH0833825B2 (en) Microprocessor
JPS6143350A (en) Switching suppression system of service processor
JPH06243102A (en) Interruption synchronizing method for multiplex information processing system
JPS62160560A (en) Bus control system
JPS58109908A (en) Monitor for sequence controller
JPS5837577B2 (en) common bass
JPS60238901A (en) System switching system