JP2020075646A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2020075646A
JP2020075646A JP2018210707A JP2018210707A JP2020075646A JP 2020075646 A JP2020075646 A JP 2020075646A JP 2018210707 A JP2018210707 A JP 2018210707A JP 2018210707 A JP2018210707 A JP 2018210707A JP 2020075646 A JP2020075646 A JP 2020075646A
Authority
JP
Japan
Prior art keywords
abnormality
freeze frame
frame data
electronic control
stored
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
JP2018210707A
Other languages
Japanese (ja)
Other versions
JP7260995B2 (en
Inventor
雅人 湯澤
Masahito Yuzawa
雅人 湯澤
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems 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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2018210707A priority Critical patent/JP7260995B2/en
Publication of JP2020075646A publication Critical patent/JP2020075646A/en
Application granted granted Critical
Publication of JP7260995B2 publication Critical patent/JP7260995B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To store various pieces of abnormality information in a nonvolatile memory.SOLUTION: An electronic control device includes a nonvolatile memory 160 having blocks 1 and 2 in which a plurality of storage areas of abnormality information is secured. The electronic control device alternately uses the blocks 1 and 2, sequentially stores abnormality information relating to an abnormality in a storage area when the abnormality is detected, and counts the number of pieces of the abnormality information stored in the storage area for each type of abnormalities. Then, when an abnormality (B abnormality) is detected in a state that abnormality information is stored in all of a plurality of storage areas, the electronic control device overwrites abnormality information (B abnormality) relating to a new abnormality in a storage area in which the abnormality information (A abnormality) having the maximum number counted for each type of the abnormalities is stored.SELECTED DRAWING: Figure 11

Description

本発明は、自動車に搭載された電子制御装置に関する。   The present invention relates to an electronic control device mounted on a vehicle.

自動車に搭載された電子制御装置は、各種のセンサ及びアクチュエータなどの異常を検知すると、異常検知前の所定時間に亘る車両データを「フリーズフレームデータ」として、EEPROM(Electrical Erasable Programmable Read Only Memory)やフラッシュメモリなどの不揮発性メモリに保存する機能を有している。電子制御装置の不揮発性メモリは、車載機器を制御するプログラムやその制御定数などを格納するため、フリーズフレームデータを保存するための領域を大きくすることは困難である。そこで、特開2013−181512号公報(特許文献1)に記載されるように、複数の記憶領域に対して、重要性が高い異常に関するフリーズフレームデータを優先的に保存する技術が提案されている。   When an electronic control unit mounted on a vehicle detects an abnormality such as various sensors and actuators, the vehicle data for a predetermined time before the abnormality detection is used as "freeze frame data" and an EEPROM (Electrical Erasable Programmable Read Only Memory) or It has a function of saving in a non-volatile memory such as a flash memory. Since the non-volatile memory of the electronic control device stores a program for controlling the in-vehicle device and its control constants, it is difficult to enlarge the area for storing the freeze frame data. Therefore, as described in Japanese Patent Application Laid-Open No. 2013-181512 (Patent Document 1), there is proposed a technique of preferentially storing freeze frame data relating to a highly important abnormality in a plurality of storage areas. ..

特開2013−181512号公報JP, 2013-181512, A

しかしながら、複数の記憶領域に対して重要性が高い異常に関するフリーズフレームデータを優先的に保存すると、例えば、重要性が高い異常が連続して検知された場合、複数の記憶領域に同一の異常に関するフリーズフレームデータのみが保存されてしまうおそれがある。この場合、他の異常が検知されても、これに関するフリーズフレームデータが不揮発性メモリに保存されず、その原因を突き止めることができなくなってしまう。   However, by preferentially storing freeze frame data relating to abnormalities of high importance in a plurality of storage areas, for example, when abnormalities of high importance are continuously detected, it is possible to detect the same abnormality in a plurality of storage areas. Only freeze frame data may be saved. In this case, even if another abnormality is detected, the freeze frame data related thereto is not stored in the non-volatile memory, and the cause cannot be determined.

そこで、本発明は、不揮発性メモリに多様な異常情報を保存可能とした、電子制御装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an electronic control device capable of storing various abnormal information in a non-volatile memory.

このため、異常情報の記憶領域が複数確保された不揮発性メモリを備えた電子制御装置は、異常が検知されたとき、その異常に関する異常情報を記憶領域に順次保存すると共に、異常の種別ごとに記憶領域に保存した異常情報の個数をカウントする。また、電子制御装置は、複数の記憶領域のすべてに異常情報が保存された状態で異常が検知されると、異常の種別ごとにカウントされた個数が最大の異常情報が保存されている記憶領域に、新たな異常に関する異常情報を上書きする。   For this reason, the electronic control device provided with the non-volatile memory in which a plurality of storage areas for abnormality information are secured, when an abnormality is detected, sequentially stores the abnormality information regarding the abnormality in the storage area, and also for each type of abnormality. The number of pieces of abnormality information stored in the storage area is counted. In addition, when an abnormality is detected in a state where the abnormality information is stored in all of the plurality of storage areas, the electronic control unit stores the storage area in which the largest number of pieces of abnormality information counted for each type of abnormality is stored. And overwrite the abnormality information on the new abnormality.

本発明によれば、不揮発性メモリに多様な異常情報を保存することができる。   According to the present invention, various abnormal information can be stored in the nonvolatile memory.

電子制御装置の一例を示す概略構成図である。It is a schematic structure figure showing an example of an electronic control unit. フリーズフレームデータを保存する記憶領域のデータ構造図である。It is a data structure diagram of a storage area for storing freeze frame data. フリーズフレームデータの一例を示す説明図である。It is explanatory drawing which shows an example of freeze frame data. 揮発性メモリに保存される車両データの一例を示す説明図である。It is explanatory drawing which shows an example of the vehicle data preserve | saved at a volatile memory. フリーズフレームデータ保存処理の一例を示すフローチャートである。It is a flow chart which shows an example of freeze frame data storage processing. 第1回目の異常としてZ異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of a freeze frame data storage procedure when Z abnormality is detected as a 1st abnormality. 第2回目の異常としてA異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of the freeze frame data storage procedure when A abnormality is detected as abnormality of the 2nd time. 第3回目の異常としてB異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of a freeze frame data storage procedure when B abnormality is detected as abnormality of the 3rd time. 第4回目の異常としてA異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of a freeze frame data storage procedure when A abnormality is detected as a 4th abnormality. 第5回目の異常としてA異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of the freeze frame data storage procedure when A abnormality is detected as the 5th abnormality. 第6回目の異常としてB異常が検知された場合のフリーズフレームデータ保存手順の説明図である。It is explanatory drawing of the freeze frame data storage procedure when B abnormality is detected as abnormality of the 6th time. フリーズフレームデータの具体例を示す説明図である。It is explanatory drawing which shows the specific example of freeze frame data. 圧縮したフリーズフレームデータの一例を示す説明図である。It is explanatory drawing which shows an example of the freeze frame data compressed. 圧縮したフリーズフレームデータの他の例を示す説明図である。It is explanatory drawing which shows the other example of the freeze frame data compressed. スキップ数適用回数テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a skip number application frequency table. スキップ数適用回数テーブルを用いて圧縮したフリーズフレームデータの一例を示す説明図である。It is explanatory drawing which shows an example of the freeze frame data compressed using the skip number application frequency table. 不感帯エリアテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a dead zone area table. 不感帯エリアテーブルを用いて圧縮したフリーズフレームデータの一例を示す説明図である。It is explanatory drawing which shows an example of the freeze frame data compressed using the dead zone area table. 不感帯エリアテーブルを用いて圧縮したフリーズフレームデータの他の例を示す説明図である。It is explanatory drawing which shows the other example of the freeze frame data compressed using the dead zone area table. 取得データ一覧テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of an acquisition data list table. 取得データ一覧テーブルを用いて圧縮したフリーズフレームデータの一例を示す説明図である。It is explanatory drawing which shows an example of the freeze frame data compressed using the acquired data list table. 取得データ一覧テーブルの他の例を示す説明図である。It is explanatory drawing which shows the other example of an acquisition data list table. 取得データ一覧テーブルを用いて圧縮したフリーズフレームデータの他の例を示す説明図である。It is explanatory drawing which shows the other example of the freeze frame data compressed using the acquired data list table. グルーピングテーブルの一例を示す説明図である。It is an explanatory view showing an example of a grouping table. グルーピングテーブルを用いて保存する異常を選択する方法の説明図である。It is explanatory drawing of the method of selecting the abnormality to save using a grouping table. 揮発性メモリに有用な車両データを保存する方法の説明図である。It is explanatory drawing of the method of storing useful vehicle data in a volatile memory. 少ない記憶領域で複数の車両データを保存可能にする方法の説明図である。It is explanatory drawing of the method of making it possible to store a plurality of vehicle data in a small storage area. 類似データの基本的な説明図である。It is a basic explanatory view of similar data. 類似データ判定テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a similar data determination table. サンプルタイムテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a sample time table. 除外判定テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of an exclusion determination table. サンプルタイムテーブルの他の例を示す説明図である。It is explanatory drawing which shows the other example of a sample time table. 重み付けテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a weighting table. 重み付けテーブルを用いて削除するフリーズフレームデータを選択する方法の説明図である。It is explanatory drawing of the method of selecting the freeze frame data to delete using a weighting table. 考慮規定テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a consideration regulation table. カウンタ値及び考慮規定テーブルを参照して削除対象を選択する方法の説明図である。It is explanatory drawing of the method of selecting a deletion object with reference to a counter value and consideration regulation table.

以下、添付された図面を参照し、本発明を実施するための実施形態について詳述する。
図1は、自動車に搭載された電子制御装置100の一例を示す。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows an example of an electronic control unit 100 mounted on an automobile.

電子制御装置100は、例えば、自動変速機、燃料ポンプ、バルブタイミングを電動で変更する電動VTC(Valve Timing Control)、圧縮比を変更するVCR(Variable Compression Ratio)などを電子制御する電子デバイスである。電子制御装置100は、プロセッサ120と、揮発性メモリ140と、不揮発性メモリ160と、通信回路180と、入出力回路200と、これらを相互通信可能に接続する内部バス220と、を備えている。なお、以下においては、自動変速機を電子制御する電子制御装置100について説明するが、電子制御装置100は他の車載機器を制御してもよい。   The electronic control unit 100 is an electronic device that electronically controls, for example, an automatic transmission, a fuel pump, an electric VTC (Valve Timing Control) that electrically changes valve timing, a VCR (Variable Compression Ratio) that changes a compression ratio, and the like. .. The electronic control unit 100 includes a processor 120, a volatile memory 140, a non-volatile memory 160, a communication circuit 180, an input / output circuit 200, and an internal bus 220 that connects these components so that they can communicate with each other. .. In the following, the electronic control unit 100 that electronically controls the automatic transmission will be described, but the electronic control unit 100 may control other in-vehicle devices.

プロセッサ120は、ソフトウエアプログラムに記述された命令セットを実行するハードウエアであって、例えば、CPU(Central Processing Unit)などからなる。揮発性メモリ140は、電源供給を遮断するとデータが消失する半導体メモリであって、例えば、DRAM(Dynamic Random Access Memory)、SRAM(Static Random Access Memory)などからなる。不揮発性メモリ160は、電源供給を遮断してもデータが保持されると共に電気的にデータを書き換え可能な半導体メモリであって、EEPROM(Electrically Erasable Programmable Read Only Memory)162及びフラッシュメモリ164を含んでいる。ここで、不揮発性メモリ160では、一般的に、故障情報や学習値などのデータを逐次保存する場合にはEEPROM162が使用され、制御プログラムなどのデータを保存する場合にはフラッシュメモリ164が使用されるが、このような使用方法に限定されない。なお、以下の説明においては、EEPROM162及びフラッシュメモリ164のどちらを使用してもよい場合、説明の簡略化のため「不揮発性メモリ160」と表現する。   The processor 120 is hardware that executes an instruction set described in a software program, and includes, for example, a CPU (Central Processing Unit). The volatile memory 140 is a semiconductor memory that loses data when the power supply is cut off, and includes, for example, a DRAM (Dynamic Random Access Memory) and an SRAM (Static Random Access Memory). The non-volatile memory 160 is a semiconductor memory that retains data even when the power supply is cut off and can electrically rewrite data, and includes an EEPROM (Electrically Erasable Programmable Read Only Memory) 162 and a flash memory 164. There is. Here, in the non-volatile memory 160, generally, the EEPROM 162 is used when sequentially storing data such as failure information and learning values, and the flash memory 164 is used when storing data such as control programs. However, it is not limited to such usage. In the following description, when either the EEPROM 162 or the flash memory 164 may be used, it is referred to as “nonvolatile memory 160” for simplification of the description.

通信回路180は、車載ネットワークの一例として挙げられるCAN(Controller Area Network)などを介して、他の電子制御装置及び車載機器(図示せず)などと通信するためのデバイスであって、例えば、CANトランシーバなどからなる。入出力回路200は、各種のセンサ又はスイッチなどからアナログ信号又はデジタル信号を読み込むと共に、アクチュエータなどにアナログ又はデジタルの駆動信号を出力するデバイスであって、例えば、A/Dコンバータ、D/Dコンバータなどからなる。内部バス220は、各デバイス間でデータを交換するための共通の経路であって、具体的には、アドレスを転送するためのアドレスバス、データを転送するためのデータバス、アドレスバスやデータバスで実際に入出力を行うタイミングや制御情報を遣り取りするコントロールバスを含んでいる。   The communication circuit 180 is a device for communicating with other electronic control units, vehicle-mounted devices (not shown), and the like via a CAN (Controller Area Network), which is an example of a vehicle-mounted network, and is, for example, a CAN. It consists of a transceiver. The input / output circuit 200 is a device that reads an analog signal or a digital signal from various sensors or switches, and outputs an analog or digital drive signal to an actuator, for example, an A / D converter or a D / D converter. And so on. The internal bus 220 is a common path for exchanging data between devices, and specifically, an address bus for transferring an address, a data bus for transferring data, an address bus and a data bus. Includes a control bus for exchanging control information and the timing of actual input / output.

不揮発性メモリ160には、図2に示すように、異常検知前の所定時間に亘る車両データである「フリーズフレームデータ」を複数記憶するために、2つのブロック1及びブロック2が予め確保されている。ブロック1及びブロック2は、夫々、5つのフリーズフレームデータを保存可能とするために、5つの記憶領域1〜5に区画されている。ここで、2つのブロック1及びブロック2を使用する理由は、これらを交互に使用することで、例えば、何らかの理由により一方のブロックへのフリーズフレームの保存が正常に行われなくとも、他方のブロックに保存されたフリーズフレームデータを利用することができるからである。不揮発性メモリ160には、2つのブロック1及びブロック2に限らず、3つ以上のブロックを確保してもよく、また、各ブロックは、5つの記憶領域に限らず、任意数の記憶領域に区画されていてもよい。なお、フリーズフレームデータが、異常情報の一例として挙げられる。   As shown in FIG. 2, two blocks 1 and 2 are secured in advance in the non-volatile memory 160 in order to store a plurality of “freeze frame data” which are vehicle data for a predetermined time period before abnormality detection. There is. Each of the block 1 and the block 2 is divided into five storage areas 1 to 5 so that five freeze frame data can be stored. Here, the reason why the two blocks 1 and 2 are used is that they are used alternately. For example, even if the freeze frame is not normally stored in one block for some reason, the other block is not used. This is because the freeze frame data stored in can be used. The non-volatile memory 160 is not limited to the two blocks 1 and 2, and may have three or more blocks. Further, each block is not limited to five storage areas, but may be an arbitrary number of storage areas. It may be partitioned. Freeze frame data is an example of abnormality information.

図3は、自動変速機の制御機能の異常に関するフリーズフレームデータの一例を示す。
フリーズフレームデータは、各種の車両データについて、異常検知前の所定時間に亘るセンサ値又は分解能を考慮してセンサ値から求められた物理値などが関連付けられた、複数のレコードを含んで構成されている。ここで、各種の車両データとしては、例えば、レンジ、エンジン回転、プライマリ回転、セカンダリ回転、車速、実レシオ、目標レシオ、電圧、Gセンサ、ソレノイド1の電流、ソレノイド2の電流、ソレノイド3の電流、アクセルペダルセンサの踏み込み角度のA/D変換値、CAN受信値及び故障情報を一例として挙げているが、この限りではない。また、異常検知前の所定時間としては、異常検知3.0秒前、2.5秒前、2.0秒前、1.5秒前、1.0秒前、0.5秒前及び異常検知時を一例として挙げているが、異常検知時を基点として、任意の時間間隔における複数のデータとしてもよい。なお、異常の有無は、電子制御装置100の作動中に、例えば、公知のOBD(On-Board Diagnostics)機能などによって検知することができる。
FIG. 3 shows an example of freeze frame data relating to an abnormality in the control function of the automatic transmission.
The freeze frame data is configured to include a plurality of records in which various kinds of vehicle data are associated with a physical value or the like obtained from the sensor value in consideration of the sensor value or the resolution over a predetermined time before abnormality detection. There is. Here, various types of vehicle data include, for example, range, engine rotation, primary rotation, secondary rotation, vehicle speed, actual ratio, target ratio, voltage, G sensor, current of solenoid 1, current of solenoid 2, current of solenoid 3. , The A / D conversion value of the depression angle of the accelerator pedal sensor, the CAN reception value, and the failure information are given as examples, but the invention is not limited thereto. Further, the predetermined time period before the abnormality detection is 3.0 seconds before the abnormality detection, 2.5 seconds before, 2.0 seconds before, 1.5 seconds before, 1.0 seconds before, 0.5 seconds before and the abnormality is detected. Although the detection time is given as an example, a plurality of data at arbitrary time intervals may be used with the abnormality detection time as a base point. The presence / absence of abnormality can be detected during operation of the electronic control device 100, for example, by a known OBD (On-Board Diagnostics) function or the like.

図4は、電子制御装置100が起動されたことを契機として、揮発性メモリ140に保存される複数種類の車両データの一例を示している。車両データは、例えば、各種のセンサなどの出力値又はその物理値について、現在時点(0.0秒前)を基点として、0.5秒間隔で過去に遡って7つ保存されている。この車両データは、0.5秒ごとに逐次更新され、最新のものが保存されるようになっている。従って、異常が検知されたことを契機として、例えば、揮発性メモリ140に保存された車両データの更新を中止したり、これを別の記憶領域にコピーして確定したりすれば、異常検知前の所定時間に亘るフリーズフレームデータを取得することができる。   FIG. 4 shows an example of a plurality of types of vehicle data stored in the volatile memory 140 when the electronic control device 100 is activated. For example, seven pieces of vehicle data are stored retroactively at 0.5-second intervals with respect to the output values of various sensors or the physical values thereof, starting from the current time point (0.0 seconds ago). This vehicle data is updated every 0.5 seconds and the latest data is stored. Therefore, when the abnormality is detected, for example, if the update of the vehicle data stored in the volatile memory 140 is stopped, or if the data is copied to another storage area to be confirmed, the abnormality is not detected. It is possible to acquire freeze frame data over a predetermined time period.

図5は、電子制御装置100が、イグニッションスイッチがONからOFFになったことを契機として実行する、フリーズフレームデータ保存処理の一例を示している。ここで、フリーズフレームデータ保存処理の実行に際して、フリーズフレームデータを保存する保存ブロックとして、不揮発性メモリ160に確保されたブロック1及びブロック2が交互に指定される。また、フリーズフレームデータ保存処理の実行に先だって、異常種別(例えば、制御機能)ごとに、ブロック1又はブロック2に保存したフリーズフレームデータの個数をカウントするカウンタが0に設定されている。   FIG. 5 shows an example of the freeze frame data storage processing executed by the electronic control unit 100 when the ignition switch is turned from ON to OFF. Here, when the freeze frame data saving process is executed, the blocks 1 and 2 secured in the nonvolatile memory 160 are alternately designated as save blocks for saving the freeze frame data. Further, prior to the execution of the freeze frame data saving process, a counter that counts the number of freeze frame data saved in the block 1 or the block 2 is set to 0 for each abnormality type (for example, control function).

ステップ1(図では「S1」と略記する。以下同様。)では、電子制御装置100のプロセッサ120が、例えば、OBD機能によって、イグニッションスイッチがONからOFFになるまでのドライビングサイクル中に異常が検知されたか否かを判定する。そして、電子制御装置100のプロセッサ120は、ドライビングサイクル中に異常が検知されたと判定すれば、処理をステップ2へと進める(Yes)。一方、電子制御装置100のプロセッサ120は、ドライビングサイクル中に異常が検知されないと判定すれば、フリーズフレームデータ保存処理を終了させる(No)。   In step 1 (abbreviated as "S1" in the figure. The same applies hereinafter), the processor 120 of the electronic control unit 100 detects an abnormality during the driving cycle from the ON to OFF of the ignition switch, for example, by the OBD function. It is determined whether it has been done. Then, if the processor 120 of the electronic control unit 100 determines that an abnormality is detected during the driving cycle, the process proceeds to step 2 (Yes). On the other hand, if the processor 120 of the electronic control unit 100 determines that no abnormality is detected during the driving cycle, it ends the freeze frame data storage processing (No).

ステップ2では、電子制御装置100のプロセッサ120が、保存ブロックが未消去であるか否か、要するに、保存ブロックにフリーズフレームデータを保存する準備が完了しているか否かを判定する。そして、電子制御装置100のプロセッサ120は、保存ブロックが未消去であると判定すれば、処理をステップ3へと進め(Yes)、保存ブロックを消去する。一方、電子制御装置100のプロセッサ120は、保存ブロックが消去済であると判定すれば、処理をステップ4へと進める(No)。   In step 2, the processor 120 of the electronic control unit 100 determines whether or not the save block is unerased, that is, whether or not the save block is ready to save the freeze frame data. Then, if the processor 120 of the electronic control unit 100 determines that the save block is not erased, the process proceeds to step 3 (Yes), and the save block is erased. On the other hand, if the processor 120 of the electronic control unit 100 determines that the storage block has been erased, the process proceeds to step 4 (No).

ステップ4では、電子制御装置100のプロセッサ120が、他のブロックが満杯か否か、即ち、保存ブロックとして選択されなかったブロックの記憶領域1〜5のすべてにフリーズフレームデータが保存されているか否かを判定する。そして、電子制御装置100のプロセッサ120は、他のブロックが満杯であると判定すれば、処理をステップ5へと進める(Yes)。一方、電子制御装置100のプロセッサ120は、他のブロックが満杯でないと判定すれば、処理をステップ6へと進める(No)。   In step 4, the processor 120 of the electronic control unit 100 determines whether or not another block is full, that is, whether or not the freeze frame data is stored in all the storage areas 1 to 5 of the block not selected as the storage block. To determine. Then, if the processor 120 of the electronic control unit 100 determines that the other blocks are full, the process proceeds to step 5 (Yes). On the other hand, if the processor 120 of the electronic control unit 100 determines that the other blocks are not full, the process proceeds to step 6 (No).

ステップ5では、電子制御装置100のプロセッサ120が、異常種別ごとのカウンタを参照し、そのカウンタ値が最大のフリーズフレームデータを選択する。このとき、カウンタ値が最大のフリーズフレームデータが複数存在すれば、電子制御装置100のプロセッサ120は、例えば、タイムスタンプが最古のフリーズフレームデータを選択すればよい。   In step 5, the processor 120 of the electronic control unit 100 refers to the counter for each abnormality type and selects the freeze frame data having the maximum counter value. At this time, if there are a plurality of freeze frame data with the maximum counter value, the processor 120 of the electronic control device 100 may select the freeze frame data with the oldest time stamp, for example.

ステップ6では、電子制御装置100のプロセッサ120が、他のブロックに保存されているフリーズフレームデータに新たな異常に関するフリーズフレームデータを付加し、これを保存ブロックに保存する。具体的には、電子制御装置100のプロセッサ120は、他のブロックの記憶領域1〜5に保存されているフリーズフレームデータを保存ブロックの記憶領域1〜5にコピーする。このとき、保存ブロックの記憶領域1〜5に空きがあれば、電子制御装置100のプロセッサ120は、フリーズフレームデータのコピーに続けて、新たな異常に関するフリーズフレームデータを保存する。一方、保存ブロックの記憶領域1〜5に空きがなければ、電子制御装置100のプロセッサ120は、ステップ5で選択されたフリーズフレームデータが保存されていた記憶領域に、新たな異常に関するフリーズフレームデータを上書きする。   In step 6, the processor 120 of the electronic control unit 100 adds freeze frame data relating to a new abnormality to the freeze frame data stored in another block, and stores this in the storage block. Specifically, the processor 120 of the electronic control unit 100 copies the freeze frame data stored in the storage areas 1 to 5 of other blocks to the storage areas 1 to 5 of the storage block. At this time, if there is a free space in the storage areas 1 to 5 of the storage block, the processor 120 of the electronic control device 100 stores the freeze frame data relating to the new abnormality following the copy of the freeze frame data. On the other hand, if there is no space in the storage areas 1 to 5 of the save block, the processor 120 of the electronic control device 100 causes the freeze frame data relating to the new abnormality to be stored in the storage area in which the freeze frame data selected in step 5 was saved. Overwrite.

ステップ7では、電子制御装置100のプロセッサ120が、異常種別ごとのカウンタ値を更新する。具体的には、電子制御装置100のプロセッサ120は、新たな異常に関するフリーズフレームデータを保存する前に他のブロックが満杯でなかった場合、新たな異常に関連付けられたカウンタ値をインクリメントする。また、電子制御装置100のプロセッサ120は、新たな異常に関するフリーズフレームデータを保存する前に他のブロックが満杯であった場合、ステップ5で選択されたフリーズフレームデータに関連付けられたカウンタ値をデクリメントし、新たな異常に関連付けられたカウンタ値をインクリメントする。従って、異常種別ごとのカウンタ値は、不揮発性メモリ160のブロック1又はブロック2に保存されている、異常種別ごとのフリーズフレームデータの個数を示している。   In step 7, the processor 120 of the electronic control unit 100 updates the counter value for each abnormality type. Specifically, the processor 120 of the electronic control device 100 increments the counter value associated with the new abnormality if another block is not full before saving the freeze frame data regarding the new abnormality. Further, the processor 120 of the electronic control unit 100 decrements the counter value associated with the freeze frame data selected in step 5 if another block is full before saving the freeze frame data regarding the new abnormality. Then, the counter value associated with the new abnormality is incremented. Therefore, the counter value for each abnormality type indicates the number of freeze frame data for each abnormality type stored in the block 1 or the block 2 of the nonvolatile memory 160.

かかるフリーズフレームデータ保存処理によれば、イグニッションスイッチがONからOFFになったことを契機として、ドライビングサイクル中に異常が検知されたか否かが判定される。ドライビングサイクル中に異常が検知されると、必要に応じて、フリーズフレームデータを保存する保存ブロックにデータを保存する準備として、保存ブロックが消去される。そして、他のブロックが満杯であれば、そこに保存されている5つのフリーズフレームデータのうち、異常種別ごとのカウンタ値が最大のフリーズフレームデータが選択され、これが保存対象から除外される。その後、他のブロックに保存されているフリーズフレームデータについて、選択されたフリーズフレームデータが保存されている記憶領域に新たな異常に関するフリーズフレームデータが上書きされるように、これを保存ブロックに保存する。また、保存ブロックに保存されているフリーズフレームデータが変化したので、必要に応じて、異常種別ごとのカウンタ値が適宜更新される。   According to the freeze frame data storage process, it is determined whether or not an abnormality is detected during the driving cycle when the ignition switch is turned from ON to OFF. If an anomaly is detected during the driving cycle, the storage block is erased, if necessary, in preparation for storing the data in the storage block storing the freeze frame data. Then, if the other blocks are full, the freeze frame data having the maximum counter value for each abnormality type is selected from the five freeze frame data saved therein, and this is excluded from the save target. After that, regarding the freeze frame data saved in another block, this is saved in the save block so that the freeze frame data related to the new abnormality is overwritten in the storage area in which the selected freeze frame data is saved. .. Further, since the freeze frame data stored in the storage block has changed, the counter value for each abnormality type is updated as needed.

他のブロック、即ち、前回のフリーズフレームデータ保存処理で保存ブロックとして選択されていたブロックが満杯になっていれば、上述したように、異常種別ごとのカウンタ値が最大のフリーズフレームデータが保存対象から除外される。即ち、カウンタ値が最大のフリーズフレームデータは、同一の異常種別のフリーズフレームデータであるため、その内容が同一又は類似していると考えることができる。このため、記憶領域に限りのあるブロック1又はブロック2に、異なる異常種別のフリーズフレームデータを保存することが可能となり、不揮発性メモリ160に多様なフリーズフレームデータを保存することができる。多様なフリーズフレームデータを保存できれば、例えば、サービス工場などでツールを使用してフリーズフレームデータを読み出して解析することで、異常発生原因などを突き止めることができる。   If the other block, that is, the block selected as the save block in the previous freeze frame data save process is full, as described above, the freeze frame data with the maximum counter value for each abnormality type is to be saved. Excluded from. That is, since the freeze frame data with the maximum counter value is freeze frame data of the same abnormality type, it can be considered that the contents are the same or similar. Therefore, it is possible to store freeze frame data of different abnormality types in the block 1 or the block 2 having a limited storage area, and various freeze frame data can be stored in the nonvolatile memory 160. If various freeze frame data can be saved, the cause of the abnormality can be determined by reading and analyzing the freeze frame data using a tool at a service factory, for example.

フリーズフレームデータ保存処理においては、保存ブロックを消去してからフリーズフレームデータを書き込んでいる。このようにすれば、制御が単純化され、例えば、制御を実現するプログラムコードにバグが入り込み難くなり、信頼性を向上させることができる。但し、保存ブロックに対して単純にフリーズフレームデータを書き込んで保存できるのであれば、保存ブロックを必ずしも消去しなくてもよい。   In the freeze frame data saving process, the save block is erased before the freeze frame data is written. By doing so, the control is simplified, for example, it becomes difficult for bugs to be introduced into the program code that realizes the control, and the reliability can be improved. However, if the freeze frame data can be simply written to and saved in the save block, the save block does not necessarily have to be erased.

ここで、フリーズフレームデータ保存処理の理解を容易ならしめることを目的として、具体的な一例を挙げて説明する。以下の具体例においては、Z異常、A異常及びB異常が発生し、電子制御装置100の初期状態では、Z異常、A異常及びB異常をカウントするカウンタ値がすべて0に初期化され、かつ、不揮発性メモリ160のブロック1及びブロック2の記憶領域1〜5が消去されているものとする。また、初期状態では、フリーズフレームデータを保存する保存ブロックとして、ブロック1が選択されているものとする。   Here, a specific example will be described for the purpose of facilitating the understanding of the freeze frame data storage process. In the following specific examples, Z abnormality, A abnormality, and B abnormality occur, and in the initial state of the electronic control unit 100, the counter values for counting Z abnormality, A abnormality, and B abnormality are all initialized to 0, and It is assumed that the storage areas 1 to 5 of the block 1 and the block 2 of the non-volatile memory 160 are erased. Further, in the initial state, it is assumed that the block 1 is selected as the storage block for storing the freeze frame data.

第1回目の異常としてZ異常が検知されると、図6に示すように、ブロック1の記憶領域1に対して、Z異常に関するフリーズフレームデータが保存される。このとき、Z異常をカウントするカウンタ値がインクリメントされて「1」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック2が選択される。   When the Z abnormality is detected as the first abnormality, the freeze frame data regarding the Z abnormality is stored in the storage area 1 of the block 1 as shown in FIG. At this time, the counter value for counting the Z abnormality is incremented to "1". Further, in preparation for the next abnormality detection, the block 2 is selected as a storage block for storing the freeze frame data.

第2回目の異常としてA異常が検知されると、図7に示すように、ブロック2の記憶領域1に対して、ブロック1の記憶領域1に保存されているZ異常に関するフリーズフレームデータがコピーされると共に、ブロック2の記憶領域2に対して、A異常に関するフリーズフレームデータが保存される。このとき、A異常をカウントするカウンタ値がインクリメントされて「1」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック1が選択される。   When the A abnormality is detected as the second abnormality, as shown in FIG. 7, the freeze frame data regarding the Z abnormality stored in the storage area 1 of the block 2 is copied to the storage area 1 of the block 2. At the same time, the freeze frame data regarding the A abnormality is stored in the storage area 2 of the block 2. At this time, the counter value for counting the A abnormality is incremented to "1". Moreover, in preparation for the next abnormality detection, the block 1 is selected as a storage block for storing the freeze frame data.

第3回目の異常としてB異常が検知されると、保存ブロックであるブロック1にフリーズフレームデータが保存されているため、図8に示すように、ブロック1が消去される。そして、ブロック1の記憶領域1及び2に対して、ブロック2の記憶領域1及び2に保存されているZ異常及びA異常に関するフリーズフレームデータがコピーされると共に、ブロック1の記憶領域3に対して、B異常に関するフリーズフレームデータが保存される。このとき、B異常をカウントするカウンタ値がインクリメントされて「1」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック2が選択される。   When the B abnormality is detected as the third abnormality, the freeze frame data is stored in the block 1, which is the storage block, so that the block 1 is erased as shown in FIG. Then, the freeze frame data relating to the Z abnormality and the A abnormality stored in the storage areas 1 and 2 of the block 2 is copied to the storage areas 1 and 2 of the block 1, and at the same time, to the storage area 3 of the block 1. Then, freeze frame data relating to the B abnormality is saved. At this time, the counter value for counting the B abnormality is incremented to "1". Further, in preparation for the next abnormality detection, the block 2 is selected as a storage block for storing the freeze frame data.

第4回目の異常としてA異常が検知されると、保存ブロックであるブロック2にフリーズフレームデータが保存されているため、図9に示すように、ブロック2が消去される。そして、ブロック2の記憶領域1〜3に対して、ブロック1の記憶領域1〜3に保存されているZ異常、A異常及びB異常に関するフリーズフレームデータがコピーされると共に、ブロック2の記憶領域4に対して、A異常に関するフリーズフレームデータが保存される。このとき、A異常をカウントするカウント値がインクリメントされて「2」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック1が選択される。   When the A abnormality is detected as the fourth abnormality, the freeze frame data is stored in the block 2, which is the storage block, so that the block 2 is erased as shown in FIG. Then, the freeze frame data regarding the Z abnormality, the A abnormality, and the B abnormality stored in the storage areas 1 to 3 of the block 1 is copied to the storage areas 1 to 3 of the block 2, and the storage area of the block 2 is also stored. 4, the freeze frame data regarding the A abnormality is stored. At this time, the count value for counting the A abnormality is incremented to "2". Moreover, in preparation for the next abnormality detection, the block 1 is selected as a storage block for storing the freeze frame data.

第5回目の異常としてA異常が検知されると、保存ブロックであるブロック1にフリーズフレームデータが保存されているため、図10に示すように、ブロック1が消去される。そして、ブロック1の記憶領域1〜4に対して、ブロック2の記憶領域1〜4に保存されているZ異常、A異常、B異常及びA異常に関するフリーズフレームデータがコピーされると共に、ブロック1の記憶領域5に対して、A異常に関するフリーズフレームデータが保存される。このとき、A異常をカウントするカウント値がインクリメントされて「3」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック2が選択される。   When the A abnormality is detected as the fifth abnormality, the freeze frame data is stored in the block 1, which is the storage block, so that the block 1 is erased as shown in FIG. Then, the freeze frame data regarding the Z abnormality, A abnormality, B abnormality, and A abnormality stored in the storage areas 1 to 4 of the block 2 is copied to the storage areas 1 to 4 of the block 1, and at the same time, the block 1 Freeze frame data relating to the A abnormality is stored in the storage area 5 of FIG. At this time, the count value for counting the A abnormality is incremented to "3". Further, in preparation for the next abnormality detection, the block 2 is selected as a storage block for storing the freeze frame data.

第6回目の異常としてB異常が検知されると、保存ブロックであるブロック2にフリーズフレームデータが保存されているため、図11に示すように、ブロック2が消去される。そして、ブロック1に保存されているフリーズフレームデータをブロック2にコピーするのであるが、ブロック1の記憶領域1〜5のすべてにフリーズフレームデータが保存されているため、新たなB異常に関するフリーズフレームデータを保存する記憶領域がない。従来技術であれば、最古のフリーズフレームデータ、即ち、ブロック1の記憶領域1に保存されているZ異常に関するフリーズフレームデータに代えて、B異常に関するフリーズフレームデータを上書きする。しかし、このようにすると、せっかく保存したZ異常に関するフリーズフレームデータがなくなり、多様性を損ねてしまう。   When the B abnormality is detected as the sixth abnormality, the freeze frame data is stored in the block 2, which is the storage block, so that the block 2 is erased as shown in FIG. Then, the freeze frame data stored in the block 1 is copied to the block 2. However, since the freeze frame data is stored in all the storage areas 1 to 5 of the block 1, the freeze frame relating to the new B abnormality is There is no storage area for saving data. In the conventional technique, the oldest freeze frame data, that is, the freeze frame data regarding the Z abnormality stored in the storage area 1 of the block 1 is replaced with the freeze frame data regarding the B abnormality. However, if this is done, the freeze frame data regarding the Z anomaly saved will be lost, and the diversity will be impaired.

そこで、カウンタを参照し、カウント値が最大のA異常のうち最古のもの、即ち、記憶領域2に保存されているA異常に関するフリーズフレームデータに代えて、B異常に関するフリーズフレームデータを保存する。具体的には、ブロック2の記憶領域1,3〜5に対して、ブロック1の記憶領域1,3〜5に保存されているZ異常、B異常、A異常及びA異常に関するフリーズフレームデータがコピーされると共に、ブロック2の記憶領域2に対して、新たなB異常に関するフリーズフレームデータが上書きされる。このとき、A異常をカウントするカウント値がデクリメントされて「2」となると共に、B異常をカウントするカウント値がインクリメントされて「2」となる。また、次回の異常検知に備えて、フリーズフレームデータを保存する保存ブロックとして、ブロック1が選択される。   Therefore, the counter is referred to, and instead of the oldest one of the A abnormalities with the maximum count value, that is, the freeze frame data regarding the A abnormality stored in the storage area 2, the freeze frame data regarding the B abnormality is stored. .. Specifically, with respect to the storage areas 1, 3 to 5 of the block 2, freeze frame data regarding the Z abnormality, B abnormality, A abnormality and A abnormality stored in the storage areas 1, 3 to 5 of the block 1 are stored. While being copied, the freeze frame data regarding the new B abnormality is overwritten on the storage area 2 of the block 2. At this time, the count value for counting the A abnormality is decremented to "2", and the count value for counting the B abnormality is incremented to "2". Moreover, in preparation for the next abnormality detection, the block 1 is selected as a storage block for storing the freeze frame data.

以上説明したように、電子制御装置100のプロセッサ120は、異常が検知されたとき、その異常に関するフリーズフレームデータを保存ブロックの記憶領域1〜5に順次保存すると共に、異常種別ごとに記憶領域1〜5に保存したフリーズフレームデータの個数をカウントする。また、電子制御装置100のプロセッサ120は、記憶領域1〜5のすべてにフリーズフレームデータが保存された状態で異常が検知されると、異常種別ごとにカウントされた個数が最大の異常情報が保存されている記憶領域に、新たな異常に関するフリーズフレームデータを上書きする。   As described above, when an abnormality is detected, the processor 120 of the electronic control device 100 sequentially stores freeze frame data relating to the abnormality in the storage areas 1 to 5 of the storage block, and also stores the storage area 1 for each abnormality type. Count the number of freeze frame data stored in ~ 5. Further, the processor 120 of the electronic control device 100 stores the abnormality information with the maximum number counted for each abnormality type when an abnormality is detected in a state where the freeze frame data is stored in all the storage areas 1 to 5. The freeze frame data relating to the new abnormality is overwritten in the existing storage area.

不揮発性メモリ160に保存されるフリーズフレームデータは、各車両データに関して、センサ値又はその物理値が時系列で変化するとは限らない。図12は、そのようなフリーズフレームデータの一例を示している。図12に示すフリーズフレームデータにおいては、「レンジ」、「ソレノイド3の電流」、「CAN受信値」及び「故障情報」は、異常検知前の所定時間に亘ってセンサ値又はその物理値が変化していない。このようなフリーズフレームデータを不揮発性メモリ160に保存すると、その記憶領域を消費するだけでなく、データ保存時間も長くなってしまう。そこで、以下のように工夫をすることで、必要な記憶領域を小さくしつつ、データ保存時間を短縮することができる。なお、データ保存時間を短縮すると、イグニッションスイッチがONからOFFになったことを契機として実行されるセルフシャットオフ処理に必要な時間を短縮することができる。また、データ保存時間の短縮によるバッテリ消耗の低減、消去回数及び書き込み回数の低減による不揮発性メモリ160の寿命延長も期待できる。   In the freeze frame data stored in the non-volatile memory 160, the sensor value or its physical value does not always change in time series for each vehicle data. FIG. 12 shows an example of such freeze frame data. In the freeze frame data shown in FIG. 12, “range”, “current of solenoid 3”, “CAN reception value” and “fault information” are sensor values or physical values thereof that change over a predetermined time before abnormality detection. I haven't. Saving such freeze frame data in the non-volatile memory 160 not only consumes the storage area but also increases the data saving time. Therefore, by taking the following measures, it is possible to shorten the data storage time while reducing the required storage area. It should be noted that if the data storage time is shortened, it is possible to shorten the time required for the self-shutoff process that is executed when the ignition switch is turned from ON to OFF. Further, it is possible to expect a reduction in battery consumption due to a reduction in data storage time and an extension of the life of the non-volatile memory 160 due to a reduction in the number of erases and writes.

[工夫1]
フリーズフレームデータについて、図13に示すように、異常検知3.0秒前の車両データを初期値として、異常検知時までに車両データが変化したか否かを示す初期値変化ビットを付加する。初期値変化ビットは、例えば、車両データが変化しないとき「0」をとり、車両データが変化するとき「1」をとる。図13に示すフリーズフレームデータでは、異常検知3.0秒前の車両データと異常検知2.5秒前の車両データとの間に初期値変化ビットが付加されているが、任意の位置に初期値変化ビットを付加することもできる。ここで、異常検知3.0秒前の車両データを初期値とする理由は、異常検知時(異常発生時)に車両データの変化が大きいためである。
[Device 1]
With respect to the freeze frame data, as shown in FIG. 13, the vehicle data 3.0 seconds before the abnormality detection is set as an initial value, and an initial value change bit indicating whether or not the vehicle data has changed by the time of the abnormality detection is added. The initial value change bit takes "0" when the vehicle data does not change, and takes "1" when the vehicle data changes. In the freeze frame data shown in FIG. 13, an initial value change bit is added between the vehicle data 3.0 seconds before the abnormality detection and the vehicle data 2.5 seconds before the abnormality detection. A value change bit can also be added. Here, the reason why the vehicle data 3.0 seconds before the abnormality detection is used as the initial value is that the change of the vehicle data is large when the abnormality is detected (when the abnormality occurs).

図12に示すフリーズフレームデータでは、「レンジ」、「ソレノイド3の電流」、「CAN受信値」及び「故障情報」が所定時間に亘って変化していない。このため、図13に示すフリーズフレームデータでは、「レンジ」、「ソレノイド3の電流」、「CAN受信値」及び「異常情報」に関連付けられた初期値変化ビットが「0(変化なし)」に設定され、それ以降の車両データが省略されている。即ち、フリーズフレームデータは、初期値変化ビットというパラメータを付加することで圧縮可能となり、必要な記憶領域の削減及びデータ保存時間の短縮を図ることができる。   In the freeze frame data shown in FIG. 12, "range", "current of solenoid 3", "CAN reception value", and "fault information" have not changed over a predetermined time. Therefore, in the freeze frame data shown in FIG. 13, the initial value change bit associated with “range”, “current of solenoid 3”, “CAN received value” and “abnormality information” is set to “0 (no change)”. It is set and the subsequent vehicle data is omitted. That is, the freeze frame data can be compressed by adding a parameter called the initial value change bit, and it is possible to reduce the required storage area and the data storage time.

[工夫2]
フリーズフレームデータについて、図14に示すように、初期値変化ビットに加え、異常検知3.0秒前の車両データを初期値として、その初期値から同一値の車両データがいくつ連続しているかを示すスキップ数を付加する。ここで、初期値変化ビットは1ビットで表現できるため、初期値変化ビット及びスキップ数に1バイト使用する場合、スキップ数を7ビット(0〜127)で表現することができる。なお、図14に示すフリーズフレームデータでは、異常検知3.0秒前の車両データと異常検知2.5秒前の車両データとの間に初期値変化ビット及びスキップ数が付加されているが、任意の位置に初期値変化ビット及びスキップ数を付加することもできる。
[Device 2]
As for the freeze frame data, as shown in FIG. 14, in addition to the initial value change bit, the vehicle data 3.0 seconds before the abnormality detection is used as the initial value, and how many vehicle data of the same value are continuous from the initial value. Add the number of skips shown. Here, since the initial value change bit can be represented by 1 bit, when 1 byte is used for the initial value change bit and the skip number, the skip number can be represented by 7 bits (0 to 127). In the freeze frame data shown in FIG. 14, the initial value change bit and the skip number are added between the vehicle data 3.0 seconds before the abnormality detection and the vehicle data 2.5 seconds before the abnormality detection. The initial value change bit and the number of skips can be added to any position.

図12に示すフリーズフレームデータでは、「エンジン回転」、「プライマリ回転」、「実レシオ」、「目標レシオ」、「Gセンサ」、「ソレノイド1の電流」及び「ソレノイド2の電流」は、夫々、初期値から時系列で「1回」、「2回」、「5回」、「4回」、「2回」、「3回」及び「1回」変化していない。このため、図14に示すフリーズフレームデータでは、「エンジン回転」、「プライマリ回転」、「実レシオ」、「目標レシオ」、「Gセンサ」、「ソレノイド1の電流」及び「ソレノイド2の電流」に関連付けられたスキップ数が、夫々、「1」、「2」、「5」、「4」、「2」、「3」及び「1」に設定され、それ以降の車両データのうちスキップ数に対応する車両データが省略されている。一例を示すと、「実レシオ」は、そのスキップ数が5であるため、初期値と同じ値をとる異常検知2.5秒前、2.0秒前、1.5秒前、1.0秒前及び0.5秒前の車両データが省略され、異常検知時の車両データのみとなっている。従って、フリーズフレームデータは、初期値変化ビットに加えてスキップ数というパラメータを付加することでさらなる圧縮が可能となり、必要な記憶領域の削減及びデータ保存時間の短縮を図ることができる。   In the freeze frame data shown in FIG. 12, "engine rotation", "primary rotation", "actual ratio", "target ratio", "G sensor", "current of solenoid 1" and "current of solenoid 2" are respectively , “1 time”, “2 times”, “5 times”, “4 times”, “2 times”, “3 times” and “1 time” have not changed in time series from the initial value. Therefore, in the freeze frame data shown in FIG. 14, “engine rotation”, “primary rotation”, “actual ratio”, “target ratio”, “G sensor”, “current of solenoid 1” and “current of solenoid 2”. The number of skips associated with is set to "1", "2", "5", "4", "2", "3", and "1", respectively, and the number of skips in the subsequent vehicle data. The vehicle data corresponding to is omitted. As an example, the "actual ratio" has the same number of skips, and therefore takes the same value as the initial value 2.5 seconds before the abnormality detection, 2.0 seconds before, 1.5 seconds before, 1.0 The vehicle data of seconds before and 0.5 seconds before are omitted, and only the vehicle data at the time of abnormality detection is provided. Therefore, the freeze frame data can be further compressed by adding the parameter of the number of skips in addition to the initial value change bit, and the required storage area and the data storage time can be shortened.

図14に示すフリーズフレームデータでは、例えば、スキップ数が「1」の場合、必要な記憶領域の削減の効果が弱く、また、データ圧縮に起因する処理速度の低下が発生する可能性がある。そこで、図15に示すように、不揮発性メモリ160の所定領域に「スキップ数適用回数テーブル」を予め保存しておき、そこに設定されている回数を超える場合にのみ、車両データを省略するようにしてもよい。なお、図15に示すスキップ数適用回数テーブルでは、回数として「2」が設定されている。   In the freeze frame data shown in FIG. 14, for example, when the number of skips is “1”, the effect of reducing the necessary storage area is weak, and the processing speed may decrease due to data compression. Therefore, as shown in FIG. 15, a “skip number application frequency table” is stored in advance in a predetermined area of the non-volatile memory 160, and the vehicle data is omitted only when the number of times set therein is exceeded. You can In the skip count application count table shown in FIG. 15, “2” is set as the count.

図14に示す圧縮後のフリーズフレームデータにおいて、「エンジン回転」、「プライマリ回転」、「Gセンサ」及び「ソレノイド2の電流」に関連付けられたスキップ数は、夫々、「1」、「2」、「2」及び「1」となっている。これらの車両データは、スキップ数適用回数テーブルに設定された回数「2」を超えていないため、初期値以降の車両データの省略が行われず、図16に示すように、異常検知2.5秒前、2.0秒前、1.5秒前、1.0秒前、0.5秒前及び異常検知時のすべての車両データが含まれている。このようにすれば、処理速度を低下させる車両データの省略を回避して、データ圧縮に起因する処理速度の低下を抑制することができる。なお、図16に示すフリーズフレームデータでは、エンジン回転、プライマリ回転、Gセンサ及びソレノイド2の電流に関連付けられたスキップ数が0となっていないが、これらを0としてもよい。また、例えば、サービス工場などでツールを使用してフリーズフレームデータを読み出すとき、スキップ数適用回数テーブルも併せて参照すれば、圧縮されたフリーズフレームデータを解凍することができる(以下同様)。   In the compressed freeze frame data shown in FIG. 14, the skip numbers associated with “engine rotation”, “primary rotation”, “G sensor”, and “current of solenoid 2” are “1” and “2”, respectively. , "2" and "1". Since these vehicle data do not exceed the number of times “2” set in the skip count application frequency table, the vehicle data after the initial value is not omitted, and as shown in FIG. All vehicle data before, 2.0 seconds before, 1.5 seconds before, 1.0 seconds before, 0.5 seconds before, and at the time of abnormality detection are included. With this configuration, it is possible to avoid omission of the vehicle data that reduces the processing speed, and suppress a reduction in processing speed due to data compression. In the freeze frame data shown in FIG. 16, the number of skips associated with the engine rotation, the primary rotation, the G sensor, and the current of the solenoid 2 is not 0, but they may be 0. Further, for example, when the freeze frame data is read using a tool at a service factory or the like, the compressed freeze frame data can be decompressed by referring to the skip count application frequency table as well (the same applies hereinafter).

[工夫3]
不揮発性メモリ160の所定領域に、図17に示すように、各車両データに関連付けられた車両データの初期値からの最小変化量を設定する「不感帯エリアテーブル」を予め保存しておき、初期値に続く車両データが最小変化量を超えていなければ、その車両データは変化していないとみなすようにしてもよい。図17に示す不感帯エリアテーブルでは、「レンジ」、「エンジン回転」及び「プライマリ回転」の最小変化量は、夫々、「0」、「50」及び「60」に設定されているが、他の車両データも同様に最小変化量が設定されている。従って、「レンジ」では、最小変化量が0に設定されているため不感帯がなく、「エンジン回転」では、初期値から50以下の変化量のときには初期値と同一とみなし、「プライマリ回転」では、初期値から60以下の変化量のときには初期値と同一とみなすこととなる。
[Device 3]
As shown in FIG. 17, in a predetermined area of the non-volatile memory 160, a “dead zone area table” for setting the minimum change amount of the vehicle data associated with each vehicle data from the initial value is stored in advance, and the initial value is stored. If the following vehicle data does not exceed the minimum change amount, it may be considered that the vehicle data has not changed. In the dead zone area table shown in FIG. 17, the minimum change amounts of “range”, “engine rotation”, and “primary rotation” are set to “0”, “50”, and “60”, respectively. Similarly, the minimum change amount is set for the vehicle data. Therefore, in the "range", since the minimum change amount is set to 0, there is no dead zone, and in the "engine rotation", when the change amount is 50 or less from the initial value, it is regarded as the same as the initial value, and in the "primary rotation" When the change amount is 60 or less from the initial value, it is regarded as the same as the initial value.

図12に示すフリーズフレームデータでは、「エンジン回転」は、異常検知3.0秒前の初期値が1000であって、異常検知2.5秒前、2.0秒前、1.5秒前、1.0秒前、0.5秒前及び異常検知時の車両データが、夫々、1000、1002、1003、1010、995及び1001となっている。この場合、初期値に対する異常検知2.5秒前から異常検知時までのエンジン回転の変化量は、不感帯エリアテーブルに設定されている50以下であるため、これらは初期値と同一とみなすことができる。このため、図18に示すように、エンジン回転に関する車両データは、初期値から変化していないと判定され、エンジン回転に関連付けられた初期値変化ビットが0(変化なし)に設定され、それ以降の車両データが省略されている。   In the freeze frame data shown in FIG. 12, "engine rotation" has an initial value of 1000 seconds before the abnormality detection is 1000 seconds, and 2.5 seconds before the abnormality detection, 2.0 seconds before, and 1.5 seconds before. , 1.0 seconds ago, 0.5 seconds ago, and the vehicle data at the time of abnormality detection are 1000, 1002, 1003, 1010, 995, and 1001, respectively. In this case, the amount of change in engine speed from 2.5 seconds before the abnormality is detected to the initial value is 50 or less set in the dead zone area table, so these can be regarded as the same as the initial value. it can. Therefore, as shown in FIG. 18, it is determined that the vehicle data regarding the engine rotation has not changed from the initial value, the initial value change bit associated with the engine rotation is set to 0 (no change), and thereafter. Vehicle data is omitted.

一方、図12に示すフリーズフレームデータでは、「プライマリ回転」は、異常検知3.0秒前の初期値が1200であって、異常検知2.5秒前、2.0秒前、1.5秒前、1.0秒前、0.5秒前及び異常検知時の車両データが、夫々、1200、1200、1201、1203、1198及び0となっている。この場合、初期値に対する異常検知時のプライマリ回転の変化量は、不感帯エリアテーブルに設定されている60を超えているため、これらは初期値と同一とみなすことができない。このため、図18に示すように、プライマリ回転は、初期値から変化していると判定され、フリーズフレームデータには初期値に続くすべての車両データが含まれている。なお、他の異常検知対象についても、同様な処理が行われる。   On the other hand, in the freeze frame data shown in FIG. 12, “primary rotation” has an initial value of 1200 seconds before the abnormality detection is 1200 seconds, and is 2.5 seconds before the abnormality detection, 2.0 seconds before, and 1.5 seconds before the abnormality detection. The vehicle data before the second, 1.0 second before, 0.5 second before and the abnormality detection are 1200, 1200, 1201, 1203, 1198 and 0, respectively. In this case, since the change amount of the primary rotation at the time of abnormality detection with respect to the initial value exceeds 60 set in the dead zone area table, these cannot be regarded as the same as the initial value. Therefore, as shown in FIG. 18, it is determined that the primary rotation has changed from the initial value, and the freeze frame data includes all vehicle data following the initial value. Similar processing is performed for other abnormality detection targets.

図14に示すフリーズフレームデータでは、「エンジン回転」に関連付けられたスキップ数が「1」であって、異常検知2.5秒前のエンジン回転が省略され、異常検知2.0秒前、1.5秒前、1.0秒前、0.5秒前及び異常検知時のエンジン回転は、夫々、1002、1003、1010、995及び1001となっている。この場合、初期値に対する異常検知2.5秒前から異常検知時までのエンジン回転の変化量は、不感帯エリアテーブルに設定されている50以下であるため、これらは初期値と同一とみなすことができる。このため、図19に示すように、エンジン回転は、初期値から変化していないと判定され、エンジン回転に関連付けられた初期値変化ビットが0(変化なし)に設定され、それ以降のエンジン回転が省略されている。なお、図19に示すフリーズフレームデータでは、エンジン回転及びプライマリ回転に関連付けられたスキップ数が「1」及び[5]となっているが、これらを実際に省略した車両データの個数としてもよい。   In the freeze frame data shown in FIG. 14, the number of skips associated with “engine rotation” is “1”, engine rotation 2.5 seconds before abnormality detection is omitted, and abnormality detection 2.0 seconds before 1 The engine rotations of 0.5 seconds before, 1.0 seconds before, 0.5 seconds before, and the abnormality detection time are 1002, 1003, 1010, 995, and 1001, respectively. In this case, the amount of change in engine speed from 2.5 seconds before the abnormality is detected to the initial value is 50 or less set in the dead zone area table, so these can be regarded as the same as the initial value. it can. Therefore, as shown in FIG. 19, it is determined that the engine speed has not changed from the initial value, the initial value change bit associated with the engine speed is set to 0 (no change), and the engine speed after that is changed. Is omitted. In the freeze frame data shown in FIG. 19, the number of skips associated with the engine rotation and the primary rotation is “1” and “5”, but these may be the number of vehicle data that are actually omitted.

一方、図14に示すフリーズフレームデータでは、「プライマリ回転」に関連付けられたスキップ数が「2」であって、異常検知2.5秒前及び2.0秒前のプライマリ回転が省略され、異常検知1.5秒前、1.0秒前、0.5秒前及び異常検知時のエンジン回転は、夫々、1201、1203、1198及び0となっている。この場合、初期値に対する異常検知1.5秒前から0.5秒前までのプライマリ回転の変化量は、不感帯エリアテーブルに設定されている60以下であるため、これらは初期値と同一とみなすことができる。このため、図19に示すように、プライマリ回転は、初期値から異常検知0.5秒前まで変化していないと判定され、プライマリ回転に関連付けられたスキップ数が5に設定され、異常検知時のプライマリ回転のみとなっている。   On the other hand, in the freeze frame data shown in FIG. 14, the number of skips associated with the “primary rotation” is “2”, and the primary rotations 2.5 seconds before and 2.0 seconds before the abnormality detection are omitted. The engine rotations at 1.5 seconds before detection, 1.0 seconds before, 0.5 seconds before and abnormality detection are 1201, 1203, 1198 and 0, respectively. In this case, since the change amount of the primary rotation from 1.5 seconds before the abnormality detection to 0.5 seconds before the initial value is 60 or less set in the dead zone area table, these are considered to be the same as the initial value. be able to. Therefore, as shown in FIG. 19, it is determined that the primary rotation has not changed from the initial value to 0.5 seconds before the abnormality detection, the number of skips associated with the primary rotation is set to 5, and when the abnormality is detected, Only the primary rotation of.

このように不感帯を設けることで、車両データの多少の変化は無視されて同一とみなされるので、フリーズフレームデータの圧縮が促進され、データ保存時間をさらに短縮させることができる。   By providing the dead zone in this way, some changes in the vehicle data are ignored and regarded as the same, so that compression of the freeze frame data is promoted and the data storage time can be further shortened.

[工夫4]
不揮発性メモリ160の所定領域に、図20に示すように、異常名に対応付けて、各車両データを保存するか否かを設定する「取得データ一覧テーブル」を予め格納しておく。「取得データ一覧テーブル」は、対象となるすべての異常について設けられている。図20に示す取得データ一覧テーブルは、A/D変換異常に関して、これと相関関係が強い車両データが「保存する」に設定され、これと相関関係が弱い車両データが「保存しない」に設定されている。具体的には、A/D変換異常が検知されたとき、その影響を受けない又は受け難い「CAN受信値」が不要であることを考慮し、取得データ一覧テーブルが設定されている。
[Device 4]
As shown in FIG. 20, an “acquired data list table” for setting whether or not to save each vehicle data is stored in advance in a predetermined area of the non-volatile memory 160 in association with the abnormality name. The “acquired data list table” is provided for all target abnormalities. In the acquired data list table shown in FIG. 20, regarding A / D conversion abnormality, vehicle data having a strong correlation with this is set to “save”, and vehicle data having a weak correlation with this is set to “not save”. ing. Specifically, when the A / D conversion abnormality is detected, the acquired data list table is set in consideration of the fact that the “CAN reception value” that is not affected or is not easily affected is unnecessary.

このようにすれば、A/D変換異常が検知されたとき、図21に示すように、A/D変換異常と相関関係が弱いCAN受信値が省略され、他の車両データのみを含むフリーズフレームデータが不揮発性メモリ160に保存される。従って、このような工夫をすることで、図12に示すフリーズフレームデータの圧縮率を向上させることができ、不揮発性メモリ160にフリーズフレームデータを保存するために必要な時間を短縮することができる。   By doing this, when the A / D conversion abnormality is detected, as shown in FIG. 21, the CAN reception value having a weak correlation with the A / D conversion abnormality is omitted, and the freeze frame including only other vehicle data is omitted. The data is stored in the non-volatile memory 160. Therefore, by making such a measure, the compression rate of the freeze frame data shown in FIG. 12 can be improved, and the time required to store the freeze frame data in the nonvolatile memory 160 can be shortened. ..

他の異常についても説明すると、取得データ一覧テーブルには、図22に示すように、CAN受信異常に関して、これと相関関係が強い車両データが「保存する」に設定され、これと相関関係が弱い車両データが「保存しない」に設定されている。具体的には、CAN受信異常が検知されたとき、その影響を受けない又は受け難い「エンジン回転」、「プリマリ回転」、「セカンダリ回転」及び「踏込AD値」が不要であることを考慮し、取得データ一覧テーブルが設定されている。   Explaining other abnormalities as well, in the acquired data list table, as shown in FIG. 22, vehicle data having a strong correlation with CAN reception abnormality is set to “store” and the correlation is weak. Vehicle data is set to "Do not save". Specifically, when the CAN reception abnormality is detected, it is considered that the "engine rotation", "primary rotation", "secondary rotation", and "stepping AD value" that are not affected or are not easily affected are unnecessary. , Acquisition data list table is set.

このようにすれば、CAN変換異常が検知されたとき、図23に示すように、CAN変換異常と相関関係が弱いエンジン回転、プライマリ回転、セカンダリ回転及び踏込AD値が省略され、他の車両データのみを含むフリーズフレームデータが不揮発性メモリ160に保存される。従って、このような工夫をすることで、図12に示すフリーズフレームデータの圧縮率を向上させることができ、不揮発性メモリ160にフリーズフレームデータを保存するために必要な時間を短縮することができる。   With this configuration, when the CAN conversion abnormality is detected, as shown in FIG. 23, the engine rotation, the primary rotation, the secondary rotation, and the stepping AD value, which have a weak correlation with the CAN conversion abnormality, are omitted, and the other vehicle data is omitted. The freeze frame data including only the data is stored in the nonvolatile memory 160. Therefore, by making such a measure, the compression rate of the freeze frame data shown in FIG. 12 can be improved, and the time required to store the freeze frame data in the nonvolatile memory 160 can be shortened. ..

[工夫5]
上記の技術的思想は、同一又は類似のフリーズフレームデータの保存を極力避けることで、限りある記憶領域に対して多様なフリーズフレームデータを保存できるようにすることを目的としている。ところで、例えば、A/D変換機能に異常が発生した後には、油温センサの検出値が正常にA/D変換されず、油温センサが正常であるにもかかわらず、これが異常であると検知されてしまうおそれがある。
[Device 5]
The above technical idea aims at avoiding the storage of the same or similar freeze frame data as much as possible so that various freeze frame data can be stored in a limited storage area. By the way, for example, after an abnormality occurs in the A / D conversion function, the detected value of the oil temperature sensor is not normally A / D converted, and this is abnormal although the oil temperature sensor is normal. It may be detected.

そこで、不揮発性メモリ160の所定領域に、図24に示すように、各異常に関連付けて、他の異常に関するフリーズフレームデータを保存するか否かを設定した、グルーピングテーブルを予め保存しておく。図24に示すグルーピングテーブルでは、A/D変換異常が検知された後には、A/D変換異常と相関関係が弱いCAN受信異常及びCAN送信異常に関するフリーズフレームデータを保存し、A/D変換異常と相関関係が強い油圧センサ異常及びアクセル開度異常に関するフリーズフレームデータを保存しないことが設定されている。また、CANバスオフ異常が検知された後には、CANバスオフ異常と相関関係が弱い油圧センサ異常及びアクセル開度異常に関するフリーズフレームデータを保存し、CANバスオフ異常と相関関係が強いCAN受信異常及びCAN送信異常に関するフリーズフレームデータを保存しないことが設定されている。なお、他の異常に関しても、同様に設定されている。   Therefore, as shown in FIG. 24, a grouping table in which whether or not to store freeze frame data relating to other abnormalities is set in advance in a predetermined area of the nonvolatile memory 160 is associated with each abnormality. In the grouping table shown in FIG. 24, after the A / D conversion abnormality is detected, freeze frame data relating to the CAN reception abnormality and the CAN transmission abnormality, which have a weak correlation with the A / D conversion abnormality, are stored, and the A / D conversion abnormality is stored. It is set not to store freeze frame data relating to the abnormality of the hydraulic sensor and the abnormality of the accelerator opening, which have a strong correlation with. Further, after the CAN bus off abnormality is detected, freeze frame data relating to the hydraulic sensor abnormality and the accelerator opening abnormality having a weak correlation with the CAN bus off abnormality are stored, and the CAN reception abnormality and the CAN transmission having a strong correlation with the CAN bus off abnormality are stored. It is set not to save freeze frame data related to anomalies. Note that other abnormalities are set similarly.

このようにすれば、図25に示すように、イグニッションスイッチがONからOFFになるまでのドライビングサイクル中に異常が発生した場合、あるドライビングサイクルにおいてA/D変換異常が発生すると、それ以降のドライビングサイクルで油温センサ異常又はアクセル開度異常が発生しても、そのフリーズフレームデータは不揮発性メモリ160に保存されない。また、CANバスオフ異常が発生すると、それ以降のドライビングサイクルでCAN受信異常又はCAN送信異常が発生しても、そのフリーズフレームデータが不揮発性メモリ160に保存されない。従って、不揮発性メモリ160に保存するフリーズフレームデータが減少し、必要な記憶領域の削減及びデータ保存時間の短縮を図ることができる。なお、このような工夫は、上記の[工夫1]〜[工夫4]と組み合わせることもできる。この場合、さらなる、必要な記憶領域の削減及びデータ保存時間の短縮を図ることができる。   In this way, as shown in FIG. 25, when an abnormality occurs during the driving cycle from the ON to OFF state of the ignition switch, if an A / D conversion abnormality occurs in a certain driving cycle, the driving thereafter. Even if the oil temperature sensor abnormality or the accelerator opening abnormality occurs in the cycle, the freeze frame data is not stored in the non-volatile memory 160. When the CAN bus off abnormality occurs, the freeze frame data is not stored in the nonvolatile memory 160 even if the CAN reception abnormality or the CAN transmission abnormality occurs in the subsequent driving cycle. Therefore, the freeze frame data stored in the non-volatile memory 160 is reduced, and the required storage area and the data storage time can be shortened. It should be noted that such a device can be combined with the above [device 1] to [device 4]. In this case, it is possible to further reduce the required storage area and the data storage time.

揮発性メモリ140の所定領域には、上述したように、現在時点を基点とした過去の所定時間に亘る車両データが保存され、異常が検知されるまでこれが逐次更新され続けている。そして、異常検知を契機として、揮発性メモリ140に保存された車両データの更新が中止、即ち、車両データが確定され、イグニッションスイッチのOFFによって、揮発性メモリ140に保存されている車両データがフリーズフレームデータとして不揮発性メモリ160に保存される。この場合、揮発性メモリ140には、ドライビングサイクルにおいて最初に発生した異常に関する車両データが保存され、その後に、故障解析などのためにより有用な異常が発生しても、その異常に関するフリーズフレームデータを不揮発性メモリ160に保存することができなくなってしまう。   As described above, vehicle data for a predetermined time in the past from the current time point as a base point is stored in a predetermined area of the volatile memory 140, and is continuously updated until an abnormality is detected. Then, when the abnormality is detected, the update of the vehicle data stored in the volatile memory 140 is stopped, that is, the vehicle data is confirmed, and the vehicle data stored in the volatile memory 140 is frozen by turning off the ignition switch. The frame data is stored in the non-volatile memory 160. In this case, the volatile memory 140 stores the vehicle data relating to the abnormality that first occurs in the driving cycle, and thereafter, even if a more useful abnormality occurs for failure analysis or the like, the freeze frame data relating to the abnormality is stored. The data cannot be stored in the non-volatile memory 160.

そこで、図26に示すように、揮発性メモリ140にフリーズフレームデータの候補となる車両データを保存する2つの記憶領域(RAM1面目及びRAM2面目)を確保しておき、ドライビングサイクルにおいて発生した異常に関する車両データをRAM1面目に保存して確定し、RAM2面目における車両データの更新を継続する。そして、他の異常が発生した場合、RAM1面目に保存されている車両データより有用でなければ、その異常に関する車両データを無視(破棄)する。一方、他の異常が発生した場合、RAM1面目に保存されている車両データより有用であれば、RAM2面目に保存されている車両データをRAM1面目にコピーして保存する。このとき、RAM2面目には、他の異常が検知された時点の車両データが保存されている。   Therefore, as shown in FIG. 26, two storage areas (first RAM surface and second RAM surface) for storing vehicle data that are candidates for freeze frame data are secured in the volatile memory 140, and the abnormality that occurred in the driving cycle is related. The vehicle data is saved in the RAM 1st surface to be fixed, and the vehicle data in the RAM 2nd surface is continuously updated. Then, when another abnormality occurs, the vehicle data related to the abnormality is ignored (discarded) unless it is more useful than the vehicle data stored on the first RAM surface. On the other hand, when another abnormality occurs, if it is more useful than the vehicle data stored on the RAM1 side, the vehicle data stored on the RAM2 side is copied and stored on the RAM1 side. At this time, the vehicle data at the time when another abnormality is detected is stored in the second RAM surface.

具体的な例を挙げて説明すると、イグニッションスイッチがONになってからOFFになるまでのドライビングサイクルにおいて、図26に示すように、最初にB異常が検知されたとする。この場合、揮発性メモリ140のRAM1面目に、B異常に関する車両データを保存して確定する。次に、B異常より有用でないA異常が検知されると、A異常に関する車両データが無視され、RAM2面目における車両データの更新が継続される。その後、B異常より有用であるZ異常が検知されると、RAM2面目に保存されているZ異常発生時の車両データがRAM1面目にコピーされて保存される。   Explaining with a specific example, it is assumed that in the driving cycle from when the ignition switch is turned on to when the ignition switch is turned off, B abnormality is first detected as shown in FIG. In this case, the vehicle data regarding the B abnormality is stored and confirmed on the RAM1 surface of the volatile memory 140. Next, when the A abnormality, which is less useful than the B abnormality, is detected, the vehicle data relating to the A abnormality is ignored, and the vehicle data update on the second RAM surface is continued. After that, when a Z abnormality, which is more useful than the B abnormality, is detected, the vehicle data stored in the RAM 2 side when the Z abnormality occurs is copied and stored in the RAM 1 side.

このようにすれば、RAM1面目には、ドライビングサイクルにおいて最も有用な異常に関するフリーズフレームデータの候補となる車両データが保存されていることから、その後の故障原因の究明に資することができる。   By doing so, the vehicle data that is the candidate of the freeze frame data relating to the most useful abnormality in the driving cycle is stored on the first surface of the RAM, which can contribute to the subsequent investigation of the cause of failure.

車載機器の特徴として、例えば、A/D変換異常のような電子部品の異常の場合、イグニッションスイッチをONにすると即座に異常が検知されるが、その異常検知から時間をおいて(例えば、200ms後)CAN異常が検知されることも多い。そこで、揮発性メモリ140の所定領域に、図27に示すように、異常検知時までの所定時間に亘る車両データに加えて、異常検知後の所定時間に亘る車両データを保存可能な領域を確保し、その内容を継続して更新する。このようにすれば、2つの異常が短い時間間隔で検知された場合、1つの記憶領域に2つの異常に関する車両データが重畳した状態で保存されることとなり、必要な記憶領域を削減することができる。そして、1つの異常が検知されてから他の異常が検知された場合、より有用な異常に関する車両データを記憶領域から抽出し、これをフリーズフレームデータとすることができる。   As a feature of the vehicle-mounted device, for example, in the case of an abnormality in an electronic component such as an A / D conversion abnormality, when the ignition switch is turned on, the abnormality is immediately detected, but after the abnormality is detected, a time is elapsed (eg, 200 ms After) CAN abnormality is often detected. Therefore, in a predetermined area of the volatile memory 140, as shown in FIG. 27, in addition to vehicle data for a predetermined time until abnormality detection, an area for storing vehicle data for a predetermined time after abnormality detection is secured. Then, the contents are updated continuously. In this way, when two abnormalities are detected at short time intervals, the vehicle data related to the two abnormalities are stored in one storage area in a superposed state, and the required storage area can be reduced. it can. When one abnormality is detected after another abnormality is detected, more useful vehicle data relating to the abnormality can be extracted from the storage area and used as freeze frame data.

不揮発性メモリ160に確保されたブロック1又は2の記憶領域1〜5にフリーズフレームデータが保存されている状態で新たな異常が検知されると、カウント値が最大である複数の異常に関するフリーズフレームデータのいずれかを削除し、そこに新たな異常に関するフリーズフレームデータが上書きされる。削除対象のフリーズフレームデータを選択する方法として、最古のフリーズフレームデータを選択、最新のフリーズフレームデータを選択、類似データの多いフリーズフレームデータを選択、又は、圧縮率が大きいフリーズフレームデータを選択することが考えられる。ここで、圧縮率が大きいフリーズフレームデータは、各車両データについて同一値が連続しているので、圧縮率が小さいフリーズフレームデータよりも有用性が低いと考えることができる。   When a new abnormality is detected in a state where the freeze frame data is stored in the storage areas 1 to 5 of the block 1 or 2 secured in the non-volatile memory 160, a freeze frame relating to a plurality of abnormalities having the maximum count value. One of the data is deleted, and the freeze frame data regarding the new abnormality is overwritten there. As a method to select the freeze frame data to be deleted, select the oldest freeze frame data, select the latest freeze frame data, select freeze frame data with many similar data, or select freeze frame data with a large compression rate. It is possible to do it. Here, since the freeze frame data having a high compression rate has the same value continuously for each vehicle data, it can be considered to be less useful than the freeze frame data having a low compression rate.

図28に示すように、ブロック1の記憶領域1〜5にA異常、A異常、B異常、B異常及びA異常が保存されている場合、A異常のカウント数が「3」、B異常のカウント数が「2」であるため、A異常に関するフリーズフレームデータのいずれかを選択して削除する。このとき、記憶領域1に走行中のフリーズフレームが保存され、記憶領域2及び5に停車中のフリーズフレームデータが保存されていると、停車中の車両状態は走行中の車両状態より変化が小さいと考えられるため、停車中のフリーズフレームデータを削除することが好ましい。なお、停車中のフリーズフレームデータは2つあるため、他の選択方法を組み合わせて1つ選択すればよい。   As shown in FIG. 28, when A abnormality, A abnormality, B abnormality, B abnormality, and A abnormality are stored in the storage areas 1 to 5 of the block 1, the count number of A abnormality is “3”, Since the count number is "2", one of the freeze frame data regarding the A abnormality is selected and deleted. At this time, if the freeze frame during traveling is stored in the storage area 1 and the freeze frame data during stopping is stored in the storage areas 2 and 5, the stopped vehicle state changes less than the running vehicle state. Therefore, it is preferable to delete the freeze frame data while the vehicle is stopped. Since there are two freeze frame data while the vehicle is stopped, it is sufficient to select one by combining other selection methods.

類似データを判定可能とするため、不揮発性メモリ160の所定領域に、図29に示すように、異常名に関連付けて、少なくとも1つの車両データについて類似とみなす幅を規定した「類似データ判定テーブル」を予め保存しておく。ここで、類似データ判定テーブルは、異常の数だけ存在してもよいし、すべての異常の類似性を1つのテーブルで規定してもよい(以下同様)。また、不揮発性メモリ160の所定領域に、図30に示すように、異常名に関連付けて、その異常について基準値を特定可能な「サンプルタイムテーブル」を予め保存しておく。そして、特定の異常に関する類似性を判定するにあたり、その異常に関連付けられた類似データ判定テーブル及びサンプルタイムテーブルを参照し、サンプルタイムテーブルにより特定された基準値を基準として、その車両データが類似データ判定テーブルに規定された値以内であれば「類似データ」であると判定する。   In order to make it possible to determine similar data, as shown in FIG. 29, a "similar data determination table" is defined in a predetermined area of the non-volatile memory 160 in association with an abnormal name to define a width for which at least one vehicle data is considered similar. Save in advance. Here, the similar data determination table may exist as many as the number of abnormalities, or the similarity of all abnormalities may be defined by one table (the same applies hereinafter). Further, as shown in FIG. 30, a “sample time table” capable of specifying a reference value for the abnormality is stored in advance in a predetermined area of the non-volatile memory 160, in association with the abnormality name. Then, in determining the similarity regarding a specific abnormality, the similar data determination table and the sample time table associated with the abnormality are referred to, and the vehicle data is similar data based on the reference value specified by the sample time table. If it is within the value defined in the determination table, it is determined to be “similar data”.

図29及び図30に示す例について説明すると、類似データ判定テーブルとして、車速信号異常については車速が5、すべての回転センサ断線についてはエンジン回転が500かつプライマリ回転が500かつセカンダリ回転が500、ブレーキスイッチ異常については車速が20又は踏込AD値が50であることが規定されている。また、サンプルタイムテーブルとして、車速信号異常については基準値が異常検知3.0秒前のデータ、すべての回転センサ断線については基準値が異常検知時のデータ、ブレーキスイッチ異常については基準値が異常検知1.5秒前のデータであることが規定されている。   Explaining the examples shown in FIGS. 29 and 30, as similar data determination tables, vehicle speed is 5 for abnormal vehicle speed signals, engine rotation is 500, primary rotation is 500, secondary rotation is 500 for all rotation sensor disconnections, and brakes are used. Regarding the switch abnormality, it is specified that the vehicle speed is 20 or the step-on AD value is 50. In addition, as a sample time table, the reference value is 3.0 seconds before the abnormality detection for vehicle speed signal abnormality, the reference value is abnormality detection data for all rotation sensor disconnections, and the reference value is abnormality for the brake switch abnormality. It is specified that the data is 1.5 seconds before the detection.

そして、車速信号異常の類似性を判定する場合、特定の異常の異常検知3.0秒前の車速を基準値として、これと他の異常の異常検知3.0秒前の車速とを比較し、その差が5以下であれば「類似データ」であると判定し、そうでなければ「類似データ」でないと判定する。すべての回転センサ断線の類似性を判定する場合、特定の異常の異常検知時のエンジン回転、プライマリ回転及びセカンダリ回転を基準値として、これらと他の異常の異常検知時のエンジン回転、プライマリ回転及びセカンダリ回転とを比較し、それらの差のすべてが500以内であれば「類似データ」であると判定し、そうでなければ「類似データ」でないと判定する。また、ブレーキスイッチ異常の類似性を判定する場合、特定の異常の異常検知1.5秒前の車速及び踏込AD値を基準値として、これらと他の異常の異常検知1.5秒前の車速及び踏込AD値とを比較し、車速の差が20以内又は踏込AD値の差が50以内であれば「類似データ」であると判定し、そうでなければ「類似データ」でないと判定する。   When determining the similarity of the vehicle speed signal abnormality, the vehicle speed 3.0 seconds before the abnormality detection of the specific abnormality is used as a reference value, and this is compared with the vehicle speed 3.0 seconds before the abnormality detection of the other abnormality. If the difference is 5 or less, it is determined to be “similar data”, and if not, it is determined to not be “similar data”. When determining the similarity of all the rotation sensor disconnection, the engine rotation at the time of abnormality detection of a specific abnormality, the primary rotation and the secondary rotation as a reference value, these and other engine rotation at the time of abnormality detection of the abnormality, primary rotation and The secondary rotation is compared, and if all of the differences are within 500, it is determined that the data is “similar data”, and if not, it is determined that the data is not “similar data”. Further, when determining the similarity of the abnormality of the brake switch, the vehicle speed 1.5 seconds before the abnormality detection of the specific abnormality and the pedal AD value are used as reference values, and the vehicle speed 1.5 seconds before the abnormality detection of the other abnormality. When the difference between the vehicle speeds is within 20 or the difference between the stepping AD values is within 50, it is determined to be "similar data", and otherwise it is determined to not be "similar data".

同一の異常に関する2つのフリーズフレームデータの類似性を判定するにあたり、その内容がある程度異なっていれば、これらは多様性の付与に資するため削除対象から除外することが好ましい。そこで、不揮発性メモリ160の所定領域に、図31に示すように、異常名に関連付けて、少なくとも1つの車両データについて削除対象から除外する値を規定した「除外判定テーブル」を予め保存しておく。また、不揮発性メモリ160の所定領域に、図32に示すように、異常名に関連付けて、その異常について基準値を特定可能な「サンプルタイムテーブル」を予め保存しておく。そして、特定の異常に関するフリーズフレームデータを削除するか否かを判定するにあたり、その異常に関連付けられた除外判定テーブル及びサンプルタイムテーブルを参照し、サンプルタイムテーブルにより特定された基準値を基準として、そのデータが除外判定テーブルに規定された値を超えていれば、その異常に関するフリーズフレームデータを削除対象から除外する。   When determining the similarity between two freeze frame data regarding the same abnormality, if the contents are different to some extent, it contributes to the addition of variety, and therefore it is preferable to exclude them from the deletion target. Therefore, as shown in FIG. 31, in a predetermined area of the non-volatile memory 160, an “exclusion determination table” that defines a value to be excluded from deletion target for at least one vehicle data is stored in advance in association with the abnormal name. . Further, as shown in FIG. 32, a “sample time table” capable of specifying a reference value for the abnormality is stored in advance in a predetermined area of the non-volatile memory 160, in association with the abnormality name. Then, in determining whether to delete the freeze frame data regarding a specific abnormality, with reference to the exclusion determination table and the sample time table associated with the abnormality, with the reference value specified by the sample time table as a reference, If the data exceeds the value specified in the exclusion determination table, the freeze frame data related to the abnormality is excluded from the deletion target.

図31及び図32に示す例について説明すると、除外判定テーブルとして、車速信号異常については車速が50、すべての回転センサ断線についてはエンジン回転が2000またはプライマリ回転が2000またはセカンダリ回転が2000、ブレーキスイッチ異常については車速が100かつ踏込AD値が250であることが規定されている。また、サンプルタイムテーブルとして、車速信号異常については基準値が3.0秒前のデータ、すべての回転センサ断線については基準値が異常検知時のデータ、ブレーキスイッチ異常については基準値が1.5秒前のデータであることが規定されている。   Explaining the examples shown in FIGS. 31 and 32, the exclusion determination table includes a vehicle speed of 50 for abnormal vehicle speed signals, 2000 engine rotation or 2000 primary rotation or 2000 secondary rotation, and a brake switch for all rotation sensor disconnections. Regarding the abnormality, it is specified that the vehicle speed is 100 and the pedaling AD value is 250. In addition, as a sample time table, the reference value is 3.0 seconds before the vehicle speed signal abnormality, the reference value is the abnormality detection data for all the rotation sensor disconnections, and the reference value is 1.5 for the brake switch abnormality. It is specified that the data is seconds before.

そして、車速信号異常について判定する場合、特定の異常の異常検知3.0秒前の車速を基準値として、これと他の異常の異常検知3.0秒前の車速とを比較し、その差が50を超えていれば削除対象から除外すると判定し、そうでなければ削除対象となり得ると判定する。すべての回転センサ断線について判定する場合、特定の異常の異常検知時のエンジン回転数、プライマリ回転数及びセカンダリ回転数を基準値として、これらと他の異常の異常検知時のエンジン回転、プライマリ回転及びセカンダリ回転とを比較し、それらの差のいずれか1つが2000を超えていれば削除対象から除外すると判定し、そうでなければ削除対象となり得ると判定する。また、ブレーキスイッチ異常について判定する場合、特定の異常の異常検知1.5秒前の車速及び踏込AD値を基準値として、これらと他の異常の異常検知1.5秒前の車速及び踏込AD値とを比較し、車速の差が100を超えかつ踏込AD値の差が250を超えていれば削除対象から除外すると判定し、そうでなければ削除対象となり得ると判定する。   When determining a vehicle speed signal abnormality, the vehicle speed 3.0 seconds before the abnormality detection of a specific abnormality is used as a reference value, and this is compared with the vehicle speed 3.0 seconds before the abnormality detection of another abnormality, and the difference between them is determined. If it exceeds 50, it is determined to be excluded from the deletion target, and if not, it is determined to be the deletion target. When determining for all the rotation sensor disconnection, the engine speed at the time of abnormality detection of a specific abnormality, the primary rotation speed and the secondary rotation speed as a reference value, engine rotation at the time of abnormality detection of these and other abnormalities, primary rotation and The secondary rotation is compared, and if any one of these differences exceeds 2000, it is determined to be excluded from the deletion target, and if not, it is determined to be the deletion target. Further, in the case of determining the abnormality of the brake switch, the vehicle speed and the depression AD value 1.5 seconds before the abnormality detection of the specific abnormality are used as a reference value and the vehicle speed and the depression AD value 1.5 seconds before the abnormality detection of the other abnormality. When the difference between the vehicle speeds exceeds 100 and the difference between the pedaling AD values exceeds 250, it is determined to be excluded from the deletion target, and otherwise it is determined to be the deletion target.

各種異常の中には、例えば、検出頻度が稀な異常、安全性に関する異常、検出頻度が高い異常、安全性に係らない異常など、不揮発性メモリ160に保存する優先順位を付けることができる異常がある。そこで、不揮発性メモリ160の所定領域に、図33に示すように、異常名に関連付けて、異常をカウントするカウンタ値に対する重み付け値を規定した「重み付けテーブル」を予め保存しておく。そして、削除するフリーズフレームデータを選択するにあたり、重み付けテーブルを参照し、各異常のカウンタ値に対して重み付け値を乗算した値が最大のフリーズフレームデータを削除する。   Among various abnormalities, for example, abnormalities that are rarely detected, abnormalities related to safety, abnormalities that are frequently detected, abnormalities that are not related to safety, and the like that can be prioritized to be stored in the non-volatile memory 160. There is. Therefore, as shown in FIG. 33, a “weighting table” defining weighting values for counter values for counting anomalies is stored in advance in a predetermined area of the non-volatile memory 160 in association with an anomaly name. When selecting the freeze frame data to be deleted, the weighting table is referred to, and the freeze frame data having the maximum value obtained by multiplying the counter value of each abnormality by the weight value is deleted.

図33に示す例について説明すると、重み付けテーブルとして、プライマリ回転センサ断線については1回あたりのカウント値が4、ソレノイド機能故障については1回あたりのカウント値が1、A/D変換異常については1回あたりのカウント値が2であることが規定されている。即ち、プライマリ回転センサ断線は、検出頻度が高いため削除対象に選択され易いように重み付け値が4となり、ソレノイド機能故障は、検出頻度が稀で故障に至った解析に有用であるため削除対象に選択され難いように重み付け値が1となり、A/D変換異常は、これらの中間であると考えられるため重み付け値が2となっている。   The example shown in FIG. 33 will be described. As the weighting table, the count value per time is 4 for the primary rotation sensor disconnection, 1 for the solenoid function failure, and 1 for the A / D conversion abnormality. It is specified that the count value per time is 2. That is, since the primary rotation sensor disconnection has a high detection frequency, the weighting value is 4 so that it can be easily selected as a deletion target, and the solenoid function failure is rarely detected and useful for analysis resulting in a failure. The weighting value is 1 so that it is difficult to select, and the weighting value is 2 because the A / D conversion abnormality is considered to be in the middle of these.

そして、カウンタ値を参照して削除対象を選択する場合、図34に示すように、ブロック1の記憶領域1〜5に、プライマリ回転センサ断線、ソレノイド機能故障、ソレノイド機能故障、A/D変換異常及びソレノイド機能故障が夫々保存されていたと仮定する。この場合、プライマリ回転センサ断線のカウンタ値は「1」、ソレノイド機能故障のカウンタ値は「3」、A/D変換異常のカウンタ値は「1」となる。重み付けテーブルを参照すると、プライマリ回転センサ断線、ソレノイド機能故障及びA/D変換異常の重み付けは「4」、「1」及び「2」であるので、これらと上記カウンタ値とを乗算すると、プライマリ回転センサ断線、ソレノイド機能故障及びA/D変換異常のカウント値は「4」、「3」及び「2」となる。従って、カウント値が最大のプライマリ回転センサ断線に関するフリーズフレームデータが削除対象となる。   When the deletion target is selected with reference to the counter value, as shown in FIG. 34, the primary rotation sensor disconnection, the solenoid function failure, the solenoid function failure, and the A / D conversion abnormality are stored in the storage areas 1 to 5 of the block 1. And that the solenoid malfunction has been saved, respectively. In this case, the counter value of the primary rotation sensor disconnection is "1", the counter value of the solenoid function failure is "3", and the counter value of the A / D conversion abnormality is "1". Referring to the weighting table, since the weights of the primary rotation sensor disconnection, the solenoid function failure, and the A / D conversion abnormality are "4", "1", and "2", when these are multiplied by the counter value, the primary rotation sensor is rotated. The count values of sensor disconnection, solenoid function failure, and A / D conversion abnormality are "4", "3", and "2". Therefore, the freeze frame data regarding the disconnection of the primary rotation sensor having the maximum count value is to be deleted.

新たな異常が検知されたとき、それまでに検知された異常に関するフリーズフレームデータの中から、異常をカウントするカウント値を用いて削除するフリーズフレームデータを選択するだけでなく、新たな異常も考慮して削除するフリーズフレームデータを選択することもできる。そこで、不揮発性メモリ160の所定領域に、図35に示すように、異常名に関連付けて、今回の異常を考慮するか否かを規定する「考慮規定テーブル」を予め保存しておく。そして、ブロックに保存された異常に関するフリーズフレームのどれを削除するかを選択するにあたり、異常をカウントするカウンタ値に加え、考慮規定テーブルの規定内容に応じて今回の異常もカウント値に含め、カウント値が最大の異常に関するフリーズフレームデータを削除する。   When a new abnormality is detected, in addition to selecting the freeze frame data to be deleted using the count value that counts the abnormality from the freeze frame data related to the abnormality detected up to that point, the new abnormality is also considered. You can also select the freeze frame data to delete. Therefore, as shown in FIG. 35, a “consideration regulation table” that regulates whether or not to consider the current abnormality is stored in advance in a predetermined area of the non-volatile memory 160, in association with the abnormality name. Then, when selecting which of the freeze frames related to the anomaly stored in the block should be deleted, in addition to the counter value that counts the anomaly, this anomaly is also included in the count value according to the contents of the consideration regulation table and counted. Remove freeze frame data for anomalies with maximum values.

図35に示す例について説明すると、考慮規定テーブルとして、車速信号異常は今回の異常を考慮する(1)、すべての回転センサ断線は今回の異常を考慮しない(0)、ブレーキスイッチ異常は今回の異常を考慮する(1)と規定されている。従って、車速信号異常及びブレーキスイッチ異常については、カウンタ値に対して1を加えた値を用いることとなる。   Explaining the example shown in FIG. 35, as a consideration regulation table, the abnormality of the vehicle speed signal considers the abnormality of this time (1), the disconnection of all the rotation sensors does not consider the abnormality of this time (0), and the abnormality of the brake switch indicates this time. It is stipulated that (1) considers anomalies. Therefore, for the vehicle speed signal abnormality and the brake switch abnormality, the value obtained by adding 1 to the counter value is used.

そして、カウンタ値及び考慮規定テーブルを参照して削除対象を選択する場合、図36に示すように、ブロック1の記憶領域1〜5に、すべての回転センサ断線、ブレーキスイッチ異常、車速信号異常、車速信号異常及びブレーキスイッチ異常が夫々保存されていたと仮定する。この状態では、車速信号異常、すべての回転センサ断線及びブレーキスイッチ異常のカウンタ値は、夫々、「2」、「1」及び「2」となる。新たな異常として車速信号異常が検知されると、これが考慮されるべきことが規定されているため、車速信号異常、すべての回転センサ断線及びブレーキスイッチ異常のカウンタ値は、夫々、「3」、「1」及び「2」となる。従って、カウンタ値が最大である車速信号異常に関するフリーズフレームデータが削除対象として選択される。   Then, when the deletion target is selected by referring to the counter value and the consideration regulation table, as shown in FIG. 36, all rotation sensor disconnections, brake switch abnormalities, vehicle speed signal abnormalities are stored in the storage areas 1 to 5 of the block 1. It is assumed that the vehicle speed signal abnormality and the brake switch abnormality have been saved respectively. In this state, the counter values for vehicle speed signal abnormality, all rotation sensor disconnection and brake switch abnormality are "2", "1" and "2", respectively. It is stipulated that when a vehicle speed signal abnormality is detected as a new abnormality, this should be taken into consideration. Therefore, the counter values of vehicle speed signal abnormality, all rotation sensor disconnection and brake switch abnormality are "3", It becomes "1" and "2". Therefore, the freeze frame data relating to the vehicle speed signal abnormality having the maximum counter value is selected as the deletion target.

以上、様々な実施形態及び変形例について説明したが、上記の実施形態及び変形例に限らず、技術的に矛盾がない限りにおいて、上記実施形態及び変形例並びに技術常識を適宜組み合わせ又は組み替えてもよい。   Although various embodiments and modified examples have been described above, the embodiments and modified examples are not limited to the above-described embodiments and modified examples, and may be appropriately combined or rearranged as long as there is no technical contradiction. Good.

100 電子制御装置
120 プロセッサ
140 揮発性メモリ
160 不揮発性メモリ
162 EEPROM
164 フラッシュメモリ
100 electronic control unit 120 processor 140 volatile memory 160 non-volatile memory 162 EEPROM
164 Flash memory

Claims (10)

異常情報の記憶領域が複数確保された不揮発性メモリを備えた電子制御装置であって、
異常が検知されたとき、当該異常に関する異常情報を前記記憶領域に順次保存すると共に、前記異常の種別ごとに前記記憶領域に保存した異常情報の個数をカウントし、
前記複数の記憶領域のすべてに異常情報が保存された状態で異常が検知されると、前記異常の種別ごとにカウントされた個数が最大の異常情報が保存されている記憶領域に、新たな異常に関する異常情報を上書きする、
電子制御装置。
An electronic control device comprising a non-volatile memory in which a plurality of storage areas for abnormality information are secured,
When an abnormality is detected, the abnormality information regarding the abnormality is sequentially stored in the storage area, and the number of pieces of abnormality information stored in the storage area is counted for each type of the abnormality,
When an abnormality is detected in a state where the abnormality information is stored in all of the plurality of storage areas, a new abnormality is stored in the storage area in which the maximum number of abnormality information counted for each type of abnormality is stored. Overwrite the anomaly information about
Electronic control unit.
前記異常情報は、前記異常が検知される前の所定時間に亘る車両データである、
請求項1に記載の電子制御装置。
The abnormality information is vehicle data for a predetermined time before the abnormality is detected,
The electronic control device according to claim 1.
前記異常情報は、前記異常が検知される前の所定時点における車両データを基準値として、当該基準値と同一値を有する他の車両データを圧縮した状態で保存される、
請求項2に記載の電子制御装置。
The abnormality information is stored in a state in which the vehicle data at a predetermined time point before the abnormality is detected is set as a reference value and other vehicle data having the same value as the reference value is compressed.
The electronic control device according to claim 2.
前記基準値は、時系列で最古の車両データである、
請求項3に記載の電子制御装置。
The reference value is the oldest vehicle data in time series,
The electronic control device according to claim 3.
前記車両データは、前記基準値を中心とした所定範囲内にあれば同一値であるとみなされる、
請求項3又は請求項4に記載の電子制御装置。
The vehicle data is considered to be the same value if it is within a predetermined range centered on the reference value,
The electronic control device according to claim 3 or 4.
前記異常情報は、複数種類の車両データのうち、検知された異常の相関関係に応じて選別された種類の車両データを含んでいる、
請求項1〜請求項5のいずれか1つに記載の電子制御装置。
The abnormality information includes a plurality of types of vehicle data, the type of vehicle data selected according to the correlation of the detected abnormality,
The electronic control device according to any one of claims 1 to 5.
異常が検知されたとき、当該異常に伴って発生する他の種別の異常に関する異常情報の保存をスキップする、
請求項1〜請求項6のいずれか1つに記載の電子制御装置。
When an abnormality is detected, the saving of abnormality information regarding other types of abnormality that occurs with the abnormality is skipped,
The electronic control device according to any one of claims 1 to 6.
前記異常の種別ごとにカウントされた個数が最大の異常情報が複数ある場合、前記車両データの類似性を考慮して、当該類似性がある複数の異常情報の中から所定規則に則って選択された異常情報が保存されている記憶領域に、新たな異常に関する異常情報を上書きする、
請求項1〜請求項7のいずれか1つに記載の電子制御装置。
When there is a plurality of pieces of abnormality information having the largest number of counts for each type of abnormality, in consideration of the similarity of the vehicle data, the abnormality information is selected from a plurality of pieces of abnormality information according to a predetermined rule. Overwrite the abnormality information about the new abnormality in the storage area where the abnormal information is saved.
The electronic control device according to any one of claims 1 to 7.
前記異常の種別に応じた重み付け値を考慮して、前記異常情報の個数をカウントする、
請求項1〜請求項8のいずれか1つに記載の電子制御装置。
Counting the number of the abnormality information in consideration of a weighted value according to the type of abnormality,
The electronic control device according to any one of claims 1 to 8.
前記新たな異常の種別を考慮して、前記異常情報の個数をカウントする、
請求項1〜請求項9のいずれか1つに記載の電子制御装置。
Counting the number of the abnormality information in consideration of the new abnormality type,
The electronic control device according to any one of claims 1 to 9.
JP2018210707A 2018-11-08 2018-11-08 electronic controller Active JP7260995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018210707A JP7260995B2 (en) 2018-11-08 2018-11-08 electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018210707A JP7260995B2 (en) 2018-11-08 2018-11-08 electronic controller

Publications (2)

Publication Number Publication Date
JP2020075646A true JP2020075646A (en) 2020-05-21
JP7260995B2 JP7260995B2 (en) 2023-04-19

Family

ID=70723389

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018210707A Active JP7260995B2 (en) 2018-11-08 2018-11-08 electronic controller

Country Status (1)

Country Link
JP (1) JP7260995B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040489A (en) * 1996-07-25 1998-02-13 Media Intelligent Kk Detection data analyzer
JP2008176465A (en) * 2007-01-17 2008-07-31 Ricoh Co Ltd Log information management method and information equipment
JP2010173494A (en) * 2009-01-29 2010-08-12 Fujitsu Ten Ltd Control device and control method
JP2012250641A (en) * 2011-06-03 2012-12-20 Denso Corp Data recorder
JP2015001439A (en) * 2013-06-14 2015-01-05 日立オートモティブシステムズ株式会社 Battery controller
JP2016012213A (en) * 2014-06-27 2016-01-21 株式会社デンソー Electronic control unit
JP2017194048A (en) * 2016-04-15 2017-10-26 トヨタ自動車株式会社 Failure diagnosis device of internal combustion engine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040489A (en) * 1996-07-25 1998-02-13 Media Intelligent Kk Detection data analyzer
JP2008176465A (en) * 2007-01-17 2008-07-31 Ricoh Co Ltd Log information management method and information equipment
JP2010173494A (en) * 2009-01-29 2010-08-12 Fujitsu Ten Ltd Control device and control method
JP2012250641A (en) * 2011-06-03 2012-12-20 Denso Corp Data recorder
JP2015001439A (en) * 2013-06-14 2015-01-05 日立オートモティブシステムズ株式会社 Battery controller
JP2016012213A (en) * 2014-06-27 2016-01-21 株式会社デンソー Electronic control unit
JP2017194048A (en) * 2016-04-15 2017-10-26 トヨタ自動車株式会社 Failure diagnosis device of internal combustion engine

Also Published As

Publication number Publication date
JP7260995B2 (en) 2023-04-19

Similar Documents

Publication Publication Date Title
US7809481B2 (en) Vehicle abnormality monitoring apparatus
US20090138137A1 (en) In-vehicle electronic control apparatus having monitoring control circuit
US8219280B2 (en) Vehicle information storage apparatus
US5968107A (en) System and method for engine parameter trending
US6349250B1 (en) Clear historic data from a vehicle data recorder
JP6125111B2 (en) In-vehicle electronic control unit
US8798854B2 (en) Data recorder
US20080059038A1 (en) Vehicle Characteristics Storing Apparatus And Method
KR101131344B1 (en) Method for the Model-Based Diagnosis of a Mechatronic System
US20100250061A1 (en) Vehicle control device
CN103109066B (en) For the method and apparatus of monitoring the function of exhaust sensor
JP5285458B2 (en) Control apparatus and control method
GB2125577A (en) Self monitoring system
WO2013191619A1 (en) Diagnostics for a starter motor
US8874309B2 (en) Method for acquiring information
JP2020075646A (en) Electronic control device
JP5387637B2 (en) Electronic control unit
US6502021B2 (en) Vehicle control computer apparatus having self-diagnosis function
US7664595B2 (en) Fault code memory manager architecture concept consisting of a dedicated monitoring unit module and a fault memory manager administrator module for heavy duty diesel engine
CN113153502B (en) Fault determination method and fault determination system for engine SCR carrier and engine
US11339703B2 (en) Engine emission prediction system
JP2007198290A (en) Vehicle malfunction diagnosis device
US6839622B2 (en) Vehicle control system
CN110017234B (en) Method for operating a device of a computing unit
US11333094B2 (en) Method for estimating the ageing of an exhaust gas sensor and an industrial vehicle for implementing this method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210603

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230407

R150 Certificate of patent or registration of utility model

Ref document number: 7260995

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150