JP2022008356A - Software update apparatus, vehicle, and software update method - Google Patents

Software update apparatus, vehicle, and software update method Download PDF

Info

Publication number
JP2022008356A
JP2022008356A JP2021146599A JP2021146599A JP2022008356A JP 2022008356 A JP2022008356 A JP 2022008356A JP 2021146599 A JP2021146599 A JP 2021146599A JP 2021146599 A JP2021146599 A JP 2021146599A JP 2022008356 A JP2022008356 A JP 2022008356A
Authority
JP
Japan
Prior art keywords
software
electronic control
control device
update
software update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021146599A
Other languages
Japanese (ja)
Other versions
JP2022008356A5 (en
JP7212736B2 (en
Inventor
源太 井上
Genta Inoue
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2019030043A external-priority patent/JP6943903B2/en
Application filed by Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2021146599A priority Critical patent/JP7212736B2/en
Publication of JP2022008356A publication Critical patent/JP2022008356A/en
Publication of JP2022008356A5 publication Critical patent/JP2022008356A5/ja
Application granted granted Critical
Publication of JP7212736B2 publication Critical patent/JP7212736B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a software update apparatus, a vehicle, and a software update method capable of performing software update better.
SOLUTION: A software update apparatus 12 comprises: a power consumption determination unit 33 for determining power consumption when a software update is performed based on the power consumption of a vehicle 10 when the software update is performed and the time required for the software update; and an update possibility determination unit 35 for determining whether or not the software can be updated based on the power consumption determined by the power consumption determination unit and the amount of power existing in a battery 20 provided in the vehicle.
SELECTED DRAWING: Figure 3
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、ソフトウェア更新装置、車両及びソフトウェア更新方法に関する。 The present invention relates to a software update device, a vehicle and a software update method.

特許文献1には、サーバから配信される更新用ソフトウェアを用いて制御装置のソフトウェアを更新する技術が開示されている。 Patent Document 1 discloses a technique for updating software of a control device using update software distributed from a server.

特開2018-45515号公報Japanese Unexamined Patent Publication No. 2018-45515

しかしながら、ソフトウェアの更新をより良好に行い得る技術が待望されている。 However, there is a long-awaited technique for better updating software.

本発明の目的は、ソフトウェアの更新をより良好に行い得るソフトウェア更新装置、車両及びソフトウェア更新方法を提供することにある。 An object of the present invention is to provide a software update device, a vehicle, and a software update method capable of better updating software.

本発明の一態様によるソフトウェア更新装置は、ネットワークを介して供給される新版ソフトウェアを取得する取得部と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を行う更新制御部と、前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する。 The software update device according to one aspect of the present invention is an electronic control device mounted on a vehicle by using an acquisition unit that acquires new version software supplied via a network and the new version software acquired by the acquisition unit. The software update for the electronic control device is based on the update control unit that updates the software, the power consumption of the vehicle when the software update is performed, and the time required for the software update for the electronic control device. The power consumption determination unit that determines the power consumption amount when the software is performed, the power consumption amount determined by the power consumption amount determination unit, and the power amount existing in the battery provided in the vehicle. Based on this, the update possibility determination unit for determining whether or not the software can be updated for the electronic control device is provided, and the update control unit determines that the software can be updated for the electronic control device. If so, the software update to the electronic control device is executed.

本発明の他の態様によるソフトウェア更新装置は、ネットワークを介して供給される新版ソフトウェアを取得する取得部と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を実行する更新制御部と、前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、前記更新可否判定部は、前記消費電力量判定部によって判定された前記消費電力量を、前記バッテリに存在している前記電力量から減じることにより得られる値が閾値以上である場合、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定し、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する。 The software update device according to another aspect of the present invention is an electronic control device mounted on a vehicle by using an acquisition unit that acquires a new version software supplied via a network and the new version software acquired by the acquisition unit. The update control unit for executing software update for the electronic control device, the power consumption of the vehicle when the software update is performed, and the time required for the software update for the electronic control device. The power consumption determination unit that determines the power consumption amount when the software is updated, the power consumption amount determined by the power consumption amount determination unit, and the power amount existing in the battery provided in the vehicle. Based on the above, the electronic control device is provided with an update possibility determination unit for determining whether or not the software can be updated, and the update possibility determination unit determines the power consumption amount determined by the power consumption amount determination unit. When the value obtained by subtracting from the electric energy existing in the battery is equal to or greater than the threshold value, it is determined that the software update to the electronic control device is possible, and the update control unit determines that the electronic control device can be updated. When the update possibility determination unit determines that the software update is possible, the software update to the electronic control device is executed.

本発明の更に他の態様による車両は、上記のようなソフトウェア更新装置を備える。 A vehicle according to still another aspect of the present invention is provided with a software update device as described above.

本発明の更に他の態様によるソフトウェア更新方法は、ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、前記ソフトウェア更新を実行する際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップと、前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップとを有する。 The software update method according to still another aspect of the present invention is a software update method for executing software update to an electronic control device provided in a vehicle by using a new version software supplied via a network. A step of determining the power consumption when the software update for the electronic control device is performed based on the power consumption of the vehicle when executing the software update and the time required for the software update for the electronic control device. Based on the power consumption determined in the step of determining the power consumption and the power existing in the battery provided in the vehicle, whether or not the software can be updated for the electronic control device is determined. It has a determination step.

本発明によれば、ソフトウェアの更新をより良好に行い得るソフトウェア更新装置、車両及びソフトウェア更新方法を提供することができる。 According to the present invention, it is possible to provide a software update device, a vehicle, and a software update method capable of better updating software.

一実施形態によるソフトウェア更新装置を含むソフトウェア更新システムを示すブロック図である。It is a block diagram which shows the software update system which includes the software update apparatus by one Embodiment. 図2A及び図2Bは、不揮発性メモリの構成の例を概念的に示す図である。2A and 2B are diagrams conceptually showing an example of the configuration of the non-volatile memory. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すタイミングチャートである。It is a timing chart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment. 一実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the software update device by one Embodiment.

本発明によるソフトウェア更新装置、車両及びソフトウェア更新方法について、好適な実施形態を挙げ、添付の図面を参照して以下に詳細に説明する。 A software update device, a vehicle, and a software update method according to the present invention will be described in detail below with reference to the accompanying drawings, citing suitable embodiments.

[一実施形態]
一実施形態によるソフトウェア更新装置、車両及びソフトウェア更新方法について図面を用いて説明する。図1は、本実施形態によるソフトウェア更新装置を含むソフトウェア更新システムを示すブロック図である。
[One Embodiment]
A software update device, a vehicle, and a software update method according to an embodiment will be described with reference to the drawings. FIG. 1 is a block diagram showing a software update system including a software update device according to the present embodiment.

本実施形態によるソフトウェア更新システム11は、車両10と、サーバ(外部機器)22とを有する。 The software update system 11 according to the present embodiment includes a vehicle 10 and a server (external device) 22.

車両10には、ソフトウェア更新装置12と、通信部14と、電子制御装置(ECU:Electronic Control Unit)16と、イグニッションスイッチ(IGSW)18と、バッテリ(BAT)20と、表示部21とが備えられている。なお、電子制御装置一般について説明する際には、符号16を用い、個々の電子制御装置について説明する際には、符号16A、16Bを用いる。車両10には、多数の電子制御装置16が備えられているが、図1には、多数の電子制御装置16のうちの2つの電子制御装置16が示されている。即ち、図1には、第1の電子制御装置16Aと、第2の電子制御装置16Bとが示されている。ここでは、第1の電子制御装置16Aと、第2の電子制御装置16Bとが協調動作(同期動作)する場合を例に説明する。なお、車両10には、これらの構成要素以外の構成要素も備えられるが、ここでは説明を省略する。 The vehicle 10 includes a software update device 12, a communication unit 14, an electronic control unit (ECU) 16, an ignition switch (IGSW) 18, a battery (BAT) 20, and a display unit 21. Has been done. Reference numeral 16 is used when describing the electronic control device in general, and reference numerals 16A and 16B are used when describing the individual electronic control devices. The vehicle 10 is provided with a large number of electronic control devices 16, but FIG. 1 shows two electronic control devices 16 out of a large number of electronic control devices 16. That is, FIG. 1 shows a first electronic control device 16A and a second electronic control device 16B. Here, a case where the first electronic control device 16A and the second electronic control device 16B cooperate with each other (synchronous operation) will be described as an example. The vehicle 10 is also provided with components other than these components, but the description thereof will be omitted here.

サーバ22には、データベース38と、通信部40とが備えられている。通信部40は、車両10に備えられた通信部14との間で無線通信を行い得る。データベース38には、電子制御装置16にインストールされたソフトウェア(旧版ソフトウェア、現行ソフトウェア)を更新するための新版ソフトウェア(更新用ソフトウェア)が格納され得る。なお、サーバ22には、これらの構成要素以外の構成要素も備えられるが、ここでは説明を省略する。 The server 22 includes a database 38 and a communication unit 40. The communication unit 40 may perform wireless communication with the communication unit 14 provided in the vehicle 10. The database 38 may store new version software (update software) for updating software (old version software, current software) installed in the electronic control device 16. The server 22 is also provided with components other than these components, but the description thereof will be omitted here.

通信部14は、ネットワーク25を介して、サーバ22に備えられた通信部40との間で無線通信を行い得る。ネットワーク25としては、例えば、インターネット等が挙げられるがこれに限定されるものではない。通信部14は、セルラー方式で通信を行い得る通信部であってもよいし、無線LAN通信を行い得る通信部であってもよい。通信部14は、ネットワーク25を介してサーバ22から供給される新版ソフトウェアを受信し得る。 The communication unit 14 may perform wireless communication with the communication unit 40 provided in the server 22 via the network 25. Examples of the network 25 include, but are not limited to, the Internet and the like. The communication unit 14 may be a communication unit capable of performing communication in a cellular manner, or may be a communication unit capable of performing wireless LAN communication. The communication unit 14 may receive the new version software supplied from the server 22 via the network 25.

ソフトウェア更新装置12には、演算部24と、記憶部26とが備えられている。演算部24は、ソフトウェア更新装置12の全体の制御を司る。演算部24は、例えばCPU(Central Processing Unit)によって構成されている。演算部24は、記憶部26に記憶されているプログラムに基づいて各部を制御することによって、ソフトウェア(ファームウェア)の更新制御を実行する。記憶部26には、不図示の揮発性メモリと、不図示の不揮発性メモリとが備えられている。サーバ22からダウンロードされる新版ソフトウェアは、記憶部26に一時的に記憶され得る。 The software update device 12 includes a calculation unit 24 and a storage unit 26. The arithmetic unit 24 controls the entire software update device 12. The calculation unit 24 is composed of, for example, a CPU (Central Processing Unit). The arithmetic unit 24 executes software (firmware) update control by controlling each unit based on the program stored in the storage unit 26. The storage unit 26 includes a volatile memory (not shown) and a non-volatile memory (not shown). The new version software downloaded from the server 22 may be temporarily stored in the storage unit 26.

演算部24には、取得部28と、更新制御部30と、時間余裕判定部32と、消費電力量判定部33と、電力量判定部34と、更新可否判定部35と、起動予定時刻判定部36とが備えられている。取得部28、更新制御部30、時間余裕判定部32、消費電力量判定部33、電力量判定部34、更新可否判定部35及び起動予定時刻判定部36は、記憶部26に記憶されているプログラムが演算部24によって実行されることによって実現され得る。 The calculation unit 24 includes an acquisition unit 28, an update control unit 30, a time margin determination unit 32, a power consumption determination unit 33, a power consumption determination unit 34, an update possibility determination unit 35, and a scheduled start time determination. A section 36 is provided. The acquisition unit 28, the update control unit 30, the time margin determination unit 32, the power consumption determination unit 33, the power amount determination unit 34, the update possibility determination unit 35, and the scheduled start time determination unit 36 are stored in the storage unit 26. It can be realized by executing the program by the arithmetic unit 24.

取得部28は、ネットワーク25を介してサーバ22から供給される新版ソフトウェア(ソフトウェア)を取得する。より具体的には、取得部28は、通信部14によって受信された新版ソフトウェアを取得する。 The acquisition unit 28 acquires the new version software (software) supplied from the server 22 via the network 25. More specifically, the acquisition unit 28 acquires the new version software received by the communication unit 14.

更新制御部30は、取得部28によって取得される新版ソフトウェアを用いて、車両10に搭載された複数の電子制御装置16の各々に対してソフトウェアの更新、即ち、ソフトウェア更新を行う。 The update control unit 30 updates the software, that is, updates the software for each of the plurality of electronic control devices 16 mounted on the vehicle 10 by using the new version software acquired by the acquisition unit 28.

ここでは、第1の電子制御装置(電子制御装置)16Aに、第1の旧版ソフトウェア(第1の現行ソフトウェア)がインストールされている場合を例に説明する。また、ここでは、第2の電子制御装置(電子制御装置)16Bに、第2の旧版ソフトウェア(第2の現行ソフトウェア)がインストールされている場合を例に説明する。また、ここでは、第1の電子制御装置16Aにインストールされている第1の旧版ソフトウェアが、サーバ22から供給される第1の新版ソフトウェアによって更新される場合を例に説明する。また、ここでは、第2の電子制御装置16Bにインストールされている第2の旧版ソフトウェアが、サーバ22から供給される第2の新版ソフトウェアによって更新される場合を例に説明する。 Here, a case where the first old version software (first current software) is installed in the first electronic control device (electronic control device) 16A will be described as an example. Further, here, a case where the second old version software (second current software) is installed in the second electronic control device (electronic control device) 16B will be described as an example. Further, here, a case where the first old version software installed in the first electronic control device 16A is updated by the first new version software supplied from the server 22 will be described as an example. Further, here, a case where the second old version software installed in the second electronic control device 16B is updated by the second new version software supplied from the server 22 will be described as an example.

第1の電子制御装置16Aに備えられている不図示の不揮発性メモリの記憶容量は、比較的大きい。図2Aは、第1の電子制御装置16Aに備えられている不揮発性メモリの構成の例を概念的に示す図である。第1の電子制御装置16Aには、不揮発性のメモリチップが複数備えられている。ここでは、不揮発性のメモリチップが2つ備えられている場合、即ち、第1のメモリチップと第2のメモリチップとが備えられている場合を例に説明する。第1のメモリチップは、例えば、不図示の基板の一方の面に搭載されている。第2のメモリチップは、例えば、基板の他方の面に搭載されている。第1のメモリチップは、第1のバンク(第1のメモリバンク、第1の格納箇所)50Aを構成している。第2のメモリチップは、第2のバンク(第2のメモリバンク、第2の格納箇所)50Bを構成している。このような構成は、ダブルバンクと称される。第1の電子制御装置16Aにおいては、例えば、第1のバンク50Aに第1の旧版ソフトウェアがインストールされている状態において、第2のバンク50Bに第1の新版ソフトウェアをインストールすることが可能である。即ち、第2のバンク50Bは、第1の新版ソフトウェアをインストールする際のバッファとして機能し得る。換言すれば、第2のバンク50Bは、第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域(インストール可能領域)として機能し得る。なお、ここでは、複数のメモリチップが第1の電子制御装置16Aに備えられている場合を例に説明したが、これに限定されるものではない。大容量の1つのメモリチップが第1の電子制御装置16Aに備えられているようにしてもよい。そして、第1のバンク50Aと第2のバンク50Bとが大容量の1つのメモリチップに備えられているようにしてもよい。 The storage capacity of the non-volatile memory (not shown) provided in the first electronic control device 16A is relatively large. FIG. 2A is a diagram conceptually showing an example of the configuration of the non-volatile memory provided in the first electronic control device 16A. The first electronic control device 16A is provided with a plurality of non-volatile memory chips. Here, a case where two non-volatile memory chips are provided, that is, a case where a first memory chip and a second memory chip are provided will be described as an example. The first memory chip is mounted on, for example, one surface of a substrate (not shown). The second memory chip is mounted on the other side of the substrate, for example. The first memory chip constitutes a first bank (first memory bank, first storage location) 50A. The second memory chip constitutes a second bank (second memory bank, second storage location) 50B. Such a configuration is called a double bank. In the first electronic control device 16A, for example, it is possible to install the first new version software in the second bank 50B while the first old version software is installed in the first bank 50A. .. That is, the second bank 50B can function as a buffer when installing the first new version software. In other words, the second bank 50B can function as a storable area (installable area) in which the first new version software can be installed in the background. Here, a case where a plurality of memory chips are provided in the first electronic control device 16A has been described as an example, but the present invention is not limited to this. One large-capacity memory chip may be provided in the first electronic control device 16A. Then, the first bank 50A and the second bank 50B may be provided in one large-capacity memory chip.

第1の電子制御装置16Aは、例えば、表示制御機能が備えられた電子制御装置であるが、これに限定されるものではない。より具体的には、第1の電子制御装置16Aは、例えば、車載インフォテイメント(IVI:In-Vehicle Infotainment)用のECU、メータ表示部用のECU等であるが、これに限定されるものではない。 The first electronic control device 16A is, for example, an electronic control device provided with a display control function, but is not limited thereto. More specifically, the first electronic control unit 16A is, for example, an ECU for in-vehicle infotainment (IVI: In-Vehicle Information), an ECU for a meter display unit, and the like, but is not limited thereto. do not have.

第2の電子制御装置16Bに備えられている不図示の不揮発性メモリの容量は、比較的小さい。図2Bは、第2の電子制御装置16Bに備えられている不揮発性メモリの構成の例を概念的に示す図である。第2の電子制御装置16Bには、不揮発性のメモリチップが例えば1つだけ備えられている。1つのメモリチップによって、バンク52が構成されている。第2の電子制御装置16Bには、バンク52が1つのみ備えられている。このような構成は、シングルバンクと称される。第2の電子制御装置16Bにおいては、メモリチップに第2の旧版ソフトウェアがインストールされている状態において、当該メモリチップに第2の新版ソフトウェアをインストールし得ない。このように、第2の電子制御装置16Bには、第2の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられていない。 The capacity of the non-volatile memory (not shown) provided in the second electronic control device 16B is relatively small. FIG. 2B is a diagram conceptually showing an example of the configuration of the non-volatile memory provided in the second electronic control device 16B. The second electronic control device 16B is provided with, for example, only one non-volatile memory chip. The bank 52 is composed of one memory chip. The second electronic control device 16B is provided with only one bank 52. Such a configuration is referred to as a single bank. In the second electronic control device 16B, the second new version software cannot be installed in the memory chip while the second old version software is installed in the memory chip. As described above, the second electronic control device 16B does not have a storable area in which the second new version software can be installed in the background.

上述したように、第1の電子制御装置16Aには、第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域、即ち、第2のバンク50Bが備えられている。このため、第1の電子制御装置16Aに対しては、車両10の走行中であっても第1の新版ソフトウェアのインストールが行われ得る。 As described above, the first electronic control unit 16A is provided with a storable area in which the first new version software can be installed in the background, that is, a second bank 50B. Therefore, the first new version software can be installed on the first electronic control device 16A even while the vehicle 10 is running.

上述したように、第2の電子制御装置16Bには、第2の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられていない。このため、第2の電子制御装置16Bに対しては、車両10の走行中には第2の新版ソフトウェアのインストールが行われ得ない。従って、更新制御部30は、第2の電子制御装置16Bに対する第2の新版ソフトウェアのインストールを、車両10が停止している際に実行する。換言すれば、更新制御部30は、第2の電子制御装置16Bに対する第2の新版ソフトウェアのインストールを、車両10の主電源がオフになっている際、即ち、イグニッションスイッチ18がオフになっている際に実行する。イグニッションスイッチ18がオフになっていても、ソフトウェア更新装置12、通信部14、電子制御装置16等に対する電力の供給は、バッテリ20等から適宜行われ得る。 As mentioned above, the second electronic control unit 16B does not have a storable area in which the second new version software can be installed in the background. Therefore, the second new version software cannot be installed on the second electronic control device 16B while the vehicle 10 is running. Therefore, the update control unit 30 executes the installation of the second new version software on the second electronic control device 16B when the vehicle 10 is stopped. In other words, the update control unit 30 installs the second new version software on the second electronic control device 16B when the main power of the vehicle 10 is turned off, that is, when the ignition switch 18 is turned off. Run when you are. Even if the ignition switch 18 is turned off, power can be appropriately supplied from the battery 20 or the like to the software update device 12, the communication unit 14, the electronic control device 16, and the like.

上述したように、第1の電子制御装置16Aに対しては、車両10の走行中であっても第1の新版ソフトウェアのインストールが行われ得る。ユーザが車両10を使用し得なくなる時間を短縮する観点からは、車両10の走行中に第1の新版ソフトウェアのインストールを行い得る第1の電子制御装置16Aに対しては、以下のようにすることが好ましい。即ち、第1の電子制御装置16Aに対する第1の新版ソフトウェアのインストールを、車両10の走行中に実行しておくことが好ましい。更新制御部30は、第1の電子制御装置16Aに対する第1の新版ソフトウェアのインストールを、例えば、車両10の走行中に実行する。例えば、第1のバンク50Aに第1の旧版ソフトウェアがインストールされている場合、第2のバンク50Bに第1の新版ソフトウェアがインストールされ得る。このように、更新制御部30は、第1の旧版ソフトウェアと第1の新版ソフトウェアとを第1の電子制御装置16Aに併存させるように、第1の電子制御装置16Aに対するソフトウェアの更新を行う。第1の電子制御装置16Aにインストールされる第1の新版ソフトウェアのアクティベーションは、車両10の走行中には行われない。なお、車両10が停止している際に、第1の電子制御装置16Aに対する第1の新版ソフトウェアのインストールが実行されるようにしてもよい。なお、アクティベーションとは、電子制御装置等の初回起動時又は初期化後に、当該電子制御装置等に備えられた機能を実行可能とすることである。 As described above, the first new version software can be installed on the first electronic control device 16A even while the vehicle 10 is running. From the viewpoint of shortening the time when the user cannot use the vehicle 10, the following is applied to the first electronic control device 16A which can install the first new version software while the vehicle 10 is running. Is preferable. That is, it is preferable to install the first new version software on the first electronic control device 16A while the vehicle 10 is running. The update control unit 30 executes the installation of the first new version software on the first electronic control device 16A, for example, while the vehicle 10 is running. For example, if the first old version software is installed in the first bank 50A, the first new version software may be installed in the second bank 50B. In this way, the update control unit 30 updates the software for the first electronic control device 16A so that the first old version software and the first new version software coexist in the first electronic control device 16A. The activation of the first new version software installed in the first electronic control device 16A is not performed while the vehicle 10 is running. It should be noted that the installation of the first new version software to the first electronic control device 16A may be executed when the vehicle 10 is stopped. Note that activation means enabling the functions provided in the electronic control device or the like to be executed at the time of initial activation or after the initialization of the electronic control device or the like.

更新制御部30は、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションを、車両10が停止している際に実行する。換言すれば、更新制御部30は、第1の電子制御装置16Aにインストールされている第1の新版ソフトウェアのアクティベーションを、車両10の主電源がオフになっている際、即ち、イグニッションスイッチ18がオフになっている際に実行する。 The update control unit 30 activates the first new version software installed in the first electronic control device 16A when the vehicle 10 is stopped. In other words, the update control unit 30 activates the first new version software installed in the first electronic control device 16A when the main power of the vehicle 10 is turned off, that is, the ignition switch 18. Executes when is turned off.

更新制御部30は、第1の新版ソフトウェアがインストールされた第1の電子制御装置16Aが、以下のように動作し得るように、第1の電子制御装置16Aに対するソフトウェアの更新を行い得る。即ち、更新制御部30は、第1の電子制御装置16Aが、第1の新版ソフトウェアの動作ロジック(ソースコード、プログラムコード、プログラムコードロジック)と、第1の旧版ソフトウェアの動作ロジックとを選択的に実行し得るように、ソフトウェアの更新を行う。 The update control unit 30 may update the software for the first electronic control device 16A so that the first electronic control device 16A in which the first new version software is installed can operate as follows. That is, in the update control unit 30, the first electronic control device 16A selectively selects the operation logic (source code, program code, program code logic) of the first new version software and the operation logic of the first old version software. Update the software so that it can be executed.

上述したように、第1のバンク50Aには、第1の旧版ソフトウェアがインストールされている。このような状態において、第2のバンク50Bに第1の新版ソフトウェアがインストールされる。第1のバンク50Aに第1の旧版ソフトウェアがインストールされている状態で、第2のバンク50Bに第1の新版ソフトウェアがインストールされるため、第1の電子制御装置16Aは、以下のように動作し得る。即ち、第1の電子制御装置16Aは、更新前のソフトウェアである第1の旧版ソフトウェアの動作ロジックと、更新後のソフトウェアである第1の新版ソフトウェアの動作ロジックとを選択的に実行し得る。なお、第1の新版ソフトウェアが、第1の新版ソフトウェアの動作ロジックのみならず、第1の旧版ソフトウェアの動作ロジックをも実現し得てもよい。 As described above, the first old version software is installed in the first bank 50A. In such a state, the first new version software is installed in the second bank 50B. Since the first new version software is installed in the second bank 50B while the first old version software is installed in the first bank 50A, the first electronic control device 16A operates as follows. Can be done. That is, the first electronic control device 16A can selectively execute the operation logic of the first old version software which is the software before the update and the operation logic of the first new version software which is the software after the update. The first new version software may realize not only the operation logic of the first new version software but also the operation logic of the first old version software.

第2の電子制御装置16Bに対するソフトウェアの更新が正常に完了した場合、更新制御部30は、第1の新版ソフトウェアの動作ロジックの実行を第1の電子制御装置16Aに開始させる。第1の新版ソフトウェアの動作ロジックの実行を第1の電子制御装置16Aに開始させることにより、第1の旧版ソフトウェアの動作ロジックでは実現し得なかった機能の実行が可能となる。 When the software update to the second electronic control device 16B is completed normally, the update control unit 30 causes the first electronic control device 16A to start the execution of the operation logic of the first new version software. By causing the first electronic control device 16A to execute the operation logic of the first new version software, it is possible to execute a function that could not be realized by the operation logic of the first old version software.

更新制御部30は、第2の電子制御装置16Bに対する新版ソフトウェアのインストールが正常に完了しない場合、ロールバック処理を行う。即ち、第2の電子制御装置16Bに対する新版ソフトウェアのインストールが正常に完了しない場合、更新制御部30は、第2の電子制御装置16Bのソフトウェアを更新前の状態に戻す処理を行う。この場合、更新制御部30は、第1の旧版ソフトウェアの動作ロジックを第1の電子制御装置16Aに実行させる。この場合、更新制御部30は、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションを実行しないようにしてもよい。 The update control unit 30 performs a rollback process when the installation of the new version software on the second electronic control device 16B is not completed normally. That is, when the installation of the new version software on the second electronic control device 16B is not completed normally, the update control unit 30 performs a process of returning the software of the second electronic control device 16B to the state before the update. In this case, the update control unit 30 causes the first electronic control device 16A to execute the operation logic of the first old version software. In this case, the update control unit 30 may not execute the activation of the first new version software installed in the first electronic control device 16A.

更新制御部30は、第2の電子制御装置16Bにインストールされた新版ソフトウェアのアクティベーションが正常に完了しない場合、第2の電子制御装置16Bに対してロールバック処理を行う。即ち、第2の電子制御装置16Bに対する新版ソフトウェアのアクティベーションが正常に完了しない場合、更新制御部30は、第2の電子制御装置16Bのソフトウェアを更新前の状態に戻す処理を行う。この場合、更新制御部30は、第1の旧版ソフトウェアの動作ロジックを第1の電子制御装置16Aに実行させる。この場合、更新制御部30は、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションを実行しないようにしてもよい。 If the activation of the new version software installed in the second electronic control device 16B is not normally completed, the update control unit 30 performs a rollback process for the second electronic control device 16B. That is, when the activation of the new version software for the second electronic control device 16B is not completed normally, the update control unit 30 performs a process of returning the software of the second electronic control device 16B to the state before the update. In this case, the update control unit 30 causes the first electronic control device 16A to execute the operation logic of the first old version software. In this case, the update control unit 30 may not execute the activation of the first new version software installed in the first electronic control device 16A.

このように、本実施形態では、第1の新版ソフトウェアの動作ロジックと、第1の旧版ソフトウェアの動作ロジックとを第1の電子制御装置16Aが選択的に実行することが可能となるように、ソフトウェアの更新が行われる。本実施形態によれば、新版ソフトウェアがインストールされた第1の電子制御装置16Aと、第2の新版ソフトウェアがインストールされた第2の電子制御装置16Bとが良好に協調動作し得ない場合、以下のようにすることができる。即ち、このような場合、更新制御部30は、第2の電子制御装置16Bのソフトウェアを更新前の状態に戻し、第1の電子制御装置16Aに第1の旧版ソフトウェアの動作ロジックを実行させる。このようにすることにより、本実施形態によれば、第1の新版ソフトウェアが第1の電子制御装置16Aにインストールされているにもかかわらず、第1の電子制御装置16Aと第2の電子制御装置16Bとを協調動作させることができる。 As described above, in the present embodiment, the operation logic of the first new version software and the operation logic of the first old version software can be selectively executed by the first electronic control device 16A. The software will be updated. According to the present embodiment, when the first electronic control device 16A in which the new version software is installed and the second electronic control device 16B in which the second new version software is installed cannot cooperate well, the following Can be done like this. That is, in such a case, the update control unit 30 returns the software of the second electronic control device 16B to the state before the update, and causes the first electronic control device 16A to execute the operation logic of the first old version software. By doing so, according to the present embodiment, the first electronic control device 16A and the second electronic control device 16A and the second electronic control device 16A even though the first new version software is installed in the first electronic control device 16A. The device 16B and the device 16B can be operated in cooperation with each other.

時間余裕判定部32は、新版ソフトウェアのインストールのリトライ処理(再試行処理)を実行する時間的な余裕があるか否かを判定し得る。時間余裕判定部32は、リトライ処理を実行する時間的な余裕があるか否かを、現在の時刻と、リトライ処理に要する時間と、車両10が起動される予定の時刻とに基づいて判定し得る。なお、車両10が起動される予定の時刻、即ち、車両10の起動予定時刻は、起動予定時刻判定部36によって判定され得る。 The time margin determination unit 32 can determine whether or not there is time to execute the retry process (retry process) for installing the new version software. The time margin determination unit 32 determines whether or not there is time to execute the retry processing based on the current time, the time required for the retry processing, and the time when the vehicle 10 is scheduled to be started. obtain. The scheduled start time of the vehicle 10, that is, the scheduled start time of the vehicle 10 can be determined by the scheduled start time determination unit 36.

更新制御部30は、電子制御装置16に対する新版ソフトウェアのインストールが正常に完了せず、且つ、時間に余裕があると時間余裕判定部32が判定した場合、以下のような処理を行う。即ち、更新制御部30は、このような場合、電子制御装置16に対する新版ソフトウェアのインストールのリトライ処理を行う。 When the update control unit 30 does not normally complete the installation of the new version software on the electronic control device 16 and the time allowance determination unit 32 determines that there is time to spare, the update control unit 30 performs the following processing. That is, in such a case, the update control unit 30 performs a retry process for installing the new version software on the electronic control device 16.

消費電力量判定部33は、ソフトウェアの更新が行われる際における車両10の消費電力と、電子制御装置16に対するソフトウェアの更新に要する時間とに基づいて、電子制御装置に対するソフトウェアの更新が行われる際における消費電力量を判定する。ソフトウェアの更新の際における第1の電子制御装置16Aの消費電力と、第1の電子制御装置16Aに対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新の際における第1の電子制御装置16Aの消費電力量が判定される。ソフトウェアの更新の際における第2の電子制御装置16Bの消費電力と、第2の電子制御装置16Bに対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新の際における第2の電子制御装置16Bの消費電力量が判定される。ソフトウェアの更新の際における第1の電子制御装置16Aの消費電力量を、第1の消費電力量とする。ソフトウェアの更新の際における第2の電子制御装置16Bの消費電力量を、第2の消費電力量とする。電子制御装置16A、16Bに対するソフトウェアの更新において消費される電力量は、第1の消費電力量と、第2の消費電力量と、これらの電子制御装置16A、16B以外の構成要素における消費電力量との和である。電子制御装置16A、16B以外の構成要素としては、例えば、ソフトウェア更新装置12、通信部14等が挙げられ得る。このように、電子制御装置16A、16Bに対するソフトウェアの更新において消費される電力量は、第1の消費電力量と、第2の消費電力量とに基づいて算出され得る。ソフトウェアの更新が行われる際における電子制御装置16の消費電力に関する情報は、ネットワーク25を介して外部機器、即ち、サーバ22から供給され得る。ソフトウェアの更新が行われる際における車両10の消費電力に関する情報が、ネットワーク25を介して外部機器、即ち、サーバ22から供給されるようにしてもよい。また、電子制御装置16に対するソフトウェアの更新に要する時間に関する情報は、ネットワーク25を介してサーバ22から供給され得る。なお、ここでは、消費電力量判定部33がソフトウェア更新装置12に備えられている場合を例に説明するが、これに限定されるものではない。消費電力量判定部33は、ソフトウェア更新装置12と別個に車両10に備えられた電子制御装置16に備えられていてもよい。 The power consumption determination unit 33 updates the software for the electronic control device based on the power consumption of the vehicle 10 when the software is updated and the time required for updating the software for the electronic control device 16. To determine the amount of power consumption in. Based on the power consumption of the first electronic control device 16A when updating the software and the time required to update the software for the first electronic control device 16A, the first electronic control device 16A when updating the software. Power consumption is determined. Based on the power consumption of the second electronic control device 16B when updating the software and the time required to update the software for the second electronic control device 16B, the second electronic control device 16B when updating the software. Power consumption is determined. The power consumption of the first electronic control device 16A at the time of updating the software is defined as the first power consumption. The power consumption of the second electronic control device 16B at the time of updating the software is defined as the second power consumption. The electric energy consumed in updating the software for the electronic control devices 16A and 16B is the first power consumption amount, the second power consumption amount, and the power consumption amount in the components other than these electronic control devices 16A and 16B. Is the sum of. Examples of the components other than the electronic control devices 16A and 16B include a software update device 12, a communication unit 14, and the like. As described above, the amount of power consumed in updating the software for the electronic control devices 16A and 16B can be calculated based on the first power consumption amount and the second power consumption amount. Information regarding the power consumption of the electronic control device 16 when the software is updated may be supplied from an external device, that is, a server 22 via the network 25. Information on the power consumption of the vehicle 10 when the software is updated may be supplied from an external device, that is, a server 22 via the network 25. Further, information regarding the time required to update the software for the electronic control device 16 may be supplied from the server 22 via the network 25. Here, a case where the power consumption determination unit 33 is provided in the software update device 12 will be described as an example, but the present invention is not limited to this. The power consumption determination unit 33 may be provided in the electronic control device 16 provided in the vehicle 10 separately from the software update device 12.

バッテリ20には、不図示の電圧センサ、不図示の温度センサ、及び、不図示の電流センサが備えられている。バッテリ20に備えられたこれらのセンサからそれぞれ出力される信号は、ソフトウェア更新装置12に供給される。電力量判定部(バッテリ残量判定部)34は、バッテリ20から供給されるこれらの信号に基づいて、バッテリ20の充電状態(SOC:State Of Charge)を判定する。即ち、電力量判定部34は、バッテリ20に存在している電力量、即ち、バッテリ残量を判定する。電力量判定部34は、これらの信号のみならず、バッテリ20の劣化状態にも基づいて、バッテリ20に存在している電力量を判定し得る。なお、ここでは、電力量判定部34がソフトウェア更新装置12に備えられている場合を例に説明するが、これに限定されるものではない。電力量判定部34は、ソフトウェア更新装置12と別個に車両10に備えられた電子制御装置16に備えられていてもよい。 The battery 20 includes a voltage sensor (not shown), a temperature sensor (not shown), and a current sensor (not shown). The signals output from each of these sensors provided in the battery 20 are supplied to the software updater 12. The electric energy determination unit (battery remaining amount determination unit) 34 determines the charge state (SOC: State Of Charge) of the battery 20 based on these signals supplied from the battery 20. That is, the electric energy determination unit 34 determines the electric energy existing in the battery 20, that is, the remaining battery level. The electric energy determination unit 34 can determine the electric energy existing in the battery 20 based not only on these signals but also on the deterioration state of the battery 20. Here, the case where the electric energy determination unit 34 is provided in the software update device 12 will be described as an example, but the present invention is not limited to this. The electric energy determination unit 34 may be provided in the electronic control device 16 provided in the vehicle 10 separately from the software update device 12.

更新可否判定部35は、消費電力量判定部33によって判定された消費電力量と、車両10に備えられたバッテリ20に存在している電力量とに基づいて、電子制御装置16に対するソフトウェアの更新の可否を判定する。更新可否判定部35は、消費電力量判定部33によって判定された消費電力量を、バッテリ20に存在している電力量から減じることにより得られる値が閾値以上である場合、電子制御装置16に対するソフトウェアの更新が可能であると判定する。閾値は、例えば、車両10の再起動に要する電力量に基づいて設定され得るが、これに限定されるものでない。更新可否判定部35は、バッテリ20が認定品でない場合、電子制御装置16に対するソフトウェアの更新の可否を、電力量判定部34によって判定された電力量に基づいて判定しない。バッテリ20が認定品でない場合には、バッテリ20に存在している電力量を必ずしも正確に判定し得ないためである。なお、ここでは、更新可否判定部35がソフトウェア更新装置12に備えられている場合を例に説明するが、これに限定されるものではない。更新可否判定部35は、ソフトウェア更新装置12と別個に車両10に備えられた電子制御装置16に備えられていてもよい。 The update possibility determination unit 35 updates the software for the electronic control device 16 based on the power consumption determined by the power consumption determination unit 33 and the electric energy existing in the battery 20 provided in the vehicle 10. Judge whether or not. The updateability determination unit 35 refers to the electronic control device 16 when the value obtained by subtracting the power consumption amount determined by the power consumption amount determination unit 33 from the power amount existing in the battery 20 is equal to or greater than the threshold value. Judge that the software can be updated. The threshold can be set, for example, based on, but is not limited to, the amount of power required to restart the vehicle 10. If the battery 20 is not a certified product, the updateability determination unit 35 does not determine whether or not the software can be updated for the electronic control device 16 based on the electric energy determined by the electric energy determination unit 34. This is because if the battery 20 is not a certified product, the amount of electric power existing in the battery 20 cannot always be accurately determined. Here, a case where the update possibility determination unit 35 is provided in the software update device 12 will be described as an example, but the present invention is not limited to this. The updateability determination unit 35 may be provided in the electronic control device 16 provided in the vehicle 10 separately from the software update device 12.

更新制御部30は、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが正常に完了した場合、第1の電子制御装置16Aに対してシャットダウンの処理を行う。更新制御部30は、第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが正常に完了した場合、第2の電子制御装置16Bに対してシャットダウンの処理を行う。 When the activation of the first new version software installed in the first electronic control device 16A is normally completed, the update control unit 30 performs a shutdown process for the first electronic control device 16A. When the activation of the second new version software installed in the second electronic control device 16B is normally completed, the update control unit 30 performs a shutdown process for the second electronic control device 16B.

起動予定時刻判定部36は、車両10が停止するごとに、即ち、車両10の主電源がオフになる毎に、以下のような情報を記憶部26に記憶しておく。即ち、起動予定時刻判定部36は、車両10が停止された日付、車両10が停止された曜日、車両10の停止が開始された時刻、停止していた車両10が起動された時刻、車両10が停止した場所等を記憶部26に記憶しておく。起動予定時刻判定部36は、これらの情報に基づいて、停止している車両10の起動予定時刻を判定する。起動予定時刻判定部36は、例えば、現在の車両10の位置と、現在の時刻等とに基づいて、現在停止している車両10の起動予定時刻を判定する。車両10には、例えば、不図示のGNSS(Global Navigation Satellite System、全地球航法衛星システム)センサが備えられている。起動予定時刻判定部36は、GNSSセンサから供給される情報に基づいて、現在の車両10の位置を検出し得る。例えば、車両10の現在の位置が自宅の敷地内であり、且つ、現在の時刻が例えば21時である場合、起動予定時刻判定部36は、翌朝の例えば7時に車両10が起動されると判定し得る。なお、人工知能(AI:Artificial Intelligence)技術を用いて起動予定時刻判定部36を実現するようにしてもよい。 The scheduled start time determination unit 36 stores the following information in the storage unit 26 every time the vehicle 10 stops, that is, every time the main power of the vehicle 10 is turned off. That is, the scheduled start time determination unit 36 determines the date when the vehicle 10 is stopped, the day when the vehicle 10 is stopped, the time when the stop of the vehicle 10 is started, the time when the stopped vehicle 10 is started, and the vehicle 10. The place where the vehicle has stopped is stored in the storage unit 26. The scheduled start time determination unit 36 determines the scheduled start time of the stopped vehicle 10 based on this information. The scheduled start time determination unit 36 determines, for example, the scheduled start time of the currently stopped vehicle 10 based on the current position of the vehicle 10 and the current time. The vehicle 10 is equipped with, for example, a GNSS (Global Navigation Satellite System) sensor (not shown). The scheduled start time determination unit 36 can detect the current position of the vehicle 10 based on the information supplied from the GNSS sensor. For example, if the current position of the vehicle 10 is within the premises of the home and the current time is, for example, 21:00, the scheduled start time determination unit 36 determines that the vehicle 10 will be started at, for example, 7 o'clock the next morning. Can be. The scheduled start time determination unit 36 may be realized by using artificial intelligence (AI: Artificial Intelligence) technology.

更新制御部30は、起動予定時刻判定部36によって判定された起動予定時刻より前に複数の電子制御装置16に対するソフトウェアの更新が完了すると見込まれる場合、複数の電子制御装置16に対するソフトウェアの更新を開始する。より具体的には、更新制御部30は、起動予定時刻に対して所定時間だけ前の時刻までに、複数の電子制御装置16に対するソフトウェアの更新が完了すると見込まれる場合、複数の電子制御装置16に対するソフトウェアの更新を開始する。なお、電子制御装置16に対するソフトウェアの更新には、電子制御装置16への新版ソフトウェアのインストールと、電子制御装置16にインストールされた新版ソフトウェアのアクティベーションとが含まれる。 When the update control unit 30 is expected to complete the software update for the plurality of electronic control devices 16 before the scheduled start time determined by the scheduled start time determination unit 36, the update control unit 30 updates the software for the plurality of electronic control devices 16. Start. More specifically, when the update control unit 30 is expected to complete the software update to the plurality of electronic control devices 16 by a predetermined time before the scheduled start time, the update control unit 30 has the plurality of electronic control devices 16. Start updating software for. The software update for the electronic control device 16 includes the installation of the new version software on the electronic control device 16 and the activation of the new version software installed on the electronic control device 16.

表示部21は、ソフトウェアの更新等に関する表示画面が表示され得る。表示部21は、例えばタッチパネルであるが、これに限定されるものではない。ユーザは、例えばタッチパネルを操作することにより、ソフトウェア更新装置12に対して操作入力を行い得る。例えば、ソフトウェアの更新に同意する意思表示を、ユーザは、タッチパネルを操作することによって行い得る。更新制御部30は、電子制御装置16に対するソフトウェアの更新を行う際、表示部21における画面表示を一時的に中断させ得る。表示部21における画面表示を中断させることにより、バッテリ20における電力量不足に対処し得る。 The display unit 21 may display a display screen related to software updates and the like. The display unit 21 is, for example, a touch panel, but is not limited thereto. The user can input an operation to the software update device 12 by operating the touch panel, for example. For example, the user may display the intention to consent to the software update by operating the touch panel. The update control unit 30 may temporarily interrupt the screen display on the display unit 21 when updating the software for the electronic control device 16. By interrupting the screen display on the display unit 21, it is possible to deal with the shortage of electric power in the battery 20.

図3は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。 FIG. 3 is a flowchart showing an example of the operation of the software update device according to the present embodiment.

ステップS1において、消費電力量判定部33は、ソフトウェアの更新が行われる際における車両10の消費電力と、電子制御装置16に対するソフトウェアの更新に要する時間とに基づいて、以下のような判定を行う。即ち、消費電力量判定部33は、これらに基づいて、電子制御装置16に対するソフトウェアの更新が行われる際における消費電力量を判定する。上述したように、ソフトウェアの更新が行われる際における電子制御装置16の消費電力に関する情報は、例えば、ネットワーク25を介して外部機器、即ち、サーバ22から供給され得る。また、上述したように、ソフトウェアの更新が行われる際における車両10の消費電力に関する情報が、例えば、ネットワーク25を介して外部機器、即ち、サーバ22から供給されるようにしてもよい。また、上述したように、電子制御装置16に対するソフトウェアの更新に要する時間に関する情報は、例えば、ネットワーク25を介してサーバ22から供給され得る。なお、消費電力量判定部33は、ソフトウェアの更新が正常に完了しない場合に行われ得るロールバック処理に要する消費電力量に更に基づいて、電子制御装置16に対するソフトウェアの更新が行われる際における消費電力量を判定するようにしてもよい。また、消費電力量判定部33は、新版ソフトウェアのインストールのリトライ処理に要する消費電力量に更に基づいて、電子制御装置16に対するソフトウェアの更新が行われる際における消費電力量を判定するようにしてもよい。 In step S1, the power consumption determination unit 33 makes the following determination based on the power consumption of the vehicle 10 when the software is updated and the time required to update the software for the electronic control device 16. .. That is, the power consumption determination unit 33 determines the power consumption when the software for the electronic control device 16 is updated based on these. As described above, the information regarding the power consumption of the electronic control device 16 when the software is updated can be supplied from an external device, that is, a server 22 via, for example, the network 25. Further, as described above, information on the power consumption of the vehicle 10 when the software is updated may be supplied from an external device, that is, a server 22 via, for example, the network 25. Further, as described above, the information regarding the time required for updating the software for the electronic control device 16 may be supplied from the server 22 via, for example, the network 25. The power consumption determination unit 33 consumes when the software is updated to the electronic control device 16 based on the power consumption required for the rollback process that may be performed when the software update is not normally completed. The amount of power may be determined. Further, the power consumption determination unit 33 may determine the power consumption when the software is updated to the electronic control device 16 based on the power consumption required for the retry process of installing the new version software. good.

ステップS2において、更新可否判定部35は、消費電力量判定部33によって判定された消費電力量と、車両10に備えられたバッテリ20に存在している電力量とに基づいて、電子制御装置16に対するソフトウェアの更新の可否を判定する。上述したように、更新可否判定部35は、消費電力量判定部33によって判定された消費電力量を、バッテリ20に存在している電力量から減じることにより得られる値が閾値以上である場合、以下のように判定する。即ち、更新可否判定部35は、このような場合、電子制御装置16に対するソフトウェアの更新が可能であると判定する。更新可否判定部35が電子制御装置16に対するソフトウェアの更新が可能であると判定した場合(ステップS2においてYES)、ステップS3に遷移する。更新可否判定部35が電子制御装置16に対するソフトウェアの更新が不可能であると判定した場合(ステップS2においてNO)、図3に示す処理が完了する。 In step S2, the updateability determination unit 35 is an electronic control device 16 based on the power consumption determined by the power consumption determination unit 33 and the electric energy existing in the battery 20 provided in the vehicle 10. Determines whether the software can be updated for. As described above, when the value obtained by subtracting the power consumption determined by the power consumption determination unit 33 from the power amount existing in the battery 20 is equal to or greater than the threshold value, the updateability determination unit 35 may be used. Judgment is as follows. That is, the update possibility determination unit 35 determines that the software for the electronic control device 16 can be updated in such a case. When the update possibility determination unit 35 determines that the software can be updated to the electronic control device 16 (YES in step S2), the process proceeds to step S3. When the update possibility determination unit 35 determines that the software cannot be updated to the electronic control device 16 (NO in step S2), the process shown in FIG. 3 is completed.

ステップS3において、更新制御部30は、ソフトウェアの更新を行うことに同意するか否かをユーザに問うための表示画面を、表示部21に表示する。ステップS3は、車両10の主電源がオンの状態で実行される。ユーザは、例えば、表示部21に備えられたタッチパネルを操作することによって、ソフトウェアの更新に同意するか否かの意思表示を行い得る。ソフトウェアの更新にユーザが同意した場合(ステップS3においてYES)、ステップS4に遷移する。ソフトウェアの更新にユーザが同意しない場合(ステップS3においてNO)、図3に示す処理が完了する。 In step S3, the update control unit 30 displays on the display unit 21 a display screen for asking the user whether or not he / she agrees to update the software. Step S3 is executed with the main power of the vehicle 10 turned on. The user can indicate whether or not he / she agrees to update the software by operating the touch panel provided on the display unit 21, for example. If the user agrees to update the software (YES in step S3), the process proceeds to step S4. If the user does not agree to update the software (NO in step S3), the process shown in FIG. 3 is completed.

ステップS4において、更新制御部30は、第1の電子制御装置16Aに第1の新版ソフトウェアをバックグラウンドでインストールする。この後、ステップS5に遷移する。 In step S4, the update control unit 30 installs the first new version software in the first electronic control device 16A in the background. After that, the process proceeds to step S5.

ステップS5において、更新制御部30は、車両10の主電源がオフになったか否かを判定する。即ち、更新制御部30は、イグニッションスイッチ18がオフになったか否かを判定する。車両10の主電源がオフになった場合(ステップS5においてYES)、ステップS6に遷移する。車両10の主電源がオンである場合(ステップS5においてNO)、ステップS5が繰り返される。 In step S5, the update control unit 30 determines whether or not the main power of the vehicle 10 has been turned off. That is, the update control unit 30 determines whether or not the ignition switch 18 is turned off. When the main power of the vehicle 10 is turned off (YES in step S5), the process proceeds to step S6. When the main power of the vehicle 10 is on (NO in step S5), step S5 is repeated.

ステップS6において、更新制御部30は、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションを行う。この後、ステップS7に遷移する。 In step S6, the update control unit 30 activates the first new version software installed in the first electronic control device 16A. After that, the process proceeds to step S7.

ステップS7において、更新制御部30は、第2の電子制御装置16Bに第2の新版ソフトウェアをインストールする。この後、ステップS8に遷移する。 In step S7, the update control unit 30 installs the second new version software in the second electronic control device 16B. After that, the process proceeds to step S8.

ステップS8において、更新制御部30は、第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションを行う。こうして、図3に示す処理が完了する。 In step S8, the update control unit 30 activates the second new version software installed in the second electronic control device 16B. In this way, the process shown in FIG. 3 is completed.

図4は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図4に示す処理は、図3に示す処理が完了した後に実行され得る。 FIG. 4 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 4 may be executed after the process shown in FIG. 3 is completed.

ステップS11において、更新制御部30は、車両10の主電源がオンになったか否かを判定する。車両10の主電源がオンになった場合(ステップS11においてYES)、ステップS12に遷移する。車両10の主電源がオフである場合(ステップS11においてNO)、ステップS11が繰り返される。 In step S11, the update control unit 30 determines whether or not the main power of the vehicle 10 is turned on. When the main power of the vehicle 10 is turned on (YES in step S11), the process proceeds to step S12. When the main power of the vehicle 10 is off (NO in step S11), step S11 is repeated.

ステップS12において、更新制御部30は、第1の電子制御装置16Aと第2の電子制御装置16Bとに協調動作を開始させる。第1の電子制御装置16Aは、第1の新版ソフトウェアの動作ロジックを実行し、第2の電子制御装置16Bは、第2の新版ソフトウェアの動作ロジックを実行する。こうして、図4に示す処理が完了する。 In step S12, the update control unit 30 causes the first electronic control device 16A and the second electronic control device 16B to start a cooperative operation. The first electronic control device 16A executes the operation logic of the first new version software, and the second electronic control device 16B executes the operation logic of the second new version software. In this way, the process shown in FIG. 4 is completed.

図5は、本実施形態によるソフトウェア更新装置の動作の例を示すタイミングチャートである。図5は、図3におけるステップS4~S8に対応している。 FIG. 5 is a timing chart showing an example of the operation of the software update device according to the present embodiment. FIG. 5 corresponds to steps S4 to S8 in FIG.

図5に示すように、タイミングt1において、第1の電子制御装置16Aへの第1の新版ソフトウェアのインストールが開始される。タイミングt1において、イグニッションスイッチ18はオンになっており、車両10は走行中である。このように、イグニッションスイッチ18がオンになっている状態において、第1の新版ソフトウェアのインストールが第1の電子制御装置16Aに対して行われる。即ち、車両10が走行している際に、第1の新版ソフトウェアのインストールが第1の電子制御装置16Aに対して行われる。この際、第2の電子制御装置16Bに対しては、第2の新版ソフトウェアのインストールは行われない。 As shown in FIG. 5, at the timing t1, the installation of the first new version software on the first electronic control device 16A is started. At the timing t1, the ignition switch 18 is turned on and the vehicle 10 is running. In this way, with the ignition switch 18 turned on, the first new version software is installed on the first electronic control device 16A. That is, when the vehicle 10 is traveling, the first new version software is installed on the first electronic control device 16A. At this time, the second new version software is not installed on the second electronic control device 16B.

タイミングt2において、イグニッションスイッチ18がオフとなる。即ち、タイミングt2において、車両10が停止中となる。イグニッションスイッチ18がオフになると、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが開始される。 At the timing t2, the ignition switch 18 is turned off. That is, at the timing t2, the vehicle 10 is stopped. When the ignition switch 18 is turned off, the activation of the first new version software installed in the first electronic control device 16A is started.

タイミングt3において、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが完了する。第1の電子制御装置16Aには第1の新版ソフトウェアがインストールされているが、第1の電子制御装置16Aは、依然として、第1の旧版ソフトウェアの動作ロジックを実行し得る(仮NEW)。第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが正常に完了すると、更新制御部30は、第1の電子制御装置16Aに対してシャットダウンの処理を行う。また、第1の電子制御装置16Aにインストールされた第1の新版ソフトウェアのアクティベーションが正常に完了すると、第2の電子制御装置16Bへの第2の新版ソフトウェアのインストールが開始される。 At timing t3, the activation of the first new version software installed in the first electronic control device 16A is completed. Although the first new version software is installed in the first electronic control device 16A, the first electronic control device 16A can still execute the operation logic of the first old version software (provisional NEW). When the activation of the first new version software installed in the first electronic control device 16A is normally completed, the update control unit 30 performs a shutdown process for the first electronic control device 16A. Further, when the activation of the first new version software installed in the first electronic control device 16A is normally completed, the installation of the second new version software in the second electronic control device 16B is started.

タイミングt4において、第2の電子制御装置16Bへの第2の新版ソフトウェアのインストールが完了する。第2の電子制御装置16Bへの第2の新版ソフトウェアのインストールが完了すると、第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが開始される。 At timing t4, the installation of the second new version software on the second electronic control unit 16B is completed. When the installation of the second new version software on the second electronic control device 16B is completed, the activation of the second new version software installed on the second electronic control device 16B is started.

タイミングt5において、第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが完了する。第2の電子制御装置16Bにインストールされた第2の新版ソフトウェアのアクティベーションが正常に完了すると、更新制御部30は、第2の電子制御装置16Bに対してシャットダウンの処理を行う。 At timing t5, the activation of the second new version software installed in the second electronic control device 16B is completed. When the activation of the second new version software installed in the second electronic control device 16B is normally completed, the update control unit 30 performs a shutdown process for the second electronic control device 16B.

タイミングt6において、イグニッションスイッチ18がオンになる。タイミングt6以降においては、第1の電子制御装置16Aは、第1の新版ソフトウェアの動作ロジックを実行する(NEW)。また、タイミングt6以降においては、第2の電子制御装置16Bは第2の新版ソフトウェアに基づいて動作する(NEW)。タイミングt6以降において、第1の電子制御装置16Aが第1の新版ソフトウェアの動作ロジックを実行するため、第1の電子制御装置16Aと第2の電子制御装置16Bとは協調動作を行い得る。第1の新版ソフトウェアの動作ロジックの実行を第1の電子制御装置16Aに開始させることにより、第1の旧版ソフトウェアの動作ロジックでは実現し得なかった機能の実行が可能となる。例えば、タイミングt6より前においては、第1の旧版ソフトウェアの動作ロジックが実行される。このため、第1の新版ソフトウェアによって新たに実行可能となる所定の機能をユーザが選択するための画面は、タイミングt6より前においては、表示部21に表示されない。タイミングt6以降においては、第1の新版ソフトウェアによって新たに実行可能となった所定の機能をユーザが選択するための画面が、表示部21に表示され得る。 At the timing t6, the ignition switch 18 is turned on. After the timing t6, the first electronic control device 16A executes the operation logic of the first new version software (NEW). Further, after the timing t6, the second electronic control device 16B operates based on the second new version software (NEW). Since the first electronic control device 16A executes the operation logic of the first new version software after the timing t6, the first electronic control device 16A and the second electronic control device 16B can perform a cooperative operation. By causing the first electronic control device 16A to execute the operation logic of the first new version software, it is possible to execute a function that could not be realized by the operation logic of the first old version software. For example, before the timing t6, the operation logic of the first old version software is executed. Therefore, the screen for the user to select a predetermined function newly executed by the first new version software is not displayed on the display unit 21 before the timing t6. After the timing t6, a screen for the user to select a predetermined function newly executed by the first new version software may be displayed on the display unit 21.

図6は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図6に示す処理は、ソフトウェアの更新が行われた後に実行され得る。 FIG. 6 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 6 may be executed after the software has been updated.

ステップS21において、更新制御部30は、ソフトウェアの更新が正常に完了したか否かを判定する。ソフトウェアの更新が正常に完了した場合(ステップS21においてYES)、図6に示す処理が完了する。一方、ソフトウェアの更新が正常に完了しない場合(ステップS21においてNO)、ステップS22に遷移する。 In step S21, the update control unit 30 determines whether or not the software update has been completed normally. When the software update is completed normally (YES in step S21), the process shown in FIG. 6 is completed. On the other hand, if the software update is not completed normally (NO in step S21), the process proceeds to step S22.

ステップS22において、更新制御部30は、ソフトウェアを更新前の状態に戻す。例えば、第2の新版ソフトウェアによるソフトウェアの更新が第2の電子制御装置16Bにおいて正常に行われなかった場合、第2の電子制御装置16Bのソフトウェアを更新前の状態に戻す。こうして、図6に示す処理が完了する。 In step S22, the update control unit 30 returns the software to the state before the update. For example, if the software update by the second new version software is not normally performed in the second electronic control device 16B, the software of the second electronic control device 16B is returned to the state before the update. In this way, the process shown in FIG. 6 is completed.

図7は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図7に示す処理は、ソフトウェアの更新が行われた後に実行され得る。 FIG. 7 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 7 may be executed after the software has been updated.

ステップS31において、更新制御部30は、ソフトウェアの更新が正常に完了したか否かを判定する。ソフトウェアの更新が正常に完了した場合(ステップS31においてYES)、図7に示す処理が完了する。一方、ソフトウェアの更新が正常に完了しない場合(ステップS31においてNO)、ステップS32に遷移する。 In step S31, the update control unit 30 determines whether or not the software update has been completed normally. When the software update is completed normally (YES in step S31), the process shown in FIG. 7 is completed. On the other hand, if the software update is not completed normally (NO in step S31), the process proceeds to step S32.

ステップS32において、時間余裕判定部32は、新版ソフトウェアのインストールのリトライ処理を実行する時間的な余裕があるか否かを判定する。新版ソフトウェアのインストールのリトライ処理を実行する時間的な余裕がある場合(ステップS32においてYES)、ステップS33に遷移する。新版ソフトウェアのインストールのリトライ処理を実行する時間的な余裕がない場合(ステップS32においてNO)、図7に示す処理が完了する。 In step S32, the time margin determination unit 32 determines whether or not there is time margin to execute the retry process for installing the new version software. If there is time to execute the retry process for installing the new version software (YES in step S32), the process proceeds to step S33. If there is not enough time to execute the retry process for installing the new version software (NO in step S32), the process shown in FIG. 7 is completed.

ステップS33において、更新制御部30は、新版ソフトウェアのインストールのリトライ処理を実行する。こうして、図7に示す処理が完了する。 In step S33, the update control unit 30 executes a retry process for installing the new version software. In this way, the process shown in FIG. 7 is completed.

図8は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図8に示す処理は、第1の電子制御装置16Aに対する第1の新版ソフトウェアのアクティベーションが完了した後に実行され得る。 FIG. 8 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 8 may be performed after the activation of the first new version software for the first electronic control unit 16A is completed.

ステップS41において、第1の電子制御装置16Aに対する第1の新版ソフトウェアのアクティベーションが正常に完了したか否かを判定する。第1の電子制御装置16Aに対する第1の新版ソフトウェアのアクティベーションが正常に完了した場合(ステップS41においてYES)、ステップS42に遷移する。第1の電子制御装置16Aに対する第1の新版ソフトウェアのアクティベーションが正常に完了しない場合(ステップS41においてNO)、図8に示す処理が完了する。 In step S41, it is determined whether or not the activation of the first new version software for the first electronic control device 16A is normally completed. When the activation of the first new version software for the first electronic control device 16A is normally completed (YES in step S41), the process proceeds to step S42. When the activation of the first new version software for the first electronic control device 16A is not completed normally (NO in step S41), the process shown in FIG. 8 is completed.

ステップS42において、更新制御部30は、第1の電子制御装置16Aに対してシャットダウンの処理を行う。こうして、図8に示す処理が完了する。 In step S42, the update control unit 30 performs a shutdown process for the first electronic control device 16A. In this way, the process shown in FIG. 8 is completed.

図9は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図9に示す処理は、第2の電子制御装置16Bに対するアクティベーションが完了した後に実行され得る。 FIG. 9 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 9 may be executed after the activation for the second electronic control device 16B is completed.

ステップS51において、第2の電子制御装置16Bに対する第2の新版ソフトウェアのアクティベーションが正常に完了したか否かを判定する。第2の電子制御装置16Bに対する第2の新版ソフトウェアのアクティベーションが正常に完了した場合(ステップS51においてYES)、ステップS52に遷移する。第2の電子制御装置16Bに対する第2の新版ソフトウェアのアクティベーションが正常に完了しない場合(ステップS51においてNO)、図9に示す処理が完了する。 In step S51, it is determined whether or not the activation of the second new version software for the second electronic control device 16B is normally completed. When the activation of the second new version software for the second electronic control device 16B is normally completed (YES in step S51), the process proceeds to step S52. When the activation of the second new version software for the second electronic control device 16B is not completed normally (NO in step S51), the process shown in FIG. 9 is completed.

ステップS52において、更新制御部30は、第2の電子制御装置16Bに対してシャットダウンの処理を行う。こうして、図9に示す処理が完了する。 In step S52, the update control unit 30 performs a shutdown process for the second electronic control device 16B. In this way, the process shown in FIG. 9 is completed.

図10は、本実施形態によるソフトウェア更新装置の動作の例を示すフローチャートである。図10に示す処理は、例えば、電子制御装置16に対するソフトウェアのインストールが開始される前に実行され得る。 FIG. 10 is a flowchart showing an example of the operation of the software update device according to the present embodiment. The process shown in FIG. 10 may be executed, for example, before the software installation on the electronic control unit 16 is started.

ステップS61において、更新制御部30は、車両10の起動予定時刻までにソフトウェアの更新が完了するか否かを判定する。車両10の起動予定時刻までにソフトウェアの更新が完了すると見込まれる場合(ステップS61においてYES)、ステップS62に遷移する。車両10の起動予定時刻までにソフトウェアの更新が完了しないと見込まれる場合(ステップS61においてNO)、図10に示す処理が完了する。 In step S61, the update control unit 30 determines whether or not the software update is completed by the scheduled start time of the vehicle 10. If the software update is expected to be completed by the scheduled start time of the vehicle 10 (YES in step S61), the process proceeds to step S62. When it is expected that the software update is not completed by the scheduled start time of the vehicle 10 (NO in step S61), the process shown in FIG. 10 is completed.

ステップS62において、更新制御部30は、電子制御装置16に対する第2の新版ソフトウェアのインストールを開始する。こうして、図10に示す処理が完了する。 In step S62, the update control unit 30 starts installing the second new version software on the electronic control device 16. In this way, the process shown in FIG. 10 is completed.

このように、本実施形態によれば、ソフトウェアの更新が行われる際における車両10の消費電力と、電子制御装置16に対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新が行われる際における消費電力量が判定される。そして、ソフトウェアの更新が行われる際における消費電力量と、車両10に備えられたバッテリ20に存在している電力量とに基づいて、ソフトウェアの更新の可否が判定される。従って、本実施形態によれば、ソフトウェアの更新の可否を高精度に判定することができる。このため、本実施形態によれば、ソフトウェアの更新の実行率を増加させることが可能となる。 As described above, according to the present embodiment, when the software is updated based on the power consumption of the vehicle 10 when the software is updated and the time required for updating the software for the electronic control device 16. The amount of power consumption is determined. Then, it is determined whether or not the software can be updated based on the amount of power consumed when the software is updated and the amount of power existing in the battery 20 provided in the vehicle 10. Therefore, according to the present embodiment, it is possible to determine with high accuracy whether or not the software can be updated. Therefore, according to the present embodiment, it is possible to increase the execution rate of software update.

本発明についての好適な実施形態を上述したが、本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の改変が可能である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the gist of the present invention.

上記実施形態をまとめると以下のようになる。 The above embodiments can be summarized as follows.

ソフトウェア更新装置(12)は、ネットワーク(25)を介して供給される新版ソフトウェアを取得する取得部(28)と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両(10)に搭載された電子制御装置(16A、16B)に対してソフトウェア更新を行う更新制御部(30)と、前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部(33)と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリ(20)に存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部(35)とを備え、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する。このような構成によれば、ソフトウェアの更新が行われる際における車両の消費電力と、電子制御装置に対するソフトウェアの更新に要する時間とに基づいて、ソフトウェアの更新が行われる際における消費電力量が判定される。そして、ソフトウェアの更新が行われる際における消費電力量と、バッテリに存在している電力量とに基づいて、ソフトウェアの更新の可否が判定される。このような構成によれば、ソフトウェアの更新が行われる際における消費電力量と、バッテリに存在している電力量との差を高精度に判定し得るため、ソフトウェアの更新の可否を判定する際に、十分なマージンを考慮することを要しない。このため、このような構成によれば、ソフトウェアの更新の実行率を増加させることが可能となる。 The software update device (12) is mounted on the vehicle (10) by using the acquisition unit (28) for acquiring the new version software supplied via the network (25) and the new version software acquired by the acquisition unit. The update control unit (30) that updates software to the electronic control devices (16A, 16B), the power consumption of the vehicle when the software update is performed, and the software update to the electronic control device are required. A power consumption determination unit (33) for determining the power consumption when the software update for the electronic control device is performed based on time, and the power consumption determined by the power consumption determination unit. The update control unit is provided with an update possibility determination unit (35) for determining whether or not the software can be updated for the electronic control device based on the amount of power existing in the battery (20) provided in the vehicle. The unit executes the software update for the electronic control device when the update possibility determination unit determines that the software update for the electronic control device is possible. According to such a configuration, the power consumption when the software is updated is determined based on the power consumption of the vehicle when the software is updated and the time required for updating the software for the electronic control device. Will be done. Then, it is determined whether or not the software can be updated based on the amount of power consumed when the software is updated and the amount of power existing in the battery. According to such a configuration, the difference between the power consumption when the software is updated and the power amount existing in the battery can be determined with high accuracy, and therefore, when determining whether or not the software can be updated. In addition, it is not necessary to consider a sufficient margin. Therefore, according to such a configuration, it is possible to increase the execution rate of software update.

前記更新制御部は、前記車両に備えられていてもよい。 The update control unit may be provided in the vehicle.

前記ソフトウェア更新が行われる際における前記車両の前記消費電力に関する情報と、前記電子制御装置に対する前記ソフトウェア更新に要する時間に関する情報とのうちの少なくともいずれかは、前記ネットワークを介して外部機器(22)から供給されるようにしてもよい。 At least one of the information regarding the power consumption of the vehicle when the software update is performed and the information regarding the time required for the software update for the electronic control device is an external device (22) via the network. It may be supplied from.

複数の前記電子制御装置のうちの第1の電子制御装置(16A)には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域(50B)が備えられており、前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置(16B)に対する第2の新版ソフトウェアのインストールに先立って行い、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させるようにしてもよい。このような構成によれば、第2の電子制御装置に対するソフトウェアの更新が正常に完了した後に、第1の新版ソフトウェアの動作ロジックの実行が開始される。このため、このような構成によれば、ソフトウェアの更新の失敗によって車両の動作に不具合が生じるのを防止することができる。 The first electronic control device (16A) among the plurality of electronic control devices has a background of the first new version software for updating the first old version software installed in the first electronic control device. A storable area (50B) that can be installed in the software is provided, and the update control unit installs the first new version software in the storable area of the first electronic control device. The software update to the second electronic control device is performed prior to the installation of the second new version software to the second electronic control device (16B) that cooperates with the electronic control device, and the software update to the second electronic control device is completed normally. The first electronic control device may be made to start the execution of the operation logic of the new version software of 1. According to such a configuration, the execution of the operation logic of the first new version software is started after the software update to the second electronic control device is normally completed. Therefore, according to such a configuration, it is possible to prevent the operation of the vehicle from malfunctioning due to the failure of the software update.

時間に余裕があるか否かを判定する時間余裕判定部(32)を更に有し、前記電子制御装置に対する前記新版ソフトウェアのインストールが正常に完了せず、且つ、時間に余裕があると前記時間余裕判定部が判定した場合、前記更新制御部は、前記電子制御装置に対する前記新版ソフトウェアのインストールのリトライ処理を実行するようにしてもよい。このような構成によれば、第2の電子制御装置に対する第2の新版ソフトウェアのインストールが正常に行い得なかった場合であっても、リトライ処理によって、第2の電子制御装置に第2の新版ソフトウェアをインストールすることが可能となる。 Further, it has a time allowance determination unit (32) for determining whether or not there is time allowance, and if the installation of the new version software on the electronic control device is not normally completed and there is time allowance, the time is said. When the margin determination unit determines, the update control unit may execute the retry process of installing the new version software on the electronic control device. According to such a configuration, even if the installation of the second new version software on the second electronic control device cannot be performed normally, the second new version is installed on the second electronic control device by the retry process. It will be possible to install the software.

前記電子制御装置に対する前記新版ソフトウェアのインストール、又は、前記電子制御装置にインストールされた前記新版ソフトウェアのアクティベーションが正常に完了しない場合、前記更新制御部は、前記電子制御装置に対してロールバック処理を実行するようにしてもよい。このような構成によれば、第2の電子制御装置に対する第2の新版ソフトウェアのインストール又はアクティベーションを正常に行い得ない場合に、第2の電子制御装置のソフトウェアを更新前の状態に戻すことができる。 If the installation of the new version software on the electronic control device or the activation of the new version software installed on the electronic control device is not completed normally, the update control unit performs rollback processing on the electronic control device. May be executed. According to such a configuration, if the installation or activation of the second new version software on the second electronic control device cannot be performed normally, the software of the second electronic control device is returned to the state before the update. Can be done.

前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新を実行する際、前記車両に備えられた表示部(21)における画面表示を一時的に中断するようにしてもよい。このような構成によれば、バッテリに存在している電力が必ずしも十分に大きくない場合であっても、ソフトウェアの更新を実行することが可能となる。 The update control unit may temporarily suspend the screen display on the display unit (21) provided in the vehicle when executing the software update to the electronic control device. With such a configuration, it is possible to execute software updates even when the power existing in the battery is not necessarily large enough.

前記電子制御装置に対する前記ソフトウェア更新が正常に完了した場合、前記更新制御部は、前記電子制御装置に対してシャットダウンの処理を実行するようにしてもよい。このような構成によれば、無駄な電力消費を防止することができる。 When the software update to the electronic control device is completed normally, the update control unit may execute the shutdown process for the electronic control device. With such a configuration, wasteful power consumption can be prevented.

複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記更新制御部は、前記第1の電子制御装置に対する前記第1の新版ソフトウェアのインストールを、前記車両の走行中に実行するようにしてもよい。このような構成によれば、バッテリに存在している電力が必ずしも十分に大きくない場合であっても、ソフトウェアの更新を実行することが可能となる。 In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. The storable area to be obtained is provided, and the update control unit may execute the installation of the first new version software on the first electronic control device while the vehicle is running. With such a configuration, it is possible to execute software updates even when the power existing in the battery is not necessarily large enough.

複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記更新制御部は、前記ソフトウェア更新が行われた後の前記第1の電子制御装置が、前記第1の新版ソフトウェアの動作ロジックと、前記第1の旧版ソフトウェアの動作ロジックとを選択的に実行することが可能となるように、前記第1の電子制御装置に対する前記ソフトウェア更新を実行するようにしてもよい。このような構成によれば、第1の新版ソフトウェアの動作ロジックと、第1の旧版ソフトウェアの動作ロジックとを第1の電子制御装置が選択的に実行することが可能となるように、ソフトウェアの更新が行われる。このような構成によれば、第1の新版ソフトウェアがインストールされた第1の電子制御装置と、第2の新版ソフトウェアがインストールされた第2の電子制御装置とが良好に協調動作し得ない場合、以下のようにすることができる。即ち、このような場合、更新制御部は、第2の電子制御装置のソフトウェアを更新前の状態に戻し、第1の電子制御装置に第1の旧版ソフトウェアの動作ロジックを実行させる。このようにすることにより、このような構成によれば、第1の新版ソフトウェアが第1の電子制御装置にインストールされているにもかかわらず、第1の電子制御装置とソフトウェアが更新前の状態に戻された第2の電子制御装置とを協調動作させることができる。 In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. A storable area is provided, and in the update control unit, the first electronic control device after the software update has the operation logic of the first new version software and the first old version. The software update to the first electronic control device may be executed so that the operation logic of the software can be selectively executed. According to such a configuration, the software can selectively execute the operation logic of the first new version software and the operation logic of the first old version software by the first electronic control device. The update will be done. According to such a configuration, when the first electronic control device in which the first new version software is installed and the second electronic control device in which the second new version software is installed cannot cooperate well. , Can be done as follows. That is, in such a case, the update control unit returns the software of the second electronic control device to the state before the update, and causes the first electronic control device to execute the operation logic of the first old version software. By doing so, according to such a configuration, the first electronic control device and the software are in the state before the update even though the first new version software is installed in the first electronic control device. It is possible to cooperate with the second electronic control device returned to.

複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させると、前記第1の旧版ソフトウェアの動作ロジックでは実現し得なかった機能の実行が可能となる。 In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. A storable area is provided, and when the execution of the operation logic of the first new version software is started by the first electronic control device, a function that cannot be realized by the operation logic of the first old version software is provided. Can be executed.

前記車両が起動される予定の時刻である起動予定時刻を判定する起動予定時刻判定部(36)を更に有し、前記更新制御部は、前記起動予定時刻判定部によって判定された前記起動予定時刻までに前記電子制御装置に対する前記ソフトウェア更新が完了すると見込まれる場合に、前記電子制御装置に対する前記ソフトウェア更新を開始するようにしてもよい。このような構成によれば、車両の起動予定時刻までにソフトウェアの更新を完了し得ない場合には、第2の電子制御装置に対するソフトウェアの更新が開始されない。このため、ユーザが車両を使用し得ない事態が生じるのを防止することができる。 The update control unit further includes a scheduled start time determination unit (36) for determining the scheduled start time, which is the scheduled time for the vehicle to be started, and the update control unit is the scheduled start time determined by the scheduled start time determination unit. If it is expected that the software update for the electronic control device will be completed by then, the software update for the electronic control device may be started. According to such a configuration, if the software update cannot be completed by the scheduled start time of the vehicle, the software update to the second electronic control device is not started. Therefore, it is possible to prevent the user from being unable to use the vehicle.

前記第1の電子制御装置は、表示制御機能を有する電子制御装置であってもよい。表示制御機能を有する電子制御装置には、大容量のメモリチップが備えられている。 The first electronic control device may be an electronic control device having a display control function. The electronic control device having a display control function is provided with a large-capacity memory chip.

前記第1の電子制御装置は、車載インフォテイメント用の電子制御装置であってもよい。車載インフォテイメント用の電子制御装置には、大容量のメモリチップが備えられている。 The first electronic control device may be an electronic control device for in-vehicle infotainment. The electronic control device for in-vehicle infotainment is equipped with a large-capacity memory chip.

前記バッテリに存在している前記電力量を判定する電力量判定部(34)を更に有するようにしてもよい。 The electric energy determination unit (34) for determining the electric energy existing in the battery may be further provided.

前記電力量判定部は、前記バッテリの劣化状態に基づいて、前記バッテリに存在している前記電力量を判定するようにしてもよい。このような構成によれば、ソフトウェアの更新の可否をより良好に判定することができる。 The electric energy determination unit may determine the electric energy existing in the battery based on the deterioration state of the battery. With such a configuration, it is possible to better determine whether or not the software can be updated.

前記バッテリが認定品でない場合、前記更新可否判定部は、前記電子制御装置に対する前記ソフトウェア更新の可否を、前記電力量判定部によって判定された前記電力量に基づいて判定しないようにしてもよい。このような構成によれば、ソフトウェアの更新を行い得ないにもかかわらず、ソフトウェアの更新を行い得ると更新可否判定部が判定されてしまうのを防止することができる。 When the battery is not a certified product, the updateability determination unit may not determine whether or not the software update for the electronic control device is possible based on the electric energy amount determined by the electric energy determination unit. According to such a configuration, it is possible to prevent the update possibility determination unit from being determined if the software can be updated even though the software cannot be updated.

ソフトウェア更新装置は、ネットワークを介して供給される新版ソフトウェアを取得する取得部と、前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を実行する更新制御部と、前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、前記更新可否判定部は、前記消費電力量判定部によって判定された前記消費電力量を、前記バッテリに存在している前記電力量から減じることにより得られる値が閾値以上である場合、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定し、前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する。このような構成によれば、ソフトウェアの更新が行われる際における消費電力量と、バッテリに存在している電力量との差を高精度に判定し得るため、ソフトウェアの更新の可否を判定する際に、十分なマージンを考慮することを要しない。このため、このような構成によれば、ソフトウェアの更新の実行率を増加させることが可能となる。 The software update device executes software update to the electronic control device mounted on the vehicle by using the acquisition unit that acquires the new version software supplied via the network and the new version software acquired by the acquisition unit. When the software update is performed for the electronic control device based on the update control unit, the power consumption of the vehicle when the software update is performed, and the time required for the software update for the electronic control device. The electronic energy based on the electric energy determination unit for determining the electric energy consumption, the electric energy consumption determined by the electric energy consumption determination unit, and the electric energy existing in the battery provided in the vehicle. The updateability determination unit for determining whether or not the software can be updated for the control device is provided, and the updateability determination unit uses the power consumption amount determined by the power consumption amount determination unit in the battery. When the value obtained by subtracting from the electric energy is equal to or greater than the threshold value, it is determined that the software update to the electronic control device is possible, and the update control unit can update the software to the electronic control device. When the update possibility determination unit determines, the software update to the electronic control device is executed. According to such a configuration, the difference between the power consumption when the software is updated and the power amount existing in the battery can be determined with high accuracy, and therefore, when determining whether or not the software can be updated. In addition, it is not necessary to consider a sufficient margin. Therefore, according to such a configuration, it is possible to increase the execution rate of software update.

車両(10)は、上記のようなソフトウェア更新装置を備える。 The vehicle (10) is provided with a software update device as described above.

ソフトウェア更新方法は、ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、前記ソフトウェア更新を実行する際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップ(S1)と、前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップ(S2)とを有する。 The software update method is a software update method for executing software update to an electronic control device provided in a vehicle by using a new version software supplied via a network, and is the software update method when executing the software update. A step (S1) of determining the electric energy consumption when the software update for the electronic control device is performed based on the power consumption of the vehicle and the time required for the software update for the electronic control device, and the power consumption. A step (S2) of determining whether or not the software can be updated to the electronic control device based on the power consumption determined in the step of determining the amount and the electric energy existing in the battery provided in the vehicle. ) And.

10…車両 11…ソフトウェア更新システム
12…ソフトウェア更新装置 14、40…通信部
16A、16B…電子制御装置 18…イグニッションスイッチ
20…バッテリ 21…表示部
22…サーバ 24…演算部
25…ネットワーク 26…記憶部
28…取得部 30…更新制御部
32…時間余裕判定部 33…消費電力量判定部
34…電力量判定部 35…更新可否判定部
36…起動予定時刻判定部 38…データベース
50A…第1のバンク 50B…第2のバンク
52…バンク
10 ... Vehicle 11 ... Software update system 12 ... Software update device 14, 40 ... Communication unit 16A, 16B ... Electronic control device 18 ... Ignition switch 20 ... Battery 21 ... Display unit 22 ... Server 24 ... Calculation unit 25 ... Network 26 ... Storage Unit 28 ... Acquisition unit 30 ... Update control unit 32 ... Time margin determination unit 33 ... Power consumption determination unit 34 ... Electric energy determination unit 35 ... Update availability determination unit 36 ... Scheduled start time determination unit 38 ... Database 50A ... First Bank 50B ... Second bank 52 ... Bank

Claims (20)

ネットワークを介して供給される新版ソフトウェアを取得する取得部と、
前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を行う更新制御部と、
前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、
前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する、ソフトウェア更新装置。
The acquisition department that acquires the new version software supplied via the network,
An update control unit that updates software to an electronic control device mounted on a vehicle using the new version software acquired by the acquisition unit.
Based on the power consumption of the vehicle when the software update is performed and the time required for the software update for the electronic control device, the power consumption when the software update for the electronic control device is performed is determined. Power consumption determination unit and
Whether or not the software can be updated for the electronic control device based on the amount of power consumption determined by the power consumption determination unit and the amount of power existing in the battery provided in the vehicle. Equipped with a judgment unit
The update control unit is a software update device that executes the software update to the electronic control device when the update possibility determination unit determines that the software update to the electronic control device is possible.
請求項1に記載のソフトウェア更新装置において、
前記更新制御部は、前記車両に備えられている、ソフトウェア更新装置。
In the software update device according to claim 1,
The update control unit is a software update device provided in the vehicle.
請求項1又は2記載のソフトウェア更新装置において、
前記ソフトウェア更新が行われる際における前記車両の前記消費電力に関する情報と、前記電子制御装置に対する前記ソフトウェア更新に要する時間に関する情報とのうちの少なくともいずれかは、前記ネットワークを介して外部機器から供給される、ソフトウェア更新装置。
In the software update device according to claim 1 or 2.
At least one of the information regarding the power consumption of the vehicle when the software update is performed and the information regarding the time required for the software update for the electronic control device is supplied from an external device via the network. Software updater.
請求項1~3のいずれか1項に記載のソフトウェア更新装置において、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記更新制御部は、前記第1の電子制御装置の前記格納可能領域への前記第1の新版ソフトウェアのインストールを、前記第1の電子制御装置と協調動作する第2の電子制御装置に対する第2の新版ソフトウェアのインストールに先立って行い、前記第2の電子制御装置に対する前記ソフトウェア更新が正常に完了した場合に、前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させる、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 3.
In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. It has a storable area to get and
The update control unit installs the first new version software in the storable area of the first electronic control device with respect to the second electronic control device that cooperates with the first electronic control device. Prior to the installation of the new version software of the above, when the software update to the second electronic control device is normally completed, the execution of the operation logic of the first new version software is started in the first electronic control device. Software updater to let you.
請求項1~4のいずれか1項に記載のソフトウェア更新装置において、
時間に余裕があるか否かを判定する時間余裕判定部を更に有し、
前記電子制御装置に対する前記新版ソフトウェアのインストールが正常に完了せず、且つ、時間に余裕があると前記時間余裕判定部が判定した場合、前記更新制御部は、前記電子制御装置に対する前記新版ソフトウェアのインストールのリトライ処理を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 4.
It also has a time allowance determination unit that determines whether or not there is time allowance.
When the installation of the new version software on the electronic control device is not completed normally and the time margin determination unit determines that there is time margin, the update control unit determines that the new version software on the electronic control device has a margin. A software updater that performs an installation retry process.
請求項1~5のいずれか1項に記載のソフトウェア更新装置において、
前記電子制御装置に対する前記新版ソフトウェアのインストール、又は、前記電子制御装置にインストールされた前記新版ソフトウェアのアクティベーションが正常に完了しない場合、前記更新制御部は、前記電子制御装置に対してロールバック処理を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 5.
If the installation of the new version software on the electronic control device or the activation of the new version software installed on the electronic control device is not completed normally, the update control unit performs rollback processing on the electronic control device. A software updater that runs.
請求項1~6のいずれか1項に記載のソフトウェア更新装置において、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新を実行する際、前記車両に備えられた表示部における画面表示を一時的に中断する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 6.
The update control unit is a software update device that temporarily interrupts screen display on a display unit provided in the vehicle when executing the software update to the electronic control device.
請求項1~7のいずれか1項に記載のソフトウェア更新装置において、
前記電子制御装置に対する前記ソフトウェア更新が正常に完了した場合、前記更新制御部は、前記電子制御装置に対してシャットダウンの処理を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 7.
When the software update to the electronic control device is completed normally, the update control unit executes a shutdown process for the electronic control device.
請求項1~3のいずれか1項に記載のソフトウェア更新装置において、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記更新制御部は、前記第1の電子制御装置に対する前記第1の新版ソフトウェアのインストールを、前記車両の走行中に実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 3.
In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. It has a storable area to get and
The update control unit is a software update device that executes installation of the first new version software on the first electronic control device while the vehicle is running.
請求項1~3のいずれか1項に記載のソフトウェア更新装置において、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記更新制御部は、前記ソフトウェア更新が行われた後の前記第1の電子制御装置が、前記第1の新版ソフトウェアの動作ロジックと、前記第1の旧版ソフトウェアの動作ロジックとを選択的に実行することが可能となるように、前記第1の電子制御装置に対する前記ソフトウェア更新を実行する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 3.
In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. It has a storable area to get and
In the update control unit, the first electronic control device after the software update selectively executes the operation logic of the first new version software and the operation logic of the first old version software. A software update device that performs the software update to the first electronic control device so that it can be done.
請求項1~3のいずれか1項に記載のソフトウェア更新装置において、
複数の前記電子制御装置のうちの第1の電子制御装置には、前記第1の電子制御装置にインストールされた第1の旧版ソフトウェアを更新するための第1の新版ソフトウェアがバックグラウンドでインストールされ得る格納可能領域が備えられており、
前記第1の新版ソフトウェアの動作ロジックの実行を前記第1の電子制御装置に開始させると、前記第1の旧版ソフトウェアの動作ロジックでは実現し得なかった機能の実行が可能となる、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 3.
In the first electronic control device among the plurality of the electronic control devices, the first new version software for updating the first old version software installed in the first electronic control device is installed in the background. It has a storable area to get and
When the first electronic control device is started to execute the operation logic of the first new version software, the software update device can execute a function that could not be realized by the operation logic of the first old version software. ..
請求項1~11のいずれか1項に記載のソフトウェア更新装置において、
前記車両が起動される予定の時刻である起動予定時刻を判定する起動予定時刻判定部を更に有し、
前記更新制御部は、前記起動予定時刻判定部によって判定された前記起動予定時刻までに前記電子制御装置に対する前記ソフトウェア更新が完了すると見込まれる場合に、前記電子制御装置に対する前記ソフトウェア更新を開始する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 11.
Further, it has a scheduled start time determination unit for determining the scheduled start time, which is the scheduled time for the vehicle to be started.
The update control unit starts the software update for the electronic control device when it is expected that the software update for the electronic control device will be completed by the scheduled start time determined by the scheduled start time determination unit. Software updater.
請求項4、9、10又は11に記載のソフトウェア更新装置において、
前記第1の電子制御装置は、表示制御機能を有する電子制御装置である、ソフトウェア更新装置。
In the software update device according to claim 4, 9, 10 or 11.
The first electronic control device is a software update device, which is an electronic control device having a display control function.
請求項13に記載のソフトウェア更新装置において、
前記第1の電子制御装置は、車載インフォテイメント用の電子制御装置である、ソフトウェア更新装置。
In the software update device according to claim 13,
The first electronic control device is a software update device, which is an electronic control device for in-vehicle infotainment.
請求項1~14のいずれか1項に記載のソフトウェア更新装置において、
前記バッテリに存在している前記電力量を判定する電力量判定部を更に有する、ソフトウェア更新装置。
In the software update device according to any one of claims 1 to 14.
A software update device further comprising a power amount determination unit for determining the power amount existing in the battery.
請求項15に記載のソフトウェア更新装置において、
前記電力量判定部は、前記バッテリの劣化状態に基づいて、前記バッテリに存在している前記電力量を判定する、ソフトウェア更新装置。
In the software update device according to claim 15,
The electric energy determination unit is a software update device that determines the electric energy existing in the battery based on the deterioration state of the battery.
請求項15又は16に記載のソフトウェア更新装置において、
前記バッテリが認定品でない場合、前記更新可否判定部は、前記電子制御装置に対する前記ソフトウェア更新の可否を、前記電力量判定部によって判定された前記電力量に基づいて判定しない、ソフトウェア更新装置。
In the software update device according to claim 15 or 16.
When the battery is not a certified product, the updateability determination unit does not determine whether or not the software can be updated to the electronic control device based on the electric energy determined by the electric energy determination unit.
ネットワークを介して供給される新版ソフトウェアを取得する取得部と、
前記取得部によって取得される前記新版ソフトウェアを用いて、車両に搭載された電子制御装置に対してソフトウェア更新を実行する更新制御部と、
前記ソフトウェア更新が行われる際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定する消費電力量判定部と、
前記消費電力量判定部によって判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定する更新可否判定部とを備え、
前記更新可否判定部は、前記消費電力量判定部によって判定された前記消費電力量を、前記バッテリに存在している前記電力量から減じることにより得られる値が閾値以上である場合、前記電子制御装置に対する前記ソフトウェア更新が可能であると判定し、
前記更新制御部は、前記電子制御装置に対する前記ソフトウェア更新が可能であると前記更新可否判定部が判定した場合に、前記電子制御装置に対する前記ソフトウェア更新を実行する、ソフトウェア更新装置。
The acquisition department that acquires the new version software supplied via the network,
An update control unit that executes software updates to an electronic control device mounted on a vehicle using the new version software acquired by the acquisition unit, and an update control unit.
Based on the power consumption of the vehicle when the software update is performed and the time required for the software update for the electronic control device, the power consumption when the software update for the electronic control device is performed is determined. Power consumption determination unit and
Whether or not the software can be updated for the electronic control device based on the amount of power consumption determined by the power consumption determination unit and the amount of power existing in the battery provided in the vehicle. Equipped with a judgment unit
The updateability determination unit is electronically controlled when the value obtained by subtracting the power consumption amount determined by the power consumption amount determination unit from the power amount existing in the battery is equal to or more than a threshold value. Judging that the software update to the device is possible,
The update control unit is a software update device that executes the software update to the electronic control device when the update possibility determination unit determines that the software update to the electronic control device is possible.
請求項1~18のいずれか1項に記載のソフトウェア更新装置を備える車両。 A vehicle including the software update device according to any one of claims 1 to 18. ネットワークを介して供給される新版ソフトウェアを用いて、車両に備えられた電子制御装置に対してソフトウェア更新を実行するソフトウェア更新方法であって、
前記ソフトウェア更新を実行する際における前記車両の消費電力と、前記電子制御装置に対する前記ソフトウェア更新に要する時間とに基づいて、前記電子制御装置に対する前記ソフトウェア更新が行われる際における消費電力量を判定するステップと、
前記消費電力量を判定するステップにおいて判定された前記消費電力量と、前記車両に備えられたバッテリに存在している電力量とに基づいて、前記電子制御装置に対する前記ソフトウェア更新の可否を判定するステップと
を有する、ソフトウェア更新方法。
It is a software update method that executes software update to the electronic control device installed in the vehicle using the new version software supplied via the network.
Based on the power consumption of the vehicle when executing the software update and the time required for the software update for the electronic control device, the power consumption when the software update for the electronic control device is performed is determined. Steps and
Based on the power consumption determined in the step of determining the power consumption and the electric energy existing in the battery provided in the vehicle, it is determined whether or not the software can be updated to the electronic control device. How to update software with steps.
JP2021146599A 2019-02-22 2021-09-09 SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD Active JP7212736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021146599A JP7212736B2 (en) 2019-02-22 2021-09-09 SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019030043A JP6943903B2 (en) 2019-02-22 2019-02-22 Software update device, vehicle and software update method
JP2021146599A JP7212736B2 (en) 2019-02-22 2021-09-09 SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019030043A Division JP6943903B2 (en) 2019-02-22 2019-02-22 Software update device, vehicle and software update method

Publications (3)

Publication Number Publication Date
JP2022008356A true JP2022008356A (en) 2022-01-13
JP2022008356A5 JP2022008356A5 (en) 2022-03-02
JP7212736B2 JP7212736B2 (en) 2023-01-25

Family

ID=87767446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021146599A Active JP7212736B2 (en) 2019-02-22 2021-09-09 SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD

Country Status (1)

Country Link
JP (1) JP7212736B2 (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006235992A (en) * 2005-02-24 2006-09-07 Seiko Epson Corp Firmware rewriting system of printer, firmware rewriting method, and printer
JP2008155892A (en) * 2006-12-26 2008-07-10 Auto Network Gijutsu Kenkyusho:Kk Vehicular power supply system
WO2012017719A1 (en) * 2010-08-03 2012-02-09 本田技研工業株式会社 Vehicle program rewriting system
JP2013084143A (en) * 2011-10-11 2013-05-09 Denso Corp On-vehicle communication device
JP2015079468A (en) * 2013-10-18 2015-04-23 富士通株式会社 Information processing program, information processing method, and information processing device
JP2016060407A (en) * 2014-09-19 2016-04-25 日産自動車株式会社 Vehicle control program rewrite system and vehicle control program rewrite method
JP2018020718A (en) * 2016-08-05 2018-02-08 株式会社オートネットワーク技術研究所 On-vehicle updating device, on-vehicle updating system and updating method for communication device
JP2018037022A (en) * 2016-09-02 2018-03-08 株式会社オートネットワーク技術研究所 On-vehicle update system, on-vehicle update device, and communication apparatus update method
JP2018060310A (en) * 2016-10-04 2018-04-12 株式会社デンソー Control device
JP2018063659A (en) * 2016-10-14 2018-04-19 日立オートモティブシステムズ株式会社 Software update unit, software update method, software update system
WO2018079006A1 (en) * 2016-10-27 2018-05-03 住友電気工業株式会社 Control device, program update method, and computer program
WO2018078456A1 (en) * 2016-10-27 2018-05-03 住友電気工業株式会社 Control device, program updating method, and computer program
WO2018142750A1 (en) * 2017-02-01 2018-08-09 住友電気工業株式会社 Control device, program updating method, and computer program
JP2018200510A (en) * 2017-05-25 2018-12-20 株式会社デンソーテン Software update apparatus, software update system and software update method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006235992A (en) * 2005-02-24 2006-09-07 Seiko Epson Corp Firmware rewriting system of printer, firmware rewriting method, and printer
JP2008155892A (en) * 2006-12-26 2008-07-10 Auto Network Gijutsu Kenkyusho:Kk Vehicular power supply system
WO2012017719A1 (en) * 2010-08-03 2012-02-09 本田技研工業株式会社 Vehicle program rewriting system
JP2013084143A (en) * 2011-10-11 2013-05-09 Denso Corp On-vehicle communication device
JP2015079468A (en) * 2013-10-18 2015-04-23 富士通株式会社 Information processing program, information processing method, and information processing device
JP2016060407A (en) * 2014-09-19 2016-04-25 日産自動車株式会社 Vehicle control program rewrite system and vehicle control program rewrite method
JP2018020718A (en) * 2016-08-05 2018-02-08 株式会社オートネットワーク技術研究所 On-vehicle updating device, on-vehicle updating system and updating method for communication device
JP2018037022A (en) * 2016-09-02 2018-03-08 株式会社オートネットワーク技術研究所 On-vehicle update system, on-vehicle update device, and communication apparatus update method
JP2018060310A (en) * 2016-10-04 2018-04-12 株式会社デンソー Control device
JP2018063659A (en) * 2016-10-14 2018-04-19 日立オートモティブシステムズ株式会社 Software update unit, software update method, software update system
WO2018079006A1 (en) * 2016-10-27 2018-05-03 住友電気工業株式会社 Control device, program update method, and computer program
WO2018078456A1 (en) * 2016-10-27 2018-05-03 住友電気工業株式会社 Control device, program updating method, and computer program
WO2018142750A1 (en) * 2017-02-01 2018-08-09 住友電気工業株式会社 Control device, program updating method, and computer program
JP2018200510A (en) * 2017-05-25 2018-12-20 株式会社デンソーテン Software update apparatus, software update system and software update method

Also Published As

Publication number Publication date
JP7212736B2 (en) 2023-01-25

Similar Documents

Publication Publication Date Title
JP6943903B2 (en) Software update device, vehicle and software update method
JP7061725B2 (en) Software update device, vehicle and software update method
US11099830B2 (en) Software updating apparatus, vehicle, and software updating method
CN109478155B (en) Vehicle-mounted updating device, vehicle-mounted updating system and updating method of communication device
CN102841807B (en) Control method, control device and computer system
JPWO2019207729A1 (en) Industrial computer, industrial computer system, operating system updating method and program
CN103116502A (en) Method of achieving upgrading by using main and backup version backup
JP2022008356A (en) Software update apparatus, vehicle, and software update method
JP7061724B2 (en) Software update device, vehicle and software update method
US11995429B2 (en) Software update device, update control method, non-transitory storage medium, and server
JP7320547B2 (en) Program update control device, program update control method, and program
CN113138785A (en) Application program updating method and device
CN111736863A (en) Software upgrading method and device and electronic equipment
WO2016014069A1 (en) Bios real-time clock update
US11847439B2 (en) Center, management method, and non-transitory storage medium
US20220391193A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
US20230030558A1 (en) Electronic control unit, information processing method, and non-transitory storage medium
JP2020052960A (en) Vehicle control device and vehicle control method
JP6147041B2 (en) Image processing apparatus, control method therefor, and program
CN117667152A (en) Application program updating method, device, computer equipment and storage medium
JP2012173919A (en) Information processor, electronic control unit for vehicle, and data storage method
CN115092071A (en) Function control method and device, electronic equipment and storage medium
CN102346675A (en) System and method for updating drive program of embedded system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220221

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230113

R150 Certificate of patent or registration of utility model

Ref document number: 7212736

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150