JPH02199575A - Abnormality monitoring device for multicomputer system - Google Patents

Abnormality monitoring device for multicomputer system

Info

Publication number
JPH02199575A
JPH02199575A JP1020191A JP2019189A JPH02199575A JP H02199575 A JPH02199575 A JP H02199575A JP 1020191 A JP1020191 A JP 1020191A JP 2019189 A JP2019189 A JP 2019189A JP H02199575 A JPH02199575 A JP H02199575A
Authority
JP
Japan
Prior art keywords
data
microcomputer
cpu
control
ram
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
JP1020191A
Other languages
Japanese (ja)
Inventor
Keiichiro Sueshige
惠一郎 末繁
Nobuhide Seo
宣英 瀬尾
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP1020191A priority Critical patent/JPH02199575A/en
Publication of JPH02199575A publication Critical patent/JPH02199575A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To detect the abnormality of a computer or an external device connected through a multiboard RAM by deciding whether data written in the RAM is included in a prescribed proper range or not based upon the data during the data communication of a monitoring microcomputer for executing data communication through the RAM. CONSTITUTION:Respective controlling microcomputers 1 to 8 in a control system are respectively provided with CPUs 11 to 18 for executing the operation of prescribed control data and communication control, ROMs, and RAMs. The monitoring microcomputer 9 in the control system detects the abnormal states of respective computers 1, 2, 3, 6, 7 based upon control data inputted from the controlling CPUs 11, 12, 13, 16, 17 respectively through a 3p-RAM 22 or 3p-RAMs 23, 22, 23, 26, 27 and the prescribed control of the abnormal state is executed by a monitoring CPU 19 in the computer 9.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のマイクロコンピュータの異常状態を監
視するためのマルチコンピュータシステムの異常監視装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an abnormality monitoring device for a multi-computer system for monitoring abnormal states of a plurality of microcomputers.

[従来の技術] 従来、例えば複数のマイクロコンピュータを階層化して
構成した制御システムにおいては、監視用プログラムを
上位階層のマイクロコンピュータに備え、下位階層のマ
イクロコンピュータにおいて演算されたデータに基づい
て下位階層のマイクロコンピュータの異常状態を検出し
、上記異常状態に対して所定の制御を行うように構成さ
れている。
[Prior Art] Conventionally, for example, in a control system configured by layering a plurality of microcomputers, a monitoring program is provided in a microcomputer in an upper layer, and a monitoring program is provided in a microcomputer in a lower layer based on data calculated in a microcomputer in a lower layer. The microcomputer is configured to detect an abnormal state of the microcomputer and perform predetermined control in response to the abnormal state.

[発明が解決しようとする課題] しかしながら、上述の制御システムでは、上位階層のマ
イクロコンピュータにおいて、通常の制御及び演算のた
めのプログラムと、上記監視用プログラムを平行して実
行させる必要があるため、上位階層のマイクロコンピュ
ータの処理速度が低下するという問題点があった。
[Problems to be Solved by the Invention] However, in the above-mentioned control system, it is necessary to run the normal control and calculation program and the monitoring program in parallel in the upper layer microcomputer. There was a problem in that the processing speed of the upper layer microcomputer decreased.

本発明の目的は以上の問題点を解決し、複数のマイクロ
コンピュータを備えたマルチコンピュータシステムにお
いて、各マイクロコンピュータの処理速度が低下するこ
となく、各マイクロコンピュータの異常状態を検出する
ことができるマルチコンピュータシステムの異常監視装
置を提供することにある。
An object of the present invention is to solve the above problems, and to provide a multi-computer system that is capable of detecting an abnormal state of each microcomputer without reducing the processing speed of each microcomputer in a multicomputer system equipped with a plurality of microcomputers. An object of the present invention is to provide an abnormality monitoring device for a computer system.

1課題を解決するための手段] 本発明は、複数のマイクロコンピュータを備えたマルチ
コンピュータシステムの異常監視装置であって、少なく
とも1つの監視用マイクロコンピュータを設けるととと
もに、監視対象であるシステム内の各マイクロコンピュ
ータは、マルチポートRAMを介して上記監視用マイク
ロコンピュータに接続されており、上記マルチポートR
AMの特定のポートから読出したデータに基づいて、各
マイクロコンピュータ又は各マイクロコンピュータに接
続された外部装置の異常状態を検出するようにしたこと
を特徴とする。
Means for Solving the Problem] The present invention is an abnormality monitoring device for a multi-computer system equipped with a plurality of microcomputers, which includes at least one monitoring microcomputer and Each microcomputer is connected to the monitoring microcomputer via the multiport RAM, and the multiport R
The present invention is characterized in that an abnormal state of each microcomputer or an external device connected to each microcomputer is detected based on data read from a specific port of the AM.

[作用] 以上のように構成された異常監視装置において、マルチ
ポートRAMを介して相互に接続された2個のマイクロ
コンピュータは、上記マルチポートRAMを介してデー
タの通信を行う。上記監視用マイクロコンピュータは、
上記データの通信中においてマルチポートRAMに書き
込まれたデータに基づいて当該データが所定の適正な範
囲にあるか否かを判断するこ・とによって、上記マルチ
ポートRAMを介して接続されるマイクロコンピュータ
又はマイクロコンピュータに接続された外部装置の異常
状態を検出する。
[Operation] In the abnormality monitoring device configured as described above, two microcomputers connected to each other via the multiport RAM communicate data via the multiport RAM. The above monitoring microcomputer is
A microcomputer connected via the multiport RAM by determining whether or not the data is within a predetermined appropriate range based on the data written to the multiport RAM during communication of the data. Or detect an abnormal state of an external device connected to the microcomputer.

[実施例] 第1図は本発明の一実施例である8個の制御用マイクロ
コンピュータ1乃至8と監視用マイクロコンピュータ9
を備えた制御システムのブロック図である。この制御シ
ステムは、3個のポートP1乃至P3を介してデータの
書込み又は読出しが可能な3ポ一トRAM(以下、3P
−RAMという。)を介してマイクロコンピュータ1.
2,3゜6.7に接続され、マイクロコンピュータ1,
2゜3.6.7で演算された制御データを監視して各マ
イクロコンピュータl、2,3.6.7の異常状態を検
出し上記異常状態に対する所定の制御を行うための監視
用マイクロコンピュータ9を備えたことを特徴としてお
り、センサ31乃至37から出力される検出データに基
づいて所定の制御データの演算を行い、演算された制御
デ」夕をアクチュエータ41乃至43に出力して所定の
制御を行う。
[Embodiment] FIG. 1 shows eight control microcomputers 1 to 8 and a monitoring microcomputer 9, which are one embodiment of the present invention.
FIG. 2 is a block diagram of a control system equipped with the following. This control system uses a 3-point RAM (hereinafter referred to as 3P) in which data can be written or read via three ports P1 to P3.
-It is called RAM. ) via the microcomputer 1.
2,3°6.7, microcomputer 1,
2. A monitoring microcomputer for monitoring the control data calculated in 3.6.7, detecting an abnormal state of each microcomputer 1, 2, 3.6.7, and performing predetermined control for the above abnormal state. 9, it calculates predetermined control data based on the detection data output from the sensors 31 to 37, and outputs the calculated control data to the actuators 41 to 43 to perform predetermined control data. Take control.

第1図の制御システムにおいて、各制御用マイクロコン
ピュータl乃至8はそれぞれ、所定の制御データの演算
及びデータの通信等の制御を行うための制御用中央演算
処理装置(以下、CPUという。)11乃至18と、上
記制御を行うためのプログラムとデータを蓄積したRO
M(図示せず。
In the control system shown in FIG. 1, each of the control microcomputers l to 8 is a control central processing unit (hereinafter referred to as CPU) 11 for controlling predetermined control data calculation and data communication, etc. to 18, and an RO that stores programs and data for performing the above control.
M (not shown)

)と、上記制御のための制御データや演算途中のデータ
等を蓄積するためのワーキングエリアとして使用される
RAM(:図示せず。)を備えている。
) and a RAM (not shown) used as a working area for storing control data for the above control, data during calculations, etc.

さらに、各制御用マイクロコンピュータ2乃至8はそれ
ぞれ、上位の階層のマイクロコンピュータ1.2.3及
び監視用マイクロコンピュータ9(3P−RAM22,
23,26.27を備えるマイクロコンピュータ2,3
,6.7に限る。)とデータの通信を行うための、3P
−RAM22,23.2個のボートPI、P2を有する
デュアルポートRAM(以下、DP−RAMという。)
24゜25.3P−RAM26.27、及びDP−RA
M28を備えている。
Furthermore, each of the control microcomputers 2 to 8 includes an upper layer microcomputer 1.2.3 and a monitoring microcomputer 9 (3P-RAM 22,
Microcomputers 2, 3 with 23, 26, and 27
, 6.7 only. ) to communicate data with
- RAM22, 23. Dual port RAM with two ports PI and P2 (hereinafter referred to as DP-RAM)
24゜25.3P-RAM26.27 and DP-RA
Equipped with M28.

監視用マイクロコンピュータ9は、制御用CPU1l、
12.13.16.17からそれぞれ3P−RAM22
又は23.22.23.26.27を介して入力される
制御データに基づいて各制御用マイクロコンピュータl
、2,3.6.7の異常状態を検出し上記異常状態に対
して所定の制御を行うための監視用CPU19と、上記
制御を行うためのプログラムとデータを蓄積したROM
(図示せず。)と、上記制御のための制御データや演算
途中のデータ等を蓄積するためのワーキングエリアとし
て使用されるRAM(図示せず。)を備えている。
The monitoring microcomputer 9 includes a control CPU 1l,
3P-RAM22 from 12.13.16.17 respectively
or each control microcomputer l based on the control data input via 23.22.23.26.27.
, 2, 3.6.7, a monitoring CPU 19 for detecting the abnormal state and performing predetermined control for the abnormal state, and a ROM storing programs and data for performing the above control.
(not shown) and a RAM (not shown) used as a working area for storing control data for the above control, data in the middle of calculation, etc.

マイクロコンピュータ1のCPUIIのコントロール信
号端子(以下、各コントロール信号端子において、デー
タの読出し書込み信号出力端子を含む。)に接続される
コントロールバスCBIは、マイクロコンピュータ2.
3の各3P−RAM2223のポートP2のコントロー
ル信号端子並びにマイクロコンピュータ4のDr−RA
M24のポートP2のコンI・ロール信号端子に接続さ
れ、また、CPUIIのアドレス端子に接続されるアド
レスバスABIは、マイクロコンピュータ2゜3の各3
P−RAM22.23のポートP2のアドレス端子並び
にマイクロコンピュータ4のDPRAM24のポートP
2のアドレス端子に接続され、さらに、CPUIIのデ
ータ端子に接続されるデータバスDBIは、マイクロコ
ンピュータ2.3の各jp−RAM22.23のポート
P2のデータ端子並びにマイクロコンピュータ4のDP
−RAM24のポートP2のデータ端子に接続される。
A control bus CBI connected to the control signal terminal (hereinafter, each control signal terminal includes a data read/write signal output terminal) of the CPU II of the microcomputer 1 is connected to the control signal terminal of the CPU II of the microcomputer 1.
Control signal terminal of port P2 of each 3P-RAM 2223 of 3 and Dr-RA of microcomputer 4
The address bus ABI, which is connected to the control I/roll signal terminal of port P2 of M24 and also connected to the address terminal of CPU II, is connected to each 3 of the microcomputer 2.
Address terminal of port P2 of P-RAM 22, 23 and port P of DPRAM 24 of microcomputer 4
The data bus DBI, which is connected to the address terminal of the CPU II and the data terminal of the CPU II, is connected to the data terminal of the port P2 of each jp-RAM 22.23 of the microcomputer 2.3 and the DP of the microcomputer 4.
- Connected to the data terminal of port P2 of RAM24.

マイクロコンピュータ2のCPU12のコントロール信
号端子に接続されるコントロールバスCB2は、3P−
RAM22のポートpiのコントロール信号端子、マイ
クロコンピュータ5のDPRAM27のポートP2のコ
ントロール信号端子、並びにマイクロコンピュータ8の
DP−RAM28のポートP2のコントロール信号端子
に接続され、また、CPU13のアドレス端子に接続さ
れるアドレスバスAB3は、3P−RAM23のポート
P1のアドレス端子、マイクロコンピュータ7の3P−
RAM27のポートP2のアドレス端子、並びにマイク
ロコンピュータ8のDPRAM28のポートP2のアド
レス端子に接続され、さらに、CPU13のデータ端子
に接続されるデータバスDB3は、3P−RAM23の
ポートPlのデータ端子、マイクロコンピュータ7の3
P−RAM27のポートP2のデータ端子、並びにマイ
クロコンピュータ8のDP−RAM28のポートP2の
データ端子に接続される。
The control bus CB2 connected to the control signal terminal of the CPU 12 of the microcomputer 2 is connected to the 3P-
It is connected to the control signal terminal of port pi of RAM 22, the control signal terminal of port P2 of DPRAM 27 of microcomputer 5, and the control signal terminal of port P2 of DP-RAM 28 of microcomputer 8, and also connected to the address terminal of CPU 13. The address bus AB3 is connected to the address terminal of the port P1 of the 3P-RAM 23 and the 3P-
A data bus DB3 is connected to the address terminal of port P2 of the RAM 27 and the address terminal of port P2 of the DPRAM 28 of the microcomputer 8, and further connected to the data terminal of the CPU 13. computer 7 no 3
It is connected to the data terminal of port P2 of P-RAM 27 and to the data terminal of port P2 of DP-RAM 28 of microcomputer 8.

マイクロコンピュータ4のCPU14のコントロール信
号端子、アドレス端子、及びデータ端子にそれぞれ接続
されるコントロールバスCB4、アドレスバスAB4及
びデータバスDB4はそれぞれ、DP−RAM24のポ
ートPIのコントロ=9= RAM25のポートP2のコントロール信号端子、並び
にマイクロコンピュータ6の3P−RAM26のポート
P2のコントロール信号端子に接続され、また、CPU
12のアドレス端子に接続されるアドレスバスAB2は
、3P−RAM22のポートp1のアドレス端子、マイ
クロコンピュタ5のDr−RAM25のポートP2のア
ドレス信号端子、並びにマイクロコンピュータ6の3P
−RAM26のポートP2のアドレス端子に接続され、
さらに、CPU12のデータ端子に接続されるデータバ
スDB2は、3P−RAM22のポートPiのデータ端
子、マイクロコンピュータ5のDP−RAM25のポー
トP2のデータ信号端子、並びに、マイクロコンピュー
タ6の3PRAM26のボー1−P2のデータ端子に接
続される。
The control bus CB4, address bus AB4, and data bus DB4, which are connected to the control signal terminal, address terminal, and data terminal of the CPU 14 of the microcomputer 4, respectively, are connected to the control signal terminal of the port PI of the DP-RAM 24=9=the port P2 of the RAM 25. and the control signal terminal of port P2 of the 3P-RAM 26 of the microcomputer 6.
The address bus AB2 connected to the 12 address terminals is connected to the address terminal of the port p1 of the 3P-RAM 22, the address signal terminal of the port P2 of the Dr-RAM 25 of the microcomputer 5, and the 3P of the microcomputer 6.
- connected to the address terminal of port P2 of RAM26,
Furthermore, the data bus DB2 connected to the data terminal of the CPU 12 is connected to the data terminal of the port Pi of the 3P-RAM 22, the data signal terminal of the port P2 of the DP-RAM 25 of the microcomputer 5, and the data signal terminal of the 3PRAM 26 of the microcomputer 6. - Connected to the data terminal of P2.

マイクロコンピュータ3のCPU13のコントロール信
号端子に接続されるコントロールバスCB3は、3P−
RAM23のポー1−Piのコントロール信号端子、マ
イクロコンピュータ7の3P−ル信号端子、アドレス端
子、及びデータ端子に接続されるとともに、センサ36
,37に接続される。
The control bus CB3 connected to the control signal terminal of the CPU 13 of the microcomputer 3 is connected to the 3P-
It is connected to the control signal terminal of port 1-Pi of the RAM 23, the 3P-pole signal terminal, address terminal, and data terminal of the microcomputer 7, and
, 37.

マイクロコンピュータ5のCPU15のコントロール信
号端子、アドレス端子、及びデータ端子にそれぞれ接続
されるコントロールバスCB5、アドレスバスAB5及
びデータバスDBSはそれぞれ、DP−RAM25のポ
ートP1のコントロール信号端子、アドレス端子、及び
データ端子に接続されるとともに、アクチュエータ41
.42に接続される。
The control bus CB5, address bus AB5, and data bus DBS, which are respectively connected to the control signal terminal, address terminal, and data terminal of the CPU 15 of the microcomputer 5, are connected to the control signal terminal, address terminal, and data terminal of the port P1 of the DP-RAM 25, respectively. In addition to being connected to the data terminal, the actuator 41
.. 42.

マイクロコンピュータ6のCPU1617):lントロ
ール信号端子、アドレス端子、及びデータ端子にそれぞ
れ接続されるコントロールバスCB6、アドレスバスA
B6及びデータバスDB6はそれぞれ、3P−RAM2
6のポートP1のコントロール信号端子、アドレス端子
、及びデータ端子に接続されるとともに、アクチュエー
タ43に接続される。
CPU 1617 of the microcomputer 6): Control bus CB6 and address bus A connected to the control signal terminal, address terminal, and data terminal, respectively.
B6 and data bus DB6 are each 3P-RAM2
It is connected to the control signal terminal, address terminal, and data terminal of port P1 of No. 6, and also to the actuator 43.

マイクロコンピュータ7のCPU17のコント1〇− ロール信号端子、アドレス端子、及びデータ端子にそれ
ぞれ接続されるコントロールバスCB7、アドレスバス
AB7及びデータバスDB7はそれぞれ、3P−RAM
27のポートP1のコントロール信号端子、アドレス端
子、及びデータ端子に接続されるとともに、センサ3I
乃至33に接続される。
The control bus CB7, address bus AB7, and data bus DB7 connected to the control 10-roll signal terminal, address terminal, and data terminal of the CPU 17 of the microcomputer 7, respectively, are 3P-RAMs.
The sensor 3I is connected to the control signal terminal, address terminal, and data terminal of the port P1 of the sensor 3I.
to 33.

マイクロコンピュータ8のCPU18のコントロール信
号端子、アドレス端子、及びデータ端子にそれぞれ接続
されるコントロールバスCB8、アドレスバスAB8及
びデータバスDBSはそれぞれ、DP−RAM28のポ
ートP1のコントロール信号端子、アドレス端子、及び
データ端子に接続されるとともに、センサ34乃至35
に接続される。
The control bus CB8, address bus AB8, and data bus DBS, which are connected to the control signal terminal, address terminal, and data terminal of the CPU 18 of the microcomputer 8, respectively, are connected to the control signal terminal, address terminal, and data terminal of the port P1 of the DP-RAM 28, respectively. The sensors 34 to 35 are connected to data terminals and
connected to.

監視用マイクロコンピュータ9の監M、用CP U3O
のコントロール信号端子、アドレス端子、及びデータ端
子にそれぞれ接続されるコントロールバスCB9、アド
レスバスAB9、及びデータバスDB9はそれぞれ、マ
イクロコンピュータ2゜M22に書き込まれたデータを
読み出すことにより、CPU12からCPUIIへのデ
ータの転送を行うことができる。
Supervisor M of monitoring microcomputer 9, CPU U3O
The control bus CB9, address bus AB9, and data bus DB9, which are connected to the control signal terminal, address terminal, and data terminal of data can be transferred.

以下同様にして、マイクロコンピュータlのCPUII
とマイクロコンピュータ3,4の各CPU13,14と
の間、マイクロコンピュータ20CPU12とマイクロ
コンピュータ5,6の各CPUl5,16との間、並び
にマイクロコンピュータ3のCPU13とマイクロコン
ピュータ78の各CPU17.18との間において、デ
ータの通信を行うことができる。
Similarly, the CPU II of the microcomputer l
and each of the CPUs 13 and 14 of the microcomputers 3 and 4, between the microcomputer 20 CPU 12 and each of the CPUs 15 and 16 of the microcomputers 5 and 6, and between the CPU 13 of the microcomputer 3 and each of the CPUs 17 and 18 of the microcomputer 78. Data can be communicated between them.

(2)制御システム全体の動作 センサ3I乃至33から出力される検出データがマイク
ロコンピュータ7のCPU17に入力され、また、セン
サ34.35から出力される検出データがマイクロコン
ピュータ8のCPU18に入力され、さらに、センサ3
6.37から出力される検出データがマイクロコンピュ
ータ4のCPU14に入力される。
(2) Detection data output from the operation sensors 3I to 33 of the entire control system is input to the CPU 17 of the microcomputer 7, and detection data output from the sensors 34 and 35 is input to the CPU 18 of the microcomputer 8, Furthermore, sensor 3
The detection data output from 6.37 is input to the CPU 14 of the microcomputer 4.

マイクロコンピュータ1乃至8の各cpuit=13 3.6.7の各3P−RAM22,23,26゜27の
各ポートP3のコントロール信号端子、アドレス端子、
及びデータ端子に接続される。
Each CPUIT of microcomputers 1 to 8 = 13 3. Control signal terminal and address terminal of each port P3 of each 3P-RAM 22, 23, 26゜27 of 3.6.7,
and connected to the data terminal.

以上のように構成された制御システムの動作について、
下記の項目毎に説明する。
Regarding the operation of the control system configured as above,
Each item will be explained below.

(1)各CPU間のデータの通信 (2)制御システム全体の動作 (3)監視用CPU19の動作 (1)各CPU間のデータの通信 マイクロコンピュータlのCPUIIが、データをマイ
クロコンピュータ2のCPU12に転送する場合は、C
PU11が転送すべきデータを3P−RAMI 2に書
込んだ後、CPU12が3PRAM12に書き込まれた
データを読み出すことにより、CPUIIからCPU1
2へのデータの転送を行うことができる。また、マイク
ロコンピュータlのCPUIIが、マイクロコンピュー
タ2のCPU12からデータを転送させる場合は、CP
U12が予め転送すべきデータを3P−RAM22に書
き込んだ後、CPU1lが3P−RA乃至18はそれぞ
れ、上記入力された検出データに基づいて所定の演算を
行い、必要に応じて各CPUII乃至18間で上述のよ
うにデータの通信を行う。最終的に、CPU 15がア
クチュエータ41.42の制御のための制御データを演
算してそれぞれアクチュエータ41.42に出力して所
定の制御を行い、また、CPU16が、アクチュエータ
43の制御のための制御データを演算した後アクチュエ
ータ43に出力して所定の制御を行う。
(1) Communication of data between each CPU (2) Operation of the entire control system (3) Operation of the monitoring CPU 19 (1) Communication of data between each CPU The CPU II of the microcomputer 1 transfers data to the CPU 12 of the microcomputer 2. If you want to transfer to C.
After the PU 11 writes the data to be transferred to the 3P-RAMI 2, the CPU 12 reads the data written to the 3PRAM 12, thereby transferring the data from the CPU II to the CPU 1.
Data can be transferred to 2. In addition, when the CPU II of the microcomputer 1 transfers data from the CPU 12 of the microcomputer 2, the CPU
After the U12 writes the data to be transferred in advance to the 3P-RAM 22, the CPU 1l performs predetermined calculations on each of the 3P-RA to 18 based on the input detection data, and transfers information between each CPU II to 18 as necessary. Data communication is performed as described above. Finally, the CPU 15 calculates control data for controlling the actuators 41 and 42 and outputs them to each actuator 41 and 42 to perform predetermined control, and the CPU 16 calculates control data for controlling the actuator 43. After calculating the data, it is output to the actuator 43 for predetermined control.

(3)監視用CPU1’9の動作 上述のように、3P−RAM22,23,26゜27に
はそれぞれ、CPUIIからCPUI2へ又はCPU1
2からCPUIIへ転送されるブタ、CPUIIからC
PU13へ又はCPU13からCPUIIへ転送される
データ、CPU12からCPU16又はCPU16から
CPU12へ転送されるデータ、並びにCPU13から
CPU17へ又はCPU17からCPU13へ転送され
るデータが一時的に書き込まれる。
(3) Operation of the monitoring CPU 1'9 As mentioned above, the 3P-RAMs 22, 23, and 26°27 are connected from the CPU II to the CPU 2 or from the CPU 1
Pig transferred from 2 to CPUII, CPUII to C
Data transferred to the PU 13 or from the CPU 13 to the CPU II, data transferred from the CPU 12 to the CPU 16 or from the CPU 16 to the CPU 12, and data transferred from the CPU 13 to the CPU 17 or from the CPU 17 to the CPU 13 are temporarily written.

監視用CPU19は、3P−RAM22.23゜26.
27に書き込まれた上記データを周期的に順次読出した
後、読み出したデータが適正な範囲にあるか否かを判断
することによって、当該制御システム内の各部の故障等
の異常状態を検出し、上記異常状態に対する所定の制御
を、3P−RAM22,23,26.27を介してCP
U41゜12.13,16.1’7に対して行う。
The monitoring CPU 19 has a 3P-RAM 22.23°26.
After reading out the data written in the control system 27 periodically and sequentially, by determining whether the read data is within an appropriate range, detecting an abnormal state such as a failure of each part in the control system, The predetermined control for the above abnormal state is carried out by the CP via the 3P-RAMs 22, 23, 26.27.
Perform for U41°12.13, 16.1'7.

例えば、センサ3,1が故障した場合、CPU 17に
は、外乱が含まれた検出データが入力され、CPU17
はこの検出データを3P−R’AM27を介してCPU
13に転送する。このとき、監視用CPU19は、3P
−RAM27に書き込まれた上記検出データを読出した
後、該検出データが適正な範囲にあるか否かを判断する
ことで、センサ31の故障を検出することができ、もし
故障を検出したとき、監視用CPU19は、例えばセン
サ31の故障を表示する表示器(図示せず。)を点灯さ
せる。
For example, if the sensors 3 and 1 fail, detection data including disturbance is input to the CPU 17, and the CPU 17
sends this detection data to the CPU via 3P-R'AM27.
Transfer to 13. At this time, the monitoring CPU 19
- After reading the detection data written in the RAM 27, it is possible to detect a failure of the sensor 31 by determining whether or not the detection data is within an appropriate range.If a failure is detected, The monitoring CPU 19 lights up a display (not shown) that indicates a failure of the sensor 31, for example.

さらに、アクチュエータ43を制御するための制御デー
タがCPU12から3P−RAM26を介してCPU1
6に転送された場合の監視用CPU19の動作例につい
て、第3図のフローチャートを参照して説明する。ここ
で、CPU12によって演算されるアクチュエータ43
を制御するための制御データDAが、CPU12におい
て設定される制御ゲインKに対して、第2図に示すよう
に、線形的に増加するものとし、アクチュエータ43を
制御するための制御データの適正な範囲が25から50
までの範囲であるとする。
Further, control data for controlling the actuator 43 is transmitted from the CPU 12 to the CPU 1 via the 3P-RAM 26.
An example of the operation of the monitoring CPU 19 when the data is transferred to the computer 6 will be described with reference to the flowchart in FIG. Here, the actuator 43 calculated by the CPU 12
Assume that the control data DA for controlling the actuator 43 increases linearly with respect to the control gain K set in the CPU 12, as shown in FIG. Range is 25 to 50
Suppose that the range is up to .

監視用CPUI 9は、ステップSllにおいて、3P
−RAM26に書き込まれた制御データDAを読出した
後、ステップS12において、当該制御データDAが適
正な範囲にあるか否か、すなわち25から50までの軸
回にあるか否かを判別する。もし該制御データDAが適
正な範囲にあるならば、次の診断ステップに進み、一方
、該制御データDAが適正な範囲にないならば、ステッ
プS13において、CPU12の制御ゲインの調整で対
応が可能か否かを判断し、対応が可能であるならば、ス
テップS44からステップ515に進み、CPU12の
制御ゲインを上げるか又は下げるかを判断する。もしC
PU12の制御ゲインを上げると判断した場合は、ステ
ップ317からステップS18に進み、監視用CPU1
9がCPU12に対してCPU12の制御ゲインを上げ
るように指示して、3P−RAM26に書き込まれる上
記制御データDAを適正な範囲になるように制御した後
、次の診断ステップに進む。一方、ステップS15にお
いて、CPU12の制御ゲインを下げると判断した場合
は、ステップ317からステップ318に進み、監視用
CPU19がCPU l 2に対してCPU12の制御
ゲインを下げるように指示して、3P−RAM26に書
き込まれる上記制御データDAを適正な範囲になるよう
に制御した後、次の診断ステップに進む。
The monitoring CPUI 9 performs 3P in step Sll.
- After reading the control data DA written in the RAM 26, in step S12, it is determined whether the control data DA is within an appropriate range, that is, whether it is in the axial rotation range from 25 to 50. If the control data DA is within the appropriate range, proceed to the next diagnostic step; on the other hand, if the control data DA is not within the appropriate range, it is possible to take action by adjusting the control gain of the CPU 12 in step S13. If a countermeasure is possible, the process proceeds from step S44 to step 515, and it is determined whether to increase or decrease the control gain of the CPU 12. If C
If it is determined that the control gain of the PU 12 is to be increased, the process advances from step 317 to step S18, and the control gain of the monitoring CPU 1 is increased.
9 instructs the CPU 12 to increase the control gain of the CPU 12 and controls the control data DA written in the 3P-RAM 26 to be within an appropriate range, and then proceeds to the next diagnostic step. On the other hand, if it is determined in step S15 that the control gain of the CPU 12 is to be lowered, the process proceeds from step 317 to step 318, where the monitoring CPU 19 instructs the CPU l 2 to lower the control gain of the CPU 12, and the 3P- After controlling the control data DA written in the RAM 26 so that it falls within an appropriate range, the process proceeds to the next diagnostic step.

一方、ステップS13において、CPU12の制御ゲイ
ンの調整で対応できないと判断した場合は、ステップS
14からステップS16に進み、他の方法を検討する。
On the other hand, if it is determined in step S13 that this cannot be handled by adjusting the control gain of the CPU 12, step
14, the process proceeds to step S16, and other methods are considered.

以上の手順により、CPU12における演算の異常状態
を検出し、アクチュエータ43を制御するための制御デ
ータDAを適正な範囲になるように制御することができ
る。
By the above procedure, it is possible to detect an abnormal state of calculation in the CPU 12 and control the control data DA for controlling the actuator 43 so that it falls within an appropriate range.

以上の実施例においては、複数のcpUll。In the above embodiment, a plurality of cpUlls.

12.13.16.17の異常状態並びにこれらのCP
Uに接続される周辺装置の異常状態を、1個の監視用マ
イクロコンピュータ9の監視用CPU19によって検出
することができ、個々のマイクロコンピュータが異常状
態の有無を判別する従来例に比較して、全体的なハード
ウェア、ソフトウェアの簡略化をはかることができる。
12.13.16.17 abnormal conditions and these CPs
The abnormal state of the peripheral device connected to U can be detected by the monitoring CPU 19 of one monitoring microcomputer 9, compared to the conventional example in which each microcomputer determines whether there is an abnormal state. Overall hardware and software can be simplified.

また、各マイクロコンピュータ2,3.6.7は、監視
用のプログラムを実行する必要がないので、通常の制御
及び演算のためのプログラムと監視用のプログラムを平
行して実行する従来例に比較して、各マイクロコンピュ
ータの処理速度を大幅に改善することができる。
In addition, since each microcomputer 2, 3, 6, and 7 does not need to execute a monitoring program, compared to the conventional example in which a program for normal control and calculation and a program for monitoring are executed in parallel. As a result, the processing speed of each microcomputer can be significantly improved.

以上の実施例において、監視用CPU19をマイクロコ
ンピュータ2,3.67の各3P−R−17= AM22.23.26.27と接続しているが、これに
限らず、必要に応じて他のマイクロコンピュータ4,5
.8と接続するようにしてもよい。この場合、DP、−
RAM24,25.28の代わり1:l:3 P −R
,、AMを設ける必要がある。
In the above embodiment, the monitoring CPU 19 is connected to each 3P-R-17 = AM22.23.26.27 of the microcomputer 2, 3.67, but this is not limited to this, and other connections may be made as necessary. Microcomputer 4,5
.. 8 may be connected. In this case, DP, -
RAM24, 25.28 replacement 1:l:3 P-R
,,AM must be provided.

以上の実施例において、2個のCPUと監視用CPU1
.9を接続するために、3P−RAMを用いているが、
これに限らず、接続するCPUの個数に応じて4個以上
のボートを有するマルチポートRAMを用いるようにし
てもよい。
In the above embodiment, two CPUs and a monitoring CPU1
.. I am using 3P-RAM to connect 9.
The present invention is not limited to this, and a multiport RAM having four or more ports may be used depending on the number of CPUs to be connected.

以上の実施例において、各CPUを3P−RAM22,
23.26.27又はDP−RAM242.5.28を
介して接続しているので、各cPUは独立して動作する
ことができ、これにより、各CP’Uの処理速度を向上
させることができる。
In the above embodiment, each CPU is connected to 3P-RAM22,
23.26.27 or DP-RAM242.5.28, each cPU can work independently, which can improve the processing speed of each CPU'U. .

[発明の効果] 以上詳述したように本発明によれば、複数のマイクロコ
ンピュータを備えたマルチコンピュータシステムにおい
て、少なくとも1つの監視用マイクロコンピュータを設
けるととともに、監視対象第2図は第1図のCPUl6
の制御ゲインと演算結果データの関係を示すグラフ、 第3図は第1図の監視用CPU19の制御の一例を示す
フローチャートである。
[Effects of the Invention] As detailed above, according to the present invention, in a multi-computer system including a plurality of microcomputers, at least one monitoring microcomputer is provided, and the monitored target in FIG. 2 is the same as that in FIG. 1. CPU16
FIG. 3 is a flowchart showing an example of control of the monitoring CPU 19 of FIG. 1.

■乃至8・・・制御用マイクロコンピュータ、9・・・
監視用マイクロコンピュータ、11乃至I8・・・制御
用CP、U。
■~8... Control microcomputer, 9...
Monitoring microcomputer, 11 to I8...control CP, U.

19・・・監視用CPU。19... Monitoring CPU.

22.23,26.27・・・3P−RAM。22.23, 26.27...3P-RAM.

31乃至33・・・センサ、 43・・・アクチュエータ。31 to 33...sensors, 43...actuator.

特許出願人   マツダ株式会社 代理人 弁理士 青白 葆ほか1名 であるシステム内の各マイクロコンピュータは、マルチ
ポートRAMを介して上記監視用マイクロコンピュータ
に接続され、上記マルチポートRAMの特定のポートか
ら読出したデータに基づいて、各マイクロコンピュータ
又は各マイクロコンピュタに接続された外部装置の異常
状態を検出するようにしたので、個々のマイクロコンピ
ュータが異常状態の有無を判別する従来例に比較して、
全体的なハードウェア、ソフトウェアの簡略化をはかる
ことができる。
Each microcomputer in the system is connected to the above-mentioned monitoring microcomputer via a multi-port RAM, and reads data from a specific port of the multi-port RAM. Since the abnormal state of each microcomputer or an external device connected to each microcomputer is detected based on the data collected, compared to the conventional example in which each microcomputer determines the presence or absence of an abnormal state,
Overall hardware and software can be simplified.

また、監視用マイクロコンピュータ以外の各マイクロコ
ンピュータは、監視用のプログラムを実行する必要がな
いので、通常の制御及び演算のためのプログラムと監視
用のプログラムを平行して実行する従来例に比較して、
各マイクロコンピュータの処理速度を大幅に改善するこ
とができる。
In addition, each microcomputer other than the monitoring microcomputer does not need to execute a monitoring program, so compared to the conventional example in which a program for normal control and calculation and a program for monitoring are executed in parallel. hand,
The processing speed of each microcomputer can be significantly improved.

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

Claims (1)

【特許請求の範囲】[Claims] (1)複数のマイクロコンピュータを備えたマルチコン
ピュータシステムの異常監視装置であって、少なくとも
1つの監視用マイクロコンピュータを設けるととともに
、監視対象であるシステム内の各マイクロコンピュータ
は、マルチポートRAMを介して上記監視用マイクロコ
ンピュータに接続されており、上記マルチポートRAM
の特定のポートから読出したデータに基づいて、各マイ
クロコンピュータ又は各マイクロコンピュータに接続さ
れた外部装置の異常状態を検出するようにしたことを特
徴とするマルチコンピュータシステムの異常監視装置。
(1) An abnormality monitoring device for a multi-computer system equipped with a plurality of microcomputers, in which at least one monitoring microcomputer is provided, and each microcomputer in the system to be monitored is connected via a multiport RAM. is connected to the above-mentioned monitoring microcomputer, and the above-mentioned multi-port RAM
1. An abnormality monitoring device for a multi-computer system, characterized in that an abnormal state of each microcomputer or an external device connected to each microcomputer is detected based on data read from a specific port of the multi-computer system.
JP1020191A 1989-01-30 1989-01-30 Abnormality monitoring device for multicomputer system Pending JPH02199575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1020191A JPH02199575A (en) 1989-01-30 1989-01-30 Abnormality monitoring device for multicomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1020191A JPH02199575A (en) 1989-01-30 1989-01-30 Abnormality monitoring device for multicomputer system

Publications (1)

Publication Number Publication Date
JPH02199575A true JPH02199575A (en) 1990-08-07

Family

ID=12020284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1020191A Pending JPH02199575A (en) 1989-01-30 1989-01-30 Abnormality monitoring device for multicomputer system

Country Status (1)

Country Link
JP (1) JPH02199575A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04358234A (en) * 1991-06-04 1992-12-11 Toshiba Corp Supervisory and control method for duplex computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04358234A (en) * 1991-06-04 1992-12-11 Toshiba Corp Supervisory and control method for duplex computer system

Similar Documents

Publication Publication Date Title
JPH01216459A (en) Configuration change control system
JP2001527232A5 (en)
JPH01150963A (en) Ipl method in computer
JPH02199575A (en) Abnormality monitoring device for multicomputer system
JPH02189663A (en) Input/output data transfer system
JP2915528B2 (en) Sensor / data failure detection / signal selection device
JP2774675B2 (en) Bus controller
JPH02206806A (en) Control system having plural processor units
JP2008102686A (en) Field controller
JP3175465B2 (en) Switching method of redundant control device and redundant control device thereof
JPH01166161A (en) Mutual monitoring system for multiprocessor system
JPH08328885A (en) Fault detection method for microcomputer
JP2837522B2 (en) I / O instruction control method
JPH0430245A (en) Multiprocessor control system
JPH04109303A (en) Adjustment controller
JP2000347885A (en) Duplex process controller
JPH0346034A (en) Information processing system
JPH0140368B2 (en)
JPH04158457A (en) Duplex system
JPH0651827A (en) Abnormality monitor system for program controller
JPS5839307A (en) Programmable controller
JPS63186351A (en) Control system for peripheral device
JPS5962966A (en) Data transfer circuit between cpus
JPS6321217B2 (en)
JPS60220448A (en) Mutual checking method of multi-cpu system