JPH0643902A - Method for monitoring operation of computer system - Google Patents

Method for monitoring operation of computer system

Info

Publication number
JPH0643902A
JPH0643902A JP4012082A JP1208292A JPH0643902A JP H0643902 A JPH0643902 A JP H0643902A JP 4012082 A JP4012082 A JP 4012082A JP 1208292 A JP1208292 A JP 1208292A JP H0643902 A JPH0643902 A JP H0643902A
Authority
JP
Japan
Prior art keywords
abnormality
stage
monitoring
computer system
stop signal
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.)
Granted
Application number
JP4012082A
Other languages
Japanese (ja)
Other versions
JP2548479B2 (en
Inventor
Hironobu Saeki
寛信 佐伯
Hideo Watanabe
秀夫 渡辺
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.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP4012082A priority Critical patent/JP2548479B2/en
Publication of JPH0643902A publication Critical patent/JPH0643902A/en
Application granted granted Critical
Publication of JP2548479B2 publication Critical patent/JP2548479B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To prevent the whole system from being stopped by mistake by a monitoring microprocessor by using the monitoring processor consisting of a sampling stage, a 1st abnormality judgement stage, a 2nd abnormality judgement stage, and a stop signal output stage. CONSTITUTION:When it is judged at the 2nd abnormality judgement stage 202 that abnormality occurs, an abnormality flag inspection stage 205 for judging whether or not an abnormality flag which should be set by an abnormality flag stage 206 is set is executed. When it is judged that the abnormality flag is not set, the stop signal output stage 207 is not executed and only when it is judged that the abnormality flag is set, the stop signal output stage 207 is executed. Even if system abnormality is judged in the 2nd abnormality stage judgement stage 202, the system is not stopped unless it the system abnormality is judged in the 1st abnormality judgement stage 201 to prevent the whole system from being stopped owing to accidental cause such as an external noise.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は制御用コンピュータによ
って制御されるシステムの動作状態の監視方法に係わ
り、特に制御用コンピュータを含む全システムの監視装
置として監視用マイクロプロセッサを使用した動作状態
の監視方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for monitoring the operating state of a system controlled by a control computer, and more particularly to monitoring the operating state using a monitoring microprocessor as a monitoring device for the entire system including the control computer. Regarding the method.

【0002】[0002]

【従来の技術】制御用コンピュータを中心に構成された
システムの動作状態が正常であるか否かを監視する監視
装置として低機能で安価な監視用マイクロプロセッサを
使用することはよく行われている。例えば制御用コンピ
ュータから出力された所定の周期を有するパルス信号
を、監視装置であるマイクロプロセッサに入力してパル
ス周期が一定の範囲にある場合に制御用コンピュータを
含む全システムを正常と、オンオフの周期が一定の範囲
を逸脱した場合に制御用コンピュータあるいは制御用コ
ンピュータを除くシステムの何処か(例えば制御用コン
ピュータによって制御されるアクチュエータ)が異常と
判断するものがある。
2. Description of the Related Art It is common to use a low-performance and inexpensive monitoring microprocessor as a monitoring device for monitoring whether the operating state of a system mainly composed of a control computer is normal. . For example, a pulse signal having a predetermined cycle output from the control computer is input to a microprocessor, which is a monitoring device, and when the pulse cycle is within a certain range, the entire system including the control computer is turned on and off normally. In some cases, when the cycle deviates from a certain range, the control computer or some part of the system excluding the control computer (for example, an actuator controlled by the control computer) is determined to be abnormal.

【0003】そして監視用マイクロプロセッサは、制御
用コンピュータが異常であると判断した時に、制御用コ
ンピュータを含む全システムの動作を停止するために動
作停止信号を出力する。
When the control microprocessor determines that the control computer is abnormal, it outputs an operation stop signal to stop the operation of the entire system including the control computer.

【0004】[0004]

【発明が解決しようとする課題】このような構成におい
ては、監視用マイクロプロセッサ自体に外部ノイズが加
わることにより誤って動作停止信号を出力した場合には
制御用コンピュータを含む全システムは正常であるにも
係わらずその動作が停止されてしまい、動作を開始する
ためには全システムに対してリセット命令を与えなけれ
ばならず、その間動作は中断されたままである。
In such a configuration, if an operation stop signal is erroneously output due to external noise applied to the monitoring microprocessor itself, the entire system including the control computer is normal. Nevertheless, the operation is stopped, and the reset command must be given to the whole system to start the operation, while the operation remains suspended.

【0005】本発明はかかる問題点に鑑みなされたもの
であって、監視用マイクロプロセッサの一時的な異常に
より制御用コンピュータを含む全システムが誤って停止
することを防止するコンピュータシステムの動作監視方
法を提供することを目的とする。
The present invention has been made in view of the above problems, and an operation monitoring method for a computer system for preventing the entire system including the control computer from being erroneously stopped due to a temporary abnormality of the monitoring microprocessor. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】本発明にかかるコンピュ
ータシステムの動作監視方法は、制御用コンピュータか
ら出力される監視用信号をサンプリングして取り込む少
なくとも1つのサンプリング段階と、サンプリング段階
において入力された監視用信号に基づいて制御用コンピ
ュータ、制御用コンピュータに接続されるセンサおよび
アクチュエータから構成されるコンピュータシステムに
異常が発生しているか否かを判断する第1の異常判断段
階と、第1の異常判断段階においてコンピュータシステ
ムに異常が発生していると判断された時にコンピュータ
システム異常フラグをセットする異常フラグセット段階
と、サンプリング段階において入力された監視用信号に
基づいてコンピュータシステムに異常が発生しているか
否かを判断する第2の異常判断段階と、第2の異常判断
段階で異常が発生していると判断されたときには異常フ
ラグ段階でセットされるべき異常フラグがセットされて
いるか否かを判断する異常フラグ検査段階と、異常フラ
グ検査段階で異常フラグがセットされていると判断され
た時のみシステムの動作を停止するためにシステム動作
停止信号を出力する停止信号出力段階と、からなる。
A computer system operation monitoring method according to the present invention includes at least one sampling stage for sampling and capturing a monitoring signal output from a control computer, and monitoring input at the sampling stage. First abnormality determination step of determining whether or not an abnormality has occurred in a computer system including a control computer, a sensor connected to the control computer, and an actuator based on the operation signal, and a first abnormality determination Abnormality flag setting stage that sets a computer system abnormality flag when it is judged that an abnormality has occurred in the computer system in the stage, and whether an abnormality has occurred in the computer system based on the monitoring signal input in the sampling stage. The first to determine whether And an abnormality flag inspection step of determining whether or not an abnormality flag that should be set in the abnormality flag step is set when it is determined that an abnormality has occurred in the second abnormality determination step, And a stop signal output step of outputting a system operation stop signal to stop the operation of the system only when it is determined in the abnormality flag inspection step that the abnormality flag is set.

【0007】[0007]

【作用】本発明によるコンピュータシステムの動作監視
方法によれば、第2の異常判断段階でシステム異常と判
断された場合であっても、第1の異常判断段階でシステ
ム異常と判断されていなければシステム動作停止信号が
出力されることはなく、外来ノイズ等の偶発的原因でシ
ステム全体が停止することが防止される。
According to the computer system operation monitoring method of the present invention, even if the system abnormality is determined in the second abnormality determination step, if the system abnormality is not determined in the first abnormality determination step. The system operation stop signal is not output, and it is possible to prevent the entire system from being stopped due to an accidental cause such as external noise.

【0008】[0008]

【実施例】図1は監視用マイクロプロセッサにより監視
されるコンピュータシステムの1例の構成図である。1
1は制御用コンピュータ111を中心とするコンピュー
タシステムである。制御用コンピュータ111には入力
回路112および出力回路113が接続されており、入
力回路112にはセンサ1121・・・112Mが、出
力回路にはアクチュエータ1131・・・113Nが接
続されている。
1 is a block diagram of an example of a computer system monitored by a monitoring microprocessor. 1
Reference numeral 1 is a computer system centered on a control computer 111. An input circuit 112 and an output circuit 113 are connected to the control computer 111, sensors 1121 ... 112M are connected to the input circuit 112, and actuators 1131 ... 113N are connected to the output circuit.

【0009】さらに制御用コンピュータ111からは第
1の伝送線13を介して監視用マイクロプロセッサ12
にパルス信号が伝送される。また監視用マイクロプロセ
ッサ12からは第2の伝送線14を介して制御用コンピ
ュータ111に動作停止信号が伝送される。制御用コン
ピュータ111はセンサ1121・・・112Mを含む
入力回路112、アクチュエータ1131・・・113
Nを含む出力回路113および制御用コンピュータ自体
から構成されるコンピュータシステム11が正常である
か否かを診断する診断ルーチンが組み込まれており、正
常である場合には所定の範囲で変動する周波数のパルス
を出力する。
Further, from the control computer 111, the monitoring microprocessor 12 is connected via the first transmission line 13.
A pulse signal is transmitted to. Further, an operation stop signal is transmitted from the monitoring microprocessor 12 to the control computer 111 via the second transmission line 14. The control computer 111 includes an input circuit 112 including sensors 1121 ... 112M and actuators 1131 ... 113.
A diagnostic routine for diagnosing whether or not the computer system 11 including the output circuit 113 including N and the control computer itself is normal is incorporated, and when normal, the frequency of the frequency fluctuating within a predetermined range is detected. Output pulse.

【0010】このパルスは伝送線13を介して監視用マ
イクロプロセッサ12に伝送され、監視用マイクロプロ
セッサ12でパルスの周波数を監視する。そして監視用
マイクロプロセッサ12でパルス周波数が所定範囲を逸
脱した場合はコンピュータシステム11が異常であると
して、動作停止信号が制御用コンピュータ111に伝送
線14を介して伝送される。
This pulse is transmitted to the monitoring microprocessor 12 via the transmission line 13, and the monitoring microprocessor 12 monitors the frequency of the pulse. When the monitoring microprocessor 12 causes the pulse frequency to deviate from the predetermined range, it is determined that the computer system 11 is abnormal, and an operation stop signal is transmitted to the control computer 111 via the transmission line 14.

【0011】図2は監視用マイクロプロセッサ12で実
行される監視用ルーチンのフローチャートである。ステ
ップ201でパルスをサンプリングして入力する第1の
サンプリング段階である。他の処理を実行した後ステッ
プ202はパルスをサンプリングして入力する第2のサ
ンプリング段階である。
FIG. 2 is a flowchart of a monitoring routine executed by the monitoring microprocessor 12. This is the first sampling stage in which the pulse is sampled and input in step 201. After performing other processing, step 202 is a second sampling stage in which pulses are sampled and input.

【0012】ステップ203においてサンプリングされ
たパルスに基づいてシステムが異常であるか否かを判定
し、異常と判定された場合にはステップ204で異常フ
ラグをセットする。なお異常フラグが一度セットされる
と電源がオフになるまでその状態を継続し、電源オフ後
に再度オンとなった時に起動する初期化ルーチン(図示
せず)でリセットされる。
In step 203, it is determined whether or not the system is abnormal based on the sampled pulse. If it is determined that the system is abnormal, an abnormal flag is set in step 204. Note that once the abnormality flag is set, the state is maintained until the power is turned off, and is reset by an initialization routine (not shown) that is started when the power is turned off and then turned on again.

【0013】さらに他の処理を実行したのちステップ2
05においてサンプリングされたパルスに基づいてシス
テムが異常であるか否かを判定する。ステップ205で
異常が検出されなかった時は、他の処理を経てステップ
201に戻る。ステップ205でシステム異常が検出さ
れた時はステップ206に進み、異常フラグがセットさ
れているか否かを検査する。
After performing other processing, step 2
At 05, it is determined whether the system is abnormal based on the sampled pulse. If no abnormality is detected in step 205, the process returns to step 201 through other processing. When a system abnormality is detected in step 205, the routine proceeds to step 206, where it is checked whether or not the abnormality flag is set.

【0014】ステップ206での検査の結果、異常フラ
グがセットされていないとされた時は、他の処理を経て
ステップ201に戻る。ステップ206での検査の結
果、異常フラグがセットされているとされた時は、ステ
ップ207でシステム動作停止信号を出力してコンピュ
ータシステム11全体の動作を停止する。
If the result of the inspection in step 206 is that the abnormality flag is not set, the process returns to step 201 through other processing. If the result of the inspection in step 206 indicates that the abnormality flag is set, a system operation stop signal is output in step 207 to stop the operation of the entire computer system 11.

【0015】なお実施例においては2つのサンプリング
段階を有する監視用ルーチンについて説明したが、少な
くとも1つのサンプリング段階を有すればよく、サンプ
リング段階の数を増加すればパスルに基づく異常判定の
精度を向上することが可能となる。
Although the monitoring routine having two sampling stages has been described in the embodiment, it suffices to have at least one sampling stage, and if the number of sampling stages is increased, the accuracy of abnormality determination based on pulse is improved. It becomes possible to do.

【0016】[0016]

【発明の効果】本発明にかかるコンピュータシステムの
動作監視方法によれば、外来ノイズ等によって監視用マ
イクロプロセッサが誤動作しシステム動作停止信号出力
処理を実行する場合であっても異常フラグがセットされ
ていなければシステム動作停止信号を出力しないため、
偶発的な誤動作によってシステム全体が停止することを
防止することが可能となる。
According to the computer system operation monitoring method of the present invention, the abnormality flag is set even when the monitoring microprocessor malfunctions due to external noise or the like and the system operation stop signal output processing is executed. If not, the system operation stop signal is not output.
It is possible to prevent the entire system from stopping due to an accidental malfunction.

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

【図1】図1は本発明にかかるコンピュータシステムの
動作監視方法の実施例の構成図である。
FIG. 1 is a configuration diagram of an embodiment of an operation monitoring method for a computer system according to the present invention.

【図2】図2は監視用マイクロプロセッサで実行される
監視用ルーチンのフローチャートである。
FIG. 2 is a flowchart of a monitoring routine executed by a monitoring microprocessor.

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

11…コンピュータシステム 111…制御用コンピュータ 112…入力回路 1121・・・112M…センサ 113…出力回路 1131・・・113N…アクチュエータ 12…監視用マイクロプロセッサ 13…第1の伝送線 14…第2の伝送線 11 ... Computer system 111 ... Control computer 112 ... Input circuit 1121 ... 112M ... Sensor 113 ... Output circuit 1131 ... 113N ... Actuator 12 ... Monitoring microprocessor 13 ... First transmission line 14 ... Second transmission line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 制御用コンピュータから出力される監視
用信号をサンプリングして取り込む少なくとも1つのサ
ンプリング段階と、 該サンプリング段階において入力された該監視用信号に
基づいて、該制御用コンピュータ、該制御用コンピュー
タに接続されるセンサおよびアクチュエータから構成さ
れるコンピュータシステムに異常が発生しているか否か
を判断する第1の異常判断段階と、 該第1の異常判断段階において該コンピュータシステム
に異常が発生していると判断された時にコンピュータシ
ステム異常フラグをセットする異常フラグセット段階
と、 該サンプリング段階において入力された該監視用信号に
基づいて該コンピュータシステムに異常が発生している
か否かを判断する第2の異常判断段階と、 該第2の異常判断段階において異常が発生していると判
断された時に、該システムの動作を停止するためにシス
テム動作停止信号を出力する停止信号出力段階と、から
なる監視用マイクロプロセッサを使用したコンピュータ
システムの動作監視方法において、 該第2の異常判断段階で異常が発生していると判断され
たときには、該停止信号出力段階の実行前に、該異常フ
ラグ段階でセットされるべき異常フラグがセットされて
いるか否かを判断する異常フラグ検査段階を実行し、 該異常フラグ検査段階で異常フラグがセットされていな
いと判断された時は該停止信号出力段階を実行せず、異
常フラグがセットされていると判断された時のみ該停止
信号出力段階を実行することを特徴とするコンピュータ
システムの動作監視方法。
1. At least one sampling step for sampling and taking in a monitoring signal output from a control computer, and based on the monitoring signal input in the sampling step, the control computer and the control signal A first abnormality determination step of determining whether or not an abnormality has occurred in a computer system including a sensor and an actuator connected to the computer, and an abnormality has occurred in the computer system in the first abnormality determination step. An abnormality flag setting step of setting an abnormality flag of the computer system when it is determined that the abnormality has occurred, and determining whether an abnormality has occurred in the computer system based on the monitoring signal input in the sampling step. The second abnormality judgment stage and the second abnormality judgment stage And a malfunction is generated, a stop signal output step of outputting a system operation stop signal to stop the operation of the system, and an operation monitoring method of a computer system using a monitoring microprocessor. When it is determined that an abnormality has occurred in the second abnormality determination step, whether the abnormality flag that should be set in the abnormality flag step is set before the execution of the stop signal output step. The abnormality flag checking step is performed, and when it is determined that the abnormality flag is not set in the abnormality flag checking step, the stop signal output step is not performed and it is determined that the abnormality flag is set. A method of monitoring the operation of a computer system, wherein the stop signal output step is executed only when
JP4012082A 1992-01-27 1992-01-27 Computer system operation monitoring method Expired - Fee Related JP2548479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4012082A JP2548479B2 (en) 1992-01-27 1992-01-27 Computer system operation monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4012082A JP2548479B2 (en) 1992-01-27 1992-01-27 Computer system operation monitoring method

Publications (2)

Publication Number Publication Date
JPH0643902A true JPH0643902A (en) 1994-02-18
JP2548479B2 JP2548479B2 (en) 1996-10-30

Family

ID=11795665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4012082A Expired - Fee Related JP2548479B2 (en) 1992-01-27 1992-01-27 Computer system operation monitoring method

Country Status (1)

Country Link
JP (1) JP2548479B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04268931A (en) * 1991-02-25 1992-09-24 Mazda Motor Corp Method and device for controlling apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04268931A (en) * 1991-02-25 1992-09-24 Mazda Motor Corp Method and device for controlling apparatus

Also Published As

Publication number Publication date
JP2548479B2 (en) 1996-10-30

Similar Documents

Publication Publication Date Title
JP3633092B2 (en) Microcomputer failure monitoring device
JP2548479B2 (en) Computer system operation monitoring method
JPH0626894A (en) Abnormality judging device
US5440725A (en) Microprocessor circuit arrangement with watchdog circuit
JPH06324721A (en) Method for detecting falling-off of connection unit
JP2554268B2 (en) Computer distributed system
JPH0750467B2 (en) One-chip microcomputer
JPS61276497A (en) Method for recognizing deadlock
KR0125945B1 (en) Operation state monitoring device of central processing unit and method
JPS622683Y2 (en)
JPH01124035A (en) Output data control device
JP3082806B2 (en) Fault diagnosis device
JPH0395636A (en) Diagnostic system for fail-safe circuit
JPH0612294A (en) Monitoring device
JPH0681039U (en) Watchdog circuit diagnostic device
JPS61262898A (en) Alarm
JPS6373343A (en) Self-supervisory circuit for microprocessor
JPS61248102A (en) process controller
JPH01319833A (en) Run-away detector for computer system
JPS58146907A (en) Diagnozing method of timing device
JPS59148961A (en) Monitoring system of operation of processor
JPH01226035A (en) Fail-safe device for controlling computer
JPH04195437A (en) Program runaway monitoring device
JPH01200442A (en) Cpu resetting circuit with protection
JPS61109156A (en) Automatic restart control system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960604

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

Free format text: PAYMENT UNTIL: 20090808

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100808

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20100808

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110808

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees