JP4041216B2 - Abnormality detection method and abnormality detection device - Google Patents

Abnormality detection method and abnormality detection device Download PDF

Info

Publication number
JP4041216B2
JP4041216B2 JP20364098A JP20364098A JP4041216B2 JP 4041216 B2 JP4041216 B2 JP 4041216B2 JP 20364098 A JP20364098 A JP 20364098A JP 20364098 A JP20364098 A JP 20364098A JP 4041216 B2 JP4041216 B2 JP 4041216B2
Authority
JP
Japan
Prior art keywords
abnormality detection
writing
data
control data
abnormality
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.)
Expired - Fee Related
Application number
JP20364098A
Other languages
Japanese (ja)
Other versions
JP2000035923A (en
Inventor
伸幸 西脇
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

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、記憶手段の異常を検出する方法および装置に関する。
【0002】
【従来の技術】
車載の自動制御装置において用いられるマイクロコンピュータ制御装置(電子制御装置)では、電源がオフして機器が停止した時点等に、その時点の車両の状況を表すデータ、センサからの入力データ、制御データ等を不揮発性メモリであるEEPROMに記憶し、機器が停止した時点の状況を保存し、データの利用に備えている。このEEPROMの記憶が不正確であると、機器の動作を再開する時点で不都合であるため、例えば特開平8─95868に開示された、複数のバックアップデータを記憶し、次に同一のデータである筈の複数のバックアップデータを照合して異常を判定する方法など、EEPROM素子の異常検出方法が提案されている。従来の故障診断の基本的方法を、次に説明する。まず図4のEEPROMデータ書込み時の動作に示したように、電源(イグニッションスイッチIGSW)がオフした時点で、マイクロコンピュータはRAMに記憶されている現時点の所定の情報をEEPROMデータ領域Aに書き込み、続いて同じ情報をEEPROMデータ領域Bに書き込む。次にEEPROMに記憶されたデータが読み出される機器の動作再開始時点では、図5のEEPROMデータ読出し時の処理に示したように、電子制御装置が起動して、EEPROMデータを読み出すと、電子制御装置はデータ領域Aに記憶されている情報とデータ領域Bに記憶されている情報とが同一であるか整合性を確認し、整合していないと判断するとEEPROM素子に異常ありと信号出力し、整合していればEEPROM素子は正常であると信号出力するようにしている。
【0003】
【発明が解決しようとする課題】
車載の自動制御装置において用いられるマイクロコンピュータ制御装置(電子制御装置)は、走行、操作の確実性を期するため、その電子制御装置が正常な作動を行っていることを所定のタイミングで確認する必要があり、その制御装置の特性に特有の項目の故障診断が行われている。動作中の故障も電子制御装置は自己点検できるようになっており、故障診断によって特定された異常や故障の状況は自動的に、或いは使用者の操作に応じて表示されるのが通常である。そして、異常が発見されると故障した装置の多くは、サービス工場等で交換修理される。前述の電子制御装置に搭載されたEEPROM素子の異常を判断する故障診断も、これらの故障診断のうちの一つで、EEPROM素子が異常と判断されると搭載された電子制御装置ごと交換修理されている。
【0004】
ところで、従来故障診断でEEPROM素子が異常と判定された電子制御装置の中には、EEPROM素子の異常判断の誤りで修理交換される場合が含まれていた。これは、サービス工場等で交換修理したEEPROM素子不良品を、精密試験した結果分かってきたもので、誤検出のため無用な修理費用が発生しており問題である。ところが、こうした異常判断の誤りは、図4を用いて前述したEEPROMデータ領域A、Bへの書き込み中に、電子制御装置の電源が瞬断(電圧が瞬間的に低下)し、以後の書き込みが継続できなくなったために生じたものであることが明らかになってきた。
【0005】
本発明は、EEPROM等の不揮発性メモリに対する異常検出の誤判断を回避することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成するために、車両機器の状態に応じた制御データを、車両機器が所定の状態となるとスタンバイRAM、EEPROM等の記憶手段に記憶し、記憶された該データと複写記憶された第2の該記憶データとを比較し、該両記憶データの一致、不一致に基づいて該記憶手段の異常を検知するEEPROM異常検出装置において、電源電圧の低下による前記記憶手段への書き込み中断を検出する書き込み中断検出手段と、前記書き込み中断検出手段が中断を検出すると前記スタンバイRAMに書き込み中断を記憶する中断記憶手段と、前記中断記憶手段の中断記憶を検出すると前記記憶手段の異常検知を禁止する異常検知禁止手段とを備えたことを特徴とする。
【0007】
【実施例】
次に、本発明の一実施例である電子制御装置を説明する。図1は、本発明の一実施例における電子制御装置の構成を示す構成図である。
車両または車載機器の制御を行うための電子制御装置1は、演算制御を実行するCPU2、演算中に用いられ、動作電源が供給されている間のみ機能する揮発性メモリであるRAM(Random Access Memory)3、定数やプログラム等を記憶した不揮発性メモリであるROM(Read Only Memory)4等からなるマイクロコンピュータ(マイコン)およびバックアップ電源(接続電池)によってスタンバイ記憶が保持されるスタンバイRAM5、異常検出の対象となる記憶手段であって、バックアップ電源なしで記憶が保持可能な、書換え可能な不揮発性メモリであるEEPROM(Electrically Erasable and Programmable ROM)6により構成される。温度、圧力、その他各種のセンサ7からの信号、および、車載機器の操作のため使用者が操作盤8から設定する制御のための信号が入力され、電子制御装置1はこれらの入力信号に応じた処理を行って、モータ、制御弁等の各種アクチュエータ8へ制御信号を出力し、車両または車載機器を制御する。
【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からの動作電源がオフした状態でも、スタンバイ記憶であるスタンバイRAM5、CPU2への電力供給が維持される。なお、車両の電池BTが交換等のための取り外され、接点Tの電位がなくなると、スタンバイ記憶であるスタンバイRAM5の記憶は失われる。
【0009】
次に、記憶手段の異常を検知するEEPROM異常検出について、電子制御装置1の行う処理を説明する。図2は、本発明の一実施例の電子制御装置1の行うEEPROM6へのデータ書込み時の処理を示すフローチャートである。
この処理は、自動車のイグニッションスイッチIGSWがオンの状態で、電子制御装置1の他の制御処理と共に繰り返し行われる。ステップa1では、イグニッションスイッチIGSWがオフの状態かを判断し、オフ(オンの状態からオフの状態に切り替わった段階)であればステップa2に移り、オフでなければ本処理を終わる。ステップa2では、EEPROM6の第1のデータ領域Aに、RAM3に記憶されている所定のデータを記憶し、ステップa3に移る。ステップa3では、EEPROM6の第2のデータ領域Bに、RAM3から第1のデータ領域Aに記憶したと同一内容のデータ(ミラーデータ)を記憶し、ステップa4に移る。ステップa4では、EEPROM6書き込み完了フラグ「1」をスタンバイRAM5の所定領域に記憶し、本処理を終わる。
【0010】
このようにして、同一の内容を示すデータがEEPROM6の所定の領域A、Bの2領域に書き込まれることになる。また、所定の領域A、Bの2領域への書き込み動作が完了した場合に限り、書き込み完了フラグ「1」をスタンバイRAM5の所定領域に書き込むので、電源遮断等により書き込み動作が未完了(領域A、Bの2領域のデータは同一の内容とはならない)をフラグで識別することが可能となる。
【0011】
図3は、本発明の一実施例の電子制御装置1の行うEEPROM6のデータ読み出し時の処理を示すフローチャートである。
この処理は、電子制御装置1の動作開始時(イグニッションスイッチのオン時)に行われる。ステップb1では、EEPROM6のデータを読み出しステップb2に移る。ステップb2では、EEPROM6書き込み完了フラグ「1」がスタンバイRAM5にあるか判断し、完了フラグ「1」があればステップb3に移り、完了フラグ「1」がなければ(例えば完了フラグ「0」等であれば)ステップb2乃至b5の異常検出処理を行わないようにする。ステップb3では、EEPROM6の第1のデータ領域Aのデータと、第2のデータ領域Bのミラーデータとが整合(同一)し正当性があるか否かを判断し、整合していなければステップb4に移り、整合していなければステップb5に移る。ステップb4では、EEPROM6素子が異常(故障)であるとの信号を発生し、本処理を終わる。ステップb5では、EEPROM6素子が正常であるとの信号を発生し、本処理を終わる。尚、本例の正当性の判断は、データとミラーデータとを加算して、その値が「FF」(全てのビットが「1」)になることを正当として判断するミラーチェックを採用している。
【0012】
このようにして、EEPROM6書き込み完了フラグ「1」がスタンバイRAM5にある場合に限り、(同一の内容を示すデータがEEPROM6の所定の領域A、Bの2領域に正常に書き込まれた筈なので)、EEPROM6の故障が診断され、同一の書き込みデータが領域A、Bの2領域に存在すればEEPROM6素子は正常、異なる書き込みデータが領域A、Bの2領域に存在すればEEPROM6素子は異常と報知される。EEPROM6素子が正常であれば、電子制御装置1の動作開始は継続して行われ、EEPROM6素子が異常であれば、故障が報知されて故障診断される。また、EEPROM6書き込み完了フラグ「1」がスタンバイRAM5にない場合には、EEPROM6異常検出が禁止されるので、これまで課題であったEEPROM6素子異常の誤検出を回避することができる。なお、バックアップ電源がオフされた場合には、スタンバイRAM5内のEEPROM6書き込み完了フラグ「1」は初期化されるので、この場合も誤検出は生じないことになる。従って、EEPROM6素子異常の誤検出に基づく、無用な交換修理を避けることができる。また、スタンバイRAM5のような電源供給されている揮発性メモリを用いて完了フラグを立てることにより、電源遮断または瞬断による書き込み中断を確実に検出できる。また、データの正当性の判断はミラーチェックに限定されず、例えば上下限値チェックやサム値チェック等、その他のチェック方法を採用するようにしてもよい。
【0013】
【発明の効果】
以上詳細に説明したように、本発明によれば、記憶手段の異常を検出する際に、電源遮断または瞬断による書き込み中断により生じた誤判断を回避することができる。
【図面の簡単な説明】
【図1】本発明の一実施例の制御部の構成を示す構成図である。
【図2】EEPROM書込み時の処理を示すフローチャートである。
【図3】EEPROM読出し時の処理を示すフローチャートである。
【図4】従来のEEPROM書込み時の処理を示すフローチャートである。
【図5】従来のEEPROM読出し時の処理を示すフローチャートである。
【符号の説明】
1 ・・・電子制御装置
2 ・・・CPU
3 ・・・RAM
4 ・・・ROM
5 ・・・スタンバイRAM
6 ・・・EEPROM
BT・・・電池
IGSW・イグニッションスイッチ
PSW・・電源スイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and apparatus for detecting an abnormality in a storage means.
[0002]
[Prior art]
In a microcomputer control device (electronic control device) used in an in-vehicle automatic control device, data indicating vehicle conditions at that time, input data from sensors, control data, etc. Etc. are stored in an EEPROM which is a non-volatile memory, the situation at the time when the device is stopped is saved, and the data is used. If the EEPROM storage is inaccurate, it is inconvenient at the time of restarting the operation of the device. For example, a plurality of backup data disclosed in JP-A-8-95868 is stored, and then the same data is stored. A method for detecting an abnormality in an EEPROM element has been proposed, such as a method for determining an abnormality by comparing a plurality of backup data of a bag. A basic method of conventional fault diagnosis will be described next. First, as shown in the operation of writing EEPROM data in FIG. 4, when the power source (ignition switch IGSW) is turned off, the microcomputer writes the predetermined information stored in the RAM to the EEPROM data area A, Subsequently, the same information is written into the EEPROM data area B. Next, at the time when the operation of the device from which the data stored in the EEPROM is read is restarted, as shown in the processing of reading the EEPROM data in FIG. The device checks whether the information stored in the data area A is the same as the information stored in the data area B, and if it is determined that the information is not consistent, outputs a signal indicating that the EEPROM element is abnormal, If they match, the EEPROM element outputs a signal that it is normal.
[0003]
[Problems to be solved by the invention]
A microcomputer control device (electronic control device) used in an in-vehicle automatic control device confirms that the electronic control device is operating normally at a predetermined timing in order to ensure traveling and operation reliability. There is a need to perform fault diagnosis on items specific to the characteristics of the control device. The electronic control unit can also perform self-inspection for faults during operation, and the abnormalities and fault status identified by fault diagnosis are usually displayed automatically or in response to user operations. . 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 determining the abnormality of the EEPROM element mounted on the electronic control device described above is one of these failure diagnosis, and if the EEPROM element is determined to be abnormal, the mounted electronic control device is replaced and repaired. ing.
[0004]
By the way, in the conventional electronic control device in which the EEPROM element is determined to be abnormal in the failure diagnosis, there is a case where repair and replacement are performed due to an error in determining the abnormality of the EEPROM element. This is a problem that has been found as a result of precision testing of defective EEPROM elements that have been replaced and repaired at a service factory or the like, and there is an unnecessary repair cost due to false detection. However, such an error in judging the abnormality is caused by the momentary interruption of the power supply of the electronic control device (the voltage drops momentarily) during the writing to the EEPROM data areas A and B described above with reference to FIG. It has become clear that it was caused by being unable to continue.
[0005]
An object of the present invention is to avoid erroneous determination of abnormality detection for a nonvolatile memory such as an EEPROM.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, control data corresponding to the state of the vehicle device is stored in a storage means such as a standby RAM or EEPROM when the vehicle device is in a predetermined state, and the stored data is copied and stored. In the EEPROM abnormality detection device that compares the two stored data with each other and detects an abnormality of the storage means based on the coincidence or inconsistency between the two storage data, detects an interruption in writing to the storage means due to a decrease in power supply voltage Write interruption detection means, interruption storage means for storing write interruption in the standby RAM when the write interruption detection means detects interruption, and abnormality for prohibiting abnormality detection of the storage means when detection of interruption storage in the interruption storage means is detected And a detection prohibiting means.
[0007]
【Example】
Next, an electronic control apparatus according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram showing a configuration of an electronic control device according to an embodiment of the present invention.
An electronic control device 1 for controlling a vehicle or a vehicle-mounted device includes a CPU 2 that executes arithmetic control, a RAM (Random Access Memory) that is used during the calculation and functions only while operating power is supplied. 3) A standby RAM 5 in which standby memory is maintained by a microcomputer (microcomputer) including a ROM (Read Only Memory) 4 which is a non-volatile memory storing constants and programs, etc., and a backup power source (connected battery), an abnormality detection This is a target storage means, and is composed of an EEPROM (Electrically Erasable and Programmable ROM) 6, which is a rewritable nonvolatile memory that can hold the memory without a backup power source. Signals from various sensors 7 such as temperature, pressure, and signals for control set by the user from the operation panel 8 for operation of the in-vehicle devices are input, and the electronic control unit 1 responds to these input signals. The control signal is output to various actuators 8 such as a motor and a control valve to control the vehicle or the vehicle-mounted device.
[0008]
The electronic control device 1 is connected to the battery BT of the vehicle as a power source, and detects the on / off of the ignition switch IGSW according to the input voltage H (high) and L (low) of the connection S. Further, the control panel 8 determines a signal or the like and outputs a control signal from the connection C, turns on and off the power switch PSW, and turns on / off the operating power from the connection P. 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 resumed. Therefore, the EEPROM 6 which is a nonvolatile memory before the operation of the electronic control device 1 is stopped at a predetermined control timing. The data is written and saved in the standby RAM 5 (the same data is written in the EEPROM 6 and the standby RAM 5 respectively). When the ignition switch IGSW is turned off, the CPU 2 saves the predetermined data of the electronic control device 1 to the EEPROM 6 and the standby RAM 5, and outputs a control signal from the connection C with a delay sufficient for saving. Then, the power switch PSW is turned off. Further, even when the backup power supply is always input from the connection B and the operation power supply from the connection P is turned off, the power supply to the standby RAM 5 and the CPU 2 serving as standby storage is maintained. Note that when the battery BT of the vehicle is removed for replacement or the like and the potential at the contact T is lost, the storage in the standby RAM 5 that is the standby storage is lost.
[0009]
Next, processing performed by the electronic control unit 1 for EEPROM abnormality detection for detecting abnormality of the storage means will be described. FIG. 2 is a flowchart showing processing at the time of data writing to the EEPROM 6 performed by the electronic control unit 1 according to the embodiment of the present invention.
This process is repeatedly performed together with other control processes of the electronic control unit 1 while the ignition switch IGSW of the automobile is on. In step a1, it is determined whether the ignition switch IGSW is in an off state. If the ignition switch IGSW is in an off state (a stage where the ignition switch IGSW has been switched from an on state to an off state), the process proceeds to step a2. In step a2, predetermined data stored in the RAM 3 is stored in the first data area A of the EEPROM 6, and the process proceeds to step a3. In step a3, data (mirror data) having the same content as that stored in the first data area A from the RAM 3 is stored in the second data area B of the EEPROM 6, 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 present process ends.
[0010]
In this way, data indicating the same content is written in two areas of the predetermined areas A and B of the EEPROM 6. Further, only when the write operation to the two areas A and B is completed, the write completion flag “1” is written to the predetermined area of the standby RAM 5, so that the write operation is not completed due to power shutdown or the like (area A The data in the two areas B and B do not have the same contents).
[0011]
FIG. 3 is a flowchart showing processing at the time of data reading of the EEPROM 6 performed by the electronic control unit 1 according to the embodiment of the present invention.
This process is performed when the operation of the electronic control device 1 is started (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, it is determined whether the EEPROM 6 write completion flag “1” is in the standby RAM 5. If there is a completion flag “1”, the process proceeds to step b3, and if there is no completion flag “1” (for example, with a completion flag “0”, etc.). Do not perform the abnormality detection process in steps b2 to b5 (if any). In step b3, it is determined whether or not the data in the first data area A of the EEPROM 6 and the mirror data in the second data area B are matched (identical) and are valid. If not matched, the process goes to Step b5. In step b4, a signal indicating that the EEPROM 6 element is abnormal (failure) is generated, and this processing is terminated. In step b5, a signal indicating that the EEPROM 6 elements are normal is generated, and the present process ends. The validity of this example is determined by adding a mirror check that adds data and mirror data and judges that the value is “FF” (all bits are “1”). Yes.
[0012]
Thus, only when the EEPROM 6 write completion flag “1” is in the standby RAM 5 (because the data indicating the same contents should have been normally written in the two areas A and B of the EEPROM 6), If the failure of the EEPROM 6 is diagnosed and the same write data exists in the two areas A and B, the EEPROM 6 element is normal, and if different write data exists in the two areas A and B, the EEPROM 6 element is reported abnormal. The If the EEPROM 6 element is normal, the operation of the electronic control device 1 is continuously started. If the EEPROM 6 element is abnormal, the failure is notified and the failure is diagnosed. Further, when the EEPROM 6 write completion flag “1” is not in the standby RAM 5, the abnormality detection of the EEPROM 6 is prohibited, and thus the erroneous detection of the abnormality of the EEPROM 6 element, which has been a problem until now, can be avoided. When the backup power supply is turned off, the EEPROM 6 write completion flag “1” in the standby RAM 5 is initialized, so that no erroneous detection occurs in this case. Therefore, unnecessary replacement and repair based on erroneous detection of abnormal EEPROM 6 elements can be avoided. In addition, by setting a completion flag using a volatile memory to which power is supplied 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, and other check methods such as an upper / lower limit value check and a sum value check may be employed.
[0013]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to avoid an erroneous determination caused by a write interruption due to power interruption or instantaneous interruption when detecting an abnormality of the storage means.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating a configuration of a control unit according to an embodiment of the present invention.
FIG. 2 is a flowchart showing processing at the time of EEPROM writing.
FIG. 3 is a flowchart showing processing at the time of EEPROM reading.
FIG. 4 is a flowchart showing processing at the time of conventional EEPROM writing.
FIG. 5 is a flowchart showing processing at the time of conventional EEPROM reading.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Electronic control unit 2 ... CPU
3 ... RAM
4 ... ROM
5 ... Standby RAM
6 ・ ・ ・ EEPROM
BT: Battery IGSW, Ignition switch PSW, Power switch

Claims (4)

車両機器の状態に応じた制御データを、車両機器が所定の状態となると記憶手段に書込んで退避しておき前記車両機器が前記所定の状態から復帰すると、前記記憶手段に書き込まれた該制御データを読み出し、該制御データの正当性に基づいて該記憶手段の異常を検出する異常検出処理を行う異常検出方法において、
前記制御データの書き込みの完了時に書き込み完了を示すデータを前記記憶手段に記憶しておき、前記制御データの読み出し時に前記書き込み完了を示すデータが存在しない場合には前記異常検出処理を禁止する処理を行うことを特徴とする異常検出方法。
Control data corresponding to the state of the vehicle device is written and saved in the storage means when the vehicle device is in a predetermined state, and when the vehicle device returns from the predetermined state, the control data written in the storage means In the abnormality detection method for performing abnormality detection processing for reading data and detecting abnormality of the storage means based on the validity of the control data,
Data indicating completion of writing is stored in the storage means when the writing of the control data is completed, and processing for prohibiting the abnormality detection processing is performed when there is no data indicating completion of writing when the control data is read. An abnormality detection method characterized by performing.
不揮発性メモリに対して前記異常検出処理を行い、前記書き込み完了を示すデータを、前記車両機器の所定の状態にかかわらず電源が供給された揮発性メモリに記憶させておき、前記揮発性メモリに記憶されるべき書き込み完了を示すデータの存在に基づいて前記不揮発性メモリに対する異常検出処理を禁止する処理を行うことを特徴とする請求項1記載の異常検出方法。The abnormality detection process 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, and the volatile memory stores the data. 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 completion of writing to be stored. 車両機器の状態に応じた制御データを記憶する記憶手段と、前記車両機器が所定の状態となると前記制御データを前記記憶手段に書込んで退避させる退避手段と、
前記車両機器が前記所定の状態から復帰すると、前記記憶手段に書き込まれた制御データを読み出し、該制御データの正当性に基づいて該記憶手段の異常を検出する異常検出手段とを備えた異常検出装置において、
前記退避手段による前記制御データの書き込みが完了すると、該制御データの書き込み完了を示すデータを前記記憶手段に記憶させておく書き込み完了セット手段と、
前記記憶手段に書き込まれた制御データの読み出し時に、前記書き込み完了を示すデータが存在しない場合には、前記異常検出手段における前記異常検出処理を禁止する禁止手段を備えたことを特徴とする異常検出装置。
Storage means for storing control data according to the state of the vehicle equipment; and retreat means for writing the control data to the storage means and evacuating when the vehicle equipment is in a predetermined state;
When the vehicle device returns from the predetermined state, the abnormality detection unit includes an abnormality detection unit that reads control data written in the storage unit and detects an abnormality of the storage unit based on the validity of the control data. In the device
When the writing of the control data by the saving unit is completed, a writing completion setting unit that stores data indicating completion of writing of the control data in the storage unit;
An abnormality detection comprising: prohibiting means for prohibiting the abnormality detection processing in the abnormality detecting means when there is no data indicating completion of writing when the control data written in the storage means is read apparatus.
前記記憶手段は不揮発性メモリ、及び前記車両機器の所定の状態にかかわらず電源が供給された揮発性メモリからなるものであって、
前記異常検出手段は、前記不揮発性メモリの異常の検出を行うものであって、
前記書き込み完了セット手段は、前記揮発性メモリに前記書き込み完了を示すデータを記憶させておくものであって、
前記禁止手段は、前記揮発性メモリに記憶されるべき書き込み完了を示すデータの存在に基づいて前記不揮発性メモリに対する異常検出処理を禁止するものであることを特徴とする請求項3記載の異常検出装置。
The storage means includes a nonvolatile memory and a volatile memory to which power is supplied regardless of a predetermined state of the vehicle device,
The abnormality detecting means detects abnormality of the nonvolatile memory,
The write completion setting means stores data indicating the write completion in the volatile memory,
4. The abnormality detection according to claim 3, wherein the prohibiting means prohibits an abnormality detection process for the nonvolatile memory based on the presence of data indicating completion of writing to be stored in the volatile memory. apparatus.
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 JP2000035923A (en) 2000-02-02
JP4041216B2 true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19911794B4 (en) * 1999-03-17 2005-10-06 Robert Bosch Gmbh Method and device for securing changes in the memory contents of control units
JP2001195317A (en) * 2000-01-14 2001-07-19 Canon Inc Backup storage device, image formation device, backup control method and storage medium
JP4001088B2 (en) 2002-10-25 2007-10-31 株式会社デンソー Electronic control unit
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
JP6363044B2 (en) * 2015-03-31 2018-07-25 日立オートモティブシステムズ株式会社 Control device

Also Published As

Publication number Publication date
JP2000035923A (en) 2000-02-02

Similar Documents

Publication Publication Date Title
US8166353B2 (en) Memory management apparatus
JPH09230929A (en) Method and device for diagnosing fault of on-vehicle controller
JP2002163895A (en) Device and method for safe operation of flush memory at high temperature
JP2004218614A (en) Electronic control device mounted in vehicle
JP4041216B2 (en) Abnormality detection method and abnormality detection device
US20090164838A1 (en) Microprocessor Memory Management
JP2005041273A (en) Method and device for collecting diagnostic data
JP2003002132A (en) Vehicle control device
JP2018134964A (en) Electronic control unit for automobile
US6363493B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
JP3491358B2 (en) Power cut-off detection device
JPH0633828A (en) On-vehicle electronic control
JP7186049B2 (en) POWER SUPPLY MONITORING DEVICE AND POWER SUPPLY MONITORING METHOD
CN110023911B (en) Electronic control device and data protection method thereof
JP2002334024A (en) Electronic controller
JP3106947B2 (en) Nonvolatile semiconductor memory device
JP2007062632A (en) Electronic control unit and storing method of data for abnormality generated time storage
JP2009026183A (en) Electronic control apparatus for automobile
US20220066899A1 (en) Thermal event prediction in hybrid memory modules
JP7172748B2 (en) Electronic controller and inspection system
JP2002014726A (en) Electronic controller
JP3419060B2 (en) Diagnostic device for vehicles
US7366970B2 (en) Method and test device for detecting addressing errors in control units
EP0811194B1 (en) Diagnostic method and apparatus with pre-assembly fault recording lock-out
JP2000194605A (en) Refreshing device of flash memory, its refreshing method, and flash memory

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