JPH07219812A - Abnormality monitoring system - Google Patents
Abnormality monitoring systemInfo
- Publication number
- JPH07219812A JPH07219812A JP6007957A JP795794A JPH07219812A JP H07219812 A JPH07219812 A JP H07219812A JP 6007957 A JP6007957 A JP 6007957A JP 795794 A JP795794 A JP 795794A JP H07219812 A JPH07219812 A JP H07219812A
- Authority
- JP
- Japan
- Prior art keywords
- abnormality
- board
- signal
- bus
- abnormal
- 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
Links
- 230000005856 abnormality Effects 0.000 title claims abstract description 193
- 238000012544 monitoring process Methods 0.000 title claims abstract description 85
- 230000002159 abnormal effect Effects 0.000 claims abstract description 96
- 238000001514 detection method Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 8
- 230000007488 abnormal function Effects 0.000 abstract description 2
- 238000011084 recovery Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000009931 harmful effect Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロコンピュータ
を始めとする情報処理装置やこれを利用した制御装置の
構築方式に係り、特に情報の受け渡しにバスとバスマス
タを利用したマルチ・プロセッサ(マルチ・マスタ)構
成におけるシステム・レベルでの異常監視方式に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for constructing an information processing apparatus such as a microcomputer and a control apparatus using the same, and more particularly to a multi-processor (multi-processor) using a bus and a bus master for exchanging information. Master) configuration-related abnormality monitoring method at the system level.
【0002】[0002]
【従来の技術】マイクロプロセッサを利用した情報処理
装置や制御装置では、一般的に、複数の機能エレメント
をバスと呼ばれる論理的なデータ・チャンネルで接続
し、各エレメント間でデータの授受を行うことによって
制御や処理を進めて行く。2. Description of the Related Art In an information processing device or control device using a microprocessor, generally, a plurality of functional elements are connected by a logical data channel called a bus, and data is exchanged between the elements. Control and processing by.
【0003】これを具体的に実現するには、それぞれの
機能エレメントを機能集積されたプリント配線板(以下
ボードと呼ぶ)に納め、複数のボードをバスを実現した
プリント配線板(以下バックプレーンと呼ぶ)に接続す
ることによってシステムとしてまとめる方式が採られて
いる。In order to realize this concretely, each functional element is housed in a printed wiring board (hereinafter referred to as a board) in which functions are integrated, and a plurality of boards are realized as a printed wiring board (hereinafter referred to as a backplane). The system is adopted by connecting to the system.
【0004】このような方式のシステムには、1つのシ
ステム内に単一の「バス」を使用する権利を持つボード
(プロセッサ・ボードやDMAボード等のことで一般に
はマスタと呼ぶ)と、複数のバスに従属するボード(一
般にはスレーブと呼ぶ)とを実装したシングル・プロセ
ッサ・システムがある。In such a system, a board having a right to use a single "bus" in one system (processor board, DMA board, etc., generally called a master), and a plurality of boards are provided. There is a single processor system in which a board (generally called a slave) that is subordinate to the bus of is implemented.
【0005】また、複数のプロセッサ(マスタ)・ボー
ドと複数のスレーブ・ボードとから構成されるマルチ・
プロセッサ・システム(マルチ・マスタ・システム)が
ある。In addition, a multi-processor composed of a plurality of processor (master) boards and a plurality of slave boards.
There is a processor system (multi-master system).
【0006】上記のようなシステムは、バスと呼ばれて
いる論理的なデータ・チャンネル(信号群を1つの束と
見做したもの)で結合されているが、一般にマイクロコ
ンピュータ用の汎用標準バスとしては、マルチバス、V
MEバス等が知られている。このような標準バスは、広
く産業用の制御バスとして使用されており、現状では制
御システムの構築には欠かせない技術となっている。The system as described above is connected by a logical data channel (a group of signals is regarded as one bundle) called a bus, but it is generally a general-purpose standard bus for microcomputers. As a multi-bus, V
ME buses and the like are known. Such a standard bus is widely used as an industrial control bus, and is a technology indispensable for constructing a control system at present.
【0007】このような標準バスには、異常監視の手段
として、通常1本の信号線から「システム異常信号」
(以下SYSFAIL信号と呼ぶ)が取り出される。こ
の信号は、自らの異常を監視する能力を持ったボードが
内部の異常を検出した場合にアサートするもので、シス
テム側で異常処理や外部への通知を行うことを目的とし
たものである。In such a standard bus, as a means for monitoring an abnormality, a "system abnormality signal" is usually provided from one signal line.
(Hereinafter referred to as the SYSFAIL signal) is taken out. This signal is asserted when a board capable of monitoring its own abnormality detects an internal abnormality, and is intended for the system side to perform abnormality processing and notify the outside.
【0008】マルチ・プロセッサ・システムを構成する
バス上には異常監視能力のあるボードが複数存在するこ
とが多いのに対し、このSYSFAIL信号は1本の信
号線のため、通常はワイアード・OR(論理和)を取ら
れて出力される。In many cases, there are a plurality of boards having anomaly monitoring capability on the bus which constitutes a multi-processor system. On the other hand, since this SYSFAIL signal is a single signal line, it is normally wired OR ( It is output after being ORed.
【0009】SYSFAIL信号は、上記のように、シ
ステム内のボードの異常検出信号をシステムに通知する
ために設けられているが、現状の技術では、 (1)システムを統括するプロセッサ・ボードにこれを
通知してシステムの動作を停止させる。As described above, the SYSFAIL signal is provided to notify the system of an abnormality detection signal of a board in the system. In the current technology, (1) this is sent to the processor board that controls the system. To stop the operation of the system.
【0010】(2)システムを監視するモジュールにこ
れを通知し、人(オペレータ)または別の装置に異常が
あったことを通知する。(2) This is notified to the module that monitors the system, and the person (operator) or another device is notified of the abnormality.
【0011】といった目的に使用されているに過ぎな
い。It is only used for the above purpose.
【0012】図5は、従来のマルチ・プロセッサ・シス
テムの構成と異常監視の概念を示す。同図において、1
01はシステムを統括するメイン・プロセッサ・ボー
ド、102はサブ・プロセッサ・ボード、103は内部
にインテリジェント機能を持ったI/Oボード、104
は一般的なスレーブのI/Oボード、105はシステム
の異常監視を行う異常監視回路である。FIG. 5 shows the configuration of a conventional multi-processor system and the concept of abnormality monitoring. In the figure, 1
01 is a main processor board that controls the system, 102 is a sub processor board, 103 is an I / O board with an intelligent function inside, 104
Is a general slave I / O board, and 105 is an abnormality monitoring circuit for performing system abnormality monitoring.
【0013】監視回路105は、専用のボードとなるこ
ともあるが、非常に小型な回路になるため、バスを形成
するバックプレーンやプロセッサ・ボード等に内蔵され
ることもある。Although the monitoring circuit 105 may be a dedicated board, it is a very small circuit, and therefore may be incorporated in a backplane forming a bus, a processor board, or the like.
【0014】111は各ボード間の信号のやり取りを行
うためのシステム・バスであり、112はその中の1本
の信号線であるSYSFAIL信号を示す。Reference numeral 111 is a system bus for exchanging signals between the boards, and reference numeral 112 is a SYSFAIL signal which is one of the signal lines.
【0015】101、102、103の各ボードは、自
らの異常を監視し、異常発生の際にはSYSFAIL信
号を出力する機能を持っている。104は異常発生にS
YSFAIL信号を出力する能力を持っていない。Each of the boards 101, 102 and 103 has a function of monitoring its own abnormality and outputting a SYSFAIL signal when an abnormality occurs. 104 is S when an abnormality occurs
It does not have the ability to output the YSFAIL signal.
【0016】また、メイン・プロセッサ・ボード101
と異常監視回路105は、SYSFAIL信号を入力し
てシステム全体の制御を停止したり、外部のオペレータ
や他の装置に対して異常を通知する能力を持っている。Further, the main processor board 101
The abnormality monitoring circuit 105 has a capability of inputting a SYSFAIL signal to stop the control of the entire system and notifying an external operator or another device of the abnormality.
【0017】上記の構成において、サブ・プロセッサ・
ボード102に異常が発生したとすると、このボードは
SYSFAIL信号112をアサートする。メイン・プ
ロセッサ・ボード101は内部割り込み等を発生してこ
れを感知し、システム内に異常があったとしてシステム
の制御を停止する。In the above configuration, the sub processor
If an abnormality occurs on the board 102, the board asserts the SYSFAIL signal 112. The main processor board 101 generates an internal interrupt or the like, detects this, and determines that there is an abnormality in the system, and stops the control of the system.
【0018】また、同時に監視回路105はSYSFA
IL信号がアサートされたことを感知してLED表示や
ブザー等の報知手段によってオペレータに通知したり、
絶縁型のDO(ディジタル出力)回路等によって別のシ
ステムや装置に信号として通知する。At the same time, the monitoring circuit 105 is a SYSFA.
Detecting that the IL signal is asserted and notifying the operator by means of notification such as LED display or buzzer,
The isolated DO (digital output) circuit or the like notifies another system or device as a signal.
【0019】[0019]
【発明が解決しようとする課題】従来の異常監視方式で
は、個々のボードが検出した異常をSYSFAIL信号
を介して通知する場合、SYSFAIL信号線が1本の
みであることとワイアード・ORを取る信号であること
から、この信号がアサートされたときにどのボードに異
常が発生したのかを知ることができない。In the conventional abnormality monitoring system, when the abnormality detected by each board is notified via the SYSFAIL signal, the signal indicating that there is only one SYSFAIL signal line and wired OR is used. Therefore, it is not possible to know which board has an abnormality when this signal is asserted.
【0020】したがって、システムを管理するメイン・
プロセッサ・ボード101や監視ボード105は、異常
を起こしたボードを限定したり、そのボードだけの使用
を停止してシステムの他の部分の運用を続けることがで
きない。Therefore, the main
Regarding the processor board 101 and the monitoring board 105, it is not possible to limit the board in which an abnormality has occurred or stop the use of only that board to continue the operation of other parts of the system.
【0021】このような弊害をさける1つの手段とし
て、各ボードの検出する異常を割り込みを用いてメイン
・プロセッサ・ボードに通知する方法もあるが、 (1)割り込み回路は複雑であり、個々のボードに搭載
すべきハードウエア量が大きく、この部分での故障も考
えられること。As one means for avoiding such an adverse effect, there is a method of notifying an abnormality detected by each board to the main processor board by using an interrupt, but (1) the interrupt circuit is complicated and each The amount of hardware that should be mounted on the board is large, and failures in this part are also possible.
【0022】(2)割り込みを受け付けるプロセッサ・
ボードはシステム内で1つしか無く、これが故障した場
合の異常の検出は殆ど不可能であること。(2) Processor that accepts interrupts
There is only one board in the system, and if it fails, it is almost impossible to detect anomalies.
【0023】等の弊害も残される。The harmful effects such as the above are also left.
【0024】本発明の目的は、割り込み機能を使うこと
なく異常発生したボードを判別してシステムの運転継続
を可能にした異常監視方式を提供することにある。It is an object of the present invention to provide an abnormality monitoring system which enables a system to continue operating by discriminating a board in which an abnormality has occurred without using an interrupt function.
【0025】本発明の他の目的は、メイン・プロセッサ
・ボードの機能停止にも異常発生したボードを判別可能
にした異常監視方式を提供することにある。Another object of the present invention is to provide an abnormality monitoring system capable of discriminating a board in which an abnormality has occurred even when the main processor board has stopped functioning.
【0026】さらに、本発明の他の目的は、メイン・プ
ロセッサ・ボード以外の他のプロセッサ・ボードによ
り、異常発生したボードを判別してシステムの運転継続
を可能にした異常監視方式を提供することにある。Further, another object of the present invention is to provide an abnormality monitoring system in which the processor board other than the main processor board is used to discriminate the board in which the abnormality has occurred so that the operation of the system can be continued. It is in.
【0027】[0027]
【課題を解決するための手段】本発明は、前記課題の解
決を図るため、システム・バスによって複数の機能ボー
ドが結合され、各機能ボードは内部の異常検出に前記シ
ステム・バスの1つのシステム異常信号線をアサートす
る異常情報出力部を有し、前記機能ボードの内のメイン
・プロセッサ・ボードに設ける異常監視手段及び専用の
ボードにされる異常監視手段が前記システム異常信号線
のアサートによって異常監視を行うマルチ・プロセッサ
・システムにおいて、前記各機能ボードは排他的な専用
のコードになる異常デバイス・コードを有し、内部の異
常検出で該異常デバイス・コードをシステム・バスのデ
ータ・バス上に出力する手段を設け、前記メイン・プロ
セッサ・ボードの異常監視手段は、前記システム異常信
号線がアサートされたときにデータ・バス上の前記異常
デバイス・コードから異常発生した機能ボードを判別し
てシステム運転を継続する処理を行うことを特徴とす
る。According to the present invention, in order to solve the above-mentioned problems, a plurality of function boards are coupled by a system bus, and each function board is connected to one system of the system bus for internal abnormality detection. An abnormality information output unit for asserting an abnormality signal line is provided, and the abnormality monitoring means provided on the main processor board of the function boards and the abnormality monitoring means provided on a dedicated board are abnormal due to the assertion of the system abnormality signal line. In a multi-processor system for monitoring, each of the function boards has an abnormal device code that becomes an exclusive dedicated code, and the abnormal device code is detected on the data bus of the system bus by internal abnormality detection. Means for outputting the signal to the main processor board, and the abnormality monitoring means of the main processor board detects that the system abnormality signal line is asserted. And performing the abnormality generated function board from the abnormal device code to determine to continue the system operation processing on the data bus when the.
【0028】また、本発明は、前記専用のボードにされ
る異常監視手段は、前記システム異常信号線がアサート
されたときから前記メイン・プロセッサ・ボードの異常
監視手段が前記異常デバイス・コードのリード・サイク
ルを起こすまでの時間を監視するタイマを設け、このタ
イマのタイムアップで前記異常デバイス・コードから異
常発生した機能ボードを判別して外部に出力することを
特徴とする。Further, according to the present invention, the abnormality monitoring means provided on the dedicated board is such that the abnormality monitoring means of the main processor board reads the abnormal device code after the system abnormality signal line is asserted. It is characterized in that a timer for monitoring the time until a cycle is generated is provided, and the function board in which an abnormality has occurred is discriminated from the abnormal device code by the time-up of this timer, and output to the outside.
【0029】また、本発明は、前記専用のボードにされ
る異常監視手段は、データ・バスからラッチした前記異
常デバイス・コードをシステム・バス側に再度出力する
読み返し手段を設け、前記メイン・プロセッサ・ボード
を除く前記機能ボードの1つの機能ボードは、前記メイ
ン・プロセッサ・ボードから受ける指令が一定時間を越
えるときに該メイン・プロセッサ・ボードの停止と判別
するタイマを設け、このタイマのタイムアップで前記読
み返し手段から異常デバイス・コードを読み出して異常
発生した機能ボードを判別してシステム運転を継続する
処理を行うことを特徴とする。Further, in the present invention, the abnormality monitoring means provided on the dedicated board is provided with a read-back means for outputting the abnormal device code latched from the data bus to the system bus side again, and the main processor is provided. One of the function boards excluding the board is provided with a timer for determining that the main processor board is stopped when the command received from the main processor board exceeds a certain time, and the time-up of this timer Then, the abnormal device code is read from the read-back means, the functional board in which the abnormality has occurred is discriminated, and the system operation is continued.
【0030】[0030]
【作用】システム異常信号線をアサートしたボードをデ
ータ・バス上に出力される異常デバイス・コードから判
別することにより、この異常発生したボードに対する制
御・処理のみを停止して他のボードによる制御・処理を
継続したり、異常復旧の処理を可能にし、システムの運
転継続ができるようにする。[Function] By discriminating the board that asserts the system abnormality signal line from the abnormal device code output on the data bus, only the control / processing for this abnormal board is stopped and the control / control by other boards is performed. Continue processing, enable abnormal recovery processing, and enable system operation to continue.
【0031】メイン・プロセッサ・ボードの異常情報リ
ード・サイクルを異常監視手段のタイマ機能で監視する
ことにより、メイン・プロセッサ・ボードの異常停止を
検出し、メイン・プロセッサ・ボードに代わって異常監
視手段による異常デバイス・コードの収集と、それによ
る異常発生したボードの判別ができるようにする。Abnormality stop of the main processor board is detected by monitoring the read cycle of abnormality information of the main processor board by the timer function of the abnormality monitoring means, and the abnormality monitoring means instead of the main processor board is detected. Enables the collection of abnormal device codes by and the determination of the board in which an abnormality has occurred.
【0032】異常監視手段に異常デバイス・コードの読
み返し機能を設けることにより、メイン・プロセッサ・
ボード以外の機能ボードが異常発生した機能ボードを判
別し、メイン・プロセッサ・ボードと同等の制御・処理
の継続や異常復旧の処理を可能にする。By providing a function for reading back the abnormal device code in the abnormality monitoring means, the main processor
The function boards other than the board determine which function board has an error, and enable the same control / processing and error recovery processing as the main processor board.
【0033】[0033]
【実施例】図1は、本発明の一実施例を示す異常監視の
ための構成図である。同図において、200はシステム
を統括するメイン・プロセッサ・ボード、210と22
0は異常監視能力をもったボード、230は監視回路部
である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram for abnormality monitoring showing an embodiment of the present invention. In the figure, 200 is a main processor board that controls the system, and 210 and 22.
Reference numeral 0 is a board having an abnormality monitoring capability, and 230 is a monitoring circuit unit.
【0034】ボード内の201と211及び221は、
異常情報をバスに出力するための異常情報出力部。20
2は、メイン・プロセッサ・ボード内のCPU部。20
3は、異常情報を取り込んでCPUに通知するための異
常情報入力部。231は異常監視回路。232は異常を
外部(オペレータまたは他の装置)に通知するための異
常出力回路。201, 211 and 221 in the board are
An abnormality information output unit for outputting abnormality information to the bus. 20
2 is the CPU section in the main processor board. 20
Reference numeral 3 is an abnormality information input unit for fetching abnormality information and notifying the CPU. 231 is an abnormality monitoring circuit. Reference numeral 232 is an abnormality output circuit for notifying an abnormality (operator or other device) to the outside.
【0035】さらに、2Aはシステム・バス内のアドレ
ス・バス。2Bはシステム・バス内のデータ・バス。2
Cはリード・コマンド信号(以下RD信号と呼ぶ)。2
DはSYSFAIL信号。Further, 2A is an address bus in the system bus. 2B is a data bus in the system bus. Two
C is a read command signal (hereinafter referred to as RD signal). Two
D is a SYSFAIL signal.
【0036】20aと21a及び22aは、各ボード内
で検出された異常通知信号(以下ERROR信号と呼
ぶ)。20bと21b及び22bは後述の異常デバイス
・コードを出力するデータ・バス。20cと21c及び
22cはSYSFAIL信号出力。20dと21d及び
22dはRD信号入力。20eと21e及び22eはア
ドレス信号の入力バス。Reference numerals 20a, 21a and 22a denote abnormality notification signals (hereinafter referred to as ERROR signals) detected in each board. 20b, 21b and 22b are data buses for outputting an abnormal device code described later. 20c, 21c and 22c output SYSFAIL signal. RD signal input for 20d, 21d and 22d. 20e, 21e, and 22e are input buses for address signals.
【0037】20fと23fは、メイン・プロセッサ及
び異常監視回路が異常デバイス・コードを入力するデー
タ・バス。20gと23gはSYSFAIL信号入力。
20hと23hはRD信号の出力。20jはメイン・プ
ロセッサ・ボードのアドレス出力バス。23jは監視回
路のアドレス入力バス。20kはSYSFAIL信号の
発生をCPUに知らせるための割り込み信号。Reference numerals 20f and 23f are data buses into which the main processor and the abnormality monitoring circuit input the abnormal device code. 20g and 23g input SYSFAIL signal.
20h and 23h are RD signal outputs. 20j is an address output bus of the main processor board. 23j is an address input bus of the monitoring circuit. 20k is an interrupt signal for notifying the CPU of the generation of the SYSFAIL signal.
【0038】20Lは、CPUが異常入力部を制御する
ための内部バス。23kは異常監視回路が異常出力回路
に渡すラッチされた異常デバイス・コード情報。Reference numeral 20L is an internal bus for the CPU to control the abnormal input section. 23k is the latched abnormal device code information that the abnormal monitoring circuit passes to the abnormal output circuit.
【0039】各制御信号は、基本的にロウ・レベルで意
味ありの負論理で動作し、アドレス・バスとデータ・バ
スとはハイ・レベルで意味ありの正論理で動作してお
り、システム・バス上では全ての信号がハイ・レベル側
にプル・アップされているものとする。Each control signal basically operates at a low level with meaningful negative logic, and the address bus and the data bus operate at a high level with meaningful positive logic. On the bus, all signals are assumed to be pulled up to the high level side.
【0040】本実施例の動作を以下に詳細に説明する。The operation of this embodiment will be described in detail below.
【0041】まず、システムが正常な動作を実行してい
るとする。メイン・プロセッサ・ボード200がシステ
ム全体を制御している。First, it is assumed that the system is operating normally. The main processor board 200 controls the entire system.
【0042】今、ボード210が内部で異常を検出し、
21a信号がアサートされたとする。このとき、 (1)異常情報出力部211は、異常があったことをシ
ステムに通知するためにSYSFAIL信号をアサート
する。Now, the board 210 internally detects an abnormality,
Assume that the 21a signal is asserted. At this time, (1) the abnormality information output unit 211 asserts the SYSFAIL signal in order to notify the system that there is an abnormality.
【0043】(2)SYSFAIL信号2Dのラインが
アサートされ、信号20g及び23gのラインを通して
異常情報入力部203及び異常監視回路231がこれを
感知する。(2) The line of the SYSFAIL signal 2D is asserted, and the abnormality information input section 203 and the abnormality monitoring circuit 231 sense this through the lines of the signals 20g and 23g.
【0044】(3)異常情報入力部203は信号20k
の割り込みを用いて異常発生をCPU202に通知す
る。(3) Abnormality information input section 203 outputs signal 20k
The CPU 202 is notified of the occurrence of an abnormality by using the interrupt.
【0045】(4)CPU202は、制御バス20Lを
用いて異常情報入力部203を制御し、まずシステム・
バスの支配権を獲得(図示省略)した後、アドレス出力
部20jに全てがハイ・レベルのアドレス(例えば32
ビット・アドレスの場合では「FFFF FFFF
h」)を出力し、そのサイクルでRD信号20hをアサ
ートする。(4) The CPU 202 controls the abnormality information input section 203 using the control bus 20L, and
After the mastership of the bus is obtained (not shown), the address output unit 20j outputs all high-level addresses (for example, 32
In the case of bit address, "FFFF FFFF
h ”) is output and the RD signal 20h is asserted in the cycle.
【0046】(5)全てのビットがハイ・レベルのアド
レスと、RD信号は異常検出を行っている全てのボード
と異常監視回路231で入力される。(5) An address in which all the bits are high level and the RD signal are input to all the boards which are detecting the abnormality and the abnormality monitoring circuit 231.
【0047】(6)SYSFAIL信号をアサートして
いるボード210は、全てがハイ・レベルのアドレスを
バス21eを通して取り込み、入力されるRD信号21
dに同期して特有の異常デバイス・コードをデータ・バ
ス21bに出力する。(6) The board 210 asserting the SYSFAIL signal takes in all high level addresses through the bus 21e and inputs the RD signal 21.
A unique abnormal device code is output to the data bus 21b in synchronization with d.
【0048】ボード210の異常情報出力部211は、
この処理の最後に出力していたSYSFAIL信号をネ
ゲートする。The abnormality information output section 211 of the board 210 is
The SYSFAIL signal output at the end of this process is negated.
【0049】この異常デバイス・コードは、異常検出能
力を持つ各ボードにデータ内の特定の1ビットづつを割
り振ったコードでデータ・バスのビット数分のボードに
対応できるものである。複数のデータ・ラインの内、異
常を発生したボードに対応したビットだけがロウ・レベ
ルになる。This abnormal device code is a code in which each specific one bit in the data is allocated to each board having an abnormality detecting capability, and can correspond to the boards corresponding to the number of bits of the data bus. Of the multiple data lines, only the bit corresponding to the board in which the abnormality has occurred goes low.
【0050】(7)異常情報入力部203は、データ入
力バス20fを介して異常デバイス・コードを読み込
み、これを内部バス20Lを介してCPU202に伝え
ると共に、CPUの読み込みサイクルを終結させる。こ
れを異常情報リード・サイクルと呼ぶ。(7) The abnormality information input section 203 reads the abnormal device code via the data input bus 20f, transmits it to the CPU 202 via the internal bus 20L, and terminates the CPU read cycle. This is called an abnormal information read cycle.
【0051】同時に、異常監視回路231では、このサ
イクルでデータ・バス上に出力された異常デバイス・コ
ードを信号23fのラインを通して取り込み、RD信号
23hに同期してこれをラッチする。At the same time, the abnormality monitoring circuit 231 takes in the abnormal device code output on the data bus in this cycle through the line of the signal 23f and latches it in synchronization with the RD signal 23h.
【0052】(8)CPU202は、受け取った異常デ
バイス・コードから異常を起こしたボード(ここではボ
ード210)を判断する。(8) The CPU 202 determines the board (here, the board 210) in which an abnormality has occurred from the received abnormal device code.
【0053】異常監視回路231は、ラッチした異常デ
バイスの情報を異常出力回路232を通して外部に通知
する。The abnormality monitoring circuit 231 notifies the outside of the latched abnormal device information through the abnormality output circuit 232.
【0054】以上のように、従来システムではメイン・
プロセッサがSYSFAIL信号を感知してもシステム
内のどのボードが異常を起こしたか分からないため、そ
の先の処理が可能なのか不可能なのかの判断ができず、
システム全体の制御はこの時点で停止せざるを得なかっ
たが、本実施例ではSYSFAIL信号をアサートした
ボードを異常デバイス・コードを用いて判断できるた
め、メイン・プロセッサはそれが論理的に可能である場
合には異常を起こしたボードに対する制御だけを停止
し、その先の処理を継続したり、異常復旧の処理を行う
こともできる。As described above, in the conventional system, the main
Even if the processor senses the SYSFAIL signal, it does not know which board in the system has caused an error, so it cannot be determined whether or not further processing is possible.
Although the control of the entire system had to be stopped at this point, in the present embodiment, the board that asserted the SYSFAIL signal can be judged using the abnormal device code, so the main processor can logically do so. In some cases, it is possible to stop only the control for the board in which the abnormality has occurred, continue the processing thereafter, and perform the processing for the abnormality recovery.
【0055】したがって、システムを容易に停止させて
はならないようなフォールト・トレラントなシステム要
求に近づけることが可能となる。Therefore, it becomes possible to approach the fault-tolerant system requirement that the system should not be stopped easily.
【0056】次に、異常監視回路230の異常情報入力
部231に「異常発生からメイン・プロセッサによる異
常情報リード・サイクルを起こすまでの時間を監視する
タイマ」を設けることによって、システムの制御を行っ
ているメイン・プロセッサであるボード200が異常発
生して停止した場合にも、異常発生デバイスの判別を行
えることについて以下に動作説明する。Next, the system is controlled by providing the "abnormality information input unit 231 of the abnormality monitoring circuit 230 with a" timer for monitoring the time from the occurrence of the abnormality to the occurrence of the abnormal information read cycle by the main processor "". Even if the board 200, which is the main processor, stops due to an abnormality, the operation will be described below for determining the device in which the abnormality has occurred.
【0057】今、ボード200内の回路が異常を検出
し、20a信号がアサートされたとする。Now, it is assumed that the circuit in the board 200 detects an abnormality and the signal 20a is asserted.
【0058】(11)201回路は、異常があったこと
をまずシステムに通知するために、SYSFAIL信号
20cをアサートする。(11) The circuit 201 first asserts the SYSFAIL signal 20c in order to notify the system that an abnormality has occurred.
【0059】(12)SYSFAIL信号2Dのライン
がアサートされ、20g及び23gラインを通して異常
情報入力部203と異常監視回路231がこれを感知す
る。(12) The line of the SYSFAIL signal 2D is asserted, and the abnormality information input section 203 and the abnormality monitoring circuit 231 sense this through the 20g and 23g lines.
【0060】(13)異常情報入力部203は、信号2
0aがアサートされている場合には、既にCPU202
の動作が保証できないと見做し、これに対する異常の割
り込み20kをアサートしないようにすると共に、シス
テム・バスに対する異常情報リード・サイクルを発生さ
せないようにインターロックする。(13) The abnormality information input section 203 receives the signal 2
If 0a is asserted, the CPU 202 has already
It is considered that the operation cannot be guaranteed, and the abnormal interrupt 20k for this is not asserted, and interlock is performed so as not to generate an abnormal information read cycle to the system bus.
【0061】(14)23gを通して入力されたSYS
FAIL信号によって、異常監視回路231内の「異常
情報リード・サイクル監視タイマ」(以下監視タイマと
呼ぶ)に起動がかけられる。(14) SYS input through 23g
The FAIL signal activates an "abnormality information read cycle monitoring timer" (hereinafter referred to as a monitoring timer) in the abnormality monitoring circuit 231.
【0062】(15)上記の(13)でインターロック
を受けているため、ボード200は異常情報リード・サ
イクルを起こすことが無い。このため、231回路内の
監視タイマはタイムアップする。異常監視回路231
は、このタイムアップ時のパルスを用いてRD信号23
hをアサートする。(15) Since the board is interlocked in (13) above, the board 200 does not cause an abnormal information read cycle. Therefore, the monitoring timer in the 231 circuit times out. Abnormality monitoring circuit 231
RD signal 23 using the pulse at the time up
Assert h.
【0063】なお、ボード200以外の異常の場合も同
様に監視タイマによる起動がかけられるが、一定時間内
にボード200によって異常情報リード・サイクルが行
われるため、タイムアップすることが無く、したがって
RD信号は出力されない。In the case of an abnormality other than the board 200, the monitor timer is similarly activated, but since the abnormality information read cycle is performed by the board 200 within a fixed time, there is no time-up, and therefore RD No signal is output.
【0064】(16)RD信号23hがアサートされる
とき、アドレス・バス2Aは、どのボードからも駆動さ
れないが、プルアップされていて全ラインがハイ・レベ
ル状態にある。(16) When the RD signal 23h is asserted, the address bus 2A is not driven by any board, but is pulled up and all the lines are in the high level state.
【0065】(17)全てがハイ・レベルのアドレスと
RD信号は、異常検出を行っている全てのボードと異常
監視回路231で入力される。(17) All high-level addresses and RD signals are input to all the boards that are performing abnormality detection and the abnormality monitoring circuit 231.
【0066】(18)SYSFAIL信号をアサートし
ているボード200は、全てがハイ・レベルのアドレス
をバス20eを通して取り込み、入力されるRD信号2
0dに同期して、特有の異常デバイス・コードをデータ
・バス20bに出力する。(18) The board 200 asserting the SYSFAIL signal takes in all high level addresses through the bus 20e and inputs the RD signal 2
A unique abnormal device code is output to the data bus 20b in synchronization with 0d.
【0067】ボード200の異常出力回路201は、こ
の処理の最後に、出力していたSYSFAIL信号をネ
ゲートする。The abnormal output circuit 201 of the board 200 negates the output SYSFAIL signal at the end of this processing.
【0068】(19)異常監視回路231では、このサ
イクルでデータ・バス上に出力された異常デバイス・コ
ードを23fラインを介して取り込み、RD信号23h
に同期してこれをラッチする。(19) In the abnormality monitoring circuit 231, the abnormal device code output on the data bus in this cycle is fetched via the 23f line, and the RD signal 23h is fetched.
Latch this in sync with.
【0069】(20)異常監視回路231は、ラッチし
た異常デバイスの情報を異常出力回路232を通して外
部に通知する。(20) The abnormality monitoring circuit 231 notifies the outside of the latched abnormal device information through the abnormality output circuit 232.
【0070】以上のように、システムを統括するメイン
・プロセッサ・ボードが異常を起こしても、そのデバイ
スを判別し、外部に対する異常の通知を行うことでき
る。As described above, even if the main processor board controlling the system has an abnormality, the device can be discriminated and the abnormality can be notified to the outside.
【0071】次に、異常監視回路231内の異常デバイ
ス・コード・ラッチに、システム・バス側からの読み返
しバッファ(以下、デバイス・コード読み返しレジスタ
と呼ぶ)を設けることにより、「システムのメイン・プ
ロセッサ・ボードが異常を起こした場合にも、システム
内のサブ・プロセッサ・ボードがこれを肩代わりし、シ
ステムを停止させずに運転を続けられる。」という機能
を実現できる。これは、次のようなことである。Next, the abnormal device code latch in the abnormality monitoring circuit 231 is provided with a read-back buffer from the system bus side (hereinafter referred to as a device code read-back register), whereby "the main processor of the system" is read. -Even if a board malfunctions, the sub-processor board in the system can take over this and continue the operation without stopping the system. " This is as follows.
【0072】まず、システムは、メイン・プロセッサ・
ボード200の他に、それと等価な能力を持ったサブ・
プロセッサ・ボード(仮に201がそれであるとする)
を持つものとし、サブ・プロセッサ・ボードは、メイン
・プロセッサ・ボードから受ける指令(詳細は規定しな
い)に対して、タイマ監視(一定時間内に指令を受ける
と言うプロトコルに従ってメイン・プロセッサが停止し
た場合にタイムアップを起こすようなもので、以下指令
タイマと呼ぶ)を行っていたとする。First, the system consists of a main processor
In addition to the board 200, a sub
Processor board (assuming 201 is that)
And the sub-processor board has stopped the main processor according to the protocol that the command received from the main processor board (details are not specified) is monitored by the timer (the command is received within a certain period of time). In that case, it will cause a time-up and will be referred to as a command timer hereinafter).
【0073】今、ボード200内の回路が異常を検出
し、20a信号がアサートされたとすると上述の(1
1)〜(20)の動作が発生する。そして、更に、次の
処理が進められる。Now, assuming that the circuit inside the board 200 detects an abnormality and the signal 20a is asserted, the above (1
The operations 1) to (20) occur. Then, the next processing is further advanced.
【0074】(21)ボード200は異常を起こし、シ
ステム・バスへのアクセスを停止するため、サブ・プロ
セッサ・ボード210はボード200からの指令を受け
なくなり、指令タイマがタイムアップする。(21) Since the board 200 has an abnormality and stops access to the system bus, the sub processor board 210 no longer receives a command from the board 200 and the command timer expires.
【0075】(22)サブ・プロセッサ・ボード210
は、ボード200が停止したことを感知し、システム・
バスを介して異常監視回路230内の異常デバイス・コ
ード読み返しレジスタを読み出す。(22) Sub processor board 210
Detects that the board 200 has stopped, and
The abnormal device code read back register in the abnormality monitoring circuit 230 is read out via the bus.
【0076】(23)この情報により、サブ・プロセッ
サ・ボード210は、メイン・プロセッサ・ボード20
0が異常を起こしたことを確認し、更に、その他の異常
状態になったボードの有無及びそのボードがどれである
かまでを認識することができる。(23) Based on this information, the sub processor board 210 can be connected to the main processor board 20.
It is possible to confirm that 0 has caused an abnormality, and further recognize the presence / absence of another board in an abnormal state and the board.
【0077】以上のことより、システムのメイン・プロ
セッサ・ボードが異常を起こした場合にも、システム内
のサブ・プロセッサ・ボードがこれを肩代わりし、シス
テムを停止することなく運転を続けることが可能とな
り、フォールト・トレラントなシステム要求に近づける
ことが可能となる。From the above, even when the main processor board of the system has an abnormality, the sub processor board in the system can take over this and continue the operation without stopping the system. Therefore, it becomes possible to approach the fault-tolerant system requirements.
【0078】次に、図1のシステムを構成する各部をよ
り具体的な回路構成例を掲げて説明する。Next, each part constituting the system of FIG. 1 will be described with reference to a more specific circuit configuration example.
【0079】図2には図1内のメイン・プロセッサ・ボ
ード200の異常情報入力部203の全体図構成例を示
す。FIG. 2 shows an example of the overall configuration of the abnormality information input section 203 of the main processor board 200 shown in FIG.
【0080】同図において、300は図1のメイン・プ
ロセッサ・ボードの異常情報入力部203の全体構成で
ある。特に、一点鎖線で囲む3Aの部分がこの構成で特
別に設けられた部分であり、その他は一般のプロセッサ
・ボードと共通な部分である。In the figure, reference numeral 300 is the entire configuration of the abnormality information input section 203 of the main processor board of FIG. In particular, the portion 3A surrounded by the alternate long and short dash line is a portion specially provided in this configuration, and the other portions are common to a general processor board.
【0081】301はシステム・バス・インターフェー
スのうち、アドレスADRSの出力とRD信号の出力部
分であり、303はデータDATAの入出力部分であ
る。310はCPUを示す。Reference numeral 301 denotes an output portion of the address ADRS and RD signal in the system bus interface, and 303 denotes an input / output portion of the data DATA. Reference numeral 310 represents a CPU.
【0082】302は、バス上のSYSFAIL信号を
入力してCPUに割り込みをかけるための割り込み発生
回路。Reference numeral 302 denotes an interrupt generation circuit for inputting the SYSFAIL signal on the bus to interrupt the CPU.
【0083】また、30aは異常デバイス・コードを入
力するためのデータ入力バス。30bはSYSFAIL
信号入力。30cはRD信号の出力。30dはアドレス
出力バス。30eはCPU310のローカル・データ・
バス。30fは割り込み信号。30gはCPUと異常情
報入力部との間の双方向の制御信号。30hはCPUの
ローカル・アドレス・バス。30jは図1の20aに相
当する内部回路の異常検出信号である。Further, 30a is a data input bus for inputting an abnormal device code. 30b is SYSFAIL
Signal input. 30c is an RD signal output. 30d is an address output bus. 30e is local data of the CPU 310.
bus. 30f is an interrupt signal. 30g is a bidirectional control signal between the CPU and the abnormality information input section. 30h is the local address bus of the CPU. Reference numeral 30j is an abnormality detection signal of the internal circuit corresponding to 20a in FIG.
【0084】図2の回路動作を以下に説明する。The circuit operation of FIG. 2 will be described below.
【0085】今、システム内の何れかのボードが異常を
検出し、バス上のSYSFAIL信号をアサートする
と、SYSFAIL信号入力30bがアサート状態にな
る。すると、内部異常信号30jがアサートされていな
い場合には、割り込み発生回路302は割り込み信号3
0fをアサートし、CPU310に異常の発生を通知す
る。Now, when any of the boards in the system detects an abnormality and asserts the SYSFAIL signal on the bus, the SYSFAIL signal input 30b becomes asserted. Then, when the internal abnormality signal 30j is not asserted, the interrupt generation circuit 302 causes the interrupt signal 3
0f is asserted to notify the CPU 310 of the occurrence of an abnormality.
【0086】CPU310は、割り込み処理を開始し、
この処理の中でアドレス・バス30hに全てハイ・レベ
ルの信号を出力し、制御信号30gで異常情報入力回路
300に対してリード動作を行うことを通知する。The CPU 310 starts the interrupt processing,
In this process, all high level signals are output to the address bus 30h, and the control signal 30g is used to notify the abnormality information input circuit 300 that a read operation will be performed.
【0087】バス・アドレスとRD信号の出力回路30
1は、内部異常信号がアサートされていない場合にはC
PUの制御に従ってアドレス出力バス30dを全てハイ
・レベルに駆動し、RD信号30cをアサートした上、
一定時間後に制御信号30gを用いてサイクルを終結さ
せること(レディ信号)をCPUに通知する。Output circuit 30 for bus address and RD signal
1 is C when the internal abnormal signal is not asserted
All the address output buses 30d are driven to a high level under the control of the PU, and the RD signal 30c is asserted.
The CPU is notified that the cycle is terminated (ready signal) using the control signal 30g after a fixed time.
【0088】同時に、データ入出力部303は、内部異
常信号30jがアサートされていない場合には、データ
入力バス30aを通して、バス上に出力されている異常
デバイス・コードを入力し、CPUローカル・データ・
バス30eにこの情報を伝える。At the same time, when the internal abnormal signal 30j is not asserted, the data input / output unit 303 inputs the abnormal device code output on the bus through the data input bus 30a, and the CPU local data is input.・
This information is transmitted to the bus 30e.
【0089】これによって、CPU310は異常デバイ
ス・コードを読み込み、これを認識する。As a result, the CPU 310 reads the abnormal device code and recognizes it.
【0090】次に、図3は、メイン・プロセッサ・ボー
ド及びその他の異常検出ボードにおける異常情報出力部
201、211、221の回路構成例を示す。Next, FIG. 3 shows a circuit configuration example of the abnormality information output units 201, 211, 221 in the main processor board and other abnormality detection boards.
【0091】同図において、400は異常情報出力部の
全体。410は異常検出ボードの内部回路を示す。In the figure, 400 is the entire abnormality information output section. Reference numeral 410 represents an internal circuit of the abnormality detection board.
【0092】また、401はバス・アドレスADRSを
入力し、その状態から各種回路の選択信号を発生するア
ドレス・デコード回路。402はRD信号の入力バッフ
ァ。403はインバート入力のNAND回路。404は
内部異常信号のラッチ。405はオープン・コレクタ出
力のSYSFAIL信号のインバーティング・バッフ
ァ。406はデータ・バスに異常デバイス・コードを出
力するためのインバータ・タイプの3ステート・バッフ
ァ。407は通常の処理に用いられるデータ・バッファ
である。An address decode circuit 401 receives the bus address ADRS and generates selection signals for various circuits from the input state. 402 is an RD signal input buffer. A NAND circuit 403 has an inverted input. 404 is a latch of an internal abnormal signal. 405 is an inverting buffer of the SYSFAIL signal of the open collector output. 406 is an inverter type three-state buffer for outputting an abnormal device code to the data bus. A data buffer 407 is used for normal processing.
【0093】また、40aはデータDATAの入出力バ
ス。40bはSYSFAIL信号出力。40cはRD信
号入力。40dはアドレス入力バス。40eは内部回路
の異常検出信号。40fはアドレス・デコーダ部で全て
ハイ・レベル状態を検出したことを示す選択信号。40
gは内部回路へのRD信号。40hは40fと40gの
インバーテッドNAND(ORと等価)出力。40jは
回路406でバッファリングされた異常デバイス・コー
ド信号。40kは内部のデータ・バス。40Lは内部回
路のためのアドレス・デコーダ出力信号である。Reference numeral 40a is an input / output bus for data DATA. 40b is a SYSFAIL signal output. 40c is an RD signal input. 40d is an address input bus. 40e is an internal circuit abnormality detection signal. 40f is a selection signal indicating that all high level states have been detected in the address decoder section. 40
g is the RD signal to the internal circuit. 40h is an inverted NAND (equivalent to OR) output of 40f and 40g. 40j is an abnormal device code signal buffered by the circuit 406. 40k is an internal data bus. 40L is an address decoder output signal for the internal circuit.
【0094】一点鎖線で囲まれた4A部が本異常監視方
式に独自の部分であり、その他の部分は通常のボードの
バス・インターフェース回路に含まれている。The portion 4A surrounded by the one-dot chain line is a portion unique to this abnormality monitoring system, and the other portions are included in the bus interface circuit of a normal board.
【0095】点線で囲まれた4B部は異常デバイス・コ
ードとして、そのボードがデータ・バスにロウ・レベル
を出力すべきビットを選択するための設定部である。そ
れぞれの異常検出ボードは排他的な番号を持ったビット
に異常信号を出力するよう設定を行う。A section 4B surrounded by a dotted line is a setting section for selecting a bit whose board should output a low level to the data bus as an abnormal device code. Each abnormality detection board is set to output an abnormality signal to a bit having an exclusive number.
【0096】この設定部4Bは、機械的な設定で示す
が、バス上に地理的アドレス入力線が定義されている場
合には、電気的に自動的に排他的な出力データ・ビット
を選択するように構成することも可能である。The setting section 4B, which is shown by mechanical setting, electrically and automatically selects exclusive output data bits when a geographical address input line is defined on the bus. It can also be configured as follows.
【0097】以下、図3の回路動作を説明する。The operation of the circuit shown in FIG. 3 will be described below.
【0098】今、内部回路410で異常が検出される
と、異常検出信号40eがアサートされる。これは、発
生と同時にラッチ回路404にラッチされ、バッファ4
05を通してバス上のSYSFAIL信号がアサートさ
れる。When an abnormality is detected in the internal circuit 410, the abnormality detection signal 40e is asserted. This is latched in the latch circuit 404 upon occurrence and
Through 05, the SYSFAIL signal on the bus is asserted.
【0099】この後、SYSFAIL信号をアサートし
たボードがメイン・プロセッサ・ボードでない場合に
は、このメイン・プロセッサ・ボードによって異常情報
リード・サイクルが起こされ、SYSFAIL信号をア
サートしたボードがメイン・プロセッサ・ボードである
場合には異常監視回路によってバス上のRD信号がアサ
ートされる。Thereafter, if the board asserting the SYSFAIL signal is not the main processor board, an abnormal information read cycle is caused by this main processor board, and the board asserting the SYSFAIL signal is the main processor board. If it is a board, the abnormality monitoring circuit asserts the RD signal on the bus.
【0100】これらの何れの場合にも、バス上のアドレ
ス・ラインは全てハイ・レベルの状態でRD信号のパル
スが発生する。すると、アドレス入力バス40dは全て
ハイ・レベルの状態となるため、アドレス・デコーダ4
01の出力40fがアサートされる。In any of these cases, the RD signal is pulsed while the address lines on the bus are all at the high level. Then, all the address input buses 40d are set to the high level state, so that the address decoder 4
01 output 40f is asserted.
【0101】バッファ402によってバス上のRD信号
は入力され、40g信号もアサートされるため、インバ
ーテッドNAND回路403の出力である信号40hも
アサートされる。Since the RD signal on the bus is input by the buffer 402 and the 40g signal is also asserted, the signal 40h which is the output of the inverted NAND circuit 403 is also asserted.
【0102】信号40hの活性化によって、3ステート
・バッファ406はイネーブルとなり、信号40eがも
ともとアサートされているため4Bで設定されたデータ
・ビットがロウ・レベルに駆動される。The activation of the signal 40h enables the 3-state buffer 406 and the data bit set in 4B is driven to the low level because the signal 40e is originally asserted.
【0103】RD信号はパルスであって、一旦アサート
された後、一定時間後にネゲートされるが、すると40
g,40h,40jの順に信号がネゲートされ、データ
・バスへの異常デバイス・コード情報の出力は終了す
る。The RD signal is a pulse, and once asserted, it is negated after a fixed time.
The signals are negated in the order of g, 40h, 40j, and the output of the abnormal device code information to the data bus ends.
【0104】一方、40h信号のネゲート時のエッジ
で、異常状態のラッチ回路404はクリアされ、バスへ
の出力であるSYSFAIL信号はネゲートされる。On the other hand, at the edge when the 40h signal is negated, the latch circuit 404 in the abnormal state is cleared and the SYSFAIL signal output to the bus is negated.
【0105】次に、図4は、図1内の異常監視回路部2
31の回路構成例を示す。同図において、500は異常
監視回路の全体、510は異常情報を外部に出力するた
めの異常出力回路である。Next, FIG. 4 shows the abnormality monitoring circuit section 2 in FIG.
An example of the circuit configuration of 31 is shown. In the figure, reference numeral 500 is the entire abnormality monitoring circuit, and 510 is an abnormality output circuit for outputting abnormality information to the outside.
【0106】501はバス・アドレスADRSを入力
し、その状態から各種回路の選択信号を発生するアドレ
ス・デコーダ回路。502はRD信号の入力バッファ。
503はSYSFAIL信号の入力バッファ。504は
3入力インバーテッドNAND回路。505は異常デバ
イス・コードの入力ラッチ回路。An address decoder circuit 501 receives the bus address ADRS and generates selection signals for various circuits from the state. 502 is an input buffer for the RD signal.
Reference numeral 503 is a SYSFAIL signal input buffer. 504 is a 3-input inverted NAND circuit. Reference numeral 505 is an input latch circuit for an abnormal device code.
【0107】506は、異常発生からメイン・プロセッ
サによる異常情報リード・サイクルを起こすまでの時間
を監視するタイマ回路。507はタイマ回路506のタ
イム・アップ信号をRD信号としてバスに出力するため
のオープン・コレクタ・タイプのインバーテッド・バッ
ファ。Reference numeral 506 is a timer circuit for monitoring the time from the occurrence of an abnormality to the occurrence of an abnormality information read cycle by the main processor. Reference numeral 507 is an open collector type inverted buffer for outputting the time-up signal of the timer circuit 506 as an RD signal to the bus.
【0108】508は異常デバイス・コード読み返しレ
ジスタ。509は、2入力のインバーテッドNAND回
路である。Reference numeral 508 is an abnormal device code read back register. Reference numeral 509 is a 2-input inverted NAND circuit.
【0109】また、50aはデータの入力バス。50b
はSYSFAIL信号入力。50cはRD信号入力。5
0dはアドレス入力バス。50eはバッファ入力後のS
YSFAIL信号。50fはバッファ入力後のRD信
号。50gはアドレス・デコーダ部で全てハイ・レベル
状態を検出したことを示す選択信号。Reference numeral 50a is a data input bus. 50b
Is the SYSFAIL signal input. 50c is an RD signal input. 5
0d is an address input bus. 50e is S after buffer input
YSFAIL signal. 50f is the RD signal after buffer input. 50g is a selection signal indicating that all high level states have been detected in the address decoder section.
【0110】50hは50e信号と50f信号と50g
信号が全てアサートされたときにアサートされる信号で
あり、SYSFAIL信号発生時にアドレスが全てハイ
・レベルで、RD信号がアサートされたことを示す信号
である。50h is 50e signal, 50f signal and 50g
This signal is asserted when all the signals are asserted, and indicates that the addresses are all at the high level when the SYSFAIL signal is generated and the RD signal is asserted.
【0111】さらに、50jは異常出力回路510に与
えられるラッチ後の異常デバイス・コード情報。50k
はアドレス・デコーダ部501によって予め異常デバイ
ス・コード読み返しレジスタの読み出しのために設定さ
れたアドレス状態を検出したことを示す選択信号。Further, 50j is the abnormal device code information after the latch given to the abnormal output circuit 510. 50k
Is a selection signal indicating that the address state previously set by the address decoder unit 501 for reading the abnormal device code read-back register is detected.
【0112】50Lは50kと50fが共にアサートさ
れたときにアサートされ、異常デバイス・コード読み返
しレジスタ508のアドレスがリードされたことを示す
信号。50mは異常デバイス・コード読み返しデータ・
バス。50nはアドレス・デコーダから別回路に与えら
れる選択信号。50pは監視タイマ回路506のタイム
・アップを示すパルス信号である。50L is a signal which is asserted when both 50k and 50f are asserted, and indicates that the address of the abnormal device code read-back register 508 has been read. 50m is abnormal device code read back data
bus. 50n is a selection signal given to another circuit from the address decoder. Reference numeral 50p is a pulse signal indicating the time-up of the monitoring timer circuit 506.
【0113】図4の動作を以下に説明する。The operation of FIG. 4 will be described below.
【0114】今、メイン・プロセッサ・ボード以外の異
常検出ボードで異常が検出され、SYSFAIL信号が
アサートされたとする。これによって50b信号入力が
アサートされると共に、メイン・プロセッサ・ボードの
CPUに割り込みがかかり、プロセッサ・ボードは異常
情報リード・サイクルを発生する。Now, assume that an abnormality is detected by an abnormality detection board other than the main processor board, and the SYSFAIL signal is asserted. This asserts the 50b signal input and interrupts the CPU of the main processor board, causing the processor board to generate an abnormal information read cycle.
【0115】これによって、システム・バス上に全ての
アドレス・ラインがハイ・レベルのリード・サイクルが
起きる。すると、50dのアドレス入力によってアドレ
ス・デコーダ回路501は50g信号をアサートする。This causes a high level read cycle for all address lines on the system bus. Then, the address decoder circuit 501 asserts the 50g signal by the address input of 50d.
【0116】次に、バス上のRD信号がアサートされる
ため、50c信号の入力を持つバッファ502を通して
50f信号がアサートされる。既に50b信号がアサー
トされており、バッファ503を通して50e信号もア
サートされているためインバーテッドNAND504の
出力である50hも活性化する。Next, since the RD signal on the bus is asserted, the 50f signal is asserted through the buffer 502 having the input of the 50c signal. Since the 50b signal is already asserted and the 50e signal is also asserted through the buffer 503, the output 50h of the inverted NAND 504 is also activated.
【0117】この時点で、異常検出ボード側では、RD
パルスに同期して、異常デバイス・コードをデータ・バ
ス上に出力しているため、50a部にはこのコード情報
が与えられている。At this point, RD is set on the abnormality detection board side.
Since the abnormal device code is output to the data bus in synchronization with the pulse, this code information is given to the section 50a.
【0118】バス上のRD信号はパルスであって、これ
がネゲートされると、50c,50f,50hの順で信
号がネゲートされるが、この50h信号のネゲートのエ
ッジで、ラッチ回路505が50a上の異常デバイス・
コードをラッチする。このラッチの出力50jは、異常
出力回路510に与えられ、この出力回路はこの情報を
表示または異常信号としてオペレータや外部の他の装置
に通知する。The RD signal on the bus is a pulse, and when it is negated, the signals are negated in the order of 50c, 50f, and 50h. At the edge of the negation of the 50h signal, the latch circuit 505 causes the signal to rise above 50a. Abnormal device
Latch the cord. The output 50j of this latch is given to the abnormal output circuit 510, and this output circuit notifies this information to the operator or other external device as a display or an abnormal signal.
【0119】以上までの動作で、先に説明した第1の利
点が実現される。この時、図4上で動作するのは、一点
鎖線で囲まれた5A部分のみである。The above-mentioned operation realizes the first advantage described above. At this time, only the portion 5A surrounded by the one-dot chain line operates on FIG.
【0120】さて、次に、メイン・プロセッサ・ボード
自身が異常を起こしたことを想定すると、SYSFAI
L信号がアサートされた後、メイン・プロセッサ・ボー
ドは異常情報リード・サイクルを発生しないため、いつ
まで経ってもバス上にリード・サイクルが発生しない。Now, assuming that the main processor board itself has an abnormality, SYSFAI
After the L signal is asserted, the main processor board does not generate an abnormal information read cycle, and thus no read cycle occurs on the bus.
【0121】このとき、SYSFAIL信号がアサート
されてからネゲートされるまでの時間を監視するタイマ
回路506が設けられていた場合、これが一定時間後に
タイム・アップし、50pのパルス信号を出力する。5
0p信号はバッファ507を通してバス上のRD信号ラ
イン上に出力される。At this time, if the timer circuit 506 for monitoring the time from the assertion of the SYSFAIL signal to the time of negation is provided, the timer circuit 506 times up after a fixed time and outputs the pulse signal of 50p. 5
The 0p signal is output to the RD signal line on the bus through the buffer 507.
【0122】すると、アドレス・ラインは駆動するボー
ドがないため、全てプルアップによるハイ・レベルを示
しているため、メイン・プロセッサが異常リード・サイ
クルを発生したのと同じ状態がシステム・バス上に実現
される。この後の動作は、先の説明の通りである。Then, since the address line does not have a board to be driven and therefore all show a high level due to pull-up, the same state where the main processor has generated an abnormal read cycle is on the system bus. Will be realized. The subsequent operation is as described above.
【0123】これによって、メイン・プロセッサ・ボー
ドの異常発生時にも異常発生ボードの判別ができるとい
う第2の利点が実現される。この場合は、図4上の一点
鎖線で囲まれた5A部と5B部が動作する。As a result, the second advantage that the abnormal board can be discriminated even when an abnormality occurs in the main processor board is realized. In this case, the portions 5A and 5B surrounded by the alternate long and short dash line in FIG. 4 operate.
【0124】最後に、システム内にメイン・プロセッサ
・ボードの他に、同等の機能を持つサブ・プロセッサ・
ボードが実装されていて、メイン・プロセッサ・ボード
が異常停止した場合、上記の動作によって異常デバイス
・コードの入力ラッチ回路505にラッチされた異常デ
バイス・コードをシステム・バス側から読み出せるよう
にしておけば、メイン・プロセッサ・ボードからの指令
が停止したことを検出したサブ・プロセッサがこの情報
を読み出してシステムの異常状態を正確に捉えることが
でき、その先の制御を続行できる可能性がある。Finally, in addition to the main processor board in the system, a sub-processor
When the board is mounted and the main processor board stops abnormally, the abnormal device code latched in the abnormal device code input latch circuit 505 by the above operation can be read from the system bus side. If this is done, the sub processor that has detected that the command from the main processor board has stopped can read this information and accurately grasp the abnormal state of the system, and it may be possible to continue control beyond that. .
【0125】この場合、予め異常デバイス・コード読み
返しレジスタ508の読み出しのために設定されたアド
レスをアドレス・デコーダ回路501が検出し、50k
信号をアサートする。これとRD信号50fがアサート
された条件でNAND回路509の出力50L信号がア
サートされ、読み返しバッファ・レジスタ508をイネ
ーブルにすることによって、入力ラッチ回路505にラ
ッチされた異常デバイス・コードがシステム・バス上の
データ・バスに読み出される。In this case, the address decoder circuit 501 detects an address preset for reading the abnormal device code read-back register 508,
Assert the signal. The output 50L signal of the NAND circuit 509 is asserted under the condition that this and the RD signal 50f are asserted, and by enabling the read-back buffer register 508, the abnormal device code latched in the input latch circuit 505 is transferred to the system bus. Read on upper data bus.
【0126】これが第3の利点であって、この場合には
図4上の一点鎖線で囲まれた5A部と5B部と5C部が
動作する。This is the third advantage. In this case, the portions 5A, 5B and 5C surrounded by the one-dot chain line in FIG. 4 operate.
【0127】なお、実施例では、異常情報出力回路に対
して、異常デバイス・コードを出力させるためのアドレ
スとして、全てのアドレス・ラインがハイ・レベルの状
態を想定して説明するが、これはメイン・プロセッサ・
ボードが異常停止した場合に異常デバイス・コードの読
み出しサイクルを異常監視回路が肩代わりする際に、ア
ドレス出力回路を持たなくて済むようにするためであ
る。これは、ハードウエア量を増やさないという点で有
利である。In the embodiment, description will be made assuming that all address lines are at a high level state as an address for outputting an abnormal device code to the abnormal information output circuit. Main processor
This is because it is not necessary to have an address output circuit when the abnormality monitoring circuit takes over the read cycle of the abnormal device code when the board abnormally stops. This is advantageous in that it does not increase the amount of hardware.
【0128】実際には、異常監視回路に予め定められた
異常デバイス・コード読み出しのためのアドレスを設定
しておき、これを出力する回路を設ければ、異常デバイ
ス・コードの読み出しに際して出力すべきアドレスは全
てハイ・レベルのアドレスに限定する必要はなくなる。Actually, if a predetermined address for reading the abnormal device code is set in the abnormality monitoring circuit and a circuit for outputting this is provided, it should be output when reading the abnormal device code. All addresses need not be limited to high level addresses.
【0129】[0129]
【発明の効果】以上のとおり、本発明によれば、システ
ム異常信号線のアサートによって異常監視を行うマルチ
・プロセッサ・システムにおいて、各機能ボードは内部
の異常検出でボード別の異常デバイス・コードをデータ
・バスに出力し、メイン・プロセッサ・ボードの異常監
視手段がシステム異常信号線がアサートされたときに異
常デバイス・コードから異常発生した機能ボードを判別
するようにしたため、異常信号の割り込み機能を使うこ
となく、メイン・プロセッサ・ボードは、それが論理的
に可能であれば、異常発生したボードに対する制御のみ
を停止してその先の処理を継続したり、異常復旧の処理
を行うこともでき、システム運転の継続を可能にする。As described above, according to the present invention, in a multi-processor system in which an abnormality is monitored by asserting a system abnormality signal line, each function board detects an abnormality inside and outputs an abnormal device code for each board. Since it outputs to the data bus and the abnormality monitoring means of the main processor board determines the abnormal function board from the abnormal device code when the system abnormal signal line is asserted, the abnormal signal interrupt function is set. Without using it, the main processor board, if logically possible, can stop only the control of the board in which the error occurred and continue processing beyond it, or perform the error recovery processing. , Enables continuous system operation.
【0130】また、本発明は、専用のボードにされる異
常監視手段には、システム異常信号線がアサートされた
ときからメイン・プロセッサ・ボードが異常デバイス・
コードのリード・サイクルを起こすまでの時間を監視す
るタイマを設け、このタイマのタイムアップで異常デバ
イス・コードから異常発生した機能ボードを判別して外
部に出力するようにしたため、メイン・プロセッサ・ボ
ードの停止にも異常発生したボードを特定した情報を外
部に取り出すことができる。Further, according to the present invention, the abnormality monitoring means provided as a dedicated board is configured such that the main processor board is in the abnormal device state after the system abnormality signal line is asserted.
The main processor board is equipped with a timer that monitors the time until a code read cycle occurs, and when the timer expires, the function board in which an error has occurred is identified from the abnormal device code and output to the outside. It is possible to take out the information specifying the board in which the abnormality has occurred to the outside even after the stop.
【0131】また、本発明は、専用のボードにされる異
常監視手段は、異常デバイス・コードをシステム・バス
側に再度出力する読み返し手段を設け、メイン・プロセ
ッサ・ボードを除く機能ボードの1つの機能ボードはメ
イン・プロセッサ・ボードから受ける指令が一定時間を
越えるときに該メイン・プロセッサ・ボードの停止と判
別するタイマを設け、このタイマのタイムアップで読み
返し手段から異常デバイス・コードを読み出して異常発
生した機能ボードを判別するようにしたため、メイン・
プロセッサ・ボードの停止にもこれと同等の機能を他の
ボードに肩代わりさせ、システム運転の継続を可能にす
る。Further, according to the present invention, the abnormality monitoring means provided as a dedicated board is provided with a read-back means for outputting the abnormal device code again to the system bus side, and is one of the function boards excluding the main processor board. The function board is provided with a timer that determines that the main processor board is stopped when the command received from the main processor board exceeds a certain time, and when this timer times out, the abnormal device code is read from the read-back means and abnormal Since the function board that occurred is identified,
Even when the processor board is stopped, the same function is taken over by another board, allowing the system operation to continue.
【0132】また、本発明は、個々のボードにおける異
常通知、検出のためのハードウエア量が少なく、簡便で
あることから、この部分での故障発生による異常監視不
能に陥ることはほとんど無く、信頼性の高い異常監視が
できる。Further, since the present invention has a small amount of hardware for notifying and detecting an abnormality in each board and is simple, the failure monitoring in this portion hardly causes failure of abnormality monitoring, and reliability is high. Highly reliable abnormality monitoring is possible.
【0133】また、本発明は、異常検出に関わるボード
側の少しの変更で機能を実現できるため、標準バスの信
号線の追加や変更が不要になる。Further, since the present invention can realize the function by a slight change on the board side relating to the abnormality detection, it is not necessary to add or change the signal line of the standard bus.
【図1】本発明の一実施例を示す異常監視方式のシステ
ム構成例。FIG. 1 is a system configuration example of an abnormality monitoring system showing an embodiment of the present invention.
【図2】実施例におけるプロセッサ・ボードの異常情報
入力部の回路構成例。FIG. 2 is a circuit configuration example of an abnormality information input unit of the processor board in the embodiment.
【図3】実施例におけるプロセッサ・ボード及びその他
の異常検出ボードの異常情報出力部の回路構成例。FIG. 3 is a circuit configuration example of an abnormality information output unit of the processor board and other abnormality detection boards in the embodiment.
【図4】実施例における監視回路構成例。FIG. 4 is a configuration example of a monitoring circuit according to the embodiment.
【図5】従来のシステムの異常監視方式例。FIG. 5 shows an example of a conventional system abnormality monitoring method.
200…メイン・プロセッサ・ボード 210、220…異常監視能力を持ったボード 230…監視回路部 201、211、221…異常情報出力部 203…異常情報入力部 231…異常監視回路 232…異常出力回路 200 ... Main processor board 210, 220 ... Board having abnormality monitoring capability 230 ... Monitoring circuit unit 201, 211, 221, ... Abnormality information output unit 203 ... Abnormality information input unit 231, ... Abnormality monitoring circuit 232 ... Abnormality output circuit
Claims (3)
ドが結合され、各機能ボードは内部の異常検出に前記シ
ステム・バスの1つのシステム異常信号線をアサートす
る異常情報出力部を有し、前記機能ボードの内のメイン
・プロセッサ・ボードに設ける異常監視手段及び専用の
ボードにされる異常監視手段が前記システム異常信号線
のアサートによって異常監視を行うマルチ・プロセッサ
・システムにおいて、 前記各機能ボードは排他的な専用のコードになる異常デ
バイス・コードを有し、内部の異常検出で該異常デバイ
ス・コードをシステム・バスのデータ・バス上に出力す
る手段を設け、 前記メイン・プロセッサ・ボードの異常監視手段は、前
記システム異常信号線がアサートされたときにデータ・
バス上の前記異常デバイス・コードから異常発生した機
能ボードを判別してシステム運転を継続する処理を行う
ことを特徴とする異常監視方式。1. A plurality of function boards are coupled by a system bus, and each function board has an abnormality information output section for asserting one system abnormality signal line of the system bus for internal abnormality detection. In a multi-processor system in which the abnormality monitoring means provided on the main processor board of the boards and the abnormality monitoring means provided as a dedicated board perform abnormality monitoring by asserting the system abnormality signal line, each functional board is exclusive. Has an abnormal device code which becomes a dedicated code, and provides means for outputting the abnormal device code on the data bus of the system bus when detecting an internal abnormality, and monitors the main processor board for abnormalities. Means are provided for data transfer when the system fault signal line is asserted.
An abnormality monitoring method characterized in that a function board in which an abnormality has occurred is discriminated from the abnormal device code on the bus and processing for continuing system operation is performed.
は、前記システム異常信号線がアサートされたときから
前記メイン・プロセッサ・ボードの異常監視手段が前記
異常デバイス・コードのリード・サイクルを起こすまで
の時間を監視するタイマを設け、このタイマのタイムア
ップで前記異常デバイス・コードから異常発生した機能
ボードを判別して外部に出力することを特徴とする請求
項1記載の異常監視方式。2. The abnormality monitoring means provided on the dedicated board causes the abnormality monitoring means of the main processor board to cause a read cycle of the abnormal device code from the time when the system abnormality signal line is asserted. 2. The abnormality monitoring method according to claim 1, further comprising: a timer for monitoring the time until the abnormality is detected, and a function board in which an abnormality has occurred is discriminated from the abnormal device code by the time-up of the timer and is output to the outside.
は、データ・バスからラッチした前記異常デバイス・コ
ードをシステム・バス側に再度出力する読み返し手段を
設け、 前記メイン・プロセッサ・ボードを除く前記機能ボード
の1つの機能ボードは、前記メイン・プロセッサ・ボー
ドから受ける指令が一定時間を越えるときに該メイン・
プロセッサ・ボードの停止と判別するタイマを設け、こ
のタイマのタイムアップで前記読み返し手段から異常デ
バイス・コードを読み出して異常発生した機能ボードを
判別してシステム運転を継続する処理を行うことを特徴
とする請求項1記載の異常監視方式。3. The abnormality monitoring means provided on the dedicated board is provided with a read-back means for outputting the abnormal device code latched from the data bus to the system bus side again, and excludes the main processor board. One of the function boards is configured to operate when the command received from the main processor board exceeds a certain time.
A timer for determining that the processor board is stopped is provided, and when the timer expires, the abnormal device code is read from the read-back means, the functional board in which the abnormality has occurred is determined, and the system operation is continued. The abnormality monitoring method according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6007957A JPH07219812A (en) | 1994-01-28 | 1994-01-28 | Abnormality monitoring system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6007957A JPH07219812A (en) | 1994-01-28 | 1994-01-28 | Abnormality monitoring system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07219812A true JPH07219812A (en) | 1995-08-18 |
Family
ID=11679976
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6007957A Pending JPH07219812A (en) | 1994-01-28 | 1994-01-28 | Abnormality monitoring system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07219812A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100362491C (en) * | 2005-10-14 | 2008-01-16 | 威盛电子股份有限公司 | Detection system and method |
| US7502956B2 (en) | 2004-07-22 | 2009-03-10 | Fujitsu Limited | Information processing apparatus and error detecting method |
| JP2009238066A (en) * | 2008-03-28 | 2009-10-15 | Fujitsu Ltd | Electronic apparatus system having a number of electronic apparatuses mounted ib rack, and method for identifying electronic apparatus in electronic apparatus system |
| JP2011107868A (en) * | 2009-11-16 | 2011-06-02 | Fujitsu Ltd | Multi-cpu configuration device and monitoring control method for the same |
| JP2021518609A (en) * | 2018-04-06 | 2021-08-02 | ベントリー・ネバダ・エルエルシー | Surveillance system with serial data lane transmission network |
-
1994
- 1994-01-28 JP JP6007957A patent/JPH07219812A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7502956B2 (en) | 2004-07-22 | 2009-03-10 | Fujitsu Limited | Information processing apparatus and error detecting method |
| CN100362491C (en) * | 2005-10-14 | 2008-01-16 | 威盛电子股份有限公司 | Detection system and method |
| JP2009238066A (en) * | 2008-03-28 | 2009-10-15 | Fujitsu Ltd | Electronic apparatus system having a number of electronic apparatuses mounted ib rack, and method for identifying electronic apparatus in electronic apparatus system |
| US8223015B2 (en) | 2008-03-28 | 2012-07-17 | Fujitsu Limited | Electronic apparatus system having a plurality of rack-mounted electronic apparatuses, and method for identifying electronic apparatus in electronic apparatus system |
| JP2011107868A (en) * | 2009-11-16 | 2011-06-02 | Fujitsu Ltd | Multi-cpu configuration device and monitoring control method for the same |
| JP2021518609A (en) * | 2018-04-06 | 2021-08-02 | ベントリー・ネバダ・エルエルシー | Surveillance system with serial data lane transmission network |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6081865A (en) | Isolation of PCI and EISA masters by masking control and interrupt lines | |
| US8700835B2 (en) | Computer system and abnormality detection circuit | |
| JPH0651802A (en) | Programmable controller having backup function | |
| JPH10143387A (en) | Computer system with fault diagnostic function | |
| EP0795157A1 (en) | Bridge between two buses | |
| US5267246A (en) | Apparatus and method for simultaneously presenting error interrupt and error data to a support processor | |
| CN112099412B (en) | A Safe Redundancy Architecture for Micro Control Units | |
| US20030121642A1 (en) | Cascadable dual fan controller | |
| JPH07219812A (en) | Abnormality monitoring system | |
| US5261083A (en) | Floppy disk controller interface for suppressing false verify cycle errors | |
| US5404559A (en) | Apparatus for asserting an end of cycle signal to a processor bus in a computer system if a special cycle is detected on the processor bus without taking action on the special cycle | |
| US5687310A (en) | System for generating error signal to indicate mismatch in commands and preventing processing data associated with the received commands when mismatch command has been determined | |
| JPH08171504A (en) | Emulation device | |
| JP3109573B2 (en) | Fault LSI detection method | |
| US7016995B1 (en) | Systems and methods for preventing disruption of one or more system buses | |
| JPH0726762Y2 (en) | Bus mismatch circuit | |
| JP2767820B2 (en) | Diagnosis device for abnormality monitoring unit | |
| JP2706027B2 (en) | Programmable controller | |
| JP2003237182A (en) | Printer | |
| JPH10333920A (en) | Interruption processing circuit | |
| KR890003489B1 (en) | Programmable Surveillance Control System | |
| JP2592525B2 (en) | Error detection circuit of common bus system | |
| JPS6128146B2 (en) | ||
| JPH03259350A (en) | Diagnostic fault detecting system | |
| JP2578186B2 (en) | Diagnosis method of failure detection circuit |