JP2019204413A - Update device, vehicle control device, and update method - Google Patents

Update device, vehicle control device, and update method Download PDF

Info

Publication number
JP2019204413A
JP2019204413A JP2018100581A JP2018100581A JP2019204413A JP 2019204413 A JP2019204413 A JP 2019204413A JP 2018100581 A JP2018100581 A JP 2018100581A JP 2018100581 A JP2018100581 A JP 2018100581A JP 2019204413 A JP2019204413 A JP 2019204413A
Authority
JP
Japan
Prior art keywords
vehicle
update
unit
control program
control
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
JP2018100581A
Other languages
Japanese (ja)
Inventor
誠 奥原
Makoto Okuhara
誠 奥原
由芳 杉山
Yuho Sugiyama
由芳 杉山
清也 宮田
Seiya Miyata
清也 宮田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2018100581A priority Critical patent/JP2019204413A/en
Publication of JP2019204413A publication Critical patent/JP2019204413A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To provide an update device, a vehicle control device, and an update method that can reduce users' troublesomeness.SOLUTION: An update system includes a server device and a remote ECU (an example of an update device). The update device includes a detection unit 22 and an update unit 23. The detection unit 22 detects a travel state which is a travel state when a vehicle is travelling and when a communication load on an on-vehicle network CN due to control of a vehicle control device 10 is low. When the detection unit 22 detects the travel state when the communication load is low, the update unit 23 updates a control program executed by the vehicle control device via the on-vehicle network CN.SELECTED DRAWING: Figure 2

Description

本発明は、更新装置、車両制御装置および更新方法に関する。   The present invention relates to an update device, a vehicle control device, and an update method.

従来、例えば、車両に搭載されるECU(Electronic Control Unit)であり、記憶部に記憶された制御用プログラムを実行することによって、車両の走行制御等を行う車両制御装置が知られている。また、車両制御装置に記憶された制御用プログラムを更新する更新装置が提供されている。更新装置は、例えば、車両のエンジン停止を検知して制御用プログラムを更新する(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, for example, there is known a vehicle control device that is an ECU (Electronic Control Unit) mounted on a vehicle, and that performs a traveling control of the vehicle by executing a control program stored in a storage unit. There is also provided an update device for updating a control program stored in the vehicle control device. For example, the update device detects an engine stop of the vehicle and updates the control program (see, for example, Patent Document 1).

特開2004−249914号公報JP 2004-249914 A

しかしながら、従来の技術では、車両の乗員であるユーザは、エンジンを停止させた後、更新処理の開始から完了まで車内で待機する必要がある。このため、プログラムの更新処理は、ユーザにとって煩わしい作業となるおそれがあった。   However, in the conventional technology, a user who is a vehicle occupant needs to wait in the vehicle from the start to the completion of the update process after stopping the engine. For this reason, the program update process may be a troublesome operation for the user.

また、エンジン停止時ではなく、エンジン始動時に更新処理を行う場合には、走行を開始する前に更新処理を完了する必要があるため、走行可能となるまでユーザは待機しなければならず、煩わしく感じるおそれがあった。   In addition, when the update process is performed when the engine is started instead of when the engine is stopped, the update process needs to be completed before the start of traveling. Therefore, the user has to wait until it becomes possible to travel, which is bothersome. I could feel it.

本発明は、上記に鑑みてなされたものであって、ユーザの煩わしさを低減することができる更新装置および車両制御装置を提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide an updating device and a vehicle control device that can reduce the troublesomeness of a user.

上述した課題を解決し、目的を達成するために、本発明に係る更新装置は、検出部と、更新部とを備える。前記検出部は、車両の走行時における走行状態であって、車両制御装置の制御に伴う車載ネットワークの通信負荷が低負荷となる前記走行状態を検出する。前記更新部は、前記検出部によって前記低負荷となる前記走行状態が検出された場合に、前記車載ネットワークを介して、前記車両制御装置が実行する制御用プログラムを更新する。   In order to solve the above-described problems and achieve the object, an update device according to the present invention includes a detection unit and an update unit. The detection unit detects a traveling state when the vehicle is traveling, in which the communication load of the in-vehicle network associated with the control of the vehicle control device is low. The update unit updates a control program executed by the vehicle control device via the in-vehicle network when the detection unit detects the traveling state having the low load.

本発明によれば、ユーザの煩わしさを低減することができる。   According to the present invention, it is possible to reduce the troublesomeness of the user.

図1は、実施形態に係る更新装置を含む更新システムを示す図である。FIG. 1 is a diagram illustrating an update system including an update device according to an embodiment. 図2は、実施形態に係るリモートECUの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the remote ECU according to the embodiment. 図3は、実施形態に係る車載ECUの構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of the in-vehicle ECU according to the embodiment. 図4は、更新情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of the update information. 図5は、制御用プログラムの更新処理を示す図である。FIG. 5 is a diagram showing the update process of the control program. 図6は、実施形態に係るリモートECUが実行する処理の処理手順を示すフローチャートである。FIG. 6 is a flowchart illustrating a processing procedure of processing executed by the remote ECU according to the embodiment. 図7は、変形例に係る車載ECUの構成を示すブロック図である。FIG. 7 is a block diagram illustrating a configuration of an in-vehicle ECU according to a modification.

以下、添付図面を参照して、本願の開示する更新装置、車両制御装置および更新方法の実施形態を詳細に説明する。なお、この実施形態により本発明が限定されるものではない。   Hereinafter, embodiments of an updating device, a vehicle control device, and an updating method disclosed in the present application will be described in detail with reference to the accompanying drawings. In addition, this invention is not limited by this embodiment.

まず、図1を用いて、実施形態に係る更新装置が実行する更新処理の概要について説明する。図1は、実施形態に係る更新装置を含む更新システムSを示す図である。図1に示すように、更新システムSは、サーバ装置SVと、リモートECU(更新装置の一例)1と、複数の車載ECU(車両制御装置の一例)10とを含む。   First, an overview of update processing executed by the update device according to the embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an update system S including an update device according to an embodiment. As shown in FIG. 1, the update system S includes a server device SV, a remote ECU (an example of an update device) 1, and a plurality of in-vehicle ECUs (an example of a vehicle control device) 10.

更新システムSのうち、サーバ装置SVは、車両Cの外部に設置され、リモートECU1および車載ECU10は、車両Cに搭載される。サーバ装置SVとリモートECU1とは、通信ネットワークNによって接続される。通信ネットワークNは、例えばLAN(Local Area Network)、WAN(Wide Area Network)、電話網(携帯電話網、固定電話網等)、地域IP(Internet Protocol)網、インターネット等の通信ネットワークである。   In the update system S, the server device SV is installed outside the vehicle C, and the remote ECU 1 and the in-vehicle ECU 10 are mounted on the vehicle C. Server device SV and remote ECU 1 are connected by communication network N. The communication network N is a communication network such as a LAN (Local Area Network), a WAN (Wide Area Network), a telephone network (a mobile phone network, a fixed telephone network, etc.), a regional IP (Internet Protocol) network, and the Internet.

リモートECU1および複数の車載ECU10は、車載ネットワークCNによって接続される。車載ネットワークCNは、例えば、CAN(Controller Area Network)等の車内ネットワークである。   The remote ECU 1 and the plurality of in-vehicle ECUs 10 are connected by an in-vehicle network CN. The in-vehicle network CN is an in-vehicle network such as a CAN (Controller Area Network), for example.

サーバ装置SVは、例えば、車載ECU10の制御用プログラムを配信する配信装置である。例えば、サーバ装置SVは、リモートECU1から要求があった場合や、あるいは、リモートECU1の要求に関わらず更新用の制御用プログラムが新たに生成された場合に、制御用プログラムをリモートECU1へ配信する。   The server device SV is, for example, a distribution device that distributes a control program for the in-vehicle ECU 10. For example, the server device SV distributes the control program to the remote ECU 1 when there is a request from the remote ECU 1 or when a control program for update is newly generated regardless of the request of the remote ECU 1. .

なお、サーバ装置SVによる制御用プログラムの配信先は、リモートECU1に限定されるものではなく、車載ECU10であってもよい。具体的には、サーバ装置SVは、例えば、リモートECU1の更新指示があった場合に、リモートECU1へ制御用プログラムを配信することなく、車載ECU10の制御用プログラムを直接更新する。更新用の制御用プログラムは、いわゆるバージョンアップのための制御用プログラムであり、例えば、機能拡張や機能修正等がなされた制御用プログラムである。   Note that the distribution destination of the control program by the server device SV is not limited to the remote ECU 1, but may be the in-vehicle ECU 10. Specifically, for example, when there is an update instruction for the remote ECU 1, the server device SV directly updates the control program for the in-vehicle ECU 10 without distributing the control program to the remote ECU 1. The control program for update is a control program for so-called version upgrade, and is, for example, a control program that has undergone function expansion or function correction.

リモートECU1は、実施形態に係る更新方法を実行する。具体的には、リモートECU1は、サーバ装置SVから更新用の新たな制御用プログラムを取得した場合に、車載ECU10が実行する制御用プログラムを更新する更新処理を行う。より具体的には、リモートECU1は、車載ECU10の記憶部に記憶された制御用プログラムを、サーバ装置SVから配信された更新用の新たな制御用プログラムに書き換える。なお、リモートECU1は、車両Cの走行時に制御用プログラムの更新が可能であるが、かかる点については後述する。   The remote ECU 1 executes the update method according to the embodiment. Specifically, when the remote ECU 1 acquires a new control program for update from the server device SV, the remote ECU 1 performs an update process for updating the control program executed by the in-vehicle ECU 10. More specifically, the remote ECU 1 rewrites the control program stored in the storage unit of the in-vehicle ECU 10 with a new control program for update distributed from the server device SV. The remote ECU 1 can update the control program when the vehicle C is traveling, but this point will be described later.

車載ECU10は、制御用プログラムを実行することによって車両Cを制御するECUである。例えば、車載ECU10は、車両Cの加減速や、旋回等の走行制御に関するECUや、エアバッグ等の乗員保護装置の起動を制御するECU、エアコン等の車内機器を制御するECU、ナビゲーション装置を制御するECU等を含む。なお、車載ECU10は、上記したECUに限定されるものではなく、車両Cの制御に関わるECUであればよい。また、複数の車載ECU10は、車載ネットワークCNを介して互いに情報をやり取りして連携しつつ車両Cの走行を制御している。   The in-vehicle ECU 10 is an ECU that controls the vehicle C by executing a control program. For example, the in-vehicle ECU 10 controls an ECU related to travel control such as acceleration / deceleration and turning of the vehicle C, an ECU that controls activation of an occupant protection device such as an airbag, an ECU that controls in-vehicle devices such as an air conditioner, and a navigation device. ECU and so on. The in-vehicle ECU 10 is not limited to the above-described ECU, and may be any ECU related to the control of the vehicle C. The plurality of in-vehicle ECUs 10 control the traveling of the vehicle C while exchanging information with each other via the in-vehicle network CN.

ここで、従来のリモートECUの更新処理を行う更新タイミングについて説明する。従来のリモートECUは、車両のエンジン停止を検知して制御用プログラムを更新していた。つまり、従来の更新タイミングは、エンジン停止後である(アクセサリ電源はオン)。しかしながら、従来の更新タイミングで更新処理を行った場合、車両の乗員であるユーザは、エンジンを停止させた後、更新処理の開始から完了まで車内で待機する必要がある。このため、プログラムの更新処理は、ユーザにとって煩わしい作業となるおそれがあった。   Here, the update timing for performing the update process of the conventional remote ECU will be described. Conventional remote ECUs detect a vehicle engine stop and update a control program. That is, the conventional update timing is after the engine is stopped (accessory power is on). However, when the update process is performed at the conventional update timing, the user who is a vehicle occupant needs to wait in the vehicle from the start to the completion of the update process after stopping the engine. For this reason, the program update process may be a troublesome operation for the user.

また、例えば、エンジン停止時ではなく、エンジン始動時に更新処理を行う場合には、走行を開始する前に更新処理を完了する必要があるため、走行可能となるまでに待機時間が生じ、ユーザにとって煩わしい作業となるおそれがあった。   Also, for example, when the update process is performed when the engine is started instead of when the engine is stopped, it is necessary to complete the update process before starting the travel. There was a risk of bothersome work.

そこで、実施形態に係るリモートECU1は、実施形態に係る更新方法を実行することにより、車両Cの走行時に制御用プログラムの更新を可能とした。具体的には、実施形態に係るリモートECU1は、車両Cの走行時における走行状態であって、車載ECU10の制御に伴う車載ネットワークCNの通信負荷が所定値以下となる低負荷の走行状態を検出する。   Therefore, the remote ECU 1 according to the embodiment enables the control program to be updated when the vehicle C travels by executing the update method according to the embodiment. Specifically, the remote ECU 1 according to the embodiment detects a low-load traveling state in which the communication load of the in-vehicle network CN accompanying the control of the in-vehicle ECU 10 is equal to or less than a predetermined value when the vehicle C is traveling. To do.

そして、実施形態に係るリモートECU1は、低負荷の走行状態を検出した場合に、車載ネットワークCNを介して車載ECU10が実行する制御用プログラムを更新する。   And remote ECU1 which concerns on embodiment updates the program for control which the vehicle-mounted ECU10 performs via the vehicle-mounted network CN, when the low load driving | running | working state is detected.

つまり、低負荷の走行状態とは、車両Cの走行時における走行状態のうち、車載ECU10同士の情報のやり取りが比較的少なく、車載ネットワークCNの通信が混雑しにくい走行状態である。低負荷の走行状態の例として、例えば、一定の車速で直進走行する定常走行や、いわゆるアイドリングストップ等があるが、かかる点については後述する。   In other words, the low-load traveling state is a traveling state in which the in-vehicle ECU 10 exchanges information relatively little and the communication of the in-vehicle network CN is less congested among the traveling states when the vehicle C is traveling. Examples of the low-load traveling state include, for example, steady traveling that travels straight at a constant vehicle speed, so-called idling stop, and the like, which will be described later.

上述したように、実施形態に係るリモートECU1によれば、車両Cの走行時に更新処理を行ったとしても、車載ネットワークCNが混雑しにくくなるため、車載ECU10の制御を妨げることなく制御用プログラムの更新が可能となる。   As described above, according to the remote ECU 1 according to the embodiment, even if the update process is performed when the vehicle C is traveling, the in-vehicle network CN is not easily congested. Update is possible.

すなわち、実施形態に係るリモートECU1は、従来のように、エンジン停止後に制御用プログラムの更新処理を行う必要がないため、ユーザが車内で待機する必要がない。従って、実施形態に係るリモートECU1によれば、ユーザの煩わしさを低減することができる。   That is, since the remote ECU 1 according to the embodiment does not need to perform the control program update process after the engine is stopped as in the prior art, the user does not need to wait in the vehicle. Therefore, according to the remote ECU 1 according to the embodiment, the user's troublesomeness can be reduced.

なお、詳細は後述するが、実施形態に係る車載ECU10は、制御用プログラムがそれぞれに記憶された複数の記憶部を有しており、いずれかの記憶部に記憶された制御用プログラムを読み出して制御を行う。そして、実施形態に係るリモートECU1は、かかる複数の記憶部のうち、車載ECU10が実行用として読み出ししていない記憶部に記憶された制御用プログラムを書き換える。   Although details will be described later, the in-vehicle ECU 10 according to the embodiment has a plurality of storage units each storing a control program, and reads out the control program stored in any of the storage units. Take control. And remote ECU1 which concerns on embodiment rewrites the control program memorize | stored in the memory | storage part which the vehicle-mounted ECU10 does not read for execution among these some memory | storage parts.

また、実施形態に係るリモートECU1は、更新用の制御用プログラムを車載ECU10へ送信する際、制御用プログラムの情報を所定のデータサイズで分割して送信するが、かかる点の詳細についても後述する。   Further, when the remote ECU 1 according to the embodiment transmits the update control program to the in-vehicle ECU 10, the information of the control program is divided and transmitted with a predetermined data size. Details of this point will also be described later. .

次に、図2を参照して、実施形態に係るリモートECU1の構成について詳細に説明する。図2は、実施形態に係るリモートECU1の構成を示すブロック図である。図2に示すように、実施形態に係るリモートECU1は、制御部2と、記憶部3とを備える。制御部2は、取得部21と、検出部22と、更新部23とを備える。記憶部3は、更新情報31を記憶する。   Next, the configuration of the remote ECU 1 according to the embodiment will be described in detail with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the remote ECU 1 according to the embodiment. As shown in FIG. 2, the remote ECU 1 according to the embodiment includes a control unit 2 and a storage unit 3. The control unit 2 includes an acquisition unit 21, a detection unit 22, and an update unit 23. The storage unit 3 stores update information 31.

ここで、リモートECU1は、たとえば、CPU(Central Processing Unit)、ROM(Read Only Memory)、フラッシュROM、RAM(Random Access Memory)、入出力ポートなどを有するコンピュータや各種の回路を含む。   Here, the remote ECU 1 includes, for example, a computer having a central processing unit (CPU), a read only memory (ROM), a flash ROM, a random access memory (RAM), an input / output port, and various circuits.

コンピュータのCPUは、たとえば、ROMに記憶されたプログラムを読み出して実行することによって、制御部2の取得部21、検出部22および更新部23として機能する。   The CPU of the computer functions as the acquisition unit 21, the detection unit 22, and the update unit 23 of the control unit 2, for example, by reading and executing a program stored in the ROM.

また、制御部2の取得部21、検出部22および更新部23の少なくともいずれか一つまたは全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもできる。   Further, at least one or all of the acquisition unit 21, the detection unit 22, and the update unit 23 of the control unit 2 may be configured by hardware such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array). it can.

また、記憶部3は、たとえば、フラッシュROMやRAMに対応する。フラッシュROMやRAMは、更新情報31や、各種プログラムの情報等を記憶することができる。なお、リモートECU1は、有線や無線のネットワークで接続された他のコンピュータや可搬型記録媒体を介して上記したプログラムや各種情報を取得することとしてもよい。   The storage unit 3 corresponds to, for example, a flash ROM or a RAM. The flash ROM and RAM can store update information 31, information on various programs, and the like. The remote ECU 1 may acquire the above-described program and various types of information via another computer or a portable recording medium connected via a wired or wireless network.

制御部2は、車載ネットワークCNの通信負荷が所定の閾値以下となる低負荷の走行状態を検出した場合に、車載ネットワークCNを介して、車載ECU10が実行する制御用プログラムを更新する。   The control unit 2 updates the control program executed by the in-vehicle ECU 10 via the in-vehicle network CN when detecting a low-load traveling state in which the communication load of the in-vehicle network CN is equal to or less than a predetermined threshold.

取得部21は、車両Cにおける駆動源の駆動状態を取得する。例えば、車両Cの駆動源がエンジンであった場合、取得部21は、駆動状態として、エンジン回転や、エンジン制御に関する各種制御状態を取得する。また、例えば、車両Cの駆動源がモータであった場合、駆動状態として、モータ回転数等を取得する。   The acquisition unit 21 acquires the drive state of the drive source in the vehicle C. For example, when the drive source of the vehicle C is an engine, the acquisition unit 21 acquires various control states related to engine rotation and engine control as the drive state. For example, when the drive source of the vehicle C is a motor, a motor rotation speed etc. are acquired as a drive state.

検出部22は、車両Cの走行時における所定の走行状態を検出する。具体的には、検出部22は、車載ECU10の制御に伴う車載ネットワークCNの通信負荷が所定値以下となる低負荷の走行状態を検出する。所定値とは、車両Cの走行状態が低負荷の走行状態か否かを決定する基準となる閾値であり、例えば、車両制御のシミュレーションによる車載ネットワークCNの通信負荷の測定結果等から算出可能である。   The detection unit 22 detects a predetermined traveling state when the vehicle C is traveling. Specifically, the detection unit 22 detects a low-load traveling state in which the communication load of the in-vehicle network CN accompanying the control of the in-vehicle ECU 10 is a predetermined value or less. The predetermined value is a threshold value that serves as a reference for determining whether the traveling state of the vehicle C is a low-load traveling state, and can be calculated from, for example, a measurement result of a communication load of the in-vehicle network CN by a vehicle control simulation. is there.

例えば、検出部22は、取得部21によって取得された車両Cにおける駆動源の駆動状態に基づいて低負荷の走行状態を検出する。具体的には、検出部22は、取得部21によって取得された駆動状態の時間変化が所定範囲内で維持された定常走行を低負荷の走行状態として検出する。   For example, the detection unit 22 detects a low-load traveling state based on the drive state of the drive source in the vehicle C acquired by the acquisition unit 21. Specifically, the detection unit 22 detects a steady traveling in which the time change of the driving state acquired by the acquiring unit 21 is maintained within a predetermined range as a low-load traveling state.

より具体的には、定常走行は、一定の車速(車速の時間変化が所定範囲内)で、直進走行(ゼロ度を中心とした操舵角の変化量が所定範囲内)を維持する走行状態である。すなわち、定常走行は、車載ECU10による制御が比較的少なく、車載ネットワークCNの通信負荷が所定値以下となる走行状態である。   More specifically, steady traveling is a traveling state in which straight traveling (the amount of change in steering angle centered around zero degrees is within a predetermined range) is maintained at a constant vehicle speed (time change in vehicle speed is within a predetermined range). is there. That is, the steady running is a running state in which the control by the in-vehicle ECU 10 is relatively small and the communication load of the in-vehicle network CN becomes a predetermined value or less.

これにより、後段の更新部23によって制御用プログラムの更新処理が行われたとしても、車載ネットワークCNが混雑することを防止できるため、車載ECU10による制御を妨げることなく更新処理を並行して行うことができる。なお、車速は、エンジン回転数より算出可能であり、操舵角は、図示しないステアリングを制御するECUから取得可能である。   Thereby, even if the update process of the control program is performed by the update unit 23 in the subsequent stage, the in-vehicle network CN can be prevented from being congested, and therefore the update process is performed in parallel without disturbing the control by the in-vehicle ECU 10. Can do. The vehicle speed can be calculated from the engine speed, and the steering angle can be acquired from an ECU that controls a steering (not shown).

また、検出部22は、車両Cの駆動源がエンジンの場合、取得部21によって取得された駆動状態がアイドリングストップに相当する停止状態である場合に、低負荷の走行状態を検出する。換言すれば、検出部22は、走行状態のうち、駐車のための停止を除く一時的な停止であるアイドリングストップを低負荷の走行状態として検出する。   Further, when the drive source of the vehicle C is an engine, the detection unit 22 detects a low-load traveling state when the drive state acquired by the acquisition unit 21 is a stop state corresponding to an idling stop. In other words, the detection unit 22 detects an idling stop, which is a temporary stop excluding a stop for parking, in the running state as a low-load running state.

より具体的には、アイドリングストップは、一時的にエンジンを停止させる、すなわち、エンジンを制御するECUを一時的に停止させることによって、車載ネットワークCNの通信負荷が所定値以下となる走行状態である。   More specifically, the idling stop is a traveling state in which the communication load of the in-vehicle network CN becomes a predetermined value or less by temporarily stopping the engine, that is, by temporarily stopping the ECU that controls the engine. .

これにより、後段の更新部23によって制御用プログラムの更新処理が行われたとしても、車載ネットワークCNが混雑することを防止できるため、車載ECU10による制御を妨げることなく更新処理を並行して行うことができる。   Thereby, even if the update process of the control program is performed by the update unit 23 in the subsequent stage, the in-vehicle network CN can be prevented from being congested, and therefore the update process is performed in parallel without disturbing the control by the in-vehicle ECU 10. Can do.

また、検出部22は、車両Cの駆動源がモータの場合、アイドリングストップに相当する停止状態として、例えば、赤信号等の一時停止を低負荷の走行状態として検出する。かかる一時停止は、例えば、車両Cの位置情報等を取得することによって検出可能である。   In addition, when the drive source of the vehicle C is a motor, the detection unit 22 detects, for example, a temporary stop such as a red signal as a low load traveling state as a stop state corresponding to an idling stop. Such a temporary stop can be detected by, for example, acquiring position information of the vehicle C and the like.

ここで、車両走行時の走行状態とは、イグニッションオンからイグニッションオフまでの期間であるワントリップの間の走行状態であり、いわゆるアイドルストップ(あるいは電気自動車において、アイドリングストップに相当する停止)等の停止状態を含む。   Here, the traveling state during vehicle traveling is a traveling state during one trip that is a period from ignition on to ignition off, such as a so-called idle stop (or a stop corresponding to an idling stop in an electric vehicle). Including stopped state.

更新部23は、車載ECU10が実行する制御用プログラムを更新する更新処理を行う。まず、更新部23は、サーバ装置SVから更新用の新たな制御用プログラムを取得し、更新情報31として記憶部3に記憶する。ここで、図4を用いて、更新情報31について説明する。   The update unit 23 performs an update process for updating the control program executed by the in-vehicle ECU 10. First, the update unit 23 acquires a new control program for update from the server device SV and stores it in the storage unit 3 as update information 31. Here, the update information 31 will be described with reference to FIG.

図4は、更新情報31の一例を示す図である。図4に示すように、更新情報31は、「機器ID」、「制御機能」、「プログラム更新」および「送信完了率」といった項目を有する。   FIG. 4 is a diagram illustrating an example of the update information 31. As illustrated in FIG. 4, the update information 31 includes items such as “device ID”, “control function”, “program update”, and “transmission completion rate”.

「機器ID」は、各車載ECU10を識別する識別情報である。「制御機能」は、車載ECU10の制御により実現される機能を示す。「プログラム更新」は、制御用プログラムの更新に関する情報を含む。具体的には、「プログラム更新」には、更新用の制御用プログラムが作成された日時や、更新内容といった内容を含む。「送信完了率」は、更新用の制御用プログラムのうち、車載ECU10へ送信が完了した比率を示す。換言すれば、「送信完了率」は、更新処理の進捗率とも言える。   “Equipment ID” is identification information for identifying each in-vehicle ECU 10. The “control function” indicates a function realized by the control of the in-vehicle ECU 10. “Program update” includes information related to the update of the control program. Specifically, the “program update” includes contents such as the date and time when the control program for update is created and the update contents. The “transmission completion rate” indicates the ratio of transmission to the in-vehicle ECU 10 in the update control program. In other words, the “transmission completion rate” can also be said to be the progress rate of the update process.

例えば、図4に示す例において、送信完了率が「100%」は、更新用の制御用プログラムの情報をすべて車載ECU10へ送信したことを示す。つまり、送信完了率が「100%」は、更新処理が完了したことを示す。   For example, in the example illustrated in FIG. 4, the transmission completion rate “100%” indicates that all the information of the control program for update is transmitted to the in-vehicle ECU 10. That is, a transmission completion rate of “100%” indicates that the update process has been completed.

また、送信完了率が「50%」は、更新用の制御用プログラムの情報のうち、50%分は、車載ECU10へ送信したことを示す。つまり、送信完了率が「50%」は、更新処理の進捗率が50%であることを示す。   The transmission completion rate of “50%” indicates that 50% of the information of the control program for update is transmitted to the in-vehicle ECU 10. That is, the transmission completion rate of “50%” indicates that the progress rate of the update process is 50%.

また、送信完了率が「0%」は、更新用の制御用プログラムの情報をまだ車載ECU10へ送信していないことを示す。つまり、送信完了率が「0%」は、更新処理を開始していないことを示す。   The transmission completion rate of “0%” indicates that the information on the control program for update has not been transmitted to the in-vehicle ECU 10 yet. That is, a transmission completion rate of “0%” indicates that update processing has not started.

図2に戻って、更新部23は、記憶部3に更新情報31を記憶した状態で、検出部22によって低負荷の走行状態が検出された場合に、車載ネットワークCNを介して、車載ECU10が実行する制御用プログラムを更新する。なお、更新部23の具体的な更新処理については、図5で後述する。   Returning to FIG. 2, when the update unit 23 stores the update information 31 in the storage unit 3 and the detection unit 22 detects a low-load traveling state, the in-vehicle ECU 10 Update the control program to be executed. The specific update process of the update unit 23 will be described later with reference to FIG.

次に、図3を参照して、実施形態に係る車載ECU10の構成について詳細に説明する。図3は、実施形態に係る車載ECU10の構成を示すブロック図である。図3に示すように、実施形態に係る車載ECU10は、制御部100bと、第1記憶部110b−1と、第2記憶部110b−2とを備える。つまり、車載ECU10は、2つの記憶部を有する。なお、車載ECU10の記憶部の数は、2つに限定されるものではなく、複数であればよく、3以上であってもよい。   Next, the configuration of the in-vehicle ECU 10 according to the embodiment will be described in detail with reference to FIG. FIG. 3 is a block diagram illustrating a configuration of the in-vehicle ECU 10 according to the embodiment. As shown in FIG. 3, the vehicle-mounted ECU 10 according to the embodiment includes a control unit 100b, a first storage unit 110b-1, and a second storage unit 110b-2. That is, the in-vehicle ECU 10 has two storage units. Note that the number of storage units of the in-vehicle ECU 10 is not limited to two, but may be plural, or may be three or more.

第1記憶部110b−1は、第1プログラム情報111b−1を記憶し、第2記憶部110b−2は、第2プログラム情報111b−2を記憶する。第1プログラム情報111b−1および第2プログラム情報111b−2は、更新日時が同じもしくは異なる制御用プログラムである。   The first storage unit 110b-1 stores first program information 111b-1, and the second storage unit 110b-2 stores second program information 111b-2. The first program information 111b-1 and the second program information 111b-2 are control programs having the same or different update dates.

ここで、車載ECU10は、たとえば、CPU(Central Processing Unit)、ROM(Read Only Memory)、フラッシュROM、RAM(Random Access Memory)、入出力ポートなどを有するコンピュータや各種の回路を含む。   Here, the in-vehicle ECU 10 includes, for example, a computer having a central processing unit (CPU), a read only memory (ROM), a flash ROM, a random access memory (RAM), an input / output port, and various circuits.

コンピュータのCPUは、たとえば、ROM等の第1記憶部110b−1に記憶された第1プログラム情報111b−1および第2記憶部110b−2に記憶された第2プログラム情報111b−2のいずれか一方の制御用プログラムを読み出して実行することによって、制御部100bとして機能する。   The CPU of the computer is, for example, one of the first program information 111b-1 stored in the first storage unit 110b-1 such as a ROM and the second program information 111b-2 stored in the second storage unit 110b-2. One control program is read and executed to function as the control unit 100b.

また、制御部100bの一部または全部をASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等のハードウェアで構成することもできる。   In addition, a part or all of the control unit 100b can be configured by hardware such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).

また、第1記憶部110b−1および第2記憶部110b−2は、たとえば、フラッシュROMやRAMに対応する。フラッシュROMやRAMは、第1プログラム情報111b−1または第2プログラム情報111b−2や、各種プログラムの情報等を記憶することができる。なお、車載ECU10は、有線や無線のネットワークで接続された他のコンピュータや可搬型記録媒体を介して上記したプログラムや各種情報を取得することとしてもよい。   Moreover, the 1st memory | storage part 110b-1 and the 2nd memory | storage part 110b-2 respond | correspond to flash ROM and RAM, for example. The flash ROM and RAM can store the first program information 111b-1 or the second program information 111b-2, information on various programs, and the like. Note that the in-vehicle ECU 10 may acquire the above-described program and various information via another computer or a portable recording medium connected via a wired or wireless network.

制御部100bは、リモートECU1から更新用の新たな制御用プログラムを取得し、第1記憶部110b−1に記憶された第1プログラム情報111b−1および第2記憶部110b−2に記憶された第2プログラム情報111b−2のうち、いずれか一方の制御用プログラムを更新する。   The control unit 100b acquires a new control program for update from the remote ECU 1, and is stored in the first program information 111b-1 and the second storage unit 110b-2 stored in the first storage unit 110b-1. Of the second program information 111b-2, one of the control programs is updated.

例えば、制御部100bは、制御の実行用に読み出されていない制御用プログラムを更新可能である。かかる点について、図5を用いて説明する。   For example, the control unit 100b can update a control program that has not been read for execution of control. This point will be described with reference to FIG.

図5は、制御用プログラムの更新処理を示す図である。図5では、車載ECU10であるEFI(Electric Fuel Injection)−ECU10aと、制御用プログラムの更新対象となる車載ECU10bとを示す。EFI−ECU10aとは、エンジンの駆動状態であるエンジンの燃料噴射量を制御するECUである。また、車載ECU10bは、第1プログラム情報111b−1を実行用として読み出して制御を行っていることとする。   FIG. 5 is a diagram showing the update process of the control program. FIG. 5 shows an EFI (Electric Fuel Injection) -ECU 10a that is the in-vehicle ECU 10, and an in-vehicle ECU 10b that is an update target of the control program. The EFI-ECU 10a is an ECU that controls the fuel injection amount of the engine that is in a driving state of the engine. The in-vehicle ECU 10b reads out the first program information 111b-1 for execution and performs control.

図5に示すように、まず、リモートECU1の取得部21は、EFI−ECU10aからリプロ許可通知を取得する(ステップS1)。リプロ許可通知とは、エンジンの駆動状態に基づく走行状態が上記した低負荷の走行状態であるか否かを示す通知である。   As shown in FIG. 5, first, the acquisition unit 21 of the remote ECU 1 acquires a repro permission notification from the EFI-ECU 10a (step S1). The repro permission notification is a notification indicating whether or not the traveling state based on the driving state of the engine is the above-described low-load traveling state.

例えば、EFI−ECU10aは、エンジンの駆動状態に基づく走行状態が上記した定常走行である、もしくは、アイドリングストップに相当する停止状態である場合に、低負荷の走行状態であることを示すフラグ「1」をリプロ許可通知として通知する。また、EFI−ECU10aは、低負荷の走行状態でない場合には、フラグ「0」をリプロ許可通知として通知する。   For example, the EFI-ECU 10a sets a flag “1” indicating that the vehicle is in a low-load traveling state when the traveling state based on the driving state of the engine is the above-described steady traveling or the stopped state corresponding to the idling stop. "As a repro permission notification. Further, the EFI-ECU 10a notifies the flag “0” as a repro permission notification when the driving state is not low.

なお、リモートECU1の取得部21は、リプロ許可通知を定期的に取得してもよく、フラグの切り替わり(0→1もしくは1→0)時のみ取得するようにしてもよい。   Note that the acquisition unit 21 of the remote ECU 1 may periodically acquire the repro permission notification, or may acquire it only when the flag is switched (0 → 1 or 1 → 0).

つづいて、リモートECU1の更新部23は、取得部21の取得したリプロ許可通知に基づいて検出部22が低負荷の走行状態を検出した場合、更新情報31に含まれる制御用プログラムを車載ECU10bへ分割送信する(ステップS2)。   Subsequently, when the detection unit 22 detects a low-load running state based on the repro permission notification acquired by the acquisition unit 21, the update unit 23 of the remote ECU 1 transmits the control program included in the update information 31 to the in-vehicle ECU 10b. The divided transmission is performed (step S2).

具体的には、分割送信とは、制御用プログラムを所定サイズ毎に分割した分割情報毎に送信することである。つまり、更新部23は、更新用となる新たな制御用プログラムを含む更新情報31を所定サイズ毎に分割した分割情報311〜315を生成し、生成した分割情報311〜315毎に古い制御用プログラムを新たな制御用プログラムに更新する。なお、図5では、制御用プログラムを5つの分割情報311〜315に分割した場合を示している。   Specifically, the division transmission is transmission for each piece of division information obtained by dividing the control program into predetermined sizes. That is, the update unit 23 generates division information 311 to 315 obtained by dividing the update information 31 including the new control program to be updated for each predetermined size, and the old control program is generated for each of the generated division information 311 to 315. Is updated to a new control program. FIG. 5 shows a case where the control program is divided into five pieces of division information 311 to 315.

例えば、更新部23は、最小の送信サイズとなるサイズの分割情報311〜315に分割する。換言すれば、分割情報311〜315の1つあたりの送信時間が最も短くなるように分割する。   For example, the update part 23 divides | segments into the division information 311 to 315 of the size used as the minimum transmission size. In other words, the division information 311 to 315 is divided so that the transmission time per one becomes the shortest.

これにより、例えば、分割情報311〜315を送信途中に、リプロ許可通知のフラグが「1」→「0」になった場合、送信途中の分割情報311〜315の送信完了を短くできる。   Thereby, for example, when the flag of the repro permission notification is changed from “1” to “0” during transmission of the division information 311 to 315, transmission completion of the division information 311 to 315 during transmission can be shortened.

従って、車両Cの走行状態が変化して、車載ネットワークCNが低負荷でなくなった場合であっても、即座に更新処理を中断できるため、車載ネットワークCNが混雑しにくくなり、車載ECU10の制御が妨げられることを軽減できる。   Therefore, even when the traveling state of the vehicle C changes and the in-vehicle network CN is no longer at a low load, the update process can be interrupted immediately, so that the in-vehicle network CN is less likely to be crowded, and the in-vehicle ECU 10 is controlled. You can reduce the obstacles.

また、図5に示すように、更新部23は、第1プログラム情報111b−1および第2プログラム情報111b−2のうち、第2プログラム情報111b−2を更新するよう車載ECU10bに指示する。   As shown in FIG. 5, the updating unit 23 instructs the in-vehicle ECU 10b to update the second program information 111b-2 among the first program information 111b-1 and the second program information 111b-2.

具体的には、更新部23は、実行用として読み出されている第1記憶部110b−1以外の他の記憶部である第2記憶部110b−2に記憶された第2プログラム情報111b−2を更新するよう指示する。つまり、車載ECU10bの制御部100bは、一の記憶部(第1記憶部110b−1)の制御用プログラム(第1プログラム情報111b−1)を実行している状態において、他の記憶部(第2記憶部110b−2)の制御用プログラム(第2プログラム情報111b−2)を更新する。   Specifically, the update unit 23 stores the second program information 111b− stored in the second storage unit 110b-2, which is a storage unit other than the first storage unit 110b-1 read out for execution. 2 to update. That is, the control unit 100b of the in-vehicle ECU 10b is in a state where the control program (first program information 111b-1) of the one storage unit (first storage unit 110b-1) is being executed, 2 update the control program (second program information 111b-2) in the storage unit 110b-2).

これにより、車載ECU10bが制御用プログラムを読み出して制御を行いつつ、新たな制御用プログラムに更新することができる。   As a result, the in-vehicle ECU 10b can update to a new control program while reading and controlling the control program.

なお、車載ECU10bは、第2プログラム情報111b−2の更新が完了した後、実行用として読み出す制御用プログラムを第1プログラム情報111b−1から第2プログラム情報111b−2へ切り替える。   The in-vehicle ECU 10b switches the control program read for execution from the first program information 111b-1 to the second program information 111b-2 after the update of the second program information 111b-2 is completed.

また、読み出す制御用プログラムを第2プログラム情報111b−2へ切り替えた後、リモートECU1の更新部23は、第1プログラム情報111b−1も同様に更新処理を行ってもよい。   Further, after the control program to be read is switched to the second program information 111b-2, the update unit 23 of the remote ECU 1 may perform the update process on the first program information 111b-1 as well.

つまり、更新部23は、第1プログラム情報111b−1を更新することで、第1プログラム情報111b−1および第2プログラム情報111b−2それぞれを最新の制御用プログラムに更新する。   That is, the update unit 23 updates the first program information 111b-1 and the second program information 111b-2 to the latest control program by updating the first program information 111b-1.

これにより、いずれかの記憶部が故障等した場合であっても、他の記憶部に記憶された制御用プログラムによる代替が可能となるため、車載ECU10bとしての信頼性を向上させることができる。   As a result, even if one of the storage units is out of order, the control program stored in the other storage unit can be replaced, so the reliability of the in-vehicle ECU 10b can be improved.

あるいは、更新部23は、第1プログラム情報111b−1については、次の更新用の制御用プログラムが作成されるまで更新処理を行わないようにしてもよい。これにより、車載ネットワークCNが混雑することを軽減できる。   Alternatively, the update unit 23 may not perform the update process for the first program information 111b-1 until the next control program for update is created. Thereby, it can reduce that the vehicle-mounted network CN is congested.

なお、図5では、リモートECU1の更新部23の指示により、車載ECU10bにおける制御用プログラムの更新処理が行われたが、例えば、車載ECU10bの指示により更新処理が行われてもよい。かかる点については、図7で後述する。   In FIG. 5, the update process of the control program in the in-vehicle ECU 10b is performed according to the instruction from the update unit 23 of the remote ECU 1. However, for example, the update process may be performed according to the instruction from the in-vehicle ECU 10b. This will be described later with reference to FIG.

次に、図6を用いて、実施形態に係るリモートECU1が実行する処理の処理手順について説明する。図6は、実施形態に係るリモートECU1が実行する処理の処理手順を示すフローチャートである。   Next, a processing procedure of processing executed by the remote ECU 1 according to the embodiment will be described with reference to FIG. FIG. 6 is a flowchart illustrating a processing procedure of processing executed by the remote ECU 1 according to the embodiment.

図6に示すように、リモートECU1の制御部2は、車両Cが走行中であるか否かを判定する(ステップS101)。制御部2は、車両Cが走行中であった場合(ステップS101,Yes)、定常走行中であるか否かを判定する(ステップS102)。   As shown in FIG. 6, the control unit 2 of the remote ECU 1 determines whether or not the vehicle C is traveling (step S101). When the vehicle C is traveling (Yes at Step S101), the control unit 2 determines whether or not the vehicle C is traveling normally (Step S102).

つづいて、制御部2は、車両Cが定常走行中であった場合(ステップS102,Yes)、車載ECU10の制御に伴う車載ネットワークCNの通信負荷が所定値以下となる低負荷の走行状態を検出する(ステップS103)。   Subsequently, when the vehicle C is in steady running (step S102, Yes), the control unit 2 detects a low-load running state in which the communication load of the in-vehicle network CN accompanying the control of the in-vehicle ECU 10 is a predetermined value or less. (Step S103).

つづいて、制御部2は、低負荷の走行状態を検出した場合、車載ネットワークCNを介して、車載ECU10が実行する制御用プログラムを更新する更新処理を行い(ステップS104)、処理を終了する。   Subsequently, when detecting a low-load traveling state, the control unit 2 performs an update process for updating the control program executed by the in-vehicle ECU 10 via the in-vehicle network CN (step S104), and ends the process.

一方、ステップS101において、制御部2は、車両Cが走行中でなかった場合(ステップS101,No)、すなわち、停止状態であった場合、かかる停止状態がアイドリングストップに相当する停止状態であるか否かを判定する(ステップS105)。   On the other hand, in step S101, if the vehicle C is not traveling (step S101, No), that is, if it is in a stopped state, is the stopped state a stop state corresponding to an idling stop? It is determined whether or not (step S105).

つづいて、制御部2は、車両Cがアイドリングストップ中であった場合(ステップS105,Yes)、処理をステップS103へ移行する。   Subsequently, when the vehicle C is idling stopped (step S105, Yes), the control unit 2 shifts the process to step S103.

また、ステップS102において、制御部2は、車両Cが定常走行中でなかった場合(ステップS102,No)、処理をステップS101へ移行する。また、ステップS105において、制御部2は、車両Cがアイドリングストップ中でなかった場合(ステップS105,No)、処理をステップS101へ移行する。   Moreover, in step S102, the control part 2 transfers a process to step S101, when the vehicle C is not driving | running | working normally (step S102, No). Moreover, in step S105, the control part 2 transfers a process to step S101, when the vehicle C is not in idling stop (step S105, No).

上述してきたように、実施形態に係るリモートECU1(更新装置の一例)は、検出部22と、更新部23とを備える。検出部22は、車両Cの走行時における走行状態であって、車載ECU10(車両制御装置の一例)の制御に伴う車載ネットワークCNの通信負荷が所定値以下となる低負荷の走行状態を検出する。更新部23は、検出部22によって低負荷の走行状態が検出された場合に、車載ネットワークCNを介して、車載ECU10が実行する制御用プログラムを更新する。これにより、ユーザの煩わしさを低減することができる。   As described above, the remote ECU 1 (an example of the update device) according to the embodiment includes the detection unit 22 and the update unit 23. The detection unit 22 detects a traveling state when the vehicle C is traveling and a low-load traveling state in which the communication load of the in-vehicle network CN associated with the control of the in-vehicle ECU 10 (an example of the vehicle control device) is equal to or less than a predetermined value. . The update unit 23 updates the control program executed by the in-vehicle ECU 10 through the in-vehicle network CN when the low-load traveling state is detected by the detection unit 22. Thereby, a user's troublesomeness can be reduced.

なお、上述した実施形態では、リモートECU1の指示に基づいて車載ECU10の制御用プログラムを更新したが、例えば、車載ECU10の指示により制御用プログラムを更新してもよい。かかる点について、図7を用いて説明する。   In the above-described embodiment, the control program for the in-vehicle ECU 10 is updated based on an instruction from the remote ECU 1. However, for example, the control program may be updated according to an instruction from the in-vehicle ECU 10. This point will be described with reference to FIG.

図7は、変形例に係る車載ECU10bの構成を示すブロック図である。図7に示す変形例は、車載ECU10bがリモートECU1に対して更新用の制御用プログラムを要求して更新する点が上述した実施形態とは異なる。換言すれば、上述した実施形態では、リモートECU1が積極的に制御用プログラムの更新処理を行っていたのに対し、変形例では、リモートECU1は、車載ECU10bの指示に基づいて受動的に更新処理を行う。なお、以下に示す変形例では、上述した実施形態との相違点について説明し、上述した実施形態と同じ内容については記載を省略する。   FIG. 7 is a block diagram illustrating a configuration of the in-vehicle ECU 10b according to the modification. The modification shown in FIG. 7 is different from the above-described embodiment in that the in-vehicle ECU 10b updates the remote ECU 1 by requesting an update control program. In other words, in the above-described embodiment, the remote ECU 1 actively performs the update process of the control program, whereas in the modification, the remote ECU 1 passively performs the update process based on the instruction of the in-vehicle ECU 10b. I do. In the modification shown below, differences from the above-described embodiment will be described, and description of the same contents as the above-described embodiment will be omitted.

具体的には、図7に示すように、車載ECU10bの制御部100bは、処理部101bと、検出部102bと、要求部103bと、更新部104bとを備える。   Specifically, as shown in FIG. 7, the control unit 100b of the in-vehicle ECU 10b includes a processing unit 101b, a detection unit 102b, a request unit 103b, and an update unit 104b.

処理部101bは、第1記憶部110b−1に記憶された第1プログラム情報111b−1および第2記憶部110b−2に記憶された第2プログラム情報111b−2のうち、一方の制御用プログラムを読み出して制御を行う。つまり、処理部101bは、複数の記憶部のうち、一の記憶部に記憶された制御用プログラムを読み出して制御を行う。   The processing unit 101b is one control program among the first program information 111b-1 stored in the first storage unit 110b-1 and the second program information 111b-2 stored in the second storage unit 110b-2. Is read and controlled. That is, the processing unit 101b performs control by reading a control program stored in one storage unit among the plurality of storage units.

検出部102bは、車両Cの走行時における走行状態であって、車載ECU10bの制御に伴う車載ネットワークCNの通信負荷が所定値以下となる低負荷の走行状態を検出する。   The detection unit 102b detects a low-load traveling state that is a traveling state when the vehicle C is traveling and in which the communication load of the in-vehicle network CN associated with the control of the in-vehicle ECU 10b is a predetermined value or less.

例えば、検出部102bは、EFI−ECU10aから上記したリプロ許可通知を取得し、かかるリプロ許可通知に基づいて低負荷の走行状態を検出する。また、検出部102bは、例えば、処理部101bの処理内容に基づいて低負荷の走行状態を検出してもよい。   For example, the detection unit 102b acquires the above-described repro permission notification from the EFI-ECU 10a, and detects a low-load traveling state based on the repro permission notification. In addition, the detection unit 102b may detect a low-load traveling state based on the processing content of the processing unit 101b, for example.

具体的には、検出部102bは、処理部101bによる処理量が所定値以下の場合に、低負荷の走行状態を検出してもよい。   Specifically, the detection unit 102b may detect a low-load traveling state when the processing amount by the processing unit 101b is equal to or less than a predetermined value.

要求部103bは、検出部102bによって低負荷の走行状態が検出された場合に、車載ECU10bが実行する制御用プログラムの更新を更新装置であるリモートECU1に対して要求する。要求部103bの要求を受け付けたリモートECU1は、サーバ装置SVから取得した更新用の新たな制御用プログラムを車載ECU10bへ送信する。   The request unit 103b requests the remote ECU 1, which is an updating device, to update the control program executed by the in-vehicle ECU 10b when the detection unit 102b detects a low-load traveling state. The remote ECU 1 that has received the request from the request unit 103b transmits a new control program for update acquired from the server device SV to the in-vehicle ECU 10b.

更新部104bは、記憶部に記憶された制御用プログラムを更新する。具体的には、更新部104bは、要求部103bの要求に応じてリモートECU1から取得した新たな制御用プログラムに更新する。   The update unit 104b updates the control program stored in the storage unit. Specifically, the update unit 104b updates to a new control program acquired from the remote ECU 1 in response to a request from the request unit 103b.

より具体的には、更新部104bは、第1記憶部110b−1および第2記憶部110b−2のうち、処理部101bによって読み出された記憶部以外の他の記憶部における制御用プログラムを更新する。これにより、処理部101bが制御用プログラムを読み出して制御を行いつつ、新たな制御用プログラムに更新することができる。   More specifically, the updating unit 104b stores a control program in a storage unit other than the storage unit read out by the processing unit 101b out of the first storage unit 110b-1 and the second storage unit 110b-2. Update. As a result, the processing unit 101b can update to a new control program while reading and controlling the control program.

このように、車載ECU10bは、車載ネットワークCNが低負荷である場合に、リモートECU1から更新用の新たな制御用プログラムを取得して更新することで、走行中に制御用プログラムを更新できる。従って、変形例に係る車載ECU10bによれば、ユーザの煩わしさを低減できる。   As described above, when the in-vehicle network CN has a low load, the in-vehicle ECU 10b can update the control program during traveling by acquiring and updating a new control program for updating from the remote ECU 1. Therefore, according to the vehicle-mounted ECU 10b according to the modification, the user's troublesomeness can be reduced.

さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均等物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。   Further effects and modifications can be easily derived by those skilled in the art. Thus, the broader aspects of the present invention are not limited to the specific details and representative embodiments shown and described above. Accordingly, various modifications can be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.

1 リモートECU
2,100b 制御部
3 記憶部
10,10b 車載ECU
10a EFI−ECU
21 取得部
22,102b 検出部
23,104b 更新部
31 更新情報
110b−1 第1記憶部
111b−1 第1プログラム情報
110b−2 第2記憶部
111b−2 第2プログラム情報
C 車両
CN 車載ネットワーク
N 通信ネットワーク
S 更新システム
SV サーバ装置
1 Remote ECU
2,100b Control unit 3 Storage unit 10, 10b In-vehicle ECU
10a EFI-ECU
21 acquisition unit 22, 102b detection unit 23, 104b update unit 31 update information 110b-1 first storage unit 111b-1 first program information 110b-2 second storage unit 111b-2 second program information C vehicle CN vehicle-mounted network N Communication network S Update system SV server device

Claims (7)

車両の走行時における走行状態であって、車両制御装置の制御に伴う車載ネットワークの通信負荷が低負荷となる前記走行状態を検出する検出部と、
前記検出部によって前記低負荷となる前記走行状態が検出された場合に、前記車載ネットワークを介して、前記車両制御装置が実行する制御用プログラムを更新する更新部と
を備えることを特徴とする更新装置。
A detection unit that detects the traveling state when the vehicle is traveling, and the communication load of the in-vehicle network that is associated with the control of the vehicle control device is low;
An update unit comprising: an update unit that updates a control program executed by the vehicle control device via the in-vehicle network when the traveling state having the low load is detected by the detection unit. apparatus.
前記車両における駆動源の駆動状態を取得する取得部をさらに備え、
前記検出部は、
前記取得部によって取得された前記駆動状態の時間変化が所定範囲内で維持された定常走行を前記低負荷となる前記走行状態として検出すること
を特徴とする請求項1に記載の更新装置。
An acquisition unit for acquiring a drive state of a drive source in the vehicle;
The detector is
The update device according to claim 1, wherein steady running in which a time change of the driving state acquired by the acquiring unit is maintained within a predetermined range is detected as the driving state that is the low load.
前記検出部は、
前記取得部によって取得された前記駆動状態がアイドリングストップに相当する停止状態である場合に、前記低負荷となる前記走行状態を検出すること
を特徴とする請求項2に記載の更新装置。
The detector is
The updating apparatus according to claim 2, wherein the driving state that is the low load is detected when the driving state acquired by the acquiring unit is a stop state corresponding to an idling stop.
前記更新部は、
更新用となる新たな前記制御用プログラムを含む更新情報を所定サイズ毎に分割した分割情報を生成し、当該分割情報毎に古い前記制御用プログラムを前記新たな制御用プログラムに更新すること
を特徴とする請求項1〜3のいずれか1つに記載の更新装置。
The update unit
Generating division information obtained by dividing the update information including the new control program to be updated for each predetermined size, and updating the old control program to the new control program for each division information. The update device according to any one of claims 1 to 3.
車両の走行時における走行状態であって、自装置の制御に伴う車載ネットワークの通信負荷が低負荷となる前記走行状態を検出する検出部と、
前記検出部によって前記低負荷となる前記走行状態が検出された場合に、前記自装置が実行する制御用プログラムの更新を更新装置に対して要求する要求部と
記憶部に記憶された前記制御用プログラムを、前記要求部の要求に応じて前記更新装置から取得した新たな前記制御用プログラムに更新する更新部と
を備えることを特徴とする車両制御装置。
A detection unit that detects the traveling state when the vehicle is traveling, and the communication load of the in-vehicle network associated with the control of the device is low;
When the detection state detects the low-load running state, the control unit stored in the storage unit and the request unit that requests the update device to update the control program executed by the own device. A vehicle control device comprising: an update unit that updates a program to the new control program acquired from the update device in response to a request from the request unit.
車載ネットワークを介して取得した制御用プログラムをそれぞれ記憶する少なくとも2つの記憶部と、
前記記憶部のうち、一の前記記憶部の前記制御用プログラムを実行する制御部を備え、
前記制御部は、
前記一の記憶部の前記制御用プログラムを実行している状態において、他の前記記憶部の前記制御用プログラムの更新を行うこと
を特徴とする車両制御装置。
At least two storage units each storing a control program acquired via an in-vehicle network;
Among the storage units, a control unit that executes the control program of one of the storage units,
The controller is
The vehicle control device, wherein the control program in the other storage unit is updated in a state where the control program in the one storage unit is being executed.
車両の走行時における走行状態であって、車両制御装置の制御に伴う車載ネットワークの通信負荷が低負荷となる前記走行状態を検出する検出工程と、
前記検出工程によって前記低負荷となる前記走行状態が検出された場合に、前記車載ネットワークを介して、前記車両制御装置が実行する制御用プログラムを更新する更新工程と
を含むことを特徴とする更新方法。
A detection step of detecting the traveling state when the vehicle is traveling, wherein the communication load of the in-vehicle network associated with the control of the vehicle control device is low;
An update step of updating a control program executed by the vehicle control device via the in-vehicle network when the traveling state having the low load is detected by the detection step. Method.
JP2018100581A 2018-05-25 2018-05-25 Update device, vehicle control device, and update method Pending JP2019204413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018100581A JP2019204413A (en) 2018-05-25 2018-05-25 Update device, vehicle control device, and update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018100581A JP2019204413A (en) 2018-05-25 2018-05-25 Update device, vehicle control device, and update method

Publications (1)

Publication Number Publication Date
JP2019204413A true JP2019204413A (en) 2019-11-28

Family

ID=68727089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018100581A Pending JP2019204413A (en) 2018-05-25 2018-05-25 Update device, vehicle control device, and update method

Country Status (1)

Country Link
JP (1) JP2019204413A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115421859A (en) * 2022-09-13 2022-12-02 科东(广州)软件科技有限公司 Dynamic loading method and device of configuration file, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11113067A (en) * 1997-10-08 1999-04-23 Toyota Motor Corp Data recovery system, vehicle use data recovery device and medium recording data recovery program
JP2018060323A (en) * 2016-10-04 2018-04-12 株式会社オートネットワーク技術研究所 On-vehicle update system, on-vehicle update device, on-vehicle device and update method
JP2018065410A (en) * 2016-10-17 2018-04-26 トヨタ自動車株式会社 Software update control apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11113067A (en) * 1997-10-08 1999-04-23 Toyota Motor Corp Data recovery system, vehicle use data recovery device and medium recording data recovery program
JP2018060323A (en) * 2016-10-04 2018-04-12 株式会社オートネットワーク技術研究所 On-vehicle update system, on-vehicle update device, on-vehicle device and update method
JP2018065410A (en) * 2016-10-17 2018-04-26 トヨタ自動車株式会社 Software update control apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115421859A (en) * 2022-09-13 2022-12-02 科东(广州)软件科技有限公司 Dynamic loading method and device of configuration file, computer equipment and storage medium
CN115421859B (en) * 2022-09-13 2024-02-13 科东(广州)软件科技有限公司 Dynamic loading method and device for configuration file, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
JP6665728B2 (en) In-vehicle update device, in-vehicle update system and communication device update method
WO2018142751A1 (en) Control device, program update method, and computer program
JP5900390B2 (en) Access restriction device, in-vehicle communication system, and communication restriction method
JP5641244B2 (en) Vehicle network system and vehicle information processing method
JP6962258B2 (en) Control devices, programs for control devices, and control methods
JP2019036140A (en) Controller, method for control, and computer program
WO2017149821A1 (en) Control device, program update method, and computer program
KR102259596B1 (en) Control device, computer readable recording medium recording program for control device, and control method
JP2007034815A (en) On-vehicle terminal
WO2022134365A1 (en) Vehicle scheduling method, apparatus, and system, device, and storage medium
JP2018181377A (en) Relay device, program update system, and program update method
WO2012070604A1 (en) Vehicle-mounted application management device and vehicle-mounted application management method
JP2019177807A (en) Control device, program, and control method
JP2013137729A (en) Program rewriting system, control device, program distribution device, identification information storage device, and method for rewriting program
JP2019003432A (en) Control device, control method, and computer program
JPWO2018189975A1 (en) Relay apparatus, transfer method, and computer program
JP3579121B2 (en) Route guidance system and map information utilization device
JP2019204413A (en) Update device, vehicle control device, and update method
JP2019034652A (en) Control device, control method, and computer program
WO2021024792A1 (en) Vehicle control device, update program, program update system, and writing device
US20220027143A1 (en) Server, software updating device, vehicle, software updating system, control method, and non-transitory storage medium
JP2007114100A (en) Map information delivery method and map information delivery system
JP2017228103A (en) Control device, program distribution method, and computer program
CN113227967A (en) Software upgrading method and device
JP7202197B2 (en) Map providing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210429

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20221122