JPH06332735A - Abnormality detecting circuit for microcomputer system - Google Patents

Abnormality detecting circuit for microcomputer system

Info

Publication number
JPH06332735A
JPH06332735A JP5122832A JP12283293A JPH06332735A JP H06332735 A JPH06332735 A JP H06332735A JP 5122832 A JP5122832 A JP 5122832A JP 12283293 A JP12283293 A JP 12283293A JP H06332735 A JPH06332735 A JP H06332735A
Authority
JP
Japan
Prior art keywords
abnormality
time
cpu
memory
section
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
JP5122832A
Other languages
Japanese (ja)
Other versions
JP3281113B2 (en
Inventor
Shinji Komata
晋司 小俣
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.)
Marelli Corp
Original Assignee
Kansei 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 Kansei Corp filed Critical Kansei Corp
Priority to JP12283293A priority Critical patent/JP3281113B2/en
Publication of JPH06332735A publication Critical patent/JPH06332735A/en
Application granted granted Critical
Publication of JP3281113B2 publication Critical patent/JP3281113B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable a microcomputer system to operate in a normal state after a temporary fault is restored by supplying an abnormality signal to a watch dog timer at the time of the abnormality detection of a memory, and repeatedly resetting a CPU. CONSTITUTION:A CPU 3' operates the abnormality check of a ROM 5 in a time T1 section after an ignition switch 2 is turned on, and operates the abnormality check of a RAM 4 in a following time T2 section. At the time of judging the presence of the abnormality as the result of the abnormality check, a watch dog timer 8' outputs a reset signal, and initializes the CPU 3'. Then, the CPU 3' operates the abnormality check similar to the previous time in a time T3 section following the time T2 section, and in a time T4 section following the time T3 section. Thus, at the time of the temporary abnormality which can be restored, a normal state can be automatically recovered while the ignition switch is turned on as it is, so that reliability on the system can be improved.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、自動車等に搭載され
る各種電装システムにおけるマイコンシステムの異常検
出回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormality detecting circuit for a microcomputer system in various electric equipment systems mounted on an automobile or the like.

【0002】[0002]

【従来の技術】この種のマイコンシステムの異常検出回
路を図3に示して説明する。図3において、バッテリ1
からの電力はイグニッションスイッチ2を介して、CP
U3とRAM(書き込み・読み込み兼用メモリ)4とR
OM(読み込み専用メモリ)5とから成るマイクロコン
ピュータ6及び前記CPU3の暴走を検出してリセット
するウオッチドックタイマ7に供給されている。
2. Description of the Related Art An abnormality detection circuit of this type of microcomputer system will be described with reference to FIG. In FIG. 3, the battery 1
Power from the CP via the ignition switch 2
U3 and RAM (write / read memory) 4 and R
It is supplied to a microcomputer 6 including an OM (read only memory) 5 and a watchdog timer 7 which detects and resets the runaway of the CPU 3.

【0003】電力が供給されたCPU3は、電力が供給
された初期時に信号ラインAを介してROM5のメモリ
異常を検出し、さらに信号ラインBを介してRAM4の
メモリ異常を検出し、少なくてもそれらの一方に異常が
あった場合には、CPU3はアクチュエータ(図示せ
ず)に対する制御信号の供給を停止する。また、異常が
ない場合には、アクチュエータに対して内蔵プログラム
に従って作成された各種制御信号を供給する。
The CPU 3 to which power is supplied detects the memory abnormality of the ROM 5 via the signal line A at the initial stage of the power supply, and further detects the memory abnormality of the RAM 4 via the signal line B. When there is an abnormality in one of them, the CPU 3 stops the supply of the control signal to the actuator (not shown). When there is no abnormality, various control signals created according to the built-in program are supplied to the actuator.

【0004】また一方、CPU3は正常な作動をしてい
る間は常に信号ラインDを介してウオッチドックタイマ
7に所定周波数のパルスを供給しているが、プログラム
暴走を開始した場合には、そのパルスは切り換えられ
て、例えばハイレベル状態にラッチされることによりウ
オッチドックタイマ7がそれを検出し、信号ラインCを
介してCPU3に対してリセット信号を供給する。それ
によって、CPU3は再度初期状態からプログラムの実
行を開始する。
On the other hand, the CPU 3 constantly supplies a pulse of a predetermined frequency to the watchdog timer 7 through the signal line D during normal operation, but when the program runaway starts, The pulse is switched, and the watchdog timer 7 detects it by being latched in a high level state, for example, and supplies a reset signal to the CPU 3 via the signal line C. As a result, the CPU 3 starts executing the program again from the initial state.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来のマイコンシステムの異常検出回路にあっては、
マイクロコンピュータは書き込み・読み込み兼用メモリ
及び読み込み専用メモリの故障チェックを1回行い、そ
の結果が異常である場合にはアクチュエータ等の制御対
象に対して制御信号の出力を停止していたために、例え
ば一時的に何らかの異常状態に陥り、自然に回復して正
常動作可能な状態になった場合であっても再度電源が投
入されるまではマイコンシステムは作動されないという
問題点があった。
However, in the above-mentioned conventional abnormality detection circuit of the microcomputer system,
The microcomputer checks the writing / reading memory and the reading-only memory once, and if the result is abnormal, it stops the output of the control signal to the control target such as the actuator. However, there is a problem that the microcomputer system does not operate until the power is turned on again even when the power supply is turned on again even when the power supply is turned on again even when the power supply is turned on again in some abnormal state and naturally recovers.

【0006】そこで、この発明は、上記のような問題点
に着目してなされたもので、書き込み・読み込み兼用メ
モリ及び読み込み専用メモリの故障チェックを何度とな
く行う構成とすることを目的とする。
Therefore, the present invention has been made in view of the above problems, and it is an object of the present invention to provide a configuration in which a failure check of a write / read combined memory and a read only memory is performed repeatedly. .

【0007】[0007]

【課題を解決するための手段】この発明にかかるマイコ
ンシステムの異常検出回路は、書き込み・読み込み兼用
メモリと、読み込み専用メモリと、初期状態において前
記書き込み・読み込み兼用メモリ及び読み込み専用メモ
リの異常チェックを行うマイクロコンピュータと、マイ
クロコンピュータの暴走を検出してリセット信号を供給
するウオッチドックタイマとを備えたマイコンシステム
の異常検出回路において、前記CPU3は、前記書き込
み・読み込み兼用メモリ及び読み込み専用メモリの異常
検出時に前記ウオッチドックタイマに対して異常信号を
供給して前記CPUを繰り返しリセットするものであ
る。
An abnormality detection circuit of a microcomputer system according to the present invention includes a writing / reading memory, a reading only memory, and an abnormality check of the writing / reading memory and the reading only memory in an initial state. In an abnormality detection circuit of a microcomputer system including a microcomputer for performing and a watchdog timer for detecting a runaway of the microcomputer and supplying a reset signal, the CPU 3 detects an abnormality in the writing / reading memory and the read-only memory. At times, an abnormal signal is supplied to the watchdog timer to repeatedly reset the CPU.

【0008】[0008]

【作用】この発明によれば、CPUは、書き込み・読み
込み兼用メモリ及び読み込み専用メモリのいずれかに異
常が検出されたときには、それが正常と判断されるまで
繰り返し異常チェックを実行するので、一時的に異常状
態に陥り、正常状態に回復した場合には正常状態に回復
し次第にマイコンシステムが正常状態で作動をするよう
になる。
According to the present invention, when an abnormality is detected in either the write / read combined memory or the read-only memory, the CPU repeatedly executes the abnormality check until it is determined to be normal, so that the temporary When an abnormal state occurs and the normal state is restored, the microcomputer system starts operating in the normal state as soon as the normal state is restored.

【0009】[0009]

【実施例】以下、この発明による実施例を図1及び図2
に基づいて説明する。なお、図1において、図3に示す
従来例の構成と同一のもの、または均等なものには同一
符号を付してその詳細説明は省略し、異なる部分につい
てのみ説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment according to the present invention will be described below with reference to FIGS.
It will be described based on. In FIG. 1, the same or equivalent components as those of the conventional example shown in FIG. 3 are designated by the same reference numerals, detailed description thereof will be omitted, and only different portions will be described.

【0010】図1において、CPU3’は、上記従来例
で説明したCPU3と次の点で異なる。すなわち、従来
のCPU3’は、書き込み・読み込み兼用メモリ4及び
読み込み専用メモリ5の異常チェックを1回行った後、
異常と判断した場合にはアクチュエータに対して制御信
号を出力しなかったが、図1におけるCPU3’は、例
えばイグニションスイッチ2がオンされた後の時刻T1
区間(図2参照)においてはROM(読み込み専用メモ
リ)5の異常チェックを行い、その間CPU3’はウオ
ッチドックタイマ8’に対して図2の時刻T1区間に示
す所定周波数のパルス信号を出力し、また続く時刻T2
区間の間はRAM(読み込み・書き込み兼用メモリ)4
の異常チェックを行い、その間は前回と異なる周波数の
パルス信号(図2参照)を出力し、双方の異常チェック
の結果”異常なし”と判断した場合には、CPU3’は
制御信号を作成するための信号処理工程に入る。またこ
の場合、ウオッチドックタイマ8’はCPU3’に対し
てリセット信号は出力しないが、”異常あり”と判断し
た場合にはリセット信号を出力し、CPU3’を初期設
定する。その結果、CPU3’は再度時刻T2区間に続
く時刻T3区間及びそれに続く時刻T4区間において前
回と同様の異常チェックを行う。
In FIG. 1, a CPU 3'is different from the CPU 3 described in the above conventional example in the following points. That is, the conventional CPU 3 ′ performs an abnormality check of the writing / reading memory 4 and the read-only memory 5 once,
When it is determined that there is an abnormality, the control signal is not output to the actuator, but the CPU 3 ′ in FIG. 1 does not operate at time T1 after the ignition switch 2 is turned on, for example.
In the section (see FIG. 2), the ROM (read-only memory) 5 is checked for abnormalities, during which the CPU 3 ′ outputs a pulse signal of a predetermined frequency shown in the time T1 section of FIG. 2 to the watchdog timer 8 ′, Time T2 which continues again
RAM (read / write memory) between sections 4
Error check is performed, a pulse signal of a frequency different from the previous time is output during that time (see FIG. 2), and if the result of both error checks is "no abnormality", the CPU 3'creates a control signal. Signal processing step. Further, in this case, the watchdog timer 8'does not output a reset signal to the CPU 3 ', but when it judges that there is an abnormality, it outputs a reset signal to initialize the CPU 3'. As a result, the CPU 3'again performs the abnormality check similar to the previous time in the section of time T3 following the section of time T2 and the section of time T4 following it.

【0011】この繰り返し動作は、異常チェックの結果
が”異常なし”となるまで何回となく行われる。そし
て”異常なし”と判断された場合には、アクチュエータ
に対して各種制御信号が作成され、出力される。
This repetitive operation is repeatedly performed until the result of the abnormality check is "no abnormality". When it is determined that there is no abnormality, various control signals are created and output to the actuator.

【0012】[0012]

【発明の効果】以上説明したように、この発明よれば回
復可能な一時的な異常時にはイグニションスイッチがオ
ンされたままでも自動的に正常状態に復帰するので、シ
ステムに対する信頼性が高められるという効果が発揮さ
れる。
As described above, according to the present invention, in the case of a recoverable temporary abnormality, the system automatically returns to the normal state even when the ignition switch is on, so that the reliability of the system is improved. Is demonstrated.

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

【図1】この発明によるマイコンシステムの異常検出回
路の実施例を示す回路構成ブロック図である。
FIG. 1 is a circuit configuration block diagram showing an embodiment of an abnormality detection circuit of a microcomputer system according to the present invention.

【図2】図1の要部の作動説明図である。FIG. 2 is an operation explanatory view of a main part of FIG.

【図3】従来回路の回路構成ブロック図である。FIG. 3 is a circuit configuration block diagram of a conventional circuit.

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

1 バッテリ 2 イグニションスイッチ 3、3’ CPU 4 書き込み・読み込み兼用メモリ 5 読み込み専用メモリ 6 マイクロコンピュータ 1 Battery 2 Ignition Switch 3, 3'CPU 4 Write / Read Memory 5 Read Only Memory 6 Microcomputer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 書き込み・読み込み兼用メモリ(4)
と、読み込み専用メモリ(5)と、初期状態において前
記書き込み・読み込み兼用メモリ(4)及び読み込み専
用メモリ(5)の異常チェックを行うマイクロコンピュ
ータ(3)と、マイクロコンピュータ(3)の暴走を検
出してリセット信号を供給するウオッチドックタイマと
を備えたマイコンシステムの異常検出回路において、前
記マイクロコンピュータ(3)は、前記書き込み・読み
込み兼用メモリ(4)及び読み込み専用メモリ(5)の
異常検出時に前記ウオッチドックタイマに対して異常信
号を供給して前記マイクロコンピュータ(3)を繰り返
しリセットすることを特徴とするマイコンシステムの異
常検出回路。
1. A writing / reading memory (4)
And a read-only memory (5), a microcomputer (3) for checking the write / read combined memory (4) and the read-only memory (5) in an initial state, and a runaway of the microcomputer (3) is detected. In the abnormality detection circuit of the microcomputer system including a watchdog timer that supplies a reset signal, the microcomputer (3) detects the abnormality of the writing / reading memory (4) and the read-only memory (5). An abnormality detection circuit for a microcomputer system, characterized in that an abnormality signal is supplied to the watchdog timer to repeatedly reset the microcomputer (3).
JP12283293A 1993-05-25 1993-05-25 Abnormality detection circuit of microcomputer system Expired - Fee Related JP3281113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12283293A JP3281113B2 (en) 1993-05-25 1993-05-25 Abnormality detection circuit of microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12283293A JP3281113B2 (en) 1993-05-25 1993-05-25 Abnormality detection circuit of microcomputer system

Publications (2)

Publication Number Publication Date
JPH06332735A true JPH06332735A (en) 1994-12-02
JP3281113B2 JP3281113B2 (en) 2002-05-13

Family

ID=14845748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12283293A Expired - Fee Related JP3281113B2 (en) 1993-05-25 1993-05-25 Abnormality detection circuit of microcomputer system

Country Status (1)

Country Link
JP (1) JP3281113B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100507064B1 (en) * 2002-04-26 2005-08-08 현대자동차주식회사 Method for data frame checking when engine start in vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100507064B1 (en) * 2002-04-26 2005-08-08 현대자동차주식회사 Method for data frame checking when engine start in vehicle

Also Published As

Publication number Publication date
JP3281113B2 (en) 2002-05-13

Similar Documents

Publication Publication Date Title
JPS61500570A (en) Method for monitoring electronic computing modules such as microprocessors
JP2000102163A (en) Method and device for monitoring voltage feed of automobile-controlling device
JPH06332735A (en) Abnormality detecting circuit for microcomputer system
JP2007233573A (en) Electronic controller
JPS6289153A (en) Storage device
JP2000035923A (en) Abnormality detecting method and abnormality detecting device
JP2508305B2 (en) Initial value determination device
JP3298989B2 (en) Failure detection / automatic embedded device
JPS6339013A (en) Electronic computer
JP2782784B2 (en) Microcomputer control device
JPH02135589A (en) Ic card system
US6959402B1 (en) Computer device with a safety function
JP2954040B2 (en) Interrupt monitoring device
JPH04175838A (en) Dumping system at the time of autorebooting
JPH06103098A (en) Information processor
JPH0880810A (en) Power cut-off detecting device in equipment with security mechanism
KR100264554B1 (en) Abnormal state detecting system and method thereof for ecu memory power
JPH05297901A (en) Process controller
JPH08204364A (en) Controller having function for monitoring mounting-change of package
JPH08161203A (en) Fault diagnostic system for ic for watchdog
JPS61160106A (en) Sequence control device
JPS6226740B2 (en)
JPH0789330B2 (en) Computer
JPH0414374B2 (en)
JPH06259338A (en) Saving and restoring system for storage contents

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 7

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: 20090222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120222

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees