JPS6111858A - Abnormality detector - Google Patents

Abnormality detector

Info

Publication number
JPS6111858A
JPS6111858A JP59134581A JP13458184A JPS6111858A JP S6111858 A JPS6111858 A JP S6111858A JP 59134581 A JP59134581 A JP 59134581A JP 13458184 A JP13458184 A JP 13458184A JP S6111858 A JPS6111858 A JP S6111858A
Authority
JP
Japan
Prior art keywords
alarm
cpu
circuit
control signal
level
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
JP59134581A
Other languages
Japanese (ja)
Inventor
Katsumi Ekusa
江草 克己
Hideo Shinohara
秀雄 篠原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59134581A priority Critical patent/JPS6111858A/en
Publication of JPS6111858A publication Critical patent/JPS6111858A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To constitute simply the titled device only of hardware by deciding the loss of the periodical change of a control signal level outputted from a CPU on the basis of logic to detect abnormality. CONSTITUTION:At the normal operation of the CPU1, a constant of a pulse generating circuit 12 is set up so that a logic circuit 11 generates a retrigger signal at a certain period fixed by the combination of two control signal periods in a pulse generating period and the output of an inverter 16 is always kept at the ''0'' level. At that time, the coil 17 of a relay is out energized and a contact 18 is not closed, so that no alarm is generated. When the CPU 11 is failed and a control signal is lost, the pulse generating circuit 12 stops pulse generation, so that the output of the inverter 16 is turned to the ''1'' level, the relay coil 17 is energized, the contact 18 is closed, and the alarm device 8 is actuated.

Description

【発明の詳細な説明】 (発明の技術分野〕 この発明は中央情報処理装置(以下、CPUと云う)を
内蔵するデジタル式制御装置の、特に上記CPUの異常
検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field of the Invention) The present invention relates to a digital control device incorporating a central information processing unit (hereinafter referred to as a CPU), and particularly to an abnormality detection device for the CPU.

〔従来技術〕[Prior art]

この種のデジタル式制御装置のCPUの異常を検出する
装置としては、従来、第1図に示す構成のウォッチ・ド
ッグ・タイマ(以下、WDT)がある。同図において、
1はCPU、2はプログラム及びデータを内蔵するメモ
リ、3はデータバス、4はデータ出力バッファ、5は異
常検出装置、6はクロック発生回路、7はプリセットカ
ウンタ、8は警報器である。
A watch dog timer (hereinafter referred to as WDT) having a configuration shown in FIG. 1 has conventionally been used as a device for detecting abnormalities in the CPU of this type of digital control device. In the same figure,
1 is a CPU, 2 is a memory containing programs and data, 3 is a data bus, 4 is a data output buffer, 5 is an abnormality detection device, 6 is a clock generation circuit, 7 is a preset counter, and 8 is an alarm.

この構成においては、CPUIが正常に動作している間
は、第2WJに示す如く、所定の時間間隔TNI、TN
2、TN3・・・毎にプリセット値N1、N2、N3・
・・がプリセットカランタフにセットされるようにプロ
グラムされており、このプリセット値はクロックCに同
期してカウントダウンされるが、所定の上記時間間隔毎
に上記各プリセット値がセットされ続ける限り、プリセ
ットカウンタ7の内容が0になることはなく、ランプ等
警報器8が警報を発生することはない。しかし、CPU
1に異常が発生し上記プリセット値がセットされなくな
ると、プリセットカウンタ7の内容が0までカウントダ
ウンされ、警報器8が警報を発生する。
In this configuration, while the CPUI is operating normally, the predetermined time intervals TNI, TN
2. Preset values N1, N2, N3 for each TN3...
... is programmed to be set in the preset counter, and this preset value is counted down in synchronization with clock C, but as long as each of the above preset values continues to be set at each predetermined time interval, the preset value is The contents of the counter 7 will never become 0, and the alarm device 8 such as a lamp will not issue an alarm. However, the CPU
1 and the preset value is no longer set, the contents of the preset counter 7 count down to 0, and the alarm device 8 issues an alarm.

この従来の装置では、ブリセットカランタフに上記プリ
セット値をセットする為に、第3図に示す如く上記プリ
セット値をこれが対応するCPUの各処理が開始する前
にブリセットカランタフにセットする上記プログラムを
作成する必要があり、又、データバス3やデータ出力バ
ッファ4やこれらの為の配線を用するので、ソフトウェ
ア、ハードウエナ共に複雑なものとなる欠点があった。
In this conventional device, in order to set the preset value in the brisset carantuff, as shown in FIG. Since it is necessary to create a program, and the data bus 3, data output buffer 4, and wiring for these are used, both the software and the hardware become complicated.

〔発明の概要〕[Summary of the invention]

この発明は、上記した従来の欠点を除去す颯ためになさ
れたもので、CPUが送出する制御信号のうちの一定周
期でレベルが変化する制御信号を取出し該制御信号のレ
ベル変化の喪失の有無を判定してCPUの異常の有無を
検出する構成とすることにより、従来のように異常検出
の為のプログラムを要せず簡単なハード□構成だけで済
む異常検出装置を提案するものである。
The present invention has been made in order to eliminate the above-mentioned conventional drawbacks, and it extracts a control signal whose level changes at a constant period from among the control signals sent out by the CPU, and determines whether or not the level change of the control signal is lost. By determining whether there is an abnormality in the CPU or not, the present invention proposes an abnormality detection device that does not require a program for abnormality detection as in the past and requires only a simple hardware configuration.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明す。 An embodiment of the present invention will be described below with reference to the drawings.

る。Ru.

第5図において、10は判定回路であって、CPUIが
出力する制御信号のうち一定の周期でレベルが変化する
1もしくは複数の制御信号が導かれ、これら制御信号が
ある周期内で変化したか否かを判定し、変化しな(なっ
た場合に警報回路駆動信号を警報回路20に送出する°
In FIG. 5, reference numeral 10 denotes a determination circuit that receives one or more control signals whose level changes at a certain period among the control signals output by the CPU, and determines whether these control signals have changed within a certain period. If there is no change, the alarm circuit drive signal is sent to the alarm circuit 20.
.

第5図は判定回路10、警報回路20の具体例を示゛し
たもので、判定回路10はロジック回路11と12はパ
ルス発生回路からなる。このロジック回路11は、例え
ば、アンド回路であって、CPUIから複数の上記制御
信号が導かれており、これら制御信号が共に発生した場
合に再トリガ信号rをパルス発生回路12に送出する。
FIG. 5 shows a specific example of the determination circuit 10 and the alarm circuit 20. In the determination circuit 10, logic circuits 11 and 12 are composed of pulse generation circuits. This logic circuit 11 is, for example, an AND circuit, and receives a plurality of the above control signals from the CPUI, and sends out a re-trigger signal r to the pulse generation circuit 12 when both of these control signals are generated.

パルス発生回路12は抵抗13の抵抗値及びコンデンサ
14の容量値で定まるパルス中のパルスPを出力する。
The pulse generating circuit 12 outputs a pulse P determined by the resistance value of the resistor 13 and the capacitance value of the capacitor 14.

15は電源、16はインバータ、17は警報用リレーの
コイル、18は警報用リレーの接点、19はダイオード
である。
15 is a power supply, 16 is an inverter, 17 is a coil of an alarm relay, 18 is a contact of the alarm relay, and 19 is a diode.

この構成においては、CPUIが正常動作時、ロジック
回路11が上記2つの制御信号周期の組合せで定まるあ
る周期でパルスPの発生期間中に再トリガ信号Tを発生
するようにパルス発生回路12の定数が設定される。こ
の再トリガ信号γがパルス発生回路12のパルス発生期
間内に発生すると、該パルス発生回路12は再トリガさ
れるので、これが出力するパルスPのパルス中は延長さ
れることになり、インバータ16の出力は常時θレベル
となって、リレーのコイル17は付勢されず、接点18
は閉路しないので警報は発生しない。、しかし、CF’
UIが故障し制御信号が喪失すると、パルス発生回路1
2がパルスPの送出を停止するのモ、インパーク16の
出力はルベルとなり、リレーのコイル17が付勢される
ので、接点18が閉路し該接点出力により警報器8が作
動する。
In this configuration, the constant of the pulse generation circuit 12 is set so that the logic circuit 11 generates the re-trigger signal T during the generation period of the pulse P with a certain period determined by the combination of the above two control signal periods when the CPUI is in normal operation. is set. When this retrigger signal γ is generated within the pulse generation period of the pulse generation circuit 12, the pulse generation circuit 12 is retriggered, so that the duration of the pulse P that it outputs is extended, and the inverter 16 The output is always at the θ level, the relay coil 17 is not energized, and the contact 18
Since the circuit does not close, no alarm is generated. , but CF'
If the UI fails and the control signal is lost, the pulse generation circuit 1
2 stops sending out the pulse P, the output of the impark 16 becomes a level, and the coil 17 of the relay is energized, so the contact 18 is closed and the alarm 8 is activated by the contact output.

上記実施例では、c p u、の異常を検出する場合に
ついて説明したが、この発明はCPUの周辺装置の故障
等の検出にも利用することができることは明らかである
In the above embodiment, a case has been described in which an abnormality in a CPU is detected, but it is clear that the present invention can also be used to detect a failure in a peripheral device of a CPU.

上記実施例では、警報回路20から警報信号として接点
信号を発生させる構成となってい条が、TTLやDTL
等を用いそのロジック信号を警報信号として利用するこ
とも可能で、この警報信号をCPUIの異常処理の為の
割り込み信号に利用することができる他、CF’UIの
リセット信号、電源停止信号等として利用しても良い。
In the above embodiment, the alarm circuit 20 is configured to generate a contact signal as an alarm signal.
It is also possible to use the logic signal as an alarm signal, and this alarm signal can be used as an interrupt signal for CPU error processing, as well as as a CF'UI reset signal, power stop signal, etc. You may use it.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明した通り、CPUが出力する制御信
号レベルの周期変化の喪失をロジックで判定して異常を
検出する構成としたことにより、ハードだけで簡単に構
成し得る利点がある。
As described above, the present invention has the advantage that it can be easily configured using only hardware because it uses logic to determine the loss of periodic changes in the level of the control signal output by the CPU to detect an abnormality.

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

第1図は従来の異常検出装置のブロック図、第2図は上
記従来の装置の動作説明図、第3図は上記従来の装置の
プログラムのフローチャート、第4図はこの発明の実施
例を示すブロック図、第5図 は上記実施例の具体的回
路図である。 図において、8−警報器、10−・−判定回路、11−
・・ロジック回路、12−パルス発生回路、20−・−
警報回路。 なお、図中、同一符号は同一または相当部分を示す。 第1図 7a、7C1,1111111111,1111111
111111111第3図 第4図 第5図 −触1
FIG. 1 is a block diagram of a conventional abnormality detection device, FIG. 2 is an explanatory diagram of the operation of the conventional device, FIG. 3 is a flowchart of the program of the conventional device, and FIG. 4 shows an embodiment of the present invention. The block diagram, FIG. 5, is a specific circuit diagram of the above embodiment. In the figure, 8-alarm device, 10--judgment circuit, 11-
・・Logic circuit, 12-pulse generation circuit, 20-・-
Alarm circuit. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Figure 1 7a, 7C1, 1111111111, 1111111
111111111Figure 3Figure 4Figure 5 - Touch 1

Claims (1)

【特許請求の範囲】[Claims]  中央情報処理装置が出力する制御信号のうちのレベル
が一定周期で変化する1もしくは複数の制御信号が導か
れこのレベル変化の喪失を検出する判定回路を設け、該
判定回路の上記レベル変化喪失時の出力により警報器を
駆動することを特徴とする異常検出装置。
One or more control signals whose level changes at a constant period among the control signals outputted by the central information processing unit are provided, and a determination circuit is provided to detect loss of the level change, and when the level change of the determination circuit is lost, An abnormality detection device characterized in that an alarm is driven by the output of.
JP59134581A 1984-06-27 1984-06-27 Abnormality detector Pending JPS6111858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59134581A JPS6111858A (en) 1984-06-27 1984-06-27 Abnormality detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59134581A JPS6111858A (en) 1984-06-27 1984-06-27 Abnormality detector

Publications (1)

Publication Number Publication Date
JPS6111858A true JPS6111858A (en) 1986-01-20

Family

ID=15131706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59134581A Pending JPS6111858A (en) 1984-06-27 1984-06-27 Abnormality detector

Country Status (1)

Country Link
JP (1) JPS6111858A (en)

Similar Documents

Publication Publication Date Title
US4627060A (en) Watchdog timer
US5491787A (en) Fault tolerant digital computer system having two processors which periodically alternate as master and slave
JPH09282024A (en) Monitoring device for electronic control unit
JPS6111858A (en) Abnormality detector
JPH11259340A (en) Reactivation control circuit for computer
JPS6111859A (en) Abnormality detector
JPS6113250B2 (en)
JPS60100235A (en) Self-diagnosing circuit
JPH0426914Y2 (en)
JP2592525B2 (en) Error detection circuit of common bus system
JPS61165143A (en) Malfunction preventing system of cpu
JPS62127918A (en) Logic circuit
JPH03292258A (en) Time element relay
JPS5983201A (en) Processing system of momentary break
JP2731386B2 (en) Control device
JPH0520129A (en) Microprocessor monitoring system
JPS624746B2 (en)
JPS6359167B2 (en)
JPS6295646A (en) Microprogram controller with run monitoring function
JPS5827559B2 (en) Ijiyou Kanshi Cairo
JPH09212201A (en) Control circuit for production facility
JPS59123949A (en) Processing system in error occurrence
JPS6111877A (en) Multiprocessor system
JPS6128146B2 (en)
JPH07110019B2 (en) External input noise signal detector