JPS6255740A - Monitor circuit for runaway of microprocessor - Google Patents
Monitor circuit for runaway of microprocessorInfo
- Publication number
- JPS6255740A JPS6255740A JP60196256A JP19625685A JPS6255740A JP S6255740 A JPS6255740 A JP S6255740A JP 60196256 A JP60196256 A JP 60196256A JP 19625685 A JP19625685 A JP 19625685A JP S6255740 A JPS6255740 A JP S6255740A
- Authority
- JP
- Japan
- Prior art keywords
- microprocessor
- signal
- state
- runaway
- alarm
- 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
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、マイクロプロセッサを動作させる周辺回路に
関し、特にマイクロプロセッサ暴走時に暴走警報を行う
マイクロプロセッサ暴走監視回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a peripheral circuit for operating a microprocessor, and more particularly to a microprocessor runaway monitoring circuit that issues a runaway alarm when a microprocessor runs out of control.
従来、この種のマイクロプロセッサ暴走監視回路は、雑
音およびマイクロプロセッサの遅延による暴走警報の発
生を防ぐ保護機能がなく、マイクロプロセッサ暴走時に
は即時に警報を行うようになっていた。Conventionally, this type of microprocessor runaway monitoring circuit does not have a protection function to prevent runaway alarms from being generated due to noise and microprocessor delays, and is designed to immediately issue an alarm when a microprocessor runs out of control.
上述した従来のマイクロプロセッサ暴走監視回路は、暴
走状態の入力があると、即時暴走状態と判断し、正常状
態への復帰を試みることなく、警報を発生し、マイクロ
プロセッサの停止を行うため、マイクロプロセッサが正
常動作時に暴走監視信号へ雑音が入った場合や、マイク
ロプロセッサが正常であるが、暴走監視回路へ正常動作
しでいるという信号を出力することが不可能であり、出
力が遅れた場合も、マイクロプロセッサの暴走と判断し
、警報を発生し、マイクロプロセッサの停止を行うとい
う欠点がある。When the conventional microprocessor runaway monitoring circuit described above receives an input of a runaway state, it immediately determines that it is a runaway state, generates an alarm, and stops the microprocessor without attempting to return to the normal state. When noise enters the runaway monitoring signal when the processor is operating normally, or when the microprocessor is normal but it is impossible to output a signal indicating that it is not operating normally to the runaway monitoring circuit, and the output is delayed. However, it also has the disadvantage that it determines that the microprocessor is running out of control, generates an alarm, and shuts down the microprocessor.
本発明のマイクロプロセッサ暴走監視回路は、マイクロ
プロセッサが正常状態にあるか暴走状態にあるかを示す
マイクロプロセッサ状態信号をこのマイクロプロセッサ
から入力し、マイクロプロッサ状態信号がマイクロプロ
セッサが正常状態にあることを示しでいるときのみパル
ス信号を発生するパルス発生部と、前記マイクロプロセ
ッサが正常状態から暴走状態に変化して前記パルス発生
部から前記パルス信号が入力されなくなったとき、マイ
クロプロセッサの暴走状at示す状態信号を出力する状
態監視部と、前記状態監視部から前記マイクロプロセッ
サが暴走状態にあることを示す状態信号が入力した時刻
から予め設定された期間、保護信号を前記状態監視部に
出力して、前記状態監視部にマイクロプロセッサが正常
状態にあることを示す状態信号を強制的に出力させ、前
記期間の終了後もマイクロプロセッサの暴走状態を示す
状態信号の入力が継続しているときに、マイクロプロセ
ッサの警報部に警報信号を出力すると共に、このマイク
ロプロセッサにこのマイクロプロセッサを停止させる停
止信号を出力する警報検出部を有する。The microprocessor runaway monitoring circuit of the present invention receives from the microprocessor a microprocessor status signal indicating whether the microprocessor is in a normal state or a runaway state, and the microprocessor status signal indicates that the microprocessor is in a normal state. a pulse generator that generates a pulse signal only when the microprocessor is in a runaway state; a state monitoring section that outputs a state signal indicating that the microprocessor is in a runaway state; and a state monitoring section that outputs a protection signal to the state monitoring section for a preset period from a time when a state signal indicating that the microprocessor is in a runaway state is input from the state monitoring section. to force the status monitoring unit to output a status signal indicating that the microprocessor is in a normal status, and when the status signal indicating that the microprocessor is in a runaway status continues to be input even after the end of the period; , has an alarm detection section that outputs an alarm signal to the alarm section of the microprocessor and also outputs a stop signal to the microprocessor to stop the microprocessor.
したがって、マイクロプロセッサが正常に動作している
が、監視信号に雑音が入った場合や正常動作を示す信号
の出力が一時的に不可能になっで遅延した場合に、直ち
にマイクロプロセッサ暴走二輪を発生し、マイクロプロ
セッサが停止するのを防ぐことができる。Therefore, if the microprocessor is operating normally, but there is noise in the monitoring signal, or if the output of the signal indicating normal operation is temporarily disabled and delayed, the microprocessor will immediately run out of control. This can prevent the microprocessor from stalling.
本発明の実施例について図面を参照しで説明する。 Embodiments of the present invention will be described with reference to the drawings.
第1図は、本発明のマイクロプロセッサ暴走監視回路の
一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the microprocessor runaway monitoring circuit of the present invention.
本実施例のマイクロプロセッサ暴走監視回路1は、パル
ス発生部3と状態監視部4と警報検出部5を有する。The microprocessor runaway monitoring circuit 1 of this embodiment includes a pulse generating section 3, a status monitoring section 4, and an alarm detecting section 5.
パルス発生部3は、マスクロプロセッサ2が正常状態に
あるか暴走状態にあるかを示すマイクロプロセッサ状態
信号S++8入力し、マイクロプロセッサ状態信号S1
がマイクロプロセッサ2が正常状態にあることを示して
いるときのみパルス信号S、を発生する。The pulse generator 3 inputs a microprocessor status signal S++8 indicating whether the mask processor 2 is in a normal state or in a runaway state, and receives a microprocessor status signal S1.
The pulse signal S is generated only when the microprocessor 2 indicates that the microprocessor 2 is in a normal state.
状態監視部4は、マイクロプロセッサ2が正常状態から
暴走状態に変化してパルス発生部3からパルス信号S2
が入力されなくなったとき、マイクロプロセッサ2が暴
走状態を示の状態信号S3を出力する。The state monitoring unit 4 receives a pulse signal S2 from the pulse generation unit 3 when the microprocessor 2 changes from a normal state to an out-of-control state.
When no longer input, the microprocessor 2 outputs a status signal S3 indicating a runaway condition.
監視検出部5は、状態監視部4からマイクロプロセッサ
2が暴走状態にあることを示す状態信号S3が入力した
時刻から予め設定された期間、保護信号S4を状態監視
部4に出力して、状態監視部4にマイクロプロセッサ2
が正常状態にあることを示す状態信号S3を強制的に出
力させる。また、警報検出部5は、前記予め設定された
期間の終了後もマイクロプロセッサ2の暴走状態を示す
状態信号S3の入力が継続しているときに、マイクロプ
ロセッサの警報FjB6に警報信号S6を出力すると共
に、マイクロプロセッサ2にマイクロプロセッサ2を停
止させる停止信号S5を出力する。The monitoring detection unit 5 outputs a protection signal S4 to the status monitoring unit 4 for a preset period from the time when the status signal S3 indicating that the microprocessor 2 is in a runaway state is input from the status monitoring unit 4, and detects the state. Microprocessor 2 in monitoring unit 4
A status signal S3 indicating that the terminal is in a normal state is forcibly output. Further, the alarm detection unit 5 outputs an alarm signal S6 to the alarm FjB6 of the microprocessor when the input of the status signal S3 indicating the runaway state of the microprocessor 2 continues even after the end of the preset period. At the same time, it outputs a stop signal S5 to the microprocessor 2 to stop the microprocessor 2.
以上説明したように本発明は、状態監視部からマイクロ
プロセッサが暴走状態にあることを示す状態信号が入力
した時刻から予め設定された期間、保護信号を状態監視
部に出力しで、状態監視部からマイクロプロセッサの正
常状態を示す状態信号を強制的に出力させることにより
、マイクロプロセッサが正常に動作しているが、監視信
号に雑音が入った場合や正常動作を示す信号の出力が一
時的に不可能になって遅延した場合に、直ちにマイクロ
プロセッサ暴走警報を発生し、停止するのを防ぐ効果か
ある′。As explained above, the present invention outputs a protection signal to the status monitoring unit for a preset period from the time when the status signal indicating that the microprocessor is in a runaway state is input from the status monitoring unit. By forcibly outputting a status signal indicating the normal status of the microprocessor, the microprocessor is operating normally, but if there is noise in the monitoring signal or the output of the signal indicating normal operation is temporarily interrupted. If this becomes impossible and there is a delay, a microprocessor runaway alarm is immediately generated, which has the effect of preventing the system from shutting down.
第1図は、本発明のマイクロプロセッサ暴走監視回路の
一実施例を示すプロ・yり図である。
1・・・マイクロプロセッサ暴走監視回路、2・・・マ
イクロプロセッサ、
3・・・パルス発生部、
4・・・状態監視部、
5・・・警報検出部、
6・・・警報部、
SL・・・マイクロブOセッサ状態信号、S2””パル
ス信号、
S3−状態信号、
S4・・・保護信号、
S5・・・停止信号、
S6・・・警報信号。FIG. 1 is a schematic diagram showing an embodiment of the microprocessor runaway monitoring circuit of the present invention. DESCRIPTION OF SYMBOLS 1...Microprocessor runaway monitoring circuit, 2...Microprocessor, 3...Pulse generation section, 4...Status monitoring section, 5...Alarm detection section, 6...Alarm section, SL・...Microbe O processor status signal, S2'' pulse signal, S3-status signal, S4...protection signal, S5...stop signal, S6...alarm signal.
Claims (1)
該マイクロプロセッサが正常状態にあるか暴走状態にあ
るかを示すマイクロプロセッサ状態信号を該マイクロプ
ロセッサから入力し、該マイクロプロセッサ状態信号が
マイクロプロセッサが正常状態にあることを示している
ときのみパルス信号を発生するパルス発生部と、 前記マイクロプロセッサが正常状態から暴走状態に変化
して前記パルス発生部から前記パルス信号が入力されな
くなったとき、マイクロプロセッサの暴走状態を示す状
態信号を出力する状態監視部と、 前記状態監視部から前記マイクロプロセッサが暴走状態
にあることを示す状態信号が入力した時刻から予め設定
された期間、保護信号を前記状態監視部に出力して、前
記状態監視部にマイクロプロセッサが正常状態にあるこ
とを示す状態信号を強制的に出力させ、前記期間の終了
後もマイクロプロセッサの暴走状態を示す状態信号の入
力が継続しているときに、マイクロプロセッサの警報部
に警報信号を出力すると共に、該マイクロプロセッサに
該マイクロプロセッサを停止させる停止信号を出力する
警報検出部を有するマイクロプロセッサ暴走監視回路。[Claims] In a peripheral circuit that operates a microprocessor,
A microprocessor status signal indicating whether the microprocessor is in a normal state or a runaway state is input from the microprocessor, and a pulse signal is generated only when the microprocessor status signal indicates that the microprocessor is in a normal state. and a status monitor that outputs a status signal indicating the runaway state of the microprocessor when the microprocessor changes from a normal state to a runaway state and the pulse signal is no longer input from the pulse generator. outputting a protection signal to the status monitoring unit for a preset period from a time when a status signal indicating that the microprocessor is in a runaway state is input from the status monitoring unit; A state signal indicating that the processor is in a normal state is forcibly output, and when the state signal indicating that the microprocessor is in a runaway state continues to be input even after the end of the above period, an alarm is sent to the alarm unit of the microprocessor. A microprocessor runaway monitoring circuit having an alarm detection section that outputs a signal and also outputs a stop signal to the microprocessor to stop the microprocessor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60196256A JPS6255740A (en) | 1985-09-04 | 1985-09-04 | Monitor circuit for runaway of microprocessor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60196256A JPS6255740A (en) | 1985-09-04 | 1985-09-04 | Monitor circuit for runaway of microprocessor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6255740A true JPS6255740A (en) | 1987-03-11 |
Family
ID=16354781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60196256A Pending JPS6255740A (en) | 1985-09-04 | 1985-09-04 | Monitor circuit for runaway of microprocessor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6255740A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5783860A (en) * | 1980-11-14 | 1982-05-25 | Yokogawa Hokushin Electric Corp | Working monitor circuit of processor |
JPS5882349A (en) * | 1981-11-11 | 1983-05-17 | Sharp Corp | Dealing device for hardware fault of computer system |
-
1985
- 1985-09-04 JP JP60196256A patent/JPS6255740A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5783860A (en) * | 1980-11-14 | 1982-05-25 | Yokogawa Hokushin Electric Corp | Working monitor circuit of processor |
JPS5882349A (en) * | 1981-11-11 | 1983-05-17 | Sharp Corp | Dealing device for hardware fault of computer system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SG60202A1 (en) | Method and system for performance monitoring in a multithreaded processor | |
JPH0463417B2 (en) | ||
JPS6255740A (en) | Monitor circuit for runaway of microprocessor | |
JP2633828B2 (en) | Elevator end floor deceleration monitoring device | |
JPH11203173A (en) | Watch dog timer circuit | |
JPS62168204A (en) | Digital controller | |
JPH0474235A (en) | Wrong control preventing circuit | |
JPS61275943A (en) | Abnormality detector for computer | |
JP2699761B2 (en) | Microcomputer external output circuit | |
JP2735353B2 (en) | Elevator control method | |
JPH1038269A (en) | Gas shut-off device and power failure processing method used therefor | |
JPS59158446A (en) | System for preventing malfunction in cpu | |
JPH1020904A (en) | Control state monitor device | |
JPH02127063A (en) | Printer | |
JPH03273347A (en) | Microprocessor monitor circuit | |
JP2001306172A (en) | Information processing device with warning device | |
JPH0295678A (en) | Control device for elevator | |
JPS6395514A (en) | Power supply switch controller | |
JPH02181839A (en) | Watch dog supervison circuit | |
JPS6266341A (en) | Runaway detecting circuit for cpu | |
JPS6310248A (en) | Detecting system for abnormal state of microprocessor | |
JPS6155751A (en) | Central control unit | |
JPH04288433A (en) | Remote control device for air conditioner | |
JPH04369740A (en) | Controller with watch dog timer | |
JPS6320548A (en) | Supervisor/resetting circuit for cpu |