JP2000035923A - Abnormality detecting method and abnormality detecting device - Google Patents

Abnormality detecting method and abnormality detecting device

Info

Publication number
JP2000035923A
JP2000035923A JP20364098A JP20364098A JP2000035923A JP 2000035923 A JP2000035923 A JP 2000035923A JP 20364098 A JP20364098 A JP 20364098A JP 20364098 A JP20364098 A JP 20364098A JP 2000035923 A JP2000035923 A JP 2000035923A
Authority
JP
Japan
Prior art keywords
abnormality detection
data
writing
control data
eeprom
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
JP20364098A
Other languages
Japanese (ja)
Other versions
JP4041216B2 (en
Inventor
Nobuyuki Nishiwaki
伸幸 西脇
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 JP20364098A priority Critical patent/JP4041216B2/en
Publication of JP2000035923A publication Critical patent/JP2000035923A/en
Application granted granted Critical
Publication of JP4041216B2 publication Critical patent/JP4041216B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To avoid the wrong decision of abnormality detection for a nonvolatile memory such as an EEPROM by detecting and storing write interruption to a storing means due to the drop of power supply voltage and prohibiting the abnormality detection of the storing means at the time of detecting the storage of the writing interruption. SOLUTION: When an ignition switch IGS is switched from an on state to an off state, prescribed data stored in a RAM 3 are stored in a 1st data area A of an EEPROM 6 and data of the same content are stored in a 2nd data area B. Only when a writing operation in two areas of the prescribed areas A and B is completed, a write completion flag '1' is written in a prescribed area of a standby RAM 5. Then, the non-completion of the writing operation due to power cutout, etc., (the data of the two areas of the areas A and B are not the same contents can be identified with a flag and erroneous decision produced by writing interruption due to power cutout or short break can be avoided.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記憶手段の異常を
検出する方法および装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a method and an apparatus for detecting an abnormality in a storage means.

【0002】[0002]

【従来の技術】車載の自動制御装置において用いられる
マイクロコンピュータ制御装置(電子制御装置)では、
電源がオフして機器が停止した時点等に、その時点の車
両の状況を表すデータ、センサからの入力データ、制御
データ等を不揮発性メモリであるEEPROMに記憶
し、機器が停止した時点の状況を保存し、データの利用
に備えている。このEEPROMの記憶が不正確である
と、機器の動作を再開する時点で不都合であるため、例
えば特開平8─95868に開示された、複数のバック
アップデータを記憶し、次に同一のデータである筈の複
数のバックアップデータを照合して異常を判定する方法
など、EEPROM素子の異常検出方法が提案されてい
る。従来の故障診断の基本的方法を、次に説明する。ま
ず図4のEEPROMデータ書込み時の動作に示したよ
うに、電源(イグニッションスイッチIGSW)がオフ
した時点で、マイクロコンピュータはRAMに記憶され
ている現時点の所定の情報をEEPROMデータ領域A
に書き込み、続いて同じ情報をEEPROMデータ領域
Bに書き込む。次にEEPROMに記憶されたデータが
読み出される機器の動作再開始時点では、図5のEEP
ROMデータ読出し時の処理に示したように、電子制御
装置が起動して、EEPROMデータを読み出すと、電
子制御装置はデータ領域Aに記憶されている情報とデー
タ領域Bに記憶されている情報とが同一であるか整合性
を確認し、整合していないと判断するとEEPROM素
子に異常ありと信号出力し、整合していればEEPRO
M素子は正常であると信号出力するようにしている。
2. Description of the Related Art A microcomputer control device (electronic control device) used in a vehicle-mounted automatic control device includes:
When the power is turned off and the device is stopped, data representing the situation of the vehicle at that time, input data from the sensor, control data, etc. are stored in an EEPROM, which is a non-volatile memory, and the status at the time when the device is stopped Save and prepare for data use. If the storage of the EEPROM is inaccurate, it is inconvenient when the operation of the device is restarted. For example, a plurality of backup data disclosed in JP-A-8-95868 is stored, and then the same data is stored. An abnormality detection method for an EEPROM element has been proposed, such as a method of comparing a plurality of expected backup data to determine an abnormality. Next, a basic method of the conventional failure diagnosis will be described. First, as shown in the operation at the time of writing the EEPROM data in FIG. 4, when the power supply (ignition switch IGSW) is turned off, the microcomputer stores predetermined information at the present time stored in the RAM in the EEPROM data area A.
Then, the same information is written to the EEPROM data area B. Next, when the operation of the device from which the data stored in the EEPROM is read is restarted, the EEPROM shown in FIG.
As shown in the process at the time of reading the ROM data, when the electronic control device is started and the EEPROM data is read, the electronic control device reads the information stored in the data area A and the information stored in the data area B. Is checked to see if they are the same, and if it is determined that they are not matched, a signal is output indicating that the EEPROM element is abnormal.
The M element outputs a signal when it is normal.

【0003】[0003]

【発明が解決しようとする課題】車載の自動制御装置に
おいて用いられるマイクロコンピュータ制御装置(電子
制御装置)は、走行、操作の確実性を期するため、その
電子制御装置が正常な作動を行っていることを所定のタ
イミングで確認する必要があり、その制御装置の特性に
特有の項目の故障診断が行われている。動作中の故障も
電子制御装置は自己点検できるようになっており、故障
診断によって特定された異常や故障の状況は自動的に、
或いは使用者の操作に応じて表示されるのが通常であ
る。そして、異常が発見されると故障した装置の多く
は、サービス工場等で交換修理される。前述の電子制御
装置に搭載されたEEPROM素子の異常を判断する故
障診断も、これらの故障診断のうちの一つで、EEPR
OM素子が異常と判断されると搭載された電子制御装置
ごと交換修理されている。
A microcomputer control device (electronic control device) used in an on-vehicle automatic control device performs a normal operation of the electronic control device in order to ensure the running and operation reliability. Must be confirmed at a predetermined timing, and a failure diagnosis of an item specific to the characteristics of the control device is performed. The electronic control unit is also capable of self-checking for failures during operation, and the abnormalities and failure status identified by the failure diagnosis are automatically
Or, it is usually displayed according to the operation of the user. When an abnormality is found, many of the failed devices are replaced and repaired at a service factory or the like. The failure diagnosis for judging the abnormality of the EEPROM element mounted on the electronic control unit is one of these failure diagnoses.
If it is determined that the OM element is abnormal, the mounted electronic control unit is replaced and repaired.

【0004】ところで、従来故障診断でEEPROM素
子が異常と判定された電子制御装置の中には、EEPR
OM素子の異常判断の誤りで修理交換される場合が含ま
れていた。これは、サービス工場等で交換修理したEE
PROM素子不良品を、精密試験した結果分かってきた
もので、誤検出のため無用な修理費用が発生しており問
題である。ところが、こうした異常判断の誤りは、図4
を用いて前述したEEPROMデータ領域A、Bへの書
き込み中に、電子制御装置の電源が瞬断(電圧が瞬間的
に低下)し、以後の書き込みが継続できなくなったため
に生じたものであることが明らかになってきた。
[0004] Some of the electronic control units in which the EEPROM element has been determined to be abnormal in the conventional failure diagnosis include an EEPROM.
This included a case where the OM element was repaired and replaced due to an erroneous determination of an abnormality. This is an EE that was replaced and repaired at a service factory, etc.
This is a problem that a PROM element defective product has been found as a result of a precision test, and unnecessary repair costs have been incurred due to erroneous detection. However, such an error in the determination of the abnormality is shown in FIG.
During writing to the EEPROM data areas A and B described above, the power supply of the electronic control unit is momentarily interrupted (voltage drops momentarily), and subsequent writing cannot be continued. Has become apparent.

【0005】本発明は、EEPROM等の不揮発性メモ
リに対する異常検出の誤判断を回避することを目的とす
る。
An object of the present invention is to avoid erroneous determination of abnormality detection for a nonvolatile memory such as an EEPROM.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、車両機器の状態に応じた制御データを、車両機器が
所定の状態となるとスタンバイRAM、EEPROM等
の記憶手段に記憶し、記憶された該データと複写記憶さ
れた第2の該記憶データとを比較し、該両記憶データの
一致、不一致に基づいて該記憶手段の異常を検知するE
EPROM異常検出装置において、電源電圧の低下によ
る前記記憶手段への書き込み中断を検出する書き込み中
断検出手段と、前記書き込み中断検出手段が中断を検出
すると前記スタンバイRAMに書き込み中断を記憶する
中断記憶手段と、前記中断記憶手段の中断記憶を検出す
ると前記記憶手段の異常検知を禁止する異常検知禁止手
段とを備えたことを特徴とする。
In order to achieve the above object, control data according to the state of the vehicle equipment is stored in storage means such as a standby RAM and an EEPROM when the vehicle equipment enters a predetermined state. Comparing the stored data with the copied and stored second stored data, and detecting an abnormality in the storage means based on a match or mismatch between the two stored data.
In the EPROM abnormality detecting device, write interruption detecting means for detecting interruption of writing to the storage means due to a drop in power supply voltage, and interruption storage means for storing the interruption of writing in the standby RAM when the writing interruption detection means detects interruption. An abnormality detection prohibition unit for prohibiting the abnormality detection of the storage unit when the interruption storage of the interruption storage unit is detected.

【0007】[0007]

【実施例】次に、本発明の一実施例である電子制御装置
を説明する。図1は、本発明の一実施例における電子制
御装置の構成を示す構成図である。車両または車載機器
の制御を行うための電子制御装置1は、演算制御を実行
するCPU2、演算中に用いられ、動作電源が供給され
ている間のみ機能する揮発性メモリであるRAM(Ra
ndom Access Memory)3、定数やプ
ログラム等を記憶した不揮発性メモリであるROM(R
ead OnlyMemory)4等からなるマイクロ
コンピュータ(マイコン)およびバックアップ電源(接
続電池)によってスタンバイ記憶が保持されるスタンバ
イRAM5、異常検出の対象となる記憶手段であって、
バックアップ電源なしで記憶が保持可能な、書換え可能
な不揮発性メモリであるEEPROM(Electri
cally Erasable and Progra
mmable ROM)6により構成される。温度、圧
力、その他各種のセンサ7からの信号、および、車載機
器の操作のため使用者が操作盤8から設定する制御のた
めの信号が入力され、電子制御装置1はこれらの入力信
号に応じた処理を行って、モータ、制御弁等の各種アク
チュエータ8へ制御信号を出力し、車両または車載機器
を制御する。
Next, an electronic control unit according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram illustrating a configuration of an electronic control device according to an embodiment of the present invention. An electronic control unit 1 for controlling a vehicle or an on-vehicle device includes a CPU 2 for executing arithmetic control, a RAM (Ra) which is a volatile memory used during arithmetic operation and functions only while operating power is supplied.
ROM (R), which is a non-volatile memory storing constants, programs, and the like.
a standby RAM 5 in which standby memory is held by a microcomputer (microcomputer) including a backup memory (connected battery), and storage means to be subjected to abnormality detection.
An EEPROM (Electric), which is a rewritable non-volatile memory capable of holding data without a backup power supply
cally Erasable and Program
mmable ROM) 6. Signals from the temperature, pressure, and other various sensors 7 and signals for control set by the user from the operation panel 8 for operating the in-vehicle equipment are input, and the electronic control unit 1 responds to these input signals. Then, control signals are output to various actuators 8 such as motors and control valves to control the vehicle or the on-vehicle equipment.

【0008】電子制御装置1は、電源である車両の電池
BTに接続され、イグニッションスイッチIGSWのオ
ンオフを、接続Sの入力電圧のH(高)、L(低)に応
じて検知する。また、操作盤8の信号等を判断して接続
Cから制御信号を出力し、電源スイッチPSWをオンオ
フし、接続Pからの動作電源を入切する。制御中の機器
の状態を表すデータのうち所定のデータは、電子制御装
置1の動作再開時等に必要なので、所定の制御タイミン
グ或いは電子制御装置1の動作停止前に不揮発性メモリ
であるEEPROM6及びスタンバイRAM5へ書込ま
れ退避される(同じデータがEEPROM6及びスタン
バイRAM5にそれぞれ書込まれる)。なお、イグニッ
ションスイッチIGSWオフを検知すると、CPU2は
電子制御装置1の所定のデータのEEPROM6及びス
タンバイRAM5への退避を行うので、退避に必要な十
分な時間を遅延させて接続Cから制御信号を出力し、電
源スイッチPSWをオフさせる。また、接続Bより常時
バックアップ電源を入力し、接続Pからの動作電源がオ
フした状態でも、スタンバイ記憶であるスタンバイRA
M5、CPU2への電力供給が維持される。なお、車両
の電池BTが交換等のための取り外され、接点Tの電位
がなくなると、スタンバイ記憶であるスタンバイRAM
5の記憶は失われる。
The electronic control unit 1 is connected to a battery BT of a vehicle, which is a power supply, and detects ON / OFF of an ignition switch IGSW according to the input voltage H (high) and L (low) of the connection S. In addition, a signal from the operation panel 8 is determined, a control signal is output from the connection C, the power switch PSW is turned on / off, and the operation power supply from the connection P is turned on / off. Since the predetermined data among the data indicating the state of the device under control is necessary when the operation of the electronic control device 1 is restarted or the like, the EEPROM 6 which is a nonvolatile memory at a predetermined control timing or before the operation of the electronic control device 1 is stopped. The data is written to the standby RAM 5 and saved (the same data is written to the EEPROM 6 and the standby RAM 5, respectively). When the ignition switch IGSW is detected to be off, the CPU 2 saves predetermined data of the electronic control unit 1 to the EEPROM 6 and the standby RAM 5, and outputs a control signal from the connection C after delaying a sufficient time necessary for the saving. Then, the power switch PSW is turned off. Further, even when the backup power is always input from the connection B and the operation power from the connection P is turned off, the standby RA as the standby memory is stored.
M5, power supply to the CPU 2 is maintained. When the battery BT of the vehicle is removed for replacement or the like, and the potential of the contact T is lost, the standby RAM which is a standby memory is stored.
The memory of 5 is lost.

【0009】次に、記憶手段の異常を検知するEEPR
OM異常検出について、電子制御装置1の行う処理を説
明する。図2は、本発明の一実施例の電子制御装置1の
行うEEPROM6へのデータ書込み時の処理を示すフ
ローチャートである。この処理は、自動車のイグニッシ
ョンスイッチIGSWがオンの状態で、電子制御装置1
の他の制御処理と共に繰り返し行われる。ステップa1
では、イグニッションスイッチIGSWがオフの状態か
を判断し、オフ(オンの状態からオフの状態に切り替わ
った段階)であればステップa2に移り、オフでなけれ
ば本処理を終わる。ステップa2では、EEPROM6
の第1のデータ領域Aに、RAM3に記憶されている所
定のデータを記憶し、ステップa3に移る。ステップa
3では、EEPROM6の第2のデータ領域Bに、RA
M3から第1のデータ領域Aに記憶したと同一内容のデ
ータ(ミラーデータ)を記憶し、ステップa4に移る。
ステップa4では、EEPROM6書き込み完了フラグ
「1」をスタンバイRAM5の所定領域に記憶し、本処
理を終わる。
Next, an EEPROM for detecting an abnormality in the storage means.
The processing performed by the electronic control unit 1 for OM abnormality detection will be described. FIG. 2 is a flowchart showing a process at the time of writing data to the EEPROM 6 performed by the electronic control unit 1 according to one embodiment of the present invention. This processing is performed when the ignition switch IGSW of the vehicle is turned on and the electronic control unit 1 is turned on.
Is repeatedly performed together with the other control processing. Step a1
Then, it is determined whether or not the ignition switch IGSW is off. If the ignition switch IGSW is off (switched from the on state to the off state), the process proceeds to step a2. If not, the process ends. In step a2, the EEPROM 6
The predetermined data stored in the RAM 3 is stored in the first data area A, and the process proceeds to step a3. Step a
3, in the second data area B of the EEPROM 6, RA
From M3, data (mirror data) having the same contents as stored in the first data area A is stored, and the process proceeds to step a4.
In step a4, the EEPROM 6 write completion flag "1" is stored in a predetermined area of the standby RAM 5, and the process ends.

【0010】このようにして、同一の内容を示すデータ
がEEPROM6の所定の領域A、Bの2領域に書き込
まれることになる。また、所定の領域A、Bの2領域へ
の書き込み動作が完了した場合に限り、書き込み完了フ
ラグ「1」をスタンバイRAM5の所定領域に書き込む
ので、電源遮断等により書き込み動作が未完了(領域
A、Bの2領域のデータは同一の内容とはならない)を
フラグで識別することが可能となる。
In this manner, data indicating the same contents is written to two areas A and B of the EEPROM 6. Further, the write completion flag “1” is written to the predetermined area of the standby RAM 5 only when the write operation to the two areas A and B is completed. Therefore, the write operation is not completed (area A , B do not have the same contents) with a flag.

【0011】図3は、本発明の一実施例の電子制御装置
1の行うEEPROM6のデータ読み出し時の処理を示
すフローチャートである。この処理は、電子制御装置1
の動作開始時(イグニッションスイッチのオン時)に行
われる。ステップb1では、EEPROM6のデータを
読み出しステップb2に移る。ステップb2では、EE
PROM6書き込み完了フラグ「1」がスタンバイRA
M5にあるか判断し、完了フラグ「1」があればステッ
プb3に移り、完了フラグ「1」がなければ(例えば完
了フラグ「0」等であれば)ステップb2乃至b5の異
常検出処理を行わないようにする。ステップb3では、
EEPROM6の第1のデータ領域Aのデータと、第2
のデータ領域Bのミラーデータとが整合(同一)し正当
性があるか否かを判断し、整合していなければステップ
b4に移り、整合していなければステップb5に移る。
ステップb4では、EEPROM6素子が異常(故障)
であるとの信号を発生し、本処理を終わる。ステップb
5では、EEPROM6素子が正常であるとの信号を発
生し、本処理を終わる。尚、本例の正当性の判断は、デ
ータとミラーデータとを加算して、その値が「FF」
(全てのビットが「1」)になることを正当として判断
するミラーチェックを採用している。
FIG. 3 is a flow chart showing a process at the time of reading data from the EEPROM 6 performed by the electronic control unit 1 according to one embodiment of the present invention. This processing is performed by the electronic control unit 1
At the start of the operation (when the ignition switch is turned on). In step b1, the data in the EEPROM 6 is read, and the process proceeds to step b2. In step b2, EE
PROM6 write completion flag "1" is set to standby RA
It is determined whether the flag is at M5, and if there is a completion flag "1", the process proceeds to step b3. Not to be. In step b3,
The data in the first data area A of the EEPROM 6 and the second data
It is determined whether the mirror data in the data area B is consistent (identical) and valid, and if not, the process proceeds to step b4, and if not, the process proceeds to step b5.
At step b4, the EEPROM 6 element is abnormal (failure)
Is generated, and this processing ends. Step b
In step 5, a signal indicating that the EEPROM 6 element is normal is generated, and the process ends. In this example, the validity is determined by adding the data and the mirror data and setting the value to “FF”.
(All bits are set to "1").

【0012】このようにして、EEPROM6書き込み
完了フラグ「1」がスタンバイRAM5にある場合に限
り、(同一の内容を示すデータがEEPROM6の所定
の領域A、Bの2領域に正常に書き込まれた筈なの
で)、EEPROM6の故障が診断され、同一の書き込
みデータが領域A、Bの2領域に存在すればEEPRO
M6素子は正常、異なる書き込みデータが領域A、Bの
2領域に存在すればEEPROM6素子は異常と報知さ
れる。EEPROM6素子が正常であれば、電子制御装
置1の動作開始は継続して行われ、EEPROM6素子
が異常であれば、故障が報知されて故障診断される。ま
た、EEPROM6書き込み完了フラグ「1」がスタン
バイRAM5にない場合には、EEPROM6異常検出
が禁止されるので、これまで課題であったEEPROM
6素子異常の誤検出を回避することができる。なお、バ
ックアップ電源がオフされた場合には、スタンバイRA
M5内のEEPROM6書き込み完了フラグ「1」は初
期化されるので、この場合も誤検出は生じないことにな
る。従って、EEPROM6素子異常の誤検出に基づ
く、無用な交換修理を避けることができる。また、スタ
ンバイRAM5のような電源供給されている揮発性メモ
リを用いて完了フラグを立てることにより、電源遮断ま
たは瞬断による書き込み中断を確実に検出できる。ま
た、データの正当性の判断はミラーチェックに限定され
ず、例えば上下限値チェックやサム値チェック等、その
他のチェック方法を採用するようにしてもよい。
In this way, only when the EEPROM 6 write completion flag "1" is present in the standby RAM 5, (data indicating the same contents should have been normally written to the two predetermined areas A and B of the EEPROM 6). Therefore, the failure of the EEPROM 6 is diagnosed, and if the same write data exists in the two areas A and B, the EEPROM
The M6 element is normal, and if different write data exists in two areas A and B, the EEPROM 6 element is notified as abnormal. If the EEPROM 6 element is normal, the operation of the electronic control unit 1 is continuously performed. If the EEPROM 6 element is abnormal, a failure is notified and a failure diagnosis is performed. If the EEPROM 6 write completion flag "1" is not present in the standby RAM 5, the abnormality detection of the EEPROM 6 is prohibited.
Erroneous detection of a six-element abnormality can be avoided. If the backup power supply is turned off, the standby RA
Since the EEPROM 6 write completion flag "1" in M5 is initialized, no erroneous detection occurs in this case as well. Therefore, unnecessary replacement and repair based on the erroneous detection of the EEPROM 6 element abnormality can be avoided. Also, by setting a completion flag using a volatile memory supplied with power such as the standby RAM 5, it is possible to reliably detect a write interruption due to power interruption or instantaneous interruption. Further, the determination of the validity of the data is not limited to the mirror check. For example, another check method such as an upper / lower limit value check or a sum value check may be adopted.

【0013】[0013]

【発明の効果】以上詳細に説明したように、本発明によ
れば、記憶手段の異常を検出する際に、電源遮断または
瞬断による書き込み中断により生じた誤判断を回避する
ことができる。
As described above in detail, according to the present invention, it is possible to avoid erroneous determination caused by interruption of writing due to power interruption or instantaneous interruption when detecting an abnormality in the storage means.

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

【図1】本発明の一実施例の制御部の構成を示す構成図
である。
FIG. 1 is a configuration diagram illustrating a configuration of a control unit according to an embodiment of the present invention.

【図2】EEPROM書込み時の処理を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a process at the time of writing to an EEPROM.

【図3】EEPROM読出し時の処理を示すフローチャ
ートである。
FIG. 3 is a flowchart showing a process at the time of reading an EEPROM.

【図4】従来のEEPROM書込み時の処理を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a conventional EEPROM writing process.

【図5】従来のEEPROM読出し時の処理を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing a conventional EEPROM reading process.

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

1 ・・・電子制御装置 2 ・・・CPU 3 ・・・RAM 4 ・・・ROM 5 ・・・スタンバイRAM 6 ・・・EEPROM BT・・・電池 IGSW・イグニッションスイッチ PSW・・電源スイッチ DESCRIPTION OF SYMBOLS 1 ... Electronic control device 2 ... CPU 3 ... RAM 4 ... ROM 5 ... Standby RAM 6 ... EEPROM BT ... Battery IGSW / ignition switch PSW / power switch

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 車両機器の状態に応じた制御データを、
車両機器が所定の状態となると記憶手段に書込んで退避
しておき前記車両機器が前記所定の状態から復帰する
と、前記記憶手段に書き込まれた該制御データを読み出
し、該制御データの正当性に基づいて該記憶手段の異常
を検出する異常検出処理を行う異常検出方法において、 前記制御データの書き込みの完了時に書き込み完了を示
すデータを前記記憶手段に記憶しておき、前記制御デー
タの読み出し時に前記書き込み完了を示すデータが存在
しない場合には前記異常検出処理を禁止する処理を行う
ことを特徴とする異常検出方法。
1. Control data according to a state of a vehicle device,
When the vehicle device is in a predetermined state, it is written to the storage means and evacuated, and when the vehicle device returns from the predetermined state, the control data written in the storage means is read, and the validity of the control data is determined. An abnormality detection method for performing an abnormality detection process for detecting an abnormality in the storage unit based on the data stored in the storage unit when the writing of the control data is completed; If there is no data indicating completion of writing, a process for inhibiting the abnormality detection process is performed.
【請求項2】 不揮発性メモリに対して前記異常検出処
理を行い、前記書き込み完了を示すデータを、前記車両
機器の所定の状態にかかわらず電源が供給された揮発性
メモリに記憶させておき、前記揮発性メモリに記憶され
るべき書き込み完了を示すデータの存在に基づいて前記
不揮発性メモリに対する異常検出処理を禁止する処理を
行うことを特徴とする請求項1記載の異常検出方法。
2. The abnormality detection processing is performed on a nonvolatile memory, and data indicating the completion of writing is stored in a volatile memory to which power is supplied regardless of a predetermined state of the vehicle device, 2. The abnormality detection method according to claim 1, wherein a process of prohibiting an abnormality detection process for the nonvolatile memory is performed based on the presence of data indicating write completion to be stored in the volatile memory.
【請求項3】 車両機器の状態に応じた制御データを記
憶する記憶手段と、前記車両機器が所定の状態となると
前記制御データを前記記憶手段に書込んで退避させる退
避手段と、 前記車両機器が前記所定の状態から復帰すると、前記記
憶手段に書き込まれた制御データを読み出し、該制御デ
ータの正当性に基づいて該記憶手段の異常を検出する異
常検出手段とを備えた異常検出装置において、 前記退避手段による前記制御データの書き込みが完了す
ると、該制御データの書き込み完了を示すデータを前記
記憶手段に記憶させておく書き込み完了セット手段と、 前記記憶手段に書き込まれた制御データの読み出し時
に、前記書き込み完了を示すデータが存在しない場合に
は、前記異常検出手段における前記異常検出処理を禁止
する禁止手段を備えたことを特徴とする異常検出装置。
3. A storage device for storing control data according to a state of a vehicle device, an evacuation device for writing the control data into the storage device and retreating when the vehicle device enters a predetermined state; When the device recovers from the predetermined state, the control data written in the storage device is read, and an abnormality detection device that detects an abnormality in the storage device based on the validity of the control data. When the writing of the control data by the evacuation unit is completed, a write completion setting unit that stores data indicating the completion of the writing of the control data in the storage unit, and when reading the control data written in the storage unit, If there is no data indicating the completion of the writing, a prohibition unit for prohibiting the abnormality detection processing in the abnormality detection unit is provided. An abnormality detection device characterized by the following.
【請求項4】 前記記憶手段は不揮発性メモリ、及び前
記車両機器の所定の状態にかかわらず電源が供給された
揮発性メモリからなるものであって、 前記異常検出手段は、前記不揮発性メモリの異常の検出
を行うものであって、 前記書き込み完了セット手段は、前記揮発性メモリに前
記書き込み完了を示すデータを記憶させておくものであ
って、 前記禁止手段は、前記揮発性メモリに記憶されるべき書
き込み完了を示すデータの存在に基づいて前記不揮発性
メモリに対する異常検出処理を禁止するものであること
を特徴とする請求項3記載の異常検出装置。
4. The storage means comprises a nonvolatile memory and a volatile memory to which power is supplied irrespective of a predetermined state of the vehicle equipment. The write completion setting means stores the data indicating the write completion in the volatile memory, and the prohibition means is stored in the volatile memory. 4. The abnormality detection device according to claim 3, wherein an abnormality detection process for said nonvolatile memory is prohibited based on the presence of data indicating completion of writing to be performed.
JP20364098A 1998-07-17 1998-07-17 Abnormality detection method and abnormality detection device Expired - Fee Related JP4041216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20364098A JP4041216B2 (en) 1998-07-17 1998-07-17 Abnormality detection method and abnormality detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20364098A JP4041216B2 (en) 1998-07-17 1998-07-17 Abnormality detection method and abnormality detection device

Publications (2)

Publication Number Publication Date
JP2000035923A true JP2000035923A (en) 2000-02-02
JP4041216B2 JP4041216B2 (en) 2008-01-30

Family

ID=16477402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20364098A Expired - Fee Related JP4041216B2 (en) 1998-07-17 1998-07-17 Abnormality detection method and abnormality detection device

Country Status (1)

Country Link
JP (1) JP4041216B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293440A (en) * 1999-03-17 2000-10-20 Robert Bosch Gmbh Memory function protecting method for controller and controller
JP2001195317A (en) * 2000-01-14 2001-07-19 Canon Inc Backup storage device, image formation device, backup control method and storage medium
US6957135B2 (en) 2002-10-25 2005-10-18 Denso Corporation Electronic control system
JP2007058775A (en) * 2005-08-26 2007-03-08 Toyota Motor Corp Method for manufacturing unit control apparatus, and unit control apparatus
JP2013065261A (en) * 2011-09-20 2013-04-11 Denso Corp Memory management device
JP2016192009A (en) * 2015-03-31 2016-11-10 日立オートモティブシステムズ株式会社 Control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293440A (en) * 1999-03-17 2000-10-20 Robert Bosch Gmbh Memory function protecting method for controller and controller
JP2001195317A (en) * 2000-01-14 2001-07-19 Canon Inc Backup storage device, image formation device, backup control method and storage medium
US6957135B2 (en) 2002-10-25 2005-10-18 Denso Corporation Electronic control system
JP2007058775A (en) * 2005-08-26 2007-03-08 Toyota Motor Corp Method for manufacturing unit control apparatus, and unit control apparatus
JP2013065261A (en) * 2011-09-20 2013-04-11 Denso Corp Memory management device
JP2016192009A (en) * 2015-03-31 2016-11-10 日立オートモティブシステムズ株式会社 Control device

Also Published As

Publication number Publication date
JP4041216B2 (en) 2008-01-30

Similar Documents

Publication Publication Date Title
US8166353B2 (en) Memory management apparatus
CN108062259B (en) MCU internal data storage ECC processing system and processing method thereof
JP4475320B2 (en) Vehicle memory management device
JPH09230929A (en) Method and device for diagnosing fault of on-vehicle controller
JP3667920B2 (en) IC card
KR101044544B1 (en) Method for monitoring the execution of a program in a micro-computer
JP4041216B2 (en) Abnormality detection method and abnormality detection device
US7222271B2 (en) Method for repairing hardware faults in memory chips
US6363493B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
US4924465A (en) Memory with function test of error detection/correction device
JP3491358B2 (en) Power cut-off detection device
JPH0633828A (en) On-vehicle electronic control
JP6869743B2 (en) Electronic control device for automobiles
JP3106947B2 (en) Nonvolatile semiconductor memory device
JP2002014726A (en) Electronic controller
JPH0236003B2 (en)
US7366970B2 (en) Method and test device for detecting addressing errors in control units
JP2701591B2 (en) Self-diagnosis method for car telephone equipment
EP0811194B1 (en) Diagnostic method and apparatus with pre-assembly fault recording lock-out
JP4639920B2 (en) Electronic control unit
JP2009282849A (en) Microcomputer
JP2006277133A (en) Semiconductor integrated circuit and memory data checking method
JPH05297901A (en) Process controller
JP2006184051A (en) Apparatus and method for inspecting on-vehicle failure diagnosis system
JP2002047998A (en) Controller for vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050713

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071109

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees