JPH0520251A - Switching system for duplexed process input/output device - Google Patents

Switching system for duplexed process input/output device

Info

Publication number
JPH0520251A
JPH0520251A JP3174897A JP17489791A JPH0520251A JP H0520251 A JPH0520251 A JP H0520251A JP 3174897 A JP3174897 A JP 3174897A JP 17489791 A JP17489791 A JP 17489791A JP H0520251 A JPH0520251 A JP H0520251A
Authority
JP
Japan
Prior art keywords
board
state
output
status
input
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
JP3174897A
Other languages
Japanese (ja)
Inventor
Toshiya Senoo
利哉 妹尾
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP3174897A priority Critical patent/JPH0520251A/en
Publication of JPH0520251A publication Critical patent/JPH0520251A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow respective boards to mutually execute status monitoring in a duplexed processing I/O device and to normally and quickly switch respective boards. CONSTITUTION:An abnormality detecting circuit 23 in each of the boards 3a, 3b executes self-diagnosis, forms a status signal indicating a normal state, an abnormal state, an abnormality restored state, or communication disabled state, transmits the formed status signal to the opposite board, stores the status signals of the self-board and the opposite board in a control/status register 18 in the self-board, and then informs a CPU which is not shown of the contents of the register 18, so that initialization for operating one board with higher priority, allowing the board to input/output data from/to the external and making the other board standby. If the active board is an abnormal state or a communication disabled state and the active board is a normal state or an abnormality restored state, setting the active and standby of these boards are immediately switched.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、稼働中のプロセス入出
力装置と待機中のプロセス入出力装置との相互切換を行
うための二重化プロセス入出力装置の切換方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual process input / output device switching system for performing mutual switching between an active process input / output device and a standby process input / output device.

【0002】[0002]

【従来の技術】いわゆる装置産業、製造産業の分野で
は、そのプロセスが極めて複雑な場合が多いため、電子
計算機システムでプロセス制御を行うのが通常である。
この場合、電子計算機システムの信頼性がそのまま生産
性あるいは製品品質を左右するので、従来、プロセス制
御用の電子計算機(以下、CPUと略称する)と外部端
末とのインターフェースとを含むシステム全体、あるい
は外部入出力をCPUとの間で行うプロセス入出力装置
のみを二重化し、一方のシステムあるいは装置に異常が
発生したときは直ちにこれを検出して他方のシステム等
に切り換えることで、プロセスの停止時間を極力短くす
るようにしている(特開昭48−74146号公報
等)。
2. Description of the Related Art In the fields of so-called device industry and manufacturing industry, the process is often extremely complicated, and therefore it is usual to perform process control by an electronic computer system.
In this case, since the reliability of the electronic computer system directly influences the productivity or the product quality, conventionally, the entire system including an electronic computer for process control (hereinafter, abbreviated as CPU) and an interface with an external terminal, or Process downtime for external I / O with the CPU Duplication of only the process I / O device, and when an error occurs in one system or device, immediately detect this and switch to the other system, etc. Is made as short as possible (JP-A-48-74146, etc.).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
二重化方式では、個々のシステムあるいは装置の異常検
出機能は有するが、相互の状態監視機能までは有しな
い。そのため、一方のシステムに異常が発生して切換を
行う場合にその都度他方の状態を確認しなければなら
ず、稼働率や信頼性が悪い問題があった。
However, the conventional duplex system has an abnormality detecting function for each system or device, but does not have a mutual status monitoring function. Therefore, when an abnormality occurs in one of the systems and the switching is performed, the state of the other must be confirmed each time, and there is a problem that the operating rate and reliability are poor.

【0004】また、最近、システムの能率的な保守管理
を行うために、故障部位あるいはボードの交換を通電状
態のまま行う活線挿抜方式が注目されている。本発明の
出願人も、特願平3−48525号明細書で、データバ
スの擾乱、実装部品の破壊、誤動作を防止しながら活線
挿抜を行う方式を提案している。しかしながら、例えば
二重化プロセス入出力装置の一方で活線挿抜を行う場
合、従来の二重化方式では、他方のプロセス入出力装置
やCPU側で活線挿抜の開始、過程、終了の事実を知る
ことができないので、誤ってCPUがアクセスしたり、
正常に復帰しない状態で切換がなされる場合があった。
In recent years, in order to carry out efficient maintenance management of the system, attention has been paid to a hot-plugging / unplugging system in which a defective part or a board is exchanged in a powered state. The applicant of the present invention has also proposed, in Japanese Patent Application No. 3-48525, a method of performing hot-plugging and unplugging while preventing disturbance of a data bus, destruction of mounted components, and malfunction. However, for example, when hot-swapping is performed on one of the redundant process input / output devices, the fact that the hot-swap start, process, and end cannot be known on the other process input / output device or CPU side by the conventional duplexing method. Therefore, if the CPU accidentally accesses it,
In some cases, switching was performed without returning to normal.

【0005】本発明は、このような課題に鑑みて創案さ
れたもので、信頼性、稼働率の向上が図れ、且つ、活線
挿抜およびCPUのアクセスを正常に行うことができる
二重化プロセス入出力装置の切換方式を提供することを
目的としている。
The present invention was devised in view of the above problems, and it is possible to improve reliability and operating rate, and to perform hot-swap and CPU access normally. An object is to provide a switching system of the device.

【0006】[0006]

【課題を解決するための手段】本発明は、上記目的を達
成するため、一つの電子計算機に同時にアクセスし得る
とともに互いに連絡可能の二つのプロセス入出力装置を
備えてなる二重化プロセス入出力装置をいずれか一方の
プロセス入出力装置に切り換えて外部入出力を行う方式
であって、各プロセス入出力装置に、自己診断を行い少
なくとも正常状態、異常状態、異常復帰状態、連絡不能
状態を表す状態信号を生成する手段と、自己の状態信号
と相手側の状態信号との受け渡しを行う状態信号受け渡
し手段と、該状態受け渡し手段により受信した相手側の
状態信号と自己の状態信号とを記憶する状態記憶手段と
を設け、この状態記憶手段の内容を前記電子計算機に通
知することにより、各プロセス入出力装置の一方を稼働
して外部入出力を許容し、他方を待機させる初期設定を
行うとともに、稼働中のプロセス入出力装置が異常状態
若しくは連絡不能状態となり、且つ、待機中のプロセス
入出力装置が正常状態若しくは異常復帰状態のときは、
プロセス入出力装置の稼働と待機の設定を切り換えるよ
うにした。
In order to achieve the above object, the present invention provides a dual process input / output device comprising two process input / output devices capable of simultaneously accessing one electronic computer and communicating with each other. External I / O by switching to one of the process I / O devices, and performing a self-diagnosis on each process I / O device, and a status signal indicating at least a normal state, an abnormal state, an abnormal recovery state, or an unconnectable state. For generating the status signal, the status signal passing means for passing the status signal of the other party and the status signal of the other party, and the state memory for storing the status signal of the other party and the own status signal received by the status passing means. Means is provided, and by notifying the computer of the contents of the state storage means, one of the process input / output devices is operated and external input / output is performed. And volume, with the initial setting to wait for the other, the process input and output device in operation is in an abnormal state or contact disabled state, and, when the process input and output devices are waiting in a normal state or abnormal return state,
The process I / O device operation and standby settings can now be switched.

【0007】[0007]

【作用】各プロセス入出力装置の状態記憶手段には、状
態信号受け渡し手段により相手側の状態信号が自己の状
態信号とともに記憶されている。したがって、CPUが
いずれか一方のプロセス入出力装置の状態記憶手段の記
憶内容を読み取ることで、直ちに両方のプロセス入出力
装置の状態を知り、適切なアクセス、迅速な切換を行う
ことができる。また、いずれか一方の装置で例えば活線
挿抜が行われている場合も、他方の装置に送られる状態
信号によりその開始、過程、終了の事実を直ちに知るこ
とができるので、誤ってCPUがアクセスしたり切換が
なされることがない。
In the state storage means of each process input / output device, the state signal of the other party is stored together with its own state signal by the state signal passing means. Therefore, by reading the stored contents of the state storage means of either one of the process input / output devices, the CPU can immediately know the states of both process input / output devices, and can perform appropriate access and quick switching. Further, even when hot-plugging and unplugging is being performed in one of the devices, the status signal sent to the other device can immediately inform the start, process, and end facts, so that the CPU erroneously accesses the device. There is no need to switch or switch.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は本実施例の二重化プロセス入出力装
置を含むシステム概念図である。図中、1はCPU、2
はCPUバス、3は二重化プロセス入出力装置(以下、
二重化PIOと略称する)、4は状態信号受け渡し信号
用ケーブル、5は外部入出力用ケーブル、6は単体のプ
ロセス入出力装置(以下、PIOと略称する)を示す。
FIG. 1 is a conceptual diagram of a system including a dual process input / output device of this embodiment. In the figure, 1 is a CPU, 2
Is a CPU bus, 3 is a dual process input / output device (hereinafter,
4 is a status signal transfer signal cable, 5 is an external input / output cable, and 6 is a single process input / output device (hereinafter abbreviated as PIO).

【0010】CPU1は、CPUバス2を介して多数の
PIO6からデータを入力し、所定の演算を行った後、
その結果を各PIO6に出力する。
The CPU 1 inputs data from a large number of PIOs 6 via the CPU bus 2 and performs a predetermined calculation,
The result is output to each PIO 6.

【0011】二重化PIO3は、二重化専用に構成され
たもので、CPU1に同時にアクセスし得るとともに状
態信号受け渡し信号用ケーブル4、外部入出力用ケーブ
ル5およびCPUバス2との間のケーブルにより互いに
連絡可能の二つのPIOを備えてなる。各PIOには、
更に、自己診断を行い少なくとも正常状態、異常状態、
異常復帰状態、連絡不能状態を表す状態信号を生成する
手段と、状態信号受け渡しケーブル4により受信した相
手側の状態信号と自己の状態信号とを記憶する状態記憶
手段とを有し、両PIOが同時に故障した場合を除き、
正常または片側故障の場合は、CPU1からのアクセ
ス、外部入出力が常に正常であることを保証するもので
ある。また、片側故障の場合は、活線での挿抜を行うこ
とができる。
The duplicated PIO 3 is configured exclusively for duplication, and can simultaneously access the CPU 1 and can communicate with each other by a cable between the status signal passing signal cable 4, the external input / output cable 5 and the CPU bus 2. It is equipped with two PIOs. For each PIO,
Furthermore, self-diagnosis is performed and at least normal state, abnormal state,
Both PIOs have means for generating a status signal indicating an abnormal recovery state and an uncontactable state, and status storage means for storing the status signal of the other party received by the status signal transfer cable 4 and the status signal of its own. Except when they fail at the same time
In the case of normal or one-sided failure, it guarantees that the access from the CPU 1 and the external input / output are always normal. Also, in the case of a one-sided failure, it is possible to perform insertion / extraction on a hot line.

【0012】図2はこの二重化PIO3の具体的構成例
を示す図であり、全く同一構成の二つのPIO(ボー
ド)3a,3bから成る。各ボード中、10a,10b
は入力コネクタ、11a,11bは出力コネクタ、12
a,12bは状態信号入出力コネクタを示す。
FIG. 2 is a diagram showing a concrete example of the structure of the duplicated PIO 3, which is composed of two PIOs (boards) 3a and 3b having exactly the same structure. 10a, 10b in each board
Is an input connector, 11a and 11b are output connectors, 12
Reference numerals a and 12b denote status signal input / output connectors.

【0013】また例えば一方のボード3aについて、1
3は基準電圧、14はマルチプレクサ、15はA/D変
換器、16はローカルCPU、17はローカルCPUバ
ス、18は状態信号記憶手段たるコントロール/ステー
タスレジスタ、19はデータレジスタ、20はバスバッ
ファ、21はバスロック回路、22はD/A変換回路、
23は異常検出回路、24は出力制御回路、25はV/
I変換出力バッファ、26はI/V変換回路、27はス
テータスバッファを示す。
For example, for one board 3a, 1
Reference numeral 3 is a reference voltage, 14 is a multiplexer, 15 is an A / D converter, 16 is a local CPU, 17 is a local CPU bus, 18 is a control / status register as a status signal storage means, 19 is a data register, 20 is a bus buffer, 21 is a bus lock circuit, 22 is a D / A conversion circuit,
23 is an abnormality detection circuit, 24 is an output control circuit, and 25 is V /
An I conversion output buffer, 26 is an I / V conversion circuit, and 27 is a status buffer.

【0014】この二重化PIO3では、外部入出力信号
にアナログ信号を扱い、入力信号はDC1〜5[V]、
出力信号は4〜20[mA]とする。
In this dual PIO 3, an analog signal is handled as an external input / output signal, and the input signal is DC 1-5 [V],
The output signal is 4 to 20 [mA].

【0015】外部入力信号は両方のボード3a,3bの
入力コネクタ10a,10bに夫々入力され、外部出力
信号は各ボード3a,3bの出力コネクタ11a,11
bのいずれか一方から出力される。すなわち、各ボード
3a,3bの一方は”稼働”で、他方は”待機”であ
り、”稼働”のボードからの入出力信号が有効となる。
また、前記状態信号生成手段は、異常検出回路23とス
テータスバッファとで構成し、更に、二つのボード3
a,3bの状態信号入出力用コネクタ12a,12b同
士を状態信号受け渡し用ケーブル4で接続して状態信号
受け渡し手段を構成している。
External input signals are input to the input connectors 10a and 10b of both boards 3a and 3b, respectively, and external output signals are output connectors 11a and 11 of the boards 3a and 3b, respectively.
It is output from either one of b. That is, one of the boards 3a and 3b is "active" and the other is "standby", and the input / output signals from the "active" boards are valid.
The status signal generating means is composed of an abnormality detection circuit 23 and a status buffer, and further includes two boards 3
The status signal input / output connectors 12a and 12b of a and 3b are connected by the status signal transfer cable 4 to form a status signal transfer means.

【0016】CPU1からはCPUバス2を介して両方
のボード3a,3bとの間でコントロール/ステータス
信号、データ信号の授受が行われるが、二重化PIO3
の基本機能は、CPU1ではこれら信号をいずれのボー
ド3a,3bからも入力することができ、且つ、CPU
1から両方のボード3a,3bに導かれた各信号はいず
れか一方のボードのみから外部に出力され、更に、該一
方のボードに異常が発生した場合は、自動的に他方のボ
ードが外部信号を出力することである。以下、二重化P
IO3の動作を、具体的に説明する。
A control / status signal and a data signal are exchanged between the CPU 1 and both boards 3a and 3b via the CPU bus 2.
The basic function of is that the CPU 1 can input these signals from any of the boards 3a and 3b, and
Each signal guided from 1 to both boards 3a and 3b is output from only one of the boards to the outside, and when an abnormality occurs in the one board, the other board automatically outputs the external signal. Is to be output. Below, duplicated P
The operation of IO3 will be specifically described.

【0017】(動作条件) (1)外部入力信号は”稼働”のボードからCPU1に導
く。また、CPU1からの信号は”稼働”、”待機”の
両方のボードに出力される。但し、異常が発生した場
合、異常側のボードのアクセスはしない。また、外部出
力信号は、”稼働”のボードのみから出力される。
(Operating conditions) (1) An external input signal is led from the "working" board to the CPU 1. Further, the signal from the CPU 1 is output to both the "operating" and "standby" boards. However, when an error occurs, the board on the error side is not accessed. Also, the external output signal is output only from the "working" board.

【0018】(2)”稼働”/”待機”は状態信号により
両方のボード3a,3bから互いに確認することができ
る。
(2) "Operating" / "standby" can be confirmed from both boards 3a and 3b by a status signal.

【0019】(3)各ボード3a,3bに主/従の設定は
なく、且つ、”稼働”/”待機”の初期設定はCPU1
が行う。
(3) There is no master / slave setting on each board 3a, 3b, and the initial setting of "operating" / "standby" is CPU1.
Do.

【0020】(パワーアップ時) (1)二重化PIO3の両方のボード3a,3bは、各
々、ローカルCPU16が図示を省略した自ボード内の
ROM、RAM、およびA/D変換回路15の基準電圧
入力等のチェックを行い、正常/異常の結果をコントロ
ール/ステータスレジスタ18に書き込んで自己診断を
行う。
(At power-up) (1) Both the boards 3a and 3b of the dual PIO 3 have their own ROM, RAM, and reference voltage inputs of the A / D conversion circuit 15 in their own board, which the local CPU 16 does not show. Etc. are checked, and the normal / abnormal results are written in the control / status register 18 for self-diagnosis.

【0021】(2)CPU1は二重化PIO3の自己診断
結果をコントロール/ステータスレジスタ18から読み
込んで正常/異常を判断し、いずれか一方、または両方
のボードが正常であれば、”稼働”/”待機”を各ボー
ドに設定し、”稼働”ボードからの信号入力と、両方の
ボードへの信号出力を行う。
(2) The CPU 1 reads the self-diagnosis result of the redundant PIO 3 from the control / status register 18 and judges normality / abnormality. If either one or both boards are normal, "operation" / "standby" Set "" for each board, and perform signal input from the "working" board and signal output to both boards.

【0022】(3)二重化PIO3は上記設定に従って動
作し、”稼働”に設定されたボードは、CPU1からの
信号を外部に出力する(外部出力ON)。
(3) The redundant PIO 3 operates according to the above setting, and the board set to "active" outputs the signal from the CPU 1 to the outside (external output ON).

【0023】(通常動作時)外部入出力信号、およびC
PU1とのコントロール/ステータス信号、データ信号
の授受は、決められた手順に従って実行され、二重化P
IO3の基本機能が実行される。
(In normal operation) External input / output signal and C
The exchange of control / status signals and data signals with PU1 is executed according to a predetermined procedure, and redundant P
The basic functions of IO3 are executed.

【0024】次に、各ボード3a,3bにおける異常検
出方法について説明する。
Next, a method of detecting an abnormality in each of the boards 3a and 3b will be described.

【0025】1.各ボードのローカルCPU16は、す
なわち、A/D変換回路15の基準電圧13の入力によ
るチェック、D/A変換回路22のチェックを行い、そ
の結果を異常検出回路23に通知する。また、ローカル
CPU16自体の異常をチェックするためのウオッチド
ッグタイマ(図示省略)を設け、一定時間以内に異常検
出回路23にアクセスしてそのタイムアウト検出を行
う。
1. The local CPU 16 of each board, that is, checks the input of the reference voltage 13 of the A / D conversion circuit 15 and the D / A conversion circuit 22, and notifies the abnormality detection circuit 23 of the result. Further, a watchdog timer (not shown) for checking the abnormality of the local CPU 16 itself is provided, and the abnormality detection circuit 23 is accessed within a fixed time to detect the timeout.

【0026】これらの結果は、状態信号受け渡し用ケー
ブル4により相手側ボードに知らせるとともに、コント
ロール/ステータスレジスタ18を介してCPU1にも
知らせる。このときの状態信号およびコントロール/ス
テータスレジスタ18の状態を以下に示す。
These results are notified to the other board through the status signal passing cable 4 and also to the CPU 1 through the control / status register 18. The status signal and the status of the control / status register 18 at this time are shown below.

【0027】(a)状態信号 1,0 ・・・・・・・異常復帰状態(立ち上げ状態:CPU
1から各ボード3a,3bへのアクセスが無い状態) 0,1 ・・・・・・・正常状態 0,0 ・・・・・・・異常状態 1,1 ・・・・・・・連絡不能状態(ケーブル離脱状態:ボ
ードのコネクタからケーブル側コネクタを外した状態) この信号は2ビットからなる双方向信号であり、各ボー
ド間で授受される。2ビットとしたのは、ボード間で正
常/異常を通知しあう(1ビット)以外に、活線挿抜等
でケーブル側コネクタを外す場合に相手側ボードにその
情報を正確に知らせるためであり、また、抜かれた側の
ボードが活線で挿入された場合にその立ち上げ状態を相
手側ボードに知らせ、その情報を相手側ボードのコント
ロール/ステータスレジスタ18を介してCPU1に知
らせてCPU1からのアクセスを促すためである。
(A) Status signal 1,0 ..... abnormal recovery state (startup state: CPU
No access from 1 to each board 3a, 3b) 0,1 ........ Normal state 0,0 ........ Abnormal state 1,1 .. State (cable disconnected state: state in which the cable side connector is removed from the board connector) This signal is a bidirectional signal consisting of 2 bits, and is exchanged between the boards. The reason why 2 bits are set is that in addition to the normal / abnormal notification between the boards (1 bit), the information is accurately notified to the mating board when the cable-side connector is removed by hot plugging / unplugging. In addition, when the board on the removed side is inserted by hot line, the startup state is notified to the partner board, and the information is notified to the CPU1 via the control / status register 18 of the partner board and accessed from the CPU1. This is to encourage

【0028】なお、2ビットの論理組み合わせは、上記
以外のものであっても良く、また、ビット数を増やして
更に細分化した情報にすることもできる。
Note that the 2-bit logical combination may be one other than the above, and the number of bits may be increased to obtain more detailed information.

【0029】 (b)コントロール/ステータスレジスタ 1,0, 1,0 ・・・・・・・・異常復帰状態 0,1, 0,1 ・・・・・・・・正常状態 0,0, 0,0 ・・・・・・・・異常状態 1,1, 1,1 ・・・・・・・・連絡不能状態 (相手ボード)(自ボード) このように、コントロール/ステータスレジスタ18で
は、自ボードの状態のみでなく、相手ボードの状態をも
読めるようにする。これはいずれかのボードに異常が発
生してCPU1からのアクセスが停止し、且つ当該異常
ボードが活線挿抜される場合において、そのボードが交
換等により正常に復帰したときに相手ボードのコントロ
ール/ステータスレジスタ18を通して信号を読み取る
ことができるようにするためである。これにより、CP
U1のアクセスを支障なく開始することができる。
(B) Control / status register 1, 0, 1, 0 ・ ・ ・ ・ ・ ・ Abnormal recovery state 0, 1, 0, 1 ・ ・ ・ ・ ・ ・ Normal state 0, 0, 0 , 0 ・ ・ ・ ・ ・ ・ Unusual state 1,1, 1,1 ・ ・ ・ ・ ・ ・ Unable to contact (other board) (own board) In this way, the control / status register 18 Be able to read not only the state of the board but also the state of the other board. This is because when an abnormality occurs in any of the boards, the access from the CPU 1 is stopped, and the abnormal board is hot-swapped, the control / control of the other board is performed when the board returns to normal due to replacement or the like. This is because the signal can be read through the status register 18. This makes CP
Access of U1 can be started without any trouble.

【0030】状態信号およびコントロール/ステータス
レジスタ18を上記のように工夫することで、互いに相
手ボードの状態を監視できるとともに、たとえ一方のボ
ードが抜かれていても、CPU1から両方のボードの状
態を知ることができ、正常/異常に応じたアクセスが可
能となる。
By devising the status signal and control / status register 18 as described above, the status of the mating boards can be monitored by each other, and the status of both boards can be known from the CPU 1 even if one board is removed. Therefore, it is possible to access according to normality / abnormality.

【0031】一方、外部出力は次の要領で行われる。On the other hand, external output is performed as follows.

【0032】(パワーアップ後)前記パワーアップ時の
処理で,CPU1は”稼働”/”待機”の設定を両方の
ボード3a,3bに対して行う。各ボードはその設定に
従い、”稼働”のときは出力制御回路24をONにし、
外部出力をONする。また、”待機”のときは出力制御
回路24をOFFにし、外部出力をOFF、つまり出力
しない。
(After power-up) In the processing at the time of power-up, the CPU 1 sets "operating" / "standby" for both boards 3a and 3b. Each board follows the setting, and turns on the output control circuit 24 when it is "operating".
Turn on the external output. In the "standby" state, the output control circuit 24 is turned off and the external output is turned off, that is, the external output is not output.

【0033】(通常動作時)自ボードの状態信号と相手
ボードからの状態信号とに基づいていずれのボードから
出力するかが決定される。表1にその結果を示す。
(In normal operation) Based on the status signal of the own board and the status signal from the partner board, it is determined which board is to output. The results are shown in Table 1.

【0034】[0034]

【表1】 [Table 1]

【0035】表1を参照すると、両方のボードが正常の
ときは、”稼働”のボードがONして外部出力を行い、
一方のボードが異常のときは他方のボードが”稼働”と
なって外部出力を行う。両方のボードが異常のときはい
ずれからも出力されない。
Referring to Table 1, when both boards are normal, the "operating" board is turned on and external output is performed.
When one board is abnormal, the other board becomes "active" and outputs externally. If both boards are faulty, neither board outputs.

【0036】なお、好ましくは、両方のボードから同時
に出力されないようにするため、例えば図3に示すよう
な構成のインターロック回路を設ける。
It is preferable to provide an interlock circuit having the structure shown in FIG. 3, for example, in order to prevent simultaneous output from both boards.

【0037】2.次に、異常ボードの活線挿抜による交
換方法を説明する。
2. Next, a method of replacing the abnormal board by hot-plugging will be described.

【0038】ボードに異常が発生した場合は、CPU1
がコントロール/ステータスレジスタ18を読むことに
より、または、二重化PIO3の動作モニタ用LED等
により知ることができる。このとき、外部入出力は正常
側のボードで行われ、異常のボードはCPU1のアクセ
スを停止している。
When an abnormality occurs on the board, the CPU 1
Can be found by reading the control / status register 18 or by the operation monitor LED of the duplicated PIO 3. At this time, the external input / output is performed on the normal side board, and the abnormal board stops the access of the CPU 1.

【0039】異常ボードでは、まず、状態信号受け渡し
用ケーブル4が抜かれ、次に、外部入出力用のケーブル
が、本発明の出願人による前述の活線挿抜方式により、
ローカルCPUバス17およびCPUバス2に擾乱を与
えずに抜かれる。これらケーブルが抜かれたことは、相
手ボードが自己ボードの状態信号を監視することでわか
る。
In the abnormal board, first, the status signal passing cable 4 is removed, and then the external input / output cable is set by the above-mentioned hot-line insertion / removal method by the applicant of the present invention.
It is removed without disturbing the local CPU bus 17 and the CPU bus 2. The fact that these cables have been removed can be seen by the other board monitoring the status signal of its own board.

【0040】修理済みのボード、または予備品の挿入を
行うときは、まず、外部入出力用ケーブルを上記活線挿
抜方式によりボードに接続し、次に状態信号受け渡し用
ケーブル4を接続する。このとき、状態信号受け渡し用
ケーブル4から送られる状態信号により当該ボードが立
ち上げ状態になったことが相手ボード(”稼働”ボー
ド)に知らされる。CPU1では”稼働”ボードのコン
トロール/ステータスレジスタ18を読み込むことで、
異常ボードが正常になったことを知り、それ以後、通常
の処理を行うことができる。
When inserting a repaired board or spare parts, first, the external input / output cable is connected to the board by the hot-swap method, and then the status signal passing cable 4 is connected. At this time, the other board (the "operating" board) is informed that the board has been started up by the status signal sent from the status signal passing cable 4. The CPU1 reads the control / status register 18 of the "operating" board,
After knowing that the abnormal board has become normal, normal processing can be performed thereafter.

【0041】[0041]

【発明の効果】以上説明してきたとおり、本発明によれ
ば、信頼性、稼働率の向上が図れ、且つ、活線挿抜およ
びCPUのアクセスを正常に行うことができる二重化プ
ロセス入出力装置の切換方式を提供することができる。
As described above, according to the present invention, the switching of the duplex process input / output device which can improve the reliability and the operating rate and can normally perform the hot-swap and the CPU access can be performed. A scheme can be provided.

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

【図1】本発明が適用される二重化プロセス入出力装置
のシステム概念図である。
FIG. 1 is a system conceptual diagram of a duplex process input / output device to which the present invention is applied.

【図2】本実施例で用いる二重化プロセス入出力装置の
具体的構成図である。
FIG. 2 is a specific configuration diagram of a redundant process input / output device used in this embodiment.

【図3】本実施例で用いるインターロック回路の構成図
である。
FIG. 3 is a configuration diagram of an interlock circuit used in this embodiment.

【符号の説明】[Explanation of symbols]

1…電子計算機(CPU)、2…CPUバス、3…二重
化プロセス入出力装置、3a,3b…プロセス入出力装
置(ボード)、4…状態信号受け渡し用ケーブル、5…
外部入出力用ケーブル、6…単体のプロセス入出力装
置、10a,10b…外部入力端子、11a,11b…
外部出力端子、12a,12b…状態信号入出力端子、
13…基準電圧、14…マルチプレクサ、15…A/D
変換回路、16…ローカルCPU、17…ローカルCP
Uバス、18…コントロール/ステータスレジスタ(状
態信号記憶手段)、19…データレジスタ、20…バス
バッファ、21…バスロック回路、22…D/A変換回
路、23…異常検出回路、24…出力制御回路、25…
V/I変換出力バッファ、26…I/V変換回路、27
…ステータスバッファ。
DESCRIPTION OF SYMBOLS 1 ... Electronic computer (CPU), 2 ... CPU bus, 3 ... Redundant process input / output device, 3a, 3b ... Process input / output device (board), 4 ... Status signal transfer cable, 5 ...
External input / output cable, 6 ... Single process input / output device, 10a, 10b ... External input terminal, 11a, 11b ...
External output terminals, 12a, 12b ... Status signal input / output terminals,
13 ... Reference voltage, 14 ... Multiplexer, 15 ... A / D
Conversion circuit, 16 ... Local CPU, 17 ... Local CP
U bus, 18 ... Control / status register (state signal storage means), 19 ... Data register, 20 ... Bus buffer, 21 ... Bus lock circuit, 22 ... D / A conversion circuit, 23 ... Abnormality detection circuit, 24 ... Output control Circuit, 25 ...
V / I conversion output buffer, 26 ... I / V conversion circuit, 27
… Status buffer.

Claims (1)

【特許請求の範囲】 【請求項1】 一つの電子計算機に同時にアクセスし得
るとともに互いに連絡可能の二つのプロセス入出力装置
を備えてなる二重化プロセス入出力装置をいずれか一方
のプロセス入出力装置に切り換えて外部入出力を行う方
式であって、各プロセス入出力装置に、自己診断を行い
少なくとも正常状態、異常状態、異常復帰状態、連絡不
能状態を表す状態信号を生成する手段と、自己の状態信
号と相手側の状態信号との受け渡しを行う状態信号受け
渡し手段と、該状態受け渡し手段により受信した相手側
の状態信号と自己の状態信号とを記憶する状態記憶手段
とを設け、この状態記憶手段の内容を前記電子計算機に
通知することにより、各プロセス入出力装置の一方を稼
働して外部入出力を許容し、他方を待機させる初期設定
を行うとともに、稼働中のプロセス入出力装置が異常状
態若しくは連絡不能状態となり、且つ、待機中のプロセ
ス入出力装置が正常状態若しくは異常復帰状態のとき
は、プロセス入出力装置の稼働と待機の設定を切り換え
るようにしたことを特徴とする二重化プロセス入出力装
置の切換方式。
Claims: What is claimed is: 1. A dual process input / output device comprising two process input / output devices capable of simultaneously accessing one electronic computer and communicating with each other, in any one of the process input / output devices. A method of switching external input / output, a means for performing self-diagnosis on each process input / output device, and generating a status signal indicating at least a normal status, an abnormal status, an abnormal recovery status, and an unconnectable status, and its own status. A state signal passing means for passing a signal and a state signal of the other party, and a state storing means for storing the state signal of the other party and the own state signal received by the state passing means are provided. By notifying the computer of the contents of the above, the initial setting for operating one of the process input / output devices to allow external input / output and waiting for the other If the process I / O device that is operating is in an abnormal state or cannot be contacted, and the process I / O device that is waiting is in the normal state or abnormal recovery state, set the operation and standby of the process I / O device. A dual process input / output device switching method characterized by switching the input and output.
JP3174897A 1991-07-16 1991-07-16 Switching system for duplexed process input/output device Pending JPH0520251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3174897A JPH0520251A (en) 1991-07-16 1991-07-16 Switching system for duplexed process input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3174897A JPH0520251A (en) 1991-07-16 1991-07-16 Switching system for duplexed process input/output device

Publications (1)

Publication Number Publication Date
JPH0520251A true JPH0520251A (en) 1993-01-29

Family

ID=15986604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3174897A Pending JPH0520251A (en) 1991-07-16 1991-07-16 Switching system for duplexed process input/output device

Country Status (1)

Country Link
JP (1) JPH0520251A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030058030A (en) * 2001-12-29 2003-07-07 엘지전자 주식회사 Duplexing method of duplex system
JP2009289234A (en) * 2008-06-02 2009-12-10 Fujitsu Ltd Information processing apparatus, error notification program, and error notifying method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030058030A (en) * 2001-12-29 2003-07-07 엘지전자 주식회사 Duplexing method of duplex system
JP2009289234A (en) * 2008-06-02 2009-12-10 Fujitsu Ltd Information processing apparatus, error notification program, and error notifying method

Similar Documents

Publication Publication Date Title
CN101207408B (en) Apparatus and method of synthesis fault detection for main-spare taking turns
US6845467B1 (en) System and method of operation of dual redundant controllers
CN101714108A (en) Synchronization control apparatus, information processing apparatus, and synchronization management method
JP4620483B2 (en) Computer system, computer, IO expansion device, and IO expansion device connection recognition method
US6943463B2 (en) System and method of testing connectivity between a main power supply and a standby power supply
JPH10154085A (en) System supervisory and controlling method by dual supervisory/controlling processor and dual supervisory/ controlling processor system
CN103150224A (en) Electronic equipment and method for improving starting reliability
US6675250B1 (en) Fault tolerant communications using a universal serial bus
KR19980022696A (en) How to change the computer system with CPU and the hardware configuration inside it
JPH0520251A (en) Switching system for duplexed process input/output device
US6801973B2 (en) Hot swap circuit module
US7293198B2 (en) Techniques for maintaining operation of data storage system during a failure
JP5176914B2 (en) Transmission device and system switching method for redundant configuration unit
JP2003242048A (en) Bus system
US20040162927A1 (en) High speed multiple port data bus interface architecture
JP3448197B2 (en) Information processing device
JP3261014B2 (en) Module replacement method and self-diagnosis method in data processing system
US20170270021A1 (en) Repair of failed firmware through an unmodified dual-role communication port
JPH11120154A (en) Device and method for access control in computer system
US7131028B2 (en) System and method for interconnecting nodes of a redundant computer system
JP4593135B2 (en) Computer system, peripheral device, and peripheral device testing method
JP2829219B2 (en) Information processing device
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JPH06290066A (en) Duplex device
JP3298989B2 (en) Failure detection / automatic embedded device