Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7638830B2 - Vehicle control device - Google Patents
[go: Go Back, main page]

JP7638830B2 - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP7638830B2
JP7638830B2 JP2021140681A JP2021140681A JP7638830B2 JP 7638830 B2 JP7638830 B2 JP 7638830B2 JP 2021140681 A JP2021140681 A JP 2021140681A JP 2021140681 A JP2021140681 A JP 2021140681A JP 7638830 B2 JP7638830 B2 JP 7638830B2
Authority
JP
Japan
Prior art keywords
data
information
ffd
write
vehicle
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.)
Active
Application number
JP2021140681A
Other languages
Japanese (ja)
Other versions
JP2023034433A (en
Inventor
健太郎 中野
美由記 秋元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co 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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2021140681A priority Critical patent/JP7638830B2/en
Publication of JP2023034433A publication Critical patent/JP2023034433A/en
Application granted granted Critical
Publication of JP7638830B2 publication Critical patent/JP7638830B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、フリーズフレームデータの記憶に関わる制御を行う車両用制御装置に関する。 The present invention relates to a vehicle control device that controls the storage of freeze frame data.

従来から、車両に搭載されたECU(Electronic Control Unit:電子制御ユニット)のCPUは、車両故障の発生時に、フリーズフレームデータ(Freeze Frame Data:FFD、例えば、冷却水温情報、エンジン回転数情報、スロットル開度情報、車速情報、燃圧情報、吸気温度情報などやこれらと紐づく故障要因情報を含む)を不揮発性メモリ(例えば、EEPROM)に記憶する。ECUのCPUは、起動時に不揮発性メモリからフリーズフレームデータを読み出して揮発性メモリ(RAM)に記憶し、このときミラーチェックやサムチェックなどのデータ誤りの検出手法を用いてデータ破壊の有無のチェックを実行する。ECUに対してダイアグツールが接続された場合には、ECUのCPUはダイアグツールからの要求に応じて揮発性メモリからフリーズフレームデータを読み出してダイアグツールへ送信する(例えば、特許文献1参照)。 Conventionally, when a vehicle malfunction occurs, the CPU of an ECU (Electronic Control Unit) mounted on a vehicle stores freeze frame data (FFD, including, for example, coolant temperature information, engine RPM information, throttle opening information, vehicle speed information, fuel pressure information, intake temperature information, and malfunction cause information linked to these) in a non-volatile memory (for example, EEPROM). When the ECU's CPU starts up, it reads the freeze frame data from the non-volatile memory and stores it in a volatile memory (RAM), and at this time checks for data corruption using a data error detection method such as a mirror check or a sum check. When a diagnostic tool is connected to the ECU, the ECU's CPU reads the freeze frame data from the volatile memory in response to a request from the diagnostic tool and sends it to the diagnostic tool (for example, see Patent Document 1).

特開2007-138726号公報JP 2007-138726 A

ところで、フリーズフレームデータはそのデータ量が大きいために分割して不揮発性メモリの複数のセクションにわたって連続的に保持されることになる。 However, because freeze frame data is large, it is divided and stored continuously across multiple sections of non-volatile memory.

また、データの不揮発性メモリへの書き込みには一定の時間を要するため、膨大なデータ量のフリーズフレームデータを不揮発性メモリに書き込むには多くの時間(例えば、数秒)を要することがある。このため、フリーズフレームデータの不揮発性メモリへの書き込み中にバッテリ抜けや瞬断の発生などにより電源供給が途絶える虞がある。 In addition, because writing data to non-volatile memory takes a certain amount of time, writing a huge amount of freeze frame data to non-volatile memory can take a long time (e.g., several seconds). For this reason, there is a risk that the power supply will be cut off due to the battery being removed or a momentary interruption while the freeze frame data is being written to non-volatile memory.

そして、一の車両の故障が発生した際の一のフリーズフレームデータの不揮発性メモリへの書き込み中に電源供給が途絶えると当該一のフリーズフレームデータの不揮発性メモリへの書き込みが途中で終了してしまう。この場合には、一のフリーズフレームデータの一部は不揮発性メモリの複数のセクションのうちの該当するセクションに書き込まれて保持されることになるが、一のフリーズフレームデータの残りは複数のセクションのうちの該当するセクションに書き込まれずに保持されない状況となる。このとき、複数のセクションの各々に保持されているデータが一のフリーズフレームデータに関するものであるか否かを判定できなければ、一のフリーズフレームデータに関係しないデータを含めて車両故障の解析を行ってしまい、正確な車両故障の解析ができないことになる。 If the power supply is interrupted while writing a freeze frame data to the non-volatile memory when a vehicle failure occurs, the writing of the freeze frame data to the non-volatile memory will be interrupted. In this case, part of the freeze frame data will be written to and stored in a corresponding section of the multiple sections of the non-volatile memory, but the remainder of the freeze frame data will not be written to and stored in the corresponding section of the multiple sections. In this case, if it is not possible to determine whether the data stored in each of the multiple sections is related to the freeze frame data, the vehicle failure will be analyzed including data unrelated to the freeze frame data, and an accurate analysis of the vehicle failure will not be possible.

本発明の目的は、一の車両の故障が発生した際の一のフリーズフレームデータに関らないものを含めて車両の故障を解析してしまうという不具合を防止できる車両用制御装置を提供することである。 The object of the present invention is to provide a vehicle control device that can prevent the problem of analyzing a vehicle fault including data that is not related to a single freeze frame data when a fault occurs in the vehicle.

前記の目的を達成するため、本発明に係る車両用制御装置は、車両の故障が発生した際のフリーズフレームデータの記憶に関わる制御を行う車両用制御装置であって、一の車両の故障が発生した際に、一のフリーズフレームデータを構成する複数のセクション書込データの各々を不揮発性メモリの複数のセクションのうちの該当するセクションに故障情報として書き込み、当該複数のセクションの各々に相関性のある相関データを書込確認情報として書き込む書込処理を行うものであって、前記書込処理では一つのセクションへの前記セクション書込データ及び前記相関データの書き込みを終了した後に他の一つのセクションへの前記セクション書込データ及び前記相関データの書き込みを行う書込手段と、前記不揮発性メモリから前記一のフリーズフレームデータを読み出す際に、前記複数のセクションの各々に保持されている前記書込確認情報に互いに相関性があるか否かを判定し、前記複数のセクションに保持されている前記故障情報を、前記書込確認情報に互いに相関性があると判定された場合には車両の故障の解析に用いる情報であるとし、前記書込確認情報に互いに相関性があると判定されなかった場合には車両の故障の解析に用いる情報であるとしない、判定手段とを備えることを特徴としている。 In order to achieve the above object, the vehicle control device according to the present invention is a vehicle control device that controls the storage of freeze frame data when a vehicle failure occurs, and performs a write process in which, when a vehicle failure occurs, each of a plurality of section write data constituting one freeze frame data is written as failure information to a corresponding section of a plurality of sections in a non-volatile memory, and correlation data that is correlated to each of the plurality of sections is written as write confirmation information. In the write process, after writing of the section write data and the correlation data to one section is completed, the section write data and the correlation data are written to another section, and when reading the one freeze frame data from the non-volatile memory, it is characterized in that it includes a write means that determines whether the write confirmation information held in each of the plurality of sections is correlated with each other, and determines that the failure information held in the plurality of sections is information to be used for analyzing the vehicle failure if it is determined that the write confirmation information is correlated with each other, and does not determine that the write confirmation information is information to be used for analyzing the vehicle failure if it is not determined that the write confirmation information is correlated with each other.

この構成によれば、一の車両の故障が発生した際の一のフリーズフレームデータの不揮発性メモリへの書き込みに成功した場合には不揮発性メモリの複数のセクションの各々に保持されている書込確認情報には互いに相関性がある一方で、一のフリーズフレームデータを不揮発性メモリに書き込んでいる途中に電源供給が途絶えるなどして当該一のフリーズフレームデータの不揮発性メモリへの書き込みに失敗した場合にはセクション書込データを書き込むことができたセクションに保持されている書込確認情報と書き込むことができなかったセクションに保持されている書込確認情報とには相関性がないものとなる。このため、複数のセクションの各々に保持されている書込確認情報の中に他の書込確認情報と相関性がないものがあれば当該複数のセクションの各々に保持されている故障情報の中に一のフリーズフレームデータに関らないものが含まれていると判定でき、一のフリーズフレームデータに関らないものを含めて車両故障の解析を行ってしまうという不具合を防止できる。 According to this configuration, when a vehicle failure occurs and a freeze frame data is successfully written to the non-volatile memory, the write confirmation information stored in each of the multiple sections of the non-volatile memory is correlated with each other, whereas when a freeze frame data is not successfully written to the non-volatile memory due to a power supply interruption while the freeze frame data is being written to the non-volatile memory, there is no correlation between the write confirmation information stored in the section in which the section write data was successfully written and the write confirmation information stored in the section in which the section write data was not successfully written. Therefore, if there is no correlation between the write confirmation information stored in each of the multiple sections and other write confirmation information, it can be determined that the failure information stored in each of the multiple sections includes information unrelated to the freeze frame data, and the problem of analyzing the vehicle failure including information unrelated to the freeze frame data can be prevented.

また、複数のセクションの各々に保持されている書込確認情報に互いに相関性があるか否かを判定することにより、複数のセクションの各々に保持されている故障情報が一のフリーズフレームデータに関わるものであるか否かを判定できるので当該判定に要する時間が短くて済む。 In addition, by determining whether the write confirmation information stored in each of the multiple sections is correlated with each other, it is possible to determine whether the fault information stored in each of the multiple sections is related to a single freeze frame data, thereby shortening the time required for this determination.

また、前記書込手段は、今回の車両の故障が発生した際に前記複数のセクションの各々に前記書込確認情報として今回書き込む相関性のある相関データを、前回の車両の故障が発生した際に前記複数のセクションの各々に前記書込確認情報として前回書き込まれた相関性のある相関データとは相関性のないデータとするとしてもよい。 The writing means may write the correlated correlation data currently written to each of the plurality of sections as the write confirmation information when a current vehicle failure occurs, to data that is not correlated with the correlated correlation data previously written to each of the plurality of sections as the write confirmation information when a previous vehicle failure occurred.

これによれば、今回の車両故障の発生時のフリーズフレームデータと以前の車両故障の発生時のフリーズフレームデータとが混在したデータを用いて車両故障の解析を行ってしまうという不具合を防止できる。 This prevents the problem of analyzing a vehicle failure using a mixture of freeze frame data from the current vehicle failure and freeze frame data from a previous vehicle failure.

また、前記書込確認情報に互いに相関性があると判定されなかった場合には前記複数のセクションの各々に保持されている前記故障情報及び前記書込確認情報を消去する消去手段をさらに備えるとしてもよい。 The system may further include an erasing means for erasing the failure information and the write confirmation information stored in each of the multiple sections if it is determined that the write confirmation information is not correlated with each other.

これによれば、今後、フリーズフレームデータの不揮発性メモリへの書き込みに失敗した場合の不揮発性メモリの複数のセクションの各々に保持されている故障情報を用いて車両故障の解析を行ってしまうという不具合をより一層防止できる。 This will further prevent future issues such as vehicle failure analysis using failure information stored in each of multiple sections of non-volatile memory when writing freeze frame data to non-volatile memory fails.

本発明によれば、一の車両の故障が発生した際に、一のフリーズフレームデータを構成する複数のセクション書込データの各々を不揮発性メモリの複数のセクションのうちの該当するセクションに故障情報として書き込み、当該複数のセクションの各々に相関性のある相関データを書込確認情報として書き込むため、当該複数のセクションの各々に保持されている書込確認情報に互いに相関性があるか否かを判定することにより、当該複数のセクションの各々に保持されている故障情報が一のフリーズフレームデータに関わるものであるか否かを判定でき、一のフリーズフレームデータに関らないものを含めて車両故障の解析を行ってしまうという不具合を防止できる。このように、一のフリーズフレームデータを不揮発性メモリの複数のセクションにわたって分割して保持する場合に好適である。 According to the present invention, when a vehicle failure occurs, each of the multiple section write data constituting one freeze frame data is written as failure information to a corresponding one of the multiple sections of the non-volatile memory, and correlation data that is correlated to each of the multiple sections is written as write confirmation information. Therefore, by determining whether the write confirmation information held in each of the multiple sections is correlated with each other, it is possible to determine whether the failure information held in each of the multiple sections is related to one freeze frame data, and the problem of analyzing a vehicle failure including information unrelated to one freeze frame data can be prevented. In this way, it is suitable for storing one freeze frame data divided across multiple sections of the non-volatile memory.

本発明の一実施形態に係る車両用制御システムの構成を示すブロック図である。1 is a block diagram showing a configuration of a vehicle control system according to an embodiment of the present invention; 図1のメインECUのCPUにおいて行われるフリーズフレームデータ(FFD)保存処理の処理フローを示すフローチャートである。2 is a flowchart showing a process flow of freeze frame data (FFD) storage processing performed by a CPU of a main ECU in FIG. 1 . 図1のメインECUのCPUにおいて行われるフリーズフレームデータ(FFD)読込処理の処理フローを示すフローチャートである。2 is a flowchart showing a process flow of a freeze frame data (FFD) reading process performed by a CPU of a main ECU in FIG. 1 . (a)はフリーズフレームデータのデータフラッシュへの書き込みの成功例を説明するための図であり、(b)はフリーズフレームデータのデータフラッシュへの書き込みの失敗例を説明するための図である。1A is a diagram for explaining an example of successful writing of freeze frame data to the data flash, and FIG. 1B is a diagram for explaining an example of unsuccessful writing of freeze frame data to the data flash. FIG.

以下では、本発明の実施形態について、添付図面を参照しつつ詳細に説明する。 The following describes in detail an embodiment of the present invention with reference to the accompanying drawings.

1.車両用制御システムのシステム構成
本発明の一実施形態に係る車両用制御システムSの構成について図1を参照して説明する。
1. System Configuration of Vehicle Control System The configuration of a vehicle control system S according to an embodiment of the present invention will be described with reference to FIG.

車両用制御システムSは、車両1に搭載され、例えば車両1の故障が発生した際の後述するフリーズフレームデータ(以下では、適宜、「FFD」と記載する。)の記憶に関わる制御などを行うシステムである。 The vehicle control system S is a system that is installed in the vehicle 1 and performs control related to the storage of freeze frame data (hereinafter, appropriately referred to as "FFD"), which will be described later, when a malfunction occurs in the vehicle 1, for example.

車両用制御システムSは、メインECU10やECU30、50、70など複数のECUを備えており、当該複数のECUはバス2に接続されて他のECUとの間でCAN(Controller Area Network)通信を行う。例えば、メインECU10はECU30、50、70などとの間で定期的に通信を行う。なお、ECU30、50、70などの例として、エンジンスロットルの開度の制御やエンジンの停止制御などを行うエンジンECU、ステレオカメラが撮影した画像に基づいて先行車と車両1との相対速度や車間距離などの算出を行うステレオカメラECU、エンジンの燃料噴射量や吸入空気量などを制御するEFI-ECUなどを挙げることができる。 The vehicle control system S includes multiple ECUs, such as a main ECU 10 and ECUs 30, 50, and 70, which are connected to a bus 2 and communicate with the other ECUs via a controller area network (CAN). For example, the main ECU 10 periodically communicates with the ECUs 30, 50, and 70. Examples of the ECUs 30, 50, and 70 include an engine ECU that controls the engine throttle opening and engine stop control, a stereo camera ECU that calculates the relative speed and vehicle distance between the preceding vehicle and vehicle 1 based on images captured by a stereo camera, and an EFI-ECU that controls the engine fuel injection amount, intake air amount, etc.

車両用制御システムSにはバッテリ3が設けられている。また、車両用制御システムSには車両1のエンジンの始動や各種電気系統の制御を行うための装置であるイグニッションスイッチ4が設けられている。メインECU10の後述するマイクロコンピュータ(以下、「マイコン」と記載する。)11はイグニッションスイッチ4を介してバッテリ3に接続されており、メインECU10の後述するマイコン11にはイグニッションスイッチ4がオン状態である場合にバッテリ3から電源供給が行われ、イグニッションスイッチ4がオフ状態である場合にバッテリ3から電源供給が行われないようになっている。なお、車両用制御システムSにはメインECU10のマイコン11以外にも電源供給を必要とするユニットがあり、図1には図示していないがバッテリ3から当該電源供給を必要とするユニットへの電源供給が可能に構成されている。 The vehicle control system S is provided with a battery 3. The vehicle control system S is also provided with an ignition switch 4, which is a device for starting the engine of the vehicle 1 and controlling various electrical systems. A microcomputer (hereinafter, referred to as "microcomputer") 11 of the main ECU 10, which will be described later, is connected to the battery 3 via the ignition switch 4. When the ignition switch 4 is in an on state, the microcomputer 11 of the main ECU 10 is supplied with power from the battery 3, and when the ignition switch 4 is in an off state, power is not supplied from the battery 3. In addition to the microcomputer 11 of the main ECU 10, the vehicle control system S has other units that require power supply, and although not shown in FIG. 1, the battery 3 is configured to be able to supply power to the units that require power supply.

車両用制御システムSにはアクチュエータ5が備えられており、アクチュエータ5はメインECU10に接続されてメインECU10の後述するマイコン11が備える後述するCPU12により駆動制御される。 The vehicle control system S is equipped with an actuator 5, which is connected to the main ECU 10 and is driven and controlled by a CPU 12 (described later) provided in a microcomputer 11 (described later) of the main ECU 10.

メインECU10には、マイコン11が搭載され、車両1などの車両の故障を診断するための故障診断ツールを搭載した端末(不図示:以下、適宜、「故障診断ツール搭載端末」と記載する。)の接続用のオンボードダイアグノーシス(On board diagnostics:OBD)コネクタTが設けられている。 The main ECU 10 is equipped with a microcomputer 11 and is provided with an on-board diagnostics (OBD) connector T for connecting a terminal equipped with a fault diagnosis tool for diagnosing faults in a vehicle such as the vehicle 1 (not shown; hereinafter, appropriately referred to as a "terminal equipped with a fault diagnosis tool").

マイコン11は、各種演算及び各種制御を行うCPU12と、コードフラッシュメモリ(以下、「コードフラッシュ」と記載する。)13A、データフラッシュメモリ(以下、「データフラッシュ」と記載する。)13B及びSRAM13Cを含むメモリ13と、コンピュータ内部でCPU12と周辺機器が通信を行うための窓口となる端子又は回路であるI/Oポート14とを備える。マイコン11にはイグニッションスイッチ4がオン状態である場合にバッテリ3から電源供給が行われ、イグニッションスイッチ4がオフ状態である場合にバッテリ3から電源供給が行われないようになっている。 The microcomputer 11 includes a CPU 12 that performs various calculations and various controls, memory 13 including a code flash memory (hereinafter referred to as "code flash") 13A, a data flash memory (hereinafter referred to as "data flash") 13B and an SRAM 13C, and an I/O port 14 which is a terminal or circuit that serves as a gateway for communication between the CPU 12 and peripheral devices within the computer. When the ignition switch 4 is on, power is supplied to the microcomputer 11 from the battery 3, and when the ignition switch 4 is off, power is not supplied from the battery 3.

コードフラッシュ13Aは、保持内容の書き換えが可能であって、バッテリ3などからの電源供給が行われている状態に加えバッテリ3などからの電源供給が途絶えた状態でも記憶内容を保持し続けることが可能な不揮発性メモリであり、例えば図2のフリーズフレームデータ(FFD)保持処理用のプログラムや図3のフリーズフレームデータ(FFD)読込処理用のプログラムなどの各種プログラムなどを保持する。また、データフラッシュ13Bは、保持内容の書き換えが可能であって、バッテリ3などからの電源供給が行われている状態に加えバッテリ3などからの電源供給が途絶えた状態でも記憶内容を保持し続けることが可能な不揮発性メモリであり、例えばFFDや後述するキーワードなどの各種データなどを保持し、本発明の「不揮発性メモリ」に相当する。また、SRAM13Cは、保持内容の書き換えが可能であって、バッテリ3などからの電源供給が行われている状態では記憶内容を保持し続けることが可能であるが、バッテリ3などからの電源供給が途絶えると記憶内容が失われる揮発性メモリであり、例えばFFDや後述するキーワードなどの各種データなどを保持する。SRAM13Cはデータフラッシュ13Bに比べ読み出し速度が速い。なお、コードフラッシュ13Aの代わりに例えばコードフラッシュ13A以外の他の不揮発性メモリを用いてもよく、データフラッシュ13Bの代わりに例えばデータフラッシュ13B以外の他の不揮発性メモリを用いてもよく、SRAM13Cの代わりに例えばデータフラッシュ13B又はその代わりに用いるデータフラッシュ13B以外の他の不揮発性メモリよりも読み出し速度が速い、SRAM13C以外の揮発性メモリを用いてもよい。 The code flash 13A is a non-volatile memory that can rewrite the stored contents and can continue to hold the stored contents even when the power supply from the battery 3 is interrupted in addition to when the power supply from the battery 3 is being supplied. For example, it holds various programs such as the freeze frame data (FFD) storage process program in FIG. 2 and the freeze frame data (FFD) reading process program in FIG. 3. The data flash 13B is a non-volatile memory that can rewrite the stored contents and can continue to hold the stored contents even when the power supply from the battery 3 is interrupted in addition to when the power supply from the battery 3 is being supplied. For example, it holds various data such as FFD and keywords to be described later, and corresponds to the "non-volatile memory" of the present invention. The SRAM 13C is a volatile memory that can rewrite the stored contents and can continue to hold the stored contents while the power supply from the battery 3 is being supplied, but loses the stored contents when the power supply from the battery 3 is interrupted. For example, it holds various data such as FFD and keywords to be described later. The SRAM 13C has a faster read speed than the data flash 13B. Note that the code flash 13A may be replaced with, for example, a nonvolatile memory other than the code flash 13A, the data flash 13B may be replaced with, for example, a nonvolatile memory other than the data flash 13B, and the SRAM 13C may be replaced with, for example, a volatile memory other than the SRAM 13C that has a faster read speed than the data flash 13B or a nonvolatile memory other than the data flash 13B used instead.

CPU12は、本実施形態では、例えば、アクチュエータ5の駆動制御を行ったり、図2及び図4を用いて後に詳述するフリーズフレームデータ(FFD)保持処理や図3及び図4を用いて後に詳述するフリーズフレームデータ(FFD)読込処理を行ったりする。 In this embodiment, the CPU 12, for example, controls the drive of the actuator 5, and performs a freeze frame data (FFD) storage process, which will be described in detail later with reference to Figures 2 and 4, and a freeze frame data (FFD) reading process, which will be described in detail later with reference to Figures 3 and 4.

フリーズフレームデータ(FFD)保持処理では、CPU12は、車両1の故障が発生した際に、収集していた車両情報やこれらと紐づく故障要因情報を含むFFDを複数のデータ(一つのデータは例えば同一の属性の情報から構成されている。:本発明の「セクション書込データ」に相当し、以下では、適宜、「セクション書込データ」と記載する。)に分けて当該複数のセクション書込データの各々をデータフラッシュ13Bの複数のセクション(一つのセクションは一つのセクション書込データ及び一つのキーワードを書き込むメモリ領域である。)のうちの該当するセクションに故障情報として書き込み、当該複数のセクションの各々に同一のキーワード(本発明の「相関性のある相関データ」に相当)を書込確認情報として書き込む書込処理を行い、当該書込処理では一つのセクションへのセクション書込データ及びキーワードの書き込みを終了した後に他の一つのセクションへのセクション書込データ及びキーワードの書き込みを行う(本発明の「書込手段」による処理に相当)。 In the freeze frame data (FFD) retention process, when a fault occurs in the vehicle 1, the CPU 12 divides the FFD, which includes the collected vehicle information and fault cause information linked to the vehicle information, into multiple data (one data is, for example, composed of information with the same attribute: corresponding to the "section write data" of the present invention, and hereinafter referred to as "section write data" as appropriate), writes each of the multiple section write data as fault information to a corresponding section among multiple sections of the data flash 13B (one section is a memory area to write one section write data and one keyword), and performs a write process to write the same keyword (corresponding to the "correlated data with correlation" of the present invention) to each of the multiple sections as write confirmation information, and in the write process, after writing the section write data and keyword to one section, writes the section write data and keyword to another section (corresponding to the process by the "write means" of the present invention).

ここで、車両情報は、例えば、CPU12を備えるメインECU10に接続されたセンサの計測結果などやバス2を介したCAN通信で取得した他のECU30、50、70に接続されたセンサの計測結果などであり、例えば、冷却水温情報、エンジン回転数情報、スロットル開度情報、車速情報、燃圧情報、吸気温度情報などであり、CPU12は車両情報を定期的に収集している。また、故障要因情報は、車両1の故障の要因に関わる情報であり、例えば、ECU30との間の定期的な通信が途絶えた通信異常に関わる通信異常情報などであり、CPU12は車両1の故障の発生時に故障要因情報を取得する。 Here, the vehicle information is, for example, the measurement results of sensors connected to the main ECU 10 equipped with the CPU 12, and the measurement results of sensors connected to the other ECUs 30, 50, 70 acquired through CAN communication via the bus 2, such as coolant temperature information, engine RPM information, throttle opening information, vehicle speed information, fuel pressure information, and intake temperature information, and the CPU 12 periodically collects the vehicle information. Furthermore, the failure cause information is information related to the cause of the failure of the vehicle 1, such as communication anomaly information related to a communication anomaly in which regular communication with the ECU 30 has been interrupted, and the CPU 12 acquires the failure cause information when a failure occurs in the vehicle 1.

フリーズフレームデータ(FFD)読込処理では、CPU12は、データフラッシュ13BからFFDを読み出し、その際に、データフラッシュ13Bの複数のセクションの各々に保持されている書込確認情報(キーワード)が全て同一であるか否かを判定し、複数のセクションに保持されている故障情報(セクション書込データ)を、書込確認情報(キーワード)が全て同一であると判定された場合には車両1の故障の解析に用いる情報であるとし、書込確認情報(キーワード)が全て同一であると判定されなかった場合には車両1の故障の解析に用いる情報であるとしない(本発明の「判定手段」による処理に相当)。また、CPU12は、書込確認情報(キーワード)が全て同一であると判定されなかった場合には、データフラッシュ13Bの複数のセクションの各々に保持されている故障情報(セクション書込データ)及び書込確認情報(キーワード)を初期化して消去する(本発明の「消去手段」による処理に相当)。 In the freeze frame data (FFD) read process, the CPU 12 reads the FFD from the data flash 13B, and at that time, judges whether or not the write confirmation information (keywords) held in each of the multiple sections of the data flash 13B are all the same. If it is judged that the write confirmation information (keywords) are all the same, the fault information (section write data) held in the multiple sections is information to be used for analyzing the fault of the vehicle 1, and if it is not judged that the write confirmation information (keywords) are all the same, the fault information is not information to be used for analyzing the fault of the vehicle 1 (corresponding to the process by the "judgment means" of the present invention). In addition, if it is not judged that the write confirmation information (keywords) are all the same, the CPU 12 initializes and erases the fault information (section write data) and the write confirmation information (keywords) held in each of the multiple sections of the data flash 13B (corresponding to the process by the "erasing means" of the present invention).

2.フリーズフレームデータ(FFD)保持処理
2.1.フリーズフレームデータ(FFD)保持処理の処理フロー
メインECU10のCPU12において行われるフリーズフレームデータ(FFD)保持処理の処理フローについて図2を参照しつつ詳細に説明する。図2のフリーズフレームデータ(FFD)保持処理の処理フローは所定周期(例えば、5ms)で実行される。
2. Freeze frame data (FFD) retention process 2.1. Processing flow of freeze frame data (FFD) retention process The processing flow of the freeze frame data (FFD) retention process performed by the CPU 12 of the main ECU 10 will be described in detail with reference to Fig. 2. The processing flow of the freeze frame data (FFD) retention process in Fig. 2 is executed at a predetermined cycle (e.g., 5 ms).

フリーズフレームデータ(FFD)保持処理では、まず、CPU12は車両1の故障が発生したか否かを判定する(ステップS1)。 In the freeze frame data (FFD) retention process, the CPU 12 first determines whether a malfunction has occurred in the vehicle 1 (step S1).

ステップS1の判定処理において車両1の故障が発生していないと判定された場合には(ステップS1のNO)、図2のフリーズフレームデータ(FFD)保持処理を終了する。一方、ステップS1の判定処理において車両1の故障が発生していると判定された場合には(ステップS1のYES)、収集していた車両情報やこれらと紐づく故障要因情報を含むFFDをデータフラッシュ13Bに書き込むために、ステップS2の処理に進む。 If it is determined in the determination process of step S1 that no malfunction has occurred in the vehicle 1 (NO in step S1), the freeze frame data (FFD) retention process of FIG. 2 is terminated. On the other hand, if it is determined in the determination process of step S1 that a malfunction has occurred in the vehicle 1 (YES in step S1), the process proceeds to step S2 in order to write the FFD, which includes the collected vehicle information and malfunction cause information linked to the information, to the data flash 13B.

例えば、メインECU10は他のECU30、50、70と定期的に通信を行っており、CPU12はメインECU10とECU30との間の通信が予め定められた期間途絶えた通信異常により車両1に故障が発生したと判定し(ステップS1のYES)、収集していた車両情報やこれらと紐づく故障要因情報を含むFFDをデータフラッシュ13Bに書き込むために、ステップS2の処理に進む。この場合、FFDに含まれる車両情報は、メインECU10に接続されたセンサの計測結果などやECU50、70に接続されたセンサの計測結果などを含むとともに、ECU30との通信が途絶える前にECU30から受け取っていたECU30に接続されたセンサの計測結果などを含み、故障要因情報はECU30との間の通信異常に関わる通信異常情報である。 For example, the main ECU 10 periodically communicates with the other ECUs 30, 50, and 70, and the CPU 12 determines that a failure has occurred in the vehicle 1 due to a communication abnormality in which communication between the main ECU 10 and the ECUs 30 has been interrupted for a predetermined period of time (YES in step S1), and proceeds to processing in step S2 to write the FFD containing the collected vehicle information and failure cause information linked to the collected vehicle information to the data flash 13B. In this case, the vehicle information contained in the FFD includes the measurement results of the sensors connected to the main ECU 10 and the measurement results of the sensors connected to the ECUs 50 and 70, as well as the measurement results of the sensors connected to the ECU 30 that were received from the ECU 30 before communication with the ECU 30 was interrupted, and the failure cause information is communication abnormality information related to the communication abnormality with the ECU 30.

CPU12はキーワードを生成し(ステップS2)、ステップS3の処理に進む。ステップS2におけるキーワードの生成では、CPU12は前回生成したキーワードとは異なるように(前回生成したキーワードとは相関性がないように)キーワードを生成する。前回生成したキーワードと異なるキーワードの生成は、例えば、ランダムに乱数を発生させて抽出し、抽出した乱数をキーワードとして用いることにより行う。 The CPU 12 generates a keyword (step S2) and proceeds to processing in step S3. In generating the keyword in step S2, the CPU 12 generates a keyword that is different from the previously generated keyword (so that it has no correlation with the previously generated keyword). A keyword that is different from the previously generated keyword is generated, for example, by randomly generating and extracting a random number, and using the extracted random number as the keyword.

CPU12は、FFD及びキーワードを最初に書き込むデータフラッシュ13Bのセクションを指定し(ステップS3)、ステップS4に進む。 The CPU 12 specifies the section of the data flash 13B into which the FFD and keywords are to be written first (step S3), and proceeds to step S4.

CPU12は、ステップS2で生成したキーワードをデータフラッシュ13Bの指定セクションに書込確認情報として書き込み、FFDを構成する複数のセクション書込データのうちのデータフラッシュ13Bにまだ書き込まれていない該当するセクション書込データを当該指定セクションに故障情報として書き込む、FFD及びキーワードの指定セクションへの書き込み処理を行い(ステップS4)、ステップS5の処理に進む。なお、ステップS4の書き込み処理では、例えば、指定セクションの先頭領域からキーワードを書き込み、キーワードを書き込んだ領域の次の領域からセクション書込データを書き込む。 The CPU 12 writes the keyword generated in step S2 to the specified section of the data flash 13B as write confirmation information, and writes the relevant section write data that has not yet been written to the data flash 13B among the multiple section write data constituting the FFD to the specified section as failure information, performs a write process of the FFD and the keyword to the specified section (step S4), and proceeds to the process of step S5. Note that in the write process of step S4, for example, the keyword is written from the top area of the specified section, and the section write data is written from the area next to the area where the keyword was written.

CPU12は、FFDの全て(FFDを構成する複数のセクション書込データの全て)をデータフラッシュ13Bに書き込んだか否かを判定する(ステップS5)。 The CPU 12 determines whether or not the entire FFD (all of the multiple section write data that make up the FFD) has been written to the data flash 13B (step S5).

ステップS5の判定処理においてFFDの全てをデータフラッシュ13Bに書き込んだと判定されなかった場合には(ステップS5のNO)、ステップS6の処理に進む。 If it is not determined in the determination process of step S5 that all of the FFD has been written to the data flash 13B (NO in step S5), proceed to the process of step S6.

CPU12は、FFD及びキーワードを次に書き込むデータフラッシュ13Bのセクションを指定し(データフラッシュ13Bの指定セクションを次に移動し)(ステップS6)、ステップS4の処理に戻る。 The CPU 12 specifies the section of the data flash 13B into which the FFD and keywords will be written next (moves to the next specified section of the data flash 13B) (step S6), and returns to the processing of step S4.

ステップS5の判定処理においてFFDの全てをデータフラッシュ13Bに書き込んだと判定された場合には(ステップS5のYES)、図2のフリーズフレームデータ(FFD)保持処理を終了する。 If it is determined in the determination process of step S5 that all of the FFD has been written to the data flash 13B (YES in step S5), the freeze frame data (FFD) retention process of FIG. 2 is terminated.

2.2.FFDのデータフラッシュへの書き込みの具体例
図2のフリーズフレームデータ(FFD)保持処理でのFFDのデータフラッシュ13Bへの書き込みの具体例について図4を参照しつつ詳細に説明する。
2.2 Specific Example of Writing FFD to Data Flash A specific example of writing FFD to the data flash 13B in the freeze frame data (FFD) holding process of FIG. 2 will be described in detail with reference to FIG.

2.2.1.FFDのデータフラッシュへの書き込みの成功例
N回目の車両の故障が発生した際のFFDのデータフラッシュ13Bへの書き込み中に電源供給が断たれることなく、FFDのデータフラッシュ13Bへの書き込みに成功した成功例について図4(a)を参照しつつ詳細に説明する。
2.2.1. Example of Successful Writing to Data Flash of FFD A detailed description will be given of an example of successful writing to the data flash 13B of the FFD without interrupting the power supply during writing to the data flash 13B of the FFD when the Nth vehicle failure occurs, with reference to FIG. 4( a).

図4(a)の例では、N回目の車両の故障が発生した際のFFDは4つの故障情報A1~A4から構成され、FFDの書き込み対象のデータフラッシュ13Bのセクションは4つのセクションA~Dであるとする。 In the example of FIG. 4(a), the FFD when the Nth vehicle failure occurs is composed of four pieces of failure information A1 to A4, and the sections of data flash 13B to which the FFD is written are four sections A to D.

CPU12は車両1の故障を発生したか否かを判定し(ステップS1)、車両1の故障が発生していると判定し(ステップS1のYES)、収集していた車両情報やこれらと紐づく故障要因情報を含むFFDをデータフラッシュ13Bに書き込むための処理に移行する。 The CPU 12 determines whether a malfunction has occurred in the vehicle 1 (step S1), and if it determines that a malfunction has occurred in the vehicle 1 (YES in step S1), it proceeds to a process of writing the FFD, which includes the collected vehicle information and the malfunction cause information linked to the vehicle information, to the data flash 13B.

CPU12はキーワード(Key=0x12345678)を生成する(ステップS2)。 The CPU 12 generates a keyword (Key = 0x12345678) (step S2).

CPU12は、FFD及びキーワードを最初に書き込むデータフラッシュ13BのセクションをセクションAに指定し(ステップS3)、図4(a-1)に示すように、Key=0x12345678及び故障情報A1を指定セクションAに書き込む(ステップS4)。 The CPU 12 designates the section of the data flash 13B into which the FFD and keyword are to be written first as section A (step S3), and writes Key=0x12345678 and failure information A1 to the designated section A (step S4), as shown in FIG. 4(a-1).

CPU12は、FFDの全てをデータフラッシュ13Bに書き込んだか否かを判定し(ステップS5)、FFDの全てをデータフラッシュ13Bに書き込んだと判定せず(ステップS5のNO)、FFD及びキーワードを次に書き込むデータフラッシュ13BのセクションをセクションBに指定し(ステップS6)、図4(a-2)に示すように、Key=0x12345678及び故障情報A2を指定セクションBに書き込む(ステップS4)。 The CPU 12 determines whether the entire FFD has been written to the data flash 13B (step S5), and if it does not determine that the entire FFD has been written to the data flash 13B (NO in step S5), it designates section B as the section of the data flash 13B to which the FFD and keyword are to be written next (step S6), and writes Key=0x12345678 and failure information A2 to the designated section B (step S4), as shown in FIG. 4(a-2).

CPU12は、FFDの全てをデータフラッシュ13Bに書き込んだか否かを判定し(ステップS5)、FFDの全てをデータフラッシュ13Bに書き込んだと判定せず(ステップS5のNO)、FFD及びキーワードを次に書き込むデータフラッシュ13BのセクションをセクションCに指定し(ステップS6)、図4(a-3)に示すように、Key=0x12345678及び故障情報A3を指定セクションCに書き込む(ステップS4)。 The CPU 12 determines whether the entire FFD has been written to the data flash 13B (step S5), and if it does not determine that the entire FFD has been written to the data flash 13B (NO in step S5), it designates section C as the section of the data flash 13B to which the FFD and keyword are to be written next (step S6), and writes Key=0x12345678 and failure information A3 to the designated section C (step S4), as shown in FIG. 4(a-3).

CPU12は、FFDの全てをデータフラッシュ13Bに書き込んだか否かを判定し(ステップS5)、FFDの全てをデータフラッシュ13Bに書き込んだと判定せず(ステップS5のNO)、FFD及びキーワードを次に書き込むデータフラッシュ13BのセクションをセクションDに指定し(ステップS6)、図4(a-4)に示すように、Key=0x12345678及び故障情報A4を指定セクションDに書き込む(ステップS4)。 The CPU 12 determines whether the entire FFD has been written to the data flash 13B (step S5), and if it does not determine that the entire FFD has been written to the data flash 13B (NO in step S5), it designates section D as the section of the data flash 13B to which the FFD and keyword are to be written next (step S6), and writes Key=0x12345678 and failure information A4 to the designated section D (step S4), as shown in FIG. 4(a-4).

CPU12は、FFDの全てをデータフラッシュ13Bに書き込んだか否かを判定し(ステップS5)、FFDの全てをデータフラッシュ13Bに書き込んだと判定し(ステップS5のYES)、図2のフリーズフレームデータ(FFD)保持処理を終了する。 The CPU 12 determines whether or not the entire FFD has been written to the data flash 13B (step S5), and if it determines that the entire FFD has been written to the data flash 13B (YES in step S5), ends the freeze frame data (FFD) retention process of FIG. 2.

上述したFFDのデータフラッシュ13Bへの書き込みに成功した成功例では、図4(a)に示すように、データフラッシュ13Bの4つのセクションA~DにはN回目の車両の故障が発生した際のFFDを構成する4つの故障情報A1~A4が書き込まれて保持されるとともに、セクションA~Dの各々には同一のKey=0x12345678が書き込まれて保持されることになる。 In a successful example of the above-mentioned FFD being written to the data flash 13B, as shown in FIG. 4(a), the four pieces of fault information A1 to A4 that make up the FFD when the Nth vehicle fault occurs are written and stored in the four sections A to D of the data flash 13B, and the same Key = 0x12345678 is written and stored in each of the sections A to D.

2.2.2.FFDのデータフラッシュへの書き込みの失敗例
N+1回目の車両の故障が発生した際のFFDのデータフラッシュ13Bへの書き込み中に電源供給が断たれて、FFDのデータフラッシュ13Bへの書き込みに失敗した失敗例について図4(b)を参照しつつ詳細に説明する。
2.2.2. Example of Failure in Writing to the Data Flash of the FFD A failure example in which writing to the data flash 13B of the FFD fails because the power supply is cut off during writing to the data flash 13B of the FFD when the N+1th vehicle failure occurs will be described in detail with reference to FIG. 4(b).

図4(b)の例では、N+1回目の車両の故障が発生した際のFFDは4つの故障情報B1~B4から構成され、FFDの書き込み対象のデータフラッシュ13Bのセクションは4つのセクションA~Dであるとする。また、N+1回目の車両の故障が発生する前のデータフラッシュ13Bには、セクションA~DにN回目の車両の故障が発生した際のFFDを構成する故障情報A1~A4が保持されているとともに、セクションA~Dの各々に同一のKey=0x12345678が保持されている(図4(a)参照)。 In the example of FIG. 4(b), the FFD when the N+1th vehicle failure occurs is composed of four pieces of failure information B1 to B4, and the sections of the data flash 13B to which the FFD is written are four sections A to D. Furthermore, in the data flash 13B before the N+1th vehicle failure occurs, sections A to D hold the failure information A1 to A4 that constitute the FFD when the Nth vehicle failure occurs, and each of sections A to D holds the same Key = 0x12345678 (see FIG. 4(a)).

CPU12は車両1の故障を発生したか否かを判定し(ステップS1)、車両1の故障が発生していると判定し(ステップS1のYES)、収集していた車両情報やこれらと紐づく故障要因情報を含むFFDをデータフラッシュ13Bに書き込むための処理に移行する。 The CPU 12 determines whether a malfunction has occurred in the vehicle 1 (step S1), and if it determines that a malfunction has occurred in the vehicle 1 (YES in step S1), it proceeds to a process of writing the FFD, which includes the collected vehicle information and the malfunction cause information linked to the vehicle information, to the data flash 13B.

CPU12は前回作成したキーワード(Key=0x12345678)と異なる(相関性のない)キーワード(Key=0x98765432)を生成する(ステップS2)。 The CPU 12 generates a keyword (Key = 0x98765432) that is different (uncorrelated) from the previously created keyword (Key = 0x12345678) (step S2).

CPU12は、FFD及びキーワードを最初に書き込むデータフラッシュ13BのセクションをセクションAに指定し(ステップS3)、図4(b-1)に示すように、Key=0x98765432及び故障情報B1を指定セクションAに書き込む(ステップS4)。 The CPU 12 designates the section of the data flash 13B into which the FFD and keyword are to be written first as section A (step S3), and writes Key=0x98765432 and failure information B1 to the designated section A (step S4), as shown in FIG. 4(b-1).

CPU12は、FFDの全てをデータフラッシュ13Bに書き込んだか否かを判定し(ステップS5)、FFDの全てをデータフラッシュ13Bに書き込んだと判定せず(ステップS5のNO)、FFD及びキーワードを次に書き込むデータフラッシュ13BのセクションをセクションBに指定し(ステップS6)、図4(b-2)に示すように、Key=0x98765432及び故障情報B2を指定セクションBに書き込む(ステップS4)。 The CPU 12 determines whether the entire FFD has been written to the data flash 13B (step S5), and if it does not determine that the entire FFD has been written to the data flash 13B (NO in step S5), it designates section B as the section of the data flash 13B to which the FFD and keyword are to be written next (step S6), and writes Key=0x98765432 and failure information B2 to the designated section B (step S4), as shown in FIG. 4(b-2).

Key=0x98765432及び故障情報B2の指定セクションBへの書き込みが終了した後に、バッテリ抜けや瞬断の発生などにより電源供給が途絶えたとする。この場合、実行中のフリーズフレームデータ(FFD)保持処理は、Key=0x98765432及び故障情報B3のセクションCへの書き込み、及び、Key=0x98765432及び故障情報B4のセクションDへの書き込みが実行されることなく終了してしまう。この結果、セクションCとセクションDにはN+1回目の車両の故障が発生する前の内容が保持されたままになる、つまり、Key=0x12345678及び故障情報A3とKey=0x12345678及び故障情報A4が保持されたままになる(図4(b-3)~(b-4))。 After writing Key = 0x98765432 and failure information B2 to specified section B, suppose that the power supply is cut off due to battery removal or a momentary interruption. In this case, the freeze frame data (FFD) storage process being executed ends without writing Key = 0x98765432 and failure information B3 to section C, and without writing Key = 0x98765432 and failure information B4 to section D. As a result, sections C and D will continue to hold the contents before the N+1th vehicle failure occurred, that is, Key = 0x12345678 and failure information A3 and Key = 0x12345678 and failure information A4 will continue to be held (Figures 4 (b-3) to (b-4)).

上記したFFDのデータフラッシュ13Bへの書き込みに失敗した失敗例では、図4(b)に示すように、データフラッシュ13BのセクションA、BにはN+1回目の車両1の故障が発生した際のFFDの故障情報B1、B2が書き込まれて保持されるとともに、セクションA、Bの各々にはKey=0x98765432が書き込まれて保持されることになる。また、データフラッシュ13BのセクションC、DにはN回目の車両の故障が発生した際のFFDの故障情報A3、A4が保持されたままになるとともに、セクションC、Dの各々にはKey=0x12345678が保持されたままとなる。このように、セクションA、Bの各々に保持されているKey=0x98765432と、セクションC、Dの各々に保持されているKey=0x12345678とは異なったキーワードとなる。 In the above-mentioned example of failure in writing the FFD to the data flash 13B, as shown in FIG. 4B, the FFD failure information B1 and B2 when the N+1th vehicle 1 failure occurs is written and stored in sections A and B of the data flash 13B, and Key=0x98765432 is written and stored in each of sections A and B. Also, FFD failure information A3 and A4 when the Nth vehicle failure occurs is stored in sections C and D of the data flash 13B, and Key=0x12345678 is stored in each of sections C and D. In this way, Key=0x98765432 stored in each of sections A and B and Key=0x12345678 stored in each of sections C and D are different keywords.

3.フリーズフレームデータ(FFD)読込処理
3.1.フリーズフレームデータ(FFD)読込処理の処理フロー
メインECU10のCPU12において行われるフリーズフレームデータ(FFD)読込処理の処理フローについて図3を参照しつつ詳細に説明する。図3のフリーズフレームデータ(FFD)読込処理の処理フローはCPU12の起動時や再起動時などに実行される。
3. Freeze frame data (FFD) reading process 3.1. Processing flow of freeze frame data (FFD) reading process The processing flow of the freeze frame data (FFD) reading process performed by the CPU 12 of the main ECU 10 will be described in detail with reference to Fig. 3. The processing flow of the freeze frame data (FFD) reading process in Fig. 3 is executed when the CPU 12 is started up or restarted.

フリーズフレームデータ(FFD)読込処理では、まず、CPU12は、データフラッシュ13BにFFDが保持されているか否かを判定する(ステップS51)。データフラッシュ13BにFFDが保持されていないと判定された場合には(ステップS51のNO)、図3のフリーズフレームデータ(FFD)読込処理を終了する。一方、データフラッシュ13BにFFDが保持されていると判定された場合には(ステップS51のYES)、ステップS52の処理に進む。 In the freeze frame data (FFD) read process, the CPU 12 first determines whether or not an FFD is stored in the data flash 13B (step S51). If it is determined that an FFD is not stored in the data flash 13B (NO in step S51), the freeze frame data (FFD) read process of FIG. 3 is terminated. On the other hand, if it is determined that an FFD is stored in the data flash 13B (YES in step S51), the process proceeds to step S52.

CPU12は、データフラッシュ13Bの複数のセクションの各々から書込確認情報(キーワード)及び故障情報(FFDを構成する複数のセクション書込データのうちの当該セクションに保持されているセクション書込データ)を読み出してこれらをSRAM13Cに書き込んで保持し(ステップS52)、ステップS53の処理に進む。 The CPU 12 reads the write confirmation information (keywords) and failure information (section write data stored in the relevant section among the multiple section write data constituting the FFD) from each of the multiple sections of the data flash 13B, writes and stores them in the SRAM 13C (step S52), and proceeds to the processing of step S53.

CPU12は、ステップS52でデータフラッシュ13Bの複数のセクションの各々から読み出されてSRAM13Cに書き込まれた書込確認情報(キーワード)が全て同一であるか否かを判定する(ステップS53)。ステップS53の判定処理において書込確認情報(キーワード)が全て同一であると判定された場合には(ステップS53のYES)、図3のフリーズフレームデータ(FFD)読込処理を終了する。一方で、ステップS53の判定処理において書込確認情報(キーワード)が全て同一であると判定されなかった場合には(ステップS53のNO)、ステップS54の処理に進む。 The CPU 12 determines whether the write confirmation information (keywords) read from each of the multiple sections of the data flash 13B and written to the SRAM 13C in step S52 are all the same (step S53). If it is determined in the determination process of step S53 that the write confirmation information (keywords) are all the same (YES in step S53), the freeze frame data (FFD) read process of FIG. 3 is terminated. On the other hand, if it is not determined in the determination process of step S53 that the write confirmation information (keywords) are all the same (NO in step S53), the process proceeds to step S54.

CPU12は、データフラッシュ13BからFFD及びキーワードを初期化して消去し、SRAM13CからFFD及びキーワードを初期化して消去し(ステップS54)、図3のフリーズフレームデータ(FFD)読込処理を終了する。ステップS54の処理内容をさらに記載すると、データフラッシュ13Bの複数のセクションの各々から故障情報(セクション書込データ)及び書込確認情報(キーワード)を初期化して消去し、SRAM13Cからデータフラッシュ13Bの複数のセクションの各々から読み出されてSRAM13Cに書き込まれた故障情報(セクション書込データ)及び書込確認情報(キーワード)を初期化して消去する。 The CPU 12 initializes and erases the FFD and keywords from the data flash 13B, initializes and erases the FFD and keywords from the SRAM 13C (step S54), and ends the freeze frame data (FFD) reading process of FIG. 3. To further describe the process of step S54, it initializes and erases the failure information (section write data) and write confirmation information (keywords) from each of the multiple sections of the data flash 13B, and initializes and erases from the SRAM 13C the failure information (section write data) and write confirmation information (keywords) that were read from each of the multiple sections of the data flash 13B and written to the SRAM 13C.

図3のフリーズフレームデータ(FFD)読込処理が終了した後に、故障診断ツール搭載端末がOBDコネクタTに接続され、故障診断ツール搭載端末がメインECU10のCPU12に対してFFDの送信要求を行う。 After the freeze frame data (FFD) reading process in FIG. 3 is completed, the fault diagnosis tool-equipped terminal is connected to the OBD connector T, and the fault diagnosis tool-equipped terminal requests the CPU 12 of the main ECU 10 to send the FFD.

CPU12の起動時や再起動時などの複数のセクションの書込確認情報(キーワード)が全て同一である場合、CPU12は、故障診断ツール搭載端末からの送信要求に応じて、データフラッシュ13Bの複数のセクションの各々から読み出されてSRAM13Cに書き込まれた故障情報(セクション書込データ)をSRAM13Cから読み出して故障診断ツール搭載端末へ送信する。これにより、故障診断ツール搭載端末において、一のフリーズフレームデータを構成する複数のセクション書込データ(故障情報)だけを用いた車両故障の解析を行うことができる。 When the write confirmation information (keywords) of multiple sections is the same when the CPU 12 is started or restarted, the CPU 12 responds to a transmission request from the fault diagnosis tool-equipped terminal by reading from SRAM 13C the fault information (section write data) that has been read from each of the multiple sections of the data flash 13B and written to SRAM 13C, and transmitting it to the fault diagnosis tool-equipped terminal. This allows the fault diagnosis tool-equipped terminal to analyze the vehicle fault using only the multiple section write data (fault information) that make up one freeze frame data.

一方、CPU12の起動時や再起動時などの複数のセクションの書込確認情報(キーワード)の中に他の書込確認情報(キーワード)と異なるものがある場合、データフラッシュ13Bの複数のセクションの各々から読み出されてSRAM13Cに書き込まれた故障情報(セクション書込データ)はSRAM13Cから消去されているので、CPU12の起動時や再起動時などにデータフラッシュ13Bの複数のセクションの各々に保持されている故障情報(セクション書込データ)が故障診断ツール搭載端末へ送信されることはない。これにより、故障診断ツール搭載端末において、一のフリーズフレームデータに関らないものを含めて車両故障の解析を行ってしまうという不具合を防止できる。 On the other hand, if the write confirmation information (keywords) of the multiple sections at the time of startup or restart of CPU 12 is different from the other write confirmation information (keywords), the fault information (section write data) read from each of the multiple sections of data flash 13B and written to SRAM 13C is erased from SRAM 13C, so that the fault information (section write data) held in each of the multiple sections of data flash 13B at the time of startup or restart of CPU 12 is not transmitted to the fault diagnosis tool-equipped terminal. This prevents the fault diagnosis tool-equipped terminal from analyzing vehicle faults including those not related to one freeze frame data.

3.2.FFDのデータフラッシュからの読み込み例
図3のフリーズフレームデータ(FFD)読込処理でのFFDのデータフラッシュ13Bから読み込み例について図4を参照しつつ詳細に説明する。
3.2 Example of Reading FFD from Data Flash An example of reading the freeze frame data (FFD) from the data flash 13B in the FFD reading process of FIG. 3 will be described in detail with reference to FIG.

3.2.1.FFDのデータフラッシュへの書き込みに成功した場合のFFDの読み込み例
FFDのデータフラッシュ13Bへの書き込みに成功した場合のFFDの読み込み例について図4(a)を参照しつつ詳細に説明する。
3.2.1 Example of Reading FFD When Writing of FFD to Data Flash is Successful An example of reading the FFD when writing of the FFD to the data flash 13B is successful will be described in detail with reference to FIG.

CPU12は、データフラッシュ13BにFFDが保持されているか否かを判定し(ステップS51)、FFDが保持されていると判定する(ステップS51のYES)。 The CPU 12 determines whether an FFD is stored in the data flash 13B (step S51), and determines that an FFD is stored (YES in step S51).

CPU12は、データフラッシュ13BのセクションA、B、C、Dから「Key=0x12345678及び故障情報A1」、「Key=0x12345678及び故障情報A2」、「Key=0x12345678及び故障情報A3」、「Key=0x12345678及び故障情報A4」を読み出してSRAM13Cに書き込む(ステップS52)。 The CPU 12 reads "Key = 0x12345678 and failure information A1", "Key = 0x12345678 and failure information A2", "Key = 0x12345678 and failure information A3", and "Key = 0x12345678 and failure information A4" from sections A, B, C, and D of the data flash 13B, and writes them to the SRAM 13C (step S52).

CPU12は、データフラッシュ13BのセクションA、B、C、Dから読み出されてSRAM13Cに書き込まれたKey=0x12345678、Key=0x12345678、Key=0x12345678、Key=0x12345678が全て同一であるか否かを判定し(ステップS53)、全て同一であると判定し(ステップS53のYES)、図3のフリーズフレームデータ(FFD)読込処理を終了する。 The CPU 12 determines whether Key=0x12345678, Key=0x12345678, Key=0x12345678, Key=0x12345678 read from sections A, B, C, and D of the data flash 13B and written to the SRAM 13C are all identical (step S53), and determines that they are all identical (YES in step S53), thereby terminating the freeze frame data (FFD) reading process of FIG. 3.

図3のフリーズフレームデータ(FFD)読込処理が終了した後に、故障診断ツール搭載端末がOBDコネクタTに接続され、故障診断ツール搭載端末がメインECU10のCPU12に対してFFDの送信要求を行う。CPU12は、故障診断ツール搭載端末からの送信要求に応じて故障情報A1~A4をSRAM13Cから読み出して故障診断ツール搭載端末へ送信する。これにより、故障診断ツール搭載端末において、N回目の車両の故障が発生した際のフリーズフレームデータを構成する4つの故障情報A1~A4だけを用いた車両故障の解析を行うことができる。 After the freeze frame data (FFD) reading process in FIG. 3 is completed, the fault diagnosis tool-equipped terminal is connected to the OBD connector T, and the fault diagnosis tool-equipped terminal requests the CPU 12 of the main ECU 10 to transmit the FFD. In response to the transmission request from the fault diagnosis tool-equipped terminal, the CPU 12 reads the fault information A1 to A4 from the SRAM 13C and transmits it to the fault diagnosis tool-equipped terminal. This allows the fault diagnosis tool-equipped terminal to analyze the vehicle fault using only the four fault information A1 to A4 that make up the freeze frame data when the Nth vehicle fault occurs.

3.2.2.FFDのデータフラッシュへの書き込みに失敗した場合のFFDの読み込み例
FFDのデータフラッシュ13Bへの書き込みに失敗した場合のFFDの読み込み例について図4(b)を参照しつつ詳細に説明する。
3.2.2. Example of Reading FFD When Writing of FFD to Data Flash Fails An example of reading the FFD when writing of the FFD to the data flash 13B fails will be described in detail with reference to FIG.

CPU12は、データフラッシュ13BにFFDが保持されているか否かを判定し(ステップS51)、FFDが保持されていると判定する(ステップS51のYES)。 The CPU 12 determines whether an FFD is stored in the data flash 13B (step S51), and determines that an FFD is stored (YES in step S51).

CPU12は、データフラッシュ13BのセクションA、B、C、Dから「Key=0x98765432及び故障情報B1」、「Key=0x98765432及び故障情報B2」、「Key=0x12345678及び故障情報A3」、「Key=0x12345678及び故障情報A4」を読み出してSRAM13Cに書き込む(ステップS52)。 The CPU 12 reads "Key = 0x98765432 and failure information B1", "Key = 0x98765432 and failure information B2", "Key = 0x12345678 and failure information A3", and "Key = 0x12345678 and failure information A4" from sections A, B, C, and D of the data flash 13B, and writes them to the SRAM 13C (step S52).

CPU12は、データフラッシュ13BのセクションA、B、C、Dから読み出されてSRAM13Cに書き込まれたKey=0x98765432、Key=0x98765432、Key=0x12345678、Key=0x12345678が全て同一であるか否かを判定し(ステップS53)、全て同一であると判定しない(ステップS53のNO)。CPU12は、データフラッシュ13BのセクションA、B、C、Dから「Key=0x98765432及び故障情報B1」、「Key=0x98765432及び故障情報B2」、「Key=0x12345678及び故障情報A3」、「Key=0x12345678及び故障情報A4」を消去し、SRAM13Cから「Key=0x98765432及び故障情報B1」、「Key=0x98765432及び故障情報B2」、「Key=0x12345678及び故障情報A3」、「Key=0x12345678及び故障情報A4」を消去し(ステップS54)、図3のフリーズフレームデータ(FFD)読込処理を終了する。 The CPU 12 determines whether Key = 0x98765432, Key = 0x98765432, Key = 0x12345678, and Key = 0x12345678 read from sections A, B, C, and D of the data flash 13B and written to the SRAM 13C are all identical (step S53), and determines that they are not all identical (NO in step S53). The CPU 12 erases "Key = 0x98765432 and failure information B1", "Key = 0x98765432 and failure information B2", "Key = 0x12345678 and failure information A3", and "Key = 0x12345678 and failure information A4" from sections A, B, C, and D of the data flash 13B, and erases "Key = 0x98765432 and failure information B1", "Key = 0x98765432 and failure information B2", "Key = 0x12345678 and failure information A3", and "Key = 0x12345678 and failure information A4" from the SRAM 13C (step S54), and ends the freeze frame data (FFD) reading process of FIG. 3.

図3のフリーズフレームデータ(FFD)読込処理が終了した後に、故障診断ツール搭載端末がOBDコネクタTに接続され、故障診断ツール搭載端末がメインECU10のCPU12に対してFFDの送信要求を行っても、CPU12の起動時や再起動時などにデータフラッシュ13BのセクションA~Dに保持されている故障情報B1、B2、A3、A4がCPU12から故障診断ツール搭載端末へ送信されることはない。これにより、故障診断ツール搭載端末において、N+1回目の車両の故障が発生した際のフリーズフレームデータに関わる故障情報B1、B2とN回目の車両の故障が発生した際のフリーズフレームデータに関わる故障情報A3、A4とを混在して車両故障の解析を行ってしまうという不具合を防止できる。 After the freeze frame data (FFD) reading process in FIG. 3 is completed, the fault diagnosis tool-equipped terminal is connected to the OBD connector T, and even if the fault diagnosis tool-equipped terminal requests the CPU 12 of the main ECU 10 to send an FFD, the fault information B1, B2, A3, and A4 stored in sections A to D of the data flash 13B when the CPU 12 is started or restarted will not be sent from the CPU 12 to the fault diagnosis tool-equipped terminal. This prevents the fault diagnosis tool-equipped terminal from analyzing a vehicle fault by mixing the fault information B1 and B2 related to the freeze frame data when the N+1th vehicle fault occurs and the fault information A3 and A4 related to the freeze frame data when the Nth vehicle fault occurs.

<効果>
以上の実施形態によれば、一の車両の故障が発生した際の一のFFDのデータフラッシュ13Bへの書き込に成功した場合にはデータフラッシュ13Bの複数のセクションの各々に保持されている書込確認情報(キーワード)は全て同じになる(図4(a)参照)。一方で、一のFFDをデータフラッシュ13Bに書き込んでいる途中に電源供給が途絶えるなどして当該一のFFDのデータフラッシュ13Bへの書き込みに失敗した場合にはセクション書込データを書き込むことができたセクションに保持されている書込確認情報(キーワード)と書き込むことができなかったセクションに保持されている書込確認情報(キーワード)とは異なるものになる(図4(b)参照)。このため、複数のセクションの各々に保持されている書込確認情報(キーワード)の中に他の書込確認情報(キーワード)と異なるものがあれば当該複数のセクションの各々に保持されている故障情報(セクション書込データ)の中に一のFFDに関らないものが含まれていると判定でき、一のFFDに関らないものを含めて車両故障の解析を行ってしまうという不具合を防止できる。
<Effects>
According to the above embodiment, when a fault occurs in a vehicle, if writing of a certain FFD to the data flash 13B is successful, all of the write confirmation information (keywords) held in each of the multiple sections of the data flash 13B are the same (see FIG. 4A). On the other hand, if writing of a certain FFD to the data flash 13B fails due to a power supply interruption during writing of the certain FFD to the data flash 13B, the write confirmation information (keywords) held in the section to which the section write data could be written differs from the write confirmation information (keywords) held in the section to which the section write data could not be written (see FIG. 4B). For this reason, if there is any write confirmation information (keyword) held in each of the multiple sections that is different from other write confirmation information (keywords), it can be determined that the fault information (section write data) held in each of the multiple sections includes information unrelated to the certain FFD, and it is possible to prevent a problem in which a vehicle fault is analyzed including information unrelated to the certain FFD.

また、データフラッシュ13Bの複数のセクションの各々に保持されている故障情報(セクション書込データ)の全てが一のFFDに関わるものであるか否かを判定することなく、データフラッシュ13Bの複数のセクションの各々に保持されている書込確認情報(キーワード)の全てが同一であるか否かを判定することにより、複数のセクションの各々に保持されている故障情報(セクション書込データ)が一のFFDに関わるものであるか否かを判定できるので当該判定に要する時間が短くて済む。 In addition, by determining whether all of the write confirmation information (keywords) held in each of the multiple sections of data flash 13B are the same, without determining whether all of the failure information (section write data) held in each of the multiple sections of data flash 13B is related to one FFD, it is possible to determine whether all of the failure information (section write data) held in each of the multiple sections is related to one FFD, thereby shortening the time required for this determination.

また、書込確認情報(キーワード)としてデータサイズの小さいものを利用すれば、一のFFDのデータフラッシュ13Bへの書き込み中に電源供給が断たれる可能性の増大を抑えることができる。 In addition, by using write confirmation information (keywords) with a small data size, it is possible to reduce the possibility of the power supply being cut off while writing to the data flash 13B of one FFD.

また、今回の車両の故障が発生した際に生成されるキーワードを、前回の車両の故障が発生した際に生成したキーワードと異なるようにすることにより、今回の車両の故障が発生した際のFFDと前回の車両の故障が発生した際のFFDとが混在したデータを用いて車両故障の解析を行ってしまうという不具合を防止できる。このように、一のフリーズフレームデータを不揮発性メモリの複数のセクションにわたって分割して保持する場合に好適である。 In addition, by making the keyword generated when the current vehicle failure occurs different from the keyword generated when the previous vehicle failure occurred, it is possible to prevent the vehicle failure from being analyzed using data that contains a mixture of the FFD when the current vehicle failure occurred and the FFD when the previous vehicle failure occurred. In this way, it is suitable for storing a single freeze frame data in multiple sections of non-volatile memory.

また、複数のセクションの各々に保持されている書込確認情報(キーワード)に異なるものがある場合にはデータフラッシュ13B及びSRAM13Cの各々からFFD及びキーワードを消去するので、今後、FFDのデータフラッシュ13Bへの書き込みに失敗した場合の故障情報を用いて車両故障の解析を行ってしまうという不具合をより一層防止できる。 In addition, if there is a difference in the write confirmation information (keywords) stored in each of the multiple sections, the FFD and keyword are erased from each of the data flash 13B and the SRAM 13C, which further prevents the problem of using failure information to analyze a vehicle failure when writing the FFD to the data flash 13B fails in the future.

また、CPU12は、OBDコネクタTに接続された故障診断ツール搭載端末からのFFDの送信要求に応じでFFDを送信する場合、FFDを構成する複数のセクション書込データ(故障情報)をデータフラッシュ13Bから読み出して送信するのではなく、SRAM13Cから読み出して送信するため、FFDを構成する複数のセクション書込データ(故障情報)の故障診断ツール搭載端末への送信を速やかに行うことができる。 In addition, when the CPU 12 transmits an FFD in response to a request to transmit an FFD from a terminal equipped with a fault diagnosis tool connected to the OBD connector T, the CPU 12 reads and transmits the multiple section write data (fault information) that constitute the FFD from the SRAM 13C, rather than reading and transmitting the multiple section write data (fault information) that constitute the FFD from the data flash 13B, so that the multiple section write data (fault information) that constitutes the FFD can be transmitted quickly to the terminal equipped with a fault diagnosis tool.

<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modification>
Although one embodiment of the present invention has been described above, the present invention can be embodied in other forms.

例えば、上記の実施形態では、相関性のある相関データとして同一のキーワードを例に挙げ、相関性のない相関データとして異なるキーワードを例に挙げて説明したが、これに限定されるものではなく、例えば、複数のセクションの各々の故障情報(セクション書込データ)が同じフリーズフレームデータに関わるものであることの判定を可能にするものであれば同一のキーワード以外の相関性のある相関データであってもよく、複数のセクションの各々の故障情報(セクション書込データ)が異なるフリーズフレームデータに関わるものであることの判定を可能にするものであれば異なるキーワード以外の相関性のないデータであってもよい。 For example, in the above embodiment, the same keyword is used as an example of correlated correlation data, and different keywords are used as an example of uncorrelated correlation data, but this is not limited to this. For example, the correlated correlation data may be other than the same keyword as long as it enables determination that each of the failure information (section write data) of multiple sections is related to the same freeze frame data, and uncorrelated data other than different keywords may be used as long as it enables determination that each of the failure information (section write data) of multiple sections is related to different freeze frame data.

上記の場合において、例えば、FFDを4つに分けてデータフラッシュ13Bの4つのセクションA~Dに書き込むケースついて記載する。前回の車両1の故障が発生した際に書込確認情報として相関データDA1、DA2、DA3、DA4がセクションA、B、C、Dに書き込まれ、今回の車両1の故障が発生する前にセクションA、B、C、Dには相関データDA1、DA2、DA3、DA4が保持されている。この相関データDA1、DA2、DA3、DA4には互いに相関性がある。今回の車両1の故障が発生した際の図2のフリーズフレームデータ(FFD)読込処理ではステップS2が相関データDA1、DA2、DA3、DA4とは互いに相関性のない相関データDB1、DB2、DB3、DB4を生成する処理に置き換わる。この相関データDB1、DB2、DB3、DB4には互いに相関性がある。そして、ステップS4が指定セクションへのキーワードの書き込み部分を指定セクションへの相関データDB1~DB4のうちのまだ書き込まれていない相関データの書き込みを行うものに置き換わる。図3のフリーズフレームデータ(FFD)読込処理ではステップS52~S54の処理において書込確認情報(キーワード)が書込確認情報(相関データDB1~DB4)に置き換わり、ステップS53では複数のセクションA~Dの各々から読み出されてSRAM13Cに書き込まれた書込確認情報に互いに相関性があるか否かを判定することになり、書込確認情報に互いに相関性があると判定された場合はフリーズフレームデータ(FFD)読込処理を終了し、書込確認情報に互いに相関性があると判定されなかった場合はステップS54に進む。 In the above case, for example, the case where the FFD is divided into four and written to the four sections A to D of the data flash 13B will be described. When the previous vehicle 1 malfunction occurred, correlation data DA1, DA2, DA3, DA4 were written to sections A, B, C, and D as write confirmation information, and before the current vehicle 1 malfunction occurred, correlation data DA1, DA2, DA3, DA4 were held in sections A, B, C, and D. These correlation data DA1, DA2, DA3, DA4 are correlated with each other. In the freeze frame data (FFD) reading process of FIG. 2 when the current vehicle 1 malfunction occurs, step S2 is replaced by a process of generating correlation data DB1, DB2, DB3, DB4 that are not correlated with the correlation data DA1, DA2, DA3, DA4. These correlation data DB1, DB2, DB3, DB4 are correlated with each other. Then, step S4 replaces the part where the keyword is written to the specified section with the part that writes the correlation data DB1 to DB4 that has not yet been written to the specified section. In the freeze frame data (FFD) read process of FIG. 3, the write confirmation information (keyword) is replaced with the write confirmation information (correlation data DB1 to DB4) in the processes of steps S52 to S54, and in step S53, it is determined whether the write confirmation information read from each of the multiple sections A to D and written to SRAM 13C is correlated with each other. If it is determined that the write confirmation information is correlated with each other, the freeze frame data (FFD) read process is terminated, and if it is not determined that the write confirmation information is correlated with each other, the process proceeds to step S54.

また、上記の実施形態で説明した内容や上記の変形例で説明した内容を適宜組み合わせるようにしてもよい。 In addition, the contents described in the above embodiment and the contents described in the above modified example may be combined as appropriate.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design modifications can be made to the above-mentioned configuration within the scope of the claims.

本発明は、フリーズフレームデータの記憶に関わる制御を行う車両用制御装置に広く適用可能である。 The present invention can be widely applied to vehicle control devices that perform control related to the storage of freeze frame data.

1:車両
S:車両用制御システム
10:メインECU
11:マイコン
12:CPU
13B:データフラッシュ
13C:SRAM
1: Vehicle S: Vehicle control system 10: Main ECU
11: Microcomputer 12: CPU
13B: Data flash 13C: SRAM

Claims (3)

車両の故障が発生した際のフリーズフレームデータの記憶に関わる制御を行う車両用制御装置であって、
一の車両の故障が発生した際に、一のフリーズフレームデータを構成する複数のセクション書込データの各々を不揮発性メモリの複数のセクションのうちの該当するセクションに故障情報として書き込み、当該複数のセクションの各々に相関性のある相関データを書込確認情報として書き込む書込処理を行うものであって、前記書込処理では一つのセクションへの前記セクション書込データ及び前記相関データの書き込みを終了した後に他の一つのセクションへの前記セクション書込データ及び前記相関データの書き込みを行う書込手段と、
前記不揮発性メモリから前記一のフリーズフレームデータを読み出す際に、前記複数のセクションの各々に保持されている前記書込確認情報に互いに相関性があるか否かを判定し、前記複数のセクションに保持されている前記故障情報を、前記書込確認情報に互いに相関性があると判定された場合には車両の故障の解析に用いる情報であるとし、前記書込確認情報に互いに相関性があると判定されなかった場合には車両の故障の解析に用いる情報であるとしない、判定手段と
を備えることを特徴とする車両用制御装置。
A vehicle control device that controls storage of freeze frame data when a vehicle failure occurs,
a write process for writing each of a plurality of section write data constituting one freeze frame data as failure information to a corresponding section of a plurality of sections of a non-volatile memory when a failure occurs in one vehicle, and for writing correlation data having correlation with each of the plurality of sections as write confirmation information, the write process including a write means for writing the section write data and the correlation data to one section and then writing the section write data and the correlation data to another section;
and a determination means for determining whether or not the write confirmation information stored in each of the plurality of sections is correlated with each other when reading out the one freeze frame data from the non-volatile memory, and determining that the fault information stored in the plurality of sections is information to be used for analyzing a vehicle fault if it is determined that the write confirmation information is correlated with each other, and not determining that the fault information is information to be used for analyzing a vehicle fault if it is not determined that the write confirmation information is correlated with each other.
前記書込手段は、今回の車両の故障が発生した際に前記複数のセクションの各々に前記書込確認情報として今回書き込む相関性のある相関データを、前回の車両の故障が発生した際に前記複数のセクションの各々に前記書込確認情報として前回書き込まれた相関性のある相関データとは相関性のないデータとする
ことを特徴とする請求項1に記載の車両用制御装置。
The vehicle control device according to claim 1, characterized in that the writing means writes the correlated correlation data currently written to each of the plurality of sections as the write confirmation information when a current vehicle failure occurs, to data that is not correlated with the correlated correlation data previously written to each of the plurality of sections as the write confirmation information when a previous vehicle failure occurred.
前記書込確認情報に互いに相関性があると判定されなかった場合には前記複数のセクションの各々に保持されている前記故障情報及び前記書込確認情報を消去する消去手段
をさらに備えることを特徴とする請求項1又は2に記載の車両用制御装置。
3. The vehicle control device according to claim 1, further comprising an erasure means for erasing the failure information and the write confirmation information stored in each of the multiple sections when it is determined that the write confirmation information is not correlated with each other.
JP2021140681A 2021-08-31 2021-08-31 Vehicle control device Active JP7638830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021140681A JP7638830B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021140681A JP7638830B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2023034433A JP2023034433A (en) 2023-03-13
JP7638830B2 true JP7638830B2 (en) 2025-03-04

Family

ID=85504307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021140681A Active JP7638830B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Country Status (1)

Country Link
JP (1) JP7638830B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289049A (en) 2008-05-29 2009-12-10 Toyota Motor Corp Memory control device
JP2014076737A (en) 2012-10-10 2014-05-01 Fujitsu Ten Ltd Vehicle information storage processing unit and vehicle information storage processing method
JP2014085709A (en) 2012-10-19 2014-05-12 Denso Corp On-vehicle electronic control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289049A (en) 2008-05-29 2009-12-10 Toyota Motor Corp Memory control device
JP2014076737A (en) 2012-10-10 2014-05-01 Fujitsu Ten Ltd Vehicle information storage processing unit and vehicle information storage processing method
JP2014085709A (en) 2012-10-19 2014-05-12 Denso Corp On-vehicle electronic control device

Also Published As

Publication number Publication date
JP2023034433A (en) 2023-03-13

Similar Documents

Publication Publication Date Title
US8219280B2 (en) Vehicle information storage apparatus
EP2040166B1 (en) Memory management apparatus
US8140216B2 (en) Method of detecting manipulation of a programmable memory device of a digital controller
JP4539757B2 (en) Electronic control unit
JP5505493B2 (en) Electronic control system and electronic control device
JP5176728B2 (en) Electronic control device for vehicle
JP4552982B2 (en) Electronic control unit
CN114385421A (en) Data storage method and device, electronic equipment and storage medium
JP7638830B2 (en) Vehicle control device
JP2009262787A (en) Electronic control unit
JP2017082702A (en) In-vehicle electronic control unit
JP2018136728A (en) Electronic control unit
JP4479775B2 (en) Vehicle control apparatus and program
CN111684523B (en) electronic control device
CN112599172B (en) Data writing method and device of electronic control unit and storage medium
JP2002047998A (en) Vehicle control device
JP2020129325A (en) Electronic control unit for vehicle
JP7486460B2 (en) Electronic control device and method for erasing malfunction information
JP7131437B2 (en) Electronic controller and inspection system
JPH07218391A (en) Diagnostic apparatus for vehicle
JP7099293B2 (en) Electronic control device
CN120763915A (en) Serial startup method, device, storage medium and vehicle of vehicle-mounted electronic control unit
JP2009199515A (en) Vehicle control device
JP2018031265A (en) Electronic control unit
JP2005011214A (en) Application software writing method in the inspection process of electronic system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240506

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250219

R150 Certificate of patent or registration of utility model

Ref document number: 7638830

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150