JP3028836B2 - Arithmetic processing system - Google Patents

Arithmetic processing system

Info

Publication number
JP3028836B2
JP3028836B2 JP02226533A JP22653390A JP3028836B2 JP 3028836 B2 JP3028836 B2 JP 3028836B2 JP 02226533 A JP02226533 A JP 02226533A JP 22653390 A JP22653390 A JP 22653390A JP 3028836 B2 JP3028836 B2 JP 3028836B2
Authority
JP
Japan
Prior art keywords
arithmetic processing
trace data
abnormality
arithmetic
processing device
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.)
Expired - Lifetime
Application number
JP02226533A
Other languages
Japanese (ja)
Other versions
JPH04109302A (en
Inventor
敦 五日市
俊彦 城谷
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP02226533A priority Critical patent/JP3028836B2/en
Publication of JPH04109302A publication Critical patent/JPH04109302A/en
Application granted granted Critical
Publication of JP3028836B2 publication Critical patent/JP3028836B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、例えば高信頼性が要求され、宇宙空間の
ように保守が容易でない飛翔体の制御装置として用いら
れる演算処理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention is, for example, an arithmetic processing which is required as a control device for a flying object which is required to have high reliability and is not easy to maintain such as space. About the system.

(従来の技術) 一般に、人工衛星等に搭載される演算処理システム
は、高信頼性が要求されるため、例えば演算処理装置
(以下、CPUと称する)を冗長化しかつ並列に運転させ
て、故障等の異常が発生したときに備える手法等がとら
れる。ところが、従来のシステムにおいて、異常が発生
してCPUの切換や演算処理のやり直し等がなされると、
その制御は連続して行われているので、使用者である人
間には、CPUが切換えられたことがわかるだけで、何が
異常の原因となったのかわかりにくい。特にこの異常内
容は、CPUをマニュアルで使用禁止するか否かの判断の
際、必要不可欠である。このため、従来より異常発生に
よってCPUの切換や演算処理のやり直し等がなされたと
きに、後で異常内容を識別可能にしておくことが望まれ
ている。
(Prior art) Generally, an arithmetic processing system mounted on an artificial satellite or the like requires high reliability. For example, a method of preparing for the occurrence of an abnormality, such as, for example, is adopted. However, in the conventional system, when an abnormality occurs and the CPU is switched or the arithmetic processing is performed again,
Since the control is performed continuously, it is difficult for the user, who is the user, to know only that the CPU has been switched, but it is difficult to understand what caused the abnormality. In particular, the content of this abnormality is indispensable when judging whether to use the CPU manually or not. For this reason, it has conventionally been desired to be able to identify the contents of the abnormality later when the CPU is switched or the arithmetic processing is redone due to the occurrence of the abnormality.

(発明が解決しようとする課題) 以上述べたように従来の演算処理システムでは、CPU
を冗長化しかつ並列に運転させ、異常が発生した場合に
はCPUの切換や演算処理のやり直し等がなされるが、そ
の制御が連続しているため、使用者である人間にはその
異常の原因が理解し難い。
(Problems to be Solved by the Invention) As described above, in the conventional arithmetic processing system, the CPU
Are made redundant and run in parallel, and if an error occurs, the CPU is switched or the arithmetic processing is redone, etc. Is difficult to understand.

この発明は上記の課題を解決するためになされたもの
で、異常発生によってCPUの切換や演算処理のやり直し
等がなされたときに、後で異常内容を識別可能にしてお
くことができ、異常の原因解析が極めて容易な演算処理
システムを提供することを目的とする。
The present invention has been made to solve the above problems, and when the CPU is switched or the arithmetic processing is redone due to the occurrence of an abnormality, the details of the abnormality can be identified later, and the abnormality can be identified. An object of the present invention is to provide an arithmetic processing system in which cause analysis is extremely easy.

[発明の構成] (課題を解決するための手段) 上記目的を達成するためにこの発明は、複数台の演算
処理装置を備え、このうち2台の演算処理装置を用いて
互いに同一の演算処理を実行させ、定期的に互いの演算
結果を比較し合い、比較結果に基づく異常検出時に他の
演算処理装置に切換えて再度演算処理を実行する演算処
理システムにおいて、前記2台の演算処理装置の演算結
果比較時に各演算処理装置から演算経過を示すトレース
データを取り出して各演算処理装置共通のメモリにサイ
クリックに書き込むトレースデータ格納手段と、前記演
算結果の比較で異常が検出された時、前記トレースデー
タ格納手段に書き込まれた各演算処理装置のトレースデ
ータが上書きされないようにその領域への書き込みを禁
止する制御手段とを具備して構成される。
[Constitution of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention includes a plurality of arithmetic processing units, and two of these arithmetic processing units use the same arithmetic processing unit. And periodically compare the computation results with each other, and when an abnormality is detected based on the comparison result, switch to another computation processing device and execute the computation process again. Trace data storage means for taking out trace data indicating the progress of calculation from each processing unit at the time of comparison of calculation results and writing the data in a memory common to each processing unit, and when an abnormality is detected by comparing the calculation results, Control means for prohibiting writing to the area so that the trace data of each processing unit written in the trace data storage means is not overwritten. Constructed.

また、さらに前記トレースデータ格納手段からメモリ
に書き込まれたトレースデータを外部からのコマンド指
令に応じて読出し送出するトレースデータ送出手段を備
え、この手段で前記トレースデータ格納手段からトレー
スデータが送出された場合には、前記制御手段は異常検
出時の書き込み禁止を解除するように構成される。
Further, the apparatus further comprises trace data sending means for reading and sending the trace data written in the memory from the trace data storing means in response to an external command, and the trace data is sent from the trace data storing means by this means. In such a case, the control means is configured to release the write prohibition when an abnormality is detected.

(作用) 上記構成による演算処理システムでは、同一演算を行
う2台の演算処理装置の演算結果を定期的に比較し、そ
の比較時にそれぞれのトレースデータをメモリにサイク
リックに書き込むようにし、比較による異常検出時には
各演算処理装置のトレースデータの上書きを禁止するよ
うにしているので、メモリにサイクリックに書き込む構
成であっても、異常発生時のトレースデータが必ずメモ
リに残るようになり、後でトレースデータ格納手段のメ
モリ内容を解析することで容易に異常内容を識別するこ
とができる。
(Operation) In the arithmetic processing system having the above configuration, the arithmetic results of two arithmetic processing units that perform the same arithmetic operation are periodically compared, and at the time of the comparison, each trace data is cyclically written to the memory. Since the overwriting of the trace data of each processing unit is prohibited when an error is detected, the trace data at the time of occurrence of an error always remains in the memory even if the configuration is used to write the data cyclically to the memory. By analyzing the contents of the memory of the trace data storage means, it is possible to easily identify abnormal contents.

さらに、外部からコマンド指令を与えることにより、
トレースデータ格納手段からメモリ内容を送出できるよ
うにしているので、遠隔地から容易にメモリ内容を取得
し、異常内容の解析が可能となる。このとき、メモリ内
容送出後は、メモリ書き込み禁止が解除されるので、再
びトレースデータによる異常監視機能を復帰させること
ができる。
Furthermore, by giving a command command from the outside,
Since the contents of the memory can be transmitted from the trace data storage means, it is possible to easily acquire the contents of the memory from a remote place and to analyze the contents of the abnormality. At this time, since the memory write prohibition is released after sending the memory contents, the abnormality monitoring function based on the trace data can be returned again.

(実施例) 以下、第1図及び第2図を参照してこの発明の一実施
例を説明する。
(Embodiment) An embodiment of the present invention will be described below with reference to FIG. 1 and FIG.

第3図はそのハードウェア構成を示すもので、1〜4
はCPUである。これらのCPU1〜4はバスラインBUSを通じ
て相互にアクセス可能となされており、さらに共通に使
用されるRAM5及びCPU切換のためのコンフィギュレーシ
ョン・ポート6が接続される。
FIG. 3 shows the hardware configuration.
Is the CPU. These CPUs 1 to 4 are mutually accessible via a bus line BUS, and are connected to a commonly used RAM 5 and a configuration port 6 for switching the CPU.

上記構成において、一般的には以下の運用手順に従
う。まず、CPU1〜4のうち、通常は2台のCPU1,2が運転
され、共通RAM5を介して相互にチェックを行いながら演
算処理を実行する。2台のCPU1,2は定期的に通信を行
い、相手CPUが応答するか、または演算結果が一致して
いるかを調べ、もし異常であれば、まず演算のやり直し
を行い、そこで再び異常であった場合には、例えば第3
のCPU3を立ち上げて多数決を行う。また、CPU自身に異
常があった場合には、例えば代わりに第4のCPU4を立ち
上げて使用する。
In the above configuration, the following operation procedure is generally followed. First, of the CPUs 1 to 4, usually two CPUs 1 and 2 are operated, and execute arithmetic processing while checking each other via the common RAM 5. The two CPUs 1 and 2 periodically communicate with each other to check whether the partner CPU responds or the calculation results match. If an error is found, the calculation is re-executed first, and then the error is found again. If, for example, the third
Start CPU3 and make a majority decision. If there is an abnormality in the CPU itself, for example, the fourth CPU 4 is started up and used instead.

また、上記構成の演算処理システムは、第1図に示す
ような機能を有する。すなわち、第1図はこの発明に係
るCPUサイクル正常終了時のトレースデータ保存処理の
概要を図式化して表すもので、図中11,12は各CPUのロー
カルRAM(図中L/LAM)内の演算に必要な各種データ、1
3,14はそのデータを共通RAM(図中C/LAM)5に保存する
ときの領域、15,16はトレースデータ用の領域を示して
いる。
Further, the arithmetic processing system having the above configuration has a function as shown in FIG. That is, FIG. 1 schematically shows the outline of trace data saving processing at the time of a normal end of a CPU cycle according to the present invention. In the figure, reference numerals 11 and 12 represent local RAMs (L / LAM in the figure) of each CPU. Various data required for calculation, 1
Reference numerals 3 and 14 denote areas for storing the data in the common RAM (C / LAM in the figure) 5, and reference numerals 15 and 16 denote areas for trace data.

2台のCPU(一方をマスタ、他方をシャドウとする)
A,Bはそれぞれ演算が終了(タスク終了)すると、CPU間
通信により相手方の結果と比較を行い、異常がなければ
共通RAM5の領域15,16にその演算経過を示す重要なデー
タをトレースデータとして保存する。その時の保存形式
を第2図に示す。すなわち、CPU1〜4それぞれの領域を
2つづつ用意し、最新データを示すマーカと共に交互に
トレースデータを保存する。比較し合う演算結果に不一
致が合ったり、同期が外れた場合は、その時のデータを
保存した後、以後、第2図のトレースデータ保存領域1
5,16への書込みを停止する。
Two CPUs (one as master and the other as shadow)
When the operation is completed (task end), A and B compare the result of the other with the result of communication between CPUs. If there is no abnormality, the important data indicating the progress of the operation is stored as trace data in areas 15 and 16 of the common RAM 5 save. FIG. 2 shows the storage format at that time. That is, two areas of each of the CPUs 1 to 4 are prepared, and trace data is alternately stored with a marker indicating the latest data. If the results of the comparison do not match or the synchronization is lost, the data at that time is stored, and thereafter, the trace data storage area 1 shown in FIG.
Stop writing to 5,16.

ここで、ユーザである人間はテレメトリ、コマンド指
令等で異常が発生したと判断した場合、メモリダンプに
よってこの領域をダンプし、異常があった時点で演算中
(あるいは演算前)にどのような経過を辿ったかを解析
する。異常解析のためのダンプが終了した後は、次の異
常に備えてトレースデータのアップデート禁止を解除す
ることによって、再びトレースデータ保存が再開され
る。
Here, if the human being determines that an abnormality has occurred due to telemetry, a command command, or the like, this area is dumped by a memory dump, and what happens during (or before) the computation at the time of the abnormality Is analyzed. After the dump for abnormality analysis is completed, the update of the trace data is prohibited from being prohibited in preparation for the next abnormality, so that the trace data storage is resumed.

したがって、上記構成の演算処理システムは、これま
で異常発生時の原因解析が手探り状態だったのに対し
て、例えばCPU1のあるサブルーチン結果が普通でない値
となっていることから、CPU1で一時的な異常があったと
推定できる等、解析をより容易にすることができる。
Therefore, in the arithmetic processing system having the above configuration, while the cause analysis at the time of occurrence of an abnormality has been groping in the past, for example, a subroutine result of the CPU 1 has an unusual value. The analysis can be made easier, for example, it can be estimated that there is an abnormality.

尚、上記トレースデータの中にはCPU間通信の結果
(データが不一致だったのか、応答がなかったのか)を
示すデータがあるので、このデータだけをトレースデー
タとして、異常発生時にのみ共通RAM5に保存しても、こ
の発明の機能を果たすことはもちろんである。
Since the trace data includes data indicating the result of the inter-CPU communication (whether the data did not match or there was no response), only this data is used as trace data and stored in the common RAM 5 only when an error occurs. Even if it is stored, the function of the present invention is of course performed.

[発明の効果] 以上述べたようにこの発明によれば、異常発生によっ
てCPUの切換や演算処理のやり直し等がなされたとき
に、後で異常内容を識別可能にしておくことができ、異
常の原因解析が極めて容易な演算処理システムを提供す
ることができる。
[Effects of the Invention] As described above, according to the present invention, when the CPU is switched or the arithmetic processing is redone due to the occurrence of an abnormality, the details of the abnormality can be made identifiable later. An arithmetic processing system in which cause analysis is extremely easy can be provided.

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

第1図はこの発明に係る演算処理システムの一実施例と
して、CPUサイクル正常終了時のトレースデータ保存処
理の概要を図式化して表す模式図、第2図は同実施例の
トレースデータ用の保存領域を説明するための図、第3
図は同実施例のハードウェア構成を示すブロック回路図
である。 1〜4……CPU、BUS……バスライン、5……共通RAM、
6……コンフィギュレーション・ポート、11,12……CPU
ローカルRAM内データ、13,14……共通RAM内データ保存
領域、15,16……共通RAM内トレースデータ用保存領域。
FIG. 1 is a schematic diagram schematically showing an outline of a trace data saving process at the time of a normal end of a CPU cycle as an embodiment of an arithmetic processing system according to the present invention, and FIG. 2 is a trace data saving process of the embodiment. FIG. 3 is a diagram for explaining an area.
FIG. 2 is a block circuit diagram showing a hardware configuration of the embodiment. 1-4 CPU, BUS bus line, 5 common RAM,
6: Configuration port, 11, 12, CPU
Data in the local RAM, 13, 14 ... Data storage area in the common RAM, 15, 16 ... Storage area for trace data in the common RAM.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 9/03 G05B 9/02 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G05B 9/03 G05B 9/02

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数台の演算処理装置を備え、このうち2
台の演算処理装置を用いて互いに同一の演算処理を実行
させ、定期的に互いの演算結果を比較し合い、比較結果
に基づく異常検出時に他の演算処理装置に切換えて再度
演算処理を実行する演算処理システムにおいて、 前記2台の演算処理装置の演算結果比較時に各演算処理
装置から演算経過を示すトレースデータを取り出して各
演算処理装置共通のメモリにサイクリックに書き込むト
レースデータ格納手段と、 前記演算結果の比較で異常が検出された時、前記トレー
スデータ格納手段に書き込まれた各演算処理装置のトレ
ースデータが上書きされないようにその領域への書き込
みを禁止する制御手段とを具備することを特徴とする演
算処理システム。
1. A system comprising a plurality of arithmetic processing units, of which two
The same arithmetic processing is executed by using one arithmetic processing device, the arithmetic results are mutually compared periodically, and when an abnormality is detected based on the comparison result, the processing is switched to another arithmetic processing device and the arithmetic processing is executed again. In an arithmetic processing system, trace data storage means for extracting trace data indicating the progress of arithmetic operation from each arithmetic processing device and cyclically writing the trace data in a memory common to each arithmetic processing device when comparing the arithmetic results of the two arithmetic processing devices; Control means for prohibiting writing to the area so that the trace data of each processing device written in the trace data storage means is not overwritten when an abnormality is detected in the comparison of the calculation results. Arithmetic processing system.
【請求項2】さらに、前記トレースデータ格納手段から
メモリに書き込まれたトレースデータを外部からのコマ
ンド指令に応じて読出し送出するトレースデータ送出手
段を備え、 この手段で前記トレースデータ格納手段からトレースデ
ータが送出された場合には、前記制御手段は異常検出時
の書き込み禁止を解除することを特徴とする請求項1記
載の演算処理システム。
And a trace data sending means for reading and sending the trace data written in the memory from the trace data storing means in response to a command from the outside. 2. The arithmetic processing system according to claim 1, wherein, when is transmitted, the control means releases the write prohibition at the time of detecting an abnormality.
JP02226533A 1990-08-30 1990-08-30 Arithmetic processing system Expired - Lifetime JP3028836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02226533A JP3028836B2 (en) 1990-08-30 1990-08-30 Arithmetic processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02226533A JP3028836B2 (en) 1990-08-30 1990-08-30 Arithmetic processing system

Publications (2)

Publication Number Publication Date
JPH04109302A JPH04109302A (en) 1992-04-10
JP3028836B2 true JP3028836B2 (en) 2000-04-04

Family

ID=16846632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02226533A Expired - Lifetime JP3028836B2 (en) 1990-08-30 1990-08-30 Arithmetic processing system

Country Status (1)

Country Link
JP (1) JP3028836B2 (en)

Also Published As

Publication number Publication date
JPH04109302A (en) 1992-04-10

Similar Documents

Publication Publication Date Title
CN105843741B (en) Information processing method and device for application program
JP3481737B2 (en) Dump collection device and dump collection method
JP2003122599A (en) Computer system, and method of executing and monitoring program in computer system
JP3028836B2 (en) Arithmetic processing system
JPS62245341A (en) Engine control device
JPS6142186Y2 (en)
JPH0244436A (en) Information processing monitoring system
JPH01211039A (en) Information processor
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPS59183443A (en) Debug device
JPS6034132B2 (en) programmable controller
JPH02210515A (en) System resetting system
JPS62212865A (en) Multiprocessor control system
JPS62189545A (en) Start processor for calculator system
JPS5827538B2 (en) Mutual monitoring method
JPH03276246A (en) Network terminal equipment
JPH07230432A (en) Calculating device
JPS6074052A (en) History memory control system
JPH02103647A (en) Method for controlling intelligent measuring card
JPS63109549A (en) For finding system memory destruction of data processing system
JPS6398764A (en) File recovery system for multi-computer system
JPS62241041A (en) Information processor
JPH0350304B2 (en)
JPH0542878B2 (en)
JPS6148044A (en) Diagnosis system of processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 11