JP2021120792A - Electronic control device and system - Google Patents

Electronic control device and system Download PDF

Info

Publication number
JP2021120792A
JP2021120792A JP2020013839A JP2020013839A JP2021120792A JP 2021120792 A JP2021120792 A JP 2021120792A JP 2020013839 A JP2020013839 A JP 2020013839A JP 2020013839 A JP2020013839 A JP 2020013839A JP 2021120792 A JP2021120792 A JP 2021120792A
Authority
JP
Japan
Prior art keywords
event data
vehicle
transmission buffer
control device
volatile memory
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.)
Pending
Application number
JP2020013839A
Other languages
Japanese (ja)
Inventor
敬亮 竹内
Takaaki Takeuchi
敬亮 竹内
知靖 坂口
Tomoyasu Sakaguchi
知靖 坂口
大司 清宮
Daiji Kiyomiya
大司 清宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Astemo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Astemo Ltd filed Critical Hitachi Astemo Ltd
Priority to JP2020013839A priority Critical patent/JP2021120792A/en
Publication of JP2021120792A publication Critical patent/JP2021120792A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide an electronic control device and the like which transmits event data indicating an operation condition of a vehicle to a server at the outside of the vehicle via a communication unit and is capable of preventing disposal of the event data due to overflow of a transmission buffer in the communication unit.SOLUTION: An electronic control device 110 includes a nonvolatile memory 115, a communication circuit 111 which is connected, via an on-vehicle network 101B, to a communication unit 120 for performing wireless communication with a server 300 which receives event data indicating an operation condition of a vehicle and stores the data in a storage 301, and a processor 116 which receives a free capacity of a transmission buffer 124 via the communication circuit, determines whether the free capacity of the transmission buffer is not larger than a first threshold, transmits the event data to the communication unit via the communication circuit when the free capacity of the transmission buffer is larger than the first threshold, and stores the event data in the nonvolatile memory when the free capacity of the transmission buffer is not larger than the first threshold.SELECTED DRAWING: Figure 1

Description

本発明は、電子制御装置及びシステムに関する。 The present invention relates to electronic control devices and systems.

従来、例えば車両が交通事故を起こしたり、急ブレーキなどの事故回避行動を行ったりした際に、車両の挙動(速度や衝撃など)を示す挙動データや運転者の操作状況(ハンドルやブレーキ操作など)を示す操作データ等をイベントデータとして記録するイベントデータレコーダ(Event Data Recorder:以下、EDR)が知られている。 Conventionally, when a vehicle causes a traffic accident or performs an accident avoidance action such as sudden braking, behavior data showing the behavior of the vehicle (speed, impact, etc.) and the operation status of the driver (handle, brake operation, etc.) An event data recorder (hereinafter referred to as EDR) that records operation data or the like indicating () as event data is known.

EDRは、一つの電子制御装置(Electronic Control Unit:以下、ECU)に搭載された不揮発性メモリにイベントデータを記録する構成が一般的である。 The EDR is generally configured to record event data in a non-volatile memory mounted on one electronic control unit (hereinafter, ECU).

近年では、各国でEDRの法規制化が進められており、その中で、イベントデータの保管期間が規定されている。例えば、非特許文献1では、イベントデータが生成されてから10日以上経過した後に収集できることを求めている。 In recent years, EDR legislation has been promoted in each country, and the storage period of event data is stipulated in it. For example, Non-Patent Document 1 requires that event data can be collected 10 days or more after it is generated.

さらに、映像データをイベントデータとして記録することや、より長時間のイベントデータを記録することを求める動きもあり、それらを実現するには、より大容量のイベントデータを記録できることが必要になる。しかし、不揮発性メモリは一般的に高価であることや、ECU上の実装空間の制約により、大容量化には限界がある。 Furthermore, there is a movement to record video data as event data and to record event data for a longer period of time, and in order to realize them, it is necessary to be able to record a larger amount of event data. However, the non-volatile memory is generally expensive, and there is a limit to the increase in capacity due to the limitation of the mounting space on the ECU.

また、不揮発性メモリには原理的に書き換え回数の上限、および書き換え頻度の上限があり、これらの上限を超えて使用すると、データ保持期間が短くなり、法規で定められた期間のデータ保持ができなくなるなどの問題が生じる。 In principle, non-volatile memory has an upper limit on the number of rewrites and an upper limit on the frequency of rewrites. If the non-volatile memory is used beyond these upper limits, the data retention period will be shortened and the data can be retained for the period stipulated by law. Problems such as disappearance occur.

一方、無線通信回線を介して車外との通信を行う機能を有するユニット(以下、通信ユニット)に、他のECUが生成したイベントデータを集約し、車両外部のデータ管理サーバなどにイベントデータを送信するシステムが提案されている。(例えば、特許文献1を参照)
このようなシステムを用いれば、前記のようなECU上の不揮発性メモリに記録した場合の問題の解決が可能になる。
On the other hand, event data generated by other ECUs is aggregated in a unit having a function of communicating with the outside of the vehicle via a wireless communication line (hereinafter referred to as a communication unit), and the event data is transmitted to a data management server outside the vehicle. A system has been proposed. (See, for example, Patent Document 1)
By using such a system, it is possible to solve the problem when recording in the non-volatile memory on the ECU as described above.

特開2012−156803号公報Japanese Unexamined Patent Publication No. 2012-156803

米国連邦法規CFR49 Part563US Federal Law CFR49 Part563

無線通信回線を介した通信では、電波強度が不十分、あるいは無線基地局に多数の無線端末が接続されているなどの理由により、通信速度が低下したり、通信が途絶したりする場合がある。 In communication via a wireless communication line, the communication speed may decrease or communication may be interrupted due to insufficient signal strength or a large number of wireless terminals connected to the wireless base station. ..

このような場合、前記通信ユニットは、送信すべきイベントデータの全部または一部を送信できずに、内部の送信バッファに保持し続けることになる。 In such a case, the communication unit cannot transmit all or part of the event data to be transmitted and keeps holding it in the internal transmission buffer.

一方で、車両外部との通信を行う機能を持たないECUは、無線通信回線における通信速度の低下や通信の途絶を把握できないため、通信ユニットが送信できずに送信バッファに保持しているイベントデータがあったとしても、新たなイベントデータを通信ユニットに送信する。 On the other hand, the ECU that does not have the function of communicating with the outside of the vehicle cannot grasp the decrease in communication speed or the interruption of communication in the wireless communication line, so that the communication unit cannot transmit and holds the event data in the transmission buffer. Even if there is, new event data is sent to the communication unit.

その結果、通信ユニットの送信バッファの空き容量がなくなり、送信できないイベントデータの一部が破棄される可能性がある。 As a result, the free space of the transmission buffer of the communication unit may be exhausted, and a part of the event data that cannot be transmitted may be discarded.

本発明の目的は、通信ユニットでの送信バッファあふれによるイベントデータの破棄を防止することができる電子制御装置等を提供することにある。 An object of the present invention is to provide an electronic control device or the like capable of preventing event data from being destroyed due to overflow of a transmission buffer in a communication unit.

上記目的を達成するために、本発明は、不揮発性メモリと、車両の運転状態を示すイベントデータを受信してストレージに記憶するサーバと無線通信を行う通信ユニットに車載ネットワークを介して接続される通信回路と、前記通信回路を介して前記通信ユニットから送信バッファの空き容量を受信し、前記送信バッファの空き容量が第1閾値以下であるか判定し、前記送信バッファの空き容量が第1閾値を超える場合、前記通信回路を介して前記イベントデータを前記通信ユニットへ送信し、前記送信バッファの空き容量が前記第1閾値以下である場合、前記イベントデータを前記不揮発性メモリに記憶するプロセッサと、を備える。 In order to achieve the above object, the present invention is connected to a non-volatile memory and a communication unit that performs wireless communication with a server that receives event data indicating the operating state of the vehicle and stores it in the storage via an in-vehicle network. The free capacity of the transmission buffer is received from the communication circuit and the communication unit via the communication circuit, it is determined whether the free capacity of the transmission buffer is equal to or less than the first threshold value, and the free capacity of the transmission buffer is the first threshold value. When the amount exceeds, the event data is transmitted to the communication unit via the communication circuit, and when the free capacity of the transmission buffer is equal to or less than the first threshold value, the event data is stored in the non-volatile memory. , Equipped with.

本発明によれば、通信ユニットでの送信バッファあふれによるイベントデータの破棄を防止することができる。上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。 According to the present invention, it is possible to prevent the event data from being destroyed due to the overflow of the transmission buffer in the communication unit. Issues, configurations and effects other than those described above will be clarified by the description of the following embodiments.

本発明の第1の実施例における車両走行データ管理システムの機能ブロック図である。It is a functional block diagram of the vehicle running data management system in 1st Embodiment of this invention. 本発明の第1の実施例におけるイベントデータを送信する動作を示すシーケンス図である。It is a sequence diagram which shows the operation of transmitting event data in 1st Example of this invention. 本発明の第1の実施例における車両制御装置の動作を示すフローチャートである。It is a flowchart which shows the operation of the vehicle control device in 1st Embodiment of this invention. 本発明の第2の実施例における車両走行データ管理システムの機能ブロック図である。It is a functional block diagram of the vehicle running data management system in the 2nd Example of this invention. 本発明の第2の実施例におけるイベントデータの記憶や通信ユニットへの送信に関する動作を示すフローチャートである。It is a flowchart which shows the operation about the storage of event data and transmission to a communication unit in 2nd Embodiment of this invention.

(第1の実施例)
本発明の第1の実施例を、図1から図3までを用いて説明する。本実施例は、自動車の走行に関係する情報を収集、記録、および保全する車両走行データ管理システムに関する。
(First Example)
A first embodiment of the present invention will be described with reference to FIGS. 1 to 3. This embodiment relates to a vehicle driving data management system that collects, records, and maintains information related to the driving of an automobile.

図1は、本発明の第1の実施例における車両走行データ管理システムの機能ブロック図である。車両走行データ管理システムは、主として、車両100、無線基地局200、データ管理サーバ300により構成される。 FIG. 1 is a functional block diagram of a vehicle travel data management system according to a first embodiment of the present invention. The vehicle travel data management system is mainly composed of a vehicle 100, a radio base station 200, and a data management server 300.

(車両)
車両100は、車両制御装置110(電子制御装置)、及びこれに車載ネットワーク101(101A、101B、101C)を介して接続される外界認識センサ151、車輪速センサ152、舵角センサ153、ブレーキ液圧センサ154、アクセル開度センサ155、エンジンECU161、トランスミッションECU162、ブレーキECU163,パワーステアリングECU164、通信ユニット120等により構成される。
(vehicle)
The vehicle 100 includes a vehicle control device 110 (electronic control device), an external world recognition sensor 151 connected to the vehicle control device 110 (101A, 101B, 101C) via an in-vehicle network 101, a wheel speed sensor 152, a steering angle sensor 153, and a brake fluid. It is composed of a pressure sensor 154, an accelerator opening sensor 155, an engine ECU 161, a transmission ECU 162, a brake ECU 163, a power steering ECU 164, a communication unit 120, and the like.

車両制御装置110は、車載ネットワークインタフェース(以下、I/Fと表記)111、車両制御部112、イベントデータ収集部113、揮発性メモリ114、不揮発性メモリ115により構成される。なお、車両制御部112とイベントデータ収集部113は、例えば、プロセッサ116の機能として実現される。 The vehicle control device 110 includes an in-vehicle network interface (hereinafter referred to as I / F) 111, a vehicle control unit 112, an event data collection unit 113, a volatile memory 114, and a non-volatile memory 115. The vehicle control unit 112 and the event data collection unit 113 are realized as functions of the processor 116, for example.

車両制御部112は、例えば自動走行のための経路を算出し、その経路に追従して走行するための車速や舵角の指令値を算出して、各ECUに送信する。 The vehicle control unit 112 calculates, for example, a route for automatic driving, calculates command values for vehicle speed and steering angle for traveling following the route, and transmits the command values to each ECU.

イベントデータ収集部113は、自身が生成する車速や舵角の指令値、あるいは各ECUや各センサから入力される実車速や実舵角などを収集し、所定の形式のイベントデータを生成する。 The event data collecting unit 113 collects the command values of the vehicle speed and the steering angle generated by itself, the actual vehicle speed and the actual steering angle input from each ECU and each sensor, and generates event data in a predetermined format.

車載ネットワークI/F111は、車載ネットワーク101(101A、101B、101C)との間で、データの送受信を行う。 The vehicle-mounted network I / F 111 transmits / receives data to / from the vehicle-mounted network 101 (101A, 101B, 101C).

なお、図1では車載ネットワークI/F111は1個しか図示していないが、実際には複数の系統(複数の通信方式にそれぞれ対応する系統)の車載ネットワークが存在し、車両制御装置110はそれぞれの系統に対応した車載ネットワークI/Fを有する。 Although only one in-vehicle network I / F 111 is shown in FIG. 1, in reality, there are in-vehicle networks of a plurality of systems (systems corresponding to a plurality of communication methods), and the vehicle control device 110 is each. It has an in-vehicle network I / F corresponding to the above system.

通信ユニット120は、無線通信I/F121、送信制御部122、車載ネットワークI/F123、送信バッファ124により構成される。 The communication unit 120 includes a wireless communication I / F 121, a transmission control unit 122, an in-vehicle network I / F 123, and a transmission buffer 124.

無線通信I/F121は、携帯電話などの無線通信回線に対し、データの送受信を行う。また、無線通信I/F121は、無線通信回線の状態を監視し、最大通信速度Vmaxを把握する。 The wireless communication I / F 121 transmits / receives data to / from a wireless communication line such as a mobile phone. Further, the wireless communication I / F 121 monitors the state of the wireless communication line and grasps the maximum communication speed Vmax.

車載ネットワークI/F123は、車両制御装置110内部の車載ネットワークI/F111と同様の機能を有する。 The vehicle-mounted network I / F 123 has the same function as the vehicle-mounted network I / F 111 inside the vehicle control device 110.

送信バッファ124は、例えば不揮発性メモリにより構成され、無線通信回線に送出されるデータを、少なくとも送出が完了するまでの間、一時的に保持する。 The transmission buffer 124 is composed of, for example, a non-volatile memory, and temporarily holds the data transmitted to the wireless communication line at least until the transmission is completed.

送信制御部122は、送信バッファ124が保持しているデータを、無線通信I/F121を介して、データ管理サーバ300に送信し、データ管理サーバ300への送信が完了したデータを、送信バッファ124から削除する。 The transmission control unit 122 transmits the data held by the transmission buffer 124 to the data management server 300 via the wireless communication I / F 121, and the data that has been transmitted to the data management server 300 is transmitted to the transmission buffer 124. Remove from.

また、送信制御部122は、送信バッファ124の空き容量C124を監視し、その結果を車両制御装置110に通知する。 Further, the transmission control unit 122 monitors the free space C124 of the transmission buffer 124 and notifies the vehicle control device 110 of the result.

空き容量の監視ならびに通知は、送信バッファ124へのデータの書き込みや削除を契機として実行する方式や、所定の時間間隔で周期的に実行する方式があるが、ここではその方式は限定しない。 The free space monitoring and notification may be executed by writing or deleting data to the transmission buffer 124 or by periodically at a predetermined time interval, but the method is not limited here.

(無線基地局)
無線基地局200は、インターネットに接続されており、通信ユニット120やその他の無線端末装置からの接続を受け付け、インターネットとの通信を中継する。
(Wireless base station)
The wireless base station 200 is connected to the Internet, accepts connections from the communication unit 120 and other wireless terminal devices, and relays communication with the Internet.

(データ管理サーバ)
データ管理サーバ300には、ストレージ301が接続される。データ管理サーバ300は、インターネットを介して車両100と通信する機能を有し、車両100から受信したイベントデータを、前記ストレージ301に保管する。
(Data management server)
A storage 301 is connected to the data management server 300. The data management server 300 has a function of communicating with the vehicle 100 via the Internet, and stores event data received from the vehicle 100 in the storage 301.

ここで、通信ユニット120がデータ管理サーバ300にイベントデータを送信する動作の詳細を、図2に示すシーケンス図を用いて説明する。 Here, the details of the operation of the communication unit 120 transmitting the event data to the data management server 300 will be described with reference to the sequence diagram shown in FIG.

送信制御部122は、送信バッファ124を参照し(ステップS401)、データが保持されている場合、データ管理サーバ300に送信するため、送信対象のデータを送信バッファから読み出し(ステップS402)、無線通信I/F121に出力する(ステップS403)。 The transmission control unit 122 refers to the transmission buffer 124 (step S401), and when the data is held, reads the data to be transmitted from the transmission buffer (step S402) in order to transmit the data to the data management server 300, and wireless communication. Output to I / F 121 (step S403).

このときの送信データは、データ管理サーバ300との通信で使用されるレイヤ3プロトコルで規定された形式となっている。 The transmitted data at this time is in a format defined by the layer 3 protocol used for communication with the data management server 300.

無線通信I/F121は、送信制御部122から入力された送信データを、無線通信回線において実現可能な最大送信速度Vmax以内となる大きさの無線通信パケットに分割し、無線基地局200に送信する(ステップS404)。 The wireless communication I / F 121 divides the transmission data input from the transmission control unit 122 into wireless communication packets having a size within the maximum transmission speed Vmax that can be realized on the wireless communication line, and transmits the transmission data to the wireless base station 200. (Step S404).

無線基地局200は、無線通信パケットを受信すると、送信元である通信ユニット120に対し、受信確認信号を送信する(ステップS405)。また、無線基地局200は、受信した無線通信パケットを、ステップS403と同じく、レイヤ3プロトコルで規定された形式のデータに再構成し、データ管理サーバ300に送信する(ステップS406)。 When the wireless base station 200 receives the wireless communication packet, it transmits a reception confirmation signal to the communication unit 120, which is the transmission source (step S405). Further, the radio base station 200 reconstructs the received radio communication packet into data in a format defined by the layer 3 protocol as in step S403, and transmits the received radio communication packet to the data management server 300 (step S406).

無線通信I/F121は、無線基地局200から、元の送信データを構成する全ての無線通信パケットに対する受信確認信号を受信すると、送信制御部122に対し、送信完了を通知する(ステップS407)。 When the wireless communication I / F 121 receives the reception confirmation signal for all the wireless communication packets constituting the original transmission data from the wireless base station 200, the wireless communication I / F 121 notifies the transmission control unit 122 of the completion of transmission (step S407).

送信制御部122は、無線通信I/F121から送信完了通知を受信すると、送信バッファ124から当該送信データを削除する(ステップS408、409)。 When the transmission control unit 122 receives the transmission completion notification from the wireless communication I / F 121, the transmission control unit 122 deletes the transmission data from the transmission buffer 124 (steps S408 and 409).

無線通信が途絶している場合、無線通信I/F121においては、ステップS404で送信した無線通信パケットに対し、無線基地局200から受信完了信号が到達しない状態になる。このため、無線通信I/F121から送信制御部122への送信完了通知も行われなくなり、送信バッファ124上の当該データは削除されずに残存する。 When the wireless communication is interrupted, in the wireless communication I / F 121, the reception completion signal does not reach the wireless communication packet transmitted in step S404 from the wireless base station 200. Therefore, the transmission completion notification from the wireless communication I / F 121 to the transmission control unit 122 is no longer performed, and the data on the transmission buffer 124 remains without being deleted.

図3に、本発明の第1の実施例における車両制御装置110の、イベントデータの記憶や通信ユニット120への送信に関する動作をフローチャートで示す。 FIG. 3 is a flowchart showing the operation of the vehicle control device 110 according to the first embodiment of the present invention regarding the storage of event data and the transmission to the communication unit 120.

(車両制御装置の動作)
車両制御装置110は、車速や舵角などの指令値を自身で生成したり、各センサやECUから実測値を受信したりすると、イベントデータ収集部113にて、所定の形式のイベントデータEvtを生成し(ステップS501)、揮発性メモリ114に記憶する(ステップS502)。
(Operation of vehicle control device)
When the vehicle control device 110 itself generates command values such as vehicle speed and steering angle, or receives actual measurement values from each sensor or ECU, the event data collection unit 113 generates event data Evt in a predetermined format. It is generated (step S501) and stored in the volatile memory 114 (step S502).

次に、車両制御装置110は、揮発性メモリ114の空き容量C114を参照する(ステップS503)。 Next, the vehicle control device 110 refers to the free space C114 of the volatile memory 114 (step S503).

ステップS503の結果、揮発性メモリ114の空き容量C114が所定値(閾値Th114)以下であれば、通信ユニット120から通知された、送信バッファ124の空き容量C124を参照する(ステップS504)。なお、空き容量C124は、例えば、プロセッサ116の内蔵メモリ又は揮発性メモリ114等に記憶されている。所定値(閾値Th114)は、例えば、イベントデータEvtの大きさに余裕をもって設定される。 As a result of step S503, if the free space C114 of the volatile memory 114 is equal to or less than a predetermined value (threshold value Th114), the free space C124 of the transmission buffer 124 notified from the communication unit 120 is referred to (step S504). The free space C124 is stored in, for example, the internal memory of the processor 116, the volatile memory 114, or the like. The predetermined value (threshold value Th114) is set, for example, with a margin in the size of the event data Evt.

ステップS504の結果、送信バッファ124の空き容量C124が所定値(閾値Th124)以下であれば、車両制御装置110は、イベントデータを自身の不揮発性メモリ115に記憶し、揮発性メモリ114から削除する(ステップS505)。なお、所定値(閾値Th124)も、イベントデータEvtの大きさに余裕をもって設定されるが、閾値Th114と閾値Th114はともにイベントデータEvtの大きさ(固定長)としてもよい。 As a result of step S504, if the free space C124 of the transmission buffer 124 is equal to or less than a predetermined value (threshold value Th124), the vehicle control device 110 stores the event data in its own non-volatile memory 115 and deletes it from the volatile memory 114. (Step S505). The predetermined value (threshold value Th124) is also set with a margin in the size of the event data Evt, but both the threshold value Th114 and the threshold value Th114 may be the size (fixed length) of the event data Evt.

ステップS504の結果、送信バッファ124の空き容量C124が所定値(閾値Th124)を超えるのであれば、車両制御装置110は、イベントデータEvtを通信ユニット120に送信し、揮発性メモリ114から削除する(ステップS506)。 As a result of step S504, if the free space C124 of the transmission buffer 124 exceeds a predetermined value (threshold value Th124), the vehicle control device 110 transmits the event data Evt to the communication unit 120 and deletes it from the volatile memory 114 ( Step S506).

ステップS503の結果、揮発性メモリ114の空き容量C114が所定値(閾値Th114)超えるのであれば、車両制御装置110は、イベントデータを揮発性メモリ114に保持し続ける。 As a result of step S503, if the free space C114 of the volatile memory 114 exceeds a predetermined value (threshold value Th114), the vehicle control device 110 continues to hold the event data in the volatile memory 114.

換言すれば、車両制御装置110は、少なくとも、不揮発性メモリ115と、車載ネットワークI/F111(通信回路)と、プロセッサ116と、を備える。車載ネットワークI/F111(通信回路)は、通信ユニット120に車載ネットワークを介して接続される。通信ユニット120は、車両の運転状態を示すイベントデータEvtを受信してストレージ301に記憶するデータ管理サーバ300(サーバ)と無線通信を行う。 In other words, the vehicle control device 110 includes at least a non-volatile memory 115, an in-vehicle network I / F 111 (communication circuit), and a processor 116. The vehicle-mounted network I / F 111 (communication circuit) is connected to the communication unit 120 via the vehicle-mounted network. The communication unit 120 wirelessly communicates with the data management server 300 (server) that receives the event data Evt indicating the driving state of the vehicle and stores it in the storage 301.

プロセッサ116は、少なくとも、車載ネットワークI/F111(通信回路)を介して通信ユニット120から送信バッファ124の空き容量C124を受信し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下であるか判定し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)を超える場合、車載ネットワークI/F111(通信回路)を介してイベントデータEvtを通信ユニット120へ送信し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下である場合、イベントデータEvtを不揮発性メモリ115に記憶する。これにより、通信ユニット120での送信バッファあふれによるイベントデータEvtの破棄を防止することができる。 The processor 116 receives at least the free capacity C124 of the transmission buffer 124 from the communication unit 120 via the vehicle-mounted network I / F 111 (communication circuit), and the free capacity C124 of the transmission buffer 124 is equal to or less than the threshold value Th124 (first threshold value). If the free capacity C124 of the transmission buffer 124 exceeds the threshold value Th124 (first threshold value), the event data Evt is transmitted to the communication unit 120 via the vehicle-mounted network I / F111 (communication circuit), and the transmission buffer 124 is transmitted. When the free capacity C124 of the above is equal to or less than the threshold value Th124 (first threshold value), the event data Evt is stored in the non-volatile memory 115. As a result, it is possible to prevent the event data Evt from being destroyed due to the overflow of the transmission buffer in the communication unit 120.

プロセッサ116は、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下であると判定した後、送信バッファ124の空き容量C124が閾値Th124(第1閾値)を超えると判定した場合、不揮発性メモリ115に記憶されたイベントデータEvtを、車載ネットワークI/F111(通信回路)を介して通信ユニット120へ送信する。これにより、送信バッファ124の空き容量C124が回復して閾値Th124(第1閾値)を超えると、不揮発性メモリ115に退避されたイベントデータEvtが通信ユニット120に送信される。 When the processor 116 determines that the free capacity C124 of the transmission buffer 124 is equal to or less than the threshold Th124 (first threshold value) and then determines that the free capacity C124 of the transmission buffer 124 exceeds the threshold Th124 (first threshold value), it is non-volatile. The event data Evt stored in the sex memory 115 is transmitted to the communication unit 120 via the vehicle-mounted network I / F111 (communication circuit). As a result, when the free capacity C124 of the transmission buffer 124 is recovered and exceeds the threshold value Th124 (first threshold value), the event data Evt saved in the non-volatile memory 115 is transmitted to the communication unit 120.

本実施例では、プロセッサ116は、イベントデータEvtを生成し、生成したイベントデータEvtを不揮発性メモリ115に記憶し、揮発性メモリ114の空き容量が閾値Th114(第2閾値)以下であるか判定する。プロセッサ116は、揮発性メモリ114の空き容量C114が閾値Th114(第2閾値)以下であり、かつ送信バッファ124の空き容量C124が閾値Th124(第1閾値)を超える場合、車載ネットワークI/F111(通信回路)を介してイベントデータEvtを通信ユニット120へ送信する。一方、プロセッサ116は、揮発性メモリ114の空き容量C114が閾値Th114(第2閾値)以下であり、かつ送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下である場合、イベントデータEvtを不揮発性メモリ115に記憶する。 In this embodiment, the processor 116 generates event data Evt, stores the generated event data Evt in the non-volatile memory 115, and determines whether the free space of the volatile memory 114 is equal to or less than the threshold value Th114 (second threshold value). do. When the free space C114 of the volatile memory 114 is equal to or less than the threshold value Th114 (second threshold value) and the free space C124 of the transmission buffer 124 exceeds the threshold value Th124 (first threshold value), the processor 116 determines the vehicle-mounted network I / F111 ( The event data Evt is transmitted to the communication unit 120 via the communication circuit). On the other hand, when the free capacity C114 of the volatile memory 114 is equal to or less than the threshold Th114 (second threshold) and the free capacity C124 of the transmission buffer 124 is equal to or less than the threshold Th124 (first threshold), the processor 116 sets the event data Evt. Is stored in the non-volatile memory 115.

これにより、揮発性メモリ114の空き容量C114が減少して閾値Th114(第2閾値)以下となり、かつ送信バッファ124の空き容量C124が減少して閾値Th124(第1閾値)以下になった場合に限り、イベントデータEvtが不揮発性メモリ115に退避される。その結果、不揮発性メモリ115の書き換えの回数が抑制され、不揮発性メモリ115の劣化が抑制される。 As a result, when the free capacity C114 of the volatile memory 114 decreases to be equal to or less than the threshold Th114 (second threshold value) and the free capacity C124 of the transmission buffer 124 decreases to be equal to or less than the threshold Th124 (first threshold value). As long as the event data Evt is saved in the non-volatile memory 115. As a result, the number of times the non-volatile memory 115 is rewritten is suppressed, and the deterioration of the non-volatile memory 115 is suppressed.

本発明の第1の実施例によれば、無線通信回線において、通信速度が低下した場合や、通信が途絶した場合であっても、車両外部に送信できないデータを保持する通信ユニット120の送信バッファ124の空き容量C124がなくなる前に、車両制御装置110からのイベントデータEvtの送信を抑止できるため、通信ユニット120でのイベントデータEvtの破棄を防止することができる。 According to the first embodiment of the present invention, the transmission buffer of the communication unit 120 that holds data that cannot be transmitted to the outside of the vehicle even when the communication speed is reduced or the communication is interrupted in the wireless communication line. Since the transmission of the event data Evt from the vehicle control device 110 can be suppressed before the free space C124 of the 124 is exhausted, it is possible to prevent the communication unit 120 from discarding the event data Evt.

また、車両制御装置110は、通信ユニット120の送信バッファ124の空き容量C124が少なくなった場合にのみ、自身の不揮発性メモリ115にイベントデータを保持するため、不揮発性メモリ115の書き換え回数および頻度が削減され、メモリの寿命を延ばすことができる。 Further, since the vehicle control device 110 holds the event data in its own non-volatile memory 115 only when the free space C124 of the transmission buffer 124 of the communication unit 120 becomes low, the number and frequency of rewriting of the non-volatile memory 115. Can be reduced and memory life can be extended.

(第2の実施例)
本発明の第2の実施例を、図4および図5を用いて説明する。
(Second Example)
A second embodiment of the present invention will be described with reference to FIGS. 4 and 5.

図4は、本発明の第2の実施例における車両走行データ管理システムの機能ブロック図であり、図1に対し、車両100にゲートウェイ130(電子制御装置)が追加されている。 FIG. 4 is a functional block diagram of the vehicle travel data management system according to the second embodiment of the present invention, in which a gateway 130 (electronic control device) is added to the vehicle 100 with respect to FIG.

また、車両制御装置110と各種ECU161〜164は、図1では同一の車載ネットワークに接続されているのに対し、図4ではゲートウェイ130を介して異なる車載ネットワークに接続されている。 Further, the vehicle control device 110 and various ECUs 161 to 164 are connected to the same in-vehicle network in FIG. 1, whereas in FIG. 4, they are connected to different in-vehicle networks via the gateway 130.

(ゲートウェイ)
ゲートウェイ130は、データ転送処理部131、車載ネットワークI/F132、不揮発性メモリ133により構成される。
(gateway)
The gateway 130 is composed of a data transfer processing unit 131, an in-vehicle network I / F 132, and a non-volatile memory 133.

データ転送処理部131は、車載ネットワーク101Bおよび101Cに接続された全ての機器の間で、データの転送を行う。また、データ転送処理部131は、不揮発性メモリ133の空き容量C133を監視し、その結果を車両制御装置110に通知する。なお、データ転送処理部131は、例えば、プロセッサ134の機能として実現される。 The data transfer processing unit 131 transfers data between all the devices connected to the vehicle-mounted networks 101B and 101C. Further, the data transfer processing unit 131 monitors the free space C133 of the non-volatile memory 133 and notifies the vehicle control device 110 of the result. The data transfer processing unit 131 is realized as a function of the processor 134, for example.

空き容量の監視ならびに通知は、不揮発性メモリ133へのデータの書き込みや削除を契機として実行する方式や、所定の時間間隔で周期的に実行する方式があるが、ここではその方式は限定しない。 The monitoring and notification of the free space may be executed by writing or deleting data to the non-volatile memory 133 or by periodically at a predetermined time interval, but the method is not limited here.

車載ネットワークI/F132は、車両制御装置110内部の車載ネットワークI/F111と同様の機能を有する。 The vehicle-mounted network I / F 132 has the same function as the vehicle-mounted network I / F 111 inside the vehicle control device 110.

なお、図4では車載ネットワークI/F132は1個しか図示していないが、実際には車載ネットワーク101Bおよび101Cにそれぞれ対応した車載ネットワークI/Fを有する。 Although only one in-vehicle network I / F 132 is shown in FIG. 4, it actually has an in-vehicle network I / F corresponding to the in-vehicle networks 101B and 101C, respectively.

本発明の第2の実施例における、通信ユニット120がデータ管理サーバ300にイベントデータを送信する動作は、第1の実施例と同じである。 The operation of the communication unit 120 transmitting the event data to the data management server 300 in the second embodiment of the present invention is the same as that of the first embodiment.

ただし、送信バッファ124の空き容量C124の通知は、車両制御装置110に対してではなく、ゲートウェイ130に対して行われる。なお、通知された空き容量C124は、例えば、プロセッサ134の内蔵メモリ等に記憶される。 However, the notification of the free space C124 of the transmission buffer 124 is not sent to the vehicle control device 110 but to the gateway 130. The notified free space C124 is stored in, for example, the built-in memory of the processor 134.

本発明の第2の実施例における車両制御装置110の、イベントデータEvtの記憶や送信に関する動作は、図3のフローチャートに従う。 The operation of the vehicle control device 110 in the second embodiment of the present invention regarding the storage and transmission of the event data Evt follows the flowchart of FIG.

ただし、ステップS504において、通信ユニット120から通知される送信バッファ124の空き容量C124ではなく、ゲートウェイ130から通知される不揮発性メモリ133の空き容量C133を参照する点と、ステップS506において、通信ユニット120ではなく、ゲートウェイ130にイベントデータEvtを送信する点が、第1の実施例と異なる。なお、通知された空き容量C133は、例えば、プロセッサ116の内蔵メモリ等に記憶される。 However, in step S504, the free space C133 of the non-volatile memory 133 notified from the gateway 130 is referred to instead of the free space C124 of the transmission buffer 124 notified from the communication unit 120, and in step S506, the communication unit 120 It differs from the first embodiment in that the event data Evt is transmitted to the gateway 130 instead. The notified free space C133 is stored in, for example, the built-in memory of the processor 116.

(ゲートウェイの動作)
図5に、本発明の第2の実施例におけるゲートウェイ130の、イベントデータの記憶や通信ユニット120への送信に関する動作をフローチャートで示す。
(Gateway operation)
FIG. 5 is a flowchart showing the operation of the gateway 130 according to the second embodiment of the present invention regarding the storage of event data and the transmission to the communication unit 120.

ゲートウェイ130は、車両制御装置110からイベントデータEvtを受信すると(ステップS601)、通信ユニット120から通知された、送信バッファ124の空き容量C124を参照する(ステップS602)。 When the gateway 130 receives the event data Evt from the vehicle control device 110 (step S601), the gateway 130 refers to the free space C124 of the transmission buffer 124 notified from the communication unit 120 (step S602).

ステップS602の結果、送信バッファ124の空き容量C124が所定値以下であれば、ゲートウェイ130は、イベントデータEvtを自身の不揮発性メモリ133に記憶する(ステップS603)。 As a result of step S602, if the free space C124 of the transmission buffer 124 is equal to or less than a predetermined value, the gateway 130 stores the event data Evt in its own non-volatile memory 133 (step S603).

送信バッファ124の空き容量が所定値以上であれば、ゲートウェイ130は、イベントデータを通信ユニット120に送信する(ステップS604)。 If the free space of the transmission buffer 124 is equal to or greater than a predetermined value, the gateway 130 transmits the event data to the communication unit 120 (step S604).

換言すれば、ゲートウェイ130は、少なくとも不揮発性メモリ133と、車載ネットワークI/F132(通信回路)と、プロセッサ134と、を備える。車載ネットワークI/F132(通信回路)は、通信ユニット120に車載ネットワークを介して接続される。通信ユニット120は、車両の運転状態を示すイベントデータEvtを受信してストレージ301に記憶するデータ管理サーバ300(サーバ)と無線通信を行う。 In other words, the gateway 130 includes at least a non-volatile memory 133, an in-vehicle network I / F 132 (communication circuit), and a processor 134. The vehicle-mounted network I / F 132 (communication circuit) is connected to the communication unit 120 via the vehicle-mounted network. The communication unit 120 wirelessly communicates with the data management server 300 (server) that receives the event data Evt indicating the driving state of the vehicle and stores it in the storage 301.

プロセッサ134は、少なくとも、車載ネットワークI/F132(通信回路)を介して通信ユニット120から送信バッファ124の空き容量C124を受信し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下であるか判定し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)を超える場合、車載ネットワークI/F132(通信回路)を介してイベントデータEvtを通信ユニット120へ送信し、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下である場合、イベントデータEvtを不揮発性メモリ133に記憶する。これにより、通信ユニット120での送信バッファあふれによるイベントデータEvtの破棄を防止することができる。 The processor 134 receives at least the free capacity C124 of the transmission buffer 124 from the communication unit 120 via the vehicle-mounted network I / F 132 (communication circuit), and the free capacity C124 of the transmission buffer 124 is equal to or less than the threshold value Th124 (first threshold value). If the free capacity C124 of the transmission buffer 124 exceeds the threshold value Th124 (first threshold value), the event data Evt is transmitted to the communication unit 120 via the vehicle-mounted network I / F132 (communication circuit), and the transmission buffer 124 is transmitted. When the free capacity C124 of the above is equal to or less than the threshold value Th124 (first threshold value), the event data Evt is stored in the non-volatile memory 133. As a result, it is possible to prevent the event data Evt from being destroyed due to the overflow of the transmission buffer in the communication unit 120.

プロセッサ134は、送信バッファ124の空き容量C124が閾値Th124(第1閾値)以下であると判定した後、送信バッファ124の空き容量C124が閾値Th124(第1閾値)を超えると判定した場合、不揮発性メモリ133に記憶されたイベントデータEvtを、車載ネットワークI/F132(通信回路)を介して通信ユニット120へ送信する。これにより、送信バッファ124の空き容量C124が回復して閾値Th124(第1閾値)を超えると、不揮発性メモリ133に退避されたイベントデータEvtが通信ユニット120に送信される。 When the processor 134 determines that the free space C124 of the transmission buffer 124 is equal to or less than the threshold value Th124 (first threshold value) and then determines that the free space C124 of the transmission buffer 124 exceeds the threshold value Th124 (first threshold value), it is non-volatile. The event data Evt stored in the sex memory 133 is transmitted to the communication unit 120 via the vehicle-mounted network I / F 132 (communication circuit). As a result, when the free capacity C124 of the transmission buffer 124 is recovered and exceeds the threshold value Th124 (first threshold value), the event data Evt saved in the non-volatile memory 133 is transmitted to the communication unit 120.

本実施例では、プロセッサ134は、車載ネットワークI/F132(通信回路)を介してイベントデータEvtを外部から受信する。これにより、例えば、外部機器(例えば、各種のECU等)で生成されたイベントデータEvtが通信ユニット120に送信される。その結果、外部機器のイベントデータEvtはデータ管理サーバ300(サーバ)に転送され、ストレージ301に保存される。 In this embodiment, the processor 134 receives the event data Evt from the outside via the vehicle-mounted network I / F 132 (communication circuit). As a result, for example, the event data Evt generated by an external device (for example, various ECUs or the like) is transmitted to the communication unit 120. As a result, the event data Evt of the external device is transferred to the data management server 300 (server) and stored in the storage 301.

このように、本実施例のシステムは、少なくとも、ゲートウェイ130と、車両を制御する車両制御装置110と、通信ユニット120と、を含む。通信ユニット120は、送信バッファ124の空き容量C124をゲートウェイ130に送信する。ゲートウェイ130のプロセッサ134は、車載ネットワークI/F132(通信回路)を介してイベントデータEvtを車両制御装置110から受信する。 As described above, the system of this embodiment includes at least a gateway 130, a vehicle control device 110 for controlling a vehicle, and a communication unit 120. The communication unit 120 transmits the free space C124 of the transmission buffer 124 to the gateway 130. The processor 134 of the gateway 130 receives the event data Evt from the vehicle control device 110 via the vehicle-mounted network I / F 132 (communication circuit).

本発明の第2の実施例によれば、第1の実施例の効果に加え、車外に送信できないデータを一時的に保持する物理的な場所が、第1の実施例に比べて増加するため、例えばゲートウェイ130と車両制御装置110を車両の前部と後部に分離して設置することで、車両100が事故に遭った場合に、イベントデータの喪失を最小限に抑えることができる。 According to the second embodiment of the present invention, in addition to the effect of the first embodiment, the physical location for temporarily holding the data that cannot be transmitted to the outside of the vehicle increases as compared with the first embodiment. For example, by installing the gateway 130 and the vehicle control device 110 separately in the front part and the rear part of the vehicle, it is possible to minimize the loss of event data in the event of an accident in the vehicle 100.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 The present invention is not limited to the above-described examples, and includes various modifications. For example, the above-described examples have been described in detail in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the described configurations. Further, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. Further, it is possible to add / delete / replace a part of the configuration of each embodiment with another configuration.

また、上記の各構成、機能等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサ(CPU等)がそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、ICカード、SDカード、DVD等の記録媒体に置くことができる。 Further, each of the above configurations, functions and the like may be realized by hardware by designing a part or all of them by, for example, an integrated circuit. Further, each of the above configurations, functions, and the like may be realized by software by the processor (CPU or the like) interpreting and executing a program that realizes each function. Information such as programs, tables, and files that realize each function can be stored in a memory, a recording device such as a hard disk or SSD (Solid State Drive), or a recording medium such as an IC card, SD card, or DVD.

なお、本発明の実施例は、以下の態様であってもよい。 The embodiment of the present invention may have the following aspects.

(1).車両の走行に関わる制御を行う車両制御装置、および、車載ネットワークを介して前記制御装置と接続され、無線通信回線を介して車両外部との通信を行う車外通信装置を有する車両と、前記車両外部にあり、前記車外通信装置から前記無線通信回線を介して受信した情報を記憶する情報記憶装置により構成され、前記車両制御装置は、揮発性記憶手段を有し、前記車載ネットワークを介して接続されたセンサやアクチュエータから、車両の挙動や運転者の操作を示す車両走行データを収集して、前記揮発性記憶手段に一時的に保持した後、前記揮発性記憶手段の空き容量が所定値以下の場合に、前記車外通信装置に送信し、前記車外通信装置は、不揮発性記憶手段を有し、前記車両制御装置から受信した前記車両走行データを、前記不揮発性記憶手段に一時的に記憶し、前記情報記憶装置への送信が完了した後、前記車両走行データを、前記不揮発性記憶手段から削除することを特徴とする、車両走行データ管理システム。 (1). A vehicle having a vehicle control device that controls the running of the vehicle, an external communication device that is connected to the control device via an in-vehicle network and communicates with the outside of the vehicle via a wireless communication line, and the outside of the vehicle. The vehicle control device has volatile storage means and is connected via the vehicle-mounted network. After collecting vehicle travel data indicating vehicle behavior and driver's operation from the sensors and actuators and temporarily holding it in the volatile storage means, the free capacity of the volatile storage means is equal to or less than a predetermined value. In the case of the case, the vehicle transmission to the outside communication device, the outside communication device has the non-volatile storage means, and the vehicle travel data received from the vehicle control device is temporarily stored in the non-volatile storage means. A vehicle travel data management system, characterized in that the vehicle travel data is deleted from the non-volatile storage means after transmission to the information storage device is completed.

(2).前記車外通信装置と前記車両制御装置との通信経路の間に、前記車両走行データを中継する中継装置が介在することを特徴とする、(1)に記載の車両走行データ管理システム。 (2). The vehicle travel data management system according to (1), wherein a relay device that relays the vehicle travel data is interposed between the communication path between the vehicle exterior communication device and the vehicle control device.

(3).前記中継装置および前記車両制御装置は、不揮発性記憶手段を有し、前記車外通信装置もしくは前記中継装置は、前記車両走行データの直接の送信元となる前記中継装置もしくは前記車両制御装置に対し、自身の不揮発性記憶手段の空き容量を示す通知情報を送信し、前記通知情報を受信した前記中継装置もしくは前記車両制御装置は、前記空き容量が所定値以下の場合に、前記車両走行データを、自身の不揮発性記憶手段に保持し、前記空き容量が前記所定値以上になったことを示す前記通知情報を受信するまで、前記車両走行データの送信を保留することを特徴とする、(1)または(2)に記載の車両走行データ管理システム。 (3). The relay device and the vehicle control device have a non-volatile storage means, and the vehicle exterior communication device or the relay device may refer to the relay device or the vehicle control device which is a direct source of the vehicle travel data. When the relay device or the vehicle control device that transmits the notification information indicating the free capacity of its own non-volatile storage means and receives the notification information, the vehicle travel data is stored when the free capacity is equal to or less than a predetermined value. It is characterized in that it is held in its own non-volatile storage means and the transmission of the vehicle traveling data is suspended until the notification information indicating that the free space has exceeded the predetermined value is received (1). Alternatively, the vehicle driving data management system according to (2).

すなわち、走行データ管理システムは、車両内部で生成されたイベントデータを車両外部のデータ管理サーバに送信する構成において、不揮発性メモリなどにより構成される送信バッファを有する通信ユニットが、無線通信回線における通信速度の低下や通信の途絶によりデータ管理サーバに送信できないイベントデータを、一時的に前記送信バッファに保持するとともに、前記送信バッファの空き容量を、イベントデータの送信元のECUに通知する。 That is, in the driving data management system, in a configuration in which event data generated inside the vehicle is transmitted to a data management server outside the vehicle, a communication unit having a transmission buffer composed of a non-volatile memory or the like communicates on a wireless communication line. Event data that cannot be transmitted to the data management server due to a decrease in speed or interruption of communication is temporarily held in the transmission buffer, and the free space of the transmission buffer is notified to the ECU that transmits the event data.

一方、通信ユニットにイベントデータを送信する側のECUは、不揮発性メモリを有し、通信ユニットから通知された送信バッファの空き容量が所定値以下であれば、前記空き容量が所定値以上になるまで、イベントデータの通信ユニットへの送信を保留し、自身の不揮発性メモリに一時的に保持する。 On the other hand, the ECU on the side that transmits event data to the communication unit has a non-volatile memory, and if the free capacity of the transmission buffer notified from the communication unit is equal to or less than a predetermined value, the free capacity becomes equal to or more than a predetermined value. Until then, the transmission of event data to the communication unit is suspended and temporarily held in its own non-volatile memory.

これにより、無線通信回線において、通信速度が低下した場合や、通信が途絶した場合であっても、車両外部に送信できないデータを保持する通信ユニットの送信バッファの空き容量がなくなる前に、他のECUから通信ユニットへのイベントデータ送信を抑止できるため、通信ユニットでの送信バッファあふれによるイベントデータの破棄を防止することができる。 As a result, even if the communication speed drops or the communication is interrupted in the wireless communication line, other data before the transmission buffer of the communication unit that holds the data that cannot be transmitted to the outside of the vehicle runs out of free space. Since the transmission of event data from the ECU to the communication unit can be suppressed, it is possible to prevent the event data from being destroyed due to the overflow of the transmission buffer in the communication unit.

また、イベントデータを送信する側のECUは、通信ユニットの送信バッファの空き容量が少なくなった場合にのみ、自身の不揮発性メモリにイベントデータを記憶するため、当該ECU自身に常時記憶する場合と比べて、不揮発性メモリの書き換え回数および頻度が削減され、メモリの寿命を延ばすことができる。 Further, since the ECU on the side of transmitting event data stores the event data in its own non-volatile memory only when the free space of the transmission buffer of the communication unit becomes low, it is always stored in the ECU itself. In comparison, the number and frequency of rewriting of the non-volatile memory can be reduced, and the life of the memory can be extended.

さらに、通信ユニットおよび他のECUが具備する不揮発性メモリは、イベントデータを、データ管理サーバへの送信が完了するまでの間保持すればよく、長期間保存する必要がないため、メモリの書き込み回数や頻度の影響を低減することができる。 Further, the non-volatile memory provided in the communication unit and other ECUs only needs to hold the event data until the transmission to the data management server is completed, and does not need to be stored for a long period of time. Therefore, the number of times the memory is written. And the effect of frequency can be reduced.

100 車両
101 車載ネットワーク
110 車両制御装置
111 車載ネットワークI/F
112 車両制御部
113 イベントデータ収集部
114 揮発性メモリ
115 不揮発性メモリ
120 通信ユニット
121 無線通信I/F
122 送信制御部
123 車載ネットワークI/F
124 送信バッファ
130 ゲートウェイ
131 データ転送処理部
132 車載ネットワークI/F
133 不揮発性メモリ
151 外界認識センサ
152 車輪速センサ
153 舵角センサ
154 ブレーキ液圧センサ
155 アクセル開度センサ
161 エンジンECU
162 トランスミッションECU
163 ブレーキECU
164 パワーステアリングECU
200 無線基地局
300 データ管理サーバ
301 ストレージ
401 送信制御部が送信バッファを参照するステップ
402 送信制御部が送信データを読み出すステップ
403 送信制御部が送信データを無線通信I/Fに入力するステップ
404 無線通信I/Fが無線通信パケットを無線基地局に送信するステップ
405 無線基地局が受信確認信号を送信するステップ
406 無線基地局が送信データをデータ管理サーバに送信するステップ
407 無線通信I/Fが送信制御部に送信完了を通知するステップ
408 送信制御部が送信バッファのデータの削除を指示するステップ
409 送信バッファのデータ削除完了を通知するステップ
501 車両制御装置がイベントデータを生成するステップ
502 車両制御装置がイベントデータを揮発性メモリに記憶するステップ
503 車両制御装置が揮発性メモリの空き容量を確認するステップ
504 車両制御装置が通信ユニットの送信バッファの空き容量を確認するステップ
505 車両制御装置がイベントデータを不揮発性メモリに記憶するステップ
506 車両制御装置がイベントデータを通信ユニットに送信するステップ
601 ゲートウェイが車両制御装置からイベントデータを受信するステップ
602 ゲートウェイが通信ユニットの送信バッファの空き容量を確認するステップ
603 ゲートウェイがイベントデータを不揮発性メモリに記憶するステップ
604 ゲートウェイがイベントデータを通信ユニットに送信するステップ
100 Vehicle 101 Vehicle-mounted network 110 Vehicle control device 111 Vehicle-mounted network I / F
112 Vehicle control unit 113 Event data collection unit 114 Volatile memory 115 Non-volatile memory 120 Communication unit 121 Wireless communication I / F
122 Transmission control unit 123 In-vehicle network I / F
124 Transmission buffer 130 Gateway 131 Data transfer processing unit 132 In-vehicle network I / F
133 Non-volatile memory 151 External recognition sensor 152 Wheel speed sensor 153 Steering angle sensor 154 Brake fluid pressure sensor 155 Accelerator opening sensor 161 Engine ECU
162 Transmission ECU
163 Brake ECU
164 Power Steering ECU
200 Radio base station 300 Data management server 301 Storage 401 Transmission control unit refers to transmission buffer Step 402 Transmission control unit reads transmission data Step 403 Transmission control unit inputs transmission data to wireless communication I / F Step 404 Wireless The communication I / F transmits a wireless communication packet to the wireless base station Step 405 The wireless base station transmits a reception confirmation signal Step 406 The wireless base station transmits the transmission data to the data management server Step 407 The wireless communication I / F Step 408 notifying the transmission control unit of the completion of transmission Step 408 instructing the transmission control unit to delete the data in the transmission buffer Step 409 Notifying the transmission completion of data deletion in the transmission buffer Step 501 The vehicle control device generates event data Step 502 Vehicle control The device stores the event data in the volatile memory Step 503 The vehicle control device checks the free space of the volatile memory Step 504 The vehicle control device checks the free space of the transmission buffer of the communication unit Step 505 The vehicle control device checks the free space of the event Storing the data in the non-volatile memory Step 506 The vehicle control unit sends the event data to the communication unit Step 601 The gateway receives the event data from the vehicle control unit Step 602 The gateway checks the free space of the transmission buffer of the communication unit. Step 603 The gateway stores the event data in the non-volatile memory Step 604 The gateway sends the event data to the communication unit

Claims (5)

不揮発性メモリと、
車両の運転状態を示すイベントデータを受信してストレージに記憶するサーバと無線通信を行う通信ユニットに車載ネットワークを介して接続される通信回路と、
前記通信回路を介して前記通信ユニットから送信バッファの空き容量を受信し、前記送信バッファの空き容量が第1閾値以下であるか判定し、前記送信バッファの空き容量が第1閾値を超える場合、前記通信回路を介して前記イベントデータを前記通信ユニットへ送信し、前記送信バッファの空き容量が前記第1閾値以下である場合、前記イベントデータを前記不揮発性メモリに記憶するプロセッサと、
を備えることを特徴とする電子制御装置。
With non-volatile memory
A communication circuit that is connected to a communication unit that wirelessly communicates with a server that receives event data indicating the driving status of the vehicle and stores it in storage via an in-vehicle network.
When the free capacity of the transmission buffer is received from the communication unit via the communication circuit, it is determined whether the free capacity of the transmission buffer is equal to or less than the first threshold value, and the free capacity of the transmission buffer exceeds the first threshold value. A processor that transmits the event data to the communication unit via the communication circuit and stores the event data in the non-volatile memory when the free capacity of the transmission buffer is equal to or less than the first threshold value.
An electronic control device comprising.
請求項1に記載の電子制御装置であって、
前記プロセッサは、
前記送信バッファの空き容量が前記第1閾値以下であると判定した後、前記送信バッファの空き容量が前記第1閾値を超えると判定した場合、前記不揮発性メモリに記憶された前記イベントデータを、前記通信回路を介して前記通信ユニットへ送信する
ことを特徴とする電子制御装置。
The electronic control device according to claim 1.
The processor
When it is determined that the free capacity of the transmission buffer is equal to or less than the first threshold value and then the free capacity of the transmission buffer exceeds the first threshold value, the event data stored in the non-volatile memory is stored in the event data. An electronic control device that transmits data to the communication unit via the communication circuit.
請求項1に記載の電子制御装置であって、
揮発性メモリを備え、
前記プロセッサは、
前記イベントデータを生成し、生成した前記イベントデータを前記揮発性メモリに記憶し、前記揮発性メモリの空き容量が第2閾値以下であるか判定し、
前記揮発性メモリの空き容量が第2閾値以下であり、かつ前記送信バッファの空き容量が第1閾値を超える場合、前記通信回路を介して前記イベントデータを前記通信ユニットへ送信し、
前記揮発性メモリの空き容量が前記第2閾値以下であり、かつ前記送信バッファの空き容量が前記第1閾値以下である場合、前記イベントデータを前記不揮発性メモリに記憶する
ことを特徴とする電子制御装置。
The electronic control device according to claim 1.
Equipped with volatile memory
The processor
The event data is generated, the generated event data is stored in the volatile memory, and it is determined whether the free space of the volatile memory is equal to or less than the second threshold value.
When the free capacity of the volatile memory is equal to or less than the second threshold value and the free capacity of the transmission buffer exceeds the first threshold value, the event data is transmitted to the communication unit via the communication circuit.
When the free capacity of the volatile memory is equal to or less than the second threshold value and the free capacity of the transmission buffer is equal to or less than the first threshold value, the event data is stored in the non-volatile memory. Control device.
請求項2に記載の電子制御装置であって、
前記プロセッサは、
前記通信回路を介して前記イベントデータを受信する
ことを特徴とする電子制御装置。
The electronic control device according to claim 2.
The processor
An electronic control device characterized by receiving the event data via the communication circuit.
請求項4に記載の電子制御装置であるゲートウェイと、
車両を制御する車両制御装置と、
前記通信ユニットと、を含むシステムであって、
前記通信ユニットは、
前記送信バッファの空き容量を前記ゲートウェイに送信し、
前記ゲートウェイの前記プロセッサは、
前記通信回路を介して前記イベントデータを前記車両制御装置から受信する
を備えることを特徴とするシステム。
The gateway, which is the electronic control device according to claim 4,
A vehicle control device that controls the vehicle and
A system including the communication unit.
The communication unit is
The free space of the transmission buffer is transmitted to the gateway, and the free space is transmitted to the gateway.
The processor of the gateway
A system comprising receiving the event data from the vehicle control device via the communication circuit.
JP2020013839A 2020-01-30 2020-01-30 Electronic control device and system Pending JP2021120792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020013839A JP2021120792A (en) 2020-01-30 2020-01-30 Electronic control device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020013839A JP2021120792A (en) 2020-01-30 2020-01-30 Electronic control device and system

Publications (1)

Publication Number Publication Date
JP2021120792A true JP2021120792A (en) 2021-08-19

Family

ID=77269920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020013839A Pending JP2021120792A (en) 2020-01-30 2020-01-30 Electronic control device and system

Country Status (1)

Country Link
JP (1) JP2021120792A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102022132940A1 (en) 2022-03-16 2023-09-21 Denso Ten Limited Communication control device and communication method
DE102022133643A1 (en) 2022-03-28 2023-09-28 Denso Ten Limited Communication control device and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102022132940A1 (en) 2022-03-16 2023-09-21 Denso Ten Limited Communication control device and communication method
DE102022133643A1 (en) 2022-03-28 2023-09-28 Denso Ten Limited Communication control device and communication method

Similar Documents

Publication Publication Date Title
CN106878124B (en) Method for controlling high-capacity diagnostic communication in a vehicle and vehicle controller
JP6961063B2 (en) Network hub, transfer method and in-vehicle network system
WO2020189710A1 (en) Vehicle-mounted updating device, update processing program, and program updating method
JP2021120792A (en) Electronic control device and system
US11061659B2 (en) Control apparatus, transfer method, and computer program
JP6558703B2 (en) Control device, control system, and program
JP5561186B2 (en) In-vehicle network system
JP2006256457A (en) On-vehicle data management device, and vehicular information supplying system
US20190140859A1 (en) Method and Apparatus for Processing Signals from Messages on at Least Two Data Buses, Particularly Can Buses; Preferably in a Vehicle; And System
CN111147126B (en) Beidou satellite short message communication data unpacking transmission method
JP3969129B2 (en) Gateway and communication data relay method
CN111913846A (en) Reprogramming device for vehicle, reprogramming method thereof and vehicle comprising same
JP7331818B2 (en) In-vehicle update device, update processing program, and program update method
CN113422738A (en) MCU communication service method of intelligent host
CN1328678C (en) DMA controller system including real-time data communication component
JP2021086378A (en) In-vehicle update apparatus, program, and method of updating program
JP6873864B2 (en) Storage control device, storage device and write control method
US10958709B2 (en) Method for transferring a file between a control device of a motor vehicle and a server device outside the vehicle, control device and motor vehicle
CN112787901B (en) Network hub, forwarding method and vehicle-mounted network system
CN113300927B (en) Gateway device, in-vehicle network system, and transfer method
CN113543075A (en) Vehicle control device, vehicle, recording medium, and vehicle control method
JP2019172261A (en) Control device, control system and control program
RU2736572C2 (en) Method of transmitting data between an on-board device configured to obtain data relating to motion and/or control parameters of the vehicle and a remote processing center
KR102474800B1 (en) Gateway and Method for controlling Gateway
WO2024052988A1 (en) Electronic control unit and probe data transmission control method