JP6930432B2 - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP6930432B2
JP6930432B2 JP2018002001A JP2018002001A JP6930432B2 JP 6930432 B2 JP6930432 B2 JP 6930432B2 JP 2018002001 A JP2018002001 A JP 2018002001A JP 2018002001 A JP2018002001 A JP 2018002001A JP 6930432 B2 JP6930432 B2 JP 6930432B2
Authority
JP
Japan
Prior art keywords
information
time
series
event
unit
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
JP2018002001A
Other languages
Japanese (ja)
Other versions
JP2018120588A5 (en
JP2018120588A (en
Inventor
仁 渡邊
仁 渡邊
康二 長田
康二 長田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to US15/872,150 priority Critical patent/US10726648B2/en
Publication of JP2018120588A publication Critical patent/JP2018120588A/en
Publication of JP2018120588A5 publication Critical patent/JP2018120588A5/ja
Application granted granted Critical
Publication of JP6930432B2 publication Critical patent/JP6930432B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Description

本開示は、車両に関する情報を記録する技術に関する。 The present disclosure relates to a technique for recording information about a vehicle.

従来、例えば車両に搭載されているセンサの出力値やアクチュエータへの制御値等といった車両に関する任意の情報を表す車両情報を繰り返し取得し、取得した車両情報を時間の経過に伴って順に、すなわち時系列に、メモリに記録させるという技術が知られている。 Conventionally, vehicle information representing arbitrary information about a vehicle such as an output value of a sensor mounted on a vehicle or a control value to an actuator is repeatedly acquired, and the acquired vehicle information is sequentially acquired with the passage of time, that is, time. A technique is known in which a series is recorded in a memory.

特許文献1には、車両において予め定められたイベントが発生した場合に、このような時系列の車両情報をメモリに記録させるという技術が提案されている。 Patent Document 1 proposes a technique for recording such time-series vehicle information in a memory when a predetermined event occurs in the vehicle.

特開2013−056589号公報Japanese Unexamined Patent Publication No. 2013-056589

ところで、車両においてイベントが複数回発生することが想定される場合、イベントが発生する毎に時系列の車両情報を詳細に記録するためには、時系列の車両情報を記録させるための多くの記録領域をメモリに予め割り当てておくことが望ましい。ただし、割り当て可能な記録領域の大きさには限りがある。そこで、予め定められた大きさの記録領域の全体を所定の数で等しく分けた領域(以下、等分領域)を設定し、イベントが発生する毎に等分領域に時系列の車両情報を記録させること、が一般に行われている。 By the way, when it is assumed that an event occurs a plurality of times in a vehicle, in order to record the time-series vehicle information in detail each time the event occurs, many records for recording the time-series vehicle information are required. It is desirable to allocate the area to the memory in advance. However, the size of the recordable area that can be allocated is limited. Therefore, an area (hereinafter, equally divided area) in which the entire recording area of a predetermined size is equally divided by a predetermined number is set, and time-series vehicle information is recorded in the equally divided area each time an event occurs. It is common practice to let them do it.

しかしながら、実際のイベントの発生回数が所定の数よりも小さい場合は、メモリに、時系列の車両情報が記録されない領域が生じてしまうので、メモリの記録領域を有効に利用することができないという問題が生じうる。 However, if the actual number of occurrences of the event is smaller than a predetermined number, an area in which the time-series vehicle information is not recorded occurs in the memory, so that the recording area of the memory cannot be effectively used. Can occur.

本開示の一局面は、車両に関する情報を記録する予め定められた大きさの記録領域を有効に利用する技術を提供する。 One aspect of the present disclosure provides a technique for effectively utilizing a recording area of a predetermined size for recording information about a vehicle.

本開示の一態様は、車両に搭載された電子制御装置(10)であり、イベント部(S10)と、累積回数部(S15)と、時系列部(S25)と、記録実行部(S65)と、を備える。イベント部は、車両において予め定められたイベントが発生したことを表すイベント情報を取得する。累積回数部は、イベント情報が取得される毎に、イベントが発生した累積回数を取得する。時系列部は、イベント情報が取得される毎に、時系列情報を取得する。 One aspect of the present disclosure is an electronic control device (10) mounted on a vehicle, which includes an event unit (S10), a cumulative number of times unit (S15), a time series unit (S25), and a recording execution unit (S65). And. The event unit acquires event information indicating that a predetermined event has occurred in the vehicle. The cumulative number part acquires the cumulative number of times that an event has occurred each time event information is acquired. The time-series part acquires the time-series information each time the event information is acquired.

記録実行部は、時系列情報が取得される毎に、現時点までに取得された時系列情報を、累積回数に応じた態様で、予め定められた大きさの記録領域である情報記録部の全域を用いて記録させる。時系列情報は、車両の状態を表す車両情報が時間の経過に伴って順に複数並べられた情報である。 Each time the time-series information is acquired, the recording execution unit collects the time-series information acquired up to the present time in a manner corresponding to the cumulative number of times, and covers the entire area of the information recording unit, which is a recording area of a predetermined size. To record using. The time-series information is information in which a plurality of vehicle information representing the state of the vehicle is arranged in order with the passage of time.

このような構成によれば、イベントの発生毎に取得された時系列情報を、発生したイベントの累積回数に応じた態様で、情報記録部の全領域を用いて記録させる構成を備えるので、情報記録部の記録領域を余らせること無く有効に利用することができる。 According to such a configuration, the time-series information acquired for each event occurrence is recorded using the entire area of the information recording unit in a manner corresponding to the cumulative number of events that have occurred. It can be effectively used without leaving the recording area of the recording unit.

なお、この欄及び特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本開示の技術的範囲を限定するものではない。 In addition, the reference numerals in parentheses described in this column and the scope of claims indicate the correspondence with the specific means described in the embodiment described later as one embodiment, and the technical scope of the present disclosure is defined. It is not limited.

実施形態におけるECUの構成を示すブロック図。The block diagram which shows the structure of the ECU in embodiment. ECUの機能を説明する機能ブロック図。The functional block diagram explaining the function of the ECU. 情報記録処理のフローチャート。Flowchart of information recording process. 選択処理のフローチャート。Flowchart of selection process. イベント優先順位、最小情報量、発生順序優先順位、空き領域設定情報、時系列設定情報の設定内容を説明する図。The figure explaining the setting contents of event priority, minimum information amount, occurrence order priority, free space setting information, and time series setting information. 時系列設定情報を示す図。The figure which shows the time series setting information. 第1のイベントが1回目に発生したときの作動を説明する図。The figure explaining the operation when the first event occurs for the first time. 第2のイベントが2回目に発生したときの作動を説明する図。The figure explaining the operation when the second event occurs for the second time. 第3のイベントが3回目に発生したときの作動を説明する図。The figure explaining the operation when the 3rd event occurs for the 3rd time. 第4のイベントが4回目に発生したときの作動を説明する図。The figure explaining the operation when the 4th event occurs for the 4th time. 比較例としてのECUの作動を説明する図。The figure explaining the operation of the ECU as a comparative example.

以下、図面を参照しながら、本開示の実施形態を説明する。
[1.構成]
図1に示す電子制御装置(以下、ECU)10は、車両に搭載され、例えば、インジェクタの噴射制御および点火プラグの点火制御等を行うエンジンECUである。ECUは、Electronic Control Unitの略である。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[1. composition]
The electronic control unit (hereinafter referred to as ECU) 10 shown in FIG. 1 is an engine ECU mounted on a vehicle and for example, performing injection control of an injector, ignition control of a spark plug, and the like. ECU is an abbreviation for Electronic Control Unit.

ECU10は、入力回路20と、出力回路30と、通信回路40と、マイコン50と、を備える。マイコン50は、CPU51と、ROM52、RAM53、EEPROM54等の半導体メモリと、を有する。 The ECU 10 includes an input circuit 20, an output circuit 30, a communication circuit 40, and a microcomputer 50. The microcomputer 50 has a CPU 51 and semiconductor memories such as ROM 52, RAM 53, and EEPROM 54.

ECU10の各種機能は、CPU51が非遷移的実体的記録媒体に格納されたプログラムを実行することにより実現される。この例では、ROM52が、プログラムを格納した非遷移的実体的記録媒体に該当する。また、このプログラムが実行されることで、プログラムに対応する方法が実行される。なお、ECU10を構成するマイコンの数は、本実施形態では1つであるが、複数であってもよい。 Various functions of the ECU 10 are realized by the CPU 51 executing a program stored in a non-transitional substantive recording medium. In this example, the ROM 52 corresponds to a non-transitional substantive recording medium in which the program is stored. Moreover, when this program is executed, the method corresponding to the program is executed. The number of microcomputers constituting the ECU 10 is one in the present embodiment, but may be a plurality.

RAM53は、ECU10のプログラムが作業用に使用するメモリである。EEPROM54は、書き換え可能な不揮発性のメモリである。すなわち、図示しないバッテリから電力の供給が遮断されても、EEPROM54に記憶されているデータは保存される。 The RAM 53 is a memory used by the program of the ECU 10 for work. The EEPROM 54 is a rewritable non-volatile memory. That is, even if the power supply is cut off from a battery (not shown), the data stored in the EEPROM 54 is saved.

ECU10は、CPU51がプログラムを実行することで実現される機能の構成として、図2に示すように、記録制御部61と、車両情報取得部62と、車両情報記録部63と、入出力制御部64と、エンジン制御部65と、サービス処理部66と、を備える。 As shown in FIG. 2, the ECU 10 has a recording control unit 61, a vehicle information acquisition unit 62, a vehicle information recording unit 63, and an input / output control unit as a configuration of functions realized by the CPU 51 executing a program. 64, an engine control unit 65, and a service processing unit 66 are provided.

ECU10を構成するこれらの要素を実現する手法はソフトウェアに限るものではなく、その一部又は全部の要素について、一つあるいは複数のハードウェアを用いて実現してもよい。例えば、上記機能がハードウェアである電子回路によって実現される場合、その電子回路は多数の論理回路を含むデジタル回路、又はアナログ回路、あるいはこれらの組合せによって実現してもよい。 The method for realizing these elements constituting the ECU 10 is not limited to software, and some or all of the elements may be realized by using one or more hardware. For example, when the above function is realized by an electronic circuit which is hardware, the electronic circuit may be realized by a digital circuit including a large number of logic circuits, an analog circuit, or a combination thereof.

(入出力制御部)
ECU10は、入力回路20を介して入力する車両情報を取得する。車両情報とは、車両の状態を表す信号であり、各種センサ及び各種スイッチ等から入力回路20を介して入力される。本実施形態では、アクセル開度、スロットル開度、クランク角度、エンジン水温、イグニションスイッチ信号等が車両情報として入力される。なお、車両情報は、これらに限定されるものではない。車両情報には、例えば、インジェクタに対する指令噴射量や、点火プラグに対する点火時期等といった、車両の制御に用いられる任意の制御量が含まれうる。
(I / O control unit)
The ECU 10 acquires vehicle information to be input via the input circuit 20. The vehicle information is a signal indicating the state of the vehicle, and is input from various sensors, various switches, and the like via the input circuit 20. In the present embodiment, the accelerator opening degree, the throttle opening degree, the crank angle, the engine water temperature, the ignition switch signal and the like are input as vehicle information. The vehicle information is not limited to these. The vehicle information may include any control amount used to control the vehicle, such as a command injection amount for the injector, ignition timing for the spark plug, and the like.

ECU10は、これら車両情報に基づいてエンジン制御部によって生成された、インジェクタを駆動させるインジェクタ駆動出力、点火プラグの点火制御のためのイグナイタ駆動出力等、を出力回路30から出力する。 The ECU 10 outputs from the output circuit 30 an injector drive output for driving the injector, an igniter drive output for ignition control of the spark plug, and the like, which are generated by the engine control unit based on the vehicle information.

(エンジン制御部)
ECU10は、入力回路20を介して入力した車両情報に基づいて、インジェクタ駆動出力、イグナイタ駆動出力等を生成する。
(Engine control unit)
The ECU 10 generates an injector drive output, an igniter drive output, and the like based on the vehicle information input via the input circuit 20.

(サービス処理部)
ECU10は、EEPROM54に記憶された時系列情報を、通信回路40を介して、外部装置に出力する。時系列情報については後述する。
(Service processing department)
The ECU 10 outputs the time series information stored in the EEPROM 54 to the external device via the communication circuit 40. The time series information will be described later.

(記録制御部)
ECU10は、車両において予め定められたイベントが発生したことを検出すると、イベント情報を出力する。イベント情報とは、車両において予め定められたイベントが発生したことを表す情報である。
(Recording control unit)
When the ECU 10 detects that a predetermined event has occurred in the vehicle, it outputs event information. The event information is information indicating that a predetermined event has occurred in the vehicle.

ここでいうイベントとは、例えば、エンスト、エンジン始動不良、エンジン水温が異常であること、アクセル開度が閾値以上であること等といった、予め定められた車両の作動をいう。エンストとは、車両の走行中におけるエンジンの停止をいう。エンジン始動不良とは、エンジン始動時にエンジンが回転しないことをいう。 The event referred to here refers to a predetermined vehicle operation such as an engine stall, an engine start failure, an abnormal engine water temperature, an accelerator opening of a threshold value or more, and the like. Stall refers to stopping the engine while the vehicle is running. An engine start failure means that the engine does not rotate when the engine is started.

エンジン水温が異常であること、換言すればエンジン水温が所定の閾値以上または所定の閾値未満であることは、エンジンに異常が生じているおそれがあることを表す。アクセル開度が閾値以上であることは、アクセルを踏んでいるのに電動スロットルが開いていないおそれがあることを表す。 An abnormal engine water temperature, in other words, an engine water temperature equal to or higher than or lower than a predetermined threshold value indicates that the engine may be abnormal. When the accelerator opening is equal to or higher than the threshold value, it means that the electric throttle may not be opened even though the accelerator is depressed.

このように、イベントには、予め設定された条件を満たす車両の作動が含まれうる。イベントには、車両異常も含まれうるが、これに限定されるものではなく、任意の車両の作動が含まれうる。車両異常とは、通常の運転操作では発生しない異常な車両の作動である。 As such, the event may include the operation of a vehicle that meets preset conditions. Events may include, but are not limited to, vehicle anomalies, and may include the operation of any vehicle. A vehicle abnormality is an abnormal operation of a vehicle that does not occur in normal driving operations.

なお、ECU10は、前述の車両の作動以外に、センサの任意の検出値、アクチュエータの任意の状態等をイベントとして検出しうる。検出されるイベントとしては、複数種類が予め設定されうる。また、検出されるイベントには、優先順位が予め設定されうる。 In addition to the above-mentioned operation of the vehicle, the ECU 10 can detect an arbitrary detection value of the sensor, an arbitrary state of the actuator, or the like as an event. A plurality of types of detected events can be preset. In addition, the priority can be set in advance for the detected event.

本実施形態では、エンスト、エンジン始動不良、エンジン水温が異常であること、アクセル開度が閾値以上であること、といった4種類のイベントを検出する。以下では、エンストを第1のイベント、エンジン始動不良を第2のイベント、エンジン水温が異常であることを第3のイベント、アクセル開度が閾値以上であることを第4のイベントという。検出されるイベントの種類は、ROM52に予め記録されている。 In this embodiment, four types of events are detected, such as engine stall, engine start failure, engine water temperature being abnormal, and accelerator opening being equal to or greater than a threshold value. In the following, the engine stall is referred to as a first event, an engine start failure is referred to as a second event, an abnormal engine water temperature is referred to as a third event, and an accelerator opening degree of equal to or greater than a threshold value is referred to as a fourth event. The type of event to be detected is recorded in advance in the ROM 52.

また、イベントの優先順位は、例えば図5に示すように、第1のイベント>第2のイベント=第3のイベント>第4のイベント、のように、第1のイベントの優先順位が最も高く設定されている。このようなイベントの優先順位(以下、イベント優先順位)は、ROM52に予め記録されている。 Further, as for the priority of the event, for example, as shown in FIG. 5, the priority of the first event is the highest, such as 1st event> 2nd event = 3rd event> 4th event. It is set. The priority of such an event (hereinafter, event priority) is recorded in advance in the ROM 52.

(車両情報取得部)
ECU10は、例えば50msec等といった一定時間間隔で車両情報を取得してRAM53に記録する。車両情報を表すためのデータのデータ長は、例えば2バイトといったように、予め定められた任意の大きさに設定されうる。
(Vehicle information acquisition department)
The ECU 10 acquires vehicle information at regular time intervals such as 50 msec and records it in the RAM 53. The data length of the data for representing the vehicle information can be set to an arbitrary predetermined size, for example, 2 bytes.

ECU10は、例えば、上記の一定時間間隔で取得される車両情報のそれぞれを1エントリとして、8エントリのリングバッファ形式で、時系列の車両情報をRAM53に記録する。時系列情報とは、時系列の車両情報をいう。つまり、時系列情報とは、時間の経過に伴って順に並べられた車両情報をいう。 For example, the ECU 10 records time-series vehicle information in the RAM 53 in a ring buffer format of 8 entries, with each of the vehicle information acquired at regular time intervals as one entry. Time-series information refers to time-series vehicle information. That is, the time-series information refers to vehicle information arranged in order with the passage of time.

ECU10は、イベントが発生すると、時系列設定情報に基づいて、イベントの種類に応じて予め定められた態様で、8エントリの時系列情報を生成し、生成した8エントリの時系列情報をイベント種類情報と共に、RAM53に記録させる。イベント種類情報とは、発生したイベントの種類を表す情報である。以下でいう累積回数とは、イベントの種類に拘らず、発生したイベントが累積して何回目のイベントであるかを表す値である。ECU10は、イベントが発生する毎に、イベントの累積回数をカウントし、該累積回数をEEPROM54に記憶させている。 When an event occurs, the ECU 10 generates 8-entry time-series information in a predetermined manner according to the event type based on the time-series setting information, and uses the generated 8-entry time-series information as the event type. It is recorded in the RAM 53 together with the information. The event type information is information indicating the type of event that has occurred. The cumulative number of times referred to below is a value indicating the cumulative number of events that have occurred regardless of the type of event. The ECU 10 counts the cumulative number of events each time an event occurs, and stores the cumulative number in the EEPROM 54.

時系列設定情報とは、どのような態様で時系列情報を生成するかを設定した情報であり、ROM52に予め記録されている。
本実施形態では、ECU10は、例えば図6に示すような時系列設定情報に基づいて、イベントの種類に応じた態様で、8エントリの時系列情報を生成してRAM53に記録させる。8エントリの時系列情報を生成する際には、イベントの累積回数が1回目のときの設定を用いる。該8エントリの時系列情報は、後述する保存情報を生成する元となる情報である。
The time-series setting information is information that sets how to generate the time-series information, and is recorded in advance in the ROM 52.
In the present embodiment, the ECU 10 generates 8-entry time-series information and records it in the RAM 53 in an manner corresponding to the type of event based on the time-series setting information as shown in FIG. 6, for example. When generating the time series information of 8 entries, the setting when the cumulative number of events is the first is used. The time-series information of the eight entries is information that is the source of generating the stored information described later.

例えば、ECU10は、発生したイベントが第1のイベントであった場合、図6に示す時系列設定情報に基づいて、イベント発生前の4エントリの車両情報と、イベント発生後の4エントリの車両情報とを合わせた8エントリの車両情報を、時系列情報としてRAM53に記憶させる。 For example, when the event that occurred is the first event, the ECU 10 has four entries of vehicle information before the event occurs and four entries of vehicle information after the event occurs, based on the time series setting information shown in FIG. The vehicle information of 8 entries including the above is stored in the RAM 53 as time series information.

なお、ECU10は、これらの8エントリの車両情報に含まれる1エントリの車両情報のそれぞれに、イベント種類情報が含まれるように、時系列情報を生成する。 The ECU 10 generates time-series information so that the event type information is included in each of the vehicle information of one entry included in the vehicle information of these eight entries.

(車両情報記録部)
ECU10は、CPU51が情報記録処理を実行することによって、イベントの発生毎に取得された時系列情報を、発生したイベントの累積回数に応じた態様で、情報保存部541の全領域を用いて記録する。情報保存部541とは、EEPROM54に設けられている、予め定められた大きさの記憶領域である。
(Vehicle information recording department)
The ECU 10 records the time-series information acquired for each event occurrence by the CPU 51 executing the information recording process, using the entire area of the information storage unit 541 in a manner corresponding to the cumulative number of events that have occurred. do. The information storage unit 541 is a storage area of a predetermined size provided in the EEPROM 54.

本実施形態では、情報保存部541の大きさは、車両情報取得部62にて取得される時系列情報の大きさに等しい。すなわち、情報保存部541の大きさは、8エントリの車両情報を記録可能な大きさの領域に相当する。 In the present embodiment, the size of the information storage unit 541 is equal to the size of the time series information acquired by the vehicle information acquisition unit 62. That is, the size of the information storage unit 541 corresponds to an area of a size capable of recording vehicle information of 8 entries.

[2.処理]
[2−1.情報記録処理]
次に、ECU10において車両情報記録部63が実行する情報記録処理について、図3のフローチャートを用いて説明する。情報記録処理は、イグニションスイッチ信号がイグニションスイッチがオンされていることを表す間、予め定められた周期毎に繰り返し起動される。
[2. process]
[2-1. Information recording processing]
Next, the information recording process executed by the vehicle information recording unit 63 in the ECU 10 will be described with reference to the flowchart of FIG. The information recording process is repeatedly activated at predetermined intervals while the ignition switch signal indicates that the ignition switch is turned on.

ECU10は、S10では、イベントが発生したか否かを判断する。具体的には、ECU10は、記録制御部61から出力されるイベント情報に基づいて、該イベント情報を取得した場合にイベントが発生したと判断する。ECU10は、イベントが発生した場合に処理をS15へ移行させ、イベントが発生していない場合に本情報記録処理を終了する。 In S10, the ECU 10 determines whether or not an event has occurred. Specifically, the ECU 10 determines that an event has occurred when the event information is acquired based on the event information output from the recording control unit 61. The ECU 10 shifts the process to S15 when an event occurs, and ends the information recording process when the event does not occur.

ECU10は、S15では、車両情報取得部62にてカウントされた、イベントの累積回数を取得する。
ECU10は、S20では、累積回数が予め設定された累積上限値よりも大きいか否かを判断する。累積上限値とは、イベントが発生すると想定される累積回数の上限を設定した値である。本実施形態では、累積上限値は4に定められており、予めROM52に記憶されている。ECU10は、累積回数が累積上限値以下である場合に処理をS25へ移行させ、累積上限値よりも大きい場合に本情報記録処理を終了する。
In S15, the ECU 10 acquires the cumulative number of events counted by the vehicle information acquisition unit 62.
In S20, the ECU 10 determines whether or not the cumulative number of times is larger than the preset cumulative upper limit value. The cumulative upper limit is a value that sets the upper limit of the cumulative number of times that an event is expected to occur. In the present embodiment, the cumulative upper limit value is set to 4, and is stored in the ROM 52 in advance. The ECU 10 shifts the process to S25 when the cumulative number of times is equal to or less than the cumulative upper limit value, and ends the information recording process when the cumulative number of times is greater than the cumulative upper limit value.

つまり、ECU10は、イベントの累積回数が累積上限値よりも大きい場合は、S25以降の時系列情報を記録する処理を実行しない。
ECU10は、累積回数が累積上限値以下である場合に移行するS25では、車両情報取得部62によってRAM53に記録された、8エントリの時系列情報を取得する。前述のように、8エントリの時系列情報を構成する車両情報のそれぞれには、イベント種類情報が含まれている。
That is, when the cumulative number of events is larger than the cumulative upper limit value, the ECU 10 does not execute the process of recording the time series information after S25.
In S25, which shifts when the cumulative number of times is equal to or less than the cumulative upper limit value, the ECU 10 acquires eight entries of time series information recorded in the RAM 53 by the vehicle information acquisition unit 62. As described above, each of the vehicle information constituting the eight-entry time-series information includes event type information.

ECU10は、S30では、ROM52に記録されている時系列設定情報を取得する。
ECU10は、S35では、時系列設定情報に基づいて、S25によって新たに取得された8エントリの時系列情報を用いて保存情報を生成する。保存情報とは、イベントが発生した際にS25によって新たに取得された8エントリの時系列情報を元に生成する情報であって、後述する空き領域に応じた大きさの情報である。
In S30, the ECU 10 acquires the time series setting information recorded in the ROM 52.
In S35, the ECU 10 generates stored information using the eight-entry time-series information newly acquired by S25 based on the time-series setting information. The stored information is information generated based on the time-series information of eight entries newly acquired by S25 when an event occurs, and is information of a size corresponding to a free area described later.

つまり、ECU10は、S25によって新たに取得された8エントリの時系列情報の中から、該時系列情報が取得されるきっかけとなったイベントの種類と累積回数とに応じた態様で、一又は複数の車両情報を間引いて、保存情報を生成する。本明細書でいう間引くとは、削除すること、を表す。ECU10は、生成した保存情報をRAM53に記録する。 That is, the ECU 10 has one or more of the eight entries of the time-series information newly acquired by S25, in a manner corresponding to the type of event and the cumulative number of events that triggered the acquisition of the time-series information. The stored information is generated by thinning out the vehicle information of. Thinning out as used herein means deleting. The ECU 10 records the generated stored information in the RAM 53.

図6に示す時系列設定情報では、時系列情報を構成する車両情報のうち、実線が記録すべき車両情報である記録対象情報を表し、点線が間引きをすべき車両情報である記録対象外情報を表している。 In the time-series setting information shown in FIG. 6, among the vehicle information constituting the time-series information, the solid line represents the vehicle information to be recorded, and the dotted line represents the vehicle information to be thinned out. Represents.

例えば、ECU10は、発生したイベントが第2のイベントであり、且つ、累積回数が1回であった場合、図6に示す時系列設定情報に基づいて、S25によって新たに取得された8エントリの車両情報をそのまま保存情報としてRAM53に記録する。 For example, in the ECU 10, when the generated event is the second event and the cumulative number of times is one, the ECU 10 has eight entries newly acquired by S25 based on the time series setting information shown in FIG. The vehicle information is recorded in the RAM 53 as it is as stored information.

また例えば、ECU10は、発生したイベントが第2のイベントであり、且つ、累積回数が2回であった場合、図6に示す時系列設定情報に基づいて、S25によって新たに取得された8エントリの車両情報のうち、イベントが発生する前の2エントリの車両情報と、イベントが発生した後の2エントリの車両情報と、を合わせた4エントリの車両情報、を保存情報としてRAM53に記録する。 Further, for example, when the generated event is the second event and the cumulative number of times is 2, the ECU 10 has 8 entries newly acquired by S25 based on the time series setting information shown in FIG. Of the vehicle information of the above, the vehicle information of 2 entries before the event occurs and the vehicle information of 2 entries after the event occurs, and the vehicle information of 4 entries in total are recorded in the RAM 53 as stored information.

ECU10は、S40では、累積回数が1回か否かを判断する。ECU10は、累積回数が1回である場合に処理をS45へ移行させ、2回以上である場合に処理をS50へ移行させる。 In S40, the ECU 10 determines whether or not the cumulative number of times is one. The ECU 10 shifts the process to S45 when the cumulative number of times is one, and shifts the process to S50 when the cumulative number of times is two or more.

ECU10は、累積回数が1回である場合に移行するS45では、情報保存部541の全域を空き領域として設定する。ECU10は、続くS65では、S35によって生成された保存情報をS45で設定された空き領域に記録する。そして、ECU10は、本情報記録処理を終了する。 The ECU 10 sets the entire area of the information storage unit 541 as an empty area in S45, which shifts to the case where the cumulative number of times is one. In the subsequent S65, the ECU 10 records the stored information generated by S35 in the free area set in S45. Then, the ECU 10 ends the information recording process.

これによれば、累積回数が1回である場合に8エントリの車両情報がそのまま保存情報として生成される。情報保存部541は8エントリ分の車両情報に等しい大きさの記憶領域を有するので、時系列の車両情報である保存情報が情報保存部541の全域を用いて記録される。 According to this, when the cumulative number of times is one, the vehicle information of eight entries is generated as it is as the stored information. Since the information storage unit 541 has a storage area having a size equal to the vehicle information for eight entries, the storage information which is the time-series vehicle information is recorded using the entire area of the information storage unit 541.

ECU10は、累積回数が2回以上である場合に移行するS50〜S65では、現時点までに取得された複数の時系列情報を、累積回数に応じた態様で、情報保存部541の全域を用いて記録する。 In S50 to S65, which shifts when the cumulative number of times is two or more, the ECU 10 uses the entire area of the information storage unit 541 in a manner corresponding to the cumulative number of times for a plurality of time series information acquired up to the present time. Record.

具体的には、ECU10は、S50では、後述する選択処理を実行する。選択処理は、情報保存部541内に既に記録されている時系列情報のうち一つを選択する処理である。
ECU10は、S55では、選択情報を取得する。選択情報とは、S50によって選択された、情報保存部541内に既に記録されている時系列情報のうち一つをいう。
Specifically, the ECU 10 executes the selection process described later in S50. The selection process is a process of selecting one of the time-series information already recorded in the information storage unit 541.
The ECU 10 acquires selection information in S55. The selection information refers to one of the time-series information already recorded in the information storage unit 541 selected by S50.

ECU10は、S60では、情報保存部541内において選択情報が記録されている領域内に、空き領域を生じさせる。生じさせる空き領域の大きさは、空き領域設定情報によって予め設定されている。空き領域設定情報は、例えば図5に示すように、累積回数に応じて、生じさせるべき空き領域の大きさを設定したものであり、ROM52に予め記録されている。 In S60, the ECU 10 creates an empty area in the area in which the selection information is recorded in the information storage unit 541. The size of the free space to be generated is preset by the free space setting information. As shown in FIG. 5, for example, the free area setting information sets the size of the free area to be generated according to the cumulative number of times, and is recorded in advance in the ROM 52.

ECU10は、まず間引き情報を生成する。間引き情報とは、選択情報から少なくとも1エントリの車両情報を間引いた情報である。ECU10は、時系列設定情報に基づいて、選択情報から空き領域設定情報によって設定された空き領域分の車両情報を間引いた情報を間引き情報として生成する。つまり、間引き情報は、イベントの種類および累積回数に応じた態様で生成される。 The ECU 10 first generates thinning information. The thinning information is information obtained by thinning out at least one entry of vehicle information from the selection information. Based on the time-series setting information, the ECU 10 generates information obtained by thinning out vehicle information for the free area set by the free area setting information from the selection information as thinning information. That is, the thinning information is generated in a manner corresponding to the type of event and the cumulative number of times.

続いて、ECU10は、書込済領域内に、間引き情報を新たな時系列として記録し直す。書込済領域とは、情報保存部541内において選択情報が記録されている領域である。書込済領域は新たな時系列情報として記録される間引き情報に必要とされる記録領域よりも大きいので、書込済領域内において空き領域が生じる。空き領域とは、書込済領域内において間引き情報が記録されない領域をいう。 Subsequently, the ECU 10 re-records the thinning information as a new time series in the written area. The written area is an area in which selection information is recorded in the information storage unit 541. Since the written area is larger than the recording area required for the thinning information recorded as new time series information, a free area is generated in the written area. The free area is an area in the written area in which thinning information is not recorded.

このようにして、ECU10は、書込済領域内に空き領域を生じさせる。
ECU10は、S65では、S60にて生じさせた空き領域にS35で生成した保存情報を記録する。そして、ECU10は、本情報記録処理を終了する。
In this way, the ECU 10 creates an empty area in the written area.
In S65, the ECU 10 records the stored information generated in S35 in the empty area generated in S60. Then, the ECU 10 ends the information recording process.

[2−2.選択処理]
次に、情報記録処理のS50にて実行される選択処理を図4のフローチャートに基づいて説明する。
[2-2. Selection process]
Next, the selection process executed in S50 of the information recording process will be described with reference to the flowchart of FIG.

ECU10は、S100では、ROM52からイベント優先順位を取得する。そして、ECU10は、情報保存部541内に既に記録されている時系列情報のうち一つを、時系列情報が取得されるきっかけとなったイベントのイベント優先順位に応じて選択する。ここでは、ECU10は、イベント優先順位の低いもの優先して選択する。 In S100, the ECU 10 acquires the event priority from the ROM 52. Then, the ECU 10 selects one of the time-series information already recorded in the information storage unit 541 according to the event priority of the event that triggered the acquisition of the time-series information. Here, the ECU 10 preferentially selects an event having a lower priority.

ECU10は、S110では、S100において、情報保存部541内に既に記録されている時系列情報のうち最も低いイベント優先順位の時系列情報が、複数選択されたか否かを判断する。ECU10は、最も低い優先順位の時系列情報が複数選択された場合に処理をS120へ移行させ、最も低い優先順位の時系列情報が1つ選択された場合に処理をS130へ移行させる。 In S110, the ECU 10 determines in S100 whether or not a plurality of time-series information having the lowest event priority among the time-series information already recorded in the information storage unit 541 is selected. The ECU 10 shifts the process to S120 when a plurality of time series information having the lowest priority is selected, and shifts the process to S130 when one time series information having the lowest priority is selected.

ECU10は、S120では、既に記録されている時系列情報であって最も低い優先順位である複数の時系列情報のうち一つを、時系列情報が取得されるきっかけとなったイベントの発生順序に応じて選定する。発生順序設定情報は、ここではイベントの発生順序の古いものを優先するように表されており、ROM52に予め記録されている。ECU10は、発生順序設定情報に基づいて、イベントの発生順序の古いものを優先して選択する。 In S120, the ECU 10 sets one of a plurality of time-series information, which is the lowest priority of the time-series information already recorded, into the event occurrence order that triggered the acquisition of the time-series information. Select according to. The occurrence order setting information is represented here so as to give priority to the oldest event occurrence order, and is recorded in advance in the ROM 52. The ECU 10 preferentially selects the event with the oldest occurrence order based on the occurrence order setting information.

これにより、仮にS100において、情報保存部541内に既に記録されている時系列情報のうち最も低い優先順位である時系列情報が複数選択されたとしても、本ステップにおいて、選択すべき時系列情報がイベントの発生順序に基づいて一意に決定される。 As a result, even if a plurality of time-series information having the lowest priority among the time-series information already recorded in the information storage unit 541 is selected in S100, the time-series information to be selected in this step. Is uniquely determined based on the order in which the events occur.

ECU10は、S130では、S100〜S120によって一意に選択された時系列情報の情報量が、最小情報量であるか否かを判断する。ここでいう最小情報量とは、情報保存部541に時系列情報として記録されるべき最小の情報量をいう。 In S130, the ECU 10 determines whether or not the amount of time-series information uniquely selected by S100 to S120 is the minimum amount of information. The minimum amount of information referred to here means the minimum amount of information that should be recorded as time-series information in the information storage unit 541.

最小情報量は、時系列情報が記録されるきっかけとなったイベントの種類に応じて異なる値に予め定められうる。また、最小情報量は、時系列情報が記録されるきっかけとなったイベントの種類によらず同じ値に予め定められうる。本実施形態では、図5に示すように、最小情報量は、いずれのイベントについても同じ値である、2エントリ分に定められている。 The minimum amount of information can be preset to a different value depending on the type of event that triggered the recording of the time series information. Further, the minimum amount of information can be set to the same value in advance regardless of the type of event that triggered the recording of the time series information. In this embodiment, as shown in FIG. 5, the minimum amount of information is set to two entries, which are the same values for all events.

最小情報量は、情報保存部541の全記録領域を累積上限値で除算した大きさに相当する。最小情報量は、ROM52に予め記憶されている。
ここで、ECU10は、選択された時系列情報の情報量が最小情報量よりも大きい場合は、処理をS140へ移行させる。S140では、ECU10は、選択された時系列情報を選択情報として特定してRAM53に記憶させる。そして、本選択処理を終了する。
The minimum amount of information corresponds to the size obtained by dividing the entire recording area of the information storage unit 541 by the cumulative upper limit value. The minimum amount of information is stored in the ROM 52 in advance.
Here, when the amount of information of the selected time-series information is larger than the minimum amount of information, the ECU 10 shifts the processing to S140. In S140, the ECU 10 specifies the selected time series information as selection information and stores it in the RAM 53. Then, the final selection process is terminated.

一方、ECU10は、選択された時系列情報の情報量が最小情報量である場合は、処理をS100へ移行させ、S100〜S130の処理を実行する。つまり、ECU10は、時系列情報を選択し直す。 On the other hand, when the information amount of the selected time series information is the minimum information amount, the ECU 10 shifts the processing to S100 and executes the processing of S100 to S130. That is, the ECU 10 reselects the time series information.

本選択処理で選択情報として特定される時系列情報は、間引き情報を生成する元となる情報である。つまり、S130によれば、S110またはS120にて選択された時系列情報が最小情報量である場合は、時系列情報を選択し直すことによって、情報保存部541には、最小情報量以上の情報量の時系列情報が記録されるようになる。 The time-series information specified as the selection information in this selection process is the information that is the source of generating the thinning information. That is, according to S130, when the time-series information selected in S110 or S120 is the minimum amount of information, by reselecting the time-series information, the information storage unit 541 is provided with information equal to or greater than the minimum amount of information. Amount of time series information will be recorded.

[3.作動]
このように構成されたECU10の作動について、図7〜図10を用いて説明する。
はじめに、第1のイベントが1回目のイベントとして発生した場合について説明する。図7に示すように、S201にて第1のイベントが発生したとする。S202では、車両情報取得部62は、時系列設定情報に基づいて、車両情報「9」を取得後に、8エントリの車両情報を時系列情報として生成してRAM53に記録する。ここでいう8エントリの車両情報とは、第1のイベントが発生した前後の4エントリの車両情報である、車両情報「2」〜「9」をいう。
[3. Operation]
The operation of the ECU 10 configured in this way will be described with reference to FIGS. 7 to 10.
First, a case where the first event occurs as the first event will be described. As shown in FIG. 7, it is assumed that the first event occurs in S201. In S202, the vehicle information acquisition unit 62 acquires the vehicle information “9” based on the time series setting information, and then generates eight entries of vehicle information as time series information and records it in the RAM 53. The eight-entry vehicle information referred to here refers to vehicle information "2" to "9" which are four-entry vehicle information before and after the occurrence of the first event.

S203では、車両情報記録部63は、累積回数が1回目であるので、時系列設定情報に基づいて、8エントリの車両情報を保存情報として設定する。また、車両情報記録部63は、8エントリ分の情報保存部541全域を空き領域として設定し、第1のイベントの発生をきっかけとして取得された8エントリの時系列情報を保存情報としてそのまま空き領域である情報保存部541全域に記録する。 In S203, since the cumulative number of times is the first, the vehicle information recording unit 63 sets eight entries of vehicle information as storage information based on the time series setting information. Further, the vehicle information recording unit 63 sets the entire area of the information storage unit 541 for eight entries as a free area, and uses the time series information of the eight entries acquired as a trigger of the occurrence of the first event as the storage information as it is in the free area. It is recorded in the entire area of the information storage unit 541.

これにより、S204では、情報保存部541内に、記憶領域を余らせること無く、時系列情報である保存情報が記録される。
続いて、第2のイベントが2回目のイベントとして発生した場合について説明する。図8に示すように、S205にて第2のイベントが発生したとする。S206では、車両情報取得部62は、時系列設定情報に基づいて、車両情報「18」を取得後に、8エントリの車両情報を時系列情報として生成してRAM53に記録する。ここでいう8エントリの車両情報とは、第2のイベントが発生した前後4エントリの車両情報である、車両情報「11」〜「18」をいう。
As a result, in S204, the stored information, which is time-series information, is recorded in the information storage unit 541 without leaving a storage area.
Next, a case where the second event occurs as the second event will be described. As shown in FIG. 8, it is assumed that the second event occurs in S205. In S206, the vehicle information acquisition unit 62 acquires the vehicle information "18" based on the time series setting information, and then generates eight entries of vehicle information as time series information and records it in the RAM 53. The 8-entry vehicle information referred to here refers to vehicle information "11" to "18", which is vehicle information of 4 entries before and after the occurrence of the second event.

S207では、車両情報記録部63、情報保存部541内に既に記憶されている時系列情報である車両情報「2」〜「9」を選択情報として特定する。
S208では、車両情報記録部63は、空き領域設定情報および時系列設定情報に基づいて、選択情報を元に間引き情報を生成する。すなわち、車両情報記録部63は、累積回数が2回のときの空き領域設定情報に示されているように、4エントリ分の空き領域を生じさせる。具体的には、車両情報記録部63は、第1のイベントをきっかけとして取得された車両情報「2」〜「9」のうち、図6に示す時系列設定情報において「第1のイベント」の累積回数2回目に示されているように、車両情報を1つおきに間引いて、車両情報「3」「5」「7」「9」を間引き情報として生成する。そして、車両情報記録部63は、書込済領域内に間引き情報を新たな時系列情報として記録し、4エントリ分の空き領域を生じさせる。
In S207, vehicle information "2" to "9", which are time-series information already stored in the vehicle information recording unit 63 and the information storage unit 541, are specified as selection information.
In S208, the vehicle information recording unit 63 generates thinning information based on the selection information based on the free area setting information and the time series setting information. That is, the vehicle information recording unit 63 creates free space for four entries as shown in the free space setting information when the cumulative number of times is two. Specifically, the vehicle information recording unit 63 includes the "first event" in the time-series setting information shown in FIG. 6 among the vehicle information "2" to "9" acquired in the wake of the first event. As shown in the second cumulative number of times, the vehicle information is thinned out every other time, and the vehicle information "3", "5", "7", and "9" are generated as the thinned out information. Then, the vehicle information recording unit 63 records the thinning information as new time-series information in the written area, and creates a free area for four entries.

S209では、車両情報記録部63は、時系列情報に基づいて、8エントリの車両情報「11」〜「18」を元に、保存情報を生成する。具体的には、ECU10は、第2のイベントをきっかけとして取得された車両情報「11」〜「18」のうち、図6に示す時系列設定情報において「第2のイベント」の累積回数2回目に示されているように、イベント発生前後2エントリずつを合わせた4エントリ以外の車両情報を間引いて、車両情報「13」「14」「15」「16」を保存情報として生成する。そして、保存情報を空き領域に記録する。 In S209, the vehicle information recording unit 63 generates stored information based on the vehicle information "11" to "18" of eight entries based on the time series information. Specifically, the ECU 10 is the second cumulative number of times of the "second event" in the time series setting information shown in FIG. 6 among the vehicle information "11" to "18" acquired in the wake of the second event. As shown in, vehicle information other than 4 entries, which is a total of 2 entries before and after the event occurs, is thinned out, and vehicle information "13", "14", "15", and "16" are generated as stored information. Then, the stored information is recorded in the free area.

これにより、S210では、情報保存部541内に、現時点までに取得された時系列情報が記憶領域を余らせること無く記録される。ここでいう現時点までに取得された時系列情報とは、第1のイベントをきっかけとして取得された車両情報「3」「5」「7」「9」と、第2のイベントをきっかけとして取得された車両情報「13」「14」「15」「16」である。 As a result, in S210, the time-series information acquired up to the present time is recorded in the information storage unit 541 without leaving a storage area. The time-series information acquired up to this point here is the vehicle information "3", "5", "7", "9" acquired in the wake of the first event, and the time-series information acquired in the wake of the second event. The vehicle information is "13", "14", "15", and "16".

次に、第3のイベントが3回目のイベントとして発生した場合について説明する。図9に示すように、S211にて第3のイベントが発生したとする。S212では、車両情報取得部62は、時系列設定情報に基づいて、車両情報「28」を取得後に、8エントリの車両情報を時系列情報としてRAM53に記録する。ここでいう8エントリの車両情報とは、第3のイベント発生前後4エントリの車両情報である、車両情報「21」〜「28」をいう。 Next, a case where the third event occurs as the third event will be described. As shown in FIG. 9, it is assumed that the third event occurs in S211. In S212, the vehicle information acquisition unit 62 records eight entries of vehicle information as time-series information in the RAM 53 after acquiring the vehicle information “28” based on the time-series setting information. The eight-entry vehicle information referred to here refers to vehicle information "21" to "28", which is four-entry vehicle information before and after the occurrence of the third event.

S213では、車両情報記録部63は、情報保存部541に既に記憶されている車両情報「3」「5」「7」「9」、および車両情報「13」「14」「15」「16」のうち、イベント優先順位の低い第2のイベントをきっかけとする車両情報「13」「14」「15」「16」を選択情報として特定する。 In S213, the vehicle information recording unit 63 includes vehicle information "3", "5", "7", "9" already stored in the information storage unit 541, and vehicle information "13", "14", "15", "16". Among them, the vehicle information "13", "14", "15", and "16" triggered by the second event having the lower event priority is specified as the selection information.

S214では、車両情報記録部63は、空き領域設定情報および時系列設定情報に基づいて、選択情報を元に間引き情報を生成する。すなわち、車両情報記録部63は、累積回数が3回のときの空き領域設定情報に示されているように、2エントリ分の空き領域を生じさせる。具体的には、車両情報記録部63は、第2のイベントをきっかけとして取得された車両情報「13」「14」「15」「16」のうち、図6に示す時系列設定情報において「第2のイベント」の累積回数3回目に示されているように、イベント発生前後1エントリずつを合わせた2エントリ以外の車両情報を間引いて、車両情報「14」「15」を間引き情報として生成する。そして、S215では、車両情報記録部63は、書込済領域内に間引き情報を新たな時系列情報として記録し、2エントリ分の空き領域を生じさせる。 In S214, the vehicle information recording unit 63 generates thinning information based on the selection information based on the free area setting information and the time series setting information. That is, the vehicle information recording unit 63 creates free space for two entries as shown in the free space setting information when the cumulative number of times is three. Specifically, the vehicle information recording unit 63 has the "third" in the time series setting information shown in FIG. 6 among the vehicle information "13", "14", "15", and "16" acquired in the wake of the second event. As shown in the third cumulative number of "2 events", vehicle information other than 2 entries, which is a total of 1 entry before and after the event occurs, is thinned out, and vehicle information "14" and "15" are generated as thinned out information. .. Then, in S215, the vehicle information recording unit 63 records the thinning information as new time-series information in the written area, and creates a free area for two entries.

S216では、車両情報記録部63は、時系列情報に基づいて、8エントリの車両情報「21」〜「28」を元に保存情報を生成する。具体的には、車両情報記録部63は、第3のイベントをきっかけとして取得された車両情報「21」〜「28」のうち、図6に示す時系列設定情報において「第3のイベント」の累積回数3回目に示されているように、イベント発生前2エントリ以外の車両情報を間引いて、車両情報「23」「24」を保存情報として生成する。そして、車両情報記録部63は保存情報を空き領域に記録する。 In S216, the vehicle information recording unit 63 generates stored information based on the vehicle information "21" to "28" of eight entries based on the time series information. Specifically, the vehicle information recording unit 63 has the vehicle information "21" to "28" acquired in the wake of the third event, and the vehicle information recording unit 63 has the "third event" in the time series setting information shown in FIG. As shown in the third cumulative number of times, vehicle information other than the two entries before the event occurs is thinned out, and vehicle information "23" and "24" are generated as stored information. Then, the vehicle information recording unit 63 records the stored information in the free area.

これにより、S217では、情報保存部541内に、現時点までに取得された時系列情報が記憶領域を余らせること無く記録される。ここでいう現時点までに取得された時系列情報とは、第1のイベントをきっかけとして取得された車両情報「3」「5」「7」「9」と、第2のイベントをきっかけとして取得された車両情報「14」「15」と、第3のイベントをきっかけとして取得された車両情報「23」「24」とである。 As a result, in S217, the time-series information acquired up to the present time is recorded in the information storage unit 541 without leaving a storage area. The time-series information acquired up to this point here is the vehicle information "3", "5", "7", "9" acquired in the wake of the first event, and the time-series information acquired in the wake of the second event. The vehicle information "14" and "15" and the vehicle information "23" and "24" acquired in the wake of the third event.

続いて、第4のイベントが4回目のイベントとして発生した場合について説明する。図10に示すように、S218にて第4のイベントが発生したとする。S219では、車両情報取得部62は、時系列設定情報に基づいて、車両情報「35」を取得後に、車両情報取得部62によって8エントリの車両情報を時系列情報としてRAM53に記録する。ここでいう8エントリの車両情報とは、第4のイベント発生前8エントリの車両情報である、車両情報「28」〜「35」をいう。 Next, a case where the fourth event occurs as the fourth event will be described. As shown in FIG. 10, it is assumed that the fourth event occurs in S218. In S219, the vehicle information acquisition unit 62 acquires the vehicle information “35” based on the time series setting information, and then the vehicle information acquisition unit 62 records eight entries of vehicle information as time series information in the RAM 53. The eight-entry vehicle information referred to here refers to vehicle information "28" to "35", which is eight-entry vehicle information before the occurrence of the fourth event.

S220では、車両情報記録部63は、情報保存部541に既に記憶されている車両情報「3」「5」「7」「9」、車両情報「14」「15」および車両情報「23」「24」のうち、車両情報「3」「5」「7」「9」を選択情報として特定する。 In S220, the vehicle information recording unit 63 includes vehicle information "3", "5", "7", "9", vehicle information "14", "15", and vehicle information "23", "23", which are already stored in the information storage unit 541. Of "24", vehicle information "3", "5", "7", and "9" are specified as selection information.

具体的には、車両情報記録部63は、まずイベント優先順位に基づいて、優先順位が同じである、第2のイベントをきっかけとする車両情報「14」「15」、および第3のイベントをきっかけとする車両情報「23」「24」を選択する。車両情報記録部63は、次に発生順序設定に基づいて、発生順序が古い、第2のイベントをきっかけとする車両情報「14」「15」を選択する。 Specifically, the vehicle information recording unit 63 first obtains vehicle information "14" and "15" triggered by the second event and a third event, which have the same priority, based on the event priority. Select the vehicle information "23" and "24" to be the trigger. Next, the vehicle information recording unit 63 selects vehicle information "14" and "15" triggered by the second event, which has an old occurrence order, based on the occurrence order setting.

ここで、車両情報「14」「15」は最小情報量である2エントリ分の情報であるため、車両情報記録部63は、第3のイベントをきっかけとする車両情報「23」「24」を選択する。ただし、車両情報「23」「24」も最小情報量である2エントリ分の情報であるため、車両情報記録部63は、車両情報「3」「5」「7」「9」を選択情報として特定する。 Here, since the vehicle information "14" and "15" are information for two entries, which is the minimum amount of information, the vehicle information recording unit 63 uses the vehicle information "23" and "24" triggered by the third event. select. However, since the vehicle information "23" and "24" are also information for two entries, which is the minimum amount of information, the vehicle information recording unit 63 uses the vehicle information "3", "5", "7", and "9" as selection information. Identify.

S221では、車両情報記録部63は、空き領域設定情報および時系列設定情報に基づいて、選択情報を元に間引き情報を生成する。すなわち、車両情報記録部63は、累積回数が4回のときの空き領域設定情報に示されているように、2エントリ分の空き領域を生じさせる。具体的には、車両情報記録部63は、第1のイベントをきっかけとして取得された車両情報「3」「5」「7」「9」のうち、図6に示す時系列設定情報において「第1のイベント」の累積回数4回目に示されているように車両情報を間引いて、車両情報「5」「9」を間引き情報として生成する。そして、S222では、車両情報記録部63は、書込済領域内に間引き情報を新たな時系列情報として記録し、2エントリ分の空き領域を生じさせる。 In S221, the vehicle information recording unit 63 generates thinning information based on the selection information based on the free area setting information and the time series setting information. That is, the vehicle information recording unit 63 creates free space for two entries as shown in the free space setting information when the cumulative number of times is four. Specifically, the vehicle information recording unit 63 has the "third" in the time series setting information shown in FIG. 6 among the vehicle information "3", "5", "7", and "9" acquired in the wake of the first event. Vehicle information is thinned out as shown in the fourth cumulative number of times of "1 event", and vehicle information "5" and "9" are generated as thinning out information. Then, in S222, the vehicle information recording unit 63 records the thinning information as new time-series information in the written area, and creates a free area for two entries.

S223では、ECU10は、時系列情報に基づいて、8エントリの車両情報「28」〜「35」を元に保存情報を生成する。具体的には、ECU10は、第4のイベントをきっかけとして取得された車両情報「28」〜「35」のうち、図6に示す時系列設定情報において「第4のイベント」の累積回数4回目に示されているように車両情報を間引いて、車両情報「28」「29」を保存情報として生成する。そして、保存情報を空き領域に記録する。 In S223, the ECU 10 generates stored information based on the vehicle information "28" to "35" of 8 entries based on the time series information. Specifically, the ECU 10 is the fourth cumulative number of times of the "fourth event" in the time series setting information shown in FIG. 6 among the vehicle information "28" to "35" acquired in the wake of the fourth event. The vehicle information is thinned out as shown in the above, and the vehicle information "28" and "29" are generated as the stored information. Then, the stored information is recorded in the free area.

これにより、S224では、情報保存部541内に、現時点までに取得された時系列情報が記憶領域を余らせること無く記録される。ここでいう現時点までに取得された時系列情報とは、第1のイベントをきっかけとして取得された車両情報「5」「9」と、第2のイベントをきっかけとして取得された車両情報「14」「15」と、第3のイベントをきっかけとして取得された車両情報「23」「24」と、第4のイベントをきっかけとして取得された車両情報「28」「29」とである。 As a result, in S224, the time-series information acquired up to the present time is recorded in the information storage unit 541 without leaving a storage area. The time-series information acquired up to this point here is the vehicle information "5" and "9" acquired in the wake of the first event and the vehicle information "14" acquired in the wake of the second event. These are "15", vehicle information "23" and "24" acquired in the wake of the third event, and vehicle information "28" and "29" acquired in the wake of the fourth event.

このように、ECU10は、EEPROM54の情報保存部541内に、現時点までに取得された時系列情報を、記憶領域を余らせること無く記録する。これにより、累積回数が上限閾値未満である場合、時系列情報は、最小情報量よりも大きい情報量で記録されることが可能となる。 In this way, the ECU 10 records the time-series information acquired up to the present time in the information storage unit 541 of the EEPROM 54 without leaving a storage area. As a result, when the cumulative number of times is less than the upper limit threshold value, the time series information can be recorded with an amount of information larger than the minimum amount of information.

ここで、比較例としてのECUの作動を図11に示す。S301において第1のイベントが発生するものとする。比較例としてのECUは、S302では、例えば2エントリ分といったように予め最小情報量に定められた大きさの時系列情報をRAMに記録するように構成されている。そして、S303では、最小情報量に定められた大きさの時系列情報を情報保存部541に記録する。これにより、S304では、情報保存部541内に6エントリ分の利用されない記憶領域が存在することになる。 Here, the operation of the ECU as a comparative example is shown in FIG. It is assumed that the first event occurs in S301. The ECU as a comparative example is configured in S302 to record time-series information having a size predetermined to a minimum amount of information in advance, such as for two entries, in the RAM. Then, in S303, time-series information having a size determined by the minimum amount of information is recorded in the information storage unit 541. As a result, in S304, there is an unused storage area for 6 entries in the information storage unit 541.

本実施形態のECU10は、累積回数が上限閾値未満である場合には、図11に示すような比較例としてのECUよりも、より詳細に時系列情報を記録することが可能となる。
[4.効果]
以上詳述した実施形態によれば、以下の効果を奏する。
When the cumulative number of times is less than the upper limit threshold value, the ECU 10 of the present embodiment can record time series information in more detail than the ECU as a comparative example as shown in FIG.
[4. effect]
According to the embodiment described in detail above, the following effects are obtained.

(4a)ECU10は、S10では、車両において予め定められたイベントが発生したことを表すイベント情報を取得する。ECU10は、S15では、イベント情報が取得される毎に、イベントが発生した累積回数を取得する。ECU10は、S25では、イベント情報が取得される毎に、時系列情報を取得する。 (4a) In S10, the ECU 10 acquires event information indicating that a predetermined event has occurred in the vehicle. In S15, the ECU 10 acquires the cumulative number of times the event has occurred each time the event information is acquired. In S25, the ECU 10 acquires time-series information each time event information is acquired.

ECU10は、S65では、時系列情報が取得される毎に、現時点までにS25よって取得された少なくとも一つの時系列情報を、累積回数に応じた態様で、予め定められた大きさの記録領域である情報保存部541の全域を用いて記録させる。時系列情報は、車両の状態を表す予め定められた車両情報が時間の経過に伴って順に複数並べられた情報である。 In S65, the ECU 10 stores at least one time-series information acquired by S25 up to the present time in a recording area having a predetermined size in a mode according to the cumulative number of times, each time the time-series information is acquired. Recording is performed using the entire area of a certain information storage unit 541. The time-series information is information in which a plurality of predetermined vehicle information representing the state of the vehicle is arranged in order with the passage of time.

これによれば、現時点までに取得された時系列情報を、累積回数に応じた態様で、情報保存部541の全領域を用いて記録させる構成を備えるので、情報保存部541内の記録領域を余らせること無く有効に利用することができる。 According to this, since the time series information acquired up to the present time is recorded by using the entire area of the information storage unit 541 in an manner according to the cumulative number of times, the recording area in the information storage unit 541 is provided. It can be used effectively without leaving any residue.

(4b)ECU10は、S45では、累積回数が1回である場合に、S25によって取得された時系列情報を、情報保存部541の全域を用いて記録させる。
これによれば、累積回数が1回である場合にも、情報保存部541内の記録領域を余らせること無く有効に利用することができる。
(4b) In S45, the ECU 10 causes the time series information acquired by S25 to be recorded using the entire area of the information storage unit 541 when the cumulative number of times is one.
According to this, even when the cumulative number of times is one, the recording area in the information storage unit 541 can be effectively used without being left over.

(4c)ECU10は、S50では、累積回数が2回以上である場合に、情報保存部541内に既に記録されている時系列情報のうち一つを選択する。ECU10は、S55では、S50によって選択された時系列情報である選択情報を取得する。ECU10は、S60では、選択情報から少なくとも一つの車両情報を間引いた間引き情報を生成し、情報保存部541内において選択情報が記録されている領域である書込済領域内に間引き情報を新たな時系列情報として記録し直して、書込済領域に間引き情報が記録されていない領域である空き領域を生じさせる。ECU10は、S35では、S25によって新たに取得された時系列情報を用いて空き領域に応じた大きさの情報である保存情報を生成する。ECU10は、S65では、空き領域に保存情報を記録させる。 (4c) In S50, the ECU 10 selects one of the time-series information already recorded in the information storage unit 541 when the cumulative number of times is two or more. In S55, the ECU 10 acquires selection information which is time-series information selected by S50. In S60, the ECU 10 generates thinning information obtained by thinning out at least one vehicle information from the selection information, and newly thins out the thinning information in the written area which is the area in which the selection information is recorded in the information storage unit 541. It is re-recorded as time-series information, and a free area, which is an area in which thinning information is not recorded, is generated in the written area. In S35, the ECU 10 uses the time-series information newly acquired by S25 to generate storage information having a size corresponding to the free area. In S65, the ECU 10 causes the stored information to be recorded in an empty area.

これによれば、ECU10は、累積回数が2回以上である場合に、時系列情報が既に記録されている領域に該時系列情報に基づく間引き情報を記録し直して空き領域を生じさせ、空き領域に新たに取得した時系列情報を記録させる。このため、累積回数が2回以上である場合にも、複数の時系列情報が情報保存部541内の全域を用いて記録される。この結果、情報保存部541内の記録領域を有効に利用することができる。 According to this, when the cumulative number of times is two or more, the ECU 10 re-records the thinning information based on the time-series information in the area where the time-series information is already recorded to generate a free area, and is free. Have the area record the newly acquired time series information. Therefore, even when the cumulative number of times is two or more, a plurality of time series information is recorded using the entire area in the information storage unit 541. As a result, the recording area in the information storage unit 541 can be effectively used.

(4d)ECU10は、S50では、情報保存部541内に既に記録されている時系列情報のうち一つを、時系列情報が取得されるきっかけとなったイベントの優先度に応じて選択する。 (4d) In S50, the ECU 10 selects one of the time-series information already recorded in the information storage unit 541 according to the priority of the event that triggered the acquisition of the time-series information.

これによれば、例えば、情報保存部541内に既に記録されている時系列情報のうち優先度の最も低いイベントに応じて取得された時系列情報を選択するようにECU10を構成すれば、優先度の最も低い時系列情報について間引き情報が生成される。つまり、優先度の高い時系列情報については、優先度の低い時系列情報よりも大きい情報量で記録することが可能となる。 According to this, for example, if the ECU 10 is configured to select the time-series information acquired according to the event with the lowest priority among the time-series information already recorded in the information storage unit 541, the priority is given. Thinning information is generated for the time series information with the lowest degree. That is, the time-series information having a high priority can be recorded with a larger amount of information than the time-series information having a low priority.

(4e)ECU10は、S50では、情報保存部541内に既に記録されている時系列情報のうち一つを、時系列情報が取得されるきっかけとなったイベントの発生順に応じて選択する。本実施形態では、イベントの発生順序が古いものを優先して選択する。 (4e) In S50, the ECU 10 selects one of the time-series information already recorded in the information storage unit 541 according to the order of occurrence of the event that triggered the acquisition of the time-series information. In the present embodiment, the one with the oldest event occurrence order is preferentially selected.

これによれば、ECU10は、例えば、既に情報保存部541内に記録されている時系列情報のうち優先度の最も低いイベントが複数ある場合に、これらのうちイベントの発生順序が最も遅いものを選択情報として選択するといったように、選択情報を一意に決定することできる。 According to this, for example, when there are a plurality of events having the lowest priority among the time-series information already recorded in the information storage unit 541, the ECU 10 selects the event having the latest event occurrence order among them. The selection information can be uniquely determined, such as selecting as the selection information.

[5.他の実施形態]
以上、本開示の実施形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
[5. Other embodiments]
Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and can be implemented in various modifications.

(5a)上記実施形態では、時系列情報が取得されるきっかけとなるイベントの種類は4種類であったが、これに限定されるものではない。例えば、2種類、3種類、または5種類以上等といったように、イベントの種類は任意の数としてもよい。 (5a) In the above embodiment, there are four types of events that trigger the acquisition of time-series information, but the event is not limited to this. For example, the number of event types may be arbitrary, such as two types, three types, five or more types, and the like.

(5b)上記実施形態では、累積上限値は4に設定されていたが、これに限定されるものではない。累積上限値は2以上の任意の数としてもよい。なお、仮に累積上限値を2に設定する場合は、上記実施形態において図5に示したようなイベント優先順位や発生順序優先順位の設定は不要である。 (5b) In the above embodiment, the cumulative upper limit is set to 4, but the cumulative upper limit is not limited to this. The cumulative upper limit may be any number of 2 or more. If the cumulative upper limit is set to 2, it is not necessary to set the event priority and the occurrence order priority as shown in FIG. 5 in the above embodiment.

(5c)上記実施形態では、S25にて取得される時系列情報は、8エントリ分の車両情報であった。そして、該時系列情報の情報量と同じ大きさの記憶領域がEEPROM54において情報保存部541として割り当てられていた。ただし、これに限定されるものではない。S25にて取得される時系列情報は、情報保存部541全領域以上の任意の大きさとしてもよい。 (5c) In the above embodiment, the time-series information acquired in S25 is vehicle information for eight entries. Then, a storage area having the same size as the amount of information of the time-series information was assigned as the information storage unit 541 in the EEPROM 54. However, the present invention is not limited to this. The time-series information acquired in S25 may have an arbitrary size equal to or larger than the entire area of the information storage unit 541.

(5d)上記実施形態では、ECU10は、S50で実行する選択処理にて、情報保存部541内に既に記録されている時系列情報のうち一つを、該時系列情報が取得されるきっかけとなったイベントの優先度、およびイベントの発生順序に応じて選択していたが、これに限定されるものではない。例えば、ECU10は、S50で実行する選択処理にて、情報保存部541内に既に記録されている時系列情報のうち一つを、イベントの発生順序のみに応じて選択してもよい。 (5d) In the above embodiment, the ECU 10 triggers the acquisition of one of the time-series information already recorded in the information storage unit 541 in the selection process executed in S50. The selection was made according to the priority of the event and the order in which the events occurred, but the selection is not limited to this. For example, the ECU 10 may select one of the time-series information already recorded in the information storage unit 541 in the selection process executed in S50 according to only the event occurrence order.

ECU10は、イベントの発生順序の古いものを優先して選択情報として特定してもよい。また、ECU10は、イベントの発生順序の新しいものを優先して選択情報として特定してもよい。これにより、選択情報を一意に特定することができる。 The ECU 10 may preferentially specify the event with the oldest event occurrence order as selection information. Further, the ECU 10 may preferentially specify a new event occurrence order as selection information. Thereby, the selection information can be uniquely specified.

(5e)上記実施形態では、ECU10は、累積回数が2回以上である場合に、書込済領域に空き領域を生じさせて該空き領域に保存情報を記録する構成を備えていたが、これに限定されるものではない。ECU10は、該構成を備えていなくてもよい。すなわち、ECU10は、累積回数が1回である場合に、S25によって取得された時系列情報を、情報保存部541の全域を用いて記録させる構成のみを備えるものであってもよい。 (5e) In the above embodiment, the ECU 10 has a configuration in which a free area is generated in the written area and the stored information is recorded in the free area when the cumulative number of times is two or more. It is not limited to. The ECU 10 does not have to have this configuration. That is, the ECU 10 may have only a configuration in which the time series information acquired by S25 is recorded using the entire area of the information storage unit 541 when the cumulative number of times is one.

(5f)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。なお、特許請求の範囲に記載した文言から特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。 (5f) A plurality of functions possessed by one component in the above embodiment may be realized by a plurality of components, or one function possessed by one component may be realized by a plurality of components. .. Further, a plurality of functions possessed by the plurality of components may be realized by one component, or one function realized by the plurality of components may be realized by one component. Further, a part of the configuration of the above embodiment may be omitted. In addition, at least a part of the configuration of the above embodiment may be added or replaced with the configuration of the other above embodiment. It should be noted that all aspects included in the technical idea specified from the wording described in the claims are embodiments of the present disclosure.

(5g)上述したECU10、マイコン50、CPU51の他、CPU51を機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実態的記録媒体、情報記録方法など、種々の形態で本開示を実現することもできる。 (5g) In addition to the above-mentioned ECU 10, microcomputer 50, and CPU 51, the present disclosure is made in various forms such as a program for operating the CPU 51, a non-transitional actual recording medium such as a semiconductor memory in which this program is recorded, and an information recording method. Can also be realized.

[6.特許請求の範囲と実施形態との対応]
ECU10が、イベント部、累積回数部、時系列部、保存情報部、初回記録部、選択部、選択情報部、空き領域生成部、記録実行部、複数記録部に相当する。情報保存部541が情報記録部に相当する。
[6. Correspondence between claims and embodiments]
The ECU 10 corresponds to an event unit, a cumulative number of times unit, a time series unit, a storage information unit, an initial recording unit, a selection unit, a selection information unit, a free area generation unit, a recording execution unit, and a plurality of recording units. The information storage unit 541 corresponds to the information recording unit.

また、S10がイベント部としての処理に相当し、S15が累積回数部としての処理に相当し、S25が時系列部としての処理に相当し、S35が保存情報部としての処理に相当し、S45が初回記録部としての処理に相当する。S50が選択部としての処理に相当し、S55が選択情報部としての処理に相当し、S60が空き領域生成部としての処理に相当し、S65が記録実行部、複数記録部としての処理に相当する。 Further, S10 corresponds to the processing as the event part, S15 corresponds to the processing as the cumulative number of times part, S25 corresponds to the processing as the time series part, S35 corresponds to the processing as the storage information part, and S45. Corresponds to the processing as the initial recording unit. S50 corresponds to the processing as the selection unit, S55 corresponds to the processing as the selection information unit, S60 corresponds to the processing as the free area generation unit, and S65 corresponds to the processing as the recording execution unit and the plurality of recording units. do.

10 ECU、541 情報保存部。 10 ECU, 541 Information storage unit.

Claims (6)

車両に搭載された電子制御装置(10)であって、
前記車両において予め定められたイベントが発生したことを表すイベント情報を取得するイベント部(S10)と、
前記イベント情報が取得される毎に、前記イベントが発生した累積回数を取得する累積回数部(S15)と、
前記イベント情報が取得される毎に、時系列情報を取得する時系列部(S25)と、
前記時系列情報が取得される毎に、現時点までに取得された少なくとも1つの前記時系列情報を、前記累積回数に応じた態様で、予め定められた大きさの記録領域である情報記録部(541)の全域を用いて記録させる記録実行部(S65)と、
を備え、
前記時系列情報は、前記車両の状態を表す車両情報が時間の経過に伴って順に複数並べられた情報であり、
前記記録実行部は、既に記録されている前記時系列情報のうちから選択された選択情報が記録されている前記情報記録部の領域内に、前記累積回数に応じて生じさせるべき空き領域の大きさを設定した空き領域設定情報に基づいて、前記選択情報から前記空き領域ぶんの前記車両情報を間引いた情報を間引き情報として生成して前記領域内に記録し直して空き領域を生じさせ、新たに取得された前記時系列情報から前記累積回数に応じた大きさの保存情報を生成して前記空き領域に記憶する
電子制御装置。
An electronic control device (10) mounted on a vehicle.
An event unit (S10) for acquiring event information indicating that a predetermined event has occurred in the vehicle, and
Every time the event information is obtained, the cumulative number of times unit that acquires the cumulative number of times the event occurred and (S15),
Each time the event information is acquired, the time-series portion (S25) for acquiring the time-series information and
Each time the time-series information is acquired, at least one of the time-series information acquired up to the present time is stored in an information recording unit (a recording area having a predetermined size) in a manner corresponding to the cumulative number of times. A recording execution unit (S65) for recording using the entire area of 541), and
With
The time-series information, vehicle information indicating a state of the vehicle is Ri turn more ordered information der over time,
The recording execution unit is the size of the free area to be generated according to the cumulative number of times in the area of the information recording unit in which the selection information selected from the time series information that has already been recorded is recorded. Based on the free area setting information in which the setting is made, information obtained by thinning out the vehicle information for the free area from the selection information is generated as thinning information and re-recorded in the area to generate a new free area. An electronic control device that generates storage information having a size corresponding to the cumulative number of times from the time-series information acquired in the above and stores it in the free area.
請求項1に記載の電子制御装置であって、
前記記録実行部は、現時点までに取得された少なくとも1つの前記時系列情報を前記情報記録部に記憶させる際、現時点までに取得された1つ以上の前記時系列情報それぞれの大きさを前記累積回数に応じて調整し、前記情報記録部に記憶させる前記時系列情報の全体の大きさを前記情報記録部の全域の大きさに合致させる
電子制御装置。
The electronic control device according to claim 1.
When the recording execution unit stores at least one time-series information acquired up to the present time in the information recording unit, the recording execution unit accumulates the size of each of the one or more time-series information acquired up to the present time. An electronic control device that adjusts according to the number of times and makes the overall size of the time-series information stored in the information recording unit match the size of the entire area of the information recording unit.
請求項1または請求項2に記載の電子制御装置であって、
前記記録実行部は、
前記累積回数に応じて、前記累積回数が1回である場合に、前記時系列部によって取得された前記時系列情報を、前記情報記録部の全域を用いて記録させる初回記録部(S45)
を有する電子制御装置。
The electronic control device according to claim 1 or 2.
The recording execution unit
Initial recording unit (S45) for recording the time-series information acquired by the time-series unit using the entire area of the information recording unit when the cumulative number of times is one according to the cumulative number of times.
Electronic control device with.
請求項1から請求項3のいずれか一項に記載の電子制御装置であって、
前記記録実行部は、
前記累積回数に応じて、前記累積回数が2回以上である場合に、前記情報記録部内に既に記録されている前記時系列情報のうち一つを選択する選択部(S50)と、
前記選択部によって選択された前記時系列情報である前記選択情報を取得する選択情報部(S55)と、
前記選択情報から少なくとも一つの前記車両情報を間引いた前記間引き情報を生成し、前記情報記録部内において前記選択情報が記録されている領域である書込済領域内に前記間引き情報を新たな時系列情報として記録し直して、前記書込済領域内に前記間引き情報が記録されていない領域である前記空き領域を生じさせる空き領域生成部(S60)と、
前記時系列部によって新たに取得された前記時系列情報に基づいて、前記空き領域に応じた大きさの情報である前記保存情報を生成する保存情報部(S35)と、
前記空き領域に前記保存情報を記録させる複数記録部(S65)と、
を備える電子制御装置。
The electronic control device according to any one of claims 1 to 3.
The recording execution unit
A selection unit (S50) that selects one of the time-series information already recorded in the information recording unit when the cumulative number of times is two or more according to the cumulative number of times.
Selection information unit that obtains the selection information which is the time-series information selected by the selection section and (S55),
Generates the thinning information is thinned out at least one of the vehicle information from the selection information, the information when the write completion area the selection information in the recording unit is a region which is recorded a new said thinning information sequence re-recorded as the information, the document Komisumi said vacant area generation unit to generate a free area is an area in which the thinning information is not recorded in the area and (S60),
The time based on the time-series information newly acquired by the sequence unit, storage information unit configured to generate the storage information is the size information of in accordance with the free space and (S35),
A plurality of recording units (S65) for recording the stored information in the free area, and
An electronic control device comprising.
請求項4に記載の電子制御装置であって、
前記イベントは予め定められた複数種類からなり、前記イベントの種類に応じて優先順位が予め定められており、
前記選択部は、前記既に記録されている時系列情報のうち一つを、前記時系列情報が取得されるきっかけとなった前記イベントの前記優先順位に応じて選択する
電子制御装置。
The electronic control device according to claim 4.
The event is composed of a plurality of predetermined types, and the priority is predetermined according to the type of the event.
The selection unit is an electronic control device that selects one of the already recorded time-series information according to the priority of the event that triggered the acquisition of the time-series information.
請求項4または請求項5に記載の電子制御装置であって、
前記選択部は、前記既に記録されている時系列情報のうち一つを、前記時系列情報が取得されるきっかけとなった前記イベントの発生順序に応じて選択する
電子制御装置。
The electronic control device according to claim 4 or 5.
The selection unit is an electronic control device that selects one of the already recorded time-series information according to the order of occurrence of the event that triggered the acquisition of the time-series information.
JP2018002001A 2017-01-20 2018-01-10 Electronic control device Active JP6930432B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/872,150 US10726648B2 (en) 2017-01-20 2018-01-16 Electronic control apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017008927 2017-01-20
JP2017008927 2017-01-20

Publications (3)

Publication Number Publication Date
JP2018120588A JP2018120588A (en) 2018-08-02
JP2018120588A5 JP2018120588A5 (en) 2020-04-16
JP6930432B2 true JP6930432B2 (en) 2021-09-01

Family

ID=63043889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018002001A Active JP6930432B2 (en) 2017-01-20 2018-01-10 Electronic control device

Country Status (1)

Country Link
JP (1) JP6930432B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102276345B1 (en) * 2019-12-18 2021-07-12 주식회사 쏘마 Compression method for behavior event on computer
JP7243661B2 (en) * 2020-02-20 2023-03-22 いすゞ自動車株式会社 Event information reference system
CN114445932A (en) * 2022-02-28 2022-05-06 重庆长安汽车股份有限公司 Device and method for monitoring and recording vehicle behavior data

Also Published As

Publication number Publication date
JP2018120588A (en) 2018-08-02

Similar Documents

Publication Publication Date Title
JP6930432B2 (en) Electronic control device
EP2040166B1 (en) Memory management apparatus
CN103116532A (en) Recovering from stack corruption faults in embedded software systems
JP2006114043A (en) Data processing apparatus and method for flash memory
US7340326B2 (en) Recovery control method for vehicle control system
JP2006277078A (en) Log information management device, method and program
CN103246591B (en) The method and apparatus of signal transacting
JP4279593B2 (en) Elevator control device
JP2006209685A (en) Failure diagnostic method and failure diagnostic device
CN101826040A (en) Method and system for automatically detecting and restoring memory equipment
JP5915490B2 (en) Electronic control unit
EP0967551B1 (en) Electronic control unit having user breakable function
KR101304050B1 (en) Variable Information Recording System and Method for Vehicle Breakdown Code
KR101274474B1 (en) Method and apparatus for data management in a vehicle
JP4708088B2 (en) Failure recovery method and microcomputer
US10726648B2 (en) Electronic control apparatus
JP5516509B2 (en) Program writing system
KR100800044B1 (en) Method for automatic checkpoint file management
US11231871B2 (en) Electronic control device with non-volatile memory
US8036800B2 (en) Method for operating a motor vehicle control unit
CN110281865B (en) Vehicle controller and data storage method
US9773562B2 (en) Storage apparatus, flash memory control apparatus, and program
JP2006291720A (en) Control device
JP6914430B2 (en) Memory diagnostic device and memory diagnostic method
JP6138735B2 (en) Electronic control unit

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210420

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210726

R151 Written notification of patent or utility model registration

Ref document number: 6930432

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151