JPH01116801A - Dual system switching method - Google Patents

Dual system switching method

Info

Publication number
JPH01116801A
JPH01116801A JP27684887A JP27684887A JPH01116801A JP H01116801 A JPH01116801 A JP H01116801A JP 27684887 A JP27684887 A JP 27684887A JP 27684887 A JP27684887 A JP 27684887A JP H01116801 A JPH01116801 A JP H01116801A
Authority
JP
Japan
Prior art keywords
bus
input
output
standby
section
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
JP27684887A
Other languages
Japanese (ja)
Inventor
Yuji Matsumoto
雄二 松本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP27684887A priority Critical patent/JPH01116801A/en
Publication of JPH01116801A publication Critical patent/JPH01116801A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To always check the soundness of a stand-by system by accessing a register provided on the bus receiver of an input/output part or the bus driver of a central processing unit part with the central processing unit part of the stand-by system disconnected from the input/output part. CONSTITUTION:In a bus receiver 8 of the stand-by system disconnected from an input/output bus 15 of an input/output part 3 by a dual system switching command signal, data is written in a register 21 for self-diagnosis from a CPU part 2 through a control signal line 24b, and data in the same address is read through a control signal line 24a thereafter. The CPU part 2 of the stand-by system always accesses the bus receiver 8 up to the last stage from a bus driver 7 by this processing and data outputted from the CPU part 2 is compared with this data, which is read back by the next processing after being temporarily stored in the register 21 for self-diagnosis, to always check the soundness of the stand-by system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、待機冗長系を構成する制御装置の二重系切
換方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dual system switching system for a control device constituting a standby redundant system.

〔従来の技術〕[Conventional technology]

第2図は例えば特開昭61−235901号公報に示さ
れた従来の二重系切換方式を示すブロック図であり、図
において、1は制御装置のA系の中央処理装置(以下、
CPU部という)部、2はこのA系のCPtJ部1と二
重化されて待機冗長系を形成するB系のCPU部、3は
A系およびB系のCPU部1,2からアクセスされる入
出力部、4はA系およびB系の管理を行う二重系切換指
令部、5はA系のCPU部1と入出力部3をリンクする
パスドライバ、6は同様のバスレシーバ、7゜8はB系
のパスドライバとレシーバ、9は入力カード、10は出
力カードである。
FIG. 2 is a block diagram showing a conventional dual system switching system disclosed in, for example, Japanese Unexamined Patent Publication No. 61-235901.
2 is the CPU section of the B system which is duplicated with the CPtJ section 1 of the A system to form a standby redundant system, and 3 is the input/output accessed by the CPU sections 1 and 2 of the A system and B system. 4 is a dual system switching command unit that manages the A system and B system, 5 is a path driver that links the CPU unit 1 of the A system and the input/output unit 3, 6 is a similar bus receiver, and 7° and 8 are A B-system path driver and receiver, 9 is an input card, and 10 is an output card.

又、11は二重系切換指令部4からA系およびB系のc
pu部1,2に対し運用系あるいは待機系のモード指定
をする信号、12は二重系切換指令部4からバスレシー
バに対し運用系あるいは待機系の切換信号、13.14
はそれぞれA系およびB系のCPUカード、15は入出
力部のパス1.16.17はそれぞれA系およびB系の
CPU部1.2の自己診断結果を示す故障状態信号であ
る。
In addition, 11 is a signal from the dual system switching command section 4 to c of the A system and B system.
13.14 A signal for specifying the active system or standby system mode for the PU units 1 and 2; 12 is a switching signal for the active system or standby system from the dual system switching command unit 4 to the bus receiver; 13.14
are the A-system and B-system CPU cards, 15 is the path 1 of the input/output section, and 16 and 17 are failure state signals indicating the self-diagnosis results of the A-system and B-system CPU sections 1.2, respectively.

次に動作について説明する。第2図において、A系、B
系の020部1および2は同一機能を持ち、系として対
等であり、二重化されて待機冗長系を構成しており、常
時はいずれかの系が運用系となり、他系が待機系となる
Next, the operation will be explained. In Figure 2, A system, B system
The 020 units 1 and 2 of the systems have the same function, are equal as systems, and are duplexed to form a standby redundant system, with one of the systems always being the active system and the other system being the standby system.

運用・待機の指示は二重系切換指令部4からの二重系モ
ード信号11と12によってなされる。
Operation/standby instructions are given by dual system mode signals 11 and 12 from the dual system switching command unit 4.

いま、A系が運用系、B系が待機系として以下の説明を
行う。A系の020部1は二重系切換指令部4からの信
号11により自系が運用系であることを知り、運用系と
しての処理演算を行う。
The following explanation will be given assuming that system A is the active system and system B is the standby system. The 020 unit 1 of the A system learns from the signal 11 from the dual system switching command unit 4 that its own system is the active system, and performs processing operations as the active system.

このとき、同時に二重系切換指令部4からバスレシーバ
6へ運用系指令信号が伝送され、A系の020部1はバ
スドライバ5、バスレシーバ6を介して入出力部3とリ
ンクされる。
At this time, an active system command signal is simultaneously transmitted from the dual system switching command section 4 to the bus receiver 6, and the A system 020 section 1 is linked to the input/output section 3 via the bus driver 5 and bus receiver 6.

又、同時に二重系切換指令部4からは待機系のCPU部
2と待機系のバスレシーバ8に待機系指令信号が伝送さ
れる。これにより、B系のCPU部2は待機系としての
処理演算を行5゜そして、バスレシーバ8は待機系指令
信号により、入出力部3の拡張バスへのアクセスを禁止
されるので、A系の020部1が入出力カード9,10
をアクセスする際、入出力部3に対し何の干渉もしない
ことになる。
At the same time, a standby system command signal is transmitted from the dual system switching command section 4 to the standby system CPU section 2 and the standby system bus receiver 8. As a result, the CPU section 2 of the B system performs processing operations as a standby system, and the bus receiver 8 is prohibited from accessing the expansion bus of the input/output section 3 by the standby system command signal. 020 part 1 is input/output card 9, 10
When accessing, there will be no interference with the input/output section 3.

従来の構成でのバスレシーバ6のブロック図を第3図に
示す。運用系は3ステートバツフアのゲートを開き、待
機系は閉じることになる。すなわち、3ステートバツフ
ア198〜19dにはそれぞれ二重系切換指令部4から
の二重系切換指令が入力されるとともに、3ステートバ
ツフア19aはバッファ18a、アドレスバスな経てC
PU1からの運用系指令を入出力バス15に伝送する。
A block diagram of the bus receiver 6 in a conventional configuration is shown in FIG. The active system will open the gate of the 3-state buffer, and the standby system will close it. That is, the dual system switching command from the dual system switching command unit 4 is input to the 3-state buffers 198 to 19d, respectively, and the 3-state buffer 19a is inputted to the buffer 18a and the C via the address bus.
The operational command from the PU 1 is transmitted to the input/output bus 15.

:3xチー)バッファ19bはバッファ18b。:3xchi) Buffer 19b is buffer 18b.

コントロール信号バスを介して入出力バス15に伝送し
、3ステートバツフア19cはバッファ18C、データ
バスを介して020部1からのデータを入出力バス15
に伝送する。
The 3-state buffer 19c transmits data to the input/output bus 15 via the control signal bus, and the 3-state buffer 19c transmits data from the 020 section 1 via the buffer 18C and the data bus to the input/output bus 15.
to be transmitted.

一方、3ステートバツフア19dは入出力ハス15から
のデータをバッファ18d、データバスを経て020部
1に伝送する。
On the other hand, the 3-state buffer 19d transmits data from the input/output lot 15 to the 020 unit 1 via the buffer 18d and the data bus.

ここに、B系CPU部2の待機系の処理とは、二重系切
換指令部4により待機系から運用系へ切り換える際、瞬
時の出力変動を引き起こさずバンプレスに出力が切り換
わるためのデータトラッキング処理等や、待機系として
の自己診断処理である(データをトラッキングする回路
については図示省略)。
Here, the standby system processing of the B system CPU section 2 refers to the data for bumpless switching of the output without causing instantaneous output fluctuations when switching from the standby system to the active system by the dual system switching command section 4. These include tracking processing, etc., and self-diagnosis processing as a standby system (the circuit for tracking data is not shown).

又、ハスハI B E E 796 ハス(インテルマ
ルチパス)のようにCPU部と入出力を接続するシステ
ムバスを意味する。
It also means a system bus that connects the CPU section and input/output, such as IBE 796 HAS (Intel Multipath).

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

従来の二重系切換方式は以上のように構成されているの
で、二重系切換指令部4での判断のための信号は、故障
状態信号16.17のA系およびB系が正常であるか内
部に故障要因があるかという状態信号である。
Since the conventional dual system switching system is configured as described above, the signals for judgment in the dual system switching command unit 4 are that the A system and B system of the failure status signal 16.17 are normal. This is a status signal indicating whether there is an internal failure factor.

これはA系、およびB系の自己診Fr績果によるもので
ある。すなわちユ自己診断結果によりA系に異常が発生
した場合にはB系に切り換わるが、このとき、B系が健
全であることを確認しておく必要がある。
This is based on the results of self-diagnosis of A and B systems. That is, if an abnormality occurs in the A system according to the self-diagnosis result, the system is switched to the B system, but at this time, it is necessary to confirm that the B system is healthy.

従来の制御装置では、CPU部の診断を実行することに
よりB系の健全性を確認するが、二重系切換指令部から
の信号により運用系、待機系の指定をしているので、待
機系のバスドライバやバスレシーバについては動作の有
無が判断できずその健全性が確認できないという問題点
があった。
In conventional control devices, the health of system B is confirmed by executing a diagnosis of the CPU section, but since the active system and standby system are designated by a signal from the dual system switching command unit, the standby system There was a problem in that it was not possible to determine whether or not the bus driver and bus receiver were in operation, making it impossible to confirm their health.

この発明は上記のような問題点を解消するためになされ
たもので、待機系のバスドライバおよびレシーバ部の診
断が出来ることにより、信頼性の高い二重系切換方式を
得ることを目的とする。
This invention was made to solve the above-mentioned problems, and aims to provide a highly reliable dual system switching system by diagnosing the standby system bus driver and receiver section. .

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

この発明に係る二重系切換方式は、運用系および待機系
の中央処理装置からアクセスされる入出力部内に設けら
れたバスレシーバ部あるいはバスドライバ部に自己診断
用のレジスタを設け、二重系切換指令部からの指令によ
り待機系の中央処理装置部が入出力部と切り離されてい
る場合でも待機系の中央処理装置部がこのレジスタのア
クセスを可能としたものである。
The dual system switching method according to the present invention provides a register for self-diagnosis in the bus receiver section or the bus driver section provided in the input/output section that is accessed from the central processing unit of the active system and the standby system. This register can be accessed by the standby central processing unit even when the standby central processing unit is separated from the input/output unit by a command from the switching command unit.

〔作 用〕[For production]

この発明における待機系中央処理装置部が入出力部とは
切り離された状態において、入出力部のバスレシーバ内
あるいは中央処理装置部内のバスドライバに設置したレ
ジスタをアクセスすることにより、待機系の健全性のチ
エツクを常時可能とする。
In this invention, when the standby central processing unit is separated from the input/output unit, it is possible to maintain the health of the standby system by accessing the register installed in the bus receiver of the input/output unit or the bus driver in the central processing unit. It is possible to check the sex at any time.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、22は通常16〜20本の信号ラインから
なるアドレスバス、23は通常16本の信号ラインから
なる双方向性のデータバス、24はリードあるいはライ
トコマンド等からなるコントロール信号バスである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 22 is an address bus usually consisting of 16 to 20 signal lines, 23 is a bidirectional data bus usually consisting of 16 signal lines, and 24 is a control signal bus consisting of read or write commands.

アドレスバス22と入出力バス15間にバッファ18a
と3ステートバツフア19aが接続され、コントロール
信号バス24と入出力バス15間にバッファ18bと3
ステートバツフア19bが接続され、データバス23と
入出力バス15間には、バッファ18cと3ステートハ
ツ7ア19cが接続されているとともに、3ステートバ
ツフア19dと、双方向性データバス23aとバッファ
18dとが接続されている。21は自己診断用のレジス
タであり、アドレスバス23とはアドレスデコーダ20
を介して接続され、又、バッファ18e。
Buffer 18a between address bus 22 and input/output bus 15
and 3-state buffer 19a are connected, and buffers 18b and 3-state buffer 19a are connected between control signal bus 24 and input/output bus 15.
A state buffer 19b is connected, and a buffer 18c and a 3-state bus 19c are connected between the data bus 23 and the input/output bus 15. A 3-state buffer 19d, a bidirectional data bus 23a, and a buffer 19c are connected between the data bus 23 and the input/output bus 15. 18d is connected. 21 is a register for self-diagnosis, and the address bus 23 is an address decoder 20.
and a buffer 18e.

18fを介して双方向性データバスに接続されるととも
に、リード、ライト等のコントロール信号線2Ja 、
24bに接続されている。
It is connected to the bidirectional data bus via 18f, and control signal lines 2Ja for read, write, etc.
24b.

次に動作について説明する。通常の待機冗長二重化にお
いては、第2図に示す構成の中のバスレシーバ6.8に
第1図の回路が適用される。□この状態でA系のCPU
部1がバスドライバ5やバスレシーバ6を介して入出力
カード9,10をアクセスしており、この間待機系はA
系から図示しない別ルートで送られてくるA系の内部状
態信号に追従する処理を行っている。
Next, the operation will be explained. In normal standby redundant duplexing, the circuit shown in FIG. 1 is applied to the bus receiver 6.8 in the configuration shown in FIG. □In this state, A system CPU
Part 1 is accessing the input/output cards 9 and 10 via the bus driver 5 and bus receiver 6, and during this time the standby system is
Processing is performed to follow internal status signals of system A sent from the system via another route (not shown).

又、同時にCPU部1部局0周辺モリ等へリード/ライ
トアクセスすることや、CPtJ自身がノ1−ドウエア
として有するウォッチドッグタイマ等により自己診断処
理を行っている。
At the same time, self-diagnosis processing is performed by read/write access to the peripheral memory of CPU section 1, section 0, etc., and by a watchdog timer, etc., which CPtJ itself has as nodeware.

上記の処理と並行してCPU部1はバスレシーバ6のレ
ジスタ21をアクセスする。このレジスタ21は他の入
出力カードと同様メモリマップドエ10(入出力)でア
クセスされるものであるが、入出力カードのアドレスと
は一致しないようアドレスデコーダ部20であらかじめ
手動設定されている。
In parallel with the above processing, the CPU section 1 accesses the register 21 of the bus receiver 6. Although this register 21 is accessed by the memory mapped card 10 (input/output) like other input/output cards, it is manually set in advance by the address decoder section 20 so that it does not match the address of the input/output card.

二重系切換指令信号により、入出力部3の入出力ハス1
5と切り離された待機系のバスレシーバ8において、C
PU部2から自己診断用のレジスタ21にデータがコン
トロール信号線24bを経てライトされた後、続けて同
一アドレスのデータがコントロール信号線24aを経て
リードされる。
Due to the dual system switching command signal, the input/output lot 1 of the input/output section 3
In the standby bus receiver 8 separated from C.
After data is written from the PU unit 2 to the self-diagnosis register 21 via the control signal line 24b, data at the same address is subsequently read via the control signal line 24a.

この処理により、待機系のCPU部2はバスドライバ7
からバスレシーバ8の最終段まで常時アクセスし、CP
U部2から出力したデータと、このデータが一度自己診
断用のレジスタ21に格納された後、次の処理でリード
バックされたデータとを比較することにより、待機系の
健全性をチエツクする。
Through this process, the standby CPU section 2 is connected to the bus driver 7.
CP to the final stage of bus receiver 8.
The health of the standby system is checked by comparing the data output from the U unit 2 with the data read back in the next process after this data is once stored in the self-diagnosis register 21.

万一この自己診断によりエラーが検知された場合には、
第2図のB系(待機系)故障状態信号17を二重系切換
指令部4へ向けて発することにより、運用系の故障が発
生する前に保守を行うことができる0 通常、CPU部2重化、入出力部1重化では第2図のよ
うにバスレシーバまで2重化することが多いため、この
実施例はバスレシーバに診断用のレジスタを設けること
について説明した。
If an error is detected by this self-diagnosis,
By issuing the B system (standby system) failure status signal 17 in FIG. 2 to the dual system switching command unit 4, maintenance can be performed before a failure occurs in the active system. In duplication and single input/output sections, even the bus receiver is often duplicated as shown in FIG. 2, so this embodiment has been described with reference to providing a diagnostic register in the bus receiver.

経済性を重視するシステムにおいては、バスドライバ部
までは2重化するが、バスレシーバ部は1重化というこ
ともある。
In systems where economic efficiency is important, the bus driver section is duplicated, but the bus receiver section is sometimes made single.

この場合には、バスドライバ部に診断用のレジスタを設
ければこの実施例と同様の効果が得られることは言うま
でもない。
In this case, it goes without saying that the same effect as this embodiment can be obtained by providing a diagnostic register in the bus driver section.

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

以上のように、この発明によれば、待機系のバスレシー
バあるいはバスドライバに自己診断用のレジスタを二重
切換指令部からの指令により待機系の中央処理装置部が
入力部と切り離されている場合でもこの中央処理装置部
がレジストのアクセスができるように構成したので、待
機系の自己診断可能な領域がほぼ100チに達し信頼性
を高めることができる効果がある。
As described above, according to the present invention, the standby central processing unit is separated from the input section by a command from the dual switching command section to set the register for self-diagnosis in the standby bus receiver or bus driver. Since the central processing unit is configured to be able to access the resist even in the case of a standby system, the self-diagnosis area of the standby system reaches approximately 100 pixels, which has the effect of increasing reliability.

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

第1図はこの発明の一実施例による二重系切換方式にお
けるバスレシーバのブロック図、第2図はこの発明およ
び従来の二重系切換方式の全体の構成を示すブロック図
、第3図は従来の二重系切換方式におけるバスレシーバ
部のブロック図である。 1はA系CPU部1.2はB系CPU部、3は入出力部
、5.7はパスドライバ、6,8はバスレシーバ、21
はレジスタ。 なお、図中同一符号は同一、又は相当部分を示す。 特許出願人    三菱電機株式会社 ロ   よ 第2図
FIG. 1 is a block diagram of a bus receiver in a dual system switching system according to an embodiment of the present invention, FIG. 2 is a block diagram showing the overall configuration of this invention and a conventional dual system switching system, and FIG. FIG. 2 is a block diagram of a bus receiver unit in a conventional dual system switching system. 1 is an A-system CPU section, 2 is a B-system CPU section, 3 is an input/output section, 5.7 is a path driver, 6 and 8 are bus receivers, 21
is a register. Note that the same reference numerals in the figures indicate the same or equivalent parts. Patent applicant: Mitsubishi Electric Corporation Figure 2

Claims (1)

【特許請求の範囲】[Claims] 二重化されて、その一方が運用系、他方が待機系として
作動する中央処理装置部と、前記運用系と前記待機系の
両系の前記中央処理装置部に対して共通の要素として接
続され、信号の入出力を行う入出力部とを備えた制御装
置において、前記両系の中央処理装置部と前記入出力部
を接続するバスドライバあるいはバスレシーバ部におい
て前記待機系の中央処理装置部が前記入出力部と切り離
された状態でアクセスすることにより前記待機系の自己
診断を行う自己診断用のレジスタを設けたことを特徴と
する二重系切換方式。
A central processing unit that is duplicated, one of which operates as an active system and the other as a standby system, is connected as a common element to the central processing units of both the active system and the standby system, and a signal In a control device having an input/output unit that performs input/output, in a bus driver or bus receiver unit that connects the central processing unit units of both systems and the input/output unit, the standby central processing unit unit performs input/output operations. A dual system switching system characterized in that a register for self-diagnosis is provided for performing self-diagnosis of the standby system by accessing it in a state separated from the output section.
JP27684887A 1987-10-30 1987-10-30 Dual system switching method Pending JPH01116801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27684887A JPH01116801A (en) 1987-10-30 1987-10-30 Dual system switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27684887A JPH01116801A (en) 1987-10-30 1987-10-30 Dual system switching method

Publications (1)

Publication Number Publication Date
JPH01116801A true JPH01116801A (en) 1989-05-09

Family

ID=17575250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27684887A Pending JPH01116801A (en) 1987-10-30 1987-10-30 Dual system switching method

Country Status (1)

Country Link
JP (1) JPH01116801A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013085318A (en) * 2011-10-06 2013-05-09 Hitachi Ltd Fail safe device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013085318A (en) * 2011-10-06 2013-05-09 Hitachi Ltd Fail safe device

Similar Documents

Publication Publication Date Title
JPH01237844A (en) System for diagnostic data processing system
JPH01116801A (en) Dual system switching method
JP2774675B2 (en) Bus controller
JPS6321217B2 (en)
JP2626127B2 (en) Backup route test method
JP3150571B2 (en) Dual system switching method
JP3012402B2 (en) Information processing system
JP2637653B2 (en) Redundant controller
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPS6091415A (en) Digital controller
JP2583617B2 (en) Multiprocessor system
JP2946541B2 (en) Redundant control system
JPH0625987B2 (en) Complex computer system
JPH079636B2 (en) Bus diagnostic device
JPH01258158A (en) Trouble diagnosing circuit for interface ic
JPH04263333A (en) Memory duplication system
JPH09179836A (en) Multiplied computer and its fault detection processing method
JPS6292042A (en) Memory device
JPS62137654A (en) Controlling system for duplicated bus
JP2000347885A (en) Duplex process controller
JPH10187355A (en) Disk control system
JPH02199562A (en) Duplicated memory copy system
JPS5990150A (en) Double structure method of input and output device
JPS61264445A (en) Duplex data fetching system
JPS63266548A (en) Duplex computer system